@breadstone/mosaik-elements-svelte 0.0.241 → 0.0.242

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 +10 -0
  2. package/index.mjs +50 -4
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 0.0.242 (2026-04-30)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **release:** update release commands to use version from mosaik-themes package ([89c563205d](https://github.com/RueDeRennes/mosaik/commit/89c563205d))
6
+
7
+ ### 🩹 Fixes
8
+
9
+ - **release:** update changelog command to use version from mosaik-themes package ([cbe25acac5](https://github.com/RueDeRennes/mosaik/commit/cbe25acac5))
10
+
1
11
  ## 0.0.241 (2026-04-30)
2
12
 
3
13
  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
@@ -103736,6 +103736,12 @@ function GU() {
103736
103736
  right: 0;
103737
103737
  }
103738
103738
 
103739
+ :host [part="summary"] ::slotted(mosaik-paginator) {
103740
+ flex-direction: row-reverse;
103741
+ align-items: center;
103742
+ display: flex;
103743
+ }
103744
+
103739
103745
  :host([appearance="plain"]) {
103740
103746
  --table-border-width: 0px;
103741
103747
  }
@@ -103871,6 +103877,12 @@ function KU() {
103871
103877
  right: 0;
103872
103878
  }
103873
103879
 
103880
+ :host [part="summary"] ::slotted(mosaik-paginator) {
103881
+ flex-direction: row-reverse;
103882
+ align-items: center;
103883
+ display: flex;
103884
+ }
103885
+
103874
103886
  :host([appearance="plain"]) {
103875
103887
  --table-border-width: 0px;
103876
103888
  }
@@ -104017,6 +104029,12 @@ function qU() {
104017
104029
  right: 0;
104018
104030
  }
104019
104031
 
104032
+ :host [part="summary"] ::slotted(mosaik-paginator) {
104033
+ flex-direction: row-reverse;
104034
+ align-items: center;
104035
+ display: flex;
104036
+ }
104037
+
104020
104038
  :host([appearance="plain"]) {
104021
104039
  --table-border-width: 0px;
104022
104040
  }
@@ -207084,6 +207102,7 @@ function CCe(e) {
207084
207102
  ?resizable="${e.resizable}"
207085
207103
  ?alternating="${e.alternating}"
207086
207104
  @columnsChanged="${e.onColumnsChanged}"
207105
+ @tableSelectionChanged="${(t) => e.onTableSelectionChanged(t)}"
207087
207106
  @tableChooseColumns="${() => e.openEditor()}">
207088
207107
  <slot name="caption" slot="caption"></slot>
207089
207108
  ${U(e.allColumnsHidden, () => V`
@@ -207531,6 +207550,9 @@ var h5 = function(e, t, n, r) {
207531
207550
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
207532
207551
  }, _5 = class extends F(J(R(V8))) {
207533
207552
  _intl;
207553
+ _tableSelectionChanged;
207554
+ _dataTableEditorOpened;
207555
+ _dataTableEditorClosed;
207534
207556
  _alternating;
207535
207557
  _autoGenerateColumns;
207536
207558
  _caption;
@@ -207551,7 +207573,7 @@ var h5 = function(e, t, n, r) {
207551
207573
  _columnWidths;
207552
207574
  _suppressColumnsChanged;
207553
207575
  constructor() {
207554
- super(), this._intl = wI(this, { factory: () => new HU() }), this._alternating = !1, this._autoGenerateColumns = !1, this._caption = "", this._columnDefinitions = [], this._selectionType = VU.Row, this._selectionMode = BU.None, this._resizable = !1, this._sortable = !1, this._pinable = !1, this._hideable = !1, this._autoSizeable = !1, this._columnChoosable = !1, this._reorderable = !1, this._sortMode = "single", this._editorOpened = !1, this._sorted = !1, this._suppressColumnsChanged = !1, this._sortedSource = [], this._columnWidths = /* @__PURE__ */ new Map();
207576
+ super(), this._intl = wI(this, { factory: () => new HU() }), this._alternating = !1, this._autoGenerateColumns = !1, this._caption = "", this._columnDefinitions = [], this._selectionType = VU.Row, this._selectionMode = BU.None, this._resizable = !1, this._sortable = !1, this._pinable = !1, this._hideable = !1, this._autoSizeable = !1, this._columnChoosable = !1, this._reorderable = !1, this._sortMode = "single", this._editorOpened = !1, this._sorted = !1, this._suppressColumnsChanged = !1, this._sortedSource = [], this._columnWidths = /* @__PURE__ */ new Map(), this._tableSelectionChanged = new E(this, "tableSelectionChanged"), this._dataTableEditorOpened = new E(this, "dataTableEditorOpened"), this._dataTableEditorClosed = new E(this, "dataTableEditorClosed");
207555
207577
  }
207556
207578
  static get is() {
207557
207579
  return "mosaik-data-table";
@@ -207652,6 +207674,15 @@ var h5 = function(e, t, n, r) {
207652
207674
  get sortedSource() {
207653
207675
  return this._sorted ? this._sortedSource : this.source;
207654
207676
  }
207677
+ get tableSelectionChanged() {
207678
+ return this._tableSelectionChanged;
207679
+ }
207680
+ get dataTableEditorOpened() {
207681
+ return this._dataTableEditorOpened;
207682
+ }
207683
+ get dataTableEditorClosed() {
207684
+ return this._dataTableEditorClosed;
207685
+ }
207655
207686
  get allColumnsHidden() {
207656
207687
  let e = this.getColumns();
207657
207688
  return e.length > 0 && e.every((e) => e.hidden === !0);
@@ -207699,10 +207730,13 @@ var h5 = function(e, t, n, r) {
207699
207730
  key: e.key,
207700
207731
  title: e.title ?? e.key,
207701
207732
  visible: e.hidden !== !0
207702
- }))), this._editorOpened = !0, this.requestUpdate("editorOpened");
207733
+ }))), this._editorOpened = !0, this.requestUpdate("editorOpened"), this._dataTableEditorOpened.emit({});
207703
207734
  }
207704
207735
  closeEditor() {
207705
- this._editorOpened = !1, this.requestUpdate("editorOpened");
207736
+ this._editorOpened = !1, this.requestUpdate("editorOpened"), this._dataTableEditorClosed.emit({});
207737
+ }
207738
+ onTableSelectionChanged(e) {
207739
+ this._tableSelectionChanged.emit(e.detail);
207706
207740
  }
207707
207741
  applyColumnEditorChanges(e) {
207708
207742
  this._autoGenerateColumns &&= (this._columnDefinitions = this.getColumns(), !1), this.snapshotColumnWidthsFromDom();
@@ -207881,7 +207915,19 @@ h5([
207881
207915
  P({ type: Array }),
207882
207916
  g5("design:type", Array),
207883
207917
  g5("design:paramtypes", [])
207884
- ], _5.prototype, "sortedSource", null), _5 = h5([H({
207918
+ ], _5.prototype, "sortedSource", null), h5([
207919
+ k({ eventName: "tableSelectionChanged" }),
207920
+ g5("design:type", Object),
207921
+ g5("design:paramtypes", [])
207922
+ ], _5.prototype, "tableSelectionChanged", null), h5([
207923
+ k({ eventName: "dataTableEditorOpened" }),
207924
+ g5("design:type", Object),
207925
+ g5("design:paramtypes", [])
207926
+ ], _5.prototype, "dataTableEditorOpened", null), h5([
207927
+ k({ eventName: "dataTableEditorClosed" }),
207928
+ g5("design:type", Object),
207929
+ g5("design:paramtypes", [])
207930
+ ], _5.prototype, "dataTableEditorClosed", null), _5 = h5([H({
207885
207931
  selector: "mosaik-data-table",
207886
207932
  template: CCe,
207887
207933
  themes: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/mosaik-elements-svelte",
3
- "version": "0.0.241",
3
+ "version": "0.0.242",
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.241",
19
- "@breadstone/mosaik-elements-foundation": "^0.0.241"
18
+ "@breadstone/mosaik-elements": "^0.0.242",
19
+ "@breadstone/mosaik-elements-foundation": "^0.0.242"
20
20
  },
21
21
  "exports": {
22
22
  ".": {