@tak-ps/vue-tabler 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,13 +10,17 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v1.4.0
14
+
15
+ - :tada: `Loading` component
16
+
13
17
  ### v1.3.0
14
18
 
15
19
  - :rocket: `Input#disabled` prop
16
20
 
17
21
  ### v1.2.0
18
22
 
19
- - :rocket: `Input` Component
23
+ - :tada: `Input` Component
20
24
 
21
25
  ### v1.1.0
22
26
 
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <div class='w-full'>
3
+ <div class='d-flex justify-content-center my-4'>
4
+ <div class="spinner-border" role="status"></div>
5
+ </div>
6
+
7
+ <template v-if='desc && desc.length'>
8
+ <div class='d-flex justify-content-center my-4'>
9
+ <div class='' v-text='desc'></div>
10
+ </div>
11
+ </template>
12
+ </div>
13
+ </template>
14
+
15
+ <script>
16
+ export default {
17
+ name: 'Loading',
18
+ props: {
19
+ desc: {
20
+ type: String,
21
+ default: 'Loading...'
22
+ }
23
+ }
24
+ }
25
+ </script>
package/lib.js CHANGED
@@ -3,10 +3,12 @@ import Select from './components/Select.vue'
3
3
  import Modal from './components/Modal.vue'
4
4
  import Progress from './components/Progress.vue'
5
5
  import Input from './components/Input.vue'
6
+ import Loading from './components/Loading.vue'
6
7
 
7
8
  export {
8
9
  Err,
9
10
  Select,
11
+ Loading,
10
12
  Modal,
11
13
  Progress,
12
14
  Input
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "main": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",