-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: 📚 add migration guide for sd-leadtext (#630)
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 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,35 @@ | ||
# Migration Guide: From `ui-leadtext` to `sd-leadtext` | ||
|
||
The new `sd-leadtext` is designed to replace the `ui-leadtext`. Rather than offering a complex component structure, they primarily focus on providing CSS styles to highlight important text. | ||
|
||
## 💾 Slots | ||
|
||
### ❌ Removed Slots | ||
|
||
The following slots have been removed from the new sd-leadtext component: | ||
|
||
1. [default] | ||
|
||
<hr /> | ||
|
||
### ❌ Removed Attributes | ||
|
||
The following attributes have been removed from the new sd-leadtext component: | ||
|
||
1. [variant] | ||
|
||
<hr /> | ||
|
||
## 🎨 CSS Classes | ||
|
||
### ✨ New CSS Classes | ||
|
||
#### [sd-leadtext--size-lg] | ||
|
||
This class sets the size of the leadtext element. You can use this option for a larger text size to accomodate smaller container/screen sizes. | ||
|
||
#### [sd-leadtext--inverted] | ||
|
||
This class inverts the leadtext text. | ||
|
||
<hr /> |