cleek 2.1.17 → 2.1.18

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/cleek.es.js CHANGED
@@ -11513,7 +11513,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11513
11513
  emits: ["click"],
11514
11514
  setup(__props, { emit: emits }) {
11515
11515
  const props = __props;
11516
- let context;
11517
11516
  const isMounted = ref(false);
11518
11517
  const computedClass = computed$2(() => {
11519
11518
  const classList2 = [];
@@ -11528,14 +11527,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11528
11527
  if (props.align !== "left") {
11529
11528
  classList2.push(`ck-button__align--${props.align}`);
11530
11529
  }
11531
- if (isMounted.value) {
11532
- if (!context.$slots.default) {
11533
- if (props.icon || props.iconRight) {
11534
- if (!(props.icon && props.iconRight))
11535
- classList2.push("just-icon");
11536
- }
11537
- }
11538
- }
11530
+ if (isMounted.value)
11531
+ ;
11539
11532
  let type = props.type;
11540
11533
  if (!validators.buttonType(props.type))
11541
11534
  type = "outlined";
@@ -11546,7 +11539,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11546
11539
  emits("click", event);
11547
11540
  }
11548
11541
  onMounted(() => {
11549
- context = getCurrentInstance().ctx;
11542
+ getCurrentInstance().ctx;
11550
11543
  isMounted.value = true;
11551
11544
  });
11552
11545
  return (_ctx, _cache) => {
@@ -11575,7 +11568,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
11575
11568
  };
11576
11569
  }
11577
11570
  });
11578
- var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-36b03be6"]]);
11571
+ var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-335b46dc"]]);
11579
11572
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
11580
11573
  const _hoisted_1$f = ["for"];
11581
11574
  const _sfc_main$g = /* @__PURE__ */ defineComponent({