cleek 2.6.80 → 2.6.82
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 +10 -1
- package/dist/cleek.umd.js +33 -33
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -82653,6 +82653,7 @@ var ckButton_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
82653
82653
|
const _hoisted_1$j = ["title", "aria-label", "disabled"];
|
|
82654
82654
|
const defaultButtonType = "outlined";
|
|
82655
82655
|
const defaultColor$1 = "primary";
|
|
82656
|
+
const defaultBackgroundColor = "transparent";
|
|
82656
82657
|
const defaultAlign = "left";
|
|
82657
82658
|
const _sfc_main$o = defineComponent$2({
|
|
82658
82659
|
__name: "ck-button",
|
|
@@ -82701,6 +82702,10 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82701
82702
|
list.push(`ck-component__border-color--${props.color}`);
|
|
82702
82703
|
}
|
|
82703
82704
|
}
|
|
82705
|
+
const bgColor = props.backgroundColor || defaultBackgroundColor;
|
|
82706
|
+
if (bgColor !== defaultBackgroundColor && hooks9.isColorTemplateVariable(bgColor)) {
|
|
82707
|
+
list.push(`ck-component__bg-color--${bgColor}`);
|
|
82708
|
+
}
|
|
82704
82709
|
const align = props.align || defaultAlign;
|
|
82705
82710
|
if (align === "center" || align === "right") {
|
|
82706
82711
|
list.push(`ck-button__align--${props.align}`);
|
|
@@ -82727,6 +82732,10 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82727
82732
|
}
|
|
82728
82733
|
if (props.width && !isWidthDefined)
|
|
82729
82734
|
list.push({ width: props.width });
|
|
82735
|
+
const bgColor = props.backgroundColor || defaultBackgroundColor;
|
|
82736
|
+
if (bgColor !== defaultBackgroundColor && !hooks9.isColorTemplateVariable(bgColor)) {
|
|
82737
|
+
list.push({ "background-color": bgColor });
|
|
82738
|
+
}
|
|
82730
82739
|
return list;
|
|
82731
82740
|
});
|
|
82732
82741
|
function onClick(event) {
|
|
@@ -82773,7 +82782,7 @@ const _sfc_main$o = defineComponent$2({
|
|
|
82773
82782
|
};
|
|
82774
82783
|
}
|
|
82775
82784
|
});
|
|
82776
|
-
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
82785
|
+
var CkButton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e3648d9c"]]);
|
|
82777
82786
|
var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
82778
82787
|
const _hoisted_1$i = ["for"];
|
|
82779
82788
|
const defaultSize$2 = "m";
|