@rocket.chat/fuselage 0.6.3-dev.362 → 0.6.3-dev.367
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/Button/index.d.ts +1 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Message/Message.d.ts +5 -2
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Options/Option/Option.d.ts +3 -1
- package/dist/components/Options/Option/Option.d.ts.map +1 -1
- package/dist/components/Options/Option/index.d.ts +5 -3
- package/dist/components/Options/Option/index.d.ts.map +1 -1
- package/dist/components/Sidebar/Item.d.ts +169 -0
- package/dist/components/Sidebar/Item.d.ts.map +1 -0
- package/dist/components/Sidebar/Section.d.ts +7 -0
- package/dist/components/Sidebar/Section.d.ts.map +1 -0
- package/dist/components/Sidebar/SidebarActions.d.ts +6 -0
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -0
- package/dist/components/Sidebar/SidebarFooter.d.ts +6 -0
- package/dist/components/Sidebar/SidebarFooter.d.ts.map +1 -0
- package/dist/components/Sidebar/TopBar.d.ts +159 -0
- package/dist/components/Sidebar/TopBar.d.ts.map +1 -0
- package/dist/components/Sidebar/index.d.ts +18 -39
- package/dist/components/Sidebar/index.d.ts.map +1 -0
- package/dist/fuselage.development.js +470 -567
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +1 -1
- package/package.json +15 -14
|
@@ -1,40 +1,19 @@
|
|
|
1
|
-
import { ComponentProps,
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
type SidebarSectionProps = ComponentProps<typeof Box>;
|
|
11
|
-
|
|
12
|
-
export const Sidebar: ForwardRefExoticComponent<SidebarProps> & {
|
|
13
|
-
TopBar: ForwardRefExoticComponent<SidebarTopBarProps> & {
|
|
14
|
-
Wrapper: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
15
|
-
Avatar: { size: string };
|
|
16
|
-
Actions: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
17
|
-
Action: ForwardRefExoticComponent<SidebarTopBarActionProps>;
|
|
18
|
-
Divider: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
19
|
-
Title: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
20
|
-
ToolBox: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
21
|
-
Section: ForwardRefExoticComponent<SidebarTopBarProps>;
|
|
22
|
-
};
|
|
23
|
-
Item: ForwardRefExoticComponent<SidebarItemProps> & {
|
|
24
|
-
Menu: ForwardRefExoticComponent<SidebarItemProps>;
|
|
25
|
-
Container: ForwardRefExoticComponent<SidebarItemProps>;
|
|
26
|
-
Content: ForwardRefExoticComponent<SidebarItemProps>;
|
|
27
|
-
Title: ForwardRefExoticComponent<SidebarItemProps>;
|
|
28
|
-
Subtitle: ForwardRefExoticComponent<SidebarItemProps>;
|
|
29
|
-
Time: ForwardRefExoticComponent<SidebarItemProps>;
|
|
30
|
-
Wrapper: ForwardRefExoticComponent<SidebarItemProps>;
|
|
31
|
-
Icon: ForwardRefExoticComponent<SidebarItemProps>;
|
|
32
|
-
Avatar: ForwardRefExoticComponent<SidebarItemProps>;
|
|
33
|
-
Actions: ForwardRefExoticComponent<SidebarItemProps>;
|
|
34
|
-
Action: ForwardRefExoticComponent<SidebarItemProps>;
|
|
35
|
-
Badge: ForwardRefExoticComponent<SidebarItemProps>;
|
|
36
|
-
};
|
|
37
|
-
Section: ForwardRefExoticComponent<SidebarSectionProps> & {
|
|
38
|
-
Title: ForwardRefExoticComponent<SidebarSectionProps>;
|
|
39
|
-
};
|
|
1
|
+
import { ComponentProps, FC } from 'react';
|
|
2
|
+
import { Box } from '..';
|
|
3
|
+
import SidebarItem from './Item';
|
|
4
|
+
import SidebarSection from './Section';
|
|
5
|
+
import SidebarTopBar from './TopBar';
|
|
6
|
+
export declare const Sidebar: FC<ComponentProps<typeof Box>> & {
|
|
7
|
+
TopBar: typeof SidebarTopBar;
|
|
8
|
+
Item: typeof SidebarItem;
|
|
9
|
+
Section: typeof SidebarSection;
|
|
40
10
|
};
|
|
11
|
+
export default Sidebar;
|
|
12
|
+
export { default as SidebarItem } from './Item';
|
|
13
|
+
export * from './Item';
|
|
14
|
+
export { default as SidebarSection } from './Section';
|
|
15
|
+
export * from './Section';
|
|
16
|
+
export { default as SidebarTopBar } from './TopBar';
|
|
17
|
+
export * from './TopBar';
|
|
18
|
+
export * from './SidebarFooter';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,GAAG,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,WAAW,MAAM,QAAQ,CAAC;AACjC,OAAO,cAAc,MAAM,WAAW,CAAC;AACvC,OAAO,aAAa,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC,CAAC,GAAG;IACrD,MAAM,EAAE,OAAO,aAAa,CAAC;IAC7B,IAAI,EAAE,OAAO,WAAW,CAAC;IACzB,OAAO,EAAE,OAAO,cAAc,CAAC;CACY,CAAC;AAM9C,eAAe,OAAO,CAAC;AAEvB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,QAAQ,CAAC;AAChD,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,WAAW,CAAC;AACtD,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,UAAU,CAAC;AACpD,cAAc,UAAU,CAAC;AAEzB,cAAc,iBAAiB,CAAC"}
|