@botiverse/raft-ui 0.94.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 +15 -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 +59 -63
- package/dist/index-exports.mjs +34 -37
- package/dist/index.d.mts +2 -5
- 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 +1 -3
- package/dist/lib/inside-overlay.mjs +1 -2
- 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
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
|
|
4
|
-
declare const iconTile: import("tailwind-variants/lite").TVReturnType<{
|
|
3
|
+
declare const iconTile: import("tailwind-variants/config").TVReturnType<{
|
|
5
4
|
variant: {
|
|
6
5
|
default: {
|
|
7
6
|
root: string;
|
|
@@ -29,63 +28,7 @@ declare const iconTile: import("tailwind-variants/lite").TVReturnType<{
|
|
|
29
28
|
};
|
|
30
29
|
}, {
|
|
31
30
|
root: string[];
|
|
32
|
-
}, undefined,
|
|
33
|
-
variant: {
|
|
34
|
-
default: {
|
|
35
|
-
root: string;
|
|
36
|
-
};
|
|
37
|
-
warning: {
|
|
38
|
-
root: string;
|
|
39
|
-
};
|
|
40
|
-
information: {
|
|
41
|
-
root: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
size: {
|
|
45
|
-
xs: {
|
|
46
|
-
root: string;
|
|
47
|
-
};
|
|
48
|
-
sm: {
|
|
49
|
-
root: string;
|
|
50
|
-
};
|
|
51
|
-
md: {
|
|
52
|
-
root: string;
|
|
53
|
-
};
|
|
54
|
-
lg: {
|
|
55
|
-
root: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
}, {
|
|
59
|
-
root: string[];
|
|
60
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
61
|
-
variant: {
|
|
62
|
-
default: {
|
|
63
|
-
root: string;
|
|
64
|
-
};
|
|
65
|
-
warning: {
|
|
66
|
-
root: string;
|
|
67
|
-
};
|
|
68
|
-
information: {
|
|
69
|
-
root: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
size: {
|
|
73
|
-
xs: {
|
|
74
|
-
root: string;
|
|
75
|
-
};
|
|
76
|
-
sm: {
|
|
77
|
-
root: string;
|
|
78
|
-
};
|
|
79
|
-
md: {
|
|
80
|
-
root: string;
|
|
81
|
-
};
|
|
82
|
-
lg: {
|
|
83
|
-
root: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
root: string[];
|
|
88
|
-
}>>;
|
|
31
|
+
}, undefined, undefined, undefined, undefined>;
|
|
89
32
|
export type IconTileProps = useRender.ComponentProps<"span"> & VariantProps<typeof iconTile>;
|
|
90
33
|
/**
|
|
91
34
|
* A neutral square holding an icon, sized like an avatar: 19, 27, 35 or 51.
|
|
@@ -94,4 +37,4 @@ export type IconTileProps = useRender.ComponentProps<"span"> & VariantProps<type
|
|
|
94
37
|
* `aria-label`, and is announced.
|
|
95
38
|
*/
|
|
96
39
|
export declare function IconTile({ variant, size, className, render, ...props }: IconTileProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
97
|
-
|
|
40
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.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/icon-tile/icon-tile.tsx
|
|
5
5
|
const iconTile = tv({
|
|
6
6
|
slots: { root: ["inline-flex shrink-0 items-center justify-center", "rounded-sticker [&_svg]:shrink-0"] },
|
|
7
7
|
variants: {
|
|
@@ -45,5 +45,4 @@ function IconTile({ variant, size, className, render, ...props }) {
|
|
|
45
45
|
props: mergeProps(defaultProps, props)
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
//#endregion
|
|
49
48
|
export { IconTile };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
-
//#region src/components/inbox-item/inbox-item-leading-badge.d.ts
|
|
3
2
|
export type InboxItemLeadingBadgeProps = useRender.ComponentProps<"span">;
|
|
4
3
|
/**
|
|
5
4
|
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
@@ -10,5 +9,4 @@ export type InboxItemLeadingBadgeProps = useRender.ComponentProps<"span">;
|
|
|
10
9
|
* leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
|
|
11
10
|
* is hidden from assistive technology unless given a `role`.
|
|
12
11
|
*/
|
|
13
|
-
export declare function InboxItemLeadingBadge({ className, render, ...props }: InboxItemLeadingBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
14
|
-
//#endregion
|
|
12
|
+
export declare function InboxItemLeadingBadge({ className, render, ...props }: InboxItemLeadingBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { inboxItem } from "./inbox-item.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/inbox-item/inbox-item-leading-badge.tsx
|
|
5
5
|
/**
|
|
6
6
|
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
7
7
|
* presence light takes, holding one icon: on a thread or task row in a
|
|
@@ -24,5 +24,4 @@ function InboxItemLeadingBadge({ className, render, ...props }) {
|
|
|
24
24
|
props: mergeProps(defaultProps, props)
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
27
|
export { InboxItemLeadingBadge };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InboxItemDensity, InboxItemProps } from "./inbox-item.mjs";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
//#region src/components/inbox-item/inbox-item-skeleton.d.ts
|
|
4
3
|
type InboxItemSkeletonShape = {
|
|
5
4
|
/** The density of the rows it stands for. */
|
|
6
5
|
density?: InboxItemDensity;
|
|
@@ -49,4 +48,4 @@ export type InboxItemSkeletonListProps = useRender.ComponentProps<"div"> & Inbox
|
|
|
49
48
|
* viewport, `aria-busy` while it loads.
|
|
50
49
|
*/
|
|
51
50
|
export declare function InboxItemSkeletonList({ count, delay, density, leading, context, line, children, className, render, ...props }: InboxItemSkeletonListProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
52
|
-
|
|
51
|
+
export {};
|
|
@@ -5,7 +5,7 @@ import { useEffect, useState } from "react";
|
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
7
7
|
import { useRender } from "@base-ui/react/use-render";
|
|
8
|
-
|
|
8
|
+
// src/components/inbox-item/inbox-item-skeleton.tsx
|
|
9
9
|
/**
|
|
10
10
|
* A placeholder for one `InboxItem` while the list loads. It is an
|
|
11
11
|
* `InboxItem` itself, with the same parts as the loaded row (an optional
|
|
@@ -90,5 +90,4 @@ function useDelayPassed(delay) {
|
|
|
90
90
|
}, [delay]);
|
|
91
91
|
return passed || delay <= 0;
|
|
92
92
|
}
|
|
93
|
-
//#endregion
|
|
94
93
|
export { InboxItemSkeleton, InboxItemSkeletonList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/inbox-item/inbox-item-skeleton.recipe.ts
|
|
3
3
|
const inboxItemSkeleton = tv({ slots: {
|
|
4
4
|
list: ["flex min-w-0 flex-col gap-0.5"],
|
|
5
5
|
row: [
|
|
@@ -16,5 +16,4 @@ const inboxItemSkeleton = tv({ slots: {
|
|
|
16
16
|
bodyBar: ["w-(--inbox-item-skeleton-body)"],
|
|
17
17
|
timestampBar: ["w-9"]
|
|
18
18
|
} });
|
|
19
|
-
//#endregion
|
|
20
19
|
export { inboxItemSkeleton };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TaskStatusBadgeProps } from "../tasks/task-status-badge.mjs";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
//#region src/components/inbox-item/inbox-item.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* `compact`: one line for the title and one for the excerpt, the row centred
|
|
6
5
|
* on its leading visual, and the trailing column set on the same two 20px lines
|
|
@@ -132,5 +131,4 @@ export type InboxItemActionsProps = useRender.ComponentProps<"div"> & {
|
|
|
132
131
|
*/
|
|
133
132
|
reveal?: "hover";
|
|
134
133
|
};
|
|
135
|
-
export declare function InboxItemActions({ className, render, reveal, ...props }: InboxItemActionsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
136
|
-
//#endregion
|
|
134
|
+
export declare function InboxItemActions({ className, render, reveal, ...props }: InboxItemActionsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip/tooltip.mjs";
|
|
2
|
-
import { TaskStatusIcon } from "../tasks/task-status-icon.mjs";
|
|
3
1
|
import { TaskStatusBadge } from "../tasks/task-status-badge.mjs";
|
|
2
|
+
import { TaskStatusIcon } from "../tasks/task-status-icon.mjs";
|
|
3
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../tooltip/tooltip.mjs";
|
|
4
4
|
import { inboxItem } from "./inbox-item.recipe.mjs";
|
|
5
5
|
import { createContext, useContext } from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } 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
|
+
// src/components/inbox-item/inbox-item.tsx
|
|
10
10
|
const InboxItemDisabledContext = createContext(false);
|
|
11
11
|
const InboxItemDensityContext = createContext(void 0);
|
|
12
12
|
const InboxItemHeadingContext = createContext(false);
|
|
@@ -347,5 +347,4 @@ function InboxItemActions({ className, render, reveal, ...props }) {
|
|
|
347
347
|
props: mergeProps(defaultProps, props)
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
-
//#endregion
|
|
351
350
|
export { InboxItem, InboxItemActions, InboxItemBody, InboxItemContent, InboxItemContext, InboxItemHeading, InboxItemHoverTarget, InboxItemLeading, InboxItemLine, InboxItemListGroup, InboxItemListHeading, InboxItemMarks, InboxItemMessage, InboxItemMetadata, InboxItemSelection, InboxItemSender, InboxItemStatus, InboxItemSubtitle, InboxItemTimestamp, InboxItemTitle, InboxItemTrailing, InboxItemTrigger };
|
|
@@ -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/inbox-item/inbox-item.recipe.ts
|
|
4
4
|
const inboxItem = tv({
|
|
5
5
|
slots: {
|
|
6
6
|
item: [
|
|
@@ -156,5 +156,4 @@ const inboxItem = tv({
|
|
|
156
156
|
class: { itemActions: ["top-1/2 -translate-y-1/2", "pointer-coarse:only:translate-y-0"] }
|
|
157
157
|
}]
|
|
158
158
|
});
|
|
159
|
-
//#endregion
|
|
160
159
|
export { inboxItem };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ComponentPropsWithRef } from "react";
|
|
2
|
-
//#region src/components/inline-code/inline-code.d.ts
|
|
3
2
|
export type InlineCodeProps = ComponentPropsWithRef<"code"> & {
|
|
4
3
|
/** `message` renders the borderless, baseline-aligned in-message treatment. */
|
|
5
4
|
appearance?: "default" | "message";
|
|
6
5
|
};
|
|
7
|
-
export declare function InlineCode({ className, appearance, ...props }: InlineCodeProps): import("react").JSX.Element;
|
|
8
|
-
//#endregion
|
|
6
|
+
export declare function InlineCode({ className, appearance, ...props }: InlineCodeProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/inline-code/inline-code.tsx
|
|
4
4
|
const inlineCode = tv({
|
|
5
5
|
slots: { root: [
|
|
6
6
|
"rounded-sticker px-1 py-px",
|
|
@@ -26,5 +26,4 @@ function InlineCode({ className, appearance, ...props }) {
|
|
|
26
26
|
...props
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
//#endregion
|
|
30
29
|
export { InlineCode };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
1
|
import { DataAttributes } from "../../lib/data-attributes.mjs";
|
|
2
|
+
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
3
3
|
import { WithoutChildren } from "../../lib/without-children.mjs";
|
|
4
4
|
import { Input } from "@base-ui/react/input";
|
|
5
|
-
//#region src/components/input/input.d.ts
|
|
6
5
|
export type InputBehaviorProps = {
|
|
7
6
|
/**
|
|
8
7
|
* Add common password-manager ignore hints for non-credential fields where
|
|
@@ -12,5 +11,4 @@ export type InputBehaviorProps = {
|
|
|
12
11
|
};
|
|
13
12
|
export type InputProps = WithoutChildren<StyledProps<Input.Props>> & InputBehaviorProps & DataAttributes;
|
|
14
13
|
declare function Input$1({ suppressPasswordManager, className, "data-invalid": dataInvalid, ...props }: InputProps): import("react").JSX.Element;
|
|
15
|
-
//#endregion
|
|
16
14
|
export { Input$1 as Input };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { input } from "./input.recipe.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Input } from "@base-ui/react/input";
|
|
4
|
-
|
|
4
|
+
// src/components/input/input.tsx
|
|
5
5
|
function Input$1({ suppressPasswordManager, className, "data-invalid": dataInvalid, ...props }) {
|
|
6
6
|
const { root } = input();
|
|
7
7
|
return /* @__PURE__ */ jsx(Input, {
|
|
@@ -16,5 +16,4 @@ function Input$1({ suppressPasswordManager, className, "data-invalid": dataInval
|
|
|
16
16
|
"aria-invalid": dataInvalid ? "true" : void 0
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { Input$1 as Input };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/input/input.recipe.ts
|
|
3
3
|
const input = tv({ slots: { root: [
|
|
4
4
|
"h-control w-full px-3 py-0 font-heading text-field font-field outline-none",
|
|
5
5
|
"rounded-(--control-radius) border-[1.5px] border-line-field bg-layer-card",
|
|
@@ -8,5 +8,4 @@ const input = tv({ slots: { root: [
|
|
|
8
8
|
"data-invalid:border-danger-strong",
|
|
9
9
|
"disabled:cursor-not-allowed disabled:border-line-hairline disabled:bg-fill-muted disabled:text-foreground-disabled disabled:placeholder:text-foreground-disabled"
|
|
10
10
|
] } });
|
|
11
|
-
//#endregion
|
|
12
11
|
export { input };
|
|
@@ -1,72 +1,11 @@
|
|
|
1
|
-
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
1
|
import { DataAttributes } from "../../lib/data-attributes.mjs";
|
|
3
2
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
3
|
+
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
4
4
|
import { WithoutChildren } from "../../lib/without-children.mjs";
|
|
5
5
|
import { InputBehaviorProps } from "../input/input.mjs";
|
|
6
6
|
import { ComponentPropsWithRef } from "react";
|
|
7
7
|
import { Input } from "@base-ui/react/input";
|
|
8
|
-
|
|
9
|
-
declare const inputGroup: import("tailwind-variants/lite").TVReturnType<{
|
|
10
|
-
size: {
|
|
11
|
-
md: {
|
|
12
|
-
root: string[];
|
|
13
|
-
};
|
|
14
|
-
lg: {};
|
|
15
|
-
};
|
|
16
|
-
align: {
|
|
17
|
-
"inline-start": {
|
|
18
|
-
addon: string;
|
|
19
|
-
text: string;
|
|
20
|
-
};
|
|
21
|
-
"inline-end": {
|
|
22
|
-
addon: string;
|
|
23
|
-
text: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
variant: {
|
|
27
|
-
default: {};
|
|
28
|
-
container: {
|
|
29
|
-
addon: string[];
|
|
30
|
-
text: string[];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
root: string[];
|
|
35
|
-
addon: string[];
|
|
36
|
-
text: string[];
|
|
37
|
-
textInner: string[];
|
|
38
|
-
control: string[];
|
|
39
|
-
}, undefined, {
|
|
40
|
-
size: {
|
|
41
|
-
md: {
|
|
42
|
-
root: string[];
|
|
43
|
-
};
|
|
44
|
-
lg: {};
|
|
45
|
-
};
|
|
46
|
-
align: {
|
|
47
|
-
"inline-start": {
|
|
48
|
-
addon: string;
|
|
49
|
-
text: string;
|
|
50
|
-
};
|
|
51
|
-
"inline-end": {
|
|
52
|
-
addon: string;
|
|
53
|
-
text: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
variant: {
|
|
57
|
-
default: {};
|
|
58
|
-
container: {
|
|
59
|
-
addon: string[];
|
|
60
|
-
text: string[];
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}, {
|
|
64
|
-
root: string[];
|
|
65
|
-
addon: string[];
|
|
66
|
-
text: string[];
|
|
67
|
-
textInner: string[];
|
|
68
|
-
control: string[];
|
|
69
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
8
|
+
declare const inputGroup: import("tailwind-variants/config").TVReturnType<{
|
|
70
9
|
size: {
|
|
71
10
|
md: {
|
|
72
11
|
root: string[];
|
|
@@ -96,7 +35,7 @@ declare const inputGroup: import("tailwind-variants/lite").TVReturnType<{
|
|
|
96
35
|
text: string[];
|
|
97
36
|
textInner: string[];
|
|
98
37
|
control: string[];
|
|
99
|
-
}
|
|
38
|
+
}, undefined, undefined, undefined, undefined>;
|
|
100
39
|
export type InputGroupProps = ComponentPropsWithRef<"div"> & {
|
|
101
40
|
/**
|
|
102
41
|
* `lg` (default): the control height, for a field on its own in a form or a
|
|
@@ -116,4 +55,4 @@ export declare const InputGroupAddon: typeof InputGroupAddonRoot & {
|
|
|
116
55
|
};
|
|
117
56
|
export type InputGroupInputProps = WithoutChildren<StyledProps<Input.Props>> & InputBehaviorProps & DataAttributes;
|
|
118
57
|
export declare function InputGroupInput({ className, suppressPasswordManager, "data-invalid": dataInvalid, ...props }: InputGroupInputProps): import("react").JSX.Element;
|
|
119
|
-
|
|
58
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { tv } from "../../lib/tv.mjs";
|
|
|
2
2
|
import { useOverflowTitle } from "../../lib/use-overflow-title.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Input } from "@base-ui/react/input";
|
|
5
|
-
|
|
5
|
+
// src/components/input-group/input-group.tsx
|
|
6
6
|
const inputGroup = tv({
|
|
7
7
|
slots: {
|
|
8
8
|
root: [
|
|
@@ -188,5 +188,4 @@ function InputGroupInput({ className, suppressPasswordManager, "data-invalid": d
|
|
|
188
188
|
"aria-invalid": dataInvalid ? "true" : void 0
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
//#endregion
|
|
192
191
|
export { InputGroup, InputGroupAddon, InputGroupInput };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/kbd/kbd-keys.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A key, by name, case-insensitive. `mod` is Command on a Mac and Ctrl
|
|
4
3
|
* elsewhere: write it for the platform's command key. `meta` (also `cmd`,
|
|
@@ -8,5 +7,4 @@
|
|
|
8
7
|
* string is a key written as it reads: an ASCII letter is drawn uppercase,
|
|
9
8
|
* `f1`…`f24` as F1…F24, anything else as written.
|
|
10
9
|
*/
|
|
11
|
-
export type KbdKeyName = "mod" | "meta" | "ctrl" | "alt" | "option" | "shift" | "enter" | "backspace" | "delete" | "escape" | "tab" | "space" | "up" | "down" | "left" | "right" | (string & {});
|
|
12
|
-
//#endregion
|
|
10
|
+
export type KbdKeyName = "mod" | "meta" | "ctrl" | "alt" | "option" | "shift" | "enter" | "backspace" | "delete" | "escape" | "tab" | "space" | "up" | "down" | "left" | "right" | (string & {});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/kbd/kbd-keys.ts
|
|
2
2
|
/** Every name a key goes by, lowercase, including `KeyboardEvent.key` values. */
|
|
3
3
|
const ALIASES = {
|
|
4
4
|
mod: "mod",
|
|
@@ -293,5 +293,4 @@ function resolveKbdKeys(keys, platform) {
|
|
|
293
293
|
...MODIFIERS[platform][modifier]
|
|
294
294
|
})), ...rest];
|
|
295
295
|
}
|
|
296
|
-
//#endregion
|
|
297
296
|
export { resolveKbdKeys };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { KbdSize } from "./kbd.mjs";
|
|
2
1
|
import { KeyboardPlatform } from "../../lib/use-platform.mjs";
|
|
2
|
+
import { KbdSize } from "./kbd.mjs";
|
|
3
3
|
import { KbdKeyName } from "./kbd-keys.mjs";
|
|
4
4
|
import { ComponentPropsWithRef } from "react";
|
|
5
|
-
//#region src/components/kbd/kbd-shortcut.d.ts
|
|
6
5
|
export type KbdShortcutProps = Omit<ComponentPropsWithRef<"span">, "children"> & {
|
|
7
6
|
/**
|
|
8
7
|
* The keys, by name, case-insensitive, in any order: `["mod", "shift",
|
|
@@ -30,5 +29,4 @@ export type KbdShortcutProps = Omit<ComponentPropsWithRef<"span">, "children"> &
|
|
|
30
29
|
* reader. Alternatives ("⌘↑ / ⌘↓") are two KbdShortcut with a separator
|
|
31
30
|
* between them, written by the caller.
|
|
32
31
|
*/
|
|
33
|
-
export declare function KbdShortcut({ keys, size, platform: platformProp, label, className, ...props }: KbdShortcutProps): import("react").JSX.Element;
|
|
34
|
-
//#endregion
|
|
32
|
+
export declare function KbdShortcut({ keys, size, platform: platformProp, label, className, ...props }: KbdShortcutProps): import("react").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { tv } from "../../lib/tv.mjs";
|
|
2
1
|
import { markInlinePart } from "../../lib/inline-part.mjs";
|
|
3
|
-
import {
|
|
2
|
+
import { tv } from "../../lib/tv.mjs";
|
|
4
3
|
import { useKeyboardPlatform } from "../../lib/use-platform.mjs";
|
|
4
|
+
import { Kbd, KbdGroup } from "./kbd.mjs";
|
|
5
5
|
import { resolveKbdKeys } from "./kbd-keys.mjs";
|
|
6
6
|
import { ArrowBigUp, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ChevronUp, Command, CornerDownLeft, Delete, Option } from "lucide-react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/kbd/kbd-shortcut.tsx
|
|
9
9
|
const ICONS = {
|
|
10
10
|
"chevron-up": ChevronUp,
|
|
11
11
|
option: Option,
|
|
@@ -75,5 +75,4 @@ function KbdShortcut({ keys, size = "sm", platform: platformProp, label, classNa
|
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
markInlinePart(KbdShortcut);
|
|
78
|
-
//#endregion
|
|
79
78
|
export { KbdShortcut };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { ComponentPropsWithRef } from "react";
|
|
3
|
-
|
|
4
|
-
declare const kbd: import("tailwind-variants/lite").TVReturnType<{
|
|
3
|
+
declare const kbd: import("tailwind-variants/config").TVReturnType<{
|
|
5
4
|
size: {
|
|
6
5
|
sm: {
|
|
7
6
|
root: string[];
|
|
@@ -13,31 +12,7 @@ declare const kbd: import("tailwind-variants/lite").TVReturnType<{
|
|
|
13
12
|
}, {
|
|
14
13
|
root: string[];
|
|
15
14
|
group: string[];
|
|
16
|
-
}, undefined,
|
|
17
|
-
size: {
|
|
18
|
-
sm: {
|
|
19
|
-
root: string[];
|
|
20
|
-
};
|
|
21
|
-
md: {
|
|
22
|
-
root: string[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}, {
|
|
26
|
-
root: string[];
|
|
27
|
-
group: string[];
|
|
28
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
29
|
-
size: {
|
|
30
|
-
sm: {
|
|
31
|
-
root: string[];
|
|
32
|
-
};
|
|
33
|
-
md: {
|
|
34
|
-
root: string[];
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
}, {
|
|
38
|
-
root: string[];
|
|
39
|
-
group: string[];
|
|
40
|
-
}>>;
|
|
15
|
+
}, undefined, undefined, undefined, undefined>;
|
|
41
16
|
export type KbdSize = NonNullable<VariantProps<typeof kbd>["size"]>;
|
|
42
17
|
export type KbdProps = ComponentPropsWithRef<"kbd"> & {
|
|
43
18
|
/**
|
|
@@ -57,4 +32,4 @@ export declare function Kbd({ className, size, ...props }: KbdProps): import("re
|
|
|
57
32
|
export type KbdGroupProps = ComponentPropsWithRef<"span">;
|
|
58
33
|
/** Caps of one shortcut, 4px apart. */
|
|
59
34
|
export declare function KbdGroup({ className, ...props }: KbdGroupProps): import("react").JSX.Element;
|
|
60
|
-
|
|
35
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { tv } from "../../lib/tv.mjs";
|
|
2
1
|
import { markInlinePart } from "../../lib/inline-part.mjs";
|
|
2
|
+
import { tv } from "../../lib/tv.mjs";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/kbd/kbd.tsx
|
|
5
5
|
const kbd = tv({
|
|
6
6
|
slots: {
|
|
7
7
|
root: [
|
|
@@ -54,5 +54,4 @@ function KbdGroup({ className, ...props }) {
|
|
|
54
54
|
}
|
|
55
55
|
markInlinePart(Kbd);
|
|
56
56
|
markInlinePart(KbdGroup);
|
|
57
|
-
//#endregion
|
|
58
57
|
export { Kbd, KbdGroup };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
1
|
import { DataAttributes } from "../../lib/data-attributes.mjs";
|
|
2
|
+
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
3
3
|
import { ComponentPropsWithRef } from "react";
|
|
4
4
|
import { Button } from "@base-ui/react/button";
|
|
5
|
-
//#region src/components/kbd-button/kbd-button.d.ts
|
|
6
5
|
export type KbdButtonProps = StyledProps<Button.Props> & DataAttributes & {
|
|
7
6
|
/**
|
|
8
7
|
* The button is listening for a new shortcut: it draws as a field with the
|
|
@@ -29,5 +28,4 @@ export type KbdButtonPlaceholderProps = ComponentPropsWithRef<"span">;
|
|
|
29
28
|
export declare function KbdButtonPlaceholder({ className, ...props }: KbdButtonPlaceholderProps): import("react").JSX.Element;
|
|
30
29
|
export type KbdButtonCaretProps = Omit<ComponentPropsWithRef<"span">, "children">;
|
|
31
30
|
/** The caret after the held keys, while a recording KbdButton waits for more. */
|
|
32
|
-
export declare function KbdButtonCaret({ className, ...props }: KbdButtonCaretProps): import("react").JSX.Element;
|
|
33
|
-
//#endregion
|
|
31
|
+
export declare function KbdButtonCaret({ className, ...props }: KbdButtonCaretProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Button } from "@base-ui/react/button";
|
|
4
|
-
|
|
4
|
+
// src/components/kbd-button/kbd-button.tsx
|
|
5
5
|
const kbdButton = tv({ slots: {
|
|
6
6
|
root: [
|
|
7
7
|
"relative inline-flex shrink-0 items-center gap-1.5 align-middle",
|
|
@@ -55,5 +55,4 @@ function KbdButtonCaret({ className, ...props }) {
|
|
|
55
55
|
...props
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
//#endregion
|
|
59
58
|
export { KbdButton, KbdButtonCaret, KbdButtonPlaceholder };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { ComponentPropsWithRef } from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
-
|
|
5
|
-
declare const label: import("tailwind-variants/lite").TVReturnType<{
|
|
4
|
+
declare const label: import("tailwind-variants/config").TVReturnType<{
|
|
6
5
|
size: {
|
|
7
6
|
sm: {
|
|
8
7
|
root: string[];
|
|
@@ -15,33 +14,7 @@ declare const label: import("tailwind-variants/lite").TVReturnType<{
|
|
|
15
14
|
root: string[];
|
|
16
15
|
asterisk: string[];
|
|
17
16
|
sub: string[];
|
|
18
|
-
}, undefined,
|
|
19
|
-
size: {
|
|
20
|
-
sm: {
|
|
21
|
-
root: string[];
|
|
22
|
-
};
|
|
23
|
-
md: {
|
|
24
|
-
root: string[];
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
root: string[];
|
|
29
|
-
asterisk: string[];
|
|
30
|
-
sub: string[];
|
|
31
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
32
|
-
size: {
|
|
33
|
-
sm: {
|
|
34
|
-
root: string[];
|
|
35
|
-
};
|
|
36
|
-
md: {
|
|
37
|
-
root: string[];
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
root: string[];
|
|
42
|
-
asterisk: string[];
|
|
43
|
-
sub: string[];
|
|
44
|
-
}>>;
|
|
17
|
+
}, undefined, undefined, undefined, undefined>;
|
|
45
18
|
export type LabelProps = useRender.ComponentProps<"label"> & VariantProps<typeof label> & {
|
|
46
19
|
disabled?: boolean;
|
|
47
20
|
};
|
|
@@ -57,4 +30,4 @@ export declare const Label: typeof LabelRoot & {
|
|
|
57
30
|
Optional: typeof LabelOptional;
|
|
58
31
|
Sub: typeof LabelSub;
|
|
59
32
|
};
|
|
60
|
-
|
|
33
|
+
export {};
|
|
@@ -2,7 +2,7 @@ import { tv } from "../../lib/tv.mjs";
|
|
|
2
2
|
import { jsx } 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/label/label.tsx
|
|
6
6
|
const label = tv({
|
|
7
7
|
slots: {
|
|
8
8
|
root: [
|
|
@@ -71,5 +71,4 @@ const Label = Object.assign(LabelRoot, {
|
|
|
71
71
|
Optional: LabelOptional,
|
|
72
72
|
Sub: LabelSub
|
|
73
73
|
});
|
|
74
|
-
//#endregion
|
|
75
74
|
export { Label, LabelAsterisk, LabelOptional, LabelSub };
|
|
@@ -4,7 +4,6 @@ import { ScrollAreaProps } from "../scroll-area/types.mjs";
|
|
|
4
4
|
import { Dialog } from "@base-ui/react/dialog";
|
|
5
5
|
import { ReactNode } from "react";
|
|
6
6
|
import { useRender } from "@base-ui/react/use-render";
|
|
7
|
-
//#region src/components/lightbox/lightbox.d.ts
|
|
8
7
|
export type LightboxProps<Payload = unknown> = Omit<Dialog.Root.Props<Payload>, "actionsRef" | "children" | "handle" | "modal"> & {
|
|
9
8
|
children?: ReactNode;
|
|
10
9
|
/**
|
|
@@ -117,5 +116,4 @@ export type LightboxThumbnailProps = useRender.ComponentProps<"button"> & {
|
|
|
117
116
|
};
|
|
118
117
|
export declare function LightboxThumbnail({ active, className, render, type, children, ...props }: LightboxThumbnailProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
119
118
|
export type LightboxCloseProps = StyledProps<Dialog.Close.Props>;
|
|
120
|
-
export declare function LightboxClose({ className, render, ...props }: LightboxCloseProps): import("react").JSX.Element;
|
|
121
|
-
//#endregion
|
|
119
|
+
export declare function LightboxClose({ className, render, ...props }: LightboxCloseProps): import("react").JSX.Element;
|