@saas-ui/react 3.0.0-next.5 → 3.0.0-next.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/.tsbuildinfo.json +1 -1
- package/dist/colors.d.ts +1 -1
- package/dist/colors.js +1 -8
- package/dist/components/absolute-center/index.d.ts +1 -0
- package/dist/components/absolute-center/index.js +2 -0
- package/dist/components/accordion/accordion.d.ts +14 -0
- package/dist/components/accordion/accordion.js +15 -0
- package/dist/components/accordion/index.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -9
- package/dist/components/action-bar/action-bar.d.ts +16 -0
- package/dist/components/action-bar/action-bar.js +18 -0
- package/dist/components/action-bar/index.d.ts +1 -1
- package/dist/components/action-bar/index.js +1 -13
- package/dist/components/alert/alert.d.ts +10 -0
- package/dist/components/alert/alert.js +9 -0
- package/dist/components/alert/index.d.ts +1 -2
- package/dist/components/alert/index.js +1 -13
- package/dist/components/app-shell/app-shell.d.ts +38 -0
- package/dist/components/app-shell/app-shell.js +22 -0
- package/dist/components/app-shell/index.d.ts +2 -2
- package/dist/components/app-shell/index.js +1 -8
- package/dist/components/aspect-ratio/index.d.ts +1 -2
- package/dist/components/aspect-ratio/index.js +2 -8
- package/dist/components/avatar/avatar.d.ts +17 -0
- package/dist/components/avatar/avatar.js +25 -0
- package/dist/components/avatar/index.d.ts +2 -3
- package/dist/components/avatar/index.js +1 -11
- 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 -2
- package/dist/components/back-button/index.js +1 -11
- package/dist/components/badge/index.d.ts +1 -3
- package/dist/components/badge/index.js +1 -10
- package/dist/components/bleed/index.d.ts +1 -2
- package/dist/components/bleed/index.js +1 -8
- package/dist/components/blockquote/blockquote.d.ts +10 -0
- package/dist/components/blockquote/blockquote.js +11 -0
- package/dist/components/blockquote/index.d.ts +1 -2
- package/dist/components/blockquote/index.js +1 -8
- package/dist/components/box/index.d.ts +1 -2
- package/dist/components/box/index.js +1 -8
- package/dist/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/components/breadcrumb/breadcrumb.js +15 -0
- package/dist/components/breadcrumb/index.d.ts +1 -1
- package/dist/components/breadcrumb/index.js +1 -8
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/button/index.js +1 -8
- package/dist/components/button-group/index.d.ts +2 -2
- package/dist/components/button-group/index.js +1 -8
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/card/index.js +1 -9
- package/dist/components/center/index.d.ts +1 -2
- package/dist/components/center/index.js +1 -8
- package/dist/components/checkbox/checkbox.d.ts +7 -0
- package/dist/components/checkbox/checkbox.js +8 -0
- package/dist/components/checkbox/index.d.ts +3 -2
- package/dist/components/checkbox/index.js +2 -8
- package/dist/components/checkbox-card/checkbox-card.d.ts +12 -0
- package/dist/components/checkbox-card/checkbox-card.js +11 -0
- package/dist/components/checkbox-card/index.d.ts +1 -2
- package/dist/components/checkbox-card/index.js +1 -8
- package/dist/components/checkmark/index.d.ts +1 -2
- package/dist/components/checkmark/index.js +1 -8
- package/dist/components/circle/index.d.ts +1 -0
- package/dist/components/circle/index.js +1 -0
- package/dist/components/client-only/index.d.ts +1 -2
- package/dist/components/client-only/index.js +1 -8
- package/dist/components/clipboard/clipboard.d.ts +22 -0
- package/dist/components/clipboard/clipboard.js +30 -0
- package/dist/components/clipboard/index.d.ts +3 -1
- package/dist/components/clipboard/index.js +2 -13
- package/dist/components/close-button/close-button.d.ts +4 -0
- package/dist/components/close-button/close-button.js +8 -0
- package/dist/components/close-button/index.d.ts +2 -2
- package/dist/components/close-button/index.js +1 -12
- package/dist/components/code/index.d.ts +1 -2
- package/dist/components/code/index.js +1 -8
- package/dist/components/code-block/index.d.ts +1 -0
- package/dist/components/code-block/index.js +1 -0
- package/dist/components/collapsible/index.d.ts +1 -1
- package/dist/components/collapsible/index.js +1 -8
- package/dist/components/color-mode/color-mode.d.ts +19 -0
- package/dist/components/color-mode/color-mode.js +35 -0
- package/dist/components/color-mode/index.d.ts +2 -0
- package/dist/components/color-mode/index.js +1 -0
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +1 -8
- package/dist/components/color-swatch/index.d.ts +1 -6
- package/dist/components/color-swatch/index.js +1 -12
- package/dist/components/combobox/index.d.ts +1 -0
- package/dist/components/combobox/index.js +1 -0
- package/dist/components/command/command.d.ts +14 -0
- package/dist/components/command/command.js +26 -0
- package/dist/components/command/index.d.ts +1 -1
- package/dist/components/command/index.js +1 -9
- package/dist/components/container/index.d.ts +1 -2
- package/dist/components/container/index.js +1 -8
- package/dist/components/data-list/index.d.ts +1 -2
- package/dist/components/data-list/index.js +1 -10
- package/dist/components/dialog/dialog.d.ts +21 -0
- package/dist/components/dialog/dialog.js +24 -0
- package/dist/components/dialog/index.d.ts +1 -1
- package/dist/components/dialog/index.js +1 -13
- package/dist/components/download-trigger/index.d.ts +1 -0
- package/dist/components/download-trigger/index.js +1 -0
- package/dist/components/drawer/drawer.d.ts +20 -0
- package/dist/components/drawer/drawer.js +25 -0
- package/dist/components/drawer/index.d.ts +1 -1
- package/dist/components/drawer/index.js +1 -13
- package/dist/components/editable/index.d.ts +1 -1
- package/dist/components/editable/index.js +1 -8
- package/dist/components/em/index.d.ts +1 -0
- package/dist/components/em/index.js +1 -0
- package/dist/components/empty-state/empty-state.d.ts +7 -0
- package/dist/components/empty-state/empty-state.js +13 -0
- package/dist/components/empty-state/index.d.ts +2 -2
- package/dist/components/empty-state/index.js +1 -8
- package/dist/components/environment/index.d.ts +1 -0
- package/dist/components/environment/index.js +1 -0
- package/dist/components/field/index.d.ts +1 -3
- package/dist/components/field/index.js +1 -12
- package/dist/components/fieldset/index.d.ts +1 -2
- package/dist/components/fieldset/index.js +1 -10
- 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/index.d.ts +2 -2
- package/dist/components/file-upload/index.js +2 -14
- package/dist/components/flex/index.d.ts +1 -2
- package/dist/components/flex/index.js +1 -10
- package/dist/components/float/index.d.ts +1 -2
- package/dist/components/float/index.js +1 -8
- package/dist/components/focus-trap/index.d.ts +1 -2
- package/dist/components/focus-trap/index.js +1 -8
- package/dist/components/for/index.d.ts +1 -2
- package/dist/components/for/index.js +1 -10
- package/dist/components/format/index.d.ts +1 -4
- package/dist/components/format/index.js +1 -10
- package/dist/components/grid/index.d.ts +1 -2
- package/dist/components/grid/index.js +1 -8
- 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 +8 -0
- package/dist/components/grid-list/index.d.ts +1 -1
- package/dist/components/grid-list/index.js +1 -8
- package/dist/components/group/index.d.ts +1 -2
- package/dist/components/group/index.js +1 -8
- package/dist/components/heading/index.d.ts +1 -2
- package/dist/components/heading/index.js +1 -8
- package/dist/components/highlight/index.d.ts +1 -2
- package/dist/components/highlight/index.js +1 -8
- package/dist/components/hover-card/hover-card.d.ts +11 -0
- package/dist/components/hover-card/hover-card.js +14 -0
- package/dist/components/hover-card/index.d.ts +1 -1
- package/dist/components/hover-card/index.js +1 -8
- package/dist/components/icon/index.d.ts +1 -2
- package/dist/components/icon/index.js +1 -8
- 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/index.d.ts +2 -2
- package/dist/components/icon-badge/index.js +1 -8
- package/dist/components/icon-button/icon-button.d.ts +4 -0
- package/dist/components/icon-button/icon-button.js +7 -0
- package/dist/components/icon-button/index.d.ts +1 -2
- package/dist/components/icon-button/index.js +1 -9
- 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 +20 -0
- package/dist/components/icons/icons.js +82 -0
- package/dist/components/icons/index.d.ts +1 -18
- package/dist/components/icons/index.js +1 -43
- package/dist/components/image/index.d.ts +1 -2
- package/dist/components/image/index.js +1 -8
- package/dist/components/info-tip/index.d.ts +1 -2
- package/dist/components/info-tip/index.js +1 -16
- package/dist/components/info-tip/info-tip.d.ts +8 -0
- package/dist/components/info-tip/info-tip.js +10 -0
- package/dist/components/input/index.d.ts +2 -9
- package/dist/components/input/index.js +1 -16
- package/dist/components/input-addon/index.d.ts +1 -0
- package/dist/components/input-addon/index.js +1 -0
- package/dist/components/input-element/index.d.ts +1 -0
- package/dist/components/input-element/index.js +1 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +1 -0
- package/dist/components/kbd/index.d.ts +1 -2
- package/dist/components/kbd/index.js +1 -8
- package/dist/components/link/index.d.ts +2 -2
- package/dist/components/link/index.js +1 -9
- package/dist/components/link/link.d.ts +10 -0
- package/dist/components/link/link.js +16 -0
- package/dist/components/link-box/index.d.ts +2 -0
- package/dist/components/link-box/index.js +1 -0
- package/dist/components/list/index.d.ts +1 -1
- package/dist/components/list/index.js +1 -8
- package/dist/components/loader/index.d.ts +1 -1
- package/dist/components/loader/index.js +1 -8
- package/dist/components/loading-overlay/index.d.ts +2 -2
- package/dist/components/loading-overlay/index.js +2 -11
- 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 +17 -0
- package/dist/components/locale/index.d.ts +1 -3
- package/dist/components/locale/index.js +1 -12
- package/dist/components/mark/index.d.ts +1 -1
- package/dist/components/mark/index.js +1 -8
- package/dist/components/menu/index.d.ts +1 -1
- package/dist/components/menu/index.js +1 -11
- package/dist/components/menu/menu.d.ts +41 -0
- package/dist/components/menu/menu.js +48 -0
- package/dist/components/native-select/index.d.ts +2 -2
- package/dist/components/native-select/index.js +1 -10
- package/dist/components/native-select/native-select.d.ts +7 -0
- package/dist/components/native-select/native-select.js +9 -0
- package/dist/components/navbar/index.d.ts +1 -1
- package/dist/components/navbar/index.js +1 -9
- 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 +15 -0
- package/dist/components/navbar/navbar.js +19 -0
- package/dist/components/number-input/index.d.ts +2 -2
- package/dist/components/number-input/index.js +1 -9
- package/dist/components/number-input/number-input.d.ts +9 -0
- package/dist/components/number-input/number-input.js +9 -0
- package/dist/components/page/index.d.ts +2 -2
- package/dist/components/page/index.js +2 -12
- 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/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +1 -11
- package/dist/components/pagination/pagination.d.ts +22 -0
- package/dist/components/pagination/pagination.js +60 -0
- package/dist/components/password-input/index.d.ts +2 -2
- package/dist/components/password-input/index.js +1 -11
- 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 +3 -7
- package/dist/components/persona/index.js +2 -13
- package/dist/components/persona/persona-composed.d.ts +63 -0
- package/dist/components/persona/persona-composed.js +19 -0
- package/dist/components/persona/persona.context.d.ts +9 -0
- package/dist/components/persona/persona.context.js +4 -0
- package/dist/components/persona/persona.d.ts +77 -0
- package/dist/components/persona/persona.js +67 -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 -2
- package/dist/components/pin-input/index.js +1 -8
- package/dist/components/pin-input/pin-input.d.ts +8 -0
- package/dist/components/pin-input/pin-input.js +9 -0
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.js +1 -13
- package/dist/components/popover/popover.d.ts +21 -0
- package/dist/components/popover/popover.js +24 -0
- package/dist/components/portal/index.d.ts +1 -2
- package/dist/components/portal/index.js +1 -8
- package/dist/components/presence/index.d.ts +1 -2
- package/dist/components/presence/index.js +1 -8
- package/dist/components/progress/index.d.ts +1 -1
- package/dist/components/progress/index.js +1 -8
- package/dist/components/progress-circle/index.d.ts +1 -1
- package/dist/components/progress-circle/index.js +1 -8
- package/dist/components/qr-code/index.d.ts +2 -1
- package/dist/components/qr-code/index.js +1 -8
- package/dist/components/quote/index.d.ts +1 -0
- package/dist/components/quote/index.js +1 -0
- package/dist/components/radio/index.d.ts +3 -2
- package/dist/components/radio/index.js +2 -8
- package/dist/components/radio/radio.d.ts +8 -0
- package/dist/components/radio/radio.js +9 -0
- package/dist/components/radio-card/index.d.ts +1 -1
- package/dist/components/radio-card/index.js +1 -8
- package/dist/components/radio-card/radio-card.d.ts +19 -0
- package/dist/components/radio-card/radio-card.js +14 -0
- package/dist/components/radio-group/index.d.ts +1 -1
- package/dist/components/radio-group/index.js +1 -8
- package/dist/components/radiomark/index.d.ts +1 -2
- package/dist/components/radiomark/index.js +1 -10
- package/dist/components/rating-group/index.d.ts +1 -1
- package/dist/components/rating-group/index.js +1 -8
- package/dist/components/scroll-area/index.d.ts +1 -0
- package/dist/components/scroll-area/index.js +1 -0
- package/dist/components/search-input/index.d.ts +2 -2
- package/dist/components/search-input/index.js +1 -10
- package/dist/components/search-input/search-input.d.ts +12 -0
- package/dist/components/search-input/search-input.js +36 -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/segmented-control/index.d.ts +2 -2
- package/dist/components/segmented-control/index.js +1 -8
- 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 -1
- package/dist/components/select/index.js +1 -13
- package/dist/components/select/namespace.d.ts +2 -0
- package/dist/components/select/namespace.js +1 -0
- package/dist/components/select/select.d.ts +26 -0
- package/dist/components/select/select.js +43 -0
- package/dist/components/separator/index.d.ts +2 -2
- package/dist/components/separator/index.js +1 -8
- package/dist/components/show/index.d.ts +1 -2
- package/dist/components/show/index.js +1 -8
- package/dist/components/sidebar/index.d.ts +3 -4
- package/dist/components/sidebar/index.js +3 -14
- 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 +84 -0
- package/dist/components/sidebar/sidebar.js +97 -0
- package/dist/components/simple-grid/index.d.ts +1 -0
- package/dist/components/simple-grid/index.js +1 -0
- package/dist/components/skeleton/index.d.ts +1 -6
- package/dist/components/skeleton/index.js +1 -12
- package/dist/components/skeleton/skeleton.d.ts +12 -0
- package/dist/components/skeleton/skeleton.js +15 -0
- package/dist/components/skip-nav/index.d.ts +1 -4
- package/dist/components/skip-nav/index.js +1 -10
- package/dist/components/skip-nav-link/index.d.ts +1 -4
- package/dist/components/skip-nav-link/index.js +1 -12
- package/dist/components/slider/index.d.ts +1 -2
- package/dist/components/slider/index.js +1 -8
- package/dist/components/slider/slider.d.ts +9 -0
- package/dist/components/slider/slider.js +19 -0
- package/dist/components/spacer/index.d.ts +1 -2
- package/dist/components/spacer/index.js +1 -8
- package/dist/components/span/index.d.ts +1 -0
- package/dist/components/span/index.js +1 -0
- package/dist/components/spinner/index.d.ts +2 -2
- package/dist/components/spinner/index.js +1 -8
- package/dist/components/spinner/spinner.d.ts +6 -0
- package/dist/components/spinner/spinner.js +11 -0
- package/dist/components/square/index.d.ts +1 -0
- package/dist/components/square/index.js +1 -0
- package/dist/components/stack/index.d.ts +1 -6
- package/dist/components/stack/index.js +1 -14
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -8
- package/dist/components/stat/stat.d.ts +17 -0
- package/dist/components/stat/stat.js +22 -0
- package/dist/components/status/index.d.ts +1 -2
- package/dist/components/status/index.js +1 -8
- package/dist/components/status/status.d.ts +14 -0
- package/dist/components/status/status.js +12 -0
- package/dist/components/steps/index.d.ts +2 -1
- package/dist/components/steps/index.js +2 -10
- package/dist/components/steps/steps.d.ts +24 -0
- package/dist/components/steps/steps.js +31 -0
- package/dist/components/sticky/index.d.ts +1 -0
- package/dist/components/sticky/index.js +1 -0
- package/dist/components/strong/index.d.ts +1 -0
- package/dist/components/strong/index.js +1 -0
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/switch/index.js +1 -8
- package/dist/components/switch/switch.d.ts +14 -0
- package/dist/components/switch/switch.js +8 -0
- package/dist/components/table/index.d.ts +1 -1
- package/dist/components/table/index.js +1 -8
- package/dist/components/tabs/index.d.ts +1 -4
- package/dist/components/tabs/index.js +1 -14
- package/dist/components/tag/index.d.ts +1 -2
- package/dist/components/tag/index.js +1 -8
- package/dist/components/tag/tag.d.ts +8 -0
- package/dist/components/tag/tag.js +8 -0
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +1 -0
- package/dist/components/textarea/index.d.ts +2 -2
- package/dist/components/textarea/index.js +1 -8
- package/dist/components/theme/index.d.ts +2 -0
- package/dist/components/theme/index.js +1 -0
- package/dist/components/theme/theme.d.ts +40 -0
- package/dist/components/theme/theme.js +16 -0
- package/dist/components/timeline/index.d.ts +1 -1
- package/dist/components/timeline/index.js +1 -8
- package/dist/components/toaster/index.d.ts +2 -3
- package/dist/components/toaster/index.js +1 -16
- package/dist/components/toaster/toaster.d.ts +7 -0
- package/dist/components/toaster/toaster.js +42 -0
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/index.js +1 -8
- 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 -2
- package/dist/components/toggle-tip/index.js +1 -14
- package/dist/components/toggle-tip/toggle-tip.d.ts +27 -0
- package/dist/components/toggle-tip/toggle-tip.js +9 -0
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/components/tooltip/index.js +1 -8
- package/dist/components/tooltip/tooltip.d.ts +10 -0
- package/dist/components/tooltip/tooltip.js +11 -0
- package/dist/components/tree-view/index.d.ts +1 -0
- package/dist/components/tree-view/index.js +1 -0
- package/dist/components/visually-hidden/index.d.ts +1 -1
- package/dist/components/visually-hidden/index.js +1 -8
- package/dist/components/wrap/index.d.ts +1 -2
- package/dist/components/wrap/index.js +1 -8
- package/dist/index.d.ts +142 -240
- package/dist/index.js +135 -544
- package/dist/preset.d.ts +1 -3
- package/dist/preset.js +1 -12
- 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 +13 -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 +93 -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/types.d.ts +7 -0
- package/dist/types.js +1 -0
- package/package.json +27 -31
- package/CHANGELOG.md +0 -4009
- package/dist/_tsup-dts-rollup.d.cts +0 -15170
- package/dist/_tsup-dts-rollup.d.ts +0 -15170
- package/dist/chunk-27OMFCPD.js +0 -8
- package/dist/chunk-2YXHXL6J.js +0 -10
- package/dist/chunk-3CKGT42F.js +0 -10
- package/dist/chunk-3E6URZ5P.js +0 -23
- package/dist/chunk-3RHNNKPC.js +0 -51
- package/dist/chunk-46OCNELO.js +0 -10
- package/dist/chunk-4H66FBQW.js +0 -46
- package/dist/chunk-4N4SHDPB.js +0 -10
- package/dist/chunk-52XM5VXJ.js +0 -9
- package/dist/chunk-5HVAMQYO.js +0 -8
- package/dist/chunk-5OUNZEYB.js +0 -22
- package/dist/chunk-5RWFHB7W.js +0 -67
- package/dist/chunk-5YNHX4C7.js +0 -16
- package/dist/chunk-5ZKEXMBN.js +0 -36
- package/dist/chunk-6WZK2RBQ.js +0 -12
- package/dist/chunk-6YZ76Q2W.js +0 -8
- package/dist/chunk-7DF4NQNZ.js +0 -8
- package/dist/chunk-7HAGRXKM.js +0 -8
- package/dist/chunk-7MCVXFWM.js +0 -33
- package/dist/chunk-7PWVK3NL.js +0 -8
- package/dist/chunk-AHG5XKEK.js +0 -24
- package/dist/chunk-BDS3APRG.js +0 -56
- package/dist/chunk-BLSGOJQ7.js +0 -18
- package/dist/chunk-BSE7ZUP5.js +0 -10
- package/dist/chunk-BVISYY3B.js +0 -101
- package/dist/chunk-C5KFNMWU.js +0 -8
- package/dist/chunk-CQD32UVJ.js +0 -8
- package/dist/chunk-CRFTMIQA.js +0 -36
- package/dist/chunk-DHFAFRZ4.js +0 -8
- package/dist/chunk-DJNPK2LM.js +0 -60
- package/dist/chunk-EJOXGWHK.js +0 -115
- package/dist/chunk-EWATHRZA.js +0 -8
- package/dist/chunk-EWCBYJA7.js +0 -8
- package/dist/chunk-EZZW6JOU.js +0 -10
- package/dist/chunk-FD2V4Y66.js +0 -8
- package/dist/chunk-FN7TU5F5.js +0 -44
- package/dist/chunk-FPRTN3I7.js +0 -9
- package/dist/chunk-GDDJYUWM.js +0 -12
- package/dist/chunk-GSWLAOIM.js +0 -24
- package/dist/chunk-HHTTORZ6.js +0 -8
- package/dist/chunk-HHUVJRPT.js +0 -62
- package/dist/chunk-HJX66GFT.js +0 -118
- package/dist/chunk-HQVBJT5Y.js +0 -8
- package/dist/chunk-HREBIPVW.js +0 -36
- package/dist/chunk-HRFQMDUK.js +0 -71
- package/dist/chunk-HZX4AGO5.js +0 -8
- package/dist/chunk-I2J6U5Z4.js +0 -71
- package/dist/chunk-J5UCKCIO.js +0 -16
- package/dist/chunk-JL4MHGRE.js +0 -43
- package/dist/chunk-JMYI6YXR.js +0 -1
- package/dist/chunk-JR5RLXCK.js +0 -8
- package/dist/chunk-K3MFCSAW.js +0 -8
- package/dist/chunk-K7BMQECB.js +0 -39
- package/dist/chunk-KB6NR2HZ.js +0 -44
- package/dist/chunk-KFDVVTMT.js +0 -36
- package/dist/chunk-KH7E5C3C.js +0 -54
- package/dist/chunk-KRJG7H4W.js +0 -53
- package/dist/chunk-KTLWEUNW.js +0 -1
- package/dist/chunk-L4JB7UFV.js +0 -97
- package/dist/chunk-LFOA3DZO.js +0 -12
- package/dist/chunk-LGLJ2QUW.js +0 -8
- package/dist/chunk-LIOV5MU4.js +0 -20
- package/dist/chunk-LKPWSC6O.js +0 -36
- package/dist/chunk-LU2H6GWC.js +0 -10
- package/dist/chunk-M3DJWM6D.js +0 -8
- package/dist/chunk-MK3OG2I4.js +0 -19
- package/dist/chunk-MZ2RY4NU.js +0 -34
- package/dist/chunk-NCNHDETB.js +0 -8
- package/dist/chunk-NGGISORT.js +0 -29
- package/dist/chunk-NKUBVRXY.js +0 -8896
- package/dist/chunk-NLMFEUVO.js +0 -41
- package/dist/chunk-NSFGACD7.js +0 -38
- package/dist/chunk-OJZPPAT6.js +0 -26
- package/dist/chunk-OME35FUG.js +0 -151
- package/dist/chunk-OQU4LWZW.js +0 -8
- package/dist/chunk-PEJYADAS.js +0 -8
- package/dist/chunk-PEVIP5UT.js +0 -8
- package/dist/chunk-PIQURQGB.js +0 -8
- package/dist/chunk-PONMXNY4.js +0 -8
- package/dist/chunk-PZWP36YA.js +0 -21
- package/dist/chunk-QAAKAKP7.js +0 -326
- package/dist/chunk-QLN2CBY6.js +0 -8
- package/dist/chunk-QNKQFCKJ.js +0 -16
- package/dist/chunk-R2J5USV6.js +0 -12
- package/dist/chunk-RFBD2ZNL.js +0 -40
- package/dist/chunk-RTMS5TJN.js +0 -10
- package/dist/chunk-RYKJOZ3B.js +0 -27
- package/dist/chunk-TEQVVR3W.js +0 -8
- package/dist/chunk-TGEP2YAT.js +0 -10
- package/dist/chunk-TH6YCBEG.js +0 -8
- package/dist/chunk-TXIFPX2A.js +0 -230
- package/dist/chunk-TYGGMKHU.js +0 -177
- package/dist/chunk-TYMVLD3B.js +0 -14
- package/dist/chunk-U23VDAWJ.js +0 -143
- package/dist/chunk-U3EPRSD3.js +0 -20
- package/dist/chunk-UAX5344Y.js +0 -10
- package/dist/chunk-UEXUCHDD.js +0 -34
- package/dist/chunk-UIP2CHMU.js +0 -8
- package/dist/chunk-UZUMIWPJ.js +0 -10
- package/dist/chunk-WJZED26X.js +0 -28
- package/dist/chunk-WZUKOJGI.js +0 -20
- package/dist/chunk-XD7U6L2E.js +0 -10
- package/dist/chunk-XX2OY7LK.js +0 -10
- package/dist/chunk-Y2S4O4UY.js +0 -10
- package/dist/chunk-YHQ5JGCC.js +0 -1
- package/dist/chunk-YMCOU2N5.js +0 -8
- package/dist/chunk-YTTZX7ZE.js +0 -45
- package/dist/chunk-YX44E5NF.js +0 -60
- package/dist/chunk-Z3SWPGPQ.js +0 -20
- package/dist/chunk-ZJ2VD224.js +0 -113
- package/dist/chunk-ZNQNBTWF.js +0 -100
- package/dist/chunk-ZULBHMWG.js +0 -35
- package/dist/chunk-ZUT5GZTD.js +0 -46
- package/dist/colors.cjs +0 -351
- package/dist/colors.d.cts +0 -1
- package/dist/components/accordion/index.cjs +0 -204
- package/dist/components/accordion/index.d.cts +0 -1
- package/dist/components/action-bar/index.cjs +0 -223
- package/dist/components/action-bar/index.d.cts +0 -1
- package/dist/components/alert/index.cjs +0 -233
- package/dist/components/alert/index.d.cts +0 -2
- package/dist/components/app-shell/index.cjs +0 -68
- package/dist/components/app-shell/index.d.cts +0 -2
- package/dist/components/aspect-ratio/index.cjs +0 -31
- package/dist/components/aspect-ratio/index.d.cts +0 -2
- package/dist/components/avatar/index.cjs +0 -70
- package/dist/components/avatar/index.d.cts +0 -3
- package/dist/components/back-button/index.cjs +0 -227
- package/dist/components/back-button/index.d.cts +0 -2
- package/dist/components/badge/index.cjs +0 -33
- package/dist/components/badge/index.d.cts +0 -3
- package/dist/components/bleed/index.cjs +0 -31
- package/dist/components/bleed/index.d.cts +0 -2
- package/dist/components/blockquote/index.cjs +0 -59
- package/dist/components/blockquote/index.d.cts +0 -2
- package/dist/components/box/index.cjs +0 -31
- package/dist/components/box/index.d.cts +0 -2
- package/dist/components/breadcrumb/index.cjs +0 -58
- package/dist/components/breadcrumb/index.d.cts +0 -1
- package/dist/components/button/index.cjs +0 -31
- package/dist/components/button/index.d.cts +0 -2
- package/dist/components/button-group/index.cjs +0 -31
- package/dist/components/button-group/index.d.cts +0 -2
- package/dist/components/card/index.cjs +0 -32
- package/dist/components/card/index.d.cts +0 -1
- package/dist/components/center/index.cjs +0 -31
- package/dist/components/center/index.d.cts +0 -2
- package/dist/components/checkbox/index.cjs +0 -45
- package/dist/components/checkbox/index.d.cts +0 -2
- package/dist/components/checkbox-card/index.cjs +0 -66
- package/dist/components/checkbox-card/index.d.cts +0 -2
- package/dist/components/checkmark/index.cjs +0 -31
- package/dist/components/checkmark/index.d.cts +0 -2
- package/dist/components/client-only/index.cjs +0 -31
- package/dist/components/client-only/index.d.cts +0 -2
- package/dist/components/clipboard/index.cjs +0 -234
- package/dist/components/clipboard/index.d.cts +0 -1
- package/dist/components/close-button/index.cjs +0 -193
- package/dist/components/close-button/index.d.cts +0 -2
- package/dist/components/code/index.cjs +0 -31
- package/dist/components/code/index.d.cts +0 -2
- package/dist/components/collapsible/index.cjs +0 -31
- package/dist/components/collapsible/index.d.cts +0 -1
- package/dist/components/color-picker/index.cjs +0 -31
- package/dist/components/color-picker/index.d.cts +0 -1
- package/dist/components/color-swatch/index.cjs +0 -35
- package/dist/components/color-swatch/index.d.cts +0 -6
- package/dist/components/command/index.cjs +0 -61
- package/dist/components/command/index.d.cts +0 -1
- package/dist/components/container/index.cjs +0 -31
- package/dist/components/container/index.d.cts +0 -2
- package/dist/components/data-list/index.cjs +0 -33
- package/dist/components/data-list/index.d.cts +0 -2
- package/dist/components/dialog/index.cjs +0 -246
- package/dist/components/dialog/index.d.cts +0 -1
- package/dist/components/drawer/index.cjs +0 -238
- package/dist/components/drawer/index.d.cts +0 -1
- package/dist/components/editable/index.cjs +0 -31
- package/dist/components/editable/index.d.cts +0 -1
- package/dist/components/empty-state/index.cjs +0 -50
- package/dist/components/empty-state/index.d.cts +0 -2
- package/dist/components/env/index.cjs +0 -33
- package/dist/components/env/index.d.cts +0 -5
- package/dist/components/env/index.d.ts +0 -5
- package/dist/components/env/index.js +0 -10
- package/dist/components/field/index.cjs +0 -35
- package/dist/components/field/index.d.cts +0 -3
- package/dist/components/fieldset/index.cjs +0 -33
- package/dist/components/fieldset/index.d.cts +0 -2
- package/dist/components/file-upload/index.cjs +0 -302
- package/dist/components/file-upload/index.d.cts +0 -2
- package/dist/components/flex/index.cjs +0 -31
- package/dist/components/flex/index.d.cts +0 -2
- package/dist/components/float/index.cjs +0 -31
- package/dist/components/float/index.d.cts +0 -2
- package/dist/components/focus-trap/index.cjs +0 -31
- package/dist/components/focus-trap/index.d.cts +0 -2
- package/dist/components/for/index.cjs +0 -31
- package/dist/components/for/index.d.cts +0 -2
- package/dist/components/format/index.cjs +0 -33
- package/dist/components/format/index.d.cts +0 -4
- package/dist/components/grid/index.cjs +0 -31
- package/dist/components/grid/index.d.cts +0 -2
- package/dist/components/grid-list/index.cjs +0 -68
- package/dist/components/grid-list/index.d.cts +0 -1
- package/dist/components/group/index.cjs +0 -31
- package/dist/components/group/index.d.cts +0 -2
- package/dist/components/heading/index.cjs +0 -31
- package/dist/components/heading/index.d.cts +0 -2
- package/dist/components/highlight/index.cjs +0 -31
- package/dist/components/highlight/index.d.cts +0 -2
- package/dist/components/hover-card/index.cjs +0 -66
- package/dist/components/hover-card/index.d.cts +0 -1
- package/dist/components/icon/index.cjs +0 -31
- package/dist/components/icon/index.d.cts +0 -2
- package/dist/components/icon-badge/index.cjs +0 -70
- package/dist/components/icon-badge/index.d.cts +0 -2
- package/dist/components/icon-button/index.cjs +0 -53
- package/dist/components/icon-button/index.d.cts +0 -2
- package/dist/components/icons/index.cjs +0 -193
- package/dist/components/icons/index.d.cts +0 -18
- package/dist/components/image/index.cjs +0 -31
- package/dist/components/image/index.d.cts +0 -2
- package/dist/components/info-tip/index.cjs +0 -312
- package/dist/components/info-tip/index.d.cts +0 -2
- package/dist/components/input/index.cjs +0 -39
- package/dist/components/input/index.d.cts +0 -9
- package/dist/components/kbd/index.cjs +0 -31
- package/dist/components/kbd/index.d.cts +0 -2
- package/dist/components/link/index.cjs +0 -71
- package/dist/components/link/index.d.cts +0 -2
- package/dist/components/list/index.cjs +0 -31
- package/dist/components/list/index.d.cts +0 -1
- package/dist/components/loader/index.cjs +0 -31
- package/dist/components/loader/index.d.cts +0 -1
- package/dist/components/loading-overlay/index.cjs +0 -87
- package/dist/components/loading-overlay/index.d.cts +0 -2
- package/dist/components/locale/index.cjs +0 -33
- package/dist/components/locale/index.d.cts +0 -3
- package/dist/components/mark/index.cjs +0 -31
- package/dist/components/mark/index.d.cts +0 -1
- package/dist/components/menu/index.cjs +0 -249
- package/dist/components/menu/index.d.cts +0 -1
- package/dist/components/native-select/index.cjs +0 -185
- package/dist/components/native-select/index.d.cts +0 -2
- package/dist/components/navbar/index.cjs +0 -108
- package/dist/components/navbar/index.d.cts +0 -1
- package/dist/components/number-input/index.cjs +0 -67
- package/dist/components/number-input/index.d.cts +0 -2
- package/dist/components/page/index.cjs +0 -196
- package/dist/components/page/index.d.cts +0 -2
- package/dist/components/pagination/index.cjs +0 -257
- package/dist/components/pagination/index.d.cts +0 -1
- package/dist/components/password-input/index.cjs +0 -284
- package/dist/components/password-input/index.d.cts +0 -2
- package/dist/components/persona/index.cjs +0 -247
- package/dist/components/persona/index.d.cts +0 -7
- package/dist/components/pin-input/index.cjs +0 -52
- package/dist/components/pin-input/index.d.cts +0 -2
- package/dist/components/popover/index.cjs +0 -255
- package/dist/components/popover/index.d.cts +0 -1
- package/dist/components/portal/index.cjs +0 -31
- package/dist/components/portal/index.d.cts +0 -2
- package/dist/components/presence/index.cjs +0 -31
- package/dist/components/presence/index.d.cts +0 -2
- package/dist/components/progress/index.cjs +0 -31
- package/dist/components/progress/index.d.cts +0 -1
- package/dist/components/progress-circle/index.cjs +0 -31
- package/dist/components/progress-circle/index.d.cts +0 -1
- package/dist/components/qr-code/index.cjs +0 -31
- package/dist/components/qr-code/index.d.cts +0 -1
- package/dist/components/radio/index.cjs +0 -46
- package/dist/components/radio/index.d.cts +0 -2
- package/dist/components/radio-card/index.cjs +0 -75
- package/dist/components/radio-card/index.d.cts +0 -1
- package/dist/components/radio-group/index.cjs +0 -31
- package/dist/components/radio-group/index.d.cts +0 -1
- package/dist/components/radiomark/index.cjs +0 -31
- package/dist/components/radiomark/index.d.cts +0 -2
- package/dist/components/rating-group/index.cjs +0 -31
- package/dist/components/rating-group/index.d.cts +0 -1
- package/dist/components/search-input/index.cjs +0 -273
- package/dist/components/search-input/index.d.cts +0 -2
- package/dist/components/segmented-control/index.cjs +0 -61
- package/dist/components/segmented-control/index.d.cts +0 -2
- package/dist/components/select/index.cjs +0 -285
- package/dist/components/select/index.d.cts +0 -1
- package/dist/components/separator/index.cjs +0 -31
- package/dist/components/separator/index.d.cts +0 -2
- package/dist/components/show/index.cjs +0 -31
- package/dist/components/show/index.d.cts +0 -2
- package/dist/components/sidebar/index.cjs +0 -168
- package/dist/components/sidebar/index.d.cts +0 -4
- package/dist/components/skeleton/index.cjs +0 -61
- package/dist/components/skeleton/index.d.cts +0 -6
- package/dist/components/skip-nav/index.cjs +0 -33
- package/dist/components/skip-nav/index.d.cts +0 -4
- package/dist/components/skip-nav-link/index.cjs +0 -33
- package/dist/components/skip-nav-link/index.d.cts +0 -4
- package/dist/components/slider/index.cjs +0 -61
- package/dist/components/slider/index.d.cts +0 -2
- package/dist/components/spacer/index.cjs +0 -31
- package/dist/components/spacer/index.d.cts +0 -2
- package/dist/components/spinner/index.cjs +0 -44
- package/dist/components/spinner/index.d.cts +0 -2
- package/dist/components/stack/index.cjs +0 -37
- package/dist/components/stack/index.d.cts +0 -6
- package/dist/components/stat/index.cjs +0 -83
- package/dist/components/stat/index.d.cts +0 -1
- package/dist/components/status/index.cjs +0 -45
- package/dist/components/status/index.d.cts +0 -2
- package/dist/components/steps/index.cjs +0 -221
- package/dist/components/steps/index.d.cts +0 -1
- package/dist/components/switch/index.cjs +0 -48
- package/dist/components/switch/index.d.cts +0 -2
- package/dist/components/table/index.cjs +0 -31
- package/dist/components/table/index.d.cts +0 -1
- package/dist/components/tabs/index.cjs +0 -37
- package/dist/components/tabs/index.d.cts +0 -4
- package/dist/components/tag/index.cjs +0 -53
- package/dist/components/tag/index.d.cts +0 -2
- package/dist/components/textarea/index.cjs +0 -31
- package/dist/components/textarea/index.d.cts +0 -2
- package/dist/components/timeline/index.cjs +0 -31
- package/dist/components/timeline/index.d.cts +0 -1
- package/dist/components/toaster/index.cjs +0 -262
- package/dist/components/toaster/index.d.cts +0 -3
- package/dist/components/toggle/index.cjs +0 -31
- package/dist/components/toggle/index.d.cts +0 -1
- package/dist/components/toggle-tip/index.cjs +0 -302
- package/dist/components/toggle-tip/index.d.cts +0 -2
- package/dist/components/tooltip/index.cjs +0 -58
- package/dist/components/tooltip/index.d.cts +0 -2
- package/dist/components/typography/index.cjs +0 -37
- package/dist/components/typography/index.d.cts +0 -8
- package/dist/components/typography/index.d.ts +0 -8
- package/dist/components/typography/index.js +0 -14
- package/dist/components/visually-hidden/index.cjs +0 -31
- package/dist/components/visually-hidden/index.d.cts +0 -1
- package/dist/components/wrap/index.cjs +0 -31
- package/dist/components/wrap/index.d.cts +0 -2
- package/dist/index.cjs +0 -12233
- package/dist/index.d.cts +0 -240
- package/dist/preset.cjs +0 -9233
- package/dist/preset.d.cts +0 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type HTMLChakraProps, type SlotRecipeProps } from '@chakra-ui/react';
|
|
3
|
+
interface PageOptions {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
skeleton?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
interface PageRootProps extends PageOptions, HTMLChakraProps<'main'>, SlotRecipeProps<'suiPage'> {
|
|
9
|
+
}
|
|
10
|
+
declare const PageRoot: React.ForwardRefExoticComponent<PageRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
interface PageHeaderProps extends Omit<HTMLChakraProps<'header'>, 'title' | 'children'> {
|
|
12
|
+
/**
|
|
13
|
+
* Page header navigation
|
|
14
|
+
* Typically breadcrumbs or backbutton.
|
|
15
|
+
*/
|
|
16
|
+
nav?: React.ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Page header title
|
|
19
|
+
*/
|
|
20
|
+
title?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Page header description
|
|
23
|
+
*/
|
|
24
|
+
description?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Page header actions, typically a toolbar
|
|
27
|
+
*/
|
|
28
|
+
actions?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Page header footer
|
|
31
|
+
*/
|
|
32
|
+
footer?: React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
declare const PageHeaderSection: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "zIndex" | "opacity" | "cursor" | "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationRange" | "animationRangeStart" | "animationRangeEnd" | "animationTimeline" | "transformOrigin" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "color" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | "css" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
+
declare const PageTitle: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref">>, "zIndex" | "opacity" | "cursor" | "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationRange" | "animationRangeStart" | "animationRangeEnd" | "animationTimeline" | "transformOrigin" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "color" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | "css" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
+
declare const PageDescription: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "zIndex" | "opacity" | "cursor" | "page" | "container" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationTimingFunction" | "animationRange" | "animationRangeStart" | "animationRangeEnd" | "animationTimeline" | "transformOrigin" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "color" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "content" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "height" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformStyle" | "transition" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "translate" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "width" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | "css" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
interface PageBodyProps extends HTMLChakraProps<'div'> {
|
|
39
|
+
}
|
|
40
|
+
declare const PageBody: React.ForwardRefExoticComponent<PageBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
41
|
+
export { PageRoot as Root, PageBody as Body, PageHeader as Header, PageHeaderSection as HeaderSection, PageTitle as Title, PageDescription as Description, };
|
|
42
|
+
export type { PageRootProps as RootProps, PageBodyProps as BodyProps, PageHeaderProps as HeaderProps, };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
|
+
import { chakra, } from '@chakra-ui/react';
|
|
5
|
+
import { LoadingOverlay } from "../loading-overlay/index.js";
|
|
6
|
+
import { PageProvider, useClassNames, usePageContext, usePageStyles, withContext, withProvider, } from "./page.context.js";
|
|
7
|
+
const PageRoot = withProvider(forwardRef(function PageRoot(props, ref) {
|
|
8
|
+
const { loading, skeleton, children, ...containerProps } = props;
|
|
9
|
+
const context = {
|
|
10
|
+
loading,
|
|
11
|
+
skeleton,
|
|
12
|
+
};
|
|
13
|
+
return (_jsx(PageProvider, { value: context, children: _jsx(chakra.main, { ref: ref, ...containerProps, children: children }) }));
|
|
14
|
+
}), 'root');
|
|
15
|
+
const PageHeader = withContext(forwardRef(function PageHeader(props, ref) {
|
|
16
|
+
const { nav, title, description, actions, footer, css, ...rest } = props;
|
|
17
|
+
const styles = usePageStyles();
|
|
18
|
+
const classNames = useClassNames();
|
|
19
|
+
let heading;
|
|
20
|
+
if (title || description) {
|
|
21
|
+
heading = (_jsxs(chakra.div, { gridArea: "heading", className: classNames.heading, css: styles.heading, children: [typeof title === 'string' ? _jsx(PageTitle, { children: title }) : title, typeof description === 'string' ? (_jsx(PageDescription, { children: description })) : (description)] }));
|
|
22
|
+
}
|
|
23
|
+
return (_jsxs(chakra.header, { ref: ref, css: css, ...rest, className: props.className, children: [React.isValidElement(nav)
|
|
24
|
+
? React.cloneElement(nav, {
|
|
25
|
+
gridArea: 'nav',
|
|
26
|
+
})
|
|
27
|
+
: null, heading, React.isValidElement(actions)
|
|
28
|
+
? React.cloneElement(actions, {
|
|
29
|
+
gridArea: 'actions',
|
|
30
|
+
})
|
|
31
|
+
: null, React.isValidElement(footer)
|
|
32
|
+
? React.cloneElement(footer, {
|
|
33
|
+
gridArea: 'footer',
|
|
34
|
+
})
|
|
35
|
+
: null] }));
|
|
36
|
+
}), 'header');
|
|
37
|
+
const PageHeaderSection = withContext('div', 'section');
|
|
38
|
+
const PageTitle = withContext('h2', 'title');
|
|
39
|
+
const PageDescription = withContext('div', 'description');
|
|
40
|
+
const PageBody = withContext(forwardRef((props, ref) => {
|
|
41
|
+
const { children, ...rest } = props;
|
|
42
|
+
const { loading, skeleton } = usePageContext();
|
|
43
|
+
let content = children;
|
|
44
|
+
if (loading) {
|
|
45
|
+
content = skeleton || (_jsx(LoadingOverlay.Root, { children: _jsx(LoadingOverlay.Spinner, {}) }));
|
|
46
|
+
}
|
|
47
|
+
return (_jsx(chakra.div, { ref: ref, ...rest, children: content }));
|
|
48
|
+
}), 'body');
|
|
49
|
+
PageBody.displayName = 'PageBody';
|
|
50
|
+
export { PageRoot as Root, PageBody as Body, PageHeader as Header, PageHeaderSection as HeaderSection, PageTitle as Title, PageDescription as Description, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * as Pagination from './pagination.tsx';
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
pagination_exports
|
|
4
|
-
} from "../../chunk-L4JB7UFV.js";
|
|
5
|
-
import "../../chunk-OJZPPAT6.js";
|
|
6
|
-
import "../../chunk-5HVAMQYO.js";
|
|
7
|
-
import "../../chunk-OME35FUG.js";
|
|
8
|
-
import "../../chunk-RTMS5TJN.js";
|
|
9
|
-
export {
|
|
10
|
-
pagination_exports as Pagination
|
|
11
|
-
};
|
|
1
|
+
export * as Pagination from "./pagination.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Pagination as ChakraPagination } from '@chakra-ui/react/pagination';
|
|
2
|
+
import { type TextProps } from '@chakra-ui/react/text';
|
|
3
|
+
import { type ButtonProps } from '../button/index.ts';
|
|
4
|
+
type PaginationVariant = 'outline' | 'solid' | 'subtle';
|
|
5
|
+
export interface RootProps extends Omit<ChakraPagination.RootProps, 'type'> {
|
|
6
|
+
size?: ButtonProps['size'];
|
|
7
|
+
variant?: PaginationVariant;
|
|
8
|
+
}
|
|
9
|
+
export declare const Root: import("react").ForwardRefExoticComponent<RootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
export declare const Ellipsis: import("react").ForwardRefExoticComponent<ChakraPagination.EllipsisProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
export declare const Item: import("react").ForwardRefExoticComponent<ChakraPagination.ItemProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
export declare const PrevButton: import("react").ForwardRefExoticComponent<ChakraPagination.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export declare const NextButton: import("react").ForwardRefExoticComponent<ChakraPagination.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
export declare const Items: (props: React.HTMLAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export interface PageTextProps extends TextProps {
|
|
16
|
+
format?: 'short' | 'compact' | 'long';
|
|
17
|
+
}
|
|
18
|
+
export declare const PageText: import("react").ForwardRefExoticComponent<PageTextProps & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
19
|
+
export declare const PrevTrigger: import("react").ForwardRefExoticComponent<ChakraPagination.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export declare const NextTrigger: import("react").ForwardRefExoticComponent<ChakraPagination.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
21
|
+
export declare const Context: (props: import("@ark-ui/react").PaginationContextProps) => import("react").ReactNode;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useMemo } from 'react';
|
|
4
|
+
import { Pagination as ChakraPagination, usePaginationContext, } from '@chakra-ui/react/pagination';
|
|
5
|
+
import { Text } from '@chakra-ui/react/text';
|
|
6
|
+
import { createContext } from '@saas-ui/core/utils';
|
|
7
|
+
import { Button } from "../button/index.js";
|
|
8
|
+
import { IconButton } from "../icon-button/index.js";
|
|
9
|
+
import { ChevronLeftIcon, ChevronRightIcon, EllipsisIcon, } from "../icons/icons.js";
|
|
10
|
+
const [RootPropsProvider, useRootProps] = createContext({
|
|
11
|
+
name: 'RootPropsProvider',
|
|
12
|
+
});
|
|
13
|
+
const variantMap = {
|
|
14
|
+
outline: { default: 'ghost', ellipsis: 'plain', current: 'outline' },
|
|
15
|
+
solid: { default: 'outline', ellipsis: 'outline', current: 'solid' },
|
|
16
|
+
subtle: { default: 'ghost', ellipsis: 'plain', current: 'subtle' },
|
|
17
|
+
};
|
|
18
|
+
export const Root = forwardRef(function PaginationRoot(props, ref) {
|
|
19
|
+
const { size = 'sm', variant = 'outline', ...rest } = props;
|
|
20
|
+
return (_jsx(RootPropsProvider, { value: { size, variantMap: variantMap[variant] }, children: _jsx(ChakraPagination.Root, { ref: ref, type: "button", ...rest }) }));
|
|
21
|
+
});
|
|
22
|
+
export const Ellipsis = forwardRef(function PaginationEllipsis(props, ref) {
|
|
23
|
+
const { size, variantMap } = useRootProps();
|
|
24
|
+
return (_jsx(ChakraPagination.Ellipsis, { ref: ref, ...props, asChild: true, children: _jsx(Button, { as: "span", variant: variantMap.ellipsis, size: size, children: props.children ?? _jsx(EllipsisIcon, {}) }) }));
|
|
25
|
+
});
|
|
26
|
+
export const Item = forwardRef(function PaginationItem(props, ref) {
|
|
27
|
+
const { page } = usePaginationContext();
|
|
28
|
+
const { size, variantMap } = useRootProps();
|
|
29
|
+
const current = page === props.value;
|
|
30
|
+
const variant = current ? variantMap.current : variantMap.default;
|
|
31
|
+
return (_jsx(ChakraPagination.Item, { ref: ref, ...props, asChild: true, children: _jsx(Button, { variant: variant, size: size, children: props.value }) }));
|
|
32
|
+
});
|
|
33
|
+
export const PrevButton = forwardRef(function PaginationPrevTrigger(props, ref) {
|
|
34
|
+
const { size, variantMap } = useRootProps();
|
|
35
|
+
return (_jsx(ChakraPagination.PrevTrigger, { ref: ref, asChild: true, ...props, children: _jsx(IconButton, { variant: variantMap.default, size: size, children: props.children ?? _jsx(ChevronLeftIcon, {}) }) }));
|
|
36
|
+
});
|
|
37
|
+
export const NextButton = forwardRef(function PaginationNextTrigger(props, ref) {
|
|
38
|
+
const { size, variantMap } = useRootProps();
|
|
39
|
+
return (_jsx(ChakraPagination.NextTrigger, { ref: ref, asChild: true, ...props, children: _jsx(IconButton, { variant: variantMap.default, size: size, children: props.children ?? _jsx(ChevronRightIcon, {}) }) }));
|
|
40
|
+
});
|
|
41
|
+
export const Items = (props) => {
|
|
42
|
+
return (_jsx(ChakraPagination.Context, { children: ({ pages }) => pages.map((page, index) => {
|
|
43
|
+
return page.type === 'ellipsis' ? (_jsx(Ellipsis, { index: index, ...props }, index)) : (_jsx(Item, { type: "page", value: page.value, ...props }, index));
|
|
44
|
+
}) }));
|
|
45
|
+
};
|
|
46
|
+
export const PageText = forwardRef(function PaginationPageText(props, ref) {
|
|
47
|
+
const { format = 'compact', ...rest } = props;
|
|
48
|
+
const { page, pages, pageRange, count } = usePaginationContext();
|
|
49
|
+
const content = useMemo(() => {
|
|
50
|
+
if (format === 'short')
|
|
51
|
+
return `${page} / ${pages.length}`;
|
|
52
|
+
if (format === 'compact')
|
|
53
|
+
return `${page} of ${pages.length}`;
|
|
54
|
+
return `${pageRange.start + 1} - ${pageRange.end} of ${count}`;
|
|
55
|
+
}, [format, page, pages.length, pageRange, count]);
|
|
56
|
+
return (_jsx(Text, { fontWeight: "medium", ref: ref, ...rest, children: content }));
|
|
57
|
+
});
|
|
58
|
+
export const PrevTrigger = ChakraPagination.PrevTrigger;
|
|
59
|
+
export const NextTrigger = ChakraPagination.NextTrigger;
|
|
60
|
+
export const Context = ChakraPagination.Context;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { PasswordInput } from './password-input.tsx';
|
|
2
|
+
export type { PasswordInputProps } from './password-input.tsx';
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
PasswordInput
|
|
4
|
-
} from "../../chunk-TXIFPX2A.js";
|
|
5
|
-
import "../../chunk-BLSGOJQ7.js";
|
|
6
|
-
import "../../chunk-OJZPPAT6.js";
|
|
7
|
-
import "../../chunk-5HVAMQYO.js";
|
|
8
|
-
import "../../chunk-RTMS5TJN.js";
|
|
9
|
-
export {
|
|
10
|
-
PasswordInput
|
|
11
|
-
};
|
|
1
|
+
export { PasswordInput } from "./password-input.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type InputGroupProps } from '../input-group/index.ts';
|
|
2
|
+
import { type InputProps } from '../input/index.ts';
|
|
3
|
+
export interface PasswordInputProps extends InputProps, PasswordVisibilityProps {
|
|
4
|
+
rootProps?: InputGroupProps;
|
|
5
|
+
}
|
|
6
|
+
export declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export interface PasswordVisibilityProps {
|
|
8
|
+
defaultVisible?: boolean;
|
|
9
|
+
visible?: boolean;
|
|
10
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
11
|
+
visibilityIcon?: {
|
|
12
|
+
on: React.ReactNode;
|
|
13
|
+
off: React.ReactNode;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { forwardRef, useRef } from 'react';
|
|
4
|
+
import { mergeRefs, useControllableState } from '@chakra-ui/react';
|
|
5
|
+
import { IconButton } from "../icon-button/index.js";
|
|
6
|
+
import { EyeIcon, EyeOffIcon } from "../icons/icons.js";
|
|
7
|
+
import { InputGroup } from "../input-group/index.js";
|
|
8
|
+
import { Input } from "../input/index.js";
|
|
9
|
+
export const PasswordInput = forwardRef(function PasswordInput(props, ref) {
|
|
10
|
+
const { rootProps, defaultVisible, visible: visibleProp, onVisibleChange, visibilityIcon = { on: _jsx(EyeIcon, {}), off: _jsx(EyeOffIcon, {}) }, ...rest } = props;
|
|
11
|
+
const [visible, setVisible] = useControllableState({
|
|
12
|
+
value: visibleProp,
|
|
13
|
+
defaultValue: defaultVisible || false,
|
|
14
|
+
onChange: onVisibleChange,
|
|
15
|
+
});
|
|
16
|
+
const inputRef = useRef(null);
|
|
17
|
+
return (_jsx(InputGroup, { width: "full", endElement: _jsx(VisibilityTrigger, { disabled: rest.disabled, onPointerDown: (e) => {
|
|
18
|
+
if (rest.disabled)
|
|
19
|
+
return;
|
|
20
|
+
if (e.button !== 0)
|
|
21
|
+
return;
|
|
22
|
+
e.preventDefault();
|
|
23
|
+
setVisible(!visible);
|
|
24
|
+
}, children: visible ? visibilityIcon.off : visibilityIcon.on }), ...rootProps, children: _jsx(Input, { ...rest, ref: mergeRefs(ref, inputRef), type: visible ? 'text' : 'password' }) }));
|
|
25
|
+
});
|
|
26
|
+
const VisibilityTrigger = forwardRef(function VisibilityTrigger(props, ref) {
|
|
27
|
+
return (_jsx(IconButton, { tabIndex: -1, ref: ref, me: "-2", aspectRatio: "square", size: "sm", variant: "ghost", colorPalette: "gray", height: "calc(100% - {spacing.2})", "aria-label": "Toggle password visibility", ...props }));
|
|
28
|
+
});
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export { PersonaAvatarProps_alias_1 as PersonaAvatarProps } from '../../_tsup-dts-rollup.js';
|
|
5
|
-
export { defaultPersonaPresenceOptions_alias_1 as defaultPersonaPresenceOptions } from '../../_tsup-dts-rollup.js';
|
|
6
|
-
export { PersonaPresence_alias_1 as PersonaPresence } from '../../_tsup-dts-rollup.js';
|
|
7
|
-
export { PersonaPresenceConfig_alias_1 as PersonaPresenceConfig } from '../../_tsup-dts-rollup.js';
|
|
1
|
+
export * as Persona from './persona.tsx';
|
|
2
|
+
export { defaultPersonaPresenceOptions } from './presence.ts';
|
|
3
|
+
export type { PersonaPresence, PersonaPresenceConfig } from './presence.ts';
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Persona,
|
|
4
|
-
PersonaAvatar,
|
|
5
|
-
defaultPersonaPresenceOptions
|
|
6
|
-
} from "../../chunk-TYGGMKHU.js";
|
|
7
|
-
import "../../chunk-FN7TU5F5.js";
|
|
8
|
-
import "../../chunk-RTMS5TJN.js";
|
|
9
|
-
export {
|
|
10
|
-
Persona,
|
|
11
|
-
PersonaAvatar,
|
|
12
|
-
defaultPersonaPresenceOptions
|
|
13
|
-
};
|
|
1
|
+
export * as Persona from "./persona.js";
|
|
2
|
+
export { defaultPersonaPresenceOptions } from "./presence.js";
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PersonaVariantProps } from '@saas-ui/chakra-preset/slot-recipes/persona';
|
|
3
|
+
import * as PersonaPrimitive from './persona.tsx';
|
|
4
|
+
import type { PersonaPresence } from './presence.ts';
|
|
5
|
+
interface PersonaOptions {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the person in the avatar.
|
|
8
|
+
*
|
|
9
|
+
* - if `src` has loaded, the name will be used as the `alt` attribute of the `img`
|
|
10
|
+
* - If `src` is not loaded, the name will be used to create the initials
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The presence status of the person
|
|
15
|
+
*
|
|
16
|
+
* If set will add an AvatarBadge with color configured in `Presence`
|
|
17
|
+
* Default presence options:
|
|
18
|
+
* - online
|
|
19
|
+
* - offline
|
|
20
|
+
* - busy
|
|
21
|
+
* - dnd
|
|
22
|
+
* - away
|
|
23
|
+
*/
|
|
24
|
+
presence?: PersonaPresence;
|
|
25
|
+
/**
|
|
26
|
+
* The icon shown in the AvatarBadge
|
|
27
|
+
*/
|
|
28
|
+
presenceIcon?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Indicates that a person is out of office. Changes the presence badge style.
|
|
31
|
+
*/
|
|
32
|
+
isOutOfOffice?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Primary label of the persona, defaults to the name
|
|
35
|
+
*/
|
|
36
|
+
label?: React.ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Secondary label, usually the role of the person
|
|
39
|
+
* Only visible from md size and up.
|
|
40
|
+
*/
|
|
41
|
+
secondaryLabel?: React.ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Tertiary label, usually the status of the person.
|
|
44
|
+
* Only visible from lg size and up.
|
|
45
|
+
*/
|
|
46
|
+
tertiaryLabel?: React.ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Hide the persona details next to the avatar.
|
|
49
|
+
*/
|
|
50
|
+
hideDetails?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface PersonaProps extends PersonaOptions, Omit<PersonaPrimitive.AvatarProps, 'size'>, Omit<PersonaPrimitive.RootProps, 'presence'>, PersonaVariantProps {
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The wrapper component that handles default composition.
|
|
56
|
+
*
|
|
57
|
+
* @see Docs https://saas-ui.dev/docs/components/data-display/persona
|
|
58
|
+
*/
|
|
59
|
+
export declare const Persona: React.ForwardRefExoticComponent<PersonaProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
+
export interface PersonaAvatarProps extends Omit<PersonaProps, 'hideDetails' | 'label' | 'secondaryLabel' | 'tertiaryLabel' | 'children'> {
|
|
61
|
+
}
|
|
62
|
+
export declare const PersonaAvatar: React.ForwardRefExoticComponent<PersonaAvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
63
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as PersonaPrimitive from "./persona.js";
|
|
5
|
+
/**
|
|
6
|
+
* The wrapper component that handles default composition.
|
|
7
|
+
*
|
|
8
|
+
* @see Docs https://saas-ui.dev/docs/components/data-display/persona
|
|
9
|
+
*/
|
|
10
|
+
export const Persona = React.forwardRef((props, ref) => {
|
|
11
|
+
const { name, presence, presenceIcon, isOutOfOffice, label, secondaryLabel, tertiaryLabel, size, hideDetails, children,
|
|
12
|
+
/** Avatar props */
|
|
13
|
+
getInitials, icon, loading, onError, src, srcSet, fallback, ...rest } = props;
|
|
14
|
+
return (_jsxs(PersonaPrimitive.Root, { ref: ref, outOfOffice: isOutOfOffice, presence: presence, size: size, ...rest, children: [_jsx(PersonaPrimitive.Avatar, { name: name, size: size, getInitials: getInitials, icon: icon, loading: loading, onError: onError, src: src, srcSet: srcSet, fallback: fallback, children: presence ? (_jsx(PersonaPrimitive.PresenceBadge, { children: presenceIcon })) : null }), !hideDetails && (_jsxs(PersonaPrimitive.Details, { children: [_jsx(PersonaPrimitive.Label, { children: label || name }), secondaryLabel && (_jsx(PersonaPrimitive.SecondaryLabel, { children: secondaryLabel })), tertiaryLabel && (_jsx(PersonaPrimitive.TertiaryLabel, { children: tertiaryLabel })), children] }))] }));
|
|
15
|
+
});
|
|
16
|
+
Persona.displayName = 'Persona';
|
|
17
|
+
export const PersonaAvatar = React.forwardRef(function PersonaAvatar(props, ref) {
|
|
18
|
+
return _jsx(Persona, { ref: ref, ...props, hideDetails: true });
|
|
19
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const usePersonaStyles: () => Record<string, import("@chakra-ui/react").SystemStyleObject>, useRecipeResult: (props: any) => {
|
|
2
|
+
styles: Record<string, import("@chakra-ui/react").SystemStyleObject>;
|
|
3
|
+
classNames: Record<string, string>;
|
|
4
|
+
props: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
[x: number]: any;
|
|
7
|
+
[x: symbol]: any;
|
|
8
|
+
};
|
|
9
|
+
}, usePropsContext: () => Record<string, any>, withProvider: <T, P>(Component: React.ElementType<any>, slot: string, options?: import("@chakra-ui/react").WithProviderOptions<P> | undefined) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P> & import("react").RefAttributes<T>>, withContext: <T, P_1>(Component: React.ElementType<any>, slot?: string | undefined, options?: import("@chakra-ui/react").WithContextOptions<P_1> | undefined) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<P_1> & import("react").RefAttributes<T>>, ClassNamesProvider: import("react").Provider<Record<string, string>>, PropsProvider: import("react").Provider<Record<string, any>>, StylesProvider: import("react").Provider<Record<string, import("@chakra-ui/react").SystemStyleObject>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createSlotRecipeContext } from '@chakra-ui/react';
|
|
2
|
+
export const { useStyles: usePersonaStyles, useRecipeResult, usePropsContext, withProvider, withContext, ClassNamesProvider, PropsProvider, StylesProvider, } = createSlotRecipeContext({
|
|
3
|
+
key: 'suiPersona',
|
|
4
|
+
});
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HTMLChakraProps, type ImageProps, type SlotRecipeProps } from '@chakra-ui/react';
|
|
3
|
+
import type { PersonaVariantProps } from '@saas-ui/chakra-preset/slot-recipes/persona';
|
|
4
|
+
import { type AvatarProps } from '../avatar/avatar.tsx';
|
|
5
|
+
import type { PersonaPresence } from './presence.ts';
|
|
6
|
+
interface PersonaRootProps extends HTMLChakraProps<'div'>, SlotRecipeProps<'suiPersona'>, PersonaVariantProps {
|
|
7
|
+
/**
|
|
8
|
+
* Indicates that a person is out of office. Changes the presence badge style.
|
|
9
|
+
*/
|
|
10
|
+
outOfOffice?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The presence status of the person
|
|
13
|
+
*/
|
|
14
|
+
presence?: PersonaPresence;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* The root component that provides context and styles.
|
|
18
|
+
*
|
|
19
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
20
|
+
*/
|
|
21
|
+
declare const PersonaRoot: React.ForwardRefExoticComponent<PersonaRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
interface PersonaAvatarOptions {
|
|
23
|
+
/**
|
|
24
|
+
* The name of the person in the avatar.
|
|
25
|
+
*
|
|
26
|
+
* - if `src` has loaded, the name will be used as the `alt` attribute of the `img`
|
|
27
|
+
* - If `src` is not loaded, the name will be used to create the initials
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
interface PersonaAvatarProps extends PersonaAvatarOptions, AvatarProps {
|
|
32
|
+
src?: string;
|
|
33
|
+
srcSet?: string;
|
|
34
|
+
loading?: ImageProps['loading'];
|
|
35
|
+
icon?: React.ReactElement;
|
|
36
|
+
fallback?: React.ReactNode;
|
|
37
|
+
getInitials?: (name?: string | null) => string | null;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* An avatar with optional status badge.
|
|
41
|
+
*
|
|
42
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
43
|
+
*/
|
|
44
|
+
declare const PersonaAvatar: React.ForwardRefExoticComponent<PersonaAvatarProps & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
interface PersonaPresenceBadgeProps extends HTMLChakraProps<'span'> {
|
|
46
|
+
}
|
|
47
|
+
declare const PersonaPresenceBadge: React.ForwardRefExoticComponent<PersonaPresenceBadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
interface PersonaDetailsProps extends HTMLChakraProps<'div'> {
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Wrapper component for the labels.
|
|
52
|
+
*
|
|
53
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
54
|
+
*/
|
|
55
|
+
declare const PersonaDetails: React.ForwardRefExoticComponent<PersonaDetailsProps & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
+
interface PersonaLabelProps extends HTMLChakraProps<'span'> {
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* The main label, usually a name.
|
|
60
|
+
*
|
|
61
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
62
|
+
*/
|
|
63
|
+
declare const PersonaLabel: React.ForwardRefExoticComponent<PersonaLabelProps & React.RefAttributes<HTMLSpanElement>>;
|
|
64
|
+
/**
|
|
65
|
+
* The secondary label, usually the role of a person.
|
|
66
|
+
*
|
|
67
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
68
|
+
*/
|
|
69
|
+
declare const PersonaSecondaryLabel: React.ForwardRefExoticComponent<PersonaLabelProps & React.RefAttributes<HTMLSpanElement>>;
|
|
70
|
+
/**
|
|
71
|
+
* The tertiary label, typically a status message.
|
|
72
|
+
*
|
|
73
|
+
* @see Docs https://saas-ui.dev/docs/components/persona
|
|
74
|
+
*/
|
|
75
|
+
declare const PersonaTertiaryLabel: React.ForwardRefExoticComponent<PersonaLabelProps & React.RefAttributes<HTMLSpanElement>>;
|
|
76
|
+
export { PersonaRoot as Root, PersonaAvatar as Avatar, PersonaPresenceBadge as PresenceBadge, PersonaDetails as Details, PersonaLabel as Label, PersonaSecondaryLabel as SecondaryLabel, PersonaTertiaryLabel as TertiaryLabel, };
|
|
77
|
+
export type { PersonaRootProps as RootProps, PersonaAvatarProps as AvatarProps, PersonaPresenceBadgeProps as PresenceBadgeProps, PersonaDetailsProps as DetailsProps, PersonaLabelProps as LabelProps, };
|