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

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 (755) hide show
  1. package/README.md +1 -0
  2. package/dist/components/icon/Icon.js +6 -6
  3. package/dist/components/illustration/Illustration.cjs.map +1 -1
  4. package/dist/components/illustration/Illustration.d.ts +5 -5
  5. package/dist/components/illustration/Illustration.d.ts.map +1 -1
  6. package/dist/components/illustration/Illustration.js.map +1 -1
  7. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs +2 -0
  8. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs.map +1 -0
  9. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.d.ts +1 -1
  10. package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts.map +1 -0
  11. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.js +3 -3
  12. package/dist/components/right-sidebar-header/RightSidebarHeader.js.map +1 -0
  13. package/dist/components/right-sidebar-header/RightSidebarHeader.module.css +1 -0
  14. package/dist/components/right-sidebar-header/RightSidebarHeader.module.scss.cjs +2 -0
  15. package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js +12 -12
  16. package/dist/components/{app-bar-item → right-sidebar-header}/index.cjs +1 -1
  17. package/dist/components/right-sidebar-header/index.d.ts +3 -0
  18. package/dist/components/right-sidebar-header/index.d.ts.map +1 -0
  19. package/dist/components/right-sidebar-header/index.js +5 -0
  20. package/dist/components/toast/Toast.cjs +1 -1
  21. package/dist/components/toast/Toast.cjs.map +1 -1
  22. package/dist/components/toast/Toast.d.ts.map +1 -1
  23. package/dist/components/toast/Toast.js +31 -31
  24. package/dist/components/toast/Toast.js.map +1 -1
  25. package/dist/components/toast/Toast.module.css +1 -1
  26. package/dist/components/toast/Toast.module.scss.cjs +1 -1
  27. package/dist/components/toast/Toast.module.scss.js +14 -13
  28. package/dist/components/toast/Toast.module.scss.js.map +1 -1
  29. package/dist/illustrations/ai-copilot-intro.cjs +2 -0
  30. package/dist/illustrations/ai-copilot-intro.cjs.map +1 -0
  31. package/dist/illustrations/ai-copilot-intro.d.ts +4 -0
  32. package/dist/illustrations/ai-copilot-intro.js +5 -0
  33. package/dist/illustrations/ai-copilot-intro.js.map +1 -0
  34. package/dist/illustrations/ai-copilot-intro.svg.cjs +2 -0
  35. package/dist/illustrations/ai-copilot-intro.svg.cjs.map +1 -0
  36. package/dist/illustrations/ai-copilot-intro.svg.js +6 -0
  37. package/dist/illustrations/ai-copilot-intro.svg.js.map +1 -0
  38. package/dist/illustrations/alert-on-sidebar-bg.cjs +2 -0
  39. package/dist/illustrations/alert-on-sidebar-bg.cjs.map +1 -0
  40. package/dist/illustrations/alert-on-sidebar-bg.d.ts +4 -0
  41. package/dist/illustrations/alert-on-sidebar-bg.js +5 -0
  42. package/dist/illustrations/alert-on-sidebar-bg.js.map +1 -0
  43. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs +2 -0
  44. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs.map +1 -0
  45. package/dist/illustrations/alert-on-sidebar-bg.svg.js +6 -0
  46. package/dist/illustrations/alert-on-sidebar-bg.svg.js.map +1 -0
  47. package/dist/illustrations/alert.cjs +2 -0
  48. package/dist/illustrations/alert.cjs.map +1 -0
  49. package/dist/illustrations/alert.d.ts +4 -0
  50. package/dist/illustrations/alert.js +5 -0
  51. package/dist/illustrations/alert.js.map +1 -0
  52. package/dist/illustrations/alert.svg.cjs +2 -0
  53. package/dist/illustrations/alert.svg.cjs.map +1 -0
  54. package/dist/illustrations/alert.svg.js +6 -0
  55. package/dist/illustrations/alert.svg.js.map +1 -0
  56. package/dist/illustrations/archived-channel.cjs +2 -0
  57. package/dist/illustrations/archived-channel.cjs.map +1 -0
  58. package/dist/illustrations/archived-channel.d.ts +4 -0
  59. package/dist/illustrations/archived-channel.js +5 -0
  60. package/dist/illustrations/archived-channel.js.map +1 -0
  61. package/dist/illustrations/archived-channel.svg.cjs +2 -0
  62. package/dist/illustrations/archived-channel.svg.cjs.map +1 -0
  63. package/dist/illustrations/archived-channel.svg.js +6 -0
  64. package/dist/illustrations/archived-channel.svg.js.map +1 -0
  65. package/dist/illustrations/auto-translation.cjs +2 -0
  66. package/dist/illustrations/auto-translation.cjs.map +1 -0
  67. package/dist/illustrations/auto-translation.d.ts +4 -0
  68. package/dist/illustrations/auto-translation.js +5 -0
  69. package/dist/illustrations/auto-translation.js.map +1 -0
  70. package/dist/illustrations/auto-translation.svg.cjs +2 -0
  71. package/dist/illustrations/auto-translation.svg.cjs.map +1 -0
  72. package/dist/illustrations/auto-translation.svg.js +6 -0
  73. package/dist/illustrations/auto-translation.svg.js.map +1 -0
  74. package/dist/illustrations/banners.cjs +2 -0
  75. package/dist/illustrations/banners.cjs.map +1 -0
  76. package/dist/illustrations/banners.d.ts +4 -0
  77. package/dist/illustrations/banners.js +5 -0
  78. package/dist/illustrations/banners.js.map +1 -0
  79. package/dist/illustrations/banners.svg.cjs +2 -0
  80. package/dist/illustrations/banners.svg.cjs.map +1 -0
  81. package/dist/illustrations/banners.svg.js +6 -0
  82. package/dist/illustrations/banners.svg.js.map +1 -0
  83. package/dist/illustrations/billing-history.cjs +2 -0
  84. package/dist/illustrations/billing-history.cjs.map +1 -0
  85. package/dist/illustrations/billing-history.d.ts +4 -0
  86. package/dist/illustrations/billing-history.js +5 -0
  87. package/dist/illustrations/billing-history.js.map +1 -0
  88. package/dist/illustrations/billing-history.svg.cjs +2 -0
  89. package/dist/illustrations/billing-history.svg.cjs.map +1 -0
  90. package/dist/illustrations/billing-history.svg.js +6 -0
  91. package/dist/illustrations/billing-history.svg.js.map +1 -0
  92. package/dist/illustrations/blank-playbook.cjs +2 -0
  93. package/dist/illustrations/blank-playbook.cjs.map +1 -0
  94. package/dist/illustrations/blank-playbook.d.ts +4 -0
  95. package/dist/illustrations/blank-playbook.js +5 -0
  96. package/dist/illustrations/blank-playbook.js.map +1 -0
  97. package/dist/illustrations/blank-playbook.svg.cjs +2 -0
  98. package/dist/illustrations/blank-playbook.svg.cjs.map +1 -0
  99. package/dist/illustrations/blank-playbook.svg.js +6 -0
  100. package/dist/illustrations/blank-playbook.svg.js.map +1 -0
  101. package/dist/illustrations/bot-accounts.cjs +2 -0
  102. package/dist/illustrations/bot-accounts.cjs.map +1 -0
  103. package/dist/illustrations/bot-accounts.d.ts +4 -0
  104. package/dist/illustrations/bot-accounts.js +5 -0
  105. package/dist/illustrations/bot-accounts.js.map +1 -0
  106. package/dist/illustrations/bot-accounts.svg.cjs +2 -0
  107. package/dist/illustrations/bot-accounts.svg.cjs.map +1 -0
  108. package/dist/illustrations/bot-accounts.svg.js +6 -0
  109. package/dist/illustrations/bot-accounts.svg.js.map +1 -0
  110. package/dist/illustrations/browser-or-desktop.cjs +2 -0
  111. package/dist/illustrations/browser-or-desktop.cjs.map +1 -0
  112. package/dist/illustrations/browser-or-desktop.d.ts +4 -0
  113. package/dist/illustrations/browser-or-desktop.js +5 -0
  114. package/dist/illustrations/browser-or-desktop.js.map +1 -0
  115. package/dist/illustrations/browser-or-desktop.svg.cjs +2 -0
  116. package/dist/illustrations/browser-or-desktop.svg.cjs.map +1 -0
  117. package/dist/illustrations/browser-or-desktop.svg.js +6 -0
  118. package/dist/illustrations/browser-or-desktop.svg.js.map +1 -0
  119. package/dist/illustrations/bug-bash.cjs +2 -0
  120. package/dist/illustrations/bug-bash.cjs.map +1 -0
  121. package/dist/illustrations/bug-bash.d.ts +4 -0
  122. package/dist/illustrations/bug-bash.js +5 -0
  123. package/dist/illustrations/bug-bash.js.map +1 -0
  124. package/dist/illustrations/bug-bash.svg.cjs +2 -0
  125. package/dist/illustrations/bug-bash.svg.cjs.map +1 -0
  126. package/dist/illustrations/bug-bash.svg.js +6 -0
  127. package/dist/illustrations/bug-bash.svg.js.map +1 -0
  128. package/dist/illustrations/calls.cjs +2 -0
  129. package/dist/illustrations/calls.cjs.map +1 -0
  130. package/dist/illustrations/calls.d.ts +4 -0
  131. package/dist/illustrations/calls.js +5 -0
  132. package/dist/illustrations/calls.js.map +1 -0
  133. package/dist/illustrations/calls.svg.cjs +2 -0
  134. package/dist/illustrations/calls.svg.cjs.map +1 -0
  135. package/dist/illustrations/calls.svg.js +6 -0
  136. package/dist/illustrations/calls.svg.js.map +1 -0
  137. package/dist/illustrations/collaborate.cjs +2 -0
  138. package/dist/illustrations/collaborate.cjs.map +1 -0
  139. package/dist/illustrations/collaborate.d.ts +4 -0
  140. package/dist/illustrations/collaborate.js +5 -0
  141. package/dist/illustrations/collaborate.js.map +1 -0
  142. package/dist/illustrations/collaborate.svg.cjs +2 -0
  143. package/dist/illustrations/collaborate.svg.cjs.map +1 -0
  144. package/dist/illustrations/collaborate.svg.js +6 -0
  145. package/dist/illustrations/collaborate.svg.js.map +1 -0
  146. package/dist/illustrations/compliance-exports.cjs +2 -0
  147. package/dist/illustrations/compliance-exports.cjs.map +1 -0
  148. package/dist/illustrations/compliance-exports.d.ts +4 -0
  149. package/dist/illustrations/compliance-exports.js +5 -0
  150. package/dist/illustrations/compliance-exports.js.map +1 -0
  151. package/dist/illustrations/compliance-exports.svg.cjs +2 -0
  152. package/dist/illustrations/compliance-exports.svg.cjs.map +1 -0
  153. package/dist/illustrations/compliance-exports.svg.js +6 -0
  154. package/dist/illustrations/compliance-exports.svg.js.map +1 -0
  155. package/dist/illustrations/copilot-bot.cjs +2 -0
  156. package/dist/illustrations/copilot-bot.cjs.map +1 -0
  157. package/dist/illustrations/copilot-bot.d.ts +4 -0
  158. package/dist/illustrations/copilot-bot.js +5 -0
  159. package/dist/illustrations/copilot-bot.js.map +1 -0
  160. package/dist/illustrations/copilot-bot.svg.cjs +2 -0
  161. package/dist/illustrations/copilot-bot.svg.cjs.map +1 -0
  162. package/dist/illustrations/copilot-bot.svg.js +6 -0
  163. package/dist/illustrations/copilot-bot.svg.js.map +1 -0
  164. package/dist/illustrations/custom-branding.cjs +2 -0
  165. package/dist/illustrations/custom-branding.cjs.map +1 -0
  166. package/dist/illustrations/custom-branding.d.ts +4 -0
  167. package/dist/illustrations/custom-branding.js +5 -0
  168. package/dist/illustrations/custom-branding.js.map +1 -0
  169. package/dist/illustrations/custom-branding.svg.cjs +2 -0
  170. package/dist/illustrations/custom-branding.svg.cjs.map +1 -0
  171. package/dist/illustrations/custom-branding.svg.js +6 -0
  172. package/dist/illustrations/custom-branding.svg.js.map +1 -0
  173. package/dist/illustrations/custom-terms.cjs +2 -0
  174. package/dist/illustrations/custom-terms.cjs.map +1 -0
  175. package/dist/illustrations/custom-terms.d.ts +4 -0
  176. package/dist/illustrations/custom-terms.js +5 -0
  177. package/dist/illustrations/custom-terms.js.map +1 -0
  178. package/dist/illustrations/custom-terms.svg.cjs +2 -0
  179. package/dist/illustrations/custom-terms.svg.cjs.map +1 -0
  180. package/dist/illustrations/custom-terms.svg.js +6 -0
  181. package/dist/illustrations/custom-terms.svg.js.map +1 -0
  182. package/dist/illustrations/customer-onboarding.cjs +2 -0
  183. package/dist/illustrations/customer-onboarding.cjs.map +1 -0
  184. package/dist/illustrations/customer-onboarding.d.ts +4 -0
  185. package/dist/illustrations/customer-onboarding.js +5 -0
  186. package/dist/illustrations/customer-onboarding.js.map +1 -0
  187. package/dist/illustrations/customer-onboarding.svg.cjs +2 -0
  188. package/dist/illustrations/customer-onboarding.svg.cjs.map +1 -0
  189. package/dist/illustrations/customer-onboarding.svg.js +6 -0
  190. package/dist/illustrations/customer-onboarding.svg.js.map +1 -0
  191. package/dist/illustrations/data-retention.cjs +2 -0
  192. package/dist/illustrations/data-retention.cjs.map +1 -0
  193. package/dist/illustrations/data-retention.d.ts +4 -0
  194. package/dist/illustrations/data-retention.js +5 -0
  195. package/dist/illustrations/data-retention.js.map +1 -0
  196. package/dist/illustrations/data-retention.svg.cjs +2 -0
  197. package/dist/illustrations/data-retention.svg.cjs.map +1 -0
  198. package/dist/illustrations/data-retention.svg.js +6 -0
  199. package/dist/illustrations/data-retention.svg.js.map +1 -0
  200. package/dist/illustrations/drafts-empty.cjs +2 -0
  201. package/dist/illustrations/drafts-empty.cjs.map +1 -0
  202. package/dist/illustrations/drafts-empty.d.ts +4 -0
  203. package/dist/illustrations/drafts-empty.js +5 -0
  204. package/dist/illustrations/drafts-empty.js.map +1 -0
  205. package/dist/illustrations/drafts-empty.svg.cjs +2 -0
  206. package/dist/illustrations/drafts-empty.svg.cjs.map +1 -0
  207. package/dist/illustrations/drafts-empty.svg.js +6 -0
  208. package/dist/illustrations/drafts-empty.svg.js.map +1 -0
  209. package/dist/illustrations/employee-onboarding.cjs +2 -0
  210. package/dist/illustrations/employee-onboarding.cjs.map +1 -0
  211. package/dist/illustrations/employee-onboarding.d.ts +4 -0
  212. package/dist/illustrations/employee-onboarding.js +5 -0
  213. package/dist/illustrations/employee-onboarding.js.map +1 -0
  214. package/dist/illustrations/employee-onboarding.svg.cjs +2 -0
  215. package/dist/illustrations/employee-onboarding.svg.cjs.map +1 -0
  216. package/dist/illustrations/employee-onboarding.svg.js +6 -0
  217. package/dist/illustrations/employee-onboarding.svg.js.map +1 -0
  218. package/dist/illustrations/feature-lifecycle.cjs +2 -0
  219. package/dist/illustrations/feature-lifecycle.cjs.map +1 -0
  220. package/dist/illustrations/feature-lifecycle.d.ts +4 -0
  221. package/dist/illustrations/feature-lifecycle.js +5 -0
  222. package/dist/illustrations/feature-lifecycle.js.map +1 -0
  223. package/dist/illustrations/feature-lifecycle.svg.cjs +2 -0
  224. package/dist/illustrations/feature-lifecycle.svg.cjs.map +1 -0
  225. package/dist/illustrations/feature-lifecycle.svg.js +6 -0
  226. package/dist/illustrations/feature-lifecycle.svg.js.map +1 -0
  227. package/dist/illustrations/file-search-empty.cjs +2 -0
  228. package/dist/illustrations/file-search-empty.cjs.map +1 -0
  229. package/dist/illustrations/file-search-empty.d.ts +4 -0
  230. package/dist/illustrations/file-search-empty.js +5 -0
  231. package/dist/illustrations/file-search-empty.js.map +1 -0
  232. package/dist/illustrations/file-search-empty.svg.cjs +2 -0
  233. package/dist/illustrations/file-search-empty.svg.cjs.map +1 -0
  234. package/dist/illustrations/file-search-empty.svg.js +6 -0
  235. package/dist/illustrations/file-search-empty.svg.js.map +1 -0
  236. package/dist/illustrations/globe.cjs +2 -0
  237. package/dist/illustrations/globe.cjs.map +1 -0
  238. package/dist/illustrations/globe.d.ts +4 -0
  239. package/dist/illustrations/globe.js +5 -0
  240. package/dist/illustrations/globe.js.map +1 -0
  241. package/dist/illustrations/globe.svg.cjs +2 -0
  242. package/dist/illustrations/globe.svg.cjs.map +1 -0
  243. package/dist/illustrations/globe.svg.js +6 -0
  244. package/dist/illustrations/globe.svg.js.map +1 -0
  245. package/dist/illustrations/group.cjs +2 -0
  246. package/dist/illustrations/group.cjs.map +1 -0
  247. package/dist/illustrations/group.d.ts +4 -0
  248. package/dist/illustrations/group.js +5 -0
  249. package/dist/illustrations/group.js.map +1 -0
  250. package/dist/illustrations/group.svg.cjs +2 -0
  251. package/dist/illustrations/group.svg.cjs.map +1 -0
  252. package/dist/illustrations/group.svg.js +12 -0
  253. package/dist/illustrations/group.svg.js.map +1 -0
  254. package/dist/illustrations/groups.cjs +2 -0
  255. package/dist/illustrations/groups.cjs.map +1 -0
  256. package/dist/illustrations/groups.d.ts +4 -0
  257. package/dist/illustrations/groups.js +5 -0
  258. package/dist/illustrations/groups.js.map +1 -0
  259. package/dist/illustrations/groups.svg.cjs +2 -0
  260. package/dist/illustrations/groups.svg.cjs.map +1 -0
  261. package/dist/illustrations/groups.svg.js +12 -0
  262. package/dist/illustrations/groups.svg.js.map +1 -0
  263. package/dist/illustrations/incident-resolution.cjs +2 -0
  264. package/dist/illustrations/incident-resolution.cjs.map +1 -0
  265. package/dist/illustrations/incident-resolution.d.ts +4 -0
  266. package/dist/illustrations/incident-resolution.js +5 -0
  267. package/dist/illustrations/incident-resolution.js.map +1 -0
  268. package/dist/illustrations/incident-resolution.svg.cjs +2 -0
  269. package/dist/illustrations/incident-resolution.svg.cjs.map +1 -0
  270. package/dist/illustrations/incident-resolution.svg.js +6 -0
  271. package/dist/illustrations/incident-resolution.svg.js.map +1 -0
  272. package/dist/illustrations/incoming-webhook.cjs +2 -0
  273. package/dist/illustrations/incoming-webhook.cjs.map +1 -0
  274. package/dist/illustrations/incoming-webhook.d.ts +4 -0
  275. package/dist/illustrations/incoming-webhook.js +5 -0
  276. package/dist/illustrations/incoming-webhook.js.map +1 -0
  277. package/dist/illustrations/incoming-webhook.svg.cjs +2 -0
  278. package/dist/illustrations/incoming-webhook.svg.cjs.map +1 -0
  279. package/dist/illustrations/incoming-webhook.svg.js +6 -0
  280. package/dist/illustrations/incoming-webhook.svg.js.map +1 -0
  281. package/dist/illustrations/intune-mam.cjs +2 -0
  282. package/dist/illustrations/intune-mam.cjs.map +1 -0
  283. package/dist/illustrations/intune-mam.d.ts +4 -0
  284. package/dist/illustrations/intune-mam.js +5 -0
  285. package/dist/illustrations/intune-mam.js.map +1 -0
  286. package/dist/illustrations/intune-mam.svg.cjs +2 -0
  287. package/dist/illustrations/intune-mam.svg.cjs.map +1 -0
  288. package/dist/illustrations/intune-mam.svg.js +8 -0
  289. package/dist/illustrations/intune-mam.svg.js.map +1 -0
  290. package/dist/illustrations/learn-playbooks.cjs +2 -0
  291. package/dist/illustrations/learn-playbooks.cjs.map +1 -0
  292. package/dist/illustrations/learn-playbooks.d.ts +4 -0
  293. package/dist/illustrations/learn-playbooks.js +5 -0
  294. package/dist/illustrations/learn-playbooks.js.map +1 -0
  295. package/dist/illustrations/learn-playbooks.svg.cjs +2 -0
  296. package/dist/illustrations/learn-playbooks.svg.cjs.map +1 -0
  297. package/dist/illustrations/learn-playbooks.svg.js +6 -0
  298. package/dist/illustrations/learn-playbooks.svg.js.map +1 -0
  299. package/dist/illustrations/locked-messages.cjs +2 -0
  300. package/dist/illustrations/locked-messages.cjs.map +1 -0
  301. package/dist/illustrations/locked-messages.d.ts +4 -0
  302. package/dist/illustrations/locked-messages.js +5 -0
  303. package/dist/illustrations/locked-messages.js.map +1 -0
  304. package/dist/illustrations/locked-messages.svg.cjs +2 -0
  305. package/dist/illustrations/locked-messages.svg.cjs.map +1 -0
  306. package/dist/illustrations/locked-messages.svg.js +6 -0
  307. package/dist/illustrations/locked-messages.svg.js.map +1 -0
  308. package/dist/illustrations/mentions-empty.cjs +2 -0
  309. package/dist/illustrations/mentions-empty.cjs.map +1 -0
  310. package/dist/illustrations/mentions-empty.d.ts +4 -0
  311. package/dist/illustrations/mentions-empty.js +5 -0
  312. package/dist/illustrations/mentions-empty.js.map +1 -0
  313. package/dist/illustrations/mentions-empty.svg.cjs +2 -0
  314. package/dist/illustrations/mentions-empty.svg.cjs.map +1 -0
  315. package/dist/illustrations/mentions-empty.svg.js +6 -0
  316. package/dist/illustrations/mentions-empty.svg.js.map +1 -0
  317. package/dist/illustrations/message-not-viewable.cjs +2 -0
  318. package/dist/illustrations/message-not-viewable.cjs.map +1 -0
  319. package/dist/illustrations/message-not-viewable.d.ts +4 -0
  320. package/dist/illustrations/message-not-viewable.js +5 -0
  321. package/dist/illustrations/message-not-viewable.js.map +1 -0
  322. package/dist/illustrations/message-not-viewable.svg.cjs +2 -0
  323. package/dist/illustrations/message-not-viewable.svg.cjs.map +1 -0
  324. package/dist/illustrations/message-not-viewable.svg.js +6 -0
  325. package/dist/illustrations/message-not-viewable.svg.js.map +1 -0
  326. package/dist/illustrations/message-search-empty.cjs +2 -0
  327. package/dist/illustrations/message-search-empty.cjs.map +1 -0
  328. package/dist/illustrations/message-search-empty.d.ts +4 -0
  329. package/dist/illustrations/message-search-empty.js +5 -0
  330. package/dist/illustrations/message-search-empty.js.map +1 -0
  331. package/dist/illustrations/message-search-empty.svg.cjs +2 -0
  332. package/dist/illustrations/message-search-empty.svg.cjs.map +1 -0
  333. package/dist/illustrations/message-search-empty.svg.js +6 -0
  334. package/dist/illustrations/message-search-empty.svg.js.map +1 -0
  335. package/dist/illustrations/mfa-complete.cjs +2 -0
  336. package/dist/illustrations/mfa-complete.cjs.map +1 -0
  337. package/dist/illustrations/mfa-complete.d.ts +4 -0
  338. package/dist/illustrations/mfa-complete.js +5 -0
  339. package/dist/illustrations/mfa-complete.js.map +1 -0
  340. package/dist/illustrations/mfa-complete.svg.cjs +2 -0
  341. package/dist/illustrations/mfa-complete.svg.cjs.map +1 -0
  342. package/dist/illustrations/mfa-complete.svg.js +6 -0
  343. package/dist/illustrations/mfa-complete.svg.js.map +1 -0
  344. package/dist/illustrations/mfa.cjs +2 -0
  345. package/dist/illustrations/mfa.cjs.map +1 -0
  346. package/dist/illustrations/mfa.d.ts +4 -0
  347. package/dist/illustrations/mfa.js +5 -0
  348. package/dist/illustrations/mfa.js.map +1 -0
  349. package/dist/illustrations/mfa.svg.cjs +2 -0
  350. package/dist/illustrations/mfa.svg.cjs.map +1 -0
  351. package/dist/illustrations/mfa.svg.js +6 -0
  352. package/dist/illustrations/mfa.svg.js.map +1 -0
  353. package/dist/illustrations/mobile-protection.cjs +2 -0
  354. package/dist/illustrations/mobile-protection.cjs.map +1 -0
  355. package/dist/illustrations/mobile-protection.d.ts +4 -0
  356. package/dist/illustrations/mobile-protection.js +5 -0
  357. package/dist/illustrations/mobile-protection.js.map +1 -0
  358. package/dist/illustrations/mobile-protection.svg.cjs +2 -0
  359. package/dist/illustrations/mobile-protection.svg.cjs.map +1 -0
  360. package/dist/illustrations/mobile-protection.svg.js +6 -0
  361. package/dist/illustrations/mobile-protection.svg.js.map +1 -0
  362. package/dist/illustrations/mobile-security.cjs +2 -0
  363. package/dist/illustrations/mobile-security.cjs.map +1 -0
  364. package/dist/illustrations/mobile-security.d.ts +4 -0
  365. package/dist/illustrations/mobile-security.js +5 -0
  366. package/dist/illustrations/mobile-security.js.map +1 -0
  367. package/dist/illustrations/mobile-security.svg.cjs +2 -0
  368. package/dist/illustrations/mobile-security.svg.cjs.map +1 -0
  369. package/dist/illustrations/mobile-security.svg.js +6 -0
  370. package/dist/illustrations/mobile-security.svg.js.map +1 -0
  371. package/dist/illustrations/names.cjs +2 -0
  372. package/dist/illustrations/names.cjs.map +1 -0
  373. package/dist/illustrations/names.d.ts +3 -0
  374. package/dist/illustrations/names.d.ts.map +1 -0
  375. package/dist/illustrations/names.js +73 -0
  376. package/dist/illustrations/names.js.map +1 -0
  377. package/dist/illustrations/new-password.cjs +2 -0
  378. package/dist/illustrations/new-password.cjs.map +1 -0
  379. package/dist/illustrations/new-password.d.ts +4 -0
  380. package/dist/illustrations/new-password.js +5 -0
  381. package/dist/illustrations/new-password.js.map +1 -0
  382. package/dist/illustrations/new-password.svg.cjs +2 -0
  383. package/dist/illustrations/new-password.svg.cjs.map +1 -0
  384. package/dist/illustrations/new-password.svg.js +6 -0
  385. package/dist/illustrations/new-password.svg.js.map +1 -0
  386. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs +2 -0
  387. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs.map +1 -0
  388. package/dist/illustrations/no-unreads-on-sidebar-bg.d.ts +4 -0
  389. package/dist/illustrations/no-unreads-on-sidebar-bg.js +5 -0
  390. package/dist/illustrations/no-unreads-on-sidebar-bg.js.map +1 -0
  391. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs +2 -0
  392. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs.map +1 -0
  393. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js +6 -0
  394. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js.map +1 -0
  395. package/dist/illustrations/office.cjs +2 -0
  396. package/dist/illustrations/office.cjs.map +1 -0
  397. package/dist/illustrations/office.d.ts +4 -0
  398. package/dist/illustrations/office.js +5 -0
  399. package/dist/illustrations/office.js.map +1 -0
  400. package/dist/illustrations/office.svg.cjs +2 -0
  401. package/dist/illustrations/office.svg.cjs.map +1 -0
  402. package/dist/illustrations/office.svg.js +6 -0
  403. package/dist/illustrations/office.svg.js.map +1 -0
  404. package/dist/illustrations/outgoing-webhook.cjs +2 -0
  405. package/dist/illustrations/outgoing-webhook.cjs.map +1 -0
  406. package/dist/illustrations/outgoing-webhook.d.ts +4 -0
  407. package/dist/illustrations/outgoing-webhook.js +5 -0
  408. package/dist/illustrations/outgoing-webhook.js.map +1 -0
  409. package/dist/illustrations/outgoing-webhook.svg.cjs +2 -0
  410. package/dist/illustrations/outgoing-webhook.svg.cjs.map +1 -0
  411. package/dist/illustrations/outgoing-webhook.svg.js +6 -0
  412. package/dist/illustrations/outgoing-webhook.svg.js.map +1 -0
  413. package/dist/illustrations/pinned-empty.cjs +2 -0
  414. package/dist/illustrations/pinned-empty.cjs.map +1 -0
  415. package/dist/illustrations/pinned-empty.d.ts +4 -0
  416. package/dist/illustrations/pinned-empty.js +5 -0
  417. package/dist/illustrations/pinned-empty.js.map +1 -0
  418. package/dist/illustrations/pinned-empty.svg.cjs +2 -0
  419. package/dist/illustrations/pinned-empty.svg.cjs.map +1 -0
  420. package/dist/illustrations/pinned-empty.svg.js +6 -0
  421. package/dist/illustrations/pinned-empty.svg.js.map +1 -0
  422. package/dist/illustrations/playbooks-empty.cjs +2 -0
  423. package/dist/illustrations/playbooks-empty.cjs.map +1 -0
  424. package/dist/illustrations/playbooks-empty.d.ts +4 -0
  425. package/dist/illustrations/playbooks-empty.js +5 -0
  426. package/dist/illustrations/playbooks-empty.js.map +1 -0
  427. package/dist/illustrations/playbooks-empty.svg.cjs +2 -0
  428. package/dist/illustrations/playbooks-empty.svg.cjs.map +1 -0
  429. package/dist/illustrations/playbooks-empty.svg.js +6 -0
  430. package/dist/illustrations/playbooks-empty.svg.js.map +1 -0
  431. package/dist/illustrations/private-channel-intro.cjs +2 -0
  432. package/dist/illustrations/private-channel-intro.cjs.map +1 -0
  433. package/dist/illustrations/private-channel-intro.d.ts +4 -0
  434. package/dist/illustrations/private-channel-intro.js +5 -0
  435. package/dist/illustrations/private-channel-intro.js.map +1 -0
  436. package/dist/illustrations/private-channel-intro.svg.cjs +2 -0
  437. package/dist/illustrations/private-channel-intro.svg.cjs.map +1 -0
  438. package/dist/illustrations/private-channel-intro.svg.js +6 -0
  439. package/dist/illustrations/private-channel-intro.svg.js.map +1 -0
  440. package/dist/illustrations/product-release.cjs +2 -0
  441. package/dist/illustrations/product-release.cjs.map +1 -0
  442. package/dist/illustrations/product-release.d.ts +4 -0
  443. package/dist/illustrations/product-release.js +5 -0
  444. package/dist/illustrations/product-release.js.map +1 -0
  445. package/dist/illustrations/product-release.svg.cjs +2 -0
  446. package/dist/illustrations/product-release.svg.cjs.map +1 -0
  447. package/dist/illustrations/product-release.svg.js +6 -0
  448. package/dist/illustrations/product-release.svg.js.map +1 -0
  449. package/dist/illustrations/public-channel-intro.cjs +2 -0
  450. package/dist/illustrations/public-channel-intro.cjs.map +1 -0
  451. package/dist/illustrations/public-channel-intro.d.ts +4 -0
  452. package/dist/illustrations/public-channel-intro.js +5 -0
  453. package/dist/illustrations/public-channel-intro.js.map +1 -0
  454. package/dist/illustrations/public-channel-intro.svg.cjs +2 -0
  455. package/dist/illustrations/public-channel-intro.svg.cjs.map +1 -0
  456. package/dist/illustrations/public-channel-intro.svg.js +6 -0
  457. package/dist/illustrations/public-channel-intro.svg.js.map +1 -0
  458. package/dist/illustrations/rating-desktop.cjs +2 -0
  459. package/dist/illustrations/rating-desktop.cjs.map +1 -0
  460. package/dist/illustrations/rating-desktop.d.ts +4 -0
  461. package/dist/illustrations/rating-desktop.js +5 -0
  462. package/dist/illustrations/rating-desktop.js.map +1 -0
  463. package/dist/illustrations/rating-desktop.svg.cjs +2 -0
  464. package/dist/illustrations/rating-desktop.svg.cjs.map +1 -0
  465. package/dist/illustrations/rating-desktop.svg.js +6 -0
  466. package/dist/illustrations/rating-desktop.svg.js.map +1 -0
  467. package/dist/illustrations/rating.cjs +2 -0
  468. package/dist/illustrations/rating.cjs.map +1 -0
  469. package/dist/illustrations/rating.d.ts +4 -0
  470. package/dist/illustrations/rating.js +5 -0
  471. package/dist/illustrations/rating.js.map +1 -0
  472. package/dist/illustrations/rating.svg.cjs +2 -0
  473. package/dist/illustrations/rating.svg.cjs.map +1 -0
  474. package/dist/illustrations/rating.svg.js +6 -0
  475. package/dist/illustrations/rating.svg.js.map +1 -0
  476. package/dist/illustrations/read-only.cjs +2 -0
  477. package/dist/illustrations/read-only.cjs.map +1 -0
  478. package/dist/illustrations/read-only.d.ts +4 -0
  479. package/dist/illustrations/read-only.js +5 -0
  480. package/dist/illustrations/read-only.js.map +1 -0
  481. package/dist/illustrations/read-only.svg.cjs +2 -0
  482. package/dist/illustrations/read-only.svg.cjs.map +1 -0
  483. package/dist/illustrations/read-only.svg.js +6 -0
  484. package/dist/illustrations/read-only.svg.js.map +1 -0
  485. package/dist/illustrations/reset-password.cjs +2 -0
  486. package/dist/illustrations/reset-password.cjs.map +1 -0
  487. package/dist/illustrations/reset-password.d.ts +4 -0
  488. package/dist/illustrations/reset-password.js +5 -0
  489. package/dist/illustrations/reset-password.js.map +1 -0
  490. package/dist/illustrations/reset-password.svg.cjs +2 -0
  491. package/dist/illustrations/reset-password.svg.cjs.map +1 -0
  492. package/dist/illustrations/reset-password.svg.js +8 -0
  493. package/dist/illustrations/reset-password.svg.js.map +1 -0
  494. package/dist/illustrations/saved-empty.cjs +2 -0
  495. package/dist/illustrations/saved-empty.cjs.map +1 -0
  496. package/dist/illustrations/saved-empty.d.ts +4 -0
  497. package/dist/illustrations/saved-empty.js +5 -0
  498. package/dist/illustrations/saved-empty.js.map +1 -0
  499. package/dist/illustrations/saved-empty.svg.cjs +2 -0
  500. package/dist/illustrations/saved-empty.svg.cjs.map +1 -0
  501. package/dist/illustrations/saved-empty.svg.js +6 -0
  502. package/dist/illustrations/saved-empty.svg.js.map +1 -0
  503. package/dist/illustrations/scheduled-empty.cjs +2 -0
  504. package/dist/illustrations/scheduled-empty.cjs.map +1 -0
  505. package/dist/illustrations/scheduled-empty.d.ts +4 -0
  506. package/dist/illustrations/scheduled-empty.js +5 -0
  507. package/dist/illustrations/scheduled-empty.js.map +1 -0
  508. package/dist/illustrations/scheduled-empty.svg.cjs +2 -0
  509. package/dist/illustrations/scheduled-empty.svg.cjs.map +1 -0
  510. package/dist/illustrations/scheduled-empty.svg.js +6 -0
  511. package/dist/illustrations/scheduled-empty.svg.js.map +1 -0
  512. package/dist/illustrations/search.cjs +2 -0
  513. package/dist/illustrations/search.cjs.map +1 -0
  514. package/dist/illustrations/search.d.ts +4 -0
  515. package/dist/illustrations/search.js +5 -0
  516. package/dist/illustrations/search.js.map +1 -0
  517. package/dist/illustrations/search.svg.cjs +2 -0
  518. package/dist/illustrations/search.svg.cjs.map +1 -0
  519. package/dist/illustrations/search.svg.js +6 -0
  520. package/dist/illustrations/search.svg.js.map +1 -0
  521. package/dist/illustrations/server.cjs +2 -0
  522. package/dist/illustrations/server.cjs.map +1 -0
  523. package/dist/illustrations/server.d.ts +4 -0
  524. package/dist/illustrations/server.js +5 -0
  525. package/dist/illustrations/server.js.map +1 -0
  526. package/dist/illustrations/server.svg.cjs +2 -0
  527. package/dist/illustrations/server.svg.cjs.map +1 -0
  528. package/dist/illustrations/server.svg.js +6 -0
  529. package/dist/illustrations/server.svg.js.map +1 -0
  530. package/dist/illustrations/setup-system.cjs +2 -0
  531. package/dist/illustrations/setup-system.cjs.map +1 -0
  532. package/dist/illustrations/setup-system.d.ts +4 -0
  533. package/dist/illustrations/setup-system.js +5 -0
  534. package/dist/illustrations/setup-system.js.map +1 -0
  535. package/dist/illustrations/setup-system.svg.cjs +2 -0
  536. package/dist/illustrations/setup-system.svg.cjs.map +1 -0
  537. package/dist/illustrations/setup-system.svg.js +6 -0
  538. package/dist/illustrations/setup-system.svg.js.map +1 -0
  539. package/dist/illustrations/site-error.cjs +2 -0
  540. package/dist/illustrations/site-error.cjs.map +1 -0
  541. package/dist/illustrations/site-error.d.ts +4 -0
  542. package/dist/illustrations/site-error.js +5 -0
  543. package/dist/illustrations/site-error.js.map +1 -0
  544. package/dist/illustrations/site-error.svg.cjs +2 -0
  545. package/dist/illustrations/site-error.svg.cjs.map +1 -0
  546. package/dist/illustrations/site-error.svg.js +6 -0
  547. package/dist/illustrations/site-error.svg.js.map +1 -0
  548. package/dist/illustrations/slash-commands.cjs +2 -0
  549. package/dist/illustrations/slash-commands.cjs.map +1 -0
  550. package/dist/illustrations/slash-commands.d.ts +4 -0
  551. package/dist/illustrations/slash-commands.js +5 -0
  552. package/dist/illustrations/slash-commands.js.map +1 -0
  553. package/dist/illustrations/slash-commands.svg.cjs +2 -0
  554. package/dist/illustrations/slash-commands.svg.cjs.map +1 -0
  555. package/dist/illustrations/slash-commands.svg.js +6 -0
  556. package/dist/illustrations/slash-commands.svg.js.map +1 -0
  557. package/dist/illustrations/success.cjs +2 -0
  558. package/dist/illustrations/success.cjs.map +1 -0
  559. package/dist/illustrations/success.d.ts +4 -0
  560. package/dist/illustrations/success.js +5 -0
  561. package/dist/illustrations/success.js.map +1 -0
  562. package/dist/illustrations/success.svg.cjs +2 -0
  563. package/dist/illustrations/success.svg.cjs.map +1 -0
  564. package/dist/illustrations/success.svg.js +6 -0
  565. package/dist/illustrations/success.svg.js.map +1 -0
  566. package/dist/illustrations/system-admins.cjs +2 -0
  567. package/dist/illustrations/system-admins.cjs.map +1 -0
  568. package/dist/illustrations/system-admins.d.ts +4 -0
  569. package/dist/illustrations/system-admins.js +5 -0
  570. package/dist/illustrations/system-admins.js.map +1 -0
  571. package/dist/illustrations/system-admins.svg.cjs +2 -0
  572. package/dist/illustrations/system-admins.svg.cjs.map +1 -0
  573. package/dist/illustrations/system-admins.svg.js +14 -0
  574. package/dist/illustrations/system-admins.svg.js.map +1 -0
  575. package/dist/illustrations/threads-empty.cjs +2 -0
  576. package/dist/illustrations/threads-empty.cjs.map +1 -0
  577. package/dist/illustrations/threads-empty.d.ts +4 -0
  578. package/dist/illustrations/threads-empty.js +5 -0
  579. package/dist/illustrations/threads-empty.js.map +1 -0
  580. package/dist/illustrations/threads-empty.svg.cjs +2 -0
  581. package/dist/illustrations/threads-empty.svg.cjs.map +1 -0
  582. package/dist/illustrations/threads-empty.svg.js +6 -0
  583. package/dist/illustrations/threads-empty.svg.js.map +1 -0
  584. package/dist/illustrations/timer.cjs +2 -0
  585. package/dist/illustrations/timer.cjs.map +1 -0
  586. package/dist/illustrations/timer.d.ts +4 -0
  587. package/dist/illustrations/timer.js +5 -0
  588. package/dist/illustrations/timer.js.map +1 -0
  589. package/dist/illustrations/timer.svg.cjs +2 -0
  590. package/dist/illustrations/timer.svg.cjs.map +1 -0
  591. package/dist/illustrations/timer.svg.js +6 -0
  592. package/dist/illustrations/timer.svg.js.map +1 -0
  593. package/dist/illustrations/tls-certificate.cjs +2 -0
  594. package/dist/illustrations/tls-certificate.cjs.map +1 -0
  595. package/dist/illustrations/tls-certificate.d.ts +4 -0
  596. package/dist/illustrations/tls-certificate.js +5 -0
  597. package/dist/illustrations/tls-certificate.js.map +1 -0
  598. package/dist/illustrations/tls-certificate.svg.cjs +2 -0
  599. package/dist/illustrations/tls-certificate.svg.cjs.map +1 -0
  600. package/dist/illustrations/tls-certificate.svg.js +6 -0
  601. package/dist/illustrations/tls-certificate.svg.js.map +1 -0
  602. package/dist/illustrations/tools.cjs +2 -0
  603. package/dist/illustrations/tools.cjs.map +1 -0
  604. package/dist/illustrations/tools.d.ts +4 -0
  605. package/dist/illustrations/tools.js +5 -0
  606. package/dist/illustrations/tools.js.map +1 -0
  607. package/dist/illustrations/tools.svg.cjs +2 -0
  608. package/dist/illustrations/tools.svg.cjs.map +1 -0
  609. package/dist/illustrations/tools.svg.js +6 -0
  610. package/dist/illustrations/tools.svg.js.map +1 -0
  611. package/dist/illustrations/town-square-channel-intro.cjs +2 -0
  612. package/dist/illustrations/town-square-channel-intro.cjs.map +1 -0
  613. package/dist/illustrations/town-square-channel-intro.d.ts +4 -0
  614. package/dist/illustrations/town-square-channel-intro.js +5 -0
  615. package/dist/illustrations/town-square-channel-intro.js.map +1 -0
  616. package/dist/illustrations/town-square-channel-intro.svg.cjs +2 -0
  617. package/dist/illustrations/town-square-channel-intro.svg.cjs.map +1 -0
  618. package/dist/illustrations/town-square-channel-intro.svg.js +6 -0
  619. package/dist/illustrations/town-square-channel-intro.svg.js.map +1 -0
  620. package/dist/illustrations/upload-license.cjs +2 -0
  621. package/dist/illustrations/upload-license.cjs.map +1 -0
  622. package/dist/illustrations/upload-license.d.ts +4 -0
  623. package/dist/illustrations/upload-license.js +5 -0
  624. package/dist/illustrations/upload-license.js.map +1 -0
  625. package/dist/illustrations/upload-license.svg.cjs +2 -0
  626. package/dist/illustrations/upload-license.svg.cjs.map +1 -0
  627. package/dist/illustrations/upload-license.svg.js +6 -0
  628. package/dist/illustrations/upload-license.svg.js.map +1 -0
  629. package/dist/illustrations/verify-email.cjs +2 -0
  630. package/dist/illustrations/verify-email.cjs.map +1 -0
  631. package/dist/illustrations/verify-email.d.ts +4 -0
  632. package/dist/illustrations/verify-email.js +5 -0
  633. package/dist/illustrations/verify-email.js.map +1 -0
  634. package/dist/illustrations/verify-email.svg.cjs +2 -0
  635. package/dist/illustrations/verify-email.svg.cjs.map +1 -0
  636. package/dist/illustrations/verify-email.svg.js +8 -0
  637. package/dist/illustrations/verify-email.svg.js.map +1 -0
  638. package/dist/index.cjs +1 -1
  639. package/dist/index.css +2 -14
  640. package/dist/index.d.ts +1 -8
  641. package/dist/index.d.ts.map +1 -1
  642. package/dist/index.js +175 -189
  643. package/dist/index.js.map +1 -1
  644. package/package.json +216 -19
  645. package/dist/components/app-bar-item/AppBarItem.cjs +0 -2
  646. package/dist/components/app-bar-item/AppBarItem.cjs.map +0 -1
  647. package/dist/components/app-bar-item/AppBarItem.d.ts +0 -25
  648. package/dist/components/app-bar-item/AppBarItem.d.ts.map +0 -1
  649. package/dist/components/app-bar-item/AppBarItem.js +0 -49
  650. package/dist/components/app-bar-item/AppBarItem.js.map +0 -1
  651. package/dist/components/app-bar-item/AppBarItem.module.css +0 -1
  652. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs +0 -2
  653. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs.map +0 -1
  654. package/dist/components/app-bar-item/AppBarItem.module.scss.js +0 -11
  655. package/dist/components/app-bar-item/AppBarItem.module.scss.js.map +0 -1
  656. package/dist/components/app-bar-item/index.d.ts +0 -3
  657. package/dist/components/app-bar-item/index.d.ts.map +0 -1
  658. package/dist/components/app-bar-item/index.js +0 -5
  659. package/dist/components/channel-header/ChannelHeader.cjs +0 -2
  660. package/dist/components/channel-header/ChannelHeader.cjs.map +0 -1
  661. package/dist/components/channel-header/ChannelHeader.d.ts +0 -37
  662. package/dist/components/channel-header/ChannelHeader.d.ts.map +0 -1
  663. package/dist/components/channel-header/ChannelHeader.js +0 -174
  664. package/dist/components/channel-header/ChannelHeader.js.map +0 -1
  665. package/dist/components/channel-header/ChannelHeader.module.css +0 -1
  666. package/dist/components/channel-header/ChannelHeader.module.scss.cjs +0 -2
  667. package/dist/components/channel-header/ChannelHeader.module.scss.cjs.map +0 -1
  668. package/dist/components/channel-header/ChannelHeader.module.scss.js +0 -20
  669. package/dist/components/channel-header/ChannelHeader.module.scss.js.map +0 -1
  670. package/dist/components/channel-header/index.cjs +0 -2
  671. package/dist/components/channel-header/index.cjs.map +0 -1
  672. package/dist/components/channel-header/index.d.ts +0 -3
  673. package/dist/components/channel-header/index.d.ts.map +0 -1
  674. package/dist/components/channel-header/index.js +0 -5
  675. package/dist/components/channel-header/index.js.map +0 -1
  676. package/dist/components/message/Message.cjs +0 -2
  677. package/dist/components/message/Message.cjs.map +0 -1
  678. package/dist/components/message/Message.d.ts +0 -34
  679. package/dist/components/message/Message.d.ts.map +0 -1
  680. package/dist/components/message/Message.js +0 -54
  681. package/dist/components/message/Message.js.map +0 -1
  682. package/dist/components/message/Message.module.css +0 -1
  683. package/dist/components/message/Message.module.scss.cjs +0 -2
  684. package/dist/components/message/Message.module.scss.cjs.map +0 -1
  685. package/dist/components/message/Message.module.scss.js +0 -26
  686. package/dist/components/message/Message.module.scss.js.map +0 -1
  687. package/dist/components/message/index.cjs +0 -2
  688. package/dist/components/message/index.cjs.map +0 -1
  689. package/dist/components/message/index.d.ts +0 -4
  690. package/dist/components/message/index.d.ts.map +0 -1
  691. package/dist/components/message/index.js +0 -7
  692. package/dist/components/message/index.js.map +0 -1
  693. package/dist/components/message-input/MessageInput.cjs +0 -2
  694. package/dist/components/message-input/MessageInput.cjs.map +0 -1
  695. package/dist/components/message-input/MessageInput.d.ts +0 -15
  696. package/dist/components/message-input/MessageInput.d.ts.map +0 -1
  697. package/dist/components/message-input/MessageInput.js +0 -407
  698. package/dist/components/message-input/MessageInput.js.map +0 -1
  699. package/dist/components/message-input/MessageInput.module.css +0 -1
  700. package/dist/components/message-input/MessageInput.module.scss.cjs +0 -2
  701. package/dist/components/message-input/MessageInput.module.scss.cjs.map +0 -1
  702. package/dist/components/message-input/MessageInput.module.scss.js +0 -37
  703. package/dist/components/message-input/MessageInput.module.scss.js.map +0 -1
  704. package/dist/components/message-input/index.cjs +0 -2
  705. package/dist/components/message-input/index.cjs.map +0 -1
  706. package/dist/components/message-input/index.d.ts +0 -3
  707. package/dist/components/message-input/index.d.ts.map +0 -1
  708. package/dist/components/message-input/index.js +0 -5
  709. package/dist/components/message-input/index.js.map +0 -1
  710. package/dist/components/reaction-pill/ReactionPill.cjs +0 -2
  711. package/dist/components/reaction-pill/ReactionPill.cjs.map +0 -1
  712. package/dist/components/reaction-pill/ReactionPill.d.ts +0 -24
  713. package/dist/components/reaction-pill/ReactionPill.d.ts.map +0 -1
  714. package/dist/components/reaction-pill/ReactionPill.js +0 -51
  715. package/dist/components/reaction-pill/ReactionPill.js.map +0 -1
  716. package/dist/components/reaction-pill/ReactionPill.module.css +0 -1
  717. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs +0 -2
  718. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs.map +0 -1
  719. package/dist/components/reaction-pill/ReactionPill.module.scss.js +0 -17
  720. package/dist/components/reaction-pill/ReactionPill.module.scss.js.map +0 -1
  721. package/dist/components/reaction-pill/index.cjs +0 -2
  722. package/dist/components/reaction-pill/index.cjs.map +0 -1
  723. package/dist/components/reaction-pill/index.d.ts +0 -3
  724. package/dist/components/reaction-pill/index.d.ts.map +0 -1
  725. package/dist/components/reaction-pill/index.js +0 -5
  726. package/dist/components/reaction-pill/index.js.map +0 -1
  727. package/dist/components/right-sidebar/RightSidebar.cjs +0 -2
  728. package/dist/components/right-sidebar/RightSidebar.cjs.map +0 -1
  729. package/dist/components/right-sidebar/RightSidebar.d.ts +0 -23
  730. package/dist/components/right-sidebar/RightSidebar.d.ts.map +0 -1
  731. package/dist/components/right-sidebar/RightSidebar.js +0 -29
  732. package/dist/components/right-sidebar/RightSidebar.js.map +0 -1
  733. package/dist/components/right-sidebar/RightSidebar.module.css +0 -1
  734. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs +0 -2
  735. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs.map +0 -1
  736. package/dist/components/right-sidebar/RightSidebar.module.scss.js +0 -12
  737. package/dist/components/right-sidebar/RightSidebar.module.scss.js.map +0 -1
  738. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs +0 -2
  739. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs.map +0 -1
  740. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.d.ts.map +0 -1
  741. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.js.map +0 -1
  742. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.css +0 -1
  743. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.scss.cjs +0 -2
  744. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts +0 -3
  745. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts.map +0 -1
  746. package/dist/components/right-sidebar/index.cjs +0 -2
  747. package/dist/components/right-sidebar/index.cjs.map +0 -1
  748. package/dist/components/right-sidebar/index.d.ts +0 -5
  749. package/dist/components/right-sidebar/index.d.ts.map +0 -1
  750. package/dist/components/right-sidebar/index.js +0 -7
  751. package/dist/components/right-sidebar/index.js.map +0 -1
  752. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.cjs.map +0 -0
  753. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js.map +0 -0
  754. /package/dist/components/{app-bar-item → right-sidebar-header}/index.cjs.map +0 -0
  755. /package/dist/components/{app-bar-item → right-sidebar-header}/index.js.map +0 -0
@@ -1,174 +0,0 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
- import __A from "@mattermost/compass-icons/components/star-outline.js";const A=__A&&__A.default?__A.default:__A;
3
- import __j from "@mattermost/compass-icons/components/star.js";const j=__j&&__j.default?__j.default:__j;
4
- import __p from "@mattermost/compass-icons/components/chevron-down.js";const p=__p&&__p.default?__p.default:__p;
5
- import __F from "@mattermost/compass-icons/components/bell-off-outline.js";const F=__F&&__F.default?__F.default:__F;
6
- import __S from "@mattermost/compass-icons/components/account-outline.js";const S=__S&&__S.default?__S.default:__S;
7
- import __T from "@mattermost/compass-icons/components/pin-outline.js";const T=__T&&__T.default?__T.default:__T;
8
- import __D from "@mattermost/compass-icons/components/file-text-outline.js";const D=__D&&__D.default?__D.default:__D;
9
- import __P from "@mattermost/compass-icons/components/phone.js";const P=__P&&__P.default?__P.default:__P;
10
- import __$ from "@mattermost/compass-icons/components/information-outline.js";const $=__$&&__$.default?__$.default:__$;
11
- import q from "../button/Button.js";
12
- import s from "../icon/Icon.js";
13
- import i from "../icon-button/IconButton.js";
14
- import H from "../tag/Tag.js";
15
- import M from "../user-avatar/UserAvatar.js";
16
- import a from "./ChannelHeader.module.scss.js";
17
- function le({
18
- type: l = "channel",
19
- name: o = "",
20
- description: r,
21
- memberCount: c,
22
- pinnedCount: h,
23
- favorited: m = !1,
24
- muted: g = !1,
25
- avatarSrc: d,
26
- avatarStatus: b = !1,
27
- onFavoriteClick: z,
28
- onNameClick: t,
29
- onCallClick: N,
30
- callButton: v,
31
- onInfoClick: I,
32
- infoToggled: x = !1,
33
- className: O = ""
34
- }) {
35
- const f = l === "threads" || l === "drafts", B = l === "channel" || l === "dm" || l === "gm", C = (l === "channel" || l === "gm") && c != null, w = l === "channel" || l === "dm" || l === "gm", k = l === "channel" || l === "dm" || l === "gm", _ = (l === "dm" || l === "bot") && !!d, u = [
36
- a["channel-header"],
37
- f ? a["channel-header--simple"] : "",
38
- O
39
- ].filter(Boolean).join(" ");
40
- return f ? /* @__PURE__ */ n("div", { className: u, children: [
41
- /* @__PURE__ */ e("span", { className: a["channel-header__title"], children: o }),
42
- r && /* @__PURE__ */ e("span", { className: a["channel-header__description"], children: r })
43
- ] }) : /* @__PURE__ */ n("div", { className: u, children: [
44
- /* @__PURE__ */ n("div", { className: a["channel-header__left"], children: [
45
- /* @__PURE__ */ n("div", { className: a["channel-header__top-row"], children: [
46
- /* @__PURE__ */ e(
47
- i,
48
- {
49
- size: "x-small",
50
- "aria-label": m ? "Remove from favorites" : "Add to favorites",
51
- onClick: z,
52
- icon: m ? /* @__PURE__ */ e(
53
- "span",
54
- {
55
- style: { color: "var(--button-bg)", display: "inline-flex" },
56
- children: /* @__PURE__ */ e(j, { size: 18 })
57
- }
58
- ) : /* @__PURE__ */ e(A, { size: 18 })
59
- }
60
- ),
61
- _ && /* @__PURE__ */ n("div", { className: a["channel-header__identity"], children: [
62
- /* @__PURE__ */ e(
63
- M,
64
- {
65
- src: d,
66
- alt: o,
67
- size: "24",
68
- status: l === "dm" ? b : !1
69
- }
70
- ),
71
- l === "bot" ? /* @__PURE__ */ n("div", { className: a["channel-header__bot-name-group"], children: [
72
- /* @__PURE__ */ e(
73
- "button",
74
- {
75
- className: a["channel-header__name-area"],
76
- type: "button",
77
- onClick: t,
78
- children: /* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o })
79
- }
80
- ),
81
- /* @__PURE__ */ e("span", { className: a["channel-header__bot-tag"], children: /* @__PURE__ */ e(H, { label: "BOT", casing: "all-caps" }) })
82
- ] }) : /* @__PURE__ */ n(
83
- "button",
84
- {
85
- className: a["channel-header__name-area"],
86
- type: "button",
87
- onClick: t,
88
- children: [
89
- /* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o }),
90
- /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(p, {}) })
91
- ]
92
- }
93
- )
94
- ] }),
95
- !_ && /* @__PURE__ */ n(
96
- "button",
97
- {
98
- className: a["channel-header__name-area"],
99
- type: "button",
100
- onClick: t,
101
- children: [
102
- /* @__PURE__ */ e("span", { className: a["channel-header__name"], children: o }),
103
- k && /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(p, {}) })
104
- ]
105
- }
106
- ),
107
- /* @__PURE__ */ n("div", { className: a["channel-header__stat-icons"], children: [
108
- g && /* @__PURE__ */ e(
109
- i,
110
- {
111
- size: "x-small",
112
- "aria-label": "Notifications muted",
113
- icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(F, {}) })
114
- }
115
- ),
116
- C && /* @__PURE__ */ e(
117
- i,
118
- {
119
- size: "x-small",
120
- "aria-label": `${c} members`,
121
- count: c,
122
- icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(S, {}) })
123
- }
124
- ),
125
- h != null && /* @__PURE__ */ e(
126
- i,
127
- {
128
- size: "x-small",
129
- "aria-label": `${h} pinned messages`,
130
- count: h,
131
- icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(T, {}) })
132
- }
133
- ),
134
- w && /* @__PURE__ */ e(
135
- i,
136
- {
137
- size: "x-small",
138
- "aria-label": "Files",
139
- icon: /* @__PURE__ */ e(s, { size: "12", glyph: /* @__PURE__ */ e(D, {}) })
140
- }
141
- )
142
- ] })
143
- ] }),
144
- /* @__PURE__ */ e("div", { className: a["channel-header__description"], children: r ?? null })
145
- ] }),
146
- /* @__PURE__ */ n("div", { className: a["channel-header__right"], children: [
147
- B && (v ?? /* @__PURE__ */ e(
148
- q,
149
- {
150
- className: a["channel-header__call-btn"],
151
- emphasis: "quaternary",
152
- size: "small",
153
- leadingIcon: /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e(P, {}) }),
154
- onClick: N,
155
- children: "Start a Call"
156
- }
157
- )),
158
- /* @__PURE__ */ e(
159
- i,
160
- {
161
- size: "small",
162
- "aria-label": "Channel info",
163
- icon: /* @__PURE__ */ e(s, { size: "16", glyph: /* @__PURE__ */ e($, {}) }),
164
- onClick: I,
165
- toggled: x
166
- }
167
- )
168
- ] })
169
- ] });
170
- }
171
- export {
172
- le as default
173
- };
174
- //# sourceMappingURL=ChannelHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChannelHeader.js","sources":["../../../src/components/channel-header/ChannelHeader.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport StarOutlineIcon from '@mattermost/compass-icons/components/star-outline';\nimport StarIcon from '@mattermost/compass-icons/components/star';\nimport ChevronDownIcon from '@mattermost/compass-icons/components/chevron-down';\nimport BellOffOutlineIcon from '@mattermost/compass-icons/components/bell-off-outline';\nimport AccountOutlineIcon from '@mattermost/compass-icons/components/account-outline';\nimport PinOutlineIcon from '@mattermost/compass-icons/components/pin-outline';\nimport FileTextOutlineIcon from '@mattermost/compass-icons/components/file-text-outline';\nimport PhoneIcon from '@mattermost/compass-icons/components/phone';\nimport InformationOutlineIcon from '@mattermost/compass-icons/components/information-outline';\nimport Button from '@/components/button/Button';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport styles from './ChannelHeader.module.scss';\n\nexport type ChannelHeaderType =\n | 'channel'\n | 'bot'\n | 'dm'\n | 'gm'\n | 'threads'\n | 'drafts';\n\nexport interface ChannelHeaderProps {\n /** Channel type variant. Default: Channel. */\n type?: ChannelHeaderType;\n /** Channel or conversation name. */\n name?: string;\n /** Subtitle shown to the right of the stat icons (Bot) or next to the title (Threads, Drafts). */\n description?: string;\n /** Member count shown for Channel and GM types. */\n memberCount?: number;\n /** Number of pinned messages shown as a stat. */\n pinnedCount?: number;\n /** Whether the channel is favorited (filled star). */\n favorited?: boolean;\n /** Whether the channel is muted (bell-off icon shown). */\n muted?: boolean;\n /** Avatar image URL for DM and Bot types. */\n avatarSrc?: string;\n /** Show online status badge on the DM avatar. */\n avatarStatus?: boolean;\n /** Called when the favorite star is clicked. */\n onFavoriteClick?: () => void;\n /** Called when the channel name is clicked. */\n onNameClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;\n /** Called when the Start a Call button is clicked. */\n onCallClick?: () => void;\n /** Replaces the default Start a Call button when provided. */\n callButton?: ReactNode;\n /** Called when the channel info button is clicked. */\n onInfoClick?: () => void;\n /** Whether the info button is in a toggled (active) state. */\n infoToggled?: boolean;\n className?: string;\n}\n\nexport default function ChannelHeader({\n type = 'channel',\n name = '',\n description,\n memberCount,\n pinnedCount,\n favorited = false,\n muted = false,\n avatarSrc,\n avatarStatus = false,\n onFavoriteClick,\n onNameClick,\n onCallClick,\n callButton,\n onInfoClick,\n infoToggled = false,\n className = '',\n}: ChannelHeaderProps) {\n const isSimple = type === 'threads' || type === 'drafts';\n const showCallButton = type === 'channel' || type === 'dm' || type === 'gm';\n const showMembers =\n (type === 'channel' || type === 'gm') && memberCount != null;\n const showFiles = type === 'channel' || type === 'dm' || type === 'gm';\n const showChevron = type === 'channel' || type === 'dm' || type === 'gm';\n const hasDmAvatar = (type === 'dm' || type === 'bot') && Boolean(avatarSrc);\n\n const rootClass = [\n styles['channel-header'],\n isSimple ? styles['channel-header--simple'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n if (isSimple) {\n return (\n <div className={rootClass}>\n <span className={styles['channel-header__title']}>{name}</span>\n {description && (\n <span className={styles['channel-header__description']}>\n {description}\n </span>\n )}\n </div>\n );\n }\n\n return (\n <div className={rootClass}>\n <div className={styles['channel-header__left']}>\n <div className={styles['channel-header__top-row']}>\n <IconButton\n size=\"x-small\"\n aria-label={\n favorited ? 'Remove from favorites' : 'Add to favorites'\n }\n onClick={onFavoriteClick}\n icon={\n favorited ? (\n <span\n style={{ color: 'var(--button-bg)', display: 'inline-flex' }}\n >\n <StarIcon size={18} />\n </span>\n ) : (\n <StarOutlineIcon size={18} />\n )\n }\n />\n\n {hasDmAvatar && (\n <div className={styles['channel-header__identity']}>\n <UserAvatar\n src={avatarSrc!}\n alt={name}\n size=\"24\"\n status={type === 'dm' ? avatarStatus : false}\n />\n {type === 'bot' ? (\n <div className={styles['channel-header__bot-name-group']}>\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>\n {name}\n </span>\n </button>\n <span className={styles['channel-header__bot-tag']}>\n <Tag label=\"BOT\" casing=\"all-caps\" />\n </span>\n </div>\n ) : (\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>{name}</span>\n <Icon size=\"16\" glyph={<ChevronDownIcon />} />\n </button>\n )}\n </div>\n )}\n\n {!hasDmAvatar && (\n <button\n className={styles['channel-header__name-area']}\n type=\"button\"\n onClick={onNameClick}\n >\n <span className={styles['channel-header__name']}>{name}</span>\n {showChevron && <Icon size=\"16\" glyph={<ChevronDownIcon />} />}\n </button>\n )}\n\n <div className={styles['channel-header__stat-icons']}>\n {muted && (\n <IconButton\n size=\"x-small\"\n aria-label=\"Notifications muted\"\n icon={<Icon size=\"12\" glyph={<BellOffOutlineIcon />} />}\n />\n )}\n {showMembers && (\n <IconButton\n size=\"x-small\"\n aria-label={`${memberCount} members`}\n count={memberCount}\n icon={<Icon size=\"12\" glyph={<AccountOutlineIcon />} />}\n />\n )}\n {pinnedCount != null && (\n <IconButton\n size=\"x-small\"\n aria-label={`${pinnedCount} pinned messages`}\n count={pinnedCount}\n icon={<Icon size=\"12\" glyph={<PinOutlineIcon />} />}\n />\n )}\n {showFiles && (\n <IconButton\n size=\"x-small\"\n aria-label=\"Files\"\n icon={<Icon size=\"12\" glyph={<FileTextOutlineIcon />} />}\n />\n )}\n </div>\n </div>\n\n <div className={styles['channel-header__description']}>\n {description ?? null}\n </div>\n </div>\n\n <div className={styles['channel-header__right']}>\n {showCallButton && (callButton ?? (\n <Button\n className={styles['channel-header__call-btn']}\n emphasis=\"quaternary\"\n size=\"small\"\n leadingIcon={<Icon size=\"16\" glyph={<PhoneIcon />} />}\n onClick={onCallClick}\n >\n Start a Call\n </Button>\n ))}\n <IconButton\n size=\"small\"\n aria-label=\"Channel info\"\n icon={<Icon size=\"16\" glyph={<InformationOutlineIcon />} />}\n onClick={onInfoClick}\n toggled={infoToggled}\n />\n </div>\n </div>\n );\n}\n"],"names":["ChannelHeader","type","name","description","memberCount","pinnedCount","favorited","muted","avatarSrc","avatarStatus","onFavoriteClick","onNameClick","onCallClick","callButton","onInfoClick","infoToggled","className","isSimple","showCallButton","showMembers","showFiles","showChevron","hasDmAvatar","rootClass","styles","jsxs","jsx","IconButton","StarIcon","StarOutlineIcon","UserAvatar","Tag","Icon","ChevronDownIcon","BellOffOutlineIcon","AccountOutlineIcon","PinOutlineIcon","FileTextOutlineIcon","Button","PhoneIcon","InformationOutlineIcon"],"mappings":";;;;;;;;;;;;;;;;AA2DA,SAAwBA,GAAc;AAAA,EACpC,MAAAC,IAAO;AAAA,EACP,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,OAAAC,IAAQ;AAAA,EACR,WAAAC;AAAA,EACA,cAAAC,IAAe;AAAA,EACf,iBAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC;AAAA,EACA,YAAAC;AAAA,EACA,aAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,WAAAC,IAAY;AACd,GAAuB;AACrB,QAAMC,IAAWhB,MAAS,aAAaA,MAAS,UAC1CiB,IAAiBjB,MA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,WAAWD,EAAO,uBAAuB,GAC3C,UAAA;AAAA,MAAAN,MAAmBL,KAClB,gBAAAa;AAAA,QAACY;AAAA,QAAA;AAAA,UACC,WAAWd,EAAO,0BAA0B;AAAA,UAC5C,UAAS;AAAA,UACT,MAAK;AAAA,UACL,+BAAcQ,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAN,EAACa,KAAU,GAAI;AAAA,UACnD,SAAS3B;AAAA,UACV,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,MAIH,gBAAAc;AAAA,QAACC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,cAAW;AAAA,UACX,wBAAOK,GAAA,EAAK,MAAK,MAAK,OAAO,gBAAAN,EAACc,KAAuB,GAAI;AAAA,UACzD,SAAS1B;AAAA,UACT,SAASC;AAAA,QAAA;AAAA,MAAA;AAAA,IACX,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
@@ -1 +0,0 @@
1
- ._channel-header_ac4gj_2{display:flex;height:56px;align-items:center;gap:var(--spacing-l);padding:var(--spacing-m);background-color:var(--center-channel-bg, var(--color-neutral-0));border-bottom:1px solid rgba(var(--center-channel-color-rgb),.16)}._channel-header--simple_ac4gj_11{gap:var(--spacing-xs);padding:var(--spacing-m) var(--spacing-l)}._channel-header__left_ac4gj_15{display:flex;align-items:center;flex:1 0 0;min-width:0}._channel-header__top-row_ac4gj_21{display:flex;align-items:center;flex-shrink:0}._channel-header__identity_ac4gj_26{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0;margin-left:var(--spacing-xxxs)}._channel-header__bot-name-group_ac4gj_33{display:flex;align-items:center;gap:var(--spacing-xxxxs);flex-shrink:0}._channel-header__bot-tag_ac4gj_39{display:inline-flex;align-self:center}._channel-header__name-area_ac4gj_43{display:inline-flex;align-items:center;gap:1px;padding:0 var(--spacing-xxxs) 0 var(--spacing-xxs);border-radius:var(--radius-s);border:none;background:transparent;cursor:pointer;color:var(--center-channel-color, var(--color-neutral-900));flex-shrink:0}._channel-header__name-area_ac4gj_43:hover{background-color:rgba(var(--center-channel-color-rgb),.08)}._channel-header__name_ac4gj_43{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, var(--color-neutral-900));white-space:nowrap}._channel-header__stat-icons_ac4gj_66{display:flex;align-items:center;padding-right:var(--spacing-xs);flex-shrink:0}._channel-header__description_ac4gj_72{flex:1 0 0;min-width:0;font-family:var(--font-family-body);font-size:var(--font-size-75);font-weight:var(--font-weight-regular);line-height:var(--line-height-75);color:rgba(var(--center-channel-color-rgb),.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._channel-header__right_ac4gj_84{display:flex;align-items:center;gap:var(--spacing-xxxs);flex-shrink:0}._channel-header__call-btn_ac4gj_90{padding-right:var(--spacing-m);padding-left:var(--spacing-m)}._channel-header__title_ac4gj_94{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, var(--color-neutral-900));white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ChannelHeader.module.css');const e={"channel-header":"_channel-header_ac4gj_2","channel-header--simple":"_channel-header--simple_ac4gj_11","channel-header__left":"_channel-header__left_ac4gj_15","channel-header__top-row":"_channel-header__top-row_ac4gj_21","channel-header__identity":"_channel-header__identity_ac4gj_26","channel-header__bot-name-group":"_channel-header__bot-name-group_ac4gj_33","channel-header__bot-tag":"_channel-header__bot-tag_ac4gj_39","channel-header__name-area":"_channel-header__name-area_ac4gj_43","channel-header__name":"_channel-header__name_ac4gj_43","channel-header__stat-icons":"_channel-header__stat-icons_ac4gj_66","channel-header__description":"_channel-header__description_ac4gj_72","channel-header__right":"_channel-header__right_ac4gj_84","channel-header__call-btn":"_channel-header__call-btn_ac4gj_90","channel-header__title":"_channel-header__title_ac4gj_94"};exports.default=e;
2
- //# sourceMappingURL=ChannelHeader.module.scss.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChannelHeader.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,20 +0,0 @@
1
- import './ChannelHeader.module.css';const e = {
2
- "channel-header": "_channel-header_ac4gj_2",
3
- "channel-header--simple": "_channel-header--simple_ac4gj_11",
4
- "channel-header__left": "_channel-header__left_ac4gj_15",
5
- "channel-header__top-row": "_channel-header__top-row_ac4gj_21",
6
- "channel-header__identity": "_channel-header__identity_ac4gj_26",
7
- "channel-header__bot-name-group": "_channel-header__bot-name-group_ac4gj_33",
8
- "channel-header__bot-tag": "_channel-header__bot-tag_ac4gj_39",
9
- "channel-header__name-area": "_channel-header__name-area_ac4gj_43",
10
- "channel-header__name": "_channel-header__name_ac4gj_43",
11
- "channel-header__stat-icons": "_channel-header__stat-icons_ac4gj_66",
12
- "channel-header__description": "_channel-header__description_ac4gj_72",
13
- "channel-header__right": "_channel-header__right_ac4gj_84",
14
- "channel-header__call-btn": "_channel-header__call-btn_ac4gj_90",
15
- "channel-header__title": "_channel-header__title_ac4gj_94"
16
- };
17
- export {
18
- e as default
19
- };
20
- //# sourceMappingURL=ChannelHeader.module.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChannelHeader.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ChannelHeader.cjs");exports.ChannelHeader=e.default;
2
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export { default as ChannelHeader } from './ChannelHeader';
2
- export { type ChannelHeaderProps, type ChannelHeaderType, } from './ChannelHeader';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/channel-header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,MAAM,iBAAiB,CAAC"}
@@ -1,5 +0,0 @@
1
- import { default as r } from "./ChannelHeader.js";
2
- export {
3
- r as ChannelHeader
4
- };
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),x=require("../user-avatar/UserAvatar.cjs"),v=require("../message-header/MessageHeader.cjs"),h=require("../message-actions/MessageActions.cjs"),N=require("../pinned-saved-indicators/PinnedSavedIndicators.cjs"),s=require("./Message.module.scss.cjs");function q({avatarSrc:t,avatarAlt:c,username:i,timestamp:r,isBot:n=!1,botLabel:u,messageActionsType:o="center-channel",showMessageActions:m=!0,showPinnedSavedIndicators:_=!1,className:f="",children:j,linkPreview:a,imagePreviews:l,footer:d}){const g=[s.default.message,f].filter(Boolean).join(" ");return e.jsxs("div",{className:g,children:[_&&e.jsx("div",{className:s.default.message__pinned,children:e.jsx(N.default,{})}),e.jsxs("div",{className:s.default.message__layout,children:[e.jsx("div",{className:s.default["message__avatar-col"],children:e.jsx(x.default,{src:t,alt:c,size:"32"})}),e.jsxs("div",{className:s.default.message__content,children:[e.jsxs("div",{className:s.default["message__header-row"],children:[e.jsx("div",{className:s.default["message__header-block"],children:e.jsx(v.default,{username:i,timestamp:r,isBot:n,botLabel:u})}),m&&e.jsx("div",{className:s.default["message__actions-slot"],children:e.jsx(h.default,{type:o})})]}),e.jsxs("div",{className:s.default.message__body,children:[j,a!=null&&e.jsx("div",{className:s.default["message__link-preview-slot"],children:a}),l!=null&&e.jsx("div",{className:s.default["message__images-slot"],children:l}),d!=null&&e.jsx("div",{className:s.default["message__footer-slot"],children:d})]})]})]})]})}exports.default=q;
2
- //# sourceMappingURL=Message.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.cjs","sources":["../../../src/components/message/Message.tsx"],"sourcesContent":["import React from 'react';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport MessageHeader from '@/components/message-header/MessageHeader';\nimport MessageActions from '@/components/message-actions/MessageActions';\nimport type { MessageActionsType } from '@/components/message-actions/MessageActions';\nimport PinnedSavedIndicators from '@/components/pinned-saved-indicators/PinnedSavedIndicators';\nimport styles from './Message.module.scss';\n\ntype MessageProps = {\n avatarSrc?: string;\n avatarAlt: string;\n username: string;\n timestamp: string;\n isBot?: boolean;\n botLabel?: string;\n /** Hover toolbar context. Default: Center Channel. */\n messageActionsType?: MessageActionsType;\n /** When false, the hover Message Actions toolbar is omitted. Default: true. */\n showMessageActions?: boolean;\n /** When true, Pinned + Saved row appears at the top of the message container. */\n showPinnedSavedIndicators?: boolean;\n /** Merged onto the root element (e.g. documentation modifiers). */\n className?: string;\n /**\n * Primary body content (e.g. message text). When using structured slots, this\n * is usually the markdown/text block only. For plain `<p>` copy, use the\n * `message__body-text` class from `Message.module.scss` so typography matches\n * the component and host shells (docs, patterns) cannot restyle bare tags.\n */\n children: React.ReactNode;\n /** Link Preview block — renders after `children`. */\n linkPreview?: React.ReactNode;\n /** Image Preview block(s) — renders after the link preview slot. */\n imagePreviews?: React.ReactNode;\n /** Trailing body content — e.g. attachments and reactions — renders last. */\n footer?: React.ReactNode;\n};\n\nexport default function Message({\n avatarSrc,\n avatarAlt,\n username,\n timestamp,\n isBot = false,\n botLabel,\n messageActionsType = 'center-channel',\n showMessageActions = true,\n showPinnedSavedIndicators = false,\n className = '',\n children,\n linkPreview,\n imagePreviews,\n footer,\n}: MessageProps) {\n const rootClass = [styles.message, className].filter(Boolean).join(' ');\n\n return (\n <div className={rootClass}>\n {showPinnedSavedIndicators && (\n <div className={styles['message__pinned']}>\n <PinnedSavedIndicators />\n </div>\n )}\n <div className={styles['message__layout']}>\n <div className={styles['message__avatar-col']}>\n <UserAvatar src={avatarSrc} alt={avatarAlt} size=\"32\" />\n </div>\n <div className={styles['message__content']}>\n <div className={styles['message__header-row']}>\n <div className={styles['message__header-block']}>\n <MessageHeader\n username={username}\n timestamp={timestamp}\n isBot={isBot}\n botLabel={botLabel}\n />\n </div>\n {showMessageActions && (\n <div className={styles['message__actions-slot']}>\n <MessageActions type={messageActionsType} />\n </div>\n )}\n </div>\n <div className={styles['message__body']}>\n {children}\n {linkPreview != null && (\n <div className={styles['message__link-preview-slot']}>\n {linkPreview}\n </div>\n )}\n {imagePreviews != null && (\n <div className={styles['message__images-slot']}>{imagePreviews}</div>\n )}\n {footer != null && (\n <div className={styles['message__footer-slot']}>{footer}</div>\n )}\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"names":["Message","avatarSrc","avatarAlt","username","timestamp","isBot","botLabel","messageActionsType","showMessageActions","showPinnedSavedIndicators","className","children","linkPreview","imagePreviews","footer","rootClass","styles","jsxs","jsx","PinnedSavedIndicators","UserAvatar","MessageHeader","MessageActions"],"mappings":"oYAsCA,SAAwBA,EAAQ,CAC9B,UAAAC,EACA,UAAAC,EACA,SAAAC,EACA,UAAAC,EACA,MAAAC,EAAQ,GACR,SAAAC,EACA,mBAAAC,EAAqB,iBACrB,mBAAAC,EAAqB,GACrB,0BAAAC,EAA4B,GAC5B,UAAAC,EAAY,GACZ,SAAAC,EACA,YAAAC,EACA,cAAAC,EACA,OAAAC,CACF,EAAiB,CACf,MAAMC,EAAY,CAACC,EAAAA,QAAO,QAASN,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAEtE,OACEO,EAAAA,KAAC,MAAA,CAAI,UAAWF,EACb,SAAA,CAAAN,GACCS,EAAAA,IAAC,OAAI,UA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ions/MessageActions';
3
- type MessageProps = {
4
- avatarSrc?: string;
5
- avatarAlt: string;
6
- username: string;
7
- timestamp: string;
8
- isBot?: boolean;
9
- botLabel?: string;
10
- /** Hover toolbar context. Default: Center Channel. */
11
- messageActionsType?: MessageActionsType;
12
- /** When false, the hover Message Actions toolbar is omitted. Default: true. */
13
- showMessageActions?: boolean;
14
- /** When true, Pinned + Saved row appears at the top of the message container. */
15
- showPinnedSavedIndicators?: boolean;
16
- /** Merged onto the root element (e.g. documentation modifiers). */
17
- className?: string;
18
- /**
19
- * Primary body content (e.g. message text). When using structured slots, this
20
- * is usually the markdown/text block only. For plain `<p>` copy, use the
21
- * `message__body-text` class from `Message.module.scss` so typography matches
22
- * the component and host shells (docs, patterns) cannot restyle bare tags.
23
- */
24
- children: React.ReactNode;
25
- /** Link Preview block — renders after `children`. */
26
- linkPreview?: React.ReactNode;
27
- /** Image Preview block(s) — renders after the link preview slot. */
28
- imagePreviews?: React.ReactNode;
29
- /** Trailing body content — e.g. attachments and reactions — renders last. */
30
- footer?: React.ReactNode;
31
- };
32
- export default function Message({ avatarSrc, avatarAlt, username, timestamp, isBot, botLabel, messageActionsType, showMessageActions, showPinnedSavedIndicators, className, children, linkPreview, imagePreviews, footer, }: MessageProps): import("react/jsx-runtime").JSX.Element;
33
- export {};
34
- //# sourceMappingURL=Message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAIrF,KAAK,YAAY,GAAG;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,+EAA+E;IAC/E,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iFAAiF;IACjF,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,qDAAqD;IACrD,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,oEAAoE;IACpE,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,6EAA6E;IAC7E,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAC9B,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,KAAa,EACb,QAAQ,EACR,kBAAqC,EACrC,kBAAyB,EACzB,yBAAiC,EACjC,SAAc,EACd,QAAQ,EACR,WAAW,EACX,aAAa,EACb,MAAM,GACP,EAAE,YAAY,2CAgDd"}
@@ -1,54 +0,0 @@
1
- import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
- import p from "../user-avatar/UserAvatar.js";
3
- import u from "../message-header/MessageHeader.js";
4
- import y from "../message-actions/MessageActions.js";
5
- import j from "../pinned-saved-indicators/PinnedSavedIndicators.js";
6
- import e from "./Message.module.scss.js";
7
- function B({
8
- avatarSrc: m,
9
- avatarAlt: c,
10
- username: d,
11
- timestamp: n,
12
- isBot: o = !1,
13
- botLabel: t,
14
- messageActionsType: _ = "center-channel",
15
- showMessageActions: g = !0,
16
- showPinnedSavedIndicators: h = !1,
17
- className: v = "",
18
- children: N,
19
- linkPreview: l,
20
- imagePreviews: r,
21
- footer: i
22
- }) {
23
- const f = [e.message, v].filter(Boolean).join(" ");
24
- return /* @__PURE__ */ a("div", { className: f, children: [
25
- h && /* @__PURE__ */ s("div", { className: e.message__pinned, children: /* @__PURE__ */ s(j, {}) }),
26
- /* @__PURE__ */ a("div", { className: e.message__layout, children: [
27
- /* @__PURE__ */ s("div", { className: e["message__avatar-col"], children: /* @__PURE__ */ s(p, { src: m, alt: c, size: "32" }) }),
28
- /* @__PURE__ */ a("div", { className: e.message__content, children: [
29
- /* @__PURE__ */ a("div", { className: e["message__header-row"], children: [
30
- /* @__PURE__ */ s("div", { className: e["message__header-block"], children: /* @__PURE__ */ s(
31
- u,
32
- {
33
- username: d,
34
- timestamp: n,
35
- isBot: o,
36
- botLabel: t
37
- }
38
- ) }),
39
- g && /* @__PURE__ */ s("div", { className: e["message__actions-slot"], children: /* @__PURE__ */ s(y, { type: _ }) })
40
- ] }),
41
- /* @__PURE__ */ a("div", { className: e.message__body, children: [
42
- N,
43
- l != null && /* @__PURE__ */ s("div", { className: e["message__link-preview-slot"], children: l }),
44
- r != null && /* @__PURE__ */ s("div", { className: e["message__images-slot"], children: r }),
45
- i != null && /* @__PURE__ */ s("div", { className: e["message__footer-slot"], children: i })
46
- ] })
47
- ] })
48
- ] })
49
- ] });
50
- }
51
- export {
52
- B as default
53
- };
54
- //# sourceMappingURL=Message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.js","sources":["../../../src/components/message/Message.tsx"],"sourcesContent":["import React from 'react';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport MessageHeader from '@/components/message-header/MessageHeader';\nimport MessageActions from '@/components/message-actions/MessageActions';\nimport type { MessageActionsType } from '@/components/message-actions/MessageActions';\nimport PinnedSavedIndicators from '@/components/pinned-saved-indicators/PinnedSavedIndicators';\nimport styles from './Message.module.scss';\n\ntype MessageProps = {\n avatarSrc?: string;\n avatarAlt: string;\n username: string;\n timestamp: string;\n isBot?: boolean;\n botLabel?: string;\n /** Hover toolbar context. Default: Center Channel. */\n messageActionsType?: MessageActionsType;\n /** When false, the hover Message Actions toolbar is omitted. Default: true. */\n showMessageActions?: boolean;\n /** When true, Pinned + Saved row appears at the top of the message container. */\n showPinnedSavedIndicators?: boolean;\n /** Merged onto the root element (e.g. documentation modifiers). */\n className?: string;\n /**\n * Primary body content (e.g. message text). When using structured slots, this\n * is usually the markdown/text block only. For plain `<p>` copy, use the\n * `message__body-text` class from `Message.module.scss` so typography matches\n * the component and host shells (docs, patterns) cannot restyle bare tags.\n */\n children: React.ReactNode;\n /** Link Preview block — renders after `children`. */\n linkPreview?: React.ReactNode;\n /** Image Preview block(s) — renders after the link preview slot. */\n imagePreviews?: React.ReactNode;\n /** Trailing body content — e.g. attachments and reactions — renders last. */\n footer?: React.ReactNode;\n};\n\nexport default function Message({\n avatarSrc,\n avatarAlt,\n username,\n timestamp,\n isBot = false,\n botLabel,\n messageActionsType = 'center-channel',\n showMessageActions = true,\n showPinnedSavedIndicators = false,\n className = '',\n children,\n linkPreview,\n imagePreviews,\n footer,\n}: MessageProps) {\n const rootClass = [styles.message, className].filter(Boolean).join(' ');\n\n return (\n <div className={rootClass}>\n {showPinnedSavedIndicators && (\n <div className={styles['message__pinned']}>\n <PinnedSavedIndicators />\n </div>\n )}\n <div className={styles['message__layout']}>\n <div className={styles['message__avatar-col']}>\n <UserAvatar src={avatarSrc} alt={avatarAlt} size=\"32\" />\n </div>\n <div className={styles['message__content']}>\n <div className={styles['message__header-row']}>\n <div className={styles['message__header-block']}>\n <MessageHeader\n username={username}\n timestamp={timestamp}\n isBot={isBot}\n botLabel={botLabel}\n />\n </div>\n {showMessageActions && (\n <div className={styles['message__actions-slot']}>\n <MessageActions type={messageActionsType} />\n </div>\n )}\n </div>\n <div className={styles['message__body']}>\n {children}\n {linkPreview != null && (\n <div className={styles['message__link-preview-slot']}>\n {linkPreview}\n </div>\n )}\n {imagePreviews != null && (\n <div className={styles['message__images-slot']}>{imagePreviews}</div>\n )}\n {footer != null && (\n <div className={styles['message__footer-slot']}>{footer}</div>\n )}\n </div>\n </div>\n </div>\n </div>\n );\n}\n"],"names":["Message","avatarSrc","avatarAlt","username","timestamp","isBot","botLabel","messageActionsType","showMessageActions","showPinnedSavedIndicators","className","children","linkPreview","imagePreviews","footer","rootClass","styles","jsxs","jsx","PinnedSavedIndicators","UserAvatar","MessageHeader","MessageActions"],"mappings":";;;;;;AAsCA,SAAwBA,EAAQ;AAAA,EAC9B,WAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,WAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,UAAAC;AAAA,EACA,oBAAAC,IAAqB;AAAA,EACrB,oBAAAC,IAAqB;AAAA,EACrB,2BAAAC,IAA4B;AAAA,EAC5B,WAAAC,IAAY;AAAA,EACZ,UAAAC;AAAA,EACA,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,QAAAC;AACF,GAAiB;AACf,QAAMC,IAAY,CAACC,EAAO,SAASN,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAEtE,SACE,gBAAAO,EAAC,OAAA,EAAI,WAAWF,GACb,UAAA;AAAA,IAAAN,KACC,gBAAAS,EAAC,SAAI,WAAWF,EAAO,iBACrB,UAAA,gBAAAE,EAACC,KAAsB,EAAA,CACzB;AAAA,IAEF,gBAAAF,EAAC,OAAA,EAAI,WAAWD,EAAO,iBACrB,UAAA;AAAA,MAAA,gBAAAE,EAAC,OAAA,EAAI,WAAWF,EAAO,qBAAqB,GAC1C,UAAA,gBAAAE,EAACE,GAAA,EAAW,KAAKnB,GAAW,KAAKC,GAAW,MAAK,MAAK,GACxD;AAAA,MACA,gBAAAe,EAAC,OAAA,EAAI,WAAWD,EAAO,kBACrB,UAAA;AAAA,QAAA,gBAAAC,EAAC,OAAA,EAAI,WAAWD,EAAO,qBAAqB,GAC1C,UAAA;AAAA,UAAA,gBAAAE,EAAC,OAAA,EAAI,WAAWF,EAAO,uBAAuB,GAC5C,UAAA,gBAAAE;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,UAAAlB;AAAA,cACA,WAAAC;AAAA,cACA,OAAAC;AAAA,cACA,UAAAC;AAAA,YAAA;AAAA,UAAA,GAEJ;AAAA,UACCE,KACC,gBAAAU,EAAC,OAAA,EAAI,WAAWF,EAAO,uBAAuB,GAC5C,UAAA,gBAAAE,EAACI,GAAA,EAAe,MAAMf,EAAA,CAAoB,EAAA,CAC5C;AAAA,QAAA,GAEJ;AAAA,QACA,gBAAAU,EAAC,OAAA,EAAI,WAAWD,EAAO,eACpB,UAAA;AAAA,UAAAL;AAAA,UACAC,KAAe,QACd,gBAAAM,EAAC,OAAA,EAAI,WAAWF,EAAO,4BAA4B,GAChD,UAAAJ,GACH;AAAA,UAEDC,KAAiB,QAChB,gBAAAK,EAAC,OAAA,EAAI,WAAWF,EAAO,sBAAsB,GAAI,UAAAH,GAAc;AAAA,UAEhEC,KAAU,QACT,gBAAAI,EAAC,OAAA,EAAI,WAAWF,EAAO,sBAAsB,GAAI,UAAAF,EAAA,CAAO;AAAA,QAAA,EAAA,CAE5D;AAAA,MAAA,EAAA,CACF;AAAA,IAAA,EAAA,CACF;AAAA,EAAA,GACF;AAEJ;"}
@@ -1 +0,0 @@
1
- @charset "UTF-8";._message_12etc_3{display:flex;flex-direction:column;gap:var(--spacing-xs);padding:var(--spacing-xs) var(--spacing-xxl);background-color:var(--center-channel-bg);transition:background-color var(--duration-quick) var(--ease-transition)}._message_12etc_3:hover,._message_12etc_3:focus-within{background-color:color-mix(in srgb,var(--center-channel-color) 4%,var(--center-channel-bg))}._message--actions-visible_12etc_18 ._message__actions-slot_12etc_18{opacity:1;pointer-events:auto}._message--state-hover_12etc_25{background-color:color-mix(in srgb,var(--center-channel-color) 4%,var(--center-channel-bg))}._message--state-hover_12etc_25 ._message__actions-slot_12etc_18{opacity:1;pointer-events:auto}._message__pinned_12etc_32{flex-shrink:0;width:100%;min-width:0}._message__layout_12etc_37{display:flex;gap:var(--spacing-m);align-items:flex-start}._message__avatar-col_12etc_42{flex-shrink:0;display:flex;flex-direction:column;align-items:center}._message__content_12etc_48{display:flex;flex-direction:column;gap:var(--spacing-xxxs);flex:1;min-width:0}._message__header-row_12etc_55{position:relative;min-width:0}._message__header-block_12etc_59{min-width:0}._message__actions-slot_12etc_18{position:absolute;top:-16px;right:0;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--duration-quick) var(--ease-transition)}._message_12etc_3:hover ._message__actions-slot_12etc_18,._message_12etc_3:focus-within ._message__actions-slot_12etc_18{opacity:1;pointer-events:auto}._message__body_12etc_75{display:flex;flex-direction:column;gap:var(--spacing-xs)}._message__body-text_12etc_83{font-family:var(--font-family-body);font-size:var(--font-size-100);line-height:var(--line-height-100);color:var(--center-channel-color);margin:0}._message__link-preview-slot_12etc_90{min-width:0}._message__footer-slot_12etc_93{display:flex;flex-direction:column;gap:var(--spacing-xs);min-width:0}._message__images-slot_12etc_99{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:var(--spacing-xs);min-width:0}._message__images-slot_12etc_99>*{flex:0 1 auto;align-self:flex-start;max-width:100%;min-width:0}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Message.module.css');const e="_message_12etc_3",_="_message__pinned_12etc_32",s="_message__layout_12etc_37",a="_message__content_12etc_48",t="_message__body_12etc_75",o={message:e,"message--actions-visible":"_message--actions-visible_12etc_18","message__actions-slot":"_message__actions-slot_12etc_18","message--state-hover":"_message--state-hover_12etc_25",message__pinned:_,message__layout:s,"message__avatar-col":"_message__avatar-col_12etc_42",message__content:a,"message__header-row":"_message__header-row_12etc_55","message__header-block":"_message__header-block_12etc_59",message__body:t,"message__body-text":"_message__body-text_12etc_83","message__link-preview-slot":"_message__link-preview-slot_12etc_90","message__footer-slot":"_message__footer-slot_12etc_93","message__images-slot":"_message__images-slot_12etc_99"};exports.default=o;exports.message=e;exports.message__body=t;exports.message__content=a;exports.message__layout=s;exports.message__pinned=_;
2
- //# sourceMappingURL=Message.module.scss.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- import './Message.module.css';const e = "_message_12etc_3", _ = "_message__pinned_12etc_32", s = "_message__layout_12etc_37", a = "_message__content_12etc_48", t = "_message__body_12etc_75", o = {
2
- message: e,
3
- "message--actions-visible": "_message--actions-visible_12etc_18",
4
- "message__actions-slot": "_message__actions-slot_12etc_18",
5
- "message--state-hover": "_message--state-hover_12etc_25",
6
- message__pinned: _,
7
- message__layout: s,
8
- "message__avatar-col": "_message__avatar-col_12etc_42",
9
- message__content: a,
10
- "message__header-row": "_message__header-row_12etc_55",
11
- "message__header-block": "_message__header-block_12etc_59",
12
- message__body: t,
13
- "message__body-text": "_message__body-text_12etc_83",
14
- "message__link-preview-slot": "_message__link-preview-slot_12etc_90",
15
- "message__footer-slot": "_message__footer-slot_12etc_93",
16
- "message__images-slot": "_message__images-slot_12etc_99"
17
- };
18
- export {
19
- o as default,
20
- e as message,
21
- t as message__body,
22
- a as message__content,
23
- s as message__layout,
24
- _ as message__pinned
25
- };
26
- //# sourceMappingURL=Message.module.scss.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Message.cjs"),s=require("./Message.module.scss.cjs");exports.Message=e.default;exports.messageStyles=s.default;
2
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export { default as Message } from './Message';
2
- export type * from './Message';
3
- export { default as messageStyles } from './Message.module.scss';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/message/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,mBAAmB,WAAW,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,7 +0,0 @@
1
- import { default as a } from "./Message.js";
2
- import { default as f } from "./Message.module.scss.js";
3
- export {
4
- a as Message,
5
- f as messageStyles
6
- };
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),r=require("react"),__z=require("@mattermost/compass-icons/components/alert-circle-outline.js"),z=__z?.default??__z,__y=require("@mattermost/compass-icons/components/chevron-down.js"),y=__y?.default??__y,__H=require("@mattermost/compass-icons/components/chevron-up.js"),H=__H?.default??__H,__P=require("@mattermost/compass-icons/components/dots-horizontal.js"),P=__P?.default??__P,__D=require("@mattermost/compass-icons/components/code-tags.js"),D=__D?.default??__D,__L=require("@mattermost/compass-icons/components/creation-outline.js"),L=__L?.default??__L,__E=require("@mattermost/compass-icons/components/emoticon-happy-outline.js"),E=__E?.default??__E,__V=require("@mattermost/compass-icons/components/eye-outline.js"),V=__V?.default??__V,__K=require("@mattermost/compass-icons/components/fire.js"),K=__K?.default??__K,__v=require("@mattermost/compass-icons/components/format-bold.js"),v=__v?.default??__v,__Q=require("@mattermost/compass-icons/components/format-header.js"),Q=__Q?.default??__Q,__N=require("@mattermost/compass-icons/components/format-italic.js"),N=__N?.default??__N,__U=require("@mattermost/compass-icons/components/format-letter-case.js"),U=__U?.default??__U,__W=require("@mattermost/compass-icons/components/format-list-bulleted.js"),W=__W?.default??__W,__G=require("@mattermost/compass-icons/components/format-list-numbered.js"),G=__G?.default??__G,__$=require("@mattermost/compass-icons/components/format-quote-open.js"),$=__$?.default??__$,__J=require("@mattermost/compass-icons/components/format-strikethrough-variant.js"),J=__J?.default??__J,__I=require("@mattermost/compass-icons/components/link-variant.js"),I=__I?.default??__I,__X=require("@mattermost/compass-icons/components/paperclip.js"),X=__X?.default??__X,__Y=require("@mattermost/compass-icons/components/send.js"),Y=__Y?.default??__Y,a=require("../icon/Icon.cjs"),t=require("../icon-button/IconButton.cjs"),Z=require("../tag/Tag.cjs"),q=require("../attachment-card/AttachmentCard.cjs"),s=require("./MessageInput.module.scss.cjs");function ee({className:w="",placeholder:F="Message channel…",showPriorityIndicator:B=!1,showAttachments:M=!1,value:p,onChange:u,onSelectionChange:d,inputRef:x,width:o="wide"}){const[T,O]=r.useState(""),j=p!==void 0,c=j?p:T,S=l=>{j?u==null||u(l):O(l)},[i,A]=r.useState(!1),g=r.useRef(null),k=l=>{g.current=l,x&&(x.current=l)},m=r.useCallback(()=>{const l=g.current;l&&(l.style.height="auto",l.style.height=`${l.scrollHeight}px`)},[]);r.useEffect(()=>{m()},[c,m]);const f=c.trim().length>0,n=(l,b)=>[s.default[l],b?s.default[b]:""].filter(Boolean).join(" "),C=o==="narrow"&&i,_=i&&o==="wide",h=e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",className:n("message-input__format-btn",i?"message-input__format-btn--active":""),"aria-label":i?"Hide formatting toolbar":"Show formatting toolbar","aria-pressed":i,onClick:()=>A(l=>!l),children:[e.jsx(a.default,{glyph:e.jsx(U,{}),size:"16"}),C?e.jsx("span",{className:s.default["message-input__format-chevron"],children:e.jsx(a.default,{glyph:e.jsx(H,{}),size:"12"})}):e.jsx("span",{className:n("message-input__format-chevron",i?"message-input__format-chevron--rotated":""),children:e.jsx(a.default,{glyph:e.jsx(y,{}),size:"12"})})]}),e.jsx("span",{className:s.default["message-input__actions-divider"],"aria-hidden":!0}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(X,{}),size:"16"}),size:"small","aria-label":"Attach a file"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(E,{}),size:"16"}),size:"small","aria-label":"Add an emoji"}),e.jsxs("div",{className:n("message-input__send",f?"":"message-input__send--disabled"),children:[e.jsx("button",{type:"button",className:s.default["message-input__send-main"],"aria-label":"Send message",disabled:!f,children:e.jsx(a.default,{glyph:e.jsx(Y,{}),size:"16"})}),e.jsx("button",{type:"button",className:s.default["message-input__send-dropdown"],"aria-label":"Send options",disabled:!f,children:e.jsx(a.default,{glyph:e.jsx(y,{}),size:"16"})})]})]}),R=[s.default["message-input"],o==="narrow"?s.default["message-input--width-narrow"]:"",w].filter(Boolean).join(" ");return e.jsx("div",{className:R,children:e.jsxs("div",{className:n("message-input__container",i?"message-input__container--formatting-open":""),children:[e.jsx("button",{type:"button",className:n("message-input__preview-btn",i?"message-input__preview-btn--visible":""),"aria-label":"Preview",tabIndex:i?0:-1,children:e.jsx(a.default,{glyph:e.jsx(V,{}),size:"16"})}),e.jsxs("div",{className:n("message-input__body",i?"message-input__body--formatting-open":""),children:[B&&e.jsx("div",{className:s.default["message-input__priority-row"],children:e.jsx(Z.default,{label:"IMPORTANT",type:"info",size:"x-small",casing:"all-caps",leadingIcon:e.jsx(a.default,{glyph:e.jsx(z,{}),size:"10"})})}),e.jsx("textarea",{ref:k,className:s.default["message-input__textarea"],placeholder:F,value:c,onChange:l=>S(l.target.value),onInput:m,onSelect:d,onKeyUp:d,onClick:d,rows:1})]}),M&&e.jsx("div",{className:s.default["message-input__attachments"],children:e.jsxs("div",{className:s.default["message-input__attachments-list"],children:[e.jsx(q.default,{fileName:"Design_Brief.pdf",fileMeta:"PDF 240KB",fileType:"pdf",state:"default",onRemove:()=>{}}),e.jsx(q.default,{fileName:"Wireframes_v3.png",fileMeta:"PNG 1.2MB",fileType:"image-icon",state:"default",onRemove:()=>{}})]})}),e.jsx("div",{className:n("message-input__formatting-bar",_?"message-input__formatting-bar--open":""),"aria-hidden":!_,children:e.jsxs("div",{className:s.default["message-input__toolbar-controls"],children:[e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(v,{}),size:"16"}),size:"small","aria-label":"Bold"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(N,{}),size:"16"}),size:"small","aria-label":"Italic"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(J,{}),size:"16"}),size:"small","aria-label":"Strikethrough"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(Q,{}),size:"16"}),size:"small","aria-label":"Heading"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(I,{}),size:"16"}),size:"small","aria-label":"Add link"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(D,{}),size:"16"}),size:"small","aria-label":"Code"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx($,{}),size:"16"}),size:"small","aria-label":"Quote"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(W,{}),size:"16"}),size:"small","aria-label":"Bulleted list"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(G,{}),size:"16"}),size:"small","aria-label":"Numbered list"})]}),e.jsx("span",{className:s.default["message-input__toolbar-divider"],"aria-hidden":!0}),e.jsxs("div",{className:s.default["message-input__toolbar-group"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(z,{}),size:"16"}),size:"small","aria-label":"Message priority"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(K,{}),size:"16"}),size:"small","aria-label":"Burn on read"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(L,{}),size:"16"}),size:"small","aria-label":"AI assistance"})]})]})}),o==="narrow"?e.jsxs("div",{className:s.default["message-input__narrow-chrome"],children:[e.jsx("div",{className:s.default["message-input__narrow-chrome-left"],children:i&&e.jsxs("div",{className:s.default["message-input__formatting-collapsed"],children:[e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(v,{}),size:"16"}),size:"small","aria-label":"Bold"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(N,{}),size:"16"}),size:"small","aria-label":"Italic"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(I,{}),size:"16"}),size:"small","aria-label":"Add link"}),e.jsx(t.default,{icon:e.jsx(a.default,{glyph:e.jsx(P,{}),size:"16"}),size:"small","aria-label":"More formatting options"})]})}),e.jsx("div",{className:[s.default["message-input__actions"],s.default["message-input__actions--narrow-chrome"]].join(" "),children:h})]}):e.jsx("div",{className:s.default["message-input__actions"],children:h})]})})}exports.default=ee;
2
- //# sourceMappingURL=MessageInput.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageInput.cjs","sources":["../../../src/components/message-input/MessageInput.tsx"],"sourcesContent":["import { useEffect, useState, useRef, useCallback } from 'react';\nimport AlertCircleOutlineIcon from '@mattermost/compass-icons/components/alert-circle-outline';\nimport ChevronDownIcon from '@mattermost/compass-icons/components/chevron-down';\nimport ChevronUpIcon from '@mattermost/compass-icons/components/chevron-up';\nimport DotsHorizontalIcon from '@mattermost/compass-icons/components/dots-horizontal';\nimport CodeTagsIcon from '@mattermost/compass-icons/components/code-tags';\nimport CreationOutlineIcon from '@mattermost/compass-icons/components/creation-outline';\nimport EmoticonHappyOutlineIcon from '@mattermost/compass-icons/components/emoticon-happy-outline';\nimport EyeOutlineIcon from '@mattermost/compass-icons/components/eye-outline';\nimport FireIcon from '@mattermost/compass-icons/components/fire';\nimport FormatBoldIcon from '@mattermost/compass-icons/components/format-bold';\nimport FormatHeaderIcon from '@mattermost/compass-icons/components/format-header';\nimport FormatItalicIcon from '@mattermost/compass-icons/components/format-italic';\nimport FormatLetterCaseIcon from '@mattermost/compass-icons/components/format-letter-case';\nimport FormatListBulletedIcon from '@mattermost/compass-icons/components/format-list-bulleted';\nimport FormatListNumberedIcon from '@mattermost/compass-icons/components/format-list-numbered';\nimport FormatQuoteOpenIcon from '@mattermost/compass-icons/components/format-quote-open';\nimport FormatStrikethroughVariantIcon from '@mattermost/compass-icons/components/format-strikethrough-variant';\nimport LinkVariantIcon from '@mattermost/compass-icons/components/link-variant';\nimport PaperclipIcon from '@mattermost/compass-icons/components/paperclip';\nimport SendIcon from '@mattermost/compass-icons/components/send';\nimport Icon from '@/components/icon/Icon';\nimport IconButton from '@/components/icon-button/IconButton';\nimport Tag from '@/components/tag/Tag';\nimport AttachmentCard from '@/components/attachment-card/AttachmentCard';\nimport styles from './MessageInput.module.scss';\n\nexport type MessageInputWidth = 'wide' | 'narrow';\n\nexport interface MessageInputProps {\n className?: string;\n placeholder?: string;\n showPriorityIndicator?: boolean;\n showAttachments?: boolean;\n value?: string;\n onChange?: (value: string) => void;\n onSelectionChange?: () => void;\n inputRef?: React.RefObject<HTMLTextAreaElement | null>;\n /** `narrow` matches the Figma Message Input “Narrow” / right-sidebar layout. */\n width?: MessageInputWidth;\n}\n\nexport default function MessageInput({\n className = '',\n placeholder = 'Message channel…',\n showPriorityIndicator = false,\n showAttachments = false,\n value,\n onChange,\n onSelectionChange,\n inputRef,\n width = 'wide',\n}: MessageInputProps) {\n const [internalText, setInternalText] = useState('');\n const isControlled = value !== undefined;\n const text = isControlled ? value : internalText;\n const setText = (next: string) => {\n if (isControlled) onChange?.(next);\n else setInternalText(next);\n };\n const [formattingOpen, setFormattingOpen] = useState(false);\n const internalRef = useRef<HTMLTextAreaElement>(null);\n\n const setTextareaRef = (node: HTMLTextAreaElement | null) => {\n internalRef.current = node;\n if (inputRef) {\n (inputRef as React.MutableRefObject<HTMLTextAreaElement | null>).current = node;\n }\n };\n\n const handleInput = useCallback(() => {\n const el = internalRef.current;\n if (!el) return;\n el.style.height = 'auto';\n el.style.height = `${el.scrollHeight}px`;\n }, []);\n\n useEffect(() => {\n handleInput();\n }, [text, handleInput]);\n\n const hasSendValue = text.trim().length > 0;\n\n const cls = (base: string, mod?: string) =>\n [styles[base], mod ? styles[mod] : ''].filter(Boolean).join(' ');\n\n const isNarrowFormattingOpen = width === 'narrow' && formattingOpen;\n const showWideFormattingBar = formattingOpen && width === 'wide';\n\n const composerActions = (\n <>\n <button\n type=\"button\"\n className={cls(\n 'message-input__format-btn',\n formattingOpen ? 'message-input__format-btn--active' : '',\n )}\n aria-label={\n formattingOpen\n ? 'Hide formatting toolbar'\n : 'Show formatting toolbar'\n }\n aria-pressed={formattingOpen}\n onClick={() => setFormattingOpen((prev) => !prev)}\n >\n <Icon glyph={<FormatLetterCaseIcon />} size=\"16\" />\n {isNarrowFormattingOpen ? (\n <span className={styles['message-input__format-chevron']}>\n <Icon glyph={<ChevronUpIcon />} size=\"12\" />\n </span>\n ) : (\n <span\n className={cls(\n 'message-input__format-chevron',\n formattingOpen ? 'message-input__format-chevron--rotated' : '',\n )}\n >\n <Icon glyph={<ChevronDownIcon />} size=\"12\" />\n </span>\n )}\n </button>\n\n <span\n className={styles['message-input__actions-divider']}\n aria-hidden\n />\n\n <IconButton\n icon={<Icon glyph={<PaperclipIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Attach a file\"\n />\n <IconButton\n icon={<Icon glyph={<EmoticonHappyOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add an emoji\"\n />\n\n <div\n className={cls(\n 'message-input__send',\n !hasSendValue ? 'message-input__send--disabled' : '',\n )}\n >\n <button\n type=\"button\"\n className={styles['message-input__send-main']}\n aria-label=\"Send message\"\n disabled={!hasSendValue}\n >\n <Icon glyph={<SendIcon />} size=\"16\" />\n </button>\n <button\n type=\"button\"\n className={styles['message-input__send-dropdown']}\n aria-label=\"Send options\"\n disabled={!hasSendValue}\n >\n <Icon glyph={<ChevronDownIcon />} size=\"16\" />\n </button>\n </div>\n </>\n );\n\n const rootClass = [\n styles['message-input'],\n width === 'narrow' ? styles['message-input--width-narrow'] : '',\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass}>\n <div\n className={cls(\n 'message-input__container',\n formattingOpen ? 'message-input__container--formatting-open' : '',\n )}\n >\n {/* Preview button — fades in when formatting is open */}\n <button\n type=\"button\"\n className={cls(\n 'message-input__preview-btn',\n formattingOpen ? 'message-input__preview-btn--visible' : '',\n )}\n aria-label=\"Preview\"\n tabIndex={formattingOpen ? 0 : -1}\n >\n <Icon glyph={<EyeOutlineIcon />} size=\"16\" />\n </button>\n\n {/* Main text area */}\n <div\n className={cls(\n 'message-input__body',\n formattingOpen ? 'message-input__body--formatting-open' : '',\n )}\n >\n {showPriorityIndicator && (\n <div className={styles['message-input__priority-row']}>\n <Tag\n label=\"IMPORTANT\"\n type=\"info\"\n size=\"x-small\"\n casing=\"all-caps\"\n leadingIcon={\n <Icon glyph={<AlertCircleOutlineIcon />} size=\"10\" />\n }\n />\n </div>\n )}\n <textarea\n ref={setTextareaRef}\n className={styles['message-input__textarea']}\n placeholder={placeholder}\n value={text}\n onChange={(e) => setText(e.target.value)}\n onInput={handleInput}\n onSelect={onSelectionChange}\n onKeyUp={onSelectionChange}\n onClick={onSelectionChange}\n rows={1}\n />\n </div>\n\n {/* Attachment cards */}\n {showAttachments && (\n <div className={styles['message-input__attachments']}>\n <div className={styles['message-input__attachments-list']}>\n <AttachmentCard\n fileName=\"Design_Brief.pdf\"\n fileMeta=\"PDF 240KB\"\n fileType=\"pdf\"\n state=\"default\"\n onRemove={() => {}}\n />\n <AttachmentCard\n fileName=\"Wireframes_v3.png\"\n fileMeta=\"PNG 1.2MB\"\n fileType=\"image-icon\"\n state=\"default\"\n onRemove={() => {}}\n />\n </div>\n </div>\n )}\n\n {/* Formatting toolbar — full bar (wide only); narrow uses collapsed strip in footer */}\n <div\n className={cls(\n 'message-input__formatting-bar',\n showWideFormattingBar ? 'message-input__formatting-bar--open' : '',\n )}\n aria-hidden={!showWideFormattingBar}\n >\n <div className={styles['message-input__toolbar-controls']}>\n {/* Style */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<FormatBoldIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bold\"\n />\n <IconButton\n icon={<Icon glyph={<FormatItalicIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Italic\"\n />\n <IconButton\n icon={\n <Icon glyph={<FormatStrikethroughVariantIcon />} size=\"16\" />\n }\n size=\"small\"\n aria-label=\"Strikethrough\"\n />\n <IconButton\n icon={<Icon glyph={<FormatHeaderIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Heading\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Links + Code */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<LinkVariantIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add link\"\n />\n <IconButton\n icon={<Icon glyph={<CodeTagsIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Code\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Paragraph */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<FormatQuoteOpenIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Quote\"\n />\n <IconButton\n icon={<Icon glyph={<FormatListBulletedIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bulleted list\"\n />\n <IconButton\n icon={<Icon glyph={<FormatListNumberedIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Numbered list\"\n />\n </div>\n\n <span\n className={styles['message-input__toolbar-divider']}\n aria-hidden\n />\n\n {/* Tools */}\n <div className={styles['message-input__toolbar-group']}>\n <IconButton\n icon={<Icon glyph={<AlertCircleOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Message priority\"\n />\n <IconButton\n icon={<Icon glyph={<FireIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Burn on read\"\n />\n <IconButton\n icon={<Icon glyph={<CreationOutlineIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"AI assistance\"\n />\n </div>\n </div>\n </div>\n\n {width === 'narrow' ? (\n <div className={styles['message-input__narrow-chrome']}>\n <div className={styles['message-input__narrow-chrome-left']}>\n {formattingOpen && (\n <div className={styles['message-input__formatting-collapsed']}>\n <IconButton\n icon={<Icon glyph={<FormatBoldIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Bold\"\n />\n <IconButton\n icon={<Icon glyph={<FormatItalicIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Italic\"\n />\n <IconButton\n icon={<Icon glyph={<LinkVariantIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"Add link\"\n />\n <IconButton\n icon={<Icon glyph={<DotsHorizontalIcon />} size=\"16\" />}\n size=\"small\"\n aria-label=\"More formatting options\"\n />\n </div>\n )}\n </div>\n <div\n className={[\n styles['message-input__actions'],\n styles['message-input__actions--narrow-chrome'],\n ].join(' ')}\n >\n {composerActions}\n </div>\n </div>\n ) : (\n <div className={styles['message-input__actions']}>{composerActions}</div>\n )}\n </div>\n </div>\n );\n}\n"],"names":["MessageInput","className","placeholder","showPriorityIndicator","showAttachments","value","onChange","onSelectionChange","inputRef","width","internalText","setInternalText","useState","isControlled","text","setText","next","formattingOpen","setFormattingOpen","internalRef","useRef","setTextareaRef","node","handleInput","useCallback","el","useEffect","hasSendValue","cls","base","mod","styles","isNarrowFormattingOpen","showWideFormattingBar","composerActions","jsxs","Fragment","prev","jsx","Icon","FormatLetterCaseIcon","ChevronUpIcon","ChevronDownIcon","IconButton","PaperclipIcon","EmoticonHappyOutlineIcon","SendIcon","rootClass","EyeOutlineIcon","Tag","AlertCircleOutlineIcon","e","AttachmentCard","FormatBoldIcon","FormatItalicIcon","FormatStrikethroughVariantIcon","FormatHeaderIcon","LinkVariantIcon","Cod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C,CAAA,EAC9C,KAAK,GAAG,EAET,SAAAG,CAAA,CAAA,CACH,EACF,EAEAI,MAAC,MAAA,CAAI,UAAWP,EAAAA,QAAO,wBAAwB,EAAI,SAAAG,CAAA,CAAgB,CAAA,CAAA,CAAA,EAGzE,CAEJ"}
@@ -1,15 +0,0 @@
1
- export type MessageInputWidth = 'wide' | 'narrow';
2
- export interface MessageInputProps {
3
- className?: string;
4
- placeholder?: string;
5
- showPriorityIndicator?: boolean;
6
- showAttachments?: boolean;
7
- value?: string;
8
- onChange?: (value: string) => void;
9
- onSelectionChange?: () => void;
10
- inputRef?: React.RefObject<HTMLTextAreaElement | null>;
11
- /** `narrow` matches the Figma Message Input “Narrow” / right-sidebar layout. */
12
- width?: MessageInputWidth;
13
- }
14
- export default function MessageInput({ className, placeholder, showPriorityIndicator, showAttachments, value, onChange, onSelectionChange, inputRef, width, }: MessageInputProps): import("react/jsx-runtime").JSX.Element;
15
- //# sourceMappingURL=MessageInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageInput.d.ts","sourceRoot":"","sources":["../../../src/components/message-input/MessageInput.tsx"],"names":[],"mappings":"AA2BA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,CAAC;AAElD,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACvD,gFAAgF;IAChF,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAAc,EACd,WAAgC,EAChC,qBAA6B,EAC7B,eAAuB,EACvB,KAAK,EACL,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EACR,KAAc,GACf,EAAE,iBAAiB,2CAwVnB"}