@mattermost/compass-ui 0.1.0-alpha.0 → 0.1.0-alpha.2
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 +6 -6
- package/dist/compass-ui-standalone.css +207 -0
- package/dist/compass-ui.css +0 -206
- package/dist/components/ActionButton/ActionButton.d.ts +5 -0
- package/dist/components/ActionButton/ActionButton.d.ts.map +1 -1
- package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts +3 -1
- package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts.map +1 -1
- package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts +5 -0
- package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts.map +1 -1
- package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts +5 -3
- package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts.map +1 -1
- package/dist/components/AppBarItem/AppBarItem.d.ts +4 -3
- package/dist/components/AppBarItem/AppBarItem.d.ts.map +1 -1
- package/dist/components/AttachmentCard/AttachmentCard.d.ts +5 -0
- package/dist/components/AttachmentCard/AttachmentCard.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +9 -10
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/ChannelHeader/ChannelHeader.d.ts +1 -1
- package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts +3 -5
- package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts.map +1 -1
- package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts +13 -8
- package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +3 -9
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +6 -1
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Combobox/Combobox.d.ts +4 -3
- package/dist/components/Combobox/Combobox.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +2 -3
- package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +5 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.d.ts +5 -8
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/Emoji/Emoji.d.ts +4 -1
- package/dist/components/Emoji/Emoji.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +3 -4
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +3 -2
- package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts +3 -4
- package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts.map +1 -1
- package/dist/components/GlobalBanner/GlobalBanner.d.ts +5 -4
- package/dist/components/GlobalBanner/GlobalBanner.d.ts.map +1 -1
- package/dist/components/GlobalHeader/GlobalHeader.d.ts +1 -1
- package/dist/components/GlobalHeader/GlobalHeader.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +3 -5
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.d.ts +7 -8
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/Illustration/Illustration.d.ts +4 -6
- package/dist/components/Illustration/Illustration.d.ts.map +1 -1
- package/dist/components/ImagePreview/ImagePreview.d.ts +3 -3
- package/dist/components/LinkPreview/LinkPreview.d.ts +3 -2
- package/dist/components/LinkPreview/LinkPreview.d.ts.map +1 -1
- package/dist/components/MentionBadge/MentionBadge.d.ts +6 -6
- package/dist/components/MenuItem/MenuItem.d.ts +4 -5
- package/dist/components/MenuItem/MenuItem.d.ts.map +1 -1
- package/dist/components/MessageActions/MessageActions.d.ts +4 -3
- package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
- package/dist/components/MessageHeader/MessageHeader.d.ts +5 -0
- package/dist/components/MessageHeader/MessageHeader.d.ts.map +1 -1
- package/dist/components/MessageReactions/MessageReactions.d.ts +3 -3
- package/dist/components/MessageSeparator/MessageSeparator.d.ts +5 -4
- package/dist/components/MessageSeparator/MessageSeparator.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts +5 -4
- package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts.map +1 -1
- package/dist/components/NewMessageBanner/NewMessageBanner.d.ts +4 -4
- package/dist/components/NewMessageBanner/NewMessageBanner.d.ts.map +1 -1
- package/dist/components/PaginationDots/PaginationDots.d.ts +5 -6
- package/dist/components/PaginationDots/PaginationDots.d.ts.map +1 -1
- package/dist/components/PermalinkPreview/PermalinkPreview.d.ts +3 -3
- package/dist/components/PopoverNotice/PopoverNotice.d.ts +6 -0
- package/dist/components/PopoverNotice/PopoverNotice.d.ts.map +1 -1
- package/dist/components/ProductSwitcherMenu/ProductSwitcherMenu.d.ts +1 -1
- package/dist/components/ProfilePopover/ProfilePopover.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.d.ts +4 -4
- package/dist/components/Radio/Radio.d.ts +4 -8
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/ReactionPill/ReactionPill.d.ts +6 -5
- package/dist/components/ReactionPill/ReactionPill.d.ts.map +1 -1
- package/dist/components/Scrollbar/Scrollbar.d.ts +4 -7
- package/dist/components/Scrollbar/Scrollbar.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +4 -4
- package/dist/components/SearchTipBanner/SearchTipBanner.d.ts +3 -2
- package/dist/components/SearchTipBanner/SearchTipBanner.d.ts.map +1 -1
- package/dist/components/SectionNotice/SectionNotice.d.ts +4 -4
- package/dist/components/Select/Select.d.ts +3 -5
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/ShortcutTag/ShortcutTag.d.ts +2 -2
- package/dist/components/Spinner/Spinner.d.ts +4 -0
- package/dist/components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/components/StatusBadge/StatusBadge.d.ts +4 -6
- package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -1
- package/dist/components/Switch/Switch.d.ts +3 -11
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -2
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +6 -5
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/TeamAvatar/TeamAvatar.d.ts +5 -1
- package/dist/components/TeamAvatar/TeamAvatar.d.ts.map +1 -1
- package/dist/components/TextArea/TextArea.d.ts +4 -6
- package/dist/components/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/TextInput/TextInput.d.ts +3 -6
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/ThreadFooter/ThreadFooter.d.ts +4 -4
- package/dist/components/ThreadListItem/ThreadListItem.d.ts +4 -4
- package/dist/components/Toast/Toast.d.ts +6 -1
- package/dist/components/Toast/Toast.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +4 -3
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/UnreadBadge/UnreadBadge.d.ts +5 -7
- package/dist/components/UnreadBadge/UnreadBadge.d.ts.map +1 -1
- package/dist/components/UserAvatar/UserAvatar.d.ts +4 -9
- package/dist/components/UserAvatar/UserAvatar.d.ts.map +1 -1
- package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts +3 -6
- package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1607 -1603
- package/dist/index.js.map +1 -1
- package/dist/utils/string.d.ts +2 -2
- package/package.json +5 -1
|
@@ -4,6 +4,11 @@ type MessageHeaderProps = {
|
|
|
4
4
|
isBot?: boolean;
|
|
5
5
|
botLabel?: string;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* The Message Header sits above every message body — username, optional bot or guest tag,
|
|
9
|
+
* and timestamp. It's the byline of the conversation, so the rules are tight: same parts,
|
|
10
|
+
* same order, every time.
|
|
11
|
+
*/
|
|
7
12
|
export default function MessageHeader({ username, timestamp, isBot, botLabel, }: MessageHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
8
13
|
export {};
|
|
9
14
|
//# sourceMappingURL=MessageHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/MessageHeader/MessageHeader.tsx"],"names":[],"mappings":"AAGA,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,KAAa,EACb,QAAgB,GACjB,EAAE,kBAAkB,2CAQpB"}
|
|
1
|
+
{"version":3,"file":"MessageHeader.d.ts","sourceRoot":"","sources":["../../../src/components/MessageHeader/MessageHeader.tsx"],"names":[],"mappings":"AAGA,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,KAAa,EACb,QAAgB,GACjB,EAAE,kBAAkB,2CAQpB"}
|
|
@@ -26,9 +26,9 @@ export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* Message Reactions are the row of emoji pills below a message — the lightest weight way to
|
|
30
|
+
* respond, applaud, or acknowledge without adding to the thread. The component handles the
|
|
31
|
+
* count, the "this is mine" highlight, and the add-reaction affordance.
|
|
32
32
|
*/
|
|
33
33
|
export default function MessageReactions({ reactions, showAddReaction, acknowledged, acknowledgeCount, currentUserAcknowledged, onAddReaction, onReactionClick, onAcknowledge, className, ...rest }: MessageReactionsProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
//# sourceMappingURL=MessageReactions.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type MessageSeparatorType = '
|
|
2
|
+
export type MessageSeparatorType = 'date' | 'new-messages' | 'reply-count';
|
|
3
3
|
export interface MessageSeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
/** Separator variant. Default: Date. */
|
|
5
5
|
type?: MessageSeparatorType;
|
|
6
|
-
/** Label text. Defaults: 'Today' / '
|
|
6
|
+
/** Label text. Defaults: 'Today' / 'new-messages' / '4 replies'. */
|
|
7
7
|
label?: string;
|
|
8
8
|
/** Show AI summarize button (New Messages type only). Default: false. */
|
|
9
9
|
showAiSummary?: boolean;
|
|
@@ -13,8 +13,9 @@ export interface MessageSeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* Message Separators sit between messages in the stream to group them — by day, by reply
|
|
17
|
+
* count, or to mark the boundary between read and unread. They help readers orient
|
|
18
|
+
* themselves when scrolling back through history or returning to a busy channel.
|
|
18
19
|
*/
|
|
19
20
|
export default function MessageSeparator({ type, label, showAiSummary, onSummarize, className, ...rest }: MessageSeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
20
21
|
//# sourceMappingURL=MessageSeparator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageSeparator.d.ts","sourceRoot":"","sources":["../../../src/components/MessageSeparator/MessageSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,cAAc,GAAG,aAAa,CAAC;AAE3E,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yEAAyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD
|
|
1
|
+
{"version":3,"file":"MessageSeparator.d.ts","sourceRoot":"","sources":["../../../src/components/MessageSeparator/MessageSeparator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,cAAc,GAAG,aAAa,CAAC;AAE3E,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC3E,wCAAwC;IACxC,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yEAAyE;IACzE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,IAAa,EACb,KAAK,EACL,aAAqB,EACrB,WAAW,EACX,SAAc,EACd,GAAG,IAAI,EACR,EAAE,qBAAqB,2CAyDvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type ModalSize = '
|
|
2
|
+
export type ModalSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export interface ModalProps {
|
|
4
4
|
/** Width variant. Figma: Size — Small 600px, Medium 704px, Large 832px. */
|
|
5
5
|
size?: ModalSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type MoreUnreadsBannerDirection = '
|
|
2
|
-
export type MoreUnreadsBannerSize = '
|
|
1
|
+
export type MoreUnreadsBannerDirection = 'up' | 'down';
|
|
2
|
+
export type MoreUnreadsBannerSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export interface MoreUnreadsBannerProps {
|
|
4
4
|
/** Optional CSS class name. */
|
|
5
5
|
className?: string;
|
|
@@ -11,8 +11,9 @@ export interface MoreUnreadsBannerProps {
|
|
|
11
11
|
onClick?: () => void;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* More Unreads Banner
|
|
15
|
-
* above or below the
|
|
14
|
+
* The More Unreads Banner is the small pill that floats inside the channel sidebar to tell
|
|
15
|
+
* the user there are unread channels above or below the current scroll position. One arrow,
|
|
16
|
+
* one label — clicking it scrolls to the next unread.
|
|
16
17
|
*/
|
|
17
18
|
export default function MoreUnreadsBanner({ className, direction, size, onClick, }: MoreUnreadsBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
//# sourceMappingURL=MoreUnreadsBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoreUnreadsBanner.d.ts","sourceRoot":"","sources":["../../../src/components/MoreUnreadsBanner/MoreUnreadsBanner.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG,IAAI,GAAG,MAAM,CAAC;AACvD,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC,qCAAqC;IACrC,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED
|
|
1
|
+
{"version":3,"file":"MoreUnreadsBanner.d.ts","sourceRoot":"","sources":["../../../src/components/MoreUnreadsBanner/MoreUnreadsBanner.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,0BAA0B,GAAG,IAAI,GAAG,MAAM,CAAC;AACvD,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC,qCAAqC;IACrC,IAAI,CAAC,EAAE,qBAAqB,CAAC;IAC7B,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,SAAc,EACd,SAAgB,EAChB,IAAe,EACf,OAAO,GACR,EAAE,sBAAsB,2CAmBxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NewMessageBannerType = '
|
|
1
|
+
export type NewMessageBannerType = 'jump-to-unreads' | 'new-replies';
|
|
2
2
|
export interface NewMessageBannerProps {
|
|
3
3
|
/** Optional CSS class name. */
|
|
4
4
|
className?: string;
|
|
@@ -12,9 +12,9 @@ export interface NewMessageBannerProps {
|
|
|
12
12
|
onDismiss?: () => void;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* New
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* The New Messages Banner alerts the user that there's fresh activity in the channel they're
|
|
16
|
+
* reading. It floats over the message stream so they can jump to the unread region in one
|
|
17
|
+
* click — or dismiss it if they'd rather keep scrolling.
|
|
18
18
|
*/
|
|
19
19
|
export default function NewMessageBanner({ className, type, countLabel, onClick, onDismiss, }: NewMessageBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
//# sourceMappingURL=NewMessageBanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewMessageBanner.d.ts","sourceRoot":"","sources":["../../../src/components/NewMessageBanner/NewMessageBanner.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oBAAoB,GAAG,
|
|
1
|
+
{"version":3,"file":"NewMessageBanner.d.ts","sourceRoot":"","sources":["../../../src/components/NewMessageBanner/NewMessageBanner.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,aAAa,CAAC;AAErE,MAAM,WAAW,qBAAqB;IACpC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,mGAAmG;IACnG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,SAAc,EACd,IAAwB,EACxB,UAAU,EACV,OAAO,EACP,SAAS,GACV,EAAE,qBAAqB,2CAsDvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type PaginationDotsOrientation = '
|
|
2
|
-
export type PaginationDotsStyle = '
|
|
1
|
+
export type PaginationDotsOrientation = 'horizontal' | 'vertical';
|
|
2
|
+
export type PaginationDotsStyle = 'default' | 'inverted' | 'on-primary';
|
|
3
3
|
export interface PaginationDotsProps {
|
|
4
4
|
/** Total number of pages/steps. */
|
|
5
5
|
pages: number;
|
|
@@ -15,10 +15,9 @@ export interface PaginationDotsProps {
|
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Pagination Dots
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* Used in onboarding wizards.
|
|
18
|
+
* Pagination Dots indicate progress through a fixed sequence of steps — most often a
|
|
19
|
+
* multi-step onboarding flow or a swipeable carousel. One dot per step, the active one
|
|
20
|
+
* filled, the rest quiet.
|
|
22
21
|
*/
|
|
23
22
|
export default function PaginationDots({ pages, activePage, orientation, dotStyle, onPageChange, className, }: PaginationDotsProps): import("react/jsx-runtime").JSX.Element;
|
|
24
23
|
//# sourceMappingURL=PaginationDots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationDots.d.ts","sourceRoot":"","sources":["../../../src/components/PaginationDots/PaginationDots.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG,UAAU,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,
|
|
1
|
+
{"version":3,"file":"PaginationDots.d.ts","sourceRoot":"","sources":["../../../src/components/PaginationDots/PaginationDots.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG,UAAU,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAExE,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACxC,qCAAqC;IACrC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,wEAAwE;IACxE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,UAAU,EACV,WAA0B,EAC1B,QAAoB,EACpB,YAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,2CAqDrB"}
|
|
@@ -15,9 +15,9 @@ export interface PermalinkPreviewProps {
|
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* A Permalink Preview renders an inline card for a message that another message links to.
|
|
19
|
+
* Sender, timestamp, body, and origin channel — enough context to recognise the quoted
|
|
20
|
+
* message without leaving where you are.
|
|
21
21
|
*/
|
|
22
22
|
export default function PermalinkPreview({ authorName, avatarSrc, timestamp, messageText, originalChannel, onDismiss, className, }: PermalinkPreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
//# sourceMappingURL=PermalinkPreview.d.ts.map
|
|
@@ -28,5 +28,11 @@ export interface PopoverNoticeProps {
|
|
|
28
28
|
/** Optional CSS class name. */
|
|
29
29
|
className?: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Popover Notice is a small overlay card that surfaces a transient message — a tip, a
|
|
33
|
+
* confirmation, a warning — without taking over the screen. Think of it as a [Section
|
|
34
|
+
* Notice](/components/section-notice) that floats: shorter, dismissable, and gone in five
|
|
35
|
+
* seconds unless the user engages.
|
|
36
|
+
*/
|
|
31
37
|
export default function PopoverNotice({ title, children, variant, icon, actions, showCheckbox, checkboxLabel, onClose, className, }: PopoverNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
32
38
|
//# sourceMappingURL=PopoverNotice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverNotice.d.ts","sourceRoot":"","sources":["../../../src/components/PopoverNotice/PopoverNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7E,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,4EAA4E;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAChC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAgBD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,OAAO,EACP,YAAoB,EACpB,aAAoD,EACpD,OAAO,EACP,SAAc,GACf,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PopoverNotice.d.ts","sourceRoot":"","sources":["../../../src/components/PopoverNotice/PopoverNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAYvC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7E,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B,4EAA4E;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAChC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAgBD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,OAAO,EACP,YAAoB,EACpB,aAAoD,EACpD,OAAO,EACP,SAAc,GACf,EAAE,kBAAkB,2CA6DpB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
/** Built-in products shipped with the switcher. */
|
|
3
|
-
export type BuiltInProductSwitcherProduct = '
|
|
3
|
+
export type BuiltInProductSwitcherProduct = 'channels' | 'boards' | 'playbooks';
|
|
4
4
|
/**
|
|
5
5
|
* Product id for selection. Built-ins use their labels; prototypes use any
|
|
6
6
|
* string id from {@link ProductSwitcherProductItem.id}.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type ProfilePopoverUser = '
|
|
2
|
+
export type ProfilePopoverUser = 'others' | 'you';
|
|
3
3
|
export interface ProfilePopoverCustomStatus {
|
|
4
4
|
emoji: string;
|
|
5
5
|
text: string;
|
|
@@ -27,7 +27,7 @@ export interface ProfilePopoverPhone {
|
|
|
27
27
|
onClick?: () => void;
|
|
28
28
|
}
|
|
29
29
|
export interface ProfilePopoverProps {
|
|
30
|
-
/** Whose profile is shown. Default: '
|
|
30
|
+
/** Whose profile is shown. Default: 'others'. */
|
|
31
31
|
user?: ProfilePopoverUser;
|
|
32
32
|
/** Avatar image URL. */
|
|
33
33
|
avatarSrc: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ProgressBarSize = '
|
|
1
|
+
export type ProgressBarSize = 'small' | 'large';
|
|
2
2
|
export interface ProgressBarProps {
|
|
3
3
|
/** Progress value 0–100. Default: 0. */
|
|
4
4
|
value?: number;
|
|
@@ -15,9 +15,9 @@ export interface ProgressBarProps {
|
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
|
-
* Progress Bar
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* Progress Bar shows determinate progress through a wait state — an upload finishing, a
|
|
19
|
+
* quota filling, an import running. Use it when the duration or total is known; reach for
|
|
20
|
+
* [Spinner](/components/spinner) when it isn't.
|
|
21
21
|
*/
|
|
22
22
|
export default function ProgressBar({ value, size, semanticColors, 'aria-label': ariaLabel, className, }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export type RadioSize = '
|
|
2
|
+
export type RadioSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
4
4
|
/** Optional CSS class name. */
|
|
5
5
|
className?: string;
|
|
@@ -11,13 +11,9 @@ export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* Use with a shared `name` when grouping options so only one is selected.
|
|
18
|
-
* Use with a label: pass children to render label text, or wrap in your own <label>.
|
|
19
|
-
*
|
|
20
|
-
* @see https://compass.mattermost.com (Radio)
|
|
14
|
+
* Radios let people pick exactly one option from a small, mutually exclusive set — a
|
|
15
|
+
* workspace plan, a notification cadence, a default theme. Use a Radio when the choices are
|
|
16
|
+
* few enough to show at once and the user benefits from seeing every option side-by-side.
|
|
21
17
|
*/
|
|
22
18
|
export default function Radio({ className, size, valid, children, id: idProp, checked, defaultChecked, disabled, onChange, name, value, ...rest }: RadioProps): import("react/jsx-runtime").JSX.Element;
|
|
23
19
|
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,UAAW,SAAQ,IAAI,CACtC,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,SAAS,CAAC;IACjB,oFAAoF;IACpF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMjD,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAErD,MAAM,WAAW,UAAW,SAAQ,IAAI,CACtC,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,SAAS,CAAC;IACjB,oFAAoF;IACpF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAC5B,SAAc,EACd,IAAe,EACf,KAAY,EACZ,QAAQ,EACR,EAAE,EAAE,MAAM,EACV,OAAO,EACP,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,GAAG,IAAI,EACR,EAAE,UAAU,2CAmCZ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes } from 'react';
|
|
2
|
-
export type ReactionPillSize = '
|
|
3
|
-
export type ReactionPillType = '
|
|
2
|
+
export type ReactionPillSize = 'small' | 'medium' | 'large';
|
|
3
|
+
export type ReactionPillType = 'reaction' | 'hand-raise' | 'other';
|
|
4
4
|
export interface ReactionPillProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/** Size variant. Default: Small. */
|
|
6
6
|
size?: ReactionPillSize;
|
|
@@ -10,14 +10,15 @@ export interface ReactionPillProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
10
10
|
emoji?: string;
|
|
11
11
|
/** Participant name / label text. */
|
|
12
12
|
label?: string;
|
|
13
|
-
/** Notification message for '
|
|
13
|
+
/** Notification message for 'other' type. */
|
|
14
14
|
message?: string;
|
|
15
15
|
/** Optional CSS class name. */
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Reaction Pills surface lightweight, transient signals during a call — emoji reactions,
|
|
20
|
+
* raised hands, and system notifications like "you've been muted." They float over the call
|
|
21
|
+
* surface long enough to register and then disappear; they aren't meant to be durable UI.
|
|
21
22
|
*/
|
|
22
23
|
export default function ReactionPill({ size, type, emoji, label, message, className, ...rest }: ReactionPillProps): import("react/jsx-runtime").JSX.Element;
|
|
23
24
|
//# sourceMappingURL=ReactionPill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactionPill.d.ts","sourceRoot":"","sources":["../../../src/components/ReactionPill/ReactionPill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,oCAAoC;IACpC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,oCAAoC;IACpC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED
|
|
1
|
+
{"version":3,"file":"ReactionPill.d.ts","sourceRoot":"","sources":["../../../src/components/ReactionPill/ReactionPill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,GAAG,OAAO,CAAC;AAEnE,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,oCAAoC;IACpC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,oCAAoC;IACpC,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAc,EACd,IAAiB,EACjB,KAAY,EACZ,KAAoB,EACpB,OAA2C,EAC3C,SAAc,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,2CAuDnB"}
|
|
@@ -21,13 +21,10 @@ export interface ScrollbarProps {
|
|
|
21
21
|
onScroll?: (e: Event) => void;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* or "more unreads above/below" indicators.
|
|
29
|
-
*
|
|
30
|
-
* @see https://compass.mattermost.com/29be2c109/p/88cb9c-scrollbars
|
|
24
|
+
* Scrollbars let people move through content that exceeds the viewport while showing where
|
|
25
|
+
* they are in the larger whole. Compass uses a single, minimal treatment — a transparent
|
|
26
|
+
* track with a thin, translucent thumb — so the scrollbar reads as a position indicator
|
|
27
|
+
* first and a control second.
|
|
31
28
|
*/
|
|
32
29
|
declare const Scrollbar: import('react').ForwardRefExoticComponent<ScrollbarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
33
30
|
export default Scrollbar;
|
|
@@ -1 +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
|
|
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;;;;;GAKG;AACH,QAAA,MAAM,SAAS,2GA6Cb,CAAC;AAEH,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export type SearchInputSize = '
|
|
2
|
+
export type SearchInputSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
4
4
|
/** Optional CSS class name. */
|
|
5
5
|
className?: string;
|
|
@@ -11,9 +11,9 @@ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElem
|
|
|
11
11
|
onClear?: () => void;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Search
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* Search Inputs are the entry point to filtering or finding content — global search, channel
|
|
15
|
+
* switcher, member picker, file finder. They look like a text input with a leading magnifier
|
|
16
|
+
* so the affordance is obvious before the user reads a single word.
|
|
17
17
|
*/
|
|
18
18
|
declare const SearchInput: import('react').ForwardRefExoticComponent<SearchInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
19
19
|
export default SearchInput;
|
|
@@ -17,8 +17,9 @@ export interface SearchTipBannerProps {
|
|
|
17
17
|
children?: ReactNode;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
|
-
* Search Tip Banner
|
|
21
|
-
*
|
|
20
|
+
* The Search Tip Banner nudges people toward the keyboard shortcut for in-channel search. It
|
|
21
|
+
* appears once a user has scrolled up far enough that they're clearly looking for something,
|
|
22
|
+
* and offers a faster path than scroll-and-skim.
|
|
22
23
|
*/
|
|
23
24
|
export default function SearchTipBanner({ prefix, suffix, shortcutKeys, onDismiss, className, children, }: SearchTipBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
//# sourceMappingURL=SearchTipBanner.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,MAAmB,EACnB,MAAiC,EACjC,YAAmE,EACnE,SAAS,EACT,SAAc,EACd,QAAQ,GACT,EAAE,oBAAoB,2CA6BtB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type SectionNoticeType = '
|
|
2
|
+
export type SectionNoticeType = 'info' | 'warning' | 'danger' | 'success' | 'hint';
|
|
3
3
|
export interface SectionNoticeProps {
|
|
4
4
|
/** Optional CSS class name. */
|
|
5
5
|
className?: string;
|
|
@@ -23,9 +23,9 @@ export interface SectionNoticeProps {
|
|
|
23
23
|
onDismiss?: () => void;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Section Notice
|
|
27
|
-
*
|
|
28
|
-
*
|
|
26
|
+
* A Section Notice is an in-context alert that lives inside a settings page, admin panel, or
|
|
27
|
+
* other content region. Use it to flag important information, report a state change, or
|
|
28
|
+
* surface a problem the user needs to act on — without yanking them out of the flow.
|
|
29
29
|
*/
|
|
30
30
|
export default function SectionNotice({ className, type, icon, title, description, primaryButtonLabel, onPrimaryAction, secondaryButtonLabel, onSecondaryAction, onDismiss, }: SectionNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
//# sourceMappingURL=SectionNotice.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type SelectSize = '
|
|
2
|
+
export type SelectSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export type SelectOption = {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
@@ -29,10 +29,8 @@ export interface SelectProps {
|
|
|
29
29
|
zIndex?: number;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* @see https://compass.mattermost.com (Select)
|
|
32
|
+
* { value: 'town-square', label: 'Town Square' }, { value: 'off-topic', label: 'Off-Topic'
|
|
33
|
+
* }, { value: 'design', label: 'Design' }, ];
|
|
36
34
|
*/
|
|
37
35
|
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
38
36
|
export default Select;
|
|
@@ -1 +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
|
|
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;;;GAGG;AACH,QAAA,MAAM,MAAM,2GAgUV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type ShortcutTagSize = '
|
|
2
|
-
export type ShortcutTagLocation = '
|
|
1
|
+
export type ShortcutTagSize = 'small' | 'medium' | 'large';
|
|
2
|
+
export type ShortcutTagLocation = 'default' | 'tooltips';
|
|
3
3
|
export type ShortcutTagProps = {
|
|
4
4
|
/** Key label (e.g. `⌘`, `Shift`, `K`). */
|
|
5
5
|
label: string;
|
|
@@ -5,5 +5,9 @@ export interface SpinnerProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'rol
|
|
|
5
5
|
inverted?: boolean;
|
|
6
6
|
'aria-label'?: string;
|
|
7
7
|
}
|
|
8
|
+
/**
|
|
9
|
+
* A Spinner is the all-purpose indicator that something is happening but the duration is
|
|
10
|
+
* unknown. It signals "wait" without claiming to know how long the wait will be.
|
|
11
|
+
*/
|
|
8
12
|
export default function Spinner({ size, inverted, className, 'aria-label': ariaLabel, style, ...htmlProps }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
13
|
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +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"}
|
|
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;;;GAGG;AACH,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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Figma Status Badge size. */
|
|
2
|
-
export type StatusBadgeSize = '
|
|
2
|
+
export type StatusBadgeSize = 'xx-small' | 'x-small' | 'small' | 'medium' | 'large';
|
|
3
3
|
/** Figma Status Badge status variant. */
|
|
4
|
-
export type StatusBadgeStatus = '
|
|
4
|
+
export type StatusBadgeStatus = 'online' | 'away' | 'do-not-disturb' | 'offline';
|
|
5
5
|
export interface StatusBadgeProps {
|
|
6
6
|
/** Optional CSS class name. */
|
|
7
7
|
className?: string;
|
|
@@ -11,10 +11,8 @@ export interface StatusBadgeProps {
|
|
|
11
11
|
status?: StatusBadgeStatus;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
* Status
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* @see Figma Status Badge (Node ID: 702:1875)
|
|
14
|
+
* A Status Badge tells you whether someone is reachable. It pairs with an avatar or username
|
|
15
|
+
* so a glance is enough to know if a teammate is online, focused, away, or signed out.
|
|
18
16
|
*/
|
|
19
17
|
export default function StatusBadge({ className, size, status, }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
20
18
|
//# sourceMappingURL=StatusBadge.d.ts.map
|
|
@@ -1 +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
|
|
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;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAc,EACd,IAAgB,EAChB,MAAiB,GAClB,EAAE,gBAAgB,2CAiBlB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
export type SwitchSize = '
|
|
2
|
+
export type SwitchSize = 'small' | 'medium' | 'large';
|
|
3
3
|
export interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'> {
|
|
4
4
|
/** Optional CSS class name. */
|
|
5
5
|
className?: string;
|
|
@@ -13,16 +13,8 @@ export interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>,
|
|
|
13
13
|
semiBold?: boolean;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* Switch
|
|
17
|
-
*
|
|
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)
|
|
16
|
+
* A Switch is a real-world toggle: flip it, and the change happens. Use it for binary
|
|
17
|
+
* settings that take effect immediately and don't need a separate "Save" step.
|
|
26
18
|
*/
|
|
27
19
|
export default function Switch({ className, size, children, secondaryLabel, semiBold, id: idProp, checked, defaultChecked, disabled, onChange, ...rest }: SwitchProps): import("react/jsx-runtime").JSX.Element;
|
|
28
20
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +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
|
|
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;;;GAGG;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"}
|
|
@@ -22,8 +22,9 @@ export interface TabsProps {
|
|
|
22
22
|
controls?: ReactNode;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Tabs
|
|
26
|
-
*
|
|
25
|
+
* Tabs let people switch between sibling views inside the same surface — Mentions in the
|
|
26
|
+
* right sidebar, sections of a settings panel, or filters on a list. The content area
|
|
27
|
+
* changes; the surrounding chrome doesn't.
|
|
27
28
|
*/
|
|
28
29
|
export default function Tabs({ tabs, activeKey, onChange, className, controls, }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAC3B,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,SAAc,EACd,QAAQ,GACT,EAAE,SAAS,2CAuDX"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export type TagType = '
|
|
3
|
-
export type TagSize = '
|
|
4
|
-
export type TagCasing = '
|
|
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
5
|
export type TagProps = {
|
|
6
6
|
/** Tag label text. */
|
|
7
7
|
label: string;
|
|
@@ -17,8 +17,9 @@ export type TagProps = {
|
|
|
17
17
|
className?: string;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
20
|
+
* Tags are compact pills that mark something — a role (_BOT_, _GUEST_), a tier
|
|
21
|
+
* (_PROFESSIONAL_), a status (_NEW_, _BETA_), or a category. They're scannable signal: a way
|
|
22
|
+
* to surface a small piece of metadata without spending a sentence on it.
|
|
22
23
|
*/
|
|
23
24
|
export default function Tag({ label, type, size, casing, leadingIcon, className, }: TagProps): import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
//# sourceMappingURL=Tag.d.ts.map
|
|
@@ -1 +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
|
|
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;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,GAAG,CAAC,EAC1B,KAAK,EACL,IAAgB,EAChB,IAAgB,EAChB,MAAqB,EACrB,WAAW,EACX,SAAc,GACf,EAAE,QAAQ,2CAuBV"}
|