@hopper-ui/components 0.1.0 → 0.1.1
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/IconList/src/IconList.css +3 -3
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +3 -3
- package/dist/IconList/src/index.js +1 -1
- package/dist/Label/src/Label.css +69 -69
- package/dist/Label/src/Label.js +2 -2
- package/dist/Label/src/index.css +69 -69
- package/dist/Label/src/index.js +2 -2
- package/dist/Spinner/src/Spinner.css +116 -116
- package/dist/Spinner/src/Spinner.js +4 -4
- package/dist/Spinner/src/index.css +116 -116
- package/dist/Spinner/src/index.js +4 -4
- package/dist/Text/src/Text.css +65 -65
- package/dist/Text/src/Text.js +2 -2
- package/dist/Text/src/index.css +65 -65
- package/dist/Text/src/index.js +2 -2
- package/dist/buttons/src/Button.css +374 -374
- package/dist/buttons/src/Button.js +7 -7
- package/dist/buttons/src/index.css +374 -374
- package/dist/buttons/src/index.js +7 -7
- package/dist/{chunk-SEU4CGZD.js → chunk-65JPI4FL.js} +1 -1
- package/dist/{chunk-XQ3GUEBN.js → chunk-A2IN7HC4.js} +1 -1
- package/dist/{chunk-XCKF6EU7.js → chunk-CMJUZLSA.js} +2 -2
- package/dist/{chunk-QIOYM2XJ.js → chunk-JGYEQS4H.js} +7 -7
- package/dist/{chunk-6BEVZRUL.js → chunk-KVDXQMWI.js} +1 -1
- package/dist/{chunk-WRWNRVTG.js → chunk-TNWWLZEQ.js} +2 -2
- package/dist/{chunk-WROQHGG5.js → chunk-Z34Z6LYX.js} +12 -12
- package/dist/{chunk-7QUHQYCR.js → chunk-ZWU6DRRZ.js} +1 -1
- package/dist/utils/src/composeClassnameRenderProps.js +1 -0
- package/dist/utils/src/cssModule.js +1 -0
- package/dist/utils/src/index.d.ts +4 -4
- package/dist/utils/src/index.js +4 -4
- package/dist/utils/src/isTextOnlyChildren.js +1 -0
- package/dist/utils/src/sizeAdapter.js +1 -0
- package/package.json +2 -2
- package/dist/utils/src/compose-classname-render-props.js +0 -1
- package/dist/utils/src/css-module.js +0 -1
- package/dist/utils/src/is-text-only-children.js +0 -1
- package/dist/utils/src/size-adapter.js +0 -1
- /package/dist/{chunk-D57ZIX5W.js → chunk-LQICWONC.js} +0 -0
- /package/dist/utils/src/{compose-classname-render-props.d.ts → composeClassnameRenderProps.d.ts} +0 -0
- /package/dist/utils/src/{css-module.d.ts → cssModule.d.ts} +0 -0
- /package/dist/utils/src/{is-text-only-children.d.ts → isTextOnlyChildren.d.ts} +0 -0
- /package/dist/utils/src/{size-adapter.d.ts → sizeAdapter.d.ts} +0 -0
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
/* src/buttons/src/Button.module.css */
|
|
2
|
-
.hop-
|
|
3
|
-
--hop-
|
|
4
|
-
--hop-
|
|
5
|
-
--hop-
|
|
6
|
-
--hop-
|
|
7
|
-
--hop-
|
|
8
|
-
--hop-
|
|
9
|
-
--hop-
|
|
10
|
-
--hop-
|
|
11
|
-
--hop-
|
|
12
|
-
--hop-
|
|
13
|
-
--hop-
|
|
14
|
-
--hop-
|
|
15
|
-
--hop-
|
|
16
|
-
--hop-
|
|
17
|
-
--hop-
|
|
18
|
-
--hop-
|
|
19
|
-
--hop-
|
|
20
|
-
--hop-
|
|
21
|
-
--hop-
|
|
22
|
-
--hop-
|
|
23
|
-
--hop-
|
|
24
|
-
--hop-
|
|
25
|
-
--hop-
|
|
26
|
-
--hop-
|
|
27
|
-
--hop-
|
|
28
|
-
--hop-
|
|
29
|
-
--hop-
|
|
30
|
-
--hop-
|
|
31
|
-
--hop-
|
|
32
|
-
--hop-
|
|
33
|
-
--hop-
|
|
34
|
-
--hop-
|
|
35
|
-
--hop-
|
|
36
|
-
--hop-
|
|
37
|
-
--hop-
|
|
38
|
-
--hop-
|
|
39
|
-
--hop-
|
|
40
|
-
--hop-
|
|
41
|
-
--hop-
|
|
42
|
-
--hop-
|
|
43
|
-
--hop-
|
|
44
|
-
--hop-
|
|
45
|
-
--hop-
|
|
46
|
-
--hop-
|
|
47
|
-
--hop-
|
|
48
|
-
--hop-
|
|
49
|
-
--hop-
|
|
50
|
-
--hop-
|
|
51
|
-
--hop-
|
|
52
|
-
--hop-
|
|
53
|
-
--hop-
|
|
54
|
-
--hop-
|
|
55
|
-
--hop-
|
|
56
|
-
--hop-
|
|
57
|
-
--hop-
|
|
58
|
-
--hop-
|
|
59
|
-
--hop-
|
|
60
|
-
--hop-
|
|
61
|
-
--hop-
|
|
62
|
-
--hop-
|
|
63
|
-
--hop-
|
|
64
|
-
--hop-
|
|
65
|
-
--hop-
|
|
66
|
-
--hop-
|
|
67
|
-
--hop-
|
|
2
|
+
.hop-Button {
|
|
3
|
+
--hop-Button-padding: 0 var(--hop-space-inset-md);
|
|
4
|
+
--hop-Button-border-radius: var(--hop-shape-rounded-md);
|
|
5
|
+
--hop-Button-focus-ring-color: var(--hop-primary-surface-hover);
|
|
6
|
+
--hop-Button-sm-height: 2rem;
|
|
7
|
+
--hop-Button-md-height: 2.5rem;
|
|
8
|
+
--hop-Button-primary-color: var(--hop-primary-text-strong);
|
|
9
|
+
--hop-Button-primary-color-hover: var(--hop-primary-text-strong-hover);
|
|
10
|
+
--hop-Button-primary-color-pressed: var(--hop-primary-text-active);
|
|
11
|
+
--hop-Button-primary-color-disabled: var(--hop-neutral-text-disabled);
|
|
12
|
+
--hop-Button-primary-background-color: var(--hop-primary-surface-strong);
|
|
13
|
+
--hop-Button-primary-background-color-hover: var(--hop-primary-surface-hover);
|
|
14
|
+
--hop-Button-primary-background-color-pressed: var(--hop-primary-surface-active);
|
|
15
|
+
--hop-Button-primary-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
16
|
+
--hop-Button-primary-border: 0;
|
|
17
|
+
--hop-Button-primary-border-hover: 0;
|
|
18
|
+
--hop-Button-primary-border-pressed: 0;
|
|
19
|
+
--hop-Button-primary-border-disabled: 0;
|
|
20
|
+
--hop-Button-secondary-color: var(--hop-neutral-text);
|
|
21
|
+
--hop-Button-secondary-color-hover: var(--hop-neutral-text-hover);
|
|
22
|
+
--hop-Button-secondary-color-pressed: var(--hop-neutral-text-active);
|
|
23
|
+
--hop-Button-secondary-color-disabled: var(--hop-neutral-text-disabled);
|
|
24
|
+
--hop-Button-secondary-background-color: var(--hop-neutral-surface);
|
|
25
|
+
--hop-Button-secondary-background-color-hover: var(--hop-neutral-surface-hover);
|
|
26
|
+
--hop-Button-secondary-background-color-pressed: var(--hop-neutral-surface-active);
|
|
27
|
+
--hop-Button-secondary-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
28
|
+
--hop-Button-secondary-border: 0.0625rem solid var(--hop-neutral-border-strong);
|
|
29
|
+
--hop-Button-secondary-border-hover: 0.0625rem solid var(--hop-neutral-border-strong);
|
|
30
|
+
--hop-Button-secondary-border-pressed: 0.0625rem solid var(--hop-neutral-border-active);
|
|
31
|
+
--hop-Button-secondary-border-disabled: 0;
|
|
32
|
+
--hop-Button-tertiary-color: var(--hop-neutral-text);
|
|
33
|
+
--hop-Button-tertiary-color-hover: var(--hop-neutral-text-hover);
|
|
34
|
+
--hop-Button-tertiary-color-pressed: var(--hop-neutral-text);
|
|
35
|
+
--hop-Button-tertiary-color-disabled: var(--hop-neutral-text-disabled);
|
|
36
|
+
--hop-Button-tertiary-background-color: var(--hop-neutral-surface);
|
|
37
|
+
--hop-Button-tertiary-background-color-hover: var(--hop-neutral-surface-hover);
|
|
38
|
+
--hop-Button-tertiary-background-color-pressed: var(--hop-neutral-surface-weak-active);
|
|
39
|
+
--hop-Button-tertiary-background-color-disabled: var(--hop-neutral-surface);
|
|
40
|
+
--hop-Button-tertiary-border: 0;
|
|
41
|
+
--hop-Button-tertiary-border-hover: 0;
|
|
42
|
+
--hop-Button-tertiary-border-pressed: 0;
|
|
43
|
+
--hop-Button-tertiary-border-disabled: 0;
|
|
44
|
+
--hop-Button-upsell-color: var(--hop-upsell-text);
|
|
45
|
+
--hop-Button-upsell-color-hover: var(--hop-upsell-text-hover);
|
|
46
|
+
--hop-Button-upsell-color-pressed: var(--hop-upsell-text-active);
|
|
47
|
+
--hop-Button-upsell-color-disabled: var(--hop-neutral-text-disabled);
|
|
48
|
+
--hop-Button-upsell-background-color: var(--hop-upsell-surface);
|
|
49
|
+
--hop-Button-upsell-background-color-hover: var(--hop-upsell-surface-hover);
|
|
50
|
+
--hop-Button-upsell-background-color-pressed: var(--hop-upsell-surface-active);
|
|
51
|
+
--hop-Button-upsell-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
52
|
+
--hop-Button-upsell-border: 0.0625rem solid var(--hop-upsell-surface);
|
|
53
|
+
--hop-Button-upsell-border-hover: 0.0625rem solid var(--hop-upsell-surface-hover);
|
|
54
|
+
--hop-Button-upsell-border-pressed: 0.0625rem solid var(--hop-upsell-border-active);
|
|
55
|
+
--hop-Button-upsell-border-disabled: 0;
|
|
56
|
+
--hop-Button-negative-color: var(--hop-danger-text-strong);
|
|
57
|
+
--hop-Button-negative-color-hover: var(--hop-danger-text-strong-hover);
|
|
58
|
+
--hop-Button-negative-color-pressed: var(--hop-danger-text-active);
|
|
59
|
+
--hop-Button-negative-color-disabled: var(--hop-neutral-text-disabled);
|
|
60
|
+
--hop-Button-negative-background-color: var(--hop-danger-surface-strong);
|
|
61
|
+
--hop-Button-negative-background-color-hover: var(--hop-danger-surface-hover);
|
|
62
|
+
--hop-Button-negative-background-color-pressed: var(--hop-danger-surface-active);
|
|
63
|
+
--hop-Button-negative-background-color-disabled: var(--hop-neutral-surface-disabled);
|
|
64
|
+
--hop-Button-negative-border: 0.0625rem solid var(--hop-danger-surface-strong);
|
|
65
|
+
--hop-Button-negative-border-hover: 0.0625rem solid var(--hop-danger-surface-hover);
|
|
66
|
+
--hop-Button-negative-border-pressed: 0.0625rem solid var(--hop-danger-border-active);
|
|
67
|
+
--hop-Button-negative-border-disabled: 0;
|
|
68
68
|
--inline-size: max-content;
|
|
69
|
-
--block-size: var(--hop-
|
|
69
|
+
--block-size: var(--hop-Button-md-height);
|
|
70
70
|
--background-color: var(--hop-primary-surface-strong);
|
|
71
71
|
--color: var(--hop-primary-text-strong);
|
|
72
72
|
--border: 0;
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
column-gap: var(--hop-space-inline-xs);
|
|
78
78
|
box-sizing: border-box;
|
|
79
79
|
position: relative;
|
|
80
|
-
padding: var(--hop-
|
|
81
|
-
border-radius: var(--hop-
|
|
80
|
+
padding: var(--hop-Button-padding);
|
|
81
|
+
border-radius: var(--hop-Button-border-radius);
|
|
82
82
|
outline: none;
|
|
83
83
|
outline-offset: 0.125rem;
|
|
84
84
|
transition:
|
|
@@ -92,230 +92,230 @@
|
|
|
92
92
|
border: var(--border);
|
|
93
93
|
align-items: center;
|
|
94
94
|
}
|
|
95
|
-
.hop-
|
|
95
|
+
.hop-Button[data-disabled] {
|
|
96
96
|
cursor: not-allowed;
|
|
97
97
|
}
|
|
98
|
-
.hop-
|
|
99
|
-
outline: 0.125rem solid var(--hop-
|
|
98
|
+
.hop-Button[data-focus-visible] {
|
|
99
|
+
outline: 0.125rem solid var(--hop-Button-focus-ring-color);
|
|
100
100
|
}
|
|
101
|
-
.hop-
|
|
101
|
+
.hop-Button--fluid {
|
|
102
102
|
--inline-size: 100%;
|
|
103
103
|
}
|
|
104
|
-
.hop-
|
|
105
|
-
--block-size: var(--hop-
|
|
106
|
-
}
|
|
107
|
-
.hop-
|
|
108
|
-
--background-color: var(--hop-
|
|
109
|
-
--color: var(--hop-
|
|
110
|
-
--border: var(--hop-
|
|
111
|
-
}
|
|
112
|
-
.hop-
|
|
113
|
-
--background-color: var(--hop-
|
|
114
|
-
--color: var(--hop-
|
|
115
|
-
--border: var(--hop-
|
|
116
|
-
}
|
|
117
|
-
.hop-
|
|
118
|
-
--background-color: var(--hop-
|
|
119
|
-
--color: var(--hop-
|
|
120
|
-
--border: var(--hop-
|
|
121
|
-
}
|
|
122
|
-
.hop-
|
|
123
|
-
--background-color: var(--hop-
|
|
124
|
-
--color: var(--hop-
|
|
125
|
-
--border: var(--hop-
|
|
126
|
-
}
|
|
127
|
-
.hop-
|
|
128
|
-
--background-color: var(--hop-
|
|
129
|
-
--color: var(--hop-
|
|
130
|
-
--border: var(--hop-
|
|
131
|
-
}
|
|
132
|
-
.hop-
|
|
133
|
-
--background-color: var(--hop-
|
|
134
|
-
--color: var(--hop-
|
|
135
|
-
--border: var(--hop-
|
|
136
|
-
}
|
|
137
|
-
.hop-
|
|
138
|
-
--background-color: var(--hop-
|
|
139
|
-
--color: var(--hop-
|
|
140
|
-
--border: var(--hop-
|
|
141
|
-
}
|
|
142
|
-
.hop-
|
|
143
|
-
--background-color: var(--hop-
|
|
144
|
-
--color: var(--hop-
|
|
145
|
-
--border: var(--hop-
|
|
146
|
-
}
|
|
147
|
-
.hop-
|
|
148
|
-
--background-color: var(--hop-
|
|
149
|
-
--color: var(--hop-
|
|
150
|
-
--border: var(--hop-
|
|
151
|
-
}
|
|
152
|
-
.hop-
|
|
153
|
-
--background-color: var(--hop-
|
|
154
|
-
--color: var(--hop-
|
|
155
|
-
--border: var(--hop-
|
|
156
|
-
}
|
|
157
|
-
.hop-
|
|
158
|
-
--background-color: var(--hop-
|
|
159
|
-
--color: var(--hop-
|
|
160
|
-
--border: var(--hop-
|
|
161
|
-
}
|
|
162
|
-
.hop-
|
|
163
|
-
--background-color: var(--hop-
|
|
164
|
-
--color: var(--hop-
|
|
165
|
-
--border: var(--hop-
|
|
166
|
-
}
|
|
167
|
-
.hop-
|
|
168
|
-
--background-color: var(--hop-
|
|
169
|
-
--color: var(--hop-
|
|
170
|
-
--border: var(--hop-
|
|
171
|
-
}
|
|
172
|
-
.hop-
|
|
173
|
-
--background-color: var(--hop-
|
|
174
|
-
--color: var(--hop-
|
|
175
|
-
--border: var(--hop-
|
|
176
|
-
}
|
|
177
|
-
.hop-
|
|
178
|
-
--background-color: var(--hop-
|
|
179
|
-
--color: var(--hop-
|
|
180
|
-
--border: var(--hop-
|
|
181
|
-
}
|
|
182
|
-
.hop-
|
|
183
|
-
--background-color: var(--hop-
|
|
184
|
-
--color: var(--hop-
|
|
185
|
-
--border: var(--hop-
|
|
186
|
-
}
|
|
187
|
-
.hop-
|
|
188
|
-
--background-color: var(--hop-
|
|
189
|
-
--color: var(--hop-
|
|
190
|
-
--border: var(--hop-
|
|
191
|
-
}
|
|
192
|
-
.hop-
|
|
193
|
-
--background-color: var(--hop-
|
|
194
|
-
--color: var(--hop-
|
|
195
|
-
--border: var(--hop-
|
|
196
|
-
}
|
|
197
|
-
.hop-
|
|
198
|
-
--background-color: var(--hop-
|
|
199
|
-
--color: var(--hop-
|
|
200
|
-
--border: var(--hop-
|
|
201
|
-
}
|
|
202
|
-
.hop-
|
|
203
|
-
--background-color: var(--hop-
|
|
204
|
-
--color: var(--hop-
|
|
205
|
-
--border: var(--hop-
|
|
206
|
-
}
|
|
207
|
-
.hop-
|
|
104
|
+
.hop-Button--sm {
|
|
105
|
+
--block-size: var(--hop-Button-sm-height);
|
|
106
|
+
}
|
|
107
|
+
.hop-Button--primary {
|
|
108
|
+
--background-color: var(--hop-Button-primary-background-color);
|
|
109
|
+
--color: var(--hop-Button-primary-color);
|
|
110
|
+
--border: var(--hop-Button-primary-border);
|
|
111
|
+
}
|
|
112
|
+
.hop-Button--primary[data-disabled]:not([data-loading]) {
|
|
113
|
+
--background-color: var(--hop-Button-primary-background-color-disabled);
|
|
114
|
+
--color: var(--hop-Button-primary-color-disabled);
|
|
115
|
+
--border: var(--hop-Button-primary-border-disabled);
|
|
116
|
+
}
|
|
117
|
+
.hop-Button--primary[data-hovered] {
|
|
118
|
+
--background-color: var(--hop-Button-primary-background-color-hover);
|
|
119
|
+
--color: var(--hop-Button-primary-color-hover);
|
|
120
|
+
--border: var(--hop-Button-primary-border-hover);
|
|
121
|
+
}
|
|
122
|
+
.hop-Button--primary[data-pressed] {
|
|
123
|
+
--background-color: var(--hop-Button-primary-background-color-pressed);
|
|
124
|
+
--color: var(--hop-Button-primary-color-pressed);
|
|
125
|
+
--border: var(--hop-Button-primary-border-pressed);
|
|
126
|
+
}
|
|
127
|
+
.hop-Button--secondary {
|
|
128
|
+
--background-color: var(--hop-Button-secondary-background-color);
|
|
129
|
+
--color: var(--hop-Button-secondary-color);
|
|
130
|
+
--border: var(--hop-Button-secondary-border);
|
|
131
|
+
}
|
|
132
|
+
.hop-Button--secondary[data-disabled]:not([data-loading]) {
|
|
133
|
+
--background-color: var(--hop-Button-secondary-background-color-disabled);
|
|
134
|
+
--color: var(--hop-Button-secondary-color-disabled);
|
|
135
|
+
--border: var(--hop-Button-secondary-border-disabled);
|
|
136
|
+
}
|
|
137
|
+
.hop-Button--secondary[data-hovered] {
|
|
138
|
+
--background-color: var(--hop-Button-secondary-background-color-hover);
|
|
139
|
+
--color: var(--hop-Button-secondary-color-hover);
|
|
140
|
+
--border: var(--hop-Button-secondary-border-hover);
|
|
141
|
+
}
|
|
142
|
+
.hop-Button--secondary[data-pressed] {
|
|
143
|
+
--background-color: var(--hop-Button-secondary-background-color-pressed);
|
|
144
|
+
--color: var(--hop-Button-secondary-color-pressed);
|
|
145
|
+
--border: var(--hop-Button-secondary-border-pressed);
|
|
146
|
+
}
|
|
147
|
+
.hop-Button--tertiary {
|
|
148
|
+
--background-color: var(--hop-Button-tertiary-background-color);
|
|
149
|
+
--color: var(--hop-Button-tertiary-color);
|
|
150
|
+
--border: var(--hop-Button-tertiary-border);
|
|
151
|
+
}
|
|
152
|
+
.hop-Button--tertiary[data-disabled]:not([data-loading]) {
|
|
153
|
+
--background-color: var(--hop-Button-tertiary-background-color-disabled);
|
|
154
|
+
--color: var(--hop-Button-tertiary-color-disabled);
|
|
155
|
+
--border: var(--hop-Button-tertiary-border-disabled);
|
|
156
|
+
}
|
|
157
|
+
.hop-Button--tertiary[data-hovered] {
|
|
158
|
+
--background-color: var(--hop-Button-tertiary-background-color-hover);
|
|
159
|
+
--color: var(--hop-Button-tertiary-color-hover);
|
|
160
|
+
--border: var(--hop-Button-tertiary-border-hover);
|
|
161
|
+
}
|
|
162
|
+
.hop-Button--tertiary[data-pressed] {
|
|
163
|
+
--background-color: var(--hop-Button-tertiary-background-color-pressed);
|
|
164
|
+
--color: var(--hop-Button-tertiary-color-pressed);
|
|
165
|
+
--border: var(--hop-Button-tertiary-border-pressed);
|
|
166
|
+
}
|
|
167
|
+
.hop-Button--upsell {
|
|
168
|
+
--background-color: var(--hop-Button-upsell-background-color);
|
|
169
|
+
--color: var(--hop-Button-upsell-color);
|
|
170
|
+
--border: var(--hop-Button-upsell-border);
|
|
171
|
+
}
|
|
172
|
+
.hop-Button--upsell[data-disabled]:not([data-loading]) {
|
|
173
|
+
--background-color: var(--hop-Button-upsell-background-color-disabled);
|
|
174
|
+
--color: var(--hop-Button-upsell-color-disabled);
|
|
175
|
+
--border: var(--hop-Button-upsell-border-disabled);
|
|
176
|
+
}
|
|
177
|
+
.hop-Button--upsell[data-hovered] {
|
|
178
|
+
--background-color: var(--hop-Button-upsell-background-color-hover);
|
|
179
|
+
--color: var(--hop-Button-upsell-color-hover);
|
|
180
|
+
--border: var(--hop-Button-upsell-border-hover);
|
|
181
|
+
}
|
|
182
|
+
.hop-Button--upsell[data-pressed] {
|
|
183
|
+
--background-color: var(--hop-Button-upsell-background-color-pressed);
|
|
184
|
+
--color: var(--hop-Button-upsell-color-pressed);
|
|
185
|
+
--border: var(--hop-Button-upsell-border-pressed);
|
|
186
|
+
}
|
|
187
|
+
.hop-Button--negative {
|
|
188
|
+
--background-color: var(--hop-Button-negative-background-color);
|
|
189
|
+
--color: var(--hop-Button-negative-color);
|
|
190
|
+
--border: var(--hop-Button-negative-border);
|
|
191
|
+
}
|
|
192
|
+
.hop-Button--negative[data-disabled]:not([data-loading]) {
|
|
193
|
+
--background-color: var(--hop-Button-negative-background-color-disabled);
|
|
194
|
+
--color: var(--hop-Button-negative-color-disabled);
|
|
195
|
+
--border: var(--hop-Button-negative-border-disabled);
|
|
196
|
+
}
|
|
197
|
+
.hop-Button--negative[data-hovered] {
|
|
198
|
+
--background-color: var(--hop-Button-negative-background-color-hover);
|
|
199
|
+
--color: var(--hop-Button-negative-color-hover);
|
|
200
|
+
--border: var(--hop-Button-negative-border-hover);
|
|
201
|
+
}
|
|
202
|
+
.hop-Button--negative[data-pressed] {
|
|
203
|
+
--background-color: var(--hop-Button-negative-background-color-pressed);
|
|
204
|
+
--color: var(--hop-Button-negative-color-pressed);
|
|
205
|
+
--border: var(--hop-Button-negative-border-pressed);
|
|
206
|
+
}
|
|
207
|
+
.hop-Button__Spinner {
|
|
208
208
|
position: absolute;
|
|
209
209
|
justify-self: center;
|
|
210
210
|
color: var(--color);
|
|
211
211
|
}
|
|
212
|
-
.hop-
|
|
213
|
-
.hop-
|
|
212
|
+
.hop-Button__icon,
|
|
213
|
+
.hop-Button__icon-list {
|
|
214
214
|
grid-area: start-icon;
|
|
215
215
|
justify-self: end;
|
|
216
216
|
}
|
|
217
|
-
.hop-
|
|
217
|
+
.hop-Button__text {
|
|
218
218
|
grid-area: content;
|
|
219
219
|
font-weight: var(--hop-font-weight-505);
|
|
220
220
|
overflow: visible;
|
|
221
221
|
text-wrap: nowrap;
|
|
222
222
|
user-select: none;
|
|
223
223
|
}
|
|
224
|
-
.hop-
|
|
225
|
-
.hop-
|
|
224
|
+
.hop-Button__end-icon,
|
|
225
|
+
.hop-Button__end-icon-list {
|
|
226
226
|
grid-area: end-icon;
|
|
227
227
|
}
|
|
228
|
-
.hop-
|
|
228
|
+
.hop-Button[data-loading] > *:not(.hop-Button__Spinner) {
|
|
229
229
|
opacity: 0;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/* src/Text/src/Text.module.css */
|
|
233
|
-
.hop-
|
|
234
|
-
--hop-
|
|
235
|
-
--hop-
|
|
236
|
-
--hop-
|
|
237
|
-
--hop-
|
|
238
|
-
--hop-
|
|
239
|
-
--hop-
|
|
240
|
-
--hop-
|
|
241
|
-
--hop-
|
|
242
|
-
--hop-
|
|
243
|
-
--hop-
|
|
244
|
-
--hop-
|
|
245
|
-
--hop-
|
|
246
|
-
--hop-
|
|
247
|
-
--hop-
|
|
248
|
-
--hop-
|
|
249
|
-
--hop-
|
|
250
|
-
--hop-
|
|
251
|
-
--hop-
|
|
252
|
-
--hop-
|
|
253
|
-
--hop-
|
|
254
|
-
--hop-
|
|
255
|
-
--hop-
|
|
256
|
-
--hop-
|
|
257
|
-
--hop-
|
|
258
|
-
--hop-
|
|
259
|
-
--hop-
|
|
260
|
-
--hop-
|
|
261
|
-
--hop-
|
|
262
|
-
}
|
|
263
|
-
:where(.hop-
|
|
233
|
+
.hop-Text {
|
|
234
|
+
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
235
|
+
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
236
|
+
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
237
|
+
--hop-Text-xs-line-height: var(--hop-body-xs-line-height);
|
|
238
|
+
--hop-Text-sm-font-size: var(--hop-body-sm-font-size);
|
|
239
|
+
--hop-Text-sm-font-family: var(--hop-body-sm-font-family);
|
|
240
|
+
--hop-Text-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
241
|
+
--hop-Text-sm-line-height: var(--hop-body-sm-line-height);
|
|
242
|
+
--hop-Text-md-font-size: var(--hop-body-md-font-size);
|
|
243
|
+
--hop-Text-md-font-family: var(--hop-body-md-font-family);
|
|
244
|
+
--hop-Text-md-font-weight: var(--hop-body-md-font-weight);
|
|
245
|
+
--hop-Text-md-line-height: var(--hop-body-md-line-height);
|
|
246
|
+
--hop-Text-lg-font-size: var(--hop-body-lg-font-size);
|
|
247
|
+
--hop-Text-lg-font-family: var(--hop-body-lg-font-family);
|
|
248
|
+
--hop-Text-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
249
|
+
--hop-Text-lg-line-height: var(--hop-body-lg-line-height);
|
|
250
|
+
--hop-Text-xl-font-size: var(--hop-body-xl-font-size);
|
|
251
|
+
--hop-Text-xl-font-family: var(--hop-body-xl-font-family);
|
|
252
|
+
--hop-Text-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
253
|
+
--hop-Text-xl-line-height: var(--hop-body-xl-line-height);
|
|
254
|
+
--hop-Text-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
255
|
+
--hop-Text-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
256
|
+
--hop-Text-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
257
|
+
--hop-Text-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
258
|
+
--hop-Text-inherit-size-font-size: inherit;
|
|
259
|
+
--hop-Text-inherit-size-font-family: inherit;
|
|
260
|
+
--hop-Text-inherit-size-font-weight: inherit;
|
|
261
|
+
--hop-Text-inherit-size-line-height: inherit;
|
|
262
|
+
}
|
|
263
|
+
:where(.hop-Text) {
|
|
264
264
|
font-size: var(--font-size);
|
|
265
265
|
font-family: var(--font-family);
|
|
266
266
|
font-weight: var(--font-weight);
|
|
267
267
|
line-height: var(--line-height);
|
|
268
268
|
}
|
|
269
|
-
:where(.hop-
|
|
270
|
-
--font-size: var(--hop-
|
|
271
|
-
--font-family: var(--hop-
|
|
272
|
-
--font-weight: var(--hop-
|
|
273
|
-
--line-height: var(--hop-
|
|
274
|
-
}
|
|
275
|
-
:where(.hop-
|
|
276
|
-
--font-size: var(--hop-
|
|
277
|
-
--font-family: var(--hop-
|
|
278
|
-
--font-weight: var(--hop-
|
|
279
|
-
--line-height: var(--hop-
|
|
280
|
-
}
|
|
281
|
-
:where(.hop-
|
|
282
|
-
--font-size: var(--hop-
|
|
283
|
-
--font-family: var(--hop-
|
|
284
|
-
--font-weight: var(--hop-
|
|
285
|
-
--line-height: var(--hop-
|
|
286
|
-
}
|
|
287
|
-
:where(.hop-
|
|
288
|
-
--font-size: var(--hop-
|
|
289
|
-
--font-family: var(--hop-
|
|
290
|
-
--font-weight: var(--hop-
|
|
291
|
-
--line-height: var(--hop-
|
|
292
|
-
}
|
|
293
|
-
:where(.hop-
|
|
294
|
-
--font-size: var(--hop-
|
|
295
|
-
--font-family: var(--hop-
|
|
296
|
-
--font-weight: var(--hop-
|
|
297
|
-
--line-height: var(--hop-
|
|
298
|
-
}
|
|
299
|
-
:where(.hop-
|
|
300
|
-
--font-size: var(--hop-
|
|
301
|
-
--font-family: var(--hop-
|
|
302
|
-
--font-weight: var(--hop-
|
|
303
|
-
--line-height: var(--hop-
|
|
304
|
-
}
|
|
305
|
-
:where(.hop-
|
|
306
|
-
--font-size: var(--hop-
|
|
307
|
-
--font-family: var(--hop-
|
|
308
|
-
--font-weight: var(--hop-
|
|
309
|
-
--line-height: var(--hop-
|
|
269
|
+
:where(.hop-Text--xs) {
|
|
270
|
+
--font-size: var(--hop-Text-xs-font-size);
|
|
271
|
+
--font-family: var(--hop-Text-xs-font-family);
|
|
272
|
+
--font-weight: var(--hop-Text-xs-font-weight);
|
|
273
|
+
--line-height: var(--hop-Text-xs-line-height);
|
|
274
|
+
}
|
|
275
|
+
:where(.hop-Text--sm) {
|
|
276
|
+
--font-size: var(--hop-Text-sm-font-size);
|
|
277
|
+
--font-family: var(--hop-Text-sm-font-family);
|
|
278
|
+
--font-weight: var(--hop-Text-sm-font-weight);
|
|
279
|
+
--line-height: var(--hop-Text-sm-line-height);
|
|
280
|
+
}
|
|
281
|
+
:where(.hop-Text--md) {
|
|
282
|
+
--font-size: var(--hop-Text-md-font-size);
|
|
283
|
+
--font-family: var(--hop-Text-md-font-family);
|
|
284
|
+
--font-weight: var(--hop-Text-md-font-weight);
|
|
285
|
+
--line-height: var(--hop-Text-md-line-height);
|
|
286
|
+
}
|
|
287
|
+
:where(.hop-Text--lg) {
|
|
288
|
+
--font-size: var(--hop-Text-lg-font-size);
|
|
289
|
+
--font-family: var(--hop-Text-lg-font-family);
|
|
290
|
+
--font-weight: var(--hop-Text-lg-font-weight);
|
|
291
|
+
--line-height: var(--hop-Text-lg-line-height);
|
|
292
|
+
}
|
|
293
|
+
:where(.hop-Text--xl) {
|
|
294
|
+
--font-size: var(--hop-Text-xl-font-size);
|
|
295
|
+
--font-family: var(--hop-Text-xl-font-family);
|
|
296
|
+
--font-weight: var(--hop-Text-xl-font-weight);
|
|
297
|
+
--line-height: var(--hop-Text-xl-line-height);
|
|
298
|
+
}
|
|
299
|
+
:where(.hop-Text--2xl) {
|
|
300
|
+
--font-size: var(--hop-Text-2xl-font-size);
|
|
301
|
+
--font-family: var(--hop-Text-2xl-font-family);
|
|
302
|
+
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
303
|
+
--line-height: var(--hop-Text-2xl-line-height);
|
|
304
|
+
}
|
|
305
|
+
:where(.hop-Text--inherit) {
|
|
306
|
+
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
307
|
+
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
308
|
+
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
309
|
+
--line-height: var(--hop-Text-inherit-size-line-height);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
/* src/IconList/src/IconList.module.css */
|
|
313
|
-
.hop-
|
|
314
|
-
--hop-
|
|
313
|
+
.hop-IconList {
|
|
314
|
+
--hop-IconList-gap: var(--hop-space-inline-xs);
|
|
315
315
|
box-sizing: border-box;
|
|
316
316
|
display: flex;
|
|
317
317
|
flex-flow: wrap;
|
|
318
|
-
gap: var(--hop-
|
|
318
|
+
gap: var(--hop-IconList-gap);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
/* src/Spinner/src/Spinner.module.css */
|
|
@@ -327,142 +327,142 @@
|
|
|
327
327
|
transform: rotate(360deg);
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
.hop-
|
|
331
|
-
--hop-
|
|
332
|
-
--hop-
|
|
333
|
-
--hop-
|
|
334
|
-
--hop-
|
|
335
|
-
--hop-
|
|
336
|
-
--hop-
|
|
337
|
-
--hop-
|
|
338
|
-
--hop-
|
|
339
|
-
--hop-
|
|
340
|
-
--hop-
|
|
341
|
-
--hop-
|
|
342
|
-
--hop-
|
|
330
|
+
.hop-Spinner {
|
|
331
|
+
--hop-Spinner-border-radius: var(--hop-shape-circle);
|
|
332
|
+
--hop-Spinner-sm-wheel-size: 1rem;
|
|
333
|
+
--hop-Spinner-md-wheel-size: 1.25rem;
|
|
334
|
+
--hop-Spinner-lg-wheel-size: 1.5rem;
|
|
335
|
+
--hop-Spinner-track-width: 0.125rem;
|
|
336
|
+
--hop-Spinner-track-opacity: 0.2;
|
|
337
|
+
--hop-Spinner-track-border: var(--hop-Spinner-track-width) solid currentcolor;
|
|
338
|
+
--hop-Spinner-fill-animation: spin .8s infinite linear;
|
|
339
|
+
--hop-Spinner-fill-animation-reduced-motion-duration: 2s;
|
|
340
|
+
--hop-Spinner-fill-border: var(--hop-Spinner-track-width) solid transparent;
|
|
341
|
+
--hop-Spinner-fill-border-inline-start: var(--hop-Spinner-track-width) solid currentcolor;
|
|
342
|
+
--hop-Spinner-label-margin-inline-start: var(--hop-space-inline-sm);
|
|
343
343
|
box-sizing: border-box;
|
|
344
344
|
display: grid;
|
|
345
345
|
grid-template-areas: "spinner label";
|
|
346
346
|
grid-template-columns: min-content auto;
|
|
347
347
|
align-items: center;
|
|
348
348
|
}
|
|
349
|
-
.hop-
|
|
350
|
-
--width: var(--hop-
|
|
351
|
-
--height: var(--hop-
|
|
349
|
+
.hop-Spinner--sm {
|
|
350
|
+
--width: var(--hop-Spinner-sm-wheel-size);
|
|
351
|
+
--height: var(--hop-Spinner-sm-wheel-size);
|
|
352
352
|
}
|
|
353
|
-
.hop-
|
|
354
|
-
--width: var(--hop-
|
|
355
|
-
--height: var(--hop-
|
|
353
|
+
.hop-Spinner--md {
|
|
354
|
+
--width: var(--hop-Spinner-md-wheel-size);
|
|
355
|
+
--height: var(--hop-Spinner-md-wheel-size);
|
|
356
356
|
}
|
|
357
|
-
.hop-
|
|
358
|
-
--width: var(--hop-
|
|
359
|
-
--height: var(--hop-
|
|
357
|
+
.hop-Spinner--lg {
|
|
358
|
+
--width: var(--hop-Spinner-lg-wheel-size);
|
|
359
|
+
--height: var(--hop-Spinner-lg-wheel-size);
|
|
360
360
|
}
|
|
361
|
-
.hop-
|
|
361
|
+
.hop-Spinner__track {
|
|
362
362
|
box-sizing: border-box;
|
|
363
|
-
inline-size: var(--width, --hop-
|
|
364
|
-
block-size: var(--height, --hop-
|
|
365
|
-
border-radius: var(--hop-
|
|
366
|
-
border: var(--hop-
|
|
367
|
-
opacity: var(--hop-
|
|
363
|
+
inline-size: var(--width, --hop-Spinner-md-wheel-size);
|
|
364
|
+
block-size: var(--height, --hop-Spinner-md-wheel-size);
|
|
365
|
+
border-radius: var(--hop-Spinner-border-radius);
|
|
366
|
+
border: var(--hop-Spinner-track-border);
|
|
367
|
+
opacity: var(--hop-Spinner-track-opacity);
|
|
368
368
|
grid-area: spinner;
|
|
369
369
|
}
|
|
370
|
-
.hop-
|
|
370
|
+
.hop-Spinner__fill {
|
|
371
371
|
box-sizing: border-box;
|
|
372
|
-
inline-size: var(--width, --hop-
|
|
373
|
-
block-size: var(--height, --hop-
|
|
374
|
-
border-radius: var(--hop-
|
|
375
|
-
border: var( --hop-
|
|
376
|
-
border-inline-start: var(--hop-
|
|
372
|
+
inline-size: var(--width, --hop-Spinner-md-wheel-size);
|
|
373
|
+
block-size: var(--height, --hop-Spinner-md-wheel-size);
|
|
374
|
+
border-radius: var(--hop-Spinner-border-radius);
|
|
375
|
+
border: var( --hop-Spinner-fill-border);
|
|
376
|
+
border-inline-start: var(--hop-Spinner-fill-border-inline-start);
|
|
377
377
|
grid-area: spinner;
|
|
378
|
-
animation: var(--hop-
|
|
378
|
+
animation: var(--hop-Spinner-fill-animation);
|
|
379
379
|
}
|
|
380
380
|
@media (prefers-reduced-motion: reduce) {
|
|
381
|
-
.hop-
|
|
382
|
-
animation-duration: var(--hop-
|
|
381
|
+
.hop-Spinner__fill {
|
|
382
|
+
animation-duration: var(--hop-Spinner-fill-animation-reduced-motion-duration);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
.hop-
|
|
385
|
+
.hop-Spinner__label {
|
|
386
386
|
grid-area: label;
|
|
387
|
-
margin-inline-start: var(--hop-
|
|
387
|
+
margin-inline-start: var(--hop-Spinner-label-margin-inline-start);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/* src/Label/src/Label.module.css */
|
|
391
|
-
.hop-
|
|
392
|
-
--hop-
|
|
393
|
-
--hop-
|
|
394
|
-
--hop-
|
|
395
|
-
--hop-
|
|
396
|
-
--hop-
|
|
397
|
-
--hop-
|
|
398
|
-
--hop-
|
|
399
|
-
--hop-
|
|
400
|
-
--hop-
|
|
401
|
-
--hop-
|
|
402
|
-
--hop-
|
|
403
|
-
--hop-
|
|
404
|
-
--hop-
|
|
405
|
-
--hop-
|
|
406
|
-
--hop-
|
|
407
|
-
--hop-
|
|
408
|
-
--hop-
|
|
409
|
-
--hop-
|
|
410
|
-
--hop-
|
|
411
|
-
--hop-
|
|
412
|
-
--hop-
|
|
413
|
-
--hop-
|
|
414
|
-
--hop-
|
|
415
|
-
--hop-
|
|
416
|
-
--hop-
|
|
417
|
-
--hop-
|
|
418
|
-
--hop-
|
|
419
|
-
--hop-
|
|
420
|
-
}
|
|
421
|
-
:where(.hop-
|
|
422
|
-
font-size: var(--font-size, --hop-
|
|
423
|
-
font-family: var(--font-family, --hop-
|
|
424
|
-
font-weight: var(--font-weight, --hop-
|
|
425
|
-
line-height: var(--line-height, --hop-
|
|
426
|
-
}
|
|
427
|
-
:where(.hop-
|
|
428
|
-
--font-size: var(--hop-
|
|
429
|
-
--font-family: var(--hop-
|
|
430
|
-
--font-weight: var(--hop-
|
|
431
|
-
--line-height: var(--hop-
|
|
432
|
-
}
|
|
433
|
-
:where(.hop-
|
|
434
|
-
--font-size: var(--hop-
|
|
435
|
-
--font-family: var(--hop-
|
|
436
|
-
--font-weight: var(--hop-
|
|
437
|
-
--line-height: var(--hop-
|
|
438
|
-
}
|
|
439
|
-
:where(.hop-
|
|
440
|
-
--font-size: var(--hop-
|
|
441
|
-
--font-family: var(--hop-
|
|
442
|
-
--font-weight: var(--hop-
|
|
443
|
-
--line-height: var(--hop-
|
|
444
|
-
}
|
|
445
|
-
:where(.hop-
|
|
446
|
-
--font-size: var(--hop-
|
|
447
|
-
--font-family: var(--hop-
|
|
448
|
-
--font-weight: var(--hop-
|
|
449
|
-
--line-height: var(--hop-
|
|
450
|
-
}
|
|
451
|
-
:where(.hop-
|
|
452
|
-
--font-size: var(--hop-
|
|
453
|
-
--font-family: var(--hop-
|
|
454
|
-
--font-weight: var(--hop-
|
|
455
|
-
--line-height: var(--hop-
|
|
456
|
-
}
|
|
457
|
-
:where(.hop-
|
|
458
|
-
--font-size: var(--hop-
|
|
459
|
-
--font-family: var(--hop-
|
|
460
|
-
--font-weight: var(--hop-
|
|
461
|
-
--line-height: var(--hop-
|
|
462
|
-
}
|
|
463
|
-
:where(.hop-
|
|
464
|
-
--font-size: var(--hop-
|
|
465
|
-
--font-family: var(--hop-
|
|
466
|
-
--font-weight: var(--hop-
|
|
467
|
-
--line-height: var(--hop-
|
|
391
|
+
.hop-Label {
|
|
392
|
+
--hop-Label-xs-font-size: var(--hop-body-xs-font-size);
|
|
393
|
+
--hop-Label-xs-font-family: var(--hop-body-xs-font-family);
|
|
394
|
+
--hop-Label-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
395
|
+
--hop-Label-xs-line-height: var(--hop-body-xs-line-height);
|
|
396
|
+
--hop-Label-sm-font-size: var(--hop-body-sm-font-size);
|
|
397
|
+
--hop-Label-sm-font-family: var(--hop-body-sm-font-family);
|
|
398
|
+
--hop-Label-sm-font-weight: var(--hop-body-sm-font-weight);
|
|
399
|
+
--hop-Label-sm-line-height: var(--hop-body-sm-line-height);
|
|
400
|
+
--hop-Label-md-font-size: var(--hop-body-md-font-size);
|
|
401
|
+
--hop-Label-md-font-family: var(--hop-body-md-font-family);
|
|
402
|
+
--hop-Label-md-font-weight: var(--hop-body-md-font-weight);
|
|
403
|
+
--hop-Label-md-line-height: var(--hop-body-md-line-height);
|
|
404
|
+
--hop-Label-lg-font-size: var(--hop-body-lg-font-size);
|
|
405
|
+
--hop-Label-lg-font-family: var(--hop-body-lg-font-family);
|
|
406
|
+
--hop-Label-lg-font-weight: var(--hop-body-lg-font-weight);
|
|
407
|
+
--hop-Label-lg-line-height: var(--hop-body-lg-line-height);
|
|
408
|
+
--hop-Label-xl-font-size: var(--hop-body-xl-font-size);
|
|
409
|
+
--hop-Label-xl-font-family: var(--hop-body-xl-font-family);
|
|
410
|
+
--hop-Label-xl-font-weight: var(--hop-body-xl-font-weight);
|
|
411
|
+
--hop-Label-xl-line-height: var(--hop-body-xl-line-height);
|
|
412
|
+
--hop-Label-2xl-font-size: var(--hop-body-2xl-font-size);
|
|
413
|
+
--hop-Label-2xl-font-family: var(--hop-body-2xl-font-family);
|
|
414
|
+
--hop-Label-2xl-font-weight: var(--hop-body-2xl-font-weight);
|
|
415
|
+
--hop-Label-2xl-line-height: var(--hop-body-2xl-line-height);
|
|
416
|
+
--hop-Label-inherit-size-font-size: inherit;
|
|
417
|
+
--hop-Label-inherit-size-font-family: inherit;
|
|
418
|
+
--hop-Label-inherit-size-font-weight: inherit;
|
|
419
|
+
--hop-Label-inherit-size-line-height: inherit;
|
|
420
|
+
}
|
|
421
|
+
:where(.hop-Label) {
|
|
422
|
+
font-size: var(--font-size, --hop-Label-md-font-size);
|
|
423
|
+
font-family: var(--font-family, --hop-Label-md-font-family);
|
|
424
|
+
font-weight: var(--font-weight, --hop-Label-md-font-weight);
|
|
425
|
+
line-height: var(--line-height, --hop-Label-md-line-height);
|
|
426
|
+
}
|
|
427
|
+
:where(.hop-Label--xs) {
|
|
428
|
+
--font-size: var(--hop-Label-xs-font-size);
|
|
429
|
+
--font-family: var(--hop-Label-xs-font-family);
|
|
430
|
+
--font-weight: var(--hop-Label-xs-font-weight);
|
|
431
|
+
--line-height: var(--hop-Label-xs-line-height);
|
|
432
|
+
}
|
|
433
|
+
:where(.hop-Label--sm) {
|
|
434
|
+
--font-size: var(--hop-Label-sm-font-size);
|
|
435
|
+
--font-family: var(--hop-Label-sm-font-family);
|
|
436
|
+
--font-weight: var(--hop-Label-sm-font-weight);
|
|
437
|
+
--line-height: var(--hop-Label-sm-line-height);
|
|
438
|
+
}
|
|
439
|
+
:where(.hop-Label--md) {
|
|
440
|
+
--font-size: var(--hop-Label-md-font-size);
|
|
441
|
+
--font-family: var(--hop-Label-md-font-family);
|
|
442
|
+
--font-weight: var(--hop-Label-md-font-weight);
|
|
443
|
+
--line-height: var(--hop-Label-md-line-height);
|
|
444
|
+
}
|
|
445
|
+
:where(.hop-Label--lg) {
|
|
446
|
+
--font-size: var(--hop-Label-lg-font-size);
|
|
447
|
+
--font-family: var(--hop-Label-lg-font-family);
|
|
448
|
+
--font-weight: var(--hop-Label-lg-font-weight);
|
|
449
|
+
--line-height: var(--hop-Label-lg-line-height);
|
|
450
|
+
}
|
|
451
|
+
:where(.hop-Label--xl) {
|
|
452
|
+
--font-size: var(--hop-Label-xl-font-size);
|
|
453
|
+
--font-family: var(--hop-Label-xl-font-family);
|
|
454
|
+
--font-weight: var(--hop-Label-xl-font-weight);
|
|
455
|
+
--line-height: var(--hop-Label-xl-line-height);
|
|
456
|
+
}
|
|
457
|
+
:where(.hop-Label--2xl) {
|
|
458
|
+
--font-size: var(--hop-Label-2xl-font-size);
|
|
459
|
+
--font-family: var(--hop-Label-2xl-font-family);
|
|
460
|
+
--font-weight: var(--hop-Label-2xl-font-weight);
|
|
461
|
+
--line-height: var(--hop-Label-2xl-line-height);
|
|
462
|
+
}
|
|
463
|
+
:where(.hop-Label--inherit) {
|
|
464
|
+
--font-size: var(--hop-Label-inherit-size-font-size);
|
|
465
|
+
--font-family: var(--hop-Label-inherit-size-font-family);
|
|
466
|
+
--font-weight: var(--hop-Label-inherit-size-font-weight);
|
|
467
|
+
--line-height: var(--hop-Label-inherit-size-line-height);
|
|
468
468
|
}
|