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
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
Excalidraw Bot
51ef4cd97b
chore: Update translations from Crowdin ( #3377 )
2021-04-20 23:48:57 +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
dependabot[bot]
87c42cb327
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3469 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.31.2 to 5.34.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.31.2...v5.34.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 15:15:46 +00:00
dependabot[bot]
8cfd05aa95
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3470 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.1 to 5.2.3.
- [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.1...v5.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 15:14:24 +00:00
dependabot[bot]
3ed8271344
chore(deps-dev): bump webpack-bundle-analyzer in /src/packages/utils ( #3458 )
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.4.0...v4.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 20:41:14 +05:30
dependabot[bot]
73515b5a83
chore(deps-dev): bump webpack-bundle-analyzer ( #3455 )
...
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer ) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases )
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.4.0...v4.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 20:40:27 +05:30
dependabot[bot]
63d3da9a54
chore(deps-dev): bump mini-css-extract-plugin ( #3456 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.4.1 to 1.5.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.4.1...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 20:39:53 +05:30
dependabot[bot]
215fb5e357
chore(deps-dev): bump css-loader in /src/packages/utils ( #3457 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.1 to 5.2.2.
- [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.1...v5.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 20:39:18 +05:30
dependabot[bot]
886177816b
chore(deps-dev): bump webpack in /src/packages/utils ( #3459 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.31.2 to 5.33.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.31.2...v5.33.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 20:35:56 +05:30
David Luzar
7d29351d66
fix: library onClick paste off-center ( #3462 )
2021-04-18 13:33:05 +02:00
Aakansha Doshi
c0047269c1
fix: focus on last active element when dialog closes ( #3447 )
...
* fix: focus on last active element when dialog closes
* useState instead of ref
2021-04-15 20:29:00 +05:30
Aakansha Doshi
793b69e592
fix: Apply theme to only to active excalidraw component ( #3446 )
...
* feat: Apply theme to only current instance of excalidraw
* fix
* fix
* fix
* fix
* fix
* update changelog
* fix
2021-04-13 23:02:57 +05:30
Clément Lafont
e0a449aa40
feat: support tab in text Wyswig ( #3411 )
...
* fix: support tab in text Wyswig
* Refactor tab handling
Tab now indent the whole line, instead of inserting at the cursor
position.
Shift+Tab now deindent the whole line.
* Add multi-line tabulation support
* rename
* simplify algo for selected lines start indices & naming tweaks
* add cmd-bracket shortcuts as alias to indent/outdent
* support outdenting partial tabs
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-04-13 16:23:46 +02:00
Aakansha Doshi
d5a270f643
fix: tweak readme for syncable elements ( #3444 )
...
* fix: tweak readme for syncable elements
* fix
* tweak
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-13 15:04:02 +05:30
Aakansha Doshi
d126d04d17
feat: Bind keyboard events to the current excalidraw container and add handleKeyboardGlobally prop to allow host to bind to document ( #3430 )
...
* fix: Bind keyboard events to excalidraw container
* fix cases around blurring
* fix modal rendering so keyboard shortcuts work on modal as well
* Revert "fix modal rendering so keyboard shortcuts work on modal as well"
This reverts commit 2c8ec6be8eff7d308591467fe2c33cfbca16138f.
* Attach keyboard event in react way so we need not handle portals separately (modals)
* dnt propagate esc event when modal shown
* focus the container when help dialog closed with shift+?
* focus the help icon when help dialog on close triggered
* move focusNearestTabbableParent to util
* rename util to focusNearestParent and remove outline from excal and modal
* Add prop bindKeyGlobally to decide if keyboard events should be binded to document and allow it in excal app, revert tests
* fix
* focus container after installing library, reset library and closing error dialog
* fix tests and create util to focus container
* Add excalidraw-container class to focus on the container
* pass focus container to library to focus current instance of excal
* update docs
* remove util as it wont be used anywhere
* fix propagation not being stopped for React keyboard handling
* tweak reamde
Co-authored-by: David Luzar <luzar.david@gmail.com>
* tweak changelog
* rename prop to handleKeyboardGlobally
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-04-13 01:29:25 +05:30
dependabot[bot]
153ca6a7c6
chore(deps-dev): bump typescript in /src/packages/excalidraw ( #3438 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.2.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 19:06:44 +00:00
dependabot[bot]
2618ac9f6e
chore(deps-dev): bump @babel/core in /src/packages/utils ( #3432 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.14 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-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 19:05:54 +00:00
dependabot[bot]
f64fd80493
chore(deps-dev): bump @babel/plugin-transform-runtime ( #3435 )
...
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-12 19:00:35 +00:00
dependabot[bot]
a884351137
chore(deps-dev): bump mini-css-extract-plugin ( #3443 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.4.0 to 1.4.1.
- [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.4.0...v1.4.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 18:58:53 +00:00
dependabot[bot]
e546a85a8d
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #3431 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.12 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-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 18:57:23 +00:00
dependabot[bot]
29e630086c
chore(deps-dev): bump @babel/core in /src/packages/excalidraw ( #3442 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.14 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-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:24:47 +05:30
dependabot[bot]
a82165cb50
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3433 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.30.0 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:22:34 +05:30
dependabot[bot]
4dc0159a05
chore(deps-dev): bump webpack in /src/packages/utils ( #3436 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.30.0 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:22:07 +05:30
dependabot[bot]
458787d1d7
chore(deps-dev): bump css-loader in /src/packages/utils ( #3437 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.0 to 5.2.1.
- [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.0...v5.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:20:50 +05:30
dependabot[bot]
815977296e
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3439 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.2.0 to 5.2.1.
- [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.0...v5.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:20:23 +05:30
dependabot[bot]
58f840aa93
chore(deps-dev): bump @babel/preset-env in /src/packages/utils ( #3440 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.12 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-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 00:19:49 +05:30
David Luzar
a7cbe68ae8
refactor: improve types around dataState and libraryData ( #3427 )
2021-04-10 19:17:49 +02:00
Aakansha Doshi
c19c8ecd27
feat: Add scroll listener to the nearest scrollable container and allow consumer to disable it ( #3408 )
...
* fix: Add scroll listener to the nearest scrollable container
* fix
* use loop instead of recursion
* fix
* return document
* calculate nearest scrollable container in settimeout to unblock main thread
* Add prop detectNearestScroll and clear timeout on unmount
* disable scroll listener on excal app
* update prop name to detectScroll
* update docs
* remove settimeout
* tweak docs
Co-authored-by: David Luzar <luzar.david@gmail.com>
* tweak changelog
Co-authored-by: David Luzar <luzar.david@gmail.com>
* lint
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-09 20:44:54 +05:30
Fabien BERNARD
d91950bd03
feat: Add onPaste prop to customise clipboard paste event ( #3420 )
...
* Add Awaited type util
* Expose onPasteFromClipboard props
* Add `event` as second param for advanced usages
* Add support for async flows
* Extract ClipboardData type
* Rename `onPasteFromClipboard` to `onPaste`
* Remove unused type helper
* Add `onPaste` documentation
* tweak docs
* fix
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-09 20:19:58 +05:30
David Luzar
09dfd16b17
feat: use component dimensions to break to mobile ( #3414 )
...
Co-authored-by: Jed Fox <git@jedfox.com>
2021-04-08 19:54:50 +02:00
David Luzar
1e48aafb9c
fix: incorrectly caching png file handle ( #3407 )
2021-04-06 21:27:15 +02:00
Thang Vu
a0899966ff
feat: enable drop event on the whole component ( #3406 )
...
Co-authored-by: Thang Vu <thang.huu.vu@mgm-tp.com>
2021-04-06 17:17:00 +02:00
Aakansha Doshi
c2b40dff92
docs: changelog tweaks and add Library updates for 0.6.0 ( #3404 )
...
* docs: changelog tweaks and Library updates for 0.6.0
* update readme_next to be same as readme
2021-04-06 00:38:14 +05:30
David Luzar
9733ecb3df
fix: popover positioning ( #3399 )
2021-04-05 17:26:37 +02:00
Aakansha Doshi
90fd4a95df
refactor: rename setCanvasOffsets to refresh and release @excalidraw/excalidraw v0.6.0 🎉 ( #3398 )
...
* docs: Release @excalidraw/excalidraw v0.6.0
* update
* fix
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
* rename setCanvasOffsets to refresh
* fix
* fix
* typo fix
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-04 22:05:02 +05:30
David Luzar
422c25449f
fix: export dialog canvas positioning ( #3397 )
2021-04-04 14:41:22 +02:00
Thang Vu
67289ef4ce
feat: reopen library menu on import from file ( #3383 )
...
Co-authored-by: Thang Vu <thang.huu.vu@mgm-tp.com>
2021-04-04 14:06:10 +02:00
Arun
233576628c
feat: Support customising canvas actions 🎉 ( #3364 )
...
* feat: Support hiding save, save as, clear & export
* Remove canvasActions from state & minor changes
* Rename prop to UIOptions & pass default value
* Make requested changes
* better type checking so that optional check not needed at every point
* remove optional checks
* Add few tests
* Add describe block for canvasActions & use snapshot tests
* Add support for hiding canvas background picker
* Take snapshot of canvasActions instead of the whole app
* Add support for hiding dark mode toggle
* Update README.md
* Rename table heading
* Update changelog
* Make requested changes
* Update test name
* tweaks
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-04-04 15:57:14 +05:30
Aakansha Doshi
c54a099010
feat: Calculate width/height
of canvas based on container dimensions (".excalidraw" selector) & remove props width & height ( #3379 )
...
* Remove width/height from the ".excalidraw" container so it will sized automatically.
* updated all ref calculation to ".excalidraw" instead of parent since now ".excalidraw" will get resized
* Remove props width/height as its not needed anymore.
* Resize handler is also not needed anymore.
* Position absolute canvas due to #3379 (comment)
* move css to style and remove one extra rerendering
* factor out mock logic for test
* set height, width so as to avoid unnecessary updates of regression snap
* better mock
* better type checking and omit width,height from getDefaultAppState and also restore
* revert
* default to window dimensions in constructor
* update docs
* update
* update
* tweaks
2021-04-04 15:05:16 +05:30
dependabot[bot]
3b976613ba
chore(deps-dev): bump ts-loader in /src/packages/utils ( #3388 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.18 to 8.1.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.18...v8.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-04 09:12:34 +00:00
dependabot[bot]
bee59747d1
chore(deps-dev): bump ts-loader in /src/packages/excalidraw ( #3385 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.18 to 8.1.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.18...v8.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-04 09:11:09 +00:00
dependabot[bot]
2e1352f3fa
chore(deps-dev): bump @babel/core in /src/packages/utils ( #3386 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.13 to 7.13.14.
- [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.14/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-04 14:39:06 +05:30
dependabot[bot]
6b65db7b68
chore(deps-dev): bump @babel/core in /src/packages/excalidraw ( #3387 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.13 to 7.13.14.
- [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.14/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-04 14:38:14 +05:30
dependabot[bot]
e4c5ebf867
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3389 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.28.0 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.28.0...v5.30.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-04 14:37:16 +05:30
dependabot[bot]
0602f3cfe4
chore(deps-dev): bump webpack in /src/packages/utils ( #3390 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.28.0 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.28.0...v5.30.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-04 14:36:59 +05:30
Excalidraw Bot
aa9e1c4566
chore: Update translations from Crowdin ( #3371 )
2021-04-01 18:47:48 +03:00
Aakansha Doshi
edc7f7bf47
feat: calculate offsets when excalidraw container resizes ( #3374 )
...
* feat: calculate offsets when excalidraw container resizes
* fix
* rename
* update docs
* Update src/packages/excalidraw/README_NEXT.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-01 21:10:11 +05:30
Aakansha Doshi
1310256dcc
fix: remove JSON.stringify when calculating storage as its not needed ( #3373 )
2021-04-01 11:19:31 +02:00
Hampus Lavin
4ac1841d92
test: Add unit tests for package/utils ( #3357 )
...
* Update return type to reflect actual signature
* add tests
* Set getDimensions as optional
* add newlines between specs
* remove redundant assertion
* move fixtures to separate files
* Add spacing
* Move tests, add cases
* Add unit tests for package/utils exportToSvg
* extract default object in test
* Move test suite to new file
2021-03-31 17:58:25 +05:30
Arun
bdf6e53289
fix: Add aria-label to end-to-end encryption blog link ( #3367 )
2021-03-31 17:02:54 +05:30
Aakansha Doshi
a6706cff20
feat: export types for package @excalidraw/excalidraw 🎉 ( #3337 )
...
* feat: export types for package @excalidraw/excalidraw
* update
* remove
* Add lib in tsconfig-types and Add global.d.ts, and errors down to 39 :)
* Add declaration for scss so typescript allows scss imports, errors down to 37 :)
* Add css.d.ts, errors down to 32 yay
* set target to es6, all errors resolved yay
* move types outside dist
* update docs
* fix
2021-03-30 23:51:55 +05:30
Excalidraw Bot
c739ac5c61
chore: Update translations from Crowdin ( #3335 )
...
* New translations en.json (Greek)
* Auto commit: Calculate translation coverage
* New translations en.json (Turkish)
* Auto commit: Calculate translation coverage
* New translations en.json (Swedish)
* Auto commit: Calculate translation coverage
* New translations en.json (Occitan)
* Auto commit: Calculate translation coverage
* New translations en.json (Finnish)
* Auto commit: Calculate translation coverage
* New translations en.json (Spanish)
* Auto commit: Calculate translation coverage
* New translations en.json (Slovak)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Simplified)
* Auto commit: Calculate translation coverage
* New translations en.json (Chinese Simplified)
* New translations en.json (Ukrainian)
* Auto commit: Calculate translation coverage
2021-03-30 12:22:15 +03:00
Aakansha Doshi
0d818f3810
feat: Add renderCustomStats prop and expose setToastMessage API via refs to update toast ( #3360 )
...
* feat: Add renderCustomStats prop to render extra stats & move storage and version to renderCustomStats
* expose Api to update toast message so single instance of toast is used
* rename to setToastMessage
* update docs
2021-03-29 20:06:34 +05:30
Lipis
722e5ca845
refactor: Use arrow function where possible ( #3315 )
2021-03-29 17:09:20 +03:00
Aakansha Doshi
0f5b0d1d1d
docs: revert README to last version and add README_NEXT with changes for next version ( #3355 )
2021-03-29 01:12:27 +05:30
Aakansha Doshi
25fd275158
fix: Don't share collab types with core ( #3353 )
...
* fix: Don't share collab types with core
* fix
* remove
* fix
2021-03-28 19:26:03 +05:30
Aakansha Doshi
3d047d57a7
build: Add separate dev and prod builds and add source-maps to dev build 🎉 ( #3330 )
...
* build: Add separate dev and prod builds and add sourcemaps to dev build
* update
* add
* update changelog
2021-03-28 13:48:26 +05:30
dependabot[bot]
26a6f9e76d
chore(deps-dev): bump webpack-cli in /src/packages/utils ( #3342 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.5.0 to 4.6.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.5.0...webpack-cli@4.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 08:13:04 +00:00
dependabot[bot]
1c11bb5b41
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #3351 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.10 to 7.13.12.
- [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.12/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-03-28 13:42:20 +05:30
dependabot[bot]
aced1cc6f5
chore(deps-dev): bump css-loader in /src/packages/utils ( #3341 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.3 to 5.2.0.
- [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.1.3...v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 08:11:35 +00:00
dependabot[bot]
f3f85b4c90
chore(deps-dev): bump @babel/preset-react in /src/packages/excalidraw ( #3343 )
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.12.13 to 7.13.13.
- [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.13/packages/babel-preset-react )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:36:35 +05:30
dependabot[bot]
86781f09dd
chore(deps-dev): bump webpack in /src/packages/utils ( #3344 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.27.1 to 5.28.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.27.1...v5.28.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:35:59 +05:30
dependabot[bot]
a94b44440e
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3339 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.27.1 to 5.28.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.27.1...v5.28.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:35:28 +05:30
dependabot[bot]
77bf553ed8
chore(deps-dev): bump @babel/preset-env in /src/packages/utils ( #3346 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.10 to 7.13.12.
- [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.12/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-03-28 13:34:56 +05:30
dependabot[bot]
fce7047199
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3352 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.3 to 5.2.0.
- [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.1.3...v5.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:34:22 +05:30
dependabot[bot]
9905deb4b4
chore(deps-dev): bump webpack-cli in /src/packages/excalidraw ( #3338 )
...
Bumps [webpack-cli](https://github.com/webpack/webpack-cli ) from 4.5.0 to 4.6.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.5.0...webpack-cli@4.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:08:57 +05:30
dependabot[bot]
fee84f3807
chore(deps-dev): bump mini-css-extract-plugin ( #3340 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.3.9 to 1.4.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.3.9...v1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:08:14 +05:30
dependabot[bot]
9020ab3761
chore(deps-dev): bump @babel/core in /src/packages/excalidraw ( #3345 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.10 to 7.13.13.
- [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.13/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:07:31 +05:30
dependabot[bot]
136f8b2279
chore(deps-dev): bump @babel/core in /src/packages/utils ( #3347 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.10 to 7.13.13.
- [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.13/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-28 13:06:56 +05:30
David Luzar
8670b2d587
fix: support d&d of files without extension ( #3168 )
2021-03-26 22:12:02 +01:00
David Luzar
b081a09962
fix: positions stats for linear elements ( #3331 )
2021-03-26 22:56:27 +02:00
Excalidraw Bot
10a23a10a5
chore: Update translations from Crowdin ( #3313 )
2021-03-26 22:54:57 +02:00
David Luzar
30ae4b8bf2
feat: don't unnecessarily prompt when installing libraries ( #3329 )
2021-03-26 18:32:38 +01:00
David Luzar
cf9e29834d
feat: prefer hash when importing libraries & expose importLibrary ( #3320 )
2021-03-26 18:10:43 +01:00
David Luzar
5d26c15daf
fix: debounce.flush invokes func even if never queued before ( #3326 )
...
* fix: `debounce.flush` invokes func even if never queued before
* reset after debounced invocation
* account for fn throwing
2021-03-26 17:12:32 +01:00
Riley Schnee
b0d7ff290f
feat: Add option to flip single element on the context menu ( #2520 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-03-26 16:45:08 +01:00
David Luzar
458e6d6c24
fix: state selection state on opening contextMenu ( #3333 )
2021-03-26 16:41:57 +01:00
David Luzar
1b626175de
feat: use origin + pathname as libraryReturnUrl default ( #3325 )
2021-03-25 18:27:40 +01:00
Aakansha Doshi
5ffdd3f32d
docs: Readme tweaks :) ( #3319 )
...
* docs: Readme tweaks :)
* update
* fix
* Add info about collab
2021-03-25 21:38:15 +05:30
Aakansha Doshi
77b873251a
fix: Add unique key for library header to resolve dev warnings ( #3316 )
2021-03-23 22:25:54 +05:30
Furkan Demir
b50b8f7b0d
fix: disallow create text in viewMode on mobile ( #3219 )
2021-03-23 19:36:16 +05:30
Arun
40656c70d1
fix: Make help toggle tabbable ( #3310 )
...
* fix: Make help toggle tabbable
* Update src/components/HelpIcon.tsx
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-03-23 16:48:10 +05:30
Excalidraw Bot
c5b4b04d6b
chore: Update translations from Crowdin ( #3270 )
2021-03-22 22:51:06 +02:00
Arun
0480753581
fix: Show Windows share icon for Windows users ( #3306 )
...
* fix: Show Windows share icon for Windows users
* move function outside t he component
2021-03-22 17:02:20 +01:00
Thomas Steiner
f7e17a28fa
fix: Update browser-fs-access to use new supported export ( #3303 )
...
* Use new exported supported
* Bump to v0.15.3
2021-03-22 14:58:26 +01:00
Hitesh Goyal
78f3a92dd1
feat: replaces fontSize and fontFamily text with icons ( #2857 )
...
Co-authored-by: Hitesh Goyal <hiteshlyearn@Hiteshs-MacBook-Pro.local>
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-03-22 14:26:35 +01:00
Mike Kowalski
c8743a8c02
fix: use random IV for link-sharing encryption ( #2829 ) ( #2833 )
...
* fix: use random IV for link-sharing encryption (#2829 )
* fix: add backward compatibility for link-sharing encryption (#2829 )
2021-03-21 22:31:35 -07:00
Christopher Chedeau
127c1be6ad
fix: Don't scroll to content on INIT websocket message ( #3291 )
...
If you load a shared scene with at least another person on the scene, you can start seeing the content via the firebase response. If you scroll and you receive the response from the websocket INIT, then it scrolls you back to the center which is jarring.
This PR removes the scroll to content for that use case.
2021-03-21 17:25:19 +01:00
Aakansha Doshi
86bf2d697d
docs: Release @excalidraw/excalidraw@0.5.0 🎉 ( #3289 )
...
* docs: Release @excalidraw/excalidraw@0.5.0
* update changelog
* update readme
* remove styles since github strips the styles in markdown
2021-03-21 19:19:09 +05:30
Aakansha Doshi
7ee8de0a46
feat: set window.name in excalidraw app & also support target for excalidraw libraries ( #3299 )
...
* feat: set window.name in excalidraw app so library installation always opens on same tab & also support target for excalidraw libraries
* update changelog and readme
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com>
* use level 4 heading
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-21 18:13:52 +05:30
dependabot[bot]
981f327b48
chore(deps-dev): bump css-loader in /src/packages/utils ( #3292 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.2 to 5.1.3.
- [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.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-21 12:55:37 +05:30
dependabot[bot]
eeea8406c9
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3293 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.2 to 5.1.3.
- [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.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-21 12:31:15 +05:30
dependabot[bot]
0f249e3b26
chore(deps-dev): bump webpack in /src/packages/utils ( #3294 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.24.3 to 5.27.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.24.3...v5.27.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-21 12:29:44 +05:30
dependabot[bot]
2c7c80bd75
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3295 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.24.3 to 5.27.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.24.3...v5.27.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-21 12:21:09 +05:30
David Luzar
94ad8eaa19
feat: support pasting file contents & always prefer system clip ( #3257 )
2021-03-20 20:20:47 +01:00
Aakansha Doshi
13d9374cde
fix: Don't show export and delete when library is empty ( #3288 )
2021-03-20 21:58:37 +05:30
Aakansha Doshi
efb6d0825b
feat: Add label for name field and use input when editable in export dialog ( #3286 )
...
* feat: Add label for name field and use input when editable in export dialog
* fix
* review fix
* dnt allow to edit file name when view mode
* Update src/components/ProjectName.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-20 21:57:58 +05:30
Aakansha Doshi
80a61db72f
fix: overflow in textinput in export dialog ( #3284 )
...
* fix: overflow in textinput in export dialog
* use width
2021-03-20 18:21:48 +05:30
David Luzar
9a13dd8836
fix: bail on noop updates for newElementWith ( #3279 )
2021-03-20 13:29:53 +01:00
David Luzar
cf6a5ff16b
fix: state continuously updated when holding ctrl/cmd ( #3283 )
2021-03-20 13:28:28 +01:00
David Luzar
fa8c7abf50
fix: debounce.flush not invoked if lastArgs not defined ( #3281 )
2021-03-20 13:15:28 +01:00
Arun
c3ecbcb3ab
feat: Allow host app to update title of drawing ( #3273 )
...
* Allow updating name on updateScene
* Revert "Allow updating name on updateScene"
This reverts commit 4e07a608d38a585e0f3c04e26b9f5e0e404824b1.
* Make requested changes
* Make requested changes
* Remove customName from state
* Remove redundant if statement
* Add tests, update changelog and minor fixes
* remove eempty lines
* minor fixes
* no border and on hover no background change
* Give preference to name prop when initialData.appState.name is present and update specs
* minor fix
* Fix name input style in dark mode
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-03-20 16:08:03 +05:30
Aakansha Doshi
de99484a1f
feat: Expose the API to calculate offsets and remove offsetTop and offsetLeft props ( #3265 )
...
* feat: Expose the API to calculate offsets and remove offsetTop and offsetLeft props
* update
* fix tests
* fix
* update readme and changelog
* fix
* better
2021-03-20 13:00:49 +05:30
David Luzar
add1785ace
fix: allow copying text outside the component ( #3275 )
2021-03-19 18:36:23 +01:00
Matias Capeletto
0e3eb3cc63
chore: fix npm to yarn in contributing.md and package.json ( #3274 )
...
* chore: fix npm to yarn in contributing.md
* chore: fix npm pack to yarn pack
2021-03-18 22:57:00 +05:30
David Luzar
c1379c3c10
fix: Revert 906faaf0
#3206 ( #3269 )
2021-03-17 14:43:58 +01:00
Excalidraw Bot
9757f8e2e5
chore: Update translations from Crowdin ( #3221 )
2021-03-17 10:16:22 +02:00
Aakansha Doshi
052b73d95b
refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively ( #3261 )
...
* refactor: Rename prop scrollToCenter and setScrollToCenter to scrollToContent and setScrollToContent respectively
* fix
* update changelog/readme
* fix
2021-03-16 23:02:17 +05:30
David Luzar
e90e56452f
fix: stop preventing canvas pointerdown/tapend events ( #3207 )
2021-03-16 18:04:53 +01:00
Aakansha Doshi
edc62c550a
feat: Export API's to export the drawing to canvas, svg and blob ( #3258 )
...
* feat: Export utilities from package/utils
* update
* fix
* collapsible
* Update README.md
* update change
* update
* fix
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com>
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com>
* update
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-16 22:21:56 +05:30
Jeremy Press
84a1863233
feat: Add theme prop ( #3228 )
...
* support appearance when updating scene data
* works!
* whoops, missed a prop
* hide appearance button when prop is not set
* cleanup
* fix export + rename prop to theme
* rename to showThemeBtn, hide via react instead of css
* adapt to new state name
* add tests and css selector to target the dark mode toggle
* updated changelog and readme
* fix markdown rendering in readme
* pr feedback
2021-03-16 00:03:46 +05:30
David Luzar
8f45aa2924
fix: double scrollbar on modals ( #3226 )
2021-03-14 14:30:12 +01:00
dependabot[bot]
fa186c69cb
chore(deps-dev): bump @babel/core from 7.13.8 to 7.13.10 in /src/packages/utils ( #3248 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.8 to 7.13.10.
- [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.10/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:23:39 +02:00
dependabot[bot]
f2adda46e5
chore(deps-dev): bump ts-loader from 8.0.17 to 8.0.18 in /src/packages/utils ( #3246 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.17 to 8.0.18.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.17...v8.0.18 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:23:33 +02:00
dependabot[bot]
0786b472cc
chore(deps-dev): bump @babel/preset-env from 7.13.9 to 7.13.10 in /src/packages/utils ( #3251 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.9 to 7.13.10.
- [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.10/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-03-14 09:23:25 +02:00
dependabot[bot]
15ae64eb7a
chore(deps-dev): bump ts-loader from 8.0.17 to 8.0.18 in /src/packages/excalidraw ( #3247 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 8.0.17 to 8.0.18.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases )
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v8.0.17...v8.0.18 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:23:18 +02:00
dependabot[bot]
f3b9bd7c1d
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.13.9 to 7.13.10 in /src/packages/utils ( #3250 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:23:05 +02:00
dependabot[bot]
eae25329f0
chore(deps-dev): bump css-loader from 5.1.1 to 5.1.2 in /src/packages/utils ( #3249 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.1 to 5.1.2.
- [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.1.1...v5.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:22:51 +02:00
dependabot[bot]
99de8e79e2
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.13.9 to 7.13.10 in /src/packages/excalidraw ( #3245 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.13.9 to 7.13.10.
- [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.10/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-03-14 09:22:35 +02:00
dependabot[bot]
adcfaf34de
chore(deps-dev): bump @babel/core from 7.13.8 to 7.13.10 in /src/packages/excalidraw ( #3242 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.8 to 7.13.10.
- [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.10/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:21:57 +02:00
dependabot[bot]
04ae836874
chore(deps-dev): bump css-loader from 5.1.1 to 5.1.2 in /src/packages/excalidraw ( #3243 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.1 to 5.1.2.
- [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.1.1...v5.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 09:21:40 +02:00
dependabot[bot]
f6ffa7ed45
chore(deps-dev): bump @babel/preset-env from 7.13.9 to 7.13.10 in /src/packages/excalidraw ( #3244 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.9 to 7.13.10.
- [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.10/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-03-14 09:21:27 +02:00
Arun
b9e70ec666
feat: Implement the Web Share Target API ( #3230 )
...
* Use the web share target API
* Make requested changes
* Remove line
* Add application/json back
* Add application/vnd.excalidraw+json
* Add 'POST' check back
* Make requested changes
* Update src/appState.ts
Co-authored-by: Thomas Steiner <tomac@google.com>
* Update test
* Override initializeScene
* Use Excalidraw MIME type
* Minor fixes
* More MIME type tweaks
* More permissive file open
* Be overpermissive in file open
Co-authored-by: Thomas Steiner <tomac@google.com>
Co-authored-by: tomayac <steiner.thomas@gmail.com>
2021-03-13 22:42:54 +01:00
Aakansha Doshi
f1daff2437
refactor: Rename appearance to theme ( #3237 )
...
* refactor: Rename appearance to theme
* fix
* update changelog
* rename theme_dark to theme--dark
* add about migration
2021-03-13 18:58:06 +05:30
David Luzar
91c8b6ecbf
feat: support libraryReturnUrl
when installing libraries ( #3227 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2021-03-13 12:35:35 +01:00
Aakansha Doshi
47c26cd4cf
docs: release patch version 0.4.3 ( #3236 )
2021-03-13 01:29:54 +05:30
Aakansha Doshi
3780a155f4
fix: Apply correct translation when text editor overflows when zoom not 100% ( #3225 )
...
* fix: Apply correct translation when zoom not 100%
* fix
* fix
* Update src/element/textWysiwyg.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-12 02:38:50 +05:30
Arun
6252b22b42
feat: Implement the Web Share API for the collaboration dialog ( #3222 )
...
* feat: Implement the Web Share API for the collaboration dialog
* Make requested changes
2021-03-11 12:21:17 +01:00
Lipis
bb612fd768
chore: Track collaboration ( #3211 )
2021-03-10 17:45:37 +02:00
Excalidraw Bot
72f1134878
chore: Update translations from Crowdin ( #3179 )
2021-03-10 10:57:04 +02:00
Aakansha Doshi
6e629383ea
fix: Don't overflow text beyond width of Excalidraw ( #3215 )
...
* fix: Don't overflow text beyond width of Excalidraw
* update changelog
2021-03-10 01:49:32 +05:30
Aakansha Doshi
612e71e38b
docs: Remove unreleased link as its already available ( #3212 )
2021-03-09 21:44:56 +05:30
Aakansha Doshi
00ac804dd8
fix: Allow copy of excalidraw elements only when inside excalidraw ( #3206 )
...
* fix: Allow copy event only inside canvas
* use pointerdown
* use document.getSelection
* remove poiterdown
* remove keyTest
* update changelog
2021-03-09 11:52:28 +05:30
Thomas Steiner
1f7f07fbfb
Remove left-over ToDo comment
2021-03-08 17:47:01 +01:00
David Luzar
beffc290fd
feat: support importing scene from url ( #2726 )
2021-03-08 16:37:26 +01:00
Aakansha Doshi
3a0a638a0d
fix: Position text editor absolute and fix the offsets so it doesn't remain fixed when container is scrolled ( #3200 )
...
* fix: Position text editor absolute and fix the offsets so it doesn't remain fixed when container is scrolled
* update changelog
* Update src/packages/excalidraw/CHANGELOG.md
2021-03-07 21:12:10 +05:30
dependabot[bot]
862c065e33
chore(deps): bump typescript from 4.1.5 to 4.2.3 ( #3196 )
...
* chore(deps): bump typescript from 4.1.5 to 4.2.3
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
* hack types
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-03-07 15:52:59 +01:00
Aakansha Doshi
420703ba50
fix: scope css variables so that host css vars don't clash with excalidraw ( #3199 )
...
* fix: scope css variables so that host css vars don't clash with excalidraw
* update changelog
2021-03-07 16:41:37 +05:30
dependabot[bot]
4d6ef81c83
chore(deps-dev): bump css-loader from 5.1.0 to 5.1.1 in /src/packages/utils ( #3189 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.0 to 5.1.1.
- [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.1.0...v5.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-07 10:44:53 +01:00
dependabot[bot]
88b980a8e0
chore(deps-dev): bump @babel/preset-env from 7.13.8 to 7.13.9 in /src/packages/utils ( #3191 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.8 to 7.13.9.
- [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.9/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-03-07 10:44:39 +01:00
dependabot[bot]
d85c1955b4
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.13.8 to 7.13.9 in /src/packages/utils ( #3192 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.13.8 to 7.13.9.
- [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.9/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-03-07 10:44:22 +01:00
dependabot[bot]
a27e599798
chore(deps-dev): bump @babel/plugin-transform-runtime ( #3190 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.13.8 to 7.13.9.
- [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.9/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-03-07 14:22:28 +05:30
dependabot[bot]
d25ed7bf88
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #3188 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.8 to 7.13.9.
- [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.9/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-03-07 14:16:52 +05:30
dependabot[bot]
28601b88bd
chore(deps-dev): bump css-loader in /src/packages/excalidraw ( #3187 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.1.0 to 5.1.1.
- [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.1.0...v5.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-07 14:15:57 +05:30
dependabot[bot]
1edfcc08d8
chore(deps-dev): bump webpack in /src/packages/excalidraw ( #3186 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.24.2 to 5.24.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.24.2...v5.24.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-07 14:15:03 +05:30
dependabot[bot]
030814c254
chore(deps-dev): bump webpack in /src/packages/utils ( #3193 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.24.2 to 5.24.3.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.24.2...v5.24.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-07 13:33:35 +05:30
Aakansha Doshi
eb24e8ffe4
fix: Wrap excalidraw in position relative & hide scrollbars in zen mode ( #3174 )
...
* fix: wrap excalidraw in position relative so that host need not add it explicitly to fix positioning when non zero offsets
* patch version
* Hide scrollbars on excalidraw container
* remove overflow hidden from index.html since its handled in excalidraw container
* review fix
* update changelog
2021-03-06 20:11:26 +05:30
Aakansha Doshi
07e71a8071
fix: Reduce the scroll debounce timeout to 100ms and update only if offset changes ( #3182 )
...
* fix: Reduce the scroll debounce timeout to 100ms so offsets get updated faster when the container scrolled
fixes https://github.com/excalidraw/excalidraw/issues/3175
* update changelog
* update offsets only when if it changes
* up
* Update src/components/App.tsx
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-06 19:06:42 +05:30
David Luzar
bf97414530
fix: rerender UI on renderFooter
prop change ( #3183 )
2021-03-06 14:23:25 +01:00
Excalidraw Bot
f8c3c431da
chore: Update translations from Crowdin ( #3166 )
2021-03-05 17:09:40 +02:00
Aakansha Doshi
ef792ad906
docs: update readme with codesandbox example when excalidraw embeded via script tag ( #3171 )
...
* docs(README.md): update codesandbox example when excalidraw embeded via script tag
* up
2021-03-05 18:02:21 +05:30
Aakansha Doshi
0d2f72f87e
docs(README.md): fix typo excalidrawRef -> ref ( #3170 )
2021-03-04 20:20:01 +05:30
Aakansha Doshi
3d1cbf444d
fix: Use Array.from when spreading over set so that typescript transpiles correctly in the umd build ( #3165 )
...
* fix: Use Array.from when spreading over set so that typescript transpiles correctly in the umd build
* patch version
* fix
* update changelog
* tweak
2021-03-03 19:27:15 +05:30
David Luzar
c77c9ce65a
fix: cursor being leaked outside of canvas ( #3161 )
2021-03-03 14:04:02 +01:00
Arun
f295ba98c5
feat: Add export info on copy PNG to clipboard toast message ( #3159 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-03-03 14:15:10 +02:00
David Luzar
91eb8834e8
chore: host workbox locally ( #3154 )
2021-03-02 19:36:28 +01:00
Excalidraw Bot
bd63dcbcc5
chore: Update translations from Crowdin ( #3017 )
2021-03-02 08:50:49 +00:00
Lipis
053353841a
feat: Use the latest version of Virgil ( #3124 )
2021-02-28 13:22:32 +01:00
dependabot[bot]
286642ffcf
chore(deps-dev): bump mini-css-extract-plugin from 1.3.8 to 1.3.9 in /src/packages/excalidraw ( #3129 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.3.8 to 1.3.9.
- [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.3.8...v1.3.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 11:49:29 +02:00
dependabot[bot]
7090938ec1
chore(deps-dev): bump css-loader from 5.0.2 to 5.1.0 in /src/packages/excalidraw ( #3141 )
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 5.0.2 to 5.1.0.
- [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.0.2...v5.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 11:48:34 +02:00
dependabot[bot]
7f8ee06710
chore(deps-dev): bump @babel/preset-env from 7.13.5 to 7.13.8 in /src/packages/utils ( #3135 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.5 to 7.13.8.
- [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.8/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-02-28 11:13:30 +02:00
dependabot[bot]
3e200634e0
chore(deps-dev): bump @babel/plugin-transform-runtime from 7.12.17 to 7.13.8 in /src/packages/utils ( #3133 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.12.17 to 7.13.8.
- [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.8/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-02-28 11:13:01 +02:00
dependabot[bot]
701b02d6df
chore(deps-dev): bump webpack from 5.24.1 to 5.24.2 in /src/packages/excalidraw ( #3131 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.24.1 to 5.24.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.24.1...v5.24.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-28 09:12:30 +00:00