From 63d113348899feb6513721493bc55b9c8fbbcc94 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Thu, 8 Jan 2026 11:40:15 +0000 Subject: [PATCH 1/4] Uncomment Modal docs --- resources/js/stories/docs/Modal.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/js/stories/docs/Modal.mdx b/resources/js/stories/docs/Modal.mdx index 0c99901383..e9f799ee39 100644 --- a/resources/js/stories/docs/Modal.mdx +++ b/resources/js/stories/docs/Modal.mdx @@ -8,7 +8,6 @@ Display content in a layer above the main page. Ideal for confirmations, alerts, Docs coming soon. -{/* Todo ## Title @@ -29,4 +28,3 @@ You can use a custom footer by using the `#footer` slot. ## Arguments -*/} From f086ece78151f21cf17beb07e5542f7bf83d22fc Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Thu, 8 Jan 2026 11:43:59 +0000 Subject: [PATCH 2/4] docs are here --- resources/js/stories/docs/Modal.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/resources/js/stories/docs/Modal.mdx b/resources/js/stories/docs/Modal.mdx index e9f799ee39..04dc554938 100644 --- a/resources/js/stories/docs/Modal.mdx +++ b/resources/js/stories/docs/Modal.mdx @@ -6,8 +6,6 @@ import * as ModalStories from '../Modal.stories'; # Modal Display content in a layer above the main page. Ideal for confirmations, alerts, and forms. -Docs coming soon. - ## Title From e0c9f9bee9445d021a7a07171285785294bf0718 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Thu, 8 Jan 2026 11:46:45 +0000 Subject: [PATCH 3/4] Add z-index css variables for storybook --- .storybook/theme.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.storybook/theme.css b/.storybook/theme.css index d3e3ab47cd..36e4eb449e 100644 --- a/.storybook/theme.css +++ b/.storybook/theme.css @@ -32,6 +32,13 @@ manually copy them here. --theme-color-ui-accent-text: var(--theme-color-ui-accent-bg); --theme-color-switch-bg: var(--theme-color-ui-accent-bg); + --z-index-below: -1; + --z-index-above: 1; + --z-index-portal: 2; + --z-index-draggable: 3; + --z-index-modal: 4; + --z-index-max: 5; + &.dark { --theme-color-body-bg: oklch(0.21 0.006 285.885); --theme-color-body-border: oklch(0.141 0.005 285.823); From 5f1a043c17a7d92eaf15458e15ef644cf09340b5 Mon Sep 17 00:00:00 2001 From: Jason Varga Date: Thu, 8 Jan 2026 09:51:50 -0500 Subject: [PATCH 4/4] this was solving the same issue that bringing the z-index vars in would do, but only for stacks. --- .storybook/storybook.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.storybook/storybook.css b/.storybook/storybook.css index 038bee2445..a9d35510e0 100644 --- a/.storybook/storybook.css +++ b/.storybook/storybook.css @@ -51,7 +51,3 @@ .docs-story div[scale="1"] { transform: none !important; } - -.stacks-on-stacks { - z-index: 100; -}