Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

layout-emotions

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

layout-emotions - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

src/spacing/index.ts

26

dist/index.js

@@ -116,2 +116,27 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// src/layout/container.ts

// src/spacing/index.ts
var spacingCSS = `
.my-1 {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
.my-2 {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.my-3 {
margin-top: 1rem;
margin-bottom: 1rem;
}
.my-4 {
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.my-5 {
margin-top: 3rem;
margin-bottom: 3rem;
}
`;
var spacing_default = spacingCSS;
// src/layout/row.ts

@@ -136,2 +161,3 @@ var Row = _styled2.default.div`

${columns_default}
${spacing_default}
`;

@@ -138,0 +164,0 @@

5

package.json
{
"name": "layout-emotions",
"version": "1.0.4",
"version": "1.0.5",
"description": "Collection of layout emotion components",

@@ -26,4 +26,3 @@ "main": "dist/index.js",

"dependencies": {
"@emotion/styled": "^11.10.6",
"@manojadams/metaforms-core": "^2.0.2"
"@emotion/styled": "^11.10.6"
},

@@ -30,0 +29,0 @@ "devDependencies": {

2

src/layout/row.ts
import styled from "@emotion/styled";
import columnsCSS from "./columns";
import spacingCSS from "./../spacing";

@@ -22,2 +23,3 @@ export const Row = styled.div`

${columnsCSS}
${spacingCSS}
`;

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