Tldraw/packages/editor/src/lib/components/default-components
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
..
DefaultBackground.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultBrush.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultCanvas.tsx Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
DefaultCollaboratorHint.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultCursor.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultErrorFallback.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultGrid.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultHandle.tsx Stickies: release candidate (#3249) 2024-04-14 18:40:02 +00:00
DefaultHandles.tsx children: any -> children: ReactNode (#3061) 2024-03-04 14:48:40 +00:00
DefaultLoadingScreen.tsx Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
DefaultScribble.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultSelectionBackground.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultSelectionForeground.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultShapeErrorFallback.tsx
DefaultShapeIndicator.tsx Faster selection / erasing (#3454) 2024-04-13 13:30:30 +00:00
DefaultShapeIndicatorErrorFallback.tsx
DefaultSnapIndictor.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultSpinner.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00
DefaultSvgDefs.tsx Roundup fixes (#2862) 2024-02-19 14:52:43 +00:00