@breadstone/mosaik-elements-svelte 0.1.15 → 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 +4 -0
  2. package/index.mjs +58 -25
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
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
+
1
5
  ## 0.1.15 (2026-06-14)
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
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.15",
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.15",
15
- "@breadstone/mosaik-elements-foundation": "0.1.15",
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": {