Commit Graph
15 Commits
Author SHA1 Message Date
Márk Tolmácsanddwelle 30a4c631a5 chore(repo): Move to pnpm (#12655)
* fix: Undeclared dependencies

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* chore: Rationalize package versions

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* chore: Remove old react app remnants

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* feat: Conversion to pnpm

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Circular deps #0

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: common package circular dependencies

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* chore: Move history and undo/redo to excalidraw/excalidraw

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* feat: AppState broken up across package boundaries

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: renderElement and binding type racionalization

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Refactor linearElementEditor to not use types outside the package

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* chore: Do not import self barrel file

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: All circular dependencies except core

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* feat: Bump pnpm to 11

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: SASS deprecation warnings

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Polynomial regular expression used on uncontrolled data

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Vercel deploy

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* feat: excalidraw/history package

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: Polynomial regex in SVG payload decoding

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>

* fix: emit the internal packages' types from the editor again

The editor advertises ./common/*, ./element/*, ./history/*, ./math/* and
./utils/* type subpaths, but without the path aliases tsc treats those
packages as external libraries and no longer emits them. Include their
sources in the editor's type build, and drop the relative cross-package
import that made element/ come out half-emitted.

* feat: export the history classes of the editor's API from the entry

onIncrement hands out StoreIncrement subclasses and applyDeltas takes
StoreDelta, so export them next to CaptureUpdateAction. Hosts then need no
dependency of their own on @excalidraw/history.

* chore: refuse to publish packages with npm or yarn

Only pnpm publish rewrites workspace:* dependencies and applies
publishConfig.exports, so a package published with another client can't be
installed.

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2026-12-01 22:17:47 +01:00
Marcel Mraz 69bc5bdaab chore: post publish docs & examples changes (#9217) 2025-03-11 13:02:59 +01:00
Marcel Mraz ecef5d12f4 chore: release @excalidraw/excalidraw@18.0.0 🎉 (#9127) 2025-02-28 16:49:09 +01:00
David Luzar 31e8476c78 chore: upgrade to react@19 (#9182) 2025-02-25 19:18:42 +01:00
dependabot[bot] 2907fbe34b build(deps): bump @excalidraw/excalidraw from 0.17.0 to 0.17.6 in /dev-docs (#7908)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 09:49:57 +02:00
Márk Tolmács c641860cb1 fix: CVE-2023-45133 (#7988)
* Upgrade @babel/* versions to 7.24 to ensure non-vulnerable Babel versions
* Pinning React version to 18.2.0 exactly, avoiding test-utils type version clashes
* Fix warning message on yarn start
* Moving react to peer dependencies
* Moving app dependencies from workspace into app
* Bump vitest to 1.6.0 to fix history.test.tsx breaking

---------

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2024-08-02 14:44:38 +02:00
Aakansha Doshi a528769b68 docs: upgrade to @excalidraw/excalidraw@0.17.0 (#7285) 2023-11-14 20:10:19 +05:30
Aakansha DoshiandDavid Luzar ddb7585057 docs: Docs for v0.17.0 🚀 (#7248)
* feat: add docs for getCommonBounds

* docs: add docs for frames api support

* docs: update docs for regenerateIds opts in convertToExcalidrawElements

* add docs for ref removal

* add docs for lock support and insertOnCanvasDirectly in setActiveTool

* fix broken links

* update docs for next js support

* update docs for Preact

* add faq

* docs: add `onChange`, `onPointerDown`, `onPointerUp` docs

* docs: update `useDevice` docs

* update docs for disabling image tool

* add docs for withinBounds helpers

* fix lint

* upgrade excal

* add docusaurus2-dotenv for expose env vars

* fix env variable and upgrade excal

* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

* update docs

Co-authored-by: David Luzar <5153846+dwelle@users.noreply.github.com>

* update docs for process.env

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2023-11-14 19:54:34 +05:30
Aakansha DoshiandDavid Luzar 99dbc0acb9 docs: Add docs for Excalidraw Element Skeleton (#6879)
* docs: Add docs for Excalidraw Element Skeleton

* fix

* upgrade package

* tweaks

* fix

* tweak

* Update dev-docs/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton.mdx

Co-authored-by: David Luzar <luzar.david@gmail.com>

* fix

---------

Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-09-19 18:28:53 +05:30
David LuzarandAakansha Doshi a34216f9fc docs: new Sidebar API (#6976)
Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>
2023-09-15 13:03:23 +00:00
dependabot[bot] 49e9a2ab33 build(deps): bump @excalidraw/excalidraw from 0.15.2 to 0.15.3 in /dev-docs (#6896)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 13:47:32 +02:00
Aakansha Doshi 2a4799d8c8 chore: upgrade excalidraw version to 0.15.2 (#6496)
chore: updragde excalidraw version to 0.15.2
2023-04-20 17:40:08 +05:30
Aakansha DoshiandDavid Luzar 1d0653ce50 docs: update docs for next version (#6251)
* update docs for opts param inr estore utils

* docs: add docs for `useI18n` hook (#6269)

Co-authored-by: Aakansha Doshi <aakansha1216@gmail.com>

* upgrade excal

---------

Co-authored-by: David Luzar <luzar.david@gmail.com>
2023-04-18 21:03:17 +05:30
Aakansha Doshianddwelle 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 966ca2ffa6 refactor: rename docs to dev-docs (#5487) 2022-07-26 16:55:25 +05:30