@rocket.chat/fuselage 0.58.0 → 0.58.2
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/Accordion/Accordion.d.ts +3 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/AudioPlayer/AudioPlayer.d.ts +3 -0
- package/dist/components/AudioPlayer/AudioPlayer.d.ts.map +1 -1
- package/dist/components/AutoComplete/AutoComplete.d.ts +3 -0
- package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Badge/Badge.d.ts +3 -0
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +6 -0
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/withBoxStyling.d.ts +6 -3
- package/dist/components/Box/withBoxStyling.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +3 -0
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts +3 -0
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +10 -7
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/CodeSnippet/CodeSnippet.d.ts +7 -0
- package/dist/components/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarSkeleton.d.ts +1 -1
- package/dist/components/Contextualbar/ContextualbarSkeleton.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
- package/dist/components/EmailInput/EmailInput.d.ts +3 -0
- package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
- package/dist/components/Field/Field.d.ts +3 -0
- package/dist/components/Field/Field.d.ts.map +1 -1
- package/dist/components/FieldGroup/FieldGroup.d.ts +3 -0
- package/dist/components/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/dist/components/InputBox/InputBox.d.ts +8 -3
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/Label/Label.d.ts +3 -0
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Margins/Margins.d.ts +3 -0
- package/dist/components/Margins/Margins.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +4 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/V2/Menu.d.ts +4 -1
- package/dist/components/Menu/V2/Menu.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -1
- package/dist/components/Message/helpers.d.ts +7 -2
- package/dist/components/Message/helpers.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +3 -0
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/NumberInput/NumberInput.d.ts +3 -0
- package/dist/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/components/Option/Option.d.ts +3 -0
- package/dist/components/Option/Option.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts +3 -0
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +3 -0
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/index.d.ts +1 -1
- package/dist/components/PaginatedSelect/index.d.ts.map +1 -1
- package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts +7 -0
- package/dist/components/PaletteStyleTag/PaletteStyleTag.d.ts.map +1 -1
- package/dist/components/Position/Position.d.ts +2 -2
- package/dist/components/Position/Position.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/components/Scrollable/Scrollable.d.ts +3 -0
- package/dist/components/Scrollable/Scrollable.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +3 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +3 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts +3 -0
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/Sidebar/Item.d.ts +3 -0
- package/dist/components/Sidebar/Item.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBar.d.ts +3 -0
- package/dist/components/Sidebar/TopBar/TopBar.d.ts.map +1 -1
- package/dist/components/StatusBullet/StatusBullet.d.ts +3 -0
- package/dist/components/StatusBullet/StatusBullet.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -0
- package/dist/components/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/Tag/Tag.d.ts +3 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/TelephoneInput/TelephoneInput.d.ts +3 -0
- package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
- package/dist/components/TextAreaInput/{TextArea.d.ts → TextAreaInput.d.ts} +4 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -0
- package/dist/components/TextAreaInput/index.d.ts +1 -1
- package/dist/components/TextAreaInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/TextInput.d.ts +3 -0
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/Throbber/Throbber.d.ts +3 -0
- package/dist/components/Throbber/Throbber.d.ts.map +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts +3 -0
- package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +214 -51
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/dist/testing.d.ts +12 -0
- package/dist/testing.d.ts.map +1 -0
- package/package.json +27 -28
- package/dist/components/TextAreaInput/TextArea.d.ts.map +0 -1
|
@@ -4,6 +4,9 @@ type AccordionProps = ComponentProps<typeof Box> & {
|
|
|
4
4
|
animated?: boolean;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
+
/**
|
|
8
|
+
* An `Accordion` allows users to toggle the display of sections of content.
|
|
9
|
+
*/
|
|
7
10
|
export declare function Accordion(props: AccordionProps): ReactElement<AccordionProps>;
|
|
8
11
|
export declare namespace Accordion {
|
|
9
12
|
var Item: ({ children, className, defaultExpanded, disabled, expanded: propExpanded, tabIndex, title, noncollapsible, onToggle, onToggleEnabled, ...props }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAGzB,KAAK,cAAc,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,CAE7E;yBAFe,SAAS"}
|
|
1
|
+
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAGzB,KAAK,cAAc,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC,cAAc,CAAC,CAE7E;yBAFe,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AAwDA,eAAO,MAAM,WAAW;SAGf,MAAM;WACJ,MAAM;uBACM,MAAM;uBACN,MAAM;wBACL,MAAM;eACf,OAAO;gBACN,MAAM;iBACL,MAAM;8BACO,MAAM;+BACL,MAAM;6BACR,MAAM;oDA4JlC,CAAC"}
|
|
1
|
+
{"version":3,"file":"AudioPlayer.d.ts","sourceRoot":"","sources":["../../../src/components/AudioPlayer/AudioPlayer.tsx"],"names":[],"mappings":"AAwDA;;GAEG;AACH,eAAO,MAAM,WAAW;SAGf,MAAM;WACJ,MAAM;uBACM,MAAM;uBACN,MAAM;wBACL,MAAM;eACf,OAAO;gBACN,MAAM;iBACL,MAAM;8BACO,MAAM;+BACL,MAAM;6BACR,MAAM;oDA4JlC,CAAC"}
|
|
@@ -17,6 +17,9 @@ type AutoCompleteProps = {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
} & Omit<AllHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
20
|
+
/**
|
|
21
|
+
* An input for selection of options.
|
|
22
|
+
*/
|
|
20
23
|
export declare function AutoComplete({ value, filter, setFilter, options, renderItem, renderSelected: RenderSelected, onChange, renderEmpty, placeholder, error, disabled, multiple, onBlur: onBlurAction, ...props }: AutoCompleteProps): ReactElement;
|
|
21
24
|
export {};
|
|
22
25
|
//# sourceMappingURL=AutoComplete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EAEjB,WAAW,EACX,YAAY,EACb,MAAM,OAAO,CAAC;AAgBf,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,CAAC;AAc1D,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,OAAY,EACZ,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,QAAQ,EACR,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EAAE,YAAuB,EAC/B,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CA6IlC"}
|
|
1
|
+
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EAEjB,WAAW,EACX,YAAY,EACb,MAAM,OAAO,CAAC;AAgBf,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;IAC7C,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,EAAE,UAAU,CAAC,CAAC;AAc1D;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,MAAM,EACN,SAAS,EACT,OAAY,EACZ,UAAU,EACV,cAAc,EAAE,cAAc,EAC9B,QAAQ,EACR,WAAW,EACX,WAAW,EACX,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,EAAE,YAAuB,EAC/B,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG,YAAY,CA6IlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
|
|
@@ -8,5 +8,8 @@ export type BadgeProps = {
|
|
|
8
8
|
children?: any;
|
|
9
9
|
title?: any;
|
|
10
10
|
} & HTMLAttributes<HTMLSpanElement>;
|
|
11
|
+
/**
|
|
12
|
+
* Communicates notification’s amount and types.
|
|
13
|
+
*/
|
|
11
14
|
export declare function Badge({ is: Tag, variant, small, className, disabled, ...props }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIzD,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC,wBAAgB,KAAK,CAAC,EACpB,EAAE,EAAE,GAAY,EAChB,OAAqB,EACrB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAeZ"}
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIzD,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAEpC;;GAEG;AACH,wBAAgB,KAAK,CAAC,EACpB,EAAE,EAAE,GAAY,EAChB,OAAqB,EACrB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAeZ"}
|
|
@@ -3,6 +3,9 @@ import type { AllHTMLAttributes, ElementType, RefAttributes, SVGAttributes } fro
|
|
|
3
3
|
import type { Falsy } from '../../types/Falsy';
|
|
4
4
|
import type { StylingProps } from './stylingProps';
|
|
5
5
|
export declare const Box: import("react").ForwardRefExoticComponent<{
|
|
6
|
+
/**
|
|
7
|
+
* The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.
|
|
8
|
+
*/
|
|
6
9
|
is?: ElementType;
|
|
7
10
|
className?: string | cssFn | (string | cssFn | Falsy)[];
|
|
8
11
|
animated?: boolean;
|
|
@@ -10,6 +13,9 @@ export declare const Box: import("react").ForwardRefExoticComponent<{
|
|
|
10
13
|
htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
|
|
11
14
|
} & Partial<StylingProps> & Omit<AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<SVGAttributes<SVGElement>, "elevation" | keyof AllHTMLAttributes<HTMLElement>> & RefAttributes<any>>;
|
|
12
15
|
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
16
|
+
/**
|
|
17
|
+
* The `is` prop is used to render the Box as a different HTML tag. It can also be used to render a different fuselage component.
|
|
18
|
+
*/
|
|
13
19
|
is?: ElementType;
|
|
14
20
|
className?: string | cssFn | (string | cssFn | Falsy)[];
|
|
15
21
|
animated?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EAEd,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/components/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAEpD,OAAO,KAAK,EACV,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,aAAa,EAEd,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAsBnD,eAAO,MAAM,GAAG;IAlBd;;OAEG;SACE,WAAW;gBACJ,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE;eAC5C,OAAO;sBACA,OAAO,GAAG,qBAAqB;eACtC,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC;+NAsCjD,CAAC;;IA7CD;;OAEG;SACE,WAAW;gBACJ,MAAM,GAAG,KAAK,GAAG,CAAC,MAAM,GAAG,KAAK,GAAG,KAAK,CAAC,EAAE;eAC5C,OAAO;sBACA,OAAO,GAAG,qBAAqB;eACtC,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC;;AAwCnD,wBAAyB"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
1
|
+
import type { ComponentPropsWithoutRef, ComponentType } from 'react';
|
|
2
2
|
import type { StylingProps } from './stylingProps';
|
|
3
|
-
export declare const withBoxStyling: <
|
|
3
|
+
export declare const withBoxStyling: <TComponent extends ComponentType<{
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}>>(Component: TComponent) => {
|
|
6
|
+
(props: ComponentPropsWithoutRef<TComponent> & Partial<StylingProps>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
6
9
|
//# sourceMappingURL=withBoxStyling.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withBoxStyling.d.ts","sourceRoot":"","sources":["../../../src/components/Box/withBoxStyling.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"withBoxStyling.d.ts","sourceRoot":"","sources":["../../../src/components/Box/withBoxStyling.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGnD,eAAO,MAAM,cAAc,GACzB,UAAU,SAAS,aAAa,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,aAES,UAAU;YAGZ,wBAAwB,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC;;CAWtE,CAAC"}
|
|
@@ -18,6 +18,9 @@ export type ButtonProps = ComponentProps<typeof Box> & {
|
|
|
18
18
|
external?: boolean;
|
|
19
19
|
icon?: ComponentProps<typeof Icon>['name'];
|
|
20
20
|
} & Omit<AllHTMLAttributes<HTMLButtonElement | HTMLAnchorElement>, 'is' | 'className' | 'size'>;
|
|
21
|
+
/**
|
|
22
|
+
* Indicates an actionable user action.
|
|
23
|
+
*/
|
|
21
24
|
export declare const Button: import("react").ForwardRefExoticComponent<Omit<{
|
|
22
25
|
is?: import("react").ElementType;
|
|
23
26
|
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGpE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,GAAG,IAAI,CACJ,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EACxD,IAAI,GAAG,WAAW,GAAG,MAAM,CAC5B,CAAC;AAEJ,eAAO,MAAM,MAAM;;;;;;;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGpE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACrD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAC5C,GAAG,IAAI,CACJ,iBAAiB,CAAC,iBAAiB,GAAG,iBAAiB,CAAC,EACxD,IAAI,GAAG,WAAW,GAAG,MAAM,CAC5B,CAAC;AAEJ;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;cAvBP,OAAO;gBACL,OAAO;aACV,OAAO;cACN,OAAO;cACP,OAAO;eACN,OAAO;cACR,OAAO;WACV,OAAO;WACP,OAAO;YACN,OAAO;aACN,OAAO;YACR,OAAO;aACN,OAAO;eACL,OAAO;WACX,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;+KA2F1C,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* A container for grouping buttons that semantically share a common action context.
|
|
4
|
+
*/
|
|
2
5
|
export declare const ButtonGroup: import("react").ForwardRefExoticComponent<{
|
|
3
6
|
align?: "start" | "center" | "end";
|
|
4
7
|
stretch?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAejD,eAAO,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAejD;;GAEG;AACH,eAAO,MAAM,WAAW;YAXd,OAAO,GAAG,QAAQ,GAAG,KAAK;cACxB,OAAO;WACV,OAAO;eACH,OAAO;YACV,OAAO;YACP,OAAO;mFAiDf,CAAC"}
|
|
@@ -8,6 +8,9 @@ type CalloutProps = Omit<ComponentProps<typeof Box>, 'type' | 'name'> & {
|
|
|
8
8
|
icon?: ComponentProps<typeof Icon>['name'];
|
|
9
9
|
actions?: ReactElement;
|
|
10
10
|
};
|
|
11
|
+
/**
|
|
12
|
+
* The `Callout` is used to get the user's attention explaining something important in the content of the current page.
|
|
13
|
+
*/
|
|
11
14
|
export declare const Callout: ({ type, title, children, icon, className, actions, ...props }: CalloutProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
15
|
export {};
|
|
13
16
|
//# sourceMappingURL=Callout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,KAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACtE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAIF,eAAO,MAAM,OAAO,kEAQjB,YAAY,4CAmCd,CAAC"}
|
|
1
|
+
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,GAAG,MAAM,QAAQ,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,KAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACtE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,OAAO,kEAQjB,YAAY,4CAmCd,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
(props: Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
|
|
3
|
+
thumbUrl?: string;
|
|
4
|
+
renderThumb?: (props: {
|
|
5
|
+
url: string;
|
|
6
|
+
}) => import("react").ReactNode;
|
|
7
|
+
renderDismissSymbol?: () => import("react").ReactNode;
|
|
8
|
+
} & Partial<import("../Box/stylingProps").StylingProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
8
11
|
export default _default;
|
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/index.ts"],"names":[],"mappings":";;;;;;;;;;AAGA,wBAAoC"}
|
|
@@ -6,6 +6,13 @@ type CodeSnippetProps = ComponentProps<typeof Box> & {
|
|
|
6
6
|
buttonDisabled?: boolean;
|
|
7
7
|
onClick?: () => void;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* The `CodeSnippet` is used to show code or commands and make easier to copy them.
|
|
11
|
+
*
|
|
12
|
+
* The default button text is `Copy` but you can use the `buttonText` prop to handle translations in your project.
|
|
13
|
+
*
|
|
14
|
+
* Please check the `useClipBoard` hook in `fuselage-hooks` package, to handle the copy behaviour.
|
|
15
|
+
*/
|
|
9
16
|
declare const CodeSnippet: ({ children, onClick, buttonText, buttonDisabled, ...props }: CodeSnippetProps) => ReactElement<CodeSnippetProps>;
|
|
10
17
|
export default CodeSnippet;
|
|
11
18
|
//# sourceMappingURL=CodeSnippet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,WAAW,gEAMd,gBAAgB,KAAG,YAAY,CAAC,gBAAgB,CAuBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,GAAG,MAAM,QAAQ,CAAC;AAIzB,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF;;;;;;GAMG;AACH,QAAA,MAAM,WAAW,gEAMd,gBAAgB,KAAG,YAAY,CAAC,gBAAgB,CAuBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;AAyCA,wBAAmC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactElement, ComponentProps } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import Box from '../Box';
|
|
3
3
|
declare const _default: import("react").MemoExoticComponent<(props: ComponentProps<typeof Box>) => ReactElement>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=ContextualbarSkeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualbarSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextualbarSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Contextualbar/ContextualbarSkeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG1D,OAAO,GAAG,MAAM,QAAQ,CAAC;oEAMhB,cAAc,CAAC,OAAO,GAAG,CAAC,KAChC,YAAY;AAgBf,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Contextualbar.d.ts","sourceRoot":"","sources":["../../../src/components/ContextualbarV2/Contextualbar.tsx"],"names":[],"mappings":";;;;;;;AAyCA,wBAAmC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* An input for email addresses.
|
|
4
|
+
*/
|
|
2
5
|
export declare const EmailInput: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
3
6
|
is?: import("react").ElementType;
|
|
4
7
|
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAwC5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../src/components/EmailInput/EmailInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,SAAS,EAAO,MAAM,OAAO,CAAC;AAwC5D;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;YArCb,SAAS;YACT,MAAM;uDAyCd,CAAC"}
|
|
@@ -2,6 +2,9 @@ import type { ComponentPropsWithoutRef } from 'react';
|
|
|
2
2
|
import Box from '../Box';
|
|
3
3
|
export declare const FieldContext: import("react").Context<boolean>;
|
|
4
4
|
type FieldProps = ComponentPropsWithoutRef<typeof Box>;
|
|
5
|
+
/**
|
|
6
|
+
* A `Field` is a wrapper representing an entry in a form.
|
|
7
|
+
*/
|
|
5
8
|
export declare function Field(props: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
6
9
|
export {};
|
|
7
10
|
//# sourceMappingURL=Field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEvD,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAMtC"}
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/components/Field/Field.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,eAAO,MAAM,YAAY,kCAAuB,CAAC;AAEjD,KAAK,UAAU,GAAG,wBAAwB,CAAC,OAAO,GAAG,CAAC,CAAC;AAEvD;;GAEG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,UAAU,2CAMtC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
3
|
type FieldGroupProps = ComponentProps<typeof Box>;
|
|
4
|
+
/**
|
|
5
|
+
* A container for grouping fields that semantically share a common data context.
|
|
6
|
+
*/
|
|
4
7
|
export declare const FieldGroup: ({ children, ...props }: FieldGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=FieldGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,eAAe,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAElD,eAAO,MAAM,UAAU,2BAA4B,eAAe,4CAYjE,CAAC"}
|
|
1
|
+
{"version":3,"file":"FieldGroup.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,eAAe,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,UAAU,2BAA4B,eAAe,4CAYjE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';
|
|
2
|
-
import type { InputBoxSkeleton } from '.';
|
|
3
2
|
import type Box from '../Box';
|
|
3
|
+
import type { InputBoxSkeleton } from './InputBoxSkeleton';
|
|
4
4
|
import type { Option } from './Option';
|
|
5
5
|
import type { Placeholder } from './Placeholder';
|
|
6
6
|
type InputBoxProps = ComponentProps<typeof Box> & {
|
|
@@ -13,12 +13,17 @@ type InputBoxProps = ComponentProps<typeof Box> & {
|
|
|
13
13
|
small?: boolean;
|
|
14
14
|
type: 'button' | 'checkbox' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'textarea' | 'select';
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
/**
|
|
17
|
+
* A decorated input control with support for addons.
|
|
18
|
+
*
|
|
19
|
+
* Usually you'll perfer to use `-Input` (e.g. <LinkTo kind='Forms/TextInput' story='Default'>`TextInput`</LinkTo>)
|
|
20
|
+
* components over this one because it works as a construction block for them.
|
|
21
|
+
*/
|
|
22
|
+
export declare const InputBox: ForwardRefExoticComponent<InputBoxProps> & {
|
|
17
23
|
Input: ForwardRefExoticComponent<ComponentProps<typeof Box>>;
|
|
18
24
|
Skeleton: ForwardRefExoticComponent<ComponentProps<typeof InputBoxSkeleton>>;
|
|
19
25
|
Option: ForwardRefExoticComponent<ComponentProps<typeof Option>>;
|
|
20
26
|
Placeholder: ForwardRefExoticComponent<ComponentProps<typeof Placeholder>>;
|
|
21
27
|
};
|
|
22
|
-
export declare const InputBox: InputBox;
|
|
23
28
|
export {};
|
|
24
29
|
//# sourceMappingURL=InputBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,yBAAyB,EACzB,SAAS,EAEV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAI9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGjD,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,EACA,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,UAAU,GACV,QAAQ,CAAC;CACd,CAAC;AAEF;;;;;GAKG;AAEH,eAAO,MAAM,QAAQ,EA0HJ,yBAAyB,CAAC,aAAa,CAAC,GAAG;IAC1D,KAAK,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IAC7D,QAAQ,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;IAC7E,MAAM,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACjE,WAAW,EAAE,yBAAyB,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC;CAC5E,CAAC"}
|
|
@@ -5,6 +5,9 @@ type LabelProps = Omit<ComponentProps<typeof Box>, 'is'> & {
|
|
|
5
5
|
required?: boolean;
|
|
6
6
|
is?: (ElementType<any> & string) | undefined;
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* A caption for an input component.
|
|
10
|
+
*/
|
|
8
11
|
export declare function Label({ disabled, is, required, children, ...props }: LabelProps): ReactElement;
|
|
9
12
|
export {};
|
|
10
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,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGvE,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,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,EAAE,EACF,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,YAAY,CAgB3B"}
|
|
1
|
+
{"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../src/components/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGvE,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,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,EAAE,EACF,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,YAAY,CAgB3B"}
|
|
@@ -10,6 +10,9 @@ type MarginsProps = PropsWithChildren<{
|
|
|
10
10
|
inlineEnd?: ComponentProps<typeof Box>['marginInlineEnd'];
|
|
11
11
|
className?: string;
|
|
12
12
|
}>;
|
|
13
|
+
/**
|
|
14
|
+
* Add margins to the wrapped component.
|
|
15
|
+
*/
|
|
13
16
|
export declare const Margins: (props: MarginsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
17
|
export {};
|
|
15
18
|
//# sourceMappingURL=Margins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/D,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAG9B,KAAK,YAAY,GAAG,iBAAiB,CAAC;IACpC,GAAG,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,kBAAkB,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAuG1C,CAAC"}
|
|
1
|
+
{"version":3,"file":"Margins.d.ts","sourceRoot":"","sources":["../../../src/components/Margins/Margins.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAO/D,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAG9B,KAAK,YAAY,GAAG,iBAAiB,CAAC;IACpC,GAAG,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC3C,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,kBAAkB,CAAC,CAAC;IAC5D,QAAQ,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,cAAc,CAAC,CAAC;IACpD,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAC9D,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,iBAAiB,CAAC,CAAC;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAuG1C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks';
|
|
2
2
|
import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
3
3
|
import type Box from '../Box';
|
|
4
|
-
import { IconButton } from '../Button
|
|
4
|
+
import { IconButton } from '../Button';
|
|
5
5
|
type MenuProps = Omit<ComponentProps<typeof IconButton>, 'icon'> & {
|
|
6
6
|
options: {
|
|
7
7
|
[id: string]: {
|
|
@@ -17,6 +17,9 @@ type MenuProps = Omit<ComponentProps<typeof IconButton>, 'icon'> & {
|
|
|
17
17
|
icon?: ComponentProps<typeof IconButton>['icon'];
|
|
18
18
|
maxHeight?: string | number;
|
|
19
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* Kebab Menu
|
|
22
|
+
*/
|
|
20
23
|
export declare const Menu: ({ tiny, mini, small, options, optionWidth, placement, renderItem, maxHeight, icon, ...props }: MenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
24
|
export {};
|
|
22
25
|
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,KAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,MAAM,CAAC,GAAG;IACjE,OAAO,EAAE;QACP,CAAC,EAAE,EAAE,MAAM,GAAG;YACZ,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;YACxC,KAAK,CAAC,EAAE,SAAS,CAAC;YAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;YACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;SACpB,CAAC;KACH,CAAC;IACF,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC7B,CAAC;AAiBF;;GAEG;AACH,eAAO,MAAM,IAAI,kGAWd,SAAS,4CAsEX,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { AriaMenuProps } from 'react-aria';
|
|
|
4
4
|
import type { MenuTriggerProps } from 'react-stately';
|
|
5
5
|
import type Box from '../../Box/Box';
|
|
6
6
|
import { IconButton } from '../../Button';
|
|
7
|
-
interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
|
|
7
|
+
export interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
|
|
8
8
|
icon?: ComponentProps<typeof IconButton>['icon'];
|
|
9
9
|
large?: boolean;
|
|
10
10
|
medium?: boolean;
|
|
@@ -23,6 +23,9 @@ interface MenuButtonProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
|
|
|
23
23
|
maxWidth?: string;
|
|
24
24
|
button?: ReactElement;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Kebab Menu. Use `<MenuItem>` to render the menu items.
|
|
28
|
+
*/
|
|
26
29
|
declare const Menu: {
|
|
27
30
|
<T extends object>({ icon, placement, title, is: MenuButton, className, pressed, maxWidth, button, detached, ...props }: MenuButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
28
31
|
displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/V2/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/V2/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,KAAK,GAAG,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAK1C,MAAM,WAAW,eAAe,CAAC,CAAC,CAAE,SAAQ,aAAa,CAAC,CAAC,CAAC,EAAE,gBAAgB;IAC5E,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;IACjD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAED;;GAEG;AACH,QAAA,MAAM,IAAI;KAAI,CAAC,SAAS,MAAM,wGAW3B,eAAe,CAAC,CAAC,CAAC;;CAoDpB,CAAC;AAIF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;;;;;IAG9D;;SAEK;;;;;;;;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;;;;;;;;;IAG9D;;SAEK;;;;;;;;;;;;;;;;;;;;;;;IAEL;;SAEK;;;;IAEL;;SAEK;;;;;;;;;;;;;;;;;;;;;;;;;oBACF,CAAC;qBAGkC,CAAC;sBAAyB,CAAC;wBAChD,CAAC;;;;;;;;;;AAhBpB,wBAaG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { StoryFn } from '@storybook/react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
2
3
|
export declare const avatarUrl = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAAoACgDASIAAhEBAxEB/8QAGwAAAgIDAQAAAAAAAAAAAAAAAAcEBgIDBQj/xAAuEAACAQQAAwcEAQUAAAAAAAABAgMABAUREiExBhMUIkFRYQcWcYGhFTJSgpH/xAAYAQADAQEAAAAAAAAAAAAAAAACAwQBAP/EAB4RAAIBBQEBAQAAAAAAAAAAAAABAgMREiExE0HR/9oADAMBAAIRAxEAPwBuXuIkhBuMe5ib/AHQP49q4L3mLitryTLTSpOiHQI5k/HzXa/qbFOEudVTu1dumWvcTaNCZYZ7vU6g6LxqjOU/24dfs1Ouh9FnkMpd3Reeyx83hAxZZEhkdV9/MBrX71WGPvJcqrJBGveKATtuXXqNU0pu02bTHXD/AGvJAluyxxRd6F4x00o+NdKoVrjbzJdvVe1t5cVLc2ck8qjnohgpPtz2v7G6JtPQ2VJwjlcw+37mchpnK6GtIuv5NFWeTsLNPvxWTvpfjvOEfwKKzEVkSct2vscS/BIzSN0YRkeX81UpPqO8masJETu7OOccY4dswYFQeftv096XV5knuJGdm2T1+agvMXj8jEaHX905QihabvcbuS7X566mLWLwSY8PuRnk/u4eZ0deTl71Ef6hY+0yM88TzeNZY4luYwpVYyduOfrvhPTnr0pXSX9y5mCsyJMdyxxvwq599em+taItqCSNc90ChvZRUruUcT0JiO18Elpk7t8v41LWzacxkBSuvjQ/FFJayjDWrCTepAQ2vUH0oo/Jk3ovpwJJeVCP5CN+lFFaaMqy+nAyuChvrTI2kN9JAsi2ZOy4IBHMnkSCP+iqBexSWdxLazoUljJVlPUH2oorkV10pRc7b1zXb/hZOzuJvM86QWEXeELxOzHSIPcmiiiunVlF2RNTpRkrs//Z";
|
|
3
|
-
export declare const BasicMessageTemplate:
|
|
4
|
+
export declare const BasicMessageTemplate: StoryFn<{
|
|
5
|
+
reactions?: ReactNode;
|
|
6
|
+
toolbar?: ReactNode;
|
|
7
|
+
metrics?: ReactNode;
|
|
8
|
+
}>;
|
|
4
9
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/Message/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/Message/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,eAAO,MAAM,SAAS,4nCACqmC,CAAC;AAE5nC,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC;IACzC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CA2BA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAWtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAWtD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA9BH,CAAC;yBACA,CAAC;0BACpB,CAAC;4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8B5C,wBAiBG"}
|
|
@@ -2,6 +2,9 @@ import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
|
2
2
|
import type { SelectOption } from '..';
|
|
3
3
|
import { Icon } from '../Icon';
|
|
4
4
|
import type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';
|
|
5
|
+
/**
|
|
6
|
+
* An input for selection of options.
|
|
7
|
+
*/
|
|
5
8
|
export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
6
9
|
is?: ElementType;
|
|
7
10
|
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAEd,WAAW,EAEX,SAAS,EACV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAMvC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAO/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAwBzE,eAAO,MAAM,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EACV,cAAc,EAEd,WAAW,EAEX,SAAS,EACV,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,IAAI,CAAC;AAMvC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAO/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAwBzE;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;YApBd,YAAY,CAAC,CAAC,CAAC,EAAE;YACjB,MAAM;aACL,YAAY,EAAE;cACb,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI;eAClC,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;eACzC,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC;kBACtC,MAAM;aAEhB,WAAW,CAAC,uBAAuB,CAAC,GACpC,CAAC,CAAC,MAAM,EAAE,uBAAuB,KAAK,SAAS,CAAC;oBACpC,WAAW;iBACd,WAAW;qBACP,WAAW;gBAChB,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;gBACnC,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;4DAiNrC,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
import { InputBox } from '../InputBox';
|
|
3
3
|
type NumberInputProps = Omit<ComponentProps<typeof InputBox>, 'type'>;
|
|
4
|
+
/**
|
|
5
|
+
* An input for numbers.
|
|
6
|
+
*/
|
|
4
7
|
export declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<NumberInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
8
|
export {};
|
|
6
9
|
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtE,eAAO,MAAM,WAAW,4HAKtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,WAAW,4HAKtB,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { Ref, ComponentProps, ReactNode, MouseEvent, AllHTMLAttributes } from 'react';
|
|
2
2
|
import type { Icon } from '../..';
|
|
3
3
|
import type Box from '../Box';
|
|
4
|
+
/**
|
|
5
|
+
* The generic `Option` item of options. Can be freely used or inside the `Options` as well.
|
|
6
|
+
*/
|
|
4
7
|
declare const Option: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{
|
|
5
8
|
is?: ComponentProps<typeof Box>["is"];
|
|
6
9
|
id?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/Option/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EACd,SAAS,EACT,UAAU,EACV,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAyB9B,QAAA,MAAM,MAAM;
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../../src/components/Option/Option.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,cAAc,EACd,SAAS,EACT,UAAU,EACV,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAC;AAyB9B;;GAEG;AACH,QAAA,MAAM,MAAM;SAtBL,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC;SAChC,MAAM;eACA,SAAS;YACZ,SAAS;YACT,OAAO;eACJ,OAAO;gBACN,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC;UAC7C,GAAG,CAAC,OAAO,CAAC;WACX,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC;UACpC,OAAO;aACJ,SAAS;YACV,MAAM;eACH,OAAO;YACV,MAAM;cACJ,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS;cAC5C,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI;kBACpC,SAAS;oGAwExB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -12,6 +12,9 @@ export type OptionType = [
|
|
|
12
12
|
export declare const Empty: import("react").MemoExoticComponent<({ customEmpty }: {
|
|
13
13
|
customEmpty: string;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
/**
|
|
16
|
+
* An input for selection of options.
|
|
17
|
+
*/
|
|
15
18
|
export declare const Options: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
16
19
|
is?: ElementType;
|
|
17
20
|
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EACX,SAAS,EAGV,MAAM,OAAO,CAAC;AAQf,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM;IACtB,KAAK,EAAE,SAAS;IAChB,QAAQ,CAAC,EAAE,OAAO;IAClB,QAAQ,CAAC,EAAE,OAAO;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ;IACvC,GAAG,CAAC,EAAE,MAAM;CACb,CAAC;AAYF,eAAO,MAAM,KAAK,wDAA0B;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,6CAEjE,CAAC;AAEH,eAAO,MAAM,OAAO;;;;;;;
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,WAAW,EACX,SAAS,EAGV,MAAM,OAAO,CAAC;AAQf,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC;AAErB,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM;IACtB,KAAK,EAAE,SAAS;IAChB,QAAQ,CAAC,EAAE,OAAO;IAClB,QAAQ,CAAC,EAAE,OAAO;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,QAAQ;IACvC,GAAG,CAAC,EAAE,MAAM;CACb,CAAC;AAYF,eAAO,MAAM,KAAK,wDAA0B;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,6CAEjE,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;;;eAhBP,OAAO;aACT,UAAU,EAAE;YACb,MAAM;iBACD,WAAW;kBACV,WAAW;cACf,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI;kBACxB,MAAM;uDA0GrB,CAAC;AACF,eAAO,MAAM,eAAe;;;;;;kXAwB1B,CAAC"}
|
|
@@ -20,6 +20,9 @@ export declare const CheckOption: import("react").NamedExoticComponent<Omit<{
|
|
|
20
20
|
onClick?: (event: import("react").MouseEvent<HTMLElement>) => void;
|
|
21
21
|
description?: import("react").ReactNode;
|
|
22
22
|
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown>>;
|
|
23
|
+
/**
|
|
24
|
+
* An input for selection of options.
|
|
25
|
+
*/
|
|
23
26
|
export declare const OptionsPaginated: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
24
27
|
is?: ElementType;
|
|
25
28
|
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
@@ -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;AAgBzB,eAAO,MAAM,KAAK,oFAAuC,CAAC;AAI1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;mHAUtB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;
|
|
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;AAgBzB,eAAO,MAAM,KAAK,oFAAuC,CAAC;AAI1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;mHAUtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;eA7BhB,OAAO;aACT;QAAE,KAAK,EAAE,OAAO,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,EAAE;YACxD,MAAM;gBACF,OAAO;iBACN,WAAW;kBACV,WAAW;cACf,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI;iBAChC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;mDAqFrC,CAAC;AAEF,eAAO,MAAM,UAAU,wKAMtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PaginatedSelectFiltered } from './PaginatedSelectFiltered';
|
|
2
|
-
export { PaginatedMultiSelectOption } from './PaginatedMultiSelect';
|
|
2
|
+
export type { PaginatedMultiSelectOption } from './PaginatedMultiSelect';
|
|
3
3
|
export { PaginatedMultiSelectFiltered } from './PaginatedMultiSelectFiltered';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,YAAY,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { Themes } from './types/themes';
|
|
2
|
+
/**
|
|
3
|
+
* Style tag to handle the theme of the application.
|
|
4
|
+
*
|
|
5
|
+
* Import `PaletteStyleTag` and use it on the application informing the desired theme.
|
|
6
|
+
*
|
|
7
|
+
* Toggle the theme on Storybook's Control panel to see the color changes.
|
|
8
|
+
*/
|
|
2
9
|
export declare const PaletteStyleTag: import("react").NamedExoticComponent<{
|
|
3
10
|
theme?: Themes;
|
|
4
11
|
/**
|