@wavelengthusaf/web-components 1.5.0 → 1.6.0

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 CHANGED
@@ -14,6 +14,11 @@ npm install @wavelengthusaf/web-components
14
14
 
15
15
  ## Release Notes
16
16
 
17
+ ### 1.6.0
18
+
19
+ - 2/24/2026
20
+ - Added disabled attribute to multi-select-autocomplete
21
+
17
22
  ### 1.2.0
18
23
 
19
24
  - 12/4/2025
@@ -4135,6 +4135,10 @@ template3.innerHTML = `
4135
4135
  font-family: Inter, sans-serif;
4136
4136
  font-size: 14px;
4137
4137
  }
4138
+
4139
+ .disabled {
4140
+ pointer-events: none;
4141
+ }
4138
4142
 
4139
4143
  .multi-select-input-wrapper {
4140
4144
  display: flex;
@@ -4331,6 +4335,8 @@ template3.innerHTML = `
4331
4335
  .multi-select-arrow:hover {
4332
4336
  background-color: #f3eeee;
4333
4337
  }
4338
+
4339
+ .click-disbl
4334
4340
  </style>
4335
4341
 
4336
4342
  <div class="multi-select-container" part="multi-select-container">
@@ -4404,7 +4410,7 @@ var BaseWavelengthMultiSelectAutocomplete = class extends HTMLElement {
4404
4410
  }
4405
4411
  // Define which attributes to observe for changes
4406
4412
  static get observedAttributes() {
4407
- return ["name", "placeholder", "label", "options"];
4413
+ return ["name", "placeholder", "label", "options", "disabled"];
4408
4414
  }
4409
4415
  // React to attribute changes
4410
4416
  attributeChangedCallback(name, oldValue, newValue) {
@@ -4421,6 +4427,9 @@ var BaseWavelengthMultiSelectAutocomplete = class extends HTMLElement {
4421
4427
  } else if (name === "options") {
4422
4428
  this._options = JSON.parse(newValue);
4423
4429
  this.render();
4430
+ } else if (name === "disabled") {
4431
+ this._input.disabled = newValue.toLowerCase() === "true";
4432
+ this._container.classList.add("disabled");
4424
4433
  }
4425
4434
  }
4426
4435
  // Fired when the component is added to the DOM
package/dist/esm/index.js CHANGED
@@ -4135,6 +4135,10 @@ template3.innerHTML = `
4135
4135
  font-family: Inter, sans-serif;
4136
4136
  font-size: 14px;
4137
4137
  }
4138
+
4139
+ .disabled {
4140
+ pointer-events: none;
4141
+ }
4138
4142
 
4139
4143
  .multi-select-input-wrapper {
4140
4144
  display: flex;
@@ -4331,6 +4335,8 @@ template3.innerHTML = `
4331
4335
  .multi-select-arrow:hover {
4332
4336
  background-color: #f3eeee;
4333
4337
  }
4338
+
4339
+ .click-disbl
4334
4340
  </style>
4335
4341
 
4336
4342
  <div class="multi-select-container" part="multi-select-container">
@@ -4404,7 +4410,7 @@ var BaseWavelengthMultiSelectAutocomplete = class extends HTMLElement {
4404
4410
  }
4405
4411
  // Define which attributes to observe for changes
4406
4412
  static get observedAttributes() {
4407
- return ["name", "placeholder", "label", "options"];
4413
+ return ["name", "placeholder", "label", "options", "disabled"];
4408
4414
  }
4409
4415
  // React to attribute changes
4410
4416
  attributeChangedCallback(name, oldValue, newValue) {
@@ -4421,6 +4427,9 @@ var BaseWavelengthMultiSelectAutocomplete = class extends HTMLElement {
4421
4427
  } else if (name === "options") {
4422
4428
  this._options = JSON.parse(newValue);
4423
4429
  this.render();
4430
+ } else if (name === "disabled") {
4431
+ this._input.disabled = newValue.toLowerCase() === "true";
4432
+ this._container.classList.add("disabled");
4424
4433
  }
4425
4434
  }
4426
4435
  // Fired when the component is added to the DOM
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@wavelengthusaf/web-components",
3
3
  "author": "563 EWS - Wavelength",
4
4
  "license": "MIT",
5
- "version": "1.5.0",
5
+ "version": "1.6.0",
6
6
  "description": "Common component library used by Wavelength developers (NATIVE WEB COMPONENTS)",
7
7
  "main": "/dist/cjs/index.cjs",
8
8
  "module": "/dist/esm/index.js",