cleek 2.4.32 → 2.4.33

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
@@ -23087,6 +23087,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23087
23087
  group: null,
23088
23088
  groupVertical: null,
23089
23089
  widthBreaks: null,
23090
+ icon: null,
23091
+ iconRight: null,
23092
+ iconPack: null,
23090
23093
  label: null,
23091
23094
  labelAlign: null
23092
23095
  },
@@ -23132,6 +23135,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23132
23135
  var _a, _b;
23133
23136
  const list = [];
23134
23137
  list.push(hooks8.getGroupClass(props, windowWidth.value));
23138
+ if (props.icon)
23139
+ list.push("has-icon-left");
23140
+ if (props.iconRight)
23141
+ list.push("has-icon-right");
23135
23142
  const layout = props.layout || ((_a = cleekOptions2.value) == null ? void 0 : _a.styles.layout);
23136
23143
  if (layout)
23137
23144
  list.push(layout);
@@ -23248,15 +23255,29 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23248
23255
  class: "ck-select",
23249
23256
  style: normalizeStyle(unref$1(computedStyle))
23250
23257
  }, [
23251
- unref$1(isClearBtnVisible) ? (openBlock(), createElementBlock("div", {
23258
+ __props.icon ? (openBlock(), createBlock(CkIcon, {
23252
23259
  key: 0,
23260
+ class: "ck-select__icon-left",
23261
+ color: "lightgrey",
23262
+ icon: __props.icon,
23263
+ "icon-pack": __props.iconPack
23264
+ }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
23265
+ __props.iconRight ? (openBlock(), createBlock(CkIcon, {
23266
+ key: 1,
23267
+ class: "ck-select__icon-right",
23268
+ color: "lightgrey",
23269
+ icon: __props.iconRight,
23270
+ "icon-pack": __props.iconPack
23271
+ }, null, 8, ["icon", "icon-pack"])) : createCommentVNode("", true),
23272
+ unref$1(isClearBtnVisible) ? (openBlock(), createElementBlock("div", {
23273
+ key: 2,
23253
23274
  class: "ck-select__clear-btn",
23254
23275
  onClick: _cache[0] || (_cache[0] = ($event) => value.value = unref$1(realClearValue))
23255
23276
  }, [
23256
23277
  createVNode(CkIcon, { icon: "times" })
23257
23278
  ])) : createCommentVNode("", true),
23258
23279
  __props.label ? (openBlock(), createBlock(CkLabel, {
23259
- key: 1,
23280
+ key: 3,
23260
23281
  align: __props.labelAlign,
23261
23282
  for: "ck-input"
23262
23283
  }, {
@@ -23286,7 +23307,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
23286
23307
  };
23287
23308
  }
23288
23309
  });
23289
- var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-55473558"]]);
23310
+ var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-d31fd5ac"]]);
23290
23311
  var ckSidebar_vue_vue_type_style_index_0_scoped_true_lang = "";
23291
23312
  const _hoisted_1$5 = {
23292
23313
  key: 0,