cleek 2.11.2 → 2.11.4

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/main.es.js CHANGED
@@ -3637,7 +3637,10 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3637
3637
  },
3638
3638
  emits: ["click", "extraAction"],
3639
3639
  setup(e, { emit: o }) {
3640
- const t = e, n = o, a = x(!1), l = d(() => !!(extraActions != null && extraActions.length)), i = d(() => {
3640
+ const t = e, n = o, a = x(!1), l = d(() => {
3641
+ var p;
3642
+ return !!((p = t.extraActions) != null && p.length);
3643
+ }), i = d(() => {
3641
3644
  const { extraActions: p, ...s } = t;
3642
3645
  return l.value ? { ...s, group: "left" } : s;
3643
3646
  }), c = d(() => ({
@@ -3652,58 +3655,55 @@ const Ol = /* @__PURE__ */ H(Wl, [["__scopeId", "data-v-43006e82"]]), El = {
3652
3655
  function u(p) {
3653
3656
  n("extraAction", p), a.value = !1;
3654
3657
  }
3655
- return (p, s) => {
3656
- var m;
3657
- return v(), y("div", {
3658
- class: "dropdown-btn__outer",
3659
- onMouseleave: s[2] || (s[2] = (r) => a.value = !1)
3658
+ return (p, s) => (v(), y("div", {
3659
+ class: "dropdown-btn__outer",
3660
+ onMouseleave: s[2] || (s[2] = (m) => a.value = !1)
3661
+ }, [
3662
+ U(Te, Ie(i.value, {
3663
+ onClick: s[0] || (s[0] = (m) => n("click", m))
3664
+ }), {
3665
+ default: N(() => [
3666
+ O(p.$slots, "default", {}, void 0, !0)
3667
+ ]),
3668
+ _: 3
3669
+ }, 16),
3670
+ l.value ? (v(), y("div", {
3671
+ key: 0,
3672
+ class: "dropdown-btn__chevron-area",
3673
+ onMouseenter: s[1] || (s[1] = (m) => a.value = !0)
3660
3674
  }, [
3661
- U(Te, Ie(i.value, {
3662
- onClick: s[0] || (s[0] = (r) => n("click", r))
3663
- }), {
3675
+ U(Te, Yt(Gt(c.value)), {
3664
3676
  default: N(() => [
3665
- O(p.$slots, "default", {}, void 0, !0)
3677
+ U(ee, {
3678
+ icon: "angle-down",
3679
+ size: "xs"
3680
+ })
3666
3681
  ]),
3667
- _: 3
3668
- }, 16),
3669
- (m = p.extraActions) != null && m.length ? (v(), y("div", {
3670
- key: 0,
3671
- class: "dropdown-btn__chevron-area",
3672
- onMouseenter: s[1] || (s[1] = (r) => a.value = !0)
3673
- }, [
3674
- U(Te, Yt(Gt(c.value)), {
3675
- default: N(() => [
3682
+ _: 1
3683
+ }, 16)
3684
+ ], 32)) : C("", !0),
3685
+ U(Zt, { name: "fade" }, {
3686
+ default: N(() => [
3687
+ a.value ? (v(), y("div", El, [
3688
+ (v(!0), y(Z, null, ue(p.extraActions, (m) => (v(), y("div", {
3689
+ key: m.id,
3690
+ class: "extra-action__item",
3691
+ onClick: (r) => u(m.id)
3692
+ }, [
3676
3693
  U(ee, {
3677
- icon: "angle-down",
3694
+ icon: "angle-right",
3678
3695
  size: "xs"
3679
- })
3680
- ]),
3681
- _: 1
3682
- }, 16)
3683
- ], 32)) : C("", !0),
3684
- U(Zt, { name: "fade" }, {
3685
- default: N(() => [
3686
- a.value ? (v(), y("div", El, [
3687
- (v(!0), y(Z, null, ue(p.extraActions, (r) => (v(), y("div", {
3688
- key: r.id,
3689
- class: "extra-action__item",
3690
- onClick: (g) => u(r.id)
3691
- }, [
3692
- U(ee, {
3693
- icon: "angle-right",
3694
- size: "xs"
3695
- }),
3696
- $("span", Fl, A(r.name), 1)
3697
- ], 8, Nl))), 128))
3698
- ])) : C("", !0)
3699
- ]),
3700
- _: 1
3701
- })
3702
- ], 32);
3703
- };
3696
+ }),
3697
+ $("span", Fl, A(m.name), 1)
3698
+ ], 8, Nl))), 128))
3699
+ ])) : C("", !0)
3700
+ ]),
3701
+ _: 1
3702
+ })
3703
+ ], 32));
3704
3704
  }
3705
3705
  });
3706
- const Hl = /* @__PURE__ */ H(jl, [["__scopeId", "data-v-c6eedbee"]]), ql = {
3706
+ const Hl = /* @__PURE__ */ H(jl, [["__scopeId", "data-v-a93bdce2"]]), ql = {
3707
3707
  key: 0,
3708
3708
  class: "ck-card__header-title"
3709
3709
  }, Ul = { class: "ck-card__body" }, Yl = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cleek",
3
3
  "description": "Complete UX Vue library",
4
- "version": "2.11.2",
4
+ "version": "2.11.4",
5
5
  "author": "Quantic Onion",
6
6
  "license": "MIT",
7
7
  "repository": "",