Socket
Socket
Sign inDemoInstall

@bsara/react-layouts

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bsara/react-layouts - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

2

GridLayout/GridLayout.js

@@ -31,3 +31,3 @@ 'use strict';

*
* Copyright (c) 2017, Brandon D. Sara (https://bsara.pro/)
* Copyright (c) 2018, Brandon D. Sara (https://bsara.pro/)
*

@@ -34,0 +34,0 @@ * Permission to use, copy, modify, and/or distribute this software for any

@@ -30,4 +30,4 @@ 'use strict';

'linear-layout': 'rl-d8af8a4c',
'horizontal': 'rl-c00799cd',
'vertical': 'rl-ce2602cf'
'linear-layout-horizontal': 'rl-b6ac2d51',
'linear-layout-vertical': 'rl-f1eedeb0'
}

@@ -44,3 +44,3 @@ };

*
* Copyright (c) 2017, Brandon D. Sara (https://bsara.pro/)
* Copyright (c) 2018, Brandon D. Sara (https://bsara.pro/)
*

@@ -88,3 +88,3 @@ * Permission to use, copy, modify, and/or distribute this software for any

'div',
_extends({}, elementProps, { ref: domRef, className: (className ? className + ' ' : '') + (0, _getClassName3.default)('linear-layout ' + (isDirectionVertical ? 'vertical' : 'horizontal'), _styleModuleImportMap)
_extends({}, elementProps, { ref: domRef, className: (className ? className + ' ' : '') + (0, _getClassName3.default)('linear-layout ' + (isDirectionVertical ? 'linear-layout-vertical' : 'linear-layout-horizontal'), _styleModuleImportMap)
}),

@@ -91,0 +91,0 @@ children

{
"name": "@bsara/react-layouts",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "A collection of generic, reusable layout components",

@@ -33,3 +33,3 @@ "authors": [

"build": "npm run clean && npm run build:styles && npm run build:scripts",
"dist:copyBuild": "cp -r ./build/* ./ && find . -name '*Layout/*.map' -exec sed -i 's/\\.\\.\\/\\.\\.\\/src/\\.\\.\\/src/' {} \\;",
"dist:copyBuild": "cp -r ./build/* ./ && find . -name '*Layout*.map' -exec sed -i 's/\\.\\.\\/\\.\\.\\/src/\\.\\.\\/src/' {} \\;",
"dist": "npm run build && npm run clean:dist && npm run dist:copyBuild",

@@ -50,15 +50,10 @@ "sb": "npm run storybook",

},
"dependencies": {
"babel-plugin-react-css-modules": "^3.3.2",
"prop-types": ">=15.6.0",
"react": "^16.2.0"
},
"devDependencies": {
"@bsara/eslint-config-react": "^1.1.0",
"@bsara/stylelint-config": "^1.2.1",
"@storybook/react": "^3.2.16",
"@storybook/react": "^3.3.13",
"autoprefixer": "^7.1.6",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-eslint": "^8.2.2",
"babel-preset-es2015": "^6.24.1",

@@ -71,8 +66,14 @@ "babel-preset-es2016": "^6.24.1",

"postcss-cli": "^4.1.1",
"postcss-discard-comments": "^2.0.4",
"postcss-modules": "^1.1.0",
"postcss-nested": "^2.1.2",
"postcss-nested": "^3.0.0",
"postcss-nesting": "^4.2.1",
"react-dom": "^16.2.0",
"stylelint": "^8.2.0"
},
"dependencies": {
"babel-plugin-react-css-modules": "^3.3.3",
"prop-types": ">=15.6.0",
"react": ">=16.2.0"
}
}

@@ -40,3 +40,3 @@ # react-layouts [![NPM Package](https://img.shields.io/npm/v/@bsara/react-layouts.svg?style=flat-square)][npm]

Copyright (c) 2017, Brandon D. Sara (http://bsara.pro/)
Copyright (c) 2018, Brandon D. Sara (http://bsara.pro/)

@@ -43,0 +43,0 @@ Permission to use, copy, modify, and/or distribute this software for any

@@ -5,3 +5,3 @@

*
* Copyright (c) 2017, Brandon D. Sara (https://bsara.pro/)
* Copyright (c) 2018, Brandon D. Sara (https://bsara.pro/)
*

@@ -8,0 +8,0 @@ * Permission to use, copy, modify, and/or distribute this software for any

@@ -5,3 +5,3 @@

*
* Copyright (c) 2017, Brandon D. Sara (https://bsara.pro/)
* Copyright (c) 2018, Brandon D. Sara (https://bsara.pro/)
*

@@ -45,3 +45,3 @@ * Permission to use, copy, modify, and/or distribute this software for any

return (
<div {...elementProps} styleName={`linear-layout ${isDirectionVertical ? 'vertical' : 'horizontal'}`} className={className} ref={domRef}>
<div {...elementProps} styleName={`linear-layout ${isDirectionVertical ? 'linear-layout-vertical' : 'linear-layout-horizontal'}`} className={className} ref={domRef}>
{children}

@@ -48,0 +48,0 @@ </div>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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