From 8904ed741c0cab41c00424b24eff52d1e30bc091 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sat, 13 Jul 2024 16:38:32 +0200 Subject: [PATCH] Add basic app steps. + Add basic app steps system and style. * Rename steps counter to avoid collision with app steps. --- demo/DemoApp.tsx | 82 ++++++++++- src/Components/Steps/Steps.tsx | 109 ++++++++++++++ src/Components/Steps/StepsContext.tsx | 165 ++++++++++++++++++++++ src/styles/_components.less | 1 + src/styles/components/_steps-counter.less | 24 ++++ src/styles/components/_steps.less | 92 ++++++++++-- 6 files changed, 458 insertions(+), 15 deletions(-) create mode 100644 src/Components/Steps/Steps.tsx create mode 100644 src/Components/Steps/StepsContext.tsx create mode 100644 src/styles/components/_steps-counter.less diff --git a/demo/DemoApp.tsx b/demo/DemoApp.tsx index 101c959..fac4bab 100644 --- a/demo/DemoApp.tsx +++ b/demo/DemoApp.tsx @@ -23,6 +23,7 @@ import {AppItem, AppLink, AppsMenu} from "../src/Components/Menus/AppsMenu"; import {Application} from "../src/Application/Application"; import {Outlet} from "react-router-dom"; import {ToggleSwitch} from "../src/Components/Forms/ToggleSwitch"; +import {Step, Steps} from "../src/Components/Steps/Steps"; export function DemoApp() { @@ -62,7 +63,6 @@ export function DemoApp()

TODO