@breadstone/mosaik-elements-svelte 0.0.245 → 0.0.246

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 +4 -0
  2. package/index.mjs +82 -26
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.246 (2026-04-30)
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.0.245 (2026-04-30)
2
6
 
3
7
  ### 🚀 Features
package/index.mjs CHANGED
@@ -61366,8 +61366,8 @@ function lN() {
61366
61366
  :host {
61367
61367
  --breadcrumb-font-family: unset;
61368
61368
  --breadcrumb-font-letter-spacing: unset;
61369
- --breadcrumb-font-line-height: unset;
61370
- --breadcrumb-font-size: unset;
61369
+ --breadcrumb-font-line-height: var(--cosmopolitan-typography-body2-line-height);
61370
+ --breadcrumb-font-size: var(--cosmopolitan-typography-body2-font-size);
61371
61371
  --breadcrumb-font-text-decoration: unset;
61372
61372
  --breadcrumb-font-text-transform: unset;
61373
61373
  --breadcrumb-font-weight: unset;
@@ -61415,6 +61415,8 @@ function lN() {
61415
61415
  }
61416
61416
 
61417
61417
  :host {
61418
+ font-size: var(--breadcrumb-font-size);
61419
+ line-height: var(--breadcrumb-font-line-height);
61418
61420
  flex-direction: row;
61419
61421
  align-items: center;
61420
61422
  gap: 12px;
@@ -61438,8 +61440,8 @@ function uN() {
61438
61440
  :host {
61439
61441
  --breadcrumb-font-family: unset;
61440
61442
  --breadcrumb-font-letter-spacing: unset;
61441
- --breadcrumb-font-line-height: unset;
61442
- --breadcrumb-font-size: unset;
61443
+ --breadcrumb-font-line-height: var(--joy-typography-body2-line-height);
61444
+ --breadcrumb-font-size: var(--joy-typography-body2-font-size);
61443
61445
  --breadcrumb-font-text-decoration: unset;
61444
61446
  --breadcrumb-font-text-transform: unset;
61445
61447
  --breadcrumb-font-weight: unset;
@@ -61487,6 +61489,8 @@ function uN() {
61487
61489
  }
61488
61490
 
61489
61491
  :host {
61492
+ font-size: var(--breadcrumb-font-size);
61493
+ line-height: var(--breadcrumb-font-line-height);
61490
61494
  flex-direction: row;
61491
61495
  align-items: center;
61492
61496
  gap: 12px;
@@ -61510,8 +61514,8 @@ function dN() {
61510
61514
  :host {
61511
61515
  --breadcrumb-font-family: unset;
61512
61516
  --breadcrumb-font-letter-spacing: unset;
61513
- --breadcrumb-font-line-height: unset;
61514
- --breadcrumb-font-size: unset;
61517
+ --breadcrumb-font-line-height: var(--memphis-typography-body2-line-height);
61518
+ --breadcrumb-font-size: var(--memphis-typography-body2-font-size);
61515
61519
  --breadcrumb-font-text-decoration: unset;
61516
61520
  --breadcrumb-font-text-transform: unset;
61517
61521
  --breadcrumb-font-weight: unset;
@@ -61559,6 +61563,8 @@ function dN() {
61559
61563
  }
61560
61564
 
61561
61565
  :host {
61566
+ font-size: var(--breadcrumb-font-size);
61567
+ line-height: var(--breadcrumb-font-line-height);
61562
61568
  flex-direction: row;
61563
61569
  align-items: center;
61564
61570
  gap: 12px;
@@ -123623,7 +123629,7 @@ function $q() {
123623
123629
  --menu-item-background-color: var(--joy-scheme-highlight);
123624
123630
  }
123625
123631
 
123626
- :host([is-active]:hover) [part="root"] {
123632
+ :host([is-active]:not([is-active="false" i])):hover [part="root"] {
123627
123633
  --menu-item-background-color: var(--joy-color-primary-300);
123628
123634
  }
123629
123635
 
@@ -134554,21 +134560,25 @@ function TZ(e) {
134554
134560
  <slot name="prefix"></slot>
134555
134561
  </div>
134556
134562
  <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>
134563
+ <div part="heading">
134564
+ <slot name="header">
134565
+ <mosaik-text .text="${e.text}"
134566
+ .wrap="${!0}"></mosaik-text>
134567
+ </slot>
134568
+ <slot name="subHeader">
134569
+ <mosaik-text .text="${e.subText}"
134570
+ .wrap="${!0}"
134571
+ .maxLines="${1}"></mosaik-text>
134572
+ </slot>
134573
+ <slot name="additionalHeader">
134574
+ <mosaik-text .text="${e.additionalText}"
134575
+ .wrap="${!0}"
134576
+ .maxLines="${3}"></mosaik-text>
134577
+ </slot>
134578
+ </div>
134579
+ <div part="content">
134580
+ <slot></slot>
134581
+ </div>
134572
134582
  </div>
134573
134583
  <div part="suffix"
134574
134584
  ?hidden="${!wM(e, "has-suffix", e.hasSlotContent("suffix"))}">
@@ -134611,6 +134621,7 @@ function EZ() {
134611
134621
  --page-header-padding-left: unset;
134612
134622
  --page-header-padding-right: unset;
134613
134623
  --page-header-padding-top: unset;
134624
+ --page-header-prefix-gap: unset;
134614
134625
  --page-header-shadow: unset unset unset unset unset;
134615
134626
  --page-header-shadow-blur: unset;
134616
134627
  --page-header-shadow-color: unset;
@@ -134624,6 +134635,7 @@ function EZ() {
134624
134635
  --page-header-sub-header-font-text-decoration: var(--cosmopolitan-typography-subtitle1-text-decoration);
134625
134636
  --page-header-sub-header-font-text-transform: var(--cosmopolitan-typography-subtitle1-text-transform);
134626
134637
  --page-header-sub-header-font-weight: var(--cosmopolitan-typography-subtitle1-font-weight);
134638
+ --page-header-suffix-gap: unset;
134627
134639
  --page-header-transition-duration: unset;
134628
134640
  --page-header-transition-mode: unset;
134629
134641
  --page-header-transition-property: unset;
@@ -134667,7 +134679,7 @@ function EZ() {
134667
134679
  text-transform: var(--page-header-font-text-transform);
134668
134680
  background-color: var(--page-header-background-color);
134669
134681
  color: var(--page-header-foreground-color);
134670
- flex-direction: column;
134682
+ flex-direction: row;
134671
134683
  flex: 1;
134672
134684
  display: flex;
134673
134685
  position: relative;
@@ -134685,7 +134697,9 @@ function EZ() {
134685
134697
  }
134686
134698
 
134687
134699
  :host [part="root"] [part="prefix"] {
134700
+ gap: var(--page-header-prefix-gap);
134688
134701
  flex-shrink: 1;
134702
+ align-self: flex-start;
134689
134703
  align-items: center;
134690
134704
  display: flex;
134691
134705
  }
@@ -134704,7 +134718,17 @@ function EZ() {
134704
134718
  display: none;
134705
134719
  }
134706
134720
 
134721
+ :host [part="root"] [part="heading"] [part="content"] {
134722
+ flex-direction: column;
134723
+ display: flex;
134724
+ }
134725
+
134726
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
134727
+ display: none;
134728
+ }
134729
+
134707
134730
  :host [part="root"] [part="suffix"] {
134731
+ gap: var(--page-header-suffix-gap);
134708
134732
  flex-shrink: 1;
134709
134733
  align-items: center;
134710
134734
  display: flex;
@@ -134807,7 +134831,7 @@ function DZ() {
134807
134831
  --page-header-font-text-transform: var(--joy-typography-headline4-text-transform);
134808
134832
  --page-header-font-weight: var(--joy-typography-headline4-font-weight);
134809
134833
  --page-header-foreground-color: var(--joy-scheme-foreground);
134810
- --page-header-gap: unset;
134834
+ --page-header-gap: calc(var(--joy-layout-space) * 2);
134811
134835
  --page-header-header-font-family: var(--joy-font-family);
134812
134836
  --page-header-header-font-letter-spacing: var(--joy-typography-headline4-letter-spacing);
134813
134837
  --page-header-header-font-line-height: var(--joy-typography-headline4-line-height);
@@ -134820,6 +134844,7 @@ function DZ() {
134820
134844
  --page-header-padding-left: unset;
134821
134845
  --page-header-padding-right: unset;
134822
134846
  --page-header-padding-top: unset;
134847
+ --page-header-prefix-gap: var(--joy-layout-space);
134823
134848
  --page-header-shadow: unset unset unset unset unset;
134824
134849
  --page-header-shadow-blur: unset;
134825
134850
  --page-header-shadow-color: unset;
@@ -134833,6 +134858,7 @@ function DZ() {
134833
134858
  --page-header-sub-header-font-text-decoration: var(--joy-typography-subtitle1-text-decoration);
134834
134859
  --page-header-sub-header-font-text-transform: var(--joy-typography-subtitle1-text-transform);
134835
134860
  --page-header-sub-header-font-weight: var(--joy-typography-subtitle1-font-weight);
134861
+ --page-header-suffix-gap: var(--joy-layout-space);
134836
134862
  --page-header-transition-duration: unset;
134837
134863
  --page-header-transition-mode: unset;
134838
134864
  --page-header-transition-property: unset;
@@ -134876,7 +134902,7 @@ function DZ() {
134876
134902
  text-transform: var(--page-header-font-text-transform);
134877
134903
  background-color: var(--page-header-background-color);
134878
134904
  color: var(--page-header-foreground-color);
134879
- flex-direction: column;
134905
+ flex-direction: row;
134880
134906
  flex: 1;
134881
134907
  display: flex;
134882
134908
  position: relative;
@@ -134894,7 +134920,9 @@ function DZ() {
134894
134920
  }
134895
134921
 
134896
134922
  :host [part="root"] [part="prefix"] {
134923
+ gap: var(--page-header-prefix-gap);
134897
134924
  flex-shrink: 1;
134925
+ align-self: flex-start;
134898
134926
  align-items: center;
134899
134927
  display: flex;
134900
134928
  }
@@ -134913,7 +134941,17 @@ function DZ() {
134913
134941
  display: none;
134914
134942
  }
134915
134943
 
134944
+ :host [part="root"] [part="heading"] [part="content"] {
134945
+ flex-direction: column;
134946
+ display: flex;
134947
+ }
134948
+
134949
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
134950
+ display: none;
134951
+ }
134952
+
134916
134953
  :host [part="root"] [part="suffix"] {
134954
+ gap: var(--page-header-suffix-gap);
134917
134955
  flex-shrink: 1;
134918
134956
  align-items: center;
134919
134957
  display: flex;
@@ -134993,6 +135031,10 @@ function DZ() {
134993
135031
  padding: 0;
134994
135032
  }
134995
135033
 
135034
+ :host slot[name="additionalHeader"], :host slot[name="additionalHeader"] mosaik-text {
135035
+ color: var(--joy-scheme-middlelight);
135036
+ }
135037
+
134996
135038
  `;
134997
135039
  }
134998
135040
  //#endregion
@@ -135029,6 +135071,7 @@ function OZ() {
135029
135071
  --page-header-padding-left: unset;
135030
135072
  --page-header-padding-right: unset;
135031
135073
  --page-header-padding-top: unset;
135074
+ --page-header-prefix-gap: unset;
135032
135075
  --page-header-shadow: unset unset unset unset unset;
135033
135076
  --page-header-shadow-blur: unset;
135034
135077
  --page-header-shadow-color: unset;
@@ -135042,6 +135085,7 @@ function OZ() {
135042
135085
  --page-header-sub-header-font-text-decoration: var(--memphis-typography-subtitle1-text-decoration);
135043
135086
  --page-header-sub-header-font-text-transform: var(--memphis-typography-subtitle1-text-transform);
135044
135087
  --page-header-sub-header-font-weight: var(--memphis-typography-subtitle1-font-weight);
135088
+ --page-header-suffix-gap: unset;
135045
135089
  --page-header-transition-duration: unset;
135046
135090
  --page-header-transition-mode: unset;
135047
135091
  --page-header-transition-property: unset;
@@ -135085,7 +135129,7 @@ function OZ() {
135085
135129
  text-transform: var(--page-header-font-text-transform);
135086
135130
  background-color: var(--page-header-background-color);
135087
135131
  color: var(--page-header-foreground-color);
135088
- flex-direction: column;
135132
+ flex-direction: row;
135089
135133
  flex: 1;
135090
135134
  display: flex;
135091
135135
  position: relative;
@@ -135103,7 +135147,9 @@ function OZ() {
135103
135147
  }
135104
135148
 
135105
135149
  :host [part="root"] [part="prefix"] {
135150
+ gap: var(--page-header-prefix-gap);
135106
135151
  flex-shrink: 1;
135152
+ align-self: flex-start;
135107
135153
  align-items: center;
135108
135154
  display: flex;
135109
135155
  }
@@ -135122,7 +135168,17 @@ function OZ() {
135122
135168
  display: none;
135123
135169
  }
135124
135170
 
135171
+ :host [part="root"] [part="heading"] [part="content"] {
135172
+ flex-direction: column;
135173
+ display: flex;
135174
+ }
135175
+
135176
+ :host [part="root"] [part="heading"] [part="content"][hidden] {
135177
+ display: none;
135178
+ }
135179
+
135125
135180
  :host [part="root"] [part="suffix"] {
135181
+ gap: var(--page-header-suffix-gap);
135126
135182
  flex-shrink: 1;
135127
135183
  align-items: center;
135128
135184
  display: flex;
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.246",
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.246",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.246"
20
20
  },
21
21
  "exports": {
22
22
  ".": {