Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
16 changes: 8 additions & 8 deletions docs/reference-guides/slotfills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,19 +314,19 @@ export default function PostSummary( { onActionPerformed } ) {
<PluginPostStatusInfo.Slot>
{ ( fills ) => (
<>
<VStack spacing={ 4 }>
<Stack direction="column" gap="lg">
<PostCardPanel
onActionPerformed={ onActionPerformed }
/>
<PostFeaturedImagePanel withPanelBody={ false } />
<PostExcerptPanel />
<VStack spacing={ 1 }>
<Stack direction="column" gap="xs">
<PostContentInformation />
<PostLastEditedPanel />
</VStack>
</Stack>
{ ! isRemovedPostStatusPanel && (
<VStack spacing={ 2 }>
<VStack spacing={ 1 }>
<Stack direction="column" gap="sm">
<Stack direction="column" gap="xs">
<PostStatusPanel />
<PostSchedulePanel />
<PostURLPanel />
Expand All @@ -340,12 +340,12 @@ export default function PostSummary( { onActionPerformed } ) {
<SiteDiscussion />
<PostFormatPanel />
<PostStickyPanel />
</VStack>
</Stack>
<TemplateAreas />
{ fills }
</VStack>
</Stack>
) }
</VStack>
</Stack>
</>
) }
</PluginPostStatusInfo.Slot>
Expand Down
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/link-control/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,14 +275,14 @@ If passed, children are rendered after the input.

```jsx
<LinkControlSearchInput>
<HStack justify="right">
<Stack justify="flex-end">
<Button
type="submit"
label={ __( 'Submit' ) }
icon={ keyboardReturn }
className="block-editor-link-control__search-submit"
/>
</HStack>
</Stack>
</LinkControlSearchInput>
```

Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/divider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import {

function Example() {
return (
<VStack spacing={4}>
<Stack direction="column" gap="lg">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should update the import statements above.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 2538b7d

<Text>Some text here</Text>
<Divider />
<Text>Some more text here</Text>
</VStack>
</Stack>
);
}
```
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/flex/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const meta: Meta< typeof Flex > = {
componentStatus: {
status: 'not-recommended',
whereUsed: 'global',
notes: 'Planned for deprecation. For use cases not covered by `HStack` and `VStack`, write your own CSS.',
notes: 'Planned for deprecation. For use cases not covered by `Stack` from `@wordpress/ui`, write your own CSS.',
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/h-stack/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ const meta: Meta< typeof HStack > = {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'stable',
status: 'not-recommended',
whereUsed: 'global',
notes: 'Will be superseded by `Stack` in `@wordpress/ui`, but continue using for now.',
notes: 'Use `Stack` from `@wordpress/ui` instead.',
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions packages/components/src/v-stack/stories/index.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ const meta: Meta< typeof VStack > = {
controls: { expanded: true },
docs: { canvas: { sourceState: 'shown' } },
componentStatus: {
status: 'stable',
status: 'not-recommended',
whereUsed: 'global',
notes: 'Will be superseded by `Stack` in `@wordpress/ui`, but continue using for now.',
notes: 'Use `Stack` from `@wordpress/ui` instead.',
},
},
};
Expand Down
Loading