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