@onereach/styles 2.34.1-beta.2291.0 → 2.34.1-beta.2321.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.2321.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
  }),