@ng-native/tailwind 0.10.0 → 0.11.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 +2 -1
  2. package/package.json +3 -3
package/flatten.cjs CHANGED
@@ -752,7 +752,8 @@ function hslChannels(h, s, l) {
752
752
  if (u < 2 / 3) return p + (q - p) * (2 / 3 - u) * 6;
753
753
  return p;
754
754
  };
755
- return [hue + 1 / 3, hue, hue - 1 / 3].map((t) => Math.round(channel(t) * 255));
755
+ // A channel on a half, 127.5, is a hair under it in floating point: the hair goes first.
756
+ return [hue + 1 / 3, hue, hue - 1 / 3].map((t) => Math.round(+(channel(t) * 255).toFixed(10)));
756
757
  }
757
758
 
758
759
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-native/tailwind",
3
- "version": "0.10.0",
3
+ "version": "0.11.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.10.0",
20
+ "@ng-native/metro": "0.11.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.10.0",
35
+ "@ng-native/metro": "0.11.0",
36
36
  "@tailwindcss/cli": "^4.3.3",
37
37
  "tailwindcss": "^3.4.1 || ^4.3.3"
38
38
  },