tailwindcss 0.0.0-oxide-insiders.5e9470c → 0.0.0-oxide-insiders.ba56e42
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/corePlugins.js +3 -18
- package/package.json +2 -2
- package/src/corePlugins.js +3 -18
package/lib/corePlugins.js
CHANGED
|
@@ -257,20 +257,8 @@ let variantPlugins = {
|
|
|
257
257
|
}
|
|
258
258
|
},
|
|
259
259
|
directionVariants: ({ addVariant })=>{
|
|
260
|
-
addVariant("ltr",
|
|
261
|
-
|
|
262
|
-
"The RTL features in Tailwind CSS are currently in preview.",
|
|
263
|
-
"Preview features are not covered by semver, and may be improved in breaking ways at any time."
|
|
264
|
-
]);
|
|
265
|
-
return '[dir="ltr"] &';
|
|
266
|
-
});
|
|
267
|
-
addVariant("rtl", ()=>{
|
|
268
|
-
_log.default.warn("rtl-experimental", [
|
|
269
|
-
"The RTL features in Tailwind CSS are currently in preview.",
|
|
270
|
-
"Preview features are not covered by semver, and may be improved in breaking ways at any time."
|
|
271
|
-
]);
|
|
272
|
-
return '[dir="rtl"] &';
|
|
273
|
-
});
|
|
260
|
+
addVariant("ltr", '[dir="ltr"] &');
|
|
261
|
+
addVariant("rtl", '[dir="rtl"] &');
|
|
274
262
|
},
|
|
275
263
|
reducedMotionVariants: ({ addVariant })=>{
|
|
276
264
|
addVariant("motion-safe", "@media (prefers-reduced-motion: no-preference)");
|
|
@@ -646,10 +634,7 @@ let corePlugins = {
|
|
|
646
634
|
[
|
|
647
635
|
"inset",
|
|
648
636
|
[
|
|
649
|
-
"
|
|
650
|
-
"right",
|
|
651
|
-
"bottom",
|
|
652
|
-
"left"
|
|
637
|
+
"inset"
|
|
653
638
|
]
|
|
654
639
|
],
|
|
655
640
|
[
|
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.ba56e42",
|
|
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.ba56e42",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
package/src/corePlugins.js
CHANGED
|
@@ -199,23 +199,8 @@ export let variantPlugins = {
|
|
|
199
199
|
},
|
|
200
200
|
|
|
201
201
|
directionVariants: ({ addVariant }) => {
|
|
202
|
-
addVariant('ltr',
|
|
203
|
-
|
|
204
|
-
'The RTL features in Tailwind CSS are currently in preview.',
|
|
205
|
-
'Preview features are not covered by semver, and may be improved in breaking ways at any time.',
|
|
206
|
-
])
|
|
207
|
-
|
|
208
|
-
return '[dir="ltr"] &'
|
|
209
|
-
})
|
|
210
|
-
|
|
211
|
-
addVariant('rtl', () => {
|
|
212
|
-
log.warn('rtl-experimental', [
|
|
213
|
-
'The RTL features in Tailwind CSS are currently in preview.',
|
|
214
|
-
'Preview features are not covered by semver, and may be improved in breaking ways at any time.',
|
|
215
|
-
])
|
|
216
|
-
|
|
217
|
-
return '[dir="rtl"] &'
|
|
218
|
-
})
|
|
202
|
+
addVariant('ltr', '[dir="ltr"] &')
|
|
203
|
+
addVariant('rtl', '[dir="rtl"] &')
|
|
219
204
|
},
|
|
220
205
|
|
|
221
206
|
reducedMotionVariants: ({ addVariant }) => {
|
|
@@ -641,7 +626,7 @@ export let corePlugins = {
|
|
|
641
626
|
inset: createUtilityPlugin(
|
|
642
627
|
'inset',
|
|
643
628
|
[
|
|
644
|
-
['inset', ['
|
|
629
|
+
['inset', ['inset']],
|
|
645
630
|
[
|
|
646
631
|
['inset-x', ['left', 'right']],
|
|
647
632
|
['inset-y', ['top', 'bottom']],
|