@evixcard/evx-ui-kit 0.1.21 → 1.0.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.spec.d.ts +1 -0
- package/dist/components/EvAlert/EvAlert.vue.d.ts +27 -0
- package/dist/components/EvAlert/index.d.ts +2 -0
- package/dist/components/EvAppBackground/EvAppBackground.vue.d.ts +25 -0
- package/dist/components/EvAppBackground/index.d.ts +2 -0
- package/dist/components/EvButton/EvButton.spec.d.ts +1 -0
- package/dist/components/EvButton/EvButton.vue.d.ts +7 -3
- package/dist/components/EvButton/tokens.spec.d.ts +1 -0
- package/dist/components/EvButton/variants.d.ts +4 -0
- package/dist/components/EvConfirmDialog/EvConfirmDialog.vue.d.ts +54 -0
- package/dist/components/EvConfirmDialog/index.d.ts +2 -0
- package/dist/components/EvCookieBanner/EvCookieBanner.vue.d.ts +35 -0
- package/dist/components/EvCookieBanner/index.d.ts +2 -0
- package/dist/components/EvDataTable/EvDataTable.spec.d.ts +1 -0
- package/dist/components/EvDataTable/EvDataTable.vue.d.ts +24 -0
- package/dist/components/EvDataTable/index.d.ts +2 -0
- package/dist/components/EvDataTable/types.d.ts +17 -0
- package/dist/components/EvGlassCard/EvGlassCard.vue.d.ts +28 -0
- package/dist/components/EvGlassCard/index.d.ts +2 -0
- package/dist/components/EvHowToStep/EvHowToStep.vue.d.ts +22 -0
- package/dist/components/EvHowToStep/index.d.ts +2 -0
- package/dist/components/EvModal/EvModal.spec.d.ts +1 -0
- package/dist/components/EvModal/EvModal.vue.d.ts +38 -0
- package/dist/components/EvModal/index.d.ts +3 -0
- package/dist/components/EvModal/modalStack.d.ts +9 -0
- package/dist/components/EvPopup/EvPopup.vue.d.ts +22 -1
- package/dist/components/EvPopup/index.d.ts +1 -1
- package/dist/components/EvSelect/EvSelect.vue.d.ts +32 -0
- package/dist/components/EvSelect/index.d.ts +2 -0
- package/dist/components/EvSelect/types.d.ts +6 -0
- package/dist/components/EvSpinner/EvSpinner.vue.d.ts +36 -0
- package/dist/components/EvSpinner/index.d.ts +2 -0
- package/dist/components/charts/ChartTooltip.vue.d.ts +16 -0
- package/dist/components/charts/EvxAreaChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxAreaChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxBarChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxBarChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxComposedChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxComposedChart.vue.d.ts +18 -0
- package/dist/components/charts/EvxLineChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxLineChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxPieChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxPieChart.vue.d.ts +17 -0
- package/dist/components/charts/EvxRadarChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxRadarChart.vue.d.ts +16 -0
- package/dist/components/charts/EvxRadialChart.spec.d.ts +1 -0
- package/dist/components/charts/EvxRadialChart.vue.d.ts +16 -0
- package/dist/components/charts/index.d.ts +8 -0
- package/dist/components/charts/useCartesianFrame.d.ts +38 -0
- package/dist/components/charts/useChartTheme.d.ts +22 -0
- package/dist/evx-ui-kit.cjs.js +41 -13
- 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 +10365 -2083
- package/dist/evx-ui-kit.es.js.map +1 -1
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +11 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/theme.css +337 -0
- package/package.json +18 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxRadarChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
nameKey?: string;
|
|
5
|
+
valueKeys?: string[];
|
|
6
|
+
seriesLabels?: string[];
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxRadarChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxRadarChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
nameKey: string;
|
|
12
|
+
valueKeys: string[];
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
wrapperRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChartRow } from './useCartesianFrame.ts';
|
|
2
|
+
export interface EvxRadialChartProps {
|
|
3
|
+
data: ChartRow[];
|
|
4
|
+
nameKey?: string;
|
|
5
|
+
valueKey?: string;
|
|
6
|
+
max?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import('vue').DefineComponent<EvxRadialChartProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvxRadialChartProps> & Readonly<{}>, {
|
|
10
|
+
height: number;
|
|
11
|
+
nameKey: string;
|
|
12
|
+
valueKey: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
wrapperRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as EvxAreaChart, type EvxAreaChartProps } from './EvxAreaChart.vue';
|
|
2
|
+
export { default as EvxBarChart, type EvxBarChartProps } from './EvxBarChart.vue';
|
|
3
|
+
export { default as EvxLineChart, type EvxLineChartProps } from './EvxLineChart.vue';
|
|
4
|
+
export { default as EvxPieChart, type EvxPieChartProps } from './EvxPieChart.vue';
|
|
5
|
+
export { default as EvxRadarChart, type EvxRadarChartProps } from './EvxRadarChart.vue';
|
|
6
|
+
export { default as EvxRadialChart, type EvxRadialChartProps } from './EvxRadialChart.vue';
|
|
7
|
+
export { default as EvxComposedChart, type EvxComposedChartProps } from './EvxComposedChart.vue';
|
|
8
|
+
export type { ChartRow } from './useCartesianFrame.ts';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export type ChartRow = Record<string, number | string>;
|
|
3
|
+
interface FrameOptions {
|
|
4
|
+
wrapperRef: Ref<HTMLElement | null>;
|
|
5
|
+
data: () => ChartRow[];
|
|
6
|
+
xKey: () => string;
|
|
7
|
+
yKeys: () => string[];
|
|
8
|
+
height: () => number;
|
|
9
|
+
mode?: 'point' | 'band';
|
|
10
|
+
bandPadding?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const CHART_MARGIN: {
|
|
13
|
+
top: number;
|
|
14
|
+
right: number;
|
|
15
|
+
bottom: number;
|
|
16
|
+
left: number;
|
|
17
|
+
};
|
|
18
|
+
export declare function useCartesianFrame(opts: FrameOptions): {
|
|
19
|
+
width: Ref<number, number>;
|
|
20
|
+
margin: {
|
|
21
|
+
top: number;
|
|
22
|
+
right: number;
|
|
23
|
+
bottom: number;
|
|
24
|
+
left: number;
|
|
25
|
+
};
|
|
26
|
+
innerW: import('vue').ComputedRef<number>;
|
|
27
|
+
innerH: import('vue').ComputedRef<number>;
|
|
28
|
+
categories: import('vue').ComputedRef<string[]>;
|
|
29
|
+
xPoint: import('vue').ComputedRef<import('d3-scale').ScalePoint<string>>;
|
|
30
|
+
xBand: import('vue').ComputedRef<import('d3-scale').ScaleBand<string>>;
|
|
31
|
+
y: import('vue').ComputedRef<import('d3-scale').ScaleLinear<number, number, never>>;
|
|
32
|
+
yTicks: import('vue').ComputedRef<number[]>;
|
|
33
|
+
maxY: import('vue').ComputedRef<number>;
|
|
34
|
+
hoverIndex: Ref<number | null, number | null>;
|
|
35
|
+
onMove: (e: MouseEvent) => void;
|
|
36
|
+
onLeave: () => void;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface ChartTooltipStyle {
|
|
2
|
+
border: string;
|
|
3
|
+
radius: number;
|
|
4
|
+
shadow: string;
|
|
5
|
+
background: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function useChartTheme(): {
|
|
8
|
+
colors: import('vue').Ref<string[], string[]>;
|
|
9
|
+
axis: import('vue').Ref<string, string>;
|
|
10
|
+
grid: import('vue').Ref<string, string>;
|
|
11
|
+
tooltip: import('vue').Ref<{
|
|
12
|
+
border: string;
|
|
13
|
+
radius: number;
|
|
14
|
+
shadow: string;
|
|
15
|
+
background: string;
|
|
16
|
+
}, ChartTooltipStyle | {
|
|
17
|
+
border: string;
|
|
18
|
+
radius: number;
|
|
19
|
+
shadow: string;
|
|
20
|
+
background: string;
|
|
21
|
+
}>;
|
|
22
|
+
};
|