@rocket.chat/fuselage 0.65.0 → 0.66.1
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/components/CheckBox/CheckBox.d.ts +2 -1
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/Field/FieldLabel.d.ts +7 -5
- package/dist/components/Field/FieldLabel.d.ts.map +1 -1
- package/dist/components/Field/index.d.ts +2 -2
- package/dist/components/Label/Label.d.ts +2 -2
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +4 -2
- package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +4 -3
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +7 -4
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +61 -61
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +14 -14
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { ComponentProps, AllHTMLAttributes } from 'react';
|
|
1
|
+
import type { ComponentProps, AllHTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
3
|
type CheckBoxProps = ComponentProps<typeof Box> & {
|
|
4
4
|
indeterminate?: boolean;
|
|
5
|
+
labelChildren?: ReactNode;
|
|
5
6
|
} & AllHTMLAttributes<HTMLInputElement>;
|
|
6
7
|
export declare const CheckBox: import("react").ForwardRefExoticComponent<Omit<CheckBoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EAGd,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAGf,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAChD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAExC,eAAO,MAAM,QAAQ,yHA2CnB,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export declare const FieldLabel: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
2
|
+
ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
|
|
3
|
+
}, "is"> & {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
is?: (import("react").ElementType<any> & string) | undefined;
|
|
7
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
6
8
|
//# sourceMappingURL=FieldLabel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FieldLabel.d.ts","sourceRoot":"","sources":["../../../src/components/Field/FieldLabel.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,UAAU;;;;;;4GAiBtB,CAAC"}
|
|
@@ -11,13 +11,13 @@ declare const _default: typeof Field & {
|
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated Use named import `FieldLabel` instead
|
|
13
13
|
*/
|
|
14
|
-
Label: (
|
|
14
|
+
Label: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
15
15
|
ref?: ((instance: any) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<any> | null | undefined;
|
|
16
16
|
}, "is"> & {
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
required?: boolean;
|
|
19
19
|
is?: (import("react").ElementType<any> & string) | undefined;
|
|
20
|
-
}, "ref">)
|
|
20
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated Use named import `FieldDescription` instead
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ComponentProps,
|
|
1
|
+
import type { ComponentProps, ElementType } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
3
|
type LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {
|
|
4
4
|
disabled?: boolean;
|
|
@@ -8,6 +8,6 @@ type LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {
|
|
|
8
8
|
/**
|
|
9
9
|
* A caption for an input component.
|
|
10
10
|
*/
|
|
11
|
-
export declare
|
|
11
|
+
export declare const Label: import("react").ForwardRefExoticComponent<Omit<LabelProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAgB,WAAW,EAAO,MAAM,OAAO,CAAC;AAG5E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,iHAyBhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionsPaginated.d.ts","sourceRoot":"","sources":["../../../src/components/OptionsPaginated/OptionsPaginated.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,GAAG,EAAkB,MAAM,OAAO,CAAC;AAM9E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,KAAK,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;IACjE,MAAM,EAAE,MAAM,CA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oFAAuC,CAAC;AAI1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,wHAgE5B,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,qFAA6C,gFAMvE,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import type { AllHTMLAttributes, ComponentProps } from 'react';
|
|
1
|
+
import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
|
-
type RadioButtonProps = ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement
|
|
3
|
+
type RadioButtonProps = ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement> & {
|
|
4
|
+
labelChildren?: ReactNode;
|
|
5
|
+
};
|
|
4
6
|
export declare const RadioButton: import("react").ForwardRefExoticComponent<Omit<RadioButtonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
7
|
export {};
|
|
6
8
|
//# sourceMappingURL=RadioButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG/E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAChD,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC;AAEJ,eAAO,MAAM,WAAW,4HAiBtB,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import Box from '../Box/Box';
|
|
2
3
|
type TagProps = {
|
|
3
4
|
medium?: boolean;
|
|
4
5
|
large?: boolean;
|
|
5
|
-
variant?: 'primary' | 'secondary' | 'danger' | 'warning' | 'secondary-danger' | 'featured';
|
|
6
|
+
variant?: 'primary' | 'secondary' | 'danger' | 'warning' | 'secondary-danger' | 'secondary-warning' | 'secondary-info' | 'featured';
|
|
6
7
|
disabled?: boolean;
|
|
7
8
|
icon?: ReactNode;
|
|
8
|
-
} & Omit<
|
|
9
|
+
} & Omit<ComponentProps<typeof Box>, 'is'>;
|
|
9
10
|
/**
|
|
10
11
|
* Used for mentions
|
|
11
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../src/components/Tag/Tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,OAAO,GAAG,MAAM,YAAY,CAAC;AAE7B,KAAK,QAAQ,GAAG;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EACJ,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,kBAAkB,GAClB,mBAAmB,GACnB,gBAAgB,GAChB,UAAU,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,GAAG,GAAI,0FAWjB,QAAQ,4CAyBV,CAAC"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import type { AllHTMLAttributes, ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import Box from '../Box';
|
|
3
|
+
type ToggleSwitchProps = ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement> & {
|
|
4
|
+
labelChildren?: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare const ToggleSwitch: import("react").ForwardRefExoticComponent<Omit<ToggleSwitchProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export {};
|
|
5
8
|
//# sourceMappingURL=ToggleSwitch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ToggleSwitch.d.ts","sourceRoot":"","sources":["../../../src/components/ToggleSwitch/ToggleSwitch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG/E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,iBAAiB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GACjD,iBAAiB,CAAC,gBAAgB,CAAC,GAAG;IACpC,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,CAAC;AAEJ,eAAO,MAAM,YAAY,6HAkBvB,CAAC"}
|