@kimen/vue 0.3.0 → 0.5.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/README.md +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,13 +12,19 @@ pnpm add @kimen/vue @kimen/tokens
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
`@kimen/vue` depends on `@kimen/elements` at its own version; install
|
|
15
|
-
`@kimen/tokens` at that same version.
|
|
15
|
+
`@kimen/tokens` at that same version. Load the token core once and one token sheet for every `ki-*` tag you
|
|
16
|
+
render, named like the element (`@kimen/tokens/css/ki-button` for
|
|
17
|
+
`KiButton`), or the full `@kimen/tokens/css` in place of both when the app
|
|
18
|
+
uses most of the catalog.
|
|
16
19
|
|
|
17
20
|
```vue
|
|
18
21
|
<script setup lang="ts">
|
|
19
22
|
import { ref } from 'vue';
|
|
20
23
|
import { KiButton, KiInput, KiSwitch } from '@kimen/vue';
|
|
21
|
-
import '@kimen/tokens/css';
|
|
24
|
+
import '@kimen/tokens/css/core';
|
|
25
|
+
import '@kimen/tokens/css/ki-button';
|
|
26
|
+
import '@kimen/tokens/css/ki-input';
|
|
27
|
+
import '@kimen/tokens/css/ki-switch';
|
|
22
28
|
import '@kimen/tokens/css/base';
|
|
23
29
|
|
|
24
30
|
const name = ref('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimen/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Generated Vue 3 bindings for the Kimen ki-* web components (spec 034): typed props, native event bindings and v-model on the form components over their re-dispatched native events, tree-shakable per-component imports. Client-side rendering; generated from the same source of truth as every other Kimen artifact and never hand-edited.",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"test-browser-wrapper": "vitest run --project vue-wrapper-browser"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@kimen/elements": "0.
|
|
36
|
+
"@kimen/elements": "0.5.0",
|
|
37
37
|
"@stencil/vue-output-target": "0.15.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|