@rocket.chat/fuselage 0.66.3 → 0.67.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 (148) hide show
  1. package/README.md +2 -2
  2. package/dist/components/Accordion/Accordion.d.ts +1 -1
  3. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  4. package/dist/components/AutoComplete/AutoComplete.d.ts +3 -3
  5. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  6. package/dist/components/Avatar/Avatar.d.ts +3 -8
  7. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  8. package/dist/components/Avatar/AvatarContainer.d.ts +2 -1
  9. package/dist/components/Avatar/AvatarContainer.d.ts.map +1 -1
  10. package/dist/components/Avatar/AvatarStack.d.ts +3 -3
  11. package/dist/components/Avatar/AvatarStack.d.ts.map +1 -1
  12. package/dist/components/Avatar/index.d.ts +3 -3
  13. package/dist/components/Avatar/index.d.ts.map +1 -1
  14. package/dist/components/Box/index.d.ts +1 -1
  15. package/dist/components/Box/index.d.ts.map +1 -1
  16. package/dist/components/Divider/Divider.d.ts +3 -3
  17. package/dist/components/Divider/Divider.d.ts.map +1 -1
  18. package/dist/components/EmailInput/EmailInput.d.ts +6 -8
  19. package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
  20. package/dist/components/Field/Field.d.ts +3 -3
  21. package/dist/components/Field/Field.d.ts.map +1 -1
  22. package/dist/components/Field/FieldDescription.d.ts +3 -3
  23. package/dist/components/Field/FieldDescription.d.ts.map +1 -1
  24. package/dist/components/Field/FieldError.d.ts +3 -3
  25. package/dist/components/Field/FieldError.d.ts.map +1 -1
  26. package/dist/components/Field/FieldHint.d.ts +3 -3
  27. package/dist/components/Field/FieldHint.d.ts.map +1 -1
  28. package/dist/components/Field/FieldLabel.d.ts +5 -1
  29. package/dist/components/Field/FieldLabel.d.ts.map +1 -1
  30. package/dist/components/Field/FieldLabelInfo.d.ts +3 -3
  31. package/dist/components/Field/FieldLabelInfo.d.ts.map +1 -1
  32. package/dist/components/Field/FieldLink.d.ts +3 -3
  33. package/dist/components/Field/FieldLink.d.ts.map +1 -1
  34. package/dist/components/Field/FieldRow.d.ts +3 -3
  35. package/dist/components/Field/FieldRow.d.ts.map +1 -1
  36. package/dist/components/Field/index.d.ts +8 -57
  37. package/dist/components/Field/index.d.ts.map +1 -1
  38. package/dist/components/InputBox/Input.d.ts +4 -3
  39. package/dist/components/InputBox/Input.d.ts.map +1 -1
  40. package/dist/components/InputBox/InputBox.d.ts +14 -13
  41. package/dist/components/InputBox/InputBox.d.ts.map +1 -1
  42. package/dist/components/InputBox/InputBoxAddon.d.ts +5 -0
  43. package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -0
  44. package/dist/components/InputBox/InputBoxSkeleton.d.ts +4 -5
  45. package/dist/components/InputBox/InputBoxSkeleton.d.ts.map +1 -1
  46. package/dist/components/InputBox/InputBoxWrapper.d.ts +5 -0
  47. package/dist/components/InputBox/InputBoxWrapper.d.ts.map +1 -0
  48. package/dist/components/InputBox/index.d.ts +3 -42
  49. package/dist/components/InputBox/index.d.ts.map +1 -1
  50. package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts +1 -1
  51. package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts.map +1 -1
  52. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +1 -1
  53. package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
  54. package/dist/components/NumberInput/NumberInput.d.ts +3 -4
  55. package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
  56. package/dist/components/Option/CheckOption.d.ts +4 -22
  57. package/dist/components/Option/CheckOption.d.ts.map +1 -1
  58. package/dist/components/Option/Option.d.ts +9 -12
  59. package/dist/components/Option/Option.d.ts.map +1 -1
  60. package/dist/components/Option/OptionAvatar.d.ts +1 -1
  61. package/dist/components/Option/OptionAvatar.d.ts.map +1 -1
  62. package/dist/components/Option/OptionColumn.d.ts +1 -1
  63. package/dist/components/Option/OptionColumn.d.ts.map +1 -1
  64. package/dist/components/Option/OptionContent.d.ts +2 -1
  65. package/dist/components/Option/OptionContent.d.ts.map +1 -1
  66. package/dist/components/Option/OptionDescription.d.ts +1 -1
  67. package/dist/components/Option/OptionDescription.d.ts.map +1 -1
  68. package/dist/components/Option/OptionDescriptionBlock.d.ts +2 -2
  69. package/dist/components/Option/OptionDescriptionBlock.d.ts.map +1 -1
  70. package/dist/components/Option/OptionDivider.d.ts +2 -3
  71. package/dist/components/Option/OptionDivider.d.ts.map +1 -1
  72. package/dist/components/Option/OptionHeader.d.ts +1 -1
  73. package/dist/components/Option/OptionHeader.d.ts.map +1 -1
  74. package/dist/components/Option/OptionIcon.d.ts +2 -3
  75. package/dist/components/Option/OptionIcon.d.ts.map +1 -1
  76. package/dist/components/Option/OptionInput.d.ts +1 -1
  77. package/dist/components/Option/OptionInput.d.ts.map +1 -1
  78. package/dist/components/Option/OptionMenu.d.ts +2 -4
  79. package/dist/components/Option/OptionMenu.d.ts.map +1 -1
  80. package/dist/components/Option/OptionTitle.d.ts +1 -1
  81. package/dist/components/Option/OptionTitle.d.ts.map +1 -1
  82. package/dist/components/Option/index.d.ts +14 -98
  83. package/dist/components/Option/index.d.ts.map +1 -1
  84. package/dist/components/Options/OptionContainer.d.ts +5 -0
  85. package/dist/components/Options/OptionContainer.d.ts.map +1 -0
  86. package/dist/components/Options/OptionType.d.ts +10 -0
  87. package/dist/components/Options/OptionType.d.ts.map +1 -0
  88. package/dist/components/Options/Options.d.ts +14 -20
  89. package/dist/components/Options/Options.d.ts.map +1 -1
  90. package/dist/components/Options/OptionsEmpty.d.ts +6 -0
  91. package/dist/components/Options/OptionsEmpty.d.ts.map +1 -0
  92. package/dist/components/Options/index.d.ts +4 -16
  93. package/dist/components/Options/index.d.ts.map +1 -1
  94. package/dist/components/Options/useCursor.d.ts +3 -2
  95. package/dist/components/Options/useCursor.d.ts.map +1 -1
  96. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +2 -20
  97. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  98. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +2 -2
  99. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  100. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
  101. package/dist/components/PasswordInput/PasswordInput.d.ts +3 -4
  102. package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
  103. package/dist/components/SearchInput/SearchInput.d.ts +6 -8
  104. package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
  105. package/dist/components/Select/SelectAnchorParams.d.ts +1 -1
  106. package/dist/components/Select/SelectAnchorParams.d.ts.map +1 -1
  107. package/dist/components/Select/SelectFilteredAnchor.d.ts +1 -1
  108. package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
  109. package/dist/components/Select/SelectTrigger.d.ts +1 -1
  110. package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
  111. package/dist/components/SelectInput/SelectInput.d.ts +10 -5
  112. package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
  113. package/dist/components/SelectInput/SelectInputOption.d.ts +5 -0
  114. package/dist/components/SelectInput/SelectInputOption.d.ts.map +1 -0
  115. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts +5 -0
  116. package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +1 -0
  117. package/dist/components/SelectInput/index.d.ts +2 -4
  118. package/dist/components/SelectInput/index.d.ts.map +1 -1
  119. package/dist/components/Sidebar/index.d.ts +1 -1
  120. package/dist/components/Skeleton/Skeleton.d.ts +2 -2
  121. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
  122. package/dist/components/TelephoneInput/TelephoneInput.d.ts +7 -9
  123. package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
  124. package/dist/components/TextAreaInput/TextAreaInput.d.ts +6 -8
  125. package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
  126. package/dist/components/TextInput/TextInput.d.ts +7 -4
  127. package/dist/components/TextInput/TextInput.d.ts.map +1 -1
  128. package/dist/components/UrlInput/UrlInput.d.ts +3 -4
  129. package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
  130. package/dist/components/index.d.ts +0 -3
  131. package/dist/components/index.d.ts.map +1 -1
  132. package/dist/fuselage.css +2 -2
  133. package/dist/fuselage.css.map +1 -1
  134. package/dist/fuselage.development.js +8504 -15154
  135. package/dist/fuselage.development.js.map +1 -1
  136. package/dist/fuselage.production.js +226 -2
  137. package/dist/helpers/composeClassNames.d.ts +1 -1
  138. package/dist/helpers/composeClassNames.d.ts.map +1 -1
  139. package/package.json +32 -39
  140. package/dist/components/InputBox/Addon.d.ts +0 -4
  141. package/dist/components/InputBox/Addon.d.ts.map +0 -1
  142. package/dist/components/InputBox/Option.d.ts +0 -4
  143. package/dist/components/InputBox/Option.d.ts.map +0 -1
  144. package/dist/components/InputBox/Placeholder.d.ts +0 -4
  145. package/dist/components/InputBox/Placeholder.d.ts.map +0 -1
  146. package/dist/components/InputBox/Wrapper.d.ts +0 -4
  147. package/dist/components/InputBox/Wrapper.d.ts.map +0 -1
  148. package/dist/fuselage.production.js.LICENSE.txt +0 -18
package/README.md CHANGED
@@ -25,11 +25,11 @@
25
25
  Firstly, install the peer dependencies (prerequisites):
26
26
 
27
27
  ```sh
28
- npm i @rocket.chat/fuselage-hooks @rocket.chat/fuselage-polyfills @rocket.chat/icons react react-dom react-virtuoso
28
+ npm i @rocket.chat/fuselage-hooks @rocket.chat/icons react react-dom react-virtuoso
29
29
 
30
30
  # or, if you are using yarn:
31
31
 
32
- yarn add @rocket.chat/fuselage-hooks @rocket.chat/fuselage-polyfills @rocket.chat/icons react react-dom react-virtuoso
32
+ yarn add @rocket.chat/fuselage-hooks @rocket.chat/icons react react-dom react-virtuoso
33
33
  ```
34
34
 
35
35
  Add `@rocket.chat/fuselage` as a dependency:
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { StylingProps } from '../Box/stylingProps';
2
+ import type { StylingProps } from '../Box/stylingProps';
3
3
  export type AccordionProps = {
4
4
  children: ReactNode;
5
5
  } & Partial<StylingProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1B;;GAEG;AACH,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,4CAMxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAE1B;;GAEG;AACH,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,4CAMxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -3,8 +3,7 @@ type AutoCompleteOption = {
3
3
  value: string;
4
4
  label: unknown;
5
5
  };
6
- type AutoCompleteProps = {
7
- value?: string | string[];
6
+ type AutoCompleteProps = Omit<AllHTMLAttributes<HTMLInputElement>, 'value' | 'onChange' | 'is'> & {
8
7
  filter: string;
9
8
  setFilter?: (filter: string) => void;
10
9
  options?: AutoCompleteOption[];
@@ -16,7 +15,8 @@ type AutoCompleteProps = {
16
15
  error?: boolean;
17
16
  disabled?: boolean;
18
17
  multiple?: boolean;
19
- } & Omit<AllHTMLAttributes<HTMLInputElement>, 'onChange'>;
18
+ value?: string | string[];
19
+ };
20
20
  /**
21
21
  * An input for selection of options.
22
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,iBAAiB,EAEjB,WAAW,EACX,YAAY,EACb,MAAM,OAAO,CAAC;AAgBf,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,CAAC;AAc1D;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,OAAY,EACZ,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,QAAQ,EACR,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EAAE,YAAuB,EAC/B,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CA8IlC"}
1
+ {"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EAGjB,WAAW,EAGX,YAAY,EAEb,MAAM,OAAO,CAAC;AAiBf,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IAEd,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAC3B,iBAAiB,CAAC,gBAAgB,CAAC,EACnC,OAAO,GAAG,UAAU,GAAG,IAAI,CAC5B,GAAG;IACF,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,CAAC;AAyBF;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,OAAY,EACZ,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,QAAQ,EACR,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EAAE,YAAuB,EAC/B,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CA8JlC"}
@@ -1,15 +1,10 @@
1
1
  import type { AllHTMLAttributes, ComponentProps } from 'react';
2
- import { AvatarContainer } from './AvatarContainer';
2
+ import AvatarContainer from './AvatarContainer';
3
3
  export type AvatarProps = ComponentProps<typeof AvatarContainer> & {
4
4
  rounded?: boolean;
5
5
  objectFit?: boolean;
6
6
  url: string;
7
7
  } & Omit<AllHTMLAttributes<HTMLImageElement>, 'size'>;
8
- export declare const Avatar: {
9
- ({ size, rounded, objectFit, url, className, alt, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element;
10
- /**
11
- * @deprecated Use named import instead
12
- */
13
- Stack: ({ children, ...props }: import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
14
- };
8
+ declare const Avatar: ({ size, rounded, objectFit, url, className, alt, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default Avatar;
15
10
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,MAAM;kEAQhB,WAAW;IAiBd;;OAEG;;CAJF,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE/D,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtD,QAAA,MAAM,MAAM,GAAI,6DAQb,WAAW,4CAeb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -2,5 +2,6 @@ import type { HTMLAttributes } from 'react';
2
2
  export type AvatarContainerProps = {
3
3
  size?: 'x16' | 'x18' | 'x20' | 'x24' | 'x28' | 'x32' | 'x36' | 'x40' | 'x48' | 'x124' | 'x200' | 'x332';
4
4
  } & HTMLAttributes<HTMLElement>;
5
- export declare const AvatarContainer: ({ size, children, ...props }: AvatarContainerProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const AvatarContainer: ({ size, children, ...props }: AvatarContainerProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default AvatarContainer;
6
7
  //# sourceMappingURL=AvatarContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/AvatarContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EACD,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;CACZ,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,eAAO,MAAM,eAAe,GAAI,8BAI7B,oBAAoB,4CAStB,CAAC"}
1
+ {"version":3,"file":"AvatarContainer.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/AvatarContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EACD,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,MAAM,GACN,MAAM,GACN,MAAM,CAAC;CACZ,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,QAAA,MAAM,eAAe,GAAI,8BAItB,oBAAoB,4CAStB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { DetailedHTMLProps, HTMLAttributes } from 'react';
2
- type AvatarStackProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
3
- export declare const AvatarStack: ({ children, ...props }: AvatarStackProps) => import("react/jsx-runtime").JSX.Element;
4
- export {};
2
+ export type AvatarStackProps = DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
3
+ declare const AvatarStack: ({ children, ...props }: AvatarStackProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default AvatarStack;
5
5
  //# sourceMappingURL=AvatarStack.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AvatarStack.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/AvatarStack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK/D,KAAK,gBAAgB,GAAG,iBAAiB,CACvC,cAAc,CAAC,cAAc,CAAC,EAC9B,cAAc,CACf,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,4CAGnE,CAAC"}
1
+ {"version":3,"file":"AvatarStack.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/AvatarStack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK/D,MAAM,MAAM,gBAAgB,GAAG,iBAAiB,CAC9C,cAAc,CAAC,cAAc,CAAC,EAC9B,cAAc,CACf,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,4CAG5D,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- export * from './Avatar';
2
- export * from './AvatarContainer';
3
- export * from './AvatarStack';
1
+ export { default as Avatar, type AvatarProps } from './Avatar';
2
+ export { default as AvatarContainer, type AvatarContainerProps, } from './AvatarContainer';
3
+ export { default as AvatarStack, type AvatarStackProps } from './AvatarStack';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,3 +1,3 @@
1
- export { default, default as Box, BoxProps } from './Box';
1
+ export { default, default as Box, type 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,OAAO,IAAI,GAAG,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1D,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,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- import Box from '../Box';
3
- type DividerProps = ComponentProps<typeof Box> & {
1
+ import type { ReactNode } from 'react';
2
+ import { type BoxProps } from '../Box';
3
+ export type DividerProps = BoxProps & {
4
4
  variation?: 'danger';
5
5
  children?: ReactNode;
6
6
  vertical?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,YAAY,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAC/C,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,GAAI,6CAA6C,YAAY,4CAmBzE,CAAC;AACF,OAAO,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG;IACpC,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,OAAO,GAAI,6CAA6C,YAAY,4CAmBzE,CAAC;AACF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,12 +1,10 @@
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
- };
1
+ import type { ReactNode } from 'react';
2
+ import { type InputBoxProps } from '../InputBox';
7
3
  /**
8
4
  * An input for email addresses.
9
5
  */
10
- export declare const EmailInput: import("react").ForwardRefExoticComponent<Omit<EmailInputProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
11
- export {};
6
+ export declare const EmailInput: import("react").ForwardRefExoticComponent<Omit<InputBoxProps, "type"> & {
7
+ addon?: ReactNode;
8
+ error?: string;
9
+ } & import("react").RefAttributes<HTMLElement>>;
12
10
  //# sourceMappingURL=EmailInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,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"}
1
+ {"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAqC3D;;GAEG;AACH,eAAO,MAAM,UAAU;YArCb,SAAS;YACT,MAAM;+CAyCd,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
3
  export declare const FieldContext: import("react").Context<boolean>;
4
- type FieldProps = ComponentPropsWithoutRef<typeof Box>;
4
+ export type FieldProps = ComponentPropsWithoutRef<typeof Box>;
5
5
  /**
6
6
  * A `Field` is a wrapper representing an entry in a form.
7
7
  */
8
- export declare function Field(props: FieldProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
8
+ declare function Field(props: FieldProps): import("react/jsx-runtime").JSX.Element;
9
+ export default Field;
10
10
  //# sourceMappingURL=Field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEvD;;GAEG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAMtC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,MAAM,MAAM,UAAU,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE9D;;GAEG;AACH,iBAAS,KAAK,CAAC,KAAK,EAAE,UAAU,2CAM/B;AAED,eAAe,KAAK,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
- type FieldDescriptionProps = ComponentPropsWithoutRef<typeof Box>;
4
- export declare const FieldDescription: (props: FieldDescriptionProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldDescriptionProps = ComponentPropsWithoutRef<typeof Box>;
4
+ declare const FieldDescription: (props: FieldDescriptionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldDescription;
6
6
  //# sourceMappingURL=FieldDescription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,qBAAqB,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAElE,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAgB5D,CAAC"}
1
+ {"version":3,"file":"FieldDescription.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEzE,QAAA,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAgBrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
- type FieldErrorProps = ComponentPropsWithoutRef<typeof Box>;
4
- export declare const FieldError: (props: FieldErrorProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldErrorProps = ComponentPropsWithoutRef<typeof Box>;
4
+ declare const FieldError: (props: FieldErrorProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldError;
6
6
  //# sourceMappingURL=FieldError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,eAAe,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE5D,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,4CAgBhD,CAAC"}
1
+ {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEnE,QAAA,MAAM,UAAU,GAAI,OAAO,eAAe,4CAgBzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
- type FieldHintProps = ComponentPropsWithoutRef<typeof Box>;
4
- export declare const FieldHint: (props: FieldHintProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldHintProps = ComponentPropsWithoutRef<typeof Box>;
4
+ declare const FieldHint: (props: FieldHintProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldHint;
6
6
  //# sourceMappingURL=FieldHint.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE3D,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CAgB9C,CAAC"}
1
+ {"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldHint.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,MAAM,MAAM,cAAc,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAElE,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,4CAgBvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,8 +1,12 @@
1
- export declare const FieldLabel: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
1
+ import type { ComponentPropsWithoutRef } from 'react';
2
+ import { Label } from '../Label';
3
+ export type FieldLabelProps = ComponentPropsWithoutRef<typeof Label>;
4
+ declare const FieldLabel: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
2
5
  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
6
  }, "is"> & {
4
7
  disabled?: boolean;
5
8
  required?: boolean;
6
9
  is?: (import("react").ElementType<any> & string) | undefined;
7
10
  }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
11
+ export default FieldLabel;
8
12
  //# sourceMappingURL=FieldLabel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU;;;;;;4GAiBtB,CAAC"}
1
+ {"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAItD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAIjC,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC,OAAO,KAAK,CAAC,CAAC;AAErE,QAAA,MAAM,UAAU;;;;;;4GAiBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import { LabelInfo } from '../Label/LabelInfo';
3
- type FieldLabelInfoProps = ComponentProps<typeof LabelInfo>;
4
- export declare const FieldLabelInfo: (props: FieldLabelInfoProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldLabelInfoProps = ComponentProps<typeof LabelInfo>;
4
+ declare const FieldLabelInfo: (props: FieldLabelInfoProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldLabelInfo;
6
6
  //# sourceMappingURL=FieldLabelInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldLabelInfo.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI/C,KAAK,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5D,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAgBxD,CAAC"}
1
+ {"version":3,"file":"FieldLabelInfo.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI/C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnE,QAAA,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAgBjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
- type FieldLinkProps = ComponentPropsWithoutRef<typeof Box>;
4
- export declare const FieldLink: (props: FieldLinkProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldLinkProps = ComponentPropsWithoutRef<typeof Box>;
4
+ declare const FieldLink: (props: FieldLinkProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldLink;
6
6
  //# sourceMappingURL=FieldLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldLink.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE3D,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CAgB9C,CAAC"}
1
+ {"version":3,"file":"FieldLink.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,MAAM,MAAM,cAAc,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAElE,QAAA,MAAM,SAAS,GAAI,OAAO,cAAc,4CAgBvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithoutRef } from 'react';
2
2
  import Box from '../Box';
3
- type FieldRowProps = ComponentPropsWithoutRef<typeof Box>;
4
- export declare const FieldRow: (props: FieldRowProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
3
+ export type FieldRowProps = ComponentPropsWithoutRef<typeof Box>;
4
+ declare const FieldRow: (props: FieldRowProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default FieldRow;
6
6
  //# sourceMappingURL=FieldRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldRow.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,aAAa,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAE1D,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,4CAgB5C,CAAC"}
1
+ {"version":3,"file":"FieldRow.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,MAAM,MAAM,aAAa,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEjE,QAAA,MAAM,QAAQ,GAAI,OAAO,aAAa,4CAgBrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,58 +1,9 @@
1
- import { Field } from './Field';
2
- import { FieldDescription } from './FieldDescription';
3
- import { FieldError } from './FieldError';
4
- import { FieldHint } from './FieldHint';
5
- import { FieldLabel } from './FieldLabel';
6
- import { FieldLabelInfo } from './FieldLabelInfo';
7
- import { FieldLink } from './FieldLink';
8
- import { FieldRow } from './FieldRow';
9
- export { Field, FieldDescription, FieldError, FieldHint, FieldLabel, FieldLabelInfo, FieldLink, FieldRow, };
10
- declare const _default: typeof Field & {
11
- /**
12
- * @deprecated Use named import `FieldLabel` instead
13
- */
14
- Label: import("react").ForwardRefExoticComponent<Omit<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"> & {
17
- disabled?: boolean;
18
- required?: boolean;
19
- is?: (import("react").ElementType<any> & string) | undefined;
20
- }, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
21
- /**
22
- * @deprecated Use named import `FieldDescription` instead
23
-
24
- */
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;
28
- /**
29
- * @deprecated Use named import `FieldRow` instead
30
-
31
- */
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;
35
- /**
36
- * @deprecated Use named import `FieldError` instead
37
-
38
- */
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;
42
- /**
43
- * @deprecated Use named import `FieldHint` instead
44
-
45
- */
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;
49
- /**
50
- * @deprecated Use named import `FieldLink` instead
51
-
52
- */
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;
56
- };
57
- export default _default;
1
+ export { default as Field, type FieldProps } from './Field';
2
+ export { default as FieldDescription, type FieldDescriptionProps, } from './FieldDescription';
3
+ export { default as FieldError, type FieldErrorProps } from './FieldError';
4
+ export { default as FieldHint, type FieldHintProps } from './FieldHint';
5
+ export { default as FieldLabel, type FieldLabelProps } from './FieldLabel';
6
+ export { default as FieldLabelInfo, type FieldLabelInfoProps, } from './FieldLabelInfo';
7
+ export { default as FieldLink, type FieldLinkProps } from './FieldLink';
8
+ export { default as FieldRow, type FieldRowProps } from './FieldRow';
58
9
  //# 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.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,qBAAqB,GAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,KAAK,mBAAmB,GACzB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1,4 +1,5 @@
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>>;
1
+ import { type BoxProps } from '../Box';
2
+ export type InputProps = BoxProps;
3
+ declare const Input: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLInputElement>>;
4
+ export default Input;
4
5
  //# 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;;4DAKhB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/Input.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC,QAAA,MAAM,KAAK,uGAKT,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -1,9 +1,6 @@
1
- import type { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';
2
- import type Box from '../Box';
3
- import type { InputBoxSkeleton } from './InputBoxSkeleton';
4
- import type { Option } from './Option';
5
- import type { Placeholder } from './Placeholder';
6
- type InputBoxProps = ComponentProps<typeof Box> & {
1
+ import type { ReactNode } from 'react';
2
+ import type { BoxProps } from '../Box';
3
+ export type InputBoxProps = BoxProps & {
7
4
  addon?: ReactNode;
8
5
  input?: ReactNode;
9
6
  multiple?: boolean;
@@ -19,11 +16,15 @@ type InputBoxProps = ComponentProps<typeof Box> & {
19
16
  * Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)
20
17
  * components over this one because it works as a construction block for them.
21
18
  */
22
- export declare const InputBox: ForwardRefExoticComponent<InputBoxProps> & {
23
- Input: ForwardRefExoticComponent<ComponentProps<typeof Box>>;
24
- Skeleton: ForwardRefExoticComponent<ComponentProps<typeof InputBoxSkeleton>>;
25
- Option: ForwardRefExoticComponent<ComponentProps<typeof Option>>;
26
- Placeholder: ForwardRefExoticComponent<ComponentProps<typeof Placeholder>>;
27
- };
28
- export {};
19
+ declare const InputBox: import("react").ForwardRefExoticComponent<BoxProps & {
20
+ addon?: ReactNode;
21
+ input?: ReactNode;
22
+ multiple?: boolean;
23
+ error?: string;
24
+ placeholder?: string;
25
+ placeholderVisible?: boolean;
26
+ small?: boolean;
27
+ 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";
28
+ } & import("react").RefAttributes<any>>;
29
+ export default InputBox;
29
30
  //# sourceMappingURL=InputBox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EAEd,yBAAyB,EACzB,SAAS,EAEV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAK9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AAEH,eAAO,MAAM,QAAQ,EA0HJ,yBAAyB,CAAC,aAAa,CAAC,GAAG;IAC1D,KAAK,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IAC7D,QAAQ,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;IAC7E,MAAM,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACjE,WAAW,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;CAC5E,CAAC"}
1
+ {"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAa,SAAS,EAAO,MAAM,OAAO,CAAC;AAGvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOvC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AAEH,QAAA,MAAM,QAAQ;YA1CJ,SAAS;YACT,SAAS;eACN,OAAO;YACV,MAAM;kBACA,MAAM;yBACC,OAAO;YACpB,OAAO;UAEX,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ;uCAoIZ,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type BoxProps } from '../Box';
2
+ export type InputBoxAddonProps = BoxProps;
3
+ declare const InputBoxAddon: import("react").ForwardRefExoticComponent<BoxProps & import("react").RefAttributes<HTMLSpanElement>>;
4
+ export default InputBoxAddon;
5
+ //# sourceMappingURL=InputBoxAddon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputBoxAddon.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxAddon.tsx"],"names":[],"mappings":"AAGA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAE1C,QAAA,MAAM,aAAa,sGAKjB,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
- import Box from '../Box';
3
- type InputBoxSkeletonProps = ComponentProps<typeof Box>;
4
- export declare const InputBoxSkeleton: (props: InputBoxSkeletonProps) => import("react/jsx-runtime").JSX.Element;
5
- export {};
1
+ import { type BoxProps } from '../Box';
2
+ export type InputBoxSkeletonProps = BoxProps;
3
+ declare const InputBoxSkeleton: (props: InputBoxSkeletonProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default InputBoxSkeleton;
6
5
  //# sourceMappingURL=InputBoxSkeleton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputBoxSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAGzB,KAAK,qBAAqB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAExD,eAAO,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAI5D,CAAC"}
1
+ {"version":3,"file":"InputBoxSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG5C,MAAM,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AAE7C,QAAA,MAAM,gBAAgB,GAAI,OAAO,qBAAqB,4CAIrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type BoxProps } from '../Box';
2
+ export type InputBoxWrapperProps = BoxProps;
3
+ declare const InputBoxWrapper: (props: InputBoxWrapperProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default InputBoxWrapper;
5
+ //# sourceMappingURL=InputBoxWrapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputBoxWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBoxWrapper.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAG5C,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;AAE5C,QAAA,MAAM,eAAe,GAAI,OAAO,oBAAoB,4CAEnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,43 +1,4 @@
1
- import { InputBoxSkeleton } from './InputBoxSkeleton';
2
- import { Option } from './Option';
3
- import { Placeholder } from './Placeholder';
4
- export * from './Input';
5
- export * from './InputBox';
6
- export * from './InputBoxSkeleton';
7
- export * from './Wrapper';
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
- } & {
11
- addon?: import("react").ReactNode;
12
- input?: import("react").ReactNode;
13
- multiple?: boolean;
14
- error?: string;
15
- placeholder?: string;
16
- placeholderVisible?: boolean;
17
- small?: boolean;
18
- 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";
19
- }> & {
20
- Input: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof import("..").Box>>;
21
- Skeleton: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof InputBoxSkeleton>>;
22
- Option: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof Option>>;
23
- Placeholder: import("react").ForwardRefExoticComponent<import("react").ComponentProps<typeof Placeholder>>;
24
- } & {
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;
31
- Wrapper: (props: import("react").ComponentProps<typeof import("..").Box>) => import("react/jsx-runtime").JSX.Element;
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>>;
41
- };
42
- export default _default;
1
+ export { default as Input, type InputProps } from './Input';
2
+ export { default as InputBox, type InputBoxProps } from './InputBox';
3
+ export { default as InputBoxSkeleton, type InputBoxSkeletonProps, } from './InputBoxSkeleton';
43
4
  //# 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":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EACL,OAAO,IAAI,gBAAgB,EAC3B,KAAK,qBAAqB,GAC3B,MAAM,oBAAoB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FocusEventHandler, KeyboardEventHandler, MouseEventHandler, ReactNode, Ref } from 'react';
2
2
  export type MultiSelectAnchorParams = {
3
- ref: Ref<Element>;
3
+ ref: Ref<HTMLInputElement>;
4
4
  children: ReactNode;
5
5
  disabled: boolean;
6
6
  onClick: MouseEventHandler;