@breadstone/mosaik-elements-svelte 0.0.245 → 0.0.247

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 +89 -27
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.0.247 (2026-05-01)
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.0.246 (2026-04-30)
6
+
7
+ This was a version bump only for mosaik-elements-svelte to align it with other projects, there were no code changes.
8
+
1
9
  ## 0.0.245 (2026-04-30)
2
10
 
3
11
  ### 🚀 Features
package/index.mjs CHANGED
@@ -20861,7 +20861,7 @@ var Iw;
20861
20861
  //#endregion
20862
20862
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Portal/Portal.js
20863
20863
  var Lw = /* @__PURE__ */ new Map(), sde = class e {
20864
- static _z = 999;
20864
+ static _z = 1099;
20865
20865
  static next() {
20866
20866
  return ++e._z;
20867
20867
  }
@@ -21134,6 +21134,7 @@ function dde() {
21134
21134
  :host {
21135
21135
  pointer-events: none;
21136
21136
  z-index: var(--portal-z-index, 100);
21137
+ position: fixed;
21137
21138
  inset: 0;
21138
21139
  }
21139
21140
 
@@ -21201,6 +21202,7 @@ function fde() {
21201
21202
  :host {
21202
21203
  pointer-events: none;
21203
21204
  z-index: var(--portal-z-index, 100);
21205
+ position: fixed;
21204
21206
  inset: 0;
21205
21207
  }
21206
21208
 
@@ -21268,6 +21270,7 @@ function pde() {
21268
21270
  :host {
21269
21271
  pointer-events: none;
21270
21272
  z-index: var(--portal-z-index, 100);
21273
+ position: fixed;
21271
21274
  inset: 0;
21272
21275
  }
21273
21276
 
@@ -61366,8 +61369,8 @@ function lN() {
61366
61369
  :host {
61367
61370
  --breadcrumb-font-family: unset;
61368
61371
  --breadcrumb-font-letter-spacing: unset;
61369
- --breadcrumb-font-line-height: unset;
61370
- --breadcrumb-font-size: unset;
61372
+ --breadcrumb-font-line-height: var(--cosmopolitan-typography-body2-line-height);
61373
+ --breadcrumb-font-size: var(--cosmopolitan-typography-body2-font-size);
61371
61374
  --breadcrumb-font-text-decoration: unset;
61372
61375
  --breadcrumb-font-text-transform: unset;
61373
61376
  --breadcrumb-font-weight: unset;
@@ -61415,6 +61418,8 @@ function lN() {
61415
61418
  }
61416
61419
 
61417
61420
  :host {
61421
+ font-size: var(--breadcrumb-font-size);
61422
+ line-height: var(--breadcrumb-font-line-height);
61418
61423
  flex-direction: row;
61419
61424
  align-items: center;
61420
61425
  gap: 12px;
@@ -61438,8 +61443,8 @@ function uN() {
61438
61443
  :host {
61439
61444
  --breadcrumb-font-family: unset;
61440
61445
  --breadcrumb-font-letter-spacing: unset;
61441
- --breadcrumb-font-line-height: unset;
61442
- --breadcrumb-font-size: unset;
61446
+ --breadcrumb-font-line-height: var(--joy-typography-body2-line-height);
61447
+ --breadcrumb-font-size: var(--joy-typography-body2-font-size);
61443
61448
  --breadcrumb-font-text-decoration: unset;
61444
61449
  --breadcrumb-font-text-transform: unset;
61445
61450
  --breadcrumb-font-weight: unset;
@@ -61487,6 +61492,8 @@ function uN() {
61487
61492
  }
61488
61493
 
61489
61494
  :host {
61495
+ font-size: var(--breadcrumb-font-size);
61496
+ line-height: var(--breadcrumb-font-line-height);
61490
61497
  flex-direction: row;
61491
61498
  align-items: center;
61492
61499
  gap: 12px;
@@ -61510,8 +61517,8 @@ function dN() {
61510
61517
  :host {
61511
61518
  --breadcrumb-font-family: unset;
61512
61519
  --breadcrumb-font-letter-spacing: unset;
61513
- --breadcrumb-font-line-height: unset;
61514
- --breadcrumb-font-size: unset;
61520
+ --breadcrumb-font-line-height: var(--memphis-typography-body2-line-height);
61521
+ --breadcrumb-font-size: var(--memphis-typography-body2-font-size);
61515
61522
  --breadcrumb-font-text-decoration: unset;
61516
61523
  --breadcrumb-font-text-transform: unset;
61517
61524
  --breadcrumb-font-weight: unset;
@@ -61559,6 +61566,8 @@ function dN() {
61559
61566
  }
61560
61567
 
61561
61568
  :host {
61569
+ font-size: var(--breadcrumb-font-size);
61570
+ line-height: var(--breadcrumb-font-line-height);
61562
61571
  flex-direction: row;
61563
61572
  align-items: center;
61564
61573
  gap: 12px;
@@ -123623,7 +123632,7 @@ function $q() {
123623
123632
  --menu-item-background-color: var(--joy-scheme-highlight);
123624
123633
  }
123625
123634
 
123626
- :host([is-active]:hover) [part="root"] {
123635
+ :host([is-active]:not([is-active="false" i])):hover [part="root"] {
123627
123636
  --menu-item-background-color: var(--joy-color-primary-300);
123628
123637
  }
123629
123638
 
@@ -134554,21 +134563,25 @@ function TZ(e) {
134554
134563
  <slot name="prefix"></slot>
134555
134564
  </div>
134556
134565
  <div part="heading">
134557
- <slot name="header">
134558
- <mosaik-text .text="${e.text}"
134559
- .wrap="${!0}"></mosaik-text>
134560
- </slot>
134561
- <slot name="subHeader">
134562
- <mosaik-text .text="${e.subText}"
134563
- .wrap="${!0}"
134564
- .maxLines="${1}"></mosaik-text>
134565
- </slot>
134566
- <slot name="additionalHeader">
134567
- <mosaik-text .text="${e.additionalText}"
134568
- .wrap="${!0}"
134569
- .maxLines="${3}"></mosaik-text>
134570
- </slot>
134571
- <slot></slot>
134566
+ <div part="heading">
134567
+ <slot name="header">
134568
+ <mosaik-text .text="${e.text}"
134569
+ .wrap="${!0}"></mosaik-text>
134570
+ </slot>
134571
+ <slot name="subHeader">
134572
+ <mosaik-text .text="${e.subText}"
134573
+ .wrap="${!0}"
134574
+ .maxLines="${1}"></mosaik-text>
134575
+ </slot>
134576
+ <slot name="additionalHeader">
134577
+ <mosaik-text .text="${e.additionalText}"
134578
+ .wrap="${!0}"
134579
+ .maxLines="${3}"></mosaik-text>
134580
+ </slot>
134581
+ </div>
134582
+ <div part="content">
134583
+ <slot></slot>
134584
+ </div>
134572
134585
  </div>
134573
134586
  <div part="suffix"
134574
134587
  ?hidden="${!wM(e, "has-suffix", e.hasSlotContent("suffix"))}">
@@ -134611,6 +134624,7 @@ function EZ() {
134611
134624
  --page-header-padding-left: unset;
134612
134625
  --page-header-padding-right: unset;
134613
134626
  --page-header-padding-top: unset;
134627
+ --page-header-prefix-gap: unset;
134614
134628
  --page-header-shadow: unset unset unset unset unset;
134615
134629
  --page-header-shadow-blur: unset;
134616
134630
  --page-header-shadow-color: unset;
@@ -134624,6 +134638,7 @@ function EZ() {
134624
134638
  --page-header-sub-header-font-text-decoration: var(--cosmopolitan-typography-subtitle1-text-decoration);
134625
134639
  --page-header-sub-header-font-text-transform: var(--cosmopolitan-typography-subtitle1-text-transform);
134626
134640
  --page-header-sub-header-font-weight: var(--cosmopolitan-typography-subtitle1-font-weight);
134641
+ --page-header-suffix-gap: unset;
134627
134642
  --page-header-transition-duration: unset;
134628
134643
  --page-header-transition-mode: unset;
134629
134644
  --page-header-transition-property: unset;
@@ -134667,7 +134682,7 @@ function EZ() {
134667
134682
  text-transform: var(--page-header-font-text-transform);
134668
134683
  background-color: var(--page-header-background-color);
134669
134684
  color: var(--page-header-foreground-color);
134670
- flex-direction: column;
134685
+ flex-direction: row;
134671
134686
  flex: 1;
134672
134687
  display: flex;
134673
134688
  position: relative;
@@ -134685,7 +134700,9 @@ function EZ() {
134685
134700
  }
134686
134701
 
134687
134702
  :host [part="root"] [part="prefix"] {
134703
+ gap: var(--page-header-prefix-gap);
134688
134704
  flex-shrink: 1;
134705
+ align-self: flex-start;
134689
134706
  align-items: center;
134690
134707
  display: flex;
134691
134708
  }
@@ -134704,7 +134721,17 @@ function EZ() {
134704
134721
  display: none;
134705
134722
  }
134706
134723
 
134724
+ :host [part="root"] [part="heading"] [part="content"] {
134725
+ flex-direction: column;
134726
+ display: flex;
134727
+ }
134728
+
134729
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
134730
+ display: none;
134731
+ }
134732
+
134707
134733
  :host [part="root"] [part="suffix"] {
134734
+ gap: var(--page-header-suffix-gap);
134708
134735
  flex-shrink: 1;
134709
134736
  align-items: center;
134710
134737
  display: flex;
@@ -134807,7 +134834,7 @@ function DZ() {
134807
134834
  --page-header-font-text-transform: var(--joy-typography-headline4-text-transform);
134808
134835
  --page-header-font-weight: var(--joy-typography-headline4-font-weight);
134809
134836
  --page-header-foreground-color: var(--joy-scheme-foreground);
134810
- --page-header-gap: unset;
134837
+ --page-header-gap: calc(var(--joy-layout-space) * 2);
134811
134838
  --page-header-header-font-family: var(--joy-font-family);
134812
134839
  --page-header-header-font-letter-spacing: var(--joy-typography-headline4-letter-spacing);
134813
134840
  --page-header-header-font-line-height: var(--joy-typography-headline4-line-height);
@@ -134820,6 +134847,7 @@ function DZ() {
134820
134847
  --page-header-padding-left: unset;
134821
134848
  --page-header-padding-right: unset;
134822
134849
  --page-header-padding-top: unset;
134850
+ --page-header-prefix-gap: var(--joy-layout-space);
134823
134851
  --page-header-shadow: unset unset unset unset unset;
134824
134852
  --page-header-shadow-blur: unset;
134825
134853
  --page-header-shadow-color: unset;
@@ -134833,6 +134861,7 @@ function DZ() {
134833
134861
  --page-header-sub-header-font-text-decoration: var(--joy-typography-subtitle1-text-decoration);
134834
134862
  --page-header-sub-header-font-text-transform: var(--joy-typography-subtitle1-text-transform);
134835
134863
  --page-header-sub-header-font-weight: var(--joy-typography-subtitle1-font-weight);
134864
+ --page-header-suffix-gap: var(--joy-layout-space);
134836
134865
  --page-header-transition-duration: unset;
134837
134866
  --page-header-transition-mode: unset;
134838
134867
  --page-header-transition-property: unset;
@@ -134876,7 +134905,7 @@ function DZ() {
134876
134905
  text-transform: var(--page-header-font-text-transform);
134877
134906
  background-color: var(--page-header-background-color);
134878
134907
  color: var(--page-header-foreground-color);
134879
- flex-direction: column;
134908
+ flex-direction: row;
134880
134909
  flex: 1;
134881
134910
  display: flex;
134882
134911
  position: relative;
@@ -134894,7 +134923,9 @@ function DZ() {
134894
134923
  }
134895
134924
 
134896
134925
  :host [part="root"] [part="prefix"] {
134926
+ gap: var(--page-header-prefix-gap);
134897
134927
  flex-shrink: 1;
134928
+ align-self: flex-start;
134898
134929
  align-items: center;
134899
134930
  display: flex;
134900
134931
  }
@@ -134913,7 +134944,17 @@ function DZ() {
134913
134944
  display: none;
134914
134945
  }
134915
134946
 
134947
+ :host [part="root"] [part="heading"] [part="content"] {
134948
+ flex-direction: column;
134949
+ display: flex;
134950
+ }
134951
+
134952
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
134953
+ display: none;
134954
+ }
134955
+
134916
134956
  :host [part="root"] [part="suffix"] {
134957
+ gap: var(--page-header-suffix-gap);
134917
134958
  flex-shrink: 1;
134918
134959
  align-items: center;
134919
134960
  display: flex;
@@ -134993,6 +135034,10 @@ function DZ() {
134993
135034
  padding: 0;
134994
135035
  }
134995
135036
 
135037
+ :host slot[name="additionalHeader"], :host slot[name="additionalHeader"] mosaik-text {
135038
+ color: var(--joy-scheme-middlelight);
135039
+ }
135040
+
134996
135041
  `;
134997
135042
  }
134998
135043
  //#endregion
@@ -135029,6 +135074,7 @@ function OZ() {
135029
135074
  --page-header-padding-left: unset;
135030
135075
  --page-header-padding-right: unset;
135031
135076
  --page-header-padding-top: unset;
135077
+ --page-header-prefix-gap: unset;
135032
135078
  --page-header-shadow: unset unset unset unset unset;
135033
135079
  --page-header-shadow-blur: unset;
135034
135080
  --page-header-shadow-color: unset;
@@ -135042,6 +135088,7 @@ function OZ() {
135042
135088
  --page-header-sub-header-font-text-decoration: var(--memphis-typography-subtitle1-text-decoration);
135043
135089
  --page-header-sub-header-font-text-transform: var(--memphis-typography-subtitle1-text-transform);
135044
135090
  --page-header-sub-header-font-weight: var(--memphis-typography-subtitle1-font-weight);
135091
+ --page-header-suffix-gap: unset;
135045
135092
  --page-header-transition-duration: unset;
135046
135093
  --page-header-transition-mode: unset;
135047
135094
  --page-header-transition-property: unset;
@@ -135085,7 +135132,7 @@ function OZ() {
135085
135132
  text-transform: var(--page-header-font-text-transform);
135086
135133
  background-color: var(--page-header-background-color);
135087
135134
  color: var(--page-header-foreground-color);
135088
- flex-direction: column;
135135
+ flex-direction: row;
135089
135136
  flex: 1;
135090
135137
  display: flex;
135091
135138
  position: relative;
@@ -135103,7 +135150,9 @@ function OZ() {
135103
135150
  }
135104
135151
 
135105
135152
  :host [part="root"] [part="prefix"] {
135153
+ gap: var(--page-header-prefix-gap);
135106
135154
  flex-shrink: 1;
135155
+ align-self: flex-start;
135107
135156
  align-items: center;
135108
135157
  display: flex;
135109
135158
  }
@@ -135122,7 +135171,17 @@ function OZ() {
135122
135171
  display: none;
135123
135172
  }
135124
135173
 
135174
+ :host [part="root"] [part="heading"] [part="content"] {
135175
+ flex-direction: column;
135176
+ display: flex;
135177
+ }
135178
+
135179
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
135180
+ display: none;
135181
+ }
135182
+
135125
135183
  :host [part="root"] [part="suffix"] {
135184
+ gap: var(--page-header-suffix-gap);
135126
135185
  flex-shrink: 1;
135127
135186
  align-items: center;
135128
135187
  display: flex;
@@ -190575,6 +190634,7 @@ function Kbe() {
190575
190634
  :host {
190576
190635
  pointer-events: none;
190577
190636
  z-index: var(--portal-z-index, 100);
190637
+ position: fixed;
190578
190638
  inset: 0;
190579
190639
  }
190580
190640
 
@@ -190642,6 +190702,7 @@ function qbe() {
190642
190702
  :host {
190643
190703
  pointer-events: none;
190644
190704
  z-index: var(--portal-z-index, 100);
190705
+ position: fixed;
190645
190706
  inset: 0;
190646
190707
  }
190647
190708
 
@@ -190709,6 +190770,7 @@ function Jbe() {
190709
190770
  :host {
190710
190771
  pointer-events: none;
190711
190772
  z-index: var(--portal-z-index, 100);
190773
+ position: fixed;
190712
190774
  inset: 0;
190713
190775
  }
190714
190776
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.245",
3
+ "version": "0.0.247",
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.245",
19
- "@breadstone/mosaik-elements-foundation": "^0.0.245"
18
+ "@breadstone/mosaik-elements": "^0.0.247",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.247"
20
20
  },
21
21
  "exports": {
22
22
  ".": {