@bluepic/embed 0.1.141 → 0.1.144

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.
@@ -100500,9 +100500,9 @@ class BluepicEmbed extends EventTarget {
100500
100500
  #${c} {
100501
100501
  height: 100%;
100502
100502
  }
100503
- `, document.head.appendChild(ie), this.element.innerHTML = `
100503
+ `, document.head.appendChild(ie), this.element.style.boxSizing === "" && (this.element.style.boxSizing = "border-box"), this.element.style.height === "" && (this.element.style.height = "calc(100vh - 20px)"), this.element.style.padding === "" && (this.element.style.padding = "10px"), this.element.innerHTML = `
100504
100504
  <div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="" :class="{ \`layout-\${embedProject?.config.layout}\`: true }">
100505
- <div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : 'calc(100% - 40px)', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
100505
+ <div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : '100%', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
100506
100506
  <bluepic-embedded-editor
100507
100507
  v-if="templateId"
100508
100508
  ref="editorRef"
@@ -2958,9 +2958,9 @@ list should be an Array.`),ei.length===0)return new Fr(0);if(ei.length===1)retur
2958
2958
  #${c} {
2959
2959
  height: 100%;
2960
2960
  }
2961
- `,document.head.appendChild(ie),this.element.innerHTML=`
2961
+ `,document.head.appendChild(ie),this.element.style.boxSizing===""&&(this.element.style.boxSizing="border-box"),this.element.style.height===""&&(this.element.style.height="calc(100vh - 20px)"),this.element.style.padding===""&&(this.element.style.padding="10px"),this.element.innerHTML=`
2962
2962
  <div id="${c}" class="bluepic-app-wrapper" style="position: relative;" :style="" :class="{ \`layout-\${embedProject?.config.layout}\`: true }">
2963
- <div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : 'calc(100% - 40px)', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
2963
+ <div v-if="templateId" style="display: flex; flex-direction: column;" :style="{ height: embedProject?.config.layout === 'stack' ? 'auto' : '100%', '--bluepic-app-border-color': borderColor, '--bluepic-app-border-radius': borderRadius }">
2964
2964
  <bluepic-embedded-editor
2965
2965
  v-if="templateId"
2966
2966
  ref="editorRef"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bluepic/embed",
3
3
  "private": false,
4
- "version": "0.1.141",
4
+ "version": "0.1.144",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "package.json",