@rocket.chat/fuselage 0.60.2 → 0.61.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/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Box/Box.d.ts +6 -14
- package/dist/components/Box/Box.d.ts.map +1 -1
- package/dist/components/Box/index.d.ts +1 -1
- package/dist/components/Box/index.d.ts.map +1 -1
- package/dist/components/Box/useStylingProps.d.ts +1 -1
- package/dist/components/Box/useStylingProps.d.ts.map +1 -1
- package/dist/components/Button/ActionButton.d.ts +5 -25
- package/dist/components/Button/ActionButton.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +1 -23
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/IconButton.d.ts +5 -9
- package/dist/components/Button/IconButton.d.ts.map +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts +6 -9
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/Contextualbar/Contextualbar.d.ts +3 -7
- package/dist/components/Contextualbar/Contextualbar.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarContent.d.ts +3 -7
- package/dist/components/Contextualbar/ContextualbarContent.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarFooter.d.ts +3 -7
- package/dist/components/Contextualbar/ContextualbarFooter.d.ts.map +1 -1
- package/dist/components/Contextualbar/ContextualbarSection.d.ts +3 -7
- package/dist/components/Contextualbar/ContextualbarSection.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/Contextualbar.d.ts +3 -7
- package/dist/components/ContextualbarV2/Contextualbar.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts +3 -7
- package/dist/components/ContextualbarV2/ContextualbarContent.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts +3 -7
- package/dist/components/ContextualbarV2/ContextualbarFooter.d.ts.map +1 -1
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts +3 -7
- package/dist/components/ContextualbarV2/ContextualbarSection.d.ts.map +1 -1
- package/dist/components/EmailInput/EmailInput.d.ts +8 -20
- package/dist/components/EmailInput/EmailInput.d.ts.map +1 -1
- package/dist/components/Field/index.d.ts +18 -42
- package/dist/components/Field/index.d.ts.map +1 -1
- package/dist/components/Grid/Grid.d.ts +3 -7
- package/dist/components/Grid/Grid.d.ts.map +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -10
- package/dist/components/Icon/Icon.d.ts.map +1 -1
- package/dist/components/InputBox/Addon.d.ts +3 -7
- package/dist/components/InputBox/Addon.d.ts.map +1 -1
- package/dist/components/InputBox/Input.d.ts +3 -7
- package/dist/components/InputBox/Input.d.ts.map +1 -1
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/InputBox/Option.d.ts +3 -7
- package/dist/components/InputBox/Option.d.ts.map +1 -1
- package/dist/components/InputBox/Placeholder.d.ts +3 -7
- package/dist/components/InputBox/Placeholder.d.ts.map +1 -1
- package/dist/components/InputBox/index.d.ts +18 -42
- package/dist/components/InputBox/index.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/V2/MenuOption.d.ts +1 -15
- package/dist/components/Menu/V2/MenuOption.d.ts.map +1 -1
- package/dist/components/Message/MessageBlock.d.ts +6 -8
- package/dist/components/Message/MessageBlock.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts +1 -10
- package/dist/components/Message/MessageMetrics/MessageMetricsItem/index.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/index.d.ts +5 -40
- package/dist/components/Message/MessageMetrics/index.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +3 -7
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/index.d.ts +6 -14
- package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +14 -61
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Modal/Modal.d.ts +6 -10
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +3 -7
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/MultiSelect/MultiSelect.d.ts +9 -12
- package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/components/NavBar/NavBarItem.d.ts +3 -7
- package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
- package/dist/components/Option/CheckOption.d.ts +4 -2
- package/dist/components/Option/CheckOption.d.ts.map +1 -1
- package/dist/components/Option/Option.d.ts +10 -9
- package/dist/components/Option/Option.d.ts.map +1 -1
- package/dist/components/Option/index.d.ts +8 -19
- package/dist/components/Option/index.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts +13 -21
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/Options/index.d.ts +3 -7
- package/dist/components/Options/index.d.ts.map +1 -1
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +20 -22
- package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +3 -3
- package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
- package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts +3 -7
- package/dist/components/PaginatedSelect/PaginatedSelectWrapper.d.ts.map +1 -1
- package/dist/components/RadioButton/RadioButton.d.ts +5 -8
- package/dist/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +8 -20
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/SelectAddon.d.ts +3 -7
- package/dist/components/Select/SelectAddon.d.ts.map +1 -1
- package/dist/components/Select/SelectFiltered.d.ts +1 -24
- package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
- package/dist/components/Select/SelectFocus.d.ts +3 -7
- package/dist/components/Select/SelectFocus.d.ts.map +1 -1
- package/dist/components/Select/SelectLegacy.d.ts +1 -20
- package/dist/components/Select/SelectLegacy.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts +8 -21
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +3 -7
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +3 -7
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +3 -7
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
- package/dist/components/Sidebar/TopBar/index.d.ts +3 -7
- package/dist/components/Sidebar/TopBar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +6 -14
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/SidebarV2/SidebarAction.d.ts +3 -7
- package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
- package/dist/components/SidebarV2/hooks/useCollapse.d.ts +1 -1
- package/dist/components/SidebarV2/hooks/useCollapse.d.ts.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -7
- package/dist/components/Tabs/TabsItem.d.ts +6 -8
- package/dist/components/Tabs/TabsItem.d.ts.map +1 -1
- package/dist/components/TelephoneInput/TelephoneInput.d.ts +9 -21
- package/dist/components/TelephoneInput/TelephoneInput.d.ts.map +1 -1
- package/dist/components/TextAreaInput/TextAreaInput.d.ts +8 -20
- package/dist/components/TextAreaInput/TextAreaInput.d.ts.map +1 -1
- package/dist/components/TextInput/TextInput.d.ts +1 -19
- package/dist/components/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/Throbber/Throbber.d.ts +9 -11
- package/dist/components/Throbber/Throbber.d.ts.map +1 -1
- package/dist/components/Tile/Tile.d.ts +3 -7
- package/dist/components/Tile/Tile.d.ts.map +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts +1 -1
- package/dist/components/ToastBar/ToastBar.d.ts.map +1 -1
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -7
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +7 -10
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/fuselage.development.js +223 -207
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/dist/fuselage.production.js.LICENSE.txt +5 -10
- package/dist/hooks/useBoxOnlyProps.d.ts +0 -2
- package/dist/hooks/useBoxOnlyProps.d.ts.map +1 -1
- package/dist/testing.d.ts +1 -11
- package/dist/testing.d.ts.map +1 -1
- package/package.json +12 -12
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
|
-
|
|
4
|
-
wrapperFunction?: (props: Pick<ComponentProps<typeof Box>,
|
|
5
|
-
wrapper?: ElementType<Pick<ComponentProps<typeof Box>,
|
|
6
|
-
} &
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
animated?: boolean;
|
|
10
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
11
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
12
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<Element>>;
|
|
3
|
+
type ModalProps = {
|
|
4
|
+
wrapperFunction?: (props: Pick<ComponentProps<typeof Box>, 'elevation' | 'className' | 'children'>) => ReactNode;
|
|
5
|
+
wrapper?: ElementType<Pick<ComponentProps<typeof Box>, 'elevation' | 'className' | 'children'>>;
|
|
6
|
+
} & ComponentProps<typeof Box>;
|
|
7
|
+
export declare const Modal: import("react").ForwardRefExoticComponent<Omit<ModalProps, "ref"> & import("react").RefAttributes<Element>>;
|
|
8
|
+
export {};
|
|
13
9
|
//# sourceMappingURL=Modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzE,OAAO,GAAG,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,UAAU,GAAG;IAChB,eAAe,CAAC,EAAE,CAChB,KAAK,EAAE,IAAI,CACT,cAAc,CAAC,OAAO,GAAG,CAAC,EAC1B,WAAW,GAAG,WAAW,GAAG,UAAU,CACvC,KACE,SAAS,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CACnB,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,UAAU,CAAC,CACzE,CAAC;CACH,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC;AAE/B,eAAO,MAAM,KAAK,6GAmBjB,CAAC"}
|
|
@@ -14,13 +14,9 @@ import { ModalTitle } from './ModalTitle';
|
|
|
14
14
|
declare const _default: import("react").ForwardRefExoticComponent<Omit<{
|
|
15
15
|
wrapperFunction?: (props: Pick<import("react").ComponentProps<typeof import("..").Box>, "elevation" | "className" | "children">) => import("react").ReactNode;
|
|
16
16
|
wrapper?: import("react").ElementType<Pick<import("react").ComponentProps<typeof import("..").Box>, "elevation" | "className" | "children">>;
|
|
17
|
-
} & {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
animated?: boolean;
|
|
21
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
22
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
23
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<Element>> & {
|
|
17
|
+
} & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
18
|
+
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;
|
|
19
|
+
}, "ref"> & import("react").RefAttributes<Element>> & {
|
|
24
20
|
Backdrop: (props: import("./ModalBackdrop").ModalBackdropProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
21
|
Close: (props: import("./ModalClose").ModalCloseProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
22
|
Content: ({ children, onScrollContent, ...props }: import("./ModalContent").ModalContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;AAG1C,wBAcG;AAEH,OAAO,EACL,aAAa,EACb,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,YAAY,EACZ,eAAe,EACf,cAAc,EACd,sBAAsB,EACtB,qBAAqB,GACtB,CAAC"}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
2
2
|
import type { SelectOption } from '..';
|
|
3
|
+
import Box from '../Box';
|
|
3
4
|
import { Icon } from '../Icon';
|
|
4
5
|
import type { MultiSelectAnchorParams } from './MultiSelectAnchorParams';
|
|
5
|
-
|
|
6
|
-
* An input for selection of options.
|
|
7
|
-
*/
|
|
8
|
-
export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
9
|
-
is?: ElementType;
|
|
10
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
11
|
-
animated?: boolean;
|
|
12
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
13
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
14
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "value" | "onChange"> & {
|
|
6
|
+
type MultiSelectProps = Omit<ComponentProps<typeof Box>, 'onChange' | 'value'> & {
|
|
15
7
|
value?: SelectOption[0][];
|
|
16
8
|
error?: string;
|
|
17
9
|
options: SelectOption[];
|
|
@@ -23,7 +15,12 @@ export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit
|
|
|
23
15
|
renderOptions?: ElementType;
|
|
24
16
|
renderItem?: ElementType;
|
|
25
17
|
renderSelected?: ElementType;
|
|
26
|
-
addonIcon?: ComponentProps<typeof Icon>[
|
|
18
|
+
addonIcon?: ComponentProps<typeof Icon>['name'];
|
|
27
19
|
setFilter?: (filter: string) => void;
|
|
28
|
-
}
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* An input for selection of options.
|
|
23
|
+
*/
|
|
24
|
+
export declare const MultiSelect: import("react").ForwardRefExoticComponent<Omit<MultiSelectProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export {};
|
|
29
26
|
//# sourceMappingURL=MultiSelect.d.ts.map
|
|
@@ -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;
|
|
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;AAIvC,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAQ/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGzE,KAAK,gBAAgB,GAAG,IAAI,CAC1B,cAAc,CAAC,OAAO,GAAG,CAAC,EAC1B,UAAU,GAAG,OAAO,CACrB,GAAG;IACF,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAC,CAAC,CAAC,CAAC;IACrD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EACH,WAAW,CAAC,uBAAuB,CAAC,GACpC,CAAC,CAAC,MAAM,EAAE,uBAAuB,KAAK,SAAS,CAAC,CAAC;IACrD,aAAa,CAAC,EAAE,WAAW,CAAC;IAC5B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,4HA2MvB,CAAC"}
|
|
@@ -14,11 +14,7 @@ export declare const NavBarItem: import("react").ForwardRefExoticComponent<Omit<
|
|
|
14
14
|
small?: boolean;
|
|
15
15
|
tiny?: boolean;
|
|
16
16
|
mini?: boolean;
|
|
17
|
-
} & {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
animated?: boolean;
|
|
21
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
22
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
23
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
17
|
+
} & Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
18
|
+
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;
|
|
19
|
+
}, "ref"> & import("react").RefAttributes<HTMLElement>>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
24
20
|
//# sourceMappingURL=NavBarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBarItem.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5D,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"NavBarItem.d.ts","sourceRoot":"","sources":["../../../src/components/NavBar/NavBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;6GAoBrB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
|
-
export declare const CheckOption: import("react").NamedExoticComponent<Omit<{
|
|
2
|
+
export declare const CheckOption: import("react").NamedExoticComponent<Omit<Omit<{
|
|
3
3
|
is?: ComponentProps<typeof import("..").Box>["is"];
|
|
4
4
|
id?: string;
|
|
5
5
|
children?: import("react").ReactNode;
|
|
@@ -17,5 +17,7 @@ export declare const CheckOption: import("react").NamedExoticComponent<Omit<{
|
|
|
17
17
|
variant?: "danger" | "success" | "warning" | "primary";
|
|
18
18
|
onClick?: (event: import("react").MouseEvent<HTMLElement>) => void;
|
|
19
19
|
description?: import("react").ReactNode;
|
|
20
|
-
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown
|
|
20
|
+
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
|
|
21
|
+
ref?: ((instance: unknown) => 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<unknown> | null | undefined;
|
|
22
|
+
}>;
|
|
21
23
|
//# sourceMappingURL=CheckOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckOption.d.ts","sourceRoot":"","sources":["../../../src/components/Option/CheckOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"CheckOption.d.ts","sourceRoot":"","sources":["../../../src/components/Option/CheckOption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC"}
|
|
@@ -1,27 +1,28 @@
|
|
|
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
|
-
|
|
6
|
-
*/
|
|
7
|
-
declare const Option: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{
|
|
8
|
-
is?: ComponentProps<typeof Box>["is"];
|
|
4
|
+
type OptionProps = {
|
|
5
|
+
is?: ComponentProps<typeof Box>['is'];
|
|
9
6
|
id?: string;
|
|
10
7
|
children?: ReactNode;
|
|
11
8
|
label?: ReactNode;
|
|
12
9
|
focus?: boolean;
|
|
13
10
|
selected?: boolean;
|
|
14
|
-
className?: ComponentProps<typeof Box>[
|
|
11
|
+
className?: ComponentProps<typeof Box>['className'];
|
|
15
12
|
ref?: Ref<Element>;
|
|
16
|
-
icon?: ComponentProps<typeof Icon>[
|
|
13
|
+
icon?: ComponentProps<typeof Icon>['name'];
|
|
17
14
|
gap?: boolean;
|
|
18
15
|
avatar?: ReactNode;
|
|
19
16
|
title?: string;
|
|
20
17
|
disabled?: boolean;
|
|
21
18
|
value?: string;
|
|
22
|
-
variant?:
|
|
19
|
+
variant?: 'danger' | 'success' | 'warning' | 'primary';
|
|
23
20
|
onClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
24
21
|
description?: ReactNode;
|
|
25
|
-
} & Omit<AllHTMLAttributes<HTMLElement>,
|
|
22
|
+
} & Omit<AllHTMLAttributes<HTMLElement>, 'label'>;
|
|
23
|
+
/**
|
|
24
|
+
* The generic `Option` item of options. Can be freely used or inside the `Options` as well.
|
|
25
|
+
*/
|
|
26
|
+
declare const Option: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<OptionProps, "ref"> & import("react").RefAttributes<unknown>>>;
|
|
26
27
|
export default Option;
|
|
27
28
|
//# sourceMappingURL=Option.d.ts.map
|
|
@@ -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;
|
|
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;AAM9B,KAAK,WAAW,GAAG;IACjB,EAAE,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,CAAC;IACpD,GAAG,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACvD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD;;GAEG;AACH,QAAA,MAAM,MAAM,mJAkEX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -10,7 +10,7 @@ import OptionInput from './OptionInput';
|
|
|
10
10
|
import OptionMenu from './OptionMenu';
|
|
11
11
|
import OptionSkeleton from './OptionSkeleton';
|
|
12
12
|
import OptionTitle from './OptionTitle';
|
|
13
|
-
declare const _default: import("react").NamedExoticComponent<Omit<{
|
|
13
|
+
declare const _default: import("react").NamedExoticComponent<Omit<Omit<{
|
|
14
14
|
is?: import("react").ComponentProps<typeof import("..").Box>["is"];
|
|
15
15
|
id?: string;
|
|
16
16
|
children?: import("react").ReactNode;
|
|
@@ -28,7 +28,9 @@ declare const _default: import("react").NamedExoticComponent<Omit<{
|
|
|
28
28
|
variant?: "danger" | "success" | "warning" | "primary";
|
|
29
29
|
onClick?: (event: import("react").MouseEvent<HTMLElement>) => void;
|
|
30
30
|
description?: import("react").ReactNode;
|
|
31
|
-
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown
|
|
31
|
+
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
|
|
32
|
+
ref?: ((instance: unknown) => 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<unknown> | null | undefined;
|
|
33
|
+
}> & {
|
|
32
34
|
readonly type: import("react").ForwardRefExoticComponent<Omit<{
|
|
33
35
|
is?: import("react").ComponentProps<typeof import("..").Box>["is"];
|
|
34
36
|
id?: string;
|
|
@@ -64,24 +66,11 @@ declare const _default: import("react").NamedExoticComponent<Omit<{
|
|
|
64
66
|
children?: import("react").ReactNode;
|
|
65
67
|
} & import("react").HTMLAttributes<HTMLDivElement>) => import("react/jsx-runtime").JSX.Element;
|
|
66
68
|
/** @deprecated */
|
|
67
|
-
Icon: (props: Omit<
|
|
68
|
-
is?: import("react").ElementType;
|
|
69
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
70
|
-
animated?: boolean;
|
|
71
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
72
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
73
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "size" | "name"> & {
|
|
74
|
-
name: import("@rocket.chat/icons").Keys;
|
|
75
|
-
size?: import("react").ComponentProps<typeof import("..").Box>["width"];
|
|
76
|
-
}, "ref"> & import("react").RefAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
+
Icon: (props: Omit<import("..").IconProps, "ref"> & import("react").RefAttributes<HTMLElement>) => import("react/jsx-runtime").JSX.Element;
|
|
77
70
|
/** @deprecated */
|
|
78
|
-
Divider: (props: {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
animated?: boolean;
|
|
82
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
83
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
84
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
|
|
71
|
+
Divider: (props: Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
72
|
+
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;
|
|
73
|
+
} & {
|
|
85
74
|
variation?: "danger";
|
|
86
75
|
children?: import("react").ReactNode;
|
|
87
76
|
vertical?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Option/index.tsx"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,WAAW,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Option/index.tsx"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,WAAW,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGtC,kBAAkB;;;;IAElB,kBAAkB;;IAElB,kBAAkB;;;;IAElB,kBAAkB;;;;IAElB,kBAAkB;;IAElB,kBAAkB;;;;;;;;IAElB,kBAAkB;;;;IAElB,kBAAkB;;;AAfpB,wBAiBG;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ElementType, ReactNode } from 'react';
|
|
1
|
+
import type { ComponentProps, ElementType, ReactNode } from 'react';
|
|
2
|
+
import Box from '../Box';
|
|
2
3
|
import { useCursor } from './useCursor';
|
|
3
4
|
export { useCursor };
|
|
4
5
|
export type OptionType = [
|
|
@@ -9,19 +10,7 @@ export type OptionType = [
|
|
|
9
10
|
type?: 'heading' | 'divider' | 'option',
|
|
10
11
|
url?: string
|
|
11
12
|
];
|
|
12
|
-
|
|
13
|
-
customEmpty: string;
|
|
14
|
-
}) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
-
/**
|
|
16
|
-
* An input for selection of options.
|
|
17
|
-
*/
|
|
18
|
-
export declare const Options: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
19
|
-
is?: ElementType;
|
|
20
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
21
|
-
animated?: boolean;
|
|
22
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
23
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
24
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "onSelect"> & {
|
|
13
|
+
type OptionsProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {
|
|
25
14
|
multiple?: boolean;
|
|
26
15
|
options: OptionType[];
|
|
27
16
|
cursor: number;
|
|
@@ -29,12 +18,15 @@ export declare const Options: import("react").ForwardRefExoticComponent<Omit<Omi
|
|
|
29
18
|
renderEmpty?: ElementType;
|
|
30
19
|
onSelect: (option: OptionType) => void;
|
|
31
20
|
customEmpty?: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const Empty: import("react").MemoExoticComponent<({ customEmpty }: {
|
|
23
|
+
customEmpty: string;
|
|
24
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
+
/**
|
|
26
|
+
* An input for selection of options.
|
|
27
|
+
*/
|
|
28
|
+
export declare const Options: import("react").ForwardRefExoticComponent<Omit<OptionsProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
29
|
+
export declare const OptionContainer: import("react").ForwardRefExoticComponent<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
30
|
+
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;
|
|
32
31
|
}, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
33
|
-
export declare const OptionContainer: import("react").ForwardRefExoticComponent<Omit<{
|
|
34
|
-
is?: ElementType;
|
|
35
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
36
|
-
animated?: boolean;
|
|
37
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
38
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
39
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
40
32
|
//# sourceMappingURL=Options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,SAAS,EAGV,MAAM,OAAO,CAAC;AAIf,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,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;AAEF,KAAK,YAAY,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,wDAA0B;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,6CAEjE,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,OAAO,mHAgGnB,CAAC;AACF,eAAO,MAAM,eAAe;;uDAwB1B,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export * from './Options';
|
|
2
|
-
declare const _default: import("react").ForwardRefExoticComponent<Omit<Omit<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
animated?: boolean;
|
|
6
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
7
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
8
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "onSelect"> & {
|
|
2
|
+
declare const _default: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("../Box").BoxProps & import("react").RefAttributes<any>, "ref"> & {
|
|
3
|
+
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;
|
|
4
|
+
}, "onSelect"> & {
|
|
9
5
|
multiple?: boolean;
|
|
10
6
|
options: import("./Options").OptionType[];
|
|
11
7
|
cursor: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Options/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Options/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC;;;;;;;;;;;;IAKxB,kBAAkB;;;AADpB,wBAGG"}
|
|
@@ -1,7 +1,21 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType, Ref } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
|
+
type OptionsPaginatedProps = Omit<ComponentProps<typeof Box>, 'onSelect'> & {
|
|
4
|
+
multiple?: boolean;
|
|
5
|
+
options: {
|
|
6
|
+
value: unknown;
|
|
7
|
+
label: string;
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
}[];
|
|
10
|
+
cursor: number;
|
|
11
|
+
withTitle?: boolean;
|
|
12
|
+
renderItem?: ElementType;
|
|
13
|
+
renderEmpty?: ElementType;
|
|
14
|
+
onSelect: (option: [unknown, string]) => void;
|
|
15
|
+
endReached?: (index: number) => void;
|
|
16
|
+
};
|
|
3
17
|
export declare const Empty: import("react").MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
-
export declare const CheckOption: import("react").NamedExoticComponent<Omit<{
|
|
18
|
+
export declare const CheckOption: import("react").NamedExoticComponent<Omit<Omit<{
|
|
5
19
|
is?: ComponentProps<typeof Box>["is"];
|
|
6
20
|
id?: string;
|
|
7
21
|
children?: import("react").ReactNode;
|
|
@@ -19,29 +33,13 @@ export declare const CheckOption: import("react").NamedExoticComponent<Omit<{
|
|
|
19
33
|
variant?: "danger" | "success" | "warning" | "primary";
|
|
20
34
|
onClick?: (event: import("react").MouseEvent<HTMLElement>) => void;
|
|
21
35
|
description?: import("react").ReactNode;
|
|
22
|
-
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown
|
|
36
|
+
} & Omit<import("react").AllHTMLAttributes<HTMLElement>, "label">, "ref"> & import("react").RefAttributes<unknown>, "ref"> & {
|
|
37
|
+
ref?: ((instance: unknown) => 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<unknown> | null | undefined;
|
|
38
|
+
}>;
|
|
23
39
|
/**
|
|
24
40
|
* An input for selection of options.
|
|
25
41
|
*/
|
|
26
|
-
export declare const OptionsPaginated: import("react").ForwardRefExoticComponent<Omit<
|
|
27
|
-
is?: ElementType;
|
|
28
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
29
|
-
animated?: boolean;
|
|
30
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
31
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
32
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "onSelect"> & {
|
|
33
|
-
multiple?: boolean;
|
|
34
|
-
options: {
|
|
35
|
-
value: unknown;
|
|
36
|
-
label: string;
|
|
37
|
-
selected?: boolean;
|
|
38
|
-
}[];
|
|
39
|
-
cursor: number;
|
|
40
|
-
withTitle?: boolean;
|
|
41
|
-
renderItem?: ElementType;
|
|
42
|
-
renderEmpty?: ElementType;
|
|
43
|
-
onSelect: (option: [unknown, string]) => void;
|
|
44
|
-
endReached?: (index: number) => void;
|
|
45
|
-
}, "ref"> & import("react").RefAttributes<Element>>;
|
|
42
|
+
export declare const OptionsPaginated: import("react").ForwardRefExoticComponent<Omit<OptionsPaginatedProps, "ref"> & import("react").RefAttributes<Element>>;
|
|
46
43
|
export declare const useVisible: (initialVisibility?: import("../AnimatedVisibility/AnimatedVisibility").VisibilityType) => ("hidden" | "visible" | "hiding" | "unhiding" | (() => void) | undefined)[];
|
|
44
|
+
export {};
|
|
47
45
|
//# sourceMappingURL=OptionsPaginated.d.ts.map
|
|
@@ -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;
|
|
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,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,KAAK,oFAAuC,CAAC;AAI1D,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,wHA+D5B,CAAC;AAEF,eAAO,MAAM,UAAU,wKAMtB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ComponentProps,
|
|
1
|
+
import { type ComponentProps, ElementType } from 'react';
|
|
2
2
|
import Box from '../Box';
|
|
3
3
|
import Option from '../Option';
|
|
4
4
|
import { OptionsPaginated } from '../OptionsPaginated';
|
|
@@ -14,8 +14,8 @@ type PaginatedMultiSelectProps = Omit<ComponentProps<typeof Box>, 'onChange' | '
|
|
|
14
14
|
endReached?: (start?: number, end?: number) => void;
|
|
15
15
|
value?: PaginatedMultiSelectOption[];
|
|
16
16
|
onChange: (values: PaginatedMultiSelectOption[]) => void;
|
|
17
|
-
renderOptions?:
|
|
18
|
-
renderItem?:
|
|
17
|
+
renderOptions?: ElementType<ComponentProps<typeof OptionsPaginated>>;
|
|
18
|
+
renderItem?: ElementType<ComponentProps<typeof Option>>;
|
|
19
19
|
anchor?: any;
|
|
20
20
|
};
|
|
21
21
|
declare const PaginatedMultiSelect: ({ withTitle, value, filter, options, error, disabled, anchor: Anchor, onChange, placeholder, renderOptions: OptionsComponent, renderItem, endReached, ...props }: PaginatedMultiSelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedMultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"PaginatedMultiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedMultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAoB,WAAW,EAAE,MAAM,OAAO,CAAC;AAI3E,OAAO,GAAG,MAAM,QAAQ,CAAC;AAKzB,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAKvD,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,yBAAyB,GAAG,IAAI,CACnC,cAAc,CAAC,OAAO,GAAG,CAAC,EAC1B,UAAU,GAAG,OAAO,CACrB,GAAG;IACF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,0BAA0B,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,KAAK,CAAC,EAAE,0BAA0B,EAAE,CAAC;IACrC,QAAQ,EAAE,CAAC,MAAM,EAAE,0BAA0B,EAAE,KAAK,IAAI,CAAC;IACzD,aAAa,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC,CAAC;IACrE,UAAU,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,oBAAoB,qKAcvB,yBAAyB,4CA+I3B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
declare const PaginatedSelectWrapper: import("react").ForwardRefExoticComponent<Omit<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
animated?: boolean;
|
|
5
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
6
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
7
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
declare const PaginatedSelectWrapper: import("react").ForwardRefExoticComponent<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
|
+
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
4
|
export default PaginatedSelectWrapper;
|
|
9
5
|
//# sourceMappingURL=PaginatedSelectWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginatedSelectWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectWrapper.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"PaginatedSelectWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/PaginatedSelect/PaginatedSelectWrapper.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,sBAAsB;;0DAK1B,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type { AllHTMLAttributes } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
7
|
-
htmlSize?: AllHTMLAttributes<HTMLElement>["size"];
|
|
8
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & AllHTMLAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import type { AllHTMLAttributes, ComponentProps } from 'react';
|
|
2
|
+
import Box from '../Box';
|
|
3
|
+
type RadioButtonProps = ComponentProps<typeof Box> & AllHTMLAttributes<HTMLInputElement>;
|
|
4
|
+
export declare const RadioButton: import("react").ForwardRefExoticComponent<Omit<RadioButtonProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
5
|
+
export {};
|
|
9
6
|
//# 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,
|
|
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;AAGpE,OAAO,GAAG,MAAM,QAAQ,CAAC;AAEzB,KAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAChD,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAEtC,eAAO,MAAM,WAAW,4HAgBtB,CAAC"}
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { InputBox } from '../InputBox';
|
|
3
|
+
type SearchInputProps = Omit<ComponentProps<typeof InputBox>, 'type'> & {
|
|
4
|
+
addon?: ReactNode;
|
|
5
|
+
error?: string;
|
|
6
|
+
};
|
|
2
7
|
/**
|
|
3
8
|
* An input for search queries.
|
|
4
9
|
*/
|
|
5
|
-
export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<
|
|
6
|
-
|
|
7
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
8
|
-
animated?: boolean;
|
|
9
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
10
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
11
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any> & {
|
|
12
|
-
addon?: ReactNode;
|
|
13
|
-
input?: ReactNode;
|
|
14
|
-
multiple?: boolean;
|
|
15
|
-
error?: string;
|
|
16
|
-
placeholder?: string;
|
|
17
|
-
placeholderVisible?: boolean;
|
|
18
|
-
small?: boolean;
|
|
19
|
-
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";
|
|
20
|
-
}, "type"> & {
|
|
21
|
-
addon?: ReactNode;
|
|
22
|
-
error?: string;
|
|
23
|
-
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export {};
|
|
24
12
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,EAAE,MAAM,CAAC,GAAG;IACtE,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,4HAKtB,CAAC"}
|
|
@@ -11,6 +11,6 @@ export declare const Select: import("react").ForwardRefExoticComponent<Omit<Aria
|
|
|
11
11
|
onChange?: ((key: Key) => any) | undefined;
|
|
12
12
|
options: SelectOption[];
|
|
13
13
|
small?: boolean;
|
|
14
|
-
} & Omit<AllHTMLAttributes<HTMLElement>, "onChange"> & import("react").RefAttributes<HTMLElement>>;
|
|
14
|
+
} & Omit<AllHTMLAttributes<HTMLElement>, "value" | "onChange"> & import("react").RefAttributes<HTMLElement>>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAkB,GAAG,EAAO,MAAM,OAAO,CAAC;AAMzE,KAAK,YAAY,GAAG,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AAchF;;GAEG;AACH,eAAO,MAAM,MAAM;YAXT,MAAM;kBACA,MAAM;;8BAEI,GAAG;aAClB,YAAY,EAAE;YACf,OAAO;
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAkB,GAAG,EAAO,MAAM,OAAO,CAAC;AAMzE,KAAK,YAAY,GAAG,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AAchF;;GAEG;AACH,eAAO,MAAM,MAAM;YAXT,MAAM;kBACA,MAAM;;8BAEI,GAAG;aAClB,YAAY,EAAE;YACf,OAAO;4GAuBf,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
declare const SelectAddon: import("react").ForwardRefExoticComponent<Omit<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
animated?: boolean;
|
|
5
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
6
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
7
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
declare const SelectAddon: import("react").ForwardRefExoticComponent<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
|
+
}, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
4
|
export default SelectAddon;
|
|
9
5
|
//# sourceMappingURL=SelectAddon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"SelectAddon.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectAddon.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,WAAW;;0DAKf,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
|
@@ -6,28 +6,5 @@ export type SelectFilteredProps = ComponentProps<typeof SelectLegacy> & {
|
|
|
6
6
|
setFilter?: Dispatch<SetStateAction<string>>;
|
|
7
7
|
addonIcon?: ComponentProps<typeof Icon>['name'];
|
|
8
8
|
};
|
|
9
|
-
export declare const SelectFiltered: import("react").ForwardRefExoticComponent<Omit<
|
|
10
|
-
is?: import("react").ElementType;
|
|
11
|
-
className?: string | import("@rocket.chat/css-in-js").cssFn | (string | import("@rocket.chat/css-in-js").cssFn | import("../../types/Falsy").Falsy)[];
|
|
12
|
-
animated?: boolean;
|
|
13
|
-
withRichContent?: boolean | "inlineWithoutBreaks";
|
|
14
|
-
htmlSize?: import("react").AllHTMLAttributes<HTMLElement>["size"];
|
|
15
|
-
} & Partial<import("../Box/stylingProps").StylingProps> & Omit<import("react").AllHTMLAttributes<HTMLElement>, "ref" | "is" | "className" | "size" | "elevation"> & Omit<import("react").SVGAttributes<SVGElement>, "elevation" | keyof import("react").AllHTMLAttributes<HTMLElement>> & import("react").RefAttributes<any>, "onChange"> & {
|
|
16
|
-
anchor?: import("react").ElementType;
|
|
17
|
-
error?: string;
|
|
18
|
-
options: import("./SelectLegacy").SelectOption[];
|
|
19
|
-
onChange: (value: import("./SelectLegacy").SelectOption[0]) => void;
|
|
20
|
-
getLabel?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[1];
|
|
21
|
-
getValue?: (params: import("./SelectLegacy").SelectOption) => import("./SelectLegacy").SelectOption[0];
|
|
22
|
-
filter?: string;
|
|
23
|
-
renderOptions?: import("react").ElementType;
|
|
24
|
-
renderItem?: import("react").ElementType;
|
|
25
|
-
renderSelected?: import("react").ElementType;
|
|
26
|
-
customEmpty?: string;
|
|
27
|
-
addonIcon?: ComponentProps<typeof Icon>["name"];
|
|
28
|
-
}, "ref"> & import("react").RefAttributes<HTMLInputElement> & {
|
|
29
|
-
filter?: string;
|
|
30
|
-
setFilter?: Dispatch<SetStateAction<string>>;
|
|
31
|
-
addonIcon?: ComponentProps<typeof Icon>["name"];
|
|
32
|
-
}, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
9
|
+
export declare const SelectFiltered: import("react").ForwardRefExoticComponent<Omit<SelectFilteredProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
33
10
|
//# sourceMappingURL=SelectFiltered.d.ts.map
|