@theme-ui/components
Advanced tools
Comparing version 0.17.2-develop.0 to 0.17.2-develop.1
@@ -72,9 +72,12 @@ 'use strict'; | ||
const Flex = /*#__PURE__*/React__default["default"].forwardRef(function Flex(props, ref) { | ||
const { | ||
sx | ||
} = props; | ||
return jsxRuntime.jsx(Box$1, { | ||
ref: ref, | ||
...props, | ||
sx: { | ||
sx: theme => ({ | ||
display: 'flex', | ||
...props.sx | ||
} | ||
...(typeof sx === 'function' ? sx(theme) : sx) | ||
}) | ||
}); | ||
@@ -81,0 +84,0 @@ }); |
@@ -72,9 +72,12 @@ 'use strict'; | ||
const Flex = /*#__PURE__*/React__default["default"].forwardRef(function Flex(props, ref) { | ||
const { | ||
sx | ||
} = props; | ||
return jsxRuntime.jsx(Box$1, { | ||
ref: ref, | ||
...props, | ||
sx: { | ||
sx: theme => ({ | ||
display: 'flex', | ||
...props.sx | ||
} | ||
...(typeof sx === 'function' ? sx(theme) : sx) | ||
}) | ||
}); | ||
@@ -81,0 +84,0 @@ }); |
@@ -64,9 +64,12 @@ import { useTheme } from '@emotion/react'; | ||
const Flex = /*#__PURE__*/React.forwardRef(function Flex(props, ref) { | ||
const { | ||
sx | ||
} = props; | ||
return jsx(Box$1, { | ||
ref: ref, | ||
...props, | ||
sx: { | ||
sx: theme => ({ | ||
display: 'flex', | ||
...props.sx | ||
} | ||
...(typeof sx === 'function' ? sx(theme) : sx) | ||
}) | ||
}); | ||
@@ -73,0 +76,0 @@ }); |
{ | ||
"name": "@theme-ui/components", | ||
"version": "0.17.2-develop.0", | ||
"version": "0.17.2-develop.1", | ||
"main": "dist/theme-ui-components.cjs.js", | ||
@@ -13,4 +13,4 @@ "module": "dist/theme-ui-components.esm.js", | ||
"@types/styled-system": "^5.1.13", | ||
"@theme-ui/css": "^0.17.2-develop.0", | ||
"@theme-ui/core": "^0.17.2-develop.0" | ||
"@theme-ui/css": "^0.17.2-develop.1", | ||
"@theme-ui/core": "^0.17.2-develop.1" | ||
}, | ||
@@ -20,3 +20,3 @@ "peerDependencies": { | ||
"react": ">=18", | ||
"@theme-ui/theme-provider": "^0.17.2-develop.0" | ||
"@theme-ui/theme-provider": "^0.17.2-develop.1" | ||
}, | ||
@@ -27,3 +27,3 @@ "devDependencies": { | ||
"react": "^18.1.0", | ||
"@theme-ui/test-utils": "^0.17.2-develop.0" | ||
"@theme-ui/test-utils": "^0.17.2-develop.1" | ||
}, | ||
@@ -30,0 +30,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
236782
7352