@cleartrip/ct-platform-shimmer 3.0.3-beta.0 → 3.0.3-beta.10

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.
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}var n=i(require("classnames"));var d="index-module_Shimmer__Q7yEo",o="index-module_has-shimmer__ohAl3",r="index-module_is-rounded__EB21j",a="index-module_is-circular__X8sFL",t="index-module_is-dark__9y21r";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var d=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&d.firstChild?d.insertBefore(o,d.firstChild):d.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_Shimmer__Q7yEo{background:#efefef;display:inline-block}.index-module_Shimmer__Q7yEo.index-module_has-shimmer__ohAl3{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__dwQqp;animation-timing-function:linear;background:linear-gradient(135deg,#efefef 8%,#ddd 18%,#efefef 33%);background-size:800px 120px;position:relative}.index-module_Shimmer__Q7yEo.index-module_is-rounded__EB21j{border-radius:3px}.index-module_Shimmer__Q7yEo.index-module_is-circular__X8sFL{border-radius:200px}.index-module_Shimmer__Q7yEo.index-module_is-dark__9y21r{background:#484848}.index-module_Shimmer__Q7yEo.index-module_is-dark__9y21r.index-module_has-shimmer__ohAl3{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__dwQqp;animation-timing-function:linear;background:linear-gradient(135deg,#484848 8%,#555 18%,#484848 33%);background-size:800px 104px;position:relative}@keyframes index-module_shimmer__dwQqp{0%{background-position:-468px 0}to{background-position:468px 0}}");exports.Shimmer=function(i){var m,u=i.className,_=void 0===u?"":u,s=i.height,l=i.width,c=i.type,x=void 0===c?"rounded":c,h=i.shimmer,f=void 0===h||h,p=i.dark,y=void 0!==p&&p,g={width:"number"==typeof l&&l?"".concat(l,"px"):"100%",height:"number"==typeof s&&s?"".concat(s,"px"):"100%"},k=n.default(_,((m={})[d]=!0,m[o]=f,m[r]="rounded"===x,m[a]="circular"===x,m[t]=y,m));return e.jsx("div",{className:k,style:g})};
1
+ "use strict";var e=require("react/jsx-runtime");function i(e){return e&&e.__esModule?e:{default:e}}var n=i(require("classnames"));var d="index-module_Shimmer__AE-1o",o="index-module_has-shimmer__FK5Sh",r="index-module_is-rounded__A4-up",a="index-module_is-circular__Nbz8T",t="index-module_is-dark__whQnw";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var d=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&d.firstChild?d.insertBefore(o,d.firstChild):d.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_Shimmer__AE-1o{background:#efefef;display:inline-block}.index-module_Shimmer__AE-1o.index-module_has-shimmer__FK5Sh{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__SAN3n;animation-timing-function:linear;background:linear-gradient(135deg,#efefef 8%,#ddd 18%,#efefef 33%);background-size:800px 120px;position:relative}.index-module_Shimmer__AE-1o.index-module_is-rounded__A4-up{border-radius:3px}.index-module_Shimmer__AE-1o.index-module_is-circular__Nbz8T{border-radius:200px}.index-module_Shimmer__AE-1o.index-module_is-dark__whQnw{background:#484848}.index-module_Shimmer__AE-1o.index-module_is-dark__whQnw.index-module_has-shimmer__FK5Sh{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__SAN3n;animation-timing-function:linear;background:linear-gradient(135deg,#484848 8%,#555 18%,#484848 33%);background-size:800px 104px;position:relative}@keyframes index-module_shimmer__SAN3n{0%{background-position:-468px 0}to{background-position:468px 0}}");exports.Shimmer=function(i){var m,u=i.className,_=void 0===u?"":u,s=i.height,l=i.width,c=i.type,h=void 0===c?"rounded":c,x=i.shimmer,f=void 0===x||x,p=i.dark,g=void 0!==p&&p,S={width:"number"==typeof l&&l?"".concat(l,"px"):"100%",height:"number"==typeof s&&s?"".concat(s,"px"):"100%"},b=n.default(_,((m={})[d]=!0,m[o]=f,m[r]="rounded"===h,m[a]="circular"===h,m[t]=g,m));return e.jsx("div",{className:b,style:S})};
2
2
  //# sourceMappingURL=ct-platform-shimmer.cjs.js.map
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import i from"classnames";var n="index-module_Shimmer__Q7yEo",d="index-module_has-shimmer__ohAl3",o="index-module_is-rounded__EB21j",r="index-module_is-circular__X8sFL",m="index-module_is-dark__9y21r";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var d=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&d.firstChild?d.insertBefore(o,d.firstChild):d.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_Shimmer__Q7yEo{background:#efefef;display:inline-block}.index-module_Shimmer__Q7yEo.index-module_has-shimmer__ohAl3{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__dwQqp;animation-timing-function:linear;background:linear-gradient(135deg,#efefef 8%,#ddd 18%,#efefef 33%);background-size:800px 120px;position:relative}.index-module_Shimmer__Q7yEo.index-module_is-rounded__EB21j{border-radius:3px}.index-module_Shimmer__Q7yEo.index-module_is-circular__X8sFL{border-radius:200px}.index-module_Shimmer__Q7yEo.index-module_is-dark__9y21r{background:#484848}.index-module_Shimmer__Q7yEo.index-module_is-dark__9y21r.index-module_has-shimmer__ohAl3{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__dwQqp;animation-timing-function:linear;background:linear-gradient(135deg,#484848 8%,#555 18%,#484848 33%);background-size:800px 104px;position:relative}@keyframes index-module_shimmer__dwQqp{0%{background-position:-468px 0}to{background-position:468px 0}}");var a=function(a){var t,_=a.className,u=void 0===_?"":_,s=a.height,l=a.width,c=a.type,x=void 0===c?"rounded":c,h=a.shimmer,p=void 0===h||h,f=a.dark,y=void 0!==f&&f,g={width:"number"==typeof l&&l?"".concat(l,"px"):"100%",height:"number"==typeof s&&s?"".concat(s,"px"):"100%"},k=i(u,((t={})[n]=!0,t[d]=p,t[o]="rounded"===x,t[r]="circular"===x,t[m]=y,t));return e("div",{className:k,style:g})};export{a as Shimmer};
1
+ import{jsx as e}from"react/jsx-runtime";import i from"classnames";var n="index-module_Shimmer__AE-1o",d="index-module_has-shimmer__FK5Sh",o="index-module_is-rounded__A4-up",m="index-module_is-circular__Nbz8T",r="index-module_is-dark__whQnw";!function(e,i){void 0===i&&(i={});var n=i.insertAt;if("undefined"!=typeof document){var d=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&d.firstChild?d.insertBefore(o,d.firstChild):d.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".index-module_Shimmer__AE-1o{background:#efefef;display:inline-block}.index-module_Shimmer__AE-1o.index-module_has-shimmer__FK5Sh{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__SAN3n;animation-timing-function:linear;background:linear-gradient(135deg,#efefef 8%,#ddd 18%,#efefef 33%);background-size:800px 120px;position:relative}.index-module_Shimmer__AE-1o.index-module_is-rounded__A4-up{border-radius:3px}.index-module_Shimmer__AE-1o.index-module_is-circular__Nbz8T{border-radius:200px}.index-module_Shimmer__AE-1o.index-module_is-dark__whQnw{background:#484848}.index-module_Shimmer__AE-1o.index-module_is-dark__whQnw.index-module_has-shimmer__FK5Sh{animation-duration:1s;animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:index-module_shimmer__SAN3n;animation-timing-function:linear;background:linear-gradient(135deg,#484848 8%,#555 18%,#484848 33%);background-size:800px 104px;position:relative}@keyframes index-module_shimmer__SAN3n{0%{background-position:-468px 0}to{background-position:468px 0}}");var a=function(a){var t,_=a.className,u=void 0===_?"":_,s=a.height,l=a.width,c=a.type,h=void 0===c?"rounded":c,x=a.shimmer,f=void 0===x||x,p=a.dark,g=void 0!==p&&p,b={width:"number"==typeof l&&l?"".concat(l,"px"):"100%",height:"number"==typeof s&&s?"".concat(s,"px"):"100%"},S=i(u,((t={})[n]=!0,t[d]=f,t[o]="rounded"===h,t[m]="circular"===h,t[r]=g,t));return e("div",{className:S,style:b})};export{a as Shimmer};
2
2
  //# sourceMappingURL=ct-platform-shimmer.esm.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleartrip/ct-platform-shimmer",
3
- "version": "3.0.3-beta.0",
3
+ "version": "3.0.3-beta.10",
4
4
  "description": "Shimmer Component",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/ct-platform-shimmer.cjs.js",