tailwindcss 0.0.0-oxide-insiders.da52210 → 0.0.0-oxide-insiders.b17b60e
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/lib/lib/offsets.js +5 -0
- package/package.json +2 -2
- package/src/lib/offsets.js +6 -0
package/lib/lib/offsets.js
CHANGED
|
@@ -167,6 +167,11 @@ class Offsets {
|
|
|
167
167
|
if (a.layer !== b.layer) {
|
|
168
168
|
return this.layerPositions[a.layer] - this.layerPositions[b.layer];
|
|
169
169
|
}
|
|
170
|
+
// When sorting the `variants` layer, we need to sort based on the parent layer as well within
|
|
171
|
+
// this variants layer.
|
|
172
|
+
if (a.parentLayer !== b.parentLayer) {
|
|
173
|
+
return this.layerPositions[a.parentLayer] - this.layerPositions[b.parentLayer];
|
|
174
|
+
}
|
|
170
175
|
// Sort based on the sorting function
|
|
171
176
|
for (let aOptions of a.options){
|
|
172
177
|
for (let bOptions of b.options){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-oxide-insiders.
|
|
3
|
+
"version": "0.0.0-oxide-insiders.b17b60e",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"postcss": "^8.0.9"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tailwindcss/oxide": "0.0.0-oxide-insiders.
|
|
73
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.b17b60e",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
package/src/lib/offsets.js
CHANGED
|
@@ -209,6 +209,12 @@ export class Offsets {
|
|
|
209
209
|
return this.layerPositions[a.layer] - this.layerPositions[b.layer]
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
+
// When sorting the `variants` layer, we need to sort based on the parent layer as well within
|
|
213
|
+
// this variants layer.
|
|
214
|
+
if (a.parentLayer !== b.parentLayer) {
|
|
215
|
+
return this.layerPositions[a.parentLayer] - this.layerPositions[b.parentLayer]
|
|
216
|
+
}
|
|
217
|
+
|
|
212
218
|
// Sort based on the sorting function
|
|
213
219
|
for (let aOptions of a.options) {
|
|
214
220
|
for (let bOptions of b.options) {
|