@botiverse/raft-ui 0.93.0 → 0.95.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/CHANGELOG.md +24 -0
- package/codemods/button-sizes.mjs +14 -2
- package/dist/cn.d.mts +0 -2
- package/dist/cn.mjs +1 -2
- package/dist/components/activity-inbox/activity-inbox-shell.d.mts +1 -3
- package/dist/components/activity-inbox/activity-inbox-shell.mjs +2 -3
- package/dist/components/activity-inbox/activity-inbox-shell.recipe.mjs +1 -2
- package/dist/components/activity-inbox/activity-inbox-sidebar.d.mts +1 -3
- package/dist/components/activity-inbox/activity-inbox-sidebar.mjs +1 -2
- package/dist/components/activity-inbox/activity-inbox-sidebar.recipe.mjs +1 -2
- package/dist/components/activity-inbox/activity-inbox-toolbar.d.mts +1 -3
- package/dist/components/activity-inbox/activity-inbox-toolbar.mjs +1 -2
- package/dist/components/activity-inbox/activity-inbox-toolbar.recipe.mjs +1 -2
- package/dist/components/alert-dialog/alert-dialog.d.mts +1 -3
- package/dist/components/alert-dialog/alert-dialog.mjs +1 -2
- package/dist/components/announcement-dialog/announcement-dialog.d.mts +2 -4
- package/dist/components/announcement-dialog/announcement-dialog.mjs +2 -3
- package/dist/components/app-link-card/app-link-card.d.mts +1 -3
- package/dist/components/app-link-card/app-link-card.mjs +1 -2
- package/dist/components/app-rail/app-rail.d.mts +1 -3
- package/dist/components/app-rail/app-rail.mjs +1 -2
- package/dist/components/app-rail/app-rail.recipe.mjs +1 -2
- package/dist/components/app-shell/app-shell.d.mts +1 -3
- package/dist/components/app-shell/app-shell.mjs +2 -3
- package/dist/components/avatar/avatar.d.mts +4 -92
- package/dist/components/avatar/avatar.mjs +2 -3
- package/dist/components/badge/badge.d.mts +13 -66
- package/dist/components/badge/badge.mjs +1 -2
- package/dist/components/banner/banner.d.mts +3 -74
- package/dist/components/banner/banner.mjs +1 -2
- package/dist/components/button/button-split.d.mts +1 -2
- package/dist/components/button/button-split.mjs +1 -2
- package/dist/components/button/button.d.mts +3 -155
- package/dist/components/button/button.mjs +2 -3
- package/dist/components/card/card.d.mts +1 -3
- package/dist/components/card/card.mjs +1 -2
- package/dist/components/card/card.recipe.d.mts +2 -72
- package/dist/components/card/card.recipe.mjs +1 -2
- package/dist/components/checkbox/checkbox-indicator.d.mts +7 -62
- package/dist/components/checkbox/checkbox-indicator.mjs +1 -2
- package/dist/components/checkbox/checkbox.d.mts +0 -2
- package/dist/components/checkbox/checkbox.mjs +1 -2
- package/dist/components/choice-list/choice-list.d.mts +1 -2
- package/dist/components/choice-list/choice-list.mjs +3 -4
- package/dist/components/choice-list/choice-list.recipe.mjs +1 -2
- package/dist/components/code-block/code-block.d.mts +1 -3
- package/dist/components/code-block/code-block.mjs +1 -2
- package/dist/components/code-block/code-block.recipe.mjs +1 -2
- package/dist/components/combobox/combobox.d.mts +0 -2
- package/dist/components/combobox/combobox.mjs +4 -5
- package/dist/components/combobox-select/combobox-select.d.mts +1 -3
- package/dist/components/combobox-select/combobox-select.list-side.mjs +1 -2
- package/dist/components/combobox-select/combobox-select.mjs +4 -5
- package/dist/components/combobox-select/combobox-select.options.mjs +1 -2
- package/dist/components/combobox-select/combobox-select.types.d.mts +1 -2
- package/dist/components/combobox-select/index.d.mts +1 -1
- package/dist/components/comment/comment-card.d.mts +1 -3
- package/dist/components/comment/comment-card.mjs +1 -2
- package/dist/components/comment/comment-entry.d.mts +1 -3
- package/dist/components/comment/comment-entry.mjs +1 -2
- package/dist/components/comment/comment-highlight.d.mts +1 -3
- package/dist/components/comment/comment-highlight.mjs +1 -2
- package/dist/components/comment/comment-margin-layout.d.mts +1 -3
- package/dist/components/comment/comment-margin-layout.mjs +1 -2
- package/dist/components/comment/comment-margin.d.mts +1 -3
- package/dist/components/comment/comment-margin.mjs +1 -2
- package/dist/components/comment/comment-marker.d.mts +2 -4
- package/dist/components/comment/comment-marker.mjs +1 -2
- package/dist/components/comment/comment.recipe.mjs +1 -2
- package/dist/components/comment/use-comment-margin-fits.d.mts +1 -3
- package/dist/components/comment/use-comment-margin-fits.mjs +1 -2
- package/dist/components/composer/composer-attachment.recipe.mjs +1 -2
- package/dist/components/composer/composer-attachments-scroll-area.d.mts +1 -3
- package/dist/components/composer/composer-attachments-scroll-area.mjs +1 -2
- package/dist/components/composer/composer-attachments.d.mts +1 -3
- package/dist/components/composer/composer-attachments.mjs +1 -2
- package/dist/components/composer/composer-drop-overlay.d.mts +1 -3
- package/dist/components/composer/composer-drop-overlay.mjs +1 -2
- package/dist/components/composer/composer-drop-overlay.recipe.mjs +1 -2
- package/dist/components/composer/composer-root.d.mts +1 -3
- package/dist/components/composer/composer-root.mjs +1 -2
- package/dist/components/composer/composer-suggestion-list.d.mts +3 -78
- package/dist/components/composer/composer-suggestion-list.mjs +1 -2
- package/dist/components/composer/composer-toolbar-label.d.mts +1 -3
- package/dist/components/composer/composer-toolbar-label.mjs +1 -2
- package/dist/components/composer/composer.d.mts +2 -4
- package/dist/components/composer/composer.mjs +1 -2
- package/dist/components/composer/composer.recipe.mjs +2 -3
- package/dist/components/composer/sortable-composer-attachments.d.mts +1 -3
- package/dist/components/composer/sortable-composer-attachments.mjs +2 -3
- package/dist/components/composer/use-composer-suggestions.d.mts +1 -2
- package/dist/components/composer/use-composer-suggestions.mjs +1 -2
- package/dist/components/context-menu/context-menu.d.mts +2 -4
- package/dist/components/context-menu/context-menu.mjs +3 -4
- package/dist/components/conversation-panel/conversation-panel-empty-state.d.mts +1 -3
- package/dist/components/conversation-panel/conversation-panel-empty-state.mjs +1 -2
- package/dist/components/conversation-panel/conversation-panel.d.mts +1 -3
- package/dist/components/conversation-panel/conversation-panel.mjs +1 -2
- package/dist/components/conversation-panel/conversation-panel.recipe.mjs +1 -2
- package/dist/components/copyable-code/copyable-code.d.mts +3 -34
- package/dist/components/copyable-code/copyable-code.mjs +2 -3
- package/dist/components/description-list/description-list.d.mts +3 -34
- package/dist/components/description-list/description-list.mjs +2 -3
- package/dist/components/dialog/dialog-sheet-context.mjs +1 -2
- package/dist/components/dialog/dialog-sheet.d.mts +1 -3
- package/dist/components/dialog/dialog-sheet.mjs +3 -4
- package/dist/components/dialog/dialog.d.mts +2 -4
- package/dist/components/dialog/dialog.mjs +5 -6
- package/dist/components/drag/drag-announcements.d.mts +1 -3
- package/dist/components/drag/drag-announcements.mjs +1 -2
- package/dist/components/drag/drag-lift.d.mts +0 -2
- package/dist/components/drag/drag-lift.mjs +1 -2
- package/dist/components/drag/drag-lists.d.mts +1 -3
- package/dist/components/drag/drag-lists.mjs +2 -3
- package/dist/components/drag/drag-sensors.d.mts +1 -3
- package/dist/components/drag/drag-sensors.mjs +1 -2
- package/dist/components/drag/drag.recipe.d.mts +1 -3
- package/dist/components/drag/drag.recipe.mjs +1 -2
- package/dist/components/drag/drop-placeholder.d.mts +1 -3
- package/dist/components/drag/drop-placeholder.mjs +1 -2
- package/dist/components/drag/index.d.mts +3 -3
- package/dist/components/drawer/drawer.d.mts +0 -2
- package/dist/components/drawer/drawer.mjs +2 -3
- package/dist/components/drawer/drawer.recipe.mjs +1 -2
- package/dist/components/dropdown-menu/dropdown-menu.d.mts +4 -6
- package/dist/components/dropdown-menu/dropdown-menu.mjs +4 -5
- package/dist/components/ellipsis/ellipsis.d.mts +1 -3
- package/dist/components/ellipsis/ellipsis.mjs +2 -3
- package/dist/components/empty-state/empty-state.d.mts +1 -3
- package/dist/components/empty-state/empty-state.mjs +1 -2
- package/dist/components/field/field.d.mts +3 -39
- package/dist/components/field/field.mjs +1 -2
- package/dist/components/file-preview/file-preview.d.mts +1 -3
- package/dist/components/file-preview/file-preview.mjs +1 -2
- package/dist/components/file-preview/file-preview.recipe.d.mts +2 -68
- package/dist/components/file-preview/file-preview.recipe.mjs +1 -2
- package/dist/components/files/files.d.mts +1 -2
- package/dist/components/files/files.mjs +1 -2
- package/dist/components/files/files.recipe.mjs +1 -2
- package/dist/components/filter-chip/filter-chip.d.mts +2 -4
- package/dist/components/filter-chip/filter-chip.mjs +3 -4
- package/dist/components/fit-toolbar/fit-toolbar.d.mts +1 -3
- package/dist/components/fit-toolbar/fit-toolbar.mjs +5 -6
- package/dist/components/fit-toolbar/fit-toolbar.recipe.mjs +1 -2
- package/dist/components/form-section/form-section.d.mts +1 -3
- package/dist/components/form-section/form-section.mjs +1 -2
- package/dist/components/icon-tile/icon-tile.d.mts +3 -60
- package/dist/components/icon-tile/icon-tile.mjs +1 -2
- package/dist/components/inbox-item/inbox-item-leading-badge.d.mts +1 -3
- package/dist/components/inbox-item/inbox-item-leading-badge.mjs +1 -2
- package/dist/components/inbox-item/inbox-item-skeleton.d.mts +1 -2
- package/dist/components/inbox-item/inbox-item-skeleton.mjs +1 -2
- package/dist/components/inbox-item/inbox-item-skeleton.recipe.mjs +1 -2
- package/dist/components/inbox-item/inbox-item.d.mts +1 -3
- package/dist/components/inbox-item/inbox-item.mjs +3 -4
- package/dist/components/inbox-item/inbox-item.recipe.mjs +2 -3
- package/dist/components/inline-code/inline-code.d.mts +1 -3
- package/dist/components/inline-code/inline-code.mjs +1 -2
- package/dist/components/input/input.d.mts +1 -3
- package/dist/components/input/input.mjs +1 -2
- package/dist/components/input/input.recipe.mjs +1 -2
- package/dist/components/input-group/input-group.d.mts +4 -65
- package/dist/components/input-group/input-group.mjs +1 -2
- package/dist/components/kbd/kbd-keys.d.mts +1 -3
- package/dist/components/kbd/kbd-keys.mjs +1 -2
- package/dist/components/kbd/kbd-shortcut.d.mts +2 -4
- package/dist/components/kbd/kbd-shortcut.mjs +3 -4
- package/dist/components/kbd/kbd.d.mts +3 -28
- package/dist/components/kbd/kbd.mjs +2 -3
- package/dist/components/kbd-button/kbd-button.d.mts +2 -4
- package/dist/components/kbd-button/kbd-button.mjs +1 -2
- package/dist/components/label/label.d.mts +3 -30
- package/dist/components/label/label.mjs +1 -2
- package/dist/components/lightbox/lightbox.d.mts +1 -3
- package/dist/components/lightbox/lightbox.mjs +3 -4
- package/dist/components/list-row/list-row-skeleton.d.mts +1 -3
- package/dist/components/list-row/list-row-skeleton.mjs +2 -3
- package/dist/components/list-row/list-row.d.mts +2 -4
- package/dist/components/list-row/list-row.mjs +1 -2
- package/dist/components/list-row/list-row.recipe.d.mts +2 -96
- package/dist/components/list-row/list-row.recipe.mjs +1 -2
- package/dist/components/logo/raft-logo.d.mts +1 -3
- package/dist/components/logo/raft-logo.mjs +1 -2
- package/dist/components/markdown/markdown-parts.d.mts +4 -5
- package/dist/components/markdown/markdown-parts.mjs +2 -3
- package/dist/components/markdown/markdown.recipe.mjs +2 -3
- package/dist/components/message-action-card/message-action-card-content.recipe.mjs +1 -2
- package/dist/components/message-action-card/message-action-card.d.mts +3 -5
- package/dist/components/message-action-card/message-action-card.mjs +3 -4
- package/dist/components/message-action-card/message-action-card.recipe.mjs +1 -2
- package/dist/components/message-attachment/message-attachment.d.mts +1 -3
- package/dist/components/message-attachment/message-attachment.mjs +1 -2
- package/dist/components/message-attachment/message-attachment.recipe.mjs +1 -2
- package/dist/components/message-attachment/message-image-gallery-rows.d.mts +1 -3
- package/dist/components/message-attachment/message-image-gallery-rows.mjs +1 -2
- package/dist/components/message-attachment/message-image-gallery.d.mts +1 -3
- package/dist/components/message-attachment/message-image-gallery.mjs +1 -2
- package/dist/components/message-attachment/message-image-gallery.recipe.mjs +1 -2
- package/dist/components/message-attachment/message-video-preview.d.mts +1 -3
- package/dist/components/message-attachment/message-video-preview.mjs +1 -2
- package/dist/components/message-attachment/message-video-preview.recipe.mjs +1 -2
- package/dist/components/message-embed/message-embed.d.mts +1 -2
- package/dist/components/message-embed/message-embed.mjs +1 -2
- package/dist/components/message-embed/message-embed.recipe.d.mts +4 -131
- package/dist/components/message-embed/message-embed.recipe.mjs +1 -2
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.d.mts +1 -2
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.mjs +2 -3
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.recipe.mjs +1 -2
- package/dist/components/message-item/message-footer.d.mts +1 -3
- package/dist/components/message-item/message-footer.mjs +1 -2
- package/dist/components/message-item/message-footer.recipe.mjs +1 -2
- package/dist/components/message-item/message-item-content.d.mts +1 -3
- package/dist/components/message-item/message-item-content.mjs +1 -2
- package/dist/components/message-item/message-item-delegated.d.mts +1 -3
- package/dist/components/message-item/message-item-delegated.mjs +1 -2
- package/dist/components/message-item/message-item-gutter.d.mts +1 -3
- package/dist/components/message-item/message-item-gutter.mjs +1 -2
- package/dist/components/message-item/message-item-header.d.mts +1 -3
- package/dist/components/message-item/message-item-header.mjs +1 -2
- package/dist/components/message-item/message-item-label.mjs +1 -2
- package/dist/components/message-item/message-item-root.d.mts +1 -3
- package/dist/components/message-item/message-item-root.mjs +1 -2
- package/dist/components/message-item/message-item-toolbar.d.mts +1 -3
- package/dist/components/message-item/message-item-toolbar.mjs +1 -2
- package/dist/components/message-item/message-item.recipe.d.mts +3 -71
- package/dist/components/message-item/message-item.recipe.mjs +2 -3
- package/dist/components/message-item/message-multi-select.d.mts +1 -3
- package/dist/components/message-item/message-multi-select.mjs +1 -2
- package/dist/components/message-item/message-multi-select.recipe.mjs +1 -2
- package/dist/components/message-item/message-reaction.d.mts +1 -3
- package/dist/components/message-item/message-reaction.mjs +1 -2
- package/dist/components/message-item/message-reaction.recipe.mjs +1 -2
- package/dist/components/message-item/message-reference.d.mts +0 -2
- package/dist/components/message-item/message-reference.mjs +1 -2
- package/dist/components/message-item/message-reference.recipe.d.mts +1 -3
- package/dist/components/message-item/message-reference.recipe.mjs +2 -3
- package/dist/components/message-list/message-list-jump.d.mts +2 -4
- package/dist/components/message-list/message-list-jump.mjs +1 -2
- package/dist/components/message-list/message-list-markers.d.mts +1 -3
- package/dist/components/message-list/message-list-markers.mjs +1 -2
- package/dist/components/message-list/message-list.d.mts +1 -3
- package/dist/components/message-list/message-list.mjs +2 -3
- package/dist/components/message-list/message-list.recipe.mjs +1 -2
- package/dist/components/message-quoted-preview/message-quoted-preview.d.mts +1 -2
- package/dist/components/message-quoted-preview/message-quoted-preview.mjs +1 -2
- package/dist/components/message-quoted-preview/message-quoted-preview.recipe.mjs +1 -2
- package/dist/components/message-replies/message-replies.d.mts +1 -3
- package/dist/components/message-replies/message-replies.mjs +1 -2
- package/dist/components/message-replies/message-replies.recipe.mjs +1 -2
- package/dist/components/message-translation/message-translation.d.mts +1 -3
- package/dist/components/message-translation/message-translation.mjs +1 -2
- package/dist/components/message-translation/message-translation.recipe.mjs +1 -2
- package/dist/components/meter/meter.d.mts +3 -39
- package/dist/components/meter/meter.mjs +1 -2
- package/dist/components/mobile-nav/mobile-nav-server.d.mts +2 -4
- package/dist/components/mobile-nav/mobile-nav-server.mjs +4 -5
- package/dist/components/mobile-nav/mobile-nav.d.mts +1 -3
- package/dist/components/mobile-nav/mobile-nav.mjs +2 -3
- package/dist/components/notification-center/notification-center.d.mts +5 -124
- package/dist/components/notification-center/notification-center.mjs +5 -6
- package/dist/components/panel/index.d.mts +1 -1
- package/dist/components/panel/panel-action.d.mts +2 -4
- package/dist/components/panel/panel-action.mjs +2 -3
- package/dist/components/panel/panel-action.recipe.mjs +1 -2
- package/dist/components/panel/panel-header.d.mts +1 -3
- package/dist/components/panel/panel-header.mjs +2 -3
- package/dist/components/panel/panel-header.recipe.mjs +1 -2
- package/dist/components/panel/panel-notice.d.mts +1 -3
- package/dist/components/panel/panel-notice.mjs +1 -2
- package/dist/components/panel/panel-split-action.d.mts +2 -4
- package/dist/components/panel/panel-split-action.mjs +1 -2
- package/dist/components/panel/panel-split-action.recipe.mjs +1 -2
- package/dist/components/panel/panel-toggle-action.d.mts +1 -3
- package/dist/components/panel/panel-toggle-action.mjs +1 -2
- package/dist/components/panel/panel.d.mts +1 -3
- package/dist/components/panel/panel.mjs +1 -2
- package/dist/components/panel/panel.recipe.mjs +1 -2
- package/dist/components/picker-trigger-button/picker-trigger-button.d.mts +2 -4
- package/dist/components/picker-trigger-button/picker-trigger-button.mjs +2 -3
- package/dist/components/popover/popover.d.mts +0 -2
- package/dist/components/popover/popover.mjs +3 -4
- package/dist/components/preview-card/preview-card.d.mts +0 -2
- package/dist/components/preview-card/preview-card.mjs +4 -5
- package/dist/components/profile-panel/profile-panel.d.mts +1 -3
- package/dist/components/profile-panel/profile-panel.mjs +2 -3
- package/dist/components/profile-panel/profile-panel.recipe.mjs +1 -2
- package/dist/components/progress/progress.d.mts +3 -71
- package/dist/components/progress/progress.mjs +1 -2
- package/dist/components/pull-to-refresh/pull-to-refresh-gesture.d.mts +1 -3
- package/dist/components/pull-to-refresh/pull-to-refresh-gesture.mjs +1 -2
- package/dist/components/pull-to-refresh/pull-to-refresh-indicator.d.mts +1 -3
- package/dist/components/pull-to-refresh/pull-to-refresh-indicator.mjs +1 -2
- package/dist/components/pull-to-refresh/pull-to-refresh-material-progress.mjs +1 -2
- package/dist/components/pull-to-refresh/use-pull-to-refresh.d.mts +1 -3
- package/dist/components/pull-to-refresh/use-pull-to-refresh.mjs +1 -2
- package/dist/components/radio-group/radio-group.d.mts +0 -2
- package/dist/components/radio-group/radio-group.mjs +2 -3
- package/dist/components/resizable/resizable.d.mts +1 -3
- package/dist/components/resizable/resizable.mjs +1 -2
- package/dist/components/resizable/resizable.recipe.mjs +1 -2
- package/dist/components/save-status/save-status.d.mts +1 -3
- package/dist/components/save-status/save-status.mjs +1 -2
- package/dist/components/scroll-area/class-names.mjs +1 -2
- package/dist/components/scroll-area/gutters-binding.mjs +1 -2
- package/dist/components/scroll-area/index.d.mts +1 -1
- package/dist/components/scroll-area/scroll-area-gutters.d.mts +1 -3
- package/dist/components/scroll-area/scroll-area-gutters.mjs +1 -2
- package/dist/components/scroll-area/scroll-area-textarea.d.mts +1 -3
- package/dist/components/scroll-area/scroll-area-textarea.mjs +1 -2
- package/dist/components/scroll-area/scroll-area.d.mts +1 -3
- package/dist/components/scroll-area/scroll-area.mjs +1 -2
- package/dist/components/scroll-area/scroll-geometry.mjs +1 -2
- package/dist/components/scroll-area/scroll-to-element.mjs +1 -2
- package/dist/components/scroll-area/types.d.mts +1 -2
- package/dist/components/scroll-area/use-rail-pointer.mjs +1 -2
- package/dist/components/scroll-area/use-scroll-area-container.d.mts +1 -3
- package/dist/components/scroll-area/use-scroll-area-container.mjs +1 -2
- package/dist/components/scroll-area/use-scrollbars.mjs +1 -2
- package/dist/components/search/search-entity.d.mts +1 -2
- package/dist/components/search/search-entity.mjs +1 -2
- package/dist/components/search/search-entity.recipe.mjs +2 -3
- package/dist/components/search/search-message.d.mts +1 -2
- package/dist/components/search/search-message.mjs +1 -2
- package/dist/components/search/search-message.recipe.mjs +3 -4
- package/dist/components/search/search-thread.d.mts +1 -3
- package/dist/components/search/search-thread.mjs +1 -2
- package/dist/components/search/search-thread.recipe.mjs +1 -2
- package/dist/components/search/search-trigger.d.mts +1 -3
- package/dist/components/search/search-trigger.mjs +1 -2
- package/dist/components/search/search.d.mts +1 -3
- package/dist/components/search/search.mjs +2 -3
- package/dist/components/search/search.recipe.mjs +1 -2
- package/dist/components/segmented-control/segmented-control.d.mts +1 -3
- package/dist/components/segmented-control/segmented-control.mjs +3 -4
- package/dist/components/select/select.d.mts +1 -3
- package/dist/components/select/select.mjs +3 -4
- package/dist/components/selection-toolbar/selection-toolbar.d.mts +1 -3
- package/dist/components/selection-toolbar/selection-toolbar.mjs +2 -3
- package/dist/components/selection-toolbar/selection-toolbar.recipe.mjs +1 -2
- package/dist/components/separator/separator.d.mts +0 -2
- package/dist/components/separator/separator.mjs +1 -2
- package/dist/components/sidebar/sidebar-item.d.mts +3 -5
- package/dist/components/sidebar/sidebar-item.mjs +2 -3
- package/dist/components/sidebar/sidebar-item.recipe.mjs +2 -3
- package/dist/components/sidebar/sidebar-menu.d.mts +1 -3
- package/dist/components/sidebar/sidebar-menu.mjs +1 -2
- package/dist/components/sidebar/sidebar-menu.recipe.mjs +1 -2
- package/dist/components/sidebar/sidebar-section.d.mts +1 -3
- package/dist/components/sidebar/sidebar-section.mjs +1 -2
- package/dist/components/sidebar/sidebar-section.recipe.mjs +1 -2
- package/dist/components/sidebar/sidebar.d.mts +1 -3
- package/dist/components/sidebar/sidebar.mjs +2 -3
- package/dist/components/sidebar/sidebar.recipe.mjs +1 -2
- package/dist/components/skeleton/skeleton.d.mts +3 -32
- package/dist/components/skeleton/skeleton.mjs +1 -2
- package/dist/components/spinner/spinner.d.mts +3 -50
- package/dist/components/spinner/spinner.mjs +1 -2
- package/dist/components/status/status.d.mts +4 -91
- package/dist/components/status/status.mjs +2 -3
- package/dist/components/steps/otter-animation-visibility.mjs +1 -2
- package/dist/components/steps/otter-indicator.d.mts +1 -3
- package/dist/components/steps/otter-indicator.mjs +1 -2
- package/dist/components/steps/steps.d.mts +1 -3
- package/dist/components/steps/steps.mjs +1 -2
- package/dist/components/switch/switch.d.mts +0 -2
- package/dist/components/switch/switch.mjs +1 -2
- package/dist/components/system-message/system-message.d.mts +1 -3
- package/dist/components/system-message/system-message.mjs +1 -2
- package/dist/components/system-message/system-message.recipe.mjs +1 -2
- package/dist/components/table/table.d.mts +0 -2
- package/dist/components/table/table.mjs +1 -2
- package/dist/components/table/table.recipe.mjs +1 -2
- package/dist/components/tabs/tabs.d.mts +4 -88
- package/dist/components/tabs/tabs.mjs +5 -6
- package/dist/components/task-board/task-board-column.recipe.mjs +1 -2
- package/dist/components/task-board/task-board.d.mts +1 -3
- package/dist/components/task-board/task-board.mjs +1 -2
- package/dist/components/task-card/task-card-status.recipe.mjs +1 -2
- package/dist/components/task-card/task-card.d.mts +1 -3
- package/dist/components/task-card/task-card.mjs +2 -3
- package/dist/components/task-card/task-card.recipe.mjs +1 -2
- package/dist/components/task-completion-control/task-completion-control.d.mts +1 -2
- package/dist/components/task-completion-control/task-completion-control.mjs +1 -2
- package/dist/components/task-dnd/task-dnd.d.mts +1 -3
- package/dist/components/task-dnd/task-dnd.mjs +3 -4
- package/dist/components/task-dnd/task-dnd.recipe.mjs +1 -2
- package/dist/components/task-list/task-list-section.recipe.mjs +1 -2
- package/dist/components/task-list/task-list.d.mts +1 -3
- package/dist/components/task-list/task-list.mjs +1 -2
- package/dist/components/tasks/task-chip.d.mts +1 -3
- package/dist/components/tasks/task-chip.mjs +2 -3
- package/dist/components/tasks/task-loading.d.mts +1 -3
- package/dist/components/tasks/task-loading.mjs +1 -2
- package/dist/components/tasks/task-loading.recipe.mjs +1 -2
- package/dist/components/tasks/task-status-badge.d.mts +2 -3
- package/dist/components/tasks/task-status-badge.mjs +2 -3
- package/dist/components/tasks/task-status-icon.d.mts +1 -3
- package/dist/components/tasks/task-status-icon.mjs +1 -2
- package/dist/components/tasks/task-status.recipe.d.mts +16 -54
- package/dist/components/tasks/task-status.recipe.mjs +1 -2
- package/dist/components/tasks/tasks-panel.d.mts +1 -3
- package/dist/components/tasks/tasks-panel.mjs +1 -2
- package/dist/components/tasks/tasks-panel.recipe.mjs +1 -2
- package/dist/components/text/text.d.mts +7 -120
- package/dist/components/text/text.mjs +1 -2
- package/dist/components/text-link/text-link.d.mts +3 -15
- package/dist/components/text-link/text-link.mjs +1 -2
- package/dist/components/text-selection-toolbar/text-selection-anchor.d.mts +1 -3
- package/dist/components/text-selection-toolbar/text-selection-anchor.mjs +1 -2
- package/dist/components/text-selection-toolbar/text-selection-toolbar.d.mts +1 -3
- package/dist/components/text-selection-toolbar/text-selection-toolbar.mjs +1 -2
- package/dist/components/text-selection-toolbar/text-selection-toolbar.recipe.mjs +1 -2
- package/dist/components/textarea/textarea.d.mts +1 -3
- package/dist/components/textarea/textarea.mjs +1 -2
- package/dist/components/thread-panel/thread-panel.d.mts +1 -3
- package/dist/components/thread-panel/thread-panel.mjs +1 -2
- package/dist/components/thread-panel/thread-panel.recipe.mjs +1 -2
- package/dist/components/timeline/timeline.d.mts +1 -3
- package/dist/components/timeline/timeline.mjs +1 -2
- package/dist/components/toast/toast.d.mts +4 -99
- package/dist/components/toast/toast.mjs +3 -4
- package/dist/components/toggle-group/toggle-group.d.mts +0 -2
- package/dist/components/toggle-group/toggle-group.mjs +2 -3
- package/dist/components/tooltip/tooltip.d.mts +0 -2
- package/dist/components/tooltip/tooltip.mjs +2 -3
- package/dist/components/virtual-list/ItemColumns.mjs +1 -2
- package/dist/components/virtual-list/VirtualList.d.mts +1 -3
- package/dist/components/virtual-list/VirtualList.mjs +4 -5
- package/dist/components/virtual-list/VirtualListContext.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-event-callback.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-ios-momentum-compensation.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-keyboard-scroll.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-latest-ref.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-layout-effect-with-previous.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-memo-with-previous.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-non-passive-wheel.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-non-virtual-content-resize.mjs +1 -2
- package/dist/components/virtual-list/hooks/use-scroll-anchor.mjs +1 -2
- package/dist/components/virtual-list/index.d.mts +2 -2
- package/dist/components/virtual-list/public-types.d.mts +7 -9
- package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.d.mts +1 -3
- package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.mjs +2 -3
- package/dist/components/virtual-list/resize-observer/resize-observer-delegate.d.mts +1 -3
- package/dist/components/virtual-list/resize-observer/resize-observer-delegate.mjs +1 -2
- package/dist/components/virtual-list/utils/align.mjs +1 -2
- package/dist/components/virtual-list/utils/constants.mjs +1 -2
- package/dist/components/virtual-list/utils/fenwick-tree.mjs +1 -2
- package/dist/components/virtual-list/utils/items-anchor.mjs +1 -2
- package/dist/components/virtual-list/utils/measure.mjs +1 -2
- package/dist/components/virtual-list/utils/platform.mjs +0 -1
- package/dist/components/virtual-list/utils/range.mjs +1 -2
- package/dist/components/virtual-list/utils/size-cache.mjs +1 -2
- package/dist/components/web-top-bar/web-top-bar.d.mts +1 -3
- package/dist/components/web-top-bar/web-top-bar.mjs +1 -2
- package/dist/components/web-top-bar/web-top-bar.recipe.mjs +1 -2
- package/dist/components/workspace-button/workspace-button.d.mts +1 -3
- package/dist/components/workspace-button/workspace-button.mjs +1 -2
- package/dist/index-exports.d.mts +60 -64
- package/dist/index-exports.mjs +34 -37
- package/dist/index.d.mts +3 -6
- package/dist/lib/chip-remove.mjs +1 -2
- package/dist/lib/data-attributes.d.mts +1 -3
- package/dist/lib/decision-width.mjs +1 -2
- package/dist/lib/default-native-button.mjs +1 -2
- package/dist/lib/desktop-media.mjs +1 -2
- package/dist/lib/drag-escape.mjs +1 -2
- package/dist/lib/frame-insets.mjs +1 -2
- package/dist/lib/head-edges.mjs +1 -2
- package/dist/lib/hud-text-action.mjs +1 -2
- package/dist/lib/inline-chip.mjs +1 -2
- package/dist/lib/inline-part.mjs +1 -2
- package/dist/lib/input-modality.d.mts +1 -3
- package/dist/lib/input-modality.mjs +1 -2
- package/dist/lib/inside-overlay.d.mts +11 -2
- package/dist/lib/inside-overlay.mjs +17 -5
- package/dist/lib/label-value-fit.mjs +1 -2
- package/dist/lib/laid-out-children.mjs +1 -2
- package/dist/lib/list-cell.mjs +1 -2
- package/dist/lib/located.d.mts +1 -3
- package/dist/lib/located.mjs +1 -2
- package/dist/lib/overlay-depth.d.mts +1 -3
- package/dist/lib/overlay-depth.mjs +1 -2
- package/dist/lib/phone-media.mjs +1 -2
- package/dist/lib/presence.d.mts +1 -3
- package/dist/lib/presence.mjs +1 -2
- package/dist/lib/row-tone.d.mts +1 -3
- package/dist/lib/search-hit.mjs +1 -2
- package/dist/lib/stacked-actions.mjs +1 -2
- package/dist/lib/styled-props.d.mts +1 -3
- package/dist/lib/tap-activation.mjs +0 -1
- package/dist/lib/theme/theme-context.d.mts +1 -3
- package/dist/lib/theme/theme-context.mjs +1 -2
- package/dist/lib/theme/theme-provider.d.mts +1 -3
- package/dist/lib/theme/theme-provider.mjs +2 -3
- package/dist/lib/theme/theme-scope.mjs +1 -2
- package/dist/lib/theme/use-theme.d.mts +1 -3
- package/dist/lib/theme/use-theme.mjs +1 -2
- package/dist/lib/touch-drag.d.mts +1 -3
- package/dist/lib/touch-drag.mjs +1 -2
- package/dist/lib/truncation.d.mts +1 -3
- package/dist/lib/truncation.mjs +1 -2
- package/dist/lib/tv.mjs +1 -2
- package/dist/lib/use-attach-count.mjs +1 -2
- package/dist/lib/use-copy-to-clipboard.mjs +1 -2
- package/dist/lib/use-merged-ref.mjs +1 -2
- package/dist/lib/use-mobile-viewport.mjs +1 -2
- package/dist/lib/use-overflow-title.mjs +1 -2
- package/dist/lib/use-platform.d.mts +1 -3
- package/dist/lib/use-platform.mjs +1 -2
- package/dist/lib/use-scrollbar-size.d.mts +1 -3
- package/dist/lib/use-scrollbar-size.mjs +1 -2
- package/dist/lib/use-soft-keyboard.mjs +1 -2
- package/dist/lib/use-truncated.d.mts +1 -3
- package/dist/lib/use-truncated.mjs +1 -2
- package/dist/lib/without-children.d.mts +1 -3
- package/dist/lint/no-raw-z-index.mjs +1 -2
- package/dist/lint/prefer-scroll-area.d.mts +1 -3
- package/dist/lint/prefer-scroll-area.mjs +1 -2
- package/dist/lint.d.mts +0 -2
- package/dist/lint.mjs +2 -3
- package/dist/styles.css +3 -18
- package/dist/wip-exports.d.mts +32 -32
- package/dist/wip-exports.mjs +21 -21
- package/package.json +24 -21
- package/dist/components/icons/action-icons.d.mts +0 -36
- package/dist/components/icons/action-icons.mjs +0 -360
- package/dist/components/icons/conversation-icons.d.mts +0 -16
- package/dist/components/icons/conversation-icons.mjs +0 -112
- package/dist/components/icons/index.d.mts +0 -4
- package/dist/components/icons/object-icons.d.mts +0 -9
- package/dist/components/icons/object-icons.mjs +0 -30
|
@@ -4,7 +4,6 @@ import { FitToolbarGroupProps, FitToolbarMoreItems, FitToolbarProps } from "../f
|
|
|
4
4
|
import "../fit-toolbar/index.mjs";
|
|
5
5
|
import { ReactElement, ReactNode } from "react";
|
|
6
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
7
|
-
//#region src/components/selection-toolbar/selection-toolbar.d.ts
|
|
8
7
|
export type SelectionToolbarDockProps = useRender.ComponentProps<"div">;
|
|
9
8
|
/**
|
|
10
9
|
* Where the toolbar floats: centered, 12px above the bottom of the list or
|
|
@@ -96,5 +95,4 @@ export type SelectionToolbarCloseProps = Omit<ButtonProps, "variant" | "size" |
|
|
|
96
95
|
"aria-label": string;
|
|
97
96
|
};
|
|
98
97
|
/** ×, last: ends the selection, as Escape does. */
|
|
99
|
-
export declare function SelectionToolbarClose({ className, children, ...props }: SelectionToolbarCloseProps): import("react").JSX.Element;
|
|
100
|
-
//#endregion
|
|
98
|
+
export declare function SelectionToolbarClose({ className, children, ...props }: SelectionToolbarCloseProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../button/button.mjs";
|
|
2
2
|
import { DropdownMenuItem } from "../dropdown-menu/dropdown-menu.mjs";
|
|
3
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip/tooltip.mjs";
|
|
4
3
|
import { FitToolbar, FitToolbarGroup, FitToolbarMoreItems, useFitItem, useFitMore } from "../fit-toolbar/fit-toolbar.mjs";
|
|
4
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip/tooltip.mjs";
|
|
5
5
|
import { selectionToolbar } from "./selection-toolbar.recipe.mjs";
|
|
6
6
|
import { ChevronDown, MoreHorizontal, X } from "lucide-react";
|
|
7
7
|
import { cloneElement, useCallback } from "react";
|
|
@@ -9,7 +9,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
10
10
|
import { useRender } from "@base-ui/react/use-render";
|
|
11
11
|
import { Toolbar } from "@base-ui/react/toolbar";
|
|
12
|
-
|
|
12
|
+
// src/components/selection-toolbar/selection-toolbar.tsx
|
|
13
13
|
/**
|
|
14
14
|
* The order things give way in as the toolbar runs out of room: the hint,
|
|
15
15
|
* then the secondary actions into More (the last first), then the labels (the
|
|
@@ -213,5 +213,4 @@ function SelectionToolbarClose({ className, children, ...props }) {
|
|
|
213
213
|
children: children ?? /* @__PURE__ */ jsx(X, {})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
//#endregion
|
|
217
216
|
export { SelectionToolbar, SelectionToolbarAction, SelectionToolbarActions, SelectionToolbarClose, SelectionToolbarCount, SelectionToolbarCountValue, SelectionToolbarDock, SelectionToolbarHint, SelectionToolbarItem, SelectionToolbarMore, SelectionToolbarMoreItems };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/selection-toolbar/selection-toolbar.recipe.ts
|
|
3
3
|
const selectionToolbar = tv({
|
|
4
4
|
slots: {
|
|
5
5
|
dock: [
|
|
@@ -38,5 +38,4 @@ const selectionToolbar = tv({
|
|
|
38
38
|
},
|
|
39
39
|
variants: { menu: { true: { action: "md:pointer-fine:pr-2.5" } } }
|
|
40
40
|
});
|
|
41
|
-
//#endregion
|
|
42
41
|
export { selectionToolbar };
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { Separator } from "@base-ui/react/separator";
|
|
4
|
-
//#region src/components/separator/separator.d.ts
|
|
5
4
|
export type SeparatorProps = StyledProps<Separator.Props> & {
|
|
6
5
|
children?: ReactNode;
|
|
7
6
|
};
|
|
8
7
|
declare function Separator$1({ children, className, orientation, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
9
|
-
//#endregion
|
|
10
8
|
export { Separator$1 as Separator };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Separator } from "@base-ui/react/separator";
|
|
4
|
-
|
|
4
|
+
// src/components/separator/separator.tsx
|
|
5
5
|
const separator = tv({ slots: {
|
|
6
6
|
root: [
|
|
7
7
|
"shrink-0",
|
|
@@ -45,5 +45,4 @@ function Separator$1({ children, className, orientation = "horizontal", ...props
|
|
|
45
45
|
...props
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { Separator$1 as Separator };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RowTone } from "../../lib/row-tone.mjs";
|
|
2
|
-
import { BadgeProps } from "../badge/badge.mjs";
|
|
3
1
|
import "../badge/index.mjs";
|
|
2
|
+
import { BadgeProps } from "../badge/badge.mjs";
|
|
3
|
+
import { RowTone } from "../../lib/row-tone.mjs";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
5
|
-
//#region src/components/sidebar/sidebar-item.d.ts
|
|
6
5
|
export type SidebarItemRootProps = useRender.ComponentProps<"button"> & {
|
|
7
6
|
active?: boolean;
|
|
8
7
|
/** `false` renders a display-only `div`: no button, no type, nothing to
|
|
@@ -60,5 +59,4 @@ export type SidebarItemThreadCountProps = useRender.ComponentProps<"span"> & {
|
|
|
60
59
|
* Thread segment of an unread count: a thread icon followed by the number of
|
|
61
60
|
* threads with new replies. Works inside SidebarItemCount or as quiet text.
|
|
62
61
|
*/
|
|
63
|
-
export declare function SidebarItemThreadCount({ children, className, label, render, ...props }: SidebarItemThreadCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
64
|
-
//#endregion
|
|
62
|
+
export declare function SidebarItemThreadCount({ children, className, label, render, ...props }: SidebarItemThreadCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Badge } from "../badge/badge.mjs";
|
|
2
2
|
import { sidebarItemRecipe } from "./sidebar-item.recipe.mjs";
|
|
3
|
-
import { ThreadIcon } from "../icons/conversation-icons.mjs";
|
|
4
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
4
|
import { Button } from "@base-ui/react/button";
|
|
6
5
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
7
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
8
|
-
|
|
7
|
+
import { ThreadIcon } from "@botiverse/ricons";
|
|
8
|
+
// src/components/sidebar/sidebar-item.tsx
|
|
9
9
|
function SidebarItemRoot({ active = false, interactive = true, className, render, ...props }) {
|
|
10
10
|
const defaultProps = {
|
|
11
11
|
"data-slot": "sidebar-item",
|
|
@@ -197,5 +197,4 @@ function SidebarItemThreadCount({ children, className, label = "threads with new
|
|
|
197
197
|
props: mergeProps(defaultProps, props)
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
//#endregion
|
|
201
200
|
export { SidebarItem, SidebarItemAside, SidebarItemChannelIcon, SidebarItemContent, SidebarItemCount, SidebarItemCountSeparator, SidebarItemIcon, SidebarItemIndicator, SidebarItemMeta, SidebarItemMetaIcon, SidebarItemRoot, SidebarItemStatus, SidebarItemSubtitle, SidebarItemThreadCount, SidebarItemTitle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { tv } from "../../lib/tv.mjs";
|
|
2
1
|
import { listCell, listCellStates } from "../../lib/list-cell.mjs";
|
|
3
|
-
|
|
2
|
+
import { tv } from "../../lib/tv.mjs";
|
|
3
|
+
// src/components/sidebar/sidebar-item.recipe.ts
|
|
4
4
|
const sidebarItemRecipe = tv({
|
|
5
5
|
slots: {
|
|
6
6
|
sidebarItem: [
|
|
@@ -99,5 +99,4 @@ const sidebarItemRecipe = tv({
|
|
|
99
99
|
stacked: false
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
|
-
//#endregion
|
|
103
102
|
export { sidebarItemRecipe };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
-
//#region src/components/sidebar/sidebar-menu.d.ts
|
|
3
2
|
export type SidebarMenuProps = useRender.ComponentProps<"button">;
|
|
4
3
|
export declare function SidebarMenu({ className, render, ...props }: SidebarMenuProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
5
4
|
export type SidebarMenuIconProps = useRender.ComponentProps<"span">;
|
|
@@ -9,5 +8,4 @@ export declare function SidebarMenuTitle({ className, render, ...props }: Sideba
|
|
|
9
8
|
export type SidebarMenuAsideProps = useRender.ComponentProps<"span">;
|
|
10
9
|
export declare function SidebarMenuAside({ className, render, ...props }: SidebarMenuAsideProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
11
10
|
export type SidebarMenuCountProps = useRender.ComponentProps<"span">;
|
|
12
|
-
export declare function SidebarMenuCount({ className, render, ...props }: SidebarMenuCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
-
//#endregion
|
|
11
|
+
export declare function SidebarMenuCount({ className, render, ...props }: SidebarMenuCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { sidebarMenuRecipe } from "./sidebar-menu.recipe.mjs";
|
|
2
2
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
-
|
|
4
|
+
// src/components/sidebar/sidebar-menu.tsx
|
|
5
5
|
function SidebarMenu({ className, render, ...props }) {
|
|
6
6
|
const { sidebarMenu } = sidebarMenuRecipe();
|
|
7
7
|
const defaultProps = {
|
|
@@ -63,5 +63,4 @@ function SidebarMenuCount({ className, render, ...props }) {
|
|
|
63
63
|
props: mergeProps(defaultProps, props)
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
//#endregion
|
|
67
66
|
export { SidebarMenu, SidebarMenuAside, SidebarMenuCount, SidebarMenuIcon, SidebarMenuTitle };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/sidebar/sidebar-menu.recipe.ts
|
|
3
3
|
const sidebarMenuRecipe = tv({ slots: {
|
|
4
4
|
sidebarMenu: [
|
|
5
5
|
"flex min-w-0 flex-1 items-center",
|
|
@@ -18,5 +18,4 @@ const sidebarMenuRecipe = tv({ slots: {
|
|
|
18
18
|
sidebarMenuAside: ["flex shrink-0 items-center gap-1"],
|
|
19
19
|
sidebarMenuCount: ["font-mono text-mono-meta font-normal tabular-nums text-foreground-hint"]
|
|
20
20
|
} });
|
|
21
|
-
//#endregion
|
|
22
21
|
export { sidebarMenuRecipe };
|
|
@@ -5,7 +5,6 @@ import "../status/index.mjs";
|
|
|
5
5
|
import { ComponentProps } from "react";
|
|
6
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
7
7
|
import { Collapsible } from "@base-ui/react/collapsible";
|
|
8
|
-
//#region src/components/sidebar/sidebar-section.d.ts
|
|
9
8
|
export type SidebarSectionProps = Omit<ComponentProps<typeof Collapsible.Root>, "className"> & {
|
|
10
9
|
className?: string;
|
|
11
10
|
};
|
|
@@ -46,5 +45,4 @@ export declare function SidebarSectionControl({ className, render, size, variant
|
|
|
46
45
|
export type SidebarSectionEndChevronProps = Omit<SidebarSectionControlProps, "children" | "render">;
|
|
47
46
|
export declare function SidebarSectionEndChevron({ className, ...props }: SidebarSectionEndChevronProps): import("react").JSX.Element;
|
|
48
47
|
export type SidebarControlProps = SidebarSectionControlProps;
|
|
49
|
-
export declare const SidebarControl: typeof SidebarSectionControl;
|
|
50
|
-
//#endregion
|
|
48
|
+
export declare const SidebarControl: typeof SidebarSectionControl;
|
|
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
7
7
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
8
8
|
import { useRender } from "@base-ui/react/use-render";
|
|
9
9
|
import { Collapsible } from "@base-ui/react/collapsible";
|
|
10
|
-
|
|
10
|
+
// src/components/sidebar/sidebar-section.tsx
|
|
11
11
|
function SidebarSection({ className, defaultOpen = true, render, ...props }) {
|
|
12
12
|
const { sidebarSection } = sidebarSectionRecipe();
|
|
13
13
|
const defaultProps = {
|
|
@@ -186,5 +186,4 @@ function SidebarSectionEndChevron({ className, ...props }) {
|
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
const SidebarControl = SidebarSectionControl;
|
|
189
|
-
//#endregion
|
|
190
189
|
export { SidebarControl, SidebarList, SidebarSection, SidebarSectionAttention, SidebarSectionChevron, SidebarSectionControl, SidebarSectionControls, SidebarSectionCount, SidebarSectionDisclosure, SidebarSectionEmpty, SidebarSectionEndChevron, SidebarSectionHeader, SidebarSectionTitle, SidebarSectionTrailing };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/sidebar/sidebar-section.recipe.ts
|
|
3
3
|
const sidebarSectionRecipe = tv({ slots: {
|
|
4
4
|
sidebarSection: ["group/section", "px-0"],
|
|
5
5
|
sidebarList: ["flex flex-col gap-0.5 py-2 md:pointer-fine:pt-1"],
|
|
@@ -45,5 +45,4 @@ const sidebarSectionRecipe = tv({ slots: {
|
|
|
45
45
|
"not-pointer-fine:not-first:after:left-[-3px] not-pointer-fine:not-last:after:right-[-3px]"
|
|
46
46
|
]
|
|
47
47
|
} });
|
|
48
|
-
//#endregion
|
|
49
48
|
export { sidebarSectionRecipe };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
-
//#region src/components/sidebar/sidebar.d.ts
|
|
3
2
|
export type SidebarRootProps = useRender.ComponentProps<"div">;
|
|
4
3
|
export declare function SidebarRoot({ className, render, ...props }: SidebarRootProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
5
4
|
export type SidebarHeaderProps = useRender.ComponentProps<"div">;
|
|
@@ -11,5 +10,4 @@ export declare function SidebarGroupLabel({ className, render, ...props }: Sideb
|
|
|
11
10
|
export type SidebarBodyProps = useRender.ComponentProps<"div">;
|
|
12
11
|
export declare function SidebarBody({ className, render, ...props }: SidebarBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
13
12
|
export type SidebarContentProps = useRender.ComponentProps<"div">;
|
|
14
|
-
export declare function SidebarContent({ children, className, ...props }: SidebarContentProps): import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
13
|
+
export declare function SidebarContent({ children, className, ...props }: SidebarContentProps): import("react").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ScrollArea } from "../scroll-area/scroll-area.mjs";
|
|
2
1
|
import { useMobileViewport } from "../../lib/use-mobile-viewport.mjs";
|
|
2
|
+
import { ScrollArea } from "../scroll-area/scroll-area.mjs";
|
|
3
3
|
import { sidebarRecipe } from "./sidebar.recipe.mjs";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
6
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
7
|
-
|
|
7
|
+
// src/components/sidebar/sidebar.tsx
|
|
8
8
|
function SidebarRoot({ className, render, ...props }) {
|
|
9
9
|
const { sidebarRoot } = sidebarRecipe();
|
|
10
10
|
const defaultProps = {
|
|
@@ -136,5 +136,4 @@ function SidebarContent({ children, className, ...props }) {
|
|
|
136
136
|
})
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
//#endregion
|
|
140
139
|
export { SidebarBody, SidebarContent, SidebarGroupLabel, SidebarHeader, SidebarHeaderTitle, SidebarRoot };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { headEdgePull, listColumnMargin } from "../../lib/head-edges.mjs";
|
|
2
2
|
import { tv } from "../../lib/tv.mjs";
|
|
3
|
-
|
|
3
|
+
// src/components/sidebar/sidebar.recipe.ts
|
|
4
4
|
const sidebarRecipe = tv({ slots: {
|
|
5
5
|
sidebarRoot: [
|
|
6
6
|
"relative flex size-full min-h-0 select-none flex-col",
|
|
@@ -25,5 +25,4 @@ const sidebarRecipe = tv({ slots: {
|
|
|
25
25
|
sidebarViewport: ["size-full min-h-0 flex-1 overflow-x-hidden overflow-y-auto"],
|
|
26
26
|
sidebarContentInner: ["min-h-full min-w-0 w-full", "pt-2 pb-(--sidebar-content-bottom,8px)"]
|
|
27
27
|
} });
|
|
28
|
-
//#endregion
|
|
29
28
|
export { sidebarRecipe };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
|
|
4
|
-
declare const skeleton: import("tailwind-variants/lite").TVReturnType<{
|
|
3
|
+
declare const skeleton: import("tailwind-variants/config").TVReturnType<{
|
|
5
4
|
variant: {
|
|
6
5
|
line: {
|
|
7
6
|
root: string;
|
|
@@ -15,36 +14,8 @@ declare const skeleton: import("tailwind-variants/lite").TVReturnType<{
|
|
|
15
14
|
};
|
|
16
15
|
}, {
|
|
17
16
|
root: string[];
|
|
18
|
-
}, undefined,
|
|
19
|
-
variant: {
|
|
20
|
-
line: {
|
|
21
|
-
root: string;
|
|
22
|
-
};
|
|
23
|
-
block: {
|
|
24
|
-
root: string;
|
|
25
|
-
};
|
|
26
|
-
circle: {
|
|
27
|
-
root: string[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}, {
|
|
31
|
-
root: string[];
|
|
32
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
33
|
-
variant: {
|
|
34
|
-
line: {
|
|
35
|
-
root: string;
|
|
36
|
-
};
|
|
37
|
-
block: {
|
|
38
|
-
root: string;
|
|
39
|
-
};
|
|
40
|
-
circle: {
|
|
41
|
-
root: string[];
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}, {
|
|
45
|
-
root: string[];
|
|
46
|
-
}>>;
|
|
17
|
+
}, undefined, undefined, undefined, undefined>;
|
|
47
18
|
export type SkeletonVariant = NonNullable<VariantProps<typeof skeleton>["variant"]>;
|
|
48
19
|
export type SkeletonProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof skeleton>;
|
|
49
20
|
export declare function Skeleton({ variant, className, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
50
|
-
|
|
21
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/skeleton/skeleton.tsx
|
|
4
4
|
const skeleton = tv({
|
|
5
5
|
slots: { root: [
|
|
6
6
|
"animate-pulse motion-reduce:animate-none",
|
|
@@ -25,5 +25,4 @@ function Skeleton({ variant = "block", className, ...props }) {
|
|
|
25
25
|
...props
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
//#endregion
|
|
29
28
|
export { Skeleton };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { WithoutChildren } from "../../lib/without-children.mjs";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
-
|
|
5
|
-
declare const spinner: import("tailwind-variants/lite").TVReturnType<{
|
|
4
|
+
declare const spinner: import("tailwind-variants/config").TVReturnType<{
|
|
6
5
|
size: {
|
|
7
6
|
xs: {
|
|
8
7
|
root: string[];
|
|
@@ -25,53 +24,7 @@ declare const spinner: import("tailwind-variants/lite").TVReturnType<{
|
|
|
25
24
|
root: string[];
|
|
26
25
|
ring: string[];
|
|
27
26
|
pixel: string[];
|
|
28
|
-
}, undefined,
|
|
29
|
-
size: {
|
|
30
|
-
xs: {
|
|
31
|
-
root: string[];
|
|
32
|
-
};
|
|
33
|
-
sm: {};
|
|
34
|
-
md: {
|
|
35
|
-
root: string[];
|
|
36
|
-
};
|
|
37
|
-
lg: {
|
|
38
|
-
root: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
variant: {
|
|
42
|
-
default: {};
|
|
43
|
-
inverse: {
|
|
44
|
-
root: string[];
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
}, {
|
|
48
|
-
root: string[];
|
|
49
|
-
ring: string[];
|
|
50
|
-
pixel: string[];
|
|
51
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
52
|
-
size: {
|
|
53
|
-
xs: {
|
|
54
|
-
root: string[];
|
|
55
|
-
};
|
|
56
|
-
sm: {};
|
|
57
|
-
md: {
|
|
58
|
-
root: string[];
|
|
59
|
-
};
|
|
60
|
-
lg: {
|
|
61
|
-
root: string[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
variant: {
|
|
65
|
-
default: {};
|
|
66
|
-
inverse: {
|
|
67
|
-
root: string[];
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
}, {
|
|
71
|
-
root: string[];
|
|
72
|
-
ring: string[];
|
|
73
|
-
pixel: string[];
|
|
74
|
-
}>>;
|
|
27
|
+
}, undefined, undefined, undefined, undefined>;
|
|
75
28
|
export type SpinnerProps = WithoutChildren<useRender.ComponentProps<"span">> & VariantProps<typeof spinner>;
|
|
76
29
|
export declare function Spinner({ size, variant, className, render, ...props }: SpinnerProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
77
|
-
|
|
30
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { tv } from "../../lib/tv.mjs";
|
|
|
2
2
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
4
4
|
import { useRender } from "@base-ui/react/use-render";
|
|
5
|
-
|
|
5
|
+
// src/components/spinner/spinner.tsx
|
|
6
6
|
const SPINNER_STYLE = `
|
|
7
7
|
@keyframes raft-spinner-pixel {
|
|
8
8
|
0%,
|
|
@@ -114,5 +114,4 @@ function Spinner({ size = "sm", variant = "default", className, render, ...props
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
//#endregion
|
|
118
117
|
export { Spinner };
|
|
@@ -1,94 +1,7 @@
|
|
|
1
|
-
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
1
|
import { Presence } from "../../lib/presence.mjs";
|
|
2
|
+
import { VariantProps } from "../../lib/tv.mjs";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
-
|
|
5
|
-
declare const status: import("tailwind-variants/lite").TVReturnType<{
|
|
6
|
-
variant: {
|
|
7
|
-
default: {
|
|
8
|
-
root: string;
|
|
9
|
-
};
|
|
10
|
-
primary: {
|
|
11
|
-
root: string;
|
|
12
|
-
};
|
|
13
|
-
information: {
|
|
14
|
-
root: string;
|
|
15
|
-
};
|
|
16
|
-
muted: {
|
|
17
|
-
root: string;
|
|
18
|
-
};
|
|
19
|
-
accent: {
|
|
20
|
-
root: string;
|
|
21
|
-
};
|
|
22
|
-
success: {
|
|
23
|
-
root: string;
|
|
24
|
-
};
|
|
25
|
-
warning: {
|
|
26
|
-
root: string;
|
|
27
|
-
};
|
|
28
|
-
danger: {
|
|
29
|
-
root: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
xs: {
|
|
34
|
-
root: string;
|
|
35
|
-
};
|
|
36
|
-
sm: {
|
|
37
|
-
root: string;
|
|
38
|
-
};
|
|
39
|
-
md: {
|
|
40
|
-
root: string;
|
|
41
|
-
};
|
|
42
|
-
lg: {
|
|
43
|
-
root: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
}, {
|
|
47
|
-
root: string[];
|
|
48
|
-
}, undefined, {
|
|
49
|
-
variant: {
|
|
50
|
-
default: {
|
|
51
|
-
root: string;
|
|
52
|
-
};
|
|
53
|
-
primary: {
|
|
54
|
-
root: string;
|
|
55
|
-
};
|
|
56
|
-
information: {
|
|
57
|
-
root: string;
|
|
58
|
-
};
|
|
59
|
-
muted: {
|
|
60
|
-
root: string;
|
|
61
|
-
};
|
|
62
|
-
accent: {
|
|
63
|
-
root: string;
|
|
64
|
-
};
|
|
65
|
-
success: {
|
|
66
|
-
root: string;
|
|
67
|
-
};
|
|
68
|
-
warning: {
|
|
69
|
-
root: string;
|
|
70
|
-
};
|
|
71
|
-
danger: {
|
|
72
|
-
root: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
size: {
|
|
76
|
-
xs: {
|
|
77
|
-
root: string;
|
|
78
|
-
};
|
|
79
|
-
sm: {
|
|
80
|
-
root: string;
|
|
81
|
-
};
|
|
82
|
-
md: {
|
|
83
|
-
root: string;
|
|
84
|
-
};
|
|
85
|
-
lg: {
|
|
86
|
-
root: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
}, {
|
|
90
|
-
root: string[];
|
|
91
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
4
|
+
declare const status: import("tailwind-variants/config").TVReturnType<{
|
|
92
5
|
variant: {
|
|
93
6
|
default: {
|
|
94
7
|
root: string;
|
|
@@ -131,7 +44,7 @@ declare const status: import("tailwind-variants/lite").TVReturnType<{
|
|
|
131
44
|
};
|
|
132
45
|
}, {
|
|
133
46
|
root: string[];
|
|
134
|
-
}
|
|
47
|
+
}, undefined, undefined, undefined, undefined>;
|
|
135
48
|
export type StatusProps = Omit<useRender.ComponentProps<"span">, "children"> & VariantProps<typeof status> & {
|
|
136
49
|
/** A status light (online, busy, error, offline, external): a fixed
|
|
137
50
|
* meaning that needs its word nearby, or an aria-label. It takes the
|
|
@@ -140,4 +53,4 @@ export type StatusProps = Omit<useRender.ComponentProps<"span">, "children"> & V
|
|
|
140
53
|
};
|
|
141
54
|
declare function StatusRoot({ size, variant, presence, className, render, ...props }: StatusProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
142
55
|
export declare const Status: typeof StatusRoot;
|
|
143
|
-
|
|
56
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../../cn.mjs";
|
|
2
|
-
import { tv } from "../../lib/tv.mjs";
|
|
3
2
|
import { PRESENCE_COLOR } from "../../lib/presence.mjs";
|
|
3
|
+
import { tv } from "../../lib/tv.mjs";
|
|
4
4
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
5
5
|
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
-
|
|
6
|
+
// src/components/status/status.tsx
|
|
7
7
|
const status = tv({
|
|
8
8
|
slots: { root: [
|
|
9
9
|
"relative inline-block shrink-0",
|
|
@@ -52,5 +52,4 @@ function StatusRoot({ size, variant, presence, className, render, ...props }) {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
const Status = StatusRoot;
|
|
55
|
-
//#endregion
|
|
56
55
|
export { Status };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/steps/otter-animation-visibility.ts
|
|
2
2
|
/** One observer/listener per document, regardless of the number of illustrations. */
|
|
3
3
|
const documents = /* @__PURE__ */ new WeakMap();
|
|
4
4
|
function observeOtterAnimation(node) {
|
|
@@ -41,5 +41,4 @@ function observeOtterAnimation(node) {
|
|
|
41
41
|
}
|
|
42
42
|
return manager.observe(node);
|
|
43
43
|
}
|
|
44
|
-
//#endregion
|
|
45
44
|
export { observeOtterAnimation };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StepStatus } from "./steps.mjs";
|
|
2
2
|
import { ComponentPropsWithRef } from "react";
|
|
3
|
-
//#region src/components/steps/otter-indicator.d.ts
|
|
4
3
|
export interface OtterIndicatorProps extends Omit<ComponentPropsWithRef<"svg">, "children"> {
|
|
5
4
|
status: StepStatus;
|
|
6
5
|
}
|
|
@@ -10,5 +9,4 @@ export interface OtterIndicatorProps extends Omit<ComponentPropsWithRef<"svg">,
|
|
|
10
9
|
* Reduced motion shows a still pose. Give it an explicit square box, 40px or larger.
|
|
11
10
|
* Decorative by default; the consumer supplies the nearby status text.
|
|
12
11
|
*/
|
|
13
|
-
export declare function OtterIndicator({ status, className, ref, ...props }: OtterIndicatorProps): import("react").JSX.Element;
|
|
14
|
-
//#endregion
|
|
12
|
+
export declare function OtterIndicator({ status, className, ref, ...props }: OtterIndicatorProps): import("react").JSX.Element;
|
|
@@ -3,7 +3,7 @@ import { useMergedRef } from "../../lib/use-merged-ref.mjs";
|
|
|
3
3
|
import { observeOtterAnimation } from "./otter-animation-visibility.mjs";
|
|
4
4
|
import { useEffect, useRef } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/steps/otter-indicator.tsx
|
|
7
7
|
/**
|
|
8
8
|
* Ottie resting, quietly typing, tilting its head or celebrating.
|
|
9
9
|
* Wait/process loop only while visible. Error/finish play once on entry.
|
|
@@ -51,5 +51,4 @@ function OtterIndicator({ status, className, ref, ...props }) {
|
|
|
51
51
|
})]
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
|
-
//#endregion
|
|
55
54
|
export { OtterIndicator };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
2
|
-
//#region src/components/steps/steps.d.ts
|
|
3
2
|
/** `wait` is ahead, `process` is in progress, `finish` is done and `error` failed. */
|
|
4
3
|
export type StepStatus = "process" | "finish" | "error" | "wait";
|
|
5
4
|
export interface StepsProps extends Omit<ComponentPropsWithRef<"ol">, "onChange"> {
|
|
@@ -46,5 +45,4 @@ export interface StepProps extends Omit<ComponentPropsWithRef<"li">, "title"> {
|
|
|
46
45
|
*/
|
|
47
46
|
export declare function Steps({ current: currentProp, defaultCurrent, status, vertical, finishIcon, errorIcon, finishLabel, errorLabel, onUpdateCurrent, className, children, ref, ...props }: StepsProps): import("react").JSX.Element;
|
|
48
47
|
/** One step in `Steps`: a numbered marker, a title and a description. */
|
|
49
|
-
export declare function Step({ title, description, status: statusProp, icon, disabled, className, children, ...props }: StepProps): import("react").JSX.Element;
|
|
50
|
-
//#endregion
|
|
48
|
+
export declare function Step({ title, description, status: statusProp, icon, disabled, className, children, ...props }: StepProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../cn.mjs";
|
|
2
2
|
import { Children, createContext, isValidElement, use, useCallback, useId, useMemo, useState } from "react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/steps/steps.tsx
|
|
5
5
|
const StepsContext = createContext({
|
|
6
6
|
current: void 0,
|
|
7
7
|
status: "process",
|
|
@@ -170,5 +170,4 @@ function Step({ title, description, status: statusProp, icon, disabled = false,
|
|
|
170
170
|
})]
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
|
-
//#endregion
|
|
174
173
|
export { Step, Steps };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
2
|
import { Switch } from "@base-ui/react/switch";
|
|
3
|
-
//#region src/components/switch/switch.d.ts
|
|
4
3
|
export type SwitchProps = StyledProps<Switch.Root.Props>;
|
|
5
4
|
declare function Switch$1({ className, children, ...props }: SwitchProps): import("react").JSX.Element;
|
|
6
5
|
export type SwitchThumbProps = StyledProps<Switch.Thumb.Props>;
|
|
7
6
|
export declare function SwitchThumb({ className, ...props }: SwitchThumbProps): import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
9
7
|
export { Switch$1 as Switch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Switch } from "@base-ui/react/switch";
|
|
4
|
-
|
|
4
|
+
// src/components/switch/switch.tsx
|
|
5
5
|
const switchRecipe = tv({ slots: {
|
|
6
6
|
root: [
|
|
7
7
|
"relative inline-flex shrink-0 touch-manipulation items-center outline-none",
|
|
@@ -46,5 +46,4 @@ function SwitchThumb({ className, ...props }) {
|
|
|
46
46
|
...props
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
//#endregion
|
|
50
49
|
export { Switch$1 as Switch, SwitchThumb };
|