From 2eba7a8b2c13a8011f8442d3db81578120d21e2e Mon Sep 17 00:00:00 2001 From: dreamwasp Date: Thu, 12 Nov 2026 08:54:22 -0500 Subject: [PATCH] test(gamut): port the color stack's story edits for Modal, Menu and Tabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modal.stories: background-primary → surface-default, text-disabled → text-subtle (disabled text sits on the surface, per PR 34), and the beige placeholder boxes → surface-sunken. Menu.stories and Tabs.stories: palette primitives (hyper, navy, white, yellow) → roles. Flyout had no story or test edits on the stack. Co-Authored-By: Claude Haiku 5.5 --- packages/gamut/src/Menu/Menu.stories.tsx | 6 +++--- packages/gamut/src/Modals/Modal.stories.tsx | 14 +++++++------- packages/gamut/src/Tabs/Tabs.stories.tsx | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/gamut/src/Menu/Menu.stories.tsx b/packages/gamut/src/Menu/Menu.stories.tsx index 34b47e8c1c..6286ff40ca 100644 --- a/packages/gamut/src/Menu/Menu.stories.tsx +++ b/packages/gamut/src/Menu/Menu.stories.tsx @@ -309,7 +309,7 @@ export const IconOnly: Story = { icon={RatingStarCircleIcon} label={{ alignment: 'right-center', - info: I am bold and different, + info: I am bold and different, narrow: true, }} /> @@ -359,7 +359,7 @@ export const FloatingMenu: Story = { - + {activeIndex % 2 === 0 ? ( <> diff --git a/packages/gamut/src/Modals/Modal.stories.tsx b/packages/gamut/src/Modals/Modal.stories.tsx index a82cfba1bb..d8b8542b68 100644 --- a/packages/gamut/src/Modals/Modal.stories.tsx +++ b/packages/gamut/src/Modals/Modal.stories.tsx @@ -72,17 +72,17 @@ const GridContentPlaceholder = ({ }) => ( - - + + - + ); const ImageComponent = () => ( - + Try tabbing through the page - the modal container will maintain focus when you click the "Focus Modal Container" button. @@ -631,7 +631,7 @@ export const ConfirmationOnClose: Story = { {hasUnsavedChanges ? 'Mark as Saved' : 'Mark as Unsaved'} - + Toggle the unsaved state and try closing the modal to see the confirmation behavior.
Current state:{' '} @@ -649,7 +649,7 @@ export const ConfirmationOnClose: Story = { This modal shows a confirmation dialog when you try to close it with unsaved changes.
- + Current state:{' '} {hasUnsavedChanges ? 'Has unsaved changes' : 'All saved'} diff --git a/packages/gamut/src/Tabs/Tabs.stories.tsx b/packages/gamut/src/Tabs/Tabs.stories.tsx index d45d39fd6b..32c53cc5db 100644 --- a/packages/gamut/src/Tabs/Tabs.stories.tsx +++ b/packages/gamut/src/Tabs/Tabs.stories.tsx @@ -157,7 +157,7 @@ export const Controlled: Story = { return ( <> - +