@gv-tech/design-system 2.22.2 → 2.23.0
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 +16 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.cjs.map +1 -1
- package/dist/accordion.mjs +50 -30
- package/dist/accordion.mjs.map +1 -1
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.cjs.map +1 -1
- package/dist/alert-dialog.mjs +98 -52
- package/dist/alert-dialog.mjs.map +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.cjs.map +1 -1
- package/dist/alert.mjs +37 -29
- package/dist/alert.mjs.map +1 -1
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.cjs.map +1 -1
- package/dist/aspect-ratio.mjs +9 -3
- package/dist/aspect-ratio.mjs.map +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.cjs.map +1 -1
- package/dist/avatar.mjs +48 -23
- package/dist/avatar.mjs.map +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.cjs.map +1 -1
- package/dist/badge.mjs +16 -13
- package/dist/badge.mjs.map +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.cjs.map +1 -1
- package/dist/breadcrumb.mjs +67 -57
- package/dist/breadcrumb.mjs.map +1 -1
- package/dist/button-group.cjs +2 -0
- package/dist/button-group.cjs.map +1 -0
- package/dist/button-group.d.ts +2 -0
- package/dist/button-group.mjs +39 -0
- package/dist/button-group.mjs.map +1 -0
- package/dist/button.cjs +1 -1
- package/dist/button.cjs.map +1 -1
- package/dist/button.mjs +32 -25
- package/dist/button.mjs.map +1 -1
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.cjs.map +1 -1
- package/dist/calendar.mjs +54 -51
- package/dist/calendar.mjs.map +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.cjs.map +1 -1
- package/dist/card.mjs +55 -41
- package/dist/card.mjs.map +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.cjs.map +1 -1
- package/dist/carousel.mjs +58 -64
- package/dist/carousel.mjs.map +1 -1
- package/dist/chart.cjs +3 -3
- package/dist/chart.cjs.map +1 -1
- package/dist/chart.mjs +59 -66
- package/dist/chart.mjs.map +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.cjs.map +1 -1
- package/dist/checkbox.mjs +17 -15
- package/dist/checkbox.mjs.map +1 -1
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.cjs.map +1 -1
- package/dist/collapsible.mjs +21 -3
- package/dist/collapsible.mjs.map +1 -1
- package/dist/combobox.cjs +2 -0
- package/dist/combobox.cjs.map +1 -0
- package/dist/combobox.d.ts +2 -0
- package/dist/combobox.mjs +164 -0
- package/dist/combobox.mjs.map +1 -0
- package/dist/command.cjs +1 -1
- package/dist/command.cjs.map +1 -1
- package/dist/command.mjs +86 -75
- package/dist/command.mjs.map +1 -1
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.cjs.map +1 -1
- package/dist/context-menu.mjs +121 -68
- package/dist/context-menu.mjs.map +1 -1
- package/dist/design-system.css +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.mjs +90 -43
- package/dist/dialog.mjs.map +1 -1
- package/dist/direction.cjs +2 -0
- package/dist/direction.cjs.map +1 -0
- package/dist/direction.d.ts +2 -0
- package/dist/direction.mjs +17 -0
- package/dist/direction.mjs.map +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.cjs.map +1 -1
- package/dist/drawer.mjs +75 -45
- package/dist/drawer.mjs.map +1 -1
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.cjs.map +1 -1
- package/dist/dropdown-menu.mjs +124 -68
- package/dist/dropdown-menu.mjs.map +1 -1
- package/dist/empty.cjs +2 -0
- package/dist/empty.cjs.map +1 -0
- package/dist/empty.d.ts +2 -0
- package/dist/empty.mjs +62 -0
- package/dist/empty.mjs.map +1 -0
- package/dist/field.cjs +2 -0
- package/dist/field.cjs.map +1 -0
- package/dist/field.d.ts +2 -0
- package/dist/field.mjs +111 -0
- package/dist/field.mjs.map +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.cjs.map +1 -1
- package/dist/form.mjs +14 -14
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.cjs.map +1 -1
- package/dist/hover-card.mjs +28 -12
- package/dist/hover-card.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +52 -41
- package/dist/input-group.cjs +2 -0
- package/dist/input-group.cjs.map +1 -0
- package/dist/input-group.d.ts +2 -0
- package/dist/input-group.mjs +80 -0
- package/dist/input-group.mjs.map +1 -0
- package/dist/input-otp.cjs +2 -0
- package/dist/input-otp.cjs.map +1 -0
- package/dist/input-otp.d.ts +2 -0
- package/dist/input-otp.mjs +49 -0
- package/dist/input-otp.mjs.map +1 -0
- package/dist/input.cjs +1 -1
- package/dist/input.cjs.map +1 -1
- package/dist/input.mjs +13 -12
- package/dist/input.mjs.map +1 -1
- package/dist/item.cjs +2 -0
- package/dist/item.cjs.map +1 -0
- package/dist/item.d.ts +2 -0
- package/dist/item.mjs +119 -0
- package/dist/item.mjs.map +1 -0
- package/dist/kbd.cjs +2 -0
- package/dist/kbd.cjs.map +1 -0
- package/dist/kbd.d.ts +2 -0
- package/dist/kbd.mjs +23 -0
- package/dist/kbd.mjs.map +1 -0
- package/dist/label.cjs +1 -1
- package/dist/label.cjs.map +1 -1
- package/dist/label.mjs +12 -11
- package/dist/label.mjs.map +1 -1
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.cjs.map +1 -1
- package/dist/menubar.mjs +120 -90
- package/dist/menubar.mjs.map +1 -1
- package/dist/native-select.cjs +2 -0
- package/dist/native-select.cjs.map +1 -0
- package/dist/native-select.d.ts +2 -0
- package/dist/native-select.mjs +41 -0
- package/dist/native-select.mjs.map +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.cjs.map +1 -1
- package/dist/navigation-menu.mjs +74 -52
- package/dist/navigation-menu.mjs.map +1 -1
- package/dist/packages/design-tokens/src/index.d.ts +16 -0
- package/dist/packages/design-tokens/src/theme.d.ts +16 -0
- package/dist/packages/ui-core/src/contracts/alert.d.ts +3 -1
- package/dist/packages/ui-core/src/contracts/badge.d.ts +3 -1
- package/dist/packages/ui-core/src/contracts/button-group.d.ts +17 -0
- package/dist/packages/ui-core/src/contracts/checkbox.d.ts +2 -2
- package/dist/packages/ui-core/src/contracts/combobox.d.ts +65 -0
- package/dist/packages/ui-core/src/contracts/direction.d.ts +7 -0
- package/dist/packages/ui-core/src/contracts/empty.d.ts +12 -0
- package/dist/packages/ui-core/src/contracts/field.d.ts +47 -0
- package/dist/packages/ui-core/src/contracts/input-group.d.ts +29 -0
- package/dist/packages/ui-core/src/contracts/input-otp.d.ts +16 -0
- package/dist/packages/ui-core/src/contracts/item.d.ts +47 -0
- package/dist/packages/ui-core/src/contracts/kbd.d.ts +9 -0
- package/dist/packages/ui-core/src/contracts/native-select.d.ts +15 -0
- package/dist/packages/ui-core/src/contracts/resizable.d.ts +1 -1
- package/dist/packages/ui-core/src/contracts/search.d.ts +1 -0
- package/dist/packages/ui-core/src/contracts/sidebar.d.ts +107 -0
- package/dist/packages/ui-core/src/contracts/sonner.d.ts +1 -9
- package/dist/packages/ui-core/src/contracts/spinner.d.ts +3 -0
- package/dist/packages/ui-core/src/contracts/switch.d.ts +1 -1
- package/dist/packages/ui-core/src/contracts/textarea.d.ts +2 -2
- package/dist/packages/ui-core/src/contracts/toast.d.ts +1 -1
- package/dist/packages/ui-core/src/contracts/toggle-group.d.ts +1 -1
- package/dist/packages/ui-core/src/contracts/toggle.d.ts +2 -2
- package/dist/packages/ui-core/src/index.d.ts +14 -0
- package/dist/packages/ui-web/src/accordion.d.ts +5 -7
- package/dist/packages/ui-web/src/alert-dialog.d.ts +17 -21
- package/dist/packages/ui-web/src/alert.d.ts +8 -8
- package/dist/packages/ui-web/src/aspect-ratio.d.ts +2 -5
- package/dist/packages/ui-web/src/avatar.d.ts +10 -7
- package/dist/packages/ui-web/src/badge.d.ts +4 -5
- package/dist/packages/ui-web/src/breadcrumb.d.ts +9 -17
- package/dist/packages/ui-web/src/button-group.d.ts +11 -0
- package/dist/packages/ui-web/src/button.d.ts +4 -6
- package/dist/packages/ui-web/src/calendar.d.ts +5 -5
- package/dist/packages/ui-web/src/card.d.ts +10 -10
- package/dist/packages/ui-web/src/carousel.d.ts +18 -14
- package/dist/packages/ui-web/src/chart.d.ts +35 -7
- package/dist/packages/ui-web/src/checkbox.d.ts +2 -5
- package/dist/packages/ui-web/src/collapsible.d.ts +4 -7
- package/dist/packages/ui-web/src/combobox.d.ts +20 -0
- package/dist/packages/ui-web/src/command.d.ts +16 -80
- package/dist/packages/ui-web/src/context-menu.d.ts +29 -21
- package/dist/packages/ui-web/src/dialog.d.ts +15 -17
- package/dist/packages/ui-web/src/direction.d.ts +6 -0
- package/dist/packages/ui-web/src/drawer.d.ts +11 -23
- package/dist/packages/ui-web/src/dropdown-menu.d.ts +27 -21
- package/dist/packages/ui-web/src/empty.d.ts +13 -0
- package/dist/packages/ui-web/src/field.d.ts +18 -0
- package/dist/packages/ui-web/src/hooks/use-mobile.d.ts +1 -0
- package/dist/packages/ui-web/src/hooks/use-theme.d.ts +16 -0
- package/dist/packages/ui-web/src/hover-card.d.ts +4 -6
- package/dist/packages/ui-web/src/index.d.ts +14 -43
- package/dist/packages/ui-web/src/input-group.d.ts +18 -0
- package/dist/packages/ui-web/src/input-otp.d.ts +8 -0
- package/dist/packages/ui-web/src/input.d.ts +1 -4
- package/dist/packages/ui-web/src/item.d.ts +25 -0
- package/dist/packages/ui-web/src/kbd.d.ts +4 -0
- package/dist/packages/ui-web/src/label.d.ts +2 -6
- package/dist/packages/ui-web/src/menubar.d.ts +25 -19
- package/dist/packages/ui-web/src/native-select.d.ts +7 -0
- package/dist/packages/ui-web/src/navigation-menu.d.ts +11 -11
- package/dist/packages/ui-web/src/pagination.d.ts +13 -26
- package/dist/packages/ui-web/src/popover.d.ts +9 -8
- package/dist/packages/ui-web/src/progress.d.ts +2 -4
- package/dist/packages/ui-web/src/radio-group.d.ts +3 -8
- package/dist/packages/ui-web/src/resizable.d.ts +6 -7
- package/dist/packages/ui-web/src/scroll-area.d.ts +3 -5
- package/dist/packages/ui-web/src/search.d.ts +1 -1
- package/dist/packages/ui-web/src/select.d.ts +13 -13
- package/dist/packages/ui-web/src/separator.d.ts +2 -4
- package/dist/packages/ui-web/src/sheet.d.ts +13 -27
- package/dist/packages/ui-web/src/sidebar.d.ts +45 -0
- package/dist/packages/ui-web/src/skeleton.d.ts +1 -4
- package/dist/packages/ui-web/src/slider.d.ts +2 -4
- package/dist/packages/ui-web/src/sonner.d.ts +1 -5
- package/dist/packages/ui-web/src/spinner.d.ts +3 -0
- package/dist/packages/ui-web/src/switch.d.ts +4 -4
- package/dist/packages/ui-web/src/table.d.ts +8 -10
- package/dist/packages/ui-web/src/tabs.d.ts +11 -8
- package/dist/packages/ui-web/src/textarea.d.ts +1 -4
- package/dist/packages/ui-web/src/toggle-group.d.ts +7 -10
- package/dist/packages/ui-web/src/toggle.d.ts +7 -5
- package/dist/packages/ui-web/src/tooltip.d.ts +5 -10
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.cjs.map +1 -1
- package/dist/pagination.mjs +77 -59
- package/dist/pagination.mjs.map +1 -1
- package/dist/popover.cjs +1 -1
- package/dist/popover.cjs.map +1 -1
- package/dist/popover.mjs +53 -13
- package/dist/popover.mjs.map +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.mjs +18 -15
- package/dist/progress.mjs.map +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.cjs.map +1 -1
- package/dist/radio-group.mjs +24 -21
- package/dist/radio-group.mjs.map +1 -1
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.cjs.map +1 -1
- package/dist/resizable.mjs +25 -16
- package/dist/resizable.mjs.map +1 -1
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.cjs.map +1 -1
- package/dist/scroll-area.mjs +34 -27
- package/dist/scroll-area.mjs.map +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.mjs +17 -17
- package/dist/search.cjs +1 -1
- package/dist/search.cjs.map +1 -1
- package/dist/search.mjs +18 -17
- package/dist/search.mjs.map +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.cjs.map +1 -1
- package/dist/select.mjs +96 -65
- package/dist/select.mjs.map +1 -1
- package/dist/separator.cjs +1 -1
- package/dist/separator.cjs.map +1 -1
- package/dist/separator.mjs +14 -13
- package/dist/separator.mjs.map +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.cjs.map +1 -1
- package/dist/sheet.mjs +85 -53
- package/dist/sheet.mjs.map +1 -1
- package/dist/sidebar-BnEmNYS2.mjs +354 -0
- package/dist/sidebar-BnEmNYS2.mjs.map +1 -0
- package/dist/sidebar-BnuanaZN.js +2 -0
- package/dist/sidebar-BnuanaZN.js.map +1 -0
- package/dist/sidebar.cjs +1 -0
- package/dist/sidebar.d.ts +2 -0
- package/dist/sidebar.mjs +3 -0
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.mjs +4 -5
- package/dist/skeleton.mjs.map +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.mjs +31 -12
- package/dist/slider.mjs.map +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.cjs.map +1 -1
- package/dist/sonner.mjs +22 -16
- package/dist/sonner.mjs.map +1 -1
- package/dist/spinner.cjs +2 -0
- package/dist/spinner.cjs.map +1 -0
- package/dist/spinner.d.ts +2 -0
- package/dist/spinner.mjs +17 -0
- package/dist/spinner.mjs.map +1 -0
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.cjs.map +1 -1
- package/dist/support-fab.mjs +8 -8
- package/dist/support-fab.mjs.map +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.mjs +17 -11
- package/dist/switch.mjs.map +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.mjs +2 -2
- package/dist/table.cjs +1 -1
- package/dist/table.cjs.map +1 -1
- package/dist/table.mjs +65 -56
- package/dist/table.mjs.map +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.mjs +42 -22
- package/dist/tabs.mjs.map +1 -1
- package/dist/text.cjs +1 -1
- package/dist/text.cjs.map +1 -1
- package/dist/text.mjs +3 -3
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.cjs.map +1 -1
- package/dist/textarea.mjs +12 -11
- package/dist/textarea.mjs.map +1 -1
- package/dist/theme-provider.cjs +1 -1
- package/dist/theme-provider.mjs +1 -1
- package/dist/theme-toggle-CNDBFa9t.js +2 -0
- package/dist/theme-toggle-CNDBFa9t.js.map +1 -0
- package/dist/{theme-toggle-B6QS2aTS.mjs → theme-toggle-CgEJLId-.mjs} +26 -10
- package/dist/theme-toggle-CgEJLId-.mjs.map +1 -0
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +1 -1
- package/dist/toast.cjs +1 -1
- package/dist/toast.cjs.map +1 -1
- package/dist/toast.mjs +19 -19
- package/dist/toast.mjs.map +1 -1
- package/dist/{toaster-C-1djNvf.js → toaster-C3UZyPzU.js} +2 -2
- package/dist/{toaster-C-1djNvf.js.map → toaster-C3UZyPzU.js.map} +1 -1
- package/dist/{toaster-CEa33QUH.mjs → toaster-DH0UX0nD.mjs} +2 -2
- package/dist/{toaster-CEa33QUH.mjs.map → toaster-DH0UX0nD.mjs.map} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.cjs.map +1 -1
- package/dist/toggle-group.mjs +41 -28
- package/dist/toggle-group.mjs.map +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.cjs.map +1 -1
- package/dist/toggle.mjs +32 -16
- package/dist/toggle.mjs.map +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.mjs +33 -20
- package/dist/tooltip.mjs.map +1 -1
- package/dist/{utils-DU-Y_pvO.js → utils-D7tt_q-u.js} +2 -2
- package/dist/{utils-DU-Y_pvO.js.map → utils-D7tt_q-u.js.map} +1 -1
- package/dist/{utils-BsD1_fYL.mjs → utils-IYJAOUsw.mjs} +2 -2
- package/dist/{utils-BsD1_fYL.mjs.map → utils-IYJAOUsw.mjs.map} +1 -1
- package/dist/{vendor-ChPUVHXi.mjs → vendor-B6CFfDyk.mjs} +29707 -24351
- package/dist/vendor-B6CFfDyk.mjs.map +1 -0
- package/dist/vendor-UfQavLF9.js +111 -0
- package/dist/vendor-UfQavLF9.js.map +1 -0
- package/package.json +4 -3
- package/dist/src-D3IDWqE2.js +0 -2
- package/dist/src-D3IDWqE2.js.map +0 -1
- package/dist/src-N08I3kfW.mjs +0 -23
- package/dist/src-N08I3kfW.mjs.map +0 -1
- package/dist/theme-toggle-B6QS2aTS.mjs.map +0 -1
- package/dist/theme-toggle-CbtfA8aG.js +0 -2
- package/dist/theme-toggle-CbtfA8aG.js.map +0 -1
- package/dist/vendor-3cr8xz0x.js +0 -92
- package/dist/vendor-3cr8xz0x.js.map +0 -1
- package/dist/vendor-ChPUVHXi.mjs.map +0 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
1
|
+
import { Accordion as AccordionPrimitive } from 'radix-ui';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
3
|
+
declare function Accordion({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
9
|
-
export type { AccordionBaseProps as AccordionProps };
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogActionBaseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & AlertDialogCancelBaseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
21
|
-
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
22
|
-
export type { AlertDialogBaseProps as AlertDialogProps };
|
|
4
|
+
declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AlertDialogContent({ className, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
|
|
9
|
+
size?: 'default' | 'sm';
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function AlertDialogAction({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function AlertDialogCancel({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React.ComponentProps<typeof Button>, 'variant' | 'size'>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { AlertBaseProps, AlertDescriptionBaseProps, AlertTitleBaseProps } from '../../ui-core/src';
|
|
3
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
3
|
import * as React from 'react';
|
|
5
|
-
declare const
|
|
6
|
-
variant?: "default" | "destructive" |
|
|
7
|
-
} & ClassProp) | undefined) => string
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
declare const alertVariants: (props?: ({
|
|
5
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
6
|
+
} & ClassProp) | undefined) => string;
|
|
7
|
+
declare function Alert({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AlertTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AlertDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function AlertAction({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Alert, AlertAction, AlertDescription, AlertTitle };
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
4
|
-
declare const AspectRatio: ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { AspectRatio as AspectRatioPrimitive } from 'radix-ui';
|
|
2
|
+
declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
3
|
export { AspectRatio };
|
|
6
|
-
export type { AspectRatioBaseProps as AspectRatioProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
1
|
+
import { Avatar as AvatarPrimitive } from 'radix-ui';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
declare function Avatar({ className, size, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
4
|
+
size?: 'default' | 'sm' | 'lg';
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function AvatarBadge({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function AvatarGroup({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { BadgeBaseProps } from '../../ui-core/src';
|
|
3
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "destructive" | "secondary" | "
|
|
5
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
7
6
|
} & ClassProp) | undefined) => string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export { Badge, badgeVariants };
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
import { BreadcrumbBaseProps, BreadcrumbEllipsisBaseProps, BreadcrumbItemBaseProps, BreadcrumbLinkBaseProps, BreadcrumbListBaseProps, BreadcrumbPageBaseProps, BreadcrumbSeparatorBaseProps } from '../../ui-core/src';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
displayName: string;
|
|
13
|
-
};
|
|
14
|
-
declare const BreadcrumbEllipsis: {
|
|
15
|
-
({ className, ...props }: React.ComponentProps<"span"> & BreadcrumbEllipsisBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
2
|
+
declare function Breadcrumb({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<'a'> & {
|
|
6
|
+
asChild?: boolean;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
18
11
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
|
|
19
|
-
export type { BreadcrumbBaseProps as BreadcrumbProps };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { Separator } from './separator';
|
|
3
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
4
|
+
import { ButtonGroupBaseProps, ButtonGroupSeparatorBaseProps, ButtonGroupTextBaseProps } from '../../ui-core/src';
|
|
5
|
+
declare const buttonGroupVariants: (props?: ({
|
|
6
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
7
|
+
} & ClassProp) | undefined) => string;
|
|
8
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants> & ButtonGroupBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & ButtonGroupTextBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator> & ButtonGroupSeparatorBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ButtonBaseProps } from '../../ui-core/src';
|
|
3
2
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
declare const buttonVariants: (props?: ({
|
|
6
|
-
variant?: "default" | "destructive" | "
|
|
7
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
5
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
6
|
+
size?: "default" | "sm" | "lg" | "icon" | "xs" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
8
7
|
} & ClassProp) | undefined) => string;
|
|
9
|
-
|
|
8
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
10
9
|
asChild?: boolean;
|
|
11
|
-
}
|
|
12
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
13
11
|
export { Button, buttonVariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DayButton,
|
|
2
|
-
import { CalendarBaseProps } from '../../ui-core/src';
|
|
1
|
+
import { DayPicker, DayButton, Locale } from 'react-day-picker';
|
|
3
2
|
import { Button } from './button';
|
|
4
3
|
import * as React from 'react';
|
|
5
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> &
|
|
4
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
6
5
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
7
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>
|
|
7
|
+
declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & {
|
|
8
|
+
locale?: Partial<Locale>;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export { Calendar, CalendarDayButton };
|
|
10
|
-
export type { CalendarBaseProps as CalendarProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CardBaseProps } from '../../ui-core/src';
|
|
2
1
|
import * as React from 'react';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
declare
|
|
11
|
-
|
|
2
|
+
declare function Card({ className, size, ...props }: React.ComponentProps<'div'> & {
|
|
3
|
+
size?: 'default' | 'sm';
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
|
|
2
|
-
import {
|
|
3
|
-
import { ButtonProps } from '../../../src/index';
|
|
2
|
+
import { Button } from './button';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
6
5
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
7
6
|
type CarouselOptions = UseCarouselParameters[0];
|
|
8
7
|
type CarouselPlugin = UseCarouselParameters[1];
|
|
9
|
-
type CarouselProps =
|
|
8
|
+
type CarouselProps = {
|
|
10
9
|
opts?: CarouselOptions;
|
|
11
10
|
plugins?: CarouselPlugin;
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
12
|
setApi?: (api: CarouselApi) => void;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
declare
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
type CarouselContextProps = {
|
|
15
|
+
carouselRef: ReturnType<typeof useEmblaCarousel>[0];
|
|
16
|
+
api: ReturnType<typeof useEmblaCarousel>[1];
|
|
17
|
+
scrollPrev: () => void;
|
|
18
|
+
scrollNext: () => void;
|
|
19
|
+
canScrollPrev: boolean;
|
|
20
|
+
canScrollNext: boolean;
|
|
21
|
+
} & CarouselProps;
|
|
22
|
+
declare function useCarousel(): CarouselContextProps;
|
|
23
|
+
declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<'div'> & CarouselProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
declare function CarouselContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
declare function CarouselItem({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel, type CarouselApi };
|
|
@@ -1,16 +1,44 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TooltipValueType } from 'recharts';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as RechartsPrimitive from 'recharts';
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const THEMES: {
|
|
5
|
+
readonly light: "";
|
|
6
|
+
readonly dark: ".dark";
|
|
7
|
+
};
|
|
8
|
+
type TooltipNameType = number | string;
|
|
9
|
+
export type ChartConfig = Record<string, {
|
|
10
|
+
label?: React.ReactNode;
|
|
11
|
+
icon?: React.ComponentType;
|
|
12
|
+
} & ({
|
|
13
|
+
color?: string;
|
|
14
|
+
theme?: never;
|
|
15
|
+
} | {
|
|
16
|
+
color?: never;
|
|
17
|
+
theme: Record<keyof typeof THEMES, string>;
|
|
18
|
+
})>;
|
|
19
|
+
declare function ChartContainer({ id, className, children, config, initialDimension, ...props }: React.ComponentProps<'div'> & {
|
|
20
|
+
config: ChartConfig;
|
|
21
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
|
|
22
|
+
initialDimension?: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
};
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
27
|
declare const ChartStyle: ({ id, config }: {
|
|
8
28
|
id: string;
|
|
9
29
|
config: ChartConfig;
|
|
10
30
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
31
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
12
|
-
declare
|
|
32
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<'div'> & {
|
|
33
|
+
hideLabel?: boolean;
|
|
34
|
+
hideIndicator?: boolean;
|
|
35
|
+
indicator?: 'line' | 'dot' | 'dashed';
|
|
36
|
+
nameKey?: string;
|
|
37
|
+
labelKey?: string;
|
|
38
|
+
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, 'accessibilityLayer'>): import("react/jsx-runtime").JSX.Element | null;
|
|
13
39
|
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
14
|
-
declare
|
|
40
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<'div'> & {
|
|
41
|
+
hideIcon?: boolean;
|
|
42
|
+
nameKey?: string;
|
|
43
|
+
} & RechartsPrimitive.DefaultLegendContentProps): import("react/jsx-runtime").JSX.Element | null;
|
|
15
44
|
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent };
|
|
16
|
-
export type { ChartConfig };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
1
|
+
import { Checkbox as CheckboxPrimitive } from 'radix-ui';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3
|
+
declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
7
4
|
export { Checkbox };
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare
|
|
5
|
-
declare const CollapsibleTrigger: ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
declare const CollapsibleContent: ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
|
|
2
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
7
5
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
8
|
-
export type { CollapsibleContentBaseProps as CollapsibleContentProps, CollapsibleBaseProps as CollapsibleProps, CollapsibleTriggerBaseProps as CollapsibleTriggerProps, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Combobox as ComboboxPrimitive } from '@base-ui/react';
|
|
2
|
+
import { ComboboxChipBaseProps, ComboboxChipsBaseProps, ComboboxChipsInputBaseProps, ComboboxCollectionBaseProps, ComboboxContentBaseProps, ComboboxEmptyBaseProps, ComboboxGroupBaseProps, ComboboxInputBaseProps, ComboboxItemBaseProps, ComboboxLabelBaseProps, ComboboxListBaseProps, ComboboxSeparatorBaseProps, ComboboxTriggerBaseProps, ComboboxValueBaseProps } from '../../ui-core/src';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
declare const Combobox: typeof ComboboxPrimitive.Root;
|
|
5
|
+
declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props & ComboboxValueBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrimitive.Trigger.Props & ComboboxTriggerBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & ComboboxInputBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, 'side' | 'align' | 'sideOffset' | 'alignOffset' | 'anchor'> & ComboboxContentBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props & ComboboxListBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props & ComboboxItemBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props & ComboboxGroupBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function ComboboxLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props & ComboboxLabelBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function ComboboxCollection({ ...props }: ComboboxPrimitive.Collection.Props & ComboboxCollectionBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props & ComboboxEmptyBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props & ComboboxSeparatorBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props & ComboboxChipsBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function ComboboxChip({ className, children, showRemove, ...props }: ComboboxPrimitive.Chip.Props & ComboboxChipBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function ComboboxChipsInput({ className, ...props }: ComboboxPrimitive.Input.Props & ComboboxChipsInputBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
20
|
+
export { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor, };
|
|
@@ -1,82 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as CommandPrimitive } from 'cmdk';
|
|
2
|
+
import { Dialog } from './dialog';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
disablePointerSelection?: boolean;
|
|
19
|
-
vimBindings?: boolean;
|
|
20
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
declare const CommandDialog: ({ children, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
|
|
23
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
24
|
-
} & {
|
|
25
|
-
asChild?: boolean;
|
|
26
|
-
}, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
27
|
-
value?: string;
|
|
28
|
-
onValueChange?: (search: string) => void;
|
|
29
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & CommandInputBaseProps & React.RefAttributes<HTMLInputElement>>;
|
|
30
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
31
|
-
children?: React.ReactNode;
|
|
32
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
33
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
34
|
-
} & {
|
|
35
|
-
asChild?: boolean;
|
|
36
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
37
|
-
label?: string;
|
|
38
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandListBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
} & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
42
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
43
|
-
} & {
|
|
44
|
-
asChild?: boolean;
|
|
45
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & CommandEmptyBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
47
|
-
children?: React.ReactNode;
|
|
48
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
49
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
50
|
-
} & {
|
|
51
|
-
asChild?: boolean;
|
|
52
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
53
|
-
heading?: React.ReactNode;
|
|
54
|
-
value?: string;
|
|
55
|
-
forceMount?: boolean;
|
|
56
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandGroupBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
58
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
59
|
-
} & {
|
|
60
|
-
asChild?: boolean;
|
|
61
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
|
|
62
|
-
alwaysRender?: boolean;
|
|
63
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandSeparatorBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
64
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
65
|
-
children?: React.ReactNode;
|
|
66
|
-
} & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
67
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
68
|
-
} & {
|
|
69
|
-
asChild?: boolean;
|
|
70
|
-
}, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
|
|
71
|
-
disabled?: boolean;
|
|
72
|
-
onSelect?: (value: string) => void;
|
|
73
|
-
value?: string;
|
|
74
|
-
keywords?: string[];
|
|
75
|
-
forceMount?: boolean;
|
|
76
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & CommandItemBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
77
|
-
declare const CommandShortcut: {
|
|
78
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement> & CommandShortcutBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
displayName: string;
|
|
80
|
-
};
|
|
4
|
+
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
showCloseButton?: boolean;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
81
18
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
|
|
82
|
-
export type { CommandEmptyBaseProps as CommandEmptyProps, CommandGroupBaseProps as CommandGroupProps, CommandInputBaseProps as CommandInputProps, CommandItemBaseProps as CommandItemProps, CommandListBaseProps as CommandListProps, CommandBaseProps as CommandProps, CommandSeparatorBaseProps as CommandSeparatorProps, CommandShortcutBaseProps as CommandShortcutProps, };
|
|
@@ -1,23 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
1
|
+
import { ContextMenu as ContextMenuPrimitive } from 'radix-ui';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
declare
|
|
5
|
-
declare
|
|
6
|
-
declare
|
|
7
|
-
declare
|
|
8
|
-
declare
|
|
9
|
-
declare
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
declare
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
3
|
+
declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function ContextMenuTrigger({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content> & {
|
|
10
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
|
|
13
|
+
inset?: boolean;
|
|
14
|
+
variant?: 'default' | 'destructive';
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
|
|
17
|
+
inset?: boolean;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function ContextMenuCheckboxItem({ className, children, checked, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem> & {
|
|
21
|
+
inset?: boolean;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare function ContextMenuRadioItem({ className, children, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem> & {
|
|
24
|
+
inset?: boolean;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
|
|
27
|
+
inset?: boolean;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
22
31
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, };
|
|
23
|
-
export type { ContextMenuCheckboxItemBaseProps as ContextMenuCheckboxItemProps, ContextMenuContentBaseProps as ContextMenuContentProps, ContextMenuGroupBaseProps as ContextMenuGroupProps, ContextMenuItemBaseProps as ContextMenuItemProps, ContextMenuLabelBaseProps as ContextMenuLabelProps, ContextMenuBaseProps as ContextMenuProps, ContextMenuRadioGroupBaseProps as ContextMenuRadioGroupProps, ContextMenuRadioItemBaseProps as ContextMenuRadioItemProps, ContextMenuSeparatorBaseProps as ContextMenuSeparatorProps, ContextMenuShortcutBaseProps as ContextMenuShortcutProps, ContextMenuSubContentBaseProps as ContextMenuSubContentProps, ContextMenuSubBaseProps as ContextMenuSubProps, ContextMenuSubTriggerBaseProps as ContextMenuSubTriggerProps, ContextMenuTriggerBaseProps as ContextMenuTriggerProps, };
|