@hopper-ui/components 1.3.1 → 1.3.2
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 +6 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +5 -5
- package/dist/Badge/src/Badge.css +21 -21
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +10 -10
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +31 -31
- package/dist/Badge/src/index.js +3 -3
- package/dist/Divider/src/Divider.css +2 -2
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +2 -2
- package/dist/Divider/src/index.js +1 -1
- 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/Form/src/Form.css +658 -645
- package/dist/Form/src/Form.js +42 -42
- package/dist/Form/src/index.css +658 -645
- package/dist/Form/src/index.js +42 -42
- 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/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/ListBox/src/ListBox.css +222 -222
- package/dist/ListBox/src/ListBox.js +7 -7
- package/dist/ListBox/src/ListBoxItem.css +207 -207
- package/dist/ListBox/src/ListBoxItem.js +6 -6
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +222 -222
- package/dist/ListBox/src/index.js +7 -7
- package/dist/Select/src/Select.css +658 -645
- package/dist/Select/src/Select.js +42 -42
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +658 -645
- package/dist/Select/src/index.js +42 -42
- 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/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +3 -3
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +70 -70
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +70 -70
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +175 -175
- package/dist/buttons/src/index.js +6 -6
- package/dist/checkbox/src/Checkbox.css +31 -31
- 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 +60 -60
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +60 -60
- package/dist/checkbox/src/index.js +4 -4
- package/dist/{chunk-X2T2UX2O.js → chunk-2JKIODNX.js} +1 -1
- package/dist/{chunk-ZG5E36S3.js → chunk-2QRF6QS4.js} +3 -3
- package/dist/{chunk-NEPRDVF7.js → chunk-4DUNOSY3.js} +1 -1
- package/dist/{chunk-HXPTWMD5.js → chunk-4HDV2BLR.js} +3 -3
- package/dist/{chunk-2WWHL3EF.js → chunk-6ARIISLQ.js} +3 -3
- package/dist/{chunk-QCTIAKM6.js → chunk-7PGPLWWM.js} +1 -1
- package/dist/{chunk-JVDCU4PT.js → chunk-7UCX7BHD.js} +1 -1
- package/dist/{chunk-EUELVL2L.js → chunk-BZEAJIFE.js} +1 -1
- package/dist/{chunk-QSWSZUZM.js → chunk-DBRCQKUP.js} +1 -1
- package/dist/{chunk-WDA6LWC4.js → chunk-DVUZTKLP.js} +6 -6
- package/dist/{chunk-QAIK237T.js → chunk-E3OC54N2.js} +18 -7
- package/dist/{chunk-ARD3LWL2.js → chunk-E4XUYBHM.js} +2 -2
- package/dist/{chunk-OLXX46IZ.js → chunk-EM46HWRZ.js} +1 -1
- package/dist/{chunk-USVXH6MO.js → chunk-FJ22ZFSR.js} +2 -2
- package/dist/{chunk-ESWRMGHR.js → chunk-GVSKXB2L.js} +3 -3
- package/dist/{chunk-JVZRUDLP.js → chunk-GX73DZCI.js} +4 -4
- package/dist/{chunk-EMD2K6B3.js → chunk-HIBGDGNG.js} +2 -2
- package/dist/{chunk-47SFZCKK.js → chunk-IU74RATZ.js} +1 -1
- package/dist/{chunk-5NMCOZOW.js → chunk-JCH77LJD.js} +1 -1
- package/dist/{chunk-L3Y67TUF.js → chunk-KCISVH6E.js} +1 -1
- package/dist/{chunk-2ZOLM7VR.js → chunk-KYREXCID.js} +2 -2
- package/dist/{chunk-SFZBLVJN.js → chunk-LBJ4PRPZ.js} +2 -2
- package/dist/{chunk-NJHNYL6X.js → chunk-M23LQGWD.js} +2 -2
- package/dist/{chunk-UNSJTDXN.js → chunk-M72B6IEL.js} +1 -1
- package/dist/{chunk-XHQWDF7B.js → chunk-MVQ4SZCY.js} +1 -1
- package/dist/{chunk-YD2TGFCB.js → chunk-OHK3RWIU.js} +3 -3
- package/dist/{chunk-BO53NITW.js → chunk-PMPZHA56.js} +1 -1
- package/dist/{chunk-GG6RHMJ7.js → chunk-QIGWJIKW.js} +7 -7
- package/dist/{chunk-A2S2Q73W.js → chunk-SYP4FGDH.js} +2 -2
- package/dist/{chunk-PUMWU6M4.js → chunk-SZE6BURJ.js} +1 -1
- package/dist/{chunk-7QUXYE3E.js → chunk-T46AXTFR.js} +4 -4
- package/dist/{chunk-XF4SQ222.js → chunk-TKCXSKGR.js} +1 -1
- package/dist/{chunk-BF6YUKC2.js → chunk-UUNBQSPD.js} +1 -1
- package/dist/{chunk-HLXQ6C2E.js → chunk-UURAYM5Q.js} +1 -1
- package/dist/{chunk-TJMAMWRQ.js → chunk-VAX4ILUC.js} +1 -1
- package/dist/{chunk-52LHX4PE.js → chunk-VSUK2R4A.js} +2 -2
- package/dist/{chunk-BV7O26TY.js → chunk-XBDHVTY7.js} +3 -3
- package/dist/{chunk-D7VVQIPM.js → chunk-XZRK3MCS.js} +2 -2
- package/dist/{chunk-D2GZKHYD.js → chunk-XZZGXNY3.js} +1 -1
- package/dist/{chunk-ANBOSYAL.js → chunk-YAWQ7HJ5.js} +1 -1
- package/dist/{chunk-SD6DBWYC.js → chunk-ZUIUPK7K.js} +1 -1
- package/dist/index.css +658 -645
- package/dist/index.js +42 -42
- package/dist/inputs/src/InputGroup.css +14 -14
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +63 -63
- package/dist/inputs/src/NumberField.js +6 -6
- package/dist/inputs/src/PasswordField.css +217 -217
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/SearchField.css +223 -223
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +57 -57
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +231 -218
- package/dist/inputs/src/TextField.d.ts +7 -0
- package/dist/inputs/src/TextField.js +9 -8
- package/dist/inputs/src/index.css +279 -266
- package/dist/inputs/src/index.js +13 -13
- package/dist/overlays/Popover/src/Popover.css +658 -645
- package/dist/overlays/Popover/src/Popover.js +42 -42
- package/dist/overlays/Popover/src/index.css +658 -645
- package/dist/overlays/Popover/src/index.js +42 -42
- package/dist/radio/src/Radio.css +31 -31
- 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 +60 -60
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/index.css +60 -60
- 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 +322 -322
- package/dist/tag/src/Tag.js +5 -5
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +335 -335
- package/dist/tag/src/index.js +6 -6
- package/dist/typography/Heading/src/Heading.css +9 -9
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -9
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +3 -3
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +3 -3
- 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/dist/utils/src/index.js +1 -1
- package/package.json +1 -1
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___Z6Put {
|
|
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___GsTEX {
|
|
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___GsTEX) {
|
|
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___xPq-q) {
|
|
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___m1xkd) {
|
|
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___gVBxd) {
|
|
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___nmRag) {
|
|
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___MHAaX) {
|
|
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___OHdc1) {
|
|
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___ymYRX) {
|
|
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___fiLqZ {
|
|
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);
|
|
@@ -162,63 +162,63 @@
|
|
|
162
162
|
inline-size: max-content;
|
|
163
163
|
max-inline-size: 100%;
|
|
164
164
|
}
|
|
165
|
-
.Radio-module__hop-
|
|
166
|
-
.Radio-module__hop-Radio--
|
|
165
|
+
.Radio-module__hop-Radio___fiLqZ[data-focus-visible],
|
|
166
|
+
.Radio-module__hop-Radio--focused___ljAlt {
|
|
167
167
|
--box-background-color: var(--hop-Radio-box-background-color-focused);
|
|
168
168
|
--box-border-color: var(--hop-Radio-box-border-color-focused);
|
|
169
169
|
--box-outline: var(--hop-Radio-box-outline-size) solid var(--hop-Radio-box-outline-color);
|
|
170
170
|
--text-color: var(--hop-Radio-text-color-focused);
|
|
171
171
|
--icon-color: var(--hop-Radio-icon-color-focused);
|
|
172
172
|
}
|
|
173
|
-
.Radio-module__hop-
|
|
174
|
-
.Radio-module__hop-Radio--
|
|
173
|
+
.Radio-module__hop-Radio___fiLqZ[data-hovered],
|
|
174
|
+
.Radio-module__hop-Radio--hovered___1jVbG {
|
|
175
175
|
--box-background-color: var(--hop-Radio-box-background-color-hovered);
|
|
176
176
|
--box-border-color: var(--hop-Radio-box-border-color-hovered);
|
|
177
177
|
--text-color: var(--hop-Radio-text-color-hovered);
|
|
178
178
|
--icon-color: var(--hop-Radio-icon-color-hovered);
|
|
179
179
|
}
|
|
180
|
-
.Radio-module__hop-
|
|
181
|
-
.Radio-module__hop-Radio--
|
|
180
|
+
.Radio-module__hop-Radio___fiLqZ[data-pressed],
|
|
181
|
+
.Radio-module__hop-Radio--pressed___fFpLV {
|
|
182
182
|
--box-background-color: var(--hop-Radio-box-background-color-pressed);
|
|
183
183
|
--box-border-color: var(--hop-Radio-box-border-color-pressed);
|
|
184
184
|
--text-color: var(--hop-Radio-text-color-pressed);
|
|
185
185
|
--icon-color: var(--hop-Radio-icon-color-pressed);
|
|
186
186
|
}
|
|
187
|
-
.Radio-module__hop-
|
|
187
|
+
.Radio-module__hop-Radio___fiLqZ[data-selected] {
|
|
188
188
|
--box-background-color: var(--hop-Radio-box-background-color-selected);
|
|
189
189
|
--box-border-color: var(--hop-Radio-box-border-color-selected);
|
|
190
190
|
--bullet-display: var(--hop-Radio-bullet-display-selected);
|
|
191
191
|
--text-color: var(--hop-Radio-text-color-selected);
|
|
192
192
|
--icon-color: var(--hop-Radio-icon-color-selected);
|
|
193
193
|
}
|
|
194
|
-
.Radio-module__hop-
|
|
194
|
+
.Radio-module__hop-Radio___fiLqZ[data-invalid] {
|
|
195
195
|
--box-background-color: var(--hop-Radio-box-background-color-invalid);
|
|
196
196
|
--box-border-color: var(--hop-Radio-box-border-color-invalid);
|
|
197
197
|
--bullet-color: var(--hop-Radio-bullet-color-invalid);
|
|
198
198
|
--text-color: var(--hop-Radio-text-color-invalid);
|
|
199
199
|
--icon-color: var(--hop-Radio-icon-color-invalid);
|
|
200
200
|
}
|
|
201
|
-
.Radio-module__hop-
|
|
201
|
+
.Radio-module__hop-Radio___fiLqZ:where([data-invalid])[data-focus-visible] {
|
|
202
202
|
--box-background-color: var(--hop-Radio-box-background-color-focused-invalid);
|
|
203
203
|
--box-border-color: var(--hop-Radio-box-border-color-focused-invalid);
|
|
204
204
|
}
|
|
205
|
-
.Radio-module__hop-
|
|
205
|
+
.Radio-module__hop-Radio___fiLqZ:where([data-invalid])[data-hovered] {
|
|
206
206
|
--box-background-color: var(--hop-Radio-box-background-color-hovered-invalid);
|
|
207
207
|
--box-border-color: var(--hop-Radio-box-border-color-hovered-invalid);
|
|
208
208
|
--text-color: var(--hop-Radio-text-color-hovered-invalid);
|
|
209
209
|
--icon-color: var(--hop-Radio-text-color-hovered-invalid);
|
|
210
210
|
}
|
|
211
|
-
.Radio-module__hop-
|
|
211
|
+
.Radio-module__hop-Radio___fiLqZ:where([data-invalid])[data-pressed] {
|
|
212
212
|
--box-background-color: var(--hop-Radio-box-background-color-pressed-invalid);
|
|
213
213
|
--box-border-color: var(--hop-Radio-box-border-color-pressed-invalid);
|
|
214
214
|
--text-color: var(--hop-Radio-text-color-pressed-invalid);
|
|
215
215
|
--icon-color: var(--hop-Radio-icon-color-pressed-invalid);
|
|
216
216
|
}
|
|
217
|
-
.Radio-module__hop-
|
|
217
|
+
.Radio-module__hop-Radio___fiLqZ:where([data-invalid])[data-selected] {
|
|
218
218
|
--box-background-color: var(--hop-Radio-box-background-color-selected-invalid);
|
|
219
219
|
--box-border-color: var(--hop-Radio-box-border-color-selected-invalid);
|
|
220
220
|
}
|
|
221
|
-
.Radio-module__hop-
|
|
221
|
+
.Radio-module__hop-Radio___fiLqZ[data-disabled] {
|
|
222
222
|
--box-background-color: var(--hop-Radio-box-background-color-disabled);
|
|
223
223
|
--box-border-color: var(--hop-Radio-box-border-color-disabled);
|
|
224
224
|
--bullet-color: var(--hop-Radio-bullet-color-disabled);
|
|
@@ -226,25 +226,25 @@
|
|
|
226
226
|
--text-color: var(--hop-Radio-text-color-disabled);
|
|
227
227
|
--icon-color: var(--hop-Radio-icon-color-disabled);
|
|
228
228
|
}
|
|
229
|
-
.Radio-module__hop-Radio--
|
|
229
|
+
.Radio-module__hop-Radio--sm___lMp9M {
|
|
230
230
|
--box-inline-size: var(--hop-Radio-box-sm-inline-size);
|
|
231
231
|
--box-block-size: var(--hop-Radio-box-sm-block-size);
|
|
232
232
|
--text-top-offset: var(--hop-Radio-text-sm-top-offset);
|
|
233
233
|
--text-margin-inline-start: var(--hop-Radio-text-sm-margin-inline-start);
|
|
234
234
|
}
|
|
235
|
-
.Radio-module__hop-Radio--
|
|
235
|
+
.Radio-module__hop-Radio--md___2SjXP {
|
|
236
236
|
--box-inline-size: var(--hop-Radio-box-md-inline-size);
|
|
237
237
|
--box-block-size: var(--hop-Radio-box-md-block-size);
|
|
238
238
|
--text-top-offset: var(--hop-Radio-text-md-top-offset);
|
|
239
239
|
--text-margin-inline-start: var(--hop-Radio-text-md-margin-inline-start);
|
|
240
240
|
}
|
|
241
|
-
.Radio-module__hop-
|
|
242
|
-
.Radio-module__hop-Radio__icon-
|
|
241
|
+
.Radio-module__hop-Radio__icon___RhEJ7,
|
|
242
|
+
.Radio-module__hop-Radio__icon-list___3-dCQ {
|
|
243
243
|
flex: 0 0 auto;
|
|
244
244
|
order: 3;
|
|
245
245
|
color: var(--icon-color);
|
|
246
246
|
}
|
|
247
|
-
.Radio-module__hop-
|
|
247
|
+
.Radio-module__hop-Radio__box___XsjuT {
|
|
248
248
|
display: flex;
|
|
249
249
|
flex: 0 0 auto;
|
|
250
250
|
align-items: center;
|
|
@@ -260,11 +260,11 @@
|
|
|
260
260
|
outline-offset: 0.125rem;
|
|
261
261
|
transition: background-color var(--transition-duration) var(--hop-easing-productive), border var(--transition-duration) var(--hop-easing-productive);
|
|
262
262
|
}
|
|
263
|
-
.Radio-module__hop-
|
|
263
|
+
.Radio-module__hop-Radio__bullet___rhaGm {
|
|
264
264
|
display: var(--bullet-display);
|
|
265
265
|
color: var(--bullet-color);
|
|
266
266
|
}
|
|
267
|
-
.Radio-module__hop-
|
|
267
|
+
.Radio-module__hop-Radio__text___gKthl {
|
|
268
268
|
flex: 0 1 auto;
|
|
269
269
|
order: 2;
|
|
270
270
|
min-inline-size: 0;
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioField.module.css/#css-module-data */
|
|
277
|
-
.RadioField-module__hop-
|
|
277
|
+
.RadioField-module__hop-RadioField___T1vq5 {
|
|
278
278
|
--hop-RadioField-description-color: var(--hop-neutral-text-weak);
|
|
279
279
|
--hop-RadioField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
280
280
|
--hop-RadioField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -293,28 +293,28 @@
|
|
|
293
293
|
inline-size: max-content;
|
|
294
294
|
max-inline-size: 100%;
|
|
295
295
|
}
|
|
296
|
-
.RadioField-module__hop-
|
|
296
|
+
.RadioField-module__hop-RadioField___T1vq5[data-disabled] {
|
|
297
297
|
--description-color: var(--hop-RadioField-description-color-disabled);
|
|
298
298
|
}
|
|
299
|
-
.RadioField-module__hop-RadioField--
|
|
299
|
+
.RadioField-module__hop-RadioField--sm___P-jTL {
|
|
300
300
|
--row-gap: var(--hop-RadioField-sm-row-gap);
|
|
301
301
|
--description-margin-inline-start: var(--hop-RadioField-description-sm-margin-inline-start);
|
|
302
302
|
}
|
|
303
|
-
.RadioField-module__hop-RadioField--
|
|
303
|
+
.RadioField-module__hop-RadioField--md___DI19F {
|
|
304
304
|
--row-gap: var(--hop-RadioField-md-row-gap);
|
|
305
305
|
--description-margin-inline-start: var(--hop-RadioField-description-md-margin-inline-start);
|
|
306
306
|
}
|
|
307
|
-
.RadioField-module__hop-
|
|
307
|
+
.RadioField-module__hop-RadioField__description___sFFCG {
|
|
308
308
|
order: 2;
|
|
309
309
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-RadioField-description-md-margin-inline-start));
|
|
310
310
|
color: var(--description-color);
|
|
311
311
|
}
|
|
312
|
-
.RadioField-module__hop-
|
|
312
|
+
.RadioField-module__hop-RadioField__radio___-jqTU {
|
|
313
313
|
order: 1;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/ErrorMessage/src/ErrorMessage.module.css/#css-module-data */
|
|
317
|
-
.ErrorMessage-module__hop-
|
|
317
|
+
.ErrorMessage-module__hop-ErrorMessage___RgnZ8 {
|
|
318
318
|
--hop-ErrorMessage-color: var(--hop-danger-text-weak);
|
|
319
319
|
--hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
|
|
320
320
|
--hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
|
|
@@ -331,13 +331,13 @@
|
|
|
331
331
|
line-height: var(--hop-ErrorMessage-line-height);
|
|
332
332
|
color: var(--hop-ErrorMessage-color);
|
|
333
333
|
}
|
|
334
|
-
.ErrorMessage-module__hop-
|
|
334
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___55BuQ {
|
|
335
335
|
flex: 0 0 auto;
|
|
336
336
|
align-self: flex-start;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/HelperMessage/src/HelperMessage.module.css/#css-module-data */
|
|
340
|
-
.HelperMessage-module__hop-
|
|
340
|
+
.HelperMessage-module__hop-HelperMessage___wUoas {
|
|
341
341
|
--hop-HelperMessage-color: var(--hop-neutral-text-weak);
|
|
342
342
|
--hop-HelperMessage-column-gap: var(--hop-space-inline-xs);
|
|
343
343
|
display: flex;
|
|
@@ -346,32 +346,32 @@
|
|
|
346
346
|
box-sizing: border-box;
|
|
347
347
|
color: var(--hop-HelperMessage-color);
|
|
348
348
|
}
|
|
349
|
-
.HelperMessage-module__hop-
|
|
349
|
+
.HelperMessage-module__hop-HelperMessage__icon___An68p {
|
|
350
350
|
flex: 0 0 auto;
|
|
351
351
|
align-self: flex-start;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
|
|
355
|
-
.Label-module__hop-
|
|
355
|
+
.Label-module__hop-Label___fMtr- {
|
|
356
356
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
357
357
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
358
358
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
359
359
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
360
360
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
361
361
|
}
|
|
362
|
-
:where(.Label-module__hop-
|
|
362
|
+
:where(.Label-module__hop-Label___fMtr-) {
|
|
363
363
|
font-family: var(--hop-Label-font-family);
|
|
364
364
|
font-size: var(--hop-Label-font-size);
|
|
365
365
|
font-weight: var(--hop-Label-font-weight);
|
|
366
366
|
line-height: var(--hop-Label-line-height);
|
|
367
367
|
color: var(--hop-Label-color);
|
|
368
368
|
}
|
|
369
|
-
:where(.Label-module__hop-
|
|
369
|
+
:where(.Label-module__hop-Label__indicator___L7EES) {
|
|
370
370
|
padding-inline-start: var(--hop-space-20);
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioGroup.module.css/#css-module-data */
|
|
374
|
-
.RadioGroup-module__hop-
|
|
374
|
+
.RadioGroup-module__hop-RadioGroup___5uPZC {
|
|
375
375
|
--hop-RadioGroup-align-items: flex-start;
|
|
376
376
|
--hop-RadioGroup-justify-content: flex-start;
|
|
377
377
|
--hop-RadioGroup-bordered-border-color: var(--hop-neutral-border-weak);
|
|
@@ -411,46 +411,46 @@
|
|
|
411
411
|
inline-size: var(--inline-size);
|
|
412
412
|
max-inline-size: 100%;
|
|
413
413
|
}
|
|
414
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
414
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g {
|
|
415
415
|
--list-border: var(--radio-border-size) solid var(--radio-border-color);
|
|
416
416
|
--list-border-radius: var(--hop-shape-rounded-md);
|
|
417
417
|
}
|
|
418
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
418
|
+
.RadioGroup-module__hop-RadioGroup--sm___sySXY {
|
|
419
419
|
--column-gap: var(--hop-RadioGroup-sm-column-gap);
|
|
420
420
|
--row-gap: var(--hop-RadioGroup-sm-row-gap);
|
|
421
421
|
--list-column-gap: var(--hop-RadioGroup-list-sm-column-gap);
|
|
422
422
|
--list-row-gap: var(--hop-RadioGroup-list-sm-row-gap);
|
|
423
423
|
}
|
|
424
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
424
|
+
.RadioGroup-module__hop-RadioGroup--md___bhsBV {
|
|
425
425
|
--column-gap: var(--hop-RadioGroup-md-column-gap);
|
|
426
426
|
--row-gap: var(--hop-RadioGroup-md-row-gap);
|
|
427
427
|
--list-column-gap: var(--hop-RadioGroup-list-md-column-gap);
|
|
428
428
|
--list-row-gap: var(--hop-RadioGroup-list-md-row-gap);
|
|
429
429
|
}
|
|
430
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
430
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g.RadioGroup-module__hop-RadioGroup--sm___sySXY {
|
|
431
431
|
--radio-padding: var(--hop-RadioGroup-bordered-sm-padding);
|
|
432
432
|
--column-gap: var(--hop-RadioGroup-bordered-sm-column-gap);
|
|
433
433
|
--row-gap: var(--hop-RadioGroup-bordered-sm-row-gap);
|
|
434
434
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-sm-column-gap);
|
|
435
435
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-sm-row-gap);
|
|
436
436
|
}
|
|
437
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
437
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g.RadioGroup-module__hop-RadioGroup--md___bhsBV {
|
|
438
438
|
--radio-padding: var(--hop-RadioGroup-bordered-md-padding);
|
|
439
439
|
--column-gap: var(--hop-RadioGroup-bordered-md-column-gap);
|
|
440
440
|
--row-gap: var(--hop-RadioGroup-bordered-md-row-gap);
|
|
441
441
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-md-column-gap);
|
|
442
442
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-md-row-gap);
|
|
443
443
|
}
|
|
444
|
-
.RadioGroup-module__hop-
|
|
444
|
+
.RadioGroup-module__hop-RadioGroup___5uPZC[data-orientation=horizontal] {
|
|
445
445
|
--flex-direction: var(--hop-RadioGroup-horizontal-flex-direction);
|
|
446
446
|
}
|
|
447
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
447
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g[data-orientation=horizontal] {
|
|
448
448
|
--flex-wrap: nowrap;
|
|
449
449
|
}
|
|
450
|
-
.RadioGroup-module__hop-
|
|
450
|
+
.RadioGroup-module__hop-RadioGroup___5uPZC > .RadioGroup-module__hop-RadioGroup__label___4M6KT {
|
|
451
451
|
order: 1;
|
|
452
452
|
}
|
|
453
|
-
.RadioGroup-module__hop-
|
|
453
|
+
.RadioGroup-module__hop-RadioGroup__list___K-Y-B {
|
|
454
454
|
display: flex;
|
|
455
455
|
flex-flow: var(--flex-direction) var(--flex-wrap);
|
|
456
456
|
gap: var(--list-row-gap, var(--hop-space-stack-md)) var(--list-column-gap, var(--hop-space-inline-md));
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
border: var(--list-border, none);
|
|
462
462
|
border-radius: var(--list-border-radius, 0);
|
|
463
463
|
}
|
|
464
|
-
.RadioGroup-module__hop-
|
|
464
|
+
.RadioGroup-module__hop-RadioGroup__list___K-Y-B > .RadioGroup-module__hop-RadioGroup__radio___CSjUc {
|
|
465
465
|
position: relative;
|
|
466
466
|
flex: 0 1 auto;
|
|
467
467
|
align-content: start;
|
|
@@ -469,22 +469,22 @@
|
|
|
469
469
|
min-inline-size: 0;
|
|
470
470
|
padding: var(--radio-padding, 0);
|
|
471
471
|
}
|
|
472
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
472
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g .RadioGroup-module__hop-RadioGroup__list___K-Y-B > .RadioGroup-module__hop-RadioGroup__radio___CSjUc ~ .RadioGroup-module__hop-RadioGroup__radio___CSjUc::before {
|
|
473
473
|
content: "";
|
|
474
474
|
position: absolute;
|
|
475
475
|
display: block;
|
|
476
476
|
}
|
|
477
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
477
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g[data-orientation=vertical] .RadioGroup-module__hop-RadioGroup__list___K-Y-B > .RadioGroup-module__hop-RadioGroup__radio___CSjUc ~ .RadioGroup-module__hop-RadioGroup__radio___CSjUc::before {
|
|
478
478
|
inset-block-start: 0;
|
|
479
479
|
inset-inline: 0;
|
|
480
480
|
border-block-start: var(--list-border, none);
|
|
481
481
|
}
|
|
482
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
482
|
+
.RadioGroup-module__hop-RadioGroup--bordered___QTb7g[data-orientation=horizontal] .RadioGroup-module__hop-RadioGroup__list___K-Y-B > .RadioGroup-module__hop-RadioGroup__radio___CSjUc ~ .RadioGroup-module__hop-RadioGroup__radio___CSjUc::before {
|
|
483
483
|
inset-block: 0;
|
|
484
484
|
inset-inline-start: 0;
|
|
485
485
|
border-inline-start: var(--list-border, none);
|
|
486
486
|
}
|
|
487
|
-
.RadioGroup-module__hop-
|
|
488
|
-
.RadioGroup-module__hop-
|
|
487
|
+
.RadioGroup-module__hop-RadioGroup___5uPZC > .RadioGroup-module__hop-RadioGroup__error-message___QXzMh,
|
|
488
|
+
.RadioGroup-module__hop-RadioGroup___5uPZC > .RadioGroup-module__hop-RadioGroup__helper-message___BkFNa {
|
|
489
489
|
order: 3;
|
|
490
490
|
}
|
package/dist/radio/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-
|
|
2
|
-
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-
|
|
3
|
-
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-
|
|
1
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-ZUIUPK7K.js';
|
|
2
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-LBJ4PRPZ.js';
|
|
3
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-KCISVH6E.js';
|
|
4
4
|
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
5
5
|
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
6
6
|
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
@@ -12,7 +12,7 @@ import '../../chunk-65JPI4FL.js';
|
|
|
12
12
|
import '../../chunk-HZKFQ33E.js';
|
|
13
13
|
import '../../chunk-DHVVYSLB.js';
|
|
14
14
|
import '../../chunk-FAE27DLF.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-7PGPLWWM.js';
|
|
16
16
|
import '../../chunk-X6SER3TZ.js';
|
|
17
17
|
import '../../chunk-HXI3MEEK.js';
|
|
18
18
|
import '../../chunk-M36KANKC.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___Z6Put {
|
|
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___GsTEX {
|
|
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___GsTEX) {
|
|
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___xPq-q) {
|
|
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___m1xkd) {
|
|
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___gVBxd) {
|
|
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___nmRag) {
|
|
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___MHAaX) {
|
|
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___OHdc1) {
|
|
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___ymYRX) {
|
|
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___uGj2- {
|
|
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);
|
|
@@ -145,56 +145,56 @@
|
|
|
145
145
|
inline-size: max-content;
|
|
146
146
|
max-inline-size: 100%;
|
|
147
147
|
}
|
|
148
|
-
.Switch-module__hop-Switch--
|
|
148
|
+
.Switch-module__hop-Switch--sm___HYfto {
|
|
149
149
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
150
150
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
151
151
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
152
152
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
153
153
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
154
154
|
}
|
|
155
|
-
.Switch-module__hop-Switch--
|
|
155
|
+
.Switch-module__hop-Switch--md___AfBBH {
|
|
156
156
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
157
157
|
--block-size: var(--hop-Switch-block-size-md);
|
|
158
158
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
159
159
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
160
160
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
161
161
|
}
|
|
162
|
-
.Switch-module__hop-
|
|
162
|
+
.Switch-module__hop-Switch___uGj2-[data-hovered] {
|
|
163
163
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
164
164
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
165
165
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
166
166
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
167
167
|
}
|
|
168
|
-
.Switch-module__hop-
|
|
169
|
-
.Switch-module__hop-
|
|
168
|
+
.Switch-module__hop-Switch___uGj2-[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___uGj2-[data-pressed][data-focus-visible] {
|
|
170
170
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
171
171
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
172
172
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
173
173
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
174
174
|
}
|
|
175
|
-
.Switch-module__hop-
|
|
175
|
+
.Switch-module__hop-Switch___uGj2-[data-focus-visible] {
|
|
176
176
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
177
177
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
178
178
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
179
179
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
180
180
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
181
181
|
}
|
|
182
|
-
.Switch-module__hop-
|
|
183
|
-
.Switch-module__hop-
|
|
182
|
+
.Switch-module__hop-Switch___uGj2-[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___uGj2-[data-selected][data-pressed] {
|
|
184
184
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
185
185
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
186
186
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
187
187
|
--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%);
|
|
188
188
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
189
189
|
}
|
|
190
|
-
.Switch-module__hop-
|
|
190
|
+
.Switch-module__hop-Switch___uGj2-[data-disabled] {
|
|
191
191
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
192
192
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
193
193
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
194
194
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
195
195
|
--cursor: not-allowed;
|
|
196
196
|
}
|
|
197
|
-
.Switch-module__hop-
|
|
197
|
+
.Switch-module__hop-Switch__indicator___nXNzx {
|
|
198
198
|
position: relative;
|
|
199
199
|
flex: 0 0 auto;
|
|
200
200
|
box-sizing: border-box;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
outline-offset: 0.125rem;
|
|
208
208
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
209
209
|
}
|
|
210
|
-
.Switch-module__hop-
|
|
210
|
+
.Switch-module__hop-Switch__indicator___nXNzx::before {
|
|
211
211
|
content: "";
|
|
212
212
|
position: absolute;
|
|
213
213
|
inset-block-start: 50%;
|
|
@@ -222,14 +222,14 @@
|
|
|
222
222
|
border-radius: var(--hop-shape-circle);
|
|
223
223
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
224
224
|
}
|
|
225
|
-
.Switch-module__hop-
|
|
225
|
+
.Switch-module__hop-Switch__text___AVZma {
|
|
226
226
|
flex: 0 1 auto;
|
|
227
227
|
order: 2;
|
|
228
228
|
min-inline-size: 0;
|
|
229
229
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
230
230
|
color: var(--text-color);
|
|
231
231
|
}
|
|
232
|
-
.Switch-module__hop-Switch__icon-
|
|
233
|
-
.Switch-module__hop-
|
|
232
|
+
.Switch-module__hop-Switch__icon-list___m-I5f,
|
|
233
|
+
.Switch-module__hop-Switch__icon___YH2YF {
|
|
234
234
|
order: 3;
|
|
235
235
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-M23LQGWD.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
4
|
import '../../chunk-65JPI4FL.js';
|
|
5
5
|
import '../../chunk-DHVVYSLB.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-7PGPLWWM.js';
|
|
7
7
|
import '../../chunk-X6SER3TZ.js';
|
|
8
8
|
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|