= args => ;
-const ValueLabelTemplate: StoryFn<{}> = args => (
- A ValueLabel is here
-);
+export const Default = Template.bind({});
+Default.args = {
+ children: 'Actual Value',
+};
+Default.storyName = 'Basic ValueLabel';
-export const ValueLabel = ValueLabelTemplate.bind({});
+export const LongText = Template.bind({});
+LongText.args = {
+ children:
+ 'This is a very long value string to observe how it behaves with word breaks and potential wrapping within its container, especially focusing on the `wordBreak: break-word` style.',
+};
+LongText.storyName = 'Long ValueLabel Text';
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.DefaultFormat.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.DefaultFormat.stories.storyshot
new file mode 100644
index 00000000000..826663fb5c4
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.DefaultFormat.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.MuchOlderMiniTimestamp.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.MuchOlderMiniTimestamp.stories.storyshot
new file mode 100644
index 00000000000..680c277e594
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.MuchOlderMiniTimestamp.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.OlderBrief.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.OlderBrief.stories.storyshot
new file mode 100644
index 00000000000..927cf3f7cac
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.OlderBrief.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentBrief.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentBrief.stories.storyshot
new file mode 100644
index 00000000000..826663fb5c4
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentBrief.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentMini.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentMini.stories.storyshot
new file mode 100644
index 00000000000..ebd2b5117a4
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.RecentMini.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.WithCustomIconProps.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.WithCustomIconProps.stories.storyshot
new file mode 100644
index 00000000000..9c0b6c55bbd
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/DateLabel.WithCustomIconProps.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.Default.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.Default.stories.storyshot
new file mode 100644
index 00000000000..533cb736fd9
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.Default.stories.storyshot
@@ -0,0 +1,30 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.NumericValue.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.NumericValue.stories.storyshot
new file mode 100644
index 00000000000..cc25aaca3f8
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.NumericValue.stories.storyshot
@@ -0,0 +1,30 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.ShortLabelAndValue.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.ShortLabelAndValue.stories.storyshot
new file mode 100644
index 00000000000..c4f1b1648fa
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.ShortLabelAndValue.stories.storyshot
@@ -0,0 +1,30 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.WithTooltip.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.WithTooltip.stories.storyshot
new file mode 100644
index 00000000000..b4db45fab48
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HeaderLabel.WithTooltip.stories.storyshot
@@ -0,0 +1,33 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomIconProps.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomIconProps.stories.storyshot
new file mode 100644
index 00000000000..b5242df323e
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomIconProps.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
+
+ Label with Big Icon
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomLabelStyling.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomLabelStyling.stories.storyshot
new file mode 100644
index 00000000000..b8d1d08b586
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.CustomLabelStyling.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
+
+ Important System Label
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.Default.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.Default.stories.storyshot
new file mode 100644
index 00000000000..ab111afdfe5
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.Default.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
+
+ Creation Timestamp
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.IconAtStart.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.IconAtStart.stories.storyshot
new file mode 100644
index 00000000000..ad38eda983e
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.IconAtStart.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
+
+ Information First
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithCustomIcon.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithCustomIcon.stories.storyshot
new file mode 100644
index 00000000000..cbd1b0e9059
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithCustomIcon.stories.storyshot
@@ -0,0 +1,15 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithReactNodeAsHoverInfo.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithReactNodeAsHoverInfo.stories.storyshot
new file mode 100644
index 00000000000..f59a0c02222
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/HoverInfoLabel.WithReactNodeAsHoverInfo.stories.storyshot
@@ -0,0 +1,14 @@
+
+
+
+
+ Complex Information
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.LongNameAndValue.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.LongNameAndValue.stories.storyshot
new file mode 100644
index 00000000000..6bf35a36072
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.LongNameAndValue.stories.storyshot
@@ -0,0 +1,27 @@
+
+
+
+
+
+ This is a very long property name to demonstrate how it behaves within the grid layout used by InfoLabel
+
+
+
+
+
+ This is a correspondingly long property value that should also wrap or be handled appropriately by the layout and typography settings.
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.OnlyName.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.OnlyName.stories.storyshot
new file mode 100644
index 00000000000..cb1ade1557d
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.OnlyName.stories.storyshot
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Property With No Explicit Value
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithReactNodeValue.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithReactNodeValue.stories.storyshot
new file mode 100644
index 00000000000..bff19a3d4ec
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithReactNodeValue.stories.storyshot
@@ -0,0 +1,31 @@
+
+
+
+
+
+ Complex Property
+
+
+
+
+
+ This is a
+
+ custom React node
+
+ value.
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithStringValue.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithStringValue.stories.storyshot
new file mode 100644
index 00000000000..d68ba76a774
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/InfoLabel.WithStringValue.stories.storyshot
@@ -0,0 +1,27 @@
+
+
+
+
+
+ Property Name
+
+
+
+
+
+ Property Value
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.Default.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.Default.stories.storyshot
new file mode 100644
index 00000000000..b1e24c28838
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.Default.stories.storyshot
@@ -0,0 +1,9 @@
+
+
+
+ Label Name
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.LongText.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.LongText.stories.storyshot
new file mode 100644
index 00000000000..90298f77a3f
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/NameLabel.LongText.stories.storyshot
@@ -0,0 +1,9 @@
+
+
+
+ This is a much longer label name to demonstrate text wrapping or truncation behavior inherent to the component or its typical usage context, if any specific styling is applied by default.
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Error.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Error.stories.storyshot
index 04d948668f8..00bd372256b 100644
--- a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Error.stories.storyshot
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Error.stories.storyshot
@@ -1,9 +1,13 @@
-
- error
-
+
+ Failed
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.LongTextStatus.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.LongTextStatus.stories.storyshot
new file mode 100644
index 00000000000..e6a2bcff655
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.LongTextStatus.stories.storyshot
@@ -0,0 +1,13 @@
+
+
+
+
+ This is a rather long status message that might need to wrap or be handled by its container.
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Neutral.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Neutral.stories.storyshot
new file mode 100644
index 00000000000..c0043db488e
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Neutral.stories.storyshot
@@ -0,0 +1,13 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Success.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Success.stories.storyshot
index b56672e5596..5fd8d83bd57 100644
--- a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Success.stories.storyshot
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Success.stories.storyshot
@@ -1,9 +1,13 @@
-
- success
-
+
+ Ready
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Warning.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Warning.stories.storyshot
index 82730685078..df6efe6c134 100644
--- a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Warning.stories.storyshot
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.Warning.stories.storyshot
@@ -1,9 +1,13 @@
-
- warning
-
+
+ Pending
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.WithIcon.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.WithIcon.stories.storyshot
new file mode 100644
index 00000000000..d3780e9fe0f
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/StatusLabel.WithIcon.stories.storyshot
@@ -0,0 +1,13 @@
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.Default.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.Default.stories.storyshot
new file mode 100644
index 00000000000..c7aa9c1c6a8
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.Default.stories.storyshot
@@ -0,0 +1,9 @@
+
+
+
+ Actual Value
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.LongText.stories.storyshot b/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.LongText.stories.storyshot
new file mode 100644
index 00000000000..e08bb6f85a7
--- /dev/null
+++ b/frontend/src/components/common/Label.stories/__snapshots__/ValueLabel.LongText.stories.storyshot
@@ -0,0 +1,9 @@
+
+
+
+ This is a very long value string to observe how it behaves with word breaks and potential wrapping within its container, especially focusing on the `wordBreak: break-word` style.
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/common/Label.tsx b/frontend/src/components/common/Label.tsx
index e5cc2b0ea75..a6e2e3ce6dd 100644
--- a/frontend/src/components/common/Label.tsx
+++ b/frontend/src/components/common/Label.tsx
@@ -26,6 +26,7 @@ import { LightTooltip, TooltipIcon } from './Tooltip';
export interface InfoLabelProps {
name: string;
value?: string | null;
+ children?: React.ReactNode;
}
export function InfoLabel(props: React.PropsWithChildren) {