@dcodegroup-au/page-builder 0.6.7 → 0.6.9

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.
@@ -1075,6 +1075,9 @@ select {
1075
1075
  .min-h-\[320px\] {
1076
1076
  min-height: 320px;
1077
1077
  }
1078
+ .min-h-\[48px\] {
1079
+ min-height: 48px;
1080
+ }
1078
1081
  .min-h-\[90vh\] {
1079
1082
  min-height: 90vh;
1080
1083
  }
@@ -1202,6 +1205,9 @@ select {
1202
1205
  .min-w-\[480px\] {
1203
1206
  min-width: 480px;
1204
1207
  }
1208
+ .min-w-\[48px\] {
1209
+ min-width: 48px;
1210
+ }
1205
1211
  .min-w-\[50\%\] {
1206
1212
  min-width: 50%;
1207
1213
  }
@@ -45281,6 +45281,7 @@ const _sfc_main$C = {
45281
45281
  };
45282
45282
  const deleteCallback = (index) => {
45283
45283
  var _a;
45284
+ componentData.value.data[index] = {};
45284
45285
  (_a = componentData.value.data) == null ? void 0 : _a.splice(index, 1);
45285
45286
  emit("update", false);
45286
45287
  };
@@ -45346,7 +45347,7 @@ const _sfc_main$C = {
45346
45347
  var _a2, _b, _c;
45347
45348
  return openBlock(), createElementBlock("div", {
45348
45349
  class: "flex flex-col gap-4 rounded-xl px-6 py-4 bg-gray-200",
45349
- key: index,
45350
+ key: `${index}-${Date.now() + Math.random()}`,
45350
45351
  ref_for: true,
45351
45352
  ref: index === componentData.value.data.length - 1 ? (el) => lastItemRef.value = el : null
45352
45353
  }, [
@@ -49039,7 +49040,7 @@ const _hoisted_9$b = { class: "text-[36px] text-gray-900 font-semibold" };
49039
49040
  const _hoisted_10$9 = ["innerHTML"];
49040
49041
  const _hoisted_11$8 = {
49041
49042
  key: 0,
49042
- class: "max-w-[48px] w-full max-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49043
+ class: "max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49043
49044
  };
49044
49045
  const _hoisted_12$6 = { class: "font-semibold text-[20px] text-gray-900" };
49045
49046
  const _hoisted_13$4 = ["innerHTML"];
@@ -45284,6 +45284,7 @@ ${escapeText(this.code(index, length))}
45284
45284
  };
45285
45285
  const deleteCallback = (index) => {
45286
45286
  var _a;
45287
+ componentData.value.data[index] = {};
45287
45288
  (_a = componentData.value.data) == null ? void 0 : _a.splice(index, 1);
45288
45289
  emit("update", false);
45289
45290
  };
@@ -45349,7 +45350,7 @@ ${escapeText(this.code(index, length))}
45349
45350
  var _a2, _b, _c;
45350
45351
  return vue.openBlock(), vue.createElementBlock("div", {
45351
45352
  class: "flex flex-col gap-4 rounded-xl px-6 py-4 bg-gray-200",
45352
- key: index,
45353
+ key: `${index}-${Date.now() + Math.random()}`,
45353
45354
  ref_for: true,
45354
45355
  ref: index === componentData.value.data.length - 1 ? (el) => lastItemRef.value = el : null
45355
45356
  }, [
@@ -49042,7 +49043,7 @@ ${escapeText(this.code(index, length))}
49042
49043
  const _hoisted_10$9 = ["innerHTML"];
49043
49044
  const _hoisted_11$8 = {
49044
49045
  key: 0,
49045
- class: "max-w-[48px] w-full max-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49046
+ class: "max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center"
49046
49047
  };
49047
49048
  const _hoisted_12$6 = { class: "font-semibold text-[20px] text-gray-900" };
49048
49049
  const _hoisted_13$4 = ["innerHTML"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/page-builder",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/page-builder.es.js"
@@ -44,7 +44,7 @@
44
44
  <div
45
45
  v-for="(item, index) in componentData.data"
46
46
  class="flex flex-col gap-4 rounded-xl px-6 py-4 bg-gray-200"
47
- :key="index"
47
+ :key="`${index}-${Date.now() + Math.random()}`"
48
48
  :ref="index === componentData.data.length - 1 ? (el) => (lastItemRef = el) : null"
49
49
  >
50
50
  <div class="flex items-center justify-between">
@@ -186,6 +186,7 @@ const handleDeleteItem = (index) => {
186
186
  }
187
187
 
188
188
  const deleteCallback = (index) => {
189
+ componentData.value.data[index] = {};
189
190
  componentData.value.data?.splice(index, 1);
190
191
  emit("update", false);
191
192
  };
@@ -33,7 +33,7 @@
33
33
  }">
34
34
  <template v-if="item.title">
35
35
  <div v-if="item?.icon"
36
- class="max-w-[48px] w-full max-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center">
36
+ class="max-w-[48px] min-w-[48px] w-full max-h-[48px] min-h-[48px] h-full bg-brand-100 border-[8px] border-brand-50 rounded-full flex items-center justify-center">
37
37
  <IconComponent :icon="item.icon" icon-classes="w-5 h-5 text-brand-600"></IconComponent>
38
38
  </div>
39
39
  <div class="max-w-[324px] ql-editor" :class="{'max-w-full': featureItemsComponent?.has_background}">