@hopper-ui/components 1.3.4 → 1.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/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 +1041 -650
- package/dist/Form/src/Form.js +56 -54
- package/dist/Form/src/index.css +1041 -650
- package/dist/Form/src/index.js +56 -54
- 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 +613 -222
- package/dist/ListBox/src/ListBox.js +9 -16
- package/dist/ListBox/src/ListBoxItem.css +598 -207
- package/dist/ListBox/src/ListBoxItem.js +6 -14
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +613 -222
- package/dist/ListBox/src/index.js +9 -16
- package/dist/Select/src/Select.css +1041 -650
- package/dist/Select/src/Select.js +56 -54
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +1041 -650
- package/dist/Select/src/index.js +56 -54
- 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 +71 -71
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +71 -71
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -176
- package/dist/buttons/src/index.js +6 -6
- package/dist/checkbox/src/Checkbox.css +28 -31
- package/dist/checkbox/src/Checkbox.d.ts +1 -3
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxContext.d.ts +0 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +256 -60
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +287 -0
- package/dist/checkbox/src/DecorativeCheckbox.d.ts +18 -0
- package/dist/checkbox/src/DecorativeCheckbox.js +12 -0
- package/dist/checkbox/src/index.css +256 -60
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +7 -5
- package/dist/{chunk-ZGJENXEU.js → chunk-24JZVLAU.js} +1 -1
- package/dist/{chunk-QYKLMSBR.js → chunk-2RFHHVN3.js} +4 -11
- package/dist/{chunk-37572JO3.js → chunk-3KW6ENLR.js} +10 -10
- package/dist/chunk-3OVZI77M.js +130 -0
- package/dist/{chunk-BYEORLMA.js → chunk-3SMTAPEK.js} +3 -3
- package/dist/{chunk-Q2VOGHVA.js → chunk-4UOBMEPP.js} +1 -1
- package/dist/{chunk-7CT2IBNY.js → chunk-52A7OS5J.js} +4 -4
- package/dist/{chunk-XTQ3H3SE.js → chunk-5IRH7LBK.js} +1 -1
- package/dist/{chunk-2L4JHF4B.js → chunk-5IRT2QDF.js} +1 -1
- package/dist/{chunk-YYU3DZW3.js → chunk-5PSDYTOT.js} +1 -1
- package/dist/chunk-6AFXZYF5.js +127 -0
- package/dist/{chunk-7HQIQPIT.js → chunk-6UW2BF2Z.js} +4 -4
- package/dist/{chunk-24TFXRVQ.js → chunk-7MCVN25U.js} +1 -1
- package/dist/{chunk-IZJI5MOD.js → chunk-7XEWB4YU.js} +3 -3
- package/dist/{chunk-5BCWNYYC.js → chunk-AIO2PFOS.js} +3 -3
- package/dist/{chunk-V7RSOERT.js → chunk-CH44JMHK.js} +3 -9
- package/dist/{chunk-M5XA2PEG.js → chunk-D6CIA7NA.js} +1 -1
- package/dist/{chunk-AGLZTGGC.js → chunk-EBDEMWL7.js} +4 -4
- package/dist/{chunk-NLLH6YL3.js → chunk-EOXY566V.js} +1 -1
- package/dist/{chunk-NJD5XPQF.js → chunk-FMNUFTYZ.js} +3 -3
- package/dist/{chunk-C4X5PI6E.js → chunk-GEYJZ3VZ.js} +1 -1
- package/dist/{chunk-UWR4QQYY.js → chunk-GR4ZXUOX.js} +2 -2
- package/dist/{chunk-LLQHZY4A.js → chunk-HABA5CYG.js} +2 -2
- package/dist/{chunk-LUE3SWJ2.js → chunk-LI2RM2EK.js} +1 -1
- package/dist/{chunk-K7RMLEFM.js → chunk-LIGWTMRQ.js} +2 -2
- package/dist/{chunk-3HABKGTW.js → chunk-LSTGTYUX.js} +2 -2
- package/dist/{chunk-746OLQYL.js → chunk-LYTJ7OUI.js} +2 -2
- package/dist/{chunk-LEG7NAKL.js → chunk-NT6XKRT2.js} +2 -2
- package/dist/{chunk-L7K2RI3N.js → chunk-PSGKAJML.js} +2 -2
- package/dist/{chunk-RMTA4M7X.js → chunk-QBGX4KU2.js} +3 -9
- package/dist/{chunk-MB52JXEM.js → chunk-QUEZJSCY.js} +2 -2
- package/dist/{chunk-CJU6B2CE.js → chunk-RMXL2PC5.js} +14 -27
- package/dist/{chunk-KPHI7JZW.js → chunk-RPYDBKIG.js} +3 -3
- package/dist/{chunk-GLSPSFBC.js → chunk-RYROB3P6.js} +1 -1
- package/dist/{chunk-OZQT5F42.js → chunk-S4LXTCFZ.js} +2 -2
- package/dist/{chunk-36KWPNRH.js → chunk-SAHIPNPF.js} +3 -3
- package/dist/{chunk-43LD4A2H.js → chunk-SUXNDVNP.js} +1 -1
- package/dist/{chunk-C77ZSLQG.js → chunk-T6MMAU6N.js} +2 -2
- package/dist/{chunk-BITEHGS4.js → chunk-UEHE2IY5.js} +1 -1
- package/dist/{chunk-F2UGOH5F.js → chunk-UQY26ITM.js} +1 -1
- package/dist/{chunk-MDUON6B4.js → chunk-XXFIU5GK.js} +1 -1
- package/dist/{chunk-TXW35G4W.js → chunk-Y3VCNKJB.js} +1 -1
- package/dist/{chunk-OZRPGA34.js → chunk-YZEDTLPG.js} +1 -1
- package/dist/index.css +1041 -650
- package/dist/index.d.ts +2 -0
- package/dist/index.js +56 -54
- package/dist/inputs/src/InputGroup.css +191 -191
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.d.ts +0 -4
- package/dist/inputs/src/NumberField.js +6 -6
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +225 -225
- package/dist/inputs/src/TextArea.js +6 -6
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.js +8 -8
- package/dist/inputs/src/index.css +271 -271
- package/dist/inputs/src/index.js +13 -13
- package/dist/overlays/Popover/src/Popover.css +1041 -650
- package/dist/overlays/Popover/src/Popover.js +56 -54
- package/dist/overlays/Popover/src/index.css +1041 -650
- package/dist/overlays/Popover/src/index.js +56 -54
- package/dist/radio/src/DecorativeRadio.css +286 -0
- package/dist/radio/src/DecorativeRadio.d.ts +18 -0
- package/dist/radio/src/DecorativeRadio.js +12 -0
- package/dist/radio/src/Radio.css +28 -31
- package/dist/radio/src/Radio.d.ts +1 -3
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioContext.d.ts +0 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +255 -60
- package/dist/radio/src/RadioGroup.js +3 -3
- package/dist/radio/src/index.css +255 -60
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +9 -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 +323 -323
- package/dist/tag/src/Tag.js +5 -5
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +336 -336
- package/dist/tag/src/index.js +8 -8
- 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/types.d.ts +27 -3
- package/package.json +1 -1
package/dist/radio/src/Radio.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___I71EF {
|
|
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___zzXwC {
|
|
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___zzXwC) {
|
|
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___-rtMy) {
|
|
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___CYq6o) {
|
|
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___5KoYO) {
|
|
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___0FmIQ) {
|
|
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___IPvZw) {
|
|
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___OAtMe) {
|
|
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___otJaa) {
|
|
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___-DVX4 {
|
|
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,60 @@
|
|
|
162
162
|
inline-size: max-content;
|
|
163
163
|
max-inline-size: 100%;
|
|
164
164
|
}
|
|
165
|
-
.Radio-module__hop-
|
|
166
|
-
.Radio-module__hop-Radio--focused___bBjyn {
|
|
165
|
+
.Radio-module__hop-Radio___-DVX4[data-focus-visible] {
|
|
167
166
|
--box-background-color: var(--hop-Radio-box-background-color-focused);
|
|
168
167
|
--box-border-color: var(--hop-Radio-box-border-color-focused);
|
|
169
168
|
--box-outline: var(--hop-Radio-box-outline-size) solid var(--hop-Radio-box-outline-color);
|
|
170
169
|
--text-color: var(--hop-Radio-text-color-focused);
|
|
171
170
|
--icon-color: var(--hop-Radio-icon-color-focused);
|
|
172
171
|
}
|
|
173
|
-
.Radio-module__hop-
|
|
174
|
-
.Radio-module__hop-Radio--hovered___CaynT {
|
|
172
|
+
.Radio-module__hop-Radio___-DVX4[data-hovered] {
|
|
175
173
|
--box-background-color: var(--hop-Radio-box-background-color-hovered);
|
|
176
174
|
--box-border-color: var(--hop-Radio-box-border-color-hovered);
|
|
177
175
|
--text-color: var(--hop-Radio-text-color-hovered);
|
|
178
176
|
--icon-color: var(--hop-Radio-icon-color-hovered);
|
|
179
177
|
}
|
|
180
|
-
.Radio-module__hop-
|
|
181
|
-
.Radio-module__hop-Radio--pressed___1HqKU {
|
|
178
|
+
.Radio-module__hop-Radio___-DVX4[data-pressed] {
|
|
182
179
|
--box-background-color: var(--hop-Radio-box-background-color-pressed);
|
|
183
180
|
--box-border-color: var(--hop-Radio-box-border-color-pressed);
|
|
184
181
|
--text-color: var(--hop-Radio-text-color-pressed);
|
|
185
182
|
--icon-color: var(--hop-Radio-icon-color-pressed);
|
|
186
183
|
}
|
|
187
|
-
.Radio-module__hop-
|
|
184
|
+
.Radio-module__hop-Radio___-DVX4[data-selected] {
|
|
188
185
|
--box-background-color: var(--hop-Radio-box-background-color-selected);
|
|
189
186
|
--box-border-color: var(--hop-Radio-box-border-color-selected);
|
|
190
187
|
--bullet-display: var(--hop-Radio-bullet-display-selected);
|
|
191
188
|
--text-color: var(--hop-Radio-text-color-selected);
|
|
192
189
|
--icon-color: var(--hop-Radio-icon-color-selected);
|
|
193
190
|
}
|
|
194
|
-
.Radio-module__hop-
|
|
191
|
+
.Radio-module__hop-Radio___-DVX4[data-invalid] {
|
|
195
192
|
--box-background-color: var(--hop-Radio-box-background-color-invalid);
|
|
196
193
|
--box-border-color: var(--hop-Radio-box-border-color-invalid);
|
|
197
194
|
--bullet-color: var(--hop-Radio-bullet-color-invalid);
|
|
198
195
|
--text-color: var(--hop-Radio-text-color-invalid);
|
|
199
196
|
--icon-color: var(--hop-Radio-icon-color-invalid);
|
|
200
197
|
}
|
|
201
|
-
.Radio-module__hop-
|
|
198
|
+
.Radio-module__hop-Radio___-DVX4:where([data-invalid])[data-focus-visible] {
|
|
202
199
|
--box-background-color: var(--hop-Radio-box-background-color-focused-invalid);
|
|
203
200
|
--box-border-color: var(--hop-Radio-box-border-color-focused-invalid);
|
|
204
201
|
}
|
|
205
|
-
.Radio-module__hop-
|
|
202
|
+
.Radio-module__hop-Radio___-DVX4:where([data-invalid])[data-hovered] {
|
|
206
203
|
--box-background-color: var(--hop-Radio-box-background-color-hovered-invalid);
|
|
207
204
|
--box-border-color: var(--hop-Radio-box-border-color-hovered-invalid);
|
|
208
205
|
--text-color: var(--hop-Radio-text-color-hovered-invalid);
|
|
209
206
|
--icon-color: var(--hop-Radio-text-color-hovered-invalid);
|
|
210
207
|
}
|
|
211
|
-
.Radio-module__hop-
|
|
208
|
+
.Radio-module__hop-Radio___-DVX4:where([data-invalid])[data-pressed] {
|
|
212
209
|
--box-background-color: var(--hop-Radio-box-background-color-pressed-invalid);
|
|
213
210
|
--box-border-color: var(--hop-Radio-box-border-color-pressed-invalid);
|
|
214
211
|
--text-color: var(--hop-Radio-text-color-pressed-invalid);
|
|
215
212
|
--icon-color: var(--hop-Radio-icon-color-pressed-invalid);
|
|
216
213
|
}
|
|
217
|
-
.Radio-module__hop-
|
|
214
|
+
.Radio-module__hop-Radio___-DVX4:where([data-invalid])[data-selected] {
|
|
218
215
|
--box-background-color: var(--hop-Radio-box-background-color-selected-invalid);
|
|
219
216
|
--box-border-color: var(--hop-Radio-box-border-color-selected-invalid);
|
|
220
217
|
}
|
|
221
|
-
.Radio-module__hop-
|
|
218
|
+
.Radio-module__hop-Radio___-DVX4[data-disabled] {
|
|
222
219
|
--box-background-color: var(--hop-Radio-box-background-color-disabled);
|
|
223
220
|
--box-border-color: var(--hop-Radio-box-border-color-disabled);
|
|
224
221
|
--bullet-color: var(--hop-Radio-bullet-color-disabled);
|
|
@@ -226,25 +223,25 @@
|
|
|
226
223
|
--text-color: var(--hop-Radio-text-color-disabled);
|
|
227
224
|
--icon-color: var(--hop-Radio-icon-color-disabled);
|
|
228
225
|
}
|
|
229
|
-
.Radio-module__hop-Radio--
|
|
226
|
+
.Radio-module__hop-Radio--sm___2iKGS {
|
|
230
227
|
--box-inline-size: var(--hop-Radio-box-sm-inline-size);
|
|
231
228
|
--box-block-size: var(--hop-Radio-box-sm-block-size);
|
|
232
229
|
--text-top-offset: var(--hop-Radio-text-sm-top-offset);
|
|
233
230
|
--text-margin-inline-start: var(--hop-Radio-text-sm-margin-inline-start);
|
|
234
231
|
}
|
|
235
|
-
.Radio-module__hop-Radio--
|
|
232
|
+
.Radio-module__hop-Radio--md___NtAnh {
|
|
236
233
|
--box-inline-size: var(--hop-Radio-box-md-inline-size);
|
|
237
234
|
--box-block-size: var(--hop-Radio-box-md-block-size);
|
|
238
235
|
--text-top-offset: var(--hop-Radio-text-md-top-offset);
|
|
239
236
|
--text-margin-inline-start: var(--hop-Radio-text-md-margin-inline-start);
|
|
240
237
|
}
|
|
241
|
-
.Radio-module__hop-
|
|
242
|
-
.Radio-module__hop-Radio__icon-
|
|
238
|
+
.Radio-module__hop-Radio__icon___5wLUN,
|
|
239
|
+
.Radio-module__hop-Radio__icon-list___-SSe9 {
|
|
243
240
|
flex: 0 0 auto;
|
|
244
241
|
order: 3;
|
|
245
242
|
color: var(--icon-color);
|
|
246
243
|
}
|
|
247
|
-
.Radio-module__hop-
|
|
244
|
+
.Radio-module__hop-Radio__box___Lkth2 {
|
|
248
245
|
display: flex;
|
|
249
246
|
flex: 0 0 auto;
|
|
250
247
|
align-items: center;
|
|
@@ -260,11 +257,11 @@
|
|
|
260
257
|
outline-offset: 0.125rem;
|
|
261
258
|
transition: background-color var(--transition-duration) var(--hop-easing-productive), border var(--transition-duration) var(--hop-easing-productive);
|
|
262
259
|
}
|
|
263
|
-
.Radio-module__hop-
|
|
260
|
+
.Radio-module__hop-Radio__bullet___xtCD0 {
|
|
264
261
|
display: var(--bullet-display);
|
|
265
262
|
color: var(--bullet-color);
|
|
266
263
|
}
|
|
267
|
-
.Radio-module__hop-
|
|
264
|
+
.Radio-module__hop-Radio__text___1nCKy {
|
|
268
265
|
flex: 0 1 auto;
|
|
269
266
|
order: 2;
|
|
270
267
|
min-inline-size: 0;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { StyledComponentProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
3
3
|
import { RadioProps as RadioProps$1 } from 'react-aria-components';
|
|
4
|
-
import { InteractionProps } from '../../utils/src/types.js';
|
|
5
|
-
import '@react-types/shared';
|
|
6
4
|
|
|
7
5
|
declare const GlobalRadioCssSelector = "hop-Radio";
|
|
8
|
-
interface RadioProps extends StyledComponentProps<RadioProps$1
|
|
6
|
+
interface RadioProps extends StyledComponentProps<RadioProps$1> {
|
|
9
7
|
/**
|
|
10
8
|
* A radio can vary in size.
|
|
11
9
|
* @default "md"
|
package/dist/radio/src/Radio.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-
|
|
1
|
+
export { GlobalRadioCssSelector, _Radio as Radio } from '../../chunk-CH44JMHK.js';
|
|
2
2
|
import '../../chunk-FU5CCPLP.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-EOXY566V.js';
|
|
7
7
|
import '../../chunk-X6SER3TZ.js';
|
|
8
8
|
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-M36KANKC.js';
|
|
@@ -2,8 +2,6 @@ import * as react from 'react';
|
|
|
2
2
|
import { ContextValue } from 'react-aria-components';
|
|
3
3
|
import { RadioProps } from './Radio.js';
|
|
4
4
|
import '@hopper-ui/styled-system';
|
|
5
|
-
import '../../utils/src/types.js';
|
|
6
|
-
import '@react-types/shared';
|
|
7
5
|
|
|
8
6
|
declare const RadioContext: react.Context<ContextValue<Partial<RadioProps>, HTMLLabelElement>>;
|
|
9
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
2
|
+
.Text-module__hop-Text___zzXwC {
|
|
3
3
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
4
4
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
5
5
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -29,49 +29,49 @@
|
|
|
29
29
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
30
30
|
--hop-Text-inherit-size-line-height: inherit;
|
|
31
31
|
}
|
|
32
|
-
:where(.Text-module__hop-
|
|
32
|
+
:where(.Text-module__hop-Text___zzXwC) {
|
|
33
33
|
font-family: var(--font-family);
|
|
34
34
|
font-size: var(--font-size);
|
|
35
35
|
font-weight: var(--font-weight);
|
|
36
36
|
line-height: var(--line-height);
|
|
37
37
|
}
|
|
38
|
-
:where(.Text-module__hop-Text--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___-rtMy) {
|
|
39
39
|
--font-size: var(--hop-Text-xs-font-size);
|
|
40
40
|
--font-family: var(--hop-Text-xs-font-family);
|
|
41
41
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
42
42
|
--line-height: var(--hop-Text-xs-line-height);
|
|
43
43
|
}
|
|
44
|
-
:where(.Text-module__hop-Text--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___CYq6o) {
|
|
45
45
|
--font-size: var(--hop-Text-sm-font-size);
|
|
46
46
|
--font-family: var(--hop-Text-sm-font-family);
|
|
47
47
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
48
48
|
--line-height: var(--hop-Text-sm-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Text-module__hop-Text--
|
|
50
|
+
:where(.Text-module__hop-Text--md___5KoYO) {
|
|
51
51
|
--font-size: var(--hop-Text-md-font-size);
|
|
52
52
|
--font-family: var(--hop-Text-md-font-family);
|
|
53
53
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
54
54
|
--line-height: var(--hop-Text-md-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Text-module__hop-Text--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___0FmIQ) {
|
|
57
57
|
--font-size: var(--hop-Text-lg-font-size);
|
|
58
58
|
--font-family: var(--hop-Text-lg-font-family);
|
|
59
59
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
60
60
|
--line-height: var(--hop-Text-lg-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Text-module__hop-Text--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___IPvZw) {
|
|
63
63
|
--font-size: var(--hop-Text-xl-font-size);
|
|
64
64
|
--font-family: var(--hop-Text-xl-font-family);
|
|
65
65
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
66
66
|
--line-height: var(--hop-Text-xl-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Text-module__hop-Text--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___OAtMe) {
|
|
69
69
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Text-module__hop-Text--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___otJaa) {
|
|
75
75
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
76
76
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
77
77
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/radio/src/RadioField.module.css/#css-module-data */
|
|
82
|
-
.RadioField-module__hop-
|
|
82
|
+
.RadioField-module__hop-RadioField___eXkct {
|
|
83
83
|
--hop-RadioField-description-color: var(--hop-neutral-text-weak);
|
|
84
84
|
--hop-RadioField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
85
85
|
--hop-RadioField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -98,22 +98,22 @@
|
|
|
98
98
|
inline-size: max-content;
|
|
99
99
|
max-inline-size: 100%;
|
|
100
100
|
}
|
|
101
|
-
.RadioField-module__hop-
|
|
101
|
+
.RadioField-module__hop-RadioField___eXkct[data-disabled] {
|
|
102
102
|
--description-color: var(--hop-RadioField-description-color-disabled);
|
|
103
103
|
}
|
|
104
|
-
.RadioField-module__hop-RadioField--
|
|
104
|
+
.RadioField-module__hop-RadioField--sm___dzUpl {
|
|
105
105
|
--row-gap: var(--hop-RadioField-sm-row-gap);
|
|
106
106
|
--description-margin-inline-start: var(--hop-RadioField-description-sm-margin-inline-start);
|
|
107
107
|
}
|
|
108
|
-
.RadioField-module__hop-RadioField--
|
|
108
|
+
.RadioField-module__hop-RadioField--md___HZmDd {
|
|
109
109
|
--row-gap: var(--hop-RadioField-md-row-gap);
|
|
110
110
|
--description-margin-inline-start: var(--hop-RadioField-description-md-margin-inline-start);
|
|
111
111
|
}
|
|
112
|
-
.RadioField-module__hop-
|
|
112
|
+
.RadioField-module__hop-RadioField__description___WuKax {
|
|
113
113
|
order: 2;
|
|
114
114
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-RadioField-description-md-margin-inline-start));
|
|
115
115
|
color: var(--description-color);
|
|
116
116
|
}
|
|
117
|
-
.RadioField-module__hop-
|
|
117
|
+
.RadioField-module__hop-RadioField__radio___h7f3V {
|
|
118
118
|
order: 1;
|
|
119
119
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-
|
|
2
|
-
import '../../chunk-FU5CCPLP.js';
|
|
1
|
+
export { GlobalRadioFieldCssSelector, _RadioField as RadioField } from '../../chunk-LSTGTYUX.js';
|
|
3
2
|
import '../../chunk-DGLAGYBD.js';
|
|
3
|
+
import '../../chunk-FU5CCPLP.js';
|
|
4
4
|
import '../../chunk-X6SER3TZ.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
6
|
import '../../chunk-M36KANKC.js';
|