@hopper-ui/components 1.0.13 → 1.1.0
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 +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/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/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/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 +168 -168
- package/dist/ListBox/src/ListBox.js +11 -11
- package/dist/ListBox/src/ListBoxItem.css +153 -153
- package/dist/ListBox/src/ListBoxItem.js +10 -10
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +168 -168
- package/dist/ListBox/src/index.js +11 -11
- 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 +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 +117 -117
- 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 +59 -59
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +59 -59
- package/dist/checkbox/src/index.js +4 -4
- package/dist/{chunk-723W7LGB.js → chunk-6CDXS774.js} +3 -3
- package/dist/{chunk-TNVYVDLF.js → chunk-6K6W32Q7.js} +3 -3
- package/dist/{chunk-PAYZGXTT.js → chunk-6MSRPPI6.js} +1 -1
- package/dist/{chunk-AYPCLDGU.js → chunk-6PH4IIEW.js} +1 -1
- package/dist/{chunk-I2YZLGRE.js → chunk-7VS566A2.js} +1 -1
- package/dist/{chunk-44KY7MFF.js → chunk-A7HLXFSP.js} +14 -5
- package/dist/{chunk-THQZBL4T.js → chunk-AT7ZY6GA.js} +1 -1
- package/dist/{chunk-JN2FF2IX.js → chunk-BGRKDTCG.js} +1 -1
- package/dist/{chunk-CXIH6I5X.js → chunk-BLQ72S4U.js} +1 -1
- package/dist/{chunk-JLUFMLGV.js → chunk-BQZQTNI6.js} +1 -1
- package/dist/{chunk-B42AJF74.js → chunk-BXPZ6HPC.js} +6 -6
- package/dist/{chunk-MVWQVBTK.js → chunk-CXCOSGTO.js} +1 -1
- package/dist/{chunk-2MUGMKNO.js → chunk-FQO2QRSC.js} +1 -1
- package/dist/{chunk-M4IVTAHY.js → chunk-GCJT5PQ4.js} +3 -3
- package/dist/{chunk-ERE2XRQA.js → chunk-GXFFLWNF.js} +1 -1
- package/dist/{chunk-LDORNYHF.js → chunk-I6OII2RA.js} +2 -2
- package/dist/{chunk-SNWJJ3FF.js → chunk-ICDMJUNE.js} +1 -1
- package/dist/chunk-IU6XMS2X.js +21 -0
- package/dist/{chunk-QTV45NTY.js → chunk-KA6KVIVV.js} +2 -2
- package/dist/chunk-MHQZXLKW.js +7 -0
- package/dist/{chunk-RXZQB35O.js → chunk-OETAIO6N.js} +2 -2
- package/dist/{chunk-RGGVZKNN.js → chunk-P7UUQGGF.js} +2 -2
- package/dist/{chunk-UGHMX7QX.js → chunk-PQV24MM4.js} +3 -3
- package/dist/{chunk-UPR32DV5.js → chunk-Q52NUBN7.js} +2 -2
- package/dist/{chunk-ESRYOELK.js → chunk-QY6U3R3W.js} +2 -2
- package/dist/{chunk-SW7LHIQ2.js → chunk-RD6VCI72.js} +7 -7
- package/dist/{chunk-KARK64JC.js → chunk-SR3GAXY5.js} +1 -1
- package/dist/{chunk-ZXDN2IRM.js → chunk-TGXZJJJA.js} +1 -1
- package/dist/{chunk-IEE2HHGR.js → chunk-TKB5Q2WX.js} +1 -1
- package/dist/{chunk-SSMGKQ27.js → chunk-TMWNNF4J.js} +2 -2
- package/dist/{chunk-GH5LAOQU.js → chunk-TVV4RMFR.js} +1 -1
- package/dist/{chunk-WCLGYVXV.js → chunk-UMD6RDUS.js} +1 -1
- package/dist/{chunk-DZHRELLA.js → chunk-VFYGHX3N.js} +1 -1
- package/dist/{chunk-NHM3MQI3.js → chunk-VVY3ONWS.js} +3 -3
- package/dist/{chunk-AMXRADUV.js → chunk-WAUGFWZA.js} +2 -2
- package/dist/chunk-XGI4LDIF.js +276 -0
- package/dist/{chunk-CS2RAWQB.js → chunk-XHZ4R2MB.js} +3 -3
- package/dist/{chunk-5WWMVQI4.js → chunk-YE7RARJB.js} +1 -1
- package/dist/{chunk-CCIVRIKG.js → chunk-YRUBXLBX.js} +12 -2
- package/dist/chunk-Z57VHYOF.js +22 -0
- package/dist/{chunk-W34MMJ2L.js → chunk-ZNGSZW7M.js} +2 -2
- package/dist/index.css +568 -477
- package/dist/index.d.ts +4 -0
- package/dist/index.js +50 -46
- package/dist/inputs/src/InputGroup.css +78 -39
- package/dist/inputs/src/InputGroup.d.ts +8 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +126 -90
- package/dist/inputs/src/NumberField.js +8 -7
- package/dist/inputs/src/PasswordField.css +222 -183
- package/dist/inputs/src/PasswordField.js +7 -7
- package/dist/inputs/src/SearchField.css +228 -189
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +466 -0
- package/dist/inputs/src/TextArea.d.ts +62 -0
- package/dist/inputs/src/TextArea.js +23 -0
- package/dist/inputs/src/TextAreaContext.d.ts +8 -0
- package/dist/inputs/src/TextAreaContext.js +2 -0
- package/dist/inputs/src/TextField.css +223 -184
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +462 -371
- package/dist/inputs/src/index.d.ts +2 -0
- package/dist/inputs/src/index.js +15 -11
- package/dist/overlays/Popover/src/Popover.css +568 -477
- package/dist/overlays/Popover/src/Popover.js +50 -46
- package/dist/overlays/Popover/src/index.css +568 -477
- package/dist/overlays/Popover/src/index.js +50 -46
- 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 +59 -59
- package/dist/radio/src/RadioGroup.js +3 -3
- package/dist/radio/src/index.css +59 -59
- package/dist/radio/src/index.js +7 -7
- 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 +568 -477
- package/dist/tag/src/Tag.js +50 -46
- package/dist/tag/src/TagGroup.css +21 -21
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +568 -477
- package/dist/tag/src/index.js +50 -46
- 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 +2 -2
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +2 -2
- 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.d.ts +2 -0
- package/dist/utils/src/index.js +3 -1
- package/dist/utils/src/useFontFaceReady.d.ts +3 -0
- package/dist/utils/src/useFontFaceReady.js +2 -0
- package/dist/utils/src/useTruncatedText.d.ts +3 -0
- package/dist/utils/src/useTruncatedText.js +2 -0
- 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___omUb3 {
|
|
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___HnTiu {
|
|
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___HnTiu) {
|
|
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___ndb-c) {
|
|
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___cv0bL) {
|
|
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___daNZS) {
|
|
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___ByUWL) {
|
|
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___Udc-p) {
|
|
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___sxc7S) {
|
|
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___WU81u) {
|
|
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___kje-D {
|
|
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___kje-D[data-focus-visible],
|
|
166
|
+
.Radio-module__hop-Radio--focused___WiNxl {
|
|
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___kje-D[data-hovered],
|
|
174
|
+
.Radio-module__hop-Radio--hovered___JZ4wW {
|
|
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___kje-D[data-pressed],
|
|
181
|
+
.Radio-module__hop-Radio--pressed___FbKXV {
|
|
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___kje-D[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___kje-D[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___kje-D: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___kje-D: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___kje-D: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___kje-D: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___kje-D[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___2I3ad {
|
|
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___LkLVW {
|
|
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___ZWDWh,
|
|
242
|
+
.Radio-module__hop-Radio__icon-list___pNFMD {
|
|
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___-Sj0e {
|
|
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___-iiHZ {
|
|
264
264
|
display: var(--bullet-display);
|
|
265
265
|
color: var(--bullet-color);
|
|
266
266
|
}
|
|
267
|
-
.Radio-module__hop-
|
|
267
|
+
.Radio-module__hop-Radio__text___LvdVH {
|
|
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___Jgsbe {
|
|
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___Jgsbe[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___OOojW {
|
|
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___XP22b {
|
|
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___01pmv {
|
|
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___68qIi {
|
|
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___dDEnR {
|
|
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___pGy0- {
|
|
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___U0gBi {
|
|
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,20 +346,20 @@
|
|
|
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___z35Yf {
|
|
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___5okv4 {
|
|
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___5okv4) {
|
|
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);
|
|
@@ -368,7 +368,7 @@
|
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioGroup.module.css/#css-module-data */
|
|
371
|
-
.RadioGroup-module__hop-
|
|
371
|
+
.RadioGroup-module__hop-RadioGroup___PfE2S {
|
|
372
372
|
--hop-RadioGroup-align-items: flex-start;
|
|
373
373
|
--hop-RadioGroup-justify-content: flex-start;
|
|
374
374
|
--hop-RadioGroup-bordered-border-color: var(--hop-neutral-border-weak);
|
|
@@ -408,46 +408,46 @@
|
|
|
408
408
|
inline-size: var(--inline-size);
|
|
409
409
|
max-inline-size: 100%;
|
|
410
410
|
}
|
|
411
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
411
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq {
|
|
412
412
|
--list-border: var(--radio-border-size) solid var(--radio-border-color);
|
|
413
413
|
--list-border-radius: var(--hop-shape-rounded-md);
|
|
414
414
|
}
|
|
415
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
415
|
+
.RadioGroup-module__hop-RadioGroup--sm___Fdbjb {
|
|
416
416
|
--column-gap: var(--hop-RadioGroup-sm-column-gap);
|
|
417
417
|
--row-gap: var(--hop-RadioGroup-sm-row-gap);
|
|
418
418
|
--list-column-gap: var(--hop-RadioGroup-list-sm-column-gap);
|
|
419
419
|
--list-row-gap: var(--hop-RadioGroup-list-sm-row-gap);
|
|
420
420
|
}
|
|
421
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
421
|
+
.RadioGroup-module__hop-RadioGroup--md___OyWcZ {
|
|
422
422
|
--column-gap: var(--hop-RadioGroup-md-column-gap);
|
|
423
423
|
--row-gap: var(--hop-RadioGroup-md-row-gap);
|
|
424
424
|
--list-column-gap: var(--hop-RadioGroup-list-md-column-gap);
|
|
425
425
|
--list-row-gap: var(--hop-RadioGroup-list-md-row-gap);
|
|
426
426
|
}
|
|
427
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
427
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq.RadioGroup-module__hop-RadioGroup--sm___Fdbjb {
|
|
428
428
|
--radio-padding: var(--hop-RadioGroup-bordered-sm-padding);
|
|
429
429
|
--column-gap: var(--hop-RadioGroup-bordered-sm-column-gap);
|
|
430
430
|
--row-gap: var(--hop-RadioGroup-bordered-sm-row-gap);
|
|
431
431
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-sm-column-gap);
|
|
432
432
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-sm-row-gap);
|
|
433
433
|
}
|
|
434
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
434
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq.RadioGroup-module__hop-RadioGroup--md___OyWcZ {
|
|
435
435
|
--radio-padding: var(--hop-RadioGroup-bordered-md-padding);
|
|
436
436
|
--column-gap: var(--hop-RadioGroup-bordered-md-column-gap);
|
|
437
437
|
--row-gap: var(--hop-RadioGroup-bordered-md-row-gap);
|
|
438
438
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-md-column-gap);
|
|
439
439
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-md-row-gap);
|
|
440
440
|
}
|
|
441
|
-
.RadioGroup-module__hop-
|
|
441
|
+
.RadioGroup-module__hop-RadioGroup___PfE2S[data-orientation=horizontal] {
|
|
442
442
|
--flex-direction: var(--hop-RadioGroup-horizontal-flex-direction);
|
|
443
443
|
}
|
|
444
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
444
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq[data-orientation=horizontal] {
|
|
445
445
|
--flex-wrap: nowrap;
|
|
446
446
|
}
|
|
447
|
-
.RadioGroup-module__hop-
|
|
447
|
+
.RadioGroup-module__hop-RadioGroup___PfE2S > .RadioGroup-module__hop-RadioGroup__label___hDwDK {
|
|
448
448
|
order: 1;
|
|
449
449
|
}
|
|
450
|
-
.RadioGroup-module__hop-
|
|
450
|
+
.RadioGroup-module__hop-RadioGroup__list___YVU4N {
|
|
451
451
|
display: flex;
|
|
452
452
|
flex-flow: var(--flex-direction) var(--flex-wrap);
|
|
453
453
|
gap: var(--list-row-gap, var(--hop-space-stack-md)) var(--list-column-gap, var(--hop-space-inline-md));
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
border: var(--list-border, none);
|
|
459
459
|
border-radius: var(--list-border-radius, 0);
|
|
460
460
|
}
|
|
461
|
-
.RadioGroup-module__hop-
|
|
461
|
+
.RadioGroup-module__hop-RadioGroup__list___YVU4N > .RadioGroup-module__hop-RadioGroup__radio___-aKOE {
|
|
462
462
|
position: relative;
|
|
463
463
|
flex: 0 1 auto;
|
|
464
464
|
align-content: start;
|
|
@@ -466,22 +466,22 @@
|
|
|
466
466
|
min-inline-size: 0;
|
|
467
467
|
padding: var(--radio-padding, 0);
|
|
468
468
|
}
|
|
469
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
469
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq .RadioGroup-module__hop-RadioGroup__list___YVU4N > .RadioGroup-module__hop-RadioGroup__radio___-aKOE ~ .RadioGroup-module__hop-RadioGroup__radio___-aKOE::before {
|
|
470
470
|
content: "";
|
|
471
471
|
position: absolute;
|
|
472
472
|
display: block;
|
|
473
473
|
}
|
|
474
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
474
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq[data-orientation=vertical] .RadioGroup-module__hop-RadioGroup__list___YVU4N > .RadioGroup-module__hop-RadioGroup__radio___-aKOE ~ .RadioGroup-module__hop-RadioGroup__radio___-aKOE::before {
|
|
475
475
|
inset-block-start: 0;
|
|
476
476
|
inset-inline: 0;
|
|
477
477
|
border-block-start: var(--list-border, none);
|
|
478
478
|
}
|
|
479
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
479
|
+
.RadioGroup-module__hop-RadioGroup--bordered___otQxq[data-orientation=horizontal] .RadioGroup-module__hop-RadioGroup__list___YVU4N > .RadioGroup-module__hop-RadioGroup__radio___-aKOE ~ .RadioGroup-module__hop-RadioGroup__radio___-aKOE::before {
|
|
480
480
|
inset-block: 0;
|
|
481
481
|
inset-inline-start: 0;
|
|
482
482
|
border-inline-start: var(--list-border, none);
|
|
483
483
|
}
|
|
484
|
-
.RadioGroup-module__hop-
|
|
485
|
-
.RadioGroup-module__hop-
|
|
484
|
+
.RadioGroup-module__hop-RadioGroup___PfE2S > .RadioGroup-module__hop-RadioGroup__error-message___6-YxH,
|
|
485
|
+
.RadioGroup-module__hop-RadioGroup___PfE2S > .RadioGroup-module__hop-RadioGroup__helper-message___ot4ud {
|
|
486
486
|
order: 3;
|
|
487
487
|
}
|
package/dist/radio/src/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-
|
|
2
|
-
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-SSMGKQ27.js';
|
|
3
|
-
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-NHM3MQI3.js';
|
|
4
|
-
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
5
|
-
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
6
|
-
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
1
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-BLQ72S4U.js';
|
|
7
2
|
export { GlobalRadioListCssSelector, _RadioList as RadioList } from '../../chunk-NKHMUPAP.js';
|
|
3
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-TMWNNF4J.js';
|
|
4
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-VVY3ONWS.js';
|
|
5
|
+
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
8
6
|
export { RadioListContext } from '../../chunk-A7TZHALP.js';
|
|
7
|
+
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
8
|
+
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
9
9
|
import '../../chunk-QCA3ZR56.js';
|
|
10
10
|
import '../../chunk-65JPI4FL.js';
|
|
11
11
|
import '../../chunk-HZKFQ33E.js';
|
|
12
12
|
import '../../chunk-FAE27DLF.js';
|
|
13
13
|
import '../../chunk-ZWU6DRRZ.js';
|
|
14
14
|
import '../../chunk-DHVVYSLB.js';
|
|
15
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-6MSRPPI6.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___omUb3 {
|
|
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___HnTiu {
|
|
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___HnTiu) {
|
|
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___ndb-c) {
|
|
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___cv0bL) {
|
|
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___daNZS) {
|
|
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___ByUWL) {
|
|
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___Udc-p) {
|
|
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___sxc7S) {
|
|
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___WU81u) {
|
|
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___O8KNx {
|
|
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___S19Re {
|
|
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___zJnb3 {
|
|
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___O8KNx[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___O8KNx[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___O8KNx[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___O8KNx[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___O8KNx[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___O8KNx[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___O8KNx[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___1aOFY {
|
|
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___1aOFY::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___pxT8d {
|
|
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___fvPJj,
|
|
233
|
+
.Switch-module__hop-Switch__icon___xoa-8 {
|
|
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-KA6KVIVV.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
3
|
import '../../chunk-65JPI4FL.js';
|
|
4
4
|
import '../../chunk-ZWU6DRRZ.js';
|
|
5
5
|
import '../../chunk-DHVVYSLB.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-6MSRPPI6.js';
|
|
7
7
|
import '../../chunk-X6SER3TZ.js';
|
|
8
8
|
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|