Comparing version 2.5.13 to 2.5.14
@@ -267,3 +267,3 @@ #!/usr/bin/env node | ||
// eslint-disable-next-line quotes | ||
return "windicss 2.5.13"; // replace by rollup | ||
return "windicss 2.5.14"; // replace by rollup | ||
} | ||
@@ -270,0 +270,0 @@ function generateTemplate(folder, outputPath) { |
{ | ||
"name": "windicss", | ||
"version": "2.5.13", | ||
"version": "2.5.14", | ||
"description": "Next generation tailwindcss compiler.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -169,3 +169,3 @@ 'use strict'; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'utilities', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'utilities', group: 'plugin', order: 99999 }; | ||
this.name = name; | ||
@@ -281,3 +281,3 @@ this.value = value; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'components', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'components', group: 'plugin', order: 99999 }; | ||
this.selector = selector; | ||
@@ -284,0 +284,0 @@ this.important = important; |
@@ -0,4 +1,5 @@ | ||
export declare type LayerName = 'base' | 'utilities' | 'components'; | ||
declare type Meta = { | ||
type: ('base' | 'utilities' | 'components'); | ||
corePlugin: boolean; | ||
type: LayerName; | ||
corePlugin?: boolean; | ||
group: string; | ||
@@ -5,0 +6,0 @@ order: number; |
@@ -197,3 +197,3 @@ 'use strict'; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'utilities', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'utilities', group: 'plugin', order: 99999 }; | ||
this.name = name; | ||
@@ -309,3 +309,3 @@ this.value = value; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'components', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'components', group: 'plugin', order: 99999 }; | ||
this.selector = selector; | ||
@@ -1308,2 +1308,3 @@ this.important = important; | ||
var order = layerOrder['components']; | ||
var group = 'block'; | ||
if (!parent) | ||
@@ -1323,3 +1324,3 @@ return styles; | ||
} | ||
i.updateMeta({ type: layer, corePlugin: false, group: 'block', order: order }); | ||
i.updateMeta({ type: layer, group: group, order: order }); | ||
_this._addCache(i); | ||
@@ -1343,2 +1344,3 @@ }); | ||
order = layerOrder[layer]; | ||
group = 'layer-block'; | ||
} | ||
@@ -1355,3 +1357,3 @@ else if ('variants' in directives) { | ||
output.map(function (i) { | ||
i.updateMeta({ type: layer, corePlugin: false, group: 'block', order: order }); | ||
i.updateMeta({ type: layer, group: group, order: order }); | ||
_this._addCache(i); | ||
@@ -1365,3 +1367,3 @@ }); | ||
i.atRule(atrule_1); | ||
i.updateMeta({ type: layer, corePlugin: false, group: 'block', order: order }); | ||
i.updateMeta({ type: layer, group: group, order: order }); | ||
_this._addCache(i); | ||
@@ -1368,0 +1370,0 @@ }); |
@@ -153,3 +153,3 @@ 'use strict'; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'utilities', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'utilities', group: 'plugin', order: 99999 }; | ||
this.name = name; | ||
@@ -265,3 +265,3 @@ this.value = value; | ||
if (important === void 0) { important = false; } | ||
this.meta = { type: 'components', corePlugin: false, group: 'plugin', order: 99999 }; | ||
this.meta = { type: 'components', group: 'plugin', order: 99999 }; | ||
this.selector = selector; | ||
@@ -268,0 +268,0 @@ this.important = important; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40387
1475278