tailwindcss 3.4.14 → 3.4.16
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/CHANGELOG.md +19 -1
- package/lib/util/removeAlphaVariables.js +2 -0
- package/lib/util/withAlphaVariable.js +2 -2
- package/package.json +29 -29
- package/peers/index.js +4254 -4405
- package/src/util/removeAlphaVariables.js +2 -0
- package/src/util/withAlphaVariable.js +2 -2
- package/types/config.d.ts +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
- Nothing yet!
|
|
11
11
|
|
|
12
|
+
## [3.4.16] - 2024-12-03
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- Ensure the TypeScript types for `PluginsConfig` allow `undefined` values ([#14668](https://github.com/tailwindlabs/tailwindcss/pull/14668))
|
|
17
|
+
|
|
18
|
+
# Changed
|
|
19
|
+
|
|
20
|
+
- Bumped lilconfig to v3.x ([#15289](https://github.com/tailwindlabs/tailwindcss/pull/15289))
|
|
21
|
+
|
|
22
|
+
## [3.4.15] - 2024-11-14
|
|
23
|
+
|
|
24
|
+
- Bump versions for security vulnerabilities ([#14697](https://github.com/tailwindlabs/tailwindcss/pull/14697))
|
|
25
|
+
- Ensure the TypeScript types for the `boxShadow` theme configuration allows arrays ([#14856](https://github.com/tailwindlabs/tailwindcss/pull/14856))
|
|
26
|
+
- Set fallback for opacity variables to ensure setting colors with the `selection:*` variant works in Chrome 131 ([#15003](https://github.com/tailwindlabs/tailwindcss/pull/15003))
|
|
27
|
+
|
|
12
28
|
## [3.4.14] - 2024-10-15
|
|
13
29
|
|
|
14
30
|
### Fixed
|
|
@@ -2455,7 +2471,9 @@ No release notes
|
|
|
2455
2471
|
|
|
2456
2472
|
- Everything!
|
|
2457
2473
|
|
|
2458
|
-
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.
|
|
2474
|
+
[unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.16...HEAD
|
|
2475
|
+
[3.4.16]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.15...v3.4.16
|
|
2476
|
+
[3.4.15]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15
|
|
2459
2477
|
[3.4.14]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14
|
|
2460
2478
|
[3.4.13]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.12...v3.4.13
|
|
2461
2479
|
[3.4.12]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.11...v3.4.12
|
|
@@ -25,6 +25,8 @@ function removeAlphaVariables(container, toRemove) {
|
|
|
25
25
|
for (let varName of toRemove){
|
|
26
26
|
if (decl.value.includes(`/ var(${varName})`)) {
|
|
27
27
|
decl.value = decl.value.replace(`/ var(${varName})`, "");
|
|
28
|
+
} else if (decl.value.includes(`/ var(${varName}, 1)`)) {
|
|
29
|
+
decl.value = decl.value.replace(`/ var(${varName}, 1)`, "");
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
});
|
|
@@ -44,7 +44,7 @@ function withAlphaVariable({ color , property , variable }) {
|
|
|
44
44
|
p,
|
|
45
45
|
color({
|
|
46
46
|
opacityVariable: variable,
|
|
47
|
-
opacityValue: `var(${variable})`
|
|
47
|
+
opacityValue: `var(${variable}, 1)`
|
|
48
48
|
})
|
|
49
49
|
];
|
|
50
50
|
}))
|
|
@@ -71,7 +71,7 @@ function withAlphaVariable({ color , property , variable }) {
|
|
|
71
71
|
p,
|
|
72
72
|
(0, _color.formatColor)({
|
|
73
73
|
...parsed,
|
|
74
|
-
alpha: `var(${variable})`
|
|
74
|
+
alpha: `var(${variable}, 1)`
|
|
75
75
|
})
|
|
76
76
|
];
|
|
77
77
|
}))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.16",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,49 +43,49 @@
|
|
|
43
43
|
"*.js"
|
|
44
44
|
],
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@swc/cli": "
|
|
47
|
-
"@swc/core": "
|
|
48
|
-
"@swc/jest": "
|
|
49
|
-
"@swc/register": "
|
|
50
|
-
"autoprefixer": "^10.4.
|
|
51
|
-
"browserslist": "^4.
|
|
52
|
-
"concurrently": "^8.
|
|
46
|
+
"@swc/cli": "0.1.62",
|
|
47
|
+
"@swc/core": "1.3.55",
|
|
48
|
+
"@swc/jest": "0.2.26",
|
|
49
|
+
"@swc/register": "0.1.10",
|
|
50
|
+
"autoprefixer": "^10.4.20",
|
|
51
|
+
"browserslist": "^4.24.0",
|
|
52
|
+
"concurrently": "^8.2.2",
|
|
53
53
|
"cssnano": "^6.1.2",
|
|
54
|
-
"esbuild": "^0.
|
|
55
|
-
"eslint": "^8.
|
|
56
|
-
"eslint-config-prettier": "^8.
|
|
54
|
+
"esbuild": "^0.24.0",
|
|
55
|
+
"eslint": "^8.57.1",
|
|
56
|
+
"eslint-config-prettier": "^8.10.0",
|
|
57
57
|
"eslint-plugin-prettier": "^4.2.1",
|
|
58
|
-
"jest": "^29.
|
|
59
|
-
"jest-diff": "^29.
|
|
60
|
-
"lightningcss": "1.
|
|
58
|
+
"jest": "^29.7.0",
|
|
59
|
+
"jest-diff": "^29.7.0",
|
|
60
|
+
"lightningcss": "1.27.0",
|
|
61
61
|
"prettier": "^2.8.8",
|
|
62
|
-
"rimraf": "^5.0.
|
|
63
|
-
"source-map-js": "^1.
|
|
64
|
-
"turbo": "^1.
|
|
62
|
+
"rimraf": "^5.0.10",
|
|
63
|
+
"source-map-js": "^1.2.1",
|
|
64
|
+
"turbo": "^1.13.4"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
67
|
"@alloc/quick-lru": "^5.2.0",
|
|
68
68
|
"arg": "^5.0.2",
|
|
69
|
-
"chokidar": "^3.
|
|
69
|
+
"chokidar": "^3.6.0",
|
|
70
70
|
"didyoumean": "^1.2.2",
|
|
71
71
|
"dlv": "^1.1.3",
|
|
72
|
-
"fast-glob": "^3.3.
|
|
72
|
+
"fast-glob": "^3.3.2",
|
|
73
73
|
"glob-parent": "^6.0.2",
|
|
74
74
|
"is-glob": "^4.0.3",
|
|
75
|
-
"jiti": "^1.21.
|
|
76
|
-
"lilconfig": "^
|
|
77
|
-
"micromatch": "^4.0.
|
|
75
|
+
"jiti": "^1.21.6",
|
|
76
|
+
"lilconfig": "^3.1.3",
|
|
77
|
+
"micromatch": "^4.0.8",
|
|
78
78
|
"normalize-path": "^3.0.0",
|
|
79
79
|
"object-hash": "^3.0.0",
|
|
80
|
-
"picocolors": "^1.
|
|
81
|
-
"postcss": "^8.4.
|
|
80
|
+
"picocolors": "^1.1.1",
|
|
81
|
+
"postcss": "^8.4.47",
|
|
82
82
|
"postcss-import": "^15.1.0",
|
|
83
83
|
"postcss-js": "^4.0.1",
|
|
84
|
-
"postcss-load-config": "^4.0.
|
|
85
|
-
"postcss-nested": "^6.0
|
|
86
|
-
"postcss-selector-parser": "^6.
|
|
87
|
-
"resolve": "^1.22.
|
|
88
|
-
"sucrase": "^3.
|
|
84
|
+
"postcss-load-config": "^4.0.2",
|
|
85
|
+
"postcss-nested": "^6.2.0",
|
|
86
|
+
"postcss-selector-parser": "^6.1.2",
|
|
87
|
+
"resolve": "^1.22.8",
|
|
88
|
+
"sucrase": "^3.35.0"
|
|
89
89
|
},
|
|
90
90
|
"browserslist": [
|
|
91
91
|
"> 1%",
|