@codeandfunction/callaloo 3.16.1 → 3.16.2
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.
- package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Cdx5rsou.js → CLA11yButton.vue_vue_type_style_index_0_lang-BPM559Fj.js} +1 -1
- package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js → CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js} +4 -4
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-DVuAcV5A.js → CLCard.vue_vue_type_style_index_0_lang-vXK1HBND.js} +6 -6
- package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-fddy-FWI.js → CLFormLabel.vue_vue_type_script_setup_true_lang-B9PYNMYy.js} +1 -1
- package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js → CLHeading.vue_vue_type_style_index_0_lang-HzXfA-v_.js} +1 -1
- package/dist/chunks/{CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js → CLIcon.vue_vue_type_style_index_0_lang-YdXhAQ8-.js} +23 -22
- package/dist/chunks/{CLInputMessages.vue_vue_type_style_index_0_lang-RMOT1TQk.js → CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js} +12 -11
- package/dist/chunks/{CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js → CLLink.vue_vue_type_style_index_0_lang-iHWgurk-.js} +12 -11
- package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-Ckz9MEj5.js → CLNavLink.vue_vue_type_script_setup_true_lang-DBu0BjSA.js} +1 -1
- package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-mkIKVHjg.js → CLPill.vue_vue_type_style_index_0_lang-DZl8_301.js} +3 -3
- package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js → CLProgress.vue_vue_type_style_index_0_lang-B2TZA2aN.js} +2 -2
- package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js → CLSkeleton.vue_vue_type_style_index_0_lang-BDGFXnrV.js} +1 -1
- package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js → CLSpinner.vue_vue_type_style_index_0_lang-BsI680jS.js} +1 -1
- package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js → CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js} +1 -1
- package/dist/chunks/{CLToast.vue_vue_type_style_index_0_lang-DOI4DZGg.js → CLToast.vue_vue_type_style_index_0_lang-C119uLhY.js} +24 -23
- package/dist/chunks/base-theme-CYXVp7iK.js +774 -0
- package/dist/chunks/helper--hRjZVm6.js +62 -0
- package/dist/chunks/{utils-DFnkOeYP.js → utils-B7dbJd6n.js} +26 -25
- package/dist/chunks/{utils-C7Yjsqk-.js → utils-CXZw87Wc.js} +10 -9
- package/dist/chunks/utils-Dgc7kbbm.js +15 -0
- package/dist/chunks/utils-UApzileu.js +387 -0
- package/dist/chunks/utils-aUf_lkSP.js +29 -0
- package/dist/chunks/{utils-D_WP3vZz.js → utils-m8fomrFl.js} +13 -12
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.js +1 -1
- package/dist/components/CLIcon/CLIcon.js +1 -1
- package/dist/components/CLTable/CLTable.js +30 -29
- package/dist/components/Containers/CLCard/CLCard.js +1 -1
- package/dist/components/Containers/CLCarousel/CLCarousel.js +16 -16
- package/dist/components/Containers/CLDisclosure/CLDisclosure.js +6 -6
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +3 -3
- package/dist/components/Form/CLInput/CLInput.js +5 -5
- package/dist/components/Form/CLRadioButton/CLRadioButton.js +2 -2
- package/dist/components/Form/CLSelect/CLSelect.js +3 -3
- package/dist/components/Form/CLTextArea/CLTextArea.js +2 -2
- package/dist/components/Indicators/CLBadge/CLBadge.js +1 -1
- package/dist/components/Indicators/CLBanner/CLBanner.js +6 -6
- package/dist/components/Indicators/CLPill/CLPill.js +1 -1
- package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
- package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
- package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
- package/dist/components/Modals/CLModal/CLModal.js +16 -15
- package/dist/components/Navigation/CLLink/CLLink.js +1 -1
- package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -1
- package/dist/components/Navigation/CLNavSection/CLNavSection.js +2 -2
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +509 -551
- package/dist/components/Popups/CLToast/CLToast.js +1 -1
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +2 -2
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
- package/dist/components/Typography/CLHeading/CLHeading.js +1 -1
- package/dist/components/Typography/CLText/CLText.js +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useDropdown.js +49 -0
- package/dist/{chunks/useEsc-C9QIDZ_8.js → composables/useEsc.js} +2 -2
- package/dist/{chunks/useHasSlotContent-DDqs5uK9.js → composables/useHasSlotContent.js} +2 -2
- package/dist/composables/useTheme.js +33 -0
- package/dist/composables/useToast.js +14 -0
- package/package.json +5 -3
- package/dist/chunks/base-theme-C9_Hz5HW.js +0 -832
- package/dist/chunks/useTheme-yoEfuNvB.js +0 -417
- package/dist/chunks/utils-DTWXs4YX.js +0 -14
- package/dist/chunks/utils-Da9LXXQ0.js +0 -28
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import './CLTable.css';
|
|
2
|
-
import { defineComponent as b, useCssVars as C, computed as u, createElementBlock as a, openBlock as d, normalizeClass as
|
|
2
|
+
import { defineComponent as b, useCssVars as C, computed as u, createElementBlock as a, openBlock as d, normalizeClass as c, unref as n, createElementVNode as y, createCommentVNode as w, renderSlot as s, Fragment as g, renderList as k, normalizeStyle as v, createVNode as L, withCtx as x } from "vue";
|
|
3
3
|
import { CLMode as p, CLColorVariants as T, CLColors as B, CLTableTypes as H, CLTextTypes as N } from "../../index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { g as R, c as m, a as V } from "../../chunks/utils-UApzileu.js";
|
|
5
|
+
import { useTheme as A } from "../../composables/useTheme.js";
|
|
6
|
+
import { _ as S } from "../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
6
7
|
const F = () => {
|
|
7
|
-
const { borderRadius: o, colors: l, darkMode: e } =
|
|
8
|
+
const { borderRadius: o, colors: l, darkMode: e } = A(), i = e.value ? p.Dark : p.Light, t = R({
|
|
8
9
|
color: B.Neutral,
|
|
9
10
|
colors: l.value,
|
|
10
11
|
mode: i,
|
|
11
12
|
variant: T.Outline
|
|
12
13
|
});
|
|
13
14
|
let r;
|
|
14
|
-
return o.value && (r =
|
|
15
|
-
|
|
15
|
+
return o.value && (r = m`&:not([class*='clll-table--rounded-']){&.clll-table-container.clll-table--rounded{border-radius:var(--clll-${o.value})}}`), V(
|
|
16
|
+
m`&.clll-table--bordered{border-color:${t?.border};border-style:solid;border-width:1px;.clll-table{.clll-table__header{.clll-table__row{.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}.clll-table__body{.clll-table__row{border-bottom-color:${t?.border};border-bottom-style:solid;border-bottom-width:1px;.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}.clll-table__footer{.clll-table__row{.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}}}.clll-table{&.clll-table--default,&.clll-table--condensed{.clll-table__header{.clll-table__row{border-bottom-color:${t?.border};border-bottom-style:solid;border-bottom-width:1px}}.clll-table__body{.clll-table__row{border-bottom-color:${t?.border};border-bottom-style:solid;border-bottom-width:1px;&:hover{background-color:${t?.hover}}&:last-child{border-bottom:0}}}.clll-table__footer{.clll-table__row{border-top-color:${t?.border};border-top-style:solid;border-top-width:1px}}}&.clll-table--striped{.clll-table__body{.clll-table__row{&:nth-child(even){background-color:${t?.hover}}}}}&.clll-table--vertical-lines{.clll-table__header{.clll-table__row{.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}.clll-table__body{.clll-table__row{border-bottom-color:${t?.border};border-bottom-style:solid;border-bottom-width:1px;.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}.clll-table__footer{.clll-table__row{.clll-table__cell{border-right-color:${t?.border};border-right-style:solid;border-right-width:1px}}}}.clll-table__cell{&.clll-table__cell--active{background-color:${t?.hover}}}}`,
|
|
16
17
|
r
|
|
17
18
|
);
|
|
18
19
|
}, W = ["data-testid"], z = ["id"], D = { key: 0 }, E = /* @__PURE__ */ b({
|
|
@@ -47,7 +48,7 @@ const F = () => {
|
|
|
47
48
|
l.bordered ? `${e}--bordered` : void 0
|
|
48
49
|
]);
|
|
49
50
|
return (r, h) => (d(), a("div", {
|
|
50
|
-
class:
|
|
51
|
+
class: c([
|
|
51
52
|
n(i),
|
|
52
53
|
n(F)()
|
|
53
54
|
]),
|
|
@@ -55,15 +56,15 @@ const F = () => {
|
|
|
55
56
|
}, [
|
|
56
57
|
y("table", {
|
|
57
58
|
id: `${e}-${o.id}`,
|
|
58
|
-
class:
|
|
59
|
+
class: c(n(t))
|
|
59
60
|
}, [
|
|
60
61
|
o.colWidths?.length ? (d(), a("colgroup", D, [
|
|
61
|
-
(d(!0), a(g, null, k(o.colWidths, (
|
|
62
|
+
(d(!0), a(g, null, k(o.colWidths, ($, f) => (d(), a("col", {
|
|
62
63
|
key: `table-${o.id}-col-${f}`,
|
|
63
|
-
style: v({ width:
|
|
64
|
+
style: v({ width: $ })
|
|
64
65
|
}, null, 4))), 128))
|
|
65
66
|
])) : w("", !0),
|
|
66
|
-
|
|
67
|
+
s(r.$slots, "default")
|
|
67
68
|
], 10, z)
|
|
68
69
|
], 10, W));
|
|
69
70
|
}
|
|
@@ -72,9 +73,9 @@ const F = () => {
|
|
|
72
73
|
__name: "CLTableBody",
|
|
73
74
|
setup(o) {
|
|
74
75
|
return (l, e) => (d(), a("tbody", {
|
|
75
|
-
class:
|
|
76
|
+
class: c([I])
|
|
76
77
|
}, [
|
|
77
|
-
|
|
78
|
+
s(l.$slots, "default")
|
|
78
79
|
], 2));
|
|
79
80
|
}
|
|
80
81
|
}), O = ["colspan"], j = ["colspan"], q = /* @__PURE__ */ b({
|
|
@@ -99,28 +100,28 @@ const F = () => {
|
|
|
99
100
|
]), t = () => l?.onClick?.();
|
|
100
101
|
return (r, h) => o.isHeader ? (d(), a("th", {
|
|
101
102
|
key: 0,
|
|
102
|
-
class:
|
|
103
|
+
class: c(n(i)),
|
|
103
104
|
colspan: o.colSpan,
|
|
104
105
|
onClick: t
|
|
105
106
|
}, [
|
|
106
107
|
o.isAction ? (d(), a("div", {
|
|
107
108
|
key: 1,
|
|
108
|
-
class:
|
|
109
|
+
class: c(`${e}__actions`)
|
|
109
110
|
}, [
|
|
110
|
-
|
|
111
|
-
], 2)) :
|
|
111
|
+
s(r.$slots, "default")
|
|
112
|
+
], 2)) : s(r.$slots, "default", { key: 0 })
|
|
112
113
|
], 10, O)) : (d(), a("td", {
|
|
113
114
|
key: 1,
|
|
114
|
-
class:
|
|
115
|
+
class: c(n(i)),
|
|
115
116
|
colspan: o.colSpan,
|
|
116
117
|
onClick: t
|
|
117
118
|
}, [
|
|
118
119
|
o.isAction ? (d(), a("div", {
|
|
119
120
|
key: 1,
|
|
120
|
-
class:
|
|
121
|
+
class: c(`${e}__actions`)
|
|
121
122
|
}, [
|
|
122
|
-
|
|
123
|
-
], 2)) :
|
|
123
|
+
s(r.$slots, "default")
|
|
124
|
+
], 2)) : s(r.$slots, "default", { key: 0 })
|
|
124
125
|
], 10, j));
|
|
125
126
|
}
|
|
126
127
|
}), G = "clll-table__footer", J = /* @__PURE__ */ b({
|
|
@@ -128,9 +129,9 @@ const F = () => {
|
|
|
128
129
|
__name: "CLTableFooter",
|
|
129
130
|
setup(o) {
|
|
130
131
|
return (l, e) => (d(), a("tfoot", {
|
|
131
|
-
class:
|
|
132
|
+
class: c([G])
|
|
132
133
|
}, [
|
|
133
|
-
|
|
134
|
+
s(l.$slots, "default")
|
|
134
135
|
], 2));
|
|
135
136
|
}
|
|
136
137
|
}), K = "clll-table__header", P = /* @__PURE__ */ b({
|
|
@@ -138,9 +139,9 @@ const F = () => {
|
|
|
138
139
|
__name: "CLTableHeader",
|
|
139
140
|
setup(o) {
|
|
140
141
|
return (l, e) => (d(), a("thead", {
|
|
141
|
-
class:
|
|
142
|
+
class: c([K])
|
|
142
143
|
}, [
|
|
143
|
-
|
|
144
|
+
s(l.$slots, "default")
|
|
144
145
|
], 2));
|
|
145
146
|
}
|
|
146
147
|
}), Q = /* @__PURE__ */ b({
|
|
@@ -152,14 +153,14 @@ const F = () => {
|
|
|
152
153
|
setup(o) {
|
|
153
154
|
const l = "clll-table__nested-cell";
|
|
154
155
|
return (e, i) => (d(), a("div", {
|
|
155
|
-
class:
|
|
156
|
+
class: c(l)
|
|
156
157
|
}, [
|
|
157
158
|
L(n(S), {
|
|
158
159
|
type: n(N).Small,
|
|
159
160
|
truncate: o.truncate
|
|
160
161
|
}, {
|
|
161
162
|
default: x(() => [
|
|
162
|
-
|
|
163
|
+
s(e.$slots, "default")
|
|
163
164
|
]),
|
|
164
165
|
_: 3
|
|
165
166
|
}, 8, ["type", "truncate"])
|
|
@@ -177,10 +178,10 @@ const F = () => {
|
|
|
177
178
|
l.onClick ? `${e}--clickable` : ""
|
|
178
179
|
]), t = () => l?.onClick?.();
|
|
179
180
|
return (r, h) => (d(), a("tr", {
|
|
180
|
-
class:
|
|
181
|
+
class: c(n(i)),
|
|
181
182
|
onClick: t
|
|
182
183
|
}, [
|
|
183
|
-
|
|
184
|
+
s(r.$slots, "default")
|
|
184
185
|
], 2));
|
|
185
186
|
}
|
|
186
187
|
}), _ = E;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './CLCarousel.css';
|
|
2
|
-
import { defineComponent as re, computed as u, createElementBlock as c, openBlock as s, Fragment as
|
|
3
|
-
import { _ as E } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as ce } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { defineComponent as re, computed as u, createElementBlock as c, openBlock as s, Fragment as F, createCommentVNode as C, unref as e, normalizeClass as l, renderList as me, createBlock as he, createElementVNode as y, createVNode as x, withCtx as X, createTextVNode as Y, toDisplayString as q, useCssVars as be, ref as r, onMounted as we, onUnmounted as pe, watch as Ce, renderSlot as Z, nextTick as se } from "vue";
|
|
3
|
+
import { _ as E } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js";
|
|
4
|
+
import { _ as ce } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
5
5
|
import { CLPaginationType as $, CLColorVariants as B, CLSizes as W, CLIconSizes as D, CLIconNames as O, CLTextTypes as xe, CLAlign as A, CLOrder as R, CLColors as ye } from "../../../index.js";
|
|
6
|
-
import { i as H,
|
|
7
|
-
import {
|
|
6
|
+
import { i as H, c as Pe, d as $e } from "../../../chunks/helper--hRjZVm6.js";
|
|
7
|
+
import { useHasSlotContent as Te } from "../../../composables/useHasSlotContent.js";
|
|
8
8
|
const Q = /* @__PURE__ */ re({
|
|
9
9
|
name: "CLCarouselNavigation",
|
|
10
10
|
__name: "CLCarouselNavigation",
|
|
@@ -41,12 +41,12 @@ const Q = /* @__PURE__ */ re({
|
|
|
41
41
|
]), k = u(() => [
|
|
42
42
|
`${o.prefix}__show-more`
|
|
43
43
|
]), L = (m) => o.currentPage === m, v = u(() => !o.enabled || !o.prevPageEnabled), w = u(() => !o.enabled || !o.nextPageEnabled);
|
|
44
|
-
return (m, h) => (s(), c(
|
|
44
|
+
return (m, h) => (s(), c(F, null, [
|
|
45
45
|
a.paginationType === e($).Dots ? (s(), c("div", {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: l(e(i))
|
|
48
48
|
}, [
|
|
49
|
-
(s(!0), c(
|
|
49
|
+
(s(!0), c(F, null, me(a.totalPages, (b) => (s(), he(e(E), {
|
|
50
50
|
key: `dot-${b}`,
|
|
51
51
|
"aria-label": `Show page ${b}`,
|
|
52
52
|
color: a.color,
|
|
@@ -184,9 +184,9 @@ const Q = /* @__PURE__ */ re({
|
|
|
184
184
|
setup(a) {
|
|
185
185
|
be((t) => ({
|
|
186
186
|
v512ef87c: t.width,
|
|
187
|
-
v34e944c2: e(
|
|
187
|
+
v34e944c2: e(U)
|
|
188
188
|
}));
|
|
189
|
-
const o = "clll-carousel", i = a, I = r(), T = r(!1), f = r(1), g = r(i.perPage), N = Te("title"), k = r(!1), L = r(!1), v = r(!1), w = r(), m = r(!1), h = r(), b = r(),
|
|
189
|
+
const o = "clll-carousel", i = a, I = r(), T = r(!1), f = r(1), g = r(i.perPage), N = Te("title"), k = r(!1), L = r(!1), v = r(!1), w = r(), m = r(!1), h = r(), b = r(), U = r("100%"), P = r(0), S = r(0), _ = () => {
|
|
190
190
|
if (i.perPageByBreakpoints?.length) {
|
|
191
191
|
g.value = i.perPage;
|
|
192
192
|
for (const [t, n] of i.perPageByBreakpoints)
|
|
@@ -217,7 +217,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
217
217
|
const n = Pe(I.value) && !N.value;
|
|
218
218
|
!n && (t.title || t.controlPosition === R.Before) ? T.value = !1 : T.value = n;
|
|
219
219
|
});
|
|
220
|
-
},
|
|
220
|
+
}, j = (t) => {
|
|
221
221
|
const n = h?.value, d = n.offsetWidth;
|
|
222
222
|
if (n && d) {
|
|
223
223
|
const p = t - 1, z = d * p;
|
|
@@ -243,7 +243,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
243
243
|
const t = h?.value;
|
|
244
244
|
if (t) {
|
|
245
245
|
const n = t.offsetWidth;
|
|
246
|
-
S.value >= g.value ?
|
|
246
|
+
S.value >= g.value ? U.value = `${n / g.value}px` : U.value = `${n / S.value}px`;
|
|
247
247
|
}
|
|
248
248
|
}, J = () => {
|
|
249
249
|
const t = h?.value, n = t.offsetWidth;
|
|
@@ -329,7 +329,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
329
329
|
_: 1
|
|
330
330
|
}, 8, ["align"])
|
|
331
331
|
], 2)) : C("", !0),
|
|
332
|
-
a.controlPosition === e(R).Before && ![e($).Inline, e($).Hidden].includes(a.paginationType) ? (s(), c(
|
|
332
|
+
a.controlPosition === e(R).Before && ![e($).Inline, e($).Hidden].includes(a.paginationType) ? (s(), c(F, { key: 1 }, [
|
|
333
333
|
e(P) && e(S) > e(g) ? (s(), c("div", {
|
|
334
334
|
key: 0,
|
|
335
335
|
class: l(e(le))
|
|
@@ -338,7 +338,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
338
338
|
color: a.color,
|
|
339
339
|
"current-page": e(f),
|
|
340
340
|
enabled: !e(m),
|
|
341
|
-
"goto-page":
|
|
341
|
+
"goto-page": j,
|
|
342
342
|
"more-label": a.moreLabel,
|
|
343
343
|
"next-page-enabled": e(k),
|
|
344
344
|
"pagination-type": a.paginationType,
|
|
@@ -361,7 +361,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
361
361
|
}, [
|
|
362
362
|
Z(t.$slots, "default")
|
|
363
363
|
], 2),
|
|
364
|
-
a.controlPosition === e(R).After && ![e($).Inline, e($).Hidden].includes(a.paginationType) ? (s(), c(
|
|
364
|
+
a.controlPosition === e(R).After && ![e($).Inline, e($).Hidden].includes(a.paginationType) ? (s(), c(F, { key: 0 }, [
|
|
365
365
|
e(P) && e(S) > e(g) ? (s(), c("div", {
|
|
366
366
|
key: 0,
|
|
367
367
|
class: l(`${o}__slide-controls`)
|
|
@@ -373,7 +373,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
373
373
|
color: a.color,
|
|
374
374
|
"current-page": e(f),
|
|
375
375
|
enabled: !e(m),
|
|
376
|
-
"goto-page":
|
|
376
|
+
"goto-page": j,
|
|
377
377
|
"more-label": a.moreLabel,
|
|
378
378
|
"next-page-enabled": e(k),
|
|
379
379
|
"pagination-type": a.paginationType,
|
|
@@ -399,7 +399,7 @@ const Q = /* @__PURE__ */ re({
|
|
|
399
399
|
color: a.color,
|
|
400
400
|
"current-page": e(f),
|
|
401
401
|
enabled: !e(m),
|
|
402
|
-
"goto-page":
|
|
402
|
+
"goto-page": j,
|
|
403
403
|
"more-label": a.moreLabel,
|
|
404
404
|
"next-page-enabled": e(k),
|
|
405
405
|
"pagination-type": a.paginationType,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './CLDisclosure.css';
|
|
2
2
|
import { defineComponent as S, ref as g, computed as $, onBeforeUnmount as L, createElementBlock as I, openBlock as i, normalizeClass as o, unref as d, createElementVNode as c, createVNode as T, withCtx as u, createBlock as l, createCommentVNode as s, createTextVNode as b, toDisplayString as y, renderSlot as H } from "vue";
|
|
3
|
-
import { _ as k } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as E } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { _ as h } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { _ as N } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as k } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js";
|
|
4
|
+
import { _ as E } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-HzXfA-v_.js";
|
|
5
|
+
import { _ as h } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-YdXhAQ8-.js";
|
|
6
|
+
import { _ as N } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
7
7
|
import { CLColorVariants as R, CLSizes as w, CLTextTypes as A, CLIconSizes as D, CLIconNames as C, CLHeadingTypes as V, CLColors as p, CLBorderRadius as M, CLButtonTypes as U } from "../../../index.js";
|
|
8
|
-
import { d as F } from "../../../chunks/utils-
|
|
9
|
-
import {
|
|
8
|
+
import { d as F } from "../../../chunks/utils-m8fomrFl.js";
|
|
9
|
+
import { useEsc as j } from "../../../composables/useEsc.js";
|
|
10
10
|
const q = ["data-testid"], G = ["id", "aria-labelledby", "aria-hidden"], _ = /* @__PURE__ */ S({
|
|
11
11
|
name: "CLDisclosure",
|
|
12
12
|
__name: "CLDisclosure",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './CLCheckbox.css';
|
|
2
2
|
import { defineComponent as T, mergeModels as B, useTemplateRef as z, useModel as S, computed as y, createBlock as r, openBlock as f, withCtx as $, createElementVNode as s, createCommentVNode as C, normalizeClass as i, unref as n, withDirectives as M, vModelCheckbox as V, createVNode as q, createTextVNode as F, toDisplayString as N } from "vue";
|
|
3
|
-
import { _ as I, c as R, a as D } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as X } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { _ as w } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as I, c as R, a as D } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js";
|
|
4
|
+
import { _ as X } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-YdXhAQ8-.js";
|
|
5
|
+
import { _ as w } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
6
6
|
import { CLSizes as o, CLIconSizes as u, CLTextTypes as c, CLIconNames as E, CLColorVariants as H, CLColors as O } from "../../../index.js";
|
|
7
7
|
const U = ["data-testid"], j = ["for", "disabled"], A = ["id", "aria-label", "disabled", "form", "name", "required", "value"], Y = /* @__PURE__ */ T({
|
|
8
8
|
name: "CLCheckbox",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './CLInput.css';
|
|
2
2
|
import { defineComponent as v, computed as I, createElementBlock as p, openBlock as n, normalizeClass as x, unref as a, createBlock as m, Fragment as M, createTextVNode as q, toDisplayString as R, createVNode as K, ref as w, watch as T, createCommentVNode as g, mergeModels as N, useTemplateRef as Q, useModel as W, withCtx as Y, createElementVNode as L, withDirectives as Z, vModelDynamic as _, isRef as ee } from "vue";
|
|
3
|
-
import { _ as le, i as te, a as ae } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as ie } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as le, i as te, a as ae } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js";
|
|
4
|
+
import { _ as ie } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-B9PYNMYy.js";
|
|
5
5
|
import { _ as oe } from "../../../chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js";
|
|
6
|
-
import { _ as X } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-
|
|
6
|
+
import { _ as X } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-YdXhAQ8-.js";
|
|
7
7
|
import { CLSizes as u, CLBorderRadius as H, CLIconSizes as r, CLIconNames as h, CLColors as k, CLColorVariants as S, CLInputTypes as o, CLOrientation as B, CLCharCounterLayout as ne } from "../../../index.js";
|
|
8
|
-
import { _ as ue } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-
|
|
9
|
-
import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
8
|
+
import { _ as ue } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-DZl8_301.js";
|
|
9
|
+
import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js";
|
|
10
10
|
const de = ["data-testid"], E = /* @__PURE__ */ v({
|
|
11
11
|
name: "CLInputPrefix",
|
|
12
12
|
__name: "CLInputPrefix",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './CLRadioButton.css';
|
|
2
2
|
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";
|
|
3
|
-
import { _ as S, c as z, a as F } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as N } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as S, c as z, a as F } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js";
|
|
4
|
+
import { _ as N } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
5
5
|
import { CLSizes as s, CLTextTypes as i, CLColorVariants as w, CLColors as D } from "../../../index.js";
|
|
6
6
|
const I = ["data-testid"], X = ["for"], E = ["id", "aria-label", "checked", "disabled", "name", "value", "required"], A = /* @__PURE__ */ k({
|
|
7
7
|
name: "CLRadioButton",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './CLSelect.css';
|
|
2
2
|
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";
|
|
3
|
-
import { _ as R, s as D, a as w } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as E } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as H } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as R, s as D, a as w } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js";
|
|
4
|
+
import { _ as E } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-B9PYNMYy.js";
|
|
5
|
+
import { _ as H } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-YdXhAQ8-.js";
|
|
6
6
|
import { CLSizes as n, CLIconSizes as s, CLOrientation as y, CLIconNames as O, CLColorVariants as P, CLColors as U } from "../../../index.js";
|
|
7
7
|
const X = ["data-testid"], j = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], A = ["value", "selected", "disabled"], Z = /* @__PURE__ */ B({
|
|
8
8
|
name: "CLSelect",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './CLTextArea.css';
|
|
2
2
|
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";
|
|
3
|
-
import { _ as k, i as T, a as q } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as V } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as k, i as T, a as q } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNAW5shz.js";
|
|
4
|
+
import { _ as V } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-B9PYNMYy.js";
|
|
5
5
|
import { _ as w } from "../../../chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js";
|
|
6
6
|
import { CLOrientation as f, CLCharCounterLayout as I, CLColorVariants as F, CLSizes as R, CLColors as M } from "../../../index.js";
|
|
7
7
|
const A = ["data-testid"], N = ["id", "aria-label", "autocomplete", "cols", "disabled", "form", "maxlength", "minlength", "name", "pattern", "placeholder", "readonly", "required", "spellcheck", "rows"], U = /* @__PURE__ */ g({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './CLBadge.css';
|
|
2
2
|
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";
|
|
3
3
|
import { CLColorVariants as g, CLColors as p } from "../../../index.js";
|
|
4
|
-
import { b as C } from "../../../chunks/utils-
|
|
4
|
+
import { b as C } from "../../../chunks/utils-B7dbJd6n.js";
|
|
5
5
|
const v = ["data-testid"], h = /* @__PURE__ */ c({
|
|
6
6
|
name: "CLBadge",
|
|
7
7
|
__name: "CLBadge",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import './CLBanner.css';
|
|
2
2
|
import { defineComponent as v, useCssVars as h, computed as x, createBlock as l, openBlock as n, unref as a, withCtx as s, createElementVNode as m, normalizeClass as r, createElementBlock as b, createCommentVNode as o, createTextVNode as f, toDisplayString as c, createVNode as $ } from "vue";
|
|
3
|
-
import { _ as B } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as C } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { _ as S } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { _ as k } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { _ as z } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as B } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-BPM559Fj.js";
|
|
4
|
+
import { _ as C } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js";
|
|
5
|
+
import { _ as S } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-HzXfA-v_.js";
|
|
6
|
+
import { _ as k } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-BDGFXnrV.js";
|
|
7
|
+
import { _ as z } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
8
8
|
import { CLColorVariants as d, CLColors as D, CLAlign as T, CLHeadingTypes as N, CLTextTypes as V, CLSizes as w, CLIconSizes as A, CLIconNames as I } from "../../../index.js";
|
|
9
|
-
import { c as R } from "../../../chunks/utils-
|
|
9
|
+
import { c as R } from "../../../chunks/utils-B7dbJd6n.js";
|
|
10
10
|
const E = ["data-testid"], O = /* @__PURE__ */ v({
|
|
11
11
|
name: "CLBanner",
|
|
12
12
|
__name: "CLBanner",
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import './CLModal.css';
|
|
2
|
-
import { defineComponent as W, useCssVars as F, unref as n, computed as m, useTemplateRef as U, useSlots as Z, ref as j, watch as q, onMounted as A, onBeforeUnmount as G, createElementBlock as
|
|
3
|
-
import { _ as X } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
4
|
-
import { _ as Y } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { defineComponent as W, useCssVars as F, unref as n, computed as m, useTemplateRef as U, useSlots as Z, ref as j, watch as q, onMounted as A, onBeforeUnmount as G, createElementBlock as p, createCommentVNode as f, openBlock as v, normalizeClass as a, createElementVNode as r, createBlock as g, renderSlot as $, withCtx as J, createTextVNode as K, toDisplayString as P, normalizeStyle as Q } from "vue";
|
|
3
|
+
import { _ as X } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-DiT4TwiW.js";
|
|
4
|
+
import { _ as Y } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-HzXfA-v_.js";
|
|
5
5
|
import { CLMode as k, CLColors as R, CLColorVariants as T, CLBorderRadius as ee, CLIconSizes as oe, CLIconNames as te, CLHeadingTypes as le } from "../../../index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { g as ne, c as B, a as ae } from "../../../chunks/utils-UApzileu.js";
|
|
7
|
+
import { useTheme as se } from "../../../composables/useTheme.js";
|
|
8
|
+
import { useEsc as de } from "../../../composables/useEsc.js";
|
|
9
|
+
import { b as S, i as s } from "../../../chunks/helper--hRjZVm6.js";
|
|
9
10
|
const re = () => {
|
|
10
|
-
const { borderRadius: t, colors: w, darkMode: c } =
|
|
11
|
+
const { borderRadius: t, colors: w, darkMode: c } = se(), d = c.value ? k.Dark : k.Light, u = ne({
|
|
11
12
|
color: R.Neutral,
|
|
12
13
|
colors: w.value,
|
|
13
14
|
mode: d,
|
|
14
15
|
variant: T.Solid
|
|
15
16
|
}), o = c.value ? "black" : "white";
|
|
16
17
|
let e;
|
|
17
|
-
return t.value && (e = B`&.clll-modal{.clll-modal__window{.clll-modal__content:not([class*='clll-modal__content--rounded-']){border-radius:var(--clll-${t.value});}}}`),
|
|
18
|
-
}, ie = ["id", "data-testid"], ce = ["aria-labelledby"],
|
|
18
|
+
return t.value && (e = B`&.clll-modal{.clll-modal__window{.clll-modal__content:not([class*='clll-modal__content--rounded-']){border-radius:var(--clll-${t.value});}}}`), ae(B`.clll-modal__overlay{background-color:${u?.bg};}.clll-modal__window{.clll-modal__content{background:${o}}}`, e);
|
|
19
|
+
}, ie = ["id", "data-testid"], ce = ["aria-labelledby"], $e = /* @__PURE__ */ W({
|
|
19
20
|
name: "CLModal",
|
|
20
21
|
__name: "CLModal",
|
|
21
22
|
props: {
|
|
@@ -88,7 +89,7 @@ const re = () => {
|
|
|
88
89
|
const { clearEventListeners: D } = de({ escHandler: o.dismissible ? z : void 0 });
|
|
89
90
|
return G(() => {
|
|
90
91
|
I(), D();
|
|
91
|
-
}), (l, i) => t.isOpen ? (v(),
|
|
92
|
+
}), (l, i) => t.isOpen ? (v(), p("div", {
|
|
92
93
|
key: 0,
|
|
93
94
|
id: t.modalId,
|
|
94
95
|
class: a([n(N), n(re)()]),
|
|
@@ -108,7 +109,7 @@ const re = () => {
|
|
|
108
109
|
r("div", {
|
|
109
110
|
class: a(`${e}__close-button`)
|
|
110
111
|
}, [
|
|
111
|
-
t.onClose && t.close ? (v(),
|
|
112
|
+
t.onClose && t.close ? (v(), g(n(X), {
|
|
112
113
|
key: 0,
|
|
113
114
|
"aria-label": "Close modal",
|
|
114
115
|
"border-radius": t.closeBorderRadius,
|
|
@@ -129,7 +130,7 @@ const re = () => {
|
|
|
129
130
|
r("div", {
|
|
130
131
|
class: a(`${e}__content__header__container`)
|
|
131
132
|
}, [
|
|
132
|
-
t.title ? (v(),
|
|
133
|
+
t.title ? (v(), g(n(Y), {
|
|
133
134
|
key: 0,
|
|
134
135
|
id: `${e}__content__header__title`,
|
|
135
136
|
class: a(`${e}__content__header__title`),
|
|
@@ -160,7 +161,7 @@ const re = () => {
|
|
|
160
161
|
], 2)
|
|
161
162
|
], 10, ce)
|
|
162
163
|
], 2),
|
|
163
|
-
t.overlay ? (v(),
|
|
164
|
+
t.overlay ? (v(), p("div", {
|
|
164
165
|
key: 0,
|
|
165
166
|
ref: "overlay-ref",
|
|
166
167
|
class: a(`${e}__overlay`),
|
|
@@ -170,6 +171,6 @@ const re = () => {
|
|
|
170
171
|
}
|
|
171
172
|
});
|
|
172
173
|
export {
|
|
173
|
-
|
|
174
|
-
|
|
174
|
+
$e as CLModal,
|
|
175
|
+
$e as default
|
|
175
176
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './CLNavSection.css';
|
|
2
2
|
import { defineComponent as f, computed as u, createElementBlock as a, openBlock as l, normalizeClass as m, unref as r, Fragment as p, renderList as _, createVNode as i, withCtx as n, createTextVNode as C, toDisplayString as x } from "vue";
|
|
3
|
-
import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-DBu0BjSA.js";
|
|
4
|
+
import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-CPdNgG4V.js";
|
|
5
5
|
import { CLOrientation as h, CLColors as $ } from "../../../index.js";
|
|
6
6
|
const g = ["data-testid"], V = /* @__PURE__ */ f({
|
|
7
7
|
name: "CLNavSection",
|