cleek 2.6.5 → 2.6.7

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
@@ -47218,12 +47218,18 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent$1({
47218
47218
  return defaultPackage;
47219
47219
  });
47220
47220
  const computedClass = computed$3(() => {
47221
- const list = [];
47222
- return list;
47221
+ const classes = [];
47222
+ if (props.color && hooks9.isColorTemplateVariable(props.color)) {
47223
+ classes.push(`ck-component__color--${props.color}`);
47224
+ }
47225
+ return classes;
47223
47226
  });
47224
47227
  const computedStyle = computed$3(() => {
47225
- const list = [];
47226
- return list;
47228
+ const styles2 = [];
47229
+ if (props.color && !hooks9.isColorTemplateVariable(props.color)) {
47230
+ styles2.push({ color: props.color });
47231
+ }
47232
+ return styles2;
47227
47233
  });
47228
47234
  function onClick2(event) {
47229
47235
  emits("click", event);
@@ -47248,7 +47254,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent$1({
47248
47254
  };
47249
47255
  }
47250
47256
  });
47251
- var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-8b36e7f8"]]);
47257
+ var CkIcon = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-4ea1c4ac"]]);
47252
47258
  function useWindowWidth() {
47253
47259
  const windowWidth = ref(0);
47254
47260
  function handleWindowResize(event) {
@@ -58833,9 +58839,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
58833
58839
  group: unref$2(searchGroupValue),
58834
58840
  layout: __props.layout,
58835
58841
  borderColor: __props.version === "colored" ? "white" : "",
58836
- iconColor: __props.version === "colored" ? "primary " : "",
58837
58842
  onInput: _cache[2] || (_cache[2] = ($event) => checkRefresh())
58838
- }, null, 8, ["modelValue", "group", "layout", "borderColor", "iconColor"])) : createCommentVNode$1("", true),
58843
+ }, null, 8, ["modelValue", "group", "layout", "borderColor"])) : createCommentVNode$1("", true),
58839
58844
  __props.hasColumnsManager ? (openBlock$1(), createBlock$1(CkButton, {
58840
58845
  key: 3,
58841
58846
  icon: "columns",
@@ -58850,7 +58855,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
58850
58855
  };
58851
58856
  }
58852
58857
  });
58853
- var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-fcbbe636"]]);
58858
+ var TableHeaderItems = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-771a8d56"]]);
58854
58859
  var ckTable__pagination_vue_vue_type_style_index_0_scoped_true_lang = "";
58855
58860
  const _withScopeId$4 = (n) => (pushScopeId$1("data-v-02d0ab88"), n = n(), popScopeId$1(), n);
58856
58861
  const _hoisted_1$g = { class: "ck-table__pagination" };