@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,81 +0,0 @@
1
- const F = () => {
2
- let e, n, o = !1, t, a, l, i = !1, d = 0;
3
- const f = () => {
4
- if (o || !a || t === void 0 || n === void 0 || i) return;
5
- const r = performance.now(), s = d + (r - n);
6
- a(s), s < t ? e = window.requestAnimationFrame(f) : (o = !0, e && (window.cancelAnimationFrame(e), e = void 0), l?.());
7
- }, m = () => {
8
- e && (window.cancelAnimationFrame(e), e = void 0), n = void 0, o = !1, t = void 0, a = void 0, l = void 0, i = !1, d = 0;
9
- };
10
- return {
11
- start: (r, s, u) => {
12
- !c || r <= 0 || typeof s != "function" || (e && window.cancelAnimationFrame(e), o = !1, i = !1, d = 0, a = s, t = r, l = u, n = performance.now(), e = window.requestAnimationFrame(f));
13
- },
14
- stop: () => {
15
- o = !0, m();
16
- },
17
- pause: () => {
18
- if (!c || o || i || !a || t === void 0 || n === void 0)
19
- return;
20
- const r = performance.now();
21
- d += r - n, e && (window.cancelAnimationFrame(e), e = void 0), i = !0;
22
- },
23
- resume: () => {
24
- !c || o || !i || !a || t === void 0 || (n = performance.now(), i = !1, e = window.requestAnimationFrame(f));
25
- },
26
- getProgress: () => {
27
- if (!c || t === void 0 || n === void 0)
28
- return;
29
- if (o)
30
- return 1;
31
- if (i)
32
- return Math.min(d / t, 1);
33
- const r = performance.now(), s = d + (r - n);
34
- return Math.min(s / t, 1);
35
- }
36
- };
37
- }, C = ({
38
- parent: e,
39
- child: n,
40
- threshold: o = 0.1,
41
- leftOffset: t = 0,
42
- rightOffset: a = 0
43
- }) => {
44
- const {
45
- top: l,
46
- left: i,
47
- bottom: d,
48
- right: f,
49
- width: m,
50
- height: r
51
- } = e?.getBoundingClientRect() || {}, {
52
- top: s,
53
- left: u,
54
- bottom: h,
55
- right: g
56
- } = n.getBoundingClientRect() || {};
57
- let v = i + t, y = f - a, x = m - (t + a), p = 0, w = 0;
58
- return u <= y && (p = (g - v) / x * 100 / 100), s <= d && (w = (h - l) / r * 100 / 100), p > o && w > o;
59
- }, N = () => c ? Math.max(
60
- ...Array.from(
61
- document?.querySelectorAll("body *"),
62
- (e) => parseFloat(window?.getComputedStyle(e).zIndex)
63
- ).filter((e) => !Number.isNaN(e)),
64
- 0
65
- ) : 0, c = typeof document < "u", b = () => c ? window.matchMedia("(prefers-color-scheme: dark)").matches : !1, D = (e) => e != null && typeof e.valueOf() == "string", M = (e) => {
66
- if (!e) return !0;
67
- let n = 0;
68
- const o = ["#comment"];
69
- return e.childNodes.forEach((t) => {
70
- !o.includes(t.nodeName) && t.childNodes.length && n++;
71
- }), n === 0;
72
- };
73
- export {
74
- F as a,
75
- b,
76
- D as c,
77
- M as d,
78
- C as e,
79
- N as g,
80
- c as i
81
- };