dgz-ui 1.4.7 → 1.4.9
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/dist/breadcrumb/index.cjs.js +1 -1
- package/dist/breadcrumb/index.es.js +1 -1
- package/dist/calendar/index.cjs.js +1 -1
- package/dist/calendar/index.es.js +1 -1
- package/dist/carousel/index.cjs.js +3 -3
- package/dist/carousel/index.cjs.js.map +1 -1
- package/dist/carousel/index.es.js +341 -340
- package/dist/carousel/index.es.js.map +1 -1
- package/dist/chunks/alert-dialog-CI_hZyxN.es.js.map +1 -1
- package/dist/chunks/alert-dialog-CYT3LDhH.cjs.js.map +1 -1
- package/dist/chunks/breadcrumb-BtO0mD2u.es.js +82 -0
- package/dist/chunks/breadcrumb-BtO0mD2u.es.js.map +1 -0
- package/dist/chunks/breadcrumb-DKVYizoh.cjs.js +2 -0
- package/dist/chunks/breadcrumb-DKVYizoh.cjs.js.map +1 -0
- package/dist/chunks/card-B87RYuvO.es.js.map +1 -1
- package/dist/chunks/card-Dokrjefn.cjs.js.map +1 -1
- package/dist/chunks/collapsible-CBOSWBKB.cjs.js.map +1 -1
- package/dist/chunks/collapsible-Ddd6kxXS.es.js.map +1 -1
- package/dist/chunks/dialog-Cb_DS5IV.es.js +105 -0
- package/dist/chunks/dialog-Cb_DS5IV.es.js.map +1 -0
- package/dist/chunks/dialog-pRz31cHo.cjs.js +2 -0
- package/dist/chunks/dialog-pRz31cHo.cjs.js.map +1 -0
- package/dist/chunks/dropdown-menu-BNURsvIJ.cjs.js.map +1 -1
- package/dist/chunks/dropdown-menu-CJTcrFP2.es.js.map +1 -1
- package/dist/chunks/pagination-CJiUbpUN.cjs.js +2 -0
- package/dist/chunks/pagination-CJiUbpUN.cjs.js.map +1 -0
- package/dist/chunks/pagination-aJ9Z0Ux9.es.js +113 -0
- package/dist/chunks/pagination-aJ9Z0Ux9.es.js.map +1 -0
- package/dist/chunks/popover-ChtTV2vy.es.js.map +1 -1
- package/dist/chunks/popover-cRDGBSyg.cjs.js.map +1 -1
- package/dist/chunks/scroll-area-sLp4wPce.cjs.js.map +1 -1
- package/dist/chunks/scroll-area-x2hiTYmL.es.js.map +1 -1
- package/dist/chunks/separator-DndNTVv8.es.js.map +1 -1
- package/dist/chunks/separator-uzP1VAwc.cjs.js.map +1 -1
- package/dist/chunks/sheet-BXSDa9XT.cjs.js +2 -0
- package/dist/chunks/sheet-BXSDa9XT.cjs.js.map +1 -0
- package/dist/chunks/{sheet-to_YuZ1x.es.js → sheet-hwgCcvpv.es.js} +35 -33
- package/dist/chunks/sheet-hwgCcvpv.es.js.map +1 -0
- package/dist/chunks/skeleton-DV_2OytH.es.js.map +1 -1
- package/dist/chunks/skeleton-ZHnXbbz7.cjs.js.map +1 -1
- package/dist/chunks/table-C-g7CjMt.cjs.js.map +1 -1
- package/dist/chunks/table-QbNlEa1M.es.js.map +1 -1
- package/dist/chunks/tabs-BNEY7wMF.cjs.js.map +1 -1
- package/dist/chunks/tabs-DUuliV4A.es.js.map +1 -1
- package/dist/chunks/textarea-C2I19p_j.cjs.js.map +1 -1
- package/dist/chunks/textarea-D9gE4ALW.es.js.map +1 -1
- package/dist/chunks/{timepicker-tBjjq8Ap.es.js → timepicker-BdDhd6Ax.es.js} +99 -99
- package/dist/chunks/{timepicker-tBjjq8Ap.es.js.map → timepicker-BdDhd6Ax.es.js.map} +1 -1
- package/dist/chunks/{timepicker-Ba47st2A.cjs.js → timepicker-C67I2BIy.cjs.js} +3 -3
- package/dist/chunks/{timepicker-Ba47st2A.cjs.js.map → timepicker-C67I2BIy.cjs.js.map} +1 -1
- package/dist/chunks/tooltip-DD-snel0.cjs.js.map +1 -1
- package/dist/chunks/tooltip-DHg9332v.es.js.map +1 -1
- package/dist/dialog/index.cjs.js +1 -1
- package/dist/dialog/index.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +5 -5
- package/dist/pagination/index.cjs.js +1 -1
- package/dist/pagination/index.es.js +1 -1
- package/dist/progress/index.cjs.js.map +1 -1
- package/dist/progress/index.es.js.map +1 -1
- package/dist/sheet/index.cjs.js +1 -1
- package/dist/sheet/index.es.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/stories/Button.d.ts +15 -0
- package/dist/types/stories/Button.d.ts.map +1 -0
- package/dist/types/stories/Button.stories.d.ts +24 -0
- package/dist/types/stories/Button.stories.d.ts.map +1 -0
- package/dist/types/stories/Header.d.ts +12 -0
- package/dist/types/stories/Header.d.ts.map +1 -0
- package/dist/types/stories/Header.stories.d.ts +19 -0
- package/dist/types/stories/Header.stories.d.ts.map +1 -0
- package/dist/types/stories/Page.d.ts +3 -0
- package/dist/types/stories/Page.d.ts.map +1 -0
- package/dist/types/stories/Page.stories.d.ts +13 -0
- package/dist/types/stories/Page.stories.d.ts.map +1 -0
- package/dist/types/types/element-data.type.d.ts +4 -0
- package/dist/types/types/element-data.type.d.ts.map +1 -1
- package/dist/types/ui/alert-dialog/alert-dialog.d.ts +8 -0
- package/dist/types/ui/alert-dialog/alert-dialog.d.ts.map +1 -1
- package/dist/types/ui/breadcrumb/breadcrumb.d.ts +6 -4
- package/dist/types/ui/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/types/ui/calendar/datepicker.d.ts +1 -1
- package/dist/types/ui/calendar/datepicker.d.ts.map +1 -1
- package/dist/types/ui/calendar/timepicker.d.ts +5 -2
- package/dist/types/ui/calendar/timepicker.d.ts.map +1 -1
- package/dist/types/ui/card/card.d.ts +8 -0
- package/dist/types/ui/card/card.d.ts.map +1 -1
- package/dist/types/ui/carousel/carousel.d.ts +53 -0
- package/dist/types/ui/carousel/carousel.d.ts.map +1 -1
- package/dist/types/ui/collapsible/collapsible.d.ts +3 -0
- package/dist/types/ui/collapsible/collapsible.d.ts.map +1 -1
- package/dist/types/ui/dialog/dialog.d.ts +19 -0
- package/dist/types/ui/dialog/dialog.d.ts.map +1 -1
- package/dist/types/ui/dropdown/dropdown-menu.d.ts +18 -0
- package/dist/types/ui/dropdown/dropdown-menu.d.ts.map +1 -1
- package/dist/types/ui/form/checkbox.d.ts +3 -1
- package/dist/types/ui/form/checkbox.d.ts.map +1 -1
- package/dist/types/ui/form/input.d.ts +13 -0
- package/dist/types/ui/form/input.d.ts.map +1 -1
- package/dist/types/ui/form/label.d.ts +1 -1
- package/dist/types/ui/form/radio-group.d.ts +2 -1
- package/dist/types/ui/form/radio-group.d.ts.map +1 -1
- package/dist/types/ui/form/select.d.ts +43 -0
- package/dist/types/ui/form/select.d.ts.map +1 -1
- package/dist/types/ui/form/switch.d.ts +3 -1
- package/dist/types/ui/form/switch.d.ts.map +1 -1
- package/dist/types/ui/form/textarea.d.ts +1 -0
- package/dist/types/ui/form/textarea.d.ts.map +1 -1
- package/dist/types/ui/pagination/pagination.d.ts +7 -7
- package/dist/types/ui/pagination/pagination.d.ts.map +1 -1
- package/dist/types/ui/popover/popover.d.ts +3 -1
- package/dist/types/ui/popover/popover.d.ts.map +1 -1
- package/dist/types/ui/progress/progress.d.ts +1 -1
- package/dist/types/ui/scroll-area/scroll-area.d.ts +2 -2
- package/dist/types/ui/separator/separator.d.ts +1 -1
- package/dist/types/ui/sheet/sheet.d.ts.map +1 -1
- package/dist/types/ui/skeleton/skeleton.d.ts +1 -0
- package/dist/types/ui/skeleton/skeleton.d.ts.map +1 -1
- package/dist/types/ui/tab/tabs.d.ts +3 -1
- package/dist/types/ui/tab/tabs.d.ts.map +1 -1
- package/dist/types/ui/table/table.d.ts +8 -0
- package/dist/types/ui/table/table.d.ts.map +1 -1
- package/dist/types/ui/tooltip/tooltip.d.ts +1 -0
- package/dist/types/ui/tooltip/tooltip.d.ts.map +1 -1
- package/package.json +17 -3
- package/dist/chunks/breadcrumb-D-Wgwp2Z.es.js +0 -78
- package/dist/chunks/breadcrumb-D-Wgwp2Z.es.js.map +0 -1
- package/dist/chunks/breadcrumb-RLwumNZG.cjs.js +0 -2
- package/dist/chunks/breadcrumb-RLwumNZG.cjs.js.map +0 -1
- package/dist/chunks/dialog-B3q0NLcE.es.js +0 -101
- package/dist/chunks/dialog-B3q0NLcE.es.js.map +0 -1
- package/dist/chunks/dialog-OejLEg29.cjs.js +0 -2
- package/dist/chunks/dialog-OejLEg29.cjs.js.map +0 -1
- package/dist/chunks/pagination-CLm98Oot.es.js +0 -103
- package/dist/chunks/pagination-CLm98Oot.es.js.map +0 -1
- package/dist/chunks/pagination-DsZd3LTv.cjs.js +0 -2
- package/dist/chunks/pagination-DsZd3LTv.cjs.js.map +0 -1
- package/dist/chunks/sheet-DvcqCxaD.cjs.js +0 -2
- package/dist/chunks/sheet-DvcqCxaD.cjs.js.map +0 -1
- package/dist/chunks/sheet-to_YuZ1x.es.js.map +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ primary, size, backgroundColor, label, ...props }: import('./Button').ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
tags: string[];
|
|
9
|
+
argTypes: {
|
|
10
|
+
backgroundColor: {
|
|
11
|
+
control: "color";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
args: {
|
|
15
|
+
onClick: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof meta>;
|
|
20
|
+
export declare const Primary: Story;
|
|
21
|
+
export declare const Secondary: Story;
|
|
22
|
+
export declare const Large: Story;
|
|
23
|
+
export declare const Small: Story;
|
|
24
|
+
//# sourceMappingURL=Button.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/Button.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;CAeqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type User = {
|
|
2
|
+
name: string;
|
|
3
|
+
};
|
|
4
|
+
export interface HeaderProps {
|
|
5
|
+
user?: User;
|
|
6
|
+
onLogin?: () => void;
|
|
7
|
+
onLogout?: () => void;
|
|
8
|
+
onCreateAccount?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const Header: ({ user, onLogin, onLogout, onCreateAccount, }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/stories/Header.tsx"],"names":[],"mappings":"AACA,OAAO,cAAc,CAAC;AAEtB,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,GAAI,+CAKpB,WAAW,4CAiDb,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ user, onLogin, onLogout, onCreateAccount, }: import('./Header').HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
args: {
|
|
10
|
+
onLogin: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
11
|
+
onLogout: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
12
|
+
onCreateAccount: import('@vitest/spy').Mock<(...args: any[]) => any>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
type Story = StoryObj<typeof meta>;
|
|
17
|
+
export declare const LoggedIn: Story;
|
|
18
|
+
export declare const LoggedOut: Story;
|
|
19
|
+
//# sourceMappingURL=Header.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/Header.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAcqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../src/stories/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,YAAY,CAAC;AAMpB,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAiFxB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<{}>;
|
|
5
|
+
parameters: {
|
|
6
|
+
layout: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default meta;
|
|
10
|
+
type Story = StoryObj<typeof meta>;
|
|
11
|
+
export declare const LoggedOut: Story;
|
|
12
|
+
export declare const LoggedIn: Story;
|
|
13
|
+
//# sourceMappingURL=Page.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Page.stories.d.ts","sourceRoot":"","sources":["../../../src/stories/Page.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,QAAA,MAAM,IAAI;;;;;;CAOmB,CAAC;AAE9B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS,EAAE,KAAU,CAAC;AAGnC,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"element-data.type.d.ts","sourceRoot":"","sources":["../../../src/types/element-data.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"element-data.type.d.ts","sourceRoot":"","sources":["../../../src/types/element-data.type.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -14,14 +14,17 @@ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPri
|
|
|
14
14
|
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
15
15
|
/**
|
|
16
16
|
* AlertDialogOverlay - Background overlay for the alert dialog.
|
|
17
|
+
* @returns {JSX.Element} The rendered AlertDialogOverlay component.
|
|
17
18
|
*/
|
|
18
19
|
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
19
20
|
/**
|
|
20
21
|
* AlertDialogContent - Modal content container for the alert dialog.
|
|
22
|
+
* @returns {JSX.Element} The rendered AlertDialogContent component.
|
|
21
23
|
*/
|
|
22
24
|
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
25
|
/**
|
|
24
26
|
* AlertDialogHeader - Container for the dialog header.
|
|
27
|
+
* @returns {JSX.Element} The rendered AlertDialogHeader component.
|
|
25
28
|
*/
|
|
26
29
|
declare const AlertDialogHeader: {
|
|
27
30
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -29,6 +32,7 @@ declare const AlertDialogHeader: {
|
|
|
29
32
|
};
|
|
30
33
|
/**
|
|
31
34
|
* AlertDialogFooter - Container for footer actions.
|
|
35
|
+
* @returns {JSX.Element} The rendered AlertDialogFooter component.
|
|
32
36
|
*/
|
|
33
37
|
declare const AlertDialogFooter: {
|
|
34
38
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -36,18 +40,22 @@ declare const AlertDialogFooter: {
|
|
|
36
40
|
};
|
|
37
41
|
/**
|
|
38
42
|
* AlertDialogTitle - Accessible title for the alert dialog.
|
|
43
|
+
* @returns {JSX.Element} The rendered AlertDialogTitle component.
|
|
39
44
|
*/
|
|
40
45
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
41
46
|
/**
|
|
42
47
|
* AlertDialogDescription - Additional descriptive text.
|
|
48
|
+
* @returns {JSX.Element} The rendered AlertDialogDescription component.
|
|
43
49
|
*/
|
|
44
50
|
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
45
51
|
/**
|
|
46
52
|
* AlertDialogAction - Confirm action button.
|
|
53
|
+
* @returns {JSX.Element} The rendered AlertDialogAction component.
|
|
47
54
|
*/
|
|
48
55
|
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
49
56
|
/**
|
|
50
57
|
* AlertDialogCancel - Cancel action button.
|
|
58
|
+
* @returns {JSX.Element} The rendered AlertDialogCancel component.
|
|
51
59
|
*/
|
|
52
60
|
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
53
61
|
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../../src/ui/alert-dialog/alert-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,QAAA,MAAM,WAAW,iDAA4B,CAAC;AAE9C;;GAEG;AACH,QAAA,MAAM,kBAAkB,wHAA+B,CAAC;AAExD;;GAEG;AACH,QAAA,MAAM,iBAAiB,uDAA8B,CAAC;AAEtD
|
|
1
|
+
{"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../../../src/ui/alert-dialog/alert-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;GAEG;AACH,QAAA,MAAM,WAAW,iDAA4B,CAAC;AAE9C;;GAEG;AACH,QAAA,MAAM,kBAAkB,wHAA+B,CAAC;AAExD;;GAEG;AACH,QAAA,MAAM,iBAAiB,uDAA8B,CAAC;AAEtD;;;GAGG;AACH,QAAA,MAAM,kBAAkB,wKAYtB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,kBAAkB,wKAetB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAEtC,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,gBAAgB,8KASpB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,sBAAsB,wLAS1B,CAAC;AAIH;;;GAGG;AACH,QAAA,MAAM,iBAAiB,6KASrB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,iBAAiB,6KASrB,CAAC;AAGH,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,GACnB,CAAC"}
|
|
@@ -14,7 +14,7 @@ export interface BreadcrumbInterface {
|
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* Root breadcrumb navigation component. Provides aria-label and forwards ref to a <nav> element.
|
|
17
|
-
*
|
|
17
|
+
* @returns {JSX.Element} The rendered Breadcrumb component.
|
|
18
18
|
* @component
|
|
19
19
|
*/
|
|
20
20
|
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
@@ -22,26 +22,27 @@ declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTM
|
|
|
22
22
|
} & React.RefAttributes<HTMLElement>>;
|
|
23
23
|
/**
|
|
24
24
|
* Ordered list that lays out breadcrumb items.
|
|
25
|
-
*
|
|
25
|
+
* @returns {JSX.Element} The rendered BreadcrumbList component.
|
|
26
26
|
* @component
|
|
27
27
|
*/
|
|
28
28
|
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
29
29
|
/**
|
|
30
30
|
* Single breadcrumb list item container.
|
|
31
|
-
*
|
|
31
|
+
* @returns {JSX.Element} The rendered BreadcrumbItem component.
|
|
32
32
|
* @component
|
|
33
33
|
*/
|
|
34
34
|
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
35
35
|
/**
|
|
36
36
|
* Non-clickable breadcrumb page indicator for the current route.
|
|
37
37
|
* Renders a span with aria-current="page".
|
|
38
|
-
*
|
|
38
|
+
* @returns {JSX.Element} The rendered BreadcrumbPage component.
|
|
39
39
|
* @component
|
|
40
40
|
*/
|
|
41
41
|
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
42
42
|
/**
|
|
43
43
|
* Separator element displayed between breadcrumb items.
|
|
44
44
|
* Defaults to a right arrow icon when no children are provided.
|
|
45
|
+
* @returns {JSX.Element} The rendered BreadcrumbSeparator component.
|
|
45
46
|
*/
|
|
46
47
|
declare const BreadcrumbSeparator: {
|
|
47
48
|
({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -49,6 +50,7 @@ declare const BreadcrumbSeparator: {
|
|
|
49
50
|
};
|
|
50
51
|
/**
|
|
51
52
|
* Ellipsis component to indicate collapsed breadcrumb items.
|
|
53
|
+
* @returns {JSX.Element} The rendered BreadcrumbEllipsis component.
|
|
52
54
|
*/
|
|
53
55
|
declare const BreadcrumbEllipsis: {
|
|
54
56
|
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/ui/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/ui/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,QAAA,MAAM,UAAU;gBAGA,KAAK,CAAC,SAAS;qCAE+C,CAAC;AAG/E;;;;GAIG;AACH,QAAA,MAAM,cAAc,2KASlB,CAAC;AAGH;;;;GAIG;AACH,QAAA,MAAM,cAAc,kKASlB,CAAC;AAGH;;;;;GAKG;AACH,QAAA,MAAM,cAAc,sKAYlB,CAAC;AAGH;;;;GAIG;AACH,QAAA,MAAM,mBAAmB;wCAItB,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC;;CAS5B,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,kBAAkB;8BAGrB,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC;;CAa9B,CAAC;AAGF,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DatePicker - Simple date picker composed from Button, Popover, and Calendar.
|
|
3
3
|
* Maintains its own local date state and displays formatted value.
|
|
4
|
-
*
|
|
4
|
+
* @returns {JSX.Element} The rendered DatePicker component.
|
|
5
5
|
* @component
|
|
6
6
|
*/
|
|
7
7
|
export declare function DatePicker(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../../src/ui/calendar/datepicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../../../src/ui/calendar/datepicker.tsx"],"names":[],"mappings":"AASA;;;;;GAKG;AACH,wBAAgB,UAAU,4CA+BzB"}
|
|
@@ -5,7 +5,10 @@ export declare const HOUR = "HH";
|
|
|
5
5
|
export declare const MINUTE = "mm";
|
|
6
6
|
/** Combined time format string (HH:mm). */
|
|
7
7
|
export declare const TIME = "HH:mm";
|
|
8
|
-
/** Internal time state used by the picker.
|
|
8
|
+
/** Internal time state used by the picker.
|
|
9
|
+
* @property {string} hour - The hour value (HH).
|
|
10
|
+
* @property {string} minute - The minute value (mm).
|
|
11
|
+
*/
|
|
9
12
|
export interface TimeState {
|
|
10
13
|
hour: string;
|
|
11
14
|
minute: string;
|
|
@@ -28,7 +31,7 @@ export interface TimePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'o
|
|
|
28
31
|
}
|
|
29
32
|
/**
|
|
30
33
|
* TimePicker - Hour/minute selector that emits time as HH:MM string.
|
|
31
|
-
*
|
|
34
|
+
* @returns {JSX.Element} The rendered TimePicker component.
|
|
32
35
|
* @component
|
|
33
36
|
*/
|
|
34
37
|
export declare const TimePicker: import('react').ForwardRefExoticComponent<TimePickerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timepicker.d.ts","sourceRoot":"","sources":["../../../../src/ui/calendar/timepicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAIf,4CAA4C;AAC5C,eAAO,MAAM,IAAI,OAAO,CAAC;AACzB,8CAA8C;AAC9C,eAAO,MAAM,MAAM,OAAO,CAAC;AAC3B,2CAA2C;AAC3C,eAAO,MAAM,IAAI,UAAsB,CAAC;AAExC
|
|
1
|
+
{"version":3,"file":"timepicker.d.ts","sourceRoot":"","sources":["../../../../src/ui/calendar/timepicker.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAIf,4CAA4C;AAC5C,eAAO,MAAM,IAAI,OAAO,CAAC;AACzB,8CAA8C;AAC9C,eAAO,MAAM,MAAM,OAAO,CAAC;AAC3B,2CAA2C;AAC3C,eAAO,MAAM,IAAI,UAAsB,CAAC;AAExC;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,4GA+GtB,CAAC"}
|
|
@@ -1,30 +1,38 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* CardProps - Native div attributes for the Card container.
|
|
4
|
+
* @property {string} [className] - Additional CSS classes to apply to the card.
|
|
5
|
+
* @property {React.ReactNode} [children] - The content of the card.
|
|
4
6
|
*/
|
|
5
7
|
export type CardProps = React.HTMLAttributes<HTMLDivElement>;
|
|
6
8
|
/**
|
|
7
9
|
* Card - A surface component to group related content.
|
|
10
|
+
* @returns {JSX.Element} The rendered Card component.
|
|
8
11
|
*/
|
|
9
12
|
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
13
|
/**
|
|
11
14
|
* CardHeader - Top section typically containing the title and actions.
|
|
15
|
+
* @returns {JSX.Element} The rendered CardHeader component.
|
|
12
16
|
*/
|
|
13
17
|
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
14
18
|
/**
|
|
15
19
|
* CardTitle - Title area inside the header.
|
|
20
|
+
* @returns {JSX.Element} The rendered CardTitle component.
|
|
16
21
|
*/
|
|
17
22
|
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
18
23
|
/**
|
|
19
24
|
* CardDescription - Secondary text under the title.
|
|
25
|
+
* @returns {JSX.Element} The rendered CardDescription component.
|
|
20
26
|
*/
|
|
21
27
|
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLDivElement>>;
|
|
22
28
|
/**
|
|
23
29
|
* CardContent - Main content area of the card.
|
|
30
|
+
* @returns {JSX.Element} The rendered CardContent component.
|
|
24
31
|
*/
|
|
25
32
|
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
33
|
/**
|
|
27
34
|
* CardFooter - Bottom area for actions or summary.
|
|
35
|
+
* @returns {JSX.Element} The rendered CardFooter component.
|
|
28
36
|
*/
|
|
29
37
|
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
30
38
|
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/ui/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B
|
|
1
|
+
{"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/ui/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;AAE7D;;;GAGG;AACH,QAAA,MAAM,IAAI,kFAWT,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,SAAS,6GAYb,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,eAAe,8GASnB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,WAAW,6GASf,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,UAAU,6GASd,CAAC;AAGH,OAAO,EACL,IAAI,EACJ,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,CAAC"}
|
|
@@ -5,16 +5,69 @@ type CarouselApi = UseEmblaCarouselType[1];
|
|
|
5
5
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
6
6
|
type CarouselOptions = UseCarouselParameters[0];
|
|
7
7
|
type CarouselPlugin = UseCarouselParameters[1];
|
|
8
|
+
/**
|
|
9
|
+
* @typedef {object} CarouselProps
|
|
10
|
+
* @property {CarouselOptions} [opts] - Options for the Embla Carousel.
|
|
11
|
+
* @property {CarouselPlugin} [plugins] - Plugins for the Embla Carousel.
|
|
12
|
+
* @property {'horizontal' | 'vertical'} [orientation='horizontal'] - The orientation of the carousel.
|
|
13
|
+
* @property {(api: CarouselApi) => void} [setApi] - Callback to get the Embla Carousel API.
|
|
14
|
+
*/
|
|
8
15
|
type CarouselProps = {
|
|
9
16
|
opts?: CarouselOptions;
|
|
10
17
|
plugins?: CarouselPlugin;
|
|
11
18
|
orientation?: 'horizontal' | 'vertical';
|
|
12
19
|
setApi?: (api: CarouselApi) => void;
|
|
13
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* A flexible and extensible carousel component built with Embla Carousel.
|
|
23
|
+
* @augments {React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>}
|
|
24
|
+
* @param {object} props - The props for the Carousel component.
|
|
25
|
+
* @param {'horizontal' | 'vertical'} [props.orientation='horizontal'] - The orientation of the carousel.
|
|
26
|
+
* @param {CarouselOptions} [props.opts] - Options for the Embla Carousel.
|
|
27
|
+
* @param {(api: CarouselApi) => void} [props.setApi] - Callback to get the Embla Carousel API.
|
|
28
|
+
* @param {CarouselPlugin} [props.plugins] - Plugins for the Embla Carousel.
|
|
29
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
30
|
+
* @param {React.ReactNode} [props.children] - The child elements to be rendered within the carousel.
|
|
31
|
+
* @returns {JSX.Element} The Carousel component.
|
|
32
|
+
*/
|
|
14
33
|
declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
+
/**
|
|
35
|
+
* Renders the content of the carousel.
|
|
36
|
+
* @augments {React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>}
|
|
37
|
+
* @param {object} props - The props for the CarouselContent component.
|
|
38
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
39
|
+
* @param {React.ReactNode} [props.children] - The child elements (CarouselItems) to be rendered.
|
|
40
|
+
* @returns {JSX.Element} The CarouselContent component.
|
|
41
|
+
*/
|
|
15
42
|
declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
/**
|
|
44
|
+
* Represents an individual item or slide within the CarouselContent.
|
|
45
|
+
* @augments {React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>}
|
|
46
|
+
* @param {object} props - The props for the CarouselItem component.
|
|
47
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
48
|
+
* @param {React.ReactNode} [props.children] - The content of the carousel item.
|
|
49
|
+
* @returns {JSX.Element} The CarouselItem component.
|
|
50
|
+
*/
|
|
16
51
|
declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
52
|
+
/**
|
|
53
|
+
* Navigation button for the carousel to go to the previous slide.
|
|
54
|
+
* @augments {React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>}
|
|
55
|
+
* @param {object} props - The props for the CarouselPrevious component.
|
|
56
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
57
|
+
* @param {'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'} [props.variant='outline'] - The visual style of the button.
|
|
58
|
+
* @param {'default' | 'sm' | 'lg' | 'icon'} [props.size='icon'] - The size of the button.
|
|
59
|
+
* @returns {JSX.Element} The CarouselPrevious component.
|
|
60
|
+
*/
|
|
17
61
|
declare const CarouselPrevious: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
62
|
+
/**
|
|
63
|
+
* Navigation button for the carousel to go to the next slide.
|
|
64
|
+
* @augments {React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>}
|
|
65
|
+
* @param {object} props - The props for the CarouselNext component.
|
|
66
|
+
* @param {string} [props.className] - Additional CSS classes.
|
|
67
|
+
* @param {'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link'} [props.variant='outline'] - The visual style of the button.
|
|
68
|
+
* @param {'default' | 'sm' | 'lg' | 'icon'} [props.size='icon'] - The size of the button.
|
|
69
|
+
* @returns {JSX.Element} The CarouselNext component.
|
|
70
|
+
*/
|
|
18
71
|
declare const CarouselNext: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
72
|
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi, };
|
|
20
73
|
//# sourceMappingURL=carousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../../src/ui/carousel/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../../../src/ui/carousel/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAErD,KAAK,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAC3C,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,KAAK,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAChD,KAAK,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;CACrC,CAAC;AAqCF;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,QAAQ,6HAyGb,CAAC;AAGF;;;;;;;GAOG;AACH,QAAA,MAAM,eAAe,6GAmBnB,CAAC;AAGH;;;;;;;GAOG;AACH,QAAA,MAAM,YAAY,6GAmBhB,CAAC;AAGH;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB,uFA0BrB,CAAC;AAGF;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,uFA0BjB,CAAC;AAGF,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,KAAK,WAAW,GACjB,CAAC"}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
2
2
|
/**
|
|
3
3
|
* Collapsible - Wrapper over Radix Collapsible.Root for show/hide sections.
|
|
4
|
+
* @returns {JSX.Element} The rendered Collapsible component.
|
|
4
5
|
*/
|
|
5
6
|
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
/**
|
|
7
8
|
* CollapsibleTrigger - Control used to toggle the collapsible section.
|
|
9
|
+
* @returns {JSX.Element} The rendered CollapsibleTrigger component.
|
|
8
10
|
*/
|
|
9
11
|
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
12
|
/**
|
|
11
13
|
* CollapsibleContent - The collapsible content region.
|
|
14
|
+
* @returns {JSX.Element} The rendered CollapsibleContent component.
|
|
12
15
|
*/
|
|
13
16
|
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
14
17
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../src/ui/collapsible/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../src/ui/collapsible/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AAEpE;;;GAGG;AACH,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -11,19 +11,28 @@ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
|
11
11
|
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
/**
|
|
13
13
|
* Full-screen overlay that appears behind the dialog content.
|
|
14
|
+
* @returns {JSX.Element} The rendered DialogOverlay component.
|
|
14
15
|
*/
|
|
15
16
|
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
16
17
|
export type DialogContentProps = React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> & {
|
|
18
|
+
/**
|
|
19
|
+
* If true, a close button will be rendered inside the dialog content.
|
|
20
|
+
*/
|
|
17
21
|
hasCloseButton?: true;
|
|
18
22
|
};
|
|
19
23
|
/**
|
|
20
24
|
* The main dialog content container positioned in the viewport center.
|
|
25
|
+
* @returns {JSX.Element} The rendered DialogContent component.
|
|
21
26
|
*/
|
|
22
27
|
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
28
|
+
/**
|
|
29
|
+
* If true, a close button will be rendered inside the dialog content.
|
|
30
|
+
*/
|
|
23
31
|
hasCloseButton?: true;
|
|
24
32
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
25
33
|
/**
|
|
26
34
|
* Container for dialog header content (title, actions).
|
|
35
|
+
* @returns {JSX.Element} The rendered DialogHeader component.
|
|
27
36
|
*/
|
|
28
37
|
declare const DialogHeader: {
|
|
29
38
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -31,6 +40,7 @@ declare const DialogHeader: {
|
|
|
31
40
|
};
|
|
32
41
|
/**
|
|
33
42
|
* Container for dialog footer actions.
|
|
43
|
+
* @returns {JSX.Element} The rendered DialogFooter component.
|
|
34
44
|
*/
|
|
35
45
|
declare const DialogFooter: {
|
|
36
46
|
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -38,16 +48,25 @@ declare const DialogFooter: {
|
|
|
38
48
|
};
|
|
39
49
|
/**
|
|
40
50
|
* DialogTitle - The accessible dialog title.
|
|
51
|
+
* @returns {JSX.Element} The rendered DialogTitle component.
|
|
41
52
|
*/
|
|
42
53
|
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
43
54
|
/**
|
|
44
55
|
* DialogDescription - Additional descriptive text for the dialog.
|
|
56
|
+
* @returns {JSX.Element} The rendered DialogDescription component.
|
|
45
57
|
*/
|
|
46
58
|
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
47
59
|
/**
|
|
48
60
|
* Props aggregation for components that wrap Dialog primitives.
|
|
49
61
|
* Useful for high-level components needing to forward props to specific Dialog parts.
|
|
50
62
|
*/
|
|
63
|
+
/**
|
|
64
|
+
* Props aggregation for components that wrap Dialog primitives.
|
|
65
|
+
* Useful for high-level components needing to forward props to specific Dialog parts.
|
|
66
|
+
* @property {React.ComponentPropsWithoutRef<typeof DialogTrigger> & ElementDataType} [triggerProps] - Props for the DialogTrigger component.
|
|
67
|
+
* @property {React.ComponentPropsWithoutRef<typeof DialogContent> & ElementDataType} [contentProps] - Props for the DialogContent component.
|
|
68
|
+
* @property {React.ComponentPropsWithoutRef<typeof DialogClose> & ElementDataType} [closeProps] - Props for the DialogClose component.
|
|
69
|
+
*/
|
|
51
70
|
interface DialogContainerProps {
|
|
52
71
|
triggerProps?: React.ComponentPropsWithoutRef<typeof DialogTrigger> & ElementDataType;
|
|
53
72
|
contentProps?: React.ComponentPropsWithoutRef<typeof DialogContent> & ElementDataType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/ui/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/ui/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;;GAGG;AACH,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,6CAAyB,CAAC;AAE5C,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C;;;GAGG;AACH,QAAA,MAAM,aAAa,8JAYjB,CAAC;AAGH,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAC7D,OAAO,eAAe,CAAC,OAAO,CAC/B,GAAG;IACF;;OAEG;IACH,cAAc,CAAC,EAAE,IAAI,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,QAAA,MAAM,aAAa;IAVjB;;OAEG;qBACc,IAAI;wCAiCrB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,YAAY;8BAGf,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAC;AAGF;;;GAGG;AACH,QAAA,MAAM,WAAW,oKAYf,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAGH;;;GAGG;AACH;;;;;;GAMG;AACH,UAAU,oBAAoB;IAC5B,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,GACjE,eAAe,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,aAAa,CAAC,GACjE,eAAe,CAAC;IAClB,UAAU,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,GAC7D,eAAe,CAAC;CACnB;AAED,OAAO,EACL,MAAM,EACN,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,WAAW,EACX,aAAa,EACb,KAAK,oBAAoB,GAC1B,CAAC"}
|
|
@@ -12,44 +12,53 @@ declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubPro
|
|
|
12
12
|
declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
/**
|
|
14
14
|
* A submenu trigger item that shows a nested menu.
|
|
15
|
+
* @returns {JSX.Element} The rendered DropdownMenuSubTrigger component.
|
|
15
16
|
*/
|
|
16
17
|
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
17
18
|
inset?: boolean;
|
|
18
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
19
20
|
/**
|
|
20
21
|
* Container for submenu content.
|
|
22
|
+
* @returns {JSX.Element} The rendered DropdownMenuSubContent component.
|
|
21
23
|
*/
|
|
22
24
|
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
23
25
|
/**
|
|
24
26
|
* Root dropdown menu content surface.
|
|
27
|
+
* @returns {JSX.Element} The rendered DropdownMenuContent component.
|
|
25
28
|
*/
|
|
26
29
|
declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
27
30
|
/**
|
|
28
31
|
* A selectable menu item.
|
|
32
|
+
* @returns {JSX.Element} The rendered DropdownMenuItem component.
|
|
29
33
|
*/
|
|
30
34
|
declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
31
35
|
inset?: boolean;
|
|
32
36
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
33
37
|
/**
|
|
34
38
|
* A checkbox-style menu item.
|
|
39
|
+
* @returns {JSX.Element} The rendered DropdownMenuCheckboxItem component.
|
|
35
40
|
*/
|
|
36
41
|
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
37
42
|
/**
|
|
38
43
|
* A radio-style menu item.
|
|
44
|
+
* @returns {JSX.Element} The rendered DropdownMenuRadioItem component.
|
|
39
45
|
*/
|
|
40
46
|
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
41
47
|
/**
|
|
42
48
|
* Section label within the menu.
|
|
49
|
+
* @returns {JSX.Element} The rendered DropdownMenuLabel component.
|
|
43
50
|
*/
|
|
44
51
|
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
45
52
|
inset?: boolean;
|
|
46
53
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
47
54
|
/**
|
|
48
55
|
* Visual separator between groups of items.
|
|
56
|
+
* @returns {JSX.Element} The rendered DropdownMenuSeparator component.
|
|
49
57
|
*/
|
|
50
58
|
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
51
59
|
/**
|
|
52
60
|
* Right-aligned keyboard shortcut hint renderer.
|
|
61
|
+
* @returns {JSX.Element} The rendered DropdownMenuShortcut component.
|
|
53
62
|
*/
|
|
54
63
|
declare const DropdownMenuShortcut: {
|
|
55
64
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -59,6 +68,15 @@ declare const DropdownMenuShortcut: {
|
|
|
59
68
|
* Props aggregation for components that wrap DropdownMenu primitives.
|
|
60
69
|
* Useful for high-level components needing to forward props to specific Dropdown parts.
|
|
61
70
|
*/
|
|
71
|
+
/**
|
|
72
|
+
* Props aggregation for components that wrap DropdownMenu primitives.
|
|
73
|
+
* Useful for high-level components needing to forward props to specific Dropdown parts.
|
|
74
|
+
* @property {React.ComponentPropsWithoutRef<typeof DropdownMenuTrigger> & ElementDataType} [triggerProps] - Props for the DropdownMenuTrigger component.
|
|
75
|
+
* @property {React.ComponentPropsWithoutRef<typeof DropdownMenuContent> & ElementDataType} [contentProps] - Props for the DropdownMenuContent component.
|
|
76
|
+
* @property {React.ComponentPropsWithoutRef<typeof DropdownMenuItem> & ElementDataType} [menuItemProps] - Props for the DropdownMenuItem component.
|
|
77
|
+
* @property {React.ComponentPropsWithoutRef<typeof DropdownMenuSubTrigger> & ElementDataType} [subTriggerProps] - Props for the DropdownMenuSubTrigger component.
|
|
78
|
+
* @property {React.ComponentPropsWithoutRef<typeof DropdownMenuSubContent> & ElementDataType} [subContentProps] - Props for the DropdownMenuSubContent component.
|
|
79
|
+
*/
|
|
62
80
|
interface DropdownContainerProps {
|
|
63
81
|
triggerProps?: React.ComponentPropsWithoutRef<typeof DropdownMenuTrigger> & ElementDataType;
|
|
64
82
|
contentProps?: React.ComponentPropsWithoutRef<typeof DropdownMenuContent> & ElementDataType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/ui/dropdown/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;GAEG;AACH,QAAA,MAAM,YAAY,mDAA6B,CAAC;AAEhD,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE
|
|
1
|
+
{"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../../../src/ui/dropdown/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD;;GAEG;AACH,QAAA,MAAM,YAAY,mDAA6B,CAAC;AAEhD,QAAA,MAAM,mBAAmB,0HAAgC,CAAC;AAE1D,QAAA,MAAM,iBAAiB,qHAA8B,CAAC;AAEtD,QAAA,MAAM,kBAAkB,yDAA+B,CAAC;AAExD,QAAA,MAAM,eAAe,sDAA4B,CAAC;AAElD,QAAA,MAAM,sBAAsB,0HAAmC,CAAC;AAEhE;;;GAGG;AACH,QAAA,MAAM,sBAAsB;YAGhB,OAAO;wCAejB,CAAC;AAIH;;;GAGG;AACH,QAAA,MAAM,sBAAsB,6KAY1B,CAAC;AAIH;;;GAGG;AACH,QAAA,MAAM,mBAAmB,0KAevB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,gBAAgB;YAGV,OAAO;wCAYjB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,wBAAwB,+KAoB5B,CAAC;AAIH;;;GAGG;AACH,QAAA,MAAM,qBAAqB,4KAmBzB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,iBAAiB;YAGX,OAAO;wCAYjB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,qBAAqB,4KASzB,CAAC;AAGH;;;GAGG;AACH,QAAA,MAAM,oBAAoB;8BAGvB,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;;CAOvC,CAAC;AAGF;;;GAGG;AACH;;;;;;;;GAQG;AACH,UAAU,sBAAsB;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,GACvE,eAAe,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,GACvE,eAAe,CAAC;IAClB,aAAa,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,OAAO,gBAAgB,CAAC,GACrE,eAAe,CAAC;IAClB,eAAe,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAC9C,OAAO,sBAAsB,CAC9B,GACC,eAAe,CAAC;IAClB,eAAe,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAC9C,OAAO,sBAAsB,CAC9B,GACC,eAAe,CAAC;CACnB;AAED,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,EACnB,KAAK,sBAAsB,GAC5B,CAAC"}
|
|
@@ -2,11 +2,13 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Props for the Checkbox component. Extends Radix Checkbox Root props.
|
|
5
|
+
* @property {boolean | 'indeterminate'} [checked] - The checked state of the checkbox.
|
|
6
|
+
* @property {boolean} [disabled] - If true, the checkbox will be disabled.
|
|
5
7
|
*/
|
|
6
8
|
export type CheckboxProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
|
|
7
9
|
/**
|
|
8
10
|
* Checkbox - An accessible checkbox with indeterminate state support.
|
|
9
|
-
*
|
|
11
|
+
* @returns {JSX.Element} The rendered Checkbox component.
|
|
10
12
|
* @component
|
|
11
13
|
*/
|
|
12
14
|
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/ui/form/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,wBAAwB,CACxD,OAAO,iBAAiB,CAAC,IAAI,CAC9B,CAAC;AAEF;;;;GAIG;AACH,QAAA,MAAM,QAAQ,iKAuBZ,CAAC;AAGH,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|