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

@justeat/f-card

Package Overview
Dependencies
Maintainers
53
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@justeat/f-card - npm Package Compare versions

Comparing version 3.6.0 to 3.6.1

24

CHANGELOG.md

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

v3.6.1
-----------------------------
*Jun 10, 2022*
### Changed
- Bumped wdio version and fixed breaking changes.
*May 27, 2022*
### Removed
- unneeded `load` and `waitForComponent` functions from component object
*May 26, 2022*
### Changed
- Refactor WebDriverIO tests to use async in order to support Node 16 using `codemod` utility.
*February 4, 2022*
### Changed
- Upgraded to ESLint v8
v3.6.0

@@ -8,0 +32,0 @@ ------------------------------

14

dist/f-card.common.js

@@ -206,5 +206,5 @@ module.exports =

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1b8");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1b8");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });

@@ -219,3 +219,3 @@

// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75c84e62-vue-loader-template"}!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=78fd0a02&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d404df0-vue-loader-template"}!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=74f82803&
var render = function () {

@@ -233,5 +233,5 @@ var _obj, _obj$1, _obj$2;

// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=78fd0a02&
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=74f82803&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/circleci/project/node_modules/thread-loader/dist/cjs.js!/home/circleci/project/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--13-0!/home/circleci/project/node_modules/thread-loader/dist/cjs.js!/home/circleci/project/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js&
//

@@ -498,3 +498,3 @@ //

install.installed = true;
Vue.component('Card', _components_Card_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
Vue.component('FCard', _components_Card_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
} // Create module definition for Vue.use()

@@ -501,0 +501,0 @@

@@ -215,5 +215,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

"use strict";
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1b8");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1b8");
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_0_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_14_0_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_Card_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });

@@ -228,3 +228,3 @@

// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"75c84e62-vue-loader-template"}!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=78fd0a02&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"5d404df0-vue-loader-template"}!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=74f82803&
var render = function () {

@@ -242,5 +242,5 @@ var _obj, _obj$1, _obj$2;

// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=78fd0a02&
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=74f82803&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/circleci/project/node_modules/thread-loader/dist/cjs.js!/home/circleci/project/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js&
// CONCATENATED MODULE: /home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--13-0!/home/circleci/project/node_modules/thread-loader/dist/cjs.js!/home/circleci/project/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/circleci/project/node_modules/cache-loader/dist/cjs.js??ref--1-0!/home/circleci/project/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js&
//

@@ -507,3 +507,3 @@ //

install.installed = true;
Vue.component('Card', _components_Card_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
Vue.component('FCard', _components_Card_vue__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"]);
} // Create module definition for Vue.use()

@@ -510,0 +510,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-card"]=t():e["f-card"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fa16")}({"05e9":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"7e10":function(e,t,n){var r,a,i;(function(n,c){a=[],r=c,i="function"===typeof r?r.apply(t,a):r,void 0===i||(e.exports=i)})("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(p){var n,r,a,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.exec(p.stack)||c.exec(p.stack),d=o&&o[1]||!1,u=o&&o[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");d===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var f=0;f<l.length;f++){if("interactive"===l[f].readyState)return l[f];if(l[f].src===d)return l[f];if(d===s&&l[f].innerHTML&&l[f].innerHTML.trim()===a)return l[f]}return null}}return e}))},"81ba":function(e,t,n){"use strict";var r=n("f1b8"),a=n.n(r);n.d(t,"default",(function(){return a.a}))},ae8d:function(e,t,n){"use strict";var r=function(){var e,t,n,r=this,a=r.$createElement,i=r._self._c||a;return i("div",{class:[r.$style["c-card"],(e={},e[r.$style["c-card--outline"]]=r.hasOutline,e[r.$style["c-card--pageContentWrapper"]]=r.isPageContentWrapper,e[r.$style["c-card--size"+r.capitaliseCardSizeProp]]=""!==r.cardSizeCustom,e)],attrs:{"data-test-id":"card-component"}},[i("div",{class:[[r.$style["c-card-innerSpacing"]],(t={},t[r.$style["c-card-innerSpacing--large"]]=r.hasInnerSpacingLarge,t)],attrs:{"data-test-id":"card-inner"}},[r.cardHeading?i(r.cardHeadingTag,{tag:"component",class:[r.$style["c-card-heading"],r.cardHeadingSize,(n={},n[r.$style["c-card-heading--"+r.cardHeadingPosition+"Aligned"]]="left"!==r.cardHeadingPosition,n)],attrs:{"data-test-id":"card-heading"}},[r._v(" "+r._s(r.cardHeading)+" ")]):r._e(),r._t("default")],2),r.hasFullWidthFooter?i("div",{attrs:{"data-test-id":"card-footer"}},[r._t("cardFooter")],2):r._e()])},a=[],i={name:"CardComponent",components:{},props:{cardHeading:{type:String,default:""},cardHeadingPosition:{type:String,default:"left",validator:function(e){return-1!==["left","right","center"].indexOf(e)}},cardHeadingTag:{type:String,default:"h1",validator:function(e){return-1!==["h1","h2","h3","h4","h5","h6"].indexOf(e)}},cardHeadingSize:{type:String,default:"",validator:function(e){return-1!==["","alpha","beta","gamma","delta","epsilon","zeta"].indexOf(e)}},hasOutline:{type:Boolean,default:!1},isPageContentWrapper:{type:Boolean,default:!1},hasFullWidthFooter:{type:Boolean,default:!1},hasInnerSpacingLarge:{type:Boolean,default:!1},cardSizeCustom:{type:String,default:"",validator:function(e){return-1!==["","medium","large"].indexOf(e)}}},computed:{capitaliseCardSizeProp:function(){var e=this.cardSizeCustom;return!!e&&e.replace(/^./,e[0].toUpperCase())}}},c=i,o=n("81ba");function d(e,t,n,r,a,i,c,o){var d,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),c?(d=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},u._ssrRegister=d):a&&(d=o?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),d)if(u.functional){u._injectStyles=d;var s=u.render;u.render=function(e,t){return d.call(t),s(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,d):[d]}return{exports:e,options:u}}function u(e){this["$style"]=o["default"].locals||o["default"]}var s=d(c,r,a,!1,u,null,null);t["a"]=s.exports},b635:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a}));var r=n("ae8d");function a(e){a.installed||(a.installed=!0,e.component("Card",r["a"]))}var i={install:a},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(i),t["a"]=r["a"]}).call(this,n("05e9"))},f1b8:function(e,t,n){e.exports={"c-screen-sizer":"Card_c-screen-sizer_3bNyO","c-card":"Card_c-card_1r3Yg","c-card-innerSpacing":"Card_c-card-innerSpacing_66keJ","c-card-innerSpacing--large":"Card_c-card-innerSpacing--large_IbX5s","c-card--outline":"Card_c-card--outline_kF_4e","c-card--pageContentWrapper":"Card_c-card--pageContentWrapper_1wC0Y","c-card-heading":"Card_c-card-heading_2lAM_","c-card-heading--centerAligned":"Card_c-card-heading--centerAligned_3Y47j","c-card-heading--rightAligned":"Card_c-card-heading--rightAligned_2VtFz","c-card--sizeLarge":"Card_c-card--sizeLarge_29EqX","c-card--sizeMedium":"Card_c-card--sizeMedium_1f-zT",skeletonGradient:"Card_skeletonGradient_3FEZ2"}},fa16:function(e,t,n){"use strict";if(n.r(t),n.d(t,"install",(function(){return c["b"]})),"undefined"!==typeof window){var r=window.document.currentScript,a=n("7e10");r=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var c=n("b635");t["default"]=c["a"]}})}));
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["f-card"]=t():e["f-card"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fa16")}({"05e9":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"7e10":function(e,t,n){var r,a,i;(function(n,c){a=[],r=c,i="function"===typeof r?r.apply(t,a):r,void 0===i||(e.exports=i)})("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(p){var n,r,a,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,o=i.exec(p.stack)||c.exec(p.stack),d=o&&o[1]||!1,u=o&&o[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");d===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var f=0;f<l.length;f++){if("interactive"===l[f].readyState)return l[f];if(l[f].src===d)return l[f];if(d===s&&l[f].innerHTML&&l[f].innerHTML.trim()===a)return l[f]}return null}}return e}))},"81ba":function(e,t,n){"use strict";var r=n("f1b8"),a=n.n(r);n.d(t,"default",(function(){return a.a}))},ae8d:function(e,t,n){"use strict";var r=function(){var e,t,n,r=this,a=r.$createElement,i=r._self._c||a;return i("div",{class:[r.$style["c-card"],(e={},e[r.$style["c-card--outline"]]=r.hasOutline,e[r.$style["c-card--pageContentWrapper"]]=r.isPageContentWrapper,e[r.$style["c-card--size"+r.capitaliseCardSizeProp]]=""!==r.cardSizeCustom,e)],attrs:{"data-test-id":"card-component"}},[i("div",{class:[[r.$style["c-card-innerSpacing"]],(t={},t[r.$style["c-card-innerSpacing--large"]]=r.hasInnerSpacingLarge,t)],attrs:{"data-test-id":"card-inner"}},[r.cardHeading?i(r.cardHeadingTag,{tag:"component",class:[r.$style["c-card-heading"],r.cardHeadingSize,(n={},n[r.$style["c-card-heading--"+r.cardHeadingPosition+"Aligned"]]="left"!==r.cardHeadingPosition,n)],attrs:{"data-test-id":"card-heading"}},[r._v(" "+r._s(r.cardHeading)+" ")]):r._e(),r._t("default")],2),r.hasFullWidthFooter?i("div",{attrs:{"data-test-id":"card-footer"}},[r._t("cardFooter")],2):r._e()])},a=[],i={name:"CardComponent",components:{},props:{cardHeading:{type:String,default:""},cardHeadingPosition:{type:String,default:"left",validator:function(e){return-1!==["left","right","center"].indexOf(e)}},cardHeadingTag:{type:String,default:"h1",validator:function(e){return-1!==["h1","h2","h3","h4","h5","h6"].indexOf(e)}},cardHeadingSize:{type:String,default:"",validator:function(e){return-1!==["","alpha","beta","gamma","delta","epsilon","zeta"].indexOf(e)}},hasOutline:{type:Boolean,default:!1},isPageContentWrapper:{type:Boolean,default:!1},hasFullWidthFooter:{type:Boolean,default:!1},hasInnerSpacingLarge:{type:Boolean,default:!1},cardSizeCustom:{type:String,default:"",validator:function(e){return-1!==["","medium","large"].indexOf(e)}}},computed:{capitaliseCardSizeProp:function(){var e=this.cardSizeCustom;return!!e&&e.replace(/^./,e[0].toUpperCase())}}},c=i,o=n("81ba");function d(e,t,n,r,a,i,c,o){var d,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),c?(d=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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},u._ssrRegister=d):a&&(d=o?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),d)if(u.functional){u._injectStyles=d;var s=u.render;u.render=function(e,t){return d.call(t),s(e,t)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,d):[d]}return{exports:e,options:u}}function u(e){this["$style"]=o["default"].locals||o["default"]}var s=d(c,r,a,!1,u,null,null);t["a"]=s.exports},b635:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return a}));var r=n("ae8d");function a(e){a.installed||(a.installed=!0,e.component("FCard",r["a"]))}var i={install:a},c=null;"undefined"!==typeof window?c=window.Vue:"undefined"!==typeof e&&(c=e.Vue),c&&c.use(i),t["a"]=r["a"]}).call(this,n("05e9"))},f1b8:function(e,t,n){e.exports={"c-screen-sizer":"Card_c-screen-sizer_3bNyO","c-card":"Card_c-card_1r3Yg","c-card-innerSpacing":"Card_c-card-innerSpacing_66keJ","c-card-innerSpacing--large":"Card_c-card-innerSpacing--large_IbX5s","c-card--outline":"Card_c-card--outline_kF_4e","c-card--pageContentWrapper":"Card_c-card--pageContentWrapper_1wC0Y","c-card-heading":"Card_c-card-heading_2lAM_","c-card-heading--centerAligned":"Card_c-card-heading--centerAligned_3Y47j","c-card-heading--rightAligned":"Card_c-card-heading--rightAligned_2VtFz","c-card--sizeLarge":"Card_c-card--sizeLarge_29EqX","c-card--sizeMedium":"Card_c-card--sizeMedium_1f-zT",skeletonGradient:"Card_skeletonGradient_3FEZ2"}},fa16:function(e,t,n){"use strict";if(n.r(t),n.d(t,"install",(function(){return c["b"]})),"undefined"!==typeof window){var r=window.document.currentScript,a=n("7e10");r=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var c=n("b635");t["default"]=c["a"]}})}));
//# sourceMappingURL=f-card.umd.min.js.map
{
"name": "@justeat/f-card",
"description": "Fozzie Card Component – Used for providing wrapper card styling to an element (or group of elements)",
"version": "3.6.0",
"version": "3.6.1",
"main": "dist/f-card.umd.min.js",

@@ -26,3 +26,3 @@ "maxBundleSize": "5kB",

"engines": {
"node": ">=12.0.0"
"node": "^12 || ^14"
},

@@ -35,5 +35,6 @@ "keywords": [

"build": "vue-cli-service build --target lib --name f-card ./src/index.js",
"lint": "vue-cli-service lint --no-fix",
"lint": "eslint \"!(dist)/**/*.{js,vue}\"",
"lint:fix": "yarn lint --fix",
"lint:style": "vue-cli-service lint:style",
"lint:style": "stylelint ./src/**/*.{vue,htm,html,css,sss,less,scss}",
"lint:style:fix": "yarn lint:style --fix",
"test": "vue-cli-service test:unit",

@@ -56,11 +57,8 @@ "test-a11y:chrome": "cross-env-shell TEST_TYPE=a11y wdio ../../../../wdio-chrome.conf.js",

"devDependencies": {
"@justeat/f-wdio-utils": "0.5.0",
"@samhammer/vue-cli-plugin-stylelint": "2.0.1",
"@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "3.9.2",
"@vue/cli-plugin-unit-jest": "4.4.6",
"@vue/test-utils": "1.0.3",
"node-sass-magic-importer": "5.3.2"
"@justeat/f-wdio-utils": "0.11.0",
"@vue/cli-plugin-babel": "4.5.16",
"@vue/cli-plugin-unit-jest": "4.5.16",
"@vue/test-utils": "1.0.3"
},
"gitHead": "b44876eeffae932b6fc651dcdc485593cedd2232"
"gitHead": "df3ca98011ac98935a2ba736b94b656188881f1c"
}

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