Skip to content

Commit 3a7f55f

Browse files
fix(codemod-v12): token mapping in v12 for standard.attentive (#2498)
* fix: token mapping in v12 for standard.attentive * Create shaggy-cups-marry.md
1 parent 130f63f commit 3a7f55f

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/shaggy-cups-marry.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@razorpay/blade": patch
3+
---
4+
5+
fix(codemod-v12): add missing token map for `standard.attentive` to codemod and manual migration

packages/blade/codemods/migrate-motion-tokens/transformers/motionTokenMapping.json

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"motion.easing.standard.revealing": "motion.easing.emphasized",
77
"motion.easing.exit.revealing": "motion.easing.exit",
88
"motion.easing.entrance.attentive": "motion.easing.overshoot",
9+
"motion.easing.standard.attentive": "motion.easing.overshoot",
910
"motion.easing.exit.attentive": "motion.easing.exit",
1011
"motion.easing.standard.wary": "motion.easing.shake"
1112
}

packages/blade/docs/migration-docs/upgrade-v12.md

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ You can skip this if you've run the codemod but in case not or you see some edge
3838
| theme.motion.easing.standard.revealing | theme.motion.easing.emphasized |
3939
| theme.motion.easing.exit.revealing | theme.motion.easing.exit |
4040
| theme.motion.easing.entrance.attentive | theme.motion.easing.overshoot |
41+
| theme.motion.easing.standard.attentive | theme.motion.easing.overshoot |
4142
| theme.motion.easing.exit.attentive | theme.motion.easing.exit |
4243
| theme.motion.easing.standard.wary | theme.motion.easing.shake |
4344

0 commit comments

Comments
 (0)