tldraw/packages/ui/CHANGELOG.md
2023-06-28 11:53:57 +01:00

32 KiB

v2.0.0-alpha.13 (Wed Jun 28 2023)

Release Notes

Styles API follow-ups (#1636)

--

Revert "Update dependencies (#1613)" (#1617)

tldraw.css (#1607)

  • [tldraw] Removes editor.css and ui.css exports, replaces with tldraw.css

Styles API (#1580)

(1/2) Cursor Chat - Presence (#1487)

  • [dev] Added support for cursor chat presence.

Use unpkg as a default for serving assets. (#1548)

  • Use unpkg asset hosting as a default.

hoist opacity out of props (#1526)

[internal only for now]

Select locked shapes on long press (#1529)

highlighter fixes (#1530)

[aq bug fixes]

Simplify static cursors (#1520)

  • (editor) Simplifies the cursors in our CSS.

Renaming types, shape utils, tools (#1513)

  • Renaming of types, shape utils, tools

tlschema cleanup (#1509)

  • [editor] Remove app.createShapeId
  • [tlschema] Cleans up exports

Cleanup @tldraw/ui types / exports (#1504)

  • [editor] clean up / unify types

rename app to editor (#1503)

  • Rename App to Editor and many other things that reference app to editor.

Add support for locking shapes (#1447)

  • Add support for locking shapes.

[3/3] Highlighter styling (#1490)

Highlighter pen is here! 🎉🎉🎉

[1/3] initial highlighter shape/tool (#1401)

[internal only change layout ground work for highlighter]

[feature] reduce motion (#1485)

  • [editor] Add reduceMotion user preference
  • Add reduce motion option to preferences

Feature flags rework (#1474)

[internal only change]

[refactor] update record names (#1473)

  • [editor] rename record types

remove safari special-casing for paste (#1470)

[fixes a regression introduced during this release]

Don't allow g keyboard shortcut in readonly mode, show laser tool in the toolbar (#1459)

  • Disable geo tool shortcut in readonly mode. Show laser on the toolbar.

[mini-feature] Following indicator (#1468)

  • Adds viewport following indicator

[chore] refactor user preferences (#1435)

  • Add a brief release note for your PR here.

Add translations for "Leave shared project" action (#1394)

  • None

Stricter ID types (#1439)

[internal only, covered by #1432 changelog]

Add SVG cursors for all cursor types (#1416)

  • Added consistent custom cursors.

[refactor] Remove TLShapeDef, getShapeUtilByType. (#1432)

  • [tlschema] Update props of createTLSchema
  • [editor] Update props of TldrawEditorConfig
  • [editor] Remove App.getShapeUtilByType
  • [editor] Update App.getShapeUtil to take a type rather than a shape

Measure individual words instead of just line breaks for text exports (#1397)

  • Add a brief release note for your PR here.

[feature] Add checkbox to toolbar (#1423)

  • Adds missing checkbox to toolbar.

[feature] add laser pointer (#1412)

  • Adds the laser pointer tool.

Vertical text alignment for geo shapes (#1414)

  • This adds vertical text alignment property to geo shapes.

[fix] page menu, drag handle css (#1406)

  • Fix styling in the page menu

Switch to new collaborators component (#1405)

  • [Breaking] Removes the old version of LiveCollaborators, replacing it with the new one based on TLInstancePresence

[improvement] refactor paste to support multi-line text (#1398)

  • Improves clipboard logic when pasting text
  • Adds support for pasting multi-line text
  • Adds maximum widths when pasting single-line text
  • Adds support for RTL languages when pasting multi-line or wrapped text
  • Strips leading indentation when pasting text

Don't allow the users to use keyboard shortcuts to select tools in readonly mode. (#1382)

  • Disable keyboard shortcut events for tools in readonly mode. We only allow the select, hand tools, and zoom tool.

[fix] Don't synchronize isReadOnly (#1396)

  • Removes the isReadOnly value from the user_document_settings record type.
  • Add localization for creating snapshot links.

avoid lazy race conditions (#1364)

[internal only]

Export Events stuff (#1360)

  • [ui] export the TLUiEventSource type
  • [ui] export the EventsProviderProps type
  • [ui] export the useEvents hook

[improvement] rename onEvent to onUiEvent (#1358)

  • [docs] Adds docs for ui events
  • [tldraw] Renames onEvent to onUiEvent

[improvement] Ui events followup (#1354)

  • [ui] Adds source to ui events data object
  • [ui] Corrects source for toolbar events
  • [ui] Corrects source for clipboard events
  • [examples] Updates events example

Fix "copy as png" in firefox when dom.events.asyncClipboard.clipboardItem is enabled (#1342)

  • Fix "copy as png" in firefox when dom.events.asyncClipboard.clipboardItem is enabled

💥 Breaking Change

🚀 Enhancement

🐛 Bug Fix

⚠️ Pushed to main

🏠 Internal

🧪 Tests

🔩 Dependency Updates

Authors: 7


v2.0.0-alpha.12 (Mon Apr 03 2023)

🐛 Bug Fix

⚠️ Pushed to main

Authors: 7


@tldraw/ui

2.0.0-alpha.11

Patch Changes

  • fix some package build scripting
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.11
    • @tldraw/primitives@2.0.0-alpha.11
    • @tldraw/tlsync-client@2.0.0-alpha.11
    • @tldraw/utils@2.0.0-alpha.10

2.0.0-alpha.10

Patch Changes

  • 4b4399b6e: redeploy with yarn to prevent package version issues
  • Updated dependencies [4b4399b6e]
    • @tldraw/primitives@2.0.0-alpha.10
    • @tldraw/tlsync-client@2.0.0-alpha.10
    • @tldraw/utils@2.0.0-alpha.9
    • @tldraw/editor@2.0.0-alpha.10

2.0.0-alpha.9

Patch Changes

  • Release day!
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.9
    • @tldraw/primitives@2.0.0-alpha.9
    • @tldraw/tlsync-client@2.0.0-alpha.9
    • @tldraw/utils@2.0.0-alpha.8

2.0.0-alpha.8

Patch Changes

  • 23dd81cfe: Make signia a peer dependency
  • Updated dependencies [23dd81cfe]
    • @tldraw/editor@2.0.0-alpha.8
    • @tldraw/tlsync-client@2.0.0-alpha.8
    • @tldraw/primitives@2.0.0-alpha.8

2.0.0-alpha.7

Patch Changes

  • Bug fixes.
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.7
    • @tldraw/primitives@2.0.0-alpha.7
    • @tldraw/tlsync-client@2.0.0-alpha.7
    • @tldraw/utils@2.0.0-alpha.7

2.0.0-alpha.6

Patch Changes

  • Add licenses.
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.6
    • @tldraw/primitives@2.0.0-alpha.6
    • @tldraw/tlsync-client@2.0.0-alpha.6
    • @tldraw/utils@2.0.0-alpha.6

2.0.0-alpha.5

Patch Changes

  • Add CSS files to tldraw/tldraw.
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.5
    • @tldraw/primitives@2.0.0-alpha.5
    • @tldraw/tlsync-client@2.0.0-alpha.5
    • @tldraw/utils@2.0.0-alpha.5

2.0.0-alpha.4

Patch Changes

  • Add children to tldraw/tldraw
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.4
    • @tldraw/primitives@2.0.0-alpha.4
    • @tldraw/tlsync-client@2.0.0-alpha.4
    • @tldraw/utils@2.0.0-alpha.4

2.0.0-alpha.3

Patch Changes

  • Change permissions.
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.3
    • @tldraw/primitives@2.0.0-alpha.3
    • @tldraw/tlsync-client@2.0.0-alpha.3
    • @tldraw/utils@2.0.0-alpha.3

2.0.0-alpha.2

Patch Changes

  • Add tldraw, editor
  • Updated dependencies
    • @tldraw/editor@2.0.0-alpha.2
    • @tldraw/primitives@2.0.0-alpha.2
    • @tldraw/tlsync-client@2.0.0-alpha.2
    • @tldraw/utils@2.0.0-alpha.2

0.1.0-alpha.11

Patch Changes

  • Fix stale reactors.
  • Updated dependencies
    • @tldraw/primitives@0.1.0-alpha.11
    • @tldraw/tldraw-beta@0.1.0-alpha.11
    • @tldraw/tlsync-client@0.1.0-alpha.11
    • @tldraw/utils@0.1.0-alpha.11

0.1.0-alpha.10

Patch Changes

  • Fix type export bug.
  • Updated dependencies
    • @tldraw/primitives@0.1.0-alpha.10
    • @tldraw/tldraw-beta@0.1.0-alpha.10
    • @tldraw/tlsync-client@0.1.0-alpha.10
    • @tldraw/utils@0.1.0-alpha.10

0.1.0-alpha.9

Patch Changes

  • Fix import bugs.
  • Updated dependencies
    • @tldraw/primitives@0.1.0-alpha.9
    • @tldraw/tldraw-beta@0.1.0-alpha.9
    • @tldraw/tlsync-client@0.1.0-alpha.9
    • @tldraw/utils@0.1.0-alpha.9

0.1.0-alpha.8

Patch Changes

  • Changes validation requirements, exports validation helpers.
  • Updated dependencies
    • @tldraw/primitives@0.1.0-alpha.8
    • @tldraw/tldraw-beta@0.1.0-alpha.8
    • @tldraw/tlsync-client@0.1.0-alpha.8
    • @tldraw/utils@0.1.0-alpha.8

0.1.0-alpha.7

Patch Changes

    • Pre-pre-release update
  • Updated dependencies
    • @tldraw/primitives@0.1.0-alpha.7
    • @tldraw/tldraw-beta@0.1.0-alpha.7
    • @tldraw/tlsync-client@0.1.0-alpha.7
    • @tldraw/utils@0.1.0-alpha.7

0.0.2-alpha.1

Patch Changes

  • Fix error with HMR
  • Updated dependencies
    • @tldraw/primitives@0.0.2-alpha.1
    • @tldraw/tldraw-beta@0.0.2-alpha.1
    • @tldraw/tlsync-client@0.0.2-alpha.1
    • @tldraw/utils@0.0.2-alpha.1

0.0.2-alpha.0

Patch Changes

  • Initial release
  • Updated dependencies
    • @tldraw/primitives@0.0.2-alpha.0
    • @tldraw/tldraw-beta@0.0.2-alpha.0
    • @tldraw/tlsync-client@0.0.2-alpha.0
    • @tldraw/utils@0.0.2-alpha.0