@saas-ui/react 3.0.0-next.2 → 3.0.0-next.20
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/CHANGELOG.md +118 -0
- package/dist/.tsbuildinfo.json +1 -0
- package/dist/colors.d.ts +1 -0
- package/dist/colors.js +1 -0
- package/dist/components/accordion/accordion.d.ts +14 -0
- package/dist/components/accordion/accordion.js +15 -0
- package/dist/components/accordion/accordion.recipe.d.ts +75 -0
- package/dist/components/accordion/accordion.recipe.js +139 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +1 -0
- package/dist/components/action-bar/action-bar.d.ts +16 -0
- package/dist/components/action-bar/action-bar.js +17 -0
- package/dist/components/action-bar/action-bar.recipe.d.ts +1 -0
- package/dist/components/action-bar/action-bar.recipe.js +56 -0
- package/dist/components/action-bar/index.d.ts +1 -0
- package/dist/components/action-bar/index.js +1 -0
- package/dist/components/alert/alert.d.ts +10 -0
- package/dist/components/alert/alert.js +9 -0
- package/dist/components/alert/alert.recipe.d.ts +120 -0
- package/dist/components/alert/alert.recipe.js +149 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/index.js +1 -0
- package/dist/components/app-shell/app-shell.d.ts +40 -0
- package/dist/components/app-shell/app-shell.js +22 -0
- package/dist/components/app-shell/app-shell.recipe.d.ts +18 -0
- package/dist/components/app-shell/app-shell.recipe.js +45 -0
- package/dist/components/app-shell/index.d.ts +2 -0
- package/dist/components/app-shell/index.js +1 -0
- package/dist/components/aspect-ratio/index.d.ts +1 -0
- package/dist/components/aspect-ratio/index.js +1 -0
- package/dist/components/avatar/avatar.d.ts +17 -0
- package/dist/components/avatar/avatar.js +25 -0
- package/dist/components/avatar/avatar.recipe.d.ts +89 -0
- package/dist/components/avatar/avatar.recipe.js +130 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.js +1 -0
- package/dist/components/back-button/back-button.d.ts +7 -0
- package/dist/components/back-button/back-button.js +14 -0
- package/dist/components/back-button/index.d.ts +2 -0
- package/dist/components/back-button/index.js +1 -0
- package/dist/components/badge/badge.recipe.d.ts +48 -0
- package/dist/components/badge/badge.recipe.js +66 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/badge/index.js +1 -0
- package/dist/components/bleed/index.d.ts +1 -0
- package/dist/components/bleed/index.js +1 -0
- package/dist/components/blockquote/blockquote.d.ts +9 -0
- package/dist/components/blockquote/blockquote.js +7 -0
- package/dist/components/blockquote/blockquote.recipe.d.ts +52 -0
- package/dist/components/blockquote/blockquote.recipe.js +77 -0
- package/dist/components/blockquote/index.d.ts +1 -0
- package/dist/components/blockquote/index.js +1 -0
- package/dist/components/box/index.d.ts +1 -0
- package/dist/components/box/index.js +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumb/breadcrumb.js +15 -0
- package/dist/components/breadcrumb/breadcrumb.recipe.d.ts +46 -0
- package/dist/components/breadcrumb/breadcrumb.recipe.js +90 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/index.js +1 -0
- package/dist/components/button/button.recipe.d.ts +138 -0
- package/dist/components/button/button.recipe.js +182 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.js +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.js +1 -0
- package/dist/components/card/card.recipe.d.ts +70 -0
- package/dist/components/card/card.recipe.js +120 -0
- package/dist/components/card/index.js +2 -0
- package/dist/components/center/index.d.ts +1 -0
- package/dist/components/center/index.js +1 -0
- package/dist/components/checkbox/checkbox.d.ts +7 -0
- package/dist/components/checkbox/checkbox.js +7 -0
- package/dist/components/checkbox/checkbox.recipe.d.ts +80 -0
- package/dist/components/checkbox/checkbox.recipe.js +64 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.js +1 -0
- package/dist/components/checkbox-card/checkbox-card.d.ts +12 -0
- package/dist/components/checkbox-card/checkbox-card.js +10 -0
- package/dist/components/checkbox-card/checkbox-card.recipe.d.ts +188 -0
- package/dist/components/checkbox-card/checkbox-card.recipe.js +201 -0
- package/dist/components/checkbox-card/index.d.ts +1 -0
- package/dist/components/checkbox-card/index.js +1 -0
- package/dist/components/checkmark/checkmark.recipe.d.ts +54 -0
- package/dist/components/checkmark/checkmark.recipe.js +80 -0
- package/dist/components/checkmark/index.d.ts +1 -0
- package/dist/components/checkmark/index.js +1 -0
- package/dist/components/client-only/index.d.ts +1 -0
- package/dist/components/client-only/index.js +1 -0
- package/dist/components/clipboard/clipboard.d.ts +22 -0
- package/dist/components/clipboard/clipboard.js +29 -0
- package/dist/components/clipboard/index.d.ts +3 -0
- package/dist/components/clipboard/index.js +2 -0
- package/dist/components/close-button/close-button.d.ts +4 -0
- package/dist/components/close-button/close-button.js +7 -0
- package/dist/components/close-button/index.d.ts +2 -0
- package/dist/components/close-button/index.js +1 -0
- package/dist/components/code/code.recipe.d.ts +48 -0
- package/dist/components/code/code.recipe.js +14 -0
- package/dist/components/code/index.d.ts +1 -0
- package/dist/components/code/index.js +1 -0
- package/dist/components/collapsible/collapsible.recipe.d.ts +1 -0
- package/dist/components/collapsible/collapsible.recipe.js +19 -0
- package/dist/components/color-swatch/index.d.ts +1 -0
- package/dist/components/color-swatch/index.js +1 -0
- package/dist/components/command/command.d.ts +14 -0
- package/dist/components/command/command.js +25 -0
- package/dist/components/command/command.recipe.d.ts +15 -0
- package/dist/components/command/command.recipe.js +34 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/command/index.js +1 -0
- package/dist/components/container/container.recipe.d.ts +14 -0
- package/dist/components/container/container.recipe.js +25 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/container/index.js +1 -0
- package/dist/components/data-list/data-list.recipe.d.ts +55 -0
- package/dist/components/data-list/data-list.recipe.js +78 -0
- package/dist/components/dialog/dialog.d.ts +21 -0
- package/dist/components/dialog/dialog.js +23 -0
- package/dist/components/dialog/dialog.recipe.d.ts +148 -0
- package/dist/components/dialog/dialog.recipe.js +219 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +1 -0
- package/dist/components/drawer/drawer.d.ts +20 -0
- package/dist/components/drawer/drawer.js +24 -0
- package/dist/components/drawer/drawer.recipe.d.ts +113 -0
- package/dist/components/drawer/drawer.recipe.js +197 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +1 -0
- package/dist/components/editable/editable.recipe.d.ts +37 -0
- package/dist/components/editable/editable.recipe.js +83 -0
- package/dist/components/editable/index.d.ts +1 -0
- package/dist/components/editable/index.js +1 -0
- package/dist/components/empty-state/empty-state.d.ts +7 -0
- package/dist/components/empty-state/empty-state.js +11 -0
- package/dist/components/empty-state/empty-state.recipe.d.ts +82 -0
- package/dist/components/empty-state/empty-state.recipe.js +130 -0
- package/dist/components/empty-state/index.d.ts +2 -0
- package/dist/components/empty-state/index.js +1 -0
- package/dist/components/env/index.d.ts +1 -0
- package/dist/components/env/index.js +1 -0
- package/dist/components/field/field.recipe.d.ts +29 -0
- package/dist/components/field/field.recipe.js +74 -0
- package/dist/components/fieldset/fieldset.recipe.d.ts +37 -0
- package/dist/components/fieldset/fieldset.recipe.js +59 -0
- package/dist/components/fieldset/index.d.ts +1 -0
- package/dist/components/fieldset/index.js +1 -0
- package/dist/components/file-upload/file-upload.d.ts +29 -0
- package/dist/components/file-upload/file-upload.js +46 -0
- package/dist/components/file-upload/file-upload.recipe.d.ts +1 -0
- package/dist/components/file-upload/file-upload.recipe.js +90 -0
- package/dist/components/file-upload/index.d.ts +2 -0
- package/dist/components/file-upload/index.js +2 -0
- package/dist/components/flex/index.d.ts +1 -0
- package/dist/components/flex/index.js +1 -0
- package/dist/components/float/index.d.ts +1 -0
- package/dist/components/float/index.js +1 -0
- package/dist/components/focus-trap/index.d.ts +1 -0
- package/dist/components/focus-trap/index.js +1 -0
- package/dist/components/for/index.d.ts +1 -0
- package/dist/components/for/index.js +1 -0
- package/dist/components/format/index.d.ts +1 -0
- package/dist/components/format/index.js +1 -0
- package/dist/components/grid/index.d.ts +1 -0
- package/dist/components/grid/index.js +1 -0
- package/dist/components/grid-list/grid-list.context.d.ts +1 -0
- package/dist/components/grid-list/grid-list.context.js +4 -0
- package/dist/components/grid-list/grid-list.d.ts +17 -0
- package/dist/components/grid-list/grid-list.js +7 -0
- package/dist/components/grid-list/grid-list.recipe.d.ts +60 -0
- package/dist/components/grid-list/grid-list.recipe.js +132 -0
- package/dist/components/grid-list/index.d.ts +1 -0
- package/dist/components/grid-list/index.js +1 -0
- package/dist/components/group/index.d.ts +1 -0
- package/dist/components/group/index.js +1 -0
- package/dist/components/heading/heading.recipe.d.ts +37 -0
- package/dist/components/heading/heading.recipe.js +26 -0
- package/dist/components/heading/index.d.ts +1 -0
- package/dist/components/heading/index.js +1 -0
- package/dist/components/highlight/index.d.ts +1 -0
- package/dist/components/highlight/index.js +1 -0
- package/dist/components/hover-card/hover-card.d.ts +11 -0
- package/dist/components/hover-card/hover-card.js +13 -0
- package/dist/components/hover-card/hover-card.recipe.d.ts +28 -0
- package/dist/components/hover-card/hover-card.recipe.js +70 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +1 -0
- package/dist/components/icon/icon.recipe.d.ts +25 -0
- package/dist/components/icon/icon.recipe.js +27 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +1 -0
- package/dist/components/icon-badge/icon-badge.d.ts +13 -0
- package/dist/components/icon-badge/icon-badge.js +23 -0
- package/dist/components/icon-badge/icon-badge.recipe.d.ts +43 -0
- package/dist/components/icon-badge/icon-badge.recipe.js +56 -0
- package/dist/components/icon-badge/index.d.ts +2 -0
- package/dist/components/icon-badge/index.js +1 -0
- package/dist/components/icon-button/icon-button.d.ts +4 -0
- package/dist/components/icon-button/icon-button.js +6 -0
- package/dist/components/icon-button/index.d.ts +1 -0
- package/dist/components/icon-button/index.js +1 -0
- package/dist/components/icons/create-icon.d.ts +27 -0
- package/dist/components/icons/create-icon.js +15 -0
- package/dist/components/icons/icons.d.ts +18 -0
- package/dist/components/icons/icons.js +74 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/icons/index.js +1 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/image/index.js +1 -0
- package/dist/components/info-tip/index.d.ts +1 -0
- package/dist/components/info-tip/index.js +1 -0
- package/dist/components/info-tip/info-tip.d.ts +8 -0
- package/dist/components/info-tip/info-tip.js +9 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/index.js +1 -0
- package/dist/components/input/input-addon.recipe.d.ts +56 -0
- package/dist/components/input/input-addon.recipe.js +36 -0
- package/dist/components/input/input.recipe.d.ts +66 -0
- package/dist/components/input/input.recipe.js +93 -0
- package/dist/components/kbd/index.d.ts +1 -0
- package/dist/components/kbd/index.js +1 -0
- package/dist/components/kbd/kbd.recipe.d.ts +36 -0
- package/dist/components/kbd/kbd.recipe.js +56 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.js +1 -0
- package/dist/components/link/link.d.ts +10 -0
- package/dist/components/link/link.js +15 -0
- package/dist/components/link/link.recipe.d.ts +18 -0
- package/dist/components/link/link.recipe.js +34 -0
- package/dist/components/list/list.recipe.d.ts +38 -0
- package/dist/components/list/list.recipe.js +62 -0
- package/dist/components/loading-overlay/index.d.ts +2 -0
- package/dist/components/loading-overlay/index.js +2 -0
- package/dist/components/loading-overlay/loading-overlay.context.d.ts +1 -0
- package/dist/components/loading-overlay/loading-overlay.context.js +4 -0
- package/dist/components/loading-overlay/loading-overlay.d.ts +17 -0
- package/dist/components/loading-overlay/loading-overlay.js +16 -0
- package/dist/components/loading-overlay/loading-overlay.recipe.d.ts +35 -0
- package/dist/components/loading-overlay/loading-overlay.recipe.js +60 -0
- package/dist/components/locale/index.d.ts +1 -0
- package/dist/components/locale/index.js +1 -0
- package/dist/components/mark/index.d.ts +1 -0
- package/dist/components/mark/index.js +1 -0
- package/dist/components/mark/mark.recipe.d.ts +16 -0
- package/dist/components/mark/mark.recipe.js +25 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/menu/index.js +1 -0
- package/dist/components/menu/menu.d.ts +41 -0
- package/dist/components/menu/menu.js +47 -0
- package/dist/components/menu/menu.recipe.d.ts +55 -0
- package/dist/components/menu/menu.recipe.js +130 -0
- package/dist/components/native-select/index.d.ts +2 -0
- package/dist/components/native-select/index.js +1 -0
- package/dist/components/native-select/native-select.d.ts +7 -0
- package/dist/components/native-select/native-select.js +9 -0
- package/dist/components/native-select/native-select.recipe.d.ts +90 -0
- package/dist/components/native-select/native-select.recipe.js +134 -0
- package/dist/components/navbar/index.d.ts +1 -0
- package/dist/components/navbar/index.js +1 -0
- package/dist/components/navbar/navbar.context.d.ts +1 -0
- package/dist/components/navbar/navbar.context.js +4 -0
- package/dist/components/navbar/navbar.d.ts +14 -0
- package/dist/components/navbar/navbar.js +17 -0
- package/dist/components/navbar/navbar.recipe.d.ts +34 -0
- package/dist/components/navbar/navbar.recipe.js +108 -0
- package/dist/components/number-input/index.d.ts +2 -0
- package/dist/components/number-input/index.js +1 -0
- package/dist/components/number-input/number-input.d.ts +9 -0
- package/dist/components/number-input/number-input.js +8 -0
- package/dist/components/number-input/number-input.recipe.d.ts +144 -0
- package/dist/components/number-input/number-input.recipe.js +111 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/index.js +2 -0
- package/dist/components/page/page.context.d.ts +7 -0
- package/dist/components/page/page.context.js +5 -0
- package/dist/components/page/page.d.ts +42 -0
- package/dist/components/page/page.js +50 -0
- package/dist/components/page/page.recipe.d.ts +58 -0
- package/dist/components/page/page.recipe.js +98 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/index.js +1 -0
- package/dist/components/pagination/pagination.d.ts +22 -0
- package/dist/components/pagination/pagination.js +59 -0
- package/dist/components/password-input/index.d.ts +2 -0
- package/dist/components/password-input/index.js +1 -0
- package/dist/components/password-input/password-input.d.ts +15 -0
- package/dist/components/password-input/password-input.js +28 -0
- package/dist/components/persona/index.d.ts +4 -0
- package/dist/components/persona/index.js +2 -0
- package/dist/components/persona/persona-primitive.d.ts +77 -0
- package/dist/components/persona/persona-primitive.js +58 -0
- package/dist/components/persona/persona.context.d.ts +1 -0
- package/dist/components/persona/persona.context.js +4 -0
- package/dist/components/persona/persona.d.ts +63 -0
- package/dist/components/persona/persona.js +18 -0
- package/dist/components/persona/persona.recipe.d.ts +104 -0
- package/dist/components/persona/persona.recipe.js +106 -0
- package/dist/components/persona/presence.d.ts +20 -0
- package/dist/components/persona/presence.js +35 -0
- package/dist/components/pin-input/index.d.ts +2 -0
- package/dist/components/pin-input/index.js +1 -0
- package/dist/components/pin-input/pin-input.d.ts +8 -0
- package/dist/components/pin-input/pin-input.js +8 -0
- package/dist/components/pin-input/pin-input.recipe.d.ts +236 -0
- package/dist/components/pin-input/pin-input.recipe.js +32 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +1 -0
- package/dist/components/popover/popover.d.ts +21 -0
- package/dist/components/popover/popover.js +23 -0
- package/dist/components/popover/popover.recipe.d.ts +24 -0
- package/dist/components/popover/popover.recipe.js +85 -0
- package/dist/components/portal/index.d.ts +1 -0
- package/dist/components/portal/index.js +1 -0
- package/dist/components/presence/index.d.ts +1 -0
- package/dist/components/presence/index.js +1 -0
- package/dist/components/progress/progress.recipe.d.ts +82 -0
- package/dist/components/progress/progress.recipe.js +120 -0
- package/dist/components/progress-circle/progress-circle.recipe.d.ts +49 -0
- package/dist/components/progress-circle/progress-circle.recipe.js +91 -0
- package/dist/components/qr-code/index.d.ts +2 -0
- package/dist/components/qr-code/index.js +1 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/index.js +1 -0
- package/dist/components/radio/radio.d.ts +8 -0
- package/dist/components/radio/radio.js +8 -0
- package/dist/components/radio/radiomark.recipe.d.ts +56 -0
- package/dist/components/radio/radiomark.recipe.js +94 -0
- package/dist/components/radio-card/index.d.ts +1 -0
- package/dist/components/radio-card/index.js +1 -0
- package/dist/components/radio-card/radio-card.d.ts +19 -0
- package/dist/components/radio-card/radio-card.js +13 -0
- package/dist/components/radio-card/radio-card.recipe.d.ts +191 -0
- package/dist/components/radio-card/radio-card.recipe.js +209 -0
- package/dist/components/radio-group/radio-group.recipe.d.ts +77 -0
- package/dist/components/radio-group/radio-group.recipe.js +61 -0
- package/dist/components/radiomark/index.d.ts +1 -0
- package/dist/components/radiomark/index.js +1 -0
- package/dist/components/rating-group/rating-group.recipe.d.ts +24 -0
- package/dist/components/rating-group/rating-group.recipe.js +83 -0
- package/dist/components/search-input/index.d.ts +2 -0
- package/dist/components/search-input/index.js +1 -0
- package/dist/components/search-input/search-input.d.ts +12 -0
- package/dist/components/search-input/search-input.js +35 -0
- package/dist/components/section/index.d.ts +2 -0
- package/dist/components/section/index.js +2 -0
- package/dist/components/section/section.context.d.ts +1 -0
- package/dist/components/section/section.context.js +4 -0
- package/dist/components/section/section.d.ts +17 -0
- package/dist/components/section/section.js +13 -0
- package/dist/components/section/section.recipe.d.ts +27 -0
- package/dist/components/section/section.recipe.js +63 -0
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/index.js +1 -0
- package/dist/components/segmented-control/segment-group.recipe.d.ts +48 -0
- package/dist/components/segmented-control/segment-group.recipe.js +127 -0
- package/dist/components/segmented-control/segmented-control.d.ts +11 -0
- package/dist/components/segmented-control/segmented-control.js +17 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/index.js +1 -0
- package/dist/components/select/namespace.d.ts +2 -0
- package/dist/components/select/namespace.js +1 -0
- package/dist/components/select/select.d.ts +25 -0
- package/dist/components/select/select.js +43 -0
- package/dist/components/select/select.recipe.d.ts +155 -0
- package/dist/components/select/select.recipe.js +284 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.js +1 -0
- package/dist/components/separator/separator.recipe.d.ts +37 -0
- package/dist/components/separator/separator.recipe.js +50 -0
- package/dist/components/show/index.d.ts +1 -0
- package/dist/components/show/index.js +1 -0
- package/dist/components/sidebar/index.d.ts +3 -0
- package/dist/components/sidebar/index.js +3 -0
- package/dist/components/sidebar/sidebar-nav-item.recipe.d.ts +62 -0
- package/dist/components/sidebar/sidebar-nav-item.recipe.js +110 -0
- package/dist/components/sidebar/sidebar.context.d.ts +10 -0
- package/dist/components/sidebar/sidebar.context.js +7 -0
- package/dist/components/sidebar/sidebar.d.ts +77 -0
- package/dist/components/sidebar/sidebar.js +90 -0
- package/dist/components/sidebar/sidebar.recipe.d.ts +89 -0
- package/dist/components/sidebar/sidebar.recipe.js +236 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/index.js +1 -0
- package/dist/components/skeleton/skeleton.d.ts +12 -0
- package/dist/components/skeleton/skeleton.js +14 -0
- package/dist/components/skeleton/skeleton.recipe.d.ts +40 -0
- package/dist/components/skeleton/skeleton.recipe.js +49 -0
- package/dist/components/skip-nav/index.d.ts +1 -0
- package/dist/components/skip-nav/index.js +1 -0
- package/dist/components/skip-nav-link/index.d.ts +1 -0
- package/dist/components/skip-nav-link/index.js +1 -0
- package/dist/components/skip-nav-link/skip-nav-link.recipe.d.ts +1 -0
- package/dist/components/skip-nav-link/skip-nav-link.recipe.js +31 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -0
- package/dist/components/slider/slider.d.ts +9 -0
- package/dist/components/slider/slider.js +18 -0
- package/dist/components/slider/slider.recipe.d.ts +101 -0
- package/dist/components/slider/slider.recipe.js +175 -0
- package/dist/components/spacer/index.d.ts +1 -0
- package/dist/components/spacer/index.js +1 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.js +1 -0
- package/dist/components/spinner/spinner.d.ts +6 -0
- package/dist/components/spinner/spinner.js +10 -0
- package/dist/components/spinner/spinner.recipe.d.ts +22 -0
- package/dist/components/spinner/spinner.recipe.js +31 -0
- package/dist/components/stack/index.d.ts +1 -0
- package/dist/components/stack/index.js +1 -0
- package/dist/components/stat/index.d.ts +1 -0
- package/dist/components/stat/index.js +1 -0
- package/dist/components/stat/stat.d.ts +17 -0
- package/dist/components/stat/stat.js +21 -0
- package/dist/components/stat/stat.recipe.d.ts +19 -0
- package/dist/components/stat/stat.recipe.js +76 -0
- package/dist/components/status/index.d.ts +1 -0
- package/dist/components/status/index.js +1 -0
- package/dist/components/status/status.d.ts +14 -0
- package/dist/components/status/status.js +11 -0
- package/dist/components/status/status.recipe.d.ts +19 -0
- package/dist/components/status/status.recipe.js +44 -0
- package/dist/components/steps/index.d.ts +1 -0
- package/dist/components/steps/index.js +1 -0
- package/dist/components/steps/steps.d.ts +24 -0
- package/dist/components/steps/steps.js +30 -0
- package/dist/components/steps/steps.recipe.d.ts +142 -0
- package/dist/components/steps/steps.recipe.js +213 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.js +1 -0
- package/dist/components/switch/switch.d.ts +14 -0
- package/dist/components/switch/switch.js +7 -0
- package/dist/components/switch/switch.recipe.d.ts +77 -0
- package/dist/components/switch/switch.recipe.js +156 -0
- package/dist/components/table/table.recipe.d.ts +121 -0
- package/dist/components/table/table.recipe.js +161 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +1 -0
- package/dist/components/tabs/tabs.recipe.d.ts +243 -0
- package/dist/components/tabs/tabs.recipe.js +312 -0
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/tag.d.ts +8 -0
- package/dist/components/tag/tag.js +7 -0
- package/dist/components/tag/tag.recipe.d.ts +95 -0
- package/dist/components/tag/tag.recipe.js +154 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.js +1 -0
- package/dist/components/textarea/textarea.recipe.d.ts +65 -0
- package/dist/components/textarea/textarea.recipe.js +90 -0
- package/dist/components/timeline/timeline.recipe.d.ts +62 -0
- package/dist/components/timeline/timeline.recipe.js +134 -0
- package/dist/components/toaster/index.d.ts +2 -0
- package/dist/components/toaster/index.js +1 -0
- package/dist/components/toaster/toast.recipe.d.ts +1 -0
- package/dist/components/toaster/toast.recipe.js +90 -0
- package/dist/components/toaster/toaster.d.ts +6 -0
- package/dist/components/toaster/toaster.js +42 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/index.js +1 -0
- package/dist/components/toggle-group/index.d.ts +1 -0
- package/dist/components/toggle-group/index.js +1 -0
- package/dist/components/toggle-tip/index.d.ts +1 -0
- package/dist/components/toggle-tip/index.js +1 -0
- package/dist/components/toggle-tip/toggle-tip.d.ts +27 -0
- package/dist/components/toggle-tip/toggle-tip.js +8 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/index.js +1 -0
- package/dist/components/tooltip/tooltip.d.ts +10 -0
- package/dist/components/tooltip/tooltip.js +10 -0
- package/dist/components/tooltip/tooltip.recipe.d.ts +10 -0
- package/dist/components/tooltip/tooltip.recipe.js +52 -0
- package/dist/components/typography/index.d.ts +1 -0
- package/dist/components/typography/index.js +1 -0
- package/dist/components/wrap/index.d.ts +1 -0
- package/dist/components/wrap/index.js +1 -0
- package/dist/index.d.ts +118 -1500
- package/dist/index.js +113 -2923
- package/dist/preset.d.ts +3 -6
- package/dist/preset.js +10 -11
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/index.js +2 -0
- package/dist/provider/sui-provider.d.ts +13 -0
- package/dist/provider/sui-provider.js +12 -0
- package/dist/provider/use-link.d.ts +2 -0
- package/dist/provider/use-link.js +9 -0
- package/dist/styled-system/create-recipe-context.d.ts +17 -0
- package/dist/styled-system/create-recipe-context.js +52 -0
- package/dist/styled-system/create-slot-recipe-context.d.ts +35 -0
- package/dist/styled-system/create-slot-recipe-context.js +90 -0
- package/dist/styled-system/empty.d.ts +3 -0
- package/dist/styled-system/empty.js +2 -0
- package/dist/styled-system/factory.types.d.ts +7 -0
- package/dist/styled-system/factory.types.js +1 -0
- package/dist/theme/animation-styles.d.ts +1 -0
- package/dist/theme/animation-styles.js +49 -0
- package/dist/theme/breakpoints.d.ts +10 -0
- package/dist/theme/breakpoints.js +8 -0
- package/dist/theme/conditions.d.ts +17 -0
- package/dist/theme/conditions.js +18 -0
- package/dist/theme/fluid-font-sizes.d.ts +0 -0
- package/dist/theme/fluid-font-sizes.js +61 -0
- package/dist/theme/global-css.d.ts +1 -0
- package/dist/theme/global-css.js +58 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/index.js +72 -0
- package/dist/theme/layer-styles.d.ts +1 -0
- package/dist/theme/layer-styles.js +125 -0
- package/dist/theme/recipes.d.ts +835 -0
- package/dist/theme/recipes.js +44 -0
- package/dist/theme/semantic-tokens/colors.d.ts +1292 -0
- package/dist/theme/semantic-tokens/colors.js +684 -0
- package/dist/theme/semantic-tokens/radii.d.ts +44 -0
- package/dist/theme/semantic-tokens/radii.js +39 -0
- package/dist/theme/semantic-tokens/shadows.d.ts +50 -0
- package/dist/theme/semantic-tokens/shadows.js +51 -0
- package/dist/theme/slot-recipes.d.ts +3803 -0
- package/dist/theme/slot-recipes.js +106 -0
- package/dist/theme/text-styles.d.ts +1 -0
- package/dist/theme/text-styles.js +38 -0
- package/dist/theme/tokens/animations.d.ts +14 -0
- package/dist/theme/tokens/animations.js +7 -0
- package/dist/theme/tokens/aspect-ratios.d.ts +20 -0
- package/dist/theme/tokens/aspect-ratios.js +9 -0
- package/dist/theme/tokens/blurs.d.ts +26 -0
- package/dist/theme/tokens/blurs.js +11 -0
- package/dist/theme/tokens/borders.d.ts +17 -0
- package/dist/theme/tokens/borders.js +8 -0
- package/dist/theme/tokens/colors.d.ts +1 -3
- package/dist/theme/tokens/colors.js +319 -7
- package/dist/theme/tokens/cursor.d.ts +26 -0
- package/dist/theme/tokens/cursor.js +11 -0
- package/dist/theme/tokens/durations.d.ts +23 -0
- package/dist/theme/tokens/durations.js +10 -0
- package/dist/theme/tokens/easings.d.ts +20 -0
- package/dist/theme/tokens/easings.js +9 -0
- package/dist/theme/tokens/font-sizes.d.ts +44 -0
- package/dist/theme/tokens/font-sizes.js +18 -0
- package/dist/theme/tokens/font-weights.d.ts +29 -0
- package/dist/theme/tokens/font-weights.js +12 -0
- package/dist/theme/tokens/fonts.d.ts +11 -0
- package/dist/theme/tokens/fonts.js +13 -0
- package/dist/theme/tokens/keyframes.d.ts +1 -0
- package/dist/theme/tokens/keyframes.js +157 -0
- package/dist/theme/tokens/letter-spacing.d.ts +17 -0
- package/dist/theme/tokens/letter-spacing.js +8 -0
- package/dist/theme/tokens/line-heights.d.ts +41 -0
- package/dist/theme/tokens/line-heights.js +17 -0
- package/dist/theme/tokens/radius.d.ts +32 -0
- package/dist/theme/tokens/radius.js +15 -0
- package/dist/theme/tokens/sizes.d.ts +257 -0
- package/dist/theme/tokens/sizes.js +66 -0
- package/dist/theme/tokens/spacing.d.ts +101 -0
- package/dist/theme/tokens/spacing.js +37 -0
- package/dist/theme/tokens/z-indices.d.ts +53 -0
- package/dist/theme/tokens/z-indices.js +32 -0
- package/dist/theme/utilities.d.ts +10 -0
- package/dist/theme/utilities.js +49 -0
- package/dist/theme/utils.d.ts +19 -0
- package/dist/theme/utils.js +34 -0
- package/dist/types.d.ts +7 -0
- package/dist/types.js +1 -0
- package/package.json +17 -19
- package/dist/accordion/index.cjs +0 -204
- package/dist/accordion/index.d.cts +0 -29
- package/dist/accordion/index.d.ts +0 -29
- package/dist/accordion/index.js +0 -43
- package/dist/action-bar/index.cjs +0 -224
- package/dist/action-bar/index.d.cts +0 -33
- package/dist/action-bar/index.d.ts +0 -33
- package/dist/action-bar/index.js +0 -39
- package/dist/alert/index.cjs +0 -234
- package/dist/alert/index.d.cts +0 -14
- package/dist/alert/index.d.ts +0 -14
- package/dist/alert/index.js +0 -47
- package/dist/app-shell/index.cjs +0 -68
- package/dist/app-shell/index.d.cts +0 -30
- package/dist/app-shell/index.d.ts +0 -30
- package/dist/app-shell/index.js +0 -45
- package/dist/aspect-ratio/index.cjs +0 -31
- package/dist/aspect-ratio/index.d.cts +0 -1
- package/dist/aspect-ratio/index.d.ts +0 -1
- package/dist/aspect-ratio/index.js +0 -10
- package/dist/avatar/index.cjs +0 -70
- package/dist/avatar/index.d.cts +0 -20
- package/dist/avatar/index.d.ts +0 -20
- package/dist/avatar/index.js +0 -43
- package/dist/back-button/index.cjs +0 -227
- package/dist/back-button/index.d.cts +0 -11
- package/dist/back-button/index.d.ts +0 -11
- package/dist/back-button/index.js +0 -191
- package/dist/badge/index.cjs +0 -33
- package/dist/badge/index.d.cts +0 -1
- package/dist/badge/index.d.ts +0 -1
- package/dist/badge/index.js +0 -11
- package/dist/bleed/index.cjs +0 -31
- package/dist/bleed/index.d.cts +0 -2
- package/dist/bleed/index.d.ts +0 -2
- package/dist/bleed/index.js +0 -9
- package/dist/blockquote/index.cjs +0 -59
- package/dist/blockquote/index.d.cts +0 -12
- package/dist/blockquote/index.d.ts +0 -12
- package/dist/blockquote/index.js +0 -23
- package/dist/box/index.cjs +0 -31
- package/dist/box/index.d.cts +0 -3
- package/dist/box/index.d.ts +0 -3
- package/dist/box/index.js +0 -10
- package/dist/breadcrumb/index.cjs +0 -58
- package/dist/breadcrumb/index.d.cts +0 -23
- package/dist/breadcrumb/index.d.ts +0 -23
- package/dist/breadcrumb/index.js +0 -35
- package/dist/button/index.cjs +0 -31
- package/dist/button/index.d.cts +0 -1
- package/dist/button/index.d.ts +0 -1
- package/dist/button/index.js +0 -8
- package/dist/button-group/index.cjs +0 -31
- package/dist/button-group/index.d.cts +0 -1
- package/dist/button-group/index.d.ts +0 -1
- package/dist/button-group/index.js +0 -8
- package/dist/card/index.cjs +0 -32
- package/dist/card/index.d.cts +0 -1
- package/dist/card/index.js +0 -9
- package/dist/center/index.cjs +0 -31
- package/dist/center/index.d.cts +0 -3
- package/dist/center/index.d.ts +0 -3
- package/dist/center/index.js +0 -9
- package/dist/checkbox/index.cjs +0 -45
- package/dist/checkbox/index.d.cts +0 -11
- package/dist/checkbox/index.d.ts +0 -11
- package/dist/checkbox/index.js +0 -19
- package/dist/checkbox-card/index.cjs +0 -66
- package/dist/checkbox-card/index.d.cts +0 -15
- package/dist/checkbox-card/index.d.ts +0 -15
- package/dist/checkbox-card/index.js +0 -40
- package/dist/checkmark/index.cjs +0 -31
- package/dist/checkmark/index.d.cts +0 -1
- package/dist/checkmark/index.d.ts +0 -1
- package/dist/checkmark/index.js +0 -7
- package/dist/chunk-2Q6YNPRO.js +0 -151
- package/dist/chunk-4F7N63LO.js +0 -43
- package/dist/chunk-A4CVFWTP.js +0 -27
- package/dist/chunk-AX3QDODM.js +0 -136
- package/dist/chunk-BFWNUE2X.js +0 -15
- package/dist/chunk-EZNMWDPR.js +0 -28
- package/dist/chunk-GMRF4UIJ.js +0 -159
- package/dist/chunk-HBX3KIPQ.js +0 -135
- package/dist/chunk-KNFGYOLD.js +0 -332
- package/dist/chunk-M5ROLN3M.js +0 -8903
- package/dist/chunk-RTMS5TJN.js +0 -10
- package/dist/chunk-V5WPZT25.js +0 -135
- package/dist/client-only/index.cjs +0 -31
- package/dist/client-only/index.d.cts +0 -1
- package/dist/client-only/index.d.ts +0 -1
- package/dist/client-only/index.js +0 -9
- package/dist/clipboard/index.cjs +0 -234
- package/dist/clipboard/index.d.cts +0 -28
- package/dist/clipboard/index.d.ts +0 -28
- package/dist/clipboard/index.js +0 -63
- package/dist/close-button/index.cjs +0 -194
- package/dist/close-button/index.d.cts +0 -9
- package/dist/close-button/index.d.ts +0 -9
- package/dist/close-button/index.js +0 -19
- package/dist/code/index.cjs +0 -31
- package/dist/code/index.d.cts +0 -3
- package/dist/code/index.d.ts +0 -3
- package/dist/code/index.js +0 -8
- package/dist/collapsible/index.cjs +0 -31
- package/dist/collapsible/index.js +0 -8
- package/dist/color-picker/index.cjs +0 -31
- package/dist/color-picker/index.js +0 -8
- package/dist/color-swatch/index.cjs +0 -35
- package/dist/color-swatch/index.d.cts +0 -3
- package/dist/color-swatch/index.d.ts +0 -3
- package/dist/color-swatch/index.js +0 -14
- package/dist/command/index.cjs +0 -61
- package/dist/command/index.d.cts +0 -36
- package/dist/command/index.d.ts +0 -36
- package/dist/command/index.js +0 -38
- package/dist/container/index.cjs +0 -31
- package/dist/container/index.d.cts +0 -1
- package/dist/container/index.d.ts +0 -1
- package/dist/container/index.js +0 -8
- package/dist/data-list/index.cjs +0 -33
- package/dist/data-list/index.js +0 -9
- package/dist/dialog/index.cjs +0 -249
- package/dist/dialog/index.d.cts +0 -46
- package/dist/dialog/index.d.ts +0 -46
- package/dist/dialog/index.js +0 -226
- package/dist/drawer/index.cjs +0 -239
- package/dist/drawer/index.d.cts +0 -44
- package/dist/drawer/index.d.ts +0 -44
- package/dist/drawer/index.js +0 -216
- package/dist/editable/index.cjs +0 -31
- package/dist/editable/index.d.cts +0 -3
- package/dist/editable/index.d.ts +0 -3
- package/dist/editable/index.js +0 -8
- package/dist/empty-state/index.cjs +0 -50
- package/dist/empty-state/index.d.cts +0 -11
- package/dist/empty-state/index.d.ts +0 -11
- package/dist/empty-state/index.js +0 -29
- package/dist/env/index.cjs +0 -33
- package/dist/env/index.d.cts +0 -1
- package/dist/env/index.d.ts +0 -1
- package/dist/env/index.js +0 -12
- package/dist/field/index.cjs +0 -35
- package/dist/field/index.js +0 -10
- package/dist/fieldset/index.cjs +0 -33
- package/dist/fieldset/index.d.cts +0 -4
- package/dist/fieldset/index.d.ts +0 -4
- package/dist/fieldset/index.js +0 -9
- package/dist/file-upload/index.cjs +0 -303
- package/dist/file-upload/index.d.cts +0 -46
- package/dist/file-upload/index.d.ts +0 -46
- package/dist/file-upload/index.js +0 -272
- package/dist/flex/index.cjs +0 -31
- package/dist/flex/index.d.cts +0 -1
- package/dist/flex/index.d.ts +0 -1
- package/dist/flex/index.js +0 -10
- package/dist/float/index.cjs +0 -31
- package/dist/float/index.d.cts +0 -1
- package/dist/float/index.d.ts +0 -1
- package/dist/float/index.js +0 -10
- package/dist/focus-trap/index.cjs +0 -31
- package/dist/focus-trap/index.d.cts +0 -1
- package/dist/focus-trap/index.d.ts +0 -1
- package/dist/focus-trap/index.js +0 -8
- package/dist/for/index.cjs +0 -31
- package/dist/for/index.d.cts +0 -4
- package/dist/for/index.d.ts +0 -4
- package/dist/for/index.js +0 -10
- package/dist/format/index.cjs +0 -33
- package/dist/format/index.d.cts +0 -1
- package/dist/format/index.d.ts +0 -1
- package/dist/format/index.js +0 -12
- package/dist/grid/index.cjs +0 -31
- package/dist/grid/index.d.cts +0 -1
- package/dist/grid/index.d.ts +0 -1
- package/dist/grid/index.js +0 -10
- package/dist/grid-list/index.cjs +0 -68
- package/dist/grid-list/index.d.cts +0 -88
- package/dist/grid-list/index.d.ts +0 -88
- package/dist/grid-list/index.js +0 -45
- package/dist/group/index.cjs +0 -31
- package/dist/group/index.d.cts +0 -1
- package/dist/group/index.d.ts +0 -1
- package/dist/group/index.js +0 -10
- package/dist/heading/index.cjs +0 -31
- package/dist/heading/index.d.cts +0 -3
- package/dist/heading/index.d.ts +0 -3
- package/dist/heading/index.js +0 -8
- package/dist/highlight/index.cjs +0 -31
- package/dist/highlight/index.d.cts +0 -1
- package/dist/highlight/index.d.ts +0 -1
- package/dist/highlight/index.js +0 -10
- package/dist/hover-card/index.cjs +0 -66
- package/dist/hover-card/index.d.cts +0 -21
- package/dist/hover-card/index.d.ts +0 -21
- package/dist/hover-card/index.js +0 -33
- package/dist/icon/index.cjs +0 -31
- package/dist/icon/index.d.cts +0 -1
- package/dist/icon/index.d.ts +0 -1
- package/dist/icon/index.js +0 -8
- package/dist/icon-badge/index.cjs +0 -70
- package/dist/icon-badge/index.d.cts +0 -16
- package/dist/icon-badge/index.d.ts +0 -16
- package/dist/icon-badge/index.js +0 -38
- package/dist/icon-button/index.cjs +0 -53
- package/dist/icon-button/index.d.cts +0 -8
- package/dist/icon-button/index.d.ts +0 -8
- package/dist/icon-button/index.js +0 -8
- package/dist/icon-button-CR4hDxYi.d.cts +0 -6
- package/dist/icon-button-CR4hDxYi.d.ts +0 -6
- package/dist/icons/index.cjs +0 -193
- package/dist/icons/index.d.cts +0 -23
- package/dist/icons/index.d.ts +0 -23
- package/dist/icons/index.js +0 -42
- package/dist/image/index.cjs +0 -31
- package/dist/image/index.d.cts +0 -2
- package/dist/image/index.d.ts +0 -2
- package/dist/image/index.js +0 -8
- package/dist/index.cjs +0 -12205
- package/dist/index.d.cts +0 -1500
- package/dist/info-tip/index.cjs +0 -306
- package/dist/info-tip/index.d.cts +0 -38
- package/dist/info-tip/index.d.ts +0 -38
- package/dist/info-tip/index.js +0 -128
- package/dist/input/index.cjs +0 -39
- package/dist/input/index.d.cts +0 -1
- package/dist/input/index.d.ts +0 -1
- package/dist/input/index.js +0 -18
- package/dist/kbd/index.cjs +0 -31
- package/dist/kbd/index.d.cts +0 -3
- package/dist/kbd/index.d.ts +0 -3
- package/dist/kbd/index.js +0 -8
- package/dist/link/index.cjs +0 -71
- package/dist/link/index.d.cts +0 -13
- package/dist/link/index.d.ts +0 -13
- package/dist/link/index.js +0 -36
- package/dist/list/index.cjs +0 -31
- package/dist/list/index.js +0 -8
- package/dist/loader/index.cjs +0 -31
- package/dist/loader/index.js +0 -8
- package/dist/loading-overlay/index.cjs +0 -87
- package/dist/loading-overlay/index.d.cts +0 -31
- package/dist/loading-overlay/index.d.ts +0 -31
- package/dist/loading-overlay/index.js +0 -66
- package/dist/locale/index.cjs +0 -33
- package/dist/locale/index.d.cts +0 -1
- package/dist/locale/index.d.ts +0 -1
- package/dist/locale/index.js +0 -12
- package/dist/mark/index.cjs +0 -31
- package/dist/mark/index.d.cts +0 -2
- package/dist/mark/index.d.ts +0 -2
- package/dist/mark/index.js +0 -8
- package/dist/menu/index.cjs +0 -249
- package/dist/menu/index.d.cts +0 -40
- package/dist/menu/index.d.ts +0 -40
- package/dist/menu/index.js +0 -101
- package/dist/native-select/index.cjs +0 -185
- package/dist/native-select/index.d.cts +0 -10
- package/dist/native-select/index.d.ts +0 -10
- package/dist/native-select/index.js +0 -22
- package/dist/navbar/index.cjs +0 -111
- package/dist/navbar/index.d.cts +0 -21
- package/dist/navbar/index.d.ts +0 -21
- package/dist/navbar/index.js +0 -78
- package/dist/number-input/index.cjs +0 -67
- package/dist/number-input/index.d.cts +0 -13
- package/dist/number-input/index.d.ts +0 -13
- package/dist/number-input/index.js +0 -40
- package/dist/page/index.cjs +0 -196
- package/dist/page/index.d.cts +0 -50
- package/dist/page/index.d.ts +0 -50
- package/dist/page/index.js +0 -167
- package/dist/pagination/index.cjs +0 -260
- package/dist/pagination/index.d.cts +0 -43
- package/dist/pagination/index.d.ts +0 -43
- package/dist/pagination/index.js +0 -223
- package/dist/password-input/index.cjs +0 -284
- package/dist/password-input/index.d.cts +0 -18
- package/dist/password-input/index.d.ts +0 -18
- package/dist/password-input/index.js +0 -230
- package/dist/persona/index.cjs +0 -247
- package/dist/persona/index.d.cts +0 -230
- package/dist/persona/index.d.ts +0 -230
- package/dist/persona/index.js +0 -212
- package/dist/pin-input/index.cjs +0 -52
- package/dist/pin-input/index.d.cts +0 -12
- package/dist/pin-input/index.d.ts +0 -12
- package/dist/pin-input/index.js +0 -27
- package/dist/popover/index.cjs +0 -259
- package/dist/popover/index.d.cts +0 -37
- package/dist/popover/index.d.ts +0 -37
- package/dist/popover/index.js +0 -226
- package/dist/portal/index.cjs +0 -31
- package/dist/portal/index.d.cts +0 -3
- package/dist/portal/index.d.ts +0 -3
- package/dist/portal/index.js +0 -10
- package/dist/presence/index.cjs +0 -31
- package/dist/presence/index.d.cts +0 -1
- package/dist/presence/index.d.ts +0 -1
- package/dist/presence/index.js +0 -8
- package/dist/preset.cjs +0 -9240
- package/dist/preset.d.cts +0 -6
- package/dist/progress/index.cjs +0 -31
- package/dist/progress/index.js +0 -8
- package/dist/progress-circle/index.cjs +0 -31
- package/dist/progress-circle/index.js +0 -8
- package/dist/qr-code/index.cjs +0 -31
- package/dist/qr-code/index.d.cts +0 -3
- package/dist/qr-code/index.d.ts +0 -3
- package/dist/qr-code/index.js +0 -8
- package/dist/radio/index.cjs +0 -46
- package/dist/radio/index.d.cts +0 -10
- package/dist/radio/index.d.ts +0 -10
- package/dist/radio/index.js +0 -21
- package/dist/radio-card/index.cjs +0 -75
- package/dist/radio-card/index.d.cts +0 -31
- package/dist/radio-card/index.d.ts +0 -31
- package/dist/radio-card/index.js +0 -52
- package/dist/radio-group/index.cjs +0 -31
- package/dist/radio-group/index.js +0 -8
- package/dist/radiomark/index.cjs +0 -31
- package/dist/radiomark/index.d.cts +0 -2
- package/dist/radiomark/index.d.ts +0 -2
- package/dist/radiomark/index.js +0 -10
- package/dist/rating-group/index.cjs +0 -31
- package/dist/rating-group/index.js +0 -8
- package/dist/search-input/index.cjs +0 -274
- package/dist/search-input/index.d.cts +0 -15
- package/dist/search-input/index.d.ts +0 -15
- package/dist/search-input/index.js +0 -119
- package/dist/segmented-control/index.cjs +0 -61
- package/dist/segmented-control/index.d.cts +0 -14
- package/dist/segmented-control/index.d.ts +0 -14
- package/dist/segmented-control/index.js +0 -36
- package/dist/select/index.cjs +0 -286
- package/dist/select/index.d.cts +0 -33
- package/dist/select/index.d.ts +0 -33
- package/dist/select/index.js +0 -137
- package/dist/separator/index.cjs +0 -31
- package/dist/separator/index.d.cts +0 -3
- package/dist/separator/index.d.ts +0 -3
- package/dist/separator/index.js +0 -8
- package/dist/show/index.cjs +0 -31
- package/dist/show/index.d.cts +0 -1
- package/dist/show/index.d.ts +0 -1
- package/dist/show/index.js +0 -10
- package/dist/sidebar/index.cjs +0 -168
- package/dist/sidebar/index.d.cts +0 -90
- package/dist/sidebar/index.d.ts +0 -90
- package/dist/sidebar/index.js +0 -142
- package/dist/skeleton/index.cjs +0 -61
- package/dist/skeleton/index.d.cts +0 -17
- package/dist/skeleton/index.d.ts +0 -17
- package/dist/skeleton/index.js +0 -34
- package/dist/skip-nav/index.cjs +0 -33
- package/dist/skip-nav/index.d.cts +0 -1
- package/dist/skip-nav/index.d.ts +0 -1
- package/dist/skip-nav/index.js +0 -12
- package/dist/skip-nav-link/index.cjs +0 -33
- package/dist/skip-nav-link/index.d.cts +0 -3
- package/dist/skip-nav-link/index.d.ts +0 -3
- package/dist/skip-nav-link/index.js +0 -11
- package/dist/slider/index.cjs +0 -62
- package/dist/slider/index.d.cts +0 -13
- package/dist/slider/index.d.ts +0 -13
- package/dist/slider/index.js +0 -36
- package/dist/spacer/index.cjs +0 -31
- package/dist/spacer/index.d.cts +0 -1
- package/dist/spacer/index.d.ts +0 -1
- package/dist/spacer/index.js +0 -9
- package/dist/spinner/index.cjs +0 -44
- package/dist/spinner/index.d.cts +0 -10
- package/dist/spinner/index.d.ts +0 -10
- package/dist/spinner/index.js +0 -18
- package/dist/stack/index.cjs +0 -31
- package/dist/stack/index.d.cts +0 -1
- package/dist/stack/index.d.ts +0 -1
- package/dist/stack/index.js +0 -9
- package/dist/stat/index.cjs +0 -83
- package/dist/stat/index.d.cts +0 -29
- package/dist/stat/index.d.ts +0 -29
- package/dist/stat/index.js +0 -50
- package/dist/status/index.cjs +0 -45
- package/dist/status/index.d.cts +0 -18
- package/dist/status/index.d.ts +0 -18
- package/dist/status/index.js +0 -20
- package/dist/steps/index.cjs +0 -221
- package/dist/steps/index.d.cts +0 -31
- package/dist/steps/index.d.ts +0 -31
- package/dist/steps/index.js +0 -198
- package/dist/switch/index.cjs +0 -48
- package/dist/switch/index.d.cts +0 -18
- package/dist/switch/index.d.ts +0 -18
- package/dist/switch/index.js +0 -23
- package/dist/table/index.cjs +0 -31
- package/dist/table/index.js +0 -8
- package/dist/tabs/index.cjs +0 -37
- package/dist/tabs/index.d.cts +0 -3
- package/dist/tabs/index.d.ts +0 -3
- package/dist/tabs/index.js +0 -15
- package/dist/tag/index.cjs +0 -53
- package/dist/tag/index.d.cts +0 -12
- package/dist/tag/index.d.ts +0 -12
- package/dist/tag/index.js +0 -27
- package/dist/textarea/index.cjs +0 -31
- package/dist/textarea/index.d.cts +0 -1
- package/dist/textarea/index.d.ts +0 -1
- package/dist/textarea/index.js +0 -7
- package/dist/theme/tokens/colors.cjs +0 -349
- package/dist/theme/tokens/colors.d.cts +0 -856
- package/dist/timeline/index.cjs +0 -31
- package/dist/timeline/index.js +0 -7
- package/dist/toaster/index.cjs +0 -264
- package/dist/toaster/index.d.cts +0 -235
- package/dist/toaster/index.d.ts +0 -235
- package/dist/toaster/index.js +0 -241
- package/dist/toggle/index.cjs +0 -31
- package/dist/toggle/index.d.cts +0 -3
- package/dist/toggle/index.d.ts +0 -3
- package/dist/toggle/index.js +0 -8
- package/dist/toggle-tip/index.cjs +0 -296
- package/dist/toggle-tip/index.d.cts +0 -32
- package/dist/toggle-tip/index.d.ts +0 -32
- package/dist/toggle-tip/index.js +0 -263
- package/dist/tooltip/index.cjs +0 -58
- package/dist/tooltip/index.d.cts +0 -14
- package/dist/tooltip/index.d.ts +0 -14
- package/dist/tooltip/index.js +0 -33
- package/dist/typography/index.cjs +0 -37
- package/dist/typography/index.d.cts +0 -1
- package/dist/typography/index.d.ts +0 -1
- package/dist/typography/index.js +0 -16
- package/dist/visually-hidden/index.cjs +0 -31
- package/dist/visually-hidden/index.js +0 -8
- /package/dist/{card → components/card}/index.d.ts +0 -0
- /package/dist/{collapsible → components/collapsible}/index.d.ts +0 -0
- /package/dist/{collapsible/index.d.cts → components/collapsible/index.js} +0 -0
- /package/dist/{color-picker → components/color-picker}/index.d.ts +0 -0
- /package/dist/{color-picker/index.d.cts → components/color-picker/index.js} +0 -0
- /package/dist/{data-list → components/data-list}/index.d.ts +0 -0
- /package/dist/{data-list/index.d.cts → components/data-list/index.js} +0 -0
- /package/dist/{field → components/field}/index.d.ts +0 -0
- /package/dist/{field/index.d.cts → components/field/index.js} +0 -0
- /package/dist/{list → components/list}/index.d.ts +0 -0
- /package/dist/{list/index.d.cts → components/list/index.js} +0 -0
- /package/dist/{loader → components/loader}/index.d.ts +0 -0
- /package/dist/{loader/index.d.cts → components/loader/index.js} +0 -0
- /package/dist/{progress → components/progress}/index.d.ts +0 -0
- /package/dist/{progress/index.d.cts → components/progress/index.js} +0 -0
- /package/dist/{progress-circle → components/progress-circle}/index.d.ts +0 -0
- /package/dist/{progress-circle/index.d.cts → components/progress-circle/index.js} +0 -0
- /package/dist/{radio-group → components/radio-group}/index.d.ts +0 -0
- /package/dist/{radio-group/index.d.cts → components/radio-group/index.js} +0 -0
- /package/dist/{rating-group → components/rating-group}/index.d.ts +0 -0
- /package/dist/{rating-group/index.d.cts → components/rating-group/index.js} +0 -0
- /package/dist/{table → components/table}/index.d.ts +0 -0
- /package/dist/{table/index.d.cts → components/table/index.js} +0 -0
- /package/dist/{timeline → components/timeline}/index.d.ts +0 -0
- /package/dist/{timeline/index.d.cts → components/timeline/index.js} +0 -0
- /package/dist/{visually-hidden → components/visually-hidden}/index.d.ts +0 -0
- /package/dist/{visually-hidden/index.d.cts → components/visually-hidden/index.js} +0 -0
@@ -1,43 +0,0 @@
|
|
1
|
-
import * as _ark_ui_react from '@ark-ui/react';
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
-
import * as React$1 from 'react';
|
4
|
-
import { Pagination } from '@chakra-ui/react/pagination';
|
5
|
-
import { TextProps } from '@chakra-ui/react/typography';
|
6
|
-
import { ButtonProps } from '@chakra-ui/react/button';
|
7
|
-
|
8
|
-
type PaginationVariant = 'outline' | 'solid' | 'subtle';
|
9
|
-
interface RootProps extends Omit<Pagination.RootProps, 'type'> {
|
10
|
-
size?: ButtonProps['size'];
|
11
|
-
variant?: PaginationVariant;
|
12
|
-
}
|
13
|
-
declare const Root: React$1.ForwardRefExoticComponent<RootProps & React$1.RefAttributes<HTMLDivElement>>;
|
14
|
-
declare const Ellipsis: React$1.ForwardRefExoticComponent<Pagination.EllipsisProps & React$1.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const Item: React$1.ForwardRefExoticComponent<Pagination.ItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
16
|
-
declare const PrevButton: React$1.ForwardRefExoticComponent<Pagination.PrevTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
17
|
-
declare const NextButton: React$1.ForwardRefExoticComponent<Pagination.NextTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
18
|
-
declare const Items: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
19
|
-
interface PageTextProps extends TextProps {
|
20
|
-
format?: 'short' | 'compact' | 'long';
|
21
|
-
}
|
22
|
-
declare const PageText: React$1.ForwardRefExoticComponent<PageTextProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
23
|
-
declare const PrevTrigger: React$1.ForwardRefExoticComponent<Pagination.PrevTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
24
|
-
declare const NextTrigger: React$1.ForwardRefExoticComponent<Pagination.NextTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
25
|
-
declare const Context: (props: _ark_ui_react.PaginationContextProps) => React$1.ReactNode;
|
26
|
-
|
27
|
-
declare const pagination_Context: typeof Context;
|
28
|
-
declare const pagination_Ellipsis: typeof Ellipsis;
|
29
|
-
declare const pagination_Item: typeof Item;
|
30
|
-
declare const pagination_Items: typeof Items;
|
31
|
-
declare const pagination_NextButton: typeof NextButton;
|
32
|
-
declare const pagination_NextTrigger: typeof NextTrigger;
|
33
|
-
declare const pagination_PageText: typeof PageText;
|
34
|
-
type pagination_PageTextProps = PageTextProps;
|
35
|
-
declare const pagination_PrevButton: typeof PrevButton;
|
36
|
-
declare const pagination_PrevTrigger: typeof PrevTrigger;
|
37
|
-
declare const pagination_Root: typeof Root;
|
38
|
-
type pagination_RootProps = RootProps;
|
39
|
-
declare namespace pagination {
|
40
|
-
export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
41
|
-
}
|
42
|
-
|
43
|
-
export { pagination as Pagination };
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import * as _ark_ui_react from '@ark-ui/react';
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
3
|
-
import * as React$1 from 'react';
|
4
|
-
import { Pagination } from '@chakra-ui/react/pagination';
|
5
|
-
import { TextProps } from '@chakra-ui/react/typography';
|
6
|
-
import { ButtonProps } from '@chakra-ui/react/button';
|
7
|
-
|
8
|
-
type PaginationVariant = 'outline' | 'solid' | 'subtle';
|
9
|
-
interface RootProps extends Omit<Pagination.RootProps, 'type'> {
|
10
|
-
size?: ButtonProps['size'];
|
11
|
-
variant?: PaginationVariant;
|
12
|
-
}
|
13
|
-
declare const Root: React$1.ForwardRefExoticComponent<RootProps & React$1.RefAttributes<HTMLDivElement>>;
|
14
|
-
declare const Ellipsis: React$1.ForwardRefExoticComponent<Pagination.EllipsisProps & React$1.RefAttributes<HTMLDivElement>>;
|
15
|
-
declare const Item: React$1.ForwardRefExoticComponent<Pagination.ItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
16
|
-
declare const PrevButton: React$1.ForwardRefExoticComponent<Pagination.PrevTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
17
|
-
declare const NextButton: React$1.ForwardRefExoticComponent<Pagination.NextTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
18
|
-
declare const Items: (props: React.HTMLAttributes<HTMLElement>) => react_jsx_runtime.JSX.Element;
|
19
|
-
interface PageTextProps extends TextProps {
|
20
|
-
format?: 'short' | 'compact' | 'long';
|
21
|
-
}
|
22
|
-
declare const PageText: React$1.ForwardRefExoticComponent<PageTextProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
23
|
-
declare const PrevTrigger: React$1.ForwardRefExoticComponent<Pagination.PrevTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
24
|
-
declare const NextTrigger: React$1.ForwardRefExoticComponent<Pagination.NextTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
25
|
-
declare const Context: (props: _ark_ui_react.PaginationContextProps) => React$1.ReactNode;
|
26
|
-
|
27
|
-
declare const pagination_Context: typeof Context;
|
28
|
-
declare const pagination_Ellipsis: typeof Ellipsis;
|
29
|
-
declare const pagination_Item: typeof Item;
|
30
|
-
declare const pagination_Items: typeof Items;
|
31
|
-
declare const pagination_NextButton: typeof NextButton;
|
32
|
-
declare const pagination_NextTrigger: typeof NextTrigger;
|
33
|
-
declare const pagination_PageText: typeof PageText;
|
34
|
-
type pagination_PageTextProps = PageTextProps;
|
35
|
-
declare const pagination_PrevButton: typeof PrevButton;
|
36
|
-
declare const pagination_PrevTrigger: typeof PrevTrigger;
|
37
|
-
declare const pagination_Root: typeof Root;
|
38
|
-
type pagination_RootProps = RootProps;
|
39
|
-
declare namespace pagination {
|
40
|
-
export { pagination_Context as Context, pagination_Ellipsis as Ellipsis, pagination_Item as Item, pagination_Items as Items, pagination_NextButton as NextButton, pagination_NextTrigger as NextTrigger, pagination_PageText as PageText, type pagination_PageTextProps as PageTextProps, pagination_PrevButton as PrevButton, pagination_PrevTrigger as PrevTrigger, pagination_Root as Root, type pagination_RootProps as RootProps };
|
41
|
-
}
|
42
|
-
|
43
|
-
export { pagination as Pagination };
|
package/dist/pagination/index.js
DELETED
@@ -1,223 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
import {
|
3
|
-
Button,
|
4
|
-
IconButton
|
5
|
-
} from "../chunk-A4CVFWTP.js";
|
6
|
-
import {
|
7
|
-
__export
|
8
|
-
} from "../chunk-RTMS5TJN.js";
|
9
|
-
|
10
|
-
// src/components/pagination/pagination.tsx
|
11
|
-
var pagination_exports = {};
|
12
|
-
__export(pagination_exports, {
|
13
|
-
Context: () => Context,
|
14
|
-
Ellipsis: () => Ellipsis,
|
15
|
-
Item: () => Item,
|
16
|
-
Items: () => Items,
|
17
|
-
NextButton: () => NextButton,
|
18
|
-
NextTrigger: () => NextTrigger,
|
19
|
-
PageText: () => PageText,
|
20
|
-
PrevButton: () => PrevButton,
|
21
|
-
PrevTrigger: () => PrevTrigger,
|
22
|
-
Root: () => Root
|
23
|
-
});
|
24
|
-
import { forwardRef, useMemo } from "react";
|
25
|
-
import {
|
26
|
-
Pagination as ChakraPagination,
|
27
|
-
usePaginationContext
|
28
|
-
} from "@chakra-ui/react/pagination";
|
29
|
-
import { Text } from "@chakra-ui/react/typography";
|
30
|
-
import { createContext } from "@saas-ui/core/utils";
|
31
|
-
|
32
|
-
// src/components/icons/create-icon.tsx
|
33
|
-
import { createIcon as _createIcon } from "@chakra-ui/react/icon";
|
34
|
-
var createIcon = (props) => {
|
35
|
-
return _createIcon({
|
36
|
-
viewBox: "0 0 24 24",
|
37
|
-
defaultProps: {
|
38
|
-
fill: "none",
|
39
|
-
stroke: "currentColor",
|
40
|
-
strokeWidth: "2",
|
41
|
-
strokeLinecap: "round",
|
42
|
-
strokeLinejoin: "round"
|
43
|
-
},
|
44
|
-
...props
|
45
|
-
});
|
46
|
-
};
|
47
|
-
|
48
|
-
// src/components/icons/icons.tsx
|
49
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
50
|
-
var ChevronUpIcon = createIcon({
|
51
|
-
displayName: "ChevronUpIcon",
|
52
|
-
path: /* @__PURE__ */ jsx("polyline", { points: "18 15 12 9 6 15" })
|
53
|
-
});
|
54
|
-
var ChevronDownIcon = createIcon({
|
55
|
-
displayName: "ChevronDownIcon",
|
56
|
-
path: /* @__PURE__ */ jsx("polyline", { points: "6 9 12 15 18 9" })
|
57
|
-
});
|
58
|
-
var ChevronLeftIcon = createIcon({
|
59
|
-
displayName: "ChevronLeftIcon",
|
60
|
-
path: /* @__PURE__ */ jsx("polyline", { points: "15 18 9 12 15 6" })
|
61
|
-
});
|
62
|
-
var ChevronRightIcon = createIcon({
|
63
|
-
displayName: "ChevronRightIcon",
|
64
|
-
path: /* @__PURE__ */ jsx("polyline", { points: "9 18 15 12 9 6" })
|
65
|
-
});
|
66
|
-
var HamburgerIcon = createIcon({
|
67
|
-
displayName: "ChevronDownIcon",
|
68
|
-
path: /* @__PURE__ */ jsxs("g", { fill: "none", children: [
|
69
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "12", x2: "21", y2: "12" }),
|
70
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "6", x2: "21", y2: "6" }),
|
71
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "18", x2: "21", y2: "18" })
|
72
|
-
] })
|
73
|
-
});
|
74
|
-
var CloseIcon = createIcon({
|
75
|
-
displayName: "CloseIcon",
|
76
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
77
|
-
/* @__PURE__ */ jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
78
|
-
/* @__PURE__ */ jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
79
|
-
] })
|
80
|
-
});
|
81
|
-
var FilterIcon = createIcon({
|
82
|
-
displayName: "FilterIcon",
|
83
|
-
path: /* @__PURE__ */ jsx("polygon", { points: "22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3" })
|
84
|
-
});
|
85
|
-
var CalendarIcon = createIcon({
|
86
|
-
displayName: "CalendarIcon",
|
87
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
88
|
-
/* @__PURE__ */ jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2", ry: "2" }),
|
89
|
-
/* @__PURE__ */ jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
|
90
|
-
/* @__PURE__ */ jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
|
91
|
-
/* @__PURE__ */ jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
|
92
|
-
] })
|
93
|
-
});
|
94
|
-
var PlusIcon = createIcon({
|
95
|
-
displayName: "PlusIcon",
|
96
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
97
|
-
/* @__PURE__ */ jsx("line", { x1: "12", y1: "5", x2: "12", y2: "19" }),
|
98
|
-
/* @__PURE__ */ jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" })
|
99
|
-
] })
|
100
|
-
});
|
101
|
-
var MinusIcon = createIcon({
|
102
|
-
displayName: "MinusIcon",
|
103
|
-
path: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("line", { x1: "5", y1: "12", x2: "19", y2: "12" }) })
|
104
|
-
});
|
105
|
-
var ViewOffIcon = createIcon({
|
106
|
-
displayName: "ViewOffIcon",
|
107
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
108
|
-
/* @__PURE__ */ jsx("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
|
109
|
-
/* @__PURE__ */ jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
|
110
|
-
] })
|
111
|
-
});
|
112
|
-
var ViewIcon = createIcon({
|
113
|
-
displayName: "ViewOffIcon",
|
114
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
115
|
-
/* @__PURE__ */ jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
|
116
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "3" })
|
117
|
-
] })
|
118
|
-
});
|
119
|
-
var SearchIcon = createIcon({
|
120
|
-
displayName: "SearchIcon",
|
121
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
122
|
-
/* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
|
123
|
-
/* @__PURE__ */ jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
|
124
|
-
] })
|
125
|
-
});
|
126
|
-
var CheckIcon = createIcon({
|
127
|
-
displayName: "CheckIcon",
|
128
|
-
path: /* @__PURE__ */ jsx("g", { children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" }) })
|
129
|
-
});
|
130
|
-
var EllipsisIcon = createIcon({
|
131
|
-
displayName: "EllipsisIcon",
|
132
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
133
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "1" }),
|
134
|
-
/* @__PURE__ */ jsx("circle", { cx: "19", cy: "12", r: "1" }),
|
135
|
-
/* @__PURE__ */ jsx("circle", { cx: "5", cy: "12", r: "1" })
|
136
|
-
] })
|
137
|
-
});
|
138
|
-
var CopyIcon = createIcon({
|
139
|
-
displayName: "CopyIcon",
|
140
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
141
|
-
/* @__PURE__ */ jsx("rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2" }),
|
142
|
-
/* @__PURE__ */ jsx("path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" })
|
143
|
-
] })
|
144
|
-
});
|
145
|
-
var InfoIcon = createIcon({
|
146
|
-
displayName: "InfoIcon",
|
147
|
-
path: /* @__PURE__ */ jsxs("g", { children: [
|
148
|
-
/* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
|
149
|
-
/* @__PURE__ */ jsx("path", { d: "M12 16v-4" }),
|
150
|
-
/* @__PURE__ */ jsx("path", { d: "M12 8h.01" })
|
151
|
-
] })
|
152
|
-
});
|
153
|
-
var ArrowLeftIcon = createIcon({
|
154
|
-
displayName: "ArrowLeftIcon",
|
155
|
-
path: /* @__PURE__ */ jsxs(Fragment, { children: [
|
156
|
-
/* @__PURE__ */ jsx("line", { x1: "19", y1: "12", x2: "5", y2: "12" }),
|
157
|
-
/* @__PURE__ */ jsx("polyline", { points: "12 19 5 12 12 5" })
|
158
|
-
] })
|
159
|
-
});
|
160
|
-
|
161
|
-
// src/components/pagination/pagination.tsx
|
162
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
163
|
-
var [RootPropsProvider, useRootProps] = createContext({
|
164
|
-
name: "RootPropsProvider"
|
165
|
-
});
|
166
|
-
var variantMap = {
|
167
|
-
outline: { default: "ghost", ellipsis: "plain", current: "outline" },
|
168
|
-
solid: { default: "outline", ellipsis: "outline", current: "solid" },
|
169
|
-
subtle: { default: "ghost", ellipsis: "plain", current: "subtle" }
|
170
|
-
};
|
171
|
-
var Root = forwardRef(
|
172
|
-
function PaginationRoot(props, ref) {
|
173
|
-
const { size = "sm", variant = "outline", ...rest } = props;
|
174
|
-
return /* @__PURE__ */ jsx2(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: /* @__PURE__ */ jsx2(ChakraPagination.Root, { ref, type: "button", ...rest }) });
|
175
|
-
}
|
176
|
-
);
|
177
|
-
var Ellipsis = forwardRef(function PaginationEllipsis(props, ref) {
|
178
|
-
var _a;
|
179
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
180
|
-
return /* @__PURE__ */ jsx2(ChakraPagination.Ellipsis, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx2(Button, { as: "span", variant: variantMap2.ellipsis, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx2(EllipsisIcon, {}) }) });
|
181
|
-
});
|
182
|
-
var Item = forwardRef(
|
183
|
-
function PaginationItem(props, ref) {
|
184
|
-
const { page } = usePaginationContext();
|
185
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
186
|
-
const current = page === props.value;
|
187
|
-
const variant = current ? variantMap2.current : variantMap2.default;
|
188
|
-
return /* @__PURE__ */ jsx2(ChakraPagination.Item, { ref, ...props, asChild: true, children: /* @__PURE__ */ jsx2(Button, { variant, size, children: props.value }) });
|
189
|
-
}
|
190
|
-
);
|
191
|
-
var PrevButton = forwardRef(function PaginationPrevTrigger(props, ref) {
|
192
|
-
var _a;
|
193
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
194
|
-
return /* @__PURE__ */ jsx2(ChakraPagination.PrevTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx2(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx2(ChevronLeftIcon, {}) }) });
|
195
|
-
});
|
196
|
-
var NextButton = forwardRef(function PaginationNextTrigger(props, ref) {
|
197
|
-
var _a;
|
198
|
-
const { size, variantMap: variantMap2 } = useRootProps();
|
199
|
-
return /* @__PURE__ */ jsx2(ChakraPagination.NextTrigger, { ref, asChild: true, ...props, children: /* @__PURE__ */ jsx2(IconButton, { variant: variantMap2.default, size, children: (_a = props.children) != null ? _a : /* @__PURE__ */ jsx2(ChevronRightIcon, {}) }) });
|
200
|
-
});
|
201
|
-
var Items = (props) => {
|
202
|
-
return /* @__PURE__ */ jsx2(ChakraPagination.Context, { children: ({ pages }) => pages.map((page, index) => {
|
203
|
-
return page.type === "ellipsis" ? /* @__PURE__ */ jsx2(Ellipsis, { index, ...props }, index) : /* @__PURE__ */ jsx2(Item, { type: "page", value: page.value, ...props }, index);
|
204
|
-
}) });
|
205
|
-
};
|
206
|
-
var PageText = forwardRef(
|
207
|
-
function PaginationPageText(props, ref) {
|
208
|
-
const { format = "compact", ...rest } = props;
|
209
|
-
const { page, pages, pageRange, count } = usePaginationContext();
|
210
|
-
const content = useMemo(() => {
|
211
|
-
if (format === "short") return `${page} / ${pages.length}`;
|
212
|
-
if (format === "compact") return `${page} of ${pages.length}`;
|
213
|
-
return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
|
214
|
-
}, [format, page, pages.length, pageRange, count]);
|
215
|
-
return /* @__PURE__ */ jsx2(Text, { fontWeight: "medium", ref, ...rest, children: content });
|
216
|
-
}
|
217
|
-
);
|
218
|
-
var PrevTrigger = ChakraPagination.PrevTrigger;
|
219
|
-
var NextTrigger = ChakraPagination.NextTrigger;
|
220
|
-
var Context = ChakraPagination.Context;
|
221
|
-
export {
|
222
|
-
pagination_exports as Pagination
|
223
|
-
};
|
@@ -1,284 +0,0 @@
|
|
1
|
-
'use client'
|
2
|
-
"use strict";
|
3
|
-
var __create = Object.create;
|
4
|
-
var __defProp = Object.defineProperty;
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
7
|
-
var __getProtoOf = Object.getPrototypeOf;
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
9
|
-
var __export = (target, all) => {
|
10
|
-
for (var name in all)
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
-
};
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
-
for (let key of __getOwnPropNames(from))
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
-
}
|
19
|
-
return to;
|
20
|
-
};
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
-
mod
|
28
|
-
));
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
-
|
31
|
-
// src/components/password-input/index.ts
|
32
|
-
var password_input_exports = {};
|
33
|
-
__export(password_input_exports, {
|
34
|
-
PasswordInput: () => PasswordInput
|
35
|
-
});
|
36
|
-
module.exports = __toCommonJS(password_input_exports);
|
37
|
-
|
38
|
-
// src/components/password-input/password-input.tsx
|
39
|
-
var import_react4 = require("react");
|
40
|
-
var import_react5 = require("@chakra-ui/react");
|
41
|
-
|
42
|
-
// ../../node_modules/react-icons/lib/iconBase.mjs
|
43
|
-
var import_react2 = __toESM(require("react"), 1);
|
44
|
-
|
45
|
-
// ../../node_modules/react-icons/lib/iconContext.mjs
|
46
|
-
var import_react = __toESM(require("react"), 1);
|
47
|
-
var DefaultContext = {
|
48
|
-
color: void 0,
|
49
|
-
size: void 0,
|
50
|
-
className: void 0,
|
51
|
-
style: void 0,
|
52
|
-
attr: void 0
|
53
|
-
};
|
54
|
-
var IconContext = import_react.default.createContext && /* @__PURE__ */ import_react.default.createContext(DefaultContext);
|
55
|
-
|
56
|
-
// ../../node_modules/react-icons/lib/iconBase.mjs
|
57
|
-
var _excluded = ["attr", "size", "title"];
|
58
|
-
function _objectWithoutProperties(source, excluded) {
|
59
|
-
if (source == null) return {};
|
60
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
61
|
-
var key, i;
|
62
|
-
if (Object.getOwnPropertySymbols) {
|
63
|
-
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
64
|
-
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
65
|
-
key = sourceSymbolKeys[i];
|
66
|
-
if (excluded.indexOf(key) >= 0) continue;
|
67
|
-
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
68
|
-
target[key] = source[key];
|
69
|
-
}
|
70
|
-
}
|
71
|
-
return target;
|
72
|
-
}
|
73
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
74
|
-
if (source == null) return {};
|
75
|
-
var target = {};
|
76
|
-
for (var key in source) {
|
77
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
78
|
-
if (excluded.indexOf(key) >= 0) continue;
|
79
|
-
target[key] = source[key];
|
80
|
-
}
|
81
|
-
}
|
82
|
-
return target;
|
83
|
-
}
|
84
|
-
function _extends() {
|
85
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
86
|
-
for (var i = 1; i < arguments.length; i++) {
|
87
|
-
var source = arguments[i];
|
88
|
-
for (var key in source) {
|
89
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
90
|
-
target[key] = source[key];
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
return target;
|
95
|
-
};
|
96
|
-
return _extends.apply(this, arguments);
|
97
|
-
}
|
98
|
-
function ownKeys(e, r) {
|
99
|
-
var t = Object.keys(e);
|
100
|
-
if (Object.getOwnPropertySymbols) {
|
101
|
-
var o = Object.getOwnPropertySymbols(e);
|
102
|
-
r && (o = o.filter(function(r2) {
|
103
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
104
|
-
})), t.push.apply(t, o);
|
105
|
-
}
|
106
|
-
return t;
|
107
|
-
}
|
108
|
-
function _objectSpread(e) {
|
109
|
-
for (var r = 1; r < arguments.length; r++) {
|
110
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
111
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
112
|
-
_defineProperty(e, r2, t[r2]);
|
113
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
114
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
115
|
-
});
|
116
|
-
}
|
117
|
-
return e;
|
118
|
-
}
|
119
|
-
function _defineProperty(obj, key, value) {
|
120
|
-
key = _toPropertyKey(key);
|
121
|
-
if (key in obj) {
|
122
|
-
Object.defineProperty(obj, key, { value, enumerable: true, configurable: true, writable: true });
|
123
|
-
} else {
|
124
|
-
obj[key] = value;
|
125
|
-
}
|
126
|
-
return obj;
|
127
|
-
}
|
128
|
-
function _toPropertyKey(t) {
|
129
|
-
var i = _toPrimitive(t, "string");
|
130
|
-
return "symbol" == typeof i ? i : i + "";
|
131
|
-
}
|
132
|
-
function _toPrimitive(t, r) {
|
133
|
-
if ("object" != typeof t || !t) return t;
|
134
|
-
var e = t[Symbol.toPrimitive];
|
135
|
-
if (void 0 !== e) {
|
136
|
-
var i = e.call(t, r || "default");
|
137
|
-
if ("object" != typeof i) return i;
|
138
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
139
|
-
}
|
140
|
-
return ("string" === r ? String : Number)(t);
|
141
|
-
}
|
142
|
-
function Tree2Element(tree) {
|
143
|
-
return tree && tree.map((node, i) => /* @__PURE__ */ import_react2.default.createElement(node.tag, _objectSpread({
|
144
|
-
key: i
|
145
|
-
}, node.attr), Tree2Element(node.child)));
|
146
|
-
}
|
147
|
-
function GenIcon(data) {
|
148
|
-
return (props) => /* @__PURE__ */ import_react2.default.createElement(IconBase, _extends({
|
149
|
-
attr: _objectSpread({}, data.attr)
|
150
|
-
}, props), Tree2Element(data.child));
|
151
|
-
}
|
152
|
-
function IconBase(props) {
|
153
|
-
var elem = (conf) => {
|
154
|
-
var {
|
155
|
-
attr,
|
156
|
-
size,
|
157
|
-
title
|
158
|
-
} = props, svgProps = _objectWithoutProperties(props, _excluded);
|
159
|
-
var computedSize = size || conf.size || "1em";
|
160
|
-
var className;
|
161
|
-
if (conf.className) className = conf.className;
|
162
|
-
if (props.className) className = (className ? className + " " : "") + props.className;
|
163
|
-
return /* @__PURE__ */ import_react2.default.createElement("svg", _extends({
|
164
|
-
stroke: "currentColor",
|
165
|
-
fill: "currentColor",
|
166
|
-
strokeWidth: "0"
|
167
|
-
}, conf.attr, attr, svgProps, {
|
168
|
-
className,
|
169
|
-
style: _objectSpread(_objectSpread({
|
170
|
-
color: props.color || conf.color
|
171
|
-
}, conf.style), props.style),
|
172
|
-
height: computedSize,
|
173
|
-
width: computedSize,
|
174
|
-
xmlns: "http://www.w3.org/2000/svg"
|
175
|
-
}), title && /* @__PURE__ */ import_react2.default.createElement("title", null, title), props.children);
|
176
|
-
};
|
177
|
-
return IconContext !== void 0 ? /* @__PURE__ */ import_react2.default.createElement(IconContext.Consumer, null, (conf) => elem(conf)) : elem(DefaultContext);
|
178
|
-
}
|
179
|
-
|
180
|
-
// ../../node_modules/react-icons/lu/index.mjs
|
181
|
-
function LuEyeOff(props) {
|
182
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49" }, "child": [] }, { "tag": "path", "attr": { "d": "M14.084 14.158a3 3 0 0 1-4.242-4.242" }, "child": [] }, { "tag": "path", "attr": { "d": "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143" }, "child": [] }, { "tag": "path", "attr": { "d": "m2 2 20 20" }, "child": [] }] })(props);
|
183
|
-
}
|
184
|
-
function LuEye(props) {
|
185
|
-
return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 24 24", "fill": "none", "stroke": "currentColor", "strokeWidth": "2", "strokeLinecap": "round", "strokeLinejoin": "round" }, "child": [{ "tag": "path", "attr": { "d": "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }, "child": [] }, { "tag": "circle", "attr": { "cx": "12", "cy": "12", "r": "3" }, "child": [] }] })(props);
|
186
|
-
}
|
187
|
-
|
188
|
-
// src/components/icon-button/icon-button.tsx
|
189
|
-
var import_react3 = require("react");
|
190
|
-
|
191
|
-
// src/components/button/index.ts
|
192
|
-
var import_button = require("@chakra-ui/react/button");
|
193
|
-
|
194
|
-
// src/components/icon-button/icon-button.tsx
|
195
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
196
|
-
var IconButton = (0, import_react3.forwardRef)(
|
197
|
-
function IconButton2(props, ref) {
|
198
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
199
|
-
import_button.Button,
|
200
|
-
{
|
201
|
-
px: "0",
|
202
|
-
py: "0",
|
203
|
-
_icon: { fontSize: "1.2em" },
|
204
|
-
ref,
|
205
|
-
...props
|
206
|
-
}
|
207
|
-
);
|
208
|
-
}
|
209
|
-
);
|
210
|
-
|
211
|
-
// src/components/input/index.ts
|
212
|
-
var import_input = require("@chakra-ui/react/input");
|
213
|
-
|
214
|
-
// src/components/password-input/password-input.tsx
|
215
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
216
|
-
var PasswordInput = (0, import_react4.forwardRef)(
|
217
|
-
function PasswordInput2(props, ref) {
|
218
|
-
const {
|
219
|
-
rootProps,
|
220
|
-
defaultVisible,
|
221
|
-
visible: visibleProp,
|
222
|
-
onVisibleChange,
|
223
|
-
visibilityIcon = { on: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEye, {}), off: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(LuEyeOff, {}) },
|
224
|
-
...rest
|
225
|
-
} = props;
|
226
|
-
const [visible, setVisible] = (0, import_react5.useControllableState)({
|
227
|
-
value: visibleProp,
|
228
|
-
defaultValue: defaultVisible || false,
|
229
|
-
onChange: onVisibleChange
|
230
|
-
});
|
231
|
-
const inputRef = (0, import_react4.useRef)(null);
|
232
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
233
|
-
import_input.InputGroup,
|
234
|
-
{
|
235
|
-
width: "full",
|
236
|
-
endElement: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
237
|
-
VisibilityTrigger,
|
238
|
-
{
|
239
|
-
disabled: rest.disabled,
|
240
|
-
onPointerDown: (e) => {
|
241
|
-
if (rest.disabled) return;
|
242
|
-
if (e.button !== 0) return;
|
243
|
-
e.preventDefault();
|
244
|
-
setVisible(!visible);
|
245
|
-
},
|
246
|
-
children: visible ? visibilityIcon.off : visibilityIcon.on
|
247
|
-
}
|
248
|
-
),
|
249
|
-
...rootProps,
|
250
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
251
|
-
import_input.Input,
|
252
|
-
{
|
253
|
-
...rest,
|
254
|
-
ref: (0, import_react5.mergeRefs)(ref, inputRef),
|
255
|
-
type: visible ? "text" : "password"
|
256
|
-
}
|
257
|
-
)
|
258
|
-
}
|
259
|
-
);
|
260
|
-
}
|
261
|
-
);
|
262
|
-
var VisibilityTrigger = (0, import_react4.forwardRef)(
|
263
|
-
function VisibilityTrigger2(props, ref) {
|
264
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
265
|
-
IconButton,
|
266
|
-
{
|
267
|
-
tabIndex: -1,
|
268
|
-
ref,
|
269
|
-
me: "-2",
|
270
|
-
aspectRatio: "square",
|
271
|
-
size: "sm",
|
272
|
-
variant: "ghost",
|
273
|
-
colorPalette: "gray",
|
274
|
-
height: "calc(100% - {spacing.2})",
|
275
|
-
"aria-label": "Toggle password visibility",
|
276
|
-
...props
|
277
|
-
}
|
278
|
-
);
|
279
|
-
}
|
280
|
-
);
|
281
|
-
// Annotate the CommonJS export names for ESM import in node:
|
282
|
-
0 && (module.exports = {
|
283
|
-
PasswordInput
|
284
|
-
});
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import * as React$1 from 'react';
|
2
|
-
import { InputProps, InputGroupProps } from '@chakra-ui/react/input';
|
3
|
-
|
4
|
-
interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
5
|
-
rootProps?: InputGroupProps;
|
6
|
-
}
|
7
|
-
declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
8
|
-
interface PasswordVisibilityProps {
|
9
|
-
defaultVisible?: boolean;
|
10
|
-
visible?: boolean;
|
11
|
-
onVisibleChange?: (visible: boolean) => void;
|
12
|
-
visibilityIcon?: {
|
13
|
-
on: React.ReactNode;
|
14
|
-
off: React.ReactNode;
|
15
|
-
};
|
16
|
-
}
|
17
|
-
|
18
|
-
export { PasswordInput, type PasswordInputProps };
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import * as React$1 from 'react';
|
2
|
-
import { InputProps, InputGroupProps } from '@chakra-ui/react/input';
|
3
|
-
|
4
|
-
interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
5
|
-
rootProps?: InputGroupProps;
|
6
|
-
}
|
7
|
-
declare const PasswordInput: React$1.ForwardRefExoticComponent<PasswordInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
8
|
-
interface PasswordVisibilityProps {
|
9
|
-
defaultVisible?: boolean;
|
10
|
-
visible?: boolean;
|
11
|
-
onVisibleChange?: (visible: boolean) => void;
|
12
|
-
visibilityIcon?: {
|
13
|
-
on: React.ReactNode;
|
14
|
-
off: React.ReactNode;
|
15
|
-
};
|
16
|
-
}
|
17
|
-
|
18
|
-
export { PasswordInput, type PasswordInputProps };
|