@tak-ps/vue-tabler 3.58.0 → 3.59.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,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.59.0
14
+
15
+ - :rocket: Pass `autofocus` through on input components
16
+
13
17
  ### v3.58.0
14
18
 
15
19
  - :rocket: Call focus on Modal when created to allow immediate keyup intercepts
@@ -18,6 +18,7 @@
18
18
  <input
19
19
  v-model='current'
20
20
  :disabled='disabled'
21
+ :autofocus='autofocus'
21
22
  :value='color'
22
23
  type='radio'
23
24
  class='form-colorinput-input'
@@ -47,6 +48,10 @@ export default {
47
48
  type: String,
48
49
  required: true
49
50
  },
51
+ autofocus: {
52
+ type: Boolean,
53
+ default: false
54
+ },
50
55
  default: {
51
56
  type: String,
52
57
  required: false
@@ -11,6 +11,7 @@
11
11
  <div class='col-12'>
12
12
  <select
13
13
  v-model='current'
14
+ :autofocus='autofocus'
14
15
  :disabled='disabled'
15
16
  class='form-select'
16
17
  >
@@ -38,6 +39,10 @@ export default {
38
39
  type: String,
39
40
  required: true
40
41
  },
42
+ autofocus: {
43
+ type: Boolean,
44
+ default: false
45
+ },
41
46
  default: {
42
47
  type: String,
43
48
  required: false
@@ -35,6 +35,7 @@
35
35
  v-model='current'
36
36
  :disabled='disabled'
37
37
  :autocomplete='autocomplete'
38
+ :autofocus='autofocus'
38
39
  :type='computed_type'
39
40
  :class='{
40
41
  "is-invalid": errorstr
@@ -63,6 +64,7 @@
63
64
  <textarea
64
65
  v-model='current'
65
66
  :disabled='disabled'
67
+ :autofocus='autofocus'
66
68
  :autocomplete='autocomplete'
67
69
  :wrap='wrap'
68
70
  :rows='rows'
@@ -109,6 +111,10 @@ export default {
109
111
  type: String,
110
112
  default: 'on'
111
113
  },
114
+ autofocus: {
115
+ type: Boolean,
116
+ default: false
117
+ },
112
118
  icon: {
113
119
  type: String,
114
120
  },
@@ -10,6 +10,7 @@
10
10
  <div class='col-12'>
11
11
  <input
12
12
  :disabled='disabled'
13
+ :autofocus='autofocus'
13
14
  :value='modelValue'
14
15
  type='range'
15
16
  class='form-range'
@@ -35,6 +36,10 @@ export default {
35
36
  type: Number,
36
37
  required: true
37
38
  },
39
+ autofocus: {
40
+ type: Boolean,
41
+ default: false
42
+ },
38
43
  min: {
39
44
  type: Number,
40
45
  default: 0
@@ -3,6 +3,7 @@
3
3
  :label='label'
4
4
  :options='Array.from(timezones)'
5
5
  :description='description'
6
+ :autofocus='autofocus'
6
7
  :disabled='disabled'
7
8
  :required='required'
8
9
  :default='inverse.has(modelValue) ? inverse.get(modelValue) : "No TimeZone"'
@@ -450,6 +451,10 @@ export default {
450
451
  type: String,
451
452
  required: true
452
453
  },
454
+ autofocus: {
455
+ type: Boolean,
456
+ default: false
457
+ },
453
458
  description: {
454
459
  type: String,
455
460
  default: ''
@@ -9,6 +9,7 @@
9
9
  <input
10
10
  v-model='current'
11
11
  :disabled='disabled'
12
+ :autofocus='autofocus'
12
13
  class='form-check-input'
13
14
  type='checkbox'
14
15
  >
@@ -30,6 +31,10 @@ export default {
30
31
  type: Boolean,
31
32
  required: true
32
33
  },
34
+ autofocus: {
35
+ type: Boolean,
36
+ default: false
37
+ },
33
38
  disabled: {
34
39
  type: Boolean,
35
40
  default: false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.58.0",
4
+ "version": "3.59.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",