@breadstone/mosaik-elements-svelte 0.1.14 → 0.1.16

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index.mjs +70 -37
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.1.16 (2026-06-15)
2
+
3
+ This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
4
+
5
+ ## 0.1.15 (2026-06-14)
6
+
7
+ This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
8
+
1
9
  ## 0.1.14 (2026-06-14)
2
10
 
3
11
  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
@@ -72507,7 +72507,7 @@ function zI() {
72507
72507
  display: flex;
72508
72508
  }
72509
72509
 
72510
- :host [part="actions"]:hidden {
72510
+ :host [part="actions"][hidden] {
72511
72511
  display: none;
72512
72512
  }
72513
72513
 
@@ -72653,7 +72653,7 @@ function BI() {
72653
72653
  display: flex;
72654
72654
  }
72655
72655
 
72656
- :host [part="actions"]:hidden {
72656
+ :host [part="actions"][hidden] {
72657
72657
  display: none;
72658
72658
  }
72659
72659
 
@@ -72819,7 +72819,7 @@ function VI() {
72819
72819
  display: flex;
72820
72820
  }
72821
72821
 
72822
- :host [part="actions"]:hidden {
72822
+ :host [part="actions"][hidden] {
72823
72823
  display: none;
72824
72824
  }
72825
72825
 
@@ -216684,6 +216684,7 @@ function eTe(e) {
216684
216684
  "is-error": r.state === "error"
216685
216685
  })}">
216686
216686
  <button part="step"
216687
+ id="step-${i}"
216687
216688
  class="${Hb({
216688
216689
  "is-active": r.isSelected,
216689
216690
  "is-completed": r.state === "completed",
@@ -216696,11 +216697,20 @@ function eTe(e) {
216696
216697
  aria-setsize="${e.items.length}"
216697
216698
  ?disabled="${r.disabled || e.disabled}"
216698
216699
  @click="${() => e.onStepInvoked(r)}">
216700
+ ${U(!r.disabled, () => V`
216701
+ <mosaik-focus-ring part="focusRing"
216702
+ .variant="${n(r.state)}"
216703
+ .controlled="${"auto"}"
216704
+ .for="${`step-${i}`}"
216705
+ .lang="${e.lang}"
216706
+ .dir="${e.dir}"></mosaik-focus-ring>
216707
+ `)}
216699
216708
  <span part="step-icon"
216700
216709
  aria-hidden="true">
216701
216710
  <mosaik-pip part="step-state"
216702
216711
  .icon="${r.icon ? r.icon : t(r.state)}"
216703
216712
  .text="${String(i + 1)}"
216713
+ .size="${r.iconSize ?? "medium"}"
216704
216714
  .variant="${n(r.state)}"
216705
216715
  .appearance="${"plain"}"></mosaik-pip>
216706
216716
  </span>
@@ -217098,10 +217108,11 @@ var q5 = function(e, t, n, r) {
217098
217108
  _description;
217099
217109
  _hint;
217100
217110
  _icon;
217111
+ _iconSize;
217101
217112
  _state;
217102
217113
  _isActive;
217103
217114
  constructor() {
217104
- super(), this._header = "", this._description = "", this._hint = "", this._icon = "", this._state = "pending", this._isActive = !1, this.enter = _w, this.exit = vw;
217115
+ super(), this._header = "", this._description = "", this._hint = "", this._icon = "", this._iconSize = null, this._state = "pending", this._isActive = !1, this.enter = _w, this.exit = vw;
217105
217116
  }
217106
217117
  static get is() {
217107
217118
  return "mosaik-stepper-item";
@@ -217136,6 +217147,12 @@ var q5 = function(e, t, n, r) {
217136
217147
  set icon(e) {
217137
217148
  this._icon !== e && (this._icon = e, this.requestUpdate("icon"));
217138
217149
  }
217150
+ get iconSize() {
217151
+ return this._iconSize;
217152
+ }
217153
+ set iconSize(e) {
217154
+ this._iconSize !== e && (this._iconSize = e, this.requestUpdate("iconSize"));
217155
+ }
217139
217156
  get state() {
217140
217157
  return this._state;
217141
217158
  }
@@ -217181,6 +217198,10 @@ q5([
217181
217198
  J5("design:type", String),
217182
217199
  J5("design:paramtypes", [String])
217183
217200
  ], Y5.prototype, "icon", null), q5([
217201
+ A({ type: G }),
217202
+ J5("design:type", Object),
217203
+ J5("design:paramtypes", [Object])
217204
+ ], Y5.prototype, "iconSize", null), q5([
217184
217205
  A({
217185
217206
  type: String,
217186
217207
  useDefault: !0
@@ -217370,14 +217391,13 @@ function aTe() {
217370
217391
  gap: var(--stepper-gap);
217371
217392
  background: none;
217372
217393
  border: none;
217394
+ outline: none;
217373
217395
  width: 100%;
217374
217396
  display: inline-flex;
217375
217397
  }
217376
217398
 
217377
- :host [part="step-container"] [part="step"]:focus-visible {
217378
- outline-width: var(--stepper-focus-outline-width);
217379
- outline-offset: var(--stepper-focus-outline-offset);
217380
- outline-style: solid;
217399
+ :host [part="step-container"] [part="step"][disabled]:not([disabled="false"]) {
217400
+ cursor: default;
217381
217401
  }
217382
217402
 
217383
217403
  :host [part="step-container"] [part="step"] [part="step-icon"] {
@@ -217395,6 +217415,7 @@ function aTe() {
217395
217415
  :host [part="step-container"] [part="step"] [part="step-text"] {
217396
217416
  gap: calc(var(--stepper-gap) / 2);
217397
217417
  flex-direction: column;
217418
+ flex: 1;
217398
217419
  min-width: 0;
217399
217420
  font-family: inherit;
217400
217421
  display: inline-flex;
@@ -217581,14 +217602,13 @@ function oTe() {
217581
217602
  gap: var(--stepper-gap);
217582
217603
  background: none;
217583
217604
  border: none;
217605
+ outline: none;
217584
217606
  width: 100%;
217585
217607
  display: inline-flex;
217586
217608
  }
217587
217609
 
217588
- :host [part="step-container"] [part="step"]:focus-visible {
217589
- outline-width: var(--stepper-focus-outline-width);
217590
- outline-offset: var(--stepper-focus-outline-offset);
217591
- outline-style: solid;
217610
+ :host [part="step-container"] [part="step"][disabled]:not([disabled="false"]) {
217611
+ cursor: default;
217592
217612
  }
217593
217613
 
217594
217614
  :host [part="step-container"] [part="step"] [part="step-icon"] {
@@ -217606,6 +217626,7 @@ function oTe() {
217606
217626
  :host [part="step-container"] [part="step"] [part="step-text"] {
217607
217627
  gap: calc(var(--stepper-gap) / 2);
217608
217628
  flex-direction: column;
217629
+ flex: 1;
217609
217630
  min-width: 0;
217610
217631
  font-family: inherit;
217611
217632
  display: inline-flex;
@@ -217637,12 +217658,8 @@ function oTe() {
217637
217658
  color: var(--joy-scheme-foreground);
217638
217659
  }
217639
217660
 
217640
- :host [part="step-container"] [part="step"]:focus-visible {
217641
- outline-color: var(--joy-color-primary-500);
217642
- }
217643
-
217644
217661
  :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) [part="step-icon"] [part="step-state"], :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) ::slotted(mosaik-icon) {
217645
- background: var(--joy-color-primary-500);
217662
+ background: var(--joy-scheme-middlelight);
217646
217663
  }
217647
217664
 
217648
217665
  :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) [part="step-text"], :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) ::slotted(mosaik-text) {
@@ -217650,24 +217667,39 @@ function oTe() {
217650
217667
  font-weight: 600;
217651
217668
  }
217652
217669
 
217653
- :host [part="step-container"] [part="step"] [part="step-icon"] [part="step-state"] {
217654
- color: var(--joy-scheme-foreground);
217655
- background-color: var(--joy-scheme-highlight);
217670
+ :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))).is-active [part="step-icon"] [part="step-state"] {
217671
+ color: var(--joy-color-primary-0);
217672
+ background: var(--joy-color-primary-500);
217673
+ }
217674
+
217675
+ :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))).is-completed [part="step-icon"] [part="step-state"] {
217676
+ color: var(--joy-color-success-0);
217677
+ background: var(--joy-color-success-500);
217678
+ }
217679
+
217680
+ :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))).is-error [part="step-icon"] [part="step-state"] {
217681
+ color: var(--joy-color-danger-0);
217682
+ background: var(--joy-color-danger-500);
217656
217683
  }
217657
217684
 
217658
217685
  :host [part="step-container"] [part="step"].is-active [part="step-icon"] [part="step-state"] {
217659
217686
  color: var(--joy-color-primary-0);
217660
- background-color: var(--joy-color-primary-500);
217687
+ background: var(--joy-color-primary-500);
217661
217688
  }
217662
217689
 
217663
217690
  :host [part="step-container"] [part="step"].is-completed [part="step-icon"] [part="step-state"] {
217664
217691
  color: var(--joy-color-success-0);
217665
- background-color: var(--joy-color-success-500);
217692
+ background: var(--joy-color-success-500);
217666
217693
  }
217667
217694
 
217668
217695
  :host [part="step-container"] [part="step"].is-error [part="step-icon"] [part="step-state"] {
217669
217696
  color: var(--joy-color-danger-0);
217670
- background-color: var(--joy-color-danger-500);
217697
+ background: var(--joy-color-danger-500);
217698
+ }
217699
+
217700
+ :host [part="step-container"] [part="step"] [part="step-icon"] [part="step-state"] {
217701
+ color: var(--joy-scheme-foreground);
217702
+ background: var(--joy-scheme-highlight);
217671
217703
  }
217672
217704
 
217673
217705
  :host [part="step-container"] [part="step"] [part="step-text"] {
@@ -217875,14 +217907,13 @@ function sTe() {
217875
217907
  gap: var(--stepper-gap);
217876
217908
  background: none;
217877
217909
  border: none;
217910
+ outline: none;
217878
217911
  width: 100%;
217879
217912
  display: inline-flex;
217880
217913
  }
217881
217914
 
217882
- :host [part="step-container"] [part="step"]:focus-visible {
217883
- outline-width: var(--stepper-focus-outline-width);
217884
- outline-offset: var(--stepper-focus-outline-offset);
217885
- outline-style: solid;
217915
+ :host [part="step-container"] [part="step"][disabled]:not([disabled="false"]) {
217916
+ cursor: default;
217886
217917
  }
217887
217918
 
217888
217919
  :host [part="step-container"] [part="step"] [part="step-icon"] {
@@ -217900,6 +217931,7 @@ function sTe() {
217900
217931
  :host [part="step-container"] [part="step"] [part="step-text"] {
217901
217932
  gap: calc(var(--stepper-gap) / 2);
217902
217933
  flex-direction: column;
217934
+ flex: 1;
217903
217935
  min-width: 0;
217904
217936
  font-family: inherit;
217905
217937
  display: inline-flex;
@@ -218047,7 +218079,8 @@ X5([
218047
218079
  Y5,
218048
218080
  _S,
218049
218081
  W,
218050
- E0
218082
+ E0,
218083
+ bS
218051
218084
  ]
218052
218085
  }), Z5("design:paramtypes", [])], Q5);
218053
218086
  //#endregion
@@ -225555,7 +225588,7 @@ function bEe() {
225555
225588
  display: flex;
225556
225589
  }
225557
225590
 
225558
- :host [part="actions"]:hidden {
225591
+ :host [part="actions"][hidden] {
225559
225592
  display: none;
225560
225593
  }
225561
225594
 
@@ -225701,7 +225734,7 @@ function xEe() {
225701
225734
  display: flex;
225702
225735
  }
225703
225736
 
225704
- :host [part="actions"]:hidden {
225737
+ :host [part="actions"][hidden] {
225705
225738
  display: none;
225706
225739
  }
225707
225740
 
@@ -225867,7 +225900,7 @@ function SEe() {
225867
225900
  display: flex;
225868
225901
  }
225869
225902
 
225870
- :host [part="actions"]:hidden {
225903
+ :host [part="actions"][hidden] {
225871
225904
  display: none;
225872
225905
  }
225873
225906
 
@@ -226121,7 +226154,7 @@ function wEe() {
226121
226154
  display: flex;
226122
226155
  }
226123
226156
 
226124
- :host [part="actions"]:hidden {
226157
+ :host [part="actions"][hidden] {
226125
226158
  display: none;
226126
226159
  }
226127
226160
 
@@ -226261,7 +226294,7 @@ function TEe() {
226261
226294
  display: flex;
226262
226295
  }
226263
226296
 
226264
- :host [part="actions"]:hidden {
226297
+ :host [part="actions"][hidden] {
226265
226298
  display: none;
226266
226299
  }
226267
226300
 
@@ -226422,7 +226455,7 @@ function EEe() {
226422
226455
  display: flex;
226423
226456
  }
226424
226457
 
226425
- :host [part="actions"]:hidden {
226458
+ :host [part="actions"][hidden] {
226426
226459
  display: none;
226427
226460
  }
226428
226461
 
@@ -226690,7 +226723,7 @@ function OEe() {
226690
226723
  display: flex;
226691
226724
  }
226692
226725
 
226693
- :host [part="actions"]:hidden {
226726
+ :host [part="actions"][hidden] {
226694
226727
  display: none;
226695
226728
  }
226696
226729
 
@@ -226830,7 +226863,7 @@ function kEe() {
226830
226863
  display: flex;
226831
226864
  }
226832
226865
 
226833
- :host [part="actions"]:hidden {
226866
+ :host [part="actions"][hidden] {
226834
226867
  display: none;
226835
226868
  }
226836
226869
 
@@ -226991,7 +227024,7 @@ function AEe() {
226991
227024
  display: flex;
226992
227025
  }
226993
227026
 
226994
- :host [part="actions"]:hidden {
227027
+ :host [part="actions"][hidden] {
226995
227028
  display: none;
226996
227029
  }
226997
227030
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
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.14",
15
- "@breadstone/mosaik-elements-foundation": "0.1.14",
14
+ "@breadstone/mosaik-elements": "0.1.16",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.16",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {