@breadstone/mosaik-elements-svelte 0.1.3 → 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.
- package/CHANGELOG.md +4 -0
- package/index.mjs +124 -17
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## 0.1.4 (2026-05-29)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
1
5
|
## 0.1.3 (2026-05-29)
|
|
2
6
|
|
|
3
7
|
This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
|
package/index.mjs
CHANGED
|
@@ -154388,13 +154388,19 @@ function nhe(e) {
|
|
|
154388
154388
|
`)}
|
|
154389
154389
|
</slot>
|
|
154390
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>
|
|
154391
154399
|
</div>
|
|
154392
154400
|
<slot name="attachment"></slot>
|
|
154393
154401
|
</div>
|
|
154394
154402
|
</div>
|
|
154395
|
-
|
|
154396
|
-
<slot name="reaction"></slot>
|
|
154397
|
-
</div>
|
|
154403
|
+
|
|
154398
154404
|
`;
|
|
154399
154405
|
}
|
|
154400
154406
|
//#endregion
|
|
@@ -154507,6 +154513,7 @@ function rhe() {
|
|
|
154507
154513
|
border-top-right-radius: 0;
|
|
154508
154514
|
flex-direction: column;
|
|
154509
154515
|
display: flex;
|
|
154516
|
+
position: relative;
|
|
154510
154517
|
}
|
|
154511
154518
|
|
|
154512
154519
|
:host [part="root"] [part="content"] [part="message"] [part="header"] {
|
|
@@ -154538,10 +154545,22 @@ function rhe() {
|
|
|
154538
154545
|
animation-delay: -.8s;
|
|
154539
154546
|
}
|
|
154540
154547
|
|
|
154541
|
-
:host [part="reactions"] {
|
|
154548
|
+
:host [part="root"] [part="content"] [part="message"] [part="reactions"] {
|
|
154542
154549
|
height: 0;
|
|
154550
|
+
bottom: 0;
|
|
154551
|
+
left: unset;
|
|
154543
154552
|
display: flex;
|
|
154544
|
-
position:
|
|
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;
|
|
154545
154564
|
}
|
|
154546
154565
|
|
|
154547
154566
|
:host([reply]) {
|
|
@@ -154562,6 +154581,20 @@ function rhe() {
|
|
|
154562
154581
|
border-top-left-radius: 0;
|
|
154563
154582
|
}
|
|
154564
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
|
+
|
|
154565
154598
|
@keyframes wave {
|
|
154566
154599
|
0%, 60%, 100% {
|
|
154567
154600
|
transform: initial;
|
|
@@ -154684,6 +154717,7 @@ function ihe() {
|
|
|
154684
154717
|
border-top-right-radius: 0;
|
|
154685
154718
|
flex-direction: column;
|
|
154686
154719
|
display: flex;
|
|
154720
|
+
position: relative;
|
|
154687
154721
|
}
|
|
154688
154722
|
|
|
154689
154723
|
:host [part="root"] [part="content"] [part="message"] [part="header"] {
|
|
@@ -154715,10 +154749,22 @@ function ihe() {
|
|
|
154715
154749
|
animation-delay: -.8s;
|
|
154716
154750
|
}
|
|
154717
154751
|
|
|
154718
|
-
:host [part="reactions"] {
|
|
154752
|
+
:host [part="root"] [part="content"] [part="message"] [part="reactions"] {
|
|
154719
154753
|
height: 0;
|
|
154754
|
+
bottom: 0;
|
|
154755
|
+
left: unset;
|
|
154720
154756
|
display: flex;
|
|
154721
|
-
position:
|
|
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;
|
|
154722
154768
|
}
|
|
154723
154769
|
|
|
154724
154770
|
:host([reply]) {
|
|
@@ -154739,6 +154785,20 @@ function ihe() {
|
|
|
154739
154785
|
border-top-left-radius: 0;
|
|
154740
154786
|
}
|
|
154741
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
|
+
|
|
154742
154802
|
@keyframes wave {
|
|
154743
154803
|
0%, 60%, 100% {
|
|
154744
154804
|
transform: initial;
|
|
@@ -154936,6 +154996,7 @@ function ahe() {
|
|
|
154936
154996
|
border-top-right-radius: 0;
|
|
154937
154997
|
flex-direction: column;
|
|
154938
154998
|
display: flex;
|
|
154999
|
+
position: relative;
|
|
154939
155000
|
}
|
|
154940
155001
|
|
|
154941
155002
|
:host [part="root"] [part="content"] [part="message"] [part="header"] {
|
|
@@ -154967,10 +155028,22 @@ function ahe() {
|
|
|
154967
155028
|
animation-delay: -.8s;
|
|
154968
155029
|
}
|
|
154969
155030
|
|
|
154970
|
-
:host [part="reactions"] {
|
|
155031
|
+
:host [part="root"] [part="content"] [part="message"] [part="reactions"] {
|
|
154971
155032
|
height: 0;
|
|
155033
|
+
bottom: 0;
|
|
155034
|
+
left: unset;
|
|
154972
155035
|
display: flex;
|
|
154973
|
-
position:
|
|
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;
|
|
154974
155047
|
}
|
|
154975
155048
|
|
|
154976
155049
|
:host([reply]) {
|
|
@@ -154991,6 +155064,20 @@ function ahe() {
|
|
|
154991
155064
|
border-top-left-radius: 0;
|
|
154992
155065
|
}
|
|
154993
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
|
+
|
|
154994
155081
|
@keyframes wave {
|
|
154995
155082
|
0%, 60%, 100% {
|
|
154996
155083
|
transform: initial;
|
|
@@ -155226,6 +155313,7 @@ function ohe() {
|
|
|
155226
155313
|
padding-bottom: var(--chat-padding-bottom);
|
|
155227
155314
|
padding-left: var(--chat-padding-left);
|
|
155228
155315
|
gap: var(--chat-gap);
|
|
155316
|
+
height: 100%;
|
|
155229
155317
|
overflow: overlay;
|
|
155230
155318
|
flex-direction: column;
|
|
155231
155319
|
align-items: stretch;
|
|
@@ -155364,6 +155452,7 @@ function she() {
|
|
|
155364
155452
|
padding-bottom: var(--chat-padding-bottom);
|
|
155365
155453
|
padding-left: var(--chat-padding-left);
|
|
155366
155454
|
gap: var(--chat-gap);
|
|
155455
|
+
height: 100%;
|
|
155367
155456
|
overflow: overlay;
|
|
155368
155457
|
flex-direction: column;
|
|
155369
155458
|
align-items: stretch;
|
|
@@ -155511,6 +155600,7 @@ function che() {
|
|
|
155511
155600
|
padding-bottom: var(--chat-padding-bottom);
|
|
155512
155601
|
padding-left: var(--chat-padding-left);
|
|
155513
155602
|
gap: var(--chat-gap);
|
|
155603
|
+
height: 100%;
|
|
155514
155604
|
overflow: overlay;
|
|
155515
155605
|
flex-direction: column;
|
|
155516
155606
|
align-items: stretch;
|
|
@@ -156327,13 +156417,18 @@ d1([
|
|
|
156327
156417
|
//#region ../mosaik-elements-foundation/dist/Controls/Components/Media/Chat/ChatMessageReactionElementTemplate.js
|
|
156328
156418
|
function phe(e) {
|
|
156329
156419
|
return V`
|
|
156330
|
-
<mosaik-button
|
|
156420
|
+
<mosaik-button part="button"
|
|
156421
|
+
.dir="${e.dir}"
|
|
156331
156422
|
.lang="${e.lang}"
|
|
156332
156423
|
.disabled="${e.disabled}">
|
|
156333
|
-
<mosaik-emoji
|
|
156334
|
-
|
|
156335
|
-
|
|
156336
|
-
|
|
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>
|
|
156337
156432
|
</mosaik-button>
|
|
156338
156433
|
`;
|
|
156339
156434
|
}
|
|
@@ -156417,6 +156512,10 @@ function mhe() {
|
|
|
156417
156512
|
display: inline-flex;
|
|
156418
156513
|
}
|
|
156419
156514
|
|
|
156515
|
+
:host [part="button"] {
|
|
156516
|
+
--button-min-width: auto;
|
|
156517
|
+
}
|
|
156518
|
+
|
|
156420
156519
|
:host [part="emoji"], :host [part="count"] {
|
|
156421
156520
|
flex-shrink: 0;
|
|
156422
156521
|
}
|
|
@@ -156437,10 +156536,10 @@ function hhe() {
|
|
|
156437
156536
|
--chat-message-reaction-font-weight: var(--joy-typography-caption-font-weight);
|
|
156438
156537
|
--chat-message-reaction-foreground-color: var(--joy-scheme-foreground);
|
|
156439
156538
|
--chat-message-reaction-gap: calc(var(--joy-layout-space) / 2);
|
|
156440
|
-
--chat-message-reaction-padding-bottom:
|
|
156539
|
+
--chat-message-reaction-padding-bottom: var(--joy-layout-space);
|
|
156441
156540
|
--chat-message-reaction-padding-left: var(--joy-layout-space);
|
|
156442
156541
|
--chat-message-reaction-padding-right: var(--joy-layout-space);
|
|
156443
|
-
--chat-message-reaction-padding-top:
|
|
156542
|
+
--chat-message-reaction-padding-top: var(--joy-layout-space);
|
|
156444
156543
|
--chat-message-reaction-shadow: unset unset unset unset unset;
|
|
156445
156544
|
--chat-message-reaction-shadow-blur: unset;
|
|
156446
156545
|
--chat-message-reaction-shadow-color: unset;
|
|
@@ -156503,6 +156602,10 @@ function hhe() {
|
|
|
156503
156602
|
display: inline-flex;
|
|
156504
156603
|
}
|
|
156505
156604
|
|
|
156605
|
+
:host [part="button"] {
|
|
156606
|
+
--button-min-width: auto;
|
|
156607
|
+
}
|
|
156608
|
+
|
|
156506
156609
|
:host [part="emoji"], :host [part="count"] {
|
|
156507
156610
|
flex-shrink: 0;
|
|
156508
156611
|
}
|
|
@@ -156589,6 +156692,10 @@ function ghe() {
|
|
|
156589
156692
|
display: inline-flex;
|
|
156590
156693
|
}
|
|
156591
156694
|
|
|
156695
|
+
:host [part="button"] {
|
|
156696
|
+
--button-min-width: auto;
|
|
156697
|
+
}
|
|
156698
|
+
|
|
156592
156699
|
:host [part="emoji"], :host [part="count"] {
|
|
156593
156700
|
flex-shrink: 0;
|
|
156594
156701
|
}
|
|
@@ -156946,7 +157053,7 @@ function xhe() {
|
|
|
156946
157053
|
function She() {
|
|
156947
157054
|
return B`
|
|
156948
157055
|
:host {
|
|
156949
|
-
--emoji-background-color:
|
|
157056
|
+
--emoji-background-color: unset;
|
|
156950
157057
|
--emoji-font-family: unset;
|
|
156951
157058
|
--emoji-font-letter-spacing: unset;
|
|
156952
157059
|
--emoji-font-line-height: unset;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Mosaik elements for Svelte.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"url": "git+ssh://git@github.com/RueDeRennes/mosaik.git"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@breadstone/mosaik-elements": "0.1.
|
|
15
|
-
"@breadstone/mosaik-elements-foundation": "0.1.
|
|
14
|
+
"@breadstone/mosaik-elements": "0.1.4",
|
|
15
|
+
"@breadstone/mosaik-elements-foundation": "0.1.4",
|
|
16
16
|
"tslib": "2.8.1"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|