@zendeskgarden/react-chrome 9.0.0 → 9.1.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 (63) hide show
  1. package/LICENSE.md +176 -0
  2. package/dist/esm/elements/SkipNav.js +1 -1
  3. package/dist/esm/elements/body/Content.js +1 -1
  4. package/dist/esm/elements/header/Header.js +10 -3
  5. package/dist/esm/elements/header/HeaderItem.js +11 -2
  6. package/dist/esm/elements/header/HeaderItemText.js +10 -3
  7. package/dist/esm/elements/nav/Nav.js +11 -7
  8. package/dist/esm/elements/nav/NavItem.js +4 -4
  9. package/dist/esm/elements/nav/NavItemText.js +8 -3
  10. package/dist/esm/elements/sheet/Sheet.js +9 -9
  11. package/dist/esm/elements/sheet/components/Footer.js +8 -3
  12. package/dist/esm/elements/sheet/components/Header.js +1 -1
  13. package/dist/esm/styled/StyledChrome.js +1 -1
  14. package/dist/esm/styled/StyledSkipNav.js +2 -2
  15. package/dist/esm/styled/StyledSkipNavIcon.js +1 -1
  16. package/dist/esm/styled/body/StyledBody.js +1 -1
  17. package/dist/esm/styled/body/StyledContent.js +3 -3
  18. package/dist/esm/styled/body/StyledMain.js +1 -1
  19. package/dist/esm/styled/footer/StyledFooter.js +1 -1
  20. package/dist/esm/styled/footer/StyledFooterItem.js +1 -1
  21. package/dist/esm/styled/header/StyledBaseHeaderItem.js +7 -7
  22. package/dist/esm/styled/header/StyledHeader.js +4 -4
  23. package/dist/esm/styled/header/StyledHeaderItem.js +5 -5
  24. package/dist/esm/styled/header/StyledHeaderItemIcon.js +1 -1
  25. package/dist/esm/styled/header/StyledHeaderItemText.js +2 -2
  26. package/dist/esm/styled/header/StyledHeaderItemWrapper.js +1 -1
  27. package/dist/esm/styled/header/StyledLogoHeaderItem.js +3 -3
  28. package/dist/esm/styled/nav/StyledBaseNavItem.js +1 -1
  29. package/dist/esm/styled/nav/StyledBrandmarkNavItem.js +1 -1
  30. package/dist/esm/styled/nav/StyledLogoNavItem.js +4 -4
  31. package/dist/esm/styled/nav/StyledNav.js +6 -6
  32. package/dist/esm/styled/nav/StyledNavButton.js +7 -7
  33. package/dist/esm/styled/nav/StyledNavItemIcon.js +1 -1
  34. package/dist/esm/styled/nav/StyledNavItemText.js +9 -9
  35. package/dist/esm/styled/nav/StyledNavList.js +1 -1
  36. package/dist/esm/styled/nav/StyledNavListItem.js +1 -1
  37. package/dist/esm/styled/sheet/StyledSheet.js +10 -10
  38. package/dist/esm/styled/sheet/StyledSheetBody.js +1 -1
  39. package/dist/esm/styled/sheet/StyledSheetClose.js +1 -1
  40. package/dist/esm/styled/sheet/StyledSheetDescription.js +1 -1
  41. package/dist/esm/styled/sheet/StyledSheetFooter.js +4 -4
  42. package/dist/esm/styled/sheet/StyledSheetFooterItem.js +1 -1
  43. package/dist/esm/styled/sheet/StyledSheetHeader.js +3 -3
  44. package/dist/esm/styled/sheet/StyledSheetTitle.js +1 -1
  45. package/dist/esm/styled/sheet/StyledSheetWrapper.js +8 -8
  46. package/dist/index.cjs.js +169 -132
  47. package/dist/typings/styled/StyledSkipNav.d.ts +1 -1
  48. package/dist/typings/styled/body/StyledContent.d.ts +1 -1
  49. package/dist/typings/styled/header/StyledBaseHeaderItem.d.ts +3 -3
  50. package/dist/typings/styled/header/StyledHeader.d.ts +1 -1
  51. package/dist/typings/styled/header/StyledHeaderItemIcon.d.ts +1 -1
  52. package/dist/typings/styled/header/StyledHeaderItemText.d.ts +1 -1
  53. package/dist/typings/styled/header/StyledLogoHeaderItem.d.ts +1 -1
  54. package/dist/typings/styled/nav/StyledLogoNavItem.d.ts +2 -2
  55. package/dist/typings/styled/nav/StyledNav.d.ts +2 -2
  56. package/dist/typings/styled/nav/StyledNavButton.d.ts +2 -2
  57. package/dist/typings/styled/nav/StyledNavItemIcon.d.ts +1 -1
  58. package/dist/typings/styled/nav/StyledNavItemText.d.ts +2 -2
  59. package/dist/typings/styled/sheet/StyledSheet.d.ts +4 -4
  60. package/dist/typings/styled/sheet/StyledSheetFooter.d.ts +1 -1
  61. package/dist/typings/styled/sheet/StyledSheetHeader.d.ts +1 -1
  62. package/dist/typings/styled/sheet/StyledSheetWrapper.d.ts +4 -4
  63. package/package.json +6 -5
@@ -11,7 +11,7 @@ import { StyledBaseHeaderItem } from './StyledBaseHeaderItem.js';
11
11
  const COMPONENT_ID = 'chrome.header_item_wrapper';
12
12
  const StyledHeaderItemWrapper = styled(StyledBaseHeaderItem).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.0.0',
14
+ 'data-garden-version': '9.1.0',
15
15
  as: 'div'
16
16
  }).withConfig({
17
17
  displayName: "StyledHeaderItemWrapper",
@@ -16,7 +16,7 @@ const COMPONENT_ID = 'chrome.header_item';
16
16
  const colorStyles = _ref => {
17
17
  let {
18
18
  theme,
19
- product
19
+ $product
20
20
  } = _ref;
21
21
  const borderColor = getColor({
22
22
  theme,
@@ -26,7 +26,7 @@ const colorStyles = _ref => {
26
26
  theme,
27
27
  variable: 'foreground.default'
28
28
  });
29
- const color = getProductColor(product, fill );
29
+ const color = getProductColor($product, fill );
30
30
  return css(["border-", "-color:", ";color:", ";fill:", ";"], theme.rtl ? 'left' : 'right', borderColor, color, fill);
31
31
  };
32
32
  const sizeStyles = _ref2 => {
@@ -42,7 +42,7 @@ const sizeStyles = _ref2 => {
42
42
  };
43
43
  const StyledLogoHeaderItem = styled(StyledBaseHeaderItem).attrs({
44
44
  'data-garden-id': COMPONENT_ID,
45
- 'data-garden-version': '9.0.0',
45
+ 'data-garden-version': '9.1.0',
46
46
  as: 'div'
47
47
  }).withConfig({
48
48
  displayName: "StyledLogoHeaderItem",
@@ -20,7 +20,7 @@ const sizeStyles = _ref => {
20
20
  };
21
21
  const StyledBaseNavItem = styled.div.attrs({
22
22
  'data-garden-id': COMPONENT_ID,
23
- 'data-garden-version': '9.0.0'
23
+ 'data-garden-version': '9.1.0'
24
24
  }).withConfig({
25
25
  displayName: "StyledBaseNavItem",
26
26
  componentId: "sc-zvo43f-0"
@@ -10,7 +10,7 @@ import { StyledBaseNavItem } from './StyledBaseNavItem.js';
10
10
  const COMPONENT_ID = 'chrome.brandmark_nav_list_item';
11
11
  const StyledBrandmarkNavItem = styled(StyledBaseNavItem).attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledBrandmarkNavItem",
16
16
  componentId: "sc-8kynd4-0"
@@ -13,19 +13,19 @@ const COMPONENT_ID = 'chrome.logo_nav_list_item';
13
13
  const colorStyles = _ref => {
14
14
  let {
15
15
  theme,
16
- hue,
17
- product
16
+ $hue,
17
+ $product
18
18
  } = _ref;
19
19
  const fillColor = getColor({
20
20
  theme,
21
21
  variable: 'foreground.default'
22
22
  });
23
- const color = hue === 'chromeHue' ? getProductColor(product) : fillColor;
23
+ const color = $hue === 'chromeHue' ? getProductColor($product) : fillColor;
24
24
  return css(["color:", ";fill:", ";"], color, fillColor);
25
25
  };
26
26
  const StyledLogoNavItem = styled(StyledBaseNavItem).attrs({
27
27
  'data-garden-id': COMPONENT_ID,
28
- 'data-garden-version': '9.0.0'
28
+ 'data-garden-version': '9.1.0'
29
29
  }).withConfig({
30
30
  displayName: "StyledLogoNavItem",
31
31
  componentId: "sc-saaydx-0"
@@ -12,12 +12,12 @@ const COMPONENT_ID = 'chrome.nav';
12
12
  const colorStyles = _ref => {
13
13
  let {
14
14
  theme,
15
- hue
15
+ $hue
16
16
  } = _ref;
17
- const shade = hue === 'chromeHue' ? 900 : undefined;
17
+ const shade = $hue === 'chromeHue' ? 900 : undefined;
18
18
  const backgroundColor = getColor({
19
19
  theme,
20
- hue,
20
+ hue: $hue,
21
21
  shade
22
22
  });
23
23
  const foregroundColor = getColor({
@@ -34,15 +34,15 @@ const colorStyles = _ref => {
34
34
  const sizeStyles = _ref2 => {
35
35
  let {
36
36
  theme,
37
- isExpanded
37
+ $isExpanded
38
38
  } = _ref2;
39
39
  const fontSize = theme.fontSizes.md;
40
- const width = isExpanded ? getNavWidthExpanded() : getNavWidth(theme);
40
+ const width = $isExpanded ? getNavWidthExpanded() : getNavWidth(theme);
41
41
  return css(["width:", ";font-size:", ";"], width, fontSize);
42
42
  };
43
43
  const StyledNav = styled.nav.attrs({
44
44
  'data-garden-id': COMPONENT_ID,
45
- 'data-garden-version': '9.0.0'
45
+ 'data-garden-version': '9.1.0'
46
46
  }).withConfig({
47
47
  displayName: "StyledNav",
48
48
  componentId: "sc-6j462r-0"
@@ -15,7 +15,7 @@ const COMPONENT_ID = 'chrome.nav_button';
15
15
  const colorStyles = _ref => {
16
16
  let {
17
17
  theme,
18
- hue
18
+ $hue
19
19
  } = _ref;
20
20
  const activeBackgroundColor = getColor({
21
21
  theme,
@@ -27,9 +27,9 @@ const colorStyles = _ref => {
27
27
  },
28
28
  transparency: theme.opacity[100]
29
29
  });
30
- const currentBackgroundColor = hue === 'chromeHue' ? getColor({
30
+ const currentBackgroundColor = $hue === 'chromeHue' ? getColor({
31
31
  theme,
32
- hue,
32
+ hue: $hue,
33
33
  shade: 700
34
34
  }) : getColor({
35
35
  theme,
@@ -74,18 +74,18 @@ const colorStyles = _ref => {
74
74
  const sizeStyles = _ref2 => {
75
75
  let {
76
76
  theme,
77
- isExpanded
77
+ $isExpanded
78
78
  } = _ref2;
79
- const iconMargin = isExpanded ? `0 ${math(`(${getNavWidth(theme)} - ${theme.iconSizes.lg}) / 4`)}` : undefined;
79
+ const iconMargin = $isExpanded ? `0 ${math(`(${getNavWidth(theme)} - ${theme.iconSizes.lg}) / 4`)}` : undefined;
80
80
  return css(["margin:0;border:none;box-sizing:border-box;min-width:0;font-size:inherit;", "{margin:", ";}"], StyledNavItemIcon, iconMargin);
81
81
  };
82
82
  const StyledNavButton = styled(StyledBaseNavItem).attrs({
83
83
  'data-garden-id': COMPONENT_ID,
84
- 'data-garden-version': '9.0.0',
84
+ 'data-garden-version': '9.1.0',
85
85
  as: 'button'
86
86
  }).withConfig({
87
87
  displayName: "StyledNavButton",
88
88
  componentId: "sc-f5ux3-0"
89
- })(["flex:1;justify-content:", ";cursor:pointer;text-align:", ";text-decoration:none;", ";&:hover,&:focus{text-decoration:none;}&[aria-current='true']{cursor:default;}", ";", ";"], props => props.isExpanded && 'start', props => props.isExpanded && 'inherit', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
89
+ })(["flex:1;justify-content:", ";cursor:pointer;text-align:", ";text-decoration:none;", ";&:hover,&:focus{text-decoration:none;}&[aria-current='true']{cursor:default;}", ";", ";"], props => props.$isExpanded && 'start', props => props.$isExpanded && 'inherit', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
90
90
 
91
91
  export { StyledNavButton };
@@ -17,7 +17,7 @@ const sizeStyles = _ref => {
17
17
  };
18
18
  const StyledNavItemIcon = styled(StyledBaseIcon).attrs({
19
19
  'data-garden-id': COMPONENT_ID,
20
- 'data-garden-version': '9.0.0'
20
+ 'data-garden-version': '9.1.0'
21
21
  }).withConfig({
22
22
  displayName: "StyledNavItemIcon",
23
23
  componentId: "sc-7w9rpt-0"
@@ -14,23 +14,23 @@ const COMPONENT_ID = 'chrome.nav_item_text';
14
14
  const sizeStyles = _ref => {
15
15
  let {
16
16
  theme,
17
- isExpanded,
18
- isWrapped
17
+ $isExpanded,
18
+ $isWrapped
19
19
  } = _ref;
20
- const clip = isExpanded ? 'auto' : undefined;
20
+ const clip = $isExpanded ? 'auto' : undefined;
21
21
  const lineHeight = getLineHeight(theme.space.base * 5, theme.fontSizes.md);
22
- const margin = isExpanded ? `0 ${math(`(${getNavWidth(theme)} - ${theme.iconSizes.lg}) / 4`)}` : undefined;
23
- const width = isExpanded ? 'auto' : undefined;
24
- const height = isExpanded ? 'auto' : undefined;
25
- const whiteSpace = isWrapped ? undefined : 'nowrap';
22
+ const margin = $isExpanded ? `0 ${math(`(${getNavWidth(theme)} - ${theme.iconSizes.lg}) / 4`)}` : undefined;
23
+ const width = $isExpanded ? 'auto' : undefined;
24
+ const height = $isExpanded ? 'auto' : undefined;
25
+ const whiteSpace = $isWrapped ? undefined : 'nowrap';
26
26
  return css(["clip:rect(1px,1px,1px,1px);margin:", ";width:1px;height:1px;line-height:", ";white-space:", ";", " > &&{clip:", ";width:", ";height:", ";}"], margin, lineHeight, whiteSpace, StyledNavButton, clip, width, height);
27
27
  };
28
28
  const StyledNavItemText = styled.span.attrs({
29
29
  'data-garden-id': COMPONENT_ID,
30
- 'data-garden-version': '9.0.0'
30
+ 'data-garden-version': '9.1.0'
31
31
  }).withConfig({
32
32
  displayName: "StyledNavItemText",
33
33
  componentId: "sc-13m84xl-0"
34
- })(["position:absolute;order:1;overflow:hidden;", " > &&{position:", ";flex:", ";text-overflow:", ";}", ";", ";"], StyledNavButton, props => props.isExpanded ? 'static' : undefined, props => props.isExpanded ? 1 : undefined, props => props.isExpanded ? 'ellipsis' : undefined, sizeStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
34
+ })(["position:absolute;order:1;overflow:hidden;", " > &&{position:", ";flex:", ";text-overflow:", ";}", ";", ";"], StyledNavButton, props => props.$isExpanded ? 'static' : undefined, props => props.$isExpanded ? 1 : undefined, props => props.$isExpanded ? 'ellipsis' : undefined, sizeStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
35
35
 
36
36
  export { StyledNavItemText };
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'chrome.nav_list';
11
11
  const StyledNavList = styled.ul.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledNavList",
16
16
  componentId: "sc-1s0nkfb-0"
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'chrome.nav_list_item';
11
11
  const StyledNavListItem = styled.li.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledNavListItem",
16
16
  componentId: "sc-18cj2v7-0"
@@ -11,13 +11,13 @@ const COMPONENT_ID = 'chrome.sheet';
11
11
  const colorStyles = _ref => {
12
12
  let {
13
13
  theme,
14
- isOpen
14
+ $isOpen
15
15
  } = _ref;
16
16
  const backgroundColor = getColor({
17
17
  theme,
18
18
  variable: 'background.default'
19
19
  });
20
- const borderColor = isOpen ? getColor({
20
+ const borderColor = $isOpen ? getColor({
21
21
  theme,
22
22
  variable: 'border.default'
23
23
  }) : 'transparent';
@@ -26,16 +26,16 @@ const colorStyles = _ref => {
26
26
  const sizeStyles = _ref2 => {
27
27
  let {
28
28
  theme,
29
- isOpen,
30
- placement,
31
- size
29
+ $isOpen,
30
+ $placement,
31
+ $size
32
32
  } = _ref2;
33
- const width = isOpen ? size : 0;
33
+ const width = $isOpen ? $size : 0;
34
34
  const fontSize = theme.fontSizes.md;
35
35
  const lineHeight = getLineHeight(theme.space.base * 5, fontSize);
36
- const border = isOpen ? theme.borders.sm : 'none';
36
+ const border = $isOpen ? theme.borders.sm : 'none';
37
37
  let borderProperty;
38
- if (placement === 'start') {
38
+ if ($placement === 'start') {
39
39
  borderProperty = `border-${theme.rtl ? 'left' : 'right'}`;
40
40
  } else {
41
41
  borderProperty = `border-${theme.rtl ? 'right' : 'left'}`;
@@ -44,10 +44,10 @@ const sizeStyles = _ref2 => {
44
44
  };
45
45
  const StyledSheet = styled.aside.attrs({
46
46
  'data-garden-id': COMPONENT_ID,
47
- 'data-garden-version': '9.0.0'
47
+ 'data-garden-version': '9.1.0'
48
48
  }).withConfig({
49
49
  displayName: "StyledSheet",
50
50
  componentId: "sc-dx8ijk-0"
51
- })(["display:flex;order:1;transition:", ";overflow:hidden;", ";&:focus{outline:none;}", ";", ";"], props => props.isAnimated && 'width 250ms ease-in-out', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
51
+ })(["display:flex;order:1;transition:", ";overflow:hidden;", ";&:focus{outline:none;}", ";", ";"], props => props.$isAnimated && 'width 250ms ease-in-out', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
52
52
 
53
53
  export { StyledSheet };
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'chrome.sheet_body';
11
11
  const StyledSheetBody = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledSheetBody",
16
16
  componentId: "sc-bt4eoj-0"
@@ -19,7 +19,7 @@ const positionStyles = _ref => {
19
19
  };
20
20
  const StyledSheetClose = styled(IconButton).attrs({
21
21
  'data-garden-id': COMPONENT_ID,
22
- 'data-garden-version': '9.0.0'
22
+ 'data-garden-version': '9.1.0'
23
23
  }).withConfig({
24
24
  displayName: "StyledSheetClose",
25
25
  componentId: "sc-1ab02oq-0"
@@ -10,7 +10,7 @@ import { getLineHeight, getColor, retrieveComponentStyles } from '@zendeskgarden
10
10
  const COMPONENT_ID = 'chrome.sheet_description';
11
11
  const StyledSheetDescription = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledSheetDescription",
16
16
  componentId: "sc-1puglb6-0"
@@ -21,18 +21,18 @@ const colorStyles = _ref => {
21
21
  const sizeStyles = _ref2 => {
22
22
  let {
23
23
  theme,
24
- isCompact
24
+ $isCompact
25
25
  } = _ref2;
26
26
  const border = theme.borders.sm;
27
- const padding = `${theme.space.base * (isCompact ? 2.5 : 5)}px`;
27
+ const padding = `${theme.space.base * ($isCompact ? 2.5 : 5)}px`;
28
28
  return css(["border-top:", ";padding:", ";"], border, padding);
29
29
  };
30
30
  const StyledSheetFooter = styled.footer.attrs({
31
31
  'data-garden-id': COMPONENT_ID,
32
- 'data-garden-version': '9.0.0'
32
+ 'data-garden-version': '9.1.0'
33
33
  }).withConfig({
34
34
  displayName: "StyledSheetFooter",
35
35
  componentId: "sc-2cktos-0"
36
- })(["display:flex;flex-flow:row wrap;align-items:center;justify-content:", ";", ";", ";", ";"], props => props.isCompact ? 'center' : 'flex-end', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
36
+ })(["display:flex;flex-flow:row wrap;align-items:center;justify-content:", ";", ";", ";", ";"], props => props.$isCompact ? 'center' : 'flex-end', sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
37
37
 
38
38
  export { StyledSheetFooter };
@@ -10,7 +10,7 @@ import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
10
10
  const COMPONENT_ID = 'chrome.sheet_footer_item';
11
11
  const StyledSheetFooterItem = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledSheetFooterItem",
16
16
  componentId: "sc-r9ixh-0"
@@ -21,11 +21,11 @@ const colorStyles = _ref => {
21
21
  const sizeStyles = _ref2 => {
22
22
  let {
23
23
  theme,
24
- isCloseButtonPresent
24
+ $isCloseButtonPresent
25
25
  } = _ref2;
26
26
  const border = theme.borders.sm;
27
27
  let padding = `${theme.space.base * 5}px`;
28
- if (isCloseButtonPresent) {
28
+ if ($isCloseButtonPresent) {
29
29
  const paddingSide = `${theme.space.base * 14}px`;
30
30
  padding = theme.rtl ? `${padding} ${padding} ${padding} ${paddingSide}` : `${padding} ${paddingSide} ${padding} ${padding}`;
31
31
  }
@@ -33,7 +33,7 @@ const sizeStyles = _ref2 => {
33
33
  };
34
34
  const StyledSheetHeader = styled.header.attrs({
35
35
  'data-garden-id': COMPONENT_ID,
36
- 'data-garden-version': '9.0.0'
36
+ 'data-garden-version': '9.1.0'
37
37
  }).withConfig({
38
38
  displayName: "StyledSheetHeader",
39
39
  componentId: "sc-o2ry8i-0"
@@ -10,7 +10,7 @@ import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming'
10
10
  const COMPONENT_ID = 'chrome.sheet_title';
11
11
  const StyledSheetTitle = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.0.0'
13
+ 'data-garden-version': '9.1.0'
14
14
  }).withConfig({
15
15
  displayName: "StyledSheetTitle",
16
16
  componentId: "sc-1gogk75-0"
@@ -11,15 +11,15 @@ const COMPONENT_ID = 'chrome.sheet_wrapper';
11
11
  const transformStyles = _ref => {
12
12
  let {
13
13
  theme,
14
- isAnimated,
15
- isOpen,
16
- placement
14
+ $isAnimated,
15
+ $isOpen,
16
+ $placement
17
17
  } = _ref;
18
- const transition = isAnimated ? 'transform 250ms ease-in-out' : undefined;
18
+ const transition = $isAnimated ? 'transform 250ms ease-in-out' : undefined;
19
19
  let transform;
20
- if (isOpen) {
20
+ if ($isOpen) {
21
21
  transform = 'translateX(0)';
22
- } else if (placement === 'start') {
22
+ } else if ($placement === 'start') {
23
23
  transform = `translateX(${theme.rtl ? 100 : -100}%)`;
24
24
  } else {
25
25
  transform = `translateX(${theme.rtl ? -100 : 100}%)`;
@@ -28,10 +28,10 @@ const transformStyles = _ref => {
28
28
  };
29
29
  const StyledSheetWrapper = styled.div.attrs({
30
30
  'data-garden-id': COMPONENT_ID,
31
- 'data-garden-version': '9.0.0'
31
+ 'data-garden-version': '9.1.0'
32
32
  }).withConfig({
33
33
  displayName: "StyledSheetWrapper",
34
34
  componentId: "sc-f6x9zb-0"
35
- })(["display:flex;position:relative;flex-direction:column;min-width:", ";", ";", ";"], props => props.size, transformStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
35
+ })(["display:flex;position:relative;flex-direction:column;min-width:", ";", ";", ";"], props => props.$size, transformStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
36
36
 
37
37
  export { StyledSheetWrapper };