@codeandfunction/callaloo 3.15.3 → 3.16.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.
Files changed (138) hide show
  1. package/README.md +7 -3
  2. package/dist/assets/CLFormCharCounter.css +1 -0
  3. package/dist/assets/CLInputMessages.css +1 -0
  4. package/dist/chunks/CLA11yButton.vue_vue_type_style_index_0_lang-Cdx5rsou.js +45 -0
  5. package/dist/chunks/CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js +128 -0
  6. package/dist/chunks/CLCard.vue_vue_type_style_index_0_lang-DVuAcV5A.js +252 -0
  7. package/dist/chunks/CLFormCharCounter.vue_vue_type_style_index_0_lang-CJ4VrvmR.js +38 -0
  8. package/dist/chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-fddy-FWI.js +43 -0
  9. package/dist/chunks/CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js +50 -0
  10. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-CZB8svPf.js +83 -0
  11. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-RMOT1TQk.js +120 -0
  12. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js +59 -0
  13. package/dist/chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Ckz9MEj5.js +44 -0
  14. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-mkIKVHjg.js +88 -0
  15. package/dist/chunks/CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js +65 -0
  16. package/dist/chunks/CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js +33 -0
  17. package/dist/chunks/CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js +53 -0
  18. package/dist/chunks/CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js +46 -0
  19. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-DOI4DZGg.js +178 -0
  20. package/dist/chunks/base-theme-C9_Hz5HW.js +832 -0
  21. package/dist/chunks/useEsc-C9QIDZ_8.js +19 -0
  22. package/dist/chunks/useHasSlotContent-DDqs5uK9.js +14 -0
  23. package/dist/chunks/useTheme-yoEfuNvB.js +417 -0
  24. package/dist/chunks/utils-C7Yjsqk-.js +25 -0
  25. package/dist/chunks/utils-DFnkOeYP.js +72 -0
  26. package/dist/chunks/utils-DTWXs4YX.js +14 -0
  27. package/dist/chunks/utils-D_WP3vZz.js +29 -0
  28. package/dist/chunks/utils-Da9LXXQ0.js +28 -0
  29. package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -0
  30. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +6 -0
  31. package/dist/components/Buttons/CLA11yButton/CLA11yButton.vue.d.ts +2 -2
  32. package/dist/components/Buttons/CLButton/CLButton.css +1 -0
  33. package/dist/components/Buttons/CLButton/CLButton.js +6 -0
  34. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +7 -7
  35. package/dist/components/CLIcon/CLIcon.css +1 -0
  36. package/dist/components/CLIcon/CLIcon.js +6 -0
  37. package/dist/components/{Assets/CLIcon → CLIcon}/CLIcon.vue.d.ts +1 -1
  38. package/dist/components/CLTable/CLTable.css +1 -0
  39. package/dist/components/CLTable/CLTable.js +196 -0
  40. package/dist/components/{Table → CLTable}/index.d.ts +0 -7
  41. package/dist/components/Containers/CLCard/CLCard.css +1 -0
  42. package/dist/components/Containers/CLCard/CLCard.js +6 -0
  43. package/dist/components/Containers/CLCard/CLCard.vue.d.ts +6 -6
  44. package/dist/components/Containers/CLCarousel/CLCarousel.css +1 -0
  45. package/dist/components/Containers/CLCarousel/CLCarousel.js +436 -0
  46. package/dist/components/Containers/CLCarousel/CLCarousel.vue.d.ts +2 -2
  47. package/dist/components/Containers/CLCarousel/CLCarouselNavigation.vue.d.ts +1 -1
  48. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -0
  49. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +137 -0
  50. package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +3 -3
  51. package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -0
  52. package/dist/components/Form/CLCheckbox/CLCheckbox.js +147 -0
  53. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +4 -4
  54. package/dist/components/Form/CLFormLabel/CLFormLabel.vue.d.ts +1 -1
  55. package/dist/components/Form/CLInput/CLInput.css +1 -0
  56. package/dist/components/Form/CLInput/CLInput.js +378 -0
  57. package/dist/components/Form/CLInput/CLInput.vue.d.ts +5 -5
  58. package/dist/components/Form/CLInput/CLInputPill.vue.d.ts +1 -1
  59. package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -0
  60. package/dist/components/Form/CLRadioButton/CLRadioButton.js +132 -0
  61. package/dist/components/Form/CLRadioButton/CLRadioButton.vue.d.ts +1 -1
  62. package/dist/components/Form/CLSelect/CLSelect.css +1 -0
  63. package/dist/components/Form/CLSelect/CLSelect.js +137 -0
  64. package/dist/components/Form/CLSelect/CLSelect.vue.d.ts +3 -3
  65. package/dist/components/Form/CLTextArea/CLTextArea.css +1 -0
  66. package/dist/components/Form/CLTextArea/CLTextArea.js +149 -0
  67. package/dist/components/Form/CLTextArea/CLTextArea.vue.d.ts +2 -2
  68. package/dist/components/Form/index.d.ts +5 -9
  69. package/dist/components/Indicators/CLBadge/CLBadge.css +1 -0
  70. package/dist/components/Indicators/CLBadge/CLBadge.js +40 -0
  71. package/dist/components/Indicators/CLBadge/CLBadge.vue.d.ts +1 -1
  72. package/dist/components/Indicators/CLBanner/CLBanner.css +1 -0
  73. package/dist/components/Indicators/CLBanner/CLBanner.js +147 -0
  74. package/dist/components/Indicators/CLBanner/CLBanner.vue.d.ts +3 -3
  75. package/dist/components/Indicators/CLPill/CLPill.css +1 -0
  76. package/dist/components/Indicators/CLPill/CLPill.js +6 -0
  77. package/dist/components/Indicators/CLPill/CLPill.vue.d.ts +3 -3
  78. package/dist/components/Indicators/CLProgress/CLProgress.css +1 -0
  79. package/dist/components/Indicators/CLProgress/CLProgress.js +6 -0
  80. package/dist/components/Indicators/CLProgress/CLProgress.vue.d.ts +2 -2
  81. package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -0
  82. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +6 -0
  83. package/dist/components/Loading/CLSkeleton/CLSkeleton.vue.d.ts +1 -1
  84. package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -0
  85. package/dist/components/Loading/CLSpinner/CLSpinner.js +6 -0
  86. package/dist/components/Loading/CLSpinner/CLSpinner.vue.d.ts +1 -1
  87. package/dist/components/Modals/CLModal/CLModal.css +1 -0
  88. package/dist/components/Modals/CLModal/CLModal.js +175 -0
  89. package/dist/components/Modals/CLModal/CLModal.vue.d.ts +2 -2
  90. package/dist/components/Navigation/CLLink/CLLink.css +1 -0
  91. package/dist/components/Navigation/CLLink/CLLink.js +6 -0
  92. package/dist/components/Navigation/CLLink/CLLink.vue.d.ts +2 -2
  93. package/dist/components/Navigation/CLNavLink/CLNavLink.js +5 -0
  94. package/dist/components/Navigation/CLNavLink/CLNavLink.vue.d.ts +1 -1
  95. package/dist/components/Navigation/CLNavSection/CLNavSection.css +1 -0
  96. package/dist/components/Navigation/CLNavSection/CLNavSection.js +55 -0
  97. package/dist/components/Navigation/CLNavSection/CLNavSection.vue.d.ts +1 -1
  98. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -0
  99. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +1233 -0
  100. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +29 -29
  101. package/dist/components/Popups/CLToast/CLToast.css +1 -0
  102. package/dist/components/Popups/CLToast/CLToast.js +6 -0
  103. package/dist/components/Popups/CLToast/CLToast.vue.d.ts +2 -2
  104. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +44 -0
  105. package/dist/components/Providers/CLThemeProvider/CLThemeProvider.vue.d.ts +27 -0
  106. package/dist/components/Providers/CLThemeProvider/base-theme.d.ts +22 -0
  107. package/dist/components/Providers/CLThemeProvider/index.d.ts +6 -0
  108. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +45 -0
  109. package/dist/components/Providers/{Toast → CLToastProvider}/CLToastProvider.vue.d.ts +1 -7
  110. package/dist/components/Providers/CLToastProvider/index.d.ts +4 -0
  111. package/dist/components/Providers/index.d.ts +2 -6
  112. package/dist/components/Typography/CLHeading/CLHeading.css +1 -0
  113. package/dist/components/Typography/CLHeading/CLHeading.js +6 -0
  114. package/dist/components/Typography/CLText/CLText.css +1 -0
  115. package/dist/components/Typography/CLText/CLText.js +6 -0
  116. package/dist/composables/useTheme.d.ts +26 -0
  117. package/dist/index.d.ts +0 -15
  118. package/dist/index.js +27 -5899
  119. package/package.json +124 -13
  120. package/dist/assets/styles.css +0 -1
  121. package/dist/components/Assets/index.d.ts +0 -2
  122. package/dist/components/Form/CLFormCharCounter/index.d.ts +0 -5
  123. package/dist/components/Form/CLFormLabel/index.d.ts +0 -5
  124. package/dist/components/Providers/Theme/CLThemeProvider.vue.d.ts +0 -26
  125. package/dist/components/Providers/Theme/base-theme.d.ts +0 -48
  126. package/dist/constants.d.ts +0 -22
  127. package/dist/chunks/{icons.QRYZHNAf.js → icons-QRYZHNAf.js} +0 -0
  128. package/dist/components/{Assets/CLIcon → CLIcon}/index.d.ts +0 -0
  129. package/dist/components/{Assets → CLIcon}/utils.d.ts +0 -0
  130. package/dist/components/{Table → CLTable}/CLTable.vue.d.ts +1 -1
  131. /package/dist/components/{Table → CLTable}/CLTableBody.vue.d.ts +0 -0
  132. /package/dist/components/{Table → CLTable}/CLTableCell.vue.d.ts +0 -0
  133. /package/dist/components/{Table → CLTable}/CLTableFooter.vue.d.ts +0 -0
  134. /package/dist/components/{Table → CLTable}/CLTableHeader.vue.d.ts +0 -0
  135. /package/dist/components/{Table → CLTable}/CLTableNestedCell.vue.d.ts +0 -0
  136. /package/dist/components/{Table → CLTable}/CLTableRow.vue.d.ts +0 -0
  137. /package/dist/components/{Table → CLTable}/utils.d.ts +0 -0
  138. /package/dist/components/Providers/{Theme → CLThemeProvider}/utils.d.ts +0 -0
@@ -0,0 +1,147 @@
1
+ import './CLBanner.css';
2
+ import { defineComponent as v, useCssVars as h, computed as x, createBlock as l, openBlock as n, unref as a, withCtx as s, createElementVNode as m, normalizeClass as r, createElementBlock as b, createCommentVNode as o, createTextVNode as f, toDisplayString as c, createVNode as $ } from "vue";
3
+ import { _ as B } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-Cdx5rsou.js";
4
+ import { _ as C } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js";
5
+ import { _ as S } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js";
6
+ import { _ as k } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js";
7
+ import { _ as z } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-V7LSR7DF.js";
8
+ import { CLColorVariants as d, CLColors as D, CLAlign as T, CLHeadingTypes as N, CLTextTypes as V, CLSizes as w, CLIconSizes as A, CLIconNames as I } from "../../../index.js";
9
+ import { c as R } from "../../../chunks/utils-DFnkOeYP.js";
10
+ const E = ["data-testid"], O = /* @__PURE__ */ v({
11
+ name: "CLBanner",
12
+ __name: "CLBanner",
13
+ props: {
14
+ actionLabel: {},
15
+ align: { default: T.Left },
16
+ ariaLabel: {},
17
+ bordered: { type: Boolean, default: !0 },
18
+ borderRadius: {},
19
+ busy: { type: Boolean, default: !1 },
20
+ color: { default: D.Neutral },
21
+ height: { default: "auto" },
22
+ message: {},
23
+ onAction: {},
24
+ onClick: {},
25
+ onDismiss: {},
26
+ rounded: { type: Boolean, default: !0 },
27
+ testId: { default: "clll-banner" },
28
+ title: {},
29
+ width: { default: "100%" },
30
+ variant: { default: d.Soft }
31
+ },
32
+ setup(e) {
33
+ h((u) => ({
34
+ v42ada450: u.width,
35
+ v46a4d956: u.height
36
+ }));
37
+ const i = e, t = "clll-banner", g = x(() => [
38
+ t,
39
+ i.actionLabel ? `${t}--actionable` : "",
40
+ i.busy ? `${t}--busy` : `${t}--ready`,
41
+ i.bordered && i.variant !== d.Ghost ? `${t}--bordered` : "",
42
+ i.borderRadius ? `${t}--${i.borderRadius}` : "",
43
+ i.onDismiss ? `${t}--dismissable` : "",
44
+ `${t}--${i.color}--${i.variant}`,
45
+ `${t}--align-${i.align}`,
46
+ i.rounded ? `${t}--rounded` : `${t}--box`
47
+ ]);
48
+ return (u, y) => (n(), l(a(B), {
49
+ color: e.color,
50
+ enabled: !!(e.onClick && e.ariaLabel),
51
+ rounded: e.rounded
52
+ }, {
53
+ default: s(() => [
54
+ m("div", {
55
+ class: r([a(g), a(R)({ color: e.color, variant: e.variant })]),
56
+ "data-testid": e.testId
57
+ }, [
58
+ m("div", {
59
+ class: r(`${t}__content`)
60
+ }, [
61
+ m("div", {
62
+ class: r(`${t}__nested_content`)
63
+ }, [
64
+ e.busy ? (n(), l(a(k), {
65
+ key: 0,
66
+ height: "28px",
67
+ "test-id": `${t}__skeleton-title`
68
+ }, null, 8, ["test-id"])) : o("", !0),
69
+ e.busy ? (n(), l(a(k), {
70
+ key: 1,
71
+ width: "70%",
72
+ height: "20px",
73
+ "test-id": `${t}__skeleton-message`
74
+ }, null, 8, ["test-id"])) : o("", !0),
75
+ e.title && !e.busy ? (n(), l(a(S), {
76
+ key: 2,
77
+ align: e.align,
78
+ color: e.color,
79
+ type: a(N).Section
80
+ }, {
81
+ default: s(() => [
82
+ f(c(e.title), 1)
83
+ ]),
84
+ _: 1
85
+ }, 8, ["align", "color", "type"])) : o("", !0),
86
+ e.message && !e.busy ? (n(), l(a(z), {
87
+ key: 3,
88
+ align: e.align,
89
+ color: e.color,
90
+ type: a(V).Summary
91
+ }, {
92
+ default: s(() => [
93
+ f(c(e.message), 1)
94
+ ]),
95
+ _: 1
96
+ }, 8, ["align", "color", "type"])) : o("", !0)
97
+ ], 2),
98
+ e.onAction && e.actionLabel ? (n(), b("div", {
99
+ key: 0,
100
+ class: r(`${t}__action-button`)
101
+ }, [
102
+ $(a(C), {
103
+ color: e.color,
104
+ "border-radius": e.borderRadius,
105
+ "on-click": e.onAction,
106
+ "test-id": `${t}__action-button`,
107
+ variant: e.variant === a(d).Solid ? a(d).Soft : a(d).Solid
108
+ }, {
109
+ default: s(() => [
110
+ f(c(e.actionLabel), 1)
111
+ ]),
112
+ _: 1
113
+ }, 8, ["color", "border-radius", "on-click", "test-id", "variant"])
114
+ ], 2)) : o("", !0)
115
+ ], 2),
116
+ e.onDismiss ? (n(), b("div", {
117
+ key: 0,
118
+ class: r(`${t}__dismiss-button`)
119
+ }, [
120
+ $(a(C), {
121
+ "aria-label": "Dismiss banner",
122
+ color: e.color,
123
+ "icon-before": a(I).Delete,
124
+ "icon-size": a(A).Tiny,
125
+ "on-click": e.onDismiss,
126
+ size: a(w).Tiny,
127
+ "test-id": `${t}__dismiss-button`,
128
+ variant: e.variant
129
+ }, null, 8, ["color", "icon-before", "icon-size", "on-click", "size", "test-id", "variant"])
130
+ ], 2)) : o("", !0),
131
+ e.onClick && e.ariaLabel ? (n(), b("button", {
132
+ key: 1,
133
+ class: "sr-only",
134
+ "data-expand-click-area": "",
135
+ onClick: y[0] || (y[0] = //@ts-ignore
136
+ (...L) => e.onClick && e.onClick(...L))
137
+ }, c(e.ariaLabel), 1)) : o("", !0)
138
+ ], 10, E)
139
+ ]),
140
+ _: 1
141
+ }, 8, ["color", "enabled", "rounded"]));
142
+ }
143
+ });
144
+ export {
145
+ O as CLBanner,
146
+ O as default
147
+ };
@@ -1,4 +1,4 @@
1
- import { CLAlign, CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction } from '../../../index.ts';
1
+ import { CLAlign, CLBorderRadius, CLColors, CLColorVariants, CLGenericFunction } from '../../../types';
2
2
  export interface CLBannerProps {
3
3
  /** The action label text to be displayed. */
4
4
  actionLabel?: string;
@@ -40,10 +40,10 @@ declare const _default: import('vue').DefineComponent<CLBannerProps, {}, {}, {},
40
40
  width: string;
41
41
  height: string;
42
42
  variant: CLColorVariants.Ghost | CLColorVariants.Outline | CLColorVariants.Soft | CLColorVariants.Solid;
43
+ rounded: boolean;
43
44
  testId: string;
44
45
  align: CLAlign;
45
- bordered: boolean;
46
46
  busy: boolean;
47
- rounded: boolean;
47
+ bordered: boolean;
48
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
49
49
  export default _default;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-pill.clll-pill--rounded{position:relative;overflow:hidden;border-radius:var(--clll-rounded-xs);flex:none;display:inline-flex;align-items:center;box-sizing:border-box}.clll-pill:not(.clll-pill--rounded){position:relative;overflow:hidden;border-radius:0;flex:none;display:inline-flex;align-items:center;box-sizing:border-box}.clll-pill.clll-pill--has-count>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-1)}.clll-pill .clll-pill__count,.clll-pill .clll-pill__label{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;margin:0;font-size:var(--clll-unit-3);line-height:var(--clll-unit-5);display:block;font-weight:400;padding:var(--clll-py-xs) var(--clll-px-sm)}.clll-pill.clll-pill--has-count .clll-pill__label{padding-right:var(--clll-px-s-sm)}.clll-pill.clll-pill--has-icon,.clll-pill.clll-pill--has-icon .clll-pill__label{padding-left:var(--clll-px-xs)}.clll-pill.clll-pill--clickable{transition-property:all;transition-duration:.3s;transition-timing-function:ease}.clll-pill.clll-pill--elevated{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}
@@ -0,0 +1,6 @@
1
+ import './CLPill.css';
2
+ import { _ as s } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-mkIKVHjg.js";
3
+ export {
4
+ s as CLPill,
5
+ s as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../../index.ts';
1
+ import { CLGenericFunction, CLIconNames, CLColors, CLColorVariants } from '../../../types';
2
2
  export interface CLPillProps {
3
3
  /** Sets the color of the Pill. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
4
4
  color?: CLColors;
@@ -22,8 +22,8 @@ export interface CLPillProps {
22
22
  declare const _default: import('vue').DefineComponent<CLPillProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLPillProps> & Readonly<{}>, {
23
23
  color: CLColors;
24
24
  variant: CLColorVariants;
25
- elevated: boolean;
26
- testId: string;
27
25
  rounded: boolean;
26
+ testId: string;
27
+ elevated: boolean;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  export default _default;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-progress .clll-progress__bar-container{border-radius:var(--clll-rounded-md);flex:none;display:inline-flex;align-items:center;box-sizing:border-box;display:block;width:100%;position:relative;overflow:hidden;background-color:#d3d3d3}.clll-progress .clll-progress__bar-container .clll-progress__bar{position:absolute;bottom:0;left:0;width:100%;height:100%;transform-origin:left;transform:translate(calc((100 - var(--v70fa21a0)) * -1%))}.clll-progress.clll-progress--not-rounded .clll-progress__bar-container{border-radius:0}.clll-progress .clll-progress__status__container{display:flex;justify-content:flex-start}.clll-progress .clll-progress__status__container .clll-progress__status__label{display:flex;justify-content:flex-end;width:calc(var(--v70fa21a0) * 1%)}.clll-progress.clll-progress--inverted .clll-progress__bar{transform-origin:right;transform:translate(calc((100 - var(--v70fa21a0)) * 1%))}.clll-progress.clll-progress--inverted .clll-progress__status__container{display:flex;justify-content:flex-end}.clll-progress.clll-progress--inverted .clll-progress__status__container .clll-progress__status__label{display:flex;justify-content:flex-start;width:calc(var(--v70fa21a0) * 1%)}.clll-progress.clll-progress--tiny .clll-progress__bar-container{height:var(--clll-unit-0_5)}.clll-progress.clll-progress--small .clll-progress__bar-container{height:var(--clll-unit-1)}.clll-progress.clll-progress--medium .clll-progress__bar-container{height:var(--clll-unit-2)}.clll-progress.clll-progress--large .clll-progress__bar-container{height:var(--clll-unit-3)}.clll-progress.clll-progress--xlarge .clll-progress__bar-container{height:var(--clll-unit-4)}
@@ -0,0 +1,6 @@
1
+ import './CLProgress.css';
2
+ import { _ as a } from "../../../chunks/CLProgress.vue_vue_type_style_index_0_lang-CSf7WiNb.js";
3
+ export {
4
+ a as CLProgress,
5
+ a as default
6
+ };
@@ -23,10 +23,10 @@ declare const _default: import('vue').DefineComponent<{
23
23
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
24
24
  }>, {
25
25
  color: CLColors;
26
- testId: string;
27
26
  rounded: boolean;
27
+ testId: string;
28
28
  size: CLSizes;
29
- inverted: boolean;
30
29
  status: boolean;
30
+ inverted: boolean;
31
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
32
32
  export default _default;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-skeleton{position:relative;overflow:hidden;width:var(--v168f558d);height:var(--bce73b80)}.clll-skeleton.clll-skeleton--rounded{border-radius:var(--clll-rounded-xs)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-full,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-lg,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-md,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-sm,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-xs,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-xl,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-2xl,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-3xl,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-none,.clll-skeleton.clll-skeleton--rounded.clll-skeleton--rounded-none .clll-{border-radius:0}.clll-skeleton .clll-skeleton__animation{position:absolute;top:0;left:0;width:14rem;height:100%;background-image:linear-gradient(to right,#fff0,#ffffff80,#fff0);animation:animate infinite 2s ease-in-out}@keyframes animate{0%{left:-14rem}to{left:100%}}
@@ -0,0 +1,6 @@
1
+ import './CLSkeleton.css';
2
+ import { _ as e } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-E-bZeUWT.js";
3
+ export {
4
+ e as CLSkeleton,
5
+ e as default
6
+ };
@@ -14,7 +14,7 @@ export interface CLSkeletonProps {
14
14
  declare const _default: import('vue').DefineComponent<CLSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLSkeletonProps> & Readonly<{}>, {
15
15
  width: string;
16
16
  height: string;
17
- testId: string;
18
17
  rounded: boolean;
18
+ testId: string;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
20
  export default _default;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-spinner{display:flex}.clll-spinner.clll-spinner--absolute{position:absolute;top:0;left:0;width:100%;height:100%}.clll-spinner.clll-spinner--relative{position:relative}.clll-spinner.clll-spinner--left{align-items:center;justify-content:flex-start}.clll-spinner.clll-spinner--center{align-items:center;justify-content:center}.clll-spinner.clll-spinner--right{align-items:center;justify-content:flex-end}.clll-spinner .clll-spinner__circle{animation:spin 1s linear infinite}.clll-spinner .clll-spinner__circle.clll-spinner__circle--tiny{width:var(--clll-unit-4);height:var(--clll-unit-4)}.clll-spinner .clll-spinner__circle.clll-spinner__circle--small{width:var(--clll-unit-5);height:var(--clll-unit-5)}.clll-spinner .clll-spinner__circle.clll-spinner__circle--medium{width:var(--clll-unit-6);height:var(--clll-unit-6)}.clll-spinner .clll-spinner__circle.clll-spinner__circle--large{width:var(--clll-unit-8);height:var(--clll-unit-8)}.clll-spinner .clll-spinner__circle.clll-spinner__circle--xlarge{width:var(--clll-unit-10);height:var(--clll-unit-10)}@keyframes spin{to{transform:rotate(360deg)}}
@@ -0,0 +1,6 @@
1
+ import './CLSpinner.css';
2
+ import { _ as r } from "../../../chunks/CLSpinner.vue_vue_type_style_index_0_lang-C8s8K4zb.js";
3
+ export {
4
+ r as CLSpinner,
5
+ r as default
6
+ };
@@ -14,8 +14,8 @@ export interface CLSpinnerProps {
14
14
  declare const _default: import('vue').DefineComponent<CLSpinnerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLSpinnerProps> & Readonly<{}>, {
15
15
  color: CLColors;
16
16
  testId: string;
17
- align: CLAlign;
18
17
  size: CLSizes;
18
+ align: CLAlign;
19
19
  position: CLPosition;
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
21
21
  export default _default;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-prevent-scroll{overflow:initial}.clll-modal{position:fixed;inset:0;height:100dvh;z-index:var(--v1b3cde5d)}.clll-modal .clll-modal__window{position:relative;overflow-x:hidden;overflow-y:auto;height:100%;padding:0 var(--clll-px-md);z-index:var(--v9756aaa0)}.clll-modal .clll-modal__window .clll-modal__close-button{position:absolute;top:var(--clll-unit-2);right:var(--clll-unit-2);z-index:1}.clll-modal .clll-modal__window .clll-modal__content{border-radius:0;display:flex;flex-direction:column;height:auto;position:relative;margin:var(--clll-unit-6) auto;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}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-full,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-full .clll-{border-radius:var(--clll-rounded-full)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-lg,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-lg .clll-{border-radius:var(--clll-rounded-lg)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-md,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-md .clll-{border-radius:var(--clll-rounded-md)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-sm,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-sm .clll-{border-radius:var(--clll-rounded-sm)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-xs,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-xs .clll-{border-radius:var(--clll-rounded-xs)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-xl,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-xl .clll-{border-radius:var(--clll-rounded-xl)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-2xl,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-2xl .clll-{border-radius:var(--clll-rounded-2xl)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-3xl,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-3xl .clll-{border-radius:var(--clll-rounded-3xl)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-none,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--rounded-none .clll-{border-radius:0}@media (min-width: 640px){.clll-modal .clll-modal__window .clll-modal__content{margin:var(--clll-unit-12) auto;max-width:var(--v7a09ccea)}}.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__header{padding:var(--clll-unit-6)}.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__header .clll-modal__content__title{align-items:start;display:flex;width:100%}.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__header .clll-modal__content__title .clll-modal__content__header__container{flex:1 1 0%}.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__scroller{display:flex;flex:1;flex-direction:column;overflow-y:auto}@media (min-width: 640px){.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__scroller{overflow-y:hidden}}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-title .clll-modal__content__header .clll-modal__content__header__title,.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__body{flex:1}.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content .clll-modal__content__footer{padding:var(--clll-unit-6)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-title .clll-modal__content__header .clll-modal__content__header__title{flex:1}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-title .clll-modal__content__header .clll-modal__content__title{justify-content:flex-end;padding-bottom:0}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-body .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-header .clll-modal__content__header,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-footer .clll-modal__content__footer{display:none;padding:0}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-close-button .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-close-button .clll-modal__content__footer{padding:var(--clll-unit-6)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header) .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header) .clll-modal__content__footer,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-header .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-header .clll-modal__content__footer{padding:var(--clll-unit-6) var(--clll-unit-12) var(--clll-unit-6) var(--clll-unit-6)}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header).clll-modal__content--has-footer .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-no-header.clll-modal__content--has-footer .clll-modal__content__body{padding-bottom:0}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-title .clll-modal__content__body,.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-header .clll-modal__content__body{padding-top:0}.clll-modal .clll-modal__window .clll-modal__content.clll-modal__content--has-footer .clll-modal__content__body{padding-bottom:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen{padding:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content{height:100%;margin:0;max-width:100%}@media (min-width: 640px){.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content{border-radius:0}}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__close-button{top:var(--clll-unit-2);right:var(--clll-unit-2)}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-title .clll-modal__close-button,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-header .clll-modal__close-button{right:var(--clll-unit-6)}@media (min-width: 1024px){.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__content__header{padding:var(--clll-unit-6)}}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__content__body{flex:1}@media (min-width: 640px){.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__content__body{overflow-y:auto;max-height:100%}}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content .clll-modal__content__footer{padding:var(--clll-unit-6)}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header) .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header) .clll-modal__content__footer,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-header .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-header .clll-modal__content__footer{padding:var(--clll-unit-6) var(--clll-unit-14) var(--clll-unit-6) var(--clll-unit-6)}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-title:not(.clll-modal__content--has-header).clll-modal__content--has-footer .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-header.clll-modal__content--has-footer .clll-modal__content__body{padding-bottom:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-title .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-header .clll-modal__content__body{padding-top:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-footer .clll-modal__content__body{padding-bottom:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button .clll-modal__content__footer{padding:var(--clll-unit-6)}@media (min-width: 1024px){.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button .clll-modal__content__footer{padding:var(--clll-unit-8)}}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button.clll-modal__content--has-title .clll-modal__content__body,.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button.clll-modal__content--has-header .clll-modal__content__body{padding-top:0}.clll-modal .clll-modal__window.clll-modal__window--fullscreen .clll-modal__content.clll-modal__content--has-no-close-button.clll-modal__content--has-footer .clll-modal__content__body{padding-bottom:0}.clll-modal .clll-modal__overlay{position:fixed;inset:0;opacity:.4}
@@ -0,0 +1,175 @@
1
+ import './CLModal.css';
2
+ import { defineComponent as W, useCssVars as F, unref as n, computed as m, useTemplateRef as U, useSlots as Z, ref as j, watch as q, onMounted as A, onBeforeUnmount as G, createElementBlock as g, createCommentVNode as f, openBlock as v, normalizeClass as a, createElementVNode as r, createBlock as p, renderSlot as $, withCtx as J, createTextVNode as K, toDisplayString as P, normalizeStyle as Q } from "vue";
3
+ import { _ as X } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-CrhjC50b.js";
4
+ import { _ as Y } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-DILwNSgn.js";
5
+ import { CLMode as k, CLColors as R, CLColorVariants as T, CLBorderRadius as ee, CLIconSizes as oe, CLIconNames as te, CLHeadingTypes as le } from "../../../index.js";
6
+ import { u as ne, g as ae, c as B, a as se } from "../../../chunks/useTheme-yoEfuNvB.js";
7
+ import { u as de } from "../../../chunks/useEsc-C9QIDZ_8.js";
8
+ import { f as S, i as s } from "../../../chunks/base-theme-C9_Hz5HW.js";
9
+ const re = () => {
10
+ const { borderRadius: t, colors: w, darkMode: c } = ne(), d = c.value ? k.Dark : k.Light, u = ae({
11
+ color: R.Neutral,
12
+ colors: w.value,
13
+ mode: d,
14
+ variant: T.Solid
15
+ }), o = c.value ? "black" : "white";
16
+ let e;
17
+ return t.value && (e = B`&.clll-modal{.clll-modal__window{.clll-modal__content:not([class*='clll-modal__content--rounded-']){border-radius:var(--clll-${t.value});}}}`), se(B`.clll-modal__overlay{background-color:${u?.bg};}.clll-modal__window{.clll-modal__content{background:${o}}}`, e);
18
+ }, ie = ["id", "data-testid"], ce = ["aria-labelledby"], ye = /* @__PURE__ */ W({
19
+ name: "CLModal",
20
+ __name: "CLModal",
21
+ props: {
22
+ borderRadius: { default: void 0 },
23
+ close: { type: Boolean, default: !0 },
24
+ closeBorderRadius: { default: ee.Full },
25
+ dismissible: { type: Boolean, default: !0 },
26
+ fullscreen: { type: Boolean, default: !1 },
27
+ isOpen: { type: Boolean, default: !1 },
28
+ maxWidth: { default: "640px" },
29
+ modalId: {},
30
+ onClose: { type: Function, default: void 0 },
31
+ overlay: { type: Boolean, default: !0 },
32
+ testId: { default: "clll-modal" },
33
+ title: { default: void 0 },
34
+ zIndex: { default: 100 }
35
+ },
36
+ emits: ["modal-open", "modal-close"],
37
+ setup(t, { emit: w }) {
38
+ F((l) => ({
39
+ v1b3cde5d: n(O),
40
+ v9756aaa0: n(V),
41
+ v7a09ccea: l.maxWidth
42
+ }));
43
+ const c = w, d = U("modal-window"), u = Z(), o = t, e = "clll-modal", h = "clll-prevent-scroll", _ = j(), C = () => {
44
+ s && window?.document.body.classList.add(h);
45
+ }, x = () => {
46
+ s && window?.document.body.classList.remove(h);
47
+ }, N = m(() => [
48
+ e
49
+ ]), E = m(() => [
50
+ `${e}__window`,
51
+ o.fullscreen ? `${e}__window--fullscreen` : ""
52
+ ]), M = m(() => [
53
+ `${e}__content`,
54
+ o.borderRadius ? `${e}__content--${o.borderRadius}` : "",
55
+ o.close ? `${e}__content--has-close-button` : `${e}__content--has-no-close-button`,
56
+ u.body ? `${e}__content--has-body` : `${e}__content--has-no-body`,
57
+ u.footer ? `${e}__content--has-footer` : `${e}__content--has-no-footer`,
58
+ u.header || o.title ? `${e}__content--has-header` : `${e}__content--has-no-header`,
59
+ o.title ? `${e}__content--has-title` : `${e}__content--has-no-title`
60
+ ]), O = m(() => o.zIndex === "auto" || S(o.zIndex) ? o.zIndex : o.zIndex.toString()), V = m(() => o.zIndex === "auto" ? o.zIndex : ((S(o.zIndex) ? parseInt(o.zIndex, 10) : o.zIndex) + 100).toString()), H = (l) => {
61
+ try {
62
+ const i = l?.target, L = d.value;
63
+ return s && L && !L.contains(i) ? !0 : void 0;
64
+ } catch (i) {
65
+ console.error(i);
66
+ return;
67
+ }
68
+ }, b = (l) => {
69
+ try {
70
+ H(l) && (s && window.removeEventListener("mousedown", b), z());
71
+ } catch (i) {
72
+ console.error(i);
73
+ }
74
+ }, y = () => {
75
+ s && window.removeEventListener("mousedown", b);
76
+ }, I = () => {
77
+ s && (_.value && s && window.clearTimeout(_.value), y(), x());
78
+ }, z = () => {
79
+ o.isOpen && (o.onClose?.(), I());
80
+ };
81
+ q(o, (l) => {
82
+ l.isOpen ? (c("modal-open"), C(), d.value && d.value.focus(), s && l.dismissible && (y(), _.value = window.setTimeout(() => {
83
+ window.addEventListener("mousedown", b);
84
+ }, 100))) : (d.value && d.value.blur(), x(), y(), _.value && s && window.clearTimeout(_.value), c("modal-close"));
85
+ }), A(() => {
86
+ o.isOpen && s && (C(), d.value && d.value.focus());
87
+ });
88
+ const { clearEventListeners: D } = de({ escHandler: o.dismissible ? z : void 0 });
89
+ return G(() => {
90
+ I(), D();
91
+ }), (l, i) => t.isOpen ? (v(), g("div", {
92
+ key: 0,
93
+ id: t.modalId,
94
+ class: a([n(N), n(re)()]),
95
+ "data-testid": t.testId
96
+ }, [
97
+ r("div", {
98
+ class: a(n(E))
99
+ }, [
100
+ r("div", {
101
+ ref: "modal-window",
102
+ "aria-modal": "true",
103
+ "aria-labelledby": `${e}__content__header__title`,
104
+ class: a(n(M)),
105
+ role: "dialog",
106
+ tabindex: -1
107
+ }, [
108
+ r("div", {
109
+ class: a(`${e}__close-button`)
110
+ }, [
111
+ t.onClose && t.close ? (v(), p(n(X), {
112
+ key: 0,
113
+ "aria-label": "Close modal",
114
+ "border-radius": t.closeBorderRadius,
115
+ color: n(R).Neutral,
116
+ "icon-before": n(te).Delete,
117
+ "icon-size": n(oe).Tiny,
118
+ "on-click": t.onClose,
119
+ "test-id": `${e}__close-button`,
120
+ variant: n(T).Text
121
+ }, null, 8, ["border-radius", "color", "icon-before", "icon-size", "on-click", "test-id", "variant"])) : f("", !0)
122
+ ], 2),
123
+ r("div", {
124
+ class: a(`${e}__content__header`)
125
+ }, [
126
+ r("div", {
127
+ class: a(`${e}__content__title`)
128
+ }, [
129
+ r("div", {
130
+ class: a(`${e}__content__header__container`)
131
+ }, [
132
+ t.title ? (v(), p(n(Y), {
133
+ key: 0,
134
+ id: `${e}__content__header__title`,
135
+ class: a(`${e}__content__header__title`),
136
+ type: n(le).Section
137
+ }, {
138
+ default: J(() => [
139
+ K(P(t.title), 1)
140
+ ]),
141
+ _: 1
142
+ }, 8, ["id", "class", "type"])) : f("", !0),
143
+ $(l.$slots, "header")
144
+ ], 2)
145
+ ], 2)
146
+ ], 2),
147
+ r("div", {
148
+ class: a(`${e}__content__scroller`)
149
+ }, [
150
+ r("div", {
151
+ class: a(`${e}__content__body`)
152
+ }, [
153
+ $(l.$slots, "body")
154
+ ], 2)
155
+ ], 2),
156
+ r("div", {
157
+ class: a(`${e}__content__footer`)
158
+ }, [
159
+ $(l.$slots, "footer")
160
+ ], 2)
161
+ ], 10, ce)
162
+ ], 2),
163
+ t.overlay ? (v(), g("div", {
164
+ key: 0,
165
+ ref: "overlay-ref",
166
+ class: a(`${e}__overlay`),
167
+ style: Q({ zIndex: t.zIndex })
168
+ }, null, 6)) : f("", !0)
169
+ ], 10, ie)) : f("", !0);
170
+ }
171
+ });
172
+ export {
173
+ ye as CLModal,
174
+ ye as default
175
+ };
@@ -38,14 +38,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
38
38
  borderRadius: CLBorderRadius;
39
39
  close: boolean;
40
40
  testId: string;
41
- isOpen: boolean;
42
- zIndex: number | string;
43
41
  closeBorderRadius: CLBorderRadius;
44
42
  dismissible: boolean;
45
43
  fullscreen: boolean;
44
+ isOpen: boolean;
46
45
  maxWidth: string;
47
46
  onClose: CLGenericFunction;
48
47
  overlay: boolean;
48
+ zIndex: number | string;
49
49
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
50
50
  'modal-window': HTMLDivElement;
51
51
  'overlay-ref': HTMLDivElement;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-link{cursor:pointer}.clll-link.clll-link--underline.clll-link--neutral,.clll-link.clll-link--underline.clll-link--primary,.clll-link.clll-link--underline.clll-link--secondary,.clll-link.clll-link--underline.clll-link--danger,.clll-link.clll-link--underline.clll-link--info,.clll-link.clll-link--underline.clll-link--warning,.clll-link.clll-link--underline.clll-link--success{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;border-radius:var(--clll-rounded-xs);text-underline-offset:var(--clll-unit-0_5);transition-property:text-decoration-color;transition-duration:.3s;transition-timing-function:ease}.clll-link.clll-link--nounderline.clll-link--neutral,.clll-link.clll-link--nounderline.clll-link--primary,.clll-link.clll-link--nounderline.clll-link--secondary,.clll-link.clll-link--nounderline.clll-link--danger,.clll-link.clll-link--nounderline.clll-link--info,.clll-link.clll-link--nounderline.clll-link--warning,.clll-link.clll-link--nounderline.clll-link--success{font-family:var(--clll-font-family);-webkit-font-smoothing:antialiased;border-radius:var(--clll-rounded-xs);transition-property:text-decoration-color;transition-duration:.3s;transition-timing-function:ease}.clll-link .clll-text{transition-property:color;transition-duration:.3s;transition-timing-function:ease}.clll-link.clll-link--external .clll-icon{padding-left:var(--clll-px-s-xs)}
@@ -0,0 +1,6 @@
1
+ import './CLLink.css';
2
+ import { _ as s } from "../../../chunks/CLLink.vue_vue_type_style_index_0_lang-BUgw8Rpy.js";
3
+ export {
4
+ s as CLLink,
5
+ s as default
6
+ };
@@ -1,4 +1,4 @@
1
- import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../index.ts';
1
+ import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../types';
2
2
  export interface CLLinkProps {
3
3
  /** Sets the aria-label on the Link element. */
4
4
  ariaLabel?: string;
@@ -23,9 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CL
23
23
  color: CLColors;
24
24
  testId: string;
25
25
  target: CLLinkTarget;
26
+ underline: boolean;
26
27
  external: boolean;
27
28
  rel: string;
28
- underline: boolean;
29
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>, {
30
30
  default?(_: {}): any;
31
31
  }>;
@@ -0,0 +1,5 @@
1
+ import { _ as s } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-Ckz9MEj5.js";
2
+ export {
3
+ s as CLNavLink,
4
+ s as default
5
+ };
@@ -1,4 +1,4 @@
1
- import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../index.ts';
1
+ import { CLColors, CLGenericFunction, CLLinkTarget } from '../../../types';
2
2
  export interface CLNavLinkProps {
3
3
  /** Sets the aria-label on the NavLink element. */
4
4
  ariaLabel?: string;
@@ -0,0 +1 @@
1
+ :root{--clll-unit-0: 0;--clll-unit-0_5: .125rem;--clll-unit-1: .25rem;--clll-unit-1_5: .375rem;--clll-unit-2: .5rem;--clll-unit-2_5: .625rem;--clll-unit-3: .75rem;--clll-unit-3_5: .875rem;--clll-unit-4: 1rem;--clll-unit-4_5: 1.125rem;--clll-unit-5: 1.25rem;--clll-unit-5_5: 1.375rem;--clll-unit-6: 1.5rem;--clll-unit-6_5: 1.625rem;--clll-unit-7: 1.75rem;--clll-unit-7_5: 1.875rem;--clll-unit-8: 2rem;--clll-unit-8_5: 2.125rem;--clll-unit-9_5: 2.375rem;--clll-unit-10: 2.5rem;--clll-unit-10_5: 2.625rem;--clll-unit-12: 3rem;--clll-unit-14: 3.5rem;--clll-unit-14_5: 3.625rem;--clll-unit-18: 4.5rem}.form-addon-flex{display:flex;align-items:center;justify-content:center;pointer-events:none;user-select:none}.form-addon-flex--left{left:0}.form-addon-flex--right{right:0}.form-addon-flex--icon{z-index:10;box-sizing:border-box}.form-addon-flex--string{position:relative}.form-addon-radius--left-full{border-top-left-radius:var(--clll-rounded-full);border-bottom-left-radius:var(--clll-rounded-full)}.form-addon-radius--right-full{border-top-right-radius:var(--clll-rounded-full);border-bottom-right-radius:var(--clll-rounded-full)}.form-addon-radius--left-lg{border-top-left-radius:var(--clll-rounded-lg);border-bottom-left-radius:var(--clll-rounded-lg)}.form-addon-radius--right-lg{border-top-right-radius:var(--clll-rounded-lg);border-bottom-right-radius:var(--clll-rounded-lg)}.form-addon-radius--left-md{border-top-left-radius:var(--clll-rounded-md);border-bottom-left-radius:var(--clll-rounded-md)}.form-addon-radius--right-md{border-top-right-radius:var(--clll-rounded-md);border-bottom-right-radius:var(--clll-rounded-md)}.form-addon-radius--left-sm{border-top-left-radius:var(--clll-rounded-sm);border-bottom-left-radius:var(--clll-rounded-sm)}.form-addon-radius--right-sm{border-top-right-radius:var(--clll-rounded-sm);border-bottom-right-radius:var(--clll-rounded-sm)}.form-addon-radius--left-xs{border-top-left-radius:var(--clll-rounded-xs);border-bottom-left-radius:var(--clll-rounded-xs)}.form-addon-radius--right-xs{border-top-right-radius:var(--clll-rounded-xs);border-bottom-right-radius:var(--clll-rounded-xs)}.form-addon-radius--left-xl{border-top-left-radius:var(--clll-rounded-xl);border-bottom-left-radius:var(--clll-rounded-xl)}.form-addon-radius--right-xl{border-top-right-radius:var(--clll-rounded-xl);border-bottom-right-radius:var(--clll-rounded-xl)}.form-addon-radius--left-2xl{border-top-left-radius:var(--clll-rounded-2xl);border-bottom-left-radius:var(--clll-rounded-2xl)}.form-addon-radius--right-2xl{border-top-right-radius:var(--clll-rounded-2xl);border-bottom-right-radius:var(--clll-rounded-2xl)}.form-addon-radius--left-3xl{border-top-left-radius:var(--clll-rounded-3xl);border-bottom-left-radius:var(--clll-rounded-3xl)}.form-addon-radius--right-3xl{border-top-right-radius:var(--clll-rounded-3xl);border-bottom-right-radius:var(--clll-rounded-3xl)}.form-addon-radius--left-none{border-top-left-radius:0;border-bottom-left-radius:0}.form-addon-radius--right-none{border-top-right-radius:0;border-bottom-right-radius:0}.form-control-flex{display:inline-flex;align-items:center;justify-content:center;position:relative}.form-counter-flex{display:flex;align-items:center;justify-content:flex-end;max-width:100px;box-sizing:border-box;flex:1;position:relative;pointer-events:none;user-select:none}.form-select-icon-flex{position:absolute;top:0;right:0;height:100%;display:flex;align-items:center;pointer-events:none}:root{--clll-rounded-full: 9999px;--clll-rounded-none: 0;--clll-rounded-xs: var(--clll-unit-1);--clll-rounded-sm: var(--clll-unit-2);--clll-rounded-md: var(--clll-unit-3);--clll-rounded-lg: var(--clll-unit-4);--clll-rounded-xl: var(--clll-unit-5);--clll-rounded-2xl: var(--clll-unit-6);--clll-rounded-3xl: var(--clll-unit-7);--clll-px-xs: var(--clll-unit-1_5);--clll-px-sm: var(--clll-unit-2);--clll-px-md: var(--clll-unit-2_5);--clll-px-lg: var(--clll-unit-3);--clll-px-xl: var(--clll-unit-3_5);--clll-px-2xl: var(--clll-unit-4);--clll-px-3xl: var(--clll-unit-4_5);--clll-px-s-xs: calc(var(--clll-px-xs) * .5);--clll-px-s-sm: calc(var(--clll-px-sm) * .5);--clll-py-xs: calc(var(--clll-unit-1) - 1px);--clll-py-sm: calc(var(--clll-unit-1_5) - 1px);--clll-py-md: calc(var(--clll-unit-2) - 1px);--clll-py-lg: var(--clll-unit-2);--clll-py-xl: var(--clll-unit-2_5);--clll-py-2xl: var(--clll-unit-3);--clll-py-3xl: var(--clll-unit-3_5);--clll-py-4xl: var(--clll-unit-4);--clll-py-s-xs: calc(var(--clll-py-xs) * .5);--clll-z-index-10: 10}.clll-nav-section{margin:0;padding:0;list-style:none}.clll-nav-section.clll-nav-section--horizontal>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-2)}@media (min-width: 768px){.clll-nav-section.clll-nav-section--horizontal{display:inline-block}.clll-nav-section.clll-nav-section--horizontal>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-0)}.clll-nav-section.clll-nav-section--horizontal>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-4)}}@media (min-width: 1280px){.clll-nav-section.clll-nav-section--horizontal>:not([hidden])~:not([hidden]){margin-left:var(--clll-unit-8)}}@media (min-width: 768px){.clll-nav-section.clll-nav-section--horizontal .clll-nav-section__item{display:inline-block}}.clll-nav-section.clll-nav-section--vertical>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-2)}@media (min-width: 768px){.clll-nav-section.clll-nav-section--vertical>:not([hidden])~:not([hidden]){margin-top:var(--clll-unit-4)}}