@hyperpackai/hyperui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +82 -0
- package/dist/components/Accordion/index.d.ts +17 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Accordion/index.js +46 -0
- package/dist/components/Alert/index.d.ts +13 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Alert/index.js +46 -0
- package/dist/components/AppBar/index.d.ts +19 -0
- package/dist/components/AppBar/index.d.ts.map +1 -0
- package/dist/components/AppBar/index.js +48 -0
- package/dist/components/AspectRatio/index.d.ts +8 -0
- package/dist/components/AspectRatio/index.d.ts.map +1 -0
- package/dist/components/AspectRatio/index.js +32 -0
- package/dist/components/Autocomplete/index.d.ts +21 -0
- package/dist/components/Autocomplete/index.d.ts.map +1 -0
- package/dist/components/Autocomplete/index.js +94 -0
- package/dist/components/Avatar/index.d.ts +12 -0
- package/dist/components/Avatar/index.d.ts.map +1 -0
- package/dist/components/Avatar/index.js +32 -0
- package/dist/components/AvatarGroup/index.d.ts +9 -0
- package/dist/components/AvatarGroup/index.d.ts.map +1 -0
- package/dist/components/AvatarGroup/index.js +24 -0
- package/dist/components/Backdrop/index.d.ts +10 -0
- package/dist/components/Backdrop/index.d.ts.map +1 -0
- package/dist/components/Backdrop/index.js +25 -0
- package/dist/components/Badge/index.d.ts +10 -0
- package/dist/components/Badge/index.d.ts.map +1 -0
- package/dist/components/Badge/index.js +30 -0
- package/dist/components/BottomNavigation/index.d.ts +16 -0
- package/dist/components/BottomNavigation/index.d.ts.map +1 -0
- package/dist/components/BottomNavigation/index.js +43 -0
- package/dist/components/Box/index.d.ts +21 -0
- package/dist/components/Box/index.d.ts.map +1 -0
- package/dist/components/Box/index.js +30 -0
- package/dist/components/Breadcrumb/index.d.ts +13 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/Breadcrumb/index.js +19 -0
- package/dist/components/Button/index.d.ts +22 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Button/index.js +93 -0
- package/dist/components/ButtonGroup/index.d.ts +9 -0
- package/dist/components/ButtonGroup/index.d.ts.map +1 -0
- package/dist/components/ButtonGroup/index.js +27 -0
- package/dist/components/Card/index.d.ts +14 -0
- package/dist/components/Card/index.d.ts.map +1 -0
- package/dist/components/Card/index.js +33 -0
- package/dist/components/Checkbox/index.d.ts +17 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Checkbox/index.js +42 -0
- package/dist/components/Chip/index.d.ts +18 -0
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/Chip/index.js +60 -0
- package/dist/components/CircularProgress/index.d.ts +14 -0
- package/dist/components/CircularProgress/index.d.ts.map +1 -0
- package/dist/components/CircularProgress/index.js +58 -0
- package/dist/components/ClickAwayListener/index.d.ts +11 -0
- package/dist/components/ClickAwayListener/index.d.ts.map +1 -0
- package/dist/components/ClickAwayListener/index.js +31 -0
- package/dist/components/Code/index.d.ts +9 -0
- package/dist/components/Code/index.d.ts.map +1 -0
- package/dist/components/Code/index.js +50 -0
- package/dist/components/Collapse/index.d.ts +11 -0
- package/dist/components/Collapse/index.d.ts.map +1 -0
- package/dist/components/Collapse/index.js +30 -0
- package/dist/components/CommandPalette/index.d.ts +26 -0
- package/dist/components/CommandPalette/index.d.ts.map +1 -0
- package/dist/components/CommandPalette/index.js +141 -0
- package/dist/components/Container/index.d.ts +11 -0
- package/dist/components/Container/index.d.ts.map +1 -0
- package/dist/components/Container/index.js +18 -0
- package/dist/components/DashboardLayout/index.d.ts +15 -0
- package/dist/components/DashboardLayout/index.d.ts.map +1 -0
- package/dist/components/DashboardLayout/index.js +67 -0
- package/dist/components/DataTable/index.d.ts +27 -0
- package/dist/components/DataTable/index.d.ts.map +1 -0
- package/dist/components/DataTable/index.js +59 -0
- package/dist/components/Dialog/index.d.ts +19 -0
- package/dist/components/Dialog/index.d.ts.map +1 -0
- package/dist/components/Dialog/index.js +96 -0
- package/dist/components/Divider/index.d.ts +13 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/Divider/index.js +40 -0
- package/dist/components/Drawer/index.d.ts +17 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Drawer/index.js +77 -0
- package/dist/components/DropdownMenu/index.d.ts +25 -0
- package/dist/components/DropdownMenu/index.d.ts.map +1 -0
- package/dist/components/DropdownMenu/index.js +67 -0
- package/dist/components/EmptyState/index.d.ts +11 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/EmptyState/index.js +53 -0
- package/dist/components/ErrorState/index.d.ts +12 -0
- package/dist/components/ErrorState/index.d.ts.map +1 -0
- package/dist/components/ErrorState/index.js +54 -0
- package/dist/components/Fab/index.d.ts +16 -0
- package/dist/components/Fab/index.d.ts.map +1 -0
- package/dist/components/Fab/index.js +39 -0
- package/dist/components/Fade/index.d.ts +10 -0
- package/dist/components/Fade/index.d.ts.map +1 -0
- package/dist/components/Fade/index.js +13 -0
- package/dist/components/FocusTrap/index.d.ts +11 -0
- package/dist/components/FocusTrap/index.d.ts.map +1 -0
- package/dist/components/FocusTrap/index.js +69 -0
- package/dist/components/FormControl/index.d.ts +34 -0
- package/dist/components/FormControl/index.d.ts.map +1 -0
- package/dist/components/FormControl/index.js +52 -0
- package/dist/components/GlobalSearch/index.d.ts +23 -0
- package/dist/components/GlobalSearch/index.d.ts.map +1 -0
- package/dist/components/GlobalSearch/index.js +91 -0
- package/dist/components/Grid/index.d.ts +19 -0
- package/dist/components/Grid/index.d.ts.map +1 -0
- package/dist/components/Grid/index.js +30 -0
- package/dist/components/Grow/index.d.ts +10 -0
- package/dist/components/Grow/index.d.ts.map +1 -0
- package/dist/components/Grow/index.js +13 -0
- package/dist/components/IconButton/index.d.ts +16 -0
- package/dist/components/IconButton/index.d.ts.map +1 -0
- package/dist/components/IconButton/index.js +43 -0
- package/dist/components/ImageList/index.d.ts +21 -0
- package/dist/components/ImageList/index.d.ts.map +1 -0
- package/dist/components/ImageList/index.js +39 -0
- package/dist/components/Input/index.d.ts +33 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Input/index.js +45 -0
- package/dist/components/Kbd/index.d.ts +8 -0
- package/dist/components/Kbd/index.d.ts.map +1 -0
- package/dist/components/Kbd/index.js +41 -0
- package/dist/components/KeyboardShortcut/index.d.ts +20 -0
- package/dist/components/KeyboardShortcut/index.d.ts.map +1 -0
- package/dist/components/KeyboardShortcut/index.js +63 -0
- package/dist/components/Label/index.d.ts +10 -0
- package/dist/components/Label/index.d.ts.map +1 -0
- package/dist/components/Label/index.js +17 -0
- package/dist/components/LinearProgress/index.d.ts +13 -0
- package/dist/components/LinearProgress/index.d.ts.map +1 -0
- package/dist/components/LinearProgress/index.js +69 -0
- package/dist/components/Link/index.d.ts +16 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/Link/index.js +25 -0
- package/dist/components/List/index.d.ts +40 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/List/index.js +70 -0
- package/dist/components/LoadingState/index.d.ts +11 -0
- package/dist/components/LoadingState/index.d.ts.map +1 -0
- package/dist/components/LoadingState/index.js +66 -0
- package/dist/components/Menu/index.d.ts +40 -0
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/Menu/index.js +103 -0
- package/dist/components/MobileStepper/index.d.ts +16 -0
- package/dist/components/MobileStepper/index.d.ts.map +1 -0
- package/dist/components/MobileStepper/index.js +67 -0
- package/dist/components/Modal/index.d.ts +14 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/Modal/index.js +51 -0
- package/dist/components/Navbar/index.d.ts +14 -0
- package/dist/components/Navbar/index.d.ts.map +1 -0
- package/dist/components/Navbar/index.js +27 -0
- package/dist/components/NoSSR/index.d.ts +7 -0
- package/dist/components/NoSSR/index.d.ts.map +1 -0
- package/dist/components/NoSSR/index.js +9 -0
- package/dist/components/PageLayout/index.d.ts +13 -0
- package/dist/components/PageLayout/index.d.ts.map +1 -0
- package/dist/components/PageLayout/index.js +41 -0
- package/dist/components/Pagination/index.d.ts +11 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Pagination/index.js +56 -0
- package/dist/components/Paper/index.d.ts +12 -0
- package/dist/components/Paper/index.d.ts.map +1 -0
- package/dist/components/Paper/index.js +24 -0
- package/dist/components/Popover/index.d.ts +13 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/Popover/index.js +34 -0
- package/dist/components/Progress/index.d.ts +13 -0
- package/dist/components/Progress/index.d.ts.map +1 -0
- package/dist/components/Progress/index.js +40 -0
- package/dist/components/Radio/index.d.ts +7 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/Radio/index.js +28 -0
- package/dist/components/Rating/index.d.ts +15 -0
- package/dist/components/Rating/index.d.ts.map +1 -0
- package/dist/components/Rating/index.js +41 -0
- package/dist/components/ResizablePanel/index.d.ts +16 -0
- package/dist/components/ResizablePanel/index.d.ts.map +1 -0
- package/dist/components/ResizablePanel/index.js +41 -0
- package/dist/components/ScrollArea/index.d.ts +12 -0
- package/dist/components/ScrollArea/index.d.ts.map +1 -0
- package/dist/components/ScrollArea/index.js +50 -0
- package/dist/components/Select/index.d.ts +23 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/Select/index.js +52 -0
- package/dist/components/Sheet/index.d.ts +15 -0
- package/dist/components/Sheet/index.d.ts.map +1 -0
- package/dist/components/Sheet/index.js +61 -0
- package/dist/components/Sidebar/index.d.ts +23 -0
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/components/Sidebar/index.js +37 -0
- package/dist/components/Skeleton/index.d.ts +9 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Skeleton/index.js +22 -0
- package/dist/components/Slide/index.d.ts +12 -0
- package/dist/components/Slide/index.d.ts.map +1 -0
- package/dist/components/Slide/index.js +21 -0
- package/dist/components/Slider/index.d.ts +19 -0
- package/dist/components/Slider/index.d.ts.map +1 -0
- package/dist/components/Slider/index.js +49 -0
- package/dist/components/Snackbar/index.d.ts +28 -0
- package/dist/components/Snackbar/index.d.ts.map +1 -0
- package/dist/components/Snackbar/index.js +71 -0
- package/dist/components/SpeedDial/index.d.ts +18 -0
- package/dist/components/SpeedDial/index.d.ts.map +1 -0
- package/dist/components/SpeedDial/index.js +71 -0
- package/dist/components/Spinner/index.d.ts +10 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/Spinner/index.js +67 -0
- package/dist/components/SplitPane/index.d.ts +11 -0
- package/dist/components/SplitPane/index.d.ts.map +1 -0
- package/dist/components/SplitPane/index.js +46 -0
- package/dist/components/Stack/index.d.ts +17 -0
- package/dist/components/Stack/index.d.ts.map +1 -0
- package/dist/components/Stack/index.js +30 -0
- package/dist/components/Stepper/index.d.ts +20 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Stepper/index.js +66 -0
- package/dist/components/Switch/index.d.ts +13 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/Switch/index.js +38 -0
- package/dist/components/Tabs/index.d.ts +20 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tabs/index.js +62 -0
- package/dist/components/TextField/index.d.ts +35 -0
- package/dist/components/TextField/index.d.ts.map +1 -0
- package/dist/components/TextField/index.js +69 -0
- package/dist/components/Textarea/index.d.ts +22 -0
- package/dist/components/Textarea/index.d.ts.map +1 -0
- package/dist/components/Textarea/index.js +27 -0
- package/dist/components/Timeline/index.d.ts +16 -0
- package/dist/components/Timeline/index.d.ts.map +1 -0
- package/dist/components/Timeline/index.js +30 -0
- package/dist/components/Toast/index.d.ts +34 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/Toast/index.js +106 -0
- package/dist/components/ToggleButton/index.d.ts +21 -0
- package/dist/components/ToggleButton/index.d.ts.map +1 -0
- package/dist/components/ToggleButton/index.js +81 -0
- package/dist/components/Tooltip/index.d.ts +14 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/Tooltip/index.js +47 -0
- package/dist/components/TreeView/index.d.ts +19 -0
- package/dist/components/TreeView/index.d.ts.map +1 -0
- package/dist/components/TreeView/index.js +50 -0
- package/dist/components/Typography/index.d.ts +17 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/Typography/index.js +44 -0
- package/dist/components/VisuallyHidden/index.d.ts +7 -0
- package/dist/components/VisuallyHidden/index.d.ts.map +1 -0
- package/dist/components/VisuallyHidden/index.js +18 -0
- package/dist/components/Zoom/index.d.ts +10 -0
- package/dist/components/Zoom/index.d.ts.map +1 -0
- package/dist/components/Zoom/index.js +13 -0
- package/dist/components/ai.d.ts +133 -0
- package/dist/components/ai.d.ts.map +1 -0
- package/dist/components/ai.js +184 -0
- package/dist/components/charts.d.ts +143 -0
- package/dist/components/charts.d.ts.map +1 -0
- package/dist/components/charts.js +435 -0
- package/dist/components/data.d.ts +192 -0
- package/dist/components/data.d.ts.map +1 -0
- package/dist/components/data.js +581 -0
- package/dist/components/date.d.ts +73 -0
- package/dist/components/date.d.ts.map +1 -0
- package/dist/components/date.js +199 -0
- package/dist/components/enterprise.d.ts +246 -0
- package/dist/components/enterprise.d.ts.map +1 -0
- package/dist/components/enterprise.js +428 -0
- package/dist/components/form.d.ts +132 -0
- package/dist/components/form.d.ts.map +1 -0
- package/dist/components/form.js +380 -0
- package/dist/components/index.d.ts +173 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +107 -0
- package/dist/components/inputs.d.ts +169 -0
- package/dist/components/inputs.d.ts.map +1 -0
- package/dist/components/inputs.js +437 -0
- package/dist/components/layout.d.ts +224 -0
- package/dist/components/layout.d.ts.map +1 -0
- package/dist/components/layout.js +644 -0
- package/dist/components/overlay.d.ts +102 -0
- package/dist/components/overlay.d.ts.map +1 -0
- package/dist/components/overlay.js +318 -0
- package/dist/components/surfaces.d.ts +180 -0
- package/dist/components/surfaces.d.ts.map +1 -0
- package/dist/components/surfaces.js +423 -0
- package/dist/components/typography.d.ts +69 -0
- package/dist/components/typography.d.ts.map +1 -0
- package/dist/components/typography.js +206 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/portal.d.ts +3 -0
- package/dist/portal.d.ts.map +1 -0
- package/dist/portal.js +17 -0
- package/dist/theme/index.d.ts +31 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +258 -0
- package/dist/tokens/component.d.ts +124 -0
- package/dist/tokens/component.d.ts.map +1 -0
- package/dist/tokens/component.js +113 -0
- package/dist/tokens/index.d.ts +494 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +345 -0
- package/dist/tokens/primitives.d.ts +675 -0
- package/dist/tokens/primitives.d.ts.map +1 -0
- package/dist/tokens/primitives.js +356 -0
- package/dist/tokens/semantic.d.ts +252 -0
- package/dist/tokens/semantic.d.ts.map +1 -0
- package/dist/tokens/semantic.js +242 -0
- package/dist/tokens/themes.d.ts +18 -0
- package/dist/tokens/themes.d.ts.map +1 -0
- package/dist/tokens/themes.js +316 -0
- package/package.json +69 -0
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import { injectCSS, cn, h } from "../theme/index.js";
|
|
2
|
+
import { Select } from "./Select/index.js";
|
|
3
|
+
import { Switch } from "./Switch/index.js";
|
|
4
|
+
import { TextField } from "./TextField/index.js";
|
|
5
|
+
const FORM_CSS = `
|
|
6
|
+
.hu-form { display: flex; flex-direction: column; gap: var(--hu-space-4); }
|
|
7
|
+
.hu-form__actions { display: flex; gap: var(--hu-space-2); justify-content: flex-end; flex-wrap: wrap; }
|
|
8
|
+
.hu-form-section { display: flex; flex-direction: column; gap: var(--hu-space-3); }
|
|
9
|
+
.hu-form-section__header { display: flex; flex-direction: column; gap: var(--hu-space-1); }
|
|
10
|
+
.hu-form-section__title { margin: 0; font-size: var(--hu-font-size-lg); font-weight: var(--hu-font-weight-semibold); color: var(--hu-text); }
|
|
11
|
+
.hu-form-section__description { margin: 0; color: var(--hu-text-2); font-size: var(--hu-font-size-sm); }
|
|
12
|
+
.hu-form-field { display: flex; flex-direction: column; gap: var(--hu-space-1); }
|
|
13
|
+
.hu-form-field__label { font-size: var(--hu-font-size-sm); font-weight: var(--hu-font-weight-medium); color: var(--hu-text); }
|
|
14
|
+
.hu-form-field__required { color: var(--hu-error); margin-inline-start: 2px; }
|
|
15
|
+
.hu-form-field__description { color: var(--hu-text-2); font-size: var(--hu-font-size-xs); }
|
|
16
|
+
.hu-form-field__error { color: var(--hu-error-text); font-size: var(--hu-font-size-xs); }
|
|
17
|
+
.hu-form-field__control { display: contents; }
|
|
18
|
+
.hu-wizard-form { display: flex; flex-direction: column; gap: var(--hu-space-4); }
|
|
19
|
+
.hu-wizard-form__steps { display: flex; gap: var(--hu-space-2); flex-wrap: wrap; }
|
|
20
|
+
.hu-wizard-form__step { border: 1px solid var(--hu-border); border-radius: var(--hu-radius); background: var(--hu-bg-2); padding: var(--hu-space-2) var(--hu-space-3); }
|
|
21
|
+
.hu-wizard-form__step[aria-current="step"] { border-color: var(--hu-primary); color: var(--hu-primary); }
|
|
22
|
+
.hu-wizard-form__panel { border: 1px solid var(--hu-border); border-radius: var(--hu-radius); padding: var(--hu-space-4); background: var(--hu-bg); }
|
|
23
|
+
.hu-dynamic-form__grid { display: grid; grid-template-columns: repeat(var(--hu-dynamic-columns, 1), minmax(0, 1fr)); gap: var(--hu-space-3); }
|
|
24
|
+
.hu-dynamic-form__field--full { grid-column: 1 / -1; }
|
|
25
|
+
.hu-file-upload,
|
|
26
|
+
.hu-dropzone,
|
|
27
|
+
.hu-code-entry,
|
|
28
|
+
.hu-color-picker { display: flex; flex-direction: column; gap: 10px; width: 100%; min-width: 0; }
|
|
29
|
+
.hu-file-upload__label,
|
|
30
|
+
.hu-dropzone__label,
|
|
31
|
+
.hu-code-entry__label,
|
|
32
|
+
.hu-color-picker__label { color: var(--hu-text); font-size: var(--hu-font-size-sm); font-weight: var(--hu-font-weight-semibold); line-height: 1.35; }
|
|
33
|
+
.hu-file-upload__control {
|
|
34
|
+
display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--hu-space-3);
|
|
35
|
+
padding: var(--hu-space-4);
|
|
36
|
+
border: 1px solid color-mix(in srgb, var(--hu-border) 82%, transparent);
|
|
37
|
+
border-radius: var(--hu-radius-xl);
|
|
38
|
+
background:
|
|
39
|
+
linear-gradient(180deg, color-mix(in srgb, var(--hu-bg) 94%, transparent), color-mix(in srgb, var(--hu-bg-2) 86%, transparent)),
|
|
40
|
+
radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--hu-primary-bg) 56%, transparent), transparent 18rem);
|
|
41
|
+
box-shadow: var(--hu-shadow-sm);
|
|
42
|
+
}
|
|
43
|
+
.hu-file-upload__input {
|
|
44
|
+
width: 100%; min-height: 44px; color: var(--hu-text-2); font-size: var(--hu-font-size-sm);
|
|
45
|
+
border: 1px solid var(--hu-border); border-radius: var(--hu-radius-lg);
|
|
46
|
+
background: linear-gradient(180deg, var(--hu-bg), var(--hu-bg-2));
|
|
47
|
+
padding: 5px; box-shadow: var(--hu-shadow-xs);
|
|
48
|
+
}
|
|
49
|
+
.hu-file-upload__input::file-selector-button {
|
|
50
|
+
margin-inline-end: var(--hu-space-3); min-height: 32px; padding: 7px 13px;
|
|
51
|
+
border: 1px solid color-mix(in srgb, var(--hu-primary) 38%, var(--hu-border));
|
|
52
|
+
border-radius: var(--hu-radius-md);
|
|
53
|
+
background: linear-gradient(180deg, var(--hu-primary-bg), color-mix(in srgb, var(--hu-primary-bg) 72%, var(--hu-bg)));
|
|
54
|
+
color: var(--hu-primary); cursor: pointer; font-weight: var(--hu-font-weight-semibold);
|
|
55
|
+
}
|
|
56
|
+
.hu-file-upload__input:hover { border-color: color-mix(in srgb, var(--hu-primary) 34%, var(--hu-border-2)); }
|
|
57
|
+
.hu-file-upload__input:hover::file-selector-button { border-color: var(--hu-primary); }
|
|
58
|
+
.hu-file-upload__input:focus-visible { outline: 2px solid var(--hu-primary); outline-offset: 2px; }
|
|
59
|
+
.hu-file-upload__hint,
|
|
60
|
+
.hu-dropzone__hint,
|
|
61
|
+
.hu-color-picker__hint { color: var(--hu-text-2); font-size: var(--hu-font-size-xs); line-height: 1.45; max-width: 70ch; }
|
|
62
|
+
.hu-file-upload__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
|
|
63
|
+
.hu-file-upload__item {
|
|
64
|
+
display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: var(--hu-space-3);
|
|
65
|
+
padding: var(--hu-space-2) var(--hu-space-3); border: 1px solid color-mix(in srgb, var(--hu-border) 82%, transparent);
|
|
66
|
+
border-radius: var(--hu-radius-lg); background: color-mix(in srgb, var(--hu-bg-2) 72%, var(--hu-bg)); color: var(--hu-text-2);
|
|
67
|
+
font-size: var(--hu-font-size-xs);
|
|
68
|
+
}
|
|
69
|
+
.hu-file-upload__file-icon {
|
|
70
|
+
display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: var(--hu-radius-md);
|
|
71
|
+
background: var(--hu-primary-bg); color: var(--hu-primary); font-weight: var(--hu-font-weight-bold);
|
|
72
|
+
}
|
|
73
|
+
.hu-file-upload__file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hu-text); font-weight: var(--hu-font-weight-medium); }
|
|
74
|
+
.hu-file-upload__file-size { color: var(--hu-text-3); font-variant-numeric: tabular-nums; }
|
|
75
|
+
.hu-dropzone__target {
|
|
76
|
+
display: grid; place-items: center; gap: 10px; min-height: var(--hu-dropzone-min-height, 168px);
|
|
77
|
+
padding: var(--hu-space-6); border: 1.5px dashed var(--hu-border-2);
|
|
78
|
+
border-radius: var(--hu-radius-xl); background:
|
|
79
|
+
linear-gradient(180deg, color-mix(in srgb, var(--hu-bg) 94%, transparent), color-mix(in srgb, var(--hu-bg-2) 84%, transparent)),
|
|
80
|
+
radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--hu-primary-bg) 74%, transparent), transparent 19rem);
|
|
81
|
+
color: var(--hu-text-2);
|
|
82
|
+
text-align: center; cursor: pointer; box-shadow: var(--hu-shadow-xs);
|
|
83
|
+
transition: border-color var(--hu-duration) var(--hu-ease), background var(--hu-duration) var(--hu-ease), box-shadow var(--hu-duration) var(--hu-ease), transform var(--hu-duration-fast) var(--hu-ease);
|
|
84
|
+
}
|
|
85
|
+
.hu-dropzone__target:hover,
|
|
86
|
+
.hu-dropzone__target:focus-visible {
|
|
87
|
+
outline: none; border-color: var(--hu-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hu-primary) 18%, transparent), var(--hu-shadow-sm);
|
|
88
|
+
transform: translateY(-1px);
|
|
89
|
+
}
|
|
90
|
+
.hu-dropzone--active .hu-dropzone__target { border-color: var(--hu-primary); background: var(--hu-primary-bg); }
|
|
91
|
+
.hu-dropzone__icon {
|
|
92
|
+
display: grid; place-items: center; width: 54px; height: 54px; border-radius: var(--hu-radius-xl);
|
|
93
|
+
background: linear-gradient(180deg, var(--hu-primary-bg), color-mix(in srgb, var(--hu-primary-bg) 72%, var(--hu-bg)));
|
|
94
|
+
color: var(--hu-primary); font-size: var(--hu-font-size-2xl); font-weight: var(--hu-font-weight-bold);
|
|
95
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hu-primary) 18%, transparent), var(--hu-shadow-xs);
|
|
96
|
+
}
|
|
97
|
+
.hu-dropzone__title { color: var(--hu-text); font-size: var(--hu-font-size-sm); font-weight: var(--hu-font-weight-semibold); }
|
|
98
|
+
.hu-dropzone__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
|
|
99
|
+
.hu-code-entry__inputs { display: flex; gap: var(--hu-space-2); flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 2px; }
|
|
100
|
+
.hu-code-entry__input {
|
|
101
|
+
width: 46px; height: 52px; flex: 0 0 auto; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-lg);
|
|
102
|
+
background: linear-gradient(180deg, var(--hu-bg), var(--hu-bg-2)); color: var(--hu-text); text-align: center; font-family: var(--hu-font-mono);
|
|
103
|
+
font-size: var(--hu-font-size-lg); font-weight: var(--hu-font-weight-bold); outline: none; box-shadow: var(--hu-shadow-xs);
|
|
104
|
+
transition: border-color var(--hu-duration) var(--hu-ease), box-shadow var(--hu-duration) var(--hu-ease), transform var(--hu-duration-fast) var(--hu-ease);
|
|
105
|
+
}
|
|
106
|
+
.hu-code-entry__input:focus { border-color: var(--hu-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hu-primary) 18%, transparent), var(--hu-shadow-sm); transform: translateY(-1px); }
|
|
107
|
+
.hu-code-entry__input:disabled { opacity: .55; cursor: not-allowed; background: var(--hu-bg-3); }
|
|
108
|
+
.hu-color-picker__row {
|
|
109
|
+
display: grid; grid-template-columns: 56px 54px minmax(120px, 1fr); align-items: center; gap: var(--hu-space-3);
|
|
110
|
+
padding: var(--hu-space-3); border: 1px solid color-mix(in srgb, var(--hu-border) 82%, transparent);
|
|
111
|
+
border-radius: var(--hu-radius-xl); background: linear-gradient(180deg, var(--hu-bg), var(--hu-bg-2));
|
|
112
|
+
box-shadow: var(--hu-shadow-xs);
|
|
113
|
+
}
|
|
114
|
+
.hu-color-picker__swatch {
|
|
115
|
+
width: 52px; height: 52px; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-lg);
|
|
116
|
+
background:
|
|
117
|
+
linear-gradient(45deg, #d1d5db 25%, transparent 25% 75%, #d1d5db 75%),
|
|
118
|
+
linear-gradient(45deg, #d1d5db 25%, transparent 25% 75%, #d1d5db 75%),
|
|
119
|
+
var(--hu-color-picker-value, #2563eb);
|
|
120
|
+
background-size: 12px 12px;
|
|
121
|
+
background-position: 0 0, 6px 6px, 0 0;
|
|
122
|
+
box-shadow: inset 0 0 0 5px color-mix(in srgb, white 28%, transparent), var(--hu-shadow-sm);
|
|
123
|
+
}
|
|
124
|
+
.hu-color-picker__native {
|
|
125
|
+
width: 54px; height: 46px; padding: 4px; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-lg);
|
|
126
|
+
background: var(--hu-bg); cursor: pointer; box-shadow: var(--hu-shadow-xs);
|
|
127
|
+
}
|
|
128
|
+
.hu-color-picker__text {
|
|
129
|
+
width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--hu-border); border-radius: var(--hu-radius-lg);
|
|
130
|
+
background: linear-gradient(180deg, var(--hu-bg), var(--hu-bg-2)); color: var(--hu-text); font-family: var(--hu-font-mono); font-size: var(--hu-font-size-sm);
|
|
131
|
+
outline: none; box-shadow: var(--hu-shadow-xs);
|
|
132
|
+
}
|
|
133
|
+
.hu-color-picker__native:focus-visible,
|
|
134
|
+
.hu-color-picker__text:focus { border-color: var(--hu-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hu-primary) 18%, transparent), var(--hu-shadow-sm); outline: none; }
|
|
135
|
+
@media (max-width: 720px) {
|
|
136
|
+
.hu-dynamic-form__grid { grid-template-columns: minmax(0, 1fr); }
|
|
137
|
+
.hu-color-picker__row { grid-template-columns: 52px minmax(0, 1fr); }
|
|
138
|
+
.hu-color-picker__text { grid-column: 1 / -1; }
|
|
139
|
+
}
|
|
140
|
+
`;
|
|
141
|
+
export function createValidationEngine(schema) {
|
|
142
|
+
return {
|
|
143
|
+
validate(values) {
|
|
144
|
+
const errors = {};
|
|
145
|
+
for (const key of Object.keys(schema)) {
|
|
146
|
+
const rule = schema[key];
|
|
147
|
+
if (!rule)
|
|
148
|
+
continue;
|
|
149
|
+
const value = values[key];
|
|
150
|
+
if (rule.required && isEmpty(value)) {
|
|
151
|
+
errors[key] = typeof rule.required === "string" ? rule.required : "This field is required.";
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
const error = rule.validate?.(value, values);
|
|
155
|
+
if (error)
|
|
156
|
+
errors[key] = error;
|
|
157
|
+
}
|
|
158
|
+
return errors;
|
|
159
|
+
},
|
|
160
|
+
isValid(values) {
|
|
161
|
+
return Object.keys(this.validate(values)).length === 0;
|
|
162
|
+
},
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
export function Form(props) {
|
|
166
|
+
injectCSS("hu-form", FORM_CSS);
|
|
167
|
+
return h("form", {
|
|
168
|
+
class: cn("hu-form", props.class),
|
|
169
|
+
novalidate: true,
|
|
170
|
+
onSubmit: (event) => {
|
|
171
|
+
event.preventDefault();
|
|
172
|
+
props.onSubmit?.(props.values ?? {});
|
|
173
|
+
},
|
|
174
|
+
}, props.children, props.actions ? h("div", { class: "hu-form__actions" }, props.actions) : null);
|
|
175
|
+
}
|
|
176
|
+
export function FormField(props) {
|
|
177
|
+
injectCSS("hu-form", FORM_CSS);
|
|
178
|
+
const descriptionId = props.description ? `${props.id}-description` : undefined;
|
|
179
|
+
const errorId = props.error ? `${props.id}-error` : undefined;
|
|
180
|
+
const describedBy = [descriptionId, errorId].filter(Boolean).join(" ");
|
|
181
|
+
return h("div", { class: cn("hu-form-field", props.class), "data-field": props.name }, props.label ? h("label", { class: "hu-form-field__label", for: props.id }, props.label, props.required ? h("span", { class: "hu-form-field__required", "aria-hidden": "true" }, "*") : null) : null, props.description ? h("div", { id: descriptionId, class: "hu-form-field__description" }, props.description) : null, h("div", { class: "hu-form-field__control", "data-describedby": describedBy || undefined }, props.children), props.error ? h("div", { id: errorId, class: "hu-form-field__error", role: "alert" }, props.error) : null);
|
|
182
|
+
}
|
|
183
|
+
export function FormSection(props) {
|
|
184
|
+
injectCSS("hu-form", FORM_CSS);
|
|
185
|
+
return h("section", { class: cn("hu-form-section", props.class), "aria-label": props.title }, props.title || props.description
|
|
186
|
+
? h("header", { class: "hu-form-section__header" }, props.title ? h("h2", { class: "hu-form-section__title" }, props.title) : null, props.description ? h("p", { class: "hu-form-section__description" }, props.description) : null)
|
|
187
|
+
: null, props.children);
|
|
188
|
+
}
|
|
189
|
+
export function WizardForm(props) {
|
|
190
|
+
injectCSS("hu-form", FORM_CSS);
|
|
191
|
+
const active = props.steps.find((step) => step.id === props.activeStep) ?? props.steps[0];
|
|
192
|
+
const engine = createValidationEngine(props.schema ?? {});
|
|
193
|
+
const errors = engine.validate(props.values ?? {});
|
|
194
|
+
return h("form", {
|
|
195
|
+
class: cn("hu-wizard-form", props.class),
|
|
196
|
+
novalidate: true,
|
|
197
|
+
onSubmit: (event) => {
|
|
198
|
+
event.preventDefault();
|
|
199
|
+
props.onSubmit?.(props.values ?? {});
|
|
200
|
+
},
|
|
201
|
+
}, h("div", { class: "hu-wizard-form__steps", role: "tablist", "aria-label": "Form steps" }, ...props.steps.map((step) => {
|
|
202
|
+
const hasError = step.fields?.some((field) => Boolean(errors[field])) ?? false;
|
|
203
|
+
return h("button", {
|
|
204
|
+
type: "button",
|
|
205
|
+
class: "hu-wizard-form__step",
|
|
206
|
+
"aria-current": step.id === active?.id ? "step" : undefined,
|
|
207
|
+
"aria-label": `${step.title}: ${hasError ? "error" : "valid"}`,
|
|
208
|
+
onClick: () => props.onStepChange?.(step.id),
|
|
209
|
+
}, step.title);
|
|
210
|
+
})), h("div", { class: "hu-wizard-form__panel", role: "tabpanel", "aria-label": active?.title }, active?.content ?? null));
|
|
211
|
+
}
|
|
212
|
+
export function DynamicForm(props) {
|
|
213
|
+
injectCSS("hu-form", FORM_CSS);
|
|
214
|
+
const errors = createValidationEngine(props.schema ?? {}).validate(props.values);
|
|
215
|
+
return h("form", { class: cn("hu-form hu-dynamic-form", props.class), novalidate: true }, h("div", {
|
|
216
|
+
class: "hu-dynamic-form__grid",
|
|
217
|
+
style: `--hu-dynamic-columns:${props.columns ?? 1}`,
|
|
218
|
+
}, ...props.fields.map((field) => {
|
|
219
|
+
const key = field.name;
|
|
220
|
+
const id = `hu-field-${field.name}`;
|
|
221
|
+
const value = props.values[key];
|
|
222
|
+
return h("div", { class: cn(field.fullWidth && "hu-dynamic-form__field--full") }, FormField({
|
|
223
|
+
id,
|
|
224
|
+
name: field.name,
|
|
225
|
+
label: field.label,
|
|
226
|
+
required: field.required,
|
|
227
|
+
error: errors[key],
|
|
228
|
+
children: renderDynamicControl(field, value, (next) => props.onChange?.(key, next)),
|
|
229
|
+
}));
|
|
230
|
+
})));
|
|
231
|
+
}
|
|
232
|
+
function renderDynamicControl(field, value, onChange) {
|
|
233
|
+
if (field.type === "select") {
|
|
234
|
+
return Select({
|
|
235
|
+
name: field.name,
|
|
236
|
+
value: String(value ?? ""),
|
|
237
|
+
options: field.options ?? [],
|
|
238
|
+
onChange: (event) => onChange(event.target.value),
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
if (field.type === "switch") {
|
|
242
|
+
return Switch({
|
|
243
|
+
name: field.name,
|
|
244
|
+
checked: Boolean(value),
|
|
245
|
+
onChange: (event) => onChange(event.target.checked),
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
return TextField({
|
|
249
|
+
id: `hu-field-${field.name}`,
|
|
250
|
+
name: field.name,
|
|
251
|
+
type: field.type === "textarea" ? "text" : field.type,
|
|
252
|
+
value: String(value ?? ""),
|
|
253
|
+
required: field.required,
|
|
254
|
+
onChange: (next) => onChange(next),
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
function isEmpty(value) {
|
|
258
|
+
return value === null || value === undefined || value === "";
|
|
259
|
+
}
|
|
260
|
+
function formatSize(size) {
|
|
261
|
+
if (size === undefined)
|
|
262
|
+
return "";
|
|
263
|
+
if (size < 1024)
|
|
264
|
+
return `${size} B`;
|
|
265
|
+
if (size < 1024 * 1024)
|
|
266
|
+
return `${Math.round(size / 102.4) / 10} KB`;
|
|
267
|
+
return `${Math.round(size / 1024 / 102.4) / 10} MB`;
|
|
268
|
+
}
|
|
269
|
+
export function FileUpload(props = {}) {
|
|
270
|
+
injectCSS("hu-form", FORM_CSS);
|
|
271
|
+
const id = props.id ?? props.name ?? "hu-file-upload";
|
|
272
|
+
return h("div", { class: cn("hu-file-upload", props.class) }, props.label ? h("label", { class: "hu-file-upload__label", for: id }, props.label) : null, h("div", { class: "hu-file-upload__control" }, h("input", {
|
|
273
|
+
id,
|
|
274
|
+
name: props.name,
|
|
275
|
+
class: "hu-file-upload__input",
|
|
276
|
+
type: "file",
|
|
277
|
+
accept: props.accept,
|
|
278
|
+
multiple: props.multiple,
|
|
279
|
+
disabled: props.disabled,
|
|
280
|
+
onChange: (event) => {
|
|
281
|
+
const files = event.target.files;
|
|
282
|
+
if (files)
|
|
283
|
+
props.onChange?.(files);
|
|
284
|
+
},
|
|
285
|
+
})), props.hint ? h("div", { class: "hu-file-upload__hint" }, props.hint) : null, props.files?.length ? h("ul", { class: "hu-file-upload__list", "aria-label": "Selected files" }, ...props.files.map((file) => h("li", { class: "hu-file-upload__item" }, h("span", { class: "hu-file-upload__file-icon", "aria-hidden": "true" }, "F"), h("span", { class: "hu-file-upload__file-name" }, file.name), h("span", { class: "hu-file-upload__file-size" }, formatSize(file.size))))) : null);
|
|
286
|
+
}
|
|
287
|
+
function sizeValue(value) {
|
|
288
|
+
if (value === undefined)
|
|
289
|
+
return undefined;
|
|
290
|
+
return typeof value === "number" ? `${value}px` : value;
|
|
291
|
+
}
|
|
292
|
+
export function Dropzone(props = {}) {
|
|
293
|
+
injectCSS("hu-form", FORM_CSS);
|
|
294
|
+
const id = props.id ?? props.name ?? "hu-dropzone-input";
|
|
295
|
+
const minHeight = sizeValue(props.minHeight);
|
|
296
|
+
const handleFiles = (files) => {
|
|
297
|
+
props.onDropFiles?.(files);
|
|
298
|
+
props.onChange?.(files);
|
|
299
|
+
};
|
|
300
|
+
return h("div", {
|
|
301
|
+
class: cn("hu-dropzone", props.active && "hu-dropzone--active", props.class),
|
|
302
|
+
style: minHeight ? `--hu-dropzone-min-height:${minHeight}` : undefined,
|
|
303
|
+
}, props.label ? h("label", { class: "hu-dropzone__label", for: id }, props.label) : null, h("label", {
|
|
304
|
+
class: "hu-dropzone__target",
|
|
305
|
+
for: id,
|
|
306
|
+
tabindex: "0",
|
|
307
|
+
onDragover: (event) => {
|
|
308
|
+
event.preventDefault();
|
|
309
|
+
},
|
|
310
|
+
onDrop: (event) => {
|
|
311
|
+
event.preventDefault();
|
|
312
|
+
if (event.dataTransfer?.files)
|
|
313
|
+
handleFiles(event.dataTransfer.files);
|
|
314
|
+
},
|
|
315
|
+
}, h("input", {
|
|
316
|
+
id,
|
|
317
|
+
name: props.name,
|
|
318
|
+
class: "hu-dropzone__input",
|
|
319
|
+
type: "file",
|
|
320
|
+
accept: props.accept,
|
|
321
|
+
multiple: props.multiple,
|
|
322
|
+
disabled: props.disabled,
|
|
323
|
+
onChange: (event) => {
|
|
324
|
+
const files = event.target.files;
|
|
325
|
+
if (files)
|
|
326
|
+
handleFiles(files);
|
|
327
|
+
},
|
|
328
|
+
}), h("span", { class: "hu-dropzone__icon", "aria-hidden": "true" }, "+"), h("span", { class: "hu-dropzone__title" }, props.title ?? "Drop files here or browse"), props.hint ? h("span", { class: "hu-dropzone__hint" }, props.hint) : null));
|
|
329
|
+
}
|
|
330
|
+
function CodeEntry(props) {
|
|
331
|
+
injectCSS("hu-form", FORM_CSS);
|
|
332
|
+
const length = props.length ?? (props.kind === "pin" ? 4 : 6);
|
|
333
|
+
const value = (props.value ?? "").slice(0, length);
|
|
334
|
+
const label = props.label ?? (props.kind === "pin" ? "PIN code" : "One-time passcode");
|
|
335
|
+
return h("div", { class: cn("hu-code-entry", `hu-code-entry--${props.kind}`, props.class), role: "group", "aria-label": label }, props.label ? h("div", { class: "hu-code-entry__label" }, props.label) : null, h("div", { class: "hu-code-entry__inputs" }, ...Array.from({ length }, (_, index) => h("input", {
|
|
336
|
+
class: "hu-code-entry__input",
|
|
337
|
+
type: props.mask ? "password" : "text",
|
|
338
|
+
inputmode: props.inputMode ?? "numeric",
|
|
339
|
+
autocomplete: props.autoComplete ?? (props.kind === "otp" ? "one-time-code" : "off"),
|
|
340
|
+
maxlength: 1,
|
|
341
|
+
disabled: props.disabled,
|
|
342
|
+
value: value[index] ?? "",
|
|
343
|
+
"aria-label": `${label} digit ${index + 1}`,
|
|
344
|
+
onInput: (event) => {
|
|
345
|
+
const nextChar = (event.target.value ?? "").slice(-1);
|
|
346
|
+
const chars = value.padEnd(length, " ").split("");
|
|
347
|
+
chars[index] = nextChar;
|
|
348
|
+
props.onChange?.(chars.join("").replace(/\s/g, ""));
|
|
349
|
+
},
|
|
350
|
+
}))));
|
|
351
|
+
}
|
|
352
|
+
export function OTPInput(props = {}) {
|
|
353
|
+
return CodeEntry({ ...props, kind: "otp" });
|
|
354
|
+
}
|
|
355
|
+
export function PinInput(props = {}) {
|
|
356
|
+
return CodeEntry({ ...props, kind: "pin", mask: props.mask ?? true });
|
|
357
|
+
}
|
|
358
|
+
export function ColorPicker(props = {}) {
|
|
359
|
+
injectCSS("hu-form", FORM_CSS);
|
|
360
|
+
const id = props.id ?? "hu-color-picker";
|
|
361
|
+
const value = props.value ?? props.defaultValue ?? "#2563eb";
|
|
362
|
+
const change = (event) => props.onChange?.(event.target.value, event);
|
|
363
|
+
return h("div", { class: cn("hu-color-picker", props.class), style: `--hu-color-picker-value:${value}` }, props.label ? h("label", { class: "hu-color-picker__label", for: id }, props.label) : null, h("div", { class: "hu-color-picker__row" }, h("span", { class: "hu-color-picker__swatch", "aria-hidden": "true" }), h("input", {
|
|
364
|
+
id,
|
|
365
|
+
class: "hu-color-picker__native",
|
|
366
|
+
type: "color",
|
|
367
|
+
value,
|
|
368
|
+
disabled: props.disabled,
|
|
369
|
+
onInput: change,
|
|
370
|
+
onChange: change,
|
|
371
|
+
}), h("input", {
|
|
372
|
+
class: "hu-color-picker__text",
|
|
373
|
+
type: "text",
|
|
374
|
+
value,
|
|
375
|
+
disabled: props.disabled,
|
|
376
|
+
"aria-label": "Color value",
|
|
377
|
+
onInput: change,
|
|
378
|
+
onChange: change,
|
|
379
|
+
})), props.hint ? h("div", { class: "hu-color-picker__hint" }, props.hint) : null);
|
|
380
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
export { Button } from "./Button/index.js";
|
|
2
|
+
export type { ButtonVariant, ButtonSize, ButtonProps } from "./Button/index.js";
|
|
3
|
+
export { Label } from "./Label/index.js";
|
|
4
|
+
export type { LabelProps } from "./Label/index.js";
|
|
5
|
+
export { Input } from "./Input/index.js";
|
|
6
|
+
export type { InputProps } from "./Input/index.js";
|
|
7
|
+
export { Textarea } from "./Textarea/index.js";
|
|
8
|
+
export type { TextareaProps } from "./Textarea/index.js";
|
|
9
|
+
export { Checkbox } from "./Checkbox/index.js";
|
|
10
|
+
export type { CheckboxProps } from "./Checkbox/index.js";
|
|
11
|
+
export { Radio } from "./Radio/index.js";
|
|
12
|
+
export type { RadioProps } from "./Radio/index.js";
|
|
13
|
+
export { Switch } from "./Switch/index.js";
|
|
14
|
+
export type { SwitchProps } from "./Switch/index.js";
|
|
15
|
+
export { Select } from "./Select/index.js";
|
|
16
|
+
export type { SelectOption, SelectProps } from "./Select/index.js";
|
|
17
|
+
export { Spinner } from "./Spinner/index.js";
|
|
18
|
+
export type { SpinnerProps } from "./Spinner/index.js";
|
|
19
|
+
export { Card } from "./Card/index.js";
|
|
20
|
+
export type { CardProps } from "./Card/index.js";
|
|
21
|
+
export { Alert } from "./Alert/index.js";
|
|
22
|
+
export type { AlertProps } from "./Alert/index.js";
|
|
23
|
+
export { Badge } from "./Badge/index.js";
|
|
24
|
+
export type { BadgeProps } from "./Badge/index.js";
|
|
25
|
+
export { Avatar } from "./Avatar/index.js";
|
|
26
|
+
export type { AvatarProps } from "./Avatar/index.js";
|
|
27
|
+
export { AvatarGroup } from "./AvatarGroup/index.js";
|
|
28
|
+
export type { AvatarGroupProps } from "./AvatarGroup/index.js";
|
|
29
|
+
export { Skeleton } from "./Skeleton/index.js";
|
|
30
|
+
export type { SkeletonProps } from "./Skeleton/index.js";
|
|
31
|
+
export { Progress } from "./Progress/index.js";
|
|
32
|
+
export type { ProgressProps } from "./Progress/index.js";
|
|
33
|
+
export { Tabs } from "./Tabs/index.js";
|
|
34
|
+
export type { TabItem, TabsProps } from "./Tabs/index.js";
|
|
35
|
+
export { Accordion } from "./Accordion/index.js";
|
|
36
|
+
export type { AccordionItem, AccordionProps } from "./Accordion/index.js";
|
|
37
|
+
export { Breadcrumb } from "./Breadcrumb/index.js";
|
|
38
|
+
export type { BreadcrumbItem, BreadcrumbProps } from "./Breadcrumb/index.js";
|
|
39
|
+
export { Pagination } from "./Pagination/index.js";
|
|
40
|
+
export type { PaginationProps } from "./Pagination/index.js";
|
|
41
|
+
export { Stepper } from "./Stepper/index.js";
|
|
42
|
+
export type { StepperItem, StepperProps } from "./Stepper/index.js";
|
|
43
|
+
export { Timeline } from "./Timeline/index.js";
|
|
44
|
+
export type { TimelineItem, TimelineProps } from "./Timeline/index.js";
|
|
45
|
+
export { TreeView } from "./TreeView/index.js";
|
|
46
|
+
export type { TreeViewItem, TreeViewProps } from "./TreeView/index.js";
|
|
47
|
+
export { Navbar } from "./Navbar/index.js";
|
|
48
|
+
export type { NavLink, NavbarProps } from "./Navbar/index.js";
|
|
49
|
+
export { Sidebar } from "./Sidebar/index.js";
|
|
50
|
+
export type { SidebarItem, SidebarSection, SidebarProps } from "./Sidebar/index.js";
|
|
51
|
+
export { DataTable } from "./DataTable/index.js";
|
|
52
|
+
export type { TableColumn, DataTableProps } from "./DataTable/index.js";
|
|
53
|
+
export { Dialog } from "./Dialog/index.js";
|
|
54
|
+
export type { DialogProps } from "./Dialog/index.js";
|
|
55
|
+
export { Sheet } from "./Sheet/index.js";
|
|
56
|
+
export type { SheetProps } from "./Sheet/index.js";
|
|
57
|
+
export { ToastRegion, useToast } from "./Toast/index.js";
|
|
58
|
+
export type { ToastData, ToastType, ToastPosition } from "./Toast/index.js";
|
|
59
|
+
export { Tooltip } from "./Tooltip/index.js";
|
|
60
|
+
export type { TooltipProps } from "./Tooltip/index.js";
|
|
61
|
+
export { Popover } from "./Popover/index.js";
|
|
62
|
+
export type { PopoverProps } from "./Popover/index.js";
|
|
63
|
+
export { DropdownMenu } from "./DropdownMenu/index.js";
|
|
64
|
+
export type { MenuItem as DropdownMenuItem, DropdownMenuProps } from "./DropdownMenu/index.js";
|
|
65
|
+
export { FocusTrap } from "./FocusTrap/index.js";
|
|
66
|
+
export type { FocusTrapProps } from "./FocusTrap/index.js";
|
|
67
|
+
export { ClickAwayListener } from "./ClickAwayListener/index.js";
|
|
68
|
+
export type { ClickAwayListenerProps } from "./ClickAwayListener/index.js";
|
|
69
|
+
export { NoSSR } from "./NoSSR/index.js";
|
|
70
|
+
export type { NoSSRProps } from "./NoSSR/index.js";
|
|
71
|
+
export { VisuallyHidden } from "./VisuallyHidden/index.js";
|
|
72
|
+
export type { VisuallyHiddenProps } from "./VisuallyHidden/index.js";
|
|
73
|
+
export { ScrollArea } from "./ScrollArea/index.js";
|
|
74
|
+
export type { ScrollAreaProps } from "./ScrollArea/index.js";
|
|
75
|
+
export { AspectRatio } from "./AspectRatio/index.js";
|
|
76
|
+
export type { AspectRatioProps } from "./AspectRatio/index.js";
|
|
77
|
+
export { Kbd } from "./Kbd/index.js";
|
|
78
|
+
export type { KbdProps } from "./Kbd/index.js";
|
|
79
|
+
export { Code } from "./Code/index.js";
|
|
80
|
+
export type { CodeProps } from "./Code/index.js";
|
|
81
|
+
export { EmptyState } from "./EmptyState/index.js";
|
|
82
|
+
export type { EmptyStateProps } from "./EmptyState/index.js";
|
|
83
|
+
export { ErrorState } from "./ErrorState/index.js";
|
|
84
|
+
export type { ErrorStateProps } from "./ErrorState/index.js";
|
|
85
|
+
export { LoadingState } from "./LoadingState/index.js";
|
|
86
|
+
export type { LoadingStateProps } from "./LoadingState/index.js";
|
|
87
|
+
export { CommandPalette } from "./CommandPalette/index.js";
|
|
88
|
+
export type { CommandPaletteItem, CommandPaletteProps } from "./CommandPalette/index.js";
|
|
89
|
+
export { GlobalSearch } from "./GlobalSearch/index.js";
|
|
90
|
+
export type { GlobalSearchResult, GlobalSearchProps } from "./GlobalSearch/index.js";
|
|
91
|
+
export { ShortcutProvider, KeyboardShortcut } from "./KeyboardShortcut/index.js";
|
|
92
|
+
export type { ShortcutDefinition, ShortcutProviderProps, KeyboardShortcutProps } from "./KeyboardShortcut/index.js";
|
|
93
|
+
export { Typography } from "./Typography/index.js";
|
|
94
|
+
export type { TypographyVariant, TypographyColor, TypographyAlign, TypographyProps } from "./Typography/index.js";
|
|
95
|
+
export { Chip } from "./Chip/index.js";
|
|
96
|
+
export type { ChipColor, ChipVariant, ChipSize, ChipProps } from "./Chip/index.js";
|
|
97
|
+
export { Divider } from "./Divider/index.js";
|
|
98
|
+
export type { DividerOrientation, DividerTextAlign, DividerProps } from "./Divider/index.js";
|
|
99
|
+
export { Link } from "./Link/index.js";
|
|
100
|
+
export type { LinkColor, LinkUnderline, LinkProps } from "./Link/index.js";
|
|
101
|
+
export { TextField } from "./TextField/index.js";
|
|
102
|
+
export type { TextFieldVariant, TextFieldSize, TextFieldProps } from "./TextField/index.js";
|
|
103
|
+
export { IconButton } from "./IconButton/index.js";
|
|
104
|
+
export type { IconButtonColor, IconButtonSize, IconButtonProps } from "./IconButton/index.js";
|
|
105
|
+
export { ButtonGroup } from "./ButtonGroup/index.js";
|
|
106
|
+
export type { ButtonGroupProps } from "./ButtonGroup/index.js";
|
|
107
|
+
export { ToggleButton, ToggleButtonGroup } from "./ToggleButton/index.js";
|
|
108
|
+
export type { ToggleButtonProps, ToggleButtonGroupProps } from "./ToggleButton/index.js";
|
|
109
|
+
export { Fab } from "./Fab/index.js";
|
|
110
|
+
export type { FabColor, FabSize, FabProps } from "./Fab/index.js";
|
|
111
|
+
export { Rating } from "./Rating/index.js";
|
|
112
|
+
export type { RatingSize, RatingProps } from "./Rating/index.js";
|
|
113
|
+
export { Slider } from "./Slider/index.js";
|
|
114
|
+
export type { SliderProps } from "./Slider/index.js";
|
|
115
|
+
export { Autocomplete } from "./Autocomplete/index.js";
|
|
116
|
+
export type { AutocompleteOption, AutocompleteProps } from "./Autocomplete/index.js";
|
|
117
|
+
export { FormControl, FormGroup, FormLabel, FormHelperText } from "./FormControl/index.js";
|
|
118
|
+
export type { FormControlProps, FormGroupProps, FormLabelProps, FormHelperTextProps } from "./FormControl/index.js";
|
|
119
|
+
export { Paper } from "./Paper/index.js";
|
|
120
|
+
export type { PaperElevation, PaperProps } from "./Paper/index.js";
|
|
121
|
+
export { Box } from "./Box/index.js";
|
|
122
|
+
export type { BoxProps } from "./Box/index.js";
|
|
123
|
+
export { Container } from "./Container/index.js";
|
|
124
|
+
export type { ContainerMaxWidth, ContainerProps } from "./Container/index.js";
|
|
125
|
+
export { Stack } from "./Stack/index.js";
|
|
126
|
+
export type { StackDirection, StackAlign, StackJustify, StackProps } from "./Stack/index.js";
|
|
127
|
+
export { Grid } from "./Grid/index.js";
|
|
128
|
+
export type { GridProps } from "./Grid/index.js";
|
|
129
|
+
export { ImageList } from "./ImageList/index.js";
|
|
130
|
+
export type { ImageListItemProps, ImageListProps } from "./ImageList/index.js";
|
|
131
|
+
export { List, ListSubheader, ListItem, ListItemIcon, ListItemText } from "./List/index.js";
|
|
132
|
+
export type { ListSubheaderProps, ListProps, ListItemProps, ListItemIconProps, ListItemTextProps } from "./List/index.js";
|
|
133
|
+
export { PageLayout } from "./PageLayout/index.js";
|
|
134
|
+
export type { PageLayoutProps } from "./PageLayout/index.js";
|
|
135
|
+
export { DashboardLayout } from "./DashboardLayout/index.js";
|
|
136
|
+
export type { DashboardLayoutProps } from "./DashboardLayout/index.js";
|
|
137
|
+
export { SplitPane } from "./SplitPane/index.js";
|
|
138
|
+
export type { SplitPaneProps } from "./SplitPane/index.js";
|
|
139
|
+
export { ResizablePanel } from "./ResizablePanel/index.js";
|
|
140
|
+
export type { ResizablePanelProps } from "./ResizablePanel/index.js";
|
|
141
|
+
export { AppBar, Toolbar, ToolbarSpacer } from "./AppBar/index.js";
|
|
142
|
+
export type { AppBarProps, AppBarPosition, AppBarColor, ToolbarProps } from "./AppBar/index.js";
|
|
143
|
+
export { Backdrop } from "./Backdrop/index.js";
|
|
144
|
+
export type { BackdropProps } from "./Backdrop/index.js";
|
|
145
|
+
export { Modal } from "./Modal/index.js";
|
|
146
|
+
export type { ModalProps } from "./Modal/index.js";
|
|
147
|
+
export { Drawer } from "./Drawer/index.js";
|
|
148
|
+
export type { DrawerProps, DrawerAnchor, DrawerVariant, DrawerSize } from "./Drawer/index.js";
|
|
149
|
+
export { SnackbarRegion, useSnackbar } from "./Snackbar/index.js";
|
|
150
|
+
export type { SnackbarItem, SnackbarSeverity, SnackbarPosition, SnackbarRegionProps } from "./Snackbar/index.js";
|
|
151
|
+
export { CircularProgress } from "./CircularProgress/index.js";
|
|
152
|
+
export type { CircularProgressProps, CircularProgressColor, CircularProgressVariant } from "./CircularProgress/index.js";
|
|
153
|
+
export { LinearProgress } from "./LinearProgress/index.js";
|
|
154
|
+
export type { LinearProgressProps, LinearProgressVariant, LinearProgressColor } from "./LinearProgress/index.js";
|
|
155
|
+
export { BottomNavigation } from "./BottomNavigation/index.js";
|
|
156
|
+
export type { BottomNavigationProps, BottomNavigationActionDef } from "./BottomNavigation/index.js";
|
|
157
|
+
export { SpeedDial } from "./SpeedDial/index.js";
|
|
158
|
+
export type { SpeedDialProps, SpeedDialAction, SpeedDialDirection } from "./SpeedDial/index.js";
|
|
159
|
+
export { Menu, MenuList, MenuItem } from "./Menu/index.js";
|
|
160
|
+
export type { MenuProps, MenuListProps, MenuItemProps, MenuItemDef, MenuPlacement } from "./Menu/index.js";
|
|
161
|
+
export { Collapse } from "./Collapse/index.js";
|
|
162
|
+
export type { CollapseProps } from "./Collapse/index.js";
|
|
163
|
+
export { Fade } from "./Fade/index.js";
|
|
164
|
+
export type { FadeProps } from "./Fade/index.js";
|
|
165
|
+
export { Grow } from "./Grow/index.js";
|
|
166
|
+
export type { GrowProps } from "./Grow/index.js";
|
|
167
|
+
export { Slide } from "./Slide/index.js";
|
|
168
|
+
export type { SlideProps, SlideDirection } from "./Slide/index.js";
|
|
169
|
+
export { Zoom } from "./Zoom/index.js";
|
|
170
|
+
export type { ZoomProps } from "./Zoom/index.js";
|
|
171
|
+
export { MobileStepper } from "./MobileStepper/index.js";
|
|
172
|
+
export type { MobileStepperProps, MobileStepperVariant, MobileStepperPosition } from "./MobileStepper/index.js";
|
|
173
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,MAAM,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