Repository navigation
iOS向け影設定とelevationをRNのboxShadowとtextShadowに置き換え - #6491
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01GoSpdGLAaoDywy6SECiagb
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (27)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthrough各コンポーネントの Changesシャドウスタイル移行
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This was referenced Jul 31, 2026
Merged
4 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
iOS専用の
shadow*プロパティと Android のelevationで二重管理していた影の実装を、React Native 0.76+ のboxShadow(テキストのグリフ影はtextShadow*)に統一しました。影の見た目は従来の iOS の描画を基準とし、Android はelevationの廃止により iOS と同じデザインに追従します。変更の種類
変更内容
shadowColor/shadowOpacity/shadowRadius/shadowOffset/elevationをboxShadowに置き換え(blur は CSS 仕様との等価変換でshadowRadius × 2、色はshadowColorとshadowOpacityをrgba()に合成。RN のパーサ仕様に合わせ数値にはpxを明記)TrainTypeBox/TrainTypeBoxSaikyo/TypeChangeNotify)はboxShadowだと矩形影になるため、クロスプラットフォームのtextShadow*に置き換え。shadowOffset未指定時に適用されていた iOS 既定値(0, -3)は明示して踏襲FABの動的shadowColor(LEDテーマ時は影なし)をboxShadow文字列を返すuseMemoに変更SelectBoundModal/SelectBoundSettingListModal)は、プロパティ単位のマージでCustomModalから継承していた offset / radius を合成済みのboxShadow値として明示RouteInfoModalのexpandableToggleの影打ち消し(elevation: 0+shadowOpacity: 0)をboxShadow: []に変更NowHeader/SettingsHeader(overflow: 'hidden'によりクリップ)、HeaderEasttyConfig のgradientRootExtraStyle(同上)、HeaderJRKyushuの divider(elevationのみで iOS に影なし)テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること関連Issue
スクリーンショット(任意)
Summary by CodeRabbit