New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@justeat/f-skeleton-loader

Package Overview
Dependencies
Maintainers
24
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeat/f-skeleton-loader - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

CHANGELOG.md

2

dist/f-skeleton-loader.umd.min.js

@@ -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(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},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(n){"object"===typeof window&&(a=window)}e.exports=a},"081f":function(e,t,a){e.exports={"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"}},"11e2":function(e,t,a){e.exports={"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"}},1331:function(e,t,a){e.exports={"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"}},3191:function(e,t,a){"use strict";var n=a("bc49"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"44f9":function(e,t,a){e.exports={"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"}},"4b0e":function(e,t,a){"use strict";var n=a("c1ca"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"5e97":function(e,t,a){e.exports={"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"}},"713c":function(e,t,a){"use strict";var n=a("5e97"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"77cb":function(e,t,a){e.exports={"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"}},"7e10":function(e,t,a){var n,r,c;(function(a,s){r=[],n=s,c="function"===typeof n?n.apply(t,r):n,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,n,r,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,s=/@([^@]*):(\d+):(\d+)\s*$/gi,o=c.exec(_.stack)||s.exec(_.stack),u=o&&o[1]||!1,i=o&&o[2]||!1,l=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");u===l&&(a=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(i-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=a.replace(n,"$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===l&&d[f].innerHTML&&d[f].innerHTML.trim()===r)return d[f]}return null}}return e}))},"88cf":function(e,t,a){e.exports={"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"}},acea:function(e,t,a){"use strict";var n=a("88cf"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},b5f5:function(e,t,a){"use strict";var n=a("1331"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},b635:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return r}));var n=a("fc81");function r(e){r.installed||(r.installed=!0,e.component("SkeletonLoader",n["a"]))}var c={install:r},s=null;"undefined"!==typeof window?s=window.Vue:"undefined"!==typeof e&&(s=e.Vue),s&&s.use(c),t["a"]=n["a"]}).call(this,a("05e9"))},b90e:function(e,t,a){e.exports={"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"}},bc49:function(e,t,a){e.exports={"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"}},c1ca:function(e,t,a){e.exports={"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"}},d3dc:function(e,t,a){"use strict";var n=a("b90e"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},d72f:function(e,t,a){"use strict";var n=a("77cb"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},ef6e:function(e,t,a){"use strict";var n=a("44f9"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},f1e8:function(e,t,a){"use strict";var n=a("11e2"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},fa16:function(e,t,a){"use strict";if(a.r(t),a.d(t,"install",(function(){return s["b"]})),"undefined"!==typeof window){var n=window.document.currentScript,r=a("7e10");n=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var c=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}var s=a("b635");t["default"]=s["a"]},fbdb:function(e,t,a){"use strict";var n=a("081f"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},fc81:function(e,t,a){"use strict";var n={};a.r(n),a.d(n,"TextBlock",(function(){return g})),a.d(n,"Heading",(function(){return b})),a.d(n,"Sentence",(function(){return D})),a.d(n,"ImageBlock",(function(){return M})),a.d(n,"Rating",(function(){return W})),a.d(n,"RestaurantCardHeader",(function(){return ee})),a.d(n,"RestaurantCardData",(function(){return ue})),a.d(n,"RestaurantCard",(function(){return me})),a.d(n,"RestaurantCarousel",(function(){return Re}));var r=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":"skeleton-loader-component"}},[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"]})},o=[],u={name:"TextBlock"},i=u,l=a("713c");function d(e,t,a,n,r,c,s,o){var u,i="function"===typeof e?e.options:e;if(t&&(i.render=t,i.staticRenderFns=a,i._compiled=!0),n&&(i.functional=!0),c&&(i._scopeId="data-v-"+c),s?(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},i._ssrRegister=u):r&&(u=o?function(){r.call(this,(i.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(i.functional){i._injectStyles=u;var l=i.render;i.render=function(e,t){return u.call(t),l(e,t)}}else{var d=i.beforeCreate;i.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:i}}function f(e){this["$style"]=l["default"].locals||l["default"]}var _=d(i,s,o,!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"]})},m=[],x={name:"SkeletonHeading"},C=x,y=a("ef6e");function v(e){this["$style"]=y["default"].locals||y["default"]}var h=d(C,p,m,!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=[],$={name:"SkeletonSentence",components:{TextBlock:g}},S=$,H=a("f1e8");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"]})},G=[],E={name:"ImageBlock"},T=E,L=a("fbdb");function P(e){this["$style"]=L["default"].locals||L["default"]}var B=d(T,w,G,!1,P,null,null),M=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=[],J={name:"SkeletonRating"},N=J,V=a("d72f");function z(e){this["$style"]=V["default"].locals||V["default"]}var U=d(N,I,F,!1,z,null,null),W=U.exports,X=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=[],A={components:{ImageBlock:M,Heading:b,TextBlock:g}},Q=A,Z=a("4b0e");function Y(e){this["$style"]=Z["default"].locals||Z["default"]}var K=d(Q,X,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=[],ne={components:{TextBlock:g,Rating:W}},re=ne,ce=a("acea");function se(e){this["$style"]=ce["default"].locals||ce["default"]}var oe=d(re,te,ae,!1,se,null,null),ue=oe.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:M,RestaurantCardData:ue,RestaurantCardHeader:ee}},fe=de,_e=a("b5f5");function ge(e){this["$style"]=_e["default"].locals||_e["default"]}var pe=d(fe,ie,le,!1,ge,null,null),me=pe.exports,xe=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)},Ce=[],ye={components:{Heading:b,TextBlock:g,RestaurantCard:me}},ve=ye,he=a("3191");function be(e){this["$style"]=he["default"].locals||he["default"]}var ke=d(ve,xe,Ce,!1,be,null,null),Re=ke.exports;function $e(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}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({},n),props:{skeletonType:{type:String,default:"Heading",validator:function(e){return Object.keys(n).includes(e)}}}},je=Oe,De=a("d3dc");function we(e){this["$style"]=De["default"].locals||De["default"]}var Ge=d(je,r,c,!1,we,null,null);t["a"]=Ge.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(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},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 n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},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(n){"object"===typeof window&&(a=window)}e.exports=a},"081f":function(e,t,a){e.exports={"c-text":"Image_c-text_Ib4PJ","c-image":"Image_c-image_3ryEG","c-heading":"Image_c-heading_3ZBgy",loading:"Image_loading_3beSr","skeleton-gradient":"Image_skeleton-gradient_3cRMb"}},"11e2":function(e,t,a){e.exports={"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","skeleton-gradient":"Sentence_skeleton-gradient_1Ulu_"}},1331:function(e,t,a){e.exports={"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","skeleton-gradient":"RestaurantCard_skeleton-gradient_2lVqh"}},"1beb":function(e,t,a){e.exports={"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","skeleton-gradient":"Rating_skeleton-gradient_2Dozi"}},3191:function(e,t,a){"use strict";var n=a("bc49"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"44f9":function(e,t,a){e.exports={"c-text":"Heading_c-text_3kBL2","c-image":"Heading_c-image_1fuee","c-heading":"Heading_c-heading_2R7Fx",loading:"Heading_loading_1WmDf","skeleton-gradient":"Heading_skeleton-gradient_1ve8A"}},"4b0e":function(e,t,a){"use strict";var n=a("c1ca"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"5e97":function(e,t,a){e.exports={"c-text":"Text_c-text_3-i63","c-image":"Text_c-image_zqMea","c-heading":"Text_c-heading_-aH4t",loading:"Text_loading_-ysz_","skeleton-gradient":"Text_skeleton-gradient_3ENMG"}},"713c":function(e,t,a){"use strict";var n=a("5e97"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"7e10":function(e,t,a){var n,r,s;(function(a,c){r=[],n=c,s="function"===typeof n?n.apply(t,r):n,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,n,r,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,n=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),r=a.replace(n,"$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()===r)return d[f]}return null}}return e}))},"88cf":function(e,t,a){e.exports={"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-","skeleton-gradient":"RestaurantCardData_skeleton-gradient_3QPxi"}},"96a5":function(e,t,a){e.exports={"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","skeleton-gradient":"SkeletonLoader_skeleton-gradient_1a1u3"}},"9ce0":function(e,t,a){"use strict";var n=a("1beb"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},acea:function(e,t,a){"use strict";var n=a("88cf"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},b5f5:function(e,t,a){"use strict";var n=a("1331"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},b635:function(e,t,a){"use strict";(function(e){a.d(t,"b",(function(){return r}));var n=a("fc81");function r(e){r.installed||(r.installed=!0,e.component("SkeletonLoader",n["a"]))}const s={install:r};let c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(s),t["a"]=n["a"]}).call(this,a("05e9"))},bc49:function(e,t,a){e.exports={"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","skeleton-gradient":"RestaurantCarousel_skeleton-gradient_bh1FP"}},c1ca:function(e,t,a){e.exports={"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","skeleton-gradient":"RestaurantCardHeader_skeleton-gradient_1Tbc0"}},cc17:function(e,t,a){"use strict";var n=a("96a5"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},ef6e:function(e,t,a){"use strict";var n=a("44f9"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},f1e8:function(e,t,a){"use strict";var n=a("11e2"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},fa16:function(e,t,a){"use strict";if(a.r(t),a.d(t,"install",(function(){return c["b"]})),"undefined"!==typeof window){var n=window.document.currentScript,r=a("7e10");n=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r});var s=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);s&&(a.p=s[1])}var c=a("b635");t["default"]=c["a"]},fbdb:function(e,t,a){"use strict";var n=a("081f"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},fc81:function(e,t,a){"use strict";var n={};a.r(n),a.d(n,"TextBlock",(function(){return g})),a.d(n,"Heading",(function(){return k})),a.d(n,"Sentence",(function(){return j})),a.d(n,"ImageBlock",(function(){return P})),a.d(n,"Rating",(function(){return G})),a.d(n,"RestaurantCardHeader",(function(){return ee})),a.d(n,"RestaurantCardData",(function(){return ue})),a.d(n,"RestaurantCard",(function(){return me})),a.d(n,"RestaurantCarousel",(function(){return be}));var r=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":"skeleton-loader-component"}},[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("713c");function d(e,t,a,n,r,s,c,o){var u,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=a,l._compiled=!0),n&&(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__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},l._ssrRegister=u):r&&(u=o?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),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,p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-heading"]})},m=[],x={name:"SkeletonHeading"},C=x,h=a("ef6e");function v(e){this["$style"]=h["default"].locals||h["default"]}var y=d(C,p,m,!1,v,null,null),k=y.exports,R=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)},b=[],$={name:"SkeletonSentence",components:{TextBlock:g}},S=$,H=a("f1e8");function D(e){this["$style"]=H["default"].locals||H["default"]}var T=d(S,R,b,!1,D,null,null),j=T.exports,E=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-image"]})},w=[],L={name:"ImageBlock"},O=L,B=a("fbdb");function M(e){this["$style"]=B["default"].locals||B["default"]}var I=d(O,E,w,!1,M,null,null),P=I.exports,F=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.$style["c-rating"]},[e._v(" "+e._s(e.stars)+" ")])},N=[],z={name:"SkeletonRating",inject:{skeletonOptions:{default:{}}},computed:{stars(){return!0===this.skeletonOptions.use5Stars?"★★★★★":"★★★★★★"}}},J=z,U=a("9ce0");function V(e){this["$style"]=U["default"].locals||U["default"]}var q=d(J,F,N,!1,V,null,null),G=q.exports,X=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)},A=[],W={components:{ImageBlock:P,Heading:k,TextBlock:g}},Z=W,Y=a("4b0e");function K(e){this["$style"]=Y["default"].locals||Y["default"]}var Q=d(Z,X,A,!1,K,null,null),ee=Q.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=[],ne={components:{TextBlock:g,Rating:G}},re=ne,se=a("acea");function ce(e){this["$style"]=se["default"].locals||se["default"]}var oe=d(re,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-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)},ie=[],de={components:{ImageBlock:P,RestaurantCardData:ue,RestaurantCardHeader:ee}},fe=de,_e=a("b5f5");function ge(e){this["$style"]=_e["default"].locals||_e["default"]}var pe=d(fe,le,ie,!1,ge,null,null),me=pe.exports,xe=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)},Ce=[],he={components:{Heading:k,TextBlock:g,RestaurantCard:me}},ve=he,ye=a("3191");function ke(e){this["$style"]=ye["default"].locals||ye["default"]}var Re=d(ve,xe,Ce,!1,ke,null,null),be=Re.exports,$e={name:"SkeletonLoader",components:{...n},provide(){return{skeletonOptions:this.options}},props:{skeletonType:{type:String,default:"Heading",validator(e){return Object.keys(n).includes(e)}},options:{type:Object,default:()=>({})}}},Se=$e,He=a("cc17");function De(e){this["$style"]=He["default"].locals||He["default"]}var Te=d(Se,r,s,!1,De,null,null);t["a"]=Te.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": "3.2.0",
"version": "3.3.0",
"main": "dist/f-skeleton-loader.umd.min.js",

@@ -39,3 +39,3 @@ "maxBundleSize": "10kB",

"lint:style:fix": "yarn lint:style --fix",
"test": "vue-cli-service test:unit",
"test": "jest",
"test-component:chrome": "cross-env-shell TEST_TYPE=component wdio ../../../../wdio-chrome.conf.js",

@@ -51,3 +51,3 @@ "test-a11y:chrome": "cross-env-shell TEST_TYPE=a11y wdio ../../../../wdio-chrome.conf.js",

"dependencies": {
"@justeat/f-services": "1.7.0"
"@justeat/f-services": "1.x"
},

@@ -58,9 +58,5 @@ "peerDependencies": {

"devDependencies": {
"@justeat/f-wdio-utils": "1.1.0",
"@justeat/fozzie": "9.0.0-beta.5",
"@vue/cli-plugin-babel": "4.5.16",
"@vue/cli-plugin-unit-jest": "4.5.16",
"@vue/test-utils": "1.0.3"
"@justeat/f-wdio-utils": "1.x"
},
"gitHead": "a5c99f81d2ddcb57483c5613dee8db57dbbe5f47"
"gitHead": "9ccf677d5b9d6a04a9415ee308691fcd9b28b30c"
}

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

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