@hopper-ui/components 1.1.0 → 1.2.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 +11 -0
- package/README.md +1 -1
- 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/AvatarContext.d.ts +1 -1
- 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/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 +4111 -0
- package/dist/Form/src/Form.d.ts +28 -0
- package/dist/Form/src/Form.js +114 -0
- package/dist/Form/src/FormContext.d.ts +8 -0
- package/dist/Form/src/FormContext.js +2 -0
- package/dist/Form/src/index.css +4111 -0
- package/dist/Form/src/index.d.ts +5 -0
- package/dist/Form/src/index.js +114 -0
- 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 +3 -3
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +3 -3
- package/dist/ListBox/src/ListBox.css +369 -169
- package/dist/ListBox/src/ListBox.js +12 -11
- package/dist/ListBox/src/ListBoxItem.css +425 -225
- package/dist/ListBox/src/ListBoxItem.js +10 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +369 -169
- package/dist/ListBox/src/index.js +12 -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 +6 -6
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +375 -28
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/EmbeddedButton.css +375 -28
- package/dist/buttons/src/EmbeddedButton.d.ts +9 -0
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +480 -133
- package/dist/buttons/src/index.js +9 -9
- package/dist/checkbox/src/Checkbox.css +31 -31
- package/dist/checkbox/src/Checkbox.js +3 -3
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +62 -59
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +62 -59
- package/dist/checkbox/src/index.js +6 -6
- package/dist/{chunk-SR3GAXY5.js → chunk-2XO5CZBO.js} +2 -2
- package/dist/{chunk-VFYGHX3N.js → chunk-354H4FNA.js} +1 -1
- package/dist/{chunk-TGXZJJJA.js → chunk-5IB23E3O.js} +6 -2
- package/dist/{chunk-UMD6RDUS.js → chunk-BKCMCC7V.js} +1 -1
- package/dist/{chunk-YE7RARJB.js → chunk-CEUQHDEQ.js} +1 -1
- package/dist/{chunk-WAUGFWZA.js → chunk-CKKLDA5J.js} +2 -2
- package/dist/{chunk-PQV24MM4.js → chunk-COIGQP33.js} +3 -3
- package/dist/{chunk-VVY3ONWS.js → chunk-EJUIYBAC.js} +1 -1
- package/dist/chunk-EURJK4ZT.js +7 -0
- package/dist/{chunk-YEYNRBMQ.js → chunk-F4H76S4H.js} +6 -2
- package/dist/{chunk-A7HLXFSP.js → chunk-FA4IXLWZ.js} +9 -7
- package/dist/chunk-FOD7XUSJ.js +150 -0
- package/dist/{chunk-ZNGSZW7M.js → chunk-FOKTHCFK.js} +3 -3
- package/dist/{chunk-XGI4LDIF.js → chunk-HCRWIU7V.js} +4 -4
- package/dist/{chunk-BGRKDTCG.js → chunk-IUOLKHYQ.js} +1 -1
- package/dist/{chunk-FQO2QRSC.js → chunk-IXWYHDGU.js} +1 -1
- package/dist/{chunk-TMWNNF4J.js → chunk-J44DIB5J.js} +3 -3
- package/dist/{chunk-TVV4RMFR.js → chunk-JJ4EFTES.js} +1 -1
- package/dist/{chunk-P7UUQGGF.js → chunk-L5KI4ZCL.js} +2 -2
- package/dist/{chunk-6PH4IIEW.js → chunk-M3K4IYX6.js} +1 -1
- package/dist/{chunk-TKB5Q2WX.js → chunk-MJHMFANK.js} +1 -1
- package/dist/{chunk-BLQ72S4U.js → chunk-PFABSIDM.js} +1 -1
- package/dist/{chunk-GXFFLWNF.js → chunk-PQXVL3YJ.js} +1 -1
- package/dist/{chunk-YRUBXLBX.js → chunk-Q63YLWI6.js} +6 -3
- package/dist/{chunk-BQZQTNI6.js → chunk-RQKU3XDG.js} +1 -1
- package/dist/chunk-RWAVMW7T.js +70 -0
- package/dist/{chunk-6K6W32Q7.js → chunk-S5CK32KM.js} +6 -4
- package/dist/{chunk-I6OII2RA.js → chunk-SZSQZ4C7.js} +3 -3
- package/dist/{chunk-Q52NUBN7.js → chunk-T6MAOVLH.js} +2 -2
- package/dist/{chunk-BXPZ6HPC.js → chunk-TCOZUCPD.js} +142 -159
- package/dist/{chunk-GCJT5PQ4.js → chunk-TG623HPA.js} +7 -5
- package/dist/{chunk-6CDXS774.js → chunk-U56LEEEA.js} +6 -6
- package/dist/{chunk-AT7ZY6GA.js → chunk-UT4CSUUM.js} +1 -1
- package/dist/{chunk-CXCOSGTO.js → chunk-V5Q245NH.js} +4 -2
- package/dist/chunk-VISBUD2K.js +172 -0
- package/dist/{chunk-KA6KVIVV.js → chunk-VYKPDMP3.js} +3 -3
- package/dist/{chunk-XHZ4R2MB.js → chunk-W2BQZEW6.js} +4 -4
- package/dist/{chunk-RD6VCI72.js → chunk-W474WFOP.js} +20 -8
- package/dist/{chunk-QY6U3R3W.js → chunk-X253QCYD.js} +3 -2
- package/dist/{chunk-6MSRPPI6.js → chunk-XT2MZWEV.js} +1 -1
- package/dist/{chunk-ICDMJUNE.js → chunk-XUJNQNB3.js} +1 -1
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/index.css +1521 -694
- package/dist/index.d.ts +5 -3
- package/dist/index.js +46 -44
- package/dist/inputs/src/InputGroup.css +14 -14
- package/dist/inputs/src/InputGroup.d.ts +2 -1
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +65 -62
- package/dist/inputs/src/NumberField.d.ts +1 -0
- package/dist/inputs/src/NumberField.js +18 -173
- package/dist/inputs/src/PasswordField.css +524 -174
- package/dist/inputs/src/PasswordField.d.ts +1 -0
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/SearchField.css +530 -180
- package/dist/inputs/src/SearchField.d.ts +1 -0
- package/dist/inputs/src/SearchField.js +10 -10
- package/dist/inputs/src/TextArea.css +59 -56
- package/dist/inputs/src/TextArea.js +8 -8
- package/dist/inputs/src/TextField.css +525 -175
- package/dist/inputs/src/TextField.d.ts +2 -0
- package/dist/inputs/src/TextField.js +11 -11
- package/dist/inputs/src/index.css +694 -205
- package/dist/inputs/src/index.d.ts +2 -0
- package/dist/inputs/src/index.js +17 -14
- package/dist/overlays/Popover/src/Popover.css +1521 -694
- package/dist/overlays/Popover/src/Popover.js +46 -44
- package/dist/overlays/Popover/src/index.css +1521 -694
- package/dist/overlays/Popover/src/index.js +46 -44
- package/dist/radio/src/Radio.css +31 -31
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +62 -59
- package/dist/radio/src/RadioGroup.js +1 -1
- package/dist/radio/src/index.css +62 -59
- package/dist/radio/src/index.js +6 -6
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +3 -3
- 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 +4 -4
- package/dist/tag/src/Tag.css +1041 -2332
- package/dist/tag/src/Tag.d.ts +6 -1
- package/dist/tag/src/Tag.js +7 -99
- package/dist/tag/src/TagGroup.css +24 -21
- package/dist/tag/src/TagGroup.d.ts +7 -2
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +1104 -2296
- package/dist/tag/src/index.js +9 -94
- 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 +5 -2
- package/dist/typography/Label/src/Label.d.ts +8 -0
- package/dist/typography/Label/src/Label.js +2 -1
- package/dist/typography/Label/src/index.css +5 -2
- package/dist/typography/Label/src/index.js +2 -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 +3 -3
- package/dist/Chip/src/Chip.css +0 -261
- package/dist/Chip/src/Chip.d.ts +0 -27
- package/dist/Chip/src/Chip.js +0 -10
- package/dist/Chip/src/ChipContext.d.ts +0 -10
- package/dist/Chip/src/ChipContext.js +0 -2
- package/dist/Chip/src/index.css +0 -261
- package/dist/Chip/src/index.d.ts +0 -7
- package/dist/Chip/src/index.js +0 -10
- package/dist/chunk-632B5YBQ.js +0 -7
- package/dist/chunk-7VS566A2.js +0 -43
- package/dist/chunk-OETAIO6N.js +0 -105
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___-mdbp {
|
|
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___7s-NC {
|
|
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___7s-NC) {
|
|
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___uRZNm) {
|
|
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___LfDaA) {
|
|
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___aGVbv) {
|
|
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___TgsRg) {
|
|
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___gAcxP) {
|
|
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___n-9B9) {
|
|
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___SEa0P) {
|
|
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___2E1Ba {
|
|
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___2E1Ba[data-focus-visible],
|
|
166
|
+
.Radio-module__hop-Radio--focused___uZjvZ {
|
|
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___2E1Ba[data-hovered],
|
|
174
|
+
.Radio-module__hop-Radio--hovered___I3nXi {
|
|
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___2E1Ba[data-pressed],
|
|
181
|
+
.Radio-module__hop-Radio--pressed___g-XN4 {
|
|
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___2E1Ba[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___2E1Ba[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___2E1Ba: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___2E1Ba: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___2E1Ba: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___2E1Ba: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___2E1Ba[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___fb-Zv {
|
|
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___WvIhk {
|
|
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___f49M7,
|
|
242
|
+
.Radio-module__hop-Radio__icon-list___65C4k {
|
|
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___HLxF3 {
|
|
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___SgKK1 {
|
|
264
264
|
display: var(--bullet-display);
|
|
265
265
|
color: var(--bullet-color);
|
|
266
266
|
}
|
|
267
|
-
.Radio-module__hop-
|
|
267
|
+
.Radio-module__hop-Radio__text___uZHkI {
|
|
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___uuirX {
|
|
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___uuirX[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___1lfkD {
|
|
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___ytruf {
|
|
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___waqNk {
|
|
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___ySRK1 {
|
|
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___6qmlS {
|
|
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___m4Mae {
|
|
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___KQaJ4 {
|
|
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,29 +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___1a1jj {
|
|
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___L4zrw {
|
|
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___L4zrw) {
|
|
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-Label__indicator___mWy1n) {
|
|
370
|
+
padding-inline-start: var(--hop-space-20);
|
|
371
|
+
}
|
|
369
372
|
|
|
370
373
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioGroup.module.css/#css-module-data */
|
|
371
|
-
.RadioGroup-module__hop-
|
|
374
|
+
.RadioGroup-module__hop-RadioGroup___v9ff9 {
|
|
372
375
|
--hop-RadioGroup-align-items: flex-start;
|
|
373
376
|
--hop-RadioGroup-justify-content: flex-start;
|
|
374
377
|
--hop-RadioGroup-bordered-border-color: var(--hop-neutral-border-weak);
|
|
@@ -408,46 +411,46 @@
|
|
|
408
411
|
inline-size: var(--inline-size);
|
|
409
412
|
max-inline-size: 100%;
|
|
410
413
|
}
|
|
411
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
414
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt {
|
|
412
415
|
--list-border: var(--radio-border-size) solid var(--radio-border-color);
|
|
413
416
|
--list-border-radius: var(--hop-shape-rounded-md);
|
|
414
417
|
}
|
|
415
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
418
|
+
.RadioGroup-module__hop-RadioGroup--sm___y9WU9 {
|
|
416
419
|
--column-gap: var(--hop-RadioGroup-sm-column-gap);
|
|
417
420
|
--row-gap: var(--hop-RadioGroup-sm-row-gap);
|
|
418
421
|
--list-column-gap: var(--hop-RadioGroup-list-sm-column-gap);
|
|
419
422
|
--list-row-gap: var(--hop-RadioGroup-list-sm-row-gap);
|
|
420
423
|
}
|
|
421
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
424
|
+
.RadioGroup-module__hop-RadioGroup--md___P8zUK {
|
|
422
425
|
--column-gap: var(--hop-RadioGroup-md-column-gap);
|
|
423
426
|
--row-gap: var(--hop-RadioGroup-md-row-gap);
|
|
424
427
|
--list-column-gap: var(--hop-RadioGroup-list-md-column-gap);
|
|
425
428
|
--list-row-gap: var(--hop-RadioGroup-list-md-row-gap);
|
|
426
429
|
}
|
|
427
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
430
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt.RadioGroup-module__hop-RadioGroup--sm___y9WU9 {
|
|
428
431
|
--radio-padding: var(--hop-RadioGroup-bordered-sm-padding);
|
|
429
432
|
--column-gap: var(--hop-RadioGroup-bordered-sm-column-gap);
|
|
430
433
|
--row-gap: var(--hop-RadioGroup-bordered-sm-row-gap);
|
|
431
434
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-sm-column-gap);
|
|
432
435
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-sm-row-gap);
|
|
433
436
|
}
|
|
434
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
437
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt.RadioGroup-module__hop-RadioGroup--md___P8zUK {
|
|
435
438
|
--radio-padding: var(--hop-RadioGroup-bordered-md-padding);
|
|
436
439
|
--column-gap: var(--hop-RadioGroup-bordered-md-column-gap);
|
|
437
440
|
--row-gap: var(--hop-RadioGroup-bordered-md-row-gap);
|
|
438
441
|
--list-column-gap: var(--hop-RadioGroup-list-bordered-md-column-gap);
|
|
439
442
|
--list-row-gap: var(--hop-RadioGroup-list-bordered-md-row-gap);
|
|
440
443
|
}
|
|
441
|
-
.RadioGroup-module__hop-
|
|
444
|
+
.RadioGroup-module__hop-RadioGroup___v9ff9[data-orientation=horizontal] {
|
|
442
445
|
--flex-direction: var(--hop-RadioGroup-horizontal-flex-direction);
|
|
443
446
|
}
|
|
444
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
447
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt[data-orientation=horizontal] {
|
|
445
448
|
--flex-wrap: nowrap;
|
|
446
449
|
}
|
|
447
|
-
.RadioGroup-module__hop-
|
|
450
|
+
.RadioGroup-module__hop-RadioGroup___v9ff9 > .RadioGroup-module__hop-RadioGroup__label___jZY0d {
|
|
448
451
|
order: 1;
|
|
449
452
|
}
|
|
450
|
-
.RadioGroup-module__hop-
|
|
453
|
+
.RadioGroup-module__hop-RadioGroup__list___HGSkD {
|
|
451
454
|
display: flex;
|
|
452
455
|
flex-flow: var(--flex-direction) var(--flex-wrap);
|
|
453
456
|
gap: var(--list-row-gap, var(--hop-space-stack-md)) var(--list-column-gap, var(--hop-space-inline-md));
|
|
@@ -458,7 +461,7 @@
|
|
|
458
461
|
border: var(--list-border, none);
|
|
459
462
|
border-radius: var(--list-border-radius, 0);
|
|
460
463
|
}
|
|
461
|
-
.RadioGroup-module__hop-
|
|
464
|
+
.RadioGroup-module__hop-RadioGroup__list___HGSkD > .RadioGroup-module__hop-RadioGroup__radio___8y02f {
|
|
462
465
|
position: relative;
|
|
463
466
|
flex: 0 1 auto;
|
|
464
467
|
align-content: start;
|
|
@@ -466,22 +469,22 @@
|
|
|
466
469
|
min-inline-size: 0;
|
|
467
470
|
padding: var(--radio-padding, 0);
|
|
468
471
|
}
|
|
469
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
472
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt .RadioGroup-module__hop-RadioGroup__list___HGSkD > .RadioGroup-module__hop-RadioGroup__radio___8y02f ~ .RadioGroup-module__hop-RadioGroup__radio___8y02f::before {
|
|
470
473
|
content: "";
|
|
471
474
|
position: absolute;
|
|
472
475
|
display: block;
|
|
473
476
|
}
|
|
474
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
477
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt[data-orientation=vertical] .RadioGroup-module__hop-RadioGroup__list___HGSkD > .RadioGroup-module__hop-RadioGroup__radio___8y02f ~ .RadioGroup-module__hop-RadioGroup__radio___8y02f::before {
|
|
475
478
|
inset-block-start: 0;
|
|
476
479
|
inset-inline: 0;
|
|
477
480
|
border-block-start: var(--list-border, none);
|
|
478
481
|
}
|
|
479
|
-
.RadioGroup-module__hop-RadioGroup--
|
|
482
|
+
.RadioGroup-module__hop-RadioGroup--bordered___R-avt[data-orientation=horizontal] .RadioGroup-module__hop-RadioGroup__list___HGSkD > .RadioGroup-module__hop-RadioGroup__radio___8y02f ~ .RadioGroup-module__hop-RadioGroup__radio___8y02f::before {
|
|
480
483
|
inset-block: 0;
|
|
481
484
|
inset-inline-start: 0;
|
|
482
485
|
border-inline-start: var(--list-border, none);
|
|
483
486
|
}
|
|
484
|
-
.RadioGroup-module__hop-
|
|
485
|
-
.RadioGroup-module__hop-
|
|
487
|
+
.RadioGroup-module__hop-RadioGroup___v9ff9 > .RadioGroup-module__hop-RadioGroup__error-message___2aZin,
|
|
488
|
+
.RadioGroup-module__hop-RadioGroup___v9ff9 > .RadioGroup-module__hop-RadioGroup__helper-message___ip2nD {
|
|
486
489
|
order: 3;
|
|
487
490
|
}
|
package/dist/radio/src/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-
|
|
1
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-PFABSIDM.js';
|
|
2
2
|
export { GlobalRadioListCssSelector, _RadioList as RadioList } from '../../chunk-NKHMUPAP.js';
|
|
3
|
-
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-
|
|
4
|
-
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-
|
|
3
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-J44DIB5J.js';
|
|
4
|
+
export { GlobalRadioGroupCssSelector, _RadioGroup as RadioGroup } from '../../chunk-EJUIYBAC.js';
|
|
5
5
|
export { RadioGroupContext } from '../../chunk-5MBJWRZD.js';
|
|
6
6
|
export { RadioListContext } from '../../chunk-A7TZHALP.js';
|
|
7
7
|
export { RadioContext } from '../../chunk-FU5CCPLP.js';
|
|
8
8
|
export { RadioFieldContext } from '../../chunk-DGLAGYBD.js';
|
|
9
9
|
import '../../chunk-QCA3ZR56.js';
|
|
10
|
+
import '../../chunk-ZWU6DRRZ.js';
|
|
10
11
|
import '../../chunk-65JPI4FL.js';
|
|
11
12
|
import '../../chunk-HZKFQ33E.js';
|
|
12
|
-
import '../../chunk-FAE27DLF.js';
|
|
13
|
-
import '../../chunk-ZWU6DRRZ.js';
|
|
14
13
|
import '../../chunk-DHVVYSLB.js';
|
|
15
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-FAE27DLF.js';
|
|
15
|
+
import '../../chunk-XT2MZWEV.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___-mdbp {
|
|
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___7s-NC {
|
|
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___7s-NC) {
|
|
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___uRZNm) {
|
|
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___LfDaA) {
|
|
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___aGVbv) {
|
|
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___TgsRg) {
|
|
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___gAcxP) {
|
|
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___n-9B9) {
|
|
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___SEa0P) {
|
|
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___Mf5VL {
|
|
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___-gT1c {
|
|
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___bPSgp {
|
|
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___Mf5VL[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___Mf5VL[data-pressed],
|
|
169
|
+
.Switch-module__hop-Switch___Mf5VL[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___Mf5VL[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___Mf5VL[data-selected],
|
|
183
|
+
.Switch-module__hop-Switch___Mf5VL[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___Mf5VL[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___Ak4ez {
|
|
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___Ak4ez::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___yWPwC {
|
|
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___Lx1ak,
|
|
233
|
+
.Switch-module__hop-Switch__icon___vAPk1 {
|
|
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-VYKPDMP3.js';
|
|
2
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
|
-
import '../../chunk-65JPI4FL.js';
|
|
4
3
|
import '../../chunk-ZWU6DRRZ.js';
|
|
4
|
+
import '../../chunk-65JPI4FL.js';
|
|
5
5
|
import '../../chunk-DHVVYSLB.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-XT2MZWEV.js';
|
|
7
7
|
import '../../chunk-X6SER3TZ.js';
|
|
8
8
|
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|