@rovula/ui 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/bundle.css +443 -3
- package/dist/cjs/bundle.js +1 -1
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/AlertDialog/Alert.stories.d.ts +20 -0
- package/dist/cjs/types/components/AlertDialog/AlertDialog.d.ts +20 -0
- package/dist/cjs/types/components/Button/Button.d.ts +14 -3
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -1
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +8 -6
- package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +308 -0
- package/dist/cjs/types/components/DataTable/DataTable.d.ts +14 -0
- package/dist/cjs/types/components/DataTable/DataTable.stories.d.ts +19 -0
- package/dist/cjs/types/components/Dialog/Dialog.d.ts +19 -0
- package/dist/cjs/types/components/Dialog/Dialog.stories.d.ts +25 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +29 -3
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +31 -30
- package/dist/cjs/types/components/Input/Input.d.ts +5 -0
- package/dist/cjs/types/components/Input/Input.stories.d.ts +314 -0
- package/dist/cjs/types/components/Label/Label.d.ts +5 -0
- package/dist/cjs/types/components/Label/Label.stories.d.ts +286 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +299 -0
- package/dist/cjs/types/components/Table/Datagrid.d.ts +11 -0
- package/dist/cjs/types/components/Table/Table.d.ts +10 -11
- package/dist/cjs/types/components/Table/Table.stories.d.ts +283 -0
- package/dist/cjs/types/components/Tabs/Tabs.d.ts +7 -5
- package/dist/cjs/types/components/Tabs/Tabs.stories.d.ts +49 -0
- package/dist/cjs/types/components/Text/Text.d.ts +3 -3
- package/dist/cjs/types/components/Text/Text.stories.d.ts +3 -9
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +20 -2
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +28 -1
- package/dist/cjs/types/components/ui/table.d.ts +10 -0
- package/dist/cjs/types/index.d.ts +10 -1
- package/dist/cjs/types/utils/cn.d.ts +2 -0
- package/dist/components/AlertDialog/Alert.stories.js +39 -0
- package/dist/components/AlertDialog/AlertDialog.js +73 -0
- package/dist/components/Button/Button.js +6 -5
- package/dist/components/Button/Button.styles.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +37 -0
- package/dist/components/Checkbox/Checkbox.stories.js +49 -0
- package/dist/components/DataTable/DataTable.js +32 -0
- package/dist/components/DataTable/DataTable.stories.js +66 -0
- package/dist/components/Dialog/Dialog.js +63 -0
- package/dist/components/Dialog/Dialog.stories.js +52 -0
- package/dist/components/Dropdown/Dropdown.js +15 -5
- package/dist/components/Dropdown/Dropdown.stories.js +48 -0
- package/dist/components/Input/Input.js +31 -0
- package/dist/components/Input/Input.stories.js +37 -0
- package/dist/components/Label/Label.js +35 -0
- package/dist/components/Label/Label.stories.js +38 -0
- package/dist/components/RadioGroup/RadioGroup.js +41 -0
- package/dist/components/RadioGroup/RadioGroup.stories.js +44 -0
- package/dist/components/Table/Datagrid.js +6 -0
- package/dist/components/Table/Table.js +65 -5
- package/dist/components/Table/Table.stories.js +32 -0
- package/dist/components/Tabs/Tabs.js +10 -4
- package/dist/components/Tabs/Tabs.stories.js +60 -0
- package/dist/components/Text/Text.js +3 -2
- package/dist/components/TextInput/TextInput.js +5 -7
- package/dist/components/TextInput/TextInput.stories.js +22 -0
- package/dist/components/ui/table.js +66 -0
- package/dist/esm/bundle.css +443 -3
- package/dist/esm/bundle.js +1 -1
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/AlertDialog/Alert.stories.d.ts +20 -0
- package/dist/esm/types/components/AlertDialog/AlertDialog.d.ts +20 -0
- package/dist/esm/types/components/Button/Button.d.ts +14 -3
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -1
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +8 -6
- package/dist/esm/types/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +308 -0
- package/dist/esm/types/components/DataTable/DataTable.d.ts +14 -0
- package/dist/esm/types/components/DataTable/DataTable.stories.d.ts +19 -0
- package/dist/esm/types/components/Dialog/Dialog.d.ts +19 -0
- package/dist/esm/types/components/Dialog/Dialog.stories.d.ts +25 -0
- package/dist/esm/types/components/Dropdown/Dropdown.d.ts +29 -3
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +31 -30
- package/dist/esm/types/components/Input/Input.d.ts +5 -0
- package/dist/esm/types/components/Input/Input.stories.d.ts +314 -0
- package/dist/esm/types/components/Label/Label.d.ts +5 -0
- package/dist/esm/types/components/Label/Label.stories.d.ts +286 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +299 -0
- package/dist/esm/types/components/Table/Datagrid.d.ts +11 -0
- package/dist/esm/types/components/Table/Table.d.ts +10 -11
- package/dist/esm/types/components/Table/Table.stories.d.ts +283 -0
- package/dist/esm/types/components/Tabs/Tabs.d.ts +7 -5
- package/dist/esm/types/components/Tabs/Tabs.stories.d.ts +49 -0
- package/dist/esm/types/components/Text/Text.d.ts +3 -3
- package/dist/esm/types/components/Text/Text.stories.d.ts +3 -9
- package/dist/esm/types/components/TextInput/TextInput.d.ts +20 -2
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +28 -1
- package/dist/esm/types/components/ui/table.d.ts +10 -0
- package/dist/esm/types/index.d.ts +10 -1
- package/dist/esm/types/utils/cn.d.ts +2 -0
- package/dist/index.d.ts +139 -31
- package/dist/index.js +7 -1
- package/dist/src/theme/global.css +529 -3
- package/dist/theme/global.css +57 -0
- package/dist/theme/main-preset.js +29 -1
- package/dist/theme/presets/colors.js +19 -0
- package/dist/utils/cn.js +9 -0
- package/package.json +10 -1
- package/src/components/AlertDialog/Alert.stories.tsx +67 -0
- package/src/components/AlertDialog/AlertDialog.tsx +142 -0
- package/src/components/Button/Button.styles.ts +1 -1
- package/src/components/Button/Button.tsx +49 -41
- package/src/components/Checkbox/Checkbox.stories.tsx +91 -0
- package/src/components/Checkbox/Checkbox.tsx +36 -0
- package/src/components/DataTable/DataTable.stories.tsx +76 -0
- package/src/components/DataTable/DataTable.tsx +105 -0
- package/src/components/Dialog/Dialog.stories.tsx +118 -0
- package/src/components/Dialog/Dialog.tsx +119 -0
- package/src/components/Dropdown/Dropdown.stories.tsx +87 -3
- package/src/components/Dropdown/Dropdown.tsx +147 -109
- package/src/components/Input/Input.stories.tsx +40 -0
- package/src/components/Input/Input.tsx +25 -0
- package/src/components/Label/Label.stories.tsx +45 -0
- package/src/components/Label/Label.tsx +26 -0
- package/src/components/RadioGroup/RadioGroup.stories.tsx +71 -0
- package/src/components/RadioGroup/RadioGroup.tsx +59 -0
- package/src/components/Table/Datagrid.tsx +36 -0
- package/src/components/Table/Table.stories.tsx +79 -0
- package/src/components/Table/Table.tsx +116 -35
- package/src/components/Tabs/Tabs.stories.tsx +75 -0
- package/src/components/Tabs/Tabs.tsx +39 -10
- package/src/components/Text/Text.tsx +21 -19
- package/src/components/TextInput/TextInput.stories.tsx +46 -1
- package/src/components/TextInput/TextInput.tsx +7 -7
- package/src/components/ui/table.tsx +117 -0
- package/src/index.ts +13 -1
- package/src/theme/global.css +57 -0
- package/src/theme/main-preset.js +29 -1
- package/src/theme/presets/colors.js +19 -0
- package/src/utils/cn.ts +6 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.FC<import("@radix-ui/react-alert-dialog").AlertDialogProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
open?: boolean | undefined;
|
|
12
|
+
defaultOpen?: boolean | undefined;
|
|
13
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
14
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
15
|
+
};
|
|
16
|
+
export default meta;
|
|
17
|
+
export declare const Default: {
|
|
18
|
+
args: {};
|
|
19
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
|
|
3
|
+
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
4
|
+
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
6
|
+
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const AlertDialogHeader: {
|
|
9
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
declare const AlertDialogFooter: {
|
|
13
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
17
|
+
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
type ButtonProps = {
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
|
+
export type ButtonProps = {
|
|
3
3
|
title?: string;
|
|
4
4
|
size?: "sm" | "md" | "lg";
|
|
5
5
|
color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
|
|
@@ -11,5 +11,16 @@ type ButtonProps = {
|
|
|
11
11
|
startIcon?: ReactElement;
|
|
12
12
|
endIcon?: ReactElement;
|
|
13
13
|
} & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
14
|
-
declare const Button:
|
|
14
|
+
declare const Button: React.ForwardRefExoticComponent<{
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
17
|
+
color?: "primary" | "secondary" | "tertiary" | "success" | "info" | "warning" | "error" | undefined;
|
|
18
|
+
variant?: "solid" | "outline" | "flat" | "link" | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
20
|
+
isLoading?: boolean | undefined;
|
|
21
|
+
fullwidth?: boolean | undefined;
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
24
|
+
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
25
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
26
|
export default Button;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const buttonVariants: (props?: ({
|
|
2
2
|
color?: "primary" | "secondary" | "tertiary" | "success" | "info" | "warning" | "error" | null | undefined;
|
|
3
3
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
4
4
|
variant?: "solid" | "outline" | "flat" | "link" | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: React.
|
|
4
|
+
component: React.ForwardRefExoticComponent<{
|
|
5
5
|
title?: string | undefined;
|
|
6
6
|
size?: "sm" | "md" | "lg" | undefined;
|
|
7
7
|
color?: "primary" | "secondary" | "tertiary" | "success" | "info" | "warning" | "error" | undefined;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
14
14
|
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
15
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
15
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
tags: string[];
|
|
17
17
|
parameters: {
|
|
18
18
|
layout: string;
|
|
@@ -299,6 +299,8 @@ declare const meta: {
|
|
|
299
299
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
300
300
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
301
301
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
302
|
+
ref?: React.LegacyRef<HTMLButtonElement> | undefined;
|
|
303
|
+
key?: React.Key | null | undefined;
|
|
302
304
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
303
305
|
};
|
|
304
306
|
export default meta;
|
|
@@ -317,7 +319,7 @@ export declare const Solid: {
|
|
|
317
319
|
children?: React.ReactNode;
|
|
318
320
|
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
319
321
|
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
320
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
322
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
321
323
|
};
|
|
322
324
|
export declare const Outline: {
|
|
323
325
|
args: {
|
|
@@ -335,7 +337,7 @@ export declare const Outline: {
|
|
|
335
337
|
children?: React.ReactNode;
|
|
336
338
|
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
337
339
|
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
338
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
340
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
339
341
|
};
|
|
340
342
|
export declare const Flat: {
|
|
341
343
|
args: {
|
|
@@ -353,7 +355,7 @@ export declare const Flat: {
|
|
|
353
355
|
children?: React.ReactNode;
|
|
354
356
|
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
355
357
|
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
356
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
358
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
357
359
|
};
|
|
358
360
|
export declare const Link: {
|
|
359
361
|
args: {
|
|
@@ -371,5 +373,5 @@ export declare const Link: {
|
|
|
371
373
|
children?: React.ReactNode;
|
|
372
374
|
startIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
373
375
|
endIcon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
374
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
376
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
|
|
375
377
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Checkbox };
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.ForwardRefExoticComponent<Omit<import("@radix-ui/react-checkbox").CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
+
color?: string | undefined;
|
|
11
|
+
disabled?: boolean | undefined;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
form?: string | undefined;
|
|
16
|
+
formAction?: string | undefined;
|
|
17
|
+
formEncType?: string | undefined;
|
|
18
|
+
formMethod?: string | undefined;
|
|
19
|
+
formNoValidate?: boolean | undefined;
|
|
20
|
+
formTarget?: string | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
type?: "button" | "submit" | "reset" | undefined;
|
|
23
|
+
value?: string | number | readonly string[] | undefined;
|
|
24
|
+
defaultChecked?: import("@radix-ui/react-checkbox").CheckedState | undefined;
|
|
25
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
26
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
27
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
28
|
+
accessKey?: string | undefined;
|
|
29
|
+
autoFocus?: boolean | undefined;
|
|
30
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
31
|
+
contextMenu?: string | undefined;
|
|
32
|
+
dir?: string | undefined;
|
|
33
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
34
|
+
hidden?: boolean | undefined;
|
|
35
|
+
id?: string | undefined;
|
|
36
|
+
lang?: string | undefined;
|
|
37
|
+
nonce?: string | undefined;
|
|
38
|
+
slot?: string | undefined;
|
|
39
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
40
|
+
style?: React.CSSProperties | undefined;
|
|
41
|
+
tabIndex?: number | undefined;
|
|
42
|
+
translate?: "yes" | "no" | undefined;
|
|
43
|
+
radioGroup?: string | undefined;
|
|
44
|
+
role?: React.AriaRole | undefined;
|
|
45
|
+
about?: string | undefined;
|
|
46
|
+
content?: string | undefined;
|
|
47
|
+
datatype?: string | undefined;
|
|
48
|
+
inlist?: any;
|
|
49
|
+
prefix?: string | undefined;
|
|
50
|
+
property?: string | undefined;
|
|
51
|
+
rel?: string | undefined;
|
|
52
|
+
resource?: string | undefined;
|
|
53
|
+
rev?: string | undefined;
|
|
54
|
+
typeof?: string | undefined;
|
|
55
|
+
vocab?: string | undefined;
|
|
56
|
+
autoCapitalize?: string | undefined;
|
|
57
|
+
autoCorrect?: string | undefined;
|
|
58
|
+
autoSave?: string | undefined;
|
|
59
|
+
itemProp?: string | undefined;
|
|
60
|
+
itemScope?: boolean | undefined;
|
|
61
|
+
itemType?: string | undefined;
|
|
62
|
+
itemID?: string | undefined;
|
|
63
|
+
itemRef?: string | undefined;
|
|
64
|
+
results?: number | undefined;
|
|
65
|
+
security?: string | undefined;
|
|
66
|
+
unselectable?: "on" | "off" | undefined;
|
|
67
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
68
|
+
is?: string | undefined;
|
|
69
|
+
"aria-activedescendant"?: string | undefined;
|
|
70
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
71
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
72
|
+
"aria-braillelabel"?: string | undefined;
|
|
73
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
74
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
76
|
+
"aria-colcount"?: number | undefined;
|
|
77
|
+
"aria-colindex"?: number | undefined;
|
|
78
|
+
"aria-colindextext"?: string | undefined;
|
|
79
|
+
"aria-colspan"?: number | undefined;
|
|
80
|
+
"aria-controls"?: string | undefined;
|
|
81
|
+
"aria-current"?: boolean | "true" | "false" | "date" | "time" | "step" | "page" | "location" | undefined;
|
|
82
|
+
"aria-describedby"?: string | undefined;
|
|
83
|
+
"aria-description"?: string | undefined;
|
|
84
|
+
"aria-details"?: string | undefined;
|
|
85
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
86
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
87
|
+
"aria-errormessage"?: string | undefined;
|
|
88
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
89
|
+
"aria-flowto"?: string | undefined;
|
|
90
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
91
|
+
"aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
|
|
92
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
93
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
94
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
95
|
+
"aria-label"?: string | undefined;
|
|
96
|
+
"aria-labelledby"?: string | undefined;
|
|
97
|
+
"aria-level"?: number | undefined;
|
|
98
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
99
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
102
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
103
|
+
"aria-owns"?: string | undefined;
|
|
104
|
+
"aria-placeholder"?: string | undefined;
|
|
105
|
+
"aria-posinset"?: number | undefined;
|
|
106
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
107
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
108
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
109
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
110
|
+
"aria-roledescription"?: string | undefined;
|
|
111
|
+
"aria-rowcount"?: number | undefined;
|
|
112
|
+
"aria-rowindex"?: number | undefined;
|
|
113
|
+
"aria-rowindextext"?: string | undefined;
|
|
114
|
+
"aria-rowspan"?: number | undefined;
|
|
115
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
116
|
+
"aria-setsize"?: number | undefined;
|
|
117
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
118
|
+
"aria-valuemax"?: number | undefined;
|
|
119
|
+
"aria-valuemin"?: number | undefined;
|
|
120
|
+
"aria-valuenow"?: number | undefined;
|
|
121
|
+
"aria-valuetext"?: string | undefined;
|
|
122
|
+
dangerouslySetInnerHTML?: {
|
|
123
|
+
__html: string | TrustedHTML;
|
|
124
|
+
} | undefined;
|
|
125
|
+
onCopy?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
126
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
127
|
+
onCut?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
128
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
129
|
+
onPaste?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
130
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
131
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
132
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
133
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
134
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
135
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
136
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement> | undefined;
|
|
137
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
138
|
+
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
139
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
140
|
+
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement> | undefined;
|
|
141
|
+
onChange?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
142
|
+
onChangeCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
143
|
+
onBeforeInput?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
144
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
145
|
+
onInput?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
146
|
+
onInputCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
147
|
+
onReset?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
148
|
+
onResetCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
149
|
+
onSubmit?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
150
|
+
onSubmitCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
151
|
+
onInvalid?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
152
|
+
onInvalidCapture?: React.FormEventHandler<HTMLButtonElement> | undefined;
|
|
153
|
+
onLoad?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
154
|
+
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
155
|
+
onError?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
156
|
+
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
157
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
158
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
159
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
160
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
161
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
162
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
163
|
+
onAbort?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
164
|
+
onAbortCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
165
|
+
onCanPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
166
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
167
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
168
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
169
|
+
onDurationChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
170
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
171
|
+
onEmptied?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
172
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
173
|
+
onEncrypted?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
174
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
175
|
+
onEnded?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
176
|
+
onEndedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
177
|
+
onLoadedData?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
178
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
179
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
180
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
181
|
+
onLoadStart?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
182
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
183
|
+
onPause?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
184
|
+
onPauseCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
185
|
+
onPlay?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
186
|
+
onPlayCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
187
|
+
onPlaying?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
188
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
189
|
+
onProgress?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
190
|
+
onProgressCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
191
|
+
onRateChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
192
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
193
|
+
onResize?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
194
|
+
onResizeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
195
|
+
onSeeked?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
196
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
197
|
+
onSeeking?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
198
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
199
|
+
onStalled?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
200
|
+
onStalledCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
201
|
+
onSuspend?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
202
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
203
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
204
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
205
|
+
onVolumeChange?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
206
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
207
|
+
onWaiting?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
208
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
209
|
+
onAuxClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
210
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
211
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
212
|
+
onClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
213
|
+
onContextMenu?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
214
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
215
|
+
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
216
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
217
|
+
onDrag?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
218
|
+
onDragCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
219
|
+
onDragEnd?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
220
|
+
onDragEndCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
221
|
+
onDragEnter?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
222
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
223
|
+
onDragExit?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
224
|
+
onDragExitCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
225
|
+
onDragLeave?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
226
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
227
|
+
onDragOver?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
228
|
+
onDragOverCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
229
|
+
onDragStart?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
230
|
+
onDragStartCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
231
|
+
onDrop?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
232
|
+
onDropCapture?: React.DragEventHandler<HTMLButtonElement> | undefined;
|
|
233
|
+
onMouseDown?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
234
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
235
|
+
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
236
|
+
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
237
|
+
onMouseMove?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
238
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
239
|
+
onMouseOut?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
240
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
241
|
+
onMouseOver?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
242
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
243
|
+
onMouseUp?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
244
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
245
|
+
onSelect?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
246
|
+
onSelectCapture?: React.ReactEventHandler<HTMLButtonElement> | undefined;
|
|
247
|
+
onTouchCancel?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
248
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
249
|
+
onTouchEnd?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
250
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
251
|
+
onTouchMove?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
252
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
253
|
+
onTouchStart?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
254
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLButtonElement> | undefined;
|
|
255
|
+
onPointerDown?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
256
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
257
|
+
onPointerMove?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
258
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
259
|
+
onPointerUp?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
260
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
261
|
+
onPointerCancel?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
262
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
263
|
+
onPointerEnter?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
264
|
+
onPointerLeave?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
265
|
+
onPointerOver?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
266
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
267
|
+
onPointerOut?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
268
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
269
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
270
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
271
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
272
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
273
|
+
onScroll?: React.UIEventHandler<HTMLButtonElement> | undefined;
|
|
274
|
+
onScrollCapture?: React.UIEventHandler<HTMLButtonElement> | undefined;
|
|
275
|
+
onWheel?: React.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
276
|
+
onWheelCapture?: React.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
277
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
278
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
279
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
280
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
281
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
282
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
283
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
284
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
285
|
+
checked?: import("@radix-ui/react-checkbox").CheckedState | undefined;
|
|
286
|
+
required?: boolean | undefined;
|
|
287
|
+
key?: React.Key | null | undefined;
|
|
288
|
+
asChild?: boolean | undefined;
|
|
289
|
+
onCheckedChange?: ((checked: import("@radix-ui/react-checkbox").CheckedState) => void) | undefined;
|
|
290
|
+
ref?: React.LegacyRef<HTMLButtonElement> | undefined;
|
|
291
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
292
|
+
};
|
|
293
|
+
export default meta;
|
|
294
|
+
export declare const Default: {
|
|
295
|
+
args: {
|
|
296
|
+
checked: boolean;
|
|
297
|
+
disabled: boolean;
|
|
298
|
+
};
|
|
299
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
300
|
+
};
|
|
301
|
+
export declare const WithText: {
|
|
302
|
+
args: {};
|
|
303
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
304
|
+
};
|
|
305
|
+
export declare const Diabled: {
|
|
306
|
+
args: {};
|
|
307
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
308
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ColumnDef } from "@tanstack/react-table";
|
|
2
|
+
export type Payment = {
|
|
3
|
+
id: string;
|
|
4
|
+
amount: number;
|
|
5
|
+
status: "pending" | "processing" | "success" | "failed";
|
|
6
|
+
email: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const columns: ColumnDef<Payment>[];
|
|
9
|
+
interface DataTableProps<TData, TValue> {
|
|
10
|
+
columns: ColumnDef<TData, TValue>[];
|
|
11
|
+
data: TData[];
|
|
12
|
+
}
|
|
13
|
+
export declare function DataTable<TData, TValue>({ columns, data, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataTable } from "./DataTable";
|
|
2
|
+
import { ColumnDef } from "@tanstack/react-table";
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof DataTable;
|
|
6
|
+
tags: string[];
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
};
|
|
10
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
11
|
+
columns: ColumnDef<unknown, unknown>[];
|
|
12
|
+
data: unknown[];
|
|
13
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
export declare const Default: {
|
|
17
|
+
args: {};
|
|
18
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const DialogHeader: {
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
13
|
+
declare const DialogFooter: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.FC<import("@radix-ui/react-dialog").DialogProps>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
decorators: ((Story: import("@storybook/types").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
open?: boolean | undefined;
|
|
12
|
+
defaultOpen?: boolean | undefined;
|
|
13
|
+
onOpenChange?: ((open: boolean) => void) | undefined;
|
|
14
|
+
modal?: boolean | undefined;
|
|
15
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
16
|
+
};
|
|
17
|
+
export default meta;
|
|
18
|
+
export declare const Default: {
|
|
19
|
+
args: {};
|
|
20
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
};
|
|
22
|
+
export declare const Demo: {
|
|
23
|
+
args: {};
|
|
24
|
+
render: (args: {}) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
};
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
1
2
|
import { InputProps } from "../TextInput/TextInput";
|
|
2
|
-
type
|
|
3
|
+
type RenderLabelCallbackArg = {
|
|
3
4
|
value: string;
|
|
4
5
|
label: string;
|
|
6
|
+
handleOnClick: () => void;
|
|
7
|
+
className: string;
|
|
5
8
|
};
|
|
6
|
-
type
|
|
9
|
+
export type Options = {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
renderLabel?: (config: RenderLabelCallbackArg) => ReactNode;
|
|
13
|
+
};
|
|
14
|
+
export type DropdownProps = {
|
|
7
15
|
id?: string;
|
|
8
16
|
label?: string;
|
|
9
17
|
size?: "sm" | "md" | "lg";
|
|
@@ -22,5 +30,23 @@ type DropdownProps = {
|
|
|
22
30
|
onChangeText?: InputProps["onChange"];
|
|
23
31
|
onSelect?: (value: Options) => void;
|
|
24
32
|
} & Omit<InputProps, "value">;
|
|
25
|
-
declare const Dropdown:
|
|
33
|
+
declare const Dropdown: React.ForwardRefExoticComponent<{
|
|
34
|
+
id?: string | undefined;
|
|
35
|
+
label?: string | undefined;
|
|
36
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
37
|
+
rounded?: "none" | "normal" | "full" | undefined;
|
|
38
|
+
variant?: "outline" | "flat" | "underline" | undefined;
|
|
39
|
+
helperText?: string | undefined;
|
|
40
|
+
errorMessage?: string | undefined;
|
|
41
|
+
filterMode?: boolean | undefined;
|
|
42
|
+
fullwidth?: boolean | undefined;
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
|
+
error?: boolean | undefined;
|
|
45
|
+
required?: boolean | undefined;
|
|
46
|
+
className?: string | undefined;
|
|
47
|
+
options: Options[];
|
|
48
|
+
value?: Options | undefined;
|
|
49
|
+
onChangeText?: InputProps["onChange"];
|
|
50
|
+
onSelect?: ((value: Options) => void) | undefined;
|
|
51
|
+
} & Omit<InputProps, "value"> & React.RefAttributes<HTMLInputElement>>;
|
|
26
52
|
export default Dropdown;
|