@rocket.chat/fuselage-forms 1.3.0 → 1.5.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/dist/cjs/Field/Field.d.ts +2 -2
- package/dist/cjs/Field/Field.d.ts.map +1 -1
- package/dist/cjs/Field/FieldContext.d.ts +1 -2
- package/dist/cjs/Field/FieldContext.d.ts.map +1 -1
- package/dist/cjs/Field/FieldContext.js +4 -0
- package/dist/cjs/Field/FieldContext.js.map +1 -1
- package/dist/cjs/Field/FieldDescription.d.ts +2 -2
- package/dist/cjs/Field/FieldDescription.d.ts.map +1 -1
- package/dist/cjs/Field/FieldError.d.ts +2 -2
- package/dist/cjs/Field/FieldError.d.ts.map +1 -1
- package/dist/cjs/Field/FieldHint.d.ts +2 -2
- package/dist/cjs/Field/FieldHint.d.ts.map +1 -1
- package/dist/cjs/Field/FieldProvider.d.ts +2 -2
- package/dist/cjs/Field/FieldProvider.d.ts.map +1 -1
- package/dist/cjs/Field/Label/FieldLabel.d.ts +2 -2
- package/dist/cjs/Field/Label/FieldLabel.d.ts.map +1 -1
- package/dist/cjs/Field/Label/FieldLabel.js +1 -0
- package/dist/cjs/Field/Label/FieldLabel.js.map +1 -1
- package/dist/cjs/Field/Label/HiddenLabel.d.ts +2 -2
- package/dist/cjs/Field/Label/HiddenLabel.d.ts.map +1 -1
- package/dist/cjs/Field/Label/LabelFor.d.ts +2 -2
- package/dist/cjs/Field/Label/LabelFor.d.ts.map +1 -1
- package/dist/cjs/Field/Label/ReferencedLabel.d.ts +2 -2
- package/dist/cjs/Field/Label/ReferencedLabel.d.ts.map +1 -1
- package/dist/cjs/Field/Label/index.d.ts +4 -4
- package/dist/cjs/Field/Label/index.d.ts.map +1 -1
- package/dist/cjs/Field/Label/index.js.map +1 -1
- package/dist/cjs/Field/index.d.ts +5 -5
- package/dist/cjs/Field/index.d.ts.map +1 -1
- package/dist/cjs/Field/index.js.map +1 -1
- package/dist/cjs/Inputs/WrappedInputComponents.d.ts +108 -76
- package/dist/cjs/Inputs/WrappedInputComponents.d.ts.map +1 -1
- package/dist/cjs/Inputs/WrappedInputComponents.js +7 -3
- package/dist/cjs/Inputs/WrappedInputComponents.js.map +1 -1
- package/dist/cjs/Inputs/withLabelHelpers.d.ts +17 -5
- package/dist/cjs/Inputs/withLabelHelpers.d.ts.map +1 -1
- package/dist/cjs/Inputs/withLabelHelpers.js +14 -13
- package/dist/cjs/Inputs/withLabelHelpers.js.map +1 -1
- package/dist/esm/Field/Field.d.ts +2 -2
- package/dist/esm/Field/Field.d.ts.map +1 -1
- package/dist/esm/Field/FieldContext.d.ts +1 -2
- package/dist/esm/Field/FieldContext.d.ts.map +1 -1
- package/dist/esm/Field/FieldContext.js +4 -0
- package/dist/esm/Field/FieldContext.js.map +1 -1
- package/dist/esm/Field/FieldDescription.d.ts +2 -2
- package/dist/esm/Field/FieldDescription.d.ts.map +1 -1
- package/dist/esm/Field/FieldError.d.ts +2 -2
- package/dist/esm/Field/FieldError.d.ts.map +1 -1
- package/dist/esm/Field/FieldHint.d.ts +2 -2
- package/dist/esm/Field/FieldHint.d.ts.map +1 -1
- package/dist/esm/Field/FieldProvider.d.ts +2 -2
- package/dist/esm/Field/FieldProvider.d.ts.map +1 -1
- package/dist/esm/Field/Label/FieldLabel.d.ts +2 -2
- package/dist/esm/Field/Label/FieldLabel.d.ts.map +1 -1
- package/dist/esm/Field/Label/FieldLabel.js +1 -0
- package/dist/esm/Field/Label/FieldLabel.js.map +1 -1
- package/dist/esm/Field/Label/HiddenLabel.d.ts +2 -2
- package/dist/esm/Field/Label/HiddenLabel.d.ts.map +1 -1
- package/dist/esm/Field/Label/LabelFor.d.ts +2 -2
- package/dist/esm/Field/Label/LabelFor.d.ts.map +1 -1
- package/dist/esm/Field/Label/ReferencedLabel.d.ts +2 -2
- package/dist/esm/Field/Label/ReferencedLabel.d.ts.map +1 -1
- package/dist/esm/Field/Label/index.d.ts +4 -4
- package/dist/esm/Field/Label/index.d.ts.map +1 -1
- package/dist/esm/Field/Label/index.js.map +1 -1
- package/dist/esm/Field/index.d.ts +5 -5
- package/dist/esm/Field/index.d.ts.map +1 -1
- package/dist/esm/Field/index.js.map +1 -1
- package/dist/esm/Inputs/WrappedInputComponents.d.ts +108 -76
- package/dist/esm/Inputs/WrappedInputComponents.d.ts.map +1 -1
- package/dist/esm/Inputs/WrappedInputComponents.js +7 -3
- package/dist/esm/Inputs/WrappedInputComponents.js.map +1 -1
- package/dist/esm/Inputs/withLabelHelpers.d.ts +17 -5
- package/dist/esm/Inputs/withLabelHelpers.d.ts.map +1 -1
- package/dist/esm/Inputs/withLabelHelpers.js +14 -13
- package/dist/esm/Inputs/withLabelHelpers.js.map +1 -1
- package/dist/esm/tsdoc-metadata.json +11 -0
- package/package.json +22 -20
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Field as FieldComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ComponentProps, ReactNode } from 'react';
|
|
3
|
-
type FieldProps = {
|
|
3
|
+
export type FieldProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & ComponentProps<typeof FieldComponent>;
|
|
6
|
-
declare function Field({ children, ...props }: FieldProps): import("react
|
|
6
|
+
declare function Field({ children, ...props }: FieldProps): import("react").JSX.Element;
|
|
7
7
|
export default Field;
|
|
8
8
|
//# sourceMappingURL=Field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,UAAU,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,cAAc,CAC/D,OAAO,cAAc,CACtB,CAAC;AAEF,iBAAS,KAAK,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,+BAMhD;AAED,eAAe,KAAK,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode, RefCallback } from 'react';
|
|
2
|
-
type FieldContextValue = {
|
|
2
|
+
export type FieldContextValue = {
|
|
3
3
|
setDescriptor: (type: LabelTypes, unregister?: boolean) => void;
|
|
4
4
|
setLabel: (label: ReactNode) => void;
|
|
5
5
|
descriptors: Set<LabelTypes>;
|
|
@@ -37,5 +37,4 @@ export declare const useFieldWrappedByInputLabel: () => [ReactNode, {
|
|
|
37
37
|
"id": string;
|
|
38
38
|
"aria-invalid": "true" | "false";
|
|
39
39
|
}, RefCallback<HTMLElement>];
|
|
40
|
-
export {};
|
|
41
40
|
//# sourceMappingURL=FieldContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldContext.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AASpD,
|
|
1
|
+
{"version":3,"file":"FieldContext.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AASpD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,QAAQ,EAAE,CAAC,KAAK,EAAE,SAA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': 'false' };
|
|
73
73
|
};
|
|
74
|
+
// Input has id and label is htmlFor
|
|
74
75
|
const useFieldReferencedByInput = () => {
|
|
75
76
|
const { id, descriptors, setFieldType } = (0, react_1.useContext)(exports.FieldContext);
|
|
76
77
|
(0, react_1.useEffect)(() => {
|
|
@@ -83,6 +84,7 @@ const useFieldReferencedByInput = () => {
|
|
|
83
84
|
}), [descriptors, id]);
|
|
84
85
|
};
|
|
85
86
|
exports.useFieldReferencedByInput = useFieldReferencedByInput;
|
|
87
|
+
// label has id and input is aria-labelledby
|
|
86
88
|
const useFieldReferencedByLabel = () => {
|
|
87
89
|
const { id, descriptors, setFieldType } = (0, react_1.useContext)(exports.FieldContext);
|
|
88
90
|
(0, react_1.useEffect)(() => {
|
|
@@ -95,6 +97,7 @@ const useFieldReferencedByLabel = () => {
|
|
|
95
97
|
}), [descriptors, id]);
|
|
96
98
|
};
|
|
97
99
|
exports.useFieldReferencedByLabel = useFieldReferencedByLabel;
|
|
100
|
+
// label has id and input is aria-labelledby + has id for aria-controls
|
|
98
101
|
const useFieldReferencedByLabelWithId = () => {
|
|
99
102
|
const { id, descriptors, setFieldType } = (0, react_1.useContext)(exports.FieldContext);
|
|
100
103
|
(0, react_1.useEffect)(() => {
|
|
@@ -108,6 +111,7 @@ const useFieldReferencedByLabelWithId = () => {
|
|
|
108
111
|
}), [descriptors, id]);
|
|
109
112
|
};
|
|
110
113
|
exports.useFieldReferencedByLabelWithId = useFieldReferencedByLabelWithId;
|
|
114
|
+
// label is rendered visually hidden inside the inputs wrapper label
|
|
111
115
|
const useFieldWrappedByInputLabel = () => {
|
|
112
116
|
const { id, label, descriptors, setFieldType, onAction } = (0, react_1.useContext)(exports.FieldContext);
|
|
113
117
|
(0, react_1.useEffect)(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldContext.js","sourceRoot":"","sources":["../../../src/Field/FieldContext.ts"],"names":[],"mappings":";;;AAAA,gEAAiE;AAEjE,iCAMe;AAcF,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,CAAC,CAAC;IACL,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CACF,CAAC;IAEF,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC;QACJ,KAAK;QACL;YACE,kBAAkB,EAAE,cAAc,CAAC,WAAW,EAAE,EAAE,CAAC;YACnD,IAAI,EAAE,UAAU,CAAC,EAAE,EAAE,WAAW,CAAC;YACjC,GAAG,cAAc,CAAC,WAAW,CAAC;SAC/B;QACD,WAAW;KACZ,EACD,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,CAAC,CACtC,CAAC;AACJ,CAAC,CAAC;AA5CW,QAAA,2BAA2B,+BA4CtC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FieldDescription as FieldDescriptionComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
type FieldDescriptionProps = {
|
|
3
|
+
export type FieldDescriptionProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & ComponentProps<typeof FieldDescriptionComponent>;
|
|
6
|
-
declare const FieldDescription: ({ children, ...props }: FieldDescriptionProps) => import("react
|
|
6
|
+
declare const FieldDescription: ({ children, ...props }: FieldDescriptionProps) => import("react").JSX.Element;
|
|
7
7
|
export default FieldDescription;
|
|
8
8
|
//# sourceMappingURL=FieldDescription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldDescription.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,
|
|
1
|
+
{"version":3,"file":"FieldDescription.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldDescription.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AACtF,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,qBAAqB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,cAAc,CAC1E,OAAO,yBAAyB,CACjC,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAI,wBAAwB,qBAAqB,gCAQtE,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FieldError as FieldErrorComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
type FieldErrorProps = {
|
|
3
|
+
export type FieldErrorProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & ComponentProps<typeof FieldErrorComponent>;
|
|
6
|
-
declare const FieldError: ({ children, ...props }: FieldErrorProps) => import("react
|
|
6
|
+
declare const FieldError: ({ children, ...props }: FieldErrorProps) => import("react").JSX.Element;
|
|
7
7
|
export default FieldError;
|
|
8
8
|
//# sourceMappingURL=FieldError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,
|
|
1
|
+
{"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,eAAe,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,cAAc,CACpE,OAAO,mBAAmB,CAC3B,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,wBAAwB,eAAe,gCAO1D,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { FieldHint as FieldHintComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ReactNode, ComponentProps } from 'react';
|
|
3
|
-
type FieldHintProps = {
|
|
3
|
+
export type FieldHintProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
} & ComponentProps<typeof FieldHintComponent>;
|
|
6
|
-
declare const FieldHint: ({ children, ...props }: FieldHintProps) => import("react
|
|
6
|
+
declare const FieldHint: ({ children, ...props }: FieldHintProps) => import("react").JSX.Element;
|
|
7
7
|
export default FieldHint;
|
|
8
8
|
//# sourceMappingURL=FieldHint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldHint.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,
|
|
1
|
+
{"version":3,"file":"FieldHint.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldHint.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvD,MAAM,MAAM,cAAc,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,GAAG,cAAc,CACnE,OAAO,kBAAkB,CAC1B,CAAC;AAEF,QAAA,MAAM,SAAS,GAAI,wBAAwB,cAAc,gCAQxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
type FieldProviderProps = {
|
|
2
|
+
export type FieldProviderProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare function FieldProvider({ children }: FieldProviderProps): import("react
|
|
5
|
+
declare function FieldProvider({ children }: FieldProviderProps): import("react").JSX.Element;
|
|
6
6
|
export default FieldProvider;
|
|
7
7
|
//# sourceMappingURL=FieldProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldProvider.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,
|
|
1
|
+
{"version":3,"file":"FieldProvider.d.ts","sourceRoot":"","sources":["../../../src/Field/FieldProvider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,MAAM,kBAAkB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC;AAEzD,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,+BAoDtD;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FieldLabel as FieldLabelComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import { type ComponentPropsWithoutRef } from 'react';
|
|
3
|
-
type FieldLabelProps = ComponentPropsWithoutRef<typeof FieldLabelComponent>;
|
|
4
|
-
declare const FieldLabel: (props: FieldLabelProps) => import("react
|
|
3
|
+
export type FieldLabelProps = ComponentPropsWithoutRef<typeof FieldLabelComponent>;
|
|
4
|
+
declare const FieldLabel: (props: FieldLabelProps) => import("react").JSX.Element;
|
|
5
5
|
export default FieldLabel;
|
|
6
6
|
//# sourceMappingURL=FieldLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAQtD,
|
|
1
|
+
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAQtD,MAAM,MAAM,eAAe,GAAG,wBAAwB,CACpD,OAAO,mBAAmB,CAC3B,CAAC;AAEF,QAAA,MAAM,UAAU,GAAI,OAAO,eAAe,gCAWzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -13,6 +13,7 @@ const FieldLabel = (props) => {
|
|
|
13
13
|
if (fieldType === 'referencedByInput') {
|
|
14
14
|
return (0, jsx_runtime_1.jsx)(ReferencedLabel_1.default, { ...props });
|
|
15
15
|
}
|
|
16
|
+
// referencedByLabel
|
|
16
17
|
return (0, jsx_runtime_1.jsx)(LabelFor_1.default, { ...props });
|
|
17
18
|
};
|
|
18
19
|
exports.default = FieldLabel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.js","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":";;;AAGA,kDAAoD;AAEpD,+CAAwC;AACxC,yCAAkC;AAClC,uDAAgD;
|
|
1
|
+
{"version":3,"file":"FieldLabel.js","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":";;;AAGA,kDAAoD;AAEpD,+CAAwC;AACxC,yCAAkC;AAClC,uDAAgD;AAMhD,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IAC5C,MAAM,SAAS,GAAG,IAAA,gCAAiB,GAAE,CAAC;IAEtC,IAAI,SAAS,KAAK,gBAAgB,EAAE,CAAC;QACnC,OAAO,uBAAC,qBAAW,OAAK,KAAK,GAAI,CAAC;IACpC,CAAC;IACD,IAAI,SAAS,KAAK,mBAAmB,EAAE,CAAC;QACtC,OAAO,uBAAC,yBAAe,OAAK,KAAK,GAAI,CAAC;IACxC,CAAC;IACD,oBAAoB;IACpB,OAAO,uBAAC,kBAAQ,OAAK,KAAK,GAAI,CAAC;AACjC,CAAC,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldLabel as FieldLabelComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
|
-
type HiddenLabelProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
-
declare const HiddenLabel: ({ children, ...props }: HiddenLabelProps) => import("react
|
|
3
|
+
export type HiddenLabelProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
+
declare const HiddenLabel: ({ children, ...props }: HiddenLabelProps) => import("react").JSX.Element;
|
|
5
5
|
export default HiddenLabel;
|
|
6
6
|
//# sourceMappingURL=HiddenLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/HiddenLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,
|
|
1
|
+
{"version":3,"file":"HiddenLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/HiddenLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE1E,QAAA,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,gCAQ5D,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldLabel as FieldLabelComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
|
-
type LabelForProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
-
declare const LabelFor: ({ children, ...props }: LabelForProps) => import("react
|
|
3
|
+
export type LabelForProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
+
declare const LabelFor: ({ children, ...props }: LabelForProps) => import("react").JSX.Element;
|
|
5
5
|
export default LabelFor;
|
|
6
6
|
//# sourceMappingURL=LabelFor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LabelFor.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/LabelFor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,
|
|
1
|
+
{"version":3,"file":"LabelFor.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/LabelFor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,QAAA,MAAM,QAAQ,GAAI,wBAAwB,aAAa,gCAOtD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldLabel as FieldLabelComponent } from '@rocket.chat/fuselage';
|
|
2
2
|
import type { ComponentProps } from 'react';
|
|
3
|
-
type ReferencedLabelProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
-
declare const ReferencedLabel: ({ children, ...props }: ReferencedLabelProps) => import("react
|
|
3
|
+
export type ReferencedLabelProps = ComponentProps<typeof FieldLabelComponent>;
|
|
4
|
+
declare const ReferencedLabel: ({ children, ...props }: ReferencedLabelProps) => import("react").JSX.Element;
|
|
5
5
|
export default ReferencedLabel;
|
|
6
6
|
//# sourceMappingURL=ReferencedLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReferencedLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/ReferencedLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,
|
|
1
|
+
{"version":3,"file":"ReferencedLabel.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/ReferencedLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAE9E,QAAA,MAAM,eAAe,GAAI,wBAAwB,oBAAoB,gCAQpE,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as LabelFor } from './LabelFor';
|
|
2
|
-
export { default as HiddenLabel } from './HiddenLabel';
|
|
3
|
-
export { default as ReferencedLabel } from './ReferencedLabel';
|
|
4
|
-
export { default as FieldLabel } from './FieldLabel';
|
|
1
|
+
export { default as LabelFor, type LabelForProps } from './LabelFor';
|
|
2
|
+
export { default as HiddenLabel, type HiddenLabelProps } from './HiddenLabel';
|
|
3
|
+
export { default as ReferencedLabel, type ReferencedLabelProps, } from './ReferencedLabel';
|
|
4
|
+
export { default as FieldLabel, type FieldLabelProps } from './FieldLabel';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Field/Label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAC9E,OAAO,EACL,OAAO,IAAI,eAAe,EAC1B,KAAK,oBAAoB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Field/Label/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Field/Label/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqE;AAA5D,oGAAA,OAAO,OAAY;AAC5B,6CAA8E;AAArE,0GAAA,OAAO,OAAe;AAC/B,qDAG2B;AAFzB,kHAAA,OAAO,OAAmB;AAG5B,2CAA2E;AAAlE,wGAAA,OAAO,OAAc"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { default as Field } from './Field';
|
|
2
|
-
export { default as FieldProvider } from './FieldProvider';
|
|
3
|
-
export { default as FieldDescription } from './FieldDescription';
|
|
4
|
-
export { default as FieldError } from './FieldError';
|
|
5
|
-
export { default as FieldHint } from './FieldHint';
|
|
1
|
+
export { default as Field, type FieldProps } from './Field';
|
|
2
|
+
export { default as FieldProvider, type FieldProviderProps, } from './FieldProvider';
|
|
3
|
+
export { default as FieldDescription, type FieldDescriptionProps, } from './FieldDescription';
|
|
4
|
+
export { default as FieldError, type FieldErrorProps } from './FieldError';
|
|
5
|
+
export { default as FieldHint, type FieldHintProps } from './FieldHint';
|
|
6
6
|
export * from './FieldContext';
|
|
7
7
|
export * from './Label';
|
|
8
8
|
export { FieldGroup, FieldRow, FieldLink, FieldLabelInfo, } from '@rocket.chat/fuselage';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EACL,OAAO,IAAI,aAAa,EACxB,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAC;AACzB,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;AAExE,cAAc,gBAAgB,CAAC;AAE/B,cAAc,SAAS,CAAC;AAExB,OAAO,EACL,UAAU,EACV,QAAQ,EACR,SAAS,EACT,cAAc,GACf,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Field/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Field/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iCAA4D;AAAnD,8FAAA,OAAO,OAAS;AACzB,iDAGyB;AAFvB,8GAAA,OAAO,OAAiB;AAG1B,uDAG4B;AAF1B,oHAAA,OAAO,OAAoB;AAG7B,2CAA2E;AAAlE,wGAAA,OAAO,OAAc;AAC9B,yCAAwE;AAA/D,sGAAA,OAAO,OAAa;AAE7B,iDAA+B;AAE/B,0CAAwB;AAExB,kDAK+B;AAJ7B,sGAAA,UAAU,OAAA;AACV,oGAAA,QAAQ,OAAA;AACR,qGAAA,SAAS,OAAA;AACT,0GAAA,cAAc,OAAA"}
|
|
@@ -1,80 +1,112 @@
|
|
|
1
1
|
import { AutoComplete as AutoCompleteComponent, Slider as SliderComponent } from '@rocket.chat/fuselage';
|
|
2
|
-
export declare const TextInput:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const EmailInput:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
export declare const PasswordInput:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
2
|
+
export declare const TextInput: {
|
|
3
|
+
(props: import("@rocket.chat/fuselage").TextInputProps & import("react").RefAttributes<any>): import("react").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const EmailInput: {
|
|
7
|
+
(props: import("@rocket.chat/fuselage").EmailInputProps & import("react").RefAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const PasswordInput: {
|
|
11
|
+
(props: import("@rocket.chat/fuselage").PasswordInputProps & import("react").RefAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const SearchInput: {
|
|
15
|
+
(props: import("@rocket.chat/fuselage").SearchInputProps & import("react").RefAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const TextAreaInput: {
|
|
19
|
+
(props: import("@rocket.chat/fuselage").TextAreaInputProps & import("react").RefAttributes<HTMLTextAreaElement>): import("react").JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const NumberInput: {
|
|
23
|
+
(props: import("@rocket.chat/fuselage").NumberInputProps & import("react").RefAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
export declare const UrlInput: {
|
|
27
|
+
(props: import("@rocket.chat/fuselage").UrlInputProps & import("react").RefAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export declare const Select: {
|
|
31
|
+
(props: Omit<import("react-aria").AriaSelectProps<unknown>, "children" | "value" | "onChange"> & import("react").RefAttributes<HTMLElement> & {
|
|
32
|
+
error?: string;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
value?: import("react").Key | null | undefined;
|
|
35
|
+
onChange?: ((key: import("react").Key) => any) | undefined;
|
|
36
|
+
options: import("@rocket.chat/fuselage").SelectOption[];
|
|
37
|
+
small?: boolean;
|
|
38
|
+
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "value" | "onChange">): import("react").JSX.Element;
|
|
39
|
+
displayName: string;
|
|
40
|
+
};
|
|
34
41
|
export declare const AutoComplete: typeof AutoCompleteComponent;
|
|
35
|
-
export declare const MultiSelect:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
42
|
+
export declare const MultiSelect: {
|
|
43
|
+
(props: Omit<import("@rocket.chat/fuselage").BoxProps, "ref" | "value" | "onChange"> & import("react").RefAttributes<HTMLInputElement> & {
|
|
44
|
+
value?: import("@rocket.chat/fuselage").SelectOption[0][];
|
|
45
|
+
error?: string;
|
|
46
|
+
options: import("@rocket.chat/fuselage").SelectOption[];
|
|
47
|
+
onChange: (params: import("@rocket.chat/fuselage").SelectOption[0][]) => void;
|
|
48
|
+
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
49
|
+
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
50
|
+
customEmpty?: string;
|
|
51
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams>;
|
|
52
|
+
renderOptions?: import("react").ElementType;
|
|
53
|
+
renderItem?: import("react").ElementType;
|
|
54
|
+
renderSelected?: import("react").ElementType<{
|
|
55
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
56
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
57
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
58
|
+
children: import("react").ReactNode;
|
|
59
|
+
}>;
|
|
60
|
+
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
61
|
+
setFilter?: (filter: string) => void;
|
|
62
|
+
}): import("react").JSX.Element;
|
|
63
|
+
displayName: string;
|
|
64
|
+
};
|
|
65
|
+
export declare const MultiSelectFiltered: {
|
|
66
|
+
(props: Omit<import("@rocket.chat/fuselage").BoxProps, "ref" | "value" | "onChange"> & import("react").RefAttributes<HTMLInputElement> & {
|
|
67
|
+
value?: import("@rocket.chat/fuselage").SelectOption[0][];
|
|
68
|
+
error?: string;
|
|
69
|
+
options: import("@rocket.chat/fuselage").SelectOption[];
|
|
70
|
+
onChange: (params: import("@rocket.chat/fuselage").SelectOption[0][]) => void;
|
|
71
|
+
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
72
|
+
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
73
|
+
customEmpty?: string;
|
|
74
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams>;
|
|
75
|
+
renderOptions?: import("react").ElementType;
|
|
76
|
+
renderItem?: import("react").ElementType;
|
|
77
|
+
renderSelected?: import("react").ElementType<{
|
|
78
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
79
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
80
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
81
|
+
children: import("react").ReactNode;
|
|
82
|
+
}>;
|
|
83
|
+
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
84
|
+
setFilter?: (filter: string) => void;
|
|
85
|
+
} & {
|
|
86
|
+
filter?: string;
|
|
87
|
+
setFilter?: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
88
|
+
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
89
|
+
}): import("react").JSX.Element;
|
|
90
|
+
displayName: string;
|
|
91
|
+
};
|
|
69
92
|
export declare const Slider: typeof SliderComponent;
|
|
70
|
-
export declare const CheckBox:
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
export declare const
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
export declare const CheckBox: {
|
|
94
|
+
(props: Omit<import("@rocket.chat/fuselage").BoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement> & {
|
|
95
|
+
indeterminate?: boolean;
|
|
96
|
+
labelChildren?: import("react").ReactNode;
|
|
97
|
+
} & import("react").AllHTMLAttributes<HTMLInputElement>): import("react").JSX.Element;
|
|
98
|
+
displayName: string;
|
|
99
|
+
};
|
|
100
|
+
export declare const ToggleSwitch: {
|
|
101
|
+
(props: Omit<import("@rocket.chat/fuselage").BoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement> & import("react").AllHTMLAttributes<HTMLInputElement> & {
|
|
102
|
+
labelChildren?: import("react").ReactNode;
|
|
103
|
+
}): import("react").JSX.Element;
|
|
104
|
+
displayName: string;
|
|
105
|
+
};
|
|
106
|
+
export declare const RadioButton: {
|
|
107
|
+
(props: Omit<import("@rocket.chat/fuselage").BoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement> & import("react").AllHTMLAttributes<HTMLInputElement> & {
|
|
108
|
+
labelChildren?: import("react").ReactNode;
|
|
109
|
+
}): import("react").JSX.Element;
|
|
110
|
+
displayName: string;
|
|
111
|
+
};
|
|
80
112
|
//# sourceMappingURL=WrappedInputComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,EAYL,YAAY,IAAI,qBAAqB,EAGrC,MAAM,IAAI,eAAe,EAC1B,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,SAAS;;;CAAkC,CAAC;AACzD,eAAO,MAAM,UAAU;;;CAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa;;;CAAsC,CAAC;AACjE,eAAO,MAAM,WAAW;;;CAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;;CAAiC,CAAC;AAC5D,eAAO,MAAM,WAAW;;;CAAoC,CAAC;AAC7D,eAAO,MAAM,QAAQ;;;CAAiC,CAAC;AAGvD,eAAO,MAAM,MAAM;;;;;;;;;;CAAsC,CAAC;AAG1D,eAAO,MAAM,YAAY,EAEpB,OAAO,qBAAqB,CAAC;AAClC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAC;AACzE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;CAE/B,CAAC;AACF,eAAO,MAAM,MAAM,EAEd,OAAO,eAAe,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;;;;CAA6C,CAAC;AACnE,eAAO,MAAM,YAAY;;;;;CAAiD,CAAC;AAC3E,eAAO,MAAM,WAAW;;;;;CAAgD,CAAC"}
|
|
@@ -1,21 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RadioButton = exports.ToggleSwitch = exports.CheckBox = exports.Slider = exports.MultiSelectFiltered = exports.MultiSelect = exports.AutoComplete = exports.Select = exports.UrlInput = exports.NumberInput = exports.
|
|
3
|
+
exports.RadioButton = exports.ToggleSwitch = exports.CheckBox = exports.Slider = exports.MultiSelectFiltered = exports.MultiSelect = exports.AutoComplete = exports.Select = exports.UrlInput = exports.NumberInput = exports.TextAreaInput = exports.SearchInput = exports.PasswordInput = exports.EmailInput = exports.TextInput = void 0;
|
|
4
4
|
const fuselage_1 = require("@rocket.chat/fuselage");
|
|
5
5
|
const withLabelHelpers_1 = require("./withLabelHelpers");
|
|
6
|
+
// TODO: Some inputs are still not supported due to requiring a different a11y approach
|
|
7
|
+
// with id
|
|
6
8
|
exports.TextInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.TextInput);
|
|
7
9
|
exports.EmailInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.EmailInput);
|
|
8
10
|
exports.PasswordInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.PasswordInput);
|
|
9
11
|
exports.SearchInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.SearchInput);
|
|
10
12
|
exports.TextAreaInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.TextAreaInput);
|
|
11
|
-
exports.TelephoneInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.TelephoneInput);
|
|
12
13
|
exports.NumberInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.NumberInput);
|
|
13
14
|
exports.UrlInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.UrlInput);
|
|
15
|
+
// with aria-labelledby
|
|
14
16
|
exports.Select = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Select);
|
|
15
|
-
|
|
17
|
+
// with aria-labelledby + id for aria-controls
|
|
18
|
+
exports.AutoComplete = (0, withLabelHelpers_1.withAriaLabelledByAndId)((fuselage_1.AutoComplete));
|
|
16
19
|
exports.MultiSelect = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelect);
|
|
17
20
|
exports.MultiSelectFiltered = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelectFiltered);
|
|
18
21
|
exports.Slider = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Slider);
|
|
22
|
+
// with visually hidden label
|
|
19
23
|
exports.CheckBox = (0, withLabelHelpers_1.withVisuallyHiddenLabel)(fuselage_1.CheckBox);
|
|
20
24
|
exports.ToggleSwitch = (0, withLabelHelpers_1.withVisuallyHiddenLabel)(fuselage_1.ToggleSwitch);
|
|
21
25
|
exports.RadioButton = (0, withLabelHelpers_1.withVisuallyHiddenLabel)(fuselage_1.RadioButton);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,oDAgB+B;AAE/B,yDAK4B;AAE5B,uFAAuF;AAEvF,UAAU;AACG,QAAA,SAAS,GAAG,IAAA,8BAAW,EAAC,oBAAkB,CAAC,CAAC;AAC5C,QAAA,UAAU,GAAG,IAAA,8BAAW,EAAC,qBAAmB,CAAC,CAAC;AAC9C,QAAA,aAAa,GAAG,IAAA,8BAAW,EAAC,wBAAsB,CAAC,CAAC;AACpD,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,aAAa,GAAG,IAAA,8BAAW,EAAC,wBAAiB,CAAC,CAAC;AAC/C,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC,mBAAiB,CAAC,CAAC;AAEvD,uBAAuB;AACV,QAAA,MAAM,GAAG,IAAA,qCAAkB,EAAC,iBAAe,CAAC,CAAC;AAE1D,8CAA8C;AACjC,QAAA,YAAY,GAAG,IAAA,0CAAuB,EACjD,CAAA,uBAA0B,CAAA,CACK,CAAC;AACrB,QAAA,WAAW,GAAG,IAAA,0CAAuB,EAAC,sBAAoB,CAAC,CAAC;AAC5D,QAAA,mBAAmB,GAAG,IAAA,0CAAuB,EACxD,8BAA4B,CAC7B,CAAC;AACW,QAAA,MAAM,GAAG,IAAA,qCAAkB,EACtC,iBAAe,CACU,CAAC;AAE5B,6BAA6B;AAChB,QAAA,QAAQ,GAAG,IAAA,0CAAuB,EAAC,mBAAiB,CAAC,CAAC;AACtD,QAAA,YAAY,GAAG,IAAA,0CAAuB,EAAC,uBAAqB,CAAC,CAAC;AAC9D,QAAA,WAAW,GAAG,IAAA,0CAAuB,EAAC,sBAAoB,CAAC,CAAC"}
|