29044867dd
This PR adds the docs app back into the tldraw monorepo. ## Deploying We'll want to update our deploy script to update the SOURCE_SHA to the newest release sha... and then deploy the docs pulling api.json files from that release. We _could_ update the docs on every push to main, but we don't have to unless something has changed. Right now there's no automated deployments from this repo. ## Side effects To make this one work, I needed to update the lock file. This might be ok (new year new lock file), and everything builds as expected, though we may want to spend some time with our scripts to be sure that things are all good. I also updated our prettier installation, which decided to add trailing commas to every generic type. Which is, I suppose, [correct behavior](https://github.com/prettier/prettier-vscode/issues/955)? But that caused diffs in every file, which is unfortunate. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2]
114 lines
5.6 KiB
Text
114 lines
5.6 KiB
Text
---
|
|
title: v2.0.0-alpha.14
|
|
description: Examples
|
|
author: tldraw
|
|
date: 7/4/2023
|
|
order: 7
|
|
status: published
|
|
---
|
|
|
|
[View on GitHub](https://github.com/tldraw/tldraw/releases/tag/v2.0.0-alpha.14)
|
|
|
|
#### Disable styles panel button on mobile when using the laser tool. ([#1704](https://github.com/tldraw/tldraw/pull/1704))
|
|
|
|
- Disable the styles panel button for laser tool on mobile.
|
|
|
|
#### remove lock option from highlighter ([#1703](https://github.com/tldraw/tldraw/pull/1703))
|
|
|
|
- We no longer show the tool lock option for highlighter - it didn't do anything anyway
|
|
|
|
#### [fix] penmode ([#1698](https://github.com/tldraw/tldraw/pull/1698))
|
|
|
|
- [fix] pen mode
|
|
|
|
#### Update readme ([#1686](https://github.com/tldraw/tldraw/pull/1686))
|
|
|
|
- Documentation: Updated readme to reflect recent library changes.
|
|
|
|
#### [docs] Fix the types in the Shapes example ([#1681](https://github.com/tldraw/tldraw/pull/1681))
|
|
|
|
- Documentation: Fix some incorrect types on the Shapes page.
|
|
|
|
#### [improvement] More nuanced cursor state ([#1682](https://github.com/tldraw/tldraw/pull/1682))
|
|
|
|
- Improve cursor timeouts and hiding logic.
|
|
|
|
#### Fix VS Code commits failing on bublic? ([#1680](https://github.com/tldraw/tldraw/pull/1680))
|
|
|
|
- [internal] fixed commits failing from bublic when using UI
|
|
|
|
#### [fix] Lock shortcut ([#1677](https://github.com/tldraw/tldraw/pull/1677))
|
|
|
|
- [@tldraw/editor] Fix lock tool shortcut
|
|
|
|
#### [fix] comma keyboard shortcuts ([#1675](https://github.com/tldraw/tldraw/pull/1675))
|
|
|
|
- [@tldraw/editor] Bug fixes on document events.
|
|
|
|
#### [improvement] add box sizing border box ([#1674](https://github.com/tldraw/tldraw/pull/1674))
|
|
|
|
- [@tldraw/editor] Add `box-sizing: border-box` to `tl-container`
|
|
|
|
#### [improvemnet] drop crc, Buffer dependency ([#1673](https://github.com/tldraw/tldraw/pull/1673))
|
|
|
|
- [@tldraw/editor] Remove peer dependency on buffer.
|
|
|
|
#### [improvement] export scribble manager ([#1671](https://github.com/tldraw/tldraw/pull/1671))
|
|
|
|
- [@tldraw/tldraw] Export `ScribbleManager`
|
|
|
|
#### [feature] add `meta` property to records ([#1627](https://github.com/tldraw/tldraw/pull/1627))
|
|
|
|
- todo
|
|
|
|
#### [fix] mutating `snapshot` in `migrateStoreSnapshot` ([#1663](https://github.com/tldraw/tldraw/pull/1663))
|
|
|
|
- [@tldraw/store] Fixed a bug that would cause `Store.migrateStoreSnapshot` to mutate its `snapshot` argument.
|
|
|
|
---
|
|
|
|
#### 🚀 Enhancement
|
|
|
|
- `@tldraw/editor`
|
|
- [improvement] More nuanced cursor state [#1682](https://github.com/tldraw/tldraw/pull/1682) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvement] export scribble manager [#1671](https://github.com/tldraw/tldraw/pull/1671) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/editor`, `@tldraw/file-format`, `@tldraw/tlschema`, `@tldraw/ui`, `@tldraw/utils`, `@tldraw/validate`
|
|
- [feature] add `meta` property to records [#1627](https://github.com/tldraw/tldraw/pull/1627) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🐛 Bug Fix
|
|
|
|
- Lokalise: Translations update [#1694](https://github.com/tldraw/tldraw/pull/1694) ([@TodePond](https://github.com/TodePond))
|
|
- `@tldraw/ui`
|
|
- Disable styles panel button on mobile when using the laser tool. [#1704](https://github.com/tldraw/tldraw/pull/1704) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
- remove lock option from highlighter [#1703](https://github.com/tldraw/tldraw/pull/1703) ([@SomeHats](https://github.com/SomeHats))
|
|
- [fix] Lock shortcut [#1677](https://github.com/tldraw/tldraw/pull/1677) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/editor`
|
|
- [fix] penmode [#1698](https://github.com/tldraw/tldraw/pull/1698) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] indicator not updating [#1696](https://github.com/tldraw/tldraw/pull/1696) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] comma keyboard shortcuts [#1675](https://github.com/tldraw/tldraw/pull/1675) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvement] add box sizing border box [#1674](https://github.com/tldraw/tldraw/pull/1674) ([@steveruizok](https://github.com/steveruizok))
|
|
- [improvemnet] drop crc, Buffer dependency [#1673](https://github.com/tldraw/tldraw/pull/1673) ([@steveruizok](https://github.com/steveruizok))
|
|
- [fix] Shape rendering [#1670](https://github.com/tldraw/tldraw/pull/1670) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/state`
|
|
- [fix] rename `global` in @tldraw/state to avoid collissions [#1672](https://github.com/tldraw/tldraw/pull/1672) ([@steveruizok](https://github.com/steveruizok))
|
|
- `@tldraw/store`
|
|
- [fix] mutating `snapshot` in `migrateStoreSnapshot` [#1663](https://github.com/tldraw/tldraw/pull/1663) ([@steveruizok](https://github.com/steveruizok))
|
|
|
|
#### 🏠 Internal
|
|
|
|
- [infra] use huppy token for publish-new [#1687](https://github.com/tldraw/tldraw/pull/1687) ([@ds300](https://github.com/ds300))
|
|
- Fix VS Code commits failing on bublic? [#1680](https://github.com/tldraw/tldraw/pull/1680) ([@TodePond](https://github.com/TodePond))
|
|
|
|
#### 📝 Documentation
|
|
|
|
- Update readme [#1686](https://github.com/tldraw/tldraw/pull/1686) ([@TodePond](https://github.com/TodePond))
|
|
- [docs] Update multiple test [#1685](https://github.com/tldraw/tldraw/pull/1685) ([@steveruizok](https://github.com/steveruizok))
|
|
- [docs] Fix the types in the Shapes example [#1681](https://github.com/tldraw/tldraw/pull/1681) ([@TodePond](https://github.com/TodePond))
|
|
|
|
#### Authors: 5
|
|
|
|
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
- Lu Wilson ([@TodePond](https://github.com/TodePond))
|
|
- Mitja Bezenšek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|