@tldraw/store
Advanced tools
Comparing version
@@ -988,6 +988,6 @@ import { Atom } from '@tldraw/state'; | ||
* // Automatically create a shape when a page is created | ||
* editor.createShape({ | ||
* editor.createShape<TLTextShape>({ | ||
* id: createShapeId(), | ||
* type: 'text', | ||
* props: { text: page.name }, | ||
* props: { richText: toRichText(page.name) }, | ||
* }) | ||
@@ -994,0 +994,0 @@ * }) |
@@ -58,5 +58,5 @@ "use strict"; | ||
"@tldraw/store", | ||
"3.9.0", | ||
"3.10.0-canary.12c0cb0549ca", | ||
"cjs" | ||
); | ||
//# sourceMappingURL=index.js.map |
@@ -194,6 +194,6 @@ "use strict"; | ||
* // Automatically create a shape when a page is created | ||
* editor.createShape({ | ||
* editor.createShape<TLTextShape>({ | ||
* id: createShapeId(), | ||
* type: 'text', | ||
* props: { text: page.name }, | ||
* props: { richText: toRichText(page.name) }, | ||
* }) | ||
@@ -200,0 +200,0 @@ * }) |
{ | ||
"name": "@tldraw/store", | ||
"description": "A tiny little drawing app (store).", | ||
"version": "3.9.0", | ||
"version": "3.10.0-canary.12c0cb0549ca", | ||
"author": { | ||
@@ -45,4 +45,4 @@ "name": "tldraw Inc.", | ||
"dependencies": { | ||
"@tldraw/state": "3.9.0", | ||
"@tldraw/utils": "3.9.0", | ||
"@tldraw/state": "3.10.0-canary.12c0cb0549ca", | ||
"@tldraw/utils": "3.10.0-canary.12c0cb0549ca", | ||
"lodash.isequal": "^4.5.0" | ||
@@ -49,0 +49,0 @@ }, |
@@ -249,6 +249,6 @@ import { UnknownRecord } from './BaseRecord' | ||
* // Automatically create a shape when a page is created | ||
* editor.createShape({ | ||
* editor.createShape<TLTextShape>({ | ||
* id: createShapeId(), | ||
* type: 'text', | ||
* props: { text: page.name }, | ||
* props: { richText: toRichText(page.name) }, | ||
* }) | ||
@@ -255,0 +255,0 @@ * }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
838271
0.04%1
Infinity%+ Added
+ Added
- Removed
- Removed