@umami/react-zen 1.0.2 → 1.0.4
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 +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.js +442 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +433 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
- package/styles.css +19 -0
- package/styles.full.css +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umami/react-zen",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Zen is the design system and React component collection used by Umami.",
|
|
5
5
|
"homepage": "https://zen.umami.is",
|
|
6
6
|
"repository": {
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"react-day-picker": "^10.0.2",
|
|
55
55
|
"react-hook-form": "^7.66.1",
|
|
56
56
|
"react-resizable-panels": "^4.12.2",
|
|
57
|
+
"recharts": "^3.8.0",
|
|
57
58
|
"shiki": "^4.6.0",
|
|
58
59
|
"tailwind-merge": "^3.4.0",
|
|
59
60
|
"tailwind-variants": "^3.2.2",
|
package/styles.css
CHANGED
|
@@ -1320,6 +1320,25 @@
|
|
|
1320
1320
|
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
|
+
/* Card: the footer is a shaded band with a top border, like the dialog footer.
|
|
1324
|
+
The negative margin cancels the card's bottom padding (--card-spacing, which
|
|
1325
|
+
is smaller for size="sm") so the band reaches the card's bottom edge; the
|
|
1326
|
+
card's overflow-hidden and rounded-xl clip its corners. */
|
|
1327
|
+
[data-slot="card"] > [data-slot="card-footer"]:last-child {
|
|
1328
|
+
margin-bottom: calc(var(--card-spacing) * -1);
|
|
1329
|
+
padding-block: calc(var(--spacing) * 4);
|
|
1330
|
+
border-top: 1px solid var(--border);
|
|
1331
|
+
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/* Chart: the tooltip jumps to the cursor instead of easing after it. Recharts
|
|
1335
|
+
animates the tooltip's position with an inline `transition: transform
|
|
1336
|
+
400ms`, so overriding it needs !important. */
|
|
1337
|
+
[data-slot="chart"] .recharts-tooltip-wrapper {
|
|
1338
|
+
/* biome-ignore lint/complexity/noImportantStyles: only !important overrides Recharts' inline style */
|
|
1339
|
+
transition: none !important;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1323
1342
|
|
|
1324
1343
|
/* ./src/styles/safelist.css */
|
|
1325
1344
|
/* Generated by css.mjs from src/components/lib/tailwind.ts. Do not edit. */
|