tailwindcss 3.3.6 → 3.3.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/CHANGELOG.md CHANGED
@@ -9,6 +9,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  - Nothing yet!
11
11
 
12
+ ## [3.3.7] - 2023-12-18
13
+
14
+ ### Fixed
15
+
16
+ - Fix support for container query utilities with arbitrary values ([#12534](https://github.com/tailwindlabs/tailwindcss/pull/12534))
17
+ - Fix custom config loading in Standalone CLI ([#12616](https://github.com/tailwindlabs/tailwindcss/pull/12616))
18
+
12
19
  ## [3.3.6] - 2023-12-04
13
20
 
14
21
  ### Fixed
@@ -2303,7 +2310,8 @@ No release notes
2303
2310
 
2304
2311
  - Everything!
2305
2312
 
2306
- [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.6...HEAD
2313
+ [unreleased]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.7...HEAD
2314
+ [3.3.7]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.6...v3.3.7
2307
2315
  [3.3.6]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.5...v3.3.6
2308
2316
  [3.3.5]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.4...v3.3.5
2309
2317
  [3.3.4]: https://github.com/tailwindlabs/tailwindcss/compare/v3.3.3...v3.3.4
@@ -80,7 +80,11 @@ function* buildRegExps(context) {
80
80
  // Utilities
81
81
  _regex.pattern([
82
82
  // Utility Name / Group Name
83
- /-?(?:\w+)/,
83
+ _regex.any([
84
+ /-?(?:\w+)/,
85
+ // This is here to make sure @container supports everything that other utilities do
86
+ /@(?:\w+)/
87
+ ]),
84
88
  // Normal/Arbitrary values
85
89
  _regex.optional(_regex.any([
86
90
  _regex.pattern([
@@ -25,7 +25,7 @@ function _interop_require_default(obj) {
25
25
  }
26
26
  let jiti = null;
27
27
  function useCustomJiti(_jiti) {
28
- jiti = _jiti;
28
+ jiti = _jiti();
29
29
  }
30
30
  function lazyJiti() {
31
31
  return jiti !== null && jiti !== void 0 ? jiti : jiti = (0, _jiti.default)(__filename, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "3.3.6",
3
+ "version": "3.3.7",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -40,7 +40,12 @@ function* buildRegExps(context) {
40
40
  // Utilities
41
41
  regex.pattern([
42
42
  // Utility Name / Group Name
43
- /-?(?:\w+)/,
43
+ regex.any([
44
+ /-?(?:\w+)/,
45
+
46
+ // This is here to make sure @container supports everything that other utilities do
47
+ /@(?:\w+)/,
48
+ ]),
44
49
 
45
50
  // Normal/Arbitrary values
46
51
  regex.optional(
@@ -8,8 +8,8 @@ let jiti: ReturnType<typeof jitiFactory> | null = null
8
8
  // @internal
9
9
  // This WILL be removed in some future release
10
10
  // If you rely on this your stuff WILL break
11
- export function useCustomJiti(_jiti: ReturnType<typeof jitiFactory>) {
12
- jiti = _jiti
11
+ export function useCustomJiti(_jiti: () => ReturnType<typeof jitiFactory>) {
12
+ jiti = _jiti()
13
13
  }
14
14
 
15
15
  function lazyJiti() {