@cleartrip/ct-design-container 2.13.0 → 2.14.0-SNAPSHOT.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ct-design-container.browser.cjs.js +1 -1
- package/dist/ct-design-container.browser.cjs.js.map +1 -1
- package/dist/ct-design-container.browser.esm.js +1 -1
- package/dist/ct-design-container.browser.esm.js.map +1 -1
- package/dist/ct-design-container.cjs.js +1 -1
- package/dist/ct-design-container.esm.js +1 -1
- package/dist/ct-design-container.umd.js +2 -2
- package/package.json +5 -4
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t=require("tslib"),i=require("react/jsx-runtime"),r=require("react"),e=require("styled
|
|
1
|
+
"use strict";var t=require("tslib"),i=require("react/jsx-runtime"),r=require("react"),e=require("@emotion/styled");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;
|
|
2
2
|
//# sourceMappingURL=ct-design-container.browser.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-design-container.browser.cjs.js","sources":["../packages/components/Container/src/Container.tsx","../packages/components/Container/src/style.ts"],"sourcesContent":[null,null],"names":["StyledContainer","default","div","_a","css","rest","__rest","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","textAlign","gridTemplateColumns","__assign","getContainerStyles","Container","forwardRef","forwardedRef","as","children","_jsx","jsx","ref"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ct-design-container.browser.cjs.js","sources":["../packages/components/Container/src/Container.tsx","../packages/components/Container/src/style.ts"],"sourcesContent":[null,null],"names":["StyledContainer","default","div","_a","css","rest","__rest","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","textAlign","gridTemplateColumns","__assign","getContainerStyles","Container","forwardRef","forwardedRef","as","children","_jsx","jsx","ref"],"mappings":"0KAUMA,OAAwBC,QAACC,KAAoC,SAACC,GAAE,IAAAC,uBAAkBC,EAApBC,EAAAA,OAAAH,EA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AAYC,EAAUA,YAAC,SAACtC,EAA2BuC,GAAzB,IAAAC,OAAIC,aAAavC,EAAnBC,EAAAA,OAAAH,EAAA,CAAA,KAAA,aAA4C,OACxE0C,EAACC,IAAA9C,EAAgBsC,EAAAA,SAAA,CAAAK,GAAIA,EAAII,IAAKL,GAAkBrC,YAC7CuC,IAEJ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
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
|
|
1
|
+
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"@emotion/styled";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,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,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:u,right:c,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};
|
|
2
2
|
//# sourceMappingURL=ct-design-container.browser.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-design-container.browser.esm.js","sources":["../packages/components/Container/src/style.ts","../packages/components/Container/src/Container.tsx"],"sourcesContent":[null,null],"names":["StyledContainer","styled","div","_a","css","rest","__rest","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","textAlign","gridTemplateColumns","__assign","getContainerStyles","Container","forwardRef","forwardedRef","as","children","_jsx","ref"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ct-design-container.browser.esm.js","sources":["../packages/components/Container/src/style.ts","../packages/components/Container/src/Container.tsx"],"sourcesContent":[null,null],"names":["StyledContainer","styled","div","_a","css","rest","__rest","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","textAlign","gridTemplateColumns","__assign","getContainerStyles","Container","forwardRef","forwardedRef","as","children","_jsx","ref"],"mappings":"uJAGO,ICODA,EAAkBC,EAAOC,KAAoC,SAACC,GAAE,IAAAC,uBAAkBC,EAApBC,EAAAH,EAAA,CAAA,MAAA,aAClE,ODRgC,SAACA,GACjC,IAAAI,eACAC,iBACAC,cACAC,WACAC,YACAC,SACAC,EAAcV,EAAAU,eACdC,EAAQX,EAAAW,SACRC,EAAaZ,EAAAY,cACbC,EAAMb,EAAAa,OACNC,EAASd,EAAAc,UACTC,EAAIf,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3
|
var tslib = require('tslib');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
5
|
var react = require('react');
|
|
6
|
-
var styled = require('styled
|
|
6
|
+
var styled = require('@emotion/styled');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import styled from 'styled
|
|
4
|
+
import styled from '@emotion/styled';
|
|
5
5
|
|
|
6
6
|
var getContainerStyles = function (_a) {
|
|
7
7
|
var alignItems = _a.alignItems, borderRadius = _a.borderRadius, boxShadow = _a.boxShadow, bottom = _a.bottom, display = _a.display, flex = _a.flex, justifyContent = _a.justifyContent, flexWrap = _a.flexWrap, flexDirection = _a.flexDirection, rowGap = _a.rowGap, columnGap = _a.columnGap, left = _a.left, position = _a.position, right = _a.right, top = _a.top, zIndex = _a.zIndex, paddingTop = _a.paddingTop, paddingBottom = _a.paddingBottom, paddingLeft = _a.paddingLeft, paddingRight = _a.paddingRight, marginTop = _a.marginTop, marginBottom = _a.marginBottom, marginLeft = _a.marginLeft, marginRight = _a.marginRight, backgroundColor = _a.backgroundColor, cursor = _a.cursor, width = _a.width, height = _a.height, wordBreak = _a.wordBreak; _a.theme; var textAlign = _a.textAlign, gridTemplateColumns = _a.gridTemplateColumns, rest = __rest(_a, ["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"]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('styled
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', 'styled
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('@emotion/styled')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', '@emotion/styled'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTDesignSystemContainer = {}, global.jsxRuntime, global.React, global.styled));
|
|
5
5
|
})(this, (function (exports, jsxRuntime, react, styled) { 'use strict';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleartrip/ct-design-container",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0-SNAPSHOT.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/ct-design-container.cjs.js",
|
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@cleartrip/ct-design-
|
|
19
|
-
"@cleartrip/ct-design-
|
|
18
|
+
"@cleartrip/ct-design-types": "2.13.0",
|
|
19
|
+
"@cleartrip/ct-design-theme": "2.13.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": ">=16.8.0",
|
|
23
23
|
"react-dom": ">=16.8.0",
|
|
24
|
-
"styled-components": "^5.3.6"
|
|
24
|
+
"styled-components": "^5.3.6",
|
|
25
|
+
"@emotion/styled": "^11.11.5"
|
|
25
26
|
},
|
|
26
27
|
"publishConfig": {
|
|
27
28
|
"access": "public"
|