tailwindcss 3.4.13 → 3.4.15

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 CHANGED
@@ -9,6 +9,18 @@ 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.15] - 2024-11-14
13
+
14
+ - Bump versions for security vulnerabilities ([#14697](https://github.com/tailwindlabs/tailwindcss/pull/14697))
15
+ - Ensure the TypeScript types for the `boxShadow` theme configuration allows arrays ([#14856](https://github.com/tailwindlabs/tailwindcss/pull/14856))
16
+ - 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))
17
+
18
+ ## [3.4.14] - 2024-10-15
19
+
20
+ ### Fixed
21
+
22
+ - Don't set `display: none` on elements that use `hidden="until-found"` ([#14625](https://github.com/tailwindlabs/tailwindcss/pull/14625))
23
+
12
24
  ## [3.4.13] - 2024-09-23
13
25
 
14
26
  ### Fixed
@@ -2449,7 +2461,9 @@ No release notes
2449
2461
 
2450
2462
  - Everything!
2451
2463
 
2452
- [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...HEAD
2464
+ [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.15...HEAD
2465
+ [3.4.15]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15
2466
+ [3.4.14]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14
2453
2467
  [3.4.13]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.12...v3.4.13
2454
2468
  [3.4.12]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.11...v3.4.12
2455
2469
  [3.4.11]: https://github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11
@@ -381,6 +381,6 @@ video {
381
381
  }
382
382
 
383
383
  /* Make elements with the HTML hidden attribute stay hidden by default */
384
- [hidden] {
384
+ [hidden]:where(:not([hidden="until-found"])) {
385
385
  display: none;
386
386
  }
@@ -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.13",
3
+ "version": "3.4.15",
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": "^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.14",
51
- "browserslist": "^4.21.5",
52
- "concurrently": "^8.0.1",
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.20.2",
55
- "eslint": "^8.39.0",
56
- "eslint-config-prettier": "^8.8.0",
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.6.0",
59
- "jest-diff": "^29.6.0",
60
- "lightningcss": "1.24.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.0",
63
- "source-map-js": "^1.0.2",
64
- "turbo": "^1.9.3"
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.5.3",
69
+ "chokidar": "^3.6.0",
70
70
  "didyoumean": "^1.2.2",
71
71
  "dlv": "^1.1.3",
72
- "fast-glob": "^3.3.0",
72
+ "fast-glob": "^3.3.2",
73
73
  "glob-parent": "^6.0.2",
74
74
  "is-glob": "^4.0.3",
75
- "jiti": "^1.21.0",
75
+ "jiti": "^1.21.6",
76
76
  "lilconfig": "^2.1.0",
77
- "micromatch": "^4.0.5",
77
+ "micromatch": "^4.0.8",
78
78
  "normalize-path": "^3.0.0",
79
79
  "object-hash": "^3.0.0",
80
- "picocolors": "^1.0.0",
81
- "postcss": "^8.4.23",
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.1",
85
- "postcss-nested": "^6.0.1",
86
- "postcss-selector-parser": "^6.0.11",
87
- "resolve": "^1.22.2",
88
- "sucrase": "^3.32.0"
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%",