@zendeskgarden/react-forms 9.0.0-next.1 → 9.0.0-next.3

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 CHANGED
@@ -15,7 +15,6 @@ var polished = require('polished');
15
15
  var PropTypes = require('prop-types');
16
16
  var containerUtilities = require('@zendeskgarden/container-utilities');
17
17
  var reactMergeRefs = require('react-merge-refs');
18
- var containerSlider = require('@zendeskgarden/container-slider');
19
18
 
20
19
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
21
20
 
@@ -62,64 +61,64 @@ const useFieldContext = () => {
62
61
  return fieldContext;
63
62
  };
64
63
 
65
- const COMPONENT_ID$K = 'forms.field';
64
+ const COMPONENT_ID$G = 'forms.field';
66
65
  const StyledField = styled__default.default.div.attrs({
67
- 'data-garden-id': COMPONENT_ID$K,
68
- 'data-garden-version': '9.0.0-next.1'
66
+ 'data-garden-id': COMPONENT_ID$G,
67
+ 'data-garden-version': '9.0.0-next.3'
69
68
  }).withConfig({
70
69
  displayName: "StyledField",
71
70
  componentId: "sc-12gzfsu-0"
72
- })(["position:relative;direction:", ";margin:0;border:0;padding:0;font-size:0;", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$K, props));
71
+ })(["position:relative;direction:", ";margin:0;border:0;padding:0;font-size:0;", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$G, props));
73
72
  StyledField.defaultProps = {
74
73
  theme: reactTheming.DEFAULT_THEME
75
74
  };
76
75
 
77
- const COMPONENT_ID$J = 'forms.fieldset';
76
+ const COMPONENT_ID$F = 'forms.fieldset';
78
77
  const StyledFieldset = styled__default.default(StyledField).attrs({
79
78
  as: 'fieldset',
80
- 'data-garden-id': COMPONENT_ID$J,
81
- 'data-garden-version': '9.0.0-next.1'
79
+ 'data-garden-id': COMPONENT_ID$F,
80
+ 'data-garden-version': '9.0.0-next.3'
82
81
  }).withConfig({
83
82
  displayName: "StyledFieldset",
84
83
  componentId: "sc-1vr4mxv-0"
85
- })(["", "{margin-top:", "px;}", ";"], StyledField, props => props.theme.space.base * (props.isCompact ? 1 : 2), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$J, props));
84
+ })(["", "{margin-top:", "px;}", ";"], StyledField, props => props.theme.space.base * (props.isCompact ? 1 : 2), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$F, props));
86
85
  StyledFieldset.defaultProps = {
87
86
  theme: reactTheming.DEFAULT_THEME
88
87
  };
89
88
 
90
- const COMPONENT_ID$I = 'forms.input_label';
89
+ const COMPONENT_ID$E = 'forms.input_label';
91
90
  const StyledLabel = styled__default.default.label.attrs(props => ({
92
- 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$I,
93
- 'data-garden-version': props['data-garden-version'] || '9.0.0-next.1'
91
+ 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$E,
92
+ 'data-garden-version': props['data-garden-version'] || '9.0.0-next.3'
94
93
  })).withConfig({
95
94
  displayName: "StyledLabel",
96
95
  componentId: "sc-2utmsz-0"
97
- })(["direction:", ";vertical-align:middle;line-height:", ";color:", ";font-size:", ";font-weight:", ";&[hidden]{display:", ";vertical-align:", ";text-indent:", ";font-size:", ";", ";}", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.theme.colors.foreground, props => props.theme.fontSizes.md, props => props.isRegular ? props.theme.fontWeights.regular : props.theme.fontWeights.semibold, props => props.isRadio ? 'inline-block' : 'inline', props => props.isRadio && 'top', props => props.isRadio && '-100%', props => props.isRadio && '0', props => !props.isRadio && polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$I, props));
96
+ })(["direction:", ";vertical-align:middle;line-height:", ";color:", ";font-size:", ";font-weight:", ";&[hidden]{display:", ";vertical-align:", ";text-indent:", ";font-size:", ";", ";}", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => props.theme.colors.foreground, props => props.theme.fontSizes.md, props => props.isRegular ? props.theme.fontWeights.regular : props.theme.fontWeights.semibold, props => props.isRadio ? 'inline-block' : 'inline', props => props.isRadio && 'top', props => props.isRadio && '-100%', props => props.isRadio && '0', props => !props.isRadio && polished.hideVisually(), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$E, props));
98
97
  StyledLabel.defaultProps = {
99
98
  theme: reactTheming.DEFAULT_THEME
100
99
  };
101
100
 
102
- const COMPONENT_ID$H = 'forms.fieldset_legend';
101
+ const COMPONENT_ID$D = 'forms.fieldset_legend';
103
102
  const StyledLegend = styled__default.default(StyledLabel).attrs({
104
103
  as: 'legend',
105
- 'data-garden-id': COMPONENT_ID$H,
106
- 'data-garden-version': '9.0.0-next.1'
104
+ 'data-garden-id': COMPONENT_ID$D,
105
+ 'data-garden-version': '9.0.0-next.3'
107
106
  }).withConfig({
108
107
  displayName: "StyledLegend",
109
108
  componentId: "sc-6s0zwq-0"
110
- })(["padding:0;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$H, props));
109
+ })(["padding:0;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$D, props));
111
110
  StyledLegend.defaultProps = {
112
111
  theme: reactTheming.DEFAULT_THEME
113
112
  };
114
113
 
115
- const COMPONENT_ID$G = 'forms.input_hint';
114
+ const COMPONENT_ID$C = 'forms.input_hint';
116
115
  const StyledHint = styled__default.default.div.attrs(props => ({
117
- 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$G,
118
- 'data-garden-version': props['data-garden-version'] || '9.0.0-next.1'
116
+ 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$C,
117
+ 'data-garden-version': props['data-garden-version'] || '9.0.0-next.3'
119
118
  })).withConfig({
120
119
  displayName: "StyledHint",
121
120
  componentId: "sc-17c2wu8-0"
122
- })(["direction:", ";display:block;vertical-align:middle;line-height:", ";color:", ";font-size:", ";", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => reactTheming.getColor('neutralHue', 600, props.theme), props => props.theme.fontSizes.md, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$G, props));
121
+ })(["direction:", ";display:block;vertical-align:middle;line-height:", ";color:", ";font-size:", ";", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => reactTheming.getColor('neutralHue', 600, props.theme), props => props.theme.fontSizes.md, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$C, props));
123
122
  StyledHint.defaultProps = {
124
123
  theme: reactTheming.DEFAULT_THEME
125
124
  };
@@ -217,15 +216,15 @@ const MessageIcon = _ref => {
217
216
  }
218
217
  return retVal;
219
218
  };
220
- const COMPONENT_ID$F = 'forms.input_message_icon';
219
+ const COMPONENT_ID$B = 'forms.input_message_icon';
221
220
  const StyledMessageIcon = styled__default.default(MessageIcon).attrs({
222
- 'data-garden-id': COMPONENT_ID$F,
223
- 'data-garden-version': '9.0.0-next.1',
221
+ 'data-garden-id': COMPONENT_ID$B,
222
+ 'data-garden-version': '9.0.0-next.3',
224
223
  'aria-hidden': null
225
224
  }).withConfig({
226
225
  displayName: "StyledMessageIcon",
227
226
  componentId: "sc-1ph2gba-0"
228
- })(["width:", ";height:", ";", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$F, props));
227
+ })(["width:", ";height:", ";", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$B, props));
229
228
  StyledMessageIcon.defaultProps = {
230
229
  theme: reactTheming.DEFAULT_THEME
231
230
  };
@@ -245,23 +244,23 @@ const validationStyles = props => {
245
244
  }
246
245
  return styled.css(["padding-", ":", ";color:", ";"], rtl ? 'right' : 'left', props.validation && padding, color);
247
246
  };
248
- const COMPONENT_ID$E = 'forms.input_message';
247
+ const COMPONENT_ID$A = 'forms.input_message';
249
248
  const StyledMessage = styled__default.default.div.attrs(props => ({
250
- 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$E,
251
- 'data-garden-version': props['data-garden-version'] || '9.0.0-next.1'
249
+ 'data-garden-id': props['data-garden-id'] || COMPONENT_ID$A,
250
+ 'data-garden-version': props['data-garden-version'] || '9.0.0-next.3'
252
251
  })).withConfig({
253
252
  displayName: "StyledMessage",
254
253
  componentId: "sc-30hgg7-0"
255
- })(["direction:", ";display:inline-block;position:relative;vertical-align:middle;line-height:", ";font-size:", ";", ";& ", "{position:absolute;top:-1px;", ":0;}", ":not([hidden]) + &{display:block;margin-top:", ";}", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.iconSizes.md, props.theme.fontSizes.sm), props => props.theme.fontSizes.sm, props => validationStyles(props), StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', StyledLabel, props => polished.math(`${props.theme.space.base} * 1px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$E, props));
254
+ })(["direction:", ";display:inline-block;position:relative;vertical-align:middle;line-height:", ";font-size:", ";", ";& ", "{position:absolute;top:-1px;", ":0;}", ":not([hidden]) + &{display:block;margin-top:", ";}", ";"], props => props.theme.rtl && 'rtl', props => reactTheming.getLineHeight(props.theme.iconSizes.md, props.theme.fontSizes.sm), props => props.theme.fontSizes.sm, props => validationStyles(props), StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', StyledLabel, props => polished.math(`${props.theme.space.base} * 1px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$A, props));
256
255
  StyledMessage.defaultProps = {
257
256
  theme: reactTheming.DEFAULT_THEME
258
257
  };
259
258
 
260
- const COMPONENT_ID$D = 'forms.input';
259
+ const COMPONENT_ID$z = 'forms.input';
261
260
  const isInvalid = validation => {
262
261
  return validation === 'warning' || validation === 'error';
263
262
  };
264
- const colorStyles$c = props => {
263
+ const colorStyles$a = props => {
265
264
  const HUE = 'primaryHue';
266
265
  const SHADE = 600;
267
266
  const placeholderColor = reactTheming.getColor('neutralHue', SHADE - 200, props.theme);
@@ -312,7 +311,7 @@ const colorStyles$c = props => {
312
311
  }
313
312
  }), disabledBorderColor, !props.isBare && disabledBackgroundColor, disabledForegroundColor);
314
313
  };
315
- const sizeStyles$f = props => {
314
+ const sizeStyles$c = props => {
316
315
  const fontSize = props.theme.fontSizes.md;
317
316
  const paddingHorizontal = `${props.theme.space.base * 3}px`;
318
317
  let height;
@@ -337,18 +336,18 @@ const sizeStyles$f = props => {
337
336
  return styled.css(["padding:", ";min-height:", ";line-height:", ";font-size:", ";&::-ms-browse{font-size:", ";}&[type='date'],&[type='datetime-local'],&[type='file'],&[type='month'],&[type='time'],&[type='week']{max-height:", ";}&[type='file']{line-height:1;}@supports (-ms-ime-align:auto){&[type='color']{padding:", ";}}&::-moz-color-swatch{margin-top:", ";margin-left:", ";width:calc(100% + ", ");height:", ";}&::-webkit-color-swatch{margin:", " ", ";}", ":not([hidden]) + &&,", " + &&,", " + &&,&& + ", ",&& + ", "{margin-top:", "px;}"], padding, props.isBare ? '1em' : height, reactTheming.getLineHeight(lineHeight, fontSize), fontSize, browseFontSize, height, props.isCompact ? '0 2px' : '1px 3px', swatchMarginVertical, swatchMarginHorizontal, polished.math(`${swatchMarginHorizontal} * -2`), swatchHeight, swatchMarginVertical, swatchMarginHorizontal, StyledLabel, StyledHint, StyledMessage, StyledHint, StyledMessage, props.theme.space.base * (props.isCompact ? 1 : 2));
338
337
  };
339
338
  const StyledTextInput = styled__default.default.input.attrs(props => ({
340
- 'data-garden-id': COMPONENT_ID$D,
341
- 'data-garden-version': '9.0.0-next.1',
339
+ 'data-garden-id': COMPONENT_ID$z,
340
+ 'data-garden-version': '9.0.0-next.3',
342
341
  'aria-invalid': isInvalid(props.validation)
343
342
  })).withConfig({
344
343
  displayName: "StyledTextInput",
345
344
  componentId: "sc-k12n8x-0"
346
- })(["appearance:none;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;direction:", ";border:", ";border-radius:", ";width:100%;box-sizing:border-box;vertical-align:middle;font-family:inherit;&::-ms-browse{border-radius:", ";}&::-ms-clear,&::-ms-reveal{display:none;}&::-moz-color-swatch{border:none;border-radius:", ";}&::-webkit-color-swatch{border:none;border-radius:", ";}&::-webkit-color-swatch-wrapper{padding:0;}&::-webkit-clear-button,&::-webkit-inner-spin-button,&::-webkit-search-cancel-button,&::-webkit-search-results-button{display:none;}&::-webkit-datetime-edit{direction:", ";line-height:1;}&::placeholder{opacity:1;}&:invalid{box-shadow:none;}&[type='file']::-ms-value{display:none;}@media screen and (min--moz-device-pixel-ratio:0){&[type='number']{appearance:textfield;}}", ";", ";&:disabled{cursor:default;}", ";"], props => props.theme.rtl && 'rtl', props => props.isBare ? 'none' : props.theme.borders.sm, props => props.isBare ? '0' : props.theme.borderRadii.md, props => props.theme.borderRadii.sm, props => props.theme.borderRadii.sm, props => props.theme.borderRadii.sm, props => props.theme.rtl && 'rtl', props => sizeStyles$f(props), props => colorStyles$c(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$D, props));
345
+ })(["appearance:none;transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out,z-index 0.25s ease-in-out;direction:", ";border:", ";border-radius:", ";width:100%;box-sizing:border-box;vertical-align:middle;font-family:inherit;&::-ms-browse{border-radius:", ";}&::-ms-clear,&::-ms-reveal{display:none;}&::-moz-color-swatch{border:none;border-radius:", ";}&::-webkit-color-swatch{border:none;border-radius:", ";}&::-webkit-color-swatch-wrapper{padding:0;}&::-webkit-clear-button,&::-webkit-inner-spin-button,&::-webkit-search-cancel-button,&::-webkit-search-results-button{display:none;}&::-webkit-datetime-edit{direction:", ";line-height:1;}&::placeholder{opacity:1;}&:invalid{box-shadow:none;}&[type='file']::-ms-value{display:none;}@media screen and (min--moz-device-pixel-ratio:0){&[type='number']{appearance:textfield;}}", ";", ";&:disabled{cursor:default;}", ";"], props => props.theme.rtl && 'rtl', props => props.isBare ? 'none' : props.theme.borders.sm, props => props.isBare ? '0' : props.theme.borderRadii.md, props => props.theme.borderRadii.sm, props => props.theme.borderRadii.sm, props => props.theme.borderRadii.sm, props => props.theme.rtl && 'rtl', props => sizeStyles$c(props), props => colorStyles$a(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$z, props));
347
346
  StyledTextInput.defaultProps = {
348
347
  theme: reactTheming.DEFAULT_THEME
349
348
  };
350
349
 
351
- const COMPONENT_ID$C = 'forms.textarea';
350
+ const COMPONENT_ID$y = 'forms.textarea';
352
351
  const hiddenStyles = `
353
352
  visibility: hidden;
354
353
  position: absolute;
@@ -360,18 +359,18 @@ const hiddenStyles = `
360
359
  `;
361
360
  const StyledTextarea = styled__default.default(StyledTextInput).attrs({
362
361
  as: 'textarea',
363
- 'data-garden-id': COMPONENT_ID$C,
364
- 'data-garden-version': '9.0.0-next.1'
362
+ 'data-garden-id': COMPONENT_ID$y,
363
+ 'data-garden-version': '9.0.0-next.3'
365
364
  }).withConfig({
366
365
  displayName: "StyledTextarea",
367
366
  componentId: "sc-wxschl-0"
368
- })(["resize:", ";overflow:auto;", ";", ";"], props => props.isResizable ? 'vertical' : 'none', props => props.isHidden && hiddenStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$C, props));
367
+ })(["resize:", ";overflow:auto;", ";", ";"], props => props.isResizable ? 'vertical' : 'none', props => props.isHidden && hiddenStyles, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$y, props));
369
368
  StyledTextarea.defaultProps = {
370
369
  theme: reactTheming.DEFAULT_THEME
371
370
  };
372
371
 
373
- const COMPONENT_ID$B = 'forms.media_figure';
374
- const colorStyles$b = props => {
372
+ const COMPONENT_ID$x = 'forms.media_figure';
373
+ const colorStyles$9 = props => {
375
374
  let shade = 600;
376
375
  if (props.isDisabled) {
377
376
  shade = 400;
@@ -380,7 +379,7 @@ const colorStyles$b = props => {
380
379
  }
381
380
  return styled.css(["color:", ";"], reactTheming.getColor('neutralHue', shade, props.theme));
382
381
  };
383
- const sizeStyles$e = props => {
382
+ const sizeStyles$b = props => {
384
383
  const size = props.theme.iconSizes.md;
385
384
  const marginFirst = `1px ${props.theme.space.base * 2}px auto 0`;
386
385
  const marginLast = `1px 0 auto ${props.theme.space.base * 2}px`;
@@ -406,17 +405,17 @@ _ref => {
406
405
  } = _ref;
407
406
  return React__namespace.default.cloneElement(React.Children.only(children), props);
408
407
  }).attrs({
409
- 'data-garden-id': COMPONENT_ID$B,
410
- 'data-garden-version': '9.0.0-next.1'
408
+ 'data-garden-id': COMPONENT_ID$x,
409
+ 'data-garden-version': '9.0.0-next.3'
411
410
  }).withConfig({
412
411
  displayName: "StyledTextMediaFigure",
413
412
  componentId: "sc-1qepknj-0"
414
- })(["transform:", ";transition:transform 0.25s ease-in-out,color 0.25s ease-in-out;", ";", " ", ";"], props => props.isRotated && `rotate(${props.theme.rtl ? '-' : '+'}180deg)`, props => colorStyles$b(props), props => sizeStyles$e(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$B, props));
413
+ })(["transform:", ";transition:transform 0.25s ease-in-out,color 0.25s ease-in-out;", ";", " ", ";"], props => props.isRotated && `rotate(${props.theme.rtl ? '-' : '+'}180deg)`, props => colorStyles$9(props), props => sizeStyles$b(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$x, props));
415
414
  StyledTextMediaFigure.defaultProps = {
416
415
  theme: reactTheming.DEFAULT_THEME
417
416
  };
418
417
 
419
- const COMPONENT_ID$A = 'forms.faux_input';
418
+ const COMPONENT_ID$w = 'forms.faux_input';
420
419
  const VALIDATION_HUES = {
421
420
  success: 'successHue',
422
421
  warning: 'warningHue',
@@ -429,7 +428,7 @@ function getValidationHue(validation) {
429
428
  }
430
429
  return defaultHue;
431
430
  }
432
- const colorStyles$a = props => {
431
+ const colorStyles$8 = props => {
433
432
  const {
434
433
  theme,
435
434
  validation,
@@ -453,30 +452,30 @@ const StyledTextFauxInput = styled__default.default(StyledTextInput).attrs(props
453
452
  as: 'div',
454
453
  'aria-readonly': props.isReadOnly,
455
454
  'aria-disabled': props.isDisabled,
456
- 'data-garden-id': COMPONENT_ID$A,
457
- 'data-garden-version': '9.0.0-next.1'
455
+ 'data-garden-id': COMPONENT_ID$w,
456
+ 'data-garden-version': '9.0.0-next.3'
458
457
  })).withConfig({
459
458
  displayName: "StyledTextFauxInput",
460
459
  componentId: "sc-yqw7j9-0"
461
- })(["display:", ";align-items:", ";cursor:", ";overflow:hidden;", " & > ", "{vertical-align:", ";", "{box-shadow:unset;}}& > ", "{flex-shrink:", ";}", ";"], props => props.mediaLayout ? 'inline-flex' : 'inline-block', props => props.mediaLayout && 'baseline', props => props.mediaLayout && !props.isDisabled ? 'text' : 'default', colorStyles$a, StyledTextInput, props => !props.mediaLayout && 'baseline', reactTheming.SELECTOR_FOCUS_VISIBLE, StyledTextMediaFigure, props => props.mediaLayout && '0', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$A, props));
460
+ })(["display:", ";align-items:", ";cursor:", ";overflow:hidden;", " & > ", "{vertical-align:", ";", "{box-shadow:unset;}}& > ", "{flex-shrink:", ";}", ";"], props => props.mediaLayout ? 'inline-flex' : 'inline-block', props => props.mediaLayout && 'baseline', props => props.mediaLayout && !props.isDisabled ? 'text' : 'default', colorStyles$8, StyledTextInput, props => !props.mediaLayout && 'baseline', reactTheming.SELECTOR_FOCUS_VISIBLE, StyledTextMediaFigure, props => props.mediaLayout && '0', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$w, props));
462
461
  StyledTextFauxInput.defaultProps = {
463
462
  theme: reactTheming.DEFAULT_THEME
464
463
  };
465
464
 
466
- const COMPONENT_ID$z = 'forms.media_input';
465
+ const COMPONENT_ID$v = 'forms.media_input';
467
466
  const StyledTextMediaInput = styled__default.default(StyledTextInput).attrs({
468
- 'data-garden-id': COMPONENT_ID$z,
469
- 'data-garden-version': '9.0.0-next.1',
467
+ 'data-garden-id': COMPONENT_ID$v,
468
+ 'data-garden-version': '9.0.0-next.3',
470
469
  isBare: true
471
470
  }).withConfig({
472
471
  displayName: "StyledTextMediaInput",
473
472
  componentId: "sc-12i9xfi-0"
474
- })(["flex-grow:1;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$z, props));
473
+ })(["flex-grow:1;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$v, props));
475
474
  StyledTextMediaInput.defaultProps = {
476
475
  theme: reactTheming.DEFAULT_THEME
477
476
  };
478
477
 
479
- const COMPONENT_ID$y = 'forms.input_group';
478
+ const COMPONENT_ID$u = 'forms.input_group';
480
479
  const positionStyles = props => {
481
480
  const topMargin = `${props.theme.space.base * (props.isCompact ? 1 : 2)}px`;
482
481
  return styled.css(["", ":not([hidden]) + &&,", " + &&,", " + &&,&& + ", ",&& + ", "{margin-top:", ";}& > ", "{position:relative;flex:1 1 auto;margin-top:0;margin-bottom:0;width:auto;min-width:0;}"], StyledLabel, StyledHint, StyledMessage, StyledHint, StyledMessage, topMargin, StyledTextInput);
@@ -487,73 +486,73 @@ const itemStyles = props => {
487
486
  return styled.css(["& > *{z-index:-1;}& > ", "{z-index:0;}& > ", ":disabled{z-index:-2;}& > ", ":hover,& > button:hover,& > ", ":focus-visible,& > button:focus-visible,& > ", "[data-garden-focus-visible],& > button[data-garden-focus-visible],& > ", ":active,& > button:active{z-index:1;}& > button:disabled{border-top-width:0;border-bottom-width:0;}& > *:not(:first-child){margin-", ":-", ";}& > *:first-child:not(:last-child){border-top-", "-radius:0;border-bottom-", "-radius:0;}& > *:last-child:not(:first-child){border-top-", "-radius:0;border-bottom-", "-radius:0;}& > *:not(:first-child):not(:last-child){border-radius:0;}"], StyledTextInput, StyledTextInput, StyledTextInput, StyledTextInput, StyledTextInput, StyledTextInput, startDirection, props.theme.borderWidths.sm, endDirection, endDirection, startDirection, startDirection);
488
487
  };
489
488
  const StyledInputGroup = styled__default.default.div.attrs({
490
- 'data-garden-id': COMPONENT_ID$y,
491
- 'data-garden-version': '9.0.0-next.1'
489
+ 'data-garden-id': COMPONENT_ID$u,
490
+ 'data-garden-version': '9.0.0-next.3'
492
491
  }).withConfig({
493
492
  displayName: "StyledInputGroup",
494
493
  componentId: "sc-kjh1f0-0"
495
- })(["display:inline-flex;position:relative;flex-wrap:nowrap;align-items:stretch;z-index:0;width:100%;", ";", ";", ";"], props => positionStyles(props), props => itemStyles(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$y, props));
494
+ })(["display:inline-flex;position:relative;flex-wrap:nowrap;align-items:stretch;z-index:0;width:100%;", ";", ";", ";"], props => positionStyles(props), props => itemStyles(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$u, props));
496
495
  StyledInputGroup.defaultProps = {
497
496
  theme: reactTheming.DEFAULT_THEME
498
497
  };
499
498
 
500
- const COMPONENT_ID$x = 'forms.radio_label';
501
- const sizeStyles$d = props => {
499
+ const COMPONENT_ID$t = 'forms.radio_label';
500
+ const sizeStyles$a = props => {
502
501
  const size = props.theme.space.base * 4;
503
502
  const padding = size + props.theme.space.base * 2;
504
503
  const lineHeight = props.theme.space.base * 5;
505
504
  return styled.css(["padding-", ":", "px;&[hidden]{padding-", ":", "px;line-height:", "px;}"], props.theme.rtl ? 'right' : 'left', padding, props.theme.rtl ? 'right' : 'left', size, lineHeight);
506
505
  };
507
506
  const StyledRadioLabel = styled__default.default(StyledLabel).attrs({
508
- 'data-garden-id': COMPONENT_ID$x,
509
- 'data-garden-version': '9.0.0-next.1',
507
+ 'data-garden-id': COMPONENT_ID$t,
508
+ 'data-garden-version': '9.0.0-next.3',
510
509
  isRadio: true
511
510
  }).withConfig({
512
511
  displayName: "StyledRadioLabel",
513
512
  componentId: "sc-1aq2e5t-0"
514
- })(["display:inline-block;position:relative;cursor:pointer;", ";", ";"], props => sizeStyles$d(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$x, props));
513
+ })(["display:inline-block;position:relative;cursor:pointer;", ";", ";"], props => sizeStyles$a(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$t, props));
515
514
  StyledRadioLabel.defaultProps = {
516
515
  theme: reactTheming.DEFAULT_THEME
517
516
  };
518
517
 
519
- const COMPONENT_ID$w = 'forms.checkbox_label';
518
+ const COMPONENT_ID$s = 'forms.checkbox_label';
520
519
  const StyledCheckLabel = styled__default.default(StyledRadioLabel).attrs({
521
- 'data-garden-id': COMPONENT_ID$w,
522
- 'data-garden-version': '9.0.0-next.1'
520
+ 'data-garden-id': COMPONENT_ID$s,
521
+ 'data-garden-version': '9.0.0-next.3'
523
522
  }).withConfig({
524
523
  displayName: "StyledCheckLabel",
525
524
  componentId: "sc-x7nr1-0"
526
- })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$w, props));
525
+ })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$s, props));
527
526
  StyledCheckLabel.defaultProps = {
528
527
  theme: reactTheming.DEFAULT_THEME
529
528
  };
530
529
 
531
- const COMPONENT_ID$v = 'forms.radio_hint';
530
+ const COMPONENT_ID$r = 'forms.radio_hint';
532
531
  const StyledRadioHint = styled__default.default(StyledHint).attrs({
533
- 'data-garden-id': COMPONENT_ID$v,
534
- 'data-garden-version': '9.0.0-next.1'
532
+ 'data-garden-id': COMPONENT_ID$r,
533
+ 'data-garden-version': '9.0.0-next.3'
535
534
  }).withConfig({
536
535
  displayName: "StyledRadioHint",
537
536
  componentId: "sc-eo8twg-0"
538
- })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 6px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$v, props));
537
+ })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 6px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$r, props));
539
538
  StyledRadioHint.defaultProps = {
540
539
  theme: reactTheming.DEFAULT_THEME
541
540
  };
542
541
 
543
- const COMPONENT_ID$u = 'forms.checkbox_hint';
542
+ const COMPONENT_ID$q = 'forms.checkbox_hint';
544
543
  const StyledCheckHint = styled__default.default(StyledRadioHint).attrs({
545
- 'data-garden-id': COMPONENT_ID$u,
546
- 'data-garden-version': '9.0.0-next.1'
544
+ 'data-garden-id': COMPONENT_ID$q,
545
+ 'data-garden-version': '9.0.0-next.3'
547
546
  }).withConfig({
548
547
  displayName: "StyledCheckHint",
549
548
  componentId: "sc-1kl8e8c-0"
550
- })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$u, props));
549
+ })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$q, props));
551
550
  StyledCheckHint.defaultProps = {
552
551
  theme: reactTheming.DEFAULT_THEME
553
552
  };
554
553
 
555
- const COMPONENT_ID$t = 'forms.radio';
556
- const colorStyles$9 = props => {
554
+ const COMPONENT_ID$p = 'forms.radio';
555
+ const colorStyles$7 = props => {
557
556
  const SHADE = 600;
558
557
  const borderColor = reactTheming.getColor('neutralHue', SHADE - 300, props.theme);
559
558
  const backgroundColor = props.theme.colors.background;
@@ -578,7 +577,7 @@ const colorStyles$9 = props => {
578
577
  selector: `&:focus-visible ~ ${StyledRadioLabel}::before, &[data-garden-focus-visible='true'] ~ ${StyledRadioLabel}::before`
579
578
  }), StyledRadioLabel, activeBorderColor, activeBackgroundColor, StyledRadioLabel, checkedBorderColor, checkedBackgroundColor, StyledRadioLabel, checkedHoverBorderColor, checkedHoverBackgroundColor, StyledRadioLabel, checkedActiveBorderColor, checkedActiveBackgroundColor, StyledRadioLabel, disabledBackgroundColor);
580
579
  };
581
- const sizeStyles$c = props => {
580
+ const sizeStyles$9 = props => {
582
581
  const lineHeight = `${props.theme.space.base * 5}px`;
583
582
  const size = `${props.theme.space.base * 4}px`;
584
583
  const top = polished.math(`(${lineHeight} - ${size}) / 2`);
@@ -589,19 +588,19 @@ const sizeStyles$c = props => {
589
588
  return styled.css(["top:", ";width:", ";height:", ";& ~ ", "::before{top:", ";background-size:", ";width:", ";height:", ";box-sizing:border-box;}& ~ ", " > svg{top:", ";", ":", ";width:", ";height:", ";}&& ~ ", " ~ ", "{margin-top:", ";}"], top, size, size, StyledRadioLabel, top, props.theme.iconSizes.sm, size, size, StyledRadioLabel, iconTop, props.theme.rtl ? 'right' : 'left', iconPosition, iconSize, iconSize, StyledRadioLabel, StyledMessage, marginTop);
590
589
  };
591
590
  const StyledRadioInput = styled__default.default.input.attrs({
592
- 'data-garden-id': COMPONENT_ID$t,
593
- 'data-garden-version': '9.0.0-next.1',
591
+ 'data-garden-id': COMPONENT_ID$p,
592
+ 'data-garden-version': '9.0.0-next.3',
594
593
  type: 'radio'
595
594
  }).withConfig({
596
595
  displayName: "StyledRadioInput",
597
596
  componentId: "sc-qsavpv-0"
598
- })(["position:absolute;opacity:0;margin:0;& ~ ", "::before{position:absolute;", ":0;transition:border-color .25s ease-in-out,box-shadow .1s ease-in-out,background-color .25s ease-in-out,color .25s ease-in-out;border:", ";border-radius:50%;background-repeat:no-repeat;background-position:center;content:'';}& ~ ", " > svg{position:absolute;}", ";&:focus ~ ", "::before{outline:none;}& ~ ", ":active::before{transition:border-color 0.1s ease-in-out,background-color 0.1s ease-in-out,color 0.1s ease-in-out;}", ";&:disabled ~ ", "{cursor:default;}", ";"], StyledRadioLabel, props => props.theme.rtl ? 'right' : 'left', props => props.theme.borders.sm, StyledRadioLabel, props => sizeStyles$c(props), StyledRadioLabel, StyledRadioLabel, props => colorStyles$9(props), StyledRadioLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$t, props));
597
+ })(["position:absolute;opacity:0;margin:0;& ~ ", "::before{position:absolute;", ":0;transition:border-color .25s ease-in-out,box-shadow .1s ease-in-out,background-color .25s ease-in-out,color .25s ease-in-out;border:", ";border-radius:50%;background-repeat:no-repeat;background-position:center;content:'';}& ~ ", " > svg{position:absolute;}", ";&:focus ~ ", "::before{outline:none;}& ~ ", ":active::before{transition:border-color 0.1s ease-in-out,background-color 0.1s ease-in-out,color 0.1s ease-in-out;}", ";&:disabled ~ ", "{cursor:default;}", ";"], StyledRadioLabel, props => props.theme.rtl ? 'right' : 'left', props => props.theme.borders.sm, StyledRadioLabel, props => sizeStyles$9(props), StyledRadioLabel, StyledRadioLabel, props => colorStyles$7(props), StyledRadioLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$p, props));
599
598
  StyledRadioInput.defaultProps = {
600
599
  theme: reactTheming.DEFAULT_THEME
601
600
  };
602
601
 
603
- const COMPONENT_ID$s = 'forms.checkbox';
604
- const colorStyles$8 = props => {
602
+ const COMPONENT_ID$o = 'forms.checkbox';
603
+ const colorStyles$6 = props => {
605
604
  const SHADE = 600;
606
605
  const indeterminateBorderColor = reactTheming.getColor('primaryHue', SHADE, props.theme);
607
606
  const indeterminateBackgroundColor = indeterminateBorderColor;
@@ -611,37 +610,37 @@ const colorStyles$8 = props => {
611
610
  return styled.css(["&:indeterminate ~ ", "::before{border-color:", ";background-color:", ";}&:enabled:indeterminate ~ ", ":active::before{border-color:", ";background-color:", ";}&:disabled:indeterminate ~ ", "::before{border-color:transparent;background-color:", ";}"], StyledCheckLabel, indeterminateBorderColor, indeterminateBackgroundColor, StyledCheckLabel, indeterminateActiveBorderColor, indeterminateActiveBackgroundColor, StyledCheckLabel, indeterminateDisabledBackgroundColor);
612
611
  };
613
612
  const StyledCheckInput = styled__default.default(StyledRadioInput).attrs({
614
- 'data-garden-id': COMPONENT_ID$s,
615
- 'data-garden-version': '9.0.0-next.1',
613
+ 'data-garden-id': COMPONENT_ID$o,
614
+ 'data-garden-version': '9.0.0-next.3',
616
615
  type: 'checkbox'
617
616
  }).withConfig({
618
617
  displayName: "StyledCheckInput",
619
618
  componentId: "sc-176jxxe-0"
620
- })(["& ~ ", "::before{border-radius:", ";}", ";", ";"], StyledCheckLabel, props => props.theme.borderRadii.md, props => colorStyles$8(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$s, props));
619
+ })(["& ~ ", "::before{border-radius:", ";}", ";", ";"], StyledCheckLabel, props => props.theme.borderRadii.md, props => colorStyles$6(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$o, props));
621
620
  StyledCheckInput.defaultProps = {
622
621
  theme: reactTheming.DEFAULT_THEME
623
622
  };
624
623
 
625
- const COMPONENT_ID$r = 'forms.radio_message';
624
+ const COMPONENT_ID$n = 'forms.radio_message';
626
625
  const StyledRadioMessage = styled__default.default(StyledMessage).attrs({
627
- 'data-garden-id': COMPONENT_ID$r,
628
- 'data-garden-version': '9.0.0-next.1'
626
+ 'data-garden-id': COMPONENT_ID$n,
627
+ 'data-garden-version': '9.0.0-next.3'
629
628
  }).withConfig({
630
629
  displayName: "StyledRadioMessage",
631
630
  componentId: "sc-1pmi0q8-0"
632
- })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 6px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$r, props));
631
+ })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 6px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$n, props));
633
632
  StyledRadioMessage.defaultProps = {
634
633
  theme: reactTheming.DEFAULT_THEME
635
634
  };
636
635
 
637
- const COMPONENT_ID$q = 'forms.checkbox_message';
636
+ const COMPONENT_ID$m = 'forms.checkbox_message';
638
637
  const StyledCheckMessage = styled__default.default(StyledRadioMessage).attrs({
639
- 'data-garden-id': COMPONENT_ID$q,
640
- 'data-garden-version': '9.0.0-next.1'
638
+ 'data-garden-id': COMPONENT_ID$m,
639
+ 'data-garden-version': '9.0.0-next.3'
641
640
  }).withConfig({
642
641
  displayName: "StyledCheckMessage",
643
642
  componentId: "sc-s4p6kd-0"
644
- })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$q, props));
643
+ })(["", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$m, props));
645
644
  StyledCheckMessage.defaultProps = {
646
645
  theme: reactTheming.DEFAULT_THEME
647
646
  };
@@ -666,14 +665,14 @@ var SvgCheckSmFill = function SvgCheckSmFill(props) {
666
665
  })));
667
666
  };
668
667
 
669
- const COMPONENT_ID$p = 'forms.check_svg';
668
+ const COMPONENT_ID$l = 'forms.check_svg';
670
669
  const StyledCheckSvg = styled__default.default(SvgCheckSmFill).attrs({
671
- 'data-garden-id': COMPONENT_ID$p,
672
- 'data-garden-version': '9.0.0-next.1'
670
+ 'data-garden-id': COMPONENT_ID$l,
671
+ 'data-garden-version': '9.0.0-next.3'
673
672
  }).withConfig({
674
673
  displayName: "StyledCheckSvg",
675
674
  componentId: "sc-fvxetk-0"
676
- })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":checked ~ ", " > &{opacity:1;}", ":indeterminate ~ ", " > &{opacity:0;}", ";"], StyledCheckInput, StyledCheckLabel, StyledCheckInput, StyledCheckLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$p, props));
675
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":checked ~ ", " > &{opacity:1;}", ":indeterminate ~ ", " > &{opacity:0;}", ";"], StyledCheckInput, StyledCheckLabel, StyledCheckInput, StyledCheckLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$l, props));
677
676
  StyledCheckSvg.defaultProps = {
678
677
  theme: reactTheming.DEFAULT_THEME
679
678
  };
@@ -696,20 +695,20 @@ var SvgDashFill = function SvgDashFill(props) {
696
695
  })));
697
696
  };
698
697
 
699
- const COMPONENT_ID$o = 'forms.dash_svg';
698
+ const COMPONENT_ID$k = 'forms.dash_svg';
700
699
  const StyledDashSvg = styled__default.default(SvgDashFill).attrs({
701
- 'data-garden-id': COMPONENT_ID$o,
702
- 'data-garden-version': '9.0.0-next.1'
700
+ 'data-garden-id': COMPONENT_ID$k,
701
+ 'data-garden-version': '9.0.0-next.3'
703
702
  }).withConfig({
704
703
  displayName: "StyledDashSvg",
705
704
  componentId: "sc-z3vq71-0"
706
- })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":indeterminate ~ ", " > &{opacity:1;}", ";"], StyledCheckInput, StyledCheckLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$o, props));
705
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":indeterminate ~ ", " > &{opacity:1;}", ";"], StyledCheckInput, StyledCheckLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$k, props));
707
706
  StyledDashSvg.defaultProps = {
708
707
  theme: reactTheming.DEFAULT_THEME
709
708
  };
710
709
 
711
- const COMPONENT_ID$n = 'forms.file_upload';
712
- const colorStyles$7 = props => {
710
+ const COMPONENT_ID$j = 'forms.file_upload';
711
+ const colorStyles$5 = props => {
713
712
  const baseColor = reactTheming.getColor('primaryHue', 600, props.theme);
714
713
  const hoverColor = reactTheming.getColor('primaryHue', 700, props.theme);
715
714
  const activeColor = reactTheming.getColor('primaryHue', 800, props.theme);
@@ -720,7 +719,7 @@ const colorStyles$7 = props => {
720
719
  hue: baseColor
721
720
  }), activeColor, polished.rgba(baseColor, 0.2), activeColor, disabledForegroundColor, disabledBackgroundColor, disabledForegroundColor);
722
721
  };
723
- const sizeStyles$b = props => {
722
+ const sizeStyles$8 = props => {
724
723
  const marginTop = `${props.theme.space.base * (props.isCompact ? 1 : 2)}px`;
725
724
  const paddingHorizontal = `${props.isCompact ? 2 : 4}em`;
726
725
  const paddingVertical = polished.math(`${props.theme.space.base * (props.isCompact ? 2.5 : 5)} - ${props.theme.borderWidths.sm}`);
@@ -729,30 +728,30 @@ const sizeStyles$b = props => {
729
728
  return styled.css(["padding:", " ", ";min-width:4em;line-height:", ";font-size:", ";", ":not([hidden]) + &&,", " + &&,", " + &&,&& + ", ",&& + ", "{margin-top:", ";}"], paddingVertical, paddingHorizontal, lineHeight, fontSize, StyledLabel, StyledHint, StyledMessage, StyledHint, StyledMessage, marginTop);
730
729
  };
731
730
  const StyledFileUpload = styled__default.default.div.attrs({
732
- 'data-garden-id': COMPONENT_ID$n,
733
- 'data-garden-version': '9.0.0-next.1'
731
+ 'data-garden-id': COMPONENT_ID$j,
732
+ 'data-garden-version': '9.0.0-next.3'
734
733
  }).withConfig({
735
734
  displayName: "StyledFileUpload",
736
735
  componentId: "sc-1rodjgn-0"
737
- })(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;direction:", ";transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out;border:dashed ", ";border-radius:", ";cursor:pointer;text-align:center;user-select:none;", ";&[aria-disabled='true']{cursor:default;}", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.borderWidths.sm, props => props.theme.borderRadii.md, sizeStyles$b, colorStyles$7, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$n, props));
736
+ })(["display:flex;align-items:center;justify-content:center;box-sizing:border-box;direction:", ";transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out,color 0.25s ease-in-out;border:dashed ", ";border-radius:", ";cursor:pointer;text-align:center;user-select:none;", ";&[aria-disabled='true']{cursor:default;}", ";", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => props.theme.borderWidths.sm, props => props.theme.borderRadii.md, sizeStyles$8, colorStyles$5, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$j, props));
738
737
  StyledFileUpload.defaultProps = {
739
738
  theme: reactTheming.DEFAULT_THEME
740
739
  };
741
740
 
742
- const COMPONENT_ID$m = 'forms.file.close';
741
+ const COMPONENT_ID$i = 'forms.file.close';
743
742
  const StyledFileClose = styled__default.default.button.attrs({
744
- 'data-garden-id': COMPONENT_ID$m,
745
- 'data-garden-version': '9.0.0-next.1'
743
+ 'data-garden-id': COMPONENT_ID$i,
744
+ 'data-garden-version': '9.0.0-next.3'
746
745
  }).withConfig({
747
746
  displayName: "StyledFileClose",
748
747
  componentId: "sc-1m31jbf-0"
749
- })(["display:flex;flex-shrink:0;align-items:center;justify-content:center;transition:opacity 0.25s ease-in-out;opacity:0.8;border:none;background:transparent;cursor:pointer;color:", ";appearance:none;&:hover{opacity:0.9;}&:focus{outline:none;}", ";"], props => props.theme.colors.foreground, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$m, props));
748
+ })(["display:flex;flex-shrink:0;align-items:center;justify-content:center;transition:opacity 0.25s ease-in-out;opacity:0.8;border:none;background:transparent;cursor:pointer;color:", ";appearance:none;&:hover{opacity:0.9;}&:focus{outline:none;}", ";"], props => props.theme.colors.foreground, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$i, props));
750
749
  StyledFileClose.defaultProps = {
751
750
  theme: reactTheming.DEFAULT_THEME
752
751
  };
753
752
 
754
- const COMPONENT_ID$l = 'forms.file';
755
- const colorStyles$6 = props => {
753
+ const COMPONENT_ID$h = 'forms.file';
754
+ const colorStyles$4 = props => {
756
755
  let borderColor;
757
756
  let focusBorderColor;
758
757
  let foregroundColor;
@@ -778,7 +777,7 @@ const colorStyles$6 = props => {
778
777
  }
779
778
  }));
780
779
  };
781
- const sizeStyles$a = props => {
780
+ const sizeStyles$7 = props => {
782
781
  const size = `${props.theme.space.base * (props.isCompact ? 7 : 10)}px`;
783
782
  const spacing = `${props.theme.space.base * (props.isCompact ? 2 : 3)}px`;
784
783
  const fontSize = props.theme.fontSizes.md;
@@ -804,29 +803,29 @@ const sizeStyles$a = props => {
804
803
  `;
805
804
  };
806
805
  const StyledFile = styled__default.default.div.attrs({
807
- 'data-garden-id': COMPONENT_ID$l,
808
- 'data-garden-version': '9.0.0-next.1'
806
+ 'data-garden-id': COMPONENT_ID$h,
807
+ 'data-garden-version': '9.0.0-next.3'
809
808
  }).withConfig({
810
809
  displayName: "StyledFile",
811
810
  componentId: "sc-195lzp1-0"
812
- })(["display:flex;position:relative;flex-wrap:nowrap;align-items:center;transition:box-shadow 0.1s ease-in-out;", ";", ";& > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}& > [role='progressbar']{position:absolute;bottom:0;left:0;transition:opacity 0.2s ease-in-out;margin:0;border-top-left-radius:0;border-top-right-radius:0;width:100%;& > div{border-top-", "-radius:0;}}& > [role='progressbar'][aria-valuenow='0'],& > [role='progressbar'][aria-valuenow='100']{opacity:0;}", ";"], sizeStyles$a, colorStyles$6, props => props.theme.rtl ? 'right' : 'left', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$l, props));
811
+ })(["display:flex;position:relative;flex-wrap:nowrap;align-items:center;transition:box-shadow 0.1s ease-in-out;", ";", ";& > span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}& > [role='progressbar']{position:absolute;bottom:0;left:0;transition:opacity 0.2s ease-in-out;margin:0;border-top-left-radius:0;border-top-right-radius:0;width:100%;& > div{border-top-", "-radius:0;}}& > [role='progressbar'][aria-valuenow='0'],& > [role='progressbar'][aria-valuenow='100']{opacity:0;}", ";"], sizeStyles$7, colorStyles$4, props => props.theme.rtl ? 'right' : 'left', props => reactTheming.retrieveComponentStyles(COMPONENT_ID$h, props));
813
812
  StyledFile.defaultProps = {
814
813
  theme: reactTheming.DEFAULT_THEME
815
814
  };
816
815
 
817
- const COMPONENT_ID$k = 'forms.file.delete';
816
+ const COMPONENT_ID$g = 'forms.file.delete';
818
817
  const StyledFileDelete = styled__default.default(StyledFileClose).attrs({
819
- 'data-garden-id': COMPONENT_ID$k,
820
- 'data-garden-version': '9.0.0-next.1'
818
+ 'data-garden-id': COMPONENT_ID$g,
819
+ 'data-garden-version': '9.0.0-next.3'
821
820
  }).withConfig({
822
821
  displayName: "StyledFileDelete",
823
822
  componentId: "sc-a8nnhx-0"
824
- })(["color:", ";", ";"], props => reactTheming.getColor('dangerHue', 600, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$k, props));
823
+ })(["color:", ";", ";"], props => reactTheming.getColor('dangerHue', 600, props.theme), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$g, props));
825
824
  StyledFileDelete.defaultProps = {
826
825
  theme: reactTheming.DEFAULT_THEME
827
826
  };
828
827
 
829
- const COMPONENT_ID$j = 'forms.file.icon';
828
+ const COMPONENT_ID$f = 'forms.file.icon';
830
829
  const StyledFileIcon = styled__default.default(_ref => {
831
830
  let {
832
831
  children,
@@ -836,36 +835,36 @@ const StyledFileIcon = styled__default.default(_ref => {
836
835
  } = _ref;
837
836
  return React__namespace.default.cloneElement(React.Children.only(children), props);
838
837
  }).attrs({
839
- 'data-garden-id': COMPONENT_ID$j,
840
- 'data-garden-version': '9.0.0-next.1'
838
+ 'data-garden-id': COMPONENT_ID$f,
839
+ 'data-garden-version': '9.0.0-next.3'
841
840
  }).withConfig({
842
841
  displayName: "StyledFileIcon",
843
842
  componentId: "sc-7b3q0c-0"
844
- })(["flex-shrink:0;width:", ";margin-", ":", "px;", ";"], props => props.isCompact ? props.theme.iconSizes.sm : props.theme.iconSizes.md, props => props.theme.rtl ? 'left' : 'right', props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$j, props));
843
+ })(["flex-shrink:0;width:", ";margin-", ":", "px;", ";"], props => props.isCompact ? props.theme.iconSizes.sm : props.theme.iconSizes.md, props => props.theme.rtl ? 'left' : 'right', props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$f, props));
845
844
  StyledFileIcon.defaultProps = {
846
845
  theme: reactTheming.DEFAULT_THEME
847
846
  };
848
847
 
849
- const COMPONENT_ID$i = 'forms.file_list';
848
+ const COMPONENT_ID$e = 'forms.file_list';
850
849
  const StyledFileList = styled__default.default.ul.attrs({
851
- 'data-garden-id': COMPONENT_ID$i,
852
- 'data-garden-version': '9.0.0-next.1'
850
+ 'data-garden-id': COMPONENT_ID$e,
851
+ 'data-garden-version': '9.0.0-next.3'
853
852
  }).withConfig({
854
853
  displayName: "StyledFileList",
855
854
  componentId: "sc-gbahjg-0"
856
- })(["margin:0;padding:0;list-style:none;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$i, props));
855
+ })(["margin:0;padding:0;list-style:none;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$e, props));
857
856
  StyledFileList.defaultProps = {
858
857
  theme: reactTheming.DEFAULT_THEME
859
858
  };
860
859
 
861
- const COMPONENT_ID$h = 'forms.file_list.item';
860
+ const COMPONENT_ID$d = 'forms.file_list.item';
862
861
  const StyledFileListItem = styled__default.default.li.attrs({
863
- 'data-garden-id': COMPONENT_ID$h,
864
- 'data-garden-version': '9.0.0-next.1'
862
+ 'data-garden-id': COMPONENT_ID$d,
863
+ 'data-garden-version': '9.0.0-next.3'
865
864
  }).withConfig({
866
865
  displayName: "StyledFileListItem",
867
866
  componentId: "sc-1ova3lo-0"
868
- })(["&:not(:first-child),", " ~ ", " > &:first-child{margin-top:", "px;}", ";"], StyledFileUpload, StyledFileList, props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$h, props));
867
+ })(["&:not(:first-child),", " ~ ", " > &:first-child{margin-top:", "px;}", ";"], StyledFileUpload, StyledFileList, props => props.theme.space.base * 2, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$d, props));
869
868
  StyledFileListItem.defaultProps = {
870
869
  theme: reactTheming.DEFAULT_THEME
871
870
  };
@@ -888,56 +887,56 @@ var SvgCircleSmFill$1 = function SvgCircleSmFill(props) {
888
887
  })));
889
888
  };
890
889
 
891
- const COMPONENT_ID$g = 'forms.radio_svg';
890
+ const COMPONENT_ID$c = 'forms.radio_svg';
892
891
  const StyledRadioSvg = styled__default.default(SvgCircleSmFill$1).attrs({
893
- 'data-garden-id': COMPONENT_ID$g,
894
- 'data-garden-version': '9.0.0-next.1'
892
+ 'data-garden-id': COMPONENT_ID$c,
893
+ 'data-garden-version': '9.0.0-next.3'
895
894
  }).withConfig({
896
895
  displayName: "StyledRadioSvg",
897
896
  componentId: "sc-1r1qtr1-0"
898
- })(["transition:opacity 0.25s ease-in-out;opacity:0;", ":checked ~ ", " > &{opacity:1;}", ";"], StyledRadioInput, StyledRadioLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$g, props));
897
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;", ":checked ~ ", " > &{opacity:1;}", ";"], StyledRadioInput, StyledRadioLabel, props => reactTheming.retrieveComponentStyles(COMPONENT_ID$c, props));
899
898
  StyledRadioSvg.defaultProps = {
900
899
  theme: reactTheming.DEFAULT_THEME
901
900
  };
902
901
 
903
- const COMPONENT_ID$f = 'forms.toggle_label';
904
- const sizeStyles$9 = props => {
902
+ const COMPONENT_ID$b = 'forms.toggle_label';
903
+ const sizeStyles$6 = props => {
905
904
  const size = props.theme.space.base * 10;
906
905
  const padding = size + props.theme.space.base * 2;
907
906
  return styled.css(["padding-", ":", "px;&[hidden]{padding-", ":", "px;}"], props.theme.rtl ? 'right' : 'left', padding, props.theme.rtl ? 'right' : 'left', size);
908
907
  };
909
908
  const StyledToggleLabel = styled__default.default(StyledCheckLabel).attrs({
910
- 'data-garden-id': COMPONENT_ID$f,
911
- 'data-garden-version': '9.0.0-next.1'
909
+ 'data-garden-id': COMPONENT_ID$b,
910
+ 'data-garden-version': '9.0.0-next.3'
912
911
  }).withConfig({
913
912
  displayName: "StyledToggleLabel",
914
913
  componentId: "sc-e0asdk-0"
915
- })(["", ";", ";"], props => sizeStyles$9(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$f, props));
914
+ })(["", ";", ";"], props => sizeStyles$6(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$b, props));
916
915
  StyledToggleLabel.defaultProps = {
917
916
  theme: reactTheming.DEFAULT_THEME
918
917
  };
919
918
 
920
- const COMPONENT_ID$e = 'forms.toggle_hint';
919
+ const COMPONENT_ID$a = 'forms.toggle_hint';
921
920
  const StyledToggleHint = styled__default.default(StyledHint).attrs({
922
- 'data-garden-id': COMPONENT_ID$e,
923
- 'data-garden-version': '9.0.0-next.1'
921
+ 'data-garden-id': COMPONENT_ID$a,
922
+ 'data-garden-version': '9.0.0-next.3'
924
923
  }).withConfig({
925
924
  displayName: "StyledToggleHint",
926
925
  componentId: "sc-nziggu-0"
927
- })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 12px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$e, props));
926
+ })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 12px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$a, props));
928
927
  StyledToggleHint.defaultProps = {
929
928
  theme: reactTheming.DEFAULT_THEME
930
929
  };
931
930
 
932
- const COMPONENT_ID$d = 'forms.toggle';
933
- const colorStyles$5 = props => {
931
+ const COMPONENT_ID$9 = 'forms.toggle';
932
+ const colorStyles$3 = props => {
934
933
  const SHADE = 600;
935
934
  const backgroundColor = reactTheming.getColor('neutralHue', SHADE - 100, props.theme);
936
935
  const hoverBackgroundColor = reactTheming.getColor('neutralHue', SHADE, props.theme);
937
936
  const activeBackgroundColor = reactTheming.getColor('neutralHue', SHADE + 100, props.theme);
938
937
  return styled.css(["& ~ ", "::before{background-color:", ";}&:enabled ~ ", ":hover::before{background-color:", ";}&:enabled ~ ", ":active::before{background-color:", ";}"], StyledToggleLabel, backgroundColor, StyledToggleLabel, hoverBackgroundColor, StyledToggleLabel, activeBackgroundColor);
939
938
  };
940
- const sizeStyles$8 = props => {
939
+ const sizeStyles$5 = props => {
941
940
  const height = `${props.theme.space.base * 5}px`;
942
941
  const width = `${props.theme.space.base * 10}px`;
943
942
  const iconSize = props.theme.iconSizes.md;
@@ -946,24 +945,24 @@ const sizeStyles$8 = props => {
946
945
  return styled.css(["top:0;width:", ";height:", ";& ~ ", "::before{width:", ";height:", ";}& ~ ", " > svg{top:", ";", ":", ";width:", ";height:", ";}&:checked ~ ", " > svg{", ":", ";}"], width, height, StyledToggleLabel, width, height, StyledToggleLabel, iconPosition, props.theme.rtl ? 'right' : 'left', iconPosition, iconSize, iconSize, StyledToggleLabel, props.theme.rtl ? 'right' : 'left', checkedIconPosition);
947
946
  };
948
947
  const StyledToggleInput = styled__default.default(StyledCheckInput).attrs({
949
- 'data-garden-id': COMPONENT_ID$d,
950
- 'data-garden-version': '9.0.0-next.1'
948
+ 'data-garden-id': COMPONENT_ID$9,
949
+ 'data-garden-version': '9.0.0-next.3'
951
950
  }).withConfig({
952
951
  displayName: "StyledToggleInput",
953
952
  componentId: "sc-sgp47s-0"
954
- })(["& ~ ", "::before{top:0;transition:box-shadow .1s ease-in-out,background-color .15s ease-in-out,color .25s ease-in-out;border:none;border-radius:100px;}", ";", ";", ";"], StyledToggleLabel, props => sizeStyles$8(props), props => colorStyles$5(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$d, props));
953
+ })(["& ~ ", "::before{top:0;transition:box-shadow .1s ease-in-out,background-color .15s ease-in-out,color .25s ease-in-out;border:none;border-radius:100px;}", ";", ";", ";"], StyledToggleLabel, props => sizeStyles$5(props), props => colorStyles$3(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$9, props));
955
954
  StyledToggleInput.defaultProps = {
956
955
  theme: reactTheming.DEFAULT_THEME
957
956
  };
958
957
 
959
- const COMPONENT_ID$c = 'forms.toggle_message';
958
+ const COMPONENT_ID$8 = 'forms.toggle_message';
960
959
  const StyledToggleMessage = styled__default.default(StyledMessage).attrs({
961
- 'data-garden-id': COMPONENT_ID$c,
962
- 'data-garden-version': '9.0.0-next.1'
960
+ 'data-garden-id': COMPONENT_ID$8,
961
+ 'data-garden-version': '9.0.0-next.3'
963
962
  }).withConfig({
964
963
  displayName: "StyledToggleMessage",
965
964
  componentId: "sc-13vuvl1-0"
966
- })(["padding-", ":", ";& ", "{", ":", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 12px`), StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 10px - ${props.theme.iconSizes.md}`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$c, props));
965
+ })(["padding-", ":", ";& ", "{", ":", ";}", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 12px`), StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.theme.space.base} * 10px - ${props.theme.iconSizes.md}`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
967
966
  StyledToggleMessage.defaultProps = {
968
967
  theme: reactTheming.DEFAULT_THEME
969
968
  };
@@ -986,45 +985,45 @@ var SvgCircleSmFill = function SvgCircleSmFill(props) {
986
985
  })));
987
986
  };
988
987
 
989
- const COMPONENT_ID$b = 'forms.toggle_svg';
988
+ const COMPONENT_ID$7 = 'forms.toggle_svg';
990
989
  const StyledToggleSvg = styled__default.default(SvgCircleSmFill).attrs({
991
- 'data-garden-id': COMPONENT_ID$b,
992
- 'data-garden-version': '9.0.0-next.1'
990
+ 'data-garden-id': COMPONENT_ID$7,
991
+ 'data-garden-version': '9.0.0-next.3'
993
992
  }).withConfig({
994
993
  displayName: "StyledToggleSvg",
995
994
  componentId: "sc-162xbyx-0"
996
- })(["transition:all 0.15s ease-in-out;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$b, props));
995
+ })(["transition:all 0.15s ease-in-out;", ";"], props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
997
996
  StyledToggleSvg.defaultProps = {
998
997
  theme: reactTheming.DEFAULT_THEME
999
998
  };
1000
999
 
1001
- const COMPONENT_ID$a = 'forms.select';
1002
- const colorStyles$4 = props => {
1000
+ const COMPONENT_ID$6 = 'forms.select';
1001
+ const colorStyles$2 = props => {
1003
1002
  const color = reactTheming.getColor('neutralHue', 700, props.theme);
1004
1003
  return styled.css(["&:hover + ", ",&:focus + ", ",&:focus-visible + ", ",&[data-garden-focus-visible='true'] + ", "{color:", ";}"], StyledTextMediaFigure, StyledTextMediaFigure, StyledTextMediaFigure, StyledTextMediaFigure, color);
1005
1004
  };
1006
- const sizeStyles$7 = props => {
1005
+ const sizeStyles$4 = props => {
1007
1006
  const padding = polished.math(`${props.theme.iconSizes.md} + ${props.theme.space.base * 5}`);
1008
1007
  const iconVerticalPosition = `${props.theme.space.base * (props.isCompact ? 1.5 : 2.5) + 1}px`;
1009
1008
  const iconHorizontalPosition = `${props.theme.space.base * 3}px`;
1010
1009
  return styled.css(["padding-", ":", ";& + ", "{top:", ";", ":", ";}"], props.theme.rtl ? 'left' : 'right', !props.isBare && padding, StyledTextMediaFigure, iconVerticalPosition, props.theme.rtl ? 'left' : 'right', iconHorizontalPosition);
1011
1010
  };
1012
1011
  const StyledSelect = styled__default.default(StyledTextInput).attrs({
1013
- 'data-garden-id': COMPONENT_ID$a,
1014
- 'data-garden-version': '9.0.0-next.1',
1012
+ 'data-garden-id': COMPONENT_ID$6,
1013
+ 'data-garden-version': '9.0.0-next.3',
1015
1014
  as: 'select'
1016
1015
  }).withConfig({
1017
1016
  displayName: "StyledSelect",
1018
1017
  componentId: "sc-8xdxpt-0"
1019
- })(["cursor:pointer;text-overflow:ellipsis;", ";", ";&::-ms-expand{display:none;}&::-ms-value{background-color:transparent;color:inherit;}&:-moz-focusring{transition:none;text-shadow:0 0 0 ", ";color:transparent;}& + ", "{position:absolute;pointer-events:none;}"], props => sizeStyles$7(props), props => colorStyles$4(props), props => props.theme.colors.foreground, StyledTextMediaFigure);
1018
+ })(["cursor:pointer;text-overflow:ellipsis;", ";", ";&::-ms-expand{display:none;}&::-ms-value{background-color:transparent;color:inherit;}&:-moz-focusring{transition:none;text-shadow:0 0 0 ", ";color:transparent;}& + ", "{position:absolute;pointer-events:none;}"], props => sizeStyles$4(props), props => colorStyles$2(props), props => props.theme.colors.foreground, StyledTextMediaFigure);
1020
1019
  StyledSelect.defaultProps = {
1021
1020
  theme: reactTheming.DEFAULT_THEME
1022
1021
  };
1023
1022
 
1024
- const COMPONENT_ID$9 = 'forms.select_wrapper';
1023
+ const COMPONENT_ID$5 = 'forms.select_wrapper';
1025
1024
  const StyledSelectWrapper = styled__default.default(StyledTextFauxInput).attrs({
1026
- 'data-garden-id': COMPONENT_ID$9,
1027
- 'data-garden-version': '9.0.0-next.1'
1025
+ 'data-garden-id': COMPONENT_ID$5,
1026
+ 'data-garden-version': '9.0.0-next.3'
1028
1027
  }).withConfig({
1029
1028
  displayName: "StyledSelectWrapper",
1030
1029
  componentId: "sc-i7b6hw-0"
@@ -1033,7 +1032,7 @@ StyledSelectWrapper.defaultProps = {
1033
1032
  theme: reactTheming.DEFAULT_THEME
1034
1033
  };
1035
1034
 
1036
- const COMPONENT_ID$8 = 'forms.range';
1035
+ const COMPONENT_ID$4 = 'forms.range';
1037
1036
  const thumbStyles = function (styles) {
1038
1037
  let modifier = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
1039
1038
  return `
@@ -1078,7 +1077,7 @@ const trackLowerStyles = function (styles) {
1078
1077
  }
1079
1078
  `;
1080
1079
  };
1081
- const colorStyles$3 = props => {
1080
+ const colorStyles$1 = props => {
1082
1081
  const SHADE = 600;
1083
1082
  const thumbBackgroundColor = reactTheming.getColor('primaryHue', SHADE, props.theme);
1084
1083
  const thumbBorderColor = thumbBackgroundColor;
@@ -1127,7 +1126,7 @@ const colorStyles$3 = props => {
1127
1126
  background-color: ${trackDisabledLowerBackgroundColor};
1128
1127
  `, ':disabled'));
1129
1128
  };
1130
- const sizeStyles$6 = props => {
1129
+ const sizeStyles$3 = props => {
1131
1130
  const thumbSize = polished.math(`${props.theme.space.base} * 5px`);
1132
1131
  const trackHeight = polished.math(`${props.theme.space.base} * 1.5px`);
1133
1132
  const trackBorderRadius = trackHeight;
@@ -1148,8 +1147,8 @@ const sizeStyles$6 = props => {
1148
1147
  `));
1149
1148
  };
1150
1149
  const StyledRangeInput = styled__default.default.input.attrs(props => ({
1151
- 'data-garden-id': COMPONENT_ID$8,
1152
- 'data-garden-version': '9.0.0-next.1',
1150
+ 'data-garden-id': COMPONENT_ID$4,
1151
+ 'data-garden-version': '9.0.0-next.3',
1153
1152
  type: 'range',
1154
1153
  style: {
1155
1154
  backgroundSize: props.hasLowerTrack && props.backgroundSize
@@ -1166,113 +1165,19 @@ const StyledRangeInput = styled__default.default.input.attrs(props => ({
1166
1165
  width: 99.8%; /* fix for IE which cuts off the upper track's border radius */
1167
1166
  color: transparent; /* reset for IE */
1168
1167
  box-sizing: border-box; /* reset for IE */
1169
- `), props => sizeStyles$6(props), props => thumbStyles(`
1168
+ `), props => sizeStyles$3(props), props => thumbStyles(`
1170
1169
  appearance: none;
1171
1170
  transition: box-shadow .1s ease-in-out;
1172
1171
  border: ${props.theme.borders.md};
1173
1172
  border-radius: 100%;
1174
1173
  box-sizing: border-box;
1175
- `), props => colorStyles$3(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$8, props));
1174
+ `), props => colorStyles$1(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
1176
1175
  StyledRangeInput.defaultProps = {
1177
1176
  backgroundSize: '0%',
1178
1177
  hasLowerTrack: true,
1179
1178
  theme: reactTheming.DEFAULT_THEME
1180
1179
  };
1181
1180
 
1182
- const COMPONENT_ID$7 = 'forms.slider';
1183
- const StyledSlider = styled__default.default.div.attrs({
1184
- 'data-garden-id': COMPONENT_ID$7,
1185
- 'data-garden-version': '9.0.0-next.1'
1186
- }).withConfig({
1187
- displayName: "StyledSlider",
1188
- componentId: "sc-1di437a-0"
1189
- })(["display:block;position:relative;z-index:0;cursor:pointer;height:", ";&[aria-disabled='true']{cursor:default;}", ":not([hidden]) + &,", " + &,", " + &,& + ", ",& + ", "{margin-top:", ";}", ";"], props => polished.math(`(${props.theme.space.base} * 5px) + (${props.theme.shadowWidths.md} * 2)`), StyledLabel, StyledHint, StyledMessage, StyledHint, StyledMessage, props => polished.math(`${props.theme.space.base} * 2px`), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$7, props));
1190
- StyledSlider.defaultProps = {
1191
- theme: reactTheming.DEFAULT_THEME
1192
- };
1193
-
1194
- const COMPONENT_ID$6 = 'forms.slider_thumb';
1195
- const colorStyles$2 = props => {
1196
- const SHADE = 600;
1197
- const backgroundColor = reactTheming.getColor('primaryHue', SHADE, props.theme);
1198
- const borderColor = backgroundColor;
1199
- const boxShadow = props.theme.shadows.lg(polished.math(`${props.theme.space.base} * 1px`), polished.math(`${props.theme.space.base} * 2px`), reactTheming.getColor('neutralHue', SHADE + 200, props.theme, 0.24));
1200
- const activeBackgroundColor = reactTheming.getColor('primaryHue', SHADE + 100, props.theme);
1201
- const activeBorderColor = borderColor;
1202
- const hoverBackgroundColor = activeBackgroundColor;
1203
- const hoverBorderColor = hoverBackgroundColor;
1204
- const disabledBackgroundColor = reactTheming.getColor('neutralHue', SHADE - 300, props.theme);
1205
- const disabledBorderColor = disabledBackgroundColor;
1206
- return styled.css(["border-color:", ";box-shadow:", ";background-color:", ";&:hover,&[data-garden-hover='true']{border-color:", ";background-color:", ";}", " &:active,&[data-garden-active='true']{border-color:", ";background-color:", ";}&[aria-disabled='true']{border-color:", ";box-shadow:none;background-color:", ";}"], borderColor, boxShadow, backgroundColor, hoverBorderColor, hoverBackgroundColor, reactTheming.focusStyles({
1207
- theme: props.theme
1208
- }), activeBorderColor, activeBackgroundColor, disabledBorderColor, disabledBackgroundColor);
1209
- };
1210
- const sizeStyles$5 = props => {
1211
- const size = polished.math(`${props.theme.space.base} * 5px`);
1212
- const marginTop = polished.math(`${size} / -2`);
1213
- return styled.css(["margin-top:", ";width:", ";height:", ";"], marginTop, size, size);
1214
- };
1215
- const StyledSliderThumb = styled__default.default.div.attrs(props => ({
1216
- 'data-garden-id': COMPONENT_ID$6,
1217
- 'data-garden-version': '9.0.0-next.1',
1218
- 'aria-disabled': props.isDisabled
1219
- })).withConfig({
1220
- displayName: "StyledSliderThumb",
1221
- componentId: "sc-yspbwa-0"
1222
- })(["appearance:none;position:absolute;top:50%;", ":", ";transition:border-color 0.25s ease-in-out,box-shadow 0.1s ease-in-out,background-color 0.25s ease-in-out;z-index:1;border:", ";border-radius:100%;cursor:inherit;box-sizing:border-box;font-size:0;", ";", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => polished.math(`${props.position} * 1px`), props => props.theme.borders.md, props => sizeStyles$5(props), props => colorStyles$2(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$6, props));
1223
- StyledSliderThumb.defaultProps = {
1224
- position: 0,
1225
- theme: reactTheming.DEFAULT_THEME
1226
- };
1227
-
1228
- const COMPONENT_ID$5 = 'forms.slider_track';
1229
- const colorStyles$1 = props => {
1230
- const SHADE = 600;
1231
- const backgroundColor = reactTheming.getColor('neutralHue', SHADE - 400, props.theme);
1232
- const backgroundImageColor = reactTheming.getColor('primaryHue', SHADE, props.theme);
1233
- const disabledBackgroundColor = reactTheming.getColor('neutralHue', SHADE - 300, props.theme);
1234
- return styled.css(["background-color:", ";background-image:linear-gradient(", ",", ");&[aria-disabled='true']{background-image:linear-gradient(", ",", ");}"], backgroundColor, backgroundImageColor, backgroundImageColor, disabledBackgroundColor, disabledBackgroundColor);
1235
- };
1236
- const sizeStyles$4 = props => {
1237
- const height = polished.math(`${props.theme.space.base} * 1.5px`);
1238
- const backgroundPosition = polished.math(`${props.backgroundPosition} * 1px`);
1239
- const backgroundSize = polished.math(`${props.backgroundSize} * 1px`);
1240
- const borderRadius = height;
1241
- const marginTop = polished.math(`${height} / -2`);
1242
- const padding = polished.math(`${props.theme.space.base} * 2.5px`);
1243
- return styled.css(["margin-top:", ";border-radius:", ";background-position:", ";background-size:", ";padding:0 ", ";"], marginTop, borderRadius, backgroundPosition, backgroundSize, padding);
1244
- };
1245
- const StyledSliderTrack = styled__default.default.div.attrs(props => ({
1246
- 'data-garden-id': COMPONENT_ID$5,
1247
- 'data-garden-version': '9.0.0-next.1',
1248
- 'aria-disabled': props.isDisabled
1249
- })).withConfig({
1250
- displayName: "StyledSliderTrack",
1251
- componentId: "sc-aw5m6g-0"
1252
- })(["position:absolute;top:50%;box-sizing:border-box;background-origin:content-box;background-repeat:repeat-y;width:100%;", ";", ";", ";"], props => sizeStyles$4(props), props => colorStyles$1(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$5, props));
1253
- StyledSliderTrack.defaultProps = {
1254
- backgroundSize: 0,
1255
- backgroundPosition: 0,
1256
- theme: reactTheming.DEFAULT_THEME
1257
- };
1258
-
1259
- const COMPONENT_ID$4 = 'forms.slider_track_rail';
1260
- const sizeStyles$3 = props => {
1261
- const height = polished.math(`${props.theme.space.base} * 1.5px`);
1262
- const margin = polished.math(`${props.theme.space.base} * 2.5px`);
1263
- return styled.css(["margin:0 ", " 0 ", ";height:", ";"], props.theme.rtl ? `-${margin}` : margin, props.theme.rtl ? margin : `-${margin}`, height);
1264
- };
1265
- const StyledSliderTrackRail = styled__default.default.div.attrs({
1266
- 'data-garden-id': COMPONENT_ID$4,
1267
- 'data-garden-version': '9.0.0-next.1'
1268
- }).withConfig({
1269
- displayName: "StyledSliderTrackRail",
1270
- componentId: "sc-1o5owbd-0"
1271
- })(["position:relative;", ";", ";"], props => sizeStyles$3(props), props => reactTheming.retrieveComponentStyles(COMPONENT_ID$4, props));
1272
- StyledSliderTrackRail.defaultProps = {
1273
- theme: reactTheming.DEFAULT_THEME
1274
- };
1275
-
1276
1181
  const COMPONENT_ID$3 = 'forms.tile_icon';
1277
1182
  const sizeStyles$2 = props => {
1278
1183
  const iconSize = polished.math(`${props.theme.iconSizes.md} * 2`);
@@ -1291,7 +1196,7 @@ const sizeStyles$2 = props => {
1291
1196
  };
1292
1197
  const StyledTileIcon = styled__default.default.span.attrs({
1293
1198
  'data-garden-id': COMPONENT_ID$3,
1294
- 'data-garden-version': '9.0.0-next.1'
1199
+ 'data-garden-version': '9.0.0-next.3'
1295
1200
  }).withConfig({
1296
1201
  displayName: "StyledTileIcon",
1297
1202
  componentId: "sc-1wazhg4-0"
@@ -1332,7 +1237,7 @@ const colorStyles = props => {
1332
1237
  };
1333
1238
  const StyledTile = styled__default.default.label.attrs(props => ({
1334
1239
  'data-garden-id': COMPONENT_ID$2,
1335
- 'data-garden-version': '9.0.0-next.1',
1240
+ 'data-garden-version': '9.0.0-next.3',
1336
1241
  'data-garden-selected': props.isSelected
1337
1242
  })).withConfig({
1338
1243
  displayName: "StyledTile",
@@ -1356,7 +1261,7 @@ const sizeStyles$1 = props => {
1356
1261
  };
1357
1262
  const StyledTileDescription = styled__default.default.span.attrs({
1358
1263
  'data-garden-id': COMPONENT_ID$1,
1359
- 'data-garden-version': '9.0.0-next.1'
1264
+ 'data-garden-version': '9.0.0-next.3'
1360
1265
  }).withConfig({
1361
1266
  displayName: "StyledTileDescription",
1362
1267
  componentId: "sc-xfuu7u-0"
@@ -1389,7 +1294,7 @@ const sizeStyles = props => {
1389
1294
  };
1390
1295
  const StyledTileLabel = styled__default.default.span.attrs({
1391
1296
  'data-garden-id': COMPONENT_ID,
1392
- 'data-garden-version': '9.0.0-next.1'
1297
+ 'data-garden-version': '9.0.0-next.3'
1393
1298
  }).withConfig({
1394
1299
  displayName: "StyledTileLabel",
1395
1300
  componentId: "sc-1mypv27-0"
@@ -1403,7 +1308,6 @@ const Field = React__namespace.default.forwardRef((props, ref) => {
1403
1308
  const [hasMessage, setHasMessage] = React.useState(false);
1404
1309
  const [isLabelActive, setIsLabelActive] = React.useState(false);
1405
1310
  const [isLabelHovered, setIsLabelHovered] = React.useState(false);
1406
- const multiThumbRangeRef = React.useRef(null);
1407
1311
  const {
1408
1312
  getInputProps,
1409
1313
  getMessageProps,
@@ -1424,8 +1328,7 @@ const Field = React__namespace.default.forwardRef((props, ref) => {
1424
1328
  hasHint,
1425
1329
  setHasHint,
1426
1330
  hasMessage,
1427
- setHasMessage,
1428
- multiThumbRangeRef
1331
+ setHasMessage
1429
1332
  }), [propGetters, getInputProps, getMessageProps, isLabelActive, isLabelHovered, hasHint, hasMessage]);
1430
1333
  return React__namespace.default.createElement(FieldContext.Provider, {
1431
1334
  value: fieldProps
@@ -1519,8 +1422,7 @@ const Label$1 = React__namespace.default.forwardRef((props, ref) => {
1519
1422
  if (type === undefined) {
1520
1423
  const {
1521
1424
  setIsLabelActive,
1522
- setIsLabelHovered,
1523
- multiThumbRangeRef
1425
+ setIsLabelHovered
1524
1426
  } = fieldContext;
1525
1427
  combinedProps = {
1526
1428
  ...combinedProps,
@@ -1535,9 +1437,6 @@ const Label$1 = React__namespace.default.forwardRef((props, ref) => {
1535
1437
  }),
1536
1438
  onMouseLeave: containerUtilities.composeEventHandlers(props.onMouseLeave, () => {
1537
1439
  setIsLabelHovered(false);
1538
- }),
1539
- onClick: containerUtilities.composeEventHandlers(props.onClick, () => {
1540
- multiThumbRangeRef.current && multiThumbRangeRef.current.focus();
1541
1440
  })
1542
1441
  };
1543
1442
  }
@@ -2049,110 +1948,6 @@ Select.propTypes = {
2049
1948
  };
2050
1949
  Select.displayName = 'Select';
2051
1950
 
2052
- const MIN = 0;
2053
- const MAX = 100;
2054
- const MultiThumbRange = React.forwardRef((_ref, ref) => {
2055
- let {
2056
- min = MIN,
2057
- max = MAX,
2058
- minValue,
2059
- maxValue,
2060
- disabled,
2061
- step,
2062
- jump,
2063
- onChange,
2064
- onMouseDown,
2065
- ...props
2066
- } = _ref;
2067
- const theme = React.useContext(styled.ThemeContext);
2068
- const environment = reactTheming.useDocument(theme);
2069
- const trackRailRef = React.useRef(null);
2070
- const minThumbRef = React.useRef(null);
2071
- const maxThumbRef = React.useRef(null);
2072
- const {
2073
- getTrackProps,
2074
- getMinThumbProps,
2075
- getMaxThumbProps,
2076
- trackRect,
2077
- minValue: updatedMinValue,
2078
- maxValue: updatedMaxValue
2079
- } = containerSlider.useSlider({
2080
- trackRef: trackRailRef,
2081
- minThumbRef,
2082
- maxThumbRef,
2083
- min,
2084
- max,
2085
- minValue,
2086
- maxValue,
2087
- onChange,
2088
- step,
2089
- jump,
2090
- disabled,
2091
- rtl: theme.rtl,
2092
- environment
2093
- });
2094
- const {
2095
- onMouseDown: onSliderMouseDown,
2096
- ...trackProps
2097
- } = getTrackProps({
2098
- onMouseDown
2099
- });
2100
- const fieldContext = useFieldContext();
2101
- const {
2102
- isLabelHovered,
2103
- isLabelActive,
2104
- multiThumbRangeRef
2105
- } = fieldContext || {};
2106
- React.useEffect(() => {
2107
- if (multiThumbRangeRef) {
2108
- multiThumbRangeRef.current = minThumbRef.current;
2109
- }
2110
- }, [multiThumbRangeRef]);
2111
- const minPosition = (updatedMinValue - min) / (max - min) * trackRect.width;
2112
- const maxPosition = (updatedMaxValue - min) / (max - min) * trackRect.width;
2113
- const sliderBackgroundSize = Math.abs(maxPosition) - Math.abs(minPosition);
2114
- return React__namespace.default.createElement(StyledSlider, _extends$t({
2115
- ref: ref,
2116
- onMouseDown: onSliderMouseDown
2117
- }, props), React__namespace.default.createElement(StyledSliderTrack, {
2118
- backgroundSize: sliderBackgroundSize,
2119
- backgroundPosition: theme.rtl ? trackRect.width - maxPosition : minPosition,
2120
- isDisabled: disabled
2121
- }, React__namespace.default.createElement(StyledSliderTrackRail, _extends$t({}, trackProps, {
2122
- ref: trackRailRef
2123
- }), React__namespace.default.createElement(StyledSliderThumb, _extends$t({}, getMinThumbProps({
2124
- 'aria-label': updatedMinValue
2125
- }), {
2126
- isDisabled: disabled,
2127
- position: minPosition,
2128
- ref: minThumbRef,
2129
- "data-garden-active": isLabelActive,
2130
- "data-garden-hover": isLabelHovered
2131
- })), React__namespace.default.createElement(StyledSliderThumb, _extends$t({}, getMaxThumbProps({
2132
- 'aria-label': updatedMaxValue
2133
- }), {
2134
- isDisabled: disabled,
2135
- position: maxPosition,
2136
- ref: maxThumbRef
2137
- })))));
2138
- });
2139
- MultiThumbRange.displayName = 'MultiThumbRange';
2140
- MultiThumbRange.propTypes = {
2141
- min: PropTypes__default.default.number,
2142
- max: PropTypes__default.default.number,
2143
- minValue: PropTypes__default.default.number,
2144
- maxValue: PropTypes__default.default.number,
2145
- step: PropTypes__default.default.number,
2146
- jump: PropTypes__default.default.number,
2147
- disabled: PropTypes__default.default.bool,
2148
- onChange: PropTypes__default.default.func
2149
- };
2150
- MultiThumbRange.defaultProps = {
2151
- min: MIN,
2152
- max: MAX,
2153
- step: 1
2154
- };
2155
-
2156
1951
  const TilesContext = React.createContext(undefined);
2157
1952
  const useTilesContext = () => {
2158
1953
  return React.useContext(TilesContext);
@@ -2956,7 +2751,6 @@ exports.InputGroup = InputGroup;
2956
2751
  exports.Label = Label$1;
2957
2752
  exports.MediaInput = MediaInput;
2958
2753
  exports.Message = Message;
2959
- exports.MultiThumbRange = MultiThumbRange;
2960
2754
  exports.Radio = Radio;
2961
2755
  exports.Range = Range;
2962
2756
  exports.Select = Select;