@cascivo/react 0.14.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/accordion/accordion.css +1 -1
- package/dist/accordion/accordion.js +81 -65
- package/dist/accordion/accordion.module.js +6 -9
- package/dist/action-sheet/action-sheet.js +11 -11
- package/dist/action-sheet/action-sheet.module.js +0 -2
- package/dist/alert/alert.module.js +0 -2
- package/dist/alert-dialog/alert-dialog.css +1 -1
- package/dist/alert-dialog/alert-dialog.js +6 -6
- package/dist/alert-dialog/alert-dialog.module.js +7 -9
- package/dist/app-shell/app-shell.js +10 -10
- package/dist/app-shell/app-shell.module.js +0 -2
- package/dist/aspect-ratio/aspect-ratio.js +1 -3
- package/dist/aspect-ratio/aspect-ratio.module.js +0 -2
- package/dist/avatar/avatar.module.js +0 -2
- package/dist/avatar-group/avatar-group.js +1 -3
- package/dist/avatar-group/avatar-group.module.js +0 -2
- package/dist/badge/badge.js +1 -3
- package/dist/badge/badge.module.js +0 -2
- package/dist/blockquote/blockquote.js +1 -3
- package/dist/blockquote/blockquote.module.js +0 -2
- package/dist/bottom-sheet/bottom-sheet.js +12 -12
- package/dist/bottom-sheet/bottom-sheet.module.js +0 -2
- package/dist/breadcrumb/breadcrumb.module.js +0 -2
- package/dist/button/button.js +1 -3
- package/dist/button/button.module.js +0 -2
- package/dist/button-group/button-group.js +6 -6
- package/dist/button-group/button-group.module.js +0 -2
- package/dist/calendar/calendar.module.js +0 -2
- package/dist/card/card.js +1 -3
- package/dist/card/card.module.js +0 -2
- package/dist/carousel/carousel.js +9 -9
- package/dist/carousel/carousel.module.js +0 -2
- package/dist/chat-bubble/chat-bubble.js +0 -2
- package/dist/chat-bubble/chat-bubble.module.js +0 -2
- package/dist/checkbox/checkbox.js +10 -10
- package/dist/checkbox/checkbox.module.js +0 -2
- package/dist/checkbox-card/checkbox-card.js +5 -5
- package/dist/checkbox-card/checkbox-card.module.js +0 -2
- package/dist/code/code.js +1 -3
- package/dist/code/code.module.js +0 -2
- package/dist/code-snippet/code-snippet.module.js +0 -2
- package/dist/code-snippet/highlight.js +0 -2
- package/dist/collapsible/collapsible.css +1 -1
- package/dist/collapsible/collapsible.js +36 -31
- package/dist/collapsible/collapsible.module.js +3 -6
- package/dist/color-picker/color-picker.js +7 -7
- package/dist/color-picker/color-picker.module.js +0 -2
- package/dist/combobox/combobox.css +1 -1
- package/dist/combobox/combobox.js +11 -11
- package/dist/combobox/combobox.module.js +15 -17
- package/dist/command-menu/command-menu.js +113 -113
- package/dist/command-menu/command-menu.module.js +0 -2
- package/dist/comparison/comparison.js +5 -5
- package/dist/comparison/comparison.module.js +0 -2
- package/dist/contained-list/contained-list.module.js +0 -2
- package/dist/context-menu/context-menu.js +6 -6
- package/dist/context-menu/context-menu.module.js +0 -2
- package/dist/copy-button/copy-button.js +7 -7
- package/dist/copy-button/copy-button.module.js +0 -2
- package/dist/data-list/data-list.js +1 -3
- package/dist/data-list/data-list.module.js +0 -2
- package/dist/data-table/data-table.css +1 -1
- package/dist/data-table/data-table.js +164 -164
- package/dist/data-table/data-table.module.js +29 -31
- package/dist/date-picker/date-picker.css +1 -1
- package/dist/date-picker/date-picker.js +24 -24
- package/dist/date-picker/date-picker.module.js +19 -21
- package/dist/date-range-picker/date-range-picker.js +30 -30
- package/dist/date-range-picker/date-range-picker.module.js +0 -2
- package/dist/dock/dock.module.js +0 -2
- package/dist/drawer/drawer.js +11 -11
- package/dist/drawer/drawer.module.js +0 -2
- package/dist/dropdown/dropdown.js +14 -14
- package/dist/dropdown/dropdown.module.js +0 -2
- package/dist/editable/editable.css +1 -1
- package/dist/editable/editable.js +8 -8
- package/dist/editable/editable.module.js +7 -9
- package/dist/empty-state/empty-state.js +1 -3
- package/dist/empty-state/empty-state.module.js +0 -2
- package/dist/fab/fab.js +12 -12
- package/dist/fab/fab.module.js +0 -2
- package/dist/field/field.js +1 -3
- package/dist/field/field.module.js +0 -2
- package/dist/file-uploader/file-uploader.css +1 -1
- package/dist/file-uploader/file-uploader.js +5 -5
- package/dist/file-uploader/file-uploader.module.js +14 -16
- package/dist/filter/filter.module.js +0 -2
- package/dist/form/form.module.js +0 -2
- package/dist/header/header.module.js +0 -2
- package/dist/header-panel/header-panel.js +8 -8
- package/dist/header-panel/header-panel.module.js +0 -2
- package/dist/heading/heading.js +1 -3
- package/dist/heading/heading.module.js +0 -2
- package/dist/hover-card/hover-card.js +18 -18
- package/dist/hover-card/hover-card.module.js +0 -2
- package/dist/icon-button/icon-button.js +1 -3
- package/dist/icon-button/icon-button.module.js +0 -2
- package/dist/image/image.module.js +0 -2
- package/dist/index.d.ts +120 -24
- package/dist/index.js +0 -1
- package/dist/indicator/indicator.js +0 -2
- package/dist/indicator/indicator.module.js +0 -2
- package/dist/inline-loading/inline-loading.js +1 -3
- package/dist/inline-loading/inline-loading.module.js +0 -2
- package/dist/input/input.js +11 -11
- package/dist/input/input.module.js +0 -2
- package/dist/input-group/input-group.js +1 -3
- package/dist/input-group/input-group.module.js +0 -2
- package/dist/item/item.js +1 -3
- package/dist/item/item.module.js +0 -2
- package/dist/join/join.js +0 -2
- package/dist/join/join.module.js +0 -2
- package/dist/kbd/kbd.js +1 -3
- package/dist/kbd/kbd.module.js +0 -2
- package/dist/label/label.js +1 -3
- package/dist/label/label.module.js +0 -2
- package/dist/layouts/src/auto-grid/auto-grid.js +1 -3
- package/dist/layouts/src/auto-grid/auto-grid.module.js +0 -2
- package/dist/layouts/src/center/center.js +1 -3
- package/dist/layouts/src/center/center.module.js +0 -2
- package/dist/layouts/src/columns/columns.js +1 -3
- package/dist/layouts/src/columns/columns.module.js +0 -2
- package/dist/layouts/src/flex/flex.js +1 -3
- package/dist/layouts/src/flex/flex.module.js +0 -2
- package/dist/layouts/src/grid/grid.js +1 -3
- package/dist/layouts/src/grid/grid.module.js +0 -2
- package/dist/layouts/src/page-header/page-header.css +1 -1
- package/dist/layouts/src/page-header/page-header.js +1 -3
- package/dist/layouts/src/page-header/page-header.module.js +6 -8
- package/dist/layouts/src/spacer/spacer.js +1 -3
- package/dist/layouts/src/spacer/spacer.module.js +0 -2
- package/dist/link/link.js +1 -3
- package/dist/link/link.module.js +0 -2
- package/dist/list/list.js +1 -3
- package/dist/list/list.module.js +0 -2
- package/dist/log-viewer/log-viewer.js +15 -15
- package/dist/log-viewer/log-viewer.module.js +0 -2
- package/dist/menu/menu.js +22 -21
- package/dist/menu/menu.module.js +0 -2
- package/dist/menu-button/menu-button.js +8 -8
- package/dist/menu-button/menu-button.module.js +0 -2
- package/dist/menubar/menubar.js +24 -24
- package/dist/menubar/menubar.module.js +0 -2
- package/dist/modal/modal.js +9 -9
- package/dist/modal/modal.module.js +0 -2
- package/dist/multi-select/multi-select.css +1 -1
- package/dist/multi-select/multi-select.js +8 -8
- package/dist/multi-select/multi-select.module.js +11 -13
- package/dist/native-select/native-select.js +1 -3
- package/dist/native-select/native-select.module.js +0 -2
- package/dist/navigation-menu/navigation-menu.js +26 -26
- package/dist/navigation-menu/navigation-menu.module.js +0 -2
- package/dist/node/accordion/accordion.js +81 -65
- package/dist/node/accordion/accordion.module.js +6 -9
- package/dist/node/action-sheet/action-sheet.js +11 -11
- package/dist/node/action-sheet/action-sheet.module.js +0 -2
- package/dist/node/alert/alert.module.js +0 -2
- package/dist/node/alert-dialog/alert-dialog.js +6 -6
- package/dist/node/alert-dialog/alert-dialog.module.js +7 -9
- package/dist/node/app-shell/app-shell.js +10 -10
- package/dist/node/app-shell/app-shell.module.js +0 -2
- package/dist/node/aspect-ratio/aspect-ratio.js +1 -3
- package/dist/node/aspect-ratio/aspect-ratio.module.js +0 -2
- package/dist/node/avatar/avatar.module.js +0 -2
- package/dist/node/avatar-group/avatar-group.js +1 -3
- package/dist/node/avatar-group/avatar-group.module.js +0 -2
- package/dist/node/badge/badge.js +1 -3
- package/dist/node/badge/badge.module.js +0 -2
- package/dist/node/blockquote/blockquote.js +1 -3
- package/dist/node/blockquote/blockquote.module.js +0 -2
- package/dist/node/bottom-sheet/bottom-sheet.js +12 -12
- package/dist/node/bottom-sheet/bottom-sheet.module.js +0 -2
- package/dist/node/breadcrumb/breadcrumb.module.js +0 -2
- package/dist/node/button/button.js +1 -3
- package/dist/node/button/button.module.js +0 -2
- package/dist/node/button-group/button-group.js +6 -6
- package/dist/node/button-group/button-group.module.js +0 -2
- package/dist/node/calendar/calendar.module.js +0 -2
- package/dist/node/card/card.js +1 -3
- package/dist/node/card/card.module.js +0 -2
- package/dist/node/carousel/carousel.js +9 -9
- package/dist/node/carousel/carousel.module.js +0 -2
- package/dist/node/chat-bubble/chat-bubble.js +0 -2
- package/dist/node/chat-bubble/chat-bubble.module.js +0 -2
- package/dist/node/checkbox/checkbox.js +10 -10
- package/dist/node/checkbox/checkbox.module.js +0 -2
- package/dist/node/checkbox-card/checkbox-card.js +5 -5
- package/dist/node/checkbox-card/checkbox-card.module.js +0 -2
- package/dist/node/code/code.js +1 -3
- package/dist/node/code/code.module.js +0 -2
- package/dist/node/code-snippet/code-snippet.module.js +0 -2
- package/dist/node/code-snippet/highlight.js +0 -2
- package/dist/node/collapsible/collapsible.js +36 -31
- package/dist/node/collapsible/collapsible.module.js +3 -6
- package/dist/node/color-picker/color-picker.js +7 -7
- package/dist/node/color-picker/color-picker.module.js +0 -2
- package/dist/node/combobox/combobox.js +11 -11
- package/dist/node/combobox/combobox.module.js +15 -17
- package/dist/node/command-menu/command-menu.js +113 -113
- package/dist/node/command-menu/command-menu.module.js +0 -2
- package/dist/node/comparison/comparison.js +5 -5
- package/dist/node/comparison/comparison.module.js +0 -2
- package/dist/node/contained-list/contained-list.module.js +0 -2
- package/dist/node/context-menu/context-menu.js +6 -6
- package/dist/node/context-menu/context-menu.module.js +0 -2
- package/dist/node/copy-button/copy-button.js +7 -7
- package/dist/node/copy-button/copy-button.module.js +0 -2
- package/dist/node/data-list/data-list.js +1 -3
- package/dist/node/data-list/data-list.module.js +0 -2
- package/dist/node/data-table/data-table.js +164 -164
- package/dist/node/data-table/data-table.module.js +29 -31
- package/dist/node/date-picker/date-picker.js +24 -24
- package/dist/node/date-picker/date-picker.module.js +19 -21
- package/dist/node/date-range-picker/date-range-picker.js +30 -30
- package/dist/node/date-range-picker/date-range-picker.module.js +0 -2
- package/dist/node/dock/dock.module.js +0 -2
- package/dist/node/drawer/drawer.js +11 -11
- package/dist/node/drawer/drawer.module.js +0 -2
- package/dist/node/dropdown/dropdown.js +14 -14
- package/dist/node/dropdown/dropdown.module.js +0 -2
- package/dist/node/editable/editable.js +8 -8
- package/dist/node/editable/editable.module.js +7 -9
- package/dist/node/empty-state/empty-state.js +1 -3
- package/dist/node/empty-state/empty-state.module.js +0 -2
- package/dist/node/fab/fab.js +12 -12
- package/dist/node/fab/fab.module.js +0 -2
- package/dist/node/field/field.js +1 -3
- package/dist/node/field/field.module.js +0 -2
- package/dist/node/file-uploader/file-uploader.js +5 -5
- package/dist/node/file-uploader/file-uploader.module.js +14 -16
- package/dist/node/filter/filter.module.js +0 -2
- package/dist/node/form/form.module.js +0 -2
- package/dist/node/header/header.module.js +0 -2
- package/dist/node/header-panel/header-panel.js +8 -8
- package/dist/node/header-panel/header-panel.module.js +0 -2
- package/dist/node/heading/heading.js +1 -3
- package/dist/node/heading/heading.module.js +0 -2
- package/dist/node/hover-card/hover-card.js +18 -18
- package/dist/node/hover-card/hover-card.module.js +0 -2
- package/dist/node/icon-button/icon-button.js +1 -3
- package/dist/node/icon-button/icon-button.module.js +0 -2
- package/dist/node/image/image.module.js +0 -2
- package/dist/node/index.js +0 -1
- package/dist/node/indicator/indicator.js +0 -2
- package/dist/node/indicator/indicator.module.js +0 -2
- package/dist/node/inline-loading/inline-loading.js +1 -3
- package/dist/node/inline-loading/inline-loading.module.js +0 -2
- package/dist/node/input/input.js +11 -11
- package/dist/node/input/input.module.js +0 -2
- package/dist/node/input-group/input-group.js +1 -3
- package/dist/node/input-group/input-group.module.js +0 -2
- package/dist/node/item/item.js +1 -3
- package/dist/node/item/item.module.js +0 -2
- package/dist/node/join/join.js +0 -2
- package/dist/node/join/join.module.js +0 -2
- package/dist/node/kbd/kbd.js +1 -3
- package/dist/node/kbd/kbd.module.js +0 -2
- package/dist/node/label/label.js +1 -3
- package/dist/node/label/label.module.js +0 -2
- package/dist/node/layouts/src/auto-grid/auto-grid.js +1 -3
- package/dist/node/layouts/src/auto-grid/auto-grid.module.js +0 -2
- package/dist/node/layouts/src/center/center.js +1 -3
- package/dist/node/layouts/src/center/center.module.js +0 -2
- package/dist/node/layouts/src/columns/columns.js +1 -3
- package/dist/node/layouts/src/columns/columns.module.js +0 -2
- package/dist/node/layouts/src/flex/flex.js +1 -3
- package/dist/node/layouts/src/flex/flex.module.js +0 -2
- package/dist/node/layouts/src/grid/grid.js +1 -3
- package/dist/node/layouts/src/grid/grid.module.js +0 -2
- package/dist/node/layouts/src/page-header/page-header.js +1 -3
- package/dist/node/layouts/src/page-header/page-header.module.js +6 -8
- package/dist/node/layouts/src/spacer/spacer.js +1 -3
- package/dist/node/layouts/src/spacer/spacer.module.js +0 -2
- package/dist/node/link/link.js +1 -3
- package/dist/node/link/link.module.js +0 -2
- package/dist/node/list/list.js +1 -3
- package/dist/node/list/list.module.js +0 -2
- package/dist/node/log-viewer/log-viewer.js +15 -15
- package/dist/node/log-viewer/log-viewer.module.js +0 -2
- package/dist/node/menu/menu.js +22 -21
- package/dist/node/menu/menu.module.js +0 -2
- package/dist/node/menu-button/menu-button.js +8 -8
- package/dist/node/menu-button/menu-button.module.js +0 -2
- package/dist/node/menubar/menubar.js +24 -24
- package/dist/node/menubar/menubar.module.js +0 -2
- package/dist/node/modal/modal.js +9 -9
- package/dist/node/modal/modal.module.js +0 -2
- package/dist/node/multi-select/multi-select.js +8 -8
- package/dist/node/multi-select/multi-select.module.js +11 -13
- package/dist/node/native-select/native-select.js +1 -3
- package/dist/node/native-select/native-select.module.js +0 -2
- package/dist/node/navigation-menu/navigation-menu.js +26 -26
- package/dist/node/navigation-menu/navigation-menu.module.js +0 -2
- package/dist/node/notification/notification.js +6 -6
- package/dist/node/notification/notification.module.js +0 -2
- package/dist/node/number-input/number-input.js +7 -7
- package/dist/node/number-input/number-input.module.js +0 -2
- package/dist/node/otp-input/otp-input.js +5 -5
- package/dist/node/otp-input/otp-input.module.js +0 -2
- package/dist/node/overflow-menu/overflow-menu.module.js +0 -2
- package/dist/node/pagination/pagination.module.js +0 -2
- package/dist/node/password-input/password-input.js +8 -8
- package/dist/node/password-input/password-input.module.js +0 -2
- package/dist/node/popover/popover.js +12 -12
- package/dist/node/popover/popover.module.js +0 -2
- package/dist/node/popover/use-popover.js +8 -10
- package/dist/node/progress/progress.js +0 -2
- package/dist/node/progress/progress.module.js +0 -2
- package/dist/node/progress-bar/progress-bar.js +1 -3
- package/dist/node/progress-bar/progress-bar.module.js +0 -2
- package/dist/node/progress-circle/progress-circle.js +1 -3
- package/dist/node/progress-circle/progress-circle.module.js +0 -2
- package/dist/node/progress-indicator/progress-indicator.js +1 -3
- package/dist/node/progress-indicator/progress-indicator.module.js +0 -2
- package/dist/node/prose/prose.js +1 -3
- package/dist/node/prose/prose.module.js +0 -2
- package/dist/node/pull-to-refresh/pull-to-refresh.js +8 -8
- package/dist/node/pull-to-refresh/pull-to-refresh.module.js +0 -2
- package/dist/node/qr-code/encode.js +0 -2
- package/dist/node/qr-code/qr-code.module.js +0 -2
- package/dist/node/radial-progress/radial-progress.js +9 -10
- package/dist/node/radial-progress/radial-progress.module.js +0 -2
- package/dist/node/radio/radio.js +1 -3
- package/dist/node/radio/radio.module.js +0 -2
- package/dist/node/radio-card/radio-card.js +8 -8
- package/dist/node/radio-card/radio-card.module.js +0 -2
- package/dist/node/rating-group/rating-group.module.js +0 -2
- package/dist/node/react/src/index.js +0 -2
- package/dist/node/react/src/theme.js +10 -10
- package/dist/node/relative-time/relative-time.module.js +0 -2
- package/dist/node/resizable/resizable.js +7 -7
- package/dist/node/resizable/resizable.module.js +0 -2
- package/dist/node/scroll-area/scroll-area.js +6 -6
- package/dist/node/scroll-area/scroll-area.module.js +0 -2
- package/dist/node/search/search.js +9 -9
- package/dist/node/search/search.module.js +0 -2
- package/dist/node/segmented-control/segmented-control.module.js +0 -2
- package/dist/node/select/select.js +11 -11
- package/dist/node/select/select.module.js +0 -2
- package/dist/node/separator/separator.js +1 -3
- package/dist/node/separator/separator.module.js +0 -2
- package/dist/node/sheet/sheet.js +4 -4
- package/dist/node/sheet/sheet.module.js +0 -2
- package/dist/node/shell-header/shell-header.module.js +0 -2
- package/dist/node/side-nav/side-nav.js +37 -37
- package/dist/node/side-nav/side-nav.module.js +0 -2
- package/dist/node/skeleton/skeleton.js +1 -3
- package/dist/node/skeleton/skeleton.module.js +0 -2
- package/dist/node/skip-nav/skip-nav.js +6 -6
- package/dist/node/skip-nav/skip-nav.module.js +0 -2
- package/dist/node/slider/slider.js +1 -3
- package/dist/node/slider/slider.module.js +0 -2
- package/dist/node/spinner/spinner.module.js +0 -2
- package/dist/node/stack/stack.js +0 -2
- package/dist/node/stack/stack.module.js +0 -2
- package/dist/node/stat/stat.js +22 -23
- package/dist/node/stat/stat.module.js +7 -9
- package/dist/node/status/status.js +1 -3
- package/dist/node/status/status.module.js +0 -2
- package/dist/node/steps/steps.module.js +0 -2
- package/dist/node/storage/src/drivers.js +0 -2
- package/dist/node/storage/src/persisted-signal.js +0 -2
- package/dist/node/structured-list/structured-list.js +10 -10
- package/dist/node/structured-list/structured-list.module.js +0 -2
- package/dist/node/swap/swap.js +10 -11
- package/dist/node/swap/swap.module.js +0 -2
- package/dist/node/swipe-item/swipe-item.module.js +0 -2
- package/dist/node/switcher/switcher.module.js +0 -2
- package/dist/node/tabs/tabs.js +38 -38
- package/dist/node/tabs/tabs.module.js +0 -2
- package/dist/node/tag/tag.module.js +0 -2
- package/dist/node/tags-input/tags-input.js +6 -6
- package/dist/node/tags-input/tags-input.module.js +4 -6
- package/dist/node/text/text.js +1 -3
- package/dist/node/text/text.module.js +0 -2
- package/dist/node/textarea/textarea.js +11 -11
- package/dist/node/textarea/textarea.module.js +0 -2
- package/dist/node/tile/tile.module.js +0 -2
- package/dist/node/time-picker/time-picker.js +9 -9
- package/dist/node/time-picker/time-picker.module.js +5 -7
- package/dist/node/timeline/timeline.js +32 -31
- package/dist/node/timeline/timeline.module.js +7 -9
- package/dist/node/toast/toast.js +15 -15
- package/dist/node/toast/toast.module.js +0 -2
- package/dist/node/toc/toc.js +7 -7
- package/dist/node/toc/toc.module.js +0 -2
- package/dist/node/toggle/toggle.js +7 -7
- package/dist/node/toggle/toggle.module.js +0 -2
- package/dist/node/toggle-group/toggle-group.js +25 -25
- package/dist/node/toggle-group/toggle-group.module.js +0 -2
- package/dist/node/toggletip/toggletip.js +7 -7
- package/dist/node/toggletip/toggletip.module.js +0 -2
- package/dist/node/tooltip/tooltip.js +9 -9
- package/dist/node/tooltip/tooltip.module.js +0 -2
- package/dist/node/tree-view/tree-view.js +47 -47
- package/dist/node/tree-view/tree-view.module.js +0 -2
- package/dist/node/user/user.js +1 -3
- package/dist/node/user/user.module.js +0 -2
- package/dist/node/visually-hidden/visually-hidden.js +1 -3
- package/dist/notification/notification.js +6 -6
- package/dist/notification/notification.module.js +0 -2
- package/dist/number-input/number-input.js +7 -7
- package/dist/number-input/number-input.module.js +0 -2
- package/dist/otp-input/otp-input.js +5 -5
- package/dist/otp-input/otp-input.module.js +0 -2
- package/dist/overflow-menu/overflow-menu.module.js +0 -2
- package/dist/pagination/pagination.module.js +0 -2
- package/dist/password-input/password-input.js +8 -8
- package/dist/password-input/password-input.module.js +0 -2
- package/dist/popover/popover.js +12 -12
- package/dist/popover/popover.module.js +0 -2
- package/dist/popover/use-popover.js +8 -10
- package/dist/progress/progress.js +0 -2
- package/dist/progress/progress.module.js +0 -2
- package/dist/progress-bar/progress-bar.js +1 -3
- package/dist/progress-bar/progress-bar.module.js +0 -2
- package/dist/progress-circle/progress-circle.js +1 -3
- package/dist/progress-circle/progress-circle.module.js +0 -2
- package/dist/progress-indicator/progress-indicator.js +1 -3
- package/dist/progress-indicator/progress-indicator.module.js +0 -2
- package/dist/prose/prose.js +1 -3
- package/dist/prose/prose.module.js +0 -2
- package/dist/pull-to-refresh/pull-to-refresh.js +8 -8
- package/dist/pull-to-refresh/pull-to-refresh.module.js +0 -2
- package/dist/qr-code/encode.js +0 -2
- package/dist/qr-code/qr-code.module.js +0 -2
- package/dist/radial-progress/radial-progress.js +9 -10
- package/dist/radial-progress/radial-progress.module.js +0 -2
- package/dist/radio/radio.js +1 -3
- package/dist/radio/radio.module.js +0 -2
- package/dist/radio-card/radio-card.js +8 -8
- package/dist/radio-card/radio-card.module.js +0 -2
- package/dist/rating-group/rating-group.module.js +0 -2
- package/dist/react/src/index.js +0 -2
- package/dist/react/src/theme.js +10 -10
- package/dist/relative-time/relative-time.module.js +0 -2
- package/dist/resizable/resizable.js +7 -7
- package/dist/resizable/resizable.module.js +0 -2
- package/dist/scroll-area/scroll-area.js +6 -6
- package/dist/scroll-area/scroll-area.module.js +0 -2
- package/dist/search/search.js +9 -9
- package/dist/search/search.module.js +0 -2
- package/dist/segmented-control/segmented-control.module.js +0 -2
- package/dist/select/select.js +11 -11
- package/dist/select/select.module.js +0 -2
- package/dist/separator/separator.js +1 -3
- package/dist/separator/separator.module.js +0 -2
- package/dist/sheet/sheet.js +4 -4
- package/dist/sheet/sheet.module.js +0 -2
- package/dist/shell-header/shell-header.module.js +0 -2
- package/dist/side-nav/side-nav.js +37 -37
- package/dist/side-nav/side-nav.module.js +0 -2
- package/dist/skeleton/skeleton.js +1 -3
- package/dist/skeleton/skeleton.module.js +0 -2
- package/dist/skip-nav/skip-nav.js +6 -6
- package/dist/skip-nav/skip-nav.module.js +0 -2
- package/dist/slider/slider.js +1 -3
- package/dist/slider/slider.module.js +0 -2
- package/dist/spinner/spinner.module.js +0 -2
- package/dist/stack/stack.js +0 -2
- package/dist/stack/stack.module.js +0 -2
- package/dist/stat/stat.css +1 -1
- package/dist/stat/stat.js +22 -23
- package/dist/stat/stat.module.js +7 -9
- package/dist/status/status.js +1 -3
- package/dist/status/status.module.js +0 -2
- package/dist/steps/steps.module.js +0 -2
- package/dist/storage/src/drivers.js +0 -2
- package/dist/storage/src/persisted-signal.js +0 -2
- package/dist/structured-list/structured-list.js +10 -10
- package/dist/structured-list/structured-list.module.js +0 -2
- package/dist/styles.css +14 -14
- package/dist/swap/swap.js +10 -11
- package/dist/swap/swap.module.js +0 -2
- package/dist/swipe-item/swipe-item.module.js +0 -2
- package/dist/switcher/switcher.module.js +0 -2
- package/dist/tabs/tabs.js +38 -38
- package/dist/tabs/tabs.module.js +0 -2
- package/dist/tag/tag.module.js +0 -2
- package/dist/tags-input/tags-input.css +1 -1
- package/dist/tags-input/tags-input.js +6 -6
- package/dist/tags-input/tags-input.module.js +4 -6
- package/dist/text/text.js +1 -3
- package/dist/text/text.module.js +0 -2
- package/dist/textarea/textarea.js +11 -11
- package/dist/textarea/textarea.module.js +0 -2
- package/dist/tile/tile.module.js +0 -2
- package/dist/time-picker/time-picker.css +1 -1
- package/dist/time-picker/time-picker.js +9 -9
- package/dist/time-picker/time-picker.module.js +5 -7
- package/dist/timeline/timeline.css +1 -1
- package/dist/timeline/timeline.js +32 -31
- package/dist/timeline/timeline.module.js +7 -9
- package/dist/toast/toast.js +15 -15
- package/dist/toast/toast.module.js +0 -2
- package/dist/toc/toc.js +7 -7
- package/dist/toc/toc.module.js +0 -2
- package/dist/toggle/toggle.js +7 -7
- package/dist/toggle/toggle.module.js +0 -2
- package/dist/toggle-group/toggle-group.js +25 -25
- package/dist/toggle-group/toggle-group.module.js +0 -2
- package/dist/toggletip/toggletip.js +7 -7
- package/dist/toggletip/toggletip.module.js +0 -2
- package/dist/tooltip/tooltip.js +9 -9
- package/dist/tooltip/tooltip.module.js +0 -2
- package/dist/tree-view/tree-view.js +47 -47
- package/dist/tree-view/tree-view.module.js +0 -2
- package/dist/user/user.js +1 -3
- package/dist/user/user.module.js +0 -2
- package/dist/visually-hidden/visually-hidden.js +1 -3
- package/package.json +4 -4
- package/readme.body.md +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* Docs: https://cascivo.com/llms.txt — or fully offline, no website needed:
|
|
22
22
|
* npx -y @cascivo/docs (index; `npx @cascivo/docs <component>` for one doc)
|
|
23
23
|
*/
|
|
24
|
-
import { DismissableLayer, DismissableLayerProps, ErrorBoundary, FocusScope, LinkComponent, LinkComponentProps, Machine, MachineConfig, Portal, Presence, ProgressInput, RovingOrientation, Signal, Slot, SlotProps, SpaceStep, SuspenseBoundary, ToneInput, UseClipboardOptions, UseClipboardReturn, UseControllableSignalOptions, UseDisclosureOptions, UseDisclosureReturn, VisuallyHidden, VisuallyHiddenProps, batch, cn, composeRefs, computePosition, computed, createMachine, createScope, createStreamBuffer, effect, getLinkComponent, mergeProps, setLinkComponent, signal, useAnchorPosition, useClipboard, useComputed, useControllableSignal, useDisclosure, useEffectPropSignal, useId, useMachine, useMediaQuery, useRovingFocus, useScope, useScrollLock, useSignal, useSignalEffect, useSignals, useStreamBuffer, useTypeahead } from "@cascivo/core";
|
|
25
24
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, FormHTMLAttributes, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes, LiHTMLAttributes, MouseEvent, ReactElement, ReactNode, RefObject, SelectHTMLAttributes, TextareaHTMLAttributes, TimeHTMLAttributes } from "react";
|
|
25
|
+
import { DismissableLayer, DismissableLayerProps, ErrorBoundary, FocusScope, LinkComponent, LinkComponentProps, Machine, MachineConfig, Portal, Presence, ProgressInput, RovingOrientation, Signal, Slot, SlotProps, SpaceStep, SuspenseBoundary, ToneInput, UseClipboardOptions, UseClipboardReturn, UseControllableSignalOptions, UseDisclosureOptions, UseDisclosureReturn, VisuallyHidden, VisuallyHiddenProps, batch, cn, composeRefs, computePosition, computed, createMachine, createScope, createStreamBuffer, effect, getLinkComponent, mergeProps, setLinkComponent, signal, useAnchorPosition, useClipboard, useComputed, useControllableSignal, useDisclosure, useEffectPropSignal, useId, useMachine, useMediaQuery, useRovingFocus, useScope, useScrollLock, useSignal, useSignalEffect, useSignals, useStreamBuffer, useTypeahead } from "@cascivo/core";
|
|
26
26
|
|
|
27
27
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
28
28
|
/**
|
|
@@ -433,6 +433,15 @@ interface SelectOption {
|
|
|
433
433
|
*/
|
|
434
434
|
disabled?: boolean;
|
|
435
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* ⚠ `Select` is a **native `<select>` wrapper**, so its change handler is the DOM
|
|
438
|
+
* `onChange(event)` — read the value off `event.target.value`. There is **no**
|
|
439
|
+
* `onValueChange`; TypeScript unhelpfully suggests `onVolumeChange` when you try it.
|
|
440
|
+
*
|
|
441
|
+
* The catalog's `onValueChange` convention covers composite components that invent their
|
|
442
|
+
* own value (`Tabs`, `Combobox`, `Toggle`, …). `Select`, like `Checkbox` and
|
|
443
|
+
* `NativeSelect`, spreads onto a real element and inherits that element's event.
|
|
444
|
+
*/
|
|
436
445
|
interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> {
|
|
437
446
|
label?: string;
|
|
438
447
|
hint?: string;
|
|
@@ -526,6 +535,13 @@ interface ToggleProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onC
|
|
|
526
535
|
* not work there.
|
|
527
536
|
*/
|
|
528
537
|
declare const Toggle: import("react").ForwardRefExoticComponent<ToggleProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
538
|
+
/**
|
|
539
|
+
* ⚠ `Slider` is a **native `<input type="range">` wrapper**, so its change handler is the
|
|
540
|
+
* DOM `onChange(event)` — read the value off `event.target.value`. There is **no**
|
|
541
|
+
* `onValueChange`, despite the catalog convention of that name for value-carrying
|
|
542
|
+
* callbacks: that convention covers composite components that invent their own value,
|
|
543
|
+
* while this one inherits the underlying element's event.
|
|
544
|
+
*/
|
|
529
545
|
interface SliderProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
|
|
530
546
|
label?: string;
|
|
531
547
|
}
|
|
@@ -679,9 +695,14 @@ declare function Accordion({
|
|
|
679
695
|
className,
|
|
680
696
|
children
|
|
681
697
|
}: AccordionProps): import("react").JSX.Element;
|
|
682
|
-
interface AccordionItemProps extends HTMLAttributes<
|
|
698
|
+
interface AccordionItemProps extends HTMLAttributes<HTMLElement> {
|
|
683
699
|
value: string;
|
|
684
700
|
}
|
|
701
|
+
/**
|
|
702
|
+
* Renders the `<details>` element itself, so `AccordionTrigger` (a `<summary>`) and
|
|
703
|
+
* `AccordionContent` land as its first and second children — which is exactly the shape
|
|
704
|
+
* consumers already write.
|
|
705
|
+
*/
|
|
685
706
|
declare function AccordionItem({
|
|
686
707
|
value,
|
|
687
708
|
className,
|
|
@@ -689,11 +710,12 @@ declare function AccordionItem({
|
|
|
689
710
|
...props
|
|
690
711
|
}: AccordionItemProps): import("react").JSX.Element;
|
|
691
712
|
/**
|
|
692
|
-
* `forwardRef` so `ref` reaches the trigger
|
|
693
|
-
* rationale (2026-07-28 report C10). The
|
|
694
|
-
*
|
|
713
|
+
* `forwardRef` so `ref` reaches the trigger element — see `textarea.tsx` for the full
|
|
714
|
+
* rationale (2026-07-28 report C10). The target is the `<summary>`, not a `<button>`:
|
|
715
|
+
* `<summary>` must be the first child of `<details>`, so it cannot be nested inside a
|
|
716
|
+
* heading. The heading moves inside it instead, which `<summary>`'s content model allows.
|
|
695
717
|
*/
|
|
696
|
-
declare const AccordionTrigger: import("react").ForwardRefExoticComponent<HTMLAttributes<
|
|
718
|
+
declare const AccordionTrigger: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
697
719
|
declare function AccordionContent(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
698
720
|
interface ActionSheetAction {
|
|
699
721
|
label: ReactNode;
|
|
@@ -1407,19 +1429,24 @@ interface Column<Row> {
|
|
|
1407
1429
|
align?: 'start' | 'end';
|
|
1408
1430
|
/**
|
|
1409
1431
|
* Preferred column width, any CSS length (`'8rem'`, `'120px'`, `'12%'`). Set it on
|
|
1410
|
-
* identifier-shaped columns (
|
|
1411
|
-
*
|
|
1432
|
+
* identifier-shaped columns (ids, statuses, dates) so they stop stealing space from the
|
|
1433
|
+
* free-form ones.
|
|
1412
1434
|
*
|
|
1413
|
-
*
|
|
1414
|
-
*
|
|
1415
|
-
*
|
|
1416
|
-
*
|
|
1435
|
+
* It is a *preferred* size with a **content floor**: a sized column never shrinks below
|
|
1436
|
+
* its own longest word, so you do not need a paired `minWidth` just to stop it
|
|
1437
|
+
* collapsing. Use `minWidth` only to raise the floor above the content.
|
|
1438
|
+
*
|
|
1439
|
+
* ⚠ **Sizing EVERY column changes the layout mode.** Only then does the table switch to
|
|
1440
|
+
* `table-layout: fixed` (which keeps widths identical across pages), and a fixed table
|
|
1441
|
+
* can exceed its container — the extra columns are reachable by horizontal scroll, not
|
|
1442
|
+
* dropped. Leave at least one free-form column unsized unless you specifically want
|
|
1443
|
+
* page-stable widths.
|
|
1417
1444
|
*/
|
|
1418
1445
|
width?: string;
|
|
1419
1446
|
/**
|
|
1420
|
-
* Floor for the column's width, any CSS length. Use it on a free-form column
|
|
1421
|
-
*
|
|
1422
|
-
*
|
|
1447
|
+
* Floor for the column's width, any CSS length. Use it on a free-form column that should
|
|
1448
|
+
* get a minimum share, or to raise a sized column's floor above its content — the
|
|
1449
|
+
* content floor is automatic, so this is no longer needed merely to prevent collapse.
|
|
1423
1450
|
*/
|
|
1424
1451
|
minWidth?: string;
|
|
1425
1452
|
}
|
|
@@ -2016,11 +2043,17 @@ declare function Menu({
|
|
|
2016
2043
|
}: MenuProps): import("react").JSX.Element;
|
|
2017
2044
|
interface MenuTriggerProps {
|
|
2018
2045
|
children: ReactNode;
|
|
2046
|
+
/**
|
|
2047
|
+
* Invisible accessible name. The catalog convention (see the item-identity table in
|
|
2048
|
+
* `docs/AI-RULES.md`); `aria-label` is accepted as an alias for the DOM spelling.
|
|
2049
|
+
*/
|
|
2050
|
+
ariaLabel?: string;
|
|
2019
2051
|
'aria-label'?: string;
|
|
2020
2052
|
}
|
|
2021
2053
|
declare function MenuTrigger({
|
|
2022
2054
|
children,
|
|
2023
|
-
|
|
2055
|
+
ariaLabel,
|
|
2056
|
+
'aria-label': ariaLabelDom
|
|
2024
2057
|
}: MenuTriggerProps): import("react").JSX.Element;
|
|
2025
2058
|
interface MenuItemProps {
|
|
2026
2059
|
children: ReactNode;
|
|
@@ -2655,6 +2688,20 @@ interface StatProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
|
2655
2688
|
value: string | number;
|
|
2656
2689
|
delta?: string;
|
|
2657
2690
|
trend?: 'up' | 'down' | 'flat';
|
|
2691
|
+
/**
|
|
2692
|
+
* Which direction is *good* for this metric — the colour, independent of the arrow.
|
|
2693
|
+
*
|
|
2694
|
+
* `trend` says which way the number moved; this says whether that is welcome. They are
|
|
2695
|
+
* the same question only for metrics where up is better, and hard-coding that made every
|
|
2696
|
+
* error-rate, latency, cost and churn tile render its worst news in green. Lying about
|
|
2697
|
+
* `trend` to fix the colour also reverses the arrow, so there was no correct answer.
|
|
2698
|
+
*
|
|
2699
|
+
* `'neutral'` keeps the arrow and drops the sentiment colour, for metrics where neither
|
|
2700
|
+
* direction is inherently good (headcount, page views).
|
|
2701
|
+
*
|
|
2702
|
+
* @defaultValue `up`
|
|
2703
|
+
*/
|
|
2704
|
+
goodDirection?: 'up' | 'down' | 'neutral';
|
|
2658
2705
|
helpText?: string;
|
|
2659
2706
|
/**
|
|
2660
2707
|
* Wrap the tile in the same card chrome (surface, border, radius, padding) that
|
|
@@ -2672,6 +2719,7 @@ declare function Stat({
|
|
|
2672
2719
|
value,
|
|
2673
2720
|
delta,
|
|
2674
2721
|
trend,
|
|
2722
|
+
goodDirection,
|
|
2675
2723
|
helpText,
|
|
2676
2724
|
card,
|
|
2677
2725
|
visual,
|
|
@@ -3406,10 +3454,11 @@ interface CollapsibleProps {
|
|
|
3406
3454
|
defaultOpen?: boolean;
|
|
3407
3455
|
/** Called whenever the open state should change. */
|
|
3408
3456
|
onOpenChange?: (open: boolean) => void;
|
|
3409
|
-
/** Content rendered inside the trigger
|
|
3457
|
+
/** Content rendered inside the trigger. */
|
|
3410
3458
|
trigger: ReactNode;
|
|
3411
3459
|
/**
|
|
3412
|
-
* Disables the trigger
|
|
3460
|
+
* Disables the trigger. Enforced in the enhancement layer — <details> has no native
|
|
3461
|
+
* disabled state, so with JavaScript off a disabled Collapsible is still operable
|
|
3413
3462
|
*
|
|
3414
3463
|
* @defaultValue `false`
|
|
3415
3464
|
* @see the component manifest
|
|
@@ -3520,14 +3569,27 @@ interface MenubarMenu {
|
|
|
3520
3569
|
label: ReactNode;
|
|
3521
3570
|
items: MenubarItem[];
|
|
3522
3571
|
}
|
|
3523
|
-
interface
|
|
3572
|
+
interface MenubarBaseProps {
|
|
3524
3573
|
menus: MenubarMenu[];
|
|
3525
|
-
'aria-label': string;
|
|
3526
3574
|
className?: string;
|
|
3527
3575
|
}
|
|
3576
|
+
/**
|
|
3577
|
+
* Exactly one of `ariaLabel` / `aria-label` is required — a menubar landmark with no
|
|
3578
|
+
* accessible name is a bug, so this stays enforced by the type rather than a dev warning.
|
|
3579
|
+
* `ariaLabel` is the catalog's convention; `aria-label` is the DOM spelling this component
|
|
3580
|
+
* shipped with. Both work, mirroring `IconButton`.
|
|
3581
|
+
*/
|
|
3582
|
+
type MenubarProps = MenubarBaseProps & ({
|
|
3583
|
+
ariaLabel: string;
|
|
3584
|
+
'aria-label'?: never;
|
|
3585
|
+
} | {
|
|
3586
|
+
'aria-label': string;
|
|
3587
|
+
ariaLabel?: never;
|
|
3588
|
+
});
|
|
3528
3589
|
declare function Menubar({
|
|
3529
3590
|
menus,
|
|
3530
|
-
|
|
3591
|
+
ariaLabel,
|
|
3592
|
+
'aria-label': ariaLabelDom,
|
|
3531
3593
|
className
|
|
3532
3594
|
}: MenubarProps): import("react").JSX.Element;
|
|
3533
3595
|
interface NavigationMenuItem {
|
|
@@ -3538,6 +3600,11 @@ interface NavigationMenuItem {
|
|
|
3538
3600
|
}
|
|
3539
3601
|
interface NavigationMenuProps {
|
|
3540
3602
|
items: NavigationMenuItem[];
|
|
3603
|
+
/**
|
|
3604
|
+
* Invisible accessible name. The catalog convention (see the item-identity table in
|
|
3605
|
+
* `docs/AI-RULES.md`); `aria-label` is accepted as an alias for the DOM spelling.
|
|
3606
|
+
*/
|
|
3607
|
+
ariaLabel?: string;
|
|
3541
3608
|
'aria-label'?: string;
|
|
3542
3609
|
/**
|
|
3543
3610
|
* Layout orientation of the component.
|
|
@@ -3550,7 +3617,8 @@ interface NavigationMenuProps {
|
|
|
3550
3617
|
}
|
|
3551
3618
|
declare function NavigationMenu({
|
|
3552
3619
|
items,
|
|
3553
|
-
'aria-label':
|
|
3620
|
+
'aria-label': ariaLabelDom,
|
|
3621
|
+
ariaLabel,
|
|
3554
3622
|
orientation,
|
|
3555
3623
|
className
|
|
3556
3624
|
}: NavigationMenuProps): import("react").JSX.Element;
|
|
@@ -3570,6 +3638,11 @@ interface TreeViewProps {
|
|
|
3570
3638
|
defaultExpanded?: string[];
|
|
3571
3639
|
onExpandedChange?: (expanded: string[]) => void;
|
|
3572
3640
|
className?: string;
|
|
3641
|
+
/**
|
|
3642
|
+
* Invisible accessible name. The catalog convention (see the item-identity table in
|
|
3643
|
+
* `docs/AI-RULES.md`); `aria-label` is accepted as an alias for the DOM spelling.
|
|
3644
|
+
*/
|
|
3645
|
+
ariaLabel?: string;
|
|
3573
3646
|
'aria-label'?: string;
|
|
3574
3647
|
}
|
|
3575
3648
|
declare function TreeView({
|
|
@@ -3582,19 +3655,30 @@ declare function TreeView({
|
|
|
3582
3655
|
defaultExpanded,
|
|
3583
3656
|
onExpandedChange,
|
|
3584
3657
|
className,
|
|
3585
|
-
'aria-label':
|
|
3658
|
+
'aria-label': ariaLabelDom,
|
|
3659
|
+
ariaLabel
|
|
3586
3660
|
}: TreeViewProps): import("react").JSX.Element;
|
|
3587
3661
|
declare const treeViewMessages: {
|
|
3588
3662
|
loading: () => string;
|
|
3589
3663
|
expand: () => string;
|
|
3590
3664
|
collapse: () => string;
|
|
3591
3665
|
};
|
|
3666
|
+
/**
|
|
3667
|
+
* One row's data. **This is a type, not a component.**
|
|
3668
|
+
*
|
|
3669
|
+
* `StructuredList` is config-driven: pass `items`, not children. An adopter imported
|
|
3670
|
+
* `StructuredListItem` expecting a composable `<StructuredListItem>` — a reasonable guess,
|
|
3671
|
+
* since most catalogs ship both forms — wrote markup against it, and only then found the
|
|
3672
|
+
* real API. There is no composable form and none is planned; the config shape is what
|
|
3673
|
+
* makes the list keyboard-navigable and selectable without per-row wiring.
|
|
3674
|
+
*/
|
|
3592
3675
|
interface StructuredListItem {
|
|
3593
3676
|
id: string;
|
|
3594
3677
|
cells: ReactNode[];
|
|
3595
3678
|
selected?: boolean;
|
|
3596
3679
|
}
|
|
3597
3680
|
interface StructuredListProps {
|
|
3681
|
+
/** The rows. `StructuredList` is config-driven — there is no composable child form. */
|
|
3598
3682
|
items: StructuredListItem[];
|
|
3599
3683
|
headers?: ReactNode[];
|
|
3600
3684
|
/**
|
|
@@ -4395,6 +4479,11 @@ interface RadialProgressProps {
|
|
|
4395
4479
|
*/
|
|
4396
4480
|
variant?: RadialProgressVariant;
|
|
4397
4481
|
children?: React.ReactNode;
|
|
4482
|
+
/**
|
|
4483
|
+
* Invisible accessible name. The catalog convention (see the item-identity table in
|
|
4484
|
+
* `docs/AI-RULES.md`); `aria-label` is accepted as an alias for the DOM spelling.
|
|
4485
|
+
*/
|
|
4486
|
+
ariaLabel?: string;
|
|
4398
4487
|
'aria-label'?: string;
|
|
4399
4488
|
className?: string;
|
|
4400
4489
|
}
|
|
@@ -4404,6 +4493,7 @@ declare function RadialProgress({
|
|
|
4404
4493
|
variant,
|
|
4405
4494
|
children,
|
|
4406
4495
|
className,
|
|
4496
|
+
ariaLabel,
|
|
4407
4497
|
...aria
|
|
4408
4498
|
}: RadialProgressProps): import("react").JSX.Element;
|
|
4409
4499
|
type SwapMode = 'rotate' | 'flip';
|
|
@@ -4422,6 +4512,11 @@ interface SwapProps {
|
|
|
4422
4512
|
/** @deprecated Use `onValueChange` — it receives the same `checked` boolean. */
|
|
4423
4513
|
onChange?: (checked: boolean) => void;
|
|
4424
4514
|
mode?: SwapMode;
|
|
4515
|
+
/**
|
|
4516
|
+
* Invisible accessible name. The catalog convention (see the item-identity table in
|
|
4517
|
+
* `docs/AI-RULES.md`); `aria-label` is accepted as an alias for the DOM spelling.
|
|
4518
|
+
*/
|
|
4519
|
+
ariaLabel?: string;
|
|
4425
4520
|
'aria-label'?: string;
|
|
4426
4521
|
className?: string;
|
|
4427
4522
|
}
|
|
@@ -4433,6 +4528,7 @@ declare function Swap({
|
|
|
4433
4528
|
onChange,
|
|
4434
4529
|
mode,
|
|
4435
4530
|
className,
|
|
4531
|
+
ariaLabel,
|
|
4436
4532
|
...aria
|
|
4437
4533
|
}: SwapProps): import("react").JSX.Element;
|
|
4438
4534
|
interface SwipeAction {
|
|
@@ -4792,4 +4888,4 @@ declare function themePreloadScript(options?: {
|
|
|
4792
4888
|
attribute?: string;
|
|
4793
4889
|
defaultTheme?: string;
|
|
4794
4890
|
}): string;
|
|
4795
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, ActionSheet, ActionSheetAction, ActionSheetProps, Alert, AlertDialog, AlertDialogLabels, AlertDialogProps, AlertProps, AppShell, AppShellProps, AspectRatio, AspectRatioProps, AutoGrid, AutoGridProps, Avatar, AvatarGroup, AvatarGroupLabels, AvatarGroupProps, AvatarProps, Badge, BadgeProps, Blockquote, BlockquoteProps, BottomSheet, BottomSheetProps, Breadcrumb, BreadcrumbItem, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Calendar, CalendarLabels, CalendarProps, Card, CardContent, CardContentProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselLabels, CarouselProps, Center, CenterProps, ChatBubble, ChatBubbleProps, ChatBubbleSide, Checkbox, CheckboxCard, CheckboxCardProps, CheckboxProps, Code, type CodeLang, CodeProps, CodeSnippet, CodeSnippetProps, Collapsible, CollapsibleProps, ColorPicker, ColorPickerLabels, ColorPickerProps, Column, Columns, ColumnsProps, Combobox, ComboboxLabels, ComboboxOption, ComboboxProps, CommandAction, CommandGroup, CommandItem, CommandMenu, CommandMenuProps, CommandPage, CommandScope, CommandStatus, Comparison, ComparisonProps, ContainedList, ContainedListItem, ContainedListItemProps, ContainedListProps, ContextMenu, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, CopyButton, CopyButtonProps, DataList, DataListItem, DataListProps, DataTable, DataTableLabels, DataTableProps, DatePicker, DatePickerLabels, DatePickerProps, DateRange, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateRangePreset, DismissableLayer, type DismissableLayerProps, Dock, DockItem, DockProps, Drawer, DrawerProps, Dropdown, DropdownItem, DropdownProps, Editable, EditableProps, EmptyState, EmptyStateProps, ErrorBoundary, Fab, FabAction, FabProps, Field, FieldProps, FileUploader, FileUploaderLabels, FileUploaderProps, Filter, FilterOption, FilterProps, FilterVariant, Flex, FlexProps, FocusScope, Form, FormConfig, FormProps, FormStore, FuzzyMatch, Grid, GridAlign, GridItem, GridItemProps, GridProps, Header, HeaderLabels, HeaderLink, HeaderPanel, HeaderPanelLabels, HeaderPanelProps, HeaderProps, Heading, HeadingLevel, HeadingProps, HeadingSize, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, IconButton, IconButtonProps, Image, ImageProps, Indicator, IndicatorPlacement, IndicatorProps, InlineLoading, InlineLoadingProps, InlineLoadingStatus, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputProps, Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, ItemDescription, ItemDescriptionProps, ItemMedia, ItemMediaProps, ItemProps, ItemTitle, ItemTitleProps, Join, JoinOrientation, JoinProps, Kbd, KbdProps, Label, LabelProps, Link, type LinkComponent, type LinkComponentProps, LinkProps, List, ListItem, ListItemProps, ListProps, LogLevel, LogLine, LogViewer, LogViewerLabels, LogViewerProps, type Machine, type MachineConfig, Menu, MenuButton, MenuButtonItem, MenuButtonProps, MenuItem, MenuItemProps, MenuProps, MenuSeparator, MenuTrigger, MenuTriggerProps, Menubar, MenubarItem, MenubarMenu, MenubarProps, Modal, ModalProps, MultiSelect, MultiSelectLabels, MultiSelectOption, MultiSelectProps, NativeSelect, NativeSelectOption, NativeSelectProps, NavigationMenu, NavigationMenuItem, NavigationMenuProps, Notification, NotificationProps, NotificationVariant, NumberInput, NumberInputProps, OtpInput, OtpInputProps, OverflowMenu, OverflowMenuItem, OverflowMenuProps, PageHeader, PageHeaderProps, Pagination, PaginationLabels, PaginationProps, PasswordInput, PasswordInputLabels, PasswordInputProps, Popover, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, Portal, Presence, Progress, ProgressBar, ProgressBarProps, ProgressCircle, ProgressCircleProps, ProgressIndicator, ProgressIndicatorProps, ProgressProps, ProgressSize, ProgressStep, ProgressVariant, Prose, ProseProps, PullToRefresh, PullToRefreshProps, QrCode, QrCodeProps, RadialProgress, RadialProgressProps, RadialProgressSize, RadialProgressVariant, Radio, RadioCard, RadioCardGroup, RadioCardGroupProps, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, RatingGroup, RatingGroupLabels, RatingGroupProps, RelativeTime, RelativeTimeProps, Resizable, ResizableProps, Responsive, ScrollArea, ScrollAreaProps, Search, SearchProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, ShellHeader, ShellHeaderAction, ShellHeaderBrand, ShellHeaderLabels, ShellHeaderNavItem, ShellHeaderNavLink, ShellHeaderNavMenu, ShellHeaderNavMenuItem, ShellHeaderProps, SideNav, SideNavGroup, SideNavItem, SideNavLinkProps, SideNavLinkSubItem, SideNavProps, SideNavSubItem, SideNavTone, Skeleton, SkeletonProps, SkipNavLink, SkipNavLinkProps, SkipNavTarget, SkipNavTargetProps, Slider, SliderProps, Slot, type SlotProps, SortDirection, SortState, Spacer, SpacerProps, Spinner, SpinnerProps, Stack, StackProps, type StandardSchemaV1, Stat, StatProps, Status, StatusProps, Step, StepState, Steps, StepsProps, StructuredList, StructuredListItem, StructuredListProps, SuspenseBoundary, Swap, SwapMode, SwapProps, SwipeAction, SwipeItem, SwipeItemProps, Switcher, SwitcherEntry, SwitcherLink, SwitcherProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsProps, TabsTrigger, TabsTriggerProps, Tag, TagProps, TagsInput, TagsInputProps, Text, TextProps, Textarea, TextareaProps, ThemeProvider, type ThemeProviderProps, Tile, TileProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineProps, ToastOptions, ToastProvider, ToastVariant, Toc, TocItem, TocProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupProps, ToggleProps, Toggletip, ToggletipPlacement, ToggletipProps, Tooltip, TooltipProps, TreeNode, TreeView, TreeViewProps, UploaderFile, type UseClipboardOptions, type UseClipboardReturn, type UseControllableSignalOptions, type UseDisclosureOptions, type UseDisclosureReturn, type UsePopoverOptions, type UsePopoverReturn, type UseTocFromRegionOptions, User, UserProps, VisuallyHidden, VisuallyHiddenProps, applyTheme, batch, cn, composeRefs, computePosition, computed, createForm, createMachine, createScope, createStreamBuffer, dismissAllToasts, effect, fuzzyMatch, fuzzyScore, getLinkComponent, mergeProps, setLinkComponent, setTheme, signal, themePreloadScript, themeSignal, treeViewMessages, useAnchorPosition, useClipboard, useComputed, useControllableSignal, useDisclosure, useEffectPropSignal, useForm, useId, useMachine, useMediaQuery, usePopover, useRovingFocus, useScope, useScrollLock, useSignal, useSignalEffect, useSignals, useStreamBuffer, useTheme, useToast, useTocFromRegion, useTypeahead };
|
|
4891
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, ActionSheet, ActionSheetAction, ActionSheetProps, Alert, AlertDialog, AlertDialogLabels, AlertDialogProps, AlertProps, AppShell, AppShellProps, AspectRatio, AspectRatioProps, AutoGrid, AutoGridProps, Avatar, AvatarGroup, AvatarGroupLabels, AvatarGroupProps, AvatarProps, Badge, BadgeProps, Blockquote, BlockquoteProps, BottomSheet, BottomSheetProps, Breadcrumb, BreadcrumbItem, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, Calendar, CalendarLabels, CalendarProps, Card, CardContent, CardContentProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardTitle, CardTitleProps, Carousel, CarouselLabels, CarouselProps, Center, CenterProps, ChatBubble, ChatBubbleProps, ChatBubbleSide, Checkbox, CheckboxCard, CheckboxCardProps, CheckboxProps, Code, type CodeLang, CodeProps, CodeSnippet, CodeSnippetProps, Collapsible, CollapsibleProps, ColorPicker, ColorPickerLabels, ColorPickerProps, Column, Columns, ColumnsProps, Combobox, ComboboxLabels, ComboboxOption, ComboboxProps, CommandAction, CommandGroup, CommandItem, CommandMenu, CommandMenuProps, CommandPage, CommandScope, CommandStatus, Comparison, ComparisonProps, ContainedList, ContainedListItem, ContainedListItemProps, ContainedListProps, ContextMenu, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, CopyButton, CopyButtonProps, DataList, DataListItem, DataListProps, DataTable, DataTableLabels, DataTableProps, DatePicker, DatePickerLabels, DatePickerProps, DateRange, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateRangePreset, DismissableLayer, type DismissableLayerProps, Dock, DockItem, DockProps, Drawer, DrawerProps, Dropdown, DropdownItem, DropdownProps, Editable, EditableProps, EmptyState, EmptyStateProps, ErrorBoundary, Fab, FabAction, FabProps, Field, FieldProps, FileUploader, FileUploaderLabels, FileUploaderProps, Filter, FilterOption, FilterProps, FilterVariant, Flex, FlexProps, FocusScope, Form, FormConfig, FormProps, FormStore, FuzzyMatch, Grid, GridAlign, GridItem, GridItemProps, GridProps, Header, HeaderLabels, HeaderLink, HeaderPanel, HeaderPanelLabels, HeaderPanelProps, HeaderProps, Heading, HeadingLevel, HeadingProps, HeadingSize, HoverCard, HoverCardContent, HoverCardContentProps, HoverCardProps, HoverCardTrigger, HoverCardTriggerProps, IconButton, IconButtonProps, Image, ImageProps, Indicator, IndicatorPlacement, IndicatorProps, InlineLoading, InlineLoadingProps, InlineLoadingStatus, Input, InputGroup, InputGroupAddon, type InputGroupAddonProps, type InputGroupProps, InputProps, Item, ItemActions, ItemActionsProps, ItemContent, ItemContentProps, ItemDescription, ItemDescriptionProps, ItemMedia, ItemMediaProps, ItemProps, ItemTitle, ItemTitleProps, Join, JoinOrientation, JoinProps, Kbd, KbdProps, Label, LabelProps, Link, type LinkComponent, type LinkComponentProps, LinkProps, List, ListItem, ListItemProps, ListProps, LogLevel, LogLine, LogViewer, LogViewerLabels, LogViewerProps, type Machine, type MachineConfig, Menu, MenuButton, MenuButtonItem, MenuButtonProps, MenuItem, MenuItemProps, MenuProps, MenuSeparator, MenuTrigger, MenuTriggerProps, Menubar, MenubarBaseProps, MenubarItem, MenubarMenu, MenubarProps, Modal, ModalProps, MultiSelect, MultiSelectLabels, MultiSelectOption, MultiSelectProps, NativeSelect, NativeSelectOption, NativeSelectProps, NavigationMenu, NavigationMenuItem, NavigationMenuProps, Notification, NotificationProps, NotificationVariant, NumberInput, NumberInputProps, OtpInput, OtpInputProps, OverflowMenu, OverflowMenuItem, OverflowMenuProps, PageHeader, PageHeaderProps, Pagination, PaginationLabels, PaginationProps, PasswordInput, PasswordInputLabels, PasswordInputProps, Popover, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, Portal, Presence, Progress, ProgressBar, ProgressBarProps, ProgressCircle, ProgressCircleProps, ProgressIndicator, ProgressIndicatorProps, ProgressProps, ProgressSize, ProgressStep, ProgressVariant, Prose, ProseProps, PullToRefresh, PullToRefreshProps, QrCode, QrCodeProps, RadialProgress, RadialProgressProps, RadialProgressSize, RadialProgressVariant, Radio, RadioCard, RadioCardGroup, RadioCardGroupProps, RadioCardProps, RadioGroup, RadioGroupProps, RadioProps, RatingGroup, RatingGroupLabels, RatingGroupProps, RelativeTime, RelativeTimeProps, Resizable, ResizableProps, Responsive, ScrollArea, ScrollAreaProps, Search, SearchProps, SegmentedControl, SegmentedControlOption, SegmentedControlProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, ShellHeader, ShellHeaderAction, ShellHeaderBrand, ShellHeaderLabels, ShellHeaderNavItem, ShellHeaderNavLink, ShellHeaderNavMenu, ShellHeaderNavMenuItem, ShellHeaderProps, SideNav, SideNavGroup, SideNavItem, SideNavLinkProps, SideNavLinkSubItem, SideNavProps, SideNavSubItem, SideNavTone, Skeleton, SkeletonProps, SkipNavLink, SkipNavLinkProps, SkipNavTarget, SkipNavTargetProps, Slider, SliderProps, Slot, type SlotProps, SortDirection, SortState, Spacer, SpacerProps, Spinner, SpinnerProps, Stack, StackProps, type StandardSchemaV1, Stat, StatProps, Status, StatusProps, Step, StepState, Steps, StepsProps, StructuredList, StructuredListItem, StructuredListProps, SuspenseBoundary, Swap, SwapMode, SwapProps, SwipeAction, SwipeItem, SwipeItemProps, Switcher, SwitcherEntry, SwitcherLink, SwitcherProps, Tabs, TabsContent, TabsContentProps, TabsList, TabsProps, TabsTrigger, TabsTriggerProps, Tag, TagProps, TagsInput, TagsInputProps, Text, TextProps, Textarea, TextareaProps, ThemeProvider, type ThemeProviderProps, Tile, TileProps, TimePicker, TimePickerProps, Timeline, TimelineItem, TimelineProps, ToastOptions, ToastProvider, ToastVariant, Toc, TocItem, TocProps, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupProps, ToggleProps, Toggletip, ToggletipPlacement, ToggletipProps, Tooltip, TooltipProps, TreeNode, TreeView, TreeViewProps, UploaderFile, type UseClipboardOptions, type UseClipboardReturn, type UseControllableSignalOptions, type UseDisclosureOptions, type UseDisclosureReturn, type UsePopoverOptions, type UsePopoverReturn, type UseTocFromRegionOptions, User, UserProps, VisuallyHidden, VisuallyHiddenProps, applyTheme, batch, cn, composeRefs, computePosition, computed, createForm, createMachine, createScope, createStreamBuffer, dismissAllToasts, effect, fuzzyMatch, fuzzyScore, getLinkComponent, mergeProps, setLinkComponent, setTheme, signal, themePreloadScript, themeSignal, treeViewMessages, useAnchorPosition, useClipboard, useComputed, useControllableSignal, useDisclosure, useEffectPropSignal, useForm, useId, useMachine, useMediaQuery, usePopover, useRovingFocus, useScope, useScrollLock, useSignal, useSignalEffect, useSignals, useStreamBuffer, useTheme, useToast, useTocFromRegion, useTypeahead };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import { Spinner as e } from "../spinner/spinner.js";
|
|
4
2
|
import t from "./inline-loading.module.js";
|
|
5
|
-
import { cn as n } from "@cascivo/core";
|
|
3
|
+
import { cn as n } from "@cascivo/core/pure";
|
|
6
4
|
import { builtin as r, t as i } from "@cascivo/i18n";
|
|
7
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
8
6
|
//#region ../components/src/inline-loading/inline-loading.tsx
|
package/dist/input/input.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
import e from "./input.module.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { forwardRef as t } from "react";
|
|
5
|
+
import { cn as n, createMachine as r, useMachine as i } from "@cascivo/core";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
//#region ../components/src/input/input.tsx
|
|
8
|
-
var s =
|
|
8
|
+
var s = r({
|
|
9
9
|
initial: "idle",
|
|
10
10
|
states: {
|
|
11
11
|
idle: { on: { FOCUS: "focused" } },
|
|
12
12
|
focused: { on: { BLUR: "idle" } }
|
|
13
13
|
}
|
|
14
|
-
}), c =
|
|
15
|
-
let [g, _] =
|
|
14
|
+
}), c = t(function({ label: t, hint: r, error: c, size: l = "md", className: u, id: d, onFocus: f, onBlur: p, ...m }, h) {
|
|
15
|
+
let [g, _] = i(s), v = d ?? (t ? `cascade-input-${t.toLowerCase().replace(/\s+/g, "-")}` : void 0);
|
|
16
16
|
return /* @__PURE__ */ o("div", {
|
|
17
|
-
className:
|
|
17
|
+
className: n(e.wrapper, u),
|
|
18
18
|
"data-state": c ? "error" : g.value,
|
|
19
19
|
"data-size": l,
|
|
20
20
|
children: [
|
|
21
|
-
|
|
21
|
+
t && /* @__PURE__ */ a("label", {
|
|
22
22
|
className: e.label,
|
|
23
23
|
htmlFor: v,
|
|
24
|
-
children:
|
|
24
|
+
children: t
|
|
25
25
|
}),
|
|
26
26
|
/* @__PURE__ */ a("input", {
|
|
27
27
|
ref: h,
|
|
28
28
|
id: v,
|
|
29
29
|
className: e.input,
|
|
30
30
|
"aria-invalid": c ? !0 : void 0,
|
|
31
|
-
"aria-describedby": c ? `${v}-error` :
|
|
31
|
+
"aria-describedby": c ? `${v}-error` : r ? `${v}-hint` : void 0,
|
|
32
32
|
onFocus: (e) => {
|
|
33
33
|
_("FOCUS"), f?.(e);
|
|
34
34
|
},
|
|
@@ -43,10 +43,10 @@ var s = n({
|
|
|
43
43
|
role: "alert",
|
|
44
44
|
children: c
|
|
45
45
|
}),
|
|
46
|
-
!c &&
|
|
46
|
+
!c && r && /* @__PURE__ */ a("span", {
|
|
47
47
|
id: `${v}-hint`,
|
|
48
48
|
className: e.hint,
|
|
49
|
-
children:
|
|
49
|
+
children: r
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./input-group.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
4
|
//#region ../components/src/input-group/input-group.tsx
|
|
7
5
|
function i({ align: r = "inline-start", children: i, className: a, ...o }) {
|
package/dist/item/item.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./item.module.js";
|
|
4
|
-
import { Slot as t, cn as n } from "@cascivo/core";
|
|
2
|
+
import { Slot as t, cn as n } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
4
|
//#region ../components/src/item/item.tsx
|
|
7
5
|
function i({ asChild: i = !1, variant: a = "default", size: o = "md", className: s, children: c, ...l }) {
|
package/dist/item/item.module.js
CHANGED
package/dist/join/join.js
CHANGED
package/dist/join/join.module.js
CHANGED
package/dist/kbd/kbd.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./kbd.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
//#region ../components/src/kbd/kbd.tsx
|
|
7
5
|
function r({ size: r = "md", className: i, children: a, ...o }) {
|
package/dist/kbd/kbd.module.js
CHANGED
package/dist/label/label.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./label.module.js";
|
|
4
|
-
import { Slot as t, cn as n } from "@cascivo/core";
|
|
2
|
+
import { Slot as t, cn as n } from "@cascivo/core/pure";
|
|
5
3
|
import { builtin as r, t as i } from "@cascivo/i18n";
|
|
6
4
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
7
5
|
//#region ../components/src/label/label.tsx
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./auto-grid.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
//#region ../layouts/src/auto-grid/auto-grid.tsx
|
|
7
5
|
function r({ min: r = "16rem", gap: i = 4, className: a, style: o, ...s }) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./center.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
//#region ../layouts/src/center/center.tsx
|
|
7
5
|
function r({ maxWidth: r = "48rem", className: i, style: a, ...o }) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./columns.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
//#region ../layouts/src/columns/columns.tsx
|
|
7
5
|
function r({ count: r = 2, gap: i = 4, className: a, style: o, children: s, ...c }) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./flex.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
6
4
|
//#region ../layouts/src/flex/flex.tsx
|
|
7
5
|
function r({ direction: r = "vertical", gap: i = 4, align: a, justify: o, wrap: s = !1, className: c, style: l, ...u }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer cascivo.component{.
|
|
1
|
+
@layer cascivo.component{._header_18phh_2{gap:var(--cascivo-space-2);flex-direction:column;display:flex}._breadcrumb_18phh_8{color:var(--cascivo-color-text-muted)}._row_18phh_12{justify-content:space-between;align-items:center;gap:var(--cascivo-space-4);flex-wrap:wrap;display:flex}._title_18phh_20{font-size:var(--cascivo-text-2xl,1.5rem);font-weight:var(--cascivo-font-bold,700);color:var(--cascivo-color-text);margin:0;line-height:1.2}._actions_18phh_28{align-items:center;gap:var(--cascivo-space-2);flex-shrink:0;display:flex}._description_18phh_35{color:var(--cascivo-color-text-muted);font-size:var(--cascivo-text-sm);margin:0}}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import e from "./page-header.module.js";
|
|
4
|
-
import { cn as t } from "@cascivo/core";
|
|
2
|
+
import { cn as t } from "@cascivo/core/pure";
|
|
5
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
4
|
//#region ../layouts/src/page-header/page-header.tsx
|
|
7
5
|
function i({ title: i, description: a, breadcrumb: o, actions: s, className: c }) {
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
|
|
3
1
|
import './page-header.css';
|
|
4
2
|
var e = {
|
|
5
|
-
header: "
|
|
6
|
-
breadcrumb: "
|
|
7
|
-
row: "
|
|
8
|
-
title: "
|
|
9
|
-
actions: "
|
|
10
|
-
description: "
|
|
3
|
+
header: "_header_18phh_2",
|
|
4
|
+
breadcrumb: "_breadcrumb_18phh_8",
|
|
5
|
+
row: "_row_18phh_12",
|
|
6
|
+
title: "_title_18phh_20",
|
|
7
|
+
actions: "_actions_18phh_28",
|
|
8
|
+
description: "_description_18phh_35"
|
|
11
9
|
};
|
|
12
10
|
//#endregion
|
|
13
11
|
export { e as default };
|