-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: dialog t-shirt sizing (#3322)
- adds deprecation notice for --small/--medium/--large class names, in favor of the t-shirt sizing class names. - create changeset - updates metadata.json
- Loading branch information
1 parent
3e5c46e
commit ffc6895
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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,13 @@ | ||
--- | ||
"@spectrum-css/dialog": patch | ||
--- | ||
|
||
Dialog t-shirt sizes | ||
|
||
Adds support for t-shirt sizing class names to dialog CSS. `@deprecated` comments were added to communicate that the old class names (`--small`, `--medium`, and `--large`) will be removed in S2. | ||
|
||
| old class name | new class name | | ||
| ----------------------- | ------------------------------------------------------ | | ||
| spectrum-Dialog--small | spectrum-Dialog--sizeS | | ||
| spectrum-Dialog--medium | spectrum-Dialog (the default, so no size is necessary) | | ||
| spectrum-Dialog--large | spectrum-Dialog--sizeL | |
This file contains 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 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