@jordan-mace/chaser-design-system 1.2.1 → 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 -66
- 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 -55
- 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 -152
- 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 -78
- 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 -16
- 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 -51
- 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 -31
- 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 -26
- 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 -32
- 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 -37
- 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 -143
- 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 -42
- 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 -146
- 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 -94
- 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 -31
- 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 -146
- 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 -12
- 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 -10
- 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 -9
- 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 -17
- 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 -12
- 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 -93
- 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 -118
- 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 -45
- 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 -192
- 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 -72
- 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 -43
- 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 -26
- 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 -83
- 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 -29
- 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 -65
- 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 -60
- 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 -105
- 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 -50
- 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 -101
- 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 -94
- 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 -14
- 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 -11
- 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 -217
- 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 -119
- 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 -87
- 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 -13
- 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 -57
- package/dist/styles/layers.css.d.ts +0 -3
- package/dist/styles/layers.css.js +0 -4
- package/dist/styles/reset.css.js +0 -57
- package/dist/styles/sprinkles.css.d.ts +0 -241
- package/dist/styles/sprinkles.css.js +0 -220
- package/dist/styles/theme.css.d.ts +0 -38
- package/dist/styles/theme.css.js +0 -50
- package/dist/styles/utils.d.ts +0 -2
- package/dist/styles/utils.js +0 -8
- package/dist/theme.css.js +0 -50
- /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
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,1111 @@
|
|
|
1
|
+
import * as _vanilla_extract_sprinkles0 from "@vanilla-extract/sprinkles";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Button/Button.d.ts
|
|
5
|
+
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
6
|
+
variant: 'primary' | 'secondary';
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
label?: string;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const Button: ({
|
|
12
|
+
label,
|
|
13
|
+
...props
|
|
14
|
+
}: ButtonProps) => React.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/List/List.d.ts
|
|
17
|
+
declare const List: ({
|
|
18
|
+
children
|
|
19
|
+
}: {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}) => React.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/List/ListItem.d.ts
|
|
24
|
+
declare const ListItem: ({
|
|
25
|
+
children
|
|
26
|
+
}: {
|
|
27
|
+
children: React.ReactNode;
|
|
28
|
+
}) => React.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/Input/Input.d.ts
|
|
31
|
+
type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
|
|
32
|
+
label?: string;
|
|
33
|
+
fullWidth?: boolean;
|
|
34
|
+
};
|
|
35
|
+
declare const Input: (props: InputProps) => React.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/Form/Form.d.ts
|
|
38
|
+
type FormProps = React.FormHTMLAttributes<HTMLFormElement> & {
|
|
39
|
+
className?: string;
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
};
|
|
42
|
+
declare const Form: (props: FormProps) => React.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/Form/FormInput.d.ts
|
|
45
|
+
type FormInputProps = React.InputHTMLAttributes<HTMLInputElement> & InputProps;
|
|
46
|
+
declare const FormInput: (props: FormInputProps) => React.JSX.Element;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/Navbar/Navbar.d.ts
|
|
49
|
+
type NavbarProps = React.HTMLAttributes<HTMLElement> & {
|
|
50
|
+
children?: React.ReactNode;
|
|
51
|
+
};
|
|
52
|
+
declare const Navbar: (props: NavbarProps) => React.JSX.Element;
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/Navbar/NavbarItem.d.ts
|
|
55
|
+
type NavbarItemProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
};
|
|
58
|
+
declare const NavbarItem: (props: NavbarItemProps) => React.JSX.Element;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/Card/Card.d.ts
|
|
61
|
+
type CardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
62
|
+
variant?: 'elevated' | 'outlined' | 'filled';
|
|
63
|
+
children?: React.ReactNode;
|
|
64
|
+
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
65
|
+
};
|
|
66
|
+
declare const Card: ({
|
|
67
|
+
variant,
|
|
68
|
+
padding,
|
|
69
|
+
...props
|
|
70
|
+
}: CardProps) => React.JSX.Element;
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/components/Alert/Alert.d.ts
|
|
73
|
+
type AlertProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
74
|
+
severity?: 'success' | 'warning' | 'error' | 'info';
|
|
75
|
+
dismissible?: boolean;
|
|
76
|
+
onDismiss?: () => void;
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
};
|
|
79
|
+
declare const Alert: ({
|
|
80
|
+
severity,
|
|
81
|
+
dismissible,
|
|
82
|
+
onDismiss,
|
|
83
|
+
children,
|
|
84
|
+
...props
|
|
85
|
+
}: AlertProps) => React.JSX.Element;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/Text/P.d.ts
|
|
88
|
+
type PProps = React.HTMLAttributes<HTMLParagraphElement> & {
|
|
89
|
+
children: React.ReactNode;
|
|
90
|
+
className?: string;
|
|
91
|
+
};
|
|
92
|
+
declare const P: (props: PProps) => React.JSX.Element;
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/components/Text/Header.d.ts
|
|
95
|
+
type HeaderProps = {
|
|
96
|
+
variant: 'h1' | 'h2' | 'h3';
|
|
97
|
+
className?: string;
|
|
98
|
+
children?: React.ReactNode;
|
|
99
|
+
};
|
|
100
|
+
declare const Header: ({
|
|
101
|
+
variant,
|
|
102
|
+
children,
|
|
103
|
+
className
|
|
104
|
+
}: HeaderProps) => React.JSX.Element;
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/components/Modal/Modal.d.ts
|
|
107
|
+
type ModalSize = 'small' | 'medium' | 'large' | 'full';
|
|
108
|
+
interface ModalProps extends React.HTMLAttributes<HTMLDialogElement> {
|
|
109
|
+
isOpen: boolean;
|
|
110
|
+
onClose: () => void;
|
|
111
|
+
title?: string;
|
|
112
|
+
size?: ModalSize;
|
|
113
|
+
children?: React.ReactNode;
|
|
114
|
+
footer?: React.ReactNode;
|
|
115
|
+
showCloseButton?: boolean;
|
|
116
|
+
}
|
|
117
|
+
declare const Modal: ({
|
|
118
|
+
isOpen,
|
|
119
|
+
onClose,
|
|
120
|
+
title,
|
|
121
|
+
size,
|
|
122
|
+
children,
|
|
123
|
+
footer,
|
|
124
|
+
showCloseButton,
|
|
125
|
+
...props
|
|
126
|
+
}: ModalProps) => React.JSX.Element;
|
|
127
|
+
//#endregion
|
|
128
|
+
//#region src/components/Badge/Badge.d.ts
|
|
129
|
+
type BadgeVariant = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
130
|
+
type BadgeSize = 'small' | 'medium' | 'large';
|
|
131
|
+
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
132
|
+
variant?: BadgeVariant;
|
|
133
|
+
size?: BadgeSize;
|
|
134
|
+
dot?: boolean;
|
|
135
|
+
children?: React.ReactNode;
|
|
136
|
+
}
|
|
137
|
+
declare const Badge: ({
|
|
138
|
+
variant,
|
|
139
|
+
size,
|
|
140
|
+
dot,
|
|
141
|
+
children,
|
|
142
|
+
...props
|
|
143
|
+
}: BadgeProps) => React.JSX.Element;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/Divider/Divider.d.ts
|
|
146
|
+
type DividerOrientation = 'horizontal' | 'vertical';
|
|
147
|
+
type DividerSize = 'small' | 'medium' | 'large';
|
|
148
|
+
interface DividerProps extends React.HTMLAttributes<HTMLHRElement> {
|
|
149
|
+
orientation?: DividerOrientation;
|
|
150
|
+
size?: DividerSize;
|
|
151
|
+
}
|
|
152
|
+
declare const Divider: ({
|
|
153
|
+
orientation,
|
|
154
|
+
size,
|
|
155
|
+
...props
|
|
156
|
+
}: DividerProps) => React.JSX.Element;
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region src/components/Spinner/Spinner.d.ts
|
|
159
|
+
type SpinnerColor = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
160
|
+
type SpinnerSize = 'small' | 'medium' | 'large';
|
|
161
|
+
interface SpinnerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
162
|
+
color?: SpinnerColor;
|
|
163
|
+
size?: SpinnerSize;
|
|
164
|
+
role?: string;
|
|
165
|
+
}
|
|
166
|
+
declare const Spinner: ({
|
|
167
|
+
color,
|
|
168
|
+
size,
|
|
169
|
+
role,
|
|
170
|
+
...props
|
|
171
|
+
}: SpinnerProps) => React.JSX.Element;
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region src/components/Tooltip/Tooltip.d.ts
|
|
174
|
+
type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
175
|
+
interface TooltipProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
176
|
+
content: string;
|
|
177
|
+
position?: TooltipPosition;
|
|
178
|
+
showArrow?: boolean;
|
|
179
|
+
children: React.ReactNode;
|
|
180
|
+
}
|
|
181
|
+
declare const Tooltip: ({
|
|
182
|
+
content,
|
|
183
|
+
position,
|
|
184
|
+
showArrow,
|
|
185
|
+
children,
|
|
186
|
+
...props
|
|
187
|
+
}: TooltipProps) => React.JSX.Element;
|
|
188
|
+
//#endregion
|
|
189
|
+
//#region src/components/Toggle/Toggle.d.ts
|
|
190
|
+
type ToggleSize = 'small' | 'medium' | 'large';
|
|
191
|
+
interface ToggleProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'checked' | 'onChange'> {
|
|
192
|
+
checked?: boolean;
|
|
193
|
+
onChange?: (checked: boolean) => void;
|
|
194
|
+
size?: ToggleSize;
|
|
195
|
+
label?: string;
|
|
196
|
+
}
|
|
197
|
+
declare const Toggle: ({
|
|
198
|
+
checked,
|
|
199
|
+
onChange,
|
|
200
|
+
size,
|
|
201
|
+
label,
|
|
202
|
+
disabled,
|
|
203
|
+
id,
|
|
204
|
+
...props
|
|
205
|
+
}: ToggleProps) => React.JSX.Element;
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/components/Checkbox/Checkbox.d.ts
|
|
208
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
209
|
+
label?: string;
|
|
210
|
+
indeterminate?: boolean;
|
|
211
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/components/Radio/Radio.d.ts
|
|
214
|
+
type RadioGroupProps = {
|
|
215
|
+
children: React.ReactNode;
|
|
216
|
+
name: string;
|
|
217
|
+
value?: string;
|
|
218
|
+
onChange?: (value: string) => void;
|
|
219
|
+
layout?: 'vertical' | 'horizontal';
|
|
220
|
+
className?: string;
|
|
221
|
+
};
|
|
222
|
+
declare const RadioComponent: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
223
|
+
label?: string;
|
|
224
|
+
value: string;
|
|
225
|
+
} & React.RefAttributes<HTMLInputElement>> & {
|
|
226
|
+
Group: ({
|
|
227
|
+
children,
|
|
228
|
+
name,
|
|
229
|
+
value,
|
|
230
|
+
onChange,
|
|
231
|
+
layout,
|
|
232
|
+
className
|
|
233
|
+
}: RadioGroupProps) => React.JSX.Element;
|
|
234
|
+
};
|
|
235
|
+
//#endregion
|
|
236
|
+
//#region src/components/Select/Select.d.ts
|
|
237
|
+
type SelectOption = {
|
|
238
|
+
value: string;
|
|
239
|
+
label: string;
|
|
240
|
+
disabled?: boolean;
|
|
241
|
+
};
|
|
242
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size"> & {
|
|
243
|
+
label?: string;
|
|
244
|
+
options: SelectOption[];
|
|
245
|
+
error?: boolean;
|
|
246
|
+
fullWidth?: boolean;
|
|
247
|
+
} & React.RefAttributes<HTMLSelectElement>>;
|
|
248
|
+
//#endregion
|
|
249
|
+
//#region src/components/Tabs/Tabs.d.ts
|
|
250
|
+
type TabsProps = {
|
|
251
|
+
children: React.ReactNode;
|
|
252
|
+
defaultValue?: string;
|
|
253
|
+
orientation?: 'horizontal' | 'vertical';
|
|
254
|
+
className?: string;
|
|
255
|
+
onChange?: (value: string) => void;
|
|
256
|
+
};
|
|
257
|
+
type TabListProps = {
|
|
258
|
+
children: React.ReactNode;
|
|
259
|
+
className?: string;
|
|
260
|
+
};
|
|
261
|
+
type TabProps = {
|
|
262
|
+
value: string;
|
|
263
|
+
children: React.ReactNode;
|
|
264
|
+
disabled?: boolean;
|
|
265
|
+
className?: string;
|
|
266
|
+
};
|
|
267
|
+
type TabPanelProps = {
|
|
268
|
+
value: string;
|
|
269
|
+
children: React.ReactNode;
|
|
270
|
+
className?: string;
|
|
271
|
+
};
|
|
272
|
+
declare const TabsComponent: (({
|
|
273
|
+
children,
|
|
274
|
+
defaultValue,
|
|
275
|
+
orientation,
|
|
276
|
+
className,
|
|
277
|
+
onChange
|
|
278
|
+
}: TabsProps) => React.JSX.Element) & {
|
|
279
|
+
List: ({
|
|
280
|
+
children,
|
|
281
|
+
className
|
|
282
|
+
}: TabListProps) => React.JSX.Element;
|
|
283
|
+
Tab: ({
|
|
284
|
+
value,
|
|
285
|
+
children,
|
|
286
|
+
disabled,
|
|
287
|
+
className
|
|
288
|
+
}: TabProps) => React.JSX.Element;
|
|
289
|
+
Panel: ({
|
|
290
|
+
value,
|
|
291
|
+
children,
|
|
292
|
+
className
|
|
293
|
+
}: TabPanelProps) => React.JSX.Element | null;
|
|
294
|
+
};
|
|
295
|
+
//#endregion
|
|
296
|
+
//#region src/components/Avatar/Avatar.d.ts
|
|
297
|
+
type AvatarProps = {
|
|
298
|
+
alt?: string;
|
|
299
|
+
className?: string;
|
|
300
|
+
src?: string;
|
|
301
|
+
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
302
|
+
children?: React.ReactNode;
|
|
303
|
+
fallback?: string;
|
|
304
|
+
};
|
|
305
|
+
declare const Avatar: ({
|
|
306
|
+
alt,
|
|
307
|
+
className,
|
|
308
|
+
src,
|
|
309
|
+
size,
|
|
310
|
+
children,
|
|
311
|
+
fallback
|
|
312
|
+
}: AvatarProps) => React.JSX.Element;
|
|
313
|
+
//#endregion
|
|
314
|
+
//#region src/components/Tag/Tag.d.ts
|
|
315
|
+
type TagProps = {
|
|
316
|
+
children: React.ReactNode;
|
|
317
|
+
variant?: 'default' | 'primary' | 'success' | 'warning' | 'error';
|
|
318
|
+
onRemove?: () => void;
|
|
319
|
+
removable?: boolean;
|
|
320
|
+
className?: string;
|
|
321
|
+
};
|
|
322
|
+
type TagGroupProps = {
|
|
323
|
+
children: React.ReactNode;
|
|
324
|
+
className?: string;
|
|
325
|
+
};
|
|
326
|
+
declare const TagComponent: (({
|
|
327
|
+
children,
|
|
328
|
+
variant,
|
|
329
|
+
onRemove,
|
|
330
|
+
removable,
|
|
331
|
+
className
|
|
332
|
+
}: TagProps) => React.JSX.Element) & {
|
|
333
|
+
Group: ({
|
|
334
|
+
children,
|
|
335
|
+
className
|
|
336
|
+
}: TagGroupProps) => React.JSX.Element;
|
|
337
|
+
};
|
|
338
|
+
//#endregion
|
|
339
|
+
//#region src/components/Breadcrumb/Breadcrumb.d.ts
|
|
340
|
+
type BreadcrumbItem = {
|
|
341
|
+
label: string;
|
|
342
|
+
href?: string;
|
|
343
|
+
current?: boolean;
|
|
344
|
+
};
|
|
345
|
+
type BreadcrumbProps = {
|
|
346
|
+
items: BreadcrumbItem[];
|
|
347
|
+
className?: string;
|
|
348
|
+
separator?: string;
|
|
349
|
+
};
|
|
350
|
+
declare const Breadcrumb: ({
|
|
351
|
+
items,
|
|
352
|
+
className,
|
|
353
|
+
separator
|
|
354
|
+
}: BreadcrumbProps) => React.JSX.Element;
|
|
355
|
+
//#endregion
|
|
356
|
+
//#region src/components/Accordion/Accordion.d.ts
|
|
357
|
+
type AccordionProps = {
|
|
358
|
+
children: React.ReactNode;
|
|
359
|
+
allowMultiple?: boolean;
|
|
360
|
+
className?: string;
|
|
361
|
+
};
|
|
362
|
+
type AccordionItemProps = {
|
|
363
|
+
value: string;
|
|
364
|
+
title: string;
|
|
365
|
+
children: React.ReactNode;
|
|
366
|
+
className?: string;
|
|
367
|
+
};
|
|
368
|
+
declare const AccordionComponent: (({
|
|
369
|
+
children,
|
|
370
|
+
allowMultiple,
|
|
371
|
+
className
|
|
372
|
+
}: AccordionProps) => React.JSX.Element) & {
|
|
373
|
+
Item: ({
|
|
374
|
+
value,
|
|
375
|
+
title,
|
|
376
|
+
children,
|
|
377
|
+
className
|
|
378
|
+
}: AccordionItemProps) => React.JSX.Element;
|
|
379
|
+
};
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region src/components/Progress/Progress.d.ts
|
|
382
|
+
type ProgressProps = {
|
|
383
|
+
value: number;
|
|
384
|
+
max?: number;
|
|
385
|
+
label?: string;
|
|
386
|
+
showPercentage?: boolean;
|
|
387
|
+
variant?: 'default' | 'success' | 'warning' | 'error';
|
|
388
|
+
className?: string;
|
|
389
|
+
};
|
|
390
|
+
declare const Progress: ({
|
|
391
|
+
value,
|
|
392
|
+
max,
|
|
393
|
+
label,
|
|
394
|
+
showPercentage,
|
|
395
|
+
variant,
|
|
396
|
+
className
|
|
397
|
+
}: ProgressProps) => React.JSX.Element;
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region src/components/Icon/Icon.d.ts
|
|
400
|
+
type IconProps = {
|
|
401
|
+
name?: string;
|
|
402
|
+
children?: React.ReactNode;
|
|
403
|
+
className?: string;
|
|
404
|
+
color?: string;
|
|
405
|
+
};
|
|
406
|
+
declare const IconComponent: {
|
|
407
|
+
({
|
|
408
|
+
name,
|
|
409
|
+
children,
|
|
410
|
+
className,
|
|
411
|
+
color
|
|
412
|
+
}: IconProps): React.JSX.Element | null;
|
|
413
|
+
displayName: string;
|
|
414
|
+
};
|
|
415
|
+
//#endregion
|
|
416
|
+
//#region src/components/Toast/Toast.d.ts
|
|
417
|
+
type ToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
418
|
+
type ToastVariant = 'success' | 'error' | 'warning' | 'info';
|
|
419
|
+
type ToastOptions = {
|
|
420
|
+
duration?: number;
|
|
421
|
+
closable?: boolean;
|
|
422
|
+
position?: ToastPosition;
|
|
423
|
+
onClose?: () => void;
|
|
424
|
+
};
|
|
425
|
+
type ToastContextType = {
|
|
426
|
+
addToast: (message: string, variant?: ToastVariant, options?: ToastOptions) => string;
|
|
427
|
+
removeToast: (id: string) => void;
|
|
428
|
+
handleDismissAll: () => void;
|
|
429
|
+
handleResumeAll: () => void;
|
|
430
|
+
};
|
|
431
|
+
type ToastProviderProps = {
|
|
432
|
+
children: ReactNode;
|
|
433
|
+
position?: ToastPosition;
|
|
434
|
+
maxVisible?: number;
|
|
435
|
+
stacking?: 'stack' | 'replace';
|
|
436
|
+
};
|
|
437
|
+
declare const ToastProvider: ({
|
|
438
|
+
children,
|
|
439
|
+
position,
|
|
440
|
+
maxVisible,
|
|
441
|
+
stacking
|
|
442
|
+
}: ToastProviderProps) => React.JSX.Element;
|
|
443
|
+
declare const useToast: () => ToastContextType;
|
|
444
|
+
type ToastComponentProps = {
|
|
445
|
+
message: string;
|
|
446
|
+
variant?: ToastVariant;
|
|
447
|
+
options?: ToastOptions;
|
|
448
|
+
className?: string;
|
|
449
|
+
};
|
|
450
|
+
declare const Toast: {
|
|
451
|
+
({
|
|
452
|
+
message,
|
|
453
|
+
variant,
|
|
454
|
+
options,
|
|
455
|
+
className
|
|
456
|
+
}: ToastComponentProps): null;
|
|
457
|
+
displayName: string;
|
|
458
|
+
};
|
|
459
|
+
//#endregion
|
|
460
|
+
//#region src/styles/sprinkles.css.d.ts
|
|
461
|
+
declare const sprinkles: ((props: {
|
|
462
|
+
display?: ("none" | "flex" | "block" | "inline" | {
|
|
463
|
+
mobile?: "none" | "flex" | "block" | "inline" | undefined;
|
|
464
|
+
tablet?: "none" | "flex" | "block" | "inline" | undefined;
|
|
465
|
+
desktop?: "none" | "flex" | "block" | "inline" | undefined;
|
|
466
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "flex" | "block" | "inline" | null>;
|
|
467
|
+
width?: ("auto" | "100%" | "50%" | "25%" | {
|
|
468
|
+
mobile?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
469
|
+
tablet?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
470
|
+
desktop?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
471
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%" | null>;
|
|
472
|
+
height?: ("auto" | "100%" | "50%" | "25%" | {
|
|
473
|
+
mobile?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
474
|
+
tablet?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
475
|
+
desktop?: "auto" | "100%" | "50%" | "25%" | undefined;
|
|
476
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "auto" | "100%" | "50%" | "25%" | null>;
|
|
477
|
+
flexDirection?: ("column" | "row" | {
|
|
478
|
+
mobile?: "column" | "row" | undefined;
|
|
479
|
+
tablet?: "column" | "row" | undefined;
|
|
480
|
+
desktop?: "column" | "row" | undefined;
|
|
481
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "column" | "row" | null>;
|
|
482
|
+
justifyContent?: ("space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | {
|
|
483
|
+
mobile?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
484
|
+
tablet?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
485
|
+
desktop?: "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
486
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "space-around" | "space-between" | "stretch" | "center" | "flex-end" | "flex-start" | null>;
|
|
487
|
+
alignItems?: ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
488
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
489
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
490
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
491
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start" | null>;
|
|
492
|
+
paddingTop?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
493
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
494
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
495
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
496
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
497
|
+
paddingBottom?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
498
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
499
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
500
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
501
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
502
|
+
paddingLeft?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
503
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
504
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
505
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
506
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
507
|
+
paddingRight?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
508
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
509
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
510
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
511
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
512
|
+
marginLeft?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
513
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
514
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
515
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
516
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
517
|
+
marginRight?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
518
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
519
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
520
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
521
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
522
|
+
marginTop?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
523
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
524
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
525
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
526
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
527
|
+
marginBottom?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
528
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
529
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
530
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
531
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
532
|
+
borderLeft?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
533
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
534
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
535
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
536
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
537
|
+
borderRight?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
538
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
539
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
540
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
541
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
542
|
+
borderTop?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
543
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
544
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
545
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
546
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
547
|
+
borderBottom?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
548
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
549
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
550
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
551
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
552
|
+
borderRadius?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
553
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
554
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
555
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
556
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
557
|
+
gap?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
558
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
559
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
560
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
561
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
562
|
+
padding?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
563
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
564
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
565
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
566
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
567
|
+
border?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
568
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
569
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
570
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
571
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
572
|
+
paddingX?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
573
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
574
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
575
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
576
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
577
|
+
paddingY?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
578
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
579
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
580
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
581
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
582
|
+
marginX?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
583
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
584
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
585
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
586
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
587
|
+
marginY?: ("none" | "small" | "medium" | "large" | "auto" | {
|
|
588
|
+
mobile?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
589
|
+
tablet?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
590
|
+
desktop?: "none" | "small" | "medium" | "large" | "auto" | undefined;
|
|
591
|
+
} | undefined) | _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "none" | "small" | "medium" | "large" | "auto" | null>;
|
|
592
|
+
placeItems?: _vanilla_extract_sprinkles0.ResponsiveArray<2 | 3 | 1, "stretch" | "center" | "flex-end" | "flex-start" | null> | ("stretch" | "center" | "flex-end" | "flex-start" | {
|
|
593
|
+
mobile?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
594
|
+
tablet?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
595
|
+
desktop?: "stretch" | "center" | "flex-end" | "flex-start" | undefined;
|
|
596
|
+
} | undefined);
|
|
597
|
+
} & {
|
|
598
|
+
color?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
599
|
+
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | undefined;
|
|
600
|
+
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
background?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | {
|
|
603
|
+
lightMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | undefined;
|
|
604
|
+
darkMode?: "c1-50" | "c1-100" | "c1-150" | "c1-200" | "c1-250" | "c1-300" | "c1-350" | "c1-400" | "c1-450" | "c1-500" | "c1-550" | "c1-600" | "c1-650" | "c1-700" | "c1-750" | "c1-800" | "c1-850" | "c1-900" | "c2-50" | "c2-100" | "c2-150" | "c2-200" | "c2-250" | "c2-300" | "c2-350" | "c2-400" | "c2-450" | "c2-500" | "c2-550" | "c2-600" | "c2-650" | "c2-700" | "c2-750" | "c2-800" | "c2-850" | "c2-900" | "c3-50" | "c3-100" | "c3-150" | "c3-200" | "c3-250" | "c3-300" | "c3-350" | "c3-400" | "c3-450" | "c3-500" | "c3-550" | "c3-600" | "c3-650" | "c3-700" | "c3-750" | "c3-800" | "c3-850" | "c3-900" | "c4-50" | "c4-100" | "c4-150" | "c4-200" | "c4-250" | "c4-300" | "c4-350" | "c4-400" | "c4-450" | "c4-500" | "c4-550" | "c4-600" | "c4-650" | "c4-700" | "c4-750" | "c4-800" | "c4-850" | "c4-900" | "c5-50" | "c5-100" | "c5-150" | "c5-200" | "c5-250" | "c5-300" | "c5-350" | "c5-400" | "c5-450" | "c5-500" | "c5-550" | "c5-600" | "c5-650" | "c5-700" | "c5-750" | "c5-800" | "c5-850" | "c5-900" | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
}) => string) & {
|
|
607
|
+
properties: Set<"color" | "padding" | "height" | "width" | "alignItems" | "display" | "flexDirection" | "justifyContent" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "background" | "border" | "borderBottom" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "gap" | "placeItems" | "paddingX" | "paddingY" | "marginX" | "marginY">;
|
|
608
|
+
};
|
|
609
|
+
type Sprinkles = Parameters<typeof sprinkles>[0];
|
|
610
|
+
//#endregion
|
|
611
|
+
//#region src/components/Box/Box.d.ts
|
|
612
|
+
type BoxProps = Sprinkles & {
|
|
613
|
+
as?: React.ElementType;
|
|
614
|
+
children?: React.ReactNode;
|
|
615
|
+
className?: string;
|
|
616
|
+
[key: string]: unknown;
|
|
617
|
+
};
|
|
618
|
+
declare const Box: React.ForwardRefExoticComponent<Omit<BoxProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
619
|
+
//#endregion
|
|
620
|
+
//#region src/components/Table/Table.d.ts
|
|
621
|
+
type TableProps = {
|
|
622
|
+
children: React.ReactNode;
|
|
623
|
+
className?: string;
|
|
624
|
+
striped?: boolean;
|
|
625
|
+
containerClassName?: string;
|
|
626
|
+
};
|
|
627
|
+
type TheadProps = {
|
|
628
|
+
children: React.ReactNode;
|
|
629
|
+
className?: string;
|
|
630
|
+
};
|
|
631
|
+
type TbodyProps = {
|
|
632
|
+
children: React.ReactNode;
|
|
633
|
+
className?: string;
|
|
634
|
+
};
|
|
635
|
+
type TfootProps = {
|
|
636
|
+
children: React.ReactNode;
|
|
637
|
+
className?: string;
|
|
638
|
+
};
|
|
639
|
+
type TrProps = {
|
|
640
|
+
children: React.ReactNode;
|
|
641
|
+
className?: string;
|
|
642
|
+
};
|
|
643
|
+
type ThProps = {
|
|
644
|
+
children?: React.ReactNode;
|
|
645
|
+
className?: string;
|
|
646
|
+
};
|
|
647
|
+
type TdProps = {
|
|
648
|
+
children?: React.ReactNode;
|
|
649
|
+
className?: string;
|
|
650
|
+
colSpan?: number;
|
|
651
|
+
rowSpan?: number;
|
|
652
|
+
};
|
|
653
|
+
declare const Table: (({
|
|
654
|
+
children,
|
|
655
|
+
className,
|
|
656
|
+
striped,
|
|
657
|
+
containerClassName
|
|
658
|
+
}: TableProps) => React.JSX.Element) & {
|
|
659
|
+
Thead: ({
|
|
660
|
+
children,
|
|
661
|
+
className
|
|
662
|
+
}: TheadProps) => React.JSX.Element;
|
|
663
|
+
Tbody: ({
|
|
664
|
+
children,
|
|
665
|
+
className
|
|
666
|
+
}: TbodyProps) => React.JSX.Element;
|
|
667
|
+
Tfoot: ({
|
|
668
|
+
children,
|
|
669
|
+
className
|
|
670
|
+
}: TfootProps) => React.JSX.Element;
|
|
671
|
+
Tr: ({
|
|
672
|
+
children,
|
|
673
|
+
className
|
|
674
|
+
}: TrProps) => React.JSX.Element;
|
|
675
|
+
Th: ({
|
|
676
|
+
children,
|
|
677
|
+
className
|
|
678
|
+
}: ThProps) => React.JSX.Element;
|
|
679
|
+
Td: ({
|
|
680
|
+
children,
|
|
681
|
+
className,
|
|
682
|
+
colSpan,
|
|
683
|
+
rowSpan
|
|
684
|
+
}: TdProps) => React.JSX.Element;
|
|
685
|
+
};
|
|
686
|
+
//#endregion
|
|
687
|
+
//#region src/components/TextArea/TextArea.d.ts
|
|
688
|
+
type TextAreaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
689
|
+
label?: string;
|
|
690
|
+
fullWidth?: boolean;
|
|
691
|
+
};
|
|
692
|
+
declare const TextArea: (props: TextAreaProps) => React.JSX.Element;
|
|
693
|
+
//#endregion
|
|
694
|
+
//#region src/components/Pagination/Pagination.d.ts
|
|
695
|
+
type PaginationProps = {
|
|
696
|
+
currentPage: number;
|
|
697
|
+
totalPages: number;
|
|
698
|
+
onPageChange: (page: number) => void;
|
|
699
|
+
siblingCount?: number;
|
|
700
|
+
showFirstLast?: boolean;
|
|
701
|
+
showPrevNext?: boolean;
|
|
702
|
+
};
|
|
703
|
+
declare const Pagination: ({
|
|
704
|
+
currentPage,
|
|
705
|
+
totalPages,
|
|
706
|
+
onPageChange,
|
|
707
|
+
siblingCount,
|
|
708
|
+
showFirstLast,
|
|
709
|
+
showPrevNext
|
|
710
|
+
}: PaginationProps) => React.JSX.Element;
|
|
711
|
+
//#endregion
|
|
712
|
+
//#region src/components/Skeleton/Skeleton.d.ts
|
|
713
|
+
type SkeletonVariant = 'text' | 'circle' | 'rectangle';
|
|
714
|
+
type SkeletonSize = 'small' | 'medium' | 'large';
|
|
715
|
+
type SkeletonAnimation = 'shimmer' | 'pulse' | 'none';
|
|
716
|
+
interface SkeletonProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
717
|
+
variant?: SkeletonVariant;
|
|
718
|
+
size?: SkeletonSize;
|
|
719
|
+
animation?: SkeletonAnimation;
|
|
720
|
+
width?: string | number;
|
|
721
|
+
height?: string | number;
|
|
722
|
+
count?: number;
|
|
723
|
+
}
|
|
724
|
+
declare const Skeleton: ({
|
|
725
|
+
variant,
|
|
726
|
+
size,
|
|
727
|
+
animation,
|
|
728
|
+
width,
|
|
729
|
+
height,
|
|
730
|
+
count,
|
|
731
|
+
className,
|
|
732
|
+
...props
|
|
733
|
+
}: SkeletonProps) => React.JSX.Element;
|
|
734
|
+
//#endregion
|
|
735
|
+
//#region src/components/Drawer/Drawer.d.ts
|
|
736
|
+
type DrawerPosition = 'left' | 'right' | 'top' | 'bottom';
|
|
737
|
+
type DrawerSize = 'small' | 'medium' | 'large' | 'full';
|
|
738
|
+
interface DrawerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
739
|
+
isOpen: boolean;
|
|
740
|
+
onClose: () => void;
|
|
741
|
+
title?: string;
|
|
742
|
+
position?: DrawerPosition;
|
|
743
|
+
size?: DrawerSize;
|
|
744
|
+
children?: React.ReactNode;
|
|
745
|
+
footer?: React.ReactNode;
|
|
746
|
+
showCloseButton?: boolean;
|
|
747
|
+
closeOnOverlayClick?: boolean;
|
|
748
|
+
}
|
|
749
|
+
declare const Drawer: ({
|
|
750
|
+
isOpen,
|
|
751
|
+
onClose,
|
|
752
|
+
title,
|
|
753
|
+
position,
|
|
754
|
+
size,
|
|
755
|
+
children,
|
|
756
|
+
footer,
|
|
757
|
+
showCloseButton,
|
|
758
|
+
closeOnOverlayClick,
|
|
759
|
+
className,
|
|
760
|
+
...props
|
|
761
|
+
}: DrawerProps) => React.JSX.Element | null;
|
|
762
|
+
//#endregion
|
|
763
|
+
//#region src/components/DropdownMenu/DropdownMenu.d.ts
|
|
764
|
+
type DropdownMenuPosition = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
|
765
|
+
type DropdownMenuItemVariant = 'default' | 'destructive' | 'disabled';
|
|
766
|
+
interface DropdownMenuItemProps {
|
|
767
|
+
label: string;
|
|
768
|
+
onClick?: () => void;
|
|
769
|
+
variant?: DropdownMenuItemVariant;
|
|
770
|
+
icon?: React.ReactNode;
|
|
771
|
+
disabled?: boolean;
|
|
772
|
+
}
|
|
773
|
+
interface DropdownMenuGroupProps {
|
|
774
|
+
label?: string;
|
|
775
|
+
items: DropdownMenuItemProps[];
|
|
776
|
+
}
|
|
777
|
+
interface DropdownMenuProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
778
|
+
trigger: React.ReactNode;
|
|
779
|
+
items?: DropdownMenuItemProps[];
|
|
780
|
+
groups?: DropdownMenuGroupProps[];
|
|
781
|
+
position?: DropdownMenuPosition;
|
|
782
|
+
closeOnItemClick?: boolean;
|
|
783
|
+
}
|
|
784
|
+
declare const DropdownMenu: ({
|
|
785
|
+
trigger,
|
|
786
|
+
items,
|
|
787
|
+
groups,
|
|
788
|
+
position,
|
|
789
|
+
closeOnItemClick,
|
|
790
|
+
className,
|
|
791
|
+
...props
|
|
792
|
+
}: DropdownMenuProps) => React.JSX.Element;
|
|
793
|
+
//#endregion
|
|
794
|
+
//#region src/components/Popover/Popover.d.ts
|
|
795
|
+
type PopoverPosition = 'top' | 'bottom' | 'left' | 'right' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
|
|
796
|
+
type PopoverTriggerType = 'click' | 'hover';
|
|
797
|
+
interface PopoverProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
798
|
+
trigger: React.ReactNode;
|
|
799
|
+
children: React.ReactNode;
|
|
800
|
+
position?: PopoverPosition;
|
|
801
|
+
title?: string;
|
|
802
|
+
footer?: React.ReactNode;
|
|
803
|
+
showArrow?: boolean;
|
|
804
|
+
triggerType?: PopoverTriggerType;
|
|
805
|
+
closeOnClickOutside?: boolean;
|
|
806
|
+
closeOnEscape?: boolean;
|
|
807
|
+
defaultOpen?: boolean;
|
|
808
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
809
|
+
}
|
|
810
|
+
declare const Popover: ({
|
|
811
|
+
trigger,
|
|
812
|
+
children,
|
|
813
|
+
position,
|
|
814
|
+
title,
|
|
815
|
+
footer,
|
|
816
|
+
showArrow,
|
|
817
|
+
triggerType,
|
|
818
|
+
closeOnClickOutside,
|
|
819
|
+
closeOnEscape,
|
|
820
|
+
defaultOpen,
|
|
821
|
+
onOpenChange,
|
|
822
|
+
className,
|
|
823
|
+
...props
|
|
824
|
+
}: PopoverProps) => React.JSX.Element;
|
|
825
|
+
//#endregion
|
|
826
|
+
//#region src/components/Stepper/Stepper.d.ts
|
|
827
|
+
type StepperOrientation = 'horizontal' | 'vertical';
|
|
828
|
+
type StepStatus = 'pending' | 'current' | 'completed';
|
|
829
|
+
interface Step {
|
|
830
|
+
title: string;
|
|
831
|
+
description?: string;
|
|
832
|
+
status?: StepStatus;
|
|
833
|
+
}
|
|
834
|
+
interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
835
|
+
steps: Step[];
|
|
836
|
+
currentStep?: number;
|
|
837
|
+
orientation?: StepperOrientation;
|
|
838
|
+
showConnectors?: boolean;
|
|
839
|
+
onStepClick?: (stepIndex: number) => void;
|
|
840
|
+
clickable?: boolean;
|
|
841
|
+
}
|
|
842
|
+
declare const Stepper: ({
|
|
843
|
+
steps,
|
|
844
|
+
currentStep,
|
|
845
|
+
orientation,
|
|
846
|
+
showConnectors,
|
|
847
|
+
onStepClick,
|
|
848
|
+
clickable,
|
|
849
|
+
className,
|
|
850
|
+
...props
|
|
851
|
+
}: StepperProps) => React.JSX.Element;
|
|
852
|
+
//#endregion
|
|
853
|
+
//#region src/components/Combobox/Combobox.d.ts
|
|
854
|
+
interface ComboboxOption {
|
|
855
|
+
value: string;
|
|
856
|
+
label: string;
|
|
857
|
+
disabled?: boolean;
|
|
858
|
+
}
|
|
859
|
+
interface ComboboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value'> {
|
|
860
|
+
label?: string;
|
|
861
|
+
options: ComboboxOption[];
|
|
862
|
+
value?: string;
|
|
863
|
+
onChange?: (value: string, option: ComboboxOption | null) => void;
|
|
864
|
+
onInputChange?: (inputValue: string) => void;
|
|
865
|
+
placeholder?: string;
|
|
866
|
+
hint?: string;
|
|
867
|
+
error?: boolean;
|
|
868
|
+
errorMessage?: string;
|
|
869
|
+
fullWidth?: boolean;
|
|
870
|
+
clearable?: boolean;
|
|
871
|
+
disabled?: boolean;
|
|
872
|
+
filterFn?: (option: ComboboxOption, inputValue: string) => boolean;
|
|
873
|
+
}
|
|
874
|
+
declare const Combobox: ({
|
|
875
|
+
label,
|
|
876
|
+
options,
|
|
877
|
+
value,
|
|
878
|
+
onChange,
|
|
879
|
+
onInputChange,
|
|
880
|
+
placeholder,
|
|
881
|
+
hint,
|
|
882
|
+
error,
|
|
883
|
+
errorMessage,
|
|
884
|
+
fullWidth,
|
|
885
|
+
clearable,
|
|
886
|
+
disabled,
|
|
887
|
+
filterFn,
|
|
888
|
+
className,
|
|
889
|
+
...props
|
|
890
|
+
}: ComboboxProps) => React.JSX.Element;
|
|
891
|
+
//#endregion
|
|
892
|
+
//#region src/components/NumberInput/NumberInput.d.ts
|
|
893
|
+
type NumberInputPosition = 'right' | 'left';
|
|
894
|
+
interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'min' | 'max'> {
|
|
895
|
+
label?: string;
|
|
896
|
+
value?: number | '';
|
|
897
|
+
onChange?: (value: number | '') => void;
|
|
898
|
+
min?: number;
|
|
899
|
+
max?: number;
|
|
900
|
+
step?: number;
|
|
901
|
+
stepperPosition?: NumberInputPosition;
|
|
902
|
+
placeholder?: string;
|
|
903
|
+
hint?: string;
|
|
904
|
+
error?: boolean;
|
|
905
|
+
errorMessage?: string;
|
|
906
|
+
fullWidth?: boolean;
|
|
907
|
+
disabled?: boolean;
|
|
908
|
+
allowEmpty?: boolean;
|
|
909
|
+
}
|
|
910
|
+
declare const NumberInput: ({
|
|
911
|
+
label,
|
|
912
|
+
value,
|
|
913
|
+
onChange,
|
|
914
|
+
min,
|
|
915
|
+
max,
|
|
916
|
+
step,
|
|
917
|
+
stepperPosition,
|
|
918
|
+
placeholder,
|
|
919
|
+
hint,
|
|
920
|
+
error,
|
|
921
|
+
errorMessage,
|
|
922
|
+
fullWidth,
|
|
923
|
+
disabled,
|
|
924
|
+
allowEmpty,
|
|
925
|
+
className,
|
|
926
|
+
...props
|
|
927
|
+
}: NumberInputProps) => React.JSX.Element;
|
|
928
|
+
//#endregion
|
|
929
|
+
//#region src/components/FileUpload/FileUpload.d.ts
|
|
930
|
+
interface FileUploadFile {
|
|
931
|
+
id: string;
|
|
932
|
+
file: File;
|
|
933
|
+
name: string;
|
|
934
|
+
size: number;
|
|
935
|
+
progress: number;
|
|
936
|
+
status: 'uploading' | 'success' | 'error';
|
|
937
|
+
errorMessage?: string;
|
|
938
|
+
}
|
|
939
|
+
interface FileUploadProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
940
|
+
label?: string;
|
|
941
|
+
files?: FileUploadFile[];
|
|
942
|
+
onFilesChange?: (files: FileUploadFile[]) => void;
|
|
943
|
+
onFileAdd?: (files: File[]) => void;
|
|
944
|
+
onFileRemove?: (fileId: string) => void;
|
|
945
|
+
accept?: string;
|
|
946
|
+
multiple?: boolean;
|
|
947
|
+
maxFileSize?: number;
|
|
948
|
+
maxFiles?: number;
|
|
949
|
+
disabled?: boolean;
|
|
950
|
+
dropzoneText?: string;
|
|
951
|
+
hint?: string;
|
|
952
|
+
showProgress?: boolean;
|
|
953
|
+
}
|
|
954
|
+
declare const FileUpload: ({
|
|
955
|
+
label,
|
|
956
|
+
files,
|
|
957
|
+
onFilesChange,
|
|
958
|
+
onFileAdd,
|
|
959
|
+
onFileRemove,
|
|
960
|
+
accept,
|
|
961
|
+
multiple,
|
|
962
|
+
maxFileSize,
|
|
963
|
+
maxFiles,
|
|
964
|
+
disabled,
|
|
965
|
+
dropzoneText,
|
|
966
|
+
hint,
|
|
967
|
+
showProgress,
|
|
968
|
+
className,
|
|
969
|
+
...props
|
|
970
|
+
}: FileUploadProps) => React.JSX.Element;
|
|
971
|
+
//#endregion
|
|
972
|
+
//#region src/components/Stack/Stack.d.ts
|
|
973
|
+
type StackDirection = 'row' | 'column';
|
|
974
|
+
type StackAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
975
|
+
type StackJustify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
976
|
+
interface StackProps {
|
|
977
|
+
direction?: StackDirection;
|
|
978
|
+
align?: StackAlign;
|
|
979
|
+
justify?: StackJustify;
|
|
980
|
+
gap?: 'none' | 'small' | 'medium' | 'large';
|
|
981
|
+
wrap?: boolean;
|
|
982
|
+
children?: React.ReactNode;
|
|
983
|
+
className?: string;
|
|
984
|
+
style?: React.CSSProperties;
|
|
985
|
+
}
|
|
986
|
+
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLElement>>;
|
|
987
|
+
//#endregion
|
|
988
|
+
//#region src/components/Grid/Grid.d.ts
|
|
989
|
+
type GridColumns = 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
990
|
+
type GridGap = 'none' | 'small' | 'medium' | 'large';
|
|
991
|
+
interface GridProps {
|
|
992
|
+
columns?: GridColumns;
|
|
993
|
+
gap?: GridGap;
|
|
994
|
+
minChildWidth?: string;
|
|
995
|
+
children?: React.ReactNode;
|
|
996
|
+
className?: string;
|
|
997
|
+
style?: React.CSSProperties;
|
|
998
|
+
}
|
|
999
|
+
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLElement>>;
|
|
1000
|
+
//#endregion
|
|
1001
|
+
//#region src/components/Container/Container.d.ts
|
|
1002
|
+
type ContainerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
1003
|
+
interface ContainerProps {
|
|
1004
|
+
size?: ContainerSize;
|
|
1005
|
+
centerContent?: boolean;
|
|
1006
|
+
children?: React.ReactNode;
|
|
1007
|
+
className?: string;
|
|
1008
|
+
style?: React.CSSProperties;
|
|
1009
|
+
}
|
|
1010
|
+
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLElement>>;
|
|
1011
|
+
//#endregion
|
|
1012
|
+
//#region src/components/AspectRatio/AspectRatio.d.ts
|
|
1013
|
+
type AspectRatioValue = '1/1' | '4/3' | '16/9' | '21/9' | number;
|
|
1014
|
+
interface AspectRatioProps extends BoxProps {
|
|
1015
|
+
ratio?: AspectRatioValue;
|
|
1016
|
+
children?: React.ReactNode;
|
|
1017
|
+
}
|
|
1018
|
+
declare const AspectRatio: React.ForwardRefExoticComponent<Omit<AspectRatioProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
1019
|
+
//#endregion
|
|
1020
|
+
//#region src/components/Collapse/Collapse.d.ts
|
|
1021
|
+
type CollapseAnimation = 'height' | 'opacity' | 'both';
|
|
1022
|
+
interface CollapseProps {
|
|
1023
|
+
isOpen: boolean;
|
|
1024
|
+
children: React.ReactNode;
|
|
1025
|
+
animation?: CollapseAnimation;
|
|
1026
|
+
duration?: number;
|
|
1027
|
+
className?: string;
|
|
1028
|
+
onAnimationEnd?: () => void;
|
|
1029
|
+
}
|
|
1030
|
+
declare const Collapse: ({
|
|
1031
|
+
isOpen,
|
|
1032
|
+
children,
|
|
1033
|
+
animation,
|
|
1034
|
+
duration,
|
|
1035
|
+
className,
|
|
1036
|
+
onAnimationEnd
|
|
1037
|
+
}: CollapseProps) => React.JSX.Element | null;
|
|
1038
|
+
//#endregion
|
|
1039
|
+
//#region src/components/VisuallyHidden/VisuallyHidden.d.ts
|
|
1040
|
+
interface VisuallyHiddenProps {
|
|
1041
|
+
children: React.ReactNode;
|
|
1042
|
+
as?: React.ElementType;
|
|
1043
|
+
className?: string;
|
|
1044
|
+
}
|
|
1045
|
+
declare const VisuallyHidden: ({
|
|
1046
|
+
children,
|
|
1047
|
+
as: Component,
|
|
1048
|
+
className,
|
|
1049
|
+
...props
|
|
1050
|
+
}: VisuallyHiddenProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
1051
|
+
//#endregion
|
|
1052
|
+
//#region src/components/EmptyState/EmptyState.d.ts
|
|
1053
|
+
interface EmptyStateProps {
|
|
1054
|
+
icon?: React.ReactNode;
|
|
1055
|
+
title?: string;
|
|
1056
|
+
description?: string;
|
|
1057
|
+
action?: React.ReactNode;
|
|
1058
|
+
className?: string;
|
|
1059
|
+
}
|
|
1060
|
+
declare const EmptyState: ({
|
|
1061
|
+
icon,
|
|
1062
|
+
title,
|
|
1063
|
+
description,
|
|
1064
|
+
action,
|
|
1065
|
+
className
|
|
1066
|
+
}: EmptyStateProps) => React.JSX.Element;
|
|
1067
|
+
//#endregion
|
|
1068
|
+
//#region src/components/Separator/Separator.d.ts
|
|
1069
|
+
type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
1070
|
+
interface SeparatorProps {
|
|
1071
|
+
orientation?: SeparatorOrientation;
|
|
1072
|
+
decorative?: boolean;
|
|
1073
|
+
className?: string;
|
|
1074
|
+
}
|
|
1075
|
+
declare const Separator: ({
|
|
1076
|
+
orientation,
|
|
1077
|
+
decorative,
|
|
1078
|
+
className,
|
|
1079
|
+
...props
|
|
1080
|
+
}: SeparatorProps) => React.JSX.Element;
|
|
1081
|
+
//#endregion
|
|
1082
|
+
//#region src/components/ScrollArea/ScrollArea.d.ts
|
|
1083
|
+
type ScrollAreaOrientation = 'vertical' | 'horizontal' | 'both';
|
|
1084
|
+
interface ScrollAreaProps {
|
|
1085
|
+
children: React.ReactNode;
|
|
1086
|
+
orientation?: ScrollAreaOrientation;
|
|
1087
|
+
maxHeight?: string | number;
|
|
1088
|
+
maxWidth?: string | number;
|
|
1089
|
+
className?: string;
|
|
1090
|
+
}
|
|
1091
|
+
declare const ScrollArea: ({
|
|
1092
|
+
children,
|
|
1093
|
+
orientation,
|
|
1094
|
+
maxHeight,
|
|
1095
|
+
maxWidth,
|
|
1096
|
+
className,
|
|
1097
|
+
...props
|
|
1098
|
+
}: ScrollAreaProps) => React.JSX.Element;
|
|
1099
|
+
//#endregion
|
|
1100
|
+
//#region src/components/Kbd/Kbd.d.ts
|
|
1101
|
+
interface KbdProps {
|
|
1102
|
+
children: React.ReactNode;
|
|
1103
|
+
className?: string;
|
|
1104
|
+
}
|
|
1105
|
+
declare const Kbd: ({
|
|
1106
|
+
children,
|
|
1107
|
+
className,
|
|
1108
|
+
...props
|
|
1109
|
+
}: KbdProps) => React.JSX.Element;
|
|
1110
|
+
//#endregion
|
|
1111
|
+
export { AccordionComponent as Accordion, Alert, AspectRatio, type AspectRatioProps, type AspectRatioValue, Avatar, Badge, Box, type BoxProps, Breadcrumb, Button, Card, Checkbox, Collapse, type CollapseAnimation, type CollapseProps, Combobox, type ComboboxOption, type ComboboxProps, Container, type ContainerProps, type ContainerSize, Divider, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, DropdownMenu, type DropdownMenuGroupProps, type DropdownMenuItemProps, type DropdownMenuItemVariant, type DropdownMenuPosition, type DropdownMenuProps, EmptyState, type EmptyStateProps, FileUpload, type FileUploadFile, type FileUploadProps, Form, FormInput, Grid, type GridColumns, type GridGap, type GridProps, Header, IconComponent as Icon, Input, Kbd, type KbdProps, List, ListItem, Modal, Navbar, NavbarItem, NumberInput, type NumberInputPosition, type NumberInputProps, P, Pagination, type PaginationProps, Popover, type PopoverPosition, type PopoverProps, type PopoverTriggerType, Progress, RadioComponent as Radio, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, Select, Separator, type SeparatorOrientation, type SeparatorProps, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonSize, type SkeletonVariant, Spinner, Stack, type StackAlign, type StackDirection, type StackJustify, type StackProps, type Step, type StepStatus, Stepper, type StepperOrientation, type StepperProps, Table, TabsComponent as Tabs, TagComponent as Tag, TextArea, type TextAreaProps, Toast, ToastProvider, Toggle, Tooltip, VisuallyHidden, type VisuallyHiddenProps, useToast };
|