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

Empty State - Style Update and Prop Deprecation #1915

Merged
merged 12 commits into from
Aug 5, 2024

Conversation

anechol
Copy link
Contributor

@anechol anechol commented Jul 25, 2024

Description

Renames the scope prop to size and updates styles to match Figma.

This PR does not include a gradient.

Screenshots

Before After
Screenshot 2024-07-30 at 4 35 29 PM Screenshot 2024-08-02 at 2 03 21 PM

Testing in sage-lib

  • Navigate to Rails and React
  • Check that component matches Figma specs.

Testing in kajabi-products

  1. (BREAKING) - Renames the scope prop to size and updates styles to match Figma

Related

DSS-737

@anechol anechol self-assigned this Jul 25, 2024
@ju-Skinner ju-Skinner force-pushed the mercury-rising branch 4 times, most recently from d8ceef8 to c264692 Compare July 29, 2024 22:06
@anechol anechol force-pushed the refactor/empty-state-update branch from 9e569c6 to dedaaf9 Compare July 30, 2024 21:05
@anechol anechol added the enhancement New feature or request label Jul 30, 2024
@anechol anechol marked this pull request as ready for review July 30, 2024 21:46
@anechol anechol changed the title refactor: removes page scope empty state and updates styles Empty State - Style Update and Prop Deprecation Jul 31, 2024
@ju-Skinner ju-Skinner force-pushed the mercury-rising branch 2 times, most recently from a6260eb to a8ca37e Compare July 31, 2024 19:23
@anechol anechol force-pushed the refactor/empty-state-update branch from dedaaf9 to 28fab7b Compare July 31, 2024 21:18
@anechol anechol marked this pull request as draft August 1, 2024 15:59
@anechol anechol force-pushed the refactor/empty-state-update branch from 504d035 to c8a9d09 Compare August 2, 2024 18:18
@anechol anechol marked this pull request as ready for review August 2, 2024 19:15
@anechol anechol force-pushed the refactor/empty-state-update branch from 791bda1 to 15627c9 Compare August 5, 2024 18:56
@@ -4,6 +4,7 @@ class SageIconCard < SageComponent
background_color: [:optional, NilClass, String],
color: [:optional, NilClass, SageSchemas::STATUSES],
foreground_color: [:optional, NilClass, String],
gradient: [:optional, NilClass, {topColor: String, bottomColor: String}],
Copy link
Collaborator

Choose a reason for hiding this comment

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

For my own curiousity, how would this work for left to right gradients?

@anechol anechol force-pushed the refactor/empty-state-update branch from 15627c9 to aa214f9 Compare August 5, 2024 19:59
@@ -11,6 +11,7 @@ style = {
sage-icon-card
<%= "sage-icon-card--#{color}" if color.present? %>
<%= "sage-icon-card--round" if component.round %>
<%= "sage-icon-card--gradient" if component.gradient %>
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we want to have this here, even though we aren't using it?

Copy link
Contributor

@QuintonJason QuintonJason left a comment

Choose a reason for hiding this comment

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

Good to go

@anechol anechol requested a review from ju-Skinner August 5, 2024 20:31
@anechol anechol merged commit 848de21 into mercury-rising Aug 5, 2024
3 checks passed
@anechol anechol deleted the refactor/empty-state-update branch August 5, 2024 20:35
@ju-Skinner ju-Skinner added the mercury-rising Used for rebrand work label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mercury-rising Used for rebrand work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants