@evixcard/evx-ui-kit 0.2.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.spec.d.ts +1 -0
- 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/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/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.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/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/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/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/EvPopup/EvPopup.vue.d.ts +1 -1
- 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/EvSpinner/EvSpinner.vue.d.ts +2 -2
- 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/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 +12143 -2696
- package/dist/evx-ui-kit.es.js.map +1 -1
- package/dist/index.d.ts +21 -0
- package/dist/test/setup.d.ts +1 -0
- package/dist/theme.css +352 -0
- package/package.json +16 -3
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,15 @@ export * from './components/EvHeader';
|
|
|
10
10
|
export * from './components/EvAccordion';
|
|
11
11
|
export * from './components/BrandCard';
|
|
12
12
|
export * from './components/EvBackground';
|
|
13
|
+
export * from './components/EvBrandBackdrop';
|
|
14
|
+
export * from './components/EvBadge';
|
|
15
|
+
export * from './components/EvStatCard';
|
|
16
|
+
export * from './components/EvSidebar';
|
|
17
|
+
export * from './components/EvCurrencySelect';
|
|
18
|
+
export * from './components/EvSegmentedControl';
|
|
19
|
+
export * from './components/EvPeriodSelector';
|
|
20
|
+
export * from './components/EvProgressBar';
|
|
21
|
+
export * from './components/EvInsightBar';
|
|
13
22
|
export * from './components/EvFooter';
|
|
14
23
|
export * from './components/BadgeFilters';
|
|
15
24
|
export * from './components/EvList';
|
|
@@ -20,9 +29,21 @@ export * from './components/PageHeader';
|
|
|
20
29
|
export * from './components/EvSpinner';
|
|
21
30
|
export * from './components/EvAlert';
|
|
22
31
|
export * from './components/EvSelect';
|
|
32
|
+
export * from './components/EvDropdown';
|
|
33
|
+
export * from './components/EvPagination';
|
|
34
|
+
export * from './components/EvFilterChip';
|
|
35
|
+
export * from './components/EvTagInput';
|
|
36
|
+
export * from './components/EvIconButton';
|
|
23
37
|
export * from './components/EvConfirmDialog';
|
|
24
38
|
export * from './components/EvGlassCard';
|
|
25
39
|
export * from './components/EvAppBackground';
|
|
26
40
|
export * from './components/EvCookieBanner';
|
|
27
41
|
export * from './components/EvHowToStep';
|
|
42
|
+
export * from './components/EvModal';
|
|
43
|
+
export * from './components/EvDataTable';
|
|
44
|
+
export * from './components/EvToast';
|
|
45
|
+
export * from './components/EvStepper';
|
|
46
|
+
export * from './components/EvCategoryLabel';
|
|
47
|
+
export * from './components/EvCopyField';
|
|
48
|
+
export * from './components/charts';
|
|
28
49
|
export * from './icons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/theme.css
ADDED
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
@custom-variant dark (&:is(.dark *));
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
/* Brand */
|
|
5
|
+
--brand-black: #000000;
|
|
6
|
+
--brand-blue: #6888fb;
|
|
7
|
+
--brand-blue-hover: #4f6ef2;
|
|
8
|
+
--brand-blue-active: #3c55d8;
|
|
9
|
+
--brand-violet: #c447be;
|
|
10
|
+
--brand-violet-hover: #e56be0;
|
|
11
|
+
--brand-violet-active: #92328e;
|
|
12
|
+
--brand-pink: #f7a1f4;
|
|
13
|
+
--brand-yellow: #f6dd85;
|
|
14
|
+
--brand-yellow-hover: #eec95f;
|
|
15
|
+
--brand-green-warm: #b4d94a;
|
|
16
|
+
--brand-green-cold: #36dec1;
|
|
17
|
+
--brand-green-cold-hover: #1fc4aa;
|
|
18
|
+
--brand-green-cold-active: #159a88;
|
|
19
|
+
--brand-red: #ff5a45;
|
|
20
|
+
--brand-red-hover: #e64230;
|
|
21
|
+
--brand-red-active: #b93022;
|
|
22
|
+
--brand-pending: #d8aa35;
|
|
23
|
+
|
|
24
|
+
/* Semantic state colors (each with -bg / -text companions where used) */
|
|
25
|
+
--color-info: #6888fb;
|
|
26
|
+
--color-info-bg: #eef3ff;
|
|
27
|
+
--color-focus: #c447be;
|
|
28
|
+
--color-focus-ring: #fdcbfb;
|
|
29
|
+
--color-warning: #f6dd85;
|
|
30
|
+
--color-warning-bg: #fffbea;
|
|
31
|
+
--color-warning-text: #5b4211;
|
|
32
|
+
--color-pending: #d8aa35;
|
|
33
|
+
--color-pending-bg: #fff4c7;
|
|
34
|
+
--color-pending-text: #5b4211;
|
|
35
|
+
--color-success: #36dec1;
|
|
36
|
+
--color-success-bg: #ecfffa;
|
|
37
|
+
--color-growth: #b4d94a;
|
|
38
|
+
--color-growth-bg: #fafceb;
|
|
39
|
+
--color-error: #ff5a45;
|
|
40
|
+
--color-error-bg: #fff2ef;
|
|
41
|
+
--color-error-text: #7a1e16;
|
|
42
|
+
/* Trend pills (KPI deltas) */
|
|
43
|
+
--color-trend-up: #4f7a14;
|
|
44
|
+
--color-trend-up-bg: #e5f2b5;
|
|
45
|
+
--color-trend-down: #b93022;
|
|
46
|
+
--color-trend-down-bg: #ffe0d9;
|
|
47
|
+
/* Brand backdrop base (behind the gradient image) */
|
|
48
|
+
--color-backdrop: #ededef;
|
|
49
|
+
--color-disabled: #cfcfcf;
|
|
50
|
+
--color-disabled-bg: #f2f2f2;
|
|
51
|
+
--color-disabled-text: #828282;
|
|
52
|
+
--color-border: #e2e2e2;
|
|
53
|
+
--color-surface: #f2f2f2;
|
|
54
|
+
--color-muted: #707070;
|
|
55
|
+
|
|
56
|
+
/* Gray scale */
|
|
57
|
+
--gray-darkest: #5c505c;
|
|
58
|
+
--gray-dark: #a5a5a5;
|
|
59
|
+
--gray-medium: #dbdbdb;
|
|
60
|
+
--gray-light: #e7e7e7;
|
|
61
|
+
--gray-lightest: #f8f8f8;
|
|
62
|
+
--white: #ffffff;
|
|
63
|
+
|
|
64
|
+
/* Surfaces */
|
|
65
|
+
--background: #f2f2f2;
|
|
66
|
+
--foreground: var(--brand-black);
|
|
67
|
+
--card: #ffffff;
|
|
68
|
+
--card-foreground: var(--brand-black);
|
|
69
|
+
--popover: #ffffff;
|
|
70
|
+
--popover-foreground: var(--brand-black);
|
|
71
|
+
|
|
72
|
+
/* shadcn-style semantic mapping.
|
|
73
|
+
* secondary follows the live design component (violet); flip to brand-pink
|
|
74
|
+
* here if the designer confirms the palette doc instead. */
|
|
75
|
+
--primary: var(--brand-black);
|
|
76
|
+
--primary-foreground: #ffffff;
|
|
77
|
+
--accent-blue: var(--brand-blue);
|
|
78
|
+
--secondary: var(--brand-violet);
|
|
79
|
+
--secondary-foreground: #ffffff;
|
|
80
|
+
--muted: var(--gray-lightest);
|
|
81
|
+
--muted-foreground: var(--gray-darkest);
|
|
82
|
+
--accent: var(--brand-yellow);
|
|
83
|
+
--accent-foreground: var(--brand-black);
|
|
84
|
+
--destructive: var(--brand-red);
|
|
85
|
+
--destructive-foreground: #ffffff;
|
|
86
|
+
--success: var(--brand-green-cold);
|
|
87
|
+
--success-foreground: #ffffff;
|
|
88
|
+
--warning: var(--brand-yellow);
|
|
89
|
+
--warning-foreground: var(--brand-black);
|
|
90
|
+
|
|
91
|
+
--border: var(--color-border);
|
|
92
|
+
--input: transparent;
|
|
93
|
+
--input-background: var(--white);
|
|
94
|
+
--input-border: var(--gray-light);
|
|
95
|
+
--switch-background: var(--gray-medium);
|
|
96
|
+
--ring: var(--brand-blue);
|
|
97
|
+
|
|
98
|
+
--font-weight-normal: 400;
|
|
99
|
+
--font-weight-medium: 500;
|
|
100
|
+
--font-size: 16px;
|
|
101
|
+
|
|
102
|
+
/* Charts */
|
|
103
|
+
--chart-1: var(--brand-blue);
|
|
104
|
+
--chart-2: var(--brand-pink);
|
|
105
|
+
--chart-3: var(--brand-yellow);
|
|
106
|
+
--chart-4: var(--brand-violet);
|
|
107
|
+
--chart-5: var(--brand-green-cold);
|
|
108
|
+
|
|
109
|
+
/* Radius */
|
|
110
|
+
--radius: 0.5rem;
|
|
111
|
+
--radius-button: 4px;
|
|
112
|
+
--radius-form-sm: 4px;
|
|
113
|
+
--radius-form-md: 8px;
|
|
114
|
+
--radius-form-lg: 12px;
|
|
115
|
+
--radius-form-xl: 16px;
|
|
116
|
+
|
|
117
|
+
/* Sidebar */
|
|
118
|
+
--sidebar: var(--background);
|
|
119
|
+
--sidebar-foreground: var(--brand-black);
|
|
120
|
+
--sidebar-primary: var(--brand-blue);
|
|
121
|
+
--sidebar-primary-foreground: #ffffff;
|
|
122
|
+
--sidebar-accent: rgba(255, 255, 255, 0.5);
|
|
123
|
+
--sidebar-accent-foreground: var(--gray-darkest);
|
|
124
|
+
--sidebar-border: var(--gray-light);
|
|
125
|
+
--sidebar-ring: var(--brand-blue);
|
|
126
|
+
|
|
127
|
+
/* Brand gradient */
|
|
128
|
+
--brand-gradient: linear-gradient(135deg, #f6dd85 0%, #f7a1f4 46%, #6888fb 100%);
|
|
129
|
+
/* Soft control gradient used by toggles/tabs (white → pink → light blue) */
|
|
130
|
+
--gradient-control: linear-gradient(83.73deg, #ffffff -45.99%, #f4ceff 115.78%, #84c7fe 169.71%);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@theme inline {
|
|
134
|
+
--color-background: var(--background);
|
|
135
|
+
--color-foreground: var(--foreground);
|
|
136
|
+
--color-card: var(--card);
|
|
137
|
+
--color-card-foreground: var(--card-foreground);
|
|
138
|
+
--color-popover: var(--popover);
|
|
139
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
140
|
+
--color-primary: var(--primary);
|
|
141
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
142
|
+
--color-secondary: var(--secondary);
|
|
143
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
144
|
+
--color-accent-blue: var(--accent-blue);
|
|
145
|
+
/* Muted TEXT color per design (#707070). NB: `--muted` (shadcn bg token) is
|
|
146
|
+
gray-lightest (#f8f8f8) — using it for text-muted rendered near-white,
|
|
147
|
+
illegible text. text-muted must be the readable design grey. */
|
|
148
|
+
--color-muted: #707070;
|
|
149
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
150
|
+
--color-accent: var(--accent);
|
|
151
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
152
|
+
--color-destructive: var(--destructive);
|
|
153
|
+
--color-destructive-foreground: var(--destructive-foreground);
|
|
154
|
+
--color-success: var(--success);
|
|
155
|
+
--color-success-foreground: var(--success-foreground);
|
|
156
|
+
--color-warning: var(--warning);
|
|
157
|
+
--color-warning-foreground: var(--warning-foreground);
|
|
158
|
+
--color-info: var(--color-info);
|
|
159
|
+
--color-info-bg: var(--color-info-bg);
|
|
160
|
+
--color-success-bg: var(--color-success-bg);
|
|
161
|
+
--color-warning-bg: var(--color-warning-bg);
|
|
162
|
+
--color-warning-text: var(--color-warning-text);
|
|
163
|
+
--color-error: var(--color-error);
|
|
164
|
+
--color-error-bg: var(--color-error-bg);
|
|
165
|
+
--color-error-text: var(--color-error-text);
|
|
166
|
+
--color-pending: var(--color-pending);
|
|
167
|
+
--color-pending-bg: var(--color-pending-bg);
|
|
168
|
+
--color-pending-text: var(--color-pending-text);
|
|
169
|
+
--color-focus: var(--color-focus);
|
|
170
|
+
--color-focus-ring: var(--color-focus-ring);
|
|
171
|
+
--color-growth: var(--color-growth);
|
|
172
|
+
--color-growth-bg: var(--color-growth-bg);
|
|
173
|
+
--color-trend-up: var(--color-trend-up);
|
|
174
|
+
--color-trend-up-bg: var(--color-trend-up-bg);
|
|
175
|
+
--color-trend-down: var(--color-trend-down);
|
|
176
|
+
--color-trend-down-bg: var(--color-trend-down-bg);
|
|
177
|
+
--color-backdrop: var(--color-backdrop);
|
|
178
|
+
--color-border: var(--border);
|
|
179
|
+
--color-input: var(--input);
|
|
180
|
+
--color-input-background: var(--input-background);
|
|
181
|
+
--color-input-border: var(--input-border);
|
|
182
|
+
--color-switch-background: var(--switch-background);
|
|
183
|
+
--color-ring: var(--ring);
|
|
184
|
+
--color-surface: var(--color-surface);
|
|
185
|
+
--color-muted-strong: var(--color-muted);
|
|
186
|
+
--color-disabled: var(--color-disabled);
|
|
187
|
+
--color-disabled-bg: var(--color-disabled-bg);
|
|
188
|
+
--color-disabled-text: var(--color-disabled-text);
|
|
189
|
+
--color-brand-black: var(--brand-black);
|
|
190
|
+
--color-brand-blue: var(--brand-blue);
|
|
191
|
+
--color-brand-blue-hover: var(--brand-blue-hover);
|
|
192
|
+
--color-brand-blue-active: var(--brand-blue-active);
|
|
193
|
+
--color-brand-violet: var(--brand-violet);
|
|
194
|
+
--color-brand-violet-hover: var(--brand-violet-hover);
|
|
195
|
+
--color-brand-violet-active: var(--brand-violet-active);
|
|
196
|
+
--color-brand-pink: var(--brand-pink);
|
|
197
|
+
--color-brand-yellow: var(--brand-yellow);
|
|
198
|
+
--color-brand-yellow-hover: var(--brand-yellow-hover);
|
|
199
|
+
--color-brand-green-warm: var(--brand-green-warm);
|
|
200
|
+
--color-brand-green-cold: var(--brand-green-cold);
|
|
201
|
+
--color-brand-green-cold-hover: var(--brand-green-cold-hover);
|
|
202
|
+
--color-brand-green-cold-active: var(--brand-green-cold-active);
|
|
203
|
+
--color-brand-red: var(--brand-red);
|
|
204
|
+
--color-brand-red-hover: var(--brand-red-hover);
|
|
205
|
+
--color-brand-red-active: var(--brand-red-active);
|
|
206
|
+
--color-brand-pending: var(--brand-pending);
|
|
207
|
+
--color-gray-darkest: var(--gray-darkest);
|
|
208
|
+
--color-gray-dark: var(--gray-dark);
|
|
209
|
+
--color-gray-medium: var(--gray-medium);
|
|
210
|
+
--color-gray-light: var(--gray-light);
|
|
211
|
+
--color-gray-lightest: var(--gray-lightest);
|
|
212
|
+
--color-white: var(--white);
|
|
213
|
+
--color-chart-1: var(--chart-1);
|
|
214
|
+
--color-chart-2: var(--chart-2);
|
|
215
|
+
--color-chart-3: var(--chart-3);
|
|
216
|
+
--color-chart-4: var(--chart-4);
|
|
217
|
+
--color-chart-5: var(--chart-5);
|
|
218
|
+
--color-sidebar: var(--sidebar);
|
|
219
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
220
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
221
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
222
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
223
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
224
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
225
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
226
|
+
--radius-button: var(--radius-button);
|
|
227
|
+
--radius-sm: var(--radius-form-sm);
|
|
228
|
+
--radius-md: var(--radius-form-md);
|
|
229
|
+
--radius-lg: var(--radius-form-lg);
|
|
230
|
+
--radius-xl: var(--radius-form-xl);
|
|
231
|
+
--font-sans: 'Rooftop', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@layer base {
|
|
235
|
+
html,
|
|
236
|
+
body,
|
|
237
|
+
button,
|
|
238
|
+
input,
|
|
239
|
+
select,
|
|
240
|
+
textarea {
|
|
241
|
+
font-family: var(--font-sans);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
h1 {
|
|
245
|
+
font-size: 48px;
|
|
246
|
+
font-weight: 500;
|
|
247
|
+
line-height: 1.2;
|
|
248
|
+
}
|
|
249
|
+
h2 {
|
|
250
|
+
font-size: 32px;
|
|
251
|
+
font-weight: 500;
|
|
252
|
+
line-height: 1.2;
|
|
253
|
+
}
|
|
254
|
+
h3 {
|
|
255
|
+
font-size: 18px;
|
|
256
|
+
font-weight: 500;
|
|
257
|
+
line-height: 1.2;
|
|
258
|
+
}
|
|
259
|
+
h4 {
|
|
260
|
+
font-size: 16px;
|
|
261
|
+
font-weight: 500;
|
|
262
|
+
line-height: 1.2;
|
|
263
|
+
}
|
|
264
|
+
label,
|
|
265
|
+
button {
|
|
266
|
+
font-size: 14px;
|
|
267
|
+
font-weight: 500;
|
|
268
|
+
line-height: 1.4;
|
|
269
|
+
}
|
|
270
|
+
input,
|
|
271
|
+
p {
|
|
272
|
+
font-size: 14px;
|
|
273
|
+
font-weight: 400;
|
|
274
|
+
line-height: 1.4;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* Display / typography utilities */
|
|
279
|
+
.text-display-72 {
|
|
280
|
+
font-size: 72px;
|
|
281
|
+
font-weight: 500;
|
|
282
|
+
line-height: 1.2;
|
|
283
|
+
letter-spacing: -0.02em;
|
|
284
|
+
}
|
|
285
|
+
.text-display-60 {
|
|
286
|
+
font-size: 60px;
|
|
287
|
+
font-weight: 500;
|
|
288
|
+
line-height: 1.2;
|
|
289
|
+
letter-spacing: -0.02em;
|
|
290
|
+
}
|
|
291
|
+
.text-display-48 {
|
|
292
|
+
font-size: 48px;
|
|
293
|
+
font-weight: 500;
|
|
294
|
+
line-height: 1.2;
|
|
295
|
+
letter-spacing: -0.02em;
|
|
296
|
+
}
|
|
297
|
+
.text-display-40 {
|
|
298
|
+
font-size: 40px;
|
|
299
|
+
font-weight: 500;
|
|
300
|
+
line-height: 1.2;
|
|
301
|
+
letter-spacing: -0.01em;
|
|
302
|
+
}
|
|
303
|
+
.text-h-32 {
|
|
304
|
+
font-size: 32px;
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
line-height: 1.2;
|
|
307
|
+
}
|
|
308
|
+
.text-h-28 {
|
|
309
|
+
font-size: 28px;
|
|
310
|
+
font-weight: 500;
|
|
311
|
+
line-height: 1.2;
|
|
312
|
+
}
|
|
313
|
+
.text-lg-medium {
|
|
314
|
+
font-size: 18px;
|
|
315
|
+
font-weight: 500;
|
|
316
|
+
line-height: 1.2;
|
|
317
|
+
}
|
|
318
|
+
.text-lg-regular {
|
|
319
|
+
font-size: 18px;
|
|
320
|
+
font-weight: 400;
|
|
321
|
+
line-height: 1.2;
|
|
322
|
+
}
|
|
323
|
+
.text-md-medium {
|
|
324
|
+
font-size: 16px;
|
|
325
|
+
font-weight: 500;
|
|
326
|
+
line-height: 1.2;
|
|
327
|
+
}
|
|
328
|
+
.text-md-regular {
|
|
329
|
+
font-size: 16px;
|
|
330
|
+
font-weight: 400;
|
|
331
|
+
line-height: 1.2;
|
|
332
|
+
}
|
|
333
|
+
.text-sm-medium {
|
|
334
|
+
font-size: 14px;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
line-height: 1.4;
|
|
337
|
+
}
|
|
338
|
+
.text-sm-regular {
|
|
339
|
+
font-size: 14px;
|
|
340
|
+
font-weight: 400;
|
|
341
|
+
line-height: 1.4;
|
|
342
|
+
}
|
|
343
|
+
.text-xs-medium {
|
|
344
|
+
font-size: 12px;
|
|
345
|
+
font-weight: 500;
|
|
346
|
+
line-height: 1.4;
|
|
347
|
+
}
|
|
348
|
+
.text-xs-regular {
|
|
349
|
+
font-size: 12px;
|
|
350
|
+
font-weight: 400;
|
|
351
|
+
line-height: 1.4;
|
|
352
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evixcard/evx-ui-kit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
"preview": "vite preview",
|
|
14
14
|
"build-only": "vite build",
|
|
15
15
|
"type-check": "vue-tsc --build",
|
|
16
|
+
"test": "vitest run",
|
|
17
|
+
"test:watch": "vitest",
|
|
16
18
|
"story:dev": "CHOKIDAR_USEPOLLING=true histoire dev",
|
|
17
19
|
"story:build": "CHOKIDAR_USEPOLLING=true histoire build",
|
|
18
20
|
"story:preview": "histoire preview",
|
|
@@ -33,7 +35,9 @@
|
|
|
33
35
|
"types": "./dist/icons/index.d.ts",
|
|
34
36
|
"import": "./dist/icons.es.js",
|
|
35
37
|
"require": "./dist/icons.cjs.js"
|
|
36
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"./theme.css": "./dist/theme.css",
|
|
40
|
+
"./dist/evx-ui-kit.css": "./dist/evx-ui-kit.css"
|
|
37
41
|
},
|
|
38
42
|
"files": [
|
|
39
43
|
"dist"
|
|
@@ -43,6 +47,9 @@
|
|
|
43
47
|
],
|
|
44
48
|
"dependencies": {
|
|
45
49
|
"@headlessui/vue": "^1.7.23",
|
|
50
|
+
"d3-scale": "^4.0.2",
|
|
51
|
+
"d3-shape": "^3.2.0",
|
|
52
|
+
"motion-v": "^2.2.1",
|
|
46
53
|
"tailwind-merge": "^3.4.0",
|
|
47
54
|
"vue": "^3.5.25"
|
|
48
55
|
},
|
|
@@ -52,24 +59,30 @@
|
|
|
52
59
|
"devDependencies": {
|
|
53
60
|
"@histoire/plugin-vue": "1.0.0-alpha.5",
|
|
54
61
|
"@tailwindcss/vite": "^4.1.17",
|
|
55
|
-
"tailwindcss": "^4.1.17",
|
|
56
62
|
"@tsconfig/node24": "^24.0.3",
|
|
63
|
+
"@types/d3-scale": "^4.0.9",
|
|
64
|
+
"@types/d3-shape": "^3.1.8",
|
|
57
65
|
"@types/node": "^24.10.1",
|
|
58
66
|
"@vitejs/plugin-vue": "^6.0.2",
|
|
67
|
+
"@vitest/coverage-v8": "^3",
|
|
59
68
|
"@vitest/eslint-plugin": "^1.5.2",
|
|
60
69
|
"@vue/eslint-config-prettier": "^10.2.0",
|
|
61
70
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
71
|
+
"@vue/test-utils": "^2.4",
|
|
62
72
|
"@vue/tsconfig": "^0.8.1",
|
|
63
73
|
"eslint": "^9.39.1",
|
|
64
74
|
"eslint-plugin-vue": "~10.5.1",
|
|
65
75
|
"histoire": "1.0.0-alpha.5",
|
|
66
76
|
"jiti": "^2.6.1",
|
|
77
|
+
"jsdom": "^25",
|
|
67
78
|
"npm-run-all2": "^8.0.4",
|
|
68
79
|
"prettier": "3.6.2",
|
|
80
|
+
"tailwindcss": "^4.1.17",
|
|
69
81
|
"typescript": "~5.9.0",
|
|
70
82
|
"vite": "^7.2.4",
|
|
71
83
|
"vite-plugin-dts": "^4.3.0",
|
|
72
84
|
"vite-plugin-vue-devtools": "^8.0.5",
|
|
85
|
+
"vitest": "^3",
|
|
73
86
|
"vue-tsc": "^3.1.5"
|
|
74
87
|
},
|
|
75
88
|
"publishConfig": {
|