-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Components: Remove unused components from
/ui
(#52953)
* Components: Remove unused components from `/ui` * Update readme * Add changelog
- Loading branch information
Showing
42 changed files
with
7 additions
and
1,940 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
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 |
---|---|---|
@@ -1,22 +1,5 @@ | ||
# (Next) Component System | ||
# TODO | ||
|
||
This directory contains the code for next Component System. | ||
We want to get rid of this folder. Don't add anything new here. | ||
|
||
More information can be found in the original GitHub issue: | ||
https://github.com/WordPress/gutenberg/issues/27484 | ||
|
||
## Usage | ||
|
||
(This is still very much a work in progress) | ||
|
||
```jsx | ||
import { Text, View } from '@wordpress/components/ui'; | ||
|
||
function Example() { | ||
return ( | ||
<View> | ||
<Text>Code is Poetry</Text> | ||
</View> | ||
); | ||
} | ||
``` | ||
What is left of this folder should either be deleted (if unused elsewhere), or be moved into the root `packages/components/src` and `packages/components/src/utils` folders. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
packages/components/src/ui/control-group/test/__snapshots__/index.js.snap
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.