From c8dbe3a06ee69c45db1eed86edd05c50ffb7c36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 27 Jul 2021 11:19:04 +0300 Subject: [PATCH] SpeedDial demo added --- src/assets/menu/menu.json | 5 + src/main.js | 2 + src/router/index.js | 5 + src/views/speeddial/SpeedDialDemo.vue | 229 +++++++++ src/views/speeddial/SpeedDialDoc.vue | 702 ++++++++++++++++++++++++++ 5 files changed, 943 insertions(+) create mode 100644 src/views/speeddial/SpeedDialDemo.vue create mode 100644 src/views/speeddial/SpeedDialDoc.vue diff --git a/src/assets/menu/menu.json b/src/assets/menu/menu.json index 92ce8d6e3..ed5755931 100644 --- a/src/assets/menu/menu.json +++ b/src/assets/menu/menu.json @@ -268,6 +268,11 @@ "name": "Button", "to": "/button" }, + { + "name": "Speed Dial", + "to": "/speeddial", + "badge": "New" + }, { "name": "SplitButton", "to": "/splitbutton" diff --git a/src/main.js b/src/main.js index d54f26d2c..7e9272f47 100644 --- a/src/main.js +++ b/src/main.js @@ -73,6 +73,7 @@ import Skeleton from './components/skeleton/Skeleton'; import Slider from './components/slider/Slider'; import Sidebar from './components/sidebar/Sidebar'; import SplitButton from './components/splitbutton/SplitButton'; +import SpeedDial from './components/speeddial/SpeedDial'; import Splitter from './components/splitter/Splitter'; import SplitterPanel from './components/splitterpanel/SplitterPanel'; import Steps from './components/steps/Steps'; @@ -191,6 +192,7 @@ app.component('SelectButton', SelectButton); app.component('Slider', Slider); app.component('Sidebar', Sidebar); app.component('Skeleton', Skeleton); +app.component('SpeedDial', SpeedDial); app.component('SplitButton', SplitButton); app.component('Splitter', Splitter); app.component('SplitterPanel', SplitterPanel); diff --git a/src/router/index.js b/src/router/index.js index d07b45819..0fd79f847 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -577,6 +577,11 @@ const routes = [ name: 'spacing', component: () => import('../views/spacing/SpacingDemo.vue') }, + { + path: '/speeddial', + name: 'speeddial', + component: () => import('../views/speeddial/SpeedDialDemo.vue') + }, { path: '/splitbutton', name: 'splitbutton', diff --git a/src/views/speeddial/SpeedDialDemo.vue b/src/views/speeddial/SpeedDialDemo.vue new file mode 100644 index 000000000..6463cfeed --- /dev/null +++ b/src/views/speeddial/SpeedDialDemo.vue @@ -0,0 +1,229 @@ + + + + + \ No newline at end of file diff --git a/src/views/speeddial/SpeedDialDoc.vue b/src/views/speeddial/SpeedDialDoc.vue new file mode 100644 index 000000000..db53b20aa --- /dev/null +++ b/src/views/speeddial/SpeedDialDoc.vue @@ -0,0 +1,702 @@ + + + \ No newline at end of file