@wix/web5-core 1.57.0 → 1.57.1

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.
@@ -78,4 +78,23 @@
78
78
  letter-spacing: inherit;
79
79
  text-transform: none;
80
80
  }
81
+
82
+ /*
83
+ * Layout properties a host theme sets that our utilities never do.
84
+ *
85
+ * Scoping wins the properties we declare; it cannot touch the ones we don't.
86
+ * Tailwind's `grid-cols-*` sets `grid-template-columns` and nothing else, so
87
+ * a theme that also styles a class called `.grid` — Shopify's Horizon
88
+ * declares `grid-template-areas: "column-0 column-1 … column-13"` on it —
89
+ * leaks 14 named areas into our grid. The areas extend the explicit track
90
+ * list, our four `1fr` columns collapse to 0px, and every card in the row
91
+ * renders one character wide. Measured on a stock Horizon store.
92
+ *
93
+ * `grid-template-areas` is the only such leak found so far. Add to this list
94
+ * only with a reproduction: an unproven reset is a layout bug waiting to
95
+ * happen. Our own utilities are (1,1,0) and still win over these.
96
+ */
97
+ * {
98
+ grid-template-areas: none;
99
+ }
81
100
  }
@@ -78,4 +78,23 @@
78
78
  letter-spacing: inherit;
79
79
  text-transform: none;
80
80
  }
81
+
82
+ /*
83
+ * Layout properties a host theme sets that our utilities never do.
84
+ *
85
+ * Scoping wins the properties we declare; it cannot touch the ones we don't.
86
+ * Tailwind's `grid-cols-*` sets `grid-template-columns` and nothing else, so
87
+ * a theme that also styles a class called `.grid` — Shopify's Horizon
88
+ * declares `grid-template-areas: "column-0 column-1 … column-13"` on it —
89
+ * leaks 14 named areas into our grid. The areas extend the explicit track
90
+ * list, our four `1fr` columns collapse to 0px, and every card in the row
91
+ * renders one character wide. Measured on a stock Horizon store.
92
+ *
93
+ * `grid-template-areas` is the only such leak found so far. Add to this list
94
+ * only with a reproduction: an unproven reset is a layout bug waiting to
95
+ * happen. Our own utilities are (1,1,0) and still win over these.
96
+ */
97
+ * {
98
+ grid-template-areas: none;
99
+ }
81
100
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wix/web5-core",
3
3
  "license": "MIT",
4
- "version": "1.57.0",
4
+ "version": "1.57.1",
5
5
  "author": {
6
6
  "name": "tsachis",
7
7
  "email": "tsachis@wix.com"
@@ -100,5 +100,5 @@
100
100
  "wallaby": {
101
101
  "autoDetect": true
102
102
  },
103
- "falconPackageHash": "d81e7d4252b50b94d46bdb6c4a55696d95b2787761303c708cb8bf9e"
103
+ "falconPackageHash": "bd6f112ba8f9815eacc2dbd05fbf5e959ccb53f27ba03ea868d5882c"
104
104
  }
@@ -78,4 +78,23 @@
78
78
  letter-spacing: inherit;
79
79
  text-transform: none;
80
80
  }
81
+
82
+ /*
83
+ * Layout properties a host theme sets that our utilities never do.
84
+ *
85
+ * Scoping wins the properties we declare; it cannot touch the ones we don't.
86
+ * Tailwind's `grid-cols-*` sets `grid-template-columns` and nothing else, so
87
+ * a theme that also styles a class called `.grid` — Shopify's Horizon
88
+ * declares `grid-template-areas: "column-0 column-1 … column-13"` on it —
89
+ * leaks 14 named areas into our grid. The areas extend the explicit track
90
+ * list, our four `1fr` columns collapse to 0px, and every card in the row
91
+ * renders one character wide. Measured on a stock Horizon store.
92
+ *
93
+ * `grid-template-areas` is the only such leak found so far. Add to this list
94
+ * only with a reproduction: an unproven reset is a layout bug waiting to
95
+ * happen. Our own utilities are (1,1,0) and still win over these.
96
+ */
97
+ * {
98
+ grid-template-areas: none;
99
+ }
81
100
  }