@breadstone/mosaik-elements-svelte 0.1.9 → 0.1.11

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 +11 -0
  2. package/index.mjs +564 -171
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.1.11 (2026-06-13)
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.10 (2026-06-13)
6
+
7
+ ### 🚀 Features
8
+
9
+ - **stepper:** enhance stepper component with slot handling and styling improvements ([b11dd29f63](https://github.com/RueDeRennes/mosaik/commit/b11dd29f63))
10
+ - **empty-state:** update slots for header and content in EmptyStateElement ([491a61d272](https://github.com/RueDeRennes/mosaik/commit/491a61d272))
11
+
1
12
  ## 0.1.9 (2026-06-10)
2
13
 
3
14
  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,89 @@ 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 || ""}"
216698
+ .wrap="${!0}"></mosaik-text>
216699
+ ${U(r.description.trim(), () => V`
216700
+ <mosaik-text part="step-description"
216701
+ .text="${r.description}"
216702
+ .wrap="${!0}"></mosaik-text>
216703
+ `)}
216704
+ ${U(r.hint.trim(), () => V`
216705
+ <mosaik-text part="step-optional"
216706
+ .text="${r.hint}"
216707
+ .wrap="${!0}"></mosaik-text>
216708
+ `)}
216709
+ </span>
216710
+ </button>
216711
+ ${U(e.orientation === K.Horizontal && i < e.items.length - 1, () => V`
216712
+ <div part="connector" class="${Hb({ "is-completed": r.state === "completed" })}"></div>
216713
+ `)}
216714
+ ${U(e.orientation === K.Vertical, () => V`
216715
+ <div part="step-body"
216716
+ class="${Hb({
216717
+ "is-active": r.isSelected,
216718
+ "is-completed": r.state === "completed",
216719
+ "is-last": i === e.items.length - 1
216720
+ })}">
216637
216721
  ${U(i < e.items.length - 1, () => V`
216638
216722
  <div part="connector" class="${Hb({ "is-completed": r.state === "completed" })}"></div>
216639
216723
  `)}
216724
+ <div part="content">
216725
+ <slot .name="${`step-${i}`}"
216726
+ @slotchange="${() => e.onSlotChange()}"></slot>
216727
+ </div>
216640
216728
  </div>
216641
216729
  `)}
216642
216730
  </div>
216731
+ `;
216732
+ return V`
216733
+ ${U(e.orientation === K.Vertical, () => V`
216734
+ <slot name="steps"
216735
+ style="display:none"
216736
+ @slotchange="${() => e.onSlotChange()}"></slot>
216737
+ `)}
216738
+ <div part="header"
216739
+ class="${Hb({ [`is-${e.orientation}`]: !0 })}">
216740
+ ${Yb(e.items, (e) => e, (e, t) => V`
216741
+ ${r(e, t)}
216742
+ `)}
216743
+ </div>
216744
+ ${U(e.orientation === K.Horizontal, () => V`
216643
216745
  <div part="content">
216644
216746
  <slot name="steps"
216645
216747
  @slotchange="${() => e.onSlotChange()}"></slot>
216646
216748
  </div>
216749
+ `)}
216647
216750
  <div part="footer"
216648
216751
  ?hidden="${!e.hasSlotContent("footer")}">
216649
216752
  <slot name="footer"
@@ -217195,19 +217298,46 @@ function aTe() {
217195
217298
 
217196
217299
  :host [part="header"].is-vertical {
217197
217300
  flex-direction: column;
217301
+ gap: 0;
217198
217302
  }
217199
217303
 
217200
217304
  :host [part="header"].is-vertical [part="step-container"] {
217201
217305
  flex-direction: column;
217202
- align-items: flex-start;
217306
+ flex: none;
217307
+ align-items: stretch;
217308
+ gap: 0;
217309
+ width: 100%;
217310
+ }
217311
+
217312
+ :host [part="header"].is-vertical [part="step-body"] {
217313
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217314
+ -moz-column-gap: var(--stepper-gap);
217315
+ column-gap: var(--stepper-gap);
217316
+ min-height: var(--stepper-vertical-connector-length);
217317
+ width: 100%;
217318
+ display: grid;
217203
217319
  }
217204
217320
 
217205
- :host [part="header"].is-vertical [part="connector"] {
217321
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217322
+ padding-bottom: var(--stepper-content-gap);
217323
+ grid-column: 2;
217324
+ min-width: 0;
217325
+ margin-top: 0;
217326
+ display: none;
217327
+ }
217328
+
217329
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217330
+ display: block;
217331
+ }
217332
+
217333
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217206
217334
  min-width: unset;
217207
217335
  width: var(--stepper-connector-size);
217208
- height: var(--stepper-vertical-connector-length);
217336
+ height: auto;
217209
217337
  min-height: 48px;
217210
217338
  margin: var(--stepper-vertical-connector-margin) 0;
217339
+ grid-column: 1;
217340
+ place-self: stretch center;
217211
217341
  }
217212
217342
 
217213
217343
  :host [part="step-container"] {
@@ -217268,7 +217398,7 @@ function aTe() {
217268
217398
  flex: 1 1 0;
217269
217399
  }
217270
217400
 
217271
- :host [part="content"], :host [part="footer"] {
217401
+ :host > [part="content"], :host > [part="footer"] {
217272
217402
  margin-top: var(--stepper-content-gap);
217273
217403
  }
217274
217404
 
@@ -217379,19 +217509,46 @@ function oTe() {
217379
217509
 
217380
217510
  :host [part="header"].is-vertical {
217381
217511
  flex-direction: column;
217512
+ gap: 0;
217382
217513
  }
217383
217514
 
217384
217515
  :host [part="header"].is-vertical [part="step-container"] {
217385
217516
  flex-direction: column;
217386
- align-items: flex-start;
217517
+ flex: none;
217518
+ align-items: stretch;
217519
+ gap: 0;
217520
+ width: 100%;
217521
+ }
217522
+
217523
+ :host [part="header"].is-vertical [part="step-body"] {
217524
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217525
+ -moz-column-gap: var(--stepper-gap);
217526
+ column-gap: var(--stepper-gap);
217527
+ min-height: var(--stepper-vertical-connector-length);
217528
+ width: 100%;
217529
+ display: grid;
217530
+ }
217531
+
217532
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217533
+ padding-bottom: var(--stepper-content-gap);
217534
+ grid-column: 2;
217535
+ min-width: 0;
217536
+ margin-top: 0;
217537
+ display: none;
217387
217538
  }
217388
217539
 
217389
- :host [part="header"].is-vertical [part="connector"] {
217540
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217541
+ display: block;
217542
+ }
217543
+
217544
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217390
217545
  min-width: unset;
217391
217546
  width: var(--stepper-connector-size);
217392
- height: var(--stepper-vertical-connector-length);
217547
+ height: auto;
217393
217548
  min-height: 48px;
217394
217549
  margin: var(--stepper-vertical-connector-margin) 0;
217550
+ grid-column: 1;
217551
+ place-self: stretch center;
217395
217552
  }
217396
217553
 
217397
217554
  :host [part="step-container"] {
@@ -217452,7 +217609,7 @@ function oTe() {
217452
217609
  flex: 1 1 0;
217453
217610
  }
217454
217611
 
217455
- :host [part="content"], :host [part="footer"] {
217612
+ :host > [part="content"], :host > [part="footer"] {
217456
217613
  margin-top: var(--stepper-content-gap);
217457
217614
  }
217458
217615
 
@@ -217472,8 +217629,8 @@ function oTe() {
217472
217629
  outline-color: var(--joy-color-primary-500);
217473
217630
  }
217474
217631
 
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);
217632
+ :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) {
217633
+ background: var(--joy-color-primary-500);
217477
217634
  }
217478
217635
 
217479
217636
  :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 +217638,22 @@ function oTe() {
217481
217638
  font-weight: 600;
217482
217639
  }
217483
217640
 
217484
- :host [part="step-container"] [part="step"] [part="step-icon"] {
217641
+ :host [part="step-container"] [part="step"] [part="step-icon"] [part="step-state"] {
217485
217642
  color: var(--joy-scheme-foreground);
217486
217643
  background-color: var(--joy-scheme-highlight);
217487
217644
  }
217488
217645
 
217489
- :host [part="step-container"] [part="step"].is-active [part="step-icon"] {
217646
+ :host [part="step-container"] [part="step"].is-active [part="step-icon"] [part="step-state"] {
217490
217647
  color: var(--joy-color-primary-0);
217491
217648
  background-color: var(--joy-color-primary-500);
217492
217649
  }
217493
217650
 
217494
- :host [part="step-container"] [part="step"].is-completed [part="step-icon"] {
217651
+ :host [part="step-container"] [part="step"].is-completed [part="step-icon"] [part="step-state"] {
217495
217652
  color: var(--joy-color-success-0);
217496
217653
  background-color: var(--joy-color-success-500);
217497
217654
  }
217498
217655
 
217499
- :host [part="step-container"] [part="step"].is-error [part="step-icon"] {
217656
+ :host [part="step-container"] [part="step"].is-error [part="step-icon"] [part="step-state"] {
217500
217657
  color: var(--joy-color-danger-0);
217501
217658
  background-color: var(--joy-color-danger-500);
217502
217659
  }
@@ -217646,19 +217803,46 @@ function sTe() {
217646
217803
 
217647
217804
  :host [part="header"].is-vertical {
217648
217805
  flex-direction: column;
217806
+ gap: 0;
217649
217807
  }
217650
217808
 
217651
217809
  :host [part="header"].is-vertical [part="step-container"] {
217652
217810
  flex-direction: column;
217653
- align-items: flex-start;
217811
+ flex: none;
217812
+ align-items: stretch;
217813
+ gap: 0;
217814
+ width: 100%;
217815
+ }
217816
+
217817
+ :host [part="header"].is-vertical [part="step-body"] {
217818
+ grid-template-columns: var(--stepper-icon-size) minmax(0, 1fr);
217819
+ -moz-column-gap: var(--stepper-gap);
217820
+ column-gap: var(--stepper-gap);
217821
+ min-height: var(--stepper-vertical-connector-length);
217822
+ width: 100%;
217823
+ display: grid;
217824
+ }
217825
+
217826
+ :host [part="header"].is-vertical [part="step-body"] [part="content"] {
217827
+ padding-bottom: var(--stepper-content-gap);
217828
+ grid-column: 2;
217829
+ min-width: 0;
217830
+ margin-top: 0;
217831
+ display: none;
217654
217832
  }
217655
217833
 
217656
- :host [part="header"].is-vertical [part="connector"] {
217834
+ :host [part="header"].is-vertical [part="step-body"].is-active [part="content"] {
217835
+ display: block;
217836
+ }
217837
+
217838
+ :host [part="header"].is-vertical [part="step-body"] [part="connector"] {
217657
217839
  min-width: unset;
217658
217840
  width: var(--stepper-connector-size);
217659
- height: var(--stepper-vertical-connector-length);
217841
+ height: auto;
217660
217842
  min-height: 48px;
217661
217843
  margin: var(--stepper-vertical-connector-margin) 0;
217844
+ grid-column: 1;
217845
+ place-self: stretch center;
217662
217846
  }
217663
217847
 
217664
217848
  :host [part="step-container"] {
@@ -217719,7 +217903,7 @@ function sTe() {
217719
217903
  flex: 1 1 0;
217720
217904
  }
217721
217905
 
217722
- :host [part="content"], :host [part="footer"] {
217906
+ :host > [part="content"], :host > [part="footer"] {
217723
217907
  margin-top: var(--stepper-content-gap);
217724
217908
  }
217725
217909
 
@@ -217755,7 +217939,7 @@ var X5 = function(e, t, n, r) {
217755
217939
  return "mosaik-stepper";
217756
217940
  }
217757
217941
  get items() {
217758
- return nS(this.shadowRoot, "steps");
217942
+ return Array.from(this.children).filter((e) => e.tagName.toLowerCase() === Y5.is);
217759
217943
  }
217760
217944
  get activeIndex() {
217761
217945
  return this.items.findIndex((e) => e.isActive);
@@ -217770,17 +217954,20 @@ var X5 = function(e, t, n, r) {
217770
217954
  return this._activeStepChanged;
217771
217955
  }
217772
217956
  onSlotChange() {
217773
- this.requestUpdate("items"), this.ensureActiveStep();
217957
+ this.syncStepSlots(), this.requestUpdate("items"), this.ensureActiveStep();
217774
217958
  }
217775
- ensureActiveStep() {
217776
- let { items: e } = this;
217777
- e.length !== 0 && (e.some((e) => e.isActive) || this.select(0));
217959
+ onSlotChanges(e) {
217960
+ super.onSlotChanges(e), this.onSlotChange();
217778
217961
  }
217779
217962
  onStepInvoked(e) {
217780
217963
  if (this.disabled || e.disabled) return;
217781
217964
  let t = this.items.indexOf(e);
217782
217965
  t >= 0 && this.select(t);
217783
217966
  }
217967
+ ensureActiveStep() {
217968
+ let { items: e } = this;
217969
+ e.length !== 0 && (e.some((e) => e.isActive) || this.select(0));
217970
+ }
217784
217971
  onSelectionChanged(e, t) {
217785
217972
  if (e === t) return;
217786
217973
  let n = this.items, r = {
@@ -217804,6 +217991,15 @@ var X5 = function(e, t, n, r) {
217804
217991
  r.isActive = e === t;
217805
217992
  }
217806
217993
  }
217994
+ onOrientationPropertyChanged() {
217995
+ this.syncStepSlots(), this.requestUpdate("items");
217996
+ }
217997
+ syncStepSlots() {
217998
+ this.items.forEach((e, t) => {
217999
+ let n = this.orientation === "vertical" ? `step-${t}` : "steps";
218000
+ e.slot !== n && (e.slot = n);
218001
+ });
218002
+ }
217807
218003
  };
217808
218004
  X5([
217809
218005
  k({ eventName: "activeStepChanged" }),
@@ -217814,7 +218010,12 @@ X5([
217814
218010
  Z5("design:type", Function),
217815
218011
  Z5("design:paramtypes", [Number, Number]),
217816
218012
  Z5("design:returntype", void 0)
217817
- ], Q5.prototype, "onSelectedIndexPropertyChanged", null), Q5 = X5([H({
218013
+ ], Q5.prototype, "onSelectedIndexPropertyChanged", null), X5([
218014
+ L("orientation"),
218015
+ Z5("design:type", Function),
218016
+ Z5("design:paramtypes", []),
218017
+ Z5("design:returntype", void 0)
218018
+ ], Q5.prototype, "onOrientationPropertyChanged", null), Q5 = X5([H({
217818
218019
  selector: "mosaik-stepper",
217819
218020
  template: eTe,
217820
218021
  themes: {
@@ -225175,22 +225376,26 @@ function yEe(e) {
225175
225376
  .radius="${"26px"}"
225176
225377
  .isIndeterminate="${!0}"></mosaik-progress-ring>
225177
225378
  <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
- `)}
225379
+ <slot name="header">
225380
+ ${U(e.header.trim(), () => V`
225381
+ <mosaik-text part="header"
225382
+ .readonly="${!0}"
225383
+ .wrap="${!0}"
225384
+ .alignment="${Bb.Center}"
225385
+ .text="${e.header}"
225386
+ .formatter="${e.formatter}"></mosaik-text>
225387
+ `)}
225388
+ </slot>
225389
+ <slot name="content">
225390
+ ${U(e.content.trim(), () => V`
225391
+ <mosaik-text part="content"
225392
+ .readonly="${!0}"
225393
+ .wrap="${!0}"
225394
+ .alignment="${Bb.Center}"
225395
+ .text="${e.content}"
225396
+ .formatter="${e.formatter}"></mosaik-text>
225397
+ `)}
225398
+ </slot>
225194
225399
  <slot></slot>
225195
225400
  </div>
225196
225401
  <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
@@ -225283,7 +225488,7 @@ function bEe() {
225283
225488
  --icon-foreground-color: var(--busy-state-foreground-color);
225284
225489
  }
225285
225490
 
225286
- :host [part="header"] {
225491
+ :host slot[name="header"] {
225287
225492
  font-family: var(--busy-state-header-font-family);
225288
225493
  font-size: var(--busy-state-header-font-size);
225289
225494
  line-height: var(--busy-state-header-font-line-height);
@@ -225294,7 +225499,17 @@ function bEe() {
225294
225499
  text-transform: var(--busy-state-header-font-text-transform);
225295
225500
  }
225296
225501
 
225297
- :host [part="content"] {
225502
+ :host slot[name="header"] mosaik-text {
225503
+ font-family: inherit;
225504
+ font-size: inherit;
225505
+ line-height: inherit;
225506
+ font-weight: inherit;
225507
+ letter-spacing: inherit;
225508
+ text-decoration: inherit;
225509
+ text-transform: inherit;
225510
+ }
225511
+
225512
+ :host slot[name="content"] {
225298
225513
  font-family: var(--busy-state-content-font-family);
225299
225514
  font-size: var(--busy-state-content-font-size);
225300
225515
  line-height: var(--busy-state-content-font-line-height);
@@ -225305,6 +225520,16 @@ function bEe() {
225305
225520
  text-transform: var(--busy-state-content-font-text-transform);
225306
225521
  }
225307
225522
 
225523
+ :host slot[name="content"] mosaik-text {
225524
+ font-family: inherit;
225525
+ font-size: inherit;
225526
+ line-height: inherit;
225527
+ font-weight: inherit;
225528
+ letter-spacing: inherit;
225529
+ text-decoration: inherit;
225530
+ text-transform: inherit;
225531
+ }
225532
+
225308
225533
  :host [part="root"] {
225309
225534
  flex-direction: column;
225310
225535
  align-items: center;
@@ -225405,7 +225630,7 @@ function xEe() {
225405
225630
  --icon-foreground-color: var(--busy-state-foreground-color);
225406
225631
  }
225407
225632
 
225408
- :host [part="header"] {
225633
+ :host slot[name="header"] {
225409
225634
  font-family: var(--busy-state-header-font-family);
225410
225635
  font-size: var(--busy-state-header-font-size);
225411
225636
  line-height: var(--busy-state-header-font-line-height);
@@ -225416,7 +225641,17 @@ function xEe() {
225416
225641
  text-transform: var(--busy-state-header-font-text-transform);
225417
225642
  }
225418
225643
 
225419
- :host [part="content"] {
225644
+ :host slot[name="header"] mosaik-text {
225645
+ font-family: inherit;
225646
+ font-size: inherit;
225647
+ line-height: inherit;
225648
+ font-weight: inherit;
225649
+ letter-spacing: inherit;
225650
+ text-decoration: inherit;
225651
+ text-transform: inherit;
225652
+ }
225653
+
225654
+ :host slot[name="content"] {
225420
225655
  font-family: var(--busy-state-content-font-family);
225421
225656
  font-size: var(--busy-state-content-font-size);
225422
225657
  line-height: var(--busy-state-content-font-line-height);
@@ -225427,6 +225662,16 @@ function xEe() {
225427
225662
  text-transform: var(--busy-state-content-font-text-transform);
225428
225663
  }
225429
225664
 
225665
+ :host slot[name="content"] mosaik-text {
225666
+ font-family: inherit;
225667
+ font-size: inherit;
225668
+ line-height: inherit;
225669
+ font-weight: inherit;
225670
+ letter-spacing: inherit;
225671
+ text-decoration: inherit;
225672
+ text-transform: inherit;
225673
+ }
225674
+
225430
225675
  :host [part="root"] {
225431
225676
  flex-direction: column;
225432
225677
  align-items: center;
@@ -225440,7 +225685,7 @@ function xEe() {
225440
225685
  display: flex;
225441
225686
  }
225442
225687
 
225443
- :host [part="header"] {
225688
+ :host slot[name="header"] {
225444
225689
  --busy-state-header-font-family: var(--joy-typography-body1-font-family);
225445
225690
  --busy-state-header-font-size: var(--joy-typography-body1-font-size);
225446
225691
  --busy-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -225450,7 +225695,7 @@ function xEe() {
225450
225695
  --busy-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
225451
225696
  }
225452
225697
 
225453
- :host [part="content"] {
225698
+ :host slot[name="content"] {
225454
225699
  --busy-state-content-font-family: var(--joy-typography-body2-font-family);
225455
225700
  --busy-state-content-font-size: var(--joy-typography-body2-font-size);
225456
225701
  --busy-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -225547,7 +225792,7 @@ function SEe() {
225547
225792
  --icon-foreground-color: var(--busy-state-foreground-color);
225548
225793
  }
225549
225794
 
225550
- :host [part="header"] {
225795
+ :host slot[name="header"] {
225551
225796
  font-family: var(--busy-state-header-font-family);
225552
225797
  font-size: var(--busy-state-header-font-size);
225553
225798
  line-height: var(--busy-state-header-font-line-height);
@@ -225558,7 +225803,17 @@ function SEe() {
225558
225803
  text-transform: var(--busy-state-header-font-text-transform);
225559
225804
  }
225560
225805
 
225561
- :host [part="content"] {
225806
+ :host slot[name="header"] mosaik-text {
225807
+ font-family: inherit;
225808
+ font-size: inherit;
225809
+ line-height: inherit;
225810
+ font-weight: inherit;
225811
+ letter-spacing: inherit;
225812
+ text-decoration: inherit;
225813
+ text-transform: inherit;
225814
+ }
225815
+
225816
+ :host slot[name="content"] {
225562
225817
  font-family: var(--busy-state-content-font-family);
225563
225818
  font-size: var(--busy-state-content-font-size);
225564
225819
  line-height: var(--busy-state-content-font-line-height);
@@ -225569,6 +225824,16 @@ function SEe() {
225569
225824
  text-transform: var(--busy-state-content-font-text-transform);
225570
225825
  }
225571
225826
 
225827
+ :host slot[name="content"] mosaik-text {
225828
+ font-family: inherit;
225829
+ font-size: inherit;
225830
+ line-height: inherit;
225831
+ font-weight: inherit;
225832
+ letter-spacing: inherit;
225833
+ text-decoration: inherit;
225834
+ text-transform: inherit;
225835
+ }
225836
+
225572
225837
  :host [part="root"] {
225573
225838
  flex-direction: column;
225574
225839
  align-items: center;
@@ -225582,7 +225847,7 @@ function SEe() {
225582
225847
  display: flex;
225583
225848
  }
225584
225849
 
225585
- :host [part="header"] {
225850
+ :host slot[name="header"] {
225586
225851
  --busy-state-header-font-family: var(--memphis-typography-body1-font-family);
225587
225852
  --busy-state-header-font-size: var(--memphis-typography-body1-font-size);
225588
225853
  --busy-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -225592,7 +225857,7 @@ function SEe() {
225592
225857
  --busy-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
225593
225858
  }
225594
225859
 
225595
- :host [part="content"] {
225860
+ :host slot[name="content"] {
225596
225861
  --busy-state-content-font-family: var(--memphis-typography-body2-font-family);
225597
225862
  --busy-state-content-font-size: var(--memphis-typography-body2-font-size);
225598
225863
  --busy-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -225613,7 +225878,7 @@ var q7 = function(e, t, n, r) {
225613
225878
  return i > 3 && a && Object.defineProperty(t, n, a), a;
225614
225879
  }, J7 = function(e, t) {
225615
225880
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
225616
- }, Y7 = class extends F(LI) {
225881
+ }, Y7 = class extends F(Y(LI)) {
225617
225882
  _header;
225618
225883
  _icon;
225619
225884
  constructor() {
@@ -225662,22 +225927,26 @@ function CEe(e) {
225662
225927
  .data="${e.icon.trim().length > 0 ? e.icon : X.errorCircle}"
225663
225928
  .variant="${ib.Danger}"></mosaik-icon>
225664
225929
  <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
- `)}
225930
+ <slot name="header">
225931
+ ${U(e.header.trim(), () => V`
225932
+ <mosaik-text part="header"
225933
+ .readonly="${!0}"
225934
+ .wrap="${!0}"
225935
+ .alignment="${Bb.Center}"
225936
+ .text="${e.header}"
225937
+ .formatter="${e.formatter}"></mosaik-text>
225938
+ `)}
225939
+ </slot>
225940
+ <slot name="content">
225941
+ ${U(e.content.trim(), () => V`
225942
+ <mosaik-text part="content"
225943
+ .readonly="${!0}"
225944
+ .wrap="${!0}"
225945
+ .alignment="${Bb.Center}"
225946
+ .text="${e.content}"
225947
+ .formatter="${e.formatter}"></mosaik-text>
225948
+ `)}
225949
+ </slot>
225681
225950
  ${U(e.code, () => V`
225682
225951
  <mosaik-text part="code"
225683
225952
  .readonly="${!0}"
@@ -225773,7 +226042,7 @@ function wEe() {
225773
226042
  overflow: hidden;
225774
226043
  }
225775
226044
 
225776
- :host [part="header"] {
226045
+ :host slot[name="header"] {
225777
226046
  font-family: var(--error-state-header-font-family);
225778
226047
  font-size: var(--error-state-header-font-size);
225779
226048
  line-height: var(--error-state-header-font-line-height);
@@ -225784,7 +226053,17 @@ function wEe() {
225784
226053
  text-transform: var(--error-state-header-font-text-transform);
225785
226054
  }
225786
226055
 
225787
- :host [part="content"] {
226056
+ :host slot[name="header"] mosaik-text {
226057
+ font-family: inherit;
226058
+ font-size: inherit;
226059
+ line-height: inherit;
226060
+ font-weight: inherit;
226061
+ letter-spacing: inherit;
226062
+ text-decoration: inherit;
226063
+ text-transform: inherit;
226064
+ }
226065
+
226066
+ :host slot[name="content"] {
225788
226067
  font-family: var(--error-state-content-font-family);
225789
226068
  font-size: var(--error-state-content-font-size);
225790
226069
  line-height: var(--error-state-content-font-line-height);
@@ -225795,6 +226074,16 @@ function wEe() {
225795
226074
  text-transform: var(--error-state-content-font-text-transform);
225796
226075
  }
225797
226076
 
226077
+ :host slot[name="content"] mosaik-text {
226078
+ font-family: inherit;
226079
+ font-size: inherit;
226080
+ line-height: inherit;
226081
+ font-weight: inherit;
226082
+ letter-spacing: inherit;
226083
+ text-decoration: inherit;
226084
+ text-transform: inherit;
226085
+ }
226086
+
225798
226087
  :host [part="root"] {
225799
226088
  flex-direction: column;
225800
226089
  align-items: center;
@@ -225889,7 +226178,7 @@ function TEe() {
225889
226178
  overflow: hidden;
225890
226179
  }
225891
226180
 
225892
- :host [part="header"] {
226181
+ :host slot[name="header"] {
225893
226182
  font-family: var(--error-state-header-font-family);
225894
226183
  font-size: var(--error-state-header-font-size);
225895
226184
  line-height: var(--error-state-header-font-line-height);
@@ -225900,7 +226189,17 @@ function TEe() {
225900
226189
  text-transform: var(--error-state-header-font-text-transform);
225901
226190
  }
225902
226191
 
225903
- :host [part="content"] {
226192
+ :host slot[name="header"] mosaik-text {
226193
+ font-family: inherit;
226194
+ font-size: inherit;
226195
+ line-height: inherit;
226196
+ font-weight: inherit;
226197
+ letter-spacing: inherit;
226198
+ text-decoration: inherit;
226199
+ text-transform: inherit;
226200
+ }
226201
+
226202
+ :host slot[name="content"] {
225904
226203
  font-family: var(--error-state-content-font-family);
225905
226204
  font-size: var(--error-state-content-font-size);
225906
226205
  line-height: var(--error-state-content-font-line-height);
@@ -225911,6 +226210,16 @@ function TEe() {
225911
226210
  text-transform: var(--error-state-content-font-text-transform);
225912
226211
  }
225913
226212
 
226213
+ :host slot[name="content"] mosaik-text {
226214
+ font-family: inherit;
226215
+ font-size: inherit;
226216
+ line-height: inherit;
226217
+ font-weight: inherit;
226218
+ letter-spacing: inherit;
226219
+ text-decoration: inherit;
226220
+ text-transform: inherit;
226221
+ }
226222
+
225914
226223
  :host [part="root"] {
225915
226224
  flex-direction: column;
225916
226225
  align-items: center;
@@ -225924,7 +226233,7 @@ function TEe() {
225924
226233
  display: flex;
225925
226234
  }
225926
226235
 
225927
- :host [part="header"] {
226236
+ :host slot[name="header"] {
225928
226237
  --error-state-header-font-family: var(--joy-typography-body1-font-family);
225929
226238
  --error-state-header-font-size: var(--joy-typography-body1-font-size);
225930
226239
  --error-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -225934,7 +226243,7 @@ function TEe() {
225934
226243
  --error-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
225935
226244
  }
225936
226245
 
225937
- :host [part="content"] {
226246
+ :host slot[name="content"] {
225938
226247
  --error-state-content-font-family: var(--joy-typography-body2-font-family);
225939
226248
  --error-state-content-font-size: var(--joy-typography-body2-font-size);
225940
226249
  --error-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -226026,7 +226335,7 @@ function EEe() {
226026
226335
  overflow: hidden;
226027
226336
  }
226028
226337
 
226029
- :host [part="header"] {
226338
+ :host slot[name="header"] {
226030
226339
  font-family: var(--error-state-header-font-family);
226031
226340
  font-size: var(--error-state-header-font-size);
226032
226341
  line-height: var(--error-state-header-font-line-height);
@@ -226037,7 +226346,17 @@ function EEe() {
226037
226346
  text-transform: var(--error-state-header-font-text-transform);
226038
226347
  }
226039
226348
 
226040
- :host [part="content"] {
226349
+ :host slot[name="header"] mosaik-text {
226350
+ font-family: inherit;
226351
+ font-size: inherit;
226352
+ line-height: inherit;
226353
+ font-weight: inherit;
226354
+ letter-spacing: inherit;
226355
+ text-decoration: inherit;
226356
+ text-transform: inherit;
226357
+ }
226358
+
226359
+ :host slot[name="content"] {
226041
226360
  font-family: var(--error-state-content-font-family);
226042
226361
  font-size: var(--error-state-content-font-size);
226043
226362
  line-height: var(--error-state-content-font-line-height);
@@ -226048,6 +226367,16 @@ function EEe() {
226048
226367
  text-transform: var(--error-state-content-font-text-transform);
226049
226368
  }
226050
226369
 
226370
+ :host slot[name="content"] mosaik-text {
226371
+ font-family: inherit;
226372
+ font-size: inherit;
226373
+ line-height: inherit;
226374
+ font-weight: inherit;
226375
+ letter-spacing: inherit;
226376
+ text-decoration: inherit;
226377
+ text-transform: inherit;
226378
+ }
226379
+
226051
226380
  :host [part="root"] {
226052
226381
  flex-direction: column;
226053
226382
  align-items: center;
@@ -226061,7 +226390,7 @@ function EEe() {
226061
226390
  display: flex;
226062
226391
  }
226063
226392
 
226064
- :host [part="header"] {
226393
+ :host slot[name="header"] {
226065
226394
  --error-state-header-font-family: var(--memphis-typography-body1-font-family);
226066
226395
  --error-state-header-font-size: var(--memphis-typography-body1-font-size);
226067
226396
  --error-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -226071,7 +226400,7 @@ function EEe() {
226071
226400
  --error-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
226072
226401
  }
226073
226402
 
226074
- :host [part="content"] {
226403
+ :host slot[name="content"] {
226075
226404
  --error-state-content-font-family: var(--memphis-typography-body2-font-family);
226076
226405
  --error-state-content-font-size: var(--memphis-typography-body2-font-size);
226077
226406
  --error-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -226092,7 +226421,7 @@ var X7 = function(e, t, n, r) {
226092
226421
  return i > 3 && a && Object.defineProperty(t, n, a), a;
226093
226422
  }, Z7 = function(e, t) {
226094
226423
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226095
- }, Q7 = class extends F(LI) {
226424
+ }, Q7 = class extends F(Y(LI)) {
226096
226425
  _icon;
226097
226426
  _header;
226098
226427
  _code;
@@ -226152,22 +226481,26 @@ function DEe(e) {
226152
226481
  .data="${e.icon.trim().length > 0 ? e.icon : X.successCircle}"
226153
226482
  .variant="${ib.Success}"></mosaik-icon>
226154
226483
  <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
- `)}
226484
+ <slot name="header">
226485
+ ${U(e.header.trim(), () => V`
226486
+ <mosaik-text part="header"
226487
+ .readonly="${!0}"
226488
+ .wrap="${!0}"
226489
+ .alignment="${Bb.Center}"
226490
+ .text="${e.header}"
226491
+ .formatter="${e.formatter}"></mosaik-text>
226492
+ `)}
226493
+ </slot>
226494
+ <slot name="content">
226495
+ ${U(e.content.trim(), () => V`
226496
+ <mosaik-text part="content"
226497
+ .readonly="${!0}"
226498
+ .wrap="${!0}"
226499
+ .alignment="${Bb.Center}"
226500
+ .text="${e.content}"
226501
+ .formatter="${e.formatter}"></mosaik-text>
226502
+ `)}
226503
+ </slot>
226171
226504
  <slot></slot>
226172
226505
  </div>
226173
226506
  <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
@@ -226255,7 +226588,7 @@ function OEe() {
226255
226588
  overflow: hidden;
226256
226589
  }
226257
226590
 
226258
- :host [part="header"] {
226591
+ :host slot[name="header"] {
226259
226592
  font-family: var(--success-state-header-font-family);
226260
226593
  font-size: var(--success-state-header-font-size);
226261
226594
  line-height: var(--success-state-header-font-line-height);
@@ -226266,7 +226599,17 @@ function OEe() {
226266
226599
  text-transform: var(--success-state-header-font-text-transform);
226267
226600
  }
226268
226601
 
226269
- :host [part="content"] {
226602
+ :host slot[name="header"] mosaik-text {
226603
+ font-family: inherit;
226604
+ font-size: inherit;
226605
+ line-height: inherit;
226606
+ font-weight: inherit;
226607
+ letter-spacing: inherit;
226608
+ text-decoration: inherit;
226609
+ text-transform: inherit;
226610
+ }
226611
+
226612
+ :host slot[name="content"] {
226270
226613
  font-family: var(--success-state-content-font-family);
226271
226614
  font-size: var(--success-state-content-font-size);
226272
226615
  line-height: var(--success-state-content-font-line-height);
@@ -226277,6 +226620,16 @@ function OEe() {
226277
226620
  text-transform: var(--success-state-content-font-text-transform);
226278
226621
  }
226279
226622
 
226623
+ :host slot[name="content"] mosaik-text {
226624
+ font-family: inherit;
226625
+ font-size: inherit;
226626
+ line-height: inherit;
226627
+ font-weight: inherit;
226628
+ letter-spacing: inherit;
226629
+ text-decoration: inherit;
226630
+ text-transform: inherit;
226631
+ }
226632
+
226280
226633
  :host [part="root"] {
226281
226634
  flex-direction: column;
226282
226635
  align-items: center;
@@ -226371,7 +226724,7 @@ function kEe() {
226371
226724
  overflow: hidden;
226372
226725
  }
226373
226726
 
226374
- :host [part="header"] {
226727
+ :host slot[name="header"] {
226375
226728
  font-family: var(--success-state-header-font-family);
226376
226729
  font-size: var(--success-state-header-font-size);
226377
226730
  line-height: var(--success-state-header-font-line-height);
@@ -226382,7 +226735,17 @@ function kEe() {
226382
226735
  text-transform: var(--success-state-header-font-text-transform);
226383
226736
  }
226384
226737
 
226385
- :host [part="content"] {
226738
+ :host slot[name="header"] mosaik-text {
226739
+ font-family: inherit;
226740
+ font-size: inherit;
226741
+ line-height: inherit;
226742
+ font-weight: inherit;
226743
+ letter-spacing: inherit;
226744
+ text-decoration: inherit;
226745
+ text-transform: inherit;
226746
+ }
226747
+
226748
+ :host slot[name="content"] {
226386
226749
  font-family: var(--success-state-content-font-family);
226387
226750
  font-size: var(--success-state-content-font-size);
226388
226751
  line-height: var(--success-state-content-font-line-height);
@@ -226393,6 +226756,16 @@ function kEe() {
226393
226756
  text-transform: var(--success-state-content-font-text-transform);
226394
226757
  }
226395
226758
 
226759
+ :host slot[name="content"] mosaik-text {
226760
+ font-family: inherit;
226761
+ font-size: inherit;
226762
+ line-height: inherit;
226763
+ font-weight: inherit;
226764
+ letter-spacing: inherit;
226765
+ text-decoration: inherit;
226766
+ text-transform: inherit;
226767
+ }
226768
+
226396
226769
  :host [part="root"] {
226397
226770
  flex-direction: column;
226398
226771
  align-items: center;
@@ -226406,7 +226779,7 @@ function kEe() {
226406
226779
  display: flex;
226407
226780
  }
226408
226781
 
226409
- :host [part="header"] {
226782
+ :host slot[name="header"] {
226410
226783
  --success-state-header-font-family: var(--joy-typography-body1-font-family);
226411
226784
  --success-state-header-font-size: var(--joy-typography-body1-font-size);
226412
226785
  --success-state-header-font-line-height: var(--joy-typography-body1-line-height);
@@ -226416,7 +226789,7 @@ function kEe() {
226416
226789
  --success-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
226417
226790
  }
226418
226791
 
226419
- :host [part="content"] {
226792
+ :host slot[name="content"] {
226420
226793
  --success-state-content-font-family: var(--joy-typography-body2-font-family);
226421
226794
  --success-state-content-font-size: var(--joy-typography-body2-font-size);
226422
226795
  --success-state-content-font-line-height: var(--joy-typography-body2-line-height);
@@ -226508,7 +226881,7 @@ function AEe() {
226508
226881
  overflow: hidden;
226509
226882
  }
226510
226883
 
226511
- :host [part="header"] {
226884
+ :host slot[name="header"] {
226512
226885
  font-family: var(--success-state-header-font-family);
226513
226886
  font-size: var(--success-state-header-font-size);
226514
226887
  line-height: var(--success-state-header-font-line-height);
@@ -226519,7 +226892,17 @@ function AEe() {
226519
226892
  text-transform: var(--success-state-header-font-text-transform);
226520
226893
  }
226521
226894
 
226522
- :host [part="content"] {
226895
+ :host slot[name="header"] mosaik-text {
226896
+ font-family: inherit;
226897
+ font-size: inherit;
226898
+ line-height: inherit;
226899
+ font-weight: inherit;
226900
+ letter-spacing: inherit;
226901
+ text-decoration: inherit;
226902
+ text-transform: inherit;
226903
+ }
226904
+
226905
+ :host slot[name="content"] {
226523
226906
  font-family: var(--success-state-content-font-family);
226524
226907
  font-size: var(--success-state-content-font-size);
226525
226908
  line-height: var(--success-state-content-font-line-height);
@@ -226530,6 +226913,16 @@ function AEe() {
226530
226913
  text-transform: var(--success-state-content-font-text-transform);
226531
226914
  }
226532
226915
 
226916
+ :host slot[name="content"] mosaik-text {
226917
+ font-family: inherit;
226918
+ font-size: inherit;
226919
+ line-height: inherit;
226920
+ font-weight: inherit;
226921
+ letter-spacing: inherit;
226922
+ text-decoration: inherit;
226923
+ text-transform: inherit;
226924
+ }
226925
+
226533
226926
  :host [part="root"] {
226534
226927
  flex-direction: column;
226535
226928
  align-items: center;
@@ -226543,7 +226936,7 @@ function AEe() {
226543
226936
  display: flex;
226544
226937
  }
226545
226938
 
226546
- :host [part="header"] {
226939
+ :host slot[name="header"] {
226547
226940
  --success-state-header-font-family: var(--memphis-typography-body1-font-family);
226548
226941
  --success-state-header-font-size: var(--memphis-typography-body1-font-size);
226549
226942
  --success-state-header-font-line-height: var(--memphis-typography-body1-line-height);
@@ -226553,7 +226946,7 @@ function AEe() {
226553
226946
  --success-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
226554
226947
  }
226555
226948
 
226556
- :host [part="content"] {
226949
+ :host slot[name="content"] {
226557
226950
  --success-state-content-font-family: var(--memphis-typography-body2-font-family);
226558
226951
  --success-state-content-font-size: var(--memphis-typography-body2-font-size);
226559
226952
  --success-state-content-font-line-height: var(--memphis-typography-body2-line-height);
@@ -226574,7 +226967,7 @@ var $7 = function(e, t, n, r) {
226574
226967
  return i > 3 && a && Object.defineProperty(t, n, a), a;
226575
226968
  }, e9 = function(e, t) {
226576
226969
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
226577
- }, t9 = class extends F(LI) {
226970
+ }, t9 = class extends F(Y(LI)) {
226578
226971
  _icon;
226579
226972
  _header;
226580
226973
  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.11",
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.11",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.11",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {