@codemonster-ru/vueforge 0.7.0 → 0.9.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.
@@ -0,0 +1,10 @@
1
+ import { ThemeOptions, ThemePreset } from './theme-core';
2
+ export declare const setTheme: (theme: ThemeOptions | ThemePreset) => void;
3
+ export declare const updateTheme: (partial: Partial<ThemeOptions>) => void;
4
+ export declare const getTheme: () => {
5
+ preset: ThemePreset;
6
+ overrides?: ThemePreset;
7
+ selector?: string;
8
+ darkSelector?: string;
9
+ strict?: boolean;
10
+ } | null;
@@ -28,6 +28,18 @@ declare const _default: {
28
28
  disabledOpacity: string;
29
29
  focusRingShadow: string;
30
30
  };
31
+ sizes: {
32
+ sm: {
33
+ fontSize: string;
34
+ paddingY: string;
35
+ paddingX: string;
36
+ };
37
+ lg: {
38
+ fontSize: string;
39
+ paddingY: string;
40
+ paddingX: string;
41
+ };
42
+ };
31
43
  colorScheme: {
32
44
  light: {
33
45
  bgColor: string;
@@ -0,0 +1,29 @@
1
+ declare const _default: {
2
+ width: string;
3
+ maxWidth: string;
4
+ maxHeight: string;
5
+ widthSm: string;
6
+ maxWidthSm: string;
7
+ widthLg: string;
8
+ maxWidthLg: string;
9
+ padding: string;
10
+ borderRadius: string;
11
+ backgroundColor: string;
12
+ textColor: string;
13
+ overlayBackgroundColor: string;
14
+ shadow: string;
15
+ zIndex: string;
16
+ headerGap: string;
17
+ bodyGap: string;
18
+ footerGap: string;
19
+ titleFontSize: string;
20
+ titleLineHeight: string;
21
+ titleFontWeight: string;
22
+ closeSize: string;
23
+ closeRadius: string;
24
+ closeOffset: string;
25
+ closeColor: string;
26
+ closeFontSize: string;
27
+ closeHoverBackgroundColor: string;
28
+ };
29
+ export default _default;
@@ -30,6 +30,18 @@ declare const _default: {
30
30
  disabledOpacity: string;
31
31
  focusRingShadow: string;
32
32
  };
33
+ sizes: {
34
+ sm: {
35
+ fontSize: string;
36
+ paddingY: string;
37
+ paddingX: string;
38
+ };
39
+ lg: {
40
+ fontSize: string;
41
+ paddingY: string;
42
+ paddingX: string;
43
+ };
44
+ };
33
45
  colorScheme: {
34
46
  light: {
35
47
  bgColor: string;
@@ -247,6 +259,34 @@ declare const _default: {
247
259
  marginLeft: string;
248
260
  };
249
261
  };
262
+ modal: {
263
+ width: string;
264
+ maxWidth: string;
265
+ maxHeight: string;
266
+ widthSm: string;
267
+ maxWidthSm: string;
268
+ widthLg: string;
269
+ maxWidthLg: string;
270
+ padding: string;
271
+ borderRadius: string;
272
+ backgroundColor: string;
273
+ textColor: string;
274
+ overlayBackgroundColor: string;
275
+ shadow: string;
276
+ zIndex: string;
277
+ headerGap: string;
278
+ bodyGap: string;
279
+ footerGap: string;
280
+ titleFontSize: string;
281
+ titleLineHeight: string;
282
+ titleFontWeight: string;
283
+ closeSize: string;
284
+ closeRadius: string;
285
+ closeOffset: string;
286
+ closeColor: string;
287
+ closeFontSize: string;
288
+ closeHoverBackgroundColor: string;
289
+ };
250
290
  popover: {
251
291
  backgroundColor: string;
252
292
  };
@@ -340,6 +380,18 @@ declare const _default: {
340
380
  disabledOpacity: string;
341
381
  focusRingShadow: string;
342
382
  };
383
+ sizes: {
384
+ sm: {
385
+ fontSize: string;
386
+ paddingY: string;
387
+ paddingX: string;
388
+ };
389
+ lg: {
390
+ fontSize: string;
391
+ paddingY: string;
392
+ paddingX: string;
393
+ };
394
+ };
343
395
  colorScheme: {
344
396
  light: {
345
397
  bgColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",
@@ -47,7 +47,8 @@
47
47
  "dev": "vite dev --force --mode development",
48
48
  "build": "vite build --mode production",
49
49
  "lint": "eslint . --ext .ts,.vue",
50
- "typecheck": "vue-tsc --noEmit"
50
+ "typecheck": "vue-tsc --noEmit",
51
+ "test": "vitest run"
51
52
  },
52
53
  "peerDependencies": {
53
54
  "@codemonster-ru/vueiconify": "^0.7.0",
@@ -56,19 +57,22 @@
56
57
  },
57
58
  "devDependencies": {
58
59
  "@types/node": "^20.14.10",
59
- "@typescript-eslint/eslint-plugin": "^7.16.0",
60
+ "@typescript-eslint/eslint-plugin": "^8.54.0",
60
61
  "@vitejs/plugin-vue": "^5.0.5",
61
- "@vue/eslint-config-typescript": "^13.0.0",
62
- "eslint": "^8.57.0",
62
+ "@vue/eslint-config-typescript": "^14.6.0",
63
+ "@vue/test-utils": "^2.4.6",
64
+ "eslint": "^9.39.2",
63
65
  "eslint-config-prettier": "^9.1.0",
64
66
  "eslint-plugin-prettier": "^5.1.3",
65
67
  "eslint-plugin-vue": "^9.27.0",
68
+ "jsdom": "^24.0.0",
66
69
  "pinia": "^2.2.4",
67
70
  "prettier": "^3.3.2",
68
71
  "sass": "^1.77.8",
69
72
  "typescript": "^5.5.3",
70
73
  "vite": "^6.0.11",
71
74
  "vite-plugin-dts": "^4.5.0",
75
+ "vitest": "^4.0.18",
72
76
  "vue": "^3.4.31",
73
77
  "vue-tsc": "^2.0.21"
74
78
  },