@unocss/preset-wind 0.58.2 → 0.58.3

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.cjs CHANGED
@@ -641,6 +641,17 @@ const mixBlendModes = [
641
641
  ["mix-blend-normal", { "mix-blend-mode": "normal" }],
642
642
  ...utils.makeGlobalStaticRules("mix-blend")
643
643
  ];
644
+ const dynamicViewportHeight = [
645
+ ["min-h-dvh", { "min-height": "100dvh" }],
646
+ ["min-h-svh", { "min-height": "100svh" }],
647
+ ["min-h-lvh", { "min-height": "100lvh" }],
648
+ ["h-dvh", { height: "100dvh" }],
649
+ ["h-svh", { height: "100svh" }],
650
+ ["h-lvh", { height: "100lvh" }],
651
+ ["max-h-dvh", { "max-height": "100dvh" }],
652
+ ["max-h-svh", { "max-height": "100svh" }],
653
+ ["max-h-lvh", { "max-height": "100lvh" }]
654
+ ];
644
655
 
645
656
  const borderSpacingBase = {
646
657
  "--un-border-spacing-x": 0,
@@ -955,6 +966,7 @@ const rules = [
955
966
  placeholders,
956
967
  ___namespace.containerParent,
957
968
  viewTransition,
969
+ dynamicViewportHeight,
958
970
  // should be the last
959
971
  ___namespace.questionMark
960
972
  ].flat(1);
package/dist/index.mjs CHANGED
@@ -625,6 +625,17 @@ const mixBlendModes = [
625
625
  ["mix-blend-normal", { "mix-blend-mode": "normal" }],
626
626
  ...makeGlobalStaticRules("mix-blend")
627
627
  ];
628
+ const dynamicViewportHeight = [
629
+ ["min-h-dvh", { "min-height": "100dvh" }],
630
+ ["min-h-svh", { "min-height": "100svh" }],
631
+ ["min-h-lvh", { "min-height": "100lvh" }],
632
+ ["h-dvh", { height: "100dvh" }],
633
+ ["h-svh", { height: "100svh" }],
634
+ ["h-lvh", { height: "100lvh" }],
635
+ ["max-h-dvh", { "max-height": "100dvh" }],
636
+ ["max-h-svh", { "max-height": "100svh" }],
637
+ ["max-h-lvh", { "max-height": "100lvh" }]
638
+ ];
628
639
 
629
640
  const borderSpacingBase = {
630
641
  "--un-border-spacing-x": 0,
@@ -939,6 +950,7 @@ const rules = [
939
950
  placeholders,
940
951
  _.containerParent,
941
952
  viewTransition,
953
+ dynamicViewportHeight,
942
954
  // should be the last
943
955
  _.questionMark
944
956
  ].flat(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.58.2",
3
+ "version": "0.58.3",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -35,9 +35,9 @@
35
35
  "dist"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.58.2",
39
- "@unocss/preset-mini": "0.58.2",
40
- "@unocss/rule-utils": "0.58.2"
38
+ "@unocss/core": "0.58.3",
39
+ "@unocss/preset-mini": "0.58.3",
40
+ "@unocss/rule-utils": "0.58.3"
41
41
  },
42
42
  "scripts": {
43
43
  "build": "unbuild",