excalidraw/packages/excalidraw/actions
Aakansha Doshi 10bd08ef19
fix: make getBoundTextElement and related helpers pure (#7601)
* fix: make getBoundTextElement pure

* updating args

* fix

* pass boundTextElement to getBoundTextMaxWidth

* fix labelled arrows

* lint

* pass elementsMap to removeElementsFromFrame

* pass elementsMap to getMaximumGroups, alignElements and distributeElements

* lint

* pass allElementsMap to renderElement

* lint

* feat: make more typesafe

* fix: remove unnecessary assertion

* fix: remove unused params

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-01-26 11:29:07 +05:30
..
actionAddToLibrary.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionAlign.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionBoundText.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionCanvas.tsx fix: emitted visible scene bounds not accounting for offsets (#7450) 2023-12-16 17:32:54 +01:00
actionClipboard.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionDeleteSelected.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionDistribute.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionDuplicateSelection.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionElementLock.test.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionElementLock.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionExport.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionFinalize.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionFlip.ts fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionFrame.ts refactor: decoupling global Scene state part-1 (#7577) 2024-01-22 00:23:02 +01:00
actionGroup.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionHistory.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionLinearEditor.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionMenu.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionNavigate.tsx fix: Truncate collaborator name in dropdown. (#7576) 2024-01-21 20:36:09 +01:00
actionProperties.test.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionProperties.tsx fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionSelectAll.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionStyles.ts fix: make getBoundTextElement and related helpers pure (#7601) 2024-01-26 11:29:07 +05:30
actionToggleGridMode.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionToggleObjectsSnapMode.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionToggleStats.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionToggleViewMode.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionToggleZenMode.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
actionZindex.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
index.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
manager.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
register.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
shortcuts.ts build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
types.ts fix: incorrect types in ActionNavigate (#7462) 2023-12-18 21:14:30 +01:00