-
Notifications
You must be signed in to change notification settings - Fork 201
feat(contextual-help): S2 migration #3909
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
Open
cdransf
wants to merge
4
commits into
spectrum-two
Choose a base branch
from
cdransf/s2-migration-contextual-help
base: spectrum-two
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
88755f8
feat(contextual-help): S2 migration
cdransf 8343fcc
fix(contextual-help): simplify link storybook controls
cdransf c204fbb
fix(contextual-help): remove duplicative stories from docs
cdransf 75a08f1
fix(contextual-help): remove WHC property from changelog mods section
cdransf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
"@spectrum-css/contextualhelp": major | ||
--- | ||
|
||
#### S2 migration for contextual help | ||
|
||
This migrates the `contextual help` component to the latest Spectrum 2 designs. Custom properties have been remapped and added per the design specification. | ||
|
||
Typographic and color tokens have been updated per design specifications. | ||
|
||
All existing popover positioning varations are supported. | ||
|
||
##### New custom properties | ||
|
||
`--spectrum-contextual-help-body-color` | ||
`--spectrum-contextual-help-body-line-height` | ||
`--spectrum-contextual-help-body-sans-serif-font-family` | ||
`--spectrum-contextual-help-body-sans-serif-font-style` | ||
`--spectrum-contextual-help-body-sans-serif-font-weight` | ||
`--spectrum-contextual-help-title-color` | ||
`--spectrum-contextual-help-title-font-style` | ||
`--spectrum-contextual-help-title-font-weight` | ||
`--spectrum-contextual-help-title-line-height` | ||
`--spectrum-contextual-help-title-sans-serif-font-family` | ||
|
||
##### New mods | ||
|
||
`--mod-contextual-help-body-line-height` | ||
`--mod-contextual-help-body-sans-serif-font-family` | ||
`--mod-contextual-help-body-sans-serif-font-style` | ||
`--mod-contextual-help-body-sans-serif-font-weight` | ||
`--mod-contextual-help-body-size` | ||
`--mod-contextual-help-title-color` | ||
`--mod-contextual-help-title-font-style` | ||
`--mod-contextual-help-title-font-weight` | ||
`--mod-contextual-help-title-line-height` | ||
`--mod-contextual-help-title-sans-serif-font-family` | ||
`--highcontrast-contextual-help-heading-color` | ||
`--highcontrast-contextual-help-title-color` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's so funny this ties right into our conversation this morning in backlog grooming! I think this makes a lot of sense here for now but I am interested in exploring more how typography can inherit better from the cascade without requiring so much intervention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed — it struck me as being quite verbose. I'd love something simpler. ✨