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

[PLAY-1540] Section Separator: Add Color Option #4036

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

ASPhillips8
Copy link
Contributor

@ASPhillips8 ASPhillips8 commented Dec 19, 2024

What does this PR do? A clear and concise description with your runway ticket url.

Added a color prop to both the rails and react versions of this kit. Prop allows for selection of "primary" to color the Section Separator variants. Color is maintained if passed into dark mode. Created doc examples of usage for both rails and react kits.

Also cleaned up vertical example that was displaying a single colored dot on the left of vertical separators (became more pronounced with added color)

Play-1540

Screenshots: Screenshots to visualize your addition/change
Screenshot 2024-12-19 at 1 22 31 PM
Screenshot 2024-12-19 at 2 09 03 PM
Screenshot 2024-12-19 at 2 07 31 PM

How to test? Steps to confirm the desired behavior:

  1. kits/section_separator/
  2. Scroll down to color example
  3. See new color prop example with documentation underneath
  4. Check both react and rails.

Checklist:

  • LABELS Add a label: enhancement, bug, improvement, new kit, deprecated, or breaking. See Changelog & Labels for details.
  • DEPLOY I have added the milano label to show I'm ready for a review.
  • TESTS I have added test coverage to my code.

@ASPhillips8 ASPhillips8 added milano 20 MAX - Deploy this PR to a review environment via Milano improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) Needs Review minor Semver Target labels Dec 19, 2024
@ASPhillips8 ASPhillips8 self-assigned this Dec 19, 2024
@ASPhillips8 ASPhillips8 requested a review from a team as a code owner December 19, 2024 19:29
@powerhome-portal
Copy link

A change to documentation files was detected in your PR. Please visit this link to preview changes: https://portal-staging.powerapp.cloud/docs?filters[kind]=all&filters[user]=all&filters[namespaceFilter]=play-1540sectionseparatorcolor

@jasperfurniss jasperfurniss added Code Approved Approved by a Playbook Admin and removed Needs Review labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Approved Approved by a Playbook Admin improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) milano 20 MAX - Deploy this PR to a review environment via Milano minor Semver Target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants