cleek 3.0.5 → 3.0.6

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/main.es.js CHANGED
@@ -1000,7 +1000,7 @@ const wl = ["title", "aria-label", "disabled", "tabindex"], rt = "transparent",
1000
1000
  ], 6);
1001
1001
  };
1002
1002
  }
1003
- }), Ut = /* @__PURE__ */ N(Pl, [["__scopeId", "data-v-42ed95bf"]]), Al = { class: "ck-table__header-items__start" }, Ml = { class: "ck-table__header-items__end" }, Il = /* @__PURE__ */ R({
1003
+ }), Ut = /* @__PURE__ */ N(Pl, [["__scopeId", "data-v-4949514e"]]), Al = { class: "ck-table__header-items__start" }, Ml = { class: "ck-table__header-items__end" }, Il = /* @__PURE__ */ R({
1004
1004
  __name: "ck-table__header-items",
1005
1005
  props: /* @__PURE__ */ ne({
1006
1006
  hideRefreshBtn: { type: Boolean },
@@ -4789,6 +4789,7 @@ const Si = {
4789
4789
  disabledTooltip: {},
4790
4790
  size: {},
4791
4791
  columns: {},
4792
+ isAlwaysExpanded: { type: Boolean },
4792
4793
  changeLabel: {},
4793
4794
  iconColor: {},
4794
4795
  iconPack: {},
@@ -4800,12 +4801,12 @@ const Si = {
4800
4801
  }),
4801
4802
  emits: /* @__PURE__ */ ne(["change"], ["update:modelValue"]),
4802
4803
  setup(e, { emit: l }) {
4803
- const t = fe(e, "modelValue"), a = e, o = l, i = P(!t.value), n = s(() => a.options.find((f) => f.id === t.value) ?? null), u = s(() => i.value || !n.value ? a.options : [n.value]), d = s(() => {
4804
+ const t = fe(e, "modelValue"), a = e, o = l, i = P(a.isAlwaysExpanded || !t.value), n = s(() => a.options.find((f) => f.id === t.value) ?? null), u = s(() => i.value || !n.value ? a.options : [n.value]), d = s(() => {
4804
4805
  if (i.value)
4805
4806
  return a.size === "l" && !a.columns ? { "grid-template-columns": "repeat(auto-fit, minmax(220px, 1fr))" } : { "grid-template-columns": `repeat(${a.columns || cs}, 1fr)` };
4806
4807
  });
4807
4808
  de(t, (f) => {
4808
- i.value = !f;
4809
+ i.value = a.isAlwaysExpanded || !f;
4809
4810
  });
4810
4811
  function m(f) {
4811
4812
  if (a.disabled) return a.disabledTooltip;
@@ -4819,10 +4820,11 @@ const Si = {
4819
4820
  return;
4820
4821
  }
4821
4822
  if (f.id === t.value) {
4823
+ if (a.isAlwaysExpanded) return;
4822
4824
  i.value = !1;
4823
4825
  return;
4824
4826
  }
4825
- t.value = f.id, i.value = !1, o("change", f.id);
4827
+ t.value = f.id, i.value = !!a.isAlwaysExpanded, o("change", f.id);
4826
4828
  }
4827
4829
  }
4828
4830
  return (f, v) => {
@@ -4877,7 +4879,7 @@ const Si = {
4877
4879
  ], 2);
4878
4880
  };
4879
4881
  }
4880
- }), ps = /* @__PURE__ */ N(ds, [["__scopeId", "data-v-e7986e5e"]]), vs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20style='enable-background:new%200%200%20100%20100;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EA4B4B;}%20%3c/style%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='64.9'%20class='st0'%20width='10'%20height='10.2'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='24.9'%20class='st0'%20width='10'%20height='30.2'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cpath%20class='st0'%20d='M69.2,16.7L88.5,50L69.2,83.3H30.8L11.5,50l19.2-33.3H69.2%20M75,6.7H25L0,50l25,43.3h50L100,50L75,6.7L75,6.7z'%20/%3e%3c/svg%3e", fs = { class: "ck-confirm--background" }, ms = { class: "ck-confirm" }, hs = { class: "ck-confirm__title" }, gs = { class: "ck-confirm__message" }, ks = { class: "ck-confirm__buttons-container" }, bs = /* @__PURE__ */ R({
4882
+ }), ps = /* @__PURE__ */ N(ds, [["__scopeId", "data-v-a3b32484"]]), vs = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2027.7.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20100%20100'%20style='enable-background:new%200%200%20100%20100;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23EA4B4B;}%20%3c/style%3e%3cg%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='64.9'%20class='st0'%20width='10'%20height='10.2'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cg%3e%3crect%20x='45'%20y='24.9'%20class='st0'%20width='10'%20height='30.2'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cpath%20class='st0'%20d='M69.2,16.7L88.5,50L69.2,83.3H30.8L11.5,50l19.2-33.3H69.2%20M75,6.7H25L0,50l25,43.3h50L100,50L75,6.7L75,6.7z'%20/%3e%3c/svg%3e", fs = { class: "ck-confirm--background" }, ms = { class: "ck-confirm" }, hs = { class: "ck-confirm__title" }, gs = { class: "ck-confirm__message" }, ks = { class: "ck-confirm__buttons-container" }, bs = /* @__PURE__ */ R({
4881
4883
  __name: "CkConfirm",
4882
4884
  setup(e, { expose: l }) {
4883
4885
  const t = P(""), a = P(""), o = P(""), i = P(""), n = P(() => {
@@ -16,6 +16,7 @@ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awa
16
16
  disabledTooltip?: string;
17
17
  size?: "m" | "l";
18
18
  columns?: number;
19
+ isAlwaysExpanded?: boolean;
19
20
  changeLabel?: string;
20
21
  iconColor?: Color;
21
22
  iconPack?: IconPack;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cleek",
3
3
  "description": "Complete UX Vue library",
4
- "version": "3.0.5",
4
+ "version": "3.0.6",
5
5
  "author": "Quantic Onion",
6
6
  "license": "MIT",
7
7
  "repository": "github:quantic-core/cleek",