@ng-native/tailwind 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/flatten.cjs +4 -1
  2. package/package.json +3 -3
package/flatten.cjs CHANGED
@@ -311,7 +311,7 @@ function markUnitlessReverse(css) {
311
311
 
312
312
  /** Properties whose `var()` the engine resolves per node, from the tokens in scope there. */
313
313
  const RESOLVED_PER_NODE =
314
- /^(translate|scale|rotate|transform|box-shadow|text-shadow|filter|font-variant-numeric)$/;
314
+ /^(translate|scale|rotate|transform|box-shadow|text-shadow|filter|font-variant-numeric|touch-action)$/;
315
315
 
316
316
  /**
317
317
  * A shadow slot, whose own parts another class may set: `ring-blue-500` its colour,
@@ -491,6 +491,9 @@ function fold(css) {
491
491
  Features.OklabColors |
492
492
  Features.LabColors |
493
493
  Features.ColorFunction |
494
+ // `light-dark()` is the compiler's too: a light rule and a dark one. Lowered, it is a pair
495
+ // of `var()`s no rule sets, and a token written with one is no colour at all.
496
+ Features.LightDark |
494
497
  // `:dir()` is answered from the app's layout direction; lowered, it is a list of languages.
495
498
  Features.DirSelector,
496
499
  }).code.toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-native/tailwind",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Tailwind CSS preset for Angular Native: Tailwind 4 and Tailwind 3, on native and on the web.",
5
5
  "keywords": [
6
6
  "angular",
@@ -17,7 +17,7 @@
17
17
  "type": "commonjs",
18
18
  "main": "flatten.cjs",
19
19
  "dependencies": {
20
- "@ng-native/metro": "0.5.0",
20
+ "@ng-native/metro": "0.6.0",
21
21
  "lightningcss": "^1.30.2"
22
22
  },
23
23
  "nx": {
@@ -32,7 +32,7 @@
32
32
  "url": "https://github.com/ng-native/ng-native/issues"
33
33
  },
34
34
  "peerDependencies": {
35
- "@ng-native/metro": "0.5.0",
35
+ "@ng-native/metro": "0.6.0",
36
36
  "@tailwindcss/cli": "^4.3.3",
37
37
  "tailwindcss": "^3.4.1 || ^4.3.3"
38
38
  },