Skip to content

feat: Panelコンポーネント対応を追加#1198

Draft
AtsushiM wants to merge 2 commits into
masterfrom
feat/add-panel-support
Draft

feat: Panelコンポーネント対応を追加#1198
AtsushiM wants to merge 2 commits into
masterfrom
feat/add-panel-support

Conversation

@AtsushiM
Copy link
Copy Markdown
Member

@AtsushiM AtsushiM commented Apr 6, 2026

Summary

  • smarthr-ui v92でBaseからPanelにリネームされたことに対応
  • 後方互換性のため、Baseの記述も保持
  • AccordionPanelやRadioButtonPanelと区別するため、negative lookbehindパターン (?<!Accordion|RadioButton)Panel$ を使用

Changes

  • rules/component-name/index.js: EXPECTED_NAMESとUNEXPECTED_NAMESにPanel対応を追加
  • test/component-name.js: Panelのテストケースを追加

Test plan

  • テストが全て通過することを確認
  • CIが通過することを確認

Related

🤖 Generated with Claude Code

AtsushiM and others added 2 commits April 7, 2026 07:28
smarthr-ui v92でBaseからPanelにリネームされたことに対応。
後方互換性のため、Baseの記述も保持。
AccordionPanelやRadioButtonPanelと区別するため、negative lookbehindパターンを使用。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
否定後読みパターン `(?<!Accordion|RadioButton)Panel$` をシンプルな `Panel$` に変更。
AccordionPanelやRadioButtonPanelで複数エラーが出ることを許容し、テストケースを調整。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant