@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":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC5C,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,IAAI;uCAAsC,SAAS;;;;;;;;;;;;;;CAY/D,CAAC"}
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC5C,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,IAAI;uCAAsC,SAAS;;;;;;;;;;CAY/D,CAAC"}
@@ -5,14 +5,5 @@ export type IconProps = Omit<ComponentProps<typeof Box>, 'name' | 'size'> & {
5
5
  name: Keys;
6
6
  size?: ComponentProps<typeof Box>['width'];
7
7
  };
8
- export declare const Icon: import("react").ForwardRefExoticComponent<Omit<Omit<{
9
- is?: import("react").ElementType;
10
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
11
- animated?: boolean;
12
- withRichContent?: boolean | "inlineWithoutBreaks";
13
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
14
- } & 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>, "size" | "name"> & {
15
- name: Keys;
16
- size?: ComponentProps<typeof Box>["width"];
17
- }, "ref"> & import("react").RefAttributes<HTMLElement>>;
8
+ export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
18
9
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IAC1E,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,IAAI;;;;;;;UAJT,IAAI;WACH,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC;uDAmB1C,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IAC1E,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,IAAI,gHAgBf,CAAC"}
@@ -1,8 +1,4 @@
1
- export declare const Addon: 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<HTMLSpanElement>>;
1
+ export declare const Addon: 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<HTMLSpanElement>>;
8
4
  //# sourceMappingURL=Addon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Addon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Addon.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;sXAKhB,CAAC"}
1
+ {"version":3,"file":"Addon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Addon.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;2DAKhB,CAAC"}
@@ -1,8 +1,4 @@
1
- export declare const Input: 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<HTMLInputElement>>;
1
+ export declare const Input: 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<HTMLInputElement>>;
8
4
  //# sourceMappingURL=Input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;;;;;uXAKhB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,KAAK;;4DAKhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,yBAAyB,EACzB,SAAS,EAEV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,GAAG,MAAM,QAAQ,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AAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACjE,WAAW,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;CAC5E,CAAC"}
@@ -1,8 +1,4 @@
1
- export declare const Option: 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<HTMLInputElement>>;
1
+ export declare const Option: 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<HTMLInputElement>>;
8
4
  //# sourceMappingURL=Option.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Option.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;;;;;uXAKjB,CAAC"}
1
+ {"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Option.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,MAAM;;4DAKjB,CAAC"}
@@ -1,8 +1,4 @@
1
- export declare const Placeholder: 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<HTMLOptionElement>>;
1
+ export declare const Placeholder: 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<HTMLOptionElement>>;
8
4
  //# sourceMappingURL=Placeholder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Placeholder.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW;;;;;;wXAKtB,CAAC"}
1
+ {"version":3,"file":"Placeholder.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Placeholder.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW;;6DAKtB,CAAC"}
@@ -5,13 +5,9 @@ export * from './Input';
5
5
  export * from './InputBox';
6
6
  export * from './InputBoxSkeleton';
7
7
  export * from './Wrapper';
8
- declare const _default: import("react").ForwardRefExoticComponent<{
9
- is?: import("react").ElementType;
10
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
11
- animated?: boolean;
12
- withRichContent?: boolean | "inlineWithoutBreaks";
13
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
14
- } & 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
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
9
+ 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;
10
+ } & {
15
11
  addon?: import("react").ReactNode;
16
12
  input?: import("react").ReactNode;
17
13
  multiple?: boolean;
@@ -26,42 +22,22 @@ declare const _default: import("react").ForwardRefExoticComponent<{
26
22
  Option: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof Option>>;
27
23
  Placeholder: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof Placeholder>>;
28
24
  } & {
29
- Input: import("react").ForwardRefExoticComponent<Omit<{
30
- is?: import("react").ElementType;
31
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
32
- animated?: boolean;
33
- withRichContent?: boolean | "inlineWithoutBreaks";
34
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
35
- } & 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>>;
36
- Skeleton: (props: {
37
- is?: import("react").ElementType;
38
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
39
- animated?: boolean;
40
- withRichContent?: boolean | "inlineWithoutBreaks";
41
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
42
- } & 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>) => import("react/jsx-runtime").JSX.Element;
25
+ Input: import("react").ForwardRefExoticComponent<Omit<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<HTMLInputElement>>;
28
+ Skeleton: (props: Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
29
+ 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;
30
+ }) => import("react/jsx-runtime").JSX.Element;
43
31
  Wrapper: (props: import("react").ComponentProps<typeof import("..").Box>) => import("react/jsx-runtime").JSX.Element;
44
- Addon: import("react").ForwardRefExoticComponent<Omit<{
45
- is?: import("react").ElementType;
46
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
47
- animated?: boolean;
48
- withRichContent?: boolean | "inlineWithoutBreaks";
49
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
50
- } & 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<HTMLSpanElement>>;
51
- Placeholder: import("react").ForwardRefExoticComponent<Omit<{
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<HTMLOptionElement>>;
58
- Option: import("react").ForwardRefExoticComponent<Omit<{
59
- is?: import("react").ElementType;
60
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
61
- animated?: boolean;
62
- withRichContent?: boolean | "inlineWithoutBreaks";
63
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
64
- } & 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>>;
32
+ Addon: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
33
+ 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;
34
+ }, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
35
+ Placeholder: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
36
+ 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;
37
+ }, "ref"> & import("react").RefAttributes<HTMLOptionElement>>;
38
+ Option: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
39
+ 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;
40
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
65
41
  };
66
42
  export default _default;
67
43
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1B,wBAOG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE1B,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,KAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,MAAM,CAAC,GAAG;IACjE,OAAO,EAAE;QACP,CAAC,EAAE,EAAE,MAAM,GAAG;YACZ,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;YACxC,KAAK,CAAC,EAAE,SAAS,CAAC;YAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;YACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;SACpB,CAAC;KACH,CAAC;IAC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CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAiBF;;GAEG;AACH,eAAO,MAAM,IAAI,kGAWd,SAAS,4CAuEX,CAAC"}
@@ -15,20 +15,6 @@ export type MenuOptionProps = {
15
15
  onClick?: (event: MouseEvent<HTMLElement>) => void;
16
16
  description?: ReactNode;
17
17
  } & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;
18
- declare const MenuOption: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{
19
- is?: ComponentProps<typeof Box>["is"];
20
- id?: string;
21
- children?: ReactNode;
22
- focus?: boolean;
23
- selected?: boolean;
24
- className?: ComponentProps<typeof Box>["className"];
25
- ref?: Ref<Element>;
26
- title?: string;
27
- disabled?: boolean;
28
- value?: string;
29
- variant?: "danger" | "success" | "warning" | "primary";
30
- onClick?: (event: MouseEvent<HTMLElement>) => void;
31
- description?: ReactNode;
32
- } & Omit<AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown>>>;
18
+ declare const MenuOption: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<MenuOptionProps, "ref"> & import("react").RefAttributes<unknown>>>;
33
19
  export default MenuOption;
34
20
  //# sourceMappingURL=MenuOption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MenuOption.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/V2/MenuOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EACd,SAAS,EACT,UAAU,EACV,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC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AK,GAAG,MAAM,eAAe,CAAC;AAErC,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;IACpD,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD,QAAA,MAAM,UAAU,uJAgDf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,10 +1,8 @@
1
- export declare const MessageBlock: import("react").ForwardRefExoticComponent<Omit<{
1
+ import type { ComponentProps } from 'react';
2
+ import Box from '../Box';
3
+ type MessageBlockProps = {
2
4
  fixedWidth?: boolean;
3
- } & {
4
- is?: import("react").ElementType;
5
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
6
- animated?: boolean;
7
- withRichContent?: boolean | "inlineWithoutBreaks";
8
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
9
- } & 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<HTMLDivElement>>;
5
+ } & ComponentProps<typeof Box>;
6
+ export declare const MessageBlock: import("react").ForwardRefExoticComponent<Omit<MessageBlockProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export {};
10
8
  //# sourceMappingURL=MessageBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;iBAHV,OAAO;;;;;;;qXAerB,CAAC"}
1
+ {"version":3,"file":"MessageBlock.d.ts","sourceRoot":"","sources":["../../../src/components/Message/MessageBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,iBAAiB,GAAG;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/B,eAAO,MAAM,YAAY,2HAYxB,CAAC"}
@@ -9,16 +9,7 @@ declare const _default: (({ className, ...props }: import("react").HTMLAttribute
9
9
  * */
10
10
  Icon: (props: {
11
11
  name: "thread" | "user" | "clock" | "discussion";
12
- } & Omit<Omit<Omit<{
13
- is?: import("react").ElementType;
14
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../../types/Falsy").Falsy)[];
15
- animated?: boolean;
16
- withRichContent?: boolean | "inlineWithoutBreaks";
17
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
18
- } & 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>, "size" | "name"> & {
19
- name: import("@rocket.chat/icons").Keys;
20
- size?: import("react").ComponentProps<typeof import("../../..").Box>["width"];
21
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
12
+ } & Omit<Omit<import("../../..").IconProps, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
22
13
  /**
23
14
  * @deprecated prefer using named imports
24
15
  * */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageMetrics/MessageMetricsItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;IAGlE;;SAEK;;;;;;;;;;;;;IAEL;;SAEK;;;AAPP,wBASG;AAEH,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,kCAAkC,EAClC,2BAA2B,GAC5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/MessageMetrics/MessageMetricsItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;IAGlE;;SAEK;;;;IAEL;;SAEK;;;AAPP,wBASG;AAEH,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,kCAAkC,EAClC,2BAA2B,GAC5B,CAAC"}
@@ -6,45 +6,14 @@ declare const _default: ((props: import("react").HTMLAttributes<HTMLDivElement>)
6
6
  /**
7
7
  * @deprecated prefer using named imports
8
8
  * */
9
- Reply: (props: Omit<{
10
- is?: import("react").ElementType;
11
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
12
- animated?: boolean;
13
- withRichContent?: boolean | "inlineWithoutBreaks";
14
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
15
- } & 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> & {
16
- primary?: boolean;
17
- secondary?: boolean;
18
- danger?: boolean;
19
- warning?: boolean;
20
- success?: boolean;
21
- disabled?: boolean;
22
- loading?: boolean;
23
- mini?: boolean;
24
- tiny?: boolean;
25
- small?: boolean;
26
- medium?: boolean;
27
- large?: boolean;
28
- square?: boolean;
29
- external?: boolean;
30
- icon?: import("react").ComponentProps<typeof import("../..").Icon>["name"];
31
- } & Omit<import("react").AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "is" | "className" | "size">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
9
+ Reply: (props: Omit<import("../../Button/Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
32
10
  /**
33
11
  * @deprecated prefer using named imports
34
12
  * */
35
13
  Item: (({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element) & {
36
14
  Icon: (props: {
37
15
  name: "thread" | "user" | "clock" | "discussion";
38
- } & Omit<Omit<Omit<{
39
- is?: import("react").ElementType;
40
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
41
- animated?: boolean;
42
- withRichContent?: boolean | "inlineWithoutBreaks";
43
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
44
- } & 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>, "size" | "name"> & {
45
- name: import("@rocket.chat/icons").Keys;
46
- size?: import("react").ComponentProps<typeof import("../..").Box>["width"];
47
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
16
+ } & Omit<Omit<import("../..").IconProps, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
48
17
  Label: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
49
18
  };
50
19
  /**
@@ -68,13 +37,9 @@ declare const _default: ((props: import("react").HTMLAttributes<HTMLDivElement>)
68
37
  small?: boolean;
69
38
  tiny?: boolean;
70
39
  mini?: boolean;
71
- } & {
72
- is?: import("react").ElementType;
73
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
74
- animated?: boolean;
75
- withRichContent?: boolean | "inlineWithoutBreaks";
76
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
77
- } & 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>, "icon">) => import("react/jsx-runtime").JSX.Element;
40
+ } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
41
+ 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;
42
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "icon">) => import("react/jsx-runtime").JSX.Element;
78
43
  };
79
44
  export default _default;
80
45
  export { MessageMetrics, MessageMetricsItemAvatarRow, MessageMetricsItemAvatarRowContent, MessageMetricsItem, MessageMetricsItemIcon, MessageMetricsItemLabel, MessageMetricsFollowing, MessageMetricsReply, };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageMetrics/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,kBAAkB,EAAE,EACzB,sBAAsB,EACtB,kCAAkC,EAClC,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;;IAG1D;;SAEK;;;;;;;;;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;;;;;;;AAXP,wBAaG;AAEH,OAAO,EACL,cAAc,EACd,2BAA2B,EAC3B,kCAAkC,EAClC,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GACpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageMetrics/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,kBAAkB,EAAE,EACzB,sBAAsB,EACtB,kCAAkC,EAClC,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;;IAG1D;;SAEK;;IAEL;;SAEK;;;;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;;;AAXP,wBAaG;AAEH,OAAO,EACL,cAAc,EACd,2BAA2B,EAC3B,kCAAkC,EAClC,kBAAkB,EAClB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,GACpB,CAAC"}
@@ -14,11 +14,7 @@ export declare const MessageToolbarItem: import("react").ForwardRefExoticCompone
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<HTMLButtonElement>>;
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<HTMLButtonElement>>;
24
20
  //# sourceMappingURL=MessageToolbarItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;gbAK7B,CAAC"}
1
+ {"version":3,"file":"MessageToolbarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/MessageToolbarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;kHAK7B,CAAC"}
@@ -28,13 +28,9 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<{
28
28
  small?: boolean;
29
29
  tiny?: boolean;
30
30
  mini?: boolean;
31
- } & {
32
- is?: import("react").ElementType;
33
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
34
- animated?: boolean;
35
- withRichContent?: boolean | "inlineWithoutBreaks";
36
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
37
- } & 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<HTMLButtonElement>>;
31
+ } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
32
+ 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;
33
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
38
34
  /**
39
35
  * @deprecated prefer using named imports
40
36
  * */
@@ -59,13 +55,9 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<{
59
55
  small?: boolean;
60
56
  tiny?: boolean;
61
57
  mini?: boolean;
62
- } & {
63
- is?: import("react").ElementType;
64
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../../types/Falsy").Falsy)[];
65
- animated?: boolean;
66
- withRichContent?: boolean | "inlineWithoutBreaks";
67
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
68
- } & 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>, "icon"> & {
58
+ } & Omit<import("../../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
59
+ 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;
60
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "icon"> & {
69
61
  options: {
70
62
  [id: string]: {
71
63
  type?: "option" | "heading" | "divider";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;;;;;IAG9D;;SAEK;;;;;;;;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;;;;;oBACH,CAAC;qBAGkC,CAAC;sBAAyB,CAAC;wBAChD,CAAC;;;;;;;;;;AAhBnB,wBAaG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;;;;;IAG9D;;SAEK;;;;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;oBACH,CAAC;qBAGkC,CAAC;sBAAyB,CAAC;wBAChD,CAAC;;;;;;;;;;AAhBnB,wBAaG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC"}
@@ -31,42 +31,11 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
31
31
  highlight?: boolean;
32
32
  } & import("react").RefAttributes<HTMLDivElement>> & {
33
33
  Metrics: ((props: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element) & {
34
- Reply: (props: Omit<{
35
- is?: import("react").ElementType;
36
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
37
- animated?: boolean;
38
- withRichContent?: boolean | "inlineWithoutBreaks";
39
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
40
- } & 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> & {
41
- primary?: boolean;
42
- secondary?: boolean;
43
- danger?: boolean;
44
- warning?: boolean;
45
- success?: boolean;
46
- disabled?: boolean;
47
- loading?: boolean;
48
- mini?: boolean;
49
- tiny?: boolean;
50
- small?: boolean;
51
- medium?: boolean;
52
- large?: boolean;
53
- square?: boolean;
54
- external?: boolean;
55
- icon?: import("react").ComponentProps<typeof import("..").Icon>["name"];
56
- } & Omit<import("react").AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "is" | "className" | "size">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
34
+ Reply: (props: Omit<import("../Button/Button").ButtonProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
57
35
  Item: (({ className, ...props }: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element) & {
58
36
  Icon: (props: {
59
37
  name: "thread" | "user" | "clock" | "discussion";
60
- } & Omit<Omit<Omit<{
61
- is?: import("react").ElementType;
62
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
63
- animated?: boolean;
64
- withRichContent?: boolean | "inlineWithoutBreaks";
65
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
66
- } & 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>, "size" | "name"> & {
67
- name: import("@rocket.chat/icons").Keys;
68
- size?: import("react").ComponentProps<typeof import("..").Box>["width"];
69
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
38
+ } & Omit<Omit<import("..").IconProps, "ref"> & import("react").RefAttributes<HTMLElement>, "name">) => import("react/jsx-runtime").JSX.Element;
70
39
  Label: (props: import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
71
40
  };
72
41
  Following: ({ name, badge, ...props }: {
@@ -87,13 +56,9 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
87
56
  small?: boolean;
88
57
  tiny?: boolean;
89
58
  mini?: boolean;
90
- } & {
91
- is?: import("react").ElementType;
92
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
93
- animated?: boolean;
94
- withRichContent?: boolean | "inlineWithoutBreaks";
95
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
96
- } & 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>, "icon">) => import("react/jsx-runtime").JSX.Element;
59
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
60
+ 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;
61
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "icon">) => import("react/jsx-runtime").JSX.Element;
97
62
  };
98
63
  Toolbar: import("react").ForwardRefExoticComponent<Omit<{
99
64
  align?: "start" | "center" | "end";
@@ -118,13 +83,9 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
118
83
  small?: boolean;
119
84
  tiny?: boolean;
120
85
  mini?: boolean;
121
- } & {
122
- is?: import("react").ElementType;
123
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
124
- animated?: boolean;
125
- withRichContent?: boolean | "inlineWithoutBreaks";
126
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
127
- } & 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<HTMLButtonElement>>;
86
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
87
+ 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;
88
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
128
89
  Wrapper: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & {
129
90
  visible?: boolean;
130
91
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -143,13 +104,9 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
143
104
  small?: boolean;
144
105
  tiny?: boolean;
145
106
  mini?: boolean;
146
- } & {
147
- is?: import("react").ElementType;
148
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
149
- animated?: boolean;
150
- withRichContent?: boolean | "inlineWithoutBreaks";
151
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
152
- } & 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>, "icon"> & {
107
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
108
+ 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;
109
+ }, "ref"> & import("react").RefAttributes<HTMLElement>, "icon"> & {
153
110
  options: {
154
111
  [id: string]: {
155
112
  type?: "option" | "heading" | "divider";
@@ -174,13 +131,9 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
174
131
  }) => import("react").ReactElement;
175
132
  Block: import("react").ForwardRefExoticComponent<Omit<{
176
133
  fixedWidth?: boolean;
177
- } & {
178
- is?: import("react").ElementType;
179
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
180
- animated?: boolean;
181
- withRichContent?: boolean | "inlineWithoutBreaks";
182
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
183
- } & 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<HTMLDivElement>>;
134
+ } & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
135
+ 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;
136
+ }, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
184
137
  Timestamp: (props: import("react").HTMLAttributes<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
185
138
  NameContainer: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("react").RefAttributes<HTMLSpanElement>>;
186
139
  Name: (props: import("react").HTMLAttributes<HTMLSpanElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAWtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9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