@tailor-cms/ce-accordion-edit 0.0.7 → 0.0.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.
package/dist/index.cjs CHANGED
@@ -27630,22 +27630,38 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
27630
27630
  }, {
27631
27631
  default: vue.withCtx(() => [
27632
27632
  isHovering || _ctx.isExpanded ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
27633
- vue.withDirectives(vue.createVNode(_component_VBtn, {
27633
+ vue.withDirectives((vue.openBlock(), vue.createBlock(_component_VBtn, {
27634
27634
  color: "primary-darken-2",
27635
- density: "comfortable",
27636
- icon: "mdi-square-edit-outline",
27635
+ size: "x-small",
27637
27636
  variant: "tonal",
27637
+ icon: "",
27638
27638
  onClick: _cache[5] || (_cache[5] = vue.withModifiers(($event) => isEditing.value = true, ["stop"]))
27639
- }, null, 512), [
27639
+ }, {
27640
+ default: vue.withCtx(() => [
27641
+ vue.createVNode(_component_VIcon, {
27642
+ icon: "mdi-square-edit-outline",
27643
+ size: "large"
27644
+ })
27645
+ ]),
27646
+ _: 1
27647
+ })), [
27640
27648
  [_directive_tooltip, { text: "Edit title", openDelay: 300 }, "bottom"]
27641
27649
  ]),
27642
- vue.withDirectives(vue.createVNode(_component_VBtn, {
27643
- color: "secondary-lighten-2",
27644
- density: "comfortable",
27645
- icon: "mdi-delete-outline",
27650
+ vue.withDirectives((vue.openBlock(), vue.createBlock(_component_VBtn, {
27651
+ color: "secondary-lighten-1",
27652
+ size: "x-small",
27646
27653
  variant: "tonal",
27654
+ icon: "",
27647
27655
  onClick: vue.withModifiers(deleteItem, ["stop"])
27648
- }, null, 8, ["onClick"]), [
27656
+ }, {
27657
+ default: vue.withCtx(() => [
27658
+ vue.createVNode(_component_VIcon, {
27659
+ icon: "mdi-delete-outline",
27660
+ size: "large"
27661
+ })
27662
+ ]),
27663
+ _: 1
27664
+ }, 8, ["onClick"])), [
27649
27665
  [_directive_tooltip, { text: "Delete item", openDelay: 300 }, "bottom"]
27650
27666
  ])
27651
27667
  ], 64)) : vue.createCommentVNode("", true)
@@ -27696,8 +27712,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
27696
27712
  };
27697
27713
  }
27698
27714
  });
27699
- const AccordionItem_vue_vue_type_style_index_0_scoped_2e9fbd32_lang = "";
27700
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2e9fbd32"]]);
27715
+ const AccordionItem_vue_vue_type_style_index_0_scoped_50e17341_lang = "";
27716
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50e17341"]]);
27701
27717
  const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
27702
27718
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
27703
27719
  __name: "Edit",
package/dist/index.js CHANGED
@@ -27628,22 +27628,38 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
27628
27628
  }, {
27629
27629
  default: withCtx(() => [
27630
27630
  isHovering || _ctx.isExpanded ? (openBlock(), createElementBlock(Fragment$1, { key: 0 }, [
27631
- withDirectives(createVNode(_component_VBtn, {
27631
+ withDirectives((openBlock(), createBlock(_component_VBtn, {
27632
27632
  color: "primary-darken-2",
27633
- density: "comfortable",
27634
- icon: "mdi-square-edit-outline",
27633
+ size: "x-small",
27635
27634
  variant: "tonal",
27635
+ icon: "",
27636
27636
  onClick: _cache[5] || (_cache[5] = withModifiers(($event) => isEditing.value = true, ["stop"]))
27637
- }, null, 512), [
27637
+ }, {
27638
+ default: withCtx(() => [
27639
+ createVNode(_component_VIcon, {
27640
+ icon: "mdi-square-edit-outline",
27641
+ size: "large"
27642
+ })
27643
+ ]),
27644
+ _: 1
27645
+ })), [
27638
27646
  [_directive_tooltip, { text: "Edit title", openDelay: 300 }, "bottom"]
27639
27647
  ]),
27640
- withDirectives(createVNode(_component_VBtn, {
27641
- color: "secondary-lighten-2",
27642
- density: "comfortable",
27643
- icon: "mdi-delete-outline",
27648
+ withDirectives((openBlock(), createBlock(_component_VBtn, {
27649
+ color: "secondary-lighten-1",
27650
+ size: "x-small",
27644
27651
  variant: "tonal",
27652
+ icon: "",
27645
27653
  onClick: withModifiers(deleteItem, ["stop"])
27646
- }, null, 8, ["onClick"]), [
27654
+ }, {
27655
+ default: withCtx(() => [
27656
+ createVNode(_component_VIcon, {
27657
+ icon: "mdi-delete-outline",
27658
+ size: "large"
27659
+ })
27660
+ ]),
27661
+ _: 1
27662
+ }, 8, ["onClick"])), [
27647
27663
  [_directive_tooltip, { text: "Delete item", openDelay: 300 }, "bottom"]
27648
27664
  ])
27649
27665
  ], 64)) : createCommentVNode("", true)
@@ -27694,8 +27710,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
27694
27710
  };
27695
27711
  }
27696
27712
  });
27697
- const AccordionItem_vue_vue_type_style_index_0_scoped_2e9fbd32_lang = "";
27698
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-2e9fbd32"]]);
27713
+ const AccordionItem_vue_vue_type_style_index_0_scoped_50e17341_lang = "";
27714
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-50e17341"]]);
27699
27715
  const _hoisted_1$1 = { class: "tce-accordion d-flex flex-column align-center text-center" };
27700
27716
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
27701
27717
  __name: "Edit",
package/dist/style.css CHANGED
@@ -442,20 +442,20 @@
442
442
  }
443
443
  .v-field--center-affix[data-v-4dc69d89] .v-label.v-field-label:not(.v-field-label--floating) {
444
444
  top: calc(50% - 1.125rem);
445
- }.accordion-title[data-v-2e9fbd32] {
445
+ }.accordion-title[data-v-50e17341] {
446
446
  font-size: 1rem;
447
447
  font-weight: 500;
448
448
  letter-spacing: 0.009375em;
449
449
  }
450
- .v-input[data-v-2e9fbd32] {
450
+ .v-input[data-v-50e17341] {
451
451
  position: relative;
452
452
  }
453
- .v-input[data-v-2e9fbd32] .v-input__details {
453
+ .v-input[data-v-50e17341] .v-input__details {
454
454
  position: absolute;
455
455
  padding: 0 !important;
456
456
  z-index: 9;
457
457
  }
458
- .v-input[data-v-2e9fbd32] .v-input__details .v-messages__message {
458
+ .v-input[data-v-50e17341] .v-input__details .v-messages__message {
459
459
  margin-top: 0.25rem;
460
460
  border-radius: 4px;
461
461
  padding: 0.5rem 0.75rem;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS accordion element",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "0.0.7",
6
+ "version": "0.0.9",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "typescript": "^5.1.6",
26
26
  "vite": "^4.4.5",
27
27
  "vue-tsc": "^1.8.5",
28
- "@tailor-cms/ce-accordion-manifest": "0.0.7"
28
+ "@tailor-cms/ce-accordion-manifest": "0.0.9"
29
29
  },
30
30
  "dependencies": {
31
31
  "@paralleldrive/cuid2": "^2.2.2",