David Luzar
8068d1f853
feat: export serializeAsJSON
from package ( #3538 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-05-12 00:24:41 +02:00
Steve Ruiz
92c7d3257f
fix: Exporting freedraw with color to svg ( #3565 )
2021-05-11 10:44:26 +02:00
dwelle
a8a5e7b6ff
fix: no migrating draw
lines correctly
2021-05-10 16:19:31 +02:00
dependabot[bot]
45a4a00b69
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 ( #3555 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:12:10 +05:30
dependabot[bot]
436e539d3a
chore(deps-dev): bump @babel/preset-env in /src/packages/utils ( #3549 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.15 to 7.14.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.14.1/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:08:35 +05:30
dependabot[bot]
ff19167063
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #3547 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.15 to 7.14.1.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.14.1/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:03:50 +05:30
dependabot[bot]
3fc531ed6e
chore(deps-dev): bump webpack in /src/packages/utils ( #3528 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:02:06 +05:30
dependabot[bot]
6f55c00814
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3523 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.35.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:01:29 +05:30
dependabot[bot]
a7eb6e1168
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /src/packages/utils ( #3556 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 18:00:54 +05:30
dependabot[bot]
641bbdd2da
chore(deps): bump lodash in /src/packages/excalidraw ( #3554 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:53:27 +05:30
dependabot[bot]
42b0f7a614
chore(deps-dev): bump @babel/core in /src/packages/utils ( #3526 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.16 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:33:06 +05:30
dependabot[bot]
c11e3818ac
chore(deps-dev): bump @babel/core in /src/packages/excalidraw ( #3525 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.16 to 7.14.0.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.14.0/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:32:46 +05:30
dependabot[bot]
4b6aa5c53b
chore(deps-dev): bump mini-css-extract-plugin ( #3522 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.5.0...v1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:32:01 +05:30
dependabot[bot]
ebd0408d7d
chore(deps-dev): bump webpack-cli in /src/packages/utils ( #3550 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases )
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.6.0...webpack-cli@4.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 17:31:30 +05:30
Preet
f4fefbcee8
feat: Better rendering of curved rectangles ( #3562 )
2021-05-10 12:41:17 +02:00
David Luzar
11b8cc2caa
fix: remove draw
element from codebase ( #3559 )
2021-05-10 11:01:10 +02:00
David Luzar
6bebfe63be
fix: handle render errors ( #3557 )
2021-05-09 21:43:36 +02:00
David Luzar
91ab7f36e2
fix: restore on paste or lib import ( #3558 )
2021-05-09 21:42:12 +02:00
dwelle
5ee8e8249c
log instead of throw on unimplemented render type
2021-05-09 17:47:52 +02:00
Steve Ruiz
49c6bdd520
feat: improved freedraw ( #3512 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-05-09 17:42:10 +02:00
Arun
198800136e
feat: Add shortcut for dark mode ( #3543 )
...
* Create and move toggle into an action
* Add shortcut on help dialog
2021-05-08 11:47:30 +02:00
David Luzar
178ee04d82
feat: Adds rounded icons, joins and caps. ( #3521 )
...
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-05-07 18:03:23 +02:00
Excalidraw Bot
18cdafbcbe
chore: Update translations from Crowdin ( #3472 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-05-06 22:13:35 +02:00
David Luzar
286e9a1524
feat: add temporary Excalidraw+ promo ( #3540 )
...
* feat: add temporary Excalidraw+ promo
* add seemingly required query params
2021-05-06 21:29:05 +02:00
David Luzar
bac76778ce
feat: add renderTopRight
prop & remove GH corner from core ( #3539 )
...
* feat: add `renderTopRight` prop & remove GH corner from core
* reuse `--space-factor` var
* update readme & changelog
2021-05-06 21:00:17 +02:00
Luca Colonnello
f28f7ffb6e
fix: improve mobile user experience ( #3508 )
2021-04-27 12:46:30 +02:00
David Luzar
12e8cc853f
feat: remove backdrop-filter
to improve perf ( #3506 )
...
* feat: remove `backdrop-filter` to improve perf
* remove `backdrop-filter` from Modal
2021-04-27 10:55:59 +02:00
David Luzar
81108bf580
fix: prevent selecting .visually-hidden
elements ( #3501 )
2021-04-26 00:03:53 +02:00
Aakansha Doshi
23030a15f2
docs: release @excalidraw/excalidraw 0.7.0 🎉 ( #3497 )
...
* docs: release version 0.7.0
* update
* fix
* fix
* fix
* fix
* fix
* fix
* version bump
* fix readme
* tweaks
Co-authored-by: David Luzar <luzar.david@gmail.com>
* update link
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-25 19:02:06 +05:30
David Luzar
4ef7cb7365
feat: bump element version on z-index change ( #3483 )
...
* feat: bump element version on z-index change
* update snaps
* update changelog
2021-04-25 14:09:38 +02:00
David Luzar
5cc3f7db80
feat: support scroll to center to single element and rename setScrollToContent
( #3482 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-25 12:28:41 +02:00
Aakansha Doshi
5c42cb5be4
fix: only handle cut/paste events inside excalidraw ( #3484 )
...
* fix: only hand cut/paste events inside excalidraw
* changelog
* check if excalidraw is active for copy event
* check if active element is part of excalidraw
2021-04-25 15:13:42 +05:30
dependabot[bot]
004d3180b5
chore(deps-dev): bump webpack in /src/packages/utils ( #3491 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.33.2 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.33.2...v5.35.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:59:13 +05:30
dependabot[bot]
c12119278a
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3492 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.34.0 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.34.0...v5.35.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:58:51 +05:30
dependabot[bot]
4d628844de
chore(deps-dev): bump css-loader in /src/packages/utils ( #3489 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.2 to 5.2.4.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.2...v5.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:58:02 +05:30
dependabot[bot]
946a209927
chore(deps-dev): bump @babel/core in /src/packages/excalidraw ( #3487 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:57:11 +05:30
dependabot[bot]
811437724b
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3486 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.3 to 5.2.4.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.3...v5.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:56:40 +05:30
dependabot[bot]
9dcde502aa
chore(deps-dev): bump @babel/core in /src/packages/utils ( #3493 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-25 12:56:18 +05:30
Aakansha Doshi
d3106495b2
fix: make history local to a given excalidraw instance ( #3481 )
...
* fix: make history local to a given excalidraw instance
* changelog
* Update src/packages/excalidraw/CHANGELOG.md
2021-04-24 18:21:02 +05:30
Aakansha Doshi
891ac82447
fix: use active Excalidraw component when editing text ( #3478 )
...
* fix: use active excalidraw component when editing text
* changelog
* tweak
2021-04-23 21:11:18 +05:30
Aakansha Doshi
354976e08e
build: Add vendor prefixes to css rules ( #3476 )
...
* build: Add vendor prefixes to css files
* changelog
* fix
2021-04-23 11:31:38 +05:30
David Luzar
5c73c5813c
chore: fix CHANGELOG links
2021-04-21 23:40:51 +02:00
David Luzar
3a0b6fb41b
refactor: move getSyncableElements to CollabWrapper & expose isInvisiblySmallElement helper ( #3471 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-21 23:37:44 +02:00
Aakansha Doshi
37d513ad59
feat: Make library local to given excalidraw instance and allow consumer to control it ( #3451 )
...
* feat: dnt share library & attach to the excalidraw instance
* fix
* Add addToLibrary, resetLibrary and libraryItems in initialData
* remove comment
* handle errors & improve types
* remove resetLibrary and addToLibrary and add onLibraryChange prop
* set library cache to empty arrary on reset
* Add i18n for remove/add library
* Update src/locales/en.json
Co-authored-by: David Luzar <luzar.david@gmail.com>
* update docs
* Assign unique ID to
each excalidraw component and remove csrfToken from library as its not needed
* tweaks
Co-authored-by: David Luzar <luzar.david@gmail.com>
* update
* tweak
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-04-21 23:38:24 +05:30
Aakansha Doshi
46624cc953
docs: update local installation instructions in readme ( #3452 )
...
* docs: tweak readme
* remove editors
* Update README.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
* Update README.md
Co-authored-by: Lipis <lipiridis@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-21 14:52:38 +05:30
dependabot[bot]
0d23c8dd76
chore(deps): bump sass from 1.32.8 to 1.32.10 ( #3460 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.32.8 to 1.32.10.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.32.8...1.32.10 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 00:32:37 +03:00
Excalidraw Bot
51ef4cd97b
chore: Update translations from Crowdin ( #3377 )
2021-04-20 23:48:57 +03:00
dependabot[bot]
b558d19d37
chore(deps-dev): bump eslint-config-prettier from 8.1.0 to 8.2.0 ( #3461 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.1.0...v8.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 23:48:30 +03:00
dependabot[bot]
b8fb6580ef
chore(deps-dev): bump @babel/plugin-transform-runtime ( #3434 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.13.10 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-plugin-transform-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-20 15:55:13 +05:30
David Luzar
6730eb41c2
fix: scrollToContent only on visible elements ( #3466 )
2021-04-19 17:29:13 +02:00