Skip to content

Commit f2df1b2

Browse files
committed
1.6.0
1 parent ad8b58c commit f2df1b2

File tree

16 files changed

+7330
-380
lines changed

16 files changed

+7330
-380
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
[//]: # (Don't use <tags>)
2+
3+
## v1.6.0
4+
5+
> `2024-08-05`
6+
7+
### 🎉 Feature
8+
- Builder localization.
9+
- Hungarian, Japan, Dutch and Japanese locales.
10+
11+
### 🐞 Bug Fixes
12+
- Trigger `@save` event on AI generate.
13+
- Don't close the element panel on Escape when conditions modal is open.
14+
- Select endpoint fix.
15+
216
## v1.5.0
317

418
> `2024-07-24`
@@ -9,6 +23,7 @@
923
- When elements are dropped above or below an element it will dropped into the previous / next row, instead of next to the target element.
1024
- A new handle appears between elements in the same row that can resize two adjacent elements simultaneously.
1125
- Added `autoflow` config option, which is when disabled all elements take up a full row while the inputs can still be resized.
26+
- Made Tab and Step labels localizable.
1227

1328
## v1.4.6
1429

index.css

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
}
358358

359359
.vfb-tool-ai-new-tag {
360-
@apply absolute -bottom-[1.3875rem] left-1/2 transform -translate-x-1/2 bg-purple-500 text-white leading-none uppercase text-[11px] font-bold px-0.75 py-0.5 rounded;
360+
@apply absolute -bottom-[1.3875rem] left-1/2 transform -translate-x-1/2 bg-purple-500 text-white leading-none uppercase text-[11px] font-bold px-0.75 py-0.5 rounded whitespace-nowrap;
361361
}
362362

363363
.vfb-icon.vfb-tool-ai-new-tag-caret {
@@ -965,8 +965,13 @@ input.vfb-clr-color:focus {
965965
word-break: break-word;
966966
}
967967

968-
.vfb-learn-more {
969-
@apply ml-2 leading-none text-0.5xs text-gray-400 border-b border-dotted border-gray-400 dark:text-dark-400 dark:border-dark-400;
968+
.vfb-learn-more,
969+
.form-contains-link a.vfb-learn-more {
970+
@apply leading-none text-0.5xs relative -top-0.5 text-gray-400 whitespace-nowrap border-b border-dotted border-gray-400 dark:text-dark-400 dark:border-dark-400;
971+
}
972+
973+
.vfb-dotted-link {
974+
@apply text-primary-500 border-b border-dotted border-primary-500;
970975
}
971976

972977
.vfb-field-note {
@@ -1026,10 +1031,18 @@ input.vfb-clr-color:focus {
10261031

10271032
.vfb-util-tabs-tiny {
10281033
@apply text-xs leading-tight;
1034+
padding-left: 0.25rem !important;
1035+
padding-right: 0.25rem !important;
1036+
}
1037+
1038+
.vfb-util-tabs-tiny-text {
1039+
@apply whitespace-nowrap overflow-hidden;
10291040
}
10301041

10311042
.vfb-util-tabs-small {
10321043
@apply text-sm leading-tight;
1044+
padding-left: 0.25rem !important;
1045+
padding-right: 0.25rem !important;
10331046
}
10341047

10351048
.vfb-util-tabs-outline-gray-selected {
@@ -1068,6 +1081,16 @@ input.vfb-clr-color:focus {
10681081
@apply col-span-12;
10691082
}
10701083

1084+
.vfb-util-props-group-container {
1085+
@apply col-span-12;
1086+
}
1087+
.vfb-util-props-group-container label.text-type\:form-pt-input-border-sm {
1088+
@apply pr-2 break-words block;
1089+
}
1090+
.vfb-util-props-group-container label.text-type\:form-pt-input-border-sm:not(.vfb-prop-multiline) {
1091+
@apply p-0 leading-none flex items-center pr-2 break-all;
1092+
}
1093+
10711094
.vfb-util-props-group {
10721095
@apply my-4;
10731096
}
@@ -1222,10 +1245,6 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
12221245
@apply w-5 h-5 rounded pointer-events-none;
12231246
}
12241247

1225-
.vfb-util-prop-label-with-link {
1226-
@apply flex items-center;
1227-
}
1228-
12291248
.vfb-util-prop-element-with-link {
12301249
@apply flex items-center justify-between w-full;
12311250
}
@@ -1349,6 +1368,16 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
13491368
@apply px-2 py-0.5 text-0.5sm rounded inline-block;
13501369
}
13511370

1371+
.vfb-no-px {
1372+
padding-left: 0 !important;
1373+
padding-right: 0 !important;
1374+
}
1375+
1376+
.vfb-px-1 {
1377+
padding-left: 0.25rem !important;
1378+
padding-right: 0.25rem !important;
1379+
}
1380+
13521381
.vfb-util-flash {
13531382
transition: 0.1s;
13541383
animation-duration: 0.5s;
@@ -1725,7 +1754,7 @@ div > div:first-of-type[style*="none;"] + .vfb-util-props-separator-top {
17251754
}
17261755

17271756
.vfb-conditions-render-expected {
1728-
@apply text-primary-600 font-semibold;
1757+
@apply font-semibold;
17291758
}
17301759

17311760
.vfb-conditions-render-or {

index.d.mts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,12 @@ declare module '@vueform/builder' {
159159
const FormFloatPlaceholderField: any;
160160
const FormForceLabelsField: any;
161161
const FormFormKeyField: any;
162-
const FormI18nField: any;
163-
const FormLocaleField: any;
164162
const FormNameField: any;
165163
const FormNestingField: any;
166164
const FormSizeField: any;
167165
const FormValidationField: any;
168166
const FormWidthField: any;
169167
const FullField: any;
170-
const GroupsField: any;
171168
const HeightField: any;
172169
const Hour24Field: any;
173170
const HrefField: any;
@@ -347,15 +344,12 @@ declare module '@vueform/builder' {
347344
FormFloatPlaceholderField,
348345
FormForceLabelsField,
349346
FormFormKeyField,
350-
FormI18nField,
351-
FormLocaleField,
352347
FormNameField,
353348
FormNestingField,
354349
FormSizeField,
355350
FormValidationField,
356351
FormWidthField,
357352
FullField,
358-
GroupsField,
359353
HeightField,
360354
Hour24Field,
361355
HrefField,

index.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)