tailwindcss 0.0.0-oxide-insiders.9e34619 → 0.0.0-oxide-insiders.91b4b93

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
@@ -38,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
38
  - Fix missing `blocklist` member in the `Config` type ([#10239](https://github.com/tailwindlabs/tailwindcss/pull/10239))
39
39
  - Escape group names in selectors ([#10276](https://github.com/tailwindlabs/tailwindcss/pull/10276))
40
40
  - Consider earlier variants before sorting functions ([#10288](https://github.com/tailwindlabs/tailwindcss/pull/10288))
41
+ - Allow variants with slashes ([#10336](https://github.com/tailwindlabs/tailwindcss/pull/10336))
41
42
 
42
43
  ### Changed
43
44
 
@@ -199,7 +199,7 @@ function applyVariant(variant, matches, context) {
199
199
  // Retrieve "modifier"
200
200
  {
201
201
  let match = /(.*)\/(.*)$/g.exec(variant);
202
- if (match) {
202
+ if (match && !context.variantMap.has(variant)) {
203
203
  variant = match[1];
204
204
  args.modifier = match[2];
205
205
  if (!(0, _featureFlags.flagEnabled)(context.tailwindConfig, "generalizedModifiers")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-oxide-insiders.9e34619",
3
+ "version": "0.0.0-oxide-insiders.91b4b93",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -73,7 +73,7 @@
73
73
  "postcss": "^8.0.9"
74
74
  },
75
75
  "dependencies": {
76
- "@tailwindcss/oxide": "0.0.0-oxide-insiders.9e34619",
76
+ "@tailwindcss/oxide": "0.0.0-oxide-insiders.91b4b93",
77
77
  "arg": "^5.0.2",
78
78
  "browserslist": "^4.21.4",
79
79
  "chokidar": "^3.5.3",
@@ -153,7 +153,7 @@ function applyVariant(variant, matches, context) {
153
153
  // Retrieve "modifier"
154
154
  {
155
155
  let match = /(.*)\/(.*)$/g.exec(variant)
156
- if (match) {
156
+ if (match && !context.variantMap.has(variant)) {
157
157
  variant = match[1]
158
158
  args.modifier = match[2]
159
159