@unocss/preset-wind 0.55.5 → 0.55.7

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
@@ -884,6 +884,12 @@ const placeholders = [
884
884
  [/^\$ placeholder-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-placeholder-opacity": utils.h.bracket.percent(opacity) }), { autocomplete: ["placeholder-(op|opacity)", "placeholder-(op|opacity)-<percent>"] }]
885
885
  ];
886
886
 
887
+ const viewTransition = [
888
+ [/^view-transition-([\w_-]+)$/, ([, name]) => {
889
+ return { "view-transition-name": name };
890
+ }]
891
+ ];
892
+
887
893
  const rules = [
888
894
  ___namespace.cssVariables,
889
895
  cssVariables,
@@ -971,6 +977,7 @@ const rules = [
971
977
  ___namespace.contents,
972
978
  placeholders,
973
979
  ___namespace.containerParent,
980
+ viewTransition,
974
981
  // should be the last
975
982
  ___namespace.questionMark
976
983
  ].flat(1);
package/dist/index.mjs CHANGED
@@ -868,6 +868,12 @@ const placeholders = [
868
868
  [/^\$ placeholder-op(?:acity)?-?(.+)$/, ([, opacity]) => ({ "--un-placeholder-opacity": h.bracket.percent(opacity) }), { autocomplete: ["placeholder-(op|opacity)", "placeholder-(op|opacity)-<percent>"] }]
869
869
  ];
870
870
 
871
+ const viewTransition = [
872
+ [/^view-transition-([\w_-]+)$/, ([, name]) => {
873
+ return { "view-transition-name": name };
874
+ }]
875
+ ];
876
+
871
877
  const rules = [
872
878
  _.cssVariables,
873
879
  cssVariables,
@@ -955,6 +961,7 @@ const rules = [
955
961
  _.contents,
956
962
  placeholders,
957
963
  _.containerParent,
964
+ viewTransition,
958
965
  // should be the last
959
966
  _.questionMark
960
967
  ].flat(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind",
3
- "version": "0.55.5",
3
+ "version": "0.55.7",
4
4
  "description": "Tailwind / Windi CSS compact preset for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  "*.css"
36
36
  ],
37
37
  "dependencies": {
38
- "@unocss/core": "0.55.5",
39
- "@unocss/preset-mini": "0.55.5"
38
+ "@unocss/core": "0.55.7",
39
+ "@unocss/preset-mini": "0.55.7"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",