-
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-paragraph (#629)
- Loading branch information
Showing
1 changed file
with
36 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,36 @@ | ||
# Migration Guide: From `ui-paragraph` to `sd-paragraph` | ||
|
||
The new `sd-paragraph` is designed to replace the `ui-paragraph`. Rather than offering a complex component structure, they primarily focus on providing CSS styles for paragraph elements. | ||
|
||
## 💾 Slots | ||
|
||
### ❌ Removed Slots | ||
|
||
The following slots have been removed from the new sd-paragraph component: | ||
|
||
1. [default] | ||
|
||
<hr /> | ||
|
||
## ⚙️ Attributes | ||
|
||
### ❌ Removed Attributes | ||
|
||
The following attributes have been removed from the new sd-paragraph component: | ||
|
||
1. [columns] | ||
|
||
<hr /> | ||
## 🎨 CSS Classes | ||
|
||
### ✨ New CSS Classes | ||
|
||
#### [sd-paragraph--size-sm] | ||
|
||
This class sets a smaller paragraph size. You can use this option for a smaller font size to accomodate smaller container/screen sizes. | ||
|
||
#### [sd-paragraph--inverted] | ||
|
||
This class inverts the paragraph element. | ||
|
||
<hr /> |