@rocket.chat/fuselage 0.80.0 → 0.81.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 (199) hide show
  1. package/dist/components/AudioPlayer/AudioPlayer.d.ts +3 -3
  2. package/dist/components/AudioPlayer/AudioPlayer.d.ts.map +1 -1
  3. package/dist/components/AudioPlayer/AudioPlayerControls.d.ts +21 -0
  4. package/dist/components/AudioPlayer/AudioPlayerControls.d.ts.map +1 -0
  5. package/dist/components/AudioPlayer/index.d.ts +1 -0
  6. package/dist/components/AudioPlayer/index.d.ts.map +1 -1
  7. package/dist/components/AutoComplete/AutoComplete.d.ts +3 -4
  8. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  9. package/dist/components/Box/Box.d.ts +3 -3
  10. package/dist/components/Box/Box.d.ts.map +1 -1
  11. package/dist/components/Button/ActionButton.d.ts +1 -19
  12. package/dist/components/Button/ActionButton.d.ts.map +1 -1
  13. package/dist/components/Button/Button.d.ts +4 -20
  14. package/dist/components/Button/Button.d.ts.map +1 -1
  15. package/dist/components/Button/IconButton.d.ts +1 -10
  16. package/dist/components/Button/IconButton.d.ts.map +1 -1
  17. package/dist/components/ButtonGroup/ButtonGroup.d.ts +3 -10
  18. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  19. package/dist/components/CheckBox/CheckBox.d.ts +3 -6
  20. package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
  21. package/dist/components/Contextualbar/Contextualbar.d.ts +4 -2
  22. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  23. package/dist/components/Contextualbar/ContextualbarContent.d.ts +4 -2
  24. package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
  25. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts +4 -6
  26. package/dist/components/Contextualbar/ContextualbarEmptyContent.d.ts.map +1 -1
  27. package/dist/components/Contextualbar/ContextualbarFooter.d.ts +4 -2
  28. package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
  29. package/dist/components/Contextualbar/ContextualbarSection.d.ts +4 -2
  30. package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
  31. package/dist/components/ContextualbarV2/Contextualbar.d.ts +4 -2
  32. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
  33. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +4 -2
  34. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
  35. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts +2 -5
  36. package/dist/components/ContextualbarV2/ContextualbarEmptyContent.d.ts.map +1 -1
  37. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +4 -2
  38. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
  39. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +4 -2
  40. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
  41. package/dist/components/Dropdown/Dropdown.d.ts +3 -3
  42. package/dist/components/Dropdown/Dropdown.d.ts.map +1 -1
  43. package/dist/components/Dropdown/DropdownDesktop.d.ts +3 -3
  44. package/dist/components/Dropdown/DropdownDesktop.d.ts.map +1 -1
  45. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts +3 -3
  46. package/dist/components/Dropdown/DropdownDesktopWrapper.d.ts.map +1 -1
  47. package/dist/components/Dropdown/DropdownMobile.d.ts +3 -3
  48. package/dist/components/Dropdown/DropdownMobile.d.ts.map +1 -1
  49. package/dist/components/EmailInput/EmailInput.d.ts +2 -9
  50. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
  51. package/dist/components/Field/FieldLabel.d.ts +1 -5
  52. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  53. package/dist/components/Icon/Icon.d.ts +3 -5
  54. package/dist/components/Icon/Icon.d.ts.map +1 -1
  55. package/dist/components/InputBox/Input.d.ts +3 -2
  56. package/dist/components/InputBox/Input.d.ts.map +1 -1
  57. package/dist/components/InputBox/InputBox.d.ts +3 -14
  58. package/dist/components/InputBox/InputBox.d.ts.map +1 -1
  59. package/dist/components/InputBox/InputBoxAddon.d.ts +3 -2
  60. package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -1
  61. package/dist/components/Label/Label.d.ts +3 -8
  62. package/dist/components/Label/Label.d.ts.map +1 -1
  63. package/dist/components/Menu/MenuOption.d.ts +4 -4
  64. package/dist/components/Menu/MenuOption.d.ts.map +1 -1
  65. package/dist/components/Message/Message.d.ts +3 -11
  66. package/dist/components/Message/Message.d.ts.map +1 -1
  67. package/dist/components/Message/MessageBlock.d.ts +4 -5
  68. package/dist/components/Message/MessageBlock.d.ts.map +1 -1
  69. package/dist/components/Message/MessageNameContainer.d.ts +3 -3
  70. package/dist/components/Message/MessageNameContainer.d.ts.map +1 -1
  71. package/dist/components/Message/MessageReactions/MessageReaction.d.ts +3 -8
  72. package/dist/components/Message/MessageReactions/MessageReaction.d.ts.map +1 -1
  73. package/dist/components/Message/MessageReactions/MessageReactions.d.ts +3 -3
  74. package/dist/components/Message/MessageReactions/MessageReactions.d.ts.map +1 -1
  75. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +3 -3
  76. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
  77. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts +1 -8
  78. package/dist/components/Message/MessageToolbar/MessageToolbar.d.ts.map +1 -1
  79. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -11
  80. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
  81. package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts +3 -5
  82. package/dist/components/Message/MessageToolbar/MessageToolbarWrapper.d.ts.map +1 -1
  83. package/dist/components/Modal/Modal.d.ts +4 -7
  84. package/dist/components/Modal/Modal.d.ts.map +1 -1
  85. package/dist/components/MultiSelect/MultiSelect.d.ts +3 -22
  86. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  87. package/dist/components/MultiSelect/MultiSelectAnchor.d.ts +4 -3
  88. package/dist/components/MultiSelect/MultiSelectAnchor.d.ts.map +1 -1
  89. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts +1 -25
  90. package/dist/components/MultiSelect/MultiSelectFiltered.d.ts.map +1 -1
  91. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +4 -3
  92. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
  93. package/dist/components/NavBar/NavBarGroup.d.ts +1 -8
  94. package/dist/components/NavBar/NavBarGroup.d.ts.map +1 -1
  95. package/dist/components/NavBar/NavBarItem.d.ts +3 -3
  96. package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
  97. package/dist/components/NumberInput/NumberInput.d.ts +2 -2
  98. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
  99. package/dist/components/Option/Option.d.ts +6 -6
  100. package/dist/components/Option/Option.d.ts.map +1 -1
  101. package/dist/components/Options/OptionContainer.d.ts +3 -2
  102. package/dist/components/Options/OptionContainer.d.ts.map +1 -1
  103. package/dist/components/Options/OptionType.d.ts +15 -1
  104. package/dist/components/Options/OptionType.d.ts.map +1 -1
  105. package/dist/components/Options/Options.d.ts +5 -5
  106. package/dist/components/Options/Options.d.ts.map +1 -1
  107. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +6 -26
  108. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  109. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
  110. package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts +2 -1
  111. package/dist/components/PaginatedSelect/PaginatedSelectFiltered.d.ts.map +1 -1
  112. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +3 -1
  113. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
  114. package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
  115. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  116. package/dist/components/ProgressBar/ProgressBar.d.ts +3 -9
  117. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  118. package/dist/components/RadioButton/RadioButton.d.ts +3 -5
  119. package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
  120. package/dist/components/SearchInput/SearchInput.d.ts +2 -9
  121. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  122. package/dist/components/Select/Select.d.ts +3 -10
  123. package/dist/components/Select/Select.d.ts.map +1 -1
  124. package/dist/components/Select/SelectAddon.d.ts +3 -1
  125. package/dist/components/Select/SelectAddon.d.ts.map +1 -1
  126. package/dist/components/Select/SelectAria.d.ts +3 -9
  127. package/dist/components/Select/SelectAria.d.ts.map +1 -1
  128. package/dist/components/Select/SelectFiltered.d.ts +1 -18
  129. package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
  130. package/dist/components/Select/SelectFilteredAnchor.d.ts +3 -3
  131. package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
  132. package/dist/components/Select/SelectFocus.d.ts +3 -1
  133. package/dist/components/Select/SelectFocus.d.ts.map +1 -1
  134. package/dist/components/Select/SelectLegacy.d.ts +3 -16
  135. package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
  136. package/dist/components/Select/SelectTrigger.d.ts +5 -3
  137. package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
  138. package/dist/components/SelectInput/SelectInput.d.ts +2 -14
  139. package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
  140. package/dist/components/SelectInput/SelectInputOption.d.ts +3 -2
  141. package/dist/components/SelectInput/SelectInputOption.d.ts.map +1 -1
  142. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts +3 -2
  143. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +1 -1
  144. package/dist/components/SelectInput/index.d.ts +1 -1
  145. package/dist/components/SelectInput/index.d.ts.map +1 -1
  146. package/dist/components/Sidebar/Item.d.ts +3 -16
  147. package/dist/components/Sidebar/Item.d.ts.map +1 -1
  148. package/dist/components/Sidebar/Sidebar.d.ts +3 -26
  149. package/dist/components/Sidebar/Sidebar.d.ts.map +1 -1
  150. package/dist/components/Sidebar/SidebarActions.d.ts +4 -19
  151. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  152. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +4 -10
  153. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  154. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts +4 -8
  155. package/dist/components/Sidebar/TopBar/TopBarActions.d.ts.map +1 -1
  156. package/dist/components/Sidebar/TopBar/index.d.ts +4 -18
  157. package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
  158. package/dist/components/SidebarV2/Sidebar.d.ts +4 -6
  159. package/dist/components/SidebarV2/Sidebar.d.ts.map +1 -1
  160. package/dist/components/SidebarV2/SidebarAction.d.ts +3 -11
  161. package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
  162. package/dist/components/SidebarV2/SidebarActions.d.ts +1 -8
  163. package/dist/components/SidebarV2/SidebarActions.d.ts.map +1 -1
  164. package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts +5 -3
  165. package/dist/components/SidebarV2/SidebarCollapseGroup.d.ts.map +1 -1
  166. package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts +5 -3
  167. package/dist/components/SidebarV2/SidebarItem/SidebarListItem.d.ts.map +1 -1
  168. package/dist/components/Sidepanel/SidepanelList.d.ts +3 -3
  169. package/dist/components/Sidepanel/SidepanelList.d.ts.map +1 -1
  170. package/dist/components/Sidepanel/SidepanelListItem.d.ts +3 -3
  171. package/dist/components/Sidepanel/SidepanelListItem.d.ts.map +1 -1
  172. package/dist/components/Slider/Slider.d.ts +4 -4
  173. package/dist/components/Slider/Slider.d.ts.map +1 -1
  174. package/dist/components/Tabs/Tabs.d.ts +2 -4
  175. package/dist/components/Tabs/Tabs.d.ts.map +1 -1
  176. package/dist/components/Tabs/TabsItem.d.ts +3 -5
  177. package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
  178. package/dist/components/TelephoneInput/TelephoneInput.d.ts +2 -11
  179. package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
  180. package/dist/components/TextAreaInput/TextAreaInput.d.ts +2 -9
  181. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
  182. package/dist/components/TextInput/TextInput.d.ts +3 -6
  183. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  184. package/dist/components/Throbber/Throbber.d.ts +3 -6
  185. package/dist/components/Throbber/Throbber.d.ts.map +1 -1
  186. package/dist/components/Tile/Tile.d.ts +3 -2
  187. package/dist/components/Tile/Tile.d.ts.map +1 -1
  188. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -5
  189. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  190. package/dist/components/Tooltip/Tooltip.d.ts +3 -5
  191. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  192. package/dist/components/UrlInput/UrlInput.d.ts +2 -2
  193. package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
  194. package/dist/fuselage.development.js +326 -421
  195. package/dist/fuselage.development.js.map +1 -1
  196. package/dist/fuselage.production.js +18 -18
  197. package/package.json +2 -2
  198. package/dist/helpers/isForwardRefType.d.ts +0 -3
  199. package/dist/helpers/isForwardRefType.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { type InputBoxProps } from '../InputBox';
2
- export type NumberInputProps = Omit<InputBoxProps, 'type'>;
3
- declare const NumberInput: import("react").ForwardRefExoticComponent<NumberInputProps & import("react").RefAttributes<HTMLInputElement>>;
2
+ export type NumberInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
3
+ declare function NumberInput(props: NumberInputProps): import("react").JSX.Element;
4
4
  export default NumberInput;
5
5
  //# sourceMappingURL=NumberInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;AAK3D,QAAA,MAAM,WAAW,+GAIhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAK7E,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAE3C;AAED,eAAe,WAAW,CAAC"}
@@ -1,15 +1,14 @@
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
3
  import type { IconProps } from '../Icon';
4
- export type OptionProps = {
4
+ export type OptionProps<TLabel = ReactNode> = RefAttributes<Element> & {
5
5
  is?: BoxProps['is'];
6
6
  id?: string;
7
7
  children?: ReactNode;
8
- label?: ReactNode;
8
+ label?: TLabel;
9
9
  focus?: boolean;
10
10
  selected?: boolean;
11
11
  className?: BoxProps['className'];
12
- ref?: Ref<Element>;
13
12
  icon?: IconProps['name'];
14
13
  gap?: boolean;
15
14
  avatar?: ReactNode;
@@ -19,7 +18,8 @@ export type OptionProps = {
19
18
  variant?: 'danger' | 'success' | 'warning' | 'primary';
20
19
  onClick?: (event: MouseEvent<HTMLElement>) => void;
21
20
  description?: ReactNode;
22
- } & Omit<AllHTMLAttributes<HTMLElement>, 'is' | 'id' | 'children' | 'label' | 'selected' | 'className' | 'ref' | 'icon' | 'gap' | 'avatar' | 'title' | 'disabled' | 'value' | 'variant' | 'onClick' | 'description'>;
23
- declare const _default: import("react").NamedExoticComponent<Omit<OptionProps, "ref"> & import("react").RefAttributes<Element>>;
21
+ } & Omit<AllHTMLAttributes<HTMLElement>, 'is' | 'id' | 'children' | 'label' | 'selected' | 'className' | 'ref' | 'icon' | 'gap' | 'avatar' | 'title' | 'disabled' | 'value' | 'variant' | 'onClick' | 'description'> & RefAttributes<Element>;
22
+ declare function Option<TLabel = ReactNode>({ is: Tag, id, children, label, focus, selected, className, icon, gap, avatar, title, disabled, variant, onClick, description, ...props }: OptionProps<TLabel>): import("react").JSX.Element;
23
+ declare const _default: import("react").MemoExoticComponent<typeof Option>;
24
24
  export default _default;
25
25
  //# sourceMappingURL=Option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/Option/Option.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;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAOzC,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,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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AAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,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,CACJ,iBAAiB,CAAC,WAAW,CAAC,EAC5B,IAAI,GACJ,IAAI,GACJ,UAAU,GACV,OAAO,GACP,UAAU,GACV,WAAW,GACX,KAAK,GACL,MAAM,GACN,KAAK,GACL,QAAQ,GACR,OAAO,GACP,UAAU,GACV,OAAO,GACP,SAAS,GACT,SAAS,GACT,aAAa,CAChB,GACD,aAAa,CAAC,OAAO,CAAC,CAAC;AAKzB,iBAAS,MAAM,CAAC,MAAM,GAAG,SAAS,EAAE,EAClC,EAAE,EAAE,GAAU,EACd,EAAE,EACF,QAAQ,EACR,KAAK,EACL,KAAK,EACL,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,GAAG,EACH,MAAM,EACN,KAAK,EACL,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,EACX,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,MAAM,CAAC,+BA2CrB;;AAED,wBAA4B"}
@@ -1,5 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- export type OptionContainerProps = BoxProps;
3
- declare const OptionContainer: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLElement>>;
3
+ export type OptionContainerProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLElement>;
4
+ declare function OptionContainer(props: OptionContainerProps): import("react").JSX.Element;
4
5
  export default OptionContainer;
5
6
  //# sourceMappingURL=OptionContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Options/OptionContainer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AAE5C,QAAA,MAAM,eAAe,kGAoBpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"OptionContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Options/OptionContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACtD,aAAa,CAAC,WAAW,CAAC,CAAC;AAE7B,iBAAS,eAAe,CAAC,KAAK,EAAE,oBAAoB,+BAUnD;AAED,eAAe,eAAe,CAAC"}
@@ -4,7 +4,21 @@ export type OptionType<TValue = string | number, TLabel = ReactNode> = [
4
4
  label: TLabel,
5
5
  selected?: boolean,
6
6
  disabled?: boolean,
7
- type?: 'heading' | 'divider' | 'option',
7
+ type?: 'option',
8
+ url?: string
9
+ ] | [
10
+ value: TValue,
11
+ label: ReactNode,
12
+ selected: unknown,
13
+ disabled: unknown,
14
+ type: 'heading',
15
+ url?: string
16
+ ] | [
17
+ value: TValue,
18
+ label: unknown,
19
+ selected: unknown,
20
+ disabled: unknown,
21
+ type: 'divider',
8
22
  url?: string
9
23
  ];
10
24
  //# sourceMappingURL=OptionType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionType.d.ts","sourceRoot":"","sources":["../../../src/components/Options/OptionType.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,UAAU,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,MAAM,GAAG,SAAS,IAAI;IACrE,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;IAClB,QAAQ,CAAC,EAAE,OAAO;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ;IACvC,GAAG,CAAC,EAAE,MAAM;CACb,CAAC"}
1
+ {"version":3,"file":"OptionType.d.ts","sourceRoot":"","sources":["../../../src/components/Options/OptionType.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,UAAU,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,MAAM,GAAG,SAAS,IAC/D;IACE,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;IAClB,QAAQ,CAAC,EAAE,OAAO;IAClB,IAAI,CAAC,EAAE,QAAQ;IACf,GAAG,CAAC,EAAE,MAAM;CACb,GACD;IACE,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,SAAS;IACf,GAAG,CAAC,EAAE,MAAM;CACb,GACD;IACE,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,OAAO;IACjB,IAAI,EAAE,SAAS;IACf,GAAG,CAAC,EAAE,MAAM;CACb,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { ComponentType, ForwardRefExoticComponent, PropsWithoutRef, ReactNode, RefAttributes } from 'react';
1
+ import type { ComponentType, MouseEventHandler, ReactNode, RefAttributes } from 'react';
2
2
  import { type BoxProps } from '../Box';
3
3
  import type { OptionType } from './OptionType';
4
- export type OptionsProps<TValue = string | number, TLabel = ReactNode> = Omit<BoxProps, 'onSelect'> & {
4
+ export type OptionsProps<TValue extends string | number = string | number, TLabel = ReactNode> = Omit<BoxProps, 'ref' | 'onSelect'> & RefAttributes<HTMLElement> & {
5
5
  multiple?: boolean;
6
6
  options: OptionType<TValue, TLabel>[];
7
7
  cursor: number;
@@ -11,6 +11,8 @@ export type OptionsProps<TValue = string | number, TLabel = ReactNode> = Omit<Bo
11
11
  value: TValue;
12
12
  selected?: boolean;
13
13
  focus?: boolean;
14
+ disabled?: boolean;
15
+ onMouseDown: MouseEventHandler;
14
16
  }>;
15
17
  renderEmpty?: ComponentType<{
16
18
  customEmpty?: string;
@@ -18,8 +20,6 @@ export type OptionsProps<TValue = string | number, TLabel = ReactNode> = Omit<Bo
18
20
  onSelect: (option: OptionType<TValue, TLabel>) => void;
19
21
  customEmpty?: string;
20
22
  };
21
- declare const Options: ForwardRefExoticComponent<PropsWithoutRef<OptionsProps> & RefAttributes<HTMLElement>> & {
22
- <TValue = string | number, TLabel = ReactNode>(props: PropsWithoutRef<OptionsProps<TValue, TLabel>> & RefAttributes<HTMLElement>): ReactNode;
23
- };
23
+ declare function Options<TValue extends string | number = string | number, TLabel = ReactNode>({ maxHeight, multiple, renderEmpty: EmptyComponent, options, cursor, renderItem: OptionComponent, onSelect, customEmpty, id, ...props }: OptionsProps<TValue, TLabel>): import("react").JSX.Element;
24
24
  export default Options;
25
25
  //# sourceMappingURL=Options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,yBAAyB,EACzB,eAAe,EACf,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AQ,EACR,WAAW,EAAE,cAA6B,EAC1C,OAAO,EACP,MAAM,EACN,UAAU,EAAE,eAAwB,EACpC,QAAQ,EACR,WAAW,EACX,EAAE,EACF,GAAG,KAAK,EACT,EAAE,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,+BAgF9B;AAED,eAAe,OAAO,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { ComponentType, ElementType, MouseEvent, ReactNode } from 'react';
1
+ import type { ComponentType, ElementType, MouseEvent, ReactNode, RefAttributes } from 'react';
2
2
  import { type BoxProps } from '../Box';
3
3
  import type { OptionProps } from '../Option';
4
- export type OptionsPaginatedProps = Omit<BoxProps, 'onSelect'> & {
4
+ export type OptionsPaginatedProps = Omit<BoxProps, 'ref' | 'onSelect'> & RefAttributes<Element> & {
5
5
  multiple?: boolean;
6
6
  options: {
7
7
  value: string | number;
@@ -25,29 +25,9 @@ export type OptionsPaginatedProps = Omit<BoxProps, 'onSelect'> & {
25
25
  endReached?: (start?: number | undefined, end?: number | undefined) => void;
26
26
  };
27
27
  export declare const Empty: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
28
- export declare const CheckOption: import("react").NamedExoticComponent<OptionProps>;
29
- export declare const OptionsPaginated: import("react").ForwardRefExoticComponent<Omit<BoxProps, "onSelect"> & {
30
- multiple?: boolean;
31
- options: {
32
- value: string | number;
33
- label: string;
34
- selected?: boolean;
35
- }[];
36
- cursor: number;
37
- withTitle?: boolean;
38
- renderItem?: ComponentType<{
39
- role?: string;
40
- label?: ReactNode;
41
- title?: string;
42
- selected?: boolean;
43
- index?: number;
44
- focus?: boolean;
45
- value?: string | number;
46
- onMouseDown?: (e: MouseEvent<HTMLElement>) => void;
47
- }>;
48
- renderEmpty?: ElementType<object>;
49
- onSelect: (option: [unknown, string]) => void;
50
- endReached?: (start?: number | undefined, end?: number | undefined) => void;
51
- } & import("react").RefAttributes<Element>>;
28
+ type CheckOptionProps = OptionProps;
29
+ export declare const CheckOption: import("react").NamedExoticComponent<CheckOptionProps>;
30
+ export declare function OptionsPaginated({ ref, withTitle, multiple, renderEmpty: EmptyComponent, options, cursor, renderItem: OptionComponent, onSelect, endReached, ...props }: OptionsPaginatedProps): import("react").JSX.Element;
52
31
  export declare const useVisible: (initialVisibility?: import("../AnimatedVisibility").VisibilityType) => ("hidden" | "visible" | "hiding" | "unhiding" | (() => void) | undefined)[];
32
+ export {};
53
33
  //# sourceMappingURL=OptionsPaginated.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OptionsPaginated.d.ts","sourceRoot":"","sources":["../../../src/components/OptionsPaginated/OptionsPaginated.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM/E,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAI7C,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IACzE,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,aAAa,CAAC;QACzB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,SAAS,CAAC;QAClB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,WAAW,C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,MAAM,CAAC,KAAK,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;CAC7E,CAAC;AAEJ,eAAO,MAAM,KAAK,wEAAuC,CAAC;AAE1D,KAAK,gBAAgB,GAAG,WAAW,CAAC;AAEpC,eAAO,MAAM,WAAW,wDAUtB,CAAC;AAKH,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,SAAS,EACT,QAAQ,EACR,WAAW,EAAE,cAAsB,EACnC,OAAO,EACP,MAAM,EACN,UAAU,EAAE,eAAwB,EACpC,QAAQ,EACR,UAAU,EACV,GAAG,KAAK,EACT,EAAE,qBAAqB,+BAiDvB;AAED,eAAO,MAAM,UAAU,GAAI,kEAA6C,gFAMvE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedMultiSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,MAAM,iCAAiC,GAAG;IAC9C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,GAAG,yBAAyB,CAAC;AAE9B,QAAA,MAAM,4BAA4B,GAAI,uDAMnC,iCAAiC,gCA8BnC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"PaginatedMultiSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelectFiltered.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,MAAM,iCAAiC,GAAG;IAC9C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,GAAG,yBAAyB,CAAC;AAE9B,QAAA,MAAM,4BAA4B,GAAI,uDAMnC,iCAAiC,gCA6BnC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -1,5 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import type { PaginatedSelectProps } from './PaginatedSelect';
2
- export type PaginatedSelectFilteredProps = Omit<PaginatedSelectProps, 'setFilter'> & {
3
+ export type PaginatedSelectFilteredProps = Omit<PaginatedSelectProps, 'setFilter'> & RefAttributes<HTMLInputElement> & {
3
4
  setFilter: (value: string | undefined | number) => void;
4
5
  };
5
6
  declare const PaginatedSelectFiltered: ({ filter, setFilter, options, placeholder, ...props }: PaginatedSelectFilteredProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectFiltered.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAG9D,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC7C,oBAAoB,EACpB,WAAW,CACZ,GAAG;IACF,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF,QAAA,MAAM,uBAAuB,GAAI,uDAM9B,4BAA4B,gCAgC9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"PaginatedSelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,aAAa,EAAE,MAAM,OAAO,CAAC;AAKxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAG9D,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAC7C,oBAAoB,EACpB,WAAW,CACZ,GACC,aAAa,CAAC,gBAAgB,CAAC,GAAG;IAChC,SAAS,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,KAAK,IAAI,CAAC;CACzD,CAAC;AAEJ,QAAA,MAAM,uBAAuB,GAAI,uDAM9B,4BAA4B,gCAiC9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,4 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- declare const PaginatedSelectWrapper: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ type PaginatedSelectWrapperProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLDivElement>;
4
+ declare function PaginatedSelectWrapper(props: PaginatedSelectWrapperProps): import("react").JSX.Element;
3
5
  export default PaginatedSelectWrapper;
4
6
  //# sourceMappingURL=PaginatedSelectWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedSelectWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectWrapper.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,QAAA,MAAM,sBAAsB,qGAK1B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"PaginatedSelectWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,KAAK,2BAA2B,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GACtD,aAAa,CAAC,cAAc,CAAC,CAAC;AAEhC,iBAAS,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,+BAEjE;AAED,eAAe,sBAAsB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type InputBoxProps } from '../InputBox';
2
- export type PasswordInputProps = Omit<InputBoxProps, 'type'>;
3
- declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
2
+ export type PasswordInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
3
+ declare function PasswordInput(props: PasswordInputProps): import("react").JSX.Element;
4
4
  export default PasswordInput;
5
5
  //# sourceMappingURL=PasswordInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;AAE7D,QAAA,MAAM,aAAa,iHAsBlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"PasswordInput.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordInput/PasswordInput.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE/E,iBAAS,aAAa,CAAC,KAAK,EAAE,kBAAkB,+BAmB/C;AAED,eAAe,aAAa,CAAC"}
@@ -1,17 +1,11 @@
1
- import type { AllHTMLAttributes } from 'react';
2
- export type ProgressBarProps = {
1
+ import type { AllHTMLAttributes, RefAttributes } from 'react';
2
+ export type ProgressBarProps = RefAttributes<unknown> & {
3
3
  percentage: number;
4
4
  variant?: 'info' | 'success' | 'warning' | 'danger';
5
5
  error?: string;
6
6
  animated?: boolean;
7
7
  light?: boolean;
8
8
  } & Omit<AllHTMLAttributes<HTMLElement>, 'is'>;
9
- declare const ProgressBar: import("react").ForwardRefExoticComponent<{
10
- percentage: number;
11
- variant?: "info" | "success" | "warning" | "danger";
12
- error?: string;
13
- animated?: boolean;
14
- light?: boolean;
15
- } & Omit<AllHTMLAttributes<HTMLElement>, "is"> & import("react").RefAttributes<unknown>>;
9
+ declare function ProgressBar({ percentage, variant, error, animated, light, ...props }: ProgressBarProps): import("react").JSX.Element;
16
10
  export default ProgressBar;
17
11
  //# sourceMappingURL=ProgressBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAgC/C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAK/C,QAAA,MAAM,WAAW;gBAVH,MAAM;cACR,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ;YAC3C,MAAM;eACH,OAAO;YACV,OAAO;wFA0Bf,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ProgressBar/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AA+B9D,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,CAAC,GAAG;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAK/C,iBAAS,WAAW,CAAC,EACnB,UAAU,EACV,OAAgB,EAChB,KAAK,EACL,QAAQ,EACR,KAAa,EACb,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAgBlB;AAED,eAAe,WAAW,CAAC"}
@@ -1,10 +1,8 @@
1
- import type { AllHTMLAttributes, ReactNode } from 'react';
1
+ import type { AllHTMLAttributes, ReactNode, RefAttributes } from 'react';
2
2
  import { type BoxProps } from '../Box';
3
- export type RadioButtonProps = BoxProps & AllHTMLAttributes<HTMLInputElement> & {
3
+ export type RadioButtonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLInputElement> & AllHTMLAttributes<HTMLInputElement> & {
4
4
  labelChildren?: ReactNode;
5
5
  };
6
- declare const RadioButton: import("react").ForwardRefExoticComponent<BoxProps & AllHTMLAttributes<HTMLInputElement> & {
7
- labelChildren?: ReactNode;
8
- } & import("react").RefAttributes<HTMLInputElement>>;
6
+ declare function RadioButton({ className, labelChildren, ...props }: RadioButtonProps): import("react").JSX.Element;
9
7
  export default RadioButton;
10
8
  //# sourceMappingURL=RadioButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GACrC,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC;AAEJ,QAAA,MAAM,WAAW;oBAHG,SAAS;oDAmB5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEzE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAClD,aAAa,CAAC,gBAAgB,CAAC,GAC/B,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC;AAEJ,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,+BAQ5E;AAED,eAAe,WAAW,CAAC"}
@@ -1,12 +1,5 @@
1
- import type { ReactNode } from 'react';
2
1
  import { type InputBoxProps } from '../InputBox';
3
- export type SearchInputProps = Omit<InputBoxProps, 'type'> & {
4
- addon?: ReactNode;
5
- error?: string;
6
- };
7
- declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<InputBoxProps, "type"> & {
8
- addon?: ReactNode;
9
- error?: string;
10
- } & import("react").RefAttributes<HTMLInputElement>>;
2
+ export type SearchInputProps = Omit<InputBoxProps<HTMLInputElement>, 'type'>;
3
+ declare function SearchInput(props: SearchInputProps): import("react").JSX.Element;
11
4
  export default SearchInput;
12
5
  //# sourceMappingURL=SearchInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAKF,QAAA,MAAM,WAAW;YAPP,SAAS;YACT,MAAM;oDAUf,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAK7E,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAE3C;AAED,eAAe,WAAW,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { AriaSelectProps } from '@react-types/select';
2
- import type { AllHTMLAttributes, Key } from 'react';
2
+ import type { AllHTMLAttributes, Key, RefAttributes } from 'react';
3
3
  import type { SelectOption } from './SelectLegacy';
4
- export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | 'onChange' | 'children'> & {
4
+ export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | 'onChange' | 'children'> & RefAttributes<HTMLElement> & {
5
5
  error?: string;
6
6
  placeholder?: string;
7
7
  value?: V | null;
@@ -9,13 +9,6 @@ export type SelectProps<T, V extends Key> = Omit<AriaSelectProps<T>, 'value' | '
9
9
  options: SelectOption[];
10
10
  small?: boolean;
11
11
  } & Omit<AllHTMLAttributes<HTMLElement>, 'value' | 'onChange'>;
12
- declare const Select: import("react").ForwardRefExoticComponent<Omit<AriaSelectProps<object>, "value" | "children" | "onChange"> & {
13
- error?: string;
14
- placeholder?: string;
15
- value?: Key | null | undefined;
16
- onChange?: ((key: Key) => any) | undefined;
17
- options: SelectOption[];
18
- small?: boolean;
19
- } & Omit<AllHTMLAttributes<HTMLElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLElement>>;
12
+ declare function Select<T, V extends Key>({ options, ref, ...props }: SelectProps<T, V>): import("react").JSX.Element;
20
13
  export default Select;
21
14
  //# sourceMappingURL=Select.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAMpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAC9C,eAAe,CAAC,CAAC,CAAC,EAClB,OAAO,GAAG,UAAU,GAAG,UAAU,CAClC,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAK/D,QAAA,MAAM,MAAM;YAXF,MAAM;kBACA,MAAM;;8BAEI,GAAG;aAClB,YAAY,EAAE;YACf,OAAO;4GAsBhB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,WAAW,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,IAAI,IAAI,CAC9C,eAAe,CAAC,CAAC,CAAC,EAClB,OAAO,GAAG,UAAU,GAAG,UAAU,CAClC,GACC,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,KAAK,GAAG,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAKjE,iBAAS,MAAM,CAAC,CAAC,EAAE,CAAC,SAAS,GAAG,EAAE,EAChC,OAAO,EACP,GAAG,EACH,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC,+BAcnB;AAED,eAAe,MAAM,CAAC"}
@@ -1,4 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- declare const SelectAddon: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLDivElement>>;
3
+ type AddonProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLDivElement>;
4
+ declare function SelectAddon(props: AddonProps): import("react").JSX.Element;
3
5
  export default SelectAddon;
4
6
  //# sourceMappingURL=SelectAddon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,QAAA,MAAM,WAAW,qGAIhB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,KAAK,UAAU,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAExE,iBAAS,WAAW,CAAC,KAAK,EAAE,UAAU,+BAErC;AAED,eAAe,WAAW,CAAC"}
@@ -1,18 +1,12 @@
1
1
  import type { AriaSelectProps } from '@react-types/select';
2
- import type { AllHTMLAttributes, Key } from 'react';
2
+ import type { AllHTMLAttributes, Key, RefAttributes } from 'react';
3
3
  export { Item } from 'react-stately';
4
- export type SelectAriaProps<T extends object> = AriaSelectProps<T> & {
4
+ export type SelectAriaProps<T extends object> = AriaSelectProps<T> & RefAttributes<HTMLElement> & {
5
5
  error?: string;
6
6
  placeholder?: string;
7
7
  value?: Key | null;
8
8
  onChange?: (key: Key) => void;
9
9
  small?: boolean;
10
10
  } & AllHTMLAttributes<HTMLElement>;
11
- export declare const SelectAria: import("react").ForwardRefExoticComponent<AriaSelectProps<object> & {
12
- error?: string;
13
- placeholder?: string;
14
- value?: Key | null;
15
- onChange?: (key: Key) => void;
16
- small?: boolean;
17
- } & AllHTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
11
+ export declare function SelectAria({ ref: outerRef, error, placeholder, value, onChange, small, isDisabled: isDisabledProps, disabled, id, ...props }: SelectAriaProps<object>): import("react").JSX.Element;
18
12
  //# sourceMappingURL=SelectAria.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAria.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAapD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,UAAU;YAPb,MAAM;kBACA,MAAM;YACZ,GAAG,GAAG,IAAI;eACP,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI;YACrB,OAAO;gFA2FhB,CAAC"}
1
+ {"version":3,"file":"SelectAria.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAria.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAYnE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,eAAe,CAAC,CAAC,CAAC,GAChE,aAAa,CAAC,WAAW,CAAC,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAErC,wBAAgB,UAAU,CAAC,EACzB,GAAG,EAAE,QAAQ,EACb,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,KAAK,EACL,UAAU,EAAE,eAAe,EAC3B,QAAQ,EACR,EAAE,EACF,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,MAAM,CAAC,+BAyEzB"}
@@ -6,23 +6,6 @@ export type SelectFilteredProps = SelectProps & {
6
6
  setFilter?: Dispatch<SetStateAction<string>>;
7
7
  addonIcon?: IconProps['name'];
8
8
  };
9
- declare const SelectFiltered: import("react").ForwardRefExoticComponent<Omit<import("..").BoxProps, "onChange"> & {
10
- anchor?: import("react").ElementType;
11
- error?: string;
12
- options: import("./SelectLegacy").SelectOption[];
13
- onChange: (value: import("./SelectLegacy").SelectOption[0]) => void;
14
- getLabel?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[1];
15
- getValue?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[0];
16
- filter?: string;
17
- renderOptions?: import("react").ElementType;
18
- renderItem?: import("react").ElementType;
19
- renderSelected?: import("react").ElementType;
20
- customEmpty?: string;
21
- addonIcon?: IconProps["name"];
22
- } & {
23
- filter?: string;
24
- setFilter?: Dispatch<SetStateAction<string>>;
25
- addonIcon?: IconProps["name"];
26
- } & import("react").RefAttributes<HTMLInputElement>>;
9
+ declare function SelectFiltered({ options, placeholder, filter: propFilter, setFilter: propSetFilter, ...props }: SelectFilteredProps): import("react").JSX.Element;
27
10
  export default SelectFiltered;
28
11
  //# sourceMappingURL=SelectFiltered.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AAKrC,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;aALT,MAAM;gBACH,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;gBAChC,SAAS,CAAC,MAAM,CAAC;oDAkC9B,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAC;AAKrC,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEF,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,WAAW,EACX,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,aAAa,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAmBrB;AAED,eAAe,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { FocusEventHandler, KeyboardEventHandler, MouseEventHandler, ReactNode } from 'react';
2
- type SelectFilteredAnchorProps = {
1
+ import type { FocusEventHandler, KeyboardEventHandler, MouseEventHandler, ReactNode, RefAttributes } from 'react';
2
+ type SelectFilteredAnchorProps = RefAttributes<HTMLInputElement> & {
3
3
  children: ReactNode;
4
4
  disabled: boolean;
5
5
  filter: string;
@@ -10,6 +10,6 @@ type SelectFilteredAnchorProps = {
10
10
  onKeyUp: KeyboardEventHandler;
11
11
  onKeyDown: KeyboardEventHandler;
12
12
  };
13
- declare const SelectFilteredAnchor: import("react").ForwardRefExoticComponent<SelectFilteredAnchorProps & import("react").RefAttributes<HTMLInputElement>>;
13
+ declare function SelectFilteredAnchor({ children: _children, filter, onChangeFilter, placeholder, ...props }: SelectFilteredAnchorProps): import("react").JSX.Element;
14
14
  export default SelectFilteredAnchor;
15
15
  //# sourceMappingURL=SelectFilteredAnchor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFilteredAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFilteredAnchor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAKf,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;CACjC,CAAC;AAEF,QAAA,MAAM,oBAAoB,wHAsBxB,CAAC;AAEH,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"SelectFilteredAnchor.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFilteredAnchor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EAEjB,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,aAAa,EACd,MAAM,OAAO,CAAC;AAIf,KAAK,yBAAyB,GAAG,aAAa,CAAC,gBAAgB,CAAC,GAAG;IACjE,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;CACjC,CAAC;AAEF,iBAAS,oBAAoB,CAAC,EAC5B,QAAQ,EAAE,SAAS,EACnB,MAAM,EACN,cAAc,EACd,WAAW,EACX,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAe3B;AAED,eAAe,oBAAoB,CAAC"}
@@ -1,4 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- declare const SelectFocus: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<Element>>;
3
+ type SelectFocusProps = Omit<BoxProps, 'ref'> & RefAttributes<Element>;
4
+ declare function SelectFocus(props: SelectFocusProps): import("react").JSX.Element;
3
5
  export default SelectFocus;
4
6
  //# sourceMappingURL=SelectFocus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAI5C,QAAA,MAAM,WAAW,8FAchB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,KAAK,gBAAgB,GAAG,IAAI,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;AAEvE,iBAAS,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAW3C;AAED,eAAe,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ElementType } from 'react';
1
+ import type { ElementType, RefAttributes } from 'react';
2
2
  import { type BoxProps } from '../Box';
3
3
  import { type IconProps } from '../Icon';
4
4
  export type SelectOption = readonly [
@@ -6,7 +6,7 @@ export type SelectOption = readonly [
6
6
  label: string,
7
7
  selected?: boolean
8
8
  ];
9
- export type SelectProps = Omit<BoxProps, 'onChange'> & {
9
+ export type SelectProps = Omit<BoxProps, 'ref' | 'onChange'> & RefAttributes<HTMLInputElement> & {
10
10
  anchor?: ElementType;
11
11
  error?: string;
12
12
  options: SelectOption[];
@@ -20,19 +20,6 @@ export type SelectProps = Omit<BoxProps, 'onChange'> & {
20
20
  customEmpty?: string;
21
21
  addonIcon?: IconProps['name'];
22
22
  };
23
- 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>>;
23
+ declare const SelectLegacy: ({ ref, value, filter, error, disabled, options, anchor: Anchor, onChange, getValue, getLabel, placeholder, renderItem, renderSelected: RenderSelected, renderOptions: _Options, addonIcon, customEmpty, ...props }: SelectProps) => import("react").JSX.Element;
37
24
  export default SelectLegacy;
38
25
  //# 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,EAAkB,WAAW,EAAa,MAAM,OAAO,CAAC;AAKpE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAU/C,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,QAAQ,EAAE,UAAU,CAAC,GAAG;IACrD,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,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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,SAAS,CAAC,MAAM,CAAC,CAAC;CAC/B,CAAC;AAEJ,QAAA,MAAM,YAAY,GAAyB,oNAkBxC,WAAW,gCA+Ib,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,8 +1,10 @@
1
- import type { AllHTMLAttributes } from 'react';
1
+ import type { AllHTMLAttributes, RefAttributes } from 'react';
2
2
  import { type AriaButtonProps } from 'react-aria';
3
- export declare const SelectTrigger: import("react").ForwardRefExoticComponent<{
3
+ type SelectTriggerProps = AriaButtonProps & AllHTMLAttributes<HTMLButtonElement> & RefAttributes<HTMLButtonElement> & {
4
4
  small?: boolean;
5
5
  error?: string;
6
6
  focus?: boolean;
7
- } & AriaButtonProps<"button"> & AllHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
7
+ };
8
+ export declare function SelectTrigger({ ref, small, error, isDisabled, focus, id, ...props }: SelectTriggerProps): import("react").JSX.Element;
9
+ export {};
8
10
  //# sourceMappingURL=SelectTrigger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAW7D,eAAO,MAAM,aAAa;YANhB,OAAO;YACP,MAAM;YACN,OAAO;wHAmChB,CAAC"}
1
+ {"version":3,"file":"SelectTrigger.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAa,MAAM,OAAO,CAAC;AACzE,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,YAAY,CAAC;AAI7D,KAAK,kBAAkB,GAAG,eAAe,GACvC,iBAAiB,CAAC,iBAAiB,CAAC,GACpC,aAAa,CAAC,iBAAiB,CAAC,GAAG;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEJ,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,KAAK,EACL,KAAK,EACL,UAAU,EACV,KAAK,EACL,EAAE,EACF,GAAG,KAAK,EACT,EAAE,kBAAkB,+BA6BpB"}
@@ -1,17 +1,5 @@
1
- import type { ReactNode } from 'react';
2
1
  import { type InputBoxProps } from '../InputBox';
3
- export type SelectInputOptions = readonly (readonly [string, string])[];
4
- export type SelectInputProps = Omit<InputBoxProps, 'type'> & {
5
- error?: string;
6
- options?: SelectInputOptions;
7
- htmlSize?: number;
8
- addon?: ReactNode;
9
- };
10
- declare const SelectInput: import("react").ForwardRefExoticComponent<Omit<InputBoxProps, "type"> & {
11
- error?: string;
12
- options?: SelectInputOptions;
13
- htmlSize?: number;
14
- addon?: ReactNode;
15
- } & import("react").RefAttributes<HTMLElement>>;
2
+ export type SelectInputProps = Omit<InputBoxProps<HTMLSelectElement>, 'type'>;
3
+ declare function SelectInput({ ref, children, multiple, placeholder, onChange, ...props }: SelectInputProps): import("react").JSX.Element;
16
4
  export default SelectInput;
17
5
  //# sourceMappingURL=SelectInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAExE,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
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC;AAK9E,iBAAS,WAAW,CAAC,EACnB,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,+BAuClB;AAED,eAAe,WAAW,CAAC"}
@@ -1,5 +1,6 @@
1
+ import type { RefAttributes } from 'react';
1
2
  import { type BoxProps } from '../Box';
2
- export type SelectInputOptionProps = BoxProps;
3
- declare const SelectInputOption: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLOptionElement>>;
3
+ export type SelectInputOptionProps = Omit<BoxProps, 'ref'> & RefAttributes<HTMLOptionElement>;
4
+ declare function SelectInputOption(props: SelectInputOptionProps): import("react").JSX.Element;
4
5
  export default SelectInputOption;
5
6
  //# sourceMappingURL=SelectInputOption.d.ts.map