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

@lendi-ui/container

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi-ui/container - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

11

dist/cjs/index.js
"use strict";
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.container = function () { return "\n box-sizing: border-box;\n max-width: 1024px;\n margin: auto;\n"; };
var styled_components_1 = require("styled-components");
var spacing_1 = require("@lendi-ui/spacing");
exports.container = function () { return styled_components_1.css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n max-width: 1200px;\n width: 100%;\n ", ";\n"], ["\n box-sizing: border-box;\n max-width: 1200px;\n width: 100%;\n ", ";\n"])), spacing_1.mx('auto')); };
var Container = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), exports.container);
exports.default = Container;
var templateObject_1, templateObject_2;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,11 @@

export var container = function () { return "\n box-sizing: border-box;\n max-width: 1024px;\n margin: auto;\n"; };
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};
import styled, { css } from 'styled-components';
import { mx } from '@lendi-ui/spacing';
export var container = function () { return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n box-sizing: border-box;\n max-width: 1200px;\n width: 100%;\n ", ";\n"], ["\n box-sizing: border-box;\n max-width: 1200px;\n width: 100%;\n ", ";\n"])), mx('auto')); };
var Container = styled.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), container);
export default Container;
var templateObject_1, templateObject_2;
//# sourceMappingURL=index.js.map

5

dist/types/index.d.ts

@@ -1,1 +0,4 @@

export declare const container: () => string;
/// <reference types="react" />
export declare const container: () => import("styled-components").InterpolationValue[];
declare const Container: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export default Container;
{
"name": "@lendi-ui/container",
"version": "1.0.0",
"version": "2.0.0",
"source": "src/index.ts",

@@ -12,2 +12,8 @@ "main": "dist/cjs/index.js",

"license": "ISC",
"peerDependencies": {
"styled-components": "^2.0.0 || ^3.0.0"
},
"dependencies": {
"@lendi-ui/spacing": "^1.1.0"
},
"scripts": {

@@ -17,4 +23,4 @@ "build:cjs": "tsc --project tsconfig.cjs.json",

"build:types": "tsc --project tsconfig.types.json",
"build": "yarn run build:cjs && yarn run build:esm && yarn run build:types"
"build": "yarn run build:types && yarn run build:cjs && yarn run build:esm"
}
}

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