cleek 2.8.4 → 2.8.6

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
@@ -47478,6 +47478,18 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
47478
47478
  if (realBackgroundColor.value !== defaultBackgroundColor && !hooks9.isColorTemplateVariable(realBackgroundColor.value)) {
47479
47479
  list.push({ "background-color": realBackgroundColor.value });
47480
47480
  }
47481
+ if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
47482
+ if (realButtonType.value === "outlined") {
47483
+ list.push({ "border-color": props.color });
47484
+ list.push({ "color": props.color });
47485
+ } else if (realButtonType.value === "filled") {
47486
+ list.push({ "color": "white" });
47487
+ list.push({ "border-color": props.color });
47488
+ list.push({ "background-color": props.color });
47489
+ } else if (realButtonType.value === "flat") {
47490
+ list.push({ "color": props.color });
47491
+ }
47492
+ }
47481
47493
  return list;
47482
47494
  });
47483
47495
  function onClick2(event) {
@@ -47519,7 +47531,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
47519
47531
  };
47520
47532
  }
47521
47533
  });
47522
- var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-302a41b5"]]);
47534
+ var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2bb7b692"]]);
47523
47535
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
47524
47536
  const _hoisted_1$j = ["for"];
47525
47537
  const _sfc_main$o = /* @__PURE__ */ defineComponent$1({
@@ -59737,7 +59749,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
59737
59749
  };
59738
59750
  }
59739
59751
  });
59740
- var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9c00736c"]]);
59752
+ var ckSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9d4651c6"]]);
59741
59753
  var ckSwitch_vue_vue_type_style_index_0_scoped_true_lang = "";
59742
59754
  const _withScopeId$1 = (n) => (pushScopeId$1("data-v-7400e90e"), n = n(), popScopeId$1(), n);
59743
59755
  const _hoisted_1$5 = ["disabled"];