@react-spectrum/s2 3.0.0-nightly-e7053dd8f-250108 → 3.0.0-nightly-e4497fdb6-250110

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 (227) hide show
  1. package/dist/Accordion.cjs +3 -3
  2. package/dist/Accordion.css +2 -2
  3. package/dist/Accordion.mjs +3 -3
  4. package/dist/ActionBar.cjs +32 -32
  5. package/dist/ActionBar.css +34 -34
  6. package/dist/ActionBar.mjs +32 -32
  7. package/dist/ActionButton.cjs +61 -61
  8. package/dist/ActionButton.css +57 -57
  9. package/dist/ActionButton.mjs +61 -61
  10. package/dist/ActionButtonGroup.cjs +4 -4
  11. package/dist/ActionButtonGroup.css +3 -3
  12. package/dist/ActionButtonGroup.mjs +4 -4
  13. package/dist/Avatar.cjs +10 -10
  14. package/dist/Avatar.css +11 -11
  15. package/dist/Avatar.mjs +10 -10
  16. package/dist/AvatarGroup.cjs +97 -97
  17. package/dist/AvatarGroup.css +31 -31
  18. package/dist/AvatarGroup.mjs +97 -97
  19. package/dist/Badge.cjs +31 -31
  20. package/dist/Badge.css +33 -33
  21. package/dist/Badge.mjs +31 -31
  22. package/dist/Breadcrumbs.cjs +83 -82
  23. package/dist/Breadcrumbs.cjs.map +1 -1
  24. package/dist/Breadcrumbs.css +66 -60
  25. package/dist/Breadcrumbs.css.map +1 -1
  26. package/dist/Breadcrumbs.mjs +83 -82
  27. package/dist/Breadcrumbs.mjs.map +1 -1
  28. package/dist/Button.cjs +179 -144
  29. package/dist/Button.cjs.map +1 -1
  30. package/dist/Button.css +167 -86
  31. package/dist/Button.css.map +1 -1
  32. package/dist/Button.mjs +180 -145
  33. package/dist/Button.mjs.map +1 -1
  34. package/dist/ButtonGroup.cjs +15 -15
  35. package/dist/ButtonGroup.css +11 -11
  36. package/dist/ButtonGroup.mjs +15 -15
  37. package/dist/Card.cjs +163 -163
  38. package/dist/Card.css +118 -118
  39. package/dist/Card.mjs +163 -163
  40. package/dist/CardView.cjs +13 -13
  41. package/dist/CardView.css +14 -14
  42. package/dist/CardView.mjs +13 -13
  43. package/dist/CenterBaseline.cjs +1 -1
  44. package/dist/CenterBaseline.css +2 -2
  45. package/dist/CenterBaseline.mjs +1 -1
  46. package/dist/Checkbox.cjs +46 -46
  47. package/dist/Checkbox.css +44 -44
  48. package/dist/Checkbox.mjs +46 -46
  49. package/dist/CheckboxGroup.cjs +39 -39
  50. package/dist/CheckboxGroup.css +32 -32
  51. package/dist/CheckboxGroup.mjs +39 -39
  52. package/dist/ClearButton.cjs +5 -5
  53. package/dist/ClearButton.css +5 -5
  54. package/dist/ClearButton.mjs +5 -5
  55. package/dist/CloseButton.cjs +17 -15
  56. package/dist/CloseButton.cjs.map +1 -1
  57. package/dist/CloseButton.css +24 -16
  58. package/dist/CloseButton.css.map +1 -1
  59. package/dist/CloseButton.mjs +17 -15
  60. package/dist/CloseButton.mjs.map +1 -1
  61. package/dist/ColorArea.cjs +9 -9
  62. package/dist/ColorArea.css +9 -9
  63. package/dist/ColorArea.mjs +9 -9
  64. package/dist/ColorField.cjs +29 -29
  65. package/dist/ColorField.css +24 -24
  66. package/dist/ColorField.mjs +29 -29
  67. package/dist/ColorHandle.cjs +9 -9
  68. package/dist/ColorHandle.css +16 -16
  69. package/dist/ColorHandle.mjs +9 -9
  70. package/dist/ColorSlider.cjs +40 -40
  71. package/dist/ColorSlider.css +42 -42
  72. package/dist/ColorSlider.mjs +40 -40
  73. package/dist/ColorSwatch.cjs +6 -6
  74. package/dist/ColorSwatch.css +14 -14
  75. package/dist/ColorSwatch.mjs +6 -6
  76. package/dist/ColorSwatchPicker.cjs +12 -12
  77. package/dist/ColorSwatchPicker.css +32 -32
  78. package/dist/ColorSwatchPicker.mjs +12 -12
  79. package/dist/ColorWheel.cjs +14 -14
  80. package/dist/ColorWheel.css +14 -14
  81. package/dist/ColorWheel.mjs +14 -14
  82. package/dist/ComboBox.cjs +54 -51
  83. package/dist/ComboBox.cjs.map +1 -1
  84. package/dist/ComboBox.css +48 -48
  85. package/dist/ComboBox.css.map +1 -1
  86. package/dist/ComboBox.mjs +54 -51
  87. package/dist/ComboBox.mjs.map +1 -1
  88. package/dist/ContextualHelp.cjs +5 -5
  89. package/dist/ContextualHelp.css +23 -23
  90. package/dist/ContextualHelp.mjs +5 -5
  91. package/dist/CustomDialog.cjs +8 -8
  92. package/dist/CustomDialog.css +9 -9
  93. package/dist/CustomDialog.mjs +8 -8
  94. package/dist/Dialog.cjs +10 -10
  95. package/dist/Dialog.css +39 -39
  96. package/dist/Dialog.mjs +10 -10
  97. package/dist/Disclosure.cjs +53 -53
  98. package/dist/Disclosure.css +48 -48
  99. package/dist/Disclosure.mjs +53 -53
  100. package/dist/Divider.cjs +5 -5
  101. package/dist/Divider.css +5 -5
  102. package/dist/Divider.mjs +5 -5
  103. package/dist/DropZone.cjs +24 -24
  104. package/dist/DropZone.css +24 -24
  105. package/dist/DropZone.mjs +24 -24
  106. package/dist/Field.cjs +107 -107
  107. package/dist/Field.cjs.map +1 -1
  108. package/dist/Field.css +69 -69
  109. package/dist/Field.mjs +107 -107
  110. package/dist/Field.mjs.map +1 -1
  111. package/dist/Form.cjs +4 -4
  112. package/dist/Form.css +3 -3
  113. package/dist/Form.mjs +4 -4
  114. package/dist/FullscreenDialog.cjs +5 -5
  115. package/dist/FullscreenDialog.css +54 -54
  116. package/dist/FullscreenDialog.mjs +5 -5
  117. package/dist/IllustratedMessage.cjs +126 -126
  118. package/dist/IllustratedMessage.css +58 -58
  119. package/dist/IllustratedMessage.mjs +126 -126
  120. package/dist/Image.cjs +10 -10
  121. package/dist/Image.css +11 -11
  122. package/dist/Image.mjs +10 -10
  123. package/dist/InlineAlert.cjs +50 -50
  124. package/dist/InlineAlert.css +44 -44
  125. package/dist/InlineAlert.mjs +50 -50
  126. package/dist/Link.cjs +27 -27
  127. package/dist/Link.css +28 -28
  128. package/dist/Link.mjs +27 -27
  129. package/dist/Menu.cjs +292 -221
  130. package/dist/Menu.cjs.map +1 -1
  131. package/dist/Menu.css +115 -113
  132. package/dist/Menu.css.map +1 -1
  133. package/dist/Menu.mjs +292 -221
  134. package/dist/Menu.mjs.map +1 -1
  135. package/dist/Meter.cjs +51 -51
  136. package/dist/Meter.css +51 -51
  137. package/dist/Meter.mjs +51 -51
  138. package/dist/Modal.cjs +37 -37
  139. package/dist/Modal.css +35 -35
  140. package/dist/Modal.mjs +37 -37
  141. package/dist/NumberField.cjs +60 -60
  142. package/dist/NumberField.css +66 -66
  143. package/dist/NumberField.mjs +60 -60
  144. package/dist/Picker.cjs +117 -114
  145. package/dist/Picker.cjs.map +1 -1
  146. package/dist/Picker.css +80 -80
  147. package/dist/Picker.css.map +1 -1
  148. package/dist/Picker.mjs +117 -114
  149. package/dist/Picker.mjs.map +1 -1
  150. package/dist/Popover.cjs +40 -40
  151. package/dist/Popover.css +37 -37
  152. package/dist/Popover.mjs +40 -40
  153. package/dist/ProgressBar.cjs +63 -63
  154. package/dist/ProgressBar.css +61 -61
  155. package/dist/ProgressBar.mjs +63 -63
  156. package/dist/ProgressCircle.cjs +3 -3
  157. package/dist/ProgressCircle.css +2 -2
  158. package/dist/ProgressCircle.mjs +3 -3
  159. package/dist/Provider.cjs +4 -4
  160. package/dist/Provider.css +5 -5
  161. package/dist/Provider.mjs +4 -4
  162. package/dist/Radio.cjs +46 -46
  163. package/dist/Radio.css +44 -44
  164. package/dist/Radio.mjs +46 -46
  165. package/dist/RadioGroup.cjs +37 -37
  166. package/dist/RadioGroup.css +32 -32
  167. package/dist/RadioGroup.mjs +37 -37
  168. package/dist/SearchField.cjs +31 -31
  169. package/dist/SearchField.css +29 -29
  170. package/dist/SearchField.mjs +31 -31
  171. package/dist/SegmentedControl.cjs +54 -54
  172. package/dist/SegmentedControl.css +55 -55
  173. package/dist/SegmentedControl.mjs +54 -54
  174. package/dist/Slider.cjs +101 -101
  175. package/dist/Slider.css +82 -82
  176. package/dist/Slider.mjs +101 -101
  177. package/dist/StatusLight.cjs +26 -26
  178. package/dist/StatusLight.css +26 -26
  179. package/dist/StatusLight.mjs +26 -26
  180. package/dist/Switch.cjs +47 -47
  181. package/dist/Switch.css +42 -42
  182. package/dist/Switch.mjs +47 -47
  183. package/dist/TableView.cjs +137 -137
  184. package/dist/TableView.css +76 -76
  185. package/dist/TableView.mjs +137 -137
  186. package/dist/Tabs.cjs +60 -60
  187. package/dist/Tabs.css +53 -53
  188. package/dist/Tabs.mjs +60 -60
  189. package/dist/TabsPicker.cjs +69 -69
  190. package/dist/TabsPicker.css +62 -62
  191. package/dist/TabsPicker.mjs +69 -69
  192. package/dist/TagGroup.cjs +108 -108
  193. package/dist/TagGroup.css +85 -85
  194. package/dist/TagGroup.mjs +108 -108
  195. package/dist/TextField.cjs +36 -36
  196. package/dist/TextField.css +33 -33
  197. package/dist/TextField.mjs +36 -36
  198. package/dist/ToggleButton.cjs +3 -3
  199. package/dist/ToggleButton.css +7 -7
  200. package/dist/ToggleButton.mjs +3 -3
  201. package/dist/Tooltip.cjs +32 -32
  202. package/dist/Tooltip.css +34 -34
  203. package/dist/Tooltip.mjs +32 -32
  204. package/dist/types.d.ts +2 -0
  205. package/dist/types.d.ts.map +1 -1
  206. package/icons/Skeleton.cjs +2 -2
  207. package/icons/Skeleton.css +5 -5
  208. package/icons/Skeleton.mjs +2 -2
  209. package/package.json +19 -19
  210. package/src/Button.tsx +107 -75
  211. package/src/CloseButton.tsx +4 -0
  212. package/src/ComboBox.tsx +2 -1
  213. package/src/Menu.tsx +40 -17
  214. package/src/Picker.tsx +2 -1
  215. package/style/dist/spectrum-theme.cjs +54 -5
  216. package/style/dist/spectrum-theme.cjs.map +1 -1
  217. package/style/dist/spectrum-theme.mjs +54 -5
  218. package/style/dist/spectrum-theme.mjs.map +1 -1
  219. package/style/dist/style-macro.cjs +1 -1
  220. package/style/dist/style-macro.cjs.map +1 -1
  221. package/style/dist/style-macro.mjs +1 -1
  222. package/style/dist/style-macro.mjs.map +1 -1
  223. package/style/dist/types.d.ts +10 -3
  224. package/style/dist/types.d.ts.map +1 -1
  225. package/style/spectrum-theme.ts +66 -7
  226. package/style/style-macro.ts +3 -3
  227. package/style/types.ts +1 -1
@@ -3,11 +3,11 @@
3
3
  }
4
4
 
5
5
  @layer _.a {
6
- ._La {
6
+ ._Ma {
7
7
  outline-style: none;
8
8
  }
9
9
 
10
- ._Lb {
10
+ ._Mb {
11
11
  outline-style: solid;
12
12
  }
13
13
 
@@ -19,11 +19,11 @@
19
19
  outline-color: lch(from var(--s2-container-bg) calc((49.44 - l) * infinity) 0 0 / 1);
20
20
  }
21
21
 
22
- ._Nc {
22
+ ._Oc {
23
23
  outline-width: 2px;
24
24
  }
25
25
 
26
- ._M-3t1z {
26
+ ._N-3t1z {
27
27
  outline-offset: 2px;
28
28
  }
29
29
 
@@ -35,15 +35,15 @@
35
35
  --s2-container-bg: black;
36
36
  }
37
37
 
38
- ._Zd {
38
+ ._0d {
39
39
  display: flex;
40
40
  }
41
41
 
42
- ._1c {
42
+ ._2c {
43
43
  align-items: center;
44
44
  }
45
45
 
46
- ._2d {
46
+ ._3d {
47
47
  justify-content: center;
48
48
  }
49
49
 
@@ -87,23 +87,23 @@
87
87
  height: calc(3rem * var(--s2-scale));
88
88
  }
89
89
 
90
- ._8-3t1x {
90
+ ._9-3t1x {
91
91
  flex-shrink: 0;
92
92
  }
93
93
 
94
- ._vf {
94
+ ._wf {
95
95
  border-start-start-radius: 9999px;
96
96
  }
97
97
 
98
- ._wf {
98
+ ._xf {
99
99
  border-start-end-radius: 9999px;
100
100
  }
101
101
 
102
- ._xf {
102
+ ._yf {
103
103
  border-end-start-radius: 9999px;
104
104
  }
105
105
 
106
- ._yf {
106
+ ._zf {
107
107
  border-end-end-radius: 9999px;
108
108
  }
109
109
 
@@ -127,15 +127,15 @@
127
127
  border-style: none;
128
128
  }
129
129
 
130
- ._Oa {
131
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter;
130
+ ._Pa {
131
+ transition-property: color, background-color, var(--gp), border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, translate, scale, rotate, filter, backdrop-filter;
132
132
  }
133
133
 
134
- ._Q-375x7f {
134
+ ._R-375x7f {
135
135
  transition-duration: .15s;
136
136
  }
137
137
 
138
- ._Ra {
138
+ ._Sa {
139
139
  transition-timing-function: cubic-bezier(.45, 0, .4, 1);
140
140
  }
141
141
 
@@ -183,6 +183,14 @@
183
183
  .da_____M {
184
184
  outline-color: highlight;
185
185
  }
186
+
187
+ .-rwx0fg_a-a_____K {
188
+ --iconPrimary: ButtonText;
189
+ }
190
+
191
+ .-rwx0fg_a-a_____O {
192
+ --iconPrimary: GrayText;
193
+ }
186
194
  }
187
195
  }
188
196
  /*# sourceMappingURL=CloseButton.css.map */
@@ -1 +1 @@
1
- {"mappings":"AAyCe;;;;AAAA;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;;AAAA;;AAAA;EAAA;IAAA","sources":["packages/@react-spectrum/s2/src/CloseButton.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {baseColor, focusRing, style} from '../style' with {type: 'macro'};\nimport {Button, ButtonProps, ContextValue} from 'react-aria-components';\nimport {createContext, forwardRef} from 'react';\nimport CrossIcon from '../ui-icons/Cross';\nimport {FocusableRef, FocusableRefValue} from '@react-types/shared';\nimport {getAllowedOverrides, staticColor, StyleProps} from './style-utils' with {type: 'macro'};\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {pressScale} from './pressScale';\nimport {useFocusableRef} from '@react-spectrum/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSpectrumContextProps} from './useSpectrumContextProps';\n\nexport interface CloseButtonProps extends Pick<ButtonProps, 'isDisabled' | 'onPress'>, StyleProps {\n /**\n * The size of the CloseButton.\n *\n * @default 'M'\n */\n size?: 'S' | 'M' | 'L' | 'XL',\n /** The static color style to apply. Useful when the Button appears over a color background. */\n staticColor?: 'white' | 'black' | 'auto'\n}\n\nconst hoverBackground = {\n default: 'gray-200',\n isStaticColor: 'transparent-overlay-200'\n} as const;\n\nconst styles = style({\n ...focusRing(),\n ...staticColor(),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n size: 'control',\n flexShrink: 0,\n borderRadius: 'full',\n padding: 0,\n borderStyle: 'none',\n transition: 'default',\n backgroundColor: {\n default: 'transparent',\n isHovered: hoverBackground,\n isFocusVisible: hoverBackground,\n isPressed: hoverBackground\n },\n '--iconPrimary': {\n type: 'color',\n value: {\n default: 'neutral',\n isDisabled: 'disabled',\n isStaticColor: {\n default: baseColor('transparent-overlay-800'),\n isDisabled: 'transparent-overlay-400'\n }\n }\n },\n outlineColor: {\n default: 'focus-ring',\n isStaticColor: 'transparent-overlay-1000',\n forcedColors: 'Highlight'\n }\n}, getAllowedOverrides());\n\nexport const CloseButtonContext = createContext<ContextValue<CloseButtonProps, FocusableRefValue<HTMLButtonElement>>>(null);\n\n/**\n * A CloseButton allows a user to dismiss a dialog.\n */\nexport const CloseButton = forwardRef(function CloseButton(props: CloseButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n [props, ref] = useSpectrumContextProps(props, ref, CloseButtonContext);\n let {UNSAFE_style, UNSAFE_className = ''} = props;\n let domRef = useFocusableRef(ref);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/s2');\n return (\n <Button\n {...props}\n ref={domRef}\n slot=\"close\"\n aria-label={props['aria-label'] || stringFormatter.format('dialog.dismiss')}\n style={pressScale(domRef, UNSAFE_style)}\n className={renderProps => UNSAFE_className + styles({...renderProps, staticColor: props.staticColor, isStaticColor: !!props.staticColor}, props.styles)}>\n <CrossIcon size={({S: 'L', M: 'XL', L: 'XXL', XL: 'XXXL'} as const)[props.size || 'M']} />\n </Button>\n );\n});\n"],"names":[],"version":3,"file":"CloseButton.css.map"}
1
+ {"mappings":"AAyCe;;;;AAAA;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;EAAA;;;;;AAAA;;AAAA;EAAA;IAAA;;;;IAAA;;;;IAAA","sources":["packages/@react-spectrum/s2/src/CloseButton.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {baseColor, focusRing, style} from '../style' with {type: 'macro'};\nimport {Button, ButtonProps, ContextValue} from 'react-aria-components';\nimport {createContext, forwardRef} from 'react';\nimport CrossIcon from '../ui-icons/Cross';\nimport {FocusableRef, FocusableRefValue} from '@react-types/shared';\nimport {getAllowedOverrides, staticColor, StyleProps} from './style-utils' with {type: 'macro'};\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {pressScale} from './pressScale';\nimport {useFocusableRef} from '@react-spectrum/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSpectrumContextProps} from './useSpectrumContextProps';\n\nexport interface CloseButtonProps extends Pick<ButtonProps, 'isDisabled' | 'onPress'>, StyleProps {\n /**\n * The size of the CloseButton.\n *\n * @default 'M'\n */\n size?: 'S' | 'M' | 'L' | 'XL',\n /** The static color style to apply. Useful when the Button appears over a color background. */\n staticColor?: 'white' | 'black' | 'auto'\n}\n\nconst hoverBackground = {\n default: 'gray-200',\n isStaticColor: 'transparent-overlay-200'\n} as const;\n\nconst styles = style({\n ...focusRing(),\n ...staticColor(),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n size: 'control',\n flexShrink: 0,\n borderRadius: 'full',\n padding: 0,\n borderStyle: 'none',\n transition: 'default',\n backgroundColor: {\n default: 'transparent',\n isHovered: hoverBackground,\n isFocusVisible: hoverBackground,\n isPressed: hoverBackground\n },\n '--iconPrimary': {\n type: 'color',\n value: {\n default: 'neutral',\n isDisabled: 'disabled',\n isStaticColor: {\n default: baseColor('transparent-overlay-800'),\n isDisabled: 'transparent-overlay-400'\n },\n forcedColors: {\n default: 'ButtonText',\n isDisabled: 'GrayText'\n }\n }\n },\n outlineColor: {\n default: 'focus-ring',\n isStaticColor: 'transparent-overlay-1000',\n forcedColors: 'Highlight'\n }\n}, getAllowedOverrides());\n\nexport const CloseButtonContext = createContext<ContextValue<CloseButtonProps, FocusableRefValue<HTMLButtonElement>>>(null);\n\n/**\n * A CloseButton allows a user to dismiss a dialog.\n */\nexport const CloseButton = forwardRef(function CloseButton(props: CloseButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n [props, ref] = useSpectrumContextProps(props, ref, CloseButtonContext);\n let {UNSAFE_style, UNSAFE_className = ''} = props;\n let domRef = useFocusableRef(ref);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/s2');\n return (\n <Button\n {...props}\n ref={domRef}\n slot=\"close\"\n aria-label={props['aria-label'] || stringFormatter.format('dialog.dismiss')}\n style={pressScale(domRef, UNSAFE_style)}\n className={renderProps => UNSAFE_className + styles({...renderProps, staticColor: props.staticColor, isStaticColor: !!props.staticColor}, props.styles)}>\n <CrossIcon size={({S: 'L', M: 'XL', L: 'XXL', XL: 'XXXL'} as const)[props.size || 'M']} />\n </Button>\n );\n});\n"],"names":[],"version":3,"file":"CloseButton.css.map"}
@@ -38,26 +38,26 @@ const $a9cda54c4f47ce52$var$hoverBackground = {
38
38
  };
39
39
  const $a9cda54c4f47ce52$var$styles = function anonymous(props, overrides) {
40
40
  let rules = " .";
41
- let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|_9|_8|h|_5|_4|__A|__c|__d|__a|__b|U|__Q|X|Z|V|W|l|q|r)[^\s]+/g) || [];
41
+ let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|__a|_9|h|_6|_5|__B|__d|__e|__b|__c|V|__R|Y|_a|W|X|l|q|r)[^\s]+/g) || [];
42
42
  rules += matches.join('');
43
43
  let $l = false;
44
- let $_8 = false;
44
+ let $_9 = false;
45
45
  for (let p of matches){
46
46
  if (/^\s*l/.test(p)) $l = true;
47
- if (/^\s*_8/.test(p)) $_8 = true;
47
+ if (/^\s*_9/.test(p)) $_9 = true;
48
48
  }
49
- if (props.isFocusVisible) rules += ' _Lb';
50
- else rules += ' _La';
49
+ if (props.isFocusVisible) rules += ' _Mb';
50
+ else rules += ' _Ma';
51
51
  rules += ' da_____M';
52
52
  if (props.isStaticColor) rules += ' d_____G';
53
53
  else rules += ' dx';
54
- rules += ' _Nc';
55
- rules += ' _M-3t1z';
54
+ rules += ' _Oc';
55
+ rules += ' _N-3t1z';
56
56
  if (props.staticColor === "white") rules += ' -_1de2x0q_b-b';
57
57
  else if (props.staticColor === "black") rules += ' -_1de2x0q_b-c';
58
- rules += ' _Zd';
59
- rules += ' _1c';
60
- rules += ' _2d';
58
+ rules += ' _0d';
59
+ rules += ' _2c';
60
+ rules += ' _3d';
61
61
  if (!$l) {
62
62
  if (props.size === "XL") rules += ' lj';
63
63
  else if (props.size === "L") rules += ' li';
@@ -70,19 +70,19 @@ const $a9cda54c4f47ce52$var$styles = function anonymous(props, overrides) {
70
70
  else if (props.size === "S") rules += ' kh';
71
71
  else if (props.size === "XS") rules += ' kg';
72
72
  else rules += ' kf';
73
- if (!$_8) rules += ' _8-3t1x';
74
- rules += ' _vf';
73
+ if (!$_9) rules += ' _9-3t1x';
75
74
  rules += ' _wf';
76
75
  rules += ' _xf';
77
76
  rules += ' _yf';
77
+ rules += ' _zf';
78
78
  rules += ' Ea';
79
79
  rules += ' Fa';
80
80
  rules += ' Ca';
81
81
  rules += ' Da';
82
82
  rules += ' wf';
83
- rules += ' _Oa';
84
- rules += ' _Q-375x7f';
85
- rules += ' _Ra';
83
+ rules += ' _Pa';
84
+ rules += ' _R-375x7f';
85
+ rules += ' _Sa';
86
86
  if (props.isPressed) {
87
87
  if (props.isStaticColor) rules += ' b_____y';
88
88
  else rules += ' bh';
@@ -93,6 +93,8 @@ const $a9cda54c4f47ce52$var$styles = function anonymous(props, overrides) {
93
93
  if (props.isStaticColor) rules += ' b_____y';
94
94
  else rules += ' bh';
95
95
  } else rules += ' ba';
96
+ if (props.isDisabled) rules += ' -rwx0fg_a-a_____O';
97
+ else rules += ' -rwx0fg_a-a_____K';
96
98
  if (props.isStaticColor) {
97
99
  if (props.isDisabled) rules += ' -rwx0fg_a-_____A';
98
100
  else {
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;AA0BD,MAAM,wCAAkB;IACtB,SAAS;IACT,eAAe;AACjB;AAEA,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCC,MAAM,0DAAqB,CAAA,GAAA,oBAAY,EAAwE;AAK/G,MAAM,0DAAc,CAAA,GAAA,iBAAS,EAAE,SAAS,YAAY,KAAuB,EAAE,GAAoC;IACtH,CAAC,OAAO,IAAI,GAAG,CAAA,GAAA,yCAAsB,EAAE,OAAO,KAAK;IACnD,IAAI,gBAAC,YAAY,oBAAE,mBAAmB,IAAG,GAAG;IAC5C,IAAI,SAAS,CAAA,GAAA,sBAAc,EAAE;IAC7B,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,+CAAW,GAAG;IAChE,qBACE,gBAAC,CAAA,GAAA,aAAK;QACH,GAAG,KAAK;QACT,KAAK;QACL,MAAK;QACL,cAAY,KAAK,CAAC,aAAa,IAAI,gBAAgB,MAAM,CAAC;QAC1D,OAAO,CAAA,GAAA,yCAAS,EAAE,QAAQ;QAC1B,WAAW,CAAA,cAAe,mBAAmB,6BAAO;gBAAC,GAAG,WAAW;gBAAE,aAAa,MAAM,WAAW;gBAAE,eAAe,CAAC,CAAC,MAAM,WAAW;YAAA,GAAG,MAAM,MAAM;kBACtJ,cAAA,gBAAC,CAAA,GAAA,wCAAQ;YAAE,MAAM,AAAC;gBAAC,GAAG;gBAAK,GAAG;gBAAM,GAAG;gBAAO,IAAI;YAAM,CAAW,CAAC,MAAM,IAAI,IAAI,IAAI;;;AAG5F","sources":["packages/@react-spectrum/s2/src/CloseButton.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {baseColor, focusRing, style} from '../style' with {type: 'macro'};\nimport {Button, ButtonProps, ContextValue} from 'react-aria-components';\nimport {createContext, forwardRef} from 'react';\nimport CrossIcon from '../ui-icons/Cross';\nimport {FocusableRef, FocusableRefValue} from '@react-types/shared';\nimport {getAllowedOverrides, staticColor, StyleProps} from './style-utils' with {type: 'macro'};\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {pressScale} from './pressScale';\nimport {useFocusableRef} from '@react-spectrum/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSpectrumContextProps} from './useSpectrumContextProps';\n\nexport interface CloseButtonProps extends Pick<ButtonProps, 'isDisabled' | 'onPress'>, StyleProps {\n /**\n * The size of the CloseButton.\n *\n * @default 'M'\n */\n size?: 'S' | 'M' | 'L' | 'XL',\n /** The static color style to apply. Useful when the Button appears over a color background. */\n staticColor?: 'white' | 'black' | 'auto'\n}\n\nconst hoverBackground = {\n default: 'gray-200',\n isStaticColor: 'transparent-overlay-200'\n} as const;\n\nconst styles = style({\n ...focusRing(),\n ...staticColor(),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n size: 'control',\n flexShrink: 0,\n borderRadius: 'full',\n padding: 0,\n borderStyle: 'none',\n transition: 'default',\n backgroundColor: {\n default: 'transparent',\n isHovered: hoverBackground,\n isFocusVisible: hoverBackground,\n isPressed: hoverBackground\n },\n '--iconPrimary': {\n type: 'color',\n value: {\n default: 'neutral',\n isDisabled: 'disabled',\n isStaticColor: {\n default: baseColor('transparent-overlay-800'),\n isDisabled: 'transparent-overlay-400'\n }\n }\n },\n outlineColor: {\n default: 'focus-ring',\n isStaticColor: 'transparent-overlay-1000',\n forcedColors: 'Highlight'\n }\n}, getAllowedOverrides());\n\nexport const CloseButtonContext = createContext<ContextValue<CloseButtonProps, FocusableRefValue<HTMLButtonElement>>>(null);\n\n/**\n * A CloseButton allows a user to dismiss a dialog.\n */\nexport const CloseButton = forwardRef(function CloseButton(props: CloseButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n [props, ref] = useSpectrumContextProps(props, ref, CloseButtonContext);\n let {UNSAFE_style, UNSAFE_className = ''} = props;\n let domRef = useFocusableRef(ref);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/s2');\n return (\n <Button\n {...props}\n ref={domRef}\n slot=\"close\"\n aria-label={props['aria-label'] || stringFormatter.format('dialog.dismiss')}\n style={pressScale(domRef, UNSAFE_style)}\n className={renderProps => UNSAFE_className + styles({...renderProps, staticColor: props.staticColor, isStaticColor: !!props.staticColor}, props.styles)}>\n <CrossIcon size={({S: 'L', M: 'XL', L: 'XXL', XL: 'XXXL'} as const)[props.size || 'M']} />\n </Button>\n );\n});\n"],"names":[],"version":3,"file":"CloseButton.mjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;;;AA0BD,MAAM,wCAAkB;IACtB,SAAS;IACT,eAAe;AACjB;AAEA,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCC,MAAM,0DAAqB,CAAA,GAAA,oBAAY,EAAwE;AAK/G,MAAM,0DAAc,CAAA,GAAA,iBAAS,EAAE,SAAS,YAAY,KAAuB,EAAE,GAAoC;IACtH,CAAC,OAAO,IAAI,GAAG,CAAA,GAAA,yCAAsB,EAAE,OAAO,KAAK;IACnD,IAAI,gBAAC,YAAY,oBAAE,mBAAmB,IAAG,GAAG;IAC5C,IAAI,SAAS,CAAA,GAAA,sBAAc,EAAE;IAC7B,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,+CAAW,GAAG;IAChE,qBACE,gBAAC,CAAA,GAAA,aAAK;QACH,GAAG,KAAK;QACT,KAAK;QACL,MAAK;QACL,cAAY,KAAK,CAAC,aAAa,IAAI,gBAAgB,MAAM,CAAC;QAC1D,OAAO,CAAA,GAAA,yCAAS,EAAE,QAAQ;QAC1B,WAAW,CAAA,cAAe,mBAAmB,6BAAO;gBAAC,GAAG,WAAW;gBAAE,aAAa,MAAM,WAAW;gBAAE,eAAe,CAAC,CAAC,MAAM,WAAW;YAAA,GAAG,MAAM,MAAM;kBACtJ,cAAA,gBAAC,CAAA,GAAA,wCAAQ;YAAE,MAAM,AAAC;gBAAC,GAAG;gBAAK,GAAG;gBAAM,GAAG;gBAAO,IAAI;YAAM,CAAW,CAAC,MAAM,IAAI,IAAI,IAAI;;;AAG5F","sources":["packages/@react-spectrum/s2/src/CloseButton.tsx"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {baseColor, focusRing, style} from '../style' with {type: 'macro'};\nimport {Button, ButtonProps, ContextValue} from 'react-aria-components';\nimport {createContext, forwardRef} from 'react';\nimport CrossIcon from '../ui-icons/Cross';\nimport {FocusableRef, FocusableRefValue} from '@react-types/shared';\nimport {getAllowedOverrides, staticColor, StyleProps} from './style-utils' with {type: 'macro'};\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {pressScale} from './pressScale';\nimport {useFocusableRef} from '@react-spectrum/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useSpectrumContextProps} from './useSpectrumContextProps';\n\nexport interface CloseButtonProps extends Pick<ButtonProps, 'isDisabled' | 'onPress'>, StyleProps {\n /**\n * The size of the CloseButton.\n *\n * @default 'M'\n */\n size?: 'S' | 'M' | 'L' | 'XL',\n /** The static color style to apply. Useful when the Button appears over a color background. */\n staticColor?: 'white' | 'black' | 'auto'\n}\n\nconst hoverBackground = {\n default: 'gray-200',\n isStaticColor: 'transparent-overlay-200'\n} as const;\n\nconst styles = style({\n ...focusRing(),\n ...staticColor(),\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n size: 'control',\n flexShrink: 0,\n borderRadius: 'full',\n padding: 0,\n borderStyle: 'none',\n transition: 'default',\n backgroundColor: {\n default: 'transparent',\n isHovered: hoverBackground,\n isFocusVisible: hoverBackground,\n isPressed: hoverBackground\n },\n '--iconPrimary': {\n type: 'color',\n value: {\n default: 'neutral',\n isDisabled: 'disabled',\n isStaticColor: {\n default: baseColor('transparent-overlay-800'),\n isDisabled: 'transparent-overlay-400'\n },\n forcedColors: {\n default: 'ButtonText',\n isDisabled: 'GrayText'\n }\n }\n },\n outlineColor: {\n default: 'focus-ring',\n isStaticColor: 'transparent-overlay-1000',\n forcedColors: 'Highlight'\n }\n}, getAllowedOverrides());\n\nexport const CloseButtonContext = createContext<ContextValue<CloseButtonProps, FocusableRefValue<HTMLButtonElement>>>(null);\n\n/**\n * A CloseButton allows a user to dismiss a dialog.\n */\nexport const CloseButton = forwardRef(function CloseButton(props: CloseButtonProps, ref: FocusableRef<HTMLButtonElement>) {\n [props, ref] = useSpectrumContextProps(props, ref, CloseButtonContext);\n let {UNSAFE_style, UNSAFE_className = ''} = props;\n let domRef = useFocusableRef(ref);\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/s2');\n return (\n <Button\n {...props}\n ref={domRef}\n slot=\"close\"\n aria-label={props['aria-label'] || stringFormatter.format('dialog.dismiss')}\n style={pressScale(domRef, UNSAFE_style)}\n className={renderProps => UNSAFE_className + styles({...renderProps, staticColor: props.staticColor, isStaticColor: !!props.staticColor}, props.styles)}>\n <CrossIcon size={({S: 'L', M: 'XL', L: 'XXL', XL: 'XXXL'} as const)[props.size || 'M']} />\n </Button>\n );\n});\n"],"names":[],"version":3,"file":"CloseButton.mjs.map"}
@@ -46,35 +46,35 @@ const $4c6639e34959fe36$export$b2103f68a961418e = /*#__PURE__*/ (0, $lfrPf$react
46
46
  }),
47
47
  className: (renderProps)=>UNSAFE_className + function anonymous(props, overrides) {
48
48
  let rules = " .";
49
- let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|_9|_8|h|_5|_4|__A|__c|__d|__a|__b|U|__Q|X|Z|V|W|l|q|r|k|o|p)[^\s]+/g) || [];
49
+ let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|__a|_9|h|_6|_5|__B|__d|__e|__b|__c|V|__R|Y|_a|W|X|l|q|r|k|o|p)[^\s]+/g) || [];
50
50
  rules += matches.join('');
51
- let $U = false;
51
+ let $V = false;
52
52
  let $l = false;
53
53
  let $k = false;
54
54
  let $q = false;
55
55
  let $o = false;
56
56
  for (let p of matches){
57
- if (/^\s*U/.test(p)) $U = true;
57
+ if (/^\s*V/.test(p)) $V = true;
58
58
  if (/^\s*l/.test(p)) $l = true;
59
59
  if (/^\s*k/.test(p)) $k = true;
60
60
  if (/^\s*q/.test(p)) $q = true;
61
61
  if (/^\s*o/.test(p)) $o = true;
62
62
  }
63
- if (!$U) rules += ' Uc';
63
+ if (!$V) rules += ' Vc';
64
64
  if (!$l) rules += ' l___u';
65
65
  if (!$k) rules += ' k___u';
66
66
  if (!$q) rules += ' q_q';
67
67
  if (!$o) rules += ' o_q';
68
- rules += ' _vc';
69
68
  rules += ' _wc';
70
69
  rules += ' _xc';
71
70
  rules += ' _yc';
71
+ rules += ' _zc';
72
72
  rules += ' da_____I';
73
73
  rules += ' dp10';
74
- rules += ' _Nb';
75
- rules += ' _M-3hmpv';
76
- if (props.isDisabled) rules += ' _La';
77
- else rules += ' _Lb';
74
+ rules += ' _Ob';
75
+ rules += ' _N-3hmpv';
76
+ if (props.isDisabled) rules += ' _Ma';
77
+ else rules += ' _Mb';
78
78
  if (props.isDisabled) rules += ' bg';
79
79
  return rules;
80
80
  }(renderProps, styles),
@@ -3,7 +3,7 @@
3
3
  }
4
4
 
5
5
  @layer _.a {
6
- .Uc {
6
+ .Vc {
7
7
  position: relative;
8
8
  }
9
9
 
@@ -23,19 +23,19 @@
23
23
  min-height: calc(4rem * var(--s2-scale));
24
24
  }
25
25
 
26
- ._vc {
26
+ ._wc {
27
27
  border-start-start-radius: .5rem;
28
28
  }
29
29
 
30
- ._wc {
30
+ ._xc {
31
31
  border-start-end-radius: .5rem;
32
32
  }
33
33
 
34
- ._xc {
34
+ ._yc {
35
35
  border-end-start-radius: .5rem;
36
36
  }
37
37
 
38
- ._yc {
38
+ ._zc {
39
39
  border-end-end-radius: .5rem;
40
40
  }
41
41
 
@@ -43,19 +43,19 @@
43
43
  outline-color: var(--lightningcss-light, #0000001a) var(--lightningcss-dark, #ffffff1a);
44
44
  }
45
45
 
46
- ._Nb {
46
+ ._Ob {
47
47
  outline-width: 1px;
48
48
  }
49
49
 
50
- ._M-3hmpv {
50
+ ._N-3hmpv {
51
51
  outline-offset: -1px;
52
52
  }
53
53
 
54
- ._Lb {
54
+ ._Mb {
55
55
  outline-style: solid;
56
56
  }
57
57
 
58
- ._La {
58
+ ._Ma {
59
59
  outline-style: none;
60
60
  }
61
61
 
@@ -39,35 +39,35 @@ const $40a2b649525568ab$export$b2103f68a961418e = /*#__PURE__*/ (0, $dNfSU$forwa
39
39
  }),
40
40
  className: (renderProps)=>UNSAFE_className + function anonymous(props, overrides) {
41
41
  let rules = " .";
42
- let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|_9|_8|h|_5|_4|__A|__c|__d|__a|__b|U|__Q|X|Z|V|W|l|q|r|k|o|p)[^\s]+/g) || [];
42
+ let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|__a|_9|h|_6|_5|__B|__d|__e|__b|__c|V|__R|Y|_a|W|X|l|q|r|k|o|p)[^\s]+/g) || [];
43
43
  rules += matches.join('');
44
- let $U = false;
44
+ let $V = false;
45
45
  let $l = false;
46
46
  let $k = false;
47
47
  let $q = false;
48
48
  let $o = false;
49
49
  for (let p of matches){
50
- if (/^\s*U/.test(p)) $U = true;
50
+ if (/^\s*V/.test(p)) $V = true;
51
51
  if (/^\s*l/.test(p)) $l = true;
52
52
  if (/^\s*k/.test(p)) $k = true;
53
53
  if (/^\s*q/.test(p)) $q = true;
54
54
  if (/^\s*o/.test(p)) $o = true;
55
55
  }
56
- if (!$U) rules += ' Uc';
56
+ if (!$V) rules += ' Vc';
57
57
  if (!$l) rules += ' l___u';
58
58
  if (!$k) rules += ' k___u';
59
59
  if (!$q) rules += ' q_q';
60
60
  if (!$o) rules += ' o_q';
61
- rules += ' _vc';
62
61
  rules += ' _wc';
63
62
  rules += ' _xc';
64
63
  rules += ' _yc';
64
+ rules += ' _zc';
65
65
  rules += ' da_____I';
66
66
  rules += ' dp10';
67
- rules += ' _Nb';
68
- rules += ' _M-3hmpv';
69
- if (props.isDisabled) rules += ' _La';
70
- else rules += ' _Lb';
67
+ rules += ' _Ob';
68
+ rules += ' _N-3hmpv';
69
+ if (props.isDisabled) rules += ' _Ma';
70
+ else rules += ' _Mb';
71
71
  if (props.isDisabled) rules += ' bg';
72
72
  return rules;
73
73
  }(renderProps, styles),
@@ -55,51 +55,51 @@ const $c7ab41f1e9757931$export$b865d4358897bb17 = /*#__PURE__*/ (0, $4UooL$react
55
55
  style: UNSAFE_style,
56
56
  className: UNSAFE_className + function anonymous(props, overrides) {
57
57
  let rules = " .";
58
- let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|_9|_8|h|_5|_4|__A|__c|__d|__a|__b|U|__Q|X|Z|V|W|l|q|r)[^\s]+/g) || [];
58
+ let matches = (overrides || '').match(/(?:^|\s)(?:y|z|A|B|__a|_9|h|_6|_5|__B|__d|__e|__b|__c|V|__R|Y|_a|W|X|l|q|r)[^\s]+/g) || [];
59
59
  rules += matches.join('');
60
- let $__a = false;
61
60
  let $__b = false;
61
+ let $__c = false;
62
62
  for (let p of matches){
63
- if (/^\s*__a/.test(p)) $__a = true;
64
63
  if (/^\s*__b/.test(p)) $__b = true;
64
+ if (/^\s*__c/.test(p)) $__c = true;
65
65
  }
66
- rules += ' _Zf';
67
- if (!$__a) {
68
- if (props.isInForm) rules += ' __a-3t1y';
69
- }
66
+ rules += ' _0f';
70
67
  if (!$__b) {
68
+ if (props.isInForm) rules += ' __b-3t1y';
69
+ }
70
+ if (!$__c) {
71
71
  if (props.isInForm) {
72
- if (props.labelPosition === "side") rules += ' __b-7u9dhl';
72
+ if (props.labelPosition === "side") rules += ' __c-yqnebx';
73
73
  }
74
74
  }
75
- if (props.isInForm) rules += ' __h-1cwd7ud';
75
+ if (props.isInForm) rules += ' __i-1a97rzt';
76
76
  else {
77
- if (props.labelPosition === "side") rules += ' __h-jyg4vb';
78
- else if (props.labelPosition === "top") rules += ' __h-375yi6';
77
+ if (props.labelPosition === "side") rules += ' __i-ar5vcf';
78
+ else if (props.labelPosition === "top") rules += ' __i-2wzs0i';
79
79
  }
80
- if (props.labelPosition === "side") rules += ' __i-jyg4vb';
81
- else if (props.labelPosition === "top") rules += ' __i-fdenls';
82
- if (props.labelPosition === "side") rules += ' __j-5eez8j';
83
- else if (props.labelPosition === "top") rules += ' __j-xlaqir';
80
+ if (props.labelPosition === "side") rules += ' __j-ar5vcf';
81
+ else if (props.labelPosition === "top") rules += ' __j-1a6w430';
82
+ if (props.labelPosition === "side") rules += ' __k-18h2yqz';
83
+ else if (props.labelPosition === "top") rules += ' __k-1srn173';
84
84
  if (props.size === "XL") {
85
- rules += ' _dbj';
86
- rules += ' _di';
85
+ rules += ' _ebj';
86
+ rules += ' _ei';
87
87
  } else if (props.size === "L") {
88
- rules += ' _dbh';
89
- rules += ' _dg';
88
+ rules += ' _ebh';
89
+ rules += ' _eg';
90
90
  } else if (props.size === "S") {
91
- rules += ' _dbd';
92
- rules += ' _dc';
91
+ rules += ' _ebd';
92
+ rules += ' _ec';
93
93
  } else if (props.size === "XS") {
94
- rules += ' _dbb';
95
- rules += ' _da';
94
+ rules += ' _ebb';
95
+ rules += ' _ea';
96
96
  } else {
97
- rules += ' _dbf';
98
- rules += ' _de';
97
+ rules += ' _ebf';
98
+ rules += ' _ee';
99
99
  }
100
- rules += ' _1d';
101
- rules += ' _f-1x99dlob';
102
- rules += ' _fa';
100
+ rules += ' _2d';
101
+ rules += ' _g-1x99dlob';
102
+ rules += ' _ga';
103
103
  if (props.size === "XL") rules += ' -aqrvqh_k-j';
104
104
  else if (props.size === "L") rules += ' -aqrvqh_k-i';
105
105
  else if (props.size === "S") rules += ' -aqrvqh_k-h';
@@ -107,7 +107,7 @@ const $c7ab41f1e9757931$export$b865d4358897bb17 = /*#__PURE__*/ (0, $4UooL$react
107
107
  else rules += ' -aqrvqh_k-f';
108
108
  rules += ' -_1inj1bc_i--prjw07';
109
109
  rules += ' je';
110
- rules += ' __R-yksgrp';
110
+ rules += ' __S-yksgrp';
111
111
  return rules;
112
112
  }({
113
113
  size: props.size,
@@ -3,74 +3,74 @@
3
3
  }
4
4
 
5
5
  @layer _.a {
6
- ._Zf {
6
+ ._0f {
7
7
  display: grid;
8
8
  }
9
9
 
10
- .__a-3t1y {
10
+ .__b-3t1y {
11
11
  grid-column-start: 1;
12
12
  }
13
13
 
14
- .__b-7u9dhl {
14
+ .__c-yqnebx {
15
15
  grid-column-end: span 2;
16
16
  }
17
17
 
18
- .__h-375yi6 {
18
+ .__i-2wzs0i {
19
19
  grid-template-columns: 1fr;
20
20
  }
21
21
 
22
- .__h-jyg4vb {
22
+ .__i-ar5vcf {
23
23
  grid-template-columns: auto 1fr;
24
24
  }
25
25
 
26
- .__h-1cwd7ud {
26
+ .__i-1a97rzt {
27
27
  grid-template-columns: subgrid;
28
28
  }
29
29
 
30
- .__i-fdenls {
30
+ .__j-1a6w430 {
31
31
  grid-template-rows: auto 1fr auto;
32
32
  }
33
33
 
34
- .__i-jyg4vb {
34
+ .__j-ar5vcf {
35
35
  grid-template-rows: auto 1fr;
36
36
  }
37
37
 
38
- .__j-xlaqir {
38
+ .__k-1srn173 {
39
39
  grid-template-areas: "label"
40
40
  "input"
41
41
  "helptext";
42
42
  }
43
43
 
44
- .__j-5eez8j {
44
+ .__k-18h2yqz {
45
45
  grid-template-areas: "label input"
46
46
  "label helptext";
47
47
  }
48
48
 
49
- ._de {
49
+ ._ee {
50
50
  font-size: .875rem;
51
51
  }
52
52
 
53
- ._da {
53
+ ._ea {
54
54
  font-size: .6875rem;
55
55
  }
56
56
 
57
- ._dc {
57
+ ._ec {
58
58
  font-size: .75rem;
59
59
  }
60
60
 
61
- ._dg {
61
+ ._eg {
62
62
  font-size: 1rem;
63
63
  }
64
64
 
65
- ._di {
65
+ ._ei {
66
66
  font-size: 1.125rem;
67
67
  }
68
68
 
69
- ._1d {
69
+ ._2d {
70
70
  align-items: baseline;
71
71
  }
72
72
 
73
- ._fa {
73
+ ._ga {
74
74
  line-height: 1.3;
75
75
  }
76
76
 
@@ -102,13 +102,13 @@
102
102
  column-gap: .75rem;
103
103
  }
104
104
 
105
- .__R-yksgrp {
105
+ .__S-yksgrp {
106
106
  -webkit-tap-highlight-color: #0000;
107
107
  }
108
108
  }
109
109
 
110
110
  @layer _.b {
111
- ._f-1x99dlob:is(:lang(ja), :lang(ko), :lang(zh), :lang(zh-Hant), :lang(zh-Hans)) {
111
+ ._g-1x99dlob:is(:lang(ja), :lang(ko), :lang(zh), :lang(zh-Hant), :lang(zh-Hans)) {
112
112
  line-height: 1.5;
113
113
  }
114
114
  }
@@ -117,23 +117,23 @@
117
117
 
118
118
  @layer _.b.b {
119
119
  @media not ((hover: hover) and (pointer: fine)) {
120
- ._dbf {
120
+ ._ebf {
121
121
  font-size: 1.0625rem;
122
122
  }
123
123
 
124
- ._dbb {
124
+ ._ebb {
125
125
  font-size: .8125rem;
126
126
  }
127
127
 
128
- ._dbd {
128
+ ._ebd {
129
129
  font-size: .9375rem;
130
130
  }
131
131
 
132
- ._dbh {
132
+ ._ebh {
133
133
  font-size: 1.1875rem;
134
134
  }
135
135
 
136
- ._dbj {
136
+ ._ebj {
137
137
  font-size: 1.375rem;
138
138
  }
139
139
  }