easy-forms-core 1.1.10 → 1.1.11
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/dist/easy-form.js +9 -1
- package/dist/easy-form.js.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/easy-form.js
CHANGED
|
@@ -263,12 +263,17 @@ function getBaseStyles(colors) {
|
|
|
263
263
|
flex-direction: row;
|
|
264
264
|
align-items: center;
|
|
265
265
|
gap: 0.75rem;
|
|
266
|
-
flex-wrap: wrap;
|
|
267
266
|
}
|
|
268
267
|
.easy-form-field-inner-horizontal .easy-form-label {
|
|
268
|
+
display: inline-block;
|
|
269
269
|
margin-bottom: 0;
|
|
270
270
|
margin-top: 0;
|
|
271
271
|
flex-shrink: 0;
|
|
272
|
+
white-space: nowrap;
|
|
273
|
+
}
|
|
274
|
+
.easy-form-field-inner-horizontal > *:not(.easy-form-label) {
|
|
275
|
+
flex: 1;
|
|
276
|
+
min-width: 0;
|
|
272
277
|
}
|
|
273
278
|
.easy-form-direction-vertical {
|
|
274
279
|
display: block;
|
|
@@ -5742,6 +5747,9 @@ var EasyForm = class extends BrowserHTMLElement {
|
|
|
5742
5747
|
if (name === "disabled" && newValue !== oldValue) {
|
|
5743
5748
|
this.render();
|
|
5744
5749
|
}
|
|
5750
|
+
if ((name === "label-position" || name === "form-direction" || name === "show-completed-indicator") && newValue !== oldValue) {
|
|
5751
|
+
this.render();
|
|
5752
|
+
}
|
|
5745
5753
|
if ((name === "max-attempts" || name === "block-duration-minutes" || name === "attempts-storage-key") && newValue !== oldValue) {
|
|
5746
5754
|
this.setupAttemptsLock();
|
|
5747
5755
|
this.updateLockOverlay();
|