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

refactor(picker)!: use spectrum tokens #1528

Merged
merged 49 commits into from
Feb 6, 2023

Conversation

yosevu
Copy link
Contributor

@yosevu yosevu commented Oct 12, 2022

Description

Refactor Picker to use core tokens and update WHCM.

  • Add Field Label example
  • Add Progress Circle example

How and where has this been tested?

  • Chrome
  • WHCM
  • Medium, Large scale

Screenshots

Screen Shot 2022-10-17 at 11 18 08 PM

Screen Shot 2022-10-17 at 11 03 15 PM

To-do list

  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • I have tested these changes in Windows High Contrast mode.
  • This pull request is ready to merge.

@yosevu yosevu changed the title Yosevu/css 156 migrate picker to core tokens refactor(picker)!: use spectrum tokens Oct 13, 2022
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch 3 times, most recently from 509b05c to 4ab4402 Compare October 13, 2022 23:34
@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2022

🚀 Deployed on https://pr-1528--spectrum-css.netlify.app

@github-actions github-actions bot temporarily deployed to pull request October 13, 2022 23:40 Inactive
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from 80f89a0 to 7fa286b Compare October 14, 2022 04:50
@github-actions github-actions bot temporarily deployed to pull request October 14, 2022 04:59 Inactive
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from d878607 to 0ed3d64 Compare October 14, 2022 11:46
@github-actions github-actions bot temporarily deployed to pull request October 14, 2022 11:49 Inactive
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from 0ed3d64 to b46e9b7 Compare October 14, 2022 12:02
@github-actions github-actions bot temporarily deployed to pull request October 14, 2022 12:07 Inactive
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from d2e7164 to 1b726e0 Compare October 17, 2022 14:00
@github-actions github-actions bot temporarily deployed to pull request October 17, 2022 14:04 Inactive
@yosevu yosevu marked this pull request as ready for review October 17, 2022 14:23
@@ -45,6 +45,7 @@ examples:
name: Standard
markup: |
<h4>Closed</h4>
<div class="spectrum-FieldLabel spectrum-FieldLabel--sizeM">Country</div>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The design examples all use Field Labels, but I didn't think I should use a label with a button. What element should this be?

border-width: var(--spectrum-picker-texticon-disabled-border-size);
cursor: default;
/* Placeholder tokens */
.spectrum--medium {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These were the existing offsets for aligning popover with picker.
Screen Shot 2022-10-17 at 11 37 56 PM

@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from 1b726e0 to c758e46 Compare October 17, 2022 14:42
@github-actions github-actions bot temporarily deployed to pull request October 17, 2022 14:47 Inactive
Copy link
Contributor

@lunarfusion lunarfusion left a comment

Choose a reason for hiding this comment

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

Whoa this one is complex.

@github-actions github-actions bot temporarily deployed to pull request October 28, 2022 05:28 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 28, 2022 05:45 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 28, 2022 06:33 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 28, 2022 12:55 Inactive
@yosevu yosevu force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from 36b6c45 to 78d6230 Compare October 28, 2022 13:05
@yosevu yosevu requested a review from lunarfusion October 28, 2022 13:09
Yosevu Kilonzo and others added 25 commits February 6, 2023 10:16
Still need to update Invalid red box shadows
Still need to add focus-indicator gap
- Rename border-size to border-width
- Remove Help text from other example
- Remove focus state box-shadow transition
- Fix quiet indicator gap
The design for this variant will be updated.
- Add Popover offset to align with Picker
- Hide focus indicator when menu is-open
@pfulton pfulton force-pushed the yosevu/css-156-migrate-picker-to-core-tokens branch from 9672a47 to e826552 Compare February 6, 2023 15:26
@github-actions github-actions bot temporarily deployed to pull request February 6, 2023 15:32 Inactive
@pfulton pfulton merged commit 7cdbad2 into main Feb 6, 2023
@castastrophe castastrophe deleted the yosevu/css-156-migrate-picker-to-core-tokens branch March 7, 2023 14:03
@castastrophe castastrophe restored the yosevu/css-156-migrate-picker-to-core-tokens branch March 7, 2023 14:08
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.

3 participants