@codeandfunction/callaloo 3.16.1 → 3.16.3
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/README.md +5 -3
- package/dist/assets/CLFormCharCounter.css +1 -1
- package/dist/assets/CLInputMessages.css +1 -1
- package/dist/assets/core.css +1 -0
- package/dist/assets/shared/form-utilities.css +1 -0
- package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Cdx5rsou.js → CLA11yButton.vue_vue_type_style_index_0_lang-Caaw-9_c.js} +1 -1
- package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js → CLButton.vue_vue_type_style_index_0_lang-N3EWoTbB.js} +4 -4
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-DVuAcV5A.js → CLCard.vue_vue_type_style_index_0_lang-CpReGucs.js} +6 -6
- package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-fddy-FWI.js → CLFormLabel.vue_vue_type_script_setup_true_lang-Cw3nPc64.js} +1 -1
- package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js → CLHeading.vue_vue_type_style_index_0_lang-BcCh5-Bx.js} +1 -1
- package/dist/chunks/{CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js → CLIcon.vue_vue_type_style_index_0_lang-BaCl5yQI.js} +23 -22
- package/dist/chunks/{CLInputMessages.vue_vue_type_style_index_0_lang-RMOT1TQk.js → CLInputMessages.vue_vue_type_style_index_0_lang-BNGT0om7.js} +12 -11
- package/dist/chunks/{CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js → CLLink.vue_vue_type_style_index_0_lang-BMUevw_4.js} +12 -11
- package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-Ckz9MEj5.js → CLNavLink.vue_vue_type_script_setup_true_lang-D2oCLUGX.js} +1 -1
- package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-mkIKVHjg.js → CLPill.vue_vue_type_style_index_0_lang-DYXrV-YE.js} +3 -3
- package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js → CLProgress.vue_vue_type_style_index_0_lang-Cu3FhEX0.js} +2 -2
- package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js → CLSkeleton.vue_vue_type_style_index_0_lang-DblqrUXo.js} +1 -1
- package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js → CLSpinner.vue_vue_type_style_index_0_lang-DskZL4VC.js} +1 -1
- package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js → CLText.vue_vue_type_style_index_0_lang-Cz9Sv2AC.js} +1 -1
- package/dist/chunks/{CLToast.vue_vue_type_style_index_0_lang-DOI4DZGg.js → CLToast.vue_vue_type_style_index_0_lang-CYcPXUMQ.js} +24 -23
- package/dist/chunks/base-theme-Bg6XMoeN.js +275 -0
- package/dist/chunks/helper--hRjZVm6.js +62 -0
- package/dist/chunks/utils-Bp7YeySh.js +29 -0
- package/dist/chunks/utils-C9rOAW29.js +387 -0
- package/dist/chunks/{utils-C7Yjsqk-.js → utils-D-5TdmRW.js} +10 -9
- package/dist/chunks/{utils-D_WP3vZz.js → utils-DRsWhcFX.js} +13 -12
- package/dist/chunks/{utils-DFnkOeYP.js → utils-DVR3a-_d.js} +26 -25
- package/dist/chunks/utils-nC7WS9e0.js +15 -0
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -1
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +2 -1
- package/dist/components/Buttons/CLButton/CLButton.css +1 -1
- package/dist/components/Buttons/CLButton/CLButton.js +2 -1
- package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +3 -3
- package/dist/components/CLIcon/CLIcon.css +1 -1
- package/dist/components/CLIcon/CLIcon.js +2 -1
- package/dist/components/CLTable/CLTable.css +1 -1
- package/dist/components/CLTable/CLTable.js +31 -29
- package/dist/components/Containers/CLCard/CLCard.css +1 -1
- package/dist/components/Containers/CLCard/CLCard.js +2 -1
- package/dist/components/Containers/CLCard/CLCard.vue.d.ts +2 -2
- package/dist/components/Containers/CLCarousel/CLCarousel.css +1 -1
- package/dist/components/Containers/CLCarousel/CLCarousel.js +17 -16
- package/dist/components/Containers/CLCarousel/CLCarousel.vue.d.ts +1 -1
- package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
- package/dist/components/Containers/CLDisclosure/CLDisclosure.js +7 -6
- package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -1
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +5 -3
- package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +2 -2
- package/dist/components/Form/CLInput/CLInput.css +1 -1
- package/dist/components/Form/CLInput/CLInput.js +7 -5
- package/dist/components/Form/CLInput/CLInput.vue.d.ts +2 -2
- package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -1
- package/dist/components/Form/CLRadioButton/CLRadioButton.js +4 -2
- package/dist/components/Form/CLRadioButton/CLRadioButton.vue.d.ts +1 -1
- package/dist/components/Form/CLSelect/CLSelect.css +1 -1
- package/dist/components/Form/CLSelect/CLSelect.js +5 -3
- package/dist/components/Form/CLSelect/CLSelect.vue.d.ts +1 -1
- package/dist/components/Form/CLTextArea/CLTextArea.css +1 -1
- package/dist/components/Form/CLTextArea/CLTextArea.js +4 -2
- package/dist/components/Form/CLTextArea/CLTextArea.vue.d.ts +1 -1
- package/dist/components/Indicators/CLBadge/CLBadge.css +1 -1
- package/dist/components/Indicators/CLBadge/CLBadge.js +2 -1
- package/dist/components/Indicators/CLBanner/CLBanner.css +1 -1
- package/dist/components/Indicators/CLBanner/CLBanner.js +7 -6
- package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +2 -2
- package/dist/components/Indicators/CLPill/CLPill.css +1 -1
- package/dist/components/Indicators/CLPill/CLPill.js +2 -1
- package/dist/components/Indicators/CLProgress/CLProgress.css +1 -1
- package/dist/components/Indicators/CLProgress/CLProgress.js +2 -1
- package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -1
- package/dist/components/Loading/CLSkeleton/CLSkeleton.js +2 -1
- package/dist/components/Loading/CLSkeleton/CLSkeleton.vue.d.ts +2 -2
- package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -1
- package/dist/components/Loading/CLSpinner/CLSpinner.js +2 -1
- package/dist/components/Modals/CLModal/CLModal.css +1 -1
- package/dist/components/Modals/CLModal/CLModal.js +17 -15
- package/dist/components/Navigation/CLLink/CLLink.css +1 -1
- package/dist/components/Navigation/CLLink/CLLink.js +2 -1
- package/dist/components/Navigation/CLNavLink/CLNavLink.js +2 -1
- package/dist/components/Navigation/CLNavSection/CLNavSection.css +1 -1
- package/dist/components/Navigation/CLNavSection/CLNavSection.js +3 -2
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -1
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +510 -551
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +7 -7
- package/dist/components/Popups/CLToast/CLToast.css +1 -1
- package/dist/components/Popups/CLToast/CLToast.js +2 -1
- package/dist/components/Popups/CLToast/CLToast.vue.d.ts +1 -1
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +20 -17
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +2 -1
- package/dist/components/Typography/CLHeading/CLHeading.css +1 -1
- package/dist/components/Typography/CLHeading/CLHeading.js +2 -1
- package/dist/components/Typography/CLText/CLText.css +1 -1
- package/dist/components/Typography/CLText/CLText.js +2 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useDropdown.js +50 -0
- package/dist/{chunks/useEsc-C9QIDZ_8.js → composables/useEsc.js} +3 -2
- package/dist/{chunks/useHasSlotContent-DDqs5uK9.js → composables/useHasSlotContent.js} +3 -2
- package/dist/composables/useTheme.js +31 -0
- package/dist/composables/useToast.js +15 -0
- package/dist/index.js +1 -0
- package/dist/utils/merge.d.ts +18 -0
- package/package.json +32 -30
- package/dist/chunks/base-theme-C9_Hz5HW.js +0 -832
- package/dist/chunks/useTheme-yoEfuNvB.js +0 -417
- package/dist/chunks/utils-DTWXs4YX.js +0 -14
- package/dist/chunks/utils-Da9LXXQ0.js +0 -28
|
@@ -118,16 +118,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
118
118
|
$options: import('vue').ComponentOptionsBase<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
119
119
|
title: string;
|
|
120
120
|
color: CLColors;
|
|
121
|
-
width: string;
|
|
122
|
-
height: string;
|
|
123
|
-
form: string;
|
|
124
121
|
variant: CLColorVariants;
|
|
122
|
+
form: string;
|
|
125
123
|
borderRadius: CLBorderRadius;
|
|
126
124
|
rounded: boolean;
|
|
127
125
|
testId: string;
|
|
128
126
|
type: import('../../../types').CLButtonTypes;
|
|
129
127
|
onClick: (event?: Event) => void;
|
|
130
128
|
target: import('../../../types').CLLinkTarget;
|
|
129
|
+
width: string;
|
|
130
|
+
height: string;
|
|
131
131
|
size: CLSizes;
|
|
132
132
|
href: string;
|
|
133
133
|
active: boolean;
|
|
@@ -167,16 +167,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
167
167
|
} & Readonly<{
|
|
168
168
|
title: string;
|
|
169
169
|
color: CLColors;
|
|
170
|
-
width: string;
|
|
171
|
-
height: string;
|
|
172
|
-
form: string;
|
|
173
170
|
variant: CLColorVariants;
|
|
171
|
+
form: string;
|
|
174
172
|
borderRadius: CLBorderRadius;
|
|
175
173
|
rounded: boolean;
|
|
176
174
|
testId: string;
|
|
177
175
|
type: import('../../../types').CLButtonTypes;
|
|
178
176
|
onClick: (event?: Event) => void;
|
|
179
177
|
target: import('../../../types').CLLinkTarget;
|
|
178
|
+
width: string;
|
|
179
|
+
height: string;
|
|
180
180
|
size: CLSizes;
|
|
181
181
|
href: string;
|
|
182
182
|
active: boolean;
|
|
@@ -193,7 +193,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
193
193
|
iconSize: CLIconSizes;
|
|
194
194
|
pill: boolean;
|
|
195
195
|
wrap: boolean;
|
|
196
|
-
}> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "title" | "color" | "
|
|
196
|
+
}> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "title" | "color" | "variant" | "form" | "borderRadius" | "rounded" | "testId" | "type" | "onClick" | "target" | "width" | "height" | "size" | "href" | "active" | "alignContent" | "ariaLabel" | "as" | "busy" | "disabled" | "elevated" | "forwardRef" | "iconAfter" | "iconBefore" | "iconAfterSize" | "iconSize" | "pill" | "wrap"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
197
197
|
$slots: {
|
|
198
198
|
default?(_: {}): any;
|
|
199
199
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.clll-toast{bottom:var(--clll-unit-4);position:fixed;overflow:hidden;width:90%;left:0;right:0;margin-left:auto;margin-right:auto;transform:translateY(100vh);transition-property:all;transition-duration:.3s;transition-timing-function:ease;box-shadow:0 0 var(--clll-unit-3) var(--clll-unit-0_5) #0000001f,0 0 var(--clll-unit-1) var(--clll-unit-0_5) #00000005}@media(min-width:768px){.clll-toast{width:var(--v1fbbc974)}}@media(min-width:768px){.clll-toast.clll-toast--bottom-left{left:var(--clll-unit-8);bottom:var(--clll-unit-8);margin-left:0}}@media(min-width:768px){.clll-toast.clll-toast--bottom-center{left:0;right:0;margin-left:auto;margin-right:auto;bottom:var(--clll-unit-8)}}@media(min-width:768px){.clll-toast.clll-toast--bottom-right{right:var(--clll-unit-8);bottom:var(--clll-unit-8);margin-right:0}}@media(min-width:768px){.clll-toast.clll-toast--top-left{left:var(--clll-unit-8);top:var(--clll-unit-8);bottom:auto;transform:translateY(-20vh);margin-left:0}}@media(min-width:768px){.clll-toast.clll-toast--top-center{left:0;right:0;margin-left:auto;margin-right:auto;top:var(--clll-unit-8);bottom:auto;transform:translateY(-20vh)}}@media(min-width:768px){.clll-toast.clll-toast--top-right{right:var(--clll-unit-8);top:var(--clll-unit-8);bottom:auto;transform:translateY(-20vh);margin-right:0}}.clll-toast .clll-toast__body{display:flex;align-items:center;padding-top:var(--clll-unit-2_5);padding-left:var(--clll-unit-4);padding-bottom:var(--clll-unit-2_5);padding-right:var(--clll-unit-4)}.clll-toast .clll-toast__body>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-4)}.clll-toast .clll-toast__body .clll-toast__content{display:flex;align-items:center;flex:1 1 0%}.clll-toast .clll-toast__body .clll-toast__content>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-4)}.clll-toast .clll-toast__body .clll-toast__content .clll-toast__icon{display:flex;flex-direction:column;align-items:center;padding:var(--clll-unit-2);border-radius:var(--clll-rounded-full)}.clll-toast .clll-toast__body .clll-toast__content .clll-toast__text{flex:1 1 0%}.clll-toast .clll-toast__timer-bar{position:relative;left:0;bottom:0;height:var(--clll-unit-1);transform-origin:left;width:100%;transform:translateZ(0) rotate(0) skew(0) skewY(0) scaleX(0) scaleY(0)}.clll-toast.clll-toast--has-icon .clll-toast__body{padding-top:var(--clll-unit-2);padding-bottom:var(--clll-unit-2)}.clll-toast.clll-toast--has-titleandmessage .clll-toast__body{padding-top:var(--clll-unit-4);padding-bottom:var(--clll-unit-4)}.clll-toast.clll-toast--has-titleandmessage .clll-toast__body .clll-toast__content .clll-toast__text .clll-text--large{font-weight:500}.clll-toast.clll-toast--mounted{transform:translateY(0)}.clll-toast.clll-toast--rounded{border-radius:var(--clll-rounded-sm)}.clll-toast.clll-toast--rounded.clll-toast--rounded-full,.clll-toast.clll-toast--rounded.clll-toast--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-toast.clll-toast--rounded.clll-toast--rounded-lg,.clll-toast.clll-toast--rounded.clll-toast--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-toast.clll-toast--rounded.clll-toast--rounded-md,.clll-toast.clll-toast--rounded.clll-toast--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-toast.clll-toast--rounded.clll-toast--rounded-sm,.clll-toast.clll-toast--rounded.clll-toast--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-toast.clll-toast--rounded.clll-toast--rounded-xs,.clll-toast.clll-toast--rounded.clll-toast--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-toast.clll-toast--rounded.clll-toast--rounded-xl,.clll-toast.clll-toast--rounded.clll-toast--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-toast.clll-toast--rounded.clll-toast--rounded-2xl,.clll-toast.clll-toast--rounded.clll-toast--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-toast.clll-toast--rounded.clll-toast--rounded-3xl,.clll-toast.clll-toast--rounded.clll-toast--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-toast.clll-toast--rounded.clll-toast--rounded-none,.clll-toast.clll-toast--rounded.clll-toast--rounded-none .clll-{border-radius:0}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import '../../../assets/core.css';
|
|
1
2
|
import './CLToast.css';
|
|
2
|
-
import { _ as s } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-CYcPXUMQ.js";
|
|
3
4
|
export {
|
|
4
5
|
s as CLToast,
|
|
5
6
|
s as default
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CLColorVariants, CLIconSizes, CLColors, CLToastPosition, CLToastProps } from '../../../index.ts';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<CLToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLToastProps> & Readonly<{}>, {
|
|
3
3
|
color: CLColors;
|
|
4
|
-
width: string;
|
|
5
4
|
variant: CLColorVariants;
|
|
6
5
|
rounded: boolean;
|
|
7
6
|
testId: string;
|
|
7
|
+
width: string;
|
|
8
8
|
position: CLToastPosition;
|
|
9
9
|
iconSize: CLIconSizes;
|
|
10
10
|
dismissTimer: number;
|
|
@@ -1,44 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { D as
|
|
4
|
-
const
|
|
1
|
+
import '../../../assets/core.css';
|
|
2
|
+
import { defineComponent as i, watch as o, createBlock as n, openBlock as r, resolveDynamicComponent as s, normalizeStyle as m, unref as l, withCtx as f, renderSlot as d } from "vue";
|
|
3
|
+
import { s as c, a as h, b as C, c as u, d as g, D as p } from "../../../chunks/base-theme-Bg6XMoeN.js";
|
|
4
|
+
const T = /* @__PURE__ */ i({
|
|
5
5
|
__name: "CLThemeProvider",
|
|
6
6
|
props: {
|
|
7
7
|
tag: { default: "div" },
|
|
8
8
|
themeConfig: {}
|
|
9
9
|
},
|
|
10
|
-
setup(
|
|
11
|
-
const t =
|
|
12
|
-
return
|
|
10
|
+
setup(a) {
|
|
11
|
+
const t = a;
|
|
12
|
+
return c(t.themeConfig), o(
|
|
13
13
|
() => t.themeConfig?.borderRadius,
|
|
14
14
|
(e) => {
|
|
15
|
-
|
|
15
|
+
h(e);
|
|
16
16
|
}
|
|
17
17
|
), o(
|
|
18
18
|
() => t.themeConfig?.colors,
|
|
19
19
|
(e) => {
|
|
20
|
-
e &&
|
|
20
|
+
e && C(e);
|
|
21
21
|
}
|
|
22
22
|
), o(
|
|
23
23
|
() => t.themeConfig?.darkMode,
|
|
24
24
|
(e) => {
|
|
25
|
-
e !== void 0 &&
|
|
25
|
+
e !== void 0 && u(e);
|
|
26
26
|
}
|
|
27
27
|
), o(
|
|
28
28
|
() => t.themeConfig?.fontFamily,
|
|
29
29
|
(e) => {
|
|
30
|
-
|
|
30
|
+
g(e);
|
|
31
31
|
}
|
|
32
|
-
), (e,
|
|
33
|
-
|
|
32
|
+
), (e, y) => (r(), n(s(a.tag), {
|
|
33
|
+
class: "clll-theme-provider",
|
|
34
|
+
style: m({ "--clll-font-family": a.themeConfig?.fontFamily || l(p).fontFamily })
|
|
35
|
+
}, {
|
|
36
|
+
default: f(() => [
|
|
34
37
|
d(e.$slots, "default")
|
|
35
38
|
]),
|
|
36
39
|
_: 3
|
|
37
|
-
}));
|
|
40
|
+
}, 8, ["style"]));
|
|
38
41
|
}
|
|
39
42
|
});
|
|
40
43
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
T as CLThemeProvider,
|
|
45
|
+
p as DEFAULT_THEME,
|
|
46
|
+
T as default
|
|
44
47
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import '../../../assets/core.css';
|
|
1
2
|
import { defineComponent as L, ref as i, provide as g, createElementBlock as k, openBlock as p, createBlock as z, createCommentVNode as B, renderSlot as S, unref as A } from "vue";
|
|
2
|
-
import { _ as $ } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as $ } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-CYcPXUMQ.js";
|
|
3
4
|
const x = { class: "clll-toast-provider" }, N = /* @__PURE__ */ L({
|
|
4
5
|
name: "CLToastProvider",
|
|
5
6
|
__name: "CLToastProvider",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.clll-heading{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0}.clll-heading.clll-heading--pagetitle{font-weight:700;font-size:var(--clll-unit-12);line-height:var(--clll-unit-14_5)}.clll-heading.clll-heading--title{font-weight:600;font-size:var(--clll-unit-8);line-height:var(--clll-unit-10_5)}.clll-heading.clll-heading--section{font-weight:600;font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5)}.clll-heading.clll-heading--subsection{font-weight:500;font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5)}.clll-heading.clll-heading--small{font-weight:700;font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-heading.clll-heading--medium{font-weight:700;font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6)}.clll-heading.clll-heading--large{font-weight:700;font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7)}.clll-heading.clll-heading--xlarge{font-weight:700;font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5)}.clll-heading.clll-heading--wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clll-heading.clll-heading--bolder{font-weight:900}.clll-heading.clll-heading--left{text-align:left}.clll-heading.clll-heading--center{text-align:center}.clll-heading.clll-heading--right{text-align:right}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import '../../../assets/core.css';
|
|
1
2
|
import './CLHeading.css';
|
|
2
|
-
import { _ as s } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-BcCh5-Bx.js";
|
|
3
4
|
export {
|
|
4
5
|
s as CLHeading,
|
|
5
6
|
s as default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.clll-text{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;font-weight:400}.clll-text.clll-text--body{font-size:var(--clll-unit-4);line-height:var(--clll-unit-6_5)}.clll-text.clll-text--summary{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6)}.clll-text.clll-text--tiny{font-size:var(--clll-unit-2_5);line-height:var(--clll-unit-3_5)}.clll-text.clll-text--small{font-size:var(--clll-unit-3);line-height:var(--clll-unit-5)}.clll-text.clll-text--medium{font-size:var(--clll-unit-3_5);line-height:var(--clll-unit-6)}.clll-text.clll-text--large{font-size:var(--clll-unit-4_5);line-height:var(--clll-unit-7)}.clll-text.clll-text--xlarge{font-size:var(--clll-unit-5);line-height:var(--clll-unit-7_5)}.clll-text.clll-text--wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.clll-text.clll-text--bold{font-weight:700}.clll-text.clll-text--bolder{font-weight:900}.clll-text.clll-text--light{font-weight:300}.clll-text.clll-text--mediumbold{font-weight:500}.clll-text.clll-text--left{text-align:left}.clll-text.clll-text--center{text-align:center}.clll-text.clll-text--right{text-align:right}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import '../../../assets/core.css';
|
|
1
2
|
import './CLText.css';
|
|
2
|
-
import { _ as s } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-Cz9Sv2AC.js";
|
|
3
4
|
export {
|
|
4
5
|
s as CLText,
|
|
5
6
|
s as default
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import '../assets/core.css';
|
|
2
|
+
import { ref as v } from "vue";
|
|
3
|
+
import { i as n } from "../chunks/helper--hRjZVm6.js";
|
|
4
|
+
const E = ({
|
|
5
|
+
triggerElem: a,
|
|
6
|
+
dropdownRef: w,
|
|
7
|
+
openDropdownHandler: u,
|
|
8
|
+
closeDropdownHandler: s
|
|
9
|
+
}) => {
|
|
10
|
+
const t = v(!1), i = v(), d = () => {
|
|
11
|
+
try {
|
|
12
|
+
t.value = !t.value, t.value && n && (i.value = window.setTimeout(() => {
|
|
13
|
+
window.removeEventListener("click", e), window.removeEventListener("keyup", e), window.addEventListener("click", e), window.addEventListener("keyup", e);
|
|
14
|
+
}, 100)), u?.();
|
|
15
|
+
} catch (r) {
|
|
16
|
+
console.error(r);
|
|
17
|
+
}
|
|
18
|
+
}, m = (r) => {
|
|
19
|
+
try {
|
|
20
|
+
const o = r?.target, c = a?.value, l = w?.value;
|
|
21
|
+
return n && c && l && !c.contains(o) && !l.contains(o) ? !0 : void 0;
|
|
22
|
+
} catch (o) {
|
|
23
|
+
console.error(o);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
}, e = (r) => {
|
|
27
|
+
try {
|
|
28
|
+
m(r) && (n && (window.removeEventListener("click", e), window.removeEventListener("keyup", e)), t.value = !1, s?.());
|
|
29
|
+
} catch (o) {
|
|
30
|
+
console.error(o);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
return {
|
|
34
|
+
open: t,
|
|
35
|
+
toggleDropdown: d,
|
|
36
|
+
closeDropdown: () => {
|
|
37
|
+
try {
|
|
38
|
+
n && (window.removeEventListener("click", e), window.removeEventListener("keyup", e)), t.value = !1, s?.();
|
|
39
|
+
} catch (r) {
|
|
40
|
+
console.error(r);
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
clearEventListeners: () => {
|
|
44
|
+
n && (i.value && window.clearTimeout(i.value), window.removeEventListener("click", e), window.removeEventListener("keyup", e));
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
E as useDropdown
|
|
50
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../assets/core.css';
|
|
2
|
+
import { i as n } from "../chunks/helper--hRjZVm6.js";
|
|
2
3
|
const v = ({ escHandler: t, triggerElem: e }) => {
|
|
3
4
|
const s = (a) => {
|
|
4
5
|
if (n)
|
|
@@ -15,5 +16,5 @@ const v = ({ escHandler: t, triggerElem: e }) => {
|
|
|
15
16
|
};
|
|
16
17
|
};
|
|
17
18
|
export {
|
|
18
|
-
v as
|
|
19
|
+
v as useEsc
|
|
19
20
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import '../assets/core.css';
|
|
1
2
|
import { useSlots as i, computed as l } from "vue";
|
|
2
|
-
const
|
|
3
|
+
const o = (e = "default") => {
|
|
3
4
|
const n = i(), t = (s) => {
|
|
4
5
|
try {
|
|
5
6
|
return !!s?.[e]?.().some((r) => Array.isArray(r.children) ? !0 : typeof r.children == "string" && r.children.trim() ? !(r.children === "v-if" || r.children === "v-show") : typeof r.children == "object" ? t(r.children) : !1);
|
|
@@ -10,5 +11,5 @@ const c = (e = "default") => {
|
|
|
10
11
|
return l(() => t(n));
|
|
11
12
|
};
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
o as useHasSlotContent
|
|
14
15
|
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import '../assets/core.css';
|
|
2
|
+
import { ref as t, inject as n } from "vue";
|
|
3
|
+
const s = t(), a = t(), r = t(), o = t({
|
|
4
|
+
primary: {},
|
|
5
|
+
secondary: {},
|
|
6
|
+
neutral: {},
|
|
7
|
+
danger: {},
|
|
8
|
+
warning: {},
|
|
9
|
+
success: {},
|
|
10
|
+
info: {}
|
|
11
|
+
}), l = (e) => {
|
|
12
|
+
s.value = e;
|
|
13
|
+
}, c = (e) => {
|
|
14
|
+
o.value = { ...o.value, ...e };
|
|
15
|
+
}, u = (e) => {
|
|
16
|
+
a.value = e;
|
|
17
|
+
}, d = (e) => {
|
|
18
|
+
r.value = e;
|
|
19
|
+
}, m = () => n("clll-theme", {
|
|
20
|
+
borderRadius: s,
|
|
21
|
+
colors: o,
|
|
22
|
+
darkMode: a,
|
|
23
|
+
fontFamily: r,
|
|
24
|
+
setBorderRadius: l,
|
|
25
|
+
setColors: c,
|
|
26
|
+
setDarkMode: u,
|
|
27
|
+
setFontFamily: d
|
|
28
|
+
});
|
|
29
|
+
export {
|
|
30
|
+
m as useTheme
|
|
31
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '../assets/core.css';
|
|
2
|
+
import { inject as e } from "vue";
|
|
3
|
+
const a = () => {
|
|
4
|
+
const o = e("clll-toast"), s = (t) => {
|
|
5
|
+
o?.showToast?.(t);
|
|
6
|
+
};
|
|
7
|
+
return {
|
|
8
|
+
visible: o?.visible?.value,
|
|
9
|
+
showToast: s,
|
|
10
|
+
hideToast: o?.hideToast
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
a as useToast
|
|
15
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import './assets/core.css';
|
|
1
2
|
var t = /* @__PURE__ */ ((r) => (r.Left = "left", r.Center = "center", r.Right = "right", r))(t || {}), l = /* @__PURE__ */ ((r) => (r.Full = "rounded-full", r.Large = "rounded-lg", r.Medium = "rounded-md", r.None = "rounded-none", r.Small = "rounded-sm", r.XL = "rounded-xl", r.XXL = "rounded-2xl", r.XXXL = "rounded-3xl", r.XS = "rounded-xs", r))(l || {}), e = /* @__PURE__ */ ((r) => (r.Button = "button", r.Submit = "submit", r))(e || {}), b = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(b || {}), a = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Secondary = "secondary", r.Danger = "danger", r.Info = "info", r.Neutral = "neutral", r.Warning = "warning", r.Success = "success", r))(a || {}), i = /* @__PURE__ */ ((r) => (r.Contrast = "contrast", r.Ghost = "ghost", r.Outline = "outline", r.Soft = "soft", r.Solid = "solid", r.Text = "text", r))(i || {}), d = /* @__PURE__ */ ((r) => (r.Block = "block", r.Inline = "inline", r))(d || {}), u = /* @__PURE__ */ ((r) => (r.H1 = "h1", r.H2 = "h2", r.H3 = "h3", r.H4 = "h4", r.H5 = "h5", r.H6 = "h6", r))(u || {}), g = /* @__PURE__ */ ((r) => (r.Title = "title", r.PageTitle = "pagetitle", r.Section = "section", r.SubSection = "subsection", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(g || {}), h = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", r))(h || {}), o = /* @__PURE__ */ ((r) => (r.Activity = "tabler:activity", r.Adjustments = "tabler:adjustments", r.AdjustmentsHorizontal = "tabler:adjustments-horizontal", r.Ai = "tabler:ai", r.Alarm = "tabler:alarm", r.AlarmPlus = "tabler:alarm-plus", r.AlertSquare = "tabler:alert-square", r.AlertTriangle = "tabler:alert-triangle", r.AlignBoxLeftTop = "tabler:align-box-left-top", r.AlignBoxLeftMiddle = "tabler:align-box-left-middle", r.AlignBoxLeftBottom = "tabler:align-box-left-bottom", r.AlignBoxCenterTop = "tabler:align-box-center-top", r.AlignBoxCenterMiddle = "tabler:align-box-center-middle", r.AlignBoxCenterBottom = "tabler:align-box-center-bottom", r.AlignBoxRightTop = "tabler:align-box-right-top", r.AlignBoxRightMiddle = "tabler:align-box-right-middle", r.AlignBoxRightBottom = "tabler:align-box-right-bottom", r.AlignCenter = "tabler:align-center", r.AlignLeft = "tabler:align-left", r.AlignRight = "tabler:align-right", r.AlignJustified = "tabler:align-justified", r.Apps = "tabler:apps", r.Archive = "tabler:archive", r.ArrowBackUp = "tabler:arrow-back-up", r.ArrowForwardUp = "tabler:arrow-forward-up", r.ArrowsMove = "tabler:arrows-move", r.ArrowBigUpLine = "tabler:arrow-big-up-line", r.ArrowBigDownLine = "tabler:arrow-big-down-line", r.ArrowBack = "tabler:arrow-back", r.ArrowDown = "tabler:arrow-down", r.ArrowForward = "tabler:arrow-forward", r.ArrowLeft = "tabler:arrow-left", r.ArrowRight = "tabler:arrow-right", r.ArrowUp = "tabler:arrow-up", r.ArrowNarrowDown = "tabler:arrow-narrow-down", r.ArrowNarrowLeft = "tabler:arrow-narrow-left", r.ArrowNarrowRight = "tabler:arrow-narrow-right", r.ArrowNarrowUp = "tabler:arrow-narrow-up", r.ArrowsDiagonal = "tabler:arrows-diagonal", r.ArrowsMaximize = "tabler:arrows-maximize", r.ArrowsMinimize = "tabler:arrows-minimize", r.ArrowsSort = "tabler:arrows-sort", r.AtSign = "tabler:at", r.Auth2fa = "tabler:auth-2fa", r.Backspace = "tabler:backspace", r.Bed = "tabler:bed", r.Bell = "tabler:bell", r.BellPlus = "tabler:bell-plus", r.Beach = "tabler:beach", r.Binoculars = "tabler:binoculars", r.Bike = "tabler:bike", r.Book = "tabler:book", r.Bookmark = "tabler:bookmark", r.BorderCorners = "tabler:border-corners", r.BoxMargin = "tabler:box-margin", r.Brush = "tabler:brush", r.BrandApple = "tabler:brand-apple", r.BrandAws = "tabler:brand-aws", r.BrandCloudflare = "tabler:brand-cloudflare", r.BrandFacebook = "tabler:brand-facebook-filled", r.BrandGitlab = "tabler:brand-gitlab", r.BrandGithub = "tabler:brand-github", r.BrandGoogle = "tabler:brand-google-filled", r.BrandInstagram = "tabler:brand-instagram", r.BrandLinkedIn = "tabler:brand-linkedin", r.BrandMastercard = "tabler:brand-mastercard", r.BrandNpm = "tabler:brand-npm", r.BrandNuxt = "tabler:brand-nuxt", r.BrandReact = "tabler:brand-react", r.BrandReactNative = "tabler:brand-react-native", r.BrandSpotify = "tabler:brand-spotify", r.BrandTidal = "tabler:brand-tidal", r.BrandTikTok = "tabler:brand-tiktok", r.BrandTwitter = "tabler:brand-twitter-filled", r.BrandVercel = "tabler:brand-vercel", r.BrandVisa = "tabler:brand-visa", r.BrandVue = "tabler:brand-vue", r.BrandWhatsApp = "tabler:brand-whatsapp", r.BrandX = "tabler:brand-x", r.BrandYouTube = "tabler:brand-youtube-filled", r.BrandWindows = "tabler:brand-windows", r.Briefcase = "tabler:briefcase", r.Briefcase2 = "tabler:briefcase-2", r.Broadcast = "tabler:broadcast", r.Browser = "tabler:browser", r.Building = "tabler:building", r.BuildingAirport = "tabler:building-airport", r.BuildingBank = "tabler:building-bank", r.BuildingCastle = "tabler:building-castle", r.BuildingCarousel = "tabler:building-carousel", r.BuildingChurch = "tabler:building-church", r.BuildingCommunity = "tabler:building-community", r.BuildingCottage = "tabler:building-cottage", r.BuildingStadium = "tabler:building-stadium", r.BuildingStore = "tabler:building-store", r.BuildingSkyscraper = "tabler:building-skyscraper", r.Bug = "tabler:bug", r.Bulb = "tabler:bulb", r.Bus = "tabler:bus", r.BusinessPlan = "tabler:businessplan", r.Calendar = "tabler:calendar", r.CalendarPlus = "tabler:calendar-plus", r.Calculator = "tabler:calculator", r.Camera = "tabler:camera", r.Camper = "tabler:camper", r.Car = "tabler:car", r.CaretDown = "tabler:caret-down", r.CaretLeft = "tabler:caret-left", r.CaretRight = "tabler:caret-right", r.CaretUp = "tabler:caret-up", r.CarouselHorizontal = "tabler:carousel-horizontal", r.ChartBar = "tabler:chart-bar", r.ChartPie = "tabler:chart-pie", r.Check = "tabler:check", r.ChefHat = "tabler:chef-hat", r.ChevronLeft = "tabler:chevron-left", r.ChevronsLeft = "tabler:chevrons-left", r.ChevronRight = "tabler:chevron-right", r.ChevronsRight = "tabler:chevrons-right", r.ChevronUp = "tabler:chevron-up", r.ChevronsUp = "tabler:chevrons-up", r.ChevronDown = "tabler:chevron-down", r.ChevronsDown = "tabler:chevrons-down", r.Circle = "tabler:circle", r.CircleCheck = "tabler:circle-check", r.CircleDot = "tabler:circle-dot", r.CircleMinus = "tabler:circle-minus", r.CircleNumber0 = "tabler:circle-number-0", r.CircleNumber1 = "tabler:circle-number-1", r.CircleNumber2 = "tabler:circle-number-2", r.CircleNumber3 = "tabler:circle-number-3", r.CircleNumber4 = "tabler:circle-number-4", r.CircleNumber5 = "tabler:circle-number-5", r.CircleNumber6 = "tabler:circle-number-6", r.CircleNumber7 = "tabler:circle-number-7", r.CircleNumber8 = "tabler:circle-number-8", r.CircleNumber9 = "tabler:circle-number-9", r.CirclePlus = "tabler:circle-plus", r.Click = "tabler:click", r.ClipboardCopy = "tabler:clipboard-copy", r.ClipboardText = "tabler:clipboard-text", r.Clock = "tabler:clock", r.Clock2 = "tabler:clock-2", r.Cloud = "tabler:cloud", r.CloudCheck = "tabler:cloud-check", r.CloudComputing = "tabler:cloud-computing", r.CloudDataConnection = "tabler:cloud-data-connection", r.CloudDown = "tabler:cloud-down", r.CloudDownload = "tabler:cloud-download", r.CloudUp = "tabler:cloud-up", r.CloudUpload = "tabler:cloud-upload", r.CloudX = "tabler:cloud-x", r.Code = "tabler:code", r.Coin = "tabler:coin", r.Coins = "tabler:coins", r.Columns1 = "tabler:columns-1", r.Columns2 = "tabler:columns-2", r.Columns3 = "tabler:columns-3", r.Command = "tabler:command", r.Components = "tabler:components", r.Confetti = "tabler:confetti", r.Contrast = "tabler:contrast", r.Copy = "tabler:copy", r.CreditCard = "tabler:credit-card", r.Dashboard = "tabler:dashboard", r.Database = "tabler:database", r.DatabaseExport = "tabler:database-export", r.Delete = "tabler:x", r.Devices = "tabler:devices", r.DevicesDollar = "tabler:devices-dollar", r.DeviceDesktop = "tabler:device-desktop", r.DeviceGamepad = "tabler:device-gamepad", r.DeviceMobile = "tabler:device-mobile", r.DeviceTablet = "tabler:device-tablet", r.DeviceTv = "tabler:device-tv", r.Dialpad = "tabler:dialpad", r.DirectionSign = "tabler:direction-sign", r.Download = "tabler:download", r.DragDrop = "tabler:drag-drop", r.EditItem = "tabler:edit-circle", r.EditPencil = "tabler:edit", r.Email = "tabler:mail", r.Equal = "tabler:equal", r.ExternalLink = "tabler:external-link", r.Eye = "tabler:eye", r.EyeOff = "tabler:eye-off", r.Error404 = "tabler:error-404", r.FaceId = "tabler:face-id", r.FileText = "tabler:file-text", r.FileTypeCss = "tabler:file-type-css", r.FileTypeCsv = "tabler:file-type-csv", r.FileTypeHtml = "tabler:file-type-html", r.FileTypePng = "tabler:file-type-png", r.FileTypeJpg = "tabler:file-type-jpg", r.FileTypeJs = "tabler:file-type-js", r.FileTypeJsx = "tabler:file-type-jsx", r.FileTypeSvg = "tabler:file-type-svg", r.FileTypeTs = "tabler:file-type-ts", r.FileTypeVue = "tabler:file-type-vue", r.Filter = "tabler:filter", r.Flag = "tabler:flag", r.Flag2 = "tabler:flag-2", r.Flag3 = "tabler:flag-3", r.Flame = "tabler:flame", r.Folder = "tabler:folder", r.Forms = "tabler:forms", r.Frame = "tabler:frame", r.Gps = "tabler:gps", r.Gift = "tabler:gift", r.Hanger = "tabler:hanger", r.HandStop = "tabler:hand-stop", r.Heading = "tabler:heading", r.Heart = "tabler:heart", r.HeartHandShake = "tabler:heart-handshake", r.Help = "tabler:help", r.HelpCircle = "tabler:help-circle", r.HelpSmall = "tabler:help-small", r.Home = "tabler:home", r.Html = "tabler:html", r.Image = "tabler:photo", r.Inbox = "tabler:inbox", r.InfoCircle = "tabler:info-circle", r.InfoSmall = "tabler:info-small", r.Grill = "tabler:grill", r.GripHorizontal = "tabler:grip-horizontal", r.GripVertical = "tabler:grip-vertical", r.Key = "tabler:key", r.Keyboard = "tabler:keyboard", r.Label = "tabler:label", r.Layers = "tabler:layers-subtract", r.Layout = "tabler:layout", r.LayoutBottomBar = "tabler:layout-bottombar", r.LayoutDashboard = "tabler:layout-dashboard", r.LayoutGrid = "tabler:layout-grid", r.LayoutList = "tabler:layout-list", r.LayoutNavbar = "tabler:layout-navbar", r.LayoutRows = "tabler:layout-rows", r.LayoutSidebar = "tabler:layout-sidebar", r.LayoutSidebarRight = "tabler:layout-sidebar-right", r.Link = "tabler:link", r.List = "tabler:list", r.ListNumbers = "tabler:list-numbers", r.ListTree = "tabler:list-tree", r.LoadBalancer = "tabler:load-balancer", r.Lock = "tabler:lock", r.Location = "tabler:location", r.LogIn = "tabler:login", r.LogOut = "tabler:logout", r.Logs = "tabler:logs", r.Luggage = "tabler:luggage", r.Map = "tabler:map", r.MapPin = "tabler:map-pin", r.MapPinPlus = "tabler:map-pin-plus", r.MapSearch = "tabler:map-search", r.Marquee = "tabler:marquee", r.MarqueeOff = "tabler:marquee-off", r.Mail = "tabler:mail", r.MailPlus = "tabler:mail-plus", r.Maximize = "tabler:maximize", r.Menu = "tabler:menu-2", r.Message = "tabler:message", r.Messages = "tabler:messages", r.MessageDots = "tabler:message-dots", r.MessageOff = "tabler:message-off", r.MessagePlus = "tabler:message-plus", r.MoneyBag = "tabler:moneybag", r.MoodDollar = "tabler:mood-dollar", r.MoodHeart = "tabler:mood-heart", r.MoodKid = "tabler:mood-kid", r.MoodNerd = "tabler:mood-nerd", r.MoodNeutral = "tabler:mood-neutral", r.MoodPuzzled = "tabler:mood-puzzled", r.MoodSadSquint = "tabler:mood-sad-squint", r.MoodSmile = "tabler:mood-smile", r.MoodTongue = "tabler:mood-tongue", r.MoodTongueWink = "tabler:mood-tongue-wink", r.MoodTongueWink2 = "tabler:mood-tongue-wink-2", r.MoodWink2 = "tabler:mood-wink-2", r.MoodWrrr = "tabler:mood-wrrr", r.Moon = "tabler:moon", r.Mouse = "tabler:mouse", r.MoreHorizontal = "tabler:dots", r.MoreVertical = "tabler:dots-vertical", r.Movie = "tabler:movie", r.Music = "tabler:music", r.Notes = "tabler:notes", r.NewSection = "tabler:new-section", r.Palette = "tabler:palette", r.Paint = "tabler:paint", r.Pencil = "tabler:pencil", r.Percentage = "tabler:percentage", r.Photo = "tabler:photo", r.PhotoPlus = "tabler:photo-plus", r.PhotoScan = "tabler:photo-scan", r.Phone = "tabler:phone", r.PigMoney = "tabler:pig-money", r.Pin = "tabler:pin", r.Pinned = "tabler:pinned", r.Plane = "tabler:plane", r.PlusCircle = "tabler:circle-plus", r.Plus = "tabler:plus", r.Pointer = "tabler:pointer", r.Printer = "tabler:printer", r.Progress = "tabler:progress", r.ProgressHelp = "tabler:progress-help", r.QuestionMark = "tabler:question-mark", r.Rectangle = "tabler:rectangle", r.Receipt = "tabler:receipt", r.Receipt2 = "tabler:receipt-2", r.Refresh = "tabler:refresh", r.Restore = "tabler:restore", r.Robot = "tabler:robot", r.RobotFace = "tabler:robot-face", r.Rocket = "tabler:rocket", r.RowInsertTop = "tabler:row-insert-top", r.RowInsertBottom = "tabler:row-insert-bottom", r.RowRemove = "tabler:row-remove", r.Rss = "tabler:rss", r.Run = "tabler:run", r.Sailboat = "tabler:sailboat", r.Scale = "tabler:scale", r.School = "tabler:school", r.Scissors = "tabler:scissors", r.Scoreboard = "tabler:scoreboard", r.Seo = "tabler:seo", r.ShoppingCart = "tabler:shopping-cart", r.ShieldCheck = "tabler:shield-check", r.Search = "tabler:search", r.Section = "tabler:section", r.Select = "tabler:select", r.Server = "tabler:server", r.Server2 = "tabler:server-2", r.Settings = "tabler:settings", r.Share = "tabler:share", r.Share2 = "tabler:share-2", r.Share3 = "tabler:share-3", r.Shirt = "tabler:shirt", r.Sliders = "tabler:adjustments", r.SpeedBoat = "tabler:speedboat", r.Square = "tabler:square", r.SquareCheck = "tabler:square-check", r.SquarePlus = "tabler:square-plus", r.Stack = "tabler:stack", r.Stack2 = "tabler:stack-2", r.Stack3 = "tabler:stack-3", r.Stethoscope = "tabler:stethoscope", r.Sun = "tabler:sun", r.Table = "tabler:table", r.Template = "tabler:template", r.Terminal = "tabler:terminal", r.Terminal2 = "tabler:terminal-2", r.TextSize = "tabler:text-size", r.Ticket = "tabler:ticket", r.Timeline = "tabler:timeline", r.TimelineEvent = "tabler:timeline-event", r.TipJar = "tabler:tip-jar", r.ToolsKitchen = "tabler:tools-kitchen", r.ToolsKitchen2 = "tabler:tools-kitchen-2", r.ToolsKitchen3 = "tabler:tools-kitchen-3", r.Train = "tabler:train", r.Trash = "tabler:trash", r.TrashCan = "tabler:trash", r.TrashOff = "tabler:trash-off", r.TrashX = "tabler:trash-x", r.Trekking = "tabler:trekking", r.Typography = "tabler:typography", r.Upload = "tabler:upload", r.Urgent = "tabler:urgent", r.User = "tabler:user", r.UserCancel = "tabler:user-cancel", r.UserCheck = "tabler:user-check", r.UserPlus = "tabler:user-plus", r.UserQuestion = "tabler:user-question", r.UserX = "tabler:user-x", r.Users = "tabler:users", r.UserCircle = "tabler:user-circle", r.UsersGroup = "tabler:users-group", r.UsersMinus = "tabler:users-minus", r.UsersPlus = "tabler:users-plus", r.UserSquareRounded = "tabler:user-square-rounded", r.Video = "tabler:video", r.Walk = "tabler:walk", r.Wallet = "tabler:wallet", r.Wifi = "tabler:wifi", r.WindowMaximize = "tabler:window-maximize", r.WindowMinimize = "tabler:window-minimize", r.WorldWww = "tabler:world-www", r))(o || {}), p = /* @__PURE__ */ ((r) => (r.Color = "color", r.Date = "date", r.DateTimeLocal = "datetime-local", r.Decimal = "decimal", r.Email = "email", r.Hidden = "hidden", r.File = "file", r.None = "none", r.Number = "number", r.Password = "password", r.Search = "search", r.Tel = "tel", r.Text = "text", r.Time = "time", r.Url = "url", r))(p || {}), f = /* @__PURE__ */ ((r) => (r.Eager = "eager", r.Lazy = "lazy", r))(f || {}), w = /* @__PURE__ */ ((r) => (r.Blank = "_blank", r.Self = "_self", r))(w || {}), k = /* @__PURE__ */ ((r) => (r.Danger = "danger", r.Default = "default", r.Success = "success", r.Warning = "warning", r))(k || {}), v = /* @__PURE__ */ ((r) => (r.Dark = "dark", r.Light = "light", r))(v || {}), B = /* @__PURE__ */ ((r) => (r.After = "after", r.Before = "before", r))(B || {}), x = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(x || {}), S = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Hidden = "hidden", r.Scroll = "scroll", r.Visible = "visible", r))(S || {}), M = /* @__PURE__ */ ((r) => (r.Dots = "dots", r.Hidden = "hidden", r.Inline = "inline", r.Numbered = "numbered", r))(M || {}), A = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.Left = "left", r.LeftEnd = "left-end", r.LeftStart = "left-start", r.Right = "right", r.RightEnd = "right-end", r.RightStart = "right-start", r.Top = "top", r.TopEnd = "top-end", r.TopStart = "top-start", r))(A || {}), y = /* @__PURE__ */ ((r) => (r.Absolute = "absolute", r.Relative = "relative", r))(y || {}), n = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(n || {}), D = /* @__PURE__ */ ((r) => (r.Condensed = "condensed", r.Default = "default", r.Plain = "plain", r))(D || {}), R = /* @__PURE__ */ ((r) => (r.Body = "body", r.Summary = "summary", r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(R || {}), F = /* @__PURE__ */ ((r) => (r.TopLeft = "top-left", r.TopCenter = "top-center", r.TopRight = "top-right", r.BottomLeft = "bottom-left", r.BottomCenter = "bottom-center", r.BottomRight = "bottom-right", r))(F || {});
|
|
2
3
|
export {
|
|
3
4
|
t as CLAlign,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deep merge utility for theme configuration
|
|
3
|
+
*
|
|
4
|
+
* Performs a recursive deep merge of objects, allowing partial overrides
|
|
5
|
+
* of nested structures like the color palette system.
|
|
6
|
+
*
|
|
7
|
+
* @param target - The base object to merge into
|
|
8
|
+
* @param source - The object to merge from (takes precedence), can be undefined or null
|
|
9
|
+
* @returns A new object with merged values
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* // Merge color palettes with partial overrides
|
|
13
|
+
* const defaults = { primary: { 0: '#fff', 100: '#def5ff' } };
|
|
14
|
+
* const custom = { primary: { 100: '#custom' } };
|
|
15
|
+
* const result = deepMerge(defaults, custom);
|
|
16
|
+
* // result.primary = { 0: '#fff', 100: '#custom' }
|
|
17
|
+
*/
|
|
18
|
+
export declare function deepMerge<T extends Record<string, any> | undefined>(target: T, source?: Record<string, any> | null | undefined): T;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"ui components",
|
|
18
18
|
"vuejs"
|
|
19
19
|
],
|
|
20
|
-
"version": "3.16.
|
|
20
|
+
"version": "3.16.3",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"scripts": {
|
|
@@ -165,10 +165,12 @@
|
|
|
165
165
|
"import": "./dist/components/Typography/CLText/CLText.js"
|
|
166
166
|
},
|
|
167
167
|
"./composables/useTheme": {
|
|
168
|
-
"types": "./dist/composables/useTheme.d.ts"
|
|
168
|
+
"types": "./dist/composables/useTheme.d.ts",
|
|
169
|
+
"import": "./dist/composables/useTheme.js"
|
|
169
170
|
},
|
|
170
171
|
"./composables/useToast": {
|
|
171
|
-
"types": "./dist/composables/useToast.d.ts"
|
|
172
|
+
"types": "./dist/composables/useToast.d.ts",
|
|
173
|
+
"import": "./dist/composables/useToast.js"
|
|
172
174
|
}
|
|
173
175
|
},
|
|
174
176
|
"devDependencies": {
|
|
@@ -183,50 +185,50 @@
|
|
|
183
185
|
"@size-limit/esbuild": "^11.2.0",
|
|
184
186
|
"@size-limit/esbuild-why": "^11.2.0",
|
|
185
187
|
"@size-limit/preset-small-lib": "^11.0.0",
|
|
186
|
-
"@storybook/addon-a11y": "^9.1.
|
|
187
|
-
"@storybook/addon-docs": "^9.1.
|
|
188
|
-
"@storybook/cli": "^9.1.
|
|
188
|
+
"@storybook/addon-a11y": "^9.1.13",
|
|
189
|
+
"@storybook/addon-docs": "^9.1.13",
|
|
190
|
+
"@storybook/cli": "^9.1.13",
|
|
189
191
|
"@storybook/test-runner": "^0.23.0",
|
|
190
|
-
"@storybook/vue3-vite": "^9.1.
|
|
192
|
+
"@storybook/vue3-vite": "^9.1.13",
|
|
191
193
|
"@types/lodash-es": "^4.17.12",
|
|
192
|
-
"@types/node": "^
|
|
194
|
+
"@types/node": "^24.9.1",
|
|
193
195
|
"@types/stylis": "^4.2.7",
|
|
194
|
-
"@vitejs/plugin-vue": "^
|
|
195
|
-
"@vitejs/plugin-vue-jsx": "^
|
|
196
|
-
"@vitest/browser": "
|
|
197
|
-
"@vitest/coverage-istanbul": "
|
|
198
|
-
"@vitest/coverage-v8": "
|
|
199
|
-
"@vitest/ui": "^
|
|
196
|
+
"@vitejs/plugin-vue": "^6.0.1",
|
|
197
|
+
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
198
|
+
"@vitest/browser": "4.0.1",
|
|
199
|
+
"@vitest/coverage-istanbul": "4.0.1",
|
|
200
|
+
"@vitest/coverage-v8": "4.0.1",
|
|
201
|
+
"@vitest/ui": "^4.0.1",
|
|
200
202
|
"@vue/test-utils": "^2.4.6",
|
|
201
|
-
"@vue/tsconfig": "^0.
|
|
203
|
+
"@vue/tsconfig": "^0.8.1",
|
|
202
204
|
"@wdns/vue-code-block": "^2.3.5",
|
|
203
|
-
"chromatic": "^13.
|
|
204
|
-
"conventional-changelog-conventionalcommits": "^
|
|
205
|
-
"eslint-plugin-storybook": "9.1.
|
|
206
|
-
"eslint-plugin-vue": "^
|
|
205
|
+
"chromatic": "^13.3.1",
|
|
206
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
207
|
+
"eslint-plugin-storybook": "9.1.13",
|
|
208
|
+
"eslint-plugin-vue": "^10.5.1",
|
|
207
209
|
"fast-glob": "^3.3.3",
|
|
208
|
-
"jsdom": "^
|
|
210
|
+
"jsdom": "^27.0.1",
|
|
209
211
|
"lodash-es": "^4.17.21",
|
|
210
212
|
"murmurhash": "^2.0.1",
|
|
211
|
-
"playwright": "^1.
|
|
212
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
213
|
+
"playwright": "^1.56.1",
|
|
214
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
213
215
|
"sass": "^1.89.2",
|
|
214
|
-
"semantic-release": "^
|
|
216
|
+
"semantic-release": "^25.0.1",
|
|
215
217
|
"size-limit": "^11.0.0",
|
|
216
|
-
"storybook": "^9.1.
|
|
218
|
+
"storybook": "^9.1.13",
|
|
217
219
|
"storybook-addon-deep-controls": "^0.9.5",
|
|
218
220
|
"stylis": "^4.3.6",
|
|
219
221
|
"tsx": "^4.20.6",
|
|
220
|
-
"unplugin-auto-import": "^
|
|
221
|
-
"vite": "^
|
|
222
|
+
"unplugin-auto-import": "^20.2.0",
|
|
223
|
+
"vite": "^7.1.12",
|
|
222
224
|
"vite-plugin-dts": "^4.5.4",
|
|
223
225
|
"vite-tsconfig-paths": "^5.1.4",
|
|
224
|
-
"vitest": "
|
|
226
|
+
"vitest": "4.0.1",
|
|
225
227
|
"vue": "^3.5.18",
|
|
226
|
-
"vue-component-meta": "^3.1.
|
|
228
|
+
"vue-component-meta": "^3.1.1",
|
|
227
229
|
"vue-docgen-api": "^4.79.2",
|
|
228
|
-
"vue-router": "^4.
|
|
229
|
-
"vue-tsc": "^
|
|
230
|
+
"vue-router": "^4.6.3",
|
|
231
|
+
"vue-tsc": "^3.1.1"
|
|
230
232
|
},
|
|
231
233
|
"peerDependencies": {
|
|
232
234
|
"vue": "^3.5.10"
|