Skip to content

Commit

Permalink
Removing deprecated experimental components (#16961)
Browse files Browse the repository at this point in the history
#### Pull request checklist

- [ ] Addresses an existing issue: Fixes #0000
- [x] Include a change request file using `$ yarn change`

#### Description of changes

This PR does a couple of things:
- Removes the previous experimental implementation of `Card` since it was never officially supported and it's not being worked on, and moves the WIP converged one from the `next` folder to be the default export in the `@fluentui/react-cards` package.
- Removes the `Button`, `MenuButton`, `SplitButton` and `Toggle` experimental components from the `@fluentui/react-experiments` package since they were never officially supported and are not being worked on.
- Deprecates the `Slider` experimental component in the `@fluentui/react-experiments` package  since it was never officially supported and it's not being worked on but contains changes that might be worth looking into when developing the converged version (hence the reason for deprecation but not removal).
- Updates the `MicroFeedback` component in the `@fluentui/react-experiments` package to use the `Button` component from `@fluentui/react` instead of the one we're removing from `@fluentui/react-experiments`.
- Removes the examples and vr-tests related to the removed components and updates imports for the examples related to the WIP converged `Card`.
- Removes the `Slots` related examples from the previous `foundation` work.
  • Loading branch information
khmakoto authored Feb 13, 2021
1 parent 47e86c8 commit 2720569
Show file tree
Hide file tree
Showing 155 changed files with 426 additions and 12,962 deletions.
437 changes: 68 additions & 369 deletions apps/vr-tests/src/stories/Card.stories.tsx

Large diffs are not rendered by default.

88 changes: 0 additions & 88 deletions apps/vr-tests/src/stories/CardNext.stories.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "[BREAKING] Removing previous experimental implementation of Card and moving the version in the next folder to be the default export.",
"packageName": "@fluentui/react-cards",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Removing examples of removed components.",
"packageName": "@fluentui/react-examples",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "[BREAKING] Removing Button, MenuButton, SplitButton and Toggle components. Deprecating Slider component. Updating MicroFeedback component to use Button in @fluentui/react instead of the removed Button in @fluentui/react-experiments.",
"packageName": "@fluentui/react-experiments",
"email": "[email protected]",
"dependentChangeType": "patch"
}
7 changes: 2 additions & 5 deletions packages/react-cards/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": ["plugin:@fluentui/eslint-plugin/react--legacy"],
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
"extends": ["plugin:@fluentui/eslint-plugin/react"],
"root": true
}
Loading

0 comments on commit 2720569

Please sign in to comment.