@umami/react-zen 0.247.0 → 0.249.0
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +108 -59
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +108 -59
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
- package/styles.css +30 -5
- package/styles.full.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/react-zen",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.249.0",
|
|
4
4
|
"description": "Modern, minimalist React component library",
|
|
5
5
|
"homepage": "https://zen.umami.is",
|
|
6
6
|
"repository": {
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "npm-run-all tsup css",
|
|
36
|
+
"dev": "npm-run-all --parallel dev:tsup dev:css",
|
|
37
|
+
"dev:tsup": "tsup --watch",
|
|
38
|
+
"dev:css": "node css.mjs --watch",
|
|
36
39
|
"lint": "biome check ./src",
|
|
37
40
|
"icons": "svgr ./src/assets --out-dir src/components/svg --typescript",
|
|
38
41
|
"css": "node css.mjs",
|
package/styles.css
CHANGED
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
|
|
270
|
-
/* src
|
|
270
|
+
/* src/components/Dots.css */
|
|
271
271
|
.zen-dot {
|
|
272
272
|
border-radius: 100%;
|
|
273
273
|
background: currentColor;
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
}
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
/* src
|
|
303
|
+
/* src/components/Modal.css */
|
|
304
304
|
.zen-modal-overlay {
|
|
305
305
|
transition: opacity 200ms ease-out;
|
|
306
306
|
}
|
|
@@ -393,7 +393,32 @@
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
|
|
396
|
-
/* src
|
|
396
|
+
/* src/components/Overlay.css */
|
|
397
|
+
:root {
|
|
398
|
+
--zen-layer-backdrop: 9998;
|
|
399
|
+
--zen-layer-modal: 9999;
|
|
400
|
+
--zen-layer-floating: 10000;
|
|
401
|
+
--zen-layer-toast: 10001;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.zen-layer-backdrop {
|
|
405
|
+
z-index: var(--zen-layer-backdrop);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.zen-layer-modal {
|
|
409
|
+
z-index: var(--zen-layer-modal);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.zen-layer-floating {
|
|
413
|
+
z-index: var(--zen-layer-floating);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.zen-layer-toast {
|
|
417
|
+
z-index: var(--zen-layer-toast);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
/* src/components/Popover.css */
|
|
397
422
|
.zen-popover {
|
|
398
423
|
transition:
|
|
399
424
|
transform 200ms ease-out,
|
|
@@ -449,7 +474,7 @@
|
|
|
449
474
|
}
|
|
450
475
|
|
|
451
476
|
|
|
452
|
-
/* src
|
|
477
|
+
/* src/components/Skeleton.css */
|
|
453
478
|
.zen-skeleton {
|
|
454
479
|
position: relative;
|
|
455
480
|
overflow: hidden;
|
|
@@ -490,7 +515,7 @@
|
|
|
490
515
|
}
|
|
491
516
|
|
|
492
517
|
|
|
493
|
-
/* src
|
|
518
|
+
/* src/components/Spinner.css */
|
|
494
519
|
.zen-spinner-svg {
|
|
495
520
|
fill: none;
|
|
496
521
|
stroke-width: 0.15em;
|