@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.common.js
CHANGED
|
@@ -20263,12 +20263,12 @@ var map_component = normalizeComponent(
|
|
|
20263
20263
|
)
|
|
20264
20264
|
|
|
20265
20265
|
/* harmony default export */ var map = (map_component.exports);
|
|
20266
|
-
// 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=
|
|
20267
|
-
var
|
|
20268
|
-
var
|
|
20266
|
+
// 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&
|
|
20267
|
+
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()])}
|
|
20268
|
+
var modalvue_type_template_id_3e590033_staticRenderFns = []
|
|
20269
20269
|
|
|
20270
20270
|
|
|
20271
|
-
// CONCATENATED MODULE: ./src/components/modal/modal.vue?vue&type=template&id=
|
|
20271
|
+
// CONCATENATED MODULE: ./src/components/modal/modal.vue?vue&type=template&id=3e590033&
|
|
20272
20272
|
|
|
20273
20273
|
// EXTERNAL MODULE: ./src/components/modal-base/modal-base.vue?vue&type=style&index=0&lang=scss&
|
|
20274
20274
|
var modal_basevue_type_style_index_0_lang_scss_ = __webpack_require__("22f9");
|
|
@@ -20295,6 +20295,7 @@ var modal_base_component = normalizeComponent(
|
|
|
20295
20295
|
/* harmony default export */ var modal_base = (modal_base_component.exports);
|
|
20296
20296
|
// 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&
|
|
20297
20297
|
|
|
20298
|
+
|
|
20298
20299
|
//
|
|
20299
20300
|
//
|
|
20300
20301
|
//
|
|
@@ -20343,6 +20344,11 @@ var modal_base_component = normalizeComponent(
|
|
|
20343
20344
|
clickthrough: {
|
|
20344
20345
|
type: Boolean,
|
|
20345
20346
|
default: false
|
|
20347
|
+
},
|
|
20348
|
+
|
|
20349
|
+
/** 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. */
|
|
20350
|
+
fixedHeight: {
|
|
20351
|
+
type: Number
|
|
20346
20352
|
}
|
|
20347
20353
|
},
|
|
20348
20354
|
data: function data() {
|
|
@@ -20354,6 +20360,10 @@ var modal_base_component = normalizeComponent(
|
|
|
20354
20360
|
typeClass: function typeClass() {
|
|
20355
20361
|
if (this.type && this.type !== '') return "ecs-modal-".concat(this.type);
|
|
20356
20362
|
return this.type;
|
|
20363
|
+
},
|
|
20364
|
+
fixedHeightStyle: function fixedHeightStyle() {
|
|
20365
|
+
if (this.fixedHeight && this.fixedHeight !== '') return "height:".concat(this.fixedHeight, "px");
|
|
20366
|
+
return this.fixedHeight;
|
|
20357
20367
|
}
|
|
20358
20368
|
},
|
|
20359
20369
|
methods: {
|
|
@@ -20384,8 +20394,8 @@ var modalvue_type_style_index_0_lang_scss_ = __webpack_require__("b1d4");
|
|
|
20384
20394
|
|
|
20385
20395
|
var modal_component = normalizeComponent(
|
|
20386
20396
|
modal_modalvue_type_script_lang_js_,
|
|
20387
|
-
|
|
20388
|
-
|
|
20397
|
+
modalvue_type_template_id_3e590033_render,
|
|
20398
|
+
modalvue_type_template_id_3e590033_staticRenderFns,
|
|
20389
20399
|
false,
|
|
20390
20400
|
null,
|
|
20391
20401
|
null,
|