xrk-components 0.4.2-beta.12 → 0.4.2-beta.13

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/lib/index.esm.js CHANGED
@@ -42722,7 +42722,7 @@ var script$n = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$n
42722
42722
  : (openBlock(), createElementBlock("div", {
42723
42723
  key: 1,
42724
42724
  class: normalizeClass(["xrk-custom-image-viewer", { 'hide-close': __props.hideClose }]),
42725
- style: normalizeStyle({ width: __props.style.width, height: __props.style.height })
42725
+ style: normalizeStyle(__props.style ? { width: __props.style.width, height: __props.style.height } : {})
42726
42726
  }, [
42727
42727
  createElementVNode("div", {
42728
42728
  style: { "width": "100%", "height": "100%" },
package/lib/index.umd.js CHANGED
@@ -42725,7 +42725,7 @@ usage: app.provide(ID_INJECTION_KEY, {
42725
42725
  : (vue.openBlock(), vue.createElementBlock("div", {
42726
42726
  key: 1,
42727
42727
  class: vue.normalizeClass(["xrk-custom-image-viewer", { 'hide-close': __props.hideClose }]),
42728
- style: vue.normalizeStyle({ width: __props.style.width, height: __props.style.height })
42728
+ style: vue.normalizeStyle(__props.style ? { width: __props.style.width, height: __props.style.height } : {})
42729
42729
  }, [
42730
42730
  vue.createElementVNode("div", {
42731
42731
  style: { "width": "100%", "height": "100%" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "0.4.2-beta.12",
3
+ "version": "0.4.2-beta.13",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",