Alex Kim
5931bf01b2
revert: fix linear elements drifting away after multiple flips
...
This reverts commit bffc33dd3f
.
2023-02-24 20:03:04 +03:00
Alex Kim
bffc33dd3f
fix: linear elements drifting away after multiple flips
2023-02-17 16:01:45 +03:00
Alex Kim
42002279e0
fix: bound text scaling when resizing
2023-02-16 21:03:46 +03:00
Alex Kim
61d86b88eb
fix: remove angle flip
2023-02-16 20:23:42 +03:00
Alex Kim
9e1131cf42
fix: a few corner cases for flipping
2023-02-16 18:33:23 +03:00
Alex Kim
69e30b372b
fix: add special cases for flipping text & images
2023-02-16 18:33:23 +03:00
Alex Kim
0949e060b5
revert: image elements not flipping its content
...
This reverts commit cb989a6c66e62a02a8c04ce41f12507806c8d0a0.
2023-02-16 18:33:22 +03:00
Alex Kim
c7667cc7d7
feat: add flipping multiple elements with a command
2023-02-16 18:33:22 +03:00
Alex Kim
b9a185d098
fix: angles not flipping vertically when resizing
2023-02-16 18:33:22 +03:00
Alex Kim
aa289a63fb
test: fix accidental resizing in grouping test
2023-02-16 18:33:22 +03:00
Alex Kim
d1be72ffc2
fix: image elements not flipping its content
2023-02-16 18:33:22 +03:00
Alex Kim
a941173be4
feat: add flipping when resizing multiple elements
2023-02-16 18:33:22 +03:00
Aakansha Doshi
b9ba407f96
feat: Bind text to container if double clicked on filled shape or stroke ( #6250 )
...
* feat: bind text to container when clicked on filled shape or element stroke
* Bind if double clicked on stroke as well
* remove
* specs
* remove
* shuffle
* fix
* back to normal
2023-02-16 20:46:51 +05:30
Aakansha Doshi
5acb99777a
docs: fix typo ( #6252 )
2023-02-16 19:45:41 +05:30
David Luzar
b107c9af2a
docs: fix next.js example ( #6241 )
2023-02-15 15:14:15 +01:00
Milos Vetesnik
c587b85b4e
docs: new readme ( #6240 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-02-15 14:45:06 +01:00
Luka Hietala
9686141113
docs: Fixed broken codesandbox link in the dev-docs ( #6229 )
...
fixed broken link
2023-02-15 05:31:07 +00:00
Aakansha Doshi
0d7ee891e0
feat: Make repair and refreshDimensions configurable in restoreElements ( #6238 )
...
* fix: don't repair during reconcilation
* Add opts to restoreElement and enable refreshDimensions and repair via config
* remove
* update changelog
* fix tests
* rename to repairBindings
2023-02-15 10:41:11 +05:30
Aakansha Doshi
71fb60394a
docs: enable Algolia for search ( #6230 )
2023-02-13 17:39:11 +05:30
Aakansha Doshi
c9d18ecab6
fix: don't allow blank space in collab name ( #6211 )
...
* don't allow blank space in collab name
* add spec
* prevent blank
2023-02-09 15:51:49 +05:30
DanielJGeiger
8c1168ef33
refactor: Make the example React app reusable without duplication ( #6188 )
2023-02-07 12:41:20 +05:30
Dejavu Moe
c3c45a8c37
fix: docker build architecture:linux/amd64 error occur on linux/arm64 instance ( #6197 )
...
fix docker build
when in linux/arm64 use docker buildx plugin to build linux/amd64 image, a build error will occur causing the build to break
2023-02-07 11:44:31 +05:30
Matthieu Rossignon
a8e6028c33
feat: show error message when not connected to internet while collabo… ( #6165 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
Resolves https://github.com/excalidraw/excalidraw/issues/5994
2023-02-04 15:03:39 +01:00
Jang Min
11e2f90ca1
feat: shortcut for clearCanvas confirmDialog ( #6114 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
resolve https://github.com/excalidraw/excalidraw/issues/5818
2023-02-04 13:33:40 +01:00
Excalidraw Bot
4db87a0b6a
chore: Update translations from Crowdin ( #6150 )
2023-02-04 10:04:15 +01:00
David Luzar
4414069617
feat: disable canvas smoothing (antialiasing) for right-angled elements ( #6186 )Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
...
* feat: disable canvas smoothing for text and other types
* disable smoothing for all right-angled elements
* Update src/renderer/renderElement.ts
Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
* Update src/renderer/renderElement.ts
Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
* fix lint
* always enable smoothing while zooming
---------
Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
2023-02-03 17:07:14 +01:00
Ryan Di
a9c5bdb878
fix: sort bound text elements to fix text duplication z-index error ( #5130 )
...
* fix: sort bound text elements to fix text duplication z-index error
* improve & sort groups & add tests
* fix backtracking and discontiguous groups
---------
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-02-02 16:23:39 +08:00
Aakansha Doshi
5a0334f37f
fix: hide welcome screen on mobile once user interacts ( #6185 )
...
* fix: hide welcome screen on mobile once started drawing
* Add specs
2023-02-02 12:58:45 +05:30
Aakansha Doshi
d8a4ca6911
docs: show last updated time and author ( #6183 )
...
docs:show last updated time and author
2023-02-01 21:09:23 +05:30
Aakansha Doshi
eb9eeefc63
fix: edit link in docs ( #6182 )
2023-02-01 20:27:31 +05:30
Aakansha Doshi
f23cdc47ee
docs: migrating dev docs to docusaurus :) ( #6073 )
...
* docs: migrating existing docs to docosaraus :)
* log broken links
* lint :p
* fix
* divide the doc into diff categories
* fix
* order sidebars and more
* fix lint
* point to installation
* making docs better :)
* fix
* renaming git
* renaming git
* fix links
* fix
* update readme
* fix
* resolve duplicate url and make /docs as base url
* fix
* move main docs as well
* making docs better
* support mdx
* update og
* fix title
* upgrade docusarus to stable version
* use draculla theme
* fix
* make entire sidebar collapsable
* live editor for footer wohoo
* render excalidraw only on client to fix the prod build
* migrate MainMenu to live editor too :)
* lint :p
* cleanup integration and use live editor and tabs
* fix
* Add welcome screen doc
* Live Collaboration comp docs
* Add collaborator example
* Add example
* add more
* remove isCollaborating
* Rewrite ref and move to sidebar
* change color of links inside pre
* add initial data
* fix lint
* Add styling
* fix lint
* Add example for customizing styles
* fix lint
* fix
* fix lint
* Add link to livecollabtrigger
* fix
* rewrite UIOptions to sidebar
* move initialdata to sidebar
* move render props to sidebar and rewrite renderTopRightUI and renderCustomStats
* rewrite renderSidebar
* update og
* update url for testing
* fix url
* update readme
* fix style
* tweaks
* Add highlight comp to highlight text
* Add bash syntax highlight
* fix
* tweaks
* fix
* rewrite export utilities
* fix restore
* rewrite utils
* move constants to sidebar
* update readme
* add copyright
* fix links style
* Add linkedin
* tweaks
* rename package to @excalidraw/excalidraw
* enable algolia with dummy creds
* tweaks to integration doc
* tweak WelcomeScreen docs to reflect upcoming API changes
* tweak components intro
* tweak nomenclature
* fix admonition
* rename `components` sidebar item and change order of components list
* uncollapse package section in sidebar
* show level 4 haeadings in TOC
* remove algolia
* remove unused assets
* capitalize C
* tweak
* rename components to App
* rename components -> children-components in the routes
* move notable used tools to intro
* update MainMenu docs with `onSelect` preventDefault behavior
* change sidebar label for children components
* use code
* tweak README & docs intro
* tweak package development doc
* make scrollbar gutter stable
* tweak api intro
* add admonition for export utils
* use next
* wip
* wip
* make excalidraw examples use current color theme & prefer system
* fix welcomescreen docs
* use latest temp release
* fix component order
* revert wip changes
* use next
* tweak
* increase height to fix welcome screen hint
* tweak editor height
* update excal version
* wrap Excal with forwardRef to fix refs
* migrate contributing.md
* fix broken links
---------
Co-authored-by: dwelle <luzar.david@gmail.com>
2023-02-01 19:57:54 +05:30
Aakansha Doshi
f68f4cb9e0
docs: release @excalidraw/excalidraw@0.14.2 🎉 ( #6181 )
2023-02-01 19:08:56 +05:30
Aakansha Doshi
71fb573750
fix: horizontal padding when aligning bound text containers ( #6180 )
...
* fix: horizontal padding when aligning bound text containers
* Add specs
* fix
2023-02-01 18:54:08 +05:30
David Luzar
7562d9b533
fix: make tunnels work in multi-instance scenarios ( #6178 )
...
* fix: make tunnels work in multi-instance scenarios
* factor tunnels out
* use tunnel-rat fork until upsteam updated
2023-02-01 10:46:17 +05:30
David Luzar
e6de1fe4a4
feat: rewrite public UI component rendering using tunnels ( #6117 )
...
* feat: rewrite public UI component rendering using tunnels
* factor out into components
* comments
* fix variable naming
* fix not hiding welcomeScreen
* factor out AppFooter and memoize components
* remove `UIOptions.welcomeScreen` and render only from host app
* factor out tunnels into own file
* update changelog. Keep `UIOptions.welcomeScreen` as deprecated
* update changelog
* lint
---------
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-01-31 13:53:20 +01:00
Aakansha Doshi
3a141ca77a
fix: add 1px width to the container to calculate more accurately ( #6174 )
...
* fix: add 1px width to the container to calculate accurately
* fix tests
2023-01-30 18:52:56 +05:30
JUNYI OU
5ae39c9292
fix: quick typo fix ( #6167 )
2023-01-29 14:22:25 +01:00
Aakansha Doshi
e41ea9562b
fix: set the width correctly using measureText in editor ( #6162 )
2023-01-28 12:09:53 +01:00
Ignacio Cuadra
b52c8943e4
fix: 🐛 broken emojis when wrap text ( #6153 )
...
* fix: 🐛 broken emojis when wrap text
* refactor: Delete unnecessary "else" (reduce indentation)
* fix: remove code block that causes the emojis to disappear
* Apply suggestions from code review
Co-authored-by: David Luzar <luzar.david@gmail.com>
* fix: 🚑 possibly undefined value
* Add spec
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-01-26 11:49:21 +05:30
Aakansha Doshi
cf38c0f933
fix: declare css variable for font in excalidraw so its available in host ( #6160 )
...
declar css variable for font in excalidraw so its available in host
2023-01-25 15:44:20 +05:30
David Luzar
1db078a3dc
feat: close MainMenu and Library dropdown on item select ( #6152 )
2023-01-23 16:54:35 +01:00
David Luzar
d4afd66268
feat: add hand/panning tool ( #6141 )
...
* feat: add hand/panning tool
* move hand tool right of tool lock separator
* tweak i18n
* rename `panning` -> `hand`
* toggle between last tool and hand on `H` shortcut
* hide properties sidebar when `hand` active
* revert to rendering HandButton manually due to mobile toolbar
2023-01-23 16:12:28 +01:00
David Luzar
849e6a0c86
fix: button background and svg sizes ( #6155 )
...
* fix: button background color fallback
* fix svg width/height
2023-01-23 16:10:04 +01:00
Nishant-l
f03f5c948d
style: change in ExportButton style ( #6147 ) ( #6148 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-01-22 12:37:18 +00:00
David Luzar
d2b698093c
feat: show copy-as-png export button on firefox and show steps how to enable it ( #6125 )
...
* feat: hide copy-as-png shortcut from help dialog if not supported
* fix: support firefox if clipboard.write supported
* show shrotcut in firefox and instead show error message how to enable the flag support
* widen to TypeError because minification
* show copy-as-png on firefox even if it will throw
2023-01-22 12:33:15 +01:00
Excalidraw Bot
0f1720be61
chore: Update translations from Crowdin ( #6077 )
2023-01-22 12:19:21 +01:00
David Luzar
d0b33d35db
build: temporarily disable pre-commit ( #6132 )
2023-01-19 13:50:42 +01:00
Aakansha Doshi
d6a5ef1936
docs: release @excalidraw/excalidraw@0.14.1 🎉 ( #6112 )
2023-01-16 16:08:03 +05:30
Aakansha Doshi
c7a11f5cd2
docs: release @excalidraw/excalidraw@0.14.0 🎉 ( #6109 )
2023-01-13 16:08:29 +05:30
Aakansha Doshi
893c487add
fix: remove overflow hidden from button ( #6110 )
...
remove overflow hidden from button
2023-01-13 15:44:33 +05:30