cleek 2.4.65 → 2.4.66

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
@@ -3785,6 +3785,10 @@ const cleekOptions = {
3785
3785
  primary: "#559933",
3786
3786
  secondary: "#559933"
3787
3787
  },
3788
+ styles: {
3789
+ layout: "base",
3790
+ borderColor: "#dae1e7"
3791
+ },
3788
3792
  button: {
3789
3793
  type: "outlined",
3790
3794
  layout: "base"
@@ -3800,10 +3804,6 @@ const cleekOptions = {
3800
3804
  cancelBtnType: "",
3801
3805
  maxWidth: "",
3802
3806
  fontSize: ""
3803
- },
3804
- styles: {
3805
- layout: "base",
3806
- borderColor: "#dae1e7"
3807
3807
  }
3808
3808
  };
3809
3809
  /*!
@@ -22127,13 +22127,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22127
22127
  ]),
22128
22128
  __props.type === "password" ? (openBlock(), createElementBlock("div", {
22129
22129
  key: 4,
22130
- class: "show-password",
22130
+ class: normalizeClass(["show-password", __props.layout]),
22131
22131
  onClick: _cache[12] || (_cache[12] = ($event) => isShowingPassword.value = !isShowingPassword.value)
22132
22132
  }, [
22133
22133
  createVNode(CkIcon, {
22134
22134
  icon: isShowingPassword.value ? "eye-slash" : "eye"
22135
22135
  }, null, 8, ["icon"])
22136
- ])) : createCommentVNode("", true),
22136
+ ], 2)) : createCommentVNode("", true),
22137
22137
  __props.iconRight && __props.type !== "password" ? (openBlock(), createBlock(CkIcon, {
22138
22138
  key: 5,
22139
22139
  class: "ck-input__icon-right",
@@ -22145,7 +22145,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22145
22145
  };
22146
22146
  }
22147
22147
  });
22148
- var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-1beb528a"]]);
22148
+ var CkInput = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a06ec450"]]);
22149
22149
  var ckTable__headerItems_vue_vue_type_style_index_0_scoped_true_lang = "";
22150
22150
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
22151
22151
  props: {
@@ -23659,6 +23659,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23659
23659
  }
23660
23660
  }
23661
23661
  const computedClassTable = computed$2(() => {
23662
+ var _a;
23662
23663
  const list = [];
23663
23664
  if (props.cellPadding)
23664
23665
  list.push(`table__cell-padding--${props.cellPadding}`);
@@ -23666,7 +23667,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23666
23667
  list.push(`table__cell-padding-y--${props.cellPaddingY}`);
23667
23668
  if (props.notFullWidth)
23668
23669
  list.push("not-full-width");
23669
- if (props.striped)
23670
+ const striped = props.striped || ((_a = cleekOptions2.value) == null ? void 0 : _a.table.layout);
23671
+ if (striped)
23670
23672
  list.push("striped-table");
23671
23673
  return list;
23672
23674
  });
@@ -23779,7 +23781,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
23779
23781
  };
23780
23782
  }
23781
23783
  });
23782
- var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-6d9f4aad"]]);
23784
+ var ckTable = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-a606f70e"]]);
23783
23785
  var ckChip_vue_vue_type_style_index_0_scoped_true_lang = "";
23784
23786
  const _hoisted_1$a = ["color"];
23785
23787
  const _sfc_main$b = /* @__PURE__ */ defineComponent({