@wavelengthusaf/components 3.3.6 → 3.3.7
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/README.md +8 -3
- package/dist/cjs/index.cjs +3 -4
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +3 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,6 +14,11 @@ npm install @wavelengthusaf/components
|
|
|
14
14
|
|
|
15
15
|
## Release Notes
|
|
16
16
|
|
|
17
|
+
### 3.3.7
|
|
18
|
+
|
|
19
|
+
- 8/11/2025
|
|
20
|
+
- Introduced formAssociated = true for `WavelengthInput`. It allows the input to be recognized when utilized within a form element.
|
|
21
|
+
|
|
17
22
|
### 3.3.6
|
|
18
23
|
|
|
19
24
|
- 8/11/2025
|
|
@@ -32,7 +37,7 @@ npm install @wavelengthusaf/components
|
|
|
32
37
|
### 3.3.3
|
|
33
38
|
|
|
34
39
|
- 8/05/2025
|
|
35
|
-
- Updated `WLAutoComplete` to be able to have scroll functionality and basic validation.
|
|
40
|
+
- Updated `WLAutoComplete` to be able to have scroll functionality and basic validation.
|
|
36
41
|
|
|
37
42
|
### 3.3.2
|
|
38
43
|
|
|
@@ -42,7 +47,7 @@ npm install @wavelengthusaf/components
|
|
|
42
47
|
### 3.3.1
|
|
43
48
|
|
|
44
49
|
- 6/22/2025
|
|
45
|
-
- Updated `WLAutoComplete` to be able to have scroll functionality and basic validation.
|
|
50
|
+
- Updated `WLAutoComplete` to be able to have scroll functionality and basic validation.
|
|
46
51
|
|
|
47
52
|
### 3.3.0
|
|
48
53
|
|
|
@@ -62,7 +67,7 @@ npm install @wavelengthusaf/components
|
|
|
62
67
|
### 3.1.0
|
|
63
68
|
|
|
64
69
|
- 6/2/2025
|
|
65
|
-
- Added `WLChildDataTable`; Changed naming conventions for components into their respective categories.
|
|
70
|
+
- Added `WLChildDataTable`; Changed naming conventions for components into their respective categories.
|
|
66
71
|
|
|
67
72
|
### 3.0.3
|
|
68
73
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1790,9 +1790,9 @@ var WavelengthInput = class extends HTMLElement {
|
|
|
1790
1790
|
this._debounceValidate = () => {
|
|
1791
1791
|
};
|
|
1792
1792
|
this._debounceTimeout = null;
|
|
1793
|
-
this.internals = null;
|
|
1794
1793
|
this._onInput = () => {
|
|
1795
1794
|
this.setAttribute("value", this.inputEl.value);
|
|
1795
|
+
this.internals.setFormValue(this.inputEl.value);
|
|
1796
1796
|
this.dispatchEvent(
|
|
1797
1797
|
new CustomEvent("inputChange", {
|
|
1798
1798
|
bubbles: true,
|
|
@@ -1837,6 +1837,7 @@ var WavelengthInput = class extends HTMLElement {
|
|
|
1837
1837
|
})
|
|
1838
1838
|
);
|
|
1839
1839
|
};
|
|
1840
|
+
this.internals = this.attachInternals();
|
|
1840
1841
|
const shadow = this.attachShadow({ mode: "open" });
|
|
1841
1842
|
shadow.appendChild(template3.content.cloneNode(true));
|
|
1842
1843
|
this.inputEl = document.createElement("input");
|
|
@@ -1846,9 +1847,6 @@ var WavelengthInput = class extends HTMLElement {
|
|
|
1846
1847
|
this.clearButtonEl.addEventListener("click", this._onClearClick);
|
|
1847
1848
|
shadow.querySelector(".input-wrapper").appendChild(this.inputEl);
|
|
1848
1849
|
shadow.appendChild(this.placeholderStyleEl);
|
|
1849
|
-
if (this.attachInternals) {
|
|
1850
|
-
this.internals = this.attachInternals();
|
|
1851
|
-
}
|
|
1852
1850
|
}
|
|
1853
1851
|
static get observedAttributes() {
|
|
1854
1852
|
return [
|
|
@@ -2225,6 +2223,7 @@ var WavelengthInput = class extends HTMLElement {
|
|
|
2225
2223
|
val ? this.setAttribute("clearable", "") : this.removeAttribute("clearable");
|
|
2226
2224
|
}
|
|
2227
2225
|
};
|
|
2226
|
+
WavelengthInput.formAssociated = true;
|
|
2228
2227
|
if (!customElements.get("wavelength-input")) {
|
|
2229
2228
|
customElements.define("wavelength-input", WavelengthInput);
|
|
2230
2229
|
}
|