Tldraw/packages/tldraw/src/lib/ui
Steve Ruiz 41601ac61e
Stickies: release candidate (#3249)
This PR is the target for the stickies PRs that are moving forward. It
should collect changes.

- [x] New icon
- [x] Improved shadows
- [x] Shadow LOD
- [x] New colors / theme options
- [x] Shrink text size to avoid word breaks on the x axis
- [x] Hide indicator whilst typing (reverted)
- [x] Adjacent note positions
  - [x] buttons / clone handles
  - [x] position helpers for creating / translating (pits)
- [x] keyboard shortcuts: (Tab, Shift+tab (RTL aware), Cmd-Enter,
Shift+Cmd+enter)
  - [x] multiple shape translating 
- [x] Text editing
  - [x] Edit on type (feature flagged)
  - [x] click goes in correct place
- [x] Notes as parents (reverted)
- [x] Update colors
- [x] Update SVG appearance

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `feature` — New feature

### Test Plan

Todo: fold in test plans for child PRs

### Unit tests:

- [ ] Shrink text size to avoid word breaks on the x axis
- [x] Adjacent notes
  - [x] buttons (clone handles)
  - [x] position helpers (pits)
- [x] keyboard shortcuts: (Tab, Shift+tab (RTL aware), Cmd-Enter,
Shift+Cmd+enter)
- [ ] Text editing
  - [ ] Edit on type
  - [ ] click goes in correct place

### Release Notes

- Improves sticky notes (see list)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Mime Čuvalo <mimecuvalo@gmail.com>
Co-authored-by: alex <alex@dytry.ch>
Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lu[ke] Wilson <l2wilson94@gmail.com>
Co-authored-by: huppy-bot[bot] <128400622+huppy-bot[bot]@users.noreply.github.com>
2024-04-14 18:40:02 +00:00
..
components Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
context Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
hooks Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
TldrawUi.tsx Allow hiding debug panel. (#3261) 2024-03-26 10:03:20 +00:00
assetUrls.ts Custom Tools DX + screenshot example (#2198) 2023-11-15 18:06:02 +00:00
constants.ts ui: refactor breakpoints to fit in an enum (#2843) 2024-02-15 17:39:17 +00:00
icon-types.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
kbd-utils.ts UI components round two (#2847) 2024-02-16 09:13:04 +00:00
overrides.ts Component-based toolbar customisation API (#3067) 2024-03-12 16:14:28 +00:00
version.ts Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00