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

DApp-1708 added support for new css variables and semantics in blocks components #1716

Merged
merged 15 commits into from
Jul 11, 2024

Conversation

rohitmalhotra1420
Copy link
Collaborator

Pull Request Template

Ticket Number

Description

  • Blocks components now supports the new theme semantics and css variables.
  • Problem/Feature:

Type of Change

  • Bug fix
  • New feature
  • Code refactor
  • Documentation update
  • Other (please describe):

Checklist

  • Quick PR: Is this a quick PR? Can be approved before finishing a coffee.
    • Quick PR label added
  • Not Merge Ready: Is this PR dependent on some other PR/tasks and not ready to be merged right now.
    • DO NOT Merge PR label added

Frontend Guidelines

Build & Testing

  • No errors in the build terminal
  • Engineer has tested the changes on their local environment
  • Engineer has tested the changes on deploy preview

Screenshots/Video with Explanation

  • Before: Explain the previous behavior

  • After: What's changed now

Additional Context

Review & Approvals

  • Self-review completed
  • Code review by at least one other engineer
  • Documentation updates if applicable

Notes

@rohitmalhotra1420 rohitmalhotra1420 added the Quick PR A PR that can be approved before finishing a coffee label Jul 11, 2024
@rohitmalhotra1420 rohitmalhotra1420 self-assigned this Jul 11, 2024
Copy link

All looks good.

Copy link

All looks good.

Copy link

github-actions bot commented Jul 11, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-07-11 10:49 UTC

@@ -21,15 +21,15 @@ export type BoxResponsiveProps = {
/* Sets flex-direction css property */
flexDirection?: ResponsiveProp<CSSProperties['flexDirection']>;
/* Sets gap between the elements */
gap?: ResponsiveProp<SpaceType>;
gap?: ResponsiveProp<BlocksSpaceType>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

gap cant take input for all four sides, we should define a different type for it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added a new type. will remove the previous type afterwards because that will break thing s right now.

Copy link

All looks good.

@rohitmalhotra1420 rohitmalhotra1420 merged commit e7033f4 into main Jul 11, 2024
2 checks passed
corlard3y added a commit that referenced this pull request Jul 16, 2024
… components (#1716)

* update changes

* add props type

* update version and remove on dash

* added support for new css variables

* deleted curropted file

* added gap type

---------

Co-authored-by: corlard3y <[email protected]>
corlard3y added a commit that referenced this pull request Jul 16, 2024
… components (#1716)

* update changes

* add props type

* update version and remove on dash

* added support for new css variables

* deleted curropted file

* added gap type

---------

Co-authored-by: corlard3y <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Quick PR A PR that can be approved before finishing a coffee
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants