From db6d4e029383ae2b56d369d4e26b0b285e0a0771 Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Fri, 19 Jul 2024 16:39:28 +0200 Subject: [PATCH 1/2] :sparkles: every button on design system --- .../Components/Layouts/DesignSystem/index.tsx | 482 ++++++++++++++++-- 1 file changed, 440 insertions(+), 42 deletions(-) diff --git a/src/front/Components/Layouts/DesignSystem/index.tsx b/src/front/Components/Layouts/DesignSystem/index.tsx index 880e89ba..813921d7 100644 --- a/src/front/Components/Layouts/DesignSystem/index.tsx +++ b/src/front/Components/Layouts/DesignSystem/index.tsx @@ -161,136 +161,534 @@ export default function DesignSystem() { Buttons
-
- + + +
+
+ + + +
+
+
- + + +
+
+ + + +
+
+
- + + +
+
+ + + +
+
+
- + + +
+
+ + + +
+
+ +
+ +
+ + + +
+ +
+ + +
- +
+ +
+ + + +
+ +
+ + +
- +
+ +
+ + + +
+ +
+ + +
From 1dc2738ee0a6f943d62f38268b1671c931f7a4ff Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Fri, 19 Jul 2024 16:42:54 +0200 Subject: [PATCH 2/2] :sparkles: Add number picker to design system --- src/front/Components/Layouts/DesignSystem/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/front/Components/Layouts/DesignSystem/index.tsx b/src/front/Components/Layouts/DesignSystem/index.tsx index 813921d7..3e5eb232 100644 --- a/src/front/Components/Layouts/DesignSystem/index.tsx +++ b/src/front/Components/Layouts/DesignSystem/index.tsx @@ -16,6 +16,7 @@ import IconButton, { EIconButtonVariant } from "@Front/Components/DesignSystem/I import Form from "@Front/Components/DesignSystem/Form"; import TextField from "@Front/Components/DesignSystem/Form/TextField"; import TextAreaField from "@Front/Components/DesignSystem/Form/TextareaField"; +import NumberPicker from "@Front/Components/Elements/NumberPicker"; export default function DesignSystem() { const { isOpen, open, close } = useOpenable(); @@ -68,6 +69,8 @@ export default function DesignSystem() {
Inputs + Number picker avec min à 1 et max à 10 + {}} min={1} max={10} />