@tak-ps/vue-tabler 3.60.1 → 3.61.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.61.0
14
+
15
+ - :rocket: Automatically Expand TablerInput on newlines
16
+
17
+ ### v3.60.2
18
+
19
+ - :rocket: Add `AutoWrap` option to Markdown
20
+
13
21
  ### v3.60.1
14
22
 
15
23
  - :rocket: Manually call focus
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <div v-html='html' />
2
+ <div
3
+ :style='autowrap ? `white-space: pre-wrap;` : ``'
4
+ v-html='html'
5
+ />
3
6
  </template>
4
7
 
5
8
  <script>
@@ -11,6 +14,10 @@ export default {
11
14
  markdown: {
12
15
  type: String,
13
16
  required: true
17
+ },
18
+ autowrap: {
19
+ type: Boolean,
20
+ default: true
14
21
  }
15
22
  },
16
23
  computed: {
@@ -24,6 +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
28
  :description='s.properties[key].description || ""'
28
29
  />
29
30
  </template>
@@ -83,7 +84,7 @@
83
84
  </div>
84
85
  </div>
85
86
 
86
- <GenericSchema
87
+ <TablerSchema
87
88
  v-model='data[key][i]'
88
89
  :schema='s.properties[key].items'
89
90
  :disabled='disabled'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.60.1",
4
+ "version": "3.61.0",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",