@swiftwc/ui 0.0.0-dev.41 → 0.0.0-dev.43

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.
@@ -182,7 +182,7 @@ export class PickerView extends FormAssociatedBase {
182
182
  const currentValueLabel = this.querySelector(':scope>label-view:not([slot])') ?? this.appendChild($(`<label-view></label-view>`, '>1'));
183
183
  // reset state
184
184
  currentValueLabel.setAttribute('system-image', 'dots-three'); // overwritten
185
- currentValueLabel.setAttribute('title', this.#selection); //, this.#currentValueLabel) // overwritten
185
+ currentValueLabel.setAttribute('title', this.#currentValueLabel); // overwritten
186
186
  // clear all siblings
187
187
  for (const el of this.querySelectorAll(':scope>:not([slot])'))
188
188
  if (currentValueLabel !== el)
@@ -218,7 +218,7 @@ export class PickerView extends FormAssociatedBase {
218
218
  el.remove();
219
219
  const currentValueLabel = menu.querySelector(':scope>label-view[slot=label]') ?? menu.appendChild($(`<label-view slot="label"></label-view>`, '>1'));
220
220
  currentValueLabel.setAttribute('system-image', 'dots-three'); // overwritten
221
- currentValueLabel.setAttribute('title', this.#selection); //this.#currentValueLabel) // overwritten
221
+ currentValueLabel.setAttribute('title', this.#currentValueLabel); // overwritten
222
222
  _a.#reflectButtons([...(this.#slots?.get('list')?.assignedElements() ?? [])], menu);
223
223
  break;
224
224
  }
@@ -62,6 +62,7 @@ export class ProgressView extends HTMLElement {
62
62
  connectedCallback() {
63
63
  if (devFlags.debug)
64
64
  console.debug(`${_a.name} ⚡️ connect`);
65
+ this.inert = true;
65
66
  this.#cssStyleObserver = new CSSStyleObserver({
66
67
  properties: ['--progress-view-style-index'],
67
68
  });