-
Notifications
You must be signed in to change notification settings - Fork 202
feat(helptext): S2 migration #3628
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
Changes from all commits
427d6ba
f6b30dd
873f411
4377178
d9af231
be8b913
110d763
a3bf036
ef74d20
063e83b
3c82765
3474262
3dd599e
bd31934
16aef51
098b76b
1318045
66013cc
2d0d659
f7354ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
"@spectrum-css/helptext": major | ||
--- | ||
|
||
### Helptext S2 Migration | ||
|
||
The helptext S2 component has some updated spacing and typography tokens. The error message validation icon has also been updated. | ||
|
||
#### New mods | ||
|
||
`--mod-helptext-font-family` | ||
`--mod-helptext-font-style` | ||
`--mod-helptext-font-weight` | ||
`--mod-helptext-top-edge-to-workflow-icon` | ||
`--mod-helptext-bottom-edge-to-workflow-icon` | ||
|
||
#### Renamed mods | ||
|
||
`--mod-helptext-bottom-to-workflow-icon` >> `--mod-helptext-edge-to-workflow-icon` | ||
|
||
#### Deprecated tokens | ||
|
||
`--spectrum-help-text-top-to-workflow-icon-small` | ||
`--spectrum-help-text-top-to-workflow-icon-medium` | ||
`--spectrum-help-text-top-to-workflow-icon-large` | ||
`--spectrum-help-text-top-to-workflow-icon-extra-large` |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the top
and then further down (around L70/71), we also have:
Wouldn't it save us a couple of lines (or I guess, a line, really) and essentially behave the same to change that to something like:
There's not some specific reason I'm missing that we need it up at the top, is there? Honestly, not a huge deal, just more of a nit. Noting also this does not appear to have been introduced in the migration. |
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.
Only because we just talked about detailed changesets with SWC, should we list out any of the new or renamed mods created during this work? We were doing that back in the fall, but I think we got away from it after we had been focused on foundations for so long! Looks like it's probably only 3 new mods:
"--mod-helptext-font-family",
"--mod-helptext-font-style",
"--mod-helptext-font-weight",
and then one renamed:
"--mod-helptext-bottom-to-workflow-icon" >> "--mod-helptext-edge-to-workflow-icon",
You'd know better than me on those! It's up to you, I won't let it block my approval.