@breadstone/mosaik-elements-svelte 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/index.mjs +560 -281
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -71458,10 +71458,10 @@ function YF(e) {
71458
71458
  <div part="root">
71459
71459
  <slot name="start"></slot>
71460
71460
  <div part="main"
71461
- ?hidden="${!DM(e, "has-main", e.hasSlotContent("") || e.hasSlotContent("title") || e.hasSlotContent("subTitle"))}">
71461
+ ?hidden="${!DM(e, "has-main", e.hasSlotContent("") || e.hasSlotContent("title") || e.hasSlotContent("subTitle") || e.title.trim().length > 0 || e.subTitle.trim().length > 0)}">
71462
71462
  <slot></slot>
71463
71463
  <div part="title"
71464
- ?hidden="${!DM(e, "has-title", e.hasSlotContent("title"))}">
71464
+ ?hidden="${!DM(e, "has-title", e.hasSlotContent("title") || e.title.trim().length > 0)}">
71465
71465
  <slot name="title">
71466
71466
  ${U(e.title.trim(), () => V`
71467
71467
  <mosaik-text .text="${e.title}"
@@ -71471,7 +71471,7 @@ function YF(e) {
71471
71471
  </slot>
71472
71472
  </div>
71473
71473
  <div part="subTitle"
71474
- ?hidden="${!DM(e, "has-sub-title", e.hasSlotContent("subTitle"))}">
71474
+ ?hidden="${!DM(e, "has-sub-title", e.hasSlotContent("subTitle") || e.subTitle.trim().length > 0)}">
71475
71475
  <slot name="subTitle">
71476
71476
  ${U(e.subTitle.trim(), () => V`
71477
71477
  <mosaik-text .text="${e.subTitle}"
@@ -71517,11 +71517,11 @@ var XF = function(e, t, n, r) {
71517
71517
  }
71518
71518
  };
71519
71519
  XF([
71520
- A({ type: String }),
71520
+ P({ type: String }),
71521
71521
  ZF("design:type", String),
71522
71522
  ZF("design:paramtypes", [String])
71523
71523
  ], QF.prototype, "title", null), XF([
71524
- A({ type: String }),
71524
+ P({ type: String }),
71525
71525
  ZF("design:type", String),
71526
71526
  ZF("design:paramtypes", [String])
71527
71527
  ], QF.prototype, "subTitle", null), QF = XF([H({
@@ -72339,7 +72339,7 @@ function RI(e) {
72339
72339
  .size="${G.Giant}"
72340
72340
  .data="${e.icon.trim() ? e.icon : X.glasses}"
72341
72341
  .variant="${"neutral"}"></mosaik-icon>
72342
- <mosaik-stack .orientation="${K.Vertical}">
72342
+ <div part="root">
72343
72343
  ${U(e.header, () => V`
72344
72344
  <mosaik-text part="header"
72345
72345
  .readonly="${!0}"
@@ -72357,12 +72357,10 @@ function RI(e) {
72357
72357
  .formatter="${e.formatter}"></mosaik-text>
72358
72358
  `)}
72359
72359
  <slot></slot>
72360
- </mosaik-stack>
72361
- <mosaik-stack part="innerStack"
72362
- .orientation="${K.Horizontal}"
72363
- ?hidden="${!e.hasSlotContent("actions")}">
72360
+ </div>
72361
+ <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
72364
72362
  <slot name="actions"></slot>
72365
- </mosaik-stack>
72363
+ </div>
72366
72364
  `;
72367
72365
  }
72368
72366
  //#endregion
@@ -72472,8 +72470,17 @@ function zI() {
72472
72470
  text-transform: var(--empty-state-content-font-text-transform);
72473
72471
  }
72474
72472
 
72475
- :host [part="innerStack"] {
72476
- --stack-gap: var(--empty-state-gap);
72473
+ :host [part="root"] {
72474
+ flex-direction: column;
72475
+ align-items: center;
72476
+ display: flex;
72477
+ }
72478
+
72479
+ :host [part="actions"] {
72480
+ align-items: center;
72481
+ gap: var(--empty-state-gap);
72482
+ flex-direction: row;
72483
+ display: flex;
72477
72484
  }
72478
72485
 
72479
72486
  `;
@@ -72585,8 +72592,17 @@ function BI() {
72585
72592
  text-transform: var(--empty-state-content-font-text-transform);
72586
72593
  }
72587
72594
 
72588
- :host [part="innerStack"] {
72589
- --stack-gap: var(--empty-state-gap);
72595
+ :host [part="root"] {
72596
+ flex-direction: column;
72597
+ align-items: center;
72598
+ display: flex;
72599
+ }
72600
+
72601
+ :host [part="actions"] {
72602
+ align-items: center;
72603
+ gap: var(--empty-state-gap);
72604
+ flex-direction: row;
72605
+ display: flex;
72590
72606
  }
72591
72607
 
72592
72608
  :host [part="header"] {
@@ -72718,8 +72734,17 @@ function VI() {
72718
72734
  text-transform: var(--empty-state-content-font-text-transform);
72719
72735
  }
72720
72736
 
72721
- :host [part="innerStack"] {
72722
- --stack-gap: var(--empty-state-gap);
72737
+ :host [part="root"] {
72738
+ flex-direction: column;
72739
+ align-items: center;
72740
+ display: flex;
72741
+ }
72742
+
72743
+ :host [part="actions"] {
72744
+ align-items: center;
72745
+ gap: var(--empty-state-gap);
72746
+ flex-direction: row;
72747
+ display: flex;
72723
72748
  }
72724
72749
 
72725
72750
  :host [part="header"] {
@@ -72791,11 +72816,7 @@ HI([
72791
72816
  memphis: VI,
72792
72817
  cosmopolitan: zI
72793
72818
  },
72794
- imports: [
72795
- _S,
72796
- W,
72797
- sS
72798
- ]
72819
+ imports: [_S, W]
72799
72820
  }), UI("design:paramtypes", [])], WI);
72800
72821
  //#endregion
72801
72822
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Abstracts/Selector/SelectorItemElement.js
@@ -112573,7 +112594,7 @@ function CG(e) {
112573
112594
  function wG(e) {
112574
112595
  return V`
112575
112596
  <div part="root">
112576
- <svg xmlns="http://www.w3.org/2000/svg">
112597
+ <svg xmlns="http://www.w3.org/2000/svg">
112577
112598
  <line x1="${e.orientation === K.Vertical ? "50%" : "0"}"
112578
112599
  y1="${e.orientation === K.Vertical ? "0" : "50%"}"
112579
112600
  x2="${e.orientation === K.Vertical ? "50%" : "100%"}"
@@ -112660,6 +112681,7 @@ function TG() {
112660
112681
  width: 100%;
112661
112682
  height: 100%;
112662
112683
  position: absolute;
112684
+ translate: -50%;
112663
112685
  }
112664
112686
 
112665
112687
  :host [part="root"] svg line {
@@ -112755,6 +112777,7 @@ function EG() {
112755
112777
  width: 100%;
112756
112778
  height: 100%;
112757
112779
  position: absolute;
112780
+ translate: -50%;
112758
112781
  }
112759
112782
 
112760
112783
  :host [part="root"] svg line {
@@ -112854,6 +112877,7 @@ function DG() {
112854
112877
  width: 100%;
112855
112878
  height: 100%;
112856
112879
  position: absolute;
112880
+ translate: -50%;
112857
112881
  }
112858
112882
 
112859
112883
  :host [part="root"] svg line {
@@ -151839,7 +151863,10 @@ function wme(e) {
151839
151863
  <div part="messages">
151840
151864
  <slot name="message"></slot>
151841
151865
  ${U(e.scrollToEnd, () => V`
151842
- <mosaik-back-top .to="${"bottom"}"></mosaik-back-top>
151866
+ <mosaik-back-top part="backTop"
151867
+ .dir="${e.dir}"
151868
+ .lang="${e.lang}"
151869
+ .to="${"bottom"}"></mosaik-back-top>
151843
151870
  `)}
151844
151871
  </div>
151845
151872
  </div>
@@ -152155,7 +152182,8 @@ V$ = kme([H({
152155
152182
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/ChatHeaderElementTemplate.js
152156
152183
  function jme(e) {
152157
152184
  return V`
152158
- <mosaik-title-layout .dir="${e.dir}"
152185
+ <mosaik-title-layout part="root"
152186
+ .dir="${e.dir}"
152159
152187
  .lang="${e.lang}">
152160
152188
  <slot name="before"
152161
152189
  slot="start"></slot>
@@ -152165,7 +152193,8 @@ function jme(e) {
152165
152193
  .title="${e.title}"
152166
152194
  .subTitle="${e.subTitle}"
152167
152195
  .formatter="${e.formatter}"
152168
- .appearance="${"plain"}"></mosaik-toolbar>
152196
+ .appearance="${"plain"}"
152197
+ .fit="${"both"}"></mosaik-toolbar>
152169
152198
  <slot name="after"
152170
152199
  slot="end"></slot>
152171
152200
  </mosaik-title-layout>
@@ -152516,34 +152545,30 @@ function zme(e) {
152516
152545
  function Bme(e) {
152517
152546
  return V`
152518
152547
  ${Yb(e.files, (e) => e.name, (t) => V`
152519
- <!-- <mosaik-chip part="attachment"
152520
- .closeable="${!0}"
152521
- @closed="${() => e.removeAttachment(t)}"
152522
- @click="${() => window.open(URL.createObjectURL(t))}">
152523
- <mosaik-thumbnail slot="icon"
152524
- .preview="${{
152525
- url: URL.createObjectURL(t),
152526
- type: t.type
152527
- }}"></mosaik-thumbnail>
152528
- <mosaik-text slot="label"
152529
- .text="${t.name}"
152530
- .maxLength="${20}"
152531
- .truncate="${!0}"></mosaik-text>
152532
- </mosaik-chip> -->
152533
-
152534
152548
  <mosaik-box part="attachment"
152535
152549
  .cornered="${!0}"
152550
+ .lang="${e.lang}"
152551
+ .dir="${e.dir}"
152536
152552
  @click="${() => window.open(URL.createObjectURL(t))}">
152537
- <mosaik-dismiss slot="dismiss"
152553
+ <mosaik-dismiss part="dismiss"
152554
+ slot="dismiss"
152538
152555
  .size="${"tiny"}"
152556
+ .lang="${e.lang}"
152557
+ .dir="${e.dir}"
152539
152558
  @click="${(n) => e.onDismiss(n, t)}"></mosaik-dismiss>
152540
152559
  <mosaik-thumbnail part="thumbnail"
152560
+ .lang="${e.lang}"
152561
+ .dir="${e.dir}"
152541
152562
  .preview="${Fme(t)}"></mosaik-thumbnail>
152542
152563
  <div part="content">
152543
152564
  <mosaik-text part="label"
152565
+ .lang="${e.lang}"
152566
+ .dir="${e.dir}"
152544
152567
  .text="${t.name}"
152545
152568
  .truncate="${!0}"></mosaik-text>
152546
152569
  <mosaik-text part="type"
152570
+ .lang="${e.lang}"
152571
+ .dir="${e.dir}"
152547
152572
  .text="${t.type}"
152548
152573
  .truncate="${!0}"></mosaik-text>
152549
152574
  </div>
@@ -153470,6 +153495,7 @@ var Y$ = function(e, t, n, r) {
153470
153495
  }, X$ = function(e, t) {
153471
153496
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
153472
153497
  }, Z$ = class extends F(z(J(R(Y(j))))) {
153498
+ _inheritance = zx(this, { context: G$ });
153473
153499
  _attachmentsElement;
153474
153500
  _submitted;
153475
153501
  _transformer;
@@ -153508,6 +153534,18 @@ var Y$ = function(e, t, n, r) {
153508
153534
  get attachmentsElement() {
153509
153535
  return this._attachmentsElement;
153510
153536
  }
153537
+ get variant() {
153538
+ return this._inheritance.get("variant", super.variant);
153539
+ }
153540
+ set variant(e) {
153541
+ this._inheritance.markExplicit("variant"), super.variant = e;
153542
+ }
153543
+ get appearance() {
153544
+ return this._inheritance.get("appearance", super.appearance);
153545
+ }
153546
+ set appearance(e) {
153547
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
153548
+ }
153511
153549
  send(e, t) {
153512
153550
  let n = this._transformer({
153513
153551
  text: e,
@@ -153593,11 +153631,8 @@ Y$([
153593
153631
  function Jme(e) {
153594
153632
  return V`
153595
153633
  ${U(e.isSticky, () => V`
153596
- <mosaik-sticky>
153597
- <mosaik-stack .dir="${e.dir}"
153598
- .orientation="${K.Horizontal}"
153599
- .verticalAlignment="${fx.Center}"
153600
- .gap="${"16px"}">
153634
+ <mosaik-sticky part="sticky">
153635
+ <div part="root">
153601
153636
  <mosaik-divider part="divider"
153602
153637
  .dir="${e.dir}"
153603
153638
  .orientation="${K.Horizontal}"
@@ -153613,13 +153648,10 @@ function Jme(e) {
153613
153648
  .dir="${e.dir}"
153614
153649
  .orientation="${K.Horizontal}"
153615
153650
  .thickness="${e.thickness}"></mosaik-divider>
153616
- </mosaik-stack>
153651
+ </div>
153617
153652
  </mosaik-sticky>
153618
153653
  `, () => V`
153619
- <mosaik-stack .dir="${e.dir}"
153620
- .orientation="${K.Horizontal}"
153621
- .verticalAlignment="${fx.Center}"
153622
- .gap="${"16px"}">
153654
+ <div part="root">
153623
153655
  <mosaik-divider part="divider"
153624
153656
  .dir="${e.dir}"
153625
153657
  .orientation="${K.Horizontal}"
@@ -153635,7 +153667,7 @@ function Jme(e) {
153635
153667
  .dir="${e.dir}"
153636
153668
  .orientation="${K.Horizontal}"
153637
153669
  .thickness="${e.thickness}"></mosaik-divider>
153638
- </mosaik-stack>
153670
+ </div>
153639
153671
  `)}
153640
153672
  `;
153641
153673
  }
@@ -153720,6 +153752,19 @@ function Yme() {
153720
153752
  display: flex;
153721
153753
  }
153722
153754
 
153755
+ :host [part="sticky"] {
153756
+ width: 100%;
153757
+ }
153758
+
153759
+ :host [part="root"] {
153760
+ justify-content: center;
153761
+ align-items: center;
153762
+ gap: var(--chat-message-divider-gap);
153763
+ flex-direction: row;
153764
+ width: 100%;
153765
+ display: inline-flex;
153766
+ }
153767
+
153723
153768
  :host [part="text"] {
153724
153769
  flex-shrink: 0;
153725
153770
  }
@@ -153807,6 +153852,19 @@ function Xme() {
153807
153852
  display: flex;
153808
153853
  }
153809
153854
 
153855
+ :host [part="sticky"] {
153856
+ width: 100%;
153857
+ }
153858
+
153859
+ :host [part="root"] {
153860
+ justify-content: center;
153861
+ align-items: center;
153862
+ gap: var(--chat-message-divider-gap);
153863
+ flex-direction: row;
153864
+ width: 100%;
153865
+ display: inline-flex;
153866
+ }
153867
+
153810
153868
  :host [part="text"] {
153811
153869
  flex-shrink: 0;
153812
153870
  }
@@ -153894,6 +153952,19 @@ function Zme() {
153894
153952
  display: flex;
153895
153953
  }
153896
153954
 
153955
+ :host [part="sticky"] {
153956
+ width: 100%;
153957
+ }
153958
+
153959
+ :host [part="root"] {
153960
+ justify-content: center;
153961
+ align-items: center;
153962
+ gap: var(--chat-message-divider-gap);
153963
+ flex-direction: row;
153964
+ width: 100%;
153965
+ display: inline-flex;
153966
+ }
153967
+
153897
153968
  :host [part="text"] {
153898
153969
  flex-shrink: 0;
153899
153970
  }
@@ -154205,6 +154276,7 @@ var t1 = function(e, t, n, r) {
154205
154276
  }, n1 = function(e, t) {
154206
154277
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
154207
154278
  }, r1 = class extends F(J(z(R(j)))) {
154279
+ _inheritance = zx(this, { context: G$ });
154208
154280
  _text;
154209
154281
  _icon;
154210
154282
  _src;
@@ -154232,6 +154304,18 @@ var t1 = function(e, t, n, r) {
154232
154304
  set src(e) {
154233
154305
  this._src !== e && (this._src = e, this.requestUpdate("src"));
154234
154306
  }
154307
+ get variant() {
154308
+ return this._inheritance.get("variant", super.variant);
154309
+ }
154310
+ set variant(e) {
154311
+ this._inheritance.markExplicit("variant"), super.variant = e;
154312
+ }
154313
+ get appearance() {
154314
+ return this._inheritance.get("appearance", super.appearance);
154315
+ }
154316
+ set appearance(e) {
154317
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
154318
+ }
154235
154319
  };
154236
154320
  t1([
154237
154321
  P({ type: String }),
@@ -154260,10 +154344,7 @@ t1([
154260
154344
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/ChatMessageElementTemplate.js
154261
154345
  function nhe(e) {
154262
154346
  return V`
154263
- <mosaik-stack part="root"
154264
- .dir="${e.dir}"
154265
- .orientation="${K.Horizontal}"
154266
- .reverse="${!e.reply}">
154347
+ <div part="root">
154267
154348
  <slot name="avatar"
154268
154349
  @slotchange="${(t) => e.onSlotChange(t)}"></slot>
154269
154350
  <div part="content">
@@ -154307,13 +154388,19 @@ function nhe(e) {
154307
154388
  `)}
154308
154389
  </slot>
154309
154390
  </div>
154391
+ <div part="reactions"
154392
+ ?hidden="${!DM(e, "has-reactions", e.hasSlotContent("reaction"))}">
154393
+ <slot name="reaction"></slot>
154394
+ </div>
154395
+ </div>
154396
+ <div part="actions"
154397
+ ?hidden="${!DM(e, "has-actions", e.hasSlotContent("actions"))}">
154398
+ <slot name="actions"></slot>
154310
154399
  </div>
154311
154400
  <slot name="attachment"></slot>
154312
154401
  </div>
154313
- </mosaik-stack>
154314
- <div part="reactions">
154315
- <slot name="reaction"></slot>
154316
154402
  </div>
154403
+
154317
154404
  `;
154318
154405
  }
154319
154406
  //#endregion
@@ -154384,7 +154471,11 @@ function rhe() {
154384
154471
  }
154385
154472
 
154386
154473
  :host [part="root"] {
154474
+ justify-content: stretch;
154475
+ align-items: stretch;
154387
154476
  gap: var(--chat-message-gap);
154477
+ flex-direction: row-reverse;
154478
+ display: flex;
154388
154479
  }
154389
154480
 
154390
154481
  :host [part="root"] [part="content"] {
@@ -154422,6 +154513,7 @@ function rhe() {
154422
154513
  border-top-right-radius: 0;
154423
154514
  flex-direction: column;
154424
154515
  display: flex;
154516
+ position: relative;
154425
154517
  }
154426
154518
 
154427
154519
  :host [part="root"] [part="content"] [part="message"] [part="header"] {
@@ -154453,10 +154545,22 @@ function rhe() {
154453
154545
  animation-delay: -.8s;
154454
154546
  }
154455
154547
 
154456
- :host [part="reactions"] {
154548
+ :host [part="root"] [part="content"] [part="message"] [part="reactions"] {
154457
154549
  height: 0;
154550
+ bottom: 0;
154551
+ left: unset;
154458
154552
  display: flex;
154459
- position: relative;
154553
+ position: absolute;
154554
+ right: 0;
154555
+ }
154556
+
154557
+ :host [part="root"] [part="content"] [part="actions"] {
154558
+ height: 0;
154559
+ bottom: 0;
154560
+ left: 0;
154561
+ right: unset;
154562
+ display: flex;
154563
+ position: absolute;
154460
154564
  }
154461
154565
 
154462
154566
  :host([reply]) {
@@ -154464,6 +154568,10 @@ function rhe() {
154464
154568
  margin-right: var(--chat-message-white-space);
154465
154569
  }
154466
154570
 
154571
+ :host([reply]) [part="root"] {
154572
+ flex-direction: row;
154573
+ }
154574
+
154467
154575
  :host([reply]) [part="root"] [part="content"] {
154468
154576
  align-items: flex-start;
154469
154577
  }
@@ -154473,6 +154581,20 @@ function rhe() {
154473
154581
  border-top-left-radius: 0;
154474
154582
  }
154475
154583
 
154584
+ :host([reply]) [part="root"] [part="reactions"] {
154585
+ right: unset;
154586
+ left: 0;
154587
+ }
154588
+
154589
+ :host([reply]) [part="root"] [part="actions"] {
154590
+ right: 0;
154591
+ left: unset;
154592
+ }
154593
+
154594
+ :host([has-reactions]), :host([has-actions]) {
154595
+ margin-bottom: calc(var(--chat-message-white-space) / 2);
154596
+ }
154597
+
154476
154598
  @keyframes wave {
154477
154599
  0%, 60%, 100% {
154478
154600
  transform: initial;
@@ -154553,7 +154675,11 @@ function ihe() {
154553
154675
  }
154554
154676
 
154555
154677
  :host [part="root"] {
154678
+ justify-content: stretch;
154679
+ align-items: stretch;
154556
154680
  gap: var(--chat-message-gap);
154681
+ flex-direction: row-reverse;
154682
+ display: flex;
154557
154683
  }
154558
154684
 
154559
154685
  :host [part="root"] [part="content"] {
@@ -154591,6 +154717,7 @@ function ihe() {
154591
154717
  border-top-right-radius: 0;
154592
154718
  flex-direction: column;
154593
154719
  display: flex;
154720
+ position: relative;
154594
154721
  }
154595
154722
 
154596
154723
  :host [part="root"] [part="content"] [part="message"] [part="header"] {
@@ -154622,10 +154749,22 @@ function ihe() {
154622
154749
  animation-delay: -.8s;
154623
154750
  }
154624
154751
 
154625
- :host [part="reactions"] {
154752
+ :host [part="root"] [part="content"] [part="message"] [part="reactions"] {
154626
154753
  height: 0;
154754
+ bottom: 0;
154755
+ left: unset;
154627
154756
  display: flex;
154628
- position: relative;
154757
+ position: absolute;
154758
+ right: 0;
154759
+ }
154760
+
154761
+ :host [part="root"] [part="content"] [part="actions"] {
154762
+ height: 0;
154763
+ bottom: 0;
154764
+ left: 0;
154765
+ right: unset;
154766
+ display: flex;
154767
+ position: absolute;
154629
154768
  }
154630
154769
 
154631
154770
  :host([reply]) {
@@ -154633,6 +154772,10 @@ function ihe() {
154633
154772
  margin-right: var(--chat-message-white-space);
154634
154773
  }
154635
154774
 
154775
+ :host([reply]) [part="root"] {
154776
+ flex-direction: row;
154777
+ }
154778
+
154636
154779
  :host([reply]) [part="root"] [part="content"] {
154637
154780
  align-items: flex-start;
154638
154781
  }
@@ -154642,6 +154785,20 @@ function ihe() {
154642
154785
  border-top-left-radius: 0;
154643
154786
  }
154644
154787
 
154788
+ :host([reply]) [part="root"] [part="reactions"] {
154789
+ right: unset;
154790
+ left: 0;
154791
+ }
154792
+
154793
+ :host([reply]) [part="root"] [part="actions"] {
154794
+ right: 0;
154795
+ left: unset;
154796
+ }
154797
+
154798
+ :host([has-reactions]), :host([has-actions]) {
154799
+ margin-bottom: calc(var(--chat-message-white-space) / 2);
154800
+ }
154801
+
154645
154802
  @keyframes wave {
154646
154803
  0%, 60%, 100% {
154647
154804
  transform: initial;
@@ -154797,7 +154954,11 @@ function ahe() {
154797
154954
  }
154798
154955
 
154799
154956
  :host [part="root"] {
154957
+ justify-content: stretch;
154958
+ align-items: stretch;
154800
154959
  gap: var(--chat-message-gap);
154960
+ flex-direction: row-reverse;
154961
+ display: flex;
154801
154962
  }
154802
154963
 
154803
154964
  :host [part="root"] [part="content"] {
@@ -154835,6 +154996,7 @@ function ahe() {
154835
154996
  border-top-right-radius: 0;
154836
154997
  flex-direction: column;
154837
154998
  display: flex;
154999
+ position: relative;
154838
155000
  }
154839
155001
 
154840
155002
  :host [part="root"] [part="content"] [part="message"] [part="header"] {
@@ -154866,10 +155028,22 @@ function ahe() {
154866
155028
  animation-delay: -.8s;
154867
155029
  }
154868
155030
 
154869
- :host [part="reactions"] {
155031
+ :host [part="root"] [part="content"] [part="message"] [part="reactions"] {
154870
155032
  height: 0;
155033
+ bottom: 0;
155034
+ left: unset;
154871
155035
  display: flex;
154872
- position: relative;
155036
+ position: absolute;
155037
+ right: 0;
155038
+ }
155039
+
155040
+ :host [part="root"] [part="content"] [part="actions"] {
155041
+ height: 0;
155042
+ bottom: 0;
155043
+ left: 0;
155044
+ right: unset;
155045
+ display: flex;
155046
+ position: absolute;
154873
155047
  }
154874
155048
 
154875
155049
  :host([reply]) {
@@ -154877,6 +155051,10 @@ function ahe() {
154877
155051
  margin-right: var(--chat-message-white-space);
154878
155052
  }
154879
155053
 
155054
+ :host([reply]) [part="root"] {
155055
+ flex-direction: row;
155056
+ }
155057
+
154880
155058
  :host([reply]) [part="root"] [part="content"] {
154881
155059
  align-items: flex-start;
154882
155060
  }
@@ -154886,6 +155064,20 @@ function ahe() {
154886
155064
  border-top-left-radius: 0;
154887
155065
  }
154888
155066
 
155067
+ :host([reply]) [part="root"] [part="reactions"] {
155068
+ right: unset;
155069
+ left: 0;
155070
+ }
155071
+
155072
+ :host([reply]) [part="root"] [part="actions"] {
155073
+ right: 0;
155074
+ left: unset;
155075
+ }
155076
+
155077
+ :host([has-reactions]), :host([has-actions]) {
155078
+ margin-bottom: calc(var(--chat-message-white-space) / 2);
155079
+ }
155080
+
154889
155081
  @keyframes wave {
154890
155082
  0%, 60%, 100% {
154891
155083
  transform: initial;
@@ -154950,30 +155142,19 @@ var i1 = function(e, t, n, r) {
154950
155142
  set at(e) {
154951
155143
  this._at !== e && (this._at = e, this.requestUpdate("at"));
154952
155144
  }
154953
- onSlotChange(e) {
154954
- let t = this.getSlotAssignmentsOf("avatar", r1);
154955
- this.hasUpdated && t.forEach((e) => {
154956
- e.variant = this.variant, e.appearance = this.appearance, e.disabled = this.disabled;
154957
- });
155145
+ get variant() {
155146
+ return this._inheritance.get("variant", super.variant);
154958
155147
  }
154959
- onVariantPropertyChanged(e, t) {
154960
- let n = this.getSlotAssignmentsOf("avatar", r1);
154961
- t && n.forEach((e) => {
154962
- e.variant = t;
154963
- });
155148
+ set variant(e) {
155149
+ this._inheritance.markExplicit("variant"), super.variant = e;
154964
155150
  }
154965
- onAppearancePropertyChanged(e, t) {
154966
- let n = this.getSlotAssignmentsOf("avatar", r1);
154967
- t && n.forEach((e) => {
154968
- e.appearance = t;
154969
- });
155151
+ get appearance() {
155152
+ return this._inheritance.get("appearance", super.appearance);
154970
155153
  }
154971
- onDisabledPropertyChanged(e, t) {
154972
- let n = this.getSlotAssignmentsOf("avatar", r1);
154973
- t !== void 0 && n.forEach((e) => {
154974
- e.disabled = t;
154975
- });
155154
+ set appearance(e) {
155155
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
154976
155156
  }
155157
+ onSlotChange(e) {}
154977
155158
  };
154978
155159
  i1([
154979
155160
  P({ type: String }),
@@ -154998,22 +155179,7 @@ i1([
154998
155179
  P({ type: String }),
154999
155180
  a1("design:type", String),
155000
155181
  a1("design:paramtypes", [String])
155001
- ], o1.prototype, "at", null), i1([
155002
- L("variant"),
155003
- a1("design:type", Function),
155004
- a1("design:paramtypes", [String, String]),
155005
- a1("design:returntype", void 0)
155006
- ], o1.prototype, "onVariantPropertyChanged", null), i1([
155007
- L("appearance"),
155008
- a1("design:type", Function),
155009
- a1("design:paramtypes", [String, String]),
155010
- a1("design:returntype", void 0)
155011
- ], o1.prototype, "onAppearancePropertyChanged", null), i1([
155012
- L("disabled"),
155013
- a1("design:type", Function),
155014
- a1("design:paramtypes", [Boolean, Boolean]),
155015
- a1("design:returntype", void 0)
155016
- ], o1.prototype, "onDisabledPropertyChanged", null), o1 = i1([H({
155182
+ ], o1.prototype, "at", null), o1 = i1([H({
155017
155183
  selector: "mosaik-chat-message",
155018
155184
  template: nhe,
155019
155185
  themes: {
@@ -155147,6 +155313,7 @@ function ohe() {
155147
155313
  padding-bottom: var(--chat-padding-bottom);
155148
155314
  padding-left: var(--chat-padding-left);
155149
155315
  gap: var(--chat-gap);
155316
+ height: 100%;
155150
155317
  overflow: overlay;
155151
155318
  flex-direction: column;
155152
155319
  align-items: stretch;
@@ -155285,6 +155452,7 @@ function she() {
155285
155452
  padding-bottom: var(--chat-padding-bottom);
155286
155453
  padding-left: var(--chat-padding-left);
155287
155454
  gap: var(--chat-gap);
155455
+ height: 100%;
155288
155456
  overflow: overlay;
155289
155457
  flex-direction: column;
155290
155458
  align-items: stretch;
@@ -155432,6 +155600,7 @@ function che() {
155432
155600
  padding-bottom: var(--chat-padding-bottom);
155433
155601
  padding-left: var(--chat-padding-left);
155434
155602
  gap: var(--chat-gap);
155603
+ height: 100%;
155435
155604
  overflow: overlay;
155436
155605
  flex-direction: column;
155437
155606
  align-items: stretch;
@@ -155481,18 +155650,18 @@ var c1 = function(e, t, n, r) {
155481
155650
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
155482
155651
  }, u1 = class extends F(Ek(J(z(Y(j))))) {
155483
155652
  _intl;
155484
- _provider = XS(this, {
155485
- context: G$,
155486
- values: () => ({
155487
- variant: this.variant,
155488
- appearance: this.appearance
155489
- })
155490
- });
155491
155653
  _scrollToEnd;
155492
155654
  _begin;
155493
155655
  _inputElement;
155494
155656
  constructor() {
155495
- super(), this._intl = new TI(this, { factory: () => new s1() }), this._scrollToEnd = !1, this._begin = L$.Start;
155657
+ super(), this._intl = new TI(this, { factory: () => new s1() }), XS(this, {
155658
+ context: G$,
155659
+ values: () => ({
155660
+ variant: this.variant,
155661
+ appearance: this.appearance,
155662
+ intl: this.intl
155663
+ })
155664
+ }), this._scrollToEnd = !1, this._begin = L$.Start;
155496
155665
  }
155497
155666
  static get is() {
155498
155667
  return "mosaik-chat";
@@ -155576,11 +155745,7 @@ function lhe(e) {
155576
155745
  return V`
155577
155746
  ${U(e.isSticky, () => V`
155578
155747
  <mosaik-sticky>
155579
- <mosaik-stack .dir="${e.dir}"
155580
- .verticalAlignment="${fx.Center}"
155581
- .horizontalAlignment="${dx.Center}"
155582
- .orientation="${e.orientation}"
155583
- .gap="${"8px"}">
155748
+ <div part="root">
155584
155749
  ${U(e.icon, () => V`
155585
155750
  <mosaik-icon part="icon"
155586
155751
  .dir="${e.dir}"
@@ -155595,16 +155760,13 @@ function lhe(e) {
155595
155760
  .alignment="${Bb.Center}"
155596
155761
  .wrap="${!0}"></mosaik-text>
155597
155762
  </slot>
155598
- </mosaik-stack>
155763
+ </div>
155599
155764
  </mosaik-sticky>
155600
155765
  `, () => V`
155601
- <mosaik-stack .dir="${e.dir}"
155602
- .verticalAlignment="${fx.Center}"
155603
- .horizontalAlignment="${dx.Center}"
155604
- .orientation="${e.orientation}"
155605
- .gap="${"8px"}">
155766
+ <div part="root">
155606
155767
  ${U(e.icon, () => V`
155607
- <mosaik-icon .dir="${e.dir}"
155768
+ <mosaik-icon part="icon"
155769
+ .dir="${e.dir}"
155608
155770
  .size="${G.Tiny}"
155609
155771
  .data="${e.icon}"></mosaik-icon>
155610
155772
  `)}
@@ -155616,14 +155778,120 @@ function lhe(e) {
155616
155778
  .alignment="${Bb.Center}"
155617
155779
  .wrap="${!0}"></mosaik-text>
155618
155780
  </slot>
155619
- </mosaik-stack>
155781
+ </div>
155620
155782
  `)}
155621
155783
  `;
155622
155784
  }
155623
155785
  //#endregion
155624
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/Themes/ChatMarkerElement.Joy.js
155786
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/Themes/ChatMarkerElement.Cosmopolitan.js
155625
155787
  function uhe() {
155626
155788
  return B`
155789
+ :host {
155790
+ --chat-marker-background-color: unset;
155791
+ --chat-marker-border-color: unset;
155792
+ --chat-marker-border-radius: unset;
155793
+ --chat-marker-border-style: unset;
155794
+ --chat-marker-border-width: unset;
155795
+ --chat-marker-font-family: unset;
155796
+ --chat-marker-font-letter-spacing: unset;
155797
+ --chat-marker-font-line-height: unset;
155798
+ --chat-marker-font-size: unset;
155799
+ --chat-marker-font-text-decoration: unset;
155800
+ --chat-marker-font-text-transform: unset;
155801
+ --chat-marker-font-weight: unset;
155802
+ --chat-marker-foreground-color: unset;
155803
+ --chat-marker-gap: unset;
155804
+ --chat-marker-padding-bottom: unset;
155805
+ --chat-marker-padding-left: unset;
155806
+ --chat-marker-padding-right: unset;
155807
+ --chat-marker-padding-top: unset;
155808
+ --chat-marker-shadow: unset unset unset unset unset;
155809
+ --chat-marker-shadow-blur: unset;
155810
+ --chat-marker-shadow-color: unset;
155811
+ --chat-marker-shadow-offset-x: unset;
155812
+ --chat-marker-shadow-offset-y: unset;
155813
+ --chat-marker-shadow-spread: unset;
155814
+ --chat-marker-transition-duration: unset;
155815
+ --chat-marker-transition-mode: unset;
155816
+ --chat-marker-transition-property: unset;
155817
+ --chat-marker-translate: none;
155818
+ }
155819
+
155820
+ @media screen and (prefers-reduced-motion: reduce) {
155821
+ :host {
155822
+ transition-duration: .01ms;
155823
+ }
155824
+ }
155825
+
155826
+ :host {
155827
+ box-sizing: border-box;
155828
+ display: block;
155829
+ position: relative;
155830
+ }
155831
+
155832
+ :host *, :host :before, :host :after {
155833
+ box-sizing: border-box;
155834
+ background-repeat: no-repeat;
155835
+ }
155836
+
155837
+ :host :before, :host :after {
155838
+ text-decoration: inherit;
155839
+ vertical-align: inherit;
155840
+ }
155841
+
155842
+ :host([hidden]) {
155843
+ display: none !important;
155844
+ }
155845
+
155846
+ :host {
155847
+ font-family: var(--chat-marker-font-family);
155848
+ font-size: var(--chat-marker-font-size);
155849
+ line-height: var(--chat-marker-font-line-height);
155850
+ font-weight: var(--chat-marker-font-weight);
155851
+ letter-spacing: var(--chat-marker-font-letter-spacing);
155852
+ -webkit-text-decoration: var(--chat-marker-font-text-decoration);
155853
+ text-decoration: var(--chat-marker-font-text-decoration);
155854
+ text-transform: var(--chat-marker-font-text-transform);
155855
+ border-width: var(--chat-marker-border-width);
155856
+ border-radius: var(--chat-marker-border-radius);
155857
+ border-style: var(--chat-marker-border-style);
155858
+ background-color: var(--chat-marker-background-color);
155859
+ border-color: var(--chat-marker-border-color);
155860
+ color: var(--chat-marker-foreground-color);
155861
+ padding-top: var(--chat-marker-padding-top);
155862
+ padding-right: var(--chat-marker-padding-right);
155863
+ padding-bottom: var(--chat-marker-padding-bottom);
155864
+ padding-left: var(--chat-marker-padding-left);
155865
+ }
155866
+
155867
+ :host [part="root"] {
155868
+ justify-content: center;
155869
+ align-items: center;
155870
+ gap: var(--chat-marker-gap);
155871
+ flex-direction: column;
155872
+ display: inline-flex;
155873
+ }
155874
+
155875
+ :host [part="text"] {
155876
+ font-family: inherit;
155877
+ font-size: inherit;
155878
+ line-height: inherit;
155879
+ font-weight: inherit;
155880
+ letter-spacing: inherit;
155881
+ text-decoration: inherit;
155882
+ text-transform: inherit;
155883
+ }
155884
+
155885
+ :host [part="icon"] {
155886
+ flex-shrink: 0;
155887
+ }
155888
+
155889
+ `;
155890
+ }
155891
+ //#endregion
155892
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/Themes/ChatMarkerElement.Joy.js
155893
+ function dhe() {
155894
+ return B`
155627
155895
  :host {
155628
155896
  --chat-marker-background-color: var(--joy-scheme-background);
155629
155897
  --chat-marker-border-color: var(--joy-scheme-highlight);
@@ -155700,7 +155968,14 @@ function uhe() {
155700
155968
  padding-right: var(--chat-marker-padding-right);
155701
155969
  padding-bottom: var(--chat-marker-padding-bottom);
155702
155970
  padding-left: var(--chat-marker-padding-left);
155971
+ }
155972
+
155973
+ :host [part="root"] {
155974
+ justify-content: center;
155975
+ align-items: center;
155703
155976
  gap: var(--chat-marker-gap);
155977
+ flex-direction: column;
155978
+ display: inline-flex;
155704
155979
  }
155705
155980
 
155706
155981
  :host [part="text"] {
@@ -155963,7 +156238,7 @@ function uhe() {
155963
156238
  }
155964
156239
  //#endregion
155965
156240
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/Themes/ChatMarkerElement.Memphis.js
155966
- function dhe() {
156241
+ function fhe() {
155967
156242
  return B`
155968
156243
  :host {
155969
156244
  --chat-marker-background-color: var(--memphis-scheme-background);
@@ -156041,106 +156316,14 @@ function dhe() {
156041
156316
  padding-right: var(--chat-marker-padding-right);
156042
156317
  padding-bottom: var(--chat-marker-padding-bottom);
156043
156318
  padding-left: var(--chat-marker-padding-left);
156044
- gap: var(--chat-marker-gap);
156045
- }
156046
-
156047
- :host [part="text"] {
156048
- font-family: inherit;
156049
- font-size: inherit;
156050
- line-height: inherit;
156051
- font-weight: inherit;
156052
- letter-spacing: inherit;
156053
- text-decoration: inherit;
156054
- text-transform: inherit;
156055
- }
156056
-
156057
- :host [part="icon"] {
156058
- flex-shrink: 0;
156059
- }
156060
-
156061
- `;
156062
- }
156063
- //#endregion
156064
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/Themes/ChatMarkerElement.Cosmopolitan.js
156065
- function fhe() {
156066
- return B`
156067
- :host {
156068
- --chat-marker-background-color: unset;
156069
- --chat-marker-border-color: unset;
156070
- --chat-marker-border-radius: unset;
156071
- --chat-marker-border-style: unset;
156072
- --chat-marker-border-width: unset;
156073
- --chat-marker-font-family: unset;
156074
- --chat-marker-font-letter-spacing: unset;
156075
- --chat-marker-font-line-height: unset;
156076
- --chat-marker-font-size: unset;
156077
- --chat-marker-font-text-decoration: unset;
156078
- --chat-marker-font-text-transform: unset;
156079
- --chat-marker-font-weight: unset;
156080
- --chat-marker-foreground-color: unset;
156081
- --chat-marker-gap: unset;
156082
- --chat-marker-padding-bottom: unset;
156083
- --chat-marker-padding-left: unset;
156084
- --chat-marker-padding-right: unset;
156085
- --chat-marker-padding-top: unset;
156086
- --chat-marker-shadow: unset unset unset unset unset;
156087
- --chat-marker-shadow-blur: unset;
156088
- --chat-marker-shadow-color: unset;
156089
- --chat-marker-shadow-offset-x: unset;
156090
- --chat-marker-shadow-offset-y: unset;
156091
- --chat-marker-shadow-spread: unset;
156092
- --chat-marker-transition-duration: unset;
156093
- --chat-marker-transition-mode: unset;
156094
- --chat-marker-transition-property: unset;
156095
- --chat-marker-translate: none;
156096
156319
  }
156097
156320
 
156098
- @media screen and (prefers-reduced-motion: reduce) {
156099
- :host {
156100
- transition-duration: .01ms;
156101
- }
156102
- }
156103
-
156104
- :host {
156105
- box-sizing: border-box;
156106
- display: block;
156107
- position: relative;
156108
- }
156109
-
156110
- :host *, :host :before, :host :after {
156111
- box-sizing: border-box;
156112
- background-repeat: no-repeat;
156113
- }
156114
-
156115
- :host :before, :host :after {
156116
- text-decoration: inherit;
156117
- vertical-align: inherit;
156118
- }
156119
-
156120
- :host([hidden]) {
156121
- display: none !important;
156122
- }
156123
-
156124
- :host {
156125
- font-family: var(--chat-marker-font-family);
156126
- font-size: var(--chat-marker-font-size);
156127
- line-height: var(--chat-marker-font-line-height);
156128
- font-weight: var(--chat-marker-font-weight);
156129
- letter-spacing: var(--chat-marker-font-letter-spacing);
156130
- -webkit-text-decoration: var(--chat-marker-font-text-decoration);
156131
- text-decoration: var(--chat-marker-font-text-decoration);
156132
- text-transform: var(--chat-marker-font-text-transform);
156133
- border-width: var(--chat-marker-border-width);
156134
- border-radius: var(--chat-marker-border-radius);
156135
- border-style: var(--chat-marker-border-style);
156136
- background-color: var(--chat-marker-background-color);
156137
- border-color: var(--chat-marker-border-color);
156138
- color: var(--chat-marker-foreground-color);
156139
- padding-top: var(--chat-marker-padding-top);
156140
- padding-right: var(--chat-marker-padding-right);
156141
- padding-bottom: var(--chat-marker-padding-bottom);
156142
- padding-left: var(--chat-marker-padding-left);
156321
+ :host [part="root"] {
156322
+ justify-content: center;
156323
+ align-items: center;
156143
156324
  gap: var(--chat-marker-gap);
156325
+ flex-direction: column;
156326
+ display: inline-flex;
156144
156327
  }
156145
156328
 
156146
156329
  :host [part="text"] {
@@ -156169,6 +156352,7 @@ var d1 = function(e, t, n, r) {
156169
156352
  }, f1 = function(e, t) {
156170
156353
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
156171
156354
  }, p1 = class extends F(z(Ax(hx(IU(Rb(J(j))))))) {
156355
+ _inheritance = zx(this, { context: G$ });
156172
156356
  _text;
156173
156357
  _icon;
156174
156358
  constructor() {
@@ -156189,6 +156373,18 @@ var d1 = function(e, t, n, r) {
156189
156373
  set icon(e) {
156190
156374
  this._icon !== e && (this._icon = e, this.requestUpdate("icon"));
156191
156375
  }
156376
+ get variant() {
156377
+ return this._inheritance.get("variant", super.variant);
156378
+ }
156379
+ set variant(e) {
156380
+ this._inheritance.markExplicit("variant"), super.variant = e;
156381
+ }
156382
+ get appearance() {
156383
+ return this._inheritance.get("appearance", super.appearance);
156384
+ }
156385
+ set appearance(e) {
156386
+ this._inheritance.markExplicit("appearance"), super.appearance = e;
156387
+ }
156192
156388
  };
156193
156389
  d1([
156194
156390
  P({ type: String }),
@@ -156202,9 +156398,9 @@ d1([
156202
156398
  selector: "mosaik-chat-marker",
156203
156399
  template: lhe,
156204
156400
  themes: {
156205
- joy: uhe,
156206
- memphis: dhe,
156207
- cosmopolitan: fhe
156401
+ joy: dhe,
156402
+ memphis: fhe,
156403
+ cosmopolitan: uhe
156208
156404
  },
156209
156405
  host: {
156210
156406
  role: "listitem",
@@ -156221,13 +156417,18 @@ d1([
156221
156417
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/ChatMessageReactionElementTemplate.js
156222
156418
  function phe(e) {
156223
156419
  return V`
156224
- <mosaik-button .dir="${e.dir}"
156420
+ <mosaik-button part="button"
156421
+ .dir="${e.dir}"
156225
156422
  .lang="${e.lang}"
156226
156423
  .disabled="${e.disabled}">
156227
- <mosaik-emoji part="emoji"
156228
- .emoji="${e.emoji}"></mosaik-emoji>
156229
- <mosaik-text part="count"
156230
- ?hidden="${e.count <= 0}">${e.count}</mosaik-text>
156424
+ <mosaik-emoji slot="icon"
156425
+ part="emoji"
156426
+ .emoji="${e.emoji}"
156427
+ .size="${"tiny"}"></mosaik-emoji>
156428
+ <mosaik-text slot="label"
156429
+ part="count"
156430
+ .text="${String(e.count)}"
156431
+ ?hidden="${e.count <= 1}"></mosaik-text>
156231
156432
  </mosaik-button>
156232
156433
  `;
156233
156434
  }
@@ -156311,6 +156512,10 @@ function mhe() {
156311
156512
  display: inline-flex;
156312
156513
  }
156313
156514
 
156515
+ :host [part="button"] {
156516
+ --button-min-width: auto;
156517
+ }
156518
+
156314
156519
  :host [part="emoji"], :host [part="count"] {
156315
156520
  flex-shrink: 0;
156316
156521
  }
@@ -156331,10 +156536,10 @@ function hhe() {
156331
156536
  --chat-message-reaction-font-weight: var(--joy-typography-caption-font-weight);
156332
156537
  --chat-message-reaction-foreground-color: var(--joy-scheme-foreground);
156333
156538
  --chat-message-reaction-gap: calc(var(--joy-layout-space) / 2);
156334
- --chat-message-reaction-padding-bottom: calc(var(--joy-layout-space) / 2);
156539
+ --chat-message-reaction-padding-bottom: var(--joy-layout-space);
156335
156540
  --chat-message-reaction-padding-left: var(--joy-layout-space);
156336
156541
  --chat-message-reaction-padding-right: var(--joy-layout-space);
156337
- --chat-message-reaction-padding-top: calc(var(--joy-layout-space) / 2);
156542
+ --chat-message-reaction-padding-top: var(--joy-layout-space);
156338
156543
  --chat-message-reaction-shadow: unset unset unset unset unset;
156339
156544
  --chat-message-reaction-shadow-blur: unset;
156340
156545
  --chat-message-reaction-shadow-color: unset;
@@ -156397,6 +156602,10 @@ function hhe() {
156397
156602
  display: inline-flex;
156398
156603
  }
156399
156604
 
156605
+ :host [part="button"] {
156606
+ --button-min-width: auto;
156607
+ }
156608
+
156400
156609
  :host [part="emoji"], :host [part="count"] {
156401
156610
  flex-shrink: 0;
156402
156611
  }
@@ -156483,6 +156692,10 @@ function ghe() {
156483
156692
  display: inline-flex;
156484
156693
  }
156485
156694
 
156695
+ :host [part="button"] {
156696
+ --button-min-width: auto;
156697
+ }
156698
+
156486
156699
  :host [part="emoji"], :host [part="count"] {
156487
156700
  flex-shrink: 0;
156488
156701
  }
@@ -156840,7 +157053,7 @@ function xhe() {
156840
157053
  function She() {
156841
157054
  return B`
156842
157055
  :host {
156843
- --emoji-background-color: var(--joy-scheme-highlight);
157056
+ --emoji-background-color: unset;
156844
157057
  --emoji-font-family: unset;
156845
157058
  --emoji-font-letter-spacing: unset;
156846
157059
  --emoji-font-line-height: unset;
@@ -224541,7 +224754,7 @@ function yEe(e) {
224541
224754
  <mosaik-progress-ring part="symbol"
224542
224755
  .radius="${"26px"}"
224543
224756
  .isIndeterminate="${!0}"></mosaik-progress-ring>
224544
- <mosaik-stack .orientation="${K.Vertical}">
224757
+ <div part="root">
224545
224758
  ${U(e.header, () => V`
224546
224759
  <mosaik-text part="header"
224547
224760
  .readonly="${!0}"
@@ -224559,11 +224772,10 @@ function yEe(e) {
224559
224772
  .formatter="${e.formatter}"></mosaik-text>
224560
224773
  `)}
224561
224774
  <slot></slot>
224562
- </mosaik-stack>
224563
- <mosaik-stack part="innerStack" .orientation="${K.Horizontal}"
224564
- ?hidden="${!e.hasSlotContent("actions")}">
224775
+ </div>
224776
+ <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
224565
224777
  <slot name="actions"></slot>
224566
- </mosaik-stack>
224778
+ </div>
224567
224779
  `;
224568
224780
  }
224569
224781
  //#endregion
@@ -224673,8 +224885,17 @@ function bEe() {
224673
224885
  text-transform: var(--busy-state-content-font-text-transform);
224674
224886
  }
224675
224887
 
224676
- :host [part="innerStack"] {
224677
- --stack-gap: var(--busy-state-gap);
224888
+ :host [part="root"] {
224889
+ flex-direction: column;
224890
+ align-items: center;
224891
+ display: flex;
224892
+ }
224893
+
224894
+ :host [part="actions"] {
224895
+ align-items: center;
224896
+ gap: var(--busy-state-gap);
224897
+ flex-direction: row;
224898
+ display: flex;
224678
224899
  }
224679
224900
 
224680
224901
  `;
@@ -224786,8 +225007,17 @@ function xEe() {
224786
225007
  text-transform: var(--busy-state-content-font-text-transform);
224787
225008
  }
224788
225009
 
224789
- :host [part="innerStack"] {
224790
- --stack-gap: var(--busy-state-gap);
225010
+ :host [part="root"] {
225011
+ flex-direction: column;
225012
+ align-items: center;
225013
+ display: flex;
225014
+ }
225015
+
225016
+ :host [part="actions"] {
225017
+ align-items: center;
225018
+ gap: var(--busy-state-gap);
225019
+ flex-direction: row;
225020
+ display: flex;
224791
225021
  }
224792
225022
 
224793
225023
  :host [part="header"] {
@@ -224919,8 +225149,17 @@ function SEe() {
224919
225149
  text-transform: var(--busy-state-content-font-text-transform);
224920
225150
  }
224921
225151
 
224922
- :host [part="innerStack"] {
224923
- --stack-gap: var(--busy-state-gap);
225152
+ :host [part="root"] {
225153
+ flex-direction: column;
225154
+ align-items: center;
225155
+ display: flex;
225156
+ }
225157
+
225158
+ :host [part="actions"] {
225159
+ align-items: center;
225160
+ gap: var(--busy-state-gap);
225161
+ flex-direction: row;
225162
+ display: flex;
224924
225163
  }
224925
225164
 
224926
225165
  :host [part="header"] {
@@ -224992,11 +225231,7 @@ q7([
224992
225231
  memphis: SEe,
224993
225232
  cosmopolitan: bEe
224994
225233
  },
224995
- imports: [
224996
- NS,
224997
- W,
224998
- sS
224999
- ]
225234
+ imports: [NS, W]
225000
225235
  }), J7("design:paramtypes", [])], Y7);
225001
225236
  //#endregion
225002
225237
  //#region ../mosaik-elements-foundation/dist/Controls/Components/States/Error/ErrorStateElementTemplate.js
@@ -225006,7 +225241,7 @@ function CEe(e) {
225006
225241
  .size="${G.Giant}"
225007
225242
  .data="${e.icon.trim().length > 0 ? e.icon : X.errorCircle}"
225008
225243
  .variant="${ib.Danger}"></mosaik-icon>
225009
- <mosaik-stack .orientation="${K.Vertical}">
225244
+ <div part="root">
225010
225245
  ${U(e.header, () => V`
225011
225246
  <mosaik-text part="header"
225012
225247
  .readonly="${!0}"
@@ -225032,11 +225267,10 @@ function CEe(e) {
225032
225267
  .formatter="${e.formatter}"></mosaik-text>
225033
225268
  `)}
225034
225269
  <slot></slot>
225035
- </mosaik-stack>
225036
- <mosaik-stack part="innerStack" .orientation="${K.Horizontal}"
225037
- ?hidden="${!e.hasSlotContent("actions")}">
225270
+ </div>
225271
+ <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
225038
225272
  <slot name="actions"></slot>
225039
- </mosaik-stack>
225273
+ </div>
225040
225274
  `;
225041
225275
  }
225042
225276
  //#endregion
@@ -225141,8 +225375,17 @@ function wEe() {
225141
225375
  text-transform: var(--error-state-content-font-text-transform);
225142
225376
  }
225143
225377
 
225144
- :host [part="innerStack"] {
225145
- --stack-gap: var(--error-state-gap);
225378
+ :host [part="root"] {
225379
+ flex-direction: column;
225380
+ align-items: center;
225381
+ display: flex;
225382
+ }
225383
+
225384
+ :host [part="actions"] {
225385
+ align-items: center;
225386
+ gap: var(--error-state-gap);
225387
+ flex-direction: row;
225388
+ display: flex;
225146
225389
  }
225147
225390
 
225148
225391
  `;
@@ -225248,8 +225491,17 @@ function TEe() {
225248
225491
  text-transform: var(--error-state-content-font-text-transform);
225249
225492
  }
225250
225493
 
225251
- :host [part="innerStack"] {
225252
- --stack-gap: var(--error-state-gap);
225494
+ :host [part="root"] {
225495
+ flex-direction: column;
225496
+ align-items: center;
225497
+ display: flex;
225498
+ }
225499
+
225500
+ :host [part="actions"] {
225501
+ align-items: center;
225502
+ gap: var(--error-state-gap);
225503
+ flex-direction: row;
225504
+ display: flex;
225253
225505
  }
225254
225506
 
225255
225507
  :host [part="header"] {
@@ -225376,8 +225628,17 @@ function EEe() {
225376
225628
  text-transform: var(--error-state-content-font-text-transform);
225377
225629
  }
225378
225630
 
225379
- :host [part="innerStack"] {
225380
- --stack-gap: var(--error-state-gap);
225631
+ :host [part="root"] {
225632
+ flex-direction: column;
225633
+ align-items: center;
225634
+ display: flex;
225635
+ }
225636
+
225637
+ :host [part="actions"] {
225638
+ align-items: center;
225639
+ gap: var(--error-state-gap);
225640
+ flex-direction: row;
225641
+ display: flex;
225381
225642
  }
225382
225643
 
225383
225644
  :host [part="header"] {
@@ -225460,11 +225721,7 @@ X7([
225460
225721
  memphis: EEe,
225461
225722
  cosmopolitan: wEe
225462
225723
  },
225463
- imports: [
225464
- _S,
225465
- W,
225466
- sS
225467
- ]
225724
+ imports: [_S, W]
225468
225725
  }), Z7("design:paramtypes", [])], Q7);
225469
225726
  //#endregion
225470
225727
  //#region ../mosaik-elements-foundation/dist/Controls/Components/States/Success/SuccessStateElementTemplate.js
@@ -225474,7 +225731,7 @@ function DEe(e) {
225474
225731
  .size="${G.Giant}"
225475
225732
  .data="${e.icon.trim().length > 0 ? e.icon : X.successCircle}"
225476
225733
  .variant="${ib.Success}"></mosaik-icon>
225477
- <mosaik-stack .orientation="${K.Vertical}">
225734
+ <div part="root">
225478
225735
  ${U(e.header, () => V`
225479
225736
  <mosaik-text part="header"
225480
225737
  .readonly="${!0}"
@@ -225492,11 +225749,10 @@ function DEe(e) {
225492
225749
  .formatter="${e.formatter}"></mosaik-text>
225493
225750
  `)}
225494
225751
  <slot></slot>
225495
- </mosaik-stack>
225496
- <mosaik-stack part="innerStack" .orientation="${K.Horizontal}"
225497
- ?hidden="${!e.hasSlotContent("actions")}">
225752
+ </div>
225753
+ <div part="actions" ?hidden="${!e.hasSlotContent("actions")}">
225498
225754
  <slot name="actions"></slot>
225499
- </mosaik-stack>
225755
+ </div>
225500
225756
  `;
225501
225757
  }
225502
225758
  //#endregion
@@ -225601,8 +225857,17 @@ function OEe() {
225601
225857
  text-transform: var(--success-state-content-font-text-transform);
225602
225858
  }
225603
225859
 
225604
- :host [part="innerStack"] {
225605
- --stack-gap: var(--success-state-gap);
225860
+ :host [part="root"] {
225861
+ flex-direction: column;
225862
+ align-items: center;
225863
+ display: flex;
225864
+ }
225865
+
225866
+ :host [part="actions"] {
225867
+ align-items: center;
225868
+ gap: var(--success-state-gap);
225869
+ flex-direction: row;
225870
+ display: flex;
225606
225871
  }
225607
225872
 
225608
225873
  `;
@@ -225708,8 +225973,17 @@ function kEe() {
225708
225973
  text-transform: var(--success-state-content-font-text-transform);
225709
225974
  }
225710
225975
 
225711
- :host [part="innerStack"] {
225712
- --stack-gap: var(--success-state-gap);
225976
+ :host [part="root"] {
225977
+ flex-direction: column;
225978
+ align-items: center;
225979
+ display: flex;
225980
+ }
225981
+
225982
+ :host [part="actions"] {
225983
+ align-items: center;
225984
+ gap: var(--success-state-gap);
225985
+ flex-direction: row;
225986
+ display: flex;
225713
225987
  }
225714
225988
 
225715
225989
  :host [part="header"] {
@@ -225836,8 +226110,17 @@ function AEe() {
225836
226110
  text-transform: var(--success-state-content-font-text-transform);
225837
226111
  }
225838
226112
 
225839
- :host [part="innerStack"] {
225840
- --stack-gap: var(--success-state-gap);
226113
+ :host [part="root"] {
226114
+ flex-direction: column;
226115
+ align-items: center;
226116
+ display: flex;
226117
+ }
226118
+
226119
+ :host [part="actions"] {
226120
+ align-items: center;
226121
+ gap: var(--success-state-gap);
226122
+ flex-direction: row;
226123
+ display: flex;
225841
226124
  }
225842
226125
 
225843
226126
  :host [part="header"] {
@@ -225909,11 +226192,7 @@ $7([
225909
226192
  memphis: AEe,
225910
226193
  cosmopolitan: OEe
225911
226194
  },
225912
- imports: [
225913
- _S,
225914
- W,
225915
- sS
225916
- ]
226195
+ imports: [_S, W]
225917
226196
  }), e9("design:paramtypes", [])], t9);
225918
226197
  //#endregion
225919
226198
  //#region ../mosaik-elements-foundation/dist/Accessability/Platform.js