tailwindcss 0.0.0-oxide-insiders.9bbdd9b → 0.0.0-oxide-insiders.261a8b4

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/package.json +5 -5
  2. package/peers/index.js +12 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-oxide-insiders.9bbdd9b",
3
+ "version": "0.0.0-oxide-insiders.261a8b4",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -54,13 +54,13 @@
54
54
  "@swc/register": "0.1.10",
55
55
  "autoprefixer": "^10.4.13",
56
56
  "concurrently": "^7.5.0",
57
- "cssnano": "^5.1.14",
57
+ "cssnano": "^5.1.15",
58
58
  "esbuild": "^0.17.4",
59
59
  "eslint": "^8.34.0",
60
60
  "eslint-config-prettier": "^8.6.0",
61
61
  "eslint-plugin-prettier": "^4.2.1",
62
- "jest": "^29.4.1",
63
- "jest-diff": "^29.4.1",
62
+ "jest": "^29.4.3",
63
+ "jest-diff": "^29.4.3",
64
64
  "prettier": "^2.8.4",
65
65
  "rimraf": "^4.1.2",
66
66
  "source-map-js": "^1.0.2",
@@ -70,7 +70,7 @@
70
70
  "postcss": "^8.0.9"
71
71
  },
72
72
  "dependencies": {
73
- "@tailwindcss/oxide": "0.0.0-oxide-insiders.9bbdd9b",
73
+ "@tailwindcss/oxide": "0.0.0-oxide-insiders.261a8b4",
74
74
  "arg": "^5.0.2",
75
75
  "browserslist": "^4.21.5",
76
76
  "chokidar": "^3.5.3",
package/peers/index.js CHANGED
@@ -30620,7 +30620,6 @@ var require_toInitial = __commonJS({
30620
30620
  "mask-clip": "border-box",
30621
30621
  "mask-mode": "match-source",
30622
30622
  "mask-origin": "border-box",
30623
- "mask-repeat": "no-repeat",
30624
30623
  "mask-type": "luminance",
30625
30624
  "ruby-align": "space-around",
30626
30625
  "ruby-merge": "separate",
@@ -75932,7 +75931,7 @@ var require_src10 = __commonJS({
75932
75931
  return {
75933
75932
  OnceExit(css) {
75934
75933
  css.walkDecls((decl) => {
75935
- if (/^(composes|font|filter|-webkit-tap-highlight-color)/i.test(
75934
+ if (/^(composes|font|src$|filter|-webkit-tap-highlight-color)/i.test(
75936
75935
  decl.prop
75937
75936
  )) {
75938
75937
  return;
@@ -80423,12 +80422,18 @@ var require_src22 = __commonJS({
80423
80422
  if (!a.base && !b.base) {
80424
80423
  return true;
80425
80424
  }
80426
- if (a.base !== b.base) {
80425
+ if (a.base !== b.base && a.base !== "place" && b.base !== "place") {
80427
80426
  return false;
80428
80427
  }
80429
80428
  if (a.rest.length !== b.rest.length) {
80430
80429
  return true;
80431
80430
  }
80431
+ if (a.base === "border") {
80432
+ const allRestProps = /* @__PURE__ */ new Set([...a.rest, ...b.rest]);
80433
+ if (allRestProps.has("image") || allRestProps.has("width") || allRestProps.has("color") || allRestProps.has("style")) {
80434
+ return true;
80435
+ }
80436
+ }
80432
80437
  return a.rest.every((s, index) => b.rest[index] === s);
80433
80438
  }
80434
80439
  function mergeParents(first, second) {
@@ -80444,7 +80449,7 @@ var require_src22 = __commonJS({
80444
80449
  }
80445
80450
  function partialMerge(first, second) {
80446
80451
  let intersection = intersect(getDecls(first), getDecls(second));
80447
- if (!intersection.length) {
80452
+ if (intersection.length === 0) {
80448
80453
  return second;
80449
80454
  }
80450
80455
  let nextRule = second.next();
@@ -80468,13 +80473,10 @@ var require_src22 = __commonJS({
80468
80473
  intersection = intersection.filter((decl, intersectIndex) => {
80469
80474
  const indexOfDecl = indexOfDeclaration(firstDecls, decl);
80470
80475
  const nextConflictInFirst = firstDecls.slice(indexOfDecl + 1).filter((d) => isConflictingProp(d.prop, decl.prop));
80471
- if (!nextConflictInFirst.length) {
80476
+ if (nextConflictInFirst.length === 0) {
80472
80477
  return true;
80473
80478
  }
80474
80479
  const nextConflictInIntersection = intersection.slice(intersectIndex + 1).filter((d) => isConflictingProp(d.prop, decl.prop));
80475
- if (!nextConflictInIntersection.length) {
80476
- return false;
80477
- }
80478
80480
  if (nextConflictInFirst.length !== nextConflictInIntersection.length) {
80479
80481
  return false;
80480
80482
  }
@@ -80501,7 +80503,7 @@ var require_src22 = __commonJS({
80501
80503
  secondDecls.splice(nextConflictIndex, 1);
80502
80504
  return true;
80503
80505
  });
80504
- if (!intersection.length) {
80506
+ if (intersection.length === 0) {
80505
80507
  return second;
80506
80508
  }
80507
80509
  const receivingBlock = second.clone();
@@ -80530,7 +80532,7 @@ var require_src22 = __commonJS({
80530
80532
  first.replaceWith(firstClone);
80531
80533
  second.replaceWith(secondClone);
80532
80534
  [firstClone, receivingBlock, secondClone].forEach((r) => {
80533
- if (!r.nodes.length) {
80535
+ if (r.nodes.length === 0) {
80534
80536
  r.remove();
80535
80537
  }
80536
80538
  });