@codeandfunction/callaloo 3.16.7 → 3.16.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js → CLA11yButton.vue_vue_type_style_index_0_lang-Cl1pOJvL.js} +2 -2
- package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CQipGQ26.js → CLButton.vue_vue_type_style_index_0_lang-BiyeNLFr.js} +3 -3
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-CAjsSjd9.js → CLCard.vue_vue_type_style_index_0_lang-B7_6uqSs.js} +3 -3
- package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +1 -1
- package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js +1 -1
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-R0Nhlutc.js +1 -1
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CtXwFFjZ.js +148 -0
- package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-DCwTmOOz.js +1 -1
- package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-B1MuCUnW.js → CLPill.vue_vue_type_style_index_0_lang-BsGpHn52.js} +3 -3
- package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-DVJDbuDr.js → CLProgress.vue_vue_type_style_index_0_lang-Cqdkf70C.js} +2 -2
- package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang--LtiFHSO.js → CLSkeleton.vue_vue_type_style_index_0_lang-DT23xe5d.js} +2 -2
- package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js → CLSpinner.vue_vue_type_style_index_0_lang-DU0dl3yu.js} +2 -2
- package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js +1 -1
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-BNlgk9Fz.js +182 -0
- package/dist/chunks/utils-B_-25pfO.js +85 -0
- package/dist/chunks/utils-BipQQo6V.js +41 -0
- package/dist/chunks/utils-DmkkE-9U.js +24 -0
- package/dist/chunks/utils-DxdFsNHx.js +37 -0
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.css +1 -1
- package/dist/components/Buttons/CLButton/CLButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
- package/dist/components/Buttons/utils.d.ts +2 -2
- package/dist/components/CLTable/CLTable.js +58 -58
- package/dist/components/CLTable/utils.d.ts +1 -1
- package/dist/components/Containers/CLCard/CLCard.css +1 -1
- package/dist/components/Containers/CLCard/CLCard.js +1 -1
- package/dist/components/Containers/CLCarousel/CLCarousel.js +2 -2
- package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
- package/dist/components/Containers/CLDisclosure/CLDisclosure.js +23 -23
- package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +0 -1
- package/dist/components/Containers/utils.d.ts +2 -2
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +25 -25
- package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +1 -1
- package/dist/components/Form/CLInput/CLInput.css +1 -1
- package/dist/components/Form/CLInput/CLInput.js +50 -50
- package/dist/components/Form/CLInput/CLInput.vue.d.ts +2 -2
- package/dist/components/Form/CLInput/CLInputPrefix.vue.d.ts +1 -1
- package/dist/components/Form/CLInput/CLInputSuffix.vue.d.ts +1 -1
- package/dist/components/Form/CLRadioButton/CLRadioButton.js +21 -21
- package/dist/components/Form/CLSelect/CLSelect.js +18 -18
- package/dist/components/Form/CLTextArea/CLTextArea.js +13 -13
- package/dist/components/Form/utils.d.ts +6 -6
- package/dist/components/Indicators/CLBadge/CLBadge.js +2 -2
- package/dist/components/Indicators/CLBanner/CLBanner.js +5 -5
- package/dist/components/Indicators/CLPill/CLPill.js +1 -1
- package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
- package/dist/components/Indicators/utils.d.ts +3 -3
- package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
- package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
- package/dist/components/Loading/utils.d.ts +1 -1
- package/dist/components/Modals/CLModal/CLModal.js +38 -38
- package/dist/components/Modals/CLModal/CLModal.vue.d.ts +1 -1
- package/dist/components/Modals/utils.d.ts +1 -1
- package/dist/components/Navigation/CLNavSection/CLNavSection.js +1 -1
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +3 -3
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
- package/dist/components/Popups/CLToast/CLToast.js +1 -1
- package/dist/components/Popups/utils.d.ts +1 -1
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +19 -19
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
- package/dist/index.js +0 -1
- package/package.json +2 -1
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +0 -153
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-Bhat3Q9Z.js +0 -182
- package/dist/chunks/utils-CAV1sBee.js +0 -24
- package/dist/chunks/utils-Sqgt8Fa4.js +0 -85
- package/dist/chunks/utils-cOhtsyeB.js +0 -41
- package/dist/chunks/utils-zJwcNHl4.js +0 -37
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { CLMode as t, CLColorVariants as d, CLColors as b } from "../index.js";
|
|
2
|
-
import { g as p } from "./utils-CS9Gz4oX.js";
|
|
3
|
-
import { useTheme as u } from "../composables/useTheme.js";
|
|
4
|
-
const v = ({
|
|
5
|
-
color: a = b.Primary,
|
|
6
|
-
variant: r
|
|
7
|
-
}) => {
|
|
8
|
-
const { borderRadius: o, colors: e, darkMode: n } = u(), s = n.value ? t.Dark : t.Light, l = r === d.Outline, i = p({
|
|
9
|
-
color: a,
|
|
10
|
-
colors: e.value,
|
|
11
|
-
mode: s,
|
|
12
|
-
variant: r
|
|
13
|
-
});
|
|
14
|
-
return {
|
|
15
|
-
"--clll-badge-bg-color": i?.bg ?? "transparent",
|
|
16
|
-
"--clll-badge-border-color": l ? i?.border ?? "transparent" : "transparent",
|
|
17
|
-
"--clll-badge-border-style": l ? "solid" : "none",
|
|
18
|
-
"--clll-badge-border-width": l ? "1px" : "0",
|
|
19
|
-
"--clll-badge-text-color": i?.text ?? "inherit",
|
|
20
|
-
"--clll-badge-theme-radius": o.value ? `var(--clll-${o.value})` : void 0
|
|
21
|
-
};
|
|
22
|
-
}, x = ({
|
|
23
|
-
color: a = b.Primary,
|
|
24
|
-
variant: r
|
|
25
|
-
}) => {
|
|
26
|
-
const { borderRadius: o, colors: e, darkMode: n } = u(), s = n.value ? t.Dark : t.Light, l = p({
|
|
27
|
-
color: a,
|
|
28
|
-
colors: e.value,
|
|
29
|
-
mode: s,
|
|
30
|
-
variant: r
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
"--clll-banner-bg-color": l?.bg ?? "transparent",
|
|
34
|
-
"--clll-banner-border-color": l?.focus ?? "transparent",
|
|
35
|
-
"--clll-banner-text-color": l?.text ?? "inherit",
|
|
36
|
-
"--clll-banner-theme-radius": o.value ? `var(--clll-${o.value})` : void 0
|
|
37
|
-
};
|
|
38
|
-
}, k = ({
|
|
39
|
-
color: a = b.Primary,
|
|
40
|
-
variant: r
|
|
41
|
-
}) => {
|
|
42
|
-
const { borderRadius: o, colors: e, darkMode: n } = u(), s = n.value ? t.Dark : t.Light, l = r === d.Outline, i = r === d.Ghost, c = p({
|
|
43
|
-
color: a,
|
|
44
|
-
colors: e.value,
|
|
45
|
-
mode: s,
|
|
46
|
-
variant: r
|
|
47
|
-
});
|
|
48
|
-
return {
|
|
49
|
-
"--clll-pill-bg-color": c?.bg ?? "transparent",
|
|
50
|
-
"--clll-pill-border-color": l ? c?.border ?? "transparent" : "transparent",
|
|
51
|
-
"--clll-pill-border-style": l ? "solid" : "none",
|
|
52
|
-
"--clll-pill-border-width": l ? "1px" : "0",
|
|
53
|
-
"--clll-pill-text-color": c?.text ?? "inherit",
|
|
54
|
-
"--clll-pill-hover-bg": c?.bg ?? "transparent",
|
|
55
|
-
"--clll-pill-count-bg": !l && !i ? c?.hover ?? "transparent" : "transparent",
|
|
56
|
-
"--clll-pill-count-border-style": l ? "solid" : "none",
|
|
57
|
-
"--clll-pill-count-border-color": l ? c?.border ?? "transparent" : "transparent",
|
|
58
|
-
"--clll-pill-count-border-width": l ? "1px" : "0",
|
|
59
|
-
"--clll-pill-theme-radius": o.value ? `var(--clll-${o.value})` : void 0
|
|
60
|
-
};
|
|
61
|
-
}, C = ({
|
|
62
|
-
color: a = b.Primary
|
|
63
|
-
}) => {
|
|
64
|
-
const { colors: r, darkMode: o } = u(), e = o.value ? t.Dark : t.Light, n = p({
|
|
65
|
-
color: a,
|
|
66
|
-
colors: r.value,
|
|
67
|
-
mode: e,
|
|
68
|
-
variant: d.Solid
|
|
69
|
-
});
|
|
70
|
-
return {
|
|
71
|
-
"--clll-progress-container-bg": p({
|
|
72
|
-
color: b.Neutral,
|
|
73
|
-
colors: r.value,
|
|
74
|
-
mode: e,
|
|
75
|
-
variant: d.Solid
|
|
76
|
-
})?.disabled ?? "transparent",
|
|
77
|
-
"--clll-progress-bar-bg": n?.bg ?? "transparent"
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export {
|
|
81
|
-
C as a,
|
|
82
|
-
v as b,
|
|
83
|
-
x as c,
|
|
84
|
-
k as p
|
|
85
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CLMode as e, CLColorVariants as c } from "../index.js";
|
|
2
|
-
import { g as d } from "./utils-CS9Gz4oX.js";
|
|
3
|
-
import { useTheme as b } from "../composables/useTheme.js";
|
|
4
|
-
const h = ({ color: a }) => {
|
|
5
|
-
const { borderRadius: t, colors: l, darkMode: n } = b(), s = n.value ? e.Dark : e.Light, r = d({
|
|
6
|
-
color: a,
|
|
7
|
-
colors: l.value,
|
|
8
|
-
mode: s,
|
|
9
|
-
variant: c.Solid
|
|
10
|
-
});
|
|
11
|
-
return {
|
|
12
|
-
"--clll-a11y-button-outline-color": r?.focus ?? "transparent",
|
|
13
|
-
"--clll-a11y-button-border-color": r?.focus ?? "transparent",
|
|
14
|
-
"--clll-a11y-button-shadow-color": r?.shadow ?? "transparent",
|
|
15
|
-
"--clll-a11y-button-theme-radius": t.value ? `var(--clll-${t.value})` : void 0
|
|
16
|
-
};
|
|
17
|
-
}, m = ({
|
|
18
|
-
color: a,
|
|
19
|
-
variant: t = c.Soft
|
|
20
|
-
}) => {
|
|
21
|
-
const { borderRadius: l, colors: n, darkMode: s } = b(), r = s.value ? e.Dark : e.Light, u = t === c.Outline, o = d({
|
|
22
|
-
color: a,
|
|
23
|
-
colors: n.value,
|
|
24
|
-
mode: r,
|
|
25
|
-
variant: t
|
|
26
|
-
});
|
|
27
|
-
return {
|
|
28
|
-
"--clll-button-text-color": o?.text ?? "inherit",
|
|
29
|
-
"--clll-button-bg-color": o?.bg ?? "transparent",
|
|
30
|
-
"--clll-button-border-color": u ? o?.border ?? "transparent" : "transparent",
|
|
31
|
-
"--clll-button-hover-bg": o?.hover ?? "transparent",
|
|
32
|
-
"--clll-button-hover-border": u ? o?.borderHover ?? "transparent" : "transparent",
|
|
33
|
-
"--clll-button-focus-border": o?.focus ?? "transparent",
|
|
34
|
-
"--clll-button-focus-shadow": o?.shadow ?? "transparent",
|
|
35
|
-
"--clll-button-theme-radius": l.value ? `var(--clll-${l.value})` : void 0
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
h as a,
|
|
40
|
-
m as b
|
|
41
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CLMode as t, CLColorVariants as n } from "../index.js";
|
|
2
|
-
import { g as u } from "./utils-CS9Gz4oX.js";
|
|
3
|
-
import { useTheme as i } from "../composables/useTheme.js";
|
|
4
|
-
const b = ({ color: s, variant: o }) => {
|
|
5
|
-
const { borderRadius: l, colors: c, darkMode: a } = i(), d = a.value ? t.Dark : t.Light, e = o === n.Ghost, r = u({
|
|
6
|
-
color: s,
|
|
7
|
-
colors: c.value,
|
|
8
|
-
mode: d,
|
|
9
|
-
variant: o
|
|
10
|
-
});
|
|
11
|
-
return {
|
|
12
|
-
"--clll-card-border-color": e ? "transparent" : r?.border ?? "transparent",
|
|
13
|
-
"--clll-card-bg-color": r?.bg ?? "transparent",
|
|
14
|
-
"--clll-card-image-bg": r?.bg ?? "transparent",
|
|
15
|
-
"--clll-card-text-color": r?.text ?? "inherit",
|
|
16
|
-
"--clll-card-focus-border": r?.focus ?? "transparent",
|
|
17
|
-
"--clll-card-focus-shadow": r?.shadow ?? "transparent",
|
|
18
|
-
"--clll-card-theme-radius": l.value ? `var(--clll-${l.value})` : void 0
|
|
19
|
-
};
|
|
20
|
-
}, v = ({ color: s, variant: o }) => {
|
|
21
|
-
const { borderRadius: l, colors: c, darkMode: a } = i(), d = a.value ? t.Dark : t.Light, e = o === n.Ghost, r = u({
|
|
22
|
-
color: s,
|
|
23
|
-
colors: c.value,
|
|
24
|
-
mode: d,
|
|
25
|
-
variant: o
|
|
26
|
-
});
|
|
27
|
-
return {
|
|
28
|
-
"--clll-disclosure-border-color": e ? "transparent" : r?.focus ?? "transparent",
|
|
29
|
-
"--clll-disclosure-text-color": r?.text ?? "inherit",
|
|
30
|
-
"--clll-disclosure-content-border": e ? "transparent" : r?.focus ?? "transparent",
|
|
31
|
-
"--clll-disclosure-theme-radius": l.value ? `var(--clll-${l.value})` : void 0
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
b as c,
|
|
36
|
-
v as d
|
|
37
|
-
};
|