Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@justeat/f-skeleton-loader

Package Overview
Dependencies
Maintainers
53
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.0.0 to 3.1.0

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Changelog

v3.1.0
------------------------------
*July 5, 2022*
### Changed
- Update f-wdio-utils to v1.1.0
- Update component objects / specs to use ES6 syntax.
v3.0.0

@@ -8,0 +17,0 @@ -----------------------------

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},"129b":function(e,t,a){"use strict";var n=a("dc41"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"261b":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"}},"26c0":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"}},"280a":function(e,t,a){"use strict";var n=a("b073"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"302c":function(e,t,a){"use strict";var n=a("62fe"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"3c84":function(e,t,a){"use strict";var n=a("26c0"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"445d":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"}},"4a9f":function(e,t,a){"use strict";var n=a("445d"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},"62fe":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"}},"6e5f":function(e,t,a){"use strict";var n=a("7708"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},7708: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"}},"781b":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"}},"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}))},"93ff":function(e,t,a){"use strict";var n=a("781b"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},b073: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"}},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"))},c3ee:function(e,t,a){"use strict";var n=a("261b"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},c93c: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"}},d2ca:function(e,t,a){"use strict";var n=a("fc51"),r=a.n(n);a.d(t,"default",(function(){return r.a}))},dc41: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"}},f102:function(e,t,a){"use strict";var n=a("c93c"),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"]},fc51: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"}},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 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("c3ee");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("280a");function v(e){this["$style"]=y["default"].locals||y["default"]}var h=d(C,p,m,!1,v,null,null),k=h.exports,b=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("4a9f");function O(e){this["$style"]=H["default"].locals||H["default"]}var j=d(S,b,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("3c84");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("129b");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:k,TextBlock:g}},Q=A,Z=a("6e5f");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("f102");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("302c");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:k,TextBlock:g,RestaurantCard:me}},ve=ye,he=a("93ff");function ke(e){this["$style"]=he["default"].locals||he["default"]}var be=d(ve,xe,Ce,!1,ke,null,null),Re=be.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("d2ca");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",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}})}));
//# 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.0.0",
"version": "3.1.0",
"main": "dist/f-skeleton-loader.umd.min.js",

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

"devDependencies": {
"@justeat/f-wdio-utils": "0.11.0",
"@justeat/f-wdio-utils": "1.1.0",
"@justeat/fozzie": "9.0.0-beta.5",

@@ -63,3 +63,3 @@ "@vue/cli-plugin-babel": "4.5.16",

},
"gitHead": "ac765879bafd02e767bd640b3b155f3c3d5c14e8"
"gitHead": "877f9b40a3deb2d99b0b7b463e44afb4fb57236f"
}

@@ -1,7 +0,9 @@

const Page = require('@justeat/f-wdio-utils/src/base.page');
import Page from '@justeat/f-wdio-utils';
module.exports = class SkeletonLoader extends Page {
class SkeletonLoader extends Page {
constructor () {
super('molecule', 'skeleton-loader-component');
}
};
}
export default new SkeletonLoader();

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 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