@codeandfunction/callaloo 3.16.4 → 3.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/assets/CLInputMessages.css +1 -1
  2. package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-C9OzrJ6Y.js → CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js} +13 -12
  3. package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang--MP4S4D4.js → CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js} +5 -5
  4. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-CAjsSjd9.js +248 -0
  5. package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-DNZdlItJ.js → CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js} +1 -1
  6. package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-BO5OiCE-.js → CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js} +11 -10
  7. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-R0Nhlutc.js +84 -0
  8. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +153 -0
  9. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-DCwTmOOz.js +68 -0
  10. package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-DtzSW2Tr.js → CLNavLink.vue_vue_type_script_setup_true_lang-B_AmMW02.js} +1 -1
  11. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-B1MuCUnW.js +90 -0
  12. package/dist/chunks/CLProgress.vue_vue_type_style_index_0_lang-DVJDbuDr.js +63 -0
  13. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js +30 -0
  14. package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-DyT8L74M.js → CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js} +17 -16
  15. package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-CG6043pv.js → CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js} +14 -13
  16. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js +182 -0
  17. package/dist/chunks/utils-CAV1sBee.js +24 -0
  18. package/dist/chunks/utils-CS9Gz4oX.js +25 -0
  19. package/dist/chunks/utils-C_e2F4X7.js +17 -0
  20. package/dist/chunks/utils-Sqgt8Fa4.js +85 -0
  21. package/dist/chunks/utils-cOhtsyeB.js +41 -0
  22. package/dist/chunks/utils-zJwcNHl4.js +37 -0
  23. package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -1
  24. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
  25. package/dist/components/Buttons/CLButton/CLButton.css +1 -1
  26. package/dist/components/Buttons/CLButton/CLButton.js +1 -1
  27. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
  28. package/dist/components/Buttons/utils.d.ts +16 -2
  29. package/dist/components/CLIcon/CLIcon.css +1 -1
  30. package/dist/components/CLIcon/CLIcon.js +1 -1
  31. package/dist/components/CLIcon/utils.d.ts +3 -1
  32. package/dist/components/CLTable/CLTable.css +1 -1
  33. package/dist/components/CLTable/CLTable.js +113 -117
  34. package/dist/components/CLTable/utils.d.ts +5 -1
  35. package/dist/components/Containers/CLCard/CLCard.css +1 -1
  36. package/dist/components/Containers/CLCard/CLCard.js +1 -1
  37. package/dist/components/Containers/CLCarousel/CLCarousel.js +2 -2
  38. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
  39. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +32 -31
  40. package/dist/components/Containers/utils.d.ts +15 -2
  41. package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -1
  42. package/dist/components/Form/CLCheckbox/CLCheckbox.js +33 -35
  43. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +2 -2
  44. package/dist/components/Form/CLInput/CLInput.css +1 -1
  45. package/dist/components/Form/CLInput/CLInput.js +31 -33
  46. package/dist/components/Form/CLInput/CLInput.vue.d.ts +3 -3
  47. package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -1
  48. package/dist/components/Form/CLRadioButton/CLRadioButton.js +35 -34
  49. package/dist/components/Form/CLSelect/CLSelect.css +1 -1
  50. package/dist/components/Form/CLSelect/CLSelect.js +32 -31
  51. package/dist/components/Form/CLTextArea/CLTextArea.css +1 -1
  52. package/dist/components/Form/CLTextArea/CLTextArea.js +21 -20
  53. package/dist/components/Form/utils.d.ts +51 -4
  54. package/dist/components/Indicators/CLBadge/CLBadge.css +1 -1
  55. package/dist/components/Indicators/CLBadge/CLBadge.js +12 -11
  56. package/dist/components/Indicators/CLBanner/CLBanner.css +1 -1
  57. package/dist/components/Indicators/CLBanner/CLBanner.js +49 -52
  58. package/dist/components/Indicators/CLPill/CLPill.css +1 -1
  59. package/dist/components/Indicators/CLPill/CLPill.js +1 -1
  60. package/dist/components/Indicators/CLProgress/CLProgress.css +1 -1
  61. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
  62. package/dist/components/Indicators/utils.d.ts +31 -4
  63. package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -1
  64. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
  65. package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -1
  66. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
  67. package/dist/components/Loading/utils.d.ts +7 -2
  68. package/dist/components/Modals/CLModal/CLModal.css +1 -1
  69. package/dist/components/Modals/CLModal/CLModal.js +92 -91
  70. package/dist/components/Modals/utils.d.ts +5 -1
  71. package/dist/components/Navigation/CLLink/CLLink.css +1 -1
  72. package/dist/components/Navigation/CLLink/CLLink.js +1 -1
  73. package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -1
  74. package/dist/components/Navigation/CLNavSection/CLNavSection.js +2 -2
  75. package/dist/components/Navigation/utils.d.ts +8 -1
  76. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -1
  77. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +200 -203
  78. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
  79. package/dist/components/Popups/CLToast/CLToast.css +1 -1
  80. package/dist/components/Popups/CLToast/CLToast.js +1 -1
  81. package/dist/components/Popups/utils.d.ts +8 -1
  82. package/dist/components/Providers/CLThemeProvider/utils.d.ts +0 -1
  83. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
  84. package/dist/components/Typography/CLHeading/CLHeading.css +1 -1
  85. package/dist/components/Typography/CLHeading/CLHeading.js +1 -1
  86. package/dist/components/Typography/CLText/CLText.css +1 -1
  87. package/dist/components/Typography/CLText/CLText.js +1 -1
  88. package/dist/components/Typography/utils.d.ts +3 -1
  89. package/dist/composables/useTheme.js +17 -16
  90. package/package.json +1 -4
  91. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-Ba1c7ZNn.js +0 -252
  92. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-B_341q_b.js +0 -84
  93. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DZEfoinY.js +0 -121
  94. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-RAFpWIR2.js +0 -60
  95. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-UKMQXfI-.js +0 -88
  96. package/dist/chunks/CLProgress.vue_vue_type_style_index_0_lang-BMozy0NJ.js +0 -65
  97. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-C82FyxKt.js +0 -33
  98. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-LiL8p_1M.js +0 -179
  99. package/dist/chunks/utils-B_htczw5.js +0 -30
  100. package/dist/chunks/utils-Bf54TEIp.js +0 -387
  101. package/dist/chunks/utils-CPp2QUlb.js +0 -15
  102. package/dist/chunks/utils-Cm9XP0Vu.js +0 -29
  103. package/dist/chunks/utils-DPwEOLZc.js +0 -26
  104. package/dist/chunks/utils-_aITYXfA.js +0 -73
@@ -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 $, createElementVNode as n, createCommentVNode as y, normalizeClass as d, unref as u, withDirectives as R, vModelRadio as q, createTextVNode as V, toDisplayString as M } from "vue";
5
- import { _ as S, c as z, a as F } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DZEfoinY.js";
6
- import { _ as N } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CG6043pv.js";
7
- import { CLSizes as s, CLTextTypes as i, CLColorVariants as w, CLColors as D } from "../../../index.js";
8
- const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "disabled", "name", "value", "required"], A = /* @__PURE__ */ k({
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";
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({
9
9
  name: "CLRadioButton",
10
10
  __name: "CLRadioButton",
11
11
  props: /* @__PURE__ */ x({
@@ -13,7 +13,7 @@ const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "dis
13
13
  borderRadius: {},
14
14
  busy: { type: Boolean },
15
15
  checked: { type: Boolean },
16
- color: { default: D.Neutral },
16
+ color: { default: I.Neutral },
17
17
  disabled: { type: Boolean },
18
18
  form: {},
19
19
  id: {},
@@ -23,10 +23,10 @@ const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "dis
23
23
  name: {},
24
24
  required: { type: Boolean },
25
25
  rounded: { type: Boolean, default: !0 },
26
- size: { default: s.Small },
26
+ size: { default: n.Small },
27
27
  testId: { default: "clll-radiobutton" },
28
28
  value: { type: [String, Number, Boolean] },
29
- variant: { default: w.Outline },
29
+ variant: { default: D.Outline },
30
30
  onBlur: {},
31
31
  onChange: {},
32
32
  onFocus: {}
@@ -37,11 +37,11 @@ const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "dis
37
37
  emits: ["update:modelValue"],
38
38
  setup(e, { expose: C }) {
39
39
  const g = {
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
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
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(() => [
@@ -61,24 +61,25 @@ const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "dis
61
61
  ]);
62
62
  return C({
63
63
  radiobuttonRef: r
64
- }), (H, t) => (c(), m(S, null, {
65
- default: $(() => [
66
- n("span", {
67
- class: d([u(B), u(z)({ color: e.color, component: "radiobutton", disabled: e.disabled || e.busy, variant: e.variant })]),
64
+ }), (O, t) => (c(), m(M, null, {
65
+ default: y(() => [
66
+ s("span", {
67
+ class: d(u(B)),
68
+ style: R(u(F)({ color: e.color, disabled: e.disabled || e.busy, variant: e.variant })),
68
69
  "data-testid": e.testId
69
70
  }, [
70
- n("span", {
71
+ s("span", {
71
72
  class: d(u(L)),
72
73
  onClick: v
73
74
  }, [
74
- n("label", {
75
+ s("label", {
75
76
  for: e.id,
76
77
  class: d(`${a}__label`)
77
78
  }, [
78
- n("span", {
79
+ s("span", {
79
80
  class: d([`${a}__radiobutton-frame`, "form-control-flex"])
80
81
  }, [
81
- R(n("input", {
82
+ q(s("input", {
82
83
  id: e.id,
83
84
  ref: "radiobutton-ref",
84
85
  "onUpdate:modelValue": t[0] || (t[0] = (o) => b.value = o),
@@ -96,39 +97,39 @@ const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "dis
96
97
  (...o) => e.onChange && e.onChange(...o)),
97
98
  onFocus: t[3] || (t[3] = //@ts-ignore
98
99
  (...o) => e.onFocus && e.onFocus(...o))
99
- }, null, 42, E), [
100
- [q, b.value]
100
+ }, null, 42, H), [
101
+ [S, b.value]
101
102
  ]),
102
- n("span", {
103
+ s("span", {
103
104
  class: d(`${a}__indicator`)
104
105
  }, null, 2)
105
106
  ], 2),
106
- e.label ? (c(), m(u(N), {
107
+ e.label ? (c(), m(u(w), {
107
108
  key: 0,
108
109
  as: "span",
109
110
  type: g[e.size],
110
111
  class: d(e.required ? `${a}__label--required` : "")
111
112
  }, {
112
- default: $(() => [
113
- V(M(e.label), 1)
113
+ default: y(() => [
114
+ V(z(e.label), 1)
114
115
  ]),
115
116
  _: 1
116
- }, 8, ["type", "class"])) : y("", !0)
117
- ], 10, X)
117
+ }, 8, ["type", "class"])) : $("", !0)
118
+ ], 10, E)
118
119
  ], 2)
119
- ], 10, I),
120
- e.id ? (c(), m(F, {
120
+ ], 14, X),
121
+ e.id ? (c(), m(N, {
121
122
  key: 0,
122
123
  id: e.id,
123
124
  messages: e.messages,
124
125
  "message-type": e.messageType
125
- }, null, 8, ["id", "messages", "message-type"])) : y("", !0)
126
+ }, null, 8, ["id", "messages", "message-type"])) : $("", !0)
126
127
  ]),
127
128
  _: 1
128
129
  }));
129
130
  }
130
131
  });
131
132
  export {
132
- A as CLRadioButton,
133
- A as default
133
+ G as CLRadioButton,
134
+ G as default
134
135
  };
@@ -1 +1 @@
1
- .clll-select{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;align-items:flex-start;overflow:visible}.clll-select.clll-select--haslabel .clll-select__label>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-1)}.clll-select .clll-select__select-container{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;overflow:visible}.clll-select .clll-select__select-container .clll-select__select{display:inline-block;appearance:none;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased}.clll-select .clll-select__icon{pointer-events:none}.clll-select.clll-select--rounded .clll-select__select-container,.clll-select.clll-select--rounded .clll-select__select{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded.clll-select--rounded-full .clll-select__select-container{border-radius:var(--clll-rounded-full)}.clll-select.clll-select--rounded.clll-select--rounded-lg .clll-select__select-container{border-radius:var(--clll-rounded-lg)}.clll-select.clll-select--rounded.clll-select--rounded-md .clll-select__select-container{border-radius:var(--clll-rounded-md)}.clll-select.clll-select--rounded.clll-select--rounded-sm .clll-select__select-container{border-radius:var(--clll-rounded-sm)}.clll-select.clll-select--rounded.clll-select--rounded-xs .clll-select__select-container{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded.clll-select--rounded-xl .clll-select__select-container{border-radius:var(--clll-rounded-xl)}.clll-select.clll-select--rounded.clll-select--rounded-2xl .clll-select__select-container{border-radius:var(--clll-rounded-2xl)}.clll-select.clll-select--rounded.clll-select--rounded-3xl .clll-select__select-container{border-radius:var(--clll-rounded-3xl)}.clll-select.clll-select--rounded.clll-select--rounded-none .clll-select__select-container{border-radius:0}.clll-select.clll-select--rounded.clll-select--rounded-full .clll-select__select{border-radius:var(--clll-rounded-full)}.clll-select.clll-select--rounded.clll-select--rounded-lg .clll-select__select{border-radius:var(--clll-rounded-lg)}.clll-select.clll-select--rounded.clll-select--rounded-md .clll-select__select{border-radius:var(--clll-rounded-md)}.clll-select.clll-select--rounded.clll-select--rounded-sm .clll-select__select{border-radius:var(--clll-rounded-sm)}.clll-select.clll-select--rounded.clll-select--rounded-xs .clll-select__select{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded.clll-select--rounded-xl .clll-select__select{border-radius:var(--clll-rounded-xl)}.clll-select.clll-select--rounded.clll-select--rounded-2xl .clll-select__select{border-radius:var(--clll-rounded-2xl)}.clll-select.clll-select--rounded.clll-select--rounded-3xl .clll-select__select{border-radius:var(--clll-rounded-3xl)}.clll-select.clll-select--rounded.clll-select--rounded-none .clll-select__select{border-radius:0}.clll-select.clll-select--tiny .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5);padding:var(--clll-py-xs) var(--clll-px-xs);padding-right:var(--clll-unit-5)}.clll-select.clll-select--tiny .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-1)}.clll-select.clll-select--small .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6);padding:var(--clll-py-sm) var(--clll-px-sm);padding-right:var(--clll-unit-7)}.clll-select.clll-select--small .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-2)}.clll-select.clll-select--medium .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5);padding:var(--clll-py-md) var(--clll-px-md);padding-right:var(--clll-unit-10)}.clll-select.clll-select--medium .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-3)}.clll-select.clll-select--large .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7);padding:var(--clll-py-lg) var(--clll-px-lg);padding-right:var(--clll-unit-14)}.clll-select.clll-select--large .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-3_5)}.clll-select.clll-select--xlarge .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5);padding:var(--clll-py-xl) var(--clll-px-xl);padding-right:var(--clll-unit-18)}.clll-select.clll-select--xlarge .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-4)}.clll-select.clll-select--fluid,.clll-select.clll-select--fluid .clll-select__select-container,.clll-select.clll-select--fluid .clll-select__select-container .clll-select__select{width:100%}.clll-select.clll-select--vertical{flex-direction:column}.clll-select.clll-select--vertical.clll-select--haslabel>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1_5)}.clll-select.clll-select--horizontal.clll-select--haslabel{flex-direction:row;align-items:center;flex-wrap:wrap}.clll-select.clll-select--horizontal.clll-select--haslabel .clll-select__label,.clll-select.clll-select--horizontal.clll-select--haslabel .clll-select__select-container{width:50%}.clll-select.clll-select--hidden{display:none}
1
+ .clll-select{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;align-items:flex-start;overflow:visible}.clll-select.clll-select--haslabel .clll-select__label>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-1)}.clll-select.clll-select--haslabel .clll-select__label .clll-text.clll-select__label--required:after{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:var(--clll-select-required-asterisk-color, red);text-decoration:unset;margin-inline-start:var(--clll-unit-0_5);box-sizing:content-box;line-height:0}.clll-select .clll-select__select-container{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;overflow:visible}.clll-select .clll-select__select-container:focus-within{outline-color:var(--clll-select-focus-border, transparent);outline-style:solid;outline-width:2px;outline-offset:-1px}.clll-select .clll-select__select-container .clll-select__select{display:inline-block;appearance:none;background-color:var(--clll-select-bg, white);border-color:var(--clll-select-border, transparent);border-style:solid;border-width:1px;color:var(--clll-select-text, inherit);margin:0;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased}.clll-select .clll-select__select-container .clll-select__select::placeholder{color:var(--clll-select-text-placeholder, transparent)}.clll-select .clll-select__select-container .clll-select__select:focus{outline-color:var(--clll-select-focus-border, transparent);outline-style:solid;outline-width:2px;box-shadow:0 0 0 var(--clll-unit-0) var(--clll-select-focus-shadow, transparent);outline-offset:-1px}.clll-select .clll-select__select-container .clll-select__select:disabled{border-color:var(--clll-select-disabled-border, transparent);background-color:var(--clll-select-disabled-bg, transparent);color:var(--clll-select-text-placeholder, transparent)}.clll-select .clll-select__select-container .clll-select__select:disabled::placeholder{color:var(--clll-select-text-placeholder, transparent)}.clll-select .clll-select__icon{pointer-events:none}.clll-select .clll-select__icon .clll-icon{color:var(--clll-select-icon-color, inherit)}.clll-select.clll-select--disabled{cursor:default}.clll-select.clll-select--disabled .clll-select__select-container{border-color:var(--clll-select-disabled-border, transparent)}.clll-select.clll-select--disabled .clll-select__icon .clll-icon{color:var(--clll-select-disabled-icon-color, transparent)}.clll-select.clll-select--ghost .clll-select__select-container,.clll-select.clll-select--ghost .clll-select__select{background-color:transparent;border:0;padding-left:var(--clll-select-ghost-padding, 0);padding-top:var(--clll-select-ghost-padding, 0);padding-bottom:var(--clll-select-ghost-padding, 0);border-radius:0}.clll-select.clll-select--ghost .clll-select__select-container:focus,.clll-select.clll-select--ghost .clll-select__select-container:focus-within,.clll-select.clll-select--ghost .clll-select__select:focus,.clll-select.clll-select--ghost .clll-select__select:focus-within{outline:none}.clll-select.clll-select--rounded:not(.clll-select--ghost) .clll-select__select-container,.clll-select.clll-select--rounded:not(.clll-select--ghost) .clll-select__select{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-full .clll-select__select-container{border-radius:var(--clll-rounded-full)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-lg .clll-select__select-container{border-radius:var(--clll-rounded-lg)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-md .clll-select__select-container{border-radius:var(--clll-rounded-md)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-sm .clll-select__select-container{border-radius:var(--clll-rounded-sm)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-xs .clll-select__select-container{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-xl .clll-select__select-container{border-radius:var(--clll-rounded-xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-2xl .clll-select__select-container{border-radius:var(--clll-rounded-2xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-3xl .clll-select__select-container{border-radius:var(--clll-rounded-3xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-none .clll-select__select-container{border-radius:0}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-full .clll-select__select{border-radius:var(--clll-rounded-full)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-lg .clll-select__select{border-radius:var(--clll-rounded-lg)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-md .clll-select__select{border-radius:var(--clll-rounded-md)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-sm .clll-select__select{border-radius:var(--clll-rounded-sm)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-xs .clll-select__select{border-radius:var(--clll-rounded-xs)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-xl .clll-select__select{border-radius:var(--clll-rounded-xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-2xl .clll-select__select{border-radius:var(--clll-rounded-2xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-3xl .clll-select__select{border-radius:var(--clll-rounded-3xl)}.clll-select.clll-select--rounded:not(.clll-select--ghost).clll-select--rounded-none .clll-select__select{border-radius:0}.clll-select.clll-select--rounded:not(.clll-select--ghost):not([class*=clll-select--rounded-]).clll-select--rounded .clll-select__select-container,.clll-select.clll-select--rounded:not(.clll-select--ghost):not([class*=clll-select--rounded-]).clll-select--rounded .clll-select__select{border-radius:var(--clll-select-theme-radius, var(--clll-rounded-xs))}.clll-select.clll-select--rounded.clll-select--ghost .clll-select__select-container,.clll-select.clll-select--rounded.clll-select--ghost .clll-select__select{border-radius:0}.clll-select.clll-select--tiny:not(.clll-select--ghost) .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5);padding:var(--clll-py-xs) var(--clll-unit-6) var(--clll-py-xs) var(--clll-px-xs)}.clll-select.clll-select--tiny.clll-select--ghost .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-select.clll-select--tiny .clll-select__select-container .clll-select__select{padding-right:var(--clll-unit-6)}.clll-select.clll-select--tiny .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-1)}.clll-select.clll-select--small:not(.clll-select--ghost) .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6);padding:var(--clll-py-sm) var(--clll-unit-7) var(--clll-py-sm) var(--clll-px-sm)}.clll-select.clll-select--small.clll-select--ghost .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6)}.clll-select.clll-select--small .clll-select__select-container .clll-select__select{padding-right:var(--clll-unit-7)}.clll-select.clll-select--small .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-2)}.clll-select.clll-select--medium:not(.clll-select--ghost) .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5);padding:var(--clll-py-md) var(--clll-unit-10) var(--clll-py-md) var(--clll-px-md)}.clll-select.clll-select--medium.clll-select--ghost .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5)}.clll-select.clll-select--medium .clll-select__select-container .clll-select__select{padding-right:var(--clll-unit-10)}.clll-select.clll-select--medium .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-3)}.clll-select.clll-select--large:not(.clll-select--ghost) .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7);padding:var(--clll-py-lg) var(--clll-unit-14) var(--clll-py-lg) var(--clll-px-lg)}.clll-select.clll-select--large.clll-select--ghost .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7)}.clll-select.clll-select--large .clll-select__select-container .clll-select__select{padding-right:var(--clll-unit-14)}.clll-select.clll-select--large .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-3_5)}.clll-select.clll-select--xlarge:not(.clll-select--ghost) .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5);padding:var(--clll-py-xl) var(--clll-unit-18) var(--clll-py-xl) var(--clll-px-xl)}.clll-select.clll-select--xlarge.clll-select--ghost .clll-select__select-container .clll-select__select{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5)}.clll-select.clll-select--xlarge .clll-select__select-container .clll-select__select{padding-right:var(--clll-unit-18)}.clll-select.clll-select--xlarge .clll-select__select-container .clll-select__icon{padding-right:var(--clll-unit-4)}.clll-select.clll-select--fluid,.clll-select.clll-select--fluid .clll-select__select-container,.clll-select.clll-select--fluid .clll-select__select-container .clll-select__select{width:100%}.clll-select.clll-select--vertical{flex-direction:column}.clll-select.clll-select--vertical.clll-select--haslabel>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1_5)}.clll-select.clll-select--horizontal.clll-select--haslabel{flex-direction:row;align-items:center;flex-wrap:wrap}.clll-select.clll-select--horizontal.clll-select--haslabel .clll-select__label,.clll-select.clll-select--horizontal.clll-select--haslabel .clll-select__select-container{width:50%}.clll-select.clll-select--hidden{display:none}
@@ -1,19 +1,19 @@
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 h, useModel as S, useTemplateRef as q, computed as x, createBlock as f, openBlock as o, withCtx as T, createElementVNode as d, createCommentVNode as b, normalizeClass as r, unref as u, withDirectives as V, createElementBlock as $, Fragment as k, renderList as M, toDisplayString as F, vModelSelect as I, createVNode as N } from "vue";
5
- import { _ as R, s as D, a as w } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DZEfoinY.js";
6
- import { _ as E } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-DNZdlItJ.js";
7
- import { _ as H } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-B_341q_b.js";
8
- import { CLSizes as n, CLIconSizes as s, CLOrientation as y, CLIconNames as O, CLColorVariants as P, CLColors as U } from "../../../index.js";
9
- const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], A = ["value", "selected", "disabled"], Z = /* @__PURE__ */ B({
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";
6
+ import { _ as H } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js";
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({
10
10
  name: "CLSelect",
11
11
  __name: "CLSelect",
12
- props: /* @__PURE__ */ h({
12
+ props: /* @__PURE__ */ S({
13
13
  ariaLabel: {},
14
14
  borderRadius: {},
15
15
  busy: { type: Boolean },
16
- color: { default: U.Neutral },
16
+ color: { default: X.Neutral },
17
17
  disabled: { type: Boolean },
18
18
  fluid: { type: Boolean, default: !1 },
19
19
  form: {},
@@ -32,7 +32,7 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
32
32
  rounded: { type: Boolean, default: !0 },
33
33
  size: { default: n.Small },
34
34
  testId: { default: "clll-select" },
35
- variant: { default: P.Outline }
35
+ variant: { default: U.Outline }
36
36
  }, {
37
37
  modelValue: {},
38
38
  modelModifiers: {}
@@ -40,14 +40,14 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
40
40
  emits: ["update:modelValue"],
41
41
  setup(e, { expose: C }) {
42
42
  const g = {
43
- [n.Tiny]: s.Tiny,
44
- [n.Small]: s.Tiny,
45
- [n.Medium]: s.Small,
46
- [n.Large]: s.Medium,
47
- [n.XL]: s.Medium
48
- }, a = e, l = "clll-select", m = S(e, "modelValue"), c = q("select-ref"), v = () => {
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
48
+ }, a = e, l = "clll-select", m = h(e, "modelValue"), c = q("select-ref"), v = () => {
49
49
  c.value && c.value.focus();
50
- }, L = x(() => [
50
+ }, z = x(() => [
51
51
  l,
52
52
  a.borderRadius ? `${l}--${a.borderRadius}` : "",
53
53
  a.busy ? `${l}--busy` : `${l}--ready`,
@@ -64,16 +64,17 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
64
64
  ]);
65
65
  return C({
66
66
  selectRef: c
67
- }), (G, i) => (o(), f(R, {
67
+ }), (J, i) => (s(), f(D, {
68
68
  fluid: e.fluid,
69
69
  orientation: e.orientation
70
70
  }, {
71
71
  default: T(() => [
72
72
  d("span", {
73
- class: r([u(L), u(D)({ color: e.color, component: "input", disabled: e.disabled || e.busy, variant: e.variant })]),
73
+ class: r(u(z)),
74
+ style: V(u(w)({ color: e.color, disabled: e.disabled || e.busy, variant: e.variant })),
74
75
  "data-testid": e.testId
75
76
  }, [
76
- e.label ? (o(), f(E, {
77
+ e.label ? (s(), f(H, {
77
78
  key: 0,
78
79
  "css-prefix": l,
79
80
  "html-for": e.id,
@@ -85,7 +86,7 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
85
86
  class: r(`${l}__select-container`),
86
87
  onClick: v
87
88
  }, [
88
- V(d("select", {
89
+ k(d("select", {
89
90
  id: e.id,
90
91
  ref: "select-ref",
91
92
  "onUpdate:modelValue": i[0] || (i[0] = (t) => m.value = t),
@@ -103,26 +104,26 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
103
104
  onFocus: i[3] || (i[3] = //@ts-ignore
104
105
  (...t) => e.onFocus && e.onFocus(...t))
105
106
  }, [
106
- e.options ? (o(!0), $(k, { key: 0 }, M(e.options, (t, z) => (o(), $("option", {
107
- key: `${e.id}-option-${z}`,
107
+ e.options ? (s(!0), $(M, { key: 0 }, F(e.options, (t, L) => (s(), $("option", {
108
+ key: `${e.id}-option-${L}`,
108
109
  value: t.value,
109
110
  selected: t.value === m.value,
110
111
  disabled: t.disabled
111
- }, F(t.label), 9, A))), 128)) : b("", !0)
112
- ], 42, j), [
113
- [I, m.value]
112
+ }, I(t.label), 9, G))), 128)) : b("", !0)
113
+ ], 42, A), [
114
+ [N, m.value]
114
115
  ]),
115
116
  d("span", {
116
117
  class: r([`${l}__icon`, "form-select-icon-flex"])
117
118
  }, [
118
- N(u(H), {
119
- name: u(O).ChevronDown,
119
+ R(u(O), {
120
+ name: u(P).ChevronDown,
120
121
  size: g[e.size]
121
122
  }, null, 8, ["name", "size"])
122
123
  ], 2)
123
124
  ], 2)
124
- ], 10, X),
125
- e.id ? (o(), f(w, {
125
+ ], 14, j),
126
+ e.id ? (s(), f(E, {
126
127
  key: 0,
127
128
  id: e.id,
128
129
  messages: e.messages,
@@ -134,6 +135,6 @@ const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeho
134
135
  }
135
136
  });
136
137
  export {
137
- Z as CLSelect,
138
- Z as default
138
+ p as CLSelect,
139
+ p as default
139
140
  };
@@ -1 +1 @@
1
- .clll-textarea{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;flex-direction:column;align-items:flex-start;overflow:visible}.clll-textarea .clll-textarea__input-container{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;overflow:visible}.clll-textarea .clll-textarea__input{resize:none;display:inline-block;appearance:none;background-color:#fff;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased}.clll-textarea.clll-textarea--resizable .clll-textarea__input{resize:both}.clll-textarea.clll-textarea--rounded .clll-textarea__input-container,.clll-textarea.clll-textarea--rounded .clll-textarea__input{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-full .clll-textarea__input-container{border-radius:var(--clll-rounded-full)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-lg .clll-textarea__input-container{border-radius:var(--clll-rounded-lg)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-md .clll-textarea__input-container{border-radius:var(--clll-rounded-md)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-sm .clll-textarea__input-container{border-radius:var(--clll-rounded-sm)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-xs .clll-textarea__input-container{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-xl .clll-textarea__input-container{border-radius:var(--clll-rounded-xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-2xl .clll-textarea__input-container{border-radius:var(--clll-rounded-2xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-3xl .clll-textarea__input-container{border-radius:var(--clll-rounded-3xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-none .clll-textarea__input-container{border-radius:0}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-full .clll-textarea__input{border-radius:var(--clll-rounded-full)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-lg .clll-textarea__input{border-radius:var(--clll-rounded-lg)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-md .clll-textarea__input{border-radius:var(--clll-rounded-md)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-sm .clll-textarea__input{border-radius:var(--clll-rounded-sm)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-xs .clll-textarea__input{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-xl .clll-textarea__input{border-radius:var(--clll-rounded-xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-2xl .clll-textarea__input{border-radius:var(--clll-rounded-2xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-3xl .clll-textarea__input{border-radius:var(--clll-rounded-3xl)}.clll-textarea.clll-textarea--rounded.clll-textarea--rounded-none .clll-textarea__input{border-radius:0}.clll-textarea.clll-textarea--tiny .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5);padding:var(--clll-py-xs) var(--clll-px-sm)}.clll-textarea.clll-textarea--small .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6);padding:var(--clll-py-sm) var(--clll-px-md)}.clll-textarea.clll-textarea--medium .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5);padding:var(--clll-py-md) var(--clll-px-lg)}.clll-textarea.clll-textarea--large .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7);padding:var(--clll-py-lg) var(--clll-px-2xl)}.clll-textarea.clll-textarea--xlarge .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5);padding:var(--clll-py-2xl) var(--clll-px-3xl)}.clll-textarea.clll-textarea--fluid,.clll-textarea.clll-textarea--fluid .clll-textarea__input-container,.clll-textarea.clll-textarea--fluid .clll-textarea__input-container .clll-textarea__input{width:100%}.clll-textarea.clll-textarea--vertical{flex-direction:column}.clll-textarea.clll-textarea--vertical.clll-textarea--haslabel>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1_5)}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel{flex-direction:row;flex-wrap:wrap}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__label{padding-top:var(--clll-unit-1_5)}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__label,.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__input-container{width:50%}.clll-textarea.clll-textarea--hascharcounter>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1)}
1
+ .clll-textarea{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;flex-direction:column;align-items:flex-start;overflow:visible}.clll-textarea.clll-textarea--haslabel .clll-textarea__label .clll-text.clll-textarea__label--required:after{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:var(--clll-input-required-asterisk-color, red);text-decoration:unset;margin-inline-start:var(--clll-unit-0_5);box-sizing:content-box;line-height:0}.clll-textarea .clll-textarea__input-container{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;overflow:visible;background-color:var(--clll-input-bg, white)}.clll-textarea .clll-textarea__input-container:focus-within{outline-color:var(--clll-input-focus-border, transparent);outline-style:solid;outline-width:2px;outline-offset:-1px}.clll-textarea .clll-textarea__input{resize:none;display:inline-block;appearance:none;background-color:var(--clll-input-bg, white);border-color:var(--clll-input-border, transparent);border-style:solid;border-width:1px;color:var(--clll-input-text, inherit);font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased}.clll-textarea .clll-textarea__input::placeholder{color:var(--clll-input-text-placeholder, transparent)}.clll-textarea .clll-textarea__input:focus{outline-color:var(--clll-input-focus-border, transparent);outline-style:solid;outline-width:2px;box-shadow:0 0 0 var(--clll-unit-0) var(--clll-input-focus-shadow, transparent);outline-offset:-1px}.clll-textarea .clll-textarea__input:disabled{border-color:var(--clll-input-disabled-border, transparent);background-color:var(--clll-input-disabled-bg, transparent);color:var(--clll-input-text-placeholder, transparent)}.clll-textarea .clll-textarea__input:disabled::placeholder{color:var(--clll-input-text-placeholder, transparent)}.clll-textarea .clll-textarea__input:read-only{border-color:var(--clll-input-readonly-border, transparent);background-color:var(--clll-input-readonly-bg, transparent);color:var(--clll-input-text-placeholder, transparent)}.clll-textarea .clll-textarea__input:read-only::placeholder{color:var(--clll-input-text-placeholder, transparent)}.clll-textarea.clll-textarea--disabled{cursor:default}.clll-textarea.clll-textarea--disabled .clll-textarea__input-container{border-color:var(--clll-input-disabled-border, transparent)}.clll-textarea.clll-textarea--readonly{cursor:not-allowed}.clll-textarea.clll-textarea--readonly .clll-textarea__input-container{border-color:var(--clll-input-readonly-border, transparent);pointer-events:none}.clll-textarea.clll-textarea--resizable .clll-textarea__input{resize:both}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost) .clll-textarea__input-container,.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost) .clll-textarea__input{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-full .clll-textarea__input-container{border-radius:var(--clll-rounded-full)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-lg .clll-textarea__input-container{border-radius:var(--clll-rounded-lg)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-md .clll-textarea__input-container{border-radius:var(--clll-rounded-md)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-sm .clll-textarea__input-container{border-radius:var(--clll-rounded-sm)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-xs .clll-textarea__input-container{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-xl .clll-textarea__input-container{border-radius:var(--clll-rounded-xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-2xl .clll-textarea__input-container{border-radius:var(--clll-rounded-2xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-3xl .clll-textarea__input-container{border-radius:var(--clll-rounded-3xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-none .clll-textarea__input-container{border-radius:0}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-full .clll-textarea__input{border-radius:var(--clll-rounded-full)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-lg .clll-textarea__input{border-radius:var(--clll-rounded-lg)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-md .clll-textarea__input{border-radius:var(--clll-rounded-md)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-sm .clll-textarea__input{border-radius:var(--clll-rounded-sm)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-xs .clll-textarea__input{border-radius:var(--clll-rounded-xs)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-xl .clll-textarea__input{border-radius:var(--clll-rounded-xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-2xl .clll-textarea__input{border-radius:var(--clll-rounded-2xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-3xl .clll-textarea__input{border-radius:var(--clll-rounded-3xl)}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost).clll-textarea--rounded-none .clll-textarea__input{border-radius:0}.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost):not([class*=clll-textarea--rounded-]).clll-textarea--rounded .clll-textarea__input-container,.clll-textarea.clll-textarea--rounded:not(.clll-textarea--ghost):not([class*=clll-textarea--rounded-]).clll-textarea--rounded .clll-textarea__input{border-radius:var(--clll-input-theme-radius, var(--clll-rounded-xs))}.clll-textarea.clll-textarea--rounded.clll-textarea--ghost .clll-textarea__input-container,.clll-textarea.clll-textarea--rounded.clll-textarea--ghost .clll-textarea__input{border-radius:0}.clll-textarea.clll-textarea--tiny:not(.clll-textarea--ghost) .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5);padding:var(--clll-py-xs) var(--clll-px-sm)}.clll-textarea.clll-textarea--tiny.clll-textarea--ghost .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-textarea.clll-textarea--small:not(.clll-textarea--ghost) .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6);padding:var(--clll-py-sm) var(--clll-px-md)}.clll-textarea.clll-textarea--small.clll-textarea--ghost .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6)}.clll-textarea.clll-textarea--medium:not(.clll-textarea--ghost) .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5);padding:var(--clll-py-md) var(--clll-px-lg)}.clll-textarea.clll-textarea--medium.clll-textarea--ghost .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5)}.clll-textarea.clll-textarea--large:not(.clll-textarea--ghost) .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7);padding:var(--clll-py-lg) var(--clll-px-2xl)}.clll-textarea.clll-textarea--large.clll-textarea--ghost .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7)}.clll-textarea.clll-textarea--xlarge:not(.clll-textarea--ghost) .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5);padding:var(--clll-py-2xl) var(--clll-px-3xl)}.clll-textarea.clll-textarea--xlarge.clll-textarea--ghost .clll-textarea__input-container .clll-textarea__input{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5)}.clll-textarea.clll-textarea--fluid,.clll-textarea.clll-textarea--fluid .clll-textarea__input-container,.clll-textarea.clll-textarea--fluid .clll-textarea__input-container .clll-textarea__input{width:100%}.clll-textarea.clll-textarea--vertical{flex-direction:column}.clll-textarea.clll-textarea--vertical.clll-textarea--haslabel>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1_5)}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel{flex-direction:row;flex-wrap:wrap}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__label{padding-top:var(--clll-unit-1_5)}.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__label,.clll-textarea.clll-textarea--horizontal.clll-textarea--haslabel .clll-textarea__input-container{width:50%}.clll-textarea.clll-textarea--hascharcounter>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-1)}.clll-textarea.clll-textarea--ghost .clll-textarea__input-container,.clll-textarea.clll-textarea--ghost .clll-input__input-border-control,.clll-textarea.clll-textarea--ghost .clll-textarea__input{background-color:transparent;border:0;padding:var(--clll-input-ghost-padding, 0);border-radius:0}.clll-textarea.clll-textarea--ghost .clll-textarea__input-container:focus,.clll-textarea.clll-textarea--ghost .clll-textarea__input-container:focus-within,.clll-textarea.clll-textarea--ghost .clll-input__input-border-control:focus,.clll-textarea.clll-textarea--ghost .clll-input__input-border-control:focus-within,.clll-textarea.clll-textarea--ghost .clll-textarea__input:focus,.clll-textarea.clll-textarea--ghost .clll-textarea__input:focus-within{outline:none}
@@ -1,12 +1,12 @@
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, normalizeClass as m, unref as c, withDirectives as z, vModelText as v } from "vue";
5
- import { _ as k, i as T, a as q } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DZEfoinY.js";
6
- import { _ as V } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-DNZdlItJ.js";
7
- import { _ as w } from "../../../chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js";
8
- import { CLOrientation as f, CLCharCounterLayout as I, CLColorVariants as F, CLSizes as R, CLColors as M } 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"], U = /* @__PURE__ */ g({
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";
6
+ import { _ as w } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js";
7
+ import { _ as I } from "../../../chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js";
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({
10
10
  name: "CLTextArea",
11
11
  __name: "CLTextArea",
12
12
  props: /* @__PURE__ */ $({
@@ -15,7 +15,7 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
15
15
  borderRadius: {},
16
16
  busy: { type: Boolean },
17
17
  charCounter: { type: Boolean },
18
- color: { default: M.Neutral },
18
+ color: { default: S.Neutral },
19
19
  cols: {},
20
20
  disabled: { type: Boolean },
21
21
  fluid: { type: Boolean, default: !1 },
@@ -39,10 +39,10 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
39
39
  resizable: { type: Boolean, default: !1 },
40
40
  rounded: { type: Boolean, default: !0 },
41
41
  rows: {},
42
- size: { default: R.Small },
42
+ size: { default: M.Small },
43
43
  spellCheck: { type: Boolean },
44
44
  testId: { default: "clll-textarea" },
45
- variant: { default: F.Outline }
45
+ variant: { default: R.Outline }
46
46
  }, {
47
47
  modelValue: {},
48
48
  modelModifiers: {}
@@ -71,17 +71,18 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
71
71
  ]);
72
72
  return h({
73
73
  textareaRef: d
74
- }), (S, l) => (r(), i(k, {
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
80
  u("span", {
81
- class: m([c(b), c(T)({ color: e.color, component: "textarea", disabled: e.disabled || e.busy, readonly: e.readonly, variant: e.variant })]),
81
+ class: m(c(b)),
82
+ style: z(c(q)({ color: e.color, disabled: e.disabled || e.busy, readonly: e.readonly, variant: e.variant })),
82
83
  "data-testid": e.testId
83
84
  }, [
84
- e.label ? (r(), i(V, {
85
+ e.label ? (r(), i(w, {
85
86
  key: 0,
86
87
  "css-prefix": a,
87
88
  "html-for": e.id,
@@ -93,7 +94,7 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
93
94
  class: m(`${a}__input-container`),
94
95
  onClick: y
95
96
  }, [
96
- z(u("textarea", {
97
+ v(u("textarea", {
97
98
  id: e.id,
98
99
  ref: "textarea-ref",
99
100
  "onUpdate:modelValue": l[0] || (l[0] = (n) => o.value = n),
@@ -121,20 +122,20 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
121
122
  onInput: l[4] || (l[4] = //@ts-ignore
122
123
  (...n) => e.onInput && e.onInput(...n))
123
124
  }, null, 42, N), [
124
- [v, o.value]
125
+ [k, o.value]
125
126
  ])
126
127
  ], 2),
127
- e.charCounter && e.maxLength ? (r(), i(w, {
128
+ e.charCounter && e.maxLength ? (r(), i(I, {
128
129
  key: 1,
129
130
  "css-prefix": a,
130
131
  "current-length": o.value ? o.value.toString().length : 0,
131
132
  "max-length": e.maxLength,
132
133
  color: e.color,
133
134
  size: e.size,
134
- layout: c(I).Block
135
+ layout: c(F).Block
135
136
  }, null, 8, ["current-length", "max-length", "color", "size", "layout"])) : s("", !0)
136
- ], 10, A),
137
- e.id ? (r(), i(q, {
137
+ ], 14, A),
138
+ e.id ? (r(), i(V, {
138
139
  key: 0,
139
140
  id: e.id,
140
141
  messages: e.messages,
@@ -146,6 +147,6 @@ const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "dis
146
147
  }
147
148
  });
148
149
  export {
149
- U as CLTextArea,
150
- U as default
150
+ j as CLTextArea,
151
+ j as default
151
152
  };
@@ -6,8 +6,55 @@ interface ThemeProps {
6
6
  readonly?: boolean;
7
7
  variant?: CLColorVariants.Outline | CLColorVariants.Ghost;
8
8
  }
9
- export declare const checkboxTheme: ({ color, component, disabled, variant }: ThemeProps) => string;
10
- export declare const inputTheme: ({ color, component, disabled, readonly, variant }: ThemeProps) => string;
11
- export declare const inputMessagesTheme: ({ color }: ThemeProps) => string;
12
- export declare const selectTheme: ({ color, disabled, variant }: ThemeProps) => string;
9
+ export declare const checkboxTheme: ({ color, disabled, variant }: ThemeProps) => {
10
+ '--clll-checkbox-bg': string;
11
+ '--clll-checkbox-border': string;
12
+ '--clll-checkbox-disabled-border': string;
13
+ '--clll-checkbox-disabled-bg': string;
14
+ '--clll-checkbox-checked-bg': string;
15
+ '--clll-checkbox-focus-border': string;
16
+ '--clll-checkbox-focus-shadow': string;
17
+ '--clll-checkbox-icon-color': string;
18
+ '--clll-checkbox-disabled-icon-color': string;
19
+ '--clll-checkbox-indicator-color': string;
20
+ '--clll-checkbox-disabled-indicator-color': string;
21
+ '--clll-checkbox-theme-radius': string | undefined;
22
+ '--clll-checkbox-outline-width': string;
23
+ '--clll-checkbox-required-asterisk-color': string;
24
+ };
25
+ export declare const inputTheme: ({ color, disabled, readonly, variant }: ThemeProps) => {
26
+ '--clll-input-bg': string;
27
+ '--clll-input-border': string;
28
+ '--clll-input-disabled-border': string;
29
+ '--clll-input-disabled-bg': string;
30
+ '--clll-input-readonly-border': string;
31
+ '--clll-input-readonly-bg': string;
32
+ '--clll-input-focus-border': string;
33
+ '--clll-input-focus-shadow': string;
34
+ '--clll-input-text': string;
35
+ '--clll-input-text-placeholder': string;
36
+ '--clll-input-grouped-bg': string;
37
+ '--clll-input-prefix-suffix-color': string;
38
+ '--clll-input-theme-radius': string | undefined;
39
+ '--clll-input-ghost-padding': string | undefined;
40
+ '--clll-input-required-asterisk-color': string;
41
+ };
42
+ export declare const inputMessagesTheme: ({ color }: ThemeProps) => {
43
+ '--clll-input-message-color': string;
44
+ };
45
+ export declare const selectTheme: ({ color, disabled, variant }: ThemeProps) => {
46
+ '--clll-select-bg': string;
47
+ '--clll-select-border': string;
48
+ '--clll-select-disabled-border': string;
49
+ '--clll-select-disabled-bg': string;
50
+ '--clll-select-focus-border': string;
51
+ '--clll-select-focus-shadow': string;
52
+ '--clll-select-text': string;
53
+ '--clll-select-text-placeholder': string;
54
+ '--clll-select-icon-color': string;
55
+ '--clll-select-disabled-icon-color': string;
56
+ '--clll-select-theme-radius': string | undefined;
57
+ '--clll-select-ghost-padding': string | undefined;
58
+ '--clll-select-required-asterisk-color': string;
59
+ };
13
60
  export {};
@@ -1 +1 @@
1
- .clll-badge{position:relative;overflow:hidden;border-radius:var(--clll-rounded-full);flex:none;display:inline-flex;align-items:center;box-sizing:border-box;padding:var(--clll-py-xs) var(--clll-px-xs)}.clll-badge.clll-badge--rounded-full,.clll-badge.clll-badge--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-badge.clll-badge--rounded-lg,.clll-badge.clll-badge--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-badge.clll-badge--rounded-md,.clll-badge.clll-badge--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-badge.clll-badge--rounded-sm,.clll-badge.clll-badge--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-badge.clll-badge--rounded-xs,.clll-badge.clll-badge--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-badge.clll-badge--rounded-xl,.clll-badge.clll-badge--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-badge.clll-badge--rounded-2xl,.clll-badge.clll-badge--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-badge.clll-badge--rounded-3xl,.clll-badge.clll-badge--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-badge.clll-badge--rounded-none,.clll-badge.clll-badge--rounded-none .clll-{border-radius:0}.clll-badge .clll-badge__count{font-weight:400;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-badge.clll-badge--elevated{box-shadow:0 0 var(--clll-unit-3) var(--clll-unit-0_5) #0000001f,0 0 var(--clll-unit-1) var(--clll-unit-0_5) #00000005}
1
+ .clll-badge{width:fit-content;background-color:var(--clll-badge-bg-color, transparent);border-color:var(--clll-badge-border-color, transparent);border-style:var(--clll-badge-border-style, none);border-width:var(--clll-badge-border-width, 0);position:relative;overflow:hidden;border-radius:var(--clll-rounded-full);flex:none;display:inline-flex;align-items:center;box-sizing:border-box;padding:var(--clll-py-xs) var(--clll-px-xs)}.clll-badge.clll-badge--rounded-full,.clll-badge.clll-badge--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-badge.clll-badge--rounded-lg,.clll-badge.clll-badge--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-badge.clll-badge--rounded-md,.clll-badge.clll-badge--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-badge.clll-badge--rounded-sm,.clll-badge.clll-badge--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-badge.clll-badge--rounded-xs,.clll-badge.clll-badge--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-badge.clll-badge--rounded-xl,.clll-badge.clll-badge--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-badge.clll-badge--rounded-2xl,.clll-badge.clll-badge--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-badge.clll-badge--rounded-3xl,.clll-badge.clll-badge--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-badge.clll-badge--rounded-none,.clll-badge.clll-badge--rounded-none .clll-{border-radius:0}.clll-badge:not([class*=clll-badge--rounded-]){border-radius:var(--clll-badge-theme-radius)}.clll-badge .clll-badge__count{color:var(--clll-badge-text-color, inherit);font-weight:400;font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-badge.clll-badge--elevated{box-shadow:0 0 var(--clll-unit-3) var(--clll-unit-0_5) #0000001f,0 0 var(--clll-unit-1) var(--clll-unit-0_5) #00000005}
@@ -1,19 +1,19 @@
1
1
  import '../../../assets/core.css';
2
2
  import './CLBadge.css';
3
- import { defineComponent as c, computed as n, createElementBlock as m, openBlock as u, normalizeClass as s, unref as r, createElementVNode as f, toDisplayString as b } from "vue";
4
- import { CLColorVariants as g, CLColors as p } from "../../../index.js";
5
- import { b as C } from "../../../chunks/utils-_aITYXfA.js";
6
- const v = ["data-testid"], h = /* @__PURE__ */ c({
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
+ 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({
7
7
  name: "CLBadge",
8
8
  __name: "CLBadge",
9
9
  props: {
10
10
  borderRadius: {},
11
- color: { default: p.Neutral },
11
+ color: { default: C.Neutral },
12
12
  elevated: { type: Boolean, default: !1 },
13
13
  label: {},
14
14
  limit: {},
15
15
  testId: { default: "clll-badge" },
16
- variant: { default: g.Soft }
16
+ variant: { default: p.Soft }
17
17
  },
18
18
  setup(a) {
19
19
  const e = a, t = "clll-badge", d = n(() => {
@@ -26,13 +26,14 @@ const v = ["data-testid"], h = /* @__PURE__ */ c({
26
26
  `${t}--${e.color}--${e.variant}`
27
27
  ]);
28
28
  return (l, o) => (u(), m("div", {
29
- class: s([r(i), r(C)({ color: a.color, variant: a.variant })]),
30
- "data-testid": a.testId
29
+ class: s(r(i)),
30
+ "data-testid": a.testId,
31
+ style: f(r(v)({ color: a.color, variant: a.variant }))
31
32
  }, [
32
- f("span", {
33
+ b("span", {
33
34
  class: s(`${t}__count`)
34
- }, b(r(d)), 3)
35
- ], 10, v));
35
+ }, g(r(d)), 3)
36
+ ], 14, $));
36
37
  }
37
38
  });
38
39
  export {
@@ -1 +1 @@
1
- .clll-banner{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;width:var(--v42ada450);height:var(--v46a4d956);padding:var(--clll-py-3xl) var(--clll-px-2xl)}.clll-banner .clll-banner__content{position:relative;display:flex;align-items:center;z-index:var(--clll-z-index-10);flex-wrap:wrap;flex:1 1 0%}.clll-banner .clll-banner__content .clll-banner__nested_content{display:flex;flex-direction:column;flex-grow:1;gap:var(--clll-unit-0_5)}.clll-banner .clll-banner__content .clll-banner__action-button{display:flex;justify-content:flex-end;flex-grow:1}.clll-banner.clll-banner--dismissable .clll-banner__content{padding-right:var(--clll-unit-14)}.clll-banner.clll-banner--dismissable .clll-banner__dismiss-button{position:absolute;top:var(--clll-unit-4);right:var(--clll-unit-4);z-index:var(--clll-z-index-10)}.clll-banner.clll-banner--actionable .clll-banner__content{gap:var(--clll-px-md)}.clll-banner.clll-banner--rounded{border-radius:var(--clll-rounded-sm)}.clll-banner.clll-banner--rounded.clll-banner--rounded-full,.clll-banner.clll-banner--rounded.clll-banner--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-banner.clll-banner--rounded.clll-banner--rounded-lg,.clll-banner.clll-banner--rounded.clll-banner--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-banner.clll-banner--rounded.clll-banner--rounded-md,.clll-banner.clll-banner--rounded.clll-banner--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-banner.clll-banner--rounded.clll-banner--rounded-sm,.clll-banner.clll-banner--rounded.clll-banner--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-banner.clll-banner--rounded.clll-banner--rounded-xs,.clll-banner.clll-banner--rounded.clll-banner--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-banner.clll-banner--rounded.clll-banner--rounded-xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-2xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-3xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-none,.clll-banner.clll-banner--rounded.clll-banner--rounded-none .clll-{border-radius:0}.clll-banner.clll-banner--busy{pointer-events:none}.clll-banner.clll-banner--align-left{text-align:left}.clll-banner.clll-banner--align-center{text-align:center}.clll-banner.clll-banner--align-right{text-align:right}.clll-banner.clll-banner--bordered{border-style:solid;border-top-width:1px;border-left-width:1px;border-right-width:1px}.clll-banner .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}
1
+ .clll-banner{position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box;padding:var(--clll-py-3xl) var(--clll-px-2xl);background-color:var(--clll-banner-bg-color, transparent);border-color:var(--clll-banner-border-color, transparent)}.clll-banner .clll-banner__content{position:relative;display:flex;align-items:center;z-index:var(--clll-z-index-10);flex-wrap:wrap;flex:1 1 0%}.clll-banner .clll-banner__content .clll-banner__nested_content{display:flex;flex-direction:column;flex-grow:1;gap:var(--clll-unit-0_5)}.clll-banner .clll-banner__content .clll-banner__action-button{display:flex;justify-content:flex-end;flex-grow:1}.clll-banner .clll-banner__content .clll-heading,.clll-banner .clll-banner__content .clll-text{color:var(--clll-banner-text-color, inherit)}.clll-banner.clll-banner--dismissable .clll-banner__content{padding-right:var(--clll-unit-14)}.clll-banner.clll-banner--dismissable .clll-banner__dismiss-button{position:absolute;top:var(--clll-unit-4);right:var(--clll-unit-4);z-index:var(--clll-z-index-10)}.clll-banner.clll-banner--actionable .clll-banner__content{gap:var(--clll-px-md)}.clll-banner.clll-banner--rounded{border-radius:var(--clll-rounded-sm)}.clll-banner.clll-banner--rounded.clll-banner--rounded-full,.clll-banner.clll-banner--rounded.clll-banner--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-banner.clll-banner--rounded.clll-banner--rounded-lg,.clll-banner.clll-banner--rounded.clll-banner--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-banner.clll-banner--rounded.clll-banner--rounded-md,.clll-banner.clll-banner--rounded.clll-banner--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-banner.clll-banner--rounded.clll-banner--rounded-sm,.clll-banner.clll-banner--rounded.clll-banner--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-banner.clll-banner--rounded.clll-banner--rounded-xs,.clll-banner.clll-banner--rounded.clll-banner--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-banner.clll-banner--rounded.clll-banner--rounded-xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-2xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-3xl,.clll-banner.clll-banner--rounded.clll-banner--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-banner.clll-banner--rounded.clll-banner--rounded-none,.clll-banner.clll-banner--rounded.clll-banner--rounded-none .clll-{border-radius:0}.clll-banner.clll-banner--rounded:not([class*=clll-banner--rounded-]){border-radius:var(--clll-banner-theme-radius, var(--clll-rounded-sm))}.clll-banner.clll-banner--busy{pointer-events:none}.clll-banner.clll-banner--align-left{text-align:left}.clll-banner.clll-banner--align-center{text-align:center}.clll-banner.clll-banner--align-right{text-align:right}.clll-banner.clll-banner--bordered{border-style:solid;border-top-width:1px;border-left-width:1px;border-right-width:1px;border-bottom-width:.25rem}.clll-banner .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}