@hopper-ui/components 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +2 -2
- package/dist/badge/src/Badge.css +10 -10
- package/dist/badge/src/Badge.js +2 -2
- package/dist/badge/src/index.css +10 -10
- package/dist/badge/src/index.js +2 -2
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.js +4 -4
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +126 -126
- package/dist/buttons/src/index.js +7 -7
- package/dist/checkbox/src/Checkbox.css +33 -33
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +68 -68
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +68 -68
- package/dist/checkbox/src/index.js +4 -4
- package/dist/chip/src/Chip.css +33 -33
- package/dist/chip/src/Chip.js +2 -2
- package/dist/chip/src/index.css +33 -33
- package/dist/chip/src/index.js +2 -2
- package/dist/{chunk-CTK5YVBZ.js → chunk-2CKDJG6R.js} +1 -1
- package/dist/{chunk-UARL5M2W.js → chunk-5GRWAXTT.js} +1 -1
- package/dist/{chunk-LYV2D5RZ.js → chunk-6MSYEF4W.js} +1 -1
- package/dist/{chunk-5EPNXRCT.js → chunk-BCHUEONM.js} +1 -1
- package/dist/{chunk-JLF7DSUY.js → chunk-BGESEKEN.js} +2 -2
- package/dist/{chunk-CTOL6AVF.js → chunk-CPWTHZGJ.js} +4 -4
- package/dist/{chunk-RXBKOHT2.js → chunk-DZTMUFVC.js} +1 -1
- package/dist/{chunk-XIOIAME2.js → chunk-F7HR3VI4.js} +1 -1
- package/dist/{chunk-OGMLQRES.js → chunk-FGDSWA7S.js} +1 -1
- package/dist/{chunk-2VBOJKEP.js → chunk-GBABMUAI.js} +2 -2
- package/dist/{chunk-BAKCRZAG.js → chunk-HDYG2F3D.js} +1 -1
- package/dist/{chunk-GF2U6E4D.js → chunk-LRXYIR2A.js} +2 -2
- package/dist/{chunk-EE75ND6V.js → chunk-LSVXKVG4.js} +1 -1
- package/dist/{chunk-OUN5KSHD.js → chunk-N745TDH5.js} +1 -1
- package/dist/{chunk-DLTYFRKN.js → chunk-OMBQ3J4O.js} +2 -2
- package/dist/{chunk-7NT6M6KM.js → chunk-PDYU6DNF.js} +1 -1
- package/dist/{chunk-DJU2DUTQ.js → chunk-PEPKE5SW.js} +2 -2
- package/dist/{chunk-3DWVMCIV.js → chunk-QJBQRYJS.js} +2 -2
- package/dist/{chunk-JLFHTZUA.js → chunk-RCFB4SN4.js} +2 -2
- package/dist/{chunk-OQW6BT6B.js → chunk-SWMFTL46.js} +25 -25
- package/dist/{chunk-YQHNOQ3N.js → chunk-TR7YX3IZ.js} +2 -2
- package/dist/{chunk-IOLNBXZM.js → chunk-TSXPLL55.js} +1 -1
- package/dist/{chunk-4RIAVSLK.js → chunk-WGDP4ECF.js} +1 -1
- package/dist/{chunk-3XFTRBIC.js → chunk-XSASR6CK.js} +1 -1
- package/dist/{chunk-UY7WQ7TC.js → chunk-Y3L6TPP3.js} +5 -5
- package/dist/{chunk-WLSLSMK7.js → chunk-Y7XWWUMU.js} +2 -2
- package/dist/{chunk-XFKAXBB5.js → chunk-ZAJJD5FY.js} +2 -2
- package/dist/errorMessage/src/ErrorMessage.css +11 -11
- package/dist/errorMessage/src/ErrorMessage.js +2 -2
- package/dist/errorMessage/src/index.css +11 -11
- package/dist/errorMessage/src/index.js +2 -2
- package/dist/helperMessage/src/HelperMessage.css +11 -11
- package/dist/helperMessage/src/HelperMessage.js +2 -2
- package/dist/helperMessage/src/index.css +11 -11
- package/dist/helperMessage/src/index.js +2 -2
- package/dist/inputs/src/InputGroup.css +12 -12
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/PasswordField.css +348 -348
- package/dist/inputs/src/PasswordField.js +26 -26
- package/dist/inputs/src/SearchField.css +354 -354
- package/dist/inputs/src/SearchField.js +26 -26
- package/dist/inputs/src/TextField.css +349 -349
- package/dist/inputs/src/TextField.js +26 -26
- package/dist/inputs/src/index.css +349 -349
- package/dist/inputs/src/index.js +26 -26
- package/dist/overlays/Popover/src/Popover.css +337 -337
- package/dist/overlays/Popover/src/Popover.js +25 -25
- package/dist/overlays/Popover/src/index.css +337 -337
- package/dist/overlays/Popover/src/index.js +25 -25
- package/dist/radio/src/Radio.css +30 -30
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +65 -65
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/index.css +65 -65
- package/dist/radio/src/index.js +4 -4
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +330 -330
- package/dist/tag/src/Tag.js +24 -24
- package/dist/tag/src/TagGroup.css +28 -28
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +330 -330
- package/dist/tag/src/index.js +24 -24
- package/dist/typography/Heading/src/Heading.css +330 -330
- package/dist/typography/Heading/src/Heading.js +24 -24
- package/dist/typography/Heading/src/index.css +330 -330
- package/dist/typography/Heading/src/index.js +24 -24
- package/dist/typography/Label/src/Label.css +9 -9
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +9 -9
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +1 -1
- package/package.json +3 -3
package/dist/radio/src/index.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/IconList/src/IconList.module.css/#css-module-data */
|
|
2
|
-
.IconList-module__hop-
|
|
2
|
+
.IconList-module__hop-IconList___CIQko {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
11
|
-
.Text-module__hop-
|
|
11
|
+
.Text-module__hop-Text___L5SE4 {
|
|
12
12
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
13
13
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
14
14
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -38,49 +38,49 @@
|
|
|
38
38
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
39
39
|
--hop-Text-inherit-size-line-height: inherit;
|
|
40
40
|
}
|
|
41
|
-
:where(.Text-module__hop-
|
|
41
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
42
42
|
font-family: var(--font-family);
|
|
43
43
|
font-size: var(--font-size);
|
|
44
44
|
font-weight: var(--font-weight);
|
|
45
45
|
line-height: var(--line-height);
|
|
46
46
|
}
|
|
47
|
-
:where(.Text-module__hop-Text--
|
|
47
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
48
48
|
--font-size: var(--hop-Text-xs-font-size);
|
|
49
49
|
--font-family: var(--hop-Text-xs-font-family);
|
|
50
50
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
51
51
|
--line-height: var(--hop-Text-xs-line-height);
|
|
52
52
|
}
|
|
53
|
-
:where(.Text-module__hop-Text--
|
|
53
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
54
54
|
--font-size: var(--hop-Text-sm-font-size);
|
|
55
55
|
--font-family: var(--hop-Text-sm-font-family);
|
|
56
56
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
57
57
|
--line-height: var(--hop-Text-sm-line-height);
|
|
58
58
|
}
|
|
59
|
-
:where(.Text-module__hop-Text--
|
|
59
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
60
60
|
--font-size: var(--hop-Text-md-font-size);
|
|
61
61
|
--font-family: var(--hop-Text-md-font-family);
|
|
62
62
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
63
63
|
--line-height: var(--hop-Text-md-line-height);
|
|
64
64
|
}
|
|
65
|
-
:where(.Text-module__hop-Text--
|
|
65
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
66
66
|
--font-size: var(--hop-Text-lg-font-size);
|
|
67
67
|
--font-family: var(--hop-Text-lg-font-family);
|
|
68
68
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
69
69
|
--line-height: var(--hop-Text-lg-line-height);
|
|
70
70
|
}
|
|
71
|
-
:where(.Text-module__hop-Text--
|
|
71
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
72
72
|
--font-size: var(--hop-Text-xl-font-size);
|
|
73
73
|
--font-family: var(--hop-Text-xl-font-family);
|
|
74
74
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
75
75
|
--line-height: var(--hop-Text-xl-line-height);
|
|
76
76
|
}
|
|
77
|
-
:where(.Text-module__hop-Text--
|
|
77
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
78
78
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
79
79
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
80
80
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
81
81
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
82
82
|
}
|
|
83
|
-
:where(.Text-module__hop-Text--
|
|
83
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
84
84
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
85
85
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
86
86
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/Radio.module.css/#css-module-data */
|
|
91
|
-
.Radio-module__hop-
|
|
91
|
+
.Radio-module__hop-Radio___LZcWz {
|
|
92
92
|
--hop-Radio-box-border-size: 0.0625rem;
|
|
93
93
|
--hop-Radio-box-border-color: var(--hop-neutral-border);
|
|
94
94
|
--hop-Radio-box-background-color: var(--hop-neutral-surface);
|
|
@@ -170,21 +170,21 @@
|
|
|
170
170
|
inline-size: max-content;
|
|
171
171
|
max-inline-size: 100%;
|
|
172
172
|
}
|
|
173
|
-
.Radio-module__hop-
|
|
173
|
+
.Radio-module__hop-Radio___LZcWz[data-hovered] {
|
|
174
174
|
--box-background-color: var(--hop-Radio-box-background-color-hover);
|
|
175
175
|
--box-border-color: var(--hop-Radio-box-border-color-hover);
|
|
176
176
|
--text-color: var(--hop-Radio-text-color-hover);
|
|
177
177
|
--icon-color: var(--hop-Radio-icon-color-hover);
|
|
178
178
|
--description-color: var(--hop-Radio-description-color-hover);
|
|
179
179
|
}
|
|
180
|
-
.Radio-module__hop-
|
|
180
|
+
.Radio-module__hop-Radio___LZcWz[data-pressed] {
|
|
181
181
|
--box-background-color: var(--hop-Radio-box-background-color-pressed);
|
|
182
182
|
--box-border-color: var(--hop-Radio-box-border-color-pressed);
|
|
183
183
|
--text-color: var(--hop-Radio-text-color-pressed);
|
|
184
184
|
--icon-color: var(--hop-Radio-icon-color-pressed);
|
|
185
185
|
--description-color: var(--hop-Radio-description-color-pressed);
|
|
186
186
|
}
|
|
187
|
-
.Radio-module__hop-
|
|
187
|
+
.Radio-module__hop-Radio___LZcWz[data-selected] {
|
|
188
188
|
--box-background-color: var(--hop-Radio-box-background-color-selected-hover);
|
|
189
189
|
--box-border-color: var(--hop-Radio-box-border-color-selected-hover);
|
|
190
190
|
--bullet-display: var(--hop-Radio-bullet-display-selected);
|
|
@@ -192,7 +192,7 @@
|
|
|
192
192
|
--icon-color: var(--hop-Radio-icon-color-selected);
|
|
193
193
|
--description-color: var(--hop-Radio-description-color-selected);
|
|
194
194
|
}
|
|
195
|
-
.Radio-module__hop-
|
|
195
|
+
.Radio-module__hop-Radio___LZcWz[data-focus-visible] {
|
|
196
196
|
--box-background-color: var(--hop-Radio-box-background-color-focus);
|
|
197
197
|
--box-border-color: var(--hop-Radio-box-border-color-focus);
|
|
198
198
|
--box-outline: 0.125rem solid var(--hop-Radio-box-focus-ring-color);
|
|
@@ -200,11 +200,11 @@
|
|
|
200
200
|
--icon-color: var(--hop-Radio-icon-color-focus);
|
|
201
201
|
--description-color: var(--hop-Radio-description-color-focus);
|
|
202
202
|
}
|
|
203
|
-
.Radio-module__hop-
|
|
203
|
+
.Radio-module__hop-Radio___LZcWz[data-focus-visible][data-selected] {
|
|
204
204
|
--box-background-color: var(--hop-Radio-box-background-color-selected-focus);
|
|
205
205
|
--box-border-color: var(--hop-Radio-box-border-color-selected-focus);
|
|
206
206
|
}
|
|
207
|
-
.Radio-module__hop-
|
|
207
|
+
.Radio-module__hop-Radio___LZcWz[data-invalid] {
|
|
208
208
|
--box-background-color: var(--hop-Radio-box-background-color-invalid);
|
|
209
209
|
--box-border-color: var(--hop-Radio-box-border-color-invalid);
|
|
210
210
|
--bullet-color: var(--hop-Radio-bullet-color-invalid);
|
|
@@ -212,27 +212,27 @@
|
|
|
212
212
|
--icon-color: var(--hop-Radio-icon-color-invalid);
|
|
213
213
|
--description-color: var(--hop-Radio-description-color-invalid);
|
|
214
214
|
}
|
|
215
|
-
.Radio-module__hop-
|
|
215
|
+
.Radio-module__hop-Radio___LZcWz[data-invalid][data-hovered] {
|
|
216
216
|
--box-background-color: var(--hop-Radio-box-background-color-hover-invalid);
|
|
217
217
|
--box-border-color: var(--hop-Radio-box-border-color-hover-invalid);
|
|
218
218
|
--text-color: var(--hop-Radio-text-color-hover-invalid);
|
|
219
219
|
--icon-color: var(--hop-Radio-text-color-hover-invalid);
|
|
220
220
|
}
|
|
221
|
-
.Radio-module__hop-
|
|
221
|
+
.Radio-module__hop-Radio___LZcWz[data-invalid][data-pressed] {
|
|
222
222
|
--box-background-color: var(--hop-Radio-box-background-color-pressed-invalid);
|
|
223
223
|
--box-border-color: var(--hop-Radio-box-border-color-pressed-invalid);
|
|
224
224
|
--text-color: var(--hop-Radio-text-color-pressed-invalid);
|
|
225
225
|
--icon-color: var(--hop-Radio-icon-color-pressed-invalid);
|
|
226
226
|
}
|
|
227
|
-
.Radio-module__hop-
|
|
227
|
+
.Radio-module__hop-Radio___LZcWz[data-invalid][data-focus-visible] {
|
|
228
228
|
--box-background-color: var(--hop-Radio-box-background-color-focus-invalid);
|
|
229
229
|
--box-border-color: var(--hop-Radio-box-border-color-focus-invalid);
|
|
230
230
|
}
|
|
231
|
-
.Radio-module__hop-
|
|
231
|
+
.Radio-module__hop-Radio___LZcWz[data-invalid][data-selected] {
|
|
232
232
|
--box-background-color: var(--hop-Radio-box-background-color-selected-invalid);
|
|
233
233
|
--box-border-color: var(--hop-Radio-box-border-color-selected-invalid);
|
|
234
234
|
}
|
|
235
|
-
.Radio-module__hop-
|
|
235
|
+
.Radio-module__hop-Radio___LZcWz[data-disabled] {
|
|
236
236
|
--box-background-color: var(--hop-Radio-box-background-color-disabled);
|
|
237
237
|
--box-border-color: var(--hop-Radio-box-border-color-disabled);
|
|
238
238
|
--bullet-color: var(--hop-Radio-bullet-color-disabled);
|
|
@@ -241,29 +241,29 @@
|
|
|
241
241
|
--icon-color: var(--hop-Radio-icon-color-disabled);
|
|
242
242
|
--description-color: var(--hop-Radio-description-color-disabled);
|
|
243
243
|
}
|
|
244
|
-
.Radio-module__hop-
|
|
244
|
+
.Radio-module__hop-Radio___LZcWz[data-disabled][data-selected] {
|
|
245
245
|
--box-background-color: var(--hop-Radio-box-background-color-selected-disabled);
|
|
246
246
|
--box-border-color: var(--hop-Radio-box-border-color-selected-disabled);
|
|
247
247
|
}
|
|
248
|
-
.Radio-module__hop-Radio--
|
|
248
|
+
.Radio-module__hop-Radio--sm___HI8UZ {
|
|
249
249
|
--box-inline-size: var(--hop-Radio-box-sm-inline-size);
|
|
250
250
|
--box-block-size: var(--hop-Radio-box-sm-block-size);
|
|
251
251
|
--text-top-offset: var(--hop-Radio-text-sm-top-offset);
|
|
252
252
|
--text-margin-inline-start: var(--hop-Radio-text-sm-margin-inline-start);
|
|
253
253
|
}
|
|
254
|
-
.Radio-module__hop-Radio--
|
|
254
|
+
.Radio-module__hop-Radio--md___Dw-0f {
|
|
255
255
|
--box-inline-size: var(--hop-Radio-box-md-inline-size);
|
|
256
256
|
--box-block-size: var(--hop-Radio-box-md-block-size);
|
|
257
257
|
--text-top-offset: var(--hop-Radio-text-md-top-offset);
|
|
258
258
|
--text-margin-inline-start: var(--hop-Radio-text-md-margin-inline-start);
|
|
259
259
|
}
|
|
260
|
-
.Radio-module__hop-
|
|
261
|
-
.Radio-module__hop-Radio__icon-
|
|
260
|
+
.Radio-module__hop-Radio__icon___yYmFX,
|
|
261
|
+
.Radio-module__hop-Radio__icon-list___SPAhi {
|
|
262
262
|
flex: 0 0 auto;
|
|
263
263
|
order: 3;
|
|
264
264
|
color: var(--icon-color);
|
|
265
265
|
}
|
|
266
|
-
.Radio-module__hop-
|
|
266
|
+
.Radio-module__hop-Radio__box___YuVXv {
|
|
267
267
|
display: flex;
|
|
268
268
|
flex: 0 0 auto;
|
|
269
269
|
align-items: center;
|
|
@@ -279,11 +279,11 @@
|
|
|
279
279
|
outline-offset: 0.125rem;
|
|
280
280
|
transition: background-color var(--transition-duration) var(--hop-easing-productive), border var(--transition-duration) var(--hop-easing-productive);
|
|
281
281
|
}
|
|
282
|
-
.Radio-module__hop-
|
|
282
|
+
.Radio-module__hop-Radio__bullet___nln5Y {
|
|
283
283
|
display: var(--bullet-display);
|
|
284
284
|
color: var(--bullet-color);
|
|
285
285
|
}
|
|
286
|
-
.Radio-module__hop-
|
|
286
|
+
.Radio-module__hop-Radio__text___89qvv {
|
|
287
287
|
flex: 0 1 auto;
|
|
288
288
|
order: 2;
|
|
289
289
|
min-inline-size: 0;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioField.module.css/#css-module-data */
|
|
296
|
-
.RadioField-module__hop-
|
|
296
|
+
.RadioField-module__hop-RadioField___j6Bgm {
|
|
297
297
|
--hop-RadioField-description-color: var(--hop-neutral-text-weak);
|
|
298
298
|
--hop-RadioField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
299
299
|
--hop-RadioField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -312,28 +312,28 @@
|
|
|
312
312
|
inline-size: max-content;
|
|
313
313
|
max-inline-size: 100%;
|
|
314
314
|
}
|
|
315
|
-
.RadioField-module__hop-
|
|
315
|
+
.RadioField-module__hop-RadioField___j6Bgm[data-disabled] {
|
|
316
316
|
--description-color: var(--hop-RadioField-description-color-disabled);
|
|
317
317
|
}
|
|
318
|
-
.RadioField-module__hop-RadioField--
|
|
318
|
+
.RadioField-module__hop-RadioField--sm___jr--X {
|
|
319
319
|
--row-gap: var(--hop-RadioField-sm-row-gap);
|
|
320
320
|
--description-margin-inline-start: var(--hop-RadioField-description-sm-margin-inline-start);
|
|
321
321
|
}
|
|
322
|
-
.RadioField-module__hop-RadioField--
|
|
322
|
+
.RadioField-module__hop-RadioField--md___RSqRn {
|
|
323
323
|
--row-gap: var(--hop-RadioField-md-row-gap);
|
|
324
324
|
--description-margin-inline-start: var(--hop-RadioField-description-md-margin-inline-start);
|
|
325
325
|
}
|
|
326
|
-
.RadioField-module__hop-
|
|
326
|
+
.RadioField-module__hop-RadioField__description___kCUrj {
|
|
327
327
|
order: 2;
|
|
328
328
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-RadioField-description-md-margin-inline-start));
|
|
329
329
|
color: var(--description-color);
|
|
330
330
|
}
|
|
331
|
-
.RadioField-module__hop-
|
|
331
|
+
.RadioField-module__hop-RadioField__radio___ii87W {
|
|
332
332
|
order: 1;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/errorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
336
|
-
.ErrorMessage-module__hop-
|
|
336
|
+
.ErrorMessage-module__hop-ErrorMessage___mRyMK {
|
|
337
337
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
338
338
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
339
339
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -350,13 +350,13 @@
|
|
|
350
350
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
351
351
|
color: var(--hop-ErrorMessage-color);
|
|
352
352
|
}
|
|
353
|
-
.ErrorMessage-module__hop-
|
|
353
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___w9R-k {
|
|
354
354
|
flex: 0 0 auto;
|
|
355
355
|
align-self: flex-start;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/helperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
359
|
-
.HelperMessage-module__hop-
|
|
359
|
+
.HelperMessage-module__hop-HelperMessage___VrfVI {
|
|
360
360
|
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
361
361
|
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
362
362
|
display: flex;
|
|
@@ -365,13 +365,13 @@
|
|
|
365
365
|
box-sizing: border-box;
|
|
366
366
|
color: var(--hop-HelperMessage-color);
|
|
367
367
|
}
|
|
368
|
-
.HelperMessage-module__hop-
|
|
368
|
+
.HelperMessage-module__hop-HelperMessage__icon___mVrpO {
|
|
369
369
|
flex: 0 0 auto;
|
|
370
370
|
align-self: flex-start;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
374
|
-
.Label-module__hop-
|
|
374
|
+
.Label-module__hop-Label___7xL3v {
|
|
375
375
|
--hop-Label-xs-font-size: var(--hop-body-xs-font-size);
|
|
376
376
|
--hop-Label-xs-font-family: var(--hop-body-xs-font-family);
|
|
377
377
|
--hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -401,49 +401,49 @@
|
|
|
401
401
|
--hop-Label-inherit-size-font-weight: inherit;
|
|
402
402
|
--hop-Label-inherit-size-line-height: inherit;
|
|
403
403
|
}
|
|
404
|
-
:where(.Label-module__hop-
|
|
404
|
+
:where(.Label-module__hop-Label___7xL3v) {
|
|
405
405
|
font-family: var(--font-family);
|
|
406
406
|
font-size: var(--font-size);
|
|
407
407
|
font-weight: var(--font-weight);
|
|
408
408
|
line-height: var(--line-height);
|
|
409
409
|
}
|
|
410
|
-
:where(.Label-module__hop-Label--
|
|
410
|
+
:where(.Label-module__hop-Label--xs___CHLy3) {
|
|
411
411
|
--font-size: var(--hop-Label-xs-font-size);
|
|
412
412
|
--font-family: var(--hop-Label-xs-font-family);
|
|
413
413
|
--font-weight: var(--hop-Label-xs-font-weight);
|
|
414
414
|
--line-height: var(--hop-Label-xs-line-height);
|
|
415
415
|
}
|
|
416
|
-
:where(.Label-module__hop-Label--
|
|
416
|
+
:where(.Label-module__hop-Label--sm___oQzz3) {
|
|
417
417
|
--font-size: var(--hop-Label-sm-font-size);
|
|
418
418
|
--font-family: var(--hop-Label-sm-font-family);
|
|
419
419
|
--font-weight: var(--hop-Label-sm-font-weight);
|
|
420
420
|
--line-height: var(--hop-Label-sm-line-height);
|
|
421
421
|
}
|
|
422
|
-
:where(.Label-module__hop-Label--
|
|
422
|
+
:where(.Label-module__hop-Label--md___dLqF6) {
|
|
423
423
|
--font-size: var(--hop-Label-md-font-size);
|
|
424
424
|
--font-family: var(--hop-Label-md-font-family);
|
|
425
425
|
--font-weight: var(--hop-Label-md-font-weight);
|
|
426
426
|
--line-height: var(--hop-Label-md-line-height);
|
|
427
427
|
}
|
|
428
|
-
:where(.Label-module__hop-Label--
|
|
428
|
+
:where(.Label-module__hop-Label--lg___ViQCe) {
|
|
429
429
|
--font-size: var(--hop-Label-lg-font-size);
|
|
430
430
|
--font-family: var(--hop-Label-lg-font-family);
|
|
431
431
|
--font-weight: var(--hop-Label-lg-font-weight);
|
|
432
432
|
--line-height: var(--hop-Label-lg-line-height);
|
|
433
433
|
}
|
|
434
|
-
:where(.Label-module__hop-Label--
|
|
434
|
+
:where(.Label-module__hop-Label--xl___wlNpS) {
|
|
435
435
|
--font-size: var(--hop-Label-xl-font-size);
|
|
436
436
|
--font-family: var(--hop-Label-xl-font-family);
|
|
437
437
|
--font-weight: var(--hop-Label-xl-font-weight);
|
|
438
438
|
--line-height: var(--hop-Label-xl-line-height);
|
|
439
439
|
}
|
|
440
|
-
:where(.Label-module__hop-Label--
|
|
440
|
+
:where(.Label-module__hop-Label--2xl___N5Lkc) {
|
|
441
441
|
--font-size: var(--hop-Label-2xl-font-size);
|
|
442
442
|
--font-family: var(--hop-Label-2xl-font-family);
|
|
443
443
|
--font-weight: var(--hop-Label-2xl-font-weight);
|
|
444
444
|
--line-height: var(--hop-Label-2xl-line-height);
|
|
445
445
|
}
|
|
446
|
-
:where(.Label-module__hop-Label--
|
|
446
|
+
:where(.Label-module__hop-Label--inherit___UeeVB) {
|
|
447
447
|
--font-size: var(--hop-Label-inherit-size-font-size);
|
|
448
448
|
--font-family: var(--hop-Label-inherit-size-font-family);
|
|
449
449
|
--font-weight: var(--hop-Label-inherit-size-font-weight);
|
|
@@ -451,7 +451,7 @@
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioGroup.module.css/#css-module-data */
|
|
454
|
-
.RadioGroup-module__hop-
|
|
454
|
+
.RadioGroup-module__hop-RadioGroup___BeZQs {
|
|
455
455
|
--hop-RadioGroup-align-items: flex-start;
|
|
456
456
|
--hop-RadioGroup-justify-content: flex-start;
|
|
457
457
|
--hop-RadioGroup-bordered-border-color: var(--hop-neutral-border-weak);
|
|
@@ -491,46 +491,46 @@
|
|
|
491
491
|
inline-size: var(--inline-size);
|
|
492
492
|
max-inline-size: 100%;
|
|
493
493
|
}
|
|
494
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
494
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV {
|
|
495
495
|
--list-border: var(--radio-border-size) solid var(--radio-border-color);
|
|
496
496
|
--list-border-radius: var(--hop-shape-rounded-md);
|
|
497
497
|
}
|
|
498
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
498
|
+
.RadioGroup-module__hop-RadioGroup--sm___IUAVE {
|
|
499
499
|
--column-gap: var(--hop-RadioGroup-sm-column-gap);
|
|
500
500
|
--row-gap: var(--hop-RadioGroup-sm-row-gap);
|
|
501
501
|
--list-column-gap: var(--hop-RadioGroup-list-sm-column-gap);
|
|
502
502
|
--list-row-gap: var(--hop-RadioGroup-list-sm-row-gap);
|
|
503
503
|
}
|
|
504
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
504
|
+
.RadioGroup-module__hop-RadioGroup--md___-Nt39 {
|
|
505
505
|
--column-gap: var(--hop-RadioGroup-md-column-gap);
|
|
506
506
|
--row-gap: var(--hop-RadioGroup-md-row-gap);
|
|
507
507
|
--list-column-gap: var(--hop-RadioGroup-list-md-column-gap);
|
|
508
508
|
--list-row-gap: var(--hop-RadioGroup-list-md-row-gap);
|
|
509
509
|
}
|
|
510
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
510
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV.RadioGroup-module__hop-RadioGroup--sm___IUAVE {
|
|
511
511
|
--radio-padding: var(--hop-RadioGroup-bordered-sm-padding);
|
|
512
512
|
--column-gap: var(--hop-RadioGroup-bordered-sm-column-gap);
|
|
513
513
|
--row-gap: var(--hop-RadioGroup-bordered-sm-row-gap);
|
|
514
514
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-sm-column-gap);
|
|
515
515
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-sm-row-gap);
|
|
516
516
|
}
|
|
517
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
517
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV.RadioGroup-module__hop-RadioGroup--md___-Nt39 {
|
|
518
518
|
--radio-padding: var(--hop-RadioGroup-bordered-md-padding);
|
|
519
519
|
--column-gap: var(--hop-RadioGroup-bordered-md-column-gap);
|
|
520
520
|
--row-gap: var(--hop-RadioGroup-bordered-md-row-gap);
|
|
521
521
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-md-column-gap);
|
|
522
522
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-md-row-gap);
|
|
523
523
|
}
|
|
524
|
-
.RadioGroup-module__hop-
|
|
524
|
+
.RadioGroup-module__hop-RadioGroup___BeZQs[data-orientation=horizontal] {
|
|
525
525
|
--flex-direction: var(--hop-RadioGroup-horizontal-flex-direction);
|
|
526
526
|
}
|
|
527
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
527
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV[data-orientation=horizontal] {
|
|
528
528
|
--flex-wrap: nowrap;
|
|
529
529
|
}
|
|
530
|
-
.RadioGroup-module__hop-
|
|
530
|
+
.RadioGroup-module__hop-RadioGroup___BeZQs > .RadioGroup-module__hop-RadioGroup__label___jqTEX {
|
|
531
531
|
order: 1;
|
|
532
532
|
}
|
|
533
|
-
.RadioGroup-module__hop-
|
|
533
|
+
.RadioGroup-module__hop-RadioGroup__list___xrMDx {
|
|
534
534
|
display: flex;
|
|
535
535
|
flex-flow: var(--flex-direction) var(--flex-wrap);
|
|
536
536
|
gap: var(--list-row-gap, var(--hop-space-stack-md)) var(--list-column-gap, var(--hop-space-inline-md));
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
border: var(--list-border, none);
|
|
542
542
|
border-radius: var(--list-border-radius, 0);
|
|
543
543
|
}
|
|
544
|
-
.RadioGroup-module__hop-
|
|
544
|
+
.RadioGroup-module__hop-RadioGroup__list___xrMDx > .RadioGroup-module__hop-RadioGroup__radio___g5qwi {
|
|
545
545
|
position: relative;
|
|
546
546
|
flex: 0 1 auto;
|
|
547
547
|
align-content: start;
|
|
@@ -549,22 +549,22 @@
|
|
|
549
549
|
min-inline-size: 0;
|
|
550
550
|
padding: var(--radio-padding, 0);
|
|
551
551
|
}
|
|
552
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
552
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV .RadioGroup-module__hop-RadioGroup__list___xrMDx > .RadioGroup-module__hop-RadioGroup__radio___g5qwi ~ .RadioGroup-module__hop-RadioGroup__radio___g5qwi::before {
|
|
553
553
|
content: "";
|
|
554
554
|
position: absolute;
|
|
555
555
|
display: block;
|
|
556
556
|
}
|
|
557
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
557
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV[data-orientation=vertical] .RadioGroup-module__hop-RadioGroup__list___xrMDx > .RadioGroup-module__hop-RadioGroup__radio___g5qwi ~ .RadioGroup-module__hop-RadioGroup__radio___g5qwi::before {
|
|
558
558
|
inset-block-start: 0;
|
|
559
559
|
inset-inline: 0;
|
|
560
560
|
border-block-start: var(--list-border, none);
|
|
561
561
|
}
|
|
562
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
562
|
+
.RadioGroup-module__hop-RadioGroup--bordered___cZzyV[data-orientation=horizontal] .RadioGroup-module__hop-RadioGroup__list___xrMDx > .RadioGroup-module__hop-RadioGroup__radio___g5qwi ~ .RadioGroup-module__hop-RadioGroup__radio___g5qwi::before {
|
|
563
563
|
inset-block: 0;
|
|
564
564
|
inset-inline-start: 0;
|
|
565
565
|
border-inline-start: var(--list-border, none);
|
|
566
566
|
}
|
|
567
|
-
.RadioGroup-module__hop-
|
|
568
|
-
.RadioGroup-module__hop-
|
|
567
|
+
.RadioGroup-module__hop-RadioGroup___BeZQs > .RadioGroup-module__hop-RadioGroup__error-message___bXfiF,
|
|
568
|
+
.RadioGroup-module__hop-RadioGroup___BeZQs > .RadioGroup-module__hop-RadioGroup__helper-message___l-UB6 {
|
|
569
569
|
order: 3;
|
|
570
570
|
}
|
package/dist/radio/src/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-
|
|
1
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-PDYU6DNF.js';
|
|
2
2
|
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
3
3
|
export { GlobalRadioListCssSelector, _RadioList as RadioList } from '../../chunk-NKHMUPAP.js';
|
|
4
4
|
export { RadioListContext } from '../../chunk-A7TZHALP.js';
|
|
5
|
-
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-
|
|
6
|
-
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-
|
|
5
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-BGESEKEN.js';
|
|
6
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-TSXPLL55.js';
|
|
7
7
|
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
8
8
|
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
9
9
|
import '../../chunk-ACVMW6YD.js';
|
|
10
10
|
import '../../chunk-ESVVLTEN.js';
|
|
11
11
|
import '../../chunk-QCA3ZR56.js';
|
|
12
12
|
import '../../chunk-ZWU6DRRZ.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-WGDP4ECF.js';
|
|
14
14
|
import '../../chunk-HXI3MEEK.js';
|
|
15
15
|
import '../../chunk-X6SER3TZ.js';
|
|
16
16
|
import '../../chunk-65JPI4FL.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/IconList/src/IconList.module.css/#css-module-data */
|
|
2
|
-
.IconList-module__hop-
|
|
2
|
+
.IconList-module__hop-IconList___CIQko {
|
|
3
3
|
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-wrap: wrap;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
11
|
-
.Text-module__hop-
|
|
11
|
+
.Text-module__hop-Text___L5SE4 {
|
|
12
12
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
13
13
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
14
14
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -38,49 +38,49 @@
|
|
|
38
38
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
39
39
|
--hop-Text-inherit-size-line-height: inherit;
|
|
40
40
|
}
|
|
41
|
-
:where(.Text-module__hop-
|
|
41
|
+
:where(.Text-module__hop-Text___L5SE4) {
|
|
42
42
|
font-family: var(--font-family);
|
|
43
43
|
font-size: var(--font-size);
|
|
44
44
|
font-weight: var(--font-weight);
|
|
45
45
|
line-height: var(--line-height);
|
|
46
46
|
}
|
|
47
|
-
:where(.Text-module__hop-Text--
|
|
47
|
+
:where(.Text-module__hop-Text--xs___4XSOM) {
|
|
48
48
|
--font-size: var(--hop-Text-xs-font-size);
|
|
49
49
|
--font-family: var(--hop-Text-xs-font-family);
|
|
50
50
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
51
51
|
--line-height: var(--hop-Text-xs-line-height);
|
|
52
52
|
}
|
|
53
|
-
:where(.Text-module__hop-Text--
|
|
53
|
+
:where(.Text-module__hop-Text--sm___rxq9a) {
|
|
54
54
|
--font-size: var(--hop-Text-sm-font-size);
|
|
55
55
|
--font-family: var(--hop-Text-sm-font-family);
|
|
56
56
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
57
57
|
--line-height: var(--hop-Text-sm-line-height);
|
|
58
58
|
}
|
|
59
|
-
:where(.Text-module__hop-Text--
|
|
59
|
+
:where(.Text-module__hop-Text--md___I1rkh) {
|
|
60
60
|
--font-size: var(--hop-Text-md-font-size);
|
|
61
61
|
--font-family: var(--hop-Text-md-font-family);
|
|
62
62
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
63
63
|
--line-height: var(--hop-Text-md-line-height);
|
|
64
64
|
}
|
|
65
|
-
:where(.Text-module__hop-Text--
|
|
65
|
+
:where(.Text-module__hop-Text--lg___A5qVa) {
|
|
66
66
|
--font-size: var(--hop-Text-lg-font-size);
|
|
67
67
|
--font-family: var(--hop-Text-lg-font-family);
|
|
68
68
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
69
69
|
--line-height: var(--hop-Text-lg-line-height);
|
|
70
70
|
}
|
|
71
|
-
:where(.Text-module__hop-Text--
|
|
71
|
+
:where(.Text-module__hop-Text--xl___W3xPi) {
|
|
72
72
|
--font-size: var(--hop-Text-xl-font-size);
|
|
73
73
|
--font-family: var(--hop-Text-xl-font-family);
|
|
74
74
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
75
75
|
--line-height: var(--hop-Text-xl-line-height);
|
|
76
76
|
}
|
|
77
|
-
:where(.Text-module__hop-Text--
|
|
77
|
+
:where(.Text-module__hop-Text--2xl___C50TH) {
|
|
78
78
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
79
79
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
80
80
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
81
81
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
82
82
|
}
|
|
83
|
-
:where(.Text-module__hop-Text--
|
|
83
|
+
:where(.Text-module__hop-Text--inherit___YDakN) {
|
|
84
84
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
85
85
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
86
86
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/Switch.module.css/#css-module-data */
|
|
91
|
-
.Switch-module__hop-
|
|
91
|
+
.Switch-module__hop-Switch___wvxPf {
|
|
92
92
|
--hop-Switch-border-size: 0.0625rem;
|
|
93
93
|
--hop-Switch-border-color: var(--hop-neutral-border);
|
|
94
94
|
--hop-Switch-border-radius: var(--hop-shape-rounded-lg);
|
|
@@ -146,56 +146,56 @@
|
|
|
146
146
|
inline-size: max-content;
|
|
147
147
|
max-inline-size: 100%;
|
|
148
148
|
}
|
|
149
|
-
.Switch-module__hop-Switch--
|
|
149
|
+
.Switch-module__hop-Switch--sm___lZll1 {
|
|
150
150
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
151
151
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
152
152
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
153
153
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
154
154
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
155
155
|
}
|
|
156
|
-
.Switch-module__hop-Switch--
|
|
156
|
+
.Switch-module__hop-Switch--md___BUSV8 {
|
|
157
157
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
158
158
|
--block-size: var(--hop-Switch-block-size-md);
|
|
159
159
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
160
160
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
161
161
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
162
162
|
}
|
|
163
|
-
.Switch-module__hop-
|
|
163
|
+
.Switch-module__hop-Switch___wvxPf[data-hovered] {
|
|
164
164
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
165
165
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
166
166
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
167
167
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
168
168
|
}
|
|
169
|
-
.Switch-module__hop-
|
|
170
|
-
.Switch-module__hop-
|
|
169
|
+
.Switch-module__hop-Switch___wvxPf[data-pressed],
|
|
170
|
+
.Switch-module__hop-Switch___wvxPf[data-pressed][data-focus-visible] {
|
|
171
171
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
172
172
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
173
173
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
174
174
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
175
175
|
}
|
|
176
|
-
.Switch-module__hop-
|
|
176
|
+
.Switch-module__hop-Switch___wvxPf[data-focus-visible] {
|
|
177
177
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
178
178
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
179
179
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
180
180
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
181
181
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
182
182
|
}
|
|
183
|
-
.Switch-module__hop-
|
|
184
|
-
.Switch-module__hop-
|
|
183
|
+
.Switch-module__hop-Switch___wvxPf[data-selected],
|
|
184
|
+
.Switch-module__hop-Switch___wvxPf[data-selected][data-pressed] {
|
|
185
185
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
186
186
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
187
187
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
188
188
|
--thumb-transform: translate(calc(var(--inline-size) - var(--thumb-size, var(--hop-Switch-thumb-size-md)) - (2 * var(--inset-inline-start, var(--hop-Switch-inset-inline-start-md))) - (2 * var(--border-size))), -50%);
|
|
189
189
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
190
190
|
}
|
|
191
|
-
.Switch-module__hop-
|
|
191
|
+
.Switch-module__hop-Switch___wvxPf[data-disabled] {
|
|
192
192
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
193
193
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
194
194
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
195
195
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
196
196
|
--cursor: not-allowed;
|
|
197
197
|
}
|
|
198
|
-
.Switch-module__hop-
|
|
198
|
+
.Switch-module__hop-Switch__indicator___M3TnD {
|
|
199
199
|
position: relative;
|
|
200
200
|
flex: 0 0 auto;
|
|
201
201
|
box-sizing: border-box;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
outline-offset: 0.125rem;
|
|
209
209
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
210
210
|
}
|
|
211
|
-
.Switch-module__hop-
|
|
211
|
+
.Switch-module__hop-Switch__indicator___M3TnD::before {
|
|
212
212
|
content: "";
|
|
213
213
|
position: absolute;
|
|
214
214
|
inset-block-start: 50%;
|
|
@@ -223,14 +223,14 @@
|
|
|
223
223
|
border-radius: var(--hop-shape-circle);
|
|
224
224
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
225
225
|
}
|
|
226
|
-
.Switch-module__hop-
|
|
226
|
+
.Switch-module__hop-Switch__text___rMMHM {
|
|
227
227
|
flex: 0 1 auto;
|
|
228
228
|
order: 2;
|
|
229
229
|
min-inline-size: 0;
|
|
230
230
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
231
231
|
color: var(--text-color);
|
|
232
232
|
}
|
|
233
|
-
.Switch-module__hop-Switch__icon-
|
|
234
|
-
.Switch-module__hop-
|
|
233
|
+
.Switch-module__hop-Switch__icon-list___Ee4Bd,
|
|
234
|
+
.Switch-module__hop-Switch__icon___FP-3- {
|
|
235
235
|
order: 3;
|
|
236
236
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-ZAJJD5FY.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-WGDP4ECF.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
6
|
import '../../chunk-X6SER3TZ.js';
|
|
7
7
|
import '../../chunk-65JPI4FL.js';
|