@codeandfunction/callaloo 4.9.3 → 4.9.5

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 (110) hide show
  1. package/dist/callaloo.global.js +1 -1
  2. package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-BHF3fJsf.js +2 -0
  3. package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-3vGTMU-k.js +2 -0
  4. package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-BAfGE35e.js +2 -0
  5. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-DPQxSLkQ.js +2 -0
  6. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-BYHbqaf0.js +2 -0
  7. package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-BPwFZq94.js +1 -0
  8. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-CsmrsD6c.js +2 -0
  9. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-yF4CdZbV.js +2 -0
  10. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DCByJ7MB.js +2 -0
  11. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-CCyY39MJ.js +2 -0
  12. package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-CwdYGfO9.js +2 -0
  13. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Ds2aJNK9.js +1 -0
  14. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-BVsLNnfE.js +2 -0
  15. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-BmjT9fQ_.js +2 -0
  16. package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-DgZLt9T1.js +2 -0
  17. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-CMXJdE-D.js +2 -0
  18. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-BIehrtqC.js +2 -0
  19. package/dist/chunks/context-CRxE5KWX.js +1 -0
  20. package/dist/chunks/context-JmPivI9V.js +1 -0
  21. package/dist/chunks/floating-ui.vue-C0JWy0Dz.js +1 -0
  22. package/dist/chunks/helper-C542dSLs.js +1 -0
  23. package/dist/chunks/icons-6SVrmx7c.js +1 -0
  24. package/dist/chunks/utils-C1iUBPIL.js +1 -0
  25. package/dist/chunks/utils-CCWSWRuR.js +1 -0
  26. package/dist/chunks/utils-CYywa195.js +1 -0
  27. package/dist/chunks/utils-DVxwAjJ4.js +1 -0
  28. package/dist/chunks/utils-Dst7nzvj.js +1 -0
  29. package/dist/chunks/utils-MElq6rY3.js +1 -0
  30. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -5
  31. package/dist/components/Buttons/CLButton/CLButton.js +1 -5
  32. package/dist/components/CLIcon/CLIcon.js +1 -5
  33. package/dist/components/CLTable/CLTable.js +1 -192
  34. package/dist/components/Containers/CLCard/CLCard.js +1 -5
  35. package/dist/components/Containers/CLCarousel/CLCarousel.js +1 -544
  36. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +1 -139
  37. package/dist/components/Containers/CLDrawer/CLDrawer.js +1 -119
  38. package/dist/components/Form/CLCalendar/CLCalendar.js +1 -5
  39. package/dist/components/Form/CLCheckbox/CLCheckbox.js +1 -150
  40. package/dist/components/Form/CLInput/CLInput.js +1 -450
  41. package/dist/components/Form/CLInputDatePicker/CLInputDatePicker.js +1 -178
  42. package/dist/components/Form/CLRadioButton/CLRadioButton.js +1 -135
  43. package/dist/components/Form/CLSelect/CLSelect.js +1 -140
  44. package/dist/components/Form/CLTextArea/CLTextArea.js +1 -149
  45. package/dist/components/Indicators/CLBadge/CLBadge.js +1 -40
  46. package/dist/components/Indicators/CLBanner/CLBanner.js +1 -145
  47. package/dist/components/Indicators/CLPill/CLPill.js +1 -5
  48. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -64
  49. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -5
  50. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -5
  51. package/dist/components/Modals/CLModal/CLModal.js +1 -5
  52. package/dist/components/Modals/CLModalDatePicker/CLModalDatePicker.css +1 -1
  53. package/dist/components/Modals/CLModalDatePicker/CLModalDatePicker.js +1 -182
  54. package/dist/components/Modals/CLModalDatePicker/CLModalDatePicker.vue.d.ts +3 -0
  55. package/dist/components/Navigation/CLLink/CLLink.js +1 -5
  56. package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -5
  57. package/dist/components/Navigation/CLNavSection/CLNavSection.js +1 -54
  58. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +1 -150
  59. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +1 -1
  60. package/dist/components/Popups/CLToast/CLToast.js +1 -5
  61. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +1 -8
  62. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -7
  63. package/dist/components/Typography/CLHeading/CLHeading.js +1 -5
  64. package/dist/components/Typography/CLText/CLText.js +1 -5
  65. package/dist/composables/useDateInputMask.js +1 -38
  66. package/dist/composables/useDatePicker.js +1 -140
  67. package/dist/composables/useDropdown.js +1 -49
  68. package/dist/composables/useElementSize.js +1 -73
  69. package/dist/composables/useEsc.js +1 -19
  70. package/dist/composables/useHasSlotContent.js +1 -14
  71. package/dist/composables/useTheme.js +1 -40
  72. package/dist/composables/useToast.js +1 -17
  73. package/dist/index.js +1 -30
  74. package/dist/styles.css +1 -1
  75. package/package.json +20 -20
  76. package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-zGLnnSIW.js +0 -47
  77. package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-MvhnNzVW.js +0 -136
  78. package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-Bz1JdT1A.js +0 -163
  79. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-Sre7UYZd.js +0 -263
  80. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +0 -39
  81. package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CIQxM6aH.js +0 -46
  82. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-DH5oJc1C.js +0 -52
  83. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-Dhr2tI-g.js +0 -113
  84. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DTWvAACK.js +0 -149
  85. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BXysZqLn.js +0 -69
  86. package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-BDyONfaQ.js +0 -176
  87. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dhnmfa9W.js +0 -44
  88. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-BQim03ge.js +0 -94
  89. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DduoX6Cu.js +0 -31
  90. package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-DlXqnsi8.js +0 -55
  91. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-B-L8ECJL.js +0 -48
  92. package/dist/chunks/CLThemeProvider.vue_vue_type_script_setup_true_lang-jaJYKZL8.js +0 -59
  93. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CzSDeL_X.js +0 -202
  94. package/dist/chunks/CLToastProvider.vue_vue_type_script_setup_true_lang-DkGK0H4Z.js +0 -35
  95. package/dist/chunks/context-CEvx70FY.js +0 -264
  96. package/dist/chunks/context-dkA4VoF7.js +0 -4
  97. package/dist/chunks/floating-ui.vue-Fx4CxKut.js +0 -1057
  98. package/dist/chunks/helper-qUkciePY.js +0 -81
  99. package/dist/chunks/icons-DllZKtC2.js +0 -4
  100. package/dist/chunks/magic-string.es-uPKorP4O.js +0 -663
  101. package/dist/chunks/utils-BfOa9ckr.js +0 -24
  102. package/dist/chunks/utils-BjZURPWx.js +0 -51
  103. package/dist/chunks/utils-C1xiySYN.js +0 -41
  104. package/dist/chunks/utils-D00IXMTR.js +0 -25
  105. package/dist/chunks/utils-eBt2zUZl.js +0 -17
  106. package/dist/chunks/utils-nD3K7jh9.js +0 -85
  107. package/dist/chunks/vue-test-utils.esm-bundler-BeQTU4qG.js +0 -18679
  108. package/dist/composables/useDatePicker.spec.js +0 -232
  109. package/dist/composables/useTheme.spec.js +0 -88
  110. 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
- };