KDSBrowne
6f87ff022a
add aria-labels to elements for screen readers ( #1106 )
2023-01-15 11:16:06 +00:00
Jang Min
60728e069a
fix(tooltip): add tooltips for undo/redo buttons ( #1095 )
...
* fix(tooltip): add lack tooltips for undo/redo buttons
* fix: change id of undo/redo buttons
2023-01-15 11:15:32 +00:00
Jang Min
33dde339aa
fix: change StyleMenu id(language-menu -> TD_StyleMenu) ( #1102 )
2023-01-15 11:14:58 +00:00
yashkumar barot
b5e2f00f6e
[bug] Zoom to 100% translated into Japanese should be 100%にズーム #1058 ( #1105 )
2023-01-15 11:14:29 +00:00
hiroshisuga
303b60c7e3
Update TldrawApp.ts ( #1104 )
2023-01-15 11:11:38 +00:00
Daniel Alberski
77943e6f85
fix: updated Polish translations ( #1111 )
2023-01-15 11:11:04 +00:00
Abedalrahman Shamia
b7d2254298
Add missing Arabic translations ( #1113 )
...
* add arabic missing translations
* fix image trans ar
2023-01-15 11:09:50 +00:00
Steve Ruiz
70ca73555b
fix tests
2022-12-30 18:05:18 -06:00
Steve Ruiz
4208445a8c
1.26.4
2022-12-30 18:02:02 -06:00
Daniel Molkentin
065c3ddc4a
serve fonts locally via fontsource ( #1091 )
...
* [fix] serve fonts locally via fontsource (#1077 )
* fix vscode extension build
Co-authored-by: zfgrnzfsberire <noreply@github.com>
2022-12-30 17:56:33 -06:00
Brian Hung
b74a6d71f1
create new ids for new shapes and map old ids to new ids ( #1082 )
...
* create new ids for new shapes and map old parent ids to new ids
* duplicate bindings and update shape handles
* spacing
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
* Update duplicatePage.ts
* Update duplicatePage.ts
Co-authored-by: Bruno <33330711+bybruno@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-12-30 17:53:32 -06:00
hiroshisuga
9eb5e56319
Small translation change ( #1088 )
2022-12-30 16:19:40 -06:00
Cing Sian Dal
cd11fa4892
feat: added Myanmar (Burmese) translation ( #1086 )
2022-12-30 16:19:19 -06:00
hiroshisuga
ce09e0464a
translation fix (ja) ( #1089 )
2022-12-30 16:18:50 -06:00
Ahmad Saman
011ccb3052
feat: add kurdish language ( #1078 )
...
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-12-16 18:10:39 +00:00
Kevin Park
737168a930
[Tranlation] update ko-kr translation ( #1071 )
2022-12-16 18:06:28 +00:00
Malte Janßen
b799b51674
Fix spelling mistake in packages/core README ( #1070 )
2022-12-16 18:06:02 +00:00
Steve Ruiz
24cad6959f
1.7.24
2022-12-03 14:12:31 +00:00
Steve Ruiz
cfa7f6e357
[fix] text export placement ( #1066 )
...
* Fix text export placement
* remove console.log
* Update getTextSvgElement.ts
2022-12-03 13:48:56 +00:00
Peng Xiao
8404528aa6
fix: wheel event handled twice issue ( #1050 )
2022-12-03 13:10:19 +00:00
Ricardo Crespo
d155ac5968
set pointer capture when the pointer is down so it can be checked on pointer move ( #1054 )
2022-12-03 13:09:41 +00:00
Steve Ruiz
7be4a27d59
add link to new beta ( #1065 )
2022-12-03 12:26:48 +00:00
Ricardo Crespo
412d4db618
avoid pointerUptime update before calculating isDoubleClick ( #1055 )
2022-12-03 12:03:22 +00:00
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
Steve Ruiz
a0007142e0
[chore] epic purge ( #893 )
...
* remove extension / electron app
* switch examples to vite
* Update licenses
* Add script
* fix titles
2022-08-10 00:18:59 +01:00
Judicael
6b023ee596
fix: text shape in svg ( #886 )
2022-08-06 13:41:42 +01:00
Judicael
c527e0547b
fix pasting svg from clipboard ( #884 )
2022-08-04 21:43:57 +01:00
Judicael
7fce946428
fix: toggle focus click and kbd ( #881 )
2022-08-04 15:34:47 +01:00
Gwenaël Gallon
b7231d2bd5
Fix remove unused prop ( #880 )
2022-08-04 15:10:21 +01:00
Judicael
3570a790b2
Feat/flip group shape ( #876 )
...
* feat: flip group shape when it's only selected
* fix undefined object
* add test for flipping grouped shape
* fix conflict
2022-08-04 14:03:43 +01:00
Judicael
6a67ad758f
fix help icon size on mobile ( #873 )
...
* fix help icon size on mobile
* Fix menu closing on mobile
* Fix position of help button
* Remove variants
* Update HelpPanel.tsx
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-02 15:15:16 +01:00
Gwenaël Gallon
e0e1373468
Chore: clean up sort imports with prettier ( #870 )
...
* Update prettier to latest
* Add format command
* Create .prettierignore
* Add prettier plugin sort imports
* Update prettier config
* Update prettier config
* Update .prettierignore
* Fix @babel/parser conflict
https://github.com/trivago/prettier-plugin-sort-imports/issues/156
* Revert "Update .prettierignore"
This reverts commit 282e5b838376f16b3df7f4c1f99f1106baaffea4.
* Revert change for apps/www/pages/v/[id].tsx
* Sort imports
Moves the third party imports to the top, "~" imports in middle, and "./" at last
* Sorting of the specifiers
in an import declarations
* [www] use path vs "../"
* [core] use path "~" vs "../"
* [tldraw] use path "~" vs "../.../"
* [tldraw] use path "~" vs "../"
* [tldraw] Cleanup
* Update prettier config
* Last use path "~" vs "../.../"
* [www] Fix order of the third party imports
* Clean prettier config
2022-08-02 14:56:12 +01:00
Gwenaël Gallon
ecb4bfcc3b
Fix: no-unused-vars and remove eslint-disable in files ( #862 )
...
* Fix eslint no-unused-vars
* Remove eslint-disable in files
2022-07-30 08:28:48 +01:00
Gwenaël Gallon
3c2c26c11e
Fix: workflow failure with missing lint command and added lint for apps/examples ( #866 )
...
* Add turbo run lint
* Add lint to all apps and examples
* Update eslint with monorepo configuration
see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root
* Remove unused rules
* Exclude @tldraw/www from global eslint config
* Remove duplicated eslint
* Fix eslint prefer-const errors
* Fix eslint no-unused-vars warning
* Update package.json
* Fix eslint no-unused-vars warning
* bump eslint@^8.20.0
* Correct "Fix eslint no-unused-vars warning"
This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
2022-07-30 08:27:54 +01:00
with-heart
82f9278976
chore: remove typedoc and docs scripts ( #864 )
2022-07-29 15:22:08 +01:00
Gwenaël Gallon
37877ec787
Feat: update french translations ( #863 )
...
* [fr] Updated french translations
* [fr] Fix "export.background"
* [fr] Fix remove socials
2022-07-29 15:20:05 +01:00
Judicael
2c53fb3d57
fix: prevent deleting shape in session ( #853 )
2022-07-28 08:26:27 +01:00
with-heart
3d4544548b
chore: improve linting ( #855 )
...
* chore(lint): upgrade typescript-eslint
* chore(lint): add root "lint" script
* chore(turbo): remove build dependency from lint
* chore(lint): enable jest recommended rules
* chore(lint): resolve errors
* ci: add lint step
* prettier
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-28 08:25:46 +01:00
with-heart
2e36dadfec
chore: clean up local dev tooling ( #856 )
...
* chore: clean up husky + lint-staged
* chore: format all files with prettier
2022-07-28 08:19:53 +01:00
Judicael
6267cefa1d
update radix ui primitives ( #842 )
2022-07-24 23:57:47 +01:00
Ali Alhaidary
a5bccedd3d
Update ar.json ( #847 )
...
* Update ar.json
* Update ar.json
* remove unnecessary translation
we don't need to translate github, twitter and discord
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
2022-07-24 20:02:49 +01:00
Steve Ruiz
3e8f585049
1.20.0
2022-07-23 15:09:37 +01:00
Steve Ruiz
1cd86f6b29
fix icon bg
2022-07-23 15:06:32 +01:00
Steve Ruiz
f0f545806a
[improvement] Quality and UI cleanup ( #846 )
...
* remove sponsors, ui cleanup
* fix radius
* improve panel
* remove cursor spline animations
* migrate options
* Switch hrs to divider
* fix text color on menu dark mode
* Remove option for clone handles
* fix wheel
* remove unused translations
2022-07-23 15:05:48 +01:00
Steve Ruiz
014b07d417
[fix] mobile layout ( #845 )
...
* fix buttons on ios size
* Update ToolButton.tsx
2022-07-23 09:33:45 +01:00
Josh Stuve
aa5554df70
feat: export background config ( #839 )
...
Co-authored-by: JStuve <josh.stuve@gmail.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
2022-07-23 09:33:02 +01:00
Judicael
94cfa38e46
fix: translation key ( #844 )
2022-07-23 09:12:54 +01:00
Steve Ruiz
59cdc8386c
replace image icon with radix icon ( #843 )
2022-07-22 21:27:06 +01:00
Ali Alhaidary
5ba8fe6dd7
Update ar.json ( #841 )
2022-07-22 21:13:25 +01:00
Judicael
ae536d0be6
Add translation in keyboard shortcut ( #838 )
2022-07-22 18:29:37 +01:00
Gustavo Chico
18da1578cf
fix-spanish-translation ( #840 )
2022-07-22 18:28:56 +01:00
Judicael
7a353c7d9f
Feature/upload multiple media ( #830 )
2022-07-21 19:16:01 +01:00
Steve Ruiz
223391afe5
[fix] label ( #836 )
...
* fix label
* Update ArrowUtil.tsx
2022-07-21 17:03:31 +01:00
Judicael
bdd63443e0
fix: remove text label gap ( #834 )
2022-07-21 16:46:54 +01:00
Ali Alhaidary
cad534812b
Update ar.json ( #831 )
2022-07-21 14:42:36 +01:00
Steve Ruiz
5e9d3c6a45
Update Loading.tsx
2022-07-19 15:56:55 +01:00
Steve Ruiz
d8e7a0b804
Update Loading.tsx
2022-07-19 15:56:35 +01:00
Judicael
77337b1281
feat: add help panel ( #816 )
...
* feat: add help panel
* feat: added all the shortcuts and responsive
* improve help panel
* add modal for the shortcut
* add grid
* fix language menu
* add responsive grid
* Styling keyboard shortcuts / panel
* fix links ts issue
* Improve styling
* Fix translation bug
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-19 10:04:38 +01:00
Gwenaël Gallon
240202bb81
feat: Added translation for "loading..." ( #823 )
...
* Added translation for "loading..."
* Resolve
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-18 18:04:16 +01:00
Gwenaël Gallon
b32750c43d
[Fix] French translation ( #825 )
...
* Only the first letter in capital
* Spelling corrections
* Correction of wrong translations
* Best common translation
* Specify the direction of rotation
* Translate to French
* Better translation for this actions
* Revert to preferring the use of "zoom"
* It's better to know on what it acts
* Missing of hyphen
* Better for user focus
- It's better for the user focus to not use the same action verb for two opposite actions (to.front/to.back)
- Specifies the unit of motion for (forward/backward)
* Removes the direction of rotation
* Better alternative for copy/export as
Also, this indicates that we will be able to choose the file format when copying/exporting.
2022-07-18 18:01:50 +01:00
Steve Ruiz
54b66246d6
Fix flips ( #829 )
2022-07-18 18:01:15 +01:00
Gwenaël Gallon
b6c4059791
Fix broken link for the translation guide ( #824 )
2022-07-18 17:52:30 +01:00
Judicael
20d4de02c4
fix: paste unicode ( #819 )
...
* fix: paste unicode
* fix unicode
* use html element to unencode
* Move to insertContent
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-14 19:30:03 +01:00
Gwenaël Gallon
cb00822404
feat: add new french translation ( #820 )
...
* [fr] add new translations
* Remove duplicate (page)
2022-07-14 13:06:34 +01:00
Ali Alhaidary
29fa3c54dc
Update ar.json ( #821 )
2022-07-14 13:06:22 +01:00
Gwenaël Gallon
6e5ba45ee5
feat: add "Back to content" missing translation ( #809 )
...
* feat: add "Back to content" missing translation
* fix: style
* reverted of translations except for main.json and fr
* Prefer declarative use with an html element
2022-07-13 14:18:59 +01:00
SiderealArt
7d6cc1f924
Create zh-tw.json ( #811 )
...
* Create zh-tw.json
* Update translations.ts
* new strings
2022-07-13 14:18:47 +01:00
Ali Alhaidary
8eabfa7a2b
Update ar.json ( #815 )
2022-07-13 14:18:19 +01:00
Judicael
e6d3074f90
fix browser zoom while editing text ( #802 )
2022-07-11 09:56:06 +01:00
Steve Ruiz
b0755d8def
Restore fixes
2022-07-10 22:05:43 +01:00
Steve Ruiz
a4d980c290
Update ToolsPanel.tsx
2022-07-10 17:34:39 +01:00
Steve Ruiz
2352985e94
[feature] Iframe warning ( #800 )
2022-07-08 21:25:08 +01:00
Steve Ruiz
1e80d1ac21
1.19.1
2022-07-08 20:35:10 +01:00
Steve Ruiz
9785c1c924
Fix panel position on mobile
2022-07-08 20:03:53 +01:00
Steve Ruiz
167e5944fd
Update main.json
2022-07-08 14:56:05 +01:00
Steve Ruiz
75e33d24cf
Update utils.ts
2022-07-08 14:47:38 +01:00
Steve Ruiz
c95d52d077
Fix link
2022-07-08 14:46:45 +01:00
Steve Ruiz
7a2e8b1747
Update MultiplayerMenu.tsx
2022-07-08 14:39:43 +01:00
Steve Ruiz
47ba095c16
add dock position to migrate, cleanup code
2022-07-08 14:38:21 +01:00
Steve Ruiz
315112459c
1.20.0 ( #797 )
...
* Edit Farsi translations (#788 )
* Add a Ukrainian translation (#786 )
* Add a Ukrainian translation
* Clarify some strings in the Ukrainian translation
* feat: change dock position (#774 )
* feat: change dock position
* fix grid row and column
* add top position
* fix responsive for the top position
* change content side
* fix overflowing menu
* [improvement] theme on body (#790 )
* Update Tldraw.tsx
* Add theme on body, adjust dark page options dialog
* fix test
* Preparing for global integration (#775 )
* Update translations.ts
* Create en.json
* Make main translation default
* Remove unused locale property of translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Fix language menu
* Update ar.json (#793 )
* feature/add Hebrew translations (#792 )
* hebrew translations
* pr fixes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* fix toolspanel item position (#791 )
* fix toolspanel item position
* add translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Add remote caching
* Adds link to translation guide (#794 )
* Update ar.json (#795 )
* [feature] readonly link (#796 )
* Copy readonly link
* Update [id].tsx
* Add readonly label
* update psuedohash
* Update utils.ts
Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com>
Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com>
Co-authored-by: gadi246 <gadi246@gmail.com>
2022-07-08 14:09:08 +01:00
Steve Ruiz
5ac091339a
1.19.0
2022-07-07 12:06:30 +01:00
Steve Ruiz
88fbdacaea
1.19.0 ( #789 )
...
* Edit Farsi translations (#788 )
* Add a Ukrainian translation (#786 )
* Add a Ukrainian translation
* Clarify some strings in the Ukrainian translation
* feat: change dock position (#774 )
* feat: change dock position
* fix grid row and column
* add top position
* fix responsive for the top position
* change content side
* fix overflowing menu
* [improvement] theme on body (#790 )
* Update Tldraw.tsx
* Add theme on body, adjust dark page options dialog
* fix test
* Preparing for global integration (#775 )
* Update translations.ts
* Create en.json
* Make main translation default
* Remove unused locale property of translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Fix language menu
* Update ar.json (#793 )
* feature/add Hebrew translations (#792 )
* hebrew translations
* pr fixes
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* fix toolspanel item position (#791 )
* fix toolspanel item position
* add translation
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
* Add remote caching
* Adds link to translation guide (#794 )
Co-authored-by: Baahar Ebrahimi <108254874+Baahaarmast@users.noreply.github.com>
Co-authored-by: walking-octopus <46994949+walking-octopus@users.noreply.github.com>
Co-authored-by: Judicael <46365844+judicaelandria@users.noreply.github.com>
Co-authored-by: Ali Alhaidary <75235623+ali-alhaidary@users.noreply.github.com>
Co-authored-by: gadi246 <gadi246@gmail.com>
2022-07-07 11:59:47 +01:00
Enrico
4d900fb7fd
Implemented better page numbering ( #779 )
...
* Implemented better page numbering
* Added spanish and french translation
* Add tests, fix regex
* Improve page naming logic
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-04 15:17:47 +01:00
walking-octopus
1de57cffc0
Revise the Russian translation ( #784 )
...
I'm sorry for not catching some unnatural-sounding strings in it earlier, but I guess it's better late than never.
2022-07-04 15:15:43 +01:00
walking-octopus
44e49197f2
Add a Russian translation ( #777 )
...
* Add Russian translation
* Update translations.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-04 13:06:13 +01:00
Baahar Ebrahimi
908e829c0b
Add Farsi translations ( #778 )
...
* Add Farsi translations
* fix translations.ts
* Update translations.ts
Co-authored-by: Saeed Alipoor <alipoor.sa@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-07-04 12:38:01 +01:00
Steve Ruiz
10b653c13e
1.18.3
2022-07-03 18:58:50 +01:00
Steve Ruiz
1c753b73ac
prevent escape from undoing text change
2022-07-03 18:44:16 +01:00
Jan Bessler
671684a749
Translation german ( #772 )
...
* Translated to German
Translated the page to German.
There may be some inaccurate translations, because some phrases depend on context i.e. "to fit" or "binding handles", but it is comprehensible in German.
* Update de.json
* Update de.json
Updated some translations with respect to their context
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-30 12:11:49 +01:00
Steve Ruiz
58195bd2ad
Update PageMenu.tsx
2022-06-30 09:03:07 +01:00
Steve Ruiz
9ccec77634
1.18.2
2022-06-30 08:59:09 +01:00
Steve Ruiz
0a0536b438
Update PageMenu.tsx
2022-06-29 19:07:19 +01:00
Steve Ruiz
d27e7dc249
Update PageMenu.tsx
2022-06-29 19:06:56 +01:00
Steve Ruiz
80ed0bf27b
fix bugs on page move
...
Update TldrawApp.ts
2022-06-29 19:05:47 +01:00
Jan Bessler
8b97e474d1
Translation german ( #771 )
...
* Translated to German
Translated the page to German.
There may be some inaccurate translations, because some phrases depend on context i.e. "to fit" or "binding handles", but it is comprehensible in German.
* Update de.json
2022-06-29 18:26:32 +01:00
Enrico
489b5a1001
Added page rearranging by dragging (desktop only) ( #768 )
...
* Added page rearranging by dragging (desktop only)
* Increment page names correctly, create drop indicator
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-29 10:25:00 +01:00
Steve Ruiz
b9a4a6c36e
Update TldrawApp.ts ( #766 )
2022-06-28 17:55:50 +01:00
Anders Bech Mellson
639b6ced50
Added Danish translation ( #765 )
2022-06-28 17:41:43 +01:00
Victor Novais
2e70be511a
Added translations to Portuguese (pt-br) ( #759 )
...
* Added translations to Portuguese (pt-br)
* Update translations.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-28 08:17:01 +01:00
Juan Carlos Acosta Perabá
4bc0d8bb95
fix: correct translation term ( #763 )
...
* feat: spanish language
* Update translations.ts
* fix: correct translation term
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-27 18:58:41 +01:00
Mark Ladyshau
141dd2672e
fix: add preventDefault
( #764 )
2022-06-27 18:55:47 +01:00
pramitmarattha
780da17540
Add Nepali translation ( #760 )
...
* Add nepali language json
* Add nepali translation
2022-06-27 16:24:04 +01:00
Steve Ruiz
0d3bfd4eeb
Update DrawSession.ts ( #762 )
2022-06-27 16:04:38 +01:00
Steve Ruiz
ff471e0d6d
Improve UX for renaming text fields ( #761 )
2022-06-27 10:21:39 +01:00
Steve Ruiz
dd873014f2
1.18.1
2022-06-26 21:20:29 +01:00
Daniel Alberski
5046147a41
Polish translations ( #758 )
...
* polish translations
* translations guide typo fix
2022-06-26 19:47:58 +01:00
Oğuzhan Durgut
5c8fd8ac14
Turkish Language ( #754 )
...
* Turkish Language Added
* Turkish changed to Türkçe
* Update translations.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-26 16:47:23 +01:00
Juan Carlos Acosta Perabá
5598143b59
feat: spanish language ( #755 )
...
* feat: spanish language
* Update translations.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-26 16:44:25 +01:00
Sigve Hansen
1a3cfa0c81
Add norwegian translation ( #757 )
...
* feat: add norwegian translation
* arrange text in alphabetical order
* sort by code
* rename en.json to main.json
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-26 16:42:56 +01:00
Sugit
5e2e23e6ce
Japanese translation ( #756 )
...
* Japanese translation
* fix: replace empty string to space.
* fix: improve Japanese
2022-06-26 16:17:39 +01:00
Steve Ruiz
8869771400
rename translations
2022-06-26 16:14:11 +01:00
Steve Ruiz
026177a1e1
refactor translations
2022-06-26 08:27:26 +01:00
Steve Ruiz
93e774691d
Add locked indicator
2022-06-26 08:11:00 +01:00
Steve Ruiz
3d936fd0a5
Fix bugs
...
- local server bug
- improve types for translations
- fix missing italian translation
- fix double ungroup label
2022-06-26 08:06:56 +01:00
cog25
13be05721e
chore: fix typo ( #753 )
2022-06-26 07:58:56 +01:00
cog25
1b7cea41a0
feat: add korean translation ( #752 )
...
* feat: add korean translation
* chore: fix typo
2022-06-26 07:34:18 +01:00
Steve Ruiz
3cba9712fd
1.18.0
2022-06-25 20:31:27 +01:00
Steve Ruiz
8d849719cf
add translation guide ( #746 )
2022-06-25 20:03:37 +01:00
Vincent Driessen
0acfd563fe
Upgrade Liveblocks to 0.17 ( #738 )
...
* Upgrade Liveblocks packages to 0.17
* Convert app to recommended Liveblocks 0.17 setup
* Convert multiplayer example to recommended Liveblocks 0.17 setup
* Convert multiplayer-with-images example to recommended Liveblocks 0.17 setup
* Fix React rendering issue for multiplayer app
This bug could manifest after _navigating_ internally to the Multiplayer
example app. Liveblocks Storage would seem to remain empty, but Presence
would still seem to work. In other words, you'd see cursors flying, but
no document contents.
This did not happen when doing a full page load.
This bug only occurs in React strict mode.
* update onPatch and onCommand
* "Add event callbacks for `onSessionStart` and `onSessionEnd`"
* Adds edit state
* Pass callbacks to app
* Remove console logs
* interpolate cursor only when not in session
* Update multiplayer icon
* Fix a few things
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-25 15:38:43 +01:00
Steve Ruiz
6183c41c18
arrows ignore locked shapes ( #745 )
2022-06-25 12:48:41 +01:00
Steve Ruiz
70e3c8bd45
[fix] bug with images that have the same name ( #743 )
...
* add unique id to file names to avoid name clashes
* Add event callbacks for `onSessionStart` and `onSessionEnd`
2022-06-25 12:28:18 +01:00
Ali Alhaidary
c1f94a0928
Adding Arabic Language ( #732 )
...
* Create ar.json
* Update Tldraw.tsx
* Update types.ts
* Update LanguageMenu.tsx
* Update Tldraw.tsx
* Update LanguageMenu.tsx
2022-06-25 10:47:32 +01:00
Steve Ruiz
a104d5a094
1.17.2
2022-06-24 16:06:36 +01:00
Steve Ruiz
dc1f21bdc0
Update MultiplayerMenu.tsx
2022-06-24 15:47:53 +01:00
Steve Ruiz
f48ce9962d
Update MultiplayerMenu.tsx
2022-06-24 15:45:50 +01:00
Steve Ruiz
7555c22632
Update Vec
2022-06-21 08:56:49 +01:00
Steve Ruiz
a17bd18ae2
1.7.2, add Vec.distanceTo / Vec.nearestPointOnBounds
2022-06-21 08:49:45 +01:00
Jack Bauer
7c0e098b12
fix clipboard.read error on Firefox ( #729 )
...
See more @ https://stackoverflow.com/questions/67440036/navigator-clipboard-readtext-is-not-working-in-js/67442777#67442777
2022-06-20 20:37:01 +01:00
Steve Ruiz
0a52b5c317
Add overwrite option to insertContent ( #730 )
2022-06-20 20:36:23 +01:00
Steve Ruiz
65ff5075f0
1.17.0
2022-06-19 14:52:06 +01:00
Steve Ruiz
6d91916804
[improvement] Add getContent
and insertContent
methods ( #726 )
...
* Add insertContent method, update copyJson
* Add more tests
* Update TldrawApp.spec.ts
* Adds option object for select, point, and uses in paste
2022-06-19 14:47:43 +01:00
Jack Bauer
0cfa44f4d2
fix mandatory unique key in LanguageMenu list ( #722 )
2022-06-16 14:36:31 +01:00
Steve Ruiz
702016a3ef
Replace lask with lfg
2022-06-16 14:23:27 +01:00
Steve Ruiz
6608b07ab0
Update README, lask
2022-06-16 14:15:35 +01:00
Steve Ruiz
ef9d457a14
[fix] typescript types ( #721 )
...
* fix types
* Update .eslintrc.json
2022-06-16 09:09:48 +01:00
Judicael
e8459adc6b
feat: translate page name when creating new page ( #720 )
...
* feat: translate page name when creating new page
* Update createPage.ts
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-15 18:54:03 +01:00
Akshay Birajdar
27e0b8d96e
fix: broken screenshot image ( #717 )
2022-06-15 13:39:15 +01:00
yyyanghj
d298c550cd
[Translation] add Simplified Chinese translation ( #715 )
...
* feat: add Simplified Chinese translations
* feat: improve translation
* feat: improve translation
* feat: improve translation
2022-06-15 13:38:00 +01:00
Steve Ruiz
f8e2ba5b3b
Update MultiplayerMenu.tsx ( #719 )
2022-06-15 13:34:53 +01:00
Steve Ruiz
8419d7d227
1.16.0
2022-06-09 18:06:17 +01:00
Steve Ruiz
d52d91b367
Enforce readonly mode ( #714 )
...
* Enforce readonly mode
* Fix test for React 18
* Move to dev
2022-06-09 16:00:47 +01:00
Judicael
d919bd273e
feat: add translation ( #704 )
...
* feat: add translation
* modal, left menu translation
* primary tools translation
* render with intl provider for testing
restore file
* french translation done
* context menu translation and test
* added italian
* Add menu to select language
* translation for the word language
* bump dev deps
Bump react on www
* Fix types
* update dependencies
* pre-release
* Delete lask.config.json
Co-authored-by: Enrico <franciscono.enry@gmail.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-09 15:33:35 +01:00
Steve Ruiz
8c2e22b334
1.15.1
2022-06-02 17:18:48 +01:00
Steve Ruiz
c959006144
Make eraser line scale to zoom ( #710 )
2022-06-02 17:14:27 +01:00
Peng Xiao
87692eb7fe
fix: vec min function ( #702 )
2022-06-01 18:49:16 +01:00
Peng Xiao
b47fb729ee
fix: Pointer position is incorrect if Tldraw is drawing in a scrolling g container ( #706 )
...
* fix: Pointer position is incorrect if Tldraw is drawing in a scrolling container
fix https://github.com/tldraw/tldraw/issues/661
* Add example for scrolling
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-06-01 18:48:48 +01:00
Steve Ruiz
b3ad319518
1.15.0
2022-06-01 15:34:20 +01:00
Steve Ruiz
c126be5c50
[feature] add erase line ( #708 )
...
* Add erase line
* Fix erasing small dots
* bump perfect-freehand
2022-06-01 15:21:36 +01:00
Steve Ruiz
eca66b1c54
Fix keyboard events while menu is open.
2022-05-20 15:22:50 +01:00
Steve Ruiz
9d8c4888f3
move style panel to right-hand size
2022-05-20 15:10:54 +01:00
Steve Ruiz
c37a4a33d6
release
2022-05-20 14:45:10 +01:00
Steve Ruiz
ba0795c595
[improvement] adds option to keep style menu open ( #697 )
...
* Adds open to keep style menu open
* fix keyboard shortcuts, add button to menu
2022-05-20 13:56:16 +01:00
Steve Ruiz
a9750d9dc6
rename room to project
2022-05-19 12:01:31 +01:00
Steve Ruiz
be8c85eb5f
cleanup
2022-05-19 11:45:59 +01:00
Steve Ruiz
0a23ad61b6
add filename to asset
2022-05-18 22:12:01 +01:00
Steve Ruiz
7e85d00c66
Merge branch 'main' of https://github.com/tldraw/tldraw
2022-05-18 22:06:05 +01:00
Steve Ruiz
bb58902d5b
ok
2022-05-18 22:04:04 +01:00
Steve Ruiz
cacb4b7827
[improvement] copy assets when copying to multiplayer room ( #694 )
2022-05-18 21:46:24 +01:00
Steve Ruiz
13f5787c31
[improvement] Add ability to copy to new multiplayer room ( #693 )
...
* Add ability to copy to new multiplayer room
* cleanup
2022-05-18 16:59:30 +01:00
Steve Ruiz
1d3b419baf
update version
2022-05-18 14:04:05 +01:00
Steve Ruiz
74b047549b
[fix] zoom on safari ( #692 )
...
* Fix pinch zooming on safari
* Reduce speed of zoom
2022-05-18 13:50:06 +01:00
Steve Ruiz
f281e123f8
fix buttons
2022-05-18 13:11:25 +01:00
Steve Ruiz
fbb29c87b2
[improvement] remove sponsorship color ( #691 )
...
* remove sponsorship variations
* Update menu
2022-05-18 13:09:11 +01:00
Steve Ruiz
e2a6badaef
[improvement] Adds error boundary ( #690 )
...
* Add error boundary
* Update useStyle.tsx
* Update ErrorFallback.tsx
2022-05-18 12:45:04 +01:00
Steve Ruiz
e33edb9cab
1.12.6
2022-05-15 10:51:24 +01:00
Steve Ruiz
e32815eaec
Fix scaled text ( #687 )
2022-05-15 10:40:22 +01:00
Steve Ruiz
cd465e2fc4
bump versions
2022-05-14 22:24:03 +01:00
Steve Ruiz
60e936dfed
[fix] iOS safari clipboard / text position ( #686 )
...
* use idb for clipboard, too
* Add warnings for firefox
* remove logs
* Update getTextSvgElement.ts
2022-05-14 14:59:47 +01:00
Steve Ruiz
c3050db968
[fix] copy and paste (again) ( #685 )
...
* fix copy
* remove console logs
* update types
2022-05-14 14:15:55 +01:00
Steve Ruiz
61cf4e6290
1.12.4
2022-05-14 12:19:06 +01:00
Steve Ruiz
357b1bb747
use canvas color for backgrounds
2022-05-14 12:18:18 +01:00
Steve Ruiz
07285dbf10
Add dark mode support for image export ( #684 )
2022-05-14 12:13:37 +01:00
Steve Ruiz
417926bb14
1.12.3
2022-05-14 11:48:14 +01:00
Steve Ruiz
543757984b
[fix] text editing in vscode ( #683 )
...
* fix text editing events in vscode
* fix outline in vscode
2022-05-14 11:43:56 +01:00
Steve Ruiz
b8dfc9895a
bump versions
2022-05-14 10:51:12 +01:00
Steve Ruiz
e0aa7c0032
[fix] Fix text clipboard issues ( #682 )
...
* add encode URI component
* prevent copying while editing text
* Add copy listeners to canvas instead
* remove trailing whitespace on paste
2022-05-14 10:47:08 +01:00
Steve Ruiz
57769e47b7
fix copy and paste on Safari ( #680 )
2022-05-13 13:00:53 +01:00
Steve Ruiz
98d44b2120
1.12.1
2022-05-11 17:00:15 +01:00
Steve Ruiz
6bb5faeaf0
Fix fonts in vscode extension
2022-05-11 16:58:40 +01:00
Steve Ruiz
4b2b14eb26
release 1.12.0
2022-05-11 14:34:07 +01:00
Steve Ruiz
c54c800675
[improvement] local copy and export for images ( #669 )
...
* local images
use assets for local copy
add menu options
* clean up packages
* cleanup unused content, move file handling into app.paste
* Add tldraw-assets.json to other files.
* add path to editor
* Update build.mjs
* add export to server example with link to gist
* Fix onAssetCreate and onAssetDelete APIs
* Update yarn.lock
* fix bugs on paste, adjust api for getting images, fix readonly on cut, copy, paste
* re-enable swc
* paste svg strings as svg images
* cleanup
* fix string case for tldraw json
2022-05-11 14:25:08 +01:00
Steve Ruiz
e78f9a086a
remove transpile modules ( #670 )
...
* remove transpile modules
* remove dependency
2022-05-11 09:55:31 +01:00
Steve Ruiz
2bc5717aae
Fix rectangle quirk
2022-05-10 08:20:50 +01:00
Steve Ruiz
dc8332c3dc
bump versions
2022-05-06 20:03:38 +01:00
Steve Ruiz
06f2dcd44b
[improvement] paste media from clipboard ( #667 )
...
* Adds support for pasting images
* Make pasted shape fit in screen
* default to debug mode false
2022-05-06 09:14:20 +01:00
Alejandro Durán
b4c47a8e74
Added fix for horizontal scroll on mac ( #662 )
...
Based onto [this worldanvil whiteboard issue](https://github.com/worldanvil/worldanvil-bug-tracker/issues/969 ) which is based on tldraw where one of our users noticed that the horizontal scrolling (panning) with the middle mouse didn't worked on macOS.
Tested on different machines and this bug fixes it
Co-authored-by: Alejandro Duran <alejandro@worldanvil.com>
2022-05-05 16:43:02 +01:00
Ugbala Valentino
eff858d0a7
fix: update tldraw to respond to dark mode prop ( #659 )
...
* fix: update tldraw to respond to darkMode prop
* fix: update dark mode route in examples
2022-04-29 09:35:20 +01:00
Steve Ruiz
5493403663
Revert "Use the npm module of browser-fs-access ( #653 )"
...
This reverts commit b4e97604b3
.
2022-04-29 09:07:25 +01:00
Chen ☁️☁️
184d8cfd78
[fix] duplicate code ( #651 )
2022-04-27 14:56:06 +01:00
Steve Ruiz
b859b721d0
Bump versions
2022-04-26 09:04:34 +01:00
Thomas Steiner
b4e97604b3
Use the npm module of browser-fs-access ( #653 )
...
* Use npm module
* Update yarn.lock
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-25 11:43:31 +01:00
Judicael
4749919342
change menu content overflow to auto ( #650 )
...
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
2022-04-20 13:49:27 +01:00
Steve Ruiz
241adc98d3
1.10.0
2022-04-16 13:02:52 +01:00
Judicael
cb6769e800
Add pencil icon to rename page input as an indicator ( #638 )
...
* Add pencil icon to rename page input
* improve style for page name input
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-04-16 12:50:09 +01:00
Steve Ruiz
d81bcc1055
[improvement] add undo redo at all screen sizes ( #643 )
...
* Adds undo redo at all viewport sizes
* Update TopPanel.tsx
2022-04-16 12:22:24 +01:00
Steve Ruiz
1723254e80
[feature] hold alt to grow arrow from center ( #635 )
...
* Add alt-drag line/arrow handles
* add test
2022-04-02 10:47:52 +01:00
Judicael
2421accb4f
Add text field to rename the page ( #629 )
...
* Add text field to rename the page
* tweak appearance
Co-authored-by: judicael_ai <judicael@smartpredict.ai>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-31 14:31:26 +01:00
Steve Ruiz
059d1011c9
Add migrate step ( #628 )
2022-03-31 14:16:43 +01:00
chlbri
4d5a929366
Feature style ( #627 )
...
* initial
* style: style and remove Svg export
* tiny up
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-24 09:05:35 +00:00
Steve Ruiz
8aa54f4d8c
update
2022-03-17 14:11:22 +00:00
Steve Ruiz
2a98e0c6e7
[fix] Protect document from missing parents / children. ( #622 )
...
* Scan document for missing parents / children.
* fix tests
* Apply fixes to vscode extension
2022-03-17 12:42:18 +00:00