ksk-design-system 1.66.1 → 1.66.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "name": "KSK Design System — Component Contracts",
4
- "version": "1.66.1",
4
+ "version": "1.66.2",
5
5
  "description": "全コンポーネントの構造化定義。バリアント・アクセシビリティ要件・使用ルールを機械可読形式で管理。",
6
6
  "counts": {
7
7
  "ui": 68,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "name": "KSK Design System — Semantic Token Hex Cache",
4
- "version": "1.66.1",
4
+ "version": "1.66.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.66.1",
3
+ "version": "1.66.2",
4
4
  "type": "module",
5
5
  "description": "KSK Design System — フリーランス向けマルチテーマ対応デザインシステム",
6
6
  "license": "MIT",
@@ -92,6 +92,10 @@
92
92
  "import": "./src/styles/categorical.css",
93
93
  "default": "./src/styles/categorical.css"
94
94
  },
95
+ "./tokens/product-theme": {
96
+ "import": "./src/styles/product-theme.css",
97
+ "default": "./src/styles/product-theme.css"
98
+ },
95
99
  "./glass": {
96
100
  "import": "./src/styles/glass.css",
97
101
  "default": "./src/styles/glass.css"
@@ -13,6 +13,11 @@
13
13
  @import "./themes/my-client.css"; … Brand 10行(色)
14
14
  @import "./product-theme.css"; … ここの変数(寸法・面)
15
15
 
16
+ preset を使わずトークン CSS を個別 import する消費側は、このファイルを
17
+ subpath export で直接読める(コピー同期は不要):
18
+
19
+ @import "ksk-design-system/tokens/product-theme";
20
+
16
21
  機械可読な許可リストは contracts/product-theme-overrides.json が正本。
17
22
  **ここに無い変数は公開契約ではない**(内部実装なので予告なく変わる)。
18
23
  許可リスト外の上書きは `npx ksk-ds lint` の P049 が検出する。