@codeandfunction/callaloo 3.16.3 → 3.16.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.
- package/dist/assets/CLInputMessages.css +1 -1
- package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Caaw-9_c.js → CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js} +13 -12
- package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-N3EWoTbB.js → CLButton.vue_vue_type_style_index_0_lang-B4xTt-xw.js} +5 -5
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-CpReGucs.js → CLCard.vue_vue_type_style_index_0_lang-Bj9WF_mX.js} +44 -43
- package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-Cw3nPc64.js → CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js} +1 -1
- package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-BcCh5-Bx.js → CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js} +11 -10
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang--1FTkRVd.js +87 -0
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +153 -0
- package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BDL4xcfJ.js +68 -0
- package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-D2oCLUGX.js → CLNavLink.vue_vue_type_script_setup_true_lang-C_BQCWeg.js} +1 -1
- package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DwNvvX0v.js +90 -0
- package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-Cu3FhEX0.js → CLProgress.vue_vue_type_style_index_0_lang-Mikbgpn2.js} +16 -15
- package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang-DblqrUXo.js → CLSkeleton.vue_vue_type_style_index_0_lang-Csb9YnTI.js} +11 -10
- package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-DskZL4VC.js → CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js} +17 -16
- package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-Cz9Sv2AC.js → CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js} +14 -13
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-C6gOJx7A.js +185 -0
- package/dist/chunks/utils-CAV1sBee.js +24 -0
- package/dist/chunks/utils-CS9Gz4oX.js +25 -0
- package/dist/chunks/utils-C_e2F4X7.js +17 -0
- package/dist/chunks/utils-Sqgt8Fa4.js +85 -0
- package/dist/chunks/utils-cOhtsyeB.js +41 -0
- package/dist/chunks/utils-zJwcNHl4.js +37 -0
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -1
- package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.css +1 -1
- package/dist/components/Buttons/CLButton/CLButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
- package/dist/components/Buttons/utils.d.ts +16 -2
- package/dist/components/CLIcon/CLIcon.css +1 -1
- package/dist/components/CLIcon/CLIcon.js +1 -1
- package/dist/components/CLIcon/utils.d.ts +3 -1
- package/dist/components/CLTable/CLTable.css +1 -1
- package/dist/components/CLTable/CLTable.js +113 -115
- package/dist/components/CLTable/utils.d.ts +5 -1
- package/dist/components/Containers/CLCard/CLCard.css +1 -1
- package/dist/components/Containers/CLCard/CLCard.js +1 -1
- package/dist/components/Containers/CLCarousel/CLCarousel.js +2 -2
- package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
- package/dist/components/Containers/CLDisclosure/CLDisclosure.js +32 -31
- package/dist/components/Containers/utils.d.ts +15 -2
- package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -1
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +33 -35
- 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 +31 -33
- package/dist/components/Form/CLInput/CLInput.vue.d.ts +3 -3
- package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -1
- package/dist/components/Form/CLRadioButton/CLRadioButton.js +35 -34
- package/dist/components/Form/CLSelect/CLSelect.css +1 -1
- package/dist/components/Form/CLSelect/CLSelect.js +32 -31
- package/dist/components/Form/CLTextArea/CLTextArea.css +1 -1
- package/dist/components/Form/CLTextArea/CLTextArea.js +21 -20
- package/dist/components/Form/utils.d.ts +51 -4
- package/dist/components/Indicators/CLBadge/CLBadge.css +1 -1
- package/dist/components/Indicators/CLBadge/CLBadge.js +12 -11
- package/dist/components/Indicators/CLBanner/CLBanner.css +1 -1
- package/dist/components/Indicators/CLBanner/CLBanner.js +27 -26
- package/dist/components/Indicators/CLPill/CLPill.css +1 -1
- package/dist/components/Indicators/CLPill/CLPill.js +1 -1
- package/dist/components/Indicators/CLProgress/CLProgress.css +1 -1
- package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
- package/dist/components/Indicators/utils.d.ts +31 -4
- package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -1
- package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
- package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -1
- package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
- package/dist/components/Loading/utils.d.ts +7 -2
- package/dist/components/Modals/CLModal/CLModal.css +1 -1
- package/dist/components/Modals/CLModal/CLModal.js +82 -78
- package/dist/components/Modals/utils.d.ts +5 -1
- package/dist/components/Navigation/CLLink/CLLink.css +1 -1
- package/dist/components/Navigation/CLLink/CLLink.js +1 -1
- package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -1
- package/dist/components/Navigation/CLNavSection/CLNavSection.js +2 -2
- package/dist/components/Navigation/utils.d.ts +8 -1
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -1
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +6 -6
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
- package/dist/components/Popups/CLToast/CLToast.css +1 -1
- package/dist/components/Popups/CLToast/CLToast.js +1 -1
- package/dist/components/Popups/utils.d.ts +8 -1
- package/dist/components/Providers/CLThemeProvider/utils.d.ts +0 -1
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
- package/dist/components/Typography/CLHeading/CLHeading.css +1 -1
- package/dist/components/Typography/CLHeading/CLHeading.js +1 -1
- package/dist/components/Typography/CLText/CLText.css +1 -1
- package/dist/components/Typography/CLText/CLText.js +1 -1
- package/dist/components/Typography/utils.d.ts +3 -1
- package/dist/composables/useTheme.js +17 -16
- package/package.json +1 -4
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-BaCl5yQI.js +0 -84
- package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNGT0om7.js +0 -121
- package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BMUevw_4.js +0 -60
- package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DYXrV-YE.js +0 -88
- package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CYcPXUMQ.js +0 -179
- package/dist/chunks/utils-Bp7YeySh.js +0 -29
- package/dist/chunks/utils-C9rOAW29.js +0 -387
- package/dist/chunks/utils-D-5TdmRW.js +0 -26
- package/dist/chunks/utils-DRsWhcFX.js +0 -30
- package/dist/chunks/utils-DVR3a-_d.js +0 -73
- package/dist/chunks/utils-nC7WS9e0.js +0 -15
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLModal.css';
|
|
3
|
-
import { defineComponent as W, useCssVars as F, unref as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { CLMode as k, CLColors as
|
|
7
|
-
import { g as ne
|
|
8
|
-
import { useTheme as
|
|
9
|
-
import { useEsc as
|
|
10
|
-
import { b as S, i as
|
|
11
|
-
const
|
|
12
|
-
const { borderRadius: t, colors: w, darkMode: c } =
|
|
13
|
-
color:
|
|
3
|
+
import { defineComponent as W, useCssVars as F, unref as l, computed as _, useTemplateRef as U, useSlots as Z, ref as j, watch as q, onMounted as A, onBeforeUnmount as G, createElementBlock as L, createCommentVNode as f, openBlock as v, normalizeStyle as g, normalizeClass as s, createElementVNode as d, createBlock as B, renderSlot as h, withCtx as J, createTextVNode as K, toDisplayString as P } from "vue";
|
|
4
|
+
import { _ as Q } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-B4xTt-xw.js";
|
|
5
|
+
import { _ as X } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js";
|
|
6
|
+
import { CLMode as k, CLColors as T, CLColorVariants as R, CLBorderRadius as Y, CLIconSizes as ee, CLIconNames as oe, CLHeadingTypes as te } from "../../../index.js";
|
|
7
|
+
import { g as ne } from "../../../chunks/utils-CS9Gz4oX.js";
|
|
8
|
+
import { useTheme as le } from "../../../composables/useTheme.js";
|
|
9
|
+
import { useEsc as se } from "../../../composables/useEsc.js";
|
|
10
|
+
import { b as S, i as a } from "../../../chunks/helper--hRjZVm6.js";
|
|
11
|
+
const ae = () => {
|
|
12
|
+
const { borderRadius: t, colors: w, darkMode: c } = le(), r = c.value ? k.Dark : k.Light, u = ne({
|
|
13
|
+
color: T.Neutral,
|
|
14
14
|
colors: w.value,
|
|
15
|
-
mode:
|
|
16
|
-
variant:
|
|
15
|
+
mode: r,
|
|
16
|
+
variant: R.Solid
|
|
17
17
|
}), o = c.value ? "black" : "white";
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
return {
|
|
19
|
+
"--clll-modal-overlay-bg": u?.bg ?? "transparent",
|
|
20
|
+
"--clll-modal-content-bg": o,
|
|
21
|
+
"--clll-modal-theme-radius": t.value ? `var(--clll-${t.value})` : void 0
|
|
22
|
+
};
|
|
23
|
+
}, re = ["id", "data-testid"], de = ["aria-labelledby"], be = /* @__PURE__ */ W({
|
|
21
24
|
name: "CLModal",
|
|
22
25
|
__name: "CLModal",
|
|
23
26
|
props: {
|
|
24
27
|
borderRadius: { default: void 0 },
|
|
25
28
|
close: { type: Boolean, default: !0 },
|
|
26
|
-
closeBorderRadius: { default:
|
|
29
|
+
closeBorderRadius: { default: Y.Full },
|
|
27
30
|
dismissible: { type: Boolean, default: !0 },
|
|
28
31
|
fullscreen: { type: Boolean, default: !1 },
|
|
29
32
|
isOpen: { type: Boolean, default: !1 },
|
|
@@ -37,21 +40,21 @@ const re = () => {
|
|
|
37
40
|
},
|
|
38
41
|
emits: ["modal-open", "modal-close"],
|
|
39
42
|
setup(t, { emit: w }) {
|
|
40
|
-
F((
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
F((n) => ({
|
|
44
|
+
v2ce0ceaf: l(O),
|
|
45
|
+
v51a276c4: l(V),
|
|
46
|
+
v0c2be450: n.maxWidth
|
|
44
47
|
}));
|
|
45
|
-
const c = w,
|
|
46
|
-
|
|
48
|
+
const c = w, r = U("modal-window"), u = Z(), o = t, e = "clll-modal", $ = "clll-prevent-scroll", m = j(), C = () => {
|
|
49
|
+
a && window?.document.body.classList.add($);
|
|
47
50
|
}, x = () => {
|
|
48
|
-
|
|
49
|
-
}, N =
|
|
51
|
+
a && window?.document.body.classList.remove($);
|
|
52
|
+
}, N = _(() => [
|
|
50
53
|
e
|
|
51
|
-
]), E =
|
|
54
|
+
]), E = _(() => [
|
|
52
55
|
`${e}__window`,
|
|
53
56
|
o.fullscreen ? `${e}__window--fullscreen` : ""
|
|
54
|
-
]), M =
|
|
57
|
+
]), M = _(() => [
|
|
55
58
|
`${e}__content`,
|
|
56
59
|
o.borderRadius ? `${e}__content--${o.borderRadius}` : "",
|
|
57
60
|
o.close ? `${e}__content--has-close-button` : `${e}__content--has-no-close-button`,
|
|
@@ -59,119 +62,120 @@ const re = () => {
|
|
|
59
62
|
u.footer ? `${e}__content--has-footer` : `${e}__content--has-no-footer`,
|
|
60
63
|
u.header || o.title ? `${e}__content--has-header` : `${e}__content--has-no-header`,
|
|
61
64
|
o.title ? `${e}__content--has-title` : `${e}__content--has-no-title`
|
|
62
|
-
]), O =
|
|
65
|
+
]), O = _(() => o.zIndex === "auto" || S(o.zIndex) ? o.zIndex : o.zIndex.toString()), V = _(() => o.zIndex === "auto" ? o.zIndex : ((S(o.zIndex) ? parseInt(o.zIndex, 10) : o.zIndex) + 100).toString()), H = (n) => {
|
|
63
66
|
try {
|
|
64
|
-
const i =
|
|
65
|
-
return
|
|
67
|
+
const i = n?.target, p = r.value;
|
|
68
|
+
return a && p && !p.contains(i) ? !0 : void 0;
|
|
66
69
|
} catch (i) {
|
|
67
70
|
console.error(i);
|
|
68
71
|
return;
|
|
69
72
|
}
|
|
70
|
-
}, b = (
|
|
73
|
+
}, b = (n) => {
|
|
71
74
|
try {
|
|
72
|
-
H(
|
|
75
|
+
H(n) && (a && window.removeEventListener("mousedown", b), z());
|
|
73
76
|
} catch (i) {
|
|
74
77
|
console.error(i);
|
|
75
78
|
}
|
|
76
79
|
}, y = () => {
|
|
77
|
-
|
|
80
|
+
a && window.removeEventListener("mousedown", b);
|
|
78
81
|
}, I = () => {
|
|
79
|
-
|
|
82
|
+
a && (m.value && a && window.clearTimeout(m.value), y(), x());
|
|
80
83
|
}, z = () => {
|
|
81
84
|
o.isOpen && (o.onClose?.(), I());
|
|
82
85
|
};
|
|
83
|
-
q(o, (
|
|
84
|
-
|
|
86
|
+
q(o, (n) => {
|
|
87
|
+
n.isOpen ? (c("modal-open"), C(), r.value && r.value.focus(), a && n.dismissible && (y(), m.value = window.setTimeout(() => {
|
|
85
88
|
window.addEventListener("mousedown", b);
|
|
86
|
-
}, 100))) : (
|
|
89
|
+
}, 100))) : (r.value && r.value.blur(), x(), y(), m.value && a && window.clearTimeout(m.value), c("modal-close"));
|
|
87
90
|
}), A(() => {
|
|
88
|
-
o.isOpen &&
|
|
91
|
+
o.isOpen && a && (C(), r.value && r.value.focus());
|
|
89
92
|
});
|
|
90
|
-
const { clearEventListeners: D } =
|
|
93
|
+
const { clearEventListeners: D } = se({ escHandler: o.dismissible ? z : void 0 });
|
|
91
94
|
return G(() => {
|
|
92
95
|
I(), D();
|
|
93
|
-
}), (
|
|
96
|
+
}), (n, i) => t.isOpen ? (v(), L("div", {
|
|
94
97
|
key: 0,
|
|
95
98
|
id: t.modalId,
|
|
96
|
-
class:
|
|
97
|
-
"data-testid": t.testId
|
|
99
|
+
class: s(l(N)),
|
|
100
|
+
"data-testid": t.testId,
|
|
101
|
+
style: g(l(ae)())
|
|
98
102
|
}, [
|
|
99
|
-
|
|
100
|
-
class:
|
|
103
|
+
d("div", {
|
|
104
|
+
class: s(l(E))
|
|
101
105
|
}, [
|
|
102
|
-
|
|
106
|
+
d("div", {
|
|
103
107
|
ref: "modal-window",
|
|
104
108
|
"aria-modal": "true",
|
|
105
109
|
"aria-labelledby": `${e}__content__header__title`,
|
|
106
|
-
class:
|
|
110
|
+
class: s(l(M)),
|
|
107
111
|
role: "dialog",
|
|
108
112
|
tabindex: -1
|
|
109
113
|
}, [
|
|
110
|
-
|
|
111
|
-
class:
|
|
114
|
+
d("div", {
|
|
115
|
+
class: s(`${e}__close-button`)
|
|
112
116
|
}, [
|
|
113
|
-
t.onClose && t.close ? (v(),
|
|
117
|
+
t.onClose && t.close ? (v(), B(l(Q), {
|
|
114
118
|
key: 0,
|
|
115
119
|
"aria-label": "Close modal",
|
|
116
120
|
"border-radius": t.closeBorderRadius,
|
|
117
|
-
color:
|
|
118
|
-
"icon-before":
|
|
119
|
-
"icon-size":
|
|
121
|
+
color: l(T).Neutral,
|
|
122
|
+
"icon-before": l(oe).Delete,
|
|
123
|
+
"icon-size": l(ee).Tiny,
|
|
120
124
|
"on-click": t.onClose,
|
|
121
125
|
"test-id": `${e}__close-button`,
|
|
122
|
-
variant:
|
|
126
|
+
variant: l(R).Text
|
|
123
127
|
}, null, 8, ["border-radius", "color", "icon-before", "icon-size", "on-click", "test-id", "variant"])) : f("", !0)
|
|
124
128
|
], 2),
|
|
125
|
-
|
|
126
|
-
class:
|
|
129
|
+
d("div", {
|
|
130
|
+
class: s(`${e}__content__header`)
|
|
127
131
|
}, [
|
|
128
|
-
|
|
129
|
-
class:
|
|
132
|
+
d("div", {
|
|
133
|
+
class: s(`${e}__content__title`)
|
|
130
134
|
}, [
|
|
131
|
-
|
|
132
|
-
class:
|
|
135
|
+
d("div", {
|
|
136
|
+
class: s(`${e}__content__header__container`)
|
|
133
137
|
}, [
|
|
134
|
-
t.title ? (v(),
|
|
138
|
+
t.title ? (v(), B(l(X), {
|
|
135
139
|
key: 0,
|
|
136
140
|
id: `${e}__content__header__title`,
|
|
137
|
-
class:
|
|
138
|
-
type:
|
|
141
|
+
class: s(`${e}__content__header__title`),
|
|
142
|
+
type: l(te).Section
|
|
139
143
|
}, {
|
|
140
144
|
default: J(() => [
|
|
141
145
|
K(P(t.title), 1)
|
|
142
146
|
]),
|
|
143
147
|
_: 1
|
|
144
148
|
}, 8, ["id", "class", "type"])) : f("", !0),
|
|
145
|
-
|
|
149
|
+
h(n.$slots, "header")
|
|
146
150
|
], 2)
|
|
147
151
|
], 2)
|
|
148
152
|
], 2),
|
|
149
|
-
|
|
150
|
-
class:
|
|
153
|
+
d("div", {
|
|
154
|
+
class: s(`${e}__content__scroller`)
|
|
151
155
|
}, [
|
|
152
|
-
|
|
153
|
-
class:
|
|
156
|
+
d("div", {
|
|
157
|
+
class: s(`${e}__content__body`)
|
|
154
158
|
}, [
|
|
155
|
-
|
|
159
|
+
h(n.$slots, "body")
|
|
156
160
|
], 2)
|
|
157
161
|
], 2),
|
|
158
|
-
|
|
159
|
-
class:
|
|
162
|
+
d("div", {
|
|
163
|
+
class: s(`${e}__content__footer`)
|
|
160
164
|
}, [
|
|
161
|
-
|
|
165
|
+
h(n.$slots, "footer")
|
|
162
166
|
], 2)
|
|
163
|
-
], 10,
|
|
167
|
+
], 10, de)
|
|
164
168
|
], 2),
|
|
165
|
-
t.overlay ? (v(),
|
|
169
|
+
t.overlay ? (v(), L("div", {
|
|
166
170
|
key: 0,
|
|
167
171
|
ref: "overlay-ref",
|
|
168
|
-
class:
|
|
169
|
-
style:
|
|
172
|
+
class: s(`${e}__overlay`),
|
|
173
|
+
style: g({ zIndex: t.zIndex })
|
|
170
174
|
}, null, 6)) : f("", !0)
|
|
171
|
-
],
|
|
175
|
+
], 14, re)) : f("", !0);
|
|
172
176
|
}
|
|
173
177
|
});
|
|
174
178
|
export {
|
|
175
|
-
|
|
176
|
-
|
|
179
|
+
be as CLModal,
|
|
180
|
+
be as default
|
|
177
181
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.clll-link{
|
|
1
|
+
.clll-link{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;cursor:pointer;border-radius:var(--clll-rounded-xs);text-decoration-line:underline;text-decoration-color:var(--clll-link-underline-color, transparent);text-underline-offset:var(--clll-unit-0_5);display:inline-flex;align-items:center;transition:color .2s linear,text-decoration-color .2s linear;color:var(--clll-link-text-color, inherit);font-weight:500;background-color:transparent;padding:0;border:0;transition-property:text-decoration-color;transition-duration:.3s;transition-timing-function:ease}.clll-link .clll-text{color:var(--clll-link-text-color, inherit);transition-property:color;transition-duration:.3s;transition-timing-function:ease}.clll-link:hover{text-decoration-color:var(--clll-link-underline-hover, transparent);background-color:transparent;color:var(--clll-link-text-hover, inherit)}.clll-link:hover .clll-text{color:var(--clll-link-text-hover, inherit)}.clll-link{outline-color:#0000;outline-offset:2px;outline-style:solid;outline-width:2px}.clll-link:focus{outline:none}.clll-link:focus-visible{border-color:transparent!important;outline-color:var(--clll-link-focus-border, transparent);outline-style:solid;outline-width:2px;box-shadow:0 0 0 var(--clll-unit-0) var(--clll-link-focus-shadow, transparent)}.clll-link.clll-link--external .clll-icon{padding-left:var(--clll-px-s-xs)}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLLink.css';
|
|
3
|
-
import { _ as s } from "../../../chunks/CLLink.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLLink.vue_vue_type_style_index_0_lang-BDL4xcfJ.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLLink,
|
|
6
6
|
s as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
|
-
import { _ as s } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-C_BQCWeg.js";
|
|
3
3
|
export {
|
|
4
4
|
s as CLNavLink,
|
|
5
5
|
s as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLNavSection.css';
|
|
3
3
|
import { defineComponent as f, computed as u, createElementBlock as a, openBlock as l, normalizeClass as m, unref as r, Fragment as p, renderList as _, createVNode as i, withCtx as n, createTextVNode as C, toDisplayString as x } from "vue";
|
|
4
|
-
import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-C_BQCWeg.js";
|
|
5
|
+
import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js";
|
|
6
6
|
import { CLOrientation as h, CLColors as $ } from "../../../index.js";
|
|
7
7
|
const g = ["data-testid"], V = /* @__PURE__ */ f({
|
|
8
8
|
name: "CLNavSection",
|
|
@@ -3,5 +3,12 @@ interface BaseLinkProps {
|
|
|
3
3
|
color: CLColors;
|
|
4
4
|
underline?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const base_link: ({ color, underline }: BaseLinkProps) =>
|
|
6
|
+
export declare const base_link: ({ color, underline }: BaseLinkProps) => {
|
|
7
|
+
'--clll-link-text-color': string;
|
|
8
|
+
'--clll-link-text-hover': string;
|
|
9
|
+
'--clll-link-underline-color': string;
|
|
10
|
+
'--clll-link-underline-hover': string;
|
|
11
|
+
'--clll-link-focus-border': string;
|
|
12
|
+
'--clll-link-focus-shadow': string;
|
|
13
|
+
};
|
|
7
14
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.clll-dropdown-menu__menu{position:relative;display:inline-block}.clll-dropdown-menu__menu .clll-dropdown-menu__dropdown{z-index:var(--
|
|
1
|
+
.clll-dropdown-menu__menu{position:relative;display:inline-block}.clll-dropdown-menu__menu .clll-dropdown-menu__dropdown{z-index:var(--v2fdf502c)}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLDropdownMenu.css';
|
|
3
3
|
import { computed as V, ref as E, shallowRef as te, watch as ut, getCurrentScope as ee, onScopeDispose as ne, shallowReadonly as q, unref as A, defineComponent as oe, useCssVars as ie, onBeforeUnmount as re, createElementBlock as Rt, openBlock as At, normalizeClass as dt, createVNode as Ot, createCommentVNode as le, withCtx as Et, createTextVNode as se, toDisplayString as ce, normalizeStyle as ae, renderSlot as fe } from "vue";
|
|
4
|
-
import { _ as ue } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { _ as de } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { _ as ue } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-B4xTt-xw.js";
|
|
5
|
+
import { _ as de } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-Bj9WF_mX.js";
|
|
6
6
|
import { b as me, i as mt } from "../../../chunks/helper--hRjZVm6.js";
|
|
7
7
|
import { useDropdown as he } from "../../../composables/useDropdown.js";
|
|
8
8
|
import { useEsc as ge } from "../../../composables/useEsc.js";
|
|
@@ -1087,16 +1087,16 @@ const gn = ["data-testid"], pn = ["id", "aria-labelledby", "aria-hidden"], Rn =
|
|
|
1087
1087
|
},
|
|
1088
1088
|
setup(t) {
|
|
1089
1089
|
ie((p) => ({
|
|
1090
|
-
|
|
1090
|
+
v2fdf502c: A(a)
|
|
1091
1091
|
}));
|
|
1092
1092
|
const e = t;
|
|
1093
1093
|
let n = E(), o = E();
|
|
1094
1094
|
const i = E(), l = E(), r = E(e.isOpen), s = E(e.placement), c = "clll-dropdown-menu", a = V(() => e.zIndex === "auto" || me(e.zIndex) ? e.zIndex : e.zIndex.toString()), f = () => {
|
|
1095
1095
|
y.value ? u() : m();
|
|
1096
1096
|
}, u = () => {
|
|
1097
|
-
r.value = !0, e?.onOpenHandler?.(), C(), mt &&
|
|
1097
|
+
r.value = !0, e?.onOpenHandler?.(), C(), mt && document.addEventListener("click", b);
|
|
1098
1098
|
}, m = () => {
|
|
1099
|
-
r.value = !1, e?.onCloseHandler?.(), mt &&
|
|
1099
|
+
r.value = !1, e?.onCloseHandler?.(), mt && document.removeEventListener("click", b), T(), w();
|
|
1100
1100
|
}, d = (p) => {
|
|
1101
1101
|
p && (n.value = p);
|
|
1102
1102
|
}, h = (p) => {
|
|
@@ -1120,7 +1120,7 @@ const gn = ["data-testid"], pn = ["id", "aria-labelledby", "aria-hidden"], Rn =
|
|
|
1120
1120
|
r.value && l.value?.contains(p?.target) && g();
|
|
1121
1121
|
}, { clearEventListeners: T } = ge({ escHandler: g, triggerElem: n });
|
|
1122
1122
|
return re(() => {
|
|
1123
|
-
mt &&
|
|
1123
|
+
mt && document.removeEventListener("click", b), T(), w();
|
|
1124
1124
|
}), (p, S) => (At(), Rt("div", {
|
|
1125
1125
|
class: dt([`${c}__menu`]),
|
|
1126
1126
|
"data-testid": t.testId
|
|
@@ -119,11 +119,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
119
119
|
title: string;
|
|
120
120
|
color: CLColors;
|
|
121
121
|
variant: CLColorVariants;
|
|
122
|
-
form: string;
|
|
123
122
|
borderRadius: CLBorderRadius;
|
|
124
123
|
rounded: boolean;
|
|
125
124
|
testId: string;
|
|
126
125
|
type: import('../../../types').CLButtonTypes;
|
|
126
|
+
form: string;
|
|
127
127
|
onClick: (event?: Event) => void;
|
|
128
128
|
target: import('../../../types').CLLinkTarget;
|
|
129
129
|
width: string;
|
|
@@ -168,11 +168,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
|
|
|
168
168
|
title: string;
|
|
169
169
|
color: CLColors;
|
|
170
170
|
variant: CLColorVariants;
|
|
171
|
-
form: string;
|
|
172
171
|
borderRadius: CLBorderRadius;
|
|
173
172
|
rounded: boolean;
|
|
174
173
|
testId: string;
|
|
175
174
|
type: import('../../../types').CLButtonTypes;
|
|
175
|
+
form: string;
|
|
176
176
|
onClick: (event?: Event) => void;
|
|
177
177
|
target: import('../../../types').CLLinkTarget;
|
|
178
178
|
width: string;
|
|
@@ -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" | "variant" | "
|
|
196
|
+
}> & Omit<Readonly<import('../../Buttons/CLButton/CLButton.vue').CLButtonProps> & Readonly<{}>, "title" | "color" | "variant" | "borderRadius" | "rounded" | "testId" | "type" | "form" | "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
|
-
.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(--
|
|
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);background-color:var(--clll-toast-bg-color, white);color:var(--clll-toast-text-color, inherit);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(--v952305c6)}}@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);background-color:var(--clll-toast-icon-bg, transparent)}.clll-toast .clll-toast__body .clll-toast__content .clll-toast__icon .clll-icon{color:var(--clll-toast-icon-color, inherit)}.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%;background-color:var(--clll-toast-timer-bg, transparent);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}.clll-toast.clll-toast--rounded:not([class*=clll-toast--rounded-]){border-radius:var(--clll-toast-theme-radius, var(--clll-rounded-sm))}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLToast.css';
|
|
3
|
-
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-C6gOJx7A.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLToast,
|
|
6
6
|
s as default
|
|
@@ -3,5 +3,12 @@ interface ThemeProps {
|
|
|
3
3
|
color: CLColors;
|
|
4
4
|
variant: CLColorVariants;
|
|
5
5
|
}
|
|
6
|
-
export declare const toastTheme: ({ color, variant }: ThemeProps) =>
|
|
6
|
+
export declare const toastTheme: ({ color, variant }: ThemeProps) => {
|
|
7
|
+
'--clll-toast-bg-color': string;
|
|
8
|
+
'--clll-toast-text-color': string;
|
|
9
|
+
'--clll-toast-icon-bg': string;
|
|
10
|
+
'--clll-toast-icon-color': string;
|
|
11
|
+
'--clll-toast-timer-bg': string;
|
|
12
|
+
'--clll-toast-theme-radius': string | undefined;
|
|
13
|
+
};
|
|
7
14
|
export {};
|
|
@@ -7,7 +7,6 @@ interface BaseFormElementProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare const baseFormElement: ({ backgroundColor, borderColor, placeholderColor }: BaseFormElementProps) => string;
|
|
9
9
|
export declare const css: (template: TemplateStringsArray, ...args: any[]) => string;
|
|
10
|
-
export declare const cx: (...classNames: any[]) => string;
|
|
11
10
|
interface FocusProps {
|
|
12
11
|
borderColor?: string;
|
|
13
12
|
outlineWidth?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
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";
|
|
3
|
-
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-C6gOJx7A.js";
|
|
4
4
|
const x = { class: "clll-toast-provider" }, N = /* @__PURE__ */ L({
|
|
5
5
|
name: "CLToastProvider",
|
|
6
6
|
__name: "CLToastProvider",
|
|
@@ -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
|
+
.clll-heading{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;color:var(--clll-text-color, inherit);white-space:pre-wrap}.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,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLHeading.css';
|
|
3
|
-
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-nUnSpm32.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLHeading,
|
|
6
6
|
s as default
|
|
@@ -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
|
+
.clll-text{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;color:var(--clll-text-color, inherit);white-space:pre-wrap;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,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLText.css';
|
|
3
|
-
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-BJoS9z9q.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLText,
|
|
6
6
|
s as default
|
|
@@ -2,5 +2,7 @@ import { CLColors } from '../../index.ts';
|
|
|
2
2
|
interface TextThemeProps {
|
|
3
3
|
color?: CLColors;
|
|
4
4
|
}
|
|
5
|
-
export declare const textTheme: ({ color }: TextThemeProps) =>
|
|
5
|
+
export declare const textTheme: ({ color }: TextThemeProps) => {
|
|
6
|
+
'--clll-text-color': string;
|
|
7
|
+
};
|
|
6
8
|
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '../assets/core.css';
|
|
2
2
|
import { ref as t, inject as n } from "vue";
|
|
3
|
-
|
|
3
|
+
import { D as o } from "../chunks/base-theme-Bg6XMoeN.js";
|
|
4
|
+
const a = t(o.borderRadius), r = t(o.darkMode), l = t(o.fontFamily), s = t(o.colors || {
|
|
4
5
|
primary: {},
|
|
5
6
|
secondary: {},
|
|
6
7
|
neutral: {},
|
|
@@ -8,24 +9,24 @@ const s = t(), a = t(), r = t(), o = t({
|
|
|
8
9
|
warning: {},
|
|
9
10
|
success: {},
|
|
10
11
|
info: {}
|
|
11
|
-
}),
|
|
12
|
-
s.value = e;
|
|
13
|
-
}, c = (e) => {
|
|
14
|
-
o.value = { ...o.value, ...e };
|
|
15
|
-
}, u = (e) => {
|
|
12
|
+
}), c = (e) => {
|
|
16
13
|
a.value = e;
|
|
14
|
+
}, u = (e) => {
|
|
15
|
+
s.value = { ...s.value, ...e };
|
|
17
16
|
}, d = (e) => {
|
|
18
17
|
r.value = e;
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
18
|
+
}, i = (e) => {
|
|
19
|
+
l.value = e;
|
|
20
|
+
}, D = () => n("clll-theme", {
|
|
21
|
+
borderRadius: a,
|
|
22
|
+
colors: s,
|
|
23
|
+
darkMode: r,
|
|
24
|
+
fontFamily: l,
|
|
25
|
+
setBorderRadius: c,
|
|
26
|
+
setColors: u,
|
|
27
|
+
setDarkMode: d,
|
|
28
|
+
setFontFamily: i
|
|
28
29
|
});
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
D as useTheme
|
|
31
32
|
};
|
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.5",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"scripts": {
|
|
@@ -192,7 +192,6 @@
|
|
|
192
192
|
"@storybook/vue3-vite": "^9.1.13",
|
|
193
193
|
"@types/lodash-es": "^4.17.12",
|
|
194
194
|
"@types/node": "^24.9.1",
|
|
195
|
-
"@types/stylis": "^4.2.7",
|
|
196
195
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
197
196
|
"@vitejs/plugin-vue-jsx": "^5.1.1",
|
|
198
197
|
"@vitest/browser": "4.0.1",
|
|
@@ -209,7 +208,6 @@
|
|
|
209
208
|
"fast-glob": "^3.3.3",
|
|
210
209
|
"jsdom": "^27.0.1",
|
|
211
210
|
"lodash-es": "^4.17.21",
|
|
212
|
-
"murmurhash": "^2.0.1",
|
|
213
211
|
"playwright": "^1.56.1",
|
|
214
212
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
215
213
|
"sass": "^1.89.2",
|
|
@@ -217,7 +215,6 @@
|
|
|
217
215
|
"size-limit": "^11.0.0",
|
|
218
216
|
"storybook": "^9.1.13",
|
|
219
217
|
"storybook-addon-deep-controls": "^0.9.5",
|
|
220
|
-
"stylis": "^4.3.6",
|
|
221
218
|
"tsx": "^4.20.6",
|
|
222
219
|
"unplugin-auto-import": "^20.2.0",
|
|
223
220
|
"vite": "^7.1.12",
|