ksk-design-system 1.67.0 → 1.68.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/contracts/components.json +13 -4
- package/contracts/token-hex-cache.json +1 -1
- package/dist/index.js +613 -603
- package/dist/types/components/patterns/coach-mark-overlay.d.ts +28 -1
- package/dist/types/components/ui/coach-mark.d.ts +13 -1
- package/package.json +1 -1
- package/src/components/COMPONENT_LOOKUP.md +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"name": "KSK Design System — Component Contracts",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.68.0",
|
|
5
5
|
"description": "全コンポーネントの構造化定義。バリアント・アクセシビリティ要件・使用ルールを機械可読形式で管理。",
|
|
6
6
|
"counts": {
|
|
7
7
|
"ui": 68,
|
|
@@ -712,7 +712,12 @@
|
|
|
712
712
|
"description": "オンボーディング吹き出し(ガイド/ツールチップ)。ステップ番号・次へボタン・閉じるボタン対応。",
|
|
713
713
|
"variants": [],
|
|
714
714
|
"accessibility": [],
|
|
715
|
-
"rules": []
|
|
715
|
+
"rules": [],
|
|
716
|
+
"props": {
|
|
717
|
+
"nextLabel": "string (既定 \"次へ →\") — 次へボタンの文言。矢印は文言に含まれる(issue #477)",
|
|
718
|
+
"skipLabel": "string (既定 \"スキップ\") — スキップボタンの文言(issue #477)",
|
|
719
|
+
"ariaLabel": "string — バルーンの aria-label。未指定時は content が string ならその文字列、それ以外は \"コーチマーク\"(issue #477)"
|
|
720
|
+
}
|
|
716
721
|
},
|
|
717
722
|
{
|
|
718
723
|
"name": "CountdownTimer",
|
|
@@ -2022,8 +2027,12 @@
|
|
|
2022
2027
|
],
|
|
2023
2028
|
"rules": [
|
|
2024
2029
|
"isCoachCompleted/markCoachCompleted で完了状態を永続化",
|
|
2025
|
-
"対象要素が見つからない step は画面中央フォールバック"
|
|
2026
|
-
|
|
2030
|
+
"対象要素が見つからない step は画面中央フォールバック",
|
|
2031
|
+
"ボタン文言・aria-label の i18n は labels prop で渡す(未指定は既定文言のまま・後方互換)"
|
|
2032
|
+
],
|
|
2033
|
+
"props": {
|
|
2034
|
+
"labels": "{ next?, done?, skip?, ariaLabel? } — ボタン文言と overlay の aria-label。i18n はアプリ側で解決して渡す。done 未指定なら next にフォールバック(issue #477)"
|
|
2035
|
+
}
|
|
2027
2036
|
},
|
|
2028
2037
|
{
|
|
2029
2038
|
"name": "PromptCoordinatorProvider/AutoPrompt",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"name": "KSK Design System — Semantic Token Hex Cache",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.68.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",
|