@nimbus-ds/styles 7.1.0 → 8.0.0-rc.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 +31 -20
- package/dist/components/index.css +1 -0
- package/dist/components/index.d.ts +11 -0
- package/dist/components/index.js +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +75 -73
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/themes/dark.css +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Nimbus Styles deprive all styles needed to build nimbus components.
|
|
4
4
|
|
|
5
|
+
## 2023-04-02 `7.2.0`
|
|
6
|
+
|
|
7
|
+
#### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added new shape tokens to components. ([#137](https://github.com/TiendaNube/nimbus-design-system/pull/137) by [@juniorconquista](https://github.com/juniorconquista))
|
|
10
|
+
|
|
11
|
+
#### 🛠 Breaking changes
|
|
12
|
+
|
|
13
|
+
- Changed the export form of the `ThemeProvider` component. ([#137](https://github.com/TiendaNube/nimbus-design-system/pull/137) by [@juniorconquista](https://github.com/juniorconquista))
|
|
14
|
+
- Refactored shadow tokens in components. ([#137](https://github.com/TiendaNube/nimbus-design-system/pull/137) by [@juniorconquista](https://github.com/juniorconquista))
|
|
15
|
+
|
|
5
16
|
## 2023-03-31 `7.1.0`
|
|
6
17
|
|
|
7
18
|
#### 🎉 New features
|
|
@@ -10,13 +21,13 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
10
21
|
|
|
11
22
|
## 2023-03-27 `7.0.1`
|
|
12
23
|
|
|
13
|
-
|
|
24
|
+
#### 🐛 Bug fixes
|
|
14
25
|
|
|
15
26
|
- Adjusted internal spacing of components when the alert does not have the removal function. ([#134](https://github.com/TiendaNube/nimbus-design-system/pull/134) by [@juniorconquista](https://github.com/juniorconquista))
|
|
16
27
|
|
|
17
28
|
## 2023-02-24 `7.0.0`
|
|
18
29
|
|
|
19
|
-
|
|
30
|
+
#### 🛠 Breaking changes
|
|
20
31
|
|
|
21
32
|
- Refactored color tokens by removing `.` separator to `-`. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
|
|
22
33
|
|
|
@@ -25,7 +36,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
25
36
|
- Created new css file that contains all nimbus utility classes. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
|
|
26
37
|
- Added `focusWithin` state to `Box` conditions. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
|
|
27
38
|
|
|
28
|
-
|
|
39
|
+
#### 💡 Others
|
|
29
40
|
|
|
30
41
|
- Refactored style classes to have more semantic names. ([#110](https://github.com/TiendaNube/nimbus-design-system/pull/110) by [@juniorconquista](https://github.com/juniorconquista))
|
|
31
42
|
|
|
@@ -67,7 +78,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
67
78
|
|
|
68
79
|
- Fix sprinkles properties naming bug on `Table` and `IconButton` components. ([#94](https://github.com/TiendaNube/nimbus-design-system/pull/94) by [@juanchigallego](https://github.com/juanchigallego))
|
|
69
80
|
|
|
70
|
-
|
|
81
|
+
#### 💡 Others
|
|
71
82
|
|
|
72
83
|
- Correct line-height property on `Select` component. ([#94](https://github.com/TiendaNube/nimbus-design-system/pull/94) by [@juanchigallego](https://github.com/juanchigallego))
|
|
73
84
|
- Remove default margin on `Pagination` component. ([#94](https://github.com/TiendaNube/nimbus-design-system/pull/94) by [@juanchigallego](https://github.com/juanchigallego))
|
|
@@ -209,7 +220,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
209
220
|
|
|
210
221
|
## 2022-12-02 `4.20.0`
|
|
211
222
|
|
|
212
|
-
|
|
223
|
+
#### 🐛 Bug fixes
|
|
213
224
|
|
|
214
225
|
- Fixed minimum package size of checkbox and radio components. ([#62](https://github.com/TiendaNube/nimbus-design-system/pull/62) by [@juniorconquista](https://github.com/juniorconquista))
|
|
215
226
|
|
|
@@ -220,7 +231,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
220
231
|
- Added `zIndex` property in sidebar sprinkle. ([#61](https://github.com/TiendaNube/nimbus-design-system/pull/61) by [@juniorconquista](https://github.com/juniorconquista))
|
|
221
232
|
- Added `size`, `backgroundColor` and `borderColor` properties in iconButton sprinkle. ([#61](https://github.com/TiendaNube/nimbus-design-system/pull/61) by [@juniorconquista](https://github.com/juniorconquista))
|
|
222
233
|
|
|
223
|
-
|
|
234
|
+
#### 💡 Others
|
|
224
235
|
|
|
225
236
|
- Refactored link component style pack. ([#61](https://github.com/TiendaNube/nimbus-design-system/pull/61) by [@juniorconquista](https://github.com/juniorconquista))
|
|
226
237
|
|
|
@@ -253,7 +264,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
253
264
|
|
|
254
265
|
- Added new style pack for sidebar component. ([#56](https://github.com/TiendaNube/nimbus-design-system/pull/#56) by [@juniorconquista](https://github.com/juniorconquista))
|
|
255
266
|
|
|
256
|
-
|
|
267
|
+
#### 🐛 Bug fixes
|
|
257
268
|
|
|
258
269
|
- Added `box-sizing` to box component styling. ([#56](https://github.com/TiendaNube/nimbus-design-system/pull/#56) by [@juniorconquista](https://github.com/juniorconquista))
|
|
259
270
|
|
|
@@ -265,7 +276,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
265
276
|
|
|
266
277
|
## 2022-11-09 `4.14.1`
|
|
267
278
|
|
|
268
|
-
|
|
279
|
+
#### 🐛 Bug fixes
|
|
269
280
|
|
|
270
281
|
- Fixed typing of box and stack packages. ([#53](https://github.com/TiendaNube/nimbus-design-system/pull/#53) by [@juniorconquista](https://github.com/juniorconquista))
|
|
271
282
|
|
|
@@ -299,7 +310,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
299
310
|
|
|
300
311
|
- Added new styles for positioning the arrow in positions `right-start`, `right-end`, `left-start` and `left-end`. ([#45](https://github.com/TiendaNube/nimbus-design-system/pull/45) by [@juniorconquista](https://github.com/juniorconquista))
|
|
301
312
|
|
|
302
|
-
|
|
313
|
+
#### 💡 Others
|
|
303
314
|
|
|
304
315
|
- Removed styles so that the popover container has a maximum width relative to its anchor size. ([#45](https://github.com/TiendaNube/nimbus-design-system/pull/45) by [@juniorconquista](https://github.com/juniorconquista))
|
|
305
316
|
|
|
@@ -316,7 +327,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
316
327
|
|
|
317
328
|
- Added new style pack for textarea component. ([#41](https://github.com/TiendaNube/nimbus-design-system/pull/41) by [@juanchigallego](https://github.com/juanchigallego))
|
|
318
329
|
|
|
319
|
-
|
|
330
|
+
#### 💡 Others
|
|
320
331
|
|
|
321
332
|
- Adjust focus styles on select component. ([#41](https://github.com/TiendaNube/nimbus-design-system/pull/41) by [@juanchigallego](https://github.com/juanchigallego))
|
|
322
333
|
|
|
@@ -328,7 +339,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
328
339
|
- Added new style pack for stack component. ([#40](https://github.com/TiendaNube/nimbus-design-system/pull/40) by [@juniorconquista](https://github.com/juniorconquista))
|
|
329
340
|
- Added box-shadow to popover arrow. ([#40](https://github.com/TiendaNube/nimbus-design-system/pull/40) by [@juniorconquista](https://github.com/juniorconquista))
|
|
330
341
|
|
|
331
|
-
|
|
342
|
+
#### 💡 Others
|
|
332
343
|
|
|
333
344
|
- Added styles so that the popover container has a maximum width relative to its anchor size. ([#40](https://github.com/TiendaNube/nimbus-design-system/pull/40) by [@juniorconquista](https://github.com/juniorconquista))
|
|
334
345
|
- Added styles so that the tooltip container has a maximum width relative to its anchor size. ([#40](https://github.com/TiendaNube/nimbus-design-system/pull/40) by [@juniorconquista](https://github.com/juniorconquista))
|
|
@@ -351,7 +362,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
351
362
|
- Added new style pack for popover component. ([#37](https://github.com/TiendaNube/nimbus-design-system/pull/37) by [@juniorconquista](https://github.com/juniorconquista))
|
|
352
363
|
- Added new shadow tokens to theme base. ([#37](https://github.com/TiendaNube/nimbus-design-system/pull/37) by [@juniorconquista](https://github.com/juniorconquista))
|
|
353
364
|
|
|
354
|
-
|
|
365
|
+
#### 💡 Others
|
|
355
366
|
|
|
356
367
|
- Refactored tooltip package color scheme. ([#37](https://github.com/TiendaNube/nimbus-design-system/pull/37) by [@juniorconquista](https://github.com/juniorconquista))
|
|
357
368
|
|
|
@@ -388,7 +399,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
388
399
|
- Added `neutral.background` color properties from sprinkle sppiner. ([#32](https://github.com/TiendaNube/nimbus-design-system/pull/32) by [@juniorconquista](https://github.com/juniorconquista))
|
|
389
400
|
- Added `currentColor` color properties from sprinkle text. ([#32](https://github.com/TiendaNube/nimbus-design-system/pull/32) by [@juniorconquista](https://github.com/juniorconquista))
|
|
390
401
|
|
|
391
|
-
|
|
402
|
+
#### 💡 Others
|
|
392
403
|
|
|
393
404
|
- Removed background colors from `primary`, `success`, `warning` and `danger` scales for basic and dark themes. ([#32](https://github.com/TiendaNube/nimbus-design-system/pull/32) by [@juniorconquista](https://github.com/juniorconquista))
|
|
394
405
|
- Removed `primary.background`, `danger.background`, `success.background`, `waring.background` properties from sprinkle colors. ([#32](https://github.com/TiendaNube/nimbus-design-system/pull/32) by [@juniorconquista](https://github.com/juniorconquista))
|
|
@@ -405,7 +416,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
405
416
|
|
|
406
417
|
## 2022-09-24 `3.0.0` - `2.4.0`
|
|
407
418
|
|
|
408
|
-
|
|
419
|
+
#### 💡 Others
|
|
409
420
|
|
|
410
421
|
- Refactored typography spacing sizes and tokens. ([#29](https://github.com/TiendaNube/nimbus-design-system/pull/29) by [@juniorconquista](https://github.com/juniorconquista))
|
|
411
422
|
|
|
@@ -443,7 +454,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
443
454
|
- Added new `textAlign` sprinkle in `Title` package. ([#23](https://github.com/TiendaNube/nimbus-design-system/pull/23) by [@juniorconquista](https://github.com/juniorconquista))
|
|
444
455
|
- Added new `textAlign`, `fontSize`, `lineHeight` and `fontWeight` sprinkle in `Text` package. ([#23](https://github.com/TiendaNube/nimbus-design-system/pull/23) by [@juniorconquista](https://github.com/juniorconquista))
|
|
445
456
|
|
|
446
|
-
|
|
457
|
+
#### 💡 Others
|
|
447
458
|
|
|
448
459
|
- Removed `textAlign` variant in `Title` package. ([#23](https://github.com/TiendaNube/nimbus-design-system/pull/23) by [@juniorconquista](https://github.com/juniorconquista))
|
|
449
460
|
- Removed `textAlign`, `size`, `lineHeight` and `bold` variant in `Text` package. ([#23](https://github.com/TiendaNube/nimbus-design-system/pull/23) by [@juniorconquista](https://github.com/juniorconquista))
|
|
@@ -458,7 +469,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
458
469
|
- Updated `@vanilla-extract/css@1.7.3`. ([#21](https://github.com/TiendaNube/nimbus-design-system/pull/21) by [@juniorconquista](https://github.com/juniorconquista))
|
|
459
470
|
- Added `@vanilla-extract/sprinkles@1.4.1`. ([#21](https://github.com/TiendaNube/nimbus-design-system/pull/21) by [@juniorconquista](https://github.com/juniorconquista))
|
|
460
471
|
|
|
461
|
-
|
|
472
|
+
#### 💡 Others
|
|
462
473
|
|
|
463
474
|
- Restructured folders and style organization concepts. ([#21](https://github.com/TiendaNube/nimbus-design-system/pull/21) by [@juniorconquista](https://github.com/juniorconquista))
|
|
464
475
|
|
|
@@ -479,7 +490,7 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
479
490
|
|
|
480
491
|
- Added new style pack for tag component. ([#17](https://github.com/TiendaNube/nimbus-design-system/pull/17) by [@juniorconquista](https://github.com/juniorconquista))
|
|
481
492
|
|
|
482
|
-
|
|
493
|
+
#### 🐛 Bug fixes
|
|
483
494
|
|
|
484
495
|
- Changed `text` component appearance tokens from interactive color variations to low colors. ([#17](https://github.com/TiendaNube/nimbus-design-system/pull/17) by [@juniorconquista](https://github.com/juniorconquista))
|
|
485
496
|
|
|
@@ -513,12 +524,12 @@ Nimbus Styles deprive all styles needed to build nimbus components.
|
|
|
513
524
|
|
|
514
525
|
<!-- ### 📚 3rd party library updates -->
|
|
515
526
|
|
|
516
|
-
<!--
|
|
527
|
+
<!-- #### 🛠 Breaking changes -->
|
|
517
528
|
|
|
518
529
|
<!-- ### 🎉 New features -->
|
|
519
530
|
|
|
520
|
-
<!--
|
|
531
|
+
<!-- #### 🐛 Bug fixes -->
|
|
521
532
|
|
|
522
|
-
<!--
|
|
533
|
+
<!-- #### 💡 Others -->
|
|
523
534
|
|
|
524
535
|
<!-- ### ⚠️ Notices -->
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--colors-primary-surface__jhrh4b0:#deeffe;--colors-primary-surfaceHighlight__jhrh4b1:#7abcf7;--colors-primary-interactive__jhrh4b2:#006bc8;--colors-primary-interactiveHover__jhrh4b3:#004e93;--colors-primary-interactivePressed__jhrh4b4:#003e74;--colors-primary-textLow__jhrh4b5:#002c53;--colors-primary-textHigh__jhrh4b6:#000e19;--colors-success-surface__jhrh4b7:#defef2;--colors-success-surfaceHighlight__jhrh4b8:#7af7c7;--colors-success-interactive__jhrh4b9:#00c87b;--colors-success-interactiveHover__jhrh4ba:#00935b;--colors-success-interactivePressed__jhrh4bb:#007447;--colors-success-textLow__jhrh4bc:#005333;--colors-success-textHigh__jhrh4bd:#001910;--colors-warning-surface__jhrh4be:#fef2de;--colors-warning-surfaceHighlight__jhrh4bf:#f7c77a;--colors-warning-interactive__jhrh4bg:#c87b00;--colors-warning-interactiveHover__jhrh4bh:#935b00;--colors-warning-interactivePressed__jhrh4bi:#744700;--colors-warning-textLow__jhrh4bj:#533300;--colors-warning-textHigh__jhrh4bk:#191000;--colors-danger-surface__jhrh4bl:#fedede;--colors-danger-surfaceHighlight__jhrh4bm:#f77a7c;--colors-danger-interactive__jhrh4bn:#c80003;--colors-danger-interactiveHover__jhrh4bo:#930002;--colors-danger-interactivePressed__jhrh4bp:#740002;--colors-danger-textLow__jhrh4bq:#530001;--colors-danger-textHigh__jhrh4br:#190000;--colors-neutral-background__jhrh4bs:#fff;--colors-neutral-surface__jhrh4bt:#fafafa;--colors-neutral-surfaceDisabled__jhrh4bu:#e7e8e9;--colors-neutral-surfaceHighlight__jhrh4bv:#cfd1d2;--colors-neutral-interactive__jhrh4bw:#b7babc;--colors-neutral-interactiveHover__jhrh4bx:#a0a3a6;--colors-neutral-interactivePressed__jhrh4by:#8a8d90;--colors-neutral-textDisabled__jhrh4bz:#5e6163;--colors-neutral-textLow__jhrh4b10:#343537;--colors-neutral-textHigh__jhrh4b11:#0a0a0a;--fontFamily-centranube__jhrh4b12:CentraNube,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;--fontSize-body-caption__jhrh4b13:0.75rem;--fontSize-body-base__jhrh4b14:0.875rem;--fontSize-body-highlight__jhrh4b15:1rem;--fontSize-title-h1__jhrh4b16:2rem;--fontSize-title-h2__jhrh4b17:1.5rem;--fontSize-title-h3__jhrh4b18:1.25rem;--fontSize-title-h4__jhrh4b19:1.125rem;--fontSize-title-h5__jhrh4b1a:1rem;--fontSize-title-h6__jhrh4b1b:0.875rem;--fontWeight-regular__jhrh4b1c:400;--fontWeight-medium__jhrh4b1d:500;--fontWeight-bold__jhrh4b1e:700;--lineWeight-body-caption__jhrh4b1f:0.875rem;--lineWeight-body-base__jhrh4b1g:1.125rem;--lineWeight-body-highlight__jhrh4b1h:1.25rem;--lineWeight-title-h1__jhrh4b1i:2.75rem;--lineWeight-title-h2__jhrh4b1j:2rem;--lineWeight-title-h3__jhrh4b1k:1.75rem;--lineWeight-title-h4__jhrh4b1l:1.5rem;--lineWeight-title-h5__jhrh4b1m:1.25rem;--lineWeight-title-h6__jhrh4b1n:1.125rem;--shadow-level-0__jhrh4b1o:none;--shadow-level-1__jhrh4b1p:0px 0px 1px 0px #b7babc;--shadow-level-2__jhrh4b1q:0px 0px 2px 0px #cfd1d2,0px 1px 1px 0px #cfd1d2;--shadow-level-3__jhrh4b1r:0px 2px 4px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shadow-level-4__jhrh4b1s:0px 12px 16px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shadow-level-5__jhrh4b1t:0px 24px 32px 0px #cfd1d2,0px 0px 1px 0px #cfd1d2;--shape-border-radius-1__jhrh4b1u:0.25rem;--shape-border-radius-2__jhrh4b1v:0.5rem;--shape-border-radius-3__jhrh4b1w:0.75rem;--shape-border-radius-4__jhrh4b1x:1rem;--shape-border-radius-5__jhrh4b1y:1.25rem;--shape-border-radius-6__jhrh4b1z:1.5rem;--shape-border-radius-0\,5__jhrh4b20:0.125rem;--shape-border-radius-full__jhrh4b21:9999px;--shape-border-radius-base__jhrh4b22:0.375rem;--shape-border-radius-half__jhrh4b23:50%;--shape-border-width-1__jhrh4b24:0.0625rem;--shape-border-width-2__jhrh4b25:0.125rem;--shape-border-width-3__jhrh4b26:0.1875rem;--shape-border-width-4__jhrh4b27:1rem;--shape-border-width-5__jhrh4b28:0.3125rem;--spacing-1__jhrh4b29:0.25rem;--spacing-2__jhrh4b2a:0.5rem;--spacing-4__jhrh4b2b:1rem;--spacing-6__jhrh4b2c:1.5rem;--spacing-8__jhrh4b2d:2rem;--spacing-10__jhrh4b2e:2.5rem;--spacing-12__jhrh4b2f:3rem;--spacing-14__jhrh4b2g:3.5rem;--spacing-16__jhrh4b2h:4rem;--spacing-18__jhrh4b2i:4.5rem;--spacing-20__jhrh4b2j:5rem;--spacing-0\,5__jhrh4b2k:0.125rem;--sizes-1__jhrh4b2l:0.25rem;--sizes-2__jhrh4b2m:0.5rem;--sizes-3__jhrh4b2n:0.75rem;--sizes-4__jhrh4b2o:1rem;--sizes-5__jhrh4b2p:1.25rem;--sizes-6__jhrh4b2q:1.5rem;--sizes-7__jhrh4b2r:1.75rem;--sizes-8__jhrh4b2s:2rem;--sizes-9__jhrh4b2t:2.25rem;--sizes-10__jhrh4b2u:2.5rem;--sizes-11__jhrh4b2v:2.75rem;--sizes-12__jhrh4b2w:3rem;--sizes-14__jhrh4b2x:3.5rem;--sizes-16__jhrh4b2y:4rem;--sizes-18__jhrh4b2z:4.5rem;--sizes-20__jhrh4b30:5rem;--sizes-0\,5__jhrh4b31:0.125rem;--sizes-1\,5__jhrh4b32:0.375rem;--sizes-2\,5__jhrh4b33:0.625rem;--sizes-3\,5__jhrh4b34:0.875rem;--sizes-4\,5__jhrh4b35:1.125rem;--motion-speed-base__jhrh4b36:300ms;--motion-speed-fast__jhrh4b37:150ms;--motion-speed-slow__jhrh4b38:450ms;--motion-speed-slower__jhrh4b39:600ms;--breakpoint-xs__jhrh4b3a:0px;--breakpoint-md__jhrh4b3b:672px;--breakpoint-lg__jhrh4b3c:1024px;--breakpoint-xl__jhrh4b3d:1200px;--utils-focus__jhrh4b3e:0 0 0 3px #7abcf7}.nimbus-theme-dark_variables__1l9k5vd0{--colors-primary-surface__jhrh4b0:#001c34;--colors-primary-surfaceHighlight__jhrh4b1:#003e74;--colors-primary-interactive__jhrh4b2:#0f7ddc;--colors-primary-interactiveHover__jhrh4b3:#3f9bec;--colors-primary-interactivePressed__jhrh4b4:#7abcf7;--colors-primary-textLow__jhrh4b5:#bcdffd;--colors-primary-textHigh__jhrh4b6:#fff;--colors-success-surface__jhrh4b7:#003420;--colors-success-surfaceHighlight__jhrh4b8:#007447;--colors-success-interactive__jhrh4b9:#0fdc8e;--colors-success-interactiveHover__jhrh4ba:#3feca9;--colors-success-interactivePressed__jhrh4bb:#7af7c7;--colors-success-textLow__jhrh4bc:#bcfde4;--colors-success-textHigh__jhrh4bd:#fff;--colors-warning-surface__jhrh4be:#342000;--colors-warning-surfaceHighlight__jhrh4bf:#744700;--colors-warning-interactive__jhrh4bg:#dc8e0f;--colors-warning-interactiveHover__jhrh4bh:#eca93f;--colors-warning-interactivePressed__jhrh4bi:#f7c77a;--colors-warning-textLow__jhrh4bj:#fde4bc;--colors-warning-textHigh__jhrh4bk:#fff;--colors-danger-surface__jhrh4bl:#340001;--colors-danger-surfaceHighlight__jhrh4bm:#740002;--colors-danger-interactive__jhrh4bn:#dc0f13;--colors-danger-interactiveHover__jhrh4bo:#ec3f41;--colors-danger-interactivePressed__jhrh4bp:#f77a7c;--colors-danger-textLow__jhrh4bq:#fdbcbd;--colors-danger-textHigh__jhrh4br:#fff;--colors-neutral-background__jhrh4bs:#0a0a0a;--colors-neutral-surface__jhrh4bt:#1f2020;--colors-neutral-surfaceDisabled__jhrh4bu:#343537;--colors-neutral-surfaceHighlight__jhrh4bv:#494b4d;--colors-neutral-interactive__jhrh4bw:#5e6163;--colors-neutral-interactiveHover__jhrh4bx:#747779;--colors-neutral-interactivePressed__jhrh4by:#8a8d90;--colors-neutral-textDisabled__jhrh4bz:#b7babc;--colors-neutral-textLow__jhrh4b10:#e7e8e9;--colors-neutral-textHigh__jhrh4b11:#fff;--fontFamily-centranube__jhrh4b12:CentraNube,-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",arial,sans-serif;--fontSize-body-caption__jhrh4b13:0.75rem;--fontSize-body-base__jhrh4b14:0.875rem;--fontSize-body-highlight__jhrh4b15:1rem;--fontSize-title-h1__jhrh4b16:2rem;--fontSize-title-h2__jhrh4b17:1.5rem;--fontSize-title-h3__jhrh4b18:1.25rem;--fontSize-title-h4__jhrh4b19:1.125rem;--fontSize-title-h5__jhrh4b1a:1rem;--fontSize-title-h6__jhrh4b1b:0.875rem;--fontWeight-regular__jhrh4b1c:400;--fontWeight-medium__jhrh4b1d:500;--fontWeight-bold__jhrh4b1e:700;--lineWeight-body-caption__jhrh4b1f:0.875rem;--lineWeight-body-base__jhrh4b1g:1.125rem;--lineWeight-body-highlight__jhrh4b1h:1.25rem;--lineWeight-title-h1__jhrh4b1i:2.75rem;--lineWeight-title-h2__jhrh4b1j:2rem;--lineWeight-title-h3__jhrh4b1k:1.75rem;--lineWeight-title-h4__jhrh4b1l:1.5rem;--lineWeight-title-h5__jhrh4b1m:1.25rem;--lineWeight-title-h6__jhrh4b1n:1.125rem;--shadow-level-0__jhrh4b1o:none;--shadow-level-1__jhrh4b1p:0px 0px 1px 0px #5e6163;--shadow-level-2__jhrh4b1q:0px 0px 2px 0px #494b4d,0px 1px 1px 0px #494b4d;--shadow-level-3__jhrh4b1r:0px 2px 4px 0px #494b4d,0px 0px 1px 0px #494b4d;--shadow-level-4__jhrh4b1s:0px 12px 16px 0px #494b4d,0px 0px 1px 0px #494b4d;--shadow-level-5__jhrh4b1t:0px 24px 32px 0px #494b4d,0px 0px 1px 0px #494b4d;--shape-border-radius-1__jhrh4b1u:0.25rem;--shape-border-radius-2__jhrh4b1v:0.5rem;--shape-border-radius-3__jhrh4b1w:0.75rem;--shape-border-radius-4__jhrh4b1x:1rem;--shape-border-radius-5__jhrh4b1y:1.25rem;--shape-border-radius-6__jhrh4b1z:1.5rem;--shape-border-radius-0\,5__jhrh4b20:0.125rem;--shape-border-radius-full__jhrh4b21:9999px;--shape-border-radius-base__jhrh4b22:0.375rem;--shape-border-radius-half__jhrh4b23:50%;--shape-border-width-1__jhrh4b24:0.0625rem;--shape-border-width-2__jhrh4b25:0.125rem;--shape-border-width-3__jhrh4b26:0.1875rem;--shape-border-width-4__jhrh4b27:1rem;--shape-border-width-5__jhrh4b28:0.3125rem;--spacing-1__jhrh4b29:0.25rem;--spacing-2__jhrh4b2a:0.5rem;--spacing-4__jhrh4b2b:1rem;--spacing-6__jhrh4b2c:1.5rem;--spacing-8__jhrh4b2d:2rem;--spacing-10__jhrh4b2e:2.5rem;--spacing-12__jhrh4b2f:3rem;--spacing-14__jhrh4b2g:3.5rem;--spacing-16__jhrh4b2h:4rem;--spacing-18__jhrh4b2i:4.5rem;--spacing-20__jhrh4b2j:5rem;--spacing-0\,5__jhrh4b2k:0.125rem;--sizes-1__jhrh4b2l:0.25rem;--sizes-2__jhrh4b2m:0.5rem;--sizes-3__jhrh4b2n:0.75rem;--sizes-4__jhrh4b2o:1rem;--sizes-5__jhrh4b2p:1.25rem;--sizes-6__jhrh4b2q:1.5rem;--sizes-7__jhrh4b2r:1.75rem;--sizes-8__jhrh4b2s:2rem;--sizes-9__jhrh4b2t:2.25rem;--sizes-10__jhrh4b2u:2.5rem;--sizes-11__jhrh4b2v:2.75rem;--sizes-12__jhrh4b2w:3rem;--sizes-14__jhrh4b2x:3.5rem;--sizes-16__jhrh4b2y:4rem;--sizes-18__jhrh4b2z:4.5rem;--sizes-20__jhrh4b30:5rem;--sizes-0\,5__jhrh4b31:0.125rem;--sizes-1\,5__jhrh4b32:0.375rem;--sizes-2\,5__jhrh4b33:0.625rem;--sizes-3\,5__jhrh4b34:0.875rem;--sizes-4\,5__jhrh4b35:1.125rem;--motion-speed-base__jhrh4b36:300ms;--motion-speed-fast__jhrh4b37:150ms;--motion-speed-slow__jhrh4b38:450ms;--motion-speed-slower__jhrh4b39:600ms;--breakpoint-xs__jhrh4b3a:0px;--breakpoint-md__jhrh4b3b:672px;--breakpoint-lg__jhrh4b3c:1024px;--breakpoint-xl__jhrh4b3d:1200px;--utils-focus__jhrh4b3e:0 0 0 3px #7abcf7}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v7.1.0
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { HTMLAttributes } from 'react';
|
|
5
|
+
|
|
6
|
+
export interface ThemeProviderProps extends HTMLAttributes<HTMLElement> {
|
|
7
|
+
theme?: "dark" | "base";
|
|
8
|
+
}
|
|
9
|
+
export declare const ThemeProvider: React.FC<ThemeProviderProps>;
|
|
10
|
+
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("react")):"function"==typeof define&&define.amd?define(["react"],r):"object"==typeof exports?exports["@nimbus-ds/styles"]=r(require("react")):e["@nimbus-ds/styles"]=r(e.react)}(global,(e=>(()=>{"use strict";var r={649:(e,r,t)=>{t.d(r,{variables:()=>o});var o="nimbus-theme-dark_variables__1l9k5vd0"},156:r=>{r.exports=e}},t={};function o(e){var a=t[e];if(void 0!==a)return a.exports;var s=t[e]={exports:{}};return r[e](s,s.exports,o),s.exports}o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{o.r(a),o.d(a,{ThemeProvider:()=>s});var e=o(156),r=o.n(e);const t={dark:o(649).variables,base:""},s=({children:e,theme:o="base",...a})=>r().createElement("div",{className:t[o],...a},e);s.displayName="ThemeProvider"})(),a})()));
|