@zendeskgarden/react-accordions 9.12.3 → 9.12.4

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/esm/elements/accordion/Accordion.js +13 -14
  2. package/dist/esm/elements/accordion/components/Label.js +4 -4
  3. package/dist/esm/elements/accordion/components/Panel.js +5 -6
  4. package/dist/esm/elements/stepper/Stepper.js +6 -7
  5. package/dist/esm/elements/stepper/components/Content.js +4 -4
  6. package/dist/esm/elements/stepper/components/Label.js +7 -8
  7. package/dist/esm/elements/stepper/components/Step.js +4 -5
  8. package/dist/esm/elements/timeline/Timeline.js +4 -5
  9. package/dist/esm/elements/timeline/components/Item.js +5 -6
  10. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/check-sm-stroke.svg.js +2 -2
  11. package/dist/esm/node_modules/@zendeskgarden/svg-icons/src/16/chevron-down-stroke.svg.js +4 -4
  12. package/dist/esm/styled/accordion/StyledAccordion.js +3 -3
  13. package/dist/esm/styled/accordion/StyledButton.js +11 -12
  14. package/dist/esm/styled/accordion/StyledHeader.js +3 -3
  15. package/dist/esm/styled/accordion/StyledInnerPanel.js +3 -3
  16. package/dist/esm/styled/accordion/StyledPanel.js +9 -10
  17. package/dist/esm/styled/accordion/StyledRotateIcon.js +10 -11
  18. package/dist/esm/styled/accordion/StyledSection.js +3 -3
  19. package/dist/esm/styled/stepper/StyledContent.js +5 -5
  20. package/dist/esm/styled/stepper/StyledIcon.js +9 -10
  21. package/dist/esm/styled/stepper/StyledInnerContent.js +9 -12
  22. package/dist/esm/styled/stepper/StyledLabel.js +10 -13
  23. package/dist/esm/styled/stepper/StyledLabelText.js +3 -3
  24. package/dist/esm/styled/stepper/StyledLine.js +9 -12
  25. package/dist/esm/styled/stepper/StyledStep.js +9 -12
  26. package/dist/esm/styled/stepper/StyledStepper.js +3 -3
  27. package/dist/esm/styled/timeline/StyledContent.js +3 -3
  28. package/dist/esm/styled/timeline/StyledItem.js +9 -12
  29. package/dist/esm/styled/timeline/StyledItemIcon.js +5 -6
  30. package/dist/esm/styled/timeline/StyledOppositeContent.js +3 -3
  31. package/dist/esm/styled/timeline/StyledSeparator.js +9 -12
  32. package/dist/esm/styled/timeline/StyledTimeline.js +3 -3
  33. package/dist/index.cjs.js +126 -156
  34. package/package.json +4 -4
@@ -7,10 +7,10 @@
7
7
  import styled from 'styled-components';
8
8
  import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
- const COMPONENT_ID = 'accordions.stepper';
10
+ const COMPONENT_ID$g = 'accordions.stepper';
11
11
  const StyledStepper = styled.ol.attrs({
12
- 'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.12.3'
12
+ 'data-garden-id': COMPONENT_ID$g,
13
+ 'data-garden-version': '9.12.4'
14
14
  }).withConfig({
15
15
  displayName: "StyledStepper",
16
16
  componentId: "sc-dsxw0f-0"
@@ -7,10 +7,10 @@
7
7
  import styled from 'styled-components';
8
8
  import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
- const COMPONENT_ID = 'timeline.content';
10
+ const COMPONENT_ID$3 = 'timeline.content';
11
11
  const StyledTimelineContent = styled.div.attrs({
12
- 'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.12.3'
12
+ 'data-garden-id': COMPONENT_ID$3,
13
+ 'data-garden-version': '9.12.4'
14
14
  }).withConfig({
15
15
  displayName: "StyledContent__StyledTimelineContent",
16
16
  componentId: "sc-19phgu1-0"
@@ -10,21 +10,18 @@ import { StyledSeparator } from './StyledSeparator.js';
10
10
  import { StyledTimelineContent } from './StyledContent.js';
11
11
  import { StyledOppositeContent } from './StyledOppositeContent.js';
12
12
 
13
- const COMPONENT_ID = 'timeline.item';
13
+ const COMPONENT_ID$1 = 'timeline.item';
14
14
  const StyledTimelineItem = styled.li.attrs({
15
- 'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.12.3'
15
+ 'data-garden-id': COMPONENT_ID$1,
16
+ 'data-garden-version': '9.12.4'
17
17
  }).withConfig({
18
18
  displayName: "StyledItem__StyledTimelineItem",
19
19
  componentId: "sc-5mcnzm-0"
20
- })(["display:flex;position:relative;line-height:", ";color:", ";font-size:", ";&:last-of-type ", "::after{display:none;}", " ", " ", ";"], props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), _ref => {
21
- let {
22
- theme
23
- } = _ref;
24
- return getColor({
25
- theme,
26
- variable: 'foreground.default'
27
- });
28
- }, props => props.theme.fontSizes.md, StyledSeparator, props => !props.$hasOppositeContent && props.$isAlternate && css(["&::before{flex:1;padding:", "px;content:'';}"], props.theme.space.base * 4), props => props.$isAlternate && css(["&:nth-child(even){flex-direction:row-reverse;", "{text-align:", ";}", "{text-align:", ";}}"], StyledOppositeContent, props.theme.rtl ? 'right' : 'left', StyledTimelineContent, props.theme.rtl ? 'left' : 'right'), componentStyles);
20
+ })(["display:flex;position:relative;line-height:", ";color:", ";font-size:", ";&:last-of-type ", "::after{display:none;}", " ", " ", ";"], props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), ({
21
+ theme
22
+ }) => getColor({
23
+ theme,
24
+ variable: 'foreground.default'
25
+ }), props => props.theme.fontSizes.md, StyledSeparator, props => !props.$hasOppositeContent && props.$isAlternate && css(["&::before{flex:1;padding:", "px;content:'';}"], props.theme.space.base * 4), props => props.$isAlternate && css(["&:nth-child(even){flex-direction:row-reverse;", "{text-align:", ";}", "{text-align:", ";}}"], StyledOppositeContent, props.theme.rtl ? 'right' : 'left', StyledTimelineContent, props.theme.rtl ? 'left' : 'right'), componentStyles);
29
26
 
30
27
  export { StyledTimelineItem };
@@ -9,11 +9,10 @@ import { math } from 'polished';
9
9
  import { StyledBaseIcon, componentStyles, getColor } from '@zendeskgarden/react-theming';
10
10
 
11
11
  const COMPONENT_ID = 'timeline.icon';
12
- const colorStyles = _ref => {
13
- let {
14
- $surfaceColor,
15
- theme
16
- } = _ref;
12
+ const colorStyles = ({
13
+ $surfaceColor,
14
+ theme
15
+ }) => {
17
16
  const foregroundColor = getColor({
18
17
  theme,
19
18
  variable: 'border.emphasis'
@@ -34,7 +33,7 @@ const colorStyles = _ref => {
34
33
  };
35
34
  const StyledItemIcon = styled(StyledBaseIcon).attrs({
36
35
  'data-garden-id': COMPONENT_ID,
37
- 'data-garden-version': '9.12.3'
36
+ 'data-garden-version': '9.12.4'
38
37
  }).withConfig({
39
38
  displayName: "StyledItemIcon",
40
39
  componentId: "sc-vz2l6e-0"
@@ -7,10 +7,10 @@
7
7
  import styled from 'styled-components';
8
8
  import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
- const COMPONENT_ID = 'timeline.opposite.content';
10
+ const COMPONENT_ID$2 = 'timeline.opposite.content';
11
11
  const StyledOppositeContent = styled.div.attrs({
12
- 'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.12.3'
12
+ 'data-garden-id': COMPONENT_ID$2,
13
+ 'data-garden-version': '9.12.4'
14
14
  }).withConfig({
15
15
  displayName: "StyledOppositeContent",
16
16
  componentId: "sc-jurh2k-0"
@@ -7,21 +7,18 @@
7
7
  import styled from 'styled-components';
8
8
  import { getColor, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
- const COMPONENT_ID = 'timeline.content.separator';
10
+ const COMPONENT_ID$4 = 'timeline.content.separator';
11
11
  const StyledSeparator = styled.div.attrs({
12
- 'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.12.3'
12
+ 'data-garden-id': COMPONENT_ID$4,
13
+ 'data-garden-version': '9.12.4'
14
14
  }).withConfig({
15
15
  displayName: "StyledSeparator",
16
16
  componentId: "sc-fki51e-0"
17
- })(["display:flex;position:relative;justify-content:center;padding:", ";&::after{position:absolute;border-left:", ";height:100%;content:'';}", ";"], props => `${props.theme.space.base * 5}px ${props.theme.space.base}px`, _ref => {
18
- let {
19
- theme
20
- } = _ref;
21
- return `${theme.borders.sm} ${getColor({
22
- theme,
23
- variable: 'border.emphasis'
24
- })}`;
25
- }, componentStyles);
17
+ })(["display:flex;position:relative;justify-content:center;padding:", ";&::after{position:absolute;border-left:", ";height:100%;content:'';}", ";"], props => `${props.theme.space.base * 5}px ${props.theme.space.base}px`, ({
18
+ theme
19
+ }) => `${theme.borders.sm} ${getColor({
20
+ theme,
21
+ variable: 'border.emphasis'
22
+ })}`, componentStyles);
26
23
 
27
24
  export { StyledSeparator };
@@ -7,10 +7,10 @@
7
7
  import styled from 'styled-components';
8
8
  import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
- const COMPONENT_ID = 'timeline';
10
+ const COMPONENT_ID$5 = 'timeline';
11
11
  const StyledTimeline = styled.ol.attrs({
12
- 'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.12.3'
12
+ 'data-garden-id': COMPONENT_ID$5,
13
+ 'data-garden-version': '9.12.4'
14
14
  }).withConfig({
15
15
  displayName: "StyledTimeline",
16
16
  componentId: "sc-pig5kv-0"
package/dist/index.cjs.js CHANGED
@@ -54,7 +54,7 @@ const sizeStyles$2 = props => {
54
54
  };
55
55
  const StyledContent = styled__default.default.div.attrs({
56
56
  'data-garden-id': COMPONENT_ID$k,
57
- 'data-garden-version': '9.12.3'
57
+ 'data-garden-version': '9.12.4'
58
58
  }).withConfig({
59
59
  displayName: "StyledContent",
60
60
  componentId: "sc-mazvvo-0"
@@ -63,58 +63,49 @@ const StyledContent = styled__default.default.div.attrs({
63
63
  const COMPONENT_ID$j = 'accordions.step_line';
64
64
  const StyledLine = styled__default.default.div.attrs({
65
65
  'data-garden-id': COMPONENT_ID$j,
66
- 'data-garden-version': '9.12.3'
66
+ 'data-garden-version': '9.12.4'
67
67
  }).withConfig({
68
68
  displayName: "StyledLine",
69
69
  componentId: "sc-1gkpjbr-0"
70
- })(["display:block;position:absolute;top:", "px;right:", ";left:", ";flex:1;border-top:", ";border-color:", ";"], props => props.theme.space.base * 3, props => `calc(50% + ${props.theme.space.base * 6}px)`, props => `calc(-50% + ${props.theme.space.base * 6}px)`, props => props.theme.borders.sm, _ref => {
71
- let {
72
- theme
73
- } = _ref;
74
- return reactTheming.getColor({
75
- theme,
76
- variable: 'border.default'
77
- });
78
- });
70
+ })(["display:block;position:absolute;top:", "px;right:", ";left:", ";flex:1;border-top:", ";border-color:", ";"], props => props.theme.space.base * 3, props => `calc(50% + ${props.theme.space.base * 6}px)`, props => `calc(-50% + ${props.theme.space.base * 6}px)`, props => props.theme.borders.sm, ({
71
+ theme
72
+ }) => reactTheming.getColor({
73
+ theme,
74
+ variable: 'border.default'
75
+ }));
79
76
 
80
77
  const COMPONENT_ID$i = 'accordions.step';
81
78
  const StyledStep = styled__default.default.li.attrs({
82
79
  'data-garden-id': COMPONENT_ID$i,
83
- 'data-garden-version': '9.12.3'
80
+ 'data-garden-version': '9.12.4'
84
81
  }).withConfig({
85
82
  displayName: "StyledStep",
86
83
  componentId: "sc-12fiwtz-0"
87
- })(["position:", ";flex:", ";min-width:", ";&:last-of-type ", "{display:", ";}&:first-of-type ", "{display:", ";}&:not(:last-of-type) ", "{border-", ":", ";border-color:", ";}", ";"], props => props.$isHorizontal && 'relative', props => props.$isHorizontal && '1', props => props.$isHorizontal && `${props.theme.space.base * 15}px`, StyledLine, props => props.theme.rtl && 'none', StyledLine, props => !props.theme.rtl && 'none', StyledContent, props => props.theme.rtl ? 'right' : 'left', props => props.theme.borders.sm, _ref => {
88
- let {
89
- theme
90
- } = _ref;
91
- return reactTheming.getColor({
92
- theme,
93
- variable: 'border.default'
94
- });
95
- }, reactTheming.componentStyles);
84
+ })(["position:", ";flex:", ";min-width:", ";&:last-of-type ", "{display:", ";}&:first-of-type ", "{display:", ";}&:not(:last-of-type) ", "{border-", ":", ";border-color:", ";}", ";"], props => props.$isHorizontal && 'relative', props => props.$isHorizontal && '1', props => props.$isHorizontal && `${props.theme.space.base * 15}px`, StyledLine, props => props.theme.rtl && 'none', StyledLine, props => !props.theme.rtl && 'none', StyledContent, props => props.theme.rtl ? 'right' : 'left', props => props.theme.borders.sm, ({
85
+ theme
86
+ }) => reactTheming.getColor({
87
+ theme,
88
+ variable: 'border.default'
89
+ }), reactTheming.componentStyles);
96
90
 
97
91
  const COMPONENT_ID$h = 'accordions.step_inner_content';
98
92
  const StyledInnerContent = styled__default.default.div.attrs({
99
93
  'data-garden-id': COMPONENT_ID$h,
100
- 'data-garden-version': '9.12.3'
94
+ 'data-garden-version': '9.12.4'
101
95
  }).withConfig({
102
96
  displayName: "StyledInnerContent",
103
97
  componentId: "sc-1xs9fh7-0"
104
- })(["overflow:hidden;line-height:", ";color:", ";font-size:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), _ref => {
105
- let {
106
- theme
107
- } = _ref;
108
- return reactTheming.getColor({
109
- theme,
110
- variable: 'foreground.default'
111
- });
112
- }, props => props.theme.fontSizes.md, reactTheming.componentStyles);
98
+ })(["overflow:hidden;line-height:", ";color:", ";font-size:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), ({
99
+ theme
100
+ }) => reactTheming.getColor({
101
+ theme,
102
+ variable: 'foreground.default'
103
+ }), props => props.theme.fontSizes.md, reactTheming.componentStyles);
113
104
 
114
105
  const COMPONENT_ID$g = 'accordions.stepper';
115
106
  const StyledStepper = styled__default.default.ol.attrs({
116
107
  'data-garden-id': COMPONENT_ID$g,
117
- 'data-garden-version': '9.12.3'
108
+ 'data-garden-version': '9.12.4'
118
109
  }).withConfig({
119
110
  displayName: "StyledStepper",
120
111
  componentId: "sc-dsxw0f-0"
@@ -130,11 +121,10 @@ const sizeStyles$1 = props => {
130
121
  const fontSize = props.theme.fontSizes.sm;
131
122
  return styled.css(["margin-bottom:", ";margin-", ":", ";width:", ";min-width:", ";height:", ";min-height:", ";line-height:", ";font-size:", ";"], props.$isHorizontal && `${props.theme.space.base * 2}px`, props.theme.rtl ? 'left' : 'right', !props.$isHorizontal && `${props.theme.space.base * 3}px`, size, size, size, size, reactTheming.getLineHeight(size, fontSize), fontSize);
132
123
  };
133
- const colorStyles$4 = _ref => {
134
- let {
135
- $isActive,
136
- theme
137
- } = _ref;
124
+ const colorStyles$4 = ({
125
+ $isActive,
126
+ theme
127
+ }) => {
138
128
  const foregroundColor = reactTheming.getColor({
139
129
  theme,
140
130
  variable: $isActive ? 'foreground.onEmphasis' : 'foreground.default'
@@ -159,7 +149,7 @@ const colorStyles$4 = _ref => {
159
149
  };
160
150
  const StyledIcon = styled__default.default.div.attrs({
161
151
  'data-garden-id': COMPONENT_ID$f,
162
- 'data-garden-version': '9.12.3'
152
+ 'data-garden-version': '9.12.4'
163
153
  }).withConfig({
164
154
  displayName: "StyledIcon",
165
155
  componentId: "sc-v20nz9-1"
@@ -168,25 +158,22 @@ const StyledIcon = styled__default.default.div.attrs({
168
158
  const COMPONENT_ID$e = 'accordions.step_label';
169
159
  const StyledLabel = styled__default.default.div.attrs({
170
160
  'data-garden-id': COMPONENT_ID$e,
171
- 'data-garden-version': '9.12.3'
161
+ 'data-garden-version': '9.12.4'
172
162
  }).withConfig({
173
163
  displayName: "StyledLabel",
174
164
  componentId: "sc-1o82llj-0"
175
- })(["display:", ";align-items:", ";transition:color 0.25s ease-in-out,font-weight 0.25s ease-in-out;text-align:", ";line-height:", ";color:", ";font-size:", ";font-weight:", ";", ";"], props => !props.$isHorizontal && 'flex', props => !props.$isHorizontal && 'center', props => props.$isHorizontal && 'center', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), _ref => {
176
- let {
177
- $isActive,
178
- theme
179
- } = _ref;
180
- return reactTheming.getColor({
181
- theme,
182
- variable: $isActive ? 'foreground.default' : 'foreground.subtle'
183
- });
184
- }, props => props.theme.fontSizes.md, props => props.$isActive && 600, reactTheming.componentStyles);
165
+ })(["display:", ";align-items:", ";transition:color 0.25s ease-in-out,font-weight 0.25s ease-in-out;text-align:", ";line-height:", ";color:", ";font-size:", ";font-weight:", ";", ";"], props => !props.$isHorizontal && 'flex', props => !props.$isHorizontal && 'center', props => props.$isHorizontal && 'center', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), ({
166
+ $isActive,
167
+ theme
168
+ }) => reactTheming.getColor({
169
+ theme,
170
+ variable: $isActive ? 'foreground.default' : 'foreground.subtle'
171
+ }), props => props.theme.fontSizes.md, props => props.$isActive && 600, reactTheming.componentStyles);
185
172
 
186
173
  const COMPONENT_ID$d = 'accordions.step_label_text';
187
174
  const StyledLabelText = styled__default.default.div.attrs({
188
175
  'data-garden-id': COMPONENT_ID$d,
189
- 'data-garden-version': '9.12.3'
176
+ 'data-garden-version': '9.12.4'
190
177
  }).withConfig({
191
178
  displayName: "StyledLabelText",
192
179
  componentId: "sc-111m5zo-0"
@@ -195,18 +182,17 @@ const StyledLabelText = styled__default.default.div.attrs({
195
182
  const COMPONENT_ID$c = 'accordions.accordion';
196
183
  const StyledAccordion = styled__default.default.div.attrs({
197
184
  'data-garden-id': COMPONENT_ID$c,
198
- 'data-garden-version': '9.12.3'
185
+ 'data-garden-version': '9.12.4'
199
186
  }).withConfig({
200
187
  displayName: "StyledAccordion",
201
188
  componentId: "sc-niv9ic-0"
202
189
  })(["", ";"], reactTheming.componentStyles);
203
190
 
204
191
  const COMPONENT_ID$b = 'accordions.panel';
205
- const colorStyles$3 = _ref => {
206
- let {
207
- theme,
208
- $isBare
209
- } = _ref;
192
+ const colorStyles$3 = ({
193
+ theme,
194
+ $isBare
195
+ }) => {
210
196
  return styled.css(["border-bottom-color:", ";"], $isBare ? 'transparent' : reactTheming.getColor({
211
197
  theme,
212
198
  variable: 'border.default'
@@ -237,7 +223,7 @@ const sizeStyles = props => {
237
223
  };
238
224
  const StyledPanel = styled__default.default.section.attrs(props => ({
239
225
  'data-garden-id': COMPONENT_ID$b,
240
- 'data-garden-version': '9.12.3',
226
+ 'data-garden-version': '9.12.4',
241
227
  $isAnimated: props.$isAnimated ?? true
242
228
  })).withConfig({
243
229
  displayName: "StyledPanel",
@@ -247,20 +233,19 @@ const StyledPanel = styled__default.default.section.attrs(props => ({
247
233
  const COMPONENT_ID$a = 'accordions.section';
248
234
  const StyledSection = styled__default.default.div.attrs({
249
235
  'data-garden-id': COMPONENT_ID$a,
250
- 'data-garden-version': '9.12.3'
236
+ 'data-garden-version': '9.12.4'
251
237
  }).withConfig({
252
238
  displayName: "StyledSection",
253
239
  componentId: "sc-v2t9bd-0"
254
240
  })(["&:last-child ", "{border:none;}", ";"], StyledPanel, reactTheming.componentStyles);
255
241
 
256
242
  const COMPONENT_ID$9 = 'accordions.button';
257
- const colorStyles$2 = _ref => {
258
- let {
259
- $isCollapsible,
260
- $isExpanded,
261
- $isHovered,
262
- theme
263
- } = _ref;
243
+ const colorStyles$2 = ({
244
+ $isCollapsible,
245
+ $isExpanded,
246
+ $isHovered,
247
+ theme
248
+ }) => {
264
249
  const showColor = $isCollapsible || !$isExpanded;
265
250
  const color = reactTheming.getColor({
266
251
  theme,
@@ -270,7 +255,7 @@ const colorStyles$2 = _ref => {
270
255
  };
271
256
  const StyledButton = styled__default.default.button.attrs({
272
257
  'data-garden-id': COMPONENT_ID$9,
273
- 'data-garden-version': '9.12.3'
258
+ 'data-garden-version': '9.12.4'
274
259
  }).withConfig({
275
260
  displayName: "StyledButton",
276
261
  componentId: "sc-xj3hy7-0"
@@ -279,7 +264,7 @@ const StyledButton = styled__default.default.button.attrs({
279
264
  const COMPONENT_ID$8 = 'accordions.header';
280
265
  const StyledHeader = styled__default.default.div.attrs({
281
266
  'data-garden-id': COMPONENT_ID$8,
282
- 'data-garden-version': '9.12.3'
267
+ 'data-garden-version': '9.12.4'
283
268
  }).withConfig({
284
269
  displayName: "StyledHeader",
285
270
  componentId: "sc-2c6rbr-0"
@@ -292,20 +277,19 @@ const StyledHeader = styled__default.default.div.attrs({
292
277
  const COMPONENT_ID$7 = 'accordions.step_inner_panel';
293
278
  const StyledInnerPanel = styled__default.default.div.attrs({
294
279
  'data-garden-id': COMPONENT_ID$7,
295
- 'data-garden-version': '9.12.3'
280
+ 'data-garden-version': '9.12.4'
296
281
  }).withConfig({
297
282
  displayName: "StyledInnerPanel",
298
283
  componentId: "sc-8nbueg-0"
299
284
  })(["overflow:hidden;line-height:inherit;font-size:inherit;", "[aria-hidden='true'] > &{transition:", ";visibility:hidden;}", "[aria-hidden='false'] > &{visibility:visible;}", ";"], StyledPanel, props => props.$isAnimated && 'visibility 0s 0.25s', StyledPanel, reactTheming.componentStyles);
300
285
 
301
286
  const COMPONENT_ID$6 = 'accordions.rotate_icon';
302
- const colorStyles$1 = _ref => {
303
- let {
304
- $isCollapsible,
305
- $isHovered,
306
- $isRotated,
307
- theme
308
- } = _ref;
287
+ const colorStyles$1 = ({
288
+ $isCollapsible,
289
+ $isHovered,
290
+ $isRotated,
291
+ theme
292
+ }) => {
309
293
  const showColor = $isCollapsible || !$isRotated;
310
294
  const color = reactTheming.getColor({
311
295
  theme,
@@ -315,7 +299,7 @@ const colorStyles$1 = _ref => {
315
299
  };
316
300
  const StyledRotateIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
317
301
  'data-garden-id': COMPONENT_ID$6,
318
- 'data-garden-version': '9.12.3'
302
+ 'data-garden-version': '9.12.4'
319
303
  }).withConfig({
320
304
  displayName: "StyledRotateIcon",
321
305
  componentId: "sc-hp435q-0"
@@ -324,7 +308,7 @@ const StyledRotateIcon = styled__default.default(reactTheming.StyledBaseIcon).at
324
308
  const COMPONENT_ID$5 = 'timeline';
325
309
  const StyledTimeline = styled__default.default.ol.attrs({
326
310
  'data-garden-id': COMPONENT_ID$5,
327
- 'data-garden-version': '9.12.3'
311
+ 'data-garden-version': '9.12.4'
328
312
  }).withConfig({
329
313
  displayName: "StyledTimeline",
330
314
  componentId: "sc-pig5kv-0"
@@ -333,24 +317,21 @@ const StyledTimeline = styled__default.default.ol.attrs({
333
317
  const COMPONENT_ID$4 = 'timeline.content.separator';
334
318
  const StyledSeparator = styled__default.default.div.attrs({
335
319
  'data-garden-id': COMPONENT_ID$4,
336
- 'data-garden-version': '9.12.3'
320
+ 'data-garden-version': '9.12.4'
337
321
  }).withConfig({
338
322
  displayName: "StyledSeparator",
339
323
  componentId: "sc-fki51e-0"
340
- })(["display:flex;position:relative;justify-content:center;padding:", ";&::after{position:absolute;border-left:", ";height:100%;content:'';}", ";"], props => `${props.theme.space.base * 5}px ${props.theme.space.base}px`, _ref => {
341
- let {
342
- theme
343
- } = _ref;
344
- return `${theme.borders.sm} ${reactTheming.getColor({
345
- theme,
346
- variable: 'border.emphasis'
347
- })}`;
348
- }, reactTheming.componentStyles);
324
+ })(["display:flex;position:relative;justify-content:center;padding:", ";&::after{position:absolute;border-left:", ";height:100%;content:'';}", ";"], props => `${props.theme.space.base * 5}px ${props.theme.space.base}px`, ({
325
+ theme
326
+ }) => `${theme.borders.sm} ${reactTheming.getColor({
327
+ theme,
328
+ variable: 'border.emphasis'
329
+ })}`, reactTheming.componentStyles);
349
330
 
350
331
  const COMPONENT_ID$3 = 'timeline.content';
351
332
  const StyledTimelineContent = styled__default.default.div.attrs({
352
333
  'data-garden-id': COMPONENT_ID$3,
353
- 'data-garden-version': '9.12.3'
334
+ 'data-garden-version': '9.12.4'
354
335
  }).withConfig({
355
336
  displayName: "StyledContent__StyledTimelineContent",
356
337
  componentId: "sc-19phgu1-0"
@@ -359,7 +340,7 @@ const StyledTimelineContent = styled__default.default.div.attrs({
359
340
  const COMPONENT_ID$2 = 'timeline.opposite.content';
360
341
  const StyledOppositeContent = styled__default.default.div.attrs({
361
342
  'data-garden-id': COMPONENT_ID$2,
362
- 'data-garden-version': '9.12.3'
343
+ 'data-garden-version': '9.12.4'
363
344
  }).withConfig({
364
345
  displayName: "StyledOppositeContent",
365
346
  componentId: "sc-jurh2k-0"
@@ -368,26 +349,22 @@ const StyledOppositeContent = styled__default.default.div.attrs({
368
349
  const COMPONENT_ID$1 = 'timeline.item';
369
350
  const StyledTimelineItem = styled__default.default.li.attrs({
370
351
  'data-garden-id': COMPONENT_ID$1,
371
- 'data-garden-version': '9.12.3'
352
+ 'data-garden-version': '9.12.4'
372
353
  }).withConfig({
373
354
  displayName: "StyledItem__StyledTimelineItem",
374
355
  componentId: "sc-5mcnzm-0"
375
- })(["display:flex;position:relative;line-height:", ";color:", ";font-size:", ";&:last-of-type ", "::after{display:none;}", " ", " ", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), _ref => {
376
- let {
377
- theme
378
- } = _ref;
379
- return reactTheming.getColor({
380
- theme,
381
- variable: 'foreground.default'
382
- });
383
- }, props => props.theme.fontSizes.md, StyledSeparator, props => !props.$hasOppositeContent && props.$isAlternate && styled.css(["&::before{flex:1;padding:", "px;content:'';}"], props.theme.space.base * 4), props => props.$isAlternate && styled.css(["&:nth-child(even){flex-direction:row-reverse;", "{text-align:", ";}", "{text-align:", ";}}"], StyledOppositeContent, props.theme.rtl ? 'right' : 'left', StyledTimelineContent, props.theme.rtl ? 'left' : 'right'), reactTheming.componentStyles);
356
+ })(["display:flex;position:relative;line-height:", ";color:", ";font-size:", ";&:last-of-type ", "::after{display:none;}", " ", " ", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), ({
357
+ theme
358
+ }) => reactTheming.getColor({
359
+ theme,
360
+ variable: 'foreground.default'
361
+ }), props => props.theme.fontSizes.md, StyledSeparator, props => !props.$hasOppositeContent && props.$isAlternate && styled.css(["&::before{flex:1;padding:", "px;content:'';}"], props.theme.space.base * 4), props => props.$isAlternate && styled.css(["&:nth-child(even){flex-direction:row-reverse;", "{text-align:", ";}", "{text-align:", ";}}"], StyledOppositeContent, props.theme.rtl ? 'right' : 'left', StyledTimelineContent, props.theme.rtl ? 'left' : 'right'), reactTheming.componentStyles);
384
362
 
385
363
  const COMPONENT_ID = 'timeline.icon';
386
- const colorStyles = _ref => {
387
- let {
388
- $surfaceColor,
389
- theme
390
- } = _ref;
364
+ const colorStyles = ({
365
+ $surfaceColor,
366
+ theme
367
+ }) => {
391
368
  const foregroundColor = reactTheming.getColor({
392
369
  theme,
393
370
  variable: 'border.emphasis'
@@ -408,7 +385,7 @@ const colorStyles = _ref => {
408
385
  };
409
386
  const StyledItemIcon = styled__default.default(reactTheming.StyledBaseIcon).attrs({
410
387
  'data-garden-id': COMPONENT_ID,
411
- 'data-garden-version': '9.12.3'
388
+ 'data-garden-version': '9.12.4'
412
389
  }).withConfig({
413
390
  displayName: "StyledItemIcon",
414
391
  componentId: "sc-vz2l6e-0"
@@ -579,12 +556,11 @@ const LabelComponent$1 = React.forwardRef((props, ref) => {
579
556
  LabelComponent$1.displayName = 'Accordion.Label';
580
557
  const Label$1 = LabelComponent$1;
581
558
 
582
- const PanelComponent = React.forwardRef((_ref, ref) => {
583
- let {
584
- role,
585
- children,
586
- ...props
587
- } = _ref;
559
+ const PanelComponent = React.forwardRef(({
560
+ role,
561
+ children,
562
+ ...props
563
+ }, ref) => {
588
564
  const {
589
565
  isAnimated,
590
566
  isBare,
@@ -612,20 +588,19 @@ const PanelComponent = React.forwardRef((_ref, ref) => {
612
588
  PanelComponent.displayName = 'Accordion.Panel';
613
589
  const Panel = PanelComponent;
614
590
 
615
- const AccordionComponent = React.forwardRef((_ref, ref) => {
616
- let {
617
- children,
618
- isBare,
619
- isCompact,
620
- isAnimated = true,
621
- isExpandable,
622
- isCollapsible = true,
623
- level,
624
- onChange,
625
- defaultExpandedSections,
626
- expandedSections: controlledExpandedSections,
627
- ...props
628
- } = _ref;
591
+ const AccordionComponent = React.forwardRef(({
592
+ children,
593
+ isBare,
594
+ isCompact,
595
+ isAnimated = true,
596
+ isExpandable,
597
+ isCollapsible = true,
598
+ level,
599
+ onChange,
600
+ defaultExpandedSections,
601
+ expandedSections: controlledExpandedSections,
602
+ ...props
603
+ }, ref) => {
629
604
  const {
630
605
  sections,
631
606
  sectionChildren
@@ -678,11 +653,10 @@ Accordion.Label = Label$1;
678
653
  Accordion.Panel = Panel;
679
654
  Accordion.Section = Section;
680
655
 
681
- const StepComponent = React.forwardRef((_ref, ref) => {
682
- let {
683
- children,
684
- ...props
685
- } = _ref;
656
+ const StepComponent = React.forwardRef(({
657
+ children,
658
+ ...props
659
+ }, ref) => {
686
660
  const {
687
661
  isHorizontal
688
662
  } = useStepperContext();
@@ -714,14 +688,13 @@ var SvgCheckSmStroke = function SvgCheckSmStroke(props) {
714
688
  })));
715
689
  };
716
690
 
717
- const LabelComponent = React.forwardRef((_ref, ref) => {
718
- let {
719
- icon,
720
- iconProps,
721
- isHidden,
722
- children,
723
- ...other
724
- } = _ref;
691
+ const LabelComponent = React.forwardRef(({
692
+ icon,
693
+ iconProps,
694
+ isHidden,
695
+ children,
696
+ ...other
697
+ }, ref) => {
725
698
  const {
726
699
  currentStepIndex,
727
700
  isActive,
@@ -768,13 +741,12 @@ ContentComponent$1.displayName = 'Stepper.Content';
768
741
  const Content$1 = ContentComponent$1;
769
742
 
770
743
  const DEFAULT_ACTIVE_INDEX = 0;
771
- const StepperComponent = React.forwardRef((_ref, ref) => {
772
- let {
773
- activeIndex = DEFAULT_ACTIVE_INDEX,
774
- isHorizontal,
775
- children,
776
- ...props
777
- } = _ref;
744
+ const StepperComponent = React.forwardRef(({
745
+ activeIndex = DEFAULT_ACTIVE_INDEX,
746
+ isHorizontal,
747
+ children,
748
+ ...props
749
+ }, ref) => {
778
750
  const stepperContext = React.useMemo(() => ({
779
751
  activeIndex,
780
752
  isHorizontal: isHorizontal || false
@@ -807,12 +779,11 @@ const OppositeContentComponent = React.forwardRef((props, ref) => React__namespa
807
779
  OppositeContentComponent.displayName = 'Timeline.OppositeContent';
808
780
  const OppositeContent = OppositeContentComponent;
809
781
 
810
- const ItemComponent = React.forwardRef((_ref, ref) => {
811
- let {
812
- icon,
813
- surfaceColor,
814
- ...props
815
- } = _ref;
782
+ const ItemComponent = React.forwardRef(({
783
+ icon,
784
+ surfaceColor,
785
+ ...props
786
+ }, ref) => {
816
787
  const value = React.useMemo(() => ({
817
788
  icon,
818
789
  surfaceColor
@@ -872,11 +843,10 @@ const ContentComponent = React.forwardRef((props, ref) => {
872
843
  ContentComponent.displayName = 'Timeline.Content';
873
844
  const Content = ContentComponent;
874
845
 
875
- const TimelineComponent = React.forwardRef((_ref, ref) => {
876
- let {
877
- isAlternate,
878
- ...props
879
- } = _ref;
846
+ const TimelineComponent = React.forwardRef(({
847
+ isAlternate,
848
+ ...props
849
+ }, ref) => {
880
850
  const value = React.useMemo(() => ({
881
851
  isAlternate
882
852
  }), [isAlternate]);