@breadstone/mosaik-elements-svelte 0.1.9 → 0.1.10

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 +7 -0
  2. package/index.mjs +561 -171
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.1.10 (2026-06-13)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **stepper:** enhance stepper component with slot handling and styling improvements ([b11dd29f63](https://github.com/RueDeRennes/mosaik/commit/b11dd29f63))
6
+ - **empty-state:** update slots for header and content in EmptyStateElement ([491a61d272](https://github.com/RueDeRennes/mosaik/commit/491a61d272))
7
+
1
8
  ## 0.1.9 (2026-06-10)
2
9
 
3
10
  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
@@ -72336,26 +72336,30 @@ FI([
72336
72336
  function RI(e) {
72337
72337
  return V`
72338
72338
  <mosaik-icon part="icon"
72339
- .size="${G.Giant}"
72339
+ .size="${e.iconSize ?? G.Giant}"
72340
72340
  .data="${e.icon.trim() ? e.icon : X.glasses}"
72341
72341
  .variant="${"neutral"}"></mosaik-icon>
72342
72342
  <div part="root">
72343
- ${U(e.header, () => V`
72344
- <mosaik-text part="header"
72345
- .readonly="${!0}"
72346
- .wrap="${!0}"
72347
- .alignment="${Bb.Center}"
72348
- .text="${e.header}"
72349
- .formatter="${e.formatter}"></mosaik-text>
72350
- `)}
72351
- ${U(e.content, () => V`
72352
- <mosaik-text part="content"
72353
- .readonly="${!0}"
72354
- .wrap="${!0}"
72355
- .alignment="${Bb.Center}"
72356
- .text="${e.content}"
72357
- .formatter="${e.formatter}"></mosaik-text>
72358
- `)}
72343
+ <slot name="header">
72344
+ ${U(e.header.trim(), () => V`
72345
+ <mosaik-text part="header"
72346
+ .readonly="${!0}"
72347
+ .wrap="${!0}"
72348
+ .alignment="${Bb.Center}"
72349
+ .text="${e.header}"
72350
+ .formatter="${e.formatter}"></mosaik-text>
72351
+ `)}
72352
+ </slot>
72353
+ <slot name="content">
72354
+ ${U(e.content.trim(), () => V`
72355
+ <mosaik-text part="content"
72356
+ .readonly="${!0}"
72357
+ .wrap="${!0}"
72358
+ .alignment="${Bb.Center}"
72359
+ .text="${e.content}"
72360
+ .formatter="${e.formatter}"></mosaik-text>
72361
+ `)}
72362
+ </slot>
72359
72363
  <slot></slot>
72360
72364
  </div>
72361
72365
  <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
@@ -72448,7 +72452,7 @@ function zI() {
72448
72452
  --icon-foreground-color: var(--empty-state-foreground-color);
72449
72453
  }
72450
72454
 
72451
- :host [part="header"] {
72455
+ :host slot[name="header"] {
72452
72456
  font-family: var(--empty-state-header-font-family);
72453
72457
  font-size: var(--empty-state-header-font-size);
72454
72458
  line-height: var(--empty-state-header-font-line-height);
@@ -72459,7 +72463,17 @@ function zI() {
72459
72463
  text-transform: var(--empty-state-header-font-text-transform);
72460
72464
  }
72461
72465
 
72462
- :host [part="content"] {
72466
+ :host slot[name="header"] mosaik-text {
72467
+ font-family: inherit;
72468
+ font-size: inherit;
72469
+ line-height: inherit;
72470
+ font-weight: inherit;
72471
+ letter-spacing: inherit;
72472
+ text-decoration: inherit;
72473
+ text-transform: inherit;
72474
+ }
72475
+
72476
+ :host slot[name="content"] {
72463
72477
  font-family: var(--empty-state-content-font-family);
72464
72478
  font-size: var(--empty-state-content-font-size);
72465
72479
  line-height: var(--empty-state-content-font-line-height);
@@ -72470,6 +72484,16 @@ function zI() {
72470
72484
  text-transform: var(--empty-state-content-font-text-transform);
72471
72485
  }
72472
72486
 
72487
+ :host slot[name="content"] mosaik-text {
72488
+ font-family: inherit;
72489
+ font-size: inherit;
72490
+ line-height: inherit;
72491
+ font-weight: inherit;
72492
+ letter-spacing: inherit;
72493
+ text-decoration: inherit;
72494
+ text-transform: inherit;
72495
+ }
72496
+
72473
72497
  :host [part="root"] {
72474
72498
  flex-direction: column;
72475
72499
  align-items: center;
@@ -72570,7 +72594,7 @@ function BI() {
72570
72594
  --icon-foreground-color: var(--empty-state-foreground-color);
72571
72595
  }
72572
72596
 
72573
- :host [part="header"] {
72597
+ :host slot[name="header"] {
72574
72598
  font-family: var(--empty-state-header-font-family);
72575
72599
  font-size: var(--empty-state-header-font-size);
72576
72600
  line-height: var(--empty-state-header-font-line-height);
@@ -72581,7 +72605,17 @@ function BI() {
72581
72605
  text-transform: var(--empty-state-header-font-text-transform);
72582
72606
  }
72583
72607
 
72584
- :host [part="content"] {
72608
+ :host slot[name="header"] mosaik-text {
72609
+ font-family: inherit;
72610
+ font-size: inherit;
72611
+ line-height: inherit;
72612
+ font-weight: inherit;
72613
+ letter-spacing: inherit;
72614
+ text-decoration: inherit;
72615
+ text-transform: inherit;
72616
+ }
72617
+
72618
+ :host slot[name="content"] {
72585
72619
  font-family: var(--empty-state-content-font-family);
72586
72620
  font-size: var(--empty-state-content-font-size);
72587
72621
  line-height: var(--empty-state-content-font-line-height);
@@ -72592,6 +72626,16 @@ function BI() {
72592
72626
  text-transform: var(--empty-state-content-font-text-transform);
72593
72627
  }
72594
72628
 
72629
+ :host slot[name="content"] mosaik-text {
72630
+ font-family: inherit;
72631
+ font-size: inherit;
72632
+ line-height: inherit;
72633
+ font-weight: inherit;
72634
+ letter-spacing: inherit;
72635
+ text-decoration: inherit;
72636
+ text-transform: inherit;
72637
+ }
72638
+
72595
72639
  :host [part="root"] {
72596
72640
  flex-direction: column;
72597
72641
  align-items: center;
@@ -72605,7 +72649,7 @@ function BI() {
72605
72649
  display: flex;
72606
72650
  }
72607
72651
 
72608
- :host [part="header"] {
72652
+ :host slot[name="header"] {
72609
72653
  --empty-state-header-font-family: var(--joy-typography-body1-font-family);
72610
72654
  --empty-state-header-font-size: var(--joy-typography-body1-font-size);
72611
72655
  --empty-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -72615,7 +72659,7 @@ function BI() {
72615
72659
  --empty-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
72616
72660
  }
72617
72661
 
72618
- :host [part="content"] {
72662
+ :host slot[name="content"] {
72619
72663
  --empty-state-content-font-family: var(--joy-typography-body2-font-family);
72620
72664
  --empty-state-content-font-size: var(--joy-typography-body2-font-size);
72621
72665
  --empty-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -72712,7 +72756,7 @@ function VI() {
72712
72756
  --icon-foreground-color: var(--empty-state-foreground-color);
72713
72757
  }
72714
72758
 
72715
- :host [part="header"] {
72759
+ :host slot[name="header"] {
72716
72760
  font-family: var(--empty-state-header-font-family);
72717
72761
  font-size: var(--empty-state-header-font-size);
72718
72762
  line-height: var(--empty-state-header-font-line-height);
@@ -72723,7 +72767,17 @@ function VI() {
72723
72767
  text-transform: var(--empty-state-header-font-text-transform);
72724
72768
  }
72725
72769
 
72726
- :host [part="content"] {
72770
+ :host slot[name="header"] mosaik-text {
72771
+ font-family: inherit;
72772
+ font-size: inherit;
72773
+ line-height: inherit;
72774
+ font-weight: inherit;
72775
+ letter-spacing: inherit;
72776
+ text-decoration: inherit;
72777
+ text-transform: inherit;
72778
+ }
72779
+
72780
+ :host slot[name="content"] {
72727
72781
  font-family: var(--empty-state-content-font-family);
72728
72782
  font-size: var(--empty-state-content-font-size);
72729
72783
  line-height: var(--empty-state-content-font-line-height);
@@ -72734,6 +72788,16 @@ function VI() {
72734
72788
  text-transform: var(--empty-state-content-font-text-transform);
72735
72789
  }
72736
72790
 
72791
+ :host slot[name="content"] mosaik-text {
72792
+ font-family: inherit;
72793
+ font-size: inherit;
72794
+ line-height: inherit;
72795
+ font-weight: inherit;
72796
+ letter-spacing: inherit;
72797
+ text-decoration: inherit;
72798
+ text-transform: inherit;
72799
+ }
72800
+
72737
72801
  :host [part="root"] {
72738
72802
  flex-direction: column;
72739
72803
  align-items: center;
@@ -72747,7 +72811,7 @@ function VI() {
72747
72811
  display: flex;
72748
72812
  }
72749
72813
 
72750
- :host [part="header"] {
72814
+ :host slot[name="header"] {
72751
72815
  --empty-state-header-font-family: var(--memphis-typography-body1-font-family);
72752
72816
  --empty-state-header-font-size: var(--memphis-typography-body1-font-size);
72753
72817
  --empty-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -72757,7 +72821,7 @@ function VI() {
72757
72821
  --empty-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
72758
72822
  }
72759
72823
 
72760
- :host [part="content"] {
72824
+ :host slot[name="content"] {
72761
72825
  --empty-state-content-font-family: var(--memphis-typography-body2-font-family);
72762
72826
  --empty-state-content-font-size: var(--memphis-typography-body2-font-size);
72763
72827
  --empty-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -72778,11 +72842,12 @@ var HI = function(e, t, n, r) {
72778
72842
  return i > 3 && a && Object.defineProperty(t, n, a), a;
72779
72843
  }, UI = function(e, t) {
72780
72844
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
72781
- }, WI = class extends F(LI) {
72845
+ }, WI = class extends F(Y(LI)) {
72782
72846
  _header;
72783
72847
  _icon;
72848
+ _iconSize;
72784
72849
  constructor() {
72785
- super(), this._icon = "", this._header = "";
72850
+ super(), this._icon = "", this._header = "", this._iconSize = null;
72786
72851
  }
72787
72852
  static get is() {
72788
72853
  return "mosaik-empty-state";
@@ -72793,6 +72858,12 @@ var HI = function(e, t, n, r) {
72793
72858
  set icon(e) {
72794
72859
  this._icon !== e && (this._icon = e);
72795
72860
  }
72861
+ get iconSize() {
72862
+ return this._iconSize;
72863
+ }
72864
+ set iconSize(e) {
72865
+ this._iconSize !== e && (this._iconSize = e, this.requestUpdate("iconSize"));
72866
+ }
72796
72867
  get header() {
72797
72868
  return this._header;
72798
72869
  }
@@ -72805,6 +72876,10 @@ HI([
72805
72876
  UI("design:type", String),
72806
72877
  UI("design:paramtypes", [String])
72807
72878
  ], WI.prototype, "icon", null), HI([
72879
+ A({ type: G }),
72880
+ UI("design:type", Object),
72881
+ UI("design:paramtypes", [Object])
72882
+ ], WI.prototype, "iconSize", null), HI([
72808
72883
  A({ type: String }),
72809
72884
  UI("design:type", String),
72810
72885
  UI("design:paramtypes", [String])
@@ -216589,61 +216664,86 @@ function eTe(e) {
216589
216664
  case "error": return "danger";
216590
216665
  default: return "neutral";
216591
216666
  }
216592
- };
216593
- return V`
216594
- <div part="header"
216595
- class="${Hb({ [`is-${e.orientation}`]: !0 })}">
216596
- ${Yb(e.items, (e) => e, (r, i) => V`
216597
- <div part="step-container"
216598
- class="${Hb({
216667
+ }, r = (r, i) => V`
216668
+ <div part="step-container"
216669
+ class="${Hb({
216599
216670
  "is-active": r.isSelected,
216600
216671
  "is-completed": r.state === "completed",
216601
216672
  "is-error": r.state === "error"
216602
216673
  })}">
216603
- <button part="step"
216604
- class="${Hb({
216674
+ <button part="step"
216675
+ class="${Hb({
216605
216676
  "is-active": r.isSelected,
216606
216677
  "is-completed": r.state === "completed",
216607
216678
  "is-error": r.state === "error"
216608
216679
  })}"
216609
- type="button"
216610
- role="tab"
216611
- aria-selected="${r.isSelected}"
216612
- aria-posinset="${i + 1}"
216613
- aria-setsize="${e.items.length}"
216614
- ?disabled="${r.disabled || e.disabled}"
216615
- @click="${() => e.onStepInvoked(r)}">
216616
- <span part="step-icon"
216617
- aria-hidden="true">
216618
- <mosaik-pip part="step-state"
216619
- .icon="${r.icon ? r.icon : t(r.state)}"
216620
- .text="${String(i + 1)}"
216621
- .variant="${n(r.state)}"
216622
- .appearance="${"plain"}"></mosaik-pip>
216623
- </span>
216624
- <span part="step-text">
216625
- <mosaik-text part="step-header"
216626
- .text="${r.header || r.displayText || ""}"></mosaik-text>
216627
- ${U(r.description.trim(), () => V`
216628
- <mosaik-text part="step-description"
216629
- .text="${r.description}"></mosaik-text>
216630
- `)}
216631
- ${U(r.hint.trim(), () => V`
216632
- <mosaik-text part="step-optional"
216633
- .text="${r.hint}"></mosaik-text>
216634
- `)}
216635
- </span>
216636
- </button>
216680
+ type="button"
216681
+ role="tab"
216682
+ aria-selected="${r.isSelected}"
216683
+ aria-posinset="${i + 1}"
216684
+ aria-setsize="${e.items.length}"
216685
+ ?disabled="${r.disabled || e.disabled}"
216686
+ @click="${() => e.onStepInvoked(r)}">
216687
+ <span part="step-icon"
216688
+ aria-hidden="true">
216689
+ <mosaik-pip part="step-state"
216690
+ .icon="${r.icon ? r.icon : t(r.state)}"
216691
+ .text="${String(i + 1)}"
216692
+ .variant="${n(r.state)}"
216693
+ .appearance="${"plain"}"></mosaik-pip>
216694
+ </span>
216695
+ <span part="step-text">
216696
+ <mosaik-text part="step-header"
216697
+ .text="${r.header || r.displayText || ""}"></mosaik-text>
216698
+ ${U(r.description.trim(), () => V`
216699
+ <mosaik-text part="step-description"
216700
+ .text="${r.description}"></mosaik-text>
216701
+ `)}
216702
+ ${U(r.hint.trim(), () => V`
216703
+ <mosaik-text part="step-optional"
216704
+ .text="${r.hint}"></mosaik-text>
216705
+ `)}
216706
+ </span>
216707
+ </button>
216708
+ ${U(e.orientation === K.Horizontal && i < e.items.length - 1, () => V`
216709
+ <div part="connector" class="${Hb({ "is-completed": r.state === "completed" })}"></div>
216710
+ `)}
216711
+ ${U(e.orientation === K.Vertical, () => V`
216712
+ <div part="step-body"
216713
+ class="${Hb({
216714
+ "is-active": r.isSelected,
216715
+ "is-completed": r.state === "completed",
216716
+ "is-last": i === e.items.length - 1
216717
+ })}">
216637
216718
  ${U(i < e.items.length - 1, () => V`
216638
216719
  <div part="connector" class="${Hb({ "is-completed": r.state === "completed" })}"></div>
216639
216720
  `)}
216721
+ <div part="content">
216722
+ <slot .name="${`step-${i}`}"
216723
+ @slotchange="${() => e.onSlotChange()}"></slot>
216724
+ </div>
216640
216725
  </div>
216641
216726
  `)}
216642
216727
  </div>
216728
+ `;
216729
+ return V`
216730
+ ${U(e.orientation === K.Vertical, () => V`
216731
+ <slot name="steps"
216732
+ style="display:none"
216733
+ @slotchange="${() => e.onSlotChange()}"></slot>
216734
+ `)}
216735
+ <div part="header"
216736
+ class="${Hb({ [`is-${e.orientation}`]: !0 })}">
216737
+ ${Yb(e.items, (e) => e, (e, t) => V`
216738
+ ${r(e, t)}
216739
+ `)}
216740
+ </div>
216741
+ ${U(e.orientation === K.Horizontal, () => V`
216643
216742
  <div part="content">
216644
216743
  <slot name="steps"
216645
216744
  @slotchange="${() => e.onSlotChange()}"></slot>
216646
216745
  </div>
216746
+ `)}
216647
216747
  <div part="footer"
216648
216748
  ?hidden="${!e.hasSlotContent("footer")}">
216649
216749
  <slot name="footer"
@@ -217195,19 +217295,46 @@ function aTe() {
217195
217295
 
217196
217296
  :host [part="header"].is-vertical {
217197
217297
  flex-direction: column;
217298
+ gap: 0;
217198
217299
  }
217199
217300
 
217200
217301
  :host [part="header"].is-vertical [part="step-container"] {
217201
217302
  flex-direction: column;
217202
- align-items: flex-start;
217303
+ flex: none;
217304
+ align-items: stretch;
217305
+ gap: 0;
217306
+ width: 100%;
217307
+ }
217308
+
217309
+ :host [part="header"].is-vertical [part="step-body"] {
217310
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217311
+ -moz-column-gap: var(--stepper-gap);
217312
+ column-gap: var(--stepper-gap);
217313
+ min-height: var(--stepper-vertical-connector-length);
217314
+ width: 100%;
217315
+ display: grid;
217203
217316
  }
217204
217317
 
217205
- :host [part="header"].is-vertical [part="connector"] {
217318
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217319
+ padding-bottom: var(--stepper-content-gap);
217320
+ grid-column: 2;
217321
+ min-width: 0;
217322
+ margin-top: 0;
217323
+ display: none;
217324
+ }
217325
+
217326
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217327
+ display: block;
217328
+ }
217329
+
217330
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217206
217331
  min-width: unset;
217207
217332
  width: var(--stepper-connector-size);
217208
- height: var(--stepper-vertical-connector-length);
217333
+ height: auto;
217209
217334
  min-height: 48px;
217210
217335
  margin: var(--stepper-vertical-connector-margin) 0;
217336
+ grid-column: 1;
217337
+ place-self: stretch center;
217211
217338
  }
217212
217339
 
217213
217340
  :host [part="step-container"] {
@@ -217268,7 +217395,7 @@ function aTe() {
217268
217395
  flex: 1 1 0;
217269
217396
  }
217270
217397
 
217271
- :host [part="content"], :host [part="footer"] {
217398
+ :host > [part="content"], :host > [part="footer"] {
217272
217399
  margin-top: var(--stepper-content-gap);
217273
217400
  }
217274
217401
 
@@ -217379,19 +217506,46 @@ function oTe() {
217379
217506
 
217380
217507
  :host [part="header"].is-vertical {
217381
217508
  flex-direction: column;
217509
+ gap: 0;
217382
217510
  }
217383
217511
 
217384
217512
  :host [part="header"].is-vertical [part="step-container"] {
217385
217513
  flex-direction: column;
217386
- align-items: flex-start;
217514
+ flex: none;
217515
+ align-items: stretch;
217516
+ gap: 0;
217517
+ width: 100%;
217518
+ }
217519
+
217520
+ :host [part="header"].is-vertical [part="step-body"] {
217521
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217522
+ -moz-column-gap: var(--stepper-gap);
217523
+ column-gap: var(--stepper-gap);
217524
+ min-height: var(--stepper-vertical-connector-length);
217525
+ width: 100%;
217526
+ display: grid;
217387
217527
  }
217388
217528
 
217389
- :host [part="header"].is-vertical [part="connector"] {
217529
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217530
+ padding-bottom: var(--stepper-content-gap);
217531
+ grid-column: 2;
217532
+ min-width: 0;
217533
+ margin-top: 0;
217534
+ display: none;
217535
+ }
217536
+
217537
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217538
+ display: block;
217539
+ }
217540
+
217541
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217390
217542
  min-width: unset;
217391
217543
  width: var(--stepper-connector-size);
217392
- height: var(--stepper-vertical-connector-length);
217544
+ height: auto;
217393
217545
  min-height: 48px;
217394
217546
  margin: var(--stepper-vertical-connector-margin) 0;
217547
+ grid-column: 1;
217548
+ place-self: stretch center;
217395
217549
  }
217396
217550
 
217397
217551
  :host [part="step-container"] {
@@ -217452,7 +217606,7 @@ function oTe() {
217452
217606
  flex: 1 1 0;
217453
217607
  }
217454
217608
 
217455
- :host [part="content"], :host [part="footer"] {
217609
+ :host > [part="content"], :host > [part="footer"] {
217456
217610
  margin-top: var(--stepper-content-gap);
217457
217611
  }
217458
217612
 
@@ -217472,8 +217626,8 @@ function oTe() {
217472
217626
  outline-color: var(--joy-color-primary-500);
217473
217627
  }
217474
217628
 
217475
- :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) [part="state-index"], :host [part="step-container"] [part="step"]:hover:not([disabled]:not([disabled="false"]:not([aria-selected]))) ::slotted(mosaik-icon) {
217476
- color: var(--joy-color-primary-500);
217629
+ :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) {
217630
+ background: var(--joy-color-primary-500);
217477
217631
  }
217478
217632
 
217479
217633
  :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) {
@@ -217481,22 +217635,22 @@ function oTe() {
217481
217635
  font-weight: 600;
217482
217636
  }
217483
217637
 
217484
- :host [part="step-container"] [part="step"] [part="step-icon"] {
217638
+ :host [part="step-container"] [part="step"] [part="step-icon"] [part="step-state"] {
217485
217639
  color: var(--joy-scheme-foreground);
217486
217640
  background-color: var(--joy-scheme-highlight);
217487
217641
  }
217488
217642
 
217489
- :host [part="step-container"] [part="step"].is-active [part="step-icon"] {
217643
+ :host [part="step-container"] [part="step"].is-active [part="step-icon"] [part="step-state"] {
217490
217644
  color: var(--joy-color-primary-0);
217491
217645
  background-color: var(--joy-color-primary-500);
217492
217646
  }
217493
217647
 
217494
- :host [part="step-container"] [part="step"].is-completed [part="step-icon"] {
217648
+ :host [part="step-container"] [part="step"].is-completed [part="step-icon"] [part="step-state"] {
217495
217649
  color: var(--joy-color-success-0);
217496
217650
  background-color: var(--joy-color-success-500);
217497
217651
  }
217498
217652
 
217499
- :host [part="step-container"] [part="step"].is-error [part="step-icon"] {
217653
+ :host [part="step-container"] [part="step"].is-error [part="step-icon"] [part="step-state"] {
217500
217654
  color: var(--joy-color-danger-0);
217501
217655
  background-color: var(--joy-color-danger-500);
217502
217656
  }
@@ -217646,19 +217800,46 @@ function sTe() {
217646
217800
 
217647
217801
  :host [part="header"].is-vertical {
217648
217802
  flex-direction: column;
217803
+ gap: 0;
217649
217804
  }
217650
217805
 
217651
217806
  :host [part="header"].is-vertical [part="step-container"] {
217652
217807
  flex-direction: column;
217653
- align-items: flex-start;
217808
+ flex: none;
217809
+ align-items: stretch;
217810
+ gap: 0;
217811
+ width: 100%;
217812
+ }
217813
+
217814
+ :host [part="header"].is-vertical [part="step-body"] {
217815
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217816
+ -moz-column-gap: var(--stepper-gap);
217817
+ column-gap: var(--stepper-gap);
217818
+ min-height: var(--stepper-vertical-connector-length);
217819
+ width: 100%;
217820
+ display: grid;
217821
+ }
217822
+
217823
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217824
+ padding-bottom: var(--stepper-content-gap);
217825
+ grid-column: 2;
217826
+ min-width: 0;
217827
+ margin-top: 0;
217828
+ display: none;
217829
+ }
217830
+
217831
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217832
+ display: block;
217654
217833
  }
217655
217834
 
217656
- :host [part="header"].is-vertical [part="connector"] {
217835
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217657
217836
  min-width: unset;
217658
217837
  width: var(--stepper-connector-size);
217659
- height: var(--stepper-vertical-connector-length);
217838
+ height: auto;
217660
217839
  min-height: 48px;
217661
217840
  margin: var(--stepper-vertical-connector-margin) 0;
217841
+ grid-column: 1;
217842
+ place-self: stretch center;
217662
217843
  }
217663
217844
 
217664
217845
  :host [part="step-container"] {
@@ -217719,7 +217900,7 @@ function sTe() {
217719
217900
  flex: 1 1 0;
217720
217901
  }
217721
217902
 
217722
- :host [part="content"], :host [part="footer"] {
217903
+ :host > [part="content"], :host > [part="footer"] {
217723
217904
  margin-top: var(--stepper-content-gap);
217724
217905
  }
217725
217906
 
@@ -217755,7 +217936,7 @@ var X5 = function(e, t, n, r) {
217755
217936
  return "mosaik-stepper";
217756
217937
  }
217757
217938
  get items() {
217758
- return nS(this.shadowRoot, "steps");
217939
+ return Array.from(this.children).filter((e) => e.tagName.toLowerCase() === Y5.is);
217759
217940
  }
217760
217941
  get activeIndex() {
217761
217942
  return this.items.findIndex((e) => e.isActive);
@@ -217770,17 +217951,20 @@ var X5 = function(e, t, n, r) {
217770
217951
  return this._activeStepChanged;
217771
217952
  }
217772
217953
  onSlotChange() {
217773
- this.requestUpdate("items"), this.ensureActiveStep();
217954
+ this.syncStepSlots(), this.requestUpdate("items"), this.ensureActiveStep();
217774
217955
  }
217775
- ensureActiveStep() {
217776
- let { items: e } = this;
217777
- e.length !== 0 && (e.some((e) => e.isActive) || this.select(0));
217956
+ onSlotChanges(e) {
217957
+ super.onSlotChanges(e), this.onSlotChange();
217778
217958
  }
217779
217959
  onStepInvoked(e) {
217780
217960
  if (this.disabled || e.disabled) return;
217781
217961
  let t = this.items.indexOf(e);
217782
217962
  t >= 0 && this.select(t);
217783
217963
  }
217964
+ ensureActiveStep() {
217965
+ let { items: e } = this;
217966
+ e.length !== 0 && (e.some((e) => e.isActive) || this.select(0));
217967
+ }
217784
217968
  onSelectionChanged(e, t) {
217785
217969
  if (e === t) return;
217786
217970
  let n = this.items, r = {
@@ -217804,6 +217988,15 @@ var X5 = function(e, t, n, r) {
217804
217988
  r.isActive = e === t;
217805
217989
  }
217806
217990
  }
217991
+ onOrientationPropertyChanged() {
217992
+ this.syncStepSlots(), this.requestUpdate("items");
217993
+ }
217994
+ syncStepSlots() {
217995
+ this.items.forEach((e, t) => {
217996
+ let n = this.orientation === "vertical" ? `step-${t}` : "steps";
217997
+ e.slot !== n && (e.slot = n);
217998
+ });
217999
+ }
217807
218000
  };
217808
218001
  X5([
217809
218002
  k({ eventName: "activeStepChanged" }),
@@ -217814,7 +218007,12 @@ X5([
217814
218007
  Z5("design:type", Function),
217815
218008
  Z5("design:paramtypes", [Number, Number]),
217816
218009
  Z5("design:returntype", void 0)
217817
- ], Q5.prototype, "onSelectedIndexPropertyChanged", null), Q5 = X5([H({
218010
+ ], Q5.prototype, "onSelectedIndexPropertyChanged", null), X5([
218011
+ L("orientation"),
218012
+ Z5("design:type", Function),
218013
+ Z5("design:paramtypes", []),
218014
+ Z5("design:returntype", void 0)
218015
+ ], Q5.prototype, "onOrientationPropertyChanged", null), Q5 = X5([H({
217818
218016
  selector: "mosaik-stepper",
217819
218017
  template: eTe,
217820
218018
  themes: {
@@ -225175,22 +225373,26 @@ function yEe(e) {
225175
225373
  .radius="${"26px"}"
225176
225374
  .isIndeterminate="${!0}"></mosaik-progress-ring>
225177
225375
  <div part="root">
225178
- ${U(e.header, () => V`
225179
- <mosaik-text part="header"
225180
- .readonly="${!0}"
225181
- .wrap="${!0}"
225182
- .alignment="${Bb.Center}"
225183
- .text="${e.header}"
225184
- .formatter="${e.formatter}"></mosaik-text>
225185
- `)}
225186
- ${U(e.content, () => V`
225187
- <mosaik-text part="content"
225188
- .readonly="${!0}"
225189
- .wrap="${!0}"
225190
- .alignment="${Bb.Center}"
225191
- .text="${e.content}"
225192
- .formatter="${e.formatter}"></mosaik-text>
225193
- `)}
225376
+ <slot name="header">
225377
+ ${U(e.header.trim(), () => V`
225378
+ <mosaik-text part="header"
225379
+ .readonly="${!0}"
225380
+ .wrap="${!0}"
225381
+ .alignment="${Bb.Center}"
225382
+ .text="${e.header}"
225383
+ .formatter="${e.formatter}"></mosaik-text>
225384
+ `)}
225385
+ </slot>
225386
+ <slot name="content">
225387
+ ${U(e.content.trim(), () => V`
225388
+ <mosaik-text part="content"
225389
+ .readonly="${!0}"
225390
+ .wrap="${!0}"
225391
+ .alignment="${Bb.Center}"
225392
+ .text="${e.content}"
225393
+ .formatter="${e.formatter}"></mosaik-text>
225394
+ `)}
225395
+ </slot>
225194
225396
  <slot></slot>
225195
225397
  </div>
225196
225398
  <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
@@ -225283,7 +225485,7 @@ function bEe() {
225283
225485
  --icon-foreground-color: var(--busy-state-foreground-color);
225284
225486
  }
225285
225487
 
225286
- :host [part="header"] {
225488
+ :host slot[name="header"] {
225287
225489
  font-family: var(--busy-state-header-font-family);
225288
225490
  font-size: var(--busy-state-header-font-size);
225289
225491
  line-height: var(--busy-state-header-font-line-height);
@@ -225294,7 +225496,17 @@ function bEe() {
225294
225496
  text-transform: var(--busy-state-header-font-text-transform);
225295
225497
  }
225296
225498
 
225297
- :host [part="content"] {
225499
+ :host slot[name="header"] mosaik-text {
225500
+ font-family: inherit;
225501
+ font-size: inherit;
225502
+ line-height: inherit;
225503
+ font-weight: inherit;
225504
+ letter-spacing: inherit;
225505
+ text-decoration: inherit;
225506
+ text-transform: inherit;
225507
+ }
225508
+
225509
+ :host slot[name="content"] {
225298
225510
  font-family: var(--busy-state-content-font-family);
225299
225511
  font-size: var(--busy-state-content-font-size);
225300
225512
  line-height: var(--busy-state-content-font-line-height);
@@ -225305,6 +225517,16 @@ function bEe() {
225305
225517
  text-transform: var(--busy-state-content-font-text-transform);
225306
225518
  }
225307
225519
 
225520
+ :host slot[name="content"] mosaik-text {
225521
+ font-family: inherit;
225522
+ font-size: inherit;
225523
+ line-height: inherit;
225524
+ font-weight: inherit;
225525
+ letter-spacing: inherit;
225526
+ text-decoration: inherit;
225527
+ text-transform: inherit;
225528
+ }
225529
+
225308
225530
  :host [part="root"] {
225309
225531
  flex-direction: column;
225310
225532
  align-items: center;
@@ -225405,7 +225627,7 @@ function xEe() {
225405
225627
  --icon-foreground-color: var(--busy-state-foreground-color);
225406
225628
  }
225407
225629
 
225408
- :host [part="header"] {
225630
+ :host slot[name="header"] {
225409
225631
  font-family: var(--busy-state-header-font-family);
225410
225632
  font-size: var(--busy-state-header-font-size);
225411
225633
  line-height: var(--busy-state-header-font-line-height);
@@ -225416,7 +225638,17 @@ function xEe() {
225416
225638
  text-transform: var(--busy-state-header-font-text-transform);
225417
225639
  }
225418
225640
 
225419
- :host [part="content"] {
225641
+ :host slot[name="header"] mosaik-text {
225642
+ font-family: inherit;
225643
+ font-size: inherit;
225644
+ line-height: inherit;
225645
+ font-weight: inherit;
225646
+ letter-spacing: inherit;
225647
+ text-decoration: inherit;
225648
+ text-transform: inherit;
225649
+ }
225650
+
225651
+ :host slot[name="content"] {
225420
225652
  font-family: var(--busy-state-content-font-family);
225421
225653
  font-size: var(--busy-state-content-font-size);
225422
225654
  line-height: var(--busy-state-content-font-line-height);
@@ -225427,6 +225659,16 @@ function xEe() {
225427
225659
  text-transform: var(--busy-state-content-font-text-transform);
225428
225660
  }
225429
225661
 
225662
+ :host slot[name="content"] mosaik-text {
225663
+ font-family: inherit;
225664
+ font-size: inherit;
225665
+ line-height: inherit;
225666
+ font-weight: inherit;
225667
+ letter-spacing: inherit;
225668
+ text-decoration: inherit;
225669
+ text-transform: inherit;
225670
+ }
225671
+
225430
225672
  :host [part="root"] {
225431
225673
  flex-direction: column;
225432
225674
  align-items: center;
@@ -225440,7 +225682,7 @@ function xEe() {
225440
225682
  display: flex;
225441
225683
  }
225442
225684
 
225443
- :host [part="header"] {
225685
+ :host slot[name="header"] {
225444
225686
  --busy-state-header-font-family: var(--joy-typography-body1-font-family);
225445
225687
  --busy-state-header-font-size: var(--joy-typography-body1-font-size);
225446
225688
  --busy-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -225450,7 +225692,7 @@ function xEe() {
225450
225692
  --busy-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
225451
225693
  }
225452
225694
 
225453
- :host [part="content"] {
225695
+ :host slot[name="content"] {
225454
225696
  --busy-state-content-font-family: var(--joy-typography-body2-font-family);
225455
225697
  --busy-state-content-font-size: var(--joy-typography-body2-font-size);
225456
225698
  --busy-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -225547,7 +225789,7 @@ function SEe() {
225547
225789
  --icon-foreground-color: var(--busy-state-foreground-color);
225548
225790
  }
225549
225791
 
225550
- :host [part="header"] {
225792
+ :host slot[name="header"] {
225551
225793
  font-family: var(--busy-state-header-font-family);
225552
225794
  font-size: var(--busy-state-header-font-size);
225553
225795
  line-height: var(--busy-state-header-font-line-height);
@@ -225558,7 +225800,17 @@ function SEe() {
225558
225800
  text-transform: var(--busy-state-header-font-text-transform);
225559
225801
  }
225560
225802
 
225561
- :host [part="content"] {
225803
+ :host slot[name="header"] mosaik-text {
225804
+ font-family: inherit;
225805
+ font-size: inherit;
225806
+ line-height: inherit;
225807
+ font-weight: inherit;
225808
+ letter-spacing: inherit;
225809
+ text-decoration: inherit;
225810
+ text-transform: inherit;
225811
+ }
225812
+
225813
+ :host slot[name="content"] {
225562
225814
  font-family: var(--busy-state-content-font-family);
225563
225815
  font-size: var(--busy-state-content-font-size);
225564
225816
  line-height: var(--busy-state-content-font-line-height);
@@ -225569,6 +225821,16 @@ function SEe() {
225569
225821
  text-transform: var(--busy-state-content-font-text-transform);
225570
225822
  }
225571
225823
 
225824
+ :host slot[name="content"] mosaik-text {
225825
+ font-family: inherit;
225826
+ font-size: inherit;
225827
+ line-height: inherit;
225828
+ font-weight: inherit;
225829
+ letter-spacing: inherit;
225830
+ text-decoration: inherit;
225831
+ text-transform: inherit;
225832
+ }
225833
+
225572
225834
  :host [part="root"] {
225573
225835
  flex-direction: column;
225574
225836
  align-items: center;
@@ -225582,7 +225844,7 @@ function SEe() {
225582
225844
  display: flex;
225583
225845
  }
225584
225846
 
225585
- :host [part="header"] {
225847
+ :host slot[name="header"] {
225586
225848
  --busy-state-header-font-family: var(--memphis-typography-body1-font-family);
225587
225849
  --busy-state-header-font-size: var(--memphis-typography-body1-font-size);
225588
225850
  --busy-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -225592,7 +225854,7 @@ function SEe() {
225592
225854
  --busy-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
225593
225855
  }
225594
225856
 
225595
- :host [part="content"] {
225857
+ :host slot[name="content"] {
225596
225858
  --busy-state-content-font-family: var(--memphis-typography-body2-font-family);
225597
225859
  --busy-state-content-font-size: var(--memphis-typography-body2-font-size);
225598
225860
  --busy-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -225613,7 +225875,7 @@ var q7 = function(e, t, n, r) {
225613
225875
  return i > 3 && a && Object.defineProperty(t, n, a), a;
225614
225876
  }, J7 = function(e, t) {
225615
225877
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
225616
- }, Y7 = class extends F(LI) {
225878
+ }, Y7 = class extends F(Y(LI)) {
225617
225879
  _header;
225618
225880
  _icon;
225619
225881
  constructor() {
@@ -225662,22 +225924,26 @@ function CEe(e) {
225662
225924
  .data="${e.icon.trim().length > 0 ? e.icon : X.errorCircle}"
225663
225925
  .variant="${ib.Danger}"></mosaik-icon>
225664
225926
  <div part="root">
225665
- ${U(e.header, () => V`
225666
- <mosaik-text part="header"
225667
- .readonly="${!0}"
225668
- .wrap="${!0}"
225669
- .alignment="${Bb.Center}"
225670
- .text="${e.header}"
225671
- .formatter="${e.formatter}"></mosaik-text>
225672
- `)}
225673
- ${U(e.content, () => V`
225674
- <mosaik-text part="content"
225675
- .readonly="${!0}"
225676
- .wrap="${!0}"
225677
- .alignment="${Bb.Center}"
225678
- .text="${e.content}"
225679
- .formatter="${e.formatter}"></mosaik-text>
225680
- `)}
225927
+ <slot name="header">
225928
+ ${U(e.header.trim(), () => V`
225929
+ <mosaik-text part="header"
225930
+ .readonly="${!0}"
225931
+ .wrap="${!0}"
225932
+ .alignment="${Bb.Center}"
225933
+ .text="${e.header}"
225934
+ .formatter="${e.formatter}"></mosaik-text>
225935
+ `)}
225936
+ </slot>
225937
+ <slot name="content">
225938
+ ${U(e.content.trim(), () => V`
225939
+ <mosaik-text part="content"
225940
+ .readonly="${!0}"
225941
+ .wrap="${!0}"
225942
+ .alignment="${Bb.Center}"
225943
+ .text="${e.content}"
225944
+ .formatter="${e.formatter}"></mosaik-text>
225945
+ `)}
225946
+ </slot>
225681
225947
  ${U(e.code, () => V`
225682
225948
  <mosaik-text part="code"
225683
225949
  .readonly="${!0}"
@@ -225773,7 +226039,7 @@ function wEe() {
225773
226039
  overflow: hidden;
225774
226040
  }
225775
226041
 
225776
- :host [part="header"] {
226042
+ :host slot[name="header"] {
225777
226043
  font-family: var(--error-state-header-font-family);
225778
226044
  font-size: var(--error-state-header-font-size);
225779
226045
  line-height: var(--error-state-header-font-line-height);
@@ -225784,7 +226050,17 @@ function wEe() {
225784
226050
  text-transform: var(--error-state-header-font-text-transform);
225785
226051
  }
225786
226052
 
225787
- :host [part="content"] {
226053
+ :host slot[name="header"] mosaik-text {
226054
+ font-family: inherit;
226055
+ font-size: inherit;
226056
+ line-height: inherit;
226057
+ font-weight: inherit;
226058
+ letter-spacing: inherit;
226059
+ text-decoration: inherit;
226060
+ text-transform: inherit;
226061
+ }
226062
+
226063
+ :host slot[name="content"] {
225788
226064
  font-family: var(--error-state-content-font-family);
225789
226065
  font-size: var(--error-state-content-font-size);
225790
226066
  line-height: var(--error-state-content-font-line-height);
@@ -225795,6 +226071,16 @@ function wEe() {
225795
226071
  text-transform: var(--error-state-content-font-text-transform);
225796
226072
  }
225797
226073
 
226074
+ :host slot[name="content"] mosaik-text {
226075
+ font-family: inherit;
226076
+ font-size: inherit;
226077
+ line-height: inherit;
226078
+ font-weight: inherit;
226079
+ letter-spacing: inherit;
226080
+ text-decoration: inherit;
226081
+ text-transform: inherit;
226082
+ }
226083
+
225798
226084
  :host [part="root"] {
225799
226085
  flex-direction: column;
225800
226086
  align-items: center;
@@ -225889,7 +226175,7 @@ function TEe() {
225889
226175
  overflow: hidden;
225890
226176
  }
225891
226177
 
225892
- :host [part="header"] {
226178
+ :host slot[name="header"] {
225893
226179
  font-family: var(--error-state-header-font-family);
225894
226180
  font-size: var(--error-state-header-font-size);
225895
226181
  line-height: var(--error-state-header-font-line-height);
@@ -225900,7 +226186,17 @@ function TEe() {
225900
226186
  text-transform: var(--error-state-header-font-text-transform);
225901
226187
  }
225902
226188
 
225903
- :host [part="content"] {
226189
+ :host slot[name="header"] mosaik-text {
226190
+ font-family: inherit;
226191
+ font-size: inherit;
226192
+ line-height: inherit;
226193
+ font-weight: inherit;
226194
+ letter-spacing: inherit;
226195
+ text-decoration: inherit;
226196
+ text-transform: inherit;
226197
+ }
226198
+
226199
+ :host slot[name="content"] {
225904
226200
  font-family: var(--error-state-content-font-family);
225905
226201
  font-size: var(--error-state-content-font-size);
225906
226202
  line-height: var(--error-state-content-font-line-height);
@@ -225911,6 +226207,16 @@ function TEe() {
225911
226207
  text-transform: var(--error-state-content-font-text-transform);
225912
226208
  }
225913
226209
 
226210
+ :host slot[name="content"] mosaik-text {
226211
+ font-family: inherit;
226212
+ font-size: inherit;
226213
+ line-height: inherit;
226214
+ font-weight: inherit;
226215
+ letter-spacing: inherit;
226216
+ text-decoration: inherit;
226217
+ text-transform: inherit;
226218
+ }
226219
+
225914
226220
  :host [part="root"] {
225915
226221
  flex-direction: column;
225916
226222
  align-items: center;
@@ -225924,7 +226230,7 @@ function TEe() {
225924
226230
  display: flex;
225925
226231
  }
225926
226232
 
225927
- :host [part="header"] {
226233
+ :host slot[name="header"] {
225928
226234
  --error-state-header-font-family: var(--joy-typography-body1-font-family);
225929
226235
  --error-state-header-font-size: var(--joy-typography-body1-font-size);
225930
226236
  --error-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -225934,7 +226240,7 @@ function TEe() {
225934
226240
  --error-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
225935
226241
  }
225936
226242
 
225937
- :host [part="content"] {
226243
+ :host slot[name="content"] {
225938
226244
  --error-state-content-font-family: var(--joy-typography-body2-font-family);
225939
226245
  --error-state-content-font-size: var(--joy-typography-body2-font-size);
225940
226246
  --error-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -226026,7 +226332,7 @@ function EEe() {
226026
226332
  overflow: hidden;
226027
226333
  }
226028
226334
 
226029
- :host [part="header"] {
226335
+ :host slot[name="header"] {
226030
226336
  font-family: var(--error-state-header-font-family);
226031
226337
  font-size: var(--error-state-header-font-size);
226032
226338
  line-height: var(--error-state-header-font-line-height);
@@ -226037,7 +226343,17 @@ function EEe() {
226037
226343
  text-transform: var(--error-state-header-font-text-transform);
226038
226344
  }
226039
226345
 
226040
- :host [part="content"] {
226346
+ :host slot[name="header"] mosaik-text {
226347
+ font-family: inherit;
226348
+ font-size: inherit;
226349
+ line-height: inherit;
226350
+ font-weight: inherit;
226351
+ letter-spacing: inherit;
226352
+ text-decoration: inherit;
226353
+ text-transform: inherit;
226354
+ }
226355
+
226356
+ :host slot[name="content"] {
226041
226357
  font-family: var(--error-state-content-font-family);
226042
226358
  font-size: var(--error-state-content-font-size);
226043
226359
  line-height: var(--error-state-content-font-line-height);
@@ -226048,6 +226364,16 @@ function EEe() {
226048
226364
  text-transform: var(--error-state-content-font-text-transform);
226049
226365
  }
226050
226366
 
226367
+ :host slot[name="content"] mosaik-text {
226368
+ font-family: inherit;
226369
+ font-size: inherit;
226370
+ line-height: inherit;
226371
+ font-weight: inherit;
226372
+ letter-spacing: inherit;
226373
+ text-decoration: inherit;
226374
+ text-transform: inherit;
226375
+ }
226376
+
226051
226377
  :host [part="root"] {
226052
226378
  flex-direction: column;
226053
226379
  align-items: center;
@@ -226061,7 +226387,7 @@ function EEe() {
226061
226387
  display: flex;
226062
226388
  }
226063
226389
 
226064
- :host [part="header"] {
226390
+ :host slot[name="header"] {
226065
226391
  --error-state-header-font-family: var(--memphis-typography-body1-font-family);
226066
226392
  --error-state-header-font-size: var(--memphis-typography-body1-font-size);
226067
226393
  --error-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -226071,7 +226397,7 @@ function EEe() {
226071
226397
  --error-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
226072
226398
  }
226073
226399
 
226074
- :host [part="content"] {
226400
+ :host slot[name="content"] {
226075
226401
  --error-state-content-font-family: var(--memphis-typography-body2-font-family);
226076
226402
  --error-state-content-font-size: var(--memphis-typography-body2-font-size);
226077
226403
  --error-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -226092,7 +226418,7 @@ var X7 = function(e, t, n, r) {
226092
226418
  return i > 3 && a && Object.defineProperty(t, n, a), a;
226093
226419
  }, Z7 = function(e, t) {
226094
226420
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226095
- }, Q7 = class extends F(LI) {
226421
+ }, Q7 = class extends F(Y(LI)) {
226096
226422
  _icon;
226097
226423
  _header;
226098
226424
  _code;
@@ -226152,22 +226478,26 @@ function DEe(e) {
226152
226478
  .data="${e.icon.trim().length > 0 ? e.icon : X.successCircle}"
226153
226479
  .variant="${ib.Success}"></mosaik-icon>
226154
226480
  <div part="root">
226155
- ${U(e.header, () => V`
226156
- <mosaik-text part="header"
226157
- .readonly="${!0}"
226158
- .wrap="${!0}"
226159
- .alignment="${Bb.Center}"
226160
- .text="${e.header}"
226161
- .formatter="${e.formatter}"></mosaik-text>
226162
- `)}
226163
- ${U(e.content, () => V`
226164
- <mosaik-text part="content"
226165
- .readonly="${!0}"
226166
- .wrap="${!0}"
226167
- .alignment="${Bb.Center}"
226168
- .text="${e.content}"
226169
- .formatter="${e.formatter}"></mosaik-text>
226170
- `)}
226481
+ <slot name="header">
226482
+ ${U(e.header.trim(), () => V`
226483
+ <mosaik-text part="header"
226484
+ .readonly="${!0}"
226485
+ .wrap="${!0}"
226486
+ .alignment="${Bb.Center}"
226487
+ .text="${e.header}"
226488
+ .formatter="${e.formatter}"></mosaik-text>
226489
+ `)}
226490
+ </slot>
226491
+ <slot name="content">
226492
+ ${U(e.content.trim(), () => V`
226493
+ <mosaik-text part="content"
226494
+ .readonly="${!0}"
226495
+ .wrap="${!0}"
226496
+ .alignment="${Bb.Center}"
226497
+ .text="${e.content}"
226498
+ .formatter="${e.formatter}"></mosaik-text>
226499
+ `)}
226500
+ </slot>
226171
226501
  <slot></slot>
226172
226502
  </div>
226173
226503
  <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
@@ -226255,7 +226585,7 @@ function OEe() {
226255
226585
  overflow: hidden;
226256
226586
  }
226257
226587
 
226258
- :host [part="header"] {
226588
+ :host slot[name="header"] {
226259
226589
  font-family: var(--success-state-header-font-family);
226260
226590
  font-size: var(--success-state-header-font-size);
226261
226591
  line-height: var(--success-state-header-font-line-height);
@@ -226266,7 +226596,17 @@ function OEe() {
226266
226596
  text-transform: var(--success-state-header-font-text-transform);
226267
226597
  }
226268
226598
 
226269
- :host [part="content"] {
226599
+ :host slot[name="header"] mosaik-text {
226600
+ font-family: inherit;
226601
+ font-size: inherit;
226602
+ line-height: inherit;
226603
+ font-weight: inherit;
226604
+ letter-spacing: inherit;
226605
+ text-decoration: inherit;
226606
+ text-transform: inherit;
226607
+ }
226608
+
226609
+ :host slot[name="content"] {
226270
226610
  font-family: var(--success-state-content-font-family);
226271
226611
  font-size: var(--success-state-content-font-size);
226272
226612
  line-height: var(--success-state-content-font-line-height);
@@ -226277,6 +226617,16 @@ function OEe() {
226277
226617
  text-transform: var(--success-state-content-font-text-transform);
226278
226618
  }
226279
226619
 
226620
+ :host slot[name="content"] mosaik-text {
226621
+ font-family: inherit;
226622
+ font-size: inherit;
226623
+ line-height: inherit;
226624
+ font-weight: inherit;
226625
+ letter-spacing: inherit;
226626
+ text-decoration: inherit;
226627
+ text-transform: inherit;
226628
+ }
226629
+
226280
226630
  :host [part="root"] {
226281
226631
  flex-direction: column;
226282
226632
  align-items: center;
@@ -226371,7 +226721,7 @@ function kEe() {
226371
226721
  overflow: hidden;
226372
226722
  }
226373
226723
 
226374
- :host [part="header"] {
226724
+ :host slot[name="header"] {
226375
226725
  font-family: var(--success-state-header-font-family);
226376
226726
  font-size: var(--success-state-header-font-size);
226377
226727
  line-height: var(--success-state-header-font-line-height);
@@ -226382,7 +226732,17 @@ function kEe() {
226382
226732
  text-transform: var(--success-state-header-font-text-transform);
226383
226733
  }
226384
226734
 
226385
- :host [part="content"] {
226735
+ :host slot[name="header"] mosaik-text {
226736
+ font-family: inherit;
226737
+ font-size: inherit;
226738
+ line-height: inherit;
226739
+ font-weight: inherit;
226740
+ letter-spacing: inherit;
226741
+ text-decoration: inherit;
226742
+ text-transform: inherit;
226743
+ }
226744
+
226745
+ :host slot[name="content"] {
226386
226746
  font-family: var(--success-state-content-font-family);
226387
226747
  font-size: var(--success-state-content-font-size);
226388
226748
  line-height: var(--success-state-content-font-line-height);
@@ -226393,6 +226753,16 @@ function kEe() {
226393
226753
  text-transform: var(--success-state-content-font-text-transform);
226394
226754
  }
226395
226755
 
226756
+ :host slot[name="content"] mosaik-text {
226757
+ font-family: inherit;
226758
+ font-size: inherit;
226759
+ line-height: inherit;
226760
+ font-weight: inherit;
226761
+ letter-spacing: inherit;
226762
+ text-decoration: inherit;
226763
+ text-transform: inherit;
226764
+ }
226765
+
226396
226766
  :host [part="root"] {
226397
226767
  flex-direction: column;
226398
226768
  align-items: center;
@@ -226406,7 +226776,7 @@ function kEe() {
226406
226776
  display: flex;
226407
226777
  }
226408
226778
 
226409
- :host [part="header"] {
226779
+ :host slot[name="header"] {
226410
226780
  --success-state-header-font-family: var(--joy-typography-body1-font-family);
226411
226781
  --success-state-header-font-size: var(--joy-typography-body1-font-size);
226412
226782
  --success-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -226416,7 +226786,7 @@ function kEe() {
226416
226786
  --success-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
226417
226787
  }
226418
226788
 
226419
- :host [part="content"] {
226789
+ :host slot[name="content"] {
226420
226790
  --success-state-content-font-family: var(--joy-typography-body2-font-family);
226421
226791
  --success-state-content-font-size: var(--joy-typography-body2-font-size);
226422
226792
  --success-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -226508,7 +226878,7 @@ function AEe() {
226508
226878
  overflow: hidden;
226509
226879
  }
226510
226880
 
226511
- :host [part="header"] {
226881
+ :host slot[name="header"] {
226512
226882
  font-family: var(--success-state-header-font-family);
226513
226883
  font-size: var(--success-state-header-font-size);
226514
226884
  line-height: var(--success-state-header-font-line-height);
@@ -226519,7 +226889,17 @@ function AEe() {
226519
226889
  text-transform: var(--success-state-header-font-text-transform);
226520
226890
  }
226521
226891
 
226522
- :host [part="content"] {
226892
+ :host slot[name="header"] mosaik-text {
226893
+ font-family: inherit;
226894
+ font-size: inherit;
226895
+ line-height: inherit;
226896
+ font-weight: inherit;
226897
+ letter-spacing: inherit;
226898
+ text-decoration: inherit;
226899
+ text-transform: inherit;
226900
+ }
226901
+
226902
+ :host slot[name="content"] {
226523
226903
  font-family: var(--success-state-content-font-family);
226524
226904
  font-size: var(--success-state-content-font-size);
226525
226905
  line-height: var(--success-state-content-font-line-height);
@@ -226530,6 +226910,16 @@ function AEe() {
226530
226910
  text-transform: var(--success-state-content-font-text-transform);
226531
226911
  }
226532
226912
 
226913
+ :host slot[name="content"] mosaik-text {
226914
+ font-family: inherit;
226915
+ font-size: inherit;
226916
+ line-height: inherit;
226917
+ font-weight: inherit;
226918
+ letter-spacing: inherit;
226919
+ text-decoration: inherit;
226920
+ text-transform: inherit;
226921
+ }
226922
+
226533
226923
  :host [part="root"] {
226534
226924
  flex-direction: column;
226535
226925
  align-items: center;
@@ -226543,7 +226933,7 @@ function AEe() {
226543
226933
  display: flex;
226544
226934
  }
226545
226935
 
226546
- :host [part="header"] {
226936
+ :host slot[name="header"] {
226547
226937
  --success-state-header-font-family: var(--memphis-typography-body1-font-family);
226548
226938
  --success-state-header-font-size: var(--memphis-typography-body1-font-size);
226549
226939
  --success-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -226553,7 +226943,7 @@ function AEe() {
226553
226943
  --success-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
226554
226944
  }
226555
226945
 
226556
- :host [part="content"] {
226946
+ :host slot[name="content"] {
226557
226947
  --success-state-content-font-family: var(--memphis-typography-body2-font-family);
226558
226948
  --success-state-content-font-size: var(--memphis-typography-body2-font-size);
226559
226949
  --success-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -226574,7 +226964,7 @@ var $7 = function(e, t, n, r) {
226574
226964
  return i > 3 && a && Object.defineProperty(t, n, a), a;
226575
226965
  }, e9 = function(e, t) {
226576
226966
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226577
- }, t9 = class extends F(LI) {
226967
+ }, t9 = class extends F(Y(LI)) {
226578
226968
  _icon;
226579
226969
  _header;
226580
226970
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
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.9",
15
- "@breadstone/mosaik-elements-foundation": "0.1.9",
14
+ "@breadstone/mosaik-elements": "0.1.10",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.10",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {