@rocket.chat/fuselage 0.60.3 → 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 +222 -206
  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,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  export type AccordionItemProps = {
3
3
  children?: ReactNode;
4
4
  className?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAMlE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,aAAa,+GAShB,kBAAkB,4CAuFpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAMf,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,aAAa,+GAShB,kBAAkB,4CAuFpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,OAAO,CAAC;AAMf,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAUzE,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,QAAA,MAAM,MAAM,0IAeT,WAAW,4CAyEb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/Banner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,iBAAiB,EACjB,yBAAyB,EAE1B,MAAM,OAAO,CAAC;AAMf,KAAK,WAAW,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAUzE,KAAK,WAAW,GAAG;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,QAAA,MAAM,MAAM,0IAeT,WAAW,4CAyEb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -2,25 +2,17 @@ import type { cssFn } from '@rocket.chat/css-in-js';
2
2
  import type { AllHTMLAttributes, ElementType, RefAttributes, SVGAttributes } from 'react';
3
3
  import type { Falsy } from '../../types/Falsy';
4
4
  import type { StylingProps } from './stylingProps';
5
- export declare const Box: import("react").ForwardRefExoticComponent<{
5
+ export interface BoxProps extends Partial<StylingProps>, Omit<AllHTMLAttributes<HTMLElement>, 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps>, Omit<SVGAttributes<SVGElement>, keyof AllHTMLAttributes<HTMLElement> | 'elevation' | keyof StylingProps> {
6
6
  /**
7
7
  * The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.
8
8
  */
9
9
  is?: ElementType;
10
10
  className?: string | cssFn | (string | cssFn | Falsy)[];
11
11
  animated?: boolean;
12
- withRichContent?: boolean | "inlineWithoutBreaks";
13
- htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
14
- } & Partial<StylingProps> & Omit<AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<SVGAttributes<SVGElement>, "elevation" | keyof AllHTMLAttributes<HTMLElement>> & RefAttributes<any>>;
15
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
16
- /**
17
- * The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.
18
- */
19
- is?: ElementType;
20
- className?: string | cssFn | (string | cssFn | Falsy)[];
21
- animated?: boolean;
22
- withRichContent?: boolean | "inlineWithoutBreaks";
23
- htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
24
- } & Partial<StylingProps> & Omit<AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<SVGAttributes<SVGElement>, "elevation" | keyof AllHTMLAttributes<HTMLElement>> & RefAttributes<any>>>;
12
+ withRichContent?: boolean | 'inlineWithoutBreaks';
13
+ htmlSize?: AllHTMLAttributes<HTMLElement>['size'];
14
+ }
15
+ export declare const Box: import("react").ForwardRefExoticComponent<BoxProps & RefAttributes<any>>;
16
+ declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<BoxProps & RefAttributes<any>>>;
25
17
  export default _default;
26
18
  //# sourceMappingURL=Box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EAEd,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAsBnD,eAAO,MAAM,GAAG;IAlBd;;OAEG;SACE,WAAW;gBACJ,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE;eAC5C,OAAO;sBACA,OAAO,GAAG,qBAAqB;eACtC,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC;+NAsCjD,CAAC;;IA7CD;;OAEG;SACE,WAAW;gBACJ,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE;eAC5C,OAAO;sBACA,OAAO,GAAG,qBAAqB;eACtC,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC;;AAwCnD,wBAAyB"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EAEd,MAAM,OAAO,CAAC;AAKf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,MAAM,WAAW,QACf,SAAQ,OAAO,CAAC,YAAY,CAAC,EAC3B,IAAI,CACF,iBAAiB,CAAC,WAAW,CAAC,EAC9B,KAAK,GAAG,IAAI,GAAG,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,YAAY,CACvE,EACD,IAAI,CACF,aAAa,CAAC,UAAU,CAAC,EACzB,MAAM,iBAAiB,CAAC,WAAW,CAAC,GAAG,WAAW,GAAG,MAAM,YAAY,CACxE;IACH;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE,CAAC;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,GAAG,qBAAqB,CAAC;IAClD,QAAQ,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,GAAG,0EA2Bd,CAAC;;AAEH,wBAAyB"}
@@ -1,3 +1,3 @@
1
- export { default } from './Box';
1
+ export { default, default as Box, BoxProps } from './Box';
2
2
  export { default as StylingBox, type StylingBoxProps } from './StylingBox';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Box/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { StylingProps } from './stylingProps';
2
2
  export declare const useStylingProps: <TProps extends {
3
3
  className?: string;
4
- }>(originalProps: TProps & Partial<StylingProps>) => TProps;
4
+ }>(originalProps: TProps) => Omit<TProps, keyof StylingProps>;
5
5
  //# sourceMappingURL=useStylingProps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useStylingProps.d.ts","sourceRoot":"","sources":["../../../src/components/Box/useStylingProps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,eAAO,MAAM,eAAe,GAAI,MAAM,SAAS;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,iBACpD,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,KAC5C,MAYF,CAAC"}
1
+ {"version":3,"file":"useStylingProps.d.ts","sourceRoot":"","sources":["../../../src/components/Box/useStylingProps.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,eAAO,MAAM,eAAe,GAAI,MAAM,SAAS;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,iBACpD,MAAM,KACpB,IAAI,CAAC,MAAM,EAAE,MAAM,YAAY,CAYjC,CAAC"}
@@ -1,34 +1,14 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import { Icon } from '../Icon';
3
+ import type { ButtonProps } from './Button';
3
4
  type ButtonSize = {
4
5
  mini?: boolean;
5
6
  tiny?: boolean;
6
7
  small?: boolean;
7
8
  };
8
- export declare const ActionButton: import("react").ForwardRefExoticComponent<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> & {
15
- primary?: boolean;
16
- secondary?: boolean;
17
- danger?: boolean;
18
- warning?: boolean;
19
- success?: boolean;
20
- disabled?: boolean;
21
- loading?: boolean;
22
- mini?: boolean;
23
- tiny?: boolean;
24
- small?: boolean;
25
- medium?: boolean;
26
- large?: boolean;
27
- square?: boolean;
28
- external?: boolean;
29
- icon?: ComponentProps<typeof Icon>["name"];
30
- } & Omit<import("react").AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "is" | "className" | "size"> & ButtonSize & {
31
- icon: ComponentProps<typeof Icon>["name"];
32
- }, "ref"> & import("react").RefAttributes<HTMLElement>>;
9
+ type ActionButtonProps = ButtonProps & ButtonSize & {
10
+ icon: ComponentProps<typeof Icon>['name'];
11
+ };
12
+ export declare const ActionButton: import("react").ForwardRefExoticComponent<Omit<ActionButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
33
13
  export {};
34
14
  //# sourceMappingURL=ActionButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAK/B,KAAK,UAAU,GAAG;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAgBF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;UAbf,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;uDAoB5C,CAAC"}
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,KAAK,UAAU,GAAG;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AACF,KAAK,iBAAiB,GAAG,WAAW,GAClC,UAAU,GAAG;IACX,IAAI,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC3C,CAAC;AAYJ,eAAO,MAAM,YAAY,wHAOxB,CAAC"}
@@ -21,28 +21,6 @@ export type ButtonProps = ComponentProps<typeof Box> & {
21
21
  /**
22
22
  * Indicates an actionable user action.
23
23
  */
24
- export declare const Button: import("react").ForwardRefExoticComponent<Omit<{
25
- is?: import("react").ElementType;
26
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
27
- animated?: boolean;
28
- withRichContent?: boolean | "inlineWithoutBreaks";
29
- htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
30
- } & 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> & {
31
- primary?: boolean;
32
- secondary?: boolean;
33
- danger?: boolean;
34
- warning?: boolean;
35
- success?: boolean;
36
- disabled?: boolean;
37
- loading?: boolean;
38
- mini?: boolean;
39
- tiny?: boolean;
40
- small?: boolean;
41
- medium?: boolean;
42
- large?: boolean;
43
- square?: boolean;
44
- external?: boolean;
45
- icon?: ComponentProps<typeof Icon>["name"];
46
- } & Omit<AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement>, "is" | "className" | "size">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
24
+ export declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
47
25
  export default Button;
48
26
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGpE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,GAAG,IAAI,CACJ,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EACxD,IAAI,GAAG,WAAW,GAAG,MAAM,CAC5B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;cAvBP,OAAO;gBACL,OAAO;aACV,OAAO;cACN,OAAO;cACP,OAAO;eACN,OAAO;cACR,OAAO;WACV,OAAO;WACP,OAAO;YACN,OAAO;aACN,OAAO;YACR,OAAO;aACN,OAAO;eACL,OAAO;WACX,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;+KA2F1C,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGpE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,GAAG,IAAI,CACJ,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EACxD,IAAI,GAAG,WAAW,GAAG,MAAM,CAC5B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,MAAM,4IAkFjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ComponentProps, ReactElement } from 'react';
2
+ import Box from '../Box';
2
3
  import { Icon } from '../Icon';
3
4
  type ButtonSize = {
4
5
  large?: boolean;
@@ -7,8 +8,8 @@ type ButtonSize = {
7
8
  tiny?: boolean;
8
9
  mini?: boolean;
9
10
  };
10
- export declare const IconButton: import("react").ForwardRefExoticComponent<Omit<{
11
- icon: ComponentProps<typeof Icon>["name"] | ReactElement;
11
+ type IconButtonProps = {
12
+ icon: ComponentProps<typeof Icon>['name'] | ReactElement;
12
13
  primary?: boolean;
13
14
  secondary?: boolean;
14
15
  info?: boolean;
@@ -16,12 +17,7 @@ export declare const IconButton: import("react").ForwardRefExoticComponent<Omit<
16
17
  warning?: boolean;
17
18
  success?: boolean;
18
19
  pressed?: boolean;
19
- } & ButtonSize & {
20
- is?: import("react").ElementType;
21
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
22
- animated?: boolean;
23
- withRichContent?: boolean | "inlineWithoutBreaks";
24
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
25
- } & 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>>;
20
+ } & ButtonSize & ComponentProps<typeof Box>;
21
+ export declare const IconButton: import("react").ForwardRefExoticComponent<Omit<IconButtonProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
26
22
  export {};
27
23
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAO,MAAM,OAAO,CAAC;AAI/D,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AA+BF,eAAO,MAAM,UAAU;UA5Bf,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,YAAY;cAC9C,OAAO;gBACL,OAAO;WACZ,OAAO;aACL,OAAO;cACN,OAAO;cACP,OAAO;cACP,OAAO;;;;;;;kXAmHlB,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAO,MAAM,OAAO,CAAC;AAG/D,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,UAAU,GACZ,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAmB7B,eAAO,MAAM,UAAU,sHA8FtB,CAAC"}
@@ -1,11 +1,8 @@
1
- import type { AllHTMLAttributes } from 'react';
2
- export declare const CheckBox: 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> & {
1
+ import type { ComponentProps, AllHTMLAttributes } from 'react';
2
+ import Box from '../Box';
3
+ type CheckBoxProps = ComponentProps<typeof Box> & {
9
4
  indeterminate?: boolean;
10
- } & AllHTMLAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
5
+ } & AllHTMLAttributes<HTMLInputElement>;
6
+ export declare const CheckBox: import("react").ForwardRefExoticComponent<Omit<CheckBoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
7
+ export {};
11
8
  //# sourceMappingURL=CheckBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAkC,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAS/E,eAAO,MAAM,QAAQ;;;;;;;oBAHH,OAAO;kGAuCvB,CAAC"}
1
+ {"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAkB,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAChD,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,QAAQ,yHAoCnB,CAAC"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=Contextualbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;AAyCA,wBAAmC"}
1
+ {"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":";;;AAyCA,wBAAmC"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarContent.tsx"],"names":[],"mappings":";;;;;;;AAuBA,wBAA0C"}
1
+ {"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarContent.tsx"],"names":[],"mappings":";;;AAuBA,wBAA0C"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarFooter.tsx"],"names":[],"mappings":";;;;;;;AAeA,wBAAyC"}
1
+ {"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarFooter.tsx"],"names":[],"mappings":";;;AAeA,wBAAyC"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSection.tsx"],"names":[],"mappings":";;;;;;;AAyBA,wBAA0C"}
1
+ {"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSection.tsx"],"names":[],"mappings":";;;AAyBA,wBAA0C"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=Contextualbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;AAyCA,wBAAmC"}
1
+ {"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":";;;AAyCA,wBAAmC"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarContent.tsx"],"names":[],"mappings":";;;;;;;AAuBA,wBAA0C"}
1
+ {"version":3,"file":"ContextualbarContent.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarContent.tsx"],"names":[],"mappings":";;;AAuBA,wBAA0C"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarFooter.tsx"],"names":[],"mappings":";;;;;;;AAeA,wBAAyC"}
1
+ {"version":3,"file":"ContextualbarFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarFooter.tsx"],"names":[],"mappings":";;;AAeA,wBAAyC"}
@@ -1,9 +1,5 @@
1
- declare const _default: import("react").MemoExoticComponent<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 _default: import("react").MemoExoticComponent<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 _default;
9
5
  //# sourceMappingURL=ContextualbarSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarSection.tsx"],"names":[],"mappings":";;;;;;;AAwBA,wBAA0C"}
1
+ {"version":3,"file":"ContextualbarSection.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/ContextualbarSection.tsx"],"names":[],"mappings":";;;AAwBA,wBAA0C"}
@@ -1,24 +1,12 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ComponentProps, ReactNode } from 'react';
2
+ import { InputBox } from '../InputBox';
3
+ type EmailInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
4
+ addon?: ReactNode;
5
+ error?: string;
6
+ };
2
7
  /**
3
8
  * An input for email addresses.
4
9
  */
5
- export declare const EmailInput: 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<HTMLElement>>;
10
+ export declare const EmailInput: import("react").ForwardRefExoticComponent<Omit<EmailInputProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
11
+ export {};
24
12
  //# sourceMappingURL=EmailInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAwC5D;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;YArCb,SAAS;YACT,MAAM;uDAyCd,CAAC"}
1
+ {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,eAAe,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACrE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAgCF;;GAEG;AACH,eAAO,MAAM,UAAU,sHAKrB,CAAC"}
@@ -11,13 +11,9 @@ declare const _default: typeof Field & {
11
11
  /**
12
12
  * @deprecated Use named import `FieldLabel` instead
13
13
  */
14
- Label: (props: Omit<Omit<{
15
- is?: import("react").ElementType;
16
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
17
- animated?: boolean;
18
- withRichContent?: boolean | "inlineWithoutBreaks";
19
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
20
- } & 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>, "is"> & {
14
+ Label: (props: Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
15
+ 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;
16
+ }, "is"> & {
21
17
  disabled?: boolean;
22
18
  required?: boolean;
23
19
  is?: (import("react").ElementType<any> & string) | undefined;
@@ -26,57 +22,37 @@ declare const _default: typeof Field & {
26
22
  * @deprecated Use named import `FieldDescription` instead
27
23
 
28
24
  */
29
- Description: (props: 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/jsx-runtime").JSX.Element;
25
+ Description: (props: 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/jsx-runtime").JSX.Element;
36
28
  /**
37
29
  * @deprecated Use named import `FieldRow` instead
38
30
 
39
31
  */
40
- Row: (props: Omit<{
41
- is?: import("react").ElementType;
42
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
43
- animated?: boolean;
44
- withRichContent?: boolean | "inlineWithoutBreaks";
45
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
46
- } & 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/jsx-runtime").JSX.Element;
32
+ Row: (props: 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/jsx-runtime").JSX.Element;
47
35
  /**
48
36
  * @deprecated Use named import `FieldError` instead
49
37
 
50
38
  */
51
- Error: (props: 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/jsx-runtime").JSX.Element;
39
+ Error: (props: Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
40
+ 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;
41
+ }, "ref">) => import("react/jsx-runtime").JSX.Element;
58
42
  /**
59
43
  * @deprecated Use named import `FieldHint` instead
60
44
 
61
45
  */
62
- Hint: (props: Omit<{
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/jsx-runtime").JSX.Element;
46
+ Hint: (props: Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
47
+ 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;
48
+ }, "ref">) => import("react/jsx-runtime").JSX.Element;
69
49
  /**
70
50
  * @deprecated Use named import `FieldLink` instead
71
51
 
72
52
  */
73
- Link: (props: Omit<{
74
- is?: import("react").ElementType;
75
- className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
76
- animated?: boolean;
77
- withRichContent?: boolean | "inlineWithoutBreaks";
78
- htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
79
- } & 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/jsx-runtime").JSX.Element;
53
+ Link: (props: Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
54
+ 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;
55
+ }, "ref">) => import("react/jsx-runtime").JSX.Element;
80
56
  };
81
57
  export default _default;
82
58
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,QAAQ,GACT,CAAC;;IAGA;;OAEG;;;;;;;;;;;;IAEH;;;OAGG;;;;;;;;IAEH;;;OAGG;;;;;;;;IAEH;;;OAGG;;;;;;;;IAEH;;;OAGG;;;;;;;;IAEH;;;OAGG;;;;;;;;;AA5BL,wBA8BG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Field/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,KAAK,EACL,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,QAAQ,GACT,CAAC;;IAGA;;OAEG;;;;;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;;;IAEH;;;OAGG;;;;;AA5BL,wBA8BG"}
@@ -9,13 +9,9 @@ type GridProps = ComponentProps<typeof Box> & {
9
9
  };
10
10
  export declare const Grid: {
11
11
  ({ xs, sm, md, lg, xl, ...props }: GridProps): import("react/jsx-runtime").JSX.Element;
12
- Item: ({ xs, sm, md, lg, xl, ...props }: {
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> & {
12
+ Item: ({ xs, sm, md, lg, xl, ...props }: Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
13
+ 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;
14
+ } & {
19
15
  xs?: 1 | 2 | 3 | 4;
20
16
  sm?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
21
17
  md?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;