tailwindcss 0.0.0-insiders.3229ca0 → 0.0.0-insiders.3767ce2
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/colors.js +2 -1
- package/defaultConfig.js +2 -1
- package/defaultTheme.js +2 -1
- package/lib/corePlugins.js +56 -60
- package/lib/lib/expandApplyAtRules.js +19 -2
- package/lib/lib/resolveDefaultsAtRules.js +23 -9
- package/package.json +3 -3
- package/peers/index.js +117 -191
- package/plugin.js +2 -1
- package/resolveConfig.js +2 -1
- package/src/corePlugins.js +62 -56
- package/src/lib/expandApplyAtRules.js +29 -2
- package/src/lib/resolveDefaultsAtRules.js +28 -7
- package/CHANGELOG.md +0 -1844
package/colors.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
let colors = require('./lib/public/colors')
|
|
2
|
+
module.exports = (colors.__esModule ? colors : { default: colors }).default
|
package/defaultConfig.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
let defaultConfig = require('./lib/public/default-config')
|
|
2
|
+
module.exports = (defaultConfig.__esModule ? defaultConfig : { default: defaultConfig }).default
|
package/defaultTheme.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
let defaultTheme = require('./lib/public/default-theme')
|
|
2
|
+
module.exports = (defaultTheme.__esModule ? defaultTheme : { default: defaultTheme }).default
|
package/lib/corePlugins.js
CHANGED
|
@@ -1004,10 +1004,9 @@ let corePlugins = {
|
|
|
1004
1004
|
touchAction: ({ addBase , addUtilities })=>{
|
|
1005
1005
|
addBase({
|
|
1006
1006
|
'@defaults touch-action': {
|
|
1007
|
-
'--tw-pan-x': '
|
|
1008
|
-
'--tw-pan-y': '
|
|
1009
|
-
'--tw-pinch-zoom': '
|
|
1010
|
-
'--tw-touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1007
|
+
'--tw-pan-x': ' ',
|
|
1008
|
+
'--tw-pan-y': ' ',
|
|
1009
|
+
'--tw-pinch-zoom': ' '
|
|
1011
1010
|
}
|
|
1012
1011
|
});
|
|
1013
1012
|
addUtilities({
|
|
@@ -1021,43 +1020,43 @@ let corePlugins = {
|
|
|
1021
1020
|
'@defaults touch-action': {
|
|
1022
1021
|
},
|
|
1023
1022
|
'--tw-pan-x': 'pan-x',
|
|
1024
|
-
'touch-action': 'var(--tw-
|
|
1023
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1025
1024
|
},
|
|
1026
1025
|
'.touch-pan-left': {
|
|
1027
1026
|
'@defaults touch-action': {
|
|
1028
1027
|
},
|
|
1029
1028
|
'--tw-pan-x': 'pan-left',
|
|
1030
|
-
'touch-action': 'var(--tw-
|
|
1029
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1031
1030
|
},
|
|
1032
1031
|
'.touch-pan-right': {
|
|
1033
1032
|
'@defaults touch-action': {
|
|
1034
1033
|
},
|
|
1035
1034
|
'--tw-pan-x': 'pan-right',
|
|
1036
|
-
'touch-action': 'var(--tw-
|
|
1035
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1037
1036
|
},
|
|
1038
1037
|
'.touch-pan-y': {
|
|
1039
1038
|
'@defaults touch-action': {
|
|
1040
1039
|
},
|
|
1041
1040
|
'--tw-pan-y': 'pan-y',
|
|
1042
|
-
'touch-action': 'var(--tw-
|
|
1041
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1043
1042
|
},
|
|
1044
1043
|
'.touch-pan-up': {
|
|
1045
1044
|
'@defaults touch-action': {
|
|
1046
1045
|
},
|
|
1047
1046
|
'--tw-pan-y': 'pan-up',
|
|
1048
|
-
'touch-action': 'var(--tw-
|
|
1047
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1049
1048
|
},
|
|
1050
1049
|
'.touch-pan-down': {
|
|
1051
1050
|
'@defaults touch-action': {
|
|
1052
1051
|
},
|
|
1053
1052
|
'--tw-pan-y': 'pan-down',
|
|
1054
|
-
'touch-action': 'var(--tw-
|
|
1053
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1055
1054
|
},
|
|
1056
1055
|
'.touch-pinch-zoom': {
|
|
1057
1056
|
'@defaults touch-action': {
|
|
1058
1057
|
},
|
|
1059
1058
|
'--tw-pinch-zoom': 'pinch-zoom',
|
|
1060
|
-
'touch-action': 'var(--tw-
|
|
1059
|
+
'touch-action': 'var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)'
|
|
1061
1060
|
},
|
|
1062
1061
|
'.touch-manipulation': {
|
|
1063
1062
|
'touch-action': 'manipulation'
|
|
@@ -2684,12 +2683,11 @@ let corePlugins = {
|
|
|
2684
2683
|
fontVariantNumeric: ({ addUtilities })=>{
|
|
2685
2684
|
addUtilities({
|
|
2686
2685
|
'@defaults font-variant-numeric': {
|
|
2687
|
-
'--tw-ordinal': '
|
|
2688
|
-
'--tw-slashed-zero': '
|
|
2689
|
-
'--tw-numeric-figure': '
|
|
2690
|
-
'--tw-numeric-spacing': '
|
|
2691
|
-
'--tw-numeric-fraction': '
|
|
2692
|
-
'--tw-font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2686
|
+
'--tw-ordinal': ' ',
|
|
2687
|
+
'--tw-slashed-zero': ' ',
|
|
2688
|
+
'--tw-numeric-figure': ' ',
|
|
2689
|
+
'--tw-numeric-spacing': ' ',
|
|
2690
|
+
'--tw-numeric-fraction': ' '
|
|
2693
2691
|
},
|
|
2694
2692
|
'.normal-nums': {
|
|
2695
2693
|
'font-variant-numeric': 'normal'
|
|
@@ -2698,49 +2696,49 @@ let corePlugins = {
|
|
|
2698
2696
|
'@defaults font-variant-numeric': {
|
|
2699
2697
|
},
|
|
2700
2698
|
'--tw-ordinal': 'ordinal',
|
|
2701
|
-
'font-variant-numeric': 'var(--tw-
|
|
2699
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2702
2700
|
},
|
|
2703
2701
|
'.slashed-zero': {
|
|
2704
2702
|
'@defaults font-variant-numeric': {
|
|
2705
2703
|
},
|
|
2706
2704
|
'--tw-slashed-zero': 'slashed-zero',
|
|
2707
|
-
'font-variant-numeric': 'var(--tw-
|
|
2705
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2708
2706
|
},
|
|
2709
2707
|
'.lining-nums': {
|
|
2710
2708
|
'@defaults font-variant-numeric': {
|
|
2711
2709
|
},
|
|
2712
2710
|
'--tw-numeric-figure': 'lining-nums',
|
|
2713
|
-
'font-variant-numeric': 'var(--tw-
|
|
2711
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2714
2712
|
},
|
|
2715
2713
|
'.oldstyle-nums': {
|
|
2716
2714
|
'@defaults font-variant-numeric': {
|
|
2717
2715
|
},
|
|
2718
2716
|
'--tw-numeric-figure': 'oldstyle-nums',
|
|
2719
|
-
'font-variant-numeric': 'var(--tw-
|
|
2717
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2720
2718
|
},
|
|
2721
2719
|
'.proportional-nums': {
|
|
2722
2720
|
'@defaults font-variant-numeric': {
|
|
2723
2721
|
},
|
|
2724
2722
|
'--tw-numeric-spacing': 'proportional-nums',
|
|
2725
|
-
'font-variant-numeric': 'var(--tw-
|
|
2723
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2726
2724
|
},
|
|
2727
2725
|
'.tabular-nums': {
|
|
2728
2726
|
'@defaults font-variant-numeric': {
|
|
2729
2727
|
},
|
|
2730
2728
|
'--tw-numeric-spacing': 'tabular-nums',
|
|
2731
|
-
'font-variant-numeric': 'var(--tw-
|
|
2729
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2732
2730
|
},
|
|
2733
2731
|
'.diagonal-fractions': {
|
|
2734
2732
|
'@defaults font-variant-numeric': {
|
|
2735
2733
|
},
|
|
2736
2734
|
'--tw-numeric-fraction': 'diagonal-fractions',
|
|
2737
|
-
'font-variant-numeric': 'var(--tw-
|
|
2735
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2738
2736
|
},
|
|
2739
2737
|
'.stacked-fractions': {
|
|
2740
2738
|
'@defaults font-variant-numeric': {
|
|
2741
2739
|
},
|
|
2742
2740
|
'--tw-numeric-fraction': 'stacked-fractions',
|
|
2743
|
-
'font-variant-numeric': 'var(--tw-
|
|
2741
|
+
'font-variant-numeric': 'var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)'
|
|
2744
2742
|
}
|
|
2745
2743
|
});
|
|
2746
2744
|
},
|
|
@@ -3185,7 +3183,7 @@ let corePlugins = {
|
|
|
3185
3183
|
let ringColorDefault = (0, _withAlphaVariable).withAlphaValue(theme('ringColor.DEFAULT'), ringOpacityDefault, `rgb(147 197 253 / ${ringOpacityDefault})`);
|
|
3186
3184
|
addBase({
|
|
3187
3185
|
'@defaults ring-width': {
|
|
3188
|
-
'--tw-ring-inset': '
|
|
3186
|
+
'--tw-ring-inset': ' ',
|
|
3189
3187
|
'--tw-ring-offset-width': theme('ringOffsetWidth.DEFAULT', '0px'),
|
|
3190
3188
|
'--tw-ring-offset-color': theme('ringOffsetColor.DEFAULT', '#fff'),
|
|
3191
3189
|
'--tw-ring-color': ringColorDefault,
|
|
@@ -3399,16 +3397,22 @@ let corePlugins = {
|
|
|
3399
3397
|
filter: ({ addBase , addUtilities })=>{
|
|
3400
3398
|
addBase({
|
|
3401
3399
|
'@defaults filter': {
|
|
3402
|
-
'--tw-blur': '
|
|
3403
|
-
'--tw-brightness': '
|
|
3404
|
-
'--tw-contrast': '
|
|
3405
|
-
'--tw-grayscale': '
|
|
3406
|
-
'--tw-hue-rotate': '
|
|
3407
|
-
'--tw-invert': '
|
|
3408
|
-
'--tw-saturate': '
|
|
3409
|
-
'--tw-sepia': '
|
|
3410
|
-
'--tw-drop-shadow': '
|
|
3411
|
-
|
|
3400
|
+
'--tw-blur': ' ',
|
|
3401
|
+
'--tw-brightness': ' ',
|
|
3402
|
+
'--tw-contrast': ' ',
|
|
3403
|
+
'--tw-grayscale': ' ',
|
|
3404
|
+
'--tw-hue-rotate': ' ',
|
|
3405
|
+
'--tw-invert': ' ',
|
|
3406
|
+
'--tw-saturate': ' ',
|
|
3407
|
+
'--tw-sepia': ' ',
|
|
3408
|
+
'--tw-drop-shadow': ' '
|
|
3409
|
+
}
|
|
3410
|
+
});
|
|
3411
|
+
addUtilities({
|
|
3412
|
+
'.filter': {
|
|
3413
|
+
'@defaults filter': {
|
|
3414
|
+
},
|
|
3415
|
+
filter: [
|
|
3412
3416
|
'var(--tw-blur)',
|
|
3413
3417
|
'var(--tw-brightness)',
|
|
3414
3418
|
'var(--tw-contrast)',
|
|
@@ -3419,13 +3423,6 @@ let corePlugins = {
|
|
|
3419
3423
|
'var(--tw-sepia)',
|
|
3420
3424
|
'var(--tw-drop-shadow)',
|
|
3421
3425
|
].join(' ')
|
|
3422
|
-
}
|
|
3423
|
-
});
|
|
3424
|
-
addUtilities({
|
|
3425
|
-
'.filter': {
|
|
3426
|
-
'@defaults filter': {
|
|
3427
|
-
},
|
|
3428
|
-
filter: 'var(--tw-filter)'
|
|
3429
3426
|
},
|
|
3430
3427
|
'.filter-none': {
|
|
3431
3428
|
filter: 'none'
|
|
@@ -3562,16 +3559,22 @@ let corePlugins = {
|
|
|
3562
3559
|
backdropFilter: ({ addBase , addUtilities })=>{
|
|
3563
3560
|
addBase({
|
|
3564
3561
|
'@defaults backdrop-filter': {
|
|
3565
|
-
'--tw-backdrop-blur': '
|
|
3566
|
-
'--tw-backdrop-brightness': '
|
|
3567
|
-
'--tw-backdrop-contrast': '
|
|
3568
|
-
'--tw-backdrop-grayscale': '
|
|
3569
|
-
'--tw-backdrop-hue-rotate': '
|
|
3570
|
-
'--tw-backdrop-invert': '
|
|
3571
|
-
'--tw-backdrop-opacity': '
|
|
3572
|
-
'--tw-backdrop-saturate': '
|
|
3573
|
-
'--tw-backdrop-sepia': '
|
|
3574
|
-
|
|
3562
|
+
'--tw-backdrop-blur': ' ',
|
|
3563
|
+
'--tw-backdrop-brightness': ' ',
|
|
3564
|
+
'--tw-backdrop-contrast': ' ',
|
|
3565
|
+
'--tw-backdrop-grayscale': ' ',
|
|
3566
|
+
'--tw-backdrop-hue-rotate': ' ',
|
|
3567
|
+
'--tw-backdrop-invert': ' ',
|
|
3568
|
+
'--tw-backdrop-opacity': ' ',
|
|
3569
|
+
'--tw-backdrop-saturate': ' ',
|
|
3570
|
+
'--tw-backdrop-sepia': ' '
|
|
3571
|
+
}
|
|
3572
|
+
});
|
|
3573
|
+
addUtilities({
|
|
3574
|
+
'.backdrop-filter': {
|
|
3575
|
+
'@defaults backdrop-filter': {
|
|
3576
|
+
},
|
|
3577
|
+
'backdrop-filter': [
|
|
3575
3578
|
'var(--tw-backdrop-blur)',
|
|
3576
3579
|
'var(--tw-backdrop-brightness)',
|
|
3577
3580
|
'var(--tw-backdrop-contrast)',
|
|
@@ -3582,13 +3585,6 @@ let corePlugins = {
|
|
|
3582
3585
|
'var(--tw-backdrop-saturate)',
|
|
3583
3586
|
'var(--tw-backdrop-sepia)',
|
|
3584
3587
|
].join(' ')
|
|
3585
|
-
}
|
|
3586
|
-
});
|
|
3587
|
-
addUtilities({
|
|
3588
|
-
'.backdrop-filter': {
|
|
3589
|
-
'@defaults backdrop-filter': {
|
|
3590
|
-
},
|
|
3591
|
-
'backdrop-filter': 'var(--tw-backdrop-filter)'
|
|
3592
3588
|
},
|
|
3593
3589
|
'.backdrop-filter-none': {
|
|
3594
3590
|
'backdrop-filter': 'none'
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
exports.default = expandApplyAtRules;
|
|
6
6
|
var _postcss = _interopRequireDefault(require("postcss"));
|
|
7
|
+
var _postcssSelectorParser = _interopRequireDefault(require("postcss-selector-parser"));
|
|
7
8
|
var _generateRules = require("./generateRules");
|
|
8
9
|
var _bigSign = _interopRequireDefault(require("../util/bigSign"));
|
|
9
10
|
var _escapeClassName = _interopRequireDefault(require("../util/escapeClassName"));
|
|
@@ -12,6 +13,18 @@ function _interopRequireDefault(obj) {
|
|
|
12
13
|
default: obj
|
|
13
14
|
};
|
|
14
15
|
}
|
|
16
|
+
function containsBase(selector, classCandidateBase, separator) {
|
|
17
|
+
return (0, _postcssSelectorParser).default((selectors)=>{
|
|
18
|
+
let contains = false;
|
|
19
|
+
selectors.walkClasses((classSelector)=>{
|
|
20
|
+
if (classSelector.value.split(separator).pop() === classCandidateBase) {
|
|
21
|
+
contains = true;
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
return contains;
|
|
26
|
+
}).transformSync(selector);
|
|
27
|
+
}
|
|
15
28
|
function prefix(context, selector) {
|
|
16
29
|
let prefix1 = context.tailwindConfig.prefix;
|
|
17
30
|
return typeof prefix1 === 'function' ? prefix1(selector) : prefix1 + selector;
|
|
@@ -127,8 +140,8 @@ function processApply(root, context) {
|
|
|
127
140
|
*/ // TODO: Should we use postcss-selector-parser for this instead?
|
|
128
141
|
function replaceSelector(selector, utilitySelectors, candidate) {
|
|
129
142
|
let needle = `.${(0, _escapeClassName).default(candidate)}`;
|
|
130
|
-
let utilitySelectorsList = utilitySelectors.split(/\s
|
|
131
|
-
return selector.split(/\s
|
|
143
|
+
let utilitySelectorsList = utilitySelectors.split(/\s*\,(?![^(]*\))\s*/g);
|
|
144
|
+
return selector.split(/\s*\,(?![^(]*\))\s*/g).map((s)=>{
|
|
132
145
|
let replaced = [];
|
|
133
146
|
for (let utilitySelector of utilitySelectorsList){
|
|
134
147
|
let replacedSelector = utilitySelector.replace(needle, s);
|
|
@@ -173,7 +186,11 @@ function processApply(root, context) {
|
|
|
173
186
|
for (const [parent, candidates] of perParentApplies){
|
|
174
187
|
let siblings = [];
|
|
175
188
|
for (let [applyCandidate, important, rules] of candidates){
|
|
189
|
+
let base = applyCandidate.split(context.tailwindConfig.separator).pop();
|
|
176
190
|
for (let [meta, node] of rules){
|
|
191
|
+
if (containsBase(parent.selector, base, context.tailwindConfig.separator) && containsBase(node.selector, base, context.tailwindConfig.separator)) {
|
|
192
|
+
throw node.error(`Circular dependency detected when using: \`@apply ${applyCandidate}\``);
|
|
193
|
+
}
|
|
177
194
|
let root = _postcss.default.root({
|
|
178
195
|
nodes: [
|
|
179
196
|
node.clone()
|
|
@@ -79,7 +79,7 @@ function extractElementSelector(selector) {
|
|
|
79
79
|
function resolveDefaultsAtRules({ tailwindConfig }) {
|
|
80
80
|
return (root)=>{
|
|
81
81
|
let variableNodeMap = new Map();
|
|
82
|
-
let universals = new Set();
|
|
82
|
+
/** @type {Set<import('postcss').AtRule>} */ let universals = new Set();
|
|
83
83
|
root.walkAtRules('defaults', (rule)=>{
|
|
84
84
|
if (rule.nodes && rule.nodes.length > 0) {
|
|
85
85
|
universals.add(rule);
|
|
@@ -93,32 +93,46 @@ function resolveDefaultsAtRules({ tailwindConfig }) {
|
|
|
93
93
|
rule.remove();
|
|
94
94
|
});
|
|
95
95
|
for (let universal of universals){
|
|
96
|
-
let
|
|
96
|
+
/** @type {Map<string, Set<string>>} */ let selectorGroups = new Map();
|
|
97
97
|
var ref;
|
|
98
98
|
let rules = (ref = variableNodeMap.get(universal.params)) !== null && ref !== void 0 ? ref : [];
|
|
99
99
|
for (let rule of rules){
|
|
100
100
|
for (let selector of extractElementSelector(rule.selector)){
|
|
101
|
+
// If selector contains a vendor prefix after a pseudo element or class,
|
|
102
|
+
// we consider them separately because merging the declarations into
|
|
103
|
+
// a single rule will cause browsers that do not understand the
|
|
104
|
+
// vendor prefix to throw out the whole rule
|
|
105
|
+
let selectorGroupName = selector.includes(':-') || selector.includes('::-') ? selector : '__DEFAULT__';
|
|
106
|
+
var ref1;
|
|
107
|
+
let selectors = (ref1 = selectorGroups.get(selectorGroupName)) !== null && ref1 !== void 0 ? ref1 : new Set();
|
|
108
|
+
selectorGroups.set(selectorGroupName, selectors);
|
|
101
109
|
selectors.add(selector);
|
|
102
110
|
}
|
|
103
111
|
}
|
|
104
|
-
if (
|
|
112
|
+
if (selectorGroups.size === 0) {
|
|
105
113
|
universal.remove();
|
|
106
114
|
continue;
|
|
107
115
|
}
|
|
108
|
-
let universalRule = _postcss.default.rule();
|
|
109
116
|
if ((0, _featureFlags).flagEnabled(tailwindConfig, 'optimizeUniversalDefaults')) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
for (let [, selectors] of selectorGroups){
|
|
118
|
+
let universalRule = _postcss.default.rule();
|
|
119
|
+
universalRule.selectors = [
|
|
120
|
+
...selectors
|
|
121
|
+
];
|
|
122
|
+
universalRule.append(universal.nodes.map((node)=>node.clone()
|
|
123
|
+
));
|
|
124
|
+
universal.before(universalRule);
|
|
125
|
+
}
|
|
113
126
|
} else {
|
|
127
|
+
let universalRule = _postcss.default.rule();
|
|
114
128
|
universalRule.selectors = [
|
|
115
129
|
'*',
|
|
116
130
|
'::before',
|
|
117
131
|
'::after'
|
|
118
132
|
];
|
|
133
|
+
universalRule.append(universal.nodes);
|
|
134
|
+
universal.before(universalRule);
|
|
119
135
|
}
|
|
120
|
-
universalRule.append(universal.nodes);
|
|
121
|
-
universal.before(universalRule);
|
|
122
136
|
universal.remove();
|
|
123
137
|
}
|
|
124
138
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-insiders.
|
|
3
|
+
"version": "0.0.0-insiders.3767ce2",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@swc/cli": "^0.1.52",
|
|
47
47
|
"@swc/core": "^1.2.118",
|
|
48
|
-
"@swc/jest": "^0.
|
|
48
|
+
"@swc/jest": "^0.2.11",
|
|
49
49
|
"@swc/register": "^0.1.7",
|
|
50
50
|
"autoprefixer": "^10.4.0",
|
|
51
51
|
"cross-env": "^7.0.3",
|
|
52
52
|
"cssnano": "^5.0.12",
|
|
53
|
-
"esbuild": "^0.
|
|
53
|
+
"esbuild": "^0.14.2",
|
|
54
54
|
"eslint": "^8.2.0",
|
|
55
55
|
"eslint-config-prettier": "^8.3.0",
|
|
56
56
|
"eslint-plugin-prettier": "^4.0.0",
|