@evixcard/evx-ui-kit 1.1.1 → 1.3.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/components/EvComboboxSelect/EvComboboxSelect.spec.d.ts +1 -0
- package/dist/components/EvComboboxSelect/EvComboboxSelect.vue.d.ts +62 -0
- package/dist/components/EvComboboxSelect/index.d.ts +2 -0
- package/dist/components/EvComboboxSelect/types.d.ts +8 -0
- package/dist/components/EvDatePicker/EvDatePicker.vue.d.ts +26 -0
- package/dist/components/EvDatePicker/index.d.ts +1 -0
- package/dist/components/EvPopup/EvPopup.vue.d.ts +9 -0
- package/dist/evx-ui-kit.cjs.js +11 -10
- package/dist/evx-ui-kit.cjs.js.map +1 -1
- package/dist/evx-ui-kit.css +1 -1
- package/dist/evx-ui-kit.es.js +4967 -4407
- package/dist/evx-ui-kit.es.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/theme.css +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EvComboboxOption } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
options: EvComboboxOption[];
|
|
4
|
+
/** Value text shown in the trigger when nothing is selected. */
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/** Placeholder for the search input inside the menu. */
|
|
7
|
+
searchPlaceholder?: string;
|
|
8
|
+
/** Small label rendered above the value inside the trigger. */
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Title rendered in the menu header. Omit to hide the header. */
|
|
11
|
+
headerTitle?: string;
|
|
12
|
+
/** Show a "Clear" action in the menu header that resets the selection. */
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
/** Text shown when the search yields no matches. */
|
|
15
|
+
noResultsText?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
error?: boolean;
|
|
18
|
+
errorMessage?: string | null;
|
|
19
|
+
helperText?: string | null;
|
|
20
|
+
class?: string;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_PublicProps = {
|
|
23
|
+
modelValue?: string | number | null;
|
|
24
|
+
} & __VLS_Props;
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
icon?(_: {
|
|
29
|
+
option: EvComboboxOption;
|
|
30
|
+
}): any;
|
|
31
|
+
};
|
|
32
|
+
refs: {
|
|
33
|
+
root: HTMLDivElement;
|
|
34
|
+
searchInput: HTMLInputElement;
|
|
35
|
+
listRef: HTMLUListElement;
|
|
36
|
+
};
|
|
37
|
+
rootEl: any;
|
|
38
|
+
};
|
|
39
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
40
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
41
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
placeholder: string;
|
|
47
|
+
error: boolean;
|
|
48
|
+
searchPlaceholder: string;
|
|
49
|
+
clearable: boolean;
|
|
50
|
+
noResultsText: string;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
52
|
+
root: HTMLDivElement;
|
|
53
|
+
searchInput: HTMLInputElement;
|
|
54
|
+
listRef: HTMLUListElement;
|
|
55
|
+
}, any>;
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
+
export default _default;
|
|
58
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
+
new (): {
|
|
60
|
+
$slots: S;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface EvComboboxOption {
|
|
2
|
+
value: string | number;
|
|
3
|
+
/** Primary line (14px #232525 in the design). */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Optional secondary line (12px #777f7f in the design). Omit to render a single-line row. */
|
|
6
|
+
meta?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
placeholder?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
error?: boolean;
|
|
5
|
+
label?: string;
|
|
6
|
+
class?: string;
|
|
7
|
+
/** Lower bound, inclusive — ISO 'YYYY-MM-DD'. */
|
|
8
|
+
min?: string | null;
|
|
9
|
+
/** Upper bound, inclusive — ISO 'YYYY-MM-DD'. */
|
|
10
|
+
max?: string | null;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: string | null;
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string | null) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
error: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
root: HTMLDivElement;
|
|
25
|
+
}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvDatePicker } from './EvDatePicker.vue';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export type EvPopupSize = 'sm' | 'md';
|
|
2
|
+
/** Per-element class overrides, merged over the defaults via `twMerge`. */
|
|
3
|
+
export interface EvPopupClasses {
|
|
4
|
+
backdrop?: string;
|
|
5
|
+
panel?: string;
|
|
6
|
+
header?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
2
9
|
export interface EvPopupProps {
|
|
3
10
|
isOpen: boolean;
|
|
4
11
|
title?: string;
|
|
@@ -18,6 +25,8 @@ export interface EvPopupProps {
|
|
|
18
25
|
* default `bg-black/30`. Pair with destructive or attention-demanding flows.
|
|
19
26
|
*/
|
|
20
27
|
blur?: boolean;
|
|
28
|
+
/** Per-element class overrides, merged over the defaults via `twMerge`. */
|
|
29
|
+
classes?: EvPopupClasses;
|
|
21
30
|
}
|
|
22
31
|
declare function __VLS_template(): {
|
|
23
32
|
attrs: Partial<{}>;
|