@hopper-ui/styled-system 2.0.0 → 2.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/StyledSystemProvider.css +34 -34
  3. package/dist/StyledSystemProvider.js +14 -14
  4. package/dist/chunk-2UOTJGT6.js +12 -0
  5. package/dist/{chunk-XEJOSGGW.js → chunk-3QZI66SR.js} +4 -4
  6. package/dist/{chunk-DVOV55CD.js → chunk-4E7VQIC5.js} +130 -103
  7. package/dist/{chunk-B6ZBFYWJ.js → chunk-6IPAN22Z.js} +3 -3
  8. package/dist/chunk-7STOSQRA.js +8 -0
  9. package/dist/{chunk-EF3UX45A.js → chunk-CFIMNXX5.js} +2 -2
  10. package/dist/{chunk-BA7JHGU6.js → chunk-F7KWE6J5.js} +2 -2
  11. package/dist/{chunk-Y7GWSHYF.js → chunk-FAICHNEU.js} +117 -90
  12. package/dist/{chunk-YJKWZYVH.js → chunk-LKOZVSXD.js} +129 -102
  13. package/dist/{chunk-5GX5VZFT.js → chunk-NJIDLCB7.js} +1 -1
  14. package/dist/{chunk-VJNKYHHT.js → chunk-QLYSVZLZ.js} +2 -2
  15. package/dist/{chunk-AZ44JR7G.js → chunk-RU6U3SMC.js} +1 -1
  16. package/dist/{chunk-REAV6RA4.js → chunk-XGLTD52P.js} +8 -8
  17. package/dist/{chunk-SSBFBJJN.js → chunk-XOHK7VFY.js} +5 -5
  18. package/dist/{chunk-GZ3MQOPA.js → chunk-ZAHZAEAR.js} +2 -2
  19. package/dist/color-scheme/ColorSchemeContext.js +1 -1
  20. package/dist/color-scheme/useColorScheme.js +1 -1
  21. package/dist/color-scheme/useColorSchemeValue.js +1 -1
  22. package/dist/global-styles/BodyStyleProvider.js +4 -4
  23. package/dist/html-wrappers/html.css +34 -34
  24. package/dist/html-wrappers/html.js +6 -6
  25. package/dist/html-wrappers/htmlElement.css +34 -34
  26. package/dist/html-wrappers/htmlElement.js +5 -5
  27. package/dist/index.css +34 -34
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +15 -14
  30. package/dist/responsive/BreakpointContext.js +1 -1
  31. package/dist/responsive/BreakpointProvider.js +1 -1
  32. package/dist/responsive/Breakpoints.js +1 -1
  33. package/dist/responsive/useResponsiveValue.js +1 -1
  34. package/dist/styledSystemProps.js +1 -1
  35. package/dist/styledSystemRootCssClass.js +2 -2
  36. package/dist/tokens/TokenProvider.js +6 -6
  37. package/dist/tokens/generated/darkSemanticTokens.d.ts +129 -102
  38. package/dist/tokens/generated/darkSemanticTokens.js +2 -2
  39. package/dist/tokens/generated/lightSemanticTokens.d.ts +129 -102
  40. package/dist/tokens/generated/lightSemanticTokens.js +2 -2
  41. package/dist/tokens/generated/styledSystemToTokenMappings.d.ts +117 -90
  42. package/dist/tokens/generated/styledSystemToTokenMappings.js +2 -2
  43. package/dist/tokens/tokenMappings.d.ts +145 -113
  44. package/dist/tokens/tokenMappings.js +3 -3
  45. package/dist/tokens/tokens.d.ts +258 -204
  46. package/dist/tokens/tokens.js +4 -4
  47. package/dist/useStyledSystem.css +31 -31
  48. package/dist/useStyledSystem.js +4 -4
  49. package/dist/utils/assertion.js +1 -1
  50. package/dist/utils/slot.d.ts +20 -0
  51. package/dist/utils/slot.js +2 -0
  52. package/dist/utils/useInsertStyleElement.js +1 -1
  53. package/dist/utils/useIsomorphicInsertionEffect.js +1 -1
  54. package/dist/utils/useIsomorphicLayoutEffect.js +1 -1
  55. package/dist/utils/useMediaQuery.js +1 -1
  56. package/dist/utils/useThemeComputedStyle.js +2 -2
  57. package/package.json +9 -9
  58. package/dist/chunk-6LX4VMOV.js +0 -26
@@ -138,6 +138,8 @@ var HopperColors = {
138
138
  "core_samoyed": "samoyed"
139
139
  };
140
140
  var BackgroundColors = {
141
+ "danger-active": "danger-surface-active",
142
+ "danger-weak-active": "danger-surface-weak-active",
141
143
  "danger": "danger-surface",
142
144
  "danger-selected": "danger-surface-selected",
143
145
  "danger-disabled": "danger-surface-disabled",
@@ -148,6 +150,47 @@ var BackgroundColors = {
148
150
  "danger-weak": "danger-surface-weak",
149
151
  "danger-weak-hover": "danger-surface-weak-hover",
150
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",
173
+ "primary-disabled": "primary-surface-disabled",
174
+ "primary-focus": "primary-surface-focus",
175
+ "primary-hover": "primary-surface-hover",
176
+ "primary-press": "primary-surface-press",
177
+ "primary-strong": "primary-surface-strong",
178
+ "primary-strong-selected": "primary-surface-strong-selected",
179
+ "primary-strong-hover": "primary-surface-strong-hover",
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",
151
194
  "decorative-option9": "decorative-option9-surface",
152
195
  "decorative-option9-hover": "decorative-option9-surface-hover",
153
196
  "decorative-option9-strong": "decorative-option9-surface-strong",
@@ -205,32 +248,6 @@ var BackgroundColors = {
205
248
  "information": "information-surface",
206
249
  "information-strong": "information-surface-strong",
207
250
  "information-weak": "information-surface-weak",
208
- "neutral": "neutral-surface",
209
- "neutral-selected": "neutral-surface-selected",
210
- "neutral-disabled": "neutral-surface-disabled",
211
- "neutral-hover": "neutral-surface-hover",
212
- "neutral-press": "neutral-surface-press",
213
- "neutral-strong": "neutral-surface-strong",
214
- "neutral-weak": "neutral-surface-weak",
215
- "neutral-weak-selected": "neutral-surface-weak-selected",
216
- "neutral-weak-hover": "neutral-surface-weak-hover",
217
- "neutral-weak-press": "neutral-surface-weak-press",
218
- "neutral-weakest": "neutral-surface-weakest",
219
- "neutral-weakest-selected": "neutral-surface-weakest-selected",
220
- "neutral-weakest-hover": "neutral-surface-weakest-hover",
221
- "primary": "primary-surface",
222
- "primary-selected": "primary-surface-selected",
223
- "primary-disabled": "primary-surface-disabled",
224
- "primary-focus": "primary-surface-focus",
225
- "primary-hover": "primary-surface-hover",
226
- "primary-press": "primary-surface-press",
227
- "primary-strong": "primary-surface-strong",
228
- "primary-strong-selected": "primary-surface-strong-selected",
229
- "primary-strong-hover": "primary-surface-strong-hover",
230
- "primary-strong-press": "primary-surface-strong-press",
231
- "primary-weak": "primary-surface-weak",
232
- "primary-weak-hover": "primary-surface-weak-hover",
233
- "primary-weak-press": "primary-surface-weak-press",
234
251
  "status-caution-strong": "status-caution-surface-strong",
235
252
  "status-caution": "status-caution-surface",
236
253
  "status-inactive-strong": "status-inactive-surface-strong",
@@ -258,19 +275,13 @@ var BackgroundColors = {
258
275
  "success": "success-surface",
259
276
  "success-strong": "success-surface-strong",
260
277
  "success-weak": "success-surface-weak",
261
- "upsell": "upsell-surface",
262
- "upsell-selected": "upsell-surface-selected",
263
- "upsell-disabled": "upsell-surface-disabled",
264
- "upsell-hover": "upsell-surface-hover",
265
- "upsell-press": "upsell-surface-press",
266
- "upsell-weak": "upsell-surface-weak",
267
- "upsell-weak-hover": "upsell-surface-weak-hover",
268
- "upsell-weak-press": "upsell-surface-weak-press",
269
278
  "warning": "warning-surface",
270
279
  "warning-strong": "warning-surface-strong",
271
280
  "warning-weak": "warning-surface-weak"
272
281
  };
273
282
  var TextColors = {
283
+ "danger-active": "danger-text-active",
284
+ "danger-weak-active": "danger-text-weak-active",
274
285
  "danger": "danger-text",
275
286
  "danger-selected": "danger-text-selected",
276
287
  "danger-disabled": "danger-text-disabled",
@@ -281,6 +292,36 @@ var TextColors = {
281
292
  "danger-weak": "danger-text-weak",
282
293
  "danger-weak-hover": "danger-text-weak-hover",
283
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",
307
+ "primary-active": "primary-text-active",
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",
313
+ "primary-strong": "primary-text-strong",
314
+ "primary-strong-hover": "primary-text-strong-hover",
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",
284
325
  "decorative-option9": "decorative-option9-text",
285
326
  "decorative-option9-weak": "decorative-option9-text-weak",
286
327
  "decorative-option8": "decorative-option8-text",
@@ -301,23 +342,6 @@ var TextColors = {
301
342
  "decorative-option1-weak": "decorative-option1-text-weak",
302
343
  "information": "information-text",
303
344
  "information-weak": "information-text-weak",
304
- "neutral": "neutral-text",
305
- "neutral-selected": "neutral-text-selected",
306
- "neutral-disabled": "neutral-text-disabled",
307
- "neutral-hover": "neutral-text-hover",
308
- "neutral-press": "neutral-text-press",
309
- "neutral-strong": "neutral-text-strong",
310
- "neutral-weak": "neutral-text-weak",
311
- "neutral-weak-hover": "neutral-text-weak-hover",
312
- "neutral-weak-press": "neutral-text-weak-press",
313
- "neutral-weakest": "neutral-text-weakest",
314
- "primary": "primary-text",
315
- "primary-selected": "primary-text-selected",
316
- "primary-disabled": "primary-text-disabled",
317
- "primary-hover": "primary-text-hover",
318
- "primary-press": "primary-text-press",
319
- "primary-strong": "primary-text-strong",
320
- "primary-strong-hover": "primary-text-strong-hover",
321
345
  "status-caution": "status-caution-text",
322
346
  "status-inactive": "status-inactive-text",
323
347
  "status-negative": "status-negative-text",
@@ -333,18 +357,12 @@ var TextColors = {
333
357
  "success": "success-text",
334
358
  "success-hover": "success-text-hover",
335
359
  "success-weak": "success-text-weak",
336
- "upsell": "upsell-text",
337
- "upsell-selected": "upsell-text-selected",
338
- "upsell-disabled": "upsell-text-disabled",
339
- "upsell-hover": "upsell-text-hover",
340
- "upsell-press": "upsell-text-press",
341
- "upsell-weak": "upsell-text-weak",
342
- "upsell-weak-hover": "upsell-text-weak-hover",
343
- "upsell-weak-press": "upsell-text-weak-press",
344
360
  "warning": "warning-text",
345
361
  "warning-weak": "warning-text-weak"
346
362
  };
347
363
  var IconColors = {
364
+ "danger-active": "danger-icon-active",
365
+ "danger-weak-active": "danger-icon-weak-active",
348
366
  "danger": "danger-icon",
349
367
  "danger-selected": "danger-icon-selected",
350
368
  "danger-disabled": "danger-icon-disabled",
@@ -355,18 +373,8 @@ var IconColors = {
355
373
  "danger-weak": "danger-icon-weak",
356
374
  "danger-weak-hover": "danger-icon-weak-hover",
357
375
  "danger-weak-press": "danger-icon-weak-press",
358
- "decorative-option9": "decorative-option9-icon",
359
- "decorative-option8": "decorative-option8-icon",
360
- "decorative-option7": "decorative-option7-icon",
361
- "decorative-option5": "decorative-option5-icon",
362
- "decorative-option6": "decorative-option6-icon",
363
- "decorative-option4": "decorative-option4-icon",
364
- "decorative-option3": "decorative-option3-icon",
365
- "decorative-option2": "decorative-option2-icon",
366
- "decorative-option1": "decorative-option1-icon",
367
- "information": "information-icon",
368
- "information-weakest": "information-icon-weakest",
369
- "information-weak": "information-icon-weak",
376
+ "neutral-active": "neutral-icon-active",
377
+ "neutral-weak-active": "neutral-icon-weak-active",
370
378
  "neutral": "neutral-icon",
371
379
  "neutral-selected": "neutral-icon-selected",
372
380
  "neutral-disabled": "neutral-icon-disabled",
@@ -378,6 +386,7 @@ var IconColors = {
378
386
  "neutral-weak-hover": "neutral-icon-weak-hover",
379
387
  "neutral-weak-press": "neutral-icon-weak-press",
380
388
  "neutral-weakest": "neutral-icon-weakest",
389
+ "primary-active": "primary-icon-active",
381
390
  "primary": "primary-icon",
382
391
  "primary-selected": "primary-icon-selected",
383
392
  "primary-disabled": "primary-icon-disabled",
@@ -385,6 +394,28 @@ var IconColors = {
385
394
  "primary-press": "primary-icon-press",
386
395
  "primary-strong": "primary-icon-strong",
387
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",
407
+ "decorative-option9": "decorative-option9-icon",
408
+ "decorative-option8": "decorative-option8-icon",
409
+ "decorative-option7": "decorative-option7-icon",
410
+ "decorative-option5": "decorative-option5-icon",
411
+ "decorative-option6": "decorative-option6-icon",
412
+ "decorative-option4": "decorative-option4-icon",
413
+ "decorative-option3": "decorative-option3-icon",
414
+ "decorative-option2": "decorative-option2-icon",
415
+ "decorative-option1": "decorative-option1-icon",
416
+ "information": "information-icon",
417
+ "information-weakest": "information-icon-weakest",
418
+ "information-weak": "information-icon-weak",
388
419
  "status-caution": "status-caution-icon",
389
420
  "status-inactive": "status-inactive-icon",
390
421
  "status-negative": "status-negative-icon",
@@ -400,33 +431,17 @@ var IconColors = {
400
431
  "success": "success-icon",
401
432
  "success-weakest": "success-icon-weakest",
402
433
  "success-weak": "success-icon-weak",
403
- "upsell": "upsell-icon",
404
- "upsell-selected": "upsell-icon-selected",
405
- "upsell-hover": "upsell-icon-hover",
406
- "upsell-press": "upsell-icon-press",
407
- "upsell-weakest": "upsell-icon-weakest",
408
- "upsell-weak": "upsell-icon-weak",
409
- "upsell-weak-hover": "upsell-icon-weak-hover",
410
- "upsell-weak-press": "upsell-icon-weak-press",
411
434
  "warning": "warning-icon",
412
435
  "warning-weakest": "warning-icon-weakest",
413
436
  "warning-weak": "warning-icon-weak"
414
437
  };
415
438
  var BorderColors = {
439
+ "danger-active": "danger-border-active",
416
440
  "danger": "danger-border",
417
441
  "danger-selected": "danger-border-selected",
418
442
  "danger-strong": "danger-border-strong",
419
443
  "danger-press": "danger-border-press",
420
- "decorative-option9": "decorative-option9-border",
421
- "decorative-option8": "decorative-option8-border",
422
- "decorative-option7": "decorative-option7-border",
423
- "decorative-option5": "decorative-option5-border",
424
- "decorative-option6": "decorative-option6-border",
425
- "decorative-option4": "decorative-option4-border",
426
- "decorative-option3": "decorative-option3-border",
427
- "decorative-option2": "decorative-option2-border",
428
- "decorative-option1": "decorative-option1-border",
429
- "information": "information-border",
444
+ "neutral-active": "neutral-border-active",
430
445
  "neutral": "neutral-border",
431
446
  "neutral-selected": "neutral-border-selected",
432
447
  "neutral-disabled": "neutral-border-disabled",
@@ -436,15 +451,27 @@ var BorderColors = {
436
451
  "neutral-strong-hover": "neutral-border-strong-hover",
437
452
  "neutral-weak": "neutral-border-weak",
438
453
  "neutral-weakest": "neutral-border-weakest",
454
+ "primary-active": "primary-border-active",
439
455
  "primary": "primary-border",
440
456
  "primary-selected": "primary-border-selected",
441
457
  "primary-focus": "primary-border-focus",
442
458
  "primary-press": "primary-border-press",
443
- "success": "success-border",
459
+ "upsell-active": "upsell-border-active",
444
460
  "upsell": "upsell-border",
445
461
  "upsell-selected": "upsell-border-selected",
446
462
  "upsell-disabled": "upsell-border-disabled",
447
463
  "upsell-press": "upsell-border-press",
464
+ "decorative-option9": "decorative-option9-border",
465
+ "decorative-option8": "decorative-option8-border",
466
+ "decorative-option7": "decorative-option7-border",
467
+ "decorative-option5": "decorative-option5-border",
468
+ "decorative-option6": "decorative-option6-border",
469
+ "decorative-option4": "decorative-option4-border",
470
+ "decorative-option3": "decorative-option3-border",
471
+ "decorative-option2": "decorative-option2-border",
472
+ "decorative-option1": "decorative-option1-border",
473
+ "information": "information-border",
474
+ "success": "success-border",
448
475
  "warning": "warning-border"
449
476
  };
450
477
  var DataVizColors = {
@@ -1,5 +1,12 @@
1
1
  // src/tokens/generated/darkSemanticTokens.ts
2
2
  var DarkSemanticTokens = {
3
+ "--hop-danger-border-active": "var(--hop-amanita-300)",
4
+ "--hop-danger-icon-active": "var(--hop-amanita-50)",
5
+ "--hop-danger-icon-weak-active": "var(--hop-amanita-300)",
6
+ "--hop-danger-surface-active": "var(--hop-amanita-600)",
7
+ "--hop-danger-surface-weak-active": "var(--hop-amanita-600)",
8
+ "--hop-danger-text-active": "var(--hop-amanita-50)",
9
+ "--hop-danger-text-weak-active": "var(--hop-amanita-300)",
3
10
  "--hop-danger-border": "var(--hop-amanita-500)",
4
11
  "--hop-danger-border-selected": "var(--hop-amanita-100)",
5
12
  "--hop-danger-border-press": "var(--hop-amanita-300)",
@@ -34,6 +41,128 @@ var DarkSemanticTokens = {
34
41
  "--hop-danger-text-weak": "var(--hop-amanita-100)",
35
42
  "--hop-danger-text-weak-hover": "var(--hop-amanita-200)",
36
43
  "--hop-danger-text-weak-press": "var(--hop-amanita-300)",
44
+ "--hop-neutral-border-active": "var(--hop-rock-700)",
45
+ "--hop-neutral-icon-active": "var(--hop-toad-25)",
46
+ "--hop-neutral-icon-weak-active": "var(--hop-rock-50)",
47
+ "--hop-neutral-surface-active": "var(--hop-rock-700)",
48
+ "--hop-neutral-surface-weak-active": "var(--hop-rock-600)",
49
+ "--hop-neutral-text-active": "var(--hop-toad-25)",
50
+ "--hop-neutral-text-weak-active": "var(--hop-rock-50)",
51
+ "--hop-neutral-border": "var(--hop-rock-500)",
52
+ "--hop-neutral-border-selected": "var(--hop-toad-25)",
53
+ "--hop-neutral-border-disabled": "var(--hop-rock-800)",
54
+ "--hop-neutral-border-hover": "var(--hop-rock-300)",
55
+ "--hop-neutral-border-press": "var(--hop-rock-700)",
56
+ "--hop-neutral-border-strong": "var(--hop-samoyed)",
57
+ "--hop-neutral-border-strong-hover": "var(--hop-samoyed)",
58
+ "--hop-neutral-border-weakest": "var(--hop-rock-800)",
59
+ "--hop-neutral-border-weak": "var(--hop-rock-800)",
60
+ "--hop-neutral-icon": "var(--hop-rock-25)",
61
+ "--hop-neutral-icon-selected": "var(--hop-rock-900)",
62
+ "--hop-neutral-icon-disabled": "var(--hop-rock-500)",
63
+ "--hop-neutral-icon-hover": "var(--hop-rock-50)",
64
+ "--hop-neutral-icon-press": "var(--hop-toad-25)",
65
+ "--hop-neutral-icon-strong": "var(--hop-rock-900)",
66
+ "--hop-neutral-icon-strong-hover": "var(--hop-rock-900)",
67
+ "--hop-neutral-icon-weak": "var(--hop-rock-200)",
68
+ "--hop-neutral-icon-weak-hover": "var(--hop-rock-75)",
69
+ "--hop-neutral-icon-weak-press": "var(--hop-rock-50)",
70
+ "--hop-neutral-icon-weakest": "var(--hop-rock-400)",
71
+ "--hop-neutral-surface": "var(--hop-abyss)",
72
+ "--hop-neutral-surface-selected": "var(--hop-toad-25)",
73
+ "--hop-neutral-surface-disabled": "var(--hop-rock-700)",
74
+ "--hop-neutral-surface-hover": "var(--hop-rock-800)",
75
+ "--hop-neutral-surface-press": "var(--hop-rock-700)",
76
+ "--hop-neutral-surface-strong": "var(--hop-toad-25)",
77
+ "--hop-neutral-surface-weakest": "var(--hop-rock-900)",
78
+ "--hop-neutral-surface-weak": "var(--hop-rock-800)",
79
+ "--hop-neutral-surface-weak-selected": "var(--hop-rock-800)",
80
+ "--hop-neutral-surface-weak-hover": "var(--hop-rock-700)",
81
+ "--hop-neutral-surface-weak-press": "var(--hop-rock-600)",
82
+ "--hop-neutral-surface-weakest-selected": "var(--hop-rock-800)",
83
+ "--hop-neutral-surface-weakest-hover": "var(--hop-rock-800)",
84
+ "--hop-neutral-text": "var(--hop-rock-25)",
85
+ "--hop-neutral-text-selected": "var(--hop-rock-900)",
86
+ "--hop-neutral-text-disabled": "var(--hop-rock-500)",
87
+ "--hop-neutral-text-hover": "var(--hop-rock-50)",
88
+ "--hop-neutral-text-press": "var(--hop-toad-25)",
89
+ "--hop-neutral-text-strong": "var(--hop-rock-900)",
90
+ "--hop-neutral-text-weak": "var(--hop-rock-200)",
91
+ "--hop-neutral-text-weak-hover": "var(--hop-rock-75)",
92
+ "--hop-neutral-text-weak-press": "var(--hop-rock-50)",
93
+ "--hop-neutral-text-weakest": "var(--hop-rock-400)",
94
+ "--hop-primary-border-active": "var(--hop-sapphire-500)",
95
+ "--hop-primary-icon-active": "var(--hop-sapphire-75)",
96
+ "--hop-primary-surface-active": "var(--hop-sapphire-500)",
97
+ "--hop-primary-surface-strong-active": "var(--hop-sapphire-600)",
98
+ "--hop-primary-surface-weak-active": "var(--hop-sapphire-600)",
99
+ "--hop-primary-text-active": "var(--hop-sapphire-75)",
100
+ "--hop-primary-border": "var(--hop-sapphire-300)",
101
+ "--hop-primary-border-selected": "var(--hop-sapphire-300)",
102
+ "--hop-primary-border-focus": "var(--hop-sapphire-200)",
103
+ "--hop-primary-border-press": "var(--hop-sapphire-500)",
104
+ "--hop-primary-icon": "var(--hop-sapphire-200)",
105
+ "--hop-primary-icon-selected": "var(--hop-sapphire-200)",
106
+ "--hop-primary-icon-disabled": "var(--hop-sapphire-700)",
107
+ "--hop-primary-icon-hover": "var(--hop-sapphire-300)",
108
+ "--hop-primary-icon-press": "var(--hop-sapphire-75)",
109
+ "--hop-primary-icon-strong": "var(--hop-samoyed)",
110
+ "--hop-primary-icon-strong-hover": "var(--hop-sapphire-300)",
111
+ "--hop-primary-surface": "var(--hop-sapphire-200)",
112
+ "--hop-primary-surface-selected": "var(--hop-sapphire-800)",
113
+ "--hop-primary-surface-disabled": "var(--hop-sapphire-700)",
114
+ "--hop-primary-surface-focus": "var(--hop-sapphire-900)",
115
+ "--hop-primary-surface-hover": "var(--hop-sapphire-400)",
116
+ "--hop-primary-surface-press": "var(--hop-sapphire-500)",
117
+ "--hop-primary-surface-strong": "var(--hop-sapphire-400)",
118
+ "--hop-primary-surface-strong-selected": "var(--hop-sapphire-800)",
119
+ "--hop-primary-surface-strong-hover": "var(--hop-sapphire-500)",
120
+ "--hop-primary-surface-strong-press": "var(--hop-sapphire-600)",
121
+ "--hop-primary-surface-weak": "var(--hop-sapphire-800)",
122
+ "--hop-primary-surface-weak-hover": "var(--hop-sapphire-700)",
123
+ "--hop-primary-surface-weak-press": "var(--hop-sapphire-600)",
124
+ "--hop-primary-text": "var(--hop-sapphire-100)",
125
+ "--hop-primary-text-hover": "var(--hop-sapphire-200)",
126
+ "--hop-primary-text-press": "var(--hop-sapphire-75)",
127
+ "--hop-primary-text-strong": "var(--hop-samoyed)",
128
+ "--hop-primary-text-strong-hover": "var(--hop-samoyed)",
129
+ "--hop-primary-text-selected": "var(--hop-sapphire-200)",
130
+ "--hop-primary-text-disabled": "var(--hop-sapphire-700)",
131
+ "--hop-upsell-border-active": "var(--hop-sunken-treasure-400)",
132
+ "--hop-upsell-icon-active": "var(--hop-sunken-treasure-900)",
133
+ "--hop-upsell-icon-weak-active": "var(--hop-sunken-treasure-300)",
134
+ "--hop-upsell-surface-active": "var(--hop-sunken-treasure-300)",
135
+ "--hop-upsell-surface-weak-active": "var(--hop-sunken-treasure-600)",
136
+ "--hop-upsell-text-active": "var(--hop-sunken-treasure-900)",
137
+ "--hop-upsell-text-weak-active": "var(--hop-sunken-treasure-300)",
138
+ "--hop-upsell-border": "var(--hop-sunken-treasure-200)",
139
+ "--hop-upsell-border-selected": "var(--hop-sunken-treasure-100)",
140
+ "--hop-upsell-border-disabled": "var(--hop-sunken-treasure-700)",
141
+ "--hop-upsell-border-press": "var(--hop-sunken-treasure-400)",
142
+ "--hop-upsell-icon": "var(--hop-sunken-treasure-700)",
143
+ "--hop-upsell-icon-selected": "var(--hop-sunken-treasure-100)",
144
+ "--hop-upsell-icon-hover": "var(--hop-sunken-treasure-800)",
145
+ "--hop-upsell-icon-press": "var(--hop-sunken-treasure-900)",
146
+ "--hop-upsell-icon-weakest": "var(--hop-sunken-treasure-100)",
147
+ "--hop-upsell-icon-weak": "var(--hop-sunken-treasure-300)",
148
+ "--hop-upsell-icon-weak-hover": "var(--hop-sunken-treasure-200)",
149
+ "--hop-upsell-icon-weak-press": "var(--hop-sunken-treasure-300)",
150
+ "--hop-upsell-surface": "var(--hop-sunken-treasure-50)",
151
+ "--hop-upsell-surface-selected": "var(--hop-sunken-treasure-800)",
152
+ "--hop-upsell-surface-disabled": "var(--hop-sunken-treasure-700)",
153
+ "--hop-upsell-surface-hover": "var(--hop-sunken-treasure-200)",
154
+ "--hop-upsell-surface-press": "var(--hop-sunken-treasure-300)",
155
+ "--hop-upsell-surface-weak": "var(--hop-sunken-treasure-900)",
156
+ "--hop-upsell-surface-weak-hover": "var(--hop-sunken-treasure-700)",
157
+ "--hop-upsell-surface-weak-press": "var(--hop-sunken-treasure-600)",
158
+ "--hop-upsell-text": "var(--hop-sunken-treasure-700)",
159
+ "--hop-upsell-text-selected": "var(--hop-sunken-treasure-100)",
160
+ "--hop-upsell-text-disabled": "var(--hop-sunken-treasure-300)",
161
+ "--hop-upsell-text-hover": "var(--hop-sunken-treasure-800)",
162
+ "--hop-upsell-text-press": "var(--hop-sunken-treasure-900)",
163
+ "--hop-upsell-text-weak": "var(--hop-sunken-treasure-100)",
164
+ "--hop-upsell-text-weak-hover": "var(--hop-sunken-treasure-200)",
165
+ "--hop-upsell-text-weak-press": "var(--hop-sunken-treasure-300)",
37
166
  "--hop-decorative-option1-border": "var(--hop-sapphire-400)",
38
167
  "--hop-decorative-option1-icon": "var(--hop-sapphire-900)",
39
168
  "--hop-decorative-option1-surface": "var(--hop-sapphire-100)",
@@ -133,80 +262,6 @@ var DarkSemanticTokens = {
133
262
  "--hop-information-surface-weak": "var(--hop-coastal-800)",
134
263
  "--hop-information-text": "var(--hop-coastal-900)",
135
264
  "--hop-information-text-weak": "var(--hop-coastal-75)",
136
- "--hop-neutral-border": "var(--hop-rock-500)",
137
- "--hop-neutral-border-selected": "var(--hop-toad-25)",
138
- "--hop-neutral-border-disabled": "var(--hop-rock-800)",
139
- "--hop-neutral-border-hover": "var(--hop-rock-300)",
140
- "--hop-neutral-border-press": "var(--hop-rock-700)",
141
- "--hop-neutral-border-strong": "var(--hop-samoyed)",
142
- "--hop-neutral-border-strong-hover": "var(--hop-samoyed)",
143
- "--hop-neutral-border-weakest": "var(--hop-rock-800)",
144
- "--hop-neutral-border-weak": "var(--hop-rock-800)",
145
- "--hop-neutral-icon": "var(--hop-rock-25)",
146
- "--hop-neutral-icon-selected": "var(--hop-rock-900)",
147
- "--hop-neutral-icon-disabled": "var(--hop-rock-500)",
148
- "--hop-neutral-icon-hover": "var(--hop-rock-50)",
149
- "--hop-neutral-icon-press": "var(--hop-toad-25)",
150
- "--hop-neutral-icon-strong": "var(--hop-rock-900)",
151
- "--hop-neutral-icon-strong-hover": "var(--hop-rock-900)",
152
- "--hop-neutral-icon-weak": "var(--hop-rock-200)",
153
- "--hop-neutral-icon-weak-hover": "var(--hop-rock-75)",
154
- "--hop-neutral-icon-weak-press": "var(--hop-rock-50)",
155
- "--hop-neutral-icon-weakest": "var(--hop-rock-400)",
156
- "--hop-neutral-surface": "var(--hop-abyss)",
157
- "--hop-neutral-surface-selected": "var(--hop-toad-25)",
158
- "--hop-neutral-surface-disabled": "var(--hop-rock-700)",
159
- "--hop-neutral-surface-hover": "var(--hop-rock-800)",
160
- "--hop-neutral-surface-press": "var(--hop-rock-700)",
161
- "--hop-neutral-surface-strong": "var(--hop-toad-25)",
162
- "--hop-neutral-surface-weakest": "var(--hop-rock-900)",
163
- "--hop-neutral-surface-weak": "var(--hop-rock-800)",
164
- "--hop-neutral-surface-weak-selected": "var(--hop-rock-800)",
165
- "--hop-neutral-surface-weak-hover": "var(--hop-rock-700)",
166
- "--hop-neutral-surface-weak-press": "var(--hop-rock-600)",
167
- "--hop-neutral-surface-weakest-selected": "var(--hop-rock-800)",
168
- "--hop-neutral-surface-weakest-hover": "var(--hop-rock-800)",
169
- "--hop-neutral-text": "var(--hop-rock-25)",
170
- "--hop-neutral-text-selected": "var(--hop-rock-900)",
171
- "--hop-neutral-text-disabled": "var(--hop-rock-500)",
172
- "--hop-neutral-text-hover": "var(--hop-rock-50)",
173
- "--hop-neutral-text-press": "var(--hop-toad-25)",
174
- "--hop-neutral-text-strong": "var(--hop-rock-900)",
175
- "--hop-neutral-text-weak": "var(--hop-rock-200)",
176
- "--hop-neutral-text-weak-hover": "var(--hop-rock-75)",
177
- "--hop-neutral-text-weak-press": "var(--hop-rock-50)",
178
- "--hop-neutral-text-weakest": "var(--hop-rock-400)",
179
- "--hop-primary-border": "var(--hop-sapphire-300)",
180
- "--hop-primary-border-selected": "var(--hop-sapphire-300)",
181
- "--hop-primary-border-focus": "var(--hop-sapphire-200)",
182
- "--hop-primary-border-press": "var(--hop-sapphire-500)",
183
- "--hop-primary-icon": "var(--hop-sapphire-200)",
184
- "--hop-primary-icon-selected": "var(--hop-sapphire-200)",
185
- "--hop-primary-icon-disabled": "var(--hop-sapphire-700)",
186
- "--hop-primary-icon-hover": "var(--hop-sapphire-300)",
187
- "--hop-primary-icon-press": "var(--hop-sapphire-75)",
188
- "--hop-primary-icon-strong": "var(--hop-samoyed)",
189
- "--hop-primary-icon-strong-hover": "var(--hop-sapphire-300)",
190
- "--hop-primary-surface": "var(--hop-sapphire-200)",
191
- "--hop-primary-surface-selected": "var(--hop-sapphire-800)",
192
- "--hop-primary-surface-disabled": "var(--hop-sapphire-700)",
193
- "--hop-primary-surface-focus": "var(--hop-sapphire-900)",
194
- "--hop-primary-surface-hover": "var(--hop-sapphire-400)",
195
- "--hop-primary-surface-press": "var(--hop-sapphire-500)",
196
- "--hop-primary-surface-strong": "var(--hop-sapphire-400)",
197
- "--hop-primary-surface-strong-selected": "var(--hop-sapphire-800)",
198
- "--hop-primary-surface-strong-hover": "var(--hop-sapphire-500)",
199
- "--hop-primary-surface-strong-press": "var(--hop-sapphire-600)",
200
- "--hop-primary-surface-weak": "var(--hop-sapphire-800)",
201
- "--hop-primary-surface-weak-hover": "var(--hop-sapphire-700)",
202
- "--hop-primary-surface-weak-press": "var(--hop-sapphire-600)",
203
- "--hop-primary-text": "var(--hop-sapphire-100)",
204
- "--hop-primary-text-hover": "var(--hop-sapphire-200)",
205
- "--hop-primary-text-press": "var(--hop-sapphire-75)",
206
- "--hop-primary-text-strong": "var(--hop-samoyed)",
207
- "--hop-primary-text-strong-hover": "var(--hop-samoyed)",
208
- "--hop-primary-text-selected": "var(--hop-sapphire-200)",
209
- "--hop-primary-text-disabled": "var(--hop-sapphire-700)",
210
265
  "--hop-status-caution-icon": "var(--hop-koi-900)",
211
266
  "--hop-status-caution-surface": "var(--hop-koi-75)",
212
267
  "--hop-status-caution-surface-strong": "var(--hop-koi-200)",
@@ -265,34 +320,6 @@ var DarkSemanticTokens = {
265
320
  "--hop-success-text": "var(--hop-moss-900)",
266
321
  "--hop-success-text-weak": "var(--hop-moss-75)",
267
322
  "--hop-success-text-hover": "var(--hop-moss-700)",
268
- "--hop-upsell-border": "var(--hop-sunken-treasure-200)",
269
- "--hop-upsell-border-selected": "var(--hop-sunken-treasure-100)",
270
- "--hop-upsell-border-disabled": "var(--hop-sunken-treasure-700)",
271
- "--hop-upsell-border-press": "var(--hop-sunken-treasure-400)",
272
- "--hop-upsell-icon": "var(--hop-sunken-treasure-700)",
273
- "--hop-upsell-icon-selected": "var(--hop-sunken-treasure-100)",
274
- "--hop-upsell-icon-hover": "var(--hop-sunken-treasure-800)",
275
- "--hop-upsell-icon-press": "var(--hop-sunken-treasure-900)",
276
- "--hop-upsell-icon-weakest": "var(--hop-sunken-treasure-100)",
277
- "--hop-upsell-icon-weak": "var(--hop-sunken-treasure-300)",
278
- "--hop-upsell-icon-weak-hover": "var(--hop-sunken-treasure-200)",
279
- "--hop-upsell-icon-weak-press": "var(--hop-sunken-treasure-300)",
280
- "--hop-upsell-surface": "var(--hop-sunken-treasure-50)",
281
- "--hop-upsell-surface-selected": "var(--hop-sunken-treasure-800)",
282
- "--hop-upsell-surface-disabled": "var(--hop-sunken-treasure-700)",
283
- "--hop-upsell-surface-hover": "var(--hop-sunken-treasure-200)",
284
- "--hop-upsell-surface-press": "var(--hop-sunken-treasure-300)",
285
- "--hop-upsell-surface-weak": "var(--hop-sunken-treasure-900)",
286
- "--hop-upsell-surface-weak-hover": "var(--hop-sunken-treasure-700)",
287
- "--hop-upsell-surface-weak-press": "var(--hop-sunken-treasure-600)",
288
- "--hop-upsell-text": "var(--hop-sunken-treasure-700)",
289
- "--hop-upsell-text-selected": "var(--hop-sunken-treasure-100)",
290
- "--hop-upsell-text-disabled": "var(--hop-sunken-treasure-300)",
291
- "--hop-upsell-text-hover": "var(--hop-sunken-treasure-800)",
292
- "--hop-upsell-text-press": "var(--hop-sunken-treasure-900)",
293
- "--hop-upsell-text-weak": "var(--hop-sunken-treasure-100)",
294
- "--hop-upsell-text-weak-hover": "var(--hop-sunken-treasure-200)",
295
- "--hop-upsell-text-weak-press": "var(--hop-sunken-treasure-300)",
296
323
  "--hop-warning-border": "var(--hop-koi-500)",
297
324
  "--hop-warning-icon": "var(--hop-koi-900)",
298
325
  "--hop-warning-icon-weakest": "var(--hop-koi-200)",
@@ -1,4 +1,4 @@
1
- import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-Y7GWSHYF.js';
1
+ import { HopperVariablePrefix, HopperColors, DataVizColors, BackgroundColors, TextColors, IconColors, Elevation, FontSize, FontWeight, LineHeight, FontFamily, Shape, CoreSpace, SemanticSimplePaddingSpace, SemanticComplexPaddingSpace, SemanticSimpleMarginSpace, SemanticComplexMarginSpace } from './chunk-FAICHNEU.js';
2
2
  import { parseResponsiveValue } from './chunk-SFOVKOPG.js';
3
3
  import { isNil, isObject } from './chunk-U5R6ZXH3.js';
4
4
 
@@ -1,6 +1,6 @@
1
- import { Tokens } from './chunk-EF3UX45A.js';
1
+ import { Tokens } from './chunk-CFIMNXX5.js';
2
2
  import { useInsertStyleElement } from './chunk-RIORU7JO.js';
3
- import { StyledSystemRootCssClass } from './chunk-REAV6RA4.js';
3
+ import { StyledSystemRootCssClass } from './chunk-XGLTD52P.js';
4
4
 
5
5
  // src/tokens/TokenProvider.tsx
6
6
  function TokenProvider() {
@@ -1,4 +1,4 @@
1
- import { htmlElement } from './chunk-GZ3MQOPA.js';
1
+ import { htmlElement } from './chunk-ZAHZAEAR.js';
2
2
 
3
3
  // src/html-wrappers/html.ts
4
4
  var Address = htmlElement("address");
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  name: "@hopper-ui/styled-system",
4
4
  author: "Workleap",
5
- version: "2.0.0",
5
+ version: "2.0.2",
6
6
  description: "The styled-system package.",
7
7
  license: "Apache-2.0",
8
8
  repository: {
@@ -44,18 +44,18 @@ var package_default = {
44
44
  "react-dom": "^18"
45
45
  },
46
46
  dependencies: {
47
- "@react-aria/ssr": "^3.9.3",
47
+ "@react-aria/ssr": "^3.9.4",
48
48
  clsx: "^2.1.1"
49
49
  },
50
50
  devDependencies: {
51
51
  "@hopper-ui/tokens": "workspace:*",
52
- "@swc/core": "1.5.3",
52
+ "@swc/core": "1.5.25",
53
53
  "@swc/helpers": "0.5.11",
54
54
  "@swc/jest": "0.2.36",
55
55
  "@testing-library/jest-dom": "6.4.5",
56
- "@testing-library/react": "15.0.7",
56
+ "@testing-library/react": "16.0.0",
57
57
  "@types/jest": "29.5.12",
58
- "@types/react": "18.3.1",
58
+ "@types/react": "18.3.3",
59
59
  "@types/react-dom": "18.3.0",
60
60
  "@types/react-test-renderer": "18.3.0",
61
61
  "@workleap/eslint-plugin": "3.2.2",
@@ -66,14 +66,14 @@ var package_default = {
66
66
  "identity-obj-proxy": "3.0.0",
67
67
  jest: "29.7.0",
68
68
  "jest-environment-jsdom": "29.7.0",
69
- "jest-fail-on-console": "3.2.0",
69
+ "jest-fail-on-console": "3.3.0",
70
70
  postcss: "8.4.38",
71
71
  "postcss-modules": "6.0.0",
72
72
  react: "18.3.1",
73
73
  "react-dom": "18.3.1",
74
74
  "react-test-renderer": "18.3.1",
75
- "ts-jest": "29.1.2",
76
- tsup: "8.0.2",
75
+ "ts-jest": "29.1.4",
76
+ tsup: "8.1.0",
77
77
  typescript: "5.4.5"
78
78
  }
79
79
  };