@justeat/f-card
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -6,2 +6,23 @@ # Changelog | ||
v0.4.0 | ||
------------------------------ | ||
*July 23, 2020* | ||
### Changed | ||
- Updating colour variables to use new versions set in `fozzie-colour-palette` (rebrand phase 3.1). | ||
- Changing `data-theme` to `data-theme-card` to avoid clashing with any other components in the future. | ||
- Vue CLI minor package updates. | ||
*July 2, 2020* | ||
### Added | ||
- Accessibility add-on to Storybook story. | ||
*June 25, 2020* | ||
### Changed | ||
- Updating colour variables to use new versions set in `fozzie-colour-palette`. | ||
v0.3.1 | ||
@@ -14,2 +35,3 @@ ------------------------------ | ||
v0.3.0 | ||
@@ -22,8 +44,2 @@ ------------------------------ | ||
- Storybook updated for card component. | ||
Latest (roll into next release) | ||
------------------------------ | ||
*May 12, 2020* | ||
### Changed | ||
- Updating `vue-test-utils` to v1. | ||
@@ -33,2 +49,3 @@ - Structure of Storybook stories changed to CSF (Component Story Format) – the new recommended way to write stories. | ||
v0.2.0 | ||
@@ -35,0 +52,0 @@ ------------------------------ |
@@ -104,9 +104,5 @@ module.exports = | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["b" /* install */]; }); | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
// This file is imported into lib/wc client bundles. | ||
@@ -138,3 +134,4 @@ | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* concated harmony reexport install */__webpack_require__.d(__webpack_exports__, "install", function() { return src_0["b" /* install */]; }); | ||
@@ -148,10 +145,2 @@ | ||
/***/ "246d": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// extracted by mini-css-extract-plugin | ||
module.exports = {"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}; | ||
/***/ }), | ||
/***/ "405b": | ||
@@ -175,5 +164,12 @@ /***/ (function(module, exports, __webpack_require__) { | ||
function getCurrentScript () { | ||
if (document.currentScript) { | ||
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript') | ||
// for chrome | ||
if (!descriptor && 'currentScript' in document && document.currentScript) { | ||
return document.currentScript | ||
} | ||
// for other browsers with native support for currentScript | ||
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) { | ||
return document.currentScript | ||
} | ||
@@ -267,8 +263,16 @@ // IE 8-10 support script readyState | ||
"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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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__("246d"); | ||
/* 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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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 default export */ __webpack_exports__["default"] = (_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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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_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__("a36f"); | ||
/* 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 default export */ __webpack_exports__["default"] = (_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); | ||
/***/ }), | ||
/***/ "a36f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// extracted by mini-css-extract-plugin | ||
module.exports = {"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}; | ||
/***/ }), | ||
/***/ "ae8d": | ||
@@ -279,3 +283,3 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f69b68b6-vue-loader-template"}!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=59d83d3d& | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9cd0ab72-vue-loader-template"}!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=1f44589b& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[ | ||
@@ -294,3 +298,3 @@ _vm.$style['c-card'], | ||
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=59d83d3d& | ||
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=1f44589b& | ||
@@ -360,3 +364,3 @@ // EXTERNAL MODULE: ./node_modules/@justeat/f-services/dist/f-services.esm.js | ||
/* harmony default export */ var tenants = (tenantConfigs); | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--12-0!/mnt/c/justeat/fozzie-components/node_modules/thread-loader/dist/cjs.js!/mnt/c/justeat/fozzie-components/node_modules/babel-loader/lib!/mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js& | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/thread-loader/dist/cjs.js!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/babel-loader/lib!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js& | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
@@ -444,3 +448,3 @@ | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
/* globals __VUE_SSR_CONTEXT__ */ | ||
@@ -447,0 +451,0 @@ |
@@ -113,9 +113,5 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
"use strict"; | ||
// ESM COMPAT FLAG | ||
__webpack_require__.r(__webpack_exports__); | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["b" /* install */]; }); | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
// This file is imported into lib/wc client bundles. | ||
@@ -147,3 +143,4 @@ | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/lib/commands/build/entry-lib.js | ||
/* concated harmony reexport install */__webpack_require__.d(__webpack_exports__, "install", function() { return src_0["b" /* install */]; }); | ||
@@ -157,10 +154,2 @@ | ||
/***/ "246d": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// extracted by mini-css-extract-plugin | ||
module.exports = {"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}; | ||
/***/ }), | ||
/***/ "405b": | ||
@@ -184,5 +173,12 @@ /***/ (function(module, exports, __webpack_require__) { | ||
function getCurrentScript () { | ||
if (document.currentScript) { | ||
var descriptor = Object.getOwnPropertyDescriptor(document, 'currentScript') | ||
// for chrome | ||
if (!descriptor && 'currentScript' in document && document.currentScript) { | ||
return document.currentScript | ||
} | ||
// for other browsers with native support for currentScript | ||
if (descriptor && descriptor.get !== getCurrentScript && document.currentScript) { | ||
return document.currentScript | ||
} | ||
@@ -276,8 +272,16 @@ // IE 8-10 support script readyState | ||
"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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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__("246d"); | ||
/* 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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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 default export */ __webpack_exports__["default"] = (_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_lib_loader_js_ref_8_oneOf_0_3_node_modules_sass_loader_lib_loader_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_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__("a36f"); | ||
/* 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 default export */ __webpack_exports__["default"] = (_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); | ||
/***/ }), | ||
/***/ "a36f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// extracted by mini-css-extract-plugin | ||
module.exports = {"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}; | ||
/***/ }), | ||
/***/ "ae8d": | ||
@@ -288,3 +292,3 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f69b68b6-vue-loader-template"}!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=59d83d3d& | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9cd0ab72-vue-loader-template"}!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=template&id=1f44589b& | ||
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[ | ||
@@ -303,3 +307,3 @@ _vm.$style['c-card'], | ||
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=59d83d3d& | ||
// CONCATENATED MODULE: ./src/components/Card.vue?vue&type=template&id=1f44589b& | ||
@@ -369,3 +373,3 @@ // EXTERNAL MODULE: ./node_modules/@justeat/f-services/dist/f-services.esm.js | ||
/* harmony default export */ var tenants = (tenantConfigs); | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--12-0!/mnt/c/justeat/fozzie-components/node_modules/thread-loader/dist/cjs.js!/mnt/c/justeat/fozzie-components/node_modules/babel-loader/lib!/mnt/c/justeat/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js& | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--12-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/thread-loader/dist/cjs.js!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/babel-loader/lib!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/cache-loader/dist/cjs.js??ref--0-0!/Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/Card.vue?vue&type=script&lang=js& | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
@@ -453,3 +457,3 @@ | ||
// CONCATENATED MODULE: /mnt/c/justeat/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
// CONCATENATED MODULE: /Users/ashley.nolan/_je/ui/components/fozzie-components/node_modules/@vue/cli-service/node_modules/vue-loader/lib/runtime/componentNormalizer.js | ||
/* globals __VUE_SSR_CONTEXT__ */ | ||
@@ -456,0 +460,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 o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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="1c25")}({"08a0":function(e,t,n){"use strict";(function(e){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r="object"==("undefined"==typeof e?"undefined":n(e))&&e&&e.Object===Object&&e,o="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=r||o||Function("return this")(),a=i.Symbol,c=Object.prototype,u=c.hasOwnProperty,d=c.toString,f=a?a.toStringTag:void 0,l=Object.prototype.toString,s="[object Null]",p="[object Undefined]",y=a?a.toStringTag:void 0;function m(e){return null==e?void 0===e?p:s:y&&y in Object(e)?function(e){var t=u.call(e,f),n=e[f];try{e[f]=void 0;var r=!0}catch(e){}var o=d.call(e);return r&&(t?e[f]=n:delete e[f]),o}(e):function(e){return l.call(e)}(e)}var v="[object Symbol]";function b(e){return"symbol"==n(e)||function(e){return null!=e&&"object"==n(e)}(e)&&m(e)==v}function g(e){var t=n(e);return null!=e&&("object"==t||"function"==t)}var h=NaN,_=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,C=/^0o[0-7]+$/i,w=parseInt;function S(e){if("number"==typeof e)return e;if(b(e))return h;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(_,"");var n=j.test(e);return n||C.test(e)?w(e.slice(2),n?2:8):O.test(e)?h:+e}var T=function(){return i.Date.now()},x="Expected a function",E=Math.max,$=Math.min;function P(e,t,n){var r,o,i,a,c,u,d=0,f=!1,l=!1,s=!0;if("function"!=typeof e)throw new TypeError(x);function p(t){var n=r,i=o;return r=o=void 0,d=t,a=e.apply(i,n)}function y(e){var n=e-u;return void 0===u||n>=t||n<0||l&&e-d>=i}function m(){var e=T();if(y(e))return v(e);c=setTimeout(m,function(e){var n=t-(e-u);return l?$(n,i-(e-d)):n}(e))}function v(e){return c=void 0,s&&r?p(e):(r=o=void 0,a)}function b(){var e=T(),n=y(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return function(e){return d=e,c=setTimeout(m,t),f?p(e):a}(u);if(l)return clearTimeout(c),c=setTimeout(m,t),p(u)}return void 0===c&&(c=setTimeout(m,t)),a}return t=S(t)||0,g(n)&&(f=!!n.leading,i=(l="maxWait"in n)?E(S(n.maxWait)||0,t):i,s="trailing"in n?!!n.trailing:s),b.cancel=function(){void 0!==c&&clearTimeout(c),d=0,r=u=o=c=void 0},b.flush=function(){return void 0===c?a:v(T())},b}var I="Expected a function",N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{},W="object"===("undefined"==typeof self?"undefined":n(self))&&self.self===self&&self||"object"===n(N)&&N.global===N&&N||N,H={getLocale:function(e,t,n){var r=""===t?null==n?void 0:n.locale:t;return e[r]||(r="en-GB"),r},getTheme:function(e){switch(e){case"en-AU":case"en-NZ":return"ml";default:return"je"}},getWindowWidth:function(){return W.innerWidth},getWindowHeight:function(){return W.innerHeight},addEvent:function(e,t,n){return n>0?W.addEventListener(e,function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(I);return g(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),P(e,t,{leading:r,maxWait:t,trailing:o})}(t,n)):W.addEventListener(e,t)},removeEvent:function(e,t){W.removeEventListener(e,t)}};t["a"]=H}).call(this,n("7d15"))},"1c25":function(e,t,n){"use strict";if(n.r(t),n.d(t,"install",(function(){return a["b"]})),"undefined"!==typeof window){var r=window.document.currentScript,o=n("405b");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var a=n("b635");t["default"]=a["a"]},"246d":function(e,t,n){e.exports={"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}},"405b":function(e,t,n){var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(t,o):r,void 0===i||(e.exports=i)})("undefined"!==typeof self&&self,(function(){function e(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(l){var e,t,n,r=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,i=r.exec(l.stack)||o.exec(l.stack),a=i&&i[1]||!1,c=i&&i[2]||!1,u=document.location.href.replace(document.location.hash,""),d=document.getElementsByTagName("script");a===u&&(e=document.documentElement.outerHTML,t=new RegExp("(?:[^\\n]+?\\n){0,"+(c-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),n=e.replace(t,"$1").trim());for(var f=0;f<d.length;f++){if("interactive"===d[f].readyState)return d[f];if(d[f].src===a)return d[f];if(a===u&&d[f].innerHTML&&d[f].innerHTML.trim()===n)return d[f]}return null}}return e}))},"7d15":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},"81ba":function(e,t,n){"use strict";var r=n("246d"),o=n.n(r);t["default"]=o.a},ae8d:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style["c-card"],e.isRounded?e.$style["c-card--rounded"]:"",e.hasOutline?e.$style["c-card--outline"]:"",e.isPageContentWrapper?e.$style["c-card--pageContentWrapper"]:""],attrs:{"data-theme-card":e.theme}},[e.cardHeading?n("h1",{class:["beta",e.$style["c-card-heading"],"left"!==e.cardHeadingPosition?e.$style["c-card--"+e.cardHeadingPosition]:""],attrs:{"data-test":"card-heading"}},[e._v(" "+e._s(e.cardHeading)+" ")]):e._e(),e._t("default")],2)},o=[],i=n("08a0"),a={locale:"en-GB",cardTitle:"I am a Card Component (GB)"},c={locale:"en-AU",cardTitle:"I am a Card Component (AU)"},u={locale:"en-NZ",cardTitle:"I am a Card Component (NZ)"},d={locale:"da-DK",cardTitle:"I am a Card Component (DK)"},f={locale:"es-ES",cardTitle:"I am a Card Component (ES)"},l={locale:"en-IE",cardTitle:"I am a Card Component (IE)"},s={locale:"it-IT",cardTitle:"I am a Card Component (IT)"},p={locale:"nb-NO",cardTitle:"I am a Card Component (NO)"},y={"en-GB":a,"en-AU":c,"en-NZ":u,"da-DK":d,"es-ES":f,"en-IE":l,"it-IT":s,"nb-NO":p},m=y;function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={name:"CardComponent",components:{},props:{locale:{type:String,default:""},cardHeading:{type:String,default:""},cardHeadingPosition:{type:String,default:"left",validator:function(e){return-1!==["left","right","center"].indexOf(e)}},isRounded:{type:Boolean,default:!1},hasOutline:{type:Boolean,default:!1},isPageContentWrapper:{type:Boolean,default:!1}},computed:{cardLocale:function(){return i["a"].getLocale(m,this.locale,this.$i18n)},copy:function(){var e=m[this.cardLocale];return b({},e)},theme:function(){return i["a"].getTheme(this.cardLocale)}}},_=h,O=n("81ba");function j(e,t,n,r,o,i,a,c){var u,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):o&&(u=c?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(d.functional){d._injectStyles=u;var f=d.render;d.render=function(e,t){return u.call(t),f(e,t)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:d}}function C(e){this["$style"]=O["default"].locals||O["default"]}var w=j(_,r,o,!1,C,null,null);t["a"]=w.exports},b635:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o}));var r=n("ae8d");function o(e){o.installed||(o.installed=!0,e.component("Card",r["a"]))}var i={install:o},a=null;"undefined"!==typeof window?a=window.Vue:"undefined"!==typeof e&&(a=e.Vue),a&&a.use(i),t["a"]=r["a"]}).call(this,n("7d15"))}})})); | ||
(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 o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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="1c25")}({"08a0":function(e,t,n){"use strict";(function(e){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r="object"==("undefined"==typeof e?"undefined":n(e))&&e&&e.Object===Object&&e,o="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=r||o||Function("return this")(),a=i.Symbol,c=Object.prototype,u=c.hasOwnProperty,d=c.toString,f=a?a.toStringTag:void 0,l=Object.prototype.toString,s="[object Null]",p="[object Undefined]",y=a?a.toStringTag:void 0;function m(e){return null==e?void 0===e?p:s:y&&y in Object(e)?function(e){var t=u.call(e,f),n=e[f];try{e[f]=void 0;var r=!0}catch(e){}var o=d.call(e);return r&&(t?e[f]=n:delete e[f]),o}(e):function(e){return l.call(e)}(e)}var v="[object Symbol]";function b(e){return"symbol"==n(e)||function(e){return null!=e&&"object"==n(e)}(e)&&m(e)==v}function g(e){var t=n(e);return null!=e&&("object"==t||"function"==t)}var h=NaN,_=/^\s+|\s+$/g,O=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,C=/^0o[0-7]+$/i,w=parseInt;function S(e){if("number"==typeof e)return e;if(b(e))return h;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(_,"");var n=j.test(e);return n||C.test(e)?w(e.slice(2),n?2:8):O.test(e)?h:+e}var T=function(){return i.Date.now()},x="Expected a function",E=Math.max,$=Math.min;function P(e,t,n){var r,o,i,a,c,u,d=0,f=!1,l=!1,s=!0;if("function"!=typeof e)throw new TypeError(x);function p(t){var n=r,i=o;return r=o=void 0,d=t,a=e.apply(i,n)}function y(e){var n=e-u;return void 0===u||n>=t||n<0||l&&e-d>=i}function m(){var e=T();if(y(e))return v(e);c=setTimeout(m,function(e){var n=t-(e-u);return l?$(n,i-(e-d)):n}(e))}function v(e){return c=void 0,s&&r?p(e):(r=o=void 0,a)}function b(){var e=T(),n=y(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return function(e){return d=e,c=setTimeout(m,t),f?p(e):a}(u);if(l)return clearTimeout(c),c=setTimeout(m,t),p(u)}return void 0===c&&(c=setTimeout(m,t)),a}return t=S(t)||0,g(n)&&(f=!!n.leading,i=(l="maxWait"in n)?E(S(n.maxWait)||0,t):i,s="trailing"in n?!!n.trailing:s),b.cancel=function(){void 0!==c&&clearTimeout(c),d=0,r=u=o=c=void 0},b.flush=function(){return void 0===c?a:v(T())},b}var I="Expected a function",N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{},W="object"===("undefined"==typeof self?"undefined":n(self))&&self.self===self&&self||"object"===n(N)&&N.global===N&&N||N,D={getLocale:function(e,t,n){var r=""===t?null==n?void 0:n.locale:t;return e[r]||(r="en-GB"),r},getTheme:function(e){switch(e){case"en-AU":case"en-NZ":return"ml";default:return"je"}},getWindowWidth:function(){return W.innerWidth},getWindowHeight:function(){return W.innerHeight},addEvent:function(e,t,n){return n>0?W.addEventListener(e,function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(I);return g(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),P(e,t,{leading:r,maxWait:t,trailing:o})}(t,n)):W.addEventListener(e,t)},removeEvent:function(e,t){W.removeEventListener(e,t)}};t["a"]=D}).call(this,n("7d15"))},"1c25":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,o=n("405b");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}var a=n("b635");n.d(t,"install",(function(){return a["b"]}));t["default"]=a["a"]},"405b":function(e,t,n){var r,o,i;(function(n,a){o=[],r=a,i="function"===typeof r?r.apply(t,o):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,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=i.exec(p.stack)||a.exec(p.stack),u=c&&c[1]||!1,d=c&&c[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(d-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var s=0;s<l.length;s++){if("interactive"===l[s].readyState)return l[s];if(l[s].src===u)return l[s];if(u===f&&l[s].innerHTML&&l[s].innerHTML.trim()===o)return l[s]}return null}}return e}))},"7d15":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},"81ba":function(e,t,n){"use strict";var r=n("a36f"),o=n.n(r);t["default"]=o.a},a36f:function(e,t,n){e.exports={"c-card":"Card_c-card_1r3Yg","c-card--separated":"Card_c-card--separated_2Ynlg","c-card--rounded":"Card_c-card--rounded_1EpZK","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--center":"Card_c-card--center_2_s-5","c-card--right":"Card_c-card--right_2WuuU"}},ae8d:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style["c-card"],e.isRounded?e.$style["c-card--rounded"]:"",e.hasOutline?e.$style["c-card--outline"]:"",e.isPageContentWrapper?e.$style["c-card--pageContentWrapper"]:""],attrs:{"data-theme-card":e.theme}},[e.cardHeading?n("h1",{class:["beta",e.$style["c-card-heading"],"left"!==e.cardHeadingPosition?e.$style["c-card--"+e.cardHeadingPosition]:""],attrs:{"data-test":"card-heading"}},[e._v(" "+e._s(e.cardHeading)+" ")]):e._e(),e._t("default")],2)},o=[],i=n("08a0"),a={locale:"en-GB",cardTitle:"I am a Card Component (GB)"},c={locale:"en-AU",cardTitle:"I am a Card Component (AU)"},u={locale:"en-NZ",cardTitle:"I am a Card Component (NZ)"},d={locale:"da-DK",cardTitle:"I am a Card Component (DK)"},f={locale:"es-ES",cardTitle:"I am a Card Component (ES)"},l={locale:"en-IE",cardTitle:"I am a Card Component (IE)"},s={locale:"it-IT",cardTitle:"I am a Card Component (IT)"},p={locale:"nb-NO",cardTitle:"I am a Card Component (NO)"},y={"en-GB":a,"en-AU":c,"en-NZ":u,"da-DK":d,"es-ES":f,"en-IE":l,"it-IT":s,"nb-NO":p},m=y;function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h={name:"CardComponent",components:{},props:{locale:{type:String,default:""},cardHeading:{type:String,default:""},cardHeadingPosition:{type:String,default:"left",validator:function(e){return-1!==["left","right","center"].indexOf(e)}},isRounded:{type:Boolean,default:!1},hasOutline:{type:Boolean,default:!1},isPageContentWrapper:{type:Boolean,default:!1}},computed:{cardLocale:function(){return i["a"].getLocale(m,this.locale,this.$i18n)},copy:function(){var e=m[this.cardLocale];return b({},e)},theme:function(){return i["a"].getTheme(this.cardLocale)}}},_=h,O=n("81ba");function j(e,t,n,r,o,i,a,c){var u,d="function"===typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(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__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):o&&(u=c?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(d.functional){d._injectStyles=u;var f=d.render;d.render=function(e,t){return u.call(t),f(e,t)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:d}}function C(e){this["$style"]=O["default"].locals||O["default"]}var w=j(_,r,o,!1,C,null,null);t["a"]=w.exports},b635:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return o}));var r=n("ae8d");function o(e){o.installed||(o.installed=!0,e.component("Card",r["a"]))}var i={install:o},a=null;"undefined"!==typeof window?a=window.Vue:"undefined"!==typeof e&&(a=e.Vue),a&&a.use(i),t["a"]=r["a"]}).call(this,n("7d15"))}})})); | ||
//# 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": "0.3.1", | ||
"version": "0.4.0", | ||
"main": "dist/f-card.umd.min.js", | ||
@@ -45,8 +45,8 @@ "files": [ | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "4.2.3", | ||
"@vue/cli-plugin-babel": "4.4.6", | ||
"@vue/cli-plugin-eslint": "3.9.2", | ||
"@vue/cli-plugin-unit-jest": "4.3.1", | ||
"@vue/test-utils": "1.0.2", | ||
"@vue/cli-plugin-unit-jest": "4.4.6", | ||
"@vue/test-utils": "1.0.3", | ||
"node-sass-magic-importer": "5.3.2" | ||
} | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
169190
1127
0