New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@s-ui/react-layout-grid

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-layout-grid - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

79

lib/gridItem/index.js
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 };

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc