@evixcard/evx-ui-kit 1.0.0 → 1.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/components/EvAlert/EvAlert.vue.d.ts +9 -2
- package/dist/components/EvBadge/EvBadge.spec.d.ts +1 -0
- package/dist/components/EvBadge/EvBadge.vue.d.ts +24 -0
- package/dist/components/EvBadge/index.d.ts +2 -0
- package/dist/components/EvBadge/variants.d.ts +5 -0
- package/dist/components/EvBrandBackdrop/EvBrandBackdrop.spec.d.ts +1 -0
- package/dist/components/EvBrandBackdrop/EvBrandBackdrop.vue.d.ts +27 -0
- package/dist/components/EvBrandBackdrop/index.d.ts +2 -0
- package/dist/components/EvCategoryLabel/EvCategoryLabel.spec.d.ts +1 -0
- package/dist/components/EvCategoryLabel/EvCategoryLabel.vue.d.ts +35 -0
- package/dist/components/EvCategoryLabel/index.d.ts +2 -0
- package/dist/components/EvCopyField/EvCopyField.spec.d.ts +1 -0
- package/dist/components/EvCopyField/EvCopyField.vue.d.ts +5 -0
- package/dist/components/EvCopyField/icons.d.ts +32 -0
- package/dist/components/EvCopyField/index.d.ts +2 -0
- package/dist/components/EvCopyField/types.d.ts +10 -0
- package/dist/components/EvCurrencySelect/EvCurrencySelect.spec.d.ts +1 -0
- package/dist/components/EvCurrencySelect/EvCurrencySelect.vue.d.ts +17 -0
- package/dist/components/EvCurrencySelect/flags.d.ts +14 -0
- package/dist/components/EvCurrencySelect/index.d.ts +2 -0
- package/dist/components/EvDataTable/EvDataTable.vue.d.ts +1 -1
- package/dist/components/EvDropdown/EvDropdown.spec.d.ts +1 -0
- package/dist/components/EvDropdown/EvDropdown.vue.d.ts +24 -0
- package/dist/components/EvDropdown/index.d.ts +2 -0
- package/dist/components/EvDropdown/types.d.ts +4 -0
- package/dist/components/EvFilterChip/EvFilterChip.spec.d.ts +1 -0
- package/dist/components/EvFilterChip/EvFilterChip.vue.d.ts +41 -0
- package/dist/components/EvFilterChip/index.d.ts +1 -0
- package/dist/components/EvIconButton/EvIconButton.spec.d.ts +1 -0
- package/dist/components/EvIconButton/EvIconButton.vue.d.ts +37 -0
- package/dist/components/EvIconButton/index.d.ts +2 -0
- package/dist/components/EvInput/types.d.ts +1 -1
- package/dist/components/EvInsightBar/EvInsightBar.spec.d.ts +1 -0
- package/dist/components/EvInsightBar/EvInsightBar.vue.d.ts +10 -0
- package/dist/components/EvInsightBar/index.d.ts +1 -0
- package/dist/components/EvPagination/EvPagination.spec.d.ts +1 -0
- package/dist/components/EvPagination/EvPagination.vue.d.ts +18 -0
- package/dist/components/EvPagination/index.d.ts +2 -0
- package/dist/components/EvPeriodSelector/EvPeriodSelector.spec.d.ts +1 -0
- package/dist/components/EvPeriodSelector/EvPeriodSelector.vue.d.ts +28 -0
- package/dist/components/EvPeriodSelector/index.d.ts +2 -0
- package/dist/components/EvPeriodSelector/types.d.ts +4 -0
- package/dist/components/EvProgressBar/EvProgressBar.spec.d.ts +1 -0
- package/dist/components/EvProgressBar/EvProgressBar.vue.d.ts +13 -0
- package/dist/components/EvProgressBar/index.d.ts +1 -0
- package/dist/components/EvSegmentedControl/EvSegmentedControl.spec.d.ts +1 -0
- package/dist/components/EvSegmentedControl/EvSegmentedControl.vue.d.ts +18 -0
- package/dist/components/EvSegmentedControl/index.d.ts +2 -0
- package/dist/components/EvSegmentedControl/types.d.ts +6 -0
- package/dist/components/EvSidebar/EvSidebar.spec.d.ts +1 -0
- package/dist/components/EvSidebar/EvSidebar.vue.d.ts +46 -0
- package/dist/components/EvSidebar/EvSidebarItem.vue.d.ts +15 -0
- package/dist/components/EvSidebar/EvSidebarSection.vue.d.ts +21 -0
- package/dist/components/EvSidebar/index.d.ts +4 -0
- package/dist/components/EvSidebar/types.d.ts +8 -0
- package/dist/components/EvStatCard/EvStatCard.spec.d.ts +1 -0
- package/dist/components/EvStatCard/EvStatCard.vue.d.ts +14 -0
- package/dist/components/EvStatCard/index.d.ts +2 -0
- package/dist/components/EvStepper/EvStepper.spec.d.ts +1 -0
- package/dist/components/EvStepper/EvStepper.vue.d.ts +13 -0
- package/dist/components/EvStepper/index.d.ts +2 -0
- package/dist/components/EvTabs/EvTabs.spec.d.ts +1 -0
- package/dist/components/EvTabs/EvTabs.vue.d.ts +6 -2
- package/dist/components/EvTagInput/EvTagInput.spec.d.ts +1 -0
- package/dist/components/EvTagInput/EvTagInput.vue.d.ts +19 -0
- package/dist/components/EvTagInput/index.d.ts +1 -0
- package/dist/components/EvToast/EvToast.spec.d.ts +1 -0
- package/dist/components/EvToast/EvToast.vue.d.ts +31 -0
- package/dist/components/EvToast/EvToastContainer.vue.d.ts +2 -0
- package/dist/components/EvToast/index.d.ts +7 -0
- package/dist/components/EvToast/types.d.ts +16 -0
- package/dist/components/EvToast/useToast.d.ts +17 -0
- package/dist/evx-ui-kit.cjs.js +6 -6
- 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 +9156 -7441
- package/dist/evx-ui-kit.es.js.map +1 -1
- package/dist/index.d.ts +18 -0
- package/dist/theme.css +16 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface EvStatCardTrend {
|
|
2
|
+
value: number | string;
|
|
3
|
+
direction: 'up' | 'down';
|
|
4
|
+
}
|
|
5
|
+
export interface EvStatCardProps {
|
|
6
|
+
label: string;
|
|
7
|
+
value: string | number;
|
|
8
|
+
trend?: EvStatCardTrend;
|
|
9
|
+
icon?: unknown;
|
|
10
|
+
iconBg?: string;
|
|
11
|
+
class?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('vue').DefineComponent<EvStatCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvStatCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface EvStepperStep {
|
|
2
|
+
label: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EvStepperProps {
|
|
6
|
+
steps: EvStepperStep[];
|
|
7
|
+
current?: number;
|
|
8
|
+
class?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<EvStepperProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvStepperProps> & Readonly<{}>, {
|
|
11
|
+
current: number;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLOListElement>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -5,19 +5,23 @@ export interface TabItem {
|
|
|
5
5
|
export interface EvTabsProps {
|
|
6
6
|
tabs: TabItem[];
|
|
7
7
|
size?: 'sm' | 'md';
|
|
8
|
+
variant?: 'pill' | 'underline';
|
|
8
9
|
}
|
|
9
10
|
declare function __VLS_template(): {
|
|
10
11
|
attrs: Partial<{}>;
|
|
11
12
|
slots: Partial<Record<`tab-${number}`, (_: {
|
|
12
13
|
tab: TabItem;
|
|
14
|
+
}) => any>> & Partial<Record<`tab-${number}`, (_: {
|
|
15
|
+
tab: TabItem;
|
|
13
16
|
}) => any>>;
|
|
14
17
|
refs: {};
|
|
15
|
-
rootEl:
|
|
18
|
+
rootEl: any;
|
|
16
19
|
};
|
|
17
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
21
|
declare const __VLS_component: import('vue').DefineComponent<EvTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvTabsProps> & Readonly<{}>, {
|
|
19
22
|
size: "sm" | "md";
|
|
20
|
-
|
|
23
|
+
variant: "pill" | "underline";
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
26
|
export default _default;
|
|
23
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
suggestions?: string[];
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
class?: string;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = {
|
|
7
|
+
modelValue?: string[];
|
|
8
|
+
} & __VLS_Props;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string[]) => any;
|
|
11
|
+
} & {
|
|
12
|
+
"update:modelValue": (value: string[]) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
placeholder: string;
|
|
17
|
+
suggestions: string[];
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvTagInput } from './EvTagInput.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EvToastVariant } from './types';
|
|
2
|
+
export interface EvToastProps {
|
|
3
|
+
variant?: EvToastVariant;
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
class?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
icon?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<EvToastProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
|
+
dismiss: () => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<EvToastProps> & Readonly<{
|
|
21
|
+
onDismiss?: (() => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
variant: EvToastVariant;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default } from './EvToast.vue';
|
|
2
|
+
export { default as EvToast } from './EvToast.vue';
|
|
3
|
+
export type { EvToastProps } from './EvToast.vue';
|
|
4
|
+
export { default as EvToastContainer } from './EvToastContainer.vue';
|
|
5
|
+
export { useToast } from './useToast';
|
|
6
|
+
export type { UseToastReturn } from './useToast';
|
|
7
|
+
export type { EvToastVariant, EvToastOptions, EvToastItem } from './types';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type EvToastVariant = 'info' | 'success' | 'warning' | 'error';
|
|
2
|
+
export interface EvToastOptions {
|
|
3
|
+
/** Optional bold title line. */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** Optional secondary description line. */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Visual variant — drives the leading icon + its color. Default `info`. */
|
|
8
|
+
variant?: EvToastVariant;
|
|
9
|
+
/** Auto-dismiss delay in ms. `0` (or negative) disables auto-dismiss. Default `4000`. */
|
|
10
|
+
duration?: number;
|
|
11
|
+
}
|
|
12
|
+
export interface EvToastItem extends Required<Pick<EvToastOptions, 'variant' | 'duration'>> {
|
|
13
|
+
id: number;
|
|
14
|
+
title?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DeepReadonly, Ref } from 'vue';
|
|
2
|
+
import { EvToastItem, EvToastOptions } from './types';
|
|
3
|
+
export interface UseToastReturn {
|
|
4
|
+
/** Reactive, read-only list of currently visible toasts. */
|
|
5
|
+
items: DeepReadonly<Ref<EvToastItem[]>>;
|
|
6
|
+
/** Push a toast; returns its id. */
|
|
7
|
+
push: (toast?: EvToastOptions) => number;
|
|
8
|
+
/** Dismiss a toast by id. */
|
|
9
|
+
dismiss: (id: number) => void;
|
|
10
|
+
/** Dismiss every toast. */
|
|
11
|
+
clear: () => void;
|
|
12
|
+
showInfo: (titleOrOptions?: string | EvToastOptions, description?: string, options?: EvToastOptions) => number;
|
|
13
|
+
showSuccess: (titleOrOptions?: string | EvToastOptions, description?: string, options?: EvToastOptions) => number;
|
|
14
|
+
showWarning: (titleOrOptions?: string | EvToastOptions, description?: string, options?: EvToastOptions) => number;
|
|
15
|
+
showError: (titleOrOptions?: string | EvToastOptions, description?: string, options?: EvToastOptions) => number;
|
|
16
|
+
}
|
|
17
|
+
export declare function useToast(): UseToastReturn;
|