@mattermost/compass-ui 0.1.0-alpha.3 → 0.1.0-alpha.30

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 (2006) hide show
  1. package/README.md +21 -7
  2. package/dist/compass-ui-standalone.css +270 -266
  3. package/dist/compass-ui.css +315 -290
  4. package/dist/components/admin-console-footer/AdminConsoleFooter.cjs +2 -0
  5. package/dist/components/admin-console-footer/AdminConsoleFooter.cjs.map +1 -0
  6. package/dist/components/admin-console-footer/AdminConsoleFooter.css +1 -0
  7. package/dist/components/admin-console-footer/AdminConsoleFooter.d.ts +27 -0
  8. package/dist/components/admin-console-footer/AdminConsoleFooter.d.ts.map +1 -0
  9. package/dist/components/admin-console-footer/AdminConsoleFooter.js +84 -0
  10. package/dist/components/admin-console-footer/AdminConsoleFooter.js.map +1 -0
  11. package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.cjs +2 -0
  12. package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.cjs.map +1 -0
  13. package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.js +13 -0
  14. package/dist/components/admin-console-footer/AdminConsoleFooter.module.scss.js.map +1 -0
  15. package/dist/components/admin-console-footer/index.cjs +2 -0
  16. package/dist/components/admin-console-footer/index.d.ts +3 -0
  17. package/dist/components/admin-console-footer/index.d.ts.map +1 -0
  18. package/dist/components/admin-console-footer/index.js +5 -0
  19. package/dist/components/admin-console-header/AdminConsoleHeader.cjs.map +1 -1
  20. package/dist/components/admin-console-header/AdminConsoleHeader.css +1 -0
  21. package/dist/components/admin-console-header/AdminConsoleHeader.d.ts +3 -1
  22. package/dist/components/admin-console-header/AdminConsoleHeader.d.ts.map +1 -1
  23. package/dist/components/admin-console-header/AdminConsoleHeader.js.map +1 -1
  24. package/dist/components/admin-console-header/AdminConsoleHeader.module.scss.cjs +1 -1
  25. package/dist/components/admin-console-header/AdminConsoleHeader.module.scss.js +9 -9
  26. package/dist/components/admin-panel/AdminPanel.cjs +1 -1
  27. package/dist/components/admin-panel/AdminPanel.cjs.map +1 -1
  28. package/dist/components/admin-panel/AdminPanel.css +1 -0
  29. package/dist/components/admin-panel/AdminPanel.d.ts +53 -13
  30. package/dist/components/admin-panel/AdminPanel.d.ts.map +1 -1
  31. package/dist/components/admin-panel/AdminPanel.js +91 -75
  32. package/dist/components/admin-panel/AdminPanel.js.map +1 -1
  33. package/dist/components/admin-panel/AdminPanel.module.scss.cjs +1 -1
  34. package/dist/components/admin-panel/AdminPanel.module.scss.js +6 -6
  35. package/dist/components/admin-panel/index.d.ts +1 -1
  36. package/dist/components/admin-panel/index.d.ts.map +1 -1
  37. package/dist/components/admin-panel-footer/AdminPanelFooter.cjs +1 -1
  38. package/dist/components/admin-panel-footer/AdminPanelFooter.cjs.map +1 -1
  39. package/dist/components/admin-panel-footer/AdminPanelFooter.css +1 -0
  40. package/dist/components/admin-panel-footer/AdminPanelFooter.d.ts +20 -19
  41. package/dist/components/admin-panel-footer/AdminPanelFooter.d.ts.map +1 -1
  42. package/dist/components/admin-panel-footer/AdminPanelFooter.js +24 -68
  43. package/dist/components/admin-panel-footer/AdminPanelFooter.js.map +1 -1
  44. package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.cjs +1 -1
  45. package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.js +7 -9
  46. package/dist/components/admin-panel-footer/AdminPanelFooter.module.scss.js.map +1 -1
  47. package/dist/components/admin-panel-footer/index.d.ts +1 -1
  48. package/dist/components/admin-panel-footer/index.d.ts.map +1 -1
  49. package/dist/components/admin-panel-header/AdminPanelHeader.cjs +1 -1
  50. package/dist/components/admin-panel-header/AdminPanelHeader.cjs.map +1 -1
  51. package/dist/components/admin-panel-header/AdminPanelHeader.css +1 -0
  52. package/dist/components/admin-panel-header/AdminPanelHeader.d.ts +21 -6
  53. package/dist/components/admin-panel-header/AdminPanelHeader.d.ts.map +1 -1
  54. package/dist/components/admin-panel-header/AdminPanelHeader.js +144 -120
  55. package/dist/components/admin-panel-header/AdminPanelHeader.js.map +1 -1
  56. package/dist/components/admin-panel-header/AdminPanelHeader.module.scss.cjs +1 -1
  57. package/dist/components/admin-panel-header/AdminPanelHeader.module.scss.js +12 -11
  58. package/dist/components/admin-panel-header/AdminPanelHeader.module.scss.js.map +1 -1
  59. package/dist/components/attachment-card/AttachmentCard.cjs +1 -1
  60. package/dist/components/attachment-card/AttachmentCard.cjs.map +1 -1
  61. package/dist/components/attachment-card/AttachmentCard.css +1 -0
  62. package/dist/components/attachment-card/AttachmentCard.d.ts +20 -5
  63. package/dist/components/attachment-card/AttachmentCard.d.ts.map +1 -1
  64. package/dist/components/attachment-card/AttachmentCard.js +109 -93
  65. package/dist/components/attachment-card/AttachmentCard.js.map +1 -1
  66. package/dist/components/attachment-card/AttachmentCard.module.scss.cjs +1 -1
  67. package/dist/components/attachment-card/AttachmentCard.module.scss.js +23 -19
  68. package/dist/components/attachment-card/AttachmentCard.module.scss.js.map +1 -1
  69. package/dist/components/button/Button.cjs +1 -1
  70. package/dist/components/button/Button.cjs.map +1 -1
  71. package/dist/components/button/Button.css +1 -0
  72. package/dist/components/button/Button.d.ts +56 -8
  73. package/dist/components/button/Button.d.ts.map +1 -1
  74. package/dist/components/button/Button.js +135 -31
  75. package/dist/components/button/Button.js.map +1 -1
  76. package/dist/components/button/Button.module.scss.cjs +1 -1
  77. package/dist/components/button/Button.module.scss.js +20 -15
  78. package/dist/components/button/Button.module.scss.js.map +1 -1
  79. package/dist/components/button/index.d.ts +1 -1
  80. package/dist/components/button/index.d.ts.map +1 -1
  81. package/dist/components/card-button/CardButton.cjs +2 -0
  82. package/dist/components/card-button/CardButton.cjs.map +1 -0
  83. package/dist/components/card-button/CardButton.css +1 -0
  84. package/dist/components/card-button/CardButton.d.ts +21 -0
  85. package/dist/components/card-button/CardButton.d.ts.map +1 -0
  86. package/dist/components/card-button/CardButton.js +50 -0
  87. package/dist/components/card-button/CardButton.js.map +1 -0
  88. package/dist/components/card-button/CardButton.module.scss.cjs +2 -0
  89. package/dist/components/card-button/CardButton.module.scss.cjs.map +1 -0
  90. package/dist/components/card-button/CardButton.module.scss.js +13 -0
  91. package/dist/components/card-button/CardButton.module.scss.js.map +1 -0
  92. package/dist/components/card-button/CardButtonGroup.cjs +2 -0
  93. package/dist/components/card-button/CardButtonGroup.cjs.map +1 -0
  94. package/dist/components/card-button/CardButtonGroup.css +1 -0
  95. package/dist/components/card-button/CardButtonGroup.d.ts +13 -0
  96. package/dist/components/card-button/CardButtonGroup.d.ts.map +1 -0
  97. package/dist/components/card-button/CardButtonGroup.js +85 -0
  98. package/dist/components/card-button/CardButtonGroup.js.map +1 -0
  99. package/dist/components/card-button/CardButtonGroup.module.scss.cjs +2 -0
  100. package/dist/components/card-button/CardButtonGroup.module.scss.cjs.map +1 -0
  101. package/dist/components/card-button/CardButtonGroup.module.scss.js +7 -0
  102. package/dist/components/card-button/CardButtonGroup.module.scss.js.map +1 -0
  103. package/dist/components/card-button/index.cjs +2 -0
  104. package/dist/components/card-button/index.d.ts +5 -0
  105. package/dist/components/card-button/index.d.ts.map +1 -0
  106. package/dist/components/card-button/index.js +7 -0
  107. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.cjs +1 -1
  108. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.cjs.map +1 -1
  109. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.css +1 -0
  110. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.d.ts +5 -4
  111. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.d.ts.map +1 -1
  112. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.js +7 -7
  113. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.js.map +1 -1
  114. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.module.scss.cjs +1 -1
  115. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.module.scss.js +9 -9
  116. package/dist/components/channel-sidebar-item/ChannelSidebarItem.cjs +1 -1
  117. package/dist/components/channel-sidebar-item/ChannelSidebarItem.cjs.map +1 -1
  118. package/dist/components/channel-sidebar-item/ChannelSidebarItem.css +1 -0
  119. package/dist/components/channel-sidebar-item/ChannelSidebarItem.d.ts +77 -9
  120. package/dist/components/channel-sidebar-item/ChannelSidebarItem.d.ts.map +1 -1
  121. package/dist/components/channel-sidebar-item/ChannelSidebarItem.js +202 -107
  122. package/dist/components/channel-sidebar-item/ChannelSidebarItem.js.map +1 -1
  123. package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.cjs +1 -1
  124. package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.js +36 -21
  125. package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.scss.js.map +1 -1
  126. package/dist/components/checkbox/Checkbox.cjs +1 -1
  127. package/dist/components/checkbox/Checkbox.cjs.map +1 -1
  128. package/dist/components/checkbox/Checkbox.css +1 -0
  129. package/dist/components/checkbox/Checkbox.d.ts +4 -3
  130. package/dist/components/checkbox/Checkbox.d.ts.map +1 -1
  131. package/dist/components/checkbox/Checkbox.js +44 -41
  132. package/dist/components/checkbox/Checkbox.js.map +1 -1
  133. package/dist/components/checkbox/Checkbox.module.scss.cjs +1 -1
  134. package/dist/components/checkbox/Checkbox.module.scss.js +7 -7
  135. package/dist/components/chip/Chip.cjs +1 -1
  136. package/dist/components/chip/Chip.cjs.map +1 -1
  137. package/dist/components/chip/Chip.css +1 -0
  138. package/dist/components/chip/Chip.d.ts +10 -6
  139. package/dist/components/chip/Chip.d.ts.map +1 -1
  140. package/dist/components/chip/Chip.js +92 -50
  141. package/dist/components/chip/Chip.js.map +1 -1
  142. package/dist/components/chip/Chip.module.scss.cjs +1 -1
  143. package/dist/components/chip/Chip.module.scss.js +13 -10
  144. package/dist/components/chip/Chip.module.scss.js.map +1 -1
  145. package/dist/components/chip/ChipGroup.cjs +2 -0
  146. package/dist/components/chip/ChipGroup.cjs.map +1 -0
  147. package/dist/components/chip/ChipGroup.css +1 -0
  148. package/dist/components/chip/ChipGroup.d.ts +16 -0
  149. package/dist/components/chip/ChipGroup.d.ts.map +1 -0
  150. package/dist/components/chip/ChipGroup.js +112 -0
  151. package/dist/components/chip/ChipGroup.js.map +1 -0
  152. package/dist/components/chip/ChipGroup.module.scss.cjs +2 -0
  153. package/dist/components/chip/ChipGroup.module.scss.cjs.map +1 -0
  154. package/dist/components/chip/ChipGroup.module.scss.js +7 -0
  155. package/dist/components/chip/ChipGroup.module.scss.js.map +1 -0
  156. package/dist/components/chip/index.cjs +1 -1
  157. package/dist/components/chip/index.d.ts +2 -0
  158. package/dist/components/chip/index.d.ts.map +1 -1
  159. package/dist/components/chip/index.js +4 -2
  160. package/dist/components/chip/index.js.map +1 -1
  161. package/dist/components/combobox/Combobox.cjs +1 -1
  162. package/dist/components/combobox/Combobox.cjs.map +1 -1
  163. package/dist/components/combobox/Combobox.css +1 -0
  164. package/dist/components/combobox/Combobox.d.ts +149 -4
  165. package/dist/components/combobox/Combobox.d.ts.map +1 -1
  166. package/dist/components/combobox/Combobox.js +488 -258
  167. package/dist/components/combobox/Combobox.js.map +1 -1
  168. package/dist/components/combobox/Combobox.module.scss.cjs +1 -1
  169. package/dist/components/combobox/Combobox.module.scss.js +34 -29
  170. package/dist/components/combobox/Combobox.module.scss.js.map +1 -1
  171. package/dist/components/combobox/index.d.ts +1 -1
  172. package/dist/components/combobox/index.d.ts.map +1 -1
  173. package/dist/components/date-range-picker/DateRangePicker.cjs +1 -1
  174. package/dist/components/date-range-picker/DateRangePicker.cjs.map +1 -1
  175. package/dist/components/date-range-picker/DateRangePicker.css +1 -0
  176. package/dist/components/date-range-picker/DateRangePicker.d.ts +31 -2
  177. package/dist/components/date-range-picker/DateRangePicker.d.ts.map +1 -1
  178. package/dist/components/date-range-picker/DateRangePicker.js +260 -213
  179. package/dist/components/date-range-picker/DateRangePicker.js.map +1 -1
  180. package/dist/components/date-range-picker/DateRangePicker.module.scss.cjs +1 -1
  181. package/dist/components/date-range-picker/DateRangePicker.module.scss.js +31 -45
  182. package/dist/components/date-range-picker/DateRangePicker.module.scss.js.map +1 -1
  183. package/dist/components/divider/Divider.css +1 -0
  184. package/dist/components/divider/Divider.module.scss.cjs +1 -1
  185. package/dist/components/divider/Divider.module.scss.js +1 -1
  186. package/dist/components/dropdown/Dropdown.cjs +1 -1
  187. package/dist/components/dropdown/Dropdown.cjs.map +1 -1
  188. package/dist/components/dropdown/Dropdown.css +1 -0
  189. package/dist/components/dropdown/Dropdown.d.ts +3 -3
  190. package/dist/components/dropdown/Dropdown.d.ts.map +1 -1
  191. package/dist/components/dropdown/Dropdown.js +24 -24
  192. package/dist/components/dropdown/Dropdown.js.map +1 -1
  193. package/dist/components/dropdown/Dropdown.module.scss.cjs +1 -1
  194. package/dist/components/dropdown/Dropdown.module.scss.js +19 -18
  195. package/dist/components/dropdown/Dropdown.module.scss.js.map +1 -1
  196. package/dist/components/emoji/Emoji.cjs.map +1 -1
  197. package/dist/components/emoji/Emoji.css +1 -0
  198. package/dist/components/emoji/Emoji.d.ts.map +1 -1
  199. package/dist/components/emoji/Emoji.js +1 -5
  200. package/dist/components/emoji/Emoji.js.map +1 -1
  201. package/dist/components/emoji/Emoji.module.scss.cjs +1 -1
  202. package/dist/components/emoji/Emoji.module.scss.js +12 -12
  203. package/dist/components/emoji-button/EmojiButton.cjs +2 -0
  204. package/dist/components/emoji-button/EmojiButton.cjs.map +1 -0
  205. package/dist/components/emoji-button/EmojiButton.css +1 -0
  206. package/dist/components/emoji-button/EmojiButton.d.ts +30 -0
  207. package/dist/components/emoji-button/EmojiButton.d.ts.map +1 -0
  208. package/dist/components/emoji-button/EmojiButton.js +44 -0
  209. package/dist/components/emoji-button/EmojiButton.js.map +1 -0
  210. package/dist/components/emoji-button/EmojiButton.module.scss.cjs +2 -0
  211. package/dist/components/emoji-button/EmojiButton.module.scss.cjs.map +1 -0
  212. package/dist/components/emoji-button/EmojiButton.module.scss.js +18 -0
  213. package/dist/components/emoji-button/EmojiButton.module.scss.js.map +1 -0
  214. package/dist/components/emoji-button/index.cjs +2 -0
  215. package/dist/components/emoji-button/index.d.ts +3 -0
  216. package/dist/components/emoji-button/index.d.ts.map +1 -0
  217. package/dist/components/emoji-button/index.js +6 -0
  218. package/dist/components/emoji-popover/EmojiPopover.cjs +2 -0
  219. package/dist/components/emoji-popover/EmojiPopover.cjs.map +1 -0
  220. package/dist/components/emoji-popover/EmojiPopover.css +1 -0
  221. package/dist/components/emoji-popover/EmojiPopover.d.ts +55 -0
  222. package/dist/components/emoji-popover/EmojiPopover.d.ts.map +1 -0
  223. package/dist/components/emoji-popover/EmojiPopover.js +272 -0
  224. package/dist/components/emoji-popover/EmojiPopover.js.map +1 -0
  225. package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs +2 -0
  226. package/dist/components/emoji-popover/EmojiPopover.module.scss.cjs.map +1 -0
  227. package/dist/components/emoji-popover/EmojiPopover.module.scss.js +27 -0
  228. package/dist/components/emoji-popover/EmojiPopover.module.scss.js.map +1 -0
  229. package/dist/components/emoji-popover/index.cjs +2 -0
  230. package/dist/components/emoji-popover/index.d.ts +3 -0
  231. package/dist/components/emoji-popover/index.d.ts.map +1 -0
  232. package/dist/components/emoji-popover/index.js +5 -0
  233. package/dist/components/empty-state/EmptyState.cjs +1 -1
  234. package/dist/components/empty-state/EmptyState.cjs.map +1 -1
  235. package/dist/components/empty-state/EmptyState.css +1 -0
  236. package/dist/components/empty-state/EmptyState.d.ts +27 -7
  237. package/dist/components/empty-state/EmptyState.d.ts.map +1 -1
  238. package/dist/components/empty-state/EmptyState.js +30 -21
  239. package/dist/components/empty-state/EmptyState.js.map +1 -1
  240. package/dist/components/empty-state/EmptyState.module.scss.cjs +1 -1
  241. package/dist/components/empty-state/EmptyState.module.scss.js +8 -8
  242. package/dist/components/empty-state/index.d.ts +1 -1
  243. package/dist/components/empty-state/index.d.ts.map +1 -1
  244. package/dist/components/error-message/ErrorMessage.cjs +1 -1
  245. package/dist/components/error-message/ErrorMessage.cjs.map +1 -1
  246. package/dist/components/error-message/ErrorMessage.d.ts +7 -7
  247. package/dist/components/error-message/ErrorMessage.d.ts.map +1 -1
  248. package/dist/components/error-message/ErrorMessage.js +16 -13
  249. package/dist/components/error-message/ErrorMessage.js.map +1 -1
  250. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.cjs.map +1 -1
  251. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.css +1 -0
  252. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.d.ts +9 -8
  253. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.d.ts.map +1 -1
  254. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.js.map +1 -1
  255. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.module.scss.cjs +1 -1
  256. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.module.scss.js +10 -10
  257. package/dist/components/field/FieldClearButton.cjs +2 -0
  258. package/dist/components/field/FieldClearButton.cjs.map +1 -0
  259. package/dist/components/field/FieldClearButton.css +1 -0
  260. package/dist/components/field/FieldClearButton.d.ts +17 -0
  261. package/dist/components/field/FieldClearButton.d.ts.map +1 -0
  262. package/dist/components/field/FieldClearButton.js +40 -0
  263. package/dist/components/field/FieldClearButton.js.map +1 -0
  264. package/dist/components/field/FieldClearButton.module.scss.cjs +2 -0
  265. package/dist/components/field/FieldClearButton.module.scss.cjs.map +1 -0
  266. package/dist/components/field/FieldClearButton.module.scss.js +7 -0
  267. package/dist/components/field/FieldClearButton.module.scss.js.map +1 -0
  268. package/dist/components/field/fieldDescribedBy.cjs +2 -0
  269. package/dist/components/field/fieldDescribedBy.cjs.map +1 -0
  270. package/dist/components/field/fieldDescribedBy.d.ts +11 -0
  271. package/dist/components/field/fieldDescribedBy.d.ts.map +1 -0
  272. package/dist/components/field/fieldDescribedBy.js +15 -0
  273. package/dist/components/field/fieldDescribedBy.js.map +1 -0
  274. package/dist/components/field/useFieldClear.cjs +2 -0
  275. package/dist/components/field/useFieldClear.cjs.map +1 -0
  276. package/dist/components/field/useFieldClear.d.ts +21 -0
  277. package/dist/components/field/useFieldClear.d.ts.map +1 -0
  278. package/dist/components/field/useFieldClear.js +73 -0
  279. package/dist/components/field/useFieldClear.js.map +1 -0
  280. package/dist/components/field-message/FieldMessage.cjs +2 -0
  281. package/dist/components/field-message/FieldMessage.cjs.map +1 -0
  282. package/dist/components/field-message/FieldMessage.css +1 -0
  283. package/dist/components/field-message/FieldMessage.d.ts +17 -0
  284. package/dist/components/field-message/FieldMessage.d.ts.map +1 -0
  285. package/dist/components/field-message/FieldMessage.js +28 -0
  286. package/dist/components/field-message/FieldMessage.js.map +1 -0
  287. package/dist/components/field-message/FieldMessage.module.scss.cjs +2 -0
  288. package/dist/components/field-message/FieldMessage.module.scss.cjs.map +1 -0
  289. package/dist/components/field-message/FieldMessage.module.scss.js +13 -0
  290. package/dist/components/field-message/FieldMessage.module.scss.js.map +1 -0
  291. package/dist/components/field-message/index.cjs +2 -0
  292. package/dist/components/field-message/index.d.ts +3 -0
  293. package/dist/components/field-message/index.d.ts.map +1 -0
  294. package/dist/components/field-message/index.js +5 -0
  295. package/dist/components/global-banner/GlobalBanner.cjs +1 -1
  296. package/dist/components/global-banner/GlobalBanner.cjs.map +1 -1
  297. package/dist/components/global-banner/GlobalBanner.css +1 -0
  298. package/dist/components/global-banner/GlobalBanner.d.ts +11 -6
  299. package/dist/components/global-banner/GlobalBanner.d.ts.map +1 -1
  300. package/dist/components/global-banner/GlobalBanner.js +33 -26
  301. package/dist/components/global-banner/GlobalBanner.js.map +1 -1
  302. package/dist/components/global-banner/GlobalBanner.module.scss.cjs +1 -1
  303. package/dist/components/global-banner/GlobalBanner.module.scss.js +11 -11
  304. package/dist/components/icon/Icon.cjs +1 -1
  305. package/dist/components/icon/Icon.cjs.map +1 -1
  306. package/dist/components/icon/Icon.css +1 -0
  307. package/dist/components/icon/Icon.d.ts +12 -1
  308. package/dist/components/icon/Icon.d.ts.map +1 -1
  309. package/dist/components/icon/Icon.js +31 -28
  310. package/dist/components/icon/Icon.js.map +1 -1
  311. package/dist/components/icon/Icon.module.scss.cjs +1 -1
  312. package/dist/components/icon/Icon.module.scss.js +13 -13
  313. package/dist/components/icon/index.cjs +1 -1
  314. package/dist/components/icon/index.d.ts +1 -1
  315. package/dist/components/icon/index.d.ts.map +1 -1
  316. package/dist/components/icon/index.js +4 -2
  317. package/dist/components/icon-button/IconButton.cjs +1 -1
  318. package/dist/components/icon-button/IconButton.cjs.map +1 -1
  319. package/dist/components/icon-button/IconButton.css +1 -0
  320. package/dist/components/icon-button/IconButton.d.ts +55 -8
  321. package/dist/components/icon-button/IconButton.d.ts.map +1 -1
  322. package/dist/components/icon-button/IconButton.js +127 -46
  323. package/dist/components/icon-button/IconButton.js.map +1 -1
  324. package/dist/components/icon-button/IconButton.module.scss.cjs +1 -1
  325. package/dist/components/icon-button/IconButton.module.scss.js +20 -16
  326. package/dist/components/icon-button/IconButton.module.scss.js.map +1 -1
  327. package/dist/components/icon-button/index.d.ts +1 -1
  328. package/dist/components/icon-button/index.d.ts.map +1 -1
  329. package/dist/components/illustration/Illustration.cjs.map +1 -1
  330. package/dist/components/illustration/Illustration.css +1 -0
  331. package/dist/components/illustration/Illustration.d.ts +5 -5
  332. package/dist/components/illustration/Illustration.d.ts.map +1 -1
  333. package/dist/components/illustration/Illustration.js.map +1 -1
  334. package/dist/components/illustration/Illustration.module.scss.cjs +1 -1
  335. package/dist/components/illustration/Illustration.module.scss.js +1 -1
  336. package/dist/components/image-preview/ImagePreview.cjs +1 -1
  337. package/dist/components/image-preview/ImagePreview.cjs.map +1 -1
  338. package/dist/components/image-preview/ImagePreview.css +1 -0
  339. package/dist/components/image-preview/ImagePreview.d.ts +14 -2
  340. package/dist/components/image-preview/ImagePreview.d.ts.map +1 -1
  341. package/dist/components/image-preview/ImagePreview.js +86 -56
  342. package/dist/components/image-preview/ImagePreview.js.map +1 -1
  343. package/dist/components/image-preview/ImagePreview.module.scss.cjs +1 -1
  344. package/dist/components/image-preview/ImagePreview.module.scss.js +16 -16
  345. package/dist/components/link-preview/LinkPreview.cjs +1 -1
  346. package/dist/components/link-preview/LinkPreview.cjs.map +1 -1
  347. package/dist/components/link-preview/LinkPreview.css +1 -0
  348. package/dist/components/link-preview/LinkPreview.d.ts +12 -6
  349. package/dist/components/link-preview/LinkPreview.d.ts.map +1 -1
  350. package/dist/components/link-preview/LinkPreview.js +20 -23
  351. package/dist/components/link-preview/LinkPreview.js.map +1 -1
  352. package/dist/components/link-preview/LinkPreview.module.scss.cjs +1 -1
  353. package/dist/components/link-preview/LinkPreview.module.scss.js +15 -15
  354. package/dist/components/link-preview/index.d.ts +1 -1
  355. package/dist/components/link-preview/index.d.ts.map +1 -1
  356. package/dist/components/mention-badge/MentionBadge.cjs +1 -1
  357. package/dist/components/mention-badge/MentionBadge.cjs.map +1 -1
  358. package/dist/components/mention-badge/MentionBadge.css +1 -0
  359. package/dist/components/mention-badge/MentionBadge.d.ts +3 -1
  360. package/dist/components/mention-badge/MentionBadge.d.ts.map +1 -1
  361. package/dist/components/mention-badge/MentionBadge.js +18 -23
  362. package/dist/components/mention-badge/MentionBadge.js.map +1 -1
  363. package/dist/components/mention-badge/MentionBadge.module.scss.cjs +1 -1
  364. package/dist/components/mention-badge/MentionBadge.module.scss.js +10 -10
  365. package/dist/components/menu-group-heading/MenuGroupHeading.cjs +2 -0
  366. package/dist/components/menu-group-heading/MenuGroupHeading.cjs.map +1 -0
  367. package/dist/components/menu-group-heading/MenuGroupHeading.css +1 -0
  368. package/dist/components/menu-group-heading/MenuGroupHeading.d.ts +11 -0
  369. package/dist/components/menu-group-heading/MenuGroupHeading.d.ts.map +1 -0
  370. package/dist/components/menu-group-heading/MenuGroupHeading.js +20 -0
  371. package/dist/components/menu-group-heading/MenuGroupHeading.js.map +1 -0
  372. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs +2 -0
  373. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.cjs.map +1 -0
  374. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js +8 -0
  375. package/dist/components/menu-group-heading/MenuGroupHeading.module.scss.js.map +1 -0
  376. package/dist/components/menu-group-heading/index.cjs +2 -0
  377. package/dist/components/menu-group-heading/index.d.ts +3 -0
  378. package/dist/components/menu-group-heading/index.d.ts.map +1 -0
  379. package/dist/components/menu-group-heading/index.js +5 -0
  380. package/dist/components/menu-item/MenuItem.cjs +1 -1
  381. package/dist/components/menu-item/MenuItem.cjs.map +1 -1
  382. package/dist/components/menu-item/MenuItem.css +1 -0
  383. package/dist/components/menu-item/MenuItem.d.ts +33 -5
  384. package/dist/components/menu-item/MenuItem.d.ts.map +1 -1
  385. package/dist/components/menu-item/MenuItem.js +63 -50
  386. package/dist/components/menu-item/MenuItem.js.map +1 -1
  387. package/dist/components/menu-item/MenuItem.module.scss.cjs +1 -1
  388. package/dist/components/menu-item/MenuItem.module.scss.js +17 -17
  389. package/dist/components/menu-item/index.d.ts +1 -1
  390. package/dist/components/menu-item/index.d.ts.map +1 -1
  391. package/dist/components/message-actions/MessageActions.cjs +1 -1
  392. package/dist/components/message-actions/MessageActions.cjs.map +1 -1
  393. package/dist/components/message-actions/MessageActions.css +1 -0
  394. package/dist/components/message-actions/MessageActions.d.ts +26 -2
  395. package/dist/components/message-actions/MessageActions.d.ts.map +1 -1
  396. package/dist/components/message-actions/MessageActions.js +67 -55
  397. package/dist/components/message-actions/MessageActions.js.map +1 -1
  398. package/dist/components/message-actions/MessageActions.module.scss.cjs +1 -1
  399. package/dist/components/message-actions/MessageActions.module.scss.js +3 -3
  400. package/dist/components/message-actions/index.d.ts +1 -1
  401. package/dist/components/message-actions/index.d.ts.map +1 -1
  402. package/dist/components/message-header/MessageHeader.cjs.map +1 -1
  403. package/dist/components/message-header/MessageHeader.css +1 -0
  404. package/dist/components/message-header/MessageHeader.d.ts +5 -3
  405. package/dist/components/message-header/MessageHeader.d.ts.map +1 -1
  406. package/dist/components/message-header/MessageHeader.js.map +1 -1
  407. package/dist/components/message-header/MessageHeader.module.scss.cjs +1 -1
  408. package/dist/components/message-header/MessageHeader.module.scss.js +4 -4
  409. package/dist/components/message-separator/MessageSeparator.cjs +1 -1
  410. package/dist/components/message-separator/MessageSeparator.cjs.map +1 -1
  411. package/dist/components/message-separator/MessageSeparator.css +1 -0
  412. package/dist/components/message-separator/MessageSeparator.d.ts +8 -4
  413. package/dist/components/message-separator/MessageSeparator.d.ts.map +1 -1
  414. package/dist/components/message-separator/MessageSeparator.js +25 -16
  415. package/dist/components/message-separator/MessageSeparator.js.map +1 -1
  416. package/dist/components/message-separator/MessageSeparator.module.scss.cjs +1 -1
  417. package/dist/components/message-separator/MessageSeparator.module.scss.js +12 -12
  418. package/dist/components/modal/Modal.cjs +1 -1
  419. package/dist/components/modal/Modal.cjs.map +1 -1
  420. package/dist/components/modal/Modal.css +1 -0
  421. package/dist/components/modal/Modal.d.ts +103 -8
  422. package/dist/components/modal/Modal.d.ts.map +1 -1
  423. package/dist/components/modal/Modal.js +109 -62
  424. package/dist/components/modal/Modal.js.map +1 -1
  425. package/dist/components/modal/Modal.module.scss.cjs +1 -1
  426. package/dist/components/modal/Modal.module.scss.js +16 -22
  427. package/dist/components/modal/Modal.module.scss.js.map +1 -1
  428. package/dist/components/modal/ModalOverlay.cjs +2 -0
  429. package/dist/components/modal/ModalOverlay.cjs.map +1 -0
  430. package/dist/components/modal/ModalOverlay.css +1 -0
  431. package/dist/components/modal/ModalOverlay.d.ts +44 -0
  432. package/dist/components/modal/ModalOverlay.d.ts.map +1 -0
  433. package/dist/components/modal/ModalOverlay.js +59 -0
  434. package/dist/components/modal/ModalOverlay.js.map +1 -0
  435. package/dist/components/modal/ModalOverlay.module.scss.cjs +2 -0
  436. package/dist/components/modal/ModalOverlay.module.scss.cjs.map +1 -0
  437. package/dist/components/modal/ModalOverlay.module.scss.js +9 -0
  438. package/dist/components/modal/ModalOverlay.module.scss.js.map +1 -0
  439. package/dist/components/modal/index.cjs +1 -1
  440. package/dist/components/modal/index.d.ts +4 -1
  441. package/dist/components/modal/index.d.ts.map +1 -1
  442. package/dist/components/modal/index.js +6 -2
  443. package/dist/components/modal/index.js.map +1 -1
  444. package/dist/components/modal-footer/ModalFooter.cjs +2 -0
  445. package/dist/components/modal-footer/ModalFooter.cjs.map +1 -0
  446. package/dist/components/modal-footer/ModalFooter.css +1 -0
  447. package/dist/components/modal-footer/ModalFooter.d.ts +29 -0
  448. package/dist/components/modal-footer/ModalFooter.d.ts.map +1 -0
  449. package/dist/components/modal-footer/ModalFooter.js +31 -0
  450. package/dist/components/modal-footer/ModalFooter.js.map +1 -0
  451. package/dist/components/modal-footer/ModalFooter.module.scss.cjs +2 -0
  452. package/dist/components/modal-footer/ModalFooter.module.scss.cjs.map +1 -0
  453. package/dist/components/modal-footer/ModalFooter.module.scss.js +17 -0
  454. package/dist/components/modal-footer/ModalFooter.module.scss.js.map +1 -0
  455. package/dist/components/modal-footer/index.cjs +2 -0
  456. package/dist/components/modal-footer/index.d.ts +3 -0
  457. package/dist/components/modal-footer/index.d.ts.map +1 -0
  458. package/dist/components/modal-footer/index.js +5 -0
  459. package/dist/components/modal-header/ModalHeader.cjs +2 -0
  460. package/dist/components/modal-header/ModalHeader.cjs.map +1 -0
  461. package/dist/components/modal-header/ModalHeader.css +1 -0
  462. package/dist/components/modal-header/ModalHeader.d.ts +63 -0
  463. package/dist/components/modal-header/ModalHeader.d.ts.map +1 -0
  464. package/dist/components/modal-header/ModalHeader.js +99 -0
  465. package/dist/components/modal-header/ModalHeader.js.map +1 -0
  466. package/dist/components/modal-header/ModalHeader.module.scss.cjs +2 -0
  467. package/dist/components/modal-header/ModalHeader.module.scss.cjs.map +1 -0
  468. package/dist/components/modal-header/ModalHeader.module.scss.js +24 -0
  469. package/dist/components/modal-header/ModalHeader.module.scss.js.map +1 -0
  470. package/dist/components/modal-header/index.cjs +2 -0
  471. package/dist/components/modal-header/index.d.ts +3 -0
  472. package/dist/components/modal-header/index.d.ts.map +1 -0
  473. package/dist/components/modal-header/index.js +5 -0
  474. package/dist/components/more-unreads-banner/MoreUnreadsBanner.cjs +1 -1
  475. package/dist/components/more-unreads-banner/MoreUnreadsBanner.cjs.map +1 -1
  476. package/dist/components/more-unreads-banner/MoreUnreadsBanner.css +1 -0
  477. package/dist/components/more-unreads-banner/MoreUnreadsBanner.d.ts +4 -1
  478. package/dist/components/more-unreads-banner/MoreUnreadsBanner.d.ts.map +1 -1
  479. package/dist/components/more-unreads-banner/MoreUnreadsBanner.js +11 -10
  480. package/dist/components/more-unreads-banner/MoreUnreadsBanner.js.map +1 -1
  481. package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.scss.cjs +1 -1
  482. package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.scss.js +9 -6
  483. package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.scss.js.map +1 -1
  484. package/dist/components/new-message-banner/NewMessageBanner.cjs +1 -1
  485. package/dist/components/new-message-banner/NewMessageBanner.cjs.map +1 -1
  486. package/dist/components/new-message-banner/NewMessageBanner.css +1 -0
  487. package/dist/components/new-message-banner/NewMessageBanner.d.ts +15 -3
  488. package/dist/components/new-message-banner/NewMessageBanner.d.ts.map +1 -1
  489. package/dist/components/new-message-banner/NewMessageBanner.js +30 -26
  490. package/dist/components/new-message-banner/NewMessageBanner.js.map +1 -1
  491. package/dist/components/new-message-banner/NewMessageBanner.module.scss.cjs +1 -1
  492. package/dist/components/new-message-banner/NewMessageBanner.module.scss.js +10 -10
  493. package/dist/components/pagination-dots/PaginationDots.cjs +1 -1
  494. package/dist/components/pagination-dots/PaginationDots.cjs.map +1 -1
  495. package/dist/components/pagination-dots/PaginationDots.css +1 -0
  496. package/dist/components/pagination-dots/PaginationDots.d.ts +5 -1
  497. package/dist/components/pagination-dots/PaginationDots.d.ts.map +1 -1
  498. package/dist/components/pagination-dots/PaginationDots.js +22 -19
  499. package/dist/components/pagination-dots/PaginationDots.js.map +1 -1
  500. package/dist/components/pagination-dots/PaginationDots.module.scss.cjs +1 -1
  501. package/dist/components/pagination-dots/PaginationDots.module.scss.js +9 -9
  502. package/dist/components/password-input/PasswordInput.cjs +2 -0
  503. package/dist/components/password-input/PasswordInput.cjs.map +1 -0
  504. package/dist/components/password-input/PasswordInput.css +1 -0
  505. package/dist/components/password-input/PasswordInput.d.ts +57 -0
  506. package/dist/components/password-input/PasswordInput.d.ts.map +1 -0
  507. package/dist/components/password-input/PasswordInput.js +141 -0
  508. package/dist/components/password-input/PasswordInput.js.map +1 -0
  509. package/dist/components/password-input/PasswordInput.module.scss.cjs +2 -0
  510. package/dist/components/password-input/PasswordInput.module.scss.cjs.map +1 -0
  511. package/dist/components/password-input/PasswordInput.module.scss.js +19 -0
  512. package/dist/components/password-input/PasswordInput.module.scss.js.map +1 -0
  513. package/dist/components/password-input/index.cjs +2 -0
  514. package/dist/components/password-input/index.d.ts +3 -0
  515. package/dist/components/password-input/index.d.ts.map +1 -0
  516. package/dist/components/password-input/index.js +5 -0
  517. package/dist/components/permalink-preview/PermalinkPreview.cjs +1 -1
  518. package/dist/components/permalink-preview/PermalinkPreview.cjs.map +1 -1
  519. package/dist/components/permalink-preview/PermalinkPreview.css +1 -0
  520. package/dist/components/permalink-preview/PermalinkPreview.d.ts +24 -6
  521. package/dist/components/permalink-preview/PermalinkPreview.d.ts.map +1 -1
  522. package/dist/components/permalink-preview/PermalinkPreview.js +73 -28
  523. package/dist/components/permalink-preview/PermalinkPreview.js.map +1 -1
  524. package/dist/components/permalink-preview/PermalinkPreview.module.scss.cjs +1 -1
  525. package/dist/components/permalink-preview/PermalinkPreview.module.scss.js +14 -10
  526. package/dist/components/permalink-preview/PermalinkPreview.module.scss.js.map +1 -1
  527. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.cjs +1 -1
  528. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.cjs.map +1 -1
  529. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.css +1 -0
  530. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.d.ts +8 -1
  531. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.d.ts.map +1 -1
  532. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.js +20 -17
  533. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.js.map +1 -1
  534. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.module.scss.cjs +1 -1
  535. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.module.scss.js +7 -7
  536. package/dist/components/popover-menu/PopoverMenu.cjs +1 -1
  537. package/dist/components/popover-menu/PopoverMenu.cjs.map +1 -1
  538. package/dist/components/popover-menu/PopoverMenu.css +1 -0
  539. package/dist/components/popover-menu/PopoverMenu.d.ts +16 -5
  540. package/dist/components/popover-menu/PopoverMenu.d.ts.map +1 -1
  541. package/dist/components/popover-menu/PopoverMenu.js +55 -44
  542. package/dist/components/popover-menu/PopoverMenu.js.map +1 -1
  543. package/dist/components/popover-menu/PopoverMenu.module.scss.cjs +1 -1
  544. package/dist/components/popover-menu/PopoverMenu.module.scss.js +13 -10
  545. package/dist/components/popover-menu/PopoverMenu.module.scss.js.map +1 -1
  546. package/dist/components/popover-notice/PopoverNotice.cjs +1 -1
  547. package/dist/components/popover-notice/PopoverNotice.cjs.map +1 -1
  548. package/dist/components/popover-notice/PopoverNotice.css +1 -0
  549. package/dist/components/popover-notice/PopoverNotice.d.ts +18 -9
  550. package/dist/components/popover-notice/PopoverNotice.d.ts.map +1 -1
  551. package/dist/components/popover-notice/PopoverNotice.js +60 -46
  552. package/dist/components/popover-notice/PopoverNotice.js.map +1 -1
  553. package/dist/components/popover-notice/PopoverNotice.module.scss.cjs +1 -1
  554. package/dist/components/popover-notice/PopoverNotice.module.scss.js +15 -14
  555. package/dist/components/popover-notice/PopoverNotice.module.scss.js.map +1 -1
  556. package/dist/components/profile-popover/ProfilePopover.cjs +1 -1
  557. package/dist/components/profile-popover/ProfilePopover.cjs.map +1 -1
  558. package/dist/components/profile-popover/ProfilePopover.css +1 -0
  559. package/dist/components/profile-popover/ProfilePopover.d.ts +34 -12
  560. package/dist/components/profile-popover/ProfilePopover.d.ts.map +1 -1
  561. package/dist/components/profile-popover/ProfilePopover.js +135 -106
  562. package/dist/components/profile-popover/ProfilePopover.js.map +1 -1
  563. package/dist/components/profile-popover/ProfilePopover.module.scss.cjs +1 -1
  564. package/dist/components/profile-popover/ProfilePopover.module.scss.js +34 -34
  565. package/dist/components/progress-bar/ProgressBar.cjs +1 -1
  566. package/dist/components/progress-bar/ProgressBar.cjs.map +1 -1
  567. package/dist/components/progress-bar/ProgressBar.css +1 -0
  568. package/dist/components/progress-bar/ProgressBar.d.ts +17 -3
  569. package/dist/components/progress-bar/ProgressBar.d.ts.map +1 -1
  570. package/dist/components/progress-bar/ProgressBar.js +34 -16
  571. package/dist/components/progress-bar/ProgressBar.js.map +1 -1
  572. package/dist/components/progress-bar/ProgressBar.module.scss.cjs +1 -1
  573. package/dist/components/progress-bar/ProgressBar.module.scss.js +10 -9
  574. package/dist/components/progress-bar/ProgressBar.module.scss.js.map +1 -1
  575. package/dist/components/radio/Radio.cjs +1 -1
  576. package/dist/components/radio/Radio.cjs.map +1 -1
  577. package/dist/components/radio/Radio.css +1 -0
  578. package/dist/components/radio/Radio.d.ts +4 -3
  579. package/dist/components/radio/Radio.d.ts.map +1 -1
  580. package/dist/components/radio/Radio.js +22 -20
  581. package/dist/components/radio/Radio.js.map +1 -1
  582. package/dist/components/radio/Radio.module.scss.cjs +1 -1
  583. package/dist/components/radio/Radio.module.scss.js +5 -5
  584. package/dist/components/reaction-button/ReactionButton.cjs +2 -0
  585. package/dist/components/reaction-button/ReactionButton.cjs.map +1 -0
  586. package/dist/components/reaction-button/ReactionButton.css +1 -0
  587. package/dist/components/reaction-button/ReactionButton.d.ts +19 -0
  588. package/dist/components/reaction-button/ReactionButton.d.ts.map +1 -0
  589. package/dist/components/reaction-button/ReactionButton.js +44 -0
  590. package/dist/components/reaction-button/ReactionButton.js.map +1 -0
  591. package/dist/components/reaction-button/ReactionButton.module.scss.cjs +2 -0
  592. package/dist/components/reaction-button/ReactionButton.module.scss.cjs.map +1 -0
  593. package/dist/components/reaction-button/ReactionButton.module.scss.js +12 -0
  594. package/dist/components/reaction-button/ReactionButton.module.scss.js.map +1 -0
  595. package/dist/components/reaction-button/index.cjs +2 -0
  596. package/dist/components/reaction-button/index.d.ts +3 -0
  597. package/dist/components/reaction-button/index.d.ts.map +1 -0
  598. package/dist/components/reaction-button/index.js +5 -0
  599. package/dist/components/reactions-row/ReactionsRow.cjs +2 -0
  600. package/dist/components/reactions-row/ReactionsRow.cjs.map +1 -0
  601. package/dist/components/reactions-row/ReactionsRow.css +1 -0
  602. package/dist/components/reactions-row/ReactionsRow.d.ts +42 -0
  603. package/dist/components/reactions-row/ReactionsRow.d.ts.map +1 -0
  604. package/dist/components/reactions-row/ReactionsRow.js +76 -0
  605. package/dist/components/reactions-row/ReactionsRow.js.map +1 -0
  606. package/dist/components/reactions-row/ReactionsRow.module.scss.cjs +2 -0
  607. package/dist/components/reactions-row/ReactionsRow.module.scss.cjs.map +1 -0
  608. package/dist/components/reactions-row/ReactionsRow.module.scss.js +14 -0
  609. package/dist/components/reactions-row/ReactionsRow.module.scss.js.map +1 -0
  610. package/dist/components/reactions-row/index.cjs +2 -0
  611. package/dist/components/reactions-row/index.d.ts +3 -0
  612. package/dist/components/reactions-row/index.d.ts.map +1 -0
  613. package/dist/components/reactions-row/index.js +5 -0
  614. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs +2 -0
  615. package/dist/components/right-sidebar-header/RightSidebarHeader.cjs.map +1 -0
  616. package/dist/components/right-sidebar-header/RightSidebarHeader.css +1 -0
  617. package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts +50 -0
  618. package/dist/components/right-sidebar-header/RightSidebarHeader.d.ts.map +1 -0
  619. package/dist/components/right-sidebar-header/RightSidebarHeader.js +138 -0
  620. package/dist/components/right-sidebar-header/RightSidebarHeader.js.map +1 -0
  621. package/dist/components/right-sidebar-header/RightSidebarHeader.module.scss.cjs +2 -0
  622. package/dist/components/right-sidebar-header/RightSidebarHeader.module.scss.js +18 -0
  623. package/dist/components/right-sidebar-header/index.cjs +2 -0
  624. package/dist/components/right-sidebar-header/index.d.ts +3 -0
  625. package/dist/components/right-sidebar-header/index.d.ts.map +1 -0
  626. package/dist/components/right-sidebar-header/index.js +5 -0
  627. package/dist/components/scrollbar/Scrollbar.cjs +1 -1
  628. package/dist/components/scrollbar/Scrollbar.cjs.map +1 -1
  629. package/dist/components/scrollbar/Scrollbar.css +1 -0
  630. package/dist/components/scrollbar/Scrollbar.d.ts +6 -2
  631. package/dist/components/scrollbar/Scrollbar.d.ts.map +1 -1
  632. package/dist/components/scrollbar/Scrollbar.js +35 -20
  633. package/dist/components/scrollbar/Scrollbar.js.map +1 -1
  634. package/dist/components/scrollbar/Scrollbar.module.scss.cjs +1 -1
  635. package/dist/components/scrollbar/Scrollbar.module.scss.js +4 -3
  636. package/dist/components/scrollbar/Scrollbar.module.scss.js.map +1 -1
  637. package/dist/components/scrollbar/index.d.ts +1 -1
  638. package/dist/components/scrollbar/index.d.ts.map +1 -1
  639. package/dist/components/scrollbar/simplebar-vendor.css +1 -0
  640. package/dist/components/search-input/SearchInput.cjs +1 -1
  641. package/dist/components/search-input/SearchInput.cjs.map +1 -1
  642. package/dist/components/search-input/SearchInput.css +1 -0
  643. package/dist/components/search-input/SearchInput.d.ts +15 -0
  644. package/dist/components/search-input/SearchInput.d.ts.map +1 -1
  645. package/dist/components/search-input/SearchInput.js +114 -94
  646. package/dist/components/search-input/SearchInput.js.map +1 -1
  647. package/dist/components/search-input/SearchInput.module.scss.cjs +1 -1
  648. package/dist/components/search-input/SearchInput.module.scss.js +15 -23
  649. package/dist/components/search-tip-banner/SearchTipBanner.cjs +1 -1
  650. package/dist/components/search-tip-banner/SearchTipBanner.cjs.map +1 -1
  651. package/dist/components/search-tip-banner/SearchTipBanner.css +1 -0
  652. package/dist/components/search-tip-banner/SearchTipBanner.d.ts +8 -5
  653. package/dist/components/search-tip-banner/SearchTipBanner.d.ts.map +1 -1
  654. package/dist/components/search-tip-banner/SearchTipBanner.js +17 -16
  655. package/dist/components/search-tip-banner/SearchTipBanner.js.map +1 -1
  656. package/dist/components/search-tip-banner/SearchTipBanner.module.scss.cjs +1 -1
  657. package/dist/components/search-tip-banner/SearchTipBanner.module.scss.js +4 -4
  658. package/dist/components/section-notice/SectionNotice.cjs +1 -1
  659. package/dist/components/section-notice/SectionNotice.cjs.map +1 -1
  660. package/dist/components/section-notice/SectionNotice.css +1 -0
  661. package/dist/components/section-notice/SectionNotice.d.ts +21 -8
  662. package/dist/components/section-notice/SectionNotice.d.ts.map +1 -1
  663. package/dist/components/section-notice/SectionNotice.js +65 -49
  664. package/dist/components/section-notice/SectionNotice.js.map +1 -1
  665. package/dist/components/section-notice/SectionNotice.module.scss.cjs +1 -1
  666. package/dist/components/section-notice/SectionNotice.module.scss.js +13 -13
  667. package/dist/components/segmented-control/SegmentedControl.cjs +2 -0
  668. package/dist/components/segmented-control/SegmentedControl.cjs.map +1 -0
  669. package/dist/components/segmented-control/SegmentedControl.css +1 -0
  670. package/dist/components/segmented-control/SegmentedControl.d.ts +71 -0
  671. package/dist/components/segmented-control/SegmentedControl.d.ts.map +1 -0
  672. package/dist/components/segmented-control/SegmentedControl.js +173 -0
  673. package/dist/components/segmented-control/SegmentedControl.js.map +1 -0
  674. package/dist/components/segmented-control/SegmentedControl.module.scss.cjs +2 -0
  675. package/dist/components/segmented-control/SegmentedControl.module.scss.cjs.map +1 -0
  676. package/dist/components/segmented-control/SegmentedControl.module.scss.js +20 -0
  677. package/dist/components/segmented-control/SegmentedControl.module.scss.js.map +1 -0
  678. package/dist/components/segmented-control/index.cjs +2 -0
  679. package/dist/components/segmented-control/index.d.ts +3 -0
  680. package/dist/components/segmented-control/index.d.ts.map +1 -0
  681. package/dist/components/segmented-control/index.js +5 -0
  682. package/dist/components/select/Select.cjs +1 -1
  683. package/dist/components/select/Select.cjs.map +1 -1
  684. package/dist/components/select/Select.css +1 -0
  685. package/dist/components/select/Select.d.ts +39 -1
  686. package/dist/components/select/Select.d.ts.map +1 -1
  687. package/dist/components/select/Select.js +209 -192
  688. package/dist/components/select/Select.js.map +1 -1
  689. package/dist/components/select/Select.module.scss.cjs +1 -1
  690. package/dist/components/select/Select.module.scss.js +28 -28
  691. package/dist/components/select/Select.module.scss.js.map +1 -1
  692. package/dist/components/shortcut-tag/ShortcutTag.css +1 -0
  693. package/dist/components/shortcut-tag/ShortcutTag.module.scss.cjs +1 -1
  694. package/dist/components/shortcut-tag/ShortcutTag.module.scss.js +8 -8
  695. package/dist/components/spinner/Spinner.cjs +1 -1
  696. package/dist/components/spinner/Spinner.cjs.map +1 -1
  697. package/dist/components/spinner/Spinner.css +1 -0
  698. package/dist/components/spinner/Spinner.d.ts +2 -1
  699. package/dist/components/spinner/Spinner.d.ts.map +1 -1
  700. package/dist/components/spinner/Spinner.js +17 -17
  701. package/dist/components/spinner/Spinner.js.map +1 -1
  702. package/dist/components/spinner/Spinner.module.scss.cjs +1 -1
  703. package/dist/components/spinner/Spinner.module.scss.js +5 -5
  704. package/dist/components/status-badge/StatusBadge.cjs +1 -1
  705. package/dist/components/status-badge/StatusBadge.cjs.map +1 -1
  706. package/dist/components/status-badge/StatusBadge.css +1 -0
  707. package/dist/components/status-badge/StatusBadge.d.ts +3 -1
  708. package/dist/components/status-badge/StatusBadge.d.ts.map +1 -1
  709. package/dist/components/status-badge/StatusBadge.js +16 -15
  710. package/dist/components/status-badge/StatusBadge.js.map +1 -1
  711. package/dist/components/status-badge/StatusBadge.module.scss.cjs +1 -1
  712. package/dist/components/status-badge/StatusBadge.module.scss.js +12 -12
  713. package/dist/components/switch/Switch.cjs +1 -1
  714. package/dist/components/switch/Switch.cjs.map +1 -1
  715. package/dist/components/switch/Switch.css +1 -0
  716. package/dist/components/switch/Switch.d.ts +2 -1
  717. package/dist/components/switch/Switch.d.ts.map +1 -1
  718. package/dist/components/switch/Switch.js +32 -30
  719. package/dist/components/switch/Switch.js.map +1 -1
  720. package/dist/components/switch/Switch.module.scss.cjs +1 -1
  721. package/dist/components/switch/Switch.module.scss.js +15 -15
  722. package/dist/components/tabs/Tabs.cjs +1 -1
  723. package/dist/components/tabs/Tabs.cjs.map +1 -1
  724. package/dist/components/tabs/Tabs.css +1 -0
  725. package/dist/components/tabs/Tabs.d.ts +24 -5
  726. package/dist/components/tabs/Tabs.d.ts.map +1 -1
  727. package/dist/components/tabs/Tabs.js +74 -41
  728. package/dist/components/tabs/Tabs.js.map +1 -1
  729. package/dist/components/tabs/Tabs.module.scss.cjs +1 -1
  730. package/dist/components/tabs/Tabs.module.scss.js +17 -11
  731. package/dist/components/tabs/Tabs.module.scss.js.map +1 -1
  732. package/dist/components/tabs/index.d.ts +1 -1
  733. package/dist/components/tabs/index.d.ts.map +1 -1
  734. package/dist/components/tag/Tag.cjs +1 -1
  735. package/dist/components/tag/Tag.cjs.map +1 -1
  736. package/dist/components/tag/Tag.css +1 -0
  737. package/dist/components/tag/Tag.d.ts +6 -6
  738. package/dist/components/tag/Tag.d.ts.map +1 -1
  739. package/dist/components/tag/Tag.js +21 -16
  740. package/dist/components/tag/Tag.js.map +1 -1
  741. package/dist/components/tag/Tag.module.scss.cjs +1 -1
  742. package/dist/components/tag/Tag.module.scss.js +15 -15
  743. package/dist/components/team-avatar/TeamAvatar.cjs +1 -1
  744. package/dist/components/team-avatar/TeamAvatar.cjs.map +1 -1
  745. package/dist/components/team-avatar/TeamAvatar.css +1 -0
  746. package/dist/components/team-avatar/TeamAvatar.d.ts +8 -1
  747. package/dist/components/team-avatar/TeamAvatar.d.ts.map +1 -1
  748. package/dist/components/team-avatar/TeamAvatar.js +23 -21
  749. package/dist/components/team-avatar/TeamAvatar.js.map +1 -1
  750. package/dist/components/team-avatar/TeamAvatar.module.scss.cjs +1 -1
  751. package/dist/components/team-avatar/TeamAvatar.module.scss.js +18 -17
  752. package/dist/components/team-avatar/TeamAvatar.module.scss.js.map +1 -1
  753. package/dist/components/team-avatar/index.d.ts +1 -1
  754. package/dist/components/team-avatar/index.d.ts.map +1 -1
  755. package/dist/components/text-area/TextArea.cjs +1 -1
  756. package/dist/components/text-area/TextArea.cjs.map +1 -1
  757. package/dist/components/text-area/TextArea.css +1 -0
  758. package/dist/components/text-area/TextArea.d.ts +8 -0
  759. package/dist/components/text-area/TextArea.d.ts.map +1 -1
  760. package/dist/components/text-area/TextArea.js +94 -74
  761. package/dist/components/text-area/TextArea.js.map +1 -1
  762. package/dist/components/text-area/TextArea.module.scss.cjs +1 -1
  763. package/dist/components/text-area/TextArea.module.scss.js +14 -17
  764. package/dist/components/text-area/TextArea.module.scss.js.map +1 -1
  765. package/dist/components/text-input/TextInput.cjs +1 -1
  766. package/dist/components/text-input/TextInput.cjs.map +1 -1
  767. package/dist/components/text-input/TextInput.css +1 -0
  768. package/dist/components/text-input/TextInput.d.ts +39 -2
  769. package/dist/components/text-input/TextInput.d.ts.map +1 -1
  770. package/dist/components/text-input/TextInput.js +148 -90
  771. package/dist/components/text-input/TextInput.js.map +1 -1
  772. package/dist/components/text-input/TextInput.module.scss.cjs +1 -1
  773. package/dist/components/text-input/TextInput.module.scss.js +21 -24
  774. package/dist/components/text-input/TextInput.module.scss.js.map +1 -1
  775. package/dist/components/thread-footer/ThreadFooter.cjs +1 -1
  776. package/dist/components/thread-footer/ThreadFooter.cjs.map +1 -1
  777. package/dist/components/thread-footer/ThreadFooter.css +1 -0
  778. package/dist/components/thread-footer/ThreadFooter.d.ts +25 -10
  779. package/dist/components/thread-footer/ThreadFooter.d.ts.map +1 -1
  780. package/dist/components/thread-footer/ThreadFooter.js +72 -74
  781. package/dist/components/thread-footer/ThreadFooter.js.map +1 -1
  782. package/dist/components/thread-footer/ThreadFooter.module.scss.cjs +1 -1
  783. package/dist/components/thread-footer/ThreadFooter.module.scss.js +19 -19
  784. package/dist/components/thread-footer/index.d.ts +7 -1
  785. package/dist/components/thread-footer/index.d.ts.map +1 -1
  786. package/dist/components/thread-list-item/ThreadListItem.cjs +1 -1
  787. package/dist/components/thread-list-item/ThreadListItem.cjs.map +1 -1
  788. package/dist/components/thread-list-item/ThreadListItem.css +1 -0
  789. package/dist/components/thread-list-item/ThreadListItem.d.ts +17 -9
  790. package/dist/components/thread-list-item/ThreadListItem.d.ts.map +1 -1
  791. package/dist/components/thread-list-item/ThreadListItem.js +112 -91
  792. package/dist/components/thread-list-item/ThreadListItem.js.map +1 -1
  793. package/dist/components/thread-list-item/ThreadListItem.module.scss.cjs +1 -1
  794. package/dist/components/thread-list-item/ThreadListItem.module.scss.js +27 -24
  795. package/dist/components/thread-list-item/ThreadListItem.module.scss.js.map +1 -1
  796. package/dist/components/thread-list-item/index.d.ts +1 -1
  797. package/dist/components/tile-button/TileButton.cjs +2 -0
  798. package/dist/components/tile-button/TileButton.cjs.map +1 -0
  799. package/dist/components/tile-button/TileButton.css +1 -0
  800. package/dist/components/tile-button/TileButton.d.ts +54 -0
  801. package/dist/components/tile-button/TileButton.d.ts.map +1 -0
  802. package/dist/components/tile-button/TileButton.js +74 -0
  803. package/dist/components/tile-button/TileButton.js.map +1 -0
  804. package/dist/components/tile-button/TileButton.module.scss.cjs +2 -0
  805. package/dist/components/tile-button/TileButton.module.scss.cjs.map +1 -0
  806. package/dist/components/tile-button/TileButton.module.scss.js +12 -0
  807. package/dist/components/tile-button/TileButton.module.scss.js.map +1 -0
  808. package/dist/components/tile-button/index.cjs +2 -0
  809. package/dist/components/tile-button/index.d.ts +3 -0
  810. package/dist/components/tile-button/index.d.ts.map +1 -0
  811. package/dist/components/tile-button/index.js +5 -0
  812. package/dist/components/toast/Toast.cjs +1 -1
  813. package/dist/components/toast/Toast.cjs.map +1 -1
  814. package/dist/components/toast/Toast.css +1 -0
  815. package/dist/components/toast/Toast.d.ts +13 -4
  816. package/dist/components/toast/Toast.d.ts.map +1 -1
  817. package/dist/components/toast/Toast.js +49 -40
  818. package/dist/components/toast/Toast.js.map +1 -1
  819. package/dist/components/toast/Toast.module.scss.cjs +1 -1
  820. package/dist/components/toast/Toast.module.scss.js +16 -15
  821. package/dist/components/toast/Toast.module.scss.js.map +1 -1
  822. package/dist/components/tooltip/Tooltip.cjs +1 -1
  823. package/dist/components/tooltip/Tooltip.cjs.map +1 -1
  824. package/dist/components/tooltip/Tooltip.css +1 -0
  825. package/dist/components/tooltip/Tooltip.d.ts +14 -5
  826. package/dist/components/tooltip/Tooltip.d.ts.map +1 -1
  827. package/dist/components/tooltip/Tooltip.js +34 -21
  828. package/dist/components/tooltip/Tooltip.js.map +1 -1
  829. package/dist/components/tooltip/Tooltip.module.scss.cjs +1 -1
  830. package/dist/components/tooltip/Tooltip.module.scss.js +7 -6
  831. package/dist/components/tooltip/Tooltip.module.scss.js.map +1 -1
  832. package/dist/components/tooltip/index.d.ts +1 -1
  833. package/dist/components/tooltip/index.d.ts.map +1 -1
  834. package/dist/components/tour-point/TourPoint.cjs +1 -1
  835. package/dist/components/tour-point/TourPoint.cjs.map +1 -1
  836. package/dist/components/tour-point/TourPoint.css +1 -0
  837. package/dist/components/tour-point/TourPoint.d.ts +19 -5
  838. package/dist/components/tour-point/TourPoint.d.ts.map +1 -1
  839. package/dist/components/tour-point/TourPoint.js +71 -57
  840. package/dist/components/tour-point/TourPoint.js.map +1 -1
  841. package/dist/components/tour-point/TourPoint.module.scss.cjs +1 -1
  842. package/dist/components/tour-point/TourPoint.module.scss.js +29 -29
  843. package/dist/components/unread-badge/UnreadBadge.css +1 -0
  844. package/dist/components/unread-badge/UnreadBadge.module.scss.cjs +1 -1
  845. package/dist/components/unread-badge/UnreadBadge.module.scss.js +6 -6
  846. package/dist/components/user-avatar/UserAvatar.cjs +1 -1
  847. package/dist/components/user-avatar/UserAvatar.cjs.map +1 -1
  848. package/dist/components/user-avatar/UserAvatar.css +1 -0
  849. package/dist/components/user-avatar/UserAvatar.d.ts +18 -8
  850. package/dist/components/user-avatar/UserAvatar.d.ts.map +1 -1
  851. package/dist/components/user-avatar/UserAvatar.js +84 -52
  852. package/dist/components/user-avatar/UserAvatar.js.map +1 -1
  853. package/dist/components/user-avatar/UserAvatar.module.scss.cjs +1 -1
  854. package/dist/components/user-avatar/UserAvatar.module.scss.js +34 -27
  855. package/dist/components/user-avatar/UserAvatar.module.scss.js.map +1 -1
  856. package/dist/components/user-avatar-group/UserAvatarGroup.cjs +1 -1
  857. package/dist/components/user-avatar-group/UserAvatarGroup.cjs.map +1 -1
  858. package/dist/components/user-avatar-group/UserAvatarGroup.css +1 -0
  859. package/dist/components/user-avatar-group/UserAvatarGroup.d.ts +8 -1
  860. package/dist/components/user-avatar-group/UserAvatarGroup.d.ts.map +1 -1
  861. package/dist/components/user-avatar-group/UserAvatarGroup.js +42 -45
  862. package/dist/components/user-avatar-group/UserAvatarGroup.js.map +1 -1
  863. package/dist/components/user-avatar-group/UserAvatarGroup.module.scss.cjs +1 -1
  864. package/dist/components/user-avatar-group/UserAvatarGroup.module.scss.js +15 -15
  865. package/dist/hooks/use-anchored-popup-portal.cjs +1 -1
  866. package/dist/hooks/use-anchored-popup-portal.cjs.map +1 -0
  867. package/dist/hooks/use-anchored-popup-portal.d.ts +2 -2
  868. package/dist/hooks/use-anchored-popup-portal.d.ts.map +1 -0
  869. package/dist/hooks/use-anchored-popup-portal.js +2 -4
  870. package/dist/hooks/use-anchored-popup-portal.js.map +1 -0
  871. package/dist/hooks/use-controllable.cjs +1 -1
  872. package/dist/hooks/use-controllable.cjs.map +1 -0
  873. package/dist/hooks/use-controllable.d.ts +1 -1
  874. package/dist/hooks/use-controllable.d.ts.map +1 -0
  875. package/dist/hooks/use-controllable.js +1 -1
  876. package/dist/hooks/use-controllable.js.map +1 -0
  877. package/dist/hooks/use-exit-animation.cjs +1 -1
  878. package/dist/hooks/use-exit-animation.cjs.map +1 -0
  879. package/dist/hooks/use-exit-animation.d.ts +1 -1
  880. package/dist/hooks/use-exit-animation.d.ts.map +1 -0
  881. package/dist/hooks/use-exit-animation.js +1 -1
  882. package/dist/hooks/use-exit-animation.js.map +1 -0
  883. package/dist/hooks/use-modal-focus.cjs +2 -0
  884. package/dist/hooks/use-modal-focus.cjs.map +1 -0
  885. package/dist/hooks/use-modal-focus.d.ts +34 -0
  886. package/dist/hooks/use-modal-focus.d.ts.map +1 -0
  887. package/dist/hooks/use-modal-focus.js +93 -0
  888. package/dist/hooks/use-modal-focus.js.map +1 -0
  889. package/dist/hooks/use-outside-close.cjs +1 -1
  890. package/dist/hooks/use-outside-close.cjs.map +1 -0
  891. package/dist/hooks/use-outside-close.d.ts +1 -1
  892. package/dist/hooks/use-outside-close.d.ts.map +1 -0
  893. package/dist/hooks/use-outside-close.js +1 -1
  894. package/dist/hooks/use-outside-close.js.map +1 -0
  895. package/dist/hooks/use-popover-transition.cjs +2 -2
  896. package/dist/hooks/use-popover-transition.cjs.map +1 -0
  897. package/dist/hooks/use-popover-transition.d.ts +7 -5
  898. package/dist/hooks/use-popover-transition.d.ts.map +1 -0
  899. package/dist/hooks/use-popover-transition.js +20 -16
  900. package/dist/hooks/use-popover-transition.js.map +1 -0
  901. package/dist/illustrations/ai-copilot-intro.cjs +2 -0
  902. package/dist/illustrations/ai-copilot-intro.cjs.map +1 -0
  903. package/dist/illustrations/ai-copilot-intro.d.ts +4 -0
  904. package/dist/illustrations/ai-copilot-intro.js +5 -0
  905. package/dist/illustrations/ai-copilot-intro.js.map +1 -0
  906. package/dist/illustrations/ai-copilot-intro.svg.cjs +2 -0
  907. package/dist/illustrations/ai-copilot-intro.svg.cjs.map +1 -0
  908. package/dist/illustrations/ai-copilot-intro.svg.js +6 -0
  909. package/dist/illustrations/ai-copilot-intro.svg.js.map +1 -0
  910. package/dist/illustrations/alert-on-sidebar-bg.cjs +2 -0
  911. package/dist/illustrations/alert-on-sidebar-bg.cjs.map +1 -0
  912. package/dist/illustrations/alert-on-sidebar-bg.d.ts +4 -0
  913. package/dist/illustrations/alert-on-sidebar-bg.js +5 -0
  914. package/dist/illustrations/alert-on-sidebar-bg.js.map +1 -0
  915. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs +2 -0
  916. package/dist/illustrations/alert-on-sidebar-bg.svg.cjs.map +1 -0
  917. package/dist/illustrations/alert-on-sidebar-bg.svg.js +6 -0
  918. package/dist/illustrations/alert-on-sidebar-bg.svg.js.map +1 -0
  919. package/dist/illustrations/alert.cjs +2 -0
  920. package/dist/illustrations/alert.cjs.map +1 -0
  921. package/dist/illustrations/alert.d.ts +4 -0
  922. package/dist/illustrations/alert.js +5 -0
  923. package/dist/illustrations/alert.js.map +1 -0
  924. package/dist/illustrations/alert.svg.cjs +2 -0
  925. package/dist/illustrations/alert.svg.cjs.map +1 -0
  926. package/dist/illustrations/alert.svg.js +6 -0
  927. package/dist/illustrations/alert.svg.js.map +1 -0
  928. package/dist/illustrations/archived-channel.cjs +2 -0
  929. package/dist/illustrations/archived-channel.cjs.map +1 -0
  930. package/dist/illustrations/archived-channel.d.ts +4 -0
  931. package/dist/illustrations/archived-channel.js +5 -0
  932. package/dist/illustrations/archived-channel.js.map +1 -0
  933. package/dist/illustrations/archived-channel.svg.cjs +2 -0
  934. package/dist/illustrations/archived-channel.svg.cjs.map +1 -0
  935. package/dist/illustrations/archived-channel.svg.js +6 -0
  936. package/dist/illustrations/archived-channel.svg.js.map +1 -0
  937. package/dist/illustrations/auto-translation.cjs +2 -0
  938. package/dist/illustrations/auto-translation.cjs.map +1 -0
  939. package/dist/illustrations/auto-translation.d.ts +4 -0
  940. package/dist/illustrations/auto-translation.js +5 -0
  941. package/dist/illustrations/auto-translation.js.map +1 -0
  942. package/dist/illustrations/auto-translation.svg.cjs +2 -0
  943. package/dist/illustrations/auto-translation.svg.cjs.map +1 -0
  944. package/dist/illustrations/auto-translation.svg.js +6 -0
  945. package/dist/illustrations/auto-translation.svg.js.map +1 -0
  946. package/dist/illustrations/banners.cjs +2 -0
  947. package/dist/illustrations/banners.cjs.map +1 -0
  948. package/dist/illustrations/banners.d.ts +4 -0
  949. package/dist/illustrations/banners.js +5 -0
  950. package/dist/illustrations/banners.js.map +1 -0
  951. package/dist/illustrations/banners.svg.cjs +2 -0
  952. package/dist/illustrations/banners.svg.cjs.map +1 -0
  953. package/dist/illustrations/banners.svg.js +6 -0
  954. package/dist/illustrations/banners.svg.js.map +1 -0
  955. package/dist/illustrations/billing-history.cjs +2 -0
  956. package/dist/illustrations/billing-history.cjs.map +1 -0
  957. package/dist/illustrations/billing-history.d.ts +4 -0
  958. package/dist/illustrations/billing-history.js +5 -0
  959. package/dist/illustrations/billing-history.js.map +1 -0
  960. package/dist/illustrations/billing-history.svg.cjs +2 -0
  961. package/dist/illustrations/billing-history.svg.cjs.map +1 -0
  962. package/dist/illustrations/billing-history.svg.js +6 -0
  963. package/dist/illustrations/billing-history.svg.js.map +1 -0
  964. package/dist/illustrations/blank-playbook.cjs +2 -0
  965. package/dist/illustrations/blank-playbook.cjs.map +1 -0
  966. package/dist/illustrations/blank-playbook.d.ts +4 -0
  967. package/dist/illustrations/blank-playbook.js +5 -0
  968. package/dist/illustrations/blank-playbook.js.map +1 -0
  969. package/dist/illustrations/blank-playbook.svg.cjs +2 -0
  970. package/dist/illustrations/blank-playbook.svg.cjs.map +1 -0
  971. package/dist/illustrations/blank-playbook.svg.js +6 -0
  972. package/dist/illustrations/blank-playbook.svg.js.map +1 -0
  973. package/dist/illustrations/bot-accounts.cjs +2 -0
  974. package/dist/illustrations/bot-accounts.cjs.map +1 -0
  975. package/dist/illustrations/bot-accounts.d.ts +4 -0
  976. package/dist/illustrations/bot-accounts.js +5 -0
  977. package/dist/illustrations/bot-accounts.js.map +1 -0
  978. package/dist/illustrations/bot-accounts.svg.cjs +2 -0
  979. package/dist/illustrations/bot-accounts.svg.cjs.map +1 -0
  980. package/dist/illustrations/bot-accounts.svg.js +6 -0
  981. package/dist/illustrations/bot-accounts.svg.js.map +1 -0
  982. package/dist/illustrations/browser-or-desktop.cjs +2 -0
  983. package/dist/illustrations/browser-or-desktop.cjs.map +1 -0
  984. package/dist/illustrations/browser-or-desktop.d.ts +4 -0
  985. package/dist/illustrations/browser-or-desktop.js +5 -0
  986. package/dist/illustrations/browser-or-desktop.js.map +1 -0
  987. package/dist/illustrations/browser-or-desktop.svg.cjs +2 -0
  988. package/dist/illustrations/browser-or-desktop.svg.cjs.map +1 -0
  989. package/dist/illustrations/browser-or-desktop.svg.js +6 -0
  990. package/dist/illustrations/browser-or-desktop.svg.js.map +1 -0
  991. package/dist/illustrations/bug-bash.cjs +2 -0
  992. package/dist/illustrations/bug-bash.cjs.map +1 -0
  993. package/dist/illustrations/bug-bash.d.ts +4 -0
  994. package/dist/illustrations/bug-bash.js +5 -0
  995. package/dist/illustrations/bug-bash.js.map +1 -0
  996. package/dist/illustrations/bug-bash.svg.cjs +2 -0
  997. package/dist/illustrations/bug-bash.svg.cjs.map +1 -0
  998. package/dist/illustrations/bug-bash.svg.js +6 -0
  999. package/dist/illustrations/bug-bash.svg.js.map +1 -0
  1000. package/dist/illustrations/calls.cjs +2 -0
  1001. package/dist/illustrations/calls.cjs.map +1 -0
  1002. package/dist/illustrations/calls.d.ts +4 -0
  1003. package/dist/illustrations/calls.js +5 -0
  1004. package/dist/illustrations/calls.js.map +1 -0
  1005. package/dist/illustrations/calls.svg.cjs +2 -0
  1006. package/dist/illustrations/calls.svg.cjs.map +1 -0
  1007. package/dist/illustrations/calls.svg.js +6 -0
  1008. package/dist/illustrations/calls.svg.js.map +1 -0
  1009. package/dist/illustrations/collaborate.cjs +2 -0
  1010. package/dist/illustrations/collaborate.cjs.map +1 -0
  1011. package/dist/illustrations/collaborate.d.ts +4 -0
  1012. package/dist/illustrations/collaborate.js +5 -0
  1013. package/dist/illustrations/collaborate.js.map +1 -0
  1014. package/dist/illustrations/collaborate.svg.cjs +2 -0
  1015. package/dist/illustrations/collaborate.svg.cjs.map +1 -0
  1016. package/dist/illustrations/collaborate.svg.js +6 -0
  1017. package/dist/illustrations/collaborate.svg.js.map +1 -0
  1018. package/dist/illustrations/compliance-exports.cjs +2 -0
  1019. package/dist/illustrations/compliance-exports.cjs.map +1 -0
  1020. package/dist/illustrations/compliance-exports.d.ts +4 -0
  1021. package/dist/illustrations/compliance-exports.js +5 -0
  1022. package/dist/illustrations/compliance-exports.js.map +1 -0
  1023. package/dist/illustrations/compliance-exports.svg.cjs +2 -0
  1024. package/dist/illustrations/compliance-exports.svg.cjs.map +1 -0
  1025. package/dist/illustrations/compliance-exports.svg.js +6 -0
  1026. package/dist/illustrations/compliance-exports.svg.js.map +1 -0
  1027. package/dist/illustrations/copilot-bot.cjs +2 -0
  1028. package/dist/illustrations/copilot-bot.cjs.map +1 -0
  1029. package/dist/illustrations/copilot-bot.d.ts +4 -0
  1030. package/dist/illustrations/copilot-bot.js +5 -0
  1031. package/dist/illustrations/copilot-bot.js.map +1 -0
  1032. package/dist/illustrations/copilot-bot.svg.cjs +2 -0
  1033. package/dist/illustrations/copilot-bot.svg.cjs.map +1 -0
  1034. package/dist/illustrations/copilot-bot.svg.js +6 -0
  1035. package/dist/illustrations/copilot-bot.svg.js.map +1 -0
  1036. package/dist/illustrations/custom-branding.cjs +2 -0
  1037. package/dist/illustrations/custom-branding.cjs.map +1 -0
  1038. package/dist/illustrations/custom-branding.d.ts +4 -0
  1039. package/dist/illustrations/custom-branding.js +5 -0
  1040. package/dist/illustrations/custom-branding.js.map +1 -0
  1041. package/dist/illustrations/custom-branding.svg.cjs +2 -0
  1042. package/dist/illustrations/custom-branding.svg.cjs.map +1 -0
  1043. package/dist/illustrations/custom-branding.svg.js +6 -0
  1044. package/dist/illustrations/custom-branding.svg.js.map +1 -0
  1045. package/dist/illustrations/custom-terms.cjs +2 -0
  1046. package/dist/illustrations/custom-terms.cjs.map +1 -0
  1047. package/dist/illustrations/custom-terms.d.ts +4 -0
  1048. package/dist/illustrations/custom-terms.js +5 -0
  1049. package/dist/illustrations/custom-terms.js.map +1 -0
  1050. package/dist/illustrations/custom-terms.svg.cjs +2 -0
  1051. package/dist/illustrations/custom-terms.svg.cjs.map +1 -0
  1052. package/dist/illustrations/custom-terms.svg.js +6 -0
  1053. package/dist/illustrations/custom-terms.svg.js.map +1 -0
  1054. package/dist/illustrations/customer-onboarding.cjs +2 -0
  1055. package/dist/illustrations/customer-onboarding.cjs.map +1 -0
  1056. package/dist/illustrations/customer-onboarding.d.ts +4 -0
  1057. package/dist/illustrations/customer-onboarding.js +5 -0
  1058. package/dist/illustrations/customer-onboarding.js.map +1 -0
  1059. package/dist/illustrations/customer-onboarding.svg.cjs +2 -0
  1060. package/dist/illustrations/customer-onboarding.svg.cjs.map +1 -0
  1061. package/dist/illustrations/customer-onboarding.svg.js +6 -0
  1062. package/dist/illustrations/customer-onboarding.svg.js.map +1 -0
  1063. package/dist/illustrations/data-retention.cjs +2 -0
  1064. package/dist/illustrations/data-retention.cjs.map +1 -0
  1065. package/dist/illustrations/data-retention.d.ts +4 -0
  1066. package/dist/illustrations/data-retention.js +5 -0
  1067. package/dist/illustrations/data-retention.js.map +1 -0
  1068. package/dist/illustrations/data-retention.svg.cjs +2 -0
  1069. package/dist/illustrations/data-retention.svg.cjs.map +1 -0
  1070. package/dist/illustrations/data-retention.svg.js +6 -0
  1071. package/dist/illustrations/data-retention.svg.js.map +1 -0
  1072. package/dist/illustrations/drafts-empty.cjs +2 -0
  1073. package/dist/illustrations/drafts-empty.cjs.map +1 -0
  1074. package/dist/illustrations/drafts-empty.d.ts +4 -0
  1075. package/dist/illustrations/drafts-empty.js +5 -0
  1076. package/dist/illustrations/drafts-empty.js.map +1 -0
  1077. package/dist/illustrations/drafts-empty.svg.cjs +2 -0
  1078. package/dist/illustrations/drafts-empty.svg.cjs.map +1 -0
  1079. package/dist/illustrations/drafts-empty.svg.js +6 -0
  1080. package/dist/illustrations/drafts-empty.svg.js.map +1 -0
  1081. package/dist/illustrations/employee-onboarding.cjs +2 -0
  1082. package/dist/illustrations/employee-onboarding.cjs.map +1 -0
  1083. package/dist/illustrations/employee-onboarding.d.ts +4 -0
  1084. package/dist/illustrations/employee-onboarding.js +5 -0
  1085. package/dist/illustrations/employee-onboarding.js.map +1 -0
  1086. package/dist/illustrations/employee-onboarding.svg.cjs +2 -0
  1087. package/dist/illustrations/employee-onboarding.svg.cjs.map +1 -0
  1088. package/dist/illustrations/employee-onboarding.svg.js +6 -0
  1089. package/dist/illustrations/employee-onboarding.svg.js.map +1 -0
  1090. package/dist/illustrations/feature-lifecycle.cjs +2 -0
  1091. package/dist/illustrations/feature-lifecycle.cjs.map +1 -0
  1092. package/dist/illustrations/feature-lifecycle.d.ts +4 -0
  1093. package/dist/illustrations/feature-lifecycle.js +5 -0
  1094. package/dist/illustrations/feature-lifecycle.js.map +1 -0
  1095. package/dist/illustrations/feature-lifecycle.svg.cjs +2 -0
  1096. package/dist/illustrations/feature-lifecycle.svg.cjs.map +1 -0
  1097. package/dist/illustrations/feature-lifecycle.svg.js +6 -0
  1098. package/dist/illustrations/feature-lifecycle.svg.js.map +1 -0
  1099. package/dist/illustrations/file-search-empty.cjs +2 -0
  1100. package/dist/illustrations/file-search-empty.cjs.map +1 -0
  1101. package/dist/illustrations/file-search-empty.d.ts +4 -0
  1102. package/dist/illustrations/file-search-empty.js +5 -0
  1103. package/dist/illustrations/file-search-empty.js.map +1 -0
  1104. package/dist/illustrations/file-search-empty.svg.cjs +2 -0
  1105. package/dist/illustrations/file-search-empty.svg.cjs.map +1 -0
  1106. package/dist/illustrations/file-search-empty.svg.js +6 -0
  1107. package/dist/illustrations/file-search-empty.svg.js.map +1 -0
  1108. package/dist/illustrations/globe.cjs +2 -0
  1109. package/dist/illustrations/globe.cjs.map +1 -0
  1110. package/dist/illustrations/globe.d.ts +4 -0
  1111. package/dist/illustrations/globe.js +5 -0
  1112. package/dist/illustrations/globe.js.map +1 -0
  1113. package/dist/illustrations/globe.svg.cjs +2 -0
  1114. package/dist/illustrations/globe.svg.cjs.map +1 -0
  1115. package/dist/illustrations/globe.svg.js +6 -0
  1116. package/dist/illustrations/globe.svg.js.map +1 -0
  1117. package/dist/illustrations/group.cjs +2 -0
  1118. package/dist/illustrations/group.cjs.map +1 -0
  1119. package/dist/illustrations/group.d.ts +4 -0
  1120. package/dist/illustrations/group.js +5 -0
  1121. package/dist/illustrations/group.js.map +1 -0
  1122. package/dist/illustrations/group.svg.cjs +2 -0
  1123. package/dist/illustrations/group.svg.cjs.map +1 -0
  1124. package/dist/illustrations/group.svg.js +12 -0
  1125. package/dist/illustrations/group.svg.js.map +1 -0
  1126. package/dist/illustrations/groups.cjs +2 -0
  1127. package/dist/illustrations/groups.cjs.map +1 -0
  1128. package/dist/illustrations/groups.d.ts +4 -0
  1129. package/dist/illustrations/groups.js +5 -0
  1130. package/dist/illustrations/groups.js.map +1 -0
  1131. package/dist/illustrations/groups.svg.cjs +2 -0
  1132. package/dist/illustrations/groups.svg.cjs.map +1 -0
  1133. package/dist/illustrations/groups.svg.js +12 -0
  1134. package/dist/illustrations/groups.svg.js.map +1 -0
  1135. package/dist/illustrations/incident-resolution.cjs +2 -0
  1136. package/dist/illustrations/incident-resolution.cjs.map +1 -0
  1137. package/dist/illustrations/incident-resolution.d.ts +4 -0
  1138. package/dist/illustrations/incident-resolution.js +5 -0
  1139. package/dist/illustrations/incident-resolution.js.map +1 -0
  1140. package/dist/illustrations/incident-resolution.svg.cjs +2 -0
  1141. package/dist/illustrations/incident-resolution.svg.cjs.map +1 -0
  1142. package/dist/illustrations/incident-resolution.svg.js +6 -0
  1143. package/dist/illustrations/incident-resolution.svg.js.map +1 -0
  1144. package/dist/illustrations/incoming-webhook.cjs +2 -0
  1145. package/dist/illustrations/incoming-webhook.cjs.map +1 -0
  1146. package/dist/illustrations/incoming-webhook.d.ts +4 -0
  1147. package/dist/illustrations/incoming-webhook.js +5 -0
  1148. package/dist/illustrations/incoming-webhook.js.map +1 -0
  1149. package/dist/illustrations/incoming-webhook.svg.cjs +2 -0
  1150. package/dist/illustrations/incoming-webhook.svg.cjs.map +1 -0
  1151. package/dist/illustrations/incoming-webhook.svg.js +6 -0
  1152. package/dist/illustrations/incoming-webhook.svg.js.map +1 -0
  1153. package/dist/illustrations/intune-mam.cjs +2 -0
  1154. package/dist/illustrations/intune-mam.cjs.map +1 -0
  1155. package/dist/illustrations/intune-mam.d.ts +4 -0
  1156. package/dist/illustrations/intune-mam.js +5 -0
  1157. package/dist/illustrations/intune-mam.js.map +1 -0
  1158. package/dist/illustrations/intune-mam.svg.cjs +2 -0
  1159. package/dist/illustrations/intune-mam.svg.cjs.map +1 -0
  1160. package/dist/illustrations/intune-mam.svg.js +8 -0
  1161. package/dist/illustrations/intune-mam.svg.js.map +1 -0
  1162. package/dist/illustrations/learn-playbooks.cjs +2 -0
  1163. package/dist/illustrations/learn-playbooks.cjs.map +1 -0
  1164. package/dist/illustrations/learn-playbooks.d.ts +4 -0
  1165. package/dist/illustrations/learn-playbooks.js +5 -0
  1166. package/dist/illustrations/learn-playbooks.js.map +1 -0
  1167. package/dist/illustrations/learn-playbooks.svg.cjs +2 -0
  1168. package/dist/illustrations/learn-playbooks.svg.cjs.map +1 -0
  1169. package/dist/illustrations/learn-playbooks.svg.js +6 -0
  1170. package/dist/illustrations/learn-playbooks.svg.js.map +1 -0
  1171. package/dist/illustrations/locked-messages.cjs +2 -0
  1172. package/dist/illustrations/locked-messages.cjs.map +1 -0
  1173. package/dist/illustrations/locked-messages.d.ts +4 -0
  1174. package/dist/illustrations/locked-messages.js +5 -0
  1175. package/dist/illustrations/locked-messages.js.map +1 -0
  1176. package/dist/illustrations/locked-messages.svg.cjs +2 -0
  1177. package/dist/illustrations/locked-messages.svg.cjs.map +1 -0
  1178. package/dist/illustrations/locked-messages.svg.js +6 -0
  1179. package/dist/illustrations/locked-messages.svg.js.map +1 -0
  1180. package/dist/illustrations/mentions-empty.cjs +2 -0
  1181. package/dist/illustrations/mentions-empty.cjs.map +1 -0
  1182. package/dist/illustrations/mentions-empty.d.ts +4 -0
  1183. package/dist/illustrations/mentions-empty.js +5 -0
  1184. package/dist/illustrations/mentions-empty.js.map +1 -0
  1185. package/dist/illustrations/mentions-empty.svg.cjs +2 -0
  1186. package/dist/illustrations/mentions-empty.svg.cjs.map +1 -0
  1187. package/dist/illustrations/mentions-empty.svg.js +6 -0
  1188. package/dist/illustrations/mentions-empty.svg.js.map +1 -0
  1189. package/dist/illustrations/message-not-viewable.cjs +2 -0
  1190. package/dist/illustrations/message-not-viewable.cjs.map +1 -0
  1191. package/dist/illustrations/message-not-viewable.d.ts +4 -0
  1192. package/dist/illustrations/message-not-viewable.js +5 -0
  1193. package/dist/illustrations/message-not-viewable.js.map +1 -0
  1194. package/dist/illustrations/message-not-viewable.svg.cjs +2 -0
  1195. package/dist/illustrations/message-not-viewable.svg.cjs.map +1 -0
  1196. package/dist/illustrations/message-not-viewable.svg.js +6 -0
  1197. package/dist/illustrations/message-not-viewable.svg.js.map +1 -0
  1198. package/dist/illustrations/message-search-empty.cjs +2 -0
  1199. package/dist/illustrations/message-search-empty.cjs.map +1 -0
  1200. package/dist/illustrations/message-search-empty.d.ts +4 -0
  1201. package/dist/illustrations/message-search-empty.js +5 -0
  1202. package/dist/illustrations/message-search-empty.js.map +1 -0
  1203. package/dist/illustrations/message-search-empty.svg.cjs +2 -0
  1204. package/dist/illustrations/message-search-empty.svg.cjs.map +1 -0
  1205. package/dist/illustrations/message-search-empty.svg.js +6 -0
  1206. package/dist/illustrations/message-search-empty.svg.js.map +1 -0
  1207. package/dist/illustrations/mfa-complete.cjs +2 -0
  1208. package/dist/illustrations/mfa-complete.cjs.map +1 -0
  1209. package/dist/illustrations/mfa-complete.d.ts +4 -0
  1210. package/dist/illustrations/mfa-complete.js +5 -0
  1211. package/dist/illustrations/mfa-complete.js.map +1 -0
  1212. package/dist/illustrations/mfa-complete.svg.cjs +2 -0
  1213. package/dist/illustrations/mfa-complete.svg.cjs.map +1 -0
  1214. package/dist/illustrations/mfa-complete.svg.js +6 -0
  1215. package/dist/illustrations/mfa-complete.svg.js.map +1 -0
  1216. package/dist/illustrations/mfa.cjs +2 -0
  1217. package/dist/illustrations/mfa.cjs.map +1 -0
  1218. package/dist/illustrations/mfa.d.ts +4 -0
  1219. package/dist/illustrations/mfa.js +5 -0
  1220. package/dist/illustrations/mfa.js.map +1 -0
  1221. package/dist/illustrations/mfa.svg.cjs +2 -0
  1222. package/dist/illustrations/mfa.svg.cjs.map +1 -0
  1223. package/dist/illustrations/mfa.svg.js +6 -0
  1224. package/dist/illustrations/mfa.svg.js.map +1 -0
  1225. package/dist/illustrations/mobile-protection.cjs +2 -0
  1226. package/dist/illustrations/mobile-protection.cjs.map +1 -0
  1227. package/dist/illustrations/mobile-protection.d.ts +4 -0
  1228. package/dist/illustrations/mobile-protection.js +5 -0
  1229. package/dist/illustrations/mobile-protection.js.map +1 -0
  1230. package/dist/illustrations/mobile-protection.svg.cjs +2 -0
  1231. package/dist/illustrations/mobile-protection.svg.cjs.map +1 -0
  1232. package/dist/illustrations/mobile-protection.svg.js +6 -0
  1233. package/dist/illustrations/mobile-protection.svg.js.map +1 -0
  1234. package/dist/illustrations/mobile-security.cjs +2 -0
  1235. package/dist/illustrations/mobile-security.cjs.map +1 -0
  1236. package/dist/illustrations/mobile-security.d.ts +4 -0
  1237. package/dist/illustrations/mobile-security.js +5 -0
  1238. package/dist/illustrations/mobile-security.js.map +1 -0
  1239. package/dist/illustrations/mobile-security.svg.cjs +2 -0
  1240. package/dist/illustrations/mobile-security.svg.cjs.map +1 -0
  1241. package/dist/illustrations/mobile-security.svg.js +6 -0
  1242. package/dist/illustrations/mobile-security.svg.js.map +1 -0
  1243. package/dist/illustrations/names.cjs +2 -0
  1244. package/dist/illustrations/names.cjs.map +1 -0
  1245. package/dist/illustrations/names.d.ts +3 -0
  1246. package/dist/illustrations/names.d.ts.map +1 -0
  1247. package/dist/illustrations/names.js +75 -0
  1248. package/dist/illustrations/names.js.map +1 -0
  1249. package/dist/illustrations/new-password.cjs +2 -0
  1250. package/dist/illustrations/new-password.cjs.map +1 -0
  1251. package/dist/illustrations/new-password.d.ts +4 -0
  1252. package/dist/illustrations/new-password.js +5 -0
  1253. package/dist/illustrations/new-password.js.map +1 -0
  1254. package/dist/illustrations/new-password.svg.cjs +2 -0
  1255. package/dist/illustrations/new-password.svg.cjs.map +1 -0
  1256. package/dist/illustrations/new-password.svg.js +6 -0
  1257. package/dist/illustrations/new-password.svg.js.map +1 -0
  1258. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs +2 -0
  1259. package/dist/illustrations/no-unreads-on-sidebar-bg.cjs.map +1 -0
  1260. package/dist/illustrations/no-unreads-on-sidebar-bg.d.ts +4 -0
  1261. package/dist/illustrations/no-unreads-on-sidebar-bg.js +5 -0
  1262. package/dist/illustrations/no-unreads-on-sidebar-bg.js.map +1 -0
  1263. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs +2 -0
  1264. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.cjs.map +1 -0
  1265. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js +6 -0
  1266. package/dist/illustrations/no-unreads-on-sidebar-bg.svg.js.map +1 -0
  1267. package/dist/illustrations/oauth.cjs +2 -0
  1268. package/dist/illustrations/oauth.cjs.map +1 -0
  1269. package/dist/illustrations/oauth.d.ts +4 -0
  1270. package/dist/illustrations/oauth.js +5 -0
  1271. package/dist/illustrations/oauth.js.map +1 -0
  1272. package/dist/illustrations/oauth.svg.cjs +2 -0
  1273. package/dist/illustrations/oauth.svg.cjs.map +1 -0
  1274. package/dist/illustrations/oauth.svg.js +6 -0
  1275. package/dist/illustrations/oauth.svg.js.map +1 -0
  1276. package/dist/illustrations/office.cjs +2 -0
  1277. package/dist/illustrations/office.cjs.map +1 -0
  1278. package/dist/illustrations/office.d.ts +4 -0
  1279. package/dist/illustrations/office.js +5 -0
  1280. package/dist/illustrations/office.js.map +1 -0
  1281. package/dist/illustrations/office.svg.cjs +2 -0
  1282. package/dist/illustrations/office.svg.cjs.map +1 -0
  1283. package/dist/illustrations/office.svg.js +6 -0
  1284. package/dist/illustrations/office.svg.js.map +1 -0
  1285. package/dist/illustrations/outgoing-oauth-connections.cjs +2 -0
  1286. package/dist/illustrations/outgoing-oauth-connections.cjs.map +1 -0
  1287. package/dist/illustrations/outgoing-oauth-connections.d.ts +4 -0
  1288. package/dist/illustrations/outgoing-oauth-connections.js +5 -0
  1289. package/dist/illustrations/outgoing-oauth-connections.js.map +1 -0
  1290. package/dist/illustrations/outgoing-oauth-connections.svg.cjs +2 -0
  1291. package/dist/illustrations/outgoing-oauth-connections.svg.cjs.map +1 -0
  1292. package/dist/illustrations/outgoing-oauth-connections.svg.js +6 -0
  1293. package/dist/illustrations/outgoing-oauth-connections.svg.js.map +1 -0
  1294. package/dist/illustrations/outgoing-webhook.cjs +2 -0
  1295. package/dist/illustrations/outgoing-webhook.cjs.map +1 -0
  1296. package/dist/illustrations/outgoing-webhook.d.ts +4 -0
  1297. package/dist/illustrations/outgoing-webhook.js +5 -0
  1298. package/dist/illustrations/outgoing-webhook.js.map +1 -0
  1299. package/dist/illustrations/outgoing-webhook.svg.cjs +2 -0
  1300. package/dist/illustrations/outgoing-webhook.svg.cjs.map +1 -0
  1301. package/dist/illustrations/outgoing-webhook.svg.js +6 -0
  1302. package/dist/illustrations/outgoing-webhook.svg.js.map +1 -0
  1303. package/dist/illustrations/pinned-empty.cjs +2 -0
  1304. package/dist/illustrations/pinned-empty.cjs.map +1 -0
  1305. package/dist/illustrations/pinned-empty.d.ts +4 -0
  1306. package/dist/illustrations/pinned-empty.js +5 -0
  1307. package/dist/illustrations/pinned-empty.js.map +1 -0
  1308. package/dist/illustrations/pinned-empty.svg.cjs +2 -0
  1309. package/dist/illustrations/pinned-empty.svg.cjs.map +1 -0
  1310. package/dist/illustrations/pinned-empty.svg.js +6 -0
  1311. package/dist/illustrations/pinned-empty.svg.js.map +1 -0
  1312. package/dist/illustrations/playbooks-empty.cjs +2 -0
  1313. package/dist/illustrations/playbooks-empty.cjs.map +1 -0
  1314. package/dist/illustrations/playbooks-empty.d.ts +4 -0
  1315. package/dist/illustrations/playbooks-empty.js +5 -0
  1316. package/dist/illustrations/playbooks-empty.js.map +1 -0
  1317. package/dist/illustrations/playbooks-empty.svg.cjs +2 -0
  1318. package/dist/illustrations/playbooks-empty.svg.cjs.map +1 -0
  1319. package/dist/illustrations/playbooks-empty.svg.js +6 -0
  1320. package/dist/illustrations/playbooks-empty.svg.js.map +1 -0
  1321. package/dist/illustrations/private-channel-intro.cjs +2 -0
  1322. package/dist/illustrations/private-channel-intro.cjs.map +1 -0
  1323. package/dist/illustrations/private-channel-intro.d.ts +4 -0
  1324. package/dist/illustrations/private-channel-intro.js +5 -0
  1325. package/dist/illustrations/private-channel-intro.js.map +1 -0
  1326. package/dist/illustrations/private-channel-intro.svg.cjs +2 -0
  1327. package/dist/illustrations/private-channel-intro.svg.cjs.map +1 -0
  1328. package/dist/illustrations/private-channel-intro.svg.js +6 -0
  1329. package/dist/illustrations/private-channel-intro.svg.js.map +1 -0
  1330. package/dist/illustrations/product-release.cjs +2 -0
  1331. package/dist/illustrations/product-release.cjs.map +1 -0
  1332. package/dist/illustrations/product-release.d.ts +4 -0
  1333. package/dist/illustrations/product-release.js +5 -0
  1334. package/dist/illustrations/product-release.js.map +1 -0
  1335. package/dist/illustrations/product-release.svg.cjs +2 -0
  1336. package/dist/illustrations/product-release.svg.cjs.map +1 -0
  1337. package/dist/illustrations/product-release.svg.js +6 -0
  1338. package/dist/illustrations/product-release.svg.js.map +1 -0
  1339. package/dist/illustrations/public-channel-intro.cjs +2 -0
  1340. package/dist/illustrations/public-channel-intro.cjs.map +1 -0
  1341. package/dist/illustrations/public-channel-intro.d.ts +4 -0
  1342. package/dist/illustrations/public-channel-intro.js +5 -0
  1343. package/dist/illustrations/public-channel-intro.js.map +1 -0
  1344. package/dist/illustrations/public-channel-intro.svg.cjs +2 -0
  1345. package/dist/illustrations/public-channel-intro.svg.cjs.map +1 -0
  1346. package/dist/illustrations/public-channel-intro.svg.js +6 -0
  1347. package/dist/illustrations/public-channel-intro.svg.js.map +1 -0
  1348. package/dist/illustrations/rating-desktop.cjs +2 -0
  1349. package/dist/illustrations/rating-desktop.cjs.map +1 -0
  1350. package/dist/illustrations/rating-desktop.d.ts +4 -0
  1351. package/dist/illustrations/rating-desktop.js +5 -0
  1352. package/dist/illustrations/rating-desktop.js.map +1 -0
  1353. package/dist/illustrations/rating-desktop.svg.cjs +2 -0
  1354. package/dist/illustrations/rating-desktop.svg.cjs.map +1 -0
  1355. package/dist/illustrations/rating-desktop.svg.js +6 -0
  1356. package/dist/illustrations/rating-desktop.svg.js.map +1 -0
  1357. package/dist/illustrations/rating.cjs +2 -0
  1358. package/dist/illustrations/rating.cjs.map +1 -0
  1359. package/dist/illustrations/rating.d.ts +4 -0
  1360. package/dist/illustrations/rating.js +5 -0
  1361. package/dist/illustrations/rating.js.map +1 -0
  1362. package/dist/illustrations/rating.svg.cjs +2 -0
  1363. package/dist/illustrations/rating.svg.cjs.map +1 -0
  1364. package/dist/illustrations/rating.svg.js +6 -0
  1365. package/dist/illustrations/rating.svg.js.map +1 -0
  1366. package/dist/illustrations/read-only.cjs +2 -0
  1367. package/dist/illustrations/read-only.cjs.map +1 -0
  1368. package/dist/illustrations/read-only.d.ts +4 -0
  1369. package/dist/illustrations/read-only.js +5 -0
  1370. package/dist/illustrations/read-only.js.map +1 -0
  1371. package/dist/illustrations/read-only.svg.cjs +2 -0
  1372. package/dist/illustrations/read-only.svg.cjs.map +1 -0
  1373. package/dist/illustrations/read-only.svg.js +6 -0
  1374. package/dist/illustrations/read-only.svg.js.map +1 -0
  1375. package/dist/illustrations/reset-password.cjs +2 -0
  1376. package/dist/illustrations/reset-password.cjs.map +1 -0
  1377. package/dist/illustrations/reset-password.d.ts +4 -0
  1378. package/dist/illustrations/reset-password.js +5 -0
  1379. package/dist/illustrations/reset-password.js.map +1 -0
  1380. package/dist/illustrations/reset-password.svg.cjs +2 -0
  1381. package/dist/illustrations/reset-password.svg.cjs.map +1 -0
  1382. package/dist/illustrations/reset-password.svg.js +8 -0
  1383. package/dist/illustrations/reset-password.svg.js.map +1 -0
  1384. package/dist/illustrations/saved-empty.cjs +2 -0
  1385. package/dist/illustrations/saved-empty.cjs.map +1 -0
  1386. package/dist/illustrations/saved-empty.d.ts +4 -0
  1387. package/dist/illustrations/saved-empty.js +5 -0
  1388. package/dist/illustrations/saved-empty.js.map +1 -0
  1389. package/dist/illustrations/saved-empty.svg.cjs +2 -0
  1390. package/dist/illustrations/saved-empty.svg.cjs.map +1 -0
  1391. package/dist/illustrations/saved-empty.svg.js +6 -0
  1392. package/dist/illustrations/saved-empty.svg.js.map +1 -0
  1393. package/dist/illustrations/scheduled-empty.cjs +2 -0
  1394. package/dist/illustrations/scheduled-empty.cjs.map +1 -0
  1395. package/dist/illustrations/scheduled-empty.d.ts +4 -0
  1396. package/dist/illustrations/scheduled-empty.js +5 -0
  1397. package/dist/illustrations/scheduled-empty.js.map +1 -0
  1398. package/dist/illustrations/scheduled-empty.svg.cjs +2 -0
  1399. package/dist/illustrations/scheduled-empty.svg.cjs.map +1 -0
  1400. package/dist/illustrations/scheduled-empty.svg.js +6 -0
  1401. package/dist/illustrations/scheduled-empty.svg.js.map +1 -0
  1402. package/dist/illustrations/search.cjs +2 -0
  1403. package/dist/illustrations/search.cjs.map +1 -0
  1404. package/dist/illustrations/search.d.ts +4 -0
  1405. package/dist/illustrations/search.js +5 -0
  1406. package/dist/illustrations/search.js.map +1 -0
  1407. package/dist/illustrations/search.svg.cjs +2 -0
  1408. package/dist/illustrations/search.svg.cjs.map +1 -0
  1409. package/dist/illustrations/search.svg.js +6 -0
  1410. package/dist/illustrations/search.svg.js.map +1 -0
  1411. package/dist/illustrations/server.cjs +2 -0
  1412. package/dist/illustrations/server.cjs.map +1 -0
  1413. package/dist/illustrations/server.d.ts +4 -0
  1414. package/dist/illustrations/server.js +5 -0
  1415. package/dist/illustrations/server.js.map +1 -0
  1416. package/dist/illustrations/server.svg.cjs +2 -0
  1417. package/dist/illustrations/server.svg.cjs.map +1 -0
  1418. package/dist/illustrations/server.svg.js +6 -0
  1419. package/dist/illustrations/server.svg.js.map +1 -0
  1420. package/dist/illustrations/setup-system.cjs +2 -0
  1421. package/dist/illustrations/setup-system.cjs.map +1 -0
  1422. package/dist/illustrations/setup-system.d.ts +4 -0
  1423. package/dist/illustrations/setup-system.js +5 -0
  1424. package/dist/illustrations/setup-system.js.map +1 -0
  1425. package/dist/illustrations/setup-system.svg.cjs +2 -0
  1426. package/dist/illustrations/setup-system.svg.cjs.map +1 -0
  1427. package/dist/illustrations/setup-system.svg.js +6 -0
  1428. package/dist/illustrations/setup-system.svg.js.map +1 -0
  1429. package/dist/illustrations/site-error.cjs +2 -0
  1430. package/dist/illustrations/site-error.cjs.map +1 -0
  1431. package/dist/illustrations/site-error.d.ts +4 -0
  1432. package/dist/illustrations/site-error.js +5 -0
  1433. package/dist/illustrations/site-error.js.map +1 -0
  1434. package/dist/illustrations/site-error.svg.cjs +2 -0
  1435. package/dist/illustrations/site-error.svg.cjs.map +1 -0
  1436. package/dist/illustrations/site-error.svg.js +6 -0
  1437. package/dist/illustrations/site-error.svg.js.map +1 -0
  1438. package/dist/illustrations/slash-commands.cjs +2 -0
  1439. package/dist/illustrations/slash-commands.cjs.map +1 -0
  1440. package/dist/illustrations/slash-commands.d.ts +4 -0
  1441. package/dist/illustrations/slash-commands.js +5 -0
  1442. package/dist/illustrations/slash-commands.js.map +1 -0
  1443. package/dist/illustrations/slash-commands.svg.cjs +2 -0
  1444. package/dist/illustrations/slash-commands.svg.cjs.map +1 -0
  1445. package/dist/illustrations/slash-commands.svg.js +6 -0
  1446. package/dist/illustrations/slash-commands.svg.js.map +1 -0
  1447. package/dist/illustrations/success.cjs +2 -0
  1448. package/dist/illustrations/success.cjs.map +1 -0
  1449. package/dist/illustrations/success.d.ts +4 -0
  1450. package/dist/illustrations/success.js +5 -0
  1451. package/dist/illustrations/success.js.map +1 -0
  1452. package/dist/illustrations/success.svg.cjs +2 -0
  1453. package/dist/illustrations/success.svg.cjs.map +1 -0
  1454. package/dist/illustrations/success.svg.js +6 -0
  1455. package/dist/illustrations/success.svg.js.map +1 -0
  1456. package/dist/illustrations/system-admins.cjs +2 -0
  1457. package/dist/illustrations/system-admins.cjs.map +1 -0
  1458. package/dist/illustrations/system-admins.d.ts +4 -0
  1459. package/dist/illustrations/system-admins.js +5 -0
  1460. package/dist/illustrations/system-admins.js.map +1 -0
  1461. package/dist/illustrations/system-admins.svg.cjs +2 -0
  1462. package/dist/illustrations/system-admins.svg.cjs.map +1 -0
  1463. package/dist/illustrations/system-admins.svg.js +14 -0
  1464. package/dist/illustrations/system-admins.svg.js.map +1 -0
  1465. package/dist/illustrations/threads-empty.cjs +2 -0
  1466. package/dist/illustrations/threads-empty.cjs.map +1 -0
  1467. package/dist/illustrations/threads-empty.d.ts +4 -0
  1468. package/dist/illustrations/threads-empty.js +5 -0
  1469. package/dist/illustrations/threads-empty.js.map +1 -0
  1470. package/dist/illustrations/threads-empty.svg.cjs +2 -0
  1471. package/dist/illustrations/threads-empty.svg.cjs.map +1 -0
  1472. package/dist/illustrations/threads-empty.svg.js +6 -0
  1473. package/dist/illustrations/threads-empty.svg.js.map +1 -0
  1474. package/dist/illustrations/timer.cjs +2 -0
  1475. package/dist/illustrations/timer.cjs.map +1 -0
  1476. package/dist/illustrations/timer.d.ts +4 -0
  1477. package/dist/illustrations/timer.js +5 -0
  1478. package/dist/illustrations/timer.js.map +1 -0
  1479. package/dist/illustrations/timer.svg.cjs +2 -0
  1480. package/dist/illustrations/timer.svg.cjs.map +1 -0
  1481. package/dist/illustrations/timer.svg.js +6 -0
  1482. package/dist/illustrations/timer.svg.js.map +1 -0
  1483. package/dist/illustrations/tls-certificate.cjs +2 -0
  1484. package/dist/illustrations/tls-certificate.cjs.map +1 -0
  1485. package/dist/illustrations/tls-certificate.d.ts +4 -0
  1486. package/dist/illustrations/tls-certificate.js +5 -0
  1487. package/dist/illustrations/tls-certificate.js.map +1 -0
  1488. package/dist/illustrations/tls-certificate.svg.cjs +2 -0
  1489. package/dist/illustrations/tls-certificate.svg.cjs.map +1 -0
  1490. package/dist/illustrations/tls-certificate.svg.js +6 -0
  1491. package/dist/illustrations/tls-certificate.svg.js.map +1 -0
  1492. package/dist/illustrations/tools.cjs +2 -0
  1493. package/dist/illustrations/tools.cjs.map +1 -0
  1494. package/dist/illustrations/tools.d.ts +4 -0
  1495. package/dist/illustrations/tools.js +5 -0
  1496. package/dist/illustrations/tools.js.map +1 -0
  1497. package/dist/illustrations/tools.svg.cjs +2 -0
  1498. package/dist/illustrations/tools.svg.cjs.map +1 -0
  1499. package/dist/illustrations/tools.svg.js +6 -0
  1500. package/dist/illustrations/tools.svg.js.map +1 -0
  1501. package/dist/illustrations/town-square-channel-intro.cjs +2 -0
  1502. package/dist/illustrations/town-square-channel-intro.cjs.map +1 -0
  1503. package/dist/illustrations/town-square-channel-intro.d.ts +4 -0
  1504. package/dist/illustrations/town-square-channel-intro.js +5 -0
  1505. package/dist/illustrations/town-square-channel-intro.js.map +1 -0
  1506. package/dist/illustrations/town-square-channel-intro.svg.cjs +2 -0
  1507. package/dist/illustrations/town-square-channel-intro.svg.cjs.map +1 -0
  1508. package/dist/illustrations/town-square-channel-intro.svg.js +6 -0
  1509. package/dist/illustrations/town-square-channel-intro.svg.js.map +1 -0
  1510. package/dist/illustrations/upload-license.cjs +2 -0
  1511. package/dist/illustrations/upload-license.cjs.map +1 -0
  1512. package/dist/illustrations/upload-license.d.ts +4 -0
  1513. package/dist/illustrations/upload-license.js +5 -0
  1514. package/dist/illustrations/upload-license.js.map +1 -0
  1515. package/dist/illustrations/upload-license.svg.cjs +2 -0
  1516. package/dist/illustrations/upload-license.svg.cjs.map +1 -0
  1517. package/dist/illustrations/upload-license.svg.js +6 -0
  1518. package/dist/illustrations/upload-license.svg.js.map +1 -0
  1519. package/dist/illustrations/verify-email.cjs +2 -0
  1520. package/dist/illustrations/verify-email.cjs.map +1 -0
  1521. package/dist/illustrations/verify-email.d.ts +4 -0
  1522. package/dist/illustrations/verify-email.js +5 -0
  1523. package/dist/illustrations/verify-email.js.map +1 -0
  1524. package/dist/illustrations/verify-email.svg.cjs +2 -0
  1525. package/dist/illustrations/verify-email.svg.cjs.map +1 -0
  1526. package/dist/illustrations/verify-email.svg.js +8 -0
  1527. package/dist/illustrations/verify-email.svg.js.map +1 -0
  1528. package/dist/index.cjs +1 -1
  1529. package/dist/index.d.ts +87 -96
  1530. package/dist/index.d.ts.map +1 -1
  1531. package/dist/index.js +182 -197
  1532. package/dist/index.js.map +1 -1
  1533. package/dist/utils/anchoredPopupPlacement.cjs +1 -1
  1534. package/dist/utils/anchoredPopupPlacement.cjs.map +1 -1
  1535. package/dist/utils/anchoredPopupPlacement.d.ts +8 -4
  1536. package/dist/utils/anchoredPopupPlacement.d.ts.map +1 -1
  1537. package/dist/utils/anchoredPopupPlacement.js +20 -17
  1538. package/dist/utils/anchoredPopupPlacement.js.map +1 -1
  1539. package/dist/utils/duration.cjs +2 -0
  1540. package/dist/utils/duration.cjs.map +1 -0
  1541. package/dist/utils/duration.d.ts +8 -0
  1542. package/dist/utils/duration.d.ts.map +1 -0
  1543. package/dist/utils/duration.js +11 -0
  1544. package/dist/utils/duration.js.map +1 -0
  1545. package/dist/utils/menuItemProps.cjs +2 -0
  1546. package/dist/utils/menuItemProps.cjs.map +1 -0
  1547. package/dist/utils/menuItemProps.d.ts +5 -0
  1548. package/dist/utils/menuItemProps.d.ts.map +1 -0
  1549. package/dist/utils/menuItemProps.js +12 -0
  1550. package/dist/utils/menuItemProps.js.map +1 -0
  1551. package/dist/utils/props.cjs +2 -0
  1552. package/dist/utils/props.cjs.map +1 -0
  1553. package/dist/utils/props.d.ts +13 -0
  1554. package/dist/utils/props.d.ts.map +1 -0
  1555. package/dist/utils/props.js +7 -0
  1556. package/dist/utils/props.js.map +1 -0
  1557. package/dist/utils/scrollLock.cjs +2 -0
  1558. package/dist/utils/scrollLock.cjs.map +1 -0
  1559. package/dist/utils/scrollLock.d.ts +9 -0
  1560. package/dist/utils/scrollLock.d.ts.map +1 -0
  1561. package/dist/utils/scrollLock.js +38 -0
  1562. package/dist/utils/scrollLock.js.map +1 -0
  1563. package/dist/utils/slot.cjs +2 -0
  1564. package/dist/utils/slot.cjs.map +1 -0
  1565. package/dist/utils/slot.d.ts +46 -0
  1566. package/dist/utils/slot.d.ts.map +1 -0
  1567. package/dist/utils/slot.js +88 -0
  1568. package/dist/utils/slot.js.map +1 -0
  1569. package/dist/utils/useOnExited.cjs +2 -0
  1570. package/dist/utils/useOnExited.cjs.map +1 -0
  1571. package/dist/utils/useOnExited.d.ts +7 -0
  1572. package/dist/utils/useOnExited.d.ts.map +1 -0
  1573. package/dist/utils/useOnExited.js +14 -0
  1574. package/dist/utils/useOnExited.js.map +1 -0
  1575. package/package.json +276 -83
  1576. package/dist/components/action-button/ActionButton.cjs +0 -2
  1577. package/dist/components/action-button/ActionButton.cjs.map +0 -1
  1578. package/dist/components/action-button/ActionButton.d.ts +0 -14
  1579. package/dist/components/action-button/ActionButton.d.ts.map +0 -1
  1580. package/dist/components/action-button/ActionButton.js +0 -25
  1581. package/dist/components/action-button/ActionButton.js.map +0 -1
  1582. package/dist/components/action-button/ActionButton.module.css +0 -1
  1583. package/dist/components/action-button/ActionButton.module.scss.cjs +0 -2
  1584. package/dist/components/action-button/ActionButton.module.scss.cjs.map +0 -1
  1585. package/dist/components/action-button/ActionButton.module.scss.js +0 -11
  1586. package/dist/components/action-button/ActionButton.module.scss.js.map +0 -1
  1587. package/dist/components/action-button/index.cjs +0 -2
  1588. package/dist/components/action-button/index.d.ts +0 -3
  1589. package/dist/components/action-button/index.d.ts.map +0 -1
  1590. package/dist/components/action-button/index.js +0 -5
  1591. package/dist/components/admin-console-header/AdminConsoleHeader.module.css +0 -1
  1592. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.cjs +0 -2
  1593. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.cjs.map +0 -1
  1594. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.d.ts +0 -12
  1595. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.d.ts.map +0 -1
  1596. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.js +0 -122
  1597. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.js.map +0 -1
  1598. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.module.css +0 -1
  1599. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.module.scss.cjs +0 -2
  1600. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.module.scss.cjs.map +0 -1
  1601. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.module.scss.js +0 -20
  1602. package/dist/components/admin-console-sidebar/AdminConsoleSidebar.module.scss.js.map +0 -1
  1603. package/dist/components/admin-console-sidebar/adminConsoleSidebarModel.d.ts +0 -14
  1604. package/dist/components/admin-console-sidebar/adminConsoleSidebarModel.d.ts.map +0 -1
  1605. package/dist/components/admin-console-sidebar/index.cjs +0 -2
  1606. package/dist/components/admin-console-sidebar/index.d.ts +0 -4
  1607. package/dist/components/admin-console-sidebar/index.d.ts.map +0 -1
  1608. package/dist/components/admin-console-sidebar/index.js +0 -5
  1609. package/dist/components/admin-panel/AdminPanel.module.css +0 -1
  1610. package/dist/components/admin-panel-footer/AdminPanelFooter.module.css +0 -1
  1611. package/dist/components/admin-panel-header/AdminPanelHeader.module.css +0 -1
  1612. package/dist/components/app-bar-item/AppBarItem.cjs +0 -2
  1613. package/dist/components/app-bar-item/AppBarItem.cjs.map +0 -1
  1614. package/dist/components/app-bar-item/AppBarItem.d.ts +0 -25
  1615. package/dist/components/app-bar-item/AppBarItem.d.ts.map +0 -1
  1616. package/dist/components/app-bar-item/AppBarItem.js +0 -49
  1617. package/dist/components/app-bar-item/AppBarItem.js.map +0 -1
  1618. package/dist/components/app-bar-item/AppBarItem.module.css +0 -1
  1619. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs +0 -2
  1620. package/dist/components/app-bar-item/AppBarItem.module.scss.cjs.map +0 -1
  1621. package/dist/components/app-bar-item/AppBarItem.module.scss.js +0 -11
  1622. package/dist/components/app-bar-item/AppBarItem.module.scss.js.map +0 -1
  1623. package/dist/components/app-bar-item/index.cjs +0 -2
  1624. package/dist/components/app-bar-item/index.d.ts +0 -3
  1625. package/dist/components/app-bar-item/index.d.ts.map +0 -1
  1626. package/dist/components/app-bar-item/index.js +0 -5
  1627. package/dist/components/attachment-card/AttachmentCard.module.css +0 -1
  1628. package/dist/components/button/Button.module.css +0 -1
  1629. package/dist/components/channel-category-menu/ChannelCategoryMenu.cjs +0 -2
  1630. package/dist/components/channel-category-menu/ChannelCategoryMenu.cjs.map +0 -1
  1631. package/dist/components/channel-category-menu/ChannelCategoryMenu.d.ts +0 -10
  1632. package/dist/components/channel-category-menu/ChannelCategoryMenu.d.ts.map +0 -1
  1633. package/dist/components/channel-category-menu/ChannelCategoryMenu.js +0 -103
  1634. package/dist/components/channel-category-menu/ChannelCategoryMenu.js.map +0 -1
  1635. package/dist/components/channel-category-menu/ChannelCategoryMenu.module.css +0 -1
  1636. package/dist/components/channel-category-menu/ChannelCategoryMenu.module.scss.cjs +0 -2
  1637. package/dist/components/channel-category-menu/ChannelCategoryMenu.module.scss.cjs.map +0 -1
  1638. package/dist/components/channel-category-menu/ChannelCategoryMenu.module.scss.js +0 -8
  1639. package/dist/components/channel-category-menu/ChannelCategoryMenu.module.scss.js.map +0 -1
  1640. package/dist/components/channel-category-menu/index.cjs +0 -2
  1641. package/dist/components/channel-category-menu/index.d.ts +0 -3
  1642. package/dist/components/channel-category-menu/index.d.ts.map +0 -1
  1643. package/dist/components/channel-category-menu/index.js +0 -5
  1644. package/dist/components/channel-header/ChannelHeader.cjs +0 -2
  1645. package/dist/components/channel-header/ChannelHeader.cjs.map +0 -1
  1646. package/dist/components/channel-header/ChannelHeader.d.ts +0 -37
  1647. package/dist/components/channel-header/ChannelHeader.d.ts.map +0 -1
  1648. package/dist/components/channel-header/ChannelHeader.js +0 -174
  1649. package/dist/components/channel-header/ChannelHeader.js.map +0 -1
  1650. package/dist/components/channel-header/ChannelHeader.module.css +0 -1
  1651. package/dist/components/channel-header/ChannelHeader.module.scss.cjs +0 -2
  1652. package/dist/components/channel-header/ChannelHeader.module.scss.cjs.map +0 -1
  1653. package/dist/components/channel-header/ChannelHeader.module.scss.js +0 -20
  1654. package/dist/components/channel-header/ChannelHeader.module.scss.js.map +0 -1
  1655. package/dist/components/channel-header/index.cjs +0 -2
  1656. package/dist/components/channel-header/index.d.ts +0 -3
  1657. package/dist/components/channel-header/index.d.ts.map +0 -1
  1658. package/dist/components/channel-header/index.js +0 -5
  1659. package/dist/components/channel-header-menu/ChannelHeaderMenu.cjs +0 -2
  1660. package/dist/components/channel-header-menu/ChannelHeaderMenu.cjs.map +0 -1
  1661. package/dist/components/channel-header-menu/ChannelHeaderMenu.d.ts +0 -8
  1662. package/dist/components/channel-header-menu/ChannelHeaderMenu.d.ts.map +0 -1
  1663. package/dist/components/channel-header-menu/ChannelHeaderMenu.js +0 -115
  1664. package/dist/components/channel-header-menu/ChannelHeaderMenu.js.map +0 -1
  1665. package/dist/components/channel-header-menu/index.cjs +0 -2
  1666. package/dist/components/channel-header-menu/index.d.ts +0 -3
  1667. package/dist/components/channel-header-menu/index.d.ts.map +0 -1
  1668. package/dist/components/channel-header-menu/index.js +0 -5
  1669. package/dist/components/channel-info-msg-header/ChannelInfoMsgHeader.module.css +0 -1
  1670. package/dist/components/channel-menu/ChannelMenu.cjs +0 -2
  1671. package/dist/components/channel-menu/ChannelMenu.cjs.map +0 -1
  1672. package/dist/components/channel-menu/ChannelMenu.d.ts +0 -8
  1673. package/dist/components/channel-menu/ChannelMenu.d.ts.map +0 -1
  1674. package/dist/components/channel-menu/ChannelMenu.js +0 -91
  1675. package/dist/components/channel-menu/ChannelMenu.js.map +0 -1
  1676. package/dist/components/channel-menu/index.cjs +0 -2
  1677. package/dist/components/channel-menu/index.d.ts +0 -3
  1678. package/dist/components/channel-menu/index.d.ts.map +0 -1
  1679. package/dist/components/channel-menu/index.js +0 -5
  1680. package/dist/components/channel-sidebar-item/ChannelSidebarItem.module.css +0 -1
  1681. package/dist/components/channels-sidebar/ChannelsSidebar.cjs +0 -2
  1682. package/dist/components/channels-sidebar/ChannelsSidebar.cjs.map +0 -1
  1683. package/dist/components/channels-sidebar/ChannelsSidebar.d.ts +0 -57
  1684. package/dist/components/channels-sidebar/ChannelsSidebar.d.ts.map +0 -1
  1685. package/dist/components/channels-sidebar/ChannelsSidebar.js +0 -177
  1686. package/dist/components/channels-sidebar/ChannelsSidebar.js.map +0 -1
  1687. package/dist/components/channels-sidebar/ChannelsSidebar.module.css +0 -1
  1688. package/dist/components/channels-sidebar/ChannelsSidebar.module.scss.cjs +0 -2
  1689. package/dist/components/channels-sidebar/ChannelsSidebar.module.scss.cjs.map +0 -1
  1690. package/dist/components/channels-sidebar/ChannelsSidebar.module.scss.js +0 -35
  1691. package/dist/components/channels-sidebar/ChannelsSidebar.module.scss.js.map +0 -1
  1692. package/dist/components/channels-sidebar/channelsSidebarModel.cjs +0 -2
  1693. package/dist/components/channels-sidebar/channelsSidebarModel.cjs.map +0 -1
  1694. package/dist/components/channels-sidebar/channelsSidebarModel.d.ts +0 -22
  1695. package/dist/components/channels-sidebar/channelsSidebarModel.d.ts.map +0 -1
  1696. package/dist/components/channels-sidebar/channelsSidebarModel.js +0 -20
  1697. package/dist/components/channels-sidebar/channelsSidebarModel.js.map +0 -1
  1698. package/dist/components/channels-sidebar/index.cjs +0 -2
  1699. package/dist/components/channels-sidebar/index.d.ts +0 -6
  1700. package/dist/components/channels-sidebar/index.d.ts.map +0 -1
  1701. package/dist/components/channels-sidebar/index.js +0 -12
  1702. package/dist/components/channels-sidebar/index.js.map +0 -1
  1703. package/dist/components/checkbox/Checkbox.module.css +0 -1
  1704. package/dist/components/chip/Chip.module.css +0 -1
  1705. package/dist/components/combobox/Combobox.module.css +0 -1
  1706. package/dist/components/date-range-picker/DateRangePicker.module.css +0 -1
  1707. package/dist/components/divider/Divider.module.css +0 -1
  1708. package/dist/components/dropdown/Dropdown.module.css +0 -1
  1709. package/dist/components/emoji/Emoji.module.css +0 -1
  1710. package/dist/components/empty-state/EmptyState.module.css +0 -1
  1711. package/dist/components/error-message/ErrorMessage.module.css +0 -1
  1712. package/dist/components/error-message/ErrorMessage.module.scss.cjs +0 -2
  1713. package/dist/components/error-message/ErrorMessage.module.scss.cjs.map +0 -1
  1714. package/dist/components/error-message/ErrorMessage.module.scss.js +0 -9
  1715. package/dist/components/error-message/ErrorMessage.module.scss.js.map +0 -1
  1716. package/dist/components/feature-discovery-panel/FeatureDiscoveryPanel.module.css +0 -1
  1717. package/dist/components/global-banner/GlobalBanner.module.css +0 -1
  1718. package/dist/components/global-header/GlobalHeader.cjs +0 -2
  1719. package/dist/components/global-header/GlobalHeader.cjs.map +0 -1
  1720. package/dist/components/global-header/GlobalHeader.d.ts +0 -28
  1721. package/dist/components/global-header/GlobalHeader.d.ts.map +0 -1
  1722. package/dist/components/global-header/GlobalHeader.js +0 -157
  1723. package/dist/components/global-header/GlobalHeader.js.map +0 -1
  1724. package/dist/components/global-header/GlobalHeader.module.css +0 -1
  1725. package/dist/components/global-header/GlobalHeader.module.scss.cjs +0 -2
  1726. package/dist/components/global-header/GlobalHeader.module.scss.cjs.map +0 -1
  1727. package/dist/components/global-header/GlobalHeader.module.scss.js +0 -20
  1728. package/dist/components/global-header/GlobalHeader.module.scss.js.map +0 -1
  1729. package/dist/components/global-header/index.cjs +0 -2
  1730. package/dist/components/global-header/index.d.ts +0 -3
  1731. package/dist/components/global-header/index.d.ts.map +0 -1
  1732. package/dist/components/global-header/index.js +0 -5
  1733. package/dist/components/help-menu/HelpMenu.cjs +0 -2
  1734. package/dist/components/help-menu/HelpMenu.cjs.map +0 -1
  1735. package/dist/components/help-menu/HelpMenu.d.ts +0 -8
  1736. package/dist/components/help-menu/HelpMenu.d.ts.map +0 -1
  1737. package/dist/components/help-menu/HelpMenu.js +0 -64
  1738. package/dist/components/help-menu/HelpMenu.js.map +0 -1
  1739. package/dist/components/help-menu/index.cjs +0 -2
  1740. package/dist/components/help-menu/index.d.ts +0 -3
  1741. package/dist/components/help-menu/index.d.ts.map +0 -1
  1742. package/dist/components/help-menu/index.js +0 -5
  1743. package/dist/components/icon/Icon.module.css +0 -1
  1744. package/dist/components/icon-button/IconButton.module.css +0 -1
  1745. package/dist/components/illustration/Illustration.module.css +0 -1
  1746. package/dist/components/image-preview/ImagePreview.module.css +0 -1
  1747. package/dist/components/link-preview/LinkPreview.module.css +0 -1
  1748. package/dist/components/mention-badge/MentionBadge.module.css +0 -1
  1749. package/dist/components/menu-item/MenuItem.module.css +0 -1
  1750. package/dist/components/message/Message.cjs +0 -2
  1751. package/dist/components/message/Message.cjs.map +0 -1
  1752. package/dist/components/message/Message.d.ts +0 -34
  1753. package/dist/components/message/Message.d.ts.map +0 -1
  1754. package/dist/components/message/Message.js +0 -54
  1755. package/dist/components/message/Message.js.map +0 -1
  1756. package/dist/components/message/Message.module.css +0 -1
  1757. package/dist/components/message/Message.module.scss.cjs +0 -2
  1758. package/dist/components/message/Message.module.scss.cjs.map +0 -1
  1759. package/dist/components/message/Message.module.scss.js +0 -26
  1760. package/dist/components/message/Message.module.scss.js.map +0 -1
  1761. package/dist/components/message/index.cjs +0 -2
  1762. package/dist/components/message/index.d.ts +0 -4
  1763. package/dist/components/message/index.d.ts.map +0 -1
  1764. package/dist/components/message/index.js +0 -7
  1765. package/dist/components/message-actions/MessageActions.module.css +0 -1
  1766. package/dist/components/message-header/MessageHeader.module.css +0 -1
  1767. package/dist/components/message-input/MessageInput.cjs +0 -2
  1768. package/dist/components/message-input/MessageInput.cjs.map +0 -1
  1769. package/dist/components/message-input/MessageInput.d.ts +0 -15
  1770. package/dist/components/message-input/MessageInput.d.ts.map +0 -1
  1771. package/dist/components/message-input/MessageInput.js +0 -407
  1772. package/dist/components/message-input/MessageInput.js.map +0 -1
  1773. package/dist/components/message-input/MessageInput.module.css +0 -1
  1774. package/dist/components/message-input/MessageInput.module.scss.cjs +0 -2
  1775. package/dist/components/message-input/MessageInput.module.scss.cjs.map +0 -1
  1776. package/dist/components/message-input/MessageInput.module.scss.js +0 -37
  1777. package/dist/components/message-input/MessageInput.module.scss.js.map +0 -1
  1778. package/dist/components/message-input/index.cjs +0 -2
  1779. package/dist/components/message-input/index.d.ts +0 -3
  1780. package/dist/components/message-input/index.d.ts.map +0 -1
  1781. package/dist/components/message-input/index.js +0 -5
  1782. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.cjs +0 -2
  1783. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.cjs.map +0 -1
  1784. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.d.ts +0 -12
  1785. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.d.ts.map +0 -1
  1786. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.js +0 -172
  1787. package/dist/components/message-more-options-menu/MessageMoreOptionsMenu.js.map +0 -1
  1788. package/dist/components/message-more-options-menu/index.cjs +0 -2
  1789. package/dist/components/message-more-options-menu/index.d.ts +0 -3
  1790. package/dist/components/message-more-options-menu/index.d.ts.map +0 -1
  1791. package/dist/components/message-more-options-menu/index.js +0 -5
  1792. package/dist/components/message-reactions/MessageReactions.cjs +0 -2
  1793. package/dist/components/message-reactions/MessageReactions.cjs.map +0 -1
  1794. package/dist/components/message-reactions/MessageReactions.d.ts +0 -34
  1795. package/dist/components/message-reactions/MessageReactions.d.ts.map +0 -1
  1796. package/dist/components/message-reactions/MessageReactions.js +0 -85
  1797. package/dist/components/message-reactions/MessageReactions.js.map +0 -1
  1798. package/dist/components/message-reactions/MessageReactions.module.css +0 -1
  1799. package/dist/components/message-reactions/MessageReactions.module.scss.cjs +0 -2
  1800. package/dist/components/message-reactions/MessageReactions.module.scss.cjs.map +0 -1
  1801. package/dist/components/message-reactions/MessageReactions.module.scss.js +0 -18
  1802. package/dist/components/message-reactions/MessageReactions.module.scss.js.map +0 -1
  1803. package/dist/components/message-reactions/index.cjs +0 -2
  1804. package/dist/components/message-reactions/index.d.ts +0 -3
  1805. package/dist/components/message-reactions/index.d.ts.map +0 -1
  1806. package/dist/components/message-reactions/index.js +0 -5
  1807. package/dist/components/message-separator/MessageSeparator.module.css +0 -1
  1808. package/dist/components/modal/Modal.module.css +0 -1
  1809. package/dist/components/more-unreads-banner/MoreUnreadsBanner.module.css +0 -1
  1810. package/dist/components/new-message-banner/NewMessageBanner.module.css +0 -1
  1811. package/dist/components/pagination-dots/PaginationDots.module.css +0 -1
  1812. package/dist/components/permalink-preview/PermalinkPreview.module.css +0 -1
  1813. package/dist/components/pinned-saved-indicators/PinnedSavedIndicators.module.css +0 -1
  1814. package/dist/components/plus-menu/PlusMenu.cjs +0 -2
  1815. package/dist/components/plus-menu/PlusMenu.cjs.map +0 -1
  1816. package/dist/components/plus-menu/PlusMenu.d.ts +0 -8
  1817. package/dist/components/plus-menu/PlusMenu.d.ts.map +0 -1
  1818. package/dist/components/plus-menu/PlusMenu.js +0 -69
  1819. package/dist/components/plus-menu/PlusMenu.js.map +0 -1
  1820. package/dist/components/plus-menu/index.cjs +0 -2
  1821. package/dist/components/plus-menu/index.cjs.map +0 -1
  1822. package/dist/components/plus-menu/index.d.ts +0 -3
  1823. package/dist/components/plus-menu/index.d.ts.map +0 -1
  1824. package/dist/components/plus-menu/index.js +0 -5
  1825. package/dist/components/popover-menu/PopoverMenu.module.css +0 -1
  1826. package/dist/components/popover-notice/PopoverNotice.module.css +0 -1
  1827. package/dist/components/product-switcher-menu/ProductSwitcherMenu.cjs +0 -2
  1828. package/dist/components/product-switcher-menu/ProductSwitcherMenu.cjs.map +0 -1
  1829. package/dist/components/product-switcher-menu/ProductSwitcherMenu.d.ts +0 -47
  1830. package/dist/components/product-switcher-menu/ProductSwitcherMenu.d.ts.map +0 -1
  1831. package/dist/components/product-switcher-menu/ProductSwitcherMenu.js +0 -110
  1832. package/dist/components/product-switcher-menu/ProductSwitcherMenu.js.map +0 -1
  1833. package/dist/components/product-switcher-menu/ProductSwitcherMenu.module.css +0 -1
  1834. package/dist/components/product-switcher-menu/ProductSwitcherMenu.module.scss.cjs +0 -2
  1835. package/dist/components/product-switcher-menu/ProductSwitcherMenu.module.scss.cjs.map +0 -1
  1836. package/dist/components/product-switcher-menu/ProductSwitcherMenu.module.scss.js +0 -8
  1837. package/dist/components/product-switcher-menu/ProductSwitcherMenu.module.scss.js.map +0 -1
  1838. package/dist/components/product-switcher-menu/index.cjs +0 -2
  1839. package/dist/components/product-switcher-menu/index.cjs.map +0 -1
  1840. package/dist/components/product-switcher-menu/index.d.ts +0 -4
  1841. package/dist/components/product-switcher-menu/index.d.ts.map +0 -1
  1842. package/dist/components/product-switcher-menu/index.js +0 -6
  1843. package/dist/components/product-switcher-menu/index.js.map +0 -1
  1844. package/dist/components/profile-popover/ProfilePopover.module.css +0 -1
  1845. package/dist/components/progress-bar/ProgressBar.module.css +0 -1
  1846. package/dist/components/radio/Radio.module.css +0 -1
  1847. package/dist/components/reaction-pill/ReactionPill.cjs +0 -2
  1848. package/dist/components/reaction-pill/ReactionPill.cjs.map +0 -1
  1849. package/dist/components/reaction-pill/ReactionPill.d.ts +0 -24
  1850. package/dist/components/reaction-pill/ReactionPill.d.ts.map +0 -1
  1851. package/dist/components/reaction-pill/ReactionPill.js +0 -51
  1852. package/dist/components/reaction-pill/ReactionPill.js.map +0 -1
  1853. package/dist/components/reaction-pill/ReactionPill.module.css +0 -1
  1854. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs +0 -2
  1855. package/dist/components/reaction-pill/ReactionPill.module.scss.cjs.map +0 -1
  1856. package/dist/components/reaction-pill/ReactionPill.module.scss.js +0 -17
  1857. package/dist/components/reaction-pill/ReactionPill.module.scss.js.map +0 -1
  1858. package/dist/components/reaction-pill/index.cjs +0 -2
  1859. package/dist/components/reaction-pill/index.cjs.map +0 -1
  1860. package/dist/components/reaction-pill/index.d.ts +0 -3
  1861. package/dist/components/reaction-pill/index.d.ts.map +0 -1
  1862. package/dist/components/reaction-pill/index.js +0 -5
  1863. package/dist/components/reaction-pill/index.js.map +0 -1
  1864. package/dist/components/right-sidebar/RightSidebar.cjs +0 -2
  1865. package/dist/components/right-sidebar/RightSidebar.cjs.map +0 -1
  1866. package/dist/components/right-sidebar/RightSidebar.d.ts +0 -23
  1867. package/dist/components/right-sidebar/RightSidebar.d.ts.map +0 -1
  1868. package/dist/components/right-sidebar/RightSidebar.js +0 -29
  1869. package/dist/components/right-sidebar/RightSidebar.js.map +0 -1
  1870. package/dist/components/right-sidebar/RightSidebar.module.css +0 -1
  1871. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs +0 -2
  1872. package/dist/components/right-sidebar/RightSidebar.module.scss.cjs.map +0 -1
  1873. package/dist/components/right-sidebar/RightSidebar.module.scss.js +0 -12
  1874. package/dist/components/right-sidebar/RightSidebar.module.scss.js.map +0 -1
  1875. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs +0 -2
  1876. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.cjs.map +0 -1
  1877. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.d.ts +0 -29
  1878. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.d.ts.map +0 -1
  1879. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.js +0 -89
  1880. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.js.map +0 -1
  1881. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.css +0 -1
  1882. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.scss.cjs +0 -2
  1883. package/dist/components/right-sidebar/RightSidebarHeader/RightSidebarHeader.module.scss.js +0 -18
  1884. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts +0 -3
  1885. package/dist/components/right-sidebar/RightSidebarHeader/index.d.ts.map +0 -1
  1886. package/dist/components/right-sidebar/index.cjs +0 -2
  1887. package/dist/components/right-sidebar/index.cjs.map +0 -1
  1888. package/dist/components/right-sidebar/index.d.ts +0 -5
  1889. package/dist/components/right-sidebar/index.d.ts.map +0 -1
  1890. package/dist/components/right-sidebar/index.js +0 -7
  1891. package/dist/components/right-sidebar/index.js.map +0 -1
  1892. package/dist/components/scrollbar/Scrollbar.module.css +0 -1
  1893. package/dist/components/search-input/SearchInput.module.css +0 -1
  1894. package/dist/components/search-tip-banner/SearchTipBanner.module.css +0 -1
  1895. package/dist/components/section-notice/SectionNotice.module.css +0 -1
  1896. package/dist/components/select/Select.module.css +0 -1
  1897. package/dist/components/shortcut-tag/ShortcutTag.module.css +0 -1
  1898. package/dist/components/spinner/Spinner.module.css +0 -1
  1899. package/dist/components/status-badge/StatusBadge.module.css +0 -1
  1900. package/dist/components/switch/Switch.module.css +0 -1
  1901. package/dist/components/tabs/Tabs.module.css +0 -1
  1902. package/dist/components/tag/Tag.module.css +0 -1
  1903. package/dist/components/team-avatar/TeamAvatar.module.css +0 -1
  1904. package/dist/components/team-menu/TeamMenu.cjs +0 -2
  1905. package/dist/components/team-menu/TeamMenu.cjs.map +0 -1
  1906. package/dist/components/team-menu/TeamMenu.d.ts +0 -15
  1907. package/dist/components/team-menu/TeamMenu.d.ts.map +0 -1
  1908. package/dist/components/team-menu/TeamMenu.js +0 -107
  1909. package/dist/components/team-menu/TeamMenu.js.map +0 -1
  1910. package/dist/components/team-menu/TeamMenu.module.css +0 -1
  1911. package/dist/components/team-menu/TeamMenu.module.scss.cjs +0 -2
  1912. package/dist/components/team-menu/TeamMenu.module.scss.cjs.map +0 -1
  1913. package/dist/components/team-menu/TeamMenu.module.scss.js +0 -7
  1914. package/dist/components/team-menu/TeamMenu.module.scss.js.map +0 -1
  1915. package/dist/components/team-menu/index.cjs +0 -2
  1916. package/dist/components/team-menu/index.cjs.map +0 -1
  1917. package/dist/components/team-menu/index.d.ts +0 -3
  1918. package/dist/components/team-menu/index.d.ts.map +0 -1
  1919. package/dist/components/team-menu/index.js +0 -5
  1920. package/dist/components/team-menu/index.js.map +0 -1
  1921. package/dist/components/team-sidebar/TeamSidebar.cjs +0 -2
  1922. package/dist/components/team-sidebar/TeamSidebar.cjs.map +0 -1
  1923. package/dist/components/team-sidebar/TeamSidebar.d.ts +0 -21
  1924. package/dist/components/team-sidebar/TeamSidebar.d.ts.map +0 -1
  1925. package/dist/components/team-sidebar/TeamSidebar.js +0 -85
  1926. package/dist/components/team-sidebar/TeamSidebar.js.map +0 -1
  1927. package/dist/components/team-sidebar/TeamSidebar.module.css +0 -1
  1928. package/dist/components/team-sidebar/TeamSidebar.module.scss.cjs +0 -2
  1929. package/dist/components/team-sidebar/TeamSidebar.module.scss.cjs.map +0 -1
  1930. package/dist/components/team-sidebar/TeamSidebar.module.scss.js +0 -13
  1931. package/dist/components/team-sidebar/TeamSidebar.module.scss.js.map +0 -1
  1932. package/dist/components/team-sidebar/index.cjs +0 -2
  1933. package/dist/components/team-sidebar/index.cjs.map +0 -1
  1934. package/dist/components/team-sidebar/index.d.ts +0 -3
  1935. package/dist/components/team-sidebar/index.d.ts.map +0 -1
  1936. package/dist/components/team-sidebar/index.js +0 -5
  1937. package/dist/components/team-sidebar/index.js.map +0 -1
  1938. package/dist/components/text-area/TextArea.module.css +0 -1
  1939. package/dist/components/text-input/TextInput.module.css +0 -1
  1940. package/dist/components/thread-actions-menu/ThreadActionsMenu.cjs +0 -2
  1941. package/dist/components/thread-actions-menu/ThreadActionsMenu.cjs.map +0 -1
  1942. package/dist/components/thread-actions-menu/ThreadActionsMenu.d.ts +0 -8
  1943. package/dist/components/thread-actions-menu/ThreadActionsMenu.d.ts.map +0 -1
  1944. package/dist/components/thread-actions-menu/ThreadActionsMenu.js +0 -77
  1945. package/dist/components/thread-actions-menu/ThreadActionsMenu.js.map +0 -1
  1946. package/dist/components/thread-actions-menu/index.cjs +0 -2
  1947. package/dist/components/thread-actions-menu/index.cjs.map +0 -1
  1948. package/dist/components/thread-actions-menu/index.d.ts +0 -3
  1949. package/dist/components/thread-actions-menu/index.d.ts.map +0 -1
  1950. package/dist/components/thread-actions-menu/index.js +0 -5
  1951. package/dist/components/thread-actions-menu/index.js.map +0 -1
  1952. package/dist/components/thread-footer/ThreadFooter.module.css +0 -1
  1953. package/dist/components/thread-list-item/ThreadListItem.module.css +0 -1
  1954. package/dist/components/toast/Toast.module.css +0 -1
  1955. package/dist/components/tooltip/Tooltip.module.css +0 -1
  1956. package/dist/components/tour-point/TourPoint.module.css +0 -1
  1957. package/dist/components/unread-badge/UnreadBadge.module.css +0 -1
  1958. package/dist/components/user-avatar/UserAvatar.module.css +0 -1
  1959. package/dist/components/user-avatar-group/UserAvatarGroup.module.css +0 -1
  1960. package/dist/hooks/useAnchoredPopupPortal.cjs.map +0 -1
  1961. package/dist/hooks/useAnchoredPopupPortal.d.ts.map +0 -1
  1962. package/dist/hooks/useAnchoredPopupPortal.js.map +0 -1
  1963. package/dist/hooks/useControllable.cjs.map +0 -1
  1964. package/dist/hooks/useControllable.d.ts.map +0 -1
  1965. package/dist/hooks/useControllable.js.map +0 -1
  1966. package/dist/hooks/useExitAnimation.cjs.map +0 -1
  1967. package/dist/hooks/useExitAnimation.d.ts.map +0 -1
  1968. package/dist/hooks/useExitAnimation.js.map +0 -1
  1969. package/dist/hooks/useOutsideClose.cjs.map +0 -1
  1970. package/dist/hooks/useOutsideClose.d.ts.map +0 -1
  1971. package/dist/hooks/useOutsideClose.js.map +0 -1
  1972. package/dist/hooks/usePopoverTransition.cjs.map +0 -1
  1973. package/dist/hooks/usePopoverTransition.d.ts.map +0 -1
  1974. package/dist/hooks/usePopoverTransition.js.map +0 -1
  1975. package/dist/index.css +0 -156
  1976. package/dist/node_modules/simplebar-react/dist/simplebar.min.css +0 -1
  1977. /package/dist/components/{action-button → admin-console-footer}/index.cjs.map +0 -0
  1978. /package/dist/components/{action-button → admin-console-footer}/index.js.map +0 -0
  1979. /package/dist/components/{admin-console-sidebar → card-button}/index.cjs.map +0 -0
  1980. /package/dist/components/{message → card-button}/index.js.map +0 -0
  1981. /package/dist/components/{app-bar-item → emoji-button}/index.cjs.map +0 -0
  1982. /package/dist/components/{admin-console-sidebar → emoji-button}/index.js.map +0 -0
  1983. /package/dist/components/{channel-category-menu → emoji-popover}/index.cjs.map +0 -0
  1984. /package/dist/components/{app-bar-item → emoji-popover}/index.js.map +0 -0
  1985. /package/dist/components/{channel-header-menu → field-message}/index.cjs.map +0 -0
  1986. /package/dist/components/{channel-category-menu → field-message}/index.js.map +0 -0
  1987. /package/dist/components/{channel-header → menu-group-heading}/index.cjs.map +0 -0
  1988. /package/dist/components/{channel-header-menu → menu-group-heading}/index.js.map +0 -0
  1989. /package/dist/components/{channel-menu → modal-footer}/index.cjs.map +0 -0
  1990. /package/dist/components/{channel-header → modal-footer}/index.js.map +0 -0
  1991. /package/dist/components/{channels-sidebar → modal-header}/index.cjs.map +0 -0
  1992. /package/dist/components/{channel-menu → modal-header}/index.js.map +0 -0
  1993. /package/dist/components/{global-header → password-input}/index.cjs.map +0 -0
  1994. /package/dist/components/{global-header → password-input}/index.js.map +0 -0
  1995. /package/dist/components/{help-menu → reaction-button}/index.cjs.map +0 -0
  1996. /package/dist/components/{help-menu → reaction-button}/index.js.map +0 -0
  1997. /package/dist/components/{message-input → reactions-row}/index.cjs.map +0 -0
  1998. /package/dist/components/{message-input → reactions-row}/index.js.map +0 -0
  1999. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.cjs.map +0 -0
  2000. /package/dist/components/{right-sidebar/RightSidebarHeader → right-sidebar-header}/RightSidebarHeader.module.scss.js.map +0 -0
  2001. /package/dist/components/{message-more-options-menu → right-sidebar-header}/index.cjs.map +0 -0
  2002. /package/dist/components/{message-more-options-menu → right-sidebar-header}/index.js.map +0 -0
  2003. /package/dist/components/{message-reactions → segmented-control}/index.cjs.map +0 -0
  2004. /package/dist/components/{message-reactions → segmented-control}/index.js.map +0 -0
  2005. /package/dist/components/{message → tile-button}/index.cjs.map +0 -0
  2006. /package/dist/components/{plus-menu → tile-button}/index.js.map +0 -0
@@ -1,62 +1,104 @@
1
- import { jsxs as _, jsx as e } from "react/jsx-runtime";
2
- import __f from "@mattermost/compass-icons/components/close-circle.js";const f=__f&&__f.default?__f.default:__f;
3
- import b from "../icon/Icon.js";
4
- import N from "../user-avatar/UserAvatar.js";
5
- import { toKebab as C } from "../../utils/string.js";
6
- import l from "./Chip.module.scss.js";
7
- const z = {
1
+ import { jsxs as A, jsx as c } from "react/jsx-runtime";
2
+ import { useContext as I } from "react";
3
+ import __M from "@mattermost/compass-icons/components/close-circle.js";const M=__M&&__M.default?__M.default:__M;
4
+ import D from "../icon/Icon.js";
5
+ import k from "../user-avatar/UserAvatar.js";
6
+ import { toKebab as w } from "../../utils/string.js";
7
+ import { ChipGroupContext as L, activateChip as N } from "./ChipGroup.js";
8
+ import o from "./Chip.module.scss.js";
9
+ const H = {
8
10
  small: "10",
9
11
  medium: "12",
10
- "medium-compact": "12",
11
12
  large: "16"
12
- }, A = {
13
+ }, P = {
13
14
  small: "12",
14
15
  medium: "16",
15
- "medium-compact": "16",
16
16
  large: "20"
17
17
  };
18
- function E({
19
- children: c,
20
- size: o = "medium",
21
- leadingIcon: i,
22
- leadingAvatar: r,
23
- onRemove: s,
24
- removeLabel: m = "Remove",
25
- error: t = !1,
26
- colored: n = !1,
27
- className: p = "",
28
- ...u
18
+ function g(t) {
19
+ return typeof t == "string" || typeof t == "number" ? String(t).trim() : Array.isArray(t) ? t.map(g).filter(Boolean).join(" ") : "";
20
+ }
21
+ function j(t) {
22
+ var r;
23
+ const s = (b, h) => {
24
+ let n = b;
25
+ for (; n; ) {
26
+ if (n instanceof HTMLElement && n.dataset.chip != null || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement)
27
+ return n;
28
+ n = h === "next" ? n.nextElementSibling : n.previousElementSibling;
29
+ }
30
+ return null;
31
+ }, l = t.parentElement, u = l == null ? void 0 : l.nextElementSibling, m = u instanceof HTMLInputElement || u instanceof HTMLTextAreaElement ? u : null;
32
+ return s(t.nextElementSibling, "next") ?? s(t.previousElementSibling, "previous") ?? m ?? (l == null ? void 0 : l.querySelector("input, textarea")) ?? ((r = l == null ? void 0 : l.parentElement) == null ? void 0 : r.querySelector("input, textarea")) ?? null;
33
+ }
34
+ function $({
35
+ children: t,
36
+ size: s = "medium",
37
+ compact: l = !1,
38
+ leadingIcon: u,
39
+ leadingAvatar: m,
40
+ onRemove: r,
41
+ error: b = !1,
42
+ colored: h = !1,
43
+ className: n = "",
44
+ ...i
29
45
  }) {
30
- const a = z[o], h = A[o], d = [
31
- l.chip,
32
- l[`chip--size-${C(o)}`],
33
- t && l["chip--error"],
34
- n && l["chip--colored"],
35
- p
36
- ].filter(Boolean).join(" ");
37
- return /* @__PURE__ */ _("div", { className: d, ...u, children: [
38
- r != null ? /* @__PURE__ */ e("span", { className: l["chip__avatar-slot"], children: /* @__PURE__ */ e(
39
- N,
40
- {
41
- src: r.src,
42
- alt: r.alt,
43
- size: h
44
- }
45
- ) }) : i != null ? /* @__PURE__ */ e("span", { className: l["chip__icon-slot"], "aria-hidden": !0, children: /* @__PURE__ */ e(b, { glyph: i, size: a }) }) : null,
46
- /* @__PURE__ */ e("span", { className: l.chip__label, children: c }),
47
- s != null ? /* @__PURE__ */ e(
48
- "button",
49
- {
50
- type: "button",
51
- className: l.chip__remove,
52
- onClick: s,
53
- "aria-label": m,
54
- children: /* @__PURE__ */ e(f, { size: Number(a), "aria-hidden": !0 })
55
- }
56
- ) : null
57
- ] });
46
+ const x = I(L), y = H[s], T = P[s], f = g(t), E = i["aria-label"] ?? (r != null && f !== "" ? `${f}. Press Delete to remove.` : f !== "" ? f : void 0), d = r != null, S = (e) => {
47
+ const p = e.currentTarget.closest("[data-chip]"), a = p instanceof HTMLElement ? j(p) : null, v = e.currentTarget;
48
+ r == null || r(e), window.setTimeout(() => {
49
+ v.isConnected || a == null || a.isConnected && (a.dataset.chip != null ? N(a) : a.focus({ focusVisible: !0 }));
50
+ }, 0);
51
+ }, C = [
52
+ o.chip,
53
+ o[`chip--size-${w(s)}`],
54
+ l && o["chip--compact"],
55
+ b && o["chip--error"],
56
+ h && o["chip--colored"],
57
+ n
58
+ ].filter(Boolean).join(" "), _ = (e) => {
59
+ var p, a;
60
+ (p = i.onKeyDown) == null || p.call(i, e), !(x || !d || e.defaultPrevented) && (e.key === "Delete" || e.key === "Backspace" || e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), (a = e.currentTarget.querySelector("[data-chip-remove]")) == null || a.click());
61
+ };
62
+ return /* @__PURE__ */ A(
63
+ "div",
64
+ {
65
+ className: C,
66
+ ...i,
67
+ role: d ? "button" : i.role,
68
+ tabIndex: d ? x ? -1 : 0 : i.tabIndex,
69
+ "aria-label": d ? E : i["aria-label"],
70
+ "data-chip": "",
71
+ onKeyDown: _,
72
+ children: [
73
+ m != null ? /* @__PURE__ */ c("span", { className: o["chip__avatar-slot"], children: /* @__PURE__ */ c(
74
+ k,
75
+ {
76
+ src: m.src,
77
+ alt: m.alt,
78
+ size: T
79
+ }
80
+ ) }) : u != null ? /* @__PURE__ */ c("span", { className: o["chip__icon-slot"], "aria-hidden": !0, children: /* @__PURE__ */ c(D, { glyph: u, size: y }) }) : null,
81
+ /* @__PURE__ */ c("span", { className: o.chip__label, children: t }),
82
+ r != null ? /* @__PURE__ */ c(
83
+ "button",
84
+ {
85
+ type: "button",
86
+ className: o.chip__remove,
87
+ "data-chip-remove": "",
88
+ tabIndex: -1,
89
+ "aria-hidden": !0,
90
+ onMouseDown: (e) => {
91
+ e.preventDefault();
92
+ },
93
+ onClick: S,
94
+ children: /* @__PURE__ */ c(M, { size: Number(y), "aria-hidden": !0 })
95
+ }
96
+ ) : null
97
+ ]
98
+ }
99
+ );
58
100
  }
59
101
  export {
60
- E as default
102
+ $ as default
61
103
  };
62
104
  //# sourceMappingURL=Chip.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.js","sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import type { HTMLAttributes, MouseEvent, ReactNode } from 'react';\nimport CloseCircleIcon from '@mattermost/compass-icons/components/close-circle';\nimport Icon from '@/components/icon/Icon';\nimport type { IconSize } from '@/components/icon/Icon';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport type { UserAvatarSize } from '@/components/user-avatar/UserAvatar';\nimport { toKebab } from '@/utils/string';\nimport styles from './Chip.module.scss';\n\nexport type ChipSize = 'small' | 'medium' | 'medium-compact' | 'large';\n\nexport interface ChipProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n 'children'\n> {\n /** Chip label. */\n children: ReactNode;\n /** Visual size. Default: Medium. */\n size?: ChipSize;\n /** Leading icon from @mattermost/compass-icons. */\n leadingIcon?: ReactNode;\n /** Leading avatar. Overrides leadingIcon when both are provided. */\n leadingAvatar?: { src: string; alt: string };\n /** When provided, shows the remove (×) button and calls this on click. */\n onRemove?: (e: MouseEvent<HTMLButtonElement>) => void;\n /** Accessible label for the remove button. Default: \"Remove\". */\n removeLabel?: string;\n /** Shows an error border. */\n error?: boolean;\n /** Adds a colored background overlay. */\n colored?: boolean;\n className?: string;\n}\n\nconst ICON_SIZE_MAP: Record<ChipSize, IconSize> = {\n small: '10',\n medium: '12',\n 'medium-compact': '12',\n large: '16',\n};\n\nconst AVATAR_SIZE_MAP: Record<ChipSize, UserAvatarSize> = {\n small: '12',\n medium: '16',\n 'medium-compact': '16',\n large: '20',\n};\n\n/**\n * Chips are compact, self-contained tokens that represent a selection — a person added to an\n * invite, a filter applied to a search, a chosen value in a tokenizing input. Each Chip\n * stands on its own and is removable or selectable, depending on context.\n */\nexport default function Chip({\n children,\n size = 'medium',\n leadingIcon,\n leadingAvatar,\n onRemove,\n removeLabel = 'Remove',\n error = false,\n colored = false,\n className = '',\n ...rest\n}: ChipProps) {\n const iconSize = ICON_SIZE_MAP[size];\n const avatarSize = AVATAR_SIZE_MAP[size];\n\n const rootClass = [\n styles.chip,\n styles[`chip--size-${toKebab(size)}`],\n error && styles['chip--error'],\n colored && styles['chip--colored'],\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n return (\n <div className={rootClass} {...rest}>\n {leadingAvatar != null ? (\n <span className={styles['chip__avatar-slot']}>\n <UserAvatar\n src={leadingAvatar.src}\n alt={leadingAvatar.alt}\n size={avatarSize}\n />\n </span>\n ) : leadingIcon != null ? (\n <span className={styles['chip__icon-slot']} aria-hidden>\n <Icon glyph={leadingIcon} size={iconSize} />\n </span>\n ) : null}\n <span className={styles['chip__label']}>{children}</span>\n {onRemove != null ? (\n <button\n type=\"button\"\n className={styles['chip__remove']}\n onClick={onRemove}\n aria-label={removeLabel}\n >\n <CloseCircleIcon size={Number(iconSize)} aria-hidden />\n </button>\n ) : null}\n </div>\n );\n}\n"],"names":["ICON_SIZE_MAP","AVATAR_SIZE_MAP","Chip","children","size","leadingIcon","leadingAvatar","onRemove","removeLabel","error","colored","className","rest","iconSize","avatarSize","rootClass","styles","toKebab","jsxs","jsx","UserAvatar","Icon","CloseCircleIcon"],"mappings":";;;;;;AAkCA,MAAMA,IAA4C;AAAA,EAChD,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,OAAO;AACT,GAEMC,IAAoD;AAAA,EACxD,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,kBAAkB;AAAA,EAClB,OAAO;AACT;AAOA,SAAwBC,EAAK;AAAA,EAC3B,UAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,UAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,OAAAC,IAAQ;AAAA,EACR,SAAAC,IAAU;AAAA,EACV,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAc;AACZ,QAAMC,IAAWb,EAAcI,CAAI,GAC7BU,IAAab,EAAgBG,CAAI,GAEjCW,IAAY;AAAA,IAChBC,EAAO;AAAA,IACPA,EAAO,cAAcC,EAAQb,CAAI,CAAC,EAAE;AAAA,IACpCK,KAASO,EAAO,aAAa;AAAA,IAC7BN,KAAWM,EAAO,eAAe;AAAA,IACjCL;AAAA,EAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SACE,gBAAAO,EAAC,OAAA,EAAI,WAAWH,GAAY,GAAGH,GAC5B,UAAA;AAAA,IAAAN,KAAiB,OAChB,gBAAAa,EAAC,QAAA,EAAK,WAAWH,EAAO,mBAAmB,GACzC,UAAA,gBAAAG;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,KAAKd,EAAc;AAAA,QACnB,KAAKA,EAAc;AAAA,QACnB,MAAMQ;AAAA,MAAA;AAAA,IAAA,GAEV,IACET,KAAe,OACjB,gBAAAc,EAAC,QAAA,EAAK,WAAWH,EAAO,iBAAiB,GAAG,eAAW,IACrD,4BAACK,GAAA,EAAK,OAAOhB,GAAa,MAAMQ,EAAA,CAAU,GAC5C,IACE;AAAA,sBACH,QAAA,EAAK,WAAWG,EAAO,aAAiB,UAAAb,GAAS;AAAA,IACjDI,KAAY,OACX,gBAAAY;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,WAAWH,EAAO;AAAA,QAClB,SAAST;AAAA,QACT,cAAYC;AAAA,QAEZ,4BAACc,GAAA,EAAgB,MAAM,OAAOT,CAAQ,GAAG,eAAW,GAAA,CAAC;AAAA,MAAA;AAAA,IAAA,IAErD;AAAA,EAAA,GACN;AAEJ;"}
1
+ {"version":3,"file":"Chip.js","sources":["../../../src/components/chip/Chip.tsx"],"sourcesContent":["import {\n useContext,\n type HTMLAttributes,\n type KeyboardEvent,\n type MouseEvent,\n type ReactNode,\n} from 'react';\nimport CloseCircleIcon from '@mattermost/compass-icons/components/close-circle';\nimport Icon from '@/components/icon/Icon';\nimport type { IconSize } from '@/components/icon/Icon';\nimport UserAvatar from '@/components/user-avatar/UserAvatar';\nimport type { UserAvatarSize } from '@/components/user-avatar/UserAvatar';\nimport { toKebab } from '@/utils/string';\nimport { activateChip, ChipGroupContext } from './ChipGroup';\nimport styles from './Chip.module.scss';\n\nexport type ChipSize = 'small' | 'medium' | 'large';\n\n/**\n * Removable chips derive their accessible name from string children as\n * `{label}. Press Delete to remove.`; pass `aria-label` to localize it.\n */\nexport interface ChipProps extends Omit<\n HTMLAttributes<HTMLDivElement>,\n 'children'\n> {\n /** Chip label. */\n children: ReactNode;\n /** Visual size. Default: Medium. */\n size?: ChipSize;\n /** Reduces vertical and horizontal padding. */\n compact?: boolean;\n /** Leading icon from @mattermost/compass-icons. */\n leadingIcon?: ReactNode;\n /** Leading avatar. Overrides leading-icon when both are provided. */\n leadingAvatar?: { src: string; alt: string };\n /** When provided, shows the remove (×) control and calls this on click. */\n onRemove?: (e: MouseEvent<HTMLButtonElement>) => void;\n /** Shows an error border. */\n error?: boolean;\n /** Adds a colored background overlay. */\n colored?: boolean;\n className?: string;\n}\n\nconst ICON_SIZE_MAP: Record<ChipSize, IconSize> = {\n small: '10',\n medium: '12',\n large: '16',\n};\n\nconst AVATAR_SIZE_MAP: Record<ChipSize, UserAvatarSize> = {\n small: '12',\n medium: '16',\n large: '20',\n};\n\nfunction labelTextFromChildren(children: ReactNode): string {\n if (typeof children === 'string' || typeof children === 'number') {\n return String(children).trim();\n }\n if (Array.isArray(children)) {\n return children.map(labelTextFromChildren).filter(Boolean).join(' ');\n }\n return '';\n}\n\nfunction focusTargetAfterRemove(chipEl: HTMLElement): HTMLElement | null {\n const scan = (\n start: Element | null,\n direction: 'next' | 'previous',\n ): HTMLElement | null => {\n let el: Element | null = start;\n while (el) {\n if (el instanceof HTMLElement && el.dataset.chip != null) {\n return el;\n }\n if (el instanceof HTMLInputElement || el instanceof HTMLTextAreaElement) {\n return el;\n }\n el =\n direction === 'next'\n ? el.nextElementSibling\n : el.previousElementSibling;\n }\n return null;\n };\n\n const parent = chipEl.parentElement;\n const afterGroup = parent?.nextElementSibling;\n const groupSiblingInput =\n afterGroup instanceof HTMLInputElement ||\n afterGroup instanceof HTMLTextAreaElement\n ? afterGroup\n : null;\n\n return (\n scan(chipEl.nextElementSibling, 'next') ??\n scan(chipEl.previousElementSibling, 'previous') ??\n groupSiblingInput ??\n parent?.querySelector('input, textarea') ??\n parent?.parentElement?.querySelector('input, textarea') ??\n null\n );\n}\n\n/**\n * Chips are compact, self-contained tokens that represent a selection — a person added to an\n * invite, a filter applied to a search, a chosen value in a tokenizing input. Each Chip\n * stands on its own and is removable or selectable, depending on context.\n */\nexport default function Chip({\n children,\n size = 'medium',\n compact = false,\n leadingIcon,\n leadingAvatar,\n onRemove,\n error = false,\n colored = false,\n className = '',\n ...rest\n}: ChipProps) {\n const grouped = useContext(ChipGroupContext);\n const iconSize = ICON_SIZE_MAP[size];\n const avatarSize = AVATAR_SIZE_MAP[size];\n const labelText = labelTextFromChildren(children);\n const groupedAriaLabel =\n rest['aria-label'] ??\n (onRemove != null && labelText !== ''\n ? `${labelText}. Press Delete to remove.`\n : labelText !== ''\n ? labelText\n : undefined);\n const removable = onRemove != null;\n\n const handleRemove = (e: MouseEvent<HTMLButtonElement>) => {\n const chipEl = e.currentTarget.closest('[data-chip]');\n const nextFocus =\n chipEl instanceof HTMLElement ? focusTargetAfterRemove(chipEl) : null;\n const removeButton = e.currentTarget;\n onRemove?.(e);\n window.setTimeout(() => {\n if (removeButton.isConnected || nextFocus == null) return;\n if (!nextFocus.isConnected) return;\n if (nextFocus.dataset.chip != null) {\n activateChip(nextFocus);\n } else {\n nextFocus.focus({ focusVisible: true } as FocusOptions);\n }\n }, 0);\n };\n\n const rootClass = [\n styles.chip,\n styles[`chip--size-${toKebab(size)}`],\n compact && styles['chip--compact'],\n error && styles['chip--error'],\n colored && styles['chip--colored'],\n className,\n ]\n .filter(Boolean)\n .join(' ');\n\n const handleKeyDown = (e: KeyboardEvent<HTMLDivElement>) => {\n rest.onKeyDown?.(e);\n if (grouped || !removable || e.defaultPrevented) return;\n if (\n e.key === 'Delete' ||\n e.key === 'Backspace' ||\n e.key === 'Enter' ||\n e.key === ' '\n ) {\n e.preventDefault();\n e.stopPropagation();\n e.currentTarget\n .querySelector<HTMLButtonElement>('[data-chip-remove]')\n ?.click();\n }\n };\n\n return (\n <div\n className={rootClass}\n {...rest}\n role={removable ? 'button' : rest.role}\n tabIndex={removable ? (grouped ? -1 : 0) : rest.tabIndex}\n aria-label={removable ? groupedAriaLabel : rest['aria-label']}\n data-chip=\"\"\n onKeyDown={handleKeyDown}\n >\n {leadingAvatar != null ? (\n <span className={styles['chip__avatar-slot']}>\n <UserAvatar\n src={leadingAvatar.src}\n alt={leadingAvatar.alt}\n size={avatarSize}\n />\n </span>\n ) : leadingIcon != null ? (\n <span className={styles['chip__icon-slot']} aria-hidden>\n <Icon glyph={leadingIcon} size={iconSize} />\n </span>\n ) : null}\n <span className={styles['chip__label']}>{children}</span>\n {onRemove != null ? (\n <button\n type=\"button\"\n className={styles['chip__remove']}\n data-chip-remove=\"\"\n tabIndex={-1}\n aria-hidden\n onMouseDown={(e) => {\n e.preventDefault();\n }}\n onClick={handleRemove}\n >\n <CloseCircleIcon size={Number(iconSize)} aria-hidden />\n </button>\n ) : null}\n </div>\n );\n}\n"],"names":["ICON_SIZE_MAP","AVATAR_SIZE_MAP","labelTextFromChildren","children","focusTargetAfterRemove","chipEl","scan","start","direction","el","parent","afterGroup","groupSiblingInput","_a","Chip","size","compact","leadingIcon","leadingAvatar","onRemove","error","colored","className","rest","grouped","useContext","ChipGroupContext","iconSize","avatarSize","labelText","groupedAriaLabel","removable","handleRemove","nextFocus","removeButton","activateChip","rootClass","styles","toKebab","handleKeyDown","_b","jsxs","jsx","UserAvatar","Icon","CloseCircleIcon"],"mappings":";;;;;;;;AA6CA,MAAMA,IAA4C;AAAA,EAChD,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACT,GAEMC,IAAoD;AAAA,EACxD,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,OAAO;AACT;AAEA,SAASC,EAAsBC,GAA6B;AAC1D,SAAI,OAAOA,KAAa,YAAY,OAAOA,KAAa,WAC/C,OAAOA,CAAQ,EAAE,KAAA,IAEtB,MAAM,QAAQA,CAAQ,IACjBA,EAAS,IAAID,CAAqB,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,IAE9D;AACT;AAEA,SAASE,EAAuBC,GAAyC;;AACvE,QAAMC,IAAO,CACXC,GACAC,MACuB;AACvB,QAAIC,IAAqBF;AACzB,WAAOE,KAAI;AAIT,UAHIA,aAAc,eAAeA,EAAG,QAAQ,QAAQ,QAGhDA,aAAc,oBAAoBA,aAAc;AAClD,eAAOA;AAET,MAAAA,IACED,MAAc,SACVC,EAAG,qBACHA,EAAG;AAAA,IACX;AACA,WAAO;AAAA,EACT,GAEMC,IAASL,EAAO,eAChBM,IAAaD,KAAA,gBAAAA,EAAQ,oBACrBE,IACJD,aAAsB,oBACtBA,aAAsB,sBAClBA,IACA;AAEN,SACEL,EAAKD,EAAO,oBAAoB,MAAM,KACtCC,EAAKD,EAAO,wBAAwB,UAAU,KAC9CO,MACAF,KAAA,gBAAAA,EAAQ,cAAc,yBACtBG,IAAAH,KAAA,gBAAAA,EAAQ,kBAAR,gBAAAG,EAAuB,cAAc,uBACrC;AAEJ;AAOA,SAAwBC,EAAK;AAAA,EAC3B,UAAAX;AAAA,EACA,MAAAY,IAAO;AAAA,EACP,SAAAC,IAAU;AAAA,EACV,aAAAC;AAAA,EACA,eAAAC;AAAA,EACA,UAAAC;AAAA,EACA,OAAAC,IAAQ;AAAA,EACR,SAAAC,IAAU;AAAA,EACV,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,GAAc;AACZ,QAAMC,IAAUC,EAAWC,CAAgB,GACrCC,IAAW3B,EAAce,CAAI,GAC7Ba,IAAa3B,EAAgBc,CAAI,GACjCc,IAAY3B,EAAsBC,CAAQ,GAC1C2B,IACJP,EAAK,YAAY,MAChBJ,KAAY,QAAQU,MAAc,KAC/B,GAAGA,CAAS,8BACZA,MAAc,KACZA,IACA,SACFE,IAAYZ,KAAY,MAExBa,IAAe,CAAC,MAAqC;AACzD,UAAM3B,IAAS,EAAE,cAAc,QAAQ,aAAa,GAC9C4B,IACJ5B,aAAkB,cAAcD,EAAuBC,CAAM,IAAI,MAC7D6B,IAAe,EAAE;AACvB,IAAAf,KAAA,QAAAA,EAAW,IACX,OAAO,WAAW,MAAM;AACtB,MAAIe,EAAa,eAAeD,KAAa,QACxCA,EAAU,gBACXA,EAAU,QAAQ,QAAQ,OAC5BE,EAAaF,CAAS,IAEtBA,EAAU,MAAM,EAAE,cAAc,GAAA,CAAsB;AAAA,IAE1D,GAAG,CAAC;AAAA,EACN,GAEMG,IAAY;AAAA,IAChBC,EAAO;AAAA,IACPA,EAAO,cAAcC,EAAQvB,CAAI,CAAC,EAAE;AAAA,IACpCC,KAAWqB,EAAO,eAAe;AAAA,IACjCjB,KAASiB,EAAO,aAAa;AAAA,IAC7BhB,KAAWgB,EAAO,eAAe;AAAA,IACjCf;AAAA,EAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG,GAELiB,IAAgB,CAAC,MAAqC;;AAE1D,KADA1B,IAAAU,EAAK,cAAL,QAAAV,EAAA,KAAAU,GAAiB,IACb,EAAAC,KAAW,CAACO,KAAa,EAAE,sBAE7B,EAAE,QAAQ,YACV,EAAE,QAAQ,eACV,EAAE,QAAQ,WACV,EAAE,QAAQ,SAEV,EAAE,eAAA,GACF,EAAE,gBAAA,IACFS,IAAA,EAAE,cACC,cAAiC,oBAAoB,MADxD,QAAAA,EAEI;AAAA,EAER;AAEA,SACE,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWL;AAAA,MACV,GAAGb;AAAA,MACJ,MAAMQ,IAAY,WAAWR,EAAK;AAAA,MAClC,UAAUQ,IAAaP,IAAU,KAAK,IAAKD,EAAK;AAAA,MAChD,cAAYQ,IAAYD,IAAmBP,EAAK,YAAY;AAAA,MAC5D,aAAU;AAAA,MACV,WAAWgB;AAAA,MAEV,UAAA;AAAA,QAAArB,KAAiB,OAChB,gBAAAwB,EAAC,QAAA,EAAK,WAAWL,EAAO,mBAAmB,GACzC,UAAA,gBAAAK;AAAA,UAACC;AAAA,UAAA;AAAA,YACC,KAAKzB,EAAc;AAAA,YACnB,KAAKA,EAAc;AAAA,YACnB,MAAMU;AAAA,UAAA;AAAA,QAAA,GAEV,IACEX,KAAe,OACjB,gBAAAyB,EAAC,QAAA,EAAK,WAAWL,EAAO,iBAAiB,GAAG,eAAW,IACrD,4BAACO,GAAA,EAAK,OAAO3B,GAAa,MAAMU,EAAA,CAAU,GAC5C,IACE;AAAA,0BACH,QAAA,EAAK,WAAWU,EAAO,aAAiB,UAAAlC,GAAS;AAAA,QACjDgB,KAAY,OACX,gBAAAuB;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,WAAWL,EAAO;AAAA,YAClB,oBAAiB;AAAA,YACjB,UAAU;AAAA,YACV,eAAW;AAAA,YACX,aAAa,CAAC,MAAM;AAClB,gBAAE,eAAA;AAAA,YACJ;AAAA,YACA,SAASL;AAAA,YAET,4BAACa,GAAA,EAAgB,MAAM,OAAOlB,CAAQ,GAAG,eAAW,GAAA,CAAC;AAAA,UAAA;AAAA,QAAA,IAErD;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGV;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Chip.module.css');const _="_chip_1cqqu_2",c="_chip__label_1cqqu_24",i="_chip__remove_1cqqu_39",e={chip:_,chip__label:c,"chip__icon-slot":"_chip__icon-slot_1cqqu_27","chip__avatar-slot":"_chip__avatar-slot_1cqqu_33",chip__remove:i,"chip--colored":"_chip--colored_1cqqu_55","chip--error":"_chip--error_1cqqu_62","chip--size-small":"_chip--size-small_1cqqu_65","chip--size-medium":"_chip--size-medium_1cqqu_80","chip--size-medium-compact":"_chip--size-medium-compact_1cqqu_94","chip--size-large":"_chip--size-large_1cqqu_108"};exports.chip=_;exports.chip__label=c;exports.chip__remove=i;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./Chip.css');const _="_chip_avr9t_13",i="_chip__label_avr9t_54",c="_chip__remove_avr9t_72",a={chip:_,"focus-ring-in":"_focus-ring-in_avr9t_1",chip__label:i,"chip__icon-slot":"_chip__icon-slot_avr9t_60","chip__avatar-slot":"_chip__avatar-slot_avr9t_66",chip__remove:c,"-host-shadow-a":"_-host-shadow-a_avr9t_88","-host-shadow-b":"_-host-shadow-b_avr9t_88","chip--colored":"_chip--colored_avr9t_91","chip--error":"_chip--error_avr9t_99","chip--size-small":"_chip--size-small_avr9t_102","chip--size-medium":"_chip--size-medium_avr9t_117","chip--size-large":"_chip--size-large_avr9t_131","chip--compact":"_chip--compact_avr9t_145"};exports.chip=_;exports.chip__label=i;exports.chip__remove=c;exports.default=a;
2
2
  //# sourceMappingURL=Chip.module.scss.cjs.map
@@ -1,20 +1,23 @@
1
- import './Chip.module.css';const _ = "_chip_1cqqu_2", c = "_chip__label_1cqqu_24", i = "_chip__remove_1cqqu_39", e = {
1
+ import './Chip.css';const _ = "_chip_avr9t_13", c = "_chip__label_avr9t_54", i = "_chip__remove_avr9t_72", a = {
2
2
  chip: _,
3
+ "focus-ring-in": "_focus-ring-in_avr9t_1",
3
4
  chip__label: c,
4
- "chip__icon-slot": "_chip__icon-slot_1cqqu_27",
5
- "chip__avatar-slot": "_chip__avatar-slot_1cqqu_33",
5
+ "chip__icon-slot": "_chip__icon-slot_avr9t_60",
6
+ "chip__avatar-slot": "_chip__avatar-slot_avr9t_66",
6
7
  chip__remove: i,
7
- "chip--colored": "_chip--colored_1cqqu_55",
8
- "chip--error": "_chip--error_1cqqu_62",
9
- "chip--size-small": "_chip--size-small_1cqqu_65",
10
- "chip--size-medium": "_chip--size-medium_1cqqu_80",
11
- "chip--size-medium-compact": "_chip--size-medium-compact_1cqqu_94",
12
- "chip--size-large": "_chip--size-large_1cqqu_108"
8
+ "-host-shadow-a": "_-host-shadow-a_avr9t_88",
9
+ "-host-shadow-b": "_-host-shadow-b_avr9t_88",
10
+ "chip--colored": "_chip--colored_avr9t_91",
11
+ "chip--error": "_chip--error_avr9t_99",
12
+ "chip--size-small": "_chip--size-small_avr9t_102",
13
+ "chip--size-medium": "_chip--size-medium_avr9t_117",
14
+ "chip--size-large": "_chip--size-large_avr9t_131",
15
+ "chip--compact": "_chip--compact_avr9t_145"
13
16
  };
14
17
  export {
15
18
  _ as chip,
16
19
  c as chip__label,
17
20
  i as chip__remove,
18
- e as default
21
+ a as default
19
22
  };
20
23
  //# sourceMappingURL=Chip.module.scss.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Chip.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const m=require("react/jsx-runtime"),b=require("react"),M=require("./ChipGroup.module.scss.cjs"),v=b.createContext(!1);function l(o){return[...o.querySelectorAll("[data-chip]")]}function g(o){const s=o.closest('[role="toolbar"]');s&&l(s).forEach(a=>{a.tabIndex=a===o?0:-1}),o.focus({focusVisible:!0})}function j({children:o,className:s="",disabled:a=!1,onKeyDown:f,onFocus:d,...E}){const h=b.useRef(null);b.useLayoutEffect(()=>{const e=h.current;if(e==null)return;const r=l(e);if(r.length===0)return;if(a){r.forEach(t=>{t.tabIndex=-1});return}const n=r.find(t=>t===document.activeElement);if(n!=null){r.forEach(t=>{t.tabIndex=t===n?0:-1});return}r.some(t=>t.tabIndex===0)||(r[0].tabIndex=0,r.slice(1).forEach(t=>{t.tabIndex=-1}))},[o,a]);const C=e=>{if(d==null||d(e),a)return;const r=e.target;if(!(r instanceof HTMLElement))return;const n=r.closest("[data-chip]"),t=e.currentTarget;n==null||!t.contains(n)||l(t).forEach(c=>{c.tabIndex=c===n?0:-1})},I=e=>{if(f==null||f(e),e.defaultPrevented||a)return;const r=h.current;if(r==null)return;const n=l(r);if(n.length===0)return;const t=document.activeElement;if(!(t instanceof HTMLElement)||!r.contains(t))return;const c=t.closest("[data-chip]"),p=n.findIndex(i=>i===c);if(p<0)return;const u=i=>{const x=n[Math.max(0,Math.min(n.length-1,i))];x!=null&&(e.preventDefault(),e.stopPropagation(),g(x))};switch(e.key){case"ArrowRight":case"ArrowDown":u(p+1);break;case"ArrowLeft":case"ArrowUp":u(p-1);break;case"Home":u(0);break;case"End":u(n.length-1);break;case"Delete":case"Backspace":case"Enter":case" ":{const i=c==null?void 0:c.querySelector("[data-chip-remove]");i!=null&&!i.disabled&&(e.preventDefault(),e.stopPropagation(),i.click());break}}},k=[M.default["chip-group"],s].filter(Boolean).join(" ");return m.jsx(v.Provider,{value:!0,children:m.jsx("div",{...E,ref:h,className:k,role:"toolbar","aria-orientation":"horizontal","aria-disabled":a||void 0,onKeyDown:I,onFocus:C,children:o})})}exports.ChipGroupContext=v;exports.activateChip=g;exports.default=j;
2
+ //# sourceMappingURL=ChipGroup.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipGroup.cjs","sources":["../../../src/components/chip/ChipGroup.tsx"],"sourcesContent":["import {\n createContext,\n useLayoutEffect,\n useRef,\n type FocusEvent,\n type HTMLAttributes,\n type KeyboardEvent,\n type ReactNode,\n} from 'react';\nimport styles from './ChipGroup.module.scss';\n\nexport const ChipGroupContext = createContext(false);\n\nexport interface ChipGroupProps extends HTMLAttributes<HTMLDivElement> {\n children: ReactNode;\n /** When true, chips are not a tab stop. */\n disabled?: boolean;\n}\n\nfunction chipsIn(toolbar: ParentNode): HTMLElement[] {\n return [...toolbar.querySelectorAll<HTMLElement>('[data-chip]')];\n}\n\n/** Roving tabindex + focus for a chip inside a ChipGroup. */\nexport function activateChip(el: HTMLElement) {\n const toolbar = el.closest('[role=\"toolbar\"]');\n if (toolbar) {\n chipsIn(toolbar).forEach((chip) => {\n chip.tabIndex = chip === el ? 0 : -1;\n });\n }\n el.focus({ focusVisible: true } as FocusOptions);\n}\n\n/**\n * Toolbar for a set of Chips. Tab lands on the active chip; Left/Right move\n * between chips; Delete, Backspace, Enter, and Space remove the focused chip.\n * The × is mouse-only. Keys the group acts on don't propagate past it.\n */\nexport default function ChipGroup({\n children,\n className = '',\n disabled = false,\n onKeyDown,\n onFocus,\n ...rest\n}: ChipGroupProps) {\n const ref = useRef<HTMLDivElement>(null);\n\n useLayoutEffect(() => {\n const toolbar = ref.current;\n if (toolbar == null) return;\n const chips = chipsIn(toolbar);\n if (chips.length === 0) return;\n if (disabled) {\n chips.forEach((chip) => {\n chip.tabIndex = -1;\n });\n return;\n }\n const focused = chips.find((chip) => chip === document.activeElement);\n if (focused != null) {\n chips.forEach((chip) => {\n chip.tabIndex = chip === focused ? 0 : -1;\n });\n return;\n }\n if (!chips.some((chip) => chip.tabIndex === 0)) {\n chips[0].tabIndex = 0;\n chips.slice(1).forEach((chip) => {\n chip.tabIndex = -1;\n });\n }\n }, [children, disabled]);\n\n const handleFocus = (e: FocusEvent<HTMLDivElement>) => {\n onFocus?.(e);\n if (disabled) return;\n const target = e.target;\n if (!(target instanceof HTMLElement)) return;\n const chip = target.closest<HTMLElement>('[data-chip]');\n const toolbar = e.currentTarget;\n if (chip == null || !toolbar.contains(chip)) return;\n chipsIn(toolbar).forEach((c) => {\n c.tabIndex = c === chip ? 0 : -1;\n });\n };\n\n const handleKeyDown = (e: KeyboardEvent<HTMLDivElement>) => {\n onKeyDown?.(e);\n if (e.defaultPrevented || disabled) return;\n\n const toolbar = ref.current;\n if (toolbar == null) return;\n const chips = chipsIn(toolbar);\n if (chips.length === 0) return;\n\n const active = document.activeElement;\n if (!(active instanceof HTMLElement) || !toolbar.contains(active)) return;\n const chip = active.closest<HTMLElement>('[data-chip]');\n const index = chips.findIndex((c) => c === chip);\n if (index < 0) return;\n\n const moveTo = (nextIndex: number) => {\n const next = chips[Math.max(0, Math.min(chips.length - 1, nextIndex))];\n if (next == null) return;\n e.preventDefault();\n e.stopPropagation();\n activateChip(next);\n };\n\n switch (e.key) {\n case 'ArrowRight':\n case 'ArrowDown':\n moveTo(index + 1);\n break;\n case 'ArrowLeft':\n case 'ArrowUp':\n moveTo(index - 1);\n break;\n case 'Home':\n moveTo(0);\n break;\n case 'End':\n moveTo(chips.length - 1);\n break;\n case 'Delete':\n case 'Backspace':\n case 'Enter':\n case ' ': {\n const btn =\n chip?.querySelector<HTMLButtonElement>('[data-chip-remove]');\n if (btn != null && !btn.disabled) {\n e.preventDefault();\n e.stopPropagation();\n btn.click();\n }\n break;\n }\n default:\n break;\n }\n };\n\n const rootClass = [styles['chip-group'], className].filter(Boolean).join(' ');\n\n return (\n <ChipGroupContext.Provider value={true}>\n <div\n {...rest}\n ref={ref}\n className={rootClass}\n role=\"toolbar\"\n aria-orientation=\"horizontal\"\n aria-disabled={disabled || undefined}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n >\n {children}\n </div>\n </ChipGroupContext.Provider>\n );\n}\n"],"names":["ChipGroupContext","createContext","chipsIn","toolbar","activateChip","el","chip","ChipGroup","children","className","disabled","onKeyDown","onFocus","rest","ref","useRef","useLayoutEffect","chips","focused","handleFocus","target","handleKeyDown","active","index","c","moveTo","nextIndex","next","btn","rootClass","styles","jsx"],"mappings":"6MAWaA,EAAmBC,EAAAA,cAAc,EAAK,EAQnD,SAASC,EAAQC,EAAoC,CACnD,MAAO,CAAC,GAAGA,EAAQ,iBAA8B,aAAa,CAAC,CACjE,CAGO,SAASC,EAAaC,EAAiB,CAC5C,MAAMF,EAAUE,EAAG,QAAQ,kBAAkB,EACzCF,GACFD,EAAQC,CAAO,EAAE,QAASG,GAAS,CACjCA,EAAK,SAAWA,IAASD,EAAK,EAAI,EACpC,CAAC,EAEHA,EAAG,MAAM,CAAE,aAAc,EAAA,CAAsB,CACjD,CAOA,SAAwBE,EAAU,CAChC,SAAAC,EACA,UAAAC,EAAY,GACZ,SAAAC,EAAW,GACX,UAAAC,EACA,QAAAC,EACA,GAAGC,CACL,EAAmB,CACjB,MAAMC,EAAMC,EAAAA,OAAuB,IAAI,EAEvCC,EAAAA,gBAAgB,IAAM,CACpB,MAAMb,EAAUW,EAAI,QACpB,GAAIX,GAAW,KAAM,OACrB,MAAMc,EAAQf,EAAQC,CAAO,EAC7B,GAAIc,EAAM,SAAW,EAAG,OACxB,GAAIP,EAAU,CACZO,EAAM,QAASX,GAAS,CACtBA,EAAK,SAAW,EAClB,CAAC,EACD,MACF,CACA,MAAMY,EAAUD,EAAM,KAAMX,GAASA,IAAS,SAAS,aAAa,EACpE,GAAIY,GAAW,KAAM,CACnBD,EAAM,QAASX,GAAS,CACtBA,EAAK,SAAWA,IAASY,EAAU,EAAI,EACzC,CAAC,EACD,MACF,CACKD,EAAM,KAAMX,GAASA,EAAK,WAAa,CAAC,IAC3CW,EAAM,CAAC,EAAE,SAAW,EACpBA,EAAM,MAAM,CAAC,EAAE,QAASX,GAAS,CAC/BA,EAAK,SAAW,EAClB,CAAC,EAEL,EAAG,CAACE,EAAUE,CAAQ,CAAC,EAEvB,MAAMS,EAAe,GAAkC,CAErD,GADAP,GAAA,MAAAA,EAAU,GACNF,EAAU,OACd,MAAMU,EAAS,EAAE,OACjB,GAAI,EAAEA,aAAkB,aAAc,OACtC,MAAMd,EAAOc,EAAO,QAAqB,aAAa,EAChDjB,EAAU,EAAE,cACdG,GAAQ,MAAQ,CAACH,EAAQ,SAASG,CAAI,GAC1CJ,EAAQC,CAAO,EAAE,QAAS,GAAM,CAC9B,EAAE,SAAW,IAAMG,EAAO,EAAI,EAChC,CAAC,CACH,EAEMe,EAAiB,GAAqC,CAE1D,GADAV,GAAA,MAAAA,EAAY,GACR,EAAE,kBAAoBD,EAAU,OAEpC,MAAMP,EAAUW,EAAI,QACpB,GAAIX,GAAW,KAAM,OACrB,MAAMc,EAAQf,EAAQC,CAAO,EAC7B,GAAIc,EAAM,SAAW,EAAG,OAExB,MAAMK,EAAS,SAAS,cACxB,GAAI,EAAEA,aAAkB,cAAgB,CAACnB,EAAQ,SAASmB,CAAM,EAAG,OACnE,MAAMhB,EAAOgB,EAAO,QAAqB,aAAa,EAChDC,EAAQN,EAAM,UAAWO,GAAMA,IAAMlB,CAAI,EAC/C,GAAIiB,EAAQ,EAAG,OAEf,MAAME,EAAUC,GAAsB,CACpC,MAAMC,EAAOV,EAAM,KAAK,IAAI,EAAG,KAAK,IAAIA,EAAM,OAAS,EAAGS,CAAS,CAAC,CAAC,EACjEC,GAAQ,OACZ,EAAE,eAAA,EACF,EAAE,gBAAA,EACFvB,EAAauB,CAAI,EACnB,EAEA,OAAQ,EAAE,IAAA,CACR,IAAK,aACL,IAAK,YACHF,EAAOF,EAAQ,CAAC,EAChB,MACF,IAAK,YACL,IAAK,UACHE,EAAOF,EAAQ,CAAC,EAChB,MACF,IAAK,OACHE,EAAO,CAAC,EACR,MACF,IAAK,MACHA,EAAOR,EAAM,OAAS,CAAC,EACvB,MACF,IAAK,SACL,IAAK,YACL,IAAK,QACL,IAAK,IAAK,CACR,MAAMW,EACJtB,GAAA,YAAAA,EAAM,cAAiC,sBACrCsB,GAAO,MAAQ,CAACA,EAAI,WACtB,EAAE,eAAA,EACF,EAAE,gBAAA,EACFA,EAAI,MAAA,GAEN,KACF,CAEE,CAEN,EAEMC,EAAY,CAACC,UAAO,YAAY,EAAGrB,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAE5E,OACEsB,EAAAA,IAAC/B,EAAiB,SAAjB,CAA0B,MAAO,GAChC,SAAA+B,EAAAA,IAAC,MAAA,CACE,GAAGlB,EACJ,IAAAC,EACA,UAAWe,EACX,KAAK,UACL,mBAAiB,aACjB,gBAAenB,GAAY,OAC3B,UAAWW,EACX,QAASF,EAER,SAAAX,CAAA,CAAA,EAEL,CAEJ"}
@@ -0,0 +1 @@
1
+ ._chip-group_silqp_13{display:inline-flex;flex-wrap:wrap;align-items:center;gap:var(--spacing-xxs);min-width:0}
@@ -0,0 +1,16 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export declare const ChipGroupContext: import('react').Context<boolean>;
3
+ export interface ChipGroupProps extends HTMLAttributes<HTMLDivElement> {
4
+ children: ReactNode;
5
+ /** When true, chips are not a tab stop. */
6
+ disabled?: boolean;
7
+ }
8
+ /** Roving tabindex + focus for a chip inside a ChipGroup. */
9
+ export declare function activateChip(el: HTMLElement): void;
10
+ /**
11
+ * Toolbar for a set of Chips. Tab lands on the active chip; Left/Right move
12
+ * between chips; Delete, Backspace, Enter, and Space remove the focused chip.
13
+ * The × is mouse-only. Keys the group acts on don't propagate past it.
14
+ */
15
+ export default function ChipGroup({ children, className, disabled, onKeyDown, onFocus, ...rest }: ChipGroupProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=ChipGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipGroup.d.ts","sourceRoot":"","sources":["../../../src/components/chip/ChipGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,eAAO,MAAM,gBAAgB,kCAAuB,CAAC;AAErD,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,cAAc,CAAC;IACpE,QAAQ,EAAE,SAAS,CAAC;IACpB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAMD,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,EAAE,EAAE,WAAW,QAQ3C;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,QAAQ,EACR,SAAc,EACd,QAAgB,EAChB,SAAS,EACT,OAAO,EACP,GAAG,IAAI,EACR,EAAE,cAAc,2CAoHhB"}
@@ -0,0 +1,112 @@
1
+ import { jsx as b } from "react/jsx-runtime";
2
+ import { useRef as I, useLayoutEffect as k, createContext as C } from "react";
3
+ import A from "./ChipGroup.module.scss.js";
4
+ const w = C(!1);
5
+ function f(o) {
6
+ return [...o.querySelectorAll("[data-chip]")];
7
+ }
8
+ function L(o) {
9
+ const i = o.closest('[role="toolbar"]');
10
+ i && f(i).forEach((a) => {
11
+ a.tabIndex = a === o ? 0 : -1;
12
+ }), o.focus({ focusVisible: !0 });
13
+ }
14
+ function y({
15
+ children: o,
16
+ className: i = "",
17
+ disabled: a = !1,
18
+ onKeyDown: u,
19
+ onFocus: h,
20
+ ...x
21
+ }) {
22
+ const p = I(null);
23
+ k(() => {
24
+ const e = p.current;
25
+ if (e == null) return;
26
+ const r = f(e);
27
+ if (r.length === 0) return;
28
+ if (a) {
29
+ r.forEach((t) => {
30
+ t.tabIndex = -1;
31
+ });
32
+ return;
33
+ }
34
+ const n = r.find((t) => t === document.activeElement);
35
+ if (n != null) {
36
+ r.forEach((t) => {
37
+ t.tabIndex = t === n ? 0 : -1;
38
+ });
39
+ return;
40
+ }
41
+ r.some((t) => t.tabIndex === 0) || (r[0].tabIndex = 0, r.slice(1).forEach((t) => {
42
+ t.tabIndex = -1;
43
+ }));
44
+ }, [o, a]);
45
+ const v = (e) => {
46
+ if (h == null || h(e), a) return;
47
+ const r = e.target;
48
+ if (!(r instanceof HTMLElement)) return;
49
+ const n = r.closest("[data-chip]"), t = e.currentTarget;
50
+ n == null || !t.contains(n) || f(t).forEach((c) => {
51
+ c.tabIndex = c === n ? 0 : -1;
52
+ });
53
+ }, E = (e) => {
54
+ if (u == null || u(e), e.defaultPrevented || a) return;
55
+ const r = p.current;
56
+ if (r == null) return;
57
+ const n = f(r);
58
+ if (n.length === 0) return;
59
+ const t = document.activeElement;
60
+ if (!(t instanceof HTMLElement) || !r.contains(t)) return;
61
+ const c = t.closest("[data-chip]"), d = n.findIndex((s) => s === c);
62
+ if (d < 0) return;
63
+ const l = (s) => {
64
+ const m = n[Math.max(0, Math.min(n.length - 1, s))];
65
+ m != null && (e.preventDefault(), e.stopPropagation(), L(m));
66
+ };
67
+ switch (e.key) {
68
+ case "ArrowRight":
69
+ case "ArrowDown":
70
+ l(d + 1);
71
+ break;
72
+ case "ArrowLeft":
73
+ case "ArrowUp":
74
+ l(d - 1);
75
+ break;
76
+ case "Home":
77
+ l(0);
78
+ break;
79
+ case "End":
80
+ l(n.length - 1);
81
+ break;
82
+ case "Delete":
83
+ case "Backspace":
84
+ case "Enter":
85
+ case " ": {
86
+ const s = c == null ? void 0 : c.querySelector("[data-chip-remove]");
87
+ s != null && !s.disabled && (e.preventDefault(), e.stopPropagation(), s.click());
88
+ break;
89
+ }
90
+ }
91
+ }, g = [A["chip-group"], i].filter(Boolean).join(" ");
92
+ return /* @__PURE__ */ b(w.Provider, { value: !0, children: /* @__PURE__ */ b(
93
+ "div",
94
+ {
95
+ ...x,
96
+ ref: p,
97
+ className: g,
98
+ role: "toolbar",
99
+ "aria-orientation": "horizontal",
100
+ "aria-disabled": a || void 0,
101
+ onKeyDown: E,
102
+ onFocus: v,
103
+ children: o
104
+ }
105
+ ) });
106
+ }
107
+ export {
108
+ w as ChipGroupContext,
109
+ L as activateChip,
110
+ y as default
111
+ };
112
+ //# sourceMappingURL=ChipGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipGroup.js","sources":["../../../src/components/chip/ChipGroup.tsx"],"sourcesContent":["import {\n createContext,\n useLayoutEffect,\n useRef,\n type FocusEvent,\n type HTMLAttributes,\n type KeyboardEvent,\n type ReactNode,\n} from 'react';\nimport styles from './ChipGroup.module.scss';\n\nexport const ChipGroupContext = createContext(false);\n\nexport interface ChipGroupProps extends HTMLAttributes<HTMLDivElement> {\n children: ReactNode;\n /** When true, chips are not a tab stop. */\n disabled?: boolean;\n}\n\nfunction chipsIn(toolbar: ParentNode): HTMLElement[] {\n return [...toolbar.querySelectorAll<HTMLElement>('[data-chip]')];\n}\n\n/** Roving tabindex + focus for a chip inside a ChipGroup. */\nexport function activateChip(el: HTMLElement) {\n const toolbar = el.closest('[role=\"toolbar\"]');\n if (toolbar) {\n chipsIn(toolbar).forEach((chip) => {\n chip.tabIndex = chip === el ? 0 : -1;\n });\n }\n el.focus({ focusVisible: true } as FocusOptions);\n}\n\n/**\n * Toolbar for a set of Chips. Tab lands on the active chip; Left/Right move\n * between chips; Delete, Backspace, Enter, and Space remove the focused chip.\n * The × is mouse-only. Keys the group acts on don't propagate past it.\n */\nexport default function ChipGroup({\n children,\n className = '',\n disabled = false,\n onKeyDown,\n onFocus,\n ...rest\n}: ChipGroupProps) {\n const ref = useRef<HTMLDivElement>(null);\n\n useLayoutEffect(() => {\n const toolbar = ref.current;\n if (toolbar == null) return;\n const chips = chipsIn(toolbar);\n if (chips.length === 0) return;\n if (disabled) {\n chips.forEach((chip) => {\n chip.tabIndex = -1;\n });\n return;\n }\n const focused = chips.find((chip) => chip === document.activeElement);\n if (focused != null) {\n chips.forEach((chip) => {\n chip.tabIndex = chip === focused ? 0 : -1;\n });\n return;\n }\n if (!chips.some((chip) => chip.tabIndex === 0)) {\n chips[0].tabIndex = 0;\n chips.slice(1).forEach((chip) => {\n chip.tabIndex = -1;\n });\n }\n }, [children, disabled]);\n\n const handleFocus = (e: FocusEvent<HTMLDivElement>) => {\n onFocus?.(e);\n if (disabled) return;\n const target = e.target;\n if (!(target instanceof HTMLElement)) return;\n const chip = target.closest<HTMLElement>('[data-chip]');\n const toolbar = e.currentTarget;\n if (chip == null || !toolbar.contains(chip)) return;\n chipsIn(toolbar).forEach((c) => {\n c.tabIndex = c === chip ? 0 : -1;\n });\n };\n\n const handleKeyDown = (e: KeyboardEvent<HTMLDivElement>) => {\n onKeyDown?.(e);\n if (e.defaultPrevented || disabled) return;\n\n const toolbar = ref.current;\n if (toolbar == null) return;\n const chips = chipsIn(toolbar);\n if (chips.length === 0) return;\n\n const active = document.activeElement;\n if (!(active instanceof HTMLElement) || !toolbar.contains(active)) return;\n const chip = active.closest<HTMLElement>('[data-chip]');\n const index = chips.findIndex((c) => c === chip);\n if (index < 0) return;\n\n const moveTo = (nextIndex: number) => {\n const next = chips[Math.max(0, Math.min(chips.length - 1, nextIndex))];\n if (next == null) return;\n e.preventDefault();\n e.stopPropagation();\n activateChip(next);\n };\n\n switch (e.key) {\n case 'ArrowRight':\n case 'ArrowDown':\n moveTo(index + 1);\n break;\n case 'ArrowLeft':\n case 'ArrowUp':\n moveTo(index - 1);\n break;\n case 'Home':\n moveTo(0);\n break;\n case 'End':\n moveTo(chips.length - 1);\n break;\n case 'Delete':\n case 'Backspace':\n case 'Enter':\n case ' ': {\n const btn =\n chip?.querySelector<HTMLButtonElement>('[data-chip-remove]');\n if (btn != null && !btn.disabled) {\n e.preventDefault();\n e.stopPropagation();\n btn.click();\n }\n break;\n }\n default:\n break;\n }\n };\n\n const rootClass = [styles['chip-group'], className].filter(Boolean).join(' ');\n\n return (\n <ChipGroupContext.Provider value={true}>\n <div\n {...rest}\n ref={ref}\n className={rootClass}\n role=\"toolbar\"\n aria-orientation=\"horizontal\"\n aria-disabled={disabled || undefined}\n onKeyDown={handleKeyDown}\n onFocus={handleFocus}\n >\n {children}\n </div>\n </ChipGroupContext.Provider>\n );\n}\n"],"names":["ChipGroupContext","createContext","chipsIn","toolbar","activateChip","el","chip","ChipGroup","children","className","disabled","onKeyDown","onFocus","rest","ref","useRef","useLayoutEffect","chips","focused","handleFocus","target","handleKeyDown","active","index","c","moveTo","nextIndex","next","btn","rootClass","styles","jsx"],"mappings":";;;AAWO,MAAMA,IAAmBC,EAAc,EAAK;AAQnD,SAASC,EAAQC,GAAoC;AACnD,SAAO,CAAC,GAAGA,EAAQ,iBAA8B,aAAa,CAAC;AACjE;AAGO,SAASC,EAAaC,GAAiB;AAC5C,QAAMF,IAAUE,EAAG,QAAQ,kBAAkB;AAC7C,EAAIF,KACFD,EAAQC,CAAO,EAAE,QAAQ,CAACG,MAAS;AACjC,IAAAA,EAAK,WAAWA,MAASD,IAAK,IAAI;AAAA,EACpC,CAAC,GAEHA,EAAG,MAAM,EAAE,cAAc,GAAA,CAAsB;AACjD;AAOA,SAAwBE,EAAU;AAAA,EAChC,UAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,UAAAC,IAAW;AAAA,EACX,WAAAC;AAAA,EACA,SAAAC;AAAA,EACA,GAAGC;AACL,GAAmB;AACjB,QAAMC,IAAMC,EAAuB,IAAI;AAEvC,EAAAC,EAAgB,MAAM;AACpB,UAAMb,IAAUW,EAAI;AACpB,QAAIX,KAAW,KAAM;AACrB,UAAMc,IAAQf,EAAQC,CAAO;AAC7B,QAAIc,EAAM,WAAW,EAAG;AACxB,QAAIP,GAAU;AACZ,MAAAO,EAAM,QAAQ,CAACX,MAAS;AACtB,QAAAA,EAAK,WAAW;AAAA,MAClB,CAAC;AACD;AAAA,IACF;AACA,UAAMY,IAAUD,EAAM,KAAK,CAACX,MAASA,MAAS,SAAS,aAAa;AACpE,QAAIY,KAAW,MAAM;AACnB,MAAAD,EAAM,QAAQ,CAACX,MAAS;AACtB,QAAAA,EAAK,WAAWA,MAASY,IAAU,IAAI;AAAA,MACzC,CAAC;AACD;AAAA,IACF;AACA,IAAKD,EAAM,KAAK,CAACX,MAASA,EAAK,aAAa,CAAC,MAC3CW,EAAM,CAAC,EAAE,WAAW,GACpBA,EAAM,MAAM,CAAC,EAAE,QAAQ,CAACX,MAAS;AAC/B,MAAAA,EAAK,WAAW;AAAA,IAClB,CAAC;AAAA,EAEL,GAAG,CAACE,GAAUE,CAAQ,CAAC;AAEvB,QAAMS,IAAc,CAAC,MAAkC;AAErD,QADAP,KAAA,QAAAA,EAAU,IACNF,EAAU;AACd,UAAMU,IAAS,EAAE;AACjB,QAAI,EAAEA,aAAkB,aAAc;AACtC,UAAMd,IAAOc,EAAO,QAAqB,aAAa,GAChDjB,IAAU,EAAE;AAClB,IAAIG,KAAQ,QAAQ,CAACH,EAAQ,SAASG,CAAI,KAC1CJ,EAAQC,CAAO,EAAE,QAAQ,CAAC,MAAM;AAC9B,QAAE,WAAW,MAAMG,IAAO,IAAI;AAAA,IAChC,CAAC;AAAA,EACH,GAEMe,IAAgB,CAAC,MAAqC;AAE1D,QADAV,KAAA,QAAAA,EAAY,IACR,EAAE,oBAAoBD,EAAU;AAEpC,UAAMP,IAAUW,EAAI;AACpB,QAAIX,KAAW,KAAM;AACrB,UAAMc,IAAQf,EAAQC,CAAO;AAC7B,QAAIc,EAAM,WAAW,EAAG;AAExB,UAAMK,IAAS,SAAS;AACxB,QAAI,EAAEA,aAAkB,gBAAgB,CAACnB,EAAQ,SAASmB,CAAM,EAAG;AACnE,UAAMhB,IAAOgB,EAAO,QAAqB,aAAa,GAChDC,IAAQN,EAAM,UAAU,CAACO,MAAMA,MAAMlB,CAAI;AAC/C,QAAIiB,IAAQ,EAAG;AAEf,UAAME,IAAS,CAACC,MAAsB;AACpC,YAAMC,IAAOV,EAAM,KAAK,IAAI,GAAG,KAAK,IAAIA,EAAM,SAAS,GAAGS,CAAS,CAAC,CAAC;AACrE,MAAIC,KAAQ,SACZ,EAAE,eAAA,GACF,EAAE,gBAAA,GACFvB,EAAauB,CAAI;AAAA,IACnB;AAEA,YAAQ,EAAE,KAAA;AAAA,MACR,KAAK;AAAA,MACL,KAAK;AACH,QAAAF,EAAOF,IAAQ,CAAC;AAChB;AAAA,MACF,KAAK;AAAA,MACL,KAAK;AACH,QAAAE,EAAOF,IAAQ,CAAC;AAChB;AAAA,MACF,KAAK;AACH,QAAAE,EAAO,CAAC;AACR;AAAA,MACF,KAAK;AACH,QAAAA,EAAOR,EAAM,SAAS,CAAC;AACvB;AAAA,MACF,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK,KAAK;AACR,cAAMW,IACJtB,KAAA,gBAAAA,EAAM,cAAiC;AACzC,QAAIsB,KAAO,QAAQ,CAACA,EAAI,aACtB,EAAE,eAAA,GACF,EAAE,gBAAA,GACFA,EAAI,MAAA;AAEN;AAAA,MACF;AAAA,IAEE;AAAA,EAEN,GAEMC,IAAY,CAACC,EAAO,YAAY,GAAGrB,CAAS,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAE5E,SACE,gBAAAsB,EAAC/B,EAAiB,UAAjB,EAA0B,OAAO,IAChC,UAAA,gBAAA+B;AAAA,IAAC;AAAA,IAAA;AAAA,MACE,GAAGlB;AAAA,MACJ,KAAAC;AAAA,MACA,WAAWe;AAAA,MACX,MAAK;AAAA,MACL,oBAAiB;AAAA,MACjB,iBAAenB,KAAY;AAAA,MAC3B,WAAWW;AAAA,MACX,SAASF;AAAA,MAER,UAAAX;AAAA,IAAA;AAAA,EAAA,GAEL;AAEJ;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require('./ChipGroup.css');const e={"chip-group":"_chip-group_silqp_13"};exports.default=e;
2
+ //# sourceMappingURL=ChipGroup.module.scss.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipGroup.module.scss.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import './ChipGroup.css';const p = {
2
+ "chip-group": "_chip-group_silqp_13"
3
+ };
4
+ export {
5
+ p as default
6
+ };
7
+ //# sourceMappingURL=ChipGroup.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipGroup.module.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Chip.cjs");exports.Chip=e.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Chip.cjs"),r=require("./ChipGroup.cjs");exports.Chip=e.default;exports.ChipGroup=r.default;
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,3 +1,5 @@
1
1
  export { default as Chip } from './Chip';
2
2
  export type { ChipProps, ChipSize } from './Chip';
3
+ export { default as ChipGroup } from './ChipGroup';
4
+ export type { ChipGroupProps } from './ChipGroup';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
@@ -1,5 +1,7 @@
1
- import { default as f } from "./Chip.js";
1
+ import { default as r } from "./Chip.js";
2
+ import { default as e } from "./ChipGroup.js";
2
3
  export {
3
- f as Chip
4
+ r as Chip,
5
+ e as ChipGroup
4
6
  };
5
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react/jsx-runtime"),s=require("react"),__Ee=require("@mattermost/compass-icons/components/chevron-down.js"),Ee=__Ee?.default??__Ee,Be=require("../chip/Chip.cjs"),$e=require("../icon/Icon.cjs"),Fe=require("../menu-item/MenuItem.cjs"),re=require("../popover-menu/PopoverMenu.cjs"),He=require("../user-avatar/UserAvatar.cjs"),Te=require("../../hooks/use-anchored-popup-portal.cjs"),Le=require("../../hooks/use-outside-close.cjs"),Ue=require("../../hooks/use-popover-transition.cjs"),ze=require("../../utils/string.cjs"),r=require("./Combobox.module.scss.cjs"),ae=280,Ke={small:"small",medium:"medium",large:"large"};function Qe(a,d){return d?a.label.toLowerCase().includes(d.toLowerCase()):!0}function Xe(a){return a==null?null:Array.isArray(a)?a[0]??null:a===""?null:a}function Ge(a){return a==null?[]:Array.isArray(a)?a:a===""?[]:[a]}function We(a){if(a.leadingVisual!=null)return a.leadingVisual;if(a.leadingAvatar!=null)return u.jsx(He.default,{src:a.leadingAvatar.src,alt:a.leadingAvatar.alt,size:"24"})}const Ye=s.forwardRef(function({options:d,multiple:n=!1,value:L,defaultValue:U,onChange:D,inputValue:q,defaultInputValue:oe="",onInputChange:x,label:y,placeholder:ue,leadingIcon:N,size:z="medium",invalid:K=!1,disabled:_=!1,filter:w=!0,emptyMessage:ce="No results",className:ie="",id:de,"aria-label":Q,portalContainer:fe=null,zIndex:be},j){const ve=s.useId(),P=de??ve,g=`${P}-listbox`,S=s.useRef(null),X=s.useRef(null),p=s.useRef(null),xe=s.useCallback(e=>{p.current=e,typeof j=="function"?j(e):j&&(j.current=e)},[j]),V=L!==void 0,[me,he]=s.useState(()=>U!==void 0?U:n?[]:null),G=V?L:me,f=n?null:Xe(G),i=n?Ge(G):[],b=q!==void 0,[R,E]=s.useState(oe),[c,W]=s.useState(!1),[_e,Y]=s.useState(!1),[v,m]=s.useState(-1),[M,B]=s.useState(null),C=s.useMemo(()=>f==null?void 0:d.find(e=>e.value===f),[d,f]),$=b?q:n?R:M!==null?M:(C==null?void 0:C.label)??R,Z=b?q:n?R:M!==null?M:"",F=s.useCallback(e=>{b||(E(e),n||B(e)),x==null||x(e)},[b,n,x]),A=s.useCallback(e=>{V||he(e),D==null||D(e)},[V,D]),o=s.useMemo(()=>{if(w===!1)return d;const e=typeof w=="function"?w:Qe;return d.filter(t=>e(t,Z))},[d,w,Z]),{mounted:J,visible:ge}=Ue.usePopoverTransition(c),{placement:pe,maxHeight:ke,style:ye,portalRef:ee,renderPortal:je}=Te.useAnchoredPopupPortal(X,J,{preferredHeight:ae,maxHeightCap:ae,portalContainer:fe,zIndex:be}),k=s.useCallback(()=>{W(!1),m(-1),!n&&!b&&(B(null),E(""))},[n,b]),I=s.useCallback(()=>{_||W(!0)},[_]);Le.useOutsideClose(S,c,k,ee),s.useEffect(()=>{c&&m(e=>{if(o.length===0)return-1;if(e>=0&&e<o.length)return e;const t=n?o.findIndex(l=>i.includes(l.value)):o.findIndex(l=>l.value===f);return t>=0?t:0})},[c,o,n,i,f]);const Ae=s.useCallback(e=>n?i.includes(e):f===e,[n,i,f]),te=s.useCallback(e=>{var t;if(!e.disabled){if(n){const l=i.includes(e.value)?i.filter(h=>h!==e.value):[...i,e.value];A(l),F(""),k(),(t=p.current)==null||t.focus();return}A(e.value),b?x==null||x(e.label):(E(""),B(null)),k()}},[n,i,A,F,b,x,k]),le=s.useCallback(e=>{var t;n&&(A(i.filter(l=>l!==e)),(t=p.current)==null||t.focus())},[n,i,A]),se=s.useCallback(e=>{const t=o.map((l,h)=>({o:l,i:h})).filter(({o:l})=>!l.disabled);if(t.length===0){m(-1);return}m(l=>{const h=t.findIndex(({i:T})=>T===l),O=h<0?e>0?0:t.length-1:(h+e+t.length)%t.length;return t[O].i})},[o]);s.useEffect(()=>{if(!c||v<0)return;const e=o[v];if(!e)return;const t=document.getElementById(`${g}-option-${e.value}`);t==null||t.scrollIntoView({block:"nearest"})},[c,v,o,g]);const Ie=e=>{const t=e.target.value;F(t),c||I(),m(0)},De=()=>{Y(!0),I(),!n&&!b&&C&&requestAnimationFrame(()=>{var e;(e=p.current)==null||e.select()})},we=e=>{var l;const t=e.relatedTarget;t&&((l=S.current)!=null&&l.contains(t))||Y(!1)},Me=e=>{var t;if(!_)switch(e.key){case"ArrowDown":e.preventDefault(),c?se(1):I();break;case"ArrowUp":e.preventDefault(),c?se(-1):I();break;case"Home":c&&o.length>0&&(e.preventDefault(),m(o.findIndex(l=>!l.disabled)>=0?o.findIndex(l=>!l.disabled):0));break;case"End":if(c&&o.length>0){e.preventDefault();for(let l=o.length-1;l>=0;l--)if(!((t=o[l])!=null&&t.disabled)){m(l);break}}break;case"Enter":c&&v>=0&&o[v]&&(e.preventDefault(),te(o[v]));break;case"Escape":c&&(e.preventDefault(),k());break;case"Backspace":n&&$===""&&i.length>0&&(e.preventDefault(),le(i[i.length-1]));break;case"Tab":k();break}},Ce=e=>{var t;_||e.target.closest("button")||(e.target!==p.current&&(e.preventDefault(),(t=p.current)==null||t.focus()),c||I())},Oe=n?i.length>0:f!=null&&f!=="",qe=$.length>0,Ne=_e||c||Oe||qe,ne=v>=0?o[v]:void 0,Pe=ne!=null?`${g}-option-${ne.value}`:void 0,H=s.useMemo(()=>d.filter(e=>i.includes(e.value)),[d,i]),Se=r.default[`combobox--size-${ze.toKebab(z)}`],Ve=n&&H.length>0,Re=[r.default.combobox,Se,K?r.default["combobox--invalid"]:"",y!=null&&Ne?r.default["combobox--label-floated"]:"",N!=null?r.default["combobox--has-leading-icon"]:"",Ve?r.default["combobox--has-chips"]:"",c?r.default["combobox--open"]:"",_?r.default["combobox--disabled"]:"",ie].filter(Boolean).join(" ");return u.jsxs("div",{className:Re,ref:S,children:[u.jsxs("div",{className:r.default.combobox__wrapper,ref:X,children:[y!=null&&u.jsx("label",{className:r.default.combobox__label,htmlFor:P,children:y}),u.jsxs("div",{className:r.default.combobox__inner,onMouseDown:Ce,children:[N!=null&&u.jsx("span",{className:r.default.combobox__leadingIcon,"aria-hidden":!0,children:N}),u.jsxs("div",{className:r.default.combobox__value,children:[n&&H.map(e=>u.jsx(Be.default,{size:Ke[z],leadingAvatar:e.leadingAvatar,leadingIcon:e.leadingAvatar==null?e.leadingVisual:void 0,onRemove:_?void 0:t=>{t.stopPropagation(),le(e.value)},removeLabel:`Remove ${e.label}`,children:e.label},e.value)),u.jsx("input",{ref:xe,id:P,className:r.default.combobox__control,type:"text",role:"combobox",autoComplete:"off",spellCheck:!1,disabled:_,placeholder:n&&H.length>0?void 0:ue,value:$,"aria-label":Q,"aria-invalid":K?!0:void 0,"aria-expanded":c,"aria-controls":g,"aria-autocomplete":"list","aria-activedescendant":Pe,onChange:Ie,onFocus:De,onBlur:we,onKeyDown:Me})]}),u.jsx("span",{className:r.default.combobox__trailingIcon,"aria-hidden":!0,children:u.jsx($e.default,{size:"12",glyph:u.jsx(Ee,{})})})]})]}),J&&je(u.jsx("div",{ref:ee,className:[r.default.combobox__popup,pe==="above"?r.default["combobox__popup--above"]:"",ge?r.default["combobox__popup--visible"]:""].filter(Boolean).join(" "),style:ye,children:u.jsx(re.default,{className:r.default.combobox__menu,children:u.jsx(re.PopoverMenuScroll,{maxHeight:ke,children:o.length===0?u.jsx("p",{className:r.default.combobox__empty,children:ce}):u.jsx("ul",{id:g,className:r.default.combobox__list,role:"listbox","aria-multiselectable":n||void 0,"aria-label":typeof y=="string"?y:Q??"Options",children:o.map((e,t)=>{const l=Ae(e.value),h=t===v,O=We(e);return u.jsx("li",{className:r.default.combobox__option,role:"presentation",children:u.jsx(Fe.default,{id:`${g}-option-${e.value}`,role:"option",label:e.label,secondaryLabel:e.secondaryLabel,leadingElement:O!=null,leadingVisual:O,trailingElement:l,active:h,disabled:e.disabled,"aria-selected":l,onMouseDown:T=>{T.preventDefault()},onMouseEnter:()=>m(t),onClick:()=>te(e)})},e.value)})})})})}))]})});exports.default=Ye;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),s=require("react"),__Nt=require("@mattermost/compass-icons/components/chevron-down.js"),Nt=__Nt?.default??__Nt,__St=require("@mattermost/compass-icons/components/close-circle.js"),St=__St?.default??__St,__It=require("@mattermost/compass-icons/components/plus.js"),It=__It?.default??__It,Rt=require("../chip/Chip.cjs"),pt=require("../chip/ChipGroup.cjs"),P=require("../icon/Icon.cjs"),ue=require("../field/fieldDescribedBy.cjs"),Et=require("../field-message/FieldMessage.cjs"),pe=require("../menu-item/MenuItem.cjs"),Ee=require("../popover-menu/PopoverMenu.cjs"),Vt=require("../spinner/Spinner.cjs"),Ft=require("../team-avatar/TeamAvatar.cjs"),Tt=require("../user-avatar/UserAvatar.cjs"),Lt=require("../../hooks/use-anchored-popup-portal.cjs"),Ot=require("../../hooks/use-outside-close.cjs"),$t=require("../../hooks/use-popover-transition.cjs"),zt=require("../../utils/menuItemProps.cjs"),Ht=require("../../utils/props.cjs"),Ut=require("../../utils/string.cjs"),o=require("./Combobox.module.scss.cjs"),Ve=280,Gt={small:"small",medium:"medium",large:"large"},Kt={small:"12",medium:"16",large:"16"};function Pt(a){return typeof a=="string"?`${a} selections`:"Selected"}function Qt(a){return`Create "${a}"`}function Q(a){return a.kind==="option"&&a.option.disabled===!0}function Xt(a,v){return v?a.label.toLowerCase().includes(v.toLowerCase()):!0}function Zt(a){return a==null?null:Array.isArray(a)?a[0]??null:a===""?null:a}function Wt(a){return a==null?[]:Array.isArray(a)?a:a===""?[]:[a]}function Yt(a){if(a.leadingVisual!=null)return a.leadingVisual;if(a.leadingAvatar!=null)return l.jsx(Tt.default,{src:a.leadingAvatar.src,alt:a.leadingAvatar.alt,size:"24"});if(a.leadingTeamAvatar!=null)return l.jsx(Ft.default,{src:a.leadingTeamAvatar.src,initials:a.leadingTeamAvatar.initials??(a.leadingTeamAvatar.src?void 0:Array.from(a.label).slice(0,2).join("")),alt:a.leadingTeamAvatar.alt,size:"24",variant:"menu"})}const Jt=s.forwardRef(function({options:v,menuItemProps:Fe,multiple:r=!1,value:de,defaultValue:fe,onChange:T,inputValue:X,defaultInputValue:Te="",onInputChange:d,label:C,placeholder:Le,leadingIcon:Z,size:W="medium",invalid:Oe=!1,message:Y,messageTone:be,disabled:_=!1,filter:L=!0,emptyMessage:$e="No results",loading:me=!1,loadingMessage:ze="Loading…",selectedOptions:A,creatable:D=!1,onCreateOption:J,formatCreateLabel:He=Qt,clearable:Ue=!1,openOnFocus:Ge=!1,submitOnEnter:Ke=!0,clearLabel:Pe="Clear",clearButtonProps:b,selectionsLabel:Qe,listboxLabel:Xe="Options",className:Ze="",id:We,"aria-label":ve,"aria-describedby":Ye,required:Je=!1,onFocus:B,onBlur:ee,onKeyDown:te,portalContainer:Be=null,zIndex:et,...tt},w){const st=s.useId(),O=We??st,N=`${O}-listbox`,se=s.useRef(null),xe=s.useRef(null),M=s.useRef(null),at=s.useCallback(e=>{M.current=e,typeof w=="function"?w(e):w&&(w.current=e)},[w]),ae=de!==void 0,[rt,lt]=s.useState(()=>fe!==void 0?fe:r?[]:null),re=ae?de:rt,x=r?null:Zt(re),i=s.useMemo(()=>r?Wt(re):[],[r,re]),m=X!==void 0,[le,S]=s.useState(Te),[u,he]=s.useState(!1),[nt,ge]=s.useState(!1),[h,k]=s.useState(-1),$=s.useRef(!1),I=s.useRef(null),_e=s.useCallback(e=>{e!==h&&($.current=!0,k(e))},[h]),[z,R]=s.useState(null),H=s.useCallback(e=>v.find(t=>t.value===e)??(A==null?void 0:A.find(t=>t.value===e))??(D?{value:e,label:e}:void 0),[v,A,D]),U=s.useMemo(()=>x==null?void 0:H(x),[H,x]),ne=m?X:r?le:z!==null?z:(U==null?void 0:U.label)??le,oe=m?X:r?le:z!==null?z:"",p=s.useCallback(e=>{m||(S(e),r||R(e)),d==null||d(e)},[m,r,d]),g=s.useCallback(e=>{ae||lt(e),T==null||T(e)},[ae,T]),ke=s.useMemo(()=>{if(L===!1)return v;const e=typeof L=="function"?L:Xt;return v.filter(t=>e(t,oe))},[v,L,oe]),E=D?oe.trim():"",je=s.useMemo(()=>{if(E==="")return!1;const e=E.toLowerCase(),t=y=>y.toLowerCase()===e;return[...v,...A??[]].some(y=>t(y.label)||t(y.value))?!1:!(r?i:x!=null?[x]:[]).some(t)},[E,v,A,r,i,x]),c=s.useMemo(()=>[...ke.map(e=>({kind:"option",option:e})),...je?[{kind:"create",inputValue:E}]:[]],[ke,je,E]),q=s.useCallback(e=>e.kind==="option"?`${N}-option-${e.option.value}`:`${N}-create`,[N]),{mounted:ye,visible:ot}=$t.usePopoverTransition(u),{placement:it,maxHeight:ct,style:ut,portalRef:Ae,renderPortal:dt}=Lt.useAnchoredPopupPortal(xe,ye,{preferredHeight:Ve,maxHeightCap:Ve,portalContainer:Be,zIndex:et}),j=s.useCallback(()=>{he(!1),k(-1),!r&&!m&&(R(null),S(""))},[r,m]),V=s.useCallback(()=>{_||he(!0)},[_]);Ot.useOutsideClose(se,u,j,Ae),s.useEffect(()=>{u&&k(e=>{if(c.length===0)return-1;if(e>=0&&e<c.length)return e;const t=c.findIndex(n=>n.kind==="option"&&(r?i.includes(n.option.value):n.option.value===x));return t>=0?t:0})},[u,c,r,i,x]);const ft=s.useCallback(e=>r?i.includes(e):x===e,[r,i,x]),ie=s.useCallback(e=>{var t;if(!e.disabled){if(r){const n=i.includes(e.value)?i.filter(f=>f!==e.value):[...i,e.value];g(n),p(""),j(),(t=M.current)==null||t.focus();return}g(e.value),m?d==null||d(e.label):(S(""),R(null)),j()}},[r,i,g,p,m,d,j]),ce=s.useCallback(e=>{var t;if(J?J(e):g(r?[...i,e]:e),r){p(""),j(),(t=M.current)==null||t.focus();return}m?d==null||d(e):(S(""),R(null)),j()},[J,r,i,g,p,m,d,j]),bt=s.useCallback(e=>{e.kind==="create"?ce(e.inputValue):ie(e.option)},[ce,ie]),Me=s.useCallback(()=>{var e;g(null),m?d==null||d(""):(S(""),R(null)),(e=M.current)==null||e.focus()},[g,m,d]),Ce=s.useCallback(e=>{r&&g(i.filter(t=>t!==e))},[r,i,g]),qe=s.useCallback(e=>{$.current=!1;const t=c.map((n,f)=>({row:n,i:f})).filter(({row:n})=>!Q(n));if(t.length===0){k(-1);return}k(n=>{const f=t.findIndex(({i:K})=>K===n),y=f<0?e>0?0:t.length-1:(f+e+t.length)%t.length;return t[y].i})},[c]);s.useEffect(()=>{var t,n;if(!u||h<0)return;if($.current){$.current=!1;return}const e=c[h];e&&((n=(t=document.getElementById(q(e)))==null?void 0:t.scrollIntoView)==null||n.call(t,{block:"nearest"}))},[u,h,c,q]);const mt=e=>{F();const t=e.target.value;p(t),u||V(),k(0)},F=()=>{I.current!==null&&(cancelAnimationFrame(I.current),I.current=null)};s.useEffect(()=>F,[]);const vt=()=>{ge(!0),Ge&&V(),!r&&!m&&U&&(F(),I.current=requestAnimationFrame(()=>{var e;I.current=null,(e=M.current)==null||e.select()}))},De=e=>{var n;const t=e.relatedTarget;t&&((n=se.current)!=null&&n.contains(t))||(F(),ge(!1))},xt=e=>{if(!_)switch(F(),e.key){case"ArrowDown":e.preventDefault(),u?qe(1):V();break;case"ArrowUp":if(e.preventDefault(),u)qe(-1);else{for(let t=c.length-1;t>=0;t--)if(!Q(c[t])){k(t);break}V()}break;case"Home":u&&c.length>0&&(e.preventDefault(),k(Math.max(0,c.findIndex(t=>!Q(t)))));break;case"End":if(u&&c.length>0){e.preventDefault();for(let t=c.length-1;t>=0;t--)if(!Q(c[t])){k(t);break}}break;case"Enter":if(e.nativeEvent.isComposing||e.keyCode===229)break;(u||!Ke)&&(e.preventDefault(),e.stopPropagation()),u&&h>=0&&c[h]&&bt(c[h]);break;case"Escape":u&&(e.preventDefault(),e.stopPropagation(),j());break;case"Backspace":r&&ne===""&&i.length>0&&(e.preventDefault(),Ce(i[i.length-1]));break;case"Tab":j();break}},ht=e=>{vt(),B==null||B(e)},gt=e=>{De(e),ee==null||ee(e)},_t=e=>{xt(e),te==null||te(e)},kt=e=>{var t;_||e.target.closest("[data-chip], [data-combobox-clear]")||(e.target!==M.current&&(e.preventDefault(),(t=M.current)==null||t.focus()),u||V())},jt=e=>{e.target.closest('input, textarea, select, [contenteditable="true"]')||e.preventDefault()},we=r?i.length>0:x!=null&&x!=="",yt=ne.length>0,At=Ue&&!r&&we&&!_,Mt=nt||u||we||yt,Ne=h>=0?c[h]:void 0,Ct=Ne!=null?q(Ne):void 0,G=s.useMemo(()=>{if(!r)return[];if(A==null){const e=v.filter(n=>i.includes(n.value));if(!D)return e;const t=new Set(e.map(n=>n.value));return[...e,...i.filter(n=>!t.has(n)).map(n=>({value:n,label:n}))]}return i.map(H).filter(e=>e!=null)},[r,A,v,i,D,H]),qt=o.default[`combobox--size-${Ut.toKebab(W)}`],Dt=r&&G.length>0,Se=ue.isFieldInvalid(Oe,Y,be),Ie=ue.hasFieldMessage(Y),Re=Ie?`${O}-message`:void 0,wt=[o.default.combobox,qt,Se?o.default["combobox--invalid"]:"",C!=null&&Mt?o.default["combobox--label-floated"]:"",Z!=null?o.default["combobox--has-leading-icon"]:"",Dt?o.default["combobox--has-chips"]:"",u?o.default["combobox--open"]:"",_?o.default["combobox--disabled"]:"",Ze].filter(Boolean).join(" ");return l.jsxs("div",{className:wt,ref:se,children:[l.jsxs("div",{className:o.default.combobox__wrapper,ref:xe,children:[C!=null&&l.jsx("label",{className:o.default.combobox__label,htmlFor:O,children:C}),l.jsxs("div",{className:o.default.combobox__inner,onMouseDown:kt,children:[Z!=null&&l.jsx("span",{className:o.default["combobox__leading-icon"],"aria-hidden":!0,children:l.jsx(P.IconSlotContext.Provider,{value:{size:"16"},children:Z})}),l.jsxs("div",{className:o.default.combobox__value,children:[r&&G.length>0&&l.jsx(pt.default,{"aria-label":Qe??Pt(C),disabled:_,children:G.map(e=>l.jsx(Rt.default,{size:Gt[W],leadingAvatar:e.leadingAvatar,leadingIcon:e.leadingAvatar==null?e.leadingVisual:void 0,onRemove:_?void 0:t=>{t.stopPropagation(),Ce(e.value)},children:e.label},e.value))}),l.jsx("input",{...tt,ref:at,id:O,className:o.default.combobox__control,type:"text",role:"combobox",autoComplete:"off",spellCheck:!1,disabled:_,placeholder:r&&G.length>0?void 0:Le,value:ne,"aria-label":ve,"aria-describedby":ue.mergeFieldDescribedBy(Ye,Re,void 0),"aria-required":Je?!0:void 0,"aria-invalid":Se?!0:void 0,"aria-expanded":u,"aria-controls":N,"aria-autocomplete":"list","aria-activedescendant":Ct,"aria-busy":me||void 0,onChange:mt,onFocus:ht,onBlur:gt,onKeyDown:_t})]}),At&&l.jsx("button",{...b,type:"button",className:Ht.mergeClassNames(o.default.combobox__clear,b==null?void 0:b.className),"aria-label":Pe,"data-combobox-clear":"",onClick:Me,onKeyDown:e=>{var t;e.key==="Enter"&&(e.preventDefault(),e.stopPropagation(),Me()),(t=b==null?void 0:b.onKeyDown)==null||t.call(b,e)},onBlur:e=>{var t;(t=b==null?void 0:b.onBlur)==null||t.call(b,e),De(e)},children:l.jsx(P.default,{size:Kt[W],glyph:l.jsx(St,{})})}),l.jsx("span",{className:o.default["combobox__trailing-icon"],"aria-hidden":!0,children:l.jsx(P.default,{size:"12",glyph:l.jsx(Nt,{})})})]})]}),Ie&&l.jsx(Et.default,{id:Re,className:o.default.combobox__message,message:Y,tone:be??"error"}),ye&&dt(l.jsx("div",{ref:Ae,className:[o.default.combobox__popup,it==="above"?o.default["combobox__popup--above"]:"",ot?o.default["combobox__popup--visible"]:""].filter(Boolean).join(" "),style:ut,onMouseDown:jt,children:l.jsx(Ee.default,{className:o.default.combobox__menu,children:l.jsxs(Ee.PopoverMenuScroll,{maxHeight:ct,children:[c.length>0&&l.jsx("ul",{id:N,className:o.default.combobox__list,role:"listbox","aria-multiselectable":r||void 0,"aria-label":typeof C=="string"?C:ve??Xe,children:c.map((e,t)=>{const n=t===h;if(e.kind==="create")return l.jsx("li",{className:o.default.combobox__option,role:"presentation",children:l.jsx(pe.default,{id:q(e),role:"option",label:He(e.inputValue),leadingVisual:l.jsx(P.default,{glyph:l.jsx(It,{})}),active:n,"aria-selected":!1,onMouseEnter:()=>_e(t),onClick:()=>ce(e.inputValue)})},q(e));const{option:f}=e,y=ft(f.value),K=Yt(f);return l.jsx("li",{className:o.default.combobox__option,role:"presentation",children:l.jsx(pe.default,{...zt.mergeMenuItemProps(Fe,f.menuItemProps),id:q(e),role:"option",label:f.label,secondaryLabel:f.secondaryLabel,leadingElement:K!=null,leadingVisual:K,trailingElement:y,active:n,disabled:f.disabled,"aria-selected":y,onMouseEnter:()=>_e(t),onClick:()=>ie(f)})},f.value)})}),me?l.jsxs("div",{className:o.default.combobox__loading,role:"status",children:[l.jsx(Vt.default,{size:"16","aria-hidden":!0}),l.jsx("span",{children:ze})]}):c.length===0&&l.jsx("p",{className:o.default.combobox__empty,children:$e})]})})}))]})});exports.default=Jt;
2
2
  //# sourceMappingURL=Combobox.cjs.map