@zendeskgarden/react-chrome 9.1.2 → 9.3.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 (71) hide show
  1. package/dist/esm/elements/nav/Nav.js +1 -1
  2. package/dist/esm/elements/sheet/Sheet.js +2 -3
  3. package/dist/esm/styled/StyledChrome.js +1 -1
  4. package/dist/esm/styled/StyledSkipNav.js +1 -1
  5. package/dist/esm/styled/StyledSkipNavIcon.js +1 -1
  6. package/dist/esm/styled/body/StyledBody.js +1 -1
  7. package/dist/esm/styled/body/StyledContent.js +1 -1
  8. package/dist/esm/styled/body/StyledMain.js +1 -1
  9. package/dist/esm/styled/footer/StyledFooter.js +1 -1
  10. package/dist/esm/styled/footer/StyledFooterItem.js +1 -1
  11. package/dist/esm/styled/header/StyledBaseHeaderItem.js +1 -1
  12. package/dist/esm/styled/header/StyledHeader.js +1 -1
  13. package/dist/esm/styled/header/StyledHeaderItem.js +1 -1
  14. package/dist/esm/styled/header/StyledHeaderItemIcon.js +1 -1
  15. package/dist/esm/styled/header/StyledHeaderItemText.js +1 -1
  16. package/dist/esm/styled/header/StyledHeaderItemWrapper.js +1 -1
  17. package/dist/esm/styled/header/StyledLogoHeaderItem.js +1 -1
  18. package/dist/esm/styled/nav/StyledBaseNavItem.js +1 -1
  19. package/dist/esm/styled/nav/StyledBrandmarkNavItem.js +1 -1
  20. package/dist/esm/styled/nav/StyledLogoNavItem.js +1 -1
  21. package/dist/esm/styled/nav/StyledNav.js +1 -1
  22. package/dist/esm/styled/nav/StyledNavButton.js +1 -1
  23. package/dist/esm/styled/nav/StyledNavItemIcon.js +1 -1
  24. package/dist/esm/styled/nav/StyledNavItemText.js +1 -1
  25. package/dist/esm/styled/nav/StyledNavList.js +1 -1
  26. package/dist/esm/styled/nav/StyledNavListItem.js +1 -1
  27. package/dist/esm/styled/sheet/StyledSheet.js +1 -1
  28. package/dist/esm/styled/sheet/StyledSheetBody.js +1 -1
  29. package/dist/esm/styled/sheet/StyledSheetClose.js +1 -1
  30. package/dist/esm/styled/sheet/StyledSheetDescription.js +1 -1
  31. package/dist/esm/styled/sheet/StyledSheetFooter.js +1 -1
  32. package/dist/esm/styled/sheet/StyledSheetFooterItem.js +1 -1
  33. package/dist/esm/styled/sheet/StyledSheetHeader.js +1 -1
  34. package/dist/esm/styled/sheet/StyledSheetTitle.js +1 -1
  35. package/dist/esm/styled/sheet/StyledSheetWrapper.js +1 -1
  36. package/dist/index.cjs.js +36 -37
  37. package/dist/typings/styled/StyledChrome.d.ts +3 -4
  38. package/dist/typings/styled/StyledSkipNav.d.ts +3 -5
  39. package/dist/typings/styled/StyledSkipNavIcon.d.ts +1 -5
  40. package/dist/typings/styled/body/StyledBody.d.ts +3 -4
  41. package/dist/typings/styled/body/StyledContent.d.ts +3 -5
  42. package/dist/typings/styled/body/StyledMain.d.ts +3 -4
  43. package/dist/typings/styled/footer/StyledFooter.d.ts +3 -5
  44. package/dist/typings/styled/footer/StyledFooterItem.d.ts +3 -4
  45. package/dist/typings/styled/header/StyledBaseHeaderItem.d.ts +3 -5
  46. package/dist/typings/styled/header/StyledHeader.d.ts +3 -2
  47. package/dist/typings/styled/header/StyledHeaderItem.d.ts +5 -5
  48. package/dist/typings/styled/header/StyledHeaderItemIcon.d.ts +2 -5
  49. package/dist/typings/styled/header/StyledHeaderItemText.d.ts +3 -1
  50. package/dist/typings/styled/header/StyledHeaderItemWrapper.d.ts +5 -5
  51. package/dist/typings/styled/header/StyledLogoHeaderItem.d.ts +5 -9
  52. package/dist/typings/styled/nav/StyledBaseNavItem.d.ts +3 -5
  53. package/dist/typings/styled/nav/StyledBrandmarkNavItem.d.ts +5 -4
  54. package/dist/typings/styled/nav/StyledLogoNavItem.d.ts +5 -5
  55. package/dist/typings/styled/nav/StyledNav.d.ts +3 -2
  56. package/dist/typings/styled/nav/StyledNavButton.d.ts +5 -6
  57. package/dist/typings/styled/nav/StyledNavItemIcon.d.ts +2 -5
  58. package/dist/typings/styled/nav/StyledNavItemText.d.ts +3 -2
  59. package/dist/typings/styled/nav/StyledNavList.d.ts +3 -4
  60. package/dist/typings/styled/nav/StyledNavListItem.d.ts +3 -4
  61. package/dist/typings/styled/sheet/StyledSheet.d.ts +3 -5
  62. package/dist/typings/styled/sheet/StyledSheetBody.d.ts +3 -4
  63. package/dist/typings/styled/sheet/StyledSheetClose.d.ts +5 -5
  64. package/dist/typings/styled/sheet/StyledSheetDescription.d.ts +3 -4
  65. package/dist/typings/styled/sheet/StyledSheetFooter.d.ts +3 -5
  66. package/dist/typings/styled/sheet/StyledSheetFooterItem.d.ts +3 -4
  67. package/dist/typings/styled/sheet/StyledSheetHeader.d.ts +3 -5
  68. package/dist/typings/styled/sheet/StyledSheetTitle.d.ts +3 -4
  69. package/dist/typings/styled/sheet/StyledSheetWrapper.d.ts +3 -5
  70. package/dist/typings/types/index.d.ts +2 -0
  71. package/package.json +6 -5
@@ -4,14 +4,13 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  interface IStyledNavItemProps {
9
8
  $isExpanded?: boolean;
10
9
  $hue: string;
11
10
  }
12
- export declare const StyledNavButton: import("styled-components").StyledComponent<"button", DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- as: string;
16
- } & IStyledNavItemProps, "as" | "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledNavButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
12
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
13
+ }, Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
14
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
15
+ }>, never>, IStyledNavItemProps>> & string;
17
16
  export {};
@@ -4,8 +4,5 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
- export declare const StyledNavItemIcon: import("styled-components").StyledComponent<({ children, theme, ...props }: any) => React.DetailedReactHTMLElement<any, HTMLElement>, DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- }, "data-garden-id" | "data-garden-version">;
7
+ import { DataAttributes } from 'styled-components';
8
+ export declare const StyledNavItemIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>, import("styled-components").FastOmit<import("@zendeskgarden/react-theming").IStyledBaseIconProps, never>>, DataAttributes>, never>> & string;
@@ -4,9 +4,10 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledNavItemTextProps {
9
8
  $isWrapped?: boolean;
10
9
  $isExpanded?: boolean;
11
10
  }
12
- export declare const StyledNavItemText: import("styled-components").StyledComponent<"span", DefaultTheme, IStyledNavItemTextProps, never>;
11
+ export declare const StyledNavItemText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
12
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
13
+ }>, IStyledNavItemTextProps>, IStyledNavItemTextProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledNavList: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledNavList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
8
+ ref?: ((instance: HTMLUListElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLUListElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledNavListItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledNavListItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
8
+ ref?: ((instance: HTMLLIElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLLIElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ISheetProps } from '../../types';
9
8
  interface IStyledSheetProps {
10
9
  inert?: string;
@@ -13,8 +12,7 @@ interface IStyledSheetProps {
13
12
  $isAnimated?: boolean;
14
13
  $size?: string;
15
14
  }
16
- export declare const StyledSheet: import("styled-components").StyledComponent<"aside", DefaultTheme, {
17
- 'data-garden-id': string;
18
- 'data-garden-version': string;
19
- } & IStyledSheetProps, "data-garden-id" | "data-garden-version">;
15
+ export declare const StyledSheet: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
16
+ ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
17
+ }>, never>, IStyledSheetProps>> & string;
20
18
  export {};
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledSheetBody: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledSheetBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,8 +4,8 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
- export declare const StyledSheetClose: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, DefaultTheme, {
9
- 'data-garden-id': string;
10
- 'data-garden-version': string;
11
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledSheetClose: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
8
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
9
+ }, Omit<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
10
+ ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
11
+ }>, never>, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-buttons").IIconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledSheetDescription: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledSheetDescription: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,12 +4,10 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledSheetFooterProps {
9
8
  /** Sets the SheetFooter padding to half the standard and centers the elements */
10
9
  $isCompact?: boolean;
11
10
  }
12
- export declare const StyledSheetFooter: import("styled-components").StyledComponent<"footer", DefaultTheme, {
13
- 'data-garden-id': string;
14
- 'data-garden-version': string;
15
- } & IStyledSheetFooterProps, "data-garden-id" | "data-garden-version">;
11
+ export declare const StyledSheetFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
12
+ ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
13
+ }>, never>, IStyledSheetFooterProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledSheetFooterItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledSheetFooterItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,11 +4,9 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  export interface IStyledSheetHeaderProps {
9
8
  $isCloseButtonPresent?: boolean;
10
9
  }
11
- export declare const StyledSheetHeader: import("styled-components").StyledComponent<"header", DefaultTheme, {
12
- 'data-garden-id': string;
13
- 'data-garden-version': string;
14
- } & IStyledSheetHeaderProps, "data-garden-id" | "data-garden-version">;
10
+ export declare const StyledSheetHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
11
+ ref?: ((instance: HTMLElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLElement> | null | undefined;
12
+ }>, never>, IStyledSheetHeaderProps>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- export declare const StyledSheetTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
8
- 'data-garden-id': string;
9
- 'data-garden-version': string;
10
- }, "data-garden-id" | "data-garden-version">;
7
+ export declare const StyledSheetTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
8
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
9
+ }>, never>, never>> & string;
@@ -4,7 +4,6 @@
4
4
  * Use of this source code is governed under the Apache License, Version 2.0
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
- import { DefaultTheme } from 'styled-components';
8
7
  import { ISheetProps } from '../../types';
9
8
  interface IStyledSheetWrapperProps {
10
9
  $isOpen?: boolean;
@@ -12,8 +11,7 @@ interface IStyledSheetWrapperProps {
12
11
  $placement?: ISheetProps['placement'];
13
12
  $size?: string;
14
13
  }
15
- export declare const StyledSheetWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, {
16
- 'data-garden-id': string;
17
- 'data-garden-version': string;
18
- } & IStyledSheetWrapperProps, "data-garden-id" | "data-garden-version">;
14
+ export declare const StyledSheetWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
15
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ }>, never>, IStyledSheetWrapperProps>> & string;
19
17
  export {};
@@ -71,6 +71,8 @@ export interface INavItemTextProps extends HTMLAttributes<HTMLSpanElement> {
71
71
  isWrapped?: boolean;
72
72
  }
73
73
  export interface ISheetProps extends HTMLAttributes<HTMLElement> {
74
+ /** Identifies the sheet */
75
+ id?: string;
74
76
  /** Opens the sheet */
75
77
  isOpen?: boolean;
76
78
  /** Determines whether animation for opening and closing the sheet is used */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zendeskgarden/react-chrome",
3
- "version": "9.1.2",
3
+ "version": "9.3.0",
4
4
  "description": "Components relating to Chrome within the Garden Design System.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Zendesk Garden <garden@zendesk.com>",
@@ -21,7 +21,8 @@
21
21
  "sideEffects": false,
22
22
  "types": "dist/typings/index.d.ts",
23
23
  "dependencies": {
24
- "@zendeskgarden/react-buttons": "^9.1.2",
24
+ "@zendeskgarden/container-utilities": "^2.0.0",
25
+ "@zendeskgarden/react-buttons": "^9.3.0",
25
26
  "dom-helpers": "^5.2.1",
26
27
  "polished": "^4.3.1",
27
28
  "prop-types": "^15.5.7",
@@ -31,10 +32,10 @@
31
32
  "@zendeskgarden/react-theming": ">=9.0.0",
32
33
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
33
34
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
34
- "styled-components": "^5.3.1"
35
+ "styled-components": "^5.3.1 || ^6.0.0"
35
36
  },
36
37
  "devDependencies": {
37
- "@zendeskgarden/react-theming": "^9.1.2",
38
+ "@zendeskgarden/react-theming": "^9.3.0",
38
39
  "@zendeskgarden/svg-icons": "7.3.0"
39
40
  },
40
41
  "keywords": [
@@ -47,5 +48,5 @@
47
48
  "access": "public"
48
49
  },
49
50
  "zendeskgarden:src": "src/index.ts",
50
- "gitHead": "dd7b2e7fb6747ef39a028b4e7b9924c2098deea0"
51
+ "gitHead": "fa6461e0d9fae27956980056006e8013daedc6b9"
51
52
  }