@breadstone/mosaik-elements-svelte 0.0.255 → 0.0.256
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 +4 -0
- package/index.mjs +8 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 0.0.256 (2026-05-04)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
1
5
|
## 0.0.255 (2026-05-04)
|
|
2
6
|
|
|
3
7
|
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
package/index.mjs
CHANGED
|
@@ -214754,6 +214754,13 @@ var o7 = function(e, t, n, r) {
|
|
|
214754
214754
|
get selectedIndex() {
|
|
214755
214755
|
return this.items.findIndex((e) => e.isSelected);
|
|
214756
214756
|
}
|
|
214757
|
+
firstUpdated(e) {
|
|
214758
|
+
if (super.firstUpdated(e), this._hasIndicator) {
|
|
214759
|
+
this._indicatorElement = this.getTemplatePart("indicator");
|
|
214760
|
+
let e = this.getCurrent();
|
|
214761
|
+
e && this.alignIndicatorTo(e);
|
|
214762
|
+
}
|
|
214763
|
+
}
|
|
214757
214764
|
select(e) {
|
|
214758
214765
|
if (!e.disabled) {
|
|
214759
214766
|
for (let t of this.items) t.isSelected = t === e, t.isSelected && this.alignIndicatorTo(t);
|
|
@@ -214873,7 +214880,7 @@ o7([
|
|
|
214873
214880
|
s7("design:paramtypes", [String, String]),
|
|
214874
214881
|
s7("design:returntype", void 0)
|
|
214875
214882
|
], c7.prototype, "onOrientationPropertyChanged", null), o7([
|
|
214876
|
-
L("hasIndicator"),
|
|
214883
|
+
L("hasIndicator", { waitUntilFirstUpdate: !0 }),
|
|
214877
214884
|
s7("design:type", Function),
|
|
214878
214885
|
s7("design:paramtypes", [Boolean, Boolean]),
|
|
214879
214886
|
s7("design:returntype", void 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.256",
|
|
4
4
|
"description": "Mosaik elements for Svelte.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"vite": "*"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@breadstone/mosaik-elements": "^0.0.
|
|
19
|
-
"@breadstone/mosaik-elements-foundation": "^0.0.
|
|
18
|
+
"@breadstone/mosaik-elements": "^0.0.256",
|
|
19
|
+
"@breadstone/mosaik-elements-foundation": "^0.0.256"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|