From 43337d4f7f6e672c08b0f1ab8e2309047a137222 Mon Sep 17 00:00:00 2001 From: Nathan Panchout Date: Fri, 22 Aug 2025 10:15:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8(react)=20enhance=20FormExemples=20?= =?UTF-8?q?stories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update FormExemples stories with new css variables introduce with the new tokens architectures --- .../Examples/EdgeCases/index.stories.tsx | 8 +++---- .../Examples/ReactHookForm/Login.stories.tsx | 6 ++--- .../Examples/ReactHookForm/Sports.stories.tsx | 6 ++--- .../Forms/Examples/index.stories.tsx | 24 +++++++++---------- 4 files changed, 21 insertions(+), 23 deletions(-) diff --git a/packages/react/src/components/Forms/Examples/EdgeCases/index.stories.tsx b/packages/react/src/components/Forms/Examples/EdgeCases/index.stories.tsx index bf76103..b56a236 100644 --- a/packages/react/src/components/Forms/Examples/EdgeCases/index.stories.tsx +++ b/packages/react/src/components/Forms/Examples/EdgeCases/index.stories.tsx @@ -24,7 +24,7 @@ export const OverflowLabels = () => { }} >

Application @@ -64,9 +64,7 @@ export const OverflowLabels = () => {
-
- Your curriculum vitae -
+
Your curriculum vitae
{ Need help ? diff --git a/packages/react/src/components/Forms/Examples/ReactHookForm/Login.stories.tsx b/packages/react/src/components/Forms/Examples/ReactHookForm/Login.stories.tsx index 27e6d68..9e33790 100644 --- a/packages/react/src/components/Forms/Examples/ReactHookForm/Login.stories.tsx +++ b/packages/react/src/components/Forms/Examples/ReactHookForm/Login.stories.tsx @@ -52,7 +52,7 @@ export const Login = () => { onSubmit={methods.handleSubmit(onSubmit)} >

Log in @@ -84,9 +84,9 @@ export const Login = () => { />

-
+
You do not have an account?{" "} - + Register
diff --git a/packages/react/src/components/Forms/Examples/ReactHookForm/Sports.stories.tsx b/packages/react/src/components/Forms/Examples/ReactHookForm/Sports.stories.tsx index 9208e7b..8f8d19f 100644 --- a/packages/react/src/components/Forms/Examples/ReactHookForm/Sports.stories.tsx +++ b/packages/react/src/components/Forms/Examples/ReactHookForm/Sports.stories.tsx @@ -65,14 +65,14 @@ const SportsBase = ({ values }: SportProps) => { onSubmit={methods.handleSubmit(onSubmit)} >

Register

-
Gender
+
Gender
{ Need help ? diff --git a/packages/react/src/components/Forms/Examples/index.stories.tsx b/packages/react/src/components/Forms/Examples/index.stories.tsx index 4c4e104..a8ba748 100644 --- a/packages/react/src/components/Forms/Examples/index.stories.tsx +++ b/packages/react/src/components/Forms/Examples/index.stories.tsx @@ -25,7 +25,7 @@ export const Login = () => { }} >

Log in @@ -43,9 +43,9 @@ export const Login = () => {

-
+
You do not have an account?{" "} - + Register
@@ -65,7 +65,7 @@ export const Application = () => { method="get" >

Application @@ -102,7 +102,7 @@ export const Application = () => {

-
Your curriculum vitae
+
Your curriculum vitae
{ Need help ? @@ -163,13 +163,13 @@ export const Sports = () => { onSubmit={(e) => e.preventDefault()} >

Register