@zendeskgarden/react-chrome 9.0.0-next.4 → 9.0.0-next.6
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.
- package/dist/index.cjs.js +90 -81
- package/dist/index.esm.js +91 -82
- package/dist/typings/elements/body/Body.d.ts +1 -2
- package/dist/typings/elements/footer/FooterItem.d.ts +2 -0
- package/dist/typings/elements/header/HeaderItem.d.ts +2 -0
- package/dist/typings/elements/header/HeaderItemIcon.d.ts +5 -3
- package/dist/typings/elements/header/HeaderItemText.d.ts +2 -0
- package/dist/typings/elements/header/HeaderItemWrapper.d.ts +2 -0
- package/dist/typings/elements/nav/NavItem.d.ts +2 -0
- package/dist/typings/elements/nav/NavItemIcon.d.ts +5 -3
- package/dist/typings/elements/nav/NavItemText.d.ts +2 -0
- package/dist/typings/elements/subnav/CollapsibleSubNavItem.d.ts +2 -0
- package/dist/typings/elements/subnav/SubNavItem.d.ts +2 -0
- package/dist/typings/elements/subnav/SubNavItemText.d.ts +2 -0
- package/dist/typings/index.d.ts +1 -12
- package/dist/typings/types/index.d.ts +0 -4
- package/dist/typings/utils/useBodyContext.d.ts +3 -2
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -64,7 +64,7 @@ const PRODUCTS = ['chat', 'connect', 'explore', 'guide', 'message', 'support', '
|
|
|
64
64
|
const COMPONENT_ID$A = 'chrome.chrome';
|
|
65
65
|
const StyledChrome = styled__default.default.div.attrs({
|
|
66
66
|
'data-garden-id': COMPONENT_ID$A,
|
|
67
|
-
'data-garden-version': '9.0.0-next.
|
|
67
|
+
'data-garden-version': '9.0.0-next.6'
|
|
68
68
|
}).withConfig({
|
|
69
69
|
displayName: "StyledChrome",
|
|
70
70
|
componentId: "sc-1uqm6u6-0"
|
|
@@ -76,7 +76,7 @@ StyledChrome.defaultProps = {
|
|
|
76
76
|
const COMPONENT_ID$z = 'chrome.header_item_icon';
|
|
77
77
|
const StyledHeaderItemIcon = styled__default.default.div.attrs({
|
|
78
78
|
'data-garden-id': COMPONENT_ID$z,
|
|
79
|
-
'data-garden-version': '9.0.0-next.
|
|
79
|
+
'data-garden-version': '9.0.0-next.6'
|
|
80
80
|
}).withConfig({
|
|
81
81
|
displayName: "StyledHeaderItemIcon",
|
|
82
82
|
componentId: "sc-1jhhp6z-0"
|
|
@@ -93,7 +93,7 @@ const sizeStyles$4 = props => {
|
|
|
93
93
|
};
|
|
94
94
|
const StyledBaseHeaderItem = styled__default.default.button.attrs({
|
|
95
95
|
'data-garden-id': COMPONENT_ID$y,
|
|
96
|
-
'data-garden-version': '9.0.0-next.
|
|
96
|
+
'data-garden-version': '9.0.0-next.6'
|
|
97
97
|
}).withConfig({
|
|
98
98
|
displayName: "StyledBaseHeaderItem",
|
|
99
99
|
componentId: "sc-1qua7h6-0"
|
|
@@ -114,7 +114,7 @@ const COMPONENT_ID$x = 'chrome.header_item_text';
|
|
|
114
114
|
const clippedStyling = styled.css(["position:absolute;margin:0;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;white-space:nowrap;"]);
|
|
115
115
|
const StyledHeaderItemText = styled__default.default.span.attrs({
|
|
116
116
|
'data-garden-id': COMPONENT_ID$x,
|
|
117
|
-
'data-garden-version': '9.0.0-next.
|
|
117
|
+
'data-garden-version': '9.0.0-next.6'
|
|
118
118
|
}).withConfig({
|
|
119
119
|
displayName: "StyledHeaderItemText",
|
|
120
120
|
componentId: "sc-goz7la-0"
|
|
@@ -126,7 +126,7 @@ StyledHeaderItemText.defaultProps = {
|
|
|
126
126
|
const COMPONENT_ID$w = 'chrome.nav';
|
|
127
127
|
const colorStyles$6 = props => {
|
|
128
128
|
const shade = props.isDark || props.isLight ? 600 : 700;
|
|
129
|
-
const backgroundColor = reactTheming.
|
|
129
|
+
const backgroundColor = reactTheming.getColorV8(props.hue, shade, props.theme);
|
|
130
130
|
const foregroundColor = props.isLight ? props.theme.palette.black : props.theme.palette.white;
|
|
131
131
|
return styled.css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
132
132
|
};
|
|
@@ -138,7 +138,7 @@ const getExpandedNavWidth = () => {
|
|
|
138
138
|
};
|
|
139
139
|
const StyledNav = styled__default.default.nav.attrs({
|
|
140
140
|
'data-garden-id': COMPONENT_ID$w,
|
|
141
|
-
'data-garden-version': '9.0.0-next.
|
|
141
|
+
'data-garden-version': '9.0.0-next.6'
|
|
142
142
|
}).withConfig({
|
|
143
143
|
displayName: "StyledNav",
|
|
144
144
|
componentId: "sc-6j462r-0"
|
|
@@ -170,12 +170,12 @@ const retrieveProductColor$1 = props => {
|
|
|
170
170
|
};
|
|
171
171
|
const StyledLogoHeaderItem = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
172
172
|
'data-garden-id': COMPONENT_ID$v,
|
|
173
|
-
'data-garden-version': '9.0.0-next.
|
|
173
|
+
'data-garden-version': '9.0.0-next.6',
|
|
174
174
|
as: 'div'
|
|
175
175
|
}).withConfig({
|
|
176
176
|
displayName: "StyledLogoHeaderItem",
|
|
177
177
|
componentId: "sc-1n1d1yv-0"
|
|
178
|
-
})(["display:none;order:0;margin-right:", ";margin-left:", ";border-", ":", ";border-radius:0;padding:0;width:", ";height:100%;overflow:hidden;fill:", ";text-decoration:none;color:", ";", "{", "}", "{margin:0;width:", ";height:", ";}", ";"], props => props.theme.rtl ? `-${props.theme.space.base}px` : 'auto', props => props.theme.rtl ? 'auto' : `-${props.theme.space.base}px`, props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.borders.sm} ${reactTheming.
|
|
178
|
+
})(["display:none;order:0;margin-right:", ";margin-left:", ";border-", ":", ";border-radius:0;padding:0;width:", ";height:100%;overflow:hidden;fill:", ";text-decoration:none;color:", ";", "{", "}", "{margin:0;width:", ";height:", ";}", ";"], props => props.theme.rtl ? `-${props.theme.space.base}px` : 'auto', props => props.theme.rtl ? 'auto' : `-${props.theme.space.base}px`, props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}`, props => getNavWidth(props), props => reactTheming.getColorV8('chromeHue', 700, props.theme), props => retrieveProductColor$1(props), StyledHeaderItemText, clippedStyling, StyledHeaderItemIcon, props => props.theme.iconSizes.lg, props => props.theme.iconSizes.lg, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$v, props));
|
|
179
179
|
StyledLogoHeaderItem.defaultProps = {
|
|
180
180
|
theme: reactTheming.DEFAULT_THEME
|
|
181
181
|
};
|
|
@@ -191,7 +191,7 @@ const sizeStyles$3 = props => {
|
|
|
191
191
|
};
|
|
192
192
|
const StyledBaseNavItem = styled__default.default.button.attrs({
|
|
193
193
|
'data-garden-id': COMPONENT_ID$u,
|
|
194
|
-
'data-garden-version': '9.0.0-next.
|
|
194
|
+
'data-garden-version': '9.0.0-next.6'
|
|
195
195
|
}).withConfig({
|
|
196
196
|
displayName: "StyledBaseNavItem",
|
|
197
197
|
componentId: "sc-zvo43f-0"
|
|
@@ -206,11 +206,11 @@ const getHeaderHeight = props => {
|
|
|
206
206
|
};
|
|
207
207
|
const StyledHeader = styled__default.default.header.attrs({
|
|
208
208
|
'data-garden-id': COMPONENT_ID$t,
|
|
209
|
-
'data-garden-version': '9.0.0-next.
|
|
209
|
+
'data-garden-version': '9.0.0-next.6'
|
|
210
210
|
}).withConfig({
|
|
211
211
|
displayName: "StyledHeader",
|
|
212
212
|
componentId: "sc-1cexpz-0"
|
|
213
|
-
})(["display:flex;position:", ";align-items:center;justify-content:flex-end;box-sizing:border-box;border-bottom:", ";box-shadow:", ";background-color:", ";padding:0 ", "px;height:", ";color:", ";font-size:", ";", " ", ";"], props => props.isStandalone && 'relative', props => `${props.theme.borders.sm} ${reactTheming.
|
|
213
|
+
})(["display:flex;position:", ";align-items:center;justify-content:flex-end;box-sizing:border-box;border-bottom:", ";box-shadow:", ";background-color:", ";padding:0 ", "px;height:", ";color:", ";font-size:", ";", " ", ";"], props => props.isStandalone && 'relative', props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}`, props => props.isStandalone && props.theme.shadows.lg('0', '10px', reactTheming.getColorV8('chromeHue', 600, props.theme, 0.15)), props => reactTheming.getColorV8('background', 600 , props.theme), props => props.theme.space.base, getHeaderHeight, props => reactTheming.getColorV8('neutralHue', 600, props.theme), props => props.theme.fontSizes.md, props => props.isStandalone && `
|
|
214
214
|
${StyledLogoHeaderItem} {
|
|
215
215
|
display: inline-flex;
|
|
216
216
|
}
|
|
@@ -225,10 +225,10 @@ const animationStyles = () => {
|
|
|
225
225
|
return styled.css(["transition:opacity 0.2s ease-out,clip 0s linear 0.2s;opacity:0;clip:rect(0,0,0,0);&:focus{transition:opacity 0.2s ease-in-out;animation:0.2s cubic-bezier(0.15,0.85,0.35,1.2) ", ";opacity:1;clip:rect(0,150vw,100vh,-50vw);}"], animationName);
|
|
226
226
|
};
|
|
227
227
|
const colorStyles$5 = theme => {
|
|
228
|
-
const color = reactTheming.
|
|
229
|
-
const borderColor = reactTheming.
|
|
230
|
-
const boxShadow = theme.shadows.lg(`${theme.space.base * 5}px`, `${theme.space.base * 7}px`, reactTheming.
|
|
231
|
-
return styled.css(["border-color:", ";box-shadow:", ";background-color:", ";color:", ";&:hover,&:focus{color:", ";}", ""], borderColor, boxShadow,
|
|
228
|
+
const color = reactTheming.getColorV8('primaryHue', 600, theme);
|
|
229
|
+
const borderColor = reactTheming.getColorV8('neutralHue', 300, theme);
|
|
230
|
+
const boxShadow = theme.shadows.lg(`${theme.space.base * 5}px`, `${theme.space.base * 7}px`, reactTheming.getColorV8('chromeHue', 600, theme, 0.15));
|
|
231
|
+
return styled.css(["border-color:", ";box-shadow:", ";background-color:", ";color:", ";&:hover,&:focus{color:", ";}", ""], borderColor, boxShadow, reactTheming.getColorV8('background', 600 , theme), color, color, reactTheming.focusStyles({
|
|
232
232
|
theme,
|
|
233
233
|
inset: true,
|
|
234
234
|
boxShadow
|
|
@@ -244,7 +244,7 @@ const sizeStyles$2 = props => {
|
|
|
244
244
|
};
|
|
245
245
|
const StyledSkipNav = styled__default.default.a.attrs({
|
|
246
246
|
'data-garden-id': COMPONENT_ID$s,
|
|
247
|
-
'data-garden-version': '9.0.0-next.
|
|
247
|
+
'data-garden-version': '9.0.0-next.6'
|
|
248
248
|
}).withConfig({
|
|
249
249
|
displayName: "StyledSkipNav",
|
|
250
250
|
componentId: "sc-1tsro34-0"
|
|
@@ -277,11 +277,11 @@ const sizeStyles$1 = theme => {
|
|
|
277
277
|
};
|
|
278
278
|
const StyledSkipNavIcon = styled__default.default(SvgLinkStroke).attrs({
|
|
279
279
|
'data-garden-id': COMPONENT_ID$r,
|
|
280
|
-
'data-garden-version': '9.0.0-next.
|
|
280
|
+
'data-garden-version': '9.0.0-next.6'
|
|
281
281
|
}).withConfig({
|
|
282
282
|
displayName: "StyledSkipNavIcon",
|
|
283
283
|
componentId: "sc-1ika5z4-0"
|
|
284
|
-
})(["transform:", ";color:", ";", ";", ";"], props => props.theme.rtl && 'scaleX(-1)', props => reactTheming.
|
|
284
|
+
})(["transform:", ";color:", ";", ";", ";"], props => props.theme.rtl && 'scaleX(-1)', props => reactTheming.getColorV8('neutralHue', 600, props.theme), props => sizeStyles$1(props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$r, props));
|
|
285
285
|
StyledSkipNavIcon.defaultProps = {
|
|
286
286
|
theme: reactTheming.DEFAULT_THEME
|
|
287
287
|
};
|
|
@@ -289,11 +289,11 @@ StyledSkipNavIcon.defaultProps = {
|
|
|
289
289
|
const COMPONENT_ID$q = 'chrome.body';
|
|
290
290
|
const StyledBody = styled__default.default.div.attrs({
|
|
291
291
|
'data-garden-id': COMPONENT_ID$q,
|
|
292
|
-
'data-garden-version': '9.0.0-next.
|
|
292
|
+
'data-garden-version': '9.0.0-next.6'
|
|
293
293
|
}).withConfig({
|
|
294
294
|
displayName: "StyledBody",
|
|
295
295
|
componentId: "sc-c7h9kv-0"
|
|
296
|
-
})(["flex:1;order:1;background-color:", ";min-width:0;", ";"], props => reactTheming.
|
|
296
|
+
})(["flex:1;order:1;background-color:", ";min-width:0;", ";"], props => reactTheming.getColorV8('neutralHue', 100, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$q, props));
|
|
297
297
|
StyledBody.defaultProps = {
|
|
298
298
|
theme: reactTheming.DEFAULT_THEME
|
|
299
299
|
};
|
|
@@ -304,11 +304,11 @@ const getFooterHeight = props => {
|
|
|
304
304
|
};
|
|
305
305
|
const StyledFooter = styled__default.default.footer.attrs({
|
|
306
306
|
'data-garden-id': COMPONENT_ID$p,
|
|
307
|
-
'data-garden-version': '9.0.0-next.
|
|
307
|
+
'data-garden-version': '9.0.0-next.6'
|
|
308
308
|
}).withConfig({
|
|
309
309
|
displayName: "StyledFooter",
|
|
310
310
|
componentId: "sc-v7lib2-0"
|
|
311
|
-
})(["display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;border-top:", ";background-color:", ";padding:0 ", "px;height:", ";", ";"], props => `${props.theme.borders.sm} ${reactTheming.
|
|
311
|
+
})(["display:flex;align-items:center;justify-content:flex-end;box-sizing:border-box;border-top:", ";background-color:", ";padding:0 ", "px;height:", ";", ";"], props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}`, props => reactTheming.getColorV8('background', 600 , props.theme), props => props.theme.space.base * 9, getFooterHeight, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$p, props));
|
|
312
312
|
StyledFooter.defaultProps = {
|
|
313
313
|
theme: reactTheming.DEFAULT_THEME
|
|
314
314
|
};
|
|
@@ -316,11 +316,11 @@ StyledFooter.defaultProps = {
|
|
|
316
316
|
const COMPONENT_ID$o = 'chrome.content';
|
|
317
317
|
const StyledContent = styled__default.default.div.attrs({
|
|
318
318
|
'data-garden-id': COMPONENT_ID$o,
|
|
319
|
-
'data-garden-version': '9.0.0-next.
|
|
319
|
+
'data-garden-version': '9.0.0-next.6'
|
|
320
320
|
}).withConfig({
|
|
321
321
|
displayName: "StyledContent",
|
|
322
322
|
componentId: "sc-qcuzxn-0"
|
|
323
|
-
})(["display:flex;height:", ";line-height:", ";color:", ";font-size:", ";&:focus{outline:none;}", ";"], props => props.hasFooter ? `calc(100% - ${polished.math(`${getHeaderHeight(props)} + ${getFooterHeight(props)}`)})` : `calc(100% - ${getHeaderHeight(props)})`, props => reactTheming.getLineHeight(props.theme.lineHeights.md, props.theme.fontSizes.md), props => props.theme
|
|
323
|
+
})(["display:flex;height:", ";line-height:", ";color:", ";font-size:", ";&:focus{outline:none;}", ";"], props => props.hasFooter ? `calc(100% - ${polished.math(`${getHeaderHeight(props)} + ${getFooterHeight(props)}`)})` : `calc(100% - ${getHeaderHeight(props)})`, props => reactTheming.getLineHeight(props.theme.lineHeights.md, props.theme.fontSizes.md), props => reactTheming.getColorV8('foreground', 600 , props.theme), props => props.theme.fontSizes.md, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$o, props));
|
|
324
324
|
StyledContent.defaultProps = {
|
|
325
325
|
theme: reactTheming.DEFAULT_THEME
|
|
326
326
|
};
|
|
@@ -328,11 +328,11 @@ StyledContent.defaultProps = {
|
|
|
328
328
|
const COMPONENT_ID$n = 'chrome.main';
|
|
329
329
|
const StyledMain = styled__default.default.main.attrs({
|
|
330
330
|
'data-garden-id': COMPONENT_ID$n,
|
|
331
|
-
'data-garden-version': '9.0.0-next.
|
|
331
|
+
'data-garden-version': '9.0.0-next.6'
|
|
332
332
|
}).withConfig({
|
|
333
333
|
displayName: "StyledMain",
|
|
334
334
|
componentId: "sc-t61cre-0"
|
|
335
|
-
})(["flex:1;order:1;background-color:", ";overflow:auto;:focus{outline:none;}", ";"], props => props.theme
|
|
335
|
+
})(["flex:1;order:1;background-color:", ";overflow:auto;:focus{outline:none;}", ";"], props => reactTheming.getColorV8('background', 600 , props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$n, props));
|
|
336
336
|
StyledMain.defaultProps = {
|
|
337
337
|
theme: reactTheming.DEFAULT_THEME
|
|
338
338
|
};
|
|
@@ -340,11 +340,11 @@ StyledMain.defaultProps = {
|
|
|
340
340
|
const COMPONENT_ID$m = 'chrome.sidebar';
|
|
341
341
|
const StyledSidebar = styled__default.default.aside.attrs({
|
|
342
342
|
'data-garden-id': COMPONENT_ID$m,
|
|
343
|
-
'data-garden-version': '9.0.0-next.
|
|
343
|
+
'data-garden-version': '9.0.0-next.6'
|
|
344
344
|
}).withConfig({
|
|
345
345
|
displayName: "StyledSidebar",
|
|
346
346
|
componentId: "sc-1q77fuw-0"
|
|
347
|
-
})(["flex-shrink:0;order:0;box-sizing:border-box;border-", ":", ";width:330px;overflow:auto;&:focus{outline:none;}", ";"], props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.borders.sm} ${reactTheming.
|
|
347
|
+
})(["flex-shrink:0;order:0;box-sizing:border-box;border-", ":", ";width:330px;overflow:auto;&:focus{outline:none;}", ";"], props => props.theme.rtl ? 'left' : 'right', props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}`, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$m, props));
|
|
348
348
|
StyledSidebar.defaultProps = {
|
|
349
349
|
theme: reactTheming.DEFAULT_THEME
|
|
350
350
|
};
|
|
@@ -352,7 +352,7 @@ StyledSidebar.defaultProps = {
|
|
|
352
352
|
const COMPONENT_ID$l = 'chrome.footer_item';
|
|
353
353
|
const StyledFooterItem = styled__default.default.div.attrs({
|
|
354
354
|
'data-garden-id': COMPONENT_ID$l,
|
|
355
|
-
'data-garden-version': '9.0.0-next.
|
|
355
|
+
'data-garden-version': '9.0.0-next.6'
|
|
356
356
|
}).withConfig({
|
|
357
357
|
displayName: "StyledFooterItem",
|
|
358
358
|
componentId: "sc-1cktm85-0"
|
|
@@ -368,14 +368,14 @@ const imgStyles = props => {
|
|
|
368
368
|
};
|
|
369
369
|
const StyledHeaderItem = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
370
370
|
'data-garden-id': COMPONENT_ID$k,
|
|
371
|
-
'data-garden-version': '9.0.0-next.
|
|
371
|
+
'data-garden-version': '9.0.0-next.6'
|
|
372
372
|
}).withConfig({
|
|
373
373
|
displayName: "StyledHeaderItem",
|
|
374
374
|
componentId: "sc-14sft6n-0"
|
|
375
375
|
})(["&:hover,&:focus{text-decoration:none;color:inherit;}", " &:focus-visible:active,&[data-garden-focus-visible]:active{box-shadow:none;}&:hover ", ",&:hover ", ",&:active ", ",&:active ", "{color:", ";}", " ", " ", ";"], props => reactTheming.focusStyles({
|
|
376
376
|
theme: props.theme,
|
|
377
377
|
inset: props.maxY
|
|
378
|
-
}), StyledHeaderItemIcon, StyledHeaderItemText, StyledHeaderItemIcon, StyledHeaderItemText, props => reactTheming.
|
|
378
|
+
}), StyledHeaderItemIcon, StyledHeaderItemText, StyledHeaderItemIcon, StyledHeaderItemText, props => reactTheming.getColorV8('chromeHue', 700, props.theme), imgStyles, props => props.isRound && `
|
|
379
379
|
${StyledHeaderItemIcon} {
|
|
380
380
|
border-radius: 100px;
|
|
381
381
|
}
|
|
@@ -387,7 +387,7 @@ StyledHeaderItem.defaultProps = {
|
|
|
387
387
|
const COMPONENT_ID$j = 'chrome.header_item_wrapper';
|
|
388
388
|
const StyledHeaderItemWrapper = styled__default.default(StyledBaseHeaderItem).attrs({
|
|
389
389
|
'data-garden-id': COMPONENT_ID$j,
|
|
390
|
-
'data-garden-version': '9.0.0-next.
|
|
390
|
+
'data-garden-version': '9.0.0-next.6',
|
|
391
391
|
as: 'div'
|
|
392
392
|
}).withConfig({
|
|
393
393
|
displayName: "StyledHeaderItemWrapper",
|
|
@@ -425,7 +425,7 @@ const colorStyles$4 = props => {
|
|
|
425
425
|
};
|
|
426
426
|
const StyledLogoNavItem = styled__default.default(StyledBaseNavItem).attrs({
|
|
427
427
|
'data-garden-id': COMPONENT_ID$i,
|
|
428
|
-
'data-garden-version': '9.0.0-next.
|
|
428
|
+
'data-garden-version': '9.0.0-next.6',
|
|
429
429
|
as: 'div'
|
|
430
430
|
}).withConfig({
|
|
431
431
|
displayName: "StyledLogoNavItem",
|
|
@@ -438,7 +438,7 @@ StyledLogoNavItem.defaultProps = {
|
|
|
438
438
|
const COMPONENT_ID$h = 'chrome.brandmark_nav_item';
|
|
439
439
|
const StyledBrandmarkNavItem = styled__default.default(StyledBaseNavItem).attrs({
|
|
440
440
|
'data-garden-id': COMPONENT_ID$h,
|
|
441
|
-
'data-garden-version': '9.0.0-next.
|
|
441
|
+
'data-garden-version': '9.0.0-next.6',
|
|
442
442
|
as: 'div'
|
|
443
443
|
}).withConfig({
|
|
444
444
|
displayName: "StyledBrandmarkNavItem",
|
|
@@ -451,7 +451,7 @@ StyledBrandmarkNavItem.defaultProps = {
|
|
|
451
451
|
const COMPONENT_ID$g = 'chrome.nav_item_icon';
|
|
452
452
|
const StyledNavItemIcon = styled__default.default.div.attrs({
|
|
453
453
|
'data-garden-id': COMPONENT_ID$g,
|
|
454
|
-
'data-garden-version': '9.0.0-next.
|
|
454
|
+
'data-garden-version': '9.0.0-next.6'
|
|
455
455
|
}).withConfig({
|
|
456
456
|
displayName: "StyledNavItemIcon",
|
|
457
457
|
componentId: "sc-7w9rpt-0"
|
|
@@ -479,7 +479,7 @@ const colorStyles$3 = props => {
|
|
|
479
479
|
} else if (isDark) {
|
|
480
480
|
currentColor = polished.rgba(LIGHT, 0.4);
|
|
481
481
|
} else {
|
|
482
|
-
currentColor = reactTheming.
|
|
482
|
+
currentColor = reactTheming.getColorV8(hue, 500, theme);
|
|
483
483
|
}
|
|
484
484
|
} else {
|
|
485
485
|
hoverColor = polished.rgba(isLight ? LIGHT : DARK, 0.1);
|
|
@@ -497,7 +497,7 @@ const colorStyles$3 = props => {
|
|
|
497
497
|
};
|
|
498
498
|
const StyledNavItem = styled__default.default(StyledBaseNavItem).attrs({
|
|
499
499
|
'data-garden-id': COMPONENT_ID$f,
|
|
500
|
-
'data-garden-version': '9.0.0-next.
|
|
500
|
+
'data-garden-version': '9.0.0-next.6',
|
|
501
501
|
as: 'button'
|
|
502
502
|
}).withConfig({
|
|
503
503
|
displayName: "StyledNavItem",
|
|
@@ -514,7 +514,7 @@ StyledNavItem.defaultProps = {
|
|
|
514
514
|
const COMPONENT_ID$e = 'chrome.nav_item_text';
|
|
515
515
|
const StyledNavItemText = styled__default.default.span.attrs({
|
|
516
516
|
'data-garden-id': COMPONENT_ID$e,
|
|
517
|
-
'data-garden-version': '9.0.0-next.
|
|
517
|
+
'data-garden-version': '9.0.0-next.6'
|
|
518
518
|
}).withConfig({
|
|
519
519
|
displayName: "StyledNavItemText",
|
|
520
520
|
componentId: "sc-13m84xl-0"
|
|
@@ -567,7 +567,7 @@ const getSubNavItemHeight = props => {
|
|
|
567
567
|
};
|
|
568
568
|
const StyledSubNavItem = styled__default.default.button.attrs({
|
|
569
569
|
'data-garden-id': COMPONENT_ID$d,
|
|
570
|
-
'data-garden-version': '9.0.0-next.
|
|
570
|
+
'data-garden-version': '9.0.0-next.6'
|
|
571
571
|
}).withConfig({
|
|
572
572
|
displayName: "StyledSubNavItem",
|
|
573
573
|
componentId: "sc-1yg9dpx-0"
|
|
@@ -584,13 +584,13 @@ const colorStyles$1 = props => {
|
|
|
584
584
|
} else {
|
|
585
585
|
shade = props.isDark ? 700 : 800;
|
|
586
586
|
}
|
|
587
|
-
const backgroundColor = reactTheming.
|
|
587
|
+
const backgroundColor = reactTheming.getColorV8(props.hue, shade, props.theme);
|
|
588
588
|
const foregroundColor = props.isLight ? props.theme.palette.grey[800] : props.theme.palette.white;
|
|
589
589
|
return styled.css(["background-color:", ";color:", ";"], backgroundColor, foregroundColor);
|
|
590
590
|
};
|
|
591
591
|
const StyledSubNav = styled__default.default.nav.attrs({
|
|
592
592
|
'data-garden-id': COMPONENT_ID$c,
|
|
593
|
-
'data-garden-version': '9.0.0-next.
|
|
593
|
+
'data-garden-version': '9.0.0-next.6'
|
|
594
594
|
}).withConfig({
|
|
595
595
|
displayName: "StyledSubNav",
|
|
596
596
|
componentId: "sc-19hjou6-0"
|
|
@@ -608,7 +608,7 @@ const sizeStyles = props => {
|
|
|
608
608
|
};
|
|
609
609
|
const StyledSubNavItemText = styled__default.default.span.attrs({
|
|
610
610
|
'data-garden-id': COMPONENT_ID$b,
|
|
611
|
-
'data-garden-version': '9.0.0-next.
|
|
611
|
+
'data-garden-version': '9.0.0-next.6'
|
|
612
612
|
}).withConfig({
|
|
613
613
|
displayName: "StyledSubNavItemText",
|
|
614
614
|
componentId: "sc-1hy0pn7-0"
|
|
@@ -620,7 +620,7 @@ StyledSubNavItemText.defaultProps = {
|
|
|
620
620
|
const COMPONENT_ID$a = 'chrome.collapsible_sub_nav_item';
|
|
621
621
|
const StyledSubNavItemHeader = styled__default.default(StyledSubNavItem).attrs({
|
|
622
622
|
'data-garden-id': COMPONENT_ID$a,
|
|
623
|
-
'data-garden-version': '9.0.0-next.
|
|
623
|
+
'data-garden-version': '9.0.0-next.6',
|
|
624
624
|
'data-garden-header': 'true'
|
|
625
625
|
}).withConfig({
|
|
626
626
|
displayName: "StyledSubNavItemHeader",
|
|
@@ -667,7 +667,7 @@ StyledSubNavItemIcon.defaultProps = {
|
|
|
667
667
|
};
|
|
668
668
|
const StyledSubNavItemIconWrapper = styled__default.default.div.attrs({
|
|
669
669
|
'data-garden-id': COMPONENT_ID$9,
|
|
670
|
-
'data-garden-version': '9.0.0-next.
|
|
670
|
+
'data-garden-version': '9.0.0-next.6'
|
|
671
671
|
}).withConfig({
|
|
672
672
|
displayName: "StyledSubNavItemIcon__StyledSubNavItemIconWrapper",
|
|
673
673
|
componentId: "sc-1d02hho-1"
|
|
@@ -680,7 +680,7 @@ const PANEL_COMPONENT_ID = 'chrome.collapsible_sub_nav_item_panel';
|
|
|
680
680
|
const hiddenStyling = styled.css(["visibility:hidden;max-height:0 !important;overflow:hidden;"]);
|
|
681
681
|
const StyledSubNavPanel = styled__default.default.div.attrs({
|
|
682
682
|
'data-garden-id': PANEL_COMPONENT_ID,
|
|
683
|
-
'data-garden-version': '9.0.0-next.
|
|
683
|
+
'data-garden-version': '9.0.0-next.6'
|
|
684
684
|
}).withConfig({
|
|
685
685
|
displayName: "StyledSubNavPanel",
|
|
686
686
|
componentId: "sc-1jv3rpv-0"
|
|
@@ -696,7 +696,7 @@ const borderStyle = _ref => {
|
|
|
696
696
|
placement,
|
|
697
697
|
isOpen
|
|
698
698
|
} = _ref;
|
|
699
|
-
const borderColor = isOpen ? reactTheming.
|
|
699
|
+
const borderColor = isOpen ? reactTheming.getColorV8('neutralHue', 300, theme) : 'transparent';
|
|
700
700
|
const borderSides = ['-left', '-right'];
|
|
701
701
|
let borderSide = '';
|
|
702
702
|
if (theme.rtl) {
|
|
@@ -711,11 +711,11 @@ const borderStyle = _ref => {
|
|
|
711
711
|
};
|
|
712
712
|
const StyledSheet = styled__default.default.aside.attrs({
|
|
713
713
|
'data-garden-id': COMPONENT_ID$8,
|
|
714
|
-
'data-garden-version': '9.0.0-next.
|
|
714
|
+
'data-garden-version': '9.0.0-next.6'
|
|
715
715
|
}).withConfig({
|
|
716
716
|
displayName: "StyledSheet",
|
|
717
717
|
componentId: "sc-dx8ijk-0"
|
|
718
|
-
})(["display:flex;order:1;transition:", ";background-color:", ";width:", ";height:100%;overflow:hidden;font-size:", ";&:focus{outline:none;}", ";", ";"], props => props.isAnimated && 'width 250ms ease-in-out', props => props.theme
|
|
718
|
+
})(["display:flex;order:1;transition:", ";background-color:", ";width:", ";height:100%;overflow:hidden;font-size:", ";&:focus{outline:none;}", ";", ";"], props => props.isAnimated && 'width 250ms ease-in-out', props => reactTheming.getColorV8('background', 600 , props.theme), props => props.isOpen ? props.size : '0px', props => props.theme.fontSizes.md, props => borderStyle(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
|
|
719
719
|
StyledSheet.defaultProps = {
|
|
720
720
|
theme: reactTheming.DEFAULT_THEME
|
|
721
721
|
};
|
|
@@ -723,7 +723,7 @@ StyledSheet.defaultProps = {
|
|
|
723
723
|
const COMPONENT_ID$7 = 'chrome.sheet_wrapper';
|
|
724
724
|
const StyledSheetWrapper = styled__default.default.div.attrs({
|
|
725
725
|
'data-garden-id': COMPONENT_ID$7,
|
|
726
|
-
'data-garden-version': '9.0.0-next.
|
|
726
|
+
'data-garden-version': '9.0.0-next.6'
|
|
727
727
|
}).withConfig({
|
|
728
728
|
displayName: "StyledSheetWrapper",
|
|
729
729
|
componentId: "sc-f6x9zb-0"
|
|
@@ -750,11 +750,11 @@ StyledSheetWrapper.defaultProps = {
|
|
|
750
750
|
const COMPONENT_ID$6 = 'chrome.sheet_title';
|
|
751
751
|
const StyledSheetTitle = styled__default.default.div.attrs({
|
|
752
752
|
'data-garden-id': COMPONENT_ID$6,
|
|
753
|
-
'data-garden-version': '9.0.0-next.
|
|
753
|
+
'data-garden-version': '9.0.0-next.6'
|
|
754
754
|
}).withConfig({
|
|
755
755
|
displayName: "StyledSheetTitle",
|
|
756
756
|
componentId: "sc-1gogk75-0"
|
|
757
|
-
})(["line-height:", ";color:", ";font-weight:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.theme
|
|
757
|
+
})(["line-height:", ";color:", ";font-weight:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => reactTheming.getColorV8('foreground', 600 , props.theme), props => props.theme.fontWeights.semibold, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
|
|
758
758
|
StyledSheetTitle.defaultProps = {
|
|
759
759
|
theme: reactTheming.DEFAULT_THEME
|
|
760
760
|
};
|
|
@@ -762,11 +762,11 @@ StyledSheetTitle.defaultProps = {
|
|
|
762
762
|
const COMPONENT_ID$5 = 'chrome.sheet_description';
|
|
763
763
|
const StyledSheetDescription = styled__default.default.div.attrs({
|
|
764
764
|
'data-garden-id': COMPONENT_ID$5,
|
|
765
|
-
'data-garden-version': '9.0.0-next.
|
|
765
|
+
'data-garden-version': '9.0.0-next.6'
|
|
766
766
|
}).withConfig({
|
|
767
767
|
displayName: "StyledSheetDescription",
|
|
768
768
|
componentId: "sc-1puglb6-0"
|
|
769
|
-
})(["line-height:", ";color:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 4, props.theme.fontSizes.md), props => reactTheming.
|
|
769
|
+
})(["line-height:", ";color:", ";", ";"], props => reactTheming.getLineHeight(props.theme.space.base * 4, props.theme.fontSizes.md), props => reactTheming.getColorV8('neutralHue', 600, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
|
|
770
770
|
StyledSheetDescription.defaultProps = {
|
|
771
771
|
theme: reactTheming.DEFAULT_THEME
|
|
772
772
|
};
|
|
@@ -774,7 +774,7 @@ StyledSheetDescription.defaultProps = {
|
|
|
774
774
|
const COMPONENT_ID$4 = 'chrome.sheet_body';
|
|
775
775
|
const StyledSheetBody = styled__default.default.div.attrs({
|
|
776
776
|
'data-garden-id': COMPONENT_ID$4,
|
|
777
|
-
'data-garden-version': '9.0.0-next.
|
|
777
|
+
'data-garden-version': '9.0.0-next.6'
|
|
778
778
|
}).withConfig({
|
|
779
779
|
displayName: "StyledSheetBody",
|
|
780
780
|
componentId: "sc-bt4eoj-0"
|
|
@@ -792,13 +792,13 @@ const BASE_MULTIPLIERS = {
|
|
|
792
792
|
const colorStyles = props => {
|
|
793
793
|
const backgroundColor = 'primaryHue';
|
|
794
794
|
const foregroundColor = 'neutralHue';
|
|
795
|
-
return styled.css(["background-color:transparent;color:", ";&:hover{background-color:", ";color:", ";}", " &:active{transition:background-color 0.1s ease-in-out,color 0.1s ease-in-out;background-color:", ";color:", ";}"], reactTheming.
|
|
795
|
+
return styled.css(["background-color:transparent;color:", ";&:hover{background-color:", ";color:", ";}", " &:active{transition:background-color 0.1s ease-in-out,color 0.1s ease-in-out;background-color:", ";color:", ";}"], reactTheming.getColorV8(foregroundColor, 600, props.theme), reactTheming.getColorV8(backgroundColor, 600, props.theme, 0.08), reactTheming.getColorV8(foregroundColor, 700, props.theme), reactTheming.focusStyles({
|
|
796
796
|
theme: props.theme
|
|
797
|
-
}), reactTheming.
|
|
797
|
+
}), reactTheming.getColorV8(backgroundColor, 600, props.theme, 0.2), reactTheming.getColorV8(foregroundColor, 800, props.theme));
|
|
798
798
|
};
|
|
799
799
|
const StyledSheetClose = styled__default.default.button.attrs({
|
|
800
800
|
'data-garden-id': COMPONENT_ID$3,
|
|
801
|
-
'data-garden-version': '9.0.0-next.
|
|
801
|
+
'data-garden-version': '9.0.0-next.6'
|
|
802
802
|
}).withConfig({
|
|
803
803
|
displayName: "StyledSheetClose",
|
|
804
804
|
componentId: "sc-1ab02oq-0"
|
|
@@ -810,11 +810,11 @@ StyledSheetClose.defaultProps = {
|
|
|
810
810
|
const COMPONENT_ID$2 = 'chrome.sheet_footer';
|
|
811
811
|
const StyledSheetFooter = styled__default.default.footer.attrs({
|
|
812
812
|
'data-garden-id': COMPONENT_ID$2,
|
|
813
|
-
'data-garden-version': '9.0.0-next.
|
|
813
|
+
'data-garden-version': '9.0.0-next.6'
|
|
814
814
|
}).withConfig({
|
|
815
815
|
displayName: "StyledSheetFooter",
|
|
816
816
|
componentId: "sc-2cktos-0"
|
|
817
|
-
})(["display:flex;flex-flow:row wrap;align-items:center;justify-content:", ";border-top:", ";padding:", "px;", ";"], props => props.isCompact ? 'center' : 'flex-end', props => `${props.theme.borders.sm} ${reactTheming.
|
|
817
|
+
})(["display:flex;flex-flow:row wrap;align-items:center;justify-content:", ";border-top:", ";padding:", "px;", ";"], props => props.isCompact ? 'center' : 'flex-end', props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}}`, props => props.theme.space.base * (props.isCompact ? 2.5 : 5), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$2, props));
|
|
818
818
|
StyledSheetFooter.defaultProps = {
|
|
819
819
|
theme: reactTheming.DEFAULT_THEME
|
|
820
820
|
};
|
|
@@ -822,7 +822,7 @@ StyledSheetFooter.defaultProps = {
|
|
|
822
822
|
const COMPONENT_ID$1 = 'chrome.sheet_footer_item';
|
|
823
823
|
const StyledSheetFooterItem = styled__default.default.div.attrs({
|
|
824
824
|
'data-garden-id': COMPONENT_ID$1,
|
|
825
|
-
'data-garden-version': '9.0.0-next.
|
|
825
|
+
'data-garden-version': '9.0.0-next.6'
|
|
826
826
|
}).withConfig({
|
|
827
827
|
displayName: "StyledSheetFooterItem",
|
|
828
828
|
componentId: "sc-r9ixh-0"
|
|
@@ -834,11 +834,11 @@ StyledSheetFooterItem.defaultProps = {
|
|
|
834
834
|
const COMPONENT_ID = 'chrome.sheet_header';
|
|
835
835
|
const StyledSheetHeader = styled__default.default.header.attrs({
|
|
836
836
|
'data-garden-id': COMPONENT_ID,
|
|
837
|
-
'data-garden-version': '9.0.0-next.
|
|
837
|
+
'data-garden-version': '9.0.0-next.6'
|
|
838
838
|
}).withConfig({
|
|
839
839
|
displayName: "StyledSheetHeader",
|
|
840
840
|
componentId: "sc-o2ry8i-0"
|
|
841
|
-
})(["border-bottom:", ";padding:", "px;", " ", ";"], props => `${props.theme.borders.sm} ${reactTheming.
|
|
841
|
+
})(["border-bottom:", ";padding:", "px;", " ", ";"], props => `${props.theme.borders.sm} ${reactTheming.getColorV8('neutralHue', 300, props.theme)}}`, props => props.theme.space.base * 5, props => props.isCloseButtonPresent && `padding-${props.theme.rtl ? 'left' : 'right'}: ${props.theme.space.base * (BASE_MULTIPLIERS.size + BASE_MULTIPLIERS.side + 2)}px;`, props => reactTheming.retrieveComponentStyles(COMPONENT_ID, props));
|
|
842
842
|
StyledSheetHeader.defaultProps = {
|
|
843
843
|
theme: reactTheming.DEFAULT_THEME
|
|
844
844
|
};
|
|
@@ -1111,7 +1111,7 @@ const Chrome = React__namespace.default.forwardRef((_ref, ref) => {
|
|
|
1111
1111
|
const theme = React.useContext(styled.ThemeContext);
|
|
1112
1112
|
const isLightMemoized = React.useMemo(() => {
|
|
1113
1113
|
if (hue) {
|
|
1114
|
-
const backgroundColor = reactTheming.
|
|
1114
|
+
const backgroundColor = reactTheming.getColorV8(hue, 600, theme);
|
|
1115
1115
|
const LIGHT_COLOR = 'white';
|
|
1116
1116
|
return polished.readableColor(backgroundColor, LIGHT_COLOR, undefined, false ) === LIGHT_COLOR;
|
|
1117
1117
|
}
|
|
@@ -1171,21 +1171,17 @@ SkipNav.defaultProps = {
|
|
|
1171
1171
|
zIndex: 1
|
|
1172
1172
|
};
|
|
1173
1173
|
|
|
1174
|
-
const BodyContext = React__namespace.default.createContext(
|
|
1175
|
-
hasFooter: true
|
|
1176
|
-
});
|
|
1174
|
+
const BodyContext = React__namespace.default.createContext(undefined);
|
|
1177
1175
|
const useBodyContext = () => {
|
|
1178
1176
|
return React.useContext(BodyContext);
|
|
1179
1177
|
};
|
|
1180
1178
|
|
|
1181
|
-
const Body$1 = React__namespace.default.forwardRef((
|
|
1182
|
-
|
|
1183
|
-
hasFooter,
|
|
1184
|
-
...props
|
|
1185
|
-
} = _ref;
|
|
1179
|
+
const Body$1 = React__namespace.default.forwardRef((props, ref) => {
|
|
1180
|
+
const [hasFooter, setHasFooter] = React.useState(false);
|
|
1186
1181
|
const bodyContextValue = React.useMemo(() => ({
|
|
1187
|
-
hasFooter
|
|
1188
|
-
|
|
1182
|
+
hasFooter,
|
|
1183
|
+
setHasFooter
|
|
1184
|
+
}), [hasFooter, setHasFooter]);
|
|
1189
1185
|
return React__namespace.default.createElement(BodyContext.Provider, {
|
|
1190
1186
|
value: bodyContextValue
|
|
1191
1187
|
}, React__namespace.default.createElement(StyledBody, _extends$3({
|
|
@@ -1193,14 +1189,11 @@ const Body$1 = React__namespace.default.forwardRef((_ref, ref) => {
|
|
|
1193
1189
|
}, props)));
|
|
1194
1190
|
});
|
|
1195
1191
|
Body$1.displayName = 'Body';
|
|
1196
|
-
Body$1.propTypes = {
|
|
1197
|
-
hasFooter: PropTypes__default.default.bool
|
|
1198
|
-
};
|
|
1199
1192
|
|
|
1200
1193
|
const Content = React__namespace.default.forwardRef((props, ref) => {
|
|
1201
1194
|
const {
|
|
1202
1195
|
hasFooter
|
|
1203
|
-
} = useBodyContext();
|
|
1196
|
+
} = useBodyContext() || {};
|
|
1204
1197
|
return React__namespace.default.createElement(StyledContent, _extends$3({
|
|
1205
1198
|
ref: ref,
|
|
1206
1199
|
hasFooter: hasFooter
|
|
@@ -1231,9 +1224,25 @@ Header$1.ItemIcon = HeaderItemIcon;
|
|
|
1231
1224
|
Header$1.ItemText = HeaderItemText;
|
|
1232
1225
|
Header$1.ItemWrapper = HeaderItemWrapper;
|
|
1233
1226
|
|
|
1234
|
-
const FooterComponent = React__namespace.default.forwardRef((props, ref) =>
|
|
1235
|
-
|
|
1236
|
-
|
|
1227
|
+
const FooterComponent = React__namespace.default.forwardRef((props, ref) => {
|
|
1228
|
+
const {
|
|
1229
|
+
hasFooter,
|
|
1230
|
+
setHasFooter
|
|
1231
|
+
} = useBodyContext() || {};
|
|
1232
|
+
React.useEffect(() => {
|
|
1233
|
+
if (!hasFooter && setHasFooter) {
|
|
1234
|
+
setHasFooter(true);
|
|
1235
|
+
}
|
|
1236
|
+
return () => {
|
|
1237
|
+
if (hasFooter && setHasFooter) {
|
|
1238
|
+
setHasFooter(false);
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
}, [hasFooter, setHasFooter]);
|
|
1242
|
+
return React__namespace.default.createElement(StyledFooter, _extends$3({
|
|
1243
|
+
ref: ref
|
|
1244
|
+
}, props));
|
|
1245
|
+
});
|
|
1237
1246
|
FooterComponent.displayName = 'Footer';
|
|
1238
1247
|
const Footer$1 = FooterComponent;
|
|
1239
1248
|
Footer$1.Item = FooterItem$1;
|
|
@@ -1429,7 +1438,7 @@ const SheetComponent = React__namespace.default.forwardRef((_ref, ref) => {
|
|
|
1429
1438
|
const sheetRef = React.useRef(null);
|
|
1430
1439
|
const seed = reactUid.useUIDSeed();
|
|
1431
1440
|
const [isCloseButtonPresent, setIsCloseButtonPresent] = React.useState(false);
|
|
1432
|
-
const idPrefix = React.useMemo(() => id || seed(`sheet_${'9.0.0-next.
|
|
1441
|
+
const idPrefix = React.useMemo(() => id || seed(`sheet_${'9.0.0-next.6'}`), [id, seed]);
|
|
1433
1442
|
const titleId = `${idPrefix}--title`;
|
|
1434
1443
|
const descriptionId = `${idPrefix}--description`;
|
|
1435
1444
|
const sheetContext = React.useMemo(() => ({
|