@a2simcode/ui 0.0.112 → 0.0.115

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.
@@ -0,0 +1,68 @@
1
+ <template>
2
+ <div class="demo-time-basic">
3
+ <div class="block">
4
+ <span class="demonstration">Default</span>
5
+ <j-time v-model="value1" placeholder="Pick a time" />
6
+ </div>
7
+ <div class="block">
8
+ <span class="demonstration">Time Range</span>
9
+ <j-time
10
+ v-model="value2"
11
+ placeholder="Pick a time range"
12
+ is-range
13
+ start-placeholder="Start time"
14
+ end-placeholder="End time"
15
+ />
16
+ </div>
17
+ <div class="block">
18
+ <span class="demonstration">Arrow Control</span>
19
+ <j-time
20
+ v-model="value3"
21
+ placeholder="Pick a time"
22
+ arrow-control
23
+ />
24
+ </div>
25
+ <div class="block">
26
+ <span class="demonstration">Selectable Range</span>
27
+ <j-time
28
+ v-model="value4"
29
+ placeholder="Pick a time"
30
+ :selectable-range="selectableRange"
31
+ />
32
+ </div>
33
+ </div>
34
+ </template>
35
+
36
+ <script setup lang="ts">
37
+ import { ref } from 'vue'
38
+
39
+ const value1 = ref('')
40
+ const value2 = ref('')
41
+ const value3 = ref('')
42
+ const value4 = ref('')
43
+
44
+ const selectableRange = ['08:30:00 - 20:30:00']
45
+ </script>
46
+
47
+ <style scoped>
48
+ .demo-time-basic {
49
+ display: flex;
50
+ flex-wrap: wrap;
51
+ }
52
+ .demo-time-basic .block {
53
+ padding: 30px 0;
54
+ text-align: center;
55
+ border-right: solid 1px var(--el-border-color);
56
+ flex: 1;
57
+ min-width: 200px;
58
+ }
59
+ .demo-time-basic .block:last-child {
60
+ border-right: none;
61
+ }
62
+ .demo-time-basic .demonstration {
63
+ display: block;
64
+ color: var(--el-text-color-secondary);
65
+ font-size: 14px;
66
+ margin-bottom: 20px;
67
+ }
68
+ </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2simcode/ui",
3
- "version": "0.0.112",
3
+ "version": "0.0.115",
4
4
  "description": "A Vue 3 UI Component Library",
5
5
  "type": "module",
6
6
  "main": "./dist/simcode-ui.umd.js",