From d71d63e29504a35f813ad793db05f062c47cdb27 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Mon, 21 Jul 2025 13:05:17 +0100 Subject: [PATCH] Add support for legend Signed-off-by: Charles de Dreuille --- packages/ui/report.api.md | 3 ++- packages/ui/src/components/Text/types.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index 2e0fbe72c5..690b469df3 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -1698,7 +1698,8 @@ export type TextOwnProps = { | 'div' | 'strong' | 'em' - | 'small'; + | 'small' + | 'legend'; variant?: TextVariants | Partial>; weight?: TextWeights | Partial>; color?: diff --git a/packages/ui/src/components/Text/types.ts b/packages/ui/src/components/Text/types.ts index 96f354834c..e0b0e4aa32 100644 --- a/packages/ui/src/components/Text/types.ts +++ b/packages/ui/src/components/Text/types.ts @@ -38,7 +38,8 @@ export type TextOwnProps = { | 'div' | 'strong' | 'em' - | 'small'; + | 'small' + | 'legend'; variant?: TextVariants | Partial>; weight?: TextWeights | Partial>; color?: