@rocket.chat/fuselage 0.80.0 → 0.82.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 (261) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +3 -0
  2. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  3. package/dist/components/AudioPlayer/AudioPlayer.d.ts +6 -3
  4. package/dist/components/AudioPlayer/AudioPlayer.d.ts.map +1 -1
  5. package/dist/components/AudioPlayer/AudioPlayerControls.d.ts +28 -0
  6. package/dist/components/AudioPlayer/AudioPlayerControls.d.ts.map +1 -0
  7. package/dist/components/AudioPlayer/index.d.ts +1 -0
  8. package/dist/components/AudioPlayer/index.d.ts.map +1 -1
  9. package/dist/components/AutoComplete/AutoComplete.d.ts +6 -4
  10. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  11. package/dist/components/Badge/Badge.d.ts +3 -0
  12. package/dist/components/Badge/Badge.d.ts.map +1 -1
  13. package/dist/components/Box/Box.d.ts +6 -3
  14. package/dist/components/Box/Box.d.ts.map +1 -1
  15. package/dist/components/Box/StylingBox.d.ts +6 -0
  16. package/dist/components/Box/StylingBox.d.ts.map +1 -1
  17. package/dist/components/Button/Button.d.ts +7 -20
  18. package/dist/components/Button/Button.d.ts.map +1 -1
  19. package/dist/components/Button/IconButton.d.ts +1 -10
  20. package/dist/components/Button/IconButton.d.ts.map +1 -1
  21. package/dist/components/Button/index.d.ts +0 -1
  22. package/dist/components/Button/index.d.ts.map +1 -1
  23. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -10
  24. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  25. package/dist/components/Callout/Callout.d.ts +3 -0
  26. package/dist/components/Callout/Callout.d.ts.map +1 -1
  27. package/dist/components/CheckBox/CheckBox.d.ts +3 -6
  28. package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
  29. package/dist/components/CodeSnippet/CodeSnippet.d.ts +7 -0
  30. package/dist/components/CodeSnippet/CodeSnippet.d.ts.map +1 -1
  31. package/dist/components/Contextualbar/Contextualbar.d.ts +7 -2
  32. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  33. package/dist/components/Contextualbar/ContextualbarContent.d.ts +4 -2
  34. package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
  35. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts +4 -6
  36. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts.map +1 -1
  37. package/dist/components/Contextualbar/ContextualbarFooter.d.ts +4 -2
  38. package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
  39. package/dist/components/Contextualbar/ContextualbarSection.d.ts +4 -2
  40. package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
  41. package/dist/components/ContextualbarV2/Contextualbar.d.ts +7 -2
  42. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
  43. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +4 -2
  44. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
  45. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +2 -5
  46. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +1 -1
  47. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +4 -2
  48. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
  49. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +4 -2
  50. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
  51. package/dist/components/Dropdown/Dropdown.d.ts +3 -3
  52. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  53. package/dist/components/Dropdown/DropdownDesktop.d.ts +3 -3
  54. package/dist/components/Dropdown/DropdownDesktop.d.ts.map +1 -1
  55. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts +3 -3
  56. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts.map +1 -1
  57. package/dist/components/Dropdown/DropdownMobile.d.ts +3 -3
  58. package/dist/components/Dropdown/DropdownMobile.d.ts.map +1 -1
  59. package/dist/components/EmailInput/EmailInput.d.ts +5 -9
  60. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
  61. package/dist/components/Field/Field.d.ts +3 -0
  62. package/dist/components/Field/Field.d.ts.map +1 -1
  63. package/dist/components/Field/FieldLabel.d.ts +1 -5
  64. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  65. package/dist/components/FieldGroup/FieldGroup.d.ts +3 -0
  66. package/dist/components/FieldGroup/FieldGroup.d.ts.map +1 -1
  67. package/dist/components/Flex/index.d.ts +0 -6
  68. package/dist/components/Flex/index.d.ts.map +1 -1
  69. package/dist/components/Icon/Icon.d.ts +3 -5
  70. package/dist/components/Icon/Icon.d.ts.map +1 -1
  71. package/dist/components/InputBox/Input.d.ts +3 -2
  72. package/dist/components/InputBox/Input.d.ts.map +1 -1
  73. package/dist/components/InputBox/InputBox.d.ts +9 -15
  74. package/dist/components/InputBox/InputBox.d.ts.map +1 -1
  75. package/dist/components/InputBox/InputBoxAddon.d.ts +6 -2
  76. package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -1
  77. package/dist/components/Label/Label.d.ts +6 -8
  78. package/dist/components/Label/Label.d.ts.map +1 -1
  79. package/dist/components/Margins/Margins.d.ts +3 -0
  80. package/dist/components/Margins/Margins.d.ts.map +1 -1
  81. package/dist/components/Menu/Menu.d.ts +3 -0
  82. package/dist/components/Menu/Menu.d.ts.map +1 -1
  83. package/dist/components/Menu/MenuOption.d.ts +4 -4
  84. package/dist/components/Menu/MenuOption.d.ts.map +1 -1
  85. package/dist/components/Message/Message.d.ts +3 -11
  86. package/dist/components/Message/Message.d.ts.map +1 -1
  87. package/dist/components/Message/MessageBlock.d.ts +4 -5
  88. package/dist/components/Message/MessageBlock.d.ts.map +1 -1
  89. package/dist/components/Message/MessageNameContainer.d.ts +3 -3
  90. package/dist/components/Message/MessageNameContainer.d.ts.map +1 -1
  91. package/dist/components/Message/MessageReactions/MessageReaction.d.ts +3 -8
  92. package/dist/components/Message/MessageReactions/MessageReaction.d.ts.map +1 -1
  93. package/dist/components/Message/MessageReactions/MessageReactions.d.ts +3 -3
  94. package/dist/components/Message/MessageReactions/MessageReactions.d.ts.map +1 -1
  95. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +3 -3
  96. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
  97. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts +1 -8
  98. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts.map +1 -1
  99. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -11
  100. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
  101. package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts +3 -5
  102. package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts.map +1 -1
  103. package/dist/components/Modal/Modal.d.ts +4 -7
  104. package/dist/components/Modal/Modal.d.ts.map +1 -1
  105. package/dist/components/MultiSelect/MultiSelect.d.ts +9 -24
  106. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  107. package/dist/components/MultiSelect/MultiSelectAnchor.d.ts +4 -3
  108. package/dist/components/MultiSelect/MultiSelectAnchor.d.ts.map +1 -1
  109. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts +1 -25
  110. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts.map +1 -1
  111. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +3 -15
  112. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
  113. package/dist/components/MultiSelect/MultiSelectFilteredContext.d.ts +7 -0
  114. package/dist/components/MultiSelect/MultiSelectFilteredContext.d.ts.map +1 -0
  115. package/dist/components/NavBar/NavBarGroup.d.ts +1 -8
  116. package/dist/components/NavBar/NavBarGroup.d.ts.map +1 -1
  117. package/dist/components/NavBar/NavBarItem.d.ts +3 -3
  118. package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
  119. package/dist/components/NavBar/NavBarSection.d.ts.map +1 -1
  120. package/dist/components/NumberInput/NumberInput.d.ts +5 -2
  121. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
  122. package/dist/components/Option/Option.d.ts +9 -6
  123. package/dist/components/Option/Option.d.ts.map +1 -1
  124. package/dist/components/Options/OptionContainer.d.ts +3 -2
  125. package/dist/components/Options/OptionContainer.d.ts.map +1 -1
  126. package/dist/components/Options/OptionType.d.ts +15 -1
  127. package/dist/components/Options/OptionType.d.ts.map +1 -1
  128. package/dist/components/Options/Options.d.ts +8 -5
  129. package/dist/components/Options/Options.d.ts.map +1 -1
  130. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +9 -26
  131. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  132. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  133. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
  134. package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts +2 -1
  135. package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts.map +1 -1
  136. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +3 -1
  137. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
  138. package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts +19 -0
  139. package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts.map +1 -1
  140. package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
  141. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  142. package/dist/components/{Position → PositionAnimated}/Position.d.ts +2 -2
  143. package/dist/components/PositionAnimated/Position.d.ts.map +1 -0
  144. package/dist/components/PositionAnimated/PositionAnimated.d.ts +9 -3
  145. package/dist/components/PositionAnimated/PositionAnimated.d.ts.map +1 -1
  146. package/dist/components/ProgressBar/ProgressBar.d.ts +6 -9
  147. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  148. package/dist/components/RadioButton/RadioButton.d.ts +3 -5
  149. package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
  150. package/dist/components/Scrollable/Scrollable.d.ts +3 -0
  151. package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
  152. package/dist/components/SearchInput/SearchInput.d.ts +5 -9
  153. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  154. package/dist/components/Select/Select.d.ts +6 -10
  155. package/dist/components/Select/Select.d.ts.map +1 -1
  156. package/dist/components/Select/SelectAddon.d.ts +3 -1
  157. package/dist/components/Select/SelectAddon.d.ts.map +1 -1
  158. package/dist/components/Select/SelectAria.d.ts +3 -9
  159. package/dist/components/Select/SelectAria.d.ts.map +1 -1
  160. package/dist/components/Select/SelectFiltered.d.ts +3 -20
  161. package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
  162. package/dist/components/Select/SelectFilteredAnchor.d.ts +3 -13
  163. package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
  164. package/dist/components/Select/SelectFilteredContext.d.ts +7 -0
  165. package/dist/components/Select/SelectFilteredContext.d.ts.map +1 -0
  166. package/dist/components/Select/SelectFocus.d.ts +3 -1
  167. package/dist/components/Select/SelectFocus.d.ts.map +1 -1
  168. package/dist/components/Select/SelectLegacy.d.ts +3 -16
  169. package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
  170. package/dist/components/Select/SelectTrigger.d.ts +5 -3
  171. package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
  172. package/dist/components/Sidebar/Item.d.ts +6 -29
  173. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  174. package/dist/components/Sidebar/Section.d.ts +1 -3
  175. package/dist/components/Sidebar/Section.d.ts.map +1 -1
  176. package/dist/components/Sidebar/Sidebar.d.ts +1 -56
  177. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  178. package/dist/components/Sidebar/SidebarActions.d.ts +4 -19
  179. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  180. package/dist/components/Sidebar/TopBar/TopBar.d.ts +3 -0
  181. package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
  182. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +4 -10
  183. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  184. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts +4 -8
  185. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts.map +1 -1
  186. package/dist/components/Sidebar/TopBar/index.d.ts +0 -29
  187. package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
  188. package/dist/components/Sidebar/index.d.ts +1 -1
  189. package/dist/components/Sidebar/index.d.ts.map +1 -1
  190. package/dist/components/SidebarV2/Sidebar.d.ts +4 -6
  191. package/dist/components/SidebarV2/Sidebar.d.ts.map +1 -1
  192. package/dist/components/SidebarV2/SidebarAction.d.ts +3 -11
  193. package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
  194. package/dist/components/SidebarV2/SidebarActions.d.ts +1 -8
  195. package/dist/components/SidebarV2/SidebarActions.d.ts.map +1 -1
  196. package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts +5 -3
  197. package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts.map +1 -1
  198. package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts +5 -3
  199. package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts.map +1 -1
  200. package/dist/components/Sidepanel/SidepanelList.d.ts +3 -3
  201. package/dist/components/Sidepanel/SidepanelList.d.ts.map +1 -1
  202. package/dist/components/Sidepanel/SidepanelListItem.d.ts +3 -3
  203. package/dist/components/Sidepanel/SidepanelListItem.d.ts.map +1 -1
  204. package/dist/components/Slider/Slider.d.ts +20 -4
  205. package/dist/components/Slider/Slider.d.ts.map +1 -1
  206. package/dist/components/StatusBullet/StatusBullet.d.ts +3 -0
  207. package/dist/components/StatusBullet/StatusBullet.d.ts.map +1 -1
  208. package/dist/components/Tabs/Tabs.d.ts +3 -6
  209. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  210. package/dist/components/Tabs/TabsItem.d.ts +3 -5
  211. package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
  212. package/dist/components/Tag/Tag.d.ts +3 -0
  213. package/dist/components/Tag/Tag.d.ts.map +1 -1
  214. package/dist/components/TextAreaInput/TextAreaInput.d.ts +5 -9
  215. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
  216. package/dist/components/TextInput/TextInput.d.ts +5 -9
  217. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  218. package/dist/components/Throbber/Throbber.d.ts +6 -6
  219. package/dist/components/Throbber/Throbber.d.ts.map +1 -1
  220. package/dist/components/Tile/Tile.d.ts +3 -2
  221. package/dist/components/Tile/Tile.d.ts.map +1 -1
  222. package/dist/components/ToastBar/ToastBar.d.ts +3 -0
  223. package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
  224. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -5
  225. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  226. package/dist/components/Tooltip/Tooltip.d.ts +3 -5
  227. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  228. package/dist/components/UrlInput/UrlInput.d.ts +2 -2
  229. package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
  230. package/dist/components/index.d.ts +0 -3
  231. package/dist/components/index.d.ts.map +1 -1
  232. package/dist/fuselage.css.map +1 -1
  233. package/dist/fuselage.development.js +629 -718
  234. package/dist/fuselage.development.js.map +1 -1
  235. package/dist/fuselage.production.js +15 -15
  236. package/dist/helpers/composeClassNames.d.ts +32 -0
  237. package/dist/helpers/composeClassNames.d.ts.map +1 -1
  238. package/dist/helpers/exhaustiveCheck.d.ts +27 -0
  239. package/dist/helpers/exhaustiveCheck.d.ts.map +1 -1
  240. package/dist/styleTokens.d.ts +1 -0
  241. package/dist/styleTokens.d.ts.map +1 -1
  242. package/package.json +5 -5
  243. package/dist/components/Button/ActionButton.d.ts +0 -31
  244. package/dist/components/Button/ActionButton.d.ts.map +0 -1
  245. package/dist/components/Position/Position.d.ts.map +0 -1
  246. package/dist/components/Position/index.d.ts +0 -2
  247. package/dist/components/Position/index.d.ts.map +0 -1
  248. package/dist/components/SelectInput/SelectInput.d.ts +0 -17
  249. package/dist/components/SelectInput/SelectInput.d.ts.map +0 -1
  250. package/dist/components/SelectInput/SelectInputOption.d.ts +0 -5
  251. package/dist/components/SelectInput/SelectInputOption.d.ts.map +0 -1
  252. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts +0 -5
  253. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +0 -1
  254. package/dist/components/SelectInput/index.d.ts +0 -3
  255. package/dist/components/SelectInput/index.d.ts.map +0 -1
  256. package/dist/components/TelephoneInput/TelephoneInput.d.ts +0 -14
  257. package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +0 -1
  258. package/dist/components/TelephoneInput/index.d.ts +0 -2
  259. package/dist/components/TelephoneInput/index.d.ts.map +0 -1
  260. package/dist/helpers/isForwardRefType.d.ts +0 -3
  261. package/dist/helpers/isForwardRefType.d.ts.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
2
- import type { ReactNode, RefObject } from 'react';
3
- export type DropdownProps<T extends HTMLElement> = {
2
+ import type { ReactNode, RefAttributes, RefObject } from 'react';
3
+ export type DropdownProps<T extends HTMLElement> = RefAttributes<HTMLElement> & {
4
4
  reference: RefObject<T | null>;
5
5
  placement?: UsePositionOptions['placement'];
6
6
  children: ReactNode;
7
7
  };
8
- declare const Dropdown: import("react").ForwardRefExoticComponent<DropdownProps<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
8
+ declare function Dropdown({ ref, children, reference, placement, }: DropdownProps<HTMLElement>): import("react").JSX.Element;
9
9
  export default Dropdown;
10
10
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlD,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI;IACjD,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,QAAQ,oHAeb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKjE,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAC7C,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,iBAAS,QAAQ,CAAC,EAChB,GAAG,EACH,QAAQ,EACR,SAAS,EACT,SAA0B,GAC3B,EAAE,aAAa,CAAC,WAAW,CAAC,+BAa5B;AAED,eAAe,QAAQ,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { CSSProperties, ReactNode } from 'react';
2
- export type DropdownDesktopProps = {
1
+ import type { CSSProperties, ReactNode, RefAttributes } from 'react';
2
+ export type DropdownDesktopProps = RefAttributes<HTMLElement> & {
3
3
  children: ReactNode;
4
4
  maxWidth?: string;
5
5
  maxHeight?: string;
6
6
  overflowY?: CSSProperties['overflowY'];
7
7
  style?: CSSProperties;
8
8
  };
9
- export declare const DropdownDesktop: import("react").ForwardRefExoticComponent<DropdownDesktopProps & import("react").RefAttributes<HTMLElement>>;
9
+ export declare function DropdownDesktop({ children, style, ...props }: DropdownDesktopProps): import("react").JSX.Element;
10
10
  //# sourceMappingURL=DropdownDesktop.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,8GAqB3B,CAAC"}
1
+ {"version":3,"file":"DropdownDesktop.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAIrE,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,WAAW,CAAC,GAAG;IAC9D,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAkBtB"}
@@ -1,9 +1,9 @@
1
1
  import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
2
- import type { ReactNode, RefObject } from 'react';
3
- export type DropdownDesktopWrapperProps<T extends HTMLElement> = {
2
+ import type { ReactNode, RefAttributes, RefObject } from 'react';
3
+ export type DropdownDesktopWrapperProps<T extends HTMLElement> = RefAttributes<HTMLElement> & {
4
4
  reference: RefObject<T | null>;
5
5
  placement?: UsePositionOptions['placement'];
6
6
  children: ReactNode;
7
7
  };
8
- export declare const DropdownDesktopWrapper: import("react").ForwardRefExoticComponent<DropdownDesktopWrapperProps<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
8
+ export declare function DropdownDesktopWrapper({ ref, reference, placement, ...props }: DropdownDesktopWrapperProps<HTMLElement>): import("react").JSX.Element;
9
9
  //# sourceMappingURL=DropdownDesktopWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownDesktopWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktopWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKlD,MAAM,MAAM,2BAA2B,CAAC,CAAC,SAAS,WAAW,IAAI;IAC/D,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,sBAAsB,kIAkBjC,CAAC"}
1
+ {"version":3,"file":"DropdownDesktopWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownDesktopWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjE,MAAM,MAAM,2BAA2B,CAAC,CAAC,SAAS,WAAW,IAC3D,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,SAAS,EAAE,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,wBAAgB,sBAAsB,CAAC,EACrC,GAAG,EACH,SAAS,EACT,SAA0B,EAC1B,GAAG,KAAK,EACT,EAAE,2BAA2B,CAAC,WAAW,CAAC,+BAU1C"}
@@ -1,6 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- export type DropdownMobileProps = {
1
+ import type { ReactNode, RefAttributes } from 'react';
2
+ export type DropdownMobileProps = RefAttributes<HTMLElement> & {
3
3
  children: ReactNode;
4
4
  };
5
- export declare const DropdownMobile: import("react").ForwardRefExoticComponent<DropdownMobileProps & import("react").RefAttributes<HTMLElement>>;
5
+ export declare function DropdownMobile({ children, ...props }: DropdownMobileProps): import("react").JSX.Element;
6
6
  //# sourceMappingURL=DropdownMobile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,cAAc,6GAyB1B,CAAC"}
1
+ {"version":3,"file":"DropdownMobile.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/DropdownMobile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItD,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC,WAAW,CAAC,GAAG;IAC7D,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAsBzE"}
@@ -1,12 +1,8 @@
1
- import type { ReactNode } from 'react';
2
1
  import { type InputBoxProps } from '../InputBox';
3
- export type EmailInputProps = Omit<InputBoxProps, 'type'> & {
4
- addon?: ReactNode;
5
- error?: string;
6
- };
7
- declare const EmailInput: import("react").ForwardRefExoticComponent<Omit<InputBoxProps, "type"> & {
8
- addon?: ReactNode;
9
- error?: string;
10
- } & import("react").RefAttributes<HTMLElement>>;
2
+ export type EmailInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
3
+ /**
4
+ * An input for email addresses.
5
+ */
6
+ declare function EmailInput(props: EmailInputProps): import("react").JSX.Element;
11
7
  export default EmailInput;
12
8
  //# sourceMappingURL=EmailInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAmCF,QAAA,MAAM,UAAU;YArCN,SAAS;YACT,MAAM;+CAwCf,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5E;;GAEG;AACH,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEzC;AAED,eAAe,UAAU,CAAC"}
@@ -1,6 +1,9 @@
1
1
  import { type BoxProps } from '../Box';
2
2
  export declare const FieldContext: import("react").Context<boolean>;
3
3
  export type FieldProps = BoxProps;
4
+ /**
5
+ * A `Field` is a wrapper representing an entry in a form.
6
+ */
4
7
  declare function Field(props: FieldProps): import("react").JSX.Element;
5
8
  export default Field;
6
9
  //# sourceMappingURL=Field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAKlC,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,+BAM/B;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC;;GAEG;AACH,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,+BAM/B;AAED,eAAe,KAAK,CAAC"}
@@ -1,9 +1,5 @@
1
1
  import type { LabelProps } from '../Label';
2
2
  export type FieldLabelProps = LabelProps;
3
- declare const FieldLabel: import("react").ForwardRefExoticComponent<Omit<import("..").BoxProps, "is"> & {
4
- disabled?: boolean;
5
- required?: boolean;
6
- is?: (import("react").ElementType<any> & string) | undefined;
7
- } & import("react").RefAttributes<HTMLElement>>;
3
+ declare function FieldLabel(props: FieldLabelProps): import("react").JSX.Element;
8
4
  export default FieldLabel;
9
5
  //# sourceMappingURL=FieldLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AAEzC,QAAA,MAAM,UAAU;;;;+CAiBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;AAEzC,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,+BAezC;AAED,eAAe,UAAU,CAAC"}
@@ -1,5 +1,8 @@
1
1
  import { type BoxProps } from '../Box';
2
2
  export type FieldGroupProps = BoxProps;
3
+ /**
4
+ * A container for grouping fields that semantically share a common data context.
5
+ */
3
6
  declare const FieldGroup: ({ children, ...props }: FieldGroupProps) => import("react").JSX.Element;
4
7
  export default FieldGroup;
5
8
  //# sourceMappingURL=FieldGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AAKvC,QAAA,MAAM,UAAU,GAAI,wBAAwB,eAAe,gCAY1D,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;AAEvC;;GAEG;AACH,QAAA,MAAM,UAAU,GAAI,wBAAwB,eAAe,gCAY1D,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,9 +1,3 @@
1
- import FlexContainer from './FlexContainer';
2
- import FlexItem from './FlexItem';
3
1
  export { default as FlexContainer, type FlexContainerProps, } from './FlexContainer';
4
2
  export { default as FlexItem, type FlexItemProps } from './FlexItem';
5
- export declare const Flex: {
6
- Container: typeof FlexContainer;
7
- Item: typeof FlexItem;
8
- };
9
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAErE,eAAO,MAAM,IAAI;;;CAGhB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1,12 +1,10 @@
1
1
  import type { Keys as IconName } from '@rocket.chat/icons';
2
+ import type { RefAttributes } from 'react';
2
3
  import { type BoxProps } from '../Box';
3
- export type IconProps = Omit<BoxProps, 'name' | 'size'> & {
4
+ export type IconProps = Omit<BoxProps, 'ref' | 'name' | 'size'> & RefAttributes<HTMLElement> & {
4
5
  name: IconName;
5
6
  size?: BoxProps['width'];
6
7
  };
7
- declare const Icon: import("react").ForwardRefExoticComponent<Omit<BoxProps, "size" | "name"> & {
8
- name: IconName;
9
- size?: BoxProps["width"];
10
- } & import("react").RefAttributes<HTMLElement>>;
8
+ declare function Icon({ name, size, ...props }: IconProps): import("react").JSX.Element;
11
9
  export default Icon;
12
10
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI3D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACxD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,IAAI;UAJF,QAAQ;WACP,QAAQ,CAAC,OAAO,CAAC;+CAmBxB,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC,GAC7D,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC1B,CAAC;AAEJ,iBAAS,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAYhD;AAED,eAAe,IAAI,CAAC"}
@@ -1,5 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- export type InputProps = BoxProps;
3
- declare const Input: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLInputElement>>;
3
+ export type InputProps<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement> = Omit<BoxProps, 'ref'> & RefAttributes<T>;
4
+ declare function Input<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>(props: InputProps<T>): import("react").JSX.Element;
4
5
  export default Input;
5
6
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC,QAAA,MAAM,KAAK,uGAIV,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,UAAU,CACpB,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,IAClE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;AAE7C,iBAAS,KAAK,CACZ,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,EACpE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,+BAErB;AAED,eAAe,KAAK,CAAC"}
@@ -1,7 +1,6 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode, RefAttributes } from 'react';
2
2
  import type { BoxProps } from '../Box';
3
- export type InputBoxProps = BoxProps & {
4
- addon?: ReactNode;
3
+ export type InputBoxProps<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement = any> = Omit<BoxProps, 'ref'> & RefAttributes<T> & {
5
4
  startAddon?: ReactNode;
6
5
  endAddon?: ReactNode;
7
6
  input?: ReactNode;
@@ -12,17 +11,12 @@ export type InputBoxProps = BoxProps & {
12
11
  small?: boolean;
13
12
  type: 'button' | 'checkbox' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'textarea' | 'select';
14
13
  };
15
- declare const InputBox: import("react").ForwardRefExoticComponent<BoxProps & {
16
- addon?: ReactNode;
17
- startAddon?: ReactNode;
18
- endAddon?: ReactNode;
19
- input?: ReactNode;
20
- multiple?: boolean;
21
- error?: string;
22
- placeholder?: string;
23
- placeholderVisible?: boolean;
24
- small?: boolean;
25
- type: "button" | "checkbox" | "color" | "date" | "datetime" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "radio" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week" | "textarea" | "select";
26
- } & import("react").RefAttributes<any>>;
14
+ /**
15
+ * A decorated input control with support for addons.
16
+ *
17
+ * Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)
18
+ * components over this one because it works as a construction block for them.
19
+ */
20
+ declare function InputBox<T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>({ ref, className, startAddon, endAddon, error, hidden, invisible, multiple, placeholderVisible, type, small, onChange, ...props }: InputBoxProps<T>): import("react").JSX.Element;
27
21
  export default InputBox;
28
22
  //# sourceMappingURL=InputBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOvC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IAErC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AASF,QAAA,MAAM,QAAQ;YA5CJ,SAAS;iBACJ,SAAS;eACX,SAAS;YACZ,SAAS;eACN,OAAO;YACV,MAAM;kBACA,MAAM;yBACC,OAAO;YACpB,OAAO;UAEX,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ;uCA0IZ,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAGnE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOvC,MAAM,MAAM,aAAa,CACvB,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,GAAG,GAAG,IACxE,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACvB,aAAa,CAAC,CAAC,CAAC,GAAG;IACjB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AAEJ;;;;;GAKG;AAEH,iBAAS,QAAQ,CACf,CAAC,SAAS,gBAAgB,GAAG,iBAAiB,GAAG,mBAAmB,EACpE,EACA,GAAG,EACH,SAAS,EACT,UAAU,EACV,QAAQ,EACR,KAAK,EACL,MAAM,EACN,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,IAAa,EACb,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,aAAa,CAAC,CAAC,CAAC,+BA6GlB;AAED,eAAe,QAAQ,CAAC"}
@@ -1,5 +1,9 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- export type InputBoxAddonProps = BoxProps;
3
- declare const InputBoxAddon: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLSpanElement>>;
3
+ export type InputBoxAddonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLSpanElement>;
4
+ /**
5
+ * An addon for the input box.
6
+ */
7
+ declare function InputBoxAddon(props: InputBoxAddonProps): import("react").JSX.Element;
4
8
  export default InputBoxAddon;
5
9
  //# sourceMappingURL=InputBoxAddon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputBoxAddon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxAddon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAE1C,QAAA,MAAM,aAAa,sGAIlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"InputBoxAddon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxAddon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACpD,aAAa,CAAC,eAAe,CAAC,CAAC;AAEjC;;GAEG;AACH,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAE/C;AAED,eAAe,aAAa,CAAC"}
@@ -1,14 +1,12 @@
1
- import type { ElementType } from 'react';
1
+ import type { RefAttributes } from 'react';
2
2
  import { type BoxProps } from '../Box';
3
- export type LabelProps = Omit<BoxProps, 'is'> & {
3
+ export type LabelProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement> & {
4
4
  disabled?: boolean;
5
5
  required?: boolean;
6
- is?: (ElementType<any> & string) | undefined;
7
6
  };
8
- declare const Label: import("react").ForwardRefExoticComponent<Omit<BoxProps, "is"> & {
9
- disabled?: boolean;
10
- required?: boolean;
11
- is?: (ElementType<any> & string) | undefined;
12
- } & import("react").RefAttributes<HTMLElement>>;
7
+ /**
8
+ * A caption for an input component.
9
+ */
10
+ declare function Label({ disabled, is, required, children, ...props }: LabelProps): import("react").JSX.Element;
13
11
  export default Label;
14
12
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAKF,QAAA,MAAM,KAAK;eARE,OAAO;eACP,OAAO;SACb,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,SAAS;+CA+B5C,CAAC;AAEH,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAC5C,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ;;GAEG;AACH,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAgBxE;AAED,eAAe,KAAK,CAAC"}
@@ -10,6 +10,9 @@ export type MarginsProps = PropsWithChildren<{
10
10
  inlineEnd?: BoxProps['marginInlineEnd'];
11
11
  className?: string;
12
12
  }>;
13
+ /**
14
+ * Add margins to the wrapped component.
15
+ */
13
16
  declare const Margins: (props: MarginsProps) => import("react").JSX.Element;
14
17
  export default Margins;
15
18
  //# sourceMappingURL=Margins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGvC,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,GAAG,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAKH,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,gCAuGnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGvC,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC3C,GAAG,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACzB,KAAK,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IAChC,UAAU,CAAC,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC;IAClC,WAAW,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IAC5C,SAAS,CAAC,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,OAAO,GAAI,OAAO,YAAY,gCAuGnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -14,6 +14,9 @@ export interface MenuProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
14
14
  placement?: UsePositionOptions['placement'];
15
15
  title?: string;
16
16
  detached?: boolean;
17
+ /**
18
+ * A component that renders an IconButton
19
+ */
17
20
  is?: ElementType;
18
21
  className?: BoxProps['className'];
19
22
  pressed?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM5D,MAAM,WAAW,SAAS,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC,EAAE,gBAAgB;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IAInB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,sGAW7B,SAAS,CAAC,CAAC,CAAC,gCA4Dd,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAM5D,MAAM,WAAW,SAAS,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC,EAAE,gBAAgB;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,sGAW7B,SAAS,CAAC,CAAC,CAAC,gCA4Dd,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,13 +1,12 @@
1
- import type { Ref, ReactNode, MouseEvent, AllHTMLAttributes } from 'react';
1
+ import type { ReactNode, MouseEvent, AllHTMLAttributes, RefAttributes } from 'react';
2
2
  import type { BoxProps } from '../Box';
3
- export type MenuOptionProps = {
3
+ export type MenuOptionProps = RefAttributes<Element> & {
4
4
  is?: BoxProps['is'];
5
5
  id?: string;
6
6
  children?: ReactNode;
7
7
  focus?: boolean;
8
8
  selected?: boolean;
9
9
  className?: BoxProps['className'];
10
- ref?: Ref<Element>;
11
10
  title?: string;
12
11
  disabled?: boolean;
13
12
  value?: string;
@@ -15,6 +14,7 @@ export type MenuOptionProps = {
15
14
  onClick?: (event: MouseEvent<HTMLElement>) => void;
16
15
  description?: ReactNode;
17
16
  } & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;
18
- declare const _default: import("react").NamedExoticComponent<Omit<MenuOptionProps, "ref"> & import("react").RefAttributes<unknown>>;
17
+ declare function MenuOption({ is: Tag, id, children, focus, selected, className, title, disabled, variant, onClick, ...props }: MenuOptionProps): import("react").JSX.Element;
18
+ declare const _default: import("react").MemoExoticComponent<typeof MenuOption>;
19
19
  export default _default;
20
20
  //# sourceMappingURL=MenuOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuOption.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAI3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;;AAkDlD,wBAAgC"}
1
+ {"version":3,"file":"MenuOption.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG;IACrD,EAAE,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD,iBAAS,UAAU,CAAC,EAClB,EAAE,EAAE,GAAU,EACd,EAAE,EACF,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,GAAG,KAAK,EACT,EAAE,eAAe,+BA8BjB;;AAED,wBAAgC"}
@@ -1,5 +1,5 @@
1
- import type { AllHTMLAttributes } from 'react';
2
- export type MessageProps = AllHTMLAttributes<HTMLDivElement> & {
1
+ import type { AllHTMLAttributes, RefAttributes } from 'react';
2
+ export type MessageProps = AllHTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement> & {
3
3
  clickable?: boolean;
4
4
  sequential?: boolean;
5
5
  className?: string;
@@ -8,14 +8,6 @@ export type MessageProps = AllHTMLAttributes<HTMLDivElement> & {
8
8
  isPending?: boolean;
9
9
  highlight?: boolean;
10
10
  };
11
- declare const Message: import("react").ForwardRefExoticComponent<AllHTMLAttributes<HTMLDivElement> & {
12
- clickable?: boolean;
13
- sequential?: boolean;
14
- className?: string;
15
- isSelected?: boolean;
16
- isEditing?: boolean;
17
- isPending?: boolean;
18
- highlight?: boolean;
19
- } & import("react").RefAttributes<HTMLDivElement>>;
11
+ declare function Message({ className, clickable, sequential, isSelected, isEditing, isPending, highlight, ...props }: MessageProps): import("react").JSX.Element;
20
12
  export default Message;
21
13
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAK/C,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,cAAc,CAAC,GAAG;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,QAAA,MAAM,OAAO;gBATC,OAAO;iBACN,OAAO;gBACR,MAAM;iBACL,OAAO;gBACR,OAAO;gBACP,OAAO;gBACP,OAAO;kDAoCnB,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI9D,MAAM,MAAM,YAAY,GAAG,iBAAiB,CAAC,cAAc,CAAC,GAC1D,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEJ,iBAAS,OAAO,CAAC,EACf,SAAS,EACT,SAAS,EACT,UAAU,EACV,UAAU,EACV,SAAS,EACT,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,+BAoBd;AAED,eAAe,OAAO,CAAC"}
@@ -1,9 +1,8 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- export type MessageBlockProps = {
3
+ export type MessageBlockProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLDivElement> & {
3
4
  fixedWidth?: boolean;
4
- } & BoxProps;
5
- declare const MessageBlock: import("react").ForwardRefExoticComponent<{
6
- fixedWidth?: boolean;
7
- } & BoxProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ };
6
+ declare function MessageBlock({ className: _className, fixedWidth, ...props }: MessageBlockProps): import("react").JSX.Element;
8
7
  export default MessageBlock;
9
8
  //# sourceMappingURL=MessageBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,QAAQ,CAAC;AAEb,QAAA,MAAM,YAAY;iBAHH,OAAO;6DAYrB,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACnD,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEJ,iBAAS,YAAY,CAAC,EACpB,SAAS,EAAE,UAAU,EACrB,UAAU,EACV,GAAG,KAAK,EACT,EAAE,iBAAiB,+BAQnB;AAED,eAAe,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { HTMLAttributes } from 'react';
2
- export type MessageNameContainerProps = HTMLAttributes<HTMLSpanElement>;
3
- declare const MessageNameContainer: import("react").ForwardRefExoticComponent<MessageNameContainerProps & import("react").RefAttributes<HTMLSpanElement>>;
1
+ import type { HTMLAttributes, RefAttributes } from 'react';
2
+ export type MessageNameContainerProps = HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>;
3
+ declare function MessageNameContainer(props: MessageNameContainerProps): import("react").JSX.Element;
4
4
  export default MessageNameContainer;
5
5
  //# sourceMappingURL=MessageNameContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAExE,QAAA,MAAM,oBAAoB,uHAWxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"MessageNameContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageNameContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,eAAe,CAAC,GACrE,aAAa,CAAC,eAAe,CAAC,CAAC;AAEjC,iBAAS,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,+BAO7D;AAED,eAAe,oBAAoB,CAAC"}
@@ -1,15 +1,10 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
2
- export type MessageReactionProps = {
1
+ import type { HTMLAttributes, ReactNode, RefAttributes } from 'react';
2
+ export type MessageReactionProps = RefAttributes<HTMLDivElement> & {
3
3
  name?: string;
4
4
  counter?: number;
5
5
  mine?: boolean;
6
6
  children?: ReactNode;
7
7
  } & HTMLAttributes<HTMLDivElement>;
8
- declare const MessageReaction: import("react").ForwardRefExoticComponent<{
9
- name?: string;
10
- counter?: number;
11
- mine?: boolean;
12
- children?: ReactNode;
13
- } & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
8
+ declare function MessageReaction({ name, counter, mine, children, className, ...props }: MessageReactionProps): import("react").JSX.Element;
14
9
  export default MessageReaction;
15
10
  //# sourceMappingURL=MessageReaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageReaction.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,QAAA,MAAM,eAAe;WANZ,MAAM;cACH,MAAM;WACT,OAAO;eACH,SAAS;mFA+BrB,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"MessageReaction.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReaction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtE,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,cAAc,CAAC,GAAG;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,+BAsBtB;AAED,eAAe,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { HTMLAttributes } from 'react';
2
- export type MessageReactionsProps = HTMLAttributes<HTMLDivElement>;
3
- declare const MessageReactions: import("react").ForwardRefExoticComponent<MessageReactionsProps & import("react").RefAttributes<HTMLDivElement>>;
1
+ import type { HTMLAttributes, RefAttributes } from 'react';
2
+ export type MessageReactionsProps = HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
3
+ declare function MessageReactions(props: MessageReactionsProps): import("react").JSX.Element;
4
4
  export default MessageReactions;
5
5
  //# sourceMappingURL=MessageReactions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReactions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnE,QAAA,MAAM,gBAAgB,kHAYrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageReactions/MessageReactions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAI3D,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,GAChE,aAAa,CAAC,cAAc,CAAC,CAAC;AAEhC,iBAAS,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,+BAMrD;AAED,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { AllHTMLAttributes } from 'react';
1
+ import type { AllHTMLAttributes, RefAttributes } from 'react';
2
2
  import './MessageStatusIndicator.styles.scss';
3
- export type MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement>;
4
- declare const MessageStatusIndicator: import("react").ForwardRefExoticComponent<MessageStatusIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ export type MessageStatusIndicatorProps = AllHTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement>;
4
+ declare function MessageStatusIndicator(props: MessageStatusIndicatorProps): import("react").JSX.Element;
5
5
  export default MessageStatusIndicator;
6
6
  //# sourceMappingURL=MessageStatusIndicator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageStatusIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,sCAAsC,CAAC;AAE9C,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,cAAc,CAAC,CAAC;AAE5E,QAAA,MAAM,sBAAsB,wHAK1B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"MessageStatusIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageStatusIndicator/MessageStatusIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,sCAAsC,CAAC;AAE9C,MAAM,MAAM,2BAA2B,GAAG,iBAAiB,CAAC,cAAc,CAAC,GACzE,aAAa,CAAC,cAAc,CAAC,CAAC;AAEhC,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BAEjE;AAED,eAAe,sBAAsB,CAAC"}
@@ -1,12 +1,5 @@
1
1
  import { type ButtonGroupProps } from '../../ButtonGroup';
2
2
  export type MessageToolbarProps = ButtonGroupProps;
3
- declare const MessageToolbar: import("react").ForwardRefExoticComponent<{
4
- align?: "start" | "center" | "end";
5
- stretch?: boolean;
6
- wrap?: boolean;
7
- vertical?: boolean;
8
- small?: boolean;
9
- large?: boolean;
10
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
3
+ declare function MessageToolbar(props: MessageToolbarProps): import("react").JSX.Element;
11
4
  export default MessageToolbar;
12
5
  //# sourceMappingURL=MessageToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,QAAA,MAAM,cAAc;;;;;;;mGAQnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"MessageToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAEnD,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,+BAMjD;AAED,eAAe,cAAc,CAAC"}
@@ -1,14 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import type { IconButtonProps } from '../../Button/IconButton';
2
- export type MessageToolbarItemProps = IconButtonProps;
3
- declare const MessageToolbarItem: import("react").ForwardRefExoticComponent<{
4
- icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
5
- primary?: boolean;
6
- secondary?: boolean;
7
- info?: boolean;
8
- danger?: boolean;
9
- warning?: boolean;
10
- success?: boolean;
11
- pressed?: boolean;
12
- } & import("../../Button").IconButtonSize & import("../..").BoxProps & import("react").RefAttributes<HTMLButtonElement>>;
3
+ export type MessageToolbarItemProps = Omit<IconButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>;
4
+ declare function MessageToolbarItem(props: MessageToolbarItemProps): import("react").JSX.Element;
13
5
  export default MessageToolbarItem;
14
6
  //# sourceMappingURL=MessageToolbarItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;AAEtD,QAAA,MAAM,kBAAkB;;;;;;;;;wHAKtB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,GAChE,aAAa,CAAC,iBAAiB,CAAC,CAAC;AAEnC,iBAAS,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,+BAEzD;AAED,eAAe,kBAAkB,CAAC"}
@@ -1,9 +1,7 @@
1
- import type { HTMLAttributes } from 'react';
2
- export type MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & {
1
+ import type { HTMLAttributes, RefAttributes } from 'react';
2
+ export type MessageToolbarWrapperProps = HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement> & {
3
3
  visible?: boolean;
4
4
  };
5
- declare const MessageToolbarWrapper: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
6
- visible?: boolean;
7
- } & import("react").RefAttributes<HTMLDivElement>>;
5
+ declare function MessageToolbarWrapper({ className, visible, ...props }: MessageToolbarWrapperProps): import("react").JSX.Element;
8
6
  export default MessageToolbarWrapper;
9
7
  //# sourceMappingURL=MessageToolbarWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageToolbarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,qBAAqB;cAHf,OAAO;kDAoBjB,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"MessageToolbarWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,cAAc,CAAC,GACrE,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEJ,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,0BAA0B,+BAa5B;AAED,eAAe,qBAAqB,CAAC"}