Skip to content

Commit

Permalink
docs: add sd-quote migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahid1919 committed Nov 28, 2023
1 parent 5d2f5b0 commit 32e3e25
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions packages/components/src/docs/Migration/ui-quotation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Migration Guide: From `ui-quotation` to `sd-quote`

The new `sd-quote` is designed to replace the `ui-quotation`. This transitions away from a component with attributes in favor of a pattern that encourages reusability. This pattern uses a combination of components to create `sd-quote`. You can take a look at the pattern [here](https://solid-design-system.fe.union-investment.de/x.x.x/storybook/?path=/docs/pattern-quote--docs) and use the pattern in your project.

## 💾 Slots

### ❌ Removed Slots

The following slots have been removed from the new sd-quote component:

1. [default]

<hr />

## ⚙️ Attributes

### ❌ Removed Attributes

The following attributes have been removed from the new sd-quote component:

1. [copyright]
2. [image-focal-point-x]
3. [image-focal-point-y]
4. [img-alt]
5. [img-src]
6. [person-description]
7. [person-image]
8. [person-name]
9. [quotation-position-x]
10. [quotation-position-y]
11. [replace]
12. [sizes]
13. [variant]

<hr />

## 🧪 Methods

### ❌ Removed Methods:

The following methods have been removed from the new sd-quote component:

1. [componentWillLoad]
2. [componentDidLoad]
3. [availableSpace]
4. [clamp]
5. [createMeta]

<hr />

0 comments on commit 32e3e25

Please sign in to comment.