kopia lustrzana https://github.com/Tldraw/Tldraw
bump
rodzic
4dd1aea572
commit
63137b04e9
|
@ -1,3 +1,8 @@
|
|||
## 0.1.11
|
||||
|
||||
- Fixes behavior of context menu.
|
||||
- Fixes appearance of keyboard shortcuts in tooltips.
|
||||
|
||||
## 0.1.10
|
||||
|
||||
- Fixes spacing in text and sticky shapes.
|
||||
|
|
|
@ -12,7 +12,7 @@ This package contains the [tldraw](https://tldraw.com) editor as a React compone
|
|||
|
||||
## Installation
|
||||
|
||||
Use your package manager of choice to install `@tldraw/core` and its peer dependencies.
|
||||
Use your package manager of choice to install `@tldraw/tldraw` and its peer dependencies.
|
||||
|
||||
```bash
|
||||
yarn add @tldraw/tldraw
|
||||
|
@ -154,7 +154,7 @@ const tldocument: TLDrawDocument = {
|
|||
}
|
||||
```
|
||||
|
||||
**Tip:** TLDraw is built [@tldraw/core](https://github.com/tldraw/core). The pages and pagestates in TLDraw are just objects containing `TLPage` and `TLPageState` objects from the core library. For more about these types, check out the [@tldraw/core](https://github.com/tldraw/core) documentation.
|
||||
**Tip:** TLDraw is built on [@tldraw/core](https://github.com/tldraw/core). The pages and pageStates in TLDraw are just objects containing `TLPage` and `TLPageState` objects from the core library. For more about these types, check out the [@tldraw/core](https://github.com/tldraw/core) documentation.
|
||||
|
||||
**Important:** In the `pages` object, each `TLPage` object must be keyed under its `id` property. Likewise, each `TLPageState` object must be keyed under its `id`. In addition, each `TLPageState` object must have an `id` that matches its corresponding page.
|
||||
|
||||
|
|
|
@ -47,9 +47,9 @@
|
|||
"@radix-ui/react-radio-group": "^0.1.1",
|
||||
"@radix-ui/react-tooltip": "^0.1.1",
|
||||
"@stitches/react": "^1.2.5",
|
||||
"@tldraw/core": "^0.1.18",
|
||||
"@tldraw/intersect": "^0.1.3",
|
||||
"@tldraw/vec": "^0.1.3",
|
||||
"@tldraw/core": "latest",
|
||||
"@tldraw/intersect": "latest",
|
||||
"@tldraw/vec": "latest",
|
||||
"perfect-freehand": "^1.0.16",
|
||||
"react-hotkeys-hook": "^3.4.0",
|
||||
"rko": "^0.6.2",
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -3118,16 +3118,16 @@
|
|||
"@babel/runtime" "^7.12.5"
|
||||
"@testing-library/dom" "^8.0.0"
|
||||
|
||||
"@tldraw/core@^0.1.18":
|
||||
version "0.1.18"
|
||||
resolved "https://registry.yarnpkg.com/@tldraw/core/-/core-0.1.18.tgz#b768c759c205038c9b8c7b9c9e018c67c49be0de"
|
||||
integrity sha512-Oe5cPVb76oENbvJa+QDuZLfW0wXwc1XNntDB0szFq4HUofd6CtG+4P5ZXtnc0pAff61Pyp5ajwozogNy5+sVlA==
|
||||
"@tldraw/core@latest":
|
||||
version "0.1.19"
|
||||
resolved "https://registry.yarnpkg.com/@tldraw/core/-/core-0.1.19.tgz#4bed3b8faeb48933aa75761cf76665bd69d0abe6"
|
||||
integrity sha512-O/ZHfd6qEg8G+0rEIcd3trEhbF9R2SdEG9H0BZUo2ZG+6JyJNUDka2OCJi6gdFg90JEvLCq5rKg23ay7qEUidQ==
|
||||
dependencies:
|
||||
"@tldraw/intersect" latest
|
||||
"@tldraw/vec" latest
|
||||
"@use-gesture/react" "^10.1.3"
|
||||
|
||||
"@tldraw/intersect@^0.1.3", "@tldraw/intersect@latest":
|
||||
"@tldraw/intersect@latest":
|
||||
version "0.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@tldraw/intersect/-/intersect-0.1.3.tgz#ea784576632084710cebab0ff0a56de9d2cb6fa4"
|
||||
integrity sha512-8NeLOuVmiqhHTBeqFuMP3ljS8vUirenMteX336O+/2H4IfT3FiJjeN3qZyTT5N5jZvaHJKraHOp4E45wraoNZQ==
|
||||
|
|
Ładowanie…
Reference in New Issue