Feat/layout/init component - #3266
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 66fffec The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
eikeland
force-pushed
the
feat/layout/init-component
branch
from
June 29, 2026 14:09
e4f6c5e to
4b79394
Compare
eikeland
force-pushed
the
feat/layout/init-component
branch
from
July 1, 2026 11:55
39fe363 to
f4be5b5
Compare
eikeland
marked this pull request as ready for review
July 1, 2026 11:55
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the initial @equinor/fusion-react-layout package to this monorepo, providing React wrappers around Fusion layout/page web components, plus Storybook documentation and workspace wiring so the new package is consumable and demoed alongside existing components.
Changes:
- Introduces
packages/layoutwithLayout+Pagecomponents (including slot/compound subcomponents) and package metadata/docs. - Integrates the new package into Storybook (dependency, TS project reference, new stories + MDX docs page).
- Adds a changeset (minor) and updates the lockfile to include the new workspace package and wc dependencies.
Reviewed changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| storybook/tsconfig.json | Adds TS project reference so Storybook can typecheck/resolve the new workspace package. |
| storybook/src/stories/layout/layout.stories.tsx | Adds Storybook stories demonstrating Layout/Page usage patterns. |
| storybook/src/stories/layout/layout.mdx | Adds docs page pulling in package README + changelog and rendering story canvases. |
| storybook/package.json | Adds @equinor/fusion-react-layout as a Storybook workspace dependency. |
| packages/layout/tsconfig.json | Adds TS build config for the new package and references utils. |
| packages/layout/src/index.ts | Exposes the new components from the package entrypoint. |
| packages/layout/src/components/layout/index.tsx | Implements Layout wrapper + compound slot helpers. |
| packages/layout/src/components/page/index.tsx | Implements Page wrapper + compound slot helpers. |
| packages/layout/README.md | Adds installation and usage documentation. |
| packages/layout/package.json | Defines package metadata/exports/dependencies for publishing. |
| packages/layout/CHANGELOG.md | Initializes changelog file. |
| bun.lock | Records new workspace package and dependency graph changes. |
| .changeset/fusion-react-layout_initial-layout-components.md | Adds minor changeset for publishing the new package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Noggling
approved these changes
Jul 1, 2026
asbjornhaland
approved these changes
Jul 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the first version of
@equinor/fusion-react-layout, providing React wrappers for Fusion layout and page web components.Changes
LayoutwithLayout.SidebarandLayout.Contentcomposition helpers.PagewithPage.Header,Page.Main, andPage.Footerslots for structured page content.Testing
git diff --check -- .changeset/fusion-react-layout_initial-layout-components.md.