@onereach/styles 2.35.1-beta.2355.0 → 2.35.1-beta.2356.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 +21 -2
package/package.json
CHANGED
|
@@ -142,7 +142,6 @@ module.exports = {
|
|
|
142
142
|
},
|
|
143
143
|
|
|
144
144
|
boxShadow: {
|
|
145
|
-
'none': '0 0 #0000',
|
|
146
145
|
...parseBoxShadowTokens(boxShadowTokens),
|
|
147
146
|
DEFAULT: '0 1px 1px rgba(0 0 0 / 0.24), 0 0 1px rgba(0 0 0 / 0.16)',
|
|
148
147
|
},
|
|
@@ -242,16 +241,23 @@ module.exports = {
|
|
|
242
241
|
return {
|
|
243
242
|
display: prefix + 'flex',
|
|
244
243
|
flexDirection: direction,
|
|
245
|
-
|
|
244
|
+
flex: prefix === 'inline-' ? '0 0 auto' : undefined,
|
|
245
|
+
alignItems: direction === 'row' ? 'center' : undefined,
|
|
246
246
|
};
|
|
247
247
|
},
|
|
248
248
|
}, {
|
|
249
249
|
values: {
|
|
250
250
|
'row': 'row',
|
|
251
|
+
'row-reverse': 'row-reverse',
|
|
252
|
+
|
|
251
253
|
'column': 'column',
|
|
254
|
+
'column-reverse': 'column-reverse',
|
|
252
255
|
|
|
253
256
|
'inline-row': 'inline-..row',
|
|
257
|
+
'inline-row-reverse': 'inline-..row-reverse',
|
|
258
|
+
|
|
254
259
|
'inline-column': 'inline-..column',
|
|
260
|
+
'inline-column-reverse': 'inline-..column-reverse',
|
|
255
261
|
},
|
|
256
262
|
});
|
|
257
263
|
}),
|
|
@@ -624,6 +630,7 @@ module.exports = {
|
|
|
624
630
|
'surface-inverse-dark': 'inverse-surface..-dark',
|
|
625
631
|
|
|
626
632
|
'transparent': 'transparent',
|
|
633
|
+
'transparent-dark': 'transparent..-dark',
|
|
627
634
|
},
|
|
628
635
|
});
|
|
629
636
|
|
|
@@ -754,7 +761,10 @@ module.exports = {
|
|
|
754
761
|
'on-surface-inverse-dark': 'inverse-on-surface..-dark',
|
|
755
762
|
|
|
756
763
|
'transparent': 'transparent',
|
|
764
|
+
'transparent-dark': 'transparent..-dark',
|
|
765
|
+
|
|
757
766
|
'inherit': 'inherit',
|
|
767
|
+
'inherit-dark': 'inherit..-dark',
|
|
758
768
|
},
|
|
759
769
|
});
|
|
760
770
|
|
|
@@ -800,7 +810,10 @@ module.exports = {
|
|
|
800
810
|
'error-dark': 'error..-dark',
|
|
801
811
|
|
|
802
812
|
'transparent': 'transparent',
|
|
813
|
+
'transparent-dark': 'transparent..-dark',
|
|
814
|
+
|
|
803
815
|
'current': 'current',
|
|
816
|
+
'current-dark': 'current..-dark',
|
|
804
817
|
},
|
|
805
818
|
});
|
|
806
819
|
|
|
@@ -845,7 +858,10 @@ module.exports = {
|
|
|
845
858
|
'error-dark': 'error..-dark',
|
|
846
859
|
|
|
847
860
|
'transparent': 'transparent',
|
|
861
|
+
'transparent-dark': 'transparent..-dark',
|
|
862
|
+
|
|
848
863
|
'current': 'current',
|
|
864
|
+
'current-dark': 'current..-dark',
|
|
849
865
|
},
|
|
850
866
|
});
|
|
851
867
|
|
|
@@ -893,7 +909,10 @@ module.exports = {
|
|
|
893
909
|
'error-dark': 'error..-dark',
|
|
894
910
|
|
|
895
911
|
'transparent': 'transparent',
|
|
912
|
+
'transparent-dark': 'transparent..-dark',
|
|
913
|
+
|
|
896
914
|
'current': 'current',
|
|
915
|
+
'current-dark': 'current..-dark',
|
|
897
916
|
},
|
|
898
917
|
});
|
|
899
918
|
}),
|