feat(lynx): add scale feedback - #2135
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🦋 Changeset detectedLatest commit: 6f60f1d The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Alpha Preview (Stackflow SPA)
|
Alpha Preview (Storybook)
|
Alpha Preview (Docs)
|
9c05817 to
bc91f55
Compare
95873c4 to
ff4e98c
Compare
변경 사항
Element.animate()로 실행되는useScaleFeedback을 추가합니다.ScaleFeedbackutility component를 공개합니다.GlobalProps.motion === "reduced"와 disabled 상태에서는 scale을 적용하지 않으며, 값이 없거나 알 수 없으면 기본 motion으로 fallback합니다.@seed-design/lynx-react,@seed-design/lynx-cssminor changeset을 추가합니다.PR Stack
검증
bun generate:allbun --filter @seed-design/lynx-react typecheckbun --filter @seed-design/lynx-react test --run— 247 tests passedbun --filter @seed-design/lynx-react buildbun test:all런타임 기준
motion이 없는 호스트는 기본 motion을 유지하며, 정확히"reduced"일 때만 scale을 비활성화합니다.참고