@botiverse/raft-ui 0.50.0 → 0.52.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 +32 -0
- package/dist/components/activity-inbox/activity-inbox-shell.d.mts +12 -0
- package/dist/components/activity-inbox/activity-inbox-shell.mjs +39 -0
- package/dist/components/activity-inbox/activity-inbox-shell.recipe.mjs +14 -0
- package/dist/components/activity-inbox/activity-inbox-sidebar.d.mts +6 -0
- package/dist/components/activity-inbox/activity-inbox-sidebar.mjs +22 -0
- package/dist/components/activity-inbox/activity-inbox-sidebar.recipe.mjs +22 -0
- package/dist/components/activity-inbox/activity-inbox-toolbar.d.mts +9 -0
- package/dist/components/activity-inbox/activity-inbox-toolbar.mjs +29 -0
- package/dist/components/activity-inbox/activity-inbox-toolbar.recipe.mjs +14 -0
- package/dist/components/activity-inbox/index.d.mts +4 -0
- package/dist/components/alert-dialog/alert-dialog.d.mts +41 -0
- package/dist/components/alert-dialog/alert-dialog.mjs +163 -0
- package/dist/components/alert-dialog/index.d.mts +2 -0
- package/dist/components/announcement-dialog/announcement-dialog.d.mts +18 -0
- package/dist/components/announcement-dialog/announcement-dialog.mjs +121 -0
- package/dist/components/announcement-dialog/index.d.mts +3 -0
- package/dist/components/app-rail/app-rail.d.mts +31 -0
- package/dist/components/app-rail/app-rail.mjs +126 -0
- package/dist/components/app-rail/app-rail.recipe.mjs +47 -0
- package/dist/components/app-rail/index.d.mts +2 -0
- package/dist/components/app-shell/app-shell.d.mts +27 -0
- package/dist/components/app-shell/app-shell.mjs +217 -0
- package/dist/components/app-shell/index.d.mts +2 -0
- package/dist/components/avatar/avatar.d.mts +169 -0
- package/dist/components/avatar/avatar.mjs +298 -0
- package/dist/components/avatar/index.d.mts +2 -0
- package/dist/components/badge/badge.d.mts +89 -0
- package/dist/components/badge/badge.mjs +203 -0
- package/dist/components/badge/index.d.mts +2 -0
- package/dist/components/banner/banner.d.mts +141 -0
- package/dist/components/banner/banner.mjs +228 -0
- package/dist/components/banner/index.d.mts +2 -0
- package/dist/components/button/button.d.mts +257 -0
- package/dist/components/button/button.mjs +177 -0
- package/dist/components/button/index.d.mts +2 -0
- package/dist/components/card/card.d.mts +21 -0
- package/dist/components/card/card.mjs +114 -0
- package/dist/components/card/card.recipe.d.mts +105 -0
- package/dist/components/card/card.recipe.mjs +67 -0
- package/dist/components/card/index.d.mts +2 -0
- package/dist/components/checkbox/checkbox-indicator.d.mts +92 -0
- package/dist/components/checkbox/checkbox-indicator.mjs +61 -0
- package/dist/components/checkbox/checkbox.d.mts +9 -0
- package/dist/components/checkbox/checkbox.mjs +40 -0
- package/dist/components/checkbox/index.d.mts +3 -0
- package/dist/components/choice-list/choice-list.d.mts +103 -0
- package/dist/components/choice-list/choice-list.mjs +301 -0
- package/dist/components/choice-list/choice-list.recipe.mjs +44 -0
- package/dist/components/choice-list/index.d.mts +2 -0
- package/dist/components/code-block/code-block.d.mts +30 -0
- package/dist/components/code-block/code-block.mjs +151 -0
- package/dist/components/code-block/code-block.recipe.mjs +47 -0
- package/dist/components/code-block/index.d.mts +2 -0
- package/dist/components/combobox/combobox.d.mts +69 -0
- package/dist/components/combobox/combobox.mjs +438 -0
- package/dist/components/combobox/index.d.mts +2 -0
- package/dist/components/combobox-select/combobox-select.d.mts +4 -0
- package/dist/components/combobox-select/combobox-select.list-side.mjs +16 -0
- package/dist/components/combobox-select/combobox-select.mjs +473 -0
- package/dist/components/combobox-select/combobox-select.options.mjs +21 -0
- package/dist/components/combobox-select/combobox-select.types.d.mts +83 -0
- package/dist/components/combobox-select/index.d.mts +3 -0
- package/dist/components/comment/comment-card.d.mts +40 -0
- package/dist/components/comment/comment-card.mjs +83 -0
- package/dist/components/comment/comment-entry.d.mts +24 -0
- package/dist/components/comment/comment-entry.mjs +75 -0
- package/dist/components/comment/comment-highlight.d.mts +18 -0
- package/dist/components/comment/comment-highlight.mjs +33 -0
- package/dist/components/comment/comment-margin-layout.d.mts +32 -0
- package/dist/components/comment/comment-margin-layout.mjs +44 -0
- package/dist/components/comment/comment-margin.d.mts +29 -0
- package/dist/components/comment/comment-margin.mjs +164 -0
- package/dist/components/comment/comment-marker.d.mts +16 -0
- package/dist/components/comment/comment-marker.mjs +24 -0
- package/dist/components/comment/comment.recipe.mjs +58 -0
- package/dist/components/comment/index.d.mts +8 -0
- package/dist/components/comment/use-comment-margin-fits.d.mts +16 -0
- package/dist/components/comment/use-comment-margin-fits.mjs +34 -0
- package/dist/components/composer/composer-attachment.recipe.mjs +85 -0
- package/dist/components/composer/composer-attachments-scroll-area.d.mts +5 -0
- package/dist/components/composer/composer-attachments-scroll-area.mjs +93 -0
- package/dist/components/composer/composer-attachments.d.mts +27 -0
- package/dist/components/composer/composer-attachments.mjs +147 -0
- package/dist/components/composer/composer-drop-overlay.d.mts +9 -0
- package/dist/components/composer/composer-drop-overlay.mjs +60 -0
- package/dist/components/composer/composer-drop-overlay.recipe.mjs +23 -0
- package/dist/components/composer/composer-root.d.mts +5 -0
- package/dist/components/composer/composer-root.mjs +18 -0
- package/dist/components/composer/composer-suggestion-list.d.mts +139 -0
- package/dist/components/composer/composer-suggestion-list.mjs +160 -0
- package/dist/components/composer/composer-toolbar-label.d.mts +5 -0
- package/dist/components/composer/composer-toolbar-label.mjs +24 -0
- package/dist/components/composer/composer.d.mts +20 -0
- package/dist/components/composer/composer.mjs +88 -0
- package/dist/components/composer/composer.recipe.mjs +29 -0
- package/dist/components/composer/index.d.mts +10 -0
- package/dist/components/composer/sortable-composer-attachments.d.mts +37 -0
- package/dist/components/composer/sortable-composer-attachments.mjs +247 -0
- package/dist/components/composer/use-composer-suggestions.d.mts +83 -0
- package/dist/components/composer/use-composer-suggestions.mjs +207 -0
- package/dist/components/context-menu/context-menu.d.mts +53 -0
- package/dist/components/context-menu/context-menu.mjs +275 -0
- package/dist/components/context-menu/index.d.mts +2 -0
- package/dist/components/conversation-panel/conversation-panel-empty-state.d.mts +9 -0
- package/dist/components/conversation-panel/conversation-panel-empty-state.mjs +57 -0
- package/dist/components/conversation-panel/conversation-panel.d.mts +20 -0
- package/dist/components/conversation-panel/conversation-panel.mjs +63 -0
- package/dist/components/conversation-panel/conversation-panel.recipe.mjs +15 -0
- package/dist/components/conversation-panel/index.d.mts +3 -0
- package/dist/components/copyable-code/copyable-code.d.mts +72 -0
- package/dist/components/copyable-code/copyable-code.mjs +153 -0
- package/dist/components/copyable-code/index.d.mts +2 -0
- package/dist/components/description-list/description-list.d.mts +59 -0
- package/dist/components/description-list/description-list.mjs +96 -0
- package/dist/components/description-list/index.d.mts +2 -0
- package/dist/components/dialog/dialog-sheet-context.mjs +58 -0
- package/dist/components/dialog/dialog-sheet.d.mts +31 -0
- package/dist/components/dialog/dialog-sheet.mjs +194 -0
- package/dist/components/dialog/dialog.d.mts +85 -0
- package/dist/components/dialog/dialog.mjs +371 -0
- package/dist/components/dialog/index.d.mts +3 -0
- package/dist/components/drag/drag-announcements.d.mts +72 -0
- package/dist/components/drag/drag-announcements.mjs +115 -0
- package/dist/components/drag/drag-lift.d.mts +100 -0
- package/dist/components/drag/drag-lift.mjs +276 -0
- package/dist/components/drag/drag-lists.d.mts +98 -0
- package/dist/components/drag/drag-lists.mjs +258 -0
- package/dist/components/drag/drag-sensors.d.mts +87 -0
- package/dist/components/drag/drag-sensors.mjs +169 -0
- package/dist/components/drag/drag.recipe.d.mts +7 -0
- package/dist/components/drag/drag.recipe.mjs +30 -0
- package/dist/components/drag/drop-placeholder.d.mts +41 -0
- package/dist/components/drag/drop-placeholder.mjs +161 -0
- package/dist/components/drag/index.d.mts +8 -0
- package/dist/components/drawer/drawer.d.mts +34 -0
- package/dist/components/drawer/drawer.mjs +202 -0
- package/dist/components/drawer/drawer.recipe.mjs +175 -0
- package/dist/components/drawer/index.d.mts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.mts +62 -0
- package/dist/components/dropdown-menu/dropdown-menu.mjs +319 -0
- package/dist/components/dropdown-menu/index.d.mts +2 -0
- package/dist/components/ellipsis/ellipsis.d.mts +55 -0
- package/dist/components/ellipsis/ellipsis.mjs +320 -0
- package/dist/components/ellipsis/index.d.mts +3 -0
- package/dist/components/empty-state/empty-state.d.mts +15 -0
- package/dist/components/empty-state/empty-state.mjs +102 -0
- package/dist/components/empty-state/index.d.mts +2 -0
- package/dist/components/field/field.d.mts +79 -0
- package/dist/components/field/field.mjs +100 -0
- package/dist/components/field/index.d.mts +2 -0
- package/dist/components/file-preview/file-preview.d.mts +17 -0
- package/dist/components/file-preview/file-preview.mjs +210 -0
- package/dist/components/file-preview/file-preview.recipe.d.mts +99 -0
- package/dist/components/file-preview/file-preview.recipe.mjs +39 -0
- package/dist/components/file-preview/index.d.mts +2 -0
- package/dist/components/files/files.d.mts +35 -0
- package/dist/components/files/files.mjs +69 -0
- package/dist/components/files/files.recipe.mjs +40 -0
- package/dist/components/files/index.d.mts +2 -0
- package/dist/components/filter-chip/filter-chip.d.mts +25 -0
- package/dist/components/filter-chip/filter-chip.mjs +59 -0
- package/dist/components/filter-chip/index.d.mts +2 -0
- package/dist/components/float-button/float-button.d.mts +36 -0
- package/dist/components/float-button/float-button.mjs +116 -0
- package/dist/components/float-button/float-button.position.d.mts +6 -0
- package/dist/components/float-button/float-button.position.mjs +41 -0
- package/dist/components/float-button/index.d.mts +3 -0
- package/dist/components/form-section/form-section.d.mts +16 -0
- package/dist/components/form-section/form-section.mjs +53 -0
- package/dist/components/form-section/index.d.mts +2 -0
- package/dist/components/icon-tile/icon-tile.d.mts +97 -0
- package/dist/components/icon-tile/icon-tile.mjs +49 -0
- package/dist/components/icon-tile/index.d.mts +2 -0
- package/dist/components/icons/action-icons.d.mts +34 -0
- package/dist/components/icons/action-icons.mjs +383 -0
- package/dist/components/icons/conversation-icons.d.mts +12 -0
- package/dist/components/icons/conversation-icons.mjs +147 -0
- package/dist/components/icons/index.d.mts +4 -0
- package/dist/components/icons/object-icons.d.mts +6 -0
- package/dist/components/icons/object-icons.mjs +27 -0
- package/dist/components/inbox-item/inbox-item-leading-badge.d.mts +13 -0
- package/dist/components/inbox-item/inbox-item-leading-badge.mjs +27 -0
- package/dist/components/inbox-item/inbox-item-skeleton.d.mts +46 -0
- package/dist/components/inbox-item/inbox-item-skeleton.mjs +89 -0
- package/dist/components/inbox-item/inbox-item-skeleton.recipe.mjs +20 -0
- package/dist/components/inbox-item/inbox-item.d.mts +71 -0
- package/dist/components/inbox-item/inbox-item.mjs +276 -0
- package/dist/components/inbox-item/inbox-item.recipe.mjs +137 -0
- package/dist/components/inbox-item/index.d.mts +2 -0
- package/dist/components/inline-code/index.d.mts +2 -0
- package/dist/components/inline-code/inline-code.d.mts +8 -0
- package/dist/components/inline-code/inline-code.mjs +30 -0
- package/dist/components/input/index.d.mts +2 -0
- package/dist/components/input/input.d.mts +16 -0
- package/dist/components/input/input.mjs +20 -0
- package/dist/components/input/input.recipe.mjs +12 -0
- package/dist/components/input-group/index.d.mts +2 -0
- package/dist/components/input-group/input-group.d.mts +93 -0
- package/dist/components/input-group/input-group.mjs +178 -0
- package/dist/components/kbd/index.d.mts +2 -0
- package/dist/components/kbd/kbd.d.mts +7 -0
- package/dist/components/kbd/kbd.mjs +34 -0
- package/dist/components/label/index.d.mts +2 -0
- package/dist/components/label/label.d.mts +60 -0
- package/dist/components/label/label.mjs +75 -0
- package/dist/components/legacy-task-panel/index.d.mts +2 -0
- package/dist/components/legacy-task-panel/legacy-task-panel.d.mts +57 -0
- package/dist/components/legacy-task-panel/legacy-task-panel.mjs +234 -0
- package/dist/components/legacy-task-panel/legacy-task-panel.recipe.mjs +30 -0
- package/dist/components/lightbox/index.d.mts +2 -0
- package/dist/components/lightbox/lightbox.d.mts +55 -0
- package/dist/components/lightbox/lightbox.mjs +336 -0
- package/dist/components/list-row/index.d.mts +2 -0
- package/dist/components/list-row/list-row-skeleton.d.mts +21 -0
- package/dist/components/list-row/list-row-skeleton.mjs +43 -0
- package/dist/components/list-row/list-row.d.mts +66 -0
- package/dist/components/list-row/list-row.mjs +167 -0
- package/dist/components/list-row/list-row.recipe.d.mts +126 -0
- package/dist/components/list-row/list-row.recipe.mjs +94 -0
- package/dist/components/live-agent-activity-bar/index.d.mts +2 -0
- package/dist/components/live-agent-activity-bar/live-agent-activity-bar.d.mts +25 -0
- package/dist/components/live-agent-activity-bar/live-agent-activity-bar.mjs +107 -0
- package/dist/components/logo/index.d.mts +2 -0
- package/dist/components/logo/raft-logo.d.mts +9 -0
- package/dist/components/logo/raft-logo.mjs +63 -0
- package/dist/components/markdown/index.d.mts +2 -0
- package/dist/components/markdown/markdown-parts.d.mts +54 -0
- package/dist/components/markdown/markdown-parts.mjs +153 -0
- package/dist/components/markdown/markdown.recipe.mjs +77 -0
- package/dist/components/message-action-card/index.d.mts +2 -0
- package/dist/components/message-action-card/message-action-card-content.recipe.mjs +50 -0
- package/dist/components/message-action-card/message-action-card.d.mts +95 -0
- package/dist/components/message-action-card/message-action-card.mjs +298 -0
- package/dist/components/message-action-card/message-action-card.recipe.mjs +47 -0
- package/dist/components/message-attachment/index.d.mts +5 -0
- package/dist/components/message-attachment/message-attachment.d.mts +27 -0
- package/dist/components/message-attachment/message-attachment.mjs +129 -0
- package/dist/components/message-attachment/message-attachment.recipe.mjs +36 -0
- package/dist/components/message-attachment/message-image-gallery-rows.d.mts +47 -0
- package/dist/components/message-attachment/message-image-gallery-rows.mjs +55 -0
- package/dist/components/message-attachment/message-image-gallery.d.mts +32 -0
- package/dist/components/message-attachment/message-image-gallery.mjs +105 -0
- package/dist/components/message-attachment/message-image-gallery.recipe.mjs +61 -0
- package/dist/components/message-attachment/message-video-preview.d.mts +19 -0
- package/dist/components/message-attachment/message-video-preview.mjs +92 -0
- package/dist/components/message-attachment/message-video-preview.recipe.mjs +33 -0
- package/dist/components/message-embed/index.d.mts +2 -0
- package/dist/components/message-embed/message-embed.d.mts +12 -0
- package/dist/components/message-embed/message-embed.mjs +42 -0
- package/dist/components/message-embed/message-embed.recipe.mjs +14 -0
- package/dist/components/message-forwarded-bundle/index.d.mts +2 -0
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.d.mts +92 -0
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.mjs +324 -0
- package/dist/components/message-forwarded-bundle/message-forwarded-bundle.recipe.mjs +81 -0
- package/dist/components/message-item/index.d.mts +13 -0
- package/dist/components/message-item/message-footer.d.mts +20 -0
- package/dist/components/message-item/message-footer.mjs +54 -0
- package/dist/components/message-item/message-footer.recipe.mjs +46 -0
- package/dist/components/message-item/message-item-content.d.mts +22 -0
- package/dist/components/message-item/message-item-content.mjs +81 -0
- package/dist/components/message-item/message-item-delegated.d.mts +38 -0
- package/dist/components/message-item/message-item-delegated.mjs +72 -0
- package/dist/components/message-item/message-item-gutter.d.mts +10 -0
- package/dist/components/message-item/message-item-gutter.mjs +41 -0
- package/dist/components/message-item/message-item-header.d.mts +29 -0
- package/dist/components/message-item/message-item-header.mjs +107 -0
- package/dist/components/message-item/message-item-label.mjs +113 -0
- package/dist/components/message-item/message-item-root.d.mts +25 -0
- package/dist/components/message-item/message-item-root.mjs +39 -0
- package/dist/components/message-item/message-item-toolbar.d.mts +9 -0
- package/dist/components/message-item/message-item-toolbar.mjs +131 -0
- package/dist/components/message-item/message-item.recipe.d.mts +101 -0
- package/dist/components/message-item/message-item.recipe.mjs +114 -0
- package/dist/components/message-item/message-multi-select.d.mts +15 -0
- package/dist/components/message-item/message-multi-select.mjs +49 -0
- package/dist/components/message-item/message-multi-select.recipe.mjs +23 -0
- package/dist/components/message-item/message-reaction.d.mts +39 -0
- package/dist/components/message-item/message-reaction.mjs +188 -0
- package/dist/components/message-item/message-reaction.recipe.mjs +76 -0
- package/dist/components/message-item/message-reference.d.mts +50 -0
- package/dist/components/message-item/message-reference.mjs +111 -0
- package/dist/components/message-item/message-reference.recipe.d.mts +6 -0
- package/dist/components/message-item/message-reference.recipe.mjs +63 -0
- package/dist/components/message-item/message-text-selection-toolbar.d.mts +24 -0
- package/dist/components/message-item/message-text-selection-toolbar.mjs +13 -0
- package/dist/components/message-list/index.d.mts +4 -0
- package/dist/components/message-list/message-list-jump.d.mts +21 -0
- package/dist/components/message-list/message-list-jump.mjs +73 -0
- package/dist/components/message-list/message-list-markers.d.mts +13 -0
- package/dist/components/message-list/message-list-markers.mjs +70 -0
- package/dist/components/message-list/message-list.d.mts +7 -0
- package/dist/components/message-list/message-list.mjs +52 -0
- package/dist/components/message-list/message-list.recipe.mjs +54 -0
- package/dist/components/message-quoted-preview/index.d.mts +2 -0
- package/dist/components/message-quoted-preview/message-quoted-preview.d.mts +40 -0
- package/dist/components/message-quoted-preview/message-quoted-preview.mjs +144 -0
- package/dist/components/message-quoted-preview/message-quoted-preview.recipe.mjs +38 -0
- package/dist/components/message-replies/index.d.mts +2 -0
- package/dist/components/message-replies/message-replies.d.mts +17 -0
- package/dist/components/message-replies/message-replies.mjs +79 -0
- package/dist/components/message-replies/message-replies.recipe.mjs +25 -0
- package/dist/components/message-translation/index.d.mts +2 -0
- package/dist/components/message-translation/message-translation.d.mts +20 -0
- package/dist/components/message-translation/message-translation.mjs +64 -0
- package/dist/components/message-translation/message-translation.recipe.mjs +27 -0
- package/dist/components/meter/index.d.mts +2 -0
- package/dist/components/meter/meter.d.mts +107 -0
- package/dist/components/meter/meter.mjs +118 -0
- package/dist/components/mobile-nav/index.d.mts +3 -0
- package/dist/components/mobile-nav/mobile-nav-server.d.mts +71 -0
- package/dist/components/mobile-nav/mobile-nav-server.mjs +287 -0
- package/dist/components/mobile-nav/mobile-nav.d.mts +12 -0
- package/dist/components/mobile-nav/mobile-nav.mjs +73 -0
- package/dist/components/mode-bar/index.d.mts +2 -0
- package/dist/components/mode-bar/mode-bar.d.mts +33 -0
- package/dist/components/mode-bar/mode-bar.mjs +115 -0
- package/dist/components/notification-center/index.d.mts +2 -0
- package/dist/components/notification-center/notification-center.d.mts +225 -0
- package/dist/components/notification-center/notification-center.mjs +340 -0
- package/dist/components/panel/index.d.mts +7 -0
- package/dist/components/panel/panel-action.d.mts +15 -0
- package/dist/components/panel/panel-action.mjs +23 -0
- package/dist/components/panel/panel-action.recipe.mjs +40 -0
- package/dist/components/panel/panel-header.d.mts +34 -0
- package/dist/components/panel/panel-header.mjs +135 -0
- package/dist/components/panel/panel-header.recipe.mjs +78 -0
- package/dist/components/panel/panel-notice.d.mts +16 -0
- package/dist/components/panel/panel-notice.mjs +77 -0
- package/dist/components/panel/panel-split-action.d.mts +34 -0
- package/dist/components/panel/panel-split-action.mjs +69 -0
- package/dist/components/panel/panel-split-action.recipe.mjs +53 -0
- package/dist/components/panel/panel-toggle-action.d.mts +6 -0
- package/dist/components/panel/panel-toggle-action.mjs +15 -0
- package/dist/components/panel/panel.d.mts +25 -0
- package/dist/components/panel/panel.mjs +96 -0
- package/dist/components/panel/panel.recipe.mjs +24 -0
- package/dist/components/picker-trigger-button/index.d.mts +2 -0
- package/dist/components/picker-trigger-button/picker-trigger-button.d.mts +7 -0
- package/dist/components/picker-trigger-button/picker-trigger-button.mjs +36 -0
- package/dist/components/popover/index.d.mts +2 -0
- package/dist/components/popover/popover.d.mts +41 -0
- package/dist/components/popover/popover.mjs +184 -0
- package/dist/components/preview-card/index.d.mts +2 -0
- package/dist/components/preview-card/preview-card.d.mts +43 -0
- package/dist/components/preview-card/preview-card.mjs +197 -0
- package/dist/components/profile-panel/index.d.mts +2 -0
- package/dist/components/profile-panel/profile-panel.d.mts +14 -0
- package/dist/components/profile-panel/profile-panel.mjs +46 -0
- package/dist/components/profile-panel/profile-panel.recipe.mjs +14 -0
- package/dist/components/progress/index.d.mts +2 -0
- package/dist/components/progress/progress.d.mts +119 -0
- package/dist/components/progress/progress.mjs +139 -0
- package/dist/components/pull-to-refresh/index.d.mts +4 -0
- package/dist/components/pull-to-refresh/pull-to-refresh-gesture.d.mts +30 -0
- package/dist/components/pull-to-refresh/pull-to-refresh-gesture.mjs +134 -0
- package/dist/components/pull-to-refresh/pull-to-refresh-indicator.d.mts +21 -0
- package/dist/components/pull-to-refresh/pull-to-refresh-indicator.mjs +153 -0
- package/dist/components/pull-to-refresh/pull-to-refresh-material-progress.mjs +150 -0
- package/dist/components/pull-to-refresh/use-pull-to-refresh.d.mts +55 -0
- package/dist/components/pull-to-refresh/use-pull-to-refresh.mjs +156 -0
- package/dist/components/radio-group/index.d.mts +2 -0
- package/dist/components/radio-group/radio-group.d.mts +14 -0
- package/dist/components/radio-group/radio-group.mjs +59 -0
- package/dist/components/resizable/index.d.mts +2 -0
- package/dist/components/resizable/resizable.d.mts +15 -0
- package/dist/components/resizable/resizable.mjs +39 -0
- package/dist/components/resizable/resizable.recipe.mjs +24 -0
- package/dist/components/scroll-area/index.d.mts +2 -0
- package/dist/components/scroll-area/scroll-area.d.mts +17 -0
- package/dist/components/scroll-area/scroll-area.mjs +55 -0
- package/dist/components/scroll-area/scroll-area.recipe.mjs +23 -0
- package/dist/components/search/index.d.mts +6 -0
- package/dist/components/search/search-entity.d.mts +24 -0
- package/dist/components/search/search-entity.mjs +106 -0
- package/dist/components/search/search-entity.recipe.mjs +41 -0
- package/dist/components/search/search-message.d.mts +25 -0
- package/dist/components/search/search-message.mjs +115 -0
- package/dist/components/search/search-message.recipe.mjs +32 -0
- package/dist/components/search/search-thread.d.mts +17 -0
- package/dist/components/search/search-thread.mjs +79 -0
- package/dist/components/search/search-thread.recipe.mjs +16 -0
- package/dist/components/search/search-trigger.d.mts +15 -0
- package/dist/components/search/search-trigger.mjs +59 -0
- package/dist/components/search/search.d.mts +23 -0
- package/dist/components/search/search.mjs +88 -0
- package/dist/components/search/search.recipe.mjs +22 -0
- package/dist/components/segmented-control/index.d.mts +2 -0
- package/dist/components/segmented-control/segmented-control.d.mts +38 -0
- package/dist/components/segmented-control/segmented-control.mjs +306 -0
- package/dist/components/select/index.d.mts +2 -0
- package/dist/components/select/select.d.mts +95 -0
- package/dist/components/select/select.mjs +483 -0
- package/dist/components/separator/index.d.mts +2 -0
- package/dist/components/separator/separator.d.mts +10 -0
- package/dist/components/separator/separator.mjs +49 -0
- package/dist/components/sidebar/index.d.mts +5 -0
- package/dist/components/sidebar/sidebar-item.d.mts +64 -0
- package/dist/components/sidebar/sidebar-item.mjs +201 -0
- package/dist/components/sidebar/sidebar-item.recipe.mjs +100 -0
- package/dist/components/sidebar/sidebar-menu.d.mts +13 -0
- package/dist/components/sidebar/sidebar-menu.mjs +67 -0
- package/dist/components/sidebar/sidebar-menu.recipe.mjs +22 -0
- package/dist/components/sidebar/sidebar-section.d.mts +41 -0
- package/dist/components/sidebar/sidebar-section.mjs +164 -0
- package/dist/components/sidebar/sidebar-section.recipe.mjs +45 -0
- package/dist/components/sidebar/sidebar.d.mts +17 -0
- package/dist/components/sidebar/sidebar.mjs +149 -0
- package/dist/components/sidebar/sidebar.recipe.mjs +37 -0
- package/dist/components/skeleton/index.d.mts +2 -0
- package/dist/components/skeleton/skeleton.d.mts +50 -0
- package/dist/components/skeleton/skeleton.mjs +29 -0
- package/dist/components/spinner/index.d.mts +2 -0
- package/dist/components/spinner/spinner.d.mts +77 -0
- package/dist/components/spinner/spinner.mjs +118 -0
- package/dist/components/status/index.d.mts +2 -0
- package/dist/components/status/status.d.mts +143 -0
- package/dist/components/status/status.mjs +56 -0
- package/dist/components/steps/index.d.mts +3 -0
- package/dist/components/steps/otter-indicator.d.mts +17 -0
- package/dist/components/steps/otter-indicator.mjs +331 -0
- package/dist/components/steps/steps.d.mts +50 -0
- package/dist/components/steps/steps.mjs +174 -0
- package/dist/components/switch/index.d.mts +2 -0
- package/dist/components/switch/switch.d.mts +9 -0
- package/dist/components/switch/switch.mjs +50 -0
- package/dist/components/system-message/index.d.mts +2 -0
- package/dist/components/system-message/system-message.d.mts +27 -0
- package/dist/components/system-message/system-message.mjs +113 -0
- package/dist/components/system-message/system-message.recipe.mjs +34 -0
- package/dist/components/table/index.d.mts +2 -0
- package/dist/components/table/table.d.mts +35 -0
- package/dist/components/table/table.mjs +102 -0
- package/dist/components/table/table.recipe.mjs +31 -0
- package/dist/components/tabs/index.d.mts +2 -0
- package/dist/components/tabs/tabs.d.mts +185 -0
- package/dist/components/tabs/tabs.mjs +528 -0
- package/dist/components/task-board/index.d.mts +2 -0
- package/dist/components/task-board/task-board-column.recipe.mjs +46 -0
- package/dist/components/task-board/task-board.d.mts +40 -0
- package/dist/components/task-board/task-board.mjs +155 -0
- package/dist/components/task-card/index.d.mts +2 -0
- package/dist/components/task-card/task-card-status.recipe.mjs +17 -0
- package/dist/components/task-card/task-card.d.mts +30 -0
- package/dist/components/task-card/task-card.mjs +141 -0
- package/dist/components/task-card/task-card.recipe.mjs +39 -0
- package/dist/components/task-dnd/index.d.mts +2 -0
- package/dist/components/task-dnd/task-dnd.d.mts +75 -0
- package/dist/components/task-dnd/task-dnd.mjs +341 -0
- package/dist/components/task-dnd/task-dnd.recipe.mjs +20 -0
- package/dist/components/task-list/index.d.mts +2 -0
- package/dist/components/task-list/task-list-section.recipe.mjs +37 -0
- package/dist/components/task-list/task-list.d.mts +34 -0
- package/dist/components/task-list/task-list.mjs +119 -0
- package/dist/components/tasks/index.d.mts +7 -0
- package/dist/components/tasks/task-chip.d.mts +14 -0
- package/dist/components/tasks/task-chip.mjs +81 -0
- package/dist/components/tasks/task-loading.d.mts +7 -0
- package/dist/components/tasks/task-loading.mjs +32 -0
- package/dist/components/tasks/task-loading.recipe.mjs +8 -0
- package/dist/components/tasks/task-status-badge.d.mts +24 -0
- package/dist/components/tasks/task-status-badge.mjs +24 -0
- package/dist/components/tasks/task-status-icon.d.mts +13 -0
- package/dist/components/tasks/task-status-icon.mjs +90 -0
- package/dist/components/tasks/task-status.recipe.d.mts +62 -0
- package/dist/components/tasks/task-status.recipe.mjs +33 -0
- package/dist/components/tasks/tasks-panel.d.mts +22 -0
- package/dist/components/tasks/tasks-panel.mjs +114 -0
- package/dist/components/tasks/tasks-panel.recipe.mjs +36 -0
- package/dist/components/text/index.d.mts +2 -0
- package/dist/components/text/text.d.mts +186 -0
- package/dist/components/text/text.mjs +114 -0
- package/dist/components/text-link/index.d.mts +2 -0
- package/dist/components/text-link/text-link.d.mts +36 -0
- package/dist/components/text-link/text-link.mjs +60 -0
- package/dist/components/text-selection-toolbar/index.d.mts +3 -0
- package/dist/components/text-selection-toolbar/text-selection-anchor.d.mts +22 -0
- package/dist/components/text-selection-toolbar/text-selection-anchor.mjs +106 -0
- package/dist/components/text-selection-toolbar/text-selection-toolbar.d.mts +20 -0
- package/dist/components/text-selection-toolbar/text-selection-toolbar.mjs +41 -0
- package/dist/components/text-selection-toolbar/text-selection-toolbar.recipe.mjs +19 -0
- package/dist/components/textarea/index.d.mts +2 -0
- package/dist/components/textarea/textarea.d.mts +16 -0
- package/dist/components/textarea/textarea.mjs +62 -0
- package/dist/components/thread-panel/index.d.mts +2 -0
- package/dist/components/thread-panel/thread-panel.d.mts +31 -0
- package/dist/components/thread-panel/thread-panel.mjs +162 -0
- package/dist/components/thread-panel/thread-panel.recipe.mjs +36 -0
- package/dist/components/timeline/index.d.mts +2 -0
- package/dist/components/timeline/timeline.d.mts +44 -0
- package/dist/components/timeline/timeline.mjs +81 -0
- package/dist/components/toast/index.d.mts +2 -0
- package/dist/components/toast/toast.d.mts +263 -0
- package/dist/components/toast/toast.mjs +556 -0
- package/dist/components/toggle-group/index.d.mts +2 -0
- package/dist/components/toggle-group/toggle-group.d.mts +15 -0
- package/dist/components/toggle-group/toggle-group.mjs +64 -0
- package/dist/components/tooltip/index.d.mts +2 -0
- package/dist/components/tooltip/tooltip.d.mts +18 -0
- package/dist/components/tooltip/tooltip.mjs +197 -0
- package/dist/components/virtual-list/ItemColumns.mjs +37 -0
- package/dist/components/virtual-list/VirtualList.d.mts +4 -0
- package/dist/components/virtual-list/VirtualList.mjs +1401 -0
- package/dist/components/virtual-list/VirtualListContext.mjs +5 -0
- package/dist/components/virtual-list/hooks/use-event-callback.mjs +10 -0
- package/dist/components/virtual-list/hooks/use-ios-momentum-compensation.mjs +148 -0
- package/dist/components/virtual-list/hooks/use-keyboard-scroll.mjs +42 -0
- package/dist/components/virtual-list/hooks/use-latest-ref.mjs +10 -0
- package/dist/components/virtual-list/hooks/use-layout-effect-with-previous.mjs +16 -0
- package/dist/components/virtual-list/hooks/use-memo-with-previous.mjs +22 -0
- package/dist/components/virtual-list/hooks/use-non-passive-wheel.mjs +23 -0
- package/dist/components/virtual-list/hooks/use-non-virtual-content-resize.mjs +28 -0
- package/dist/components/virtual-list/hooks/use-scroll-anchor.mjs +55 -0
- package/dist/components/virtual-list/index.d.mts +5 -0
- package/dist/components/virtual-list/public-types.d.mts +341 -0
- package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.d.mts +5 -0
- package/dist/components/virtual-list/resize-observer/ResizeObserverWrapper.mjs +70 -0
- package/dist/components/virtual-list/resize-observer/resize-observer-delegate.d.mts +6 -0
- package/dist/components/virtual-list/resize-observer/resize-observer-delegate.mjs +54 -0
- package/dist/components/virtual-list/utils/align.mjs +19 -0
- package/dist/components/virtual-list/utils/constants.mjs +30 -0
- package/dist/components/virtual-list/utils/fenwick-tree.mjs +66 -0
- package/dist/components/virtual-list/utils/items-anchor.mjs +49 -0
- package/dist/components/virtual-list/utils/measure.mjs +77 -0
- package/dist/components/virtual-list/utils/platform.mjs +39 -0
- package/dist/components/virtual-list/utils/range.mjs +103 -0
- package/dist/components/virtual-list/utils/size-cache.mjs +35 -0
- package/dist/components/workspace-button/index.d.mts +2 -0
- package/dist/components/workspace-button/workspace-button.d.mts +9 -0
- package/dist/components/workspace-button/workspace-button.mjs +28 -0
- package/dist/index.d.mts +239 -4864
- package/dist/index.mjs +142 -17053
- package/dist/lib/chip-remove.mjs +17 -0
- package/dist/lib/data-attributes.d.mts +5 -0
- package/dist/lib/decision-width.mjs +9 -0
- package/dist/lib/default-native-button.mjs +8 -0
- package/dist/lib/desktop-media.mjs +10 -0
- package/dist/lib/drag-escape.mjs +37 -0
- package/dist/lib/frame-insets.mjs +127 -0
- package/dist/lib/head-edges.mjs +44 -0
- package/dist/lib/hud-text-action.mjs +10 -0
- package/dist/lib/inline-chip.mjs +30 -0
- package/dist/lib/input-modality.d.mts +36 -0
- package/dist/lib/input-modality.mjs +186 -0
- package/dist/lib/list-cell.mjs +21 -0
- package/dist/lib/located.d.mts +25 -0
- package/dist/lib/located.mjs +28 -0
- package/dist/lib/overlay-depth.d.mts +42 -0
- package/dist/lib/overlay-depth.mjs +59 -0
- package/dist/lib/phone-media.mjs +24 -0
- package/dist/lib/presence.d.mts +16 -0
- package/dist/lib/presence.mjs +16 -0
- package/dist/lib/row-tone.d.mts +8 -0
- package/dist/lib/search-hit.mjs +18 -0
- package/dist/lib/stacked-actions.mjs +112 -0
- package/dist/lib/styled-props.d.mts +15 -0
- package/dist/lib/tap-activation.mjs +133 -0
- package/dist/lib/theme/theme-context.d.mts +10 -0
- package/dist/lib/theme/theme-context.mjs +9 -0
- package/dist/lib/theme/theme-provider.d.mts +23 -0
- package/dist/lib/theme/theme-provider.mjs +61 -0
- package/dist/lib/theme/theme-scope.mjs +19 -0
- package/dist/lib/theme/use-theme.d.mts +5 -0
- package/dist/lib/theme/use-theme.mjs +9 -0
- package/dist/lib/touch-drag.d.mts +55 -0
- package/dist/lib/touch-drag.mjs +151 -0
- package/dist/lib/truncation.d.mts +26 -0
- package/dist/lib/truncation.mjs +153 -0
- package/dist/lib/tv.d.mts +2 -0
- package/dist/lib/tv.mjs +14 -0
- package/dist/lib/use-copy-to-clipboard.mjs +58 -0
- package/dist/lib/use-merged-ref.mjs +60 -0
- package/dist/lib/use-mobile-viewport.mjs +17 -0
- package/dist/lib/use-overflow-title.mjs +49 -0
- package/dist/lib/use-scrollbar-size.d.mts +16 -0
- package/dist/lib/use-scrollbar-size.mjs +46 -0
- package/dist/lib/use-truncated.d.mts +20 -0
- package/dist/lib/use-truncated.mjs +34 -0
- package/dist/lib/without-children.d.mts +8 -0
- package/dist/wip.d.mts +61 -1222
- package/dist/wip.mjs +43 -3079
- package/package.json +8 -1
- package/dist/inbox-item-B4nNvpp1.d.mts +0 -1784
- package/dist/inbox-item-DHJOrxB8.mjs +0 -7454
- package/dist/style.css +0 -1395
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/icons/action-icons.tsx
|
|
3
|
+
/** Follow a thread: a plus inside ThreadIcon's front bubble. */
|
|
4
|
+
function FollowThreadIcon(props) {
|
|
5
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: 24,
|
|
8
|
+
height: 24,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
focusable: "false",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round",
|
|
16
|
+
strokeWidth: 2,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M4.667 15.333 2.333 17.667V5.667A2.667 2.667 0 0 1 5 3h10" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M11 6.667h8.333A2.667 2.667 0 0 1 22 9.333v6.334a2.667 2.667 0 0 1-2.667 2.666h-2v3.334L13 18.333h-2a2.667 2.667 0 0 1-2.667-2.666V9.333A2.667 2.667 0 0 1 11 6.667Z" }),
|
|
21
|
+
/* @__PURE__ */ jsx("path", { d: "M15.167 10v5" }),
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M12.667 12.5h5" })
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
/** Unfollow a thread: a minus inside ThreadIcon's front bubble. */
|
|
27
|
+
function UnfollowThreadIcon(props) {
|
|
28
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
29
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
30
|
+
width: 24,
|
|
31
|
+
height: 24,
|
|
32
|
+
viewBox: "0 0 24 24",
|
|
33
|
+
"aria-hidden": "true",
|
|
34
|
+
focusable: "false",
|
|
35
|
+
fill: "none",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeLinecap: "round",
|
|
38
|
+
strokeLinejoin: "round",
|
|
39
|
+
strokeWidth: 2,
|
|
40
|
+
...props,
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ jsx("path", { d: "M4.667 15.333 2.333 17.667V5.667A2.667 2.667 0 0 1 5 3h10" }),
|
|
43
|
+
/* @__PURE__ */ jsx("path", { d: "M11 6.667h8.333A2.667 2.667 0 0 1 22 9.333v6.334a2.667 2.667 0 0 1-2.667 2.666h-2v3.334L13 18.333h-2a2.667 2.667 0 0 1-2.667-2.666V9.333A2.667 2.667 0 0 1 11 6.667Z" }),
|
|
44
|
+
/* @__PURE__ */ jsx("path", { d: "M12.667 12.5h5" })
|
|
45
|
+
]
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/** Join a public channel: Lucide's hash, cut short of a plus in the bottom-right corner. */
|
|
49
|
+
function JoinChannelIcon(props) {
|
|
50
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
51
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
52
|
+
width: 24,
|
|
53
|
+
height: 24,
|
|
54
|
+
viewBox: "0 0 24 24",
|
|
55
|
+
"aria-hidden": "true",
|
|
56
|
+
focusable: "false",
|
|
57
|
+
fill: "none",
|
|
58
|
+
stroke: "currentColor",
|
|
59
|
+
strokeLinecap: "round",
|
|
60
|
+
strokeLinejoin: "round",
|
|
61
|
+
strokeWidth: 2,
|
|
62
|
+
...props,
|
|
63
|
+
children: [
|
|
64
|
+
/* @__PURE__ */ jsx("line", {
|
|
65
|
+
x1: 4,
|
|
66
|
+
y1: 9,
|
|
67
|
+
x2: 20,
|
|
68
|
+
y2: 9
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ jsx("line", {
|
|
71
|
+
x1: 4,
|
|
72
|
+
y1: 15,
|
|
73
|
+
x2: 15.5,
|
|
74
|
+
y2: 15
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ jsx("line", {
|
|
77
|
+
x1: 10,
|
|
78
|
+
y1: 3,
|
|
79
|
+
x2: 8,
|
|
80
|
+
y2: 21
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ jsx("line", {
|
|
83
|
+
x1: 16,
|
|
84
|
+
y1: 3,
|
|
85
|
+
x2: 14.5,
|
|
86
|
+
y2: 16.5
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
|
|
89
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
90
|
+
]
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/** Leave a public channel: the same cut hash, with a minus. */
|
|
94
|
+
function LeaveChannelIcon(props) {
|
|
95
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
96
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
97
|
+
width: 24,
|
|
98
|
+
height: 24,
|
|
99
|
+
viewBox: "0 0 24 24",
|
|
100
|
+
"aria-hidden": "true",
|
|
101
|
+
focusable: "false",
|
|
102
|
+
fill: "none",
|
|
103
|
+
stroke: "currentColor",
|
|
104
|
+
strokeLinecap: "round",
|
|
105
|
+
strokeLinejoin: "round",
|
|
106
|
+
strokeWidth: 2,
|
|
107
|
+
...props,
|
|
108
|
+
children: [
|
|
109
|
+
/* @__PURE__ */ jsx("line", {
|
|
110
|
+
x1: 4,
|
|
111
|
+
y1: 9,
|
|
112
|
+
x2: 20,
|
|
113
|
+
y2: 9
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ jsx("line", {
|
|
116
|
+
x1: 4,
|
|
117
|
+
y1: 15,
|
|
118
|
+
x2: 15.5,
|
|
119
|
+
y2: 15
|
|
120
|
+
}),
|
|
121
|
+
/* @__PURE__ */ jsx("line", {
|
|
122
|
+
x1: 10,
|
|
123
|
+
y1: 3,
|
|
124
|
+
x2: 8,
|
|
125
|
+
y2: 21
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ jsx("line", {
|
|
128
|
+
x1: 16,
|
|
129
|
+
y1: 3,
|
|
130
|
+
x2: 14.5,
|
|
131
|
+
y2: 16.5
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
134
|
+
]
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/** Join a private channel: Lucide's lock, its body cut short of a plus in the bottom-right corner. */
|
|
138
|
+
function JoinPrivateChannelIcon(props) {
|
|
139
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
140
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
141
|
+
width: 24,
|
|
142
|
+
height: 24,
|
|
143
|
+
viewBox: "0 0 24 24",
|
|
144
|
+
"aria-hidden": "true",
|
|
145
|
+
focusable: "false",
|
|
146
|
+
fill: "none",
|
|
147
|
+
stroke: "currentColor",
|
|
148
|
+
strokeLinecap: "round",
|
|
149
|
+
strokeLinejoin: "round",
|
|
150
|
+
strokeWidth: 2,
|
|
151
|
+
...props,
|
|
152
|
+
children: [
|
|
153
|
+
/* @__PURE__ */ jsx("path", { d: "M21 13a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h9" }),
|
|
154
|
+
/* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }),
|
|
155
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
|
|
156
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
157
|
+
]
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
/** Leave a private channel: the same cut lock, with a minus. */
|
|
161
|
+
function LeavePrivateChannelIcon(props) {
|
|
162
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
163
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
164
|
+
width: 24,
|
|
165
|
+
height: 24,
|
|
166
|
+
viewBox: "0 0 24 24",
|
|
167
|
+
"aria-hidden": "true",
|
|
168
|
+
focusable: "false",
|
|
169
|
+
fill: "none",
|
|
170
|
+
stroke: "currentColor",
|
|
171
|
+
strokeLinecap: "round",
|
|
172
|
+
strokeLinejoin: "round",
|
|
173
|
+
strokeWidth: 2,
|
|
174
|
+
...props,
|
|
175
|
+
children: [
|
|
176
|
+
/* @__PURE__ */ jsx("path", { d: "M21 13a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h9" }),
|
|
177
|
+
/* @__PURE__ */ jsx("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" }),
|
|
178
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
179
|
+
]
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/** Join a joint channel: Lucide's git-branch, with a plus in its empty bottom-right corner. */
|
|
183
|
+
function JoinJointChannelIcon(props) {
|
|
184
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
185
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
186
|
+
width: 24,
|
|
187
|
+
height: 24,
|
|
188
|
+
viewBox: "0 0 24 24",
|
|
189
|
+
"aria-hidden": "true",
|
|
190
|
+
focusable: "false",
|
|
191
|
+
fill: "none",
|
|
192
|
+
stroke: "currentColor",
|
|
193
|
+
strokeLinecap: "round",
|
|
194
|
+
strokeLinejoin: "round",
|
|
195
|
+
strokeWidth: 2,
|
|
196
|
+
...props,
|
|
197
|
+
children: [
|
|
198
|
+
/* @__PURE__ */ jsx("path", { d: "M15 6a9 9 0 0 0-9 9V3" }),
|
|
199
|
+
/* @__PURE__ */ jsx("circle", {
|
|
200
|
+
cx: 18,
|
|
201
|
+
cy: 6,
|
|
202
|
+
r: 3
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ jsx("circle", {
|
|
205
|
+
cx: 6,
|
|
206
|
+
cy: 18,
|
|
207
|
+
r: 3
|
|
208
|
+
}),
|
|
209
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
|
|
210
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
211
|
+
]
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
/** Leave a joint channel: Lucide's git-branch, with a minus. */
|
|
215
|
+
function LeaveJointChannelIcon(props) {
|
|
216
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
217
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
218
|
+
width: 24,
|
|
219
|
+
height: 24,
|
|
220
|
+
viewBox: "0 0 24 24",
|
|
221
|
+
"aria-hidden": "true",
|
|
222
|
+
focusable: "false",
|
|
223
|
+
fill: "none",
|
|
224
|
+
stroke: "currentColor",
|
|
225
|
+
strokeLinecap: "round",
|
|
226
|
+
strokeLinejoin: "round",
|
|
227
|
+
strokeWidth: 2,
|
|
228
|
+
...props,
|
|
229
|
+
children: [
|
|
230
|
+
/* @__PURE__ */ jsx("path", { d: "M15 6a9 9 0 0 0-9 9V3" }),
|
|
231
|
+
/* @__PURE__ */ jsx("circle", {
|
|
232
|
+
cx: 18,
|
|
233
|
+
cy: 6,
|
|
234
|
+
r: 3
|
|
235
|
+
}),
|
|
236
|
+
/* @__PURE__ */ jsx("circle", {
|
|
237
|
+
cx: 6,
|
|
238
|
+
cy: 18,
|
|
239
|
+
r: 3
|
|
240
|
+
}),
|
|
241
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
242
|
+
]
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/** Follow an Artifact: a plus inside ArtifactIcon's page, where its two lines of text were. */
|
|
246
|
+
function FollowArtifactIcon(props) {
|
|
247
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
248
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
249
|
+
width: 24,
|
|
250
|
+
height: 24,
|
|
251
|
+
viewBox: "0 0 24 24",
|
|
252
|
+
"aria-hidden": "true",
|
|
253
|
+
focusable: "false",
|
|
254
|
+
fill: "none",
|
|
255
|
+
stroke: "currentColor",
|
|
256
|
+
strokeLinecap: "round",
|
|
257
|
+
strokeLinejoin: "round",
|
|
258
|
+
strokeWidth: 2,
|
|
259
|
+
...props,
|
|
260
|
+
children: [
|
|
261
|
+
/* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
|
|
262
|
+
/* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
|
|
263
|
+
/* @__PURE__ */ jsx("path", { d: "M12 13.5v5" }),
|
|
264
|
+
/* @__PURE__ */ jsx("path", { d: "M9.5 16h5" })
|
|
265
|
+
]
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Unfollow an Artifact: a minus inside ArtifactIcon's page. Below 18px the minus is drawn
|
|
270
|
+
* heavier and a little longer (stroke 3, 6 long, on whole pixels at 16px), so it reads as a
|
|
271
|
+
* mark rather than one more line of the page's text; at 20 and 24 it is the plain minus.
|
|
272
|
+
*/
|
|
273
|
+
function UnfollowArtifactIcon(props) {
|
|
274
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
275
|
+
"data-icon-sizes": "",
|
|
276
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
277
|
+
width: 24,
|
|
278
|
+
height: 24,
|
|
279
|
+
viewBox: "0 0 24 24",
|
|
280
|
+
"aria-hidden": "true",
|
|
281
|
+
focusable: "false",
|
|
282
|
+
fill: "none",
|
|
283
|
+
stroke: "currentColor",
|
|
284
|
+
strokeLinecap: "round",
|
|
285
|
+
strokeLinejoin: "round",
|
|
286
|
+
strokeWidth: 2,
|
|
287
|
+
...props,
|
|
288
|
+
children: [
|
|
289
|
+
/* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
|
|
290
|
+
/* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
|
|
291
|
+
/* @__PURE__ */ jsx("path", {
|
|
292
|
+
"data-icon-mark": "default",
|
|
293
|
+
d: "M9.5 16h5"
|
|
294
|
+
}),
|
|
295
|
+
/* @__PURE__ */ jsx("path", {
|
|
296
|
+
"data-icon-mark": "small",
|
|
297
|
+
display: "none",
|
|
298
|
+
strokeWidth: 3,
|
|
299
|
+
d: "M9 16.5h6"
|
|
300
|
+
})
|
|
301
|
+
]
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
/** Add a comment: CommentIcon at 24, its bubble cut short of a plus in the bottom-right corner. */
|
|
305
|
+
function AddCommentIcon(props) {
|
|
306
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
307
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
308
|
+
width: 24,
|
|
309
|
+
height: 24,
|
|
310
|
+
viewBox: "0 0 24 24",
|
|
311
|
+
"aria-hidden": "true",
|
|
312
|
+
focusable: "false",
|
|
313
|
+
fill: "none",
|
|
314
|
+
stroke: "currentColor",
|
|
315
|
+
strokeLinecap: "round",
|
|
316
|
+
strokeLinejoin: "round",
|
|
317
|
+
strokeWidth: 2,
|
|
318
|
+
...props,
|
|
319
|
+
children: [
|
|
320
|
+
/* @__PURE__ */ jsx("path", { d: "M21.667 13.55V5.667A2.667 2.667 0 0 0 19 3H5a2.667 2.667 0 0 0-2.667 2.667V15A2.667 2.667 0 0 0 5 17.667h2.667v4l5-4" }),
|
|
321
|
+
/* @__PURE__ */ jsx("path", { d: "M8.5 13a2 2 0 0 0 2-2V7h-2" }),
|
|
322
|
+
/* @__PURE__ */ jsx("path", { d: "M13.5 13a2 2 0 0 0 2-2V7h-2" }),
|
|
323
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
|
|
324
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
325
|
+
]
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
/** Create a task: Lucide's list-todo, a plus in place of its last line. */
|
|
329
|
+
function CreateTaskIcon(props) {
|
|
330
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
331
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
332
|
+
width: 24,
|
|
333
|
+
height: 24,
|
|
334
|
+
viewBox: "0 0 24 24",
|
|
335
|
+
"aria-hidden": "true",
|
|
336
|
+
focusable: "false",
|
|
337
|
+
fill: "none",
|
|
338
|
+
stroke: "currentColor",
|
|
339
|
+
strokeLinecap: "round",
|
|
340
|
+
strokeLinejoin: "round",
|
|
341
|
+
strokeWidth: 2,
|
|
342
|
+
...props,
|
|
343
|
+
children: [
|
|
344
|
+
/* @__PURE__ */ jsx("rect", {
|
|
345
|
+
x: 3,
|
|
346
|
+
y: 4,
|
|
347
|
+
width: 6,
|
|
348
|
+
height: 6,
|
|
349
|
+
rx: 1
|
|
350
|
+
}),
|
|
351
|
+
/* @__PURE__ */ jsx("path", { d: "M13 5h8" }),
|
|
352
|
+
/* @__PURE__ */ jsx("path", { d: "M13 12h8" }),
|
|
353
|
+
/* @__PURE__ */ jsx("path", { d: "m3 17 2 2 4-4" }),
|
|
354
|
+
/* @__PURE__ */ jsx("path", { d: "M19 16v6" }),
|
|
355
|
+
/* @__PURE__ */ jsx("path", { d: "M16 19h6" })
|
|
356
|
+
]
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
/** Reopen a task: a ticked box, broken open at the top by a counter-clockwise arrow (Lucide's rotate-ccw-square with a check). */
|
|
360
|
+
function ReopenTaskIcon(props) {
|
|
361
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
362
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
363
|
+
width: 24,
|
|
364
|
+
height: 24,
|
|
365
|
+
viewBox: "0 0 24 24",
|
|
366
|
+
"aria-hidden": "true",
|
|
367
|
+
focusable: "false",
|
|
368
|
+
fill: "none",
|
|
369
|
+
stroke: "currentColor",
|
|
370
|
+
strokeLinecap: "round",
|
|
371
|
+
strokeLinejoin: "round",
|
|
372
|
+
strokeWidth: 2,
|
|
373
|
+
...props,
|
|
374
|
+
children: [
|
|
375
|
+
/* @__PURE__ */ jsx("path", { d: "M20 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2" }),
|
|
376
|
+
/* @__PURE__ */ jsx("path", { d: "M20 9V7a2 2 0 0 0-2-2h-6" }),
|
|
377
|
+
/* @__PURE__ */ jsx("path", { d: "m15 2-3 3 3 3" }),
|
|
378
|
+
/* @__PURE__ */ jsx("path", { d: "m9 12.5 2 2 4-4" })
|
|
379
|
+
]
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
//#endregion
|
|
383
|
+
export { AddCommentIcon, CreateTaskIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, ReopenTaskIcon, UnfollowArtifactIcon, UnfollowThreadIcon };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SVGProps } from "react";
|
|
2
|
+
//#region src/components/icons/conversation-icons.d.ts
|
|
3
|
+
export type ConversationIconProps = SVGProps<SVGSVGElement>;
|
|
4
|
+
export declare function MessageIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
5
|
+
export declare function ChatIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
6
|
+
export declare function DirectMessageIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
7
|
+
export declare function ThreadIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
8
|
+
/** A comment, said about a passage: MessageIcon's bubble with quote marks. */
|
|
9
|
+
export declare function CommentIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
10
|
+
/** Feedback, sent to the people who make Raft: MessageIcon's bubble with an exclamation mark. */
|
|
11
|
+
export declare function FeedbackIcon(props: ConversationIconProps): import("react").JSX.Element;
|
|
12
|
+
//#endregion
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/icons/conversation-icons.tsx
|
|
3
|
+
function MessageIcon(props) {
|
|
4
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: 18,
|
|
7
|
+
height: 18,
|
|
8
|
+
viewBox: "0 0 18 18",
|
|
9
|
+
"aria-hidden": "true",
|
|
10
|
+
focusable: "false",
|
|
11
|
+
fill: "none",
|
|
12
|
+
stroke: "currentColor",
|
|
13
|
+
strokeLinecap: "round",
|
|
14
|
+
strokeLinejoin: "round",
|
|
15
|
+
strokeWidth: 1.5,
|
|
16
|
+
...props,
|
|
17
|
+
children: /* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" })
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function ChatIcon(props) {
|
|
21
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
+
width: 18,
|
|
24
|
+
height: 18,
|
|
25
|
+
viewBox: "0 0 18 18",
|
|
26
|
+
"aria-hidden": "true",
|
|
27
|
+
focusable: "false",
|
|
28
|
+
fill: "none",
|
|
29
|
+
stroke: "currentColor",
|
|
30
|
+
strokeLinecap: "round",
|
|
31
|
+
strokeLinejoin: "round",
|
|
32
|
+
strokeWidth: 1.5,
|
|
33
|
+
...props,
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
|
|
36
|
+
/* @__PURE__ */ jsx("circle", {
|
|
37
|
+
cx: 6.5,
|
|
38
|
+
cy: 7.75,
|
|
39
|
+
r: .75,
|
|
40
|
+
fill: "currentColor",
|
|
41
|
+
stroke: "none"
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ jsx("circle", {
|
|
44
|
+
cx: 9,
|
|
45
|
+
cy: 7.75,
|
|
46
|
+
r: .75,
|
|
47
|
+
fill: "currentColor",
|
|
48
|
+
stroke: "none"
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ jsx("circle", {
|
|
51
|
+
cx: 11.5,
|
|
52
|
+
cy: 7.75,
|
|
53
|
+
r: .75,
|
|
54
|
+
fill: "currentColor",
|
|
55
|
+
stroke: "none"
|
|
56
|
+
})
|
|
57
|
+
]
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function DirectMessageIcon(props) {
|
|
61
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
62
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
63
|
+
width: 18,
|
|
64
|
+
height: 18,
|
|
65
|
+
viewBox: "0 0 18 18",
|
|
66
|
+
"aria-hidden": "true",
|
|
67
|
+
focusable: "false",
|
|
68
|
+
fill: "none",
|
|
69
|
+
stroke: "currentColor",
|
|
70
|
+
strokeLinecap: "round",
|
|
71
|
+
strokeLinejoin: "round",
|
|
72
|
+
strokeWidth: 1.5,
|
|
73
|
+
...props,
|
|
74
|
+
children: [
|
|
75
|
+
/* @__PURE__ */ jsx("path", { d: "M16.25 5V4.25C16.25 3.15 15.35 2.25 14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L7.5 14.85" }),
|
|
76
|
+
/* @__PURE__ */ jsx("circle", {
|
|
77
|
+
cx: 14.25,
|
|
78
|
+
cy: 8,
|
|
79
|
+
r: 1.75
|
|
80
|
+
}),
|
|
81
|
+
/* @__PURE__ */ jsx("path", { d: "M11 16.25C11.3 13.65 12.5 12 14.25 12S17.2 13.65 17.5 16.25" })
|
|
82
|
+
]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function ThreadIcon(props) {
|
|
86
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
87
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
88
|
+
width: 18,
|
|
89
|
+
height: 18,
|
|
90
|
+
viewBox: "0 0 18 18",
|
|
91
|
+
"aria-hidden": "true",
|
|
92
|
+
focusable: "false",
|
|
93
|
+
fill: "none",
|
|
94
|
+
stroke: "currentColor",
|
|
95
|
+
strokeLinecap: "round",
|
|
96
|
+
strokeLinejoin: "round",
|
|
97
|
+
strokeWidth: 1.5,
|
|
98
|
+
...props,
|
|
99
|
+
children: [/* @__PURE__ */ jsx("path", { d: "M3.5 11.5L1.75 13.25V4.25A2 2 0 0 1 3.75 2.25H11.25" }), /* @__PURE__ */ jsx("path", { d: "M8.25 5H14.5C15.6 5 16.5 5.9 16.5 7V11.75C16.5 12.85 15.6 13.75 14.5 13.75H13V16.25L9.75 13.75H8.25C7.15 13.75 6.25 12.85 6.25 11.75V7C6.25 5.9 7.15 5 8.25 5Z" })]
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/** A comment, said about a passage: MessageIcon's bubble with quote marks. */
|
|
103
|
+
function CommentIcon(props) {
|
|
104
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
105
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
106
|
+
width: 18,
|
|
107
|
+
height: 18,
|
|
108
|
+
viewBox: "0 0 18 18",
|
|
109
|
+
"aria-hidden": "true",
|
|
110
|
+
focusable: "false",
|
|
111
|
+
fill: "none",
|
|
112
|
+
stroke: "currentColor",
|
|
113
|
+
strokeLinecap: "round",
|
|
114
|
+
strokeLinejoin: "round",
|
|
115
|
+
strokeWidth: 1.5,
|
|
116
|
+
...props,
|
|
117
|
+
children: [
|
|
118
|
+
/* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
|
|
119
|
+
/* @__PURE__ */ jsx("path", { d: "M6.375 9.75a1.5 1.5 0 0 0 1.5-1.5V5.25h-1.5" }),
|
|
120
|
+
/* @__PURE__ */ jsx("path", { d: "M10.125 9.75a1.5 1.5 0 0 0 1.5-1.5V5.25h-1.5" })
|
|
121
|
+
]
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/** Feedback, sent to the people who make Raft: MessageIcon's bubble with an exclamation mark. */
|
|
125
|
+
function FeedbackIcon(props) {
|
|
126
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
127
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
128
|
+
width: 18,
|
|
129
|
+
height: 18,
|
|
130
|
+
viewBox: "0 0 18 18",
|
|
131
|
+
"aria-hidden": "true",
|
|
132
|
+
focusable: "false",
|
|
133
|
+
fill: "none",
|
|
134
|
+
stroke: "currentColor",
|
|
135
|
+
strokeLinecap: "round",
|
|
136
|
+
strokeLinejoin: "round",
|
|
137
|
+
strokeWidth: 1.5,
|
|
138
|
+
...props,
|
|
139
|
+
children: [
|
|
140
|
+
/* @__PURE__ */ jsx("path", { d: "M14.25 2.25H3.75C2.65 2.25 1.75 3.15 1.75 4.25V11.25C1.75 12.35 2.65 13.25 3.75 13.25H5.75V16.25L9.5 13.25H14.25C15.35 13.25 16.25 12.35 16.25 11.25V4.25C16.25 3.15 15.35 2.25 14.25 2.25Z" }),
|
|
141
|
+
/* @__PURE__ */ jsx("path", { d: "M9 4.75v3" }),
|
|
142
|
+
/* @__PURE__ */ jsx("path", { d: "M9 10.5h.01" })
|
|
143
|
+
]
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
export { ChatIcon, CommentIcon, DirectMessageIcon, FeedbackIcon, MessageIcon, ThreadIcon };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ActionIconProps, AddCommentIcon, CreateTaskIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, ReopenTaskIcon, UnfollowArtifactIcon, UnfollowThreadIcon } from "./action-icons.mjs";
|
|
2
|
+
import { ChatIcon, CommentIcon, ConversationIconProps, DirectMessageIcon, FeedbackIcon, MessageIcon, ThreadIcon } from "./conversation-icons.mjs";
|
|
3
|
+
import { ArtifactIcon, ObjectIconProps } from "./object-icons.mjs";
|
|
4
|
+
export { type ActionIconProps, AddCommentIcon, ArtifactIcon, ChatIcon, CommentIcon, type ConversationIconProps, CreateTaskIcon, DirectMessageIcon, FeedbackIcon, FollowArtifactIcon, FollowThreadIcon, JoinChannelIcon, JoinJointChannelIcon, JoinPrivateChannelIcon, LeaveChannelIcon, LeaveJointChannelIcon, LeavePrivateChannelIcon, MessageIcon, type ObjectIconProps, ReopenTaskIcon, ThreadIcon, UnfollowArtifactIcon, UnfollowThreadIcon };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SVGProps } from "react";
|
|
2
|
+
//#region src/components/icons/object-icons.d.ts
|
|
3
|
+
export type ObjectIconProps = SVGProps<SVGSVGElement>;
|
|
4
|
+
/** An Artifact, a page someone made: a page with no dog-ear, a header block and two lines of text. */
|
|
5
|
+
export declare function ArtifactIcon(props: ObjectIconProps): import("react").JSX.Element;
|
|
6
|
+
//#endregion
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
//#region src/components/icons/object-icons.tsx
|
|
3
|
+
/** An Artifact, a page someone made: a page with no dog-ear, a header block and two lines of text. */
|
|
4
|
+
function ArtifactIcon(props) {
|
|
5
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: 24,
|
|
8
|
+
height: 24,
|
|
9
|
+
viewBox: "0 0 24 24",
|
|
10
|
+
"aria-hidden": "true",
|
|
11
|
+
focusable: "false",
|
|
12
|
+
fill: "none",
|
|
13
|
+
stroke: "currentColor",
|
|
14
|
+
strokeLinecap: "round",
|
|
15
|
+
strokeLinejoin: "round",
|
|
16
|
+
strokeWidth: 2,
|
|
17
|
+
...props,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ jsx("path", { d: "M18 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2Z" }),
|
|
20
|
+
/* @__PURE__ */ jsx("path", { d: "M9 6h6a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1Z" }),
|
|
21
|
+
/* @__PURE__ */ jsx("path", { d: "M8 14h8" }),
|
|
22
|
+
/* @__PURE__ */ jsx("path", { d: "M8 18h4" })
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ArtifactIcon };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
2
|
+
//#region src/components/inbox-item/inbox-item-leading-badge.d.ts
|
|
3
|
+
export type InboxItemLeadingBadgeProps = useRender.ComponentProps<"span">;
|
|
4
|
+
/**
|
|
5
|
+
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
6
|
+
* presence light takes: on a thread row, the thread mark, on the channel's
|
|
7
|
+
* `IconTile` or on the direct message's `Avatar` alike. Put it inside
|
|
8
|
+
* `InboxItemLeading`, after the tile or avatar, with one icon as its child;
|
|
9
|
+
* leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
|
|
10
|
+
* is hidden from assistive technology unless given a `role`.
|
|
11
|
+
*/
|
|
12
|
+
export declare function InboxItemLeadingBadge({ className, render, ...props }: InboxItemLeadingBadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
13
|
+
//#endregion
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { inboxItem } from "./inbox-item.recipe.mjs";
|
|
2
|
+
import { mergeProps } from "@base-ui/react/merge-props";
|
|
3
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
+
//#region src/components/inbox-item/inbox-item-leading-badge.tsx
|
|
5
|
+
/**
|
|
6
|
+
* A small badge in the bottom-right corner of `InboxItemLeading`, the corner a
|
|
7
|
+
* presence light takes: on a thread row, the thread mark, on the channel's
|
|
8
|
+
* `IconTile` or on the direct message's `Avatar` alike. Put it inside
|
|
9
|
+
* `InboxItemLeading`, after the tile or avatar, with one icon as its child;
|
|
10
|
+
* leave the avatar's `AvatarBadge` out, since the corner holds one mark. It
|
|
11
|
+
* is hidden from assistive technology unless given a `role`.
|
|
12
|
+
*/
|
|
13
|
+
function InboxItemLeadingBadge({ className, render, ...props }) {
|
|
14
|
+
const { itemLeadingBadge } = inboxItem();
|
|
15
|
+
const defaultProps = {
|
|
16
|
+
"data-slot": "inbox-item-leading-badge",
|
|
17
|
+
"aria-hidden": props.role ? void 0 : true,
|
|
18
|
+
className: itemLeadingBadge({ className })
|
|
19
|
+
};
|
|
20
|
+
return useRender({
|
|
21
|
+
defaultTagName: "span",
|
|
22
|
+
render,
|
|
23
|
+
props: mergeProps(defaultProps, props)
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { InboxItemLeadingBadge };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { InboxItemDensity, InboxItemProps } from "./inbox-item.mjs";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
3
|
+
//#region src/components/inbox-item/inbox-item-skeleton.d.ts
|
|
4
|
+
type InboxItemSkeletonShape = {
|
|
5
|
+
/** The density of the rows it stands for. */
|
|
6
|
+
density?: InboxItemDensity;
|
|
7
|
+
/** A 35px block where the rows have an `InboxItemLeading` avatar or tile. */
|
|
8
|
+
leading?: boolean;
|
|
9
|
+
/** A context line above the title, where the rows have an `InboxItemContext`. */
|
|
10
|
+
context?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type InboxItemSkeletonProps = Omit<InboxItemProps, "active" | "disabled" | "children"> & InboxItemSkeletonShape;
|
|
13
|
+
/**
|
|
14
|
+
* A placeholder for one `InboxItem` while the list loads. It is an
|
|
15
|
+
* `InboxItem` itself, with the same parts as the loaded row (an optional
|
|
16
|
+
* leading block, the context line, the title, the excerpt, the timestamp),
|
|
17
|
+
* each holding a bar instead of text. The padding, the divider and every
|
|
18
|
+
* line's height are the loaded row's, so nothing moves when the content
|
|
19
|
+
* arrives. Match `density`, `leading` and `context` to the rows it stands for.
|
|
20
|
+
* Hidden from assistive technology: mark the region that stays while the
|
|
21
|
+
* list loads `aria-busy`.
|
|
22
|
+
*/
|
|
23
|
+
export declare function InboxItemSkeleton({ density, leading, context, ...props }: InboxItemSkeletonProps): import("react").JSX.Element;
|
|
24
|
+
export type InboxItemSkeletonListProps = useRender.ComponentProps<"div"> & InboxItemSkeletonShape & {
|
|
25
|
+
/** How many rows to show. About a screenful; ignored when there are children. */
|
|
26
|
+
count?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Milliseconds to wait before the rows appear, so a fast load doesn't
|
|
29
|
+
* flash them (Feedback, "Empty, loading and failed"). The list is empty
|
|
30
|
+
* until then. A list skeleton is only for a slow load, so it waits 1
|
|
31
|
+
* second by default; pass `0` to show the rows at once.
|
|
32
|
+
*/
|
|
33
|
+
delay?: number;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* The list of `InboxItemSkeleton` rows that stands in for a list of
|
|
37
|
+
* `InboxItem` rows while it loads, with nothing between or around the rows
|
|
38
|
+
* that the loaded list doesn't have (no border, no card): only the list's
|
|
39
|
+
* 2px gap, which the loaded list has too (design/patterns/lists.md). Renders
|
|
40
|
+
* `count` rows of the given shape, or its children, once `delay` (1 second by
|
|
41
|
+
* default) has passed. It isn't `aria-busy` itself: it goes away when the
|
|
42
|
+
* content arrives, so mark the region that stays, such as the list's panel or
|
|
43
|
+
* viewport, `aria-busy` while it loads.
|
|
44
|
+
*/
|
|
45
|
+
export declare function InboxItemSkeletonList({ count, delay, density, leading, context, children, className, render, ...props }: InboxItemSkeletonListProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
46
|
+
//#endregion
|