@mattermost/compass-ui 0.1.0-alpha.4 → 0.1.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/compass-ui-standalone.css +10 -0
- package/dist/compass-ui.css +2 -0
- package/dist/components/action-button/ActionButton.cjs +1 -1
- package/dist/components/action-button/ActionButton.cjs.map +1 -1
- package/dist/components/action-button/ActionButton.d.ts +2 -1
- package/dist/components/action-button/ActionButton.d.ts.map +1 -1
- package/dist/components/action-button/ActionButton.js +22 -12
- package/dist/components/action-button/ActionButton.js.map +1 -1
- package/dist/components/action-button/ActionButton.module.css +1 -1
- package/dist/components/action-button/ActionButton.module.scss.cjs +1 -1
- package/dist/components/action-button/ActionButton.module.scss.js +5 -5
- package/dist/components/attachment-card/AttachmentCard.cjs +1 -1
- package/dist/components/attachment-card/AttachmentCard.cjs.map +1 -1
- package/dist/components/attachment-card/AttachmentCard.d.ts +3 -1
- package/dist/components/attachment-card/AttachmentCard.d.ts.map +1 -1
- package/dist/components/attachment-card/AttachmentCard.js +92 -82
- package/dist/components/attachment-card/AttachmentCard.js.map +1 -1
- package/dist/components/attachment-card/AttachmentCard.module.css +1 -1
- package/dist/components/attachment-card/AttachmentCard.module.scss.cjs +1 -1
- package/dist/components/attachment-card/AttachmentCard.module.scss.js +19 -18
- package/dist/components/attachment-card/AttachmentCard.module.scss.js.map +1 -1
- package/dist/components/button/Button.module.css +1 -1
- package/dist/components/button/Button.module.scss.cjs +1 -1
- package/dist/components/button/Button.module.scss.js +15 -15
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.cjs +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.cjs.map +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.d.ts +4 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.d.ts.map +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.js +112 -92
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.js.map +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.css +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.cjs +1 -1
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.js +22 -20
- package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.js.map +1 -1
- package/dist/components/checkbox/Checkbox.cjs +1 -1
- package/dist/components/checkbox/Checkbox.cjs.map +1 -1
- package/dist/components/checkbox/Checkbox.d.ts +3 -3
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/Checkbox.js +21 -20
- package/dist/components/checkbox/Checkbox.js.map +1 -1
- package/dist/components/checkbox/Checkbox.module.css +1 -1
- package/dist/components/checkbox/Checkbox.module.scss.cjs +1 -1
- package/dist/components/checkbox/Checkbox.module.scss.js +7 -7
- package/dist/components/chip/Chip.cjs +1 -1
- package/dist/components/chip/Chip.cjs.map +1 -1
- package/dist/components/chip/Chip.d.ts +3 -5
- package/dist/components/chip/Chip.d.ts.map +1 -1
- package/dist/components/chip/Chip.js +90 -48
- package/dist/components/chip/Chip.js.map +1 -1
- package/dist/components/chip/Chip.module.css +1 -1
- package/dist/components/chip/Chip.module.scss.cjs +1 -1
- package/dist/components/chip/Chip.module.scss.js +9 -9
- package/dist/components/chip/ChipGroup.cjs +2 -0
- package/dist/components/chip/ChipGroup.cjs.map +1 -0
- package/dist/components/chip/ChipGroup.d.ts +16 -0
- package/dist/components/chip/ChipGroup.d.ts.map +1 -0
- package/dist/components/chip/ChipGroup.js +112 -0
- package/dist/components/chip/ChipGroup.js.map +1 -0
- package/dist/components/chip/ChipGroup.module.css +1 -0
- package/dist/components/chip/ChipGroup.module.scss.cjs +2 -0
- package/dist/components/chip/ChipGroup.module.scss.cjs.map +1 -0
- package/dist/components/chip/ChipGroup.module.scss.js +7 -0
- package/dist/components/chip/ChipGroup.module.scss.js.map +1 -0
- package/dist/components/chip/index.cjs +1 -1
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/chip/index.d.ts.map +1 -1
- package/dist/components/chip/index.js +4 -2
- package/dist/components/chip/index.js.map +1 -1
- package/dist/components/combobox/Combobox.cjs +1 -1
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.d.ts.map +1 -1
- package/dist/components/combobox/Combobox.js +115 -109
- package/dist/components/combobox/Combobox.js.map +1 -1
- package/dist/components/combobox/Combobox.module.css +1 -1
- package/dist/components/combobox/Combobox.module.scss.cjs +1 -1
- package/dist/components/combobox/Combobox.module.scss.js +27 -29
- package/dist/components/date-range-picker/DateRangePicker.cjs +1 -1
- package/dist/components/date-range-picker/DateRangePicker.cjs.map +1 -1
- package/dist/components/date-range-picker/DateRangePicker.js +154 -154
- package/dist/components/date-range-picker/DateRangePicker.js.map +1 -1
- package/dist/components/date-range-picker/DateRangePicker.module.css +1 -1
- package/dist/components/date-range-picker/DateRangePicker.module.scss.cjs +1 -1
- package/dist/components/date-range-picker/DateRangePicker.module.scss.js +28 -45
- package/dist/components/dropdown/Dropdown.cjs +1 -1
- package/dist/components/dropdown/Dropdown.cjs.map +1 -1
- package/dist/components/dropdown/Dropdown.js +1 -1
- package/dist/components/dropdown/Dropdown.js.map +1 -1
- package/dist/components/dropdown/Dropdown.module.css +1 -1
- package/dist/components/dropdown/Dropdown.module.scss.cjs +1 -1
- package/dist/components/dropdown/Dropdown.module.scss.js +15 -16
- package/dist/components/global-banner/GlobalBanner.module.css +1 -1
- package/dist/components/global-banner/GlobalBanner.module.scss.cjs +1 -1
- package/dist/components/global-banner/GlobalBanner.module.scss.js +10 -10
- package/dist/components/icon/Icon.js +6 -6
- package/dist/components/icon-button/IconButton.cjs +1 -1
- package/dist/components/icon-button/IconButton.cjs.map +1 -1
- package/dist/components/icon-button/IconButton.d.ts +1 -1
- package/dist/components/icon-button/IconButton.d.ts.map +1 -1
- package/dist/components/icon-button/IconButton.js +14 -14
- package/dist/components/icon-button/IconButton.js.map +1 -1
- package/dist/components/icon-button/IconButton.module.css +1 -1
- package/dist/components/icon-button/IconButton.module.scss.cjs +1 -1
- package/dist/components/icon-button/IconButton.module.scss.js +15 -15
- package/dist/components/illustration/Illustration.cjs.map +1 -1
- package/dist/components/illustration/Illustration.d.ts +5 -5
- package/dist/components/illustration/Illustration.d.ts.map +1 -1
- package/dist/components/illustration/Illustration.js.map +1 -1
- package/dist/components/image-preview/ImagePreview.cjs +1 -1
- package/dist/components/image-preview/ImagePreview.cjs.map +1 -1
- package/dist/components/image-preview/ImagePreview.d.ts +2 -1
- package/dist/components/image-preview/ImagePreview.d.ts.map +1 -1
- package/dist/components/image-preview/ImagePreview.js +70 -52
- package/dist/components/image-preview/ImagePreview.js.map +1 -1
- package/dist/components/image-preview/ImagePreview.module.css +1 -1
- package/dist/components/image-preview/ImagePreview.module.scss.cjs +1 -1
- package/dist/components/image-preview/ImagePreview.module.scss.js +15 -15
- package/dist/components/menu-item/MenuItem.cjs +1 -1
- package/dist/components/menu-item/MenuItem.cjs.map +1 -1
- package/dist/components/menu-item/MenuItem.js +11 -11
- package/dist/components/menu-item/MenuItem.js.map +1 -1
- package/dist/components/menu-item/MenuItem.module.css +1 -1
- package/dist/components/menu-item/MenuItem.module.scss.cjs +1 -1
- package/dist/components/menu-item/MenuItem.module.scss.js +16 -16
- package/dist/components/message-reactions/MessageReactions.module.css +1 -1
- package/dist/components/message-reactions/MessageReactions.module.scss.cjs +1 -1
- package/dist/components/message-reactions/MessageReactions.module.scss.js +12 -12
- package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.css +1 -1
- package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.scss.cjs +1 -1
- package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.scss.js +5 -5
- package/dist/components/pagination-dots/PaginationDots.module.css +1 -1
- package/dist/components/pagination-dots/PaginationDots.module.scss.cjs +1 -1
- package/dist/components/pagination-dots/PaginationDots.module.scss.js +8 -8
- package/dist/components/radio/Radio.cjs +1 -1
- package/dist/components/radio/Radio.cjs.map +1 -1
- package/dist/components/radio/Radio.d.ts +3 -3
- package/dist/components/radio/Radio.d.ts.map +1 -1
- package/dist/components/radio/Radio.js +11 -11
- package/dist/components/radio/Radio.js.map +1 -1
- package/dist/components/radio/Radio.module.css +1 -1
- package/dist/components/radio/Radio.module.scss.cjs +1 -1
- package/dist/components/radio/Radio.module.scss.js +11 -11
- package/dist/components/right-sidebar-header/RightSidebarHeader.cjs +2 -0
- package/dist/components/right-sidebar-header/RightSidebarHeader.cjs.map +1 -0
- package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.d.ts +1 -1
- package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts.map +1 -0
- package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.js +3 -3
- package/dist/components/right-sidebar-header/RightSidebarHeader.js.map +1 -0
- package/dist/components/right-sidebar-header/RightSidebarHeader.module.css +1 -0
- package/dist/components/right-sidebar-header/RightSidebarHeader.module.scss.cjs +2 -0
- package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js +12 -12
- package/dist/components/{app-bar-item → right-sidebar-header}/index.cjs +1 -1
- package/dist/components/right-sidebar-header/index.d.ts +3 -0
- package/dist/components/right-sidebar-header/index.d.ts.map +1 -0
- package/dist/components/right-sidebar-header/index.js +5 -0
- package/dist/components/search-input/SearchInput.cjs +1 -1
- package/dist/components/search-input/SearchInput.cjs.map +1 -1
- package/dist/components/search-input/SearchInput.d.ts +2 -0
- package/dist/components/search-input/SearchInput.d.ts.map +1 -1
- package/dist/components/search-input/SearchInput.js +78 -64
- package/dist/components/search-input/SearchInput.js.map +1 -1
- package/dist/components/search-input/SearchInput.module.css +1 -1
- package/dist/components/search-input/SearchInput.module.scss.cjs +1 -1
- package/dist/components/search-input/SearchInput.module.scss.js +16 -23
- package/dist/components/search-input/SearchInput.module.scss.js.map +1 -1
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.d.ts.map +1 -1
- package/dist/components/select/Select.js +64 -64
- package/dist/components/select/Select.js.map +1 -1
- package/dist/components/select/Select.module.css +1 -1
- package/dist/components/select/Select.module.scss.cjs +1 -1
- package/dist/components/select/Select.module.scss.js +24 -26
- package/dist/components/switch/Switch.cjs +1 -1
- package/dist/components/switch/Switch.cjs.map +1 -1
- package/dist/components/switch/Switch.d.ts.map +1 -1
- package/dist/components/switch/Switch.js +2 -2
- package/dist/components/switch/Switch.js.map +1 -1
- package/dist/components/switch/Switch.module.css +1 -1
- package/dist/components/switch/Switch.module.scss.cjs +1 -1
- package/dist/components/switch/Switch.module.scss.js +15 -15
- package/dist/components/tabs/Tabs.cjs +1 -1
- package/dist/components/tabs/Tabs.cjs.map +1 -1
- package/dist/components/tabs/Tabs.d.ts +4 -0
- package/dist/components/tabs/Tabs.d.ts.map +1 -1
- package/dist/components/tabs/Tabs.js +47 -31
- package/dist/components/tabs/Tabs.js.map +1 -1
- package/dist/components/tabs/Tabs.module.css +1 -1
- package/dist/components/tabs/Tabs.module.scss.cjs +1 -1
- package/dist/components/tabs/Tabs.module.scss.js +8 -7
- package/dist/components/tabs/Tabs.module.scss.js.map +1 -1
- package/dist/components/tag/Tag.module.css +1 -1
- package/dist/components/tag/Tag.module.scss.cjs +1 -1
- package/dist/components/tag/Tag.module.scss.js +15 -15
- package/dist/components/text-area/TextArea.cjs +1 -1
- package/dist/components/text-area/TextArea.cjs.map +1 -1
- package/dist/components/text-area/TextArea.d.ts.map +1 -1
- package/dist/components/text-area/TextArea.js +57 -56
- package/dist/components/text-area/TextArea.js.map +1 -1
- package/dist/components/text-area/TextArea.module.css +1 -1
- package/dist/components/text-area/TextArea.module.scss.cjs +1 -1
- package/dist/components/text-area/TextArea.module.scss.js +12 -17
- package/dist/components/text-input/TextInput.cjs +1 -1
- package/dist/components/text-input/TextInput.cjs.map +1 -1
- package/dist/components/text-input/TextInput.d.ts.map +1 -1
- package/dist/components/text-input/TextInput.js +59 -58
- package/dist/components/text-input/TextInput.js.map +1 -1
- package/dist/components/text-input/TextInput.module.css +1 -1
- package/dist/components/text-input/TextInput.module.scss.cjs +1 -1
- package/dist/components/text-input/TextInput.module.scss.js +16 -24
- package/dist/components/thread-footer/ThreadFooter.cjs +1 -1
- package/dist/components/thread-footer/ThreadFooter.cjs.map +1 -1
- package/dist/components/thread-footer/ThreadFooter.d.ts +7 -8
- package/dist/components/thread-footer/ThreadFooter.d.ts.map +1 -1
- package/dist/components/thread-footer/ThreadFooter.js +59 -62
- package/dist/components/thread-footer/ThreadFooter.js.map +1 -1
- package/dist/components/thread-footer/ThreadFooter.module.css +1 -1
- package/dist/components/thread-footer/ThreadFooter.module.scss.cjs +1 -1
- package/dist/components/thread-footer/ThreadFooter.module.scss.js +17 -17
- package/dist/components/thread-footer/index.d.ts +7 -1
- package/dist/components/thread-footer/index.d.ts.map +1 -1
- package/dist/components/thread-list-item/ThreadListItem.cjs +1 -1
- package/dist/components/thread-list-item/ThreadListItem.cjs.map +1 -1
- package/dist/components/thread-list-item/ThreadListItem.d.ts +1 -1
- package/dist/components/thread-list-item/ThreadListItem.d.ts.map +1 -1
- package/dist/components/thread-list-item/ThreadListItem.js +102 -87
- package/dist/components/thread-list-item/ThreadListItem.js.map +1 -1
- package/dist/components/thread-list-item/ThreadListItem.module.css +1 -1
- package/dist/components/thread-list-item/ThreadListItem.module.scss.cjs +1 -1
- package/dist/components/thread-list-item/ThreadListItem.module.scss.js +26 -23
- package/dist/components/thread-list-item/ThreadListItem.module.scss.js.map +1 -1
- package/dist/components/toast/Toast.cjs +1 -1
- package/dist/components/toast/Toast.cjs.map +1 -1
- package/dist/components/toast/Toast.d.ts.map +1 -1
- package/dist/components/toast/Toast.js +31 -31
- package/dist/components/toast/Toast.js.map +1 -1
- package/dist/components/toast/Toast.module.css +1 -1
- package/dist/components/toast/Toast.module.scss.cjs +1 -1
- package/dist/components/toast/Toast.module.scss.js +14 -13
- package/dist/components/toast/Toast.module.scss.js.map +1 -1
- package/dist/components/tour-point/TourPoint.module.css +1 -1
- package/dist/components/tour-point/TourPoint.module.scss.cjs +1 -1
- package/dist/components/tour-point/TourPoint.module.scss.js +28 -28
- package/dist/illustrations/ai-copilot-intro.cjs +2 -0
- package/dist/illustrations/ai-copilot-intro.cjs.map +1 -0
- package/dist/illustrations/ai-copilot-intro.d.ts +4 -0
- package/dist/illustrations/ai-copilot-intro.js +5 -0
- package/dist/illustrations/ai-copilot-intro.js.map +1 -0
- package/dist/illustrations/ai-copilot-intro.svg.cjs +2 -0
- package/dist/illustrations/ai-copilot-intro.svg.cjs.map +1 -0
- package/dist/illustrations/ai-copilot-intro.svg.js +6 -0
- package/dist/illustrations/ai-copilot-intro.svg.js.map +1 -0
- package/dist/illustrations/alert-on-sidebar-bg.cjs +2 -0
- package/dist/illustrations/alert-on-sidebar-bg.cjs.map +1 -0
- package/dist/illustrations/alert-on-sidebar-bg.d.ts +4 -0
- package/dist/illustrations/alert-on-sidebar-bg.js +5 -0
- package/dist/illustrations/alert-on-sidebar-bg.js.map +1 -0
- package/dist/illustrations/alert-on-sidebar-bg.svg.cjs +2 -0
- package/dist/illustrations/alert-on-sidebar-bg.svg.cjs.map +1 -0
- package/dist/illustrations/alert-on-sidebar-bg.svg.js +6 -0
- package/dist/illustrations/alert-on-sidebar-bg.svg.js.map +1 -0
- package/dist/illustrations/alert.cjs +2 -0
- package/dist/illustrations/alert.cjs.map +1 -0
- package/dist/illustrations/alert.d.ts +4 -0
- package/dist/illustrations/alert.js +5 -0
- package/dist/illustrations/alert.js.map +1 -0
- package/dist/illustrations/alert.svg.cjs +2 -0
- package/dist/illustrations/alert.svg.cjs.map +1 -0
- package/dist/illustrations/alert.svg.js +6 -0
- package/dist/illustrations/alert.svg.js.map +1 -0
- package/dist/illustrations/archived-channel.cjs +2 -0
- package/dist/illustrations/archived-channel.cjs.map +1 -0
- package/dist/illustrations/archived-channel.d.ts +4 -0
- package/dist/illustrations/archived-channel.js +5 -0
- package/dist/illustrations/archived-channel.js.map +1 -0
- package/dist/illustrations/archived-channel.svg.cjs +2 -0
- package/dist/illustrations/archived-channel.svg.cjs.map +1 -0
- package/dist/illustrations/archived-channel.svg.js +6 -0
- package/dist/illustrations/archived-channel.svg.js.map +1 -0
- package/dist/illustrations/auto-translation.cjs +2 -0
- package/dist/illustrations/auto-translation.cjs.map +1 -0
- package/dist/illustrations/auto-translation.d.ts +4 -0
- package/dist/illustrations/auto-translation.js +5 -0
- package/dist/illustrations/auto-translation.js.map +1 -0
- package/dist/illustrations/auto-translation.svg.cjs +2 -0
- package/dist/illustrations/auto-translation.svg.cjs.map +1 -0
- package/dist/illustrations/auto-translation.svg.js +6 -0
- package/dist/illustrations/auto-translation.svg.js.map +1 -0
- package/dist/illustrations/banners.cjs +2 -0
- package/dist/illustrations/banners.cjs.map +1 -0
- package/dist/illustrations/banners.d.ts +4 -0
- package/dist/illustrations/banners.js +5 -0
- package/dist/illustrations/banners.js.map +1 -0
- package/dist/illustrations/banners.svg.cjs +2 -0
- package/dist/illustrations/banners.svg.cjs.map +1 -0
- package/dist/illustrations/banners.svg.js +6 -0
- package/dist/illustrations/banners.svg.js.map +1 -0
- package/dist/illustrations/billing-history.cjs +2 -0
- package/dist/illustrations/billing-history.cjs.map +1 -0
- package/dist/illustrations/billing-history.d.ts +4 -0
- package/dist/illustrations/billing-history.js +5 -0
- package/dist/illustrations/billing-history.js.map +1 -0
- package/dist/illustrations/billing-history.svg.cjs +2 -0
- package/dist/illustrations/billing-history.svg.cjs.map +1 -0
- package/dist/illustrations/billing-history.svg.js +6 -0
- package/dist/illustrations/billing-history.svg.js.map +1 -0
- package/dist/illustrations/blank-playbook.cjs +2 -0
- package/dist/illustrations/blank-playbook.cjs.map +1 -0
- package/dist/illustrations/blank-playbook.d.ts +4 -0
- package/dist/illustrations/blank-playbook.js +5 -0
- package/dist/illustrations/blank-playbook.js.map +1 -0
- package/dist/illustrations/blank-playbook.svg.cjs +2 -0
- package/dist/illustrations/blank-playbook.svg.cjs.map +1 -0
- package/dist/illustrations/blank-playbook.svg.js +6 -0
- package/dist/illustrations/blank-playbook.svg.js.map +1 -0
- package/dist/illustrations/bot-accounts.cjs +2 -0
- package/dist/illustrations/bot-accounts.cjs.map +1 -0
- package/dist/illustrations/bot-accounts.d.ts +4 -0
- package/dist/illustrations/bot-accounts.js +5 -0
- package/dist/illustrations/bot-accounts.js.map +1 -0
- package/dist/illustrations/bot-accounts.svg.cjs +2 -0
- package/dist/illustrations/bot-accounts.svg.cjs.map +1 -0
- package/dist/illustrations/bot-accounts.svg.js +6 -0
- package/dist/illustrations/bot-accounts.svg.js.map +1 -0
- package/dist/illustrations/browser-or-desktop.cjs +2 -0
- package/dist/illustrations/browser-or-desktop.cjs.map +1 -0
- package/dist/illustrations/browser-or-desktop.d.ts +4 -0
- package/dist/illustrations/browser-or-desktop.js +5 -0
- package/dist/illustrations/browser-or-desktop.js.map +1 -0
- package/dist/illustrations/browser-or-desktop.svg.cjs +2 -0
- package/dist/illustrations/browser-or-desktop.svg.cjs.map +1 -0
- package/dist/illustrations/browser-or-desktop.svg.js +6 -0
- package/dist/illustrations/browser-or-desktop.svg.js.map +1 -0
- package/dist/illustrations/bug-bash.cjs +2 -0
- package/dist/illustrations/bug-bash.cjs.map +1 -0
- package/dist/illustrations/bug-bash.d.ts +4 -0
- package/dist/illustrations/bug-bash.js +5 -0
- package/dist/illustrations/bug-bash.js.map +1 -0
- package/dist/illustrations/bug-bash.svg.cjs +2 -0
- package/dist/illustrations/bug-bash.svg.cjs.map +1 -0
- package/dist/illustrations/bug-bash.svg.js +6 -0
- package/dist/illustrations/bug-bash.svg.js.map +1 -0
- package/dist/illustrations/calls.cjs +2 -0
- package/dist/illustrations/calls.cjs.map +1 -0
- package/dist/illustrations/calls.d.ts +4 -0
- package/dist/illustrations/calls.js +5 -0
- package/dist/illustrations/calls.js.map +1 -0
- package/dist/illustrations/calls.svg.cjs +2 -0
- package/dist/illustrations/calls.svg.cjs.map +1 -0
- package/dist/illustrations/calls.svg.js +6 -0
- package/dist/illustrations/calls.svg.js.map +1 -0
- package/dist/illustrations/collaborate.cjs +2 -0
- package/dist/illustrations/collaborate.cjs.map +1 -0
- package/dist/illustrations/collaborate.d.ts +4 -0
- package/dist/illustrations/collaborate.js +5 -0
- package/dist/illustrations/collaborate.js.map +1 -0
- package/dist/illustrations/collaborate.svg.cjs +2 -0
- package/dist/illustrations/collaborate.svg.cjs.map +1 -0
- package/dist/illustrations/collaborate.svg.js +6 -0
- package/dist/illustrations/collaborate.svg.js.map +1 -0
- package/dist/illustrations/compliance-exports.cjs +2 -0
- package/dist/illustrations/compliance-exports.cjs.map +1 -0
- package/dist/illustrations/compliance-exports.d.ts +4 -0
- package/dist/illustrations/compliance-exports.js +5 -0
- package/dist/illustrations/compliance-exports.js.map +1 -0
- package/dist/illustrations/compliance-exports.svg.cjs +2 -0
- package/dist/illustrations/compliance-exports.svg.cjs.map +1 -0
- package/dist/illustrations/compliance-exports.svg.js +6 -0
- package/dist/illustrations/compliance-exports.svg.js.map +1 -0
- package/dist/illustrations/copilot-bot.cjs +2 -0
- package/dist/illustrations/copilot-bot.cjs.map +1 -0
- package/dist/illustrations/copilot-bot.d.ts +4 -0
- package/dist/illustrations/copilot-bot.js +5 -0
- package/dist/illustrations/copilot-bot.js.map +1 -0
- package/dist/illustrations/copilot-bot.svg.cjs +2 -0
- package/dist/illustrations/copilot-bot.svg.cjs.map +1 -0
- package/dist/illustrations/copilot-bot.svg.js +6 -0
- package/dist/illustrations/copilot-bot.svg.js.map +1 -0
- package/dist/illustrations/custom-branding.cjs +2 -0
- package/dist/illustrations/custom-branding.cjs.map +1 -0
- package/dist/illustrations/custom-branding.d.ts +4 -0
- package/dist/illustrations/custom-branding.js +5 -0
- package/dist/illustrations/custom-branding.js.map +1 -0
- package/dist/illustrations/custom-branding.svg.cjs +2 -0
- package/dist/illustrations/custom-branding.svg.cjs.map +1 -0
- package/dist/illustrations/custom-branding.svg.js +6 -0
- package/dist/illustrations/custom-branding.svg.js.map +1 -0
- package/dist/illustrations/custom-terms.cjs +2 -0
- package/dist/illustrations/custom-terms.cjs.map +1 -0
- package/dist/illustrations/custom-terms.d.ts +4 -0
- package/dist/illustrations/custom-terms.js +5 -0
- package/dist/illustrations/custom-terms.js.map +1 -0
- package/dist/illustrations/custom-terms.svg.cjs +2 -0
- package/dist/illustrations/custom-terms.svg.cjs.map +1 -0
- package/dist/illustrations/custom-terms.svg.js +6 -0
- package/dist/illustrations/custom-terms.svg.js.map +1 -0
- package/dist/illustrations/customer-onboarding.cjs +2 -0
- package/dist/illustrations/customer-onboarding.cjs.map +1 -0
- package/dist/illustrations/customer-onboarding.d.ts +4 -0
- package/dist/illustrations/customer-onboarding.js +5 -0
- package/dist/illustrations/customer-onboarding.js.map +1 -0
- package/dist/illustrations/customer-onboarding.svg.cjs +2 -0
- package/dist/illustrations/customer-onboarding.svg.cjs.map +1 -0
- package/dist/illustrations/customer-onboarding.svg.js +6 -0
- package/dist/illustrations/customer-onboarding.svg.js.map +1 -0
- package/dist/illustrations/data-retention.cjs +2 -0
- package/dist/illustrations/data-retention.cjs.map +1 -0
- package/dist/illustrations/data-retention.d.ts +4 -0
- package/dist/illustrations/data-retention.js +5 -0
- package/dist/illustrations/data-retention.js.map +1 -0
- package/dist/illustrations/data-retention.svg.cjs +2 -0
- package/dist/illustrations/data-retention.svg.cjs.map +1 -0
- package/dist/illustrations/data-retention.svg.js +6 -0
- package/dist/illustrations/data-retention.svg.js.map +1 -0
- package/dist/illustrations/drafts-empty.cjs +2 -0
- package/dist/illustrations/drafts-empty.cjs.map +1 -0
- package/dist/illustrations/drafts-empty.d.ts +4 -0
- package/dist/illustrations/drafts-empty.js +5 -0
- package/dist/illustrations/drafts-empty.js.map +1 -0
- package/dist/illustrations/drafts-empty.svg.cjs +2 -0
- package/dist/illustrations/drafts-empty.svg.cjs.map +1 -0
- package/dist/illustrations/drafts-empty.svg.js +6 -0
- package/dist/illustrations/drafts-empty.svg.js.map +1 -0
- package/dist/illustrations/employee-onboarding.cjs +2 -0
- package/dist/illustrations/employee-onboarding.cjs.map +1 -0
- package/dist/illustrations/employee-onboarding.d.ts +4 -0
- package/dist/illustrations/employee-onboarding.js +5 -0
- package/dist/illustrations/employee-onboarding.js.map +1 -0
- package/dist/illustrations/employee-onboarding.svg.cjs +2 -0
- package/dist/illustrations/employee-onboarding.svg.cjs.map +1 -0
- package/dist/illustrations/employee-onboarding.svg.js +6 -0
- package/dist/illustrations/employee-onboarding.svg.js.map +1 -0
- package/dist/illustrations/feature-lifecycle.cjs +2 -0
- package/dist/illustrations/feature-lifecycle.cjs.map +1 -0
- package/dist/illustrations/feature-lifecycle.d.ts +4 -0
- package/dist/illustrations/feature-lifecycle.js +5 -0
- package/dist/illustrations/feature-lifecycle.js.map +1 -0
- package/dist/illustrations/feature-lifecycle.svg.cjs +2 -0
- package/dist/illustrations/feature-lifecycle.svg.cjs.map +1 -0
- package/dist/illustrations/feature-lifecycle.svg.js +6 -0
- package/dist/illustrations/feature-lifecycle.svg.js.map +1 -0
- package/dist/illustrations/file-search-empty.cjs +2 -0
- package/dist/illustrations/file-search-empty.cjs.map +1 -0
- package/dist/illustrations/file-search-empty.d.ts +4 -0
- package/dist/illustrations/file-search-empty.js +5 -0
- package/dist/illustrations/file-search-empty.js.map +1 -0
- package/dist/illustrations/file-search-empty.svg.cjs +2 -0
- package/dist/illustrations/file-search-empty.svg.cjs.map +1 -0
- package/dist/illustrations/file-search-empty.svg.js +6 -0
- package/dist/illustrations/file-search-empty.svg.js.map +1 -0
- package/dist/illustrations/globe.cjs +2 -0
- package/dist/illustrations/globe.cjs.map +1 -0
- package/dist/illustrations/globe.d.ts +4 -0
- package/dist/illustrations/globe.js +5 -0
- package/dist/illustrations/globe.js.map +1 -0
- package/dist/illustrations/globe.svg.cjs +2 -0
- package/dist/illustrations/globe.svg.cjs.map +1 -0
- package/dist/illustrations/globe.svg.js +6 -0
- package/dist/illustrations/globe.svg.js.map +1 -0
- package/dist/illustrations/group.cjs +2 -0
- package/dist/illustrations/group.cjs.map +1 -0
- package/dist/illustrations/group.d.ts +4 -0
- package/dist/illustrations/group.js +5 -0
- package/dist/illustrations/group.js.map +1 -0
- package/dist/illustrations/group.svg.cjs +2 -0
- package/dist/illustrations/group.svg.cjs.map +1 -0
- package/dist/illustrations/group.svg.js +12 -0
- package/dist/illustrations/group.svg.js.map +1 -0
- package/dist/illustrations/groups.cjs +2 -0
- package/dist/illustrations/groups.cjs.map +1 -0
- package/dist/illustrations/groups.d.ts +4 -0
- package/dist/illustrations/groups.js +5 -0
- package/dist/illustrations/groups.js.map +1 -0
- package/dist/illustrations/groups.svg.cjs +2 -0
- package/dist/illustrations/groups.svg.cjs.map +1 -0
- package/dist/illustrations/groups.svg.js +12 -0
- package/dist/illustrations/groups.svg.js.map +1 -0
- package/dist/illustrations/incident-resolution.cjs +2 -0
- package/dist/illustrations/incident-resolution.cjs.map +1 -0
- package/dist/illustrations/incident-resolution.d.ts +4 -0
- package/dist/illustrations/incident-resolution.js +5 -0
- package/dist/illustrations/incident-resolution.js.map +1 -0
- package/dist/illustrations/incident-resolution.svg.cjs +2 -0
- package/dist/illustrations/incident-resolution.svg.cjs.map +1 -0
- package/dist/illustrations/incident-resolution.svg.js +6 -0
- package/dist/illustrations/incident-resolution.svg.js.map +1 -0
- package/dist/illustrations/incoming-webhook.cjs +2 -0
- package/dist/illustrations/incoming-webhook.cjs.map +1 -0
- package/dist/illustrations/incoming-webhook.d.ts +4 -0
- package/dist/illustrations/incoming-webhook.js +5 -0
- package/dist/illustrations/incoming-webhook.js.map +1 -0
- package/dist/illustrations/incoming-webhook.svg.cjs +2 -0
- package/dist/illustrations/incoming-webhook.svg.cjs.map +1 -0
- package/dist/illustrations/incoming-webhook.svg.js +6 -0
- package/dist/illustrations/incoming-webhook.svg.js.map +1 -0
- package/dist/illustrations/intune-mam.cjs +2 -0
- package/dist/illustrations/intune-mam.cjs.map +1 -0
- package/dist/illustrations/intune-mam.d.ts +4 -0
- package/dist/illustrations/intune-mam.js +5 -0
- package/dist/illustrations/intune-mam.js.map +1 -0
- package/dist/illustrations/intune-mam.svg.cjs +2 -0
- package/dist/illustrations/intune-mam.svg.cjs.map +1 -0
- package/dist/illustrations/intune-mam.svg.js +8 -0
- package/dist/illustrations/intune-mam.svg.js.map +1 -0
- package/dist/illustrations/learn-playbooks.cjs +2 -0
- package/dist/illustrations/learn-playbooks.cjs.map +1 -0
- package/dist/illustrations/learn-playbooks.d.ts +4 -0
- package/dist/illustrations/learn-playbooks.js +5 -0
- package/dist/illustrations/learn-playbooks.js.map +1 -0
- package/dist/illustrations/learn-playbooks.svg.cjs +2 -0
- package/dist/illustrations/learn-playbooks.svg.cjs.map +1 -0
- package/dist/illustrations/learn-playbooks.svg.js +6 -0
- package/dist/illustrations/learn-playbooks.svg.js.map +1 -0
- package/dist/illustrations/locked-messages.cjs +2 -0
- package/dist/illustrations/locked-messages.cjs.map +1 -0
- package/dist/illustrations/locked-messages.d.ts +4 -0
- package/dist/illustrations/locked-messages.js +5 -0
- package/dist/illustrations/locked-messages.js.map +1 -0
- package/dist/illustrations/locked-messages.svg.cjs +2 -0
- package/dist/illustrations/locked-messages.svg.cjs.map +1 -0
- package/dist/illustrations/locked-messages.svg.js +6 -0
- package/dist/illustrations/locked-messages.svg.js.map +1 -0
- package/dist/illustrations/mentions-empty.cjs +2 -0
- package/dist/illustrations/mentions-empty.cjs.map +1 -0
- package/dist/illustrations/mentions-empty.d.ts +4 -0
- package/dist/illustrations/mentions-empty.js +5 -0
- package/dist/illustrations/mentions-empty.js.map +1 -0
- package/dist/illustrations/mentions-empty.svg.cjs +2 -0
- package/dist/illustrations/mentions-empty.svg.cjs.map +1 -0
- package/dist/illustrations/mentions-empty.svg.js +6 -0
- package/dist/illustrations/mentions-empty.svg.js.map +1 -0
- package/dist/illustrations/message-not-viewable.cjs +2 -0
- package/dist/illustrations/message-not-viewable.cjs.map +1 -0
- package/dist/illustrations/message-not-viewable.d.ts +4 -0
- package/dist/illustrations/message-not-viewable.js +5 -0
- package/dist/illustrations/message-not-viewable.js.map +1 -0
- package/dist/illustrations/message-not-viewable.svg.cjs +2 -0
- package/dist/illustrations/message-not-viewable.svg.cjs.map +1 -0
- package/dist/illustrations/message-not-viewable.svg.js +6 -0
- package/dist/illustrations/message-not-viewable.svg.js.map +1 -0
- package/dist/illustrations/message-search-empty.cjs +2 -0
- package/dist/illustrations/message-search-empty.cjs.map +1 -0
- package/dist/illustrations/message-search-empty.d.ts +4 -0
- package/dist/illustrations/message-search-empty.js +5 -0
- package/dist/illustrations/message-search-empty.js.map +1 -0
- package/dist/illustrations/message-search-empty.svg.cjs +2 -0
- package/dist/illustrations/message-search-empty.svg.cjs.map +1 -0
- package/dist/illustrations/message-search-empty.svg.js +6 -0
- package/dist/illustrations/message-search-empty.svg.js.map +1 -0
- package/dist/illustrations/mfa-complete.cjs +2 -0
- package/dist/illustrations/mfa-complete.cjs.map +1 -0
- package/dist/illustrations/mfa-complete.d.ts +4 -0
- package/dist/illustrations/mfa-complete.js +5 -0
- package/dist/illustrations/mfa-complete.js.map +1 -0
- package/dist/illustrations/mfa-complete.svg.cjs +2 -0
- package/dist/illustrations/mfa-complete.svg.cjs.map +1 -0
- package/dist/illustrations/mfa-complete.svg.js +6 -0
- package/dist/illustrations/mfa-complete.svg.js.map +1 -0
- package/dist/illustrations/mfa.cjs +2 -0
- package/dist/illustrations/mfa.cjs.map +1 -0
- package/dist/illustrations/mfa.d.ts +4 -0
- package/dist/illustrations/mfa.js +5 -0
- package/dist/illustrations/mfa.js.map +1 -0
- package/dist/illustrations/mfa.svg.cjs +2 -0
- package/dist/illustrations/mfa.svg.cjs.map +1 -0
- package/dist/illustrations/mfa.svg.js +6 -0
- package/dist/illustrations/mfa.svg.js.map +1 -0
- package/dist/illustrations/mobile-protection.cjs +2 -0
- package/dist/illustrations/mobile-protection.cjs.map +1 -0
- package/dist/illustrations/mobile-protection.d.ts +4 -0
- package/dist/illustrations/mobile-protection.js +5 -0
- package/dist/illustrations/mobile-protection.js.map +1 -0
- package/dist/illustrations/mobile-protection.svg.cjs +2 -0
- package/dist/illustrations/mobile-protection.svg.cjs.map +1 -0
- package/dist/illustrations/mobile-protection.svg.js +6 -0
- package/dist/illustrations/mobile-protection.svg.js.map +1 -0
- package/dist/illustrations/mobile-security.cjs +2 -0
- package/dist/illustrations/mobile-security.cjs.map +1 -0
- package/dist/illustrations/mobile-security.d.ts +4 -0
- package/dist/illustrations/mobile-security.js +5 -0
- package/dist/illustrations/mobile-security.js.map +1 -0
- package/dist/illustrations/mobile-security.svg.cjs +2 -0
- package/dist/illustrations/mobile-security.svg.cjs.map +1 -0
- package/dist/illustrations/mobile-security.svg.js +6 -0
- package/dist/illustrations/mobile-security.svg.js.map +1 -0
- package/dist/illustrations/names.cjs +2 -0
- package/dist/illustrations/names.cjs.map +1 -0
- package/dist/illustrations/names.d.ts +3 -0
- package/dist/illustrations/names.d.ts.map +1 -0
- package/dist/illustrations/names.js +73 -0
- package/dist/illustrations/names.js.map +1 -0
- package/dist/illustrations/new-password.cjs +2 -0
- package/dist/illustrations/new-password.cjs.map +1 -0
- package/dist/illustrations/new-password.d.ts +4 -0
- package/dist/illustrations/new-password.js +5 -0
- package/dist/illustrations/new-password.js.map +1 -0
- package/dist/illustrations/new-password.svg.cjs +2 -0
- package/dist/illustrations/new-password.svg.cjs.map +1 -0
- package/dist/illustrations/new-password.svg.js +6 -0
- package/dist/illustrations/new-password.svg.js.map +1 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.cjs +2 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.cjs.map +1 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.d.ts +4 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.js +5 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.js.map +1 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs +2 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs.map +1 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js +6 -0
- package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js.map +1 -0
- package/dist/illustrations/office.cjs +2 -0
- package/dist/illustrations/office.cjs.map +1 -0
- package/dist/illustrations/office.d.ts +4 -0
- package/dist/illustrations/office.js +5 -0
- package/dist/illustrations/office.js.map +1 -0
- package/dist/illustrations/office.svg.cjs +2 -0
- package/dist/illustrations/office.svg.cjs.map +1 -0
- package/dist/illustrations/office.svg.js +6 -0
- package/dist/illustrations/office.svg.js.map +1 -0
- package/dist/illustrations/outgoing-webhook.cjs +2 -0
- package/dist/illustrations/outgoing-webhook.cjs.map +1 -0
- package/dist/illustrations/outgoing-webhook.d.ts +4 -0
- package/dist/illustrations/outgoing-webhook.js +5 -0
- package/dist/illustrations/outgoing-webhook.js.map +1 -0
- package/dist/illustrations/outgoing-webhook.svg.cjs +2 -0
- package/dist/illustrations/outgoing-webhook.svg.cjs.map +1 -0
- package/dist/illustrations/outgoing-webhook.svg.js +6 -0
- package/dist/illustrations/outgoing-webhook.svg.js.map +1 -0
- package/dist/illustrations/pinned-empty.cjs +2 -0
- package/dist/illustrations/pinned-empty.cjs.map +1 -0
- package/dist/illustrations/pinned-empty.d.ts +4 -0
- package/dist/illustrations/pinned-empty.js +5 -0
- package/dist/illustrations/pinned-empty.js.map +1 -0
- package/dist/illustrations/pinned-empty.svg.cjs +2 -0
- package/dist/illustrations/pinned-empty.svg.cjs.map +1 -0
- package/dist/illustrations/pinned-empty.svg.js +6 -0
- package/dist/illustrations/pinned-empty.svg.js.map +1 -0
- package/dist/illustrations/playbooks-empty.cjs +2 -0
- package/dist/illustrations/playbooks-empty.cjs.map +1 -0
- package/dist/illustrations/playbooks-empty.d.ts +4 -0
- package/dist/illustrations/playbooks-empty.js +5 -0
- package/dist/illustrations/playbooks-empty.js.map +1 -0
- package/dist/illustrations/playbooks-empty.svg.cjs +2 -0
- package/dist/illustrations/playbooks-empty.svg.cjs.map +1 -0
- package/dist/illustrations/playbooks-empty.svg.js +6 -0
- package/dist/illustrations/playbooks-empty.svg.js.map +1 -0
- package/dist/illustrations/private-channel-intro.cjs +2 -0
- package/dist/illustrations/private-channel-intro.cjs.map +1 -0
- package/dist/illustrations/private-channel-intro.d.ts +4 -0
- package/dist/illustrations/private-channel-intro.js +5 -0
- package/dist/illustrations/private-channel-intro.js.map +1 -0
- package/dist/illustrations/private-channel-intro.svg.cjs +2 -0
- package/dist/illustrations/private-channel-intro.svg.cjs.map +1 -0
- package/dist/illustrations/private-channel-intro.svg.js +6 -0
- package/dist/illustrations/private-channel-intro.svg.js.map +1 -0
- package/dist/illustrations/product-release.cjs +2 -0
- package/dist/illustrations/product-release.cjs.map +1 -0
- package/dist/illustrations/product-release.d.ts +4 -0
- package/dist/illustrations/product-release.js +5 -0
- package/dist/illustrations/product-release.js.map +1 -0
- package/dist/illustrations/product-release.svg.cjs +2 -0
- package/dist/illustrations/product-release.svg.cjs.map +1 -0
- package/dist/illustrations/product-release.svg.js +6 -0
- package/dist/illustrations/product-release.svg.js.map +1 -0
- package/dist/illustrations/public-channel-intro.cjs +2 -0
- package/dist/illustrations/public-channel-intro.cjs.map +1 -0
- package/dist/illustrations/public-channel-intro.d.ts +4 -0
- package/dist/illustrations/public-channel-intro.js +5 -0
- package/dist/illustrations/public-channel-intro.js.map +1 -0
- package/dist/illustrations/public-channel-intro.svg.cjs +2 -0
- package/dist/illustrations/public-channel-intro.svg.cjs.map +1 -0
- package/dist/illustrations/public-channel-intro.svg.js +6 -0
- package/dist/illustrations/public-channel-intro.svg.js.map +1 -0
- package/dist/illustrations/rating-desktop.cjs +2 -0
- package/dist/illustrations/rating-desktop.cjs.map +1 -0
- package/dist/illustrations/rating-desktop.d.ts +4 -0
- package/dist/illustrations/rating-desktop.js +5 -0
- package/dist/illustrations/rating-desktop.js.map +1 -0
- package/dist/illustrations/rating-desktop.svg.cjs +2 -0
- package/dist/illustrations/rating-desktop.svg.cjs.map +1 -0
- package/dist/illustrations/rating-desktop.svg.js +6 -0
- package/dist/illustrations/rating-desktop.svg.js.map +1 -0
- package/dist/illustrations/rating.cjs +2 -0
- package/dist/illustrations/rating.cjs.map +1 -0
- package/dist/illustrations/rating.d.ts +4 -0
- package/dist/illustrations/rating.js +5 -0
- package/dist/illustrations/rating.js.map +1 -0
- package/dist/illustrations/rating.svg.cjs +2 -0
- package/dist/illustrations/rating.svg.cjs.map +1 -0
- package/dist/illustrations/rating.svg.js +6 -0
- package/dist/illustrations/rating.svg.js.map +1 -0
- package/dist/illustrations/read-only.cjs +2 -0
- package/dist/illustrations/read-only.cjs.map +1 -0
- package/dist/illustrations/read-only.d.ts +4 -0
- package/dist/illustrations/read-only.js +5 -0
- package/dist/illustrations/read-only.js.map +1 -0
- package/dist/illustrations/read-only.svg.cjs +2 -0
- package/dist/illustrations/read-only.svg.cjs.map +1 -0
- package/dist/illustrations/read-only.svg.js +6 -0
- package/dist/illustrations/read-only.svg.js.map +1 -0
- package/dist/illustrations/reset-password.cjs +2 -0
- package/dist/illustrations/reset-password.cjs.map +1 -0
- package/dist/illustrations/reset-password.d.ts +4 -0
- package/dist/illustrations/reset-password.js +5 -0
- package/dist/illustrations/reset-password.js.map +1 -0
- package/dist/illustrations/reset-password.svg.cjs +2 -0
- package/dist/illustrations/reset-password.svg.cjs.map +1 -0
- package/dist/illustrations/reset-password.svg.js +8 -0
- package/dist/illustrations/reset-password.svg.js.map +1 -0
- package/dist/illustrations/saved-empty.cjs +2 -0
- package/dist/illustrations/saved-empty.cjs.map +1 -0
- package/dist/illustrations/saved-empty.d.ts +4 -0
- package/dist/illustrations/saved-empty.js +5 -0
- package/dist/illustrations/saved-empty.js.map +1 -0
- package/dist/illustrations/saved-empty.svg.cjs +2 -0
- package/dist/illustrations/saved-empty.svg.cjs.map +1 -0
- package/dist/illustrations/saved-empty.svg.js +6 -0
- package/dist/illustrations/saved-empty.svg.js.map +1 -0
- package/dist/illustrations/scheduled-empty.cjs +2 -0
- package/dist/illustrations/scheduled-empty.cjs.map +1 -0
- package/dist/illustrations/scheduled-empty.d.ts +4 -0
- package/dist/illustrations/scheduled-empty.js +5 -0
- package/dist/illustrations/scheduled-empty.js.map +1 -0
- package/dist/illustrations/scheduled-empty.svg.cjs +2 -0
- package/dist/illustrations/scheduled-empty.svg.cjs.map +1 -0
- package/dist/illustrations/scheduled-empty.svg.js +6 -0
- package/dist/illustrations/scheduled-empty.svg.js.map +1 -0
- package/dist/illustrations/search.cjs +2 -0
- package/dist/illustrations/search.cjs.map +1 -0
- package/dist/illustrations/search.d.ts +4 -0
- package/dist/illustrations/search.js +5 -0
- package/dist/illustrations/search.js.map +1 -0
- package/dist/illustrations/search.svg.cjs +2 -0
- package/dist/illustrations/search.svg.cjs.map +1 -0
- package/dist/illustrations/search.svg.js +6 -0
- package/dist/illustrations/search.svg.js.map +1 -0
- package/dist/illustrations/server.cjs +2 -0
- package/dist/illustrations/server.cjs.map +1 -0
- package/dist/illustrations/server.d.ts +4 -0
- package/dist/illustrations/server.js +5 -0
- package/dist/illustrations/server.js.map +1 -0
- package/dist/illustrations/server.svg.cjs +2 -0
- package/dist/illustrations/server.svg.cjs.map +1 -0
- package/dist/illustrations/server.svg.js +6 -0
- package/dist/illustrations/server.svg.js.map +1 -0
- package/dist/illustrations/setup-system.cjs +2 -0
- package/dist/illustrations/setup-system.cjs.map +1 -0
- package/dist/illustrations/setup-system.d.ts +4 -0
- package/dist/illustrations/setup-system.js +5 -0
- package/dist/illustrations/setup-system.js.map +1 -0
- package/dist/illustrations/setup-system.svg.cjs +2 -0
- package/dist/illustrations/setup-system.svg.cjs.map +1 -0
- package/dist/illustrations/setup-system.svg.js +6 -0
- package/dist/illustrations/setup-system.svg.js.map +1 -0
- package/dist/illustrations/site-error.cjs +2 -0
- package/dist/illustrations/site-error.cjs.map +1 -0
- package/dist/illustrations/site-error.d.ts +4 -0
- package/dist/illustrations/site-error.js +5 -0
- package/dist/illustrations/site-error.js.map +1 -0
- package/dist/illustrations/site-error.svg.cjs +2 -0
- package/dist/illustrations/site-error.svg.cjs.map +1 -0
- package/dist/illustrations/site-error.svg.js +6 -0
- package/dist/illustrations/site-error.svg.js.map +1 -0
- package/dist/illustrations/slash-commands.cjs +2 -0
- package/dist/illustrations/slash-commands.cjs.map +1 -0
- package/dist/illustrations/slash-commands.d.ts +4 -0
- package/dist/illustrations/slash-commands.js +5 -0
- package/dist/illustrations/slash-commands.js.map +1 -0
- package/dist/illustrations/slash-commands.svg.cjs +2 -0
- package/dist/illustrations/slash-commands.svg.cjs.map +1 -0
- package/dist/illustrations/slash-commands.svg.js +6 -0
- package/dist/illustrations/slash-commands.svg.js.map +1 -0
- package/dist/illustrations/success.cjs +2 -0
- package/dist/illustrations/success.cjs.map +1 -0
- package/dist/illustrations/success.d.ts +4 -0
- package/dist/illustrations/success.js +5 -0
- package/dist/illustrations/success.js.map +1 -0
- package/dist/illustrations/success.svg.cjs +2 -0
- package/dist/illustrations/success.svg.cjs.map +1 -0
- package/dist/illustrations/success.svg.js +6 -0
- package/dist/illustrations/success.svg.js.map +1 -0
- package/dist/illustrations/system-admins.cjs +2 -0
- package/dist/illustrations/system-admins.cjs.map +1 -0
- package/dist/illustrations/system-admins.d.ts +4 -0
- package/dist/illustrations/system-admins.js +5 -0
- package/dist/illustrations/system-admins.js.map +1 -0
- package/dist/illustrations/system-admins.svg.cjs +2 -0
- package/dist/illustrations/system-admins.svg.cjs.map +1 -0
- package/dist/illustrations/system-admins.svg.js +14 -0
- package/dist/illustrations/system-admins.svg.js.map +1 -0
- package/dist/illustrations/threads-empty.cjs +2 -0
- package/dist/illustrations/threads-empty.cjs.map +1 -0
- package/dist/illustrations/threads-empty.d.ts +4 -0
- package/dist/illustrations/threads-empty.js +5 -0
- package/dist/illustrations/threads-empty.js.map +1 -0
- package/dist/illustrations/threads-empty.svg.cjs +2 -0
- package/dist/illustrations/threads-empty.svg.cjs.map +1 -0
- package/dist/illustrations/threads-empty.svg.js +6 -0
- package/dist/illustrations/threads-empty.svg.js.map +1 -0
- package/dist/illustrations/timer.cjs +2 -0
- package/dist/illustrations/timer.cjs.map +1 -0
- package/dist/illustrations/timer.d.ts +4 -0
- package/dist/illustrations/timer.js +5 -0
- package/dist/illustrations/timer.js.map +1 -0
- package/dist/illustrations/timer.svg.cjs +2 -0
- package/dist/illustrations/timer.svg.cjs.map +1 -0
- package/dist/illustrations/timer.svg.js +6 -0
- package/dist/illustrations/timer.svg.js.map +1 -0
- package/dist/illustrations/tls-certificate.cjs +2 -0
- package/dist/illustrations/tls-certificate.cjs.map +1 -0
- package/dist/illustrations/tls-certificate.d.ts +4 -0
- package/dist/illustrations/tls-certificate.js +5 -0
- package/dist/illustrations/tls-certificate.js.map +1 -0
- package/dist/illustrations/tls-certificate.svg.cjs +2 -0
- package/dist/illustrations/tls-certificate.svg.cjs.map +1 -0
- package/dist/illustrations/tls-certificate.svg.js +6 -0
- package/dist/illustrations/tls-certificate.svg.js.map +1 -0
- package/dist/illustrations/tools.cjs +2 -0
- package/dist/illustrations/tools.cjs.map +1 -0
- package/dist/illustrations/tools.d.ts +4 -0
- package/dist/illustrations/tools.js +5 -0
- package/dist/illustrations/tools.js.map +1 -0
- package/dist/illustrations/tools.svg.cjs +2 -0
- package/dist/illustrations/tools.svg.cjs.map +1 -0
- package/dist/illustrations/tools.svg.js +6 -0
- package/dist/illustrations/tools.svg.js.map +1 -0
- package/dist/illustrations/town-square-channel-intro.cjs +2 -0
- package/dist/illustrations/town-square-channel-intro.cjs.map +1 -0
- package/dist/illustrations/town-square-channel-intro.d.ts +4 -0
- package/dist/illustrations/town-square-channel-intro.js +5 -0
- package/dist/illustrations/town-square-channel-intro.js.map +1 -0
- package/dist/illustrations/town-square-channel-intro.svg.cjs +2 -0
- package/dist/illustrations/town-square-channel-intro.svg.cjs.map +1 -0
- package/dist/illustrations/town-square-channel-intro.svg.js +6 -0
- package/dist/illustrations/town-square-channel-intro.svg.js.map +1 -0
- package/dist/illustrations/upload-license.cjs +2 -0
- package/dist/illustrations/upload-license.cjs.map +1 -0
- package/dist/illustrations/upload-license.d.ts +4 -0
- package/dist/illustrations/upload-license.js +5 -0
- package/dist/illustrations/upload-license.js.map +1 -0
- package/dist/illustrations/upload-license.svg.cjs +2 -0
- package/dist/illustrations/upload-license.svg.cjs.map +1 -0
- package/dist/illustrations/upload-license.svg.js +6 -0
- package/dist/illustrations/upload-license.svg.js.map +1 -0
- package/dist/illustrations/verify-email.cjs +2 -0
- package/dist/illustrations/verify-email.cjs.map +1 -0
- package/dist/illustrations/verify-email.d.ts +4 -0
- package/dist/illustrations/verify-email.js +5 -0
- package/dist/illustrations/verify-email.js.map +1 -0
- package/dist/illustrations/verify-email.svg.cjs +2 -0
- package/dist/illustrations/verify-email.svg.cjs.map +1 -0
- package/dist/illustrations/verify-email.svg.js +8 -0
- package/dist/illustrations/verify-email.svg.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.css +31 -41
- package/dist/index.d.ts +1 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +177 -189
- package/dist/index.js.map +1 -1
- package/package.json +216 -19
- package/dist/components/app-bar-item/AppBarItem.cjs +0 -2
- package/dist/components/app-bar-item/AppBarItem.cjs.map +0 -1
- package/dist/components/app-bar-item/AppBarItem.d.ts +0 -25
- package/dist/components/app-bar-item/AppBarItem.d.ts.map +0 -1
- package/dist/components/app-bar-item/AppBarItem.js +0 -49
- package/dist/components/app-bar-item/AppBarItem.js.map +0 -1
- package/dist/components/app-bar-item/AppBarItem.module.css +0 -1
- package/dist/components/app-bar-item/AppBarItem.module.scss.cjs +0 -2
- package/dist/components/app-bar-item/AppBarItem.module.scss.cjs.map +0 -1
- package/dist/components/app-bar-item/AppBarItem.module.scss.js +0 -11
- package/dist/components/app-bar-item/AppBarItem.module.scss.js.map +0 -1
- package/dist/components/app-bar-item/index.d.ts +0 -3
- package/dist/components/app-bar-item/index.d.ts.map +0 -1
- package/dist/components/app-bar-item/index.js +0 -5
- package/dist/components/channel-header/ChannelHeader.cjs +0 -2
- package/dist/components/channel-header/ChannelHeader.cjs.map +0 -1
- package/dist/components/channel-header/ChannelHeader.d.ts +0 -37
- package/dist/components/channel-header/ChannelHeader.d.ts.map +0 -1
- package/dist/components/channel-header/ChannelHeader.js +0 -174
- package/dist/components/channel-header/ChannelHeader.js.map +0 -1
- package/dist/components/channel-header/ChannelHeader.module.css +0 -1
- package/dist/components/channel-header/ChannelHeader.module.scss.cjs +0 -2
- package/dist/components/channel-header/ChannelHeader.module.scss.cjs.map +0 -1
- package/dist/components/channel-header/ChannelHeader.module.scss.js +0 -20
- package/dist/components/channel-header/ChannelHeader.module.scss.js.map +0 -1
- package/dist/components/channel-header/index.cjs +0 -2
- package/dist/components/channel-header/index.cjs.map +0 -1
- package/dist/components/channel-header/index.d.ts +0 -3
- package/dist/components/channel-header/index.d.ts.map +0 -1
- package/dist/components/channel-header/index.js +0 -5
- package/dist/components/channel-header/index.js.map +0 -1
- package/dist/components/message/Message.cjs +0 -2
- package/dist/components/message/Message.cjs.map +0 -1
- package/dist/components/message/Message.d.ts +0 -34
- package/dist/components/message/Message.d.ts.map +0 -1
- package/dist/components/message/Message.js +0 -54
- package/dist/components/message/Message.js.map +0 -1
- package/dist/components/message/Message.module.css +0 -1
- package/dist/components/message/Message.module.scss.cjs +0 -2
- package/dist/components/message/Message.module.scss.cjs.map +0 -1
- package/dist/components/message/Message.module.scss.js +0 -26
- package/dist/components/message/Message.module.scss.js.map +0 -1
- package/dist/components/message/index.cjs +0 -2
- package/dist/components/message/index.cjs.map +0 -1
- package/dist/components/message/index.d.ts +0 -4
- package/dist/components/message/index.d.ts.map +0 -1
- package/dist/components/message/index.js +0 -7
- package/dist/components/message/index.js.map +0 -1
- package/dist/components/message-input/MessageInput.cjs +0 -2
- package/dist/components/message-input/MessageInput.cjs.map +0 -1
- package/dist/components/message-input/MessageInput.d.ts +0 -15
- package/dist/components/message-input/MessageInput.d.ts.map +0 -1
- package/dist/components/message-input/MessageInput.js +0 -407
- package/dist/components/message-input/MessageInput.js.map +0 -1
- package/dist/components/message-input/MessageInput.module.css +0 -1
- package/dist/components/message-input/MessageInput.module.scss.cjs +0 -2
- package/dist/components/message-input/MessageInput.module.scss.cjs.map +0 -1
- package/dist/components/message-input/MessageInput.module.scss.js +0 -37
- package/dist/components/message-input/MessageInput.module.scss.js.map +0 -1
- package/dist/components/message-input/index.cjs +0 -2
- package/dist/components/message-input/index.cjs.map +0 -1
- package/dist/components/message-input/index.d.ts +0 -3
- package/dist/components/message-input/index.d.ts.map +0 -1
- package/dist/components/message-input/index.js +0 -5
- package/dist/components/message-input/index.js.map +0 -1
- package/dist/components/reaction-pill/ReactionPill.cjs +0 -2
- package/dist/components/reaction-pill/ReactionPill.cjs.map +0 -1
- package/dist/components/reaction-pill/ReactionPill.d.ts +0 -24
- package/dist/components/reaction-pill/ReactionPill.d.ts.map +0 -1
- package/dist/components/reaction-pill/ReactionPill.js +0 -51
- package/dist/components/reaction-pill/ReactionPill.js.map +0 -1
- package/dist/components/reaction-pill/ReactionPill.module.css +0 -1
- package/dist/components/reaction-pill/ReactionPill.module.scss.cjs +0 -2
- package/dist/components/reaction-pill/ReactionPill.module.scss.cjs.map +0 -1
- package/dist/components/reaction-pill/ReactionPill.module.scss.js +0 -17
- package/dist/components/reaction-pill/ReactionPill.module.scss.js.map +0 -1
- package/dist/components/reaction-pill/index.cjs +0 -2
- package/dist/components/reaction-pill/index.cjs.map +0 -1
- package/dist/components/reaction-pill/index.d.ts +0 -3
- package/dist/components/reaction-pill/index.d.ts.map +0 -1
- package/dist/components/reaction-pill/index.js +0 -5
- package/dist/components/reaction-pill/index.js.map +0 -1
- package/dist/components/right-sidebar/RightSidebar.cjs +0 -2
- package/dist/components/right-sidebar/RightSidebar.cjs.map +0 -1
- package/dist/components/right-sidebar/RightSidebar.d.ts +0 -23
- package/dist/components/right-sidebar/RightSidebar.d.ts.map +0 -1
- package/dist/components/right-sidebar/RightSidebar.js +0 -29
- package/dist/components/right-sidebar/RightSidebar.js.map +0 -1
- package/dist/components/right-sidebar/RightSidebar.module.css +0 -1
- package/dist/components/right-sidebar/RightSidebar.module.scss.cjs +0 -2
- package/dist/components/right-sidebar/RightSidebar.module.scss.cjs.map +0 -1
- package/dist/components/right-sidebar/RightSidebar.module.scss.js +0 -12
- package/dist/components/right-sidebar/RightSidebar.module.scss.js.map +0 -1
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs +0 -2
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs.map +0 -1
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.d.ts.map +0 -1
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.js.map +0 -1
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.css +0 -1
- package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.scss.cjs +0 -2
- package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts +0 -3
- package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts.map +0 -1
- package/dist/components/right-sidebar/index.cjs +0 -2
- package/dist/components/right-sidebar/index.cjs.map +0 -1
- package/dist/components/right-sidebar/index.d.ts +0 -5
- package/dist/components/right-sidebar/index.d.ts.map +0 -1
- package/dist/components/right-sidebar/index.js +0 -7
- package/dist/components/right-sidebar/index.js.map +0 -1
- /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.cjs.map +0 -0
- /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js.map +0 -0
- /package/dist/components/{app-bar-item → right-sidebar-header}/index.cjs.map +0 -0
- /package/dist/components/{app-bar-item → right-sidebar-header}/index.js.map +0 -0
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import __A from "@mattermost/compass-icons/components/star-outline.js";const A=__A&&__A.default?__A.default:__A;
|
|
3
|
-
import __j from "@mattermost/compass-icons/components/star.js";const j=__j&&__j.default?__j.default:__j;
|
|
4
|
-
import __p from "@mattermost/compass-icons/components/chevron-down.js";const p=__p&&__p.default?__p.default:__p;
|
|
5
|
-
import __F from "@mattermost/compass-icons/components/bell-off-outline.js";const F=__F&&__F.default?__F.default:__F;
|
|
6
|
-
import __S from "@mattermost/compass-icons/components/account-outline.js";const S=__S&&__S.default?__S.default:__S;
|
|
7
|
-
import __T from "@mattermost/compass-icons/components/pin-outline.js";const T=__T&&__T.default?__T.default:__T;
|
|
8
|
-
import __D from "@mattermost/compass-icons/components/file-text-outline.js";const D=__D&&__D.default?__D.default:__D;
|
|
9
|
-
import __P from "@mattermost/compass-icons/components/phone.js";const P=__P&&__P.default?__P.default:__P;
|
|
10
|
-
import __$ from "@mattermost/compass-icons/components/information-outline.js";const $=__$&&__$.default?__$.default:__$;
|
|
11
|
-
import q from "../button/Button.js";
|
|
12
|
-
import s from "../icon/Icon.js";
|
|
13
|
-
import i from "../icon-button/IconButton.js";
|
|
14
|
-
import H from "../tag/Tag.js";
|
|
15
|
-
import M from "../user-avatar/UserAvatar.js";
|
|
16
|
-
import a from "./ChannelHeader.module.scss.js";
|
|
17
|
-
function le({
|
|
18
|
-
type: l = "channel",
|
|
19
|
-
name: o = "",
|
|
20
|
-
description: r,
|
|
21
|
-
memberCount: c,
|
|
22
|
-
pinnedCount: h,
|
|
23
|
-
favorited: m = !1,
|
|
24
|
-
muted: g = !1,
|
|
25
|
-
avatarSrc: d,
|
|
26
|
-
avatarStatus: b = !1,
|
|
27
|
-
onFavoriteClick: z,
|
|
28
|
-
onNameClick: t,
|
|
29
|
-
onCallClick: N,
|
|
30
|
-
callButton: v,
|
|
31
|
-
onInfoClick: I,
|
|
32
|
-
infoToggled: x = !1,
|
|
33
|
-
className: O = ""
|
|
34
|
-
}) {
|
|
35
|
-
const f = l === "threads" || l === "drafts", B = l === "channel" || l === "dm" || l === "gm", C = (l === "channel" || l === "gm") && c != null, w = l === "channel" || l === "dm" || l === "gm", k = l === "channel" || l === "dm" || l === "gm", _ = (l === "dm" || l === "bot") && !!d, u = [
|
|
36
|
-
a["channel-header"],
|
|
37
|
-
f ? a["channel-header--simple"] : "",
|
|
38
|
-
O
|
|
39
|
-
].filter(Boolean).join(" ");
|
|
40
|
-
return f ? /* @__PURE__ */ n("div", { className: u, children: [
|
|
41
|
-
/* @__PURE__ */ e("span", { className: a["channel-header__title"], children: o }),
|
|
42
|
-
r && /* @__PURE__ */ e("span", { className: a["channel-header__description"], children: r })
|
|
43
|
-
] }) : /* @__PURE__ */ n("div", { className: u, children: [
|
|
44
|
-
/* @__PURE__ */ n("div", { className: a["channel-header__left"], children: [
|
|
45
|
-
/* @__PURE__ */ n("div", { className: a["channel-header__top-row"], children: [
|
|
46
|
-
/* @__PURE__ */ e(
|
|
47
|
-
i,
|
|
48
|
-
{
|
|
49
|
-
size: "x-small",
|
|
50
|
-
"aria-label": m ? "Remove from favorites" : "Add to favorites",
|
|
51
|
-
onClick: z,
|
|
52
|
-
icon: m ? /* @__PURE__ */ e(
|
|
53
|
-
"span",
|
|
54
|
-
{
|
|
55
|
-
style: { color: "var(--button-bg)", display: "inline-flex" },
|
|
56
|
-
children: /* @__PURE__ */ e(j, { size: 18 })
|
|
57
|
-
}
|
|
58
|
-
) : /* @__PURE__ */ e(A, { size: 18 })
|
|
59
|
-
}
|
|
60
|
-
),
|
|
61
|
-
_ && /* @__PURE__ */ n("div", { className: a["channel-header__identity"], children: [
|
|
62
|
-
/* @__PURE__ */ e(
|
|
63
|
-
M,
|
|
64
|
-
{
|
|
65
|
-
src: d,
|
|
66
|
-
alt: o,
|
|
67
|
-
size: "24",
|
|
68
|
-
status: l === "dm" ? b : !1
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
l === "bot" ? /* @__PURE__ */ n("div", { className: a["channel-header__bot-name-group"], children: [
|
|
72
|
-
/* @__PURE__ */ e(
|
|
73
|
-
"button",
|
|
74
|
-
{
|
|
75
|
-
className: a["channel-header__name-area"],
|
|
76
|
-
type: "button",
|
|
77
|
-
onClick: t,
|
|
78
|
-
children: /* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o })
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ e("span", { className: a["channel-header__bot-tag"], children: /* @__PURE__ */ e(H, { label: "BOT", casing: "all-caps" }) })
|
|
82
|
-
] }) : /* @__PURE__ */ n(
|
|
83
|
-
"button",
|
|
84
|
-
{
|
|
85
|
-
className: a["channel-header__name-area"],
|
|
86
|
-
type: "button",
|
|
87
|
-
onClick: t,
|
|
88
|
-
children: [
|
|
89
|
-
/* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o }),
|
|
90
|
-
/* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(p, {}) })
|
|
91
|
-
]
|
|
92
|
-
}
|
|
93
|
-
)
|
|
94
|
-
] }),
|
|
95
|
-
!_ && /* @__PURE__ */ n(
|
|
96
|
-
"button",
|
|
97
|
-
{
|
|
98
|
-
className: a["channel-header__name-area"],
|
|
99
|
-
type: "button",
|
|
100
|
-
onClick: t,
|
|
101
|
-
children: [
|
|
102
|
-
/* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o }),
|
|
103
|
-
k && /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(p, {}) })
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
),
|
|
107
|
-
/* @__PURE__ */ n("div", { className: a["channel-header__stat-icons"], children: [
|
|
108
|
-
g && /* @__PURE__ */ e(
|
|
109
|
-
i,
|
|
110
|
-
{
|
|
111
|
-
size: "x-small",
|
|
112
|
-
"aria-label": "Notifications muted",
|
|
113
|
-
icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(F, {}) })
|
|
114
|
-
}
|
|
115
|
-
),
|
|
116
|
-
C && /* @__PURE__ */ e(
|
|
117
|
-
i,
|
|
118
|
-
{
|
|
119
|
-
size: "x-small",
|
|
120
|
-
"aria-label": `${c} members`,
|
|
121
|
-
count: c,
|
|
122
|
-
icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(S, {}) })
|
|
123
|
-
}
|
|
124
|
-
),
|
|
125
|
-
h != null && /* @__PURE__ */ e(
|
|
126
|
-
i,
|
|
127
|
-
{
|
|
128
|
-
size: "x-small",
|
|
129
|
-
"aria-label": `${h} pinned messages`,
|
|
130
|
-
count: h,
|
|
131
|
-
icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(T, {}) })
|
|
132
|
-
}
|
|
133
|
-
),
|
|
134
|
-
w && /* @__PURE__ */ e(
|
|
135
|
-
i,
|
|
136
|
-
{
|
|
137
|
-
size: "x-small",
|
|
138
|
-
"aria-label": "Files",
|
|
139
|
-
icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(D, {}) })
|
|
140
|
-
}
|
|
141
|
-
)
|
|
142
|
-
] })
|
|
143
|
-
] }),
|
|
144
|
-
/* @__PURE__ */ e("div", { className: a["channel-header__description"], children: r ?? null })
|
|
145
|
-
] }),
|
|
146
|
-
/* @__PURE__ */ n("div", { className: a["channel-header__right"], children: [
|
|
147
|
-
B && (v ?? /* @__PURE__ */ e(
|
|
148
|
-
q,
|
|
149
|
-
{
|
|
150
|
-
className: a["channel-header__call-btn"],
|
|
151
|
-
emphasis: "quaternary",
|
|
152
|
-
size: "small",
|
|
153
|
-
leadingIcon: /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(P, {}) }),
|
|
154
|
-
onClick: N,
|
|
155
|
-
children: "Start a Call"
|
|
156
|
-
}
|
|
157
|
-
)),
|
|
158
|
-
/* @__PURE__ */ e(
|
|
159
|
-
i,
|
|
160
|
-
{
|
|
161
|
-
size: "small",
|
|
162
|
-
"aria-label": "Channel info",
|
|
163
|
-
icon: /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e($, {}) }),
|
|
164
|
-
onClick: I,
|
|
165
|
-
toggled: x
|
|
166
|
-
}
|
|
167
|
-
)
|
|
168
|
-
] })
|
|
169
|
-
] });
|
|
170
|
-
}
|
|
171
|
-
export {
|
|
172
|
-
le as default
|
|
173
|
-
};
|
|
174
|
-
//# sourceMappingURL=ChannelHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.js","sources":["../../../src/components/channel-header/ChannelHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport StarOutlineIcon from '@mattermost/compass-icons/components/star-outline';\nimport StarIcon from '@mattermost/compass-icons/components/star';\nimport ChevronDownIcon from '@mattermost/compass-icons/components/chevron-down';\nimport BellOffOutlineIcon from '@mattermost/compass-icons/components/bell-off-outline';\nimport AccountOutlineIcon from '@mattermost/compass-icons/components/account-outline';\nimport PinOutlineIcon from '@mattermost/compass-icons/components/pin-outline';\nimport FileTextOutlineIcon from '@mattermost/compass-icons/components/file-text-outline';\nimport PhoneIcon from '@mattermost/compass-icons/components/phone';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport Button from '@/components/button/Button';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport styles from './ChannelHeader.module.scss';\n\nexport type ChannelHeaderType =\n | 'channel'\n | 'bot'\n | 'dm'\n | 'gm'\n | 'threads'\n | 'drafts';\n\nexport interface ChannelHeaderProps {\n /** Channel type variant. Default: Channel. */\n type?: ChannelHeaderType;\n /** Channel or conversation name. */\n name?: string;\n /** Subtitle shown to the right of the stat icons (Bot) or next to the title (Threads, Drafts). */\n description?: string;\n /** Member count shown for Channel and GM types. */\n memberCount?: number;\n /** Number of pinned messages shown as a stat. */\n pinnedCount?: number;\n /** Whether the channel is favorited (filled star). */\n favorited?: boolean;\n /** Whether the channel is muted (bell-off icon shown). */\n muted?: boolean;\n /** Avatar image URL for DM and Bot types. */\n avatarSrc?: string;\n /** Show online status badge on the DM avatar. */\n avatarStatus?: boolean;\n /** Called when the favorite star is clicked. */\n onFavoriteClick?: () => void;\n /** Called when the channel name is clicked. */\n onNameClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /** Called when the Start a Call button is clicked. */\n onCallClick?: () => void;\n /** Replaces the default Start a Call button when provided. */\n callButton?: ReactNode;\n /** Called when the channel info button is clicked. */\n onInfoClick?: () => void;\n /** Whether the info button is in a toggled (active) state. */\n infoToggled?: boolean;\n className?: string;\n}\n\nexport default function ChannelHeader({\n type = 'channel',\n name = '',\n description,\n memberCount,\n pinnedCount,\n favorited = false,\n muted = false,\n avatarSrc,\n avatarStatus = false,\n onFavoriteClick,\n onNameClick,\n onCallClick,\n callButton,\n onInfoClick,\n infoToggled = false,\n className = '',\n}: ChannelHeaderProps) {\n const isSimple = type === 'threads' || type === 'drafts';\n const showCallButton = type === 'channel' || type === 'dm' || type === 'gm';\n const showMembers =\n (type === 'channel' || type === 'gm') && memberCount != null;\n const showFiles = type === 'channel' || type === 'dm' || type === 'gm';\n const showChevron = type === 'channel' || type === 'dm' || type === 'gm';\n const hasDmAvatar = (type === 'dm' || type === 'bot') && Boolean(avatarSrc);\n\n const rootClass = [\n styles['channel-header'],\n isSimple ? styles['channel-header--simple'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n if (isSimple) {\n return (\n <div className={rootClass}>\n <span className={styles['channel-header__title']}>{name}</span>\n {description && (\n <span className={styles['channel-header__description']}>\n {description}\n </span>\n )}\n </div>\n );\n }\n\n return (\n <div className={rootClass}>\n <div className={styles['channel-header__left']}>\n <div className={styles['channel-header__top-row']}>\n <IconButton\n size=\"x-small\"\n aria-label={\n favorited ? 'Remove from favorites' : 'Add to favorites'\n }\n onClick={onFavoriteClick}\n icon={\n favorited ? (\n <span\n style={{ color: 'var(--button-bg)', display: 'inline-flex' }}\n >\n <StarIcon size={18} />\n </span>\n ) : (\n <StarOutlineIcon size={18} />\n )\n }\n />\n\n {hasDmAvatar && (\n <div className={styles['channel-header__identity']}>\n <UserAvatar\n src={avatarSrc!}\n alt={name}\n size=\"24\"\n status={type === 'dm' ? avatarStatus : false}\n />\n {type === 'bot' ? (\n <div className={styles['channel-header__bot-name-group']}>\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>\n {name}\n </span>\n </button>\n <span className={styles['channel-header__bot-tag']}>\n <Tag label=\"BOT\" casing=\"all-caps\" />\n </span>\n </div>\n ) : (\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>{name}</span>\n <Icon size=\"16\" glyph={<ChevronDownIcon />} />\n </button>\n )}\n </div>\n )}\n\n {!hasDmAvatar && (\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>{name}</span>\n {showChevron && <Icon size=\"16\" glyph={<ChevronDownIcon />} />}\n </button>\n )}\n\n <div className={styles['channel-header__stat-icons']}>\n {muted && (\n <IconButton\n size=\"x-small\"\n aria-label=\"Notifications muted\"\n icon={<Icon size=\"12\" glyph={<BellOffOutlineIcon />} />}\n />\n )}\n {showMembers && (\n <IconButton\n size=\"x-small\"\n aria-label={`${memberCount} members`}\n count={memberCount}\n icon={<Icon size=\"12\" glyph={<AccountOutlineIcon />} />}\n />\n )}\n {pinnedCount != null && (\n <IconButton\n size=\"x-small\"\n aria-label={`${pinnedCount} pinned messages`}\n count={pinnedCount}\n icon={<Icon size=\"12\" glyph={<PinOutlineIcon />} />}\n />\n )}\n {showFiles && (\n <IconButton\n size=\"x-small\"\n aria-label=\"Files\"\n icon={<Icon size=\"12\" glyph={<FileTextOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n\n <div className={styles['channel-header__description']}>\n {description ?? null}\n </div>\n </div>\n\n <div className={styles['channel-header__right']}>\n {showCallButton && (callButton ?? (\n <Button\n className={styles['channel-header__call-btn']}\n emphasis=\"quaternary\"\n size=\"small\"\n leadingIcon={<Icon size=\"16\" glyph={<PhoneIcon />} />}\n onClick={onCallClick}\n >\n Start a Call\n </Button>\n ))}\n <IconButton\n size=\"small\"\n aria-label=\"Channel info\"\n icon={<Icon size=\"16\" glyph={<InformationOutlineIcon />} />}\n onClick={onInfoClick}\n toggled={infoToggled}\n />\n </div>\n </div>\n );\n}\n"],"names":["ChannelHeader","type","name","description","memberCount","pinnedCount","favorited","muted","avatarSrc","avatarStatus","onFavoriteClick","onNameClick","onCallClick","callButton","onInfoClick","infoToggled","className","isSimple","showCallButton","showMembers","showFiles","showChevron","hasDmAvatar","rootClass","styles","jsxs","jsx","IconButton","StarIcon","StarOutlineIcon","UserAvatar","Tag","Icon","ChevronDownIcon","BellOffOutlineIcon","AccountOutlineIcon","PinOutlineIcon","FileTextOutlineIcon","Button","PhoneIcon","InformationOutlineIcon"],"mappings":";;;;;;;;;;;;;;;;AA2DA,SAAwBA,GAAc;AAAA,EACpC,MAAAC,IAAO;AAAA,EACP,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAC,IAAQ;AAAA,EACR,WAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,iBAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,YAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,WAAAC,IAAY;AACd,GAAuB;AACrB,QAAMC,IAAWhB,MAAS,aAAaA,MAAS,UAC1CiB,IAAiBjB,MAAS,aAAaA,MAAS,QAAQA,MAAS,MACjEkB,KACHlB,MAAS,aAAaA,MAAS,SAASG,KAAe,MACpDgB,IAAYnB,MAAS,aAAaA,MAAS,QAAQA,MAAS,MAC5DoB,IAAcpB,MAAS,aAAaA,MAAS,QAAQA,MAAS,MA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AcQ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAN,EAACa,KAAU,GAAI;AAAA,UACnD,SAAS3B;AAAA,UACV,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAIH,gBAAAc;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,wBAAOK,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAN,EAACc,KAAuB,GAAI;AAAA,UACzD,SAAS1B;AAAA,UACT,SAASC;AAAA,QAAA;AAAA,MAAA;AAAA,IACX,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._channel-header_ac4gj_2{display:flex;height:56px;align-items:center;gap:var(--spacing-l);padding:var(--spacing-m);background-color:var(--center-channel-bg, var(--color-neutral-0));border-bottom:1px solid rgba(var(--center-channel-color-rgb),.16)}._channel-header--simple_ac4gj_11{gap:var(--spacing-xs);padding:var(--spacing-m) var(--spacing-l)}._channel-header__left_ac4gj_15{display:flex;align-items:center;flex:1 0 0;min-width:0}._channel-header__top-row_ac4gj_21{display:flex;align-items:center;flex-shrink:0}._channel-header__identity_ac4gj_26{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0;margin-left:var(--spacing-xxxs)}._channel-header__bot-name-group_ac4gj_33{display:flex;align-items:center;gap:var(--spacing-xxxxs);flex-shrink:0}._channel-header__bot-tag_ac4gj_39{display:inline-flex;align-self:center}._channel-header__name-area_ac4gj_43{display:inline-flex;align-items:center;gap:1px;padding:0 var(--spacing-xxxs) 0 var(--spacing-xxs);border-radius:var(--radius-s);border:none;background:transparent;cursor:pointer;color:var(--center-channel-color, var(--color-neutral-900));flex-shrink:0}._channel-header__name-area_ac4gj_43:hover{background-color:rgba(var(--center-channel-color-rgb),.08)}._channel-header__name_ac4gj_43{font-family:var(--font-family-heading);font-size:var(--font-size-200);font-weight:var(--font-weight-semibold);line-height:var(--line-height-200);color:var(--center-channel-color, var(--color-neutral-900));white-space:nowrap}._channel-header__stat-icons_ac4gj_66{display:flex;align-items:center;padding-right:var(--spacing-xs);flex-shrink:0}._channel-header__description_ac4gj_72{flex:1 0 0;min-width:0;font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-regular);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._channel-header__right_ac4gj_84{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0}._channel-header__call-btn_ac4gj_90{padding-right:var(--spacing-m);padding-left:var(--spacing-m)}._channel-header__title_ac4gj_94{font-family:var(--font-family-heading);font-size:var(--font-size-200);font-weight:var(--font-weight-semibold);line-height:var(--line-height-200);color:var(--center-channel-color, var(--color-neutral-900));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ChannelHeader.module.css');const e={"channel-header":"_channel-header_ac4gj_2","channel-header--simple":"_channel-header--simple_ac4gj_11","channel-header__left":"_channel-header__left_ac4gj_15","channel-header__top-row":"_channel-header__top-row_ac4gj_21","channel-header__identity":"_channel-header__identity_ac4gj_26","channel-header__bot-name-group":"_channel-header__bot-name-group_ac4gj_33","channel-header__bot-tag":"_channel-header__bot-tag_ac4gj_39","channel-header__name-area":"_channel-header__name-area_ac4gj_43","channel-header__name":"_channel-header__name_ac4gj_43","channel-header__stat-icons":"_channel-header__stat-icons_ac4gj_66","channel-header__description":"_channel-header__description_ac4gj_72","channel-header__right":"_channel-header__right_ac4gj_84","channel-header__call-btn":"_channel-header__call-btn_ac4gj_90","channel-header__title":"_channel-header__title_ac4gj_94"};exports.default=e;
|
|
2
|
-
//# sourceMappingURL=ChannelHeader.module.scss.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import './ChannelHeader.module.css';const e = {
|
|
2
|
-
"channel-header": "_channel-header_ac4gj_2",
|
|
3
|
-
"channel-header--simple": "_channel-header--simple_ac4gj_11",
|
|
4
|
-
"channel-header__left": "_channel-header__left_ac4gj_15",
|
|
5
|
-
"channel-header__top-row": "_channel-header__top-row_ac4gj_21",
|
|
6
|
-
"channel-header__identity": "_channel-header__identity_ac4gj_26",
|
|
7
|
-
"channel-header__bot-name-group": "_channel-header__bot-name-group_ac4gj_33",
|
|
8
|
-
"channel-header__bot-tag": "_channel-header__bot-tag_ac4gj_39",
|
|
9
|
-
"channel-header__name-area": "_channel-header__name-area_ac4gj_43",
|
|
10
|
-
"channel-header__name": "_channel-header__name_ac4gj_43",
|
|
11
|
-
"channel-header__stat-icons": "_channel-header__stat-icons_ac4gj_66",
|
|
12
|
-
"channel-header__description": "_channel-header__description_ac4gj_72",
|
|
13
|
-
"channel-header__right": "_channel-header__right_ac4gj_84",
|
|
14
|
-
"channel-header__call-btn": "_channel-header__call-btn_ac4gj_90",
|
|
15
|
-
"channel-header__title": "_channel-header__title_ac4gj_94"
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
e as default
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=ChannelHeader.module.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/channel-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),x=require("../user-avatar/UserAvatar.cjs"),v=require("../message-header/MessageHeader.cjs"),h=require("../message-actions/MessageActions.cjs"),N=require("../pinned-saved-indicators/PinnedSavedIndicators.cjs"),s=require("./Message.module.scss.cjs");function q({avatarSrc:t,avatarAlt:c,username:i,timestamp:r,isBot:n=!1,botLabel:u,messageActionsType:o="center-channel",showMessageActions:m=!0,showPinnedSavedIndicators:_=!1,className:f="",children:j,linkPreview:a,imagePreviews:l,footer:d}){const g=[s.default.message,f].filter(Boolean).join(" ");return e.jsxs("div",{className:g,children:[_&&e.jsx("div",{className:s.default.message__pinned,children:e.jsx(N.default,{})}),e.jsxs("div",{className:s.default.message__layout,children:[e.jsx("div",{className:s.default["message__avatar-col"],children:e.jsx(x.default,{src:t,alt:c,size:"32"})}),e.jsxs("div",{className:s.default.message__content,children:[e.jsxs("div",{className:s.default["message__header-row"],children:[e.jsx("div",{className:s.default["message__header-block"],children:e.jsx(v.default,{username:i,timestamp:r,isBot:n,botLabel:u})}),m&&e.jsx("div",{className:s.default["message__actions-slot"],children:e.jsx(h.default,{type:o})})]}),e.jsxs("div",{className:s.default.message__body,children:[j,a!=null&&e.jsx("div",{className:s.default["message__link-preview-slot"],children:a}),l!=null&&e.jsx("div",{className:s.default["message__images-slot"],children:l}),d!=null&&e.jsx("div",{className:s.default["message__footer-slot"],children:d})]})]})]})]})}exports.default=q;
|
|
2
|
-
//# sourceMappingURL=Message.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.cjs","sources":["../../../src/components/message/Message.tsx"],"sourcesContent":["import React from 'react';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport MessageHeader from '@/components/message-header/MessageHeader';\nimport MessageActions from '@/components/message-actions/MessageActions';\nimport type { MessageActionsType } from '@/components/message-actions/MessageActions';\nimport PinnedSavedIndicators from '@/components/pinned-saved-indicators/PinnedSavedIndicators';\nimport styles from './Message.module.scss';\n\ntype MessageProps = {\n avatarSrc?: string;\n avatarAlt: string;\n username: string;\n timestamp: string;\n isBot?: boolean;\n botLabel?: string;\n /** Hover toolbar context. Default: Center Channel. */\n messageActionsType?: MessageActionsType;\n /** When false, the hover Message Actions toolbar is omitted. Default: true. */\n showMessageActions?: boolean;\n /** When true, Pinned + Saved row appears at the top of the message container. */\n showPinnedSavedIndicators?: boolean;\n /** Merged onto the root element (e.g. documentation modifiers). */\n className?: string;\n /**\n * Primary body content (e.g. message text). When using structured slots, this\n * is usually the markdown/text block only. For plain `<p>` copy, use the\n * `message__body-text` class from `Message.module.scss` so typography matches\n * the component and host shells (docs, patterns) cannot restyle bare tags.\n */\n children: React.ReactNode;\n /** Link Preview block — renders after `children`. */\n linkPreview?: React.ReactNode;\n /** Image Preview block(s) — renders after the link preview slot. */\n imagePreviews?: React.ReactNode;\n /** Trailing body content — e.g. attachments and reactions — renders last. */\n footer?: React.ReactNode;\n};\n\nexport default function Message({\n avatarSrc,\n avatarAlt,\n username,\n timestamp,\n isBot = false,\n botLabel,\n messageActionsType = 'center-channel',\n showMessageActions = true,\n showPinnedSavedIndicators = false,\n className = '',\n children,\n linkPreview,\n imagePreviews,\n footer,\n}: MessageProps) {\n const rootClass = [styles.message, className].filter(Boolean).join(' ');\n\n return (\n <div className={rootClass}>\n {showPinnedSavedIndicators && (\n <div className={styles['message__pinned']}>\n <PinnedSavedIndicators />\n </div>\n )}\n <div className={styles['message__layout']}>\n <div className={styles['message__avatar-col']}>\n <UserAvatar src={avatarSrc} alt={avatarAlt} size=\"32\" />\n </div>\n <div className={styles['message__content']}>\n <div className={styles['message__header-row']}>\n <div className={styles['message__header-block']}>\n <MessageHeader\n username={username}\n timestamp={timestamp}\n isBot={isBot}\n botLabel={botLabel}\n />\n </div>\n {showMessageActions && (\n <div className={styles['message__actions-slot']}>\n <MessageActions type={messageActionsType} />\n </div>\n )}\n </div>\n <div className={styles['message__body']}>\n {children}\n {linkPreview != null && (\n <div className={styles['message__link-preview-slot']}>\n {linkPreview}\n </div>\n )}\n {imagePreviews != null && (\n <div className={styles['message__images-slot']}>{imagePreviews}</div>\n )}\n {footer != null && (\n <div className={styles['message__footer-slot']}>{footer}</div>\n )}\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"names":["Message","avatarSrc","avatarAlt","username","timestamp","isBot","botLabel","messageActionsType","showMessageActions","showPinnedSavedIndicators","className","children","linkPreview","imagePreviews","footer","rootClass","styles","jsxs","jsx","PinnedSavedIndicators","UserAvatar","MessageHeader","MessageActions"],"mappings":"oYAsCA,SAAwBA,EAAQ,CAC9B,UAAAC,EACA,UAAAC,EACA,SAAAC,EACA,UAAAC,EACA,MAAAC,EAAQ,GACR,SAAAC,EACA,mBAAAC,EAAqB,iBACrB,mBAAAC,EAAqB,GACrB,0BAAAC,EAA4B,GAC5B,UAAAC,EAAY,GACZ,SAAAC,EACA,YAAAC,EACA,cAAAC,EACA,OAAAC,CACF,EAAiB,CACf,MAAMC,EAAY,CAACC,EAAAA,QAAO,QAASN,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAEtE,OACEO,EAAAA,KAAC,MAAA,CAAI,UAAWF,EACb,SAAA,CAAAN,GACCS,EAAAA,IAAC,OAAI,UAAWF,EAAAA,QAAO,gBACrB,SAAAE,EAAAA,IAACC,YAAsB,CAAA,CACzB,EAEFF,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,gBACrB,SAAA,CAAAE,EAAAA,IAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,qBAAqB,EAC1C,SAAAE,EAAAA,IAACE,EAAAA,QAAA,CAAW,IAAKnB,EAAW,IAAKC,EAAW,KAAK,KAAK,EACxD,EACAe,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,iBACrB,SAAA,CAAAC,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,qBAAqB,EAC1C,SAAA,CAAAE,EAAAA,IAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,uBAAuB,EAC5C,SAAAE,EAAAA,IAACG,EAAAA,QAAA,CACC,SAAAlB,EACA,UAAAC,EACA,MAAAC,EACA,SAAAC,CAAA,CAAA,EAEJ,EACCE,GACCU,EAAAA,IAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,uBAAuB,EAC5C,SAAAE,EAAAA,IAACI,EAAAA,QAAA,CAAe,KAAMf,CAAA,CAAoB,CAAA,CAC5C,CAAA,EAEJ,EACAU,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,cACpB,SAAA,CAAAL,EACAC,GAAe,MACdM,MAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,4BAA4B,EAChD,SAAAJ,EACH,EAEDC,GAAiB,MAChBK,MAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,sBAAsB,EAAI,SAAAH,EAAc,EAEhEC,GAAU,MACTI,EAAAA,IAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,sBAAsB,EAAI,SAAAF,CAAA,CAAO,CAAA,CAAA,CAE5D,CAAA,CAAA,CACF,CAAA,CAAA,CACF,CAAA,EACF,CAEJ"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { MessageActionsType } from '../message-actions/MessageActions';
|
|
3
|
-
type MessageProps = {
|
|
4
|
-
avatarSrc?: string;
|
|
5
|
-
avatarAlt: string;
|
|
6
|
-
username: string;
|
|
7
|
-
timestamp: string;
|
|
8
|
-
isBot?: boolean;
|
|
9
|
-
botLabel?: string;
|
|
10
|
-
/** Hover toolbar context. Default: Center Channel. */
|
|
11
|
-
messageActionsType?: MessageActionsType;
|
|
12
|
-
/** When false, the hover Message Actions toolbar is omitted. Default: true. */
|
|
13
|
-
showMessageActions?: boolean;
|
|
14
|
-
/** When true, Pinned + Saved row appears at the top of the message container. */
|
|
15
|
-
showPinnedSavedIndicators?: boolean;
|
|
16
|
-
/** Merged onto the root element (e.g. documentation modifiers). */
|
|
17
|
-
className?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Primary body content (e.g. message text). When using structured slots, this
|
|
20
|
-
* is usually the markdown/text block only. For plain `<p>` copy, use the
|
|
21
|
-
* `message__body-text` class from `Message.module.scss` so typography matches
|
|
22
|
-
* the component and host shells (docs, patterns) cannot restyle bare tags.
|
|
23
|
-
*/
|
|
24
|
-
children: React.ReactNode;
|
|
25
|
-
/** Link Preview block — renders after `children`. */
|
|
26
|
-
linkPreview?: React.ReactNode;
|
|
27
|
-
/** Image Preview block(s) — renders after the link preview slot. */
|
|
28
|
-
imagePreviews?: React.ReactNode;
|
|
29
|
-
/** Trailing body content — e.g. attachments and reactions — renders last. */
|
|
30
|
-
footer?: React.ReactNode;
|
|
31
|
-
};
|
|
32
|
-
export default function Message({ avatarSrc, avatarAlt, username, timestamp, isBot, botLabel, messageActionsType, showMessageActions, showPinnedSavedIndicators, className, children, linkPreview, imagePreviews, footer, }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=Message.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAIrF,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,+EAA+E;IAC/E,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iFAAiF;IACjF,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qDAAqD;IACrD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,oEAAoE;IACpE,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,KAAa,EACb,QAAQ,EACR,kBAAqC,EACrC,kBAAyB,EACzB,yBAAiC,EACjC,SAAc,EACd,QAAQ,EACR,WAAW,EACX,aAAa,EACb,MAAM,GACP,EAAE,YAAY,2CAgDd"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import p from "../user-avatar/UserAvatar.js";
|
|
3
|
-
import u from "../message-header/MessageHeader.js";
|
|
4
|
-
import y from "../message-actions/MessageActions.js";
|
|
5
|
-
import j from "../pinned-saved-indicators/PinnedSavedIndicators.js";
|
|
6
|
-
import e from "./Message.module.scss.js";
|
|
7
|
-
function B({
|
|
8
|
-
avatarSrc: m,
|
|
9
|
-
avatarAlt: c,
|
|
10
|
-
username: d,
|
|
11
|
-
timestamp: n,
|
|
12
|
-
isBot: o = !1,
|
|
13
|
-
botLabel: t,
|
|
14
|
-
messageActionsType: _ = "center-channel",
|
|
15
|
-
showMessageActions: g = !0,
|
|
16
|
-
showPinnedSavedIndicators: h = !1,
|
|
17
|
-
className: v = "",
|
|
18
|
-
children: N,
|
|
19
|
-
linkPreview: l,
|
|
20
|
-
imagePreviews: r,
|
|
21
|
-
footer: i
|
|
22
|
-
}) {
|
|
23
|
-
const f = [e.message, v].filter(Boolean).join(" ");
|
|
24
|
-
return /* @__PURE__ */ a("div", { className: f, children: [
|
|
25
|
-
h && /* @__PURE__ */ s("div", { className: e.message__pinned, children: /* @__PURE__ */ s(j, {}) }),
|
|
26
|
-
/* @__PURE__ */ a("div", { className: e.message__layout, children: [
|
|
27
|
-
/* @__PURE__ */ s("div", { className: e["message__avatar-col"], children: /* @__PURE__ */ s(p, { src: m, alt: c, size: "32" }) }),
|
|
28
|
-
/* @__PURE__ */ a("div", { className: e.message__content, children: [
|
|
29
|
-
/* @__PURE__ */ a("div", { className: e["message__header-row"], children: [
|
|
30
|
-
/* @__PURE__ */ s("div", { className: e["message__header-block"], children: /* @__PURE__ */ s(
|
|
31
|
-
u,
|
|
32
|
-
{
|
|
33
|
-
username: d,
|
|
34
|
-
timestamp: n,
|
|
35
|
-
isBot: o,
|
|
36
|
-
botLabel: t
|
|
37
|
-
}
|
|
38
|
-
) }),
|
|
39
|
-
g && /* @__PURE__ */ s("div", { className: e["message__actions-slot"], children: /* @__PURE__ */ s(y, { type: _ }) })
|
|
40
|
-
] }),
|
|
41
|
-
/* @__PURE__ */ a("div", { className: e.message__body, children: [
|
|
42
|
-
N,
|
|
43
|
-
l != null && /* @__PURE__ */ s("div", { className: e["message__link-preview-slot"], children: l }),
|
|
44
|
-
r != null && /* @__PURE__ */ s("div", { className: e["message__images-slot"], children: r }),
|
|
45
|
-
i != null && /* @__PURE__ */ s("div", { className: e["message__footer-slot"], children: i })
|
|
46
|
-
] })
|
|
47
|
-
] })
|
|
48
|
-
] })
|
|
49
|
-
] });
|
|
50
|
-
}
|
|
51
|
-
export {
|
|
52
|
-
B as default
|
|
53
|
-
};
|
|
54
|
-
//# sourceMappingURL=Message.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.js","sources":["../../../src/components/message/Message.tsx"],"sourcesContent":["import React from 'react';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport MessageHeader from '@/components/message-header/MessageHeader';\nimport MessageActions from '@/components/message-actions/MessageActions';\nimport type { MessageActionsType } from '@/components/message-actions/MessageActions';\nimport PinnedSavedIndicators from '@/components/pinned-saved-indicators/PinnedSavedIndicators';\nimport styles from './Message.module.scss';\n\ntype MessageProps = {\n avatarSrc?: string;\n avatarAlt: string;\n username: string;\n timestamp: string;\n isBot?: boolean;\n botLabel?: string;\n /** Hover toolbar context. Default: Center Channel. */\n messageActionsType?: MessageActionsType;\n /** When false, the hover Message Actions toolbar is omitted. Default: true. */\n showMessageActions?: boolean;\n /** When true, Pinned + Saved row appears at the top of the message container. */\n showPinnedSavedIndicators?: boolean;\n /** Merged onto the root element (e.g. documentation modifiers). */\n className?: string;\n /**\n * Primary body content (e.g. message text). When using structured slots, this\n * is usually the markdown/text block only. For plain `<p>` copy, use the\n * `message__body-text` class from `Message.module.scss` so typography matches\n * the component and host shells (docs, patterns) cannot restyle bare tags.\n */\n children: React.ReactNode;\n /** Link Preview block — renders after `children`. */\n linkPreview?: React.ReactNode;\n /** Image Preview block(s) — renders after the link preview slot. */\n imagePreviews?: React.ReactNode;\n /** Trailing body content — e.g. attachments and reactions — renders last. */\n footer?: React.ReactNode;\n};\n\nexport default function Message({\n avatarSrc,\n avatarAlt,\n username,\n timestamp,\n isBot = false,\n botLabel,\n messageActionsType = 'center-channel',\n showMessageActions = true,\n showPinnedSavedIndicators = false,\n className = '',\n children,\n linkPreview,\n imagePreviews,\n footer,\n}: MessageProps) {\n const rootClass = [styles.message, className].filter(Boolean).join(' ');\n\n return (\n <div className={rootClass}>\n {showPinnedSavedIndicators && (\n <div className={styles['message__pinned']}>\n <PinnedSavedIndicators />\n </div>\n )}\n <div className={styles['message__layout']}>\n <div className={styles['message__avatar-col']}>\n <UserAvatar src={avatarSrc} alt={avatarAlt} size=\"32\" />\n </div>\n <div className={styles['message__content']}>\n <div className={styles['message__header-row']}>\n <div className={styles['message__header-block']}>\n <MessageHeader\n username={username}\n timestamp={timestamp}\n isBot={isBot}\n botLabel={botLabel}\n />\n </div>\n {showMessageActions && (\n <div className={styles['message__actions-slot']}>\n <MessageActions type={messageActionsType} />\n </div>\n )}\n </div>\n <div className={styles['message__body']}>\n {children}\n {linkPreview != null && (\n <div className={styles['message__link-preview-slot']}>\n {linkPreview}\n </div>\n )}\n {imagePreviews != null && (\n <div className={styles['message__images-slot']}>{imagePreviews}</div>\n )}\n {footer != null && (\n <div className={styles['message__footer-slot']}>{footer}</div>\n )}\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"names":["Message","avatarSrc","avatarAlt","username","timestamp","isBot","botLabel","messageActionsType","showMessageActions","showPinnedSavedIndicators","className","children","linkPreview","imagePreviews","footer","rootClass","styles","jsxs","jsx","PinnedSavedIndicators","UserAvatar","MessageHeader","MessageActions"],"mappings":";;;;;;AAsCA,SAAwBA,EAAQ;AAAA,EAC9B,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,oBAAAC,IAAqB;AAAA,EACrB,oBAAAC,IAAqB;AAAA,EACrB,2BAAAC,IAA4B;AAAA,EAC5B,WAAAC,IAAY;AAAA,EACZ,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AACF,GAAiB;AACf,QAAMC,IAAY,CAACC,EAAO,SAASN,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAEtE,SACE,gBAAAO,EAAC,OAAA,EAAI,WAAWF,GACb,UAAA;AAAA,IAAAN,KACC,gBAAAS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ACF;AAEJ;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";._message_1s7r2_3{display:flex;flex-direction:column;gap:var(--spacing-xs);padding:var(--spacing-xs) var(--spacing-xxl);background-color:var(--center-channel-bg);transition:background-color var(--duration-quick) var(--ease-transition)}._message_1s7r2_3:hover{background-color:color-mix(in srgb,var(--center-channel-color) 4%,var(--center-channel-bg))}._message--actions-visible_1s7r2_18 ._message__actions-slot_1s7r2_18{opacity:1;pointer-events:auto}._message--state-hover_1s7r2_25{background-color:color-mix(in srgb,var(--center-channel-color) 4%,var(--center-channel-bg))}._message--state-hover_1s7r2_25 ._message__actions-slot_1s7r2_18{opacity:1;pointer-events:auto}._message__pinned_1s7r2_32{flex-shrink:0;width:100%;min-width:0}._message__layout_1s7r2_37{display:flex;gap:var(--spacing-m);align-items:flex-start}._message__avatar-col_1s7r2_42{flex-shrink:0;display:flex;flex-direction:column;align-items:center}._message__content_1s7r2_48{display:flex;flex-direction:column;gap:var(--spacing-xxxs);flex:1;min-width:0}._message__header-row_1s7r2_55{position:relative;min-width:0}._message__header-block_1s7r2_59{min-width:0}._message__actions-slot_1s7r2_18{position:absolute;top:-16px;right:0;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--duration-quick) var(--ease-transition)}._message_1s7r2_3:hover ._message__actions-slot_1s7r2_18,._message_1s7r2_3:focus-within ._message__actions-slot_1s7r2_18{opacity:1;pointer-events:auto}._message__body_1s7r2_75{display:flex;flex-direction:column;gap:var(--spacing-xs)}._message__body-text_1s7r2_83{font-family:var(--font-family-body);font-size:var(--font-size-100);line-height:var(--line-height-100);color:var(--center-channel-color);margin:0}._message__link-preview-slot_1s7r2_90{min-width:0}._message__footer-slot_1s7r2_93{display:flex;flex-direction:column;gap:var(--spacing-xs);min-width:0}._message__images-slot_1s7r2_99{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);min-width:0}._message__images-slot_1s7r2_99>*{flex:0 1 auto;align-self:flex-start;max-width:100%;min-width:0}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Message.module.css');const e="_message_1s7r2_3",s="_message__pinned_1s7r2_32",_="_message__layout_1s7r2_37",a="_message__content_1s7r2_48",t="_message__body_1s7r2_75",o={message:e,"message--actions-visible":"_message--actions-visible_1s7r2_18","message__actions-slot":"_message__actions-slot_1s7r2_18","message--state-hover":"_message--state-hover_1s7r2_25",message__pinned:s,message__layout:_,"message__avatar-col":"_message__avatar-col_1s7r2_42",message__content:a,"message__header-row":"_message__header-row_1s7r2_55","message__header-block":"_message__header-block_1s7r2_59",message__body:t,"message__body-text":"_message__body-text_1s7r2_83","message__link-preview-slot":"_message__link-preview-slot_1s7r2_90","message__footer-slot":"_message__footer-slot_1s7r2_93","message__images-slot":"_message__images-slot_1s7r2_99"};exports.default=o;exports.message=e;exports.message__body=t;exports.message__content=a;exports.message__layout=_;exports.message__pinned=s;
|
|
2
|
-
//# sourceMappingURL=Message.module.scss.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import './Message.module.css';const s = "_message_1s7r2_3", e = "_message__pinned_1s7r2_32", _ = "_message__layout_1s7r2_37", a = "_message__content_1s7r2_48", o = "_message__body_1s7r2_75", t = {
|
|
2
|
-
message: s,
|
|
3
|
-
"message--actions-visible": "_message--actions-visible_1s7r2_18",
|
|
4
|
-
"message__actions-slot": "_message__actions-slot_1s7r2_18",
|
|
5
|
-
"message--state-hover": "_message--state-hover_1s7r2_25",
|
|
6
|
-
message__pinned: e,
|
|
7
|
-
message__layout: _,
|
|
8
|
-
"message__avatar-col": "_message__avatar-col_1s7r2_42",
|
|
9
|
-
message__content: a,
|
|
10
|
-
"message__header-row": "_message__header-row_1s7r2_55",
|
|
11
|
-
"message__header-block": "_message__header-block_1s7r2_59",
|
|
12
|
-
message__body: o,
|
|
13
|
-
"message__body-text": "_message__body-text_1s7r2_83",
|
|
14
|
-
"message__link-preview-slot": "_message__link-preview-slot_1s7r2_90",
|
|
15
|
-
"message__footer-slot": "_message__footer-slot_1s7r2_93",
|
|
16
|
-
"message__images-slot": "_message__images-slot_1s7r2_99"
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
t as default,
|
|
20
|
-
s as message,
|
|
21
|
-
o as message__body,
|
|
22
|
-
a as message__content,
|
|
23
|
-
_ as message__layout,
|
|
24
|
-
e as message__pinned
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=Message.module.scss.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Message.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,mBAAmB,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),r=require("react"),__z=require("@mattermost/compass-icons/components/alert-circle-outline.js"),z=__z?.default??__z,__y=require("@mattermost/compass-icons/components/chevron-down.js"),y=__y?.default??__y,__H=require("@mattermost/compass-icons/components/chevron-up.js"),H=__H?.default??__H,__P=require("@mattermost/compass-icons/components/dots-horizontal.js"),P=__P?.default??__P,__D=require("@mattermost/compass-icons/components/code-tags.js"),D=__D?.default??__D,__L=require("@mattermost/compass-icons/components/creation-outline.js"),L=__L?.default??__L,__E=require("@mattermost/compass-icons/components/emoticon-happy-outline.js"),E=__E?.default??__E,__V=require("@mattermost/compass-icons/components/eye-outline.js"),V=__V?.default??__V,__K=require("@mattermost/compass-icons/components/fire.js"),K=__K?.default??__K,__v=require("@mattermost/compass-icons/components/format-bold.js"),v=__v?.default??__v,__Q=require("@mattermost/compass-icons/components/format-header.js"),Q=__Q?.default??__Q,__N=require("@mattermost/compass-icons/components/format-italic.js"),N=__N?.default??__N,__U=require("@mattermost/compass-icons/components/format-letter-case.js"),U=__U?.default??__U,__W=require("@mattermost/compass-icons/components/format-list-bulleted.js"),W=__W?.default??__W,__G=require("@mattermost/compass-icons/components/format-list-numbered.js"),G=__G?.default??__G,__$=require("@mattermost/compass-icons/components/format-quote-open.js"),$=__$?.default??__$,__J=require("@mattermost/compass-icons/components/format-strikethrough-variant.js"),J=__J?.default??__J,__I=require("@mattermost/compass-icons/components/link-variant.js"),I=__I?.default??__I,__X=require("@mattermost/compass-icons/components/paperclip.js"),X=__X?.default??__X,__Y=require("@mattermost/compass-icons/components/send.js"),Y=__Y?.default??__Y,a=require("../icon/Icon.cjs"),t=require("../icon-button/IconButton.cjs"),Z=require("../tag/Tag.cjs"),q=require("../attachment-card/AttachmentCard.cjs"),s=require("./MessageInput.module.scss.cjs");function ee({className:w="",placeholder:F="Message channel…",showPriorityIndicator:B=!1,showAttachments:M=!1,value:p,onChange:u,onSelectionChange:d,inputRef:x,width:o="wide"}){const[T,O]=r.useState(""),j=p!==void 0,c=j?p:T,S=l=>{j?u==null||u(l):O(l)},[i,A]=r.useState(!1),g=r.useRef(null),k=l=>{g.current=l,x&&(x.current=l)},m=r.useCallback(()=>{const l=g.current;l&&(l.style.height="auto",l.style.height=`${l.scrollHeight}px`)},[]);r.useEffect(()=>{m()},[c,m]);const f=c.trim().length>0,n=(l,b)=>[s.default[l],b?s.default[b]:""].filter(Boolean).join(" "),C=o==="narrow"&&i,_=i&&o==="wide",h=e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",className:n("message-input__format-btn",i?"message-input__format-btn--active":""),"aria-label":i?"Hide formatting toolbar":"Show formatting toolbar","aria-pressed":i,onClick:()=>A(l=>!l),children:[e.jsx(a.default,{glyph:e.jsx(U,{}),size:"16"}),C?e.jsx("span",{className:s.default["message-input__format-chevron"],children:e.jsx(a.default,{glyph:e.jsx(H,{}),size:"12"})}):e.jsx("span",{className:n("message-input__format-chevron",i?"message-input__format-chevron--rotated":""),children:e.jsx(a.default,{glyph:e.jsx(y,{}),size:"12"})})]}),e.jsx("span",{className:s.default["message-input__actions-divider"],"aria-hidden":!0}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(X,{}),size:"16"}),size:"small","aria-label":"Attach a file"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(E,{}),size:"16"}),size:"small","aria-label":"Add an emoji"}),e.jsxs("div",{className:n("message-input__send",f?"":"message-input__send--disabled"),children:[e.jsx("button",{type:"button",className:s.default["message-input__send-main"],"aria-label":"Send message",disabled:!f,children:e.jsx(a.default,{glyph:e.jsx(Y,{}),size:"16"})}),e.jsx("button",{type:"button",className:s.default["message-input__send-dropdown"],"aria-label":"Send options",disabled:!f,children:e.jsx(a.default,{glyph:e.jsx(y,{}),size:"16"})})]})]}),R=[s.default["message-input"],o==="narrow"?s.default["message-input--width-narrow"]:"",w].filter(Boolean).join(" ");return e.jsx("div",{className:R,children:e.jsxs("div",{className:n("message-input__container",i?"message-input__container--formatting-open":""),children:[e.jsx("button",{type:"button",className:n("message-input__preview-btn",i?"message-input__preview-btn--visible":""),"aria-label":"Preview",tabIndex:i?0:-1,children:e.jsx(a.default,{glyph:e.jsx(V,{}),size:"16"})}),e.jsxs("div",{className:n("message-input__body",i?"message-input__body--formatting-open":""),children:[B&&e.jsx("div",{className:s.default["message-input__priority-row"],children:e.jsx(Z.default,{label:"IMPORTANT",type:"info",size:"x-small",casing:"all-caps",leadingIcon:e.jsx(a.default,{glyph:e.jsx(z,{}),size:"10"})})}),e.jsx("textarea",{ref:k,className:s.default["message-input__textarea"],placeholder:F,value:c,onChange:l=>S(l.target.value),onInput:m,onSelect:d,onKeyUp:d,onClick:d,rows:1})]}),M&&e.jsx("div",{className:s.default["message-input__attachments"],children:e.jsxs("div",{className:s.default["message-input__attachments-list"],children:[e.jsx(q.default,{fileName:"Design_Brief.pdf",fileMeta:"PDF 240KB",fileType:"pdf",state:"default",onRemove:()=>{}}),e.jsx(q.default,{fileName:"Wireframes_v3.png",fileMeta:"PNG 1.2MB",fileType:"image-icon",state:"default",onRemove:()=>{}})]})}),e.jsx("div",{className:n("message-input__formatting-bar",_?"message-input__formatting-bar--open":""),"aria-hidden":!_,children:e.jsxs("div",{className:s.default["message-input__toolbar-controls"],children:[e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(v,{}),size:"16"}),size:"small","aria-label":"Bold"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(N,{}),size:"16"}),size:"small","aria-label":"Italic"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(J,{}),size:"16"}),size:"small","aria-label":"Strikethrough"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(Q,{}),size:"16"}),size:"small","aria-label":"Heading"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(I,{}),size:"16"}),size:"small","aria-label":"Add link"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(D,{}),size:"16"}),size:"small","aria-label":"Code"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx($,{}),size:"16"}),size:"small","aria-label":"Quote"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(W,{}),size:"16"}),size:"small","aria-label":"Bulleted list"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(G,{}),size:"16"}),size:"small","aria-label":"Numbered list"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(z,{}),size:"16"}),size:"small","aria-label":"Message priority"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(K,{}),size:"16"}),size:"small","aria-label":"Burn on read"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(L,{}),size:"16"}),size:"small","aria-label":"AI assistance"})]})]})}),o==="narrow"?e.jsxs("div",{className:s.default["message-input__narrow-chrome"],children:[e.jsx("div",{className:s.default["message-input__narrow-chrome-left"],children:i&&e.jsxs("div",{className:s.default["message-input__formatting-collapsed"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(v,{}),size:"16"}),size:"small","aria-label":"Bold"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(N,{}),size:"16"}),size:"small","aria-label":"Italic"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(I,{}),size:"16"}),size:"small","aria-label":"Add link"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(P,{}),size:"16"}),size:"small","aria-label":"More formatting options"})]})}),e.jsx("div",{className:[s.default["message-input__actions"],s.default["message-input__actions--narrow-chrome"]].join(" "),children:h})]}):e.jsx("div",{className:s.default["message-input__actions"],children:h})]})})}exports.default=ee;
|
|
2
|
-
//# sourceMappingURL=MessageInput.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.cjs","sources":["../../../src/components/message-input/MessageInput.tsx"],"sourcesContent":["import { useEffect, useState, useRef, useCallback } from 'react';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport ChevronDownIcon from '@mattermost/compass-icons/components/chevron-down';\nimport ChevronUpIcon from '@mattermost/compass-icons/components/chevron-up';\nimport DotsHorizontalIcon from '@mattermost/compass-icons/components/dots-horizontal';\nimport CodeTagsIcon from '@mattermost/compass-icons/components/code-tags';\nimport CreationOutlineIcon from '@mattermost/compass-icons/components/creation-outline';\nimport EmoticonHappyOutlineIcon from '@mattermost/compass-icons/components/emoticon-happy-outline';\nimport EyeOutlineIcon from '@mattermost/compass-icons/components/eye-outline';\nimport FireIcon from '@mattermost/compass-icons/components/fire';\nimport FormatBoldIcon from '@mattermost/compass-icons/components/format-bold';\nimport FormatHeaderIcon from '@mattermost/compass-icons/components/format-header';\nimport FormatItalicIcon from '@mattermost/compass-icons/components/format-italic';\nimport FormatLetterCaseIcon from '@mattermost/compass-icons/components/format-letter-case';\nimport FormatListBulletedIcon from '@mattermost/compass-icons/components/format-list-bulleted';\nimport FormatListNumberedIcon from '@mattermost/compass-icons/components/format-list-numbered';\nimport FormatQuoteOpenIcon from '@mattermost/compass-icons/components/format-quote-open';\nimport FormatStrikethroughVariantIcon from '@mattermost/compass-icons/components/format-strikethrough-variant';\nimport LinkVariantIcon from '@mattermost/compass-icons/components/link-variant';\nimport PaperclipIcon from '@mattermost/compass-icons/components/paperclip';\nimport SendIcon from '@mattermost/compass-icons/components/send';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport AttachmentCard from '@/components/attachment-card/AttachmentCard';\nimport styles from './MessageInput.module.scss';\n\nexport type MessageInputWidth = 'wide' | 'narrow';\n\nexport interface MessageInputProps {\n className?: string;\n placeholder?: string;\n showPriorityIndicator?: boolean;\n showAttachments?: boolean;\n value?: string;\n onChange?: (value: string) => void;\n onSelectionChange?: () => void;\n inputRef?: React.RefObject<HTMLTextAreaElement | null>;\n /** `narrow` matches the Figma Message Input “Narrow” / right-sidebar layout. */\n width?: MessageInputWidth;\n}\n\nexport default function MessageInput({\n className = '',\n placeholder = 'Message channel…',\n showPriorityIndicator = false,\n showAttachments = false,\n value,\n onChange,\n onSelectionChange,\n inputRef,\n width = 'wide',\n}: MessageInputProps) {\n const [internalText, setInternalText] = useState('');\n const isControlled = value !== undefined;\n const text = isControlled ? value : internalText;\n const setText = (next: string) => {\n if (isControlled) onChange?.(next);\n else setInternalText(next);\n };\n const [formattingOpen, setFormattingOpen] = useState(false);\n const internalRef = useRef<HTMLTextAreaElement>(null);\n\n const setTextareaRef = (node: HTMLTextAreaElement | null) => {\n internalRef.current = node;\n if (inputRef) {\n (inputRef as React.MutableRefObject<HTMLTextAreaElement | null>).current = node;\n }\n };\n\n const handleInput = useCallback(() => {\n const el = internalRef.current;\n if (!el) return;\n el.style.height = 'auto';\n el.style.height = `${el.scrollHeight}px`;\n }, []);\n\n useEffect(() => {\n handleInput();\n }, [text, handleInput]);\n\n const hasSendValue = text.trim().length > 0;\n\n const cls = (base: string, mod?: string) =>\n [styles[base], mod ? styles[mod] : ''].filter(Boolean).join(' ');\n\n const isNarrowFormattingOpen = width === 'narrow' && formattingOpen;\n const showWideFormattingBar = formattingOpen && width === 'wide';\n\n const composerActions = (\n <>\n <button\n type=\"button\"\n className={cls(\n 'message-input__format-btn',\n formattingOpen ? 'message-input__format-btn--active' : '',\n )}\n aria-label={\n formattingOpen\n ? 'Hide formatting toolbar'\n : 'Show formatting toolbar'\n }\n aria-pressed={formattingOpen}\n onClick={() => setFormattingOpen((prev) => !prev)}\n >\n <Icon glyph={<FormatLetterCaseIcon />} size=\"16\" />\n {isNarrowFormattingOpen ? (\n <span className={styles['message-input__format-chevron']}>\n <Icon glyph={<ChevronUpIcon />} size=\"12\" />\n </span>\n ) : (\n <span\n className={cls(\n 'message-input__format-chevron',\n formattingOpen ? 'message-input__format-chevron--rotated' : '',\n )}\n >\n <Icon glyph={<ChevronDownIcon />} size=\"12\" />\n </span>\n )}\n </button>\n\n <span\n className={styles['message-input__actions-divider']}\n aria-hidden\n />\n\n <IconButton\n icon={<Icon glyph={<PaperclipIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Attach a file\"\n />\n <IconButton\n icon={<Icon glyph={<EmoticonHappyOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add an emoji\"\n />\n\n <div\n className={cls(\n 'message-input__send',\n !hasSendValue ? 'message-input__send--disabled' : '',\n )}\n >\n <button\n type=\"button\"\n className={styles['message-input__send-main']}\n aria-label=\"Send message\"\n disabled={!hasSendValue}\n >\n <Icon glyph={<SendIcon />} size=\"16\" />\n </button>\n <button\n type=\"button\"\n className={styles['message-input__send-dropdown']}\n aria-label=\"Send options\"\n disabled={!hasSendValue}\n >\n <Icon glyph={<ChevronDownIcon />} size=\"16\" />\n </button>\n </div>\n </>\n );\n\n const rootClass = [\n styles['message-input'],\n width === 'narrow' ? styles['message-input--width-narrow'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div\n className={cls(\n 'message-input__container',\n formattingOpen ? 'message-input__container--formatting-open' : '',\n )}\n >\n {/* Preview button — fades in when formatting is open */}\n <button\n type=\"button\"\n className={cls(\n 'message-input__preview-btn',\n formattingOpen ? 'message-input__preview-btn--visible' : '',\n )}\n aria-label=\"Preview\"\n tabIndex={formattingOpen ? 0 : -1}\n >\n <Icon glyph={<EyeOutlineIcon />} size=\"16\" />\n </button>\n\n {/* Main text area */}\n <div\n className={cls(\n 'message-input__body',\n formattingOpen ? 'message-input__body--formatting-open' : '',\n )}\n >\n {showPriorityIndicator && (\n <div className={styles['message-input__priority-row']}>\n <Tag\n label=\"IMPORTANT\"\n type=\"info\"\n size=\"x-small\"\n casing=\"all-caps\"\n leadingIcon={\n <Icon glyph={<AlertCircleOutlineIcon />} size=\"10\" />\n }\n />\n </div>\n )}\n <textarea\n ref={setTextareaRef}\n className={styles['message-input__textarea']}\n placeholder={placeholder}\n value={text}\n onChange={(e) => setText(e.target.value)}\n onInput={handleInput}\n onSelect={onSelectionChange}\n onKeyUp={onSelectionChange}\n onClick={onSelectionChange}\n rows={1}\n />\n </div>\n\n {/* Attachment cards */}\n {showAttachments && (\n <div className={styles['message-input__attachments']}>\n <div className={styles['message-input__attachments-list']}>\n <AttachmentCard\n fileName=\"Design_Brief.pdf\"\n fileMeta=\"PDF 240KB\"\n fileType=\"pdf\"\n state=\"default\"\n onRemove={() => {}}\n />\n <AttachmentCard\n fileName=\"Wireframes_v3.png\"\n fileMeta=\"PNG 1.2MB\"\n fileType=\"image-icon\"\n state=\"default\"\n onRemove={() => {}}\n />\n </div>\n </div>\n )}\n\n {/* Formatting toolbar — full bar (wide only); narrow uses collapsed strip in footer */}\n <div\n className={cls(\n 'message-input__formatting-bar',\n showWideFormattingBar ? 'message-input__formatting-bar--open' : '',\n )}\n aria-hidden={!showWideFormattingBar}\n >\n <div className={styles['message-input__toolbar-controls']}>\n {/* Style */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<FormatBoldIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bold\"\n />\n <IconButton\n icon={<Icon glyph={<FormatItalicIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Italic\"\n />\n <IconButton\n icon={\n <Icon glyph={<FormatStrikethroughVariantIcon />} size=\"16\" />\n }\n size=\"small\"\n aria-label=\"Strikethrough\"\n />\n <IconButton\n icon={<Icon glyph={<FormatHeaderIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Heading\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Links + Code */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<LinkVariantIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add link\"\n />\n <IconButton\n icon={<Icon glyph={<CodeTagsIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Code\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Paragraph */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<FormatQuoteOpenIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Quote\"\n />\n <IconButton\n icon={<Icon glyph={<FormatListBulletedIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bulleted list\"\n />\n <IconButton\n icon={<Icon glyph={<FormatListNumberedIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Numbered list\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Tools */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<AlertCircleOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Message priority\"\n />\n <IconButton\n icon={<Icon glyph={<FireIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Burn on read\"\n />\n <IconButton\n icon={<Icon glyph={<CreationOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"AI assistance\"\n />\n </div>\n </div>\n </div>\n\n {width === 'narrow' ? (\n <div className={styles['message-input__narrow-chrome']}>\n <div className={styles['message-input__narrow-chrome-left']}>\n {formattingOpen && (\n <div className={styles['message-input__formatting-collapsed']}>\n <IconButton\n icon={<Icon glyph={<FormatBoldIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bold\"\n />\n <IconButton\n icon={<Icon glyph={<FormatItalicIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Italic\"\n />\n <IconButton\n icon={<Icon glyph={<LinkVariantIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add link\"\n />\n <IconButton\n icon={<Icon glyph={<DotsHorizontalIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"More formatting options\"\n />\n </div>\n )}\n </div>\n <div\n className={[\n styles['message-input__actions'],\n styles['message-input__actions--narrow-chrome'],\n ].join(' ')}\n >\n {composerActions}\n </div>\n </div>\n ) : (\n <div className={styles['message-input__actions']}>{composerActions}</div>\n )}\n </div>\n </div>\n );\n}\n"],"names":["MessageInput","className","placeholder","showPriorityIndicator","showAttachments","value","onChange","onSelectionChange","inputRef","width","internalText","setInternalText","useState","isControlled","text","setText","next","formattingOpen","setFormattingOpen","internalRef","useRef","setTextareaRef","node","handleInput","useCallback","el","useEffect","hasSendValue","cls","base","mod","styles","isNarrowFormattingOpen","showWideFormattingBar","composerActions","jsxs","Fragment","prev","jsx","Icon","FormatLetterCaseIcon","ChevronUpIcon","ChevronDownIcon","IconButton","PaperclipIcon","EmoticonHappyOutlineIcon","SendIcon","rootClass","EyeOutlineIcon","Tag","AlertCircleOutlineIcon","e","AttachmentCard","FormatBoldIcon","FormatItalicIcon","FormatStrikethroughVariantIcon","FormatHeaderIcon","LinkVariantIcon","CodeTagsIcon","FormatQuoteOpenIcon","FormatListBulletedIcon","FormatListNumberedIcon","FireIcon","CreationOutlineIcon","DotsHorizontalIcon"],"mappings":"8nDA0CA,SAAwBA,GAAa,CACnC,UAAAC,EAAY,GACZ,YAAAC,EAAc,mBACd,sBAAAC,EAAwB,GACxB,gBAAAC,EAAkB,GAClB,MAAAC,EACA,SAAAC,EACA,kBAAAC,EACA,SAAAC,EACA,MAAAC,EAAQ,MACV,EAAsB,CACpB,KAAM,CAACC,EAAcC,CAAe,EAAIC,EAAAA,SAAS,EAAE,EAC7CC,EAAeR,IAAU,OACzBS,EAAOD,EAAeR,EAAQK,EAC9BK,EAAWC,GAAiB,CAC5BH,aAAyBG,KACRA,CAAI,CAC3B,EACM,CAACC,EAAgBC,CAAiB,EAAIN,EAAAA,SAAS,EAAK,EACpDO,EAAcC,EAAAA,OAA4B,IAAI,EAE9CC,EAAkBC,G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qC,EAC1D,SAAA,CAAAO,EAAAA,IAACK,EAAAA,QAAA,CACC,WAAOJ,UAAA,CAAK,YAAQc,EAAA,EAAe,EAAI,KAAK,KAAK,EACjD,KAAK,QACL,aAAW,MAAA,CAAA,EAEbf,EAAAA,IAACK,EAAAA,QAAA,CACC,WAAOJ,UAAA,CAAK,YAAQe,EAAA,EAAiB,EAAI,KAAK,KAAK,EACnD,KAAK,QACL,aAAW,QAAA,CAAA,EAEbhB,EAAAA,IAACK,EAAAA,QAAA,CACC,WAAOJ,UAAA,CAAK,YAAQkB,EAAA,EAAgB,EAAI,KAAK,KAAK,EAClD,KAAK,QACL,aAAW,UAAA,CAAA,EAEbnB,EAAAA,IAACK,EAAAA,QAAA,CACC,WAAOJ,UAAA,CAAK,YAAQyB,EAAA,EAAmB,EAAI,KAAK,KAAK,EACrD,KAAK,QACL,aAAW,yBAAA,CAAA,CACb,CAAA,CACF,CAAA,CAEJ,EACA1B,EAAAA,IAAC,MAAA,CACC,UAAW,CACTP,EAAAA,QAAO,wBAAwB,EAC/BA,EAAAA,QAAO,uCAAuC,CAAA,EAC9C,KAAK,GAAG,EAET,SAAAG,CAAA,CAAA,CACH,EACF,EAEAI,MAAC,MAAA,CAAI,UAAWP,EAAAA,QAAO,wBAAwB,EAAI,SAAAG,CAAA,CAAgB,CAAA,CAAA,CAAA,EAGzE,CAEJ"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type MessageInputWidth = 'wide' | 'narrow';
|
|
2
|
-
export interface MessageInputProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
showPriorityIndicator?: boolean;
|
|
6
|
-
showAttachments?: boolean;
|
|
7
|
-
value?: string;
|
|
8
|
-
onChange?: (value: string) => void;
|
|
9
|
-
onSelectionChange?: () => void;
|
|
10
|
-
inputRef?: React.RefObject<HTMLTextAreaElement | null>;
|
|
11
|
-
/** `narrow` matches the Figma Message Input “Narrow” / right-sidebar layout. */
|
|
12
|
-
width?: MessageInputWidth;
|
|
13
|
-
}
|
|
14
|
-
export default function MessageInput({ className, placeholder, showPriorityIndicator, showAttachments, value, onChange, onSelectionChange, inputRef, width, }: MessageInputProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
//# sourceMappingURL=MessageInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../src/components/message-input/MessageInput.tsx"],"names":[],"mappings":"AA2BA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACvD,gFAAgF;IAChF,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAAc,EACd,WAAgC,EAChC,qBAA6B,EAC7B,eAAuB,EACvB,KAAK,EACL,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,KAAc,GACf,EAAE,iBAAiB,2CAwVnB"}
|