@viglet/viglet-design-system 2026.3.10 → 2026.3.12
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/README.md +323 -36
- package/consumers.json +186 -0
- package/dist/badge-locale-1_BmNTro.cjs +1 -0
- package/dist/badge-locale-Bx7m7tg2.js +501 -0
- package/dist/bento/bento-actions-menu.d.ts +8 -0
- package/dist/bento/bento-actions-menu.d.ts.map +1 -1
- package/dist/bento/bento-back-to-top.d.ts +9 -1
- package/dist/bento/bento-back-to-top.d.ts.map +1 -1
- package/dist/bento/bento-command-palette.d.ts +12 -0
- package/dist/bento/bento-command-palette.d.ts.map +1 -1
- package/dist/bento/bento-data-table.d.ts +81 -0
- package/dist/bento/bento-data-table.d.ts.map +1 -0
- package/dist/bento/bento-diff.d.ts +41 -0
- package/dist/bento/bento-diff.d.ts.map +1 -0
- package/dist/bento/bento-empty-state.d.ts +8 -1
- package/dist/bento/bento-empty-state.d.ts.map +1 -1
- package/dist/bento/bento-entity-shell.d.ts.map +1 -1
- package/dist/bento/bento-filter-bar.d.ts +60 -0
- package/dist/bento/bento-filter-bar.d.ts.map +1 -0
- package/dist/bento/bento-form-section.d.ts +10 -3
- package/dist/bento/bento-form-section.d.ts.map +1 -1
- package/dist/bento/bento-inline-edit.d.ts.map +1 -1
- package/dist/bento/bento-nav-rail.d.ts +13 -13
- package/dist/bento/bento-nav-rail.d.ts.map +1 -1
- package/dist/bento/bento-palette-trigger.d.ts +18 -0
- package/dist/bento/bento-palette-trigger.d.ts.map +1 -0
- package/dist/bento/bento-section-chrome.d.ts +17 -42
- package/dist/bento/bento-section-chrome.d.ts.map +1 -1
- package/dist/bento/bento-shell-shortcuts.d.ts +67 -0
- package/dist/bento/bento-shell-shortcuts.d.ts.map +1 -0
- package/dist/bento/bento-shell.d.ts +53 -0
- package/dist/bento/bento-shell.d.ts.map +1 -0
- package/dist/bento/bento-shortcuts-dialog.d.ts +9 -7
- package/dist/bento/bento-shortcuts-dialog.d.ts.map +1 -1
- package/dist/bento/bento-status-marker.d.ts +5 -2
- package/dist/bento/bento-status-marker.d.ts.map +1 -1
- package/dist/bento/bento-user-menu.d.ts +9 -8
- package/dist/bento/bento-user-menu.d.ts.map +1 -1
- package/dist/bento/bento-version-rail.d.ts +31 -0
- package/dist/bento/bento-version-rail.d.ts.map +1 -0
- package/dist/bento/index.d.ts +14 -5
- package/dist/bento/index.d.ts.map +1 -1
- package/dist/bento.cjs +5 -1
- package/dist/bento.css +70 -4
- package/dist/bento.es.js +1642 -625
- package/dist/catalogue.json +5349 -0
- package/dist/components/app-footer.d.ts +7 -0
- package/dist/components/app-footer.d.ts.map +1 -1
- package/dist/components/backend-status.d.ts +19 -11
- package/dist/components/backend-status.d.ts.map +1 -1
- package/dist/components/badge-colorful.d.ts +4 -0
- package/dist/components/badge-colorful.d.ts.map +1 -1
- package/dist/components/badge-locale.d.ts +7 -0
- package/dist/components/badge-locale.d.ts.map +1 -1
- package/dist/components/error-boundary.d.ts +15 -13
- package/dist/components/error-boundary.d.ts.map +1 -1
- package/dist/components/language-select.d.ts +8 -0
- package/dist/components/language-select.d.ts.map +1 -1
- package/dist/components/login/login.d.ts +27 -0
- package/dist/components/login/login.d.ts.map +1 -1
- package/dist/components/mode-toggle.d.ts +9 -0
- package/dist/components/mode-toggle.d.ts.map +1 -1
- package/dist/components/nav-secondary.d.ts +7 -0
- package/dist/components/nav-secondary.d.ts.map +1 -1
- package/dist/components/router/dialog.delete.d.ts +8 -0
- package/dist/components/router/dialog.delete.d.ts.map +1 -1
- package/dist/components/router/gradient-button-link.d.ts +6 -0
- package/dist/components/router/gradient-button-link.d.ts.map +1 -1
- package/dist/components/router/index.d.ts +0 -11
- package/dist/components/router/index.d.ts.map +1 -1
- package/dist/components/router/loading-provider.d.ts +4 -0
- package/dist/components/router/loading-provider.d.ts.map +1 -1
- package/dist/components/startup-first/startup-first.d.ts +29 -0
- package/dist/components/startup-first/startup-first.d.ts.map +1 -1
- package/dist/components/ui/accordion.d.ts +17 -0
- package/dist/components/ui/accordion.d.ts.map +1 -1
- package/dist/components/ui/avatar.d.ts +14 -0
- package/dist/components/ui/avatar.d.ts.map +1 -1
- package/dist/components/ui/badge.d.ts +6 -0
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +25 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/button.d.ts +15 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/card.d.ts +27 -0
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/dialog.d.ts +36 -0
- package/dist/components/ui/dialog.d.ts.map +1 -1
- package/dist/components/ui/drawer.d.ts +35 -0
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +53 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/floating-formulas-bg.d.ts +8 -0
- package/dist/components/ui/floating-formulas-bg.d.ts.map +1 -1
- package/dist/components/ui/form-actions.d.ts +7 -0
- package/dist/components/ui/form-actions.d.ts.map +1 -1
- package/dist/components/ui/form-item-two-columns.d.ts +7 -0
- package/dist/components/ui/form-item-two-columns.d.ts.map +1 -1
- package/dist/components/ui/form.d.ts +26 -1
- package/dist/components/ui/form.d.ts.map +1 -1
- package/dist/components/ui/glass-card.d.ts +13 -14
- package/dist/components/ui/glass-card.d.ts.map +1 -1
- package/dist/components/ui/gradient-button.d.ts +15 -1
- package/dist/components/ui/gradient-button.d.ts.map +1 -1
- package/dist/components/ui/gradient-switch.d.ts +6 -0
- package/dist/components/ui/gradient-switch.d.ts.map +1 -1
- package/dist/components/ui/hover-card.d.ts +14 -0
- package/dist/components/ui/hover-card.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +2 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/label.d.ts +4 -0
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/navigation-menu.d.ts +29 -2
- package/dist/components/ui/navigation-menu.d.ts.map +1 -1
- package/dist/components/ui/pagination.d.ts +25 -0
- package/dist/components/ui/pagination.d.ts.map +1 -1
- package/dist/components/ui/popover.d.ts +24 -0
- package/dist/components/ui/popover.d.ts.map +1 -1
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/progress.d.ts.map +1 -1
- package/dist/components/ui/pulse-ring.d.ts +9 -11
- package/dist/components/ui/pulse-ring.d.ts.map +1 -1
- package/dist/components/ui/resizable.d.ts +11 -0
- package/dist/components/ui/resizable.d.ts.map +1 -1
- package/dist/components/ui/section-card.d.ts +9 -0
- package/dist/components/ui/section-card.d.ts.map +1 -1
- package/dist/components/ui/select.d.ts +36 -0
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/separator.d.ts.map +1 -1
- package/dist/components/ui/sheet.d.ts +29 -0
- package/dist/components/ui/sheet.d.ts.map +1 -1
- package/dist/components/ui/sidebar.d.ts +83 -0
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/skeleton.d.ts +4 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -1
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/slider.d.ts.map +1 -1
- package/dist/components/ui/sonner.d.ts +6 -2
- package/dist/components/ui/sonner.d.ts.map +1 -1
- package/dist/components/ui/stepper.d.ts +8 -0
- package/dist/components/ui/stepper.d.ts.map +1 -1
- package/dist/components/ui/sticky-save-bar.d.ts +7 -0
- package/dist/components/ui/sticky-save-bar.d.ts.map +1 -1
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/table.d.ts +31 -0
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/tabs.d.ts +16 -0
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/toggle-group.d.ts +7 -0
- package/dist/components/ui/toggle-group.d.ts.map +1 -1
- package/dist/components/ui/toggle.d.ts +4 -0
- package/dist/components/ui/toggle.d.ts.map +1 -1
- package/dist/components/ui/tooltip.d.ts +18 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/components/ui/tree.d.ts +60 -0
- package/dist/components/ui/tree.d.ts.map +1 -0
- package/dist/components/ui/user-avatar.d.ts +2 -1
- package/dist/components/ui/user-avatar.d.ts.map +1 -1
- package/dist/components/ui/viglet-assistant.d.ts +71 -28
- package/dist/components/ui/viglet-assistant.d.ts.map +1 -1
- package/dist/components/ui/viglet-avatar.d.ts +14 -12
- package/dist/components/ui/viglet-avatar.d.ts.map +1 -1
- package/dist/contexts/breadcrumb.context.d.ts +7 -0
- package/dist/contexts/breadcrumb.context.d.ts.map +1 -1
- package/dist/contexts/user.context.d.ts +8 -0
- package/dist/contexts/user.context.d.ts.map +1 -1
- package/dist/exports.json +344 -28
- package/dist/i18n/index.d.ts +94 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/locales/en/assistant.json.d.ts +4 -1
- package/dist/i18n/locales/en/bento.json.d.ts +45 -1
- package/dist/i18n/locales/pt/assistant.json.d.ts +4 -1
- package/dist/i18n/locales/pt/bento.json.d.ts +45 -1
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.es.js +98 -4
- package/dist/index.cjs +1 -1
- package/dist/index.es.js +2094 -913
- package/dist/lib/busy.d.ts +26 -0
- package/dist/lib/busy.d.ts.map +1 -0
- package/dist/lib/corner-slot.d.ts +15 -0
- package/dist/lib/corner-slot.d.ts.map +1 -0
- package/dist/{loading-provider-E3fbcekM.js → loading-provider-D-_5G-08.js} +71 -69
- package/dist/loading-provider-E4tIG9BM.cjs +1 -0
- package/dist/preset.css +7 -10
- package/dist/router.cjs +1 -1
- package/dist/router.es.js +2 -776
- package/dist/user.context-BXQ7lgg5.js +815 -0
- package/dist/user.context-D01CI8gq.cjs +1 -0
- package/dist/viglet-design-system.css +1 -1
- package/docs/BENTO-AUTHORING.md +61 -9
- package/package.json +13 -2
- package/scripts/consumer-entries.mjs +209 -0
- package/scripts/lib/contrast.mjs +301 -0
- package/scripts/mcp.mjs +300 -0
- package/scripts/page-lint.mjs +428 -0
- package/scripts/page-reference.mjs +54 -10
- package/dist/badge-locale-Bij94NwL.cjs +0 -1
- package/dist/badge-locale-Du41PpLA.js +0 -533
- package/dist/breadcrumb.context-BssgEydx.js +0 -926
- package/dist/breadcrumb.context-DLsiMS59.cjs +0 -1
- package/dist/components/router/blank-slate.d.ts +0 -21
- package/dist/components/router/blank-slate.d.ts.map +0 -1
- package/dist/components/router/grid.list.d.ts +0 -39
- package/dist/components/router/grid.list.d.ts.map +0 -1
- package/dist/components/router/internal.sidebar.d.ts +0 -61
- package/dist/components/router/internal.sidebar.d.ts.map +0 -1
- package/dist/components/router/nav-main.d.ts +0 -25
- package/dist/components/router/nav-main.d.ts.map +0 -1
- package/dist/components/router/nav-user.d.ts +0 -24
- package/dist/components/router/nav-user.d.ts.map +0 -1
- package/dist/components/router/page-content.d.ts +0 -12
- package/dist/components/router/page-content.d.ts.map +0 -1
- package/dist/components/router/page-header.d.ts +0 -23
- package/dist/components/router/page-header.d.ts.map +0 -1
- package/dist/components/router/page.d.ts +0 -22
- package/dist/components/router/page.d.ts.map +0 -1
- package/dist/components/router/sticky.page.header.d.ts +0 -85
- package/dist/components/router/sticky.page.header.d.ts.map +0 -1
- package/dist/components/router/sub.page.d.ts +0 -50
- package/dist/components/router/sub.page.d.ts.map +0 -1
- package/dist/components/router/sub.page.header.d.ts +0 -37
- package/dist/components/router/sub.page.header.d.ts.map +0 -1
- package/dist/lib/react-markers.d.ts +0 -17
- package/dist/lib/react-markers.d.ts.map +0 -1
- package/dist/loading-provider-B6-R2ONB.cjs +0 -1
- package/dist/user.context-CPmUBBLa.js +0 -522
- package/dist/user.context-xsJgPpcO.cjs +0 -1
|
@@ -9,6 +9,13 @@ interface AppFooterProps {
|
|
|
9
9
|
version?: string;
|
|
10
10
|
links?: FooterLink[];
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* A page footer: a hairline, then the product's mark, name and version, and a
|
|
14
|
+
* few links that open in a new tab.
|
|
15
|
+
*
|
|
16
|
+
* It is `mt-auto`, so it expects a shell that is a flex column whose main grows.
|
|
17
|
+
* No bento shell mounts one yet, and a page does not grow a footer of its own.
|
|
18
|
+
*/
|
|
12
19
|
export declare function AppFooter({ logo, productName, version, links }: Readonly<AppFooterProps>): React.JSX.Element;
|
|
13
20
|
export {};
|
|
14
21
|
//# sourceMappingURL=app-footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../src/components/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,KAAU,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAoB7F"}
|
|
1
|
+
{"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../src/components/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,KAAU,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,qBAoB7F"}
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Centralized "is the backend reachable" indicator.
|
|
3
|
-
*
|
|
4
|
-
* - Wrap your app in `<BackendStatusProvider>` (with a health endpoint).
|
|
5
|
-
* - From your axios interceptors, call `reportBackendOffline()` when a request
|
|
6
|
-
* fails with no response, and `reportBackendOnline()` on any success.
|
|
7
|
-
* - The provider polls the health endpoint while offline to detect recovery
|
|
8
|
-
* and renders a sticky banner at the top of the viewport.
|
|
9
|
-
*
|
|
10
|
-
* @since 2026.2.29
|
|
11
|
-
*/
|
|
12
1
|
type Status = "online" | "offline" | "checking";
|
|
13
2
|
/** Call from an axios response error handler when `!error.response`. */
|
|
14
3
|
export declare function reportBackendOffline(): void;
|
|
@@ -28,7 +17,26 @@ interface BackendStatusProviderProps {
|
|
|
28
17
|
showBanner?: boolean;
|
|
29
18
|
children: React.ReactNode;
|
|
30
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Tracks whether the backend is reachable, and shows a sticky banner while it is not.
|
|
22
|
+
*
|
|
23
|
+
* - Wrap the app in it once, with the health endpoint to poll.
|
|
24
|
+
* - From the axios interceptors, call `reportBackendOffline()` when a request
|
|
25
|
+
* fails with no response, and `reportBackendOnline()` on any success.
|
|
26
|
+
* - While offline it polls the health endpoint to notice the recovery.
|
|
27
|
+
*
|
|
28
|
+
* `useBackendStatus` reads the status and a `retry` anywhere beneath it.
|
|
29
|
+
*
|
|
30
|
+
* @since 2026.2.29
|
|
31
|
+
*/
|
|
31
32
|
export declare function BackendStatusProvider({ healthEndpoint, pollInterval, showBanner, children, }: Readonly<BackendStatusProviderProps>): import("react").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* The "server unavailable, retrying" banner, with a retry button, that
|
|
35
|
+
* `BackendStatusProvider` renders while the backend is unreachable.
|
|
36
|
+
*
|
|
37
|
+
* Mount it yourself only to place it elsewhere, with `showBanner={false}` on the
|
|
38
|
+
* provider, and always beneath that provider.
|
|
39
|
+
*/
|
|
32
40
|
export declare function BackendStatusBanner(): import("react").JSX.Element | null;
|
|
33
41
|
export {};
|
|
34
42
|
//# sourceMappingURL=backend-status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend-status.d.ts","sourceRoot":"","sources":["../../src/components/backend-status.tsx"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"backend-status.d.ts","sourceRoot":"","sources":["../../src/components/backend-status.tsx"],"names":[],"mappings":"AAMA,KAAK,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AA8BhD,wEAAwE;AACxE,wBAAgB,oBAAoB,IAAI,IAAI,CAE3C;AAED,kFAAkF;AAClF,wBAAgB,mBAAmB,IAAI,IAAI,CAE1C;AAID,UAAU,yBAAyB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAID,wBAAgB,gBAAgB,IAAI,yBAAyB,CAM5D;AAID,UAAU,0BAA0B;IAClC,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,cAA+B,EAC/B,YAAmB,EACnB,UAAiB,EACjB,QAAQ,GACT,EAAE,QAAQ,CAAC,0BAA0B,CAAC,+BA+BtC;AAID;;;;;;GAMG;AACH,wBAAgB,mBAAmB,uCAqClC"}
|
|
@@ -7,6 +7,10 @@ interface BadgeColorfulProps {
|
|
|
7
7
|
prefix?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
+
* A badge for an entity's name, in a colour hashed from that name, so the same
|
|
11
|
+
* entity wears the same colour everywhere it is listed. Given `href`, a click hands
|
|
12
|
+
* it to `onClick`, which is how a product navigates to the entity.
|
|
13
|
+
*
|
|
10
14
|
* `text` is an entity name out of the consumer's own content — `dialog.delete`
|
|
11
15
|
* passes `usage.name` straight in — so nothing here may treat it as markup or
|
|
12
16
|
* as a selector. It is rendered as a text node, and the per-instance colour it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge-colorful.d.ts","sourceRoot":"","sources":["../../src/components/badge-colorful.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED
|
|
1
|
+
{"version":3,"file":"badge-colorful.d.ts","sourceRoot":"","sources":["../../src/components/badge-colorful.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAmCtD,CAAC"}
|
|
@@ -4,6 +4,13 @@ interface BadgeLocaleProps {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function getLocaleCountryCode(locale: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* A badge showing a locale code beside its country's flag, or a globe where no
|
|
9
|
+
* flag loads.
|
|
10
|
+
*
|
|
11
|
+
* The flag comes from flagcdn.com. To let a reader choose a locale, use
|
|
12
|
+
* `LanguageSelect`, which shows this badge on every option.
|
|
13
|
+
*/
|
|
7
14
|
export declare const BadgeLocale: React.FC<BadgeLocaleProps>;
|
|
8
15
|
export {};
|
|
9
16
|
//# sourceMappingURL=badge-locale.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge-locale.d.ts","sourceRoot":"","sources":["../../src/components/badge-locale.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAkDD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAkB3D;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8BlD,CAAC"}
|
|
1
|
+
{"version":3,"file":"badge-locale.d.ts","sourceRoot":"","sources":["../../src/components/badge-locale.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAkDD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAkB3D;AAED;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA8BlD,CAAC"}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
import { default as React, ErrorInfo, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Top-level boundary that catches React render errors and displays a friendly
|
|
4
|
-
* fallback with a reload button. Logs the stack trace to the console.
|
|
5
|
-
*
|
|
6
|
-
* Usage:
|
|
7
|
-
* ```tsx
|
|
8
|
-
* <ErrorBoundary>
|
|
9
|
-
* <App />
|
|
10
|
-
* </ErrorBoundary>
|
|
11
|
-
* ```
|
|
12
|
-
*
|
|
13
|
-
* @since 2026.2.29
|
|
14
|
-
*/
|
|
15
2
|
interface Props {
|
|
16
3
|
children: ReactNode;
|
|
17
4
|
/** Custom fallback. Receives the captured error and a `reset()` callback. */
|
|
@@ -24,6 +11,21 @@ interface State {
|
|
|
24
11
|
hasError: boolean;
|
|
25
12
|
error?: Error;
|
|
26
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Catches a render error anywhere beneath it and shows a fallback with a reload
|
|
16
|
+
* button in place of a blank page.
|
|
17
|
+
*
|
|
18
|
+
* Pass `fallback` to render your own; it receives the error and a `reset()`. The
|
|
19
|
+
* error and its component stack are logged to the console either way.
|
|
20
|
+
*
|
|
21
|
+
* ```tsx
|
|
22
|
+
* <ErrorBoundary>
|
|
23
|
+
* <App />
|
|
24
|
+
* </ErrorBoundary>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @since 2026.2.29
|
|
28
|
+
*/
|
|
27
29
|
export declare class ErrorBoundary extends React.Component<Props, State> {
|
|
28
30
|
state: State;
|
|
29
31
|
static getDerivedStateFromError(error: Error): State;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../src/components/error-boundary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9D
|
|
1
|
+
{"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../src/components/error-boundary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9D,UAAU,KAAK;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,SAAS,CAAC;CACtE;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;;;;;;;;;GAcG;AACH,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC;IAC9D,KAAK,EAAE,KAAK,CAAuB;IAEnC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAIpD,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,GAAG,IAAI;IAItD,KAAK,QAAO,IAAI,CAEd;IAEF,MAAM,IAAI,SAAS;CASpB"}
|
|
@@ -7,6 +7,14 @@ interface LanguageSelectProps {
|
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* A select for choosing the locale of a piece of content, each option shown with
|
|
12
|
+
* its flag badge.
|
|
13
|
+
*
|
|
14
|
+
* Pass the product's `locales`. `extraLocaleValues` adds codes that list does not
|
|
15
|
+
* name, so a stored value still shows as chosen. It sets a value; the reader's
|
|
16
|
+
* own interface language is `LanguageSwitcher`'s.
|
|
17
|
+
*/
|
|
10
18
|
export declare function LanguageSelect({ value, onValueChange, locales, extraLocaleValues, placeholder, className, }: Readonly<LanguageSelectProps>): import("react").JSX.Element;
|
|
11
19
|
export {};
|
|
12
20
|
//# sourceMappingURL=language-select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"language-select.d.ts","sourceRoot":"","sources":["../../src/components/language-select.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,cAAc,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,iBAAsB,EACtB,WAAW,EACX,SAAS,GACZ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,+BAuD/B"}
|
|
1
|
+
{"version":3,"file":"language-select.d.ts","sourceRoot":"","sources":["../../src/components/language-select.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD,UAAU,mBAAmB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAC3B,KAAK,EACL,aAAa,EACb,OAAO,EACP,iBAAsB,EACtB,WAAW,EACX,SAAS,GACZ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,+BAuD/B"}
|
|
@@ -34,6 +34,33 @@ declare function LoginFeaturePill({ icon, children, className, ...rest }: Readon
|
|
|
34
34
|
declare function LoginCard({ children, className, ...rest }: Readonly<HTMLAttributes<HTMLDivElement>>): import("react").JSX.Element;
|
|
35
35
|
/** Subtle footer line below the form. */
|
|
36
36
|
declare function LoginFooter({ children, className, ...rest }: Readonly<HTMLAttributes<HTMLParagraphElement>>): import("react").JSX.Element;
|
|
37
|
+
/**
|
|
38
|
+
* The login screen, composed: an animated backdrop, the product's logo in a pulse
|
|
39
|
+
* ring, a title, tagline and feature pills, and a glass card holding the form.
|
|
40
|
+
*
|
|
41
|
+
* Compose it from the dot-notation children (`<Login.Background />`,
|
|
42
|
+
* `<Login.Logo>`, `<Login.Title>` and the rest). A product sets its palette once
|
|
43
|
+
* at the root with `color` / `colorDark`, and it cascades to every child that
|
|
44
|
+
* takes the accent: the backdrop, the card's shadow, the ring, the title
|
|
45
|
+
* gradient and the pills. The first-access screen before any user exists is
|
|
46
|
+
* `StartupFirst`, built the same way.
|
|
47
|
+
*
|
|
48
|
+
* Example:
|
|
49
|
+
* <Login color="#2563eb" colorDark="#60a5fa">
|
|
50
|
+
* <Login.Background withLightning />
|
|
51
|
+
* <Login.Content>
|
|
52
|
+
* <Login.Logo><ProductLogo size={52} /></Login.Logo>
|
|
53
|
+
* <Login.Title>Product name</Login.Title>
|
|
54
|
+
* <Login.Tagline>{t("login.heroTagline")}</Login.Tagline>
|
|
55
|
+
* <Login.Features>
|
|
56
|
+
* <Login.FeaturePill icon={<Search />}>Semantic search</Login.FeaturePill>
|
|
57
|
+
* <Login.FeaturePill icon={<Sparkles />}>AI</Login.FeaturePill>
|
|
58
|
+
* </Login.Features>
|
|
59
|
+
* <Login.Card><LoginForm /></Login.Card>
|
|
60
|
+
* <Login.Footer>Product name — what it is for</Login.Footer>
|
|
61
|
+
* </Login.Content>
|
|
62
|
+
* </Login>
|
|
63
|
+
*/
|
|
37
64
|
export declare const Login: typeof LoginRoot & {
|
|
38
65
|
Background: typeof LoginBackground;
|
|
39
66
|
Settings: typeof LoginSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/components/login/login.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/components/login/login.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,aAAa,CAAC;AAuBrB,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,SAAS,CAAC,EACjB,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EACtD,EAAE,QAAQ,CAAC,cAAc,CAAC,+BA4B1B;AAED,yEAAyE;AACzE,iBAAS,eAAe,CAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC,+BAG7F;AAED,8EAA8E;AAC9E,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,+BAMhG;AAED,wEAAwE;AACx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AS,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,+BAQpG;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;CAWhB,CAAC"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A header button opening a menu of the light, dark and system themes. It sets
|
|
3
|
+
* the theme through `ThemeProvider`, which has to be mounted above it.
|
|
4
|
+
*/
|
|
1
5
|
export declare function ModeToggle(): import("react").JSX.Element;
|
|
6
|
+
/**
|
|
7
|
+
* The theme control for a console sidebar on a small screen: one row that cycles
|
|
8
|
+
* through light, dark and system. Hidden from `md` up, where `ModeToggle` sits in
|
|
9
|
+
* the header.
|
|
10
|
+
*/
|
|
2
11
|
export declare function ModeToggleSidebar(): import("react").JSX.Element;
|
|
3
12
|
//# sourceMappingURL=mode-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mode-toggle.d.ts","sourceRoot":"","sources":["../../src/components/mode-toggle.tsx"],"names":[],"mappings":"AAYA,wBAAgB,UAAU,gCA0BzB;AAQD,wBAAgB,iBAAiB,gCAwBhC"}
|
|
1
|
+
{"version":3,"file":"mode-toggle.d.ts","sourceRoot":"","sources":["../../src/components/mode-toggle.tsx"],"names":[],"mappings":"AAYA;;;GAGG;AACH,wBAAgB,UAAU,gCA0BzB;AAQD;;;;GAIG;AACH,wBAAgB,iBAAiB,gCAwBhC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Icon } from '@tabler/icons-react';
|
|
2
2
|
import { SidebarGroup } from './ui/sidebar';
|
|
3
3
|
import * as React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* A console sidebar group of plain links, each an icon and a title, such as help
|
|
6
|
+
* and documentation below the main nav.
|
|
7
|
+
*
|
|
8
|
+
* It renders inside `Sidebar`. A bento shell has no sidebar: its navigation is
|
|
9
|
+
* `BentoNavRail` and the command palette.
|
|
10
|
+
*/
|
|
4
11
|
export declare function NavSecondary({ items, ...props }: {
|
|
5
12
|
items: {
|
|
6
13
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-secondary.d.ts","sourceRoot":"","sources":["../../src/components/nav-secondary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EACL,YAAY,EAKb,MAAM,yBAAyB,CAAA;AAEhC,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,KAAK,EACT,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,IAAI,CAAA;KACX,EAAE,CAAA;CACJ,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,qBAmBtD"}
|
|
1
|
+
{"version":3,"file":"nav-secondary.d.ts","sourceRoot":"","sources":["../../src/components/nav-secondary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EACL,YAAY,EAKb,MAAM,yBAAyB,CAAA;AAEhC;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,GAAG,KAAK,EACT,EAAE;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAA;QACb,GAAG,EAAE,MAAM,CAAA;QACX,IAAI,EAAE,IAAI,CAAA;KACX,EAAE,CAAA;CACJ,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,YAAY,CAAC,qBAmBtD"}
|
|
@@ -22,6 +22,14 @@ interface Props {
|
|
|
22
22
|
description?: string;
|
|
23
23
|
confirmLabel?: string;
|
|
24
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* The confirmation before deleting something: the reader types its name to
|
|
27
|
+
* enable the delete, or is told what still uses it when `blockedBy` lists anything.
|
|
28
|
+
*
|
|
29
|
+
* Pass `trigger={null}` and drive `open` yourself to open it from a menu item.
|
|
30
|
+
* `BentoEntityShell` already mounts one behind its Delete action, so a detail
|
|
31
|
+
* screen built on it does not add its own.
|
|
32
|
+
*/
|
|
25
33
|
export declare const DialogDelete: React.FC<Props>;
|
|
26
34
|
export {};
|
|
27
35
|
//# sourceMappingURL=dialog.delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.delete.d.ts","sourceRoot":"","sources":["../../../src/components/router/dialog.delete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAS5E,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"dialog.delete.d.ts","sourceRoot":"","sources":["../../../src/components/router/dialog.delete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAY,MAAM,OAAO,CAAC;AAS5E,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAyHxC,CAAA"}
|
|
@@ -2,6 +2,12 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { To } from 'react-router-dom';
|
|
3
3
|
import { gradientButtonVariants } from '../ui/gradient-button';
|
|
4
4
|
import * as React from "react";
|
|
5
|
+
/**
|
|
6
|
+
* A router link that looks like a `GradientButton`, with its variants and sizes.
|
|
7
|
+
*
|
|
8
|
+
* Clicking it while already on the page it points at reloads that page. For an
|
|
9
|
+
* action that does not change the route, use `GradientButton` itself.
|
|
10
|
+
*/
|
|
5
11
|
declare function GradientButtonLink({ className, variant, size, to, onClick, children, }: Omit<React.ComponentProps<"a">, "href"> & VariantProps<typeof gradientButtonVariants> & {
|
|
6
12
|
to: To;
|
|
7
13
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gradient-button-link.d.ts","sourceRoot":"","sources":["../../../src/components/router/gradient-button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAGnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,EAAE,EACF,OAAO,EACP,QAAQ,GACX,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GACtC,YAAY,CAAC,OAAO,sBAAsB,CAAC,GAAG;IAC1C,EAAE,EAAE,EAAE,CAAA;CACT,qBAmBJ;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"gradient-button-link.d.ts","sourceRoot":"","sources":["../../../src/components/router/gradient-button-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAW,KAAK,EAAE,EAAE,MAAM,kBAAkB,CAAA;AAGnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAA;AAE9D;;;;;GAKG;AACH,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,EAAE,EACF,OAAO,EACP,QAAQ,GACX,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GACtC,YAAY,CAAC,OAAO,sBAAsB,CAAC,GAAG;IAC1C,EAAE,EAAE,EAAE,CAAA;CACT,qBAmBJ;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
export { BlankSlate } from './blank-slate';
|
|
2
1
|
export { DialogDelete, type VigBlockedByItem } from './dialog.delete';
|
|
3
2
|
export { GradientButtonLink } from './gradient-button-link';
|
|
4
|
-
export { GridList, type ItemActionProps as VigGridItemActionProps } from './grid.list';
|
|
5
|
-
export { InternalSidebar, type InternalSidebarCount, type NavMainItem, } from './internal.sidebar';
|
|
6
3
|
export { LoadProvider } from './loading-provider';
|
|
7
|
-
export { NavMain } from './nav-main';
|
|
8
|
-
export { NavUser } from './nav-user';
|
|
9
|
-
export { Page } from './page';
|
|
10
|
-
export { PageContent } from './page-content';
|
|
11
|
-
export { PageHeader } from './page-header';
|
|
12
|
-
export { StickyPageHeader } from './sticky.page.header';
|
|
13
|
-
export { SubPage } from './sub.page';
|
|
14
|
-
export { SubPageHeader } from './sub.page.header';
|
|
15
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/router/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/router/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -9,6 +9,10 @@ interface LoadProviderProps {
|
|
|
9
9
|
tryAgainUrl?: string;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* A page's loading gate: a skeleton until `checkIsNotUndefined` has a value, an
|
|
14
|
+
* error slate with a retry link when `error` is set, and its children after that.
|
|
15
|
+
*/
|
|
12
16
|
export declare const LoadProvider: ({ checkIsNotUndefined, error, tryAgainUrl, children }: LoadProviderProps) => import("react").JSX.Element;
|
|
13
17
|
export {};
|
|
14
18
|
//# sourceMappingURL=loading-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loading-provider.d.ts","sourceRoot":"","sources":["../../../src/components/router/loading-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"loading-provider.d.ts","sourceRoot":"","sources":["../../../src/components/router/loading-provider.tsx"],"names":[],"mappings":"AAmDA,UAAU,iBAAiB;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,uDAK1B,iBAAiB,gCAkCnB,CAAC"}
|
|
@@ -41,6 +41,35 @@ export interface StartupFirstHintProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
41
41
|
}
|
|
42
42
|
/** Small tip callout used next to form fields. */
|
|
43
43
|
declare function StartupFirstHint({ icon, children, className, ...rest }: Readonly<StartupFirstHintProps>): import("react").JSX.Element;
|
|
44
|
+
/**
|
|
45
|
+
* The first-access screen an administrator sees before any user exists: the
|
|
46
|
+
* login screen's backdrop, logo and glass card, with a step count and actions.
|
|
47
|
+
*
|
|
48
|
+
* It is composed like {@link Login}, so a product reuses the same palette,
|
|
49
|
+
* backdrop and card, and its content is all slots: the steps, fields and actions
|
|
50
|
+
* are the product's. `StartupFirst.Steps` counts screens; `Stepper` is a checklist
|
|
51
|
+
* within one.
|
|
52
|
+
*
|
|
53
|
+
* Example:
|
|
54
|
+
* <StartupFirst color="#2563eb" colorDark="#60a5fa">
|
|
55
|
+
* <StartupFirst.Background withOrbs withGrid />
|
|
56
|
+
* <StartupFirst.Content>
|
|
57
|
+
* <StartupFirst.Steps current={1} total={3} />
|
|
58
|
+
* <StartupFirst.Logo><ProductLogo size={80} /></StartupFirst.Logo>
|
|
59
|
+
* <StartupFirst.Title>Welcome</StartupFirst.Title>
|
|
60
|
+
* <StartupFirst.Description>
|
|
61
|
+
* Let's create your first administrator account.
|
|
62
|
+
* </StartupFirst.Description>
|
|
63
|
+
* <StartupFirst.Card>
|
|
64
|
+
* <SetupForm />
|
|
65
|
+
* </StartupFirst.Card>
|
|
66
|
+
* <StartupFirst.Actions>
|
|
67
|
+
* <Button variant="outline">Back</Button>
|
|
68
|
+
* <Button>Continue</Button>
|
|
69
|
+
* </StartupFirst.Actions>
|
|
70
|
+
* </StartupFirst.Content>
|
|
71
|
+
* </StartupFirst>
|
|
72
|
+
*/
|
|
44
73
|
export declare const StartupFirst: typeof StartupFirstRoot & {
|
|
45
74
|
Background: typeof StartupFirstBackground;
|
|
46
75
|
Content: typeof StartupFirstContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startup-first.d.ts","sourceRoot":"","sources":["../../../src/components/startup-first/startup-first.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"startup-first.d.ts","sourceRoot":"","sources":["../../../src/components/startup-first/startup-first.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAG9F,OAAO,qBAAqB,CAAC;AAuB7B,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,gFAAgF;IA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AAQ,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,+BAWxG;AAED,2EAA2E;AAC3E,iBAAS,uBAAuB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,+BAQhH;AAED,8DAA8D;AAC9D,iBAAS,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,+BAMnG;AAED,wDAAwD;AACxD,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,+BAMtG;AAED,gEAAgE;AAChE,iBAAS,kBAAkB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAAC,+BAQ3G;AAED,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AACD,kDAAkD;AAClD,iBAAS,gBAAgB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,qBAAqB,CAAC,+BAUhG;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWvB,CAAC"}
|
|
@@ -1,8 +1,25 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* A vertical stack of headed sections, each expanding to show its content: the
|
|
5
|
+
* Radix root, with `type` set to `single` or `multiple`.
|
|
6
|
+
*
|
|
7
|
+
* For one collapsible form section on its own, `SectionCard` collapses by itself.
|
|
8
|
+
*/
|
|
3
9
|
declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
/**
|
|
11
|
+
* One section of an `Accordion`, holding its trigger and content under a unique
|
|
12
|
+
* `value`.
|
|
13
|
+
*/
|
|
4
14
|
declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
/**
|
|
16
|
+
* The header button that expands or collapses its `AccordionItem`, with a chevron
|
|
17
|
+
* that turns.
|
|
18
|
+
*/
|
|
5
19
|
declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
/**
|
|
21
|
+
* The body of an `AccordionItem`, animated open and closed.
|
|
22
|
+
*/
|
|
6
23
|
declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
24
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
8
25
|
//# sourceMappingURL=accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC,QAAA,MAAM,aAAa,iKAKjB,CAAA;AAGF,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/ui/accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;GAKG;AACH,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC;;;GAGG;AACH,QAAA,MAAM,aAAa,iKAKjB,CAAA;AAGF;;;GAGG;AACH,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF;;GAEG;AACH,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
3
|
+
/**
|
|
4
|
+
* A round avatar frame holding an `AvatarImage` and the `AvatarFallback` shown
|
|
5
|
+
* until the image loads.
|
|
6
|
+
*
|
|
7
|
+
* A person's avatar, with their picture or their initials, is already built as
|
|
8
|
+
* `UserAvatar`, and the Viglet mascot is `VigletAvatar`.
|
|
9
|
+
*/
|
|
3
10
|
declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): React.JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* The picture inside an `Avatar`, shown once it has loaded.
|
|
13
|
+
*/
|
|
4
14
|
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): React.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* What an `Avatar` shows while its image loads or when it has none, usually
|
|
17
|
+
* initials.
|
|
18
|
+
*/
|
|
5
19
|
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): React.JSX.Element;
|
|
6
20
|
export { Avatar, AvatarImage, AvatarFallback };
|
|
7
21
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAWnD;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,qBAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD;;;;;;GAMG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAWnD;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED;;;GAGG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,qBAWvD;AAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -3,6 +3,12 @@ import * as React from "react";
|
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
4
|
variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
/**
|
|
7
|
+
* A small pill label in the primary, secondary, destructive or outline style.
|
|
8
|
+
*
|
|
9
|
+
* An entity name tinted with its own colour is `BadgeColorful`, a locale with its
|
|
10
|
+
* flag `BadgeLocale`, and a bento page's save state `BentoStatusMarker`.
|
|
11
|
+
*/
|
|
6
12
|
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
|
|
7
13
|
asChild?: boolean;
|
|
8
14
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,qBAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/ui/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAIjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAED;;;;;GAKG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAC7B,YAAY,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,qBAU3D;AAED,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1,12 +1,37 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The breadcrumb trail's `nav` landmark, composed with `BreadcrumbList`,
|
|
4
|
+
* `BreadcrumbItem`, `BreadcrumbLink` and `BreadcrumbPage`.
|
|
5
|
+
*
|
|
6
|
+
* A console-era page fills it from `BreadcrumbProvider`. A bento page's way back is
|
|
7
|
+
* its hero's back link, and it has no trail.
|
|
8
|
+
*/
|
|
2
9
|
declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* The ordered list of crumbs inside a `Breadcrumb`.
|
|
12
|
+
*/
|
|
3
13
|
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): React.JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* One crumb in a `BreadcrumbList`, holding a link or the current page.
|
|
16
|
+
*/
|
|
4
17
|
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* A crumb that navigates. Pass `asChild` to render the router's own link.
|
|
20
|
+
*/
|
|
5
21
|
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
|
|
6
22
|
asChild?: boolean;
|
|
7
23
|
}): React.JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* The current page's crumb, marked `aria-current` and not a link.
|
|
26
|
+
*/
|
|
8
27
|
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* The divider between two crumbs, a chevron unless you pass another.
|
|
30
|
+
*/
|
|
9
31
|
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* Stands in for the crumbs collapsed out of a long trail.
|
|
34
|
+
*/
|
|
10
35
|
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
11
36
|
export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
|
|
12
37
|
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/ui/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAS5D;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAW1E;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAQ1E;AAED,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,qBAUA;AAED,iB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M,CAAC,qBAW5E;AAED;;GAEG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAY5B;AAED;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAc9B;AAED,OAAO,EACL,UAAU,EACV,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,kBAAkB,GACnB,CAAA"}
|
|
@@ -4,8 +4,22 @@ declare const buttonVariants: (props?: ({
|
|
|
4
4
|
variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* The neutral button, `bg-primary` by default, with destructive, outline,
|
|
9
|
+
* secondary, ghost and link variants.
|
|
10
|
+
*
|
|
11
|
+
* For an action in the brand accent gradient, as the bento forms use, reach for
|
|
12
|
+
* `GradientButton`, and for a route change `GradientButtonLink`. Pass `loading`
|
|
13
|
+
* while the action runs rather than `disabled`, which drops the focus.
|
|
14
|
+
*/
|
|
15
|
+
declare function Button({ className, variant, size, asChild, loading, onClick, children, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
8
16
|
asChild?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The action is running: the button says so, ignores a second press, and
|
|
19
|
+
* stays focusable, where `disabled` would drop the focus of the control just
|
|
20
|
+
* pressed (VDS143).
|
|
21
|
+
*/
|
|
22
|
+
loading?: boolean;
|
|
9
23
|
}): React.JSX.Element;
|
|
10
24
|
export { Button, buttonVariants };
|
|
11
25
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,QAAA,MAAM,cAAc;;;8EA8BnB,CAAA;AAED;;;;;;;GAOG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,OAAe,EACf,OAAe,EACf,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,qBAkBF;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,10 +1,37 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* A plain bordered card on the card surface, composed with `CardHeader`,
|
|
4
|
+
* `CardContent` and `CardFooter`.
|
|
5
|
+
*
|
|
6
|
+
* Inside a bento shell a box of content is `BentoPanel`, and a login or hero
|
|
7
|
+
* surface is `GlassCard`.
|
|
8
|
+
*/
|
|
2
9
|
declare function Card({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* The top of a `Card`, holding its title and description, and a `CardAction` beside
|
|
12
|
+
* them.
|
|
13
|
+
*/
|
|
3
14
|
declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* A `Card`'s title. It renders a `div`, so give it a heading element or role where
|
|
17
|
+
* the outline needs one.
|
|
18
|
+
*/
|
|
4
19
|
declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* A muted line under a `Card`'s title.
|
|
22
|
+
*/
|
|
5
23
|
declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* A control placed at the top right of a `CardHeader`, beside the title.
|
|
26
|
+
*/
|
|
6
27
|
declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* The padded body of a `Card`.
|
|
30
|
+
*/
|
|
7
31
|
declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
32
|
+
/**
|
|
33
|
+
* The bottom row of a `Card`, for its actions.
|
|
34
|
+
*/
|
|
8
35
|
declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
9
36
|
export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
|
|
10
37
|
//# sourceMappingURL=card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWjE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAA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