@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.
Files changed (106) 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-hEXnJ7H1.js +2 -0
  4. package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-BqrGuMVB.js +2 -0
  5. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-BGKjh5vA.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-Cjt6fX90.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-C9_EwMBi.js +2 -0
  12. package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-DroQPRWC.js +2 -0
  13. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dqr8A_2Z.js +1 -0
  14. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DCtH-u0_.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-CtXJMlF9.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.js +1 -182
  53. package/dist/components/Navigation/CLLink/CLLink.js +1 -5
  54. package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -5
  55. package/dist/components/Navigation/CLNavSection/CLNavSection.js +1 -54
  56. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +1 -150
  57. package/dist/components/Popups/CLToast/CLToast.js +1 -5
  58. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +1 -8
  59. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -7
  60. package/dist/components/Typography/CLHeading/CLHeading.js +1 -5
  61. package/dist/components/Typography/CLText/CLText.js +1 -5
  62. package/dist/composables/useDateInputMask.js +1 -38
  63. package/dist/composables/useDatePicker.js +1 -140
  64. package/dist/composables/useDropdown.js +1 -49
  65. package/dist/composables/useElementSize.js +1 -73
  66. package/dist/composables/useEsc.js +1 -19
  67. package/dist/composables/useHasSlotContent.js +1 -14
  68. package/dist/composables/useTheme.js +1 -40
  69. package/dist/composables/useToast.js +1 -17
  70. package/dist/index.js +1 -30
  71. package/package.json +20 -20
  72. package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-zGLnnSIW.js +0 -47
  73. package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-MvhnNzVW.js +0 -136
  74. package/dist/chunks/CLCalendar.vue_vue_type_style_index_0_lang-Bz1JdT1A.js +0 -163
  75. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-Sre7UYZd.js +0 -263
  76. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +0 -39
  77. package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-CIQxM6aH.js +0 -46
  78. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-DH5oJc1C.js +0 -52
  79. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-Dhr2tI-g.js +0 -113
  80. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-DTWvAACK.js +0 -149
  81. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BXysZqLn.js +0 -69
  82. package/dist/chunks/CLModal.vue_vue_type_style_index_0_lang-BDyONfaQ.js +0 -176
  83. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Dhnmfa9W.js +0 -44
  84. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-BQim03ge.js +0 -94
  85. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DduoX6Cu.js +0 -31
  86. package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-DlXqnsi8.js +0 -55
  87. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-B-L8ECJL.js +0 -48
  88. package/dist/chunks/CLThemeProvider.vue_vue_type_script_setup_true_lang-jaJYKZL8.js +0 -59
  89. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CzSDeL_X.js +0 -202
  90. package/dist/chunks/CLToastProvider.vue_vue_type_script_setup_true_lang-DkGK0H4Z.js +0 -35
  91. package/dist/chunks/context-CEvx70FY.js +0 -264
  92. package/dist/chunks/context-dkA4VoF7.js +0 -4
  93. package/dist/chunks/floating-ui.vue-Fx4CxKut.js +0 -1057
  94. package/dist/chunks/helper-qUkciePY.js +0 -81
  95. package/dist/chunks/icons-DllZKtC2.js +0 -4
  96. package/dist/chunks/magic-string.es-uPKorP4O.js +0 -663
  97. package/dist/chunks/utils-BfOa9ckr.js +0 -24
  98. package/dist/chunks/utils-BjZURPWx.js +0 -51
  99. package/dist/chunks/utils-C1xiySYN.js +0 -41
  100. package/dist/chunks/utils-D00IXMTR.js +0 -25
  101. package/dist/chunks/utils-eBt2zUZl.js +0 -17
  102. package/dist/chunks/utils-nD3K7jh9.js +0 -85
  103. package/dist/chunks/vue-test-utils.esm-bundler-BeQTU4qG.js +0 -18679
  104. package/dist/composables/useDatePicker.spec.js +0 -232
  105. package/dist/composables/useTheme.spec.js +0 -88
  106. package/dist/composables/useToast.spec.js +0 -45
@@ -1,264 +0,0 @@
1
- import { ref as b } from "vue";
2
- import { CLMode as o } from "../index.js";
3
- function c(e, r) {
4
- if (!r)
5
- return e;
6
- const f = { ...e };
7
- for (const t in r)
8
- if (Object.prototype.hasOwnProperty.call(r, t)) {
9
- const a = r[t], d = f[t];
10
- l(d) && l(a) ? f[t] = c(d, a) : f[t] = a;
11
- }
12
- return f;
13
- }
14
- function l(e) {
15
- return e !== null && typeof e == "object" && !Array.isArray(e) && !(e instanceof Date) && !(e instanceof Map) && !(e instanceof Set);
16
- }
17
- const i = {
18
- borderRadius: void 0,
19
- colors: {
20
- primary: {
21
- 0: "#ffffff",
22
- 100: "#def5ff",
23
- 200: "#b6eeff",
24
- 300: "#75e3ff",
25
- 400: "#2cd6ff",
26
- 500: "#00c8ff",
27
- 600: "#009cd4",
28
- 700: "#007cab",
29
- 800: "#00688d",
30
- 900: "#065674"
31
- },
32
- secondary: {
33
- 0: "#ffffff",
34
- 100: "#DEE2E8",
35
- 200: "#BFC7D4",
36
- 300: "#9EAABD",
37
- 400: "#8090A8",
38
- 500: "#61738E",
39
- 600: "#4F5D73",
40
- 700: "#3A4555",
41
- 800: "#272F3A",
42
- 900: "#13161B"
43
- },
44
- neutral: {
45
- 0: "#ffffff",
46
- 100: "#F7F7F7",
47
- 200: "#F2F2F2",
48
- 300: "#EBEBEB",
49
- 400: "#E6E6E6",
50
- 500: "#DEDEDE",
51
- 600: "#B3B3B3",
52
- 700: "#858585",
53
- 800: "#595959",
54
- 900: "#2B2B2B"
55
- },
56
- danger: {
57
- 0: "#ffffff",
58
- 100: "#ffd3ce",
59
- 200: "#ffb2ac",
60
- 300: "#ff8e88",
61
- 400: "#fe6561",
62
- 500: "#e74c4c",
63
- 600: "#d20e27",
64
- 700: "#9b0018",
65
- 800: "#63000c",
66
- 900: "#360003"
67
- },
68
- warning: {
69
- 0: "#ffffff",
70
- 100: "#ffeaba",
71
- 200: "#ffdf95",
72
- 300: "#ffd36a",
73
- 400: "#fdc836",
74
- 500: "#f5be1a",
75
- 600: "#c79800",
76
- 700: "#8a6900",
77
- 800: "#4f3b00",
78
- 900: "#211700"
79
- },
80
- success: {
81
- 0: "#ffffff",
82
- 100: "#9effb2",
83
- 200: "#69f68d",
84
- 300: "#56e57e",
85
- 400: "#41d56e",
86
- 500: "#22c55d",
87
- 600: "#00a147",
88
- 700: "#007230",
89
- 800: "#00441a",
90
- 900: "#001f08"
91
- },
92
- info: {
93
- 0: "#ffffff",
94
- 100: "#cfe2ff",
95
- 200: "#afceff",
96
- 300: "#8eb9ff",
97
- 400: "#6ca4ff",
98
- 500: "#4e8ff8",
99
- 600: "#2470e7",
100
- 700: "#004cb5",
101
- 800: "#002e73",
102
- 900: "#00153e"
103
- }
104
- },
105
- darkMode: !1,
106
- fontFamily: "BlinkMacSystemFont,-apple-system,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Fira Sans','Droid Sans','Helvetica Neue',Helvetica,Arial,sans-serif"
107
- }, y = {
108
- contrast: {
109
- [o.Light]: {
110
- border: 900,
111
- borderHover: 700,
112
- bg: 900,
113
- disabled: 500,
114
- focus: 900,
115
- hover: 800,
116
- shadow: 900,
117
- text: 0,
118
- textDisabled: 800
119
- },
120
- [o.Dark]: {
121
- border: 400,
122
- borderHover: 700,
123
- bg: 100,
124
- disabled: 500,
125
- focus: 400,
126
- hover: 200,
127
- shadow: 400,
128
- text: 900,
129
- textDisabled: 500
130
- }
131
- },
132
- ghost: {
133
- [o.Light]: {
134
- disabled: 100,
135
- focus: 700,
136
- text: 800,
137
- textDisabled: 800
138
- },
139
- [o.Dark]: {
140
- disabled: 700,
141
- focus: 300,
142
- text: 300,
143
- textDisabled: 700
144
- }
145
- },
146
- outline: {
147
- [o.Light]: {
148
- border: 300,
149
- borderHover: 700,
150
- disabled: 400,
151
- focus: 700,
152
- hover: 100,
153
- text: 900,
154
- textBody: 700,
155
- textDisabled: 800
156
- },
157
- [o.Dark]: {
158
- border: 500,
159
- borderHover: 500,
160
- disabled: 800,
161
- focus: 300,
162
- hover: 900,
163
- text: 300,
164
- textBody: 300,
165
- textDisabled: 700
166
- }
167
- },
168
- soft: {
169
- [o.Light]: {
170
- bg: 100,
171
- border: 300,
172
- borderHover: 700,
173
- disabled: 100,
174
- focus: 400,
175
- hover: 200,
176
- shadow: 200,
177
- text: 900,
178
- textDisabled: 800
179
- },
180
- [o.Dark]: {
181
- bg: 900,
182
- border: 100,
183
- borderHover: 300,
184
- disabled: 800,
185
- focus: 100,
186
- hover: 800,
187
- shadow: 800,
188
- text: 300,
189
- textDisabled: 500
190
- }
191
- },
192
- solid: {
193
- [o.Light]: {
194
- bg: 600,
195
- border: 700,
196
- borderHover: 900,
197
- disabled: 500,
198
- focus: 700,
199
- hover: 500,
200
- shadow: 700,
201
- text: 0,
202
- textDisabled: 100
203
- },
204
- [o.Dark]: {
205
- bg: 400,
206
- border: 100,
207
- borderHover: 300,
208
- disabled: 600,
209
- focus: 100,
210
- hover: 500,
211
- shadow: 100,
212
- text: 900,
213
- textDisabled: 800
214
- }
215
- },
216
- text: {
217
- [o.Light]: {
218
- border: 100,
219
- borderHover: 300,
220
- disabled: 100,
221
- focus: 800,
222
- hover: 200,
223
- text: 800,
224
- textBody: 800,
225
- textDisabled: 700
226
- },
227
- [o.Dark]: {
228
- border: 300,
229
- borderHover: 500,
230
- disabled: 800,
231
- focus: 300,
232
- hover: 900,
233
- text: 100,
234
- textBody: 100,
235
- textDisabled: 500
236
- }
237
- }
238
- }, F = (e) => {
239
- const r = b(e?.borderRadius || i.borderRadius), f = b(e?.darkMode ?? i.darkMode), t = b(e?.fontFamily ?? i.fontFamily), a = c(i.colors, e?.colors), d = b(a);
240
- return {
241
- borderRadius: r,
242
- colors: d,
243
- darkMode: f,
244
- fontFamily: t,
245
- setBorderRadius: (s) => {
246
- r.value = s;
247
- },
248
- setColors: (s) => {
249
- d.value = { ...d.value, ...s };
250
- },
251
- setDarkMode: (s) => {
252
- f.value = s;
253
- },
254
- setFontFamily: (s) => {
255
- t.value = s;
256
- }
257
- };
258
- }, B = /* @__PURE__ */ Symbol("clll-theme");
259
- export {
260
- y as C,
261
- i as D,
262
- B as T,
263
- F as s
264
- };
@@ -1,4 +0,0 @@
1
- const o = /* @__PURE__ */ Symbol("clll-toast");
2
- export {
3
- o as T
4
- };