Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: major update Stories and StoriesGroup #256

Merged
merged 4 commits into from
Jan 14, 2025

Conversation

DarkGenius
Copy link
Contributor

@DarkGenius DarkGenius commented Jan 10, 2025

Stories

  • layout redesign for more flexibility
  • props action removed, use properties firstAction and secondAction of object StoriesItem instead
  • add new properties of StoriesItem: textColorStyles, textBlockStyle, mediaBlockStyle, firstAction, secondAction
  • property type of object StoriesItemMedia is now required

@gravity-ui-bot
Copy link
Contributor

Preview is ready.


&__modal-content {
border-radius: $borderRadius;
border-radius: var(--g-spacing-5);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spacing variables should not be used for borders

@DarkGenius DarkGenius force-pushed the replace-stories-components branch from 2c40693 to f952ba9 Compare January 14, 2025 11:47
@DarkGenius DarkGenius force-pushed the replace-stories-components branch from f952ba9 to a8676eb Compare January 14, 2025 12:13
@DarkGenius DarkGenius merged commit 438a733 into next Jan 14, 2025
1 check passed
@DarkGenius DarkGenius deleted the replace-stories-components branch January 14, 2025 13:04
amje pushed a commit that referenced this pull request Feb 4, 2025
Co-authored-by: Taya Leutina <leutinatasya@yandex-team.ru>
Ruminat pushed a commit that referenced this pull request Feb 13, 2025
Co-authored-by: Taya Leutina <leutinatasya@yandex-team.ru>
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.

4 participants