@tldraw/state-react 5.2.0-canary.e09b35094c3c → 5.2.0-canary.ed81413e0a67
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 +5 -1
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +4 -4
- package/src/lib/useQuickReactor.test.tsx +1 -1
- package/src/lib/useReactor.test.tsx +1 -1
package/README.md
CHANGED
|
@@ -6,11 +6,15 @@ To learn more about this check out the [Signia library's React bindings](https:/
|
|
|
6
6
|
|
|
7
7
|
## Documentation
|
|
8
8
|
|
|
9
|
+
Documentation for the most recent release can be found on [tldraw.dev/docs](https://tldraw.dev/docs), including [reference docs](https://tldraw.dev/reference/editor/Editor). Our release notes can be found [here](https://tldraw.dev/releases).
|
|
10
|
+
|
|
11
|
+
For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).
|
|
12
|
+
|
|
9
13
|
A `DOCS.md` file is included alongside this README in the published package, with detailed API documentation and usage examples.
|
|
10
14
|
|
|
11
15
|
## Contribution
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
|
|
14
18
|
|
|
15
19
|
## License
|
|
16
20
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var import_useStateTracking = require("./lib/useStateTracking");
|
|
|
37
37
|
var import_useValue = require("./lib/useValue");
|
|
38
38
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
39
39
|
"@tldraw/state-react",
|
|
40
|
-
"5.2.0-canary.
|
|
40
|
+
"5.2.0-canary.ed81413e0a67",
|
|
41
41
|
"cjs"
|
|
42
42
|
);
|
|
43
43
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/state-react",
|
|
3
3
|
"description": "tldraw infinite canvas SDK (react bindings for state).",
|
|
4
|
-
"version": "5.2.0-canary.
|
|
4
|
+
"version": "5.2.0-canary.ed81413e0a67",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tldraw/state": "5.2.0-canary.
|
|
48
|
-
"@tldraw/utils": "5.2.0-canary.
|
|
47
|
+
"@tldraw/state": "5.2.0-canary.ed81413e0a67",
|
|
48
|
+
"@tldraw/utils": "5.2.0-canary.ed81413e0a67"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@testing-library/dom": "^10.0.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/react-dom": "^19.2.3",
|
|
55
55
|
"react": "^19.2.1",
|
|
56
56
|
"react-dom": "^19.2.1",
|
|
57
|
-
"vitest": "^
|
|
57
|
+
"vitest": "^4.1.7"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react": "^18.2.0 || ^19.2.1",
|
|
@@ -6,7 +6,7 @@ import { useAtom } from './useAtom'
|
|
|
6
6
|
import { useQuickReactor } from './useQuickReactor'
|
|
7
7
|
|
|
8
8
|
describe('useQuickReactor', () => {
|
|
9
|
-
let mockEffectFn: ReturnType<typeof vi.fn
|
|
9
|
+
let mockEffectFn: ReturnType<typeof vi.fn<(...args: any[]) => any>>
|
|
10
10
|
let _component: () => React.JSX.Element
|
|
11
11
|
let view: RenderResult
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ import { useAtom } from './useAtom'
|
|
|
6
6
|
import { useReactor } from './useReactor'
|
|
7
7
|
|
|
8
8
|
describe('useReactor', () => {
|
|
9
|
-
let mockEffectFn: ReturnType<typeof vi.fn
|
|
9
|
+
let mockEffectFn: ReturnType<typeof vi.fn<(...args: any[]) => any>>
|
|
10
10
|
let view: RenderResult
|
|
11
11
|
|
|
12
12
|
beforeEach(() => {
|