@rocket.chat/fuselage 0.78.1 → 0.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AutoComplete/AutoComplete.d.ts +3 -3
- package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
- package/dist/components/Button/IconButton.d.ts +2 -2
- package/dist/components/Button/IconButton.d.ts.map +1 -1
- package/dist/components/Callout/Callout.d.ts +2 -2
- package/dist/components/Callout/Callout.d.ts.map +1 -1
- package/dist/components/CheckBox/CheckBox.d.ts.map +1 -1
- package/dist/components/InputBox/InputBox.d.ts +4 -0
- package/dist/components/InputBox/InputBox.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +1 -1
- package/dist/components/Menu/Menu.d.ts.map +1 -1
- package/dist/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/components/Menu/stately/PartialNode.d.ts +4 -4
- package/dist/components/Menu/stately/PartialNode.d.ts.map +1 -1
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts +2 -2
- package/dist/components/Message/MessageGenericPreview/MessageGenericPreviewContent.d.ts.map +1 -1
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts +2 -2
- package/dist/components/Message/MessageMetrics/MessageMetricsFollowing.d.ts.map +1 -1
- package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +1 -1
- package/dist/components/Position/Position.d.ts +1 -1
- package/dist/components/Position/Position.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +1 -1
- package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +1 -1
- package/dist/components/Sidebar/TopBar/index.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarAction.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts +1 -1
- package/dist/components/SidebarV2/SidebarItem/SidebarItemIcon.d.ts.map +1 -1
- package/dist/components/Slider/SliderTrack.d.ts +2 -2
- package/dist/components/Slider/SliderTrack.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +12 -11
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +2 -2
- package/dist/helpers/WithErrorWrapper.d.ts +3 -3
- package/dist/helpers/WithErrorWrapper.d.ts.map +1 -1
- package/package.json +29 -30
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AllHTMLAttributes, ComponentType, ForwardRefExoticComponent, MouseEvent,
|
|
1
|
+
import type { AllHTMLAttributes, ComponentType, ForwardRefExoticComponent, MouseEvent, ReactNode, RefAttributes } from 'react';
|
|
2
2
|
export type AutoCompleteOption<TLabel> = {
|
|
3
3
|
value: string;
|
|
4
4
|
label: TLabel;
|
|
@@ -28,8 +28,8 @@ export type AutoCompleteProps<TLabel = ReactNode> = Omit<AllHTMLAttributes<HTMLI
|
|
|
28
28
|
multiple?: boolean;
|
|
29
29
|
value?: string | string[];
|
|
30
30
|
} & RefAttributes<HTMLInputElement>;
|
|
31
|
-
declare const AutoComplete: ForwardRefExoticComponent<AutoCompleteProps
|
|
32
|
-
<TLabel = ReactNode>(props: AutoCompleteProps<TLabel> & RefAttributes<HTMLInputElement>):
|
|
31
|
+
declare const AutoComplete: Pick<ForwardRefExoticComponent<AutoCompleteProps>, keyof ForwardRefExoticComponent<AutoCompleteProps>> & {
|
|
32
|
+
<TLabel = ReactNode>(props: AutoCompleteProps<TLabel> & RefAttributes<HTMLInputElement>): ReactNode;
|
|
33
33
|
};
|
|
34
34
|
export default AutoComplete;
|
|
35
35
|
//# sourceMappingURL=AutoComplete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutoComplete.d.ts","sourceRoot":"","sources":["../../../src/components/AutoComplete/AutoComplete.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK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AW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC,CAAC;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B,GAAG,aAAa,CAAC,gBAAgB,CAAC,CAAC;AA6BpC,QAAA,MAAM,YAAY,EAsLZ,IAAI,CACR,yBAAyB,CAAC,iBAAiB,CAAC,EAC5C,MAAM,yBAAyB,CAAC,iBAAiB,CAAC,CACnD,GAAG;IACF,CAAC,MAAM,GAAG,SAAS,EACjB,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,gBAAgB,CAAC,GACjE,SAAS,CAAC;CACd,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -9,7 +9,7 @@ export type IconButtonSize = {
|
|
|
9
9
|
mini?: boolean;
|
|
10
10
|
};
|
|
11
11
|
export type IconButtonProps = {
|
|
12
|
-
icon: IconName | ReactElement
|
|
12
|
+
icon: IconName | ReactElement<any>;
|
|
13
13
|
primary?: boolean;
|
|
14
14
|
secondary?: boolean;
|
|
15
15
|
info?: boolean;
|
|
@@ -19,7 +19,7 @@ export type IconButtonProps = {
|
|
|
19
19
|
pressed?: boolean;
|
|
20
20
|
} & IconButtonSize & BoxProps;
|
|
21
21
|
declare const IconButton: import("react").ForwardRefExoticComponent<{
|
|
22
|
-
icon: IconName | ReactElement
|
|
22
|
+
icon: IconName | ReactElement<any>;
|
|
23
23
|
primary?: boolean;
|
|
24
24
|
secondary?: boolean;
|
|
25
25
|
info?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,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EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,GAChB,QAAQ,CAAC;AAmBX,QAAA,MAAM,UAAU;UA5BR,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC;cACxB,OAAO;gBACL,OAAO;WACZ,OAAO;aACL,OAAO;cACN,OAAO;cACP,OAAO;cACP,OAAO;2EAgHlB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
import { type BoxProps } from '../Box';
|
|
3
3
|
import { type IconProps } from '../Icon';
|
|
4
4
|
export type CalloutProps = Omit<BoxProps, 'type' | 'name'> & {
|
|
@@ -6,7 +6,7 @@ export type CalloutProps = Omit<BoxProps, 'type' | 'name'> & {
|
|
|
6
6
|
title?: ReactNode;
|
|
7
7
|
children?: ReactNode;
|
|
8
8
|
icon?: IconProps['name'];
|
|
9
|
-
actions?:
|
|
9
|
+
actions?: ReactNode;
|
|
10
10
|
};
|
|
11
11
|
declare const Callout: ({ type, title, children, icon, className, actions, ...props }: CalloutProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
12
|
export default Callout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../src/components/Callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IAC3D,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,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAOF,QAAA,MAAM,OAAO,GAAI,+DAQd,YAAY,4CAmCd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CheckBox.d.ts","sourceRoot":"","sources":["../../../src/components/CheckBox/CheckBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B,GAAG,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;AAExC,QAAA,MAAM,QAAQ;oBAJI,OAAO;oBACP,SAAS;0FAwCzB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -2,6 +2,8 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { BoxProps } from '../Box';
|
|
3
3
|
export type InputBoxProps = BoxProps & {
|
|
4
4
|
addon?: ReactNode;
|
|
5
|
+
startAddon?: ReactNode;
|
|
6
|
+
endAddon?: ReactNode;
|
|
5
7
|
input?: ReactNode;
|
|
6
8
|
multiple?: boolean;
|
|
7
9
|
error?: string;
|
|
@@ -12,6 +14,8 @@ export type InputBoxProps = BoxProps & {
|
|
|
12
14
|
};
|
|
13
15
|
declare const InputBox: import("react").ForwardRefExoticComponent<BoxProps & {
|
|
14
16
|
addon?: ReactNode;
|
|
17
|
+
startAddon?: ReactNode;
|
|
18
|
+
endAddon?: ReactNode;
|
|
15
19
|
input?: ReactNode;
|
|
16
20
|
multiple?: boolean;
|
|
17
21
|
error?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"InputBox.d.ts","sourceRoot":"","sources":["../../../src/components/InputBox/InputBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAOvC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IAErC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,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;AASF,QAAA,MAAM,QAAQ;YA5CJ,SAAS;iBACJ,SAAS;eACX,SAAS;YACZ,SAAS;eACN,OAAO;YACV,MAAM;kBACA,MAAM;yBACC,OAAO;YACpB,OAAO;UAEX,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;uCA0IZ,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -18,7 +18,7 @@ export interface MenuProps<T> extends AriaMenuProps<T>, MenuTriggerProps {
|
|
|
18
18
|
className?: BoxProps['className'];
|
|
19
19
|
pressed?: boolean;
|
|
20
20
|
maxWidth?: string;
|
|
21
|
-
button?: ReactElement
|
|
21
|
+
button?: ReactElement<any>;
|
|
22
22
|
}
|
|
23
23
|
declare const Menu: <T extends object>({ icon, placement, title, is: MenuButton, className, pressed, maxWidth, button, detached, ...props }: MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export default Menu;
|
|
@@ -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,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ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C,EAAE,gBAAgB;IACtE,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC/B,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;IAInB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,SAAS,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;CAC5B;AAED,QAAA,MAAM,IAAI,GAAI,CAAC,SAAS,MAAM,EAAE,sGAW7B,SAAS,CAAC,CAAC,CAAC,4CA4Dd,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"MenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoB,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,IAAI,CAAC;QACT,WAAW,CAAC,EAAE,SAAS,CAAC;QACxB,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;KACtC,CAAC,CAAC;IACH,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,aAAa,2CA0B/C;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { type Key, type
|
|
1
|
+
import { type Key, type ReactNode } from 'react';
|
|
2
2
|
export interface PartialNode<T> {
|
|
3
3
|
'type'?: string;
|
|
4
4
|
'key'?: Key;
|
|
5
5
|
'value'?: T;
|
|
6
|
-
'element'?:
|
|
7
|
-
'wrapper'?: (element:
|
|
6
|
+
'element'?: ReactNode;
|
|
7
|
+
'wrapper'?: (element: ReactNode) => ReactNode;
|
|
8
8
|
'rendered'?: ReactNode;
|
|
9
9
|
'textValue'?: string;
|
|
10
10
|
'aria-label'?: string;
|
|
11
11
|
'index'?: number;
|
|
12
|
-
'renderer'?: (item: T) =>
|
|
12
|
+
'renderer'?: (item: T) => ReactNode;
|
|
13
13
|
'hasChildNodes'?: boolean;
|
|
14
14
|
'childNodes'?: () => IterableIterator<PartialNode<T>>;
|
|
15
15
|
'props'?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartialNode.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/stately/PartialNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"PartialNode.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/stately/PartialNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,SAAS,CAAC;IAC9C,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,SAAS,CAAC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,kBAAkB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC;CACpD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
export type MessageGenericPreviewContentProps = {
|
|
3
3
|
children?: ReactNode;
|
|
4
|
-
thumb?:
|
|
4
|
+
thumb?: ReactNode;
|
|
5
5
|
};
|
|
6
6
|
declare const MessageGenericPreviewContent: ({ thumb, ...props }: MessageGenericPreviewContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default MessageGenericPreviewContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageGenericPreviewContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageGenericPreviewContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageGenericPreview/MessageGenericPreviewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,iCAAiC,GAAG;IAC9C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAEF,QAAA,MAAM,4BAA4B,GAAI,qBAGnC,iCAAiC,4CAKnC,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
2
|
import { type IconButtonProps } from '../../Button';
|
|
3
3
|
export type MessageMetricsFollowingProps = {
|
|
4
4
|
name: 'bell' | 'bell-off';
|
|
5
|
-
badge?:
|
|
5
|
+
badge?: ReactNode;
|
|
6
6
|
} & Omit<IconButtonProps, 'icon'>;
|
|
7
7
|
declare const MessageMetricsFollowing: ({ name, badge, ...props }: MessageMetricsFollowingProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default MessageMetricsFollowing;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageMetricsFollowing.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageMetrics/MessageMetricsFollowing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageMetricsFollowing.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageMetrics/MessageMetricsFollowing.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AAElC,QAAA,MAAM,uBAAuB,GAAI,2BAI9B,4BAA4B,4CAY9B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IconButtonProps } from '../../Button/IconButton';
|
|
2
2
|
export type MessageToolbarItemProps = IconButtonProps;
|
|
3
3
|
declare const MessageToolbarItem: import("react").ForwardRefExoticComponent<{
|
|
4
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
4
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
5
5
|
primary?: boolean;
|
|
6
6
|
secondary?: boolean;
|
|
7
7
|
info?: boolean;
|
|
@@ -3,7 +3,7 @@ import type { RefObject, ReactElement } from 'react';
|
|
|
3
3
|
import type { BoxProps } from '../Box';
|
|
4
4
|
export type PositionProps = {
|
|
5
5
|
anchor: RefObject<Element>;
|
|
6
|
-
children: ReactElement
|
|
6
|
+
children: ReactElement<any>;
|
|
7
7
|
margin?: number;
|
|
8
8
|
placement?: UsePositionOptions['placement'];
|
|
9
9
|
} & Omit<BoxProps, 'children' | 'margin'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/components/Position/Position.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../src/components/Position/Position.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC7C,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ,GAAI,0EAOf,aAAa,gCA+Cf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/components/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,SAAS,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAI3D,MAAM,MAAM,kBAAkB,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAExE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC;AAKF,QAAA,MAAM,WAAW;YATP,MAAM;cACJ,kBAAkB;eACjB,MAAM;YACT,SAAS;+CAoDlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const Sidebar: ((props: SidebarProps) => import("react/jsx-runtime").JSX
|
|
|
17
17
|
large?: boolean;
|
|
18
18
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
19
|
Action: import("react").ForwardRefExoticComponent<{
|
|
20
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
20
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
21
21
|
primary?: boolean;
|
|
22
22
|
secondary?: boolean;
|
|
23
23
|
info?: boolean;
|
|
@@ -11,7 +11,7 @@ export declare const SidebarActions: import("react").ForwardRefExoticComponent<{
|
|
|
11
11
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export type SidebarActionProps = IconButtonProps;
|
|
13
13
|
export declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
14
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
14
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
15
15
|
primary?: boolean;
|
|
16
16
|
secondary?: boolean;
|
|
17
17
|
info?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TopBarAction: import("react").ForwardRefExoticComponent<{
|
|
2
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
2
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
3
3
|
primary?: boolean;
|
|
4
4
|
secondary?: boolean;
|
|
5
5
|
info?: boolean;
|
|
@@ -17,7 +17,7 @@ declare const _default: (({ className, ...props }: import("./TopBar").TopBarProp
|
|
|
17
17
|
large?: boolean;
|
|
18
18
|
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
19
|
Action: import("react").ForwardRefExoticComponent<{
|
|
20
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
20
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
21
21
|
primary?: boolean;
|
|
22
22
|
secondary?: boolean;
|
|
23
23
|
info?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IconButtonProps } from '../Button/IconButton';
|
|
2
2
|
export type SidebarActionProps = IconButtonProps;
|
|
3
3
|
declare const SidebarAction: import("react").ForwardRefExoticComponent<{
|
|
4
|
-
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement
|
|
4
|
+
icon: import("@rocket.chat/icons").Keys | import("react").ReactElement<any>;
|
|
5
5
|
primary?: boolean;
|
|
6
6
|
secondary?: boolean;
|
|
7
7
|
info?: boolean;
|
|
@@ -2,7 +2,7 @@ import type { Keys as IconKeys } from '@rocket.chat/icons';
|
|
|
2
2
|
import { type ReactElement } from 'react';
|
|
3
3
|
import { type IconProps } from '../../Icon';
|
|
4
4
|
export type SidebarV2ItemIconProps = Omit<IconProps, 'name'> & {
|
|
5
|
-
icon: IconKeys | ReactElement
|
|
5
|
+
icon: IconKeys | ReactElement<any>;
|
|
6
6
|
highlighted?: boolean;
|
|
7
7
|
};
|
|
8
8
|
export declare const SidebarItemIcon: ({ icon, className, highlighted, ...props }: SidebarV2ItemIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IAC7D,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"SidebarItemIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItemIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAkB,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG;IAC7D,IAAI,EAAE,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,4CAK7B,sBAAsB,4CAgBxB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { DOMAttributes,
|
|
1
|
+
import type { DOMAttributes, RefObject, ReactNode } from 'react';
|
|
2
2
|
import type { SliderState } from 'react-stately';
|
|
3
3
|
type SliderTrackProps = {
|
|
4
4
|
trackProps: DOMAttributes<Element>;
|
|
5
|
-
trackRef:
|
|
5
|
+
trackRef: RefObject<HTMLDivElement>;
|
|
6
6
|
state: SliderState;
|
|
7
7
|
children: ReactNode;
|
|
8
8
|
multiThumb?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SliderTrack.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderTrack.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"SliderTrack.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/SliderTrack.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKjD,KAAK,gBAAgB,GAAG;IACtB,UAAU,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACpC,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAKF,eAAO,MAAM,WAAW,GAAI,wDAMzB,gBAAgB,4CA6FlB,CAAC"}
|