Aakansha Doshi
c03845bac3
fix: support shift+P for freedraw ( #4550 )
...
* fix: support shift+P for freedraw
* newline
* show shift+p first
2022-01-08 18:01:22 +05:30
David Luzar
d5a6014076
fix: prefer spreadsheet data over image ( #4533 )
2022-01-07 23:18:04 +01:00
Jérémy Mouzin
74861b1398
Fix shortcut for Draw tool in help dialog, it's not SHIFT+P anymore but just X ( #4548 )
2022-01-07 23:50:42 +05:30
Milos Vetesnik
ac71ee7278
feat: link to new LP for excalidraw plus ( #4549 )
2022-01-07 16:32:35 +01:00
dependabot[bot]
9088df8f5a
chore(deps-dev): bump @babel/preset-typescript in /src/packages/utils ( #4526 )
...
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.5 to 7.16.7.
- [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.16.7/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
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-01-07 12:42:48 +05:30
dependabot[bot]
c5fe0cd446
chore(deps-dev): bump webpack-dev-server in /src/packages/excalidraw ( #4525 )
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 4.7.1 to 4.7.2.
- [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.1...v4.7.2 )
---
updated-dependencies:
- dependency-name: webpack-dev-server
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-01-07 12:00:08 +05:30
dependabot[bot]
9f8783c2dd
chore(deps-dev): bump @babel/plugin-transform-typescript ( #4527 )
...
Bumps [@babel/plugin-transform-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-typescript ) from 7.16.1 to 7.16.7.
- [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.16.7/packages/babel-plugin-transform-typescript )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-typescript"
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-01-07 11:59:46 +05:30
Aakansha Doshi
b475412199
feat: support updating library in updateScene API ( #4546 )
...
* feat: support updating library in updateScene API
* fix
* update docs
* Update src/packages/excalidraw/CHANGELOG.md
2022-01-06 21:37:33 +05:30
Aakansha Doshi
5f1616f2c5
fix: show text properties button states correctly for bounded text ( #4542 )
...
* fix: show text properties button states correctly for bounded text
* rename
2022-01-05 17:58:03 +05:30
Aakansha Doshi
cec92c1d17
feat: update stroke color of bounded text along with container ( #4541 )
2022-01-05 16:27:48 +05:30
dependabot[bot]
5f476e09d4
chore(deps-dev): bump @babel/core in /src/packages/utils ( #4528 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.16.5 to 7.16.7.
- [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.16.7/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
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-01-05 15:54:34 +05:30
Aakansha Doshi
a2e8806f57
fix: rotate bounded text when container is rotated before typing ( #4535 )
2022-01-04 18:03:24 +05:30
Aakansha Doshi
b71e702991
fix: undo should work when selecting bounded textr ( #4537 )
2022-01-04 18:02:16 +05:30
Aakansha Doshi
5c67329be6
fix: Reduce padding to 5px for bounded text ( #4530 )
...
* fix: Reduce padding to 5px
* reduce width by 50 to fix tests
* Push the word if appending space exceeds max width when breaking words
* fix spec
2022-01-03 17:59:26 +05:30
David Luzar
28546fbb55
fix: bound text doesn't inherit container ( #4521 )
2021-12-31 14:55:02 +01:00
David Luzar
b621d065de
feat: hints and shortcuts help around deep selection ( #4502 )
2021-12-31 11:00:20 +01:00
dependabot[bot]
96580c92a5
chore(deps-dev): bump @babel/plugin-transform-arrow-functions ( #4515 )
...
Bumps [@babel/plugin-transform-arrow-functions](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-arrow-functions ) from 7.16.5 to 7.16.7.
- [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.16.7/packages/babel-plugin-transform-arrow-functions )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-arrow-functions"
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>
2021-12-31 12:42:29 +05:30
dependabot[bot]
4be701416a
chore(deps-dev): bump @babel/preset-react in /src/packages/excalidraw ( #4519 )
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.16.0 to 7.16.7.
- [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.16.7/packages/babel-preset-react )
---
updated-dependencies:
- dependency-name: "@babel/preset-react"
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>
2021-12-31 12:41:31 +05:30
dependabot[bot]
1acb1e33f1
chore(deps-dev): bump @babel/preset-env in /src/packages/excalidraw ( #4516 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.16.4 to 7.16.7.
- [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.16.7/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
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>
2021-12-31 01:11:22 +00:00
dependabot[bot]
986e1e40d3
chore(deps-dev): bump @babel/preset-typescript ( #4514 )
...
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.0 to 7.16.7.
- [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.16.7/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
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>
2021-12-31 01:00:57 +00:00
dependabot[bot]
fab4a0e060
chore(deps-dev): bump @babel/plugin-transform-runtime ( #4508 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.16.4 to 7.16.7.
- [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.16.7/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>
2021-12-31 02:59:42 +02:00
dependabot[bot]
c50f81b829
chore(deps-dev): bump @babel/plugin-transform-arrow-functions ( #4426 )
...
Bumps [@babel/plugin-transform-arrow-functions](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-arrow-functions ) from 7.16.0 to 7.16.5.
- [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.16.5/packages/babel-plugin-transform-arrow-functions )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-arrow-functions"
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>
2021-12-31 02:47:42 +02:00
dependabot[bot]
b122c8c4eb
chore(deps-dev): bump @babel/plugin-transform-async-to-generator ( #4437 )
...
Bumps [@babel/plugin-transform-async-to-generator](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-async-to-generator ) from 7.16.0 to 7.16.5.
- [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.16.5/packages/babel-plugin-transform-async-to-generator )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-async-to-generator"
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>
2021-12-31 02:47:16 +02:00
dependabot[bot]
9a7216fe94
chore(deps-dev): bump terser-webpack-plugin in /src/packages/excalidraw ( #4423 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 5.2.5 to 5.3.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.2.5...v5.3.0 )
---
updated-dependencies:
- dependency-name: terser-webpack-plugin
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>
2021-12-31 02:46:52 +02:00
dependabot[bot]
8eee749076
chore(deps-dev): bump @babel/preset-typescript in /src/packages/utils ( #4430 )
...
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.16.0 to 7.16.5.
- [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.16.5/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
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>
2021-12-31 02:46:36 +02:00
dependabot[bot]
2158ad0656
chore(deps-dev): bump @babel/core in /src/packages/utils ( #4435 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.16.0 to 7.16.5.
- [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.16.5/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
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>
2021-12-31 02:45:49 +02:00
zsviczian
477cce2ed6
fix: Text wrapping with grid ( #4505 ) ( #4506 )
2021-12-30 19:10:31 +01:00
Aakansha Doshi
dd8e465304
feat: Support updating text properties by clicking on container ( #4499 )
2021-12-29 16:49:52 +05:30
Aakansha Doshi
11396a21de
fix: check if process is defined before using so it works in browser ( #4497 )
...
* refactor: use isTestEnv() utils where applicable
* check if process is defined
2021-12-28 17:17:41 +05:30
Aakansha Doshi
38236bc5e0
tests: Add tests for wrapText util ( #4495 )
2021-12-28 16:52:57 +05:30
Aakansha Doshi
63ce5b82d7
fix: pending review fixes for sticky notes ( #4493 )
2021-12-28 16:24:44 +05:30
David Luzar
bae0e985b2
fix: prevent browser from scrolling when panning ( #4489 )
2021-12-27 14:18:11 +01:00
Aakansha Doshi
04f852a40a
build: Added example folder for testing @excalidraw/excalidraw in local ( #4488 )
...
* build: Added example folder for testing @excalidraw/excalidraw in local
* remove unnecessary files
* use scss
* update docs
* newline
* remove index
* remove yarn
* use the bundled excalidraw.development.js for better testing and font will also be available
* remove src folder from example
2021-12-27 18:01:33 +05:30
Aakansha Doshi
f463c047c0
fix: pasted elements except binded text once paste action is complete ( #4472 )
2021-12-23 22:07:16 +05:30
Aakansha Doshi
1fd347cade
fix: don't select binded text when ungrouping ( #4470 )
2021-12-23 21:36:29 +05:30
Aakansha Doshi
ef62390841
fix: set height correctly when text properties updated while editing in container until first submit ( #4469 )
...
* fix: set height correctly when text properties updated while editing in container
* rename PADDING to BOUND_TEXT_PADDING
2021-12-23 17:02:35 +05:30
Aakansha Doshi
bf2bca221e
fix: align and distribute binded text in container and cleanup ( #4468 )
2021-12-23 17:02:13 +05:30
Aakansha Doshi
d0733b1960
fix: move binded text when moving container using keyboard ( #4466 )
2021-12-23 01:47:14 +05:30
Aakansha Doshi
64c2d76cfa
fix: support dragging binded text in container selected in a group ( #4462 )
...
* fix: support moving binded text when container selected via group
* update coords of bounded text only when element doesn't belong to any group or element in group is selected
* dnt drag binded text when nested group selected
* Update src/element/dragElements.ts
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-12-22 19:16:49 +05:30
zsviczian
c76784b774
fix: Scope drag and drop events to Excalidraw container to prevent overriding the host drag and drop events ( #4445 )
...
* cross-env
* reverting lib
https://github.com/excalidraw/excalidraw/issues/4282
* Revert "reverting lib"
This reverts commit 840726806a55ac53704024619a498abf767c60cb.
* Update package.json
* Update App.tsx
* Update App.tsx
* lint
* updated changelog
* Update src/packages/excalidraw/CHANGELOG.md
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
* Update src/packages/excalidraw/CHANGELOG.md
* Move fixes above build header
* Update src/packages/excalidraw/CHANGELOG.md
* lint
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-12-22 18:55:34 +05:30
Aakansha Doshi
25e54e5999
fix: vertically align single line when deleting text in bounded container ( #4460 )
2021-12-22 15:32:21 +05:30
Aakansha Doshi
55b7a7d554
fix: update height correctly when updating text properties in binded text ( #4459 )
...
* fix: update height correctly when updating text properties in binded text
* read height from editor style so its accurate
* fix
2021-12-22 12:08:51 +05:30
David Luzar
c1c37a6ee7
fix: align library item previews to center ( #4447 )
2021-12-21 19:59:36 +01:00
Aakansha Doshi
25b529f519
fix: vertically center align text when text deleted ( #4457 )
2021-12-22 00:07:55 +05:30
Aakansha Doshi
8e6a747873
fix: vertically center the first line as user starts typing in container ( #4454 )
...
* fix: vertically center the first line as user starts typing in container
* fix
2021-12-21 23:08:36 +05:30
Aakansha Doshi
089b05db1b
fix: switch cursor to center of container when adding text when dimensions are too small ( #4452 )
2021-12-21 19:00:01 +05:30
Aakansha Doshi
081e097cef
fix: vertically center align the bounded text correctly when zoomed ( #4444 )
...
* fix: vertically center align the bounded text correctly when zoomed
* dnt add offsets since its calculated correctly
* set editor max width better when offsets present
* Update src/element/textWysiwyg.tsx
* const
* revert
2021-12-21 17:13:11 +05:30
Aakansha Doshi
8b5657e1ce
fix: support updating stroke color for text by typing in color picker input ( #4415 )
...
* fix: support updating stroke color for text by typing in color picker input
* restore focus when clicked on same property unless its color picker input and submit text on color picker blur
* focus editor on color picker blur
* don't focus text editor when color picker is active
2021-12-17 20:15:22 +05:30
Aakansha Doshi
8b2b03347c
fix: bound text not atomic with container when changing z-index ( #4414 )
...
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2021-12-17 13:10:37 +00:00
Aakansha Doshi
c2a8712593
fix: update viewport coords correctly when editing text ( #4416 )
2021-12-17 11:38:18 +01:00