cleek 2.11.20 → 2.11.22

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.
Files changed (29) hide show
  1. package/dist/cleek-styles/tiny-tailwind/aspect-ratio.styl +6 -6
  2. package/dist/cleek-styles/tiny-tailwind/bg-color.styl +161 -161
  3. package/dist/cleek-styles/tiny-tailwind/border-color.styl +161 -161
  4. package/dist/cleek-styles/tiny-tailwind/border.styl +63 -63
  5. package/dist/cleek-styles/tiny-tailwind/flex-direction.styl +8 -8
  6. package/dist/cleek-styles/tiny-tailwind/flex-grow.styl +10 -10
  7. package/dist/cleek-styles/tiny-tailwind/font-size.styl +24 -24
  8. package/dist/cleek-styles/tiny-tailwind/grid.styl +87 -87
  9. package/dist/cleek-styles/tiny-tailwind/height.styl +96 -96
  10. package/dist/cleek-styles/tiny-tailwind/inset.styl +328 -328
  11. package/dist/cleek-styles/tiny-tailwind/leading.styl +28 -28
  12. package/dist/cleek-styles/tiny-tailwind/object-fit.styl +20 -20
  13. package/dist/cleek-styles/tiny-tailwind/opacity.styl +30 -30
  14. package/dist/cleek-styles/tiny-tailwind/pointer-events.styl +4 -4
  15. package/dist/cleek-styles/tiny-tailwind/shadow.styl +16 -16
  16. package/dist/cleek-styles/tiny-tailwind/size-constraints.styl +127 -127
  17. package/dist/cleek-styles/tiny-tailwind/text-color.styl +159 -159
  18. package/dist/cleek-styles/tiny-tailwind/text-decoration.styl +8 -8
  19. package/dist/cleek-styles/tiny-tailwind/text-overflow.styl +38 -38
  20. package/dist/cleek-styles/tiny-tailwind/text-transform.styl +8 -8
  21. package/dist/cleek-styles/tiny-tailwind/transition.styl +55 -55
  22. package/dist/cleek-styles/tiny-tailwind/user-select.styl +8 -8
  23. package/dist/cleek-styles/tiny-tailwind/visibility.styl +4 -4
  24. package/dist/cleek-styles/tiny-tailwind/z-index.styl +14 -14
  25. package/dist/main.cjs.js +1 -1
  26. package/dist/main.css +1 -1
  27. package/dist/main.es.js +15 -14
  28. package/dist/types/components/ck-dropdown-button.vue.d.ts +6 -3
  29. package/package.json +1 -1
package/dist/main.es.js CHANGED
@@ -3637,7 +3637,7 @@ const za = /* @__PURE__ */ q(Ra, [["__scopeId", "data-v-f613ffcb"]]), Wa = { cla
3637
3637
  const Na = /* @__PURE__ */ q(Oa, [["__scopeId", "data-v-43006e82"]]), Ea = {
3638
3638
  key: 0,
3639
3639
  class: "extra-actions__container"
3640
- }, Fa = ["onClick"], ja = { class: "extra-action__name" }, Ha = 0, qa = /* @__PURE__ */ z({
3640
+ }, Fa = ["onClick"], ja = { class: "extra-action__name" }, Ha = "main", qa = /* @__PURE__ */ z({
3641
3641
  __name: "ck-dropdown-button",
3642
3642
  props: {
3643
3643
  title: {},
@@ -3645,6 +3645,7 @@ const Na = /* @__PURE__ */ q(Oa, [["__scopeId", "data-v-43006e82"]]), Ea = {
3645
3645
  isLoading: { type: Boolean },
3646
3646
  tabindex: {},
3647
3647
  dropdownButtonActions: {},
3648
+ mainActionId: {},
3648
3649
  type: {},
3649
3650
  color: {},
3650
3651
  textColor: {},
@@ -3668,8 +3669,8 @@ const Na = /* @__PURE__ */ q(Oa, [["__scopeId", "data-v-43006e82"]]), Ea = {
3668
3669
  var s;
3669
3670
  return !!((s = t.dropdownButtonActions) != null && s.length);
3670
3671
  }), a = d(() => {
3671
- const { dropdownButtonActions: s, ...m } = t;
3672
- return r.value ? { ...m, group: "left" } : m;
3672
+ const { dropdownButtonActions: s, mainActionId: m, ...i } = t;
3673
+ return r.value ? { ...i, group: "left" } : i;
3673
3674
  }), c = d(() => ({
3674
3675
  type: t.type,
3675
3676
  color: t.color,
@@ -3680,7 +3681,7 @@ const Na = /* @__PURE__ */ q(Oa, [["__scopeId", "data-v-43006e82"]]), Ea = {
3680
3681
  group: "right"
3681
3682
  }));
3682
3683
  function u(s) {
3683
- l("click", s), l("action", Ha);
3684
+ l("click", s), l("action", t.mainActionId ?? Ha);
3684
3685
  }
3685
3686
  function p(s) {
3686
3687
  l("action", s), n.value = !1;
@@ -3734,7 +3735,7 @@ const Na = /* @__PURE__ */ q(Oa, [["__scopeId", "data-v-43006e82"]]), Ea = {
3734
3735
  ], 32));
3735
3736
  }
3736
3737
  });
3737
- const Ua = /* @__PURE__ */ q(qa, [["__scopeId", "data-v-1a6f3053"]]), Ya = {
3738
+ const Ua = /* @__PURE__ */ q(qa, [["__scopeId", "data-v-1eb3c72d"]]), Ya = {
3738
3739
  key: 0,
3739
3740
  class: "ck-card__header-title"
3740
3741
  }, Ga = { class: "ck-card__body" }, Za = {
@@ -4809,7 +4810,10 @@ const as = /* @__PURE__ */ q(ls, [["__scopeId", "data-v-817a5ee4"]]), is = { cla
4809
4810
  ]));
4810
4811
  }
4811
4812
  });
4812
- const rs = /* @__PURE__ */ q(ss, [["__scopeId", "data-v-08c93dad"]]), us = { class: "ck-notify__container" }, cs = { class: "ck-notify__title" }, ds = { class: "close-btn" }, ps = ["innerHTML"], vs = /* @__PURE__ */ z({
4813
+ const rs = /* @__PURE__ */ q(ss, [["__scopeId", "data-v-08c93dad"]]), us = {
4814
+ key: 0,
4815
+ class: "ck-notify__container"
4816
+ }, cs = { class: "ck-notify__title" }, ds = { class: "close-btn" }, ps = ["innerHTML"], vs = /* @__PURE__ */ z({
4813
4817
  __name: "CkNotify",
4814
4818
  setup(e, { expose: o }) {
4815
4819
  const t = A(!0), l = A(""), n = A(""), r = A(""), a = A(0), c = A(() => {
@@ -4844,11 +4848,8 @@ const rs = /* @__PURE__ */ q(ss, [["__scopeId", "data-v-08c93dad"]]), us = { cla
4844
4848
  c.value();
4845
4849
  }, a.value);
4846
4850
  }, 10);
4847
- }), (m, i) => t.value ? (v(), D(Ie, {
4848
- key: 0,
4849
- to: "body"
4850
- }, [
4851
- $("div", us, [
4851
+ }), (m, i) => (v(), D(Ie, { to: "body" }, [
4852
+ t.value ? (v(), g("div", us, [
4852
4853
  $("div", {
4853
4854
  class: M(["ck-notify", p.value]),
4854
4855
  style: j(s.value),
@@ -4867,11 +4868,11 @@ const rs = /* @__PURE__ */ q(ss, [["__scopeId", "data-v-08c93dad"]]), us = { cla
4867
4868
  innerHTML: n.value
4868
4869
  }, null, 8, ps)
4869
4870
  ], 6)
4870
- ])
4871
- ])) : _("", !0);
4871
+ ])) : _("", !0)
4872
+ ]));
4872
4873
  }
4873
4874
  });
4874
- const ms = /* @__PURE__ */ q(vs, [["__scopeId", "data-v-bb914f84"]]), fs = 3e3, hs = {
4875
+ const ms = /* @__PURE__ */ q(vs, [["__scopeId", "data-v-f087b4c7"]]), fs = 3e3, hs = {
4875
4876
  alert(e) {
4876
4877
  this.alertOptions({
4877
4878
  title: "",
@@ -1,7 +1,8 @@
1
1
  import { Align, AlignVertical, Color, Icon, IconPack, Layout, ButtonType, WidthBreaks } from '../cleek-options/cleek-options.types';
2
2
 
3
+ type ActionId = string | number | null;
3
4
  export interface DropdownButtonAction {
4
- id: number;
5
+ id: ActionId;
5
6
  name: string;
6
7
  }
7
8
  declare function __VLS_template(): {
@@ -13,6 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
13
14
  isLoading?: boolean;
14
15
  tabindex?: number;
15
16
  dropdownButtonActions: DropdownButtonAction[];
17
+ mainActionId?: ActionId;
16
18
  type?: ButtonType;
17
19
  color?: Color;
18
20
  textColor?: Color;
@@ -31,13 +33,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
33
  groupVertical?: AlignVertical;
32
34
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
35
  click: (event: Event) => void;
34
- action: (actionId: number) => void;
36
+ action: (actionId: string) => void;
35
37
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
36
38
  title?: string;
37
39
  disabled?: boolean;
38
40
  isLoading?: boolean;
39
41
  tabindex?: number;
40
42
  dropdownButtonActions: DropdownButtonAction[];
43
+ mainActionId?: ActionId;
41
44
  type?: ButtonType;
42
45
  color?: Color;
43
46
  textColor?: Color;
@@ -56,7 +59,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
56
59
  groupVertical?: AlignVertical;
57
60
  }>>> & Readonly<{
58
61
  onClick?: (event: Event) => any;
59
- onAction?: (actionId: number) => any;
62
+ onAction?: (actionId: string) => any;
60
63
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
64
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
62
65
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cleek",
3
3
  "description": "Complete UX Vue library",
4
- "version": "2.11.20",
4
+ "version": "2.11.22",
5
5
  "author": "Quantic Onion",
6
6
  "license": "MIT",
7
7
  "repository": "",