@editora/ui-react 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/components/Accordion.d.ts +31 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +294 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/AlertDialog.d.ts +79 -0
- package/dist/components/AlertDialog.d.ts.map +1 -0
- package/dist/components/AlertDialogProvider.d.ts +16 -0
- package/dist/components/AlertDialogProvider.d.ts.map +1 -0
- package/dist/components/Anchor.d.ts +9 -0
- package/dist/components/Anchor.d.ts.map +1 -0
- package/dist/components/AppHeader.d.ts +40 -0
- package/dist/components/AppHeader.d.ts.map +1 -0
- package/dist/components/AspectRatio.d.ts +16 -0
- package/dist/components/AspectRatio.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +30 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +295 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/BlockControls.d.ts +28 -0
- package/dist/components/BlockControls.d.ts.map +1 -0
- package/dist/components/Box.d.ts +74 -0
- package/dist/components/Box.d.ts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +23 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Button.d.ts +25 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Calendar.d.ts +105 -0
- package/dist/components/Calendar.d.ts.map +1 -0
- package/dist/components/Card.d.ts +33 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Chart.d.ts +76 -0
- package/dist/components/Chart.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +21 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Collapsible.d.ts +32 -0
- package/dist/components/Collapsible.d.ts.map +1 -0
- package/dist/components/Collection.d.ts +20 -0
- package/dist/components/Collection.d.ts.map +1 -0
- package/dist/components/ColorPicker.d.ts +105 -0
- package/dist/components/ColorPicker.d.ts.map +1 -0
- package/dist/components/Combobox.d.ts +46 -0
- package/dist/components/Combobox.d.ts.map +1 -0
- package/dist/components/Command.d.ts +15 -0
- package/dist/components/Command.d.ts.map +1 -0
- package/dist/components/CommandPalette.d.ts +47 -0
- package/dist/components/CommandPalette.d.ts.map +1 -0
- package/dist/components/Container.d.ts +7 -0
- package/dist/components/Container.d.ts.map +1 -0
- package/dist/components/ContextMenu.d.ts +59 -0
- package/dist/components/ContextMenu.d.ts.map +1 -0
- package/dist/components/DataTable.d.ts +408 -0
- package/dist/components/DataTable.d.ts.map +1 -0
- package/dist/components/DateField.d.ts +44 -0
- package/dist/components/DateField.d.ts.map +1 -0
- package/dist/components/DatePicker.d.ts +106 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/components/DateRangePicker.d.ts +96 -0
- package/dist/components/DateRangePicker.d.ts.map +1 -0
- package/dist/components/DateRangeTimePicker.d.ts +87 -0
- package/dist/components/DateRangeTimePicker.d.ts.map +1 -0
- package/dist/components/DateTimePicker.d.ts +84 -0
- package/dist/components/DateTimePicker.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +71 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/DialogProvider.d.ts +14 -0
- package/dist/components/DialogProvider.d.ts.map +1 -0
- package/dist/components/DirectionProvider.d.ts +3 -0
- package/dist/components/DirectionProvider.d.ts.map +1 -0
- package/dist/components/DismissableLayer.d.ts +41 -0
- package/dist/components/DismissableLayer.d.ts.map +1 -0
- package/dist/components/Drawer.d.ts +29 -0
- package/dist/components/Drawer.d.ts.map +1 -0
- package/dist/components/Dropdown.d.ts +66 -0
- package/dist/components/Dropdown.d.ts.map +1 -0
- package/dist/components/EmptyState.d.ts +280 -0
- package/dist/components/EmptyState.d.ts.map +1 -0
- package/dist/components/Field.d.ts +288 -0
- package/dist/components/Field.d.ts.map +1 -0
- package/dist/components/FieldSemantics.d.ts +77 -0
- package/dist/components/FieldSemantics.d.ts.map +1 -0
- package/dist/components/FileUpload.d.ts +76 -0
- package/dist/components/FileUpload.d.ts.map +1 -0
- package/dist/components/Flex.d.ts +17 -0
- package/dist/components/Flex.d.ts.map +1 -0
- package/dist/components/FloatingToolbar.d.ts +301 -0
- package/dist/components/FloatingToolbar.d.ts.map +1 -0
- package/dist/components/FocusScope.d.ts +29 -0
- package/dist/components/FocusScope.d.ts.map +1 -0
- package/dist/components/Form.d.ts +61 -0
- package/dist/components/Form.d.ts.map +1 -0
- package/dist/components/Gantt.d.ts +21 -0
- package/dist/components/Gantt.d.ts.map +1 -0
- package/dist/components/Grid.d.ts +24 -0
- package/dist/components/Grid.d.ts.map +1 -0
- package/dist/components/HoverCard.d.ts +35 -0
- package/dist/components/HoverCard.d.ts.map +1 -0
- package/dist/components/Icon.d.ts +49 -0
- package/dist/components/Icon.d.ts.map +1 -0
- package/dist/components/InlineEdit.d.ts +43 -0
- package/dist/components/InlineEdit.d.ts.map +1 -0
- package/dist/components/Input.d.ts +81 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/Label.d.ts +31 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/Layout.d.ts +21 -0
- package/dist/components/Layout.d.ts.map +1 -0
- package/dist/components/Listbox.d.ts +21 -0
- package/dist/components/Listbox.d.ts.map +1 -0
- package/dist/components/Menu.d.ts +45 -0
- package/dist/components/Menu.d.ts.map +1 -0
- package/dist/components/Menubar.d.ts +304 -0
- package/dist/components/Menubar.d.ts.map +1 -0
- package/dist/components/Meter.d.ts +30 -0
- package/dist/components/Meter.d.ts.map +1 -0
- package/dist/components/MultiSelect.d.ts +47 -0
- package/dist/components/MultiSelect.d.ts.map +1 -0
- package/dist/components/NavigationMenu.d.ts +317 -0
- package/dist/components/NavigationMenu.d.ts.map +1 -0
- package/dist/components/NumberField.d.ts +37 -0
- package/dist/components/NumberField.d.ts.map +1 -0
- package/dist/components/Pagination.d.ts +47 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/PanelGroup.d.ts +31 -0
- package/dist/components/PanelGroup.d.ts.map +1 -0
- package/dist/components/PasswordField.d.ts +97 -0
- package/dist/components/PasswordField.d.ts.map +1 -0
- package/dist/components/PinInput.d.ts +66 -0
- package/dist/components/PinInput.d.ts.map +1 -0
- package/dist/components/PluginPanel.d.ts +35 -0
- package/dist/components/PluginPanel.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +37 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/components/Portal.d.ts +18 -0
- package/dist/components/Portal.d.ts.map +1 -0
- package/dist/components/Positioner.d.ts +42 -0
- package/dist/components/Positioner.d.ts.map +1 -0
- package/dist/components/Presence.d.ts +22 -0
- package/dist/components/Presence.d.ts.map +1 -0
- package/dist/components/Progress.d.ts +32 -0
- package/dist/components/Progress.d.ts.map +1 -0
- package/dist/components/QuickActions.d.ts +36 -0
- package/dist/components/QuickActions.d.ts.map +1 -0
- package/dist/components/RadioGroup.d.ts +26 -0
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/components/RovingFocusGroup.d.ts +22 -0
- package/dist/components/RovingFocusGroup.d.ts.map +1 -0
- package/dist/components/ScrollArea.d.ts +20 -0
- package/dist/components/ScrollArea.d.ts.map +1 -0
- package/dist/components/Section.d.ts +11 -0
- package/dist/components/Section.d.ts.map +1 -0
- package/dist/components/Select.d.ts +62 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/SelectionPopup.d.ts +292 -0
- package/dist/components/SelectionPopup.d.ts.map +1 -0
- package/dist/components/Separator.d.ts +22 -0
- package/dist/components/Separator.d.ts.map +1 -0
- package/dist/components/Sidebar.d.ts +122 -0
- package/dist/components/Sidebar.d.ts.map +1 -0
- package/dist/components/Skeleton.d.ts +286 -0
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/Slider.d.ts +78 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slot.d.ts +36 -0
- package/dist/components/Slot.d.ts.map +1 -0
- package/dist/components/SplitButton.d.ts +49 -0
- package/dist/components/SplitButton.d.ts.map +1 -0
- package/dist/components/Stepper.d.ts +41 -0
- package/dist/components/Stepper.d.ts.map +1 -0
- package/dist/components/Switch.d.ts +45 -0
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/components/Table.d.ts +310 -0
- package/dist/components/Table.d.ts.map +1 -0
- package/dist/components/Tabs.d.ts +52 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/TagsInput.d.ts +51 -0
- package/dist/components/TagsInput.d.ts.map +1 -0
- package/dist/components/Textarea.d.ts +72 -0
- package/dist/components/Textarea.d.ts.map +1 -0
- package/dist/components/ThemeProvider.d.ts +20 -0
- package/dist/components/ThemeProvider.d.ts.map +1 -0
- package/dist/components/TimePicker.d.ts +76 -0
- package/dist/components/TimePicker.d.ts.map +1 -0
- package/dist/components/Timeline.d.ts +20 -0
- package/dist/components/Timeline.d.ts.map +1 -0
- package/dist/components/Toast.d.ts +29 -0
- package/dist/components/Toast.d.ts.map +1 -0
- package/dist/components/ToastAPI.d.ts +33 -0
- package/dist/components/ToastAPI.d.ts.map +1 -0
- package/dist/components/Toggle.d.ts +45 -0
- package/dist/components/Toggle.d.ts.map +1 -0
- package/dist/components/ToggleGroup.d.ts +49 -0
- package/dist/components/ToggleGroup.d.ts.map +1 -0
- package/dist/components/Toolbar.d.ts +26 -0
- package/dist/components/Toolbar.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +46 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/TransferList.d.ts +41 -0
- package/dist/components/TransferList.d.ts.map +1 -0
- package/dist/components/Tree.d.ts +27 -0
- package/dist/components/Tree.d.ts.map +1 -0
- package/dist/components/VisuallyHidden.d.ts +3 -0
- package/dist/components/VisuallyHidden.d.ts.map +1 -0
- package/dist/components/Wizard.d.ts +74 -0
- package/dist/components/Wizard.d.ts.map +1 -0
- package/dist/components/_internals.d.ts +3 -0
- package/dist/components/_internals.d.ts.map +1 -0
- package/dist/components/index.d.ts +103 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/hooks/useFloating.d.ts +49 -0
- package/dist/hooks/useFloating.d.ts.map +1 -0
- package/dist/hooks/useForm.d.ts +11 -0
- package/dist/hooks/useForm.d.ts.map +1 -0
- package/dist/hooks/useTheme.d.ts +2 -0
- package/dist/hooks/useTheme.d.ts.map +1 -0
- package/dist/index.cjs.js +170 -1
- package/dist/index.d.ts +107 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +15903 -3515
- package/package.json +30 -6
- package/LICENSE +0 -21
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type BreakpointKey = 'initial' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
type Responsive<T> = T | Partial<Record<BreakpointKey, T>>;
|
|
4
|
+
type Props = React.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
columns?: Responsive<string>;
|
|
6
|
+
rows?: Responsive<string>;
|
|
7
|
+
gap?: Responsive<string>;
|
|
8
|
+
rowGap?: Responsive<string>;
|
|
9
|
+
columnGap?: Responsive<string>;
|
|
10
|
+
autoFlow?: Responsive<string>;
|
|
11
|
+
autoRows?: Responsive<string>;
|
|
12
|
+
autoColumns?: Responsive<string>;
|
|
13
|
+
align?: Responsive<string>;
|
|
14
|
+
justify?: Responsive<string>;
|
|
15
|
+
place?: Responsive<string>;
|
|
16
|
+
alignContent?: Responsive<string>;
|
|
17
|
+
justifyContent?: Responsive<string>;
|
|
18
|
+
placeContent?: Responsive<string>;
|
|
19
|
+
display?: Responsive<'grid' | 'inline-grid' | string>;
|
|
20
|
+
headless?: boolean;
|
|
21
|
+
};
|
|
22
|
+
export declare function Grid(props: Props): React.DOMElement<Record<string, unknown>, Element>;
|
|
23
|
+
export default Grid;
|
|
24
|
+
//# sourceMappingURL=Grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
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,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAcF,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,sDA6ChC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type HoverCardProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
delay?: number;
|
|
5
|
+
closeDelay?: number;
|
|
6
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
7
|
+
offset?: number;
|
|
8
|
+
variant?: 'default' | 'line' | 'glass' | 'contrast' | 'minimal' | 'elevated';
|
|
9
|
+
tone?: 'default' | 'brand' | 'success' | 'warning' | 'danger';
|
|
10
|
+
density?: 'default' | 'compact' | 'comfortable';
|
|
11
|
+
shape?: 'default' | 'square' | 'soft';
|
|
12
|
+
elevation?: 'default' | 'none' | 'low' | 'high';
|
|
13
|
+
headless?: boolean;
|
|
14
|
+
onOpen?: () => void;
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
onChange?: (open: boolean) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const HoverCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
19
|
+
open?: boolean;
|
|
20
|
+
delay?: number;
|
|
21
|
+
closeDelay?: number;
|
|
22
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
23
|
+
offset?: number;
|
|
24
|
+
variant?: "default" | "line" | "glass" | "contrast" | "minimal" | "elevated";
|
|
25
|
+
tone?: "default" | "brand" | "success" | "warning" | "danger";
|
|
26
|
+
density?: "default" | "compact" | "comfortable";
|
|
27
|
+
shape?: "default" | "square" | "soft";
|
|
28
|
+
elevation?: "default" | "none" | "low" | "high";
|
|
29
|
+
headless?: boolean;
|
|
30
|
+
onOpen?: () => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
onChange?: (open: boolean) => void;
|
|
33
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
34
|
+
export default HoverCard;
|
|
35
|
+
//# sourceMappingURL=HoverCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HoverCard.d.ts","sourceRoot":"","sources":["../../src/components/HoverCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAQvF,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC/D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IAC7E,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9D,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM,CAAC;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,SAAS;WAhBb,OAAO;YACN,MAAM;iBACD,MAAM;gBACP,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO;aACtC,MAAM;cACL,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU;WACrE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ;cACnD,SAAS,GAAG,SAAS,GAAG,aAAa;YACvC,SAAS,GAAG,QAAQ,GAAG,MAAM;gBACzB,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,MAAM;eACpC,OAAO;aACT,MAAM,IAAI;cACT,MAAM,IAAI;eACT,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI;qCA6FlC,CAAC;AAIH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type IconProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
name?: string;
|
|
5
|
+
iconVariant?: 'outline' | 'solid' | 'duotone';
|
|
6
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | string | number;
|
|
7
|
+
color?: string;
|
|
8
|
+
secondaryColor?: string;
|
|
9
|
+
variant?: 'default' | 'surface' | 'soft' | 'contrast' | 'minimal' | 'elevated';
|
|
10
|
+
tone?: 'default' | 'brand' | 'success' | 'warning' | 'danger';
|
|
11
|
+
shape?: 'default' | 'square' | 'soft';
|
|
12
|
+
spin?: boolean;
|
|
13
|
+
pulse?: boolean;
|
|
14
|
+
badge?: boolean;
|
|
15
|
+
label?: string;
|
|
16
|
+
decorative?: boolean;
|
|
17
|
+
strokeWidth?: number | string;
|
|
18
|
+
absoluteStrokeWidth?: boolean;
|
|
19
|
+
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
20
|
+
strokeLinejoin?: 'miter' | 'round' | 'bevel';
|
|
21
|
+
rotate?: number;
|
|
22
|
+
flip?: 'horizontal' | 'vertical' | 'both';
|
|
23
|
+
rtl?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare const Icon: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
name?: string;
|
|
28
|
+
iconVariant?: "outline" | "solid" | "duotone";
|
|
29
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | string | number;
|
|
30
|
+
color?: string;
|
|
31
|
+
secondaryColor?: string;
|
|
32
|
+
variant?: "default" | "surface" | "soft" | "contrast" | "minimal" | "elevated";
|
|
33
|
+
tone?: "default" | "brand" | "success" | "warning" | "danger";
|
|
34
|
+
shape?: "default" | "square" | "soft";
|
|
35
|
+
spin?: boolean;
|
|
36
|
+
pulse?: boolean;
|
|
37
|
+
badge?: boolean;
|
|
38
|
+
label?: string;
|
|
39
|
+
decorative?: boolean;
|
|
40
|
+
strokeWidth?: number | string;
|
|
41
|
+
absoluteStrokeWidth?: boolean;
|
|
42
|
+
strokeLinecap?: "butt" | "round" | "square";
|
|
43
|
+
strokeLinejoin?: "miter" | "round" | "bevel";
|
|
44
|
+
rotate?: number;
|
|
45
|
+
flip?: "horizontal" | "vertical" | "both";
|
|
46
|
+
rtl?: boolean;
|
|
47
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
48
|
+
export default Icon;
|
|
49
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/components/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC1D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,C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YACP,MAAM;iBACD,OAAO;kBACN,MAAM,GAAG,MAAM;0BACP,OAAO;oBACb,MAAM,GAAG,OAAO,GAAG,QAAQ;qBAC1B,OAAO,GAAG,OAAO,GAAG,OAAO;aACnC,MAAM;WACR,YAAY,GAAG,UAAU,GAAG,MAAM;UACnC,OAAO;qCAyHb,CAAC;AAIH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type InlineEditProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
editing?: boolean;
|
|
6
|
+
multiline?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
readOnly?: boolean;
|
|
9
|
+
name?: string;
|
|
10
|
+
onChange?: (detail: {
|
|
11
|
+
value: string;
|
|
12
|
+
previousValue: string;
|
|
13
|
+
source: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
onValueChange?: (value: string) => void;
|
|
16
|
+
onSave?: (detail: {
|
|
17
|
+
value: string;
|
|
18
|
+
previousValue: string;
|
|
19
|
+
}) => void;
|
|
20
|
+
onCancel?: (value: string) => void;
|
|
21
|
+
};
|
|
22
|
+
export declare const InlineEdit: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
23
|
+
value?: string;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
editing?: boolean;
|
|
26
|
+
multiline?: boolean;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
readOnly?: boolean;
|
|
29
|
+
name?: string;
|
|
30
|
+
onChange?: (detail: {
|
|
31
|
+
value: string;
|
|
32
|
+
previousValue: string;
|
|
33
|
+
source: string;
|
|
34
|
+
}) => void;
|
|
35
|
+
onValueChange?: (value: string) => void;
|
|
36
|
+
onSave?: (detail: {
|
|
37
|
+
value: string;
|
|
38
|
+
previousValue: string;
|
|
39
|
+
}) => void;
|
|
40
|
+
onCancel?: (value: string) => void;
|
|
41
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
42
|
+
export default InlineEdit;
|
|
43
|
+
//# sourceMappingURL=InlineEdit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineEdit.d.ts","sourceRoot":"","sources":["../../src/components/InlineEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAChE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACtF,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,UAAU;YAbb,MAAM;kBACA,MAAM;cACV,OAAO;gBACL,OAAO;eACR,OAAO;eACP,OAAO;WACX,MAAM;eACF,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;oBACrE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;aAC9B,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI;eACxD,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;qCAmDlC,CAAC;AAIH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type InputProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
onInput?: (value: string) => void;
|
|
7
|
+
onDebouncedInput?: (value: string) => void;
|
|
8
|
+
onClear?: () => void;
|
|
9
|
+
clearable?: boolean;
|
|
10
|
+
debounce?: number;
|
|
11
|
+
validation?: 'error' | 'success' | 'none';
|
|
12
|
+
size?: 'sm' | 'md' | 'lg' | '1' | '2' | '3';
|
|
13
|
+
minlength?: number;
|
|
14
|
+
maxlength?: number;
|
|
15
|
+
readOnly?: boolean;
|
|
16
|
+
autofocus?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
counter?: boolean;
|
|
19
|
+
floatingLabel?: boolean;
|
|
20
|
+
type?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
required?: boolean;
|
|
23
|
+
pattern?: string;
|
|
24
|
+
inputMode?: string;
|
|
25
|
+
autoComplete?: string;
|
|
26
|
+
min?: string | number;
|
|
27
|
+
max?: string | number;
|
|
28
|
+
step?: string | number;
|
|
29
|
+
spellCheck?: boolean;
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
headless?: boolean;
|
|
32
|
+
variant?: 'classic' | 'surface' | 'soft' | 'outlined' | 'filled' | 'flushed' | 'minimal' | 'contrast' | 'elevated';
|
|
33
|
+
tone?: 'default' | 'brand' | 'success' | 'warning' | 'danger';
|
|
34
|
+
density?: 'default' | 'compact' | 'comfortable';
|
|
35
|
+
shape?: 'default' | 'square' | 'soft';
|
|
36
|
+
color?: string;
|
|
37
|
+
radius?: 'none' | 'large' | 'full' | string;
|
|
38
|
+
label?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
};
|
|
41
|
+
export declare const Input: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
value?: string;
|
|
44
|
+
onChange?: (value: string) => void;
|
|
45
|
+
onInput?: (value: string) => void;
|
|
46
|
+
onDebouncedInput?: (value: string) => void;
|
|
47
|
+
onClear?: () => void;
|
|
48
|
+
clearable?: boolean;
|
|
49
|
+
debounce?: number;
|
|
50
|
+
validation?: "error" | "success" | "none";
|
|
51
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
52
|
+
minlength?: number;
|
|
53
|
+
maxlength?: number;
|
|
54
|
+
readOnly?: boolean;
|
|
55
|
+
autofocus?: boolean;
|
|
56
|
+
disabled?: boolean;
|
|
57
|
+
counter?: boolean;
|
|
58
|
+
floatingLabel?: boolean;
|
|
59
|
+
type?: string;
|
|
60
|
+
name?: string;
|
|
61
|
+
required?: boolean;
|
|
62
|
+
pattern?: string;
|
|
63
|
+
inputMode?: string;
|
|
64
|
+
autoComplete?: string;
|
|
65
|
+
min?: string | number;
|
|
66
|
+
max?: string | number;
|
|
67
|
+
step?: string | number;
|
|
68
|
+
spellCheck?: boolean;
|
|
69
|
+
placeholder?: string;
|
|
70
|
+
headless?: boolean;
|
|
71
|
+
variant?: "classic" | "surface" | "soft" | "outlined" | "filled" | "flushed" | "minimal" | "contrast" | "elevated";
|
|
72
|
+
tone?: "default" | "brand" | "success" | "warning" | "danger";
|
|
73
|
+
density?: "default" | "compact" | "comfortable";
|
|
74
|
+
shape?: "default" | "square" | "soft";
|
|
75
|
+
color?: string;
|
|
76
|
+
radius?: "none" | "large" | "full" | string;
|
|
77
|
+
label?: string;
|
|
78
|
+
description?: string;
|
|
79
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
80
|
+
export default Input;
|
|
81
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO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AM;gBACN,MAAM;eACP,OAAO;gBACN,OAAO;eACR,OAAO;cACR,OAAO;oBACD,OAAO;WAChB,MAAM;WACN,MAAM;eACF,OAAO;cACR,MAAM;gBACJ,MAAM;mBACH,MAAM;UACf,MAAM,GAAG,MAAM;UACf,MAAM,GAAG,MAAM;WACd,MAAM,GAAG,MAAM;iBACT,OAAO;kBACN,MAAM;eACT,OAAO;cACR,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU;WAC3G,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ;cACnD,SAAS,GAAG,SAAS,GAAG,aAAa;YACvC,SAAS,GAAG,QAAQ,GAAG,MAAM;YAC7B,MAAM;aACL,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM;YACnC,MAAM;kBACA,MAAM;qCAwNpB,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type LabelProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
htmlFor?: string;
|
|
5
|
+
for?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
description?: string;
|
|
8
|
+
variant?: 'default' | 'surface' | 'soft' | 'contrast' | 'minimal' | 'elevated';
|
|
9
|
+
tone?: 'default' | 'brand' | 'success' | 'warning' | 'danger';
|
|
10
|
+
size?: 'sm' | 'md' | 'lg' | '1' | '2' | '3';
|
|
11
|
+
density?: 'default' | 'compact' | 'comfortable';
|
|
12
|
+
shape?: 'default' | 'square' | 'soft';
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
headless?: boolean;
|
|
15
|
+
};
|
|
16
|
+
export declare const Label: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
htmlFor?: string;
|
|
19
|
+
for?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
description?: string;
|
|
22
|
+
variant?: "default" | "surface" | "soft" | "contrast" | "minimal" | "elevated";
|
|
23
|
+
tone?: "default" | "brand" | "success" | "warning" | "danger";
|
|
24
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
25
|
+
density?: "default" | "compact" | "comfortable";
|
|
26
|
+
shape?: "default" | "square" | "soft";
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
headless?: boolean;
|
|
29
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
30
|
+
export default Label;
|
|
31
|
+
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../src/components/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,UAAU,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC3D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IAC/E,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC9D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC5C,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,KAAK;eAdL,KAAK,CAAC,SAAS;cAChB,MAAM;UACV,MAAM;eACD,OAAO;kBACJ,MAAM;cACV,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU;WACvE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ;WACtD,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;cACjC,SAAS,GAAG,SAAS,GAAG,aAAa;YACvC,SAAS,GAAG,QAAQ,GAAG,MAAM;eAC1B,OAAO;eACP,OAAO;qCA8DlB,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type LayoutMode = 'dashboard' | 'split' | 'stack';
|
|
3
|
+
type LayoutVariant = 'default' | 'flat' | 'elevated' | 'glass' | 'contrast';
|
|
4
|
+
type LayoutDensity = 'default' | 'compact' | 'comfortable';
|
|
5
|
+
type LayoutMaxWidth = 'sm' | 'md' | 'lg' | 'xl';
|
|
6
|
+
type LayoutSidebarSide = 'start' | 'end';
|
|
7
|
+
export declare const Layout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
mode?: LayoutMode;
|
|
10
|
+
variant?: LayoutVariant;
|
|
11
|
+
density?: LayoutDensity;
|
|
12
|
+
maxWidth?: LayoutMaxWidth;
|
|
13
|
+
sidebarSide?: LayoutSidebarSide;
|
|
14
|
+
collapsed?: boolean;
|
|
15
|
+
headless?: boolean;
|
|
16
|
+
sidebarWidth?: string;
|
|
17
|
+
asideWidth?: string;
|
|
18
|
+
onLayoutChange?: () => void;
|
|
19
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
20
|
+
export default Layout;
|
|
21
|
+
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAIlE,KAAK,UAAU,GAAG,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;AAClD,KAAK,aAAa,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;AAC5E,KAAK,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAC3D,KAAK,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAChD,KAAK,iBAAiB,GAAG,OAAO,GAAG,KAAK,CAAC;AAgBzC,eAAO,MAAM,MAAM;eAbN,KAAK,CAAC,SAAS;WACnB,UAAU;cACP,aAAa;cACb,aAAa;eACZ,cAAc;kBACX,iBAAiB;gBACnB,OAAO;eACR,OAAO;mBACH,MAAM;iBACR,MAAM;qBACF,MAAM,IAAI;qCAgE3B,CAAC;AAIH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ListboxProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
itemSelector?: string;
|
|
4
|
+
directItemSelector?: string;
|
|
5
|
+
itemRole?: string;
|
|
6
|
+
activeAttribute?: string;
|
|
7
|
+
container?: ParentNode | null;
|
|
8
|
+
items?: HTMLElement[] | null;
|
|
9
|
+
onCollectionChange?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const Listbox: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
12
|
+
itemSelector?: string;
|
|
13
|
+
directItemSelector?: string;
|
|
14
|
+
itemRole?: string;
|
|
15
|
+
activeAttribute?: string;
|
|
16
|
+
container?: ParentNode | null;
|
|
17
|
+
items?: HTMLElement[] | null;
|
|
18
|
+
onCollectionChange?: () => void;
|
|
19
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
20
|
+
export default Listbox;
|
|
21
|
+
//# sourceMappingURL=Listbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../src/components/Listbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC7D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,OAAO;mBATH,MAAM;yBACA,MAAM;eAChB,MAAM;sBACC,MAAM;gBACZ,UAAU,GAAG,IAAI;YACrB,WAAW,EAAE,GAAG,IAAI;yBACP,MAAM,IAAI;qCAoC/B,CAAC;AAIH,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type MenuSelectDetail = {
|
|
3
|
+
index?: number;
|
|
4
|
+
value?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
item?: HTMLElement;
|
|
8
|
+
};
|
|
9
|
+
type MenuItemRole = 'menuitem' | 'menuitemcheckbox' | 'menuitemradio';
|
|
10
|
+
type MenuSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
|
|
11
|
+
export declare const Menu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
} & {
|
|
14
|
+
open?: boolean;
|
|
15
|
+
placement?: "top" | "bottom" | "left" | "right";
|
|
16
|
+
variant?: "surface" | "soft" | "solid" | "outline" | "flat" | "contrast" | "default" | "line" | "glass";
|
|
17
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
18
|
+
density?: "default" | "compact" | "comfortable";
|
|
19
|
+
radius?: number | string;
|
|
20
|
+
shape?: "default" | "square" | "soft";
|
|
21
|
+
elevation?: "default" | "none" | "low" | "high";
|
|
22
|
+
tone?: "default" | "brand" | "neutral" | "info" | "danger" | "success" | "warning";
|
|
23
|
+
closeOnSelect?: boolean;
|
|
24
|
+
typeahead?: boolean;
|
|
25
|
+
onOpen?: () => void;
|
|
26
|
+
onClose?: () => void;
|
|
27
|
+
onChange?: (open: boolean) => void;
|
|
28
|
+
onSelect?: (idx: number) => void;
|
|
29
|
+
onSelectDetail?: (detail: MenuSelectDetail) => void;
|
|
30
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
31
|
+
export declare const MenuItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
32
|
+
children?: React.ReactNode;
|
|
33
|
+
icon?: React.ReactNode;
|
|
34
|
+
shortcut?: React.ReactNode;
|
|
35
|
+
caption?: React.ReactNode;
|
|
36
|
+
tone?: "danger" | "success" | "warning";
|
|
37
|
+
role?: MenuItemRole;
|
|
38
|
+
checked?: boolean;
|
|
39
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
export declare const MenuSeparator: React.ForwardRefExoticComponent<MenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
export declare const MenuSectionLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
export default Menu;
|
|
45
|
+
//# s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