@vaadin/form-layout 24.0.0-alpha9 → 24.0.0-beta2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/form-layout",
3
- "version": "24.0.0-alpha9",
3
+ "version": "24.0.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,21 +36,21 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "24.0.0-alpha9",
40
- "@vaadin/vaadin-lumo-styles": "24.0.0-alpha9",
41
- "@vaadin/vaadin-material-styles": "24.0.0-alpha9",
42
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha9"
39
+ "@vaadin/component-base": "24.0.0-beta2",
40
+ "@vaadin/vaadin-lumo-styles": "24.0.0-beta2",
41
+ "@vaadin/vaadin-material-styles": "24.0.0-beta2",
42
+ "@vaadin/vaadin-themable-mixin": "24.0.0-beta2"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/custom-field": "24.0.0-alpha9",
47
- "@vaadin/testing-helpers": "^0.3.2",
48
- "@vaadin/text-field": "24.0.0-alpha9",
46
+ "@vaadin/custom-field": "24.0.0-beta2",
47
+ "@vaadin/testing-helpers": "^0.4.0",
48
+ "@vaadin/text-field": "24.0.0-beta2",
49
49
  "sinon": "^13.0.2"
50
50
  },
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "cc3f747164041566b300bde4b105d2475649e93f"
55
+ "gitHead": "00086f1f6d487f042f189c9b9ecd7ba736960888"
56
56
  }
@@ -248,7 +248,7 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
248
248
  /** @protected */
249
249
  ready() {
250
250
  // Here we create and attach a style element that we use for validating
251
- // CSS values in `responsiveSteps`. We cant add this to the `<template>`,
251
+ // CSS values in `responsiveSteps`. We can't add this to the `<template>`,
252
252
  // because Polymer will throw it away. We need to create this before
253
253
  // `super.ready()`, because `super.ready()` invokes property observers,
254
254
  // and the observer for `responsiveSteps` does CSS value validation.
@@ -329,7 +329,7 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
329
329
  /** @private */
330
330
  _isValidCSSLength(value) {
331
331
  // Let us choose a CSS property for validating CSS <length> values:
332
- // - `border-spacing` accepts `<length> | inherit`, its the best! But
332
+ // - `border-spacing` accepts `<length> | inherit`, it's the best! But
333
333
  // it does not disallow invalid values at all in MSIE :-(
334
334
  // - `letter-spacing` and `word-spacing` accept
335
335
  // `<length> | normal | inherit`, and disallows everything else, like
@@ -424,7 +424,7 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
424
424
  // Sometimes converting units is not possible, e.g, when element is
425
425
  // not connected. Then the `selectedStep` stays `undefined`.
426
426
  if (selectedStep) {
427
- // Apply the chosen responsive steps properties
427
+ // Apply the chosen responsive step's properties
428
428
  this._columnCount = selectedStep.columns;
429
429
  this._labelsOnTop = selectedStep.labelsPosition === 'top';
430
430
  }
@@ -481,7 +481,7 @@ class FormLayout extends ResizeMixin(ElementMixin(ThemableMixin(PolymerElement))
481
481
  child.style.width = `calc(${childRatio * 99.9}% - ${1 - childRatio} * ${columnSpacing})`;
482
482
 
483
483
  if (col + colspan > this._columnCount) {
484
- // Too big to fit on this row, lets wrap it
484
+ // Too big to fit on this row, let's wrap it
485
485
  col = 0;
486
486
  }
487
487
 
@@ -25,7 +25,7 @@ registerStyles(
25
25
  }
26
26
 
27
27
  [part='required-indicator']::after {
28
- content: var(--lumo-required-field-indicator, '');
28
+ content: var(--lumo-required-field-indicator, '\\2022');
29
29
  transition: opacity 0.2s;
30
30
  opacity: 0;
31
31
  color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color));
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/form-layout",
4
- "version": "24.0.0-alpha9",
4
+ "version": "24.0.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/form-layout",
4
- "version": "24.0.0-alpha9",
4
+ "version": "24.0.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {