@everchron/ec-shards 2.1.4 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ec-shards.common.js +16 -6
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.umd.js +16 -6
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/log-message/log-message.vue +19 -4
- package/src/components/modal/modal.vue +11 -1
- package/src/stories/Changelog.stories.mdx +12 -0
- package/src/stories/log-message/log-message.stories.js +11 -0
- package/src/stories/modal/modal.stories.js +29 -0
package/dist/ec-shards.umd.js
CHANGED
|
@@ -20272,12 +20272,12 @@ var map_component = normalizeComponent(
|
|
|
20272
20272
|
)
|
|
20273
20273
|
|
|
20274
20274
|
/* harmony default export */ var map = (map_component.exports);
|
|
20275
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09bac6d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/modal/modal.vue?vue&type=template&id=
|
|
20276
|
-
var
|
|
20277
|
-
var
|
|
20275
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09bac6d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/modal/modal.vue?vue&type=template&id=3e590033&
|
|
20276
|
+
var modalvue_type_template_id_3e590033_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"dialog-fade"}},[(_vm.isShown)?_c('div',{staticClass:"ecs-modal",class:[_vm.typeClass, _vm.clickthrough ? 'ecs-modal-click-through' : '']},[_c('div',{staticClass:"ecs-modal-dialog ecs-modal-sheet",style:(_vm.fixedHeightStyle)},[(_vm.$slots.header)?_c('div',{staticClass:"ecs-modal-header-wrap"},[_vm._t("header")],2):_vm._e(),_vm._v(" "),_c('div',{staticClass:"ecs-modal-content-wrap scrollbar"},[_vm._t("default")],2),_vm._v(" "),(_vm.$slots.footer)?_c('div',{staticClass:"ecs-modal-footer-wrap"},[_vm._t("footer")],2):_vm._e()]),_vm._v(" "),_c('div',{staticClass:"ecs-modal-backdrop ecs-modal-sheet-backdrop"})]):_vm._e()])}
|
|
20277
|
+
var modalvue_type_template_id_3e590033_staticRenderFns = []
|
|
20278
20278
|
|
|
20279
20279
|
|
|
20280
|
-
// CONCATENATED MODULE: ./src/components/modal/modal.vue?vue&type=template&id=
|
|
20280
|
+
// CONCATENATED MODULE: ./src/components/modal/modal.vue?vue&type=template&id=3e590033&
|
|
20281
20281
|
|
|
20282
20282
|
// EXTERNAL MODULE: ./src/components/modal-base/modal-base.vue?vue&type=style&index=0&lang=scss&
|
|
20283
20283
|
var modal_basevue_type_style_index_0_lang_scss_ = __webpack_require__("22f9");
|
|
@@ -20304,6 +20304,7 @@ var modal_base_component = normalizeComponent(
|
|
|
20304
20304
|
/* harmony default export */ var modal_base = (modal_base_component.exports);
|
|
20305
20305
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/modal/modal.vue?vue&type=script&lang=js&
|
|
20306
20306
|
|
|
20307
|
+
|
|
20307
20308
|
//
|
|
20308
20309
|
//
|
|
20309
20310
|
//
|
|
@@ -20352,6 +20353,11 @@ var modal_base_component = normalizeComponent(
|
|
|
20352
20353
|
clickthrough: {
|
|
20353
20354
|
type: Boolean,
|
|
20354
20355
|
default: false
|
|
20356
|
+
},
|
|
20357
|
+
|
|
20358
|
+
/** Sets the modal height to a fixed pixel value. If not passed, the modal height will auto adapt it's height. The modal height will never exceed 90% height of viewport. */
|
|
20359
|
+
fixedHeight: {
|
|
20360
|
+
type: Number
|
|
20355
20361
|
}
|
|
20356
20362
|
},
|
|
20357
20363
|
data: function data() {
|
|
@@ -20363,6 +20369,10 @@ var modal_base_component = normalizeComponent(
|
|
|
20363
20369
|
typeClass: function typeClass() {
|
|
20364
20370
|
if (this.type && this.type !== '') return "ecs-modal-".concat(this.type);
|
|
20365
20371
|
return this.type;
|
|
20372
|
+
},
|
|
20373
|
+
fixedHeightStyle: function fixedHeightStyle() {
|
|
20374
|
+
if (this.fixedHeight && this.fixedHeight !== '') return "height:".concat(this.fixedHeight, "px");
|
|
20375
|
+
return this.fixedHeight;
|
|
20366
20376
|
}
|
|
20367
20377
|
},
|
|
20368
20378
|
methods: {
|
|
@@ -20393,8 +20403,8 @@ var modalvue_type_style_index_0_lang_scss_ = __webpack_require__("b1d4");
|
|
|
20393
20403
|
|
|
20394
20404
|
var modal_component = normalizeComponent(
|
|
20395
20405
|
modal_modalvue_type_script_lang_js_,
|
|
20396
|
-
|
|
20397
|
-
|
|
20406
|
+
modalvue_type_template_id_3e590033_render,
|
|
20407
|
+
modalvue_type_template_id_3e590033_staticRenderFns,
|
|
20398
20408
|
false,
|
|
20399
20409
|
null,
|
|
20400
20410
|
null,
|