@codeandfunction/callaloo 3.16.7 → 3.16.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.
Files changed (69) 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} +2 -2
  2. package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js → CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js} +3 -3
  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} +3 -3
  4. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +1 -1
  5. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js +1 -1
  6. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-R0Nhlutc.js +1 -1
  7. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js +148 -0
  8. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-DCwTmOOz.js +1 -1
  9. package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-B1MuCUnW.js → CLPill.vue_vue_type_style_index_0_lang-BsGpHn52.js} +3 -3
  10. package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-DVJDbuDr.js → CLProgress.vue_vue_type_style_index_0_lang-Cqdkf70C.js} +2 -2
  11. package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js → CLSkeleton.vue_vue_type_style_index_0_lang-DT23xe5d.js} +2 -2
  12. package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js → CLSpinner.vue_vue_type_style_index_0_lang-DU0dl3yu.js} +2 -2
  13. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js +1 -1
  14. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-BNlgk9Fz.js +182 -0
  15. package/dist/chunks/utils-B_-25pfO.js +85 -0
  16. package/dist/chunks/utils-BipQQo6V.js +41 -0
  17. package/dist/chunks/utils-DmkkE-9U.js +24 -0
  18. package/dist/chunks/utils-DxdFsNHx.js +37 -0
  19. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
  20. package/dist/components/Buttons/CLButton/CLButton.css +1 -1
  21. package/dist/components/Buttons/CLButton/CLButton.js +1 -1
  22. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
  23. package/dist/components/Buttons/utils.d.ts +2 -2
  24. package/dist/components/CLTable/CLTable.js +58 -58
  25. package/dist/components/CLTable/utils.d.ts +1 -1
  26. package/dist/components/Containers/CLCard/CLCard.css +1 -1
  27. package/dist/components/Containers/CLCard/CLCard.js +1 -1
  28. package/dist/components/Containers/CLCarousel/CLCarousel.js +2 -2
  29. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
  30. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +23 -23
  31. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +0 -1
  32. package/dist/components/Containers/utils.d.ts +2 -2
  33. package/dist/components/Form/CLCheckbox/CLCheckbox.js +25 -25
  34. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +1 -1
  35. package/dist/components/Form/CLInput/CLInput.css +1 -1
  36. package/dist/components/Form/CLInput/CLInput.js +50 -50
  37. package/dist/components/Form/CLInput/CLInput.vue.d.ts +2 -2
  38. package/dist/components/Form/CLInput/CLInputPrefix.vue.d.ts +1 -1
  39. package/dist/components/Form/CLInput/CLInputSuffix.vue.d.ts +1 -1
  40. package/dist/components/Form/CLRadioButton/CLRadioButton.js +21 -21
  41. package/dist/components/Form/CLSelect/CLSelect.js +18 -18
  42. package/dist/components/Form/CLTextArea/CLTextArea.js +13 -13
  43. package/dist/components/Form/utils.d.ts +6 -6
  44. package/dist/components/Indicators/CLBadge/CLBadge.js +2 -2
  45. package/dist/components/Indicators/CLBanner/CLBanner.js +5 -5
  46. package/dist/components/Indicators/CLPill/CLPill.js +1 -1
  47. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
  48. package/dist/components/Indicators/utils.d.ts +3 -3
  49. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
  50. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
  51. package/dist/components/Loading/utils.d.ts +1 -1
  52. package/dist/components/Modals/CLModal/CLModal.js +38 -38
  53. package/dist/components/Modals/CLModal/CLModal.vue.d.ts +1 -1
  54. package/dist/components/Modals/utils.d.ts +1 -1
  55. package/dist/components/Navigation/CLNavSection/CLNavSection.js +1 -1
  56. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +3 -3
  57. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
  58. package/dist/components/Popups/CLToast/CLToast.js +1 -1
  59. package/dist/components/Popups/utils.d.ts +1 -1
  60. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +19 -19
  61. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
  62. package/dist/index.js +0 -1
  63. package/package.json +2 -1
  64. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +0 -153
  65. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js +0 -182
  66. package/dist/chunks/utils-CAV1sBee.js +0 -24
  67. package/dist/chunks/utils-Sqgt8Fa4.js +0 -85
  68. package/dist/chunks/utils-cOhtsyeB.js +0 -41
  69. package/dist/chunks/utils-zJwcNHl4.js +0 -37
@@ -1,11 +1,11 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLRadioButton.css';
3
3
  import '../../../assets/shared/form-utilities.css';
4
- import { defineComponent as k, mergeModels as x, useModel as T, useTemplateRef as h, computed as f, createBlock as m, openBlock as c, withCtx as y, createElementVNode as s, createCommentVNode as $, normalizeStyle as R, normalizeClass as d, unref as u, withDirectives as q, vModelRadio as S, createTextVNode as V, toDisplayString as z } from "vue";
5
- import { _ as M, c as F, a as N } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js";
4
+ import { defineComponent as k, mergeModels as x, useModel as T, useTemplateRef as h, computed as f, createBlock as m, openBlock as c, withCtx as $, createElementVNode as n, createCommentVNode as y, normalizeStyle as R, normalizeClass as d, unref as u, withDirectives as q, vModelRadio as S, createTextVNode as V, toDisplayString as z } from "vue";
5
+ import { _ as M, c as F, a as N } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js";
6
6
  import { _ as w } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js";
7
- import { CLSizes as n, CLTextTypes as i, CLColorVariants as D, CLColors as I } from "../../../index.js";
8
- const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "disabled", "name", "value", "required"], G = /* @__PURE__ */ k({
7
+ import { CLSizes as s, CLTextTypes as i, CLColorVariants as D, CLColors as I } from "../../../index.js";
8
+ import '../../../CLRadioButton.css';const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "disabled", "name", "value", "required"], G = /* @__PURE__ */ k({
9
9
  name: "CLRadioButton",
10
10
  __name: "CLRadioButton",
11
11
  props: /* @__PURE__ */ x({
@@ -23,7 +23,7 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
23
23
  name: {},
24
24
  required: { type: Boolean },
25
25
  rounded: { type: Boolean, default: !0 },
26
- size: { default: n.Small },
26
+ size: { default: s.Small },
27
27
  testId: { default: "clll-radiobutton" },
28
28
  value: { type: [String, Number, Boolean] },
29
29
  variant: { default: D.Outline },
@@ -37,11 +37,11 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
37
37
  emits: ["update:modelValue"],
38
38
  setup(e, { expose: C }) {
39
39
  const g = {
40
- [n.Tiny]: i.Small,
41
- [n.Small]: i.Medium,
42
- [n.Medium]: i.Medium,
43
- [n.Large]: i.Large,
44
- [n.XL]: i.XL
40
+ [s.Tiny]: i.Small,
41
+ [s.Small]: i.Medium,
42
+ [s.Medium]: i.Medium,
43
+ [s.Large]: i.Large,
44
+ [s.XL]: i.XL
45
45
  }, l = e, a = "clll-radiobutton", b = T(e, "modelValue"), r = h("radiobutton-ref"), v = () => {
46
46
  r.value && r.value.focus();
47
47
  }, B = f(() => [
@@ -62,24 +62,24 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
62
62
  return C({
63
63
  radiobuttonRef: r
64
64
  }), (O, t) => (c(), m(M, null, {
65
- default: y(() => [
66
- s("span", {
65
+ default: $(() => [
66
+ n("span", {
67
67
  class: d(u(B)),
68
- style: R(u(F)({ color: e.color, disabled: e.disabled || e.busy, variant: e.variant })),
68
+ style: R(u(F)({ color: e.color, variant: e.variant })),
69
69
  "data-testid": e.testId
70
70
  }, [
71
- s("span", {
71
+ n("span", {
72
72
  class: d(u(L)),
73
73
  onClick: v
74
74
  }, [
75
- s("label", {
75
+ n("label", {
76
76
  for: e.id,
77
77
  class: d(`${a}__label`)
78
78
  }, [
79
- s("span", {
79
+ n("span", {
80
80
  class: d([`${a}__radiobutton-frame`, "form-control-flex"])
81
81
  }, [
82
- q(s("input", {
82
+ q(n("input", {
83
83
  id: e.id,
84
84
  ref: "radiobutton-ref",
85
85
  "onUpdate:modelValue": t[0] || (t[0] = (o) => b.value = o),
@@ -100,7 +100,7 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
100
100
  }, null, 42, H), [
101
101
  [S, b.value]
102
102
  ]),
103
- s("span", {
103
+ n("span", {
104
104
  class: d(`${a}__indicator`)
105
105
  }, null, 2)
106
106
  ], 2),
@@ -110,11 +110,11 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
110
110
  type: g[e.size],
111
111
  class: d(e.required ? `${a}__label--required` : "")
112
112
  }, {
113
- default: y(() => [
113
+ default: $(() => [
114
114
  V(z(e.label), 1)
115
115
  ]),
116
116
  _: 1
117
- }, 8, ["type", "class"])) : $("", !0)
117
+ }, 8, ["type", "class"])) : y("", !0)
118
118
  ], 10, E)
119
119
  ], 2)
120
120
  ], 14, X),
@@ -123,7 +123,7 @@ const X = ["data-testid"], E = ["for"], H = ["id", "aria-label", "checked", "dis
123
123
  id: e.id,
124
124
  messages: e.messages,
125
125
  "message-type": e.messageType
126
- }, null, 8, ["id", "messages", "message-type"])) : $("", !0)
126
+ }, null, 8, ["id", "messages", "message-type"])) : y("", !0)
127
127
  ]),
128
128
  _: 1
129
129
  }));
@@ -1,12 +1,12 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLSelect.css';
3
3
  import '../../../assets/shared/form-utilities.css';
4
- import { defineComponent as B, mergeModels as S, useModel as h, useTemplateRef as q, computed as x, createBlock as f, openBlock as s, withCtx as T, createElementVNode as d, createCommentVNode as b, normalizeStyle as V, normalizeClass as r, unref as u, withDirectives as k, createElementBlock as $, Fragment as M, renderList as F, toDisplayString as I, vModelSelect as N, createVNode as R } from "vue";
5
- import { _ as D, s as w, a as E } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js";
4
+ import { defineComponent as B, mergeModels as S, useModel as h, useTemplateRef as q, computed as x, createBlock as f, openBlock as n, withCtx as T, createElementVNode as d, createCommentVNode as $, normalizeStyle as V, normalizeClass as r, unref as u, withDirectives as k, createElementBlock as b, Fragment as M, renderList as F, toDisplayString as I, vModelSelect as N, createVNode as R } from "vue";
5
+ import { _ as D, s as w, a as E } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js";
6
6
  import { _ as H } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js";
7
7
  import { _ as O } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-R0Nhlutc.js";
8
- import { CLSizes as n, CLIconSizes as o, CLOrientation as y, CLIconNames as P, CLColorVariants as U, CLColors as X } from "../../../index.js";
9
- const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], G = ["value", "selected", "disabled"], p = /* @__PURE__ */ B({
8
+ import { CLSizes as o, CLIconSizes as s, CLOrientation as y, CLIconNames as P, CLColorVariants as U, CLColors as X } from "../../../index.js";
9
+ import '../../../CLSelect.css';const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], G = ["value", "selected", "disabled"], p = /* @__PURE__ */ B({
10
10
  name: "CLSelect",
11
11
  __name: "CLSelect",
12
12
  props: /* @__PURE__ */ S({
@@ -30,7 +30,7 @@ const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeho
30
30
  placeholder: {},
31
31
  required: { type: Boolean },
32
32
  rounded: { type: Boolean, default: !0 },
33
- size: { default: n.Small },
33
+ size: { default: o.Small },
34
34
  testId: { default: "clll-select" },
35
35
  variant: { default: U.Outline }
36
36
  }, {
@@ -40,11 +40,11 @@ const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeho
40
40
  emits: ["update:modelValue"],
41
41
  setup(e, { expose: C }) {
42
42
  const g = {
43
- [n.Tiny]: o.Tiny,
44
- [n.Small]: o.Tiny,
45
- [n.Medium]: o.Small,
46
- [n.Large]: o.Medium,
47
- [n.XL]: o.Medium
43
+ [o.Tiny]: s.Tiny,
44
+ [o.Small]: s.Tiny,
45
+ [o.Medium]: s.Small,
46
+ [o.Large]: s.Medium,
47
+ [o.XL]: s.Medium
48
48
  }, a = e, l = "clll-select", m = h(e, "modelValue"), c = q("select-ref"), v = () => {
49
49
  c.value && c.value.focus();
50
50
  }, z = x(() => [
@@ -64,24 +64,24 @@ const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeho
64
64
  ]);
65
65
  return C({
66
66
  selectRef: c
67
- }), (J, i) => (s(), f(D, {
67
+ }), (J, i) => (n(), f(D, {
68
68
  fluid: e.fluid,
69
69
  orientation: e.orientation
70
70
  }, {
71
71
  default: T(() => [
72
72
  d("span", {
73
73
  class: r(u(z)),
74
- style: V(u(w)({ color: e.color, disabled: e.disabled || e.busy, variant: e.variant })),
74
+ style: V(u(w)({ color: e.color, variant: e.variant })),
75
75
  "data-testid": e.testId
76
76
  }, [
77
- e.label ? (s(), f(H, {
77
+ e.label ? (n(), f(H, {
78
78
  key: 0,
79
79
  "css-prefix": l,
80
80
  "html-for": e.id,
81
81
  label: e.label,
82
82
  required: e.required,
83
83
  size: e.size
84
- }, null, 8, ["html-for", "label", "required", "size"])) : b("", !0),
84
+ }, null, 8, ["html-for", "label", "required", "size"])) : $("", !0),
85
85
  d("span", {
86
86
  class: r(`${l}__select-container`),
87
87
  onClick: v
@@ -104,12 +104,12 @@ const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeho
104
104
  onFocus: i[3] || (i[3] = //@ts-ignore
105
105
  (...t) => e.onFocus && e.onFocus(...t))
106
106
  }, [
107
- e.options ? (s(!0), $(M, { key: 0 }, F(e.options, (t, L) => (s(), $("option", {
107
+ e.options ? (n(!0), b(M, { key: 0 }, F(e.options, (t, L) => (n(), b("option", {
108
108
  key: `${e.id}-option-${L}`,
109
109
  value: t.value,
110
110
  selected: t.value === m.value,
111
111
  disabled: t.disabled
112
- }, I(t.label), 9, G))), 128)) : b("", !0)
112
+ }, I(t.label), 9, G))), 128)) : $("", !0)
113
113
  ], 42, A), [
114
114
  [N, m.value]
115
115
  ]),
@@ -123,12 +123,12 @@ const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeho
123
123
  ], 2)
124
124
  ], 2)
125
125
  ], 14, j),
126
- e.id ? (s(), f(E, {
126
+ e.id ? (n(), f(E, {
127
127
  key: 0,
128
128
  id: e.id,
129
129
  messages: e.messages,
130
130
  "message-type": e.messageType
131
- }, null, 8, ["id", "messages", "message-type"])) : b("", !0)
131
+ }, null, 8, ["id", "messages", "message-type"])) : $("", !0)
132
132
  ]),
133
133
  _: 1
134
134
  }, 8, ["fluid", "orientation"]));
@@ -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
+ import '../../../CLTextArea.css';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,8 +2,8 @@ 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";
6
- const $ = ["data-testid"], h = /* @__PURE__ */ c({
5
+ import { b as v } from "../../../chunks/utils-B_-25pfO.js";
6
+ import '../../../CLBadge.css';const $ = ["data-testid"], h = /* @__PURE__ */ c({
7
7
  name: "CLBadge",
8
8
  __name: "CLBadge",
9
9
  props: {
@@ -1,14 +1,14 @@
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";
11
- const R = ["data-testid"], O = /* @__PURE__ */ L({
10
+ import { c as I } from "../../../chunks/utils-B_-25pfO.js";
11
+ import '../../../CLBanner.css';const R = ["data-testid"], O = /* @__PURE__ */ L({
12
12
  name: "CLBanner",
13
13
  __name: "CLBanner",
14
14
  props: {
@@ -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
- const se = () => {
12
- const { borderRadius: t, colors: y, darkMode: c } = ne(), r = c.value ? k.Dark : k.Light, u = te({
11
+ import '../../../CLModal.css';const se = () => {
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
  };
@@ -4,7 +4,7 @@ import { defineComponent as f, computed as u, createElementBlock as a, openBlock
4
4
  import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-B_AmMW02.js";
5
5
  import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js";
6
6
  import { CLOrientation as h, CLColors as $ } from "../../../index.js";
7
- const g = ["data-testid"], V = /* @__PURE__ */ f({
7
+ import '../../../CLNavSection.css';const g = ["data-testid"], V = /* @__PURE__ */ f({
8
8
  name: "CLNavSection",
9
9
  __name: "CLNavSection",
10
10
  props: {