@codeandfunction/callaloo 3.16.7 → 3.16.8

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 (61) hide show
  1. package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js → CLA11yButton.vue_vue_type_style_index_0_lang-Cl1pOJvL.js} +1 -1
  2. package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js → CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js} +2 -2
  3. package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-CAjsSjd9.js → CLCard.vue_vue_type_style_index_0_lang-B7_6uqSs.js} +2 -2
  4. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js +148 -0
  5. package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-B1MuCUnW.js → CLPill.vue_vue_type_style_index_0_lang-BsGpHn52.js} +2 -2
  6. package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-DVJDbuDr.js → CLProgress.vue_vue_type_style_index_0_lang-Cqdkf70C.js} +1 -1
  7. package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js → CLSkeleton.vue_vue_type_style_index_0_lang-DT23xe5d.js} +1 -1
  8. package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js → CLSpinner.vue_vue_type_style_index_0_lang-DU0dl3yu.js} +1 -1
  9. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-BNlgk9Fz.js +182 -0
  10. package/dist/chunks/utils-B_-25pfO.js +85 -0
  11. package/dist/chunks/utils-BipQQo6V.js +41 -0
  12. package/dist/chunks/utils-DmkkE-9U.js +24 -0
  13. package/dist/chunks/utils-DxdFsNHx.js +37 -0
  14. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
  15. package/dist/components/Buttons/CLButton/CLButton.css +1 -1
  16. package/dist/components/Buttons/CLButton/CLButton.js +1 -1
  17. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
  18. package/dist/components/Buttons/utils.d.ts +2 -2
  19. package/dist/components/CLTable/CLTable.js +58 -58
  20. package/dist/components/CLTable/utils.d.ts +1 -1
  21. package/dist/components/Containers/CLCard/CLCard.css +1 -1
  22. package/dist/components/Containers/CLCard/CLCard.js +1 -1
  23. package/dist/components/Containers/CLCarousel/CLCarousel.js +1 -1
  24. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
  25. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +23 -23
  26. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +0 -1
  27. package/dist/components/Containers/utils.d.ts +2 -2
  28. package/dist/components/Form/CLCheckbox/CLCheckbox.js +24 -24
  29. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +1 -1
  30. package/dist/components/Form/CLInput/CLInput.js +50 -50
  31. package/dist/components/Form/CLInput/CLInput.vue.d.ts +2 -2
  32. package/dist/components/Form/CLInput/CLInputPrefix.vue.d.ts +1 -1
  33. package/dist/components/Form/CLInput/CLInputSuffix.vue.d.ts +1 -1
  34. package/dist/components/Form/CLRadioButton/CLRadioButton.js +20 -20
  35. package/dist/components/Form/CLSelect/CLSelect.js +17 -17
  36. package/dist/components/Form/CLTextArea/CLTextArea.js +13 -13
  37. package/dist/components/Form/utils.d.ts +6 -6
  38. package/dist/components/Indicators/CLBadge/CLBadge.js +1 -1
  39. package/dist/components/Indicators/CLBanner/CLBanner.js +4 -4
  40. package/dist/components/Indicators/CLPill/CLPill.js +1 -1
  41. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
  42. package/dist/components/Indicators/utils.d.ts +3 -3
  43. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
  44. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
  45. package/dist/components/Loading/utils.d.ts +1 -1
  46. package/dist/components/Modals/CLModal/CLModal.js +37 -37
  47. package/dist/components/Modals/CLModal/CLModal.vue.d.ts +1 -1
  48. package/dist/components/Modals/utils.d.ts +1 -1
  49. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +2 -2
  50. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
  51. package/dist/components/Popups/CLToast/CLToast.js +1 -1
  52. package/dist/components/Popups/utils.d.ts +1 -1
  53. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +19 -19
  54. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +0 -153
  57. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js +0 -182
  58. package/dist/chunks/utils-CAV1sBee.js +0 -24
  59. package/dist/chunks/utils-Sqgt8Fa4.js +0 -85
  60. package/dist/chunks/utils-cOhtsyeB.js +0 -41
  61. package/dist/chunks/utils-zJwcNHl4.js +0 -37
@@ -1,15 +1,15 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLTextArea.css';
3
3
  import '../../../assets/shared/form-utilities.css';
4
- import { defineComponent as g, mergeModels as $, useTemplateRef as x, useModel as C, computed as L, createBlock as i, openBlock as r, withCtx as B, createElementVNode as u, createCommentVNode as s, normalizeStyle as z, normalizeClass as m, unref as c, withDirectives as v, vModelText as k } from "vue";
5
- import { _ as T, i as q, a as V } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js";
4
+ import { defineComponent as $, mergeModels as b, useTemplateRef as x, useModel as C, computed as L, createBlock as i, openBlock as r, withCtx as B, createElementVNode as d, createCommentVNode as s, normalizeStyle as z, normalizeClass as m, unref as c, withDirectives as v, vModelText as k } from "vue";
5
+ import { _ as T, i as q, a as V } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js";
6
6
  import { _ as w } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js";
7
7
  import { _ as I } from "../../../chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js";
8
8
  import { CLOrientation as f, CLCharCounterLayout as F, CLColorVariants as R, CLSizes as M, CLColors as S } from "../../../index.js";
9
- const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "disabled", "form", "maxlength", "minlength", "name", "pattern", "placeholder", "readonly", "required", "spellcheck", "rows"], j = /* @__PURE__ */ g({
9
+ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "disabled", "form", "maxlength", "minlength", "name", "pattern", "placeholder", "readonly", "required", "spellcheck", "rows"], j = /* @__PURE__ */ $({
10
10
  name: "CLTextArea",
11
11
  __name: "CLTextArea",
12
- props: /* @__PURE__ */ $({
12
+ props: /* @__PURE__ */ b({
13
13
  ariaLabel: {},
14
14
  autoComplete: { type: Boolean },
15
15
  borderRadius: {},
@@ -49,9 +49,9 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
49
49
  }),
50
50
  emits: ["update:modelValue"],
51
51
  setup(e, { expose: h }) {
52
- const t = e, a = "clll-textarea", d = x("textarea-ref"), o = C(e, "modelValue"), y = () => {
53
- d.value && d.value.focus();
54
- }, b = L(() => [
52
+ const t = e, a = "clll-textarea", u = x("textarea-ref"), o = C(e, "modelValue"), y = () => {
53
+ u.value && u.value.focus();
54
+ }, g = L(() => [
55
55
  a,
56
56
  t.borderRadius ? `${a}--${t.borderRadius}` : "",
57
57
  t.busy ? `${a}--busy` : `${a}--ready`,
@@ -70,16 +70,16 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
70
70
  t.required ? `${a}--required` : `${a}--optional`
71
71
  ]);
72
72
  return h({
73
- textareaRef: d
73
+ textareaRef: u
74
74
  }), (H, l) => (r(), i(T, {
75
75
  fluid: e.fluid,
76
76
  "has-char-counter": !!(e.charCounter && e.maxLength),
77
77
  orientation: e.orientation
78
78
  }, {
79
79
  default: B(() => [
80
- u("span", {
81
- class: m(c(b)),
82
- style: z(c(q)({ color: e.color, disabled: e.disabled || e.busy, readonly: e.readonly, variant: e.variant })),
80
+ d("span", {
81
+ class: m(c(g)),
82
+ style: z(c(q)({ color: e.color, variant: e.variant })),
83
83
  "data-testid": e.testId
84
84
  }, [
85
85
  e.label ? (r(), i(w, {
@@ -90,11 +90,11 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
90
90
  required: e.required,
91
91
  size: e.size
92
92
  }, null, 8, ["html-for", "label", "required", "size"])) : s("", !0),
93
- u("span", {
93
+ d("span", {
94
94
  class: m(`${a}__input-container`),
95
95
  onClick: y
96
96
  }, [
97
- v(u("textarea", {
97
+ v(d("textarea", {
98
98
  id: e.id,
99
99
  ref: "textarea-ref",
100
100
  "onUpdate:modelValue": l[0] || (l[0] = (n) => o.value = n),
@@ -6,7 +6,7 @@ interface ThemeProps {
6
6
  readonly?: boolean;
7
7
  variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
8
8
  }
9
- export declare const checkboxTheme: ({ color, disabled, variant }: ThemeProps) => {
9
+ export declare const checkboxTheme: ({ color, variant }: ThemeProps) => {
10
10
  '--clll-checkbox-bg': string;
11
11
  '--clll-checkbox-border': string;
12
12
  '--clll-checkbox-disabled-border': string;
@@ -18,11 +18,11 @@ export declare const checkboxTheme: ({ color, disabled, variant }: ThemeProps) =
18
18
  '--clll-checkbox-disabled-icon-color': string;
19
19
  '--clll-checkbox-indicator-color': string;
20
20
  '--clll-checkbox-disabled-indicator-color': string;
21
- '--clll-checkbox-theme-radius': string | undefined;
21
+ '--clll-checkbox-theme-radius': string;
22
22
  '--clll-checkbox-outline-width': string;
23
23
  '--clll-checkbox-required-asterisk-color': string;
24
24
  };
25
- export declare const inputTheme: ({ color, disabled, readonly, variant }: ThemeProps) => {
25
+ export declare const inputTheme: ({ color, variant }: ThemeProps) => {
26
26
  '--clll-input-bg': string;
27
27
  '--clll-input-border': string;
28
28
  '--clll-input-disabled-border': string;
@@ -35,14 +35,14 @@ export declare const inputTheme: ({ color, disabled, readonly, variant }: ThemeP
35
35
  '--clll-input-text-placeholder': string;
36
36
  '--clll-input-grouped-bg': string;
37
37
  '--clll-input-prefix-suffix-color': string;
38
- '--clll-input-theme-radius': string | undefined;
38
+ '--clll-input-theme-radius': string;
39
39
  '--clll-input-ghost-padding': string | undefined;
40
40
  '--clll-input-required-asterisk-color': string;
41
41
  };
42
42
  export declare const inputMessagesTheme: ({ color }: ThemeProps) => {
43
43
  '--clll-input-message-color': string;
44
44
  };
45
- export declare const selectTheme: ({ color, disabled, variant }: ThemeProps) => {
45
+ export declare const selectTheme: ({ color, variant }: ThemeProps) => {
46
46
  '--clll-select-bg': string;
47
47
  '--clll-select-border': string;
48
48
  '--clll-select-disabled-border': string;
@@ -53,7 +53,7 @@ export declare const selectTheme: ({ color, disabled, variant }: ThemeProps) =>
53
53
  '--clll-select-text-placeholder': string;
54
54
  '--clll-select-icon-color': string;
55
55
  '--clll-select-disabled-icon-color': string;
56
- '--clll-select-theme-radius': string | undefined;
56
+ '--clll-select-theme-radius': string;
57
57
  '--clll-select-ghost-padding': string | undefined;
58
58
  '--clll-select-required-asterisk-color': string;
59
59
  };
@@ -2,7 +2,7 @@ import '../../../assets/core.css';
2
2
  import './CLBadge.css';
3
3
  import { defineComponent as c, computed as n, createElementBlock as m, openBlock as u, normalizeStyle as f, normalizeClass as s, unref as r, createElementVNode as b, toDisplayString as g } from "vue";
4
4
  import { CLColorVariants as p, CLColors as C } from "../../../index.js";
5
- import { b as v } from "../../../chunks/utils-Sqgt8Fa4.js";
5
+ import { b as v } from "../../../chunks/utils-B_-25pfO.js";
6
6
  const $ = ["data-testid"], h = /* @__PURE__ */ c({
7
7
  name: "CLBadge",
8
8
  __name: "CLBadge",
@@ -1,13 +1,13 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLBanner.css';
3
3
  import { defineComponent as L, computed as h, createBlock as l, openBlock as n, unref as a, withCtx as c, createElementVNode as u, normalizeStyle as v, normalizeClass as d, createElementBlock as m, createCommentVNode as o, createTextVNode as b, toDisplayString as s, createVNode as y } from "vue";
4
- import { _ as x } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js";
5
- import { _ as $ } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js";
4
+ import { _ as x } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-Cl1pOJvL.js";
5
+ import { _ as $ } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js";
6
6
  import { _ as S } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js";
7
- import { _ as C } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js";
7
+ import { _ as C } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DT23xe5d.js";
8
8
  import { _ as B } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js";
9
9
  import { CLColorVariants as r, CLColors as z, CLAlign as D, CLHeadingTypes as T, CLTextTypes as N, CLSizes as w, CLIconSizes as V, CLIconNames as A } from "../../../index.js";
10
- import { c as I } from "../../../chunks/utils-Sqgt8Fa4.js";
10
+ import { c as I } from "../../../chunks/utils-B_-25pfO.js";
11
11
  const R = ["data-testid"], O = /* @__PURE__ */ L({
12
12
  name: "CLBanner",
13
13
  __name: "CLBanner",
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLPill.css';
3
- import { _ as s } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-B1MuCUnW.js";
3
+ import { _ as s } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-BsGpHn52.js";
4
4
  export {
5
5
  s as CLPill,
6
6
  s as default
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLProgress.css';
3
- import { _ as a } from "../../../chunks/CLProgress.vue_vue_type_style_index_0_lang-DVJDbuDr.js";
3
+ import { _ as a } from "../../../chunks/CLProgress.vue_vue_type_style_index_0_lang-Cqdkf70C.js";
4
4
  export {
5
5
  a as CLProgress,
6
6
  a as default
@@ -9,13 +9,13 @@ export declare const badgeTheme: ({ color, variant }: ThemeProps) => {
9
9
  '--clll-badge-border-style': string;
10
10
  '--clll-badge-border-width': string;
11
11
  '--clll-badge-text-color': string;
12
- '--clll-badge-theme-radius': string | undefined;
12
+ '--clll-badge-theme-radius': string;
13
13
  };
14
14
  export declare const bannerTheme: ({ color, variant }: ThemeProps) => {
15
15
  '--clll-banner-bg-color': string;
16
16
  '--clll-banner-border-color': string;
17
17
  '--clll-banner-text-color': string;
18
- '--clll-banner-theme-radius': string | undefined;
18
+ '--clll-banner-theme-radius': string;
19
19
  };
20
20
  export declare const pillTheme: ({ color, variant }: ThemeProps) => {
21
21
  '--clll-pill-bg-color': string;
@@ -28,7 +28,7 @@ export declare const pillTheme: ({ color, variant }: ThemeProps) => {
28
28
  '--clll-pill-count-border-style': string;
29
29
  '--clll-pill-count-border-color': string;
30
30
  '--clll-pill-count-border-width': string;
31
- '--clll-pill-theme-radius': string | undefined;
31
+ '--clll-pill-theme-radius': string;
32
32
  };
33
33
  export declare const progressTheme: ({ color }: Omit<ThemeProps, "variant">) => {
34
34
  '--clll-progress-container-bg': string;
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLSkeleton.css';
3
- import { _ as e } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js";
3
+ import { _ as e } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DT23xe5d.js";
4
4
  export {
5
5
  e as CLSkeleton,
6
6
  e as default
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLSpinner.css';
3
- import { _ as r } from "../../../chunks/CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js";
3
+ import { _ as r } from "../../../chunks/CLSpinner.vue_vue_type_style_index_0_lang-DU0dl3yu.js";
4
4
  export {
5
5
  r as CLSpinner,
6
6
  r as default
@@ -4,7 +4,7 @@ interface ThemeProps {
4
4
  }
5
5
  export declare const skeletonTheme: () => {
6
6
  '--clll-skeleton-bg-color': string;
7
- '--clll-skeleton-theme-radius': string | undefined;
7
+ '--clll-skeleton-theme-radius': string;
8
8
  };
9
9
  export declare const spinnerTheme: ({ color }: ThemeProps) => {
10
10
  '--clll-spinner-color': string;
@@ -1,24 +1,24 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLModal.css';
3
- import { defineComponent as W, useTemplateRef as F, useSlots as U, ref as Z, computed as _, watch as j, onMounted as q, onBeforeUnmount as A, createElementBlock as p, createCommentVNode as f, openBlock as v, normalizeStyle as w, normalizeClass as l, unref as n, createElementVNode as d, createBlock as B, renderSlot as $, withCtx as G, createTextVNode as J, toDisplayString as K } from "vue";
4
- import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js";
3
+ import { defineComponent as W, useTemplateRef as F, useSlots as U, ref as Z, computed as m, watch as j, onMounted as q, onBeforeUnmount as A, createElementBlock as p, createCommentVNode as v, openBlock as w, normalizeStyle as y, normalizeClass as l, unref as n, createElementVNode as d, createBlock as B, renderSlot as $, withCtx as G, createTextVNode as J, toDisplayString as K } from "vue";
4
+ import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js";
5
5
  import { _ as Q } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js";
6
- import { CLMode as k, CLColors as T, CLColorVariants as R, CLBorderRadius as X, CLIconSizes as Y, CLIconNames as ee, CLHeadingTypes as oe } from "../../../index.js";
6
+ import { CLMode as k, CLColors as T, CLColorVariants as N, CLBorderRadius as X, CLIconSizes as Y, CLIconNames as ee, CLHeadingTypes as oe } from "../../../index.js";
7
7
  import { g as te } from "../../../chunks/utils-CS9Gz4oX.js";
8
8
  import { useTheme as ne } from "../../../composables/useTheme.js";
9
9
  import { useEsc as le } from "../../../composables/useEsc.js";
10
10
  import { b as S, i as a } from "../../../chunks/helper--hRjZVm6.js";
11
11
  const se = () => {
12
- const { borderRadius: t, colors: y, darkMode: c } = ne(), r = c.value ? k.Dark : k.Light, u = te({
12
+ const { colors: t, darkMode: f } = ne(), _ = f.value ? k.Dark : k.Light, r = te({
13
13
  color: T.Neutral,
14
- colors: y.value,
15
- mode: r,
16
- variant: R.Solid
17
- }), o = c.value ? "black" : "white";
14
+ colors: t.value,
15
+ mode: _,
16
+ variant: N.Solid
17
+ }), c = f.value ? "black" : "white";
18
18
  return {
19
- "--clll-modal-overlay-bg": u?.bg ?? "transparent",
20
- "--clll-modal-content-bg": o,
21
- "--clll-modal-theme-radius": t.value ? `var(--clll-${t.value})` : void 0
19
+ "--clll-modal-overlay-bg": r?.bg ?? "transparent",
20
+ "--clll-modal-content-bg": c,
21
+ "--clll-modal-theme-radius": "var(--clll-default-radius)"
22
22
  };
23
23
  }, ae = ["id", "data-testid"], re = ["aria-labelledby"], we = /* @__PURE__ */ W({
24
24
  name: "CLModal",
@@ -39,25 +39,25 @@ const se = () => {
39
39
  zIndex: { default: 100 }
40
40
  },
41
41
  emits: ["modal-open", "modal-close"],
42
- setup(t, { emit: y }) {
43
- const c = y, r = F("modal-window"), u = U(), o = t, e = "clll-modal", x = "clll-prevent-scroll", m = Z(), C = () => {
42
+ setup(t, { emit: f }) {
43
+ const _ = f, r = F("modal-window"), c = U(), o = t, e = "clll-modal", x = "clll-prevent-scroll", u = Z(), C = () => {
44
44
  a && window?.document.body.classList.add(x);
45
45
  }, I = () => {
46
46
  a && window?.document.body.classList.remove(x);
47
- }, N = _(() => [
47
+ }, R = m(() => [
48
48
  e
49
- ]), E = _(() => [
49
+ ]), E = m(() => [
50
50
  `${e}__window`,
51
51
  o.fullscreen ? `${e}__window--fullscreen` : ""
52
- ]), M = _(() => [
52
+ ]), M = m(() => [
53
53
  `${e}__content`,
54
54
  o.borderRadius ? `${e}__content--${o.borderRadius}` : "",
55
55
  o.close ? `${e}__content--has-close-button` : `${e}__content--has-no-close-button`,
56
- u.body ? `${e}__content--has-body` : `${e}__content--has-no-body`,
57
- u.footer ? `${e}__content--has-footer` : `${e}__content--has-no-footer`,
58
- u.header || o.title ? `${e}__content--has-header` : `${e}__content--has-no-header`,
56
+ c.body ? `${e}__content--has-body` : `${e}__content--has-no-body`,
57
+ c.footer ? `${e}__content--has-footer` : `${e}__content--has-no-footer`,
58
+ c.header || o.title ? `${e}__content--has-header` : `${e}__content--has-no-header`,
59
59
  o.title ? `${e}__content--has-title` : `${e}__content--has-no-title`
60
- ]), O = _(() => o.zIndex === "auto" || S(o.zIndex) ? o.zIndex : o.zIndex.toString()), V = _(() => o.zIndex === "auto" ? o.zIndex : ((S(o.zIndex) ? parseInt(o.zIndex, 10) : o.zIndex) + 100).toString()), H = (s) => {
60
+ ]), O = m(() => o.zIndex === "auto" || S(o.zIndex) ? o.zIndex : o.zIndex.toString()), V = m(() => o.zIndex === "auto" ? o.zIndex : ((S(o.zIndex) ? parseInt(o.zIndex, 10) : o.zIndex) + 100).toString()), H = (s) => {
61
61
  try {
62
62
  const i = s?.target, g = r.value;
63
63
  return a && g && !g.contains(i) ? !0 : void 0;
@@ -74,30 +74,30 @@ const se = () => {
74
74
  }, h = () => {
75
75
  a && window.removeEventListener("mousedown", b);
76
76
  }, z = () => {
77
- a && (m.value && a && window.clearTimeout(m.value), h(), I());
77
+ a && (u.value && a && window.clearTimeout(u.value), h(), I());
78
78
  }, L = () => {
79
79
  o.isOpen && (o.onClose?.(), z());
80
80
  };
81
81
  j(o, (s) => {
82
- s.isOpen ? (c("modal-open"), C(), r.value && r.value.focus(), a && s.dismissible && (h(), m.value = window.setTimeout(() => {
82
+ s.isOpen ? (_("modal-open"), C(), r.value && r.value.focus(), a && s.dismissible && (h(), u.value = window.setTimeout(() => {
83
83
  window.addEventListener("mousedown", b);
84
- }, 100))) : (r.value && r.value.blur(), I(), h(), m.value && a && window.clearTimeout(m.value), c("modal-close"));
84
+ }, 100))) : (r.value && r.value.blur(), I(), h(), u.value && a && window.clearTimeout(u.value), _("modal-close"));
85
85
  }), q(() => {
86
86
  o.isOpen && a && (C(), r.value && r.value.focus());
87
87
  });
88
88
  const { clearEventListeners: D } = le({ escHandler: o.dismissible ? L : void 0 });
89
89
  return A(() => {
90
90
  z(), D();
91
- }), (s, i) => t.isOpen ? (v(), p("div", {
91
+ }), (s, i) => t.isOpen ? (w(), p("div", {
92
92
  key: 0,
93
93
  id: t.modalId,
94
- class: l(n(N)),
94
+ class: l(n(R)),
95
95
  "data-testid": t.testId,
96
- style: w({ ...n(se)(), zIndex: n(O) })
96
+ style: y({ ...n(se)(), zIndex: n(O) })
97
97
  }, [
98
98
  d("div", {
99
99
  class: l(n(E)),
100
- style: w({ zIndex: n(V) })
100
+ style: y({ zIndex: n(V) })
101
101
  }, [
102
102
  d("div", {
103
103
  ref: "modal-window",
@@ -106,12 +106,12 @@ const se = () => {
106
106
  class: l(n(M)),
107
107
  role: "dialog",
108
108
  tabindex: -1,
109
- style: w({ "--clll-modal-max-width": t.maxWidth })
109
+ style: y({ "--clll-modal-max-width": t.maxWidth })
110
110
  }, [
111
111
  d("div", {
112
112
  class: l(`${e}__close-button`)
113
113
  }, [
114
- t.onClose && t.close ? (v(), B(n(P), {
114
+ t.onClose && t.close ? (w(), B(n(P), {
115
115
  key: 0,
116
116
  "aria-label": "Close modal",
117
117
  "border-radius": t.closeBorderRadius,
@@ -120,8 +120,8 @@ const se = () => {
120
120
  "icon-size": n(Y).Tiny,
121
121
  "on-click": t.onClose,
122
122
  "test-id": `${e}__close-button`,
123
- variant: n(R).Text
124
- }, null, 8, ["border-radius", "color", "icon-before", "icon-size", "on-click", "test-id", "variant"])) : f("", !0)
123
+ variant: n(N).Text
124
+ }, null, 8, ["border-radius", "color", "icon-before", "icon-size", "on-click", "test-id", "variant"])) : v("", !0)
125
125
  ], 2),
126
126
  d("div", {
127
127
  class: l(`${e}__content__header`)
@@ -132,7 +132,7 @@ const se = () => {
132
132
  d("div", {
133
133
  class: l(`${e}__content__header__container`)
134
134
  }, [
135
- t.title ? (v(), B(n(Q), {
135
+ t.title ? (w(), B(n(Q), {
136
136
  key: 0,
137
137
  id: `${e}__content__header__title`,
138
138
  class: l(`${e}__content__header__title`),
@@ -142,7 +142,7 @@ const se = () => {
142
142
  J(K(t.title), 1)
143
143
  ]),
144
144
  _: 1
145
- }, 8, ["id", "class", "type"])) : f("", !0),
145
+ }, 8, ["id", "class", "type"])) : v("", !0),
146
146
  $(s.$slots, "header")
147
147
  ], 2)
148
148
  ], 2)
@@ -163,13 +163,13 @@ const se = () => {
163
163
  ], 2)
164
164
  ], 14, re)
165
165
  ], 6),
166
- t.overlay ? (v(), p("div", {
166
+ t.overlay ? (w(), p("div", {
167
167
  key: 0,
168
168
  ref: "overlay-ref",
169
169
  class: l(`${e}__overlay`),
170
- style: w({ zIndex: t.zIndex })
171
- }, null, 6)) : f("", !0)
172
- ], 14, ae)) : f("", !0);
170
+ style: y({ zIndex: t.zIndex })
171
+ }, null, 6)) : v("", !0)
172
+ ], 14, ae)) : v("", !0);
173
173
  }
174
174
  });
175
175
  export {
@@ -35,9 +35,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
35
35
  "onModal-close"?: (() => any) | undefined;
36
36
  }>, {
37
37
  title: string;
38
- borderRadius: CLBorderRadius;
39
38
  close: boolean;
40
39
  testId: string;
40
+ borderRadius: CLBorderRadius;
41
41
  closeBorderRadius: CLBorderRadius;
42
42
  dismissible: boolean;
43
43
  fullscreen: boolean;
@@ -1,5 +1,5 @@
1
1
  export declare const modalTheme: () => {
2
2
  '--clll-modal-overlay-bg': string;
3
3
  '--clll-modal-content-bg': string;
4
- '--clll-modal-theme-radius': string | undefined;
4
+ '--clll-modal-theme-radius': string;
5
5
  };
@@ -1,8 +1,8 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLDropdownMenu.css';
3
3
  import { computed as V, ref as E, shallowRef as te, watch as ut, getCurrentScope as ee, onScopeDispose as ne, shallowReadonly as q, unref as A, defineComponent as oe, onBeforeUnmount as ie, createElementBlock as Rt, openBlock as At, normalizeClass as dt, createVNode as Ot, createCommentVNode as re, withCtx as Et, createTextVNode as le, toDisplayString as se, normalizeStyle as ce, renderSlot as ae } from "vue";
4
- import { _ as fe } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js";
5
- import { _ as ue } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-CAjsSjd9.js";
4
+ import { _ as fe } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js";
5
+ import { _ as ue } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-B7_6uqSs.js";
6
6
  import { b as de, i as mt } from "../../../chunks/helper--hRjZVm6.js";
7
7
  import { useDropdown as me } from "../../../composables/useDropdown.js";
8
8
  import { useEsc as he } from "../../../composables/useEsc.js";
@@ -119,7 +119,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
119
119
  title: string;
120
120
  color: CLColors;
121
121
  variant: CLColorVariants;
122
- borderRadius: CLBorderRadius;
123
122
  rounded: boolean;
124
123
  testId: string;
125
124
  type: import('../../../types').CLButtonTypes;
@@ -134,6 +133,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
134
133
  alignContent: import('../../../types').CLAlign;
135
134
  ariaLabel: string;
136
135
  as: import('../../../types').CLButtonTags;
136
+ borderRadius: CLBorderRadius;
137
137
  busy: boolean;
138
138
  disabled: boolean;
139
139
  elevated: boolean;
@@ -168,7 +168,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
168
168
  title: string;
169
169
  color: CLColors;
170
170
  variant: CLColorVariants;
171
- borderRadius: CLBorderRadius;
172
171
  rounded: boolean;
173
172
  testId: string;
174
173
  type: import('../../../types').CLButtonTypes;
@@ -183,6 +182,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
183
182
  alignContent: import('../../../types').CLAlign;
184
183
  ariaLabel: string;
185
184
  as: import('../../../types').CLButtonTags;
185
+ borderRadius: CLBorderRadius;
186
186
  busy: boolean;
187
187
  disabled: boolean;
188
188
  elevated: boolean;
@@ -193,7 +193,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
193
193
  iconSize: CLIconSizes;
194
194
  pill: boolean;
195
195
  wrap: boolean;
196
- }> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "title" | "color" | "variant" | "borderRadius" | "rounded" | "testId" | "type" | "form" | "onClick" | "target" | "width" | "height" | "size" | "href" | "active" | "alignContent" | "ariaLabel" | "as" | "busy" | "disabled" | "elevated" | "forwardRef" | "iconAfter" | "iconBefore" | "iconAfterSize" | "iconSize" | "pill" | "wrap"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
196
+ }> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "title" | "color" | "variant" | "rounded" | "testId" | "type" | "form" | "onClick" | "target" | "width" | "height" | "size" | "href" | "active" | "alignContent" | "ariaLabel" | "as" | "borderRadius" | "busy" | "disabled" | "elevated" | "forwardRef" | "iconAfter" | "iconBefore" | "iconAfterSize" | "iconSize" | "pill" | "wrap"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
197
197
  $slots: {
198
198
  default?(_: {}): any;
199
199
  };
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLToast.css';
3
- import { _ as s } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js";
3
+ import { _ as s } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-BNlgk9Fz.js";
4
4
  export {
5
5
  s as CLToast,
6
6
  s as default
@@ -9,6 +9,6 @@ export declare const toastTheme: ({ color, variant }: ThemeProps) => {
9
9
  '--clll-toast-icon-bg': string;
10
10
  '--clll-toast-icon-color': string;
11
11
  '--clll-toast-timer-bg': string;
12
- '--clll-toast-theme-radius': string | undefined;
12
+ '--clll-toast-theme-radius': string;
13
13
  };
14
14
  export {};
@@ -1,40 +1,40 @@
1
1
  import '../../../assets/core.css';
2
- import { defineComponent as i, watch as o, createBlock as n, openBlock as r, resolveDynamicComponent as s, normalizeStyle as m, unref as l, withCtx as f, renderSlot as d } from "vue";
3
- import { s as c, a as h, b as C, c as u, d as g, D as p } from "../../../chunks/base-theme-Bg6XMoeN.js";
2
+ import { defineComponent as i, watch as a, createBlock as l, openBlock as r, resolveDynamicComponent as n, normalizeStyle as s, unref as m, withCtx as d, renderSlot as f } from "vue";
3
+ import { s as c, a as h, b as u, c as C, d as g, D as y } from "../../../chunks/base-theme-Bg6XMoeN.js";
4
4
  const T = /* @__PURE__ */ i({
5
5
  __name: "CLThemeProvider",
6
6
  props: {
7
7
  tag: { default: "div" },
8
8
  themeConfig: {}
9
9
  },
10
- setup(a) {
11
- const t = a;
12
- return c(t.themeConfig), o(
13
- () => t.themeConfig?.borderRadius,
10
+ setup(t) {
11
+ const o = t;
12
+ return c(o.themeConfig), a(
13
+ () => o.themeConfig?.borderRadius,
14
14
  (e) => {
15
15
  h(e);
16
16
  }
17
- ), o(
18
- () => t.themeConfig?.colors,
17
+ ), a(
18
+ () => o.themeConfig?.colors,
19
19
  (e) => {
20
- e && C(e);
20
+ e && u(e);
21
21
  }
22
- ), o(
23
- () => t.themeConfig?.darkMode,
22
+ ), a(
23
+ () => o.themeConfig?.darkMode,
24
24
  (e) => {
25
- e !== void 0 && u(e);
25
+ e !== void 0 && C(e);
26
26
  }
27
- ), o(
28
- () => t.themeConfig?.fontFamily,
27
+ ), a(
28
+ () => o.themeConfig?.fontFamily,
29
29
  (e) => {
30
30
  g(e);
31
31
  }
32
- ), (e, y) => (r(), n(s(a.tag), {
32
+ ), (e, v) => (r(), l(n(t.tag), {
33
33
  class: "clll-theme-provider",
34
- style: m({ "--clll-font-family": a.themeConfig?.fontFamily || l(p).fontFamily })
34
+ style: s({ "--clll-font-family": t.themeConfig?.fontFamily || m(y).fontFamily, "--clll-default-radius": t.themeConfig?.borderRadius ? `var(--clll-${t.themeConfig.borderRadius})` : void 0 })
35
35
  }, {
36
- default: f(() => [
37
- d(e.$slots, "default")
36
+ default: d(() => [
37
+ f(e.$slots, "default")
38
38
  ]),
39
39
  _: 3
40
40
  }, 8, ["style"]));
@@ -42,6 +42,6 @@ const T = /* @__PURE__ */ i({
42
42
  });
43
43
  export {
44
44
  T as CLThemeProvider,
45
- p as DEFAULT_THEME,
45
+ y as DEFAULT_THEME,
46
46
  T as default
47
47
  };
@@ -1,6 +1,6 @@
1
1
  import '../../../assets/core.css';
2
2
  import { defineComponent as L, ref as i, provide as g, createElementBlock as k, openBlock as p, createBlock as z, createCommentVNode as B, renderSlot as S, unref as A } from "vue";
3
- import { _ as $ } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js";
3
+ import { _ as $ } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-BNlgk9Fz.js";
4
4
  const x = { class: "clll-toast-provider" }, N = /* @__PURE__ */ L({
5
5
  name: "CLToastProvider",
6
6
  __name: "CLToastProvider",
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "ui components",
18
18
  "vuejs"
19
19
  ],
20
- "version": "3.16.7",
20
+ "version": "3.16.8",
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "scripts": {