-
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ca6bd9e
feat(contextual-help): S2 migration
cdransf 4bc9513
fix(contextual-help): simplify link storybook controls
cdransf 592b6a1
fix(contextual-help): remove duplicative stories from docs
cdransf a05f95d
fix(contextual-help): remove WHC property from changelog mods section
cdransf 21fcb07
fix(contextual-help): mod names + min inline size property
cdransf d6b893c
fix(contextual-help): fix changeset typo + update formatting
cdransf 443dc96
fix(contextual-help): abstract out direct token references
cdransf e45203d
fix(contextual-help): update metadata
cdransf 1949500
fix(contextual-help): update border-radius passthrough
cdransf ef68364
fix(contextual-help): remove unnecessary custom properties
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,54 @@ | ||
--- | ||
"@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 variations 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` | ||
`--mod-contextual-help-content-spacing` | ||
`--mod-contextual-help-heading-size` | ||
`--mod-contextual-help-link-spacing` | ||
`--mod-contextual-help-min-inline-size` | ||
`--mod-contextual-help-padding` | ||
`--mod-contextual-help-popover-maximum-width` | ||
|
||
##### Removed mods | ||
|
||
`--mod-contextual-help-title-sans-serif-font-family` | ||
`--mod-spectrum-contextual-help-body-size` | ||
`--mod-spectrum-contextual-help-content-spacing` | ||
`--mod-spectrum-contextual-help-heading-size` | ||
`--mod-spectrum-contextual-help-link-spacing` | ||
`--mod-spectrum-contextual-help-minimum-width` | ||
`--mod-spectrum-contextual-help-padding` | ||
`--mod-spectrum-contextual-help-popover-maximum-width` |
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.
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.
Uh oh!
There was an error while loading. Please reload this page.