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

@cleartrip/ct-design-container

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cleartrip/ct-design-container - npm Package Compare versions

Comparing version 3.14.0-SNAPSHOT-emotion-exp.0 to 3.14.0-beta-mevc.0

2

dist/ct-design-container.browser.cjs.js

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

"use strict";var o=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),e=require("@emotion/styled");function i(o){return o&&o.__esModule?o:{default:o}}var r=i(e).default.div((function(n){var t=n.css;n.children,n.onClick,n.onAnimationEnd,n.onAnimationStart,n.onDoubleClick,n.onBlur,n.onTouchStart,n.onTouchEnd,n.onMouseEnter,n.onMouseLeave,n.onFocus,n.onKeyDown,n.onPointerEnter,n.onPointerLeave,n.onTouchCancel,n.onTouchMove;var e=o.__rest(n,["css","children","onClick","onAnimationEnd","onAnimationStart","onDoubleClick","onBlur","onTouchStart","onTouchEnd","onMouseEnter","onMouseLeave","onFocus","onKeyDown","onPointerEnter","onPointerLeave","onTouchCancel","onTouchMove"]);return function(n){var t=n.alignItems,e=n.borderRadius,i=n.boxShadow,r=n.bottom,a=n.display,d=n.flex,l=n.justifyContent,s=n.flexWrap,u=n.flexDirection,g=n.rowGap,c=n.columnGap,m=n.left,p=n.position,h=n.right,f=n.top,x=n.zIndex,T=n.paddingTop,C=n.paddingBottom,_=n.paddingLeft,b=n.paddingRight,w=n.marginTop,v=n.marginBottom,B=n.marginLeft,k=n.marginRight,L=n.backgroundColor,R=n.cursor,y=n.width,E=n.height,A=n.wordBreak;n.theme;var D=n.textAlign,M=n.gridTemplateColumns,S=o.__rest(n,["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.__assign({alignItems:t,borderRadius:e,boxShadow:i,bottom:r,display:a,flex:d,justifyContent:l,flexWrap:s,flexDirection:u,rowGap:g,columnGap:c,left:m,position:p,right:h,top:f,zIndex:x,paddingTop:T,paddingBottom:C,paddingLeft:_,paddingRight:b,marginTop:w,marginBottom:v,marginLeft:B,marginRight:k,backgroundColor:L,cursor:R,width:y,height:E,wordBreak:A,textAlign:D,gridTemplateColumns:M},S)}(o.__assign(o.__assign({},e),t))})),a=t.forwardRef((function(t,e){var i=t.as,a=t.children,d=o.__rest(t,["as","children"]);return n.jsx(r,o.__assign({as:i,ref:e},d,{children:a}))}));exports.Container=a;
"use strict";var o=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),e=require("styled-components");function i(o){return o&&o.__esModule?o:{default:o}}var r=i(e).default.div((function(n){var t=n.css;n.children,n.onClick,n.onAnimationEnd,n.onAnimationStart,n.onDoubleClick,n.onBlur,n.onTouchStart,n.onTouchEnd,n.onMouseEnter,n.onMouseLeave,n.onFocus,n.onKeyDown,n.onPointerEnter,n.onPointerLeave,n.onTouchCancel,n.onTouchMove;var e=o.__rest(n,["css","children","onClick","onAnimationEnd","onAnimationStart","onDoubleClick","onBlur","onTouchStart","onTouchEnd","onMouseEnter","onMouseLeave","onFocus","onKeyDown","onPointerEnter","onPointerLeave","onTouchCancel","onTouchMove"]);return function(n){var t=n.alignItems,e=n.borderRadius,i=n.boxShadow,r=n.bottom,a=n.display,d=n.flex,s=n.justifyContent,l=n.flexWrap,u=n.flexDirection,g=n.rowGap,c=n.columnGap,m=n.left,p=n.position,h=n.right,f=n.top,x=n.zIndex,T=n.paddingTop,C=n.paddingBottom,_=n.paddingLeft,b=n.paddingRight,w=n.marginTop,v=n.marginBottom,B=n.marginLeft,k=n.marginRight,L=n.backgroundColor,R=n.cursor,y=n.width,E=n.height,A=n.wordBreak;n.theme;var D=n.textAlign,M=n.gridTemplateColumns,S=o.__rest(n,["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.__assign({alignItems:t,borderRadius:e,boxShadow:i,bottom:r,display:a,flex:d,justifyContent:s,flexWrap:l,flexDirection:u,rowGap:g,columnGap:c,left:m,position:p,right:h,top:f,zIndex:x,paddingTop:T,paddingBottom:C,paddingLeft:_,paddingRight:b,marginTop:w,marginBottom:v,marginLeft:B,marginRight:k,backgroundColor:L,cursor:R,width:y,height:E,wordBreak:A,textAlign:D,gridTemplateColumns:M},S)}(o.__assign(o.__assign({},e),t))})),a=t.forwardRef((function(t,e){var i=t.as,a=t.children,d=o.__rest(t,["as","children"]);return n.jsx(r,o.__assign({as:i,ref:e},d,{children:a}))}));exports.Container=a;
//# sourceMappingURL=ct-design-container.browser.cjs.js.map

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

import{__rest as o,__assign as n}from"tslib";import{jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import e from"@emotion/styled";var r=e.div((function(t){var i=t.css;t.children,t.onClick,t.onAnimationEnd,t.onAnimationStart,t.onDoubleClick,t.onBlur,t.onTouchStart,t.onTouchEnd,t.onMouseEnter,t.onMouseLeave,t.onFocus,t.onKeyDown,t.onPointerEnter,t.onPointerLeave,t.onTouchCancel,t.onTouchMove;var e=o(t,["css","children","onClick","onAnimationEnd","onAnimationStart","onDoubleClick","onBlur","onTouchStart","onTouchEnd","onMouseEnter","onMouseLeave","onFocus","onKeyDown","onPointerEnter","onPointerLeave","onTouchCancel","onTouchMove"]);return function(t){var i=t.alignItems,e=t.borderRadius,r=t.boxShadow,a=t.bottom,d=t.display,l=t.flex,m=t.justifyContent,g=t.flexWrap,p=t.flexDirection,u=t.rowGap,c=t.columnGap,s=t.left,h=t.position,f=t.right,x=t.top,T=t.zIndex,b=t.paddingTop,C=t.paddingBottom,w=t.paddingLeft,v=t.paddingRight,B=t.marginTop,k=t.marginBottom,L=t.marginLeft,y=t.marginRight,R=t.backgroundColor,E=t.cursor,A=t.width,D=t.height,S=t.wordBreak;t.theme;var G=t.textAlign,I=t.gridTemplateColumns,M=o(t,["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 n({alignItems:i,borderRadius:e,boxShadow:r,bottom:a,display:d,flex:l,justifyContent:m,flexWrap:g,flexDirection:p,rowGap:u,columnGap:c,left:s,position:h,right:f,top:x,zIndex:T,paddingTop:b,paddingBottom:C,paddingLeft:w,paddingRight:v,marginTop:B,marginBottom:k,marginLeft:L,marginRight:y,backgroundColor:R,cursor:E,width:A,height:D,wordBreak:S,textAlign:G,gridTemplateColumns:I},M)}(n(n({},e),i))})),a=i((function(i,e){var a=i.as,d=i.children,l=o(i,["as","children"]);return t(r,n({as:a,ref:e},l,{children:d}))}));export{a as Container};
import{__rest as o,__assign as n}from"tslib";import{jsx as t}from"react/jsx-runtime";import{forwardRef as i}from"react";import e from"styled-components";var r=e.div((function(t){var i=t.css;t.children,t.onClick,t.onAnimationEnd,t.onAnimationStart,t.onDoubleClick,t.onBlur,t.onTouchStart,t.onTouchEnd,t.onMouseEnter,t.onMouseLeave,t.onFocus,t.onKeyDown,t.onPointerEnter,t.onPointerLeave,t.onTouchCancel,t.onTouchMove;var e=o(t,["css","children","onClick","onAnimationEnd","onAnimationStart","onDoubleClick","onBlur","onTouchStart","onTouchEnd","onMouseEnter","onMouseLeave","onFocus","onKeyDown","onPointerEnter","onPointerLeave","onTouchCancel","onTouchMove"]);return function(t){var i=t.alignItems,e=t.borderRadius,r=t.boxShadow,a=t.bottom,d=t.display,l=t.flex,m=t.justifyContent,g=t.flexWrap,p=t.flexDirection,u=t.rowGap,c=t.columnGap,s=t.left,h=t.position,f=t.right,x=t.top,T=t.zIndex,b=t.paddingTop,C=t.paddingBottom,w=t.paddingLeft,v=t.paddingRight,B=t.marginTop,k=t.marginBottom,L=t.marginLeft,y=t.marginRight,R=t.backgroundColor,E=t.cursor,A=t.width,D=t.height,S=t.wordBreak;t.theme;var G=t.textAlign,I=t.gridTemplateColumns,M=o(t,["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 n({alignItems:i,borderRadius:e,boxShadow:r,bottom:a,display:d,flex:l,justifyContent:m,flexWrap:g,flexDirection:p,rowGap:u,columnGap:c,left:s,position:h,right:f,top:x,zIndex:T,paddingTop:b,paddingBottom:C,paddingLeft:w,paddingRight:v,marginTop:B,marginBottom:k,marginLeft:L,marginRight:y,backgroundColor:R,cursor:E,width:A,height:D,wordBreak:S,textAlign:G,gridTemplateColumns:I},M)}(n(n({},e),i))})),a=i((function(i,e){var a=i.as,d=i.children,l=o(i,["as","children"]);return t(r,n({as:a,ref:e},l,{children:d}))}));export{a as Container};
//# sourceMappingURL=ct-design-container.browser.esm.js.map

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

var react = require('react');
var styled = require('@emotion/styled');
var styled = require('styled-components');

@@ -9,0 +9,0 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

import { __rest, __assign } from 'tslib';
import { jsx } from 'react/jsx-runtime';
import { forwardRef } from 'react';
import styled from '@emotion/styled';
import styled from 'styled-components';

@@ -6,0 +6,0 @@ var getContainerStyles = function (_a) {

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('@emotion/styled')) :
typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', '@emotion/styled'], factory) :
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('styled-components')) :
typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', 'styled-components'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.CTDesignSystemContainer = {}, global.jsxRuntime, global.React, global.styled));

@@ -5,0 +5,0 @@ })(this, (function (exports, jsxRuntime, react, styled) { 'use strict';

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

import type { CSSObject } from '@emotion/styled';
import type { CSSObject } from 'styled-components';
import { CSSWithTheme } from '@cleartrip/ct-design-types';
export declare const getContainerStyles: ({ 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, ...rest }: CSSWithTheme) => CSSObject;
//# sourceMappingURL=style.d.ts.map

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

import type { CSSObject } from '@emotion/styled';
import type { CSSObject } from 'styled-components';
import { HtmlCompositeAttributes } from '@cleartrip/ct-design-types';

@@ -3,0 +3,0 @@ export type ContainerDefaultProps = {

{
"name": "@cleartrip/ct-design-container",
"version": "3.14.0-SNAPSHOT-emotion-exp.0",
"version": "3.14.0-beta-mevc.0",
"description": "",

@@ -18,9 +18,9 @@ "types": "dist/index.d.ts",

"devDependencies": {
"@emotion/babel-plugin": "^11.12.0",
"@cleartrip/ct-design-types": "3.14.0-SNAPSHOT-emotion-exp.0",
"@cleartrip/ct-design-theme": "3.14.0-SNAPSHOT-emotion-exp.0"
"@cleartrip/ct-design-theme": "3.14.0-beta-mevc.0",
"@cleartrip/ct-design-types": "3.14.0-beta-mevc.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
"react-dom": ">=16.8.0",
"styled-components": "^5.3.6"
},

@@ -32,6 +32,2 @@ "publishConfig": {

"license": "ISC",
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0"
},
"scripts": {

@@ -38,0 +34,0 @@ "watch-package": "rollup -c -w",

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