From 3c64c797999458e4d9cfc5bb32e616939fe91ac4 Mon Sep 17 00:00:00 2001 From: Francis Thibault Date: Wed, 2 Oct 2024 20:58:57 -0400 Subject: [PATCH 1/2] added migration notes for inline and stack component --- apps/docs/content/components/layout/Inline.mdx | 4 ++++ apps/docs/content/components/layout/Stack.mdx | 4 ++++ packages/components/src/layout/docs/inline/migration-notes.md | 3 +++ packages/components/src/layout/docs/stack/migration-notes.md | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 packages/components/src/layout/docs/inline/migration-notes.md create mode 100644 packages/components/src/layout/docs/stack/migration-notes.md diff --git a/apps/docs/content/components/layout/Inline.mdx b/apps/docs/content/components/layout/Inline.mdx index a93d5ecdd..182d534ff 100644 --- a/apps/docs/content/components/layout/Inline.mdx +++ b/apps/docs/content/components/layout/Inline.mdx @@ -63,3 +63,7 @@ Inline items can be aligned on the vertical axis. TODO: Example of creating a custom version of this component + +## Migration Notes + + diff --git a/apps/docs/content/components/layout/Stack.mdx b/apps/docs/content/components/layout/Stack.mdx index 15607de1e..4b38a4a3c 100644 --- a/apps/docs/content/components/layout/Stack.mdx +++ b/apps/docs/content/components/layout/Stack.mdx @@ -63,3 +63,7 @@ Stack items can be aligned on the vertical axis. TODO: Example of creating a custom version of this component + +## Migration Notes + + diff --git a/packages/components/src/layout/docs/inline/migration-notes.md b/packages/components/src/layout/docs/inline/migration-notes.md new file mode 100644 index 000000000..0683043c9 --- /dev/null +++ b/packages/components/src/layout/docs/inline/migration-notes.md @@ -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 language. This value should eventually be updated to `1rem` / `var(--hop-space-inline-md)` to align with the new design standards. diff --git a/packages/components/src/layout/docs/stack/migration-notes.md b/packages/components/src/layout/docs/stack/migration-notes.md new file mode 100644 index 000000000..62638a1e2 --- /dev/null +++ b/packages/components/src/layout/docs/stack/migration-notes.md @@ -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 language. This value should eventually be updated to `1rem` / `var(--hop-space-stack-md)` to align with the new design standards. From b0adef2dd4b7f363b76b4aa8265f0b5c900c0b2a Mon Sep 17 00:00:00 2001 From: Francis Thibault Date: Thu, 3 Oct 2024 12:43:42 -0400 Subject: [PATCH 2/2] updated migration notes --- packages/components/src/layout/docs/inline/migration-notes.md | 2 +- packages/components/src/layout/docs/stack/migration-notes.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/layout/docs/inline/migration-notes.md b/packages/components/src/layout/docs/inline/migration-notes.md index 0683043c9..17de8f86c 100644 --- a/packages/components/src/layout/docs/inline/migration-notes.md +++ b/packages/components/src/layout/docs/inline/migration-notes.md @@ -1,3 +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 language. This value should eventually be updated to `1rem` / `var(--hop-space-inline-md)` to align with the new design standards. +- 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. diff --git a/packages/components/src/layout/docs/stack/migration-notes.md b/packages/components/src/layout/docs/stack/migration-notes.md index 62638a1e2..9c8979d0c 100644 --- a/packages/components/src/layout/docs/stack/migration-notes.md +++ b/packages/components/src/layout/docs/stack/migration-notes.md @@ -1,3 +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 language. This value should eventually be updated to `1rem` / `var(--hop-space-stack-md)` to align with the new design standards. +- 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.