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/index.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;
@@ -5751,6 +5756,9 @@ var EasyForm = class extends BrowserHTMLElement {
5751
5756
  if (name === "disabled" && newValue !== oldValue) {
5752
5757
  this.render();
5753
5758
  }
5759
+ if ((name === "label-position" || name === "form-direction" || name === "show-completed-indicator") && newValue !== oldValue) {
5760
+ this.render();
5761
+ }
5754
5762
  if ((name === "max-attempts" || name === "block-duration-minutes" || name === "attempts-storage-key") && newValue !== oldValue) {
5755
5763
  this.setupAttemptsLock();
5756
5764
  this.updateLockOverlay();