@viglet/viglet-design-system 2026.3.9 → 2026.3.11
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 +528 -44
- package/consumers.json +186 -0
- package/dist/badge-locale-CJkHDlPg.cjs +1 -0
- package/dist/badge-locale-DxDp8Q3S.js +397 -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 +56 -9
- 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 +14 -1
- 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-nav.d.ts +10 -2
- package/dist/bento/bento-nav.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 +19 -39
- 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-tile.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 +15 -6
- 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 +1778 -701
- package/dist/catalogue.json +5283 -0
- package/dist/components/app-footer.d.ts +7 -0
- package/dist/components/app-footer.d.ts.map +1 -1
- package/dist/components/app-switcher.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 +13 -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 +25 -0
- package/dist/components/ui/form.d.ts.map +1 -1
- package/dist/components/ui/glass-card.d.ts +18 -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/icon-picker-dialog.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +6 -4
- 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 +41 -0
- 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 +16 -0
- 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/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 +103 -0
- package/dist/components/ui/viglet-assistant.d.ts.map +1 -0
- package/dist/components/ui/viglet-avatar.d.ts +44 -0
- package/dist/components/ui/viglet-avatar.d.ts.map +1 -0
- 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 +359 -30
- package/dist/floating-formulas-bg.cjs +1 -1
- package/dist/floating-formulas-bg.es.js +56 -55
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/use-assistant-notifications.d.ts +15 -0
- package/dist/hooks/use-assistant-notifications.d.ts.map +1 -0
- package/dist/i18n/index.d.ts +168 -0
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/locales/en/assistant.json.d.ts +25 -0
- package/dist/i18n/locales/en/bento.json.d.ts +48 -2
- package/dist/i18n/locales/en/common.json.d.ts +6 -1
- package/dist/i18n/locales/en/language.json.d.ts +8 -0
- package/dist/i18n/locales/pt/assistant.json.d.ts +25 -0
- package/dist/i18n/locales/pt/bento.json.d.ts +48 -2
- package/dist/i18n/locales/pt/common.json.d.ts +6 -1
- package/dist/i18n/locales/pt/language.json.d.ts +8 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.es.js +572 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +2280 -733
- 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-BWWhhfEn.js → loading-provider-ClDkFPuv.js} +84 -81
- package/dist/loading-provider-DGuCfsl9.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-Cr3GAQ_r.js +762 -0
- package/dist/user.context-hbdvmXOn.cjs +1 -0
- package/dist/utils-Fk5jmzzb.js +41 -0
- package/dist/utils-Oagwe_oa.cjs +1 -0
- package/dist/viglet-design-system.css +1 -1
- package/dist/vite/boot-loader.d.ts +33 -2
- package/dist/vite/boot-loader.d.ts.map +1 -1
- package/dist/vite.cjs +16 -5
- package/dist/vite.es.js +27 -14
- package/docs/BENTO-AUTHORING.md +81 -11
- package/docs/reference/grounds.dc.html +9 -9
- package/package.json +16 -4
- 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-CoEEv7s5.js +0 -581
- package/dist/badge-locale-hQyWhAKe.cjs +0 -7
- package/dist/breadcrumb.context-KQut7j8U.js +0 -917
- package/dist/breadcrumb.context-Vwc3lAlf.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/i18n-DD3rQOWi.js +0 -426
- package/dist/i18n-DrBq-qJJ.cjs +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-CmeMqLGk.cjs +0 -1
- package/dist/user.context-B9vIBzY5.cjs +0 -1
- package/dist/user.context-D1PxP4D4.js +0 -512
|
@@ -1,15 +1,56 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
3
|
+
/**
|
|
4
|
+
* A horizontal site navigation bar whose entries open panels of links, on the
|
|
5
|
+
* Radix primitive, composed with `NavigationMenuList`, `NavigationMenuItem`,
|
|
6
|
+
* `NavigationMenuTrigger` and `NavigationMenuContent`.
|
|
7
|
+
*
|
|
8
|
+
* A bento console navigates with `BentoNavRail` and the command palette instead.
|
|
9
|
+
*
|
|
10
|
+
* VDS105 — the landmark names itself, in the reader's language. Radix renders this root as a `nav` carrying a hardcoded `aria-label="Main"`,
|
|
11
|
+
* so passing none left the landmark announced as "Main" in every product and
|
|
12
|
+
* every language — English a dependency wrote, exactly as sonner's
|
|
13
|
+
* `Notifications` was. VDS93 cannot see it and should not: there is no literal
|
|
14
|
+
* here to find, and the omission is the defect. The literals gate grew a second
|
|
15
|
+
* half for that shape; `src/i18n/literals.test.ts` holds the list.
|
|
16
|
+
*
|
|
17
|
+
* A navigation landmark's name is also what tells it apart from the other
|
|
18
|
+
* landmarks on a page, so a product with a second nav wants its own word.
|
|
19
|
+
* Passing `aria-label` has always worked — before the spread, so it still does.
|
|
20
|
+
*/
|
|
3
21
|
declare function NavigationMenu({ className, children, viewport, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
4
22
|
viewport?: boolean;
|
|
5
23
|
}): React.JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* The row of top-level entries in a `NavigationMenu`.
|
|
26
|
+
*/
|
|
6
27
|
declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>): React.JSX.Element;
|
|
28
|
+
/**
|
|
29
|
+
* One top-level entry in a `NavigationMenuList`: a link, or a trigger with its
|
|
30
|
+
* content.
|
|
31
|
+
*/
|
|
7
32
|
declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>): React.JSX.Element;
|
|
8
33
|
declare const navigationMenuTriggerStyle: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
34
|
+
/**
|
|
35
|
+
* The button that opens an entry's `NavigationMenuContent`, with a chevron.
|
|
36
|
+
*/
|
|
9
37
|
declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): React.JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* The panel an entry opens, shown in the menu's viewport.
|
|
40
|
+
*/
|
|
10
41
|
declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>): React.JSX.Element;
|
|
42
|
+
/**
|
|
43
|
+
* Where the open entry's content renders, sized to it. `NavigationMenu` mounts one
|
|
44
|
+
* unless `viewport` is false.
|
|
45
|
+
*/
|
|
11
46
|
declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): React.JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* A link inside a navigation menu. Pass `active` for the current page.
|
|
49
|
+
*/
|
|
12
50
|
declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>): React.JSX.Element;
|
|
51
|
+
/**
|
|
52
|
+
* The arrow under the trigger whose content is open.
|
|
53
|
+
*/
|
|
13
54
|
declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): React.JSX.Element;
|
|
14
55
|
export { NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuContent, NavigationMenuTrigger, NavigationMenuLink, NavigationMenuIndicator, NavigationMenuViewport, navigationMenuTriggerStyle, };
|
|
15
56
|
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAA;
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/components/ui/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,uBAAuB,MAAM,iCAAiC,CAAA;AAO1E;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,QAAe,EACf,GAAG,KAAK,EACT,EA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kB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,GAC3B,CAAA"}
|
|
@@ -1,13 +1,38 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The `nav` landmark for moving between pages of results, composed with
|
|
4
|
+
* `PaginationContent`, `PaginationItem`, `PaginationLink`, `PaginationPrevious` and
|
|
5
|
+
* `PaginationNext`.
|
|
6
|
+
*
|
|
7
|
+
* `BentoDataTable` mounts only the rows in view and needs no pages.
|
|
8
|
+
*/
|
|
2
9
|
declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* The list of page links inside `Pagination`.
|
|
12
|
+
*/
|
|
3
13
|
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
14
|
+
/**
|
|
15
|
+
* One entry in `PaginationContent`.
|
|
16
|
+
*/
|
|
4
17
|
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
18
|
+
/**
|
|
19
|
+
* A link to one page. `isActive` marks the current one.
|
|
20
|
+
*/
|
|
5
21
|
declare function PaginationLink({ className, isActive, size, children, ...props }: React.ComponentProps<"a"> & {
|
|
6
22
|
isActive?: boolean;
|
|
7
23
|
size?: "default" | "icon";
|
|
8
24
|
}): React.JSX.Element;
|
|
25
|
+
/**
|
|
26
|
+
* The link to the previous page, labelled for a screen reader.
|
|
27
|
+
*/
|
|
9
28
|
declare function PaginationPrevious({ className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element;
|
|
29
|
+
/**
|
|
30
|
+
* The link to the next page, labelled for a screen reader.
|
|
31
|
+
*/
|
|
10
32
|
declare function PaginationNext({ className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* Stands in for the page numbers left out between two links.
|
|
35
|
+
*/
|
|
11
36
|
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
|
|
12
37
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
13
38
|
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAUvE;AAED,QAAA,MAAM,iBAAiB,2KASrB,CAAA;AAGF,QAAA,MAAM,cAAc,kKAKlB,CAAA;AAGF,iBAAS,cAAc,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAC5B,qBAiBA;AAED,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,qBAa7C;AAED,iBAAS,cAAc,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,qBAa7C;AAED,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAY9B;AAED,OAAO,EACH,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EACrB,CAAA"}
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B;;;;;;GAMG;AACH,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAUvE;AAED;;GAEG;AACH,QAAA,MAAM,iBAAiB,2KASrB,CAAA;AAGF;;GAEG;AACH,QAAA,MAAM,cAAc,kKAKlB,CAAA;AAGF;;GAEG;AACH,iBAAS,cAAc,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CAC5B,qBAiBA;AAED;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,qBAa7C;AAED;;GAEG;AACH,iBAAS,cAAc,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,qBAa7C;AAED;;GAEG;AACH,iBAAS,kBAAkB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACX,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAY9B;AAED,OAAO,EACH,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,EACrB,CAAA"}
|
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* A floating panel a reader opens from a trigger to read or act in, on the Radix
|
|
5
|
+
* primitive.
|
|
6
|
+
*
|
|
7
|
+
* A short label on hover is `Tooltip`, and a menu of actions `DropdownMenu`.
|
|
8
|
+
*/
|
|
3
9
|
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
|
|
10
|
+
/**
|
|
11
|
+
* The element that opens its `Popover`.
|
|
12
|
+
*/
|
|
4
13
|
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* The floating panel of a `Popover`, portalled and aligned to its trigger.
|
|
16
|
+
*/
|
|
5
17
|
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): React.JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* Positions a `Popover` against an element other than its trigger.
|
|
20
|
+
*/
|
|
6
21
|
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
|
|
22
|
+
/**
|
|
23
|
+
* The top of `PopoverContent`, stacking a title and description.
|
|
24
|
+
*/
|
|
7
25
|
declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* A popover's title. It renders a `div`, not a heading.
|
|
28
|
+
*/
|
|
8
29
|
declare function PopoverTitle({ className, ...props }: React.ComponentProps<"h2">): React.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* A muted line under a popover's title.
|
|
32
|
+
*/
|
|
9
33
|
declare function PopoverDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
10
34
|
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverHeader, PopoverTitle, PopoverDescription, };
|
|
11
35
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAItD,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAEpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAEvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAevD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,qBAEtD;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ1E;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAQxE;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,qBAQ3B;AAED,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,EACZ,kBAAkB,GACnB,CAAA"}
|
|
1
|
+
{"version":3,"file":"popover.d.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import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
2
|
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* A horizontal bar filled to `value` percent, for work with a known end. A page
|
|
5
|
+
* still loading shows a skeleton instead, as `LoadProvider` does.
|
|
6
|
+
*/
|
|
3
7
|
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): React.JSX.Element;
|
|
4
8
|
export { Progress };
|
|
5
9
|
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAIxD,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,qBAiBrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/components/ui/progress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAIxD;;;GAGG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,qBAiBrD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* PulseRing — animated ring that radiates outward from a logo container.
|
|
4
|
-
*
|
|
5
|
-
* Wraps a product logo (or any square-ish element) and emits a pulse in the
|
|
6
|
-
* accent color to signal "the product is loading / ready". Used on login and
|
|
7
|
-
* startup screens across Viglet products. Pass `color` / `colorDark` to match
|
|
8
|
-
* the surrounding palette; by default matches Turing blue.
|
|
9
|
-
*
|
|
10
|
-
* The ring is rendered as a self-contained CSS animation on the element's
|
|
11
|
-
* box-shadow — no extra DOM, no impact on layout beyond the wrapped logo.
|
|
12
|
-
*/
|
|
13
2
|
export interface PulseRingProps extends HTMLAttributes<HTMLDivElement> {
|
|
14
3
|
/** Accent color of the pulse (light mode). */
|
|
15
4
|
color?: string;
|
|
@@ -18,5 +7,14 @@ export interface PulseRingProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
18
7
|
/** Disable the animation (useful when a settings switch turns it off). */
|
|
19
8
|
paused?: boolean;
|
|
20
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* An animated ring radiating from a logo, to say a product is loading or ready on
|
|
12
|
+
* a login or first-access screen.
|
|
13
|
+
*
|
|
14
|
+
* It wraps the logo, or any square-ish element, and pulses in the accent colour.
|
|
15
|
+
* Pass `color` / `colorDark` to match the surrounding palette. The ring is a CSS
|
|
16
|
+
* animation on the element's box-shadow: no extra DOM, and no effect on layout
|
|
17
|
+
* beyond the wrapped logo. `Login.Logo` and `StartupFirst.Logo` already wrap one.
|
|
18
|
+
*/
|
|
21
19
|
export declare function PulseRing({ children, color, colorDark, paused, className, style, ...rest }: Readonly<PulseRingProps>): import("react").JSX.Element;
|
|
22
20
|
//# sourceMappingURL=pulse-ring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pulse-ring.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pulse-ring.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"pulse-ring.d.ts","sourceRoot":"","sources":["../../../src/components/ui/pulse-ring.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,OAAO,CAAC;AAI3D,OAAO,kBAAkB,CAAC;AAE1B,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,KAAK,EACL,SAAS,EACT,MAAM,EACN,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EAAE,QAAQ,CAAC,cAAc,CAAC,+BAe1B"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { Group, Panel, Separator } from 'react-resizable-panels';
|
|
2
|
+
/**
|
|
3
|
+
* A row or column of panels a reader resizes by dragging the handles between them,
|
|
4
|
+
* on react-resizable-panels.
|
|
5
|
+
*/
|
|
2
6
|
declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof Group>): import("react").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* One panel in a `ResizablePanelGroup`. `overflowHidden` clips content that would
|
|
9
|
+
* spill past its edge.
|
|
10
|
+
*/
|
|
3
11
|
declare function ResizablePanel({ overflowHidden, className, ...props }: React.ComponentProps<typeof Panel> & {
|
|
4
12
|
overflowHidden?: boolean;
|
|
5
13
|
}): import("react").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* The draggable divider between two panels. `withHandle` shows a grip on it.
|
|
16
|
+
*/
|
|
6
17
|
declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof Separator> & {
|
|
7
18
|
withHandle?: boolean;
|
|
8
19
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIhE,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,+
|
|
1
|
+
{"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAIhE;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,+BAapC;AAED;;;GAGG;AACH,iBAAS,cAAc,CAAC,EACtB,cAAc,EACd,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,+BASnE;AAED;;GAEG;AACH,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,+BAkCA;AAED,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -48,6 +48,15 @@ interface SectionCardProps {
|
|
|
48
48
|
children: ReactNode;
|
|
49
49
|
className?: string;
|
|
50
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* A console-era form section: a collapsible card with a coloured icon header over
|
|
53
|
+
* its fields.
|
|
54
|
+
*
|
|
55
|
+
* Compose `SectionCard.Header`, or `SectionCard.StaticHeader` for one that does
|
|
56
|
+
* not collapse, and `SectionCard.Content`. A bento form groups its fields in
|
|
57
|
+
* `BentoFormSection`; `AdaptiveSectionCard` reads this same markup and renders
|
|
58
|
+
* that, which is how a form written here moved without being rewritten.
|
|
59
|
+
*/
|
|
51
60
|
declare function SectionCard({ variant, defaultOpen, children, className }: Readonly<SectionCardProps>): import("react").JSX.Element;
|
|
52
61
|
declare namespace SectionCard {
|
|
53
62
|
var Header: ({ icon: Icon, title, description, className }: Readonly<HeaderProps>) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section-card.d.ts","sourceRoot":"","sources":["../../../src/components/ui/section-card.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAOf,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCT,CAAC;AAEX,KAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAsB/C,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,WAAW,CAAC,EAAE,OAAgB,EAAE,WAAkB,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,QAAQ,CAAC,gBAAgB,CAAC,+BAW7G;kBAXQ,WAAW;gEAwB2C,QAAQ,CAAC,WAAW,CAAC;sEA2Cf,QAAQ,CAAC,iBAAiB,CAAC;2CAiCtD,QAAQ,CAAC,YAAY,CAAC;;AAnFhE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsCD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC;IACxB,KAAK,EAAE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AAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA8BD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsBD,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,CAAC"}
|
|
@@ -1,16 +1,52 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
+
/**
|
|
4
|
+
* A dropdown for choosing one value from a list, on the Radix primitive, composed
|
|
5
|
+
* with `SelectTrigger`, `SelectValue`, `SelectContent` and `SelectItem`.
|
|
6
|
+
*
|
|
7
|
+
* A content locale has its own, `LanguageSelect`. A menu of actions is
|
|
8
|
+
* `DropdownMenu`.
|
|
9
|
+
*/
|
|
3
10
|
declare function Select({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>): React.JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* Groups related options under a `SelectLabel`.
|
|
13
|
+
*/
|
|
4
14
|
declare function SelectGroup({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>): React.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* Renders the chosen option's text inside `SelectTrigger`, or the `placeholder`
|
|
17
|
+
* while there is none.
|
|
18
|
+
*/
|
|
5
19
|
declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>): React.JSX.Element;
|
|
20
|
+
/**
|
|
21
|
+
* The button that shows the chosen value and opens the list, compact with
|
|
22
|
+
* `size="sm"`. Give it an `aria-label` where no label names it.
|
|
23
|
+
*/
|
|
6
24
|
declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
|
|
7
25
|
size?: "sm" | "default";
|
|
8
26
|
}): React.JSX.Element;
|
|
27
|
+
/**
|
|
28
|
+
* The floating list of a `Select`'s options, with scroll buttons when it overflows.
|
|
29
|
+
*/
|
|
9
30
|
declare function SelectContent({ className, children, position, align, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): React.JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* A heading over a group of options that nobody can choose.
|
|
33
|
+
*/
|
|
10
34
|
declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): React.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* One option in a `Select`, with a check while it is chosen.
|
|
37
|
+
*/
|
|
11
38
|
declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): React.JSX.Element;
|
|
39
|
+
/**
|
|
40
|
+
* A line between groups of options.
|
|
41
|
+
*/
|
|
12
42
|
declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): React.JSX.Element;
|
|
43
|
+
/**
|
|
44
|
+
* Scrolls a long option list up. `SelectContent` already renders one.
|
|
45
|
+
*/
|
|
13
46
|
declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>): React.JSX.Element;
|
|
47
|
+
/**
|
|
48
|
+
* Scrolls a long option list down. `SelectContent` already renders one.
|
|
49
|
+
*/
|
|
14
50
|
declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>): React.JSX.Element;
|
|
15
51
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
16
52
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD,iBAAS,MAAM,CAAC,EACd,GAAG,KAA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,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,qBAa/D;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAA"}
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/ui/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAKzD;;;;;;GAMG;AACH,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAEnD;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAEpD;AAED;;;GAGG;AACH,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAEpD;AAED;;;GAGG;AACH,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAgB,EAChB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAA;CACxB,qBAiBA;AAED;;GAEG;AACH,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,QAAmB,EACnB,KAAgB,EAChB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBA6BtD;AAED;;GAEG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED;;GAEG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAkBnD;AAED;;GAEG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,qBAQxD;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,cAAc,CAAC,qBAa7D;AAED;;GAEG;AACH,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,gBAAgB,CAAC,qBAa/D;AAED,OAAO,EACL,MAAM,EACN,aAAa,EACb,WAAW,EACX,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,CAAA"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
+
/**
|
|
4
|
+
* A horizontal or vertical hairline between pieces of content, hidden from a screen
|
|
5
|
+
* reader unless `decorative` is false.
|
|
6
|
+
*/
|
|
3
7
|
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): React.JSX.Element;
|
|
4
8
|
export { Separator };
|
|
5
9
|
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAI/D,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAatD;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAI/D;;;GAGG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,qBAatD;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1,14 +1,43 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
/**
|
|
4
|
+
* A panel that slides over the page from one edge, on the Radix dialog primitive,
|
|
5
|
+
* composed with `SheetTrigger` and `SheetContent`.
|
|
6
|
+
*
|
|
7
|
+
* A centred modal is `Dialog`, and a panel dragged closed on a touch screen
|
|
8
|
+
* `Drawer`.
|
|
9
|
+
*/
|
|
3
10
|
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): React.JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* The element that opens its `Sheet`.
|
|
13
|
+
*/
|
|
4
14
|
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): React.JSX.Element;
|
|
15
|
+
/**
|
|
16
|
+
* A control that closes its `Sheet`.
|
|
17
|
+
*/
|
|
5
18
|
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): React.JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* The sliding panel of a `Sheet`, from the `side` given, the right by default, with
|
|
21
|
+
* a close button.
|
|
22
|
+
*/
|
|
6
23
|
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
24
|
side?: "top" | "right" | "bottom" | "left";
|
|
8
25
|
}): React.JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* The top of `SheetContent`, stacking the title and description.
|
|
28
|
+
*/
|
|
9
29
|
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* The bottom of `SheetContent`, for its actions.
|
|
32
|
+
*/
|
|
10
33
|
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
34
|
+
/**
|
|
35
|
+
* The sheet's heading, which is also its accessible name.
|
|
36
|
+
*/
|
|
11
37
|
declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): React.JSX.Element;
|
|
38
|
+
/**
|
|
39
|
+
* The line under a sheet's title, announced as its description.
|
|
40
|
+
*/
|
|
12
41
|
declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): React.JSX.Element;
|
|
13
42
|
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
14
43
|
//# sourceMappingURL=sheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,cAAc,MAAM,wBAAwB,CAAA;AAMxD,iBAAS,KAA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OAAO,cAAc,CAAC,WAAW,CAAC,qBAQzD;AAED,OAAO,EACL,KAAK,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,gBAAgB,GACjB,CAAA"}
|
|
@@ -20,54 +20,137 @@ declare function useSidebar(): SidebarContextProps;
|
|
|
20
20
|
* like SidebarTrigger inside a host that may or may not provide a sidebar.
|
|
21
21
|
*/
|
|
22
22
|
declare function useSidebarOptional(): SidebarContextProps | null;
|
|
23
|
+
/**
|
|
24
|
+
* Holds a console sidebar's open state, remembered in a cookie, and toggles it on
|
|
25
|
+
* Ctrl or ⌘ with B. Everything from `Sidebar` down needs it above them.
|
|
26
|
+
*
|
|
27
|
+
* A bento shell has no provider: its rail, `BentoNavRail`, is fixed and has no
|
|
28
|
+
* state to share.
|
|
29
|
+
*/
|
|
23
30
|
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
|
|
24
31
|
defaultOpen?: boolean;
|
|
25
32
|
open?: boolean;
|
|
26
33
|
onOpenChange?: (open: boolean) => void;
|
|
27
34
|
}): React.JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* The console era's sidebar, from the left or right, collapsing off canvas, to
|
|
37
|
+
* icons, or not at all.
|
|
38
|
+
*
|
|
39
|
+
* A bento page does not use it. Its navigation is `BentoNavRail` and the command
|
|
40
|
+
* palette.
|
|
41
|
+
*/
|
|
28
42
|
declare function Sidebar({ side, variant, collapsible, position, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
29
43
|
side?: "left" | "right";
|
|
30
44
|
variant?: "sidebar" | "floating" | "inset";
|
|
31
45
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
32
46
|
position?: "fixed" | "absolute";
|
|
33
47
|
}): React.JSX.Element;
|
|
48
|
+
/**
|
|
49
|
+
* The button that opens or collapses the sidebar. It renders nothing without a
|
|
50
|
+
* `SidebarProvider` above it.
|
|
51
|
+
*/
|
|
34
52
|
declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof GradientButton>): React.JSX.Element | null;
|
|
53
|
+
/**
|
|
54
|
+
* The thin strip along the sidebar's edge that collapses or expands it when
|
|
55
|
+
* clicked.
|
|
56
|
+
*/
|
|
35
57
|
declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): React.JSX.Element;
|
|
58
|
+
/**
|
|
59
|
+
* The page's `main` beside a sidebar, inset with a rounded edge when the sidebar's
|
|
60
|
+
* `variant` is `inset`.
|
|
61
|
+
*/
|
|
36
62
|
declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): React.JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* A search field sized for a sidebar.
|
|
65
|
+
*/
|
|
37
66
|
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): React.JSX.Element;
|
|
67
|
+
/**
|
|
68
|
+
* The top of a sidebar, above its scrolling content.
|
|
69
|
+
*/
|
|
38
70
|
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
71
|
+
/**
|
|
72
|
+
* The bottom of a sidebar, below its scrolling content.
|
|
73
|
+
*/
|
|
39
74
|
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
75
|
+
/**
|
|
76
|
+
* A hairline between the parts of a sidebar.
|
|
77
|
+
*/
|
|
40
78
|
declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): React.JSX.Element;
|
|
79
|
+
/**
|
|
80
|
+
* The scrolling middle of a sidebar, holding its groups.
|
|
81
|
+
*/
|
|
41
82
|
declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
83
|
+
/**
|
|
84
|
+
* A section of a sidebar's content: a label, an action and a menu.
|
|
85
|
+
*/
|
|
42
86
|
declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
87
|
+
/**
|
|
88
|
+
* The heading of a `SidebarGroup`, hidden while the sidebar is collapsed to icons.
|
|
89
|
+
*/
|
|
43
90
|
declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
|
|
44
91
|
asChild?: boolean;
|
|
45
92
|
}): React.JSX.Element;
|
|
93
|
+
/**
|
|
94
|
+
* A button beside a `SidebarGroup`'s label, such as one that adds an entry.
|
|
95
|
+
*/
|
|
46
96
|
declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
|
|
47
97
|
asChild?: boolean;
|
|
48
98
|
}): React.JSX.Element;
|
|
99
|
+
/**
|
|
100
|
+
* The body of a `SidebarGroup`.
|
|
101
|
+
*/
|
|
49
102
|
declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
103
|
+
/**
|
|
104
|
+
* The list of links in a sidebar group.
|
|
105
|
+
*/
|
|
50
106
|
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
107
|
+
/**
|
|
108
|
+
* One entry in a `SidebarMenu`.
|
|
109
|
+
*/
|
|
51
110
|
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
52
111
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
53
112
|
variant?: "default" | "outline" | null | undefined;
|
|
54
113
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
55
114
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
115
|
+
/**
|
|
116
|
+
* A sidebar link or button. `isActive` marks the current page, and `tooltip` labels
|
|
117
|
+
* it while the sidebar is collapsed to icons.
|
|
118
|
+
*/
|
|
56
119
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
|
|
57
120
|
asChild?: boolean;
|
|
58
121
|
isActive?: boolean;
|
|
59
122
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
60
123
|
} & VariantProps<typeof sidebarMenuButtonVariants>): React.JSX.Element;
|
|
124
|
+
/**
|
|
125
|
+
* A button at the end of a `SidebarMenuItem`, shown only on hover with
|
|
126
|
+
* `showOnHover`.
|
|
127
|
+
*/
|
|
61
128
|
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
|
|
62
129
|
asChild?: boolean;
|
|
63
130
|
showOnHover?: boolean;
|
|
64
131
|
}): React.JSX.Element;
|
|
132
|
+
/**
|
|
133
|
+
* A count at the end of a `SidebarMenuItem`.
|
|
134
|
+
*/
|
|
65
135
|
declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
136
|
+
/**
|
|
137
|
+
* A placeholder row for a sidebar menu still loading, with an icon when `showIcon`
|
|
138
|
+
* is set.
|
|
139
|
+
*/
|
|
66
140
|
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
|
|
67
141
|
showIcon?: boolean;
|
|
68
142
|
}): React.JSX.Element;
|
|
143
|
+
/**
|
|
144
|
+
* A nested list of links under a `SidebarMenuItem`.
|
|
145
|
+
*/
|
|
69
146
|
declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
147
|
+
/**
|
|
148
|
+
* One entry in a `SidebarMenuSub`.
|
|
149
|
+
*/
|
|
70
150
|
declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
151
|
+
/**
|
|
152
|
+
* A link in a `SidebarMenuSub`. `isActive` marks the current page.
|
|
153
|
+
*/
|
|
71
154
|
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
|
|
72
155
|
asChild?: boolean;
|
|
73
156
|
size?: "sm" | "md";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sidebar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,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AAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,qBAoBA;AAED,OAAO,EACL,OAAO,EACP,cAAc,EACd,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,kBAAkB,EACnB,CAAA"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A pulsing placeholder block standing in for content still loading. `LoadProvider`
|
|
3
|
+
* lays out a page of them.
|
|
4
|
+
*/
|
|
1
5
|
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
|
|
2
6
|
export { Skeleton };
|
|
3
7
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AAEA,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAQrE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ui/skeleton.tsx"],"names":[],"mappings":"AAEA;;;GAGG;AACH,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,+BAQrE;AAED,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
3
|
+
/**
|
|
4
|
+
* A track with one thumb or more for picking a number, or a range, between `min`
|
|
5
|
+
* and `max`, on the Radix primitive.
|
|
6
|
+
*/
|
|
3
7
|
declare function Slider({ className, defaultValue, value, min, max, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): React.JSX.Element;
|
|
4
8
|
export { Slider };
|
|
5
9
|
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAwDnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAA;AAIzD;;;GAGG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,YAAY,EACZ,KAAK,EACL,GAAO,EACP,GAAS,EACT,YAAY,EAAE,SAAS,EACvB,iBAAiB,EAAE,cAAc,EACjC,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAwDnD;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import { toast, ToasterProps } from 'sonner';
|
|
2
|
+
/**
|
|
3
|
+
* The region toast notices appear in: mount it once at the app's root, then call
|
|
4
|
+
* `toast()` from anywhere, on sonner, themed to the light or dark ground.
|
|
5
|
+
*
|
|
6
|
+
* A notice a product reports through the assistant dock is a `VigletAssistant`
|
|
7
|
+
* report instead, which keeps a read state and a time.
|
|
8
|
+
*
|
|
9
|
+
* VDS97 — the region every notice lands in, named by this package. Passing sonner no `containerAriaLabel` leaves it announcing its own default,
|
|
10
|
+
* `Notifications`, in every product and every language. VDS93 cannot see that
|
|
11
|
+
* and should not: there is no literal here to find. The English belongs to a
|
|
12
|
+
* dependency, and the omission is the defect — which is the shape worth
|
|
13
|
+
* remembering, because a gate that reads this package's source is blind to all
|
|
14
|
+
* of it.
|
|
15
|
+
*
|
|
16
|
+
* The hotkey sonner appends is a key name and stays as the platform spells it.
|
|
17
|
+
*/
|
|
2
18
|
declare const Toaster: ({ ...props }: ToasterProps) => import("react").JSX.Element;
|
|
3
19
|
export { toast, Toaster };
|
|
4
20
|
//# sourceMappingURL=sonner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sonner.d.ts","sourceRoot":"","sources":["../../../src/components/ui/sonner.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAqB,KAAK,YAAY,EAAE,MAAM,QAAQ,CAAA;AAEpE;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,OAAO,GAAI,cAAc,YAAY,gCA4B1C,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAA"}
|