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

@cleartrip/ct-design-theme

Package Overview
Dependencies
Maintainers
0
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.5.0-SNAPSHORT-bs-shimmer-carousal.0 to 3.5.0-SNAPSHORT-misc-design.0

2

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

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

"use strict";var r=require("tslib"),o=require("@cleartrip/ct-design-tokens"),l=require("styled-components"),e=require("react/jsx-runtime"),a=require("react"),s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};var c={enabled:{stroke:o.colors.neutral900},disabled:{stroke:o.colors.neutral500}},t={color:{text:{primary:o.colors.neutral900,secondary:o.colors.brandText,tertiary:o.colors.neutral500,heading:o.colors.neutral900,subHeading:o.colors.neutral700,disabled:o.colors.disabledText,success:o.colors.successText,alert:o.colors.alertText,warning:o.colors.warningText,link:o.colors.linkText,brand:o.colors.brandText,neutral:o.colors.neutral100,link2:o.colors.link2,margarita:o.colors.margarita750,primary2:o.colors.grapetini900},button:{outlinedPrimaryLabel:o.colors.neutral900,outlinedPrimaryBorder:o.colors.neutral900,outlinedPrimaryBg:o.colors.neutral100,outlinedSecondaryLabel:o.colors.brand,outlinedSecondaryBorder:o.colors.brand,outlinedSecondaryBg:o.colors.neutral100,outlinedTertiaryLabel:o.colors.link,outlinedTertiaryBorder:o.colors.link,outlinedTertiaryBg:o.colors.neutral100,outlinedDisabledLabel:o.colors.disabledText,outlinedDisabledBg:o.colors.neutral300,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.neutral900,containedSecondaryLabel:o.colors.neutral100,containedSecondaryBg:o.colors.brand,containedTertiaryLabel:o.colors.neutral100,containedTertiaryBg:o.colors.link,containedDisabledLabel:o.colors.disabledText,containedDisabledBg:o.colors.neutral300,containedNeutralLabel:o.colors.neutral900,containedNeutralBg:o.colors.neutral100,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}},chip:{nonSelectedPrimaryLabel:o.colors.neutral900,disabledPrimaryLabel:o.colors.disabledText,selectedPrimaryLabel:o.colors.neutral900,selectedPrimaryBorder:o.colors.neutral900,selectedPrimaryBg:o.colors.neutral300},dropdown:{shadow:o.colors.shadow},tab:{nonSelectedPrimaryLabel:o.colors.neutral700,selectedPrimaryLabel:o.colors.neutral900},sidenav:{primaryBg:o.colors.neutral900,selectedTabBg:o.colors.highlightBg},tooltip:{primaryBg:o.colors.neutral900},background:{primary:o.colors.neutral900,secondary:o.colors.brand,tertiary:o.colors.link,brand:o.colors.brand,brandLightBg:o.colors.brandBg,link:o.colors.link,link2:o.colors.link2,linkLightBg:o.colors.linkBg,success:o.colors.success,successLightBg:o.colors.successBg,alert:o.colors.alert,alertLightBg:o.colors.alertBg,warning:o.colors.warning,warningLightBg:o.colors.warningBg,neutral:o.colors.neutral100,disabled:o.colors.neutral300,disabledSecondaryLight:o.colors.neutral350,disabledSecondary:o.colors.neutral400,disabledDark:o.colors.disabled100,defaultDark:o.colors.neutral700,defaultDarkest:o.colors.neutral900},border:{primary:o.colors.neutral900,secondary:o.colors.brand,tertiary:o.colors.link,brand:o.colors.brand,neutral:o.colors.neutral900,link:o.colors.link,default:o.colors.line,defaultDark:o.colors.neutral700,disabled:o.colors.neutral500,disabledDark:o.colors.disabled100,warning:o.colors.warning},spinner:{primary:o.colors.neutral700,primaryBg:o.colors.alertBg},shimmer:{disabledLight:o.colors.disabledLight,disabledDark:o.colors.disabled250},coupon:{primaryBg:o.colors.blue100},alert:{success:o.colors.successBg,warning:o.colors.alertBg,info:o.colors.blue100,error:o.colors.orange100,neutral:o.colors.neutral100},badge:{curacao:o.colors.curacao250,pinaColada:o.colors.pinaColada250,margarita250:o.colors.margarita250,default:o.colors.neutral300,green:o.colors.successBg,margarita100:o.colors.margarita100,yellow:o.colors.alertBg,orange100:o.colors.orange100,orange250:o.colors.orange250,red:o.colors.warningBg,green500:o.colors.success500,green600:o.colors.success600,purple100:o.colors.purple100,purple250:o.colors.purple250,gray100:o.colors.gray100,gray250:o.colors.gray250,aqua100:o.colors.aqua100,aqua250:o.colors.aqua250,black:o.colors.black,link:o.colors.link,blue100:o.colors.blue100,neutral100:o.colors.neutral100},counter:c,calendar:{accent:o.colors.neutral900,background:o.colors.neutral300,selected:o.colors.neutral900}},elevation:r.__assign({},o.elevation),border:r.__assign({},o.border),spacing:r.__assign({},o.spacing),typography:r.__assign({},o.typography),size:r.__assign({},o.size),transitions:{duration:s,easing:n,create:function(r,o){void 0===r&&(r=["all"]),void 0===o&&(o={});var l=o.duration,e=void 0===l?s.standard:l,a=o.easing,c=void 0===a?n.easeInOut:a,t=o.delay,i=void 0===t?0:t;return(Array.isArray(r)?r:[r]).map((function(r){return"".concat(r," ").concat("string"==typeof e?e:"".concat(e,"ms")," ").concat(c," ").concat("string"==typeof i?i:"".concat(i,"ms"))})).join(",")},getAutoHeightDuration:function(r){if(!r)return 0;var o=r/36;return Math.round(10*(4+15*Math.pow(o,.25)+o/5))}},zIndex:{drawer:1200,modal:1300,popOver:1300,tooltip:1500,sideNav:100,toolbar:50,bottomSheet:100}},i=r.__assign({},t),u=r.__assign(r.__assign({},t),{color:r.__assign(r.__assign({},t.color),{text:r.__assign(r.__assign({},t.color.text),{secondary:o.colors.link2,tertiary:o.colors.neutral500}),button:r.__assign(r.__assign({},t.color.button),{outlinedPrimaryLabel:o.colors.link2,outlinedPrimaryBorder:o.colors.link2,outlinedPrimaryBg:o.colors.neutral100,outlinedSecondaryLabel:o.colors.neutral900,outlinedSecondaryBorder:o.colors.neutral900,outlinedSecondaryBg:o.colors.neutral100,outlinedTertiaryLabel:o.colors.brand,outlinedTertiaryBorder:o.colors.brand,outlinedTertiaryBg:o.colors.neutral100,outlinedDisabledLabel:o.colors.disabledText,outlinedDisabledBg:o.colors.neutral300,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.link2,containedSecondaryLabel:o.colors.neutral100,containedSecondaryBg:o.colors.neutral900,containedTertiaryLabel:o.colors.neutral100,containedTertiaryBg:o.colors.brand,containedDisabledLabel:o.colors.disabledText,containedDisabledBg:o.colors.neutral300,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}}),chip:r.__assign(r.__assign({},t.color.chip),{selectedPrimaryLabel:o.colors.link2,selectedPrimaryBorder:o.colors.link2,selectedPrimaryBg:o.colors.linkBg}),tab:r.__assign(r.__assign({},t.color.tab),{nonSelectedPrimaryLabel:o.colors.neutral900,selectedPrimaryLabel:o.colors.link2}),background:r.__assign(r.__assign({},t.color.background),{primary:o.colors.link2,secondary:o.colors.neutral900,tertiary:o.colors.brand}),border:r.__assign(r.__assign({},t.color.border),{primary:o.colors.link2,secondary:o.colors.neutral900,tertiary:o.colors.brand}),spinner:{primary:o.colors.link2,primaryBg:o.colors.alertBg},calendar:{accent:"",background:"",selected:o.colors.link2}})}),d={enabled:{stroke:o.colors.bluePrimary500},disabled:{stroke:o.colors.neutral500}},b=r.__assign(r.__assign({},t),{color:r.__assign(r.__assign({},t.color),{text:r.__assign(r.__assign({},t.color.text),{link:o.colors.bluePrimary500}),button:r.__assign(r.__assign({},t.color.button),{outlinedPrimaryLabel:o.colors.primaryNeutral900,outlinedPrimaryBg:o.colors.neutral100,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.bluePrimary500,containedSecondaryLabel:o.colors.primaryNeutral900,containedSecondaryBg:o.colors.yellowSecondary,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}}),chip:r.__assign(r.__assign({},t.color.chip),{selectedPrimaryLabel:o.colors.link2,selectedPrimaryBorder:o.colors.link2,selectedPrimaryBg:o.colors.linkBg,nonSelectedPrimaryLabel:o.colors.neutral900}),tab:r.__assign(r.__assign({},t.color.tab),{nonSelectedPrimaryLabel:o.colors.neutral900,selectedPrimaryLabel:o.colors.bluePrimary500}),background:r.__assign(r.__assign({},t.color.background),{primary:o.colors.bluePrimary500,secondary:o.colors.neutral900,tertiary:o.colors.brand,linkLightBg:o.colors.blueSecondary}),border:r.__assign(r.__assign({},t.color.border),{primary:o.colors.bluePrimary500,brand:o.colors.bluePrimary500}),spinner:{primary:o.colors.link2,primaryBg:o.colors.alertBg},counter:d,calendar:{accent:o.colors.bluePrimary500,background:o.colors.blueSecondary,selected:o.colors.bluePrimary500}})}),g=a.createContext({theme:i,platform:"mobile"}),y=function(o){var a=o.children,s=o.theme,n=void 0===s?"B2C":s,c=o.platform,t=void 0===c?"mobile":c,d=function(r){switch(r){case"B2C":default:return i;case"B2B":return u;case"FK":return b}}(n);return e.jsx(g.Provider,r.__assign({value:{theme:d,platform:t}},{children:e.jsx(l.ThemeProvider,r.__assign({theme:d},{children:e.jsx(e.Fragment,{children:a})}))}))};y.defaultProps={children:null};exports.B2BTheme=u,exports.B2CTheme=i,exports.BaseTheme=t,exports.FKTheme=b,exports.ThemeContext=g,exports.ThemeProvider=y,exports.useTheme=function(){return(a.useContext(g)||{theme:i}).theme},exports.useThemeContext=function(){return a.useContext(g)};
"use strict";var r=require("tslib"),o=require("@cleartrip/ct-design-tokens"),l=require("styled-components"),e=require("react/jsx-runtime"),a=require("react"),s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};var c={enabled:{stroke:o.colors.neutral900},disabled:{stroke:o.colors.neutral500}},t={color:{text:{primary:o.colors.neutral900,secondary:o.colors.brandText,tertiary:o.colors.neutral500,heading:o.colors.neutral900,subHeading:o.colors.neutral700,disabled:o.colors.disabledText,success:o.colors.successText,alert:o.colors.alertText,warning:o.colors.warningText,link:o.colors.linkText,brand:o.colors.brandText,neutral:o.colors.neutral100,link2:o.colors.link2,margarita:o.colors.margarita750,primary2:o.colors.grapetini900},button:{outlinedPrimaryLabel:o.colors.neutral900,outlinedPrimaryBorder:o.colors.neutral900,outlinedPrimaryBg:o.colors.neutral100,outlinedSecondaryLabel:o.colors.brand,outlinedSecondaryBorder:o.colors.brand,outlinedSecondaryBg:o.colors.neutral100,outlinedTertiaryLabel:o.colors.link,outlinedTertiaryBorder:o.colors.link,outlinedTertiaryBg:o.colors.neutral100,outlinedDisabledLabel:o.colors.disabledText,outlinedDisabledBg:o.colors.neutral300,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.neutral900,containedSecondaryLabel:o.colors.neutral100,containedSecondaryBg:o.colors.brand,containedTertiaryLabel:o.colors.neutral100,containedTertiaryBg:o.colors.link,containedDisabledLabel:o.colors.disabledText,containedDisabledBg:o.colors.neutral300,containedNeutralLabel:o.colors.neutral900,containedNeutralBg:o.colors.neutral100,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}},chip:{nonSelectedPrimaryLabel:o.colors.neutral900,disabledPrimaryLabel:o.colors.disabledText,selectedPrimaryLabel:o.colors.neutral900,selectedPrimaryBorder:o.colors.neutral900,selectedPrimaryBg:o.colors.neutral300},dropdown:{shadow:o.colors.shadow},tab:{nonSelectedPrimaryLabel:o.colors.neutral700,selectedPrimaryLabel:o.colors.neutral900},sidenav:{primaryBg:o.colors.neutral900,selectedTabBg:o.colors.highlightBg},tooltip:{primaryBg:o.colors.neutral900},background:{primary:o.colors.neutral900,secondary:o.colors.brand,tertiary:o.colors.link,brand:o.colors.brand,brandLightBg:o.colors.brandBg,link:o.colors.link,link2:o.colors.link2,linkLightBg:o.colors.linkBg,success:o.colors.success,successLightBg:o.colors.successBg,alert:o.colors.alert,alertLightBg:o.colors.alertBg,warning:o.colors.warning,warningLightBg:o.colors.warningBg,neutral:o.colors.neutral100,disabled:o.colors.neutral300,disabledSecondaryLight:o.colors.neutral350,disabledSecondary:o.colors.neutral400,disabledDark:o.colors.disabled100,defaultDark:o.colors.neutral700,defaultDarkest:o.colors.neutral900},border:{primary:o.colors.neutral900,secondary:o.colors.brand,tertiary:o.colors.link,brand:o.colors.brand,neutral:o.colors.neutral900,link:o.colors.link,default:o.colors.line,defaultDark:o.colors.neutral700,disabled:o.colors.neutral500,disabledDark:o.colors.disabled100,warning:o.colors.warning},spinner:{primary:o.colors.neutral700,primaryBg:o.colors.alertBg},coupon:{primaryBg:o.colors.blue100},alert:{success:o.colors.successBg,warning:o.colors.alertBg,info:o.colors.blue100,error:o.colors.orange100,neutral:o.colors.neutral100},badge:{curacao:o.colors.curacao250,pinaColada:o.colors.pinaColada250,margarita250:o.colors.margarita250,default:o.colors.neutral300,green:o.colors.successBg,margarita100:o.colors.margarita100,yellow:o.colors.alertBg,orange100:o.colors.orange100,orange250:o.colors.orange250,red:o.colors.warningBg,green500:o.colors.success500,green600:o.colors.success600,purple100:o.colors.purple100,purple250:o.colors.purple250,gray100:o.colors.gray100,gray250:o.colors.gray250,aqua100:o.colors.aqua100,aqua250:o.colors.aqua250,black:o.colors.black,link:o.colors.link,blue100:o.colors.blue100,neutral100:o.colors.neutral100},counter:c,calendar:{accent:o.colors.neutral900,background:o.colors.neutral300,selected:o.colors.neutral900}},elevation:r.__assign({},o.elevation),border:r.__assign({},o.border),spacing:r.__assign({},o.spacing),typography:r.__assign({},o.typography),size:r.__assign({},o.size),transitions:{duration:s,easing:n,create:function(r,o){void 0===r&&(r=["all"]),void 0===o&&(o={});var l=o.duration,e=void 0===l?s.standard:l,a=o.easing,c=void 0===a?n.easeInOut:a,t=o.delay,i=void 0===t?0:t;return(Array.isArray(r)?r:[r]).map((function(r){return"".concat(r," ").concat("string"==typeof e?e:"".concat(e,"ms")," ").concat(c," ").concat("string"==typeof i?i:"".concat(i,"ms"))})).join(",")},getAutoHeightDuration:function(r){if(!r)return 0;var o=r/36;return Math.round(10*(4+15*Math.pow(o,.25)+o/5))}},zIndex:{drawer:1200,modal:1300,popOver:1300,tooltip:1500,sideNav:100,toolbar:50}},i=r.__assign({},t),u=r.__assign(r.__assign({},t),{color:r.__assign(r.__assign({},t.color),{text:r.__assign(r.__assign({},t.color.text),{secondary:o.colors.link2,tertiary:o.colors.neutral500}),button:r.__assign(r.__assign({},t.color.button),{outlinedPrimaryLabel:o.colors.link2,outlinedPrimaryBorder:o.colors.link2,outlinedPrimaryBg:o.colors.neutral100,outlinedSecondaryLabel:o.colors.neutral900,outlinedSecondaryBorder:o.colors.neutral900,outlinedSecondaryBg:o.colors.neutral100,outlinedTertiaryLabel:o.colors.brand,outlinedTertiaryBorder:o.colors.brand,outlinedTertiaryBg:o.colors.neutral100,outlinedDisabledLabel:o.colors.disabledText,outlinedDisabledBg:o.colors.neutral300,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.link2,containedSecondaryLabel:o.colors.neutral100,containedSecondaryBg:o.colors.neutral900,containedTertiaryLabel:o.colors.neutral100,containedTertiaryBg:o.colors.brand,containedDisabledLabel:o.colors.disabledText,containedDisabledBg:o.colors.neutral300,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}}),chip:r.__assign(r.__assign({},t.color.chip),{selectedPrimaryLabel:o.colors.link2,selectedPrimaryBorder:o.colors.link2,selectedPrimaryBg:o.colors.linkBg}),tab:r.__assign(r.__assign({},t.color.tab),{nonSelectedPrimaryLabel:o.colors.neutral900,selectedPrimaryLabel:o.colors.link2}),background:r.__assign(r.__assign({},t.color.background),{primary:o.colors.link2,secondary:o.colors.neutral900,tertiary:o.colors.brand}),border:r.__assign(r.__assign({},t.color.border),{primary:o.colors.link2,secondary:o.colors.neutral900,tertiary:o.colors.brand}),spinner:{primary:o.colors.link2,primaryBg:o.colors.alertBg},calendar:{accent:"",background:"",selected:o.colors.link2}})}),d={enabled:{stroke:o.colors.bluePrimary500},disabled:{stroke:o.colors.neutral500}},g=r.__assign(r.__assign({},t),{color:r.__assign(r.__assign({},t.color),{text:r.__assign(r.__assign({},t.color.text),{link:o.colors.bluePrimary500}),button:r.__assign(r.__assign({},t.color.button),{outlinedPrimaryLabel:o.colors.primaryNeutral900,outlinedPrimaryBg:o.colors.neutral100,containedPrimaryLabel:o.colors.neutral100,containedPrimaryBg:o.colors.bluePrimary500,containedSecondaryLabel:o.colors.primaryNeutral900,containedSecondaryBg:o.colors.yellowSecondary,hover:function(r){var l;return((l={})[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.brand]=o.colors.bgPrimaryHover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.link2]=o.colors.link2Hover,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.neutral900]=o.colors.neutral900,l[o.colors.neutral100]=o.colors.neutral100,l[o.colors.disabledText]=o.colors.disabledText,l[o.colors.neutral300]=o.colors.neutral300,l)[r]}}),chip:r.__assign(r.__assign({},t.color.chip),{selectedPrimaryLabel:o.colors.link2,selectedPrimaryBorder:o.colors.link2,selectedPrimaryBg:o.colors.linkBg,nonSelectedPrimaryLabel:o.colors.neutral900}),tab:r.__assign(r.__assign({},t.color.tab),{nonSelectedPrimaryLabel:o.colors.neutral900,selectedPrimaryLabel:o.colors.bluePrimary500}),background:r.__assign(r.__assign({},t.color.background),{primary:o.colors.bluePrimary500,secondary:o.colors.neutral900,tertiary:o.colors.brand,linkLightBg:o.colors.blueSecondary}),border:r.__assign(r.__assign({},t.color.border),{primary:o.colors.bluePrimary500,brand:o.colors.bluePrimary500}),spinner:{primary:o.colors.link2,primaryBg:o.colors.alertBg},counter:d,calendar:{accent:o.colors.bluePrimary500,background:o.colors.blueSecondary,selected:o.colors.bluePrimary500}})}),b=a.createContext({theme:i,platform:"mobile"}),y=function(o){var a=o.children,s=o.theme,n=void 0===s?"B2C":s,c=o.platform,t=void 0===c?"mobile":c,d=function(r){switch(r){case"B2C":default:return i;case"B2B":return u;case"FK":return g}}(n);return e.jsx(b.Provider,r.__assign({value:{theme:d,platform:t}},{children:e.jsx(l.ThemeProvider,r.__assign({theme:d},{children:e.jsx(e.Fragment,{children:a})}))}))};y.defaultProps={children:null};exports.B2BTheme=u,exports.B2CTheme=i,exports.BaseTheme=t,exports.FKTheme=g,exports.ThemeContext=b,exports.ThemeProvider=y,exports.useTheme=function(){return(a.useContext(b)||{theme:i}).theme},exports.useThemeContext=function(){return a.useContext(b)};
//# sourceMappingURL=ct-design-theme.browser.cjs.js.map

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

import{__assign as e}from"tslib";import{colors as r,elevation as a,border as n,spacing as t,typography as l,size as i}from"@cleartrip/ct-design-tokens";import{ThemeProvider as d}from"styled-components";import{jsx as u,Fragment as o}from"react/jsx-runtime";import{createContext as c,useContext as b}from"react";var s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},y={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};var g={enabled:{stroke:r.neutral900},disabled:{stroke:r.neutral500}},m={color:{text:{primary:r.neutral900,secondary:r.brandText,tertiary:r.neutral500,heading:r.neutral900,subHeading:r.neutral700,disabled:r.disabledText,success:r.successText,alert:r.alertText,warning:r.warningText,link:r.linkText,brand:r.brandText,neutral:r.neutral100,link2:r.link2,margarita:r.margarita750,primary2:r.grapetini900},button:{outlinedPrimaryLabel:r.neutral900,outlinedPrimaryBorder:r.neutral900,outlinedPrimaryBg:r.neutral100,outlinedSecondaryLabel:r.brand,outlinedSecondaryBorder:r.brand,outlinedSecondaryBg:r.neutral100,outlinedTertiaryLabel:r.link,outlinedTertiaryBorder:r.link,outlinedTertiaryBg:r.neutral100,outlinedDisabledLabel:r.disabledText,outlinedDisabledBg:r.neutral300,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.neutral900,containedSecondaryLabel:r.neutral100,containedSecondaryBg:r.brand,containedTertiaryLabel:r.neutral100,containedTertiaryBg:r.link,containedDisabledLabel:r.disabledText,containedDisabledBg:r.neutral300,containedNeutralLabel:r.neutral900,containedNeutralBg:r.neutral100,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}},chip:{nonSelectedPrimaryLabel:r.neutral900,disabledPrimaryLabel:r.disabledText,selectedPrimaryLabel:r.neutral900,selectedPrimaryBorder:r.neutral900,selectedPrimaryBg:r.neutral300},dropdown:{shadow:r.shadow},tab:{nonSelectedPrimaryLabel:r.neutral700,selectedPrimaryLabel:r.neutral900},sidenav:{primaryBg:r.neutral900,selectedTabBg:r.highlightBg},tooltip:{primaryBg:r.neutral900},background:{primary:r.neutral900,secondary:r.brand,tertiary:r.link,brand:r.brand,brandLightBg:r.brandBg,link:r.link,link2:r.link2,linkLightBg:r.linkBg,success:r.success,successLightBg:r.successBg,alert:r.alert,alertLightBg:r.alertBg,warning:r.warning,warningLightBg:r.warningBg,neutral:r.neutral100,disabled:r.neutral300,disabledSecondaryLight:r.neutral350,disabledSecondary:r.neutral400,disabledDark:r.disabled100,defaultDark:r.neutral700,defaultDarkest:r.neutral900},border:{primary:r.neutral900,secondary:r.brand,tertiary:r.link,brand:r.brand,neutral:r.neutral900,link:r.link,default:r.line,defaultDark:r.neutral700,disabled:r.neutral500,disabledDark:r.disabled100,warning:r.warning},spinner:{primary:r.neutral700,primaryBg:r.alertBg},shimmer:{disabledLight:r.disabledLight,disabledDark:r.disabled250},coupon:{primaryBg:r.blue100},alert:{success:r.successBg,warning:r.alertBg,info:r.blue100,error:r.orange100,neutral:r.neutral100},badge:{curacao:r.curacao250,pinaColada:r.pinaColada250,margarita250:r.margarita250,default:r.neutral300,green:r.successBg,margarita100:r.margarita100,yellow:r.alertBg,orange100:r.orange100,orange250:r.orange250,red:r.warningBg,green500:r.success500,green600:r.success600,purple100:r.purple100,purple250:r.purple250,gray100:r.gray100,gray250:r.gray250,aqua100:r.aqua100,aqua250:r.aqua250,black:r.black,link:r.link,blue100:r.blue100,neutral100:r.neutral100},counter:g,calendar:{accent:r.neutral900,background:r.neutral300,selected:r.neutral900}},elevation:e({},a),border:e({},n),spacing:e({},t),typography:e({},l),size:e({},i),transitions:{duration:s,easing:y,create:function(e,r){void 0===e&&(e=["all"]),void 0===r&&(r={});var a=r.duration,n=void 0===a?s.standard:a,t=r.easing,l=void 0===t?y.easeInOut:t,i=r.delay,d=void 0===i?0:i;return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof n?n:"".concat(n,"ms")," ").concat(l," ").concat("string"==typeof d?d:"".concat(d,"ms"))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var r=e/36;return Math.round(10*(4+15*Math.pow(r,.25)+r/5))}},zIndex:{drawer:1200,modal:1300,popOver:1300,tooltip:1500,sideNav:100,toolbar:50,bottomSheet:100}},p=e({},m),B=e(e({},m),{color:e(e({},m.color),{text:e(e({},m.color.text),{secondary:r.link2,tertiary:r.neutral500}),button:e(e({},m.color.button),{outlinedPrimaryLabel:r.link2,outlinedPrimaryBorder:r.link2,outlinedPrimaryBg:r.neutral100,outlinedSecondaryLabel:r.neutral900,outlinedSecondaryBorder:r.neutral900,outlinedSecondaryBg:r.neutral100,outlinedTertiaryLabel:r.brand,outlinedTertiaryBorder:r.brand,outlinedTertiaryBg:r.neutral100,outlinedDisabledLabel:r.disabledText,outlinedDisabledBg:r.neutral300,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.link2,containedSecondaryLabel:r.neutral100,containedSecondaryBg:r.neutral900,containedTertiaryLabel:r.neutral100,containedTertiaryBg:r.brand,containedDisabledLabel:r.disabledText,containedDisabledBg:r.neutral300,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}}),chip:e(e({},m.color.chip),{selectedPrimaryLabel:r.link2,selectedPrimaryBorder:r.link2,selectedPrimaryBg:r.linkBg}),tab:e(e({},m.color.tab),{nonSelectedPrimaryLabel:r.neutral900,selectedPrimaryLabel:r.link2}),background:e(e({},m.color.background),{primary:r.link2,secondary:r.neutral900,tertiary:r.brand}),border:e(e({},m.color.border),{primary:r.link2,secondary:r.neutral900,tertiary:r.brand}),spinner:{primary:r.link2,primaryBg:r.alertBg},calendar:{accent:"",background:"",selected:r.link2}})}),k={enabled:{stroke:r.bluePrimary500},disabled:{stroke:r.neutral500}},P=e(e({},m),{color:e(e({},m.color),{text:e(e({},m.color.text),{link:r.bluePrimary500}),button:e(e({},m.color.button),{outlinedPrimaryLabel:r.primaryNeutral900,outlinedPrimaryBg:r.neutral100,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.bluePrimary500,containedSecondaryLabel:r.primaryNeutral900,containedSecondaryBg:r.yellowSecondary,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}}),chip:e(e({},m.color.chip),{selectedPrimaryLabel:r.link2,selectedPrimaryBorder:r.link2,selectedPrimaryBg:r.linkBg,nonSelectedPrimaryLabel:r.neutral900}),tab:e(e({},m.color.tab),{nonSelectedPrimaryLabel:r.neutral900,selectedPrimaryLabel:r.bluePrimary500}),background:e(e({},m.color.background),{primary:r.bluePrimary500,secondary:r.neutral900,tertiary:r.brand,linkLightBg:r.blueSecondary}),border:e(e({},m.color.border),{primary:r.bluePrimary500,brand:r.bluePrimary500}),spinner:{primary:r.link2,primaryBg:r.alertBg},counter:k,calendar:{accent:r.bluePrimary500,background:r.blueSecondary,selected:r.bluePrimary500}})}),h=c({theme:p,platform:"mobile"}),L=function(r){var a=r.children,n=r.theme,t=void 0===n?"B2C":n,l=r.platform,i=void 0===l?"mobile":l,c=function(e){switch(e){case"B2C":default:return p;case"B2B":return B;case"FK":return P}}(t);return u(h.Provider,e({value:{theme:c,platform:i}},{children:u(d,e({theme:c},{children:u(o,{children:a})}))}))};L.defaultProps={children:null};var T=function(){return(b(h)||{theme:p}).theme},v=function(){return b(h)};export{B as B2BTheme,p as B2CTheme,m as BaseTheme,P as FKTheme,h as ThemeContext,L as ThemeProvider,T as useTheme,v as useThemeContext};
import{__assign as e}from"tslib";import{colors as r,elevation as a,border as n,spacing as t,typography as l,size as i}from"@cleartrip/ct-design-tokens";import{ThemeProvider as u}from"styled-components";import{jsx as d,Fragment as o}from"react/jsx-runtime";import{createContext as c,useContext as b}from"react";var s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},y={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"};var g={enabled:{stroke:r.neutral900},disabled:{stroke:r.neutral500}},m={color:{text:{primary:r.neutral900,secondary:r.brandText,tertiary:r.neutral500,heading:r.neutral900,subHeading:r.neutral700,disabled:r.disabledText,success:r.successText,alert:r.alertText,warning:r.warningText,link:r.linkText,brand:r.brandText,neutral:r.neutral100,link2:r.link2,margarita:r.margarita750,primary2:r.grapetini900},button:{outlinedPrimaryLabel:r.neutral900,outlinedPrimaryBorder:r.neutral900,outlinedPrimaryBg:r.neutral100,outlinedSecondaryLabel:r.brand,outlinedSecondaryBorder:r.brand,outlinedSecondaryBg:r.neutral100,outlinedTertiaryLabel:r.link,outlinedTertiaryBorder:r.link,outlinedTertiaryBg:r.neutral100,outlinedDisabledLabel:r.disabledText,outlinedDisabledBg:r.neutral300,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.neutral900,containedSecondaryLabel:r.neutral100,containedSecondaryBg:r.brand,containedTertiaryLabel:r.neutral100,containedTertiaryBg:r.link,containedDisabledLabel:r.disabledText,containedDisabledBg:r.neutral300,containedNeutralLabel:r.neutral900,containedNeutralBg:r.neutral100,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}},chip:{nonSelectedPrimaryLabel:r.neutral900,disabledPrimaryLabel:r.disabledText,selectedPrimaryLabel:r.neutral900,selectedPrimaryBorder:r.neutral900,selectedPrimaryBg:r.neutral300},dropdown:{shadow:r.shadow},tab:{nonSelectedPrimaryLabel:r.neutral700,selectedPrimaryLabel:r.neutral900},sidenav:{primaryBg:r.neutral900,selectedTabBg:r.highlightBg},tooltip:{primaryBg:r.neutral900},background:{primary:r.neutral900,secondary:r.brand,tertiary:r.link,brand:r.brand,brandLightBg:r.brandBg,link:r.link,link2:r.link2,linkLightBg:r.linkBg,success:r.success,successLightBg:r.successBg,alert:r.alert,alertLightBg:r.alertBg,warning:r.warning,warningLightBg:r.warningBg,neutral:r.neutral100,disabled:r.neutral300,disabledSecondaryLight:r.neutral350,disabledSecondary:r.neutral400,disabledDark:r.disabled100,defaultDark:r.neutral700,defaultDarkest:r.neutral900},border:{primary:r.neutral900,secondary:r.brand,tertiary:r.link,brand:r.brand,neutral:r.neutral900,link:r.link,default:r.line,defaultDark:r.neutral700,disabled:r.neutral500,disabledDark:r.disabled100,warning:r.warning},spinner:{primary:r.neutral700,primaryBg:r.alertBg},coupon:{primaryBg:r.blue100},alert:{success:r.successBg,warning:r.alertBg,info:r.blue100,error:r.orange100,neutral:r.neutral100},badge:{curacao:r.curacao250,pinaColada:r.pinaColada250,margarita250:r.margarita250,default:r.neutral300,green:r.successBg,margarita100:r.margarita100,yellow:r.alertBg,orange100:r.orange100,orange250:r.orange250,red:r.warningBg,green500:r.success500,green600:r.success600,purple100:r.purple100,purple250:r.purple250,gray100:r.gray100,gray250:r.gray250,aqua100:r.aqua100,aqua250:r.aqua250,black:r.black,link:r.link,blue100:r.blue100,neutral100:r.neutral100},counter:g,calendar:{accent:r.neutral900,background:r.neutral300,selected:r.neutral900}},elevation:e({},a),border:e({},n),spacing:e({},t),typography:e({},l),size:e({},i),transitions:{duration:s,easing:y,create:function(e,r){void 0===e&&(e=["all"]),void 0===r&&(r={});var a=r.duration,n=void 0===a?s.standard:a,t=r.easing,l=void 0===t?y.easeInOut:t,i=r.delay,u=void 0===i?0:i;return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof n?n:"".concat(n,"ms")," ").concat(l," ").concat("string"==typeof u?u:"".concat(u,"ms"))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var r=e/36;return Math.round(10*(4+15*Math.pow(r,.25)+r/5))}},zIndex:{drawer:1200,modal:1300,popOver:1300,tooltip:1500,sideNav:100,toolbar:50}},p=e({},m),B=e(e({},m),{color:e(e({},m.color),{text:e(e({},m.color.text),{secondary:r.link2,tertiary:r.neutral500}),button:e(e({},m.color.button),{outlinedPrimaryLabel:r.link2,outlinedPrimaryBorder:r.link2,outlinedPrimaryBg:r.neutral100,outlinedSecondaryLabel:r.neutral900,outlinedSecondaryBorder:r.neutral900,outlinedSecondaryBg:r.neutral100,outlinedTertiaryLabel:r.brand,outlinedTertiaryBorder:r.brand,outlinedTertiaryBg:r.neutral100,outlinedDisabledLabel:r.disabledText,outlinedDisabledBg:r.neutral300,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.link2,containedSecondaryLabel:r.neutral100,containedSecondaryBg:r.neutral900,containedTertiaryLabel:r.neutral100,containedTertiaryBg:r.brand,containedDisabledLabel:r.disabledText,containedDisabledBg:r.neutral300,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}}),chip:e(e({},m.color.chip),{selectedPrimaryLabel:r.link2,selectedPrimaryBorder:r.link2,selectedPrimaryBg:r.linkBg}),tab:e(e({},m.color.tab),{nonSelectedPrimaryLabel:r.neutral900,selectedPrimaryLabel:r.link2}),background:e(e({},m.color.background),{primary:r.link2,secondary:r.neutral900,tertiary:r.brand}),border:e(e({},m.color.border),{primary:r.link2,secondary:r.neutral900,tertiary:r.brand}),spinner:{primary:r.link2,primaryBg:r.alertBg},calendar:{accent:"",background:"",selected:r.link2}})}),k={enabled:{stroke:r.bluePrimary500},disabled:{stroke:r.neutral500}},P=e(e({},m),{color:e(e({},m.color),{text:e(e({},m.color.text),{link:r.bluePrimary500}),button:e(e({},m.color.button),{outlinedPrimaryLabel:r.primaryNeutral900,outlinedPrimaryBg:r.neutral100,containedPrimaryLabel:r.neutral100,containedPrimaryBg:r.bluePrimary500,containedSecondaryLabel:r.primaryNeutral900,containedSecondaryBg:r.yellowSecondary,hover:function(e){var a;return((a={})[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.brand]=r.bgPrimaryHover,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a[r.neutral100]=r.neutral100,a[r.link2]=r.link2Hover,a[r.neutral100]=r.neutral100,a[r.neutral900]=r.neutral900,a[r.neutral100]=r.neutral100,a[r.disabledText]=r.disabledText,a[r.neutral300]=r.neutral300,a)[e]}}),chip:e(e({},m.color.chip),{selectedPrimaryLabel:r.link2,selectedPrimaryBorder:r.link2,selectedPrimaryBg:r.linkBg,nonSelectedPrimaryLabel:r.neutral900}),tab:e(e({},m.color.tab),{nonSelectedPrimaryLabel:r.neutral900,selectedPrimaryLabel:r.bluePrimary500}),background:e(e({},m.color.background),{primary:r.bluePrimary500,secondary:r.neutral900,tertiary:r.brand,linkLightBg:r.blueSecondary}),border:e(e({},m.color.border),{primary:r.bluePrimary500,brand:r.bluePrimary500}),spinner:{primary:r.link2,primaryBg:r.alertBg},counter:k,calendar:{accent:r.bluePrimary500,background:r.blueSecondary,selected:r.bluePrimary500}})}),h=c({theme:p,platform:"mobile"}),L=function(r){var a=r.children,n=r.theme,t=void 0===n?"B2C":n,l=r.platform,i=void 0===l?"mobile":l,c=function(e){switch(e){case"B2C":default:return p;case"B2B":return B;case"FK":return P}}(t);return d(h.Provider,e({value:{theme:c,platform:i}},{children:d(u,e({theme:c},{children:d(o,{children:a})}))}))};L.defaultProps={children:null};var T=function(){return(b(h)||{theme:p}).theme},v=function(){return b(h)};export{B as B2BTheme,p as B2CTheme,m as BaseTheme,P as FKTheme,h as ThemeContext,L as ThemeProvider,T as useTheme,v as useThemeContext};
//# sourceMappingURL=ct-design-theme.browser.esm.js.map

@@ -69,3 +69,2 @@ 'use strict';

toolbar: 50,
bottomSheet: 100,
};

@@ -184,6 +183,2 @@ var counter$1 = {

},
shimmer: {
disabledLight: ctDesignTokens.colors.disabledLight,
disabledDark: ctDesignTokens.colors.disabled250,
},
coupon: {

@@ -190,0 +185,0 @@ primaryBg: ctDesignTokens.colors.blue100,

@@ -67,3 +67,2 @@ import { __assign } from 'tslib';

toolbar: 50,
bottomSheet: 100,
};

@@ -182,6 +181,2 @@ var counter$1 = {

},
shimmer: {
disabledLight: colors.disabledLight,
disabledDark: colors.disabled250,
},
coupon: {

@@ -188,0 +183,0 @@ primaryBg: colors.blue100,

@@ -98,3 +98,2 @@ (function (global, factory) {

toolbar: 50,
bottomSheet: 100,
};

@@ -213,6 +212,2 @@ var counter$1 = {

},
shimmer: {
disabledLight: ctDesignTokens.colors.disabledLight,
disabledDark: ctDesignTokens.colors.disabled250,
},
coupon: {

@@ -219,0 +214,0 @@ primaryBg: ctDesignTokens.colors.blue100,

@@ -105,6 +105,2 @@ declare const B2CTheme: {

};
shimmer: {
disabledLight: string;
disabledDark: string;
};
counter: {

@@ -229,5 +225,5 @@ enabled: {

};
zIndex: Record<"modal" | "drawer" | "tooltip" | "popOver" | "sideNav" | "toolbar" | "bottomSheet", number>;
zIndex: Record<"modal" | "drawer" | "tooltip" | "popOver" | "sideNav" | "toolbar", number>;
};
export default B2CTheme;
//# sourceMappingURL=B2CTheme.d.ts.map

@@ -110,6 +110,2 @@ import 'styled-components';

};
shimmer: {
disabledLight: string;
disabledDark: string;
};
counter: {

@@ -187,3 +183,3 @@ enabled: {

};
zIndex: Record<'modal' | 'drawer' | 'tooltip' | 'popOver' | 'sideNav' | 'toolbar' | 'bottomSheet', number>;
zIndex: Record<'modal' | 'drawer' | 'tooltip' | 'popOver' | 'sideNav' | 'toolbar', number>;
};

@@ -190,0 +186,0 @@ declare module 'styled-components' {

{
"name": "@cleartrip/ct-design-theme",
"version": "3.5.0-SNAPSHORT-bs-shimmer-carousal.0",
"version": "3.5.0-SNAPSHORT-misc-design.0",
"description": "",

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

"dependencies": {
"@cleartrip/ct-design-tokens": "3.5.0-SNAPSHORT-bs-shimmer-carousal.0"
"@cleartrip/ct-design-tokens": "3.5.0-SNAPSHORT-misc-design.0"
},

@@ -21,0 +21,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

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