@mattermost/compass-ui 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -0
- package/dist/compass-ui-standalone.css +62 -0
- package/dist/compass-ui.css +508 -0
- package/dist/components/ActionButton/ActionButton.d.ts +9 -0
- package/dist/components/ActionButton/ActionButton.d.ts.map +1 -0
- package/dist/components/ActionButton/index.d.ts +3 -0
- package/dist/components/ActionButton/index.d.ts.map +1 -0
- package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts +20 -0
- package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts.map +1 -0
- package/dist/components/AdminConsoleHeader/index.d.ts +3 -0
- package/dist/components/AdminConsoleHeader/index.d.ts.map +1 -0
- package/dist/components/AdminConsoleSidebar/AdminConsoleSidebar.d.ts +12 -0
- package/dist/components/AdminConsoleSidebar/AdminConsoleSidebar.d.ts.map +1 -0
- package/dist/components/AdminConsoleSidebar/adminConsoleSidebarModel.d.ts +14 -0
- package/dist/components/AdminConsoleSidebar/adminConsoleSidebarModel.d.ts.map +1 -0
- package/dist/components/AdminConsoleSidebar/index.d.ts +4 -0
- package/dist/components/AdminConsoleSidebar/index.d.ts.map +1 -0
- package/dist/components/AdminPanel/AdminPanel.d.ts +35 -0
- package/dist/components/AdminPanel/AdminPanel.d.ts.map +1 -0
- package/dist/components/AdminPanel/index.d.ts +3 -0
- package/dist/components/AdminPanel/index.d.ts.map +1 -0
- package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts +18 -0
- package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts.map +1 -0
- package/dist/components/AdminPanelFooter/index.d.ts +3 -0
- package/dist/components/AdminPanelFooter/index.d.ts.map +1 -0
- package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts +38 -0
- package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts.map +1 -0
- package/dist/components/AdminPanelHeader/index.d.ts +3 -0
- package/dist/components/AdminPanelHeader/index.d.ts.map +1 -0
- package/dist/components/AppBarItem/AppBarItem.d.ts +24 -0
- package/dist/components/AppBarItem/AppBarItem.d.ts.map +1 -0
- package/dist/components/AppBarItem/index.d.ts +3 -0
- package/dist/components/AppBarItem/index.d.ts.map +1 -0
- package/dist/components/AttachmentCard/AttachmentCard.d.ts +29 -0
- package/dist/components/AttachmentCard/AttachmentCard.d.ts.map +1 -0
- package/dist/components/AttachmentCard/index.d.ts +3 -0
- package/dist/components/AttachmentCard/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +30 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/ChannelCategoryMenu/ChannelCategoryMenu.d.ts +10 -0
- package/dist/components/ChannelCategoryMenu/ChannelCategoryMenu.d.ts.map +1 -0
- package/dist/components/ChannelCategoryMenu/index.d.ts +3 -0
- package/dist/components/ChannelCategoryMenu/index.d.ts.map +1 -0
- package/dist/components/ChannelHeader/ChannelHeader.d.ts +37 -0
- package/dist/components/ChannelHeader/ChannelHeader.d.ts.map +1 -0
- package/dist/components/ChannelHeader/index.d.ts +3 -0
- package/dist/components/ChannelHeader/index.d.ts.map +1 -0
- package/dist/components/ChannelHeaderMenu/ChannelHeaderMenu.d.ts +8 -0
- package/dist/components/ChannelHeaderMenu/ChannelHeaderMenu.d.ts.map +1 -0
- package/dist/components/ChannelHeaderMenu/index.d.ts +3 -0
- package/dist/components/ChannelHeaderMenu/index.d.ts.map +1 -0
- package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts +38 -0
- package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts.map +1 -0
- package/dist/components/ChannelInfoMsgHeader/index.d.ts +3 -0
- package/dist/components/ChannelInfoMsgHeader/index.d.ts.map +1 -0
- package/dist/components/ChannelMenu/ChannelMenu.d.ts +8 -0
- package/dist/components/ChannelMenu/ChannelMenu.d.ts.map +1 -0
- package/dist/components/ChannelMenu/index.d.ts +3 -0
- package/dist/components/ChannelMenu/index.d.ts.map +1 -0
- package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts +39 -0
- package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts.map +1 -0
- package/dist/components/ChannelSidebarItem/index.d.ts +3 -0
- package/dist/components/ChannelSidebarItem/index.d.ts.map +1 -0
- package/dist/components/ChannelsSidebar/ChannelsSidebar.d.ts +57 -0
- package/dist/components/ChannelsSidebar/ChannelsSidebar.d.ts.map +1 -0
- package/dist/components/ChannelsSidebar/channelsSidebarModel.d.ts +22 -0
- package/dist/components/ChannelsSidebar/channelsSidebarModel.d.ts.map +1 -0
- package/dist/components/ChannelsSidebar/index.d.ts +5 -0
- package/dist/components/ChannelsSidebar/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +26 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +3 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/Chip/Chip.d.ts +26 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/index.d.ts +3 -0
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +52 -0
- package/dist/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/components/Combobox/index.d.ts +3 -0
- package/dist/components/Combobox/index.d.ts.map +1 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +29 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/dist/components/DateRangePicker/index.d.ts +3 -0
- package/dist/components/DateRangePicker/index.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +2 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +3 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +29 -0
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/Dropdown/index.d.ts +3 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/Emoji/Emoji.d.ts +14 -0
- package/dist/components/Emoji/Emoji.d.ts.map +1 -0
- package/dist/components/Emoji/index.d.ts +3 -0
- package/dist/components/Emoji/index.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +23 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +3 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +12 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/dist/components/ErrorMessage/index.d.ts +3 -0
- package/dist/components/ErrorMessage/index.d.ts.map +1 -0
- package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts +26 -0
- package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts.map +1 -0
- package/dist/components/FeatureDiscoveryPanel/index.d.ts +3 -0
- package/dist/components/FeatureDiscoveryPanel/index.d.ts.map +1 -0
- package/dist/components/GlobalBanner/GlobalBanner.d.ts +25 -0
- package/dist/components/GlobalBanner/GlobalBanner.d.ts.map +1 -0
- package/dist/components/GlobalBanner/index.d.ts +3 -0
- package/dist/components/GlobalBanner/index.d.ts.map +1 -0
- package/dist/components/GlobalHeader/GlobalHeader.d.ts +28 -0
- package/dist/components/GlobalHeader/GlobalHeader.d.ts.map +1 -0
- package/dist/components/GlobalHeader/index.d.ts +3 -0
- package/dist/components/GlobalHeader/index.d.ts.map +1 -0
- package/dist/components/HelpMenu/HelpMenu.d.ts +8 -0
- package/dist/components/HelpMenu/HelpMenu.d.ts.map +1 -0
- package/dist/components/HelpMenu/index.d.ts +3 -0
- package/dist/components/HelpMenu/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +30 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +3 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/IconButton/IconButton.d.ts +40 -0
- package/dist/components/IconButton/IconButton.d.ts.map +1 -0
- package/dist/components/IconButton/index.d.ts +3 -0
- package/dist/components/IconButton/index.d.ts.map +1 -0
- package/dist/components/Illustration/Illustration.d.ts +23 -0
- package/dist/components/Illustration/Illustration.d.ts.map +1 -0
- package/dist/components/Illustration/index.d.ts +3 -0
- package/dist/components/Illustration/index.d.ts.map +1 -0
- package/dist/components/ImagePreview/ImagePreview.d.ts +26 -0
- package/dist/components/ImagePreview/ImagePreview.d.ts.map +1 -0
- package/dist/components/ImagePreview/index.d.ts +3 -0
- package/dist/components/ImagePreview/index.d.ts.map +1 -0
- package/dist/components/LinkPreview/LinkPreview.d.ts +33 -0
- package/dist/components/LinkPreview/LinkPreview.d.ts.map +1 -0
- package/dist/components/LinkPreview/index.d.ts +3 -0
- package/dist/components/LinkPreview/index.d.ts.map +1 -0
- package/dist/components/MentionBadge/MentionBadge.d.ts +22 -0
- package/dist/components/MentionBadge/MentionBadge.d.ts.map +1 -0
- package/dist/components/MentionBadge/index.d.ts +3 -0
- package/dist/components/MentionBadge/index.d.ts.map +1 -0
- package/dist/components/MenuItem/MenuItem.d.ts +34 -0
- package/dist/components/MenuItem/MenuItem.d.ts.map +1 -0
- package/dist/components/MenuItem/index.d.ts +3 -0
- package/dist/components/MenuItem/index.d.ts.map +1 -0
- package/dist/components/Message/Message.d.ts +34 -0
- package/dist/components/Message/Message.d.ts.map +1 -0
- package/dist/components/Message/index.d.ts +3 -0
- package/dist/components/Message/index.d.ts.map +1 -0
- package/dist/components/MessageActions/MessageActions.d.ts +20 -0
- package/dist/components/MessageActions/MessageActions.d.ts.map +1 -0
- package/dist/components/MessageActions/index.d.ts +3 -0
- package/dist/components/MessageActions/index.d.ts.map +1 -0
- package/dist/components/MessageHeader/MessageHeader.d.ts +9 -0
- package/dist/components/MessageHeader/MessageHeader.d.ts.map +1 -0
- package/dist/components/MessageHeader/index.d.ts +3 -0
- package/dist/components/MessageHeader/index.d.ts.map +1 -0
- package/dist/components/MessageInput/MessageInput.d.ts +15 -0
- package/dist/components/MessageInput/MessageInput.d.ts.map +1 -0
- package/dist/components/MessageInput/index.d.ts +3 -0
- package/dist/components/MessageInput/index.d.ts.map +1 -0
- package/dist/components/MessageMoreOptionsMenu/MessageMoreOptionsMenu.d.ts +12 -0
- package/dist/components/MessageMoreOptionsMenu/MessageMoreOptionsMenu.d.ts.map +1 -0
- package/dist/components/MessageMoreOptionsMenu/index.d.ts +3 -0
- package/dist/components/MessageMoreOptionsMenu/index.d.ts.map +1 -0
- package/dist/components/MessageReactions/MessageReactions.d.ts +34 -0
- package/dist/components/MessageReactions/MessageReactions.d.ts.map +1 -0
- package/dist/components/MessageReactions/index.d.ts +3 -0
- package/dist/components/MessageReactions/index.d.ts.map +1 -0
- package/dist/components/MessageSeparator/MessageSeparator.d.ts +20 -0
- package/dist/components/MessageSeparator/MessageSeparator.d.ts.map +1 -0
- package/dist/components/MessageSeparator/index.d.ts +3 -0
- package/dist/components/MessageSeparator/index.d.ts.map +1 -0
- package/dist/components/Modal/Modal.d.ts +26 -0
- package/dist/components/Modal/Modal.d.ts.map +1 -0
- package/dist/components/Modal/index.d.ts +3 -0
- package/dist/components/Modal/index.d.ts.map +1 -0
- package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts +18 -0
- package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts.map +1 -0
- package/dist/components/MoreUnreadsBanner/index.d.ts +3 -0
- package/dist/components/MoreUnreadsBanner/index.d.ts.map +1 -0
- package/dist/components/NewMessageBanner/NewMessageBanner.d.ts +20 -0
- package/dist/components/NewMessageBanner/NewMessageBanner.d.ts.map +1 -0
- package/dist/components/NewMessageBanner/index.d.ts +3 -0
- package/dist/components/NewMessageBanner/index.d.ts.map +1 -0
- package/dist/components/PaginationDots/PaginationDots.d.ts +24 -0
- package/dist/components/PaginationDots/PaginationDots.d.ts.map +1 -0
- package/dist/components/PaginationDots/index.d.ts +3 -0
- package/dist/components/PaginationDots/index.d.ts.map +1 -0
- package/dist/components/PermalinkPreview/PermalinkPreview.d.ts +23 -0
- package/dist/components/PermalinkPreview/PermalinkPreview.d.ts.map +1 -0
- package/dist/components/PermalinkPreview/index.d.ts +3 -0
- package/dist/components/PermalinkPreview/index.d.ts.map +1 -0
- package/dist/components/PinnedSavedIndicators/PinnedSavedIndicators.d.ts +9 -0
- package/dist/components/PinnedSavedIndicators/PinnedSavedIndicators.d.ts.map +1 -0
- package/dist/components/PinnedSavedIndicators/index.d.ts +3 -0
- package/dist/components/PinnedSavedIndicators/index.d.ts.map +1 -0
- package/dist/components/PlusMenu/PlusMenu.d.ts +8 -0
- package/dist/components/PlusMenu/PlusMenu.d.ts.map +1 -0
- package/dist/components/PlusMenu/index.d.ts +3 -0
- package/dist/components/PlusMenu/index.d.ts.map +1 -0
- package/dist/components/PopoverMenu/PopoverMenu.d.ts +43 -0
- package/dist/components/PopoverMenu/PopoverMenu.d.ts.map +1 -0
- package/dist/components/PopoverMenu/index.d.ts +5 -0
- package/dist/components/PopoverMenu/index.d.ts.map +1 -0
- package/dist/components/PopoverNotice/PopoverNotice.d.ts +32 -0
- package/dist/components/PopoverNotice/PopoverNotice.d.ts.map +1 -0
- package/dist/components/PopoverNotice/index.d.ts +3 -0
- package/dist/components/PopoverNotice/index.d.ts.map +1 -0
- package/dist/components/ProductSwitcherMenu/ProductSwitcherMenu.d.ts +47 -0
- package/dist/components/ProductSwitcherMenu/ProductSwitcherMenu.d.ts.map +1 -0
- package/dist/components/ProductSwitcherMenu/index.d.ts +4 -0
- package/dist/components/ProductSwitcherMenu/index.d.ts.map +1 -0
- package/dist/components/ProfilePopover/ProfilePopover.d.ts +82 -0
- package/dist/components/ProfilePopover/ProfilePopover.d.ts.map +1 -0
- package/dist/components/ProfilePopover/index.d.ts +3 -0
- package/dist/components/ProfilePopover/index.d.ts.map +1 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +23 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/components/ProgressBar/index.d.ts +3 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +23 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +3 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/ReactionPill/ReactionPill.d.ts +23 -0
- package/dist/components/ReactionPill/ReactionPill.d.ts.map +1 -0
- package/dist/components/ReactionPill/index.d.ts +3 -0
- package/dist/components/ReactionPill/index.d.ts.map +1 -0
- package/dist/components/RightSidebar/RightSidebar.d.ts +23 -0
- package/dist/components/RightSidebar/RightSidebar.d.ts.map +1 -0
- package/dist/components/RightSidebar/RightSidebarHeader/RightSidebarHeader.d.ts +29 -0
- package/dist/components/RightSidebar/RightSidebarHeader/RightSidebarHeader.d.ts.map +1 -0
- package/dist/components/RightSidebar/RightSidebarHeader/index.d.ts +3 -0
- package/dist/components/RightSidebar/RightSidebarHeader/index.d.ts.map +1 -0
- package/dist/components/RightSidebar/index.d.ts +5 -0
- package/dist/components/RightSidebar/index.d.ts.map +1 -0
- package/dist/components/Scrollbar/Scrollbar.d.ts +34 -0
- package/dist/components/Scrollbar/Scrollbar.d.ts.map +1 -0
- package/dist/components/Scrollbar/index.d.ts +3 -0
- package/dist/components/Scrollbar/index.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +20 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/components/SearchInput/index.d.ts +3 -0
- package/dist/components/SearchInput/index.d.ts.map +1 -0
- package/dist/components/SearchTipBanner/SearchTipBanner.d.ts +24 -0
- package/dist/components/SearchTipBanner/SearchTipBanner.d.ts.map +1 -0
- package/dist/components/SearchTipBanner/index.d.ts +3 -0
- package/dist/components/SearchTipBanner/index.d.ts.map +1 -0
- package/dist/components/SectionNotice/SectionNotice.d.ts +31 -0
- package/dist/components/SectionNotice/SectionNotice.d.ts.map +1 -0
- package/dist/components/SectionNotice/index.d.ts +3 -0
- package/dist/components/SectionNotice/index.d.ts.map +1 -0
- package/dist/components/Select/Select.d.ts +39 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/index.d.ts +3 -0
- package/dist/components/Select/index.d.ts.map +1 -0
- package/dist/components/ShortcutTag/ShortcutTag.d.ts +26 -0
- package/dist/components/ShortcutTag/ShortcutTag.d.ts.map +1 -0
- package/dist/components/ShortcutTag/index.d.ts +3 -0
- package/dist/components/ShortcutTag/index.d.ts.map +1 -0
- package/dist/components/Spinner/Spinner.d.ts +9 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -0
- package/dist/components/Spinner/index.d.ts +3 -0
- package/dist/components/Spinner/index.d.ts.map +1 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts +20 -0
- package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -0
- package/dist/components/StatusBadge/index.d.ts +3 -0
- package/dist/components/StatusBadge/index.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +28 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +3 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs.d.ts +29 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/Tabs/index.d.ts +3 -0
- package/dist/components/Tabs/index.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts +24 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -0
- package/dist/components/Tag/index.d.ts +3 -0
- package/dist/components/Tag/index.d.ts.map +1 -0
- package/dist/components/TeamAvatar/TeamAvatar.d.ts +13 -0
- package/dist/components/TeamAvatar/TeamAvatar.d.ts.map +1 -0
- package/dist/components/TeamAvatar/index.d.ts +3 -0
- package/dist/components/TeamAvatar/index.d.ts.map +1 -0
- package/dist/components/TeamMenu/TeamMenu.d.ts +15 -0
- package/dist/components/TeamMenu/TeamMenu.d.ts.map +1 -0
- package/dist/components/TeamMenu/index.d.ts +3 -0
- package/dist/components/TeamMenu/index.d.ts.map +1 -0
- package/dist/components/TeamSidebar/TeamSidebar.d.ts +21 -0
- package/dist/components/TeamSidebar/TeamSidebar.d.ts.map +1 -0
- package/dist/components/TeamSidebar/index.d.ts +3 -0
- package/dist/components/TeamSidebar/index.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.d.ts +26 -0
- package/dist/components/TextArea/TextArea.d.ts.map +1 -0
- package/dist/components/TextArea/index.d.ts +3 -0
- package/dist/components/TextArea/index.d.ts.map +1 -0
- package/dist/components/TextInput/TextInput.d.ts +30 -0
- package/dist/components/TextInput/TextInput.d.ts.map +1 -0
- package/dist/components/TextInput/index.d.ts +3 -0
- package/dist/components/TextInput/index.d.ts.map +1 -0
- package/dist/components/ThreadActionsMenu/ThreadActionsMenu.d.ts +8 -0
- package/dist/components/ThreadActionsMenu/ThreadActionsMenu.d.ts.map +1 -0
- package/dist/components/ThreadActionsMenu/index.d.ts +3 -0
- package/dist/components/ThreadActionsMenu/index.d.ts.map +1 -0
- package/dist/components/ThreadFooter/ThreadFooter.d.ts +33 -0
- package/dist/components/ThreadFooter/ThreadFooter.d.ts.map +1 -0
- package/dist/components/ThreadFooter/index.d.ts +3 -0
- package/dist/components/ThreadFooter/index.d.ts.map +1 -0
- package/dist/components/ThreadListItem/ThreadListItem.d.ts +37 -0
- package/dist/components/ThreadListItem/ThreadListItem.d.ts.map +1 -0
- package/dist/components/ThreadListItem/index.d.ts +4 -0
- package/dist/components/ThreadListItem/index.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts +11 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +3 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +25 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/Tooltip/index.d.ts +3 -0
- package/dist/components/Tooltip/index.d.ts.map +1 -0
- package/dist/components/TourPoint/TourPoint.d.ts +31 -0
- package/dist/components/TourPoint/TourPoint.d.ts.map +1 -0
- package/dist/components/TourPoint/index.d.ts +3 -0
- package/dist/components/TourPoint/index.d.ts.map +1 -0
- package/dist/components/UnreadBadge/UnreadBadge.d.ts +21 -0
- package/dist/components/UnreadBadge/UnreadBadge.d.ts.map +1 -0
- package/dist/components/UnreadBadge/index.d.ts +3 -0
- package/dist/components/UnreadBadge/index.d.ts.map +1 -0
- package/dist/components/UserAvatar/UserAvatar.d.ts +39 -0
- package/dist/components/UserAvatar/UserAvatar.d.ts.map +1 -0
- package/dist/components/UserAvatar/index.d.ts +3 -0
- package/dist/components/UserAvatar/index.d.ts.map +1 -0
- package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts +29 -0
- package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts.map +1 -0
- package/dist/components/UserAvatarGroup/index.d.ts +3 -0
- package/dist/components/UserAvatarGroup/index.d.ts.map +1 -0
- package/dist/hooks/useAnchoredPopupPortal.d.ts +38 -0
- package/dist/hooks/useAnchoredPopupPortal.d.ts.map +1 -0
- package/dist/hooks/useControllable.d.ts +13 -0
- package/dist/hooks/useControllable.d.ts.map +1 -0
- package/dist/hooks/useExitAnimation.d.ts +11 -0
- package/dist/hooks/useExitAnimation.d.ts.map +1 -0
- package/dist/hooks/useOutsideClose.d.ts +17 -0
- package/dist/hooks/useOutsideClose.d.ts.map +1 -0
- package/dist/hooks/usePopoverTransition.d.ts +11 -0
- package/dist/hooks/usePopoverTransition.d.ts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +98 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7840 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/anchoredPopupPlacement.d.ts +76 -0
- package/dist/utils/anchoredPopupPlacement.d.ts.map +1 -0
- package/dist/utils/string.d.ts +7 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/package.json +80 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TagType } from '../../Tag/Tag';
|
|
3
|
+
export interface RightSidebarHeaderProps {
|
|
4
|
+
/** Primary title text. */
|
|
5
|
+
title: string;
|
|
6
|
+
/** Secondary title shown to the right of a vertical divider (e.g. parent channel name). */
|
|
7
|
+
secondaryTitle?: string;
|
|
8
|
+
/** Optional tag rendered next to the title (e.g. "BETA"). */
|
|
9
|
+
tag?: string;
|
|
10
|
+
/** Tag visual style. Default: Info. */
|
|
11
|
+
tagType?: TagType;
|
|
12
|
+
/** Optional leading element shown before the title — typically a UserAvatar or Icon. */
|
|
13
|
+
leadingIcon?: ReactNode;
|
|
14
|
+
/** When set, shows a back button and calls this on click. */
|
|
15
|
+
onBack?: () => void;
|
|
16
|
+
/** When set, shows an expand button and calls this on click. */
|
|
17
|
+
onExpand?: () => void;
|
|
18
|
+
/** When set, shows a close button and calls this on click. */
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
/** Optional inline action label (e.g. "Follow"). */
|
|
21
|
+
actionLabel?: string;
|
|
22
|
+
/** Click handler for the action label. */
|
|
23
|
+
onActionClick?: () => void;
|
|
24
|
+
/** When true, the action button shows in its active state. */
|
|
25
|
+
actionActive?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
export default function RightSidebarHeader({ title, secondaryTitle, tag, tagType, leadingIcon, onBack, onExpand, onClose, actionLabel, onActionClick, actionActive, className, }: RightSidebarHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=RightSidebarHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RightSidebarHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/RightSidebar/RightSidebarHeader/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,wFAAwF;IACxF,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/RightSidebar/RightSidebarHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as RightSidebar } from './RightSidebar';
|
|
2
|
+
export type { RightSidebarProps } from './RightSidebar';
|
|
3
|
+
export { default as RightSidebarHeader } from './RightSidebarHeader';
|
|
4
|
+
export type { RightSidebarHeaderProps } from './RightSidebarHeader';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/RightSidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAExD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface ScrollbarProps {
|
|
3
|
+
/** Scrollable content. */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* CSS variable name (including the leading `--`) for the thumb RGB triplet.
|
|
7
|
+
* Use this to recolor the thumb in dark surfaces (e.g. `--sidebar-text-rgb`).
|
|
8
|
+
* When omitted, the thumb uses `--center-channel-color-rgb`.
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Disable auto-hide; the thumb is visible whenever content overflows.
|
|
13
|
+
* Default: false (auto-hide).
|
|
14
|
+
*/
|
|
15
|
+
alwaysVisible?: boolean;
|
|
16
|
+
/** Class applied to the SimpleBar root. */
|
|
17
|
+
className?: string;
|
|
18
|
+
/** Inline style applied to the SimpleBar root. */
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
/** Scroll handler attached to the inner scrollable element. */
|
|
21
|
+
onScroll?: (e: Event) => void;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Scrollbar — wraps content in a SimpleBar overlay scroller.
|
|
25
|
+
*
|
|
26
|
+
* The forwarded ref points at the inner scrollable `<div>`, so consumers can
|
|
27
|
+
* call `.scrollTo(...)` or read `.scrollTop` for things like "scroll to item"
|
|
28
|
+
* or "more unreads above/below" indicators.
|
|
29
|
+
*
|
|
30
|
+
* @see https://compass.mattermost.com/29be2c109/p/88cb9c-scrollbars
|
|
31
|
+
*/
|
|
32
|
+
declare const Scrollbar: import('react').ForwardRefExoticComponent<ScrollbarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
33
|
+
export default Scrollbar;
|
|
34
|
+
//# sourceMappingURL=Scrollbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scrollbar.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollbar/Scrollbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,wCAAwC,CAAC;AAGhD,MAAM,WAAW,cAAc;IAC7B,0BAA0B;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kDAAkD;IAClD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CAC/B;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,SAAS,2GA6Cb,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Scrollbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type SearchInputSize = 'Small' | 'Medium' | 'Large';
|
|
3
|
+
export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
4
|
+
/** Optional CSS class name. */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Floating label (placeholder-style). Floats above border when filled. */
|
|
7
|
+
label?: ReactNode;
|
|
8
|
+
/** Size variant. Default: Medium. */
|
|
9
|
+
size?: SearchInputSize;
|
|
10
|
+
/** Called when the clear button is pressed. Omit to use built-in clearing. */
|
|
11
|
+
onClear?: () => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Search Input component — text input with leading magnifier icon.
|
|
15
|
+
* Used in global search bar, channel search, user search, and filter inputs.
|
|
16
|
+
* Matches Figma Search Input (State: Default/Focus/Filled × Size S/M/L).
|
|
17
|
+
*/
|
|
18
|
+
declare const SearchInput: import('react').ForwardRefExoticComponent<SearchInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
19
|
+
export default SearchInput;
|
|
20
|
+
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAezE,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAQ3D,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAC5C,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,MAAM,CAChB;IACC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qCAAqC;IACrC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;GAIG;AACH,QAAA,MAAM,WAAW,+GA4JhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ShortcutKey {
|
|
3
|
+
label: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SearchTipBannerProps {
|
|
6
|
+
/** Text shown before the shortcut keys. Default: "Tip: Try". */
|
|
7
|
+
prefix?: string;
|
|
8
|
+
/** Text shown after the shortcut keys. Default: "to search this channel". */
|
|
9
|
+
suffix?: string;
|
|
10
|
+
/** Keyboard shortcut keys to display. */
|
|
11
|
+
shortcutKeys?: ShortcutKey[];
|
|
12
|
+
/** Called when the dismiss button is clicked. */
|
|
13
|
+
onDismiss?: () => void;
|
|
14
|
+
/** Optional CSS class name. */
|
|
15
|
+
className?: string;
|
|
16
|
+
/** Custom content to replace the default tip content. */
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Search Tip Banner — dismissable hint banner showing keyboard shortcut tips.
|
|
21
|
+
* Used contextually to surface relevant keyboard shortcuts to users.
|
|
22
|
+
*/
|
|
23
|
+
export default function SearchTipBanner({ prefix, suffix, shortcutKeys, onDismiss, className, children, }: SearchTipBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=SearchTipBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchTipBanner.d.ts","sourceRoot":"","sources":["../../../src/components/SearchTipBanner/SearchTipBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,oBAAoB;IACnC,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yCAAyC;IACzC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,MAAmB,EACnB,MAAiC,EACjC,YAAmE,EACnE,SAAS,EACT,SAAc,EACd,QAAQ,GACT,EAAE,oBAAoB,2CA6BtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SearchTipBanner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,YAAY,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type SectionNoticeType = 'Info' | 'Warning' | 'Danger' | 'Success' | 'Hint';
|
|
3
|
+
export interface SectionNoticeProps {
|
|
4
|
+
/** Optional CSS class name. */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Type controls color-coding. Default: Info. */
|
|
7
|
+
type?: SectionNoticeType;
|
|
8
|
+
/** Optional leading icon. When omitted a default type icon is shown. */
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
/** Title / headline text. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Optional body description. */
|
|
13
|
+
description?: ReactNode;
|
|
14
|
+
/** Primary action button label. */
|
|
15
|
+
primaryButtonLabel?: string;
|
|
16
|
+
/** Primary action callback. */
|
|
17
|
+
onPrimaryAction?: () => void;
|
|
18
|
+
/** Secondary action button label. */
|
|
19
|
+
secondaryButtonLabel?: string;
|
|
20
|
+
/** Secondary action callback. */
|
|
21
|
+
onSecondaryAction?: () => void;
|
|
22
|
+
/** Called when dismiss (×) button is clicked. When omitted, dismiss button is hidden. */
|
|
23
|
+
onDismiss?: () => void;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Section Notice — in-context notice block for settings and admin panels.
|
|
27
|
+
* Color-coded by severity. Supports title, description, primary/secondary
|
|
28
|
+
* action buttons, and dismiss.
|
|
29
|
+
*/
|
|
30
|
+
export default function SectionNotice({ className, type, icon, title, description, primaryButtonLabel, onPrimaryAction, secondaryButtonLabel, onSecondaryAction, onDismiss, }: SectionNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=SectionNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionNotice.d.ts","sourceRoot":"","sources":["../../../src/components/SectionNotice/SectionNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWvC,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,CAAC;AAEX,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,wEAAwE;IACxE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+BAA+B;IAC/B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,qCAAqC;IACrC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iCAAiC;IACjC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAUD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,SAAc,EACd,IAAa,EACb,IAAI,EACJ,KAAK,EACL,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,GACV,EAAE,kBAAkB,2CA6DpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SectionNotice/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type SelectSize = 'Small' | 'Medium' | 'Large';
|
|
3
|
+
export type SelectOption = {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
leadingVisual?: ReactNode;
|
|
8
|
+
secondaryLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
export interface SelectProps {
|
|
11
|
+
options: SelectOption[];
|
|
12
|
+
value?: string;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
onChange?: (value: string) => void;
|
|
15
|
+
/** Shown on the trigger when no value is selected. Empty-value options are not listed in the menu. */
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
label?: ReactNode;
|
|
18
|
+
leadingIcon?: ReactNode;
|
|
19
|
+
size?: SelectSize;
|
|
20
|
+
invalid?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
id?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
className?: string;
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
/** Portal mount node for the menu; defaults to `document.body`. */
|
|
27
|
+
portalContainer?: HTMLElement | null;
|
|
28
|
+
/** Stacking order for the portaled menu. */
|
|
29
|
+
zIndex?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Select with floating label and PopoverMenu list.
|
|
33
|
+
* Field chrome matches Combobox / Text Input; list uses PopoverMenu + MenuItem.
|
|
34
|
+
*
|
|
35
|
+
* @see https://compass.mattermost.com (Select)
|
|
36
|
+
*/
|
|
37
|
+
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
38
|
+
export default Select;
|
|
39
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAuBtD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,sGAAsG;IACtG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,eAAe,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAqFD;;;;;GAKG;AACH,QAAA,MAAM,MAAM,2GAgUV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type ShortcutTagSize = 'Small' | 'Medium' | 'Large';
|
|
2
|
+
export type ShortcutTagLocation = 'Default' | 'Tooltips';
|
|
3
|
+
export type ShortcutTagProps = {
|
|
4
|
+
/** Key label (e.g. `⌘`, `Shift`, `K`). */
|
|
5
|
+
label: string;
|
|
6
|
+
size?: ShortcutTagSize;
|
|
7
|
+
/** Default for menus and light surfaces; Tooltips for dark overlays. */
|
|
8
|
+
location?: ShortcutTagLocation;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Keyboard shortcut key chip for menus, tooltips, and popovers.
|
|
13
|
+
*
|
|
14
|
+
* @see Figma Shortcut Tag (Source: xkm54Q9IQcyo3c0pGeNIMH)
|
|
15
|
+
*/
|
|
16
|
+
export default function ShortcutTag({ label, size, location, className, }: ShortcutTagProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export type ShortcutTagGroupProps = {
|
|
18
|
+
/** Individual key labels (e.g. `['Ctrl', 'K']`). */
|
|
19
|
+
labels: string[];
|
|
20
|
+
size?: ShortcutTagSize;
|
|
21
|
+
location?: ShortcutTagLocation;
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
/** Inline row of shortcut tags for prose and notice copy. */
|
|
25
|
+
export declare function ShortcutTagGroup({ labels, size, location, className, }: ShortcutTagGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=ShortcutTag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShortcutTag.d.ts","sourceRoot":"","sources":["../../../src/components/ShortcutTag/ShortcutTag.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAaF;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,KAAK,EACL,IAAc,EACd,QAAoB,EACpB,SAAc,GACf,EAAE,gBAAgB,2CAWlB;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,oDAAoD;IACpD,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,6DAA6D;AAC7D,wBAAgB,gBAAgB,CAAC,EAC/B,MAAM,EACN,IAAc,EACd,QAAoB,EACpB,SAAc,GACf,EAAE,qBAAqB,2CAiBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ShortcutTag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACzE,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAChB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export type SpinnerSize = 10 | 12 | 16 | 20 | 24 | 28 | 32;
|
|
3
|
+
export interface SpinnerProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'role'> {
|
|
4
|
+
size?: SpinnerSize;
|
|
5
|
+
inverted?: boolean;
|
|
6
|
+
'aria-label'?: string;
|
|
7
|
+
}
|
|
8
|
+
export default function Spinner({ size, inverted, className, 'aria-label': ariaLabel, style, ...htmlProps }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE3D,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,eAAe,CAAC,EAC/B,MAAM,CACP;IACC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,IAAS,EACT,QAAgB,EAChB,SAAc,EACd,YAAY,EAAE,SAAqB,EACnC,KAAK,EACL,GAAG,SAAS,EACb,EAAE,YAAY,2CAyBd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,mBAAmB,WAAW,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** Figma Status Badge size. */
|
|
2
|
+
export type StatusBadgeSize = 'XX-Small' | 'X-Small' | 'Small' | 'Medium' | 'Large';
|
|
3
|
+
/** Figma Status Badge status variant. */
|
|
4
|
+
export type StatusBadgeStatus = 'Online' | 'Away' | 'Do Not Disturb' | 'Offline';
|
|
5
|
+
export interface StatusBadgeProps {
|
|
6
|
+
/** Optional CSS class name. */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** Size variant. Figma: Size. Default: X-Small. */
|
|
9
|
+
size?: StatusBadgeSize;
|
|
10
|
+
/** Status variant. Figma: Status. Default: Online. */
|
|
11
|
+
status?: StatusBadgeStatus;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Status badge (Online, Away, Do Not Disturb, Offline).
|
|
15
|
+
* Matches Figma Status Badge v2.0.1. Uses Icon + @mattermost/compass-icons.
|
|
16
|
+
*
|
|
17
|
+
* @see Figma Status Badge (Node ID: 702:1875)
|
|
18
|
+
*/
|
|
19
|
+
export default function StatusBadge({ className, size, status, }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/StatusBadge.tsx"],"names":[],"mappings":"AAQA,+BAA+B;AAC/B,MAAM,MAAM,eAAe,GACvB,UAAU,GACV,SAAS,GACT,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;AAEZ,yCAAyC;AACzC,MAAM,MAAM,iBAAiB,GACzB,QAAQ,GACR,MAAM,GACN,gBAAgB,GAChB,SAAS,CAAC;AAEd,MAAM,WAAW,gBAAgB;IAC/B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mDAAmD;IACnD,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,sDAAsD;IACtD,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B;AAmBD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAc,EACd,IAAgB,EAChB,MAAiB,GAClB,EAAE,gBAAgB,2CAiBlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StatusBadge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,iBAAiB,GAClB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
export type SwitchSize = 'Small' | 'Medium' | 'Large';
|
|
3
|
+
export interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
4
|
+
/** Optional CSS class name. */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Size variant. Figma: Small (16px), Medium (20px), Large (24px). Default: Medium. */
|
|
7
|
+
size?: SwitchSize;
|
|
8
|
+
/** Primary label content. Rendered to the left of the switch. */
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
/** Optional secondary label (e.g. description) below the primary label. */
|
|
11
|
+
secondaryLabel?: React.ReactNode;
|
|
12
|
+
/** When true, primary label uses semi-bold (600) weight. Default: false. */
|
|
13
|
+
semiBold?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Switch component built on the native HTML checkbox.
|
|
17
|
+
* Uses role="switch" so assistive tech announces "switch" and on/off state.
|
|
18
|
+
* Renders as a track + sliding knob; checked = on (right), unchecked = off (left).
|
|
19
|
+
*
|
|
20
|
+
* Supports label, optional secondary label, sizes (Small/Medium/Large), and
|
|
21
|
+
* states: default, hover, focus, active, disabled. Matches Figma Switch v2.0.0.
|
|
22
|
+
*
|
|
23
|
+
* Use with a label: pass children for the primary label, or wrap in your own <label>.
|
|
24
|
+
*
|
|
25
|
+
* @see https://compass.mattermost.com (Switch)
|
|
26
|
+
*/
|
|
27
|
+
export default function Switch({ className, size, children, secondaryLabel, semiBold, id: idProp, checked, defaultChecked, disabled, onChange, ...rest }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,WAAY,SAAQ,IAAI,CACvC,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,MAAM,CAChB;IACC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uFAAuF;IACvF,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,SAAc,EACd,IAAe,EACf,QAAQ,EACR,cAAc,EACd,QAAgB,EAChB,EAAE,EAAE,MAAM,EACV,OAAO,EACP,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,WAAW,2CAwDb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface TabItem {
|
|
3
|
+
/** Unique key for this tab. */
|
|
4
|
+
key: string;
|
|
5
|
+
/** Tab label text. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Optional count badge number. */
|
|
8
|
+
countBadge?: number;
|
|
9
|
+
/** When true, shows an unread dot badge. */
|
|
10
|
+
unreadBadge?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface TabsProps {
|
|
13
|
+
/** Array of tab items to display. */
|
|
14
|
+
tabs: TabItem[];
|
|
15
|
+
/** Key of the currently active tab. */
|
|
16
|
+
activeKey: string;
|
|
17
|
+
/** Called when a tab is selected. */
|
|
18
|
+
onChange: (key: string) => void;
|
|
19
|
+
/** Optional CSS class name. */
|
|
20
|
+
className?: string;
|
|
21
|
+
/** Optional trailing controls rendered to the right of the tabs. */
|
|
22
|
+
controls?: ReactNode;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Tabs component matching Figma design.
|
|
26
|
+
* Horizontal tab navigation with active state, count badges, and unread indicators.
|
|
27
|
+
*/
|
|
28
|
+
export default function Tabs({ tabs, activeKey, onChange, className, controls, }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,OAAO;IACtB,+BAA+B;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACxB,qCAAqC;IACrC,IAAI,EAAE,OAAO,EAAE,CAAC;IAChB,uCAAuC;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,SAAc,EACd,QAAQ,GACT,EAAE,SAAS,2CAuDX"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type TagType = 'Default' | 'Info' | 'Info Dim' | 'Danger' | 'Success' | 'Warning';
|
|
3
|
+
export type TagSize = 'Small' | 'X-Small';
|
|
4
|
+
export type TagCasing = 'Title Case' | 'All Caps';
|
|
5
|
+
export type TagProps = {
|
|
6
|
+
/** Tag label text. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Semantic colour type. Default: Default. */
|
|
9
|
+
type?: TagType;
|
|
10
|
+
/** Size variant. Default: X-Small. */
|
|
11
|
+
size?: TagSize;
|
|
12
|
+
/** Text casing. Default: Title Case. */
|
|
13
|
+
casing?: TagCasing;
|
|
14
|
+
/** Optional leading icon node. */
|
|
15
|
+
leadingIcon?: ReactNode;
|
|
16
|
+
/** Merged onto the root after variant classes (e.g. layout overrides in a parent row). */
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Compact pill for roles, status, tiers, and other metadata labels.
|
|
21
|
+
* Maps to Figma Label Tag (v1.0.1).
|
|
22
|
+
*/
|
|
23
|
+
export default function Tag({ label, type, size, casing, leadingIcon, className, }: TagProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,OAAO,GACf,SAAS,GACT,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAC1C,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,UAAU,CAAC;AAElD,MAAM,MAAM,QAAQ,GAAG;IACrB,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,8CAA8C;IAC9C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wCAAwC;IACxC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,kCAAkC;IAClC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,0FAA0F;IAC1F,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAWF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,EAC1B,KAAK,EACL,IAAgB,EAChB,IAAgB,EAChB,MAAqB,EACrB,WAAW,EACX,SAAc,GACf,EAAE,QAAQ,2CAuBV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,OAAO,CAAC;AACvC,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TeamAvatarSize = '24' | '28' | '32' | '40' | '48' | '56' | '64' | '72' | '96' | '120';
|
|
2
|
+
export type TeamAvatarState = 'Default' | 'Active';
|
|
3
|
+
export interface TeamAvatarProps {
|
|
4
|
+
alt?: string;
|
|
5
|
+
badge?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
initials?: string;
|
|
8
|
+
size?: TeamAvatarSize;
|
|
9
|
+
src?: string;
|
|
10
|
+
state?: TeamAvatarState;
|
|
11
|
+
}
|
|
12
|
+
export default function TeamAvatar({ alt, badge, className, initials, size, src, state, }: TeamAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=TeamAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/TeamAvatar/TeamAvatar.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GACtB,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,KAAK,CAAC;AACV,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,GAAQ,EACR,KAAK,EACL,SAAc,EACd,QAAe,EACf,IAAW,EACX,GAAG,EACH,KAAiB,GAClB,EAAE,eAAe,2CAqCjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TeamAvatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface TeamMenuProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Shows Manage members and Manage groups (team admin). */
|
|
4
|
+
adminOptions?: boolean;
|
|
5
|
+
/** Shows Create a team. */
|
|
6
|
+
createTeamPermission?: boolean;
|
|
7
|
+
/** Shows Join another team. Default: true. */
|
|
8
|
+
joinTeamPermission?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Team menu from the team switcher / team header — invite, settings, and
|
|
12
|
+
* optional admin / create-team rows.
|
|
13
|
+
*/
|
|
14
|
+
export default function TeamMenu({ adminOptions, createTeamPermission, joinTeamPermission, className, style, ...rest }: TeamMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=TeamMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamMenu.d.ts","sourceRoot":"","sources":["../../../src/components/TeamMenu/TeamMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAe5C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,2BAA2B;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,YAAoB,EACpB,oBAA4B,EAC5B,kBAAyB,EACzB,SAAc,EACd,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CAwEf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TeamMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface TeamSidebarItem {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
src?: string;
|
|
5
|
+
initials?: string;
|
|
6
|
+
unread?: boolean;
|
|
7
|
+
mentions?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface TeamSidebarProps {
|
|
10
|
+
className?: string;
|
|
11
|
+
teams: TeamSidebarItem[];
|
|
12
|
+
activeTeamId?: string;
|
|
13
|
+
showAddTeam?: boolean;
|
|
14
|
+
showDialPad?: boolean;
|
|
15
|
+
dialPadActive?: boolean;
|
|
16
|
+
onSelectTeam?: (id: string) => void;
|
|
17
|
+
onAddTeam?: () => void;
|
|
18
|
+
onDialPadClick?: () => void;
|
|
19
|
+
}
|
|
20
|
+
export default function TeamSidebar({ className, teams, activeTeamId, showAddTeam, showDialPad, dialPadActive, onSelectTeam, onAddTeam, onDialPadClick, }: TeamSidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=TeamSidebar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TeamSidebar.d.ts","sourceRoot":"","sources":["../../../src/components/TeamSidebar/TeamSidebar.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAc,EACd,KAAK,EACL,YAAY,EACZ,WAAkB,EAClB,WAAmB,EACnB,aAAqB,EACrB,YAAY,EACZ,SAAS,EACT,cAAc,GACf,EAAE,gBAAgB,2CA+DlB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TeamSidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|