@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,18 +1,18 @@
1
- import './UserAvatarGroup.module.css';const r = {
2
- "user-avatar-group": "_user-avatar-group_sgxpf_2",
3
- "user-avatar-group__item": "_user-avatar-group__item_sgxpf_7",
4
- "user-avatar-group__tooltip-layer": "_user-avatar-group__tooltip-layer_sgxpf_26",
5
- "user-avatar-group__trigger": "_user-avatar-group__trigger_sgxpf_31",
6
- "user-avatar-group__tooltip": "_user-avatar-group__tooltip_sgxpf_26",
7
- "user-avatar-group__overflow": "_user-avatar-group__overflow_sgxpf_55",
8
- "user-avatar-group--size-24": "_user-avatar-group--size-24_sgxpf_67",
9
- "user-avatar-group--size-28": "_user-avatar-group--size-28_sgxpf_79",
10
- "user-avatar-group--size-32": "_user-avatar-group--size-32_sgxpf_91",
11
- "user-avatar-group--size-40": "_user-avatar-group--size-40_sgxpf_103",
12
- "user-avatar-group--size-48": "_user-avatar-group--size-48_sgxpf_115",
13
- "user-avatar-group--size-56": "_user-avatar-group--size-56_sgxpf_127",
14
- "user-avatar-group--size-64": "_user-avatar-group--size-64_sgxpf_139",
15
- "user-avatar-group--size-72": "_user-avatar-group--size-72_sgxpf_151"
1
+ import './UserAvatarGroup.css';const r = {
2
+ "user-avatar-group": "_user-avatar-group_keccc_13",
3
+ "user-avatar-group__item": "_user-avatar-group__item_keccc_18",
4
+ "user-avatar-group__tooltip-layer": "_user-avatar-group__tooltip-layer_keccc_37",
5
+ "user-avatar-group__trigger": "_user-avatar-group__trigger_keccc_42",
6
+ "user-avatar-group__tooltip": "_user-avatar-group__tooltip_keccc_37",
7
+ "user-avatar-group__overflow": "_user-avatar-group__overflow_keccc_66",
8
+ "user-avatar-group--size-24": "_user-avatar-group--size-24_keccc_78",
9
+ "user-avatar-group--size-28": "_user-avatar-group--size-28_keccc_90",
10
+ "user-avatar-group--size-32": "_user-avatar-group--size-32_keccc_102",
11
+ "user-avatar-group--size-40": "_user-avatar-group--size-40_keccc_114",
12
+ "user-avatar-group--size-48": "_user-avatar-group--size-48_keccc_126",
13
+ "user-avatar-group--size-56": "_user-avatar-group--size-56_keccc_138",
14
+ "user-avatar-group--size-64": "_user-avatar-group--size-64_keccc_150",
15
+ "user-avatar-group--size-72": "_user-avatar-group--size-72_keccc_162"
16
16
  };
17
17
  export {
18
18
  r as default
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),I=require("react-dom"),c=require("../utils/anchoredPopupPlacement.cjs"),N="below";function E(r){return typeof document>"u"?null:r??document.body}function O(r){return r===document.body}function R(r,s,y){const{preferredHeight:p,maxHeightCap:f,contentRef:o,portalContainer:d=null,zIndex:h=c.ANCHORED_POPUP_Z_INDEX,matchWidth:l=!0,gap:m=c.ANCHORED_POPUP_GAP}=y,P=n.useRef(null),[A,C]=n.useState(N),[L,z]=n.useState(f??p),[F,S]=n.useState({position:"fixed",top:0,left:0,width:l?0:void 0,zIndex:h}),i=n.useCallback(()=>{var x,H;const e=r.current;if(!e)return;const t=E(d);if(!t)return;const g=e.getBoundingClientRect(),v=window.innerHeight,a=O(t)?void 0:c.getAnchoredPopupContainerFrame(t),b=((x=o==null?void 0:o.current)==null?void 0:x.offsetHeight)??((H=P.current)==null?void 0:H.offsetHeight)??0,D=b>0?b:p,{placement:w,maxHeight:M}=c.computeAnchoredPopupPlacement(g,v,{gap:m,preferredHeight:D,maxHeightCap:f,bounds:a==null?void 0:a.bounds}),u=c.computeAnchoredPopupFixedStyle(g,w,{gap:m,zIndex:h,width:l?g.width:void 0,viewportHeight:v,containerFrame:a});C(w),z(M),S({position:u.position,left:u.left,zIndex:u.zIndex,...l?{width:u.width}:null,...w==="below"?{top:u.top,bottom:"auto"}:{bottom:u.bottom,top:"auto"}})},[r,o,m,l,f,d,p,h]);n.useLayoutEffect(()=>{if(!s)return;i();function e(){i()}return window.addEventListener("resize",e),document.addEventListener("scroll",e,!0),()=>{window.removeEventListener("resize",e),document.removeEventListener("scroll",e,!0)}},[s,i]),n.useLayoutEffect(()=>{if(!s)return;const e=(o==null?void 0:o.current)??P.current;if(!e||typeof ResizeObserver>"u")return;const t=new ResizeObserver(()=>i());return t.observe(e),()=>t.disconnect()},[s,o,i]);const _=n.useCallback(e=>{const t=E(d);return t?I.createPortal(e,t):null},[d]);return{placement:A,maxHeight:L,style:F,portalRef:P,renderPortal:_}}exports.useAnchoredPopupPortal=R;
2
- //# sourceMappingURL=useAnchoredPopupPortal.cjs.map
2
+ //# sourceMappingURL=use-anchored-popup-portal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-anchored-popup-portal.cjs","sources":["../../src/hooks/use-anchored-popup-portal.ts"],"sourcesContent":["import {\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n type CSSProperties,\n type ReactNode,\n type RefObject,\n} from 'react';\nimport { createPortal } from 'react-dom';\nimport {\n ANCHORED_POPUP_GAP,\n ANCHORED_POPUP_Z_INDEX,\n computeAnchoredPopupFixedStyle,\n computeAnchoredPopupPlacement,\n getAnchoredPopupContainerFrame,\n type PopupPlacement,\n} from '@/utils/anchoredPopupPlacement';\n\nexport interface UseAnchoredPopupPortalOptions {\n /** Height used for the flip decision when content isn’t measured yet. */\n preferredHeight: number;\n /** Cap for scrollable menus (Select/Combobox). Omit for intrinsic panels. */\n maxHeightCap?: number;\n /** Ref to the portaled panel for measuring intrinsic height (DateRangePicker). */\n contentRef?: RefObject<HTMLElement | null>;\n /**\n * Portal mount node; defaults to `document.body` with viewport-fixed coords.\n * Custom containers must establish a positioning context (`position` other\n * than `static`); coords are converted to that container’s space.\n */\n portalContainer?: HTMLElement | null;\n zIndex?: number | string;\n /**\n * When true (default), fixed width matches the trigger.\n * DateRangePicker sets false and keeps its CSS width.\n */\n matchWidth?: boolean;\n gap?: number;\n}\n\nexport interface UseAnchoredPopupPortalResult {\n placement: PopupPlacement;\n maxHeight: number;\n style: CSSProperties;\n /** Ref for the portaled surface — pass to `useOutsideClose` as a second root. */\n portalRef: RefObject<HTMLDivElement | null>;\n /** Wraps children in a portal to `portalContainer` or `document.body`. */\n renderPortal: (children: ReactNode) => ReactNode;\n}\n\nconst DEFAULT_PLACEMENT: PopupPlacement = 'below';\n\nfunction resolvePortalMount(\n portalContainer: HTMLElement | null | undefined,\n): HTMLElement | null {\n if (typeof document === 'undefined') return null;\n return portalContainer ?? document.body;\n}\n\nfunction usesViewportFixedCoords(mount: HTMLElement): boolean {\n return mount === document.body;\n}\n\n/**\n * Positions a form-widget popup in a portal with viewport-aware above/below flip.\n * Internal to compass-ui form widgets — not a general overlay positioning API.\n */\nexport function useAnchoredPopupPortal(\n anchorRef: RefObject<HTMLElement | null>,\n isOpen: boolean,\n options: UseAnchoredPopupPortalOptions,\n): UseAnchoredPopupPortalResult {\n const {\n preferredHeight,\n maxHeightCap,\n contentRef,\n portalContainer = null,\n zIndex = ANCHORED_POPUP_Z_INDEX,\n matchWidth = true,\n gap = ANCHORED_POPUP_GAP,\n } = options;\n\n const portalRef = useRef<HTMLDivElement | null>(null);\n const [placement, setPlacement] = useState<PopupPlacement>(DEFAULT_PLACEMENT);\n const [maxHeight, setMaxHeight] = useState(maxHeightCap ?? preferredHeight);\n const [style, setStyle] = useState<CSSProperties>({\n position: 'fixed',\n top: 0,\n left: 0,\n width: matchWidth ? 0 : undefined,\n zIndex,\n });\n\n const update = useCallback(() => {\n const anchor = anchorRef.current;\n if (!anchor) return;\n\n const mount = resolvePortalMount(portalContainer);\n if (!mount) return;\n\n const rect = anchor.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n const viewportFixed = usesViewportFixedCoords(mount);\n const containerFrame = viewportFixed\n ? undefined\n : getAnchoredPopupContainerFrame(mount);\n\n const measured =\n contentRef?.current?.offsetHeight ?? portalRef.current?.offsetHeight ?? 0;\n const heightForFlip = measured > 0 ? measured : preferredHeight;\n\n const { placement: nextPlacement, maxHeight: nextMaxHeight } =\n computeAnchoredPopupPlacement(rect, viewportHeight, {\n gap,\n preferredHeight: heightForFlip,\n maxHeightCap,\n bounds: containerFrame?.bounds,\n });\n\n const fixed = computeAnchoredPopupFixedStyle(rect, nextPlacement, {\n gap,\n zIndex,\n width: matchWidth ? rect.width : undefined,\n viewportHeight,\n containerFrame,\n });\n\n setPlacement(nextPlacement);\n setMaxHeight(nextMaxHeight);\n setStyle({\n position: fixed.position,\n left: fixed.left,\n zIndex: fixed.zIndex,\n ...(matchWidth ? { width: fixed.width } : null),\n ...(nextPlacement === 'below'\n ? { top: fixed.top, bottom: 'auto' }\n : { bottom: fixed.bottom, top: 'auto' }),\n });\n }, [\n anchorRef,\n contentRef,\n gap,\n matchWidth,\n maxHeightCap,\n portalContainer,\n preferredHeight,\n zIndex,\n ]);\n\n useLayoutEffect(() => {\n if (!isOpen) return;\n\n update();\n\n function handle() {\n update();\n }\n\n window.addEventListener('resize', handle);\n // Capture phase so nested scroll containers (modals, RHS) are covered.\n document.addEventListener('scroll', handle, true);\n return () => {\n window.removeEventListener('resize', handle);\n document.removeEventListener('scroll', handle, true);\n };\n }, [isOpen, update]);\n\n // Re-measure after content mounts / changes size (calendar, long lists).\n useLayoutEffect(() => {\n if (!isOpen) return;\n const el = contentRef?.current ?? portalRef.current;\n if (!el || typeof ResizeObserver === 'undefined') return;\n\n const ro = new ResizeObserver(() => update());\n ro.observe(el);\n return () => ro.disconnect();\n }, [isOpen, contentRef, update]);\n\n const renderPortal = useCallback(\n (children: ReactNode) => {\n const mount = resolvePortalMount(portalContainer);\n if (!mount) return null;\n return createPortal(children, mount);\n },\n [portalContainer],\n );\n\n return {\n placement,\n maxHeight,\n style,\n portalRef,\n renderPortal,\n };\n}\n"],"names":["DEFAULT_PLACEMENT","resolvePortalMount","portalContainer","usesViewportFixedCoords","mount","useAnchoredPopupPortal","anchorRef","isOpen","options","preferredHeight","maxHeightCap","contentRef","zIndex","ANCHORED_POPUP_Z_INDEX","matchWidth","gap","ANCHORED_POPUP_GAP","portalRef","useRef","placement","setPlacement","useState","maxHeight","setMaxHeight","style","setStyle","update","useCallback","anchor","rect","viewportHeight","containerFrame","getAnchoredPopupContainerFrame","measured","_a","_b","heightForFlip","nextPlacement","nextMaxHeight","computeAnchoredPopupPlacement","fixed","computeAnchoredPopupFixedStyle","useLayoutEffect","handle","el","ro","renderPortal","children","createPortal"],"mappings":"iLAmDMA,EAAoC,QAE1C,SAASC,EACPC,EACoB,CACpB,OAAI,OAAO,SAAa,IAAoB,KACrCA,GAAmB,SAAS,IACrC,CAEA,SAASC,EAAwBC,EAA6B,CAC5D,OAAOA,IAAU,SAAS,IAC5B,CAMO,SAASC,EACdC,EACAC,EACAC,EAC8B,CAC9B,KAAM,CACJ,gBAAAC,EACA,aAAAC,EACA,WAAAC,EACA,gBAAAT,EAAkB,KAClB,OAAAU,EAASC,EAAAA,uBACT,WAAAC,EAAa,GACb,IAAAC,EAAMC,EAAAA,kBAAA,EACJR,EAEES,EAAYC,EAAAA,OAA8B,IAAI,EAC9C,CAACC,EAAWC,CAAY,EAAIC,EAAAA,SAAyBrB,CAAiB,EACtE,CAACsB,EAAWC,CAAY,EAAIF,EAAAA,SAASX,GAAgBD,CAAe,EACpE,CAACe,EAAOC,CAAQ,EAAIJ,WAAwB,CAChD,SAAU,QACV,IAAK,EACL,KAAM,EACN,MAAOP,EAAa,EAAI,OACxB,OAAAF,CAAA,CACD,EAEKc,EAASC,EAAAA,YAAY,IAAM,SAC/B,MAAMC,EAAStB,EAAU,QACzB,GAAI,CAACsB,EAAQ,OAEb,MAAMxB,EAAQH,EAAmBC,CAAe,EAChD,GAAI,CAACE,EAAO,OAEZ,MAAMyB,EAAOD,EAAO,sBAAA,EACdE,EAAiB,OAAO,YAExBC,EADgB5B,EAAwBC,CAAK,EAE/C,OACA4B,EAAAA,+BAA+B5B,CAAK,EAElC6B,IACJC,EAAAvB,GAAA,YAAAA,EAAY,UAAZ,YAAAuB,EAAqB,iBAAgBC,EAAAlB,EAAU,UAAV,YAAAkB,EAAmB,eAAgB,EACpEC,EAAgBH,EAAW,EAAIA,EAAWxB,EAE1C,CAAE,UAAW4B,EAAe,UAAWC,GAC3CC,EAAAA,8BAA8BV,EAAMC,EAAgB,CAClD,IAAAf,EACA,gBAAiBqB,EACjB,aAAA1B,EACA,OAAQqB,GAAA,YAAAA,EAAgB,MAAA,CACzB,EAEGS,EAAQC,EAAAA,+BAA+BZ,EAAMQ,EAAe,CAChE,IAAAtB,EACA,OAAAH,EACA,MAAOE,EAAae,EAAK,MAAQ,OACjC,eAAAC,EACA,eAAAC,CAAA,CACD,EAEDX,EAAaiB,CAAa,EAC1Bd,EAAae,CAAa,EAC1Bb,EAAS,CACP,SAAUe,EAAM,SAChB,KAAMA,EAAM,KACZ,OAAQA,EAAM,OACd,GAAI1B,EAAa,CAAE,MAAO0B,EAAM,OAAU,KAC1C,GAAIH,IAAkB,QAClB,CAAE,IAAKG,EAAM,IAAK,OAAQ,MAAA,EAC1B,CAAE,OAAQA,EAAM,OAAQ,IAAK,MAAA,CAAO,CACzC,CACH,EAAG,CACDlC,EACAK,EACAI,EACAD,EACAJ,EACAR,EACAO,EACAG,CAAA,CACD,EAED8B,EAAAA,gBAAgB,IAAM,CACpB,GAAI,CAACnC,EAAQ,OAEbmB,EAAA,EAEA,SAASiB,GAAS,CAChBjB,EAAA,CACF,CAEA,cAAO,iBAAiB,SAAUiB,CAAM,EAExC,SAAS,iBAAiB,SAAUA,EAAQ,EAAI,EACzC,IAAM,CACX,OAAO,oBAAoB,SAAUA,CAAM,EAC3C,SAAS,oBAAoB,SAAUA,EAAQ,EAAI,CACrD,CACF,EAAG,CAACpC,EAAQmB,CAAM,CAAC,EAGnBgB,EAAAA,gBAAgB,IAAM,CACpB,GAAI,CAACnC,EAAQ,OACb,MAAMqC,GAAKjC,GAAA,YAAAA,EAAY,UAAWM,EAAU,QAC5C,GAAI,CAAC2B,GAAM,OAAO,eAAmB,IAAa,OAElD,MAAMC,EAAK,IAAI,eAAe,IAAMnB,GAAQ,EAC5C,OAAAmB,EAAG,QAAQD,CAAE,EACN,IAAMC,EAAG,WAAA,CAClB,EAAG,CAACtC,EAAQI,EAAYe,CAAM,CAAC,EAE/B,MAAMoB,EAAenB,EAAAA,YAClBoB,GAAwB,CACvB,MAAM3C,EAAQH,EAAmBC,CAAe,EAChD,OAAKE,EACE4C,EAAAA,aAAaD,EAAU3C,CAAK,EADhB,IAErB,EACA,CAACF,CAAe,CAAA,EAGlB,MAAO,CACL,UAAAiB,EACA,UAAAG,EACA,MAAAE,EACA,UAAAP,EACA,aAAA6B,CAAA,CAEJ"}
@@ -13,7 +13,7 @@ export interface UseAnchoredPopupPortalOptions {
13
13
  * than `static`); coords are converted to that container’s space.
14
14
  */
15
15
  portalContainer?: HTMLElement | null;
16
- zIndex?: number;
16
+ zIndex?: number | string;
17
17
  /**
18
18
  * When true (default), fixed width matches the trigger.
19
19
  * DateRangePicker sets false and keeps its CSS width.
@@ -35,4 +35,4 @@ export interface UseAnchoredPopupPortalResult {
35
35
  * Internal to compass-ui form widgets — not a general overlay positioning API.
36
36
  */
37
37
  export declare function useAnchoredPopupPortal(anchorRef: RefObject<HTMLElement | null>, isOpen: boolean, options: UseAnchoredPopupPortalOptions): UseAnchoredPopupPortalResult;
38
- //# sourceMappingURL=useAnchoredPopupPortal.d.ts.map
38
+ //# sourceMappingURL=use-anchored-popup-portal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-anchored-popup-portal.d.ts","sourceRoot":"","sources":["../../src/hooks/use-anchored-popup-portal.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,gCAAgC,CAAC;AAExC,MAAM,WAAW,6BAA6B;IAC5C,yEAAyE;IACzE,eAAe,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kFAAkF;IAClF,UAAU,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC3C;;;;OAIG;IACH,eAAe,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,aAAa,CAAC;IACrB,iFAAiF;IACjF,SAAS,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC5C,0EAA0E;IAC1E,YAAY,EAAE,CAAC,QAAQ,EAAE,SAAS,KAAK,SAAS,CAAC;CAClD;AAeD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACxC,MAAM,EAAE,OAAO,EACf,OAAO,EAAE,6BAA6B,GACrC,4BAA4B,CA2H9B"}
@@ -17,9 +17,7 @@ function q(n, u, C) {
17
17
  zIndex: a = U,
18
18
  matchWidth: c = !0,
19
19
  gap: m = S
20
- } = C, f = O(null), [y, z] = w(G), [F, L] = w(
21
- p ?? l
22
- ), [_, D] = w({
20
+ } = C, f = O(null), [y, z] = w(G), [F, L] = w(p ?? l), [_, D] = w({
23
21
  position: "fixed",
24
22
  top: 0,
25
23
  left: 0,
@@ -94,4 +92,4 @@ function q(n, u, C) {
94
92
  export {
95
93
  q as useAnchoredPopupPortal
96
94
  };
97
- //# sourceMappingURL=useAnchoredPopupPortal.js.map
95
+ //# sourceMappingURL=use-anchored-popup-portal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-anchored-popup-portal.js","sources":["../../src/hooks/use-anchored-popup-portal.ts"],"sourcesContent":["import {\n useCallback,\n useLayoutEffect,\n useRef,\n useState,\n type CSSProperties,\n type ReactNode,\n type RefObject,\n} from 'react';\nimport { createPortal } from 'react-dom';\nimport {\n ANCHORED_POPUP_GAP,\n ANCHORED_POPUP_Z_INDEX,\n computeAnchoredPopupFixedStyle,\n computeAnchoredPopupPlacement,\n getAnchoredPopupContainerFrame,\n type PopupPlacement,\n} from '@/utils/anchoredPopupPlacement';\n\nexport interface UseAnchoredPopupPortalOptions {\n /** Height used for the flip decision when content isn’t measured yet. */\n preferredHeight: number;\n /** Cap for scrollable menus (Select/Combobox). Omit for intrinsic panels. */\n maxHeightCap?: number;\n /** Ref to the portaled panel for measuring intrinsic height (DateRangePicker). */\n contentRef?: RefObject<HTMLElement | null>;\n /**\n * Portal mount node; defaults to `document.body` with viewport-fixed coords.\n * Custom containers must establish a positioning context (`position` other\n * than `static`); coords are converted to that container’s space.\n */\n portalContainer?: HTMLElement | null;\n zIndex?: number | string;\n /**\n * When true (default), fixed width matches the trigger.\n * DateRangePicker sets false and keeps its CSS width.\n */\n matchWidth?: boolean;\n gap?: number;\n}\n\nexport interface UseAnchoredPopupPortalResult {\n placement: PopupPlacement;\n maxHeight: number;\n style: CSSProperties;\n /** Ref for the portaled surface — pass to `useOutsideClose` as a second root. */\n portalRef: RefObject<HTMLDivElement | null>;\n /** Wraps children in a portal to `portalContainer` or `document.body`. */\n renderPortal: (children: ReactNode) => ReactNode;\n}\n\nconst DEFAULT_PLACEMENT: PopupPlacement = 'below';\n\nfunction resolvePortalMount(\n portalContainer: HTMLElement | null | undefined,\n): HTMLElement | null {\n if (typeof document === 'undefined') return null;\n return portalContainer ?? document.body;\n}\n\nfunction usesViewportFixedCoords(mount: HTMLElement): boolean {\n return mount === document.body;\n}\n\n/**\n * Positions a form-widget popup in a portal with viewport-aware above/below flip.\n * Internal to compass-ui form widgets — not a general overlay positioning API.\n */\nexport function useAnchoredPopupPortal(\n anchorRef: RefObject<HTMLElement | null>,\n isOpen: boolean,\n options: UseAnchoredPopupPortalOptions,\n): UseAnchoredPopupPortalResult {\n const {\n preferredHeight,\n maxHeightCap,\n contentRef,\n portalContainer = null,\n zIndex = ANCHORED_POPUP_Z_INDEX,\n matchWidth = true,\n gap = ANCHORED_POPUP_GAP,\n } = options;\n\n const portalRef = useRef<HTMLDivElement | null>(null);\n const [placement, setPlacement] = useState<PopupPlacement>(DEFAULT_PLACEMENT);\n const [maxHeight, setMaxHeight] = useState(maxHeightCap ?? preferredHeight);\n const [style, setStyle] = useState<CSSProperties>({\n position: 'fixed',\n top: 0,\n left: 0,\n width: matchWidth ? 0 : undefined,\n zIndex,\n });\n\n const update = useCallback(() => {\n const anchor = anchorRef.current;\n if (!anchor) return;\n\n const mount = resolvePortalMount(portalContainer);\n if (!mount) return;\n\n const rect = anchor.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n const viewportFixed = usesViewportFixedCoords(mount);\n const containerFrame = viewportFixed\n ? undefined\n : getAnchoredPopupContainerFrame(mount);\n\n const measured =\n contentRef?.current?.offsetHeight ?? portalRef.current?.offsetHeight ?? 0;\n const heightForFlip = measured > 0 ? measured : preferredHeight;\n\n const { placement: nextPlacement, maxHeight: nextMaxHeight } =\n computeAnchoredPopupPlacement(rect, viewportHeight, {\n gap,\n preferredHeight: heightForFlip,\n maxHeightCap,\n bounds: containerFrame?.bounds,\n });\n\n const fixed = computeAnchoredPopupFixedStyle(rect, nextPlacement, {\n gap,\n zIndex,\n width: matchWidth ? rect.width : undefined,\n viewportHeight,\n containerFrame,\n });\n\n setPlacement(nextPlacement);\n setMaxHeight(nextMaxHeight);\n setStyle({\n position: fixed.position,\n left: fixed.left,\n zIndex: fixed.zIndex,\n ...(matchWidth ? { width: fixed.width } : null),\n ...(nextPlacement === 'below'\n ? { top: fixed.top, bottom: 'auto' }\n : { bottom: fixed.bottom, top: 'auto' }),\n });\n }, [\n anchorRef,\n contentRef,\n gap,\n matchWidth,\n maxHeightCap,\n portalContainer,\n preferredHeight,\n zIndex,\n ]);\n\n useLayoutEffect(() => {\n if (!isOpen) return;\n\n update();\n\n function handle() {\n update();\n }\n\n window.addEventListener('resize', handle);\n // Capture phase so nested scroll containers (modals, RHS) are covered.\n document.addEventListener('scroll', handle, true);\n return () => {\n window.removeEventListener('resize', handle);\n document.removeEventListener('scroll', handle, true);\n };\n }, [isOpen, update]);\n\n // Re-measure after content mounts / changes size (calendar, long lists).\n useLayoutEffect(() => {\n if (!isOpen) return;\n const el = contentRef?.current ?? portalRef.current;\n if (!el || typeof ResizeObserver === 'undefined') return;\n\n const ro = new ResizeObserver(() => update());\n ro.observe(el);\n return () => ro.disconnect();\n }, [isOpen, contentRef, update]);\n\n const renderPortal = useCallback(\n (children: ReactNode) => {\n const mount = resolvePortalMount(portalContainer);\n if (!mount) return null;\n return createPortal(children, mount);\n },\n [portalContainer],\n );\n\n return {\n placement,\n maxHeight,\n style,\n portalRef,\n renderPortal,\n };\n}\n"],"names":["DEFAULT_PLACEMENT","resolvePortalMount","portalContainer","usesViewportFixedCoords","mount","useAnchoredPopupPortal","anchorRef","isOpen","options","preferredHeight","maxHeightCap","contentRef","zIndex","ANCHORED_POPUP_Z_INDEX","matchWidth","gap","ANCHORED_POPUP_GAP","portalRef","useRef","placement","setPlacement","useState","maxHeight","setMaxHeight","style","setStyle","update","useCallback","anchor","rect","viewportHeight","containerFrame","getAnchoredPopupContainerFrame","measured","_a","_b","heightForFlip","nextPlacement","nextMaxHeight","computeAnchoredPopupPlacement","fixed","computeAnchoredPopupFixedStyle","useLayoutEffect","handle","el","ro","renderPortal","children","createPortal"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function u(t,r,e){const l=t!==void 0,[s,c]=n.useState(r??!1);return[l?t:s,o=>{l||c(o.target.checked),e==null||e(o)}]}exports.useControllable=u;
2
- //# sourceMappingURL=useControllable.cjs.map
2
+ //# sourceMappingURL=use-controllable.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-controllable.cjs","sources":["../../src/hooks/use-controllable.ts"],"sourcesContent":["import type { ChangeEvent } from 'react';\nimport { useState } from 'react';\n\n/**\n * Handles the controlled/uncontrolled pattern for boolean inputs (checkbox, radio, switch).\n *\n * - If `controlled` is provided (not undefined), the component is controlled and the\n * caller owns the value. Changes are forwarded to `onChange` only.\n * - If `controlled` is undefined, the component manages its own state, initialised\n * from `defaultValue`.\n *\n * Returns `[value, handleChange]`.\n */\nexport function useControllable(\n controlled: boolean | undefined,\n defaultValue: boolean | undefined,\n onChange?: (e: ChangeEvent<HTMLInputElement>) => void,\n): [boolean, (e: ChangeEvent<HTMLInputElement>) => void] {\n const isControlled = controlled !== undefined;\n const [uncontrolled, setUncontrolled] = useState(defaultValue ?? false);\n\n const value = isControlled ? controlled! : uncontrolled;\n\n const handleChange = (e: ChangeEvent<HTMLInputElement>) => {\n if (!isControlled) setUncontrolled(e.target.checked);\n onChange?.(e);\n };\n\n return [value, handleChange];\n}\n"],"names":["useControllable","controlled","defaultValue","onChange","isControlled","uncontrolled","setUncontrolled","useState","e"],"mappings":"yGAaO,SAASA,EACdC,EACAC,EACAC,EACuD,CACvD,MAAMC,EAAeH,IAAe,OAC9B,CAACI,EAAcC,CAAe,EAAIC,EAAAA,SAASL,GAAgB,EAAK,EAStE,MAAO,CAPOE,EAAeH,EAAcI,EAErBG,GAAqC,CACpDJ,GAAcE,EAAgBE,EAAE,OAAO,OAAO,EACnDL,GAAA,MAAAA,EAAWK,EACb,CAE2B,CAC7B"}
@@ -10,4 +10,4 @@ import { ChangeEvent } from 'react';
10
10
  * Returns `[value, handleChange]`.
11
11
  */
12
12
  export declare function useControllable(controlled: boolean | undefined, defaultValue: boolean | undefined, onChange?: (e: ChangeEvent<HTMLInputElement>) => void): [boolean, (e: ChangeEvent<HTMLInputElement>) => void];
13
- //# sourceMappingURL=useControllable.d.ts.map
13
+ //# sourceMappingURL=use-controllable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-controllable.d.ts","sourceRoot":"","sources":["../../src/hooks/use-controllable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,YAAY,EAAE,OAAO,GAAG,SAAS,EACjC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,GACpD,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC,CAYvD"}
@@ -8,4 +8,4 @@ function i(e, r, t) {
8
8
  export {
9
9
  i as useControllable
10
10
  };
11
- //# sourceMappingURL=useControllable.js.map
11
+ //# sourceMappingURL=use-controllable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-controllable.js","sources":["../../src/hooks/use-controllable.ts"],"sourcesContent":["import type { ChangeEvent } from 'react';\nimport { useState } from 'react';\n\n/**\n * Handles the controlled/uncontrolled pattern for boolean inputs (checkbox, radio, switch).\n *\n * - If `controlled` is provided (not undefined), the component is controlled and the\n * caller owns the value. Changes are forwarded to `onChange` only.\n * - If `controlled` is undefined, the component manages its own state, initialised\n * from `defaultValue`.\n *\n * Returns `[value, handleChange]`.\n */\nexport function useControllable(\n controlled: boolean | undefined,\n defaultValue: boolean | undefined,\n onChange?: (e: ChangeEvent<HTMLInputElement>) => void,\n): [boolean, (e: ChangeEvent<HTMLInputElement>) => void] {\n const isControlled = controlled !== undefined;\n const [uncontrolled, setUncontrolled] = useState(defaultValue ?? false);\n\n const value = isControlled ? controlled! : uncontrolled;\n\n const handleChange = (e: ChangeEvent<HTMLInputElement>) => {\n if (!isControlled) setUncontrolled(e.target.checked);\n onChange?.(e);\n };\n\n return [value, handleChange];\n}\n"],"names":["useControllable","controlled","defaultValue","onChange","isControlled","uncontrolled","setUncontrolled","useState","e"],"mappings":";AAaO,SAASA,EACdC,GACAC,GACAC,GACuD;AACvD,QAAMC,IAAeH,MAAe,QAC9B,CAACI,GAAcC,CAAe,IAAIC,EAASL,KAAgB,EAAK;AAStE,SAAO,CAPOE,IAAeH,IAAcI,GAEtB,CAACG,MAAqC;AACzD,IAAKJ,KAAcE,EAAgBE,EAAE,OAAO,OAAO,GACnDL,KAAA,QAAAA,EAAWK;AAAA,EACb,CAE2B;AAC7B;"}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react");function a(e,r){const[t,s]=n.useState(e),[u,i]=n.useState(!1);return n.useEffect(()=>{if(e){s(!0),i(!1);return}if(!t)return;i(!0);const o=window.setTimeout(()=>{s(!1),i(!1)},r);return()=>window.clearTimeout(o)},[e,t,r]),{rendered:t,exiting:u}}exports.useExitAnimation=a;
2
- //# sourceMappingURL=useExitAnimation.cjs.map
2
+ //# sourceMappingURL=use-exit-animation.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-exit-animation.cjs","sources":["../../src/hooks/use-exit-animation.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\n/**\n * Keeps a panel mounted through its exit animation. While `open` is true the\n * panel renders normally. When `open` flips false, the panel keeps rendering\n * for `durationMs` with `exiting: true` so an exit animation can play before\n * the DOM node is removed.\n */\nexport function useExitAnimation(open: boolean, durationMs: number) {\n const [rendered, setRendered] = useState(open);\n const [exiting, setExiting] = useState(false);\n\n useEffect(() => {\n if (open) {\n setRendered(true);\n setExiting(false);\n return;\n }\n if (!rendered) return;\n setExiting(true);\n const t = window.setTimeout(() => {\n setRendered(false);\n setExiting(false);\n }, durationMs);\n return () => window.clearTimeout(t);\n }, [open, rendered, durationMs]);\n\n return { rendered, exiting };\n}\n"],"names":["useExitAnimation","open","durationMs","rendered","setRendered","useState","exiting","setExiting","useEffect","t"],"mappings":"yGAQO,SAASA,EAAiBC,EAAeC,EAAoB,CAClE,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAASJ,CAAI,EACvC,CAACK,EAASC,CAAU,EAAIF,EAAAA,SAAS,EAAK,EAE5CG,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAIP,EAAM,CACRG,EAAY,EAAI,EAChBG,EAAW,EAAK,EAChB,MACF,CACA,GAAI,CAACJ,EAAU,OACfI,EAAW,EAAI,EACf,MAAME,EAAI,OAAO,WAAW,IAAM,CAChCL,EAAY,EAAK,EACjBG,EAAW,EAAK,CAClB,EAAGL,CAAU,EACb,MAAO,IAAM,OAAO,aAAaO,CAAC,CACpC,EAAG,CAACR,EAAME,EAAUD,CAAU,CAAC,EAExB,CAAE,SAAAC,EAAU,QAAAG,CAAA,CACrB"}
@@ -8,4 +8,4 @@ export declare function useExitAnimation(open: boolean, durationMs: number): {
8
8
  rendered: boolean;
9
9
  exiting: boolean;
10
10
  };
11
- //# sourceMappingURL=useExitAnimation.d.ts.map
11
+ //# sourceMappingURL=use-exit-animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-exit-animation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-exit-animation.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM;;;EAoBjE"}
@@ -17,4 +17,4 @@ function c(e, i) {
17
17
  export {
18
18
  c as useExitAnimation
19
19
  };
20
- //# sourceMappingURL=useExitAnimation.js.map
20
+ //# sourceMappingURL=use-exit-animation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-exit-animation.js","sources":["../../src/hooks/use-exit-animation.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\n\n/**\n * Keeps a panel mounted through its exit animation. While `open` is true the\n * panel renders normally. When `open` flips false, the panel keeps rendering\n * for `durationMs` with `exiting: true` so an exit animation can play before\n * the DOM node is removed.\n */\nexport function useExitAnimation(open: boolean, durationMs: number) {\n const [rendered, setRendered] = useState(open);\n const [exiting, setExiting] = useState(false);\n\n useEffect(() => {\n if (open) {\n setRendered(true);\n setExiting(false);\n return;\n }\n if (!rendered) return;\n setExiting(true);\n const t = window.setTimeout(() => {\n setRendered(false);\n setExiting(false);\n }, durationMs);\n return () => window.clearTimeout(t);\n }, [open, rendered, durationMs]);\n\n return { rendered, exiting };\n}\n"],"names":["useExitAnimation","open","durationMs","rendered","setRendered","useState","exiting","setExiting","useEffect","t"],"mappings":";AAQO,SAASA,EAAiBC,GAAeC,GAAoB;AAClE,QAAM,CAACC,GAAUC,CAAW,IAAIC,EAASJ,CAAI,GACvC,CAACK,GAASC,CAAU,IAAIF,EAAS,EAAK;AAE5C,SAAAG,EAAU,MAAM;AACd,QAAIP,GAAM;AACR,MAAAG,EAAY,EAAI,GAChBG,EAAW,EAAK;AAChB;AAAA,IACF;AACA,QAAI,CAACJ,EAAU;AACf,IAAAI,EAAW,EAAI;AACf,UAAME,IAAI,OAAO,WAAW,MAAM;AAChC,MAAAL,EAAY,EAAK,GACjBG,EAAW,EAAK;AAAA,IAClB,GAAGL,CAAU;AACb,WAAO,MAAM,OAAO,aAAaO,CAAC;AAAA,EACpC,GAAG,CAACR,GAAME,GAAUD,CAAU,CAAC,GAExB,EAAE,UAAAC,GAAU,SAAAG,EAAA;AACrB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),T=["a[href]","area[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","summary",'[contenteditable=""]','[contenteditable="true"]',"[tabindex]"].join(",");function F(r,s){for(let t=r;t;t=t.parentElement){if(t.hidden||t.hasAttribute("inert")||t.getAttribute("aria-hidden")==="true")return!0;const f=getComputedStyle(t);if(f.display==="none"||t===r&&f.visibility==="hidden")return!0;if(t===s)break}return!1}function L(r){return Array.from(r.querySelectorAll(T)).filter(s=>s.tabIndex>=0&&!s.matches(":disabled")&&!F(s,r))}const h=Symbol.for("@mattermost/compass-ui/modal-stack/v1"),p=globalThis,u=p[h]??(p[h]=[]);function O(r,{initialFocusRef:s,closeOnEscape:t=!0,manageFocus:f=!0,onClose:v,active:g=!0}){const R=o.useRef(f),E=o.useRef(s),b=o.useRef({closeOnEscape:t,manageFocus:f,onClose:v});o.useLayoutEffect(()=>{E.current=s,b.current={closeOnEscape:t,manageFocus:f,onClose:v}});const k=o.useRef(null),d=o.useRef(null);o.useEffect(()=>{var i;if(!R.current)return;const c=document.activeElement;function m(){const a=u[u.length-1],l=k.current;return l&&u.includes(l)?a===l:d.current?d.current.wasTop&&a===d.current.below:a===void 0}const e=r.current,n=(i=E.current)==null?void 0:i.current;return n&&(e!=null&&e.contains(n))&&n.focus(),(!n||document.activeElement!==n)&&(e==null||e.focus()),()=>{m()&&c&&c.isConnected&&typeof c.focus=="function"&&c.focus()}},[r]),o.useEffect(()=>{if(!g)return;const c={};u.push(c),k.current=c,d.current=null;function m(e){var w,x;if(e.defaultPrevented||u[u.length-1]!==c)return;const n=r.current;if(!n)return;if(e.key==="Escape"){b.current.closeOnEscape&&((x=(w=b.current).onClose)==null||x.call(w));return}if(e.key!=="Tab"||!b.current.manageFocus)return;const i=L(n);if(i.length===0){e.preventDefault(),n.focus();return}const a=i[0],l=i[i.length-1],y=document.activeElement,S=!n.contains(y);e.shiftKey?(S||y===a||y===n)&&(e.preventDefault(),l.focus()):(S||y===l)&&(e.preventDefault(),a.focus())}return document.addEventListener("keydown",m),()=>{document.removeEventListener("keydown",m);const e=u.indexOf(c);d.current={wasTop:e===u.length-1,below:u[e-1]},u.splice(e,1)}},[r,g])}exports.useModalFocus=O;
2
+ //# sourceMappingURL=use-modal-focus.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-modal-focus.cjs","sources":["../../src/hooks/use-modal-focus.ts"],"sourcesContent":["import { useEffect, useLayoutEffect, useRef } from 'react';\nimport type { RefObject } from 'react';\n\nconst FOCUSABLE_SELECTOR = [\n 'a[href]',\n 'area[href]',\n 'button:not([disabled])',\n 'input:not([disabled]):not([type=\"hidden\"])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n 'summary',\n '[contenteditable=\"\"]',\n '[contenteditable=\"true\"]',\n '[tabindex]',\n].join(',');\n\nfunction isHidden(el: HTMLElement, root: HTMLElement): boolean {\n for (let node: HTMLElement | null = el; node; node = node.parentElement) {\n if (node.hidden || node.hasAttribute('inert')) return true;\n if (node.getAttribute('aria-hidden') === 'true') return true;\n const style = getComputedStyle(node);\n if (style.display === 'none') return true;\n if (node === el && style.visibility === 'hidden') return true;\n if (node === root) break;\n }\n return false;\n}\n\nfunction getFocusable(root: HTMLElement): HTMLElement[] {\n return Array.from(\n root.querySelectorAll<HTMLElement>(FOCUSABLE_SELECTOR),\n ).filter(\n (el) => el.tabIndex >= 0 && !el.matches(':disabled') && !isHidden(el, root),\n );\n}\n\n/**\n * Open modals in mount order; only the last one reacts to Tab and Escape.\n * Shared through `globalThis` so compass-ui copies bundled by plugins agree on\n * which modal is topmost.\n *\n * **Frozen v1 protocol** (additive-only, like tokens): opaque `{}` tokens,\n * push while active, splice on leave, last entry is top. Do not change the\n * entry shape or those rules in place — mint `…/modal-stack/v2` instead.\n * A new key means new copies stop cooperating with old ones.\n */\nconst STACK_KEY = Symbol.for('@mattermost/compass-ui/modal-stack/v1');\nconst stackHost = globalThis as typeof globalThis & {\n [STACK_KEY]?: object[];\n};\nconst modalStack: object[] = (stackHost[STACK_KEY] ??= []);\n\nexport interface UseModalFocusOptions {\n /** Element to focus on mount. Falls back to the dialog root. */\n initialFocusRef?: RefObject<HTMLElement | null>;\n /** Close on Escape. Default true. */\n closeOnEscape?: boolean;\n /**\n * Initial focus, Tab trap and focus restore. Set false when the host owns\n * focus (e.g. a floating-ui focus manager). The modal still joins the stack,\n * so modals below it stay inert. Initial focus and restore use the value at\n * mount; the Tab trap follows later updates (like `closeOnEscape`). Default\n * true.\n */\n manageFocus?: boolean;\n onClose?: () => void;\n /**\n * When false (e.g. during an exit transition) Tab and Escape are no longer\n * handled and the modal leaves the stack, but focus is still restored on\n * unmount. Default true.\n */\n active?: boolean;\n}\n\n/**\n * Dialog focus and keyboard behavior for a modal panel: initial focus, Tab trap\n * (focusable elements computed at keypress), Escape (skipped when already\n * handled), and focus restore on unmount.\n *\n * Tab and Escape are handled by one document listener, so the trap still holds\n * when focus sits outside the dialog (e.g. after a backdrop click), and only\n * the topmost active modal responds. Events whose default was prevented (by an\n * inner widget or the host's `onKeyDown`) are ignored.\n */\nexport function useModalFocus(\n rootRef: RefObject<HTMLElement | null>,\n {\n initialFocusRef,\n closeOnEscape = true,\n manageFocus = true,\n onClose,\n active = true,\n }: UseModalFocusOptions,\n): void {\n // Initial focus + restore only run once; the Tab trap reads `manageFocus` live.\n const manageFocusOnMount = useRef(manageFocus);\n const initialFocusRefRef = useRef(initialFocusRef);\n const latest = useRef({ closeOnEscape, manageFocus, onClose });\n // Commit-only writes: avoid leaking options from a discarded concurrent render,\n // without the post-paint stale window of a passive effect.\n useLayoutEffect(() => {\n initialFocusRefRef.current = initialFocusRef;\n latest.current = { closeOnEscape, manageFocus, onClose };\n });\n const keyToken = useRef<object | null>(null);\n // Stack position recorded when the token leaves the stack (exit start).\n const exit = useRef<{ wasTop: boolean; below: object | undefined } | null>(\n null,\n );\n\n useEffect(() => {\n if (!manageFocusOnMount.current) return;\n const previous = document.activeElement as HTMLElement | null;\n function shouldRestoreFocus(): boolean {\n const top = modalStack[modalStack.length - 1];\n const token = keyToken.current;\n if (token && modalStack.includes(token)) return top === token;\n if (!exit.current) return top === undefined;\n return exit.current.wasTop && top === exit.current.below;\n }\n const root = rootRef.current;\n const target = initialFocusRefRef.current?.current;\n if (target && root?.contains(target)) target.focus();\n if (!target || document.activeElement !== target) root?.focus();\n return () => {\n if (\n shouldRestoreFocus() &&\n previous &&\n previous.isConnected &&\n typeof previous.focus === 'function'\n ) {\n previous.focus();\n }\n };\n }, [rootRef]);\n\n useEffect(() => {\n if (!active) return;\n const token = {};\n modalStack.push(token);\n keyToken.current = token;\n exit.current = null;\n\n function handle(e: KeyboardEvent) {\n if (e.defaultPrevented || modalStack[modalStack.length - 1] !== token)\n return;\n const dialog = rootRef.current;\n if (!dialog) return;\n if (e.key === 'Escape') {\n if (latest.current.closeOnEscape) latest.current.onClose?.();\n return;\n }\n if (e.key !== 'Tab' || !latest.current.manageFocus) return;\n const focusable = getFocusable(dialog);\n if (focusable.length === 0) {\n e.preventDefault();\n dialog.focus();\n return;\n }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n const current = document.activeElement;\n const outside = !dialog.contains(current);\n if (e.shiftKey) {\n if (outside || current === first || current === dialog) {\n e.preventDefault();\n last.focus();\n }\n } else if (outside || current === last) {\n e.preventDefault();\n first.focus();\n }\n }\n document.addEventListener('keydown', handle);\n return () => {\n document.removeEventListener('keydown', handle);\n const index = modalStack.indexOf(token);\n exit.current = {\n wasTop: index === modalStack.length - 1,\n below: modalStack[index - 1],\n };\n modalStack.splice(index, 1);\n };\n }, [rootRef, active]);\n}\n"],"names":["FOCUSABLE_SELECTOR","isHidden","el","root","node","style","getFocusable","STACK_KEY","stackHost","modalStack","useModalFocus","rootRef","initialFocusRef","closeOnEscape","manageFocus","onClose","active","manageFocusOnMount","useRef","initialFocusRefRef","latest","useLayoutEffect","keyToken","exit","useEffect","previous","shouldRestoreFocus","top","token","target","_a","handle","dialog","_b","focusable","first","last","current","outside","index"],"mappings":"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"}
@@ -0,0 +1,34 @@
1
+ import { RefObject } from 'react';
2
+ export interface UseModalFocusOptions {
3
+ /** Element to focus on mount. Falls back to the dialog root. */
4
+ initialFocusRef?: RefObject<HTMLElement | null>;
5
+ /** Close on Escape. Default true. */
6
+ closeOnEscape?: boolean;
7
+ /**
8
+ * Initial focus, Tab trap and focus restore. Set false when the host owns
9
+ * focus (e.g. a floating-ui focus manager). The modal still joins the stack,
10
+ * so modals below it stay inert. Initial focus and restore use the value at
11
+ * mount; the Tab trap follows later updates (like `closeOnEscape`). Default
12
+ * true.
13
+ */
14
+ manageFocus?: boolean;
15
+ onClose?: () => void;
16
+ /**
17
+ * When false (e.g. during an exit transition) Tab and Escape are no longer
18
+ * handled and the modal leaves the stack, but focus is still restored on
19
+ * unmount. Default true.
20
+ */
21
+ active?: boolean;
22
+ }
23
+ /**
24
+ * Dialog focus and keyboard behavior for a modal panel: initial focus, Tab trap
25
+ * (focusable elements computed at keypress), Escape (skipped when already
26
+ * handled), and focus restore on unmount.
27
+ *
28
+ * Tab and Escape are handled by one document listener, so the trap still holds
29
+ * when focus sits outside the dialog (e.g. after a backdrop click), and only
30
+ * the topmost active modal responds. Events whose default was prevented (by an
31
+ * inner widget or the host's `onKeyDown`) are ignored.
32
+ */
33
+ export declare function useModalFocus(rootRef: RefObject<HTMLElement | null>, { initialFocusRef, closeOnEscape, manageFocus, onClose, active, }: UseModalFocusOptions): void;
34
+ //# sourceMappingURL=use-modal-focus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-modal-focus.d.ts","sourceRoot":"","sources":["../../src/hooks/use-modal-focus.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAmDvC,MAAM,WAAW,oBAAoB;IACnC,gEAAgE;IAChE,eAAe,CAAC,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAChD,qCAAqC;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EACtC,EACE,eAAe,EACf,aAAoB,EACpB,WAAkB,EAClB,OAAO,EACP,MAAa,GACd,EAAE,oBAAoB,GACtB,IAAI,CA2FN"}
@@ -0,0 +1,93 @@
1
+ import { useRef as d, useLayoutEffect as A, useEffect as S } from "react";
2
+ const F = [
3
+ "a[href]",
4
+ "area[href]",
5
+ "button:not([disabled])",
6
+ 'input:not([disabled]):not([type="hidden"])',
7
+ "select:not([disabled])",
8
+ "textarea:not([disabled])",
9
+ "summary",
10
+ '[contenteditable=""]',
11
+ '[contenteditable="true"]',
12
+ "[tabindex]"
13
+ ].join(",");
14
+ function O(r, o) {
15
+ for (let t = r; t; t = t.parentElement) {
16
+ if (t.hidden || t.hasAttribute("inert") || t.getAttribute("aria-hidden") === "true") return !0;
17
+ const i = getComputedStyle(t);
18
+ if (i.display === "none" || t === r && i.visibility === "hidden") return !0;
19
+ if (t === o) break;
20
+ }
21
+ return !1;
22
+ }
23
+ function C(r) {
24
+ return Array.from(
25
+ r.querySelectorAll(F)
26
+ ).filter(
27
+ (o) => o.tabIndex >= 0 && !o.matches(":disabled") && !O(o, r)
28
+ );
29
+ }
30
+ const h = Symbol.for("@mattermost/compass-ui/modal-stack/v1"), y = globalThis, u = y[h] ?? (y[h] = []);
31
+ function M(r, {
32
+ initialFocusRef: o,
33
+ closeOnEscape: t = !0,
34
+ manageFocus: i = !0,
35
+ onClose: v,
36
+ active: g = !0
37
+ }) {
38
+ const T = d(i), E = d(o), m = d({ closeOnEscape: t, manageFocus: i, onClose: v });
39
+ A(() => {
40
+ E.current = o, m.current = { closeOnEscape: t, manageFocus: i, onClose: v };
41
+ });
42
+ const k = d(null), l = d(
43
+ null
44
+ );
45
+ S(() => {
46
+ var s;
47
+ if (!T.current) return;
48
+ const c = document.activeElement;
49
+ function b() {
50
+ const f = u[u.length - 1], a = k.current;
51
+ return a && u.includes(a) ? f === a : l.current ? l.current.wasTop && f === l.current.below : f === void 0;
52
+ }
53
+ const e = r.current, n = (s = E.current) == null ? void 0 : s.current;
54
+ return n && (e != null && e.contains(n)) && n.focus(), (!n || document.activeElement !== n) && (e == null || e.focus()), () => {
55
+ b() && c && c.isConnected && typeof c.focus == "function" && c.focus();
56
+ };
57
+ }, [r]), S(() => {
58
+ if (!g) return;
59
+ const c = {};
60
+ u.push(c), k.current = c, l.current = null;
61
+ function b(e) {
62
+ var w, L;
63
+ if (e.defaultPrevented || u[u.length - 1] !== c)
64
+ return;
65
+ const n = r.current;
66
+ if (!n) return;
67
+ if (e.key === "Escape") {
68
+ m.current.closeOnEscape && ((L = (w = m.current).onClose) == null || L.call(w));
69
+ return;
70
+ }
71
+ if (e.key !== "Tab" || !m.current.manageFocus) return;
72
+ const s = C(n);
73
+ if (s.length === 0) {
74
+ e.preventDefault(), n.focus();
75
+ return;
76
+ }
77
+ const f = s[0], a = s[s.length - 1], p = document.activeElement, x = !n.contains(p);
78
+ e.shiftKey ? (x || p === f || p === n) && (e.preventDefault(), a.focus()) : (x || p === a) && (e.preventDefault(), f.focus());
79
+ }
80
+ return document.addEventListener("keydown", b), () => {
81
+ document.removeEventListener("keydown", b);
82
+ const e = u.indexOf(c);
83
+ l.current = {
84
+ wasTop: e === u.length - 1,
85
+ below: u[e - 1]
86
+ }, u.splice(e, 1);
87
+ };
88
+ }, [r, g]);
89
+ }
90
+ export {
91
+ M as useModalFocus
92
+ };
93
+ //# sourceMappingURL=use-modal-focus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-modal-focus.js","sources":["../../src/hooks/use-modal-focus.ts"],"sourcesContent":["import { useEffect, useLayoutEffect, useRef } from 'react';\nimport type { RefObject } from 'react';\n\nconst FOCUSABLE_SELECTOR = [\n 'a[href]',\n 'area[href]',\n 'button:not([disabled])',\n 'input:not([disabled]):not([type=\"hidden\"])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n 'summary',\n '[contenteditable=\"\"]',\n '[contenteditable=\"true\"]',\n '[tabindex]',\n].join(',');\n\nfunction isHidden(el: HTMLElement, root: HTMLElement): boolean {\n for (let node: HTMLElement | null = el; node; node = node.parentElement) {\n if (node.hidden || node.hasAttribute('inert')) return true;\n if (node.getAttribute('aria-hidden') === 'true') return true;\n const style = getComputedStyle(node);\n if (style.display === 'none') return true;\n if (node === el && style.visibility === 'hidden') return true;\n if (node === root) break;\n }\n return false;\n}\n\nfunction getFocusable(root: HTMLElement): HTMLElement[] {\n return Array.from(\n root.querySelectorAll<HTMLElement>(FOCUSABLE_SELECTOR),\n ).filter(\n (el) => el.tabIndex >= 0 && !el.matches(':disabled') && !isHidden(el, root),\n );\n}\n\n/**\n * Open modals in mount order; only the last one reacts to Tab and Escape.\n * Shared through `globalThis` so compass-ui copies bundled by plugins agree on\n * which modal is topmost.\n *\n * **Frozen v1 protocol** (additive-only, like tokens): opaque `{}` tokens,\n * push while active, splice on leave, last entry is top. Do not change the\n * entry shape or those rules in place — mint `…/modal-stack/v2` instead.\n * A new key means new copies stop cooperating with old ones.\n */\nconst STACK_KEY = Symbol.for('@mattermost/compass-ui/modal-stack/v1');\nconst stackHost = globalThis as typeof globalThis & {\n [STACK_KEY]?: object[];\n};\nconst modalStack: object[] = (stackHost[STACK_KEY] ??= []);\n\nexport interface UseModalFocusOptions {\n /** Element to focus on mount. Falls back to the dialog root. */\n initialFocusRef?: RefObject<HTMLElement | null>;\n /** Close on Escape. Default true. */\n closeOnEscape?: boolean;\n /**\n * Initial focus, Tab trap and focus restore. Set false when the host owns\n * focus (e.g. a floating-ui focus manager). The modal still joins the stack,\n * so modals below it stay inert. Initial focus and restore use the value at\n * mount; the Tab trap follows later updates (like `closeOnEscape`). Default\n * true.\n */\n manageFocus?: boolean;\n onClose?: () => void;\n /**\n * When false (e.g. during an exit transition) Tab and Escape are no longer\n * handled and the modal leaves the stack, but focus is still restored on\n * unmount. Default true.\n */\n active?: boolean;\n}\n\n/**\n * Dialog focus and keyboard behavior for a modal panel: initial focus, Tab trap\n * (focusable elements computed at keypress), Escape (skipped when already\n * handled), and focus restore on unmount.\n *\n * Tab and Escape are handled by one document listener, so the trap still holds\n * when focus sits outside the dialog (e.g. after a backdrop click), and only\n * the topmost active modal responds. Events whose default was prevented (by an\n * inner widget or the host's `onKeyDown`) are ignored.\n */\nexport function useModalFocus(\n rootRef: RefObject<HTMLElement | null>,\n {\n initialFocusRef,\n closeOnEscape = true,\n manageFocus = true,\n onClose,\n active = true,\n }: UseModalFocusOptions,\n): void {\n // Initial focus + restore only run once; the Tab trap reads `manageFocus` live.\n const manageFocusOnMount = useRef(manageFocus);\n const initialFocusRefRef = useRef(initialFocusRef);\n const latest = useRef({ closeOnEscape, manageFocus, onClose });\n // Commit-only writes: avoid leaking options from a discarded concurrent render,\n // without the post-paint stale window of a passive effect.\n useLayoutEffect(() => {\n initialFocusRefRef.current = initialFocusRef;\n latest.current = { closeOnEscape, manageFocus, onClose };\n });\n const keyToken = useRef<object | null>(null);\n // Stack position recorded when the token leaves the stack (exit start).\n const exit = useRef<{ wasTop: boolean; below: object | undefined } | null>(\n null,\n );\n\n useEffect(() => {\n if (!manageFocusOnMount.current) return;\n const previous = document.activeElement as HTMLElement | null;\n function shouldRestoreFocus(): boolean {\n const top = modalStack[modalStack.length - 1];\n const token = keyToken.current;\n if (token && modalStack.includes(token)) return top === token;\n if (!exit.current) return top === undefined;\n return exit.current.wasTop && top === exit.current.below;\n }\n const root = rootRef.current;\n const target = initialFocusRefRef.current?.current;\n if (target && root?.contains(target)) target.focus();\n if (!target || document.activeElement !== target) root?.focus();\n return () => {\n if (\n shouldRestoreFocus() &&\n previous &&\n previous.isConnected &&\n typeof previous.focus === 'function'\n ) {\n previous.focus();\n }\n };\n }, [rootRef]);\n\n useEffect(() => {\n if (!active) return;\n const token = {};\n modalStack.push(token);\n keyToken.current = token;\n exit.current = null;\n\n function handle(e: KeyboardEvent) {\n if (e.defaultPrevented || modalStack[modalStack.length - 1] !== token)\n return;\n const dialog = rootRef.current;\n if (!dialog) return;\n if (e.key === 'Escape') {\n if (latest.current.closeOnEscape) latest.current.onClose?.();\n return;\n }\n if (e.key !== 'Tab' || !latest.current.manageFocus) return;\n const focusable = getFocusable(dialog);\n if (focusable.length === 0) {\n e.preventDefault();\n dialog.focus();\n return;\n }\n const first = focusable[0];\n const last = focusable[focusable.length - 1];\n const current = document.activeElement;\n const outside = !dialog.contains(current);\n if (e.shiftKey) {\n if (outside || current === first || current === dialog) {\n e.preventDefault();\n last.focus();\n }\n } else if (outside || current === last) {\n e.preventDefault();\n first.focus();\n }\n }\n document.addEventListener('keydown', handle);\n return () => {\n document.removeEventListener('keydown', handle);\n const index = modalStack.indexOf(token);\n exit.current = {\n wasTop: index === modalStack.length - 1,\n below: modalStack[index - 1],\n };\n modalStack.splice(index, 1);\n };\n }, [rootRef, active]);\n}\n"],"names":["FOCUSABLE_SELECTOR","isHidden","el","root","node","style","getFocusable","STACK_KEY","stackHost","modalStack","useModalFocus","rootRef","initialFocusRef","closeOnEscape","manageFocus","onClose","active","manageFocusOnMount","useRef","initialFocusRefRef","latest","useLayoutEffect","keyToken","exit","useEffect","previous","shouldRestoreFocus","top","token","target","_a","handle","dialog","_b","focusable","first","last","current","outside","index"],"mappings":"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"}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function m(t,n,u,e){o.useEffect(()=>{if(!n)return;function r(d){var i,c;const s=d.target;(i=t.current)!=null&&i.contains(s)||(c=e==null?void 0:e.current)!=null&&c.contains(s)||u()}return document.addEventListener("mousedown",r),()=>document.removeEventListener("mousedown",r)},[t,e,n,u])}exports.useOutsideClose=m;
2
- //# sourceMappingURL=useOutsideClose.cjs.map
2
+ //# sourceMappingURL=use-outside-close.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-outside-close.cjs","sources":["../../src/hooks/use-outside-close.ts"],"sourcesContent":["import { useEffect } from 'react';\nimport type { RefObject } from 'react';\n\ntype MaybeRef = RefObject<HTMLElement | null>;\n\n/**\n * Closes a dropdown or popover when the user mousedowns outside the container(s).\n * Listeners attach only while `open` is true.\n *\n * Pass `portalRef` when the popup is portaled outside `ref` so menu clicks\n * still count as inside.\n *\n * @param ref - Primary container (e.g. field root).\n * @param open - When true, the listener is active.\n * @param onClose - Called when a mousedown lands outside all containers.\n * @param portalRef - Optional portaled surface to treat as inside.\n */\nexport function useOutsideClose(\n ref: MaybeRef,\n open: boolean,\n onClose: () => void,\n portalRef?: MaybeRef,\n): void {\n useEffect(() => {\n if (!open) return;\n function handle(e: MouseEvent) {\n const target = e.target as Node;\n if (ref.current?.contains(target)) return;\n if (portalRef?.current?.contains(target)) return;\n onClose();\n }\n document.addEventListener('mousedown', handle);\n return () => document.removeEventListener('mousedown', handle);\n }, [ref, portalRef, open, onClose]);\n}\n"],"names":["useOutsideClose","ref","open","onClose","portalRef","useEffect","handle","e","target","_a","_b"],"mappings":"yGAiBO,SAASA,EACdC,EACAC,EACAC,EACAC,EACM,CACNC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACH,EAAM,OACX,SAASI,EAAOC,EAAe,SAC7B,MAAMC,EAASD,EAAE,QACbE,EAAAR,EAAI,UAAJ,MAAAQ,EAAa,SAASD,KACtBE,EAAAN,GAAA,YAAAA,EAAW,UAAX,MAAAM,EAAoB,SAASF,IACjCL,EAAA,CACF,CACA,gBAAS,iBAAiB,YAAaG,CAAM,EACtC,IAAM,SAAS,oBAAoB,YAAaA,CAAM,CAC/D,EAAG,CAACL,EAAKG,EAAWF,EAAMC,CAAO,CAAC,CACpC"}
@@ -14,4 +14,4 @@ type MaybeRef = RefObject<HTMLElement | null>;
14
14
  */
15
15
  export declare function useOutsideClose(ref: MaybeRef, open: boolean, onClose: () => void, portalRef?: MaybeRef): void;
16
16
  export {};
17
- //# sourceMappingURL=useOutsideClose.d.ts.map
17
+ //# sourceMappingURL=use-outside-close.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-outside-close.d.ts","sourceRoot":"","sources":["../../src/hooks/use-outside-close.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,QAAQ,GAAG,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;AAE9C;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,QAAQ,EACb,IAAI,EAAE,OAAO,EACb,OAAO,EAAE,MAAM,IAAI,EACnB,SAAS,CAAC,EAAE,QAAQ,GACnB,IAAI,CAYN"}
@@ -13,4 +13,4 @@ function v(t, e, u, n) {
13
13
  export {
14
14
  v as useOutsideClose
15
15
  };
16
- //# sourceMappingURL=useOutsideClose.js.map
16
+ //# sourceMappingURL=use-outside-close.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-outside-close.js","sources":["../../src/hooks/use-outside-close.ts"],"sourcesContent":["import { useEffect } from 'react';\nimport type { RefObject } from 'react';\n\ntype MaybeRef = RefObject<HTMLElement | null>;\n\n/**\n * Closes a dropdown or popover when the user mousedowns outside the container(s).\n * Listeners attach only while `open` is true.\n *\n * Pass `portalRef` when the popup is portaled outside `ref` so menu clicks\n * still count as inside.\n *\n * @param ref - Primary container (e.g. field root).\n * @param open - When true, the listener is active.\n * @param onClose - Called when a mousedown lands outside all containers.\n * @param portalRef - Optional portaled surface to treat as inside.\n */\nexport function useOutsideClose(\n ref: MaybeRef,\n open: boolean,\n onClose: () => void,\n portalRef?: MaybeRef,\n): void {\n useEffect(() => {\n if (!open) return;\n function handle(e: MouseEvent) {\n const target = e.target as Node;\n if (ref.current?.contains(target)) return;\n if (portalRef?.current?.contains(target)) return;\n onClose();\n }\n document.addEventListener('mousedown', handle);\n return () => document.removeEventListener('mousedown', handle);\n }, [ref, portalRef, open, onClose]);\n}\n"],"names":["useOutsideClose","ref","open","onClose","portalRef","useEffect","handle","e","target","_a","_b"],"mappings":";AAiBO,SAASA,EACdC,GACAC,GACAC,GACAC,GACM;AACN,EAAAC,EAAU,MAAM;AACd,QAAI,CAACH,EAAM;AACX,aAASI,EAAOC,GAAe;;AAC7B,YAAMC,IAASD,EAAE;AACjB,OAAIE,IAAAR,EAAI,YAAJ,QAAAQ,EAAa,SAASD,OACtBE,IAAAN,KAAA,gBAAAA,EAAW,YAAX,QAAAM,EAAoB,SAASF,MACjCL,EAAA;AAAA,IACF;AACA,oBAAS,iBAAiB,aAAaG,CAAM,GACtC,MAAM,SAAS,oBAAoB,aAAaA,CAAM;AAAA,EAC/D,GAAG,CAACL,GAAKG,GAAWF,GAAMC,CAAO,CAAC;AACpC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react"),o=150;function l(e){const[s,i]=n.useState(e),[a,r]=n.useState(!1);return n.useEffect(()=>{if(e){i(!0);let t=0;const c=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>r(!0))});return()=>{cancelAnimationFrame(c),t&&cancelAnimationFrame(t)}}r(!1);const u=window.setTimeout(()=>i(!1),o);return()=>window.clearTimeout(u)},[e]),{mounted:s,visible:a}}exports.POPOVER_TRANSITION_MS=o;exports.usePopoverTransition=l;
2
- //# sourceMappingURL=usePopoverTransition.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),m=require("../utils/duration.cjs"),s=150;function f(e,i="--duration-quick"){const[a,n]=r.useState(e),[u,o]=r.useState(!1);return r.useEffect(()=>{if(e){n(!0);let t=0;const l=requestAnimationFrame(()=>{t=requestAnimationFrame(()=>o(!0))});return()=>{cancelAnimationFrame(l),t&&cancelAnimationFrame(t)}}o(!1);const c=window.setTimeout(()=>n(!1),m.readDurationMs(i,s));return()=>window.clearTimeout(c)},[e,i]),{mounted:a,visible:u}}exports.POPOVER_TRANSITION_MS=s;exports.usePopoverTransition=f;
2
+ //# sourceMappingURL=use-popover-transition.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-popover-transition.cjs","sources":["../../src/hooks/use-popover-transition.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { readDurationMs } from '@/utils/duration';\n\n/** Fallback for `--duration-quick` when the token is not available. */\nexport const POPOVER_TRANSITION_MS = 150;\n\n/**\n * Keeps a surface mounted for the duration of its exit animation so the close\n * transition can play before React unmounts the node. The exit wait is read\n * from `durationToken` (default `--duration-quick`) so it always matches the\n * CSS transition. See CLAUDE.md: \"Animation: popover panel open/close\".\n */\nexport function usePopoverTransition(\n open: boolean,\n durationToken = '--duration-quick',\n) {\n const [mounted, setMounted] = useState(open);\n const [visible, setVisible] = useState(false);\n\n useEffect(() => {\n if (open) {\n setMounted(true);\n let raf2 = 0;\n const raf1 = requestAnimationFrame(() => {\n raf2 = requestAnimationFrame(() => setVisible(true));\n });\n return () => {\n cancelAnimationFrame(raf1);\n if (raf2) cancelAnimationFrame(raf2);\n };\n }\n setVisible(false);\n const t = window.setTimeout(\n () => setMounted(false),\n readDurationMs(durationToken, POPOVER_TRANSITION_MS),\n );\n return () => window.clearTimeout(t);\n }, [open, durationToken]);\n\n return { mounted, visible };\n}\n"],"names":["POPOVER_TRANSITION_MS","usePopoverTransition","open","durationToken","mounted","setMounted","useState","visible","setVisible","useEffect","raf2","raf1","t","readDurationMs"],"mappings":"4IAIaA,EAAwB,IAQ9B,SAASC,EACdC,EACAC,EAAgB,mBAChB,CACA,KAAM,CAACC,EAASC,CAAU,EAAIC,EAAAA,SAASJ,CAAI,EACrC,CAACK,EAASC,CAAU,EAAIF,EAAAA,SAAS,EAAK,EAE5CG,OAAAA,EAAAA,UAAU,IAAM,CACd,GAAIP,EAAM,CACRG,EAAW,EAAI,EACf,IAAIK,EAAO,EACX,MAAMC,EAAO,sBAAsB,IAAM,CACvCD,EAAO,sBAAsB,IAAMF,EAAW,EAAI,CAAC,CACrD,CAAC,EACD,MAAO,IAAM,CACX,qBAAqBG,CAAI,EACrBD,wBAA2BA,CAAI,CACrC,CACF,CACAF,EAAW,EAAK,EAChB,MAAMI,EAAI,OAAO,WACf,IAAMP,EAAW,EAAK,EACtBQ,EAAAA,eAAeV,EAAeH,CAAqB,CAAA,EAErD,MAAO,IAAM,OAAO,aAAaY,CAAC,CACpC,EAAG,CAACV,EAAMC,CAAa,CAAC,EAEjB,CAAE,QAAAC,EAAS,QAAAG,CAAA,CACpB"}
@@ -1,11 +1,13 @@
1
+ /** Fallback for `--duration-quick` when the token is not available. */
1
2
  export declare const POPOVER_TRANSITION_MS = 150;
2
3
  /**
3
- * Keeps a popover mounted for the duration of its exit animation so the close
4
- * transition can play before React unmounts the node. See CLAUDE.md:
5
- * "Animation: popover panel open/close".
4
+ * Keeps a surface mounted for the duration of its exit animation so the close
5
+ * transition can play before React unmounts the node. The exit wait is read
6
+ * from `durationToken` (default `--duration-quick`) so it always matches the
7
+ * CSS transition. See CLAUDE.md: "Animation: popover panel open/close".
6
8
  */
7
- export declare function usePopoverTransition(open: boolean): {
9
+ export declare function usePopoverTransition(open: boolean, durationToken?: string): {
8
10
  mounted: boolean;
9
11
  visible: boolean;
10
12
  };
11
- //# sourceMappingURL=usePopoverTransition.d.ts.map
13
+ //# sourceMappingURL=use-popover-transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-popover-transition.d.ts","sourceRoot":"","sources":["../../src/hooks/use-popover-transition.ts"],"names":[],"mappings":"AAGA,uEAAuE;AACvE,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,aAAa,SAAqB;;;EA0BnC"}
@@ -1,25 +1,29 @@
1
- import { useState as r, useEffect as m } from "react";
2
- const c = 150;
3
- function l(e) {
4
- const [o, n] = r(e), [s, i] = r(!1);
5
- return m(() => {
1
+ import { useState as o, useEffect as c } from "react";
2
+ import { readDurationMs as f } from "../utils/duration.js";
3
+ const l = 150;
4
+ function w(e, r = "--duration-quick") {
5
+ const [a, i] = o(e), [s, n] = o(!1);
6
+ return c(() => {
6
7
  if (e) {
7
- n(!0);
8
+ i(!0);
8
9
  let t = 0;
9
- const u = requestAnimationFrame(() => {
10
- t = requestAnimationFrame(() => i(!0));
10
+ const m = requestAnimationFrame(() => {
11
+ t = requestAnimationFrame(() => n(!0));
11
12
  });
12
13
  return () => {
13
- cancelAnimationFrame(u), t && cancelAnimationFrame(t);
14
+ cancelAnimationFrame(m), t && cancelAnimationFrame(t);
14
15
  };
15
16
  }
16
- i(!1);
17
- const a = window.setTimeout(() => n(!1), c);
18
- return () => window.clearTimeout(a);
19
- }, [e]), { mounted: o, visible: s };
17
+ n(!1);
18
+ const u = window.setTimeout(
19
+ () => i(!1),
20
+ f(r, l)
21
+ );
22
+ return () => window.clearTimeout(u);
23
+ }, [e, r]), { mounted: a, visible: s };
20
24
  }
21
25
  export {
22
- c as POPOVER_TRANSITION_MS,
23
- l as usePopoverTransition
26
+ l as POPOVER_TRANSITION_MS,
27
+ w as usePopoverTransition
24
28
  };
25
- //# sourceMappingURL=usePopoverTransition.js.map
29
+ //# sourceMappingURL=use-popover-transition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-popover-transition.js","sources":["../../src/hooks/use-popover-transition.ts"],"sourcesContent":["import { useEffect, useState } from 'react';\nimport { readDurationMs } from '@/utils/duration';\n\n/** Fallback for `--duration-quick` when the token is not available. */\nexport const POPOVER_TRANSITION_MS = 150;\n\n/**\n * Keeps a surface mounted for the duration of its exit animation so the close\n * transition can play before React unmounts the node. The exit wait is read\n * from `durationToken` (default `--duration-quick`) so it always matches the\n * CSS transition. See CLAUDE.md: \"Animation: popover panel open/close\".\n */\nexport function usePopoverTransition(\n open: boolean,\n durationToken = '--duration-quick',\n) {\n const [mounted, setMounted] = useState(open);\n const [visible, setVisible] = useState(false);\n\n useEffect(() => {\n if (open) {\n setMounted(true);\n let raf2 = 0;\n const raf1 = requestAnimationFrame(() => {\n raf2 = requestAnimationFrame(() => setVisible(true));\n });\n return () => {\n cancelAnimationFrame(raf1);\n if (raf2) cancelAnimationFrame(raf2);\n };\n }\n setVisible(false);\n const t = window.setTimeout(\n () => setMounted(false),\n readDurationMs(durationToken, POPOVER_TRANSITION_MS),\n );\n return () => window.clearTimeout(t);\n }, [open, durationToken]);\n\n return { mounted, visible };\n}\n"],"names":["POPOVER_TRANSITION_MS","usePopoverTransition","open","durationToken","mounted","setMounted","useState","visible","setVisible","useEffect","raf2","raf1","t","readDurationMs"],"mappings":";;AAIO,MAAMA,IAAwB;AAQ9B,SAASC,EACdC,GACAC,IAAgB,oBAChB;AACA,QAAM,CAACC,GAASC,CAAU,IAAIC,EAASJ,CAAI,GACrC,CAACK,GAASC,CAAU,IAAIF,EAAS,EAAK;AAE5C,SAAAG,EAAU,MAAM;AACd,QAAIP,GAAM;AACR,MAAAG,EAAW,EAAI;AACf,UAAIK,IAAO;AACX,YAAMC,IAAO,sBAAsB,MAAM;AACvC,QAAAD,IAAO,sBAAsB,MAAMF,EAAW,EAAI,CAAC;AAAA,MACrD,CAAC;AACD,aAAO,MAAM;AACX,6BAAqBG,CAAI,GACrBD,0BAA2BA,CAAI;AAAA,MACrC;AAAA,IACF;AACA,IAAAF,EAAW,EAAK;AAChB,UAAMI,IAAI,OAAO;AAAA,MACf,MAAMP,EAAW,EAAK;AAAA,MACtBQ,EAAeV,GAAeH,CAAqB;AAAA,IAAA;AAErD,WAAO,MAAM,OAAO,aAAaY,CAAC;AAAA,EACpC,GAAG,CAACV,GAAMC,CAAa,CAAC,GAEjB,EAAE,SAAAC,GAAS,SAAAG,EAAA;AACpB;"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./ai-copilot-intro.svg.cjs");exports.default=e.default;
2
+ //# sourceMappingURL=ai-copilot-intro.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-copilot-intro.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { FunctionComponent, SVGProps } from 'react';
2
+ declare const Svg: FunctionComponent<SVGProps<SVGSVGElement>>;
3
+ export default Svg;
4
+
@@ -0,0 +1,5 @@
1
+ import { default as o } from "./ai-copilot-intro.svg.js";
2
+ export {
3
+ o as default
4
+ };
5
+ //# sourceMappingURL=ai-copilot-intro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-copilot-intro.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("react");function c(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>t[r]})}}return n.default=t,Object.freeze(n)}const e=c(a),o=t=>e.createElement("svg",{width:138,height:119,viewBox:"0 0 138 119",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#clip0_3901_5567)"},e.createElement("ellipse",{cx:66,cy:59.5,rx:59,ry:59.5,fill:"var(--center-channel-color)",fillOpacity:.08}),e.createElement("path",{d:"M66.3566 31.33C66.3566 14.2667 52.4931 0.436623 35.3921 0.436623C18.2912 0.436623 4.42407 14.2667 4.42407 31.33C4.42407 44.4925 12.6796 55.7245 24.3056 60.1743V73.8751H46.4786V60.1743C58.1047 55.7245 66.3602 44.4925 66.3602 31.33H66.3566Z",fill:"var(--center-channel-bg)"}),e.createElement("path",{d:"M24.5002 59.8302L24.179 59.7071C12.7471 55.3317 4.92416 44.2861 4.92407 31.3302C4.92407 14.5443 18.566 0.93677 35.3918 0.936623C52.2178 0.936623 65.8567 14.5441 65.8567 31.3302V31.6749C65.7056 44.4616 57.1716 55.363 45.8215 59.7071L45.5002 59.8302V73.3751H24.5002V59.8302Z",stroke:"var(--center-channel-color)"}),e.createElement("path",{d:"M24.5005 79C24.2243 79 24.0005 79.2239 24.0005 79.5C24.0005 79.7762 24.2243 80 24.5005 80V79ZM45.5005 79.5H46.0005V79H45.5005V79.5ZM45.5005 86.5V87H46.0005V86.5H45.5005ZM27.0005 86.5V86H26.3895L26.5104 86.5989L27.0005 86.5ZM40.5005 91H41.0005C41.0005 90.8122 40.8952 90.6401 40.7278 90.5547C40.5605 90.4693 40.3594 90.4849 40.2072 90.5951L40.5005 91ZM40.5005 102.5H40.0005V103H40.5005V102.5ZM51.0005 103C51.2766 103 51.5005 102.776 51.5005 102.5C51.5005 102.224 51.2766 102 51.0005 102V103ZM24.5005 80H45.5005V79H24.5005V80ZM45.0005 79.5V86.5H46.0005V79.5H45.0005ZM45.5005 86H27.0005V87H45.5005V86ZM27.0005 86.5C26.5104 86.5989 26.5104 86.5992 26.5105 86.5994C26.5105 86.5995 26.5105 86.5998 26.5106 86.6C26.5107 86.6005 26.5108 86.601 26.5109 86.6017C26.5112 86.603 26.5116 86.6048 26.512 86.607C26.5129 86.6114 26.5142 86.6174 26.5158 86.6251C26.5191 86.6404 26.5239 86.6622 26.5303 86.69C26.543 86.7456 26.562 86.8255 26.5881 86.9261C26.6401 87.1272 26.7203 87.4119 26.8344 87.7525C27.0619 88.432 27.4269 89.3426 27.9767 90.2576C29.0731 92.0823 30.958 94 34.0005 94V93C31.4556 93 29.8405 91.4178 28.8338 89.7425C28.332 88.9075 27.9946 88.0681 27.7826 87.435C27.6769 87.1194 27.6032 86.8572 27.5562 86.6755C27.5327 86.5847 27.5159 86.5142 27.5052 86.4673C27.4998 86.4439 27.496 86.4263 27.4936 86.4152C27.4924 86.4096 27.4915 86.4056 27.491 86.4032C27.4908 86.402 27.4906 86.4013 27.4906 86.4009C27.4905 86.4007 27.4905 86.4007 27.4905 86.4007C27.4905 86.4007 27.4905 86.4008 27.4905 86.4008C27.4906 86.401 27.4906 86.4011 27.0005 86.5ZM34.0005 94C35.6427 94 37.3527 93.3324 38.6178 92.6968C39.2575 92.3754 39.7987 92.0544 40.1803 91.8135C40.3714 91.6929 40.523 91.592 40.6277 91.5207C40.68 91.485 40.7207 91.4567 40.7486 91.4371C40.7626 91.4272 40.7735 91.4195 40.781 91.4141C40.7848 91.4114 40.7878 91.4093 40.7899 91.4078C40.791 91.407 40.7918 91.4064 40.7924 91.4059C40.7928 91.4057 40.793 91.4055 40.7933 91.4054C40.7934 91.4053 40.7935 91.4052 40.7935 91.4051C40.7936 91.4051 40.7937 91.405 40.5005 91C40.2072 90.5951 40.2073 90.595 40.2074 90.595C40.2074 90.595 40.2074 90.5949 40.2074 90.5949C40.2074 90.5949 40.2074 90.595 40.2073 90.595C40.2071 90.5952 40.2067 90.5955 40.2061 90.5959C40.2048 90.5968 40.2028 90.5982 40.2 90.6003C40.1943 90.6043 40.1853 90.6107 40.1733 90.6192C40.1492 90.6361 40.1127 90.6615 40.0647 90.6942C39.9687 90.7596 39.8268 90.8541 39.6465 90.9679C39.2856 91.1957 38.7732 91.4996 38.1689 91.8032C36.9459 92.4176 35.4059 93 34.0005 93V94ZM40.0005 91V102.5H41.0005V91H40.0005ZM40.5005 103H51.0005V102H40.5005V103Z",fill:"var(--center-channel-color)"}),e.createElement("path",{d:"M46.8944 21.6718L37.1616 65.0271",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M23.8895 21.6718L32.7375 65.0271",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M28.3136 23.1465H30.2663L33.1953 17.2478L34.6598 26.0958L37.5888 18.7225L39.0533 23.1465H42.4704",stroke:"var(--center-channel-color)",strokeOpacity:.8,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M129.835 70.3359H64.8207C63.7161 70.3359 62.8207 71.2314 62.8207 72.3359V109.037C62.8207 110.141 63.7161 111.037 64.8207 111.037H129.835C130.94 111.037 131.835 110.141 131.835 109.037V72.3359C131.835 71.2314 130.94 70.3359 129.835 70.3359Z",fill:"var(--color-indigo-500)"}),e.createElement("path",{opacity:.16,d:"M118.5 88C122.09 88 125 85.0899 125 81.5C125 77.9102 122.09 75 118.5 75C114.91 75 112 77.9102 112 81.5C112 85.0899 114.91 88 118.5 88Z",fill:"var(--color-neutral-0)"}),e.createElement("path",{fill:"none",d:"M115.829 81.5628L117.921 83.6545L121.507 80.0687",stroke:"var(--color-neutral-0)",strokeWidth:1.35088}),e.createElement("path",{fill:"none",d:"M71.0001 79.5H106.5",stroke:"var(--color-neutral-0)",strokeLinecap:"round"}),e.createElement("path",{fill:"none",d:"M70.9996 84.4927L106.5 84.4928",stroke:"var(--color-neutral-0)",strokeLinecap:"round"}),e.createElement("path",{opacity:.16,d:"M118.5 106C122.09 106 125 103.09 125 99.5C125 95.9102 122.09 93 118.5 93C114.91 93 112 95.9102 112 99.5C112 103.09 114.91 106 118.5 106Z",fill:"var(--color-neutral-0)"}),e.createElement("path",{fill:"none",d:"M115.829 99.2588L117.921 101.351L121.507 97.7648",stroke:"var(--color-neutral-0)",strokeWidth:1.35088}),e.createElement("path",{fill:"none",d:"M70.9996 97.5L107 97.5",stroke:"var(--color-neutral-0)",strokeLinecap:"round"}),e.createElement("path",{fill:"none",d:"M70.9996 102.5H107",stroke:"var(--color-neutral-0)",strokeLinecap:"round"}),e.createElement("path",{opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M127.443 11.443L121 13.5L127.443 15.557L129.5 22L131.557 15.557L138 13.5L131.557 11.443L129.5 5L127.443 11.443Z",fill:"var(--center-channel-color)",fillOpacity:.32}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M79.79 60.169L76 61.5L79.79 62.831L81 67L82.21 62.831L86 61.5L82.21 60.169L81 56L79.79 60.169Z",fill:"var(--center-channel-color)",fillOpacity:.32}),e.createElement("path",{opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M4.927 97.169L0 98.5L4.927 99.831L6.5 104L8.073 99.831L13 98.5L8.073 97.169L6.5 93L4.927 97.169Z",fill:"var(--center-channel-color)",fillOpacity:.32}),e.createElement("path",{d:"M95.5963 47.8982L88.4805 55V21.0175C88.4805 19.9129 89.3759 19.0175 90.4805 19.0175H122C123.105 19.0175 124 19.9129 124 21.0175V45.8982C124 47.0028 123.105 47.8982 122 47.8982H95.5963Z",fill:"var(--center-channel-bg)"}),e.createElement("path",{d:"M95.5963 47.8982L88.4805 55V21.0175C88.4805 19.9129 89.3759 19.0175 90.4805 19.0175H122C123.105 19.0175 124 19.9129 124 21.0175V45.8982C124 47.0028 123.105 47.8982 122 47.8982H95.5963Z",fill:"var(--center-channel-color)",fillOpacity:.4}),e.createElement("path",{d:"M97 27H108",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M97 32H116",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M97 37H105",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M107 37H114",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("circle",{cx:124.316,cy:48.6583,r:10.56,stroke:"var(--center-channel-color)",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M132.72 49.1007C132.72 53.4986 129.155 57.0639 124.757 57.0639",stroke:"var(--center-channel-color)",strokeOpacity:.32,strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("line",{x1:117.559,y1:57.2736,x2:111.309,y2:63.5239,stroke:"var(--center-channel-color)",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M55 102.5H57",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M60 102.5H65",stroke:"var(--center-channel-color)",strokeLinecap:"round"}),e.createElement("path",{d:"M60.5145 5.8674C67.9401 13.5398 71.9243 24.403 70.4339 35.813C69.2488 44.8855 64.8075 52.7347 58.4392 58.3388",stroke:"var(--center-channel-color)",strokeOpacity:.32,strokeLinecap:"round"}),e.createElement("path",{d:"M63 62C71.6023 54.3833 77 43.414 77 31.2209C77 25.4668 75.7979 19.9853 73.6243 15",stroke:"var(--center-channel-color)",strokeOpacity:.32,strokeLinecap:"round",strokeDasharray:"2 2"})),e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_3901_5567"},e.createElement("rect",{width:138,height:119,fill:"var(--center-channel-bg)"}))));exports.default=o;
2
+ //# sourceMappingURL=ai-copilot-intro.svg.cjs.map