@codeandfunction/callaloo 4.9.4 → 4.9.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.
- package/dist/callaloo.global.js +1 -1
- package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-BHF3fJsf.js +2 -0
- package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-hEXnJ7H1.js +2 -0
- package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-BqrGuMVB.js +2 -0
- package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-BGKjh5vA.js +2 -0
- package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-BYHbqaf0.js +2 -0
- package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-BPwFZq94.js +1 -0
- package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-CsmrsD6c.js +2 -0
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-Cjt6fX90.js +2 -0
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DCByJ7MB.js +2 -0
- package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-C9_EwMBi.js +2 -0
- package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-DroQPRWC.js +2 -0
- package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dqr8A_2Z.js +1 -0
- package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DCtH-u0_.js +2 -0
- package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-BmjT9fQ_.js +2 -0
- package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-DgZLt9T1.js +2 -0
- package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-CMXJdE-D.js +2 -0
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CtXJMlF9.js +2 -0
- package/dist/chunks/context-CRxE5KWX.js +1 -0
- package/dist/chunks/context-JmPivI9V.js +1 -0
- package/dist/chunks/floating-ui.vue-C0JWy0Dz.js +1 -0
- package/dist/chunks/helper-C542dSLs.js +1 -0
- package/dist/chunks/icons-6SVrmx7c.js +1 -0
- package/dist/chunks/utils-C1iUBPIL.js +1 -0
- package/dist/chunks/utils-CCWSWRuR.js +1 -0
- package/dist/chunks/utils-CYywa195.js +1 -0
- package/dist/chunks/utils-DVxwAjJ4.js +1 -0
- package/dist/chunks/utils-Dst7nzvj.js +1 -0
- package/dist/chunks/utils-MElq6rY3.js +1 -0
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -5
- package/dist/components/Buttons/CLButton/CLButton.js +1 -5
- package/dist/components/CLIcon/CLIcon.js +1 -5
- package/dist/components/CLTable/CLTable.js +1 -192
- package/dist/components/Containers/CLCard/CLCard.js +1 -5
- package/dist/components/Containers/CLCarousel/CLCarousel.js +1 -544
- package/dist/components/Containers/CLDisclosure/CLDisclosure.js +1 -139
- package/dist/components/Containers/CLDrawer/CLDrawer.js +1 -119
- package/dist/components/Form/CLCalendar/CLCalendar.js +1 -5
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +1 -150
- package/dist/components/Form/CLInput/CLInput.js +1 -450
- package/dist/components/Form/CLInputDatePicker/CLInputDatePicker.js +1 -178
- package/dist/components/Form/CLRadioButton/CLRadioButton.js +1 -135
- package/dist/components/Form/CLSelect/CLSelect.js +1 -140
- package/dist/components/Form/CLTextArea/CLTextArea.js +1 -149
- package/dist/components/Indicators/CLBadge/CLBadge.js +1 -40
- package/dist/components/Indicators/CLBanner/CLBanner.js +1 -145
- package/dist/components/Indicators/CLPill/CLPill.js +1 -5
- package/dist/components/Indicators/CLProgress/CLProgress.js +1 -64
- package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -5
- package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -5
- package/dist/components/Modals/CLModal/CLModal.js +1 -5
- package/dist/components/Modals/CLModalDatePicker/CLModalDatePicker.js +1 -182
- package/dist/components/Navigation/CLLink/CLLink.js +1 -5
- package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -5
- package/dist/components/Navigation/CLNavSection/CLNavSection.js +1 -54
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +1 -150
- package/dist/components/Popups/CLToast/CLToast.js +1 -5
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +1 -8
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -7
- package/dist/components/Typography/CLHeading/CLHeading.js +1 -5
- package/dist/components/Typography/CLText/CLText.js +1 -5
- package/dist/composables/useDateInputMask.js +1 -38
- package/dist/composables/useDatePicker.js +1 -140
- package/dist/composables/useDropdown.js +1 -49
- package/dist/composables/useElementSize.js +1 -73
- package/dist/composables/useEsc.js +1 -19
- package/dist/composables/useHasSlotContent.js +1 -14
- package/dist/composables/useTheme.js +1 -40
- package/dist/composables/useToast.js +1 -17
- package/dist/index.js +1 -30
- package/package.json +20 -20
- package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-zGLnnSIW.js +0 -47
- package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-MvhnNzVW.js +0 -136
- package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-Bz1JdT1A.js +0 -163
- package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-Sre7UYZd.js +0 -263
- package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +0 -39
- package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CIQxM6aH.js +0 -46
- package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-DH5oJc1C.js +0 -52
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-Dhr2tI-g.js +0 -113
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DTWvAACK.js +0 -149
- package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BXysZqLn.js +0 -69
- package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-BDyONfaQ.js +0 -176
- package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dhnmfa9W.js +0 -44
- package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-BQim03ge.js +0 -94
- package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DduoX6Cu.js +0 -31
- package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-DlXqnsi8.js +0 -55
- package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-B-L8ECJL.js +0 -48
- package/dist/chunks/CLThemeProvider.vue_vue_type_script_setup_true_lang-jaJYKZL8.js +0 -59
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CzSDeL_X.js +0 -202
- package/dist/chunks/CLToastProvider.vue_vue_type_script_setup_true_lang-DkGK0H4Z.js +0 -35
- package/dist/chunks/context-CEvx70FY.js +0 -264
- package/dist/chunks/context-dkA4VoF7.js +0 -4
- package/dist/chunks/floating-ui.vue-Fx4CxKut.js +0 -1057
- package/dist/chunks/helper-qUkciePY.js +0 -81
- package/dist/chunks/icons-DllZKtC2.js +0 -4
- package/dist/chunks/magic-string.es-uPKorP4O.js +0 -663
- package/dist/chunks/utils-BfOa9ckr.js +0 -24
- package/dist/chunks/utils-BjZURPWx.js +0 -51
- package/dist/chunks/utils-C1xiySYN.js +0 -41
- package/dist/chunks/utils-D00IXMTR.js +0 -25
- package/dist/chunks/utils-eBt2zUZl.js +0 -17
- package/dist/chunks/utils-nD3K7jh9.js +0 -85
- package/dist/chunks/vue-test-utils.esm-bundler-BeQTU4qG.js +0 -18679
- package/dist/composables/useDatePicker.spec.js +0 -232
- package/dist/composables/useTheme.spec.js +0 -88
- package/dist/composables/useToast.spec.js +0 -45
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { CLMode as l, CLColorVariants as n, CLColors as i } from "../index.js";
|
|
2
|
-
import { g as d } from "./utils-D00IXMTR.js";
|
|
3
|
-
import { useTheme as u } from "../composables/useTheme.js";
|
|
4
|
-
const b = ({ color: e, variant: o }) => {
|
|
5
|
-
const { colors: t, darkMode: s } = u(), a = s.value ? l.Dark : l.Light, c = o === n.Ghost, r = d({
|
|
6
|
-
color: e,
|
|
7
|
-
colors: t.value,
|
|
8
|
-
mode: a,
|
|
9
|
-
variant: o
|
|
10
|
-
});
|
|
11
|
-
return {
|
|
12
|
-
"--clll-card-border-color": c ? "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": "var(--clll-default-radius)"
|
|
19
|
-
};
|
|
20
|
-
}, m = ({ color: e, variant: o }) => {
|
|
21
|
-
const { colors: t, darkMode: s } = u(), a = s.value ? l.Dark : l.Light, c = o === n.Ghost, r = d({
|
|
22
|
-
color: e,
|
|
23
|
-
colors: t.value,
|
|
24
|
-
mode: a,
|
|
25
|
-
variant: o
|
|
26
|
-
});
|
|
27
|
-
return {
|
|
28
|
-
"--clll-disclosure-border-color": c ? "transparent" : r?.focus ?? "transparent",
|
|
29
|
-
"--clll-disclosure-text-color": r?.text ?? "inherit",
|
|
30
|
-
"--clll-disclosure-content-border": c ? "transparent" : r?.focus ?? "transparent",
|
|
31
|
-
"--clll-disclosure-trigger-bg-color": r?.bg ?? "transparent",
|
|
32
|
-
"--clll-disclosure-trigger-hover-bg-color": r?.hover ?? "transparent",
|
|
33
|
-
"--clll-disclosure-theme-radius": "var(--clll-default-radius)"
|
|
34
|
-
};
|
|
35
|
-
}, v = () => {
|
|
36
|
-
const { colors: e, darkMode: o } = u(), t = o.value ? l.Dark : l.Light, s = d({
|
|
37
|
-
color: i.Neutral,
|
|
38
|
-
colors: e.value,
|
|
39
|
-
mode: t,
|
|
40
|
-
variant: n.Solid
|
|
41
|
-
}), a = o.value ? "black" : "white";
|
|
42
|
-
return {
|
|
43
|
-
"--clll-drawer-overlay-bg": s?.bg ?? "transparent",
|
|
44
|
-
"--clll-drawer-content-bg": a
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
v as a,
|
|
49
|
-
b as c,
|
|
50
|
-
m as d
|
|
51
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CLMode as l, CLColorVariants as s } from "../index.js";
|
|
2
|
-
import { g as u } from "./utils-D00IXMTR.js";
|
|
3
|
-
import { useTheme as d } from "../composables/useTheme.js";
|
|
4
|
-
const h = ({ color: e }) => {
|
|
5
|
-
const { colors: r, darkMode: a } = d(), n = a.value ? l.Dark : l.Light, o = u({
|
|
6
|
-
color: e,
|
|
7
|
-
colors: r.value,
|
|
8
|
-
mode: n,
|
|
9
|
-
variant: s.Solid
|
|
10
|
-
});
|
|
11
|
-
return {
|
|
12
|
-
"--clll-a11y-button-outline-color": o?.focus ?? "transparent",
|
|
13
|
-
"--clll-a11y-button-border-color": o?.focus ?? "transparent",
|
|
14
|
-
"--clll-a11y-button-shadow-color": o?.shadow ?? "transparent",
|
|
15
|
-
"--clll-a11y-button-theme-radius": "var(--clll-default-radius)"
|
|
16
|
-
};
|
|
17
|
-
}, m = ({
|
|
18
|
-
color: e,
|
|
19
|
-
variant: r = s.Soft
|
|
20
|
-
}) => {
|
|
21
|
-
const { colors: a, darkMode: n } = d(), o = n.value ? l.Dark : l.Light, c = r === s.Outline, t = u({
|
|
22
|
-
color: e,
|
|
23
|
-
colors: a.value,
|
|
24
|
-
mode: o,
|
|
25
|
-
variant: r
|
|
26
|
-
});
|
|
27
|
-
return {
|
|
28
|
-
"--clll-button-text-color": t?.text ?? "inherit",
|
|
29
|
-
"--clll-button-bg-color": t?.bg ?? "transparent",
|
|
30
|
-
"--clll-button-border-color": c ? t?.border ?? "transparent" : "transparent",
|
|
31
|
-
"--clll-button-hover-bg": t?.hover ?? "transparent",
|
|
32
|
-
"--clll-button-hover-border": c ? t?.borderHover ?? "transparent" : "transparent",
|
|
33
|
-
"--clll-button-focus-border": t?.focus ?? "transparent",
|
|
34
|
-
"--clll-button-focus-shadow": t?.shadow ?? "transparent",
|
|
35
|
-
"--clll-button-theme-radius": "var(--clll-default-radius)"
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
h as a,
|
|
40
|
-
m as b
|
|
41
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { C as v } from "./context-CEvx70FY.js";
|
|
2
|
-
const b = ({
|
|
3
|
-
color: e,
|
|
4
|
-
colors: i,
|
|
5
|
-
mode: t,
|
|
6
|
-
variant: r
|
|
7
|
-
}) => {
|
|
8
|
-
const o = v[r][t], d = i[e];
|
|
9
|
-
if (d)
|
|
10
|
-
return {
|
|
11
|
-
bg: o.bg !== void 0 ? d[o.bg] : void 0,
|
|
12
|
-
border: o.border !== void 0 ? d[o.border] : void 0,
|
|
13
|
-
borderHover: o.borderHover !== void 0 ? d[o.borderHover] : void 0,
|
|
14
|
-
disabled: o.disabled !== void 0 ? d[o.disabled] : void 0,
|
|
15
|
-
focus: o.focus !== void 0 ? d[o.focus] : void 0,
|
|
16
|
-
hover: o.hover !== void 0 ? d[o.hover] : void 0,
|
|
17
|
-
shadow: o.shadow !== void 0 ? d[o.shadow] : void 0,
|
|
18
|
-
text: o.text !== void 0 ? d[o.text] : void 0,
|
|
19
|
-
textBody: o.textBody !== void 0 ? d[o.textBody] : void 0,
|
|
20
|
-
textDisabled: o.textDisabled !== void 0 ? d[o.textDisabled] : void 0
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
b as g
|
|
25
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CLMode as o, CLColors as s, CLColorVariants as a } from "../index.js";
|
|
2
|
-
import { g as c } from "./utils-D00IXMTR.js";
|
|
3
|
-
import { useTheme as m } from "../composables/useTheme.js";
|
|
4
|
-
const d = ({ color: t = s.Neutral }) => {
|
|
5
|
-
const { colors: r, darkMode: e } = m(), l = e.value ? o.Dark : o.Light;
|
|
6
|
-
return {
|
|
7
|
-
"--clll-text-color": c({
|
|
8
|
-
color: t,
|
|
9
|
-
colors: r.value,
|
|
10
|
-
mode: l,
|
|
11
|
-
variant: a.Text
|
|
12
|
-
})?.textBody ?? "inherit"
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
d as t
|
|
17
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { CLMode as e, CLColorVariants as i, CLColors as d } from "../index.js";
|
|
2
|
-
import { g as p } from "./utils-D00IXMTR.js";
|
|
3
|
-
import { useTheme as b } from "../composables/useTheme.js";
|
|
4
|
-
const m = ({
|
|
5
|
-
color: t = d.Primary,
|
|
6
|
-
variant: r
|
|
7
|
-
}) => {
|
|
8
|
-
const { colors: a, darkMode: o } = b(), n = o.value ? e.Dark : e.Light, l = r === i.Outline, c = p({
|
|
9
|
-
color: t,
|
|
10
|
-
colors: a.value,
|
|
11
|
-
mode: n,
|
|
12
|
-
variant: r
|
|
13
|
-
});
|
|
14
|
-
return {
|
|
15
|
-
"--clll-badge-bg-color": c?.bg ?? "transparent",
|
|
16
|
-
"--clll-badge-border-color": l ? c?.border ?? "transparent" : "transparent",
|
|
17
|
-
"--clll-badge-border-style": l ? "solid" : "none",
|
|
18
|
-
"--clll-badge-border-width": l ? "1px" : "0",
|
|
19
|
-
"--clll-badge-text-color": c?.text ?? "inherit",
|
|
20
|
-
"--clll-badge-theme-radius": "var(--clll-default-radius)"
|
|
21
|
-
};
|
|
22
|
-
}, v = ({
|
|
23
|
-
color: t = d.Primary,
|
|
24
|
-
variant: r
|
|
25
|
-
}) => {
|
|
26
|
-
const { colors: a, darkMode: o } = b(), n = o.value ? e.Dark : e.Light, l = p({
|
|
27
|
-
color: t,
|
|
28
|
-
colors: a.value,
|
|
29
|
-
mode: n,
|
|
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": "var(--clll-default-radius)"
|
|
37
|
-
};
|
|
38
|
-
}, x = ({
|
|
39
|
-
color: t = d.Primary,
|
|
40
|
-
variant: r
|
|
41
|
-
}) => {
|
|
42
|
-
const { colors: a, darkMode: o } = b(), n = o.value ? e.Dark : e.Light, l = r === i.Outline, c = r === i.Ghost, s = p({
|
|
43
|
-
color: t,
|
|
44
|
-
colors: a.value,
|
|
45
|
-
mode: n,
|
|
46
|
-
variant: r
|
|
47
|
-
});
|
|
48
|
-
return {
|
|
49
|
-
"--clll-pill-bg-color": s?.bg ?? "transparent",
|
|
50
|
-
"--clll-pill-border-color": l ? s?.border ?? "transparent" : "transparent",
|
|
51
|
-
"--clll-pill-border-style": l ? "solid" : "none",
|
|
52
|
-
"--clll-pill-border-width": l ? "1px" : "0",
|
|
53
|
-
"--clll-pill-text-color": s?.text ?? "inherit",
|
|
54
|
-
"--clll-pill-hover-bg": s?.bg ?? "transparent",
|
|
55
|
-
"--clll-pill-count-bg": !l && !c ? s?.hover ?? "transparent" : "transparent",
|
|
56
|
-
"--clll-pill-count-border-style": l ? "solid" : "none",
|
|
57
|
-
"--clll-pill-count-border-color": l ? s?.border ?? "transparent" : "transparent",
|
|
58
|
-
"--clll-pill-count-border-width": l ? "1px" : "0",
|
|
59
|
-
"--clll-pill-theme-radius": "var(--clll-default-radius)"
|
|
60
|
-
};
|
|
61
|
-
}, k = ({
|
|
62
|
-
color: t = d.Primary
|
|
63
|
-
}) => {
|
|
64
|
-
const { colors: r, darkMode: a } = b(), o = a.value ? e.Dark : e.Light, n = p({
|
|
65
|
-
color: t,
|
|
66
|
-
colors: r.value,
|
|
67
|
-
mode: o,
|
|
68
|
-
variant: i.Solid
|
|
69
|
-
});
|
|
70
|
-
return {
|
|
71
|
-
"--clll-progress-container-bg": p({
|
|
72
|
-
color: d.Neutral,
|
|
73
|
-
colors: r.value,
|
|
74
|
-
mode: o,
|
|
75
|
-
variant: i.Solid
|
|
76
|
-
})?.disabled ?? "transparent",
|
|
77
|
-
"--clll-progress-bar-bg": n?.bg ?? "transparent"
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export {
|
|
81
|
-
v as a,
|
|
82
|
-
m as b,
|
|
83
|
-
k as c,
|
|
84
|
-
x as p
|
|
85
|
-
};
|