@cakejp/design-system 0.3.5 → 0.5.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/CHANGELOG.md +28 -1
- package/contracts/components.json +5 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1001 -952
- package/dist/types/components/ec/product-carousel.d.ts +1 -1
- package/dist/types/components/foundations/checkbox.d.ts +40 -1
- package/dist/types/components/primitives/form-field.d.ts +10 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
## [0.
|
|
10
|
+
## [0.5.0] - 2026-06-08
|
|
11
|
+
|
|
12
|
+
### 🚨 Breaking Changes
|
|
13
|
+
|
|
14
|
+
- **SectionHeader**: デフォルトの横余白 `px-4` を撤廃。従来の見た目を維持するには親要素側で `px-4` を付与してください (#14)
|
|
15
|
+
|
|
16
|
+
### ✨ Added
|
|
17
|
+
|
|
18
|
+
- **FormField**: `descriptionPosition` prop を追加(`"above"` | `"below"`)。グリッド横並び配置で description の有無による入力要素の縦位置ズレを `"below"` で回避可能 (#16)
|
|
19
|
+
|
|
20
|
+
### 🐛 Fixed
|
|
21
|
+
|
|
22
|
+
- **Input / Textarea**: ホバー時に緑ボーダー(`Focus-High-Emphasis`)を表示するように統一。Select / Checkbox と同じフィードバックに揃えた (#16)
|
|
23
|
+
- **Select / Checkbox / SearchBar**: ホバー/フォーカス時のボーダー色をオレンジ(`Brand-Cake-Orange`)から緑(`Focus-High-Emphasis`)に修正。フォーム要素全体でフォーカス色を統一 (#15)
|
|
24
|
+
- ボーダー色の `transition` に `border-color` を追加し、ホバー時のアニメーションをスムーズ化 (#16)
|
|
25
|
+
|
|
26
|
+
### 🛡 Internal
|
|
27
|
+
|
|
28
|
+
- SSR 後方互換テスト(17ケース)と tokens.json↔semantic.css 同期テストを追加 (#12)
|
|
29
|
+
- GitHub Actions CI を追加(PR + push:main で品質ゲート + テスト自動実行) (#12)
|
|
30
|
+
- lint-scratch: `<a href>` ルールに `lint-scratch-allow` コメント除外を追加 (#12)
|
|
31
|
+
- check-responsive: `grep` + `pipefail` によるサイレント失敗を修正 (#12)
|
|
32
|
+
- Codex 設定(`.codex/`)とプロジェクトスキル(`.agents/skills/`)を追加 (#13)
|
|
33
|
+
- Chip の States ストーリーに状態説明 JSDoc を追加 (#10)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## [0.3.0] - 2026-05-04
|
|
11
38
|
|
|
12
39
|
### 🚨 Breaking Changes
|
|
13
40
|
|
|
@@ -424,8 +424,12 @@
|
|
|
424
424
|
{
|
|
425
425
|
"name": "FormField",
|
|
426
426
|
"path": "src/components/primitives/form-field.tsx",
|
|
427
|
+
"variants": {
|
|
428
|
+
"descriptionPosition": ["above", "below"]
|
|
429
|
+
},
|
|
427
430
|
"rules": [
|
|
428
|
-
"Label+Input+エラーメッセージをセットで管理"
|
|
431
|
+
"Label+Input+エラーメッセージをセットで管理",
|
|
432
|
+
"グリッド横並び時は descriptionPosition='below' で高さを揃える"
|
|
429
433
|
]
|
|
430
434
|
},
|
|
431
435
|
{
|