Skip to content

Commit ff0d1b3

Browse files
authored
Add a default animation to name in testimonial expressive variant (#1469)
* add default animation to testimonial expressive variant * apply feedback * clean up VRT * reduce cursor spacing to 6px
1 parent fdec9d1 commit ff0d1b3

37 files changed

Lines changed: 281 additions & 64 deletions

File tree

‎.changeset/calm-names-scramble.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@primer/react-brand': patch
3+
---
4+
5+
- `Testimonial` component now applies an automatic text scrambling animation for names in the `expressive` variant.
6+
- `Hero.Label` component has a minor optical adjustment to the trailing cursor.

‎packages/e2e/scripts/playwright/playwright.generate-tests.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ const waitForTimeoutLookup = {
8484
'components-pillar-features--frosted-glass-effect': 3000, // for image to load
8585
'components-testimonial-examples--with-frosted-glass': 4000, // for animation to complete
8686
'components-testimonial-examples--with-frosted-glass-dark': 4000, // for animation to complete
87+
'components-testimonial-examples--expressive-with-background': 1500, // for the speaker name animation to complete
88+
'components-testimonial-features--expressive': 1500, // for the speaker name animation to complete
89+
'components-testimonial-features--expressive-tablet': 1500, // for the speaker name animation to complete
90+
'components-testimonial-features--expressive-mobile': 1500, // for the speaker name animation to complete
91+
'components-testimonial-features--expressive-dark': 1500, // for the speaker name animation to complete
8792
'components-prose--playground': 4000, // for videos to load
8893
'components-prose--default': 4000, // for videos to load,
8994
'components-hero-examples--custom-background-inline-end-padded-video': 3500, // for animations to complete
Loading
Loading
-1 Bytes
Loading
-2 Bytes
Loading
Loading
-1 Bytes
Loading
-30 Bytes
Loading
-31 Bytes
Loading

0 commit comments

Comments
 (0)