kaze-design-system 0.10.0 → 0.10.2
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/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,21 @@ CHANGELOG entries and version bumps are generated automatically by `.github/work
|
|
|
16
16
|
### 0.x policy
|
|
17
17
|
|
|
18
18
|
While the major version is 0, a **minor** release may include breaking changes (they are called out in the release notes with a migration note); a **patch** release never does. The public API will be frozen at 1.0.
|
|
19
|
+
## [0.10.2] - 2026-10-29
|
|
20
|
+
|
|
21
|
+
### Other
|
|
22
|
+
|
|
23
|
+
- docs: rewrite the README intro and showcase copy, link npm from the top page (#51)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [0.10.1] - 2026-10-29
|
|
27
|
+
|
|
28
|
+
### Other
|
|
29
|
+
|
|
30
|
+
- chore(deps-dev): bump @testing-library/jest-dom from 6.9.1 to 7.0.1 (#46)
|
|
31
|
+
- chore(deps-dev): bump the dev-dependencies group with 14 updates (#45)
|
|
32
|
+
|
|
33
|
+
|
|
19
34
|
## [0.10.0] - 2026-10-29
|
|
20
35
|
|
|
21
36
|
### Features
|
package/README.md
CHANGED
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/kaze-design-system)
|
|
4
4
|
[](https://github.com/yuki930/kaze-design-system/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
**Kaze
|
|
6
|
+
**Kaze(風)** は、業務アプリやダッシュボードのための React デザインシステムです。白と温かみのあるグレーを基調にした、落ち着いた見た目。数字と日本語を一日中読み続ける画面のために作っています。
|
|
7
7
|
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
8
|
+
- **日本語がきれいに読める**: 本文は Noto Sans JP で、行間は 1.75 とゆったりめ。小さい「っ」や「ー」が行の頭に来ないようにし、行頭の括弧の余白も詰めます。文字詰め(palt)は見出しと大きな数字だけにかけ、本文は読みやすさを優先しています
|
|
9
|
+
- **日本語入力でつまずかない**: 変換を確定する Enter では送信されません。全角の「123」や「ー」のマイナスも数値として受け取り、ひらがなとカタカナのどちらで検索しても見つかります
|
|
10
|
+
- **69 のコンポーネント**: フォーム、テーブル、ダッシュボード、ランディングページまで。折れ線・縦棒・ヒートマップなどのグラフも、外部ライブラリなしの SVG で描きます
|
|
11
|
+
- **だれでも使える**: 文字と背景のコントラストは、どのテーマでも WCAG 2.2 AA を満たします。ダイアログ・メニュー・タブはキーボードだけで操作できます
|
|
12
|
+
- **テーマと密度を切り替えられる**: ライト / ダーク、温かみのあるグレー / 青みのグレー、ふつう / コンパクト。どれも HTML の属性ひとつで切り替わります
|
|
13
|
+
- **素の CSS で動く**: CSS 変数とカスケードレイヤーだけで作っていて、CSS-in-JS は使いません。Tailwind と同じページでも併用できます
|
|
14
|
+
- **軽い**: 実行時の依存パッケージはゼロ。ESM なので、使った分だけがバンドルに入ります。React 18 / 19 と TypeScript に対応しています
|
|
15
|
+
- **AI にも読める**: [`/llms.txt`](https://kaze-design-system.vercel.app/llms.txt) に、全コンポーネントの API を 1 ファイルでまとめています
|
|
14
16
|
|
|
15
17
|
## Links
|
|
16
18
|
|
|
@@ -76,7 +78,7 @@ import "kaze-design-system/css/all";
|
|
|
76
78
|
```
|
|
77
79
|
|
|
78
80
|
`css/all` は tokens / reset / components / utilities を `@layer` 付きでまとめたエントリポイントです。
|
|
79
|
-
|
|
81
|
+
カスケードレイヤーで詳細度を管理しているので、上書きもかんたんです。
|
|
80
82
|
|
|
81
83
|
### 個別読み込み
|
|
82
84
|
|
|
@@ -35,7 +35,7 @@ interface ToastContextValue {
|
|
|
35
35
|
dismiss: (id: string) => void;
|
|
36
36
|
}
|
|
37
37
|
export declare function useToast(): ToastContextValue;
|
|
38
|
-
export declare function ToastProvider({ children, closeLabel, containerLabel, }: ToastProviderProps): import("react
|
|
38
|
+
export declare function ToastProvider({ children, closeLabel, containerLabel, }: ToastProviderProps): import("react").JSX.Element;
|
|
39
39
|
export declare namespace ToastProvider {
|
|
40
40
|
var displayName: string;
|
|
41
41
|
}
|
|
@@ -12,4 +12,4 @@ export interface ThemeScriptProps {
|
|
|
12
12
|
*
|
|
13
13
|
* Reads the same localStorage keys as `ThemeProvider` ("kaze-theme" / "kaze-palette").
|
|
14
14
|
*/
|
|
15
|
-
export declare function ThemeScript({ defaultTheme, nonce }: ThemeScriptProps): import("react
|
|
15
|
+
export declare function ThemeScript({ defaultTheme, nonce }: ThemeScriptProps): import("react").JSX.Element;
|
|
@@ -13,5 +13,5 @@ export interface ThemeProviderProps {
|
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
defaultTheme?: Theme;
|
|
15
15
|
}
|
|
16
|
-
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps): import("react
|
|
16
|
+
export declare function ThemeProvider({ children, defaultTheme }: ThemeProviderProps): import("react").JSX.Element;
|
|
17
17
|
export declare function useTheme(): ThemeContextValue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kaze-design-system",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@storybook/addon-docs": "^10.2.10",
|
|
110
110
|
"@storybook/addon-vitest": "^10.2.10",
|
|
111
111
|
"@storybook/nextjs": "^10.2.10",
|
|
112
|
-
"@testing-library/jest-dom": "^
|
|
112
|
+
"@testing-library/jest-dom": "^7.0.1",
|
|
113
113
|
"@testing-library/react": "^16.3.2",
|
|
114
114
|
"@testing-library/user-event": "^14.6.1",
|
|
115
115
|
"@types/node": "25.3.0",
|