Skip to content

fix(calendar): update css for disabled buttons #2100

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

Merged
merged 9 commits into from
Aug 25, 2023

Conversation

jenndiaz
Copy link
Contributor

@jenndiaz jenndiaz commented Aug 17, 2023

Description

Updates calendar PrevMonth and NextMonth button icon colors

Jira Ticket
Discussed in slack with SWC
and confirmed design change with design

How and where has this been tested?

Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.

Open the docs site for the calendar component

  • Disabled variants PrevMonth and NextMonth buttons should use disabled-content-color and match the disabled day text
  • Non disabled variants should use token gray-700 and match the day text

Regression testing

Validate:

  1. A legacy documentation page (such as accordion), including:
  • The page renders correctly
  • The page is accessible
  • The page is responsive
  1. A migrated documentation page (such as action group), including:
  • The page renders correctly
  • The page is accessible
  • The page is responsive

Screenshots

To-do list

  • I have read the contribution guidelines.

  • I have updated relevant storybook stories and templates.

  • I have tested these changes in Windows High Contrast mode.

  • 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.

  • ✨ This pull request is ready to merge. ✨

@github-actions
Copy link
Contributor

github-actions bot commented Aug 17, 2023

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

@github-actions github-actions bot temporarily deployed to pull request August 17, 2023 16:43 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 17, 2023 17:48 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 17, 2023 20:44 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 21, 2023 15:25 Inactive
@jenndiaz jenndiaz force-pushed the jenndiaz/css-564-fix-calendar-disabled-buttons branch from b0d465d to c0247c2 Compare August 21, 2023 19:19
@github-actions github-actions bot temporarily deployed to pull request August 21, 2023 19:26 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 21, 2023 23:23 Inactive
@jenndiaz jenndiaz force-pushed the jenndiaz/css-564-fix-calendar-disabled-buttons branch from 2219509 to 6767c60 Compare August 22, 2023 20:23
@github-actions github-actions bot temporarily deployed to pull request August 22, 2023 20:35 Inactive
@jenndiaz jenndiaz force-pushed the jenndiaz/css-564-fix-calendar-disabled-buttons branch from 7da9eff to 9aa691d Compare August 23, 2023 17:40
@github-actions github-actions bot temporarily deployed to pull request August 23, 2023 17:46 Inactive
@jenndiaz jenndiaz marked this pull request as ready for review August 23, 2023 17:51
Copy link
Collaborator

@pfulton pfulton left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Copy link

@paulodetarsofm paulodetarsofm left a comment

Choose a reason for hiding this comment

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

🚀

jenndiaz and others added 9 commits August 25, 2023 09:45
BREAKING CHANGE: Alert variants of Dialog have been removed from Dialog and placed into their own new component, Alert Dialog

Additionally:
* feat(alertdialog): generate new component

* feat(alertdialog): use new tokens

* feat(alertdialog): adds all variants

* feat(alertdialog): adds icons

* feat(alertdialog): adds secondary button and scroll variants

* chore(alertdialog): adds variant descriptions

* fix(alertdialog): font family tokens

* chore(alertdialog): refactor icon color

* fix(alertdialog): icons on correct variants

* feat(alertdialog): underlay color

* feat(alertdialog): corner radius

* fix(alertdialog): rtl for example button

* fix(alertdialog): more rtl

* feat(alertdialog): storybook variants

* chore(alertdialog): update tokens

* chore(alertdialog): remove alerts from dialog

* fix(alertdialog): background color

* fix(alerdialog): use max height token

* fix(alertdialog): small bug fixes

* chore(alertdialog): add mods

* fix(alertdialog): aria and scrollable a11y

* chore(alertdialog): css refactor

* feat(alertdialog): work on story controls

* chore(alertdialog): improve docs

* fix(alertdialog): design feedback

* chore(alertdialog): move scale specific styling to custom vars

* chore(alertdialog): use custom props for nested components

* feat(alertdialog): adds onClick to story btns

* feat(alertdialog): adds underlay to story

* chore(alertdialog): tokens version bump

* fix(alertdialog): dialog max width

* chore(alertdialog): adds legacy token fallback

* fix(alertdialog): fallbacks for nested custom tokens

* fix(alertdialog): default for justify content

* chore(alertdialog): use % over vw

* fix(alertdialog): change default for icon sizing pass throughs

* fix(alertdialog): use initial

* fix(alertdialog): remove pass throughs for icon

* chore(alertdialog): remove space

* chore(alertdialog): update yarn.lock file

* chore(alertdialog): update yarn.lock

* chore: update mods assets for dependencies

* chore: aligning alpha releases

* chore: bump alterdialog to reflect dep changes

* chore(alertdialog): correct storybook location

---------

Co-authored-by: Patrick Fulton <pfulton@adobe.com>
Co-authored-by: castastrophe <castastrophe@users.noreply.github.com>
@pfulton pfulton force-pushed the jenndiaz/css-564-fix-calendar-disabled-buttons branch from 9aa691d to ba1bb56 Compare August 25, 2023 13:48
@pfulton pfulton added the run_vrt For use on PRs looking to kick off VRT label Aug 25, 2023
@github-actions github-actions bot temporarily deployed to pull request August 25, 2023 13:54 Inactive
@github-actions github-actions bot removed the run_vrt For use on PRs looking to kick off VRT label Aug 25, 2023
@pfulton pfulton merged commit 868e150 into main Aug 25, 2023
@pfulton pfulton deleted the jenndiaz/css-564-fix-calendar-disabled-buttons branch August 25, 2023 14:05
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