@mustib/web-components 0.0.0-alpha.7 → 0.0.0-alpha.8

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.
@@ -148,8 +148,13 @@ class MuRange extends MuElement {
148
148
  linkedThumbs: thumbs,
149
149
  };
150
150
  thumbs.forEach((thumb) => {
151
- if (thumb.linkedFillElements)
152
- thumb.linkedFillElements.push(rangeFill);
151
+ if (thumb.linkedFillElements) {
152
+ const previousLinkedFillIndex = thumb.linkedFillElements.findIndex((linkedThumb) => linkedThumb.element === rangeFill.element);
153
+ const index = previousLinkedFillIndex === -1
154
+ ? thumb.linkedFillElements.length
155
+ : previousLinkedFillIndex;
156
+ thumb.linkedFillElements[index] = rangeFill;
157
+ }
153
158
  else
154
159
  thumb.linkedFillElements = [rangeFill];
155
160
  this.updateRangeFill(rangeFill);
@@ -36,7 +36,7 @@ declare class MuSelectLabel extends MuElement {
36
36
  setActiveDescendantId(id?: string): void;
37
37
  connectedCallback(): void;
38
38
  protected _assignLabelAndValueTypes(): void;
39
- get comboboxElement(): HTMLElement | MuSelectLabelContent | null | undefined;
39
+ get comboboxElement(): MuSelectLabelContent | HTMLElement | null | undefined;
40
40
  focus(options?: FocusOptions): void;
41
41
  protected _slotChangeHandler: () => void;
42
42
  protected firstUpdated(_changedProperties: PropertyValues): void;
@@ -1,6 +1,6 @@
1
1
  import 'lit';
2
2
  import './mu-element.js';
3
3
  import './mu-icon.js';
4
- export { c as MuToastItem, a as MuToastItemComponent } from '../mu-toast-DfNHcc7U.js';
4
+ export { c as MuToastItem, a as MuToastItemComponent } from '../mu-toast-BVFS7BJq.js';
5
5
  import '@mustib/utils/browser';
6
6
  import '@mustib/utils';
@@ -1,6 +1,6 @@
1
1
  import 'lit';
2
2
  import './mu-element.js';
3
- export { b as MuToast, M as MuToastComponent } from '../mu-toast-DfNHcc7U.js';
3
+ export { b as MuToast, M as MuToastComponent } from '../mu-toast-BVFS7BJq.js';
4
4
  import '@mustib/utils/browser';
5
5
  import './mu-icon.js';
6
6
  import '@mustib/utils';
package/index.d.ts CHANGED
@@ -23,8 +23,8 @@ export { MuSortable } from './components/mu-sortable.js';
23
23
  import { MuSortableItemComponent } from './components/mu-sortable-item.js';
24
24
  export { MuSortableItem } from './components/mu-sortable-item.js';
25
25
  export { MuSortableTrigger } from './components/mu-sortable-trigger.js';
26
- import { M as MuToastComponent, a as MuToastItemComponent } from './mu-toast-DfNHcc7U.js';
27
- export { A as AnimationKeyframes, L as LockedEvent, b as MuToast, c as MuToastItem, T as Toast, d as ToastController, e as ToastData } from './mu-toast-DfNHcc7U.js';
26
+ import { M as MuToastComponent, a as MuToastItemComponent } from './mu-toast-BVFS7BJq.js';
27
+ export { A as AnimationKeyframes, L as LockedEvent, b as MuToast, c as MuToastItem, T as Toast, d as ToastController, e as ToastData } from './mu-toast-BVFS7BJq.js';
28
28
  import { MuTransparentComponent } from './components/mu-transparent.js';
29
29
  export { MuTransparent } from './components/mu-transparent.js';
30
30
  import { MuTriggerComponent } from './components/mu-trigger.js';
@@ -164,7 +164,7 @@ declare class Toast$1 {
164
164
  get closeBtn(): boolean | TemplateResult;
165
165
  get leaveAnimationDuration(): number;
166
166
  get enterAnimationDuration(): number;
167
- get direction(): "rtl" | "ltr";
167
+ get direction(): "ltr" | "rtl";
168
168
  get interactingBehavior(): "reset-progress" | "pause-progress" | "nothing";
169
169
  get status(): "queued" | "await-rendering" | "enter" | "progress" | "leave";
170
170
  get priority(): "immediate" | "normal" | "important";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "description": "A customizable web-components library with lit",
5
5
  "private": false,
6
- "version": "0.0.0-alpha.7",
6
+ "version": "0.0.0-alpha.8",
7
7
  "lint-staged": {
8
8
  "*.{js,ts,astro}": "biome check --write"
9
9
  },
package/utils/Toast.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import '@mustib/utils';
2
2
  import 'lit';
3
3
  import '../components/mu-icon.js';
4
- export { T as Toast } from '../mu-toast-DfNHcc7U.js';
4
+ export { T as Toast } from '../mu-toast-BVFS7BJq.js';
5
5
  import '../components/mu-element.js';
6
6
  import '@mustib/utils/browser';
@@ -1,5 +1,5 @@
1
1
  import '@mustib/utils';
2
- export { d as ToastController } from '../mu-toast-DfNHcc7U.js';
2
+ export { d as ToastController } from '../mu-toast-BVFS7BJq.js';
3
3
  import 'lit';
4
4
  import '../components/mu-element.js';
5
5
  import '@mustib/utils/browser';