@rocket.chat/fuselage 0.66.4 → 0.68.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.
- package/README.md +2 -2
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +3 -8
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarContainer.d.ts +2 -1
- package/dist/components/Avatar/AvatarContainer.d.ts.map +1 -1
- package/dist/components/Avatar/AvatarStack.d.ts +3 -3
- package/dist/components/Avatar/AvatarStack.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts +3 -3
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Box/index.d.ts +1 -1
- package/dist/components/Box/index.d.ts.map +1 -1
- package/dist/components/Divider/Divider.d.ts +3 -3
- package/dist/components/Divider/Divider.d.ts.map +1 -1
- package/dist/components/EmailInput/EmailInput.d.ts +6 -8
- package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
- package/dist/components/Field/Field.d.ts +3 -3
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/Field/FieldDescription.d.ts +3 -3
- package/dist/components/Field/FieldDescription.d.ts.map +1 -1
- package/dist/components/Field/FieldError.d.ts +3 -3
- package/dist/components/Field/FieldError.d.ts.map +1 -1
- package/dist/components/Field/FieldHint.d.ts +3 -3
- package/dist/components/Field/FieldHint.d.ts.map +1 -1
- package/dist/components/Field/FieldLabel.d.ts +5 -1
- package/dist/components/Field/FieldLabel.d.ts.map +1 -1
- package/dist/components/Field/FieldLabelInfo.d.ts +3 -3
- package/dist/components/Field/FieldLabelInfo.d.ts.map +1 -1
- package/dist/components/Field/FieldLink.d.ts +3 -3
- package/dist/components/Field/FieldLink.d.ts.map +1 -1
- package/dist/components/Field/FieldRow.d.ts +3 -3
- package/dist/components/Field/FieldRow.d.ts.map +1 -1
- package/dist/components/Field/index.d.ts +8 -57
- package/dist/components/Field/index.d.ts.map +1 -1
- package/dist/components/InputBox/Input.d.ts +4 -3
- package/dist/components/InputBox/Input.d.ts.map +1 -1
- package/dist/components/InputBox/InputBox.d.ts +14 -13
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox/InputBoxAddon.d.ts +5 -0
- package/dist/components/InputBox/InputBoxAddon.d.ts.map +1 -0
- package/dist/components/InputBox/InputBoxSkeleton.d.ts +4 -5
- package/dist/components/InputBox/InputBoxSkeleton.d.ts.map +1 -1
- package/dist/components/InputBox/InputBoxWrapper.d.ts +5 -0
- package/dist/components/InputBox/InputBoxWrapper.d.ts.map +1 -0
- package/dist/components/InputBox/index.d.ts +3 -42
- package/dist/components/InputBox/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectAnchorParams.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts +1 -1
- package/dist/components/MultiSelect/MultiSelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarSection.d.ts +1 -1
- package/dist/components/NavBar/NavBarSection.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +3 -4
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Option/CheckOption.d.ts +4 -22
- package/dist/components/Option/CheckOption.d.ts.map +1 -1
- package/dist/components/Option/Option.d.ts +9 -12
- package/dist/components/Option/Option.d.ts.map +1 -1
- package/dist/components/Option/OptionAvatar.d.ts +1 -1
- package/dist/components/Option/OptionAvatar.d.ts.map +1 -1
- package/dist/components/Option/OptionColumn.d.ts +1 -1
- package/dist/components/Option/OptionColumn.d.ts.map +1 -1
- package/dist/components/Option/OptionContent.d.ts +2 -1
- package/dist/components/Option/OptionContent.d.ts.map +1 -1
- package/dist/components/Option/OptionDescription.d.ts +1 -1
- package/dist/components/Option/OptionDescription.d.ts.map +1 -1
- package/dist/components/Option/OptionDescriptionBlock.d.ts +2 -2
- package/dist/components/Option/OptionDescriptionBlock.d.ts.map +1 -1
- package/dist/components/Option/OptionDivider.d.ts +2 -3
- package/dist/components/Option/OptionDivider.d.ts.map +1 -1
- package/dist/components/Option/OptionHeader.d.ts +1 -1
- package/dist/components/Option/OptionHeader.d.ts.map +1 -1
- package/dist/components/Option/OptionIcon.d.ts +2 -3
- package/dist/components/Option/OptionIcon.d.ts.map +1 -1
- package/dist/components/Option/OptionInput.d.ts +1 -1
- package/dist/components/Option/OptionInput.d.ts.map +1 -1
- package/dist/components/Option/OptionMenu.d.ts +2 -4
- package/dist/components/Option/OptionMenu.d.ts.map +1 -1
- package/dist/components/Option/OptionTitle.d.ts +1 -1
- package/dist/components/Option/OptionTitle.d.ts.map +1 -1
- package/dist/components/Option/index.d.ts +14 -98
- package/dist/components/Option/index.d.ts.map +1 -1
- package/dist/components/Options/OptionContainer.d.ts +5 -0
- package/dist/components/Options/OptionContainer.d.ts.map +1 -0
- package/dist/components/Options/OptionType.d.ts +10 -0
- package/dist/components/Options/OptionType.d.ts.map +1 -0
- package/dist/components/Options/Options.d.ts +14 -20
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/Options/OptionsEmpty.d.ts +6 -0
- package/dist/components/Options/OptionsEmpty.d.ts.map +1 -0
- package/dist/components/Options/index.d.ts +4 -16
- package/dist/components/Options/index.d.ts.map +1 -1
- package/dist/components/Options/useCursor.d.ts +3 -2
- package/dist/components/Options/useCursor.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +2 -20
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +2 -2
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +3 -4
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +6 -8
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/Select/SelectAnchorParams.d.ts +1 -1
- package/dist/components/Select/SelectAnchorParams.d.ts.map +1 -1
- package/dist/components/Select/SelectFilteredAnchor.d.ts +1 -1
- package/dist/components/Select/SelectFilteredAnchor.d.ts.map +1 -1
- package/dist/components/Select/SelectTrigger.d.ts +1 -1
- package/dist/components/Select/SelectTrigger.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts +10 -5
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputOption.d.ts +5 -0
- package/dist/components/SelectInput/SelectInputOption.d.ts.map +1 -0
- package/dist/components/SelectInput/SelectInputPlaceholder.d.ts +5 -0
- package/dist/components/SelectInput/SelectInputPlaceholder.d.ts.map +1 -0
- package/dist/components/SelectInput/index.d.ts +2 -4
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +2 -2
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/components/TelephoneInput/TelephoneInput.d.ts +7 -9
- package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts +6 -8
- package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
- package/dist/components/TextInput/TextInput.d.ts +7 -4
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/UrlInput/UrlInput.d.ts +3 -4
- package/dist/components/UrlInput/UrlInput.d.ts.map +1 -1
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/fuselage.css +2 -2
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +8503 -15163
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +226 -2
- package/dist/helpers/composeClassNames.d.ts +1 -1
- package/dist/helpers/composeClassNames.d.ts.map +1 -1
- package/package.json +33 -40
- package/dist/components/InputBox/Addon.d.ts +0 -4
- package/dist/components/InputBox/Addon.d.ts.map +0 -1
- package/dist/components/InputBox/Option.d.ts +0 -4
- package/dist/components/InputBox/Option.d.ts.map +0 -1
- package/dist/components/InputBox/Placeholder.d.ts +0 -4
- package/dist/components/InputBox/Placeholder.d.ts.map +0 -1
- package/dist/components/InputBox/Wrapper.d.ts +0 -4
- package/dist/components/InputBox/Wrapper.d.ts.map +0 -1
- 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/
|
|
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/
|
|
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 +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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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
|
|
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
|
-
|
|
9
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
|
2
|
-
export
|
|
3
|
-
export
|
|
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,
|
|
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 +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;
|
|
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 {
|
|
2
|
-
import
|
|
3
|
-
type DividerProps =
|
|
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,
|
|
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 {
|
|
2
|
-
import {
|
|
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<
|
|
11
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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":"
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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.
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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":"
|
|
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 {
|
|
2
|
-
import type
|
|
3
|
-
|
|
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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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,
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
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,
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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":"
|
|
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<
|
|
3
|
+
ref: Ref<HTMLInputElement>;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
onClick: MouseEventHandler;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectAnchorParams.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelectAnchorParams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,uBAAuB,GAAG;IACpC,GAAG,EAAE,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"MultiSelectAnchorParams.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelectAnchorParams.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,uBAAuB,GAAG;IACpC,GAAG,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE,iBAAiB,CAAC;IAC1B,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;CACjC,CAAC"}
|
|
@@ -10,6 +10,6 @@ type MultiSelectFilteredAnchorProps = {
|
|
|
10
10
|
onKeyUp: KeyboardEventHandler;
|
|
11
11
|
onKeyDown: KeyboardEventHandler;
|
|
12
12
|
};
|
|
13
|
-
declare const MultiSelectFilteredAnchor: import("react").ForwardRefExoticComponent<MultiSelectFilteredAnchorProps & import("react").RefAttributes<
|
|
13
|
+
declare const MultiSelectFilteredAnchor: import("react").ForwardRefExoticComponent<MultiSelectFilteredAnchorProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
14
14
|
export default MultiSelectFilteredAnchor;
|
|
15
15
|
//# sourceMappingURL=MultiSelectFilteredAnchor.d.ts.map
|