@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.
- package/components/mu-range.js +7 -2
- package/components/mu-select-label.d.ts +1 -1
- package/components/mu-toast-item.d.ts +1 -1
- package/components/mu-toast.d.ts +1 -1
- package/index.d.ts +2 -2
- package/{mu-toast-DfNHcc7U.d.ts → mu-toast-BVFS7BJq.d.ts} +1 -1
- package/package.json +1 -1
- package/utils/Toast.d.ts +1 -1
- package/utils/ToastController.d.ts +1 -1
package/components/mu-range.js
CHANGED
|
@@ -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.
|
|
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():
|
|
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-
|
|
4
|
+
export { c as MuToastItem, a as MuToastItemComponent } from '../mu-toast-BVFS7BJq.js';
|
|
5
5
|
import '@mustib/utils/browser';
|
|
6
6
|
import '@mustib/utils';
|
package/components/mu-toast.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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(): "
|
|
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
package/utils/Toast.d.ts
CHANGED