@rocket.chat/fuselage 0.68.1 → 0.70.0

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 (396) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +0 -3
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/AudioPlayer/AudioPlayer.d.ts +0 -3
  4. package/dist/components/AudioPlayer/AudioPlayer.d.ts.map +1 -1
  5. package/dist/components/AutoComplete/AutoComplete.d.ts +21 -13
  6. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  7. package/dist/components/AutoComplete/index.d.ts +1 -1
  8. package/dist/components/AutoComplete/index.d.ts.map +1 -1
  9. package/dist/components/Avatar/Avatar.d.ts +3 -3
  10. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  11. package/dist/components/Badge/Badge.d.ts +1 -4
  12. package/dist/components/Badge/Badge.d.ts.map +1 -1
  13. package/dist/components/Box/Box.d.ts +0 -3
  14. package/dist/components/Box/Box.d.ts.map +1 -1
  15. package/dist/components/Box/StylingBox.d.ts +0 -6
  16. package/dist/components/Box/StylingBox.d.ts.map +1 -1
  17. package/dist/components/Button/ActionButton.d.ts +20 -7
  18. package/dist/components/Button/ActionButton.d.ts.map +1 -1
  19. package/dist/components/Button/Button.d.ts +22 -9
  20. package/dist/components/Button/Button.d.ts.map +1 -1
  21. package/dist/components/Button/IconButton.d.ts +17 -8
  22. package/dist/components/Button/IconButton.d.ts.map +1 -1
  23. package/dist/components/Button/index.d.ts +1 -1
  24. package/dist/components/Button/index.d.ts.map +1 -1
  25. package/dist/components/ButtonGroup/ButtonGroup.d.ts +10 -4
  26. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  27. package/dist/components/ButtonGroup/index.d.ts +1 -1
  28. package/dist/components/ButtonGroup/index.d.ts.map +1 -1
  29. package/dist/components/Callout/Callout.d.ts +5 -8
  30. package/dist/components/Callout/Callout.d.ts.map +1 -1
  31. package/dist/components/Card/Card.d.ts +1 -1
  32. package/dist/components/Card/Card.d.ts.map +1 -1
  33. package/dist/components/Card/CardBody.d.ts +4 -4
  34. package/dist/components/Card/CardBody.d.ts.map +1 -1
  35. package/dist/components/Card/index.d.ts +1 -1
  36. package/dist/components/Card/index.d.ts.map +1 -1
  37. package/dist/components/CardGrid/CardGrid.d.ts +6 -6
  38. package/dist/components/CardGrid/CardGrid.d.ts.map +1 -1
  39. package/dist/components/CardGrid/index.d.ts +1 -1
  40. package/dist/components/CardGrid/index.d.ts.map +1 -1
  41. package/dist/components/CheckBox/CheckBox.d.ts +4 -6
  42. package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
  43. package/dist/components/Chevron/Chevron.d.ts +4 -4
  44. package/dist/components/Chevron/Chevron.d.ts.map +1 -1
  45. package/dist/components/CodeSnippet/CodeSnippet.d.ts +3 -10
  46. package/dist/components/CodeSnippet/CodeSnippet.d.ts.map +1 -1
  47. package/dist/components/Contextualbar/Contextualbar.d.ts +2 -3
  48. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  49. package/dist/components/Contextualbar/ContextualbarAction.d.ts +5 -5
  50. package/dist/components/Contextualbar/ContextualbarAction.d.ts.map +1 -1
  51. package/dist/components/Contextualbar/ContextualbarActions.d.ts +3 -3
  52. package/dist/components/Contextualbar/ContextualbarActions.d.ts.map +1 -1
  53. package/dist/components/Contextualbar/ContextualbarButton.d.ts +3 -3
  54. package/dist/components/Contextualbar/ContextualbarButton.d.ts.map +1 -1
  55. package/dist/components/Contextualbar/ContextualbarContent.d.ts +2 -3
  56. package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
  57. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts +5 -7
  58. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts.map +1 -1
  59. package/dist/components/Contextualbar/ContextualbarFooter.d.ts +2 -3
  60. package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
  61. package/dist/components/Contextualbar/ContextualbarHeader.d.ts +2 -3
  62. package/dist/components/Contextualbar/ContextualbarHeader.d.ts.map +1 -1
  63. package/dist/components/Contextualbar/ContextualbarIcon.d.ts +3 -3
  64. package/dist/components/Contextualbar/ContextualbarIcon.d.ts.map +1 -1
  65. package/dist/components/Contextualbar/ContextualbarSection.d.ts +2 -3
  66. package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
  67. package/dist/components/Contextualbar/ContextualbarSkeleton.d.ts +3 -3
  68. package/dist/components/Contextualbar/ContextualbarSkeleton.d.ts.map +1 -1
  69. package/dist/components/Contextualbar/ContextualbarTitle.d.ts +3 -3
  70. package/dist/components/Contextualbar/ContextualbarTitle.d.ts.map +1 -1
  71. package/dist/components/ContextualbarV2/Contextualbar.d.ts +2 -3
  72. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
  73. package/dist/components/ContextualbarV2/ContextualbarAction.d.ts +5 -5
  74. package/dist/components/ContextualbarV2/ContextualbarAction.d.ts.map +1 -1
  75. package/dist/components/ContextualbarV2/ContextualbarActions.d.ts +3 -3
  76. package/dist/components/ContextualbarV2/ContextualbarActions.d.ts.map +1 -1
  77. package/dist/components/ContextualbarV2/ContextualbarButton.d.ts +3 -3
  78. package/dist/components/ContextualbarV2/ContextualbarButton.d.ts.map +1 -1
  79. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +2 -3
  80. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
  81. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +5 -7
  82. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +1 -1
  83. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +2 -3
  84. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
  85. package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts +2 -3
  86. package/dist/components/ContextualbarV2/ContextualbarHeader.d.ts.map +1 -1
  87. package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts +3 -3
  88. package/dist/components/ContextualbarV2/ContextualbarIcon.d.ts.map +1 -1
  89. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +2 -3
  90. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
  91. package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts +3 -3
  92. package/dist/components/ContextualbarV2/ContextualbarSkeleton.d.ts.map +1 -1
  93. package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts +3 -3
  94. package/dist/components/ContextualbarV2/ContextualbarTitle.d.ts.map +1 -1
  95. package/dist/components/Dropdown/Dropdown.d.ts +5 -4
  96. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  97. package/dist/components/Dropdown/DropdownDesktop.d.ts +5 -2
  98. package/dist/components/Dropdown/DropdownDesktop.d.ts.map +1 -1
  99. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts +5 -4
  100. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts.map +1 -1
  101. package/dist/components/Dropdown/DropdownMobile.d.ts +3 -2
  102. package/dist/components/Dropdown/DropdownMobile.d.ts.map +1 -1
  103. package/dist/components/EmailInput/EmailInput.d.ts +0 -3
  104. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
  105. package/dist/components/Field/Field.d.ts +2 -6
  106. package/dist/components/Field/Field.d.ts.map +1 -1
  107. package/dist/components/Field/FieldDescription.d.ts +2 -3
  108. package/dist/components/Field/FieldDescription.d.ts.map +1 -1
  109. package/dist/components/Field/FieldError.d.ts +2 -3
  110. package/dist/components/Field/FieldError.d.ts.map +1 -1
  111. package/dist/components/Field/FieldHint.d.ts +2 -3
  112. package/dist/components/Field/FieldHint.d.ts.map +1 -1
  113. package/dist/components/Field/FieldLabel.d.ts +4 -7
  114. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  115. package/dist/components/Field/FieldLabelInfo.d.ts +2 -3
  116. package/dist/components/Field/FieldLabelInfo.d.ts.map +1 -1
  117. package/dist/components/Field/FieldLink.d.ts +2 -3
  118. package/dist/components/Field/FieldLink.d.ts.map +1 -1
  119. package/dist/components/Field/FieldRow.d.ts +2 -3
  120. package/dist/components/Field/FieldRow.d.ts.map +1 -1
  121. package/dist/components/FieldGroup/FieldGroup.d.ts +2 -6
  122. package/dist/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  123. package/dist/components/Grid/Grid.d.ts +3 -12
  124. package/dist/components/Grid/Grid.d.ts.map +1 -1
  125. package/dist/components/Grid/GridItem.d.ts +4 -5
  126. package/dist/components/Grid/GridItem.d.ts.map +1 -1
  127. package/dist/components/Grid/index.d.ts +1 -1
  128. package/dist/components/Grid/index.d.ts.map +1 -1
  129. package/dist/components/Icon/Icon.d.ts +10 -7
  130. package/dist/components/Icon/Icon.d.ts.map +1 -1
  131. package/dist/components/Icon/index.d.ts +1 -1
  132. package/dist/components/Icon/index.d.ts.map +1 -1
  133. package/dist/components/InputBox/Input.d.ts.map +1 -1
  134. package/dist/components/InputBox/InputBox.d.ts +0 -6
  135. package/dist/components/InputBox/InputBox.d.ts.map +1 -1
  136. package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -1
  137. package/dist/components/Label/Label.d.ts +9 -8
  138. package/dist/components/Label/Label.d.ts.map +1 -1
  139. package/dist/components/Label/LabelInfo.d.ts +3 -5
  140. package/dist/components/Label/LabelInfo.d.ts.map +1 -1
  141. package/dist/components/Label/index.d.ts +1 -1
  142. package/dist/components/Label/index.d.ts.map +1 -1
  143. package/dist/components/Margins/Margins.d.ts +9 -12
  144. package/dist/components/Margins/Margins.d.ts.map +1 -1
  145. package/dist/components/Menu/Menu.d.ts +14 -10
  146. package/dist/components/Menu/Menu.d.ts.map +1 -1
  147. package/dist/components/Menu/V2/Menu.d.ts +7 -13
  148. package/dist/components/Menu/V2/Menu.d.ts.map +1 -1
  149. package/dist/components/Menu/V2/MenuOption.d.ts +6 -6
  150. package/dist/components/Menu/V2/MenuOption.d.ts.map +1 -1
  151. package/dist/components/Menu/V2/MenuPopover.d.ts.map +1 -1
  152. package/dist/components/Menu/V2/index.d.ts +2 -1
  153. package/dist/components/Menu/V2/index.d.ts.map +1 -1
  154. package/dist/components/Message/Message.d.ts +9 -0
  155. package/dist/components/Message/Message.d.ts.map +1 -1
  156. package/dist/components/Message/MessageBlock.d.ts +3 -6
  157. package/dist/components/Message/MessageBlock.d.ts.map +1 -1
  158. package/dist/components/Message/MessageEmoji.d.ts +2 -3
  159. package/dist/components/Message/MessageEmoji.d.ts.map +1 -1
  160. package/dist/components/Message/MessageEmojiBase.d.ts +1 -2
  161. package/dist/components/Message/MessageEmojiBase.d.ts.map +1 -1
  162. package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts +3 -3
  163. package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts.map +1 -1
  164. package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.d.ts +2 -3
  165. package/dist/components/Message/MessageMetrics/MessageMetricsItem/MessageMetricsItemIcon.d.ts.map +1 -1
  166. package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts +1 -7
  167. package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts.map +1 -1
  168. package/dist/components/Message/MessageMetrics/MessageMetricsReply.d.ts +2 -3
  169. package/dist/components/Message/MessageMetrics/MessageMetricsReply.d.ts.map +1 -1
  170. package/dist/components/Message/MessageMetrics/index.d.ts +3 -29
  171. package/dist/components/Message/MessageMetrics/index.d.ts.map +1 -1
  172. package/dist/components/Message/MessageName.d.ts +2 -1
  173. package/dist/components/Message/MessageName.d.ts.map +1 -1
  174. package/dist/components/Message/MessageReactions/MessageReaction.d.ts.map +1 -1
  175. package/dist/components/Message/MessageReactions/MessageReactionEmoji.d.ts +2 -3
  176. package/dist/components/Message/MessageReactions/MessageReactionEmoji.d.ts.map +1 -1
  177. package/dist/components/Message/MessageReactions/MessageReactions.d.ts.map +1 -1
  178. package/dist/components/Message/MessageReactions/index.d.ts +0 -6
  179. package/dist/components/Message/MessageReactions/index.d.ts.map +1 -1
  180. package/dist/components/Message/MessageRole.d.ts +2 -3
  181. package/dist/components/Message/MessageRole.d.ts.map +1 -1
  182. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
  183. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.d.ts +4 -5
  184. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicatorItem.d.ts.map +1 -1
  185. package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts +3 -3
  186. package/dist/components/Message/MessageStatusIndicator/MessageStatusPrivateIndicator.d.ts.map +1 -1
  187. package/dist/components/Message/MessageSystem/MessageSystemName.d.ts +2 -3
  188. package/dist/components/Message/MessageSystem/MessageSystemName.d.ts.map +1 -1
  189. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts +2 -2
  190. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts.map +1 -1
  191. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -6
  192. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
  193. package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts.map +1 -1
  194. package/dist/components/Message/MessageToolbar/index.d.ts +15 -37
  195. package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -1
  196. package/dist/components/Message/ThreadMessage/ThreadMessage.d.ts +2 -3
  197. package/dist/components/Message/ThreadMessage/ThreadMessage.d.ts.map +1 -1
  198. package/dist/components/Message/ThreadMessage/ThreadMessageEmoji.d.ts +2 -3
  199. package/dist/components/Message/ThreadMessage/ThreadMessageEmoji.d.ts.map +1 -1
  200. package/dist/components/Message/ThreadMessage/ThreadMessageIcon.d.ts +3 -3
  201. package/dist/components/Message/ThreadMessage/ThreadMessageIcon.d.ts.map +1 -1
  202. package/dist/components/Message/ThreadMessage/index.d.ts +1 -9
  203. package/dist/components/Message/ThreadMessage/index.d.ts.map +1 -1
  204. package/dist/components/Message/index.d.ts +22 -54
  205. package/dist/components/Message/index.d.ts.map +1 -1
  206. package/dist/components/Modal/Modal.d.ts +6 -8
  207. package/dist/components/Modal/Modal.d.ts.map +1 -1
  208. package/dist/components/Modal/ModalBackdrop.d.ts +2 -3
  209. package/dist/components/Modal/ModalBackdrop.d.ts.map +1 -1
  210. package/dist/components/Modal/ModalClose.d.ts +2 -3
  211. package/dist/components/Modal/ModalClose.d.ts.map +1 -1
  212. package/dist/components/Modal/ModalContent.d.ts +2 -3
  213. package/dist/components/Modal/ModalContent.d.ts.map +1 -1
  214. package/dist/components/Modal/ModalFooter.d.ts +2 -3
  215. package/dist/components/Modal/ModalFooter.d.ts.map +1 -1
  216. package/dist/components/Modal/ModalFooterAnnotation.d.ts +2 -3
  217. package/dist/components/Modal/ModalFooterAnnotation.d.ts.map +1 -1
  218. package/dist/components/Modal/ModalFooterControllers.d.ts +2 -3
  219. package/dist/components/Modal/ModalFooterControllers.d.ts.map +1 -1
  220. package/dist/components/Modal/ModalHeader.d.ts +2 -3
  221. package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
  222. package/dist/components/Modal/ModalHeaderText.d.ts +2 -3
  223. package/dist/components/Modal/ModalHeaderText.d.ts.map +1 -1
  224. package/dist/components/Modal/ModalHeroImage.d.ts +2 -3
  225. package/dist/components/Modal/ModalHeroImage.d.ts.map +1 -1
  226. package/dist/components/Modal/ModalIcon.d.ts +4 -5
  227. package/dist/components/Modal/ModalIcon.d.ts.map +1 -1
  228. package/dist/components/Modal/ModalTagline.d.ts +2 -3
  229. package/dist/components/Modal/ModalTagline.d.ts.map +1 -1
  230. package/dist/components/Modal/ModalThumb.d.ts +2 -3
  231. package/dist/components/Modal/ModalThumb.d.ts.map +1 -1
  232. package/dist/components/Modal/ModalTitle.d.ts +2 -3
  233. package/dist/components/Modal/ModalTitle.d.ts.map +1 -1
  234. package/dist/components/MultiSelect/MultiSelect.d.ts +20 -11
  235. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  236. package/dist/components/MultiSelect/MultiSelectAnchor.d.ts.map +1 -1
  237. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts +5 -5
  238. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts.map +1 -1
  239. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
  240. package/dist/components/NavBar/NavBarDivider.d.ts +2 -3
  241. package/dist/components/NavBar/NavBarDivider.d.ts.map +1 -1
  242. package/dist/components/NavBar/NavBarGroup.d.ts +2 -2
  243. package/dist/components/NavBar/NavBarGroup.d.ts.map +1 -1
  244. package/dist/components/NavBar/NavBarItem.d.ts +3 -19
  245. package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
  246. package/dist/components/NavBar/NavBarSection.d.ts.map +1 -1
  247. package/dist/components/NumberInput/NumberInput.d.ts +0 -3
  248. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
  249. package/dist/components/Option/Option.d.ts +3 -3
  250. package/dist/components/Option/Option.d.ts.map +1 -1
  251. package/dist/components/Options/OptionType.d.ts +3 -3
  252. package/dist/components/Options/OptionType.d.ts.map +1 -1
  253. package/dist/components/Options/Options.d.ts +17 -18
  254. package/dist/components/Options/Options.d.ts.map +1 -1
  255. package/dist/components/Options/OptionsEmpty.d.ts +1 -1
  256. package/dist/components/Options/OptionsEmpty.d.ts.map +1 -1
  257. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +41 -15
  258. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  259. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +34 -7
  260. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  261. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts +2 -3
  262. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
  263. package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts.map +1 -1
  264. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +2 -3
  265. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
  266. package/dist/components/Pagination/Pagination.d.ts +3 -3
  267. package/dist/components/Pagination/Pagination.d.ts.map +1 -1
  268. package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts +0 -19
  269. package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts.map +1 -1
  270. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  271. package/dist/components/Position/Position.d.ts +4 -4
  272. package/dist/components/Position/Position.d.ts.map +1 -1
  273. package/dist/components/Position/index.d.ts +1 -1
  274. package/dist/components/Position/index.d.ts.map +1 -1
  275. package/dist/components/PositionAnimated/PositionAnimated.d.ts +2 -3
  276. package/dist/components/PositionAnimated/PositionAnimated.d.ts.map +1 -1
  277. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
  278. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  279. package/dist/components/RadioButton/RadioButton.d.ts +4 -6
  280. package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
  281. package/dist/components/Scrollable/Scrollable.d.ts +0 -3
  282. package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
  283. package/dist/components/SearchInput/SearchInput.d.ts +0 -3
  284. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  285. package/dist/components/Select/Select.d.ts +0 -3
  286. package/dist/components/Select/Select.d.ts.map +1 -1
  287. package/dist/components/Select/SelectAddon.d.ts +2 -3
  288. package/dist/components/Select/SelectAddon.d.ts.map +1 -1
  289. package/dist/components/Select/SelectAria.d.ts +7 -0
  290. package/dist/components/Select/SelectAria.d.ts.map +1 -1
  291. package/dist/components/Select/SelectFiltered.d.ts +23 -6
  292. package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
  293. package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
  294. package/dist/components/Select/SelectFocus.d.ts +2 -3
  295. package/dist/components/Select/SelectFocus.d.ts.map +1 -1
  296. package/dist/components/Select/SelectLegacy.d.ts +19 -6
  297. package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
  298. package/dist/components/SelectInput/SelectInput.d.ts +0 -3
  299. package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
  300. package/dist/components/SelectInput/SelectInputOption.d.ts +1 -1
  301. package/dist/components/SelectInput/SelectInputOption.d.ts.map +1 -1
  302. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +1 -1
  303. package/dist/components/Sidebar/Item.d.ts +11 -14
  304. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  305. package/dist/components/Sidebar/SidebarActions.d.ts +9 -8
  306. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  307. package/dist/components/Sidebar/TopBar/TopBar.d.ts +0 -3
  308. package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
  309. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +3 -6
  310. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  311. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts +2 -2
  312. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts.map +1 -1
  313. package/dist/components/Sidebar/TopBar/index.d.ts +5 -15
  314. package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
  315. package/dist/components/Sidebar/index.d.ts +13 -33
  316. package/dist/components/Sidebar/index.d.ts.map +1 -1
  317. package/dist/components/SidebarV2/SidebarAction.d.ts +3 -6
  318. package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
  319. package/dist/components/SidebarV2/SidebarActions.d.ts +2 -2
  320. package/dist/components/SidebarV2/SidebarActions.d.ts.map +1 -1
  321. package/dist/components/SidebarV2/SidebarButtonGroup.d.ts +2 -3
  322. package/dist/components/SidebarV2/SidebarButtonGroup.d.ts.map +1 -1
  323. package/dist/components/SidebarV2/SidebarFooter/SidebarFooterContent.d.ts +2 -3
  324. package/dist/components/SidebarV2/SidebarFooter/SidebarFooterContent.d.ts.map +1 -1
  325. package/dist/components/SidebarV2/SidebarGroupTitle.d.ts +3 -4
  326. package/dist/components/SidebarV2/SidebarGroupTitle.d.ts.map +1 -1
  327. package/dist/components/SidebarV2/SidebarItem/SidebarItem.d.ts +5 -4
  328. package/dist/components/SidebarV2/SidebarItem/SidebarItem.d.ts.map +1 -1
  329. package/dist/components/SidebarV2/SidebarItem/SidebarItemBadge.d.ts +2 -3
  330. package/dist/components/SidebarV2/SidebarItem/SidebarItemBadge.d.ts.map +1 -1
  331. package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts +3 -3
  332. package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts.map +1 -1
  333. package/dist/components/SidebarV2/SidebarItem/SidebarItemStatusBullet.d.ts +2 -3
  334. package/dist/components/SidebarV2/SidebarItem/SidebarItemStatusBullet.d.ts.map +1 -1
  335. package/dist/components/SidebarV2/helpers.d.ts +2 -3
  336. package/dist/components/SidebarV2/helpers.d.ts.map +1 -1
  337. package/dist/components/Slider/Slider.d.ts +0 -13
  338. package/dist/components/Slider/Slider.d.ts.map +1 -1
  339. package/dist/components/States/StatesAction.d.ts +2 -3
  340. package/dist/components/States/StatesAction.d.ts.map +1 -1
  341. package/dist/components/States/StatesActions.d.ts +2 -3
  342. package/dist/components/States/StatesActions.d.ts.map +1 -1
  343. package/dist/components/States/StatesIcon.d.ts +3 -4
  344. package/dist/components/States/StatesIcon.d.ts.map +1 -1
  345. package/dist/components/States/StatesLink.d.ts +3 -3
  346. package/dist/components/States/StatesLink.d.ts.map +1 -1
  347. package/dist/components/States/index.d.ts +2 -2
  348. package/dist/components/States/index.d.ts.map +1 -1
  349. package/dist/components/StatusBullet/StatusBullet.d.ts +0 -3
  350. package/dist/components/StatusBullet/StatusBullet.d.ts.map +1 -1
  351. package/dist/components/Table/Table.d.ts +2 -3
  352. package/dist/components/Table/Table.d.ts.map +1 -1
  353. package/dist/components/Table/TableRow.d.ts +2 -3
  354. package/dist/components/Table/TableRow.d.ts.map +1 -1
  355. package/dist/components/Table/TableSelection/TableSelection.d.ts +2 -3
  356. package/dist/components/Table/TableSelection/TableSelection.d.ts.map +1 -1
  357. package/dist/components/Table/TableSelection/TableSelectionButton.d.ts +2 -3
  358. package/dist/components/Table/TableSelection/TableSelectionButton.d.ts.map +1 -1
  359. package/dist/components/Table/TableSelection/TableSelectionButtonGroup.d.ts +2 -3
  360. package/dist/components/Table/TableSelection/TableSelectionButtonGroup.d.ts.map +1 -1
  361. package/dist/components/Tabs/Tabs.d.ts +4 -10
  362. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  363. package/dist/components/Tabs/TabsItem.d.ts +3 -6
  364. package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
  365. package/dist/components/Tag/Tag.d.ts +4 -8
  366. package/dist/components/Tag/Tag.d.ts.map +1 -1
  367. package/dist/components/TelephoneInput/TelephoneInput.d.ts +0 -3
  368. package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
  369. package/dist/components/TextAreaInput/TextAreaInput.d.ts +0 -3
  370. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
  371. package/dist/components/TextInput/TextInput.d.ts +0 -3
  372. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  373. package/dist/components/Throbber/Throbber.d.ts +3 -9
  374. package/dist/components/Throbber/Throbber.d.ts.map +1 -1
  375. package/dist/components/Tile/Tile.d.ts +3 -3
  376. package/dist/components/Tile/Tile.d.ts.map +1 -1
  377. package/dist/components/ToastBar/ToastBar.d.ts +0 -3
  378. package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
  379. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +4 -6
  380. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  381. package/dist/components/Tooltip/Tooltip.d.ts +5 -7
  382. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  383. package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
  384. package/dist/fuselage.css +4 -4
  385. package/dist/fuselage.css.map +1 -1
  386. package/dist/fuselage.development.js +5590 -7482
  387. package/dist/fuselage.development.js.map +1 -1
  388. package/dist/fuselage.production.js +156 -156
  389. package/dist/helpers/composeClassNames.d.ts +0 -32
  390. package/dist/helpers/composeClassNames.d.ts.map +1 -1
  391. package/dist/helpers/exhaustiveCheck.d.ts +0 -27
  392. package/dist/helpers/exhaustiveCheck.d.ts.map +1 -1
  393. package/dist/helpers/toCSSValue.d.ts.map +1 -1
  394. package/dist/styleTokens.d.ts +0 -1
  395. package/dist/styleTokens.d.ts.map +1 -1
  396. package/package.json +20 -23
@@ -1,12 +1,12 @@
1
- import type { ComponentProps, ElementType } from 'react';
2
- import Box from '../Box';
3
- import { Icon } from '../Icon';
1
+ import type { ElementType } from 'react';
2
+ import type { BoxProps } from '../Box';
3
+ import type { IconProps } from '../Icon';
4
4
  export type SelectOption = readonly [
5
5
  value: string,
6
6
  label: string,
7
7
  selected?: boolean
8
8
  ];
9
- export type SelectProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {
9
+ export type SelectProps = Omit<BoxProps, 'onChange'> & {
10
10
  anchor?: ElementType;
11
11
  error?: string;
12
12
  options: SelectOption[];
@@ -18,7 +18,20 @@ export type SelectProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {
18
18
  renderItem?: ElementType;
19
19
  renderSelected?: ElementType;
20
20
  customEmpty?: string;
21
- addonIcon?: ComponentProps<typeof Icon>['name'];
21
+ addonIcon?: IconProps['name'];
22
22
  };
23
- export declare const SelectLegacy: import("react").ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ export declare const SelectLegacy: import("react").ForwardRefExoticComponent<Omit<BoxProps, "onChange"> & {
24
+ anchor?: ElementType;
25
+ error?: string;
26
+ options: SelectOption[];
27
+ onChange: (value: SelectOption[0]) => void;
28
+ getLabel?: (params: SelectOption) => SelectOption[1];
29
+ getValue?: (params: SelectOption) => SelectOption[0];
30
+ filter?: string;
31
+ renderOptions?: ElementType;
32
+ renderItem?: ElementType;
33
+ renderSelected?: ElementType;
34
+ customEmpty?: string;
35
+ addonIcon?: IconProps["name"];
36
+ } & import("react").RefAttributes<HTMLInputElement>>;
24
37
  //# sourceMappingURL=SelectLegacy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectLegacy.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectLegacy.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EAEZ,MAAM,OAAO,CAAC;AAKf,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAU/B,MAAM,MAAM,YAAY,GAAG,SAAS;IAClC,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;CACnB,CAAC;AAoBF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,cAAc,C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;cACb,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI;eAC/B,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;eACzC,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;aAC3C,MAAM;oBACC,WAAW;iBACd,WAAW;qBACP,WAAW;kBACd,MAAM;gBACR,SAAS,CAAC,MAAM,CAAC;oDAmL9B,CAAC"}
@@ -7,9 +7,6 @@ export type SelectInputProps = Omit<InputBoxProps, 'type'> & {
7
7
  htmlSize?: number;
8
8
  addon?: ReactNode;
9
9
  };
10
- /**
11
- * An input for selection of options.
12
- */
13
10
  declare const SelectInput: import("react").ForwardRefExoticComponent<Omit<InputBoxProps, "type"> & {
14
11
  error?: string;
15
12
  options?: SelectInputOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAO,MAAM,OAAO,CAAC;AAIvD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,KAAK,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,QAAA,MAAM,WAAW;YATP,MAAM;cACJ,kBAAkB;eACjB,MAAM;YACT,SAAS;+CAgDjB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,KAAK,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAEjE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAKF,QAAA,MAAM,WAAW;YATP,MAAM;cACJ,kBAAkB;eACjB,MAAM;YACT,SAAS;+CAoDlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type BoxProps } from '../Box';
2
2
  export type SelectInputOptionProps = BoxProps;
3
- declare const SelectInputOption: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLInputElement>>;
3
+ declare const SelectInputOption: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLOptionElement>>;
4
4
  export default SelectInputOption;
5
5
  //# sourceMappingURL=SelectInputOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOption.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInputOption.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAE9C,QAAA,MAAM,iBAAiB,uGAKrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"SelectInputOption.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInputOption.tsx"],"names":[],"mappings":"AAEA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAE9C,QAAA,MAAM,iBAAiB,wGAItB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInputPlaceholder.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAEnD,QAAA,MAAM,sBAAsB,wGAK1B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"SelectInputPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInputPlaceholder.tsx"],"names":[],"mappings":"AAEA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;AAEnD,QAAA,MAAM,sBAAsB,wGAK1B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
@@ -1,18 +1,15 @@
1
- import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react';
2
- import type Box from '../Box';
3
- import { Icon as FuselageIcon } from '../Icon';
4
- import { SidebarAction } from './SidebarActions';
1
+ import type { AllHTMLAttributes, ReactNode } from 'react';
2
+ import type { BoxProps } from '../Box';
3
+ import type { IconProps } from '../Icon';
4
+ import type { SidebarActionProps } from './SidebarActions';
5
5
  type SidebarItemProps = {
6
6
  selected?: boolean;
7
7
  highlighted?: boolean;
8
8
  clickable?: boolean;
9
9
  featured?: boolean;
10
- is?: ComponentProps<typeof Box>['is'];
10
+ is?: BoxProps['is'];
11
11
  children?: ReactNode;
12
12
  } & AllHTMLAttributes<HTMLElement>;
13
- /**
14
- * Item component to be used inside Sidebar.
15
- */
16
13
  export declare const SidebarItem: ({ selected, highlighted, clickable, featured, is: Tag, children, ...props }: SidebarItemProps) => import("react/jsx-runtime").JSX.Element;
17
14
  type SidebarItemContainerProps = {
18
15
  children?: ReactNode;
@@ -56,22 +53,22 @@ type SidebarItemIconProps = {
56
53
  children?: ReactNode;
57
54
  className?: string;
58
55
  highlighted?: boolean;
59
- icon: ComponentProps<typeof FuselageIcon>['name'];
56
+ icon: IconProps['name'];
60
57
  } & Omit<AllHTMLAttributes<HTMLElement>, 'name' | 'is'>;
61
58
  export declare const SidebarItemIcon: ({ highlighted, children, icon, className: _className, ...props }: SidebarItemIconProps) => import("react/jsx-runtime").JSX.Element;
62
59
  type SidebarItemAvatarProps = {
63
60
  children?: ReactNode;
64
61
  } & AllHTMLAttributes<HTMLElement>;
65
62
  export declare const SidebarItemAvatar: ({ ...props }: SidebarItemAvatarProps) => import("react/jsx-runtime").JSX.Element;
66
- export declare const SidebarItemActions: import("react").ForwardRefExoticComponent<Omit<{
63
+ export declare const SidebarItemActions: import("react").ForwardRefExoticComponent<{
67
64
  align?: "start" | "center" | "end";
68
65
  stretch?: boolean;
69
66
  wrap?: boolean;
70
67
  vertical?: boolean;
71
68
  small?: boolean;
72
69
  large?: boolean;
73
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
74
- type SidebarItemActionProps = ComponentProps<typeof SidebarAction>;
70
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
71
+ type SidebarItemActionProps = SidebarActionProps;
75
72
  export declare const SidebarItemAction: (props: SidebarItemActionProps) => import("react/jsx-runtime").JSX.Element;
76
73
  declare const _default: (({ selected, highlighted, clickable, featured, is: Tag, children, ...props }: SidebarItemProps) => import("react/jsx-runtime").JSX.Element) & {
77
74
  Menu: (props: SidebarItemMenuProps) => import("react/jsx-runtime").JSX.Element;
@@ -83,14 +80,14 @@ declare const _default: (({ selected, highlighted, clickable, featured, is: Tag,
83
80
  Wrapper: ({ className, ...props }: SidebarItemWrapperProps) => import("react/jsx-runtime").JSX.Element;
84
81
  Icon: ({ highlighted, children, icon, className: _className, ...props }: SidebarItemIconProps) => import("react/jsx-runtime").JSX.Element;
85
82
  Avatar: ({ ...props }: SidebarItemAvatarProps) => import("react/jsx-runtime").JSX.Element;
86
- Actions: import("react").ForwardRefExoticComponent<Omit<{
83
+ Actions: import("react").ForwardRefExoticComponent<{
87
84
  align?: "start" | "center" | "end";
88
85
  stretch?: boolean;
89
86
  wrap?: boolean;
90
87
  vertical?: boolean;
91
88
  small?: boolean;
92
89
  large?: boolean;
93
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
90
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
94
91
  Action: (props: SidebarItemActionProps) => import("react/jsx-runtime").JSX.Element;
95
92
  Badge: ({ className, ...props }: SidebarItemBadgeProps) => import("react/jsx-runtime").JSX.Element;
96
93
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AAEjE,KAAK,gBAAgB,GAAG;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,cAAc,CAAC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CAAC;CACpB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,kBAAkB,GAAI,yBAGhC,uBAAuB,4CAKzB,CAAC;AAEF,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC,CAAC;AAExD,eAAO,MAAM,eAAe,GAAI,kEAM7B,oBAAoB,4CAYtB,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,iBAAiB,GAAI,cAAc,sBAAsB,4CAIrE,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;mGAAiB,CAAC;AAEjD,KAAK,sBAAsB,GAAG,kBAAkB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,GAAI,OAAO,sBAAsB,4CAE9D,CAAC;uGA/KC,gBAAgB;kBAmCoB,oBAAoB;uBAXf,yBAAyB;uCA0BlE,uBAAuB;qCAevB,qBAAqB;wCA6CrB,wBAAwB;oCA9BxB,oBAAoB;uCA6CpB,uBAAuB;6EAoBvB,oBAAoB;2BAkByB,sBAAsB;;;;;;;;;oBAU7B,sBAAsB;qCA9E5D,qBAAqB;;AAkFxB,wBAaG"}
@@ -1,14 +1,17 @@
1
- import type { ComponentProps } from 'react';
2
- export declare const SidebarActions: import("react").ForwardRefExoticComponent<Omit<{
1
+ import type { IconButtonProps } from '../Button/IconButton';
2
+ import type { ButtonGroupProps } from '../ButtonGroup';
3
+ export type SidebarActionsProps = ButtonGroupProps;
4
+ export declare const SidebarActions: import("react").ForwardRefExoticComponent<{
3
5
  align?: "start" | "center" | "end";
4
6
  stretch?: boolean;
5
7
  wrap?: boolean;
6
8
  vertical?: boolean;
7
9
  small?: boolean;
8
10
  large?: boolean;
9
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
- export declare const SidebarAction: import("react").ForwardRefExoticComponent<Omit<Omit<{
11
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
11
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
12
+ export type SidebarActionProps = IconButtonProps;
13
+ export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
14
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
12
15
  primary?: boolean;
13
16
  secondary?: boolean;
14
17
  info?: boolean;
@@ -22,7 +25,5 @@ export declare const SidebarAction: import("react").ForwardRefExoticComponent<Om
22
25
  small?: boolean;
23
26
  tiny?: boolean;
24
27
  mini?: boolean;
25
- } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
26
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
27
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
28
+ } & import("../Box").BoxProps & import("react").RefAttributes<HTMLElement>>;
28
29
  //# sourceMappingURL=SidebarActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAQjD,eAAO,MAAM,cAAc;;;;;;;2JAKzB,CAAC;AAIH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
1
+ {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,eAAO,MAAM,cAAc;;;;;;;mGAI1B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAEjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;2EAIzB,CAAC"}
@@ -3,9 +3,6 @@ type TopBarProps = {
3
3
  children?: ReactNode;
4
4
  className?: string;
5
5
  };
6
- /**
7
- * Sidebar TopBar and ToolBox.
8
- */
9
6
  export declare const TopBar: ({ className, ...props }: TopBarProps) => import("react/jsx-runtime").JSX.Element;
10
7
  export {};
11
8
  //# sourceMappingURL=TopBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,yBAAyB,WAAW,4CAO1D,CAAC"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF,eAAO,MAAM,MAAM,GAAI,yBAAyB,WAAW,4CAO1D,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- export declare const TopBarAction: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
3
- icon: ComponentProps<typeof import("../..").Icon>["name"] | import("react").ReactElement;
1
+ export declare const TopBarAction: import("react").ForwardRefExoticComponent<{
2
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
4
3
  primary?: boolean;
5
4
  secondary?: boolean;
6
5
  info?: boolean;
@@ -14,7 +13,5 @@ export declare const TopBarAction: import("react").ForwardRefExoticComponent<Omi
14
13
  small?: boolean;
15
14
  tiny?: boolean;
16
15
  mini?: boolean;
17
- } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
18
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
19
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
16
+ } & import("../../Box").BoxProps & import("react").RefAttributes<HTMLElement>>;
20
17
  //# sourceMappingURL=TopBarAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;iKAKvB,CAAC"}
1
+ {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;8EAIxB,CAAC"}
@@ -1,9 +1,9 @@
1
- export declare const TopBarActions: import("react").ForwardRefExoticComponent<Omit<Omit<{
1
+ export declare const TopBarActions: import("react").ForwardRefExoticComponent<{
2
2
  align?: "start" | "center" | "end";
3
3
  stretch?: boolean;
4
4
  wrap?: boolean;
5
5
  vertical?: boolean;
6
6
  small?: boolean;
7
7
  large?: boolean;
8
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
9
9
  //# sourceMappingURL=TopBarActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBarActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarActions.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;mNAKxB,CAAC"}
1
+ {"version":3,"file":"TopBarActions.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarActions.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;mGAIzB,CAAC"}
@@ -5,36 +5,30 @@ declare const _default: (({ className, ...props }: {
5
5
  children?: import("react").ReactNode;
6
6
  className?: string;
7
7
  }) => import("react/jsx-runtime").JSX.Element) & {
8
- /** @deprecated use named import instead */
9
8
  Section: ({ className, children, ...props }: {
10
9
  children?: import("react").ReactNode;
11
10
  className?: string;
12
11
  }) => import("react/jsx-runtime").JSX.Element;
13
- /** @deprecated use named import instead */
14
12
  ToolBox: ({ children, className, ...props }: {
15
13
  children?: import("react").ReactNode;
16
14
  className?: string;
17
15
  }) => import("react/jsx-runtime").JSX.Element;
18
- /** @deprecated use named import instead */
19
16
  Wrapper: ({ children }: {
20
17
  children?: import("react").ReactNode;
21
18
  }) => import("react/jsx-runtime").JSX.Element;
22
- /** @deprecated use named import instead */
23
19
  Avatar: {
24
20
  size: "x24";
25
21
  };
26
- /** @deprecated use named import instead */
27
- Actions: import("react").ForwardRefExoticComponent<Omit<Omit<{
22
+ Actions: import("react").ForwardRefExoticComponent<{
28
23
  align?: "start" | "center" | "end";
29
24
  stretch?: boolean;
30
25
  wrap?: boolean;
31
26
  vertical?: boolean;
32
27
  small?: boolean;
33
28
  large?: boolean;
34
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
35
- /** @deprecated use named import instead */
36
- Action: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
37
- icon: import("react").ComponentProps<typeof import("../..").Icon>["name"] | import("react").ReactElement;
29
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
30
+ Action: import("react").ForwardRefExoticComponent<{
31
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
38
32
  primary?: boolean;
39
33
  secondary?: boolean;
40
34
  info?: boolean;
@@ -48,12 +42,8 @@ declare const _default: (({ className, ...props }: {
48
42
  small?: boolean;
49
43
  tiny?: boolean;
50
44
  mini?: boolean;
51
- } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
52
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
53
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
54
- /** @deprecated use named import instead */
45
+ } & import("../../Box").BoxProps & import("react").RefAttributes<HTMLElement>>;
55
46
  Divider: () => import("react/jsx-runtime").JSX.Element;
56
- /** @deprecated use named import instead */
57
47
  Title: (props: {
58
48
  children?: import("react").ReactNode;
59
49
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC;;;;;IAGjC,2CAA2C;;;;;IAE3C,2CAA2C;;;;;IAE3C,2CAA2C;;;;IAE3C,2CAA2C;;cAXvB,KAAK;;IAazB,2CAA2C;;;;;;;;;IAE3C,2CAA2C;;;;;;;;;;;;;;;;;;;IAE3C,2CAA2C;;IAE3C,2CAA2C;;;;;AAf7C,wBAiBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC;;;;;;;;;;;;;;;;;cAFb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAI3B,wBAiBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -1,7 +1,6 @@
1
- import type { ComponentProps } from 'react';
2
- import Box from '../Box';
1
+ import type { BoxProps } from '../Box';
3
2
  import { SidebarDivider } from './SidebarDivider';
4
- type SidebarProps = ComponentProps<typeof Box>;
3
+ type SidebarProps = BoxProps;
5
4
  export declare const Sidebar: (props: SidebarProps) => import("react/jsx-runtime").JSX.Element;
6
5
  declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JSX.Element) & {
7
6
  TopBar: (({ className, ...props }: {
@@ -22,16 +21,16 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
22
21
  Avatar: {
23
22
  size: "x24";
24
23
  };
25
- Actions: import("react").ForwardRefExoticComponent<Omit<Omit<{
24
+ Actions: import("react").ForwardRefExoticComponent<{
26
25
  align?: "start" | "center" | "end";
27
26
  stretch?: boolean;
28
27
  wrap?: boolean;
29
28
  vertical?: boolean;
30
29
  small?: boolean;
31
30
  large?: boolean;
32
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
33
- Action: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
34
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
31
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
32
+ Action: import("react").ForwardRefExoticComponent<{
33
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
35
34
  primary?: boolean;
36
35
  secondary?: boolean;
37
36
  info?: boolean;
@@ -45,9 +44,7 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
45
44
  small?: boolean;
46
45
  tiny?: boolean;
47
46
  mini?: boolean;
48
- } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
49
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
50
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
47
+ } & BoxProps & import("react").RefAttributes<HTMLElement>>;
51
48
  Divider: () => import("react/jsx-runtime").JSX.Element;
52
49
  Title: (props: {
53
50
  children?: import("react").ReactNode;
@@ -58,7 +55,7 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
58
55
  highlighted?: boolean;
59
56
  clickable?: boolean;
60
57
  featured?: boolean;
61
- is?: ComponentProps<typeof Box>["is"];
58
+ is?: BoxProps["is"];
62
59
  children?: import("react").ReactNode;
63
60
  } & import("react").AllHTMLAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element) & {
64
61
  Menu: (props: {
@@ -91,37 +88,20 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
91
88
  children?: import("react").ReactNode;
92
89
  className?: string;
93
90
  highlighted?: boolean;
94
- icon: ComponentProps<typeof import("..").Icon>["name"];
91
+ icon: import("..").IconProps["name"];
95
92
  } & Omit<import("react").AllHTMLAttributes<HTMLElement>, "name" | "is">) => import("react/jsx-runtime").JSX.Element;
96
93
  Avatar: ({ ...props }: {
97
94
  children?: import("react").ReactNode;
98
95
  } & import("react").AllHTMLAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
99
- Actions: import("react").ForwardRefExoticComponent<Omit<{
96
+ Actions: import("react").ForwardRefExoticComponent<{
100
97
  align?: "start" | "center" | "end";
101
98
  stretch?: boolean;
102
99
  wrap?: boolean;
103
100
  vertical?: boolean;
104
101
  small?: boolean;
105
102
  large?: boolean;
106
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
107
- Action: (props: Omit<Omit<{
108
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
109
- primary?: boolean;
110
- secondary?: boolean;
111
- info?: boolean;
112
- danger?: boolean;
113
- warning?: boolean;
114
- success?: boolean;
115
- pressed?: boolean;
116
- } & {
117
- large?: boolean;
118
- medium?: boolean;
119
- small?: boolean;
120
- tiny?: boolean;
121
- mini?: boolean;
122
- } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
123
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
124
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
103
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
104
+ Action: (props: import("../Button").IconButtonProps) => import("react/jsx-runtime").JSX.Element;
125
105
  Badge: ({ className, ...props }: {
126
106
  children?: import("react").ReactNode;
127
107
  className?: string;
@@ -139,7 +119,7 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
139
119
  text?: import("react").ReactNode;
140
120
  description?: import("react").ReactNode;
141
121
  onClick?: () => void;
142
- variant?: "default" | "danger" | "warning" | "success" | "info";
122
+ variant?: "default" | "info" | "danger" | "warning" | "success";
143
123
  onClose?: () => void;
144
124
  children?: import("react").ReactNode;
145
125
  addon?: import("react").ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,GAAI,OAAO,YAAY,4CAAmC,CAAC;iCAAhD,YAAY;;;;;;;;;;;;;;;;;;;;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AAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- export declare const SidebarAction: import("react").ForwardRefExoticComponent<Omit<Omit<{
3
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
1
+ export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
2
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
4
3
  primary?: boolean;
5
4
  secondary?: boolean;
6
5
  info?: boolean;
@@ -14,7 +13,5 @@ export declare const SidebarAction: import("react").ForwardRefExoticComponent<Om
14
13
  small?: boolean;
15
14
  tiny?: boolean;
16
15
  mini?: boolean;
17
- } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
18
- ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
19
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
16
+ } & import("../Box").BoxProps & import("react").RefAttributes<HTMLElement>>;
20
17
  //# sourceMappingURL=SidebarAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
1
+ {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;2EAIzB,CAAC"}
@@ -1,9 +1,9 @@
1
- export declare const SidebarActions: import("react").ForwardRefExoticComponent<Omit<{
1
+ export declare const SidebarActions: import("react").ForwardRefExoticComponent<{
2
2
  align?: "start" | "center" | "end";
3
3
  stretch?: boolean;
4
4
  wrap?: boolean;
5
5
  vertical?: boolean;
6
6
  small?: boolean;
7
7
  large?: boolean;
8
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
9
9
  //# sourceMappingURL=SidebarActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarActions.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;;;;;2JAKzB,CAAC"}
1
+ {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarActions.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,cAAc;;;;;;;mGAI1B,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ComponentProps } from 'react';
2
- import { ButtonGroup } from '../ButtonGroup';
3
- export declare const SidebarButtonGroup: ({ align, small, ...props }: ComponentProps<typeof ButtonGroup>) => import("react/jsx-runtime").JSX.Element;
1
+ import type { ButtonGroupProps } from '../ButtonGroup';
2
+ export declare const SidebarButtonGroup: ({ align, small, ...props }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=SidebarButtonGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,eAAO,MAAM,kBAAkB,GAAI,4BAIhC,cAAc,CAAC,OAAO,WAAW,CAAC,4CAEpC,CAAC"}
1
+ {"version":3,"file":"SidebarButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,kBAAkB,GAAI,4BAIhC,gBAAgB,4CAA2D,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ComponentProps } from 'react';
2
- import Box from '../../Box';
3
- export declare const SidebarFooterContent: ({ children, ...props }: ComponentProps<typeof Box>) => import("react/jsx-runtime").JSX.Element;
1
+ import type { BoxProps } from '../../Box';
2
+ export declare const SidebarFooterContent: ({ children, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=SidebarFooterContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarFooterContent.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarFooter/SidebarFooterContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,WAAW,CAAC;AAE5B,eAAO,MAAM,oBAAoB,GAAI,wBAGlC,cAAc,CAAC,OAAO,GAAG,CAAC,4CAI5B,CAAC"}
1
+ {"version":3,"file":"SidebarFooterContent.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarFooter/SidebarFooterContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,eAAO,MAAM,oBAAoB,GAAI,wBAAwB,QAAQ,4CAIpE,CAAC"}
@@ -1,11 +1,10 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
1
+ import type { AriaAttributes, HTMLAttributes, ReactNode } from 'react';
3
2
  type SidebarGroupTitleProps = {
4
3
  expanded?: boolean;
5
4
  title?: string;
6
5
  titleId?: string;
7
- badge?: React.ReactNode;
8
- barProps?: React.AriaAttributes;
6
+ badge?: ReactNode;
7
+ barProps?: AriaAttributes;
9
8
  } & HTMLAttributes<HTMLDivElement>;
10
9
  export declare const SidebarGroupTitle: ({ title, titleId, badge, barProps, expanded, ...props }: SidebarGroupTitleProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC;CACjC,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACnC,eAAO,MAAM,iBAAiB,GAAI,yDAO/B,sBAAsB,4CAsBxB,CAAC"}
1
+ {"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACnC,eAAO,MAAM,iBAAiB,GAAI,yDAO/B,sBAAsB,4CAsBxB,CAAC"}
@@ -1,7 +1,8 @@
1
- import type { AllHTMLAttributes } from 'react';
2
- export declare const SidebarItem: ({ selected, level, className, children, is: Tag, ...props }: {
1
+ import type { AllHTMLAttributes, ElementType } from 'react';
2
+ export type SidebarV2ItemProps = {
3
3
  selected?: boolean;
4
4
  level?: number;
5
- is?: React.ElementType;
6
- } & AllHTMLAttributes<HTMLAnchorElement>) => import("react/jsx-runtime").JSX.Element;
5
+ is?: ElementType;
6
+ } & AllHTMLAttributes<HTMLAnchorElement>;
7
+ export declare const SidebarItem: ({ selected, level, className, children, is: Tag, ...props }: SidebarV2ItemProps) => import("react/jsx-runtime").JSX.Element;
7
8
  //# sourceMappingURL=SidebarItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,6DAOzB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACxB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,4CAcvC,CAAC"}
1
+ {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,WAAW,GAAI,6DAOzB,kBAAkB,4CAcpB,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { ComponentProps } from 'react';
2
- import { Badge } from '../../Badge';
3
- export declare const SidebarItemBadge: ({ className, ...props }: ComponentProps<typeof Badge>) => import("react/jsx-runtime").JSX.Element;
1
+ import type { BadgeProps } from '../../Badge';
2
+ export declare const SidebarItemBadge: ({ className, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=SidebarItemBadge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItemBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,eAAO,MAAM,gBAAgB,GAAI,yBAG9B,cAAc,CAAC,OAAO,KAAK,CAAC,4CAO9B,CAAC"}
1
+ {"version":3,"file":"SidebarItemBadge.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAG9C,eAAO,MAAM,gBAAgB,GAAI,yBAAyB,UAAU,4CAOnE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { Keys as IconKeys } from '@rocket.chat/icons';
2
- import { type ComponentProps, type ReactElement } from 'react';
3
- import { Icon } from '../../Icon';
4
- type SidebarItemIconProps = Omit<ComponentProps<typeof Icon>, 'name'> & {
2
+ import { type ReactElement } from 'react';
3
+ import type { IconProps } from '../../Icon';
4
+ type SidebarItemIconProps = Omit<IconProps, 'name'> & {
5
5
  icon: IconKeys | ReactElement;
6
6
  highlighted?: boolean;
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,EAAE,MAAM,CAAC,GAAG;IACtE,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4CAK7B,oBAAoB,4CAgBtB,CAAC"}
1
+ {"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAG5C,KAAK,oBAAoB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IACpD,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4CAK7B,oBAAoB,4CAgBtB,CAAC"}