@rocket.chat/fuselage 0.60.2 → 0.61.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 (149) hide show
  1. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  2. package/dist/components/Accordion/AccordionItem.d.ts.map +1 -1
  3. package/dist/components/Banner/Banner.d.ts.map +1 -1
  4. package/dist/components/Box/Box.d.ts +6 -14
  5. package/dist/components/Box/Box.d.ts.map +1 -1
  6. package/dist/components/Box/index.d.ts +1 -1
  7. package/dist/components/Box/index.d.ts.map +1 -1
  8. package/dist/components/Box/useStylingProps.d.ts +1 -1
  9. package/dist/components/Box/useStylingProps.d.ts.map +1 -1
  10. package/dist/components/Button/ActionButton.d.ts +5 -25
  11. package/dist/components/Button/ActionButton.d.ts.map +1 -1
  12. package/dist/components/Button/Button.d.ts +1 -23
  13. package/dist/components/Button/Button.d.ts.map +1 -1
  14. package/dist/components/Button/IconButton.d.ts +5 -9
  15. package/dist/components/Button/IconButton.d.ts.map +1 -1
  16. package/dist/components/CheckBox/CheckBox.d.ts +6 -9
  17. package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
  18. package/dist/components/Contextualbar/Contextualbar.d.ts +3 -7
  19. package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
  20. package/dist/components/Contextualbar/ContextualbarContent.d.ts +3 -7
  21. package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
  22. package/dist/components/Contextualbar/ContextualbarFooter.d.ts +3 -7
  23. package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
  24. package/dist/components/Contextualbar/ContextualbarSection.d.ts +3 -7
  25. package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
  26. package/dist/components/ContextualbarV2/Contextualbar.d.ts +3 -7
  27. package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
  28. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +3 -7
  29. package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
  30. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +3 -7
  31. package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
  32. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +3 -7
  33. package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
  34. package/dist/components/EmailInput/EmailInput.d.ts +8 -20
  35. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
  36. package/dist/components/Field/index.d.ts +18 -42
  37. package/dist/components/Field/index.d.ts.map +1 -1
  38. package/dist/components/Grid/Grid.d.ts +3 -7
  39. package/dist/components/Grid/Grid.d.ts.map +1 -1
  40. package/dist/components/Icon/Icon.d.ts +1 -10
  41. package/dist/components/Icon/Icon.d.ts.map +1 -1
  42. package/dist/components/InputBox/Addon.d.ts +3 -7
  43. package/dist/components/InputBox/Addon.d.ts.map +1 -1
  44. package/dist/components/InputBox/Input.d.ts +3 -7
  45. package/dist/components/InputBox/Input.d.ts.map +1 -1
  46. package/dist/components/InputBox/InputBox.d.ts.map +1 -1
  47. package/dist/components/InputBox/Option.d.ts +3 -7
  48. package/dist/components/InputBox/Option.d.ts.map +1 -1
  49. package/dist/components/InputBox/Placeholder.d.ts +3 -7
  50. package/dist/components/InputBox/Placeholder.d.ts.map +1 -1
  51. package/dist/components/InputBox/index.d.ts +18 -42
  52. package/dist/components/InputBox/index.d.ts.map +1 -1
  53. package/dist/components/Menu/Menu.d.ts.map +1 -1
  54. package/dist/components/Menu/V2/MenuOption.d.ts +1 -15
  55. package/dist/components/Menu/V2/MenuOption.d.ts.map +1 -1
  56. package/dist/components/Message/MessageBlock.d.ts +6 -8
  57. package/dist/components/Message/MessageBlock.d.ts.map +1 -1
  58. package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts +1 -10
  59. package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts.map +1 -1
  60. package/dist/components/Message/MessageMetrics/index.d.ts +5 -40
  61. package/dist/components/Message/MessageMetrics/index.d.ts.map +1 -1
  62. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -7
  63. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
  64. package/dist/components/Message/MessageToolbar/index.d.ts +6 -14
  65. package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -1
  66. package/dist/components/Message/index.d.ts +14 -61
  67. package/dist/components/Message/index.d.ts.map +1 -1
  68. package/dist/components/Modal/Modal.d.ts +6 -10
  69. package/dist/components/Modal/Modal.d.ts.map +1 -1
  70. package/dist/components/Modal/index.d.ts +3 -7
  71. package/dist/components/Modal/index.d.ts.map +1 -1
  72. package/dist/components/MultiSelect/MultiSelect.d.ts +9 -12
  73. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  74. package/dist/components/NavBar/NavBarItem.d.ts +3 -7
  75. package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
  76. package/dist/components/Option/CheckOption.d.ts +4 -2
  77. package/dist/components/Option/CheckOption.d.ts.map +1 -1
  78. package/dist/components/Option/Option.d.ts +10 -9
  79. package/dist/components/Option/Option.d.ts.map +1 -1
  80. package/dist/components/Option/index.d.ts +8 -19
  81. package/dist/components/Option/index.d.ts.map +1 -1
  82. package/dist/components/Options/Options.d.ts +13 -21
  83. package/dist/components/Options/Options.d.ts.map +1 -1
  84. package/dist/components/Options/index.d.ts +3 -7
  85. package/dist/components/Options/index.d.ts.map +1 -1
  86. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +20 -22
  87. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  88. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +3 -3
  89. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  90. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +3 -7
  91. package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
  92. package/dist/components/RadioButton/RadioButton.d.ts +5 -8
  93. package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
  94. package/dist/components/SearchInput/SearchInput.d.ts +8 -20
  95. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  96. package/dist/components/Select/Select.d.ts +1 -1
  97. package/dist/components/Select/Select.d.ts.map +1 -1
  98. package/dist/components/Select/SelectAddon.d.ts +3 -7
  99. package/dist/components/Select/SelectAddon.d.ts.map +1 -1
  100. package/dist/components/Select/SelectFiltered.d.ts +1 -24
  101. package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
  102. package/dist/components/Select/SelectFocus.d.ts +3 -7
  103. package/dist/components/Select/SelectFocus.d.ts.map +1 -1
  104. package/dist/components/Select/SelectLegacy.d.ts +1 -20
  105. package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
  106. package/dist/components/SelectInput/SelectInput.d.ts +8 -21
  107. package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
  108. package/dist/components/SelectInput/index.d.ts +3 -7
  109. package/dist/components/SelectInput/index.d.ts.map +1 -1
  110. package/dist/components/Sidebar/SidebarActions.d.ts +3 -7
  111. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  112. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +3 -7
  113. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  114. package/dist/components/Sidebar/TopBar/index.d.ts +3 -7
  115. package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
  116. package/dist/components/Sidebar/index.d.ts +6 -14
  117. package/dist/components/Sidebar/index.d.ts.map +1 -1
  118. package/dist/components/SidebarV2/SidebarAction.d.ts +3 -7
  119. package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
  120. package/dist/components/SidebarV2/hooks/useCollapse.d.ts +1 -1
  121. package/dist/components/SidebarV2/hooks/useCollapse.d.ts.map +1 -1
  122. package/dist/components/Tabs/Tabs.d.ts +3 -7
  123. package/dist/components/Tabs/TabsItem.d.ts +6 -8
  124. package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
  125. package/dist/components/TelephoneInput/TelephoneInput.d.ts +9 -21
  126. package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
  127. package/dist/components/TextAreaInput/TextAreaInput.d.ts +8 -20
  128. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
  129. package/dist/components/TextInput/TextInput.d.ts +1 -19
  130. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  131. package/dist/components/Throbber/Throbber.d.ts +9 -11
  132. package/dist/components/Throbber/Throbber.d.ts.map +1 -1
  133. package/dist/components/Tile/Tile.d.ts +3 -7
  134. package/dist/components/Tile/Tile.d.ts.map +1 -1
  135. package/dist/components/ToastBar/ToastBar.d.ts +1 -1
  136. package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
  137. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -7
  138. package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  139. package/dist/components/Tooltip/Tooltip.d.ts +7 -10
  140. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  141. package/dist/fuselage.development.js +223 -207
  142. package/dist/fuselage.development.js.map +1 -1
  143. package/dist/fuselage.production.js +1 -1
  144. package/dist/fuselage.production.js.LICENSE.txt +5 -10
  145. package/dist/hooks/useBoxOnlyProps.d.ts +0 -2
  146. package/dist/hooks/useBoxOnlyProps.d.ts.map +1 -1
  147. package/dist/testing.d.ts +1 -11
  148. package/dist/testing.d.ts.map +1 -1
  149. package/package.json +12 -12
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAO,cAAc,EAAE,MAAM,OAAO,CAAC;AAG3E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AAIjC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,GAAG;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;aALhB,MAAM;gBACH,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;gBAChC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;4DAgC/C,CAAC"}
1
+ {"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAO,cAAc,EAAE,MAAM,OAAO,CAAC;AAG3E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,GAAG,CAAC;AAIjC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,GAAG;IACtE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,cAAc,+HA6BzB,CAAC"}
@@ -1,9 +1,5 @@
1
- declare const SelectFocus: import("react").ForwardRefExoticComponent<Omit<{
2
- is?: import("react").ElementType;
3
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
4
- animated?: boolean;
5
- withRichContent?: boolean | "inlineWithoutBreaks";
6
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
7
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<Element>>;
1
+ declare const SelectFocus: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
2
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
3
+ }, "ref"> & import("react").RefAttributes<Element>>;
8
4
  export default SelectFocus;
9
5
  //# sourceMappingURL=SelectFocus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,WAAW;;;;;;8WAef,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"SelectFocus.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFocus.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,WAAW;;mDAef,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -20,24 +20,5 @@ export type SelectProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {
20
20
  customEmpty?: string;
21
21
  addonIcon?: ComponentProps<typeof Icon>['name'];
22
22
  };
23
- export declare const SelectLegacy: import("react").ForwardRefExoticComponent<Omit<Omit<{
24
- is?: ElementType;
25
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
26
- animated?: boolean;
27
- withRichContent?: boolean | "inlineWithoutBreaks";
28
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
29
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "onChange"> & {
30
- anchor?: ElementType;
31
- error?: string;
32
- options: SelectOption[];
33
- onChange: (value: SelectOption[0]) => void;
34
- getLabel?: (params: SelectOption) => SelectOption[1];
35
- getValue?: (params: SelectOption) => SelectOption[0];
36
- filter?: string;
37
- renderOptions?: ElementType;
38
- renderItem?: ElementType;
39
- renderSelected?: ElementType;
40
- customEmpty?: string;
41
- addonIcon?: ComponentProps<typeof Icon>["name"];
42
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ export declare const SelectLegacy: import("react").ForwardRefExoticComponent<Omit<SelectProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
43
24
  //# sourceMappingURL=SelectLegacy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectLegacy.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectLegacy.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EAEZ,MAAM,OAAO,CAAC;AAKf,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAU/B,MAAM,MAAM,YAAY,GAAG,SAAS;IAClC,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;CACnB,CAAC;AAoBF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;aAdd,WAAW;YACZ,MAAM;aACL,YAAY,EAAE;cACb,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI;eAC/B,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;eACzC,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;aAC3C,MAAM;oBACC,WAAW;iBACd,WAAW;qBACP,WAAW;kBACd,MAAM;gBACR,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;4DAmLhD,CAAC"}
1
+ {"version":3,"file":"SelectLegacy.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectLegacy.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAGd,WAAW,EAEZ,MAAM,OAAO,CAAC;AAKf,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAU/B,MAAM,MAAM,YAAY,GAAG,SAAS;IAClC,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,CAAC,EAAE,OAAO;CACnB,CAAC;AAoBF,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,YAAY,uHAgLxB,CAAC"}
@@ -1,28 +1,15 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import { InputBox } from '../InputBox';
2
3
  type SelectInputOptions = readonly (readonly [string, string])[];
3
- /**
4
- * An input for selection of options.
5
- */
6
- export declare const SelectInput: import("react").ForwardRefExoticComponent<Omit<Omit<{
7
- is?: import("react").ElementType;
8
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
9
- animated?: boolean;
10
- withRichContent?: boolean | "inlineWithoutBreaks";
11
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
12
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
13
- addon?: ReactNode;
14
- input?: ReactNode;
15
- multiple?: boolean;
16
- error?: string;
17
- placeholder?: string;
18
- placeholderVisible?: boolean;
19
- small?: boolean;
20
- 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";
21
- }, "type"> & {
4
+ type SelectInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
22
5
  error?: string;
23
6
  options?: SelectInputOptions;
24
7
  htmlSize?: number;
25
8
  addon?: ReactNode;
26
- }, "ref"> & import("react").RefAttributes<HTMLElement>>;
9
+ };
10
+ /**
11
+ * An input for selection of options.
12
+ */
13
+ export declare const SelectInput: import("react").ForwardRefExoticComponent<Omit<SelectInputProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
27
14
  export {};
28
15
  //# 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,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAM5D,KAAK,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AASjE;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;YATd,MAAM;cACJ,kBAAkB;eACjB,MAAM;YACT,SAAS;uDAgDjB,CAAC"}
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAa,SAAS,EAAO,MAAM,OAAO,CAAC;AAIvE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAEjE,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,uHA0CtB,CAAC"}
@@ -1,9 +1,5 @@
1
1
  export * from './SelectInput';
2
- export declare const SelectInputOption: import("react").ForwardRefExoticComponent<Omit<{
3
- is?: import("react").ElementType;
4
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
5
- animated?: boolean;
6
- withRichContent?: boolean | "inlineWithoutBreaks";
7
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
8
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
2
+ export declare const SelectInputOption: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
3
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
4
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
9
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAE9B,eAAO,MAAM,iBAAiB;;;;;;uXAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAE9B,eAAO,MAAM,iBAAiB;;4DAAS,CAAC"}
@@ -22,11 +22,7 @@ export declare const SidebarAction: import("react").ForwardRefExoticComponent<Om
22
22
  small?: boolean;
23
23
  tiny?: boolean;
24
24
  mini?: boolean;
25
- } & {
26
- is?: import("react").ElementType;
27
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
28
- animated?: boolean;
29
- withRichContent?: boolean | "inlineWithoutBreaks";
30
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
31
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
25
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
26
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
27
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
32
28
  //# sourceMappingURL=SidebarActions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAQjD,eAAO,MAAM,cAAc;;;;;;;2JAKzB,CAAC;AAIH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;uaAKxB,CAAC"}
1
+ {"version":3,"file":"SidebarActions.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAQjD,eAAO,MAAM,cAAc;;;;;;;2JAKzB,CAAC;AAIH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
@@ -14,11 +14,7 @@ export declare const TopBarAction: import("react").ForwardRefExoticComponent<Omi
14
14
  small?: boolean;
15
15
  tiny?: boolean;
16
16
  mini?: boolean;
17
- } & {
18
- is?: import("react").ElementType;
19
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
20
- animated?: boolean;
21
- withRichContent?: boolean | "inlineWithoutBreaks";
22
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
23
- } & Partial<import("../../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
17
+ } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
18
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
19
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
24
20
  //# sourceMappingURL=TopBarAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;+dAKvB,CAAC"}
1
+ {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;iKAKvB,CAAC"}
@@ -48,13 +48,9 @@ declare const _default: (({ className, ...props }: {
48
48
  small?: boolean;
49
49
  tiny?: boolean;
50
50
  mini?: boolean;
51
- } & {
52
- is?: import("react").ElementType;
53
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
54
- animated?: boolean;
55
- withRichContent?: boolean | "inlineWithoutBreaks";
56
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
57
- } & Partial<import("../../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
51
+ } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
52
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
53
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
58
54
  /** @deprecated use named import instead */
59
55
  Divider: () => import("react/jsx-runtime").JSX.Element;
60
56
  /** @deprecated use named import instead */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC;;;;;IAGjC,2CAA2C;;;;;IAE3C,2CAA2C;;;;;IAE3C,2CAA2C;;;;IAE3C,2CAA2C;;cAXvB,KAAK;;IAazB,2CAA2C;;;;;;;;;IAE3C,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;IAE3C,2CAA2C;;IAE3C,2CAA2C;;;;;AAf7C,wBAiBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY;UAFH,KAAK;CAEO,CAAC;;;;;IAGjC,2CAA2C;;;;;IAE3C,2CAA2C;;;;;IAE3C,2CAA2C;;;;IAE3C,2CAA2C;;cAXvB,KAAK;;IAazB,2CAA2C;;;;;;;;;IAE3C,2CAA2C;;;;;;;;;;;;;;;;;;;IAE3C,2CAA2C;;IAE3C,2CAA2C;;;;;AAf7C,wBAiBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
@@ -45,13 +45,9 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
45
45
  small?: boolean;
46
46
  tiny?: boolean;
47
47
  mini?: boolean;
48
- } & {
49
- is?: import("react").ElementType;
50
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
51
- animated?: boolean;
52
- withRichContent?: boolean | "inlineWithoutBreaks";
53
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
54
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
48
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
49
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
50
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
55
51
  Divider: () => import("react/jsx-runtime").JSX.Element;
56
52
  Title: (props: {
57
53
  children?: import("react").ReactNode;
@@ -123,13 +119,9 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
123
119
  small?: boolean;
124
120
  tiny?: boolean;
125
121
  mini?: boolean;
126
- } & {
127
- is?: import("react").ElementType;
128
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
129
- animated?: boolean;
130
- withRichContent?: boolean | "inlineWithoutBreaks";
131
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
132
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
122
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
123
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
124
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
133
125
  Badge: ({ className, ...props }: {
134
126
  children?: import("react").ReactNode;
135
127
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,UAAW,YAAY,4CAAmC,CAAC;iCAAhD,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3C,wBAMG;AAEH,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,WAAW,CAAC;AACtD,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,UAAW,YAAY,4CAAmC,CAAC;iCAAhD,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3C,wBAMG;AAEH,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,WAAW,CAAC;AACtD,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -14,11 +14,7 @@ export declare const SidebarAction: import("react").ForwardRefExoticComponent<Om
14
14
  small?: boolean;
15
15
  tiny?: boolean;
16
16
  mini?: boolean;
17
- } & {
18
- is?: import("react").ElementType;
19
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
20
- animated?: boolean;
21
- withRichContent?: boolean | "inlineWithoutBreaks";
22
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
23
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
17
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
18
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
19
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
24
20
  //# sourceMappingURL=SidebarAction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;uaAKxB,CAAC"}
1
+ {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { KeyboardEventHandler, MouseEvent } from 'react';
1
+ import { type KeyboardEventHandler, type MouseEvent } from 'react';
2
2
  export declare const useCollapse: ({ expanded: propExpanded, defaultExpanded, disabled, noncollapsible, tabIndex, }: {
3
3
  expanded?: boolean;
4
4
  defaultExpanded?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useCollapse.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/hooks/useCollapse.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAK9D,eAAO,MAAM,WAAW,qFAMrB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;;8BASyB,UAAU,CAAC,WAAW,CAAC;;;;;;;CAyChD,CAAC"}
1
+ {"version":3,"file":"useCollapse.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/hooks/useCollapse.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,OAAO,CAAC;AAK1E,eAAO,MAAM,WAAW,qFAMrB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;;8BASyB,UAAU,CAAC,WAAW,CAAC;;;;;;;CAyChD,CAAC"}
@@ -8,13 +8,9 @@ type TabsProps = ComponentProps<typeof Box> & {
8
8
  */
9
9
  export declare function Tabs({ children, divider, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
10
10
  export declare namespace Tabs {
11
- var Item: import("react").ForwardRefExoticComponent<Omit<{
12
- is?: import("react").ElementType;
13
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
14
- animated?: boolean;
15
- withRichContent?: boolean | "inlineWithoutBreaks";
16
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
17
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
11
+ var Item: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
12
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
13
+ } & {
18
14
  selected?: boolean;
19
15
  disabled?: boolean;
20
16
  }, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,11 +1,9 @@
1
- export declare const TabsItem: import("react").ForwardRefExoticComponent<Omit<{
2
- is?: import("react").ElementType;
3
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
4
- animated?: boolean;
5
- withRichContent?: boolean | "inlineWithoutBreaks";
6
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
7
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
1
+ import type { ComponentProps } from 'react';
2
+ import Box from '../Box';
3
+ type TabsItemProps = ComponentProps<typeof Box> & {
8
4
  selected?: boolean;
9
5
  disabled?: boolean;
10
- }, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ };
7
+ export declare const TabsItem: import("react").ForwardRefExoticComponent<Omit<TabsItemProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ export {};
11
9
  //# sourceMappingURL=TabsItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabsItem.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsItem.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,QAAQ;;;;;;;eAJR,OAAO;eACP,OAAO;6DAoBlB,CAAC"}
1
+ {"version":3,"file":"TabsItem.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,QAAQ,0HAiBnB,CAAC"}
@@ -1,25 +1,13 @@
1
- import type { ReactNode } from 'react';
2
- /**
3
- * An input for telephone numbers.
4
- */
5
- export declare const TelephoneInput: import("react").ForwardRefExoticComponent<Omit<Omit<{
6
- is?: import("react").ElementType;
7
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
8
- animated?: boolean;
9
- withRichContent?: boolean | "inlineWithoutBreaks";
10
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
11
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import { InputBox } from '../InputBox';
3
+ type TelephoneInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
12
4
  addon?: ReactNode;
13
5
  input?: ReactNode;
14
- multiple?: boolean;
15
6
  error?: string;
16
- placeholder?: string;
17
- placeholderVisible?: boolean;
18
- small?: boolean;
19
- 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";
20
- }, "type"> & {
21
- addon?: ReactNode;
22
- input?: ReactNode;
23
- error?: string;
24
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
7
+ };
8
+ /**
9
+ * An input for telephone numbers.
10
+ */
11
+ export declare const TelephoneInput: import("react").ForwardRefExoticComponent<Omit<TelephoneInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
12
+ export {};
25
13
  //# sourceMappingURL=TelephoneInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TelephoneInput.d.ts","sourceRoot":"","sources":["../../../src/components/TelephoneInput/TelephoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAW5D;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;YARjB,SAAS;YACT,SAAS;YACT,MAAM;4DAWd,CAAC"}
1
+ {"version":3,"file":"TelephoneInput.d.ts","sourceRoot":"","sources":["../../../src/components/TelephoneInput/TelephoneInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,mBAAmB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACzE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,+HAKzB,CAAC"}
@@ -1,24 +1,12 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import { InputBox } from '../InputBox';
3
+ type TextAreaInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
4
+ addon?: ReactNode;
5
+ error?: string;
6
+ };
2
7
  /**
3
8
  * An input for multi-line plain-text editing.
4
9
  */
5
- export declare const TextAreaInput: import("react").ForwardRefExoticComponent<Omit<Omit<{
6
- is?: import("react").ElementType;
7
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
8
- animated?: boolean;
9
- withRichContent?: boolean | "inlineWithoutBreaks";
10
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
11
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
12
- addon?: ReactNode;
13
- input?: ReactNode;
14
- multiple?: boolean;
15
- error?: string;
16
- placeholder?: string;
17
- placeholderVisible?: boolean;
18
- small?: boolean;
19
- 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";
20
- }, "type"> & {
21
- addon?: ReactNode;
22
- error?: string;
23
- }, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
10
+ export declare const TextAreaInput: import("react").ForwardRefExoticComponent<Omit<TextAreaInputProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
11
+ export {};
24
12
  //# sourceMappingURL=TextAreaInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextAreaInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextAreaInput/TextAreaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAU5D;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;YAPhB,SAAS;YACT,MAAM;+DAWd,CAAC"}
1
+ {"version":3,"file":"TextAreaInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextAreaInput/TextAreaInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,kBAAkB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACxE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,iIAKxB,CAAC"}
@@ -7,23 +7,5 @@ export type TextInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
7
7
  /**
8
8
  * An input for any kind of single-line text.
9
9
  */
10
- export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<Omit<{
11
- is?: import("react").ElementType;
12
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
13
- animated?: boolean;
14
- withRichContent?: boolean | "inlineWithoutBreaks";
15
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
16
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
17
- addon?: ReactNode;
18
- input?: ReactNode;
19
- multiple?: boolean;
20
- error?: string;
21
- placeholder?: string;
22
- placeholderVisible?: boolean;
23
- small?: boolean;
24
- 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";
25
- }, "type"> & {
26
- addon?: ReactNode;
27
- error?: string;
28
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
10
+ export declare const TextInput: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
29
11
  //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IAC3E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;YAPZ,SAAS;YACT,MAAM;4DAWd,CAAC"}
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../src/components/TextInput/TextInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IAC3E,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,0HAKpB,CAAC"}
@@ -1,15 +1,13 @@
1
- /**
2
- * Indicates content that has not loaded yet.
3
- */
4
- export declare const Throbber: import("react").ForwardRefExoticComponent<Omit<Omit<{
5
- is?: import("react").ElementType;
6
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
7
- animated?: boolean;
8
- withRichContent?: boolean | "inlineWithoutBreaks";
9
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
10
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "disabled"> & {
1
+ import type { ComponentProps } from 'react';
2
+ import Box from '../Box';
3
+ type ThrobberProps = Omit<ComponentProps<typeof Box>, 'disabled'> & {
11
4
  circleCount?: number;
12
5
  disabled?: boolean;
13
6
  inheritColor?: boolean;
14
- }, "ref"> & import("react").RefAttributes<HTMLElement>>;
7
+ };
8
+ /**
9
+ * Indicates content that has not loaded yet.
10
+ */
11
+ export declare const Throbber: import("react").ForwardRefExoticComponent<Omit<ThrobberProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
12
+ export {};
15
13
  //# sourceMappingURL=Throbber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Throbber.d.ts","sourceRoot":"","sources":["../../../src/components/Throbber/Throbber.tsx"],"names":[],"mappings":"AAyCA;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;;kBArCL,MAAM;eACT,OAAO;mBACH,OAAO;uDA2DtB,CAAC"}
1
+ {"version":3,"file":"Throbber.d.ts","sourceRoot":"","sources":["../../../src/components/Throbber/Throbber.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AA+BF;;GAEG;AACH,eAAO,MAAM,QAAQ,oHAwBnB,CAAC"}
@@ -1,9 +1,5 @@
1
- declare const Tile: import("react").ForwardRefExoticComponent<Omit<{
2
- is?: import("react").ElementType;
3
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
4
- animated?: boolean;
5
- withRichContent?: boolean | "inlineWithoutBreaks";
6
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
7
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>>;
1
+ declare const Tile: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
2
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
3
+ }, "ref"> & import("react").RefAttributes<HTMLElement>>;
8
4
  export default Tile;
9
5
  //# sourceMappingURL=Tile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,IAAI;;;;;;kXAaR,CAAC;AAEH,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,IAAI;;uDAaR,CAAC;AAEH,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ReactNode, AllHTMLAttributes } from 'react';
1
+ import { type ReactNode, type AllHTMLAttributes } from 'react';
2
2
  export type ToastBarProps = {
3
3
  variant?: 'info' | 'success' | 'error';
4
4
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ToastBar.d.ts","sourceRoot":"","sources":["../../../src/components/ToastBar/ToastBar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1D,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAE/C;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAc,EACd,OAAgB,EAChB,IAAQ,EACR,QAAQ,EACR,EAAE,EACF,OAAO,EACP,WAA6B,EAC7B,GAAG,KAAK,EACT,EAAE,aAAa,2CA0Ef"}
1
+ {"version":3,"file":"ToastBar.d.ts","sourceRoot":"","sources":["../../../src/components/ToastBar/ToastBar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAS,MAAM,OAAO,CAAC;AAMtE,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;AAE/C;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,QAAQ,EACR,SAAc,EACd,OAAgB,EAChB,IAAQ,EACR,QAAQ,EACR,EAAE,EACF,OAAO,EACP,WAA6B,EAC7B,GAAG,KAAK,EACT,EAAE,aAAa,2CA0Ef"}
@@ -1,9 +1,5 @@
1
1
  import type { AllHTMLAttributes } from 'react';
2
- export declare const ToggleSwitch: import("react").ForwardRefExoticComponent<Omit<{
3
- is?: import("react").ElementType;
4
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
5
- animated?: boolean;
6
- withRichContent?: boolean | "inlineWithoutBreaks";
7
- htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
8
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & AllHTMLAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
2
+ export declare const ToggleSwitch: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
3
+ ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
4
+ } & AllHTMLAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
9
5
  //# sourceMappingURL=ToggleSwitch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAKpE,eAAO,MAAM,YAAY;;;;;;6XAmBvB,CAAC"}
1
+ {"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAKpE,eAAO,MAAM,YAAY;;kGAmBvB,CAAC"}
@@ -1,12 +1,9 @@
1
- declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<{
2
- is?: import("react").ElementType;
3
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
4
- animated?: boolean;
5
- withRichContent?: boolean | "inlineWithoutBreaks";
6
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
7
- } & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
8
- variation?: "dark" | "light";
9
- placement?: "top-start" | "top-middle" | "top-end" | "bottom-start" | "bottom-middle" | "bottom-end" | "top" | "left" | "bottom" | "right" | null;
10
- }, "ref"> & import("react").RefAttributes<HTMLElement>>;
1
+ import type { ComponentProps } from 'react';
2
+ import Box from '../Box';
3
+ type TooltipProps = ComponentProps<typeof Box> & {
4
+ variation?: 'dark' | 'light';
5
+ placement?: 'top-start' | 'top-middle' | 'top-end' | 'bottom-start' | 'bottom-middle' | 'bottom-end' | 'top' | 'left' | 'bottom' | 'right' | null;
6
+ };
7
+ declare const Tooltip: import("react").ForwardRefExoticComponent<Omit<TooltipProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
11
8
  export default Tooltip;
12
9
  //# sourceMappingURL=Tooltip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAiCA,QAAA,MAAM,OAAO;;;;;;;gBAfC,MAAM,GAAG,OAAO;gBAExB,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,GACZ,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,IAAI;uDAqBR,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAczB,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC/C,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,SAAS,CAAC,EACN,WAAW,GACX,YAAY,GACZ,SAAS,GACT,cAAc,GACd,eAAe,GACf,YAAY,GACZ,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,IAAI,CAAC;CACV,CAAC;AAEF,QAAA,MAAM,OAAO,mHAkBX,CAAC;AAEH,eAAe,OAAO,CAAC"}