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
15
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.9.0-SNAPSHOT-cfw-cleanups.0 to 3.9.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,curacao900:o.colors.curacao900,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,orange500:o.colors.orange500,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,blue900:o.colors.blue900,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},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)};
//# 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 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},g={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 y={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,curacao900:r.curacao900,pinaColada:r.pinaColada250,margarita250:r.margarita250,default:r.neutral300,green:r.successBg,margarita100:r.margarita100,yellow:r.alertBg,orange100:r.orange100,orange250:r.orange250,orange500:r.orange500,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,blue900:r.blue900,neutral100:r.neutral100},counter:y,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:g,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?g.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,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 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};
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};
//# sourceMappingURL=ct-design-theme.browser.esm.js.map

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

curacao: ctDesignTokens.colors.curacao250,
curacao900: ctDesignTokens.colors.curacao900,
pinaColada: ctDesignTokens.colors.pinaColada250,

@@ -209,3 +208,2 @@ margarita250: ctDesignTokens.colors.margarita250,

orange250: ctDesignTokens.colors.orange250,
orange500: ctDesignTokens.colors.orange500,
red: ctDesignTokens.colors.warningBg,

@@ -223,3 +221,2 @@ green500: ctDesignTokens.colors.success500,

blue100: ctDesignTokens.colors.blue100,
blue900: ctDesignTokens.colors.blue900,
neutral100: ctDesignTokens.colors.neutral100,

@@ -226,0 +223,0 @@ },

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

curacao: colors.curacao250,
curacao900: colors.curacao900,
pinaColada: colors.pinaColada250,

@@ -207,3 +206,2 @@ margarita250: colors.margarita250,

orange250: colors.orange250,
orange500: colors.orange500,
red: colors.warningBg,

@@ -221,3 +219,2 @@ green500: colors.success500,

blue100: colors.blue100,
blue900: colors.blue900,
neutral100: colors.neutral100,

@@ -224,0 +221,0 @@ },

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

curacao: ctDesignTokens.colors.curacao250,
curacao900: ctDesignTokens.colors.curacao900,
pinaColada: ctDesignTokens.colors.pinaColada250,

@@ -238,3 +237,2 @@ margarita250: ctDesignTokens.colors.margarita250,

orange250: ctDesignTokens.colors.orange250,
orange500: ctDesignTokens.colors.orange500,
red: ctDesignTokens.colors.warningBg,

@@ -252,3 +250,2 @@ green500: ctDesignTokens.colors.success500,

blue100: ctDesignTokens.colors.blue100,
blue900: ctDesignTokens.colors.blue900,
neutral100: ctDesignTokens.colors.neutral100,

@@ -255,0 +252,0 @@ },

@@ -129,3 +129,2 @@ declare const B2CTheme: {

curacao: string;
curacao900: string;
pinaColada: string;

@@ -139,3 +138,2 @@ margarita250: string;

orange250: string;
orange500: string;
red: string;

@@ -153,3 +151,2 @@ green500: string;

blue100: string;
blue900: string;
neutral100: string;

@@ -156,0 +153,0 @@ };

@@ -134,3 +134,2 @@ import 'styled-components';

curacao: string;
curacao900: string;
pinaColada: string;

@@ -144,3 +143,2 @@ margarita250: string;

orange250: string;
orange500: string;
red: string;

@@ -158,3 +156,2 @@ green500: string;

blue100: string;
blue900: string;
neutral100: string;

@@ -161,0 +158,0 @@ };

{
"name": "@cleartrip/ct-design-theme",
"version": "3.9.0-SNAPSHOT-cfw-cleanups.0",
"version": "3.9.0",
"description": "",

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

"dependencies": {
"@cleartrip/ct-design-tokens": "3.9.0-SNAPSHOT-cfw-cleanups.0"
"@cleartrip/ct-design-tokens": "3.9.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