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: Assess stabilization of TreeGrid #61069

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- `TreeGrid`: Remove "experimental" designation ([#61069](https://github.com/WordPress/gutenberg/pull/61069)).

### Enhancements

- `InputControl`: Add a password visibility toggle story ([#60898](https://github.com/WordPress/gutenberg/pull/60898)).
Expand Down
16 changes: 16 additions & 0 deletions packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,26 @@ export {
} from './tools-panel';
export { default as Tooltip } from './tooltip';
export {
/**
* @deprecated Import `TreeGrid` instead.
*/
default as __experimentalTreeGrid,
/**
* @deprecated Import `TreeGridRow` instead.
*/
TreeGridRow as __experimentalTreeGridRow,
/**
* @deprecated Import `TreeGridCell` instead.
*/
TreeGridCell as __experimentalTreeGridCell,
/**
* @deprecated Import `TreeGridItem` instead.
*/
TreeGridItem as __experimentalTreeGridItem,
default as TreeGrid,
TreeGridRow,
TreeGridCell,
TreeGridItem,
} from './tree-grid';
export { default as TreeSelect } from './tree-select';
export { Truncate as __experimentalTruncate } from './truncate';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { Button } from '../../button';
import InputControl from '../../input-control';

const meta: Meta< typeof TreeGrid > = {
title: 'Components (Experimental)/TreeGrid',
title: 'Components/TreeGrid',
component: TreeGrid,
// @ts-expect-error - See https://github.com/storybookjs/storybook/issues/23170
subcomponents: { TreeGridRow, TreeGridCell },
Expand Down
2 changes: 1 addition & 1 deletion storybook/manager-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script>
( function redirectIfStoryMoved() {
const PREVIOUSLY_EXPERIMENTAL_COMPONENTS = [ 'navigation' ];
const PREVIOUSLY_EXPERIMENTAL_COMPONENTS = [ 'navigation', 'treegrid' ];
const REDIRECTS = [
{
from: /\/components-deprecated-/,
Expand Down
Loading