@breadstone/mosaik-elements-svelte 0.1.55 → 0.1.57

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 CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.1.57 (2026-07-23)
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.1.56 (2026-07-23)
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.1.55 (2026-07-23)
2
10
 
3
11
  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
@@ -181685,12 +181685,13 @@ var b2 = function(e, t, n, r) {
181685
181685
  _contentMarginChanged;
181686
181686
  _resizeController;
181687
181687
  _drawer;
181688
+ _observedDrawerTarget;
181688
181689
  _content;
181689
181690
  _autoSize;
181690
181691
  _hasBackdrop;
181691
181692
  _isOpen;
181692
181693
  constructor() {
181693
- super(), this._drawer = null, this._content = null, this._autoSize = !1, this._hasBackdrop = !1, this._isOpen = !1, this._contentMarginChanged = new E(this, "contentMarginChanged", { bubbles: !1 }), this._resizeController = new Oz(this, { callback: () => this.updateContentMargins() });
181694
+ super(), this._drawer = null, this._observedDrawerTarget = null, this._content = null, this._autoSize = !1, this._hasBackdrop = !1, this._isOpen = !1, this._contentMarginChanged = new E(this, "contentMarginChanged", { bubbles: !1 }), this._resizeController = new Oz(this, { callback: () => this.updateContentMargins() });
181694
181695
  }
181695
181696
  static get is() {
181696
181697
  return "mosaik-drawer-container";
@@ -181733,7 +181734,14 @@ var b2 = function(e, t, n, r) {
181733
181734
  this.isOpen = e, this._content && (this._content.isOpen = e), this.updateContentMargins();
181734
181735
  }
181735
181736
  onApplyTemplate() {
181736
- super.onApplyTemplate(), this._drawer = O.current.findDescendant(this, y2), this._content = O.current.findDescendant(this, Z0), this._drawer?.parentElement === this && (this._drawer.on("opened", () => this.updateContentMargins()), this._drawer.on("closed", () => this.updateContentMargins()), this.updateDrawerState());
181737
+ super.onApplyTemplate(), this._drawer = O.current.findDescendant(this, y2), this._content = O.current.findDescendant(this, Z0), this._drawer?.parentElement === this && (this._drawer.on("opened", () => this.updateContentMargins()), this._drawer.on("closed", () => this.updateContentMargins()), this.observeDrawerSize(this._drawer), this.updateDrawerState());
181738
+ }
181739
+ observeDrawerSize(e) {
181740
+ e.updateComplete.then(() => {
181741
+ if (this._drawer !== e || e.parentElement !== this) return;
181742
+ let t = e.animationTarget;
181743
+ this._observedDrawerTarget !== t && (this._observedDrawerTarget && this._resizeController.unobserve(this._observedDrawerTarget), this._observedDrawerTarget = t, this._resizeController.observe(t));
181744
+ });
181737
181745
  }
181738
181746
  updateContentMargins() {
181739
181747
  this.updateComplete.then(() => {
@@ -216796,6 +216804,7 @@ function DTe() {
216796
216804
  --table-body-cell-font-weight: unset;
216797
216805
  --table-body-cell-foreground-color: unset;
216798
216806
  --table-body-cell-gap: unset;
216807
+ --table-body-cell-height: var(--data-table-cell-height);
216799
216808
  --table-body-cell-padding-bottom: unset;
216800
216809
  --table-body-cell-padding-left: unset;
216801
216810
  --table-body-cell-padding-right: unset;
@@ -216854,11 +216863,13 @@ function DTe() {
216854
216863
  padding-left: var(--table-body-cell-padding-left);
216855
216864
  border-right: var(--table-column-border-width, 0px) var(--table-column-border-style, solid) var(--table-column-border-color, transparent);
216856
216865
  white-space: nowrap;
216866
+ min-width: 0;
216867
+ min-height: var(--table-body-cell-height);
216868
+ max-height: var(--table-body-cell-height);
216857
216869
  content-visibility: auto;
216858
216870
  isolation: isolate;
216859
216871
  flex-direction: row;
216860
216872
  align-items: center;
216861
- min-width: 0;
216862
216873
  display: flex;
216863
216874
  position: relative;
216864
216875
  overflow: hidden;
@@ -216950,6 +216961,7 @@ function OTe() {
216950
216961
  --table-body-cell-font-weight: var(--joy-typography-body1-font-weight);
216951
216962
  --table-body-cell-foreground-color: var(--joy-scheme-foreground);
216952
216963
  --table-body-cell-gap: var(--joy-layout-space);
216964
+ --table-body-cell-height: var(--data-table-cell-height);
216953
216965
  --table-body-cell-padding-bottom: var(--joy-layout-space);
216954
216966
  --table-body-cell-padding-left: calc(var(--joy-layout-space) * 2);
216955
216967
  --table-body-cell-padding-right: calc(var(--joy-layout-space) * 2);
@@ -217008,11 +217020,13 @@ function OTe() {
217008
217020
  padding-left: var(--table-body-cell-padding-left);
217009
217021
  border-right: var(--table-column-border-width, 0px) var(--table-column-border-style, solid) var(--table-column-border-color, transparent);
217010
217022
  white-space: nowrap;
217023
+ min-width: 0;
217024
+ min-height: var(--table-body-cell-height);
217025
+ max-height: var(--table-body-cell-height);
217011
217026
  content-visibility: auto;
217012
217027
  isolation: isolate;
217013
217028
  flex-direction: row;
217014
217029
  align-items: center;
217015
- min-width: 0;
217016
217030
  display: flex;
217017
217031
  position: relative;
217018
217032
  overflow: hidden;
@@ -217105,6 +217119,7 @@ function kTe() {
217105
217119
  --table-body-cell-font-weight: var(--memphis-typography-body1-font-weight);
217106
217120
  --table-body-cell-foreground-color: var(--memphis-color-neutral-50);
217107
217121
  --table-body-cell-gap: var(--memphis-layout-space);
217122
+ --table-body-cell-height: var(--data-table-cell-height);
217108
217123
  --table-body-cell-padding-bottom: 0px;
217109
217124
  --table-body-cell-padding-left: calc(var(--memphis-layout-space) * 2);
217110
217125
  --table-body-cell-padding-right: calc(var(--memphis-layout-space) * 2);
@@ -217163,11 +217178,13 @@ function kTe() {
217163
217178
  padding-left: var(--table-body-cell-padding-left);
217164
217179
  border-right: var(--table-column-border-width, 0px) var(--table-column-border-style, solid) var(--table-column-border-color, transparent);
217165
217180
  white-space: nowrap;
217181
+ min-width: 0;
217182
+ min-height: var(--table-body-cell-height);
217183
+ max-height: var(--table-body-cell-height);
217166
217184
  content-visibility: auto;
217167
217185
  isolation: isolate;
217168
217186
  flex-direction: row;
217169
217187
  align-items: center;
217170
- min-width: 0;
217171
217188
  display: flex;
217172
217189
  position: relative;
217173
217190
  overflow: hidden;
@@ -217260,6 +217277,9 @@ var n5 = function(e, t, n, r) {
217260
217277
  static get is() {
217261
217278
  return "mosaik-table-body-cell";
217262
217279
  }
217280
+ connectedCallback() {
217281
+ super.connectedCallback(), this.updateSelectionClickHandler();
217282
+ }
217263
217283
  disconnectedCallback() {
217264
217284
  super.disconnectedCallback(), this._selectionClickSubscription?.dispose();
217265
217285
  }
@@ -217734,6 +217754,9 @@ var PTe = function(e, t, n, r) {
217734
217754
  static get is() {
217735
217755
  return "mosaik-table-body-row";
217736
217756
  }
217757
+ connectedCallback() {
217758
+ super.connectedCallback(), this.updateSelectionClickHandler();
217759
+ }
217737
217760
  disconnectedCallback() {
217738
217761
  super.disconnectedCallback(), this._clickSubscription?.dispose();
217739
217762
  }
@@ -219604,6 +219627,7 @@ function eEe() {
219604
219627
  return B`
219605
219628
  :host {
219606
219629
  --data-table-border-radius: var(--cosmopolitan-layout-radius);
219630
+ --data-table-cell-height: unset;
219607
219631
  --data-table-font-family: unset;
219608
219632
  --data-table-font-letter-spacing: unset;
219609
219633
  --data-table-font-line-height: unset;
@@ -219716,6 +219740,7 @@ function tEe() {
219716
219740
  return B`
219717
219741
  :host {
219718
219742
  --data-table-border-radius: var(--joy-layout-radius);
219743
+ --data-table-cell-height: 56px;
219719
219744
  --data-table-font-family: unset;
219720
219745
  --data-table-font-letter-spacing: unset;
219721
219746
  --data-table-font-line-height: unset;
@@ -219829,6 +219854,7 @@ function nEe() {
219829
219854
  return B`
219830
219855
  :host {
219831
219856
  --data-table-border-radius: var(--memphis-layout-radius);
219857
+ --data-table-cell-height: unset;
219832
219858
  --data-table-font-family: unset;
219833
219859
  --data-table-font-letter-spacing: unset;
219834
219860
  --data-table-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.55",
3
+ "version": "0.1.57",
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.55",
15
- "@breadstone/mosaik-elements-foundation": "0.1.55",
14
+ "@breadstone/mosaik-elements": "0.1.57",
15
+ "@breadstone/mosaik-elements-foundation": "0.1.57",
16
16
  "tslib": "2.8.1"
17
17
  },
18
18
  "peerDependencies": {