@rocket.chat/fuselage-forms 1.3.0 → 1.4.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/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.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 +16 -6
- package/dist/cjs/Inputs/WrappedInputComponents.d.ts.map +1 -1
- package/dist/cjs/Inputs/WrappedInputComponents.js +1 -1
- package/dist/cjs/Inputs/WrappedInputComponents.js.map +1 -1
- package/dist/cjs/Inputs/withLabelHelpers.d.ts +5 -5
- package/dist/cjs/Inputs/withLabelHelpers.d.ts.map +1 -1
- 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/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.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 +16 -6
- package/dist/esm/Inputs/WrappedInputComponents.d.ts.map +1 -1
- package/dist/esm/Inputs/WrappedInputComponents.js +1 -1
- package/dist/esm/Inputs/WrappedInputComponents.js.map +1 -1
- package/dist/esm/Inputs/withLabelHelpers.d.ts +5 -5
- package/dist/esm/Inputs/withLabelHelpers.d.ts.map +1 -1
- package/dist/esm/Inputs/withLabelHelpers.js.map +1 -1
- package/dist/esm/tsdoc-metadata.json +11 -0
- package/package.json +20 -19
|
@@ -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,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,YAAY,4CAUvB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,GAAG,aAAa,CAAC;AAE1E,MAAM,MAAM,SAAS,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,CAAC;AAoBxB,eAAO,MAAM,aAAa,QAAO,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,MAAM,CAsBjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAG7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,UAAU,WASpD,CAAC;AA0BF,eAAO,MAAM,yBAAyB;oBARjB,MAAM,GAAG,OAAO;;;CAuBpC,CAAC;AAGF,eAAO,MAAM,yBAAyB;oBA1BjB,MAAM,GAAG,OAAO;;;CAyCpC,CAAC;AAGF,eAAO,MAAM,+BAA+B;oBA5CvB,MAAM,GAAG,OAAO;;;;CA4DpC,CAAC;AAGF,eAAO,MAAM,2BAA2B,QAAO,CAC7C,SAAS,EACT;IACE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;CAClC,EACD,WAAW,CAAC,WAAW,CAAC,CAqCzB,CAAC"}
|
|
@@ -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"}
|
|
@@ -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;IAED,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"}
|
|
@@ -23,12 +23,12 @@ export declare const TelephoneInput: import("react").ForwardRefExoticComponent<O
|
|
|
23
23
|
} & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
24
24
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<import("@rocket.chat/fuselage").NumberInputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
25
25
|
export declare const UrlInput: import("react").ForwardRefExoticComponent<Omit<import("@rocket.chat/fuselage").UrlInputProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
26
|
-
export declare const Select: import("react").ForwardRefExoticComponent<Omit<Omit<import("react-aria").AriaSelectProps<object>, "
|
|
26
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<Omit<import("react-aria").AriaSelectProps<object>, "children" | "value" | "onChange"> & {
|
|
27
27
|
error?: string;
|
|
28
28
|
placeholder?: string;
|
|
29
29
|
value?: import("react").Key | null | undefined;
|
|
30
30
|
onChange?: ((key: import("react").Key) => any) | undefined;
|
|
31
|
-
options: (
|
|
31
|
+
options: import("@rocket.chat/fuselage").SelectOption[];
|
|
32
32
|
small?: boolean;
|
|
33
33
|
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
34
34
|
export declare const AutoComplete: typeof AutoCompleteComponent;
|
|
@@ -40,10 +40,15 @@ export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit
|
|
|
40
40
|
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
41
41
|
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
42
42
|
customEmpty?: string;
|
|
43
|
-
anchor?: import("react").ElementType<import("@rocket.chat/fuselage
|
|
43
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams> | ((params: import("@rocket.chat/fuselage").MultiSelectAnchorParams) => import("react").ReactNode);
|
|
44
44
|
renderOptions?: import("react").ElementType;
|
|
45
45
|
renderItem?: import("react").ElementType;
|
|
46
|
-
renderSelected?: import("react").ElementType
|
|
46
|
+
renderSelected?: import("react").ElementType<{
|
|
47
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
48
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
49
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
50
|
+
children: import("react").ReactNode;
|
|
51
|
+
}>;
|
|
47
52
|
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
48
53
|
setFilter?: (filter: string) => void;
|
|
49
54
|
} & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -55,10 +60,15 @@ export declare const MultiSelectFiltered: import("react").ForwardRefExoticCompon
|
|
|
55
60
|
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
56
61
|
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
57
62
|
customEmpty?: string;
|
|
58
|
-
anchor?: import("react").ElementType<import("@rocket.chat/fuselage
|
|
63
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams> | ((params: import("@rocket.chat/fuselage").MultiSelectAnchorParams) => import("react").ReactNode);
|
|
59
64
|
renderOptions?: import("react").ElementType;
|
|
60
65
|
renderItem?: import("react").ElementType;
|
|
61
|
-
renderSelected?: import("react").ElementType
|
|
66
|
+
renderSelected?: import("react").ElementType<{
|
|
67
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
68
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
69
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
70
|
+
children: import("react").ReactNode;
|
|
71
|
+
}>;
|
|
62
72
|
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
63
73
|
setFilter?: (filter: string) => void;
|
|
64
74
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,YAAY,IAAI,qBAAqB,EAGrC,MAAM,IAAI,eAAe,EAC1B,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,SAAS;;;8GAAkC,CAAC;AACzD,eAAO,MAAM,UAAU;;;oGAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,gNAAsC,CAAC;AACjE,eAAO,MAAM,WAAW;;;8GAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;;oHAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc;;;;8GAAuC,CAAC;AACnE,eAAO,MAAM,WAAW,8MAAoC,CAAC;AAC7D,eAAO,MAAM,QAAQ,iMAAiC,CAAC;AAGvD,eAAO,MAAM,MAAM;;;;;;;iLAAsC,CAAC;AAG1D,eAAO,MAAM,YAAY,EAEpB,OAAO,qBAAqB,CAAC;AAClC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,YAAY,IAAI,qBAAqB,EAGrC,MAAM,IAAI,eAAe,EAC1B,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,SAAS;;;8GAAkC,CAAC;AACzD,eAAO,MAAM,UAAU;;;oGAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,gNAAsC,CAAC;AACjE,eAAO,MAAM,WAAW;;;8GAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;;oHAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc;;;;8GAAuC,CAAC;AACnE,eAAO,MAAM,WAAW,8MAAoC,CAAC;AAC7D,eAAO,MAAM,QAAQ,iMAAiC,CAAC;AAGvD,eAAO,MAAM,MAAM;;;;;;;iLAAsC,CAAC;AAG1D,eAAO,MAAM,YAAY,EAEpB,OAAO,qBAAqB,CAAC;AAClC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;8GAAgD,CAAC;AACzE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;8GAE/B,CAAC;AACF,eAAO,MAAM,MAAM,EAEd,OAAO,eAAe,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;oKAA6C,CAAC;AACnE,eAAO,MAAM,YAAY;;8GAAiD,CAAC;AAC3E,eAAO,MAAM,WAAW;;8GAAgD,CAAC"}
|
|
@@ -12,7 +12,7 @@ exports.TelephoneInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.Telephon
|
|
|
12
12
|
exports.NumberInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.NumberInput);
|
|
13
13
|
exports.UrlInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.UrlInput);
|
|
14
14
|
exports.Select = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Select);
|
|
15
|
-
exports.AutoComplete = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.AutoComplete);
|
|
15
|
+
exports.AutoComplete = (0, withLabelHelpers_1.withAriaLabelledByAndId)((fuselage_1.AutoComplete));
|
|
16
16
|
exports.MultiSelect = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelect);
|
|
17
17
|
exports.MultiSelectFiltered = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelectFiltered);
|
|
18
18
|
exports.Slider = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Slider);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,oDAiB+B;AAE/B,yDAK4B;AAKf,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,cAAc,GAAG,IAAA,8BAAW,EAAC,yBAAuB,CAAC,CAAC;AACtD,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC,mBAAiB,CAAC,CAAC;AAG1C,QAAA,MAAM,GAAG,IAAA,qCAAkB,EAAC,iBAAe,CAAC,CAAC;AAG7C,QAAA,YAAY,GAAG,IAAA,0CAAuB,EACjD,
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,oDAiB+B;AAE/B,yDAK4B;AAKf,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,cAAc,GAAG,IAAA,8BAAW,EAAC,yBAAuB,CAAC,CAAC;AACtD,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC,mBAAiB,CAAC,CAAC;AAG1C,QAAA,MAAM,GAAG,IAAA,qCAAkB,EAAC,iBAAe,CAAC,CAAC;AAG7C,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;AAGf,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"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { ReactNode,
|
|
1
|
+
import type { ReactNode, ComponentType, RefAttributes } from 'react';
|
|
2
2
|
type WithLabelId = {
|
|
3
3
|
id?: string;
|
|
4
4
|
};
|
|
5
|
-
declare function withLabelId<TProps, TRef>(Component:
|
|
5
|
+
declare function withLabelId<TProps, TRef>(Component: ComponentType<TProps & WithLabelId & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
6
6
|
type WithLabelledBy = {
|
|
7
7
|
'aria-labelledby'?: string;
|
|
8
8
|
};
|
|
9
|
-
declare function withAriaLabelledBy<TProps, TRef>(Component:
|
|
9
|
+
declare function withAriaLabelledBy<TProps, TRef>(Component: ComponentType<TProps & WithLabelledBy & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
10
10
|
type WithLabelledByAndId = {
|
|
11
11
|
'aria-labelledby'?: string;
|
|
12
12
|
'id'?: string;
|
|
13
13
|
};
|
|
14
|
-
declare function withAriaLabelledByAndId<TProps, TRef>(Component:
|
|
14
|
+
declare function withAriaLabelledByAndId<TProps, TRef>(Component: ComponentType<TProps & WithLabelledByAndId & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
15
15
|
type WithChildrenLabel = {
|
|
16
16
|
labelChildren: ReactNode;
|
|
17
17
|
};
|
|
18
|
-
declare function withVisuallyHiddenLabel<TProps, TRef>(Component:
|
|
18
|
+
declare function withVisuallyHiddenLabel<TProps, TRef>(Component: ComponentType<TProps & WithChildrenLabel & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
19
19
|
export { withLabelId, withAriaLabelledBy, withAriaLabelledByAndId, withVisuallyHiddenLabel, };
|
|
20
20
|
//# sourceMappingURL=withLabelHelpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLabelHelpers.d.ts","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"withLabelHelpers.d.ts","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAO,aAAa,EAAE,MAAM,OAAO,CAAC;AAW1E,KAAK,WAAW,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnC,iBAAS,WAAW,CAAC,MAAM,EAAE,IAAI,EAC/B,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgBrE;AAED,KAAK,cAAc,GAAG;IAAE,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErD,iBAAS,kBAAkB,CAAC,MAAM,EAAE,IAAI,EACtC,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgBxE;AAED,KAAK,mBAAmB,GAAG;IAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzE,iBAAS,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAC3C,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgB7E;AAED,KAAK,iBAAiB,GAAG;IAAE,aAAa,EAAE,SAAS,CAAA;CAAE,CAAC;AAEtD,iBAAS,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAC3C,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,iBAAiB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAkB3E;AAED,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLabelHelpers.js","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"withLabelHelpers.js","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":";;AAqGE,kCAAW;AACX,gDAAkB;AAClB,0DAAuB;AACvB,0DAAuB;;AAtGzB,gEAA4D;AAE5D,iCAAmC;AACnC,2CAA4C;AAE5C,wDAK+B;AAI/B,SAAS,WAAW,CAClB,SAAoE;IAEpE,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,wCAAyB,GAAE,CAAC;QAC/C,OAAO,CACL,uBAAC,SAAS,OACH,KAA8B,KAC/B,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,eAAe,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAE7G,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,kBAAkB,CACzB,SAAuE;IAEvE,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,wCAAyB,GAAE,CAAC;QAC/C,OAAO,CACL,uBAAC,SAAS,OACH,KAAiC,KAClC,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,sBAAsB,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEpH,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,uBAAuB,CAC9B,SAA4E;IAE5E,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,8CAA+B,GAAE,CAAC;QACrD,OAAO,CACL,uBAAC,SAAS,OACH,KAAsC,KACvC,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,2BAA2B,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEzH,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,uBAAuB,CAC9B,SAA0E;IAE1E,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,GAAG,IAAA,0CAA2B,GAAE,CAAC;QACpE,MAAM,SAAS,GAAG,IAAA,8BAAa,EAAC,GAAG,EAAE,QAAqB,CAAC,CAAC;QAC5D,OAAO,CACL,uBAAC,SAAS,OACH,KAAoC,KACrC,UAAU,EACd,GAAG,EAAE,SAAS,EACd,aAAa,EAAE,uBAAC,2BAAc,cAAE,KAAK,GAAkB,GACvD,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,2BAA2B,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEzH,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
|
@@ -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,SAAS,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IAC7B,KAAK,EAAE,SAAS,GAAG,IAAI,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,CAAC,SAAS,EAAE,SAAS,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,YAAY,4CAUvB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,GAAG,aAAa,CAAC;AAE1E,MAAM,MAAM,SAAS,GACjB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,CAAC;AAoBxB,eAAO,MAAM,aAAa,QAAO,CAAC,WAAW,CAAC,WAAW,CAAC,EAAE,MAAM,CAsBjE,CAAC;AAEF,eAAO,MAAM,iBAAiB,iBAG7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,MAAM,UAAU,WASpD,CAAC;AA0BF,eAAO,MAAM,yBAAyB;oBARjB,MAAM,GAAG,OAAO;;;CAuBpC,CAAC;AAGF,eAAO,MAAM,yBAAyB;oBA1BjB,MAAM,GAAG,OAAO;;;CAyCpC,CAAC;AAGF,eAAO,MAAM,+BAA+B;oBA5CvB,MAAM,GAAG,OAAO;;;;CA4DpC,CAAC;AAGF,eAAO,MAAM,2BAA2B,QAAO,CAC7C,SAAS,EACT;IACE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC;CAClC,EACD,WAAW,CAAC,WAAW,CAAC,CAqCzB,CAAC"}
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.js","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":";;;;;;AAGA,kDAAoD;AAEpD,gEAAwC;AACxC,0DAAkC;AAClC,wEAAgD;
|
|
1
|
+
{"version":3,"file":"FieldLabel.js","sourceRoot":"","sources":["../../../../src/Field/Label/FieldLabel.tsx"],"names":[],"mappings":";;;;;;AAGA,kDAAoD;AAEpD,gEAAwC;AACxC,0DAAkC;AAClC,wEAAgD;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;IAED,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,qHAAA,OAAO,OAAY;AAC5B,6CAA8E;AAArE,2HAAA,OAAO,OAAe;AAC/B,qDAG2B;AAFzB,mIAAA,OAAO,OAAmB;AAG5B,2CAA2E;AAAlE,yHAAA,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,+GAAA,OAAO,OAAS;AACzB,iDAGyB;AAFvB,+HAAA,OAAO,OAAiB;AAG1B,uDAG4B;AAF1B,qIAAA,OAAO,OAAoB;AAG7B,2CAA2E;AAAlE,yHAAA,OAAO,OAAc;AAC9B,yCAAwE;AAA/D,uHAAA,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"}
|
|
@@ -23,12 +23,12 @@ export declare const TelephoneInput: import("react").ForwardRefExoticComponent<O
|
|
|
23
23
|
} & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
24
24
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<import("@rocket.chat/fuselage").NumberInputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
25
25
|
export declare const UrlInput: import("react").ForwardRefExoticComponent<Omit<import("@rocket.chat/fuselage").UrlInputProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
26
|
-
export declare const Select: import("react").ForwardRefExoticComponent<Omit<Omit<import("react-aria").AriaSelectProps<object>, "
|
|
26
|
+
export declare const Select: import("react").ForwardRefExoticComponent<Omit<Omit<import("react-aria").AriaSelectProps<object>, "children" | "value" | "onChange"> & {
|
|
27
27
|
error?: string;
|
|
28
28
|
placeholder?: string;
|
|
29
29
|
value?: import("react").Key | null | undefined;
|
|
30
30
|
onChange?: ((key: import("react").Key) => any) | undefined;
|
|
31
|
-
options: (
|
|
31
|
+
options: import("@rocket.chat/fuselage").SelectOption[];
|
|
32
32
|
small?: boolean;
|
|
33
33
|
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
34
34
|
export declare const AutoComplete: typeof AutoCompleteComponent;
|
|
@@ -40,10 +40,15 @@ export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit
|
|
|
40
40
|
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
41
41
|
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
42
42
|
customEmpty?: string;
|
|
43
|
-
anchor?: import("react").ElementType<import("@rocket.chat/fuselage
|
|
43
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams> | ((params: import("@rocket.chat/fuselage").MultiSelectAnchorParams) => import("react").ReactNode);
|
|
44
44
|
renderOptions?: import("react").ElementType;
|
|
45
45
|
renderItem?: import("react").ElementType;
|
|
46
|
-
renderSelected?: import("react").ElementType
|
|
46
|
+
renderSelected?: import("react").ElementType<{
|
|
47
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
48
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
49
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
50
|
+
children: import("react").ReactNode;
|
|
51
|
+
}>;
|
|
47
52
|
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
48
53
|
setFilter?: (filter: string) => void;
|
|
49
54
|
} & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -55,10 +60,15 @@ export declare const MultiSelectFiltered: import("react").ForwardRefExoticCompon
|
|
|
55
60
|
getLabel?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[1];
|
|
56
61
|
getValue?: (params: import("@rocket.chat/fuselage").SelectOption) => import("@rocket.chat/fuselage").SelectOption[0];
|
|
57
62
|
customEmpty?: string;
|
|
58
|
-
anchor?: import("react").ElementType<import("@rocket.chat/fuselage
|
|
63
|
+
anchor?: import("react").ElementType<import("@rocket.chat/fuselage").MultiSelectAnchorParams> | ((params: import("@rocket.chat/fuselage").MultiSelectAnchorParams) => import("react").ReactNode);
|
|
59
64
|
renderOptions?: import("react").ElementType;
|
|
60
65
|
renderItem?: import("react").ElementType;
|
|
61
|
-
renderSelected?: import("react").ElementType
|
|
66
|
+
renderSelected?: import("react").ElementType<{
|
|
67
|
+
value: import("@rocket.chat/fuselage").SelectOption[0];
|
|
68
|
+
label: import("@rocket.chat/fuselage").SelectOption[1];
|
|
69
|
+
onMouseDown: import("react").MouseEventHandler;
|
|
70
|
+
children: import("react").ReactNode;
|
|
71
|
+
}>;
|
|
62
72
|
addonIcon?: import("@rocket.chat/fuselage").IconProps["name"];
|
|
63
73
|
setFilter?: (filter: string) => void;
|
|
64
74
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,YAAY,IAAI,qBAAqB,EAGrC,MAAM,IAAI,eAAe,EAC1B,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,SAAS;;;8GAAkC,CAAC;AACzD,eAAO,MAAM,UAAU;;;oGAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,gNAAsC,CAAC;AACjE,eAAO,MAAM,WAAW;;;8GAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;;oHAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc;;;;8GAAuC,CAAC;AACnE,eAAO,MAAM,WAAW,8MAAoC,CAAC;AAC7D,eAAO,MAAM,QAAQ,iMAAiC,CAAC;AAGvD,eAAO,MAAM,MAAM;;;;;;;iLAAsC,CAAC;AAG1D,eAAO,MAAM,YAAY,EAEpB,OAAO,qBAAqB,CAAC;AAClC,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.d.ts","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":"AAAA,OAAO,EAaL,YAAY,IAAI,qBAAqB,EAGrC,MAAM,IAAI,eAAe,EAC1B,MAAM,uBAAuB,CAAC;AAY/B,eAAO,MAAM,SAAS;;;8GAAkC,CAAC;AACzD,eAAO,MAAM,UAAU;;;oGAAmC,CAAC;AAC3D,eAAO,MAAM,aAAa,gNAAsC,CAAC;AACjE,eAAO,MAAM,WAAW;;;8GAAoC,CAAC;AAC7D,eAAO,MAAM,aAAa;;;oHAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc;;;;8GAAuC,CAAC;AACnE,eAAO,MAAM,WAAW,8MAAoC,CAAC;AAC7D,eAAO,MAAM,QAAQ,iMAAiC,CAAC;AAGvD,eAAO,MAAM,MAAM;;;;;;;iLAAsC,CAAC;AAG1D,eAAO,MAAM,YAAY,EAEpB,OAAO,qBAAqB,CAAC;AAClC,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;8GAAgD,CAAC;AACzE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;8GAE/B,CAAC;AACF,eAAO,MAAM,MAAM,EAEd,OAAO,eAAe,CAAC;AAG5B,eAAO,MAAM,QAAQ;;;oKAA6C,CAAC;AACnE,eAAO,MAAM,YAAY;;8GAAiD,CAAC;AAC3E,eAAO,MAAM,WAAW;;8GAAgD,CAAC"}
|
|
@@ -12,7 +12,7 @@ exports.TelephoneInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.Telephon
|
|
|
12
12
|
exports.NumberInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.NumberInput);
|
|
13
13
|
exports.UrlInput = (0, withLabelHelpers_1.withLabelId)(fuselage_1.UrlInput);
|
|
14
14
|
exports.Select = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Select);
|
|
15
|
-
exports.AutoComplete = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.AutoComplete);
|
|
15
|
+
exports.AutoComplete = (0, withLabelHelpers_1.withAriaLabelledByAndId)((fuselage_1.AutoComplete));
|
|
16
16
|
exports.MultiSelect = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelect);
|
|
17
17
|
exports.MultiSelectFiltered = (0, withLabelHelpers_1.withAriaLabelledByAndId)(fuselage_1.MultiSelectFiltered);
|
|
18
18
|
exports.Slider = (0, withLabelHelpers_1.withAriaLabelledBy)(fuselage_1.Slider);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,oDAiB+B;AAE/B,yDAK4B;AAKf,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,cAAc,GAAG,IAAA,8BAAW,EAAC,yBAAuB,CAAC,CAAC;AACtD,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC,mBAAiB,CAAC,CAAC;AAG1C,QAAA,MAAM,GAAG,IAAA,qCAAkB,EAAC,iBAAe,CAAC,CAAC;AAG7C,QAAA,YAAY,GAAG,IAAA,0CAAuB,EACjD,
|
|
1
|
+
{"version":3,"file":"WrappedInputComponents.js","sourceRoot":"","sources":["../../../src/Inputs/WrappedInputComponents.ts"],"names":[],"mappings":";;;AAAA,oDAiB+B;AAE/B,yDAK4B;AAKf,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,cAAc,GAAG,IAAA,8BAAW,EAAC,yBAAuB,CAAC,CAAC;AACtD,QAAA,WAAW,GAAG,IAAA,8BAAW,EAAC,sBAAoB,CAAC,CAAC;AAChD,QAAA,QAAQ,GAAG,IAAA,8BAAW,EAAC,mBAAiB,CAAC,CAAC;AAG1C,QAAA,MAAM,GAAG,IAAA,qCAAkB,EAAC,iBAAe,CAAC,CAAC;AAG7C,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;AAGf,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"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { ReactNode,
|
|
1
|
+
import type { ReactNode, ComponentType, RefAttributes } from 'react';
|
|
2
2
|
type WithLabelId = {
|
|
3
3
|
id?: string;
|
|
4
4
|
};
|
|
5
|
-
declare function withLabelId<TProps, TRef>(Component:
|
|
5
|
+
declare function withLabelId<TProps, TRef>(Component: ComponentType<TProps & WithLabelId & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
6
6
|
type WithLabelledBy = {
|
|
7
7
|
'aria-labelledby'?: string;
|
|
8
8
|
};
|
|
9
|
-
declare function withAriaLabelledBy<TProps, TRef>(Component:
|
|
9
|
+
declare function withAriaLabelledBy<TProps, TRef>(Component: ComponentType<TProps & WithLabelledBy & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
10
10
|
type WithLabelledByAndId = {
|
|
11
11
|
'aria-labelledby'?: string;
|
|
12
12
|
'id'?: string;
|
|
13
13
|
};
|
|
14
|
-
declare function withAriaLabelledByAndId<TProps, TRef>(Component:
|
|
14
|
+
declare function withAriaLabelledByAndId<TProps, TRef>(Component: ComponentType<TProps & WithLabelledByAndId & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
15
15
|
type WithChildrenLabel = {
|
|
16
16
|
labelChildren: ReactNode;
|
|
17
17
|
};
|
|
18
|
-
declare function withVisuallyHiddenLabel<TProps, TRef>(Component:
|
|
18
|
+
declare function withVisuallyHiddenLabel<TProps, TRef>(Component: ComponentType<TProps & WithChildrenLabel & RefAttributes<TRef>>): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<TProps> & RefAttributes<TRef>>;
|
|
19
19
|
export { withLabelId, withAriaLabelledBy, withAriaLabelledByAndId, withVisuallyHiddenLabel, };
|
|
20
20
|
//# sourceMappingURL=withLabelHelpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLabelHelpers.d.ts","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"withLabelHelpers.d.ts","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAO,aAAa,EAAE,MAAM,OAAO,CAAC;AAW1E,KAAK,WAAW,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnC,iBAAS,WAAW,CAAC,MAAM,EAAE,IAAI,EAC/B,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgBrE;AAED,KAAK,cAAc,GAAG;IAAE,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAErD,iBAAS,kBAAkB,CAAC,MAAM,EAAE,IAAI,EACtC,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,cAAc,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgBxE;AAED,KAAK,mBAAmB,GAAG;IAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEzE,iBAAS,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAC3C,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,mBAAmB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAgB7E;AAED,KAAK,iBAAiB,GAAG;IAAE,aAAa,EAAE,SAAS,CAAA;CAAE,CAAC;AAEtD,iBAAS,uBAAuB,CAAC,MAAM,EAAE,IAAI,EAC3C,SAAS,EAAE,aAAa,CAAC,MAAM,GAAG,iBAAiB,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,4GAkB3E;AAED,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,GACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withLabelHelpers.js","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"withLabelHelpers.js","sourceRoot":"","sources":["../../../src/Inputs/withLabelHelpers.tsx"],"names":[],"mappings":";;AAqGE,kCAAW;AACX,gDAAkB;AAClB,0DAAuB;AACvB,0DAAuB;;AAtGzB,gEAA4D;AAE5D,iCAAmC;AACnC,2CAA4C;AAE5C,wDAK+B;AAI/B,SAAS,WAAW,CAClB,SAAoE;IAEpE,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,wCAAyB,GAAE,CAAC;QAC/C,OAAO,CACL,uBAAC,SAAS,OACH,KAA8B,KAC/B,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,eAAe,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAE7G,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,kBAAkB,CACzB,SAAuE;IAEvE,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,wCAAyB,GAAE,CAAC;QAC/C,OAAO,CACL,uBAAC,SAAS,OACH,KAAiC,KAClC,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,sBAAsB,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEpH,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,uBAAuB,CAC9B,SAA4E;IAE5E,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,UAAU,GAAG,IAAA,8CAA+B,GAAE,CAAC;QACrD,OAAO,CACL,uBAAC,SAAS,OACH,KAAsC,KACvC,UAAU,EACd,GAAG,EAAE,GAAG,GACR,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,2BAA2B,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEzH,OAAO,gBAAgB,CAAC;AAC1B,CAAC;AAID,SAAS,uBAAuB,CAC9B,SAA0E;IAE1E,MAAM,gBAAgB,GAAG,IAAA,kBAAU,EAAe,UAAU,KAAK,EAAE,GAAG;QACpE,MAAM,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,GAAG,IAAA,0CAA2B,GAAE,CAAC;QACpE,MAAM,SAAS,GAAG,IAAA,8BAAa,EAAC,GAAG,EAAE,QAAqB,CAAC,CAAC;QAC5D,OAAO,CACL,uBAAC,SAAS,OACH,KAAoC,KACrC,UAAU,EACd,GAAG,EAAE,SAAS,EACd,aAAa,EAAE,uBAAC,2BAAc,cAAE,KAAK,GAAkB,GACvD,CACH,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,WAAW,GAAG,2BAA2B,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,GAAG,CAAC;IAEzH,OAAO,gBAAgB,CAAC;AAC1B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.58.7"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rocket.chat/fuselage-forms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "A set of component wrappers to provide ease of use and accessibility out-of-box.",
|
|
5
5
|
"homepage": "https://github.com/RocketChat/fuselage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -26,41 +26,42 @@
|
|
|
26
26
|
".:build:clean": "rimraf dist",
|
|
27
27
|
".:build:cjs": "tsc -p tsconfig.cjs.json",
|
|
28
28
|
".:build:esm": "tsc -p tsconfig.esm.json",
|
|
29
|
+
".:build:api": "api-extractor run --local",
|
|
29
30
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
30
|
-
"build": "run .:build:clean && run .:build:esm && run .:build:cjs",
|
|
31
|
+
"build": "run .:build:clean && run .:build:esm && run .:build:cjs && run .:build:api",
|
|
31
32
|
"clean": "rimraf dist",
|
|
32
|
-
"docs": "
|
|
33
|
+
"docs": "NODE_ENV=production storybook build -o ../../static/fuselage-forms",
|
|
33
34
|
"lint": "lint",
|
|
34
35
|
"lint-and-fix": "lint-and-fix",
|
|
35
36
|
"test": "jest --runInBand"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@rocket.chat/fuselage
|
|
39
|
+
"@microsoft/api-extractor": "~7.58.7",
|
|
40
|
+
"@rocket.chat/fuselage": "^0.80.0",
|
|
41
|
+
"@rocket.chat/fuselage-hooks": "^0.42.0",
|
|
40
42
|
"@rocket.chat/fuselage-tokens": "^0.33.2",
|
|
41
|
-
"@rocket.chat/storybook-dark-mode": "^4.
|
|
42
|
-
"@storybook/addon-docs": "~9.1.
|
|
43
|
+
"@rocket.chat/storybook-dark-mode": "^4.2.0",
|
|
44
|
+
"@storybook/addon-docs": "~9.1.20",
|
|
43
45
|
"@storybook/addon-webpack5-compiler-swc": "~4.0.3",
|
|
44
|
-
"@storybook/react-webpack5": "~9.1.
|
|
46
|
+
"@storybook/react-webpack5": "~9.1.20",
|
|
45
47
|
"@testing-library/jest-dom": "~6.9.1",
|
|
46
48
|
"@testing-library/react": "~16.3.2",
|
|
47
49
|
"@testing-library/user-event": "~14.6.1",
|
|
48
50
|
"@types/jest": "~30.0.0",
|
|
49
51
|
"@types/jest-axe": "~3.5.9",
|
|
50
|
-
"@types/react": "~
|
|
51
|
-
"@types/react-dom": "~
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"jest": "~30.3.0",
|
|
52
|
+
"@types/react": "~19.2.16",
|
|
53
|
+
"@types/react-dom": "~19.2.3",
|
|
54
|
+
"eslint": "~9.39.4",
|
|
55
|
+
"jest": "~30.4.2",
|
|
55
56
|
"jest-axe": "~10.0.0",
|
|
56
|
-
"jest-environment-jsdom": "~30.
|
|
57
|
+
"jest-environment-jsdom": "~30.4.1",
|
|
57
58
|
"lint-all": "^0.31.25",
|
|
58
59
|
"prettier": "~3.6.2",
|
|
59
|
-
"react": "~
|
|
60
|
-
"react-dom": "~
|
|
61
|
-
"rimraf": "~6.
|
|
62
|
-
"storybook": "~9.1.
|
|
63
|
-
"ts-jest": "~29.4.
|
|
60
|
+
"react": "~19.2.7",
|
|
61
|
+
"react-dom": "~19.2.7",
|
|
62
|
+
"rimraf": "~6.1.3",
|
|
63
|
+
"storybook": "~9.1.20",
|
|
64
|
+
"ts-jest": "~29.4.11",
|
|
64
65
|
"typescript": "~5.9.3",
|
|
65
66
|
"webpack": "~5.105.4"
|
|
66
67
|
},
|