@codemonster-ru/vueforge-core 1.3.0 → 1.3.1
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/README.md +18 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,13 +8,14 @@ Stable foundation layer for the VueForge design system.
|
|
|
8
8
|
|
|
9
9
|
## Current scope
|
|
10
10
|
|
|
11
|
-
Version `1.
|
|
11
|
+
Version `1.3.0` focuses on:
|
|
12
12
|
|
|
13
13
|
- Vue 3 library build with Vite
|
|
14
14
|
- TypeScript declarations
|
|
15
15
|
- Vitest + Vue Test Utils
|
|
16
16
|
- Theme provider and `useTheme`
|
|
17
17
|
- CSS design tokens and theme variables
|
|
18
|
+
- Built-in default theme preset powered by the shared `@codemonster-ru/vueforge-theme` engine
|
|
18
19
|
|
|
19
20
|
## Installation
|
|
20
21
|
|
|
@@ -47,6 +48,22 @@ app.use(VueForge, {
|
|
|
47
48
|
|
|
48
49
|
For the full theme runtime and preset API, see [Theme API](./docs/theme-api.md).
|
|
49
50
|
|
|
51
|
+
## Theme Architecture
|
|
52
|
+
|
|
53
|
+
VueForge now has two theme layers:
|
|
54
|
+
|
|
55
|
+
- `@codemonster-ru/vueforge-theme`
|
|
56
|
+
- neutral theme engine
|
|
57
|
+
- token and preset types
|
|
58
|
+
- preset resolution and CSS variable serialization
|
|
59
|
+
- mode helpers and shared motion tokens
|
|
60
|
+
- `@codemonster-ru/vueforge-core`
|
|
61
|
+
- built-in `defaultThemePreset`
|
|
62
|
+
- Vue plugin and `VfThemeProvider`
|
|
63
|
+
- component library and package CSS
|
|
64
|
+
|
|
65
|
+
This means `vueforge-core` is still the easiest way to consume the default VueForge design language, while higher-level packages can share the same engine without depending on `core` runtime helpers.
|
|
66
|
+
|
|
50
67
|
## Foundation Usage
|
|
51
68
|
|
|
52
69
|
Use the full package when you need VueForge components, styles, and theme runtime together.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemonster-ru/vueforge-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Foundation layer for the VueForge design system.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@codemonster-ru/floater.js": "^1.0.8",
|
|
100
|
-
"@codemonster-ru/vueforge-theme": "^1.
|
|
100
|
+
"@codemonster-ru/vueforge-theme": "^1.1.0",
|
|
101
101
|
"@codemonster-ru/vueiconify": "^1.0.1"
|
|
102
102
|
}
|
|
103
103
|
}
|