@justeat/f-skeleton-loader
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -6,2 +6,10 @@ # Changelog | ||
v0.5.0 | ||
------------------------------ | ||
*April 26, 2021* | ||
### Changed | ||
- Rename components and classnames | ||
v0.4.0 | ||
@@ -8,0 +16,0 @@ ------------------------------ |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["f-skeleton-loader"]=t():e["f-skeleton-loader"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s="fa16")}({"05e9":function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(r){"object"===typeof window&&(a=window)}e.exports=a},"129b":function(e,t,a){"use strict";var r=a("dc41"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"261b":function(e,t,a){e.exports={"c-screen-sizer":"Text_c-screen-sizer_1FfL6","c-text":"Text_c-text_3-i63","c-image":"Text_c-image_zqMea","c-heading":"Text_c-heading_-aH4t",loading:"Text_loading_-ysz_",skeletonGradient:"Text_skeletonGradient_2QW0J"}},"26c0":function(e,t,a){e.exports={"c-screen-sizer":"Image_c-screen-sizer_3IRHe","c-text":"Image_c-text_Ib4PJ","c-image":"Image_c-image_3ryEG","c-heading":"Image_c-heading_3ZBgy",loading:"Image_loading_3beSr",skeletonGradient:"Image_skeletonGradient_2VPG6"}},"280a":function(e,t,a){"use strict";var r=a("b073"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"3c84":function(e,t,a){"use strict";var r=a("26c0"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"445d":function(e,t,a){e.exports={"c-screen-sizer":"Sentence_c-screen-sizer_2zbSr","c-text":"Sentence_c-text_1hpT3","c-image":"Sentence_c-image_2D3HC","c-heading":"Sentence_c-heading_jgIjg",loading:"Sentence_loading_2JQnO","c-sentence-textBlock":"Sentence_c-sentence-textBlock_U33-B",skeletonGradient:"Sentence_skeletonGradient_3xO6z"}},"48cc":function(e,t,a){"use strict";var r=a("d581"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"4a9f":function(e,t,a){"use strict";var r=a("445d"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"72b1":function(e,t,a){e.exports={"c-screen-sizer":"CarouselCardRestaurantData_c-screen-sizer_2Q54M","c-text":"CarouselCardRestaurantData_c-text_3RSIk","c-image":"CarouselCardRestaurantData_c-image_3qk0d","c-heading":"CarouselCardRestaurantData_c-heading_qqqL-",loading:"CarouselCardRestaurantData_loading_2HXoN","c-restaurantData":"CarouselCardRestaurantData_c-restaurantData_2CdO1","c-restaurantData-textWrapper":"CarouselCardRestaurantData_c-restaurantData-textWrapper_3iHfz","c-restaurantData-text":"CarouselCardRestaurantData_c-restaurantData-text_3mldg",skeletonGradient:"CarouselCardRestaurantData_skeletonGradient_2pmVp"}},"781b":function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCarousel_c-screen-sizer_3gmeF","c-text":"RestaurantCarousel_c-text_2_6lE","c-image":"RestaurantCarousel_c-image_3lPAJ","c-heading":"RestaurantCarousel_c-heading_3zqnN",loading:"RestaurantCarousel_loading_21JFL","c-restaurantCarouselWrapper":"RestaurantCarousel_c-restaurantCarouselWrapper_1IFfi","c-restaurantCarousel-heading":"RestaurantCarousel_c-restaurantCarousel-heading_2Zzxv","c-restaurantCarousel-desc":"RestaurantCarousel_c-restaurantCarousel-desc_6XLom","c-restaurantCarousel":"RestaurantCarousel_c-restaurantCarousel_33bkg","c-restaurantCarousel-card":"RestaurantCarousel_c-restaurantCarousel-card_31ogG",skeletonGradient:"RestaurantCarousel_skeletonGradient_2MdLO"}},"7e10":function(e,t,a){var r,n,s;(function(a,c){n=[],r=c,s="function"===typeof r?r.apply(t,n):r,void 0===s||(e.exports=s)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var a,r,n,s=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,o=s.exec(_.stack)||c.exec(_.stack),u=o&&o[1]||!1,l=o&&o[2]||!1,i=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");u===i&&(a=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=a.replace(r,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===u)return d[f];if(u===i&&d[f].innerHTML&&d[f].innerHTML.trim()===n)return d[f]}return null}}return e}))},"86ad":function(e,t,a){"use strict";var r=a("9632"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"93ff":function(e,t,a){"use strict";var r=a("781b"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},9632:function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCarouselCard_c-screen-sizer_2bzXh","c-text":"RestaurantCarouselCard_c-text_1rgqb","c-image":"RestaurantCarouselCard_c-image_3INog","c-heading":"RestaurantCarouselCard_c-heading_2t9c7",loading:"RestaurantCarouselCard_loading_78s7y","c-restaurantCarouselCard":"RestaurantCarouselCard_c-restaurantCarouselCard_zqxbA","c-restaurantCarouselCard-background":"RestaurantCarouselCard_c-restaurantCarouselCard-background_2one2","c-restaurantCarouselCard-header":"RestaurantCarouselCard_c-restaurantCarouselCard-header_1Hsts","c-restaurantCarouselCard-data":"RestaurantCarouselCard_c-restaurantCarouselCard-data_29lnK",skeletonGradient:"RestaurantCarouselCard_skeletonGradient_1NXv1"}},a47e:function(e,t,a){"use strict";var r=a("72b1"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},b073:function(e,t,a){e.exports={"c-screen-sizer":"Heading_c-screen-sizer_2bJ9h","c-text":"Heading_c-text_3kBL2","c-image":"Heading_c-image_1fuee","c-heading":"Heading_c-heading_2R7Fx",loading:"Heading_loading_1WmDf",skeletonGradient:"Heading_skeletonGradient_31uyC"}},b635:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return n}));var r=a("fc81");function n(e){n.installed||(n.installed=!0,e.component("SkeletonLoader",r["a"]))}var s={install:n},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(s),t["a"]=r["a"]}).call(this,a("05e9"))},c3ee:function(e,t,a){"use strict";var r=a("261b"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},d2ca:function(e,t,a){"use strict";var r=a("fc51"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},d581:function(e,t,a){e.exports={"c-screen-sizer":"CarouselCardRestaurantHeader_c-screen-sizer_Kzxzv","c-text":"CarouselCardRestaurantHeader_c-text_30YnX","c-image":"CarouselCardRestaurantHeader_c-image_33YZg","c-heading":"CarouselCardRestaurantHeader_c-heading_jBwxp",loading:"CarouselCardRestaurantHeader_loading_3084K","c-carouselCardRestaurantHeader":"CarouselCardRestaurantHeader_c-carouselCardRestaurantHeader_FdNZF","c-carouselCardRestaurantHeader-logo":"CarouselCardRestaurantHeader_c-carouselCardRestaurantHeader-logo_376Du","c-carouselCardRestaurantHeader-heading":"CarouselCardRestaurantHeader_c-carouselCardRestaurantHeader-heading_6P77c",skeletonGradient:"CarouselCardRestaurantHeader_skeletonGradient_3iwQ4"}},dc41:function(e,t,a){e.exports={"c-screen-sizer":"Rating_c-screen-sizer_1WQ3n","c-text":"Rating_c-text_3067b","c-image":"Rating_c-image_1-2in","c-heading":"Rating_c-heading_3Kutc",loading:"Rating_loading_3dgls","c-rating":"Rating_c-rating_2fvAy",skeletonGradient:"Rating_skeletonGradient_2ivEQ"}},fa16:function(e,t,a){"use strict";if(a.r(t),"undefined"!==typeof window){var r=window.document.currentScript,n=a("7e10");r=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var s=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(a.p=s[1])}var c=a("b635");a.d(t,"install",(function(){return c["b"]}));t["default"]=c["a"]},fc51:function(e,t,a){e.exports={"c-screen-sizer":"SkeletonLoader_c-screen-sizer_1F6x4","c-text":"SkeletonLoader_c-text_2NZvw","c-image":"SkeletonLoader_c-image_29EJ5","c-heading":"SkeletonLoader_c-heading_18UF1",loading:"SkeletonLoader_loading_3pzea","c-skeleton-loader":"SkeletonLoader_c-skeleton-loader_3FjCU",skeletonGradient:"SkeletonLoader_skeletonGradient_1dhcS"}},fc81:function(e,t,a){"use strict";var r={};a.r(r),a.d(r,"TextBlock",(function(){return g})),a.d(r,"Heading",(function(){return b})),a.d(r,"Sentence",(function(){return z})),a.d(r,"ImageBlock",(function(){return L})),a.d(r,"Rating",(function(){return X})),a.d(r,"CarouselCardRestaurantHeader",(function(){return ee})),a.d(r,"CarouselCardRestaurantData",(function(){return ue})),a.d(r,"RestaurantCarouselCard",(function(){return pe})),a.d(r,"RestaurantCarousel",(function(){return ke}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-skeleton-loader"],attrs:{"data-test-id":"skeletonLoader"}},[a(e.skeletonType,{tag:"component"})],1)},s=[],c=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-text"]})},o=[],u={name:"TextBlock"},l=u,i=a("c3ee");function d(e,t,a,r,n,s,c,o){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),r&&(l.functional=!0),s&&(l._scopeId="data-v-"+s),c?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},l._ssrRegister=u):n&&(u=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),u)if(l.functional){l._injectStyles=u;var i=l.render;l.render=function(e,t){return u.call(t),i(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:l}}function f(e){this["$style"]=i["default"].locals||i["default"]}var _=d(l,c,o,!1,f,null,null),g=_.exports,C=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-heading"]})},p=[],x={},m=x,y=a("280a");function v(e){this["$style"]=y["default"].locals||y["default"]}var h=d(m,C,p,!1,v,null,null),b=h.exports,R=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("text-block",{class:e.$style["c-sentence-textBlock"]}),a("text-block",{class:e.$style["c-sentence-textBlock"]})],1)},k=[],$={components:{TextBlock:g}},S=$,H=a("4a9f");function O(e){this["$style"]=H["default"].locals||H["default"]}var j=d(S,R,k,!1,O,null,null),z=j.exports,D=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-image"]})},w=[],T={name:"ImageBlock"},E=T,G=a("3c84");function P(e){this["$style"]=G["default"].locals||G["default"]}var B=d(E,D,w,!1,P,null,null),L=B.exports,I=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-rating"]},[e._v(" ★★★★★★ ")])},F=[],M={},N=M,W=a("129b");function q(e){this["$style"]=W["default"].locals||W["default"]}var J=d(N,I,F,!1,q,null,null),X=J.exports,Q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-carouselCardRestaurantHeader"]},[a("image-block",{class:e.$style["c-carouselCardRestaurantHeader-logo"]}),a("heading",{class:e.$style["c-carouselCardRestaurantHeader-heading"]}),a("text-block",{class:[e.$style["c-text"]]}),a("text-block",{class:[e.$style["c-text"]]})],1)},V=[],U={components:{ImageBlock:L,Heading:b,TextBlock:g}},Z=U,K=a("48cc");function A(e){this["$style"]=K["default"].locals||K["default"]}var Y=d(Z,Q,V,!1,A,null,null),ee=Y.exports,te=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantData"]},[a("div",{class:e.$style["c-restaurantData-textWrapper"]},[a("text-block",{class:[e.$style["c-restaurantData-text"]]}),a("text-block",{class:[e.$style["c-restaurantData-text"]]})],1),a("rating")],1)},ae=[],re={components:{TextBlock:g,Rating:X}},ne=re,se=a("a47e");function ce(e){this["$style"]=se["default"].locals||se["default"]}var oe=d(ne,te,ae,!1,ce,null,null),ue=oe.exports,le=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantCarouselCard"]},[a("image-block",{class:e.$style["c-restaurantCarouselCard-background"]}),a("carousel-card-restaurant-header",{class:e.$style["c-restaurantCarouselCard-header"]}),a("carousel-card-restaurant-data",{class:e.$style["c-restaurantCarouselCard-data"]})],1)},ie=[],de={components:{ImageBlock:L,CarouselCardRestaurantData:ue,CarouselCardRestaurantHeader:ee}},fe=de,_e=a("86ad");function ge(e){this["$style"]=_e["default"].locals||_e["default"]}var Ce=d(fe,le,ie,!1,ge,null,null),pe=Ce.exports,xe=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantCarouselWrapper"]},[a("heading",{class:e.$style["c-restaurantCarousel-heading"]}),a("text-block",{class:e.$style["c-restaurantCarousel-desc"]}),a("div",{class:e.$style["c-restaurantCarousel"]},[a("restaurant-carousel-card",{class:e.$style["c-restaurantCarousel-card"]}),a("restaurant-carousel-card",{class:e.$style["c-restaurantCarousel-card"]}),a("restaurant-carousel-card",{class:e.$style["c-restaurantCarousel-card"]})],1)],1)},me=[],ye={components:{Heading:b,TextBlock:g,RestaurantCarouselCard:pe}},ve=ye,he=a("93ff");function be(e){this["$style"]=he["default"].locals||he["default"]}var Re=d(ve,xe,me,!1,be,null,null),ke=Re.exports;function $e(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(a),!0).forEach((function(t){He(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$e(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function He(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Oe={name:"SkeletonLoader",components:Se({},r),props:{skeletonType:{type:String,default:"Heading",validator:function(e){return Object.keys(r).includes(e)}}}},je=Oe,ze=a("d2ca");function De(e){this["$style"]=ze["default"].locals||ze["default"]}var we=d(je,n,s,!1,De,null,null);t["a"]=we.exports}})})); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["f-skeleton-loader"]=t():e["f-skeleton-loader"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}return a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s="fa16")}({"05e9":function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(r){"object"===typeof window&&(a=window)}e.exports=a},"129b":function(e,t,a){"use strict";var r=a("dc41"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"261b":function(e,t,a){e.exports={"c-screen-sizer":"Text_c-screen-sizer_1FfL6","c-text":"Text_c-text_3-i63","c-image":"Text_c-image_zqMea","c-heading":"Text_c-heading_-aH4t",loading:"Text_loading_-ysz_",skeletonGradient:"Text_skeletonGradient_2QW0J"}},"26c0":function(e,t,a){e.exports={"c-screen-sizer":"Image_c-screen-sizer_3IRHe","c-text":"Image_c-text_Ib4PJ","c-image":"Image_c-image_3ryEG","c-heading":"Image_c-heading_3ZBgy",loading:"Image_loading_3beSr",skeletonGradient:"Image_skeletonGradient_2VPG6"}},"280a":function(e,t,a){"use strict";var r=a("b073"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"302c":function(e,t,a){"use strict";var r=a("62fe"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"3c84":function(e,t,a){"use strict";var r=a("26c0"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"445d":function(e,t,a){e.exports={"c-screen-sizer":"Sentence_c-screen-sizer_2zbSr","c-text":"Sentence_c-text_1hpT3","c-image":"Sentence_c-image_2D3HC","c-heading":"Sentence_c-heading_jgIjg",loading:"Sentence_loading_2JQnO","c-skeletonLoader-text":"Sentence_c-skeletonLoader-text_2xLjt",skeletonGradient:"Sentence_skeletonGradient_3xO6z"}},"4a9f":function(e,t,a){"use strict";var r=a("445d"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},"62fe":function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCard_c-screen-sizer_ad-Ut","c-text":"RestaurantCard_c-text_pBjGo","c-image":"RestaurantCard_c-image_3f0MY","c-heading":"RestaurantCard_c-heading_3dNLv",loading:"RestaurantCard_loading_1eqxU","c-restaurantCard":"RestaurantCard_c-restaurantCard_1wEll","c-restaurantCard-background":"RestaurantCard_c-restaurantCard-background_zXTuI","c-restaurantCard-header":"RestaurantCard_c-restaurantCard-header_1JonN","c-restaurantCard-data":"RestaurantCard_c-restaurantCard-data_1Mcuo",skeletonGradient:"RestaurantCard_skeletonGradient_dGVne"}},"6e5f":function(e,t,a){"use strict";var r=a("7708"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},7708:function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCardHeader_c-screen-sizer_2nrIR","c-text":"RestaurantCardHeader_c-text_3lYgF","c-image":"RestaurantCardHeader_c-image_1GXqj","c-heading":"RestaurantCardHeader_c-heading_3VOt7",loading:"RestaurantCardHeader_loading_3Ogx_","c-restaurantCardHeader":"RestaurantCardHeader_c-restaurantCardHeader_2sm4H","c-restaurantCardHeader-logo":"RestaurantCardHeader_c-restaurantCardHeader-logo_s3SCp","c-restaurantCardHeader-heading":"RestaurantCardHeader_c-restaurantCardHeader-heading_4YVZJ","c-restaurantCardHeader-text":"RestaurantCardHeader_c-restaurantCardHeader-text_d97ne",skeletonGradient:"RestaurantCardHeader_skeletonGradient_2Q6WM"}},"781b":function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCarousel_c-screen-sizer_3gmeF","c-text":"RestaurantCarousel_c-text_2_6lE","c-image":"RestaurantCarousel_c-image_3lPAJ","c-heading":"RestaurantCarousel_c-heading_3zqnN",loading:"RestaurantCarousel_loading_21JFL","c-restaurantCarousel":"RestaurantCarousel_c-restaurantCarousel_33bkg","c-restaurantCarousel-heading":"RestaurantCarousel_c-restaurantCarousel-heading_2Zzxv","c-restaurantCarousel-desc":"RestaurantCarousel_c-restaurantCarousel-desc_6XLom","c-restaurantCarousel-list":"RestaurantCarousel_c-restaurantCarousel-list_1KSDc","c-restaurantCarousel-item":"RestaurantCarousel_c-restaurantCarousel-item_PAlFU",skeletonGradient:"RestaurantCarousel_skeletonGradient_2MdLO"}},"7e10":function(e,t,a){var r,n,c;(function(a,s){n=[],r=s,c="function"===typeof r?r.apply(t,n):r,void 0===c||(e.exports=c)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var a,r,n,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,u=c.exec(_.stack)||s.exec(_.stack),o=u&&u[1]||!1,i=u&&u[2]||!1,l=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");o===l&&(a=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(i-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=a.replace(r,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===o)return d[f];if(o===l&&d[f].innerHTML&&d[f].innerHTML.trim()===n)return d[f]}return null}}return e}))},"93ff":function(e,t,a){"use strict";var r=a("781b"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},b073:function(e,t,a){e.exports={"c-screen-sizer":"Heading_c-screen-sizer_2bJ9h","c-text":"Heading_c-text_3kBL2","c-image":"Heading_c-image_1fuee","c-heading":"Heading_c-heading_2R7Fx",loading:"Heading_loading_1WmDf",skeletonGradient:"Heading_skeletonGradient_31uyC"}},b635:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return n}));var r=a("fc81");function n(e){n.installed||(n.installed=!0,e.component("SkeletonLoader",r["a"]))}var c={install:n},s=null;"undefined"!==typeof window?s=window.Vue:"undefined"!==typeof e&&(s=e.Vue),s&&s.use(c),t["a"]=r["a"]}).call(this,a("05e9"))},c3ee:function(e,t,a){"use strict";var r=a("261b"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},c93c:function(e,t,a){e.exports={"c-screen-sizer":"RestaurantCardData_c-screen-sizer_6tqyN","c-text":"RestaurantCardData_c-text_3F_ig","c-image":"RestaurantCardData_c-image_25B03","c-heading":"RestaurantCardData_c-heading_dLOvS",loading:"RestaurantCardData_loading_18k9t","c-restaurantData":"RestaurantCardData_c-restaurantData_3MrNR","c-restaurantData-textWrapper":"RestaurantCardData_c-restaurantData-textWrapper_1P6g_","c-restaurantData-text":"RestaurantCardData_c-restaurantData-text_1_GM-",skeletonGradient:"RestaurantCardData_skeletonGradient_H1HAD"}},d2ca:function(e,t,a){"use strict";var r=a("fc51"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},dc41:function(e,t,a){e.exports={"c-screen-sizer":"Rating_c-screen-sizer_1WQ3n","c-text":"Rating_c-text_3067b","c-image":"Rating_c-image_1-2in","c-heading":"Rating_c-heading_3Kutc",loading:"Rating_loading_3dgls","c-rating":"Rating_c-rating_2fvAy",skeletonGradient:"Rating_skeletonGradient_2ivEQ"}},f102:function(e,t,a){"use strict";var r=a("c93c"),n=a.n(r);a.d(t,"default",(function(){return n.a}))},fa16:function(e,t,a){"use strict";if(a.r(t),"undefined"!==typeof window){var r=window.document.currentScript,n=a("7e10");r=n(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:n});var c=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}var s=a("b635");a.d(t,"install",(function(){return s["b"]}));t["default"]=s["a"]},fc51:function(e,t,a){e.exports={"c-screen-sizer":"SkeletonLoader_c-screen-sizer_1F6x4","c-text":"SkeletonLoader_c-text_2NZvw","c-image":"SkeletonLoader_c-image_29EJ5","c-heading":"SkeletonLoader_c-heading_18UF1",loading:"SkeletonLoader_loading_3pzea","c-skeleton-loader":"SkeletonLoader_c-skeleton-loader_3FjCU",skeletonGradient:"SkeletonLoader_skeletonGradient_1dhcS"}},fc81:function(e,t,a){"use strict";var r={};a.r(r),a.d(r,"TextBlock",(function(){return g})),a.d(r,"Heading",(function(){return b})),a.d(r,"Sentence",(function(){return D})),a.d(r,"ImageBlock",(function(){return I})),a.d(r,"Rating",(function(){return W})),a.d(r,"RestaurantCardHeader",(function(){return ee})),a.d(r,"RestaurantCardData",(function(){return oe})),a.d(r,"RestaurantCard",(function(){return Ce})),a.d(r,"RestaurantCarousel",(function(){return Re}));var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-skeleton-loader"],attrs:{"data-test-id":"skeletonLoader"}},[a(e.skeletonType,{tag:"component"})],1)},c=[],s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-text"]})},u=[],o={name:"TextBlock"},i=o,l=a("c3ee");function d(e,t,a,r,n,c,s,u){var o,i="function"===typeof e?e.options:e;if(t&&(i.render=t,i.staticRenderFns=a,i._compiled=!0),r&&(i.functional=!0),c&&(i._scopeId="data-v-"+c),s?(o=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},i._ssrRegister=o):n&&(o=u?function(){n.call(this,(i.functional?this.parent:this).$root.$options.shadowRoot)}:n),o)if(i.functional){i._injectStyles=o;var l=i.render;i.render=function(e,t){return o.call(t),l(e,t)}}else{var d=i.beforeCreate;i.beforeCreate=d?[].concat(d,o):[o]}return{exports:e,options:i}}function f(e){this["$style"]=l["default"].locals||l["default"]}var _=d(i,s,u,!1,f,null,null),g=_.exports,p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-heading"]})},C=[],m={},x=m,y=a("280a");function v(e){this["$style"]=y["default"].locals||y["default"]}var h=d(x,p,C,!1,v,null,null),b=h.exports,k=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("text-block",{class:e.$style["c-skeletonLoader-text"]}),a("text-block",{class:e.$style["c-skeletonLoader-text"]})],1)},R=[],$={components:{TextBlock:g}},S=$,H=a("4a9f");function O(e){this["$style"]=H["default"].locals||H["default"]}var j=d(S,k,R,!1,O,null,null),D=j.exports,w=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-image"]})},z=[],G={name:"ImageBlock"},T=G,E=a("3c84");function L(e){this["$style"]=E["default"].locals||E["default"]}var P=d(T,w,z,!1,L,null,null),I=P.exports,B=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-rating"]},[e._v(" ★★★★★★ ")])},M=[],F={},J=F,N=a("129b");function V(e){this["$style"]=N["default"].locals||N["default"]}var U=d(J,B,M,!1,V,null,null),W=U.exports,q=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantCardHeader"]},[a("image-block",{class:e.$style["c-restaurantCardHeader-logo"]}),a("heading",{class:e.$style["c-restaurantCardHeader-heading"]}),a("text-block",{class:[e.$style["c-restaurantCardHeader-text"]]}),a("text-block",{class:[e.$style["c-restaurantCardHeader-text"]]})],1)},Q=[],X={components:{ImageBlock:I,Heading:b,TextBlock:g}},A=X,Z=a("6e5f");function Y(e){this["$style"]=Z["default"].locals||Z["default"]}var K=d(A,q,Q,!1,Y,null,null),ee=K.exports,te=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantData"]},[a("div",{class:e.$style["c-restaurantData-textWrapper"]},[a("text-block",{class:[e.$style["c-restaurantData-text"]]}),a("text-block",{class:[e.$style["c-restaurantData-text"]]})],1),a("rating")],1)},ae=[],re={components:{TextBlock:g,Rating:W}},ne=re,ce=a("f102");function se(e){this["$style"]=ce["default"].locals||ce["default"]}var ue=d(ne,te,ae,!1,se,null,null),oe=ue.exports,ie=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantCard"]},[a("image-block",{class:e.$style["c-restaurantCard-background"]}),a("restaurant-card-header",{class:e.$style["c-restaurantCard-header"]}),a("restaurant-card-data",{class:e.$style["c-restaurantCard-data"]})],1)},le=[],de={components:{ImageBlock:I,RestaurantCardData:oe,RestaurantCardHeader:ee}},fe=de,_e=a("302c");function ge(e){this["$style"]=_e["default"].locals||_e["default"]}var pe=d(fe,ie,le,!1,ge,null,null),Ce=pe.exports,me=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-restaurantCarousel"]},[a("heading",{class:e.$style["c-restaurantCarousel-heading"]}),a("text-block",{class:e.$style["c-restaurantCarousel-desc"]}),a("div",{class:e.$style["c-restaurantCarousel-list"]},[a("restaurant-card",{class:e.$style["c-restaurantCarousel-item"]}),a("restaurant-card",{class:e.$style["c-restaurantCarousel-item"]}),a("restaurant-card",{class:e.$style["c-restaurantCarousel-item"]})],1)],1)},xe=[],ye={components:{Heading:b,TextBlock:g,RestaurantCard:Ce}},ve=ye,he=a("93ff");function be(e){this["$style"]=he["default"].locals||he["default"]}var ke=d(ve,me,xe,!1,be,null,null),Re=ke.exports;function $e(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function Se(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(a),!0).forEach((function(t){He(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$e(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function He(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var Oe={name:"SkeletonLoader",components:Se({},r),props:{skeletonType:{type:String,default:"Heading",validator:function(e){return Object.keys(r).includes(e)}}}},je=Oe,De=a("d2ca");function we(e){this["$style"]=De["default"].locals||De["default"]}var ze=d(je,n,c,!1,we,null,null);t["a"]=ze.exports}})})); | ||
//# sourceMappingURL=f-skeleton-loader.umd.min.js.map |
{ | ||
"name": "@justeat/f-skeleton-loader", | ||
"description": "Fozzie Skeleton Loader - Provides a visual indication that another component is loading. ", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"main": "dist/f-skeleton-loader.umd.min.js", | ||
@@ -35,4 +35,4 @@ "files": [ | ||
"test": "vue-cli-service test:unit", | ||
"test-component:chrome": "cross-env-shell JE_ENV=local wdio ../../../../wdio-chrome.conf.js --suite component", | ||
"test-a11y:chrome": "cross-env-shell JE_ENV=local wdio ../../../../wdio-chrome.conf.js --suite a11y" | ||
"test-component:chrome": "cross-env-shell JE_ENV=local TEST_TYPE=component wdio ../../../../wdio-chrome.conf.js", | ||
"test-a11y:chrome": "cross-env-shell JE_ENV=local TEST_TYPE=a11y wdio ../../../../wdio-chrome.conf.js --suite a11y" | ||
}, | ||
@@ -39,0 +39,0 @@ "browserslist": [ |
Sorry, the diff of this file is too big to display
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
419712
2050