diff --git a/src/AppMenu.vue b/src/AppMenu.vue index beee571ae..108fa41d9 100644 --- a/src/AppMenu.vue +++ b/src/AppMenu.vue @@ -16,6 +16,7 @@ ● RadioButton ● Rating ● SelectButton + ● Spinner ● Textarea ● ToggleButton ● TriCheckbox diff --git a/src/assets/styles/primevue.css b/src/assets/styles/primevue.css index c043ccef3..72c2d1742 100644 --- a/src/assets/styles/primevue.css +++ b/src/assets/styles/primevue.css @@ -11,6 +11,7 @@ @import '../../components/panel/Panel.css'; @import '../../components/radiobutton/RadioButton.css'; @import '../../components/rating/Rating.css'; +@import '../../components/spinner/Spinner.css'; @import '../../components/tabview/TabView.css'; @import '../../components/textarea/Textarea.css'; @import '../../components/toolbar/Toolbar.css'; \ No newline at end of file diff --git a/src/components/chips/Chips.vue b/src/components/chips/Chips.vue index 472a9d14a..f0f2af26a 100644 --- a/src/components/chips/Chips.vue +++ b/src/components/chips/Chips.vue @@ -1,6 +1,6 @@ - + @@ -16,6 +16,7 @@ diff --git a/src/main.js b/src/main.js index 473d99039..fc3feacf9 100644 --- a/src/main.js +++ b/src/main.js @@ -15,6 +15,7 @@ import Panel from './components/panel/Panel'; import Rating from './components/rating/Rating'; import RadioButton from './components/radiobutton/RadioButton'; import SelectButton from './components/selectbutton/SelectButton'; +import Spinner from './components/spinner/Spinner'; import Textarea from './components/textarea/Textarea'; import Toolbar from './components/toolbar/Toolbar'; import TabView from './components/tabview/TabView'; @@ -42,6 +43,7 @@ Vue.component('p-panel', Panel); Vue.component('p-radioButton', RadioButton); Vue.component('p-rating', Rating); Vue.component('p-selectButton', SelectButton); +Vue.component('p-spinner', Spinner); Vue.component('p-tabView', TabView); Vue.component('p-tabPanel', TabPanel); Vue.component('p-textarea', Textarea); diff --git a/src/router.js b/src/router.js index 0e8c6d684..1d2679c16 100644 --- a/src/router.js +++ b/src/router.js @@ -81,6 +81,11 @@ export default new Router({ name: 'selectbutton', component: () => import('./views/selectbutton/SelectButtonDemo.vue') }, + { + path: '/spinner', + name: 'spinner', + component: () => import('./views/spinner/SpinnerDemo.vue') + }, { path: '/textarea', name: 'textarea', diff --git a/src/views/spinner/SpinnerDemo.vue b/src/views/spinner/SpinnerDemo.vue new file mode 100644 index 000000000..0347bbbfc --- /dev/null +++ b/src/views/spinner/SpinnerDemo.vue @@ -0,0 +1,41 @@ + + + + + Spinner + Spinner is an input component to provide a numerical input. + + + + + Basic + + + Min/Max + + + Step + + + Disabled + + + + + + + +
Spinner is an input component to provide a numerical input.