@zendeskgarden/react-forms 9.4.0 → 9.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/esm/styled/checkbox/StyledCheckHint.js +3 -3
  2. package/dist/esm/styled/checkbox/StyledCheckInput.js +3 -3
  3. package/dist/esm/styled/checkbox/StyledCheckLabel.js +3 -3
  4. package/dist/esm/styled/checkbox/StyledCheckMessage.js +3 -3
  5. package/dist/esm/styled/checkbox/StyledCheckSvg.js +3 -3
  6. package/dist/esm/styled/checkbox/StyledDashSvg.js +3 -3
  7. package/dist/esm/styled/common/StyledField.js +3 -3
  8. package/dist/esm/styled/common/StyledFieldset.js +3 -3
  9. package/dist/esm/styled/common/StyledHint.js +3 -3
  10. package/dist/esm/styled/common/StyledLabel.js +3 -3
  11. package/dist/esm/styled/common/StyledLegend.js +3 -3
  12. package/dist/esm/styled/common/StyledMessage.js +3 -3
  13. package/dist/esm/styled/common/StyledMessageIcon.js +3 -3
  14. package/dist/esm/styled/file-list/StyledFile.js +3 -3
  15. package/dist/esm/styled/file-list/StyledFileClose.js +3 -3
  16. package/dist/esm/styled/file-list/StyledFileDelete.js +3 -3
  17. package/dist/esm/styled/file-list/StyledFileIcon.js +3 -3
  18. package/dist/esm/styled/file-list/StyledFileList.js +3 -3
  19. package/dist/esm/styled/file-list/StyledFileListItem.js +3 -3
  20. package/dist/esm/styled/file-upload/StyledFileUpload.js +3 -3
  21. package/dist/esm/styled/input-group/StyledInputGroup.js +3 -3
  22. package/dist/esm/styled/radio/StyledRadioHint.js +3 -3
  23. package/dist/esm/styled/radio/StyledRadioInput.js +3 -3
  24. package/dist/esm/styled/radio/StyledRadioLabel.js +3 -3
  25. package/dist/esm/styled/radio/StyledRadioMessage.js +3 -3
  26. package/dist/esm/styled/radio/StyledRadioSvg.js +3 -3
  27. package/dist/esm/styled/range/StyledRangeInput.js +3 -3
  28. package/dist/esm/styled/select/StyledSelect.js +1 -1
  29. package/dist/esm/styled/select/StyledSelectWrapper.js +1 -1
  30. package/dist/esm/styled/text/StyledTextFauxInput.js +3 -3
  31. package/dist/esm/styled/text/StyledTextInput.js +3 -3
  32. package/dist/esm/styled/text/StyledTextMediaFigure.js +3 -3
  33. package/dist/esm/styled/text/StyledTextMediaInput.js +3 -3
  34. package/dist/esm/styled/text/StyledTextarea.js +3 -3
  35. package/dist/esm/styled/tiles/StyledTile.js +3 -3
  36. package/dist/esm/styled/tiles/StyledTileDescription.js +3 -3
  37. package/dist/esm/styled/tiles/StyledTileIcon.js +3 -3
  38. package/dist/esm/styled/tiles/StyledTileLabel.js +3 -3
  39. package/dist/esm/styled/toggle/StyledToggleHint.js +3 -3
  40. package/dist/esm/styled/toggle/StyledToggleInput.js +3 -3
  41. package/dist/esm/styled/toggle/StyledToggleLabel.js +3 -3
  42. package/dist/esm/styled/toggle/StyledToggleMessage.js +3 -3
  43. package/dist/esm/styled/toggle/StyledToggleSvg.js +3 -3
  44. package/dist/index.cjs.js +84 -84
  45. package/package.json +5 -5
@@ -5,16 +5,16 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledRadioHint } from '../radio/StyledRadioHint.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.checkbox_hint';
12
12
  const StyledCheckHint = styled(StyledRadioHint).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.1'
15
15
  }).withConfig({
16
16
  displayName: "StyledCheckHint",
17
17
  componentId: "sc-1kl8e8c-0"
18
- })(["", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
18
+ })(["", ";"], componentStyles);
19
19
 
20
20
  export { StyledCheckHint };
@@ -5,7 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, getColor } from '@zendeskgarden/react-theming';
9
9
  import { StyledRadioInput } from '../radio/StyledRadioInput.js';
10
10
  import { StyledCheckLabel } from './StyledCheckLabel.js';
11
11
 
@@ -65,11 +65,11 @@ const colorStyles = _ref => {
65
65
  };
66
66
  const StyledCheckInput = styled(StyledRadioInput).attrs({
67
67
  'data-garden-id': COMPONENT_ID,
68
- 'data-garden-version': '9.4.0',
68
+ 'data-garden-version': '9.5.1',
69
69
  type: 'checkbox'
70
70
  }).withConfig({
71
71
  displayName: "StyledCheckInput",
72
72
  componentId: "sc-176jxxe-0"
73
- })(["& ~ ", "::before{border-radius:", ";}", ";", ";"], StyledCheckLabel, props => props.theme.borderRadii.md, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
73
+ })(["& ~ ", "::before{border-radius:", ";}", ";", ";"], StyledCheckLabel, props => props.theme.borderRadii.md, colorStyles, componentStyles);
74
74
 
75
75
  export { StyledCheckInput };
@@ -5,16 +5,16 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledRadioLabel } from '../radio/StyledRadioLabel.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.checkbox_label';
12
12
  const StyledCheckLabel = styled(StyledRadioLabel).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.1'
15
15
  }).withConfig({
16
16
  displayName: "StyledCheckLabel",
17
17
  componentId: "sc-x7nr1-0"
18
- })(["", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
18
+ })(["", ";"], componentStyles);
19
19
 
20
20
  export { StyledCheckLabel };
@@ -5,16 +5,16 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledRadioMessage } from '../radio/StyledRadioMessage.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.checkbox_message';
12
12
  const StyledCheckMessage = styled(StyledRadioMessage).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.1'
15
15
  }).withConfig({
16
16
  displayName: "StyledCheckMessage",
17
17
  componentId: "sc-s4p6kd-0"
18
- })(["", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
18
+ })(["", ";"], componentStyles);
19
19
 
20
20
  export { StyledCheckMessage };
@@ -6,17 +6,17 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import SvgCheckSmFill from '../../node_modules/@zendeskgarden/svg-icons/src/12/check-sm-fill.svg.js';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledCheckInput } from './StyledCheckInput.js';
11
11
  import { StyledCheckLabel } from './StyledCheckLabel.js';
12
12
 
13
13
  const COMPONENT_ID = 'forms.check_svg';
14
14
  const StyledCheckSvg = styled(SvgCheckSmFill).attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.4.0'
16
+ 'data-garden-version': '9.5.1'
17
17
  }).withConfig({
18
18
  displayName: "StyledCheckSvg",
19
19
  componentId: "sc-fvxetk-0"
20
- })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":checked ~ ", " > &{opacity:1;}", ":indeterminate ~ ", " > &{opacity:0;}", ";"], StyledCheckInput, StyledCheckLabel, StyledCheckInput, StyledCheckLabel, props => retrieveComponentStyles(COMPONENT_ID, props));
20
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":checked ~ ", " > &{opacity:1;}", ":indeterminate ~ ", " > &{opacity:0;}", ";"], StyledCheckInput, StyledCheckLabel, StyledCheckInput, StyledCheckLabel, componentStyles);
21
21
 
22
22
  export { StyledCheckSvg };
@@ -6,17 +6,17 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import SvgDashFill from '../../node_modules/@zendeskgarden/svg-icons/src/12/dash-fill.svg.js';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledCheckInput } from './StyledCheckInput.js';
11
11
  import { StyledCheckLabel } from './StyledCheckLabel.js';
12
12
 
13
13
  const COMPONENT_ID = 'forms.dash_svg';
14
14
  const StyledDashSvg = styled(SvgDashFill).attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.4.0'
16
+ 'data-garden-version': '9.5.1'
17
17
  }).withConfig({
18
18
  displayName: "StyledDashSvg",
19
19
  componentId: "sc-z3vq71-0"
20
- })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":indeterminate ~ ", " > &{opacity:1;}", ";"], StyledCheckInput, StyledCheckLabel, props => retrieveComponentStyles(COMPONENT_ID, props));
20
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;pointer-events:none;", ":indeterminate ~ ", " > &{opacity:1;}", ";"], StyledCheckInput, StyledCheckLabel, componentStyles);
21
21
 
22
22
  export { StyledDashSvg };
@@ -5,15 +5,15 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.field';
11
11
  const StyledField = styled.div.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.1'
14
14
  }).withConfig({
15
15
  displayName: "StyledField",
16
16
  componentId: "sc-12gzfsu-0"
17
- })(["position:relative;direction:", ";margin:0;border:0;padding:0;font-size:0;", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', props => retrieveComponentStyles(COMPONENT_ID, props));
17
+ })(["position:relative;direction:", ";margin:0;border:0;padding:0;font-size:0;", ";"], props => props.theme.rtl ? 'rtl' : 'ltr', componentStyles);
18
18
 
19
19
  export { StyledField };
@@ -5,17 +5,17 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledField } from './StyledField.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.fieldset';
12
12
  const StyledFieldset = styled(StyledField).attrs({
13
13
  as: 'fieldset',
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.4.0'
15
+ 'data-garden-version': '9.5.1'
16
16
  }).withConfig({
17
17
  displayName: "StyledFieldset",
18
18
  componentId: "sc-1vr4mxv-0"
19
- })(["", "{margin-top:", "px;}", ";"], StyledField, props => props.theme.space.base * (props.$isCompact ? 1 : 2), props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ })(["", "{margin-top:", "px;}", ";"], StyledField, props => props.theme.space.base * (props.$isCompact ? 1 : 2), componentStyles);
20
20
 
21
21
  export { StyledFieldset };
@@ -5,18 +5,18 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { getLineHeight, getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { getLineHeight, getColor, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.input_hint';
11
11
  const StyledHint = styled.div.attrs(props => ({
12
12
  'data-garden-id': props['data-garden-id'] || COMPONENT_ID,
13
- 'data-garden-version': props['data-garden-version'] || '9.4.0'
13
+ 'data-garden-version': props['data-garden-version'] || '9.5.1'
14
14
  })).withConfig({
15
15
  displayName: "StyledHint",
16
16
  componentId: "sc-17c2wu8-0"
17
17
  })(["direction:", ";display:block;vertical-align:middle;line-height:", ";color:", ";font-size:", ";", ";"], props => props.theme.rtl && 'rtl', props => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => getColor({
18
18
  theme: props.theme,
19
19
  variable: 'foreground.subtle'
20
- }), props => props.theme.fontSizes.md, props => retrieveComponentStyles(COMPONENT_ID, props));
20
+ }), props => props.theme.fontSizes.md, componentStyles);
21
21
 
22
22
  export { StyledHint };
@@ -6,18 +6,18 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import { hideVisually } from 'polished';
9
- import { getLineHeight, getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { getLineHeight, getColor, componentStyles } from '@zendeskgarden/react-theming';
10
10
 
11
11
  const COMPONENT_ID = 'forms.input_label';
12
12
  const StyledLabel = styled.label.attrs(props => ({
13
13
  'data-garden-id': props['data-garden-id'] || COMPONENT_ID,
14
- 'data-garden-version': props['data-garden-version'] || '9.4.0'
14
+ 'data-garden-version': props['data-garden-version'] || '9.5.1'
15
15
  })).withConfig({
16
16
  displayName: "StyledLabel",
17
17
  componentId: "sc-2utmsz-0"
18
18
  })(["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 => getLineHeight(props.theme.space.base * 5, props.theme.fontSizes.md), props => getColor({
19
19
  theme: props.theme,
20
20
  variable: 'foreground.default'
21
- }), 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 && hideVisually(), props => retrieveComponentStyles(COMPONENT_ID, props));
21
+ }), 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 && hideVisually(), componentStyles);
22
22
 
23
23
  export { StyledLabel };
@@ -5,17 +5,17 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledLabel } from './StyledLabel.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.fieldset_legend';
12
12
  const StyledLegend = styled(StyledLabel).attrs({
13
13
  as: 'legend',
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.4.0'
15
+ 'data-garden-version': '9.5.1'
16
16
  }).withConfig({
17
17
  displayName: "StyledLegend",
18
18
  componentId: "sc-6s0zwq-0"
19
- })(["padding:0;", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ })(["padding:0;", ";"], componentStyles);
20
20
 
21
21
  export { StyledLegend };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles, getColor, getLineHeight } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, getColor, getLineHeight } from '@zendeskgarden/react-theming';
10
10
  import { StyledMessageIcon } from './StyledMessageIcon.js';
11
11
  import { StyledLabel } from './StyledLabel.js';
12
12
 
@@ -45,10 +45,10 @@ const sizeStyles = _ref2 => {
45
45
  };
46
46
  const StyledMessage = styled.div.attrs(props => ({
47
47
  'data-garden-id': props['data-garden-id'] || COMPONENT_ID,
48
- 'data-garden-version': props['data-garden-version'] || '9.4.0'
48
+ 'data-garden-version': props['data-garden-version'] || '9.5.1'
49
49
  })).withConfig({
50
50
  displayName: "StyledMessage",
51
51
  componentId: "sc-30hgg7-0"
52
- })(["direction:", ";display:inline-block;position:relative;vertical-align:middle;", ";", ";& ", "{position:absolute;top:-1px;", ":0;}", ":not([hidden]) + &{display:block;}", ";"], props => props.theme.rtl && 'rtl', sizeStyles, colorStyles, StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', StyledLabel, props => retrieveComponentStyles(COMPONENT_ID, props));
52
+ })(["direction:", ";display:inline-block;position:relative;vertical-align:middle;", ";", ";& ", "{position:absolute;top:-1px;", ":0;}", ":not([hidden]) + &{display:block;}", ";"], props => props.theme.rtl && 'rtl', sizeStyles, colorStyles, StyledMessageIcon, props => props.theme.rtl ? 'right' : 'left', StyledLabel, componentStyles);
53
53
 
54
54
  export { StyledMessage };
@@ -5,15 +5,15 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { StyledBaseIcon, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { StyledBaseIcon, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.input_message_icon';
11
11
  const StyledMessageIcon = styled(StyledBaseIcon).attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.1'
14
14
  }).withConfig({
15
15
  displayName: "StyledMessageIcon",
16
16
  componentId: "sc-1ph2gba-0"
17
- })(["width:", ";height:", ";", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, props => retrieveComponentStyles(COMPONENT_ID, props));
17
+ })(["width:", ";height:", ";", ";"], props => props.theme.iconSizes.md, props => props.theme.iconSizes.md, componentStyles);
18
18
 
19
19
  export { StyledMessageIcon };
@@ -5,7 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
8
+ import { componentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
9
9
  import { StyledFileClose } from './StyledFileClose.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.file';
@@ -85,10 +85,10 @@ const sizeStyles = _ref2 => {
85
85
  };
86
86
  const StyledFile = styled.div.attrs({
87
87
  'data-garden-id': COMPONENT_ID,
88
- 'data-garden-version': '9.4.0'
88
+ 'data-garden-version': '9.5.1'
89
89
  }).withConfig({
90
90
  displayName: "StyledFile",
91
91
  componentId: "sc-195lzp1-0"
92
- })(["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, colorStyles, props => props.theme.rtl ? 'right' : 'left', props => retrieveComponentStyles(COMPONENT_ID, props));
92
+ })(["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, colorStyles, props => props.theme.rtl ? 'right' : 'left', componentStyles);
93
93
 
94
94
  export { StyledFile };
@@ -5,18 +5,18 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { getColor, componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.file.close';
11
11
  const StyledFileClose = styled.button.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.1'
14
14
  }).withConfig({
15
15
  displayName: "StyledFileClose",
16
16
  componentId: "sc-1m31jbf-0"
17
17
  })(["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 => getColor({
18
18
  theme: props.theme,
19
19
  variable: 'foreground.subtle'
20
- }), props => retrieveComponentStyles(COMPONENT_ID, props));
20
+ }), componentStyles);
21
21
 
22
22
  export { StyledFileClose };
@@ -5,19 +5,19 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { getColor, retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { getColor, componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledFileClose } from './StyledFileClose.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.file.delete';
12
12
  const StyledFileDelete = styled(StyledFileClose).attrs({
13
13
  'data-garden-id': COMPONENT_ID,
14
- 'data-garden-version': '9.4.0'
14
+ 'data-garden-version': '9.5.1'
15
15
  }).withConfig({
16
16
  displayName: "StyledFileDelete",
17
17
  componentId: "sc-a8nnhx-0"
18
18
  })(["color:", ";", ";"], props => getColor({
19
19
  theme: props.theme,
20
20
  variable: 'foreground.danger'
21
- }), props => retrieveComponentStyles(COMPONENT_ID, props));
21
+ }), componentStyles);
22
22
 
23
23
  export { StyledFileDelete };
@@ -5,7 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { StyledBaseIcon, retrieveComponentStyles, getColor } from '@zendeskgarden/react-theming';
8
+ import { StyledBaseIcon, componentStyles, getColor } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.file.icon';
11
11
  const colorStyles = _ref => {
@@ -30,10 +30,10 @@ const sizeStyles = _ref2 => {
30
30
  };
31
31
  const StyledFileIcon = styled(StyledBaseIcon).attrs({
32
32
  'data-garden-id': COMPONENT_ID,
33
- 'data-garden-version': '9.4.0'
33
+ 'data-garden-version': '9.5.1'
34
34
  }).withConfig({
35
35
  displayName: "StyledFileIcon",
36
36
  componentId: "sc-7b3q0c-0"
37
- })(["flex-shrink:0;", ";", ";", ";"], sizeStyles, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
37
+ })(["flex-shrink:0;", ";", ";", ";"], sizeStyles, colorStyles, componentStyles);
38
38
 
39
39
  export { StyledFileIcon };
@@ -5,15 +5,15 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
 
10
10
  const COMPONENT_ID = 'forms.file_list';
11
11
  const StyledFileList = styled.ul.attrs({
12
12
  'data-garden-id': COMPONENT_ID,
13
- 'data-garden-version': '9.4.0'
13
+ 'data-garden-version': '9.5.1'
14
14
  }).withConfig({
15
15
  displayName: "StyledFileList",
16
16
  componentId: "sc-gbahjg-0"
17
- })(["margin:0;padding:0;list-style:none;", ";"], props => retrieveComponentStyles(COMPONENT_ID, props));
17
+ })(["margin:0;padding:0;list-style:none;", ";"], componentStyles);
18
18
 
19
19
  export { StyledFileList };
@@ -5,17 +5,17 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledFileList } from './StyledFileList.js';
10
10
  import { StyledFileUpload } from '../file-upload/StyledFileUpload.js';
11
11
 
12
12
  const COMPONENT_ID = 'forms.file_list.item';
13
13
  const StyledFileListItem = styled.li.attrs({
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.4.0'
15
+ 'data-garden-version': '9.5.1'
16
16
  }).withConfig({
17
17
  displayName: "StyledFileListItem",
18
18
  componentId: "sc-1ova3lo-0"
19
- })(["&:not(:first-child),", " ~ ", " > &:first-child{margin-top:", "px;}", ";"], StyledFileUpload, StyledFileList, props => props.theme.space.base * 2, props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ })(["&:not(:first-child),", " ~ ", " > &:first-child{margin-top:", "px;}", ";"], StyledFileUpload, StyledFileList, props => props.theme.space.base * 2, componentStyles);
20
20
 
21
21
  export { StyledFileListItem };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, getColor, focusStyles, getLineHeight } from '@zendeskgarden/react-theming';
10
10
  import { StyledLabel } from '../common/StyledLabel.js';
11
11
  import { StyledHint } from '../common/StyledHint.js';
12
12
  import { StyledMessage } from '../common/StyledMessage.js';
@@ -104,10 +104,10 @@ const sizeStyles = _ref2 => {
104
104
  };
105
105
  const StyledFileUpload = styled.div.attrs({
106
106
  'data-garden-id': COMPONENT_ID,
107
- 'data-garden-version': '9.4.0'
107
+ 'data-garden-version': '9.5.1'
108
108
  }).withConfig({
109
109
  displayName: "StyledFileUpload",
110
110
  componentId: "sc-1rodjgn-0"
111
- })(["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, colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
111
+ })(["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, colorStyles, componentStyles);
112
112
 
113
113
  export { StyledFileUpload };
@@ -5,7 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledTextInput } from '../text/StyledTextInput.js';
10
10
  import { StyledLabel } from '../common/StyledLabel.js';
11
11
  import { StyledHint } from '../common/StyledHint.js';
@@ -23,10 +23,10 @@ const itemStyles = props => {
23
23
  };
24
24
  const StyledInputGroup = styled.div.attrs({
25
25
  'data-garden-id': COMPONENT_ID,
26
- 'data-garden-version': '9.4.0'
26
+ 'data-garden-version': '9.5.1'
27
27
  }).withConfig({
28
28
  displayName: "StyledInputGroup",
29
29
  componentId: "sc-kjh1f0-0"
30
- })(["display:inline-flex;position:relative;flex-wrap:nowrap;align-items:stretch;z-index:0;width:100%;", ";", ";", ";"], props => positionStyles(props), props => itemStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
30
+ })(["display:inline-flex;position:relative;flex-wrap:nowrap;align-items:stretch;z-index:0;width:100%;", ";", ";", ";"], props => positionStyles(props), props => itemStyles(props), componentStyles);
31
31
 
32
32
  export { StyledInputGroup };
@@ -6,16 +6,16 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledHint } from '../common/StyledHint.js';
11
11
 
12
12
  const COMPONENT_ID = 'forms.radio_hint';
13
13
  const StyledRadioHint = styled(StyledHint).attrs({
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.4.0'
15
+ 'data-garden-version': '9.5.1'
16
16
  }).withConfig({
17
17
  displayName: "StyledRadioHint",
18
18
  componentId: "sc-eo8twg-0"
19
- })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 6px`), props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 6px`), componentStyles);
20
20
 
21
21
  export { StyledRadioHint };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles, getColor, focusStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, getColor, focusStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledRadioLabel } from './StyledRadioLabel.js';
11
11
  import { StyledMessage } from '../common/StyledMessage.js';
12
12
 
@@ -109,11 +109,11 @@ const sizeStyles = _ref2 => {
109
109
  };
110
110
  const StyledRadioInput = styled.input.attrs({
111
111
  'data-garden-id': COMPONENT_ID,
112
- 'data-garden-version': '9.4.0',
112
+ 'data-garden-version': '9.5.1',
113
113
  type: 'radio'
114
114
  }).withConfig({
115
115
  displayName: "StyledRadioInput",
116
116
  componentId: "sc-qsavpv-0"
117
- })(["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-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', StyledRadioLabel, sizeStyles, StyledRadioLabel, StyledRadioLabel, colorStyles, StyledRadioLabel, props => retrieveComponentStyles(COMPONENT_ID, props));
117
+ })(["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-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', StyledRadioLabel, sizeStyles, StyledRadioLabel, StyledRadioLabel, colorStyles, StyledRadioLabel, componentStyles);
118
118
 
119
119
  export { StyledRadioInput };
@@ -5,7 +5,7 @@
5
5
  * found at http://www.apache.org/licenses/LICENSE-2.0.
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
8
+ import { componentStyles } from '@zendeskgarden/react-theming';
9
9
  import { StyledLabel } from '../common/StyledLabel.js';
10
10
 
11
11
  const COMPONENT_ID = 'forms.radio_label';
@@ -17,11 +17,11 @@ const sizeStyles = props => {
17
17
  };
18
18
  const StyledRadioLabel = styled(StyledLabel).attrs({
19
19
  'data-garden-id': COMPONENT_ID,
20
- 'data-garden-version': '9.4.0',
20
+ 'data-garden-version': '9.5.1',
21
21
  $isRadio: true
22
22
  }).withConfig({
23
23
  displayName: "StyledRadioLabel",
24
24
  componentId: "sc-1aq2e5t-0"
25
- })(["display:inline-block;position:relative;cursor:pointer;", ";", ";"], props => sizeStyles(props), props => retrieveComponentStyles(COMPONENT_ID, props));
25
+ })(["display:inline-block;position:relative;cursor:pointer;", ";", ";"], props => sizeStyles(props), componentStyles);
26
26
 
27
27
  export { StyledRadioLabel };
@@ -6,16 +6,16 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledMessage } from '../common/StyledMessage.js';
11
11
 
12
12
  const COMPONENT_ID = 'forms.radio_message';
13
13
  const StyledRadioMessage = styled(StyledMessage).attrs({
14
14
  'data-garden-id': COMPONENT_ID,
15
- 'data-garden-version': '9.4.0'
15
+ 'data-garden-version': '9.5.1'
16
16
  }).withConfig({
17
17
  displayName: "StyledRadioMessage",
18
18
  componentId: "sc-1pmi0q8-0"
19
- })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 6px`), props => retrieveComponentStyles(COMPONENT_ID, props));
19
+ })(["padding-", ":", ";", ";"], props => props.theme.rtl ? 'right' : 'left', props => math(`${props.theme.space.base} * 6px`), componentStyles);
20
20
 
21
21
  export { StyledRadioMessage };
@@ -6,17 +6,17 @@
6
6
  */
7
7
  import styled from 'styled-components';
8
8
  import SvgCircleSmFill from '../../node_modules/@zendeskgarden/svg-icons/src/12/circle-sm-fill.svg.js';
9
- import { retrieveComponentStyles } from '@zendeskgarden/react-theming';
9
+ import { componentStyles } from '@zendeskgarden/react-theming';
10
10
  import { StyledRadioInput } from './StyledRadioInput.js';
11
11
  import { StyledRadioLabel } from './StyledRadioLabel.js';
12
12
 
13
13
  const COMPONENT_ID = 'forms.radio_svg';
14
14
  const StyledRadioSvg = styled(SvgCircleSmFill).attrs({
15
15
  'data-garden-id': COMPONENT_ID,
16
- 'data-garden-version': '9.4.0'
16
+ 'data-garden-version': '9.5.1'
17
17
  }).withConfig({
18
18
  displayName: "StyledRadioSvg",
19
19
  componentId: "sc-1r1qtr1-0"
20
- })(["transition:opacity 0.25s ease-in-out;opacity:0;", ":checked ~ ", " > &{opacity:1;}", ";"], StyledRadioInput, StyledRadioLabel, props => retrieveComponentStyles(COMPONENT_ID, props));
20
+ })(["transition:opacity 0.25s ease-in-out;opacity:0;", ":checked ~ ", " > &{opacity:1;}", ";"], StyledRadioInput, StyledRadioLabel, componentStyles);
21
21
 
22
22
  export { StyledRadioSvg };
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import styled, { css } from 'styled-components';
8
8
  import { math } from 'polished';
9
- import { retrieveComponentStyles, DEFAULT_THEME, getColor, getFocusBoxShadow } from '@zendeskgarden/react-theming';
9
+ import { componentStyles, DEFAULT_THEME, getColor, getFocusBoxShadow } from '@zendeskgarden/react-theming';
10
10
  import { StyledHint } from '../common/StyledHint.js';
11
11
  import { StyledLabel } from '../common/StyledLabel.js';
12
12
  import { StyledMessage } from '../common/StyledMessage.js';
@@ -177,7 +177,7 @@ const sizeStyles = _ref2 => {
177
177
  };
178
178
  const StyledRangeInput = styled.input.attrs(props => ({
179
179
  'data-garden-id': COMPONENT_ID,
180
- 'data-garden-version': '9.4.0',
180
+ 'data-garden-version': '9.5.1',
181
181
  type: 'range',
182
182
  style: {
183
183
  backgroundSize: props.$hasLowerTrack ? props.$backgroundSize : undefined
@@ -200,7 +200,7 @@ const StyledRangeInput = styled.input.attrs(props => ({
200
200
  border: ${props.theme.borders.md};
201
201
  border-radius: 100%;
202
202
  box-sizing: border-box;
203
- `), colorStyles, props => retrieveComponentStyles(COMPONENT_ID, props));
203
+ `), colorStyles, componentStyles);
204
204
  StyledRangeInput.defaultProps = {
205
205
  $backgroundSize: '0%',
206
206
  $hasLowerTrack: true,
@@ -44,7 +44,7 @@ const sizeStyles = _ref2 => {
44
44
  };
45
45
  const StyledSelect = styled(StyledTextInput).attrs({
46
46
  'data-garden-id': COMPONENT_ID,
47
- 'data-garden-version': '9.4.0',
47
+ 'data-garden-version': '9.5.1',
48
48
  as: 'select'
49
49
  }).withConfig({
50
50
  displayName: "StyledSelect",