-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement PageLayout component (#1820)
* Scaffold pagelayout component * Apply base styles to storybook stories * Create subcomponents * Implement stacking behavior * Implement containerWidth prop * Implement outerSpacing prop * Implement rowGap and columnGap props * Implement sx prop * Updated control panel * Use tshirt sizes for spacing * Implement position and positionWhenNarrow props * Update spacing names * Implement header divider * Implement pane width prop * Implement contentWidth prop * Add comment about 'none' * Implement header divider (messy) * Implement divider component * Make dividers full width on narrow viewports * Implement row and column gap * Clean up * Add render subcomponent option to story * Export PageLayout from drafts * Update PageLayout docs * Create pink-flowers-raise.md * Add seperator role to horizontal divider * Add pull request page example * Update src/PageLayout/PageLayout.tsx * Implement sx prop * Update docs/content/drafts/PageLayout.mdx * Update docs/content/drafts/PageLayout.mdx * Fix merge conflict * Re-enable storybook html addon * Rename "outerSpacing" prop to "padding" * Add 'none' as a spacing option * Update drafts exports
- Loading branch information
Showing
9 changed files
with
848 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
Add draft `PageLayout` component |
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
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
Oops, something went wrong.