@getflip/swirl-components 0.38.2 → 0.38.3

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/components.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-04-14T11:55:48",
2
+ "timestamp": "2023-04-14T12:16:23",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "3.0.0",
@@ -3211,7 +3211,9 @@ const SwirlOptionList = class {
3211
3211
  this.items = utils.querySelectorAllDeep(this.el, "swirl-option-list-item");
3212
3212
  }
3213
3213
  setItemDisabledState() {
3214
- this.items.forEach((item) => (item.disabled = this.disabled));
3214
+ if (this.disabled) {
3215
+ this.items.forEach((item) => (item.disabled = true));
3216
+ }
3215
3217
  }
3216
3218
  setItemContext() {
3217
3219
  if (this.multiSelect) {