Wykres commitów

1512 Commity (ae536d0be67caaca24f17867b5f3b7d93086fd09)

Autor SHA1 Wiadomość Data
Steve Ruiz aeebfa7368 Remove chrome-aws-lambda from dependencies 2022-05-11 14:26:33 +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
dependabot[bot] 1a1ce48407
Bump plist from 3.0.4 to 3.0.5 (#676)
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:59:52 +01:00
Steve Ruiz e78f9a086a
remove transpile modules (#670)
* remove transpile modules

* remove dependency
2022-05-11 09:55:31 +01:00
dependabot[bot] 2b484cf93a
Bump ejs from 3.1.6 to 3.1.7 (#675)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:54:15 +01:00
dependabot[bot] c7f16d97c6
Bump minimist from 1.2.5 to 1.2.6 in /apps/vscode/extension (#674)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:52:20 +01:00
dependabot[bot] 78c480e5aa
Bump plist from 3.0.4 to 3.0.5 in /apps/electron (#673)
Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:51:16 +01:00
dependabot[bot] ada4046701
Bump next-auth from 4.2.1 to 4.3.2 (#672)
Bumps [next-auth](https://github.com/nextauthjs/next-auth) from 4.2.1 to 4.3.2.
- [Release notes](https://github.com/nextauthjs/next-auth/releases)
- [Changelog](https://github.com/nextauthjs/next-auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextauthjs/next-auth/compare/v4.2.1...next-auth@v4.3.2)

---
updated-dependencies:
- dependency-name: next-auth
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:50:53 +01:00
dependabot[bot] 031d1fbf32
Bump ejs from 3.1.6 to 3.1.7 in /apps/electron (#671)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-11 09:50:43 +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 79204d7ba5 fix build for vscode extension 2022-04-26 11:40:26 +01:00
Steve Ruiz c7a8e76339 v1.11.1 2022-04-26 09:07:43 +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
Steve Ruiz c09d6a3a29 Create beige-mayflies-crash.md 2022-04-16 12:55:55 +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
Steve Ruiz b4dd96ed19 update images 2022-03-31 17:30:29 +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
Steve Ruiz 1d5b3ac307 1.9.1 2022-03-11 08:43:36 +00:00
Steve Ruiz 8039016416
[fix] Only delete bindings if they were attached to a deleted group shape (#617)
* Only delete bindings if they were attached to a deleted group shape

* Update TransformSingleSession.ts
2022-03-10 19:39:21 +00:00
Steve Ruiz 1dd71f8b5e update images 2022-03-09 16:11:30 +00:00
Steve Ruiz 1950b4fa99 version, update images 2022-03-09 16:02:51 +00:00
Steve Ruiz 4886ef668e
adds minimal scrolling to menus (#614) 2022-03-09 13:13:15 +00:00
Steve Ruiz 99dd67cd81
remove dots in geometric shapes (#613) 2022-03-09 13:04:39 +00:00
Steve Ruiz 15e3e9805f
[fix] Refresh bounding boxes when fonts load (#612)
* remove font face fallbacks

* When fonts load, force the document to recalculate bounding boxes.
2022-03-09 12:39:41 +00:00
Steve Ruiz 1778a49272 Merge branch 'main' of https://github.com/tldraw/tldraw 2022-03-09 11:31:16 +00:00
Steve Ruiz f099630d01
adds export to vscode extension (#608) 2022-03-09 11:26:37 +00:00
dependabot[bot] 77534ca124
Bump next from 12.0.10 to 12.1.0 (#610)
Bumps [next](https://github.com/vercel/next.js) from 12.0.10 to 12.1.0.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v12.0.10...v12.1.0)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 11:26:27 +00:00
dependabot[bot] 5e62933459
Bump follow-redirects from 1.14.5 to 1.14.9 in /apps/electron (#611)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.5 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.5...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-09 11:26:17 +00:00
Steve Ruiz 8ba4d70615 Update package.json 2022-03-09 11:25:08 +00:00
Steve Ruiz 1544ce3e20
[fix] brush appearance when using CAD mode (#609)
* Update Tldraw.tsx

* Uses color rather than dash for brush in CAD mode

* improves colors for dark mode

* Update Tldraw.tsx
2022-03-09 11:02:46 +00:00
Enrico 2781aa4e0d
added CAD like behavior like described in issue #555 (#589)
* added cade like behaviour like described in issue #555

* added color change when selecting depending on behavior

* added option to turn on/off cad like selection

* Revert "added color change when selecting depending on behavior"

This reverts commit 4a4aac02b6.

* Remove colors, add perfect dash props, rename setting, move prop to appState

* Reorder menu

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-09 10:19:58 +00:00
Steve Ruiz 3d7b9612dc ignore remote cache 2022-03-03 07:31:16 +00:00
Steve Ruiz 9d984b8b7a Update TldrawApp.ts 2022-03-03 07:09:19 +00:00
Fabian Mu 32203637f2
Extract SVGs size from viewBox attibute (#590) 2022-03-02 14:59:54 +00:00
Yao Wang e43219ded8
fix(import): make sure every shape is in page (#599)
* fix(import): make sure every shape is in page

- only to add the shape is in page shapes
-https://gist.github.com/cangoektas/4a84e2d48f6e2551b8b3a632ae1b4f71

Closes #554

* Update useShapeTree.tsx

* Update useShapeTree.tsx

* Update turbo.json

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-03-02 14:21:14 +00:00