@rocket.chat/fuselage 0.88.0 → 0.89.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/Sidebar/SidebarCollapseGroup.d.ts +2 -1
- package/dist/components/Sidebar/SidebarCollapseGroup.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarGroupTitle.d.ts +2 -1
- package/dist/components/Sidebar/SidebarGroupTitle.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarItem/SidebarItem.d.ts +2 -1
- package/dist/components/Sidebar/SidebarItem/SidebarItem.d.ts.map +1 -1
- package/dist/fuselage.css +1 -1
- package/dist/fuselage.css.map +1 -1
- package/dist/fuselage.development.js +11 -8
- package/dist/fuselage.development.js.map +1 -1
- package/dist/fuselage.production.js +17 -17
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/styleTokens.d.ts +11 -11
- package/dist/styleTokens.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/components/Card/CardDivider.d.ts +0 -3
- package/dist/components/Card/CardDivider.d.ts.map +0 -1
- package/dist/components/PaletteStyleTag/helpers/isHexColor.d.ts +0 -2
- package/dist/components/PaletteStyleTag/helpers/isHexColor.d.ts.map +0 -1
- package/dist/components/PaletteStyleTag/helpers/isLightColor.d.ts +0 -2
- package/dist/components/PaletteStyleTag/helpers/isLightColor.d.ts.map +0 -1
|
@@ -4,10 +4,11 @@ type SidebarCollapseGroupProps = HTMLAttributes<HTMLDivElement> & RefAttributes<
|
|
|
4
4
|
defaultExpanded?: boolean;
|
|
5
5
|
tabIndex?: number;
|
|
6
6
|
title: string;
|
|
7
|
+
empty?: boolean;
|
|
7
8
|
badge?: ReactNode;
|
|
8
9
|
menu?: ReactNode;
|
|
9
10
|
actions?: ReactNode;
|
|
10
11
|
};
|
|
11
|
-
export declare function SidebarCollapseGroup({ ref, expanded: propExpanded, defaultExpanded, tabIndex, children, badge, menu, title, ...props }: SidebarCollapseGroupProps): import("react").JSX.Element;
|
|
12
|
+
export declare function SidebarCollapseGroup({ ref, expanded: propExpanded, defaultExpanded, tabIndex, children, badge, menu, title, empty, role, ...props }: SidebarCollapseGroupProps): import("react").JSX.Element;
|
|
12
13
|
export {};
|
|
13
14
|
//# sourceMappingURL=SidebarCollapseGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarCollapseGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarCollapseGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtE,KAAK,yBAAyB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC7D,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,QAAQ,EAAE,YAAY,EACtB,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,yBAAyB,+
|
|
1
|
+
{"version":3,"file":"SidebarCollapseGroup.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarCollapseGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKtE,KAAK,yBAAyB,GAAG,cAAc,CAAC,cAAc,CAAC,GAC7D,aAAa,CAAC,cAAc,CAAC,GAAG;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,SAAS,CAAC;CACrB,CAAC;AAEJ,wBAAgB,oBAAoB,CAAC,EACnC,GAAG,EACH,QAAQ,EAAE,YAAY,EACtB,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,IAAI,EACJ,KAAK,EACL,KAAK,EACL,IAAc,EACd,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAyC3B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { AriaAttributes, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export type SidebarGroupTitleProps = {
|
|
3
3
|
expanded?: boolean;
|
|
4
|
+
empty?: boolean;
|
|
4
5
|
title?: string;
|
|
5
6
|
titleId?: string;
|
|
6
7
|
badge?: ReactNode;
|
|
7
8
|
menu?: ReactNode;
|
|
8
9
|
barProps?: AriaAttributes;
|
|
9
10
|
} & HTMLAttributes<HTMLDivElement>;
|
|
10
|
-
export declare const SidebarGroupTitle: ({ title, titleId, badge, menu, barProps, expanded, role, ...props }: SidebarGroupTitleProps) => import("react").JSX.Element;
|
|
11
|
+
export declare const SidebarGroupTitle: ({ title, titleId, badge, menu, barProps, expanded, empty, role, ...props }: SidebarGroupTitleProps) => import("react").JSX.Element;
|
|
11
12
|
//# sourceMappingURL=SidebarGroupTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,iBAAiB,GAAI,
|
|
1
|
+
{"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Sidebar/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,iBAAiB,GAAI,4EAU/B,sBAAsB,gCA+BxB,CAAC"}
|
|
@@ -2,7 +2,8 @@ import type { AllHTMLAttributes, ElementType } from 'react';
|
|
|
2
2
|
export type SidebarItemProps = {
|
|
3
3
|
selected?: boolean;
|
|
4
4
|
level?: number;
|
|
5
|
+
indent?: boolean;
|
|
5
6
|
is?: ElementType;
|
|
6
7
|
} & AllHTMLAttributes<HTMLAnchorElement>;
|
|
7
|
-
export declare const SidebarItem: ({ selected, level, className, children, is: Tag, ...props }: SidebarItemProps) => import("react").JSX.Element;
|
|
8
|
+
export declare const SidebarItem: ({ selected, level, indent, className, children, is: Tag, ...props }: SidebarItemProps) => import("react").JSX.Element;
|
|
8
9
|
//# sourceMappingURL=SidebarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,WAAW,GAAI,
|
|
1
|
+
{"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,WAAW,GAAI,qEAQzB,gBAAgB,gCAelB,CAAC"}
|