@rocket.chat/fuselage 0.6.3-dev.415 → 0.6.3-dev.419
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/CodeSnippet/CodeSnippet.d.ts.map +1 -1
- package/dist/components/Menu/Menu.d.ts +18 -0
- package/dist/components/Menu/Menu.d.ts.map +1 -0
- package/dist/components/Menu/index.d.ts +2 -20
- package/dist/components/Menu/index.d.ts.map +1 -0
- package/dist/components/Message/MessageToolbox/index.d.ts +12 -1
- package/dist/components/Message/MessageToolbox/index.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +12 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Options/Options.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/SelectFiltered.d.ts +2 -2
- package/dist/components/Select/SelectFiltered.d.ts.map +1 -1
- package/dist/fuselage.development.js +138 -155
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +11 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeSnippet.d.ts","sourceRoot":"","sources":["../../../src/components/CodeSnippet/CodeSnippet.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAI7B,aAAK,gBAAgB,GAAG,cAAc,CAAC,OAAO,GAAG,CAAC,GAAG;IACnD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,WAAW,gDAKd,gBAAgB,KAAG,aAAa,gBAAgB,CAuBlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Placements } from '@rocket.chat/fuselage-hooks';
|
|
2
|
+
import { ComponentProps, ReactElement, ReactNode, FC } from 'react';
|
|
3
|
+
import { ActionButton, Box, Option } from '..';
|
|
4
|
+
declare type MenuProps = Omit<ComponentProps<typeof ActionButton>, 'icon'> & {
|
|
5
|
+
icon?: string;
|
|
6
|
+
options: {
|
|
7
|
+
[id: string]: {
|
|
8
|
+
label: ReactElement | string;
|
|
9
|
+
action: () => void;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
optionWidth?: ComponentProps<typeof Box>['width'];
|
|
13
|
+
placement?: Placements;
|
|
14
|
+
renderItem?: (props: ComponentProps<typeof Option>) => ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare const Menu: FC<MenuProps>;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAc,EAGZ,cAAc,EACd,YAAY,EACZ,SAAS,EACT,EAAE,EACH,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,YAAY,EAIZ,GAAG,EACH,MAAM,EACP,MAAM,IAAI,CAAC;AAGZ,aAAK,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,YAAY,CAAC,EAAE,MAAM,CAAC,GAAG;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE;QACP,CAAC,EAAE,EAAE,MAAM,GAAG;YACZ,KAAK,EAAE,YAAY,GAAG,MAAM,CAAC;YAC7B,MAAM,EAAE,MAAM,IAAI,CAAC;SACpB,CAAC;KACH,CAAC;IACF,WAAW,CAAC,EAAE,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;IAClD,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,OAAO,MAAM,CAAC,KAAK,SAAS,CAAC;CAClE,CAAC;AASF,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CAyE9B,CAAC"}
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { Box } from '../Box';
|
|
5
|
-
import { ActionButton } from '../Button';
|
|
6
|
-
import Option from '../Options/Option';
|
|
7
|
-
|
|
8
|
-
type MenuProps = Omit<ComponentProps<typeof ActionButton>, 'icon'> & {
|
|
9
|
-
icon?: string;
|
|
10
|
-
options: {
|
|
11
|
-
[id: string]: {
|
|
12
|
-
label: ReactElement | string;
|
|
13
|
-
action: () => void;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
optionWidth?: ComponentProps<typeof Box>['width'];
|
|
17
|
-
placement?: Placements;
|
|
18
|
-
renderItem?: (props: ComponentProps<typeof Option>) => ReactNode;
|
|
19
|
-
};
|
|
20
|
-
export const Menu: ForwardRefExoticComponent<MenuProps>;
|
|
1
|
+
export * from './Menu';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -7,7 +7,18 @@ import './MessageToolbox.styles.scss';
|
|
|
7
7
|
declare const _default: import("react").FC<any> & {
|
|
8
8
|
Item: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
9
9
|
Wrapper: import("react").ForwardRefExoticComponent<import("react").AllHTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
-
Menu: import("react").
|
|
10
|
+
Menu: import("react").FC<Omit<any, "icon"> & {
|
|
11
|
+
icon?: string | undefined;
|
|
12
|
+
options: {
|
|
13
|
+
[id: string]: {
|
|
14
|
+
label: string | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
15
|
+
action: () => void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
optionWidth?: any;
|
|
19
|
+
placement?: import("@rocket.chat/fuselage-hooks").Placements | undefined;
|
|
20
|
+
renderItem?: ((props: import("../../Options/Option/Option").OptionProps) => import("react").ReactNode) | undefined;
|
|
21
|
+
}>;
|
|
11
22
|
};
|
|
12
23
|
export default _default;
|
|
13
24
|
export { MessageToolbox, MessageToolboxItem, MessageToolboxWrapper, Menu };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbox/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;AAChE,OAAO,8BAA8B,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/MessageToolbox/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;AAChE,OAAO,8BAA8B,CAAC;;;;;;;;;;;;;;;;;AAEtC,wBAIG;AAEH,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -38,7 +38,18 @@ declare const _default: import("react").ForwardRefExoticComponent<import("react"
|
|
|
38
38
|
Toolbox: import("react").FC<any> & {
|
|
39
39
|
Item: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
40
40
|
Wrapper: import("react").ForwardRefExoticComponent<import("react").AllHTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
41
|
-
Menu: import("react").
|
|
41
|
+
Menu: import("react").FC<Omit<any, "icon"> & {
|
|
42
|
+
icon?: string | undefined;
|
|
43
|
+
options: {
|
|
44
|
+
[id: string]: {
|
|
45
|
+
label: string | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
46
|
+
action: () => void;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
optionWidth?: any;
|
|
50
|
+
placement?: import("@rocket.chat/fuselage-hooks").Placements | undefined;
|
|
51
|
+
renderItem?: ((props: import("../Options/Option/Option").OptionProps) => import("react").ReactNode) | undefined;
|
|
52
|
+
}>;
|
|
42
53
|
};
|
|
43
54
|
Container: import("react").FC<{}>;
|
|
44
55
|
ContainerFixed: import("react").FC<{}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":";AAgBA,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,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Message/index.tsx"],"names":[],"mappings":";AAgBA,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,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElC,wBAeG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../src/components/Options/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,cAAc,EACd,WAAW,EAOZ,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,GAAG,EAAc,MAAM,QAAQ,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EA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,MAAM,OAAO,kHA0EnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAMZ,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAoB,GAAG,EAAsB,MAAM,QAAQ,CAAC;AAKnE,oBAAY,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAEnE,oBAAY,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,KAAK,4GAEjB,CAAC;AAMF,eAAO,MAAM,KAAK,4GAYjB,CAAC;AAiBF,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAMZ,cAAc,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAoB,GAAG,EAAsB,MAAM,QAAQ,CAAC;AAKnE,oBAAY,aAAa,GAAG,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC;AAEnE,oBAAY,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,EAAE,UAAU,CAAC,GAAG;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,KAAK,4GAEjB,CAAC;AAMF,eAAO,MAAM,KAAK,4GAYjB,CAAC;AAiBF,eAAO,MAAM,MAAM,sHAmJlB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentProps
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import { Select } from '.';
|
|
3
3
|
export declare type SelectFilteredProps = Omit<ComponentProps<typeof Select>, 'onChange'>;
|
|
4
|
-
export declare const SelectFiltered:
|
|
4
|
+
export declare const SelectFiltered: React.ForwardRefExoticComponent<Pick<SelectFilteredProps, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
|
|
5
5
|
//# sourceMappingURL=SelectFiltered.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"SelectFiltered.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectFiltered.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,cAAc,EAIf,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAG3B,oBAAY,mBAAmB,GAAG,IAAI,CACpC,cAAc,CAAC,OAAO,MAAM,CAAC,EAC7B,UAAU,CACX,CAAC;AAEF,eAAO,MAAM,cAAc,8HAmC1B,CAAC"}
|