@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,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/tasks/task-status.recipe.d.ts
|
|
2
1
|
export type TaskStatusId = "backlog" | "todo" | "in-progress" | "in-review" | "done" | "closed";
|
|
3
2
|
/** Every status, in the order a board's columns and a list's groups show them:
|
|
4
3
|
* the way work flows, from Backlog to Closed (design/patterns/tasks.md). */
|
|
@@ -13,62 +12,25 @@ export declare const TASK_STATUS_IDS: readonly TaskStatusId[];
|
|
|
13
12
|
*/
|
|
14
13
|
/** The soft (washed) background for a status: the chip and the card status.
|
|
15
14
|
* Backlog's has no tint, only a `line-hairline` outline in its place. */
|
|
16
|
-
export declare const taskStatusSoft: import("tailwind-variants/
|
|
15
|
+
export declare const taskStatusSoft: import("tailwind-variants/config").TVReturnType<{
|
|
17
16
|
status: {
|
|
18
|
-
backlog:
|
|
19
|
-
todo:
|
|
20
|
-
"in-progress":
|
|
21
|
-
"in-review":
|
|
22
|
-
done:
|
|
23
|
-
closed:
|
|
17
|
+
backlog: string;
|
|
18
|
+
todo: string;
|
|
19
|
+
"in-progress": string;
|
|
20
|
+
"in-review": string;
|
|
21
|
+
done: string;
|
|
22
|
+
closed: string;
|
|
24
23
|
};
|
|
25
|
-
}, undefined, undefined,
|
|
26
|
-
status: {
|
|
27
|
-
backlog: "bg-transparent inset-ring inset-ring-line-hairline";
|
|
28
|
-
todo: "bg-task-status-todo-soft";
|
|
29
|
-
"in-progress": "bg-task-status-in-progress-soft";
|
|
30
|
-
"in-review": "bg-task-status-in-review-soft";
|
|
31
|
-
done: "bg-task-status-done-soft";
|
|
32
|
-
closed: "bg-task-status-closed-soft";
|
|
33
|
-
};
|
|
34
|
-
}, undefined, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
35
|
-
status: {
|
|
36
|
-
backlog: "bg-transparent inset-ring inset-ring-line-hairline";
|
|
37
|
-
todo: "bg-task-status-todo-soft";
|
|
38
|
-
"in-progress": "bg-task-status-in-progress-soft";
|
|
39
|
-
"in-review": "bg-task-status-in-review-soft";
|
|
40
|
-
done: "bg-task-status-done-soft";
|
|
41
|
-
closed: "bg-task-status-closed-soft";
|
|
42
|
-
};
|
|
43
|
-
}, undefined>>;
|
|
24
|
+
}, undefined, undefined, undefined, undefined, undefined>;
|
|
44
25
|
/** The strong (readable-on-soft) ink slot for a status. Backlog, with no hue,
|
|
45
26
|
* reads in plain `foreground`. */
|
|
46
|
-
export declare const taskStatusStrong: import("tailwind-variants/
|
|
47
|
-
status: {
|
|
48
|
-
backlog: "text-foreground";
|
|
49
|
-
todo: "text-task-status-todo-strong";
|
|
50
|
-
"in-progress": "text-task-status-in-progress-strong";
|
|
51
|
-
"in-review": "text-task-status-in-review-strong";
|
|
52
|
-
done: "text-task-status-done-strong";
|
|
53
|
-
closed: "text-task-status-closed-strong";
|
|
54
|
-
};
|
|
55
|
-
}, undefined, undefined, {
|
|
56
|
-
status: {
|
|
57
|
-
backlog: "text-foreground";
|
|
58
|
-
todo: "text-task-status-todo-strong";
|
|
59
|
-
"in-progress": "text-task-status-in-progress-strong";
|
|
60
|
-
"in-review": "text-task-status-in-review-strong";
|
|
61
|
-
done: "text-task-status-done-strong";
|
|
62
|
-
closed: "text-task-status-closed-strong";
|
|
63
|
-
};
|
|
64
|
-
}, undefined, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
27
|
+
export declare const taskStatusStrong: import("tailwind-variants/config").TVReturnType<{
|
|
65
28
|
status: {
|
|
66
|
-
backlog:
|
|
67
|
-
todo:
|
|
68
|
-
"in-progress":
|
|
69
|
-
"in-review":
|
|
70
|
-
done:
|
|
71
|
-
closed:
|
|
29
|
+
backlog: string;
|
|
30
|
+
todo: string;
|
|
31
|
+
"in-progress": string;
|
|
32
|
+
"in-review": string;
|
|
33
|
+
done: string;
|
|
34
|
+
closed: string;
|
|
72
35
|
};
|
|
73
|
-
}, undefined
|
|
74
|
-
//#endregion
|
|
36
|
+
}, undefined, undefined, undefined, undefined, undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/tasks/task-status.recipe.ts
|
|
3
3
|
/** Every status, in the order a board's columns and a list's groups show them:
|
|
4
4
|
* the way work flows, from Backlog to Closed (design/patterns/tasks.md). */
|
|
5
5
|
const TASK_STATUS_IDS = [
|
|
@@ -38,5 +38,4 @@ const taskStatusStrong = tv({ variants: { status: {
|
|
|
38
38
|
done: "text-task-status-done-strong",
|
|
39
39
|
closed: "text-task-status-closed-strong"
|
|
40
40
|
} } });
|
|
41
|
-
//#endregion
|
|
42
41
|
export { TASK_STATUS_IDS, taskStatusSoft, taskStatusStrong };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ScrollAreaProps } from "../scroll-area/types.mjs";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
//#region src/components/tasks/tasks-panel.d.ts
|
|
4
3
|
export type TasksPanelRootProps = useRender.ComponentProps<"section">;
|
|
5
4
|
export declare function TasksPanelRoot({ className, render, ...props }: TasksPanelRootProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
6
5
|
export type TasksPanelToolbarProps = useRender.ComponentProps<"div">;
|
|
@@ -22,5 +21,4 @@ export type TasksPanelViewportProps = ScrollAreaProps;
|
|
|
22
21
|
* scrolling element's. */
|
|
23
22
|
export declare function TasksPanelViewport({ className, ...props }: TasksPanelViewportProps): import("react").JSX.Element;
|
|
24
23
|
export type TasksPanelEmptyProps = useRender.ComponentProps<"div">;
|
|
25
|
-
export declare function TasksPanelEmpty({ className, render, ...props }: TasksPanelEmptyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
26
|
-
//#endregion
|
|
24
|
+
export declare function TasksPanelEmpty({ className, render, ...props }: TasksPanelEmptyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -3,7 +3,7 @@ import { tasksPanel } from "./tasks-panel.recipe.mjs";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
5
5
|
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
-
|
|
6
|
+
// src/components/tasks/tasks-panel.tsx
|
|
7
7
|
function TasksPanelRoot({ className, render, ...props }) {
|
|
8
8
|
const { root } = tasksPanel();
|
|
9
9
|
const defaultProps = {
|
|
@@ -113,5 +113,4 @@ function TasksPanelEmpty({ className, render, ...props }) {
|
|
|
113
113
|
props: mergeProps(defaultProps, props)
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
|
-
//#endregion
|
|
117
116
|
export { TasksPanelEmpty, TasksPanelRoot, TasksPanelToolbar, TasksPanelToolbarFilters, TasksPanelToolbarGroup, TasksPanelToolbarLabel, TasksPanelToolbarNewTask, TasksPanelToolbarView, TasksPanelViewport };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/tasks/tasks-panel.recipe.ts
|
|
3
3
|
const tasksPanel = tv({ slots: {
|
|
4
4
|
root: ["@container/tasks flex min-h-0 min-w-0 flex-1 flex-col", "bg-layer-canvas text-foreground"],
|
|
5
5
|
toolbar: [
|
|
@@ -33,5 +33,4 @@ const tasksPanel = tv({ slots: {
|
|
|
33
33
|
],
|
|
34
34
|
empty: ["flex h-full flex-col items-center justify-center"]
|
|
35
35
|
} });
|
|
36
|
-
//#endregion
|
|
37
36
|
export { tasksPanel };
|
|
@@ -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 heading: import("tailwind-variants/lite").TVReturnType<{
|
|
3
|
+
declare const heading: import("tailwind-variants/config").TVReturnType<{
|
|
5
4
|
level: {
|
|
6
5
|
1: string[];
|
|
7
6
|
2: string[];
|
|
@@ -21,67 +20,8 @@ declare const heading: import("tailwind-variants/lite").TVReturnType<{
|
|
|
21
20
|
warning: string[];
|
|
22
21
|
danger: string[];
|
|
23
22
|
};
|
|
24
|
-
}, undefined, string[],
|
|
25
|
-
|
|
26
|
-
1: string[];
|
|
27
|
-
2: string[];
|
|
28
|
-
3: string[];
|
|
29
|
-
4: string[];
|
|
30
|
-
5: string[];
|
|
31
|
-
6: string[];
|
|
32
|
-
};
|
|
33
|
-
variant: {
|
|
34
|
-
default: string[];
|
|
35
|
-
primary: string[];
|
|
36
|
-
information: string[];
|
|
37
|
-
muted: string[];
|
|
38
|
-
placeholder: string[];
|
|
39
|
-
accent: string[];
|
|
40
|
-
success: string[];
|
|
41
|
-
warning: string[];
|
|
42
|
-
danger: string[];
|
|
43
|
-
};
|
|
44
|
-
}, undefined, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
45
|
-
level: {
|
|
46
|
-
1: string[];
|
|
47
|
-
2: string[];
|
|
48
|
-
3: string[];
|
|
49
|
-
4: string[];
|
|
50
|
-
5: string[];
|
|
51
|
-
6: string[];
|
|
52
|
-
};
|
|
53
|
-
variant: {
|
|
54
|
-
default: string[];
|
|
55
|
-
primary: string[];
|
|
56
|
-
information: string[];
|
|
57
|
-
muted: string[];
|
|
58
|
-
placeholder: string[];
|
|
59
|
-
accent: string[];
|
|
60
|
-
success: string[];
|
|
61
|
-
warning: string[];
|
|
62
|
-
danger: string[];
|
|
63
|
-
};
|
|
64
|
-
}, undefined>>;
|
|
65
|
-
declare const sans: import("tailwind-variants/lite").TVReturnType<{
|
|
66
|
-
size: {
|
|
67
|
-
large: string[];
|
|
68
|
-
body: string[];
|
|
69
|
-
small: string[];
|
|
70
|
-
caption: string[];
|
|
71
|
-
group: string[];
|
|
72
|
-
};
|
|
73
|
-
variant: {
|
|
74
|
-
default: string[];
|
|
75
|
-
primary: string[];
|
|
76
|
-
information: string[];
|
|
77
|
-
muted: string[];
|
|
78
|
-
placeholder: string[];
|
|
79
|
-
accent: string[];
|
|
80
|
-
success: string[];
|
|
81
|
-
warning: string[];
|
|
82
|
-
danger: string[];
|
|
83
|
-
};
|
|
84
|
-
}, undefined, string[], {
|
|
23
|
+
}, undefined, string[], undefined, undefined, undefined>;
|
|
24
|
+
declare const sans: import("tailwind-variants/config").TVReturnType<{
|
|
85
25
|
size: {
|
|
86
26
|
large: string[];
|
|
87
27
|
body: string[];
|
|
@@ -100,61 +40,8 @@ declare const sans: import("tailwind-variants/lite").TVReturnType<{
|
|
|
100
40
|
warning: string[];
|
|
101
41
|
danger: string[];
|
|
102
42
|
};
|
|
103
|
-
}, undefined,
|
|
104
|
-
|
|
105
|
-
large: string[];
|
|
106
|
-
body: string[];
|
|
107
|
-
small: string[];
|
|
108
|
-
caption: string[];
|
|
109
|
-
group: string[];
|
|
110
|
-
};
|
|
111
|
-
variant: {
|
|
112
|
-
default: string[];
|
|
113
|
-
primary: string[];
|
|
114
|
-
information: string[];
|
|
115
|
-
muted: string[];
|
|
116
|
-
placeholder: string[];
|
|
117
|
-
accent: string[];
|
|
118
|
-
success: string[];
|
|
119
|
-
warning: string[];
|
|
120
|
-
danger: string[];
|
|
121
|
-
};
|
|
122
|
-
}, undefined>>;
|
|
123
|
-
declare const mono: import("tailwind-variants/lite").TVReturnType<{
|
|
124
|
-
size: {
|
|
125
|
-
code: string[];
|
|
126
|
-
meta: string[];
|
|
127
|
-
tabular: string[];
|
|
128
|
-
};
|
|
129
|
-
variant: {
|
|
130
|
-
default: string[];
|
|
131
|
-
primary: string[];
|
|
132
|
-
information: string[];
|
|
133
|
-
muted: string[];
|
|
134
|
-
placeholder: string[];
|
|
135
|
-
accent: string[];
|
|
136
|
-
success: string[];
|
|
137
|
-
warning: string[];
|
|
138
|
-
danger: string[];
|
|
139
|
-
};
|
|
140
|
-
}, undefined, string[], {
|
|
141
|
-
size: {
|
|
142
|
-
code: string[];
|
|
143
|
-
meta: string[];
|
|
144
|
-
tabular: string[];
|
|
145
|
-
};
|
|
146
|
-
variant: {
|
|
147
|
-
default: string[];
|
|
148
|
-
primary: string[];
|
|
149
|
-
information: string[];
|
|
150
|
-
muted: string[];
|
|
151
|
-
placeholder: string[];
|
|
152
|
-
accent: string[];
|
|
153
|
-
success: string[];
|
|
154
|
-
warning: string[];
|
|
155
|
-
danger: string[];
|
|
156
|
-
};
|
|
157
|
-
}, undefined, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
43
|
+
}, undefined, string[], undefined, undefined, undefined>;
|
|
44
|
+
declare const mono: import("tailwind-variants/config").TVReturnType<{
|
|
158
45
|
size: {
|
|
159
46
|
code: string[];
|
|
160
47
|
meta: string[];
|
|
@@ -171,7 +58,7 @@ declare const mono: import("tailwind-variants/lite").TVReturnType<{
|
|
|
171
58
|
warning: string[];
|
|
172
59
|
danger: string[];
|
|
173
60
|
};
|
|
174
|
-
}, undefined
|
|
61
|
+
}, undefined, string[], undefined, undefined, undefined>;
|
|
175
62
|
export type TextHeadingProps = useRender.ComponentProps<"h1"> & VariantProps<typeof heading>;
|
|
176
63
|
export declare function TextHeading({ level, variant, className, render, ...props }: TextHeadingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
177
64
|
export type TextSansProps = useRender.ComponentProps<"p"> & VariantProps<typeof sans>;
|
|
@@ -183,4 +70,4 @@ export declare const Text: {
|
|
|
183
70
|
Sans: typeof TextSans;
|
|
184
71
|
Mono: typeof TextMono;
|
|
185
72
|
};
|
|
186
|
-
|
|
73
|
+
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/text/text.tsx
|
|
5
5
|
const textColorVariants = {
|
|
6
6
|
default: ["text-foreground"],
|
|
7
7
|
primary: ["text-brand-strong"],
|
|
@@ -110,5 +110,4 @@ const Text = {
|
|
|
110
110
|
Sans: TextSans,
|
|
111
111
|
Mono: TextMono
|
|
112
112
|
};
|
|
113
|
-
//#endregion
|
|
114
113
|
export { Text, TextHeading, TextMono, TextSans };
|
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
2
|
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
-
|
|
4
|
-
export declare const textLinkVariants: import("tailwind-variants/lite").TVReturnType<{
|
|
3
|
+
export declare const textLinkVariants: import("tailwind-variants/config").TVReturnType<{
|
|
5
4
|
variant: {
|
|
6
5
|
muted: string[];
|
|
7
6
|
strong: string[];
|
|
8
7
|
};
|
|
9
|
-
}, undefined, string[],
|
|
10
|
-
variant: {
|
|
11
|
-
muted: string[];
|
|
12
|
-
strong: string[];
|
|
13
|
-
};
|
|
14
|
-
}, undefined, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
15
|
-
variant: {
|
|
16
|
-
muted: string[];
|
|
17
|
-
strong: string[];
|
|
18
|
-
};
|
|
19
|
-
}, undefined>>;
|
|
8
|
+
}, undefined, string[], undefined, undefined, undefined>;
|
|
20
9
|
export type TextLinkProps = useRender.ComponentProps<"button"> & VariantProps<typeof textLinkVariants>;
|
|
21
10
|
export declare function TextLink({ variant, className, render, ...props }: TextLinkProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
22
11
|
export type TextLinkExternalIconProps = {
|
|
@@ -32,5 +21,4 @@ export type TextLinkExternalIconProps = {
|
|
|
32
21
|
* sits in an inline-flex box, so the link's underline stops at the text and
|
|
33
22
|
* never runs under the arrow.
|
|
34
23
|
*/
|
|
35
|
-
export declare function TextLinkExternalIcon({ label, className }: TextLinkExternalIconProps): import("react").JSX.Element;
|
|
36
|
-
//#endregion
|
|
24
|
+
export declare function TextLinkExternalIcon({ label, className }: TextLinkExternalIconProps): import("react").JSX.Element;
|
|
@@ -4,7 +4,7 @@ import { ArrowUpRight } from "lucide-react";
|
|
|
4
4
|
import { 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/text-link/text-link.tsx
|
|
8
8
|
const textLinkVariants = tv({
|
|
9
9
|
base: [
|
|
10
10
|
"rounded-[2px]",
|
|
@@ -56,5 +56,4 @@ function TextLinkExternalIcon({ label, className }) {
|
|
|
56
56
|
}) : null]
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
//#endregion
|
|
60
59
|
export { TextLink, TextLinkExternalIcon, textLinkVariants };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/components/text-selection-toolbar/text-selection-anchor.d.ts
|
|
2
1
|
export type TextSelectionAnchor = {
|
|
3
2
|
contextElement?: Element;
|
|
4
3
|
getBoundingClientRect: () => DOMRect;
|
|
@@ -18,5 +17,4 @@ export declare function getTextSelectionFocusRect(range: Range, backward?: boole
|
|
|
18
17
|
* follows the text when it scrolls. Pass it to `PopoverContent`'s `anchor`.
|
|
19
18
|
* Returns `null` when nothing is selected.
|
|
20
19
|
*/
|
|
21
|
-
export declare function createTextSelectionAnchor(selection: Selection, contextElement?: Element): TextSelectionAnchor | null;
|
|
22
|
-
//#endregion
|
|
20
|
+
export declare function createTextSelectionAnchor(selection: Selection, contextElement?: Element): TextSelectionAnchor | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/text-selection-toolbar/text-selection-anchor.ts
|
|
2
2
|
const TEXT_NODE = 3;
|
|
3
3
|
const SHOW_TEXT = 4;
|
|
4
4
|
function toDOMRect({ top, right, bottom, left }) {
|
|
@@ -102,5 +102,4 @@ function createTextSelectionAnchor(selection, contextElement) {
|
|
|
102
102
|
getClientRects: () => [getBoundingClientRect()]
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
//#endregion
|
|
106
105
|
export { createTextSelectionAnchor, getTextSelectionFocusRect };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
2
|
import { Toolbar } from "@base-ui/react/toolbar";
|
|
3
|
-
//#region src/components/text-selection-toolbar/text-selection-toolbar.d.ts
|
|
4
3
|
export type TextSelectionToolbarProps = StyledProps<Toolbar.Root.Props>;
|
|
5
4
|
/**
|
|
6
5
|
* The toolbar that floats over selected text, with actions such as Quote,
|
|
@@ -16,5 +15,4 @@ export type TextSelectionToolbarButtonProps = StyledProps<Toolbar.Button.Props>;
|
|
|
16
15
|
export declare function TextSelectionToolbarButton({ className, ...props }: TextSelectionToolbarButtonProps): import("react").JSX.Element;
|
|
17
16
|
export type TextSelectionToolbarSeparatorProps = StyledProps<Toolbar.Separator.Props>;
|
|
18
17
|
/** A 20px line between groups of actions in the toolbar. */
|
|
19
|
-
export declare function TextSelectionToolbarSeparator({ className, ...props }: TextSelectionToolbarSeparatorProps): import("react").JSX.Element;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function TextSelectionToolbarSeparator({ className, ...props }: TextSelectionToolbarSeparatorProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { textSelectionToolbar } from "./text-selection-toolbar.recipe.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { Toolbar } from "@base-ui/react/toolbar";
|
|
4
|
-
|
|
4
|
+
// src/components/text-selection-toolbar/text-selection-toolbar.tsx
|
|
5
5
|
/**
|
|
6
6
|
* The toolbar that floats over selected text, with actions such as Quote,
|
|
7
7
|
* Copy and Comment: in a message, in an Artifact, anywhere text can be
|
|
@@ -37,5 +37,4 @@ function TextSelectionToolbarSeparator({ className, ...props }) {
|
|
|
37
37
|
...props
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
export { TextSelectionToolbar, TextSelectionToolbarButton, TextSelectionToolbarSeparator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
|
-
|
|
2
|
+
// src/components/text-selection-toolbar/text-selection-toolbar.recipe.ts
|
|
3
3
|
const textSelectionToolbar = tv({ slots: {
|
|
4
4
|
toolbar: [
|
|
5
5
|
"flex min-w-0 items-center select-none",
|
|
@@ -15,5 +15,4 @@ const textSelectionToolbar = tv({ slots: {
|
|
|
15
15
|
],
|
|
16
16
|
separator: ["w-px shrink-0", "h-5 bg-line-hairline"]
|
|
17
17
|
} });
|
|
18
|
-
//#endregion
|
|
19
18
|
export { textSelectionToolbar };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DataAttributes } from "../../lib/data-attributes.mjs";
|
|
2
2
|
import { WithoutChildren } from "../../lib/without-children.mjs";
|
|
3
3
|
import { ComponentPropsWithRef } from "react";
|
|
4
|
-
//#region src/components/textarea/textarea.d.ts
|
|
5
4
|
export type TextareaProps = WithoutChildren<ComponentPropsWithRef<"textarea">> & DataAttributes;
|
|
6
5
|
export type TextareaGroupProps = ComponentPropsWithRef<"div">;
|
|
7
6
|
export declare function TextareaGroup({ className, ...props }: TextareaGroupProps): import("react").JSX.Element;
|
|
@@ -12,5 +11,4 @@ export interface TextareaCounterProps extends WithoutChildren<ComponentPropsWith
|
|
|
12
11
|
limit: number;
|
|
13
12
|
getLength?: (value: string) => number;
|
|
14
13
|
}
|
|
15
|
-
export declare function TextareaCounter({ value, count, limit, getLength, className, ...props }: TextareaCounterProps): import("react").JSX.Element;
|
|
16
|
-
//#endregion
|
|
14
|
+
export declare function TextareaCounter({ value, count, limit, getLength, className, ...props }: TextareaCounterProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/textarea/textarea.tsx
|
|
4
4
|
const textarea = tv({ slots: { root: [
|
|
5
5
|
"block w-full min-h-[calc(var(--field-line-height)*3+--spacing(6))] resize-y pl-3 pr-(--ta-pr,0.75rem)",
|
|
6
6
|
"scroll-pb-(--ta-scroll-pb,0)",
|
|
@@ -58,5 +58,4 @@ function TextareaCounter({ value, count, limit, getLength, className, ...props }
|
|
|
58
58
|
]
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
//#endregion
|
|
62
61
|
export { Textarea, TextareaCounter, TextareaGroup };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
-
//#region src/components/thread-panel/thread-panel.d.ts
|
|
3
2
|
export type ThreadPanelRootProps = useRender.ComponentProps<"section">;
|
|
4
3
|
export declare function ThreadPanelRoot({ className, render, ...props }: ThreadPanelRootProps): import("react").JSX.Element;
|
|
5
4
|
export type ThreadPanelHeaderProps = useRender.ComponentProps<"div">;
|
|
@@ -27,5 +26,4 @@ export declare function ThreadPanelSearch({ className, render, ...props }: Threa
|
|
|
27
26
|
export type ThreadPanelSearchTrailingProps = useRender.ComponentProps<"div">;
|
|
28
27
|
export declare function ThreadPanelSearchTrailing({ className, render, ...props }: ThreadPanelSearchTrailingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
29
28
|
export type ThreadPanelSearchCountProps = useRender.ComponentProps<"div">;
|
|
30
|
-
export declare function ThreadPanelSearchCount({ className, render, ...props }: ThreadPanelSearchCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
31
|
-
//#endregion
|
|
29
|
+
export declare function ThreadPanelSearchCount({ className, render, ...props }: ThreadPanelSearchCountProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
@@ -3,7 +3,7 @@ import { threadPanel } from "./thread-panel.recipe.mjs";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { mergeProps } from "@base-ui/react/merge-props";
|
|
5
5
|
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
-
|
|
6
|
+
// src/components/thread-panel/thread-panel.tsx
|
|
7
7
|
function ThreadPanelRoot({ className, render, ...props }) {
|
|
8
8
|
const { root } = threadPanel();
|
|
9
9
|
return /* @__PURE__ */ jsx(Panel, {
|
|
@@ -158,5 +158,4 @@ function ThreadPanelSearchCount({ className, render, ...props }) {
|
|
|
158
158
|
props: mergeProps(defaultProps, props)
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
|
-
//#endregion
|
|
162
161
|
export { ThreadPanelActions, ThreadPanelBody, ThreadPanelContent, ThreadPanelFooter, ThreadPanelHeader, ThreadPanelOriginalMessage, ThreadPanelReplyCount, ThreadPanelReplySummary, ThreadPanelRoot, ThreadPanelSearch, ThreadPanelSearchCount, ThreadPanelSearchTrailing, ThreadPanelTitle, ThreadPanelTitleMeta };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { tv } from "../../lib/tv.mjs";
|
|
2
2
|
import { panelHeadActions, panelHeadEdges } from "../panel/panel-header.recipe.mjs";
|
|
3
|
-
|
|
3
|
+
// src/components/thread-panel/thread-panel.recipe.ts
|
|
4
4
|
const threadPanel = tv({ slots: {
|
|
5
5
|
root: ["isolate flex size-full min-h-0 flex-col", "relative bg-layer-canvas font-sans text-foreground"],
|
|
6
6
|
header: [
|
|
@@ -32,5 +32,4 @@ const threadPanel = tv({ slots: {
|
|
|
32
32
|
replyCount: ["my-timeline-row border-b pb-2 text-center font-mono", "border-line-hairline text-mono-meta text-foreground-hint"],
|
|
33
33
|
footer: ["pt-0", "text-caption text-foreground-hint"]
|
|
34
34
|
} });
|
|
35
|
-
//#endregion
|
|
36
35
|
export { threadPanel };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TaskStatusId } from "../tasks/task-status.recipe.mjs";
|
|
2
2
|
import { ComponentPropsWithRef, ReactNode } from "react";
|
|
3
|
-
//#region src/components/timeline/timeline.d.ts
|
|
4
3
|
export type TimelineSize = "sm" | "md" | "lg";
|
|
5
4
|
export type TimelineItemPlacement = "left" | "right";
|
|
6
5
|
export type TimelineItemVariant = "default" | "information" | "success" | "warning" | "danger" | "accent";
|
|
@@ -40,5 +39,4 @@ export declare function Timeline({ size, itemPlacement, horizontal, iconSize, cl
|
|
|
40
39
|
export declare function TimelineItem({ variant, color, taskStatus, icon, lineType, className, style, children, ...props }: TimelineItemProps): import("react").JSX.Element;
|
|
41
40
|
export declare function TimelineTitle({ className, ...props }: TimelineTitleProps): import("react").JSX.Element;
|
|
42
41
|
export declare function TimelineContent({ className, ...props }: TimelineContentProps): import("react").JSX.Element;
|
|
43
|
-
export declare function TimelineTime({ className, ...props }: TimelineTimeProps): import("react").JSX.Element;
|
|
44
|
-
//#endregion
|
|
42
|
+
export declare function TimelineTime({ className, ...props }: TimelineTimeProps): import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../cn.mjs";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/timeline/timeline.tsx
|
|
4
4
|
/** Maps a task status to the shared `--task-status-*` token the marker should
|
|
5
5
|
* paint with — the SAME token the icon/chip/badge read, so a task status can
|
|
6
6
|
* never look different on the Timeline than everywhere else. */
|
|
@@ -82,5 +82,4 @@ function TimelineTime({ className, ...props }) {
|
|
|
82
82
|
...props
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
export { Timeline, TimelineContent, TimelineItem, TimelineTime, TimelineTitle };
|
|
@@ -1,103 +1,8 @@
|
|
|
1
|
-
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
2
1
|
import { VariantProps } from "../../lib/tv.mjs";
|
|
2
|
+
import { StyledProps } from "../../lib/styled-props.mjs";
|
|
3
3
|
import { ComponentPropsWithRef, ReactNode, Ref } from "react";
|
|
4
4
|
import { Toast } from "@base-ui/react/toast";
|
|
5
|
-
|
|
6
|
-
declare const toastStyles: import("tailwind-variants/lite").TVReturnType<{
|
|
7
|
-
placement: {
|
|
8
|
-
"bottom-center": {
|
|
9
|
-
viewport: string[];
|
|
10
|
-
};
|
|
11
|
-
"bottom-right": {
|
|
12
|
-
viewport: string[];
|
|
13
|
-
};
|
|
14
|
-
"top-center": {
|
|
15
|
-
viewport: string[];
|
|
16
|
-
};
|
|
17
|
-
"top-right": {
|
|
18
|
-
viewport: string[];
|
|
19
|
-
};
|
|
20
|
-
none: {
|
|
21
|
-
viewport: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
strategy: {
|
|
25
|
-
fixed: {
|
|
26
|
-
viewport: string;
|
|
27
|
-
};
|
|
28
|
-
absolute: {
|
|
29
|
-
viewport: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
layout: {
|
|
33
|
-
stacked: {
|
|
34
|
-
root: string[];
|
|
35
|
-
};
|
|
36
|
-
inline: {
|
|
37
|
-
root: string[];
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
viewport: string[];
|
|
42
|
-
positioner: string[];
|
|
43
|
-
root: string[];
|
|
44
|
-
content: string[];
|
|
45
|
-
icon: string[];
|
|
46
|
-
body: string[];
|
|
47
|
-
title: string[];
|
|
48
|
-
description: string[];
|
|
49
|
-
actions: string[];
|
|
50
|
-
progress: string[];
|
|
51
|
-
close: string[];
|
|
52
|
-
arrow: string[];
|
|
53
|
-
}, undefined, {
|
|
54
|
-
placement: {
|
|
55
|
-
"bottom-center": {
|
|
56
|
-
viewport: string[];
|
|
57
|
-
};
|
|
58
|
-
"bottom-right": {
|
|
59
|
-
viewport: string[];
|
|
60
|
-
};
|
|
61
|
-
"top-center": {
|
|
62
|
-
viewport: string[];
|
|
63
|
-
};
|
|
64
|
-
"top-right": {
|
|
65
|
-
viewport: string[];
|
|
66
|
-
};
|
|
67
|
-
none: {
|
|
68
|
-
viewport: string;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
strategy: {
|
|
72
|
-
fixed: {
|
|
73
|
-
viewport: string;
|
|
74
|
-
};
|
|
75
|
-
absolute: {
|
|
76
|
-
viewport: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
layout: {
|
|
80
|
-
stacked: {
|
|
81
|
-
root: string[];
|
|
82
|
-
};
|
|
83
|
-
inline: {
|
|
84
|
-
root: string[];
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
}, {
|
|
88
|
-
viewport: string[];
|
|
89
|
-
positioner: string[];
|
|
90
|
-
root: string[];
|
|
91
|
-
content: string[];
|
|
92
|
-
icon: string[];
|
|
93
|
-
body: string[];
|
|
94
|
-
title: string[];
|
|
95
|
-
description: string[];
|
|
96
|
-
actions: string[];
|
|
97
|
-
progress: string[];
|
|
98
|
-
close: string[];
|
|
99
|
-
arrow: string[];
|
|
100
|
-
}, import("tailwind-variants/lite").TVReturnTypeLike<{
|
|
5
|
+
declare const toastStyles: import("tailwind-variants/config").TVReturnType<{
|
|
101
6
|
placement: {
|
|
102
7
|
"bottom-center": {
|
|
103
8
|
viewport: string[];
|
|
@@ -144,7 +49,7 @@ declare const toastStyles: import("tailwind-variants/lite").TVReturnType<{
|
|
|
144
49
|
progress: string[];
|
|
145
50
|
close: string[];
|
|
146
51
|
arrow: string[];
|
|
147
|
-
}
|
|
52
|
+
}, undefined, undefined, undefined, undefined>;
|
|
148
53
|
export declare const createToastManager: typeof Toast.createToastManager;
|
|
149
54
|
export declare const useToastManager: typeof Toast.useToastManager;
|
|
150
55
|
export type ToastIntent = "info" | "success" | "warning" | "error";
|
|
@@ -260,4 +165,4 @@ export type ToastCloseProps = StyledProps<Toast.Close.Props>;
|
|
|
260
165
|
export declare function ToastClose({ className, children, ...props }: ToastCloseProps): import("react").JSX.Element;
|
|
261
166
|
export type ToastArrowProps = StyledProps<Toast.Arrow.Props>;
|
|
262
167
|
export declare function ToastArrow({ className, ...props }: ToastArrowProps): import("react").JSX.Element;
|
|
263
|
-
|
|
168
|
+
export {};
|