@onereach/styles 2.36.2-beta.2392.0 → 2.36.2-beta.2399.0
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/package.json +1 -1
- package/tailwind.config.preset.js +2 -21
package/package.json
CHANGED
|
@@ -220,6 +220,7 @@ module.exports = {
|
|
|
220
220
|
|
|
221
221
|
addVariant('children', ['& > *']);
|
|
222
222
|
addVariant('first-child', ['& > *:first-child']);
|
|
223
|
+
addVariant('intermediate-child', ['& > *:not(:first-child):not(:last-child)']);
|
|
223
224
|
addVariant('last-child', ['& > *:last-child']);
|
|
224
225
|
|
|
225
226
|
addVariant('links', ['& :any-link']);
|
|
@@ -243,23 +244,16 @@ module.exports = {
|
|
|
243
244
|
return {
|
|
244
245
|
display: prefix + 'flex',
|
|
245
246
|
flexDirection: direction,
|
|
246
|
-
|
|
247
|
-
alignItems: direction === 'row' ? 'center' : undefined,
|
|
247
|
+
alignItems: direction === 'row' ? 'center' : 'normal',
|
|
248
248
|
};
|
|
249
249
|
},
|
|
250
250
|
}, {
|
|
251
251
|
values: {
|
|
252
252
|
'row': 'row',
|
|
253
|
-
'row-reverse': 'row-reverse',
|
|
254
|
-
|
|
255
253
|
'column': 'column',
|
|
256
|
-
'column-reverse': 'column-reverse',
|
|
257
254
|
|
|
258
255
|
'inline-row': 'inline-..row',
|
|
259
|
-
'inline-row-reverse': 'inline-..row-reverse',
|
|
260
|
-
|
|
261
256
|
'inline-column': 'inline-..column',
|
|
262
|
-
'inline-column-reverse': 'inline-..column-reverse',
|
|
263
257
|
},
|
|
264
258
|
});
|
|
265
259
|
}),
|
|
@@ -632,7 +626,6 @@ module.exports = {
|
|
|
632
626
|
'surface-inverse-dark': 'inverse-surface..-dark',
|
|
633
627
|
|
|
634
628
|
'transparent': 'transparent',
|
|
635
|
-
'transparent-dark': 'transparent..-dark',
|
|
636
629
|
},
|
|
637
630
|
});
|
|
638
631
|
|
|
@@ -763,10 +756,7 @@ module.exports = {
|
|
|
763
756
|
'on-surface-inverse-dark': 'inverse-on-surface..-dark',
|
|
764
757
|
|
|
765
758
|
'transparent': 'transparent',
|
|
766
|
-
'transparent-dark': 'transparent..-dark',
|
|
767
|
-
|
|
768
759
|
'inherit': 'inherit',
|
|
769
|
-
'inherit-dark': 'inherit..-dark',
|
|
770
760
|
},
|
|
771
761
|
});
|
|
772
762
|
|
|
@@ -812,10 +802,7 @@ module.exports = {
|
|
|
812
802
|
'error-dark': 'error..-dark',
|
|
813
803
|
|
|
814
804
|
'transparent': 'transparent',
|
|
815
|
-
'transparent-dark': 'transparent..-dark',
|
|
816
|
-
|
|
817
805
|
'current': 'current',
|
|
818
|
-
'current-dark': 'current..-dark',
|
|
819
806
|
},
|
|
820
807
|
});
|
|
821
808
|
|
|
@@ -860,10 +847,7 @@ module.exports = {
|
|
|
860
847
|
'error-dark': 'error..-dark',
|
|
861
848
|
|
|
862
849
|
'transparent': 'transparent',
|
|
863
|
-
'transparent-dark': 'transparent..-dark',
|
|
864
|
-
|
|
865
850
|
'current': 'current',
|
|
866
|
-
'current-dark': 'current..-dark',
|
|
867
851
|
},
|
|
868
852
|
});
|
|
869
853
|
|
|
@@ -911,10 +895,7 @@ module.exports = {
|
|
|
911
895
|
'error-dark': 'error..-dark',
|
|
912
896
|
|
|
913
897
|
'transparent': 'transparent',
|
|
914
|
-
'transparent-dark': 'transparent..-dark',
|
|
915
|
-
|
|
916
898
|
'current': 'current',
|
|
917
|
-
'current-dark': 'current..-dark',
|
|
918
899
|
},
|
|
919
900
|
});
|
|
920
901
|
}),
|