@kiva/kv-components 8.10.0 → 8.11.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.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -58,6 +58,12 @@ cd @kiva/kv-components
58
58
  npm run storybook
59
59
  ```
60
60
 
61
+ ### About `@kiva/kv-tokens`
62
+
63
+ kv-components imports design tokens and the Tailwind preset from the sibling [`@kiva/kv-tokens`](../kv-tokens/) workspace, which ships pre-built artifacts under `dist/`. That directory is gitignored, but kv-tokens' `prepare` lifecycle script regenerates it during the root `npm install` — so Storybook starts without a separate build step.
64
+
65
+ If you edit token sources under [`../kv-tokens/tokens/`](../kv-tokens/tokens/), rerun `npm run build` in that package to regenerate `dist/`; Storybook will pick up the change on reload.
66
+
61
67
  ### Writing Stories
62
68
 
63
69
  - Write stories in the [CSF format](https://storybook.js.org/docs/vue/writing-stories/introduction)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "8.10.0",
3
+ "version": "8.11.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -34,7 +34,7 @@
34
34
  "@babel/preset-env": "^7.24.8",
35
35
  "@babel/preset-react": "^7.24.7",
36
36
  "@babel/preset-typescript": "^7.24.7",
37
- "@kiva/kv-tokens": "^3.7.6",
37
+ "@kiva/kv-tokens": "^4.0.0",
38
38
  "@kiva/vite-plugin-vue-lib-css": "^2.0.0",
39
39
  "@laynezh/vite-plugin-lib-assets": "^0.6.1",
40
40
  "@mdi/js": "^7.4.47",
@@ -101,7 +101,7 @@
101
101
  "lint": "eslint --ext .ts,.vue ./",
102
102
  "test": "npm run lint && jest",
103
103
  "prebuild": "node build/copyFlags.js",
104
- "build": "vite build",
104
+ "build": "rimraf dist && vite build",
105
105
  "postbuild": "mkdir -p ../../dist/kvui && mv -v dist/kvui/* ../../dist/kvui/"
106
106
  },
107
107
  "peerDependencies": {
@@ -125,5 +125,5 @@
125
125
  "embla-carousel-fade",
126
126
  "popper.js"
127
127
  ],
128
- "gitHead": "25f78f14c54f336e18ea171c603bd02686785974"
128
+ "gitHead": "adc213db33b85ed8e36aff18b14bff6db7093fdd"
129
129
  }