@rocket.chat/fuselage 0.88.0 → 0.90.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.
Files changed (34) hide show
  1. package/dist/components/Box/stylingProps.d.ts +13 -12
  2. package/dist/components/Box/stylingProps.d.ts.map +1 -1
  3. package/dist/components/ButtonGroup/ButtonGroup.d.ts +18 -3
  4. package/dist/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  5. package/dist/components/Message/MessageGenericPreview/MessageGenericPreview.d.ts +0 -1
  6. package/dist/components/Message/MessageGenericPreview/MessageGenericPreview.d.ts.map +1 -1
  7. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts +0 -1
  8. package/dist/components/Message/MessageStatusIndicator/MessageStatusIndicator.d.ts.map +1 -1
  9. package/dist/components/Message/MessageSystem/MessageSystem.d.ts +0 -1
  10. package/dist/components/Message/MessageSystem/MessageSystem.d.ts.map +1 -1
  11. package/dist/components/PaletteStyleTag/helpers/getPalette.d.ts +315 -315
  12. package/dist/components/Sidebar/SidebarCollapseGroup.d.ts +2 -1
  13. package/dist/components/Sidebar/SidebarCollapseGroup.d.ts.map +1 -1
  14. package/dist/components/Sidebar/SidebarGroupTitle.d.ts +2 -1
  15. package/dist/components/Sidebar/SidebarGroupTitle.d.ts.map +1 -1
  16. package/dist/components/Sidebar/SidebarItem/SidebarItem.d.ts +2 -1
  17. package/dist/components/Sidebar/SidebarItem/SidebarItem.d.ts.map +1 -1
  18. package/dist/fuselage.css +1 -4
  19. package/dist/fuselage.development.css +6451 -0
  20. package/dist/fuselage.development.js +7200 -11881
  21. package/dist/fuselage.development.js.map +1 -1
  22. package/dist/fuselage.production.js +142 -142
  23. package/dist/index.d.ts +0 -2
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/styleTokens.d.ts +14 -11
  26. package/dist/styleTokens.d.ts.map +1 -1
  27. package/package.json +9 -23
  28. package/dist/components/Card/CardDivider.d.ts +0 -3
  29. package/dist/components/Card/CardDivider.d.ts.map +0 -1
  30. package/dist/components/PaletteStyleTag/helpers/isHexColor.d.ts +0 -2
  31. package/dist/components/PaletteStyleTag/helpers/isHexColor.d.ts.map +0 -1
  32. package/dist/components/PaletteStyleTag/helpers/isLightColor.d.ts +0 -2
  33. package/dist/components/PaletteStyleTag/helpers/isLightColor.d.ts.map +0 -1
  34. package/dist/fuselage.css.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,+BAoC3B"}
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,qEAS/B,sBAAsB,gCA4BxB,CAAC"}
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,6DAOzB,gBAAgB,gCAclB,CAAC"}
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"}