From cdffe11916a5bbb4ff8f9624074fbcabef3adaae Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Tue, 29 Oct 2024 14:31:50 +0100 Subject: [PATCH 1/3] fix(Text): Only apply `elementType` when RAC Text component is used. --- packages/components/src/Text/Text.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/Text/Text.tsx b/packages/components/src/Text/Text.tsx index 9f07e28f29..a8c4909eac 100644 --- a/packages/components/src/Text/Text.tsx +++ b/packages/components/src/Text/Text.tsx @@ -74,7 +74,7 @@ const _Text = ({ return ( Date: Tue, 29 Oct 2024 14:46:18 +0100 Subject: [PATCH 2/3] update snapshots --- packages/components/src/Text/Text.test.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/components/src/Text/Text.test.tsx b/packages/components/src/Text/Text.test.tsx index ef4dc027a0..72a0a2b8b5 100644 --- a/packages/components/src/Text/Text.test.tsx +++ b/packages/components/src/Text/Text.test.tsx @@ -94,7 +94,6 @@ test('get theme color', () => {
`); From daf9568d70c5df57e9053dfc87bd8afa7c426f36 Mon Sep 17 00:00:00 2001 From: Sebastian Sebald Date: Tue, 29 Oct 2024 14:46:39 +0100 Subject: [PATCH 3/3] Create dirty-flies-tan.md --- .changeset/dirty-flies-tan.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/dirty-flies-tan.md diff --git a/.changeset/dirty-flies-tan.md b/.changeset/dirty-flies-tan.md new file mode 100644 index 0000000000..bf85a5d264 --- /dev/null +++ b/.changeset/dirty-flies-tan.md @@ -0,0 +1,5 @@ +--- +"@marigold/components": patch +--- + +fix(Text): Only apply `elementType` when RAC Text component is used.