Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Components: Remove unused components from /ui #52953

Merged
merged 3 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 3 additions & 20 deletions packages/components/src/ui/README.md
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.
23 changes: 0 additions & 23 deletions packages/components/src/ui/control-group/README.md

This file was deleted.

75 changes: 0 additions & 75 deletions packages/components/src/ui/control-group/component.js

This file was deleted.

8 changes: 0 additions & 8 deletions packages/components/src/ui/control-group/context.js

This file was deleted.

93 changes: 0 additions & 93 deletions packages/components/src/ui/control-group/hook.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/components/src/ui/control-group/index.js

This file was deleted.

43 changes: 0 additions & 43 deletions packages/components/src/ui/control-group/styles.js

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions packages/components/src/ui/control-group/test/index.js

This file was deleted.

29 changes: 0 additions & 29 deletions packages/components/src/ui/control-group/types.ts

This file was deleted.

Loading
Loading