Aakansha Doshi
84b47a2ed5
fix: copy bound text style when copying element having bound text ( #5305 )
...
* fix: copy bound text style when copying element having bound text
* fix
* fix tests
2022-06-14 19:42:49 +05:30
Aakansha Doshi
6196fba286
docs: migrate example to typescript ( #5243 )
...
* docs: migrate example to typescript
* fix
* fix sidebar
* fix
2022-06-14 17:56:05 +05:30
Aakansha Doshi
5daff2d3cd
fix: copy arrow head when using copy styles ( #5303 )
...
* fix: copy arrow head when using copy styles
* remove mutations & check against `arrow` type
* fix lint
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-06-14 16:27:41 +05:30
Aakansha Doshi
f1bc90e08a
fix: Allow null in renderFooter prop ( #5282 )
...
* fix: Allow null in render props
* update docs
2022-06-06 20:45:06 +05:30
Aakansha Doshi
aabcdc20fd
docs: prevent touch so that pointermove works in touch devices ( #5241 )
2022-05-25 11:39:16 +05:30
Aakansha Doshi
269fbcc2f3
docs: remove dragging threshold when interacting with custom elements ( #5240 )
2022-05-24 20:56:01 +05:30
jasonphillips
d08179c215
fix: transpile browser-fs-access in package build ( #5041 )
2022-05-24 15:07:05 +02:00
Aakansha Doshi
90e739d444
docs: fix offsets in the example when dragging custom elements ( #5238 )
2022-05-24 16:27:23 +05:30
David Luzar
4a9fac2d1e
fix: unsafely accessing draggingElement ( #5216 )
2022-05-20 17:48:26 +02:00
Aakansha Doshi
07ebd7c68c
feat: support setting/resetting cursor from host ( #5215 )
...
* Support setting/resetting cursor type from host
* add docs
* minor
2022-05-20 18:43:38 +05:30
David Luzar
92f30f7ed6
test: add tests for loading library from file picker ( #5206 )
2022-05-19 00:37:36 +02:00
zsviczian
605aa554d0
fix: Library load button does not work ( #5205 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-18 19:46:08 +00:00
Milos Vetesnik
bed9fca4a5
feat: go-to-excalidrawplus button ( #5202 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-18 18:30:34 +02:00
Aakansha Doshi
ab1a30073c
feat: expose utilitis to convert scene coords to viewport coords and vice versa ( #5187 )
...
* feat: expose utilitis to convert scene coords to viewport coords and vice versa
* add return value
2022-05-12 17:14:30 +05:30
Excalidraw Bot
31049d06e8
chore: Update translations from Crowdin ( #5061 )
2022-05-11 23:44:02 +02:00
Johannes
ef8559d060
fix: do not deselect when not zooming using touchscreen pinch ( #5181 )
...
* Do not deselect when zooming
* do not deselect when trackpad zooming on Safari
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-11 23:30:50 +02:00
Johannes
33bb23d2f3
fix: wheel zoom normalization ( #5165 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
2022-05-11 22:01:20 +02:00
David Luzar
b27ac257e7
feat: support resubmitting published library items ( #5174 )
2022-05-11 15:56:11 +02:00
David Luzar
d2cc76e52e
feat: support adding multiple library items on canvas ( #5116 )
2022-05-11 15:51:02 +02:00
David Luzar
cad6097d60
feat: factor out url library init & switch to updateLibrary
API ( #5115 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2022-05-11 15:08:54 +02:00
David Luzar
2537b225ac
fix: hide sidebar when custom
tool active ( #5179 )
2022-05-11 12:42:52 +00:00
Aakansha Doshi
4ee48d2729
fix: rename src to avatarUrl in collaborator ( #5177 )
...
* fix: rename to in collaborator
* update pr link
* fallback to intials on image error
2022-05-11 15:54:10 +05:30
Aakansha Doshi
68f23d652f
feat: support custom elements in @excalidraw/excalidraw ( #5164 )
...
* feat: support custom elements in @excalidraw/excalidraw
* revert
* fix css
* fix offsets
* fix overflow of custom elements in example
* fix overflow in comments input
* make sure comment input never overflows the viewport
* remove offsetschange
* expose setActiveTool
* rename to onPointerDown
* update docs
* fix
2022-05-11 13:30:15 +05:30
dependabot[bot]
a078508c05
chore(deps-dev): bump sass-loader in /src/packages/utils ( #4813 )
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 12.4.0 to 12.6.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases )
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.4.0...v12.6.0 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 13:02:20 +00:00
dependabot[bot]
abf4dc9256
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #5121 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.7 to 7.17.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.17.10/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:51:53 +00:00
dependabot[bot]
ba8f12d588
chore(deps-dev): bump webpack-dev-server in /src/packages/excalidraw ( #5158 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.7.4 to 4.9.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.7.4...v4.9.0 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:49:37 +00:00
dependabot[bot]
d57560db06
chore(deps-dev): bump typescript in /src/packages/excalidraw ( #5119 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.5.4 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.4...v4.6.4 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:48:59 +00:00
dependabot[bot]
0d26049b4e
chore(deps-dev): bump babel-loader in /src/packages/excalidraw ( #5086 )
...
Bumps [babel-loader](https://github.com/babel/babel-loader ) from 8.2.3 to 8.2.5.
- [Release notes](https://github.com/babel/babel-loader/releases )
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.3...v8.2.5 )
---
updated-dependencies:
- dependency-name: babel-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:48:27 +00:00
dependabot[bot]
f72e9b6ea5
chore(deps-dev): bump ts-loader in /src/packages/utils ( #5123 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.8 to 9.3.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/v9.2.8...v9.3.0 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:42:13 +00:00
dependabot[bot]
803909abb6
chore(deps-dev): bump webpack in /src/packages/utils ( #5167 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.66.0 to 5.72.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.66.0...v5.72.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 12:19:48 +00:00
dependabot[bot]
e29152ab30
chore(deps-dev): bump @babel/plugin-transform-runtime ( #5118 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.17.0 to 7.17.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.17.10/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 17:42:13 +05:30
dependabot[bot]
f4aa36b35d
chore(deps-dev): bump ts-loader in /src/packages/excalidraw ( #5117 )
...
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader ) from 9.2.8 to 9.3.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/v9.2.8...v9.3.0 )
---
updated-dependencies:
- dependency-name: ts-loader
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 17:40:30 +05:30
dependabot[bot]
4a980ed5db
chore(deps-dev): bump autoprefixer in /src/packages/excalidraw ( #5159 )
...
Bumps [autoprefixer](https://github.com/postcss/autoprefixer ) from 10.4.5 to 10.4.7.
- [Release notes](https://github.com/postcss/autoprefixer/releases )
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.5...10.4.7 )
---
updated-dependencies:
- dependency-name: autoprefixer
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 17:39:09 +05:30
David Luzar
d2e687ed0a
feat: make file handling more robust ( #5057 )
2022-05-09 15:53:04 +02:00
DanielJGeiger
0d70690ec8
fix: Don't save deleted ExcalidrawElements to Firebase ( #5108 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-09 15:38:44 +02:00
David Luzar
a524eeb66e
fix: eraser removed deleted elements ( #5155 )
...
* fix: eraser removed deleted elements
* rename `getElements` API
* fix one more case of not including deleted elements
2022-05-07 21:01:37 +02:00
Tom Sherman
3d56ceb794
fix: Handle ColorPicker
parentSelector being undefined ( #5152 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-07 18:16:14 +00:00
David Luzar
65c32b3319
fix: library multiselect not accounting for published state ( #5132 )
2022-05-07 19:13:10 +02:00
Nicholas Fitton
9e8e047aae
fix: Chart display fix ( #5154 )
2022-05-07 19:12:31 +02:00
Aakansha Doshi
64d330a332
feat: support customType in activeTool ( #5144 )
...
* feat: support customType in activeTool
* fix
* rewrite types and handling
* tweaks
* fix
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-06 18:21:22 +05:30
Aakansha Doshi
1ed1529f96
fix: update opacity of bound text when opacity of container updated ( #5142 )
2022-05-04 14:29:05 +05:30
Aakansha Doshi
b30066ca19
fix: jumping of text when typing single line in bound text ( #5139 )
...
* fix: jumping of text when typing single line in bound text
* add comment
2022-05-04 11:21:27 +05:30
Aakansha Doshi
aae8e2fa5d
feat: export MIME_TYPES supported by excalidraw ( #5135 )
...
* feat: export MIME_TYPES supported by excalidraw
* Update src/packages/excalidraw/CHANGELOG.md
2022-05-02 15:47:03 +05:30
Aakansha Doshi
9e6d5fdbcb
feat: support src collaborators ( #5114 )
...
* feat: support avatarURLfor collaborators
* fix
* better avatars :)
* use position fixed for tooltips so it renders correctly when offsets updated
* update docs
* Update src/excalidraw-app/collab/CollabWrapper.tsx
* rename avatarUrl to src
2022-05-02 15:15:24 +05:30
dependabot[bot]
22b2e10ddb
chore(deps-dev): bump @babel/plugin-transform-runtime ( #5125 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.16.8 to 7.17.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.17.10/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-02 14:47:37 +05:30
David Luzar
d53ac2a61e
fix: library init/import race conditions ( #5101 )
2022-04-29 16:45:02 +02:00
Aakansha Doshi
6a0f800716
feat: export exportToClipboard util from package ( #5103 )
...
* feat: export copyToClipboard from package
* use promise constructor for better browser supprt
* add type to exportToClipboard
* update docs
* use json instead of text and use selected element in actionCopy
* pass `files` in example `exportToClipboard`
* fix bad access
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-04-29 18:58:44 +05:30
Johannes
aee1e2451e
fix: remove opacity scroll wheel interaction ( #5111 )
2022-04-28 19:10:08 +02:00
Aakansha Doshi
da94eb1284
fix: use excalidraw asset path in fonts when exporting to svg ( #5065 )
...
* fix: use excalidraw asset path in fonts when exporting
* fix
* fix
* introduce env variables and determine asset path correctly
* fix snaps
* use env vars to determine pkg name and version
* update docs
* quotes
2022-04-28 20:19:41 +05:30
Achille Lacoin
ea51251fe6
fix: propagate keydown events from excalidraw-wysiwyg inputs ( #5099 )
...
* fix: allow propagation for keydown events originating from `excalidraw-wysiwyg`
* revert check on the handleKeyDown function
2022-04-27 20:28:41 +02:00