From 5f709af7cd8112f4c1c5625a914167d899f76763 Mon Sep 17 00:00:00 2001 From: Max Frederiksen <max.frederiksen@ess.eu> Date: Thu, 6 Mar 2025 11:24:05 +0100 Subject: [PATCH] CE-3691: Add lab radio option to stories --- src/stories/common/AlertBanner/AlertBanner.stories.jsx | 8 ++++---- .../navigation/ButtonAppBar/ButtonAppBar.stories.jsx | 3 ++- .../navigation/GlobalAppBar/GlobalAppBar.stories.jsx | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/stories/common/AlertBanner/AlertBanner.stories.jsx b/src/stories/common/AlertBanner/AlertBanner.stories.jsx index a5725cc0..73929c64 100644 --- a/src/stories/common/AlertBanner/AlertBanner.stories.jsx +++ b/src/stories/common/AlertBanner/AlertBanner.stories.jsx @@ -11,7 +11,7 @@ export default { export const Default = (args) => <AlertBanner {...args} />; Default.args = { - type: "warning", + type: "WARNING", message: "Your custom message here" }; @@ -32,15 +32,15 @@ ManyAlerts.argTypes = { ManyAlerts.args = { alerts: [ { - type: "info", + type: "INFO", message: "Your info message here" }, { - type: "warning", + type: "WARNING", message: "Your warning message here" }, { - type: "error", + type: "ERROR", message: "Your error message here", link: "#" } diff --git a/src/stories/navigation/ButtonAppBar/ButtonAppBar.stories.jsx b/src/stories/navigation/ButtonAppBar/ButtonAppBar.stories.jsx index d3e55bdb..ccb00a1e 100644 --- a/src/stories/navigation/ButtonAppBar/ButtonAppBar.stories.jsx +++ b/src/stories/navigation/ButtonAppBar/ButtonAppBar.stories.jsx @@ -18,7 +18,8 @@ export default { Environment.PROD, Environment.TEST, Environment.DEMO, - Environment.LOCAL + Environment.LOCAL, + Environment.LAB ], control: { type: "radio" } } diff --git a/src/stories/navigation/GlobalAppBar/GlobalAppBar.stories.jsx b/src/stories/navigation/GlobalAppBar/GlobalAppBar.stories.jsx index cdd13d32..7805adb2 100644 --- a/src/stories/navigation/GlobalAppBar/GlobalAppBar.stories.jsx +++ b/src/stories/navigation/GlobalAppBar/GlobalAppBar.stories.jsx @@ -26,6 +26,7 @@ export default { environment: { options: [ Environment.PROD, + Environment.LAB, Environment.TEST, Environment.DEMO, Environment.LOCAL -- GitLab