@hopper-ui/styled-system 1.2.0 → 2.0.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 +109 -0
- package/dist/StyledSystemProvider.css +34 -34
- package/dist/StyledSystemProvider.d.ts +3 -0
- package/dist/StyledSystemProvider.js +17 -17
- package/dist/chunk-2UOTJGT6.js +12 -0
- package/dist/{chunk-GFXIV6J4.js → chunk-3KPNXG7H.js} +23 -21
- package/dist/{chunk-JKXZGQAL.js → chunk-4E7VQIC5.js} +249 -183
- package/dist/{chunk-KLNF34G6.js → chunk-5U5IRAPA.js} +1 -1
- package/dist/{chunk-B6ZBFYWJ.js → chunk-6IPAN22Z.js} +3 -3
- package/dist/{chunk-EJR6CH3T.js → chunk-6KT6K6NI.js} +1 -1
- package/dist/{chunk-ZDENFQ6H.js → chunk-BUQLB5H6.js} +2 -2
- package/dist/{chunk-45MYTH4M.js → chunk-CFIMNXX5.js} +2 -2
- package/dist/{chunk-KKVEOD5L.js → chunk-FAICHNEU.js} +220 -154
- package/dist/{chunk-MCUHAIA4.js → chunk-GXUFWEP5.js} +2 -2
- package/dist/{chunk-RKTVEOXM.js → chunk-JSOM3YJJ.js} +6 -6
- package/dist/{chunk-LCW3QCQQ.js → chunk-KOWHTPQC.js} +2 -2
- package/dist/{chunk-TSYETPJT.js → chunk-KQGCMT5E.js} +5 -5
- package/dist/{chunk-E2EGUGKS.js → chunk-LKOZVSXD.js} +289 -221
- package/dist/{chunk-DRFY5W7M.js → chunk-NJIDLCB7.js} +1 -1
- package/dist/{chunk-J2UW6IZ5.js → chunk-VTGIKL3T.js} +2 -2
- package/dist/color-scheme/ColorSchemeContext.js +1 -1
- package/dist/color-scheme/useColorScheme.js +3 -3
- package/dist/color-scheme/useColorSchemeValue.js +1 -1
- package/dist/global-styles/BodyStyleProvider.js +4 -4
- package/dist/html-wrappers/html.css +34 -34
- package/dist/html-wrappers/html.js +6 -6
- package/dist/html-wrappers/htmlElement.css +34 -34
- package/dist/html-wrappers/htmlElement.js +5 -5
- package/dist/index.css +34 -34
- package/dist/index.js +17 -17
- package/dist/responsive/BreakpointContext.js +1 -1
- package/dist/responsive/BreakpointProvider.d.ts +5 -0
- package/dist/responsive/BreakpointProvider.js +3 -3
- package/dist/responsive/Breakpoints.js +1 -1
- package/dist/responsive/useResponsiveValue.js +1 -1
- package/dist/styledSystemProps.js +1 -1
- package/dist/styledSystemRootCssClass.js +2 -2
- package/dist/tokens/TokenProvider.js +6 -6
- package/dist/tokens/generated/darkSemanticTokens.d.ts +279 -211
- package/dist/tokens/generated/darkSemanticTokens.js +2 -2
- package/dist/tokens/generated/lightSemanticTokens.d.ts +242 -176
- package/dist/tokens/generated/lightSemanticTokens.js +2 -2
- package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +217 -151
- package/dist/tokens/generated/styledSystemToTokenMappings.js +2 -2
- package/dist/tokens/tokenMappings.d.ts +286 -206
- package/dist/tokens/tokenMappings.js +3 -3
- package/dist/tokens/tokens.d.ts +523 -389
- package/dist/tokens/tokens.js +4 -4
- package/dist/useStyledSystem.css +31 -31
- package/dist/useStyledSystem.d.ts +1 -1
- package/dist/useStyledSystem.js +4 -4
- package/dist/utils/assertion.js +1 -1
- package/dist/utils/useInsertStyleElement.js +1 -1
- package/dist/utils/useIsomorphicInsertionEffect.js +1 -1
- package/dist/utils/useIsomorphicLayoutEffect.js +1 -1
- package/dist/utils/useMediaQuery.js +2 -2
- package/dist/utils/useThemeComputedStyle.js +2 -2
- package/package.json +24 -22
- package/dist/chunk-6LX4VMOV.js +0 -26
- package/dist/{chunk-M4X2T3D3.js → chunk-T6JS7L6B.js} +1 -1
|
@@ -138,108 +138,124 @@ var HopperColors = {
|
|
|
138
138
|
"core_samoyed": "samoyed"
|
|
139
139
|
};
|
|
140
140
|
var BackgroundColors = {
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"upsell-disabled": "upsell-surface-disabled",
|
|
144
|
-
"upsell-active": "upsell-surface-active",
|
|
145
|
-
"upsell": "upsell-surface",
|
|
141
|
+
"danger-active": "danger-surface-active",
|
|
142
|
+
"danger-weak-active": "danger-surface-weak-active",
|
|
146
143
|
"danger": "danger-surface",
|
|
144
|
+
"danger-selected": "danger-surface-selected",
|
|
147
145
|
"danger-disabled": "danger-surface-disabled",
|
|
148
146
|
"danger-hover": "danger-surface-hover",
|
|
147
|
+
"danger-press": "danger-surface-press",
|
|
149
148
|
"danger-strong": "danger-surface-strong",
|
|
150
149
|
"danger-strong-hover": "danger-surface-strong-hover",
|
|
151
150
|
"danger-weak": "danger-surface-weak",
|
|
152
|
-
"danger-
|
|
151
|
+
"danger-weak-hover": "danger-surface-weak-hover",
|
|
152
|
+
"danger-weak-press": "danger-surface-weak-press",
|
|
153
|
+
"neutral-active": "neutral-surface-active",
|
|
154
|
+
"neutral-weak-active": "neutral-surface-weak-active",
|
|
155
|
+
"neutral": "neutral-surface",
|
|
156
|
+
"neutral-selected": "neutral-surface-selected",
|
|
157
|
+
"neutral-disabled": "neutral-surface-disabled",
|
|
158
|
+
"neutral-hover": "neutral-surface-hover",
|
|
159
|
+
"neutral-press": "neutral-surface-press",
|
|
160
|
+
"neutral-strong": "neutral-surface-strong",
|
|
161
|
+
"neutral-weak": "neutral-surface-weak",
|
|
162
|
+
"neutral-weak-selected": "neutral-surface-weak-selected",
|
|
163
|
+
"neutral-weak-hover": "neutral-surface-weak-hover",
|
|
164
|
+
"neutral-weak-press": "neutral-surface-weak-press",
|
|
165
|
+
"neutral-weakest": "neutral-surface-weakest",
|
|
166
|
+
"neutral-weakest-selected": "neutral-surface-weakest-selected",
|
|
167
|
+
"neutral-weakest-hover": "neutral-surface-weakest-hover",
|
|
168
|
+
"primary-active": "primary-surface-active",
|
|
169
|
+
"primary-strong-active": "primary-surface-strong-active",
|
|
170
|
+
"primary-weak-active": "primary-surface-weak-active",
|
|
171
|
+
"primary": "primary-surface",
|
|
172
|
+
"primary-selected": "primary-surface-selected",
|
|
153
173
|
"primary-disabled": "primary-surface-disabled",
|
|
154
174
|
"primary-focus": "primary-surface-focus",
|
|
155
|
-
"primary": "primary-surface",
|
|
156
|
-
"primary-
|
|
175
|
+
"primary-hover": "primary-surface-hover",
|
|
176
|
+
"primary-press": "primary-surface-press",
|
|
157
177
|
"primary-strong": "primary-surface-strong",
|
|
158
|
-
"primary-strong-
|
|
178
|
+
"primary-strong-selected": "primary-surface-strong-selected",
|
|
159
179
|
"primary-strong-hover": "primary-surface-strong-hover",
|
|
160
|
-
"primary-
|
|
161
|
-
"primary-
|
|
180
|
+
"primary-strong-press": "primary-surface-strong-press",
|
|
181
|
+
"primary-weak": "primary-surface-weak",
|
|
182
|
+
"primary-weak-hover": "primary-surface-weak-hover",
|
|
183
|
+
"primary-weak-press": "primary-surface-weak-press",
|
|
184
|
+
"upsell-active": "upsell-surface-active",
|
|
185
|
+
"upsell-weak-active": "upsell-surface-weak-active",
|
|
186
|
+
"upsell": "upsell-surface",
|
|
187
|
+
"upsell-selected": "upsell-surface-selected",
|
|
188
|
+
"upsell-disabled": "upsell-surface-disabled",
|
|
189
|
+
"upsell-hover": "upsell-surface-hover",
|
|
190
|
+
"upsell-press": "upsell-surface-press",
|
|
191
|
+
"upsell-weak": "upsell-surface-weak",
|
|
192
|
+
"upsell-weak-hover": "upsell-surface-weak-hover",
|
|
193
|
+
"upsell-weak-press": "upsell-surface-weak-press",
|
|
162
194
|
"decorative-option9": "decorative-option9-surface",
|
|
163
|
-
"decorative-option9-strong": "decorative-option9-surface-strong",
|
|
164
195
|
"decorative-option9-hover": "decorative-option9-surface-hover",
|
|
196
|
+
"decorative-option9-strong": "decorative-option9-surface-strong",
|
|
165
197
|
"decorative-option9-weak": "decorative-option9-surface-weak",
|
|
166
198
|
"decorative-option9-weak-hover": "decorative-option9-surface-weak-hover",
|
|
167
199
|
"decorative-option9-weakest": "decorative-option9-surface-weakest",
|
|
168
|
-
"decorative-option8
|
|
169
|
-
"decorative-option8-weak": "decorative-option8-surface-weak",
|
|
170
|
-
"decorative-option8-weak-hover": "decorative-option8-surface-weak-hover",
|
|
200
|
+
"decorative-option8": "decorative-option8-surface",
|
|
171
201
|
"decorative-option8-hover": "decorative-option8-surface-hover",
|
|
172
202
|
"decorative-option8-strong": "decorative-option8-surface-strong",
|
|
173
|
-
"decorative-option8": "decorative-option8-surface",
|
|
174
|
-
"decorative-
|
|
203
|
+
"decorative-option8-weak": "decorative-option8-surface-weak",
|
|
204
|
+
"decorative-option8-weak-hover": "decorative-option8-surface-weak-hover",
|
|
205
|
+
"decorative-option8-weakest": "decorative-option8-surface-weakest",
|
|
206
|
+
"decorative-option7": "decorative-option7-surface",
|
|
207
|
+
"decorative-option7-hover": "decorative-option7-surface-hover",
|
|
208
|
+
"decorative-option7-strong": "decorative-option7-surface-strong",
|
|
175
209
|
"decorative-option7-weak": "decorative-option7-surface-weak",
|
|
176
210
|
"decorative-option7-weak-hover": "decorative-option7-surface-weak-hover",
|
|
177
|
-
"decorative-option7-
|
|
178
|
-
"decorative-option7-hover": "decorative-option7-surface-hover",
|
|
179
|
-
"decorative-option7": "decorative-option7-surface",
|
|
180
|
-
"decorative-option5-weakest": "decorative-option5-surface-weakest",
|
|
181
|
-
"decorative-option5-weak": "decorative-option5-surface-weak",
|
|
182
|
-
"decorative-option5-strong": "decorative-option5-surface-strong",
|
|
183
|
-
"decorative-option5-hover": "decorative-option5-surface-hover",
|
|
211
|
+
"decorative-option7-weakest": "decorative-option7-surface-weakest",
|
|
184
212
|
"decorative-option5": "decorative-option5-surface",
|
|
185
|
-
"decorative-
|
|
186
|
-
"decorative-
|
|
187
|
-
"decorative-
|
|
213
|
+
"decorative-option5-hover": "decorative-option5-surface-hover",
|
|
214
|
+
"decorative-option5-strong": "decorative-option5-surface-strong",
|
|
215
|
+
"decorative-option5-weak": "decorative-option5-surface-weak",
|
|
216
|
+
"decorative-option5-weak-hover": "decorative-option5-surface-weak-hover",
|
|
217
|
+
"decorative-option5-weakest": "decorative-option5-surface-weakest",
|
|
218
|
+
"decorative-option6": "decorative-option6-surface",
|
|
188
219
|
"decorative-option6-hover": "decorative-option6-surface-hover",
|
|
189
220
|
"decorative-option6-strong": "decorative-option6-surface-strong",
|
|
190
|
-
"decorative-option6": "decorative-option6-surface",
|
|
191
|
-
"decorative-
|
|
221
|
+
"decorative-option6-weak": "decorative-option6-surface-weak",
|
|
222
|
+
"decorative-option6-weak-hover": "decorative-option6-surface-weak-hover",
|
|
223
|
+
"decorative-option6-weakest": "decorative-option6-surface-weakest",
|
|
224
|
+
"decorative-option4": "decorative-option4-surface",
|
|
225
|
+
"decorative-option4-hover": "decorative-option4-surface-hover",
|
|
226
|
+
"decorative-option4-strong": "decorative-option4-surface-strong",
|
|
192
227
|
"decorative-option4-weak": "decorative-option4-surface-weak",
|
|
193
228
|
"decorative-option4-weak-hover": "decorative-option4-surface-weak-hover",
|
|
194
|
-
"decorative-option4-
|
|
195
|
-
"decorative-
|
|
196
|
-
"decorative-
|
|
229
|
+
"decorative-option4-weakest": "decorative-option4-surface-weakest",
|
|
230
|
+
"decorative-option3": "decorative-option3-surface",
|
|
231
|
+
"decorative-option3-hover": "decorative-option3-surface-hover",
|
|
232
|
+
"decorative-option3-strong": "decorative-option3-surface-strong",
|
|
197
233
|
"decorative-option3-weak": "decorative-option3-surface-weak",
|
|
198
234
|
"decorative-option3-weak-hover": "decorative-option3-surface-weak-hover",
|
|
199
235
|
"decorative-option3-weakest": "decorative-option3-surface-weakest",
|
|
200
|
-
"decorative-option3-strong": "decorative-option3-surface-strong",
|
|
201
|
-
"decorative-option3-hover": "decorative-option3-surface-hover",
|
|
202
|
-
"decorative-option3": "decorative-option3-surface",
|
|
203
|
-
"decorative-option2-weakest": "decorative-option2-surface-weakest",
|
|
204
|
-
"decorative-option2-weak": "decorative-option2-surface-weak",
|
|
205
|
-
"decorative-option2-weak-hover": "decorative-option2-surface-weak-hover",
|
|
206
|
-
"decorative-option2-strong": "decorative-option2-surface-strong",
|
|
207
236
|
"decorative-option2": "decorative-option2-surface",
|
|
208
237
|
"decorative-option2-hover": "decorative-option2-surface-hover",
|
|
238
|
+
"decorative-option2-strong": "decorative-option2-surface-strong",
|
|
239
|
+
"decorative-option2-weak": "decorative-option2-surface-weak",
|
|
240
|
+
"decorative-option2-weak-hover": "decorative-option2-surface-weak-hover",
|
|
241
|
+
"decorative-option2-weakest": "decorative-option2-surface-weakest",
|
|
242
|
+
"decorative-option1": "decorative-option1-surface",
|
|
243
|
+
"decorative-option1-hover": "decorative-option1-surface-hover",
|
|
244
|
+
"decorative-option1-strong": "decorative-option1-surface-strong",
|
|
209
245
|
"decorative-option1-weak": "decorative-option1-surface-weak",
|
|
210
246
|
"decorative-option1-weak-hover": "decorative-option1-surface-weak-hover",
|
|
211
247
|
"decorative-option1-weakest": "decorative-option1-surface-weakest",
|
|
212
|
-
"decorative-option1-strong": "decorative-option1-surface-strong",
|
|
213
|
-
"decorative-option1-hover": "decorative-option1-surface-hover",
|
|
214
|
-
"decorative-option1": "decorative-option1-surface",
|
|
215
|
-
"neutral-weakest-active": "neutral-surface-weakest-active",
|
|
216
|
-
"neutral-weakest-hover": "neutral-surface-weakest-hover",
|
|
217
|
-
"neutral-disabled": "neutral-surface-disabled",
|
|
218
|
-
"neutral-active": "neutral-surface-active",
|
|
219
|
-
"neutral-weak": "neutral-surface-weak",
|
|
220
|
-
"neutral": "neutral-surface",
|
|
221
|
-
"neutral-strong": "neutral-surface-strong",
|
|
222
|
-
"neutral-hover": "neutral-surface-hover",
|
|
223
|
-
"neutral-weak-hover": "neutral-surface-weak-hover",
|
|
224
|
-
"neutral-weak-active": "neutral-surface-weak-active",
|
|
225
|
-
"neutral-weakest": "neutral-surface-weakest",
|
|
226
|
-
"warning": "warning-surface",
|
|
227
|
-
"warning-strong": "warning-surface-strong",
|
|
228
|
-
"warning-weak": "warning-surface-weak",
|
|
229
|
-
"success": "success-surface",
|
|
230
|
-
"success-strong": "success-surface-strong",
|
|
231
|
-
"success-weak": "success-surface-weak",
|
|
232
|
-
"information-strong": "information-surface-strong",
|
|
233
248
|
"information": "information-surface",
|
|
249
|
+
"information-strong": "information-surface-strong",
|
|
234
250
|
"information-weak": "information-surface-weak",
|
|
235
|
-
"status-
|
|
251
|
+
"status-caution-strong": "status-caution-surface-strong",
|
|
252
|
+
"status-caution": "status-caution-surface",
|
|
253
|
+
"status-inactive-strong": "status-inactive-surface-strong",
|
|
254
|
+
"status-inactive": "status-inactive-surface",
|
|
255
|
+
"status-negative-strong": "status-negative-surface-strong",
|
|
256
|
+
"status-negative": "status-negative-surface",
|
|
236
257
|
"status-neutral": "status-neutral-surface",
|
|
237
|
-
"status-
|
|
238
|
-
"status-progress": "status-progress-surface",
|
|
239
|
-
"status-option6-strong": "status-option6-surface-strong",
|
|
240
|
-
"status-option6": "status-option6-surface",
|
|
241
|
-
"status-option5-strong": "status-option5-surface-strong",
|
|
242
|
-
"status-option5": "status-option5-surface",
|
|
258
|
+
"status-neutral-strong": "status-neutral-surface-strong",
|
|
243
259
|
"status-option1-strong": "status-option1-surface-strong",
|
|
244
260
|
"status-option1": "status-option1-surface",
|
|
245
261
|
"status-option2-strong": "status-option2-surface-strong",
|
|
@@ -248,96 +264,146 @@ var BackgroundColors = {
|
|
|
248
264
|
"status-option3": "status-option3-surface",
|
|
249
265
|
"status-option4-strong": "status-option4-surface-strong",
|
|
250
266
|
"status-option4": "status-option4-surface",
|
|
251
|
-
"status-
|
|
252
|
-
"status-
|
|
253
|
-
"status-
|
|
254
|
-
"status-
|
|
255
|
-
"status-inactive-strong": "status-inactive-surface-strong",
|
|
256
|
-
"status-inactive": "status-inactive-surface",
|
|
267
|
+
"status-option5": "status-option5-surface",
|
|
268
|
+
"status-option5-strong": "status-option5-surface-strong",
|
|
269
|
+
"status-option6": "status-option6-surface",
|
|
270
|
+
"status-option6-strong": "status-option6-surface-strong",
|
|
257
271
|
"status-positive-strong": "status-positive-surface-strong",
|
|
258
|
-
"status-positive": "status-positive-surface"
|
|
272
|
+
"status-positive": "status-positive-surface",
|
|
273
|
+
"status-progress": "status-progress-surface",
|
|
274
|
+
"status-progress-strong": "status-progress-surface-strong",
|
|
275
|
+
"success": "success-surface",
|
|
276
|
+
"success-strong": "success-surface-strong",
|
|
277
|
+
"success-weak": "success-surface-weak",
|
|
278
|
+
"warning": "warning-surface",
|
|
279
|
+
"warning-strong": "warning-surface-strong",
|
|
280
|
+
"warning-weak": "warning-surface-weak"
|
|
259
281
|
};
|
|
260
282
|
var TextColors = {
|
|
261
|
-
"upsell-active": "upsell-text-active",
|
|
262
|
-
"upsell": "upsell-text",
|
|
263
|
-
"upsell-hover": "upsell-text-hover",
|
|
264
|
-
"upsell-disabled": "upsell-text-disabled",
|
|
265
283
|
"danger-active": "danger-text-active",
|
|
266
|
-
"danger-
|
|
284
|
+
"danger-weak-active": "danger-text-weak-active",
|
|
267
285
|
"danger": "danger-text",
|
|
268
|
-
"danger-
|
|
286
|
+
"danger-selected": "danger-text-selected",
|
|
287
|
+
"danger-disabled": "danger-text-disabled",
|
|
288
|
+
"danger-hover": "danger-text-hover",
|
|
289
|
+
"danger-press": "danger-text-press",
|
|
269
290
|
"danger-strong": "danger-text-strong",
|
|
270
291
|
"danger-strong-hover": "danger-text-strong-hover",
|
|
271
|
-
"danger-
|
|
292
|
+
"danger-weak": "danger-text-weak",
|
|
293
|
+
"danger-weak-hover": "danger-text-weak-hover",
|
|
294
|
+
"danger-weak-press": "danger-text-weak-press",
|
|
295
|
+
"neutral-active": "neutral-text-active",
|
|
296
|
+
"neutral-weak-active": "neutral-text-weak-active",
|
|
297
|
+
"neutral": "neutral-text",
|
|
298
|
+
"neutral-selected": "neutral-text-selected",
|
|
299
|
+
"neutral-disabled": "neutral-text-disabled",
|
|
300
|
+
"neutral-hover": "neutral-text-hover",
|
|
301
|
+
"neutral-press": "neutral-text-press",
|
|
302
|
+
"neutral-strong": "neutral-text-strong",
|
|
303
|
+
"neutral-weak": "neutral-text-weak",
|
|
304
|
+
"neutral-weak-hover": "neutral-text-weak-hover",
|
|
305
|
+
"neutral-weak-press": "neutral-text-weak-press",
|
|
306
|
+
"neutral-weakest": "neutral-text-weakest",
|
|
272
307
|
"primary-active": "primary-text-active",
|
|
273
|
-
"primary-disabled": "primary-text-disabled",
|
|
274
308
|
"primary": "primary-text",
|
|
309
|
+
"primary-selected": "primary-text-selected",
|
|
310
|
+
"primary-disabled": "primary-text-disabled",
|
|
311
|
+
"primary-hover": "primary-text-hover",
|
|
312
|
+
"primary-press": "primary-text-press",
|
|
275
313
|
"primary-strong": "primary-text-strong",
|
|
276
314
|
"primary-strong-hover": "primary-text-strong-hover",
|
|
277
|
-
"
|
|
315
|
+
"upsell-active": "upsell-text-active",
|
|
316
|
+
"upsell-weak-active": "upsell-text-weak-active",
|
|
317
|
+
"upsell": "upsell-text",
|
|
318
|
+
"upsell-selected": "upsell-text-selected",
|
|
319
|
+
"upsell-disabled": "upsell-text-disabled",
|
|
320
|
+
"upsell-hover": "upsell-text-hover",
|
|
321
|
+
"upsell-press": "upsell-text-press",
|
|
322
|
+
"upsell-weak": "upsell-text-weak",
|
|
323
|
+
"upsell-weak-hover": "upsell-text-weak-hover",
|
|
324
|
+
"upsell-weak-press": "upsell-text-weak-press",
|
|
278
325
|
"decorative-option9": "decorative-option9-text",
|
|
279
326
|
"decorative-option9-weak": "decorative-option9-text-weak",
|
|
280
|
-
"decorative-option8-weak": "decorative-option8-text-weak",
|
|
281
327
|
"decorative-option8": "decorative-option8-text",
|
|
282
|
-
"decorative-
|
|
328
|
+
"decorative-option8-weak": "decorative-option8-text-weak",
|
|
283
329
|
"decorative-option7": "decorative-option7-text",
|
|
284
|
-
"decorative-
|
|
330
|
+
"decorative-option7-weak": "decorative-option7-text-weak",
|
|
285
331
|
"decorative-option5": "decorative-option5-text",
|
|
332
|
+
"decorative-option5-weak": "decorative-option5-text-weak",
|
|
286
333
|
"decorative-option6": "decorative-option6-text",
|
|
287
334
|
"decorative-option6-weak": "decorative-option6-text-weak",
|
|
288
|
-
"decorative-option4-weak": "decorative-option4-text-weak",
|
|
289
335
|
"decorative-option4": "decorative-option4-text",
|
|
336
|
+
"decorative-option4-weak": "decorative-option4-text-weak",
|
|
290
337
|
"decorative-option3": "decorative-option3-text",
|
|
291
338
|
"decorative-option3-weak": "decorative-option3-text-weak",
|
|
292
339
|
"decorative-option2": "decorative-option2-text",
|
|
293
340
|
"decorative-option2-weak": "decorative-option2-text-weak",
|
|
294
|
-
"decorative-option1-weak": "decorative-option1-text-weak",
|
|
295
341
|
"decorative-option1": "decorative-option1-text",
|
|
296
|
-
"
|
|
297
|
-
"neutral-weak": "neutral-text-weak",
|
|
298
|
-
"neutral-disabled": "neutral-text-disabled",
|
|
299
|
-
"neutral-active": "neutral-text-active",
|
|
300
|
-
"neutral-strong": "neutral-text-strong",
|
|
301
|
-
"neutral": "neutral-text",
|
|
302
|
-
"neutral-weakest": "neutral-text-weakest",
|
|
303
|
-
"warning-weak": "warning-text-weak",
|
|
304
|
-
"warning": "warning-text",
|
|
305
|
-
"success-weak": "success-text-weak",
|
|
306
|
-
"success-hover": "success-text-hover",
|
|
307
|
-
"success": "success-text",
|
|
342
|
+
"decorative-option1-weak": "decorative-option1-text-weak",
|
|
308
343
|
"information": "information-text",
|
|
309
344
|
"information-weak": "information-text-weak",
|
|
345
|
+
"status-caution": "status-caution-text",
|
|
346
|
+
"status-inactive": "status-inactive-text",
|
|
347
|
+
"status-negative": "status-negative-text",
|
|
310
348
|
"status-neutral": "status-neutral-text",
|
|
311
|
-
"status-progress": "status-progress-text",
|
|
312
|
-
"status-option6": "status-option6-text",
|
|
313
|
-
"status-option5": "status-option5-text",
|
|
314
349
|
"status-option1": "status-option1-text",
|
|
315
350
|
"status-option2": "status-option2-text",
|
|
316
351
|
"status-option3": "status-option3-text",
|
|
317
352
|
"status-option4": "status-option4-text",
|
|
318
|
-
"status-
|
|
319
|
-
"status-
|
|
320
|
-
"status-
|
|
321
|
-
"status-
|
|
353
|
+
"status-option5": "status-option5-text",
|
|
354
|
+
"status-option6": "status-option6-text",
|
|
355
|
+
"status-positive": "status-positive-text",
|
|
356
|
+
"status-progress": "status-progress-text",
|
|
357
|
+
"success": "success-text",
|
|
358
|
+
"success-hover": "success-text-hover",
|
|
359
|
+
"success-weak": "success-text-weak",
|
|
360
|
+
"warning": "warning-text",
|
|
361
|
+
"warning-weak": "warning-text-weak"
|
|
322
362
|
};
|
|
323
363
|
var IconColors = {
|
|
324
|
-
"upsell-weakest": "upsell-icon-weakest",
|
|
325
|
-
"upsell-weak": "upsell-icon-weak",
|
|
326
|
-
"upsell-active": "upsell-icon-active",
|
|
327
|
-
"upsell": "upsell-icon",
|
|
328
364
|
"danger-active": "danger-icon-active",
|
|
365
|
+
"danger-weak-active": "danger-icon-weak-active",
|
|
329
366
|
"danger": "danger-icon",
|
|
330
|
-
"danger-
|
|
367
|
+
"danger-selected": "danger-icon-selected",
|
|
368
|
+
"danger-disabled": "danger-icon-disabled",
|
|
369
|
+
"danger-hover": "danger-icon-hover",
|
|
370
|
+
"danger-press": "danger-icon-press",
|
|
331
371
|
"danger-strong": "danger-icon-strong",
|
|
332
372
|
"danger-strong-hover": "danger-icon-strong-hover",
|
|
333
|
-
"danger-
|
|
334
|
-
"danger-
|
|
373
|
+
"danger-weak": "danger-icon-weak",
|
|
374
|
+
"danger-weak-hover": "danger-icon-weak-hover",
|
|
375
|
+
"danger-weak-press": "danger-icon-weak-press",
|
|
376
|
+
"neutral-active": "neutral-icon-active",
|
|
377
|
+
"neutral-weak-active": "neutral-icon-weak-active",
|
|
378
|
+
"neutral": "neutral-icon",
|
|
379
|
+
"neutral-selected": "neutral-icon-selected",
|
|
380
|
+
"neutral-disabled": "neutral-icon-disabled",
|
|
381
|
+
"neutral-hover": "neutral-icon-hover",
|
|
382
|
+
"neutral-press": "neutral-icon-press",
|
|
383
|
+
"neutral-strong": "neutral-icon-strong",
|
|
384
|
+
"neutral-strong-hover": "neutral-icon-strong-hover",
|
|
385
|
+
"neutral-weak": "neutral-icon-weak",
|
|
386
|
+
"neutral-weak-hover": "neutral-icon-weak-hover",
|
|
387
|
+
"neutral-weak-press": "neutral-icon-weak-press",
|
|
388
|
+
"neutral-weakest": "neutral-icon-weakest",
|
|
335
389
|
"primary-active": "primary-icon-active",
|
|
336
|
-
"primary-strong": "primary-icon-strong",
|
|
337
|
-
"primary-strong-hover": "primary-icon-strong-hover",
|
|
338
390
|
"primary": "primary-icon",
|
|
339
|
-
"primary-
|
|
391
|
+
"primary-selected": "primary-icon-selected",
|
|
340
392
|
"primary-disabled": "primary-icon-disabled",
|
|
393
|
+
"primary-hover": "primary-icon-hover",
|
|
394
|
+
"primary-press": "primary-icon-press",
|
|
395
|
+
"primary-strong": "primary-icon-strong",
|
|
396
|
+
"primary-strong-hover": "primary-icon-strong-hover",
|
|
397
|
+
"upsell-active": "upsell-icon-active",
|
|
398
|
+
"upsell-weak-active": "upsell-icon-weak-active",
|
|
399
|
+
"upsell": "upsell-icon",
|
|
400
|
+
"upsell-selected": "upsell-icon-selected",
|
|
401
|
+
"upsell-hover": "upsell-icon-hover",
|
|
402
|
+
"upsell-press": "upsell-icon-press",
|
|
403
|
+
"upsell-weakest": "upsell-icon-weakest",
|
|
404
|
+
"upsell-weak": "upsell-icon-weak",
|
|
405
|
+
"upsell-weak-hover": "upsell-icon-weak-hover",
|
|
406
|
+
"upsell-weak-press": "upsell-icon-weak-press",
|
|
341
407
|
"decorative-option9": "decorative-option9-icon",
|
|
342
408
|
"decorative-option8": "decorative-option8-icon",
|
|
343
409
|
"decorative-option7": "decorative-option7-icon",
|
|
@@ -347,46 +413,54 @@ var IconColors = {
|
|
|
347
413
|
"decorative-option3": "decorative-option3-icon",
|
|
348
414
|
"decorative-option2": "decorative-option2-icon",
|
|
349
415
|
"decorative-option1": "decorative-option1-icon",
|
|
350
|
-
"
|
|
351
|
-
"neutral": "neutral-icon",
|
|
352
|
-
"neutral-weak": "neutral-icon-weak",
|
|
353
|
-
"neutral-weak-hover": "neutral-icon-weak-hover",
|
|
354
|
-
"neutral-weakest": "neutral-icon-weakest",
|
|
355
|
-
"neutral-strong": "neutral-icon-strong",
|
|
356
|
-
"neutral-hover": "neutral-icon-hover",
|
|
357
|
-
"neutral-active": "neutral-icon-active",
|
|
358
|
-
"warning-weakest": "warning-icon-weakest",
|
|
359
|
-
"warning-weak": "warning-icon-weak",
|
|
360
|
-
"warning": "warning-icon",
|
|
361
|
-
"success-weak": "success-icon-weak",
|
|
362
|
-
"success-weakest": "success-icon-weakest",
|
|
363
|
-
"success": "success-icon",
|
|
416
|
+
"information": "information-icon",
|
|
364
417
|
"information-weakest": "information-icon-weakest",
|
|
365
418
|
"information-weak": "information-icon-weak",
|
|
366
|
-
"
|
|
419
|
+
"status-caution": "status-caution-icon",
|
|
420
|
+
"status-inactive": "status-inactive-icon",
|
|
421
|
+
"status-negative": "status-negative-icon",
|
|
367
422
|
"status-neutral": "status-neutral-icon",
|
|
368
|
-
"status-progress": "status-progress-icon",
|
|
369
|
-
"status-option6": "status-option6-icon",
|
|
370
|
-
"status-option5": "status-option5-icon",
|
|
371
423
|
"status-option1": "status-option1-icon",
|
|
372
424
|
"status-option2": "status-option2-icon",
|
|
373
425
|
"status-option3": "status-option3-icon",
|
|
374
426
|
"status-option4": "status-option4-icon",
|
|
375
|
-
"status-
|
|
376
|
-
"status-
|
|
377
|
-
"status-
|
|
378
|
-
"status-
|
|
427
|
+
"status-option5": "status-option5-icon",
|
|
428
|
+
"status-option6": "status-option6-icon",
|
|
429
|
+
"status-positive": "status-positive-icon",
|
|
430
|
+
"status-progress": "status-progress-icon",
|
|
431
|
+
"success": "success-icon",
|
|
432
|
+
"success-weakest": "success-icon-weakest",
|
|
433
|
+
"success-weak": "success-icon-weak",
|
|
434
|
+
"warning": "warning-icon",
|
|
435
|
+
"warning-weakest": "warning-icon-weakest",
|
|
436
|
+
"warning-weak": "warning-icon-weak"
|
|
379
437
|
};
|
|
380
438
|
var BorderColors = {
|
|
381
|
-
"upsell-active": "upsell-border-active",
|
|
382
|
-
"upsell": "upsell-border",
|
|
383
|
-
"upsell-disabled": "upsell-border-disabled",
|
|
384
439
|
"danger-active": "danger-border-active",
|
|
385
|
-
"danger-strong": "danger-border-strong",
|
|
386
440
|
"danger": "danger-border",
|
|
441
|
+
"danger-selected": "danger-border-selected",
|
|
442
|
+
"danger-strong": "danger-border-strong",
|
|
443
|
+
"danger-press": "danger-border-press",
|
|
444
|
+
"neutral-active": "neutral-border-active",
|
|
445
|
+
"neutral": "neutral-border",
|
|
446
|
+
"neutral-selected": "neutral-border-selected",
|
|
447
|
+
"neutral-disabled": "neutral-border-disabled",
|
|
448
|
+
"neutral-hover": "neutral-border-hover",
|
|
449
|
+
"neutral-press": "neutral-border-press",
|
|
450
|
+
"neutral-strong": "neutral-border-strong",
|
|
451
|
+
"neutral-strong-hover": "neutral-border-strong-hover",
|
|
452
|
+
"neutral-weak": "neutral-border-weak",
|
|
453
|
+
"neutral-weakest": "neutral-border-weakest",
|
|
387
454
|
"primary-active": "primary-border-active",
|
|
388
|
-
"primary-focus": "primary-border-focus",
|
|
389
455
|
"primary": "primary-border",
|
|
456
|
+
"primary-selected": "primary-border-selected",
|
|
457
|
+
"primary-focus": "primary-border-focus",
|
|
458
|
+
"primary-press": "primary-border-press",
|
|
459
|
+
"upsell-active": "upsell-border-active",
|
|
460
|
+
"upsell": "upsell-border",
|
|
461
|
+
"upsell-selected": "upsell-border-selected",
|
|
462
|
+
"upsell-disabled": "upsell-border-disabled",
|
|
463
|
+
"upsell-press": "upsell-border-press",
|
|
390
464
|
"decorative-option9": "decorative-option9-border",
|
|
391
465
|
"decorative-option8": "decorative-option8-border",
|
|
392
466
|
"decorative-option7": "decorative-option7-border",
|
|
@@ -396,17 +470,9 @@ var BorderColors = {
|
|
|
396
470
|
"decorative-option3": "decorative-option3-border",
|
|
397
471
|
"decorative-option2": "decorative-option2-border",
|
|
398
472
|
"decorative-option1": "decorative-option1-border",
|
|
399
|
-
"
|
|
400
|
-
"neutral-strong-hover": "neutral-border-strong-hover",
|
|
401
|
-
"neutral-strong": "neutral-border-strong",
|
|
402
|
-
"neutral": "neutral-border",
|
|
403
|
-
"neutral-weak": "neutral-border-weak",
|
|
404
|
-
"neutral-hover": "neutral-border-hover",
|
|
405
|
-
"neutral-active": "neutral-border-active",
|
|
406
|
-
"neutral-weakest": "neutral-border-weakest",
|
|
407
|
-
"warning": "warning-border",
|
|
473
|
+
"information": "information-border",
|
|
408
474
|
"success": "success-border",
|
|
409
|
-
"
|
|
475
|
+
"warning": "warning-border"
|
|
410
476
|
};
|
|
411
477
|
var DataVizColors = {
|
|
412
478
|
"dataviz_monochromatic-primary-25": "dataviz-monochromatic-primary-25",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BreakpointContext } from './chunk-VBKLISDI.js';
|
|
2
2
|
import { Breakpoints } from './chunk-XUHDFZZL.js';
|
|
3
|
-
import { supportsMatchMedia } from './chunk-
|
|
4
|
-
import { useCallback, useState, useEffect } from 'react';
|
|
3
|
+
import { supportsMatchMedia } from './chunk-T6JS7L6B.js';
|
|
5
4
|
import { useIsSSR } from '@react-aria/ssr';
|
|
5
|
+
import { useCallback, useState, useEffect } from 'react';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var DefaultUnsupportedMatchMediaBreakpoint = "lg";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { BodyStyleProvider } from './chunk-
|
|
2
|
-
import { Div } from './chunk-
|
|
3
|
-
import { BreakpointProvider, DefaultUnsupportedMatchMediaBreakpoint } from './chunk-
|
|
4
|
-
import { TokenProvider } from './chunk-
|
|
5
|
-
import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-
|
|
6
|
-
import { useColorScheme } from './chunk-
|
|
1
|
+
import { BodyStyleProvider } from './chunk-VTGIKL3T.js';
|
|
2
|
+
import { Div } from './chunk-6KT6K6NI.js';
|
|
3
|
+
import { BreakpointProvider, DefaultUnsupportedMatchMediaBreakpoint } from './chunk-GXUFWEP5.js';
|
|
4
|
+
import { TokenProvider } from './chunk-BUQLB5H6.js';
|
|
5
|
+
import { HopperRootCssClass, StyledSystemRootCssClass } from './chunk-3KPNXG7H.js';
|
|
6
|
+
import { useColorScheme } from './chunk-5U5IRAPA.js';
|
|
7
7
|
import { ColorSchemeContext } from './chunk-V7X6ANEM.js';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import { forwardRef, useState, useCallback } from 'react';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useStyledSystem } from './chunk-
|
|
1
|
+
import { useStyledSystem } from './chunk-KQGCMT5E.js';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
// css-module:./htmlElement.module.css#css-module
|
|
7
|
-
var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-
|
|
7
|
+
var htmlElement_module_default = { "hop-HtmlElement": "htmlElement-module__hop-HtmlElement___jov6a" };
|
|
8
8
|
var GlobalHtmlElementCssSelector = "hop-HtmlElement";
|
|
9
9
|
var GlobalHtmlElementSpecificCssSelector = (elementType) => `${GlobalHtmlElementCssSelector}-${elementType}`;
|
|
10
10
|
function htmlElement(elementType) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, SizingMapping, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-
|
|
1
|
+
import { parseResponsiveSystemValue, ColorExpressionTypes, DefaultBorderWidthAndStyle, SizingMapping, BackgroundColorMapping, BorderMapping, BorderRadiusMapping, BoxShadowMapping, TextColorMapping, SimpleMarginMapping, IconColorMapping, FontFamilyMapping, FontSizeMapping, FontWeightMapping, LineHeightMapping, ComplexMarginMapping, ComplexPaddingMapping, SimplePaddingMapping } from './chunk-NJIDLCB7.js';
|
|
2
2
|
import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
|
|
3
3
|
import { useBreakpointContext } from './chunk-VBKLISDI.js';
|
|
4
4
|
import { isNil } from './chunk-U5R6ZXH3.js';
|
|
5
5
|
import { UnsafePrefix } from './chunk-QMDDVBCZ.js';
|
|
6
|
-
import { __privateAdd, __publicField, __privateSet, __privateGet } from './chunk-
|
|
6
|
+
import { __privateAdd, __publicField, __privateSet, __privateGet } from './chunk-2UOTJGT6.js';
|
|
7
7
|
|
|
8
8
|
// css-module:./UseStyledSystem.module.css#css-module
|
|
9
|
-
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-
|
|
9
|
+
var UseStyledSystem_module_default = { "hop-b-hover": "UseStyledSystem-module__hop-b-hover___7beCa", "hop-bb-hover": "UseStyledSystem-module__hop-bb-hover___sjc-o", "hop-bl-hover": "UseStyledSystem-module__hop-bl-hover___kLkuA", "hop-br-hover": "UseStyledSystem-module__hop-br-hover___K-EIQ", "hop-bt-hover": "UseStyledSystem-module__hop-bt-hover___oRCTK", "hop-b-focus": "UseStyledSystem-module__hop-b-focus___EJlgQ", "hop-bb-focus": "UseStyledSystem-module__hop-bb-focus___it6DZ", "hop-bl-focus": "UseStyledSystem-module__hop-bl-focus___N5Da-", "hop-br-focus": "UseStyledSystem-module__hop-br-focus___jbce-", "hop-bt-focus": "UseStyledSystem-module__hop-bt-focus___YZI-l", "hop-b-active": "UseStyledSystem-module__hop-b-active___E5jrv", "hop-bb-active": "UseStyledSystem-module__hop-bb-active___-nDNr", "hop-bl-active": "UseStyledSystem-module__hop-bl-active___y7kuR", "hop-br-active": "UseStyledSystem-module__hop-br-active___MWItF", "hop-bt-active": "UseStyledSystem-module__hop-bt-active___SpvZl", "hop-bg-hover": "UseStyledSystem-module__hop-bg-hover___NzrYM", "hop-bg-focus": "UseStyledSystem-module__hop-bg-focus___yNcFv", "hop-bg-active": "UseStyledSystem-module__hop-bg-active___0jxjX", "hop-bs-hover": "UseStyledSystem-module__hop-bs-hover___JyGqG", "hop-bs-focus": "UseStyledSystem-module__hop-bs-focus___msxJy", "hop-bs-active": "UseStyledSystem-module__hop-bs-active___qBFjv", "hop-c-hover": "UseStyledSystem-module__hop-c-hover___Y8hIV", "hop-c-focus": "UseStyledSystem-module__hop-c-focus___FafgY", "hop-c-active": "UseStyledSystem-module__hop-c-active___A2lPI", "hop-cs-hover": "UseStyledSystem-module__hop-cs-hover___oMtJX", "hop-f-hover": "UseStyledSystem-module__hop-f-hover___oRByO", "hop-f-focus": "UseStyledSystem-module__hop-f-focus___JrRbQ", "hop-o-hover": "UseStyledSystem-module__hop-o-hover___s67Ok", "hop-o-focus": "UseStyledSystem-module__hop-o-focus___pd95u", "hop-o-active": "UseStyledSystem-module__hop-o-active___HqbZe", "hop-ol-focus": "UseStyledSystem-module__hop-ol-focus___OajYd" };
|
|
10
10
|
|
|
11
11
|
// src/useStyledSystem.ts
|
|
12
12
|
function createSystemValueHandler(systemValues) {
|
|
@@ -257,8 +257,8 @@ function isStyledSystemProp(name) {
|
|
|
257
257
|
var _classes, _style;
|
|
258
258
|
var StylingContext = class {
|
|
259
259
|
constructor(className, style, matchedBreakpoints) {
|
|
260
|
-
__privateAdd(this, _classes
|
|
261
|
-
__privateAdd(this, _style
|
|
260
|
+
__privateAdd(this, _classes);
|
|
261
|
+
__privateAdd(this, _style);
|
|
262
262
|
__publicField(this, "matchedBreakpoints");
|
|
263
263
|
__privateSet(this, _classes, !isNil(className) ? [className] : []);
|
|
264
264
|
__privateSet(this, _style, { ...style != null ? style : {} });
|