@momoi-labs/kiso 0.4.0 → 0.4.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 CHANGED
@@ -61,3 +61,12 @@ Code, config, and templates: **MIT**. Brand assets (name, logo, type):
61
61
  **CC BY 4.0** — brand usage rules live in [`kiso/docs/brand.md`](kiso/docs/brand.md).
62
62
 
63
63
  © 2026 Momoi Labs — [momoi-labs.dev](https://momoi-labs.dev)
64
+
65
+ ## React components and releases
66
+
67
+ [`@momoi-labs/kiso-react`](packages/kiso-react/README.md) provides React components
68
+ using Kiso tokens and CSS. Run `npm ci` and `npm run prototype` to open the
69
+ Self Host simulation and the full component gallery.
70
+
71
+ See [Publishing Kiso](docs/publishing.md) for the first npm publication, trusted
72
+ publisher setup, release PRs, and version tags.
@@ -160,9 +160,9 @@ Map Kiso variants onto shadcn *by intent*, not by name:
160
160
 
161
161
  | Kiso variant | shadcn `variant` |
162
162
  | --- | --- |
163
- | `primary` | `outline`, restyled: `--color-primary` text and border, `--type-weight-semibold`. Do not use shadcn's filled `default` — that needs an on-primary text role Kiso does not have. |
163
+ | `primary` | `default`, restyled: `--color-primary` fill, `--color-primary-foreground` label. Do not restyle shadcn's `outline` into an accent-text primary — that treatment reads as a secondary control. |
164
164
  | `default` | `outline` with `--color-foreground` / `--color-border` |
165
- | `destructive` | `outline` restyled with `--color-danger` text and border, not filled `destructive` |
165
+ | `destructive` | `destructive`, restyled: `--color-danger` fill, `--color-danger-foreground` label |
166
166
  | `ghost` | `ghost` |
167
167
 
168
168
  Do **not** use shadcn `variant="link"`. That style is [Link](link.md).
@@ -145,7 +145,7 @@ No dedicated Radix or shadcn `IconButton` primitive. Implement as shadcn
145
145
  | IconButton `sm` | `size="icon-sm"` (or `icon-xs` only if it still uses `--spacing-xs` padding) |
146
146
  | IconButton `md` | `size="icon"` |
147
147
  | IconButton `lg` | `size="icon-lg"` |
148
- | variants | Same Button mapping as [Button](button.md) (Kiso `primary` and `default` both start from shadcn `outline`, restyled) |
148
+ | variants | Same Button mapping as [Button](button.md) (Kiso `primary` is a fill, `default` starts from shadcn `outline`) |
149
149
 
150
150
  Always pass `aria-label`. Do not rely on the icon's title or a Tooltip
151
151
  alone.
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@momoi-labs/kiso",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Kiso design-system contracts and generated design tokens",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+https://github.com/momoi-labs/blueprint.git"
8
+ "url": "git+https://github.com/momoi-labs/blueprint.git",
9
+ "directory": "packages/kiso"
9
10
  },
10
11
  "type": "module",
11
12
  "files": [
@@ -22,23 +23,11 @@
22
23
  "./contracts/*": "./kiso/*"
23
24
  },
24
25
  "scripts": {
25
- "build": "style-dictionary build --config style-dictionary.config.mjs",
26
- "check": "npm run build && npm run check:generated && npm run check:tokens",
27
- "check:generated": "git diff --exit-code -- tokens/build/",
28
- "check:tokens": "node scripts/validate-dtcg.mjs && node scripts/check-contrast.mjs tokens/tokens.json && node scripts/check-component-token-refs.mjs",
29
- "changeset": "changeset",
30
- "release": "changeset publish"
26
+ "build": "node ../../scripts/build-kiso-package.mjs",
27
+ "prepack": "npm run build"
31
28
  },
32
29
  "publishConfig": {
33
30
  "access": "public",
34
31
  "provenance": true
35
- },
36
- "devDependencies": {
37
- "@changesets/cli": "^2.29.7",
38
- "ajv": "^8.17.1",
39
- "style-dictionary": "^5.0.0"
40
- },
41
- "engines": {
42
- "node": ">=24"
43
32
  }
44
33
  }