@mattermost/compass-ui 0.1.0-alpha.5 → 0.1.0-alpha.7
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/components/action-button/ActionButton.cjs.map +1 -1
- package/dist/components/action-button/ActionButton.d.ts +1 -0
- package/dist/components/action-button/ActionButton.d.ts.map +1 -1
- package/dist/components/action-button/ActionButton.js.map +1 -1
- package/dist/components/admin-panel/AdminPanel.cjs.map +1 -1
- package/dist/components/admin-panel/AdminPanel.d.ts +1 -0
- package/dist/components/admin-panel/AdminPanel.d.ts.map +1 -1
- package/dist/components/admin-panel/AdminPanel.js.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.cjs.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.d.ts +1 -0
- package/dist/components/admin-panel-header/AdminPanelHeader.d.ts.map +1 -1
- package/dist/components/admin-panel-header/AdminPanelHeader.js.map +1 -1
- package/dist/components/button/Button.cjs +1 -1
- package/dist/components/button/Button.cjs.map +1 -1
- package/dist/components/button/Button.d.ts +2 -2
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/button/Button.js +24 -24
- package/dist/components/button/Button.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 +13 -12
- package/dist/components/button/Button.module.scss.js.map +1 -1
- package/dist/components/card-button/CardButton.cjs +2 -0
- package/dist/components/card-button/CardButton.cjs.map +1 -0
- package/dist/components/card-button/CardButton.d.ts +20 -0
- package/dist/components/card-button/CardButton.d.ts.map +1 -0
- package/dist/components/card-button/CardButton.js +45 -0
- package/dist/components/card-button/CardButton.js.map +1 -0
- package/dist/components/card-button/CardButton.module.css +1 -0
- package/dist/components/card-button/CardButton.module.scss.cjs +2 -0
- package/dist/components/card-button/CardButton.module.scss.cjs.map +1 -0
- package/dist/components/card-button/CardButton.module.scss.js +13 -0
- package/dist/components/card-button/CardButton.module.scss.js.map +1 -0
- package/dist/components/card-button/CardButtonGroup.cjs +2 -0
- package/dist/components/card-button/CardButtonGroup.cjs.map +1 -0
- package/dist/components/card-button/CardButtonGroup.d.ts +13 -0
- package/dist/components/card-button/CardButtonGroup.d.ts.map +1 -0
- package/dist/components/card-button/CardButtonGroup.js +85 -0
- package/dist/components/card-button/CardButtonGroup.js.map +1 -0
- package/dist/components/card-button/CardButtonGroup.module.css +1 -0
- package/dist/components/card-button/CardButtonGroup.module.scss.cjs +2 -0
- package/dist/components/card-button/CardButtonGroup.module.scss.cjs.map +1 -0
- package/dist/components/card-button/CardButtonGroup.module.scss.js +7 -0
- package/dist/components/card-button/CardButtonGroup.module.scss.js.map +1 -0
- package/dist/components/card-button/index.cjs +2 -0
- package/dist/components/card-button/index.d.ts +5 -0
- package/dist/components/card-button/index.d.ts.map +1 -0
- package/dist/components/card-button/index.js +7 -0
- package/dist/components/emoji-button/EmojiButton.cjs +2 -0
- package/dist/components/emoji-button/EmojiButton.cjs.map +1 -0
- package/dist/components/emoji-button/EmojiButton.d.ts +30 -0
- package/dist/components/emoji-button/EmojiButton.d.ts.map +1 -0
- package/dist/components/emoji-button/EmojiButton.js +35 -0
- package/dist/components/emoji-button/EmojiButton.js.map +1 -0
- package/dist/components/emoji-button/EmojiButton.module.css +1 -0
- package/dist/components/emoji-button/EmojiButton.module.scss.cjs +2 -0
- package/dist/components/emoji-button/EmojiButton.module.scss.cjs.map +1 -0
- package/dist/components/emoji-button/EmojiButton.module.scss.js +15 -0
- package/dist/components/emoji-button/EmojiButton.module.scss.js.map +1 -0
- package/dist/components/emoji-button/index.cjs +2 -0
- package/dist/components/emoji-button/index.d.ts +3 -0
- package/dist/components/emoji-button/index.d.ts.map +1 -0
- package/dist/components/emoji-button/index.js +6 -0
- package/dist/components/emoji-popover/EmojiPopover.cjs +2 -0
- package/dist/components/emoji-popover/EmojiPopover.cjs.map +1 -0
- package/dist/components/emoji-popover/EmojiPopover.d.ts +34 -0
- package/dist/components/emoji-popover/EmojiPopover.d.ts.map +1 -0
- package/dist/components/emoji-popover/EmojiPopover.js +244 -0
- package/dist/components/emoji-popover/EmojiPopover.js.map +1 -0
- package/dist/components/emoji-popover/EmojiPopover.module.css +1 -0
- package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs +2 -0
- package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs.map +1 -0
- package/dist/components/emoji-popover/EmojiPopover.module.scss.js +27 -0
- package/dist/components/emoji-popover/EmojiPopover.module.scss.js.map +1 -0
- package/dist/components/{message-input → emoji-popover}/index.cjs +1 -1
- package/dist/components/emoji-popover/index.d.ts +3 -0
- package/dist/components/{reaction-pill → emoji-popover}/index.d.ts.map +1 -1
- package/dist/components/emoji-popover/index.js +5 -0
- package/dist/components/global-banner/GlobalBanner.cjs.map +1 -1
- package/dist/components/global-banner/GlobalBanner.d.ts +1 -1
- package/dist/components/global-banner/GlobalBanner.d.ts.map +1 -1
- package/dist/components/global-banner/GlobalBanner.js.map +1 -1
- package/dist/components/global-header/GlobalHeader.module.css +1 -1
- package/dist/components/global-header/GlobalHeader.module.scss.cjs +1 -1
- package/dist/components/global-header/GlobalHeader.module.scss.js +16 -16
- package/dist/components/icon/Icon.js +6 -6
- 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/menu-group-heading/MenuGroupHeading.cjs +2 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.cjs.map +1 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.d.ts +11 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.d.ts.map +1 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.js +20 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.js.map +1 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.module.css +1 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs +2 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs.map +1 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js +8 -0
- package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js.map +1 -0
- package/dist/components/{message-reactions → menu-group-heading}/index.cjs +1 -1
- package/dist/components/menu-group-heading/index.d.ts +3 -0
- package/dist/components/menu-group-heading/index.d.ts.map +1 -0
- package/dist/components/menu-group-heading/index.js +5 -0
- package/dist/components/menu-item/MenuItem.cjs.map +1 -1
- package/dist/components/menu-item/MenuItem.d.ts +2 -2
- package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
- package/dist/components/menu-item/MenuItem.js.map +1 -1
- package/dist/components/message-separator/MessageSeparator.cjs +1 -1
- package/dist/components/message-separator/MessageSeparator.cjs.map +1 -1
- package/dist/components/message-separator/MessageSeparator.d.ts +1 -1
- package/dist/components/message-separator/MessageSeparator.js +1 -1
- package/dist/components/message-separator/MessageSeparator.js.map +1 -1
- package/dist/components/modal/Modal.cjs +1 -1
- package/dist/components/modal/Modal.cjs.map +1 -1
- package/dist/components/modal/Modal.d.ts +43 -11
- package/dist/components/modal/Modal.d.ts.map +1 -1
- package/dist/components/modal/Modal.js +56 -74
- package/dist/components/modal/Modal.js.map +1 -1
- package/dist/components/modal/Modal.module.css +1 -1
- package/dist/components/modal/Modal.module.scss.cjs +1 -1
- package/dist/components/modal/Modal.module.scss.js +12 -25
- package/dist/components/modal/Modal.module.scss.js.map +1 -1
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/modal-footer/ModalFooter.cjs +2 -0
- package/dist/components/modal-footer/ModalFooter.cjs.map +1 -0
- package/dist/components/modal-footer/ModalFooter.d.ts +29 -0
- package/dist/components/modal-footer/ModalFooter.d.ts.map +1 -0
- package/dist/components/modal-footer/ModalFooter.js +31 -0
- package/dist/components/modal-footer/ModalFooter.js.map +1 -0
- package/dist/components/modal-footer/ModalFooter.module.css +1 -0
- package/dist/components/modal-footer/ModalFooter.module.scss.cjs +2 -0
- package/dist/components/modal-footer/ModalFooter.module.scss.cjs.map +1 -0
- package/dist/components/modal-footer/ModalFooter.module.scss.js +17 -0
- package/dist/components/modal-footer/ModalFooter.module.scss.js.map +1 -0
- package/dist/components/{app-bar-item → modal-footer}/index.cjs +1 -1
- package/dist/components/modal-footer/index.d.ts +3 -0
- package/dist/components/modal-footer/index.d.ts.map +1 -0
- package/dist/components/modal-footer/index.js +5 -0
- package/dist/components/modal-header/ModalHeader.cjs +2 -0
- package/dist/components/modal-header/ModalHeader.cjs.map +1 -0
- package/dist/components/modal-header/ModalHeader.d.ts +38 -0
- package/dist/components/modal-header/ModalHeader.d.ts.map +1 -0
- package/dist/components/modal-header/ModalHeader.js +74 -0
- package/dist/components/modal-header/ModalHeader.js.map +1 -0
- package/dist/components/modal-header/ModalHeader.module.css +1 -0
- package/dist/components/modal-header/ModalHeader.module.scss.cjs +2 -0
- package/dist/components/modal-header/ModalHeader.module.scss.cjs.map +1 -0
- package/dist/components/modal-header/ModalHeader.module.scss.js +19 -0
- package/dist/components/modal-header/ModalHeader.module.scss.js.map +1 -0
- package/dist/components/{reaction-pill → modal-header}/index.cjs +1 -1
- package/dist/components/modal-header/index.d.ts +3 -0
- package/dist/components/modal-header/index.d.ts.map +1 -0
- package/dist/components/modal-header/index.js +5 -0
- package/dist/components/popover-notice/PopoverNotice.cjs.map +1 -1
- package/dist/components/popover-notice/PopoverNotice.d.ts +1 -1
- package/dist/components/popover-notice/PopoverNotice.d.ts.map +1 -1
- package/dist/components/popover-notice/PopoverNotice.js.map +1 -1
- package/dist/components/reaction-button/ReactionButton.cjs +2 -0
- package/dist/components/reaction-button/ReactionButton.cjs.map +1 -0
- package/dist/components/reaction-button/ReactionButton.d.ts +17 -0
- package/dist/components/reaction-button/ReactionButton.d.ts.map +1 -0
- package/dist/components/reaction-button/ReactionButton.js +42 -0
- package/dist/components/reaction-button/ReactionButton.js.map +1 -0
- package/dist/components/reaction-button/ReactionButton.module.css +1 -0
- package/dist/components/reaction-button/ReactionButton.module.scss.cjs +2 -0
- package/dist/components/reaction-button/ReactionButton.module.scss.cjs.map +1 -0
- package/dist/components/reaction-button/ReactionButton.module.scss.js +12 -0
- package/dist/components/reaction-button/ReactionButton.module.scss.js.map +1 -0
- package/dist/components/reaction-button/index.cjs +2 -0
- package/dist/components/reaction-button/index.d.ts +3 -0
- package/dist/components/reaction-button/index.d.ts.map +1 -0
- package/dist/components/reaction-button/index.js +5 -0
- package/dist/components/reaction-button/index.js.map +1 -0
- package/dist/components/reactions-row/ReactionsRow.cjs +2 -0
- package/dist/components/reactions-row/ReactionsRow.cjs.map +1 -0
- package/dist/components/{message-reactions/MessageReactions.d.ts → reactions-row/ReactionsRow.d.ts} +5 -5
- package/dist/components/reactions-row/ReactionsRow.d.ts.map +1 -0
- package/dist/components/reactions-row/ReactionsRow.js +71 -0
- package/dist/components/reactions-row/ReactionsRow.js.map +1 -0
- package/dist/components/reactions-row/ReactionsRow.module.css +1 -0
- package/dist/components/reactions-row/ReactionsRow.module.scss.cjs +2 -0
- package/dist/components/reactions-row/ReactionsRow.module.scss.cjs.map +1 -0
- package/dist/components/reactions-row/ReactionsRow.module.scss.js +14 -0
- package/dist/components/reactions-row/ReactionsRow.module.scss.js.map +1 -0
- package/dist/components/{channel-header → reactions-row}/index.cjs +1 -1
- package/dist/components/reactions-row/index.cjs.map +1 -0
- package/dist/components/reactions-row/index.d.ts +3 -0
- package/dist/components/{message-input → reactions-row}/index.d.ts.map +1 -1
- package/dist/components/reactions-row/index.js +5 -0
- package/dist/components/reactions-row/index.js.map +1 -0
- 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 +2 -2
- 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/right-sidebar-header/index.cjs +2 -0
- package/dist/components/right-sidebar-header/index.cjs.map +1 -0
- 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/right-sidebar-header/index.js.map +1 -0
- package/dist/components/section-notice/SectionNotice.cjs.map +1 -1
- package/dist/components/section-notice/SectionNotice.d.ts +1 -1
- package/dist/components/section-notice/SectionNotice.d.ts.map +1 -1
- package/dist/components/section-notice/SectionNotice.js.map +1 -1
- package/dist/components/tag/Tag.cjs.map +1 -1
- package/dist/components/tag/Tag.d.ts +1 -1
- package/dist/components/tag/Tag.d.ts.map +1 -1
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/text-input/TextInput.cjs.map +1 -1
- package/dist/components/text-input/TextInput.d.ts +1 -1
- package/dist/components/text-input/TextInput.d.ts.map +1 -1
- package/dist/components/text-input/TextInput.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 +19 -19
- 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/tooltip/Tooltip.cjs.map +1 -1
- package/dist/components/tooltip/Tooltip.d.ts +1 -1
- package/dist/components/tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/tooltip/Tooltip.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 +22 -18
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +186 -183
- package/dist/index.js.map +1 -1
- package/package.json +239 -21
- 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.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/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.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-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.d.ts +0 -3
- package/dist/components/message-input/index.js +0 -5
- package/dist/components/message-reactions/MessageReactions.cjs +0 -2
- package/dist/components/message-reactions/MessageReactions.cjs.map +0 -1
- package/dist/components/message-reactions/MessageReactions.d.ts.map +0 -1
- package/dist/components/message-reactions/MessageReactions.js +0 -85
- package/dist/components/message-reactions/MessageReactions.js.map +0 -1
- package/dist/components/message-reactions/MessageReactions.module.css +0 -1
- package/dist/components/message-reactions/MessageReactions.module.scss.cjs +0 -2
- package/dist/components/message-reactions/MessageReactions.module.scss.cjs.map +0 -1
- package/dist/components/message-reactions/MessageReactions.module.scss.js +0 -18
- package/dist/components/message-reactions/MessageReactions.module.scss.js.map +0 -1
- package/dist/components/message-reactions/index.d.ts +0 -3
- package/dist/components/message-reactions/index.d.ts.map +0 -1
- package/dist/components/message-reactions/index.js +0 -5
- 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.d.ts +0 -3
- package/dist/components/reaction-pill/index.js +0 -5
- 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.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/{app-bar-item → card-button}/index.cjs.map +0 -0
- /package/dist/components/{message → card-button}/index.js.map +0 -0
- /package/dist/components/{channel-header → emoji-button}/index.cjs.map +0 -0
- /package/dist/components/{app-bar-item → emoji-button}/index.js.map +0 -0
- /package/dist/components/{message-input → emoji-popover}/index.cjs.map +0 -0
- /package/dist/components/{channel-header → emoji-popover}/index.js.map +0 -0
- /package/dist/components/{message-reactions → menu-group-heading}/index.cjs.map +0 -0
- /package/dist/components/{message-input → menu-group-heading}/index.js.map +0 -0
- /package/dist/components/{message → modal-footer}/index.cjs.map +0 -0
- /package/dist/components/{message-reactions → modal-footer}/index.js.map +0 -0
- /package/dist/components/{reaction-pill → modal-header}/index.cjs.map +0 -0
- /package/dist/components/{reaction-pill → modal-header}/index.js.map +0 -0
- /package/dist/components/{right-sidebar → reaction-button}/index.cjs.map +0 -0
- /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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverNotice.js","sources":["../../../src/components/popover-notice/PopoverNotice.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport AlertOutlineIcon from '@mattermost/compass-icons/components/alert-outline';\nimport Button from '@/components/button/Button';\nimport Checkbox from '@/components/checkbox/Checkbox';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport styles from './PopoverNotice.module.scss';\n\nexport type PopoverNoticeVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport interface PopoverNoticeAction {\n label: string;\n onClick?: () => void;\n emphasis?: 'primary' | 'tertiary';\n}\n\nexport interface PopoverNoticeProps {\n /** Popover title text. */\n title: string;\n /** Body content. */\n children: ReactNode;\n /**\n * Semantic variant — sets the icon and its color automatically.\n * Ignored if `icon` is also provided.\n */\n variant?: PopoverNoticeVariant;\n /** Optional icon shown to the left of the title. Overrides variant icon. */\n icon?: ReactNode;\n /** Action buttons rendered below the body. */\n actions?: PopoverNoticeAction[];\n /** When true, shows a \"Don't show this again\" checkbox. */\n showCheckbox?: boolean;\n /** Checkbox label override. */\n checkboxLabel?: string;\n /** Callback when close button is clicked. */\n onClose?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst VARIANT_ICONS: Record<PopoverNoticeVariant, ReactNode> = {\n info: <Icon size=\"20\" glyph={<InformationOutlineIcon />} />,\n success: <Icon size=\"20\" glyph={<CheckCircleOutlineIcon />} />,\n warning: <Icon size=\"20\" glyph={<AlertCircleOutlineIcon />} />,\n danger: <Icon size=\"20\" glyph={<AlertOutlineIcon />} />,\n};\n\nconst VARIANT_ICON_CLASS: Record<PopoverNoticeVariant, string> = {\n info: styles['popover-notice__icon--info'],\n success: styles['popover-notice__icon--success'],\n warning: styles['popover-notice__icon--warning'],\n danger: styles['popover-notice__icon--danger'],\n};\n\n/**\n * Popover Notice is a small overlay card that surfaces a transient message — a tip, a\n * confirmation, a warning — without taking over the screen. Think of it as a [Section\n * Notice](/components/section-notice) that floats: shorter, dismissable, and gone in five\n * seconds unless the user engages.\n */\nexport default function PopoverNotice({\n title,\n children,\n variant,\n icon,\n actions,\n showCheckbox = false,\n checkboxLabel = \"Don't show this confirmation again\",\n onClose,\n className = '',\n}: PopoverNoticeProps) {\n const rootClass = [styles['popover-notice'], className]\n .filter(Boolean)\n .join(' ');\n\n const resolvedIcon = icon ?? (variant ? VARIANT_ICONS[variant] : null);\n const iconColorClass = !icon && variant ? VARIANT_ICON_CLASS[variant] : '';\n\n return (\n <div className={rootClass}>\n <div className={styles['popover-notice__content']}>\n {resolvedIcon != null && (\n <div\n className={[styles['popover-notice__icon'], iconColorClass]\n .filter(Boolean)\n .join(' ')}\n aria-hidden\n >\n {resolvedIcon}\n </div>\n )}\n\n <div className={styles['popover-notice__body']}>\n <div className={styles['popover-notice__title-row']}>\n <span className={styles['popover-notice__title']}>{title}</span>\n </div>\n\n <div className={styles['popover-notice__description']}>\n {children}\n </div>\n\n {actions && actions.length > 0 && (\n <div className={styles['popover-notice__actions']}>\n {actions.map((action, i) => (\n <Button\n key={i}\n emphasis={action.emphasis ?? 'primary'}\n size=\"small\"\n onClick={action.onClick}\n >\n {action.label}\n </Button>\n ))}\n </div>\n )}\n\n {showCheckbox && <Checkbox size=\"medium\">{checkboxLabel}</Checkbox>}\n </div>\n </div>\n\n {onClose && (\n <IconButton\n className={styles['popover-notice__close']}\n aria-label=\"Close\"\n size=\"small\"\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n onClick={onClose}\n />\n )}\n </div>\n );\n}\n"],"names":["VARIANT_ICONS","Icon","jsx","InformationOutlineIcon","CheckCircleOutlineIcon","AlertCircleOutlineIcon","AlertOutlineIcon","VARIANT_ICON_CLASS","styles","PopoverNotice","title","children","variant","icon","actions","showCheckbox","checkboxLabel","onClose","className","rootClass","resolvedIcon","iconColorClass","jsxs","action","i","Button","Checkbox","IconButton","CloseIcon"],"mappings":";;;;;;;;;;;AA4CA,MAAMA,IAAyD;AAAA,EAC7D,wBAAOC,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACC,KAAuB,GAAI;AAAA,EACzD,2BAAUF,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACE,KAAuB,GAAI;AAAA,EAC5D,2BAAUH,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACG,KAAuB,GAAI;AAAA,EAC5D,0BAASJ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACI,KAAiB,EAAA,CAAI;AACvD,GAEMC,IAA2D;AAAA,EAC/D,MAAMC,EAAO,4BAA4B;AAAA,EACzC,SAASA,EAAO,+BAA+B;AAAA,EAC/C,SAASA,EAAO,+BAA+B;AAAA,EAC/C,QAAQA,EAAO,8BAA8B;AAC/C;AAQA,SAAwBC,EAAc;AAAA,EACpC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AAA,YAEf,UAAAA,EAAO;AAAA,UAAA;AAAA,UALHC;AAAA,QAAA,CAOR,GACH;AAAA,QAGDT,KAAgB,gBAAAb,EAACwB,GAAA,EAAS,MAAK,UAAU,UAAAV,EAAA,CAAc;AAAA,MAAA,EAAA,CAC1D;AAAA,IAAA,GACF;AAAA,IAECC,KACC,gBAAAf;AAAA,MAACyB;AAAA,MAAA;AAAA,QACC,WAAWnB,EAAO,uBAAuB;AAAA,QACzC,cAAW;AAAA,QACX,MAAK;AAAA,QACL,wBAAOP,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAAC0B,KAAU,GAAI;AAAA,QAC5C,SAASX;AAAA,MAAA;AAAA,IAAA;AAAA,EACX,GAEJ;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"PopoverNotice.js","sources":["../../../src/components/popover-notice/PopoverNotice.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport AlertOutlineIcon from '@mattermost/compass-icons/components/alert-outline';\nimport Button from '@/components/button/Button';\nimport Checkbox from '@/components/checkbox/Checkbox';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport styles from './PopoverNotice.module.scss';\n\nexport type PopoverNoticeVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport interface PopoverNoticeAction {\n label: string;\n onClick?: () => void;\n emphasis?: 'primary' | 'tertiary';\n}\n\nexport interface PopoverNoticeProps {\n /** Popover title text. */\n title: string;\n /** Body content. */\n children: ReactNode;\n /**\n * Semantic variant — sets the icon and its color automatically.\n * Ignored if `icon` is also provided.\n */\n variant?: PopoverNoticeVariant;\n /** Optional icon shown to the left of the title. Overrides the variant icon. Pass `<Icon glyph={<SomeIcon />} size=\"20\" />` — the slot does not resize raw SVG children. */\n icon?: ReactNode;\n /** Action buttons rendered below the body. */\n actions?: PopoverNoticeAction[];\n /** When true, shows a \"Don't show this again\" checkbox. */\n showCheckbox?: boolean;\n /** Checkbox label override. */\n checkboxLabel?: string;\n /** Callback when close button is clicked. */\n onClose?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst VARIANT_ICONS: Record<PopoverNoticeVariant, ReactNode> = {\n info: <Icon size=\"20\" glyph={<InformationOutlineIcon />} />,\n success: <Icon size=\"20\" glyph={<CheckCircleOutlineIcon />} />,\n warning: <Icon size=\"20\" glyph={<AlertCircleOutlineIcon />} />,\n danger: <Icon size=\"20\" glyph={<AlertOutlineIcon />} />,\n};\n\nconst VARIANT_ICON_CLASS: Record<PopoverNoticeVariant, string> = {\n info: styles['popover-notice__icon--info'],\n success: styles['popover-notice__icon--success'],\n warning: styles['popover-notice__icon--warning'],\n danger: styles['popover-notice__icon--danger'],\n};\n\n/**\n * Popover Notice is a small overlay card that surfaces a transient message — a tip, a\n * confirmation, a warning — without taking over the screen. Think of it as a [Section\n * Notice](/components/section-notice) that floats: shorter, dismissable, and gone in five\n * seconds unless the user engages.\n */\nexport default function PopoverNotice({\n title,\n children,\n variant,\n icon,\n actions,\n showCheckbox = false,\n checkboxLabel = \"Don't show this confirmation again\",\n onClose,\n className = '',\n}: PopoverNoticeProps) {\n const rootClass = [styles['popover-notice'], className]\n .filter(Boolean)\n .join(' ');\n\n const resolvedIcon = icon ?? (variant ? VARIANT_ICONS[variant] : null);\n const iconColorClass = !icon && variant ? VARIANT_ICON_CLASS[variant] : '';\n\n return (\n <div className={rootClass}>\n <div className={styles['popover-notice__content']}>\n {resolvedIcon != null && (\n <div\n className={[styles['popover-notice__icon'], iconColorClass]\n .filter(Boolean)\n .join(' ')}\n aria-hidden\n >\n {resolvedIcon}\n </div>\n )}\n\n <div className={styles['popover-notice__body']}>\n <div className={styles['popover-notice__title-row']}>\n <span className={styles['popover-notice__title']}>{title}</span>\n </div>\n\n <div className={styles['popover-notice__description']}>\n {children}\n </div>\n\n {actions && actions.length > 0 && (\n <div className={styles['popover-notice__actions']}>\n {actions.map((action, i) => (\n <Button\n key={i}\n emphasis={action.emphasis ?? 'primary'}\n size=\"small\"\n onClick={action.onClick}\n >\n {action.label}\n </Button>\n ))}\n </div>\n )}\n\n {showCheckbox && <Checkbox size=\"medium\">{checkboxLabel}</Checkbox>}\n </div>\n </div>\n\n {onClose && (\n <IconButton\n className={styles['popover-notice__close']}\n aria-label=\"Close\"\n size=\"small\"\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n onClick={onClose}\n />\n )}\n </div>\n );\n}\n"],"names":["VARIANT_ICONS","Icon","jsx","InformationOutlineIcon","CheckCircleOutlineIcon","AlertCircleOutlineIcon","AlertOutlineIcon","VARIANT_ICON_CLASS","styles","PopoverNotice","title","children","variant","icon","actions","showCheckbox","checkboxLabel","onClose","className","rootClass","resolvedIcon","iconColorClass","jsxs","action","i","Button","Checkbox","IconButton","CloseIcon"],"mappings":";;;;;;;;;;;AA4CA,MAAMA,IAAyD;AAAA,EAC7D,wBAAOC,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACC,KAAuB,GAAI;AAAA,EACzD,2BAAUF,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACE,KAAuB,GAAI;AAAA,EAC5D,2BAAUH,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACG,KAAuB,GAAI;AAAA,EAC5D,0BAASJ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACI,KAAiB,EAAA,CAAI;AACvD,GAEMC,IAA2D;AAAA,EAC/D,MAAMC,EAAO,4BAA4B;AAAA,EACzC,SAASA,EAAO,+BAA+B;AAAA,EAC/C,SAASA,EAAO,+BAA+B;AAAA,EAC/C,QAAQA,EAAO,8BAA8B;AAC/C;AAQA,SAAwBC,EAAc;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAA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UAAA;AAAA,UALHC;AAAA,QAAA,CAOR,GACH;AAAA,QAGDT,KAAgB,gBAAAb,EAACwB,GAAA,EAAS,MAAK,UAAU,UAAAV,EAAA,CAAc;AAAA,MAAA,EAAA,CAC1D;AAAA,IAAA,GACF;AAAA,IAECC,KACC,gBAAAf;AAAA,MAACyB;AAAA,MAAA;AAAA,QACC,WAAWnB,EAAO,uBAAuB;AAAA,QACzC,cAAW;AAAA,QACX,MAAK;AAAA,QACL,wBAAOP,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAAC0B,KAAU,GAAI;AAAA,QAC5C,SAASX;AAAA,MAAA;AAAA,IAAA;AAAA,EACX,GAEJ;AAEJ;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),n=require("react"),t=require("./ReactionButton.module.scss.cjs");function b({emoji:a,count:e,byCurrentUser:i=!1,className:l="",onClick:d,...f}){const o=n.useRef(e),u=n.useRef(void 0),[s,c]=n.useState(null);n.useEffect(()=>(e!==o.current&&(clearTimeout(u.current),c(e>o.current?"up":"down"),o.current=e,u.current=setTimeout(()=>c(null),300)),()=>clearTimeout(u.current)),[e]);const m=[t.default["reaction-button"],i?t.default["reaction-button--mine"]:"",l].filter(Boolean).join(" "),_=[t.default["reaction-button__count"],s==="up"?t.default["reaction-button__count--anim-up"]:"",s==="down"?t.default["reaction-button__count--anim-down"]:""].filter(Boolean).join(" ");return r.jsxs("button",{type:"button",className:m,onClick:d,"aria-label":`${a} ${e} reaction${e!==1?"s":""}`,"aria-pressed":i,...f,children:[r.jsx("span",{className:t.default["reaction-button__emoji"],"aria-hidden":!0,children:a}),r.jsx("span",{className:_,children:e})]})}exports.default=b;
|
|
2
|
+
//# sourceMappingURL=ReactionButton.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionButton.cjs","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport type { ButtonHTMLAttributes } from 'react';\nimport styles from './ReactionButton.module.scss';\n\nexport interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** The emoji character to display. */\n emoji: string;\n /** Number of users who reacted with this emoji. */\n count: number;\n /** Whether the current user has reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\n/**\n * A single emoji reaction button — shows the emoji, count, and highlights when the current user\n * has reacted. Fires onClick when clicked; the host owns toggle logic.\n *\n * The count animates up or down when the `count` prop changes.\n */\nexport default function ReactionButton({\n emoji,\n count,\n byCurrentUser = false,\n className = '',\n onClick,\n ...rest\n}: ReactionButtonProps) {\n const prevCountRef = useRef(count);\n const timerRef = useRef<ReturnType<typeof setTimeout>>(undefined);\n const [countAnim, setCountAnim] = useState<'up' | 'down' | null>(null);\n\n useEffect(() => {\n if (count !== prevCountRef.current) {\n clearTimeout(timerRef.current);\n setCountAnim(count > prevCountRef.current ? 'up' : 'down');\n prevCountRef.current = count;\n timerRef.current = setTimeout(() => setCountAnim(null), 300);\n }\n return () => clearTimeout(timerRef.current);\n }, [count]);\n\n const rootClass = [\n styles['reaction-button'],\n byCurrentUser ? styles['reaction-button--mine'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n const countClass = [\n styles['reaction-button__count'],\n countAnim === 'up' ? styles['reaction-button__count--anim-up'] : '',\n countAnim === 'down' ? styles['reaction-button__count--anim-down'] : '',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <button\n type=\"button\"\n className={rootClass}\n onClick={onClick}\n aria-label={`${emoji} ${count} reaction${count !== 1 ? 's' : ''}`}\n aria-pressed={byCurrentUser}\n {...rest}\n >\n <span className={styles['reaction-button__emoji']} aria-hidden>\n {emoji}\n </span>\n <span className={countClass}>{count}</span>\n </button>\n );\n}\n"],"names":["ReactionButton","emoji","count","byCurrentUser","className","onClick","rest","prevCountRef","useRef","timerRef","countAn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|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
export interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
/** The emoji character to display. */
|
|
4
|
+
emoji: string;
|
|
5
|
+
/** Number of users who reacted with this emoji. */
|
|
6
|
+
count: number;
|
|
7
|
+
/** Whether the current user has reacted with this emoji. */
|
|
8
|
+
byCurrentUser?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A single emoji reaction button — shows the emoji, count, and highlights when the current user
|
|
12
|
+
* has reacted. Fires onClick when clicked; the host owns toggle logic.
|
|
13
|
+
*
|
|
14
|
+
* The count animates up or down when the `count` prop changes.
|
|
15
|
+
*/
|
|
16
|
+
export default function ReactionButton({ emoji, count, byCurrentUser, className, onClick, ...rest }: ReactionButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=ReactionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAClF,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,KAAK,EACL,aAAqB,EACrB,SAAc,EACd,OAAO,EACP,GAAG,IAAI,EACR,EAAE,mBAAmB,2CA8CrB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsxs as b, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as c, useState as _, useEffect as h } from "react";
|
|
3
|
+
import e from "./ReactionButton.module.scss.js";
|
|
4
|
+
function x({
|
|
5
|
+
emoji: r,
|
|
6
|
+
count: t,
|
|
7
|
+
byCurrentUser: a = !1,
|
|
8
|
+
className: l = "",
|
|
9
|
+
onClick: m,
|
|
10
|
+
...f
|
|
11
|
+
}) {
|
|
12
|
+
const n = c(t), o = c(void 0), [i, s] = _(null);
|
|
13
|
+
h(() => (t !== n.current && (clearTimeout(o.current), s(t > n.current ? "up" : "down"), n.current = t, o.current = setTimeout(() => s(null), 300)), () => clearTimeout(o.current)), [t]);
|
|
14
|
+
const p = [
|
|
15
|
+
e["reaction-button"],
|
|
16
|
+
a ? e["reaction-button--mine"] : "",
|
|
17
|
+
l
|
|
18
|
+
].filter(Boolean).join(" "), d = [
|
|
19
|
+
e["reaction-button__count"],
|
|
20
|
+
i === "up" ? e["reaction-button__count--anim-up"] : "",
|
|
21
|
+
i === "down" ? e["reaction-button__count--anim-down"] : ""
|
|
22
|
+
].filter(Boolean).join(" ");
|
|
23
|
+
return /* @__PURE__ */ b(
|
|
24
|
+
"button",
|
|
25
|
+
{
|
|
26
|
+
type: "button",
|
|
27
|
+
className: p,
|
|
28
|
+
onClick: m,
|
|
29
|
+
"aria-label": `${r} ${t} reaction${t !== 1 ? "s" : ""}`,
|
|
30
|
+
"aria-pressed": a,
|
|
31
|
+
...f,
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ u("span", { className: e["reaction-button__emoji"], "aria-hidden": !0, children: r }),
|
|
34
|
+
/* @__PURE__ */ u("span", { className: d, children: t })
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
x as default
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=ReactionButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionButton.js","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport type { ButtonHTMLAttributes } from 'react';\nimport styles from './ReactionButton.module.scss';\n\nexport interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** The emoji character to display. */\n emoji: string;\n /** Number of users who reacted with this emoji. */\n count: number;\n /** Whether the current user has reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\n/**\n * A single emoji reaction button — shows the emoji, count, and highlights when the current user\n * has reacted. Fires onClick when clicked; the host owns toggle logic.\n *\n * The count animates up or down when the `count` prop changes.\n */\nexport default function ReactionButton({\n emoji,\n count,\n byCurrentUser = false,\n className = '',\n onClick,\n ...rest\n}: ReactionButtonProps) {\n const prevCountRef = useRef(count);\n const timerRef = useRef<ReturnType<typeof setTimeout>>(undefined);\n const [countAnim, setCountAnim] = useState<'up' | 'down' | null>(null);\n\n useEffect(() => {\n if (count !== prevCountRef.current) {\n clearTimeout(timerRef.current);\n setCountAnim(count > prevCountRef.current ? 'up' : 'down');\n prevCountRef.current = count;\n timerRef.current = setTimeout(() => setCountAnim(null), 300);\n }\n return () => clearTimeout(timerRef.current);\n }, [count]);\n\n const rootClass = [\n styles['reaction-button'],\n byCurrentUser ? styles['reaction-button--mine'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n const countClass = [\n styles['reaction-button__count'],\n countAnim === 'up' ? styles['reaction-button__count--anim-up'] : '',\n countAnim === 'down' ? styles['reaction-button__count--anim-down'] : '',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <button\n type=\"button\"\n className={rootClass}\n onClick={onClick}\n aria-label={`${emoji} ${count} reaction${count !== 1 ? 's' : ''}`}\n aria-pressed={byCurrentUser}\n {...rest}\n >\n <span className={styles['reaction-button__emoji']} aria-hidden>\n {emoji}\n </span>\n <span className={countClass}>{count}</span>\n </button>\n );\n}\n"],"names":["ReactionButton","emoji","count","byCurrentUser","className","onClick","rest","prevCountRef","useRef","timerRef","countAnim","setCountAnim","useState","useEffect","rootClass","styles","countClass","j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AAAd,EAAA,CAAM;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1C;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@keyframes _reaction-count-up_15oyo_1{0%{transform:translateY(var(--spacing-xxs));opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _reaction-count-down_15oyo_1{0%{transform:translateY(calc(var(--spacing-xxs) * -1));opacity:0}to{transform:translateY(0);opacity:1}}._reaction-button_15oyo_22{display:inline-flex;align-items:center;gap:var(--spacing-xxxs);padding:var(--spacing-xxxs) var(--spacing-xxs);border:none;border-radius:var(--radius-s);background-color:rgba(var(--center-channel-color-rgb),.08);cursor:pointer;outline:2px solid color-mix(in srgb,var(--focus-ring-color) 0%,transparent);outline-offset:0;transition:background-color var(--duration-quick) var(--ease-transition),box-shadow var(--duration-quick) var(--ease-transition),outline-color var(--duration-quick) var(--ease-transition),outline-offset var(--duration-quick) var(--ease-transition)}._reaction-button_15oyo_22:hover{background-color:rgba(var(--center-channel-color-rgb),.12)}._reaction-button_15oyo_22:focus-visible{outline-color:var(--focus-ring-color);outline-offset:3px}._reaction-button--mine_15oyo_42{background-color:rgba(var(--link-color-rgb),.08);box-shadow:inset 0 0 0 1px var(--link-color)}._reaction-button--mine_15oyo_42:hover{background-color:rgba(var(--link-color-rgb),.12)}._reaction-button--mine_15oyo_42 ._reaction-button__count_15oyo_49{color:var(--link-color)}._reaction-button__emoji_15oyo_52{font-size:var(--font-size-200);line-height:var(--line-height-50)}._reaction-button__count_15oyo_49{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.56)}._reaction-button__count--anim-up_15oyo_63{animation:_reaction-count-up_15oyo_1 var(--duration-moderate) var(--ease-entrance)}._reaction-button__count--anim-down_15oyo_66{animation:_reaction-count-down_15oyo_1 var(--duration-moderate) var(--ease-entrance)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ReactionButton.module.css');const o={"reaction-button":"_reaction-button_15oyo_22","reaction-button--mine":"_reaction-button--mine_15oyo_42","reaction-button__count":"_reaction-button__count_15oyo_49","reaction-button__emoji":"_reaction-button__emoji_15oyo_52","reaction-button__count--anim-up":"_reaction-button__count--anim-up_15oyo_63","reaction-button__count--anim-down":"_reaction-button__count--anim-down_15oyo_66"};exports.default=o;
|
|
2
|
+
//# sourceMappingURL=ReactionButton.module.scss.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionButton.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import './ReactionButton.module.css';const o = {
|
|
2
|
+
"reaction-button": "_reaction-button_15oyo_22",
|
|
3
|
+
"reaction-button--mine": "_reaction-button--mine_15oyo_42",
|
|
4
|
+
"reaction-button__count": "_reaction-button__count_15oyo_49",
|
|
5
|
+
"reaction-button__emoji": "_reaction-button__emoji_15oyo_52",
|
|
6
|
+
"reaction-button__count--anim-up": "_reaction-button__count--anim-up_15oyo_63",
|
|
7
|
+
"reaction-button__count--anim-down": "_reaction-button__count--anim-down_15oyo_66"
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
o as default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ReactionButton.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionButton.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reaction-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),h=require("../icon-button/IconButton.cjs"),l=require("../icon/Icon.cjs"),w=require("../reaction-button/ReactionButton.cjs"),__p=require("@mattermost/compass-icons/components/check-circle-outline.js"),p=__p?.default??__p,__b=require("@mattermost/compass-icons/components/emoticon-plus-outline.js"),b=__b?.default??__b,a=require("./ReactionsRow.module.scss.cjs"),N=[{emoji:"👍",count:1},{emoji:"😀",count:4},{emoji:"🙌",count:1}];function q({reactions:n=N,showAddReaction:c=!1,acknowledged:i=!1,acknowledgeCount:r=0,currentUserAcknowledged:s=!1,onAddReaction:u,onReactionClick:t,onAcknowledge:d,className:f="",..._}){const j=[a.default["reactions-row"],f].filter(Boolean).join(" ");return e.jsxs("div",{className:j,..._,children:[i&&e.jsxs("button",{type:"button",className:[a.default["reactions-row__ack"],s?a.default["reactions-row__ack--active"]:""].filter(Boolean).join(" "),onClick:d,"aria-pressed":s,"aria-label":"Acknowledge message",children:[e.jsx("span",{className:a.default["reactions-row__ack-icon"],"aria-hidden":!0,children:e.jsx(l.default,{size:"16",glyph:e.jsx(p,{})})}),s?e.jsx("span",{className:a.default["reactions-row__ack-count"],children:r}):e.jsx("span",{className:a.default["reactions-row__ack-label"],children:"Acknowledge"})]}),e.jsxs("div",{className:a.default["reactions-row__buttons"],children:[n.map(({emoji:o,count:m,byCurrentUser:x})=>e.jsx(w.default,{emoji:o,count:m,byCurrentUser:x,onClick:()=>t==null?void 0:t(o)},o)),c&&e.jsx(h.default,{"aria-label":"Add reaction",className:a.default["reactions-row__add-reaction"],size:"x-small",onClick:u,icon:e.jsx(l.default,{size:"16",glyph:e.jsx(b,{})})})]})]})}exports.default=q;
|
|
2
|
+
//# sourceMappingURL=ReactionsRow.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionsRow.cjs","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport ReactionButton from '@/components/reaction-button/ReactionButton';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport EmoticonPlusOutlineIcon from '@mattermost/compass-icons/components/emoticon-plus-outline';\nimport styles from './ReactionsRow.module.scss';\n\nexport interface ReactionItem {\n emoji: string;\n count: number;\n /** Whether the current user reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\nexport interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {\n /** List of reactions to display. */\n reactions?: ReactionItem[];\n /** Whether to show the add-reaction button. Default: false. */\n showAddReaction?: boolean;\n /** Whether to show the acknowledge button. */\n acknowledged?: boolean;\n /** Acknowledge count. */\n acknowledgeCount?: number;\n /** Whether the current user has acknowledged. Default: false. */\n currentUserAcknowledged?: boolean;\n /** Called when add-reaction is clicked. */\n onAddReaction?: () => void;\n /** Called when a Reaction Button is clicked. */\n onReactionClick?: (emoji: string) => void;\n /** Called when the acknowledge button is clicked. */\n onAcknowledge?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst DEFAULT_REACTIONS: ReactionItem[] = [\n { emoji: '👍', count: 1 },\n { emoji: '😀', count: 4 },\n { emoji: '🙌', count: 1 },\n];\n\n/**\n * Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to\n * respond, applaud, or acknowledge without adding to the thread. The component handles the\n * count, the \"this is mine\" highlight, and the add-reaction affordance.\n */\nexport default function ReactionsRow({\n reactions = DEFAULT_REACTIONS,\n showAddReaction = false,\n acknowledged = false,\n acknowledgeCount = 0,\n currentUserAcknowledged = false,\n onAddReaction,\n onReactionClick,\n onAcknowledge,\n className = '',\n ...rest\n}: ReactionsRowProps) {\n const rootClass = [styles['reactions-row'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass} {...rest}>\n {/* Acknowledge button */}\n {acknowledged && (\n <button\n type=\"button\"\n className={[\n styles['reactions-row__ack'],\n currentUserAcknowledged\n ? styles['reactions-row__ack--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onAcknowledge}\n aria-pressed={currentUserAcknowledged}\n aria-label=\"Acknowledge message\"\n >\n <span className={styles['reactions-row__ack-icon']} aria-hidden>\n <Icon size=\"16\" glyph={<CheckCircleOutlineIcon />} />\n </span>\n {currentUserAcknowledged ? (\n <span className={styles['reactions-row__ack-count']}>\n {acknowledgeCount}\n </span>\n ) : (\n <span className={styles['reactions-row__ack-label']}>\n Acknowledge\n </span>\n )}\n </button>\n )}\n\n {/* Reaction buttons */}\n <div className={styles['reactions-row__buttons']}>\n {reactions.map(({ emoji, count, byCurrentUser }) => (\n <ReactionButton\n key={emoji}\n emoji={emoji}\n count={count}\n byCurrentUser={byCurrentUser}\n onClick={() => onReactionClick?.(emoji)}\n />\n ))}\n\n {/* Add reaction button */}\n {showAddReaction && (\n <IconButton\n aria-label=\"Add reaction\"\n className={styles['reactions-row__add-reaction']}\n size=\"x-small\"\n onClick={onAddReaction}\n icon={<Icon size=\"16\" glyph={<EmoticonPlusOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["DEFAULT_REACTIONS","ReactionsRow","reactions","showAddReaction","acknowledged","acknowledgeCount","currentUserAcknowledged","onAddReaction","onReactionClick","onAcknowledge","className","rest","rootClass","styles","jsxs","jsx","Icon","CheckCircleOutlineIcon","emoji","count","byCurrentUser","ReactionButton","IconButton","EmoticonPlusOutlineIcon"],"mappings":"scAoCMA,EAAoC,CACxC,CAAE,MAAO,KAAM,MAAO,CAAA,EACtB,CAAE,MAAO,KAAM,MAAO,CAAA,EACtB,CAAE,MAAO,KAAM,MAAO,CAAA,CACxB,EAOA,SAAwBC,EAAa,CAC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AW,eACX,UAAWT,EAAAA,QAAO,6BAA6B,EAC/C,KAAK,UACL,QAASN,EACT,WAAOS,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOD,EAAAA,IAACQ,IAAwB,CAAA,CAAI,CAAA,CAAA,CAC5D,CAAA,CAEJ,CAAA,EACF,CAEJ"}
|
package/dist/components/{message-reactions/MessageReactions.d.ts → reactions-row/ReactionsRow.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@ export interface ReactionItem {
|
|
|
5
5
|
/** Whether the current user reacted with this emoji. */
|
|
6
6
|
byCurrentUser?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
9
|
/** List of reactions to display. */
|
|
10
10
|
reactions?: ReactionItem[];
|
|
11
11
|
/** Whether to show the add-reaction button. Default: false. */
|
|
@@ -18,7 +18,7 @@ export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
18
18
|
currentUserAcknowledged?: boolean;
|
|
19
19
|
/** Called when add-reaction is clicked. */
|
|
20
20
|
onAddReaction?: () => void;
|
|
21
|
-
/** Called when a
|
|
21
|
+
/** Called when a Reaction Button is clicked. */
|
|
22
22
|
onReactionClick?: (emoji: string) => void;
|
|
23
23
|
/** Called when the acknowledge button is clicked. */
|
|
24
24
|
onAcknowledge?: () => void;
|
|
@@ -26,9 +26,9 @@ export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to
|
|
30
30
|
* respond, applaud, or acknowledge without adding to the thread. The component handles the
|
|
31
31
|
* count, the "this is mine" highlight, and the add-reaction affordance.
|
|
32
32
|
*/
|
|
33
|
-
export default function
|
|
34
|
-
//# sourceMappingURL=
|
|
33
|
+
export default function ReactionsRow({ reactions, showAddReaction, acknowledged, acknowledgeCount, currentUserAcknowledged, onAddReaction, onReactionClick, onAcknowledge, className, ...rest }: ReactionsRowProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=ReactionsRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionsRow.d.ts","sourceRoot":"","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,oCAAoC;IACpC,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,+DAA+D;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gDAAgD;IAChD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,qDAAqD;IACrD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAA6B,EAC7B,eAAuB,EACvB,YAAoB,EACpB,gBAAoB,EACpB,uBAA+B,EAC/B,aAAa,EACb,eAAe,EACf,aAAa,EACb,SAAc,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,2CA+DnB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import N from "../icon-button/IconButton.js";
|
|
3
|
+
import t from "../icon/Icon.js";
|
|
4
|
+
import b from "../reaction-button/ReactionButton.js";
|
|
5
|
+
import __j from "@mattermost/compass-icons/components/check-circle-outline.js";const j=__j&&__j.default?__j.default:__j;
|
|
6
|
+
import __k from "@mattermost/compass-icons/components/emoticon-plus-outline.js";const k=__k&&__k.default?__k.default:__k;
|
|
7
|
+
import a from "./ReactionsRow.module.scss.js";
|
|
8
|
+
const I = [
|
|
9
|
+
{ emoji: "👍", count: 1 },
|
|
10
|
+
{ emoji: "😀", count: 4 },
|
|
11
|
+
{ emoji: "🙌", count: 1 }
|
|
12
|
+
];
|
|
13
|
+
function C({
|
|
14
|
+
reactions: n = I,
|
|
15
|
+
showAddReaction: c = !1,
|
|
16
|
+
acknowledged: l = !1,
|
|
17
|
+
acknowledgeCount: m = 0,
|
|
18
|
+
currentUserAcknowledged: e = !1,
|
|
19
|
+
onAddReaction: p,
|
|
20
|
+
onReactionClick: s,
|
|
21
|
+
onAcknowledge: _,
|
|
22
|
+
className: d = "",
|
|
23
|
+
...f
|
|
24
|
+
}) {
|
|
25
|
+
const u = [a["reactions-row"], d].filter(Boolean).join(" ");
|
|
26
|
+
return /* @__PURE__ */ i("div", { className: u, ...f, children: [
|
|
27
|
+
l && /* @__PURE__ */ i(
|
|
28
|
+
"button",
|
|
29
|
+
{
|
|
30
|
+
type: "button",
|
|
31
|
+
className: [
|
|
32
|
+
a["reactions-row__ack"],
|
|
33
|
+
e ? a["reactions-row__ack--active"] : ""
|
|
34
|
+
].filter(Boolean).join(" "),
|
|
35
|
+
onClick: _,
|
|
36
|
+
"aria-pressed": e,
|
|
37
|
+
"aria-label": "Acknowledge message",
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ o("span", { className: a["reactions-row__ack-icon"], "aria-hidden": !0, children: /* @__PURE__ */ o(t, { size: "16", glyph: /* @__PURE__ */ o(j, {}) }) }),
|
|
40
|
+
e ? /* @__PURE__ */ o("span", { className: a["reactions-row__ack-count"], children: m }) : /* @__PURE__ */ o("span", { className: a["reactions-row__ack-label"], children: "Acknowledge" })
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ i("div", { className: a["reactions-row__buttons"], children: [
|
|
45
|
+
n.map(({ emoji: r, count: h, byCurrentUser: w }) => /* @__PURE__ */ o(
|
|
46
|
+
b,
|
|
47
|
+
{
|
|
48
|
+
emoji: r,
|
|
49
|
+
count: h,
|
|
50
|
+
byCurrentUser: w,
|
|
51
|
+
onClick: () => s == null ? void 0 : s(r)
|
|
52
|
+
},
|
|
53
|
+
r
|
|
54
|
+
)),
|
|
55
|
+
c && /* @__PURE__ */ o(
|
|
56
|
+
N,
|
|
57
|
+
{
|
|
58
|
+
"aria-label": "Add reaction",
|
|
59
|
+
className: a["reactions-row__add-reaction"],
|
|
60
|
+
size: "x-small",
|
|
61
|
+
onClick: p,
|
|
62
|
+
icon: /* @__PURE__ */ o(t, { size: "16", glyph: /* @__PURE__ */ o(k, {}) })
|
|
63
|
+
}
|
|
64
|
+
)
|
|
65
|
+
] })
|
|
66
|
+
] });
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
C as default
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=ReactionsRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionsRow.js","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport ReactionButton from '@/components/reaction-button/ReactionButton';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport EmoticonPlusOutlineIcon from '@mattermost/compass-icons/components/emoticon-plus-outline';\nimport styles from './ReactionsRow.module.scss';\n\nexport interface ReactionItem {\n emoji: string;\n count: number;\n /** Whether the current user reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\nexport interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {\n /** List of reactions to display. */\n reactions?: ReactionItem[];\n /** Whether to show the add-reaction button. Default: false. */\n showAddReaction?: boolean;\n /** Whether to show the acknowledge button. */\n acknowledged?: boolean;\n /** Acknowledge count. */\n acknowledgeCount?: number;\n /** Whether the current user has acknowledged. Default: false. */\n currentUserAcknowledged?: boolean;\n /** Called when add-reaction is clicked. */\n onAddReaction?: () => void;\n /** Called when a Reaction Button is clicked. */\n onReactionClick?: (emoji: string) => void;\n /** Called when the acknowledge button is clicked. */\n onAcknowledge?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst DEFAULT_REACTIONS: ReactionItem[] = [\n { emoji: '👍', count: 1 },\n { emoji: '😀', count: 4 },\n { emoji: '🙌', count: 1 },\n];\n\n/**\n * Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to\n * respond, applaud, or acknowledge without adding to the thread. The component handles the\n * count, the \"this is mine\" highlight, and the add-reaction affordance.\n */\nexport default function ReactionsRow({\n reactions = DEFAULT_REACTIONS,\n showAddReaction = false,\n acknowledged = false,\n acknowledgeCount = 0,\n currentUserAcknowledged = false,\n onAddReaction,\n onReactionClick,\n onAcknowledge,\n className = '',\n ...rest\n}: ReactionsRowProps) {\n const rootClass = [styles['reactions-row'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass} {...rest}>\n {/* Acknowledge button */}\n {acknowledged && (\n <button\n type=\"button\"\n className={[\n styles['reactions-row__ack'],\n currentUserAcknowledged\n ? styles['reactions-row__ack--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onAcknowledge}\n aria-pressed={currentUserAcknowledged}\n aria-label=\"Acknowledge message\"\n >\n <span className={styles['reactions-row__ack-icon']} aria-hidden>\n <Icon size=\"16\" glyph={<CheckCircleOutlineIcon />} />\n </span>\n {currentUserAcknowledged ? (\n <span className={styles['reactions-row__ack-count']}>\n {acknowledgeCount}\n </span>\n ) : (\n <span className={styles['reactions-row__ack-label']}>\n Acknowledge\n </span>\n )}\n </button>\n )}\n\n {/* Reaction buttons */}\n <div className={styles['reactions-row__buttons']}>\n {reactions.map(({ emoji, count, byCurrentUser }) => (\n <ReactionButton\n key={emoji}\n emoji={emoji}\n count={count}\n byCurrentUser={byCurrentUser}\n onClick={() => onReactionClick?.(emoji)}\n />\n ))}\n\n {/* Add reaction button */}\n {showAddReaction && (\n <IconButton\n aria-label=\"Add reaction\"\n className={styles['reactions-row__add-reaction']}\n size=\"x-small\"\n onClick={onAddReaction}\n icon={<Icon size=\"16\" glyph={<EmoticonPlusOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["DEFAULT_REACTIONS","ReactionsRow","reactions","showAddReaction","acknowledged","acknowledgeCount","currentUserAcknowledged","onAddReaction","onReactionClick","onAcknowledge","className","rest","rootClass","styles","jsxs","jsx","Icon","CheckCircleOutlineIcon","emoji","count","byCurrentUser","ReactionButton","IconButton","EmoticonPlusOutlineIcon"],"mappings":";;;;;;;AAoCA,MAAMA,IAAoC;AAAA,EACxC,EAAE,OAAO,MAAM,OAAO,EAAA;AAAA,EACtB,EAAE,OAAO,MAAM,OAAO,EAAA;AAAA,EACtB,EAAE,OAAO,MAAM,OAAO,EAAA;AACxB;AAOA,SAAwBC,EAAa;AAAA,EACnC,WAAAC,IAAYF;AAAA,EACZ,iBAAAG,IAAkB;AAAA,EAClB,cAAAC,IAAe;AAAA,EACf,kBAAAC,IAAmB;AAAA,EACnB,yBAAAC,IAA0B;AAAA,EAC1B,eAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAsB;AACpB,QAAMC,IAAY,CAACC,EAAO,eAAe,GAAGH,CAAS,E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GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAD,EAACQ,KAAwB,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,IAC5D,EAAA,CAEJ;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._reactions-row_2mtjp_2{display:flex;align-items:center;flex-wrap:wrap;gap:var(--spacing-xs);padding:var(--spacing-xxxxs) 0}._reactions-row__buttons_2mtjp_9{display:flex;align-items:center;flex-wrap:wrap;gap:var(--spacing-xxxs)}@media(hover:hover)and (pointer:fine){._reactions-row__add-reaction_2mtjp_16{opacity:0;pointer-events:none;transition:opacity var(--duration-quick) var(--ease-transition)}._reactions-row_2mtjp_2:hover ._reactions-row__add-reaction_2mtjp_16,._reactions-row_2mtjp_2:focus-within ._reactions-row__add-reaction_2mtjp_16{opacity:1;pointer-events:auto}}._reactions-row__ack_2mtjp_26{display:inline-flex;align-items:center;gap:var(--spacing-xxxs);padding:var(--spacing-xxxs) var(--spacing-xxs);border:none;border-radius:var(--radius-s);background-color:rgba(var(--color-success-rgb),.12);color:var(--color-success);cursor:pointer;outline:2px solid color-mix(in srgb,var(--color-success) 0%,transparent);outline-offset:0;transition:background-color var(--duration-quick) var(--ease-transition),outline-color var(--duration-quick) var(--ease-transition),outline-offset var(--duration-quick) var(--ease-transition)}._reactions-row__ack_2mtjp_26:hover{background-color:rgba(var(--color-success-rgb),.2)}._reactions-row__ack_2mtjp_26:focus-visible{outline-color:var(--color-success);outline-offset:3px}._reactions-row__ack--active_2mtjp_47{background-color:var(--color-success);color:var(--button-color)}._reactions-row__ack--active_2mtjp_47:hover{background-color:color-mix(in srgb,black 8%,var(--color-success))}._reactions-row__ack-icon_2mtjp_54{display:inline-flex;align-items:center}._reactions-row__ack-count_2mtjp_58,._reactions-row__ack-label_2mtjp_64{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ReactionsRow.module.css');const _={"reactions-row":"_reactions-row_2mtjp_2","reactions-row__buttons":"_reactions-row__buttons_2mtjp_9","reactions-row__add-reaction":"_reactions-row__add-reaction_2mtjp_16","reactions-row__ack":"_reactions-row__ack_2mtjp_26","reactions-row__ack--active":"_reactions-row__ack--active_2mtjp_47","reactions-row__ack-icon":"_reactions-row__ack-icon_2mtjp_54","reactions-row__ack-count":"_reactions-row__ack-count_2mtjp_58","reactions-row__ack-label":"_reactions-row__ack-label_2mtjp_64"};exports.default=_;
|
|
2
|
+
//# sourceMappingURL=ReactionsRow.module.scss.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionsRow.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './ReactionsRow.module.css';const _ = {
|
|
2
|
+
"reactions-row": "_reactions-row_2mtjp_2",
|
|
3
|
+
"reactions-row__buttons": "_reactions-row__buttons_2mtjp_9",
|
|
4
|
+
"reactions-row__add-reaction": "_reactions-row__add-reaction_2mtjp_16",
|
|
5
|
+
"reactions-row__ack": "_reactions-row__ack_2mtjp_26",
|
|
6
|
+
"reactions-row__ack--active": "_reactions-row__ack--active_2mtjp_47",
|
|
7
|
+
"reactions-row__ack-icon": "_reactions-row__ack-icon_2mtjp_54",
|
|
8
|
+
"reactions-row__ack-count": "_reactions-row__ack-count_2mtjp_58",
|
|
9
|
+
"reactions-row__ack-label": "_reactions-row__ack-label_2mtjp_64"
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
_ as default
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=ReactionsRow.module.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactionsRow.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReactionsRow.cjs");exports.ReactionsRow=e.default;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reactions-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),__b=require("@mattermost/compass-icons/components/arrow-back-ios.js"),b=__b?.default??__b,__g=require("@mattermost/compass-icons/components/arrow-expand.js"),g=__g?.default??__g,__m=require("@mattermost/compass-icons/components/close.js"),m=__m?.default??__m,s=require("../icon/Icon.cjs"),r=require("../icon-button/IconButton.cjs"),p=require("../tag/Tag.cjs"),a=require("./RightSidebarHeader.module.scss.cjs");function N({title:h,secondaryTitle:i,tag:l,tagType:f="info",leadingIcon:d,onBack:t,onExpand:c,onClose:n,actionLabel:o,onActionClick:_,actionActive:u=!1,className:j=""}){const x=[a.default["right-sidebar-header"],j].filter(Boolean).join(" ");return e.jsxs("div",{className:x,children:[e.jsxs("div",{className:a.default["right-sidebar-header__left"],children:[e.jsxs("div",{className:a.default["right-sidebar-header__primary"],children:[t&&e.jsx(r.default,{className:a.default["right-sidebar-header__back"],size:"small","aria-label":"Back",onClick:t,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(b,{})})}),d&&e.jsx("span",{className:a.default["right-sidebar-header__leading-icon"],children:d}),e.jsx("span",{className:a.default["right-sidebar-header__title"],children:h}),l&&e.jsx("span",{className:a.default["right-sidebar-header__tag"],children:e.jsx(p.default,{label:l,type:f,size:"x-small",casing:"all-caps"})})]}),i&&e.jsx("div",{className:a.default["right-sidebar-header__secondary"],children:e.jsx("span",{className:a.default["right-sidebar-header__secondary-text"],children:i})})]}),e.jsxs("div",{className:a.default["right-sidebar-header__actions"],children:[o&&e.jsx("button",{type:"button",className:[a.default["right-sidebar-header__action"],u?a.default["right-sidebar-header__action--active"]:""].filter(Boolean).join(" "),onClick:_,"aria-pressed":u?!0:void 0,children:o}),c&&e.jsx(r.default,{size:"small","aria-label":"Expand",onClick:c,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(g,{})})}),n&&e.jsx(r.default,{size:"small","aria-label":"Close",onClick:n,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(m,{})})})]})]})}exports.default=N;
|
|
2
|
+
//# sourceMappingURL=RightSidebarHeader.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RightSidebarHeader.cjs","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ArrowBackIosIcon from '@mattermost/compass-icons/components/arrow-back-ios';\nimport ArrowExpandIcon from '@mattermost/compass-icons/components/arrow-expand';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport type { TagType } from '@/components/tag/Tag';\nimport styles from './RightSidebarHeader.module.scss';\n\nexport interface RightSidebarHeaderProps {\n /** Primary title text. */\n title: string;\n /** Secondary title shown to the right of a vertical divider (e.g. parent channel name). */\n secondaryTitle?: string;\n /** Optional tag rendered next to the title (e.g. \"BETA\"). */\n tag?: string;\n /** Tag visual style. Default: Info. */\n tagType?: TagType;\n /** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size=\"20\" />` to align with the title text. */\n leadingIcon?: ReactNode;\n /** When set, shows a back button and calls this on click. */\n onBack?: () => void;\n /** When set, shows an expand button and calls this on click. */\n onExpand?: () => void;\n /** When set, shows a close button and calls this on click. */\n onClose?: () => void;\n /** Optional inline action label (e.g. \"Follow\"). */\n actionLabel?: string;\n /** Click handler for the action label. */\n onActionClick?: () => void;\n /** When true, the action button shows in its active state. */\n actionActive?: boolean;\n className?: string;\n}\n\nexport default function RightSidebarHeader({\n title,\n secondaryTitle,\n tag,\n tagType = 'info',\n leadingIcon,\n onBack,\n onExpand,\n onClose,\n actionLabel,\n onActionClick,\n actionActive = false,\n className = '',\n}: RightSidebarHeaderProps) {\n const rootClass = [styles['right-sidebar-header'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div className={styles['right-sidebar-header__left']}>\n <div className={styles['right-sidebar-header__primary']}>\n {onBack && (\n <IconButton\n className={styles['right-sidebar-header__back']}\n size=\"small\"\n aria-label=\"Back\"\n onClick={onBack}\n icon={<Icon size=\"16\" glyph={<ArrowBackIosIcon />} />}\n />\n )}\n {leadingIcon && (\n <span className={styles['right-sidebar-header__leading-icon']}>\n {leadingIcon}\n </span>\n )}\n <span className={styles['right-sidebar-header__title']}>{title}</span>\n {tag && (\n <span className={styles['right-sidebar-header__tag']}>\n <Tag\n label={tag}\n type={tagType}\n size=\"x-small\"\n casing=\"all-caps\"\n />\n </span>\n )}\n </div>\n {secondaryTitle && (\n <div className={styles['right-sidebar-header__secondary']}>\n <span className={styles['right-sidebar-header__secondary-text']}>\n {secondaryTitle}\n </span>\n </div>\n )}\n </div>\n\n <div className={styles['right-sidebar-header__actions']}>\n {actionLabel && (\n <button\n type=\"button\"\n className={[\n styles['right-sidebar-header__action'],\n actionActive\n ? styles['right-sidebar-header__action--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onActionClick}\n aria-pressed={actionActive ? true : undefined}\n >\n {actionLabel}\n </button>\n )}\n {onExpand && (\n <IconButton\n size=\"small\"\n aria-label=\"Expand\"\n onClick={onExpand}\n icon={<Icon size=\"16\" glyph={<ArrowExpandIcon />} />}\n />\n )}\n {onClose && (\n <IconButton\n size=\"small\"\n aria-label=\"Close\"\n onClick={onClose}\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["RightSidebarHeader","title","secondaryTitle","tag","tagType","leadingIcon","onBack","onExpand","onClose","actionLabel","onActionClick","actionActive","className","rootClass","styles","jsxs","jsx","IconButton","Icon","ArrowBackIosIcon","Tag","ArrowExpandIcon","CloseIcon"],"mappings":"+dAoCA,SAAwBA,EAAmB,CACzC,MAAAC,EACA,eAAAC,EACA,IAAAC,EACA,QAAAC,EAAU,OACV,YAAAC,EACA,OAAAC,EACA,SAAAC,EACA,QAAAC,EACA,YAAAC,EACA,cAAAC,EACA,aAAAC,EAAe,GACf,UAAAC,EAAY,EACd,EAA4B,CAC1B,MAAMC,EAAY,CAACC,UAAO,sBAAsB,EAAGF,CAAS,EACzD,OAAO,OAAO,EACd,KAAK,GAAG,EAEX,OACEG,EAAAA,KAAC,MAAA,CAAI,UAAWF,EACd,SAAA,CAAAE,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,4BAA4B,EACjD,SAAA,CAAAC,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,+BAA+B,EACnD,SAAA,CAAAR,GACCU,EAAAA,IAACC,EAAAA,QAAA,CACC,UAAWH,EAAAA,QAAO,4BAA4B,EAC9C,KAAK,QACL,aAAW,OACX,QAASR,EAC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A,CAAA,CAC9C,CAAA,CAEJ,CAAA,EACF,CAEJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TagType } from '
|
|
2
|
+
import { TagType } from '../tag/Tag';
|
|
3
3
|
export interface RightSidebarHeaderProps {
|
|
4
4
|
/** Primary title text. */
|
|
5
5
|
title: string;
|
|
@@ -9,7 +9,7 @@ export interface RightSidebarHeaderProps {
|
|
|
9
9
|
tag?: string;
|
|
10
10
|
/** Tag visual style. Default: Info. */
|
|
11
11
|
tagType?: TagType;
|
|
12
|
-
/** Optional leading element shown before the title — typically a UserAvatar or Icon. */
|
|
12
|
+
/** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size="20" />` to align with the title text. */
|
|
13
13
|
leadingIcon?: ReactNode;
|
|
14
14
|
/** When set, shows a back button and calls this on click. */
|
|
15
15
|
onBack?: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RightSidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,WAAW,uBAAuB;IACtC,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+LAA+L;IAC/L,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,KAAK,EACL,cAAc,EACd,GAAG,EACH,OAAgB,EAChB,WAAW,EACX,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,aAAa,EACb,YAAoB,EACpB,SAAc,GACf,EAAE,uBAAuB,2CAiFzB"}
|
|
@@ -2,9 +2,9 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import __N from "@mattermost/compass-icons/components/arrow-back-ios.js";const N=__N&&__N.default?__N.default:__N;
|
|
3
3
|
import __y from "@mattermost/compass-icons/components/arrow-expand.js";const y=__y&&__y.default?__y.default:__y;
|
|
4
4
|
import __u from "@mattermost/compass-icons/components/close.js";const u=__u&&__u.default?__u.default:__u;
|
|
5
|
-
import i from "
|
|
6
|
-
import s from "
|
|
7
|
-
import z from "
|
|
5
|
+
import i from "../icon/Icon.js";
|
|
6
|
+
import s from "../icon-button/IconButton.js";
|
|
7
|
+
import z from "../tag/Tag.js";
|
|
8
8
|
import a from "./RightSidebarHeader.module.scss.js";
|
|
9
9
|
function A({
|
|
10
10
|
title: p,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RightSidebarHeader.js","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ArrowBackIosIcon from '@mattermost/compass-icons/components/arrow-back-ios';\nimport ArrowExpandIcon from '@mattermost/compass-icons/components/arrow-expand';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport type { TagType } from '@/components/tag/Tag';\nimport styles from './RightSidebarHeader.module.scss';\n\nexport interface RightSidebarHeaderProps {\n /** Primary title text. */\n title: string;\n /** Secondary title shown to the right of a vertical divider (e.g. parent channel name). */\n secondaryTitle?: string;\n /** Optional tag rendered next to the title (e.g. \"BETA\"). */\n tag?: string;\n /** Tag visual style. Default: Info. */\n tagType?: TagType;\n /** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size=\"20\" />` to align with the title text. */\n leadingIcon?: ReactNode;\n /** When set, shows a back button and calls this on click. */\n onBack?: () => void;\n /** When set, shows an expand button and calls this on click. */\n onExpand?: () => void;\n /** When set, shows a close button and calls this on click. */\n onClose?: () => void;\n /** Optional inline action label (e.g. \"Follow\"). */\n actionLabel?: string;\n /** Click handler for the action label. */\n onActionClick?: () => void;\n /** When true, the action button shows in its active state. */\n actionActive?: boolean;\n className?: string;\n}\n\nexport default function RightSidebarHeader({\n title,\n secondaryTitle,\n tag,\n tagType = 'info',\n leadingIcon,\n onBack,\n onExpand,\n onClose,\n actionLabel,\n onActionClick,\n actionActive = false,\n className = '',\n}: RightSidebarHeaderProps) {\n const rootClass = [styles['right-sidebar-header'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div className={styles['right-sidebar-header__left']}>\n <div className={styles['right-sidebar-header__primary']}>\n {onBack && (\n <IconButton\n className={styles['right-sidebar-header__back']}\n size=\"small\"\n aria-label=\"Back\"\n onClick={onBack}\n icon={<Icon size=\"16\" glyph={<ArrowBackIosIcon />} />}\n />\n )}\n {leadingIcon && (\n <span className={styles['right-sidebar-header__leading-icon']}>\n {leadingIcon}\n </span>\n )}\n <span className={styles['right-sidebar-header__title']}>{title}</span>\n {tag && (\n <span className={styles['right-sidebar-header__tag']}>\n <Tag\n label={tag}\n type={tagType}\n size=\"x-small\"\n casing=\"all-caps\"\n />\n </span>\n )}\n </div>\n {secondaryTitle && (\n <div className={styles['right-sidebar-header__secondary']}>\n <span className={styles['right-sidebar-header__secondary-text']}>\n {secondaryTitle}\n </span>\n </div>\n )}\n </div>\n\n <div className={styles['right-sidebar-header__actions']}>\n {actionLabel && (\n <button\n type=\"button\"\n className={[\n styles['right-sidebar-header__action'],\n actionActive\n ? styles['right-sidebar-header__action--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onActionClick}\n aria-pressed={actionActive ? true : undefined}\n >\n {actionLabel}\n </button>\n )}\n {onExpand && (\n <IconButton\n size=\"small\"\n aria-label=\"Expand\"\n onClick={onExpand}\n icon={<Icon size=\"16\" glyph={<ArrowExpandIcon />} />}\n />\n )}\n {onClose && (\n <IconButton\n size=\"small\"\n aria-label=\"Close\"\n onClick={onClose}\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["RightSidebarHeader","title","secondaryTitle","tag","tagType","leadingIcon","onBack","onExpand","onClose","actionLabel","onActionClick","actionActive","className","rootClass","styles","jsxs","jsx","IconButton","Icon","ArrowBackIosIcon","Tag","ArrowExpandIcon","CloseIcon"],"mappings":";;;;;;;;AAoCA,SAAwBA,EAAmB;AAAA,EACzC,OAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,KAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,aAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,WAAAC,IAAY;AACd,GAA4B;AAC1B,QAAMC,IAAY,CAACC,EAAO,sBAAsB,GAAGF,CAAS,EACzD,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAG,EAAC,OAAA,EAAI,WAAWF,GACd,UAAA;AAAA,IAAA,gBAAAE,EAAC,OAAA,EAAI,WA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,UAAAF;AAAA,QAAA;AAAA,MAAA;AAAA,MAGJF,KACC,gBAAAS;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAASV;AAAA,UACT,wBAAOW,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAF,EAACK,KAAgB,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,MAGrDb,KACC,gBAAAQ;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAAST;AAAA,UACT,wBAAOU,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAF,EAACM,KAAU,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,IAC9C,EAAA,CAEJ;AAAA,EAAA,GACF;AAEJ;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._right-sidebar-header_11chd_2{display:flex;align-items:center;gap:var(--spacing-l);height:56px;padding:var(--spacing-m);background-color:var(--center-channel-bg);border-bottom:1px solid rgba(var(--center-channel-color-rgb),.12);box-sizing:border-box}._right-sidebar-header__left_11chd_12{display:flex;flex:1 1 0;min-width:0;align-items:center}._right-sidebar-header__primary_11chd_18{display:flex;align-items:center;gap:var(--spacing-xxs);padding:0 var(--spacing-xs);min-width:0}._right-sidebar-header__back_11chd_25{margin-left:-12px}._right-sidebar-header__leading-icon_11chd_28{display:inline-flex;align-items:center;flex-shrink:0}._right-sidebar-header__tag_11chd_33{display:inline-flex;align-items:center}._right-sidebar-header__title_11chd_37{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);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._right-sidebar-header__secondary_11chd_47{display:flex;flex:1 1 0;min-width:0;align-items:center;padding:0 var(--spacing-xs);border-left:1px solid rgba(var(--center-channel-color-rgb),.16)}._right-sidebar-header__secondary-text_11chd_55{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-regular);line-height:var(--line-height-200);color:rgba(var(--center-channel-color-rgb),.56);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._right-sidebar-header__actions_11chd_65{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0}._right-sidebar-header__action_11chd_65{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:var(--spacing-xxxxs) var(--spacing-s);border:none;border-radius:var(--radius-s);background-color:transparent;font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.64);cursor:pointer;transition:background-color var(--duration-quick) var(--ease-transition),color var(--duration-quick) var(--ease-transition)}._right-sidebar-header__action_11chd_65:hover{background-color:rgba(var(--center-channel-color-rgb),.08);color:rgba(var(--center-channel-color-rgb),.75)}._right-sidebar-header__action_11chd_65:active{background-color:rgba(var(--center-channel-color-rgb),.12)}._right-sidebar-header__action_11chd_65:focus-visible{outline:none;box-shadow:0 0 0 2px var(--button-bg)}._right-sidebar-header__action--active_11chd_99{background-color:rgba(var(--center-channel-color-rgb),.08);color:var(--center-channel-color)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./RightSidebarHeader.module.css');const e={"right-sidebar-header":"_right-sidebar-header_11chd_2","right-sidebar-header__left":"_right-sidebar-header__left_11chd_12","right-sidebar-header__primary":"_right-sidebar-header__primary_11chd_18","right-sidebar-header__back":"_right-sidebar-header__back_11chd_25","right-sidebar-header__leading-icon":"_right-sidebar-header__leading-icon_11chd_28","right-sidebar-header__tag":"_right-sidebar-header__tag_11chd_33","right-sidebar-header__title":"_right-sidebar-header__title_11chd_37","right-sidebar-header__secondary":"_right-sidebar-header__secondary_11chd_47","right-sidebar-header__secondary-text":"_right-sidebar-header__secondary-text_11chd_55","right-sidebar-header__actions":"_right-sidebar-header__actions_11chd_65","right-sidebar-header__action":"_right-sidebar-header__action_11chd_65","right-sidebar-header__action--active":"_right-sidebar-header__action--active_11chd_99"};exports.default=e;
|
|
2
|
+
//# sourceMappingURL=RightSidebarHeader.module.scss.cjs.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import './RightSidebarHeader.module.css';const e = {
|
|
2
|
-
"right-sidebar-header": "_right-sidebar-
|
|
3
|
-
"right-sidebar-header__left": "_right-sidebar-
|
|
4
|
-
"right-sidebar-header__primary": "_right-sidebar-
|
|
5
|
-
"right-sidebar-header__back": "_right-sidebar-
|
|
6
|
-
"right-sidebar-header__leading-icon": "_right-sidebar-header__leading-
|
|
7
|
-
"right-sidebar-header__tag": "_right-sidebar-
|
|
8
|
-
"right-sidebar-header__title": "_right-sidebar-
|
|
9
|
-
"right-sidebar-header__secondary": "_right-sidebar-
|
|
10
|
-
"right-sidebar-header__secondary-text": "_right-sidebar-header__secondary-
|
|
11
|
-
"right-sidebar-header__actions": "_right-sidebar-
|
|
12
|
-
"right-sidebar-header__action": "_right-sidebar-
|
|
13
|
-
"right-sidebar-header__action--active": "_right-sidebar-header__action--
|
|
2
|
+
"right-sidebar-header": "_right-sidebar-header_11chd_2",
|
|
3
|
+
"right-sidebar-header__left": "_right-sidebar-header__left_11chd_12",
|
|
4
|
+
"right-sidebar-header__primary": "_right-sidebar-header__primary_11chd_18",
|
|
5
|
+
"right-sidebar-header__back": "_right-sidebar-header__back_11chd_25",
|
|
6
|
+
"right-sidebar-header__leading-icon": "_right-sidebar-header__leading-icon_11chd_28",
|
|
7
|
+
"right-sidebar-header__tag": "_right-sidebar-header__tag_11chd_33",
|
|
8
|
+
"right-sidebar-header__title": "_right-sidebar-header__title_11chd_37",
|
|
9
|
+
"right-sidebar-header__secondary": "_right-sidebar-header__secondary_11chd_47",
|
|
10
|
+
"right-sidebar-header__secondary-text": "_right-sidebar-header__secondary-text_11chd_55",
|
|
11
|
+
"right-sidebar-header__actions": "_right-sidebar-header__actions_11chd_65",
|
|
12
|
+
"right-sidebar-header__action": "_right-sidebar-header__action_11chd_65",
|
|
13
|
+
"right-sidebar-header__action--active": "_right-sidebar-header__action--active_11chd_99"
|
|
14
14
|
};
|
|
15
15
|
export {
|
|
16
16
|
e as default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/right-sidebar-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|