ksk-design-system 2.3.0 → 2.4.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.
package/DESIGN.md CHANGED
@@ -34,9 +34,9 @@ typography:
34
34
  fontFamily: "system-ui, -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif"
35
35
  display: { fontSize: "48px", lineHeight: "1.25", fontWeight: 700 } # typo-display-xl
36
36
  heading: { fontSize: "18px", lineHeight: "1.5", fontWeight: 700 } # typo-heading-lg(基準)
37
- body: { fontSize: "14px", lineHeight: "1.75", fontWeight: 400 } # typo-body-md(基準)
37
+ body: { fontSize: "16px", lineHeight: "1.75", fontWeight: 400 } # typo-body-md(基準)
38
38
  label: { fontSize: "12px", lineHeight: "1.5", fontWeight: 500 } # typo-label-sm
39
- caption: { fontSize: "11px", lineHeight: "1.5", fontWeight: 400 } # typo-caption(注釈/法的表記専用。本文の下限は body=12px。10px の typo-body-xs は補助ラベル専用で本文禁止)
39
+ caption: { fontSize: "11px", lineHeight: "1.5", fontWeight: 400 } # typo-caption(注釈/法的表記専用。本文の下限は body=14px。12px の typo-body-xs は補助ラベル専用で本文禁止)
40
40
  rounded:
41
41
  sm: "4px"
42
42
  surface: "14px" # Card / Input / Popover → var(--Radius-Surface)
@@ -153,7 +153,7 @@ KSK の必須正本・publish 依存にせず、KSK 固有の multi-theme / nati
153
153
  `typo-*` ユーティリティ1クラスに size/line-height/weight/tracking を集約。`text-sm`/`font-bold` 等の個別指定は禁止。
154
154
 
155
155
  - 見出し: `typo-heading-{sm..3xl}`(14→28px, line-height 1.5, 700)
156
- - 本文: `typo-body-{xs..lg}`(10→16px, line-height 1.75 系)
156
+ - 本文: `typo-body-{xs..lg}`(12→18px, line-height 1.75 系)
157
157
  - ラベル: `typo-label-{xs..lg}`(10→16px, 500)/ 特大: `typo-display-xl`(48px)
158
158
  - 色は別指定: `className="typo-body-sm text-[var(--Text-Low-Emphasis)]"`
159
159
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "meta": {
3
3
  "name": "KSK Design System — Component Contracts",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
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": "2.3.0",
4
+ "version": "2.4.0",
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/dist/native/ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../prompt-coordinator-sBFZKQIX.js";
2
- import { a as u, i as d, n as f, r as p, t as m } from "../native-E7YOVABy.js";
2
+ import { a as u, i as d, n as f, r as p, t as m } from "../native-BsJ3ntN3.js";
3
3
  import * as h from "react";
4
4
  import g, { createContext as _, useCallback as v, useContext as y, useEffect as b, useId as x, useMemo as S, useRef as C, useState as w } from "react";
5
5
  import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
@@ -1345,24 +1345,24 @@ var e = {
1345
1345
  },
1346
1346
  body: {
1347
1347
  lg: {
1348
- fontSize: 16,
1348
+ fontSize: 18,
1349
1349
  fontWeight: "400",
1350
- lineHeight: 28
1350
+ lineHeight: 32
1351
1351
  },
1352
1352
  md: {
1353
- fontSize: 14,
1353
+ fontSize: 16,
1354
1354
  fontWeight: "400",
1355
- lineHeight: 25
1355
+ lineHeight: 28
1356
1356
  },
1357
1357
  sm: {
1358
- fontSize: 12,
1358
+ fontSize: 14,
1359
1359
  fontWeight: "400",
1360
- lineHeight: 18
1360
+ lineHeight: 21
1361
1361
  },
1362
1362
  xs: {
1363
- fontSize: 10,
1363
+ fontSize: 12,
1364
1364
  fontWeight: "400",
1365
- lineHeight: 15
1365
+ lineHeight: 18
1366
1366
  }
1367
1367
  },
1368
1368
  label: {
package/dist/native.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./native-E7YOVABy.js";
1
+ import { a as e, i as t, n, r, t as i } from "./native-BsJ3ntN3.js";
2
2
  export { i as getTheme, r as primitives, t as scales, n as themeNames, e as themes };
@@ -126,24 +126,24 @@ export declare const scales: {
126
126
  };
127
127
  readonly body: {
128
128
  readonly lg: {
129
- readonly fontSize: 16;
129
+ readonly fontSize: 18;
130
130
  readonly fontWeight: "400";
131
- readonly lineHeight: 28;
131
+ readonly lineHeight: 32;
132
132
  };
133
133
  readonly md: {
134
- readonly fontSize: 14;
134
+ readonly fontSize: 16;
135
135
  readonly fontWeight: "400";
136
- readonly lineHeight: 25;
136
+ readonly lineHeight: 28;
137
137
  };
138
138
  readonly sm: {
139
- readonly fontSize: 12;
139
+ readonly fontSize: 14;
140
140
  readonly fontWeight: "400";
141
- readonly lineHeight: 18;
141
+ readonly lineHeight: 21;
142
142
  };
143
143
  readonly xs: {
144
- readonly fontSize: 10;
144
+ readonly fontSize: 12;
145
145
  readonly fontWeight: "400";
146
- readonly lineHeight: 15;
146
+ readonly lineHeight: 18;
147
147
  };
148
148
  };
149
149
  readonly label: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ksk-design-system",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "type": "module",
5
5
  "description": "KSK Design System — フリーランス向けマルチテーマ対応デザインシステム",
6
6
  "license": "MIT",
@@ -66,28 +66,28 @@
66
66
  /* ─── Body(本文) ─── */
67
67
 
68
68
  @utility typo-body-lg {
69
- font-size: calc(16px * var(--Product-Type-Scale, 1));
69
+ font-size: calc(18px * var(--Product-Type-Scale, 1));
70
70
  line-height: 1.75;
71
71
  font-weight: 400;
72
72
  }
73
73
 
74
74
  @utility typo-body-md {
75
- font-size: calc(14px * var(--Product-Type-Scale, 1));
75
+ font-size: calc(16px * var(--Product-Type-Scale, 1));
76
76
  line-height: 1.75;
77
77
  font-weight: 400;
78
78
  }
79
79
 
80
80
  @utility typo-body-sm {
81
- font-size: calc(12px * var(--Product-Type-Scale, 1));
81
+ font-size: calc(14px * var(--Product-Type-Scale, 1));
82
82
  line-height: 1.5;
83
83
  font-weight: 400;
84
84
  }
85
85
 
86
- /* body-xs(10px) は本文禁止 — 補助ラベル/メタ情報専用。
87
- 本文の最小は typo-body-sm(12px)。10px を本文に使うとモバイル可読性の
86
+ /* body-xs(12px) は本文禁止 — 補助ラベル/メタ情報専用。
87
+ 本文の最小は typo-body-sm(14px)。12px を本文に使うとモバイル可読性の
88
88
  下限(iOS HIG ~11pt / WCAG 観点)を割る。 */
89
89
  @utility typo-body-xs {
90
- font-size: calc(10px * var(--Product-Type-Scale, 1));
90
+ font-size: calc(12px * var(--Product-Type-Scale, 1));
91
91
  line-height: 1.5;
92
92
  font-weight: 400;
93
93
  }
package/tokens.json CHANGED
@@ -520,25 +520,25 @@
520
520
  },
521
521
  "body": {
522
522
  "lg": {
523
- "size": "16px",
523
+ "size": "18px",
524
524
  "weight": 400,
525
525
  "lineHeight": 1.75
526
526
  },
527
527
  "md": {
528
- "size": "14px",
528
+ "size": "16px",
529
529
  "weight": 400,
530
530
  "lineHeight": 1.75
531
531
  },
532
532
  "sm": {
533
- "size": "12px",
533
+ "size": "14px",
534
534
  "weight": 400,
535
535
  "lineHeight": 1.5
536
536
  },
537
537
  "xs": {
538
- "size": "10px",
538
+ "size": "12px",
539
539
  "weight": 400,
540
540
  "lineHeight": 1.5,
541
- "restriction": "本文禁止。補助ラベル/メタ情報専用。本文の下限は body.sm(12px)。"
541
+ "restriction": "本文禁止。補助ラベル/メタ情報専用。本文の下限は body.sm(14px)。"
542
542
  }
543
543
  },
544
544
  "label": {