@codeandfunction/callaloo 3.23.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/shared/form-utilities.css +1 -1
- package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-kYdsi6-T.js → CLButton.vue_vue_type_style_index_0_lang-B-XC2_j4.js} +46 -44
- package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-C8dDRXYZ.js → CLCard.vue_vue_type_style_index_0_lang-DZ-2FEcq.js} +1 -1
- package/dist/chunks/{CLIcon.vue_vue_type_style_index_0_lang-CduBjI1N.js → CLIcon.vue_vue_type_style_index_0_lang-CMjcMLcy.js} +1 -1
- package/dist/chunks/{CLLink.vue_vue_type_style_index_0_lang-BDgJvHNE.js → CLLink.vue_vue_type_style_index_0_lang-sXIdl0uH.js} +1 -1
- package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-CMUfxGA3.js → CLNavLink.vue_vue_type_script_setup_true_lang-FMOMJjMR.js} +1 -1
- package/dist/chunks/{CLPill.vue_vue_type_style_index_0_lang-BPOoZ5_q.js → CLPill.vue_vue_type_style_index_0_lang-BbXWiTde.js} +27 -24
- package/dist/chunks/{CLToast.vue_vue_type_style_index_0_lang-BH6Tnr-h.js → CLToast.vue_vue_type_style_index_0_lang-BL61sRYd.js} +61 -59
- package/dist/chunks/helper-oZuRnF9g.js +81 -0
- package/dist/components/Buttons/CLButton/CLButton.css +1 -1
- package/dist/components/Buttons/CLButton/CLButton.js +1 -1
- package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +4 -4
- 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 +14 -15
- package/dist/components/Containers/CLDisclosure/CLDisclosure.vue.d.ts +3 -5
- package/dist/components/Form/CLCheckbox/CLCheckbox.js +1 -1
- package/dist/components/Form/CLInput/CLInput.js +228 -176
- package/dist/components/Form/CLInput/CLInput.vue.d.ts +12 -0
- package/dist/components/Form/CLInput/CLInputPrefix.vue.d.ts +13 -4
- package/dist/components/Form/CLInput/CLInputSuffix.vue.d.ts +13 -4
- 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/Indicators/CLPill/CLPill.vue.d.ts +3 -0
- package/dist/components/Modals/CLModal/CLModal.js +2 -2
- 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 +149 -151
- package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +5 -8
- package/dist/components/Popups/CLToast/CLToast.js +1 -1
- package/dist/components/Popups/CLToast/CLToast.vue.d.ts +1 -0
- package/dist/components/Providers/CLThemeProvider/CLThemeProvider.js +1 -1
- package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
- package/dist/composables/useDropdown.js +1 -1
- package/dist/composables/useEsc.js +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/utils/helper.d.ts +4 -1
- package/package.json +1 -1
- package/dist/chunks/helper-BYpahJAh.js +0 -63
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { CLIconNames, CLSizes } from '../../../index.ts';
|
|
1
|
+
import { CLIconNames, CLSizes, CLBorderRadius, CLColors } from '../../../index.ts';
|
|
2
2
|
export interface CLInputPrefixProps {
|
|
3
|
+
/** Sets the aria-label for the prefix when it's interactive. */
|
|
4
|
+
ariaLabel?: string;
|
|
3
5
|
/** The border radius size to apply to the prefix */
|
|
4
|
-
borderRadius?:
|
|
6
|
+
borderRadius?: CLBorderRadius;
|
|
7
|
+
/** Sets the color of the prefix icon. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
8
|
+
color?: CLColors;
|
|
5
9
|
/** Whether input is grouped */
|
|
6
10
|
grouped?: boolean;
|
|
11
|
+
/** A callback function which handles when the prefix is clicked. */
|
|
12
|
+
onClick?: (event?: MouseEvent) => void;
|
|
7
13
|
/** The prefix content - icon name or text string */
|
|
8
14
|
prefix: string | CLIconNames;
|
|
9
15
|
/** Size for icon rendering */
|
|
@@ -12,9 +18,12 @@ export interface CLInputPrefixProps {
|
|
|
12
18
|
testId?: string;
|
|
13
19
|
}
|
|
14
20
|
declare const _default: import('vue').DefineComponent<CLInputPrefixProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLInputPrefixProps> & Readonly<{}>, {
|
|
21
|
+
color: CLColors;
|
|
15
22
|
testId: string;
|
|
23
|
+
onClick: (event?: MouseEvent) => void;
|
|
16
24
|
size: CLSizes;
|
|
17
|
-
|
|
25
|
+
ariaLabel: string;
|
|
26
|
+
borderRadius: CLBorderRadius;
|
|
18
27
|
grouped: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
29
|
export default _default;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { CLIconNames, CLSizes } from '../../../index.ts';
|
|
1
|
+
import { CLIconNames, CLSizes, CLBorderRadius, CLColors } from '../../../index.ts';
|
|
2
2
|
export interface CLInputSuffixProps {
|
|
3
|
+
/** Sets the aria-label for the suffix when it's interactive. */
|
|
4
|
+
ariaLabel?: string;
|
|
3
5
|
/** The border radius size to apply to the suffix */
|
|
4
|
-
borderRadius?:
|
|
6
|
+
borderRadius?: CLBorderRadius;
|
|
7
|
+
/** Sets the color of the suffix icon. The property can be one of `CLColors`, e.g. `CLColors.Primary`. */
|
|
8
|
+
color?: CLColors;
|
|
5
9
|
/** Whether input is grouped */
|
|
6
10
|
grouped?: boolean;
|
|
11
|
+
/** A callback function which handles when the suffix is clicked. */
|
|
12
|
+
onClick?: (event?: MouseEvent) => void;
|
|
7
13
|
/** The suffix content - icon name or text string */
|
|
8
14
|
suffix: string | CLIconNames;
|
|
9
15
|
/** Size for icon rendering */
|
|
@@ -12,9 +18,12 @@ export interface CLInputSuffixProps {
|
|
|
12
18
|
testId?: string;
|
|
13
19
|
}
|
|
14
20
|
declare const _default: import('vue').DefineComponent<CLInputSuffixProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CLInputSuffixProps> & Readonly<{}>, {
|
|
21
|
+
color: CLColors;
|
|
15
22
|
testId: string;
|
|
23
|
+
onClick: (event?: MouseEvent) => void;
|
|
16
24
|
size: CLSizes;
|
|
17
|
-
|
|
25
|
+
ariaLabel: string;
|
|
26
|
+
borderRadius: CLBorderRadius;
|
|
18
27
|
grouped: boolean;
|
|
19
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
29
|
export default _default;
|
|
@@ -4,7 +4,7 @@ import '../../../assets/shared/form-utilities.css';
|
|
|
4
4
|
import { defineComponent as B, mergeModels as S, useModel as h, useTemplateRef as q, computed as x, createBlock as f, openBlock as n, withCtx as T, createElementVNode as d, createCommentVNode as $, normalizeStyle as V, normalizeClass as r, unref as u, withDirectives as k, createElementBlock as b, Fragment as M, renderList as F, toDisplayString as I, vModelSelect as N, createVNode as R } from "vue";
|
|
5
5
|
import { _ as D, s as w, a as E } from "../../../chunks/CLInputMessages.vue_vue_type_style_index_0_lang-CF_lxNr8.js";
|
|
6
6
|
import { _ as H } from "../../../chunks/CLFormLabel.vue_vue_type_script_setup_true_lang-DYYs8W4N.js";
|
|
7
|
-
import { _ as O } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-
|
|
7
|
+
import { _ as O } from "../../../chunks/CLIcon.vue_vue_type_style_index_0_lang-CMjcMLcy.js";
|
|
8
8
|
import { CLSizes as o, CLIconSizes as s, CLOrientation as y, CLIconNames as P, CLColorVariants as U, CLColors as X } from "../../../index.js";
|
|
9
9
|
const j = ["data-testid"], A = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], G = ["value", "selected", "disabled"], p = /* @__PURE__ */ B({
|
|
10
10
|
name: "CLSelect",
|
|
@@ -2,7 +2,7 @@ import '../../../assets/core.css';
|
|
|
2
2
|
import './CLBanner.css';
|
|
3
3
|
import { defineComponent as L, computed as h, createBlock as l, openBlock as n, unref as a, withCtx as s, createElementVNode as u, normalizeStyle as v, normalizeClass as r, createElementBlock as b, createCommentVNode as o, createTextVNode as m, toDisplayString as c, createVNode as y } from "vue";
|
|
4
4
|
import { _ as x } from "../../../chunks/CLA11yButton.vue_vue_type_style_index_0_lang-fn1ix3QX.js";
|
|
5
|
-
import { _ as $ } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
5
|
+
import { _ as $ } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-B-XC2_j4.js";
|
|
6
6
|
import { _ as S } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-DntAR1dI.js";
|
|
7
7
|
import { _ as C } from "../../../chunks/CLSkeleton.vue_vue_type_style_index_0_lang-DO-kZ629.js";
|
|
8
8
|
import { _ as B } from "../../../chunks/CLText.vue_vue_type_style_index_0_lang-DVwTAVXM.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLPill.css';
|
|
3
|
-
import { _ as s } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLPill.vue_vue_type_style_index_0_lang-BbXWiTde.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLPill,
|
|
6
6
|
s as default
|
|
@@ -8,6 +8,8 @@ export interface CLPillProps {
|
|
|
8
8
|
elevated?: boolean;
|
|
9
9
|
/** Sets the icon which is positioned before the Pill's label. */
|
|
10
10
|
icon?: CLIconNames;
|
|
11
|
+
/** A boolean value which dictates whether icons should be filled. */
|
|
12
|
+
iconFilled?: boolean;
|
|
11
13
|
/** The text to be displayed as the label. */
|
|
12
14
|
label: string;
|
|
13
15
|
/** A callback function to handle click events. */
|
|
@@ -25,5 +27,6 @@ declare const _default: import('vue').DefineComponent<CLPillProps, {}, {}, {}, {
|
|
|
25
27
|
rounded: boolean;
|
|
26
28
|
testId: string;
|
|
27
29
|
elevated: boolean;
|
|
30
|
+
iconFilled: boolean;
|
|
28
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
32
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLModal.css';
|
|
3
3
|
import { defineComponent as W, useTemplateRef as F, useSlots as U, ref as Z, computed as m, watch as j, onMounted as q, onBeforeUnmount as A, createElementBlock as p, createCommentVNode as v, openBlock as w, normalizeStyle as y, normalizeClass as l, unref as n, createElementVNode as d, createBlock as B, renderSlot as $, withCtx as G, createTextVNode as J, toDisplayString as K } from "vue";
|
|
4
|
-
import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-
|
|
4
|
+
import { _ as P } from "../../../chunks/CLButton.vue_vue_type_style_index_0_lang-B-XC2_j4.js";
|
|
5
5
|
import { _ as Q } from "../../../chunks/CLHeading.vue_vue_type_style_index_0_lang-DntAR1dI.js";
|
|
6
6
|
import { CLMode as k, CLColors as T, CLColorVariants as N, CLBorderRadius as X, CLIconSizes as Y, CLIconNames as ee, CLHeadingTypes as oe } from "../../../index.js";
|
|
7
7
|
import { g as te } from "../../../chunks/utils-DtSQZ0tk.js";
|
|
8
8
|
import { useTheme as ne } from "../../../composables/useTheme.js";
|
|
9
9
|
import { useEsc as le } from "../../../composables/useEsc.js";
|
|
10
|
-
import { c as S, i as a } from "../../../chunks/helper-
|
|
10
|
+
import { c as S, i as a } from "../../../chunks/helper-oZuRnF9g.js";
|
|
11
11
|
const se = () => {
|
|
12
12
|
const { colors: t, darkMode: f } = ne(), _ = f.value ? k.Dark : k.Light, r = te({
|
|
13
13
|
color: T.Neutral,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
2
|
import './CLLink.css';
|
|
3
|
-
import { _ as s } from "../../../chunks/CLLink.vue_vue_type_style_index_0_lang-
|
|
3
|
+
import { _ as s } from "../../../chunks/CLLink.vue_vue_type_style_index_0_lang-sXIdl0uH.js";
|
|
4
4
|
export {
|
|
5
5
|
s as CLLink,
|
|
6
6
|
s as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../../assets/core.css';
|
|
2
|
-
import { _ as s } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as s } from "../../../chunks/CLNavLink.vue_vue_type_script_setup_true_lang-FMOMJjMR.js";
|
|
3
3
|
export {
|
|
4
4
|
s as CLNavLink,
|
|
5
5
|
s as default
|
|
@@ -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-FMOMJjMR.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({
|