@codeandfunction/callaloo 3.16.0 → 3.16.1

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 (58) hide show
  1. package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-COGwQtRU.js → CLA11yButton.vue_vue_type_style_index_0_lang-Cdx5rsou.js} +1 -1
  2. package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CqgySW52.js → CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js} +3 -3
  3. package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-DSvubJfG.js → CLCard.vue_vue_type_style_index_0_lang-DVuAcV5A.js} +5 -5
  4. package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-ORvye4vi.js → CLFormLabel.vue_vue_type_script_setup_true_lang-fddy-FWI.js} +1 -1
  5. package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-CbHdHW2E.js → CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js} +1 -1
  6. package/dist/chunks/{CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js → CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js} +4 -4
  7. package/dist/chunks/{CLInputMessages.vue_vue_type_style_index_0_lang-xm2qDJGJ.js → CLInputMessages.vue_vue_type_style_index_0_lang-RMOT1TQk.js} +11 -12
  8. package/dist/chunks/{CLLink.vue_vue_type_style_index_0_lang-D7BqWIqs.js → CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js} +11 -12
  9. package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-Dp3SsIfq.js → CLNavLink.vue_vue_type_script_setup_true_lang-Ckz9MEj5.js} +1 -1
  10. package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-BXGTb6A6.js → CLPill.vue_vue_type_style_index_0_lang-mkIKVHjg.js} +3 -3
  11. package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-5-cwF-oh.js → CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js} +2 -2
  12. package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang-D7_swcoA.js → CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js} +1 -1
  13. package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-CLccujHE.js → CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js} +1 -1
  14. package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js → CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js} +1 -1
  15. package/dist/chunks/{CLToast.vue_vue_type_style_index_0_lang-BIiSNSlg.js → CLToast.vue_vue_type_style_index_0_lang-DOI4DZGg.js} +12 -12
  16. package/dist/chunks/{base-theme-B89pbWnC.js → base-theme-C9_Hz5HW.js} +250 -259
  17. package/dist/chunks/{useEsc-BGAp0d_1.js → useEsc-C9QIDZ_8.js} +1 -1
  18. package/dist/chunks/useTheme-yoEfuNvB.js +417 -0
  19. package/dist/chunks/{utils-DaKwZixu.js → utils-C7Yjsqk-.js} +9 -10
  20. package/dist/chunks/{utils-D2P_fCSp.js → utils-DFnkOeYP.js} +25 -26
  21. package/dist/chunks/utils-DTWXs4YX.js +14 -0
  22. package/dist/chunks/{utils-CFL9veAf.js → utils-D_WP3vZz.js} +12 -13
  23. package/dist/chunks/utils-Da9LXXQ0.js +28 -0
  24. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
  25. package/dist/components/Buttons/CLButton/CLButton.js +1 -1
  26. package/dist/components/CLIcon/CLIcon.js +1 -1
  27. package/dist/components/CLTable/CLTable.js +7 -8
  28. package/dist/components/Containers/CLCard/CLCard.js +1 -1
  29. package/dist/components/Containers/CLCarousel/CLCarousel.js +3 -3
  30. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +6 -6
  31. package/dist/components/Form/CLCheckbox/CLCheckbox.js +3 -3
  32. package/dist/components/Form/CLInput/CLInput.js +5 -5
  33. package/dist/components/Form/CLRadioButton/CLRadioButton.js +2 -2
  34. package/dist/components/Form/CLSelect/CLSelect.js +3 -3
  35. package/dist/components/Form/CLTextArea/CLTextArea.js +2 -2
  36. package/dist/components/Indicators/CLBadge/CLBadge.js +1 -1
  37. package/dist/components/Indicators/CLBanner/CLBanner.js +6 -6
  38. package/dist/components/Indicators/CLPill/CLPill.js +1 -1
  39. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
  40. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
  41. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
  42. package/dist/components/Modals/CLModal/CLModal.js +7 -7
  43. package/dist/components/Navigation/CLLink/CLLink.js +1 -1
  44. package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -1
  45. package/dist/components/Navigation/CLNavSection/CLNavSection.js +2 -2
  46. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +4 -4
  47. package/dist/components/Popups/CLToast/CLToast.js +1 -1
  48. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +10 -8
  49. package/dist/components/Providers/CLThemeProvider/base-theme.d.ts +0 -26
  50. package/dist/components/Providers/CLThemeProvider/index.d.ts +2 -0
  51. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
  52. package/dist/components/Typography/CLHeading/CLHeading.js +1 -1
  53. package/dist/components/Typography/CLText/CLText.js +1 -1
  54. package/dist/composables/useTheme.d.ts +26 -0
  55. package/package.json +4 -1
  56. package/dist/chunks/utils-DYzsHCvl.js +0 -15
  57. package/dist/chunks/utils-Dg9e9uLW.js +0 -29
  58. package/dist/chunks/utils-Dz_31dEE.js +0 -387
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, ref as p, computed as y, createElementBlock as k, openBlock as C, withKeys as B, normalizeClass as E, unref as s, renderSlot as x } from "vue";
2
2
  import { CLColors as A } from "../index.js";
3
- import { a as _ } from "./utils-Dg9e9uLW.js";
3
+ import { a as _ } from "./utils-Da9LXXQ0.js";
4
4
  const g = ["data-testid", "tabindex"], w = /* @__PURE__ */ b({
5
5
  name: "CLA11yButton",
6
6
  __name: "CLA11yButton",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as C, useSlots as h, ref as S, computed as z, onMounted as B, nextTick as g, createBlock as n, openBlock as i, resolveDynamicComponent as L, normalizeStyle as k, normalizeClass as s, unref as l, withCtx as w, createCommentVNode as d, createElementBlock as A, renderSlot as R } from "vue";
2
- import { _ as c } from "./CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js";
3
- import { _ as T } from "./CLSpinner.vue_vue_type_style_index_0_lang-CLccujHE.js";
2
+ import { _ as c } from "./CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js";
3
+ import { _ as T } from "./CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js";
4
4
  import { CLColorVariants as I, CLButtonTypes as x, CLLinkTarget as M, CLSizes as o, CLIconSizes as m, CLColors as F, CLAlign as b, CLPosition as N } from "../index.js";
5
- import { b as V } from "./utils-Dg9e9uLW.js";
5
+ import { b as V } from "./utils-Da9LXXQ0.js";
6
6
  import { u as D } from "./useHasSlotContent-DDqs5uK9.js";
7
7
  const J = /* @__PURE__ */ C({
8
8
  name: "CLButton",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as W, useCssVars as I, useSlots as D, ref as v, computed as F, onMounted as K, nextTick as M, createElementBlock as r, openBlock as n, withKeys as q, normalizeClass as d, unref as l, createCommentVNode as o, createElementVNode as u, withDirectives as S, createVNode as z, vShow as x, createBlock as c, renderSlot as s, Fragment as G, withCtx as y, createTextVNode as k, toDisplayString as b } from "vue";
2
- import { _ as A } from "./CLHeading.vue_vue_type_style_index_0_lang-CbHdHW2E.js";
3
- import { _ as j } from "./CLLink.vue_vue_type_style_index_0_lang-D7BqWIqs.js";
4
- import { _ as m } from "./CLSkeleton.vue_vue_type_style_index_0_lang-D7_swcoA.js";
5
- import { _ as J } from "./CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js";
2
+ import { _ as A } from "./CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js";
3
+ import { _ as j } from "./CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js";
4
+ import { _ as m } from "./CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js";
5
+ import { _ as J } from "./CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js";
6
6
  import { CLColorVariants as E, CLCardTypes as P, CLHeadingTypes as Q, CLHeadingLevels as U, CLLinkTarget as X, CLOverflow as Y, CLLoading as Z, CLColors as p, CLAlign as _, CLOrder as O, CLTextTypes as ee } from "../index.js";
7
- import { c as ae } from "./utils-CFL9veAf.js";
7
+ import { c as ae } from "./utils-D_WP3vZz.js";
8
8
  import { u as te } from "./useHasSlotContent-DDqs5uK9.js";
9
9
  const le = ["data-testid", "tabindex"], ie = ["alt", "loading", "src"], ne = ["alt", "loading", "src"], de = ["aria-label", "href", "target"], ye = /* @__PURE__ */ W({
10
10
  name: "CLCard",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, createElementBlock as i, openBlock as o, normalizeClass as a, createVNode as m, unref as d, withCtx as n, createTextVNode as c, toDisplayString as f } from "vue";
2
- import { _ as u } from "./CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js";
2
+ import { _ as u } from "./CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js";
3
3
  import { CLSizes as l, CLTextTypes as t } from "../index.js";
4
4
  const b = ["for", "data-testid"], h = /* @__PURE__ */ r({
5
5
  name: "CLFormLabel",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, computed as r, createBlock as u, openBlock as f, resolveDynamicComponent as p, unref as o, normalizeClass as m, withCtx as g, renderSlot as C } from "vue";
2
2
  import { CLHeadingTypes as l, CLColors as $, CLAlign as L, CLHeadingLevels as n } from "../index.js";
3
- import { t as h } from "./utils-DYzsHCvl.js";
3
+ import { t as h } from "./utils-DTWXs4YX.js";
4
4
  const T = /* @__PURE__ */ i({
5
5
  name: "CLHeading",
6
6
  __name: "CLHeading",
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as p, useCssVars as y, computed as v, onMounted as X, createElementBlock as a, openBlock as m, normalizeClass as u, unref as w, createElementVNode as B } from "vue";
2
2
  import { CLMode as f, CLColors as h, CLColorVariants as I, CLIconSizes as e } from "../index.js";
3
- import { g as x, a as z, c as S } from "./utils-Dz_31dEE.js";
4
- import { u as M, i as $ } from "./base-theme-B89pbWnC.js";
3
+ import { u as x, g as z, a as S, c as M } from "./useTheme-yoEfuNvB.js";
4
+ import { i as $ } from "./base-theme-C9_Hz5HW.js";
5
5
  const b = ({ color: o = h.Neutral }) => {
6
- const { colors: i, darkMode: t } = M(), s = t.value ? f.Light : f.Dark, l = x({
6
+ const { colors: i, darkMode: t } = x(), s = t.value ? f.Light : f.Dark, l = z({
7
7
  color: o,
8
8
  colors: i.value,
9
9
  mode: s,
10
10
  variant: I.Text
11
11
  });
12
- return z(S`color: ${l?.textBody};`);
12
+ return S(M`color: ${l?.textBody};`);
13
13
  }, E = ["data-testid"], N = ["height", "width"], T = ["href"], O = /* @__PURE__ */ p({
14
14
  name: "CLIcon",
15
15
  __name: "CLIcon",
@@ -1,8 +1,7 @@
1
1
  import { defineComponent as G, createElementBlock as W, openBlock as R, normalizeClass as O, unref as E, renderSlot as N, Fragment as A, renderList as H, createElementVNode as I, toDisplayString as j } from "vue";
2
2
  import { CLOrientation as J, CLMode as x, CLColorVariants as n, CLColors as K } from "../index.js";
3
- import { u as L } from "./base-theme-B89pbWnC.js";
4
- import { g as w, c as r, b as q, f as M, a as S } from "./utils-Dz_31dEE.js";
5
- const B = "clll-form-field", m = /* @__PURE__ */ G({
3
+ import { u as L, g as w, c as r, b as q, f as M, a as S } from "./useTheme-yoEfuNvB.js";
4
+ const B = "clll-form-field", Z = /* @__PURE__ */ G({
6
5
  __name: "CLFormField",
7
6
  props: {
8
7
  fluid: { type: Boolean },
@@ -23,7 +22,7 @@ const B = "clll-form-field", m = /* @__PURE__ */ G({
23
22
  N(l.$slots, "default")
24
23
  ], 2));
25
24
  }
26
- }), ll = ({
25
+ }), m = ({
27
26
  color: e,
28
27
  component: l,
29
28
  disabled: s,
@@ -44,7 +43,7 @@ const B = "clll-form-field", m = /* @__PURE__ */ G({
44
43
  c.value && (o = r`&:not([class*='clll-${l}--rounded-']){&.clll-${l}.clll-${l}--rounded .clll-${l}__${l}{border-radius:var(--clll-${c.value});}&.clll-${l}.clll-${l}--rounded{.clll-radiobutton__indicator{border-radius:var(--clll-${c.value});}}}`), s && (p = r`.clll-${l}__${l}-container{.clll-${l}__label{cursor:not-allowed;.clll-${l}__${l}{&:disabled{&:checked{background-color:${u};}}}}}&.clll-${l}--disabled{.clll-${l}__label{.clll-${l}__${l}-frame{.clll-${l}__icon{color:${v};}.clll-radiobutton__indicator{background-color:${v};}}}`);
45
44
  const T = r`&.clll-${l}--haslabel{.clll-${l}__label{.clll-text{&.clll-${l}__label--required::after{${z()}}}}}.clll-${l}__${l}-container{.clll-${l}__label{.clll-${l}__${l}-frame{.clll-${l}__icon{color:${k};}.clll-radiobutton__indicator{background-color:${k};}.clll-${l}__${l}{${M({ borderColor: $, shadowColor: C, outlineWidth: _, outlineColor: g, shadowWidth: "--clll-unit-0" })}&:checked{background-color:${t};${s ? M({ borderColor: y, shadowColor: C, outlineWidth: _, outlineColor: g, shadowWidth: "--clll-unit-0" }) : ""}}}}}}.clll-${l}__${l}{${q({ backgroundColor: t, borderColor: $ })}}`;
46
45
  return S(T, o, p, D);
47
- }, el = ({
46
+ }, ll = ({
48
47
  color: e,
49
48
  component: l,
50
49
  disabled: s,
@@ -74,7 +73,7 @@ const B = "clll-form-field", m = /* @__PURE__ */ G({
74
73
  variant: n.Outline
75
74
  });
76
75
  return S(r`&.clll-input__message--${e}{color:${c?.textBody};}`);
77
- }, ol = ({ color: e, disabled: l, variant: s }) => {
76
+ }, el = ({ color: e, disabled: l, variant: s }) => {
78
77
  const { borderRadius: a, colors: c, darkMode: b } = L(), f = b.value ? x.Dark : x.Light, h = w({
79
78
  color: e,
80
79
  colors: c.value,
@@ -94,7 +93,7 @@ const B = "clll-form-field", m = /* @__PURE__ */ G({
94
93
  }, z = () => {
95
94
  const { colors: e, darkMode: l } = L();
96
95
  return `position:relative;top:var(--clll-unit-1);content:'*';font-size:var(--clll-unit-4_5);font-weight:500;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;color:${l.value ? e.value.danger?.["400"] : e.value.danger?.["700"]};text-decoration:unset;margin-inline-start:var(--clll-unit-0_5);box-sizing:content-box;line-height:0;`;
97
- }, P = "clll-input__message", rl = /* @__PURE__ */ G({
96
+ }, P = "clll-input__message", ol = /* @__PURE__ */ G({
98
97
  __name: "CLInputMessages",
99
98
  props: {
100
99
  id: {},
@@ -113,9 +112,9 @@ const B = "clll-form-field", m = /* @__PURE__ */ G({
113
112
  }
114
113
  });
115
114
  export {
116
- m as _,
117
- rl as a,
118
- ll as c,
119
- el as i,
120
- ol as s
115
+ Z as _,
116
+ ol as a,
117
+ m as c,
118
+ ll as i,
119
+ el as s
121
120
  };
@@ -1,25 +1,24 @@
1
1
  import { defineComponent as x, computed as C, createElementBlock as k, openBlock as d, normalizeClass as b, unref as l, renderSlot as L, createBlock as $, createCommentVNode as g } from "vue";
2
- import { _ as h } from "./CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js";
3
- import { CLMode as u, CLColors as m, CLColorVariants as v, CLLinkTarget as y, CLIconSizes as B, CLIconNames as p } from "../index.js";
4
- import { g as w, a as z, f as I, c as T } from "./utils-Dz_31dEE.js";
5
- import { u as D } from "./base-theme-B89pbWnC.js";
2
+ import { _ as h } from "./CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js";
3
+ import { CLMode as u, CLColors as f, CLColorVariants as v, CLLinkTarget as y, CLIconSizes as B, CLIconNames as w } from "../index.js";
4
+ import { u as z, g as I, a as T, f as p, c as D } from "./useTheme-yoEfuNvB.js";
6
5
  const H = ({
7
- color: e = m.Primary,
6
+ color: e = f.Primary,
8
7
  underline: o = !0
9
8
  }) => {
10
- const { colors: r, darkMode: n } = D(), a = n.value ? u.Dark : u.Light, t = w({
9
+ const { colors: r, darkMode: n } = z(), a = n.value ? u.Dark : u.Light, t = I({
11
10
  color: e,
12
11
  colors: r.value,
13
12
  mode: a,
14
13
  variant: v.Outline
15
- }), i = t?.border, f = t?.textDisabled, c = t?.textBody, s = n.value ? t?.borderHover : t?.textDisabled;
16
- return z(T`text-decoration-line:underline;text-decoration-color:${o ? i : "transparent"};display:inline-flex;align-items:center;transition: color 200ms linear, text-decoration-color 200ms linear;color:${c};font-weight:500;background-color:transparent;padding:0;border:0;.clll-text{color:${c};}&:hover{text-decoration-color:${o ? f : "transparent"};background-color:transparent;color:${s};.clll-text{color:${s};}}${I({ borderColor: c ?? "transparent", shadowColor: t?.shadow ?? "transparent", outlineOffset: "2px", shadowWidth: "--clll-unit-0" })}`);
17
- }, S = ["aria-label", "data-testid", "href", "rel", "target"], P = /* @__PURE__ */ x({
14
+ }), i = t?.border, m = t?.textDisabled, c = t?.textBody, s = n.value ? t?.borderHover : t?.textDisabled;
15
+ return T(D`text-decoration-line:underline;text-decoration-color:${o ? i : "transparent"};display:inline-flex;align-items:center;transition: color 200ms linear, text-decoration-color 200ms linear;color:${c};font-weight:500;background-color:transparent;padding:0;border:0;.clll-text{color:${c};}&:hover{text-decoration-color:${o ? m : "transparent"};background-color:transparent;color:${s};.clll-text{color:${s};}}${p({ borderColor: c ?? "transparent", shadowColor: t?.shadow ?? "transparent", outlineOffset: "2px", shadowWidth: "--clll-unit-0" })}`);
16
+ }, S = ["aria-label", "data-testid", "href", "rel", "target"], O = /* @__PURE__ */ x({
18
17
  name: "CLLink",
19
18
  __name: "CLLink",
20
19
  props: {
21
20
  ariaLabel: {},
22
- color: { default: m.Primary },
21
+ color: { default: f.Primary },
23
22
  external: { type: Boolean, default: !1 },
24
23
  href: {},
25
24
  onClick: {},
@@ -49,12 +48,12 @@ const H = ({
49
48
  e.external ? (d(), $(l(h), {
50
49
  key: 0,
51
50
  color: e.color,
52
- name: l(p).ExternalLink,
51
+ name: l(w).ExternalLink,
53
52
  size: l(B).Tiny
54
53
  }, null, 8, ["color", "name", "size"])) : g("", !0)
55
54
  ], 10, S));
56
55
  }
57
56
  });
58
57
  export {
59
- P as _
58
+ O as _
60
59
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, createBlock as o, openBlock as c, unref as d, withCtx as f, renderSlot as m } from "vue";
2
- import { _ as u } from "./CLLink.vue_vue_type_style_index_0_lang-D7BqWIqs.js";
2
+ import { _ as u } from "./CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js";
3
3
  import { CLColors as k } from "../index.js";
4
4
  const x = /* @__PURE__ */ i({
5
5
  name: "CLNavLink",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as v, computed as d, createElementBlock as i, openBlock as t, Fragment as y, createCommentVNode as o, createBlock as u, normalizeClass as c, unref as a, createElementVNode as s, toDisplayString as r, withCtx as h } from "vue";
2
- import { _ as b } from "./CLButton.vue_vue_type_style_index_0_lang-CqgySW52.js";
3
- import { _ as m } from "./CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js";
2
+ import { _ as b } from "./CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js";
3
+ import { _ as m } from "./CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js";
4
4
  import { CLColorVariants as z, CLColors as B, CLIconSizes as $ } from "../index.js";
5
- import { p as f } from "./utils-D2P_fCSp.js";
5
+ import { p as f } from "./utils-DFnkOeYP.js";
6
6
  const L = ["data-testid"], E = /* @__PURE__ */ v({
7
7
  name: "CLPill",
8
8
  __name: "CLPill",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as p, mergeModels as _, useCssVars as $, useModel as C, computed as d, createElementBlock as n, openBlock as c, normalizeClass as s, unref as t, createCommentVNode as v, createElementVNode as a, createVNode as y, withCtx as g, createTextVNode as V, toDisplayString as x } from "vue";
2
- import { _ as N } from "./CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js";
2
+ import { _ as N } from "./CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js";
3
3
  import { CLTextTypes as B, CLColors as u, CLSizes as L } from "../index.js";
4
- import { a as b } from "./utils-D2P_fCSp.js";
4
+ import { a as b } from "./utils-DFnkOeYP.js";
5
5
  const h = ["data-testid"], S = /* @__PURE__ */ p({
6
6
  name: "CLProgress",
7
7
  __name: "CLProgress",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, useCssVars as r, computed as i, createElementBlock as u, openBlock as c, normalizeClass as m, unref as n, createElementVNode as f } from "vue";
2
- import { s as p } from "./utils-DaKwZixu.js";
2
+ import { s as p } from "./utils-C7Yjsqk-.js";
3
3
  const k = ["data-testid"], _ = /* @__PURE__ */ a({
4
4
  name: "CLSkeleton",
5
5
  __name: "CLSkeleton",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, computed as n, createElementBlock as r, openBlock as i, normalizeClass as c, unref as l, createElementVNode as a } from "vue";
2
2
  import { CLSizes as u, CLPosition as f, CLColors as C, CLAlign as $ } from "../index.js";
3
- import { a as z } from "./utils-DaKwZixu.js";
3
+ import { a as z } from "./utils-C7Yjsqk-.js";
4
4
  const L = ["data-testid"], h = /* @__PURE__ */ m({
5
5
  name: "CLSpinner",
6
6
  __name: "CLSpinner",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, computed as n, createBlock as r, openBlock as f, resolveDynamicComponent as c, normalizeClass as u, unref as o, withCtx as m, renderSlot as i } from "vue";
2
2
  import { CLTextTypes as p, CLColors as $, CLAlign as y } from "../index.js";
3
- import { t as C } from "./utils-DYzsHCvl.js";
3
+ import { t as C } from "./utils-DTWXs4YX.js";
4
4
  const h = /* @__PURE__ */ s({
5
5
  name: "CLText",
6
6
  __name: "CLText",
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as U, useCssVars as F, ref as b, computed as P, watch as X, onMounted as Z, onUnmounted as j, onBeforeUnmount as q, createElementBlock as k, openBlock as u, normalizeStyle as G, normalizeClass as c, unref as a, createElementVNode as g, createBlock as x, createCommentVNode as $, createVNode as L, withCtx as z, createTextVNode as S, toDisplayString as _, isRef as J } from "vue";
2
- import { _ as M } from "./CLButton.vue_vue_type_style_index_0_lang-CqgySW52.js";
3
- import { _ as K } from "./CLIcon.vue_vue_type_style_index_0_lang-zZ4zGuBt.js";
4
- import { _ as O } from "./CLProgress.vue_vue_type_style_index_0_lang-5-cwF-oh.js";
5
- import { _ as Q } from "./CLText.vue_vue_type_style_index_0_lang-CTc6UiQV.js";
6
- import { _ as W } from "./CLHeading.vue_vue_type_style_index_0_lang-CbHdHW2E.js";
2
+ import { _ as M } from "./CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js";
3
+ import { _ as K } from "./CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js";
4
+ import { _ as O } from "./CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js";
5
+ import { _ as Q } from "./CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js";
6
+ import { _ as W } from "./CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js";
7
7
  import { CLMode as R, CLColorVariants as N, CLToastPosition as Y, CLIconSizes as B, CLColors as C, CLHeadingTypes as p, CLTextTypes as I, CLSizes as w, CLIconNames as ee } from "../index.js";
8
- import { u as te, i as A, g as oe, e as ae } from "./base-theme-B89pbWnC.js";
9
- import { u as se } from "./useEsc-BGAp0d_1.js";
10
- import { g as ie, c as E, a as le } from "./utils-Dz_31dEE.js";
8
+ import { i as A, g as te, e as oe } from "./base-theme-C9_Hz5HW.js";
9
+ import { u as ae } from "./useEsc-C9QIDZ_8.js";
10
+ import { u as se, g as ie, c as E, a as le } from "./useTheme-yoEfuNvB.js";
11
11
  const ne = ({ color: e, variant: t }) => {
12
- const { borderRadius: y, colors: d, darkMode: n } = te(), s = n.value ? R.Dark : R.Light, r = ie({
12
+ const { borderRadius: y, colors: d, darkMode: n } = se(), s = n.value ? R.Dark : R.Light, r = ie({
13
13
  color: e,
14
14
  colors: d.value,
15
15
  mode: s,
@@ -64,7 +64,7 @@ const ne = ({ color: e, variant: t }) => {
64
64
  d.value = 100 - h / l * 100, h === l && m();
65
65
  });
66
66
  }, D = () => {
67
- s.value || (s.value = ae(), s.value.start(100, (i) => {
67
+ s.value || (s.value = oe(), s.value.start(100, (i) => {
68
68
  Math.min(i, 100) === 100 && (s.value?.stop(), n.value = !0, t?.dismissTimer && s.value?.start(f, (v) => {
69
69
  Math.min(v, f) === f && (s.value?.stop(), H());
70
70
  }));
@@ -73,11 +73,11 @@ const ne = ({ color: e, variant: t }) => {
73
73
  X(t, () => {
74
74
  s.value && (s.value.stop(), s.value = void 0), t?.dismissTimer && D();
75
75
  }), Z(() => {
76
- A && (r.value = oe() + 1, D());
76
+ A && (r.value = te() + 1, D());
77
77
  }), j(() => {
78
78
  A && t?.dismissTimer && s.value && (s.value.stop(), s.value = void 0), n.value = !1, t.onDismiss?.();
79
79
  });
80
- const { clearEventListeners: V } = se({ escHandler: m });
80
+ const { clearEventListeners: V } = ae({ escHandler: m });
81
81
  return q(() => {
82
82
  V();
83
83
  }), (i, l) => (u(), k("output", {