ksk-design-system 1.49.1 → 1.49.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/NATIVE_RECIPES.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Native / Expo consumer は、新規 UI を作る前に `ksk-design-system/native/ui` の既存コンポーネントを確認してください。ローカル `ds/` に独自 wrapper を増やす前に、`src/native/COMPONENT_LOOKUP.md` とこのファイルの recipe を使います。
|
|
4
4
|
|
|
5
|
+
## Tailwind バージョンの前提
|
|
6
|
+
|
|
7
|
+
`tailwindcss` の peer 範囲は `^3.4.17 || ^4.1.0` です(issue #296)。
|
|
8
|
+
|
|
9
|
+
- **Web consumer**: `preset.css` が Tailwind v4 構文(`@import "tailwindcss"`)前提のため **v4 系が必須**。3 系はインストールできても preset が機能しません。
|
|
10
|
+
- **Expo / NativeWind consumer**: NativeWind のコンパイラ都合で `^3.4.x` に固定して構いません。`native/ui` entrypoint は Tailwind 4 の機能を要求しないため、この組み合わせが公式サポート範囲です。peer 範囲から 3 系を落とすと consumer の `npm install` が壊れるので、範囲は `__tests__/native-package-contract.test.ts` で契約として固定しています。
|
|
11
|
+
|
|
5
12
|
## Component lookup
|
|
6
13
|
|
|
7
14
|
RN 側の公開 export 一覧は `src/native/COMPONENT_LOOKUP.md` で確認できます。Web 側の `src/components/COMPONENT_LOOKUP.md` と同じく、consumer 実装前の DS-first チェックに使います。
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"name": "KSK Design System — Semantic Token Hex Cache",
|
|
4
|
-
"version": "1.49.
|
|
4
|
+
"version": "1.49.2",
|
|
5
5
|
"description": "semantic / semanticDark トークン(var(--Primitive-*) 参照)を実 hex に解決したサイドカー生成物。hex はデフォルト(Blue)テーマでの解決値であり、Brand 系(meta.themeDependentKeys に列挙)はテーマ差し替え(orange/green/violet 等)で実色が変わる。テーマ別の完全解決値は `ksk-design-system/native` エクスポート(バンドル済み native トークンモジュール)の themes を参照。tokens.json 本体のスキーマは変更せず、AI がこのファイルだけで実色を把握できるようにし、primitive 値の変更による semantic 実色のドリフトを --check で機械検出する。",
|
|
6
6
|
"generatedBy": "scripts/generate-token-hex-cache.mjs",
|
|
7
7
|
"theme": "default",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ksk-design-system",
|
|
3
|
-
"version": "1.49.
|
|
3
|
+
"version": "1.49.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "KSK Design System — フリーランス向けマルチテーマ対応デザインシステム",
|
|
6
6
|
"license": "MIT",
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
196
196
|
"react-native": ">=0.74.0",
|
|
197
197
|
"react-native-svg": ">=15.0.0",
|
|
198
|
-
"tailwindcss": "^4.1.0"
|
|
198
|
+
"tailwindcss": "^3.4.17 || ^4.1.0"
|
|
199
199
|
},
|
|
200
200
|
"peerDependenciesMeta": {
|
|
201
201
|
"@react-navigation/bottom-tabs": {
|