@exxatdesignux/ui 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/README.md +1 -1
- package/consumer-extras/cursor-rules/exxat-accessibility.mdc +1 -1
- package/consumer-extras/cursor-rules/exxat-drawer-vs-dialog.mdc +4 -4
- package/consumer-extras/cursor-rules/exxat-ds-agents.mdc +7 -1
- package/consumer-extras/cursor-rules/exxat-no-image-pixel-copy.mdc +35 -0
- package/consumer-extras/cursor-rules/exxat-no-vaul.mdc +25 -0
- package/consumer-extras/cursor-rules/exxat-page-header-actions.mdc +31 -0
- package/consumer-extras/cursor-rules/exxat-reuse-before-custom.mdc +2 -0
- package/consumer-extras/cursor-rules/exxat-sidebar-shell.mdc +35 -0
- package/consumer-extras/cursor-rules/exxat-table-row-preview.mdc +24 -0
- package/consumer-extras/cursor-rules/exxat-tabs-chrome.mdc +31 -0
- package/consumer-extras/cursor-skills/exxat-drawer-vs-dialog/SKILL.md +5 -5
- package/consumer-extras/cursor-skills/exxat-ds-skill/SKILL.md +2 -2
- package/consumer-extras/cursor-skills/exxat-ds-skill/references/accessibility.md +1 -1
- package/consumer-extras/cursor-skills/exxat-token-economy/SKILL.md +5 -2
- package/consumer-extras/handbook/reference-implementations.md +2 -0
- package/consumer-extras/patterns/consumer-upgrade-checklist.md +15 -1
- package/consumer-extras/patterns/drawer-vs-dialog-pattern.md +50 -0
- package/dist/hooks/use-app-theme.d.ts +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -114
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/index.ts +0 -1
- package/template/.cursor/rules/exxat-accessibility.mdc +1 -1
- package/template/AGENTS.md +2 -2
- package/template/components/site-header.tsx +1 -1
- package/template/docs/HANDBOOK.md +1 -1
- package/template/docs/component-selection-guide.md +1 -1
- package/template/docs/consumer-upgrade-checklist.md +52 -0
- package/template/docs/drawer-vs-dialog-pattern.md +8 -8
- package/template/docs/reference-implementations.md +2 -0
- package/template/lib/mock/navigation.tsx +1 -1
- package/template/lib/motion-ui.ts +2 -2
- package/template/package.json +0 -1
- package/tokens/hooks-index.json +2 -2
- package/dist/components/ui/drawer.d.ts +0 -16
- package/dist/components/ui/drawer.js +0 -125
- package/dist/components/ui/drawer.js.map +0 -1
- package/src/components/ui/drawer.tsx +0 -134
- package/template/components/ui/drawer.tsx +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- **New consumer agent rules (vendored via `sync-extras`):** `exxat-no-image-pixel-copy` (uploaded screenshots = IA only — never pixel-copy colors/chrome), `exxat-sidebar-shell` (DS `AppSidebar` chrome; no legacy rainbow nav styling).
|
|
8
|
+
- **`exxat-ds-agents` §33–§34**, **`exxat-reuse-before-custom`**, **`exxat-token-economy` Q9** — image discipline + sidebar guardrails wired into pre-flight.
|
|
9
|
+
- **`consumer-upgrade-checklist.md`** and **`reference-implementations.md`** — audit rows for screenshot copying and legacy sidebar anti-patterns.
|
|
10
|
+
|
|
11
|
+
## 0.5.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- **Remove Vaul `Drawer` primitive** — side panels use **`Sheet`** only (`ExportDrawer`, `TablePropertiesDrawer`, invite/folder sheets). **`vaul`** dropped from package dependencies; consumers should remove it from their app and delete any `components/ui/drawer.tsx` shim.
|
|
16
|
+
- **New consumer agent rules (vendored via `sync-extras`):** `exxat-no-vaul`, `exxat-tabs-chrome` (no full-width tab stretch), `exxat-page-header-actions`, `exxat-table-row-preview` (HoverCard + DS cells).
|
|
17
|
+
- **`consumer-upgrade-checklist.md`** — Prism-style audit table (tabs, header buttons, popovers, hub views).
|
|
18
|
+
- **Docs:** sheet-panel vs dialog pattern; landing page start-fresh three-step commands at `@0.5.3+`.
|
|
19
|
+
|
|
3
20
|
## 0.5.3
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ code are never touched.
|
|
|
89
89
|
## What's inside
|
|
90
90
|
|
|
91
91
|
- **Primitives** (`@exxatdesignux/ui/components/<name>`) — Button, Input,
|
|
92
|
-
Select, Dialog, AlertDialog, Sheet,
|
|
92
|
+
Select, Dialog, AlertDialog, Sheet, Popover, DropdownMenu,
|
|
93
93
|
ContextMenu, Tabs, Accordion, Tooltip, Toast-free Banner, ScrollArea,
|
|
94
94
|
Slider, HoverCard, Avatar, Badge, StatusBadge, Calendar, Kbd, …
|
|
95
95
|
- **Hub stack** — `DataTable<TRow>`, `useTableState<TRow>`,
|
|
@@ -17,7 +17,7 @@ alwaysApply: true
|
|
|
17
17
|
4. **Touch targets (2.5.8):** interactive controls **≥ 24×24 CSS px** or **24px** spacing so hit areas do not overlap — use **`min-h-6 min-w-6` / `size-6`** for icon-only targets; avoid **`size-4`** as the sole target.
|
|
18
18
|
5. **Contrast:** normal text **≥ 4.5:1**; UI components / focus where required **≥ 3:1**; muted text on tinted surfaces use tokens against the correct surface (e.g. sidebar), not only `--background`.
|
|
19
19
|
6. **Minimum text size:** visible product copy **≥ 11px** — use **`text-xs`** or larger; **MUST NOT** use arbitrary Tailwind font sizes below that (see **`apps/web/AGENTS.md` §8.3**, **`apps/web/app/globals.css`** `--text-xs`).
|
|
20
|
-
7. **Dialogs / sheets
|
|
20
|
+
7. **Dialogs / sheets:** must expose a **Title** (`DialogTitle` / `SheetTitle`); use **`sr-only`** if visually hidden (shadcn pattern).
|
|
21
21
|
8. **Format hints are persistent, not placeholders (SC 3.3.2 Labels or Instructions, 1.3.1).** Any field that expects a specific format — **date, time, phone, currency, ID pattern, GPA scale, URL, hours, unit-bearing numbers** — MUST show the format as **persistent helper text** via **`FormDescription`** (or the field's description slot). Placeholders disappear on focus and are unreliable for AT, so **MUST NOT** be the sole carrier of the format. Example: GPA → "Out of 4.0"; Date → "MM/DD/YYYY"; Phone → "+1 (555) 555-0100"; Student ID → "STU-YYYY-####". Pair with `inputMode`, `pattern`, or a picker primitive (e.g. `DatePickerField`) where applicable; never rely on a free-text date input.
|
|
22
22
|
9. **Every icon that communicates information MUST have a text alternative** — not just icon-only buttons. Three cases (SC 1.1.1 Non-text Content, 3.3.2 Labels or Instructions, 2.4.6 Headings and Labels):
|
|
23
23
|
|
|
@@ -7,16 +7,16 @@ alwaysApply: true
|
|
|
7
7
|
|
|
8
8
|
## MUST
|
|
9
9
|
|
|
10
|
-
1. **
|
|
10
|
+
1. **Sheet panel** — Hub-**adjacent** work where **parent context** (list, filters, selection) stays relevant: properties, export, invites, long option lists beside the grid. Use **`Sheet`** (`showOverlay={false}`, floating inset) — **MUST NOT** add a Vaul `Drawer` primitive.
|
|
11
11
|
2. **Dialog** — **Blocking**, **short** focus: destructive confirm, legal/acknowledgment, single-step choice, alert when the user must not interact with the page behind until resolved.
|
|
12
12
|
3. **Route** — **Primary**, **long**, or **bookmarkable** flows — **`AGENTS.md` §6.4**, **`.cursor/rules/exxat-page-vs-drawer.mdc`**.
|
|
13
13
|
|
|
14
14
|
## MUST NOT
|
|
15
15
|
|
|
16
|
-
- Put **irreversible delete** only in a dismissible toast — use **dialog** (or
|
|
17
|
-
- Use a **centered dialog** for **wide tables of export columns** when a **
|
|
16
|
+
- Put **irreversible delete** only in a dismissible toast — use **dialog** (or sheet with explicit confirm) per **`exxat-no-toast.mdc`**.
|
|
17
|
+
- Use a **centered dialog** for **wide tables of export columns** when a **sheet panel** matches mental model and space.
|
|
18
18
|
|
|
19
19
|
## See also
|
|
20
20
|
|
|
21
21
|
- **`docs/drawer-vs-dialog-pattern.md`** · **`.cursor/skills/exxat-drawer-vs-dialog/SKILL.md`**
|
|
22
|
-
- **`exxat-page-vs-drawer.mdc`** (
|
|
22
|
+
- **`exxat-page-vs-drawer.mdc`** (sheet vs **route**)
|
|
@@ -41,6 +41,12 @@ Before implementing or reviewing **list / table / board / dashboard / data-heavy
|
|
|
41
41
|
26. **Blueprints + selection guide** — **`apps/web/docs/blueprints/`** + **`apps/web/docs/component-selection-guide.md`** — framework-agnostic specs + decision tree across the whole DS. Start there before composing a new hub.
|
|
42
42
|
27. **Migrations** — **`apps/web/docs/migrations/`** — every deprecation gets a numbered entry (`NNNN-<slug>.md`). Token deprecations surface in `tokens/hooks-index.json` as `deprecated: true` and are lint-flagged.
|
|
43
43
|
28. **Hub supported views (Add view parity)** — **`exxat-hub-supported-views.mdc`** + **`docs/exxat-ds/patterns/hub-supported-views-pattern.md`** — **`FULL_HUB_SUPPORTED_VIEWS`** (seven views, same as Library); sync **`ListPageTemplate`** + **`HubTable`**; real renderers per view; **`LibraryTable`** for **`LibraryItem`** catalogs; **`tokens-hub-auxiliary-views.tsx`** for tokens.
|
|
44
|
+
29. **No Vaul** — **`exxat-no-vaul.mdc`** — side panels = **`Sheet`** only; remove **`vaul`** from consumer apps on **`@exxatdesignux/ui@0.5.3+`**.
|
|
45
|
+
30. **Tabs chrome** — **`exxat-tabs-chrome.mdc`** — hub views = **`ListPageTemplate`** toolbar (`w-max`); record tabs = **`TabsList`** `w-fit`, never full-width stretch.
|
|
46
|
+
31. **Page header actions** — **`exxat-page-header-actions.mdc`** — filled primary + outline overflow; no hand-built grey buttons.
|
|
47
|
+
32. **Table row preview** — **`exxat-table-row-preview.mdc`** — **`HoverCard`** + DS badges/cells; no bespoke popover cards.
|
|
48
|
+
33. **Sidebar shell** — **`exxat-sidebar-shell.mdc`** + **`AGENTS.md` §9.1** — legacy screenshots = **IA only**; **MUST NOT** copy rainbow section styling or fork **`app-sidebar.tsx`**.
|
|
49
|
+
34. **Uploaded images** — **`exxat-no-image-pixel-copy.mdc`** — screenshots = intent/IA only; map to DS patterns; never pixel-copy.
|
|
44
50
|
|
|
45
51
|
## Also read
|
|
46
52
|
|
|
@@ -51,7 +57,7 @@ Before implementing or reviewing **list / table / board / dashboard / data-heavy
|
|
|
51
57
|
- **`apps/web/docs/blueprints/`** — framework-agnostic specs (start: `page-header.md`, `data-table.md`).
|
|
52
58
|
- **`apps/web/docs/migrations/`** — token rename + removal history.
|
|
53
59
|
- **`packages/ui/tokens/hooks-index.json`** — machine-readable token index (regenerate via `pnpm --filter @exxatdesignux/ui tokens:index`).
|
|
54
|
-
- `.cursor/rules/exxat-data-tables.mdc`, **`exxat-hub-supported-views.mdc`**, `exxat-list-page-connected-views.mdc`, **`exxat-centralized-list-dataset.mdc`**, **`exxat-list-page-view-shells.mdc`**, **`exxat-fontawesome-icons.mdc`**, **`exxat-mono-ids.mdc`**, **`exxat-primary-nav-secondary-panel.mdc`**, **`exxat-library-hub-header.mdc`**, **`exxat-collaboration-access.mdc`**, **`exxat-dedicated-search-surfaces.mdc`**, **`exxat-kpi-trends.mdc`**, **`exxat-kpi-flat-band.mdc`**, **`exxat-drawer-vs-dialog.mdc`**, **`exxat-card-vs-list-rows.mdc`**, **`exxat-kpi-max-four.mdc`**, **`exxat-reuse-before-custom.mdc`**, `exxat-table-properties-drawer.mdc`, **`exxat-board-cards.mdc`**, **`exxat-page-vs-drawer.mdc`**, **`exxat-no-toast.mdc`**, **`exxat-command-menu.mdc`**, `exxat-kbd-shortcuts.mdc`, `exxat-accessibility.mdc` at repo root; **`apps/web/.cursor/rules/exxat-dashboard-view-charts.mdc`** for Data tab charts.
|
|
60
|
+
- `.cursor/rules/exxat-data-tables.mdc`, **`exxat-hub-supported-views.mdc`**, **`exxat-no-vaul.mdc`**, **`exxat-tabs-chrome.mdc`**, **`exxat-page-header-actions.mdc`**, **`exxat-table-row-preview.mdc`**, `exxat-list-page-connected-views.mdc`, **`exxat-centralized-list-dataset.mdc`**, **`exxat-list-page-view-shells.mdc`**, **`exxat-fontawesome-icons.mdc`**, **`exxat-mono-ids.mdc`**, **`exxat-primary-nav-secondary-panel.mdc`**, **`exxat-library-hub-header.mdc`**, **`exxat-collaboration-access.mdc`**, **`exxat-dedicated-search-surfaces.mdc`**, **`exxat-kpi-trends.mdc`**, **`exxat-kpi-flat-band.mdc`**, **`exxat-drawer-vs-dialog.mdc`**, **`exxat-card-vs-list-rows.mdc`**, **`exxat-kpi-max-four.mdc`**, **`exxat-reuse-before-custom.mdc`**, `exxat-table-properties-drawer.mdc`, **`exxat-board-cards.mdc`**, **`exxat-page-vs-drawer.mdc`**, **`exxat-no-toast.mdc`**, **`exxat-command-menu.mdc`**, `exxat-kbd-shortcuts.mdc`, `exxat-accessibility.mdc` at repo root; **`apps/web/.cursor/rules/exxat-dashboard-view-charts.mdc`** for Data tab charts.
|
|
55
61
|
- **`apps/web/docs/kpi-flat-band-pattern.md`**, **`apps/web/docs/shell-surface-elevation-pattern.md`** — flat KPI strip + sidebar/secondary/page OKLCH stack.
|
|
56
62
|
- **`apps/web/docs/library-hub-header-pattern.md`** — folder-scoped library header **Customize folder**.
|
|
57
63
|
- **`apps/web/docs/collaboration-access-pattern.md`** — shared hub face rail + invite sheet.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Uploaded screenshots/mockups are IA reference only — map to Exxat DS patterns; never pixel-copy
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Exxat DS — uploaded images are not the implementation spec
|
|
7
|
+
|
|
8
|
+
When the user attaches a **screenshot**, **mockup**, **Figma export**, **legacy app capture**, or any **reference image**, treat it as **product intent** — **not** as code to transcribe.
|
|
9
|
+
|
|
10
|
+
**Exxat DS rules, blueprints, and reference hubs always win** over what the image shows.
|
|
11
|
+
|
|
12
|
+
## Allowed to take from an image (content / IA)
|
|
13
|
+
|
|
14
|
+
- **Screen purpose**, **nav labels**, **routes**, **fields**, **columns**, **KPIs**, **actions**, **statuses**
|
|
15
|
+
- **Icon suffix** (Font Awesome) — still use **`fa-light` / `fa-solid`** DS pairing
|
|
16
|
+
- **Workflow intent** — export, invite, row → detail, etc.
|
|
17
|
+
|
|
18
|
+
## MUST NOT copy from an image (visual / stack)
|
|
19
|
+
|
|
20
|
+
- **Hex / RGB colors**, rainbow section text, custom sidebar washes, bespoke pills
|
|
21
|
+
- **Shell forks** — sidebar, header, list toolbar, tabs that bypass DS components
|
|
22
|
+
- **Bespoke widgets** when DS primitives exist — raw tables, custom popovers, Vaul, full-width tabs
|
|
23
|
+
- **Pixel implementation “because it’s in the picture”** without citing a **DS pattern + reference hub**
|
|
24
|
+
|
|
25
|
+
## REQUIRED workflow (before UI code)
|
|
26
|
+
|
|
27
|
+
1. Classify via **`component-selection-guide`** + **`blueprints/`**
|
|
28
|
+
2. Pick **`reference-implementations`** hub
|
|
29
|
+
3. State mapping (screen → DS composition)
|
|
30
|
+
4. Build with **`AGENTS.md`** + topic rules
|
|
31
|
+
5. Image vs DS conflict → **DS wins**; ask one question only for true business gaps
|
|
32
|
+
|
|
33
|
+
## See also
|
|
34
|
+
|
|
35
|
+
- **`exxat-reuse-before-custom.mdc`**, **`exxat-sidebar-shell.mdc`**, **`exxat-token-economy`** §2
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Exxat DS — no Vaul Drawer primitive; side panels use Sheet only
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Exxat DS — no Vaul
|
|
7
|
+
|
|
8
|
+
## MUST
|
|
9
|
+
|
|
10
|
+
- Side panels (export, properties, invite, folder create) use **`Sheet`** from `@exxatdesignux/ui/components/sheet` with the floating inset pattern (`showOverlay={false}`, `getFloatingSheetInsetProps`).
|
|
11
|
+
- Product code names may end in `*Drawer` (`ExportDrawer`, `TablePropertiesDrawer`) — implementation is **`Sheet`**, not Vaul.
|
|
12
|
+
|
|
13
|
+
## MUST NOT
|
|
14
|
+
|
|
15
|
+
- Add **`vaul`** to `package.json` or import `@/components/ui/drawer` / Vaul `Drawer`.
|
|
16
|
+
- Scaffold or extend the removed shadcn Vaul wrapper — it was deleted from `@exxatdesignux/ui@0.5.3+`.
|
|
17
|
+
|
|
18
|
+
## Consumer apps
|
|
19
|
+
|
|
20
|
+
After upgrading to **`@exxatdesignux/ui@0.5.3`**, remove **`vaul`** from the app `package.json`, delete any local `components/ui/drawer.tsx` re-export, and re-run **`exxat-ui sync-extras`**.
|
|
21
|
+
|
|
22
|
+
## See also
|
|
23
|
+
|
|
24
|
+
- **`.cursor/rules/exxat-drawer-vs-dialog.mdc`**
|
|
25
|
+
- **`docs/exxat-ds/patterns/drawer-vs-dialog-pattern.md`**
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Exxat DS — PageHeader actions slot; View as / overflow / primary CTA patterns
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Exxat DS — page header actions
|
|
7
|
+
|
|
8
|
+
**Blueprint:** `docs/exxat-ds/handbook/HANDBOOK.md` + `node_modules/@exxatdesignux/ui/template/docs/blueprints/page-header.md`
|
|
9
|
+
|
|
10
|
+
## Anatomy (actions slot only)
|
|
11
|
+
|
|
12
|
+
| Control | DS pattern |
|
|
13
|
+
|---------|------------|
|
|
14
|
+
| **Primary CTA** | One **`Button`** `variant="default"` `size="lg"` (filled) — e.g. “Add student”, “Ask Leo” when it is the main action |
|
|
15
|
+
| **Secondary / scope** (“View as”, “All students”) | **`Button variant="outline" size="lg"`** + chevron, or **`Select`** / **`DropdownMenu`** trigger styled as outline button — **not** plain grey rectangles or unstyled `<button>` |
|
|
16
|
+
| **Overflow (⋯)** | **`Button variant="outline" size="icon-lg"`** (or `size="lg"` icon-only) opening **`DropdownMenu`** — Export, settings, invite |
|
|
17
|
+
| **Collaboration** | **`PageHeader variant="collaboration"`** face rail — not a custom avatar row |
|
|
18
|
+
|
|
19
|
+
## MUST
|
|
20
|
+
|
|
21
|
+
- Compose **`PageHeader`** + pass **`actions`** as DS **`Button`** / **`DropdownMenu`** primitives.
|
|
22
|
+
- Keep **one** filled primary; put Export and long-tail items under **⋯**.
|
|
23
|
+
|
|
24
|
+
## MUST NOT
|
|
25
|
+
|
|
26
|
+
- Hand-built header button rows that skip **`PageHeader`** and **`Button`** variants.
|
|
27
|
+
- Multiple filled primaries beside each other (e.g. “Ask Leo” + “Add student” both solid black unless product explicitly documents hierarchy — prefer outline for secondary).
|
|
28
|
+
|
|
29
|
+
## Reference
|
|
30
|
+
|
|
31
|
+
- **`docs/exxat-ds/handbook/reference-implementations.md`**
|
|
@@ -20,6 +20,8 @@ alwaysApply: true
|
|
|
20
20
|
|
|
21
21
|
Do **not** silently ship a second stack for the same product pattern (e.g. another “table”, another metrics strip, another sidebar).
|
|
22
22
|
|
|
23
|
+
When the user **uploads a screenshot or mockup**, read **`exxat-no-image-pixel-copy.mdc`** first — extract IA only; map to DS patterns; never pixel-copy colors or chrome.
|
|
24
|
+
|
|
23
25
|
If the **user or task already explicitly** approved a greenfield component (“build a new X from scratch”), you may proceed without re-asking.
|
|
24
26
|
|
|
25
27
|
## MUST NOT
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Application sidebar — DS shell only; legacy screenshots are IA reference, not visual spec
|
|
3
|
+
globs: "**/app-sidebar.tsx,**/navigation*.tsx,**/lib/mock/navigation.tsx,**/lib/*-navigation.tsx"
|
|
4
|
+
alwaysApply: false
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Exxat DS — application sidebar shell (MUST)
|
|
8
|
+
|
|
9
|
+
Customer / legacy app **screenshots** may show **what links exist** — not **how the sidebar is styled**. Full policy: **`exxat-no-image-pixel-copy.mdc`**.
|
|
10
|
+
|
|
11
|
+
## Screenshots are allowed to inform (content only)
|
|
12
|
+
|
|
13
|
+
- Nav **labels**, **grouping**, **route paths**, **Font Awesome icon suffixes**
|
|
14
|
+
- Whether a row needs **children**, a **secondary panel**, or a **badge**
|
|
15
|
+
|
|
16
|
+
## Screenshots MUST NOT drive styling (MUST NOT)
|
|
17
|
+
|
|
18
|
+
- **Per-section label colors** (magenta / teal / gold text on every row in a group)
|
|
19
|
+
- **Custom active pills** (hand-built white `rounded-*` + shadow instead of `SidebarMenuButton` `data-active`)
|
|
20
|
+
- **Non-token sidebar fills** (pink wash, `#hex` tints, inline `style={{ color: … }}`)
|
|
21
|
+
- **Forking `app-sidebar.tsx` layout** for one product while rest of DS uses shared chrome
|
|
22
|
+
- **Re-implementing `isNavActive`** in the app — use **`@exxatdesignux/ui/lib/nav-active`** (see **`exxat-nav-single-active.mdc`**)
|
|
23
|
+
|
|
24
|
+
## MUST — DS sidebar chrome
|
|
25
|
+
|
|
26
|
+
1. **Shell:** **`AppSidebar`** + **`SidebarMenuButton`** / **`SidebarGroup`** / **`SidebarGroupLabel`** from **`@exxatdesignux/ui`**. Reference: **`AGENTS.md` §9.1**, **`exxat-ds-skill` §3.1–§3.2**.
|
|
27
|
+
2. **Typography:** Row labels **`text-sidebar-foreground`**. Section headings **`SidebarGroupLabel`** + **`text-sidebar-section-label`**.
|
|
28
|
+
3. **Active state:** **`SidebarMenuButton` `isActive`** only — one active row in expanded rail; collapsible parent neutral when child active.
|
|
29
|
+
4. **Icons:** **`fa-light`** / **`fa-solid`** on icons — do **not** recolor labels per module.
|
|
30
|
+
5. **Nav data:** Extend **`lib/mock/navigation.tsx`** (or imported mock). **MUST NOT** paste legacy sidebar components from customer repos.
|
|
31
|
+
6. **Consumer products:** Build in a **separate repo** with **`@exxatdesignux/ui`** — not DS monorepo sidebar forks.
|
|
32
|
+
|
|
33
|
+
## Anti-pattern
|
|
34
|
+
|
|
35
|
+
Legacy product sidebars with rainbow section text and bespoke selection chrome — **do not reproduce** on Exxat DS.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Exxat DS — table row identity preview uses HoverCard + DS tokens, not bespoke Popover cards
|
|
3
|
+
alwaysApply: false
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Exxat DS — table row preview (hover / click)
|
|
7
|
+
|
|
8
|
+
When a **data table** cell opens a **rich preview** of a person or record (student, placement, team member):
|
|
9
|
+
|
|
10
|
+
## MUST
|
|
11
|
+
|
|
12
|
+
- Use **`HoverCard`** (`@/components/ui/hover-card`) for hover-driven previews, or **`Popover`** only when the preview is **click-pinned** and small.
|
|
13
|
+
- Structure identity with **`AvatarInitials`**, name, **`font-mono tabular-nums`** on IDs only (**`exxat-mono-ids.mdc`**), **`ListHubStatusBadge`** + **`lib/list-status-badges.ts`** for status — **color + icon** (**`exxat-accessibility.mdc`** 1.4.1).
|
|
14
|
+
- Reuse table cell patterns from **`@/components/data-views`** (`PeopleAvatarRailCell`, `PillCell`, progress cells) — see **`columns-showcase.tsx`**.
|
|
15
|
+
|
|
16
|
+
## MUST NOT
|
|
17
|
+
|
|
18
|
+
- Bespoke **`PopoverContent`** layouts with ad-hoc spacing, one-off progress bars, or status chips without the shared badge map.
|
|
19
|
+
- Raw email as the only identifier when a display name exists (**`exxat-person-identity-display.mdc`**).
|
|
20
|
+
|
|
21
|
+
## Reference
|
|
22
|
+
|
|
23
|
+
- **`HoverCard`** docs in `packages/ui/src/components/ui/hover-card.tsx`
|
|
24
|
+
- **`apps/web/docs/blueprints/data-table.md`**
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Exxat DS — Tabs and view toolbars must not stretch full width; use ListPageTemplate for hub views
|
|
3
|
+
alwaysApply: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Exxat DS — tabs chrome (no full-width stretch)
|
|
7
|
+
|
|
8
|
+
## List hubs (All students, Placements, …)
|
|
9
|
+
|
|
10
|
+
**MUST** use **`ListPageTemplate`** view toolbar — `role="toolbar"` + **`w-max`** segmented control (`viewSegmentedToolbarClass`), **not** Radix **`Tabs`** stretched across the page.
|
|
11
|
+
|
|
12
|
+
- Reference: `packages/ui/src/components/templates/list-page.tsx` (views toolbar block).
|
|
13
|
+
- **MUST NOT** build a custom full-width tab bar for “All students · 16” + Add view.
|
|
14
|
+
|
|
15
|
+
## Entity / record detail (Overview, Academics, Placements, …)
|
|
16
|
+
|
|
17
|
+
**MUST** use **`Tabs`**, **`TabsList`**, **`TabsTrigger`** from `@/components/ui/tabs`:
|
|
18
|
+
|
|
19
|
+
- **`TabsList`** defaults to **`inline-flex w-fit`** — **MUST NOT** pass `className="w-full"` or wrap the list in a full-width flex container that forces triggers to **`flex-1`**.
|
|
20
|
+
- Prefer **`variant="line"`** for record sub-nav under a **`PageHeader`** (`record-home` blueprint).
|
|
21
|
+
- **`TabsTrigger`** may use `flex-1` only inside a **`w-fit`** list with a fixed number of tabs — never inside a bar that spans the content column.
|
|
22
|
+
|
|
23
|
+
## MUST NOT
|
|
24
|
+
|
|
25
|
+
- A single grey/white bar spanning the entire content width with tabs distributed edge-to-edge.
|
|
26
|
+
- Mix hub **view tabs** (table/list/board) with entity **section tabs** (Overview/Academics) — different patterns.
|
|
27
|
+
|
|
28
|
+
## See also
|
|
29
|
+
|
|
30
|
+
- **`docs/exxat-ds/handbook/HANDBOOK.md`** — header never carries view tabs
|
|
31
|
+
- **`docs/exxat-ds/patterns/data-views-pattern.md`** — `ListPageTemplate` view toolbar
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Exxat DS — drawer vs dialog
|
|
2
2
|
|
|
3
|
-
Use when choosing **Radix `Dialog` / `AlertDialog`** vs
|
|
3
|
+
Use when choosing **Radix `Dialog` / `AlertDialog`** vs **floating `Sheet` panels** vs **route** for a flow.
|
|
4
4
|
|
|
5
5
|
## Read first
|
|
6
6
|
|
|
@@ -10,11 +10,11 @@ Use when choosing **Radix `Dialog` / `AlertDialog`** vs **`Sheet` / `Drawer`** v
|
|
|
10
10
|
|
|
11
11
|
## Checklist
|
|
12
12
|
|
|
13
|
-
1. **Must the user see the hub while acting?** Yes →
|
|
14
|
-
2. **Destructive confirm?** Prefer **dialog** (`AlertDialog`) unless the product explicitly keeps context in a
|
|
15
|
-
3. **Title + focus** — Dialog
|
|
13
|
+
1. **Must the user see the hub while acting?** Yes → **`Sheet`** panel (properties, export, invite). No and short → **dialog**. Long / own URL → **route**.
|
|
14
|
+
2. **Destructive confirm?** Prefer **dialog** (`AlertDialog`) unless the product explicitly keeps context in a sheet with the same safeguards.
|
|
15
|
+
3. **Title + focus** — Dialog and sheet both need an accessible **title**; restore focus to trigger on close.
|
|
16
16
|
|
|
17
17
|
## Repo references
|
|
18
18
|
|
|
19
|
-
- `TablePropertiesDrawer`, `ExportDrawer`, `InviteCollaboratorsDrawer` —
|
|
19
|
+
- `TablePropertiesDrawer`, `ExportDrawer`, `InviteCollaboratorsDrawer` — floating **`Sheet`** (names end in “Drawer” but implementation is `Sheet` only).
|
|
20
20
|
- Delete / irreversible — dialog pattern, not toast (**`exxat-no-toast.mdc`**).
|
|
@@ -622,7 +622,7 @@ Full checklist in `references/accessibility.md`. Summary of the most-violated ru
|
|
|
622
622
|
### Structure
|
|
623
623
|
- One `<main id="main-content" tabIndex={-1}>` per page
|
|
624
624
|
- One `<h1>` per page (via `PageHeader`) — `SiteHeader` title is NOT an h1
|
|
625
|
-
- `DialogTitle` / `SheetTitle`
|
|
625
|
+
- `DialogTitle` / `SheetTitle` always present (use `className="sr-only"` if visually hidden)
|
|
626
626
|
|
|
627
627
|
### ARIA roles
|
|
628
628
|
- `role="tablist"` → only `role="tab"` children. **Never** put buttons, menus, or other controls inside `tablist`
|
|
@@ -879,7 +879,7 @@ Copy and complete for every list/table/hub page:
|
|
|
879
879
|
- [ ] All icons: `aria-hidden="true"`; Ask Leo: `fa-duotone fa-solid fa-star-christmas text-brand`
|
|
880
880
|
- [ ] **Every icon that communicates info has a text alternative** — Case A adjacent label (preferred), Case B `role="img"` + `aria-label` + `Tooltip` (calendar-for-date, status dot, trend arrow, icon-only legend), Case C `aria-label` + `Tooltip` on icon-only buttons; target ≥ 24×24 px. See §12 *Icons that communicate information*.
|
|
881
881
|
- [ ] **`Kbd` inside a `Button` uses `variant="bare"`** (glue chords into one bare kbd); **`Kbd` inside `TooltipContent` uses the default tile** — see §11 Keyboard shortcuts
|
|
882
|
-
- [ ] `DialogTitle`/`SheetTitle
|
|
882
|
+
- [ ] `DialogTitle`/`SheetTitle` present on every overlay
|
|
883
883
|
- [ ] `role="tablist"` contains only tab-role children
|
|
884
884
|
- [ ] No new shadcn components, no hardcoded colors, no duplicate component abstractions
|
|
885
885
|
|
|
@@ -42,7 +42,7 @@ This is the single source of truth for all accessibility requirements in Exxat D
|
|
|
42
42
|
- Heading hierarchy: one `<h1>` (via `PageHeader`), logical `<h2>` → `<h3>` (no skipping)
|
|
43
43
|
- `SiteHeader` title in the breadcrumb bar is NOT an `<h1>`
|
|
44
44
|
- Multiple `<nav>` elements: each must have `aria-label`
|
|
45
|
-
- Modal/Sheet/Dialog: `DialogTitle`/`SheetTitle
|
|
45
|
+
- Modal/Sheet/Dialog: `DialogTitle`/`SheetTitle` ALWAYS present — use `sr-only` if visually hidden
|
|
46
46
|
- `<aside>` panels: `aria-label` (e.g. "Ask Leo assistant", "Rotation navigation")
|
|
47
47
|
- Data tables: `<table>` + `<thead>` + `<th scope="col">`; sortable columns: `aria-sort` on `<th>`
|
|
48
48
|
- Listbox: `role="listbox"` + `role="option"` + `aria-selected`
|
|
@@ -64,8 +64,11 @@ Answer **yes / no / N/A** to each. A **no** means re-plan; you'll save a regener
|
|
|
64
64
|
4. **≤ 4 KPIs on the primary strip?** — `KEY_METRICS_KPI_COUNT_MAX = 4`. A fifth becomes a `MetricInsight` or a chart.
|
|
65
65
|
5. **No toasts for product feedback?** — use `LocalBanner` / `SystemBanner` / inline status. Toasts are reserved for build-tool messages.
|
|
66
66
|
6. **Seven views + real bodies?** — `FULL_HUB_SUPPORTED_VIEWS` on **`ListPageTemplate`** + **`HubTable`** (sync both); every allowed view has a renderer; list uses **`ListPageBoardCard`** — not `["table"]` / `PRIMARY_HUB_SUPPORTED_VIEWS` / empty `renderers={}`.
|
|
67
|
+
7. **Sheet only (no Vaul)?** — side panels use **`Sheet`**; **`vaul`** must not be in `package.json`.
|
|
68
|
+
8. **Header + tabs + table preview?** — **`PageHeader`** + DS **`Button`** variants for actions; hub views via **`ListPageTemplate`** (not full-width tabs); record tabs **`TabsList`** `w-fit`; row preview via **`HoverCard`** + shared cells — not custom popovers.
|
|
69
|
+
9. **Uploaded image ≠ spec?** — If the user attached a screenshot/mockup: extract **IA only** (labels, routes, fields); map to **`component-selection-guide`** + a **reference hub**; **MUST NOT** pixel-copy colors, sidebar chrome, tabs, or bespoke widgets — **`exxat-no-image-pixel-copy.mdc`**.
|
|
67
70
|
|
|
68
|
-
If all
|
|
71
|
+
If all nine are **yes**, generate. If any is **no**, either narrow the requirements
|
|
69
72
|
with **one** clarifying question or fix the gap silently and note it in your response.
|
|
70
73
|
|
|
71
74
|
---
|
|
@@ -84,7 +87,7 @@ When the user says "X", reach for "Y". Save the search.
|
|
|
84
87
|
| chip, badge, status, tag | `Badge`, `ListHubStatusBadge`, `StatusBadge` | `@/components/{ui/badge,list-hub-status-badge}` |
|
|
85
88
|
| dropdown, menu, ⋯ | `DropdownMenu` family | `@/components/ui/dropdown-menu` |
|
|
86
89
|
| tooltip, hint | `Tip` (or `Tooltip`) | `@/components/ui/tip` |
|
|
87
|
-
| sheet,
|
|
90
|
+
| sheet, side panel | `Sheet` family, `ExportDrawer`, `TablePropertiesDrawer` | `@/components/ui/sheet` |
|
|
88
91
|
| dialog, modal, confirm | `Dialog` family | `@/components/ui/dialog` |
|
|
89
92
|
| table, list, grid (product data) | `HubTable` inside `ListPageTemplate` | `@/components/data-views` |
|
|
90
93
|
| KPI, metric, stat | `KeyMetrics` + `MetricItem` | `@/components/key-metrics` |
|
|
@@ -131,6 +131,8 @@ These exist but are **not** canonical. They predate a rule, are scoped to a one-
|
|
|
131
131
|
| Custom search input above a `DataTable` | `HubTable`'s toolbar already does this; duplicating leads to drift | Configure `ColumnDef.filter` + use `HubTable` |
|
|
132
132
|
| `toast()` / Sonner / snackbar | Forbidden — see [`exxat-no-toast.mdc`](../../../.cursor/rules/exxat-no-toast.mdc) | `LocalBanner` / `SystemBanner` or inline status |
|
|
133
133
|
| Negative-margin overlapping avatars | Forbidden — see [`exxat-person-identity-display.mdc`](../../../.cursor/rules/exxat-person-identity-display.mdc) | `AvatarGroup` (gapped by default) |
|
|
134
|
+
| Legacy customer sidebar screenshots (rainbow section text, pink wash, custom pills) | Visual spec for old product — **not** Exxat DS chrome | **`AppSidebar`** + **`SidebarMenuButton`** + **`lib/mock/navigation.tsx`** — **`exxat-sidebar-shell.mdc`** |
|
|
135
|
+
| Uploaded screenshots / mockups treated as pixel spec | Images show **intent** — DS blueprints + reference hubs define **implementation** | **`exxat-no-image-pixel-copy.mdc`** + **`component-selection-guide.md`** |
|
|
134
136
|
|
|
135
137
|
---
|
|
136
138
|
|
|
@@ -29,8 +29,22 @@ Use it when you need to know **what files exist**, **how shims re-export** `@exx
|
|
|
29
29
|
|
|
30
30
|
- Keep **`@exxatdesignux/ui`** on the same semver your team tested; prefer explicit **`^x.y.z`** or pinned **`x.y.z`**.
|
|
31
31
|
- Match **`engines.node`** in your app to the value declared in **`node_modules/@exxatdesignux/ui/package.json`** (see CHANGELOG if it changed).
|
|
32
|
+
- **≥ 0.5.3:** Remove **`vaul`** from your app `package.json` and delete any `components/ui/drawer.tsx` shim — side panels use **`Sheet`** only (**`.cursor/rules/exxat-no-vaul.mdc`**).
|
|
32
33
|
|
|
33
|
-
## 5.
|
|
34
|
+
## 5. Consumer UI audit (after sync-extras)
|
|
35
|
+
|
|
36
|
+
If the app was built before current agent rules, verify:
|
|
37
|
+
|
|
38
|
+
| Symptom | Fix |
|
|
39
|
+
|---------|-----|
|
|
40
|
+
| Full-width tab bar on list hub | Use **`ListPageTemplate`** view toolbar — **`exxat-tabs-chrome.mdc`** |
|
|
41
|
+
| Full-width Overview / Academics tabs | **`TabsList`** must stay **`w-fit`** — no `w-full` / `flex-1` stretch |
|
|
42
|
+
| Grey custom header buttons | **`PageHeader`** + **`Button`** variants — **`exxat-page-header-actions.mdc`** |
|
|
43
|
+
| Bespoke student popover in table | **`HoverCard`** + shared cells/badges — **`exxat-table-row-preview.mdc`** |
|
|
44
|
+
| Custom hub table / trimmed Add view | **`HubTable`** + **`FULL_HUB_SUPPORTED_VIEWS`** — **`exxat-hub-supported-views.mdc`** |
|
|
45
|
+
| Agent copied uploaded screenshots pixel-for-pixel | **`exxat-no-image-pixel-copy.mdc`** — images = IA only; map to blueprints + reference hubs |
|
|
46
|
+
|
|
47
|
+
## 6. Still stuck?
|
|
34
48
|
|
|
35
49
|
- **`npx --package=@exxatdesignux/ui@latest exxat-ui doctor`** — compares local CLI version vs npm **`latest`**.
|
|
36
50
|
- **`npx --package=@exxatdesignux/ui@latest exxat-ui update`** — install commands and reminders.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Sheet panel vs dialog vs route
|
|
2
|
+
|
|
3
|
+
> **Related:** `docs/data-views-pattern.md` (Page vs drawer), **`AGENTS.md` §6.4**, **`.cursor/rules/exxat-page-vs-drawer.mdc`**. **This doc** splits **floating `Sheet` panels** vs **modal dialog** when both stay on the same route.
|
|
4
|
+
|
|
5
|
+
## Sheet (side panel — product “drawers”)
|
|
6
|
+
|
|
7
|
+
**Use when:**
|
|
8
|
+
|
|
9
|
+
- The **list or hub behind the panel** still matters (user compares, copies, or dismisses and continues browsing).
|
|
10
|
+
- The flow is **medium length** — export options, table/column properties, invite collaborators, filters that mirror the grid.
|
|
11
|
+
- **Width** helps — tables of options, multi-field forms that would feel cramped in a narrow dialog.
|
|
12
|
+
|
|
13
|
+
**Implementation:** **`Sheet`** from `@exxatdesignux/ui/components/sheet` with the floating inset pattern (`showOverlay={false}`, `getFloatingSheetInsetProps`) — see `ExportDrawer`, `TablePropertiesDrawer`, `InviteCollaboratorsDrawer`, `LibraryNewFolderSheet`.
|
|
14
|
+
|
|
15
|
+
**Avoid when:** The task is the **only** thing the user should focus on and the parent would distract (prefer **dialog** for a sharp confirm, or **route** for a full wizard).
|
|
16
|
+
|
|
17
|
+
## Dialog (modal)
|
|
18
|
+
|
|
19
|
+
**Use when:**
|
|
20
|
+
|
|
21
|
+
- You need a **hard stop** — user must answer or dismiss before interacting with the page again (confirm delete, acknowledge legal, pick a single blocking choice).
|
|
22
|
+
- The content is **short and focused** — one decision, one form step, or a compact message with primary/secondary actions.
|
|
23
|
+
- **Destructive or irreversible** actions — pair with clear copy; **Esc** / Cancel returns safely.
|
|
24
|
+
|
|
25
|
+
**Examples:** `AlertDialog`, confirm-before-remove, “Save changes?” when navigating away.
|
|
26
|
+
|
|
27
|
+
**Avoid when:** Users need to **reference** the grid or copy values from the page while the panel is open — use a **sheet panel** or **inline** pattern instead.
|
|
28
|
+
|
|
29
|
+
## Route (new page)
|
|
30
|
+
|
|
31
|
+
Use when the work is **primary**, **long**, **multi-step**, or deserves its **own URL** — see **`exxat-page-vs-drawer.mdc`** and **`AGENTS.md` §6.4**.
|
|
32
|
+
|
|
33
|
+
## Quick matrix
|
|
34
|
+
|
|
35
|
+
| Need | Sheet panel | Dialog | Route |
|
|
36
|
+
| --- | --- | --- | --- |
|
|
37
|
+
| Keep hub visible | Yes | No (blocks) | No |
|
|
38
|
+
| Short confirm / alert | Rare | Yes | Overkill |
|
|
39
|
+
| Long form / wizard | Cramped | No | Yes |
|
|
40
|
+
| Properties tied to a table | Yes | Too small | Optional |
|
|
41
|
+
|
|
42
|
+
## Accessibility
|
|
43
|
+
|
|
44
|
+
- **Dialog / sheet:** Must expose a **title** (`DialogTitle`, `SheetTitle`) — use `sr-only` if visually hidden.
|
|
45
|
+
- **Focus trap** is expected in dialogs; sheet panels should still **restore focus** on close to the invoking control.
|
|
46
|
+
|
|
47
|
+
## See also
|
|
48
|
+
|
|
49
|
+
- **`.cursor/rules/exxat-drawer-vs-dialog.mdc`**, **`.cursor/skills/exxat-drawer-vs-dialog/SKILL.md`**
|
|
50
|
+
- **`exxat-no-toast.mdc`** — use dialog/banner/inline, not toasts, for outcomes that need acknowledgment.
|
|
@@ -10,7 +10,7 @@ declare function useAppTheme(): {
|
|
|
10
10
|
brand: Brand;
|
|
11
11
|
setBrand: (b: Brand) => void;
|
|
12
12
|
/** The user's preference: "system" | "normal" | "high" | "windows" */
|
|
13
|
-
contrastPref: "
|
|
13
|
+
contrastPref: "system" | "normal" | "high" | "windows";
|
|
14
14
|
/** The resolved contrast mode actually applied to the DOM. */
|
|
15
15
|
contrast: ContrastMode;
|
|
16
16
|
/** Set the contrast preference. */
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,6 @@ export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGr
|
|
|
52
52
|
export { DATE_PICKER_ICON_CLASS, DatePickerField, DatePickerFieldProps, DateTextInputField, DateTextInputFieldProps } from './components/ui/date-picker-field.js';
|
|
53
53
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from './components/ui/dialog.js';
|
|
54
54
|
export { DragHandleGripIcon } from './components/ui/drag-handle-grip.js';
|
|
55
|
-
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from './components/ui/drawer.js';
|
|
56
55
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Shortcut, useShortcut } from './components/ui/dropdown-menu.js';
|
|
57
56
|
export { ExportDrawer, ExportDrawerProps } from './components/ui/export-drawer.js';
|
|
58
57
|
export { HoverCard, HoverCardContent, HoverCardTrigger } from './components/ui/hover-card.js';
|
|
@@ -115,7 +114,6 @@ import 'react-day-picker';
|
|
|
115
114
|
import 'recharts';
|
|
116
115
|
import 'cmdk';
|
|
117
116
|
import '@radix-ui/react-dialog';
|
|
118
|
-
import 'vaul';
|
|
119
117
|
import 'react-hook-form';
|
|
120
118
|
import 'sonner';
|
|
121
119
|
import 'clsx';
|