cleek 2.1.4 → 2.1.9

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.
@@ -6,4 +6,5 @@
6
6
  @import './padding';
7
7
  @import './position';
8
8
  @import './text-align';
9
+ @import './whitespace';
9
10
  @import './width';
@@ -0,0 +1,10 @@
1
+ .whitespace-normal
2
+ white-space normal
3
+ .whitespace-nowrap
4
+ white-space nowrap
5
+ .whitespace-pre
6
+ white-space pre
7
+ .whitespace-pre-line
8
+ white-space pre-line
9
+ .whitespace-pre-wrap
10
+ white-space pre-wrap
package/dist/cleek.es.js CHANGED
@@ -108,7 +108,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
108
108
  };
109
109
  }
110
110
  });
111
- var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-345fa562"]]);
111
+ var ckNavbar = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-5024db6a"]]);
112
112
  var validators = {
113
113
  size: (type) => {
114
114
  return ["", "xs", "s", "m", "l", "xl"].includes(type);
@@ -12358,7 +12358,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12358
12358
  zoomTitle: { type: String, default: "" },
12359
12359
  hasBorder: { type: Boolean, default: false },
12360
12360
  radius: { type: String, default: "" },
12361
- borderColor: { type: String, default: "" }
12361
+ borderColor: { type: String, default: "" },
12362
+ rounded: { type: Boolean, default: false }
12362
12363
  },
12363
12364
  setup(__props) {
12364
12365
  const props = __props;
@@ -12373,12 +12374,10 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12373
12374
  });
12374
12375
  const computedClass = computed$2(() => {
12375
12376
  const classList2 = [];
12376
- let size = props.size;
12377
- if (!size && !props.sizeAbsolute && !props.width && !props.height) {
12378
- size = "m";
12379
- }
12380
- if (size)
12381
- classList2.push(`ck-img__size--${size}`);
12377
+ if (props.size)
12378
+ classList2.push(`ck-img__size--${props.size}`);
12379
+ if (props.rounded)
12380
+ classList2.push("is-rounded");
12382
12381
  if (props.hasBorder) {
12383
12382
  classList2.push("ck-img__has-border");
12384
12383
  if (functions$1.isColorTemplateVariable(realBorderColor.value)) {
@@ -12452,7 +12451,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
12452
12451
  };
12453
12452
  }
12454
12453
  });
12455
- var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-acde673a"]]);
12454
+ var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-e808078e"]]);
12456
12455
  var ckLabel_vue_vue_type_style_index_0_scoped_true_lang = "";
12457
12456
  const _hoisted_1$e = ["for"];
12458
12457
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
@@ -13859,6 +13858,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13859
13858
  nowrap: { type: Boolean, default: false },
13860
13859
  block: { type: Boolean, default: false },
13861
13860
  autoWidth: { type: Boolean, default: false },
13861
+ overflowAuto: { type: Boolean, default: false },
13862
13862
  align: { type: String, default: void 0, validator: validators.align },
13863
13863
  fixedWidth: { type: String, default: "" },
13864
13864
  minWidth: { type: String, default: "" },
@@ -13869,7 +13869,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13869
13869
  const props = __props;
13870
13870
  const computedTdClass = computed$2(() => {
13871
13871
  return {
13872
- "auto-width": props.autoWidth
13872
+ "auto-width": props.autoWidth,
13873
+ "overflow-auto": props.overflowAuto
13873
13874
  };
13874
13875
  });
13875
13876
  const computedSpanClass = computed$2(() => {
@@ -13925,7 +13926,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13925
13926
  };
13926
13927
  }
13927
13928
  });
13928
- var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-47b8a441"]]);
13929
+ var ckTd = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-63af303c"]]);
13929
13930
  var ckTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
13930
13931
  const _hoisted_1$1 = { class: "ck-textarea" };
13931
13932
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({