@tak-ps/vue-tabler 3.61.0 → 3.62.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,14 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.62.0
14
+
15
+ - :tada: Allow custom sizes of dropdown
16
+
17
+ ### v3.61.1
18
+
19
+ - :bug: Ensure Data Key exists in Schema
20
+
13
21
  ### v3.61.0
14
22
 
15
23
  - :rocket: Automatically Expand TablerInput on newlines
@@ -16,7 +16,10 @@
16
16
  </slot>
17
17
  </div>
18
18
  <ul
19
- class='dropdown-menu w-100'
19
+ class='dropdown-menu'
20
+ :style='{
21
+ "width": width
22
+ }'
20
23
  :aria-labelledby='id'
21
24
  >
22
25
  <slot name='dropdown'>
@@ -36,6 +39,12 @@ export default {
36
39
  components: {
37
40
  IconSettings
38
41
  },
42
+ props: {
43
+ width: {
44
+ type: Number,
45
+ default: 200
46
+ }
47
+ },
39
48
  data: function() {
40
49
  return {
41
50
  id: 'tabler-dropdown-' + Math.random().toString(36).substr(2, 9) + '-' + Date.now().toString(36)
@@ -24,7 +24,7 @@
24
24
  :label='key'
25
25
  :disabled='disabled'
26
26
  :required='s.properties[key].required || false'
27
- :rows='data[key].split("\n").length'
27
+ :rows='data[key] ? data[key].split("\n").length : 1'
28
28
  :description='s.properties[key].description || ""'
29
29
  />
30
30
  </template>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.61.0",
4
+ "version": "3.62.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",