@sheetwrite/svelte 0.1.0 → 0.2.0

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/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@sheetwrite/svelte",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Svelte adapter for Sheetwrite.",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/chh-ay/Sheetwrite.git",
9
+ "url": "git+https://github.com/chh-ay/sheetwrite.git",
10
10
  "directory": "packages/svelte"
11
11
  },
12
- "homepage": "https://chh-ay.github.io/Sheetwrite/",
12
+ "homepage": "https://sheetwrite.vercel.app/",
13
13
  "bugs": {
14
- "url": "https://github.com/chh-ay/Sheetwrite/issues"
14
+ "url": "https://github.com/chh-ay/sheetwrite/issues"
15
15
  },
16
16
  "keywords": [
17
17
  "spreadsheet",
@@ -44,7 +44,7 @@
44
44
  "svelte": ">=5"
45
45
  },
46
46
  "dependencies": {
47
- "@sheetwrite/core": "0.1.0"
47
+ "@sheetwrite/core": "0.2.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "svelte-check": "4.7.3",
package/src/Grid.svelte CHANGED
@@ -21,6 +21,7 @@ let {
21
21
  readOnly,
22
22
  protectionResolver,
23
23
  mutationPolicy,
24
+ transactionResourceLimits,
24
25
  renderers,
25
26
  overscan,
26
27
  minColumns,
@@ -100,6 +101,7 @@ $effect(() => {
100
101
  workerUrl,
101
102
  protectionResolver,
102
103
  mutationPolicy,
104
+ transactionResourceLimits,
103
105
  renderers,
104
106
  wasmSource,
105
107
  };
@@ -113,6 +115,7 @@ $effect(() => {
113
115
  workerUrl: resetInputs.workerUrl,
114
116
  protectionResolver: resetInputs.protectionResolver,
115
117
  mutationPolicy: resetInputs.mutationPolicy,
118
+ transactionResourceLimits: resetInputs.transactionResourceLimits,
116
119
  renderers: resetInputs.renderers,
117
120
  theme,
118
121
  readOnly,
package/src/props.ts CHANGED
@@ -33,6 +33,8 @@ export interface SheetwriteGridProps
33
33
  protectionResolver?: GridOptions["protectionResolver"];
34
34
  /** Atomic or partial denial policy. */
35
35
  mutationPolicy?: GridOptions["mutationPolicy"];
36
+ /** Overrides inclusive operation-count and encoded-byte ceilings for every atomic mutation. */
37
+ transactionResourceLimits?: GridOptions["transactionResourceLimits"];
36
38
  /** Named custom cell renderers. */
37
39
  renderers?: GridOptions["renderers"];
38
40
  /** Extra rows painted around the viewport. */