@codeandfunction/callaloo 4.4.0 → 4.5.1
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/chunks/{CLButton.vue_vue_type_style_index_0_lang-1hhRUMgR.js → CLButton.vue_vue_type_style_index_0_lang-D0vMBs0W.js} +1 -1
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-CImCt0f6.js → CLCard.vue_vue_type_style_index_0_lang-BpDQWv8W.js} +2 -2
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-CzJDIguL.js +113 -0
- package/dist/chunks/{CLLink.vue_vue_type_style_index_0_lang-BTjLe8m6.js → CLLink.vue_vue_type_style_index_0_lang-CZZm1duI.js} +1 -1
- package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-B5DiOsML.js → CLNavLink.vue_vue_type_script_setup_true_lang-BEBTiI0u.js} +1 -1
- package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-MaGtvvXD.js → CLPill.vue_vue_type_style_index_0_lang-Eh8_1A7g.js} +2 -2
- package/dist/chunks/{CLToast.vue_vue_type_style_index_0_lang-CdL1bLuX.js → CLToast.vue_vue_type_style_index_0_lang-BYHaeCZV.js} +3 -3
- package/dist/chunks/{helper-oZuRnF9g.js → helper-qUkciePY.js} +2 -2
- package/dist/chunks/icons-DllZKtC2.js +4 -0
- package/dist/chunks/utils-Ca0eSzWQ.js +49 -0
- package/dist/components/Buttons/CLButton/CLButton.js +1 -1
- package/dist/components/CLIcon/CLIcon.js +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.js +3 -3
- package/dist/components/Containers/CLDrawer/CLDrawer.css +1 -0
- package/dist/components/Containers/CLDrawer/CLDrawer.js +121 -0
- package/dist/components/Containers/CLDrawer/CLDrawer.vue.d.ts +48 -0
- package/dist/components/Containers/CLDrawer/index.d.ts +4 -0
- package/dist/components/Containers/index.d.ts +1 -0
- package/dist/components/Containers/utils.d.ts +4 -0
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +1 -1
- package/dist/components/Form/CLInput/CLInput.css +1 -1
- package/dist/components/Form/CLInput/CLInput.js +189 -183
- package/dist/components/Form/CLInput/CLInputPrefix.vue.d.ts +1 -1
- package/dist/components/Form/CLInput/CLInputSuffix.vue.d.ts +1 -1
- package/dist/components/Form/CLSelect/CLSelect.js +1 -1
- package/dist/components/Indicators/CLBanner/CLBanner.js +1 -1
- package/dist/components/Indicators/CLPill/CLPill.js +1 -1
- package/dist/components/Modals/CLModal/CLModal.js +2 -2
- package/dist/components/Modals/CLModal/CLModal.vue.d.ts +4 -4
- 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 +1 -1
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +3 -3
- package/dist/components/Popups/CLToast/CLToast.js +1 -1
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +4 -4
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useDropdown.js +1 -1
- package/dist/composables/useElementSize.d.ts +35 -0
- package/dist/composables/useElementSize.js +74 -0
- package/dist/composables/useEsc.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -7
- package/dist/types.d.ts +6 -0
- package/package.json +45 -41
- package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-r6hBiMgq.js +0 -109
- package/dist/chunks/icons-B1yhKPll.js +0 -4
- package/dist/chunks/utils-BwiU4N7s.js +0 -37
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
+
import { _ as k } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-BEBTiI0u.js";
|
|
5
5
|
import { _ as L } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-DVwTAVXM.js";
|
|
6
6
|
import { CLOrientation as h, CLColors as $ } from "../../../index.js";
|
|
7
7
|
const g = ["data-testid"], V = /* @__PURE__ */ f({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLDropdownMenu.css';
|
|
3
3
|
import { computed as V, ref as E, shallowRef as Qt, watch as ut, getCurrentScope as te, onScopeDispose as ee, shallowReadonly as _, unref as A, defineComponent as ne, onBeforeUnmount as oe, createElementBlock as St, openBlock as At, normalizeClass as dt, createVNode as Ot, createCommentVNode as ie, withCtx as Et, createTextVNode as re, toDisplayString as le, normalizeStyle as se, renderSlot as ce } from "vue";
|
|
4
|
-
import { _ as ae } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { _ as fe } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { c as ue, i as mt } from "../../../chunks/helper-
|
|
4
|
+
import { _ as ae } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-D0vMBs0W.js";
|
|
5
|
+
import { _ as fe } from "../../../chunks/CLCard.vue_vue_type_style_index_0_lang-BpDQWv8W.js";
|
|
6
|
+
import { c as ue, i as mt } from "../../../chunks/helper-qUkciePY.js";
|
|
7
7
|
import { useDropdown as de } from "../../../composables/useDropdown.js";
|
|
8
8
|
import { useEsc as me } from "../../../composables/useEsc.js";
|
|
9
9
|
import { CLPlacement as he, CLIconSizes as ge, CLIconNames as pe, CLColorVariants as Lt, CLSizes as we, CLColors as Dt } from "../../../index.js";
|
|
@@ -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-BYHaeCZV.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLToast,
|
|
6
6
|
s as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import { defineComponent as s, onMounted as l, onBeforeUnmount as m, watch as r, createBlock as f, openBlock as c, resolveDynamicComponent as u, normalizeStyle as h, unref as C, withCtx as D, renderSlot as M } from "vue";
|
|
3
3
|
import { s as g, a as k, b as v, c as d, d as y, D as p } from "../../../chunks/base-theme--kHiV8Yr.js";
|
|
4
|
-
import { i as n,
|
|
5
|
-
const
|
|
4
|
+
import { i as n, b as w } from "../../../chunks/helper-qUkciePY.js";
|
|
5
|
+
const L = /* @__PURE__ */ s({
|
|
6
6
|
__name: "CLThemeProvider",
|
|
7
7
|
props: {
|
|
8
8
|
tag: { default: "div" },
|
|
@@ -55,7 +55,7 @@ const T = /* @__PURE__ */ s({
|
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
57
|
export {
|
|
58
|
-
|
|
58
|
+
L as CLThemeProvider,
|
|
59
59
|
p as DEFAULT_THEME,
|
|
60
|
-
|
|
60
|
+
L as default
|
|
61
61
|
};
|
|
@@ -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 h, createBlock as z, createCommentVNode as B, renderSlot as R, unref as S } from "vue";
|
|
3
|
-
import { _ as A } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as A } from "../../../chunks/CLToast.vue_vue_type_style_index_0_lang-BYHaeCZV.js";
|
|
4
4
|
const $ = { class: "clll-toast-provider" }, E = /* @__PURE__ */ L({
|
|
5
5
|
name: "CLToastProvider",
|
|
6
6
|
__name: "CLToastProvider",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
export declare enum SizeDimension {
|
|
3
|
+
Width = "width",
|
|
4
|
+
Height = "height"
|
|
5
|
+
}
|
|
6
|
+
export declare enum SizeMode {
|
|
7
|
+
Percentage = "percentage",
|
|
8
|
+
Auto = "auto"
|
|
9
|
+
}
|
|
10
|
+
interface Input {
|
|
11
|
+
/** The element reference to measure */
|
|
12
|
+
elementRef?: Ref<HTMLElement | undefined | null>;
|
|
13
|
+
/** The dimension to measure ('width' or 'height') */
|
|
14
|
+
dimension?: SizeDimension;
|
|
15
|
+
/** Size calculation mode: 'percentage' uses snapPoint, 'auto' measures content */
|
|
16
|
+
mode?: SizeMode;
|
|
17
|
+
/** When mode is 'percentage', this value (0-1) determines the size as a percentage of viewport */
|
|
18
|
+
snapPoint?: number;
|
|
19
|
+
/** When mode is 'auto', whether to observe content changes */
|
|
20
|
+
observeChanges?: boolean;
|
|
21
|
+
/** Debounce delay in milliseconds for ResizeObserver updates */
|
|
22
|
+
debounceDelay?: number;
|
|
23
|
+
/** Whether the element is currently visible/mounted */
|
|
24
|
+
isActive?: boolean | ComputedRef<boolean>;
|
|
25
|
+
}
|
|
26
|
+
interface Return {
|
|
27
|
+
/** Computed size value (e.g., '50%' or '300px') */
|
|
28
|
+
size: ComputedRef<string>;
|
|
29
|
+
/** Manually trigger a size measurement */
|
|
30
|
+
measure: () => void;
|
|
31
|
+
/** Destroy observers, timers, and reset state */
|
|
32
|
+
destroy: () => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const useElementSize: ({ elementRef, dimension, mode, snapPoint, observeChanges, debounceDelay, isActive }: Input) => Return;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import '../assets/core.css';
|
|
2
|
+
import { ref as n, computed as d, watch as y, nextTick as w } from "vue";
|
|
3
|
+
import { i as s, a as S } from "../chunks/helper-qUkciePY.js";
|
|
4
|
+
var V = /* @__PURE__ */ ((t) => (t.Width = "width", t.Height = "height", t))(V || {}), j = /* @__PURE__ */ ((t) => (t.Percentage = "percentage", t.Auto = "auto", t))(j || {});
|
|
5
|
+
const G = ({
|
|
6
|
+
elementRef: t,
|
|
7
|
+
dimension: x = "width",
|
|
8
|
+
mode: H = "percentage",
|
|
9
|
+
snapPoint: W = 1,
|
|
10
|
+
observeChanges: z = !0,
|
|
11
|
+
debounceDelay: u = 50,
|
|
12
|
+
isActive: h = !1
|
|
13
|
+
}) => {
|
|
14
|
+
const a = n({}), i = n(null), r = n(), o = n(H), b = n(W), m = n(x), M = d(() => {
|
|
15
|
+
const e = b.value ?? 1;
|
|
16
|
+
return Math.max(0, Math.min(1, e));
|
|
17
|
+
}), g = d(() => typeof h == "boolean" ? h : h.value), l = () => {
|
|
18
|
+
if (!(!s || !t?.value || o.value !== "auto"))
|
|
19
|
+
try {
|
|
20
|
+
const e = t.value, p = e.style.width, R = e.style.height, P = e.style.maxWidth, $ = e.style.maxHeight;
|
|
21
|
+
e.style.width = "auto", e.style.height = "auto", e.style.maxWidth = "none", e.style.maxHeight = "none";
|
|
22
|
+
const T = e.scrollWidth, k = e.scrollHeight, B = window.innerWidth, C = window.innerHeight;
|
|
23
|
+
if (e.style.width = p, e.style.height = R, e.style.maxWidth = P, e.style.maxHeight = $, m.value === "height") {
|
|
24
|
+
const v = Math.min(k, C);
|
|
25
|
+
a.value = { height: `${v}px` };
|
|
26
|
+
} else {
|
|
27
|
+
const v = Math.min(T, B);
|
|
28
|
+
a.value = { width: `${v}px` };
|
|
29
|
+
}
|
|
30
|
+
} catch (e) {
|
|
31
|
+
console.error("Error measuring element size:", e);
|
|
32
|
+
}
|
|
33
|
+
}, O = () => {
|
|
34
|
+
if (s)
|
|
35
|
+
try {
|
|
36
|
+
r.value && r.value.stop(), r.value || (r.value = S()), r.value.start(u, (e) => {
|
|
37
|
+
Math.min(e, u) === u && (r.value?.stop(), l());
|
|
38
|
+
});
|
|
39
|
+
} catch (e) {
|
|
40
|
+
console.error("Error in debounced measure:", e);
|
|
41
|
+
}
|
|
42
|
+
}, f = () => {
|
|
43
|
+
if (!(!s || !t?.value || o.value !== "auto" || !z))
|
|
44
|
+
try {
|
|
45
|
+
i.value && i.value.disconnect(), i.value = new ResizeObserver(() => {
|
|
46
|
+
O();
|
|
47
|
+
}), i.value.observe(t.value);
|
|
48
|
+
} catch (e) {
|
|
49
|
+
console.error("Error setting up ResizeObserver:", e);
|
|
50
|
+
}
|
|
51
|
+
}, c = () => {
|
|
52
|
+
i.value && (i.value.disconnect(), i.value = null);
|
|
53
|
+
}, E = d(() => s ? o.value === "auto" ? m.value === "height" ? a.value.height || "auto" : a.value.width || "auto" : `${M.value * 100}%` : "100%");
|
|
54
|
+
return y(o, (e) => {
|
|
55
|
+
e === "auto" && g.value ? w(() => {
|
|
56
|
+
l(), f();
|
|
57
|
+
}) : (c(), a.value = {});
|
|
58
|
+
}), y(g, (e) => {
|
|
59
|
+
e && o.value === "auto" ? w(() => {
|
|
60
|
+
l(), f();
|
|
61
|
+
}) : (c(), e || (a.value = {}));
|
|
62
|
+
}), {
|
|
63
|
+
size: E,
|
|
64
|
+
measure: l,
|
|
65
|
+
destroy: () => {
|
|
66
|
+
s && (c(), r.value && r.value.stop(), a.value = {});
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
V as SizeDimension,
|
|
72
|
+
j as SizeMode,
|
|
73
|
+
G as useElementSize
|
|
74
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { CLAlign, CLBorderRadius, CLButtonTypes, CLCardTypes, CLCharCounterLayout, CLColors, CLColorVariants, CLHeadingLevels, CLHeadingTypes, CLIconSizes, CLIconNames, CLInputTypes, CLLinkTarget, CLLoading, CLMessageType, CLMode, CLOrientation, CLOverflow, CLOrder, CLPaginationType, CLPlacement, CLPosition, CLSizes, CLTableTypes, CLTextTypes, CLToastPosition } from './types';
|
|
1
|
+
export { CLAlign, CLBorderRadius, CLButtonTypes, CLCardTypes, CLCharCounterLayout, CLColors, CLColorVariants, CLHeadingLevels, CLHeadingTypes, CLIconSizes, CLIconNames, CLInputTypes, CLLinkTarget, CLLoading, CLMessageType, CLMode, CLOrientation, CLOverflow, CLOrder, CLPaginationType, CLPlacement, CLPosition, CLDrawerPosition, CLSizes, CLTableTypes, CLTextTypes, CLToastPosition } from './types';
|
|
2
2
|
export type { CLBlockTextHtmlTags, CLButtonTags, CLButtonForwardRefFunction, CLGenericFunction, CLGenericFocusFunction, CLGenericInputFunction, CLInlineTextHtmlTags, CLNavItem, CLOption, CLPalette, CLPaletteKeys, CLShades, CLTextHtmlTags, CLThemeConfig, CLToastProps } from './types';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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 || {}), a = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(a || {}), b = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Secondary = "secondary", r.Danger = "danger", r.Info = "info", r.Neutral = "neutral", r.Warning = "warning", r.Success = "success", r))(b || {}), 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.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", r))(g || {}), o = /* @__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))(o || {}), h = /* @__PURE__ */ ((r) => (r.Activity = "tabler:activity", r.AddressBook = "tabler:address-book", 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.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.ArrowsDiagonal2 = "tabler:arrows-diagonal-2", r.ArrowsDiagonalMinimize = "tabler:arrows-diagonal-minimize", r.ArrowsDiagonalMinimize2 = "tabler:arrows-diagonal-minimize-2", r.ArrowsMaximize = "tabler:arrows-maximize", r.ArrowsMinimize = "tabler:arrows-minimize", r.ArrowsMove = "tabler:arrows-move", 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.Sparkles = "tabler:sparkles", 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))(h || {}), 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 || {}), w = /* @__PURE__ */ ((r) => (r.Eager = "eager", r.Lazy = "lazy", r))(w || {}), f = /* @__PURE__ */ ((r) => (r.Blank = "_blank", r.Self = "_self", r))(f || {}), k = /* @__PURE__ */ ((r) => (r.Danger = "danger", r.Default = "default", r.Success = "success", r.Warning = "warning", r))(k || {}), x = /* @__PURE__ */ ((r) => (r.Dark = "dark", r.Light = "light", r))(x || {}), v = /* @__PURE__ */ ((r) => (r.After = "after", r.Before = "before", r))(v || {}), B = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(B || {}), S = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Hidden = "hidden", r.Scroll = "scroll", r.Visible = "visible", r))(S || {}), A = /* @__PURE__ */ ((r) => (r.Arrows = "arrows", r.Dots = "dots", r.Hidden = "hidden", r.Inline = "inline", r.Numbered = "numbered", r))(A || {}), M = /* @__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))(M || {}), X = /* @__PURE__ */ ((r) => (r.Absolute = "absolute", r.Relative = "relative", r))(X || {}), D = /* @__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))(D || {}), n = /* @__PURE__ */ ((r) => (r.Condensed = "condensed", r.Default = "default", r.Plain = "plain", r))(n || {}), y = /* @__PURE__ */ ((r) => (r.Body = "body", r.Summary = "summary", 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))(y || {}), R = /* @__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))(R || {});
|
|
1
|
+
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 || {}), a = /* @__PURE__ */ ((r) => (r.Tiny = "tiny", r.Small = "small", r.Medium = "medium", r.Large = "large", r.XL = "xlarge", r))(a || {}), b = /* @__PURE__ */ ((r) => (r.Primary = "primary", r.Secondary = "secondary", r.Danger = "danger", r.Info = "info", r.Neutral = "neutral", r.Warning = "warning", r.Success = "success", r))(b || {}), 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.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", r))(g || {}), o = /* @__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))(o || {}), h = /* @__PURE__ */ ((r) => (r.Activity = "tabler:activity", r.AddressBook = "tabler:address-book", 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.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.ArrowsDiagonal2 = "tabler:arrows-diagonal-2", r.ArrowsDiagonalMinimize = "tabler:arrows-diagonal-minimize", r.ArrowsDiagonalMinimize2 = "tabler:arrows-diagonal-minimize-2", r.ArrowsMaximize = "tabler:arrows-maximize", r.ArrowsMinimize = "tabler:arrows-minimize", r.ArrowsMove = "tabler:arrows-move", 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.Sparkles = "tabler:sparkles", 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))(h || {}), 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 || {}), x = /* @__PURE__ */ ((r) => (r.Dark = "dark", r.Light = "light", r))(x || {}), v = /* @__PURE__ */ ((r) => (r.After = "after", r.Before = "before", r))(v || {}), B = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(B || {}), S = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Hidden = "hidden", r.Scroll = "scroll", r.Visible = "visible", r))(S || {}), A = /* @__PURE__ */ ((r) => (r.Arrows = "arrows", r.Dots = "dots", r.Hidden = "hidden", r.Inline = "inline", r.Numbered = "numbered", r))(A || {}), M = /* @__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))(M || {}), X = /* @__PURE__ */ ((r) => (r.Absolute = "absolute", r.Relative = "relative", r))(X || {}), D = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Left = "left", r.Right = "right", r.Top = "top", r))(D || {}), n = /* @__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))(n || {}), y = /* @__PURE__ */ ((r) => (r.Condensed = "condensed", r.Default = "default", r.Plain = "plain", r))(y || {}), 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.XXL = "xxlarge", r.XXXL = "xxxlarge", r.XXXXL = "xxxxlarge", 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
2
|
export {
|
|
3
3
|
t as CLAlign,
|
|
4
4
|
l as CLBorderRadius,
|
|
@@ -7,13 +7,14 @@ export {
|
|
|
7
7
|
d as CLCharCounterLayout,
|
|
8
8
|
i as CLColorVariants,
|
|
9
9
|
b as CLColors,
|
|
10
|
+
D as CLDrawerPosition,
|
|
10
11
|
u as CLHeadingLevels,
|
|
11
12
|
g as CLHeadingTypes,
|
|
12
13
|
h as CLIconNames,
|
|
13
14
|
o as CLIconSizes,
|
|
14
15
|
p as CLInputTypes,
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
w as CLLinkTarget,
|
|
17
|
+
f as CLLoading,
|
|
17
18
|
k as CLMessageType,
|
|
18
19
|
x as CLMode,
|
|
19
20
|
v as CLOrder,
|
|
@@ -22,8 +23,8 @@ export {
|
|
|
22
23
|
A as CLPaginationType,
|
|
23
24
|
M as CLPlacement,
|
|
24
25
|
X as CLPosition,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
n as CLSizes,
|
|
27
|
+
y as CLTableTypes,
|
|
28
|
+
R as CLTextTypes,
|
|
29
|
+
F as CLToastPosition
|
|
29
30
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -587,6 +587,12 @@ export declare enum CLPosition {
|
|
|
587
587
|
Absolute = "absolute",
|
|
588
588
|
Relative = "relative"
|
|
589
589
|
}
|
|
590
|
+
export declare enum CLDrawerPosition {
|
|
591
|
+
Bottom = "bottom",
|
|
592
|
+
Left = "left",
|
|
593
|
+
Right = "right",
|
|
594
|
+
Top = "top"
|
|
595
|
+
}
|
|
590
596
|
export declare enum CLSizes {
|
|
591
597
|
Tiny = "tiny",
|
|
592
598
|
Small = "small",
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"ui components",
|
|
18
18
|
"vuejs"
|
|
19
19
|
],
|
|
20
|
-
"version": "4.
|
|
20
|
+
"version": "4.5.1",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"type": "module",
|
|
23
23
|
"scripts": {
|
|
@@ -80,6 +80,10 @@
|
|
|
80
80
|
"types": "./dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts",
|
|
81
81
|
"import": "./dist/components/Containers/CLDisclosure/CLDisclosure.js"
|
|
82
82
|
},
|
|
83
|
+
"./CLDrawer": {
|
|
84
|
+
"types": "./dist/components/Containers/CLDrawer/CLDrawer.vue.d.ts",
|
|
85
|
+
"import": "./dist/components/Containers/CLDrawer/CLDrawer.js"
|
|
86
|
+
},
|
|
83
87
|
"./CLCheckbox": {
|
|
84
88
|
"types": "./dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts",
|
|
85
89
|
"import": "./dist/components/Form/CLCheckbox/CLCheckbox.js"
|
|
@@ -174,64 +178,64 @@
|
|
|
174
178
|
}
|
|
175
179
|
},
|
|
176
180
|
"devDependencies": {
|
|
177
|
-
"@chromatic-com/storybook": "^4.1.
|
|
181
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
178
182
|
"@floating-ui/vue": "^1.1.8",
|
|
179
|
-
"@iconify-json/tabler": "^1.2.
|
|
180
|
-
"@iconify/tools": "^
|
|
183
|
+
"@iconify-json/tabler": "^1.2.25",
|
|
184
|
+
"@iconify/tools": "^5.0.1",
|
|
181
185
|
"@iconify/types": "^2.0.0",
|
|
182
186
|
"@semantic-release/changelog": "^6.0.3",
|
|
183
187
|
"@semantic-release/git": "^10.0.1",
|
|
184
188
|
"@semantic-release/gitlab": "^13.2.6",
|
|
185
|
-
"@size-limit/esbuild": "^
|
|
186
|
-
"@size-limit/esbuild-why": "^
|
|
187
|
-
"@size-limit/preset-small-lib": "^
|
|
188
|
-
"@storybook/addon-a11y": "^
|
|
189
|
-
"@storybook/addon-docs": "^
|
|
190
|
-
"@storybook/cli": "^
|
|
191
|
-
"@storybook/test-runner": "^0.
|
|
192
|
-
"@storybook/vue3-vite": "^
|
|
189
|
+
"@size-limit/esbuild": "^12.0.0",
|
|
190
|
+
"@size-limit/esbuild-why": "^12.0.0",
|
|
191
|
+
"@size-limit/preset-small-lib": "^12.0.0",
|
|
192
|
+
"@storybook/addon-a11y": "^10.1.10",
|
|
193
|
+
"@storybook/addon-docs": "^10.1.10",
|
|
194
|
+
"@storybook/cli": "^10.1.10",
|
|
195
|
+
"@storybook/test-runner": "^0.24.2",
|
|
196
|
+
"@storybook/vue3-vite": "^10.1.10",
|
|
193
197
|
"@types/lodash-es": "^4.17.12",
|
|
194
|
-
"@types/node": "^
|
|
195
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
196
|
-
"@vitejs/plugin-vue-jsx": "^5.1.
|
|
197
|
-
"@vitest/browser": "4.0.
|
|
198
|
-
"@vitest/coverage-istanbul": "4.0.
|
|
199
|
-
"@vitest/coverage-v8": "4.0.
|
|
200
|
-
"@vitest/ui": "^4.0.
|
|
198
|
+
"@types/node": "^25.0.3",
|
|
199
|
+
"@vitejs/plugin-vue": "^6.0.3",
|
|
200
|
+
"@vitejs/plugin-vue-jsx": "^5.1.3",
|
|
201
|
+
"@vitest/browser": "4.0.16",
|
|
202
|
+
"@vitest/coverage-istanbul": "4.0.16",
|
|
203
|
+
"@vitest/coverage-v8": "4.0.16",
|
|
204
|
+
"@vitest/ui": "^4.0.16",
|
|
201
205
|
"@vue/test-utils": "^2.4.6",
|
|
202
206
|
"@vue/tsconfig": "^0.8.1",
|
|
203
207
|
"@wdns/vue-code-block": "^2.3.5",
|
|
204
|
-
"chromatic": "^13.3.
|
|
208
|
+
"chromatic": "^13.3.4",
|
|
205
209
|
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
206
|
-
"eslint-plugin-storybook": "
|
|
207
|
-
"eslint-plugin-vue": "^10.
|
|
210
|
+
"eslint-plugin-storybook": "10.1.10",
|
|
211
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
208
212
|
"fast-glob": "^3.3.3",
|
|
209
|
-
"jsdom": "^27.0
|
|
210
|
-
"lodash-es": "^4.17.
|
|
211
|
-
"playwright": "^1.
|
|
213
|
+
"jsdom": "^27.4.0",
|
|
214
|
+
"lodash-es": "^4.17.22",
|
|
215
|
+
"playwright": "^1.57.0",
|
|
212
216
|
"rollup-plugin-visualizer": "^6.0.5",
|
|
213
|
-
"sass": "^1.
|
|
214
|
-
"semantic-release": "^25.0.
|
|
215
|
-
"size-limit": "^
|
|
216
|
-
"storybook": "^
|
|
217
|
-
"storybook-addon-deep-controls": "^0.
|
|
218
|
-
"tsx": "^4.
|
|
219
|
-
"unplugin-auto-import": "^20.
|
|
220
|
-
"vite": "^7.
|
|
217
|
+
"sass": "^1.97.1",
|
|
218
|
+
"semantic-release": "^25.0.2",
|
|
219
|
+
"size-limit": "^12.0.0",
|
|
220
|
+
"storybook": "^10.1.10",
|
|
221
|
+
"storybook-addon-deep-controls": "^0.10.0",
|
|
222
|
+
"tsx": "^4.21.0",
|
|
223
|
+
"unplugin-auto-import": "^20.3.0",
|
|
224
|
+
"vite": "^7.3.0",
|
|
221
225
|
"vite-plugin-dts": "^4.5.4",
|
|
222
226
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
223
|
-
"vite-tsconfig-paths": "^
|
|
224
|
-
"vitest": "4.0.
|
|
225
|
-
"vue": "^3.5.
|
|
226
|
-
"vue-component-meta": "^3.
|
|
227
|
+
"vite-tsconfig-paths": "^6.0.3",
|
|
228
|
+
"vitest": "4.0.16",
|
|
229
|
+
"vue": "^3.5.26",
|
|
230
|
+
"vue-component-meta": "^3.2.1",
|
|
227
231
|
"vue-docgen-api": "^4.79.2",
|
|
228
|
-
"vue-router": "^4.6.
|
|
229
|
-
"vue-tsc": "^3.
|
|
232
|
+
"vue-router": "^4.6.4",
|
|
233
|
+
"vue-tsc": "^3.2.1"
|
|
230
234
|
},
|
|
231
235
|
"peerDependencies": {
|
|
232
|
-
"vue": "^3.5.
|
|
236
|
+
"vue": "^3.5.26"
|
|
233
237
|
},
|
|
234
|
-
"packageManager": "pnpm@10.1
|
|
238
|
+
"packageManager": "pnpm@10.26.1+sha512.664074abc367d2c9324fdc18037097ce0a8f126034160f709928e9e9f95d98714347044e5c3164d65bd5da6c59c6be362b107546292a8eecb7999196e5ce58fa",
|
|
235
239
|
"sideEffects": [
|
|
236
240
|
"**/*.css",
|
|
237
241
|
"dist/**/*.js"
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import '../components/CLIcon/CLIcon.css';
|
|
2
|
-
import { defineComponent as S, ref as X, computed as m, watch as M, onMounted as $, createElementBlock as v, openBlock as y, normalizeStyle as b, normalizeClass as L, unref as f, createElementVNode as N } from "vue";
|
|
3
|
-
import { CLMode as C, CLColors as E, CLColorVariants as k, CLIconSizes as n } from "../index.js";
|
|
4
|
-
import { g as T } from "./utils-DtSQZ0tk.js";
|
|
5
|
-
import { useTheme as V } from "../composables/useTheme.js";
|
|
6
|
-
import { i as x } from "./helper-oZuRnF9g.js";
|
|
7
|
-
const q = ({ color: o = E.Neutral }) => {
|
|
8
|
-
const { colors: t, darkMode: l } = V(), r = l.value ? C.Dark : C.Light;
|
|
9
|
-
return {
|
|
10
|
-
"--clll-icon-color": T({
|
|
11
|
-
color: o,
|
|
12
|
-
colors: t.value,
|
|
13
|
-
mode: r,
|
|
14
|
-
variant: k.Text
|
|
15
|
-
})?.textBody ?? "inherit"
|
|
16
|
-
};
|
|
17
|
-
}, D = ["data-testid"], O = ["height", "width"], j = ["href"], G = /* @__PURE__ */ S({
|
|
18
|
-
name: "CLIcon",
|
|
19
|
-
__name: "CLIcon",
|
|
20
|
-
props: {
|
|
21
|
-
color: { default: E.Neutral },
|
|
22
|
-
filled: { type: Boolean, default: !1 },
|
|
23
|
-
name: {},
|
|
24
|
-
size: { default: n.Small },
|
|
25
|
-
testId: { default: "clll-icon" }
|
|
26
|
-
},
|
|
27
|
-
setup(o) {
|
|
28
|
-
const t = o, l = "clll-icon", r = {
|
|
29
|
-
[n.Tiny]: 20,
|
|
30
|
-
[n.Small]: 24,
|
|
31
|
-
[n.Medium]: 28,
|
|
32
|
-
[n.Large]: 32,
|
|
33
|
-
[n.XL]: 36,
|
|
34
|
-
[n.XXL]: 40,
|
|
35
|
-
[n.XXXL]: 44,
|
|
36
|
-
[n.XXXXL]: 48
|
|
37
|
-
}, i = /* @__PURE__ */ new Map(), a = X(!1), B = (e) => {
|
|
38
|
-
if (!x) return !1;
|
|
39
|
-
if (i.has(e))
|
|
40
|
-
return i.get(e);
|
|
41
|
-
const s = document.getElementById("clll-icons");
|
|
42
|
-
if (!s)
|
|
43
|
-
return !1;
|
|
44
|
-
const c = document.getElementById(e), d = c !== null && s.contains(c);
|
|
45
|
-
return i.set(e, d), d;
|
|
46
|
-
}, h = m(() => !t.filled || t.name.endsWith("-filled") ? t.name : t.name.replace("tabler:", "tabler:") + "-filled"), g = m(() => {
|
|
47
|
-
const e = h.value;
|
|
48
|
-
return !t.filled || e === t.name || B(e) ? e : t.name;
|
|
49
|
-
}), w = m(() => [
|
|
50
|
-
l,
|
|
51
|
-
`${l}--${t.name}`,
|
|
52
|
-
`${l}--${t.size}`,
|
|
53
|
-
{ [`${l}--filled`]: t.filled && g.value === h.value }
|
|
54
|
-
]);
|
|
55
|
-
M(() => a.value, (e) => {
|
|
56
|
-
e && i.clear();
|
|
57
|
-
});
|
|
58
|
-
const z = async () => {
|
|
59
|
-
if (!x) return;
|
|
60
|
-
let e = document.getElementById("clll-icons");
|
|
61
|
-
if (e) {
|
|
62
|
-
a.value = !0;
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
try {
|
|
66
|
-
const c = (/* @__PURE__ */ Object.assign({
|
|
67
|
-
"/src/icons.svg": () => import("./icons-B1yhKPll.js").then((I) => I.default)
|
|
68
|
-
}))["/src/icons.svg"];
|
|
69
|
-
if (!c)
|
|
70
|
-
return;
|
|
71
|
-
const d = await c();
|
|
72
|
-
if (e = document.getElementById("clll-icons"), e) {
|
|
73
|
-
a.value = !0;
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const u = document.createElement("div");
|
|
77
|
-
u.id = "clll-icons", u.style.display = "none", u.innerHTML = d.toString();
|
|
78
|
-
const p = () => {
|
|
79
|
-
document.body.insertBefore(u, document.body.childNodes[0]), a.value = !0;
|
|
80
|
-
};
|
|
81
|
-
document.readyState === "loading" ? window.addEventListener("DOMContentLoaded", p, { once: !0 }) : p();
|
|
82
|
-
} catch (s) {
|
|
83
|
-
console.error("[Callaloo] Failed to load icon sprite:", s);
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
return $(() => {
|
|
87
|
-
z();
|
|
88
|
-
}), (e, s) => (y(), v("span", {
|
|
89
|
-
class: L(f(w)),
|
|
90
|
-
"data-testid": o.testId,
|
|
91
|
-
style: b({ ...f(q)({ color: o.color }), width: r[o.size] + "px", height: r[o.size] + "px" })
|
|
92
|
-
}, [
|
|
93
|
-
(y(), v("svg", {
|
|
94
|
-
"aria-hidden": "true",
|
|
95
|
-
class: L(`${l}-sprite`),
|
|
96
|
-
height: r[o.size],
|
|
97
|
-
width: r[o.size],
|
|
98
|
-
viewBox: "0 0 24 24"
|
|
99
|
-
}, [
|
|
100
|
-
N("use", {
|
|
101
|
-
href: `#${f(g)}`
|
|
102
|
-
}, null, 8, j)
|
|
103
|
-
], 10, O))
|
|
104
|
-
], 14, D));
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
export {
|
|
108
|
-
G as _
|
|
109
|
-
};
|