@sheetwrite/svelte 0.5.4 → 0.6.1
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/README.md +11 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,6 +32,12 @@ import "@sheetwrite/svelte/styles.css";
|
|
|
32
32
|
|
|
33
33
|
WASM initializes on client mount. Use `fallback` while loading, `onInitializationError` for failures, and `wasmSource` for an explicit source.
|
|
34
34
|
|
|
35
|
+
## New in 0.6.0
|
|
36
|
+
|
|
37
|
+
- Enable the opt-in ribbon with `config={{ ribbon: true }}`. It loads only when requested. See [Toolbar and ribbon](https://www.sheetwrite.dev/docs/features/grid/toolbar-and-ribbon/).
|
|
38
|
+
- Use the bound `Grid` and `grid.summarizeSelection(signal?)` for a custom status bar. The core shell shows Average, Count and Sum. See [Status bar](https://www.sheetwrite.dev/docs/features/grid/status-bar/).
|
|
39
|
+
- Core adds packed large undo and sync commits that do not scan the pending queue. Both formula engines add volatile functions, reference operators and iterative calculation. See [Editing and clipboard](https://www.sheetwrite.dev/docs/features/grid/editing-and-clipboard/), [Collaboration](https://www.sheetwrite.dev/docs/features/collaboration/) and [Choose an engine](https://www.sheetwrite.dev/docs/start/choose-an-engine/).
|
|
40
|
+
|
|
35
41
|
## Advanced component
|
|
36
42
|
|
|
37
43
|
```svelte
|
|
@@ -61,9 +67,13 @@ preserves the Grid and retains the loader's first-source warning.
|
|
|
61
67
|
|
|
62
68
|
Grid callbacks are `onGridChange`, `onViewportChange`, `onSelectionChange`, `onEditBegin`, `onEditCommit`, `onSearch`, `onCommandStateChange`, `onActiveSheetChange`, `onMutationRejected`, `onRendererFallback`, `onDatasourceError`, and `onExportError`.
|
|
63
69
|
|
|
64
|
-
For vanilla/preload control, use `initSheetwrite()` and `createGrid()` from `@sheetwrite/core`. See [installation](https://sheetwrite.
|
|
70
|
+
For vanilla/preload control, use `initSheetwrite()` and `createGrid()` from `@sheetwrite/core`. See [installation](https://www.sheetwrite.dev/docs/start/installation/), [Svelte tutorial](https://www.sheetwrite.dev/docs/tutorials/excel-in-svelte/), and [collaboration](https://www.sheetwrite.dev/docs/features/collaboration/).
|
|
65
71
|
|
|
66
72
|
XLSX is not installed by this adapter. If the toolbar configuration enables
|
|
67
73
|
XLSX export, install `@sheetwrite/xlsx` and import
|
|
68
74
|
`@sheetwrite/xlsx/register` before the action (or lazily inside its handler).
|
|
69
75
|
CSV/TSV require no optional package.
|
|
76
|
+
|
|
77
|
+
For workbook streaming and kept XLSX parts, use the registered core workbook
|
|
78
|
+
APIs. See [Large files and streaming](https://www.sheetwrite.dev/docs/import-export/large-files-and-streaming/)
|
|
79
|
+
and [Kept parts and round trips](https://www.sheetwrite.dev/docs/import-export/kept-parts-and-round-trips/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetwrite/svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Svelte adapter for Sheetwrite.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/chh-ay/sheetwrite.git",
|
|
10
10
|
"directory": "packages/svelte"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://sheetwrite.
|
|
12
|
+
"homepage": "https://www.sheetwrite.dev/",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/chh-ay/sheetwrite/issues"
|
|
15
15
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"svelte": ">=5"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@sheetwrite/core": "0.
|
|
51
|
+
"@sheetwrite/core": "0.6.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"svelte-check": "4.7.3",
|