Skip to content

Commit

Permalink
(react-switch) - Adding MIGRATION.md (#19734)
Browse files Browse the repository at this point in the history
* Adding migration guide

* Change files
  • Loading branch information
czearing authored Sep 9, 2021
1 parent 92aa1d7 commit 9fcb642
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Updating MIGRATION.md file.",
"packageName": "@fluentui/react-slider",
"email": "[email protected]",
"dependentChangeType": "none"
}
40 changes: 20 additions & 20 deletions packages/react-slider/MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,26 @@ This Migration guide is a work in progress and is not yet ready for use.

### v8

| v8 `Link` | Converged `Link` |
| ----------------- | ---------------- |
| originFromZero | origin |
| ariaLabel | - |
| valueLabel | - |
| defaultLowerValue | - |
| lowerValue | - |
| showValue | - |
| onChanged | - |
| snapToStep | - |
| buttonProps | - |
| valueFormat | - |
| ranged | - |
| label | - |
| v8 `Slider` | Converged `Slider` |
| ----------------- | ------------------ |
| originFromZero | origin |
| ariaLabel | - |
| valueLabel | - |
| defaultLowerValue | - |
| lowerValue | - |
| showValue | - |
| onChanged | - |
| snapToStep | - |
| buttonProps | - |
| valueFormat | - |
| ranged | - |
| label | - |

### v0

| v0 `Link` | Converged `Link` |
| --------------------------- | ---------------- |
| inputRef | - |
| getA11yValueMessageOnChange | - |
| fluid | - |
| label | - |
| v0 `Slider` | Converged `Slider` |
| --------------------------- | ------------------ |
| inputRef | - |
| getA11yValueMessageOnChange | - |
| fluid | - |
| label | - |
28 changes: 28 additions & 0 deletions packages/react-switch/MIGRATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Switch Migration

## STATUS: WIP 🚧

This Migration guide is a work in progress and is not yet ready for use.

## Migration from v8

- `componentRef` => NOT SUPPORTED - use regular `ref` instead.
- `styles` => NOT SUPPORTED - use new styling system via `tokens` instead.
- `theme` => NOT SUPPORTED
- `label` => NOT SUPPORTED
- `labelPosition` => NOT SUPPORTED
- `onText` => NOT SUPPORTED
- `offText` => NOT SUPPORTED
- `ariaLabel` => NOT SUPPORTED
- `onAriaLabel` => NOT SUPPORTED
- `offAriaLabel` => NOT SUPPORTED
- `inlineLabel` => NOT SUPPORTED
- `onChanged` => NOT SUPPORTED
- `role` => NOT SUPPORTED

## Migration from v0

- `indicator` => NOT SUPPORTED
- `label` => NOT SUPPORTED
- `labelPosition` => NOT SUPPORTED
- `toggle` => NOT SUPPORTED

0 comments on commit 9fcb642

Please sign in to comment.