@cleartrip/ct-design-container
Advanced tools
Comparing version 2.12.0-SNAPSHOT-novac-common-changes.0 to 2.12.0
import { ForwardRefComponentWithStyle } from '@cleartrip/ct-design-types'; | ||
import { ContainerProps } from './type'; | ||
type PolymorphicContainer = ForwardRefComponentWithStyle<'main' | 'section' | 'article' | 'div', ContainerProps>; | ||
type PolymorphicContainer = ForwardRefComponentWithStyle<'main' | 'section' | 'article' | 'div' | 'span' | 'p', ContainerProps>; | ||
declare const Container: PolymorphicContainer; | ||
export default Container; | ||
//# sourceMappingURL=Container.d.ts.map |
@@ -1,2 +0,2 @@ | ||
"use strict";var t=require("tslib"),i=require("react/jsx-runtime"),r=require("react"),e=require("styled-components");function o(t){return t&&t.__esModule?t:{default:t}}var n=o(e).default.div((function(i){var r=i.css,e=t.__rest(i,["css"]);return function(i){var r=i.alignItems,e=i.borderRadius,o=i.boxShadow,n=i.bottom,a=i.display,d=i.flex,g=i.justifyContent,s=i.flexWrap,l=i.flexDirection,p=i.rowGap,m=i.columnGap,u=i.left,f=i.position,h=i.right,c=i.top,x=i.zIndex,_=i.paddingTop,b=i.paddingBottom,w=i.paddingLeft,C=i.paddingRight,R=i.marginTop,B=i.marginBottom,T=i.marginLeft,v=i.marginRight,y=i.backgroundColor,k=i.cursor,G=i.width,I=i.height,L=i.wordBreak;i.theme;var j=i.textAlign,q=i.gridTemplateColumns,z=t.__rest(i,["alignItems","borderRadius","boxShadow","bottom","display","flex","justifyContent","flexWrap","flexDirection","rowGap","columnGap","left","position","right","top","zIndex","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","backgroundColor","cursor","width","height","wordBreak","theme","textAlign","gridTemplateColumns"]);return t.__assign({alignItems:r,borderRadius:e,boxShadow:o,bottom:n,display:a,flex:d,justifyContent:g,flexWrap:s,flexDirection:l,rowGap:p,columnGap:m,left:u,position:f,right:h,top:c,zIndex:x,paddingTop:_,paddingBottom:b,paddingLeft:w,paddingRight:C,marginTop:R,marginBottom:B,marginLeft:T,marginRight:v,backgroundColor:y,cursor:k,width:G,height:I,wordBreak:L,textAlign:j,gridTemplateColumns:q},z)}(t.__assign(t.__assign({},e),r))})),a=r.forwardRef((function(r,e){var o=r.as,a=r.children,d=t.__rest(r,["as","children"]);return i.jsx(n,t.__assign({as:o,ref:e},d,{children:a}))}));exports.Container=a; | ||
"use strict";var t=require("tslib"),i=require("react/jsx-runtime"),r=require("react"),e=require("styled-components");function o(t){return t&&t.__esModule?t:{default:t}}var n=o(e).default.div((function(i){var r=i.css;i.children;var e=t.__rest(i,["css","children"]);return function(i){var r=i.alignItems,e=i.borderRadius,o=i.boxShadow,n=i.bottom,a=i.display,d=i.flex,g=i.justifyContent,s=i.flexWrap,l=i.flexDirection,p=i.rowGap,m=i.columnGap,u=i.left,f=i.position,h=i.right,c=i.top,x=i.zIndex,_=i.paddingTop,b=i.paddingBottom,w=i.paddingLeft,C=i.paddingRight,R=i.marginTop,B=i.marginBottom,T=i.marginLeft,v=i.marginRight,y=i.backgroundColor,k=i.cursor,G=i.width,I=i.height,L=i.wordBreak;i.theme;var j=i.textAlign,q=i.gridTemplateColumns,z=t.__rest(i,["alignItems","borderRadius","boxShadow","bottom","display","flex","justifyContent","flexWrap","flexDirection","rowGap","columnGap","left","position","right","top","zIndex","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","backgroundColor","cursor","width","height","wordBreak","theme","textAlign","gridTemplateColumns"]);return t.__assign({alignItems:r,borderRadius:e,boxShadow:o,bottom:n,display:a,flex:d,justifyContent:g,flexWrap:s,flexDirection:l,rowGap:p,columnGap:m,left:u,position:f,right:h,top:c,zIndex:x,paddingTop:_,paddingBottom:b,paddingLeft:w,paddingRight:C,marginTop:R,marginBottom:B,marginLeft:T,marginRight:v,backgroundColor:y,cursor:k,width:G,height:I,wordBreak:L,textAlign:j,gridTemplateColumns:q},z)}(t.__assign(t.__assign({},e),r))})),a=r.forwardRef((function(r,e){var o=r.as,a=r.children,d=t.__rest(r,["as","children"]);return i.jsx(n,t.__assign({as:o,ref:e},d,{children:a}))}));exports.Container=a; | ||
//# sourceMappingURL=ct-design-container.browser.cjs.js.map |
@@ -1,2 +0,2 @@ | ||
import{__rest as t,__assign as o}from"tslib";import{jsx as i}from"react/jsx-runtime";import{forwardRef as r}from"react";import n from"styled-components";var e=n.div((function(i){var r=i.css,n=t(i,["css"]);return function(i){var r=i.alignItems,n=i.borderRadius,e=i.boxShadow,a=i.bottom,d=i.display,g=i.flex,m=i.justifyContent,p=i.flexWrap,l=i.flexDirection,s=i.rowGap,f=i.columnGap,h=i.left,u=i.position,c=i.right,x=i.top,b=i.zIndex,w=i.paddingTop,B=i.paddingBottom,C=i.paddingLeft,R=i.paddingRight,T=i.marginTop,y=i.marginBottom,k=i.marginLeft,v=i.marginRight,G=i.backgroundColor,I=i.cursor,L=i.width,j=i.height,z=i.wordBreak;i.theme;var A=i.textAlign,D=i.gridTemplateColumns,S=t(i,["alignItems","borderRadius","boxShadow","bottom","display","flex","justifyContent","flexWrap","flexDirection","rowGap","columnGap","left","position","right","top","zIndex","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","backgroundColor","cursor","width","height","wordBreak","theme","textAlign","gridTemplateColumns"]);return o({alignItems:r,borderRadius:n,boxShadow:e,bottom:a,display:d,flex:g,justifyContent:m,flexWrap:p,flexDirection:l,rowGap:s,columnGap:f,left:h,position:u,right:c,top:x,zIndex:b,paddingTop:w,paddingBottom:B,paddingLeft:C,paddingRight:R,marginTop:T,marginBottom:y,marginLeft:k,marginRight:v,backgroundColor:G,cursor:I,width:L,height:j,wordBreak:z,textAlign:A,gridTemplateColumns:D},S)}(o(o({},n),r))})),a=r((function(r,n){var a=r.as,d=r.children,g=t(r,["as","children"]);return i(e,o({as:a,ref:n},g,{children:d}))}));export{a as Container}; | ||
import{__rest as t,__assign as o}from"tslib";import{jsx as i}from"react/jsx-runtime";import{forwardRef as r}from"react";import n from"styled-components";var e=n.div((function(i){var r=i.css;i.children;var n=t(i,["css","children"]);return function(i){var r=i.alignItems,n=i.borderRadius,e=i.boxShadow,a=i.bottom,d=i.display,g=i.flex,m=i.justifyContent,p=i.flexWrap,l=i.flexDirection,s=i.rowGap,f=i.columnGap,h=i.left,c=i.position,u=i.right,x=i.top,b=i.zIndex,w=i.paddingTop,B=i.paddingBottom,C=i.paddingLeft,R=i.paddingRight,T=i.marginTop,v=i.marginBottom,y=i.marginLeft,k=i.marginRight,G=i.backgroundColor,I=i.cursor,L=i.width,j=i.height,z=i.wordBreak;i.theme;var A=i.textAlign,D=i.gridTemplateColumns,S=t(i,["alignItems","borderRadius","boxShadow","bottom","display","flex","justifyContent","flexWrap","flexDirection","rowGap","columnGap","left","position","right","top","zIndex","paddingTop","paddingBottom","paddingLeft","paddingRight","marginTop","marginBottom","marginLeft","marginRight","backgroundColor","cursor","width","height","wordBreak","theme","textAlign","gridTemplateColumns"]);return o({alignItems:r,borderRadius:n,boxShadow:e,bottom:a,display:d,flex:g,justifyContent:m,flexWrap:p,flexDirection:l,rowGap:s,columnGap:f,left:h,position:c,right:u,top:x,zIndex:b,paddingTop:w,paddingBottom:B,paddingLeft:C,paddingRight:R,marginTop:T,marginBottom:v,marginLeft:y,marginRight:k,backgroundColor:G,cursor:I,width:L,height:j,wordBreak:z,textAlign:A,gridTemplateColumns:D},S)}(o(o({},n),r))})),a=r((function(r,n){var a=r.as,d=r.children,g=t(r,["as","children"]);return i(e,o({as:a,ref:n},g,{children:d}))}));export{a as Container}; | ||
//# sourceMappingURL=ct-design-container.browser.esm.js.map |
@@ -18,3 +18,3 @@ 'use strict'; | ||
var StyledContainer = styled__default.default.div(function (_a) { | ||
var css = _a.css, rest = tslib.__rest(_a, ["css"]); | ||
var css = _a.css; _a.children; var rest = tslib.__rest(_a, ["css", "children"]); | ||
return getContainerStyles(tslib.__assign(tslib.__assign({}, rest), css)); | ||
@@ -21,0 +21,0 @@ }); |
@@ -12,3 +12,3 @@ import { __rest, __assign } from 'tslib'; | ||
var StyledContainer = styled.div(function (_a) { | ||
var css = _a.css, rest = __rest(_a, ["css"]); | ||
var css = _a.css; _a.children; var rest = __rest(_a, ["css", "children"]); | ||
return getContainerStyles(__assign(__assign({}, rest), css)); | ||
@@ -15,0 +15,0 @@ }); |
@@ -56,3 +56,3 @@ (function (global, factory) { | ||
var StyledContainer = styled__default.default.div(function (_a) { | ||
var css = _a.css, rest = __rest(_a, ["css"]); | ||
var css = _a.css; _a.children; var rest = __rest(_a, ["css", "children"]); | ||
return getContainerStyles(__assign(__assign({}, rest), css)); | ||
@@ -59,0 +59,0 @@ }); |
{ | ||
"name": "@cleartrip/ct-design-container", | ||
"version": "2.12.0-SNAPSHOT-novac-common-changes.0", | ||
"version": "2.12.0", | ||
"description": "", | ||
@@ -18,4 +18,4 @@ "types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"@cleartrip/ct-design-theme": "2.12.0-SNAPSHOT-novac-common-changes.0", | ||
"@cleartrip/ct-design-types": "2.12.0-SNAPSHOT-novac-common-changes.0" | ||
"@cleartrip/ct-design-types": "2.12.0", | ||
"@cleartrip/ct-design-theme": "2.12.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "peerDependencies": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2
0
53904
19