From bbd62778f3d9d9bca89d4c34b899f81afc6ebdad Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Sat, 23 Feb 2019 16:02:51 +0100 Subject: [PATCH] :truck: Move library icons --- .../uxbox/{ => builtins}/library/icons.cljs | 62 +++++++++---------- .../library/icons/material/LICENSE | 0 .../library/icons/material/actions.cljs | 2 +- .../library/icons/material/alerts.cljs | 2 +- .../library/icons/material/av.cljs | 2 +- .../library/icons/material/communication.cljs | 2 +- .../library/icons/material/content.cljs | 2 +- .../library/icons/material/device.cljs | 2 +- .../library/icons/material/editor.cljs | 2 +- .../library/icons/material/file.cljs | 2 +- .../library/icons/material/hardware.cljs | 2 +- .../library/icons/material/image.cljs | 2 +- .../library/icons/material/maps.cljs | 2 +- .../library/icons/material/navigation.cljs | 2 +- .../library/icons/material/notification.cljs | 2 +- .../library/icons/material/social.cljs | 2 +- .../library/icons/material/toggle.cljs | 2 +- frontend/src/uxbox/main/state.cljs | 2 +- frontend/src/uxbox/main/store.cljs | 2 +- 19 files changed, 48 insertions(+), 48 deletions(-) rename frontend/src/uxbox/{ => builtins}/library/icons.cljs (51%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/LICENSE (100%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/actions.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/alerts.cljs (94%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/av.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/communication.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/content.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/device.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/editor.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/file.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/hardware.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/image.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/maps.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/navigation.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/notification.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/social.cljs (99%) rename frontend/src/uxbox/{ => builtins}/library/icons/material/toggle.cljs (98%) diff --git a/frontend/src/uxbox/library/icons.cljs b/frontend/src/uxbox/builtins/library/icons.cljs similarity index 51% rename from frontend/src/uxbox/library/icons.cljs rename to frontend/src/uxbox/builtins/library/icons.cljs index b2e7fe9d9..99974847c 100644 --- a/frontend/src/uxbox/library/icons.cljs +++ b/frontend/src/uxbox/builtins/library/icons.cljs @@ -5,97 +5,97 @@ ;; Copyright (c) 2015-2017 Andrey Antukh ;; Copyright (c) 2015-2017 Juan de la Cruz -(ns uxbox.library.icons - (:require [uxbox.library.icons.material.actions :as md-actions] - [uxbox.library.icons.material.alerts :as md-alerts] - [uxbox.library.icons.material.av :as md-av] - [uxbox.library.icons.material.communication :as md-comm] - [uxbox.library.icons.material.content :as md-content] - [uxbox.library.icons.material.device :as md-device] - [uxbox.library.icons.material.editor :as md-editor] - [uxbox.library.icons.material.file :as md-file] - [uxbox.library.icons.material.hardware :as md-hardware] - [uxbox.library.icons.material.image :as md-image] - [uxbox.library.icons.material.maps :as md-maps] - [uxbox.library.icons.material.navigation :as md-nav] - [uxbox.library.icons.material.notification :as md-not] - [uxbox.library.icons.material.social :as md-social] - [uxbox.library.icons.material.toggle :as md-toggle] +(ns uxbox.builtins.library.icons + (:require [uxbox.builtins.library.icons.material.actions :as md-actions] + [uxbox.builtins.library.icons.material.alerts :as md-alerts] + [uxbox.builtins.library.icons.material.av :as md-av] + [uxbox.builtins.library.icons.material.communication :as md-comm] + [uxbox.builtins.library.icons.material.content :as md-content] + [uxbox.builtins.library.icons.material.device :as md-device] + [uxbox.builtins.library.icons.material.editor :as md-editor] + [uxbox.builtins.library.icons.material.file :as md-file] + [uxbox.builtins.library.icons.material.hardware :as md-hardware] + [uxbox.builtins.library.icons.material.image :as md-image] + [uxbox.builtins.library.icons.material.maps :as md-maps] + [uxbox.builtins.library.icons.material.navigation :as md-nav] + [uxbox.builtins.library.icons.material.notification :as md-not] + [uxbox.builtins.library.icons.material.social :as md-social] + [uxbox.builtins.library.icons.material.toggle :as md-toggle] [uxbox.util.data :refer (index-by)])) (def collections-list [{:name "Material design (actions)" - :id #uuid "00000000-0000-0000-0000-100000000001" + :id #uuid "00000000-0000-0000-0000-000000000001" :type :builtin :created-at 1 :icons md-actions/+icons+} {:name "Material design (alerts)" - :id #uuid "00000000-0000-0000-0000-100000000002" + :id #uuid "00000000-0000-0000-0000-000000000002" :type :builtin :created-at 2 :icons md-alerts/+icons+} {:name "Material design (Av)" - :id #uuid "00000000-0000-0000-0000-100000000003" + :id #uuid "00000000-0000-0000-0000-000000000003" :type :builtin :created-at 3 :icons md-av/+icons+} {:name "Material design (Communication)" - :id #uuid "00000000-0000-0000-0000-100000000004" + :id #uuid "00000000-0000-0000-0000-000000000004" :type :builtin :created-at 4 :icons md-comm/+icons+} {:name "Material design (Content)" - :id #uuid "00000000-0000-0000-0000-100000000005" + :id #uuid "00000000-0000-0000-0000-000000000005" :type :builtin :created-at 5 :icons md-content/+icons+} {:name "Material design (Device)" - :id #uuid "00000000-0000-0000-0000-100000000006" + :id #uuid "00000000-0000-0000-0000-000000000006" :type :builtin :created-at 6 :icons md-device/+icons+} {:name "Material design (Editor)" - :id #uuid "00000000-0000-0000-0000-100000000007" + :id #uuid "00000000-0000-0000-0000-000000000007" :type :builtin :created-at 7 :icons md-editor/+icons+} {:name "Material design (File)" - :id #uuid "00000000-0000-0000-0000-100000000008" + :id #uuid "00000000-0000-0000-0000-000000000008" :type :builtin :created-at 8 :icons md-file/+icons+} {:name "Material design (Hardware)" - :id #uuid "00000000-0000-0000-0000-100000000009" + :id #uuid "00000000-0000-0000-0000-000000000009" :type :builtin :created-at 9 :icons md-hardware/+icons+} {:name "Material design (Image)" - :id #uuid "00000000-0000-0000-0000-1000000000010" + :id #uuid "00000000-0000-0000-0000-0000000000010" :type :builtin :created-at 10 :icons md-image/+icons+} {:name "Material design (Maps)" - :id #uuid "00000000-0000-0000-0000-100000000011" + :id #uuid "00000000-0000-0000-0000-000000000011" :type :builtin :created-at 11 :icons md-maps/+icons+} {:name "Material design (Navigation)" - :id #uuid "00000000-0000-0000-0000-100000000012" + :id #uuid "00000000-0000-0000-0000-000000000012" :type :builtin :created-at 12 :icons md-nav/+icons+} {:name "Material design (Notifications)" - :id #uuid "00000000-0000-0000-0000-100000000013" + :id #uuid "00000000-0000-0000-0000-000000000013" :type :builtin :created-at 13 :icons md-not/+icons+} {:name "Material design (Social)" - :id #uuid "00000000-0000-0000-0000-100000000014" + :id #uuid "00000000-0000-0000-0000-000000000014" :type :builtin :created-at 14 :icons md-social/+icons+} {:name "Material design (Toggle)" - :id #uuid "00000000-0000-0000-0000-100000000015" + :id #uuid "00000000-0000-0000-0000-000000000015" :type :builtin :created-at 15 :icons md-toggle/+icons+}]) diff --git a/frontend/src/uxbox/library/icons/material/LICENSE b/frontend/src/uxbox/builtins/library/icons/material/LICENSE similarity index 100% rename from frontend/src/uxbox/library/icons/material/LICENSE rename to frontend/src/uxbox/builtins/library/icons/material/LICENSE diff --git a/frontend/src/uxbox/library/icons/material/actions.cljs b/frontend/src/uxbox/builtins/library/icons/material/actions.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/actions.cljs rename to frontend/src/uxbox/builtins/library/icons/material/actions.cljs index 1eba9ce54..00d52ec6e 100644 --- a/frontend/src/uxbox/library/icons/material/actions.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/actions.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.actions +(ns uxbox.builtins.library.icons.material.actions (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/alerts.cljs b/frontend/src/uxbox/builtins/library/icons/material/alerts.cljs similarity index 94% rename from frontend/src/uxbox/library/icons/material/alerts.cljs rename to frontend/src/uxbox/builtins/library/icons/material/alerts.cljs index 0e6285721..a536823ab 100644 --- a/frontend/src/uxbox/library/icons/material/alerts.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/alerts.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.alerts +(ns uxbox.builtins.library.icons.material.alerts (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/av.cljs b/frontend/src/uxbox/builtins/library/icons/material/av.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/av.cljs rename to frontend/src/uxbox/builtins/library/icons/material/av.cljs index d3de9e718..948da7d05 100644 --- a/frontend/src/uxbox/library/icons/material/av.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/av.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.av +(ns uxbox.builtins.library.icons.material.av (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/communication.cljs b/frontend/src/uxbox/builtins/library/icons/material/communication.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/communication.cljs rename to frontend/src/uxbox/builtins/library/icons/material/communication.cljs index 615d85c4e..87c523dca 100644 --- a/frontend/src/uxbox/library/icons/material/communication.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/communication.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.communication +(ns uxbox.builtins.library.icons.material.communication (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/content.cljs b/frontend/src/uxbox/builtins/library/icons/material/content.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/content.cljs rename to frontend/src/uxbox/builtins/library/icons/material/content.cljs index 009b97644..c57a91c28 100644 --- a/frontend/src/uxbox/library/icons/material/content.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/content.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.content +(ns uxbox.builtins.library.icons.material.content (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/device.cljs b/frontend/src/uxbox/builtins/library/icons/material/device.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/device.cljs rename to frontend/src/uxbox/builtins/library/icons/material/device.cljs index a4dd9e765..39724dcae 100644 --- a/frontend/src/uxbox/library/icons/material/device.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/device.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.device +(ns uxbox.builtins.library.icons.material.device (:require [sablono.core :as html :refer-macros [html]] [uxbox.util.uuid :as uuid])) diff --git a/frontend/src/uxbox/library/icons/material/editor.cljs b/frontend/src/uxbox/builtins/library/icons/material/editor.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/editor.cljs rename to frontend/src/uxbox/builtins/library/icons/material/editor.cljs index d9e12a4f8..43f35769c 100644 --- a/frontend/src/uxbox/library/icons/material/editor.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/editor.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.editor +(ns uxbox.builtins.library.icons.material.editor (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/file.cljs b/frontend/src/uxbox/builtins/library/icons/material/file.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/file.cljs rename to frontend/src/uxbox/builtins/library/icons/material/file.cljs index 673d58b14..3617eda62 100644 --- a/frontend/src/uxbox/library/icons/material/file.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/file.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.file +(ns uxbox.builtins.library.icons.material.file (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/hardware.cljs b/frontend/src/uxbox/builtins/library/icons/material/hardware.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/hardware.cljs rename to frontend/src/uxbox/builtins/library/icons/material/hardware.cljs index 178d44912..24614a6cb 100644 --- a/frontend/src/uxbox/library/icons/material/hardware.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/hardware.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.hardware +(ns uxbox.builtins.library.icons.material.hardware (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/image.cljs b/frontend/src/uxbox/builtins/library/icons/material/image.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/image.cljs rename to frontend/src/uxbox/builtins/library/icons/material/image.cljs index 119d432da..ee56a0ed9 100644 --- a/frontend/src/uxbox/library/icons/material/image.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/image.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.image +(ns uxbox.builtins.library.icons.material.image (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/maps.cljs b/frontend/src/uxbox/builtins/library/icons/material/maps.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/maps.cljs rename to frontend/src/uxbox/builtins/library/icons/material/maps.cljs index 4785fbd4a..e869f3a34 100644 --- a/frontend/src/uxbox/library/icons/material/maps.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/maps.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.maps +(ns uxbox.builtins.library.icons.material.maps (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/navigation.cljs b/frontend/src/uxbox/builtins/library/icons/material/navigation.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/navigation.cljs rename to frontend/src/uxbox/builtins/library/icons/material/navigation.cljs index f630fd499..7d550af57 100644 --- a/frontend/src/uxbox/library/icons/material/navigation.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/navigation.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.navigation +(ns uxbox.builtins.library.icons.material.navigation (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/notification.cljs b/frontend/src/uxbox/builtins/library/icons/material/notification.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/notification.cljs rename to frontend/src/uxbox/builtins/library/icons/material/notification.cljs index 0e0daefcc..43f8a3d1b 100644 --- a/frontend/src/uxbox/library/icons/material/notification.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/notification.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.notification +(ns uxbox.builtins.library.icons.material.notification (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/social.cljs b/frontend/src/uxbox/builtins/library/icons/material/social.cljs similarity index 99% rename from frontend/src/uxbox/library/icons/material/social.cljs rename to frontend/src/uxbox/builtins/library/icons/material/social.cljs index 43d87a75a..1a69fbb19 100644 --- a/frontend/src/uxbox/library/icons/material/social.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/social.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.social +(ns uxbox.builtins.library.icons.material.social (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/library/icons/material/toggle.cljs b/frontend/src/uxbox/builtins/library/icons/material/toggle.cljs similarity index 98% rename from frontend/src/uxbox/library/icons/material/toggle.cljs rename to frontend/src/uxbox/builtins/library/icons/material/toggle.cljs index a35a7415c..b7af8517d 100644 --- a/frontend/src/uxbox/library/icons/material/toggle.cljs +++ b/frontend/src/uxbox/builtins/library/icons/material/toggle.cljs @@ -2,7 +2,7 @@ ;; The original source can be found here: ;; https://github.com/google/material-design-icons -(ns uxbox.library.icons.material.toggle +(ns uxbox.builtins.library.icons.material.toggle (:require [uxbox.util.uuid :as uuid])) (def +icons+ diff --git a/frontend/src/uxbox/main/state.cljs b/frontend/src/uxbox/main/state.cljs index c83f21533..99501efab 100644 --- a/frontend/src/uxbox/main/state.cljs +++ b/frontend/src/uxbox/main/state.cljs @@ -6,7 +6,7 @@ (ns uxbox.main.state (:require [uxbox.builtins.colors :as colors] - [uxbox.library.icons :as icons] + [uxbox.builtins.library.icons :as icons] [uxbox.util.storage :refer [storage]])) (defn initial-state diff --git a/frontend/src/uxbox/main/store.cljs b/frontend/src/uxbox/main/store.cljs index f3b706e68..748772fc7 100644 --- a/frontend/src/uxbox/main/store.cljs +++ b/frontend/src/uxbox/main/store.cljs @@ -9,7 +9,7 @@ [lentes.core :as l] [potok.core :as ptk] [uxbox.builtins.colors :as colors] - [uxbox.library.icons :as icons] + [uxbox.builtins.library.icons :as icons] [uxbox.util.storage :refer [storage]])) (enable-console-print!)