@umami/react-zen 1.0.6 → 1.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/react-zen",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
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": {
package/styles.css CHANGED
@@ -1388,7 +1388,7 @@
1388
1388
  /* fontWeightMap */
1389
1389
  @source inline("{,sm:,md:,lg:,xl:,2xl:}{font-thin,font-extralight,font-light,font-normal,font-medium,font-semibold,font-bold,font-extrabold,font-black}");
1390
1390
  /* borderRadiusMap */
1391
- @source inline("{,sm:,md:,lg:,xl:,2xl:}{rounded-none,rounded-sm,rounded-md,rounded-lg,rounded-xl,rounded-2xl,rounded-3xl,rounded-full}");
1391
+ @source inline("{,sm:,md:,lg:,xl:,2xl:}{rounded-none,rounded-sm,rounded-md,rounded-lg,rounded-xl,rounded-2xl,rounded-3xl,rounded-4xl,rounded-full}");
1392
1392
  /* borderWidthMap */
1393
1393
  @source inline("{,sm:,md:,lg:,xl:,2xl:}{border,border-2,border-4,border-8}");
1394
1394
  /* shadowMap */
@@ -1465,6 +1465,22 @@
1465
1465
  @source inline("{,sm:,md:,lg:,xl:,2xl:}{max-h-0,max-h-px,max-h-0.5,max-h-1,max-h-1.5,max-h-2,max-h-2.5,max-h-3,max-h-3.5,max-h-4,max-h-5,max-h-6,max-h-7,max-h-8,max-h-9,max-h-10,max-h-11,max-h-12,max-h-14,max-h-16,max-h-20,max-h-24,max-h-28,max-h-32,max-h-36,max-h-40,max-h-44,max-h-48,max-h-52,max-h-56,max-h-60,max-h-64,max-h-72,max-h-80,max-h-96,max-h-none,max-h-full,max-h-screen,max-h-svh,max-h-lvh,max-h-dvh,max-h-min,max-h-max,max-h-fit}");
1466
1466
 
1467
1467
 
1468
+ /* ./src/styles/props.css */
1469
+ /*
1470
+ * Color props (backgroundColor="amber-500" becomes bg-amber-500) and hover/focus/active state
1471
+ * styles build their class names at runtime, so Tailwind never sees them in the source. Safelist
1472
+ * every value they accept. Part of both styles.css and styles.full.css, so apps running Tailwind
1473
+ * get them too.
1474
+ */
1475
+ @source inline("{,hover:,focus:,active:}{bg,text,border}-{background,foreground,card,card-foreground,popover,popover-foreground,primary,primary-foreground,secondary,secondary-foreground,muted,muted-foreground,accent,accent-foreground,destructive,border,input,ring,success,warning,info}");
1476
+ @source inline("{,hover:,focus:,active:}{bg,text,border}-{slate,gray,zinc,neutral,stone,red,orange,amber,yellow,lime,green,emerald,teal,cyan,sky,blue,indigo,violet,purple,fuchsia,pink,rose}-{50,100,200,300,400,500,600,700,800,900,950}");
1477
+ @source inline("{hover:,focus:,active:}opacity-{0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100}");
1478
+ @source inline("{,hover:,focus:,active:}{bg,text,border}-transparent");
1479
+ @source inline("{,hover:,focus:,active:}bg-{page,sidebar}");
1480
+ @source inline("decoration-{foreground,muted-foreground,primary,primary-foreground,secondary-foreground,accent-foreground,background,card-foreground,popover-foreground,destructive,success,warning,info}");
1481
+ @source inline("decoration-{slate,gray,zinc,neutral,stone,red,orange,amber,yellow,lime,green,emerald,teal,cyan,sky,blue,indigo,violet,purple,fuchsia,pink,rose}-{50,100,200,300,400,500,600,700,800,900,950}");
1482
+
1483
+
1468
1484
  /* src/components/Dots.css */
1469
1485
  .zen-dot {
1470
1486
  border-radius: 100%;
@@ -1540,3 +1556,7 @@
1540
1556
  stroke-dashoffset: -124;
1541
1557
  }
1542
1558
  }
1559
+
1560
+
1561
+ /* Classes used by Zen's components. */
1562
+ @source "./dist";