Skip to content

Commit

Permalink
added migration notes for inline and stack component (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs authored Oct 3, 2024
2 parents 69c1608 + b0adef2 commit bfb8720
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/docs/content/components/layout/Inline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ Inline items can be aligned on the vertical axis.

TODO: Example of creating a custom version of this component
</FeatureFlag>

## Migration Notes

<MigrateGuide src="layout/docs/inline/migration-notes" />
4 changes: 4 additions & 0 deletions apps/docs/content/components/layout/Stack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ Stack items can be aligned on the vertical axis.

TODO: Example of creating a custom version of this component
</FeatureFlag>

## Migration Notes

<MigrateGuide src="layout/docs/stack/migration-notes" />
3 changes: 3 additions & 0 deletions packages/components/src/layout/docs/inline/migration-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Coming from Orbiter, you should be aware of the following change:

- The default `gap` value has been reduced to `1rem` / `var(--hop-space-inline-md)` from `1.25rem`. Use `UNSAFE_gap="1.25rem"` as a temporary measure during the migration to the Hopper design system. This value should eventually be removed to align with the new design standards.
3 changes: 3 additions & 0 deletions packages/components/src/layout/docs/stack/migration-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Coming from Orbiter, you should be aware of the following change:

- The default `gap` value has been reduced to `1rem` / `var(--hop-space-stack-md)` from `1.25rem`. Use `UNSAFE_gap="1.25rem"` as a temporary measure during the migration to the Hopper design system. This value should eventually be removed to align with the new design standards.

0 comments on commit bfb8720

Please sign in to comment.