Skip to content

Commit 35acfd1

Browse files
committed
1.1.1
1 parent 3437296 commit 35acfd1

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
[//]: # (Don't use <tags>)
22

3+
## v1.1.1
4+
5+
> `2023-09-28`
6+
7+
### 🎉 Feature
8+
- Added variable usage to elements with `items`.
9+
10+
### 🐞 Bug Fixes
11+
- Fix error when clicking on element with `items` without having any specified in a multilingual setup.
12+
313
## v1.1.0
414

515
> `2023-09-17`

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": false,
33
"name": "@vueform/builder",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"description": "Vueform Builder development build.",
66
"homepage": "https://vueform.com",
77
"license": "SEE LICENSE IN LICENSE.txt",

plugin.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { onMounted, ref, computed, toRefs, watch, onBeforeUnmount, nextTick, inject, resolveComponent, } from 'vue'
1+
import { onMounted, ref, computed, toRefs, watch, nextTick, inject, resolveComponent, } from 'vue'
2+
import elementSelectorPlugin from './plugins/elementSelector'
23
import _ from 'lodash'
34

45
const asyncForEach = async (array, callback) => {
@@ -37,6 +38,7 @@ const getElementSchemaByPath = (schema, path) => {
3738

3839
export default function () {
3940
return [
41+
...elementSelectorPlugin(),
4042
() => ({
4143
config(config) {
4244
config.presets = {
@@ -92,6 +94,20 @@ export default function () {
9294
}
9395
}
9496
},
97+
'prop-multiline': {
98+
addClasses: {
99+
ElementAddon: {
100+
container: 'pt-2 mt-px'
101+
},
102+
},
103+
replaceClasses: {
104+
ElementAddon: {
105+
container: {
106+
'items-center': 'items-start'
107+
}
108+
},
109+
},
110+
},
95111
'prop-toggle': {
96112
addClasses: {
97113
ElementLabel: {

0 commit comments

Comments
 (0)