@rocket.chat/fuselage 0.68.0 → 0.69.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 (58) hide show
  1. package/dist/components/AutoComplete/AutoComplete.d.ts +21 -10
  2. package/dist/components/AutoComplete/AutoComplete.d.ts.map +1 -1
  3. package/dist/components/AutoComplete/index.d.ts +1 -1
  4. package/dist/components/AutoComplete/index.d.ts.map +1 -1
  5. package/dist/components/Badge/Badge.d.ts +1 -1
  6. package/dist/components/Badge/Badge.d.ts.map +1 -1
  7. package/dist/components/Button/IconButton.d.ts +2 -2
  8. package/dist/components/Button/IconButton.d.ts.map +1 -1
  9. package/dist/components/Dropdown/DropdownDesktop.d.ts +2 -0
  10. package/dist/components/Dropdown/DropdownDesktop.d.ts.map +1 -1
  11. package/dist/components/Icon/Icon.d.ts +2 -2
  12. package/dist/components/Icon/Icon.d.ts.map +1 -1
  13. package/dist/components/Menu/Menu.d.ts +10 -3
  14. package/dist/components/Menu/Menu.d.ts.map +1 -1
  15. package/dist/components/Menu/V2/MenuPopover.d.ts.map +1 -1
  16. package/dist/components/Message/MessageMetrics/index.d.ts +1 -1
  17. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts +1 -2
  18. package/dist/components/Message/MessageToolbar/MessageToolbarItem.d.ts.map +1 -1
  19. package/dist/components/Message/MessageToolbar/index.d.ts +10 -4
  20. package/dist/components/Message/MessageToolbar/index.d.ts.map +1 -1
  21. package/dist/components/Message/index.d.ts +11 -5
  22. package/dist/components/Message/index.d.ts.map +1 -1
  23. package/dist/components/NavBar/NavBarItem.d.ts +2 -2
  24. package/dist/components/NavBar/NavBarItem.d.ts.map +1 -1
  25. package/dist/components/NavBar/NavBarSection.d.ts +3 -1
  26. package/dist/components/NavBar/NavBarSection.d.ts.map +1 -1
  27. package/dist/components/Option/Option.d.ts +3 -3
  28. package/dist/components/Option/Option.d.ts.map +1 -1
  29. package/dist/components/Options/OptionType.d.ts +3 -3
  30. package/dist/components/Options/OptionType.d.ts.map +1 -1
  31. package/dist/components/Options/Options.d.ts +17 -15
  32. package/dist/components/Options/Options.d.ts.map +1 -1
  33. package/dist/components/Options/OptionsEmpty.d.ts +1 -1
  34. package/dist/components/Options/OptionsEmpty.d.ts.map +1 -1
  35. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts +16 -7
  36. package/dist/components/OptionsPaginated/OptionsPaginated.d.ts.map +1 -1
  37. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts +32 -5
  38. package/dist/components/PaginatedSelect/PaginatedMultiSelect.d.ts.map +1 -1
  39. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts +2 -2
  40. package/dist/components/PaginatedSelect/PaginatedMultiSelectFiltered.d.ts.map +1 -1
  41. package/dist/components/Sidebar/SidebarActions.d.ts +1 -2
  42. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  43. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts +1 -2
  44. package/dist/components/Sidebar/TopBar/TopBarAction.d.ts.map +1 -1
  45. package/dist/components/Sidebar/TopBar/index.d.ts +1 -1
  46. package/dist/components/Sidebar/index.d.ts +2 -2
  47. package/dist/components/SidebarV2/SidebarAction.d.ts +1 -2
  48. package/dist/components/SidebarV2/SidebarAction.d.ts.map +1 -1
  49. package/dist/components/SidebarV2/SidebarGroupTitle.d.ts +3 -4
  50. package/dist/components/SidebarV2/SidebarGroupTitle.d.ts.map +1 -1
  51. package/dist/components/SidebarV2/SidebarItem/SidebarItem.d.ts +2 -2
  52. package/dist/components/SidebarV2/SidebarItem/SidebarItem.d.ts.map +1 -1
  53. package/dist/fuselage.css +1 -1
  54. package/dist/fuselage.css.map +1 -1
  55. package/dist/fuselage.development.js +18 -16
  56. package/dist/fuselage.development.js.map +1 -1
  57. package/dist/fuselage.production.js +6 -6
  58. package/package.json +19 -19
@@ -1,6 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
1
  export declare const TopBarAction: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
3
- icon: ComponentProps<typeof import("../..").Icon>["name"] | import("react").ReactElement;
2
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
4
3
  primary?: boolean;
5
4
  secondary?: boolean;
6
5
  info?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;iKAKvB,CAAC"}
1
+ {"version":3,"file":"TopBarAction.d.ts","sourceRoot":"","sources":["../../../../src/components/Sidebar/TopBar/TopBarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;iKAKvB,CAAC"}
@@ -34,7 +34,7 @@ declare const _default: (({ className, ...props }: {
34
34
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
35
35
  /** @deprecated use named import instead */
36
36
  Action: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
37
- icon: import("react").ComponentProps<typeof import("../..").Icon>["name"] | import("react").ReactElement;
37
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
38
38
  primary?: boolean;
39
39
  secondary?: boolean;
40
40
  info?: boolean;
@@ -31,7 +31,7 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
31
31
  large?: boolean;
32
32
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
33
33
  Action: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<{
34
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
34
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
35
35
  primary?: boolean;
36
36
  secondary?: boolean;
37
37
  info?: boolean;
@@ -105,7 +105,7 @@ declare const _default: ((props: SidebarProps) => import("react/jsx-runtime").JS
105
105
  large?: boolean;
106
106
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
107
107
  Action: (props: Omit<Omit<{
108
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
108
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
109
109
  primary?: boolean;
110
110
  secondary?: boolean;
111
111
  info?: boolean;
@@ -1,6 +1,5 @@
1
- import type { ComponentProps } from 'react';
2
1
  export declare const SidebarAction: import("react").ForwardRefExoticComponent<Omit<Omit<{
3
- icon: ComponentProps<typeof import("..").Icon>["name"] | import("react").ReactElement;
2
+ icon: import("@rocket.chat/icons").Keys | import("react").ReactElement;
4
3
  primary?: boolean;
5
4
  secondary?: boolean;
6
5
  info?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAO,MAAM,OAAO,CAAC;AAOjD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
1
+ {"version":3,"file":"SidebarAction.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarAction.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;4GAKxB,CAAC"}
@@ -1,11 +1,10 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
1
+ import type { AriaAttributes, HTMLAttributes, ReactNode } from 'react';
3
2
  type SidebarGroupTitleProps = {
4
3
  expanded?: boolean;
5
4
  title?: string;
6
5
  titleId?: string;
7
- badge?: React.ReactNode;
8
- barProps?: React.AriaAttributes;
6
+ badge?: ReactNode;
7
+ barProps?: AriaAttributes;
9
8
  } & HTMLAttributes<HTMLDivElement>;
10
9
  export declare const SidebarGroupTitle: ({ title, titleId, badge, barProps, expanded, ...props }: SidebarGroupTitleProps) => import("react/jsx-runtime").JSX.Element;
11
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC;CACjC,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACnC,eAAO,MAAM,iBAAiB,GAAI,yDAO/B,sBAAsB,4CAsBxB,CAAC"}
1
+ {"version":3,"file":"SidebarGroupTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SidebarV2/SidebarGroupTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvE,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AACnC,eAAO,MAAM,iBAAiB,GAAI,yDAO/B,sBAAsB,4CAsBxB,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { AllHTMLAttributes } from 'react';
1
+ import type { AllHTMLAttributes, ElementType } from 'react';
2
2
  export declare const SidebarItem: ({ selected, level, className, children, is: Tag, ...props }: {
3
3
  selected?: boolean;
4
4
  level?: number;
5
- is?: React.ElementType;
5
+ is?: ElementType;
6
6
  } & AllHTMLAttributes<HTMLAnchorElement>) => import("react/jsx-runtime").JSX.Element;
7
7
  //# sourceMappingURL=SidebarItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,6DAOzB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CACxB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,4CAcvC,CAAC"}
1
+ {"version":3,"file":"SidebarItem.d.ts","sourceRoot":"","sources":["../../../../src/components/SidebarV2/SidebarItem/SidebarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAE5D,eAAO,MAAM,WAAW,GAAI,6DAOzB;IACD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,4CAcvC,CAAC"}