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 View #61074

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Remove "experimental" designation for View
  • Loading branch information
fullofcaffeine committed Apr 25, 2024
commit 63afb64bfb8580101b3e2ae3f6c22e751fec92f7
8 changes: 7 additions & 1 deletion packages/components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,13 @@ export {
useCustomUnits as __experimentalUseCustomUnits,
parseQuantityAndUnitFromRawValue as __experimentalParseQuantityAndUnitFromRawValue,
} from './unit-control';
export { View as __experimentalView } from './view';
export {
/**
* @deprecated Import `View` instead.
*/
View as __experimentalView,
View,
} from './view';
export { VisuallyHidden } from './visually-hidden';
export { VStack as __experimentalVStack } from './v-stack';
export { default as IsolatedEventContainer } from './isolated-event-container';
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/spacer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This feature is still experimental. “Experimental” means this is an early im
import {
__experimentalSpacer as Spacer,
__experimentalHeading as Heading,
__experimentalView as View,
View,
} from '@wordpress/components';

function Example() {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This feature is still experimental. “Experimental” means this is an early im
```jsx
import {
__experimentalText as Text,
__experimentalView as View,
View,
} from '@wordpress/components';

function Example() {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/view/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { View } from '..';

const meta: Meta< typeof View > = {
component: View,
title: 'Components (Experimental)/View',
title: 'Components/View',
argTypes: {
as: { control: { type: null } },
children: { control: { type: 'text' } },
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', 'vstack' ];
const REDIRECTS = [
{
from: /\/components-deprecated-/,
Expand Down
Loading