@s-ui/react-layout-grid
Advanced tools
Comparing version 1.2.0 to 1.3.0
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import PropTypes from 'prop-types'; | ||
import cx from 'classnames'; | ||
@@ -27,78 +26,2 @@ import { BASE_CLASS, CELL_NUMBERS } from '../settings'; | ||
} | ||
LayoutGridItem.displayName = 'LayoutGridItem'; | ||
LayoutGridItem.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** | ||
* The content of the component. | ||
*/ | ||
children: PropTypes.node, | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `l` breakpoint and wider screens. | ||
*/ | ||
l: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `l` breakpoint and wider screens. | ||
*/ | ||
lOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `m` breakpoint and wider screens. | ||
*/ | ||
m: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `m` breakpoint and wider screens. | ||
*/ | ||
mOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `s` breakpoint and wider screens. | ||
*/ | ||
s: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `s` breakpoint and wider screens. | ||
*/ | ||
sOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `xl` breakpoint and wider screens. | ||
*/ | ||
xl: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `xl` breakpoint and wider screens. | ||
*/ | ||
xlOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `xs` breakpoint and wider screens. | ||
*/ | ||
xs: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `xs` breakpoint and wider screens. | ||
*/ | ||
xsOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `xxl` breakpoint and wider screens. | ||
*/ | ||
xxl: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `xxl` breakpoint and wider screens. | ||
*/ | ||
xxlOffset: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells the component has to fill. It's applied for the `xxs` breakpoint and wider screens. | ||
*/ | ||
xxs: PropTypes.oneOf(CELL_NUMBERS), | ||
/** | ||
* Number of cells offset to move component. It's applied for the `xxs` breakpoint and wider screens. | ||
*/ | ||
xxsOffset: PropTypes.oneOf(CELL_NUMBERS) | ||
} : {}; | ||
LayoutGridItem.displayName = 'LayoutGridItem'; |
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import PropTypes from 'prop-types'; | ||
import LayoutGridItem from './gridItem'; | ||
@@ -19,19 +18,3 @@ import cx from 'classnames'; | ||
LayoutGrid.displayName = 'LayoutGrid'; | ||
LayoutGrid.propTypes = process.env.NODE_ENV !== "production" ? { | ||
/** | ||
* The content of the component. | ||
*/ | ||
children: PropTypes.node, | ||
/** | ||
* Sets the align-self value on all direct children as a group. It's applied for all screen sizes. | ||
*/ | ||
alignItems: PropTypes.oneOf(Object.values(ALIGN_ITEMS)), | ||
/** | ||
* Distribute space between and around content items. It's applied for all screen sizes. | ||
*/ | ||
justifyContent: PropTypes.oneOf(Object.values(JUSTIFY_CONTENT)) | ||
} : {}; | ||
export default LayoutGrid; | ||
export { LayoutGridItem, ALIGN_ITEMS as LayoutGridAlignItems, JUSTIFY_CONTENT as LayoutGridJustifyContent }; |
{ | ||
"name": "@s-ui/react-layout-grid", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
9128
57