@hopper-ui/components 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Label/src/Label.css +9 -9
- package/dist/Label/src/Label.js +1 -1
- package/dist/Label/src/index.css +9 -9
- package/dist/Label/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +2 -2
- package/dist/Text/src/Text.css +9 -9
- package/dist/Text/src/Text.js +1 -1
- package/dist/Text/src/index.css +9 -9
- package/dist/Text/src/index.js +1 -1
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.js +5 -5
- package/dist/buttons/src/ButtonContext.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +66 -0
- package/dist/buttons/src/ClearButton.d.ts +15 -0
- package/dist/buttons/src/ClearButton.js +6 -0
- package/dist/buttons/src/ClearButtonContext.d.ts +8 -0
- package/dist/buttons/src/ClearButtonContext.js +2 -0
- package/dist/buttons/src/index.css +170 -103
- package/dist/buttons/src/index.d.ts +2 -0
- package/dist/buttons/src/index.js +7 -5
- package/dist/checkbox/src/Checkbox.css +33 -33
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +2 -2
- package/dist/checkbox/src/CheckboxGroup.css +68 -68
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +68 -68
- package/dist/checkbox/src/index.js +5 -5
- package/dist/chip/src/Chip.css +33 -33
- package/dist/chip/src/Chip.js +2 -2
- package/dist/chip/src/index.css +33 -33
- package/dist/chip/src/index.js +2 -2
- package/dist/{chunk-M6UHXS6K.js → chunk-2NABNL6G.js} +1 -1
- package/dist/{chunk-JHY3TXL4.js → chunk-6JSCWDLJ.js} +2 -2
- package/dist/{chunk-ME3RBGOT.js → chunk-CK42RJLK.js} +2 -2
- package/dist/chunk-DBTHMTO4.js +56 -0
- package/dist/chunk-DXVKHP4V.js +7 -0
- package/dist/{chunk-B7WS4DBA.js → chunk-FAXZNX63.js} +2 -2
- package/dist/{chunk-MD6IFXLG.js → chunk-FJ4WILCG.js} +2 -2
- package/dist/{chunk-GXKSX5N5.js → chunk-GYK77A5U.js} +2 -2
- package/dist/{chunk-OHPGEHL3.js → chunk-IYQZFIWZ.js} +2 -2
- package/dist/{chunk-4AARNXWE.js → chunk-LKE4VXIP.js} +2 -2
- package/dist/{chunk-BPM4ETTB.js → chunk-LL2FMAAO.js} +2 -0
- package/dist/{chunk-HVRSS5RT.js → chunk-M67A5LAA.js} +4 -4
- package/dist/{chunk-ZQEB3Y3X.js → chunk-MICIYADH.js} +1 -1
- package/dist/{chunk-5KJ5IKUE.js → chunk-N2QZWPQF.js} +2 -2
- package/dist/{chunk-IYITZANI.js → chunk-NUUG5PFN.js} +1 -1
- package/dist/{chunk-YWUIJ6ZQ.js → chunk-O2WSE3EM.js} +2 -2
- package/dist/{chunk-DFUQTSEV.js → chunk-RLIG2IHH.js} +2 -2
- package/dist/{chunk-7ELZ57E5.js → chunk-S67EVV3J.js} +2 -2
- package/dist/{chunk-VIHBOZVN.js → chunk-TOCGJB3X.js} +2 -2
- package/dist/{chunk-I7AMDVGG.js → chunk-XTRE6FPK.js} +2 -2
- package/dist/errorMessage/src/ErrorMessage.css +11 -11
- package/dist/errorMessage/src/ErrorMessage.js +2 -2
- package/dist/errorMessage/src/index.css +11 -11
- package/dist/errorMessage/src/index.js +2 -2
- package/dist/helperMessage/src/HelperMessage.css +11 -11
- package/dist/helperMessage/src/HelperMessage.js +2 -2
- package/dist/helperMessage/src/index.css +11 -11
- package/dist/helperMessage/src/index.js +2 -2
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/radio/src/Radio.css +30 -30
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +65 -65
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +65 -65
- package/dist/radio/src/index.js +5 -5
- 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 +2 -2
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +4 -4
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
|
|
2
|
-
.Text-module__hop-
|
|
2
|
+
.Text-module__hop-Text___AZmOV {
|
|
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___AZmOV) {
|
|
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___V1bcv) {
|
|
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___Dq2fh) {
|
|
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___OIBbn) {
|
|
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___2Dp00) {
|
|
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___OCJ5n) {
|
|
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___bZkQu) {
|
|
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___bNF26) {
|
|
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/switch/src/SwitchField.module.css/#css-module-data */
|
|
82
|
-
.SwitchField-module__hop-
|
|
82
|
+
.SwitchField-module__hop-SwitchField___ck41E {
|
|
83
83
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
84
84
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
85
85
|
--hop-SwitchField-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
|
-
.SwitchField-module__hop-
|
|
101
|
+
.SwitchField-module__hop-SwitchField___ck41E[data-disabled] {
|
|
102
102
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
103
103
|
}
|
|
104
|
-
.SwitchField-module__hop-SwitchField--
|
|
104
|
+
.SwitchField-module__hop-SwitchField--sm___dILhI {
|
|
105
105
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
106
106
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
107
107
|
}
|
|
108
|
-
.SwitchField-module__hop-SwitchField--
|
|
108
|
+
.SwitchField-module__hop-SwitchField--md___MOhwH {
|
|
109
109
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
110
110
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
111
111
|
}
|
|
112
|
-
.SwitchField-module__hop-
|
|
112
|
+
.SwitchField-module__hop-SwitchField__description___kfrvM {
|
|
113
113
|
order: 2;
|
|
114
114
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
115
115
|
color: var(--description-color);
|
|
116
116
|
}
|
|
117
|
-
.SwitchField-module__hop-
|
|
117
|
+
.SwitchField-module__hop-SwitchField__switch___VdzcG {
|
|
118
118
|
order: 1;
|
|
119
119
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-
|
|
2
|
-
import '../../chunk-H7VJS4MX.js';
|
|
1
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-O2WSE3EM.js';
|
|
3
2
|
import '../../chunk-YHBJAXUY.js';
|
|
3
|
+
import '../../chunk-H7VJS4MX.js';
|
|
4
4
|
import '../../chunk-OE5BLFZI.js';
|
|
5
5
|
import '../../chunk-M36KANKC.js';
|
|
6
6
|
import '../../chunk-KVDXQMWI.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___FMF13 {
|
|
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/Text/src/Text.module.css/#css-module-data */
|
|
11
|
-
.Text-module__hop-
|
|
11
|
+
.Text-module__hop-Text___AZmOV {
|
|
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___AZmOV) {
|
|
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___V1bcv) {
|
|
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___Dq2fh) {
|
|
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___OIBbn) {
|
|
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___2Dp00) {
|
|
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___OCJ5n) {
|
|
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___bZkQu) {
|
|
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___bNF26) {
|
|
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___2U4Lj {
|
|
92
92
|
--hop-Switch-border-size: 0.0625rem;
|
|
93
93
|
--hop-Switch-border-color: var(--hop-neutral-border);
|
|
94
94
|
--hop-Switch-border-radius: var(--hop-shape-rounded-lg);
|
|
@@ -146,56 +146,56 @@
|
|
|
146
146
|
inline-size: max-content;
|
|
147
147
|
max-inline-size: 100%;
|
|
148
148
|
}
|
|
149
|
-
.Switch-module__hop-Switch--
|
|
149
|
+
.Switch-module__hop-Switch--sm___svZFy {
|
|
150
150
|
--inline-size: var(--hop-Switch-inline-size-sm);
|
|
151
151
|
--block-size: var(--hop-Switch-block-size-sm);
|
|
152
152
|
--thumb-size: var(--hop-Switch-thumb-size-sm);
|
|
153
153
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-sm);
|
|
154
154
|
--text-top-offset: var(--hop-Switch-text-top-offset-sm);
|
|
155
155
|
}
|
|
156
|
-
.Switch-module__hop-Switch--
|
|
156
|
+
.Switch-module__hop-Switch--md___MWofO {
|
|
157
157
|
--inline-size: var(--hop-Switch-inline-size-md);
|
|
158
158
|
--block-size: var(--hop-Switch-block-size-md);
|
|
159
159
|
--thumb-size: var(--hop-Switch-thumb-size-md);
|
|
160
160
|
--inset-inline-start: var(--hop-Switch-inset-inline-start-md);
|
|
161
161
|
--text-top-offset: var(--hop-Switch-text-top-offset-md);
|
|
162
162
|
}
|
|
163
|
-
.Switch-module__hop-
|
|
163
|
+
.Switch-module__hop-Switch___2U4Lj[data-hovered] {
|
|
164
164
|
--border-color: var(--hop-Switch-border-color-hover);
|
|
165
165
|
--background-color: var(--hop-Switch-background-color-hover);
|
|
166
166
|
--thumb-color: var(--hop-Switch-thumb-color-hover);
|
|
167
167
|
--text-color: var(--hop-Switch-text-color-hover);
|
|
168
168
|
}
|
|
169
|
-
.Switch-module__hop-
|
|
170
|
-
.Switch-module__hop-
|
|
169
|
+
.Switch-module__hop-Switch___2U4Lj[data-pressed],
|
|
170
|
+
.Switch-module__hop-Switch___2U4Lj[data-pressed][data-focus-visible] {
|
|
171
171
|
--border-color: var(--hop-Switch-border-color-pressed);
|
|
172
172
|
--background-color: var(--hop-Switch-background-color-pressed);
|
|
173
173
|
--thumb-color: var(--hop-Switch-thumb-color-pressed);
|
|
174
174
|
--text-color: var(--hop-Switch-text-color-pressed);
|
|
175
175
|
}
|
|
176
|
-
.Switch-module__hop-
|
|
176
|
+
.Switch-module__hop-Switch___2U4Lj[data-focus-visible] {
|
|
177
177
|
--border-color: var(--hop-Switch-border-color-focus);
|
|
178
178
|
--background-color: var(--hop-Switch-background-color-focus);
|
|
179
179
|
--thumb-color: var(--hop-Switch-thumb-color-focus);
|
|
180
180
|
--outline: 0.125rem solid var(--hop-Switch-focus-ring-color);
|
|
181
181
|
--text-color: var(--hop-Switch-text-color-focus);
|
|
182
182
|
}
|
|
183
|
-
.Switch-module__hop-
|
|
184
|
-
.Switch-module__hop-
|
|
183
|
+
.Switch-module__hop-Switch___2U4Lj[data-selected],
|
|
184
|
+
.Switch-module__hop-Switch___2U4Lj[data-selected][data-pressed] {
|
|
185
185
|
--border-color: var(--hop-Switch-border-color-selected);
|
|
186
186
|
--background-color: var(--hop-Switch-background-color-selected);
|
|
187
187
|
--thumb-color: var(--hop-Switch-thumb-color-selected);
|
|
188
188
|
--thumb-transform: translate(calc(var(--inline-size) - var(--thumb-size, var(--hop-Switch-thumb-size-md)) - (2 * var(--inset-inline-start, var(--hop-Switch-inset-inline-start-md))) - (2 * var(--border-size))), -50%);
|
|
189
189
|
--text-color: var(--hop-Switch-text-color-selected);
|
|
190
190
|
}
|
|
191
|
-
.Switch-module__hop-
|
|
191
|
+
.Switch-module__hop-Switch___2U4Lj[data-disabled] {
|
|
192
192
|
--border-color: var(--hop-Switch-border-color-disabled);
|
|
193
193
|
--background-color: var(--hop-Switch-background-color-disabled);
|
|
194
194
|
--thumb-color: var(--hop-Switch-thumb-color-disabled);
|
|
195
195
|
--text-color: var(--hop-Switch-text-color-disabled);
|
|
196
196
|
--cursor: not-allowed;
|
|
197
197
|
}
|
|
198
|
-
.Switch-module__hop-
|
|
198
|
+
.Switch-module__hop-Switch__indicator___OL5-O {
|
|
199
199
|
position: relative;
|
|
200
200
|
flex: 0 0 auto;
|
|
201
201
|
box-sizing: border-box;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
outline-offset: 0.125rem;
|
|
209
209
|
transition: background var(--hop-easing-duration-2), border-color var(--hop-easing-duration-2);
|
|
210
210
|
}
|
|
211
|
-
.Switch-module__hop-
|
|
211
|
+
.Switch-module__hop-Switch__indicator___OL5-O::before {
|
|
212
212
|
content: "";
|
|
213
213
|
position: absolute;
|
|
214
214
|
inset-block-start: 50%;
|
|
@@ -223,20 +223,20 @@
|
|
|
223
223
|
border-radius: var(--hop-shape-circle);
|
|
224
224
|
transition: transform var(--hop-easing-duration-2), background var(--hop-easing-duration-2);
|
|
225
225
|
}
|
|
226
|
-
.Switch-module__hop-
|
|
226
|
+
.Switch-module__hop-Switch__text___pkocB {
|
|
227
227
|
flex: 0 1 auto;
|
|
228
228
|
order: 2;
|
|
229
229
|
min-inline-size: 0;
|
|
230
230
|
margin-block-start: var(--text-top-offset, var(--hop-Switch-text-top-offset-md));
|
|
231
231
|
color: var(--text-color);
|
|
232
232
|
}
|
|
233
|
-
.Switch-module__hop-Switch__icon-
|
|
234
|
-
.Switch-module__hop-
|
|
233
|
+
.Switch-module__hop-Switch__icon-list___iXQqm,
|
|
234
|
+
.Switch-module__hop-Switch__icon___r-c-z {
|
|
235
235
|
order: 3;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/switch/src/SwitchField.module.css/#css-module-data */
|
|
239
|
-
.SwitchField-module__hop-
|
|
239
|
+
.SwitchField-module__hop-SwitchField___ck41E {
|
|
240
240
|
--hop-SwitchField-description-color: var(--hop-neutral-text-weak);
|
|
241
241
|
--hop-SwitchField-description-color-disabled: var(--hop-neutral-text-disabled);
|
|
242
242
|
--hop-SwitchField-sm-row-gap: var(--hop-space-stack-xs);
|
|
@@ -255,22 +255,22 @@
|
|
|
255
255
|
inline-size: max-content;
|
|
256
256
|
max-inline-size: 100%;
|
|
257
257
|
}
|
|
258
|
-
.SwitchField-module__hop-
|
|
258
|
+
.SwitchField-module__hop-SwitchField___ck41E[data-disabled] {
|
|
259
259
|
--description-color: var(--hop-SwitchField-description-color-disabled);
|
|
260
260
|
}
|
|
261
|
-
.SwitchField-module__hop-SwitchField--
|
|
261
|
+
.SwitchField-module__hop-SwitchField--sm___dILhI {
|
|
262
262
|
--row-gap: var(--hop-SwitchField-sm-row-gap);
|
|
263
263
|
--description-margin-inline-start: var(--hop-SwitchField-description-sm-margin-inline-start);
|
|
264
264
|
}
|
|
265
|
-
.SwitchField-module__hop-SwitchField--
|
|
265
|
+
.SwitchField-module__hop-SwitchField--md___MOhwH {
|
|
266
266
|
--row-gap: var(--hop-SwitchField-md-row-gap);
|
|
267
267
|
--description-margin-inline-start: var(--hop-SwitchField-description-md-margin-inline-start);
|
|
268
268
|
}
|
|
269
|
-
.SwitchField-module__hop-
|
|
269
|
+
.SwitchField-module__hop-SwitchField__description___kfrvM {
|
|
270
270
|
order: 2;
|
|
271
271
|
margin-inline-start: var(--description-margin-inline-start, var(--hop-SwitchField-description-md-margin-inline-start));
|
|
272
272
|
color: var(--description-color);
|
|
273
273
|
}
|
|
274
|
-
.SwitchField-module__hop-
|
|
274
|
+
.SwitchField-module__hop-SwitchField__switch___VdzcG {
|
|
275
275
|
order: 1;
|
|
276
276
|
}
|
package/dist/switch/src/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-ME3RBGOT.js';
|
|
1
|
+
export { GlobalSwitchCssSelector, _Switch as Switch } from '../../chunk-CK42RJLK.js';
|
|
2
|
+
export { GlobalSwitchFieldCssSelector, _SwitchField as SwitchField } from '../../chunk-O2WSE3EM.js';
|
|
4
3
|
export { SwitchContext } from '../../chunk-YHBJAXUY.js';
|
|
4
|
+
export { SwitchFieldContext } from '../../chunk-H7VJS4MX.js';
|
|
5
5
|
import '../../chunk-ZWU6DRRZ.js';
|
|
6
6
|
import '../../chunk-65JPI4FL.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-2NABNL6G.js';
|
|
8
8
|
import '../../chunk-HXI3MEEK.js';
|
|
9
9
|
import '../../chunk-OE5BLFZI.js';
|
|
10
10
|
import '../../chunk-M36KANKC.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hopper-ui/components",
|
|
3
3
|
"author": "Workleap",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"description": "The components package.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@react-aria/utils": "^3.24.0",
|
|
43
43
|
"@react-types/shared": "^3.23.0",
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
|
-
"@hopper-ui/icons": "2.
|
|
45
|
+
"@hopper-ui/icons": "2.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@swc/core": "1.5.3",
|