Kishore Chitrapu
73e87d8732
telugu translation files ( #1064 )
...
* telugu translation files
* changed language label to Telugu script
2022-12-03 12:02:22 +00:00
Steve Ruiz
c5ff2da775
1.25.2
2022-11-14 15:53:12 +00:00
Steve Ruiz
8feb565794
[fix] types in core ( #1044 )
...
* Fix types
* Update README.md
2022-11-14 15:48:56 +00:00
Peng Xiao
8c1195450c
fix: horizontal pan logic ( #1040 )
2022-11-14 15:43:42 +00:00
Steve Ruiz
0f2abaf286
1.26.1
2022-11-09 16:35:43 +00:00
Steve Ruiz
cde5f711a5
Fix editing blurs ( #1037 )
2022-11-09 16:32:13 +00:00
Steve Ruiz
6e275f09ef
1.26.0
2022-10-26 14:06:20 +01:00
kazu
6c7ee29625
update cusor component props ( #1024 )
...
* update cusor component props
* add metadata property
* add example
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-10-26 13:59:12 +01:00
Thai Pangsakulyanont
a85e80961d
Add support for Microsoft Surface Pen eraser ( #1009 )
2022-10-26 13:55:53 +01:00
Anders Bech Mellson
586c320138
Updated danish translation ( #1014 )
2022-10-26 13:51:15 +01:00
James Vaughan
7e2395884e
Call onPointerUp on right pointer up ( #1008 )
...
* Call onPointerUp on right pointer up
* Set pointer capture on right point events on the canvas
2022-10-26 13:50:58 +01:00
Lucas
6bbff94464
Updated pt-br translation ( #1023 )
...
* Update pt-br translation
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update packages/tldraw/src/translations/pt-br.json
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* fix: typos, articles and prepositions
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
2022-10-26 13:50:05 +01:00
Steve Ruiz
0eebdddb5b
1.24.0
2022-10-04 13:08:31 +01:00
James Vaughan
84d78e4d56
Add documentation for the components prop ( #1004 )
...
* Add documentation for the components prop
* Add documentation for `hideCursors`
2022-10-04 12:56:54 +01:00
James Vaughan
c5bee7b1be
Call onRightPointCanvas in the canvas onPointerDown handler ( #1001 )
2022-10-03 11:56:13 +01:00
watchakorn-18k
a7618ff854
Add Thai language ( #1002 )
2022-10-03 11:55:37 +01:00
Steve Ruiz
e722fcdb4d
Update migrate.ts ( #1000 )
2022-09-30 15:28:55 +01:00
James Vaughan
d721ae6a2f
Add support for custom cursor components ( #994 )
...
* Add support for custom cursor components
* Add tests for the custom cursor props
* Make the main tldraw app take the components prop
* feat: add the ability to hide cursors
* Update cursor props
* Update imports
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-24 20:24:11 +01:00
Noah Shipley
b7c968e2aa
Feature/nospread use shape tree ( #991 )
...
* Improve useShapeTree performance by removing unneeded spread operation
* Update useShapeTree.tsx
Co-authored-by: Noah Shipley <nshipley@centricsoftware.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-24 20:04:03 +01:00
Steve Ruiz
6077ebdd90
Update TranslateSession.ts
2022-09-24 18:28:43 +01:00
Judicael
a128b7464a
fix: arrow binding id ( #993 )
...
* fix: arrow binding id
* add test for bindingId
* Fix arrows
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-24 18:27:15 +01:00
Steve Ruiz
31f0f02adf
Update utils.ts ( #989 )
2022-09-19 16:54:53 +01:00
Alex Kim
0e8e000f79
fix scrolling menus ( #977 )
...
* attempt to fix scrolling menus
* add container to keyboard shortuts
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
2022-09-19 09:27:18 +01:00
Alex Kim
8f2dba8311
remove white space in tldr files for prod ( #985 )
2022-09-19 09:25:35 +01:00
Judicael
4ea39a0263
fix: flipping and resizing arrows ( #979 )
...
* fix: flipping horizontal for arrows
* fix: horizontal flip
* fix return
* add test for flipping arrow
* visualize arc points
* adding test for vertically flipping
* remove arc points
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-13 12:38:42 +01:00
Steve Ruiz
8e55e263bf
1.24.5
2022-09-09 09:54:48 +01:00
Steve Ruiz
254dfdfd77
Fix buttons (again) ( #976 )
2022-09-09 09:42:46 +01:00
Steve Ruiz
5e24e5a4cb
1.24.4
2022-09-08 13:36:08 +01:00
Steve Ruiz
3ffb9fcfd3
Update KeyboardShortcutDialog.tsx
2022-09-08 13:33:47 +01:00
Steve Ruiz
5fea5b4c69
fix ( #968 )
2022-09-08 13:33:04 +01:00
Steve Ruiz
0549660244
1.24.3
2022-09-08 11:33:57 +01:00
Steve Ruiz
00e17b65f3
hot fix
2022-09-08 11:13:29 +01:00
Steve Ruiz
b56a3a6982
1.24.1
2022-09-08 10:58:42 +01:00
Steve Ruiz
7774d00e74
[fix] Buttons ( #964 )
...
* fix buttons
* update dependencies
2022-09-08 10:45:08 +01:00
Steve Ruiz
760f6494e3
1.24.0
2022-09-08 09:48:50 +01:00
Steve Ruiz
d0cd924ca7
[chore] remove mobx ( #961 )
...
* remove mobx as dependency
* fix bugs
2022-09-08 09:38:28 +01:00
Steve Ruiz
c3ff5a51bf
Update useCursor.ts
2022-09-07 16:56:29 +01:00
Steve Ruiz
34ce1ed68c
1.22.0
2022-09-07 15:25:47 +01:00
Judicael
ef613af788
fix: include assets when importing document (package tldraw) ( #950 )
...
* fix: include asset when importing document
* defensive tweak
* fixey back
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-07 15:08:32 +01:00
Judicael
e1689d678e
feat: change cursor when panning ( #939 )
...
* feat: change icon when panning
* add support for panning with the middle mouse
* Remove state at top tldraw
* logic tweaks
* accept middle clicks on objects
* Update useCursor.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-09-07 14:58:32 +01:00
Anders Rex
bb9e7ee47c
Use id as assetId ( #949 )
2022-09-07 14:09:18 +01:00
Alex Kim
55ea729e3e
fix and complete russian traslation ( #948 )
2022-09-07 14:06:04 +01:00
Steve Ruiz
ca91e56b29
[improvement] faster svg paths ( #959 )
...
* improve svg paths
* split methods add tldraw 1.2.0
2022-09-07 14:05:30 +01:00
Judicael
3957282515
fix: fix text align in a shape on export ( #952 )
...
* fix: fix text align in a shape on export
* remove unused import
* fix text alignment
2022-09-07 13:47:34 +01:00
Alex Kim
b327f62bbe
prevent pasting while panning with the middle mouse button on linux ( #953 )
2022-09-07 13:07:51 +01:00
turkerdev
590aef15ec
Fix reversed zoom in and zoom out ( #956 )
...
Fixes #954
2022-09-07 13:07:07 +01:00
Judicael
1130525fdf
fix: draw and eraser direction when holding shift ( #958 )
2022-09-07 13:06:33 +01:00
Steve Ruiz
9dab372b81
1.22.1
2022-09-01 17:24:33 +01:00
Steve Ruiz
3cfae6278c
Remove share menu ( #946 )
...
* Remove share menu
* Delete ShareMenu.tsx
* Remove alert, etc
2022-09-01 16:19:22 +01:00
David Sheldrick
8351936321
Merge pull request #944 from judicaelandria/fix/url
...
fix: use location origin
2022-09-01 11:45:42 +01:00
David Sheldrick
759407e40c
Merge pull request #940 from judicaelandria/feat/save-project-as-support
...
feat: save project as (support for firefox and safari)
2022-09-01 11:23:43 +01:00
Judicael
f55a73f827
fix: use location origin
2022-09-01 12:45:17 +03:00
Steve Ruiz
f98310e5bf
1.22.0
2022-09-01 10:13:32 +01:00
Judicael
d816c4567f
Merge branch 'main' into feat/save-project-as-support
2022-09-01 11:18:20 +03:00
David Sheldrick
1be09d2204
Merge pull request #917 from judicaelandria/feat/share-via-link
...
feat: share via URL
2022-09-01 09:16:54 +01:00
Judicael
f03a79c5a9
add default value to file name, extension file
2022-08-30 17:06:29 +03:00
Judicael
e29e2e5924
generate new snapshot
2022-08-30 16:22:04 +03:00
Judicael
4ec151ba4f
change function name, and useffect dep
2022-08-30 16:18:43 +03:00
Judicael
6079b3cb14
wait for the app to be ready and load docs
2022-08-30 13:35:10 +03:00
Judicael
0f79d4ea68
remove comment
2022-08-29 19:50:44 +03:00
Judicael
7efba8ea68
feat: add rename file dialog
2022-08-29 19:48:37 +03:00
Judicael
bd2fbe08c1
add default value for filename
2022-08-29 18:10:37 +03:00
Judicael
facd5fe4c7
feat: save project as (support for firefox and safari)
2022-08-29 16:32:19 +03:00
Steve Ruiz
a22124b3a7
1.21.1
2022-08-28 08:19:11 +01:00
Steve Ruiz
11c3d1ba27
[fix] text to svg ( #936 )
...
* rewrite export text logic
* Update tests
* Update getTextSvgElement.ts
* Update getTextSvgElement.ts
* improve line breaking
* labels + arrows
* small offset for padding
* Fix string bug
2022-08-28 07:07:07 +01:00
Judicael
e984acbd30
update alert dialog text
2022-08-25 18:22:04 +03:00
Judicael
c8a1dd41b7
use intl for description
2022-08-25 15:50:41 +03:00
Judicael
c8b839b43e
add alert dialog for alert in share button
2022-08-25 15:49:55 +03:00
Judicael
e1861122f6
Merge branch 'main' into feat/share-via-link
2022-08-25 15:48:30 +03:00
Judicael
4285965fab
feat: use system theme by default ( #932 )
...
* feat: use system theme by default
* Move logic to default prop
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-25 09:32:43 +01:00
moonrailgun
9fbf317046
Update translation label for chinese ( #926 )
2022-08-25 09:19:27 +01:00
Wes Lord
2ebeb01b8a
[chore] Assorted small improvements to docs ( #928 )
...
* Remove leftover references to removed Electron app
(Experimental Electron app was purged in #893 )
* Correct thanking organization in CONTRIBUTING.md
* Remove reference to pressure (ease) in Vec.pointsBetween description
Used to have an "ease" param, removed in #163
* Make links to core examples from core/README.md more explicit
2022-08-25 09:18:53 +01:00
Wes Lord
2c8e202c1f
Change value of FontStyle.Serif from "erif" to "serif" ( #929 )
2022-08-25 09:18:10 +01:00
Marcus Stenbeck
cc3f06771f
fix: change Swedish translation ( #933 )
2022-08-25 09:17:36 +01:00
Hugo
4d51e7b23e
Create European Portuguese translation ( #934 )
2022-08-25 09:17:16 +01:00
David Sheldrick
aabeb17ea0
Merge pull request #922 from judicaelandria/fix/flip-group
...
Fix/flip group
2022-08-23 14:59:35 +01:00
Judicael
a5e2597681
feat: flip group shape
2022-08-23 16:27:19 +03:00
Judicael
0d923b4700
fix: undo, redo, add shape to tree
2022-08-23 14:32:59 +03:00
Judicael
49fc0a261e
fix: shape parent id on duplicate page ( #920 )
2022-08-21 09:49:45 +01:00
Rozstone
ae4a1b6fbe
dialog i18 support ( #915 )
2022-08-21 07:40:17 +01:00
Judicael
18e47ad56b
move grouped shape when flipping
2022-08-19 21:29:53 +03:00
Judicael
ac9802570c
fix: move group when flipping
2022-08-19 21:15:25 +03:00
Judicael
d0bcbbae69
use loadDocument for project link
2022-08-18 19:20:45 +03:00
Judicael
caba25e7f5
remove unused code
2022-08-18 16:17:18 +03:00
Judicael
26865a0a57
refix the load document from URL
2022-08-18 15:48:05 +03:00
Judicael
d6140aad8a
fix load document
2022-08-18 15:22:18 +03:00
Judicael
7db8d0e825
fix message id
2022-08-18 08:40:59 +03:00
Judicael
5eb3dfc204
share project and current page
2022-08-18 08:11:26 +03:00
Judicael
f6073f3021
feat: share via link
2022-08-17 22:01:32 +03:00
Rozstone
56747e67a5
Pagename i18 support ( #907 )
...
* add i18 support for page
* add more cn translations
2022-08-15 22:52:33 +01:00
Judicael
97b0b52a6e
feat: replace window confirm with a dialog ( #898 )
...
* feat: replace window confirm with react dialog
* add dialog provider
* export func
* remove unused code
* changes
* Create file_open.tldr
* Update TldrawApp.ts
* clean, and add description
* add a custom container for alert dialog
* Fix fonts
* Fix logic for open project
* Style panel
* Improve styling
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-15 22:45:48 +01:00
Judicael
6dccf26c43
exit dialog when pressing enter ( #906 )
2022-08-15 22:12:37 +01:00
Zachary Ho
1ea10ca865
Fix tooltips for buttons under ActionButton
being partially covered by superseding buttons ( #911 )
...
* made Tooltip wrap ToolButton instead of the other way around for items in ActionButton
* removes unnecessary icon variant
* Add tooltips to align/distribute
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-15 22:11:50 +01:00
Judicael
b54a217f13
fix: text align in a shape on export ( #914 )
...
* fix: text align in a shape on export
* force align type to Start for labels
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-15 21:45:08 +01:00
Marcus Stenbeck
394dd87cd9
fix: more fitting translations ( #900 )
2022-08-11 08:58:49 +01:00
Thomas Steiner
c8badf8072
Another attempt at making use of the browser-fs-access
npm package directly ( #894 )
...
* Fight with TypeScript
* Make TypeScript happy(?)
* Apply suggestions from code review
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
* Update yarn.lock
* Fix favicons
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 08:41:50 +01:00
Marcus Stenbeck
564dcf7757
Create Swedish translation ( #899 )
...
* Create Swedish translation
* Add Swedish translation to translations.json
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:26:43 +01:00
Gwenaël Gallon
25f39a65fc
Chore: update and optimize turbo ( #885 )
...
* Update turbo to latest
* Update turbo.json
* The --stream flag has been deprecated
* Remove unused start:all
* build:packages -> use new --filter
* build:apps -> use new --filter
* build:www -> use new --filter
* build:core -> use new --filter
* build -> fix tldraw-example dependencies
* Optimize test* and lint
* start & start:core -> use new --filter
* start:electron -> use new --filter
* Remove unused start:apps
* Update turbo.json
* Caching ESLint
See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs
* Optimize test:watch
* start:www -> use new filter
* start:vscode -> use new filter
* Update build:core
* Optimize start and start:core
* Clean build:core
* Remove unused command
* Revert "Merge branch 'main' into chore/update-turbo"
This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing
changes made to a0f2f337b3d00974741effd4faae699ce493d3a2.
* Update start:electron
* Remove unused deploy in turbo.json
* Add start:extension
* Add package:electron and package:vscode
* Add publish:vscode
* Revet Revert: revert "Merge branch 'main' into chore/update-turbo"
* Update vscode extension build
* Clean tldraw-example tsconfig.json
* Uniform script commands
* Fix start for www
* remove mention of removed packages
* add build:core
* Add force to build step
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:08:32 +01:00
Steve Ruiz
d5639f696a
update yarn.lock, clean some deps
2022-08-10 01:00:42 +01:00
Rozstone
9923030a0a
More cn translations ( #889 )
...
* add more cn translations
* add i18 for 'Image' tooltip
* fix typo
2022-08-10 00:29:23 +01:00