@breadstone/mosaik-elements-svelte 0.0.288 → 0.0.289
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 +6 -0
- package/index.mjs +103 -82
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 0.0.289 (2026-05-24)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **database:** add TypedDatabase for type-safe Prisma client and services ([4c40f5dffb](https://github.com/RueDeRennes/mosaik/commit/4c40f5dffb))
|
|
6
|
+
|
|
1
7
|
## 0.0.288 (2026-05-22)
|
|
2
8
|
|
|
3
9
|
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
|
@@ -75610,18 +75610,25 @@ function VL() {
|
|
|
75610
75610
|
--calendar-item-font-weight: var(--cosmopolitan-typography-content-font-weight);
|
|
75611
75611
|
--calendar-item-foreground-color: var(--cosmopolitan-scheme-foreground);
|
|
75612
75612
|
--calendar-item-gap: 4px;
|
|
75613
|
+
--calendar-item-marker-gap: 2px;
|
|
75614
|
+
--calendar-item-marker-offset-bottom: 4px;
|
|
75615
|
+
--calendar-item-marker-overflow-font-size: 8px;
|
|
75616
|
+
--calendar-item-min-height: 48px;
|
|
75613
75617
|
--calendar-item-padding-bottom: var(--cosmopolitan-layout-space);
|
|
75614
75618
|
--calendar-item-padding-left: 12px;
|
|
75615
75619
|
--calendar-item-padding-right: 12px;
|
|
75616
75620
|
--calendar-item-padding-top: var(--cosmopolitan-layout-space);
|
|
75617
75621
|
--calendar-item-ripple-color: unset;
|
|
75618
75622
|
--calendar-item-ripple-duration: .2s;
|
|
75623
|
+
--calendar-item-selection-background-color: var(--cosmopolitan-scheme-selection);
|
|
75619
75624
|
--calendar-item-shadow: var(--cosmopolitan-elevation-light-offset-x-0) var(--cosmopolitan-elevation-light-offset-y-0) var(--cosmopolitan-elevation-light-blur-0) var(--cosmopolitan-elevation-light-spread-0) var(--cosmopolitan-elevation-light-color-0);
|
|
75620
75625
|
--calendar-item-shadow-blur: var(--cosmopolitan-elevation-light-blur-0);
|
|
75621
75626
|
--calendar-item-shadow-color: var(--cosmopolitan-elevation-light-color-0);
|
|
75622
75627
|
--calendar-item-shadow-offset-x: var(--cosmopolitan-elevation-light-offset-x-0);
|
|
75623
75628
|
--calendar-item-shadow-offset-y: var(--cosmopolitan-elevation-light-offset-y-0);
|
|
75624
75629
|
--calendar-item-shadow-spread: var(--cosmopolitan-elevation-light-spread-0);
|
|
75630
|
+
--calendar-item-today-border-color: var(--cosmopolitan-color-primary-500);
|
|
75631
|
+
--calendar-item-today-border-width: 2px;
|
|
75625
75632
|
--calendar-item-transition-duration: .2s;
|
|
75626
75633
|
--calendar-item-transition-mode: ease;
|
|
75627
75634
|
--calendar-item-transition-property: background-color, color, border-color, opacity;
|
|
@@ -75668,6 +75675,7 @@ function VL() {
|
|
|
75668
75675
|
padding-bottom: var(--calendar-item-padding-bottom);
|
|
75669
75676
|
padding-left: var(--calendar-item-padding-left);
|
|
75670
75677
|
gap: var(--calendar-item-gap);
|
|
75678
|
+
min-height: var(--calendar-item-min-height);
|
|
75671
75679
|
transition-duration: var(--calendar-item-transition-duration);
|
|
75672
75680
|
transition-timing-function: var(--calendar-item-transition-mode);
|
|
75673
75681
|
transition-property: var(--calendar-item-transition-property);
|
|
@@ -75705,14 +75713,17 @@ function VL() {
|
|
|
75705
75713
|
}
|
|
75706
75714
|
|
|
75707
75715
|
:host [part="markers"] {
|
|
75708
|
-
|
|
75709
|
-
justify-content: stretch;
|
|
75716
|
+
justify-content: center;
|
|
75710
75717
|
align-items: center;
|
|
75711
|
-
gap:
|
|
75718
|
+
gap: var(--calendar-item-marker-gap);
|
|
75719
|
+
bottom: var(--calendar-item-marker-offset-bottom);
|
|
75720
|
+
pointer-events: auto;
|
|
75721
|
+
flex-direction: row;
|
|
75712
75722
|
transition: inherit;
|
|
75713
75723
|
display: flex;
|
|
75714
75724
|
position: absolute;
|
|
75715
|
-
|
|
75725
|
+
left: 0;
|
|
75726
|
+
right: 0;
|
|
75716
75727
|
}
|
|
75717
75728
|
|
|
75718
75729
|
:host [part="markers"] [part^="marker"] {
|
|
@@ -75720,28 +75731,19 @@ function VL() {
|
|
|
75720
75731
|
}
|
|
75721
75732
|
|
|
75722
75733
|
:host [part="markers"] [part^="marker"][part$="overflow"] {
|
|
75723
|
-
color: var(--calendar-item-foreground-color);
|
|
75724
|
-
font-size: 8px;
|
|
75734
|
+
color: color-mix(in srgb, var(--calendar-item-foreground-color) 60%, transparent);
|
|
75725
75735
|
font-weight: bold;
|
|
75736
|
+
font-size: var(--calendar-item-marker-overflow-font-size);
|
|
75726
75737
|
}
|
|
75727
75738
|
|
|
75728
75739
|
:host([is-selected]):before {
|
|
75729
|
-
|
|
75730
|
-
|
|
75740
|
+
background-color: var(--calendar-item-selection-background-color);
|
|
75741
|
+
opacity: 1;
|
|
75731
75742
|
}
|
|
75732
75743
|
|
|
75733
|
-
:host([is-today])
|
|
75734
|
-
|
|
75735
|
-
|
|
75736
|
-
background-color: currentColor;
|
|
75737
|
-
border: 0;
|
|
75738
|
-
border-radius: 4px;
|
|
75739
|
-
width: 15px;
|
|
75740
|
-
height: 2px;
|
|
75741
|
-
position: absolute;
|
|
75742
|
-
bottom: 4px;
|
|
75743
|
-
left: 50%;
|
|
75744
|
-
transform: translate(-50%);
|
|
75744
|
+
:host([is-today]) {
|
|
75745
|
+
border-width: var(--calendar-item-today-border-width);
|
|
75746
|
+
border-color: var(--calendar-item-today-border-color);
|
|
75745
75747
|
}
|
|
75746
75748
|
|
|
75747
75749
|
:host([is-special]), :host([is-blackout]) {
|
|
@@ -75845,18 +75847,25 @@ function HL() {
|
|
|
75845
75847
|
--calendar-item-font-weight: var(--joy-typography-body1-font-weight);
|
|
75846
75848
|
--calendar-item-foreground-color: var(--joy-scheme-foreground);
|
|
75847
75849
|
--calendar-item-gap: 4px;
|
|
75850
|
+
--calendar-item-marker-gap: 2px;
|
|
75851
|
+
--calendar-item-marker-offset-bottom: 4px;
|
|
75852
|
+
--calendar-item-marker-overflow-font-size: 8px;
|
|
75853
|
+
--calendar-item-min-height: 48px;
|
|
75848
75854
|
--calendar-item-padding-bottom: var(--joy-layout-space);
|
|
75849
75855
|
--calendar-item-padding-left: calc(var(--joy-layout-space) * 1.5);
|
|
75850
75856
|
--calendar-item-padding-right: calc(var(--joy-layout-space) * 1.5);
|
|
75851
75857
|
--calendar-item-padding-top: var(--joy-layout-space);
|
|
75852
75858
|
--calendar-item-ripple-color: unset;
|
|
75853
75859
|
--calendar-item-ripple-duration: .2s;
|
|
75860
|
+
--calendar-item-selection-background-color: var(--joy-scheme-selection);
|
|
75854
75861
|
--calendar-item-shadow: var(--joy-elevation-light-offset-x-0) var(--joy-elevation-light-offset-y-0) var(--joy-elevation-light-blur-0) var(--joy-elevation-light-spread-0) var(--joy-elevation-light-color-0);
|
|
75855
75862
|
--calendar-item-shadow-blur: var(--joy-elevation-light-blur-0);
|
|
75856
75863
|
--calendar-item-shadow-color: var(--joy-elevation-light-color-0);
|
|
75857
75864
|
--calendar-item-shadow-offset-x: var(--joy-elevation-light-offset-x-0);
|
|
75858
75865
|
--calendar-item-shadow-offset-y: var(--joy-elevation-light-offset-y-0);
|
|
75859
75866
|
--calendar-item-shadow-spread: var(--joy-elevation-light-spread-0);
|
|
75867
|
+
--calendar-item-today-border-color: var(--joy-color-primary-500);
|
|
75868
|
+
--calendar-item-today-border-width: 2px;
|
|
75860
75869
|
--calendar-item-transition-duration: var(--joy-duration-short);
|
|
75861
75870
|
--calendar-item-transition-mode: ease;
|
|
75862
75871
|
--calendar-item-transition-property: background-color, color, border-color, opacity;
|
|
@@ -75903,6 +75912,7 @@ function HL() {
|
|
|
75903
75912
|
padding-bottom: var(--calendar-item-padding-bottom);
|
|
75904
75913
|
padding-left: var(--calendar-item-padding-left);
|
|
75905
75914
|
gap: var(--calendar-item-gap);
|
|
75915
|
+
min-height: var(--calendar-item-min-height);
|
|
75906
75916
|
transition-duration: var(--calendar-item-transition-duration);
|
|
75907
75917
|
transition-timing-function: var(--calendar-item-transition-mode);
|
|
75908
75918
|
transition-property: var(--calendar-item-transition-property);
|
|
@@ -75940,14 +75950,17 @@ function HL() {
|
|
|
75940
75950
|
}
|
|
75941
75951
|
|
|
75942
75952
|
:host [part="markers"] {
|
|
75943
|
-
|
|
75944
|
-
justify-content: stretch;
|
|
75953
|
+
justify-content: center;
|
|
75945
75954
|
align-items: center;
|
|
75946
|
-
gap:
|
|
75955
|
+
gap: var(--calendar-item-marker-gap);
|
|
75956
|
+
bottom: var(--calendar-item-marker-offset-bottom);
|
|
75957
|
+
pointer-events: auto;
|
|
75958
|
+
flex-direction: row;
|
|
75947
75959
|
transition: inherit;
|
|
75948
75960
|
display: flex;
|
|
75949
75961
|
position: absolute;
|
|
75950
|
-
|
|
75962
|
+
left: 0;
|
|
75963
|
+
right: 0;
|
|
75951
75964
|
}
|
|
75952
75965
|
|
|
75953
75966
|
:host [part="markers"] [part^="marker"] {
|
|
@@ -75955,28 +75968,19 @@ function HL() {
|
|
|
75955
75968
|
}
|
|
75956
75969
|
|
|
75957
75970
|
:host [part="markers"] [part^="marker"][part$="overflow"] {
|
|
75958
|
-
color: var(--calendar-item-foreground-color);
|
|
75959
|
-
font-size: 8px;
|
|
75971
|
+
color: color-mix(in srgb, var(--calendar-item-foreground-color) 60%, transparent);
|
|
75960
75972
|
font-weight: bold;
|
|
75973
|
+
font-size: var(--calendar-item-marker-overflow-font-size);
|
|
75961
75974
|
}
|
|
75962
75975
|
|
|
75963
75976
|
:host([is-selected]):before {
|
|
75964
|
-
|
|
75965
|
-
|
|
75977
|
+
background-color: var(--calendar-item-selection-background-color);
|
|
75978
|
+
opacity: 1;
|
|
75966
75979
|
}
|
|
75967
75980
|
|
|
75968
|
-
:host([is-today])
|
|
75969
|
-
|
|
75970
|
-
|
|
75971
|
-
background-color: currentColor;
|
|
75972
|
-
border: 0;
|
|
75973
|
-
border-radius: 4px;
|
|
75974
|
-
width: 15px;
|
|
75975
|
-
height: 2px;
|
|
75976
|
-
position: absolute;
|
|
75977
|
-
bottom: 4px;
|
|
75978
|
-
left: 50%;
|
|
75979
|
-
transform: translate(-50%);
|
|
75981
|
+
:host([is-today]) {
|
|
75982
|
+
border-width: var(--calendar-item-today-border-width);
|
|
75983
|
+
border-color: var(--calendar-item-today-border-color);
|
|
75980
75984
|
}
|
|
75981
75985
|
|
|
75982
75986
|
:host([is-special]), :host([is-blackout]) {
|
|
@@ -76114,18 +76118,25 @@ function UL() {
|
|
|
76114
76118
|
--calendar-item-font-weight: var(--memphis-typography-body1-font-weight);
|
|
76115
76119
|
--calendar-item-foreground-color: var(--memphis-scheme-foreground);
|
|
76116
76120
|
--calendar-item-gap: 4px;
|
|
76121
|
+
--calendar-item-marker-gap: 2px;
|
|
76122
|
+
--calendar-item-marker-offset-bottom: 4px;
|
|
76123
|
+
--calendar-item-marker-overflow-font-size: 8px;
|
|
76124
|
+
--calendar-item-min-height: 48px;
|
|
76117
76125
|
--calendar-item-padding-bottom: var(--memphis-layout-space);
|
|
76118
76126
|
--calendar-item-padding-left: 12px;
|
|
76119
76127
|
--calendar-item-padding-right: 12px;
|
|
76120
76128
|
--calendar-item-padding-top: var(--memphis-layout-space);
|
|
76121
76129
|
--calendar-item-ripple-color: unset;
|
|
76122
76130
|
--calendar-item-ripple-duration: .2s;
|
|
76131
|
+
--calendar-item-selection-background-color: var(--memphis-scheme-selection);
|
|
76123
76132
|
--calendar-item-shadow: var(--memphis-elevation-light-offset-x-0) var(--memphis-elevation-light-offset-y-0) var(--memphis-elevation-light-blur-0) var(--memphis-elevation-light-spread-0) var(--memphis-elevation-light-color-0);
|
|
76124
76133
|
--calendar-item-shadow-blur: var(--memphis-elevation-light-blur-0);
|
|
76125
76134
|
--calendar-item-shadow-color: var(--memphis-elevation-light-color-0);
|
|
76126
76135
|
--calendar-item-shadow-offset-x: var(--memphis-elevation-light-offset-x-0);
|
|
76127
76136
|
--calendar-item-shadow-offset-y: var(--memphis-elevation-light-offset-y-0);
|
|
76128
76137
|
--calendar-item-shadow-spread: var(--memphis-elevation-light-spread-0);
|
|
76138
|
+
--calendar-item-today-border-color: var(--memphis-color-primary-500);
|
|
76139
|
+
--calendar-item-today-border-width: 2px;
|
|
76129
76140
|
--calendar-item-transition-duration: .2s;
|
|
76130
76141
|
--calendar-item-transition-mode: ease;
|
|
76131
76142
|
--calendar-item-transition-property: background-color, color, border-color, opacity, box-shadow;
|
|
@@ -76172,6 +76183,7 @@ function UL() {
|
|
|
76172
76183
|
padding-bottom: var(--calendar-item-padding-bottom);
|
|
76173
76184
|
padding-left: var(--calendar-item-padding-left);
|
|
76174
76185
|
gap: var(--calendar-item-gap);
|
|
76186
|
+
min-height: var(--calendar-item-min-height);
|
|
76175
76187
|
transition-duration: var(--calendar-item-transition-duration);
|
|
76176
76188
|
transition-timing-function: var(--calendar-item-transition-mode);
|
|
76177
76189
|
transition-property: var(--calendar-item-transition-property);
|
|
@@ -76209,14 +76221,17 @@ function UL() {
|
|
|
76209
76221
|
}
|
|
76210
76222
|
|
|
76211
76223
|
:host [part="markers"] {
|
|
76212
|
-
|
|
76213
|
-
justify-content: stretch;
|
|
76224
|
+
justify-content: center;
|
|
76214
76225
|
align-items: center;
|
|
76215
|
-
gap:
|
|
76226
|
+
gap: var(--calendar-item-marker-gap);
|
|
76227
|
+
bottom: var(--calendar-item-marker-offset-bottom);
|
|
76228
|
+
pointer-events: auto;
|
|
76229
|
+
flex-direction: row;
|
|
76216
76230
|
transition: inherit;
|
|
76217
76231
|
display: flex;
|
|
76218
76232
|
position: absolute;
|
|
76219
|
-
|
|
76233
|
+
left: 0;
|
|
76234
|
+
right: 0;
|
|
76220
76235
|
}
|
|
76221
76236
|
|
|
76222
76237
|
:host [part="markers"] [part^="marker"] {
|
|
@@ -76224,28 +76239,19 @@ function UL() {
|
|
|
76224
76239
|
}
|
|
76225
76240
|
|
|
76226
76241
|
:host [part="markers"] [part^="marker"][part$="overflow"] {
|
|
76227
|
-
color: var(--calendar-item-foreground-color);
|
|
76228
|
-
font-size: 8px;
|
|
76242
|
+
color: color-mix(in srgb, var(--calendar-item-foreground-color) 60%, transparent);
|
|
76229
76243
|
font-weight: bold;
|
|
76244
|
+
font-size: var(--calendar-item-marker-overflow-font-size);
|
|
76230
76245
|
}
|
|
76231
76246
|
|
|
76232
76247
|
:host([is-selected]):before {
|
|
76233
|
-
|
|
76234
|
-
|
|
76248
|
+
background-color: var(--calendar-item-selection-background-color);
|
|
76249
|
+
opacity: 1;
|
|
76235
76250
|
}
|
|
76236
76251
|
|
|
76237
|
-
:host([is-today])
|
|
76238
|
-
|
|
76239
|
-
|
|
76240
|
-
background-color: currentColor;
|
|
76241
|
-
border: 0;
|
|
76242
|
-
border-radius: 4px;
|
|
76243
|
-
width: 15px;
|
|
76244
|
-
height: 2px;
|
|
76245
|
-
position: absolute;
|
|
76246
|
-
bottom: 4px;
|
|
76247
|
-
left: 50%;
|
|
76248
|
-
transform: translate(-50%);
|
|
76252
|
+
:host([is-today]) {
|
|
76253
|
+
border-width: var(--calendar-item-today-border-width);
|
|
76254
|
+
border-color: var(--calendar-item-today-border-color);
|
|
76249
76255
|
}
|
|
76250
76256
|
|
|
76251
76257
|
:host([is-special]), :host([is-blackout]) {
|
|
@@ -77911,6 +77917,14 @@ function sR(e) {
|
|
|
77911
77917
|
</div>
|
|
77912
77918
|
<div part="dayView"
|
|
77913
77919
|
class="${e.showWeekNumbers ? "week-numbers" : ""}">
|
|
77920
|
+
<!-- week number for the first row (before adjacent/empty days) -->
|
|
77921
|
+
${U(e.showWeekNumbers && a > 0, () => V`
|
|
77922
|
+
<div part="weekNumber">
|
|
77923
|
+
<mosaik-text .dir="${e.dir}"
|
|
77924
|
+
.text="${tI(new Date(r, n, 1)).toString()}"
|
|
77925
|
+
?disabled="${e.disabled}"></mosaik-text>
|
|
77926
|
+
</div>
|
|
77927
|
+
`)}
|
|
77914
77928
|
${U(e.showAdjacent, () => V`
|
|
77915
77929
|
<!-- adjacent days before the start of the month -->
|
|
77916
77930
|
${Array.from({ length: a }, (e, t) => new Date(r, n, -t)).reverse().map((t) => V`
|
|
@@ -82269,7 +82283,7 @@ function $R() {
|
|
|
82269
82283
|
--checkbox-group-background-color: unset;
|
|
82270
82284
|
--checkbox-group-border-color: unset;
|
|
82271
82285
|
--checkbox-group-border-radius: unset;
|
|
82272
|
-
--checkbox-group-border-style:
|
|
82286
|
+
--checkbox-group-border-style: none;
|
|
82273
82287
|
--checkbox-group-border-width: unset;
|
|
82274
82288
|
--checkbox-group-font-family: unset;
|
|
82275
82289
|
--checkbox-group-font-letter-spacing: unset;
|
|
@@ -82502,7 +82516,7 @@ var tz = function(e, t, n, r) {
|
|
|
82502
82516
|
onSlotChanges() {
|
|
82503
82517
|
this._eventSubscriptions.forEach((e) => e.dispose()), this._eventSubscriptions = [];
|
|
82504
82518
|
let e = this.getSlotAssignments("").filter((e) => e instanceof XR);
|
|
82505
|
-
for (let [t, n] of e.entries()) n.isChecked = this.value
|
|
82519
|
+
for (let [t, n] of e.entries()) n.isChecked = this.value?.includes(n.value) ?? !1, n.classList.add("checkbox-group-checkbox"), n.classList.toggle("first", t === 0), n.classList.toggle("inner", t > 0 && t < e.length - 1), n.classList.toggle("last", t === e.length - 1), this._eventSubscriptions.push(n.on("checked", () => this.onCheckBoxCheckChanged(), { passive: !0 }), n.on("unchecked", () => this.onCheckBoxCheckChanged(), { passive: !0 }));
|
|
82506
82520
|
}
|
|
82507
82521
|
reset() {
|
|
82508
82522
|
this.uncheckAll(), this.invalid = !1;
|
|
@@ -111661,7 +111675,7 @@ var aG = function(e, t, n, r) {
|
|
|
111661
111675
|
onSlotChanges() {
|
|
111662
111676
|
this.clearEvents();
|
|
111663
111677
|
let e = this.getSlotAssignments("").filter((e) => e instanceof eG);
|
|
111664
|
-
for (let [t, n] of e.entries()) n.isChecked = this.value
|
|
111678
|
+
for (let [t, n] of e.entries()) n.isChecked = this.value?.includes(n.value) ?? !1, n.classList.add("radio-group-radio"), n.classList.toggle("first", t === 0), n.classList.toggle("inner", t > 0 && t < e.length - 1), n.classList.toggle("last", t === e.length - 1), this._eventSubscriptions.push(n.on("checked", (e) => this.onRadioCheckChanged(e), { passive: !0 }));
|
|
111665
111679
|
}
|
|
111666
111680
|
checkValidity() {
|
|
111667
111681
|
return this.getSlotAssignments("").filter((e) => e instanceof eG).filter((e) => e.isChecked ?? !1).length > 0;
|
|
@@ -126461,7 +126475,7 @@ function hJ(e) {
|
|
|
126461
126475
|
${U(e.hasChildren, () => V`
|
|
126462
126476
|
<mosaik-button part="caret"
|
|
126463
126477
|
.appearance="${"plain"}"
|
|
126464
|
-
.icon="${e.menuMode === "popover" ?
|
|
126478
|
+
.icon="${e.menuMode === "popover" ? X.caretRight : X.caretDown}"
|
|
126465
126479
|
.size="${"small"}"
|
|
126466
126480
|
.dir="${e.dir}"
|
|
126467
126481
|
.lang="${e.lang}"
|
|
@@ -126609,16 +126623,16 @@ function gJ() {
|
|
|
126609
126623
|
}
|
|
126610
126624
|
|
|
126611
126625
|
:host [part="content"] {
|
|
126612
|
-
align-items: center;
|
|
126613
|
-
gap: var(--menu-item-gap);
|
|
126614
126626
|
text-overflow: ellipsis;
|
|
126615
126627
|
white-space: nowrap;
|
|
126628
|
+
flex-direction: column;
|
|
126616
126629
|
flex: 1;
|
|
126630
|
+
align-items: flex-start;
|
|
126617
126631
|
display: flex;
|
|
126618
126632
|
overflow: hidden;
|
|
126619
126633
|
}
|
|
126620
126634
|
|
|
126621
|
-
:host [part="content"]
|
|
126635
|
+
:host [part="content"][hidden] {
|
|
126622
126636
|
display: none;
|
|
126623
126637
|
}
|
|
126624
126638
|
|
|
@@ -126791,16 +126805,16 @@ function _J() {
|
|
|
126791
126805
|
}
|
|
126792
126806
|
|
|
126793
126807
|
:host [part="content"] {
|
|
126794
|
-
align-items: center;
|
|
126795
|
-
gap: var(--menu-item-gap);
|
|
126796
126808
|
text-overflow: ellipsis;
|
|
126797
126809
|
white-space: nowrap;
|
|
126810
|
+
flex-direction: column;
|
|
126798
126811
|
flex: 1;
|
|
126812
|
+
align-items: flex-start;
|
|
126799
126813
|
display: flex;
|
|
126800
126814
|
overflow: hidden;
|
|
126801
126815
|
}
|
|
126802
126816
|
|
|
126803
|
-
:host [part="content"]
|
|
126817
|
+
:host [part="content"][hidden] {
|
|
126804
126818
|
display: none;
|
|
126805
126819
|
}
|
|
126806
126820
|
|
|
@@ -127168,16 +127182,16 @@ function vJ() {
|
|
|
127168
127182
|
}
|
|
127169
127183
|
|
|
127170
127184
|
:host [part="content"] {
|
|
127171
|
-
align-items: center;
|
|
127172
|
-
gap: var(--menu-item-gap);
|
|
127173
127185
|
text-overflow: ellipsis;
|
|
127174
127186
|
white-space: nowrap;
|
|
127187
|
+
flex-direction: column;
|
|
127175
127188
|
flex: 1;
|
|
127189
|
+
align-items: flex-start;
|
|
127176
127190
|
display: flex;
|
|
127177
127191
|
overflow: hidden;
|
|
127178
127192
|
}
|
|
127179
127193
|
|
|
127180
|
-
:host [part="content"]
|
|
127194
|
+
:host [part="content"][hidden] {
|
|
127181
127195
|
display: none;
|
|
127182
127196
|
}
|
|
127183
127197
|
|
|
@@ -162615,9 +162629,13 @@ function xge(e) {
|
|
|
162615
162629
|
.text="${e.text}"
|
|
162616
162630
|
.textAccessor="${e.textAccessor}">
|
|
162617
162631
|
${U(e.presence !== p0.None, () => V`
|
|
162618
|
-
<
|
|
162619
|
-
|
|
162620
|
-
|
|
162632
|
+
<div part="presence"
|
|
162633
|
+
slot="badge">
|
|
162634
|
+
<slot name="presence">
|
|
162635
|
+
<mosaik-dot part="presenceDot"
|
|
162636
|
+
.disabled="${e.disabled}"></mosaik-dot>
|
|
162637
|
+
</slot>
|
|
162638
|
+
</div>
|
|
162621
162639
|
`)}
|
|
162622
162640
|
</mosaik-avatar>
|
|
162623
162641
|
<!-- > -->
|
|
@@ -162715,6 +162733,7 @@ function Sge() {
|
|
|
162715
162733
|
|
|
162716
162734
|
:host [part="presence"] {
|
|
162717
162735
|
z-index: 1;
|
|
162736
|
+
display: flex;
|
|
162718
162737
|
position: absolute;
|
|
162719
162738
|
bottom: 0;
|
|
162720
162739
|
right: 0;
|
|
@@ -162724,8 +162743,8 @@ function Sge() {
|
|
|
162724
162743
|
background: none;
|
|
162725
162744
|
}
|
|
162726
162745
|
|
|
162727
|
-
:host [part="
|
|
162728
|
-
background-color: var(--persona-presence-color);
|
|
162746
|
+
:host [part="presenceDot"] {
|
|
162747
|
+
--dot-background-color: var(--persona-presence-color);
|
|
162729
162748
|
}
|
|
162730
162749
|
|
|
162731
162750
|
`;
|
|
@@ -162797,6 +162816,7 @@ function Cge() {
|
|
|
162797
162816
|
|
|
162798
162817
|
:host [part="presence"] {
|
|
162799
162818
|
z-index: 1;
|
|
162819
|
+
display: flex;
|
|
162800
162820
|
position: absolute;
|
|
162801
162821
|
bottom: 0;
|
|
162802
162822
|
right: 0;
|
|
@@ -162806,8 +162826,8 @@ function Cge() {
|
|
|
162806
162826
|
background: none;
|
|
162807
162827
|
}
|
|
162808
162828
|
|
|
162809
|
-
:host [part="
|
|
162810
|
-
background-color: var(--persona-presence-color);
|
|
162829
|
+
:host [part="presenceDot"] {
|
|
162830
|
+
--dot-background-color: var(--persona-presence-color);
|
|
162811
162831
|
}
|
|
162812
162832
|
|
|
162813
162833
|
:host [part="primaryText"] {
|
|
@@ -162929,6 +162949,7 @@ function wge() {
|
|
|
162929
162949
|
|
|
162930
162950
|
:host [part="presence"] {
|
|
162931
162951
|
z-index: 1;
|
|
162952
|
+
display: flex;
|
|
162932
162953
|
position: absolute;
|
|
162933
162954
|
bottom: 0;
|
|
162934
162955
|
right: 0;
|
|
@@ -162938,8 +162959,8 @@ function wge() {
|
|
|
162938
162959
|
background: none;
|
|
162939
162960
|
}
|
|
162940
162961
|
|
|
162941
|
-
:host [part="
|
|
162942
|
-
background-color: var(--persona-presence-color);
|
|
162962
|
+
:host [part="presenceDot"] {
|
|
162963
|
+
--dot-background-color: var(--persona-presence-color);
|
|
162943
162964
|
}
|
|
162944
162965
|
|
|
162945
162966
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/mosaik-elements-svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.289",
|
|
4
4
|
"description": "Mosaik elements for Svelte.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"vite": "*"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@breadstone/mosaik-elements": "^0.0.
|
|
19
|
-
"@breadstone/mosaik-elements-foundation": "^0.0.
|
|
18
|
+
"@breadstone/mosaik-elements": "^0.0.289",
|
|
19
|
+
"@breadstone/mosaik-elements-foundation": "^0.0.289"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|