157d24db73
Reworks search to not be a page and instead to be inline dropdown. <img width="763" alt="Screenshot 2024-02-05 at 13 22 58" src="https://github.com/tldraw/tldraw/assets/469604/4e5a8076-62cd-44bb-b8e7-7f5ecdc4af24"> - rework search completely - rm Search Results css - uses Ariakit and add appropriate hooks / styling - I couldn't use Radix unfortunately since they're still working on adding a Combox: https://github.com/radix-ui/primitives/issues/1342 - I'm open to other suggestions but Ariakit plays nicely with Radix and keeps things open to migrate to Radix in the future - fixes bug with not scrolling to right place when having a direct link - adds categories in the search results - examples / reference / learn - and adds category icons. Let me know if there's a better policy for adding new SVG icons cc @steveruizok ### Change Type - [x] `minor` — New feature ### Test Plan 1. Test searches using normal method for each type (examples, docs, refs) 2. Test searches using AI for each type (ditto) ### Release Notes - Docs: rework the search to be an inline dropdown.
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))
|