@mattermost/compass-ui 0.1.0-alpha.5 → 0.1.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (977) hide show
  1. package/README.md +1 -0
  2. package/dist/components/action-button/ActionButton.cjs.map +1 -1
  3. package/dist/components/action-button/ActionButton.d.ts +1 -0
  4. package/dist/components/action-button/ActionButton.d.ts.map +1 -1
  5. package/dist/components/action-button/ActionButton.js.map +1 -1
  6. package/dist/components/admin-panel/AdminPanel.cjs.map +1 -1
  7. package/dist/components/admin-panel/AdminPanel.d.ts +1 -0
  8. package/dist/components/admin-panel/AdminPanel.d.ts.map +1 -1
  9. package/dist/components/admin-panel/AdminPanel.js.map +1 -1
  10. package/dist/components/admin-panel-header/AdminPanelHeader.cjs.map +1 -1
  11. package/dist/components/admin-panel-header/AdminPanelHeader.d.ts +1 -0
  12. package/dist/components/admin-panel-header/AdminPanelHeader.d.ts.map +1 -1
  13. package/dist/components/admin-panel-header/AdminPanelHeader.js.map +1 -1
  14. package/dist/components/button/Button.cjs +1 -1
  15. package/dist/components/button/Button.cjs.map +1 -1
  16. package/dist/components/button/Button.d.ts +2 -2
  17. package/dist/components/button/Button.d.ts.map +1 -1
  18. package/dist/components/button/Button.js +24 -24
  19. package/dist/components/button/Button.js.map +1 -1
  20. package/dist/components/button/Button.module.css +1 -1
  21. package/dist/components/button/Button.module.scss.cjs +1 -1
  22. package/dist/components/button/Button.module.scss.js +13 -12
  23. package/dist/components/button/Button.module.scss.js.map +1 -1
  24. package/dist/components/card-button/CardButton.cjs +2 -0
  25. package/dist/components/card-button/CardButton.cjs.map +1 -0
  26. package/dist/components/card-button/CardButton.d.ts +20 -0
  27. package/dist/components/card-button/CardButton.d.ts.map +1 -0
  28. package/dist/components/card-button/CardButton.js +45 -0
  29. package/dist/components/card-button/CardButton.js.map +1 -0
  30. package/dist/components/card-button/CardButton.module.css +1 -0
  31. package/dist/components/card-button/CardButton.module.scss.cjs +2 -0
  32. package/dist/components/card-button/CardButton.module.scss.cjs.map +1 -0
  33. package/dist/components/card-button/CardButton.module.scss.js +13 -0
  34. package/dist/components/card-button/CardButton.module.scss.js.map +1 -0
  35. package/dist/components/card-button/CardButtonGroup.cjs +2 -0
  36. package/dist/components/card-button/CardButtonGroup.cjs.map +1 -0
  37. package/dist/components/card-button/CardButtonGroup.d.ts +13 -0
  38. package/dist/components/card-button/CardButtonGroup.d.ts.map +1 -0
  39. package/dist/components/card-button/CardButtonGroup.js +85 -0
  40. package/dist/components/card-button/CardButtonGroup.js.map +1 -0
  41. package/dist/components/card-button/CardButtonGroup.module.css +1 -0
  42. package/dist/components/card-button/CardButtonGroup.module.scss.cjs +2 -0
  43. package/dist/components/card-button/CardButtonGroup.module.scss.cjs.map +1 -0
  44. package/dist/components/card-button/CardButtonGroup.module.scss.js +7 -0
  45. package/dist/components/card-button/CardButtonGroup.module.scss.js.map +1 -0
  46. package/dist/components/card-button/index.cjs +2 -0
  47. package/dist/components/card-button/index.d.ts +5 -0
  48. package/dist/components/card-button/index.d.ts.map +1 -0
  49. package/dist/components/card-button/index.js +7 -0
  50. package/dist/components/emoji-button/EmojiButton.cjs +2 -0
  51. package/dist/components/emoji-button/EmojiButton.cjs.map +1 -0
  52. package/dist/components/emoji-button/EmojiButton.d.ts +30 -0
  53. package/dist/components/emoji-button/EmojiButton.d.ts.map +1 -0
  54. package/dist/components/emoji-button/EmojiButton.js +35 -0
  55. package/dist/components/emoji-button/EmojiButton.js.map +1 -0
  56. package/dist/components/emoji-button/EmojiButton.module.css +1 -0
  57. package/dist/components/emoji-button/EmojiButton.module.scss.cjs +2 -0
  58. package/dist/components/emoji-button/EmojiButton.module.scss.cjs.map +1 -0
  59. package/dist/components/emoji-button/EmojiButton.module.scss.js +15 -0
  60. package/dist/components/emoji-button/EmojiButton.module.scss.js.map +1 -0
  61. package/dist/components/emoji-button/index.cjs +2 -0
  62. package/dist/components/emoji-button/index.d.ts +3 -0
  63. package/dist/components/emoji-button/index.d.ts.map +1 -0
  64. package/dist/components/emoji-button/index.js +6 -0
  65. package/dist/components/emoji-popover/EmojiPopover.cjs +2 -0
  66. package/dist/components/emoji-popover/EmojiPopover.cjs.map +1 -0
  67. package/dist/components/emoji-popover/EmojiPopover.d.ts +34 -0
  68. package/dist/components/emoji-popover/EmojiPopover.d.ts.map +1 -0
  69. package/dist/components/emoji-popover/EmojiPopover.js +244 -0
  70. package/dist/components/emoji-popover/EmojiPopover.js.map +1 -0
  71. package/dist/components/emoji-popover/EmojiPopover.module.css +1 -0
  72. package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs +2 -0
  73. package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs.map +1 -0
  74. package/dist/components/emoji-popover/EmojiPopover.module.scss.js +27 -0
  75. package/dist/components/emoji-popover/EmojiPopover.module.scss.js.map +1 -0
  76. package/dist/components/{message-input → emoji-popover}/index.cjs +1 -1
  77. package/dist/components/emoji-popover/index.d.ts +3 -0
  78. package/dist/components/{reaction-pill → emoji-popover}/index.d.ts.map +1 -1
  79. package/dist/components/emoji-popover/index.js +5 -0
  80. package/dist/components/global-banner/GlobalBanner.cjs.map +1 -1
  81. package/dist/components/global-banner/GlobalBanner.d.ts +1 -1
  82. package/dist/components/global-banner/GlobalBanner.d.ts.map +1 -1
  83. package/dist/components/global-banner/GlobalBanner.js.map +1 -1
  84. package/dist/components/global-header/GlobalHeader.module.css +1 -1
  85. package/dist/components/global-header/GlobalHeader.module.scss.cjs +1 -1
  86. package/dist/components/global-header/GlobalHeader.module.scss.js +16 -16
  87. package/dist/components/icon/Icon.js +6 -6
  88. package/dist/components/illustration/Illustration.cjs.map +1 -1
  89. package/dist/components/illustration/Illustration.d.ts +5 -5
  90. package/dist/components/illustration/Illustration.d.ts.map +1 -1
  91. package/dist/components/illustration/Illustration.js.map +1 -1
  92. package/dist/components/menu-group-heading/MenuGroupHeading.cjs +2 -0
  93. package/dist/components/menu-group-heading/MenuGroupHeading.cjs.map +1 -0
  94. package/dist/components/menu-group-heading/MenuGroupHeading.d.ts +11 -0
  95. package/dist/components/menu-group-heading/MenuGroupHeading.d.ts.map +1 -0
  96. package/dist/components/menu-group-heading/MenuGroupHeading.js +20 -0
  97. package/dist/components/menu-group-heading/MenuGroupHeading.js.map +1 -0
  98. package/dist/components/menu-group-heading/MenuGroupHeading.module.css +1 -0
  99. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs +2 -0
  100. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs.map +1 -0
  101. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js +8 -0
  102. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js.map +1 -0
  103. package/dist/components/{message-reactions → menu-group-heading}/index.cjs +1 -1
  104. package/dist/components/menu-group-heading/index.d.ts +3 -0
  105. package/dist/components/menu-group-heading/index.d.ts.map +1 -0
  106. package/dist/components/menu-group-heading/index.js +5 -0
  107. package/dist/components/menu-item/MenuItem.cjs.map +1 -1
  108. package/dist/components/menu-item/MenuItem.d.ts +2 -2
  109. package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
  110. package/dist/components/menu-item/MenuItem.js.map +1 -1
  111. package/dist/components/message-separator/MessageSeparator.cjs +1 -1
  112. package/dist/components/message-separator/MessageSeparator.cjs.map +1 -1
  113. package/dist/components/message-separator/MessageSeparator.d.ts +1 -1
  114. package/dist/components/message-separator/MessageSeparator.js +1 -1
  115. package/dist/components/message-separator/MessageSeparator.js.map +1 -1
  116. package/dist/components/modal/Modal.cjs +1 -1
  117. package/dist/components/modal/Modal.cjs.map +1 -1
  118. package/dist/components/modal/Modal.d.ts +43 -11
  119. package/dist/components/modal/Modal.d.ts.map +1 -1
  120. package/dist/components/modal/Modal.js +56 -74
  121. package/dist/components/modal/Modal.js.map +1 -1
  122. package/dist/components/modal/Modal.module.css +1 -1
  123. package/dist/components/modal/Modal.module.scss.cjs +1 -1
  124. package/dist/components/modal/Modal.module.scss.js +12 -25
  125. package/dist/components/modal/Modal.module.scss.js.map +1 -1
  126. package/dist/components/modal/index.d.ts +1 -1
  127. package/dist/components/modal/index.d.ts.map +1 -1
  128. package/dist/components/modal-footer/ModalFooter.cjs +2 -0
  129. package/dist/components/modal-footer/ModalFooter.cjs.map +1 -0
  130. package/dist/components/modal-footer/ModalFooter.d.ts +29 -0
  131. package/dist/components/modal-footer/ModalFooter.d.ts.map +1 -0
  132. package/dist/components/modal-footer/ModalFooter.js +31 -0
  133. package/dist/components/modal-footer/ModalFooter.js.map +1 -0
  134. package/dist/components/modal-footer/ModalFooter.module.css +1 -0
  135. package/dist/components/modal-footer/ModalFooter.module.scss.cjs +2 -0
  136. package/dist/components/modal-footer/ModalFooter.module.scss.cjs.map +1 -0
  137. package/dist/components/modal-footer/ModalFooter.module.scss.js +17 -0
  138. package/dist/components/modal-footer/ModalFooter.module.scss.js.map +1 -0
  139. package/dist/components/{app-bar-item → modal-footer}/index.cjs +1 -1
  140. package/dist/components/modal-footer/index.d.ts +3 -0
  141. package/dist/components/modal-footer/index.d.ts.map +1 -0
  142. package/dist/components/modal-footer/index.js +5 -0
  143. package/dist/components/modal-header/ModalHeader.cjs +2 -0
  144. package/dist/components/modal-header/ModalHeader.cjs.map +1 -0
  145. package/dist/components/modal-header/ModalHeader.d.ts +38 -0
  146. package/dist/components/modal-header/ModalHeader.d.ts.map +1 -0
  147. package/dist/components/modal-header/ModalHeader.js +74 -0
  148. package/dist/components/modal-header/ModalHeader.js.map +1 -0
  149. package/dist/components/modal-header/ModalHeader.module.css +1 -0
  150. package/dist/components/modal-header/ModalHeader.module.scss.cjs +2 -0
  151. package/dist/components/modal-header/ModalHeader.module.scss.cjs.map +1 -0
  152. package/dist/components/modal-header/ModalHeader.module.scss.js +19 -0
  153. package/dist/components/modal-header/ModalHeader.module.scss.js.map +1 -0
  154. package/dist/components/{reaction-pill → modal-header}/index.cjs +1 -1
  155. package/dist/components/modal-header/index.d.ts +3 -0
  156. package/dist/components/modal-header/index.d.ts.map +1 -0
  157. package/dist/components/modal-header/index.js +5 -0
  158. package/dist/components/popover-notice/PopoverNotice.cjs.map +1 -1
  159. package/dist/components/popover-notice/PopoverNotice.d.ts +1 -1
  160. package/dist/components/popover-notice/PopoverNotice.d.ts.map +1 -1
  161. package/dist/components/popover-notice/PopoverNotice.js.map +1 -1
  162. package/dist/components/reaction-button/ReactionButton.cjs +2 -0
  163. package/dist/components/reaction-button/ReactionButton.cjs.map +1 -0
  164. package/dist/components/reaction-button/ReactionButton.d.ts +17 -0
  165. package/dist/components/reaction-button/ReactionButton.d.ts.map +1 -0
  166. package/dist/components/reaction-button/ReactionButton.js +42 -0
  167. package/dist/components/reaction-button/ReactionButton.js.map +1 -0
  168. package/dist/components/reaction-button/ReactionButton.module.css +1 -0
  169. package/dist/components/reaction-button/ReactionButton.module.scss.cjs +2 -0
  170. package/dist/components/reaction-button/ReactionButton.module.scss.cjs.map +1 -0
  171. package/dist/components/reaction-button/ReactionButton.module.scss.js +12 -0
  172. package/dist/components/reaction-button/ReactionButton.module.scss.js.map +1 -0
  173. package/dist/components/reaction-button/index.cjs +2 -0
  174. package/dist/components/reaction-button/index.d.ts +3 -0
  175. package/dist/components/reaction-button/index.d.ts.map +1 -0
  176. package/dist/components/reaction-button/index.js +5 -0
  177. package/dist/components/reaction-button/index.js.map +1 -0
  178. package/dist/components/reactions-row/ReactionsRow.cjs +2 -0
  179. package/dist/components/reactions-row/ReactionsRow.cjs.map +1 -0
  180. package/dist/components/{message-reactions/MessageReactions.d.ts → reactions-row/ReactionsRow.d.ts} +5 -5
  181. package/dist/components/reactions-row/ReactionsRow.d.ts.map +1 -0
  182. package/dist/components/reactions-row/ReactionsRow.js +71 -0
  183. package/dist/components/reactions-row/ReactionsRow.js.map +1 -0
  184. package/dist/components/reactions-row/ReactionsRow.module.css +1 -0
  185. package/dist/components/reactions-row/ReactionsRow.module.scss.cjs +2 -0
  186. package/dist/components/reactions-row/ReactionsRow.module.scss.cjs.map +1 -0
  187. package/dist/components/reactions-row/ReactionsRow.module.scss.js +14 -0
  188. package/dist/components/reactions-row/ReactionsRow.module.scss.js.map +1 -0
  189. package/dist/components/{channel-header → reactions-row}/index.cjs +1 -1
  190. package/dist/components/reactions-row/index.cjs.map +1 -0
  191. package/dist/components/reactions-row/index.d.ts +3 -0
  192. package/dist/components/{message-input → reactions-row}/index.d.ts.map +1 -1
  193. package/dist/components/reactions-row/index.js +5 -0
  194. package/dist/components/reactions-row/index.js.map +1 -0
  195. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs +2 -0
  196. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs.map +1 -0
  197. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.d.ts +2 -2
  198. package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts.map +1 -0
  199. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.js +3 -3
  200. package/dist/components/right-sidebar-header/RightSidebarHeader.js.map +1 -0
  201. package/dist/components/right-sidebar-header/RightSidebarHeader.module.css +1 -0
  202. package/dist/components/right-sidebar-header/RightSidebarHeader.module.scss.cjs +2 -0
  203. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js +12 -12
  204. package/dist/components/right-sidebar-header/index.cjs +2 -0
  205. package/dist/components/right-sidebar-header/index.cjs.map +1 -0
  206. package/dist/components/right-sidebar-header/index.d.ts +3 -0
  207. package/dist/components/right-sidebar-header/index.d.ts.map +1 -0
  208. package/dist/components/right-sidebar-header/index.js +5 -0
  209. package/dist/components/right-sidebar-header/index.js.map +1 -0
  210. package/dist/components/section-notice/SectionNotice.cjs.map +1 -1
  211. package/dist/components/section-notice/SectionNotice.d.ts +1 -1
  212. package/dist/components/section-notice/SectionNotice.d.ts.map +1 -1
  213. package/dist/components/section-notice/SectionNotice.js.map +1 -1
  214. package/dist/components/tag/Tag.cjs.map +1 -1
  215. package/dist/components/tag/Tag.d.ts +1 -1
  216. package/dist/components/tag/Tag.d.ts.map +1 -1
  217. package/dist/components/tag/Tag.js.map +1 -1
  218. package/dist/components/text-input/TextInput.cjs.map +1 -1
  219. package/dist/components/text-input/TextInput.d.ts +1 -1
  220. package/dist/components/text-input/TextInput.d.ts.map +1 -1
  221. package/dist/components/text-input/TextInput.js.map +1 -1
  222. package/dist/components/thread-footer/ThreadFooter.module.css +1 -1
  223. package/dist/components/thread-footer/ThreadFooter.module.scss.cjs +1 -1
  224. package/dist/components/thread-footer/ThreadFooter.module.scss.js +19 -19
  225. package/dist/components/toast/Toast.cjs +1 -1
  226. package/dist/components/toast/Toast.cjs.map +1 -1
  227. package/dist/components/toast/Toast.d.ts.map +1 -1
  228. package/dist/components/toast/Toast.js +31 -31
  229. package/dist/components/toast/Toast.js.map +1 -1
  230. package/dist/components/toast/Toast.module.css +1 -1
  231. package/dist/components/toast/Toast.module.scss.cjs +1 -1
  232. package/dist/components/toast/Toast.module.scss.js +14 -13
  233. package/dist/components/toast/Toast.module.scss.js.map +1 -1
  234. package/dist/components/tooltip/Tooltip.cjs.map +1 -1
  235. package/dist/components/tooltip/Tooltip.d.ts +1 -1
  236. package/dist/components/tooltip/Tooltip.d.ts.map +1 -1
  237. package/dist/components/tooltip/Tooltip.js.map +1 -1
  238. package/dist/components/tour-point/TourPoint.module.css +1 -1
  239. package/dist/components/tour-point/TourPoint.module.scss.cjs +1 -1
  240. package/dist/components/tour-point/TourPoint.module.scss.js +28 -28
  241. package/dist/illustrations/ai-copilot-intro.cjs +2 -0
  242. package/dist/illustrations/ai-copilot-intro.cjs.map +1 -0
  243. package/dist/illustrations/ai-copilot-intro.d.ts +4 -0
  244. package/dist/illustrations/ai-copilot-intro.js +5 -0
  245. package/dist/illustrations/ai-copilot-intro.js.map +1 -0
  246. package/dist/illustrations/ai-copilot-intro.svg.cjs +2 -0
  247. package/dist/illustrations/ai-copilot-intro.svg.cjs.map +1 -0
  248. package/dist/illustrations/ai-copilot-intro.svg.js +6 -0
  249. package/dist/illustrations/ai-copilot-intro.svg.js.map +1 -0
  250. package/dist/illustrations/alert-on-sidebar-bg.cjs +2 -0
  251. package/dist/illustrations/alert-on-sidebar-bg.cjs.map +1 -0
  252. package/dist/illustrations/alert-on-sidebar-bg.d.ts +4 -0
  253. package/dist/illustrations/alert-on-sidebar-bg.js +5 -0
  254. package/dist/illustrations/alert-on-sidebar-bg.js.map +1 -0
  255. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs +2 -0
  256. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs.map +1 -0
  257. package/dist/illustrations/alert-on-sidebar-bg.svg.js +6 -0
  258. package/dist/illustrations/alert-on-sidebar-bg.svg.js.map +1 -0
  259. package/dist/illustrations/alert.cjs +2 -0
  260. package/dist/illustrations/alert.cjs.map +1 -0
  261. package/dist/illustrations/alert.d.ts +4 -0
  262. package/dist/illustrations/alert.js +5 -0
  263. package/dist/illustrations/alert.js.map +1 -0
  264. package/dist/illustrations/alert.svg.cjs +2 -0
  265. package/dist/illustrations/alert.svg.cjs.map +1 -0
  266. package/dist/illustrations/alert.svg.js +6 -0
  267. package/dist/illustrations/alert.svg.js.map +1 -0
  268. package/dist/illustrations/archived-channel.cjs +2 -0
  269. package/dist/illustrations/archived-channel.cjs.map +1 -0
  270. package/dist/illustrations/archived-channel.d.ts +4 -0
  271. package/dist/illustrations/archived-channel.js +5 -0
  272. package/dist/illustrations/archived-channel.js.map +1 -0
  273. package/dist/illustrations/archived-channel.svg.cjs +2 -0
  274. package/dist/illustrations/archived-channel.svg.cjs.map +1 -0
  275. package/dist/illustrations/archived-channel.svg.js +6 -0
  276. package/dist/illustrations/archived-channel.svg.js.map +1 -0
  277. package/dist/illustrations/auto-translation.cjs +2 -0
  278. package/dist/illustrations/auto-translation.cjs.map +1 -0
  279. package/dist/illustrations/auto-translation.d.ts +4 -0
  280. package/dist/illustrations/auto-translation.js +5 -0
  281. package/dist/illustrations/auto-translation.js.map +1 -0
  282. package/dist/illustrations/auto-translation.svg.cjs +2 -0
  283. package/dist/illustrations/auto-translation.svg.cjs.map +1 -0
  284. package/dist/illustrations/auto-translation.svg.js +6 -0
  285. package/dist/illustrations/auto-translation.svg.js.map +1 -0
  286. package/dist/illustrations/banners.cjs +2 -0
  287. package/dist/illustrations/banners.cjs.map +1 -0
  288. package/dist/illustrations/banners.d.ts +4 -0
  289. package/dist/illustrations/banners.js +5 -0
  290. package/dist/illustrations/banners.js.map +1 -0
  291. package/dist/illustrations/banners.svg.cjs +2 -0
  292. package/dist/illustrations/banners.svg.cjs.map +1 -0
  293. package/dist/illustrations/banners.svg.js +6 -0
  294. package/dist/illustrations/banners.svg.js.map +1 -0
  295. package/dist/illustrations/billing-history.cjs +2 -0
  296. package/dist/illustrations/billing-history.cjs.map +1 -0
  297. package/dist/illustrations/billing-history.d.ts +4 -0
  298. package/dist/illustrations/billing-history.js +5 -0
  299. package/dist/illustrations/billing-history.js.map +1 -0
  300. package/dist/illustrations/billing-history.svg.cjs +2 -0
  301. package/dist/illustrations/billing-history.svg.cjs.map +1 -0
  302. package/dist/illustrations/billing-history.svg.js +6 -0
  303. package/dist/illustrations/billing-history.svg.js.map +1 -0
  304. package/dist/illustrations/blank-playbook.cjs +2 -0
  305. package/dist/illustrations/blank-playbook.cjs.map +1 -0
  306. package/dist/illustrations/blank-playbook.d.ts +4 -0
  307. package/dist/illustrations/blank-playbook.js +5 -0
  308. package/dist/illustrations/blank-playbook.js.map +1 -0
  309. package/dist/illustrations/blank-playbook.svg.cjs +2 -0
  310. package/dist/illustrations/blank-playbook.svg.cjs.map +1 -0
  311. package/dist/illustrations/blank-playbook.svg.js +6 -0
  312. package/dist/illustrations/blank-playbook.svg.js.map +1 -0
  313. package/dist/illustrations/bot-accounts.cjs +2 -0
  314. package/dist/illustrations/bot-accounts.cjs.map +1 -0
  315. package/dist/illustrations/bot-accounts.d.ts +4 -0
  316. package/dist/illustrations/bot-accounts.js +5 -0
  317. package/dist/illustrations/bot-accounts.js.map +1 -0
  318. package/dist/illustrations/bot-accounts.svg.cjs +2 -0
  319. package/dist/illustrations/bot-accounts.svg.cjs.map +1 -0
  320. package/dist/illustrations/bot-accounts.svg.js +6 -0
  321. package/dist/illustrations/bot-accounts.svg.js.map +1 -0
  322. package/dist/illustrations/browser-or-desktop.cjs +2 -0
  323. package/dist/illustrations/browser-or-desktop.cjs.map +1 -0
  324. package/dist/illustrations/browser-or-desktop.d.ts +4 -0
  325. package/dist/illustrations/browser-or-desktop.js +5 -0
  326. package/dist/illustrations/browser-or-desktop.js.map +1 -0
  327. package/dist/illustrations/browser-or-desktop.svg.cjs +2 -0
  328. package/dist/illustrations/browser-or-desktop.svg.cjs.map +1 -0
  329. package/dist/illustrations/browser-or-desktop.svg.js +6 -0
  330. package/dist/illustrations/browser-or-desktop.svg.js.map +1 -0
  331. package/dist/illustrations/bug-bash.cjs +2 -0
  332. package/dist/illustrations/bug-bash.cjs.map +1 -0
  333. package/dist/illustrations/bug-bash.d.ts +4 -0
  334. package/dist/illustrations/bug-bash.js +5 -0
  335. package/dist/illustrations/bug-bash.js.map +1 -0
  336. package/dist/illustrations/bug-bash.svg.cjs +2 -0
  337. package/dist/illustrations/bug-bash.svg.cjs.map +1 -0
  338. package/dist/illustrations/bug-bash.svg.js +6 -0
  339. package/dist/illustrations/bug-bash.svg.js.map +1 -0
  340. package/dist/illustrations/calls.cjs +2 -0
  341. package/dist/illustrations/calls.cjs.map +1 -0
  342. package/dist/illustrations/calls.d.ts +4 -0
  343. package/dist/illustrations/calls.js +5 -0
  344. package/dist/illustrations/calls.js.map +1 -0
  345. package/dist/illustrations/calls.svg.cjs +2 -0
  346. package/dist/illustrations/calls.svg.cjs.map +1 -0
  347. package/dist/illustrations/calls.svg.js +6 -0
  348. package/dist/illustrations/calls.svg.js.map +1 -0
  349. package/dist/illustrations/collaborate.cjs +2 -0
  350. package/dist/illustrations/collaborate.cjs.map +1 -0
  351. package/dist/illustrations/collaborate.d.ts +4 -0
  352. package/dist/illustrations/collaborate.js +5 -0
  353. package/dist/illustrations/collaborate.js.map +1 -0
  354. package/dist/illustrations/collaborate.svg.cjs +2 -0
  355. package/dist/illustrations/collaborate.svg.cjs.map +1 -0
  356. package/dist/illustrations/collaborate.svg.js +6 -0
  357. package/dist/illustrations/collaborate.svg.js.map +1 -0
  358. package/dist/illustrations/compliance-exports.cjs +2 -0
  359. package/dist/illustrations/compliance-exports.cjs.map +1 -0
  360. package/dist/illustrations/compliance-exports.d.ts +4 -0
  361. package/dist/illustrations/compliance-exports.js +5 -0
  362. package/dist/illustrations/compliance-exports.js.map +1 -0
  363. package/dist/illustrations/compliance-exports.svg.cjs +2 -0
  364. package/dist/illustrations/compliance-exports.svg.cjs.map +1 -0
  365. package/dist/illustrations/compliance-exports.svg.js +6 -0
  366. package/dist/illustrations/compliance-exports.svg.js.map +1 -0
  367. package/dist/illustrations/copilot-bot.cjs +2 -0
  368. package/dist/illustrations/copilot-bot.cjs.map +1 -0
  369. package/dist/illustrations/copilot-bot.d.ts +4 -0
  370. package/dist/illustrations/copilot-bot.js +5 -0
  371. package/dist/illustrations/copilot-bot.js.map +1 -0
  372. package/dist/illustrations/copilot-bot.svg.cjs +2 -0
  373. package/dist/illustrations/copilot-bot.svg.cjs.map +1 -0
  374. package/dist/illustrations/copilot-bot.svg.js +6 -0
  375. package/dist/illustrations/copilot-bot.svg.js.map +1 -0
  376. package/dist/illustrations/custom-branding.cjs +2 -0
  377. package/dist/illustrations/custom-branding.cjs.map +1 -0
  378. package/dist/illustrations/custom-branding.d.ts +4 -0
  379. package/dist/illustrations/custom-branding.js +5 -0
  380. package/dist/illustrations/custom-branding.js.map +1 -0
  381. package/dist/illustrations/custom-branding.svg.cjs +2 -0
  382. package/dist/illustrations/custom-branding.svg.cjs.map +1 -0
  383. package/dist/illustrations/custom-branding.svg.js +6 -0
  384. package/dist/illustrations/custom-branding.svg.js.map +1 -0
  385. package/dist/illustrations/custom-terms.cjs +2 -0
  386. package/dist/illustrations/custom-terms.cjs.map +1 -0
  387. package/dist/illustrations/custom-terms.d.ts +4 -0
  388. package/dist/illustrations/custom-terms.js +5 -0
  389. package/dist/illustrations/custom-terms.js.map +1 -0
  390. package/dist/illustrations/custom-terms.svg.cjs +2 -0
  391. package/dist/illustrations/custom-terms.svg.cjs.map +1 -0
  392. package/dist/illustrations/custom-terms.svg.js +6 -0
  393. package/dist/illustrations/custom-terms.svg.js.map +1 -0
  394. package/dist/illustrations/customer-onboarding.cjs +2 -0
  395. package/dist/illustrations/customer-onboarding.cjs.map +1 -0
  396. package/dist/illustrations/customer-onboarding.d.ts +4 -0
  397. package/dist/illustrations/customer-onboarding.js +5 -0
  398. package/dist/illustrations/customer-onboarding.js.map +1 -0
  399. package/dist/illustrations/customer-onboarding.svg.cjs +2 -0
  400. package/dist/illustrations/customer-onboarding.svg.cjs.map +1 -0
  401. package/dist/illustrations/customer-onboarding.svg.js +6 -0
  402. package/dist/illustrations/customer-onboarding.svg.js.map +1 -0
  403. package/dist/illustrations/data-retention.cjs +2 -0
  404. package/dist/illustrations/data-retention.cjs.map +1 -0
  405. package/dist/illustrations/data-retention.d.ts +4 -0
  406. package/dist/illustrations/data-retention.js +5 -0
  407. package/dist/illustrations/data-retention.js.map +1 -0
  408. package/dist/illustrations/data-retention.svg.cjs +2 -0
  409. package/dist/illustrations/data-retention.svg.cjs.map +1 -0
  410. package/dist/illustrations/data-retention.svg.js +6 -0
  411. package/dist/illustrations/data-retention.svg.js.map +1 -0
  412. package/dist/illustrations/drafts-empty.cjs +2 -0
  413. package/dist/illustrations/drafts-empty.cjs.map +1 -0
  414. package/dist/illustrations/drafts-empty.d.ts +4 -0
  415. package/dist/illustrations/drafts-empty.js +5 -0
  416. package/dist/illustrations/drafts-empty.js.map +1 -0
  417. package/dist/illustrations/drafts-empty.svg.cjs +2 -0
  418. package/dist/illustrations/drafts-empty.svg.cjs.map +1 -0
  419. package/dist/illustrations/drafts-empty.svg.js +6 -0
  420. package/dist/illustrations/drafts-empty.svg.js.map +1 -0
  421. package/dist/illustrations/employee-onboarding.cjs +2 -0
  422. package/dist/illustrations/employee-onboarding.cjs.map +1 -0
  423. package/dist/illustrations/employee-onboarding.d.ts +4 -0
  424. package/dist/illustrations/employee-onboarding.js +5 -0
  425. package/dist/illustrations/employee-onboarding.js.map +1 -0
  426. package/dist/illustrations/employee-onboarding.svg.cjs +2 -0
  427. package/dist/illustrations/employee-onboarding.svg.cjs.map +1 -0
  428. package/dist/illustrations/employee-onboarding.svg.js +6 -0
  429. package/dist/illustrations/employee-onboarding.svg.js.map +1 -0
  430. package/dist/illustrations/feature-lifecycle.cjs +2 -0
  431. package/dist/illustrations/feature-lifecycle.cjs.map +1 -0
  432. package/dist/illustrations/feature-lifecycle.d.ts +4 -0
  433. package/dist/illustrations/feature-lifecycle.js +5 -0
  434. package/dist/illustrations/feature-lifecycle.js.map +1 -0
  435. package/dist/illustrations/feature-lifecycle.svg.cjs +2 -0
  436. package/dist/illustrations/feature-lifecycle.svg.cjs.map +1 -0
  437. package/dist/illustrations/feature-lifecycle.svg.js +6 -0
  438. package/dist/illustrations/feature-lifecycle.svg.js.map +1 -0
  439. package/dist/illustrations/file-search-empty.cjs +2 -0
  440. package/dist/illustrations/file-search-empty.cjs.map +1 -0
  441. package/dist/illustrations/file-search-empty.d.ts +4 -0
  442. package/dist/illustrations/file-search-empty.js +5 -0
  443. package/dist/illustrations/file-search-empty.js.map +1 -0
  444. package/dist/illustrations/file-search-empty.svg.cjs +2 -0
  445. package/dist/illustrations/file-search-empty.svg.cjs.map +1 -0
  446. package/dist/illustrations/file-search-empty.svg.js +6 -0
  447. package/dist/illustrations/file-search-empty.svg.js.map +1 -0
  448. package/dist/illustrations/globe.cjs +2 -0
  449. package/dist/illustrations/globe.cjs.map +1 -0
  450. package/dist/illustrations/globe.d.ts +4 -0
  451. package/dist/illustrations/globe.js +5 -0
  452. package/dist/illustrations/globe.js.map +1 -0
  453. package/dist/illustrations/globe.svg.cjs +2 -0
  454. package/dist/illustrations/globe.svg.cjs.map +1 -0
  455. package/dist/illustrations/globe.svg.js +6 -0
  456. package/dist/illustrations/globe.svg.js.map +1 -0
  457. package/dist/illustrations/group.cjs +2 -0
  458. package/dist/illustrations/group.cjs.map +1 -0
  459. package/dist/illustrations/group.d.ts +4 -0
  460. package/dist/illustrations/group.js +5 -0
  461. package/dist/illustrations/group.js.map +1 -0
  462. package/dist/illustrations/group.svg.cjs +2 -0
  463. package/dist/illustrations/group.svg.cjs.map +1 -0
  464. package/dist/illustrations/group.svg.js +12 -0
  465. package/dist/illustrations/group.svg.js.map +1 -0
  466. package/dist/illustrations/groups.cjs +2 -0
  467. package/dist/illustrations/groups.cjs.map +1 -0
  468. package/dist/illustrations/groups.d.ts +4 -0
  469. package/dist/illustrations/groups.js +5 -0
  470. package/dist/illustrations/groups.js.map +1 -0
  471. package/dist/illustrations/groups.svg.cjs +2 -0
  472. package/dist/illustrations/groups.svg.cjs.map +1 -0
  473. package/dist/illustrations/groups.svg.js +12 -0
  474. package/dist/illustrations/groups.svg.js.map +1 -0
  475. package/dist/illustrations/incident-resolution.cjs +2 -0
  476. package/dist/illustrations/incident-resolution.cjs.map +1 -0
  477. package/dist/illustrations/incident-resolution.d.ts +4 -0
  478. package/dist/illustrations/incident-resolution.js +5 -0
  479. package/dist/illustrations/incident-resolution.js.map +1 -0
  480. package/dist/illustrations/incident-resolution.svg.cjs +2 -0
  481. package/dist/illustrations/incident-resolution.svg.cjs.map +1 -0
  482. package/dist/illustrations/incident-resolution.svg.js +6 -0
  483. package/dist/illustrations/incident-resolution.svg.js.map +1 -0
  484. package/dist/illustrations/incoming-webhook.cjs +2 -0
  485. package/dist/illustrations/incoming-webhook.cjs.map +1 -0
  486. package/dist/illustrations/incoming-webhook.d.ts +4 -0
  487. package/dist/illustrations/incoming-webhook.js +5 -0
  488. package/dist/illustrations/incoming-webhook.js.map +1 -0
  489. package/dist/illustrations/incoming-webhook.svg.cjs +2 -0
  490. package/dist/illustrations/incoming-webhook.svg.cjs.map +1 -0
  491. package/dist/illustrations/incoming-webhook.svg.js +6 -0
  492. package/dist/illustrations/incoming-webhook.svg.js.map +1 -0
  493. package/dist/illustrations/intune-mam.cjs +2 -0
  494. package/dist/illustrations/intune-mam.cjs.map +1 -0
  495. package/dist/illustrations/intune-mam.d.ts +4 -0
  496. package/dist/illustrations/intune-mam.js +5 -0
  497. package/dist/illustrations/intune-mam.js.map +1 -0
  498. package/dist/illustrations/intune-mam.svg.cjs +2 -0
  499. package/dist/illustrations/intune-mam.svg.cjs.map +1 -0
  500. package/dist/illustrations/intune-mam.svg.js +8 -0
  501. package/dist/illustrations/intune-mam.svg.js.map +1 -0
  502. package/dist/illustrations/learn-playbooks.cjs +2 -0
  503. package/dist/illustrations/learn-playbooks.cjs.map +1 -0
  504. package/dist/illustrations/learn-playbooks.d.ts +4 -0
  505. package/dist/illustrations/learn-playbooks.js +5 -0
  506. package/dist/illustrations/learn-playbooks.js.map +1 -0
  507. package/dist/illustrations/learn-playbooks.svg.cjs +2 -0
  508. package/dist/illustrations/learn-playbooks.svg.cjs.map +1 -0
  509. package/dist/illustrations/learn-playbooks.svg.js +6 -0
  510. package/dist/illustrations/learn-playbooks.svg.js.map +1 -0
  511. package/dist/illustrations/locked-messages.cjs +2 -0
  512. package/dist/illustrations/locked-messages.cjs.map +1 -0
  513. package/dist/illustrations/locked-messages.d.ts +4 -0
  514. package/dist/illustrations/locked-messages.js +5 -0
  515. package/dist/illustrations/locked-messages.js.map +1 -0
  516. package/dist/illustrations/locked-messages.svg.cjs +2 -0
  517. package/dist/illustrations/locked-messages.svg.cjs.map +1 -0
  518. package/dist/illustrations/locked-messages.svg.js +6 -0
  519. package/dist/illustrations/locked-messages.svg.js.map +1 -0
  520. package/dist/illustrations/mentions-empty.cjs +2 -0
  521. package/dist/illustrations/mentions-empty.cjs.map +1 -0
  522. package/dist/illustrations/mentions-empty.d.ts +4 -0
  523. package/dist/illustrations/mentions-empty.js +5 -0
  524. package/dist/illustrations/mentions-empty.js.map +1 -0
  525. package/dist/illustrations/mentions-empty.svg.cjs +2 -0
  526. package/dist/illustrations/mentions-empty.svg.cjs.map +1 -0
  527. package/dist/illustrations/mentions-empty.svg.js +6 -0
  528. package/dist/illustrations/mentions-empty.svg.js.map +1 -0
  529. package/dist/illustrations/message-not-viewable.cjs +2 -0
  530. package/dist/illustrations/message-not-viewable.cjs.map +1 -0
  531. package/dist/illustrations/message-not-viewable.d.ts +4 -0
  532. package/dist/illustrations/message-not-viewable.js +5 -0
  533. package/dist/illustrations/message-not-viewable.js.map +1 -0
  534. package/dist/illustrations/message-not-viewable.svg.cjs +2 -0
  535. package/dist/illustrations/message-not-viewable.svg.cjs.map +1 -0
  536. package/dist/illustrations/message-not-viewable.svg.js +6 -0
  537. package/dist/illustrations/message-not-viewable.svg.js.map +1 -0
  538. package/dist/illustrations/message-search-empty.cjs +2 -0
  539. package/dist/illustrations/message-search-empty.cjs.map +1 -0
  540. package/dist/illustrations/message-search-empty.d.ts +4 -0
  541. package/dist/illustrations/message-search-empty.js +5 -0
  542. package/dist/illustrations/message-search-empty.js.map +1 -0
  543. package/dist/illustrations/message-search-empty.svg.cjs +2 -0
  544. package/dist/illustrations/message-search-empty.svg.cjs.map +1 -0
  545. package/dist/illustrations/message-search-empty.svg.js +6 -0
  546. package/dist/illustrations/message-search-empty.svg.js.map +1 -0
  547. package/dist/illustrations/mfa-complete.cjs +2 -0
  548. package/dist/illustrations/mfa-complete.cjs.map +1 -0
  549. package/dist/illustrations/mfa-complete.d.ts +4 -0
  550. package/dist/illustrations/mfa-complete.js +5 -0
  551. package/dist/illustrations/mfa-complete.js.map +1 -0
  552. package/dist/illustrations/mfa-complete.svg.cjs +2 -0
  553. package/dist/illustrations/mfa-complete.svg.cjs.map +1 -0
  554. package/dist/illustrations/mfa-complete.svg.js +6 -0
  555. package/dist/illustrations/mfa-complete.svg.js.map +1 -0
  556. package/dist/illustrations/mfa.cjs +2 -0
  557. package/dist/illustrations/mfa.cjs.map +1 -0
  558. package/dist/illustrations/mfa.d.ts +4 -0
  559. package/dist/illustrations/mfa.js +5 -0
  560. package/dist/illustrations/mfa.js.map +1 -0
  561. package/dist/illustrations/mfa.svg.cjs +2 -0
  562. package/dist/illustrations/mfa.svg.cjs.map +1 -0
  563. package/dist/illustrations/mfa.svg.js +6 -0
  564. package/dist/illustrations/mfa.svg.js.map +1 -0
  565. package/dist/illustrations/mobile-protection.cjs +2 -0
  566. package/dist/illustrations/mobile-protection.cjs.map +1 -0
  567. package/dist/illustrations/mobile-protection.d.ts +4 -0
  568. package/dist/illustrations/mobile-protection.js +5 -0
  569. package/dist/illustrations/mobile-protection.js.map +1 -0
  570. package/dist/illustrations/mobile-protection.svg.cjs +2 -0
  571. package/dist/illustrations/mobile-protection.svg.cjs.map +1 -0
  572. package/dist/illustrations/mobile-protection.svg.js +6 -0
  573. package/dist/illustrations/mobile-protection.svg.js.map +1 -0
  574. package/dist/illustrations/mobile-security.cjs +2 -0
  575. package/dist/illustrations/mobile-security.cjs.map +1 -0
  576. package/dist/illustrations/mobile-security.d.ts +4 -0
  577. package/dist/illustrations/mobile-security.js +5 -0
  578. package/dist/illustrations/mobile-security.js.map +1 -0
  579. package/dist/illustrations/mobile-security.svg.cjs +2 -0
  580. package/dist/illustrations/mobile-security.svg.cjs.map +1 -0
  581. package/dist/illustrations/mobile-security.svg.js +6 -0
  582. package/dist/illustrations/mobile-security.svg.js.map +1 -0
  583. package/dist/illustrations/names.cjs +2 -0
  584. package/dist/illustrations/names.cjs.map +1 -0
  585. package/dist/illustrations/names.d.ts +3 -0
  586. package/dist/illustrations/names.d.ts.map +1 -0
  587. package/dist/illustrations/names.js +73 -0
  588. package/dist/illustrations/names.js.map +1 -0
  589. package/dist/illustrations/new-password.cjs +2 -0
  590. package/dist/illustrations/new-password.cjs.map +1 -0
  591. package/dist/illustrations/new-password.d.ts +4 -0
  592. package/dist/illustrations/new-password.js +5 -0
  593. package/dist/illustrations/new-password.js.map +1 -0
  594. package/dist/illustrations/new-password.svg.cjs +2 -0
  595. package/dist/illustrations/new-password.svg.cjs.map +1 -0
  596. package/dist/illustrations/new-password.svg.js +6 -0
  597. package/dist/illustrations/new-password.svg.js.map +1 -0
  598. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs +2 -0
  599. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs.map +1 -0
  600. package/dist/illustrations/no-unreads-on-sidebar-bg.d.ts +4 -0
  601. package/dist/illustrations/no-unreads-on-sidebar-bg.js +5 -0
  602. package/dist/illustrations/no-unreads-on-sidebar-bg.js.map +1 -0
  603. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs +2 -0
  604. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs.map +1 -0
  605. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js +6 -0
  606. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js.map +1 -0
  607. package/dist/illustrations/office.cjs +2 -0
  608. package/dist/illustrations/office.cjs.map +1 -0
  609. package/dist/illustrations/office.d.ts +4 -0
  610. package/dist/illustrations/office.js +5 -0
  611. package/dist/illustrations/office.js.map +1 -0
  612. package/dist/illustrations/office.svg.cjs +2 -0
  613. package/dist/illustrations/office.svg.cjs.map +1 -0
  614. package/dist/illustrations/office.svg.js +6 -0
  615. package/dist/illustrations/office.svg.js.map +1 -0
  616. package/dist/illustrations/outgoing-webhook.cjs +2 -0
  617. package/dist/illustrations/outgoing-webhook.cjs.map +1 -0
  618. package/dist/illustrations/outgoing-webhook.d.ts +4 -0
  619. package/dist/illustrations/outgoing-webhook.js +5 -0
  620. package/dist/illustrations/outgoing-webhook.js.map +1 -0
  621. package/dist/illustrations/outgoing-webhook.svg.cjs +2 -0
  622. package/dist/illustrations/outgoing-webhook.svg.cjs.map +1 -0
  623. package/dist/illustrations/outgoing-webhook.svg.js +6 -0
  624. package/dist/illustrations/outgoing-webhook.svg.js.map +1 -0
  625. package/dist/illustrations/pinned-empty.cjs +2 -0
  626. package/dist/illustrations/pinned-empty.cjs.map +1 -0
  627. package/dist/illustrations/pinned-empty.d.ts +4 -0
  628. package/dist/illustrations/pinned-empty.js +5 -0
  629. package/dist/illustrations/pinned-empty.js.map +1 -0
  630. package/dist/illustrations/pinned-empty.svg.cjs +2 -0
  631. package/dist/illustrations/pinned-empty.svg.cjs.map +1 -0
  632. package/dist/illustrations/pinned-empty.svg.js +6 -0
  633. package/dist/illustrations/pinned-empty.svg.js.map +1 -0
  634. package/dist/illustrations/playbooks-empty.cjs +2 -0
  635. package/dist/illustrations/playbooks-empty.cjs.map +1 -0
  636. package/dist/illustrations/playbooks-empty.d.ts +4 -0
  637. package/dist/illustrations/playbooks-empty.js +5 -0
  638. package/dist/illustrations/playbooks-empty.js.map +1 -0
  639. package/dist/illustrations/playbooks-empty.svg.cjs +2 -0
  640. package/dist/illustrations/playbooks-empty.svg.cjs.map +1 -0
  641. package/dist/illustrations/playbooks-empty.svg.js +6 -0
  642. package/dist/illustrations/playbooks-empty.svg.js.map +1 -0
  643. package/dist/illustrations/private-channel-intro.cjs +2 -0
  644. package/dist/illustrations/private-channel-intro.cjs.map +1 -0
  645. package/dist/illustrations/private-channel-intro.d.ts +4 -0
  646. package/dist/illustrations/private-channel-intro.js +5 -0
  647. package/dist/illustrations/private-channel-intro.js.map +1 -0
  648. package/dist/illustrations/private-channel-intro.svg.cjs +2 -0
  649. package/dist/illustrations/private-channel-intro.svg.cjs.map +1 -0
  650. package/dist/illustrations/private-channel-intro.svg.js +6 -0
  651. package/dist/illustrations/private-channel-intro.svg.js.map +1 -0
  652. package/dist/illustrations/product-release.cjs +2 -0
  653. package/dist/illustrations/product-release.cjs.map +1 -0
  654. package/dist/illustrations/product-release.d.ts +4 -0
  655. package/dist/illustrations/product-release.js +5 -0
  656. package/dist/illustrations/product-release.js.map +1 -0
  657. package/dist/illustrations/product-release.svg.cjs +2 -0
  658. package/dist/illustrations/product-release.svg.cjs.map +1 -0
  659. package/dist/illustrations/product-release.svg.js +6 -0
  660. package/dist/illustrations/product-release.svg.js.map +1 -0
  661. package/dist/illustrations/public-channel-intro.cjs +2 -0
  662. package/dist/illustrations/public-channel-intro.cjs.map +1 -0
  663. package/dist/illustrations/public-channel-intro.d.ts +4 -0
  664. package/dist/illustrations/public-channel-intro.js +5 -0
  665. package/dist/illustrations/public-channel-intro.js.map +1 -0
  666. package/dist/illustrations/public-channel-intro.svg.cjs +2 -0
  667. package/dist/illustrations/public-channel-intro.svg.cjs.map +1 -0
  668. package/dist/illustrations/public-channel-intro.svg.js +6 -0
  669. package/dist/illustrations/public-channel-intro.svg.js.map +1 -0
  670. package/dist/illustrations/rating-desktop.cjs +2 -0
  671. package/dist/illustrations/rating-desktop.cjs.map +1 -0
  672. package/dist/illustrations/rating-desktop.d.ts +4 -0
  673. package/dist/illustrations/rating-desktop.js +5 -0
  674. package/dist/illustrations/rating-desktop.js.map +1 -0
  675. package/dist/illustrations/rating-desktop.svg.cjs +2 -0
  676. package/dist/illustrations/rating-desktop.svg.cjs.map +1 -0
  677. package/dist/illustrations/rating-desktop.svg.js +6 -0
  678. package/dist/illustrations/rating-desktop.svg.js.map +1 -0
  679. package/dist/illustrations/rating.cjs +2 -0
  680. package/dist/illustrations/rating.cjs.map +1 -0
  681. package/dist/illustrations/rating.d.ts +4 -0
  682. package/dist/illustrations/rating.js +5 -0
  683. package/dist/illustrations/rating.js.map +1 -0
  684. package/dist/illustrations/rating.svg.cjs +2 -0
  685. package/dist/illustrations/rating.svg.cjs.map +1 -0
  686. package/dist/illustrations/rating.svg.js +6 -0
  687. package/dist/illustrations/rating.svg.js.map +1 -0
  688. package/dist/illustrations/read-only.cjs +2 -0
  689. package/dist/illustrations/read-only.cjs.map +1 -0
  690. package/dist/illustrations/read-only.d.ts +4 -0
  691. package/dist/illustrations/read-only.js +5 -0
  692. package/dist/illustrations/read-only.js.map +1 -0
  693. package/dist/illustrations/read-only.svg.cjs +2 -0
  694. package/dist/illustrations/read-only.svg.cjs.map +1 -0
  695. package/dist/illustrations/read-only.svg.js +6 -0
  696. package/dist/illustrations/read-only.svg.js.map +1 -0
  697. package/dist/illustrations/reset-password.cjs +2 -0
  698. package/dist/illustrations/reset-password.cjs.map +1 -0
  699. package/dist/illustrations/reset-password.d.ts +4 -0
  700. package/dist/illustrations/reset-password.js +5 -0
  701. package/dist/illustrations/reset-password.js.map +1 -0
  702. package/dist/illustrations/reset-password.svg.cjs +2 -0
  703. package/dist/illustrations/reset-password.svg.cjs.map +1 -0
  704. package/dist/illustrations/reset-password.svg.js +8 -0
  705. package/dist/illustrations/reset-password.svg.js.map +1 -0
  706. package/dist/illustrations/saved-empty.cjs +2 -0
  707. package/dist/illustrations/saved-empty.cjs.map +1 -0
  708. package/dist/illustrations/saved-empty.d.ts +4 -0
  709. package/dist/illustrations/saved-empty.js +5 -0
  710. package/dist/illustrations/saved-empty.js.map +1 -0
  711. package/dist/illustrations/saved-empty.svg.cjs +2 -0
  712. package/dist/illustrations/saved-empty.svg.cjs.map +1 -0
  713. package/dist/illustrations/saved-empty.svg.js +6 -0
  714. package/dist/illustrations/saved-empty.svg.js.map +1 -0
  715. package/dist/illustrations/scheduled-empty.cjs +2 -0
  716. package/dist/illustrations/scheduled-empty.cjs.map +1 -0
  717. package/dist/illustrations/scheduled-empty.d.ts +4 -0
  718. package/dist/illustrations/scheduled-empty.js +5 -0
  719. package/dist/illustrations/scheduled-empty.js.map +1 -0
  720. package/dist/illustrations/scheduled-empty.svg.cjs +2 -0
  721. package/dist/illustrations/scheduled-empty.svg.cjs.map +1 -0
  722. package/dist/illustrations/scheduled-empty.svg.js +6 -0
  723. package/dist/illustrations/scheduled-empty.svg.js.map +1 -0
  724. package/dist/illustrations/search.cjs +2 -0
  725. package/dist/illustrations/search.cjs.map +1 -0
  726. package/dist/illustrations/search.d.ts +4 -0
  727. package/dist/illustrations/search.js +5 -0
  728. package/dist/illustrations/search.js.map +1 -0
  729. package/dist/illustrations/search.svg.cjs +2 -0
  730. package/dist/illustrations/search.svg.cjs.map +1 -0
  731. package/dist/illustrations/search.svg.js +6 -0
  732. package/dist/illustrations/search.svg.js.map +1 -0
  733. package/dist/illustrations/server.cjs +2 -0
  734. package/dist/illustrations/server.cjs.map +1 -0
  735. package/dist/illustrations/server.d.ts +4 -0
  736. package/dist/illustrations/server.js +5 -0
  737. package/dist/illustrations/server.js.map +1 -0
  738. package/dist/illustrations/server.svg.cjs +2 -0
  739. package/dist/illustrations/server.svg.cjs.map +1 -0
  740. package/dist/illustrations/server.svg.js +6 -0
  741. package/dist/illustrations/server.svg.js.map +1 -0
  742. package/dist/illustrations/setup-system.cjs +2 -0
  743. package/dist/illustrations/setup-system.cjs.map +1 -0
  744. package/dist/illustrations/setup-system.d.ts +4 -0
  745. package/dist/illustrations/setup-system.js +5 -0
  746. package/dist/illustrations/setup-system.js.map +1 -0
  747. package/dist/illustrations/setup-system.svg.cjs +2 -0
  748. package/dist/illustrations/setup-system.svg.cjs.map +1 -0
  749. package/dist/illustrations/setup-system.svg.js +6 -0
  750. package/dist/illustrations/setup-system.svg.js.map +1 -0
  751. package/dist/illustrations/site-error.cjs +2 -0
  752. package/dist/illustrations/site-error.cjs.map +1 -0
  753. package/dist/illustrations/site-error.d.ts +4 -0
  754. package/dist/illustrations/site-error.js +5 -0
  755. package/dist/illustrations/site-error.js.map +1 -0
  756. package/dist/illustrations/site-error.svg.cjs +2 -0
  757. package/dist/illustrations/site-error.svg.cjs.map +1 -0
  758. package/dist/illustrations/site-error.svg.js +6 -0
  759. package/dist/illustrations/site-error.svg.js.map +1 -0
  760. package/dist/illustrations/slash-commands.cjs +2 -0
  761. package/dist/illustrations/slash-commands.cjs.map +1 -0
  762. package/dist/illustrations/slash-commands.d.ts +4 -0
  763. package/dist/illustrations/slash-commands.js +5 -0
  764. package/dist/illustrations/slash-commands.js.map +1 -0
  765. package/dist/illustrations/slash-commands.svg.cjs +2 -0
  766. package/dist/illustrations/slash-commands.svg.cjs.map +1 -0
  767. package/dist/illustrations/slash-commands.svg.js +6 -0
  768. package/dist/illustrations/slash-commands.svg.js.map +1 -0
  769. package/dist/illustrations/success.cjs +2 -0
  770. package/dist/illustrations/success.cjs.map +1 -0
  771. package/dist/illustrations/success.d.ts +4 -0
  772. package/dist/illustrations/success.js +5 -0
  773. package/dist/illustrations/success.js.map +1 -0
  774. package/dist/illustrations/success.svg.cjs +2 -0
  775. package/dist/illustrations/success.svg.cjs.map +1 -0
  776. package/dist/illustrations/success.svg.js +6 -0
  777. package/dist/illustrations/success.svg.js.map +1 -0
  778. package/dist/illustrations/system-admins.cjs +2 -0
  779. package/dist/illustrations/system-admins.cjs.map +1 -0
  780. package/dist/illustrations/system-admins.d.ts +4 -0
  781. package/dist/illustrations/system-admins.js +5 -0
  782. package/dist/illustrations/system-admins.js.map +1 -0
  783. package/dist/illustrations/system-admins.svg.cjs +2 -0
  784. package/dist/illustrations/system-admins.svg.cjs.map +1 -0
  785. package/dist/illustrations/system-admins.svg.js +14 -0
  786. package/dist/illustrations/system-admins.svg.js.map +1 -0
  787. package/dist/illustrations/threads-empty.cjs +2 -0
  788. package/dist/illustrations/threads-empty.cjs.map +1 -0
  789. package/dist/illustrations/threads-empty.d.ts +4 -0
  790. package/dist/illustrations/threads-empty.js +5 -0
  791. package/dist/illustrations/threads-empty.js.map +1 -0
  792. package/dist/illustrations/threads-empty.svg.cjs +2 -0
  793. package/dist/illustrations/threads-empty.svg.cjs.map +1 -0
  794. package/dist/illustrations/threads-empty.svg.js +6 -0
  795. package/dist/illustrations/threads-empty.svg.js.map +1 -0
  796. package/dist/illustrations/timer.cjs +2 -0
  797. package/dist/illustrations/timer.cjs.map +1 -0
  798. package/dist/illustrations/timer.d.ts +4 -0
  799. package/dist/illustrations/timer.js +5 -0
  800. package/dist/illustrations/timer.js.map +1 -0
  801. package/dist/illustrations/timer.svg.cjs +2 -0
  802. package/dist/illustrations/timer.svg.cjs.map +1 -0
  803. package/dist/illustrations/timer.svg.js +6 -0
  804. package/dist/illustrations/timer.svg.js.map +1 -0
  805. package/dist/illustrations/tls-certificate.cjs +2 -0
  806. package/dist/illustrations/tls-certificate.cjs.map +1 -0
  807. package/dist/illustrations/tls-certificate.d.ts +4 -0
  808. package/dist/illustrations/tls-certificate.js +5 -0
  809. package/dist/illustrations/tls-certificate.js.map +1 -0
  810. package/dist/illustrations/tls-certificate.svg.cjs +2 -0
  811. package/dist/illustrations/tls-certificate.svg.cjs.map +1 -0
  812. package/dist/illustrations/tls-certificate.svg.js +6 -0
  813. package/dist/illustrations/tls-certificate.svg.js.map +1 -0
  814. package/dist/illustrations/tools.cjs +2 -0
  815. package/dist/illustrations/tools.cjs.map +1 -0
  816. package/dist/illustrations/tools.d.ts +4 -0
  817. package/dist/illustrations/tools.js +5 -0
  818. package/dist/illustrations/tools.js.map +1 -0
  819. package/dist/illustrations/tools.svg.cjs +2 -0
  820. package/dist/illustrations/tools.svg.cjs.map +1 -0
  821. package/dist/illustrations/tools.svg.js +6 -0
  822. package/dist/illustrations/tools.svg.js.map +1 -0
  823. package/dist/illustrations/town-square-channel-intro.cjs +2 -0
  824. package/dist/illustrations/town-square-channel-intro.cjs.map +1 -0
  825. package/dist/illustrations/town-square-channel-intro.d.ts +4 -0
  826. package/dist/illustrations/town-square-channel-intro.js +5 -0
  827. package/dist/illustrations/town-square-channel-intro.js.map +1 -0
  828. package/dist/illustrations/town-square-channel-intro.svg.cjs +2 -0
  829. package/dist/illustrations/town-square-channel-intro.svg.cjs.map +1 -0
  830. package/dist/illustrations/town-square-channel-intro.svg.js +6 -0
  831. package/dist/illustrations/town-square-channel-intro.svg.js.map +1 -0
  832. package/dist/illustrations/upload-license.cjs +2 -0
  833. package/dist/illustrations/upload-license.cjs.map +1 -0
  834. package/dist/illustrations/upload-license.d.ts +4 -0
  835. package/dist/illustrations/upload-license.js +5 -0
  836. package/dist/illustrations/upload-license.js.map +1 -0
  837. package/dist/illustrations/upload-license.svg.cjs +2 -0
  838. package/dist/illustrations/upload-license.svg.cjs.map +1 -0
  839. package/dist/illustrations/upload-license.svg.js +6 -0
  840. package/dist/illustrations/upload-license.svg.js.map +1 -0
  841. package/dist/illustrations/verify-email.cjs +2 -0
  842. package/dist/illustrations/verify-email.cjs.map +1 -0
  843. package/dist/illustrations/verify-email.d.ts +4 -0
  844. package/dist/illustrations/verify-email.js +5 -0
  845. package/dist/illustrations/verify-email.js.map +1 -0
  846. package/dist/illustrations/verify-email.svg.cjs +2 -0
  847. package/dist/illustrations/verify-email.svg.cjs.map +1 -0
  848. package/dist/illustrations/verify-email.svg.js +8 -0
  849. package/dist/illustrations/verify-email.svg.js.map +1 -0
  850. package/dist/index.cjs +1 -1
  851. package/dist/index.css +22 -18
  852. package/dist/index.d.ts +9 -9
  853. package/dist/index.d.ts.map +1 -1
  854. package/dist/index.js +186 -183
  855. package/dist/index.js.map +1 -1
  856. package/package.json +239 -21
  857. package/dist/components/app-bar-item/AppBarItem.cjs +0 -2
  858. package/dist/components/app-bar-item/AppBarItem.cjs.map +0 -1
  859. package/dist/components/app-bar-item/AppBarItem.d.ts +0 -25
  860. package/dist/components/app-bar-item/AppBarItem.d.ts.map +0 -1
  861. package/dist/components/app-bar-item/AppBarItem.js +0 -49
  862. package/dist/components/app-bar-item/AppBarItem.js.map +0 -1
  863. package/dist/components/app-bar-item/AppBarItem.module.css +0 -1
  864. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs +0 -2
  865. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs.map +0 -1
  866. package/dist/components/app-bar-item/AppBarItem.module.scss.js +0 -11
  867. package/dist/components/app-bar-item/AppBarItem.module.scss.js.map +0 -1
  868. package/dist/components/app-bar-item/index.d.ts +0 -3
  869. package/dist/components/app-bar-item/index.d.ts.map +0 -1
  870. package/dist/components/app-bar-item/index.js +0 -5
  871. package/dist/components/channel-header/ChannelHeader.cjs +0 -2
  872. package/dist/components/channel-header/ChannelHeader.cjs.map +0 -1
  873. package/dist/components/channel-header/ChannelHeader.d.ts +0 -37
  874. package/dist/components/channel-header/ChannelHeader.d.ts.map +0 -1
  875. package/dist/components/channel-header/ChannelHeader.js +0 -174
  876. package/dist/components/channel-header/ChannelHeader.js.map +0 -1
  877. package/dist/components/channel-header/ChannelHeader.module.css +0 -1
  878. package/dist/components/channel-header/ChannelHeader.module.scss.cjs +0 -2
  879. package/dist/components/channel-header/ChannelHeader.module.scss.cjs.map +0 -1
  880. package/dist/components/channel-header/ChannelHeader.module.scss.js +0 -20
  881. package/dist/components/channel-header/ChannelHeader.module.scss.js.map +0 -1
  882. package/dist/components/channel-header/index.d.ts +0 -3
  883. package/dist/components/channel-header/index.d.ts.map +0 -1
  884. package/dist/components/channel-header/index.js +0 -5
  885. package/dist/components/message/Message.cjs +0 -2
  886. package/dist/components/message/Message.cjs.map +0 -1
  887. package/dist/components/message/Message.d.ts +0 -34
  888. package/dist/components/message/Message.d.ts.map +0 -1
  889. package/dist/components/message/Message.js +0 -54
  890. package/dist/components/message/Message.js.map +0 -1
  891. package/dist/components/message/Message.module.css +0 -1
  892. package/dist/components/message/Message.module.scss.cjs +0 -2
  893. package/dist/components/message/Message.module.scss.cjs.map +0 -1
  894. package/dist/components/message/Message.module.scss.js +0 -26
  895. package/dist/components/message/Message.module.scss.js.map +0 -1
  896. package/dist/components/message/index.cjs +0 -2
  897. package/dist/components/message/index.d.ts +0 -4
  898. package/dist/components/message/index.d.ts.map +0 -1
  899. package/dist/components/message/index.js +0 -7
  900. package/dist/components/message-input/MessageInput.cjs +0 -2
  901. package/dist/components/message-input/MessageInput.cjs.map +0 -1
  902. package/dist/components/message-input/MessageInput.d.ts +0 -15
  903. package/dist/components/message-input/MessageInput.d.ts.map +0 -1
  904. package/dist/components/message-input/MessageInput.js +0 -407
  905. package/dist/components/message-input/MessageInput.js.map +0 -1
  906. package/dist/components/message-input/MessageInput.module.css +0 -1
  907. package/dist/components/message-input/MessageInput.module.scss.cjs +0 -2
  908. package/dist/components/message-input/MessageInput.module.scss.cjs.map +0 -1
  909. package/dist/components/message-input/MessageInput.module.scss.js +0 -37
  910. package/dist/components/message-input/MessageInput.module.scss.js.map +0 -1
  911. package/dist/components/message-input/index.d.ts +0 -3
  912. package/dist/components/message-input/index.js +0 -5
  913. package/dist/components/message-reactions/MessageReactions.cjs +0 -2
  914. package/dist/components/message-reactions/MessageReactions.cjs.map +0 -1
  915. package/dist/components/message-reactions/MessageReactions.d.ts.map +0 -1
  916. package/dist/components/message-reactions/MessageReactions.js +0 -85
  917. package/dist/components/message-reactions/MessageReactions.js.map +0 -1
  918. package/dist/components/message-reactions/MessageReactions.module.css +0 -1
  919. package/dist/components/message-reactions/MessageReactions.module.scss.cjs +0 -2
  920. package/dist/components/message-reactions/MessageReactions.module.scss.cjs.map +0 -1
  921. package/dist/components/message-reactions/MessageReactions.module.scss.js +0 -18
  922. package/dist/components/message-reactions/MessageReactions.module.scss.js.map +0 -1
  923. package/dist/components/message-reactions/index.d.ts +0 -3
  924. package/dist/components/message-reactions/index.d.ts.map +0 -1
  925. package/dist/components/message-reactions/index.js +0 -5
  926. package/dist/components/reaction-pill/ReactionPill.cjs +0 -2
  927. package/dist/components/reaction-pill/ReactionPill.cjs.map +0 -1
  928. package/dist/components/reaction-pill/ReactionPill.d.ts +0 -24
  929. package/dist/components/reaction-pill/ReactionPill.d.ts.map +0 -1
  930. package/dist/components/reaction-pill/ReactionPill.js +0 -51
  931. package/dist/components/reaction-pill/ReactionPill.js.map +0 -1
  932. package/dist/components/reaction-pill/ReactionPill.module.css +0 -1
  933. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs +0 -2
  934. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs.map +0 -1
  935. package/dist/components/reaction-pill/ReactionPill.module.scss.js +0 -17
  936. package/dist/components/reaction-pill/ReactionPill.module.scss.js.map +0 -1
  937. package/dist/components/reaction-pill/index.d.ts +0 -3
  938. package/dist/components/reaction-pill/index.js +0 -5
  939. package/dist/components/right-sidebar/RightSidebar.cjs +0 -2
  940. package/dist/components/right-sidebar/RightSidebar.cjs.map +0 -1
  941. package/dist/components/right-sidebar/RightSidebar.d.ts +0 -23
  942. package/dist/components/right-sidebar/RightSidebar.d.ts.map +0 -1
  943. package/dist/components/right-sidebar/RightSidebar.js +0 -29
  944. package/dist/components/right-sidebar/RightSidebar.js.map +0 -1
  945. package/dist/components/right-sidebar/RightSidebar.module.css +0 -1
  946. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs +0 -2
  947. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs.map +0 -1
  948. package/dist/components/right-sidebar/RightSidebar.module.scss.js +0 -12
  949. package/dist/components/right-sidebar/RightSidebar.module.scss.js.map +0 -1
  950. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs +0 -2
  951. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs.map +0 -1
  952. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.d.ts.map +0 -1
  953. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.js.map +0 -1
  954. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.css +0 -1
  955. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.scss.cjs +0 -2
  956. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts +0 -3
  957. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts.map +0 -1
  958. package/dist/components/right-sidebar/index.cjs +0 -2
  959. package/dist/components/right-sidebar/index.d.ts +0 -5
  960. package/dist/components/right-sidebar/index.d.ts.map +0 -1
  961. package/dist/components/right-sidebar/index.js +0 -7
  962. package/dist/components/right-sidebar/index.js.map +0 -1
  963. /package/dist/components/{app-bar-item → card-button}/index.cjs.map +0 -0
  964. /package/dist/components/{message → card-button}/index.js.map +0 -0
  965. /package/dist/components/{channel-header → emoji-button}/index.cjs.map +0 -0
  966. /package/dist/components/{app-bar-item → emoji-button}/index.js.map +0 -0
  967. /package/dist/components/{message-input → emoji-popover}/index.cjs.map +0 -0
  968. /package/dist/components/{channel-header → emoji-popover}/index.js.map +0 -0
  969. /package/dist/components/{message-reactions → menu-group-heading}/index.cjs.map +0 -0
  970. /package/dist/components/{message-input → menu-group-heading}/index.js.map +0 -0
  971. /package/dist/components/{message → modal-footer}/index.cjs.map +0 -0
  972. /package/dist/components/{message-reactions → modal-footer}/index.js.map +0 -0
  973. /package/dist/components/{reaction-pill → modal-header}/index.cjs.map +0 -0
  974. /package/dist/components/{reaction-pill → modal-header}/index.js.map +0 -0
  975. /package/dist/components/{right-sidebar → reaction-button}/index.cjs.map +0 -0
  976. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.cjs.map +0 -0
  977. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"PopoverNotice.js","sources":["../../../src/components/popover-notice/PopoverNotice.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport AlertOutlineIcon from '@mattermost/compass-icons/components/alert-outline';\nimport Button from '@/components/button/Button';\nimport Checkbox from '@/components/checkbox/Checkbox';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport styles from './PopoverNotice.module.scss';\n\nexport type PopoverNoticeVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport interface PopoverNoticeAction {\n label: string;\n onClick?: () => void;\n emphasis?: 'primary' | 'tertiary';\n}\n\nexport interface PopoverNoticeProps {\n /** Popover title text. */\n title: string;\n /** Body content. */\n children: ReactNode;\n /**\n * Semantic variant — sets the icon and its color automatically.\n * Ignored if `icon` is also provided.\n */\n variant?: PopoverNoticeVariant;\n /** Optional icon shown to the left of the title. Overrides variant icon. */\n icon?: ReactNode;\n /** Action buttons rendered below the body. */\n actions?: PopoverNoticeAction[];\n /** When true, shows a \"Don't show this again\" checkbox. */\n showCheckbox?: boolean;\n /** Checkbox label override. */\n checkboxLabel?: string;\n /** Callback when close button is clicked. */\n onClose?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst VARIANT_ICONS: Record<PopoverNoticeVariant, ReactNode> = {\n info: <Icon size=\"20\" glyph={<InformationOutlineIcon />} />,\n success: <Icon size=\"20\" glyph={<CheckCircleOutlineIcon />} />,\n warning: <Icon size=\"20\" glyph={<AlertCircleOutlineIcon />} />,\n danger: <Icon size=\"20\" glyph={<AlertOutlineIcon />} />,\n};\n\nconst VARIANT_ICON_CLASS: Record<PopoverNoticeVariant, string> = {\n info: styles['popover-notice__icon--info'],\n success: styles['popover-notice__icon--success'],\n warning: styles['popover-notice__icon--warning'],\n danger: styles['popover-notice__icon--danger'],\n};\n\n/**\n * Popover Notice is a small overlay card that surfaces a transient message — a tip, a\n * confirmation, a warning — without taking over the screen. Think of it as a [Section\n * Notice](/components/section-notice) that floats: shorter, dismissable, and gone in five\n * seconds unless the user engages.\n */\nexport default function PopoverNotice({\n title,\n children,\n variant,\n icon,\n actions,\n showCheckbox = false,\n checkboxLabel = \"Don't show this confirmation again\",\n onClose,\n className = '',\n}: PopoverNoticeProps) {\n const rootClass = [styles['popover-notice'], className]\n .filter(Boolean)\n .join(' ');\n\n const resolvedIcon = icon ?? (variant ? VARIANT_ICONS[variant] : null);\n const iconColorClass = !icon && variant ? VARIANT_ICON_CLASS[variant] : '';\n\n return (\n <div className={rootClass}>\n <div className={styles['popover-notice__content']}>\n {resolvedIcon != null && (\n <div\n className={[styles['popover-notice__icon'], iconColorClass]\n .filter(Boolean)\n .join(' ')}\n aria-hidden\n >\n {resolvedIcon}\n </div>\n )}\n\n <div className={styles['popover-notice__body']}>\n <div className={styles['popover-notice__title-row']}>\n <span className={styles['popover-notice__title']}>{title}</span>\n </div>\n\n <div className={styles['popover-notice__description']}>\n {children}\n </div>\n\n {actions && actions.length > 0 && (\n <div className={styles['popover-notice__actions']}>\n {actions.map((action, i) => (\n <Button\n key={i}\n emphasis={action.emphasis ?? 'primary'}\n size=\"small\"\n onClick={action.onClick}\n >\n {action.label}\n </Button>\n ))}\n </div>\n )}\n\n {showCheckbox && <Checkbox size=\"medium\">{checkboxLabel}</Checkbox>}\n </div>\n </div>\n\n {onClose && (\n <IconButton\n className={styles['popover-notice__close']}\n aria-label=\"Close\"\n size=\"small\"\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n onClick={onClose}\n />\n )}\n </div>\n );\n}\n"],"names":["VARIANT_ICONS","Icon","jsx","InformationOutlineIcon","CheckCircleOutlineIcon","AlertCircleOutlineIcon","AlertOutlineIcon","VARIANT_ICON_CLASS","styles","PopoverNotice","title","children","variant","icon","actions","showCheckbox","checkboxLabel","onClose","className","rootClass","resolvedIcon","iconColorClass","jsxs","action","i","Button","Checkbox","IconButton","CloseIcon"],"mappings":";;;;;;;;;;;AA4CA,MAAMA,IAAyD;AAAA,EAC7D,wBAAOC,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACC,KAAuB,GAAI;AAAA,EACzD,2BAAUF,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACE,KAAuB,GAAI;AAAA,EAC5D,2BAAUH,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACG,KAAuB,GAAI;AAAA,EAC5D,0BAASJ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACI,KAAiB,EAAA,CAAI;AACvD,GAEMC,IAA2D;AAAA,EAC/D,MAAMC,EAAO,4BAA4B;AAAA,EACzC,SAASA,EAAO,+BAA+B;AAAA,EAC/C,SAASA,EAAO,+BAA+B;AAAA,EAC/C,QAAQA,EAAO,8BAA8B;AAC/C;AAQA,SAAwBC,EAAc;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,eAAAC,IAAgB;AAAA,EAChB,SAAAC;AAAA,EACA,WAAAC,IAAY;AACd,GAAuB;AACrB,QAAMC,IAAY,CAACX,EAAO,gBAAgB,GAAGU,CAAS,EACnD,OAAO,OAAO,EACd,KAAK,GAAG,GAELE,IAAeP,MAASD,IAAUZ,EAAcY,CAAO,IAAI,OAC3DS,IAAiB,CAACR,KAAQD,IAAUL,EAAmBK,CAAO,IAAI;AAExE,SACE,gBAAAU,EAAC,OAAA,EAAI,WAAWH,GACd,UAAA;AAAA,IAAA,gBAAAG,EAAC,OAAA,EAAI,WAAWd,EAAO,yBAAyB,GAC7C,UAAA;AAAA,MAAAY,KAAgB,QACf,gBAAAlB;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,CAACM,EAAO,sBAAsB,GAAGa,CAAc,EACvD,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,UACX,eAAW;AAAA,UAEV,UAAAD;AAAA,QAAA;AAAA,MAAA;AAAA,MAIL,gBAAAE,EAAC,OAAA,EAAI,WAAWd,EAAO,sBAAsB,GAC3C,UAAA;AAAA,QAAA,gBAAAN,EAAC,OAAA,EAAI,WAAWM,EAAO,2BAA2B,GAChD,UAAA,gBAAAN,EAAC,QAAA,EAAK,WAAWM,EAAO,uBAAuB,GAAI,UAAAE,EAAA,CAAM,GAC3D;AAAA,0BAEC,OAAA,EAAI,WAAWF,EAAO,6BAA6B,GACjD,UAAAG,GACH;AAAA,QAECG,KAAWA,EAAQ,SAAS,uBAC1B,OAAA,EAAI,WAAWN,EAAO,yBAAyB,GAC7C,UAAAM,EAAQ,IAAI,CAACS,GAAQC,MACpB,gBAAAtB;AAAA,UAACuB;AAAA,UAAA;AAAA,YAEC,UAAUF,EAAO,YAAY;AAAA,YAC7B,MAAK;AAAA,YACL,SAASA,EAAO;AAAA,YAEf,UAAAA,EAAO;AAAA,UAAA;AAAA,UALHC;AAAA,QAAA,CAOR,GACH;AAAA,QAGDT,KAAgB,gBAAAb,EAACwB,GAAA,EAAS,MAAK,UAAU,UAAAV,EAAA,CAAc;AAAA,MAAA,EAAA,CAC1D;AAAA,IAAA,GACF;AAAA,IAECC,KACC,gBAAAf;AAAA,MAACyB;AAAA,MAAA;AAAA,QACC,WAAWnB,EAAO,uBAAuB;AAAA,QACzC,cAAW;AAAA,QACX,MAAK;AAAA,QACL,wBAAOP,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAAC0B,KAAU,GAAI;AAAA,QAC5C,SAASX;AAAA,MAAA;AAAA,IAAA;AAAA,EACX,GAEJ;AAEJ;"}
1
+ {"version":3,"file":"PopoverNotice.js","sources":["../../../src/components/popover-notice/PopoverNotice.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport AlertOutlineIcon from '@mattermost/compass-icons/components/alert-outline';\nimport Button from '@/components/button/Button';\nimport Checkbox from '@/components/checkbox/Checkbox';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport styles from './PopoverNotice.module.scss';\n\nexport type PopoverNoticeVariant = 'info' | 'success' | 'warning' | 'danger';\n\nexport interface PopoverNoticeAction {\n label: string;\n onClick?: () => void;\n emphasis?: 'primary' | 'tertiary';\n}\n\nexport interface PopoverNoticeProps {\n /** Popover title text. */\n title: string;\n /** Body content. */\n children: ReactNode;\n /**\n * Semantic variant — sets the icon and its color automatically.\n * Ignored if `icon` is also provided.\n */\n variant?: PopoverNoticeVariant;\n /** Optional icon shown to the left of the title. Overrides the variant icon. Pass `<Icon glyph={<SomeIcon />} size=\"20\" />` — the slot does not resize raw SVG children. */\n icon?: ReactNode;\n /** Action buttons rendered below the body. */\n actions?: PopoverNoticeAction[];\n /** When true, shows a \"Don't show this again\" checkbox. */\n showCheckbox?: boolean;\n /** Checkbox label override. */\n checkboxLabel?: string;\n /** Callback when close button is clicked. */\n onClose?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst VARIANT_ICONS: Record<PopoverNoticeVariant, ReactNode> = {\n info: <Icon size=\"20\" glyph={<InformationOutlineIcon />} />,\n success: <Icon size=\"20\" glyph={<CheckCircleOutlineIcon />} />,\n warning: <Icon size=\"20\" glyph={<AlertCircleOutlineIcon />} />,\n danger: <Icon size=\"20\" glyph={<AlertOutlineIcon />} />,\n};\n\nconst VARIANT_ICON_CLASS: Record<PopoverNoticeVariant, string> = {\n info: styles['popover-notice__icon--info'],\n success: styles['popover-notice__icon--success'],\n warning: styles['popover-notice__icon--warning'],\n danger: styles['popover-notice__icon--danger'],\n};\n\n/**\n * Popover Notice is a small overlay card that surfaces a transient message — a tip, a\n * confirmation, a warning — without taking over the screen. Think of it as a [Section\n * Notice](/components/section-notice) that floats: shorter, dismissable, and gone in five\n * seconds unless the user engages.\n */\nexport default function PopoverNotice({\n title,\n children,\n variant,\n icon,\n actions,\n showCheckbox = false,\n checkboxLabel = \"Don't show this confirmation again\",\n onClose,\n className = '',\n}: PopoverNoticeProps) {\n const rootClass = [styles['popover-notice'], className]\n .filter(Boolean)\n .join(' ');\n\n const resolvedIcon = icon ?? (variant ? VARIANT_ICONS[variant] : null);\n const iconColorClass = !icon && variant ? VARIANT_ICON_CLASS[variant] : '';\n\n return (\n <div className={rootClass}>\n <div className={styles['popover-notice__content']}>\n {resolvedIcon != null && (\n <div\n className={[styles['popover-notice__icon'], iconColorClass]\n .filter(Boolean)\n .join(' ')}\n aria-hidden\n >\n {resolvedIcon}\n </div>\n )}\n\n <div className={styles['popover-notice__body']}>\n <div className={styles['popover-notice__title-row']}>\n <span className={styles['popover-notice__title']}>{title}</span>\n </div>\n\n <div className={styles['popover-notice__description']}>\n {children}\n </div>\n\n {actions && actions.length > 0 && (\n <div className={styles['popover-notice__actions']}>\n {actions.map((action, i) => (\n <Button\n key={i}\n emphasis={action.emphasis ?? 'primary'}\n size=\"small\"\n onClick={action.onClick}\n >\n {action.label}\n </Button>\n ))}\n </div>\n )}\n\n {showCheckbox && <Checkbox size=\"medium\">{checkboxLabel}</Checkbox>}\n </div>\n </div>\n\n {onClose && (\n <IconButton\n className={styles['popover-notice__close']}\n aria-label=\"Close\"\n size=\"small\"\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n onClick={onClose}\n />\n )}\n </div>\n );\n}\n"],"names":["VARIANT_ICONS","Icon","jsx","InformationOutlineIcon","CheckCircleOutlineIcon","AlertCircleOutlineIcon","AlertOutlineIcon","VARIANT_ICON_CLASS","styles","PopoverNotice","title","children","variant","icon","actions","showCheckbox","checkboxLabel","onClose","className","rootClass","resolvedIcon","iconColorClass","jsxs","action","i","Button","Checkbox","IconButton","CloseIcon"],"mappings":";;;;;;;;;;;AA4CA,MAAMA,IAAyD;AAAA,EAC7D,wBAAOC,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACC,KAAuB,GAAI;AAAA,EACzD,2BAAUF,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACE,KAAuB,GAAI;AAAA,EAC5D,2BAAUH,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACG,KAAuB,GAAI;AAAA,EAC5D,0BAASJ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAACI,KAAiB,EAAA,CAAI;AACvD,GAEMC,IAA2D;AAAA,EAC/D,MAAMC,EAAO,4BAA4B;AAAA,EACzC,SAASA,EAAO,+BAA+B;AAAA,EAC/C,SAASA,EAAO,+BAA+B;AAAA,EAC/C,QAAQA,EAAO,8BAA8B;AAC/C;AAQA,SAAwBC,EAAc;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,MAAAC;AAAA,EACA,SAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,eAAAC,IAAgB;AAAA,EAChB,SAAAC;AAAA,EACA,WAAAC,IAAY;AACd,GAAuB;AACrB,QAAMC,IAAY,CAACX,EAAO,gBAAgB,GAAGU,CAAS,EACnD,OAAO,OAAO,EACd,KAAK,GAAG,GAELE,IAAeP,MAASD,IAAUZ,EAAcY,CAAO,IAAI,OAC3DS,IAAiB,CAACR,KAAQD,IAAUL,EAAmBK,CAAO,IAAI;AAExE,SACE,gBAAAU,EAAC,OAAA,EAAI,WAAWH,GACd,UAAA;AAAA,IAAA,gBAAAG,EAAC,OAAA,EAAI,WAAWd,EAAO,yBAAyB,GAC7C,UAAA;AAAA,MAAAY,KAAgB,QACf,gBAAAlB;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,WAAW,CAACM,EAAO,sBAAsB,GAAGa,CAAc,EACvD,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,UACX,eAAW;AAAA,UAEV,UAAAD;AAAA,QAAA;AAAA,MAAA;AAAA,MAIL,gBAAAE,EAAC,OAAA,EAAI,WAAWd,EAAO,sBAAsB,GAC3C,UAAA;AAAA,QAAA,gBAAAN,EAAC,OAAA,EAAI,WAAWM,EAAO,2BAA2B,GAChD,UAAA,gBAAAN,EAAC,QAAA,EAAK,WAAWM,EAAO,uBAAuB,GAAI,UAAAE,EAAA,CAAM,GAC3D;AAAA,0BAEC,OAAA,EAAI,WAAWF,EAAO,6BAA6B,GACjD,UAAAG,GACH;AAAA,QAECG,KAAWA,EAAQ,SAAS,uBAC1B,OAAA,EAAI,WAAWN,EAAO,yBAAyB,GAC7C,UAAAM,EAAQ,IAAI,CAACS,GAAQC,MACpB,gBAAAtB;AAAA,UAACuB;AAAA,UAAA;AAAA,YAEC,UAAUF,EAAO,YAAY;AAAA,YAC7B,MAAK;AAAA,YACL,SAASA,EAAO;AAAA,YAEf,UAAAA,EAAO;AAAA,UAAA;AAAA,UALHC;AAAA,QAAA,CAOR,GACH;AAAA,QAGDT,KAAgB,gBAAAb,EAACwB,GAAA,EAAS,MAAK,UAAU,UAAAV,EAAA,CAAc;AAAA,MAAA,EAAA,CAC1D;AAAA,IAAA,GACF;AAAA,IAECC,KACC,gBAAAf;AAAA,MAACyB;AAAA,MAAA;AAAA,QACC,WAAWnB,EAAO,uBAAuB;AAAA,QACzC,cAAW;AAAA,QACX,MAAK;AAAA,QACL,wBAAOP,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAC,EAAC0B,KAAU,GAAI;AAAA,QAC5C,SAASX;AAAA,MAAA;AAAA,IAAA;AAAA,EACX,GAEJ;AAEJ;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),n=require("react"),t=require("./ReactionButton.module.scss.cjs");function b({emoji:a,count:e,byCurrentUser:i=!1,className:l="",onClick:d,...f}){const o=n.useRef(e),u=n.useRef(void 0),[s,c]=n.useState(null);n.useEffect(()=>(e!==o.current&&(clearTimeout(u.current),c(e>o.current?"up":"down"),o.current=e,u.current=setTimeout(()=>c(null),300)),()=>clearTimeout(u.current)),[e]);const m=[t.default["reaction-button"],i?t.default["reaction-button--mine"]:"",l].filter(Boolean).join(" "),_=[t.default["reaction-button__count"],s==="up"?t.default["reaction-button__count--anim-up"]:"",s==="down"?t.default["reaction-button__count--anim-down"]:""].filter(Boolean).join(" ");return r.jsxs("button",{type:"button",className:m,onClick:d,"aria-label":`${a} ${e} reaction${e!==1?"s":""}`,"aria-pressed":i,...f,children:[r.jsx("span",{className:t.default["reaction-button__emoji"],"aria-hidden":!0,children:a}),r.jsx("span",{className:_,children:e})]})}exports.default=b;
2
+ //# sourceMappingURL=ReactionButton.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionButton.cjs","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport type { ButtonHTMLAttributes } from 'react';\nimport styles from './ReactionButton.module.scss';\n\nexport interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** The emoji character to display. */\n emoji: string;\n /** Number of users who reacted with this emoji. */\n count: number;\n /** Whether the current user has reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\n/**\n * A single emoji reaction button — shows the emoji, count, and highlights when the current user\n * has reacted. Fires onClick when clicked; the host owns toggle logic.\n *\n * The count animates up or down when the `count` prop changes.\n */\nexport default function ReactionButton({\n emoji,\n count,\n byCurrentUser = false,\n className = '',\n onClick,\n ...rest\n}: ReactionButtonProps) {\n const prevCountRef = useRef(count);\n const timerRef = useRef<ReturnType<typeof setTimeout>>(undefined);\n const [countAnim, setCountAnim] = useState<'up' | 'down' | null>(null);\n\n useEffect(() => {\n if (count !== prevCountRef.current) {\n clearTimeout(timerRef.current);\n setCountAnim(count > prevCountRef.current ? 'up' : 'down');\n prevCountRef.current = count;\n timerRef.current = setTimeout(() => setCountAnim(null), 300);\n }\n return () => clearTimeout(timerRef.current);\n }, [count]);\n\n const rootClass = [\n styles['reaction-button'],\n byCurrentUser ? styles['reaction-button--mine'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n const countClass = [\n styles['reaction-button__count'],\n countAnim === 'up' ? styles['reaction-button__count--anim-up'] : '',\n countAnim === 'down' ? styles['reaction-button__count--anim-down'] : '',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <button\n type=\"button\"\n className={rootClass}\n onClick={onClick}\n aria-label={`${emoji} ${count} reaction${count !== 1 ? 's' : ''}`}\n aria-pressed={byCurrentUser}\n {...rest}\n >\n <span className={styles['reaction-button__emoji']} aria-hidden>\n {emoji}\n </span>\n <span className={countClass}>{count}</span>\n </button>\n );\n}\n"],"names":["ReactionButton","emoji","count","byCurrentUser","className","onClick","rest","prevCountRef","useRef","timerRef","countAnim","setCountAnim","useState","useEffect","rootClass","styles","countClass","jsxs","jsx"],"mappings":"kNAmBA,SAAwBA,EAAe,CACrC,MAAAC,EACA,MAAAC,EACA,cAAAC,EAAgB,GAChB,UAAAC,EAAY,GACZ,QAAAC,EACA,GAAGC,CACL,EAAwB,CACtB,MAAMC,EAAeC,EAAAA,OAAON,CAAK,EAC3BO,EAAWD,EAAAA,OAAsC,MAAS,EAC1D,CAACE,EAAWC,CAAY,EAAIC,EAAAA,SAA+B,IAAI,EAErEC,EAAAA,UAAU,KACJX,IAAUK,EAAa,UACzB,aAAaE,EAAS,OAAO,EAC7BE,EAAaT,EAAQK,EAAa,QAAU,KAAO,MAAM,EACzDA,EAAa,QAAUL,EACvBO,EAAS,QAAU,WAAW,IAAME,EAAa,IAAI,EAAG,GAAG,GAEtD,IAAM,aAAaF,EAAS,OAAO,GACzC,CAACP,CAAK,CAAC,EAEV,MAAMY,EAAY,CAChBC,EAAAA,QAAO,iBAAiB,EACxBZ,EAAgBY,EAAAA,QAAO,uBAAuB,EAAI,GAClDX,CAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG,EAELY,EAAa,CACjBD,EAAAA,QAAO,wBAAwB,EAC/BL,IAAc,KAAOK,UAAO,iCAAiC,EAAI,GACjEL,IAAc,OAASK,UAAO,mCAAmC,EAAI,EAAA,EAEpE,OAAO,OAAO,EACd,KAAK,GAAG,EAEX,OACEE,EAAAA,KAAC,SAAA,CACC,KAAK,SACL,UAAWH,EACX,QAAAT,EACA,aAAY,GAAGJ,CAAK,IAAIC,CAAK,YAAYA,IAAU,EAAI,IAAM,EAAE,GAC/D,eAAcC,EACb,GAAGG,EAEJ,SAAA,CAAAY,EAAAA,IAAC,QAAK,UAAWH,UAAO,wBAAwB,EAAG,cAAW,GAC3D,SAAAd,EACH,EACAiB,EAAAA,IAAC,OAAA,CAAK,UAAWF,EAAa,SAAAd,CAAA,CAAM,CAAA,CAAA,CAAA,CAG1C"}
@@ -0,0 +1,17 @@
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ export interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
+ /** The emoji character to display. */
4
+ emoji: string;
5
+ /** Number of users who reacted with this emoji. */
6
+ count: number;
7
+ /** Whether the current user has reacted with this emoji. */
8
+ byCurrentUser?: boolean;
9
+ }
10
+ /**
11
+ * A single emoji reaction button — shows the emoji, count, and highlights when the current user
12
+ * has reacted. Fires onClick when clicked; the host owns toggle logic.
13
+ *
14
+ * The count animates up or down when the `count` prop changes.
15
+ */
16
+ export default function ReactionButton({ emoji, count, byCurrentUser, className, onClick, ...rest }: ReactionButtonProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=ReactionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionButton.d.ts","sourceRoot":"","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,WAAW,mBAAoB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAClF,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,4DAA4D;IAC5D,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,KAAK,EACL,aAAqB,EACrB,SAAc,EACd,OAAO,EACP,GAAG,IAAI,EACR,EAAE,mBAAmB,2CA8CrB"}
@@ -0,0 +1,42 @@
1
+ import { jsxs as b, jsx as u } from "react/jsx-runtime";
2
+ import { useRef as c, useState as _, useEffect as h } from "react";
3
+ import e from "./ReactionButton.module.scss.js";
4
+ function x({
5
+ emoji: r,
6
+ count: t,
7
+ byCurrentUser: a = !1,
8
+ className: l = "",
9
+ onClick: m,
10
+ ...f
11
+ }) {
12
+ const n = c(t), o = c(void 0), [i, s] = _(null);
13
+ h(() => (t !== n.current && (clearTimeout(o.current), s(t > n.current ? "up" : "down"), n.current = t, o.current = setTimeout(() => s(null), 300)), () => clearTimeout(o.current)), [t]);
14
+ const p = [
15
+ e["reaction-button"],
16
+ a ? e["reaction-button--mine"] : "",
17
+ l
18
+ ].filter(Boolean).join(" "), d = [
19
+ e["reaction-button__count"],
20
+ i === "up" ? e["reaction-button__count--anim-up"] : "",
21
+ i === "down" ? e["reaction-button__count--anim-down"] : ""
22
+ ].filter(Boolean).join(" ");
23
+ return /* @__PURE__ */ b(
24
+ "button",
25
+ {
26
+ type: "button",
27
+ className: p,
28
+ onClick: m,
29
+ "aria-label": `${r} ${t} reaction${t !== 1 ? "s" : ""}`,
30
+ "aria-pressed": a,
31
+ ...f,
32
+ children: [
33
+ /* @__PURE__ */ u("span", { className: e["reaction-button__emoji"], "aria-hidden": !0, children: r }),
34
+ /* @__PURE__ */ u("span", { className: d, children: t })
35
+ ]
36
+ }
37
+ );
38
+ }
39
+ export {
40
+ x as default
41
+ };
42
+ //# sourceMappingURL=ReactionButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionButton.js","sources":["../../../src/components/reaction-button/ReactionButton.tsx"],"sourcesContent":["import { useEffect, useRef, useState } from 'react';\nimport type { ButtonHTMLAttributes } from 'react';\nimport styles from './ReactionButton.module.scss';\n\nexport interface ReactionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** The emoji character to display. */\n emoji: string;\n /** Number of users who reacted with this emoji. */\n count: number;\n /** Whether the current user has reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\n/**\n * A single emoji reaction button — shows the emoji, count, and highlights when the current user\n * has reacted. Fires onClick when clicked; the host owns toggle logic.\n *\n * The count animates up or down when the `count` prop changes.\n */\nexport default function ReactionButton({\n emoji,\n count,\n byCurrentUser = false,\n className = '',\n onClick,\n ...rest\n}: ReactionButtonProps) {\n const prevCountRef = useRef(count);\n const timerRef = useRef<ReturnType<typeof setTimeout>>(undefined);\n const [countAnim, setCountAnim] = useState<'up' | 'down' | null>(null);\n\n useEffect(() => {\n if (count !== prevCountRef.current) {\n clearTimeout(timerRef.current);\n setCountAnim(count > prevCountRef.current ? 'up' : 'down');\n prevCountRef.current = count;\n timerRef.current = setTimeout(() => setCountAnim(null), 300);\n }\n return () => clearTimeout(timerRef.current);\n }, [count]);\n\n const rootClass = [\n styles['reaction-button'],\n byCurrentUser ? styles['reaction-button--mine'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n const countClass = [\n styles['reaction-button__count'],\n countAnim === 'up' ? styles['reaction-button__count--anim-up'] : '',\n countAnim === 'down' ? styles['reaction-button__count--anim-down'] : '',\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <button\n type=\"button\"\n className={rootClass}\n onClick={onClick}\n aria-label={`${emoji} ${count} reaction${count !== 1 ? 's' : ''}`}\n aria-pressed={byCurrentUser}\n {...rest}\n >\n <span className={styles['reaction-button__emoji']} aria-hidden>\n {emoji}\n </span>\n <span className={countClass}>{count}</span>\n </button>\n );\n}\n"],"names":["ReactionButton","emoji","count","byCurrentUser","className","onClick","rest","prevCountRef","useRef","timerRef","countAnim","setCountAnim","useState","useEffect","rootClass","styles","countClass","jsxs","jsx"],"mappings":";;;AAmBA,SAAwBA,EAAe;AAAA,EACrC,OAAAC;AAAA,EACA,OAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,WAAAC,IAAY;AAAA,EACZ,SAAAC;AAAA,EACA,GAAGC;AACL,GAAwB;AACtB,QAAMC,IAAeC,EAAON,CAAK,GAC3BO,IAAWD,EAAsC,MAAS,GAC1D,CAACE,GAAWC,CAAY,IAAIC,EAA+B,IAAI;AAErE,EAAAC,EAAU,OACJX,MAAUK,EAAa,YACzB,aAAaE,EAAS,OAAO,GAC7BE,EAAaT,IAAQK,EAAa,UAAU,OAAO,MAAM,GACzDA,EAAa,UAAUL,GACvBO,EAAS,UAAU,WAAW,MAAME,EAAa,IAAI,GAAG,GAAG,IAEtD,MAAM,aAAaF,EAAS,OAAO,IACzC,CAACP,CAAK,CAAC;AAEV,QAAMY,IAAY;AAAA,IAChBC,EAAO,iBAAiB;AAAA,IACxBZ,IAAgBY,EAAO,uBAAuB,IAAI;AAAA,IAClDX;AAAA,EAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG,GAELY,IAAa;AAAA,IACjBD,EAAO,wBAAwB;AAAA,IAC/BL,MAAc,OAAOK,EAAO,iCAAiC,IAAI;AAAA,IACjEL,MAAc,SAASK,EAAO,mCAAmC,IAAI;AAAA,EAAA,EAEpE,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAWH;AAAA,MACX,SAAAT;AAAA,MACA,cAAY,GAAGJ,CAAK,IAAIC,CAAK,YAAYA,MAAU,IAAI,MAAM,EAAE;AAAA,MAC/D,gBAAcC;AAAA,MACb,GAAGG;AAAA,MAEJ,UAAA;AAAA,QAAA,gBAAAY,EAAC,UAAK,WAAWH,EAAO,wBAAwB,GAAG,eAAW,IAC3D,UAAAd,GACH;AAAA,QACA,gBAAAiB,EAAC,QAAA,EAAK,WAAWF,GAAa,UAAAd,EAAA,CAAM;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAG1C;"}
@@ -0,0 +1 @@
1
+ @keyframes _reaction-count-up_15oyo_1{0%{transform:translateY(var(--spacing-xxs));opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _reaction-count-down_15oyo_1{0%{transform:translateY(calc(var(--spacing-xxs) * -1));opacity:0}to{transform:translateY(0);opacity:1}}._reaction-button_15oyo_22{display:inline-flex;align-items:center;gap:var(--spacing-xxxs);padding:var(--spacing-xxxs) var(--spacing-xxs);border:none;border-radius:var(--radius-s);background-color:rgba(var(--center-channel-color-rgb),.08);cursor:pointer;outline:2px solid color-mix(in srgb,var(--focus-ring-color) 0%,transparent);outline-offset:0;transition:background-color var(--duration-quick) var(--ease-transition),box-shadow var(--duration-quick) var(--ease-transition),outline-color var(--duration-quick) var(--ease-transition),outline-offset var(--duration-quick) var(--ease-transition)}._reaction-button_15oyo_22:hover{background-color:rgba(var(--center-channel-color-rgb),.12)}._reaction-button_15oyo_22:focus-visible{outline-color:var(--focus-ring-color);outline-offset:3px}._reaction-button--mine_15oyo_42{background-color:rgba(var(--link-color-rgb),.08);box-shadow:inset 0 0 0 1px var(--link-color)}._reaction-button--mine_15oyo_42:hover{background-color:rgba(var(--link-color-rgb),.12)}._reaction-button--mine_15oyo_42 ._reaction-button__count_15oyo_49{color:var(--link-color)}._reaction-button__emoji_15oyo_52{font-size:var(--font-size-200);line-height:var(--line-height-50)}._reaction-button__count_15oyo_49{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.56)}._reaction-button__count--anim-up_15oyo_63{animation:_reaction-count-up_15oyo_1 var(--duration-moderate) var(--ease-entrance)}._reaction-button__count--anim-down_15oyo_66{animation:_reaction-count-down_15oyo_1 var(--duration-moderate) var(--ease-entrance)}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ReactionButton.module.css');const o={"reaction-button":"_reaction-button_15oyo_22","reaction-button--mine":"_reaction-button--mine_15oyo_42","reaction-button__count":"_reaction-button__count_15oyo_49","reaction-button__emoji":"_reaction-button__emoji_15oyo_52","reaction-button__count--anim-up":"_reaction-button__count--anim-up_15oyo_63","reaction-button__count--anim-down":"_reaction-button__count--anim-down_15oyo_66"};exports.default=o;
2
+ //# sourceMappingURL=ReactionButton.module.scss.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionButton.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import './ReactionButton.module.css';const o = {
2
+ "reaction-button": "_reaction-button_15oyo_22",
3
+ "reaction-button--mine": "_reaction-button--mine_15oyo_42",
4
+ "reaction-button__count": "_reaction-button__count_15oyo_49",
5
+ "reaction-button__emoji": "_reaction-button__emoji_15oyo_52",
6
+ "reaction-button__count--anim-up": "_reaction-button__count--anim-up_15oyo_63",
7
+ "reaction-button__count--anim-down": "_reaction-button__count--anim-down_15oyo_66"
8
+ };
9
+ export {
10
+ o as default
11
+ };
12
+ //# sourceMappingURL=ReactionButton.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionButton.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./ReactionButton.cjs");exports.ReactionButton=t.default;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,3 @@
1
+ export { default as ReactionButton } from './ReactionButton';
2
+ export type { ReactionButtonProps } from './ReactionButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reaction-button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { default as a } from "./ReactionButton.js";
2
+ export {
3
+ a as ReactionButton
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),h=require("../icon-button/IconButton.cjs"),l=require("../icon/Icon.cjs"),w=require("../reaction-button/ReactionButton.cjs"),__p=require("@mattermost/compass-icons/components/check-circle-outline.js"),p=__p?.default??__p,__b=require("@mattermost/compass-icons/components/emoticon-plus-outline.js"),b=__b?.default??__b,a=require("./ReactionsRow.module.scss.cjs"),N=[{emoji:"👍",count:1},{emoji:"😀",count:4},{emoji:"🙌",count:1}];function q({reactions:n=N,showAddReaction:c=!1,acknowledged:i=!1,acknowledgeCount:r=0,currentUserAcknowledged:s=!1,onAddReaction:u,onReactionClick:t,onAcknowledge:d,className:f="",..._}){const j=[a.default["reactions-row"],f].filter(Boolean).join(" ");return e.jsxs("div",{className:j,..._,children:[i&&e.jsxs("button",{type:"button",className:[a.default["reactions-row__ack"],s?a.default["reactions-row__ack--active"]:""].filter(Boolean).join(" "),onClick:d,"aria-pressed":s,"aria-label":"Acknowledge message",children:[e.jsx("span",{className:a.default["reactions-row__ack-icon"],"aria-hidden":!0,children:e.jsx(l.default,{size:"16",glyph:e.jsx(p,{})})}),s?e.jsx("span",{className:a.default["reactions-row__ack-count"],children:r}):e.jsx("span",{className:a.default["reactions-row__ack-label"],children:"Acknowledge"})]}),e.jsxs("div",{className:a.default["reactions-row__buttons"],children:[n.map(({emoji:o,count:m,byCurrentUser:x})=>e.jsx(w.default,{emoji:o,count:m,byCurrentUser:x,onClick:()=>t==null?void 0:t(o)},o)),c&&e.jsx(h.default,{"aria-label":"Add reaction",className:a.default["reactions-row__add-reaction"],size:"x-small",onClick:u,icon:e.jsx(l.default,{size:"16",glyph:e.jsx(b,{})})})]})]})}exports.default=q;
2
+ //# sourceMappingURL=ReactionsRow.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsRow.cjs","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport ReactionButton from '@/components/reaction-button/ReactionButton';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport EmoticonPlusOutlineIcon from '@mattermost/compass-icons/components/emoticon-plus-outline';\nimport styles from './ReactionsRow.module.scss';\n\nexport interface ReactionItem {\n emoji: string;\n count: number;\n /** Whether the current user reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\nexport interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {\n /** List of reactions to display. */\n reactions?: ReactionItem[];\n /** Whether to show the add-reaction button. Default: false. */\n showAddReaction?: boolean;\n /** Whether to show the acknowledge button. */\n acknowledged?: boolean;\n /** Acknowledge count. */\n acknowledgeCount?: number;\n /** Whether the current user has acknowledged. Default: false. */\n currentUserAcknowledged?: boolean;\n /** Called when add-reaction is clicked. */\n onAddReaction?: () => void;\n /** Called when a Reaction Button is clicked. */\n onReactionClick?: (emoji: string) => void;\n /** Called when the acknowledge button is clicked. */\n onAcknowledge?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst DEFAULT_REACTIONS: ReactionItem[] = [\n { emoji: '👍', count: 1 },\n { emoji: '😀', count: 4 },\n { emoji: '🙌', count: 1 },\n];\n\n/**\n * Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to\n * respond, applaud, or acknowledge without adding to the thread. The component handles the\n * count, the \"this is mine\" highlight, and the add-reaction affordance.\n */\nexport default function ReactionsRow({\n reactions = DEFAULT_REACTIONS,\n showAddReaction = false,\n acknowledged = false,\n acknowledgeCount = 0,\n currentUserAcknowledged = false,\n onAddReaction,\n onReactionClick,\n onAcknowledge,\n className = '',\n ...rest\n}: ReactionsRowProps) {\n const rootClass = [styles['reactions-row'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass} {...rest}>\n {/* Acknowledge button */}\n {acknowledged && (\n <button\n type=\"button\"\n className={[\n styles['reactions-row__ack'],\n currentUserAcknowledged\n ? styles['reactions-row__ack--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onAcknowledge}\n aria-pressed={currentUserAcknowledged}\n aria-label=\"Acknowledge message\"\n >\n <span className={styles['reactions-row__ack-icon']} aria-hidden>\n <Icon size=\"16\" glyph={<CheckCircleOutlineIcon />} />\n </span>\n {currentUserAcknowledged ? (\n <span className={styles['reactions-row__ack-count']}>\n {acknowledgeCount}\n </span>\n ) : (\n <span className={styles['reactions-row__ack-label']}>\n Acknowledge\n </span>\n )}\n </button>\n )}\n\n {/* Reaction buttons */}\n <div className={styles['reactions-row__buttons']}>\n {reactions.map(({ emoji, count, byCurrentUser }) => (\n <ReactionButton\n key={emoji}\n emoji={emoji}\n count={count}\n byCurrentUser={byCurrentUser}\n onClick={() => onReactionClick?.(emoji)}\n />\n ))}\n\n {/* Add reaction button */}\n {showAddReaction && (\n <IconButton\n aria-label=\"Add reaction\"\n className={styles['reactions-row__add-reaction']}\n size=\"x-small\"\n onClick={onAddReaction}\n icon={<Icon size=\"16\" glyph={<EmoticonPlusOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["DEFAULT_REACTIONS","ReactionsRow","reactions","showAddReaction","acknowledged","acknowledgeCount","currentUserAcknowledged","onAddReaction","onReactionClick","onAcknowledge","className","rest","rootClass","styles","jsxs","jsx","Icon","CheckCircleOutlineIcon","emoji","count","byCurrentUser","ReactionButton","IconButton","EmoticonPlusOutlineIcon"],"mappings":"scAoCMA,EAAoC,CACxC,CAAE,MAAO,KAAM,MAAO,CAAA,EACtB,CAAE,MAAO,KAAM,MAAO,CAAA,EACtB,CAAE,MAAO,KAAM,MAAO,CAAA,CACxB,EAOA,SAAwBC,EAAa,CACnC,UAAAC,EAAYF,EACZ,gBAAAG,EAAkB,GAClB,aAAAC,EAAe,GACf,iBAAAC,EAAmB,EACnB,wBAAAC,EAA0B,GAC1B,cAAAC,EACA,gBAAAC,EACA,cAAAC,EACA,UAAAC,EAAY,GACZ,GAAGC,CACL,EAAsB,CACpB,MAAMC,EAAY,CAACC,UAAO,eAAe,EAAGH,CAAS,EAClD,OAAO,OAAO,EACd,KAAK,GAAG,EAEX,OACEI,EAAAA,KAAC,MAAA,CAAI,UAAWF,EAAY,GAAGD,EAE5B,SAAA,CAAAP,GACCU,EAAAA,KAAC,SAAA,CACC,KAAK,SACL,UAAW,CACTD,EAAAA,QAAO,oBAAoB,EAC3BP,EACIO,EAAAA,QAAO,4BAA4B,EACnC,EAAA,EAEH,OAAO,OAAO,EACd,KAAK,GAAG,EACX,QAASJ,EACT,eAAcH,EACd,aAAW,sBAEX,SAAA,CAAAS,MAAC,OAAA,CAAK,UAAWF,EAAAA,QAAO,yBAAyB,EAAG,cAAW,GAC7D,SAAAE,EAAAA,IAACC,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOD,EAAAA,IAACE,EAAA,CAAA,CAAuB,EAAI,EACrD,EACCX,EACCS,EAAAA,IAAC,OAAA,CAAK,UAAWF,UAAO,0BAA0B,EAC/C,SAAAR,CAAA,CACH,QAEC,OAAA,CAAK,UAAWQ,EAAAA,QAAO,0BAA0B,EAAG,SAAA,aAAA,CAErD,CAAA,CAAA,CAAA,EAMNC,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,wBAAwB,EAC5C,SAAA,CAAAX,EAAU,IAAI,CAAC,CAAE,MAAAgB,EAAO,MAAAC,EAAO,cAAAC,KAC9BL,EAAAA,IAACM,EAAAA,QAAA,CAEC,MAAAH,EACA,MAAAC,EACA,cAAAC,EACA,QAAS,IAAMZ,GAAA,YAAAA,EAAkBU,EAAK,EAJjCA,CAAA,CAMR,EAGAf,GACCY,EAAAA,IAACO,EAAAA,QAAA,CACC,aAAW,eACX,UAAWT,EAAAA,QAAO,6BAA6B,EAC/C,KAAK,UACL,QAASN,EACT,WAAOS,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOD,EAAAA,IAACQ,IAAwB,CAAA,CAAI,CAAA,CAAA,CAC5D,CAAA,CAEJ,CAAA,EACF,CAEJ"}
@@ -5,7 +5,7 @@ export interface ReactionItem {
5
5
  /** Whether the current user reacted with this emoji. */
6
6
  byCurrentUser?: boolean;
7
7
  }
8
- export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
8
+ export interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {
9
9
  /** List of reactions to display. */
10
10
  reactions?: ReactionItem[];
11
11
  /** Whether to show the add-reaction button. Default: false. */
@@ -18,7 +18,7 @@ export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
18
18
  currentUserAcknowledged?: boolean;
19
19
  /** Called when add-reaction is clicked. */
20
20
  onAddReaction?: () => void;
21
- /** Called when a reaction pill is clicked. */
21
+ /** Called when a Reaction Button is clicked. */
22
22
  onReactionClick?: (emoji: string) => void;
23
23
  /** Called when the acknowledge button is clicked. */
24
24
  onAcknowledge?: () => void;
@@ -26,9 +26,9 @@ export interface MessageReactionsProps extends HTMLAttributes<HTMLDivElement> {
26
26
  className?: string;
27
27
  }
28
28
  /**
29
- * Message Reactions are the row of emoji pills below a message — the lightest weight way to
29
+ * Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to
30
30
  * respond, applaud, or acknowledge without adding to the thread. The component handles the
31
31
  * count, the "this is mine" highlight, and the add-reaction affordance.
32
32
  */
33
- export default function MessageReactions({ reactions, showAddReaction, acknowledged, acknowledgeCount, currentUserAcknowledged, onAddReaction, onReactionClick, onAcknowledge, className, ...rest }: MessageReactionsProps): import("react/jsx-runtime").JSX.Element;
34
- //# sourceMappingURL=MessageReactions.d.ts.map
33
+ export default function ReactionsRow({ reactions, showAddReaction, acknowledged, acknowledgeCount, currentUserAcknowledged, onAddReaction, onReactionClick, onAcknowledge, className, ...rest }: ReactionsRowProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=ReactionsRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsRow.d.ts","sourceRoot":"","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ5C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,oCAAoC;IACpC,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;IAC3B,+DAA+D;IAC/D,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,8CAA8C;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gDAAgD;IAChD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,qDAAqD;IACrD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAA6B,EAC7B,eAAuB,EACvB,YAAoB,EACpB,gBAAoB,EACpB,uBAA+B,EAC/B,aAAa,EACb,eAAe,EACf,aAAa,EACb,SAAc,EACd,GAAG,IAAI,EACR,EAAE,iBAAiB,2CA+DnB"}
@@ -0,0 +1,71 @@
1
+ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
+ import N from "../icon-button/IconButton.js";
3
+ import t from "../icon/Icon.js";
4
+ import b from "../reaction-button/ReactionButton.js";
5
+ import __j from "@mattermost/compass-icons/components/check-circle-outline.js";const j=__j&&__j.default?__j.default:__j;
6
+ import __k from "@mattermost/compass-icons/components/emoticon-plus-outline.js";const k=__k&&__k.default?__k.default:__k;
7
+ import a from "./ReactionsRow.module.scss.js";
8
+ const I = [
9
+ { emoji: "👍", count: 1 },
10
+ { emoji: "😀", count: 4 },
11
+ { emoji: "🙌", count: 1 }
12
+ ];
13
+ function C({
14
+ reactions: n = I,
15
+ showAddReaction: c = !1,
16
+ acknowledged: l = !1,
17
+ acknowledgeCount: m = 0,
18
+ currentUserAcknowledged: e = !1,
19
+ onAddReaction: p,
20
+ onReactionClick: s,
21
+ onAcknowledge: _,
22
+ className: d = "",
23
+ ...f
24
+ }) {
25
+ const u = [a["reactions-row"], d].filter(Boolean).join(" ");
26
+ return /* @__PURE__ */ i("div", { className: u, ...f, children: [
27
+ l && /* @__PURE__ */ i(
28
+ "button",
29
+ {
30
+ type: "button",
31
+ className: [
32
+ a["reactions-row__ack"],
33
+ e ? a["reactions-row__ack--active"] : ""
34
+ ].filter(Boolean).join(" "),
35
+ onClick: _,
36
+ "aria-pressed": e,
37
+ "aria-label": "Acknowledge message",
38
+ children: [
39
+ /* @__PURE__ */ o("span", { className: a["reactions-row__ack-icon"], "aria-hidden": !0, children: /* @__PURE__ */ o(t, { size: "16", glyph: /* @__PURE__ */ o(j, {}) }) }),
40
+ e ? /* @__PURE__ */ o("span", { className: a["reactions-row__ack-count"], children: m }) : /* @__PURE__ */ o("span", { className: a["reactions-row__ack-label"], children: "Acknowledge" })
41
+ ]
42
+ }
43
+ ),
44
+ /* @__PURE__ */ i("div", { className: a["reactions-row__buttons"], children: [
45
+ n.map(({ emoji: r, count: h, byCurrentUser: w }) => /* @__PURE__ */ o(
46
+ b,
47
+ {
48
+ emoji: r,
49
+ count: h,
50
+ byCurrentUser: w,
51
+ onClick: () => s == null ? void 0 : s(r)
52
+ },
53
+ r
54
+ )),
55
+ c && /* @__PURE__ */ o(
56
+ N,
57
+ {
58
+ "aria-label": "Add reaction",
59
+ className: a["reactions-row__add-reaction"],
60
+ size: "x-small",
61
+ onClick: p,
62
+ icon: /* @__PURE__ */ o(t, { size: "16", glyph: /* @__PURE__ */ o(k, {}) })
63
+ }
64
+ )
65
+ ] })
66
+ ] });
67
+ }
68
+ export {
69
+ C as default
70
+ };
71
+ //# sourceMappingURL=ReactionsRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsRow.js","sources":["../../../src/components/reactions-row/ReactionsRow.tsx"],"sourcesContent":["import type { HTMLAttributes } from 'react';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Icon from '@/components/icon/Icon';\nimport ReactionButton from '@/components/reaction-button/ReactionButton';\nimport CheckCircleOutlineIcon from '@mattermost/compass-icons/components/check-circle-outline';\nimport EmoticonPlusOutlineIcon from '@mattermost/compass-icons/components/emoticon-plus-outline';\nimport styles from './ReactionsRow.module.scss';\n\nexport interface ReactionItem {\n emoji: string;\n count: number;\n /** Whether the current user reacted with this emoji. */\n byCurrentUser?: boolean;\n}\n\nexport interface ReactionsRowProps extends HTMLAttributes<HTMLDivElement> {\n /** List of reactions to display. */\n reactions?: ReactionItem[];\n /** Whether to show the add-reaction button. Default: false. */\n showAddReaction?: boolean;\n /** Whether to show the acknowledge button. */\n acknowledged?: boolean;\n /** Acknowledge count. */\n acknowledgeCount?: number;\n /** Whether the current user has acknowledged. Default: false. */\n currentUserAcknowledged?: boolean;\n /** Called when add-reaction is clicked. */\n onAddReaction?: () => void;\n /** Called when a Reaction Button is clicked. */\n onReactionClick?: (emoji: string) => void;\n /** Called when the acknowledge button is clicked. */\n onAcknowledge?: () => void;\n /** Optional CSS class name. */\n className?: string;\n}\n\nconst DEFAULT_REACTIONS: ReactionItem[] = [\n { emoji: '👍', count: 1 },\n { emoji: '😀', count: 4 },\n { emoji: '🙌', count: 1 },\n];\n\n/**\n * Reactions Row is the strip of Reaction Buttons below a message — the lightest weight way to\n * respond, applaud, or acknowledge without adding to the thread. The component handles the\n * count, the \"this is mine\" highlight, and the add-reaction affordance.\n */\nexport default function ReactionsRow({\n reactions = DEFAULT_REACTIONS,\n showAddReaction = false,\n acknowledged = false,\n acknowledgeCount = 0,\n currentUserAcknowledged = false,\n onAddReaction,\n onReactionClick,\n onAcknowledge,\n className = '',\n ...rest\n}: ReactionsRowProps) {\n const rootClass = [styles['reactions-row'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass} {...rest}>\n {/* Acknowledge button */}\n {acknowledged && (\n <button\n type=\"button\"\n className={[\n styles['reactions-row__ack'],\n currentUserAcknowledged\n ? styles['reactions-row__ack--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onAcknowledge}\n aria-pressed={currentUserAcknowledged}\n aria-label=\"Acknowledge message\"\n >\n <span className={styles['reactions-row__ack-icon']} aria-hidden>\n <Icon size=\"16\" glyph={<CheckCircleOutlineIcon />} />\n </span>\n {currentUserAcknowledged ? (\n <span className={styles['reactions-row__ack-count']}>\n {acknowledgeCount}\n </span>\n ) : (\n <span className={styles['reactions-row__ack-label']}>\n Acknowledge\n </span>\n )}\n </button>\n )}\n\n {/* Reaction buttons */}\n <div className={styles['reactions-row__buttons']}>\n {reactions.map(({ emoji, count, byCurrentUser }) => (\n <ReactionButton\n key={emoji}\n emoji={emoji}\n count={count}\n byCurrentUser={byCurrentUser}\n onClick={() => onReactionClick?.(emoji)}\n />\n ))}\n\n {/* Add reaction button */}\n {showAddReaction && (\n <IconButton\n aria-label=\"Add reaction\"\n className={styles['reactions-row__add-reaction']}\n size=\"x-small\"\n onClick={onAddReaction}\n icon={<Icon size=\"16\" glyph={<EmoticonPlusOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["DEFAULT_REACTIONS","ReactionsRow","reactions","showAddReaction","acknowledged","acknowledgeCount","currentUserAcknowledged","onAddReaction","onReactionClick","onAcknowledge","className","rest","rootClass","styles","jsxs","jsx","Icon","CheckCircleOutlineIcon","emoji","count","byCurrentUser","ReactionButton","IconButton","EmoticonPlusOutlineIcon"],"mappings":";;;;;;;AAoCA,MAAMA,IAAoC;AAAA,EACxC,EAAE,OAAO,MAAM,OAAO,EAAA;AAAA,EACtB,EAAE,OAAO,MAAM,OAAO,EAAA;AAAA,EACtB,EAAE,OAAO,MAAM,OAAO,EAAA;AACxB;AAOA,SAAwBC,EAAa;AAAA,EACnC,WAAAC,IAAYF;AAAA,EACZ,iBAAAG,IAAkB;AAAA,EAClB,cAAAC,IAAe;AAAA,EACf,kBAAAC,IAAmB;AAAA,EACnB,yBAAAC,IAA0B;AAAA,EAC1B,eAAAC;AAAA,EACA,iBAAAC;AAAA,EACA,eAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAsB;AACpB,QAAMC,IAAY,CAACC,EAAO,eAAe,GAAGH,CAAS,EAClD,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAI,EAAC,OAAA,EAAI,WAAWF,GAAY,GAAGD,GAE5B,UAAA;AAAA,IAAAP,KACC,gBAAAU;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAW;AAAA,UACTD,EAAO,oBAAoB;AAAA,UAC3BP,IACIO,EAAO,4BAA4B,IACnC;AAAA,QAAA,EAEH,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,QACX,SAASJ;AAAA,QACT,gBAAcH;AAAA,QACd,cAAW;AAAA,QAEX,UAAA;AAAA,UAAA,gBAAAS,EAAC,QAAA,EAAK,WAAWF,EAAO,yBAAyB,GAAG,eAAW,IAC7D,UAAA,gBAAAE,EAACC,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAD,EAACE,GAAA,CAAA,CAAuB,GAAI,GACrD;AAAA,UACCX,IACC,gBAAAS,EAAC,QAAA,EAAK,WAAWF,EAAO,0BAA0B,GAC/C,UAAAR,EAAA,CACH,sBAEC,QAAA,EAAK,WAAWQ,EAAO,0BAA0B,GAAG,UAAA,cAAA,CAErD;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAMN,gBAAAC,EAAC,OAAA,EAAI,WAAWD,EAAO,wBAAwB,GAC5C,UAAA;AAAA,MAAAX,EAAU,IAAI,CAAC,EAAE,OAAAgB,GAAO,OAAAC,GAAO,eAAAC,QAC9B,gBAAAL;AAAA,QAACM;AAAA,QAAA;AAAA,UAEC,OAAAH;AAAA,UACA,OAAAC;AAAA,UACA,eAAAC;AAAA,UACA,SAAS,MAAMZ,KAAA,gBAAAA,EAAkBU;AAAA,QAAK;AAAA,QAJjCA;AAAA,MAAA,CAMR;AAAA,MAGAf,KACC,gBAAAY;AAAA,QAACO;AAAA,QAAA;AAAA,UACC,cAAW;AAAA,UACX,WAAWT,EAAO,6BAA6B;AAAA,UAC/C,MAAK;AAAA,UACL,SAASN;AAAA,UACT,wBAAOS,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAD,EAACQ,KAAwB,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,IAC5D,EAAA,CAEJ;AAAA,EAAA,GACF;AAEJ;"}
@@ -0,0 +1 @@
1
+ ._reactions-row_2mtjp_2{display:flex;align-items:center;flex-wrap:wrap;gap:var(--spacing-xs);padding:var(--spacing-xxxxs) 0}._reactions-row__buttons_2mtjp_9{display:flex;align-items:center;flex-wrap:wrap;gap:var(--spacing-xxxs)}@media(hover:hover)and (pointer:fine){._reactions-row__add-reaction_2mtjp_16{opacity:0;pointer-events:none;transition:opacity var(--duration-quick) var(--ease-transition)}._reactions-row_2mtjp_2:hover ._reactions-row__add-reaction_2mtjp_16,._reactions-row_2mtjp_2:focus-within ._reactions-row__add-reaction_2mtjp_16{opacity:1;pointer-events:auto}}._reactions-row__ack_2mtjp_26{display:inline-flex;align-items:center;gap:var(--spacing-xxxs);padding:var(--spacing-xxxs) var(--spacing-xxs);border:none;border-radius:var(--radius-s);background-color:rgba(var(--color-success-rgb),.12);color:var(--color-success);cursor:pointer;outline:2px solid color-mix(in srgb,var(--color-success) 0%,transparent);outline-offset:0;transition:background-color var(--duration-quick) var(--ease-transition),outline-color var(--duration-quick) var(--ease-transition),outline-offset var(--duration-quick) var(--ease-transition)}._reactions-row__ack_2mtjp_26:hover{background-color:rgba(var(--color-success-rgb),.2)}._reactions-row__ack_2mtjp_26:focus-visible{outline-color:var(--color-success);outline-offset:3px}._reactions-row__ack--active_2mtjp_47{background-color:var(--color-success);color:var(--button-color)}._reactions-row__ack--active_2mtjp_47:hover{background-color:color-mix(in srgb,black 8%,var(--color-success))}._reactions-row__ack-icon_2mtjp_54{display:inline-flex;align-items:center}._reactions-row__ack-count_2mtjp_58,._reactions-row__ack-label_2mtjp_64{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75)}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ReactionsRow.module.css');const _={"reactions-row":"_reactions-row_2mtjp_2","reactions-row__buttons":"_reactions-row__buttons_2mtjp_9","reactions-row__add-reaction":"_reactions-row__add-reaction_2mtjp_16","reactions-row__ack":"_reactions-row__ack_2mtjp_26","reactions-row__ack--active":"_reactions-row__ack--active_2mtjp_47","reactions-row__ack-icon":"_reactions-row__ack-icon_2mtjp_54","reactions-row__ack-count":"_reactions-row__ack-count_2mtjp_58","reactions-row__ack-label":"_reactions-row__ack-label_2mtjp_64"};exports.default=_;
2
+ //# sourceMappingURL=ReactionsRow.module.scss.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsRow.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import './ReactionsRow.module.css';const _ = {
2
+ "reactions-row": "_reactions-row_2mtjp_2",
3
+ "reactions-row__buttons": "_reactions-row__buttons_2mtjp_9",
4
+ "reactions-row__add-reaction": "_reactions-row__add-reaction_2mtjp_16",
5
+ "reactions-row__ack": "_reactions-row__ack_2mtjp_26",
6
+ "reactions-row__ack--active": "_reactions-row__ack--active_2mtjp_47",
7
+ "reactions-row__ack-icon": "_reactions-row__ack-icon_2mtjp_54",
8
+ "reactions-row__ack-count": "_reactions-row__ack-count_2mtjp_58",
9
+ "reactions-row__ack-label": "_reactions-row__ack-label_2mtjp_64"
10
+ };
11
+ export {
12
+ _ as default
13
+ };
14
+ //# sourceMappingURL=ReactionsRow.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReactionsRow.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChannelHeader.cjs");exports.ChannelHeader=e.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReactionsRow.cjs");exports.ReactionsRow=e.default;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { default as ReactionsRow } from './ReactionsRow';
2
+ export type { ReactionsRowProps, ReactionItem } from './ReactionsRow';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/message-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/reactions-row/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { default as e } from "./ReactionsRow.js";
2
+ export {
3
+ e as ReactionsRow
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),__b=require("@mattermost/compass-icons/components/arrow-back-ios.js"),b=__b?.default??__b,__g=require("@mattermost/compass-icons/components/arrow-expand.js"),g=__g?.default??__g,__m=require("@mattermost/compass-icons/components/close.js"),m=__m?.default??__m,s=require("../icon/Icon.cjs"),r=require("../icon-button/IconButton.cjs"),p=require("../tag/Tag.cjs"),a=require("./RightSidebarHeader.module.scss.cjs");function N({title:h,secondaryTitle:i,tag:l,tagType:f="info",leadingIcon:d,onBack:t,onExpand:c,onClose:n,actionLabel:o,onActionClick:_,actionActive:u=!1,className:j=""}){const x=[a.default["right-sidebar-header"],j].filter(Boolean).join(" ");return e.jsxs("div",{className:x,children:[e.jsxs("div",{className:a.default["right-sidebar-header__left"],children:[e.jsxs("div",{className:a.default["right-sidebar-header__primary"],children:[t&&e.jsx(r.default,{className:a.default["right-sidebar-header__back"],size:"small","aria-label":"Back",onClick:t,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(b,{})})}),d&&e.jsx("span",{className:a.default["right-sidebar-header__leading-icon"],children:d}),e.jsx("span",{className:a.default["right-sidebar-header__title"],children:h}),l&&e.jsx("span",{className:a.default["right-sidebar-header__tag"],children:e.jsx(p.default,{label:l,type:f,size:"x-small",casing:"all-caps"})})]}),i&&e.jsx("div",{className:a.default["right-sidebar-header__secondary"],children:e.jsx("span",{className:a.default["right-sidebar-header__secondary-text"],children:i})})]}),e.jsxs("div",{className:a.default["right-sidebar-header__actions"],children:[o&&e.jsx("button",{type:"button",className:[a.default["right-sidebar-header__action"],u?a.default["right-sidebar-header__action--active"]:""].filter(Boolean).join(" "),onClick:_,"aria-pressed":u?!0:void 0,children:o}),c&&e.jsx(r.default,{size:"small","aria-label":"Expand",onClick:c,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(g,{})})}),n&&e.jsx(r.default,{size:"small","aria-label":"Close",onClick:n,icon:e.jsx(s.default,{size:"16",glyph:e.jsx(m,{})})})]})]})}exports.default=N;
2
+ //# sourceMappingURL=RightSidebarHeader.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RightSidebarHeader.cjs","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ArrowBackIosIcon from '@mattermost/compass-icons/components/arrow-back-ios';\nimport ArrowExpandIcon from '@mattermost/compass-icons/components/arrow-expand';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport type { TagType } from '@/components/tag/Tag';\nimport styles from './RightSidebarHeader.module.scss';\n\nexport interface RightSidebarHeaderProps {\n /** Primary title text. */\n title: string;\n /** Secondary title shown to the right of a vertical divider (e.g. parent channel name). */\n secondaryTitle?: string;\n /** Optional tag rendered next to the title (e.g. \"BETA\"). */\n tag?: string;\n /** Tag visual style. Default: Info. */\n tagType?: TagType;\n /** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size=\"20\" />` to align with the title text. */\n leadingIcon?: ReactNode;\n /** When set, shows a back button and calls this on click. */\n onBack?: () => void;\n /** When set, shows an expand button and calls this on click. */\n onExpand?: () => void;\n /** When set, shows a close button and calls this on click. */\n onClose?: () => void;\n /** Optional inline action label (e.g. \"Follow\"). */\n actionLabel?: string;\n /** Click handler for the action label. */\n onActionClick?: () => void;\n /** When true, the action button shows in its active state. */\n actionActive?: boolean;\n className?: string;\n}\n\nexport default function RightSidebarHeader({\n title,\n secondaryTitle,\n tag,\n tagType = 'info',\n leadingIcon,\n onBack,\n onExpand,\n onClose,\n actionLabel,\n onActionClick,\n actionActive = false,\n className = '',\n}: RightSidebarHeaderProps) {\n const rootClass = [styles['right-sidebar-header'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div className={styles['right-sidebar-header__left']}>\n <div className={styles['right-sidebar-header__primary']}>\n {onBack && (\n <IconButton\n className={styles['right-sidebar-header__back']}\n size=\"small\"\n aria-label=\"Back\"\n onClick={onBack}\n icon={<Icon size=\"16\" glyph={<ArrowBackIosIcon />} />}\n />\n )}\n {leadingIcon && (\n <span className={styles['right-sidebar-header__leading-icon']}>\n {leadingIcon}\n </span>\n )}\n <span className={styles['right-sidebar-header__title']}>{title}</span>\n {tag && (\n <span className={styles['right-sidebar-header__tag']}>\n <Tag\n label={tag}\n type={tagType}\n size=\"x-small\"\n casing=\"all-caps\"\n />\n </span>\n )}\n </div>\n {secondaryTitle && (\n <div className={styles['right-sidebar-header__secondary']}>\n <span className={styles['right-sidebar-header__secondary-text']}>\n {secondaryTitle}\n </span>\n </div>\n )}\n </div>\n\n <div className={styles['right-sidebar-header__actions']}>\n {actionLabel && (\n <button\n type=\"button\"\n className={[\n styles['right-sidebar-header__action'],\n actionActive\n ? styles['right-sidebar-header__action--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onActionClick}\n aria-pressed={actionActive ? true : undefined}\n >\n {actionLabel}\n </button>\n )}\n {onExpand && (\n <IconButton\n size=\"small\"\n aria-label=\"Expand\"\n onClick={onExpand}\n icon={<Icon size=\"16\" glyph={<ArrowExpandIcon />} />}\n />\n )}\n {onClose && (\n <IconButton\n size=\"small\"\n aria-label=\"Close\"\n onClick={onClose}\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["RightSidebarHeader","title","secondaryTitle","tag","tagType","leadingIcon","onBack","onExpand","onClose","actionLabel","onActionClick","actionActive","className","rootClass","styles","jsxs","jsx","IconButton","Icon","ArrowBackIosIcon","Tag","ArrowExpandIcon","CloseIcon"],"mappings":"+dAoCA,SAAwBA,EAAmB,CACzC,MAAAC,EACA,eAAAC,EACA,IAAAC,EACA,QAAAC,EAAU,OACV,YAAAC,EACA,OAAAC,EACA,SAAAC,EACA,QAAAC,EACA,YAAAC,EACA,cAAAC,EACA,aAAAC,EAAe,GACf,UAAAC,EAAY,EACd,EAA4B,CAC1B,MAAMC,EAAY,CAACC,UAAO,sBAAsB,EAAGF,CAAS,EACzD,OAAO,OAAO,EACd,KAAK,GAAG,EAEX,OACEG,EAAAA,KAAC,MAAA,CAAI,UAAWF,EACd,SAAA,CAAAE,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,4BAA4B,EACjD,SAAA,CAAAC,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,+BAA+B,EACnD,SAAA,CAAAR,GACCU,EAAAA,IAACC,EAAAA,QAAA,CACC,UAAWH,EAAAA,QAAO,4BAA4B,EAC9C,KAAK,QACL,aAAW,OACX,QAASR,EACT,WAAOY,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOF,EAAAA,IAACG,IAAiB,CAAA,CAAI,CAAA,CAAA,EAGtDd,GACCW,EAAAA,IAAC,OAAA,CAAK,UAAWF,EAAAA,QAAO,oCAAoC,EACzD,SAAAT,EACH,QAED,OAAA,CAAK,UAAWS,EAAAA,QAAO,6BAA6B,EAAI,SAAAb,EAAM,EAC9DE,GACCa,EAAAA,IAAC,OAAA,CAAK,UAAWF,EAAAA,QAAO,2BAA2B,EACjD,SAAAE,EAAAA,IAACI,EAAAA,QAAA,CACC,MAAOjB,EACP,KAAMC,EACN,KAAK,UACL,OAAO,UAAA,CAAA,CACT,CACF,CAAA,EAEJ,EACCF,GACCc,EAAAA,IAAC,MAAA,CAAI,UAAWF,EAAAA,QAAO,iCAAiC,EACtD,SAAAE,EAAAA,IAAC,OAAA,CAAK,UAAWF,EAAAA,QAAO,sCAAsC,EAC3D,WACH,CAAA,CACF,CAAA,EAEJ,EAEAC,EAAAA,KAAC,MAAA,CAAI,UAAWD,EAAAA,QAAO,+BAA+B,EACnD,SAAA,CAAAL,GACCO,EAAAA,IAAC,SAAA,CACC,KAAK,SACL,UAAW,CACTF,EAAAA,QAAO,8BAA8B,EACrCH,EACIG,EAAAA,QAAO,sCAAsC,EAC7C,EAAA,EAEH,OAAO,OAAO,EACd,KAAK,GAAG,EACX,QAASJ,EACT,eAAcC,EAAe,GAAO,OAEnC,SAAAF,CAAA,CAAA,EAGJF,GACCS,EAAAA,IAACC,EAAAA,QAAA,CACC,KAAK,QACL,aAAW,SACX,QAASV,EACT,WAAOW,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOF,EAAAA,IAACK,IAAgB,CAAA,CAAI,CAAA,CAAA,EAGrDb,GACCQ,EAAAA,IAACC,EAAAA,QAAA,CACC,KAAK,QACL,aAAW,QACX,QAAST,EACT,WAAOU,EAAAA,QAAA,CAAK,KAAK,KAAK,MAAOF,EAAAA,IAACM,IAAU,CAAA,CAAI,CAAA,CAAA,CAC9C,CAAA,CAEJ,CAAA,EACF,CAEJ"}
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import { TagType } from '../../tag/Tag';
2
+ import { TagType } from '../tag/Tag';
3
3
  export interface RightSidebarHeaderProps {
4
4
  /** Primary title text. */
5
5
  title: string;
@@ -9,7 +9,7 @@ export interface RightSidebarHeaderProps {
9
9
  tag?: string;
10
10
  /** Tag visual style. Default: Info. */
11
11
  tagType?: TagType;
12
- /** Optional leading element shown before the title — typically a UserAvatar or Icon. */
12
+ /** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size="20" />` to align with the title text. */
13
13
  leadingIcon?: ReactNode;
14
14
  /** When set, shows a back button and calls this on click. */
15
15
  onBack?: () => void;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RightSidebarHeader.d.ts","sourceRoot":"","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,WAAW,uBAAuB;IACtC,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,2FAA2F;IAC3F,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6DAA6D;IAC7D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,uCAAuC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+LAA+L;IAC/L,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,KAAK,EACL,cAAc,EACd,GAAG,EACH,OAAgB,EAChB,WAAW,EACX,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,aAAa,EACb,YAAoB,EACpB,SAAc,GACf,EAAE,uBAAuB,2CAiFzB"}
@@ -2,9 +2,9 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import __N from "@mattermost/compass-icons/components/arrow-back-ios.js";const N=__N&&__N.default?__N.default:__N;
3
3
  import __y from "@mattermost/compass-icons/components/arrow-expand.js";const y=__y&&__y.default?__y.default:__y;
4
4
  import __u from "@mattermost/compass-icons/components/close.js";const u=__u&&__u.default?__u.default:__u;
5
- import i from "../../icon/Icon.js";
6
- import s from "../../icon-button/IconButton.js";
7
- import z from "../../tag/Tag.js";
5
+ import i from "../icon/Icon.js";
6
+ import s from "../icon-button/IconButton.js";
7
+ import z from "../tag/Tag.js";
8
8
  import a from "./RightSidebarHeader.module.scss.js";
9
9
  function A({
10
10
  title: p,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RightSidebarHeader.js","sources":["../../../src/components/right-sidebar-header/RightSidebarHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport ArrowBackIosIcon from '@mattermost/compass-icons/components/arrow-back-ios';\nimport ArrowExpandIcon from '@mattermost/compass-icons/components/arrow-expand';\nimport CloseIcon from '@mattermost/compass-icons/components/close';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport type { TagType } from '@/components/tag/Tag';\nimport styles from './RightSidebarHeader.module.scss';\n\nexport interface RightSidebarHeaderProps {\n /** Primary title text. */\n title: string;\n /** Secondary title shown to the right of a vertical divider (e.g. parent channel name). */\n secondaryTitle?: string;\n /** Optional tag rendered next to the title (e.g. \"BETA\"). */\n tag?: string;\n /** Tag visual style. Default: Info. */\n tagType?: TagType;\n /** Optional leading element shown before the title — typically a `UserAvatar` or an icon. When passing an icon, use `<Icon glyph={<SomeIcon />} size=\"20\" />` to align with the title text. */\n leadingIcon?: ReactNode;\n /** When set, shows a back button and calls this on click. */\n onBack?: () => void;\n /** When set, shows an expand button and calls this on click. */\n onExpand?: () => void;\n /** When set, shows a close button and calls this on click. */\n onClose?: () => void;\n /** Optional inline action label (e.g. \"Follow\"). */\n actionLabel?: string;\n /** Click handler for the action label. */\n onActionClick?: () => void;\n /** When true, the action button shows in its active state. */\n actionActive?: boolean;\n className?: string;\n}\n\nexport default function RightSidebarHeader({\n title,\n secondaryTitle,\n tag,\n tagType = 'info',\n leadingIcon,\n onBack,\n onExpand,\n onClose,\n actionLabel,\n onActionClick,\n actionActive = false,\n className = '',\n}: RightSidebarHeaderProps) {\n const rootClass = [styles['right-sidebar-header'], className]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div className={styles['right-sidebar-header__left']}>\n <div className={styles['right-sidebar-header__primary']}>\n {onBack && (\n <IconButton\n className={styles['right-sidebar-header__back']}\n size=\"small\"\n aria-label=\"Back\"\n onClick={onBack}\n icon={<Icon size=\"16\" glyph={<ArrowBackIosIcon />} />}\n />\n )}\n {leadingIcon && (\n <span className={styles['right-sidebar-header__leading-icon']}>\n {leadingIcon}\n </span>\n )}\n <span className={styles['right-sidebar-header__title']}>{title}</span>\n {tag && (\n <span className={styles['right-sidebar-header__tag']}>\n <Tag\n label={tag}\n type={tagType}\n size=\"x-small\"\n casing=\"all-caps\"\n />\n </span>\n )}\n </div>\n {secondaryTitle && (\n <div className={styles['right-sidebar-header__secondary']}>\n <span className={styles['right-sidebar-header__secondary-text']}>\n {secondaryTitle}\n </span>\n </div>\n )}\n </div>\n\n <div className={styles['right-sidebar-header__actions']}>\n {actionLabel && (\n <button\n type=\"button\"\n className={[\n styles['right-sidebar-header__action'],\n actionActive\n ? styles['right-sidebar-header__action--active']\n : '',\n ]\n .filter(Boolean)\n .join(' ')}\n onClick={onActionClick}\n aria-pressed={actionActive ? true : undefined}\n >\n {actionLabel}\n </button>\n )}\n {onExpand && (\n <IconButton\n size=\"small\"\n aria-label=\"Expand\"\n onClick={onExpand}\n icon={<Icon size=\"16\" glyph={<ArrowExpandIcon />} />}\n />\n )}\n {onClose && (\n <IconButton\n size=\"small\"\n aria-label=\"Close\"\n onClick={onClose}\n icon={<Icon size=\"16\" glyph={<CloseIcon />} />}\n />\n )}\n </div>\n </div>\n );\n}\n"],"names":["RightSidebarHeader","title","secondaryTitle","tag","tagType","leadingIcon","onBack","onExpand","onClose","actionLabel","onActionClick","actionActive","className","rootClass","styles","jsxs","jsx","IconButton","Icon","ArrowBackIosIcon","Tag","ArrowExpandIcon","CloseIcon"],"mappings":";;;;;;;;AAoCA,SAAwBA,EAAmB;AAAA,EACzC,OAAAC;AAAA,EACA,gBAAAC;AAAA,EACA,KAAAC;AAAA,EACA,SAAAC,IAAU;AAAA,EACV,aAAAC;AAAA,EACA,QAAAC;AAAA,EACA,UAAAC;AAAA,EACA,SAAAC;AAAA,EACA,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,WAAAC,IAAY;AACd,GAA4B;AAC1B,QAAMC,IAAY,CAACC,EAAO,sBAAsB,GAAGF,CAAS,EACzD,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAG,EAAC,OAAA,EAAI,WAAWF,GACd,UAAA;AAAA,IAAA,gBAAAE,EAAC,OAAA,EAAI,WAAWD,EAAO,4BAA4B,GACjD,UAAA;AAAA,MAAA,gBAAAC,EAAC,OAAA,EAAI,WAAWD,EAAO,+BAA+B,GACnD,UAAA;AAAA,QAAAR,KACC,gBAAAU;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,WAAWH,EAAO,4BAA4B;AAAA,YAC9C,MAAK;AAAA,YACL,cAAW;AAAA,YACX,SAASR;AAAA,YACT,wBAAOY,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAF,EAACG,KAAiB,EAAA,CAAI;AAAA,UAAA;AAAA,QAAA;AAAA,QAGtDd,KACC,gBAAAW,EAAC,QAAA,EAAK,WAAWF,EAAO,oCAAoC,GACzD,UAAAT,GACH;AAAA,0BAED,QAAA,EAAK,WAAWS,EAAO,6BAA6B,GAAI,UAAAb,GAAM;AAAA,QAC9DE,KACC,gBAAAa,EAAC,QAAA,EAAK,WAAWF,EAAO,2BAA2B,GACjD,UAAA,gBAAAE;AAAA,UAACI;AAAA,UAAA;AAAA,YACC,OAAOjB;AAAA,YACP,MAAMC;AAAA,YACN,MAAK;AAAA,YACL,QAAO;AAAA,UAAA;AAAA,QAAA,EACT,CACF;AAAA,MAAA,GAEJ;AAAA,MACCF,KACC,gBAAAc,EAAC,OAAA,EAAI,WAAWF,EAAO,iCAAiC,GACtD,UAAA,gBAAAE,EAAC,QAAA,EAAK,WAAWF,EAAO,sCAAsC,GAC3D,aACH,EAAA,CACF;AAAA,IAAA,GAEJ;AAAA,IAEA,gBAAAC,EAAC,OAAA,EAAI,WAAWD,EAAO,+BAA+B,GACnD,UAAA;AAAA,MAAAL,KACC,gBAAAO;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,WAAW;AAAA,YACTF,EAAO,8BAA8B;AAAA,YACrCH,IACIG,EAAO,sCAAsC,IAC7C;AAAA,UAAA,EAEH,OAAO,OAAO,EACd,KAAK,GAAG;AAAA,UACX,SAASJ;AAAA,UACT,gBAAcC,IAAe,KAAO;AAAA,UAEnC,UAAAF;AAAA,QAAA;AAAA,MAAA;AAAA,MAGJF,KACC,gBAAAS;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAASV;AAAA,UACT,wBAAOW,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAF,EAACK,KAAgB,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,MAGrDb,KACC,gBAAAQ;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,SAAST;AAAA,UACT,wBAAOU,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAF,EAACM,KAAU,EAAA,CAAI;AAAA,QAAA;AAAA,MAAA;AAAA,IAC9C,EAAA,CAEJ;AAAA,EAAA,GACF;AAEJ;"}
@@ -0,0 +1 @@
1
+ ._right-sidebar-header_11chd_2{display:flex;align-items:center;gap:var(--spacing-l);height:56px;padding:var(--spacing-m);background-color:var(--center-channel-bg);border-bottom:1px solid rgba(var(--center-channel-color-rgb),.12);box-sizing:border-box}._right-sidebar-header__left_11chd_12{display:flex;flex:1 1 0;min-width:0;align-items:center}._right-sidebar-header__primary_11chd_18{display:flex;align-items:center;gap:var(--spacing-xxs);padding:0 var(--spacing-xs);min-width:0}._right-sidebar-header__back_11chd_25{margin-left:-12px}._right-sidebar-header__leading-icon_11chd_28{display:inline-flex;align-items:center;flex-shrink:0}._right-sidebar-header__tag_11chd_33{display:inline-flex;align-items:center}._right-sidebar-header__title_11chd_37{font-family:var(--font-family-heading);font-size:var(--font-size-200);font-weight:var(--font-weight-semibold);line-height:var(--line-height-200);color:var(--center-channel-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._right-sidebar-header__secondary_11chd_47{display:flex;flex:1 1 0;min-width:0;align-items:center;padding:0 var(--spacing-xs);border-left:1px solid rgba(var(--center-channel-color-rgb),.16)}._right-sidebar-header__secondary-text_11chd_55{font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-regular);line-height:var(--line-height-200);color:rgba(var(--center-channel-color-rgb),.56);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._right-sidebar-header__actions_11chd_65{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0}._right-sidebar-header__action_11chd_65{display:inline-flex;align-items:center;justify-content:center;height:24px;padding:var(--spacing-xxxxs) var(--spacing-s);border:none;border-radius:var(--radius-s);background-color:transparent;font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-semibold);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.64);cursor:pointer;transition:background-color var(--duration-quick) var(--ease-transition),color var(--duration-quick) var(--ease-transition)}._right-sidebar-header__action_11chd_65:hover{background-color:rgba(var(--center-channel-color-rgb),.08);color:rgba(var(--center-channel-color-rgb),.75)}._right-sidebar-header__action_11chd_65:active{background-color:rgba(var(--center-channel-color-rgb),.12)}._right-sidebar-header__action_11chd_65:focus-visible{outline:none;box-shadow:0 0 0 2px var(--button-bg)}._right-sidebar-header__action--active_11chd_99{background-color:rgba(var(--center-channel-color-rgb),.08);color:var(--center-channel-color)}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./RightSidebarHeader.module.css');const e={"right-sidebar-header":"_right-sidebar-header_11chd_2","right-sidebar-header__left":"_right-sidebar-header__left_11chd_12","right-sidebar-header__primary":"_right-sidebar-header__primary_11chd_18","right-sidebar-header__back":"_right-sidebar-header__back_11chd_25","right-sidebar-header__leading-icon":"_right-sidebar-header__leading-icon_11chd_28","right-sidebar-header__tag":"_right-sidebar-header__tag_11chd_33","right-sidebar-header__title":"_right-sidebar-header__title_11chd_37","right-sidebar-header__secondary":"_right-sidebar-header__secondary_11chd_47","right-sidebar-header__secondary-text":"_right-sidebar-header__secondary-text_11chd_55","right-sidebar-header__actions":"_right-sidebar-header__actions_11chd_65","right-sidebar-header__action":"_right-sidebar-header__action_11chd_65","right-sidebar-header__action--active":"_right-sidebar-header__action--active_11chd_99"};exports.default=e;
2
+ //# sourceMappingURL=RightSidebarHeader.module.scss.cjs.map
@@ -1,16 +1,16 @@
1
1
  import './RightSidebarHeader.module.css';const e = {
2
- "right-sidebar-header": "_right-sidebar-header_7aitf_2",
3
- "right-sidebar-header__left": "_right-sidebar-header__left_7aitf_12",
4
- "right-sidebar-header__primary": "_right-sidebar-header__primary_7aitf_18",
5
- "right-sidebar-header__back": "_right-sidebar-header__back_7aitf_25",
6
- "right-sidebar-header__leading-icon": "_right-sidebar-header__leading-icon_7aitf_28",
7
- "right-sidebar-header__tag": "_right-sidebar-header__tag_7aitf_33",
8
- "right-sidebar-header__title": "_right-sidebar-header__title_7aitf_37",
9
- "right-sidebar-header__secondary": "_right-sidebar-header__secondary_7aitf_45",
10
- "right-sidebar-header__secondary-text": "_right-sidebar-header__secondary-text_7aitf_53",
11
- "right-sidebar-header__actions": "_right-sidebar-header__actions_7aitf_63",
12
- "right-sidebar-header__action": "_right-sidebar-header__action_7aitf_63",
13
- "right-sidebar-header__action--active": "_right-sidebar-header__action--active_7aitf_97"
2
+ "right-sidebar-header": "_right-sidebar-header_11chd_2",
3
+ "right-sidebar-header__left": "_right-sidebar-header__left_11chd_12",
4
+ "right-sidebar-header__primary": "_right-sidebar-header__primary_11chd_18",
5
+ "right-sidebar-header__back": "_right-sidebar-header__back_11chd_25",
6
+ "right-sidebar-header__leading-icon": "_right-sidebar-header__leading-icon_11chd_28",
7
+ "right-sidebar-header__tag": "_right-sidebar-header__tag_11chd_33",
8
+ "right-sidebar-header__title": "_right-sidebar-header__title_11chd_37",
9
+ "right-sidebar-header__secondary": "_right-sidebar-header__secondary_11chd_47",
10
+ "right-sidebar-header__secondary-text": "_right-sidebar-header__secondary-text_11chd_55",
11
+ "right-sidebar-header__actions": "_right-sidebar-header__actions_11chd_65",
12
+ "right-sidebar-header__action": "_right-sidebar-header__action_11chd_65",
13
+ "right-sidebar-header__action--active": "_right-sidebar-header__action--active_11chd_99"
14
14
  };
15
15
  export {
16
16
  e as default
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RightSidebarHeader.cjs");exports.RightSidebarHeader=e.default;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { default as RightSidebarHeader } from './RightSidebarHeader';
2
+ export type { RightSidebarHeaderProps } from './RightSidebarHeader';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/right-sidebar-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { default as r } from "./RightSidebarHeader.js";
2
+ export {
3
+ r as RightSidebarHeader
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}