@jordan-mace/chaser-design-system 1.2.2 → 1.2.3
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/index.cjs +4894 -0
- package/dist/index.d.cts +1111 -0
- package/dist/index.d.mts +1111 -0
- package/dist/index.mjs +4812 -0
- package/package.json +17 -12
- package/src/components/Accordion/Accordion.stories.tsx +73 -0
- package/src/components/Accordion/Accordion.test.tsx +54 -0
- package/src/components/Accordion/Accordion.tsx +146 -0
- package/src/components/Accordion/styles.css.ts +72 -0
- package/src/components/Alert/Alert.stories.tsx +82 -0
- package/src/components/Alert/Alert.test.tsx +58 -0
- package/src/components/Alert/Alert.tsx +48 -0
- package/src/components/Alert/__screenshots__/Alert.test.tsx/Alert-renders-dismissible-alert-correctly-1-chromium-linux.png +0 -0
- package/src/components/Alert/__screenshots__/Alert.test.tsx/Alert-renders-error-alert-correctly-1-chromium-linux.png +0 -0
- package/src/components/Alert/__screenshots__/Alert.test.tsx/Alert-renders-info-alert-correctly-1-chromium-linux.png +0 -0
- package/src/components/Alert/__screenshots__/Alert.test.tsx/Alert-renders-success-alert-correctly-1-chromium-linux.png +0 -0
- package/src/components/Alert/__screenshots__/Alert.test.tsx/Alert-renders-warning-alert-correctly-1-chromium-linux.png +0 -0
- package/src/components/Alert/styles.css.ts +58 -0
- package/src/components/AspectRatio/AspectRatio.stories.tsx +85 -0
- package/src/components/AspectRatio/AspectRatio.test.tsx +50 -0
- package/src/components/AspectRatio/AspectRatio.tsx +42 -0
- package/src/components/Avatar/Avatar.stories.tsx +82 -0
- package/src/components/Avatar/Avatar.test.tsx +45 -0
- package/src/components/Avatar/Avatar.tsx +51 -0
- package/src/components/Avatar/styles.css.ts +155 -0
- package/src/components/Badge/Badge.stories.tsx +141 -0
- package/src/components/Badge/Badge.test.tsx +74 -0
- package/src/components/Badge/Badge.tsx +46 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-does-not-render-children-when-dot-is-true-1.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-default-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-dot-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-dot-with-size-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-dot-with-variant-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-error-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-info-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-large-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-medium-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-small-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-span-element-with-proper-attributes-1.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-success-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/__screenshots__/Badge.test.tsx/Badge-renders-warning-badge-correctly-1-chromium-linux.png +0 -0
- package/src/components/Badge/styles.css.ts +82 -0
- package/src/components/Box/Box.stories.tsx +183 -0
- package/src/components/Box/Box.test.tsx +63 -0
- package/src/components/Box/Box.tsx +72 -0
- package/src/components/Box/reset.css.ts +16 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +55 -0
- package/src/components/Breadcrumb/Breadcrumb.test.tsx +44 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +102 -0
- package/src/components/Breadcrumb/styles.css.ts +56 -0
- package/src/components/Button/Button.stories.tsx +60 -0
- package/src/components/Button/Button.test.tsx +26 -0
- package/src/components/Button/Button.tsx +31 -0
- package/src/components/Button/__screenshots__/Button.test.tsx/Button-renders-correctly-1-chromium-win32.png +0 -0
- package/src/components/Button/__screenshots__/Button.test.tsx/Button-renders-primary-button-correctly-1-chromium-linux.png +0 -0
- package/src/components/Button/__screenshots__/Button.test.tsx/Button-renders-primary-button-correctly-1-chromium-win32.png +0 -0
- package/src/components/Button/styles.css.ts +32 -0
- package/src/components/Card/Card.stories.tsx +85 -0
- package/src/components/Card/Card.test.tsx +43 -0
- package/src/components/Card/Card.tsx +34 -0
- package/src/components/Card/__screenshots__/Card.test.tsx/Card-renders-elevated-card-correctly-1-chromium-linux.png +0 -0
- package/src/components/Card/__screenshots__/Card.test.tsx/Card-renders-filled-card-correctly-1-chromium-linux.png +0 -0
- package/src/components/Card/__screenshots__/Card.test.tsx/Card-renders-outlined-card-correctly-1-chromium-linux.png +0 -0
- package/src/components/Card/__screenshots__/Card.test.tsx/Card-renders-with-no-padding-1-chromium-linux.png +0 -0
- package/src/components/Card/styles.css.ts +27 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +61 -0
- package/src/components/Checkbox/Checkbox.test.tsx +40 -0
- package/src/components/Checkbox/Checkbox.tsx +58 -0
- package/src/components/Checkbox/styles.css.ts +34 -0
- package/src/components/Collapse/Collapse.stories.tsx +63 -0
- package/src/components/Collapse/Collapse.test.tsx +24 -0
- package/src/components/Collapse/Collapse.tsx +97 -0
- package/src/components/Collapse/styles.css.ts +42 -0
- package/src/components/Combobox/Combobox.stories.tsx +100 -0
- package/src/components/Combobox/Combobox.test.tsx +49 -0
- package/src/components/Combobox/Combobox.tsx +266 -0
- package/src/components/Combobox/styles.css.ts +155 -0
- package/src/components/Container/Container.stories.tsx +69 -0
- package/src/components/Container/Container.test.tsx +42 -0
- package/src/components/Container/Container.tsx +47 -0
- package/src/components/Divider/Divider.stories.tsx +121 -0
- package/src/components/Divider/Divider.test.tsx +56 -0
- package/src/components/Divider/Divider.tsx +40 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-applies-orientation-correctly-1.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-horizontal-divider-correctly-1-chromium-linux.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-hr-element-with-proper-attributes-1.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-large-divider-correctly-1-chromium-linux.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-medium-divider-correctly-1-chromium-linux.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-small-divider-correctly-1-chromium-linux.png +0 -0
- package/src/components/Divider/__screenshots__/Divider.test.tsx/Divider-renders-vertical-divider-correctly-1-chromium-linux.png +0 -0
- package/src/components/Divider/styles.css.ts +45 -0
- package/src/components/Drawer/Drawer.stories.tsx +99 -0
- package/src/components/Drawer/Drawer.test.tsx +51 -0
- package/src/components/Drawer/Drawer.tsx +148 -0
- package/src/components/Drawer/styles.css.ts +138 -0
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +72 -0
- package/src/components/DropdownMenu/DropdownMenu.test.tsx +43 -0
- package/src/components/DropdownMenu/DropdownMenu.tsx +156 -0
- package/src/components/DropdownMenu/styles.css.ts +102 -0
- package/src/components/EmptyState/EmptyState.stories.tsx +47 -0
- package/src/components/EmptyState/EmptyState.test.tsx +25 -0
- package/src/components/EmptyState/EmptyState.tsx +53 -0
- package/src/components/EmptyState/styles.css.ts +36 -0
- package/src/components/FileUpload/FileUpload.stories.tsx +138 -0
- package/src/components/FileUpload/FileUpload.test.tsx +56 -0
- package/src/components/FileUpload/FileUpload.tsx +269 -0
- package/src/components/FileUpload/styles.css.ts +164 -0
- package/src/components/Form/Form.stories.tsx +51 -0
- package/src/components/Form/Form.test.tsx +41 -0
- package/src/components/Form/Form.tsx +28 -0
- package/src/components/Form/FormInput.tsx +16 -0
- package/src/components/Form/__screenshots__/Form.test.tsx/Form-can-submit-1.png +0 -0
- package/src/components/Form/__screenshots__/Form.test.tsx/Form-renders-correctly-1-chromium-win32.png +0 -0
- package/src/components/Form/__screenshots__/Form.test.tsx/Form-renders-form-correctly-1-chromium-linux.png +0 -0
- package/src/components/Form/__screenshots__/Form.test.tsx/Form-renders-form-correctly-1-chromium-win32.png +0 -0
- package/src/components/Form/styles.css.ts +13 -0
- package/src/components/Grid/Grid.stories.tsx +134 -0
- package/src/components/Grid/Grid.test.tsx +41 -0
- package/src/components/Grid/Grid.tsx +48 -0
- package/src/components/Icon/Icon.tsx +43 -0
- package/src/components/Icon/styles.css.ts +11 -0
- package/src/components/Input/Input.stories.tsx +38 -0
- package/src/components/Input/Input.test.tsx +16 -0
- package/src/components/Input/Input.tsx +43 -0
- package/src/components/Input/__screenshots__/Input.test.tsx/Input-renders-correctly-with-label-1-chromium-linux.png +0 -0
- package/src/components/Input/__screenshots__/Input.test.tsx/Input-renders-correctly-with-label-1-chromium-win32.png +0 -0
- package/src/components/Input/__screenshots__/Input.test.tsx/Input-renders-correctly-without-label-1-chromium-linux.png +0 -0
- package/src/components/Input/__screenshots__/Input.test.tsx/Input-renders-correctly-without-label-1-chromium-win32.png +0 -0
- package/src/components/Input/styles.css.ts +10 -0
- package/src/components/Kbd/Kbd.stories.tsx +53 -0
- package/src/components/Kbd/Kbd.test.tsx +22 -0
- package/src/components/Kbd/Kbd.tsx +17 -0
- package/src/components/Kbd/styles.css.ts +18 -0
- package/src/components/List/List.test.tsx +18 -0
- package/src/components/List/List.tsx +13 -0
- package/src/components/List/ListItem.tsx +13 -0
- package/src/components/List/__screenshots__/List.test.tsx/List-renders-correctly-1-chromium-win32.png +0 -0
- package/src/components/List/__screenshots__/List.test.tsx/List-renders-list-correctly-1-chromium-linux.png +0 -0
- package/src/components/List/__screenshots__/List.test.tsx/List-renders-list-correctly-1-chromium-win32.png +0 -0
- package/src/components/List/styles.css.ts +13 -0
- package/src/components/Modal/Modal.stories.tsx +202 -0
- package/src/components/Modal/Modal.test.tsx +168 -0
- package/src/components/Modal/Modal.tsx +109 -0
- package/src/components/Modal/__screenshots__/Modal.test.tsx/Modal-displays-title-correctly-1.png +0 -0
- package/src/components/Modal/__screenshots__/Modal.test.tsx/Modal-handles-backdrop-click-to-close-1.png +0 -0
- package/src/components/Modal/styles.css.ts +99 -0
- package/src/components/Navbar/Navbar.stories.tsx +49 -0
- package/src/components/Navbar/Navbar.test.tsx +18 -0
- package/src/components/Navbar/Navbar.tsx +27 -0
- package/src/components/Navbar/NavbarItem.tsx +14 -0
- package/src/components/Navbar/__screenshots__/Navbar.test.tsx/Navbar-renders-correctly-1-chromium-win32.png +0 -0
- package/src/components/Navbar/__screenshots__/Navbar.test.tsx/Navbar-renders-navbar-correctly-1-chromium-linux.png +0 -0
- package/src/components/Navbar/__screenshots__/Navbar.test.tsx/Navbar-renders-navbar-correctly-1-chromium-win32.png +0 -0
- package/src/components/Navbar/styles.css.ts +5 -0
- package/src/components/NumberInput/NumberInput.stories.tsx +101 -0
- package/src/components/NumberInput/NumberInput.test.tsx +39 -0
- package/src/components/NumberInput/NumberInput.tsx +161 -0
- package/src/components/NumberInput/styles.css.ts +127 -0
- package/src/components/Pagination/Pagination.stories.tsx +63 -0
- package/src/components/Pagination/Pagination.test.tsx +27 -0
- package/src/components/Pagination/Pagination.tsx +138 -0
- package/src/components/Pagination/styles.css.ts +48 -0
- package/src/components/Popover/Popover.stories.tsx +80 -0
- package/src/components/Popover/Popover.test.tsx +47 -0
- package/src/components/Popover/Popover.tsx +171 -0
- package/src/components/Popover/styles.css.ts +197 -0
- package/src/components/Progress/Progress.stories.tsx +73 -0
- package/src/components/Progress/Progress.test.tsx +53 -0
- package/src/components/Progress/Progress.tsx +66 -0
- package/src/components/Progress/styles.css.ts +75 -0
- package/src/components/Radio/Radio.stories.tsx +75 -0
- package/src/components/Radio/Radio.test.tsx +54 -0
- package/src/components/Radio/Radio.tsx +104 -0
- package/src/components/Radio/styles.css.ts +47 -0
- package/src/components/ScrollArea/ScrollArea.stories.tsx +63 -0
- package/src/components/ScrollArea/ScrollArea.test.tsx +24 -0
- package/src/components/ScrollArea/ScrollArea.tsx +50 -0
- package/src/components/ScrollArea/styles.css.ts +28 -0
- package/src/components/Select/Select.stories.tsx +94 -0
- package/src/components/Select/Select.test.tsx +57 -0
- package/src/components/Select/Select.tsx +60 -0
- package/src/components/Select/styles.css.ts +86 -0
- package/src/components/Separator/Separator.stories.tsx +49 -0
- package/src/components/Separator/Separator.test.tsx +22 -0
- package/src/components/Separator/Separator.tsx +37 -0
- package/src/components/Separator/styles.css.ts +32 -0
- package/src/components/Skeleton/Skeleton.stories.tsx +78 -0
- package/src/components/Skeleton/Skeleton.test.tsx +36 -0
- package/src/components/Skeleton/Skeleton.tsx +67 -0
- package/src/components/Skeleton/styles.css.ts +62 -0
- package/src/components/Spinner/Spinner.stories.tsx +123 -0
- package/src/components/Spinner/Spinner.test.tsx +73 -0
- package/src/components/Spinner/Spinner.tsx +41 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-div-element-with-proper-attributes-1.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-error-color-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-info-color-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-large-spinner-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-medium-spinner-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-primary-spinner-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-secondary-color-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-small-spinner-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-success-color-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/__screenshots__/Spinner.test.tsx/Spinner-renders-warning-color-correctly-1-chromium-linux.png +0 -0
- package/src/components/Spinner/styles.css.ts +59 -0
- package/src/components/Stack/Stack.stories.tsx +123 -0
- package/src/components/Stack/Stack.test.tsx +48 -0
- package/src/components/Stack/Stack.tsx +60 -0
- package/src/components/Stepper/Stepper.stories.tsx +85 -0
- package/src/components/Stepper/Stepper.test.tsx +47 -0
- package/src/components/Stepper/Stepper.tsx +133 -0
- package/src/components/Stepper/styles.css.ts +118 -0
- package/src/components/Table/Table.stories.tsx +147 -0
- package/src/components/Table/Table.test.tsx +104 -0
- package/src/components/Table/Table.tsx +131 -0
- package/src/components/Table/styles.css.ts +57 -0
- package/src/components/Tabs/Tabs.stories.tsx +104 -0
- package/src/components/Tabs/Tabs.test.tsx +52 -0
- package/src/components/Tabs/Tabs.tsx +147 -0
- package/src/components/Tabs/styles.css.ts +106 -0
- package/src/components/Tag/Tag.stories.tsx +72 -0
- package/src/components/Tag/Tag.test.tsx +49 -0
- package/src/components/Tag/Tag.tsx +72 -0
- package/src/components/Tag/styles.css.ts +96 -0
- package/src/components/Text/Header.stories.tsx +45 -0
- package/src/components/Text/Header.tsx +20 -0
- package/src/components/Text/P.stories.tsx +24 -0
- package/src/components/Text/P.tsx +19 -0
- package/src/components/Text/Text.test.tsx +32 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h1-correctly-1-chromium-linux.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h1-correctly-1-chromium-win32.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h2-correctly-1-chromium-linux.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h2-correctly-1-chromium-win32.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h3-correctly-1-chromium-linux.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/Header-renders-h3-correctly-1-chromium-win32.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/P-renders-correctly-1-chromium-win32.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/P-renders-p-correctly-1-chromium-linux.png +0 -0
- package/src/components/Text/__screenshots__/Text.test.tsx/P-renders-p-correctly-1-chromium-win32.png +0 -0
- package/src/components/Text/styles.css.ts +15 -0
- package/src/components/TextArea/TextArea.stories.tsx +40 -0
- package/src/components/TextArea/TextArea.test.tsx +16 -0
- package/src/components/TextArea/TextArea.tsx +43 -0
- package/src/components/TextArea/styles.css.ts +12 -0
- package/src/components/Toast/Toast.tsx +342 -0
- package/src/components/Toast/index.ts +9 -0
- package/src/components/Toast/styles.css.ts +213 -0
- package/src/components/Toggle/Toggle.stories.tsx +190 -0
- package/src/components/Toggle/Toggle.test.tsx +85 -0
- package/src/components/Toggle/Toggle.tsx +94 -0
- package/src/components/Toggle/styles.css.ts +130 -0
- package/src/components/Tooltip/Tooltip.stories.tsx +111 -0
- package/src/components/Tooltip/Tooltip.test.tsx +93 -0
- package/src/components/Tooltip/Tooltip.tsx +72 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-has-proper-role-attribute-1.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-bottom-tooltip-correctly-1-chromium-linux.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-left-tooltip-correctly-1-chromium-linux.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-right-tooltip-correctly-1-chromium-linux.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-tooltip-without-arrow-1-chromium-linux.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-top-tooltip-correctly-1-chromium-linux.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-renders-with-tooltip-content-1.png +0 -0
- package/src/components/Tooltip/__screenshots__/Tooltip.test.tsx/Tooltip-shows-tooltip-on-hover-1.png +0 -0
- package/src/components/Tooltip/styles.css.ts +94 -0
- package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +42 -0
- package/src/components/VisuallyHidden/VisuallyHidden.test.tsx +20 -0
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +26 -0
- package/src/components/VisuallyHidden/styles.css.ts +14 -0
- package/src/index.ts +1 -0
- package/src/styles/layers.css.ts +3 -0
- package/src/styles/reset.css.ts +79 -0
- package/src/styles/sprinkles.css.ts +177 -0
- package/src/styles/theme.css.ts +55 -0
- package/src/styles/utils.ts +9 -0
- package/dist/components/Accordion/Accordion.d.ts +0 -16
- package/dist/components/Accordion/Accordion.js +0 -108
- package/dist/components/Accordion/index.js +0 -2
- package/dist/components/Accordion/styles.css.d.ts +0 -7
- package/dist/components/Accordion/styles.css.js +0 -14
- package/dist/components/Alert/Alert.d.ts +0 -9
- package/dist/components/Alert/Alert.js +0 -28
- package/dist/components/Alert/index.js +0 -2
- package/dist/components/Alert/styles.css.d.ts +0 -4
- package/dist/components/Alert/styles.css.js +0 -13
- package/dist/components/AspectRatio/AspectRatio.d.ts +0 -9
- package/dist/components/AspectRatio/AspectRatio.js +0 -27
- package/dist/components/AspectRatio/index.js +0 -2
- package/dist/components/Avatar/Avatar.d.ts +0 -11
- package/dist/components/Avatar/Avatar.js +0 -27
- package/dist/components/Avatar/index.js +0 -2
- package/dist/components/Avatar/styles.css.d.ts +0 -4
- package/dist/components/Avatar/styles.css.js +0 -19
- package/dist/components/Badge/Badge.d.ts +0 -11
- package/dist/components/Badge/Badge.js +0 -13
- package/dist/components/Badge/index.js +0 -2
- package/dist/components/Badge/styles.css.d.ts +0 -5
- package/dist/components/Badge/styles.css.js +0 -23
- package/dist/components/Box/Box.d.ts +0 -11
- package/dist/components/Box/Box.js +0 -53
- package/dist/components/Box/index.js +0 -2
- package/dist/components/Box/reset.css.d.ts +0 -1
- package/dist/components/Box/reset.css.js +0 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -13
- package/dist/components/Breadcrumb/Breadcrumb.js +0 -66
- package/dist/components/Breadcrumb/index.js +0 -2
- package/dist/components/Breadcrumb/styles.css.d.ts +0 -6
- package/dist/components/Breadcrumb/styles.css.js +0 -10
- package/dist/components/Button/Button.d.ts +0 -9
- package/dist/components/Button/Button.js +0 -15
- package/dist/components/Button/index.js +0 -2
- package/dist/components/Button/styles.css.d.ts +0 -2
- package/dist/components/Button/styles.css.js +0 -9
- package/dist/components/Card/Card.d.ts +0 -8
- package/dist/components/Card/Card.js +0 -15
- package/dist/components/Card/index.js +0 -2
- package/dist/components/Card/styles.css.d.ts +0 -2
- package/dist/components/Card/styles.css.js +0 -10
- package/dist/components/Checkbox/Checkbox.d.ts +0 -6
- package/dist/components/Checkbox/Checkbox.js +0 -50
- package/dist/components/Checkbox/index.js +0 -2
- package/dist/components/Checkbox/styles.css.d.ts +0 -3
- package/dist/components/Checkbox/styles.css.js +0 -7
- package/dist/components/Collapse/Collapse.d.ts +0 -12
- package/dist/components/Collapse/Collapse.js +0 -58
- package/dist/components/Collapse/index.js +0 -2
- package/dist/components/Collapse/styles.css.d.ts +0 -3
- package/dist/components/Collapse/styles.css.js +0 -8
- package/dist/components/Combobox/Combobox.d.ts +0 -23
- package/dist/components/Combobox/Combobox.js +0 -171
- package/dist/components/Combobox/index.js +0 -2
- package/dist/components/Combobox/styles.css.d.ts +0 -13
- package/dist/components/Combobox/styles.css.js +0 -20
- package/dist/components/Container/Container.d.ts +0 -11
- package/dist/components/Container/Container.js +0 -31
- package/dist/components/Container/index.js +0 -2
- package/dist/components/Divider/Divider.d.ts +0 -9
- package/dist/components/Divider/Divider.js +0 -14
- package/dist/components/Divider/index.js +0 -2
- package/dist/components/Divider/styles.css.d.ts +0 -4
- package/dist/components/Divider/styles.css.js +0 -19
- package/dist/components/Drawer/Drawer.d.ts +0 -16
- package/dist/components/Drawer/Drawer.js +0 -113
- package/dist/components/Drawer/index.js +0 -2
- package/dist/components/Drawer/styles.css.d.ts +0 -8
- package/dist/components/Drawer/styles.css.js +0 -17
- package/dist/components/DropdownMenu/DropdownMenu.d.ts +0 -23
- package/dist/components/DropdownMenu/DropdownMenu.js +0 -98
- package/dist/components/DropdownMenu/index.js +0 -2
- package/dist/components/DropdownMenu/styles.css.d.ts +0 -9
- package/dist/components/DropdownMenu/styles.css.js +0 -22
- package/dist/components/EmptyState/EmptyState.d.ts +0 -10
- package/dist/components/EmptyState/EmptyState.js +0 -32
- package/dist/components/EmptyState/index.js +0 -2
- package/dist/components/EmptyState/styles.css.d.ts +0 -5
- package/dist/components/EmptyState/styles.css.js +0 -9
- package/dist/components/FileUpload/FileUpload.d.ts +0 -27
- package/dist/components/FileUpload/FileUpload.js +0 -214
- package/dist/components/FileUpload/index.js +0 -2
- package/dist/components/FileUpload/styles.css.d.ts +0 -19
- package/dist/components/FileUpload/styles.css.js +0 -32
- package/dist/components/Form/Form.d.ts +0 -7
- package/dist/components/Form/Form.js +0 -15
- package/dist/components/Form/FormInput.d.ts +0 -5
- package/dist/components/Form/FormInput.js +0 -15
- package/dist/components/Form/index.js +0 -3
- package/dist/components/Form/styles.css.d.ts +0 -2
- package/dist/components/Form/styles.css.js +0 -4
- package/dist/components/Grid/Grid.d.ts +0 -13
- package/dist/components/Grid/Grid.js +0 -30
- package/dist/components/Grid/index.js +0 -2
- package/dist/components/Icon/Icon.d.ts +0 -12
- package/dist/components/Icon/Icon.js +0 -29
- package/dist/components/Icon/index.js +0 -2
- package/dist/components/Icon/styles.css.d.ts +0 -1
- package/dist/components/Icon/styles.css.js +0 -3
- package/dist/components/Input/Input.d.ts +0 -7
- package/dist/components/Input/Input.js +0 -38
- package/dist/components/Input/index.js +0 -2
- package/dist/components/Input/styles.css.d.ts +0 -2
- package/dist/components/Input/styles.css.js +0 -4
- package/dist/components/Kbd/Kbd.d.ts +0 -7
- package/dist/components/Kbd/Kbd.js +0 -10
- package/dist/components/Kbd/index.js +0 -2
- package/dist/components/Kbd/styles.css.d.ts +0 -1
- package/dist/components/Kbd/styles.css.js +0 -5
- package/dist/components/List/List.d.ts +0 -5
- package/dist/components/List/List.js +0 -11
- package/dist/components/List/ListItem.d.ts +0 -5
- package/dist/components/List/ListItem.js +0 -11
- package/dist/components/List/index.js +0 -3
- package/dist/components/List/styles.css.d.ts +0 -2
- package/dist/components/List/styles.css.js +0 -6
- package/dist/components/Modal/Modal.d.ts +0 -13
- package/dist/components/Modal/Modal.js +0 -71
- package/dist/components/Modal/index.js +0 -2
- package/dist/components/Modal/styles.css.d.ts +0 -7
- package/dist/components/Modal/styles.css.js +0 -16
- package/dist/components/Navbar/Navbar.d.ts +0 -6
- package/dist/components/Navbar/Navbar.js +0 -16
- package/dist/components/Navbar/NavbarItem.d.ts +0 -6
- package/dist/components/Navbar/NavbarItem.js +0 -12
- package/dist/components/Navbar/index.js +0 -3
- package/dist/components/Navbar/styles.css.d.ts +0 -2
- package/dist/components/Navbar/styles.css.js +0 -4
- package/dist/components/NumberInput/NumberInput.d.ts +0 -20
- package/dist/components/NumberInput/NumberInput.js +0 -108
- package/dist/components/NumberInput/index.js +0 -2
- package/dist/components/NumberInput/styles.css.d.ts +0 -10
- package/dist/components/NumberInput/styles.css.js +0 -17
- package/dist/components/Pagination/Pagination.d.ts +0 -11
- package/dist/components/Pagination/Pagination.js +0 -70
- package/dist/components/Pagination/index.js +0 -2
- package/dist/components/Pagination/styles.css.d.ts +0 -4
- package/dist/components/Pagination/styles.css.js +0 -11
- package/dist/components/Popover/Popover.d.ts +0 -18
- package/dist/components/Popover/Popover.js +0 -105
- package/dist/components/Popover/index.js +0 -2
- package/dist/components/Popover/styles.css.d.ts +0 -11
- package/dist/components/Popover/styles.css.js +0 -33
- package/dist/components/Progress/Progress.d.ts +0 -11
- package/dist/components/Progress/Progress.js +0 -55
- package/dist/components/Progress/index.js +0 -2
- package/dist/components/Progress/styles.css.d.ts +0 -4
- package/dist/components/Progress/styles.css.js +0 -18
- package/dist/components/Radio/Radio.d.ts +0 -16
- package/dist/components/Radio/Radio.js +0 -60
- package/dist/components/Radio/index.js +0 -2
- package/dist/components/Radio/styles.css.d.ts +0 -5
- package/dist/components/Radio/styles.css.js +0 -9
- package/dist/components/ScrollArea/ScrollArea.d.ts +0 -11
- package/dist/components/ScrollArea/ScrollArea.js +0 -22
- package/dist/components/ScrollArea/index.js +0 -2
- package/dist/components/ScrollArea/styles.css.d.ts +0 -3
- package/dist/components/ScrollArea/styles.css.js +0 -11
- package/dist/components/Select/Select.d.ts +0 -13
- package/dist/components/Select/Select.js +0 -36
- package/dist/components/Select/index.js +0 -2
- package/dist/components/Select/styles.css.d.ts +0 -4
- package/dist/components/Select/styles.css.js +0 -11
- package/dist/components/Separator/Separator.d.ts +0 -9
- package/dist/components/Separator/Separator.js +0 -13
- package/dist/components/Separator/index.js +0 -2
- package/dist/components/Separator/styles.css.d.ts +0 -4
- package/dist/components/Separator/styles.css.js +0 -15
- package/dist/components/Skeleton/Skeleton.d.ts +0 -14
- package/dist/components/Skeleton/Skeleton.js +0 -28
- package/dist/components/Skeleton/index.js +0 -2
- package/dist/components/Skeleton/styles.css.d.ts +0 -4
- package/dist/components/Skeleton/styles.css.js +0 -20
- package/dist/components/Spinner/Spinner.d.ts +0 -10
- package/dist/components/Spinner/Spinner.js +0 -14
- package/dist/components/Spinner/index.js +0 -2
- package/dist/components/Spinner/styles.css.d.ts +0 -4
- package/dist/components/Spinner/styles.css.js +0 -19
- package/dist/components/Stack/Stack.d.ts +0 -16
- package/dist/components/Stack/Stack.js +0 -39
- package/dist/components/Stack/index.js +0 -2
- package/dist/components/Stepper/Stepper.d.ts +0 -18
- package/dist/components/Stepper/Stepper.js +0 -70
- package/dist/components/Stepper/index.js +0 -2
- package/dist/components/Stepper/styles.css.d.ts +0 -14
- package/dist/components/Stepper/styles.css.js +0 -22
- package/dist/components/Table/Table.d.ts +0 -42
- package/dist/components/Table/Table.js +0 -65
- package/dist/components/Table/index.js +0 -2
- package/dist/components/Table/styles.css.d.ts +0 -8
- package/dist/components/Table/styles.css.js +0 -15
- package/dist/components/Tabs/Tabs.d.ts +0 -29
- package/dist/components/Tabs/Tabs.js +0 -71
- package/dist/components/Tabs/index.js +0 -2
- package/dist/components/Tabs/styles.css.d.ts +0 -6
- package/dist/components/Tabs/styles.css.js +0 -14
- package/dist/components/Tag/Tag.d.ts +0 -16
- package/dist/components/Tag/Tag.js +0 -40
- package/dist/components/Tag/index.js +0 -2
- package/dist/components/Tag/styles.css.d.ts +0 -3
- package/dist/components/Tag/styles.css.js +0 -14
- package/dist/components/Text/Header.d.ts +0 -8
- package/dist/components/Text/Header.js +0 -12
- package/dist/components/Text/P.d.ts +0 -7
- package/dist/components/Text/P.js +0 -12
- package/dist/components/Text/index.js +0 -3
- package/dist/components/Text/styles.css.d.ts +0 -2
- package/dist/components/Text/styles.css.js +0 -6
- package/dist/components/TextArea/TextArea.d.ts +0 -7
- package/dist/components/TextArea/TextArea.js +0 -38
- package/dist/components/TextArea/index.js +0 -2
- package/dist/components/TextArea/styles.css.d.ts +0 -2
- package/dist/components/TextArea/styles.css.js +0 -4
- package/dist/components/Toast/Toast.d.ts +0 -34
- package/dist/components/Toast/Toast.js +0 -236
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/components/Toast/index.js +0 -2
- package/dist/components/Toast/styles.css.d.ts +0 -21
- package/dist/components/Toast/styles.css.js +0 -32
- package/dist/components/Toggle/Toggle.d.ts +0 -10
- package/dist/components/Toggle/Toggle.js +0 -62
- package/dist/components/Toggle/index.js +0 -2
- package/dist/components/Toggle/styles.css.d.ts +0 -12
- package/dist/components/Toggle/styles.css.js +0 -24
- package/dist/components/Tooltip/Tooltip.d.ts +0 -10
- package/dist/components/Tooltip/Tooltip.js +0 -41
- package/dist/components/Tooltip/index.js +0 -2
- package/dist/components/Tooltip/styles.css.d.ts +0 -8
- package/dist/components/Tooltip/styles.css.js +0 -17
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +0 -8
- package/dist/components/VisuallyHidden/VisuallyHidden.js +0 -8
- package/dist/components/VisuallyHidden/index.js +0 -2
- package/dist/components/VisuallyHidden/styles.css.d.ts +0 -1
- package/dist/components/VisuallyHidden/styles.css.js +0 -3
- package/dist/components/index.js +0 -48
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/layers.css.js +0 -4
- package/dist/reset.css.js +0 -1
- package/dist/styles/layers.css.d.ts +0 -3
- package/dist/styles/layers.css.js +0 -4
- package/dist/styles/reset.css.js +0 -1
- package/dist/styles/sprinkles.css.d.ts +0 -241
- package/dist/styles/sprinkles.css.js +0 -2312
- package/dist/styles/theme.css.d.ts +0 -38
- package/dist/styles/theme.css.js +0 -41
- package/dist/styles/utils.d.ts +0 -2
- package/dist/styles/utils.js +0 -8
- package/dist/theme.css.js +0 -41
- /package/{dist/components/Accordion/index.d.ts → src/components/Accordion/index.ts} +0 -0
- /package/{dist/components/Alert/index.d.ts → src/components/Alert/index.ts} +0 -0
- /package/{dist/components/AspectRatio/index.d.ts → src/components/AspectRatio/index.ts} +0 -0
- /package/{dist/components/Avatar/index.d.ts → src/components/Avatar/index.ts} +0 -0
- /package/{dist/components/Badge/index.d.ts → src/components/Badge/index.ts} +0 -0
- /package/{dist/components/Box/index.d.ts → src/components/Box/index.ts} +0 -0
- /package/{dist/components/Breadcrumb/index.d.ts → src/components/Breadcrumb/index.ts} +0 -0
- /package/{dist/components/Button/index.d.ts → src/components/Button/index.ts} +0 -0
- /package/{dist/components/Card/index.d.ts → src/components/Card/index.ts} +0 -0
- /package/{dist/components/Checkbox/index.d.ts → src/components/Checkbox/index.ts} +0 -0
- /package/{dist/components/Collapse/index.d.ts → src/components/Collapse/index.ts} +0 -0
- /package/{dist/components/Combobox/index.d.ts → src/components/Combobox/index.ts} +0 -0
- /package/{dist/components/Container/index.d.ts → src/components/Container/index.ts} +0 -0
- /package/{dist/components/Divider/index.d.ts → src/components/Divider/index.ts} +0 -0
- /package/{dist/components/Drawer/index.d.ts → src/components/Drawer/index.ts} +0 -0
- /package/{dist/components/DropdownMenu/index.d.ts → src/components/DropdownMenu/index.ts} +0 -0
- /package/{dist/components/EmptyState/index.d.ts → src/components/EmptyState/index.ts} +0 -0
- /package/{dist/components/FileUpload/index.d.ts → src/components/FileUpload/index.ts} +0 -0
- /package/{dist/components/Form/index.d.ts → src/components/Form/index.ts} +0 -0
- /package/{dist/components/Grid/index.d.ts → src/components/Grid/index.ts} +0 -0
- /package/{dist/components/Icon/index.d.ts → src/components/Icon/index.ts} +0 -0
- /package/{dist/components/Input/index.d.ts → src/components/Input/index.ts} +0 -0
- /package/{dist/components/Kbd/index.d.ts → src/components/Kbd/index.ts} +0 -0
- /package/{dist/components/List/index.d.ts → src/components/List/index.ts} +0 -0
- /package/{dist/components/Modal/index.d.ts → src/components/Modal/index.ts} +0 -0
- /package/{dist/components/Navbar/index.d.ts → src/components/Navbar/index.ts} +0 -0
- /package/{dist/components/NumberInput/index.d.ts → src/components/NumberInput/index.ts} +0 -0
- /package/{dist/components/Pagination/index.d.ts → src/components/Pagination/index.ts} +0 -0
- /package/{dist/components/Popover/index.d.ts → src/components/Popover/index.ts} +0 -0
- /package/{dist/components/Progress/index.d.ts → src/components/Progress/index.ts} +0 -0
- /package/{dist/components/Radio/index.d.ts → src/components/Radio/index.ts} +0 -0
- /package/{dist/components/ScrollArea/index.d.ts → src/components/ScrollArea/index.ts} +0 -0
- /package/{dist/components/Select/index.d.ts → src/components/Select/index.ts} +0 -0
- /package/{dist/components/Separator/index.d.ts → src/components/Separator/index.ts} +0 -0
- /package/{dist/components/Skeleton/index.d.ts → src/components/Skeleton/index.ts} +0 -0
- /package/{dist/components/Spinner/index.d.ts → src/components/Spinner/index.ts} +0 -0
- /package/{dist/components/Stack/index.d.ts → src/components/Stack/index.ts} +0 -0
- /package/{dist/components/Stepper/index.d.ts → src/components/Stepper/index.ts} +0 -0
- /package/{dist/components/Table/index.d.ts → src/components/Table/index.ts} +0 -0
- /package/{dist/components/Tabs/index.d.ts → src/components/Tabs/index.ts} +0 -0
- /package/{dist/components/Tag/index.d.ts → src/components/Tag/index.ts} +0 -0
- /package/{dist/components/Text/index.d.ts → src/components/Text/index.ts} +0 -0
- /package/{dist/components/TextArea/index.d.ts → src/components/TextArea/index.ts} +0 -0
- /package/{dist/components/Toggle/index.d.ts → src/components/Toggle/index.ts} +0 -0
- /package/{dist/components/Tooltip/index.d.ts → src/components/Tooltip/index.ts} +0 -0
- /package/{dist/components/VisuallyHidden/index.d.ts → src/components/VisuallyHidden/index.ts} +0 -0
- /package/{dist/components/index.d.ts → src/components/index.ts} +0 -0
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { useCallback, useRef, useState } from "react";
|
|
4
|
-
import { fileUploadContainer, fileUploadDropzone, fileUploadDropzoneVariants, fileUploadError, fileUploadHint, fileUploadIcon, fileUploadInput, fileUploadItem, fileUploadItemInfo, fileUploadItemName, fileUploadItemSize, fileUploadLabel, fileUploadList, fileUploadProgressBar, fileUploadProgressFill, fileUploadProgressFillVariants, fileUploadRemoveButton, fileUploadText } from "./styles.css.js";
|
|
5
|
-
import Box from "../Box/index.js";
|
|
6
|
-
const formatFileSize = (bytes)=>{
|
|
7
|
-
if (0 === bytes) return '0 Bytes';
|
|
8
|
-
const k = 1024;
|
|
9
|
-
const sizes = [
|
|
10
|
-
'Bytes',
|
|
11
|
-
'KB',
|
|
12
|
-
'MB',
|
|
13
|
-
'GB'
|
|
14
|
-
];
|
|
15
|
-
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
16
|
-
return parseFloat((bytes / Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];
|
|
17
|
-
};
|
|
18
|
-
const FileUpload = ({ label, files = [], onFilesChange, onFileAdd, onFileRemove, accept, multiple = false, maxFileSize, maxFiles, disabled = false, dropzoneText = 'Drag and drop files here, or click to browse', hint, showProgress = true, className, ...props })=>{
|
|
19
|
-
const [isDragOver, setIsDragOver] = useState(false);
|
|
20
|
-
const [error, setError] = useState(null);
|
|
21
|
-
const inputRef = useRef(null);
|
|
22
|
-
const validateFile = (file)=>{
|
|
23
|
-
if (maxFileSize && file.size > maxFileSize) return `File size exceeds ${formatFileSize(maxFileSize)}`;
|
|
24
|
-
if (accept) {
|
|
25
|
-
const acceptedTypes = accept.split(',').map((type)=>type.trim());
|
|
26
|
-
const isAccepted = acceptedTypes.some((type)=>{
|
|
27
|
-
if (type.includes('*')) return file.type.startsWith(type.replace('/*', ''));
|
|
28
|
-
return file.type === type || file.name.endsWith(type);
|
|
29
|
-
});
|
|
30
|
-
if (!isAccepted) return `File type not accepted. Allowed: ${accept}`;
|
|
31
|
-
}
|
|
32
|
-
return null;
|
|
33
|
-
};
|
|
34
|
-
const handleFiles = useCallback((fileList)=>{
|
|
35
|
-
if (!fileList || disabled) return;
|
|
36
|
-
const newFiles = [];
|
|
37
|
-
const errors = [];
|
|
38
|
-
Array.from(fileList).forEach((file)=>{
|
|
39
|
-
const validationError = validateFile(file);
|
|
40
|
-
if (validationError) errors.push(`${file.name}: ${validationError}`);
|
|
41
|
-
else newFiles.push(file);
|
|
42
|
-
});
|
|
43
|
-
if (maxFiles && files.length + newFiles.length > maxFiles) {
|
|
44
|
-
errors.push(`Maximum ${maxFiles} files allowed`);
|
|
45
|
-
newFiles.splice(maxFiles - files.length);
|
|
46
|
-
}
|
|
47
|
-
errors.length > 0 ? setError(errors.join(', ')) : setError(null);
|
|
48
|
-
if (newFiles.length > 0) onFileAdd?.(newFiles);
|
|
49
|
-
}, [
|
|
50
|
-
disabled,
|
|
51
|
-
files.length,
|
|
52
|
-
maxFileSize,
|
|
53
|
-
maxFiles,
|
|
54
|
-
accept,
|
|
55
|
-
onFileAdd
|
|
56
|
-
]);
|
|
57
|
-
const handleDragOver = (e)=>{
|
|
58
|
-
e.preventDefault();
|
|
59
|
-
if (!disabled) setIsDragOver(true);
|
|
60
|
-
};
|
|
61
|
-
const handleDragLeave = (e)=>{
|
|
62
|
-
e.preventDefault();
|
|
63
|
-
setIsDragOver(false);
|
|
64
|
-
};
|
|
65
|
-
const handleDrop = (e)=>{
|
|
66
|
-
e.preventDefault();
|
|
67
|
-
setIsDragOver(false);
|
|
68
|
-
handleFiles(e.dataTransfer.files);
|
|
69
|
-
};
|
|
70
|
-
const handleClick = ()=>{
|
|
71
|
-
if (!disabled) inputRef.current?.click();
|
|
72
|
-
};
|
|
73
|
-
const handleInputChange = (e)=>{
|
|
74
|
-
handleFiles(e.target.files);
|
|
75
|
-
e.target.value = '';
|
|
76
|
-
};
|
|
77
|
-
const handleRemove = (fileId)=>{
|
|
78
|
-
onFileRemove?.(fileId);
|
|
79
|
-
};
|
|
80
|
-
const getVariant = ()=>{
|
|
81
|
-
if (disabled) return 'disabled';
|
|
82
|
-
if (error) return 'error';
|
|
83
|
-
if (isDragOver) return 'dragOver';
|
|
84
|
-
return 'default';
|
|
85
|
-
};
|
|
86
|
-
return /*#__PURE__*/ jsxs(Box, {
|
|
87
|
-
className: clsx(fileUploadContainer, className),
|
|
88
|
-
...props,
|
|
89
|
-
children: [
|
|
90
|
-
label && /*#__PURE__*/ jsx(Box, {
|
|
91
|
-
as: "label",
|
|
92
|
-
className: fileUploadLabel,
|
|
93
|
-
children: label
|
|
94
|
-
}),
|
|
95
|
-
/*#__PURE__*/ jsxs(Box, {
|
|
96
|
-
as: "div",
|
|
97
|
-
className: clsx(fileUploadDropzone, fileUploadDropzoneVariants[getVariant()]),
|
|
98
|
-
onDragOver: handleDragOver,
|
|
99
|
-
onDragLeave: handleDragLeave,
|
|
100
|
-
onDrop: handleDrop,
|
|
101
|
-
onClick: handleClick,
|
|
102
|
-
role: "button",
|
|
103
|
-
tabIndex: disabled ? -1 : 0,
|
|
104
|
-
"aria-disabled": disabled,
|
|
105
|
-
children: [
|
|
106
|
-
/*#__PURE__*/ jsx(Box, {
|
|
107
|
-
className: fileUploadIcon,
|
|
108
|
-
"aria-hidden": "true",
|
|
109
|
-
children: /*#__PURE__*/ jsxs("svg", {
|
|
110
|
-
width: "48",
|
|
111
|
-
height: "48",
|
|
112
|
-
viewBox: "0 0 24 24",
|
|
113
|
-
fill: "none",
|
|
114
|
-
stroke: "currentColor",
|
|
115
|
-
strokeWidth: "2",
|
|
116
|
-
children: [
|
|
117
|
-
/*#__PURE__*/ jsx("path", {
|
|
118
|
-
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"
|
|
119
|
-
}),
|
|
120
|
-
/*#__PURE__*/ jsx("polyline", {
|
|
121
|
-
points: "17,8 12,3 7,8"
|
|
122
|
-
}),
|
|
123
|
-
/*#__PURE__*/ jsx("line", {
|
|
124
|
-
x1: "12",
|
|
125
|
-
y1: "3",
|
|
126
|
-
x2: "12",
|
|
127
|
-
y2: "15"
|
|
128
|
-
})
|
|
129
|
-
]
|
|
130
|
-
})
|
|
131
|
-
}),
|
|
132
|
-
/*#__PURE__*/ jsx(Box, {
|
|
133
|
-
as: "p",
|
|
134
|
-
className: fileUploadText,
|
|
135
|
-
children: dropzoneText
|
|
136
|
-
}),
|
|
137
|
-
hint && /*#__PURE__*/ jsx(Box, {
|
|
138
|
-
as: "p",
|
|
139
|
-
className: fileUploadHint,
|
|
140
|
-
children: hint
|
|
141
|
-
}),
|
|
142
|
-
/*#__PURE__*/ jsx(Box, {
|
|
143
|
-
as: "input",
|
|
144
|
-
ref: inputRef,
|
|
145
|
-
type: "file",
|
|
146
|
-
className: fileUploadInput,
|
|
147
|
-
onChange: handleInputChange,
|
|
148
|
-
accept: accept,
|
|
149
|
-
multiple: multiple,
|
|
150
|
-
disabled: disabled,
|
|
151
|
-
"aria-label": "File upload input"
|
|
152
|
-
})
|
|
153
|
-
]
|
|
154
|
-
}),
|
|
155
|
-
error && /*#__PURE__*/ jsx(Box, {
|
|
156
|
-
as: "p",
|
|
157
|
-
className: fileUploadError,
|
|
158
|
-
role: "alert",
|
|
159
|
-
children: error
|
|
160
|
-
}),
|
|
161
|
-
files.length > 0 && /*#__PURE__*/ jsx(Box, {
|
|
162
|
-
as: "ul",
|
|
163
|
-
className: fileUploadList,
|
|
164
|
-
"aria-label": "Uploaded files",
|
|
165
|
-
children: files.map((file)=>/*#__PURE__*/ jsxs(Box, {
|
|
166
|
-
as: "li",
|
|
167
|
-
className: fileUploadItem,
|
|
168
|
-
children: [
|
|
169
|
-
/*#__PURE__*/ jsxs(Box, {
|
|
170
|
-
className: fileUploadItemInfo,
|
|
171
|
-
children: [
|
|
172
|
-
/*#__PURE__*/ jsx(Box, {
|
|
173
|
-
as: "p",
|
|
174
|
-
className: fileUploadItemName,
|
|
175
|
-
title: file.name,
|
|
176
|
-
children: file.name
|
|
177
|
-
}),
|
|
178
|
-
/*#__PURE__*/ jsxs(Box, {
|
|
179
|
-
as: "p",
|
|
180
|
-
className: fileUploadItemSize,
|
|
181
|
-
children: [
|
|
182
|
-
formatFileSize(file.size),
|
|
183
|
-
'uploading' === file.status && showProgress && ' • Uploading...',
|
|
184
|
-
'success' === file.status && ' • Complete',
|
|
185
|
-
'error' === file.status && file.errorMessage && ` • ${file.errorMessage}`
|
|
186
|
-
]
|
|
187
|
-
}),
|
|
188
|
-
showProgress && 'uploading' === file.status && /*#__PURE__*/ jsx(Box, {
|
|
189
|
-
className: fileUploadProgressBar,
|
|
190
|
-
children: /*#__PURE__*/ jsx(Box, {
|
|
191
|
-
className: clsx(fileUploadProgressFill, fileUploadProgressFillVariants[file.status]),
|
|
192
|
-
style: {
|
|
193
|
-
width: `${file.progress}%`
|
|
194
|
-
}
|
|
195
|
-
})
|
|
196
|
-
})
|
|
197
|
-
]
|
|
198
|
-
}),
|
|
199
|
-
/*#__PURE__*/ jsx(Box, {
|
|
200
|
-
as: "button",
|
|
201
|
-
className: fileUploadRemoveButton,
|
|
202
|
-
onClick: ()=>handleRemove(file.id),
|
|
203
|
-
type: "button",
|
|
204
|
-
"aria-label": `Remove ${file.name}`,
|
|
205
|
-
children: "\xd7"
|
|
206
|
-
})
|
|
207
|
-
]
|
|
208
|
-
}, file.id))
|
|
209
|
-
})
|
|
210
|
-
]
|
|
211
|
-
});
|
|
212
|
-
};
|
|
213
|
-
const FileUpload_FileUpload = FileUpload;
|
|
214
|
-
export { FileUpload_FileUpload as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const fileUploadContainer: string;
|
|
2
|
-
export declare const fileUploadDropzone: string;
|
|
3
|
-
export declare const fileUploadDropzoneVariants: Record<"default" | "disabled" | "error" | "dragOver", string>;
|
|
4
|
-
export declare const fileUploadLabel: string;
|
|
5
|
-
export declare const fileUploadText: string;
|
|
6
|
-
export declare const fileUploadHint: string;
|
|
7
|
-
export declare const fileUploadInput: string;
|
|
8
|
-
export declare const fileUploadList: string;
|
|
9
|
-
export declare const fileUploadItem: string;
|
|
10
|
-
export declare const fileUploadItemInfo: string;
|
|
11
|
-
export declare const fileUploadItemName: string;
|
|
12
|
-
export declare const fileUploadItemSize: string;
|
|
13
|
-
export declare const fileUploadItemProgress: string;
|
|
14
|
-
export declare const fileUploadRemoveButton: string;
|
|
15
|
-
export declare const fileUploadError: string;
|
|
16
|
-
export declare const fileUploadIcon: string;
|
|
17
|
-
export declare const fileUploadProgressBar: string;
|
|
18
|
-
export declare const fileUploadProgressFill: string;
|
|
19
|
-
export declare const fileUploadProgressFillVariants: Record<"success" | "error" | "uploading", string>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import "src/styles/sprinkles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/styles/sprinkles.css.ts.vanilla.css\",\"source\":\"#H4sIAAAAAAAAA5Wc227jVhJF3_srBAwGyDw4EG-HpPMSS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iA3LC5-GkA3LC5-GmA3LC5-GoA3Al-jxedUAOfR7POiCHPo93HZBDn8fDDsihz-NlB-TQ5_G0A3Lo83jbATn0eTzugBz6PF53QA59Hs87IIc-j_cdkEOfxwMPyKHP44UH5ITPw4kH5ITPw40H5Eaf6X0-hN8YrCTD8juDlXhYeQxWMmIVMFgJilXEYCUtVjGDlchYpQxWcmO1Y7ASHquKwUqCrGoK8xhZtRTmWbJ64jANlNWBwjxVVif-k2m0rC4cpvmy6vi7QUNmdaMwT5qVNin041YmhWbOSpkUGjytMik0fVplUmgEtcqk0BxqlUmhYdQqk0ITqVUmhcZSq0wKzaZWmRQaUK0yKTSlWmVSaFS1yqTQvGqVSaGh1SqTQpOrVSaFxlerTQrLsFabFBZkrfY3haVZSydFibQ1nxSea2s-KTzc1nRSlIRb80nhMbfmk8Kzbs0nhQfemk8KT701nxQefWs-KTz_1nxSeAiu-aTwJFzzSeFxuOaTwjNxrf1NYcG4ViaFpuOaTwqPyDWdFCUn13RSlLDc0ElREnNDJ0WJzQ2dFCU7N3RSlADd0ElRUnRDJ0WJ0g2dFCVPN3RSlFDd0ElRknVDJ0WJ1w2dFCVjN3RSlKDd0ElR0nZDJ0WJ3A2fFJ67Gz4pPHw3fFJ4Am_4pPAY3tJJUbJ4SydFCeQtnRQllbd0UpRo3tJJUfJ5SydFCektnRQlqbd0UpS43tJJUTJ7SydFCe4tnRQlvbd0UpQI39JJUXJ8yyeFh_mWT8qHRP_j__OspDh2awAA\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
2
|
-
import "src/styles/theme.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/styles/theme.css.ts.vanilla.css\",\"source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AjQzNDRERGOwogICAgLS1fNGxzaGd6cjogIzAxODFGOTsKICAgIC0tXzRsc2hnenM6ICNBNUEyQUU7CiAgICAtLV80bHNoZ3p0OiAjRThFQ0YzOwogICAgLS1fNGxzaGd6dTogJ0ludGVyJywgc2Fucy1zZXJpZjsKICAgIC0tXzRsc2hnenY6ICdQb3BwaW5zJywgc2Fucy1zZXJpZjsKICB9Cn0\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
3
|
-
import "src/components/FileUpload/styles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/components/FileUpload/styles.css.ts.vanilla.css\",\"source\":\"#H4sIAAAAAAAAA61W226jMBB971fMy0qbByKgTS_uS_9k5dgTcGJsZDsN6Sr_vgIMGMImVOpjxjNnLufMhA9Jz2iA6aLUCpWz7w9r96KsfHuEvw8AW204mohpqQ2BT2p-R9GfJ2nz7Guzeq8dKDtkRh8Vn3UqWqcWxbqzRAJWS8HfHy5dpqd7mQ5LMu1XAeSmgWRHY2s_pV1EpdQn5DWQLikT7kwgXj-HMSTXn2juFfO2pBgWFiNbyNsRmzCiWBKBYYRaEnFoIj6mlDehHidufgCcBHc5gSSOf9XtXgaPxHu0IyKQlhVwanPkc3PqR2koF0dLIEnLqn0oKedCZQRSg0VrcljVTIlMEWCoHJrW3hFZajEYnaHKCie0IkClhHidWkBq0ee9z9C4r4D-mwIwq0UJimmCZw_NhS0lPRPYSs0OLdZOKxdZ8YUEkqduQI3xhCLLHYFNHPtZzOSKfUkFNZlQ0VY7pwsCry1SUMOLr2E23xxyMkZ2uqzXZuMZC5BfZ5DTH0F-m85NaYUTH-p9QrCkl1UfuZPYzVZiFXFhkLUCYloeC9W-ZbQp5WWmlu20lgGxkW0kHBZ2LN4pXKD8kfWOnrajfSKQlFV7ScdudH7trqXAOsIkVgQST4ZQkV_9eOLPb0nn-1I95cJhZEvKsGb0ZGjZPtRLuJP6RCAXnKMKLsPwhFKK0go7qRF_QoTp1ah2s6OiVTeqNI6vYrLukPSsDsIdSBwssycuEEo6COVWI2Hnr13n31Hr_mid2J0jppVD5caPE1H19F-f4mQz3OJwKqMjO9eIXHZd99Prmn-Xern0_ohr5HTBzQwQ9vN_qgC535ge7k7X_1nuvs_53bnb4cHX15UzFLjgo2XKf9MkxOvHUACXfwvfFqZoCgAA\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
4
|
-
var fileUploadHint = 't7nsl98';
|
|
5
|
-
var fileUploadDropzoneVariants = {
|
|
6
|
-
default: 't7nsl92',
|
|
7
|
-
dragOver: 't7nsl93',
|
|
8
|
-
error: 't7nsl94',
|
|
9
|
-
disabled: 't7nsl95'
|
|
10
|
-
};
|
|
11
|
-
var fileUploadItemProgress = 't7nsl9f';
|
|
12
|
-
var fileUploadProgressFill = 't7nsl9k';
|
|
13
|
-
var fileUploadList = 't7nsl9a';
|
|
14
|
-
var fileUploadItemSize = 't7nsl9e';
|
|
15
|
-
var fileUploadLabel = 't7nsl96';
|
|
16
|
-
var fileUploadProgressFillVariants = {
|
|
17
|
-
uploading: 't7nsl9l',
|
|
18
|
-
success: 't7nsl9m',
|
|
19
|
-
error: 't7nsl9n'
|
|
20
|
-
};
|
|
21
|
-
var fileUploadItemInfo = 't7nsl9c';
|
|
22
|
-
var fileUploadItemName = 't7nsl9d';
|
|
23
|
-
var fileUploadInput = 't7nsl99';
|
|
24
|
-
var fileUploadContainer = 't7nsl90';
|
|
25
|
-
var fileUploadIcon = 't7nsl9i';
|
|
26
|
-
var fileUploadRemoveButton = 't7nsl9g';
|
|
27
|
-
var fileUploadText = 't7nsl97';
|
|
28
|
-
var fileUploadDropzone = 't7nsl91';
|
|
29
|
-
var fileUploadError = 't7nsl9h';
|
|
30
|
-
var fileUploadProgressBar = 't7nsl9j';
|
|
31
|
-
var fileUploadItem = 't7nsl9b';
|
|
32
|
-
export { fileUploadContainer, fileUploadDropzone, fileUploadDropzoneVariants, fileUploadError, fileUploadHint, fileUploadIcon, fileUploadInput, fileUploadItem, fileUploadItemInfo, fileUploadItemName, fileUploadItemProgress, fileUploadItemSize, fileUploadLabel, fileUploadList, fileUploadProgressBar, fileUploadProgressFill, fileUploadProgressFillVariants, fileUploadRemoveButton, fileUploadText };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import "react";
|
|
4
|
-
import { formStyle } from "./styles.css.js";
|
|
5
|
-
import Box from "../Box/index.js";
|
|
6
|
-
const Form = (props)=>/*#__PURE__*/ jsx(Box, {
|
|
7
|
-
as: "form",
|
|
8
|
-
gap: "medium",
|
|
9
|
-
paddingX: "large",
|
|
10
|
-
className: clsx(formStyle, props.className),
|
|
11
|
-
...props,
|
|
12
|
-
children: props.children
|
|
13
|
-
});
|
|
14
|
-
const Form_Form = Form;
|
|
15
|
-
export { Form_Form as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import "react";
|
|
4
|
-
import { formInputStyle } from "./styles.css.js";
|
|
5
|
-
import { Input } from "../../index.js";
|
|
6
|
-
import Box from "../Box/index.js";
|
|
7
|
-
const FormInput = (props)=>/*#__PURE__*/ jsx(Box, {
|
|
8
|
-
as: Input,
|
|
9
|
-
padding: "small",
|
|
10
|
-
className: clsx(formInputStyle, props.className),
|
|
11
|
-
label: props.label,
|
|
12
|
-
...props
|
|
13
|
-
});
|
|
14
|
-
const Form_FormInput = FormInput;
|
|
15
|
-
export { Form_FormInput as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "src/components/Form/styles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/components/Form/styles.css.ts.vanilla.css\",\"source\":\"QGxheWVyIGNvbXBvbmVudHM7CkBsYXllciBjb21wb25lbnRzIHsKICAuXzFmZGprd3QwIHsKICAgIGRpc3BsYXk6IGdyaWQ7CiAgICBncmlkLXRlbXBsYXRlLXJvd3M6IG1pbi1jb250ZW50IDFmciBtaW4tY29udGVudDsKICB9CiAgLl8xZmRqa3d0MSB7CiAgICBkaXNwbGF5OiBmbGV4OwogICAgZmxleC1kaXJlY3Rpb246IHJvdzsKICAgIGp1c3RpZnktY29udGVudDogc3BhY2UtYmV0d2VlbjsKICAgIGFsaWduLWl0ZW1zOiBjZW50ZXI7CiAgfQp9\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
2
|
-
var formStyle = '_1fdjkwt0';
|
|
3
|
-
var formInputStyle = '_1fdjkwt1';
|
|
4
|
-
export { formInputStyle, formStyle };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
3
|
-
export type GridGap = 'none' | 'small' | 'medium' | 'large';
|
|
4
|
-
export interface GridProps {
|
|
5
|
-
columns?: GridColumns;
|
|
6
|
-
gap?: GridGap;
|
|
7
|
-
minChildWidth?: string;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
style?: React.CSSProperties;
|
|
11
|
-
}
|
|
12
|
-
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLElement>>;
|
|
13
|
-
export default Grid;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef } from "react";
|
|
3
|
-
import Box from "../Box/index.js";
|
|
4
|
-
const gapMap = {
|
|
5
|
-
none: '0',
|
|
6
|
-
small: '0.5rem',
|
|
7
|
-
medium: '1rem',
|
|
8
|
-
large: '2rem'
|
|
9
|
-
};
|
|
10
|
-
const Grid = /*#__PURE__*/ forwardRef(({ columns, gap = 'medium', minChildWidth, children, className, style }, ref)=>{
|
|
11
|
-
const gapValue = gap;
|
|
12
|
-
const gridStyle = {
|
|
13
|
-
display: 'grid',
|
|
14
|
-
gap: gapMap[gapValue]
|
|
15
|
-
};
|
|
16
|
-
if (minChildWidth) gridStyle.gridTemplateColumns = `repeat(auto-fit, minmax(${minChildWidth}, 1fr))`;
|
|
17
|
-
else if (columns) gridStyle.gridTemplateColumns = `repeat(${columns}, 1fr)`;
|
|
18
|
-
return /*#__PURE__*/ jsx(Box, {
|
|
19
|
-
ref: ref,
|
|
20
|
-
className: className,
|
|
21
|
-
style: {
|
|
22
|
-
...gridStyle,
|
|
23
|
-
...style
|
|
24
|
-
},
|
|
25
|
-
children: children
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
Grid.displayName = 'Grid';
|
|
29
|
-
const Grid_Grid = Grid;
|
|
30
|
-
export { Grid_Grid as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type IconProps = {
|
|
3
|
-
name?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
color?: string;
|
|
7
|
-
};
|
|
8
|
-
declare const IconComponent: {
|
|
9
|
-
({ name, children, className, color }: IconProps): React.JSX.Element | null;
|
|
10
|
-
displayName: string;
|
|
11
|
-
};
|
|
12
|
-
export default IconComponent;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import "react";
|
|
4
|
-
import { icon } from "./styles.css.js";
|
|
5
|
-
import Box from "../Box/index.js";
|
|
6
|
-
const IconComponent = ({ name, children, className, color })=>{
|
|
7
|
-
const iconMap = {
|
|
8
|
-
check: '✓',
|
|
9
|
-
error: '✗',
|
|
10
|
-
warning: '⚠',
|
|
11
|
-
info: 'i',
|
|
12
|
-
success: '✓',
|
|
13
|
-
close: '×'
|
|
14
|
-
};
|
|
15
|
-
const displayContent = children || (name ? iconMap[name] : void 0);
|
|
16
|
-
if (!displayContent) return null;
|
|
17
|
-
return /*#__PURE__*/ jsx(Box, {
|
|
18
|
-
as: "span",
|
|
19
|
-
className: clsx(icon, className),
|
|
20
|
-
style: {
|
|
21
|
-
color
|
|
22
|
-
},
|
|
23
|
-
"aria-hidden": "true",
|
|
24
|
-
children: displayContent
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
IconComponent.displayName = 'Icon';
|
|
28
|
-
const Icon = IconComponent;
|
|
29
|
-
export { Icon as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const icon: string;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import "src/components/Icon/styles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/components/Icon/styles.css.ts.vanilla.css\",\"source\":\"QGxheWVyIGNvbXBvbmVudHM7CkBsYXllciBjb21wb25lbnRzIHsKICAuXzVhc3NheTAgewogICAgZGlzcGxheTogaW5saW5lLWZsZXg7CiAgICBhbGlnbi1pdGVtczogY2VudGVyOwogICAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7CiAgICBmb250LXNpemU6IDE2cHg7CiAgICBsaW5lLWhlaWdodDogMTsKICAgIHVzZXItc2VsZWN0OiBub25lOwogIH0KfQ\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
2
|
-
var icon = '_5assay0';
|
|
3
|
-
export { icon };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import "react";
|
|
4
|
-
import { inputStyle, label } from "./styles.css.js";
|
|
5
|
-
import { text as styles_css_js_text } from "../Text/styles.css.js";
|
|
6
|
-
import Box from "../Box/index.js";
|
|
7
|
-
const Input = (props)=>/*#__PURE__*/ jsxs(Box, {
|
|
8
|
-
display: "flex",
|
|
9
|
-
flexDirection: {
|
|
10
|
-
mobile: 'column',
|
|
11
|
-
tablet: 'row'
|
|
12
|
-
},
|
|
13
|
-
gap: "small",
|
|
14
|
-
children: [
|
|
15
|
-
props.label && /*#__PURE__*/ jsx(Box, {
|
|
16
|
-
as: "label",
|
|
17
|
-
className: clsx(styles_css_js_text, label),
|
|
18
|
-
marginX: {
|
|
19
|
-
mobile: 'auto',
|
|
20
|
-
tablet: 'none'
|
|
21
|
-
},
|
|
22
|
-
marginY: {
|
|
23
|
-
mobile: 'none',
|
|
24
|
-
tablet: 'auto'
|
|
25
|
-
},
|
|
26
|
-
htmlFor: props.id,
|
|
27
|
-
children: props.label
|
|
28
|
-
}),
|
|
29
|
-
/*#__PURE__*/ jsx(Box, {
|
|
30
|
-
as: "input",
|
|
31
|
-
className: clsx(inputStyle, props.className),
|
|
32
|
-
width: props.fullWidth ? '100%' : void 0,
|
|
33
|
-
...props
|
|
34
|
-
})
|
|
35
|
-
]
|
|
36
|
-
});
|
|
37
|
-
const Input_Input = Input;
|
|
38
|
-
export { Input_Input as default };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import "src/components/Input/styles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/components/Input/styles.css.ts.vanilla.css\",\"source\":\"QGxheWVyIGNvbXBvbmVudHM7CkBsYXllciBjb21wb25lbnRzIHsKICAucW1sanViMCB7CiAgICBwYWRkaW5nOiAwLjVyZW0gMXJlbTsKICAgIGJvcmRlci1yYWRpdXM6IDAuNXJlbTsKICB9CiAgLnFtbGp1YjEgewogICAgcGFkZGluZy1yaWdodDogMC41cmVtOwogIH0KfQ\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
2
|
-
var inputStyle = 'qmljub0';
|
|
3
|
-
var label = 'qmljub1';
|
|
4
|
-
export { inputStyle, label };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { kbd } from "./styles.css.js";
|
|
4
|
-
const Kbd = ({ children, className, ...props })=>/*#__PURE__*/ jsx("kbd", {
|
|
5
|
-
className: `${kbd} ${className || ''}`,
|
|
6
|
-
...props,
|
|
7
|
-
children: children
|
|
8
|
-
});
|
|
9
|
-
const Kbd_Kbd = Kbd;
|
|
10
|
-
export { Kbd_Kbd as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const kbd: string;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import "src/styles/sprinkles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/styles/sprinkles.css.ts.vanilla.css\",\"source\":\"#H4sIAAAAAAAAA5Wc227jVhJF3_srBAwGyDw4EG-HpPMSSpR-Y0CRh6Rs3ZqS23YP-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-GoA3Al-jxedUAOfR7POiCHPo93HZBDn8fDDsihz-NlB-TQ5_G0A3Lo83jbATn0eTzugBz6PF53QA59Hs87IIc-j_cdkEOfxwMPyKHP44UH5ITPw4kH5ITPw40H5Eaf6X0-hN8YrCTD8juDlXhYeQxWMmIVMFgJilXEYCUtVjGDlchYpQxWcmO1Y7ASHquKwUqCrGoK8xhZtRTmWbJ64jANlNWBwjxVVif-k2m0rC4cpvmy6vi7QUNmdaMwT5qVNin041YmhWbOSpkUGjytMik0fVplUmgEtcqk0BxqlUmhYdQqk0ITqVUmhcZSq0wKzaZWmRQaUK0yKTSlWmVSaFS1yqTQvGqVSaGh1SqTQpOrVSaFxlerTQrLsFabFBZkrfY3haVZSydFibQ1nxSea2s-KTzc1nRSlIRb80nhMbfmk8Kzbs0nhQfemk8KT701nxQefWs-KTz_1nxSeAiu-aTwJFzzSeFxuOaTwjNxrf1NYcG4ViaFpuOaTwqPyDWdFCUn13RSlLDc0ElREnNDJ0WJzQ2dFCU7N3RSlADd0ElRUnRDJ0WJ0g2dFCVPN3RSlFDd0ElRknVDJ0WJ1w2dFCVjN3RSlKDd0ElR0nZDJ0WJ3A2fFJ67Gz4pPHw3fFJ4Am_4pPAY3tJJUbJ4SydFCeQtnRQllbd0UpRo3tJJUfJ5SydFCektnRQlqbd0UpS43tJJUTJ7SydFCe4tnRQlvbd0UpQI39JJUXJ8yyeFh_mWT8qHRP_j__OspDh2awAA\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
2
|
-
import "src/styles/theme.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/styles/theme.css.ts.vanilla.css\",\"source\":\"QGxheWVyIHRoZW1lOwp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zaGd6cjogIzAxODFGOTsKICAgIC0tXzRsc2hnenM6ICNBNUEyQUU7CiAgICAtLV80bHNoZ3p0OiAjRThFQ0YzOwogICAgLS1fNGxzaGd6dTogJ0ludGVyJywgc2Fucy1zZXJpZjsKICAgIC0tXzRsc2hnenY6ICdQb3BwaW5zJywgc2Fucy1zZXJpZjsKICB9Cn0\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
3
|
-
import "src/components/Kbd/styles.css.ts.vanilla.css!=!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/virtualFileLoader/dist/vanilla-extract-webpack-plugin-virtualFileLoader.cjs.js?{\"fileName\":\"src/components/Kbd/styles.css.ts.vanilla.css\",\"source\":\"QGxheWVyIGNvbXBvbmVudHM7CkBsYXllciBjb21wb25lbnRzIHsKICAueTB1N29oMCB7CiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7CiAgICBwYWRkaW5nOiAwLjEyNXJlbSAwLjM3NXJlbTsKICAgIGZvbnQtZmFtaWx5OiBtb25vc3BhY2U7CiAgICBmb250LXNpemU6IDAuODVlbTsKICAgIGZvbnQtd2VpZ2h0OiA2MDA7CiAgICBsaW5lLWhlaWdodDogMS41OwogICAgY29sb3I6IHZhcigtLV80bHNoZ3owKTsKICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLV80bHNoZ3pjKTsKICAgIGJvcmRlcjogMXB4IHNvbGlkIHZhcigtLV80bHNoZ3o5KTsKICAgIGJvcmRlci1yYWRpdXM6IDRweDsKICAgIGJveC1zaGFkb3c6IDAgMnB4IDAgcmdiYSgwLCAwLCAwLCAwLjEpOwogICAgd2hpdGUtc3BhY2U6IG5vd3JhcDsKICB9Cn0\"}!../../../../../node_modules/.pnpm/@vanilla-extract+webpack-plugin@2.3.25_webpack@5.104.1/node_modules/@vanilla-extract/webpack-plugin/extracted.js";
|
|
4
|
-
var kbd = 'y0u7oh0';
|
|
5
|
-
export { kbd };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { list } from "./styles.css.js";
|
|
4
|
-
import Box from "../Box/index.js";
|
|
5
|
-
const List = ({ children })=>/*#__PURE__*/ jsx(Box, {
|
|
6
|
-
as: "ul",
|
|
7
|
-
className: list,
|
|
8
|
-
children: children
|
|
9
|
-
});
|
|
10
|
-
const List_List = List;
|
|
11
|
-
export { List_List as default };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { listItem } from "./styles.css.js";
|
|
4
|
-
import Box from "../Box/index.js";
|
|
5
|
-
const ListItem = ({ children })=>/*#__PURE__*/ jsx(Box, {
|
|
6
|
-
as: "li",
|
|
7
|
-
className: listItem,
|
|
8
|
-
children: children
|
|
9
|
-
});
|
|
10
|
-
const List_ListItem = ListItem;
|
|
11
|
-
export { List_ListItem as default };
|