cleek 2.4.79 → 2.4.80
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 -3
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/cleek.es.js
CHANGED
|
@@ -26310,14 +26310,21 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26310
26310
|
const defaultSize = "s";
|
|
26311
26311
|
const computedClass = computed$2(() => {
|
|
26312
26312
|
const list = [];
|
|
26313
|
+
if (!props.color || hooks8.isColorTemplateVariable(props.color)) {
|
|
26314
|
+
list.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
26315
|
+
}
|
|
26313
26316
|
list.push(`size-${props.size || defaultSize}`);
|
|
26314
|
-
list.push(`ck-component__bg-color--${props.color || defaultColor}`);
|
|
26315
26317
|
if (props.align)
|
|
26316
26318
|
list.push(`align--${props.align}`);
|
|
26317
26319
|
return list;
|
|
26318
26320
|
});
|
|
26319
26321
|
const computedStyle = computed$2(() => {
|
|
26320
|
-
|
|
26322
|
+
const list = [];
|
|
26323
|
+
if (props.color && !hooks8.isColorTemplateVariable(props.color)) {
|
|
26324
|
+
list.push({ backgroundColor: props.color });
|
|
26325
|
+
list.push({ color: props.textColor || "white" });
|
|
26326
|
+
}
|
|
26327
|
+
return list;
|
|
26321
26328
|
});
|
|
26322
26329
|
return (_ctx, _cache) => {
|
|
26323
26330
|
return openBlock(), createElementBlock("div", {
|
|
@@ -26345,7 +26352,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
26345
26352
|
};
|
|
26346
26353
|
}
|
|
26347
26354
|
});
|
|
26348
|
-
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
26355
|
+
var ckChip = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c6b3088a"]]);
|
|
26349
26356
|
var ckDiv_vue_vue_type_style_index_0_lang = "";
|
|
26350
26357
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
26351
26358
|
props: {
|