@guiexpert/svelte-table 5.1.98 → 5.1.99

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.
@@ -72,6 +72,16 @@
72
72
  * @type {((evt: import("@guiexpert/table").GeDetailEvent) => void) | undefined}
73
73
  */
74
74
  export let onDetailExpandedChanged = undefined;
75
+ /**
76
+ * Excel-style editing and the cell editor (since 1.1.99): opened, text changed, committed or cancelled.
77
+ * @type {((evt: import("@guiexpert/table").GeEditEvent) => void) | undefined}
78
+ */
79
+ export let onEditingChanged = undefined;
80
+ /**
81
+ * Undo and redo (since 1.1.99): the undo history changed.
82
+ * @type {((evt: import("@guiexpert/table").GeUndoEvent) => void) | undefined}
83
+ */
84
+ export let onUndoStackChanged = undefined;
75
85
 
76
86
  const dispatch = createEventDispatcher();
77
87
 
@@ -98,7 +108,9 @@
98
108
  onRowDragMove: (evt) => { dispatch("rowDragMove", evt); onRowDragMove?.(evt); },
99
109
  onRowDragEnd: (evt) => { dispatch("rowDragEnd", evt); onRowDragEnd?.(evt); },
100
110
  onBatchEditChanged: (evt) => { dispatch("batchEditChanged", evt); onBatchEditChanged?.(evt); },
101
- onDetailExpandedChanged: (evt) => { dispatch("detailExpandedChanged", evt); onDetailExpandedChanged?.(evt); }
111
+ onDetailExpandedChanged: (evt) => { dispatch("detailExpandedChanged", evt); onDetailExpandedChanged?.(evt); },
112
+ onEditingChanged: (evt) => { dispatch("editingChanged", evt); onEditingChanged?.(evt); },
113
+ onUndoStackChanged: (evt) => { dispatch("undoStackChanged", evt); onUndoStackChanged?.(evt); }
102
114
  };
103
115
 
104
116
  /**
@@ -6,6 +6,8 @@ import type {
6
6
  GeRowDragEvent,
7
7
  GeBatchEditEvent,
8
8
  GeDetailEvent,
9
+ GeEditEvent,
10
+ GeUndoEvent,
9
11
  GeScrollEvent,
10
12
  GeStateChangeEvent,
11
13
  SelectionModelIf,
@@ -42,6 +44,10 @@ export interface GuiexpertTableProps {
42
44
  onBatchEditChanged?: (evt: GeBatchEditEvent) => void;
43
45
  /** Master/detail: a detail row was expanded or collapsed. @since 1.1.97 */
44
46
  onDetailExpandedChanged?: (evt: GeDetailEvent) => void;
47
+ /** The cell editor opened, its text changed, it committed or it was cancelled. @since 1.1.99 */
48
+ onEditingChanged?: (evt: GeEditEvent) => void;
49
+ /** The undo history changed. @since 1.1.99 */
50
+ onUndoStackChanged?: (evt: GeUndoEvent) => void;
45
51
  }
46
52
 
47
53
  export interface GuiexpertTableEvents {
@@ -66,6 +72,10 @@ export interface GuiexpertTableEvents {
66
72
  batchEditChanged: CustomEvent<GeBatchEditEvent>;
67
73
  /** @since 1.1.97 */
68
74
  detailExpandedChanged: CustomEvent<GeDetailEvent>;
75
+ /** @since 1.1.99 */
76
+ editingChanged: CustomEvent<GeEditEvent>;
77
+ /** @since 1.1.99 */
78
+ undoStackChanged: CustomEvent<GeUndoEvent>;
69
79
  }
70
80
 
71
81
  /**
package/README.md CHANGED
@@ -37,6 +37,25 @@ This is the UI-agnostic table component for your next web app. 😊
37
37
  - Full control over the HTML structure and style
38
38
 
39
39
 
40
+ ### New in October 2026 (1.1.91 – 1.1.99) – all MIT-licensed
41
+
42
+ - Screen readers and keyboard: WAI-ARIA grid, announcements, full keyboard navigation (1.1.91)
43
+ - “Loading…” and “No rows” overlays with a CSS spinner, `loading` prop (1.1.92)
44
+ - Save and restore the state: column layout, sorting, scroll position, selection – localStorage or your server (1.1.92)
45
+ - Row numbers like in a spreadsheet: `rowNumbersVisible: true` (1.1.93)
46
+ - Total rows that follow the filter, sums of the selection: `footerAggregates` (1.1.94)
47
+ - Row grouping with subtotals: `RowGroupFactory` (1.1.94)
48
+ - Pivot tables: `PivotFactory` (1.1.94)
49
+ - Calculated columns, “Show values as” and formulas without `eval`: `valueGetter`, `showValuesAs`, `formula` (1.1.95)
50
+ - Drag rows into order – mouse, touch, keyboard: `rowDrag: true` (1.1.95)
51
+ - Fill handle and batch edit: `fillHandle`, `batchEdit` (1.1.96)
52
+ - Master/detail with nested tables or components: `masterDetail` (1.1.97)
53
+ - Right-to-left for Arabic, Hebrew, Persian: `direction: "rtl"` (1.1.98)
54
+ - A spreadsheet: A1 cell formulas, copy & paste with Excel, undo/redo, formula bar – `SpreadsheetFactory`, or `spreadsheet: true` for your table (1.1.99)
55
+
56
+ All thirteen with code and live demos: [gui.expert/whats-new](https://gui.expert/whats-new/) ·
57
+ training: [gui.expert/training](https://gui.expert/training/)
58
+
40
59
  ## Links
41
60
 
42
61
  - [Demos](https://gui.expert/demos)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guiexpert/svelte-table",
3
- "version": "5.1.98",
3
+ "version": "5.1.99",
4
4
  "license": "MIT",
5
5
  "author": "Dr. Marc Kronberg <info@gui.expert> (https://gui.expert)",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "tslib": "^2.3.0",
33
- "@guiexpert/table": "^1.1.98"
33
+ "@guiexpert/table": "^1.1.99"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "svelte": "^4.0.0 || ^5.0.0"