@onereach/styles 2.34.1-beta.2291.0 → 2.34.1-beta.2324.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.34.1-beta.2291.0",
3
+ "version": "2.34.1-beta.2324.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -218,7 +218,6 @@ module.exports = {
218
218
 
219
219
  addVariant('children', ['& > *']);
220
220
  addVariant('first-child', ['& > *:first-child']);
221
- addVariant('intermediate-child', ['& > *:not(:first-child):not(:last-child)']);
222
221
  addVariant('last-child', ['& > *:last-child']);
223
222
 
224
223
  addVariant('links', ['& :any-link']);
@@ -242,16 +241,23 @@ module.exports = {
242
241
  return {
243
242
  display: prefix + 'flex',
244
243
  flexDirection: direction,
245
- alignItems: direction === 'row' ? 'center' : 'normal',
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
  }),
@@ -621,6 +627,7 @@ module.exports = {
621
627
  'surface-inverse-dark': 'inverse-surface..-dark',
622
628
 
623
629
  'transparent': 'transparent',
630
+ 'transparent-dark': 'transparent..-dark',
624
631
  },
625
632
  });
626
633
 
@@ -751,7 +758,10 @@ module.exports = {
751
758
  'on-surface-inverse-dark': 'inverse-on-surface..-dark',
752
759
 
753
760
  'transparent': 'transparent',
761
+ 'transparent-dark': 'transparent..-dark',
762
+
754
763
  'inherit': 'inherit',
764
+ 'inherit-dark': 'inherit..-dark',
755
765
  },
756
766
  });
757
767
 
@@ -797,7 +807,10 @@ module.exports = {
797
807
  'error-dark': 'error..-dark',
798
808
 
799
809
  'transparent': 'transparent',
810
+ 'transparent-dark': 'transparent..-dark',
811
+
800
812
  'current': 'current',
813
+ 'current-dark': 'current..-dark',
801
814
  },
802
815
  });
803
816
 
@@ -842,7 +855,10 @@ module.exports = {
842
855
  'error-dark': 'error..-dark',
843
856
 
844
857
  'transparent': 'transparent',
858
+ 'transparent-dark': 'transparent..-dark',
859
+
845
860
  'current': 'current',
861
+ 'current-dark': 'current..-dark',
846
862
  },
847
863
  });
848
864
 
@@ -890,7 +906,10 @@ module.exports = {
890
906
  'error-dark': 'error..-dark',
891
907
 
892
908
  'transparent': 'transparent',
909
+ 'transparent-dark': 'transparent..-dark',
910
+
893
911
  'current': 'current',
912
+ 'current-dark': 'current..-dark',
894
913
  },
895
914
  });
896
915
  }),