@breadstone/mosaik-elements-svelte 0.1.59 → 0.1.61
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/CHANGELOG.md +12 -0
- package/index.mjs +34 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.1.61 (2026-07-27)
|
|
2
|
+
|
|
3
|
+
### 🩹 Fixes
|
|
4
|
+
|
|
5
|
+
- **components:** ensure closed event handling respects target element ([86da3f3b56](https://github.com/RueDeRennes/mosaik/commit/86da3f3b56))
|
|
6
|
+
|
|
7
|
+
## 0.1.60 (2026-07-27)
|
|
8
|
+
|
|
9
|
+
### 🩹 Fixes
|
|
10
|
+
|
|
11
|
+
- **components:** ensure closed event handling respects target element ([86da3f3b56](https://github.com/RueDeRennes/mosaik/commit/86da3f3b56))
|
|
12
|
+
|
|
1
13
|
## 0.1.59 (2026-07-26)
|
|
2
14
|
|
|
3
15
|
### 🚀 Features
|
package/index.mjs
CHANGED
|
@@ -90916,6 +90916,12 @@ function UB() {
|
|
|
90916
90916
|
display: flex;
|
|
90917
90917
|
}
|
|
90918
90918
|
|
|
90919
|
+
:host [part="suffix"] {
|
|
90920
|
+
align-self: stretch;
|
|
90921
|
+
align-items: center;
|
|
90922
|
+
display: flex;
|
|
90923
|
+
}
|
|
90924
|
+
|
|
90919
90925
|
:host ::slotted(mosaik-text) {
|
|
90920
90926
|
font-family: inherit;
|
|
90921
90927
|
font-size: inherit;
|
|
@@ -91048,6 +91054,12 @@ function WB() {
|
|
|
91048
91054
|
display: flex;
|
|
91049
91055
|
}
|
|
91050
91056
|
|
|
91057
|
+
:host [part="suffix"] {
|
|
91058
|
+
align-self: stretch;
|
|
91059
|
+
align-items: center;
|
|
91060
|
+
display: flex;
|
|
91061
|
+
}
|
|
91062
|
+
|
|
91051
91063
|
:host ::slotted(mosaik-text) {
|
|
91052
91064
|
font-family: inherit;
|
|
91053
91065
|
font-size: inherit;
|
|
@@ -91193,6 +91205,12 @@ function GB() {
|
|
|
91193
91205
|
display: flex;
|
|
91194
91206
|
}
|
|
91195
91207
|
|
|
91208
|
+
:host [part="suffix"] {
|
|
91209
|
+
align-self: stretch;
|
|
91210
|
+
align-items: center;
|
|
91211
|
+
display: flex;
|
|
91212
|
+
}
|
|
91213
|
+
|
|
91196
91214
|
:host ::slotted(mosaik-text) {
|
|
91197
91215
|
font-family: inherit;
|
|
91198
91216
|
font-size: inherit;
|
|
@@ -92132,11 +92150,12 @@ function pV() {
|
|
|
92132
92150
|
|
|
92133
92151
|
:host [part="items"] {
|
|
92134
92152
|
gap: var(--list-gap);
|
|
92135
|
-
|
|
92136
|
-
overflow-y: overlay;
|
|
92153
|
+
background-color: var(--list-background-color);
|
|
92137
92154
|
flex-direction: column;
|
|
92138
92155
|
flex: auto;
|
|
92156
|
+
min-height: 0;
|
|
92139
92157
|
display: flex;
|
|
92158
|
+
overflow-y: auto;
|
|
92140
92159
|
}
|
|
92141
92160
|
|
|
92142
92161
|
:host [part="items"] [part="filter"] {
|
|
@@ -92301,11 +92320,12 @@ function mV() {
|
|
|
92301
92320
|
|
|
92302
92321
|
:host [part="items"] {
|
|
92303
92322
|
gap: var(--list-gap);
|
|
92304
|
-
|
|
92305
|
-
overflow-y: overlay;
|
|
92323
|
+
background-color: var(--list-background-color);
|
|
92306
92324
|
flex-direction: column;
|
|
92307
92325
|
flex: auto;
|
|
92326
|
+
min-height: 0;
|
|
92308
92327
|
display: flex;
|
|
92328
|
+
overflow-y: auto;
|
|
92309
92329
|
}
|
|
92310
92330
|
|
|
92311
92331
|
:host [part="items"] [part="filter"] {
|
|
@@ -92470,11 +92490,12 @@ function hV() {
|
|
|
92470
92490
|
|
|
92471
92491
|
:host [part="items"] {
|
|
92472
92492
|
gap: var(--list-gap);
|
|
92473
|
-
|
|
92474
|
-
overflow-y: overlay;
|
|
92493
|
+
background-color: var(--list-background-color);
|
|
92475
92494
|
flex-direction: column;
|
|
92476
92495
|
flex: auto;
|
|
92496
|
+
min-height: 0;
|
|
92477
92497
|
display: flex;
|
|
92498
|
+
overflow-y: auto;
|
|
92478
92499
|
}
|
|
92479
92500
|
|
|
92480
92501
|
:host [part="items"] [part="filter"] {
|
|
@@ -196911,6 +196932,7 @@ var y8 = function(e, t, n, r) {
|
|
|
196911
196932
|
_autoplay;
|
|
196912
196933
|
_timeout;
|
|
196913
196934
|
_autoplayController;
|
|
196935
|
+
_resizeController;
|
|
196914
196936
|
constructor() {
|
|
196915
196937
|
super(), tC(this, {
|
|
196916
196938
|
context: h8,
|
|
@@ -196920,7 +196942,7 @@ var y8 = function(e, t, n, r) {
|
|
|
196920
196942
|
getDuration: () => this.getEffectiveTimeout(),
|
|
196921
196943
|
getHoverElement: () => this._listElement,
|
|
196922
196944
|
isEnabled: () => this._autoplay && this._timeout > 0 && this.items.length >= 2
|
|
196923
|
-
});
|
|
196945
|
+
}), this._resizeController = new lL(this, { callback: () => this.realignSlideAfterResize() });
|
|
196924
196946
|
}
|
|
196925
196947
|
static get is() {
|
|
196926
196948
|
return "mosaik-carousel";
|
|
@@ -197068,6 +197090,11 @@ var y8 = function(e, t, n, r) {
|
|
|
197068
197090
|
break;
|
|
197069
197091
|
}
|
|
197070
197092
|
}
|
|
197093
|
+
realignSlideAfterResize() {
|
|
197094
|
+
if (this._displayMode !== p8.Slide || !this.selectedItem || !this._listElement) return;
|
|
197095
|
+
let e = this._listElement.style.transition;
|
|
197096
|
+
this._listElement.style.transition = "none", this.scrollToActiveItem(), this._listElement.offsetHeight, e ? this._listElement.style.transition = e : this._listElement.style.removeProperty("transition");
|
|
197097
|
+
}
|
|
197071
197098
|
isOutOfView(e, t) {
|
|
197072
197099
|
let { offsetWidth: n, offsetLeft: r } = this.items[e];
|
|
197073
197100
|
return (!t || t === "prev") && r - this._position < 0 || (!t || t === "next") && n + r - this._position > (this._listElement?.clientWidth ?? 0);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"description": "Mosaik elements for Svelte.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@breadstone/mosaik-elements": "0.1.
|
|
15
|
-
"@breadstone/mosaik-elements-foundation": "0.1.
|
|
14
|
+
"@breadstone/mosaik-elements": "0.1.61",
|
|
15
|
+
"@breadstone/mosaik-elements-foundation": "0.1.61",
|
|
16
16
|
"tslib": "2.8.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|