@cleartrip/ct-platform-shimmer 6.0.1-beta.0 → 6.4.0-SNAPSHOT-native-main.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/Shimmer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shimmer.d.ts","sourceRoot":"","sources":["../packages/components/Shimmer/src/Shimmer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAM/C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Shimmer.d.ts","sourceRoot":"","sources":["../packages/components/Shimmer/src/Shimmer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAM/C,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA2BnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var i=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";var i=require("react/jsx-runtime"),n=require("@cleartrip/ct-design-style-manager"),a=require("@emotion/css"),e=require("@cleartrip/ct-design-components"),r=a.keyframes({"0%":{backgroundPosition:"-468px 0"},"100%":{backgroundPosition:"468px 0"}}),o=n.makeWebStyles(function(i){return{Shimmer:{background:"#efefef",display:"inline-block","&.is-dark.has-shimmer":{animationDuration:"1s",animationFillMode:"forwards",animationIterationCount:"infinite",animationName:"".concat(r),animationTimingFunction:"linear",background:"linear-gradient(135deg, #484848 8%, #555 18%, #484848 33%)",backgroundSize:"800px 104px",position:"relative"}},"has-shimmer":{animationDuration:"1s",animationFillMode:"forwards",animationIterationCount:"infinite",animationName:"".concat(r),animationTimingFunction:"linear",background:"linear-gradient(135deg, #efefef 8%, #ddd 18%, #efefef 33%)",backgroundSize:"800px 120px",position:"relative"},"is-rounded":{borderRadius:3},"is-circular":{borderRadius:200},"is-dark":{background:"#484848"}}});exports.Shimmer=function(n){var a=n.className,r=void 0===a?"":a,t=n.height,c=n.width,d=n.type,s=void 0===d?"rounded":d,m=n.shimmer,u=void 0===m||m,l=n.dark,g=void 0!==l&&l,f={width:"number"==typeof c&&c?"".concat(c,"px"):"100%",height:"number"==typeof t&&t?"".concat(t,"px"):"100%"},p="".concat(r," ").concat(o.Shimmer," ").concat(u?o["has-shimmer"]:""," ").concat("rounded"===s?o["is-rounded"]:""," ").concat("circular"===s?o["is-circular"]:""," ").concat(g?o["is-dark"]:"");return i.jsx(e.Container,{as:"div",styleConfig:{root:["__local-".concat(p),f]}})};
|
|
2
2
|
//# sourceMappingURL=ct-platform-shimmer.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-shimmer.cjs.js","sources":["../packages/components/Shimmer/src/index.module.ts","../packages/components/Shimmer/src/Shimmer.tsx"],"sourcesContent":[null,null],"names":["shimmer","keyframes","backgroundPosition","styles","makeWebStyles","Shimmer","background","display","animationDuration","animationFillMode","animationIterationCount","animationName","animationTimingFunction","backgroundSize","position","borderRadius","className","height","width","type","dark","_jsx","Container","as","styleConfig","root"
|
|
1
|
+
{"version":3,"file":"ct-platform-shimmer.cjs.js","sources":["../packages/components/Shimmer/src/index.module.ts","../packages/components/Shimmer/src/Shimmer.tsx"],"sourcesContent":[null,null],"names":["shimmer","keyframes","backgroundPosition","styles","makeWebStyles","theme","Shimmer","background","display","animationDuration","animationFillMode","animationIterationCount","animationName","concat","animationTimingFunction","backgroundSize","position","borderRadius","_a","_b","className","height","width","_c","type","_d","_e","dark","classes","Styles","_jsx","Container","as","styleConfig","root"],"mappings":"uKAEMA,EAAUC,EAAAA,UAAU,CACxB,KAAM,CACJC,mBAAoB,YAEtB,OAAQ,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i}from"react/jsx-runtime";import{makeWebStyles as n}from"@cleartrip/ct-design-style-manager";import{keyframes as
|
|
1
|
+
import{jsx as i}from"react/jsx-runtime";import{makeWebStyles as n}from"@cleartrip/ct-design-style-manager";import{keyframes as o}from"@emotion/css";import{Container as a}from"@cleartrip/ct-design-components";var r=o({"0%":{backgroundPosition:"-468px 0"},"100%":{backgroundPosition:"468px 0"}}),t=n(function(i){return{Shimmer:{background:"#efefef",display:"inline-block","&.is-dark.has-shimmer":{animationDuration:"1s",animationFillMode:"forwards",animationIterationCount:"infinite",animationName:"".concat(r),animationTimingFunction:"linear",background:"linear-gradient(135deg, #484848 8%, #555 18%, #484848 33%)",backgroundSize:"800px 104px",position:"relative"}},"has-shimmer":{animationDuration:"1s",animationFillMode:"forwards",animationIterationCount:"infinite",animationName:"".concat(r),animationTimingFunction:"linear",background:"linear-gradient(135deg, #efefef 8%, #ddd 18%, #efefef 33%)",backgroundSize:"800px 120px",position:"relative"},"is-rounded":{borderRadius:3},"is-circular":{borderRadius:200},"is-dark":{background:"#484848"}}}),e=function(n){var o=n.className,r=void 0===o?"":o,e=n.height,c=n.width,d=n.type,m=void 0===d?"rounded":d,s=n.shimmer,u=void 0===s||s,l=n.dark,f=void 0!==l&&l,p={width:"number"==typeof c&&c?"".concat(c,"px"):"100%",height:"number"==typeof e&&e?"".concat(e,"px"):"100%"},g="".concat(r," ").concat(t.Shimmer," ").concat(u?t["has-shimmer"]:""," ").concat("rounded"===m?t["is-rounded"]:""," ").concat("circular"===m?t["is-circular"]:""," ").concat(f?t["is-dark"]:"");return i(a,{as:"div",styleConfig:{root:["__local-".concat(g),p]}})};export{e as Shimmer};
|
|
2
2
|
//# sourceMappingURL=ct-platform-shimmer.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ct-platform-shimmer.esm.js","sources":["../packages/components/Shimmer/src/index.module.ts","../packages/components/Shimmer/src/Shimmer.tsx"],"sourcesContent":[null,null],"names":["shimmer","keyframes","backgroundPosition","styles","makeWebStyles","Shimmer","background","display","animationDuration","animationFillMode","animationIterationCount","animationName","animationTimingFunction","backgroundSize","position","borderRadius","className","height","width","type","dark","_jsx","Container","as","styleConfig","root"
|
|
1
|
+
{"version":3,"file":"ct-platform-shimmer.esm.js","sources":["../packages/components/Shimmer/src/index.module.ts","../packages/components/Shimmer/src/Shimmer.tsx"],"sourcesContent":[null,null],"names":["shimmer","keyframes","backgroundPosition","styles","makeWebStyles","theme","Shimmer","background","display","animationDuration","animationFillMode","animationIterationCount","animationName","concat","animationTimingFunction","backgroundSize","position","borderRadius","_a","_b","className","height","width","_c","type","_d","_e","dark","classes","Styles","_jsx","Container","as","styleConfig","root"],"mappings":"gNAEA,IAAMA,EAAUC,EAAU,CACxB,KAAM,CACJC,mBAAoB,YAEtB,OAAQ,CACNA,mBAAoB,aAMlBC,EAASC,EAAc,SAAAC,GAAS,MAAA,CACpCC,QAAS,CACPC,WAAY,UACZC,QAAS,eACT,wBAAyB,CACvBC,kBAAmB,KACnBC,kBAAmB,WACnBC,wBAAyB,WACzBC,cAAe,GAAAC,OAAGb,GAClBc,wBAAyB,SACzBP,WAAY,6DACZQ,eAAgB,cAChBC,SAAU,aAId,cAAe,CACbP,kBAAmB,KACnBC,kBAAmB,WACnBC,wBAAyB,WACzBC,cAAe,GAAAC,OAAGb,GAClBc,wBAAyB,SACzBP,WAAY,6DACZQ,eAAgB,cAChBC,SAAU,YAGZ,aAAc,CACZC,aAAc,GAGhB,cAAe,CACbA,aAAc,KAGhB,UAAW,CACTV,WAAY,WApCsB,GCLhCD,EAAkC,SAACY,GACrC,IAAAC,EAAAD,EAAAE,UAAAA,OAAS,IAAAD,EAAG,GAAEA,EACdE,EAAMH,EAAAG,OACNC,EAAKJ,EAAAI,MACLC,SAAAC,WAAID,EAAG,UAASA,EAChBE,EAAAP,EAAAlB,QAAAA,OAAO,IAAAyB,GAAOA,EACdC,EAAAR,EAAAS,KAAAA,OAAI,IAAAD,GAAQA,EAENvB,EAA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