From 24b607cad326c47028f1a98df57e77f7fa2be5e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Albeza?= Date: Fri, 28 Jun 2024 14:01:09 +0200 Subject: [PATCH] :lipstick: Move the stub design system component to its own ds folder --- frontend/shadow-cljs.edn | 2 +- frontend/src/app/main/ui/{components.cljs => ds.cljs} | 4 ++-- .../app/main/ui/{components => ds}/buttons/simple_button.cljs | 2 +- .../app/main/ui/{components => ds}/buttons/simple_button.mdx | 0 .../app/main/ui/{components => ds}/buttons/simple_button.scss | 0 .../ui/{components => ds}/buttons/simple_button.stories.jsx | 0 .../main/ui/{components => ds}/buttons/simple_button.test.mjs | 0 7 files changed, 4 insertions(+), 4 deletions(-) rename frontend/src/app/main/ui/{components.cljs => ds.cljs} (85%) rename frontend/src/app/main/ui/{components => ds}/buttons/simple_button.cljs (82%) rename frontend/src/app/main/ui/{components => ds}/buttons/simple_button.mdx (100%) rename frontend/src/app/main/ui/{components => ds}/buttons/simple_button.scss (100%) rename frontend/src/app/main/ui/{components => ds}/buttons/simple_button.stories.jsx (100%) rename frontend/src/app/main/ui/{components => ds}/buttons/simple_button.test.mjs (100%) diff --git a/frontend/shadow-cljs.edn b/frontend/shadow-cljs.edn index 7a5b4c4ff1..f223b5f715 100644 --- a/frontend/shadow-cljs.edn +++ b/frontend/shadow-cljs.edn @@ -97,7 +97,7 @@ :depends-on #{:base}} :components - {:exports {:default app.main.ui.components/default} + {:exports {:default app.main.ui.ds/default} :depends-on #{:base}}} :compiler-options diff --git a/frontend/src/app/main/ui/components.cljs b/frontend/src/app/main/ui/ds.cljs similarity index 85% rename from frontend/src/app/main/ui/components.cljs rename to frontend/src/app/main/ui/ds.cljs index 6119114fc6..ad5992c752 100644 --- a/frontend/src/app/main/ui/components.cljs +++ b/frontend/src/app/main/ui/ds.cljs @@ -4,9 +4,9 @@ ;; ;; Copyright (c) KALEIDOS INC -(ns app.main.ui.components +(ns app.main.ui.ds (:require - [app.main.ui.components.buttons.simple-button :as sb] + [app.main.ui.ds.buttons.simple-button :as sb] [rumext.v2 :as mf])) (mf/defc story-wrapper diff --git a/frontend/src/app/main/ui/components/buttons/simple_button.cljs b/frontend/src/app/main/ui/ds/buttons/simple_button.cljs similarity index 82% rename from frontend/src/app/main/ui/components/buttons/simple_button.cljs rename to frontend/src/app/main/ui/ds/buttons/simple_button.cljs index fb4bdd9952..095ed987ba 100644 --- a/frontend/src/app/main/ui/components/buttons/simple_button.cljs +++ b/frontend/src/app/main/ui/ds/buttons/simple_button.cljs @@ -1,4 +1,4 @@ -(ns app.main.ui.components.buttons.simple-button +(ns app.main.ui.ds.buttons.simple-button (:require-macros [app.main.style :as stl]) (:require [rumext.v2 :as mf])) diff --git a/frontend/src/app/main/ui/components/buttons/simple_button.mdx b/frontend/src/app/main/ui/ds/buttons/simple_button.mdx similarity index 100% rename from frontend/src/app/main/ui/components/buttons/simple_button.mdx rename to frontend/src/app/main/ui/ds/buttons/simple_button.mdx diff --git a/frontend/src/app/main/ui/components/buttons/simple_button.scss b/frontend/src/app/main/ui/ds/buttons/simple_button.scss similarity index 100% rename from frontend/src/app/main/ui/components/buttons/simple_button.scss rename to frontend/src/app/main/ui/ds/buttons/simple_button.scss diff --git a/frontend/src/app/main/ui/components/buttons/simple_button.stories.jsx b/frontend/src/app/main/ui/ds/buttons/simple_button.stories.jsx similarity index 100% rename from frontend/src/app/main/ui/components/buttons/simple_button.stories.jsx rename to frontend/src/app/main/ui/ds/buttons/simple_button.stories.jsx diff --git a/frontend/src/app/main/ui/components/buttons/simple_button.test.mjs b/frontend/src/app/main/ui/ds/buttons/simple_button.test.mjs similarity index 100% rename from frontend/src/app/main/ui/components/buttons/simple_button.test.mjs rename to frontend/src/app/main/ui/ds/buttons/simple_button.test.mjs