@mattermost/compass-ui 0.1.0-alpha.0 → 0.1.0-alpha.1

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.
Files changed (122) hide show
  1. package/dist/components/ActionButton/ActionButton.d.ts +5 -0
  2. package/dist/components/ActionButton/ActionButton.d.ts.map +1 -1
  3. package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts +3 -1
  4. package/dist/components/AdminConsoleHeader/AdminConsoleHeader.d.ts.map +1 -1
  5. package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts +5 -0
  6. package/dist/components/AdminPanelFooter/AdminPanelFooter.d.ts.map +1 -1
  7. package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts +5 -3
  8. package/dist/components/AdminPanelHeader/AdminPanelHeader.d.ts.map +1 -1
  9. package/dist/components/AppBarItem/AppBarItem.d.ts +4 -3
  10. package/dist/components/AppBarItem/AppBarItem.d.ts.map +1 -1
  11. package/dist/components/AttachmentCard/AttachmentCard.d.ts +5 -0
  12. package/dist/components/AttachmentCard/AttachmentCard.d.ts.map +1 -1
  13. package/dist/components/Button/Button.d.ts +9 -10
  14. package/dist/components/Button/Button.d.ts.map +1 -1
  15. package/dist/components/ChannelHeader/ChannelHeader.d.ts +1 -1
  16. package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts +3 -5
  17. package/dist/components/ChannelInfoMsgHeader/ChannelInfoMsgHeader.d.ts.map +1 -1
  18. package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts +13 -8
  19. package/dist/components/ChannelSidebarItem/ChannelSidebarItem.d.ts.map +1 -1
  20. package/dist/components/Checkbox/Checkbox.d.ts +3 -9
  21. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  22. package/dist/components/Chip/Chip.d.ts +6 -1
  23. package/dist/components/Chip/Chip.d.ts.map +1 -1
  24. package/dist/components/Combobox/Combobox.d.ts +4 -3
  25. package/dist/components/Combobox/Combobox.d.ts.map +1 -1
  26. package/dist/components/DateRangePicker/DateRangePicker.d.ts +2 -3
  27. package/dist/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  28. package/dist/components/Divider/Divider.d.ts +5 -0
  29. package/dist/components/Divider/Divider.d.ts.map +1 -1
  30. package/dist/components/Dropdown/Dropdown.d.ts +5 -8
  31. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  32. package/dist/components/Emoji/Emoji.d.ts +4 -1
  33. package/dist/components/Emoji/Emoji.d.ts.map +1 -1
  34. package/dist/components/EmptyState/EmptyState.d.ts +3 -4
  35. package/dist/components/EmptyState/EmptyState.d.ts.map +1 -1
  36. package/dist/components/ErrorMessage/ErrorMessage.d.ts +3 -2
  37. package/dist/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
  38. package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts +3 -4
  39. package/dist/components/FeatureDiscoveryPanel/FeatureDiscoveryPanel.d.ts.map +1 -1
  40. package/dist/components/GlobalBanner/GlobalBanner.d.ts +5 -4
  41. package/dist/components/GlobalBanner/GlobalBanner.d.ts.map +1 -1
  42. package/dist/components/GlobalHeader/GlobalHeader.d.ts +1 -1
  43. package/dist/components/GlobalHeader/GlobalHeader.d.ts.map +1 -1
  44. package/dist/components/Icon/Icon.d.ts +3 -5
  45. package/dist/components/Icon/Icon.d.ts.map +1 -1
  46. package/dist/components/IconButton/IconButton.d.ts +7 -8
  47. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  48. package/dist/components/Illustration/Illustration.d.ts +4 -6
  49. package/dist/components/Illustration/Illustration.d.ts.map +1 -1
  50. package/dist/components/ImagePreview/ImagePreview.d.ts +3 -3
  51. package/dist/components/LinkPreview/LinkPreview.d.ts +3 -2
  52. package/dist/components/LinkPreview/LinkPreview.d.ts.map +1 -1
  53. package/dist/components/MentionBadge/MentionBadge.d.ts +6 -6
  54. package/dist/components/MenuItem/MenuItem.d.ts +4 -5
  55. package/dist/components/MenuItem/MenuItem.d.ts.map +1 -1
  56. package/dist/components/MessageActions/MessageActions.d.ts +4 -3
  57. package/dist/components/MessageActions/MessageActions.d.ts.map +1 -1
  58. package/dist/components/MessageHeader/MessageHeader.d.ts +5 -0
  59. package/dist/components/MessageHeader/MessageHeader.d.ts.map +1 -1
  60. package/dist/components/MessageReactions/MessageReactions.d.ts +3 -3
  61. package/dist/components/MessageSeparator/MessageSeparator.d.ts +5 -4
  62. package/dist/components/MessageSeparator/MessageSeparator.d.ts.map +1 -1
  63. package/dist/components/Modal/Modal.d.ts +1 -1
  64. package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts +5 -4
  65. package/dist/components/MoreUnreadsBanner/MoreUnreadsBanner.d.ts.map +1 -1
  66. package/dist/components/NewMessageBanner/NewMessageBanner.d.ts +4 -4
  67. package/dist/components/NewMessageBanner/NewMessageBanner.d.ts.map +1 -1
  68. package/dist/components/PaginationDots/PaginationDots.d.ts +5 -6
  69. package/dist/components/PaginationDots/PaginationDots.d.ts.map +1 -1
  70. package/dist/components/PermalinkPreview/PermalinkPreview.d.ts +3 -3
  71. package/dist/components/PopoverNotice/PopoverNotice.d.ts +6 -0
  72. package/dist/components/PopoverNotice/PopoverNotice.d.ts.map +1 -1
  73. package/dist/components/ProductSwitcherMenu/ProductSwitcherMenu.d.ts +1 -1
  74. package/dist/components/ProfilePopover/ProfilePopover.d.ts +2 -2
  75. package/dist/components/ProgressBar/ProgressBar.d.ts +4 -4
  76. package/dist/components/Radio/Radio.d.ts +4 -8
  77. package/dist/components/Radio/Radio.d.ts.map +1 -1
  78. package/dist/components/ReactionPill/ReactionPill.d.ts +6 -5
  79. package/dist/components/ReactionPill/ReactionPill.d.ts.map +1 -1
  80. package/dist/components/Scrollbar/Scrollbar.d.ts +4 -7
  81. package/dist/components/Scrollbar/Scrollbar.d.ts.map +1 -1
  82. package/dist/components/SearchInput/SearchInput.d.ts +4 -4
  83. package/dist/components/SearchTipBanner/SearchTipBanner.d.ts +3 -2
  84. package/dist/components/SearchTipBanner/SearchTipBanner.d.ts.map +1 -1
  85. package/dist/components/SectionNotice/SectionNotice.d.ts +4 -4
  86. package/dist/components/Select/Select.d.ts +3 -5
  87. package/dist/components/Select/Select.d.ts.map +1 -1
  88. package/dist/components/ShortcutTag/ShortcutTag.d.ts +2 -2
  89. package/dist/components/Spinner/Spinner.d.ts +4 -0
  90. package/dist/components/Spinner/Spinner.d.ts.map +1 -1
  91. package/dist/components/StatusBadge/StatusBadge.d.ts +4 -6
  92. package/dist/components/StatusBadge/StatusBadge.d.ts.map +1 -1
  93. package/dist/components/Switch/Switch.d.ts +3 -11
  94. package/dist/components/Switch/Switch.d.ts.map +1 -1
  95. package/dist/components/Tabs/Tabs.d.ts +3 -2
  96. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  97. package/dist/components/Tag/Tag.d.ts +6 -5
  98. package/dist/components/Tag/Tag.d.ts.map +1 -1
  99. package/dist/components/TeamAvatar/TeamAvatar.d.ts +5 -1
  100. package/dist/components/TeamAvatar/TeamAvatar.d.ts.map +1 -1
  101. package/dist/components/TextArea/TextArea.d.ts +4 -6
  102. package/dist/components/TextArea/TextArea.d.ts.map +1 -1
  103. package/dist/components/TextInput/TextInput.d.ts +3 -6
  104. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  105. package/dist/components/ThreadFooter/ThreadFooter.d.ts +4 -4
  106. package/dist/components/ThreadListItem/ThreadListItem.d.ts +4 -4
  107. package/dist/components/Toast/Toast.d.ts +6 -1
  108. package/dist/components/Toast/Toast.d.ts.map +1 -1
  109. package/dist/components/Tooltip/Tooltip.d.ts +4 -3
  110. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  111. package/dist/components/UnreadBadge/UnreadBadge.d.ts +5 -7
  112. package/dist/components/UnreadBadge/UnreadBadge.d.ts.map +1 -1
  113. package/dist/components/UserAvatar/UserAvatar.d.ts +4 -9
  114. package/dist/components/UserAvatar/UserAvatar.d.ts.map +1 -1
  115. package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts +3 -6
  116. package/dist/components/UserAvatarGroup/UserAvatarGroup.d.ts.map +1 -1
  117. package/dist/index.cjs +1 -1
  118. package/dist/index.cjs.map +1 -1
  119. package/dist/index.js +1607 -1603
  120. package/dist/index.js.map +1 -1
  121. package/dist/utils/string.d.ts +2 -2
  122. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- export type IconButtonSize = 'X-Small' | 'Small' | 'Medium' | 'Large';
2
+ export type IconButtonSize = 'x-small' | 'small' | 'medium' | 'large';
3
3
  /** Figma "Style": Default (light context) | Inverted (dark context). */
4
- export type IconButtonStyle = 'Default' | 'Inverted';
5
- export type IconButtonPadding = 'Default' | 'Compact';
4
+ export type IconButtonStyle = 'default' | 'inverted';
5
+ export type IconButtonPadding = 'default' | 'compact';
6
6
  export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'style'> {
7
7
  /** When true, forces the subtler pressed/active visual (lighter than toggled). */
8
8
  active?: boolean;
@@ -30,11 +30,10 @@ export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonEle
30
30
  /** Icon size (px) per IconButton size. Use with Icon: size="12" | "16" | "20" | "24". */
31
31
  export declare const ICON_BUTTON_ICON_SIZES: Record<IconButtonSize, '12' | '16' | '20' | '24'>;
32
32
  /**
33
- * Icon-only button matching Figma Icon Button variants.
34
- * Pass icon e.g. <Icon glyph={<GlobeIcon size={SVG_SIZE_MAP['20']} />} size="20" /> — use ICON_BUTTON_ICON_SIZES[size] for the Icon container size.
35
- * Accessible via aria-label.
36
- *
37
- * @see https://compass.mattermost.com (Icon Button)
33
+ * Icon Buttons are compact, label-free actions for tight surfaces — channel headers, message
34
+ * hover actions, modal dismissals, toolbar slots. They lean on the icon to communicate
35
+ * intent, so every Icon Button must pair with a tooltip or `aria-label` that makes the
36
+ * action explicit.
38
37
  */
39
38
  export default function IconButton({ active, className, count, destructive, icon, padding, rounded, size, style, toggled, unreadBadge, disabled, type, 'aria-label': ariaLabel, ...rest }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
40
39
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtE,wEAAwE;AACxE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,OAAO,CACR;IACC,kFAAkF;IAClF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gIAAgI;IAChI,IAAI,EAAE,SAAS,CAAC;IAChB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,wEAAwE;IACxE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CACzC,cAAc,EACd,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAM1B,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,MAAc,EACd,SAAc,EACd,KAAK,EACL,WAAmB,EACnB,IAAI,EACJ,OAAmB,EACnB,OAAe,EACf,IAAe,EACf,KAAiB,EACjB,OAAe,EACf,WAAmB,EACnB,QAAQ,EACR,IAAe,EACf,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,eAAe,2CAmDjB"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtE,wEAAwE;AACxE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,CAAC;AAEtD,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,OAAO,CACR;IACC,kFAAkF;IAClF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gIAAgI;IAChI,IAAI,EAAE,SAAS,CAAC;IAChB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,kDAAkD;IAClD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,wEAAwE;IACxE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8EAA8E;IAC9E,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,EAAE,MAAM,CACzC,cAAc,EACd,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAM1B,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,MAAc,EACd,SAAc,EACd,KAAK,EACL,WAAmB,EACnB,IAAI,EACJ,OAAmB,EACnB,OAAe,EACf,IAAe,EACf,KAAiB,EACjB,OAAe,EACf,WAAmB,EACnB,QAAQ,EACR,IAAe,EACf,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,eAAe,2CAmDjB"}
@@ -12,12 +12,10 @@ export interface IllustrationProps {
12
12
  'aria-label'?: string;
13
13
  }
14
14
  /**
15
- * Wrapper for illustration SVGs. Import SVGs as React components with the ?react suffix
16
- * and pass them as children.
17
- *
18
- * @example
19
- * import EmptyStateSvg from '@/assets/illustrations/empty-state.svg?react'
20
- * <Illustration aria-label="No items yet"><EmptyStateSvg /></Illustration>
15
+ * Illustration is the wrapper for any of the brand SVG artworks shipped under
16
+ * `@/assets/illustrations/`. It enforces a consistent size box, contains the SVG, and
17
+ * exposes an accessible label so screen readers can describe the artwork (or skip it when
18
+ * it's purely decorative).
21
19
  */
22
20
  export default function Illustration({ children, className, width, height, 'aria-label': ariaLabel, }: IllustrationProps): import("react/jsx-runtime").JSX.Element;
23
21
  //# sourceMappingURL=Illustration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Illustration.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/Illustration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,iBAAiB;IAChC,qGAAqG;IACrG,QAAQ,EAAE,SAAS,CAAC;IACpB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,SAAc,EACd,KAAK,EACL,MAAM,EACN,YAAY,EAAE,SAAS,GACxB,EAAE,iBAAiB,2CAenB"}
1
+ {"version":3,"file":"Illustration.d.ts","sourceRoot":"","sources":["../../../src/components/Illustration/Illustration.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,iBAAiB;IAChC,qGAAqG;IACrG,QAAQ,EAAE,SAAS,CAAC;IACpB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,QAAQ,EACR,SAAc,EACd,KAAK,EACL,MAAM,EACN,YAAY,EAAE,SAAS,GACxB,EAAE,iBAAiB,2CAenB"}
@@ -18,9 +18,9 @@ export interface ImagePreviewProps {
18
18
  className?: string;
19
19
  }
20
20
  /**
21
- * Image preview / lightbox for viewing attached images. Supports collapsed
22
- * state and hover action overlay (copy link, download). Corresponds to Figma
23
- * Image Preview v1.0.0.
21
+ * Image Preview displays image attachments, markdown images, and inline image links inside
22
+ * the message stream. It frames the image, shows hover actions for copy and download, and
23
+ * lets the user collapse the preview when it's in the way.
24
24
  */
25
25
  export default function ImagePreview({ src, alt, collapsed, onToggleCollapse, onCopyLink, onDownload, aspectRatio, className, }: ImagePreviewProps): import("react/jsx-runtime").JSX.Element;
26
26
  //# sourceMappingURL=ImagePreview.d.ts.map
@@ -26,8 +26,9 @@ export interface LinkPreviewProps {
26
26
  className?: string;
27
27
  }
28
28
  /**
29
- * Rich URL preview card shown in messages. Displays site name, title (linked),
30
- * and description. Corresponds to the Figma Link Preview component v2.0.0.
29
+ * Link Previews appear under a message whenever it contains a URL with rich metadata — a
30
+ * documentation page, a blog post, a product link. They give the recipient enough context to
31
+ * decide whether to click without forcing them to open the link cold.
31
32
  */
32
33
  export default function LinkPreview({ siteName, title, description, imageSrc, imageAlt, imageSize, imageCollapsed, onToggleImageCollapse, onCopyImageLink, onDownloadImage, onDismiss, className, }: LinkPreviewProps): import("react/jsx-runtime").JSX.Element;
33
34
  //# sourceMappingURL=LinkPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkPreview.d.ts","sourceRoot":"","sources":["../../../src/components/LinkPreview/LinkPreview.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,gBAAgB;IAC/B,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,8FAA8F;IAC9F,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gEAAgE;IAChE,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,qEAAqE;IACrE,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC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MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,QAA2B,EAC3B,KAAuF,EACvF,WAAiJ,EACjJ,QAAQ,EACR,QAAa,EACb,SAAkB,EAClB,cAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,SAAS,EACT,SAAc,GACf,EAAE,gBAAgB,2CAyElB"}
@@ -1,7 +1,7 @@
1
1
  /** Figma Mention Badge location context — controls color scheme. */
2
- export type MentionBadgeLocation = 'Sidebar' | 'Menu Item' | 'Icon Button' | 'Channel';
2
+ export type MentionBadgeLocation = 'sidebar' | 'menu-item' | 'icon-button' | 'channel';
3
3
  /** Figma Mention Badge size. */
4
- export type MentionBadgeSize = 'Small' | 'Medium' | 'Large';
4
+ export type MentionBadgeSize = 'small' | 'medium' | 'large';
5
5
  export interface MentionBadgeProps {
6
6
  /** Optional CSS class name. */
7
7
  className?: string;
@@ -13,10 +13,10 @@ export interface MentionBadgeProps {
13
13
  size?: MentionBadgeSize;
14
14
  }
15
15
  /**
16
- * Mention badge — displays a numeric count in a pill.
17
- * Matches Figma Mention Badge v2.0.1.
18
- *
19
- * @see Figma Mention Badge (Node ID: 322:4608)
16
+ * Mention Badges show a numerical count of pending mentions. They appear next to channel
17
+ * names in the sidebar, on app-bar icons, inline in menu items, and on center-channel lists
18
+ * such as thread rows — small, high-contrast pills that pull the eye without dominating the
19
+ * row.
20
20
  */
21
21
  export default function MentionBadge({ className, count, location, size, }: MentionBadgeProps): import("react/jsx-runtime").JSX.Element;
22
22
  //# sourceMappingURL=MentionBadge.d.ts.map
@@ -4,8 +4,8 @@ export interface MenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  label: string;
5
5
  /** Optional secondary label. */
6
6
  secondaryLabel?: ReactNode;
7
- /** Where the secondary label appears. Default: 'Below'. */
8
- secondaryLabelPosition?: 'Inline' | 'Below';
7
+ /** Where the secondary label appears. Default: 'below'. */
8
+ secondaryLabelPosition?: 'inline' | 'below';
9
9
  /** Custom content for the leading slot. When omitted, shows placeholder icon. */
10
10
  leadingVisual?: ReactNode;
11
11
  /** Show the leading visual slot. Default: true. */
@@ -26,9 +26,8 @@ export interface MenuItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
26
26
  active?: boolean;
27
27
  }
28
28
  /**
29
- * Menu item matching Figma/Compass Menu Item v2.0.0.
30
- *
31
- * @see https://compass.mattermost.com/29be2c109/p/1092d5-menu-item
29
+ * Menu Items are the rows inside a Menu — the smallest selectable unit in any dropdown,
30
+ * kebab, or context menu. One label, optional supporting visuals, and a clear hit target.
32
31
  */
33
32
  export default function MenuItem({ label, secondaryLabel, secondaryLabelPosition, leadingVisual, leadingElement, trailingVisual, trailingElement, customStatusEmoji, tag, mentionCount, destructive, active, className, disabled, type, ...rest }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
34
33
  //# sourceMappingURL=MenuItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAQ7D,MAAM,WAAW,aAAc,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC5E,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,2DAA2D;IAC3D,sBAAsB,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC5C,iFAAiF;IACjF,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,mDAAmD;IACnD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,sGAAsG;IACtG,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,qDAAqD;IACrD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,MAA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E,MAAM,CAAC;IACtB,oCAAoC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oEAAoE;IACpE,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,KAAK,EACL,cAAc,EACd,sBAAgC,EAChC,aAAa,EACb,cAAqB,EACrB,cAAc,EACd,eAAuB,EACvB,iBAAiB,EACjB,GAAW,EACX,YAAY,EACZ,WAAmB,EACnB,MAAc,EACd,SAAc,EACd,QAAQ,EACR,IAAe,EACf,GAAG,IAAI,EACR,EAAE,aAAa,2CAuEf"}
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from 'react';
2
- export type MessageActionsType = 'Center Channel' | 'RHS' | 'Search Results';
2
+ export type MessageActionsType = 'center-channel' | 'rhs' | 'search-results';
3
3
  export interface MessageActionsProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /** Context variant. Default: Center Channel. */
5
5
  type?: MessageActionsType;
@@ -13,8 +13,9 @@ export interface MessageActionsProps extends HTMLAttributes<HTMLDivElement> {
13
13
  className?: string;
14
14
  }
15
15
  /**
16
- * Hover toolbar on messages. Context-aware variants for Center Channel, RHS,
17
- * and Search Results. Quick Reactions toggle shows emoji shortcuts.
16
+ * Message Actions is the floating toolbar that appears on a message when you hover, tab, or
17
+ * long-press it. It bundles the most common per-message actions — react, save, reply, more —
18
+ * into a small, context-aware row that hovers above the post.
18
19
  */
19
20
  export default function MessageActions({ type, visible, collapsedReplyThreads, quickReactions, className, ...rest }: MessageActionsProps): import("react/jsx-runtime").JSX.Element | null;
20
21
  //# sourceMappingURL=MessageActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageActions.d.ts","sourceRoot":"","sources":["../../../src/components/MessageActions/MessageActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAY5C,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,KAAK,GAAG,gBAAgB,CAAC;AAE7E,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,gDAAgD;IAChD,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wDAAwD;IACxD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAuB,EACvB,OAAc,EACd,qBAA4B,EAC5B,cAAqB,EACrB,SAAc,EACd,GAAG,IAAI,EACR,EAAE,mBAAmB,kDAuIrB"}
1
+ {"version":3,"file":"MessageActions.d.ts","sourceRoot":"","sources":["../../../src/components/MessageActions/MessageActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAY5C,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,KAAK,GAAG,gBAAgB,CAAC;AAE7E,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACzE,gDAAgD;IAChD,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wDAAwD;IACxD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,IAAuB,EACvB,OAAc,EACd,qBAA4B,EAC5B,cAAqB,EACrB,SAAc,EACd,GAAG,IAAI,EACR,EAAE,mBAAmB,kDAuIrB"}
@@ -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
- * Emoji reaction chips displayed below messages.
30
- * Distinguishes the current user's own reactions (highlighted) from others.
31
- * Includes an add-reaction button and an optional Acknowledge variant.
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 = 'Date' | 'New Messages' | 'Reply Count';
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' / 'New Messages' / '4 replies'. */
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
- * Horizontal divider lines in the message stream.
17
- * Three types: date separator, new-message indicator (gold), and reply count.
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;;;GAGG;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
+ {"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 = 'Small' | 'Medium' | 'Large';
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 = 'Up' | 'Down';
2
- export type MoreUnreadsBannerSize = 'Small' | 'Medium' | 'Large';
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 — simple pill banner indicating unread messages
15
- * above or below the viewport in channel view.
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;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,SAAc,EACd,SAAgB,EAChB,IAAe,EACf,OAAO,GACR,EAAE,sBAAsB,2CAmBxB"}
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 = 'JumpToUnreads' | 'NewReplies';
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 Message Banner — blue pill banner for unread message navigation.
16
- * 'Jump to unreads' shows full-width with count. 'New replies' is compact.
17
- * Dismissable with X button.
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,eAAe,GAAG,YAAY,CAAC;AAElE,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,IAAsB,EACtB,UAAU,EACV,OAAO,EACP,SAAS,GACV,EAAE,qBAAqB,2CAsDvB"}
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 = 'Horizontal' | 'Vertical';
2
- export type PaginationDotsStyle = 'Default' | 'Inverted' | 'OnPrimary';
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 — step/progress indicator dots for multi-step flows.
19
- * Horizontal and vertical orientations. Default, inverted (sidebar), and
20
- * on-primary (light dots on `--button-bg` / info surfaces via `--button-color`).
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,WAAW,CAAC;AAEvE,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;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,UAAU,EACV,WAA0B,EAC1B,QAAoB,EACpB,YAAY,EACZ,SAAc,GACf,EAAE,mBAAmB,2CAqDrB"}
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
- * Inline preview of a linked message within a thread or channel. Shows sender
19
- * avatar, name, timestamp, and message content. Corresponds to Figma
20
- * Permalink Preview v1.0.0.
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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C;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 = 'Channels' | 'Boards' | 'Playbooks';
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 = 'Others' | 'You';
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: 'Others'. */
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 = 'Small' | 'Large';
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 — horizontal progress indicator.
19
- * Size (Small/Large). Semantic colors mode changes fill color by percentage.
20
- * Used in upload progress, quota usage.
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 = 'Small' | 'Medium' | 'Large';
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
- * Radio component built on the native HTML radio input.
15
- * Supports checked/unchecked; sizes and valid/invalid styling match Figma Radio v2.0.0.
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;;;;;;;;GAQG;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
+ {"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 = 'Small' | 'Medium' | 'Large';
3
- export type ReactionPillType = 'Reaction' | 'Hand Raise' | 'Other';
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 'Other' type. */
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
- * Call-specific reaction pills showing emoji, hand-raise, or notification reactions
20
- * during calls. Anatomy: Leading Icon + Label (+ Trailing Icon for Other type).
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,OAA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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
- * 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
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;;;;;;;;GAQG;AACH,QAAA,MAAM,SAAS,2GA6Cb,CAAC;AAEH,eAAe,SAAS,CAAC"}
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 = 'Small' | 'Medium' | 'Large';
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 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).
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 — dismissable hint banner showing keyboard shortcut tips.
21
- * Used contextually to surface relevant keyboard shortcuts to users.
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;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,MAAmB,EACnB,MAAiC,EACjC,YAAmE,EACnE,SAAS,EACT,SAAc,EACd,QAAQ,GACT,EAAE,oBAAoB,2CA6BtB"}
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 = 'Info' | 'Warning' | 'Danger' | 'Success' | 'Hint';
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 — in-context notice block for settings and admin panels.
27
- * Color-coded by severity. Supports title, description, primary/secondary
28
- * action buttons, and dismiss.
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