@dwelle/excalidraw 0.4.0-e3bee83 → 0.4.0-e587816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +525 -0
- package/README.md +18 -1820
- package/dist/excalidraw-assets/{vendor-2002fe1b8862917b36c1.js → vendor-d415b28e9024dee4bb1b.js} +2 -2
- package/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.js → vendor-a14cd58fa2db417e42b2.js} +6 -6
- package/dist/excalidraw.development.js +3071 -1566
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/excalidraw.production.min.js.LICENSE.txt +20 -0
- package/main.js +1 -8
- package/package.json +9 -4
- package/types/actions/actionAddToLibrary.d.ts +103 -55
- package/types/actions/actionAlign.d.ts +33 -28
- package/types/actions/actionBoundText.d.ts +175 -22
- package/types/actions/actionCanvas.d.ts +680 -170
- package/types/actions/actionClipboard.d.ts +174 -100
- package/types/actions/actionDeleteSelected.d.ts +102 -60
- package/types/actions/actionDistribute.d.ts +11 -12
- package/types/actions/actionDuplicateSelection.d.ts +3 -4
- package/types/actions/actionElementLock.d.ts +271 -0
- package/types/actions/actionExport.d.ts +363 -221
- package/types/actions/actionFinalize.d.ts +70 -42
- package/types/actions/actionFlip.d.ts +8 -11
- package/types/actions/actionFrame.d.ts +423 -0
- package/types/actions/actionGroup.d.ts +250 -13
- package/types/actions/actionHistory.d.ts +1 -1
- package/types/actions/actionLinearEditor.d.ts +37 -21
- package/types/actions/actionMenu.d.ts +108 -62
- package/types/actions/actionNavigate.d.ts +1 -1
- package/types/actions/actionProperties.d.ts +465 -256
- package/types/actions/actionSelectAll.d.ts +123 -4
- package/types/actions/actionStyles.d.ts +39 -24
- package/types/actions/actionToggleGridMode.d.ts +37 -22
- package/types/actions/{actionToggleLock.d.ts → actionToggleObjectsSnapMode.d.ts} +49 -32
- package/types/actions/actionToggleStats.d.ts +37 -22
- package/types/actions/actionToggleViewMode.d.ts +37 -22
- package/types/actions/actionToggleZenMode.d.ts +37 -22
- package/types/actions/actionZindex.d.ts +12 -12
- package/types/actions/index.d.ts +2 -1
- package/types/actions/manager.d.ts +1 -1
- package/types/actions/shortcuts.d.ts +2 -1
- package/types/actions/types.d.ts +11 -9
- package/types/appState.d.ts +18 -18
- package/types/charts.d.ts +2 -2
- package/types/clients.d.ts +5 -6
- package/types/clipboard.d.ts +8 -7
- package/types/colors.d.ts +60 -5
- package/types/components/Actions.d.ts +7 -12
- package/types/components/ActiveConfirmDialog.d.ts +4 -0
- package/types/components/App.d.ts +93 -35
- package/types/components/Avatar.d.ts +1 -2
- package/types/components/BraveMeasureTextError.d.ts +2 -0
- package/types/components/Button.d.ts +3 -2
- package/types/components/ButtonIconSelect.d.ts +11 -3
- package/types/components/Card.d.ts +0 -1
- package/types/components/ColorPicker/ColorInput.d.ts +9 -0
- package/types/components/ColorPicker/ColorPicker.d.ts +19 -0
- package/types/components/ColorPicker/CustomColorList.d.ts +8 -0
- package/types/components/ColorPicker/HotkeyLabel.d.ts +8 -0
- package/types/components/ColorPicker/Picker.d.ts +18 -0
- package/types/components/ColorPicker/PickerColorList.d.ts +10 -0
- package/types/components/ColorPicker/PickerHeading.d.ts +5 -0
- package/types/components/ColorPicker/ShadeList.d.ts +8 -0
- package/types/components/ColorPicker/TopPicks.d.ts +9 -0
- package/types/components/ColorPicker/colorPickerUtils.d.ts +21 -0
- package/types/components/ColorPicker/keyboardNavHandlers.d.ts +20 -0
- package/types/components/ContextMenu.d.ts +3 -3
- package/types/components/DefaultSidebar.d.ts +29 -0
- package/types/components/Dialog.d.ts +3 -4
- package/types/components/ErrorDialog.d.ts +3 -2
- package/types/components/ExcalidrawLogo.d.ts +15 -0
- package/types/components/EyeDropper.d.ts +28 -0
- package/types/components/FilledButton.d.ts +17 -0
- package/types/components/FixedSideContainer.d.ts +1 -1
- package/types/components/HandButton.d.ts +10 -0
- package/types/components/HelpButton.d.ts +1 -2
- package/types/components/HintViewer.d.ts +4 -5
- package/types/components/HomeButton.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +8 -13
- package/types/components/Island.d.ts +1 -1
- package/types/components/JSONExportDialog.d.ts +5 -5
- package/types/components/LaserTool/LaserPathManager.d.ts +28 -0
- package/types/components/LaserTool/LaserPointerButton.d.ts +10 -0
- package/types/components/LaserTool/LaserTool.d.ts +7 -0
- package/types/components/LayerUI.d.ts +9 -15
- package/types/components/LibraryMenu.d.ts +13 -14
- package/types/components/LibraryMenuBrowseButton.d.ts +2 -2
- package/types/components/LibraryMenuControlButtons.d.ts +9 -0
- package/types/components/LibraryMenuHeaderContent.d.ts +10 -28
- package/types/components/LibraryMenuItems.d.ts +6 -7
- package/types/components/LibraryMenuSection.d.ts +22 -0
- package/types/components/LibraryUnit.d.ts +6 -3
- package/types/components/LoadingMessage.d.ts +0 -1
- package/types/components/LockButton.d.ts +1 -2
- package/types/components/MobileMenu.d.ts +8 -11
- package/types/components/OverwriteConfirm/OverwriteConfirm.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +17 -0
- package/types/components/OverwriteConfirm/OverwriteConfirmState.d.ts +22 -0
- package/types/components/PasteChartDialog.d.ts +4 -5
- package/types/components/PenModeButton.d.ts +1 -1
- package/types/components/Popover.d.ts +1 -1
- package/types/components/ProjectName.d.ts +2 -1
- package/types/components/PublishLibrary.d.ts +2 -2
- package/types/components/RadioGroup.d.ts +12 -0
- package/types/components/Section.d.ts +1 -1
- package/types/components/Sidebar/Sidebar.d.ts +66 -63
- package/types/components/Sidebar/SidebarHeader.d.ts +6 -19
- package/types/components/Sidebar/SidebarTab.d.ts +8 -0
- package/types/components/Sidebar/SidebarTabTrigger.d.ts +9 -0
- package/types/components/Sidebar/SidebarTabTriggers.d.ts +6 -0
- package/types/components/Sidebar/SidebarTabs.d.ts +6 -0
- package/types/components/Sidebar/SidebarTrigger.d.ts +6 -0
- package/types/components/Sidebar/common.d.ts +24 -7
- package/types/components/Spinner.d.ts +2 -1
- package/types/components/Stack.d.ts +4 -3
- package/types/components/Stats.d.ts +3 -3
- package/types/components/Switch.d.ts +9 -0
- package/types/components/ToolButton.d.ts +6 -5
- package/types/components/Tooltip.d.ts +1 -1
- package/types/components/Trans.d.ts +9 -0
- package/types/components/canvases/InteractiveCanvas.d.ts +27 -0
- package/types/components/canvases/StaticCanvas.d.ts +18 -0
- package/types/components/canvases/index.d.ts +3 -0
- package/types/components/dropdownMenu/DropdownMenu.d.ts +15 -9
- package/types/components/dropdownMenu/DropdownMenuContent.d.ts +7 -3
- package/types/components/dropdownMenu/DropdownMenuItem.d.ts +4 -4
- package/types/components/dropdownMenu/DropdownMenuItemCustom.d.ts +2 -1
- package/types/components/dropdownMenu/DropdownMenuItemLink.d.ts +4 -2
- package/types/components/dropdownMenu/DropdownMenuTrigger.d.ts +3 -2
- package/types/components/dropdownMenu/common.d.ts +6 -0
- package/types/components/footer/Footer.d.ts +4 -5
- package/types/components/hoc/withInternalFallback.d.ts +4 -0
- package/types/components/icons.d.ts +16 -1
- package/types/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -1
- package/types/components/main-menu/MainMenu.d.ts +22 -13
- package/types/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -1
- package/types/components/welcome-screen/WelcomeScreen.d.ts +2 -3
- package/types/constants.d.ts +94 -10
- package/types/context/tunnels.d.ts +19 -0
- package/types/context/ui-appState.d.ts +4 -0
- package/types/cursor.d.ts +5 -0
- package/types/data/blob.d.ts +5 -3
- package/types/data/encode.d.ts +1 -1
- package/types/data/filesystem.d.ts +2 -1
- package/types/data/library.d.ts +3 -45
- package/types/data/restore.d.ts +10 -4
- package/types/data/transform.d.ts +73 -0
- package/types/data/types.d.ts +3 -5
- package/types/data/url.d.ts +7 -0
- package/types/element/Hyperlink.d.ts +48 -29
- package/types/element/binding.d.ts +4 -3
- package/types/element/bounds.d.ts +40 -10
- package/types/element/collision.d.ts +7 -7
- package/types/element/dragElements.d.ts +12 -2
- package/types/element/embeddable.d.ts +153 -0
- package/types/element/image.d.ts +11 -1
- package/types/element/index.d.ts +3 -2
- package/types/element/linearElementEditor.d.ts +43 -27
- package/types/element/mutateElement.d.ts +3 -2
- package/types/element/newElement.d.ts +48 -15
- package/types/element/resizeElements.d.ts +3 -2
- package/types/element/resizeTest.d.ts +2 -1
- package/types/element/showSelectedShapeActions.d.ts +2 -2
- package/types/element/sizeHelpers.d.ts +8 -1
- package/types/element/sortElements.d.ts +2 -0
- package/types/element/textElement.d.ts +43 -17
- package/types/element/textWysiwyg.d.ts +1 -1
- package/types/element/transformHandles.d.ts +16 -8
- package/types/element/typeChecks.d.ts +5 -2
- package/types/element/types.d.ts +59 -35
- package/types/emitter.d.ts +1 -2
- package/types/errors.d.ts +1 -1
- package/types/frame.d.ts +46 -0
- package/types/ga.d.ts +5 -5
- package/types/groups.d.ts +15 -11
- package/types/history.d.ts +3 -3
- package/types/hooks/useCreatePortalContainer.d.ts +4 -0
- package/types/hooks/useLibraryItemSvg.d.ts +11 -0
- package/types/hooks/useOutsideClick.d.ts +19 -2
- package/types/hooks/useScrollPosition.d.ts +1 -0
- package/types/hooks/useStable.d.ts +1 -0
- package/types/hooks/useTransition.d.ts +2 -0
- package/types/i18n.d.ts +11 -2
- package/types/jotai.d.ts +20 -108
- package/types/keys.d.ts +5 -4
- package/types/math.d.ts +5 -0
- package/types/packages/bbox.d.ts +11 -0
- package/types/packages/excalidraw/example/App.d.ts +7 -1
- package/types/packages/excalidraw/example/initialData.d.ts +182 -64
- package/types/packages/excalidraw/index.d.ts +11 -4
- package/types/packages/excalidraw/main.d.ts +3 -1
- package/types/packages/excalidraw/webpack.dev.config.d.ts +5 -2
- package/types/packages/excalidraw/webpack.prod.config.d.ts +3 -0
- package/types/packages/utils.d.ts +11 -2
- package/types/packages/withinBounds.d.ts +19 -0
- package/types/renderer/renderElement.d.ts +12 -22
- package/types/renderer/renderScene.d.ts +19 -27
- package/types/renderer/renderSnaps.d.ts +2 -0
- package/types/renderer/roundRect.d.ts +1 -1
- package/types/scene/Renderer.d.ts +25 -0
- package/types/scene/Scene.d.ts +27 -5
- package/types/scene/Shape.d.ts +12 -0
- package/types/scene/ShapeCache.d.ts +20 -0
- package/types/scene/comparisons.d.ts +0 -1
- package/types/scene/export.d.ts +50 -11
- package/types/scene/index.d.ts +1 -1
- package/types/scene/scroll.d.ts +1 -1
- package/types/scene/scrollbars.d.ts +2 -6
- package/types/scene/selection.d.ts +27 -6
- package/types/scene/types.d.ts +70 -34
- package/types/snapping.d.ts +108 -0
- package/types/types.d.ts +200 -84
- package/types/utility-types.d.ts +24 -0
- package/types/utils.d.ts +73 -29
- package/types/zindex.d.ts +4 -4
- package/types/components/ColorPicker.d.ts +0 -14
- package/types/components/LibraryButton.d.ts +0 -8
- package/types/components/SingleLibraryItem.d.ts +0 -10
- package/types/components/hoc/withUpstreamOverride.d.ts +0 -10
- /package/dist/excalidraw-assets/{vendor-2002fe1b8862917b36c1.js.LICENSE.txt → vendor-d415b28e9024dee4bb1b.js.LICENSE.txt} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets/{vendor-2002fe1b8862917b36c1.d.ts → vendor-d415b28e9024dee4bb1b.d.ts} +0 -0
- /package/types/packages/excalidraw/dist/excalidraw-assets-dev/{vendor-e6df8519da951026ff69.d.ts → vendor-a14cd58fa2db417e42b2.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,531 @@ The change should be grouped under one of the below section and must contain PR
|
|
|
11
11
|
Please add the latest change on the top under the correct section.
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## Unreleased
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- Export `elementsOverlappingBBox`, `isElementInsideBBox`, `elementPartiallyOverlapsWithOrContainsBBox` helpers for filtering/checking if elements within bounds. [#6727](https://github.com/excalidraw/excalidraw/pull/6727)
|
|
19
|
+
- Regenerate ids by default when using transform api and also update bindings by 0.5px to avoid possible overlapping [#7195](https://github.com/excalidraw/excalidraw/pull/7195)
|
|
20
|
+
- Add `selected` prop for `MainMenu.Item` and `MainMenu.ItemCustom` components to indicate active state. [#7078](https://github.com/excalidraw/excalidraw/pull/7078)
|
|
21
|
+
|
|
22
|
+
## 0.16.1 (2023-09-21)
|
|
23
|
+
|
|
24
|
+
## Excalidraw Library
|
|
25
|
+
|
|
26
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
27
|
+
|
|
28
|
+
### Fixes
|
|
29
|
+
|
|
30
|
+
- More eye-droper fixes [#7019](https://github.com/excalidraw/excalidraw/pull/7019)
|
|
31
|
+
|
|
32
|
+
### Refactor
|
|
33
|
+
|
|
34
|
+
- Move excalidraw-app outside src [#6987](https://github.com/excalidraw/excalidraw/pull/6987)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 0.16.0 (2023-09-19)
|
|
39
|
+
|
|
40
|
+
- Support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically [#6546](https://github.com/excalidraw/excalidraw/pull/6546)
|
|
41
|
+
- Introducing Web-Embeds (alias iframe element)[#6691](https://github.com/excalidraw/excalidraw/pull/6691)
|
|
42
|
+
- Added [`props.validateEmbeddable`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props#validateEmbeddable) to customize embeddable src url validation. [#6691](https://github.com/excalidraw/excalidraw/pull/6691)
|
|
43
|
+
- Add support for `opts.fitToViewport` and `opts.viewportZoomFactor` in the [`ExcalidrawAPI.scrollToContent`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props/ref#scrolltocontent) API. [#6581](https://github.com/excalidraw/excalidraw/pull/6581).
|
|
44
|
+
- Properly sanitize element `link` urls. [#6728](https://github.com/excalidraw/excalidraw/pull/6728).
|
|
45
|
+
- Sidebar component now supports tabs — for more detailed description of new behavior and breaking changes, see the linked PR. [#6213](https://github.com/excalidraw/excalidraw/pull/6213)
|
|
46
|
+
- Exposed `DefaultSidebar` component to allow modifying the default sidebar, such as adding custom tabs to it. [#6213](https://github.com/excalidraw/excalidraw/pull/6213)
|
|
47
|
+
|
|
48
|
+
#### BREAKING CHANGES
|
|
49
|
+
|
|
50
|
+
- `props.renderSidebar` is removed in favor of rendering as `children`.
|
|
51
|
+
- `appState.isSidebarDocked` replaced with `appState.defaultSidebarDockedPreference` with slightly different semantics, and relating only to the default sidebar. You need to handle `docked` state for your custom sidebars yourself.
|
|
52
|
+
- Sidebar `props.dockable` is removed. To indicate dockability, supply `props.onDock()` alongside setting `props.docked`.
|
|
53
|
+
- `Sidebar.Header` is no longer rendered by default. You need to render it yourself.
|
|
54
|
+
- `props.onClose` replaced with `props.onStateChange`.
|
|
55
|
+
- `restore()`/`restoreAppState()` now retains `appState.openSidebar` regardless of docked state.
|
|
56
|
+
|
|
57
|
+
## Excalidraw Library
|
|
58
|
+
|
|
59
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
- allow `avif`, `jfif`, `webp`, `bmp`, `ico` image types [#6500](https://github.com/excalidraw/excalidraw/pull/6500)
|
|
64
|
+
- Zen-mode/go-to-plus button style tweaks [#7006](https://github.com/excalidraw/excalidraw/pull/7006)
|
|
65
|
+
|
|
66
|
+
- Holding down CMD/CTRL will disable snap to grid when grid is active [#6983](https://github.com/excalidraw/excalidraw/pull/6983)
|
|
67
|
+
|
|
68
|
+
- Update logo [#6979](https://github.com/excalidraw/excalidraw/pull/6979)
|
|
69
|
+
|
|
70
|
+
- Export `changeProperty()` and `getFormValue()`. [#6957](https://github.com/excalidraw/excalidraw/pull/6957)
|
|
71
|
+
|
|
72
|
+
- Partition main canvas vertically [#6759](https://github.com/excalidraw/excalidraw/pull/6759)
|
|
73
|
+
|
|
74
|
+
- Support creating containers, linear elements, text containers, labelled arrows and arrow bindings programatically [#6546](https://github.com/excalidraw/excalidraw/pull/6546)
|
|
75
|
+
|
|
76
|
+
- Add support for simplePDF in Web-Embeds [#6810](https://github.com/excalidraw/excalidraw/pull/6810)
|
|
77
|
+
|
|
78
|
+
- Add support for val.town embeds [#6821](https://github.com/excalidraw/excalidraw/pull/6821)
|
|
79
|
+
|
|
80
|
+
- Render bold lines in grid [#6779](https://github.com/excalidraw/excalidraw/pull/6779)
|
|
81
|
+
|
|
82
|
+
- Adds support for stackblitz.com embeds [#6813](https://github.com/excalidraw/excalidraw/pull/6813)
|
|
83
|
+
|
|
84
|
+
- Cache most of element selection [#6747](https://github.com/excalidraw/excalidraw/pull/6747)
|
|
85
|
+
|
|
86
|
+
- Support customizing what parts of frames are rendered [#6752](https://github.com/excalidraw/excalidraw/pull/6752)
|
|
87
|
+
|
|
88
|
+
- Make `appState.selectedElementIds` more stable [#6745](https://github.com/excalidraw/excalidraw/pull/6745)
|
|
89
|
+
|
|
90
|
+
- Overwrite confirmation dialogs [#6658](https://github.com/excalidraw/excalidraw/pull/6658)
|
|
91
|
+
|
|
92
|
+
- Simple analitycs [#6683](https://github.com/excalidraw/excalidraw/pull/6683)
|
|
93
|
+
|
|
94
|
+
- Introduce frames [#6123](https://github.com/excalidraw/excalidraw/pull/6123)
|
|
95
|
+
|
|
96
|
+
- Add canvas-roundrect-polyfill package [#6675](https://github.com/excalidraw/excalidraw/pull/6675)
|
|
97
|
+
|
|
98
|
+
- Polyfill `CanvasRenderingContext2D.roundRect` [#6673](https://github.com/excalidraw/excalidraw/pull/6673)
|
|
99
|
+
|
|
100
|
+
- Disable collab feature when running in iframe [#6646](https://github.com/excalidraw/excalidraw/pull/6646)
|
|
101
|
+
|
|
102
|
+
- Assign random user name when not set [#6663](https://github.com/excalidraw/excalidraw/pull/6663)
|
|
103
|
+
|
|
104
|
+
- Redesigned collab cursors [#6659](https://github.com/excalidraw/excalidraw/pull/6659)
|
|
105
|
+
|
|
106
|
+
- Eye dropper [#6615](https://github.com/excalidraw/excalidraw/pull/6615)
|
|
107
|
+
|
|
108
|
+
- Redesign of Live Collaboration dialog [#6635](https://github.com/excalidraw/excalidraw/pull/6635)
|
|
109
|
+
|
|
110
|
+
- Recover scrolled position after Library re-opening [#6624](https://github.com/excalidraw/excalidraw/pull/6624)
|
|
111
|
+
|
|
112
|
+
- Clearing library cache [#6621](https://github.com/excalidraw/excalidraw/pull/6621)
|
|
113
|
+
|
|
114
|
+
- Update design of ImageExportDialog [#6614](https://github.com/excalidraw/excalidraw/pull/6614)
|
|
115
|
+
|
|
116
|
+
- Add flipping for multiple elements [#5578](https://github.com/excalidraw/excalidraw/pull/5578)
|
|
117
|
+
|
|
118
|
+
- Color picker redesign [#6216](https://github.com/excalidraw/excalidraw/pull/6216)
|
|
119
|
+
|
|
120
|
+
- Add "unlock all elements" to canvas contextMenu [#5894](https://github.com/excalidraw/excalidraw/pull/5894)
|
|
121
|
+
|
|
122
|
+
- Library sidebar design tweaks [#6582](https://github.com/excalidraw/excalidraw/pull/6582)
|
|
123
|
+
|
|
124
|
+
- Add Trans component for interpolating JSX in translations [#6534](https://github.com/excalidraw/excalidraw/pull/6534)
|
|
125
|
+
|
|
126
|
+
- Testing simple analytics and fathom analytics for better privacy of the users [#6529](https://github.com/excalidraw/excalidraw/pull/6529)
|
|
127
|
+
|
|
128
|
+
- Retain `seed` on shift-paste [#6509](https://github.com/excalidraw/excalidraw/pull/6509)
|
|
129
|
+
|
|
130
|
+
- Allow `avif`, `jfif`, `webp`, `bmp`, `ico` image types (#6500
|
|
131
|
+
|
|
132
|
+
### Fixes
|
|
133
|
+
|
|
134
|
+
- Improperly disabling UI pointer-events on canvas interaction [#7005](https://github.com/excalidraw/excalidraw/pull/7005)
|
|
135
|
+
|
|
136
|
+
- Several eyeDropper fixes [#7002](https://github.com/excalidraw/excalidraw/pull/7002)
|
|
137
|
+
|
|
138
|
+
- IsBindableElement to affirm frames [#6900](https://github.com/excalidraw/excalidraw/pull/6900)
|
|
139
|
+
|
|
140
|
+
- Use `device.isMobile` for sidebar trigger label breakpoint [#6994](https://github.com/excalidraw/excalidraw/pull/6994)
|
|
141
|
+
|
|
142
|
+
- Export to plus url [#6980](https://github.com/excalidraw/excalidraw/pull/6980)
|
|
143
|
+
|
|
144
|
+
- Z-index inconsistencies during addition / deletion in frames [#6914](https://github.com/excalidraw/excalidraw/pull/6914)
|
|
145
|
+
|
|
146
|
+
- Update size-limit so react is not installed as dependency [#6964](https://github.com/excalidraw/excalidraw/pull/6964)
|
|
147
|
+
|
|
148
|
+
- Stale labeled arrow bounds cache after editing the label [#6893](https://github.com/excalidraw/excalidraw/pull/6893)
|
|
149
|
+
|
|
150
|
+
- Canvas flickering due to resetting canvas on skipped frames [#6960](https://github.com/excalidraw/excalidraw/pull/6960)
|
|
151
|
+
|
|
152
|
+
- Grid jittery after partition PR [#6935](https://github.com/excalidraw/excalidraw/pull/6935)
|
|
153
|
+
|
|
154
|
+
- Regression in indexing when adding elements to frame [#6904](https://github.com/excalidraw/excalidraw/pull/6904)
|
|
155
|
+
|
|
156
|
+
- Stabilize `selectedElementIds` when box selecting [#6912](https://github.com/excalidraw/excalidraw/pull/6912)
|
|
157
|
+
|
|
158
|
+
- Resetting deleted elements on duplication [#6906](https://github.com/excalidraw/excalidraw/pull/6906)
|
|
159
|
+
|
|
160
|
+
- Make canvas compos memoize appState on props they declare [#6897](https://github.com/excalidraw/excalidraw/pull/6897)
|
|
161
|
+
|
|
162
|
+
- Scope `--color-selection` retrieval to given instance [#6886](https://github.com/excalidraw/excalidraw/pull/6886)
|
|
163
|
+
|
|
164
|
+
- Webpack config exclude statement to system agnostic [#6857](https://github.com/excalidraw/excalidraw/pull/6857)
|
|
165
|
+
|
|
166
|
+
- Remove `embeddable` from generic elements [#6853](https://github.com/excalidraw/excalidraw/pull/6853)
|
|
167
|
+
|
|
168
|
+
- Resizing arrow labels [#6789](https://github.com/excalidraw/excalidraw/pull/6789)
|
|
169
|
+
|
|
170
|
+
- Eye-dropper not working with app offset correctly on non-1 dPR [#6835](https://github.com/excalidraw/excalidraw/pull/6835)
|
|
171
|
+
|
|
172
|
+
- Add self destroying service-worker.js to migrate everyone from CRA to Vite [#6833](https://github.com/excalidraw/excalidraw/pull/6833)
|
|
173
|
+
|
|
174
|
+
- Forgotten REACT_APP env variables [#6834](https://github.com/excalidraw/excalidraw/pull/6834)
|
|
175
|
+
|
|
176
|
+
- Refresh sw when browser refreshed [#6824](https://github.com/excalidraw/excalidraw/pull/6824)
|
|
177
|
+
|
|
178
|
+
- Adding to selection via shift box-select [#6815](https://github.com/excalidraw/excalidraw/pull/6815)
|
|
179
|
+
|
|
180
|
+
- Prevent binding focus NaN value [#6803](https://github.com/excalidraw/excalidraw/pull/6803)
|
|
181
|
+
|
|
182
|
+
- Use pull request in semantic workflow for better security [#6799](https://github.com/excalidraw/excalidraw/pull/6799)
|
|
183
|
+
|
|
184
|
+
- Don't show `canvasBackground` label when `UIOptions.canvasActions.changeViewBackgroundColor` is false [#6781](https://github.com/excalidraw/excalidraw/pull/6781)
|
|
185
|
+
|
|
186
|
+
- Use subdirectory for @excalidraw/excalidraw size limit [#6787](https://github.com/excalidraw/excalidraw/pull/6787)
|
|
187
|
+
|
|
188
|
+
- Use actual dock state to not close docked library on insert [#6766](https://github.com/excalidraw/excalidraw/pull/6766)
|
|
189
|
+
|
|
190
|
+
- UI disappears when pressing the eyedropper shortcut on mobile [#6725](https://github.com/excalidraw/excalidraw/pull/6725)
|
|
191
|
+
|
|
192
|
+
- Elements in non-existing frame getting removed [#6708](https://github.com/excalidraw/excalidraw/pull/6708)
|
|
193
|
+
|
|
194
|
+
- Scrollbars renders but disable [#6706](https://github.com/excalidraw/excalidraw/pull/6706)
|
|
195
|
+
|
|
196
|
+
- Typo in chart.ts [#6696](https://github.com/excalidraw/excalidraw/pull/6696)
|
|
197
|
+
|
|
198
|
+
- Do not bind text to container using text tool when it has text already [#6694](https://github.com/excalidraw/excalidraw/pull/6694)
|
|
199
|
+
|
|
200
|
+
- Don't allow binding text to images [#6693](https://github.com/excalidraw/excalidraw/pull/6693)
|
|
201
|
+
|
|
202
|
+
- Updated link for documentation page under help section [#6654](https://github.com/excalidraw/excalidraw/pull/6654)
|
|
203
|
+
|
|
204
|
+
- Collab username style fixes [#6668](https://github.com/excalidraw/excalidraw/pull/6668)
|
|
205
|
+
|
|
206
|
+
- Bound arrows not updated when rotating multiple elements [#6662](https://github.com/excalidraw/excalidraw/pull/6662)
|
|
207
|
+
|
|
208
|
+
- Delete setCursor when resize [#6660](https://github.com/excalidraw/excalidraw/pull/6660)
|
|
209
|
+
|
|
210
|
+
- Creating text while color picker open [#6651](https://github.com/excalidraw/excalidraw/pull/6651)
|
|
211
|
+
|
|
212
|
+
- Cleanup textWysiwyg and getAdjustedDimensions [#6520](https://github.com/excalidraw/excalidraw/pull/6520)
|
|
213
|
+
|
|
214
|
+
- Eye dropper not accounting for offsets [#6640](https://github.com/excalidraw/excalidraw/pull/6640)
|
|
215
|
+
|
|
216
|
+
- Color picker input closing problem [#6599](https://github.com/excalidraw/excalidraw/pull/6599)
|
|
217
|
+
|
|
218
|
+
- Export dialog shortcut toggles console on firefox [#6620](https://github.com/excalidraw/excalidraw/pull/6620)
|
|
219
|
+
|
|
220
|
+
- Add react v17 `useTransition` polyfill [#6618](https://github.com/excalidraw/excalidraw/pull/6618)
|
|
221
|
+
|
|
222
|
+
- Library dropdown visibility issue for mobile [#6613](https://github.com/excalidraw/excalidraw/pull/6613)
|
|
223
|
+
|
|
224
|
+
- `withInternalFallback` leaking state in multi-instance scenarios [#6602](https://github.com/excalidraw/excalidraw/pull/6602)
|
|
225
|
+
|
|
226
|
+
- Language list containing duplicate `en` lang [#6583](https://github.com/excalidraw/excalidraw/pull/6583)
|
|
227
|
+
|
|
228
|
+
- Garbled text displayed on avatars [#6575](https://github.com/excalidraw/excalidraw/pull/6575)
|
|
229
|
+
|
|
230
|
+
- Assign the original text to text editor only during init [#6580](https://github.com/excalidraw/excalidraw/pull/6580)
|
|
231
|
+
|
|
232
|
+
- I18n: Apply Trans component to publish library dialogue [#6564](https://github.com/excalidraw/excalidraw/pull/6564)
|
|
233
|
+
|
|
234
|
+
- Fix brave error i18n string and remove unused [#6561](https://github.com/excalidraw/excalidraw/pull/6561)
|
|
235
|
+
|
|
236
|
+
- Revert add version tags to Docker build [#6540](https://github.com/excalidraw/excalidraw/pull/6540)
|
|
237
|
+
|
|
238
|
+
- Don't refresh dimensions for text containers on font load [#6523](https://github.com/excalidraw/excalidraw/pull/6523)
|
|
239
|
+
|
|
240
|
+
- Cleanup getMaxContainerHeight and getMaxContainerWidth [#6519](https://github.com/excalidraw/excalidraw/pull/6519)
|
|
241
|
+
|
|
242
|
+
- Cleanup redrawTextBoundingBox [#6518](https://github.com/excalidraw/excalidraw/pull/6518)
|
|
243
|
+
|
|
244
|
+
- Text jumps when editing on Android Chrome [#6503](https://github.com/excalidraw/excalidraw/pull/6503)
|
|
245
|
+
|
|
246
|
+
### Styles
|
|
247
|
+
|
|
248
|
+
- Removes extra spaces [#6558](https://github.com/excalidraw/excalidraw/pull/6558)
|
|
249
|
+
|
|
250
|
+
- Fix font family inconsistencies [#6501](https://github.com/excalidraw/excalidraw/pull/6501)
|
|
251
|
+
|
|
252
|
+
### Refactor
|
|
253
|
+
|
|
254
|
+
- Factor out shape generation from `renderElement.ts` pt 2 [#6878](https://github.com/excalidraw/excalidraw/pull/6878)
|
|
255
|
+
|
|
256
|
+
- Add typeScript support to enforce valid translation keys [#6776](https://github.com/excalidraw/excalidraw/pull/6776)
|
|
257
|
+
|
|
258
|
+
- Simplify `ImageExportDialog` [#6578](https://github.com/excalidraw/excalidraw/pull/6578)
|
|
259
|
+
|
|
260
|
+
### Performance
|
|
261
|
+
|
|
262
|
+
- Limiting the suggested binding to fix performance issue [#6877](https://github.com/excalidraw/excalidraw/pull/6877)
|
|
263
|
+
|
|
264
|
+
- Memoize rendering of library [#6622](https://github.com/excalidraw/excalidraw/pull/6622)
|
|
265
|
+
|
|
266
|
+
- Improve rendering performance for Library [#6587](https://github.com/excalidraw/excalidraw/pull/6587)
|
|
267
|
+
|
|
268
|
+
- Use `UIAppState` where possible to reduce UI rerenders [#6560](https://github.com/excalidraw/excalidraw/pull/6560)
|
|
269
|
+
|
|
270
|
+
### Build
|
|
271
|
+
|
|
272
|
+
- Increase limit for bundle by 1kb [#6880](https://github.com/excalidraw/excalidraw/pull/6880)
|
|
273
|
+
|
|
274
|
+
- Update to node 18 in docker [#6822](https://github.com/excalidraw/excalidraw/pull/6822)
|
|
275
|
+
|
|
276
|
+
- Migrate to Vite 🚀 [#6818](https://github.com/excalidraw/excalidraw/pull/6818)
|
|
277
|
+
|
|
278
|
+
- Migrate to Vite 🚀 [#6713](https://github.com/excalidraw/excalidraw/pull/6713)
|
|
279
|
+
|
|
280
|
+
- Increase limit to 290 kB for prod bundle [#6809](https://github.com/excalidraw/excalidraw/pull/6809)
|
|
281
|
+
|
|
282
|
+
- Add version tags to Docker build [#6508](https://github.com/excalidraw/excalidraw/pull/6508)
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## 0.15.2 (2023-04-20)
|
|
287
|
+
|
|
288
|
+
### Docs
|
|
289
|
+
|
|
290
|
+
- Fix docs link in readme [#6486](https://github.com/excalidraw/excalidraw/pull/6486)
|
|
291
|
+
|
|
292
|
+
## Excalidraw Library
|
|
293
|
+
|
|
294
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
295
|
+
|
|
296
|
+
### Fixes
|
|
297
|
+
|
|
298
|
+
- Rotate the text element when binding to a rotated container [#6477](https://github.com/excalidraw/excalidraw/pull/6477)
|
|
299
|
+
|
|
300
|
+
- Support breaking words containing hyphen - [#6014](https://github.com/excalidraw/excalidraw/pull/6014)
|
|
301
|
+
|
|
302
|
+
- Incorrect background fill button active state [#6491](https://github.com/excalidraw/excalidraw/pull/6491)
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
## 0.15.1 (2023-04-18)
|
|
307
|
+
|
|
308
|
+
### Docs
|
|
309
|
+
|
|
310
|
+
- Add the readme back to the package which was mistakenly removed [#6484](https://github.com/excalidraw/excalidraw/pull/6484)
|
|
311
|
+
|
|
312
|
+
## Excalidraw Library
|
|
313
|
+
|
|
314
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 0.15.0 (2023-04-18)
|
|
319
|
+
|
|
320
|
+
### Features
|
|
321
|
+
|
|
322
|
+
- [`ExcalidrawAPI.scrollToContent`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/props/ref#scrolltocontent) has new opts object allowing you to fit viewport to content, and animate the scrolling. [#6319](https://github.com/excalidraw/excalidraw/pull/6319)
|
|
323
|
+
|
|
324
|
+
- Expose `useI18n()` hook return an object containing `t()` i18n helper and current `langCode`. You can use this in components you render as `<Excalidraw>` children to render any of our i18n locale strings. [#6224](https://github.com/excalidraw/excalidraw/pull/6224)
|
|
325
|
+
|
|
326
|
+
- [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) API now takes an optional parameter `opts` which currently supports the below attributes
|
|
327
|
+
|
|
328
|
+
```js
|
|
329
|
+
{ refreshDimensions?: boolean, repairBindings?: boolean }
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
The same `opts` param has been added to [`restore`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restore) API as well.
|
|
333
|
+
|
|
334
|
+
For more details refer to the [docs](https://docs.excalidraw.com)
|
|
335
|
+
|
|
336
|
+
#### BREAKING CHANGE
|
|
337
|
+
|
|
338
|
+
- The optional parameter `refreshDimensions` in [`restoreElements`](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/utils/restore#restoreelements) has been removed and can be enabled via `opts`
|
|
339
|
+
|
|
340
|
+
### Fixes
|
|
341
|
+
|
|
342
|
+
- Exporting labelled arrows via export utils [#6443](https://github.com/excalidraw/excalidraw/pull/6443)
|
|
343
|
+
|
|
344
|
+
## Excalidraw Library
|
|
345
|
+
|
|
346
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
347
|
+
|
|
348
|
+
### Features
|
|
349
|
+
|
|
350
|
+
- Constrain export dialog preview size [#6475](https://github.com/excalidraw/excalidraw/pull/6475)
|
|
351
|
+
|
|
352
|
+
- Zigzag fill easter egg [#6439](https://github.com/excalidraw/excalidraw/pull/6439)
|
|
353
|
+
|
|
354
|
+
- Add container to multiple text elements [#6428](https://github.com/excalidraw/excalidraw/pull/6428)
|
|
355
|
+
|
|
356
|
+
- Starting migration from GA to Matomo for better privacy [#6398](https://github.com/excalidraw/excalidraw/pull/6398)
|
|
357
|
+
|
|
358
|
+
- Add line height attribute to text element [#6360](https://github.com/excalidraw/excalidraw/pull/6360)
|
|
359
|
+
|
|
360
|
+
- Add thai lang support [#6314](https://github.com/excalidraw/excalidraw/pull/6314)
|
|
361
|
+
|
|
362
|
+
- Create bound container from text [#6301](https://github.com/excalidraw/excalidraw/pull/6301)
|
|
363
|
+
|
|
364
|
+
- Improve text measurements in bound containers [#6187](https://github.com/excalidraw/excalidraw/pull/6187)
|
|
365
|
+
|
|
366
|
+
- Bind text to container if double clicked on filled shape or stroke [#6250](https://github.com/excalidraw/excalidraw/pull/6250)
|
|
367
|
+
|
|
368
|
+
- Make repair and refreshDimensions configurable in restoreElements [#6238](https://github.com/excalidraw/excalidraw/pull/6238)
|
|
369
|
+
|
|
370
|
+
- Show error message when not connected to internet while collabo… [#6165](https://github.com/excalidraw/excalidraw/pull/6165)
|
|
371
|
+
|
|
372
|
+
- Shortcut for clearCanvas confirmDialog [#6114](https://github.com/excalidraw/excalidraw/pull/6114)
|
|
373
|
+
|
|
374
|
+
- Disable canvas smoothing (antialiasing) for right-angled elements [#6186](https://github.com/excalidraw/excalidraw/pull/6186)Co-authored-by: Ignacio Cuadra <67276174+ignacio-cuadra@users.noreply.github.com>
|
|
375
|
+
|
|
376
|
+
### Fixes
|
|
377
|
+
|
|
378
|
+
- Center align text when wrapped in container via context menu [#6480](https://github.com/excalidraw/excalidraw/pull/6480)
|
|
379
|
+
|
|
380
|
+
- Restore original container height when unbinding text which was binded via context menu [#6444](https://github.com/excalidraw/excalidraw/pull/6444)
|
|
381
|
+
|
|
382
|
+
- Mark more props as optional for element [#6448](https://github.com/excalidraw/excalidraw/pull/6448)
|
|
383
|
+
|
|
384
|
+
- Improperly cache-busting on canvas scale instead of zoom [#6473](https://github.com/excalidraw/excalidraw/pull/6473)
|
|
385
|
+
|
|
386
|
+
- Incorrectly duplicating items on paste/library insert [#6467](https://github.com/excalidraw/excalidraw/pull/6467)
|
|
387
|
+
|
|
388
|
+
- Library ids cross-contamination on multiple insert [#6466](https://github.com/excalidraw/excalidraw/pull/6466)
|
|
389
|
+
|
|
390
|
+
- Color picker keyboard handling not working [#6464](https://github.com/excalidraw/excalidraw/pull/6464)
|
|
391
|
+
|
|
392
|
+
- Abort freedraw line if second touch is detected [#6440](https://github.com/excalidraw/excalidraw/pull/6440)
|
|
393
|
+
|
|
394
|
+
- Utils leaking Scene state [#6461](https://github.com/excalidraw/excalidraw/pull/6461)
|
|
395
|
+
|
|
396
|
+
- Split "Edit selected shape" shortcut [#6457](https://github.com/excalidraw/excalidraw/pull/6457)
|
|
397
|
+
|
|
398
|
+
- Center align text when bind to container via context menu [#6451](https://github.com/excalidraw/excalidraw/pull/6451)
|
|
399
|
+
|
|
400
|
+
- Update coords when text unbinded from its container [#6445](https://github.com/excalidraw/excalidraw/pull/6445)
|
|
401
|
+
|
|
402
|
+
- Autoredirect to plus in prod only [#6446](https://github.com/excalidraw/excalidraw/pull/6446)
|
|
403
|
+
|
|
404
|
+
- Fixing popover overflow on small screen [#6433](https://github.com/excalidraw/excalidraw/pull/6433)
|
|
405
|
+
|
|
406
|
+
- Introduce baseline to fix the layout shift when switching to text editor [#6397](https://github.com/excalidraw/excalidraw/pull/6397)
|
|
407
|
+
|
|
408
|
+
- Don't refresh dimensions for deleted text elements [#6438](https://github.com/excalidraw/excalidraw/pull/6438)
|
|
409
|
+
|
|
410
|
+
- Element vanishes when zoomed in [#6417](https://github.com/excalidraw/excalidraw/pull/6417)
|
|
411
|
+
|
|
412
|
+
- Don't jump text to end when out of viewport in safari [#6416](https://github.com/excalidraw/excalidraw/pull/6416)
|
|
413
|
+
|
|
414
|
+
- GetDefaultLineHeight should return default font family line height for unknown font [#6399](https://github.com/excalidraw/excalidraw/pull/6399)
|
|
415
|
+
|
|
416
|
+
- Revert use `ideographic` textBaseline to improve layout shift when editing text" [#6400](https://github.com/excalidraw/excalidraw/pull/6400)
|
|
417
|
+
|
|
418
|
+
- Call stack size exceeded when paste large text [#6373](https://github.com/excalidraw/excalidraw/pull/6373) (#6396)
|
|
419
|
+
|
|
420
|
+
- Use `ideographic` textBaseline to improve layout shift when editing text [#6384](https://github.com/excalidraw/excalidraw/pull/6384)
|
|
421
|
+
|
|
422
|
+
- Chrome crashing when embedding scene on chrome arm [#6383](https://github.com/excalidraw/excalidraw/pull/6383)
|
|
423
|
+
|
|
424
|
+
- Division by zero in findFocusPointForEllipse leads to infinite loop in wrapText freezing Excalidraw [#6377](https://github.com/excalidraw/excalidraw/pull/6377)
|
|
425
|
+
|
|
426
|
+
- Containerizing text incorrectly updates arrow bindings [#6369](https://github.com/excalidraw/excalidraw/pull/6369)
|
|
427
|
+
|
|
428
|
+
- Ensure export preview is centered [#6337](https://github.com/excalidraw/excalidraw/pull/6337)
|
|
429
|
+
|
|
430
|
+
- Hide text align for labelled arrows [#6339](https://github.com/excalidraw/excalidraw/pull/6339)
|
|
431
|
+
|
|
432
|
+
- Refresh dimensions when elements loaded from shareable link and blob [#6333](https://github.com/excalidraw/excalidraw/pull/6333)
|
|
433
|
+
|
|
434
|
+
- Show error message when measureText API breaks in brave [#6336](https://github.com/excalidraw/excalidraw/pull/6336)
|
|
435
|
+
|
|
436
|
+
- Add an offset of 0.5px for text editor in containers [#6328](https://github.com/excalidraw/excalidraw/pull/6328)
|
|
437
|
+
|
|
438
|
+
- Move utility types out of `.d.ts` file to fix exported declaration files [#6315](https://github.com/excalidraw/excalidraw/pull/6315)
|
|
439
|
+
|
|
440
|
+
- More jotai scopes missing [#6313](https://github.com/excalidraw/excalidraw/pull/6313)
|
|
441
|
+
|
|
442
|
+
- Provide HelpButton title prop [#6209](https://github.com/excalidraw/excalidraw/pull/6209)
|
|
443
|
+
|
|
444
|
+
- Respect text align when wrapping in a container [#6310](https://github.com/excalidraw/excalidraw/pull/6310)
|
|
445
|
+
|
|
446
|
+
- Compute bounding box correctly for text element when multiple element resizing [#6307](https://github.com/excalidraw/excalidraw/pull/6307)
|
|
447
|
+
|
|
448
|
+
- Use jotai scope for editor-specific atoms [#6308](https://github.com/excalidraw/excalidraw/pull/6308)
|
|
449
|
+
|
|
450
|
+
- Consider arrow for bound text element [#6297](https://github.com/excalidraw/excalidraw/pull/6297)
|
|
451
|
+
|
|
452
|
+
- Text never goes beyond max width for unbound text elements [#6288](https://github.com/excalidraw/excalidraw/pull/6288)
|
|
453
|
+
|
|
454
|
+
- Svg text baseline [#6285](https://github.com/excalidraw/excalidraw/pull/6273)
|
|
455
|
+
|
|
456
|
+
- Compute container height from bound text correctly [#6273](https://github.com/excalidraw/excalidraw/pull/6273)
|
|
457
|
+
|
|
458
|
+
- Fit mobile toolbar and make scrollable [#6270](https://github.com/excalidraw/excalidraw/pull/6270)
|
|
459
|
+
|
|
460
|
+
- Indenting via `tab` clashing with IME compositor [#6258](https://github.com/excalidraw/excalidraw/pull/6258)
|
|
461
|
+
|
|
462
|
+
- Improve text wrapping inside rhombus and more fixes [#6265](https://github.com/excalidraw/excalidraw/pull/6265)
|
|
463
|
+
|
|
464
|
+
- Improve text wrapping in ellipse and alignment [#6172](https://github.com/excalidraw/excalidraw/pull/6172)
|
|
465
|
+
|
|
466
|
+
- Don't allow blank space in collab name [#6211](https://github.com/excalidraw/excalidraw/pull/6211)
|
|
467
|
+
|
|
468
|
+
- Docker build architecture:linux/amd64 error occur on linux/arm64 instance [#6197](https://github.com/excalidraw/excalidraw/pull/6197)
|
|
469
|
+
|
|
470
|
+
- Sort bound text elements to fix text duplication z-index error [#5130](https://github.com/excalidraw/excalidraw/pull/5130)
|
|
471
|
+
|
|
472
|
+
- Hide welcome screen on mobile once user interacts [#6185](https://github.com/excalidraw/excalidraw/pull/6185)
|
|
473
|
+
|
|
474
|
+
- Edit link in docs [#6182](https://github.com/excalidraw/excalidraw/pull/6182)
|
|
475
|
+
|
|
476
|
+
### Refactor
|
|
477
|
+
|
|
478
|
+
- Inline `SingleLibraryItem` into `PublishLibrary` [#6462](https://github.com/excalidraw/excalidraw/pull/6462)
|
|
479
|
+
|
|
480
|
+
- Make the example React app reusable without duplication [#6188](https://github.com/excalidraw/excalidraw/pull/6188)
|
|
481
|
+
|
|
482
|
+
### Performance
|
|
483
|
+
|
|
484
|
+
- Break early if the line width <= max width of the container [#6347](https://github.com/excalidraw/excalidraw/pull/6347)
|
|
485
|
+
|
|
486
|
+
### Build
|
|
487
|
+
|
|
488
|
+
- Move TS and types to devDependencies [#6346](https://github.com/excalidraw/excalidraw/pull/6346)
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## 0.14.2 (2023-02-01)
|
|
493
|
+
|
|
494
|
+
### Features
|
|
495
|
+
|
|
496
|
+
- Welcome screen no longer renders by default, and you need to render it yourself. `UIOptions.welcomeScreen` option is now deprecated. [#6117](https://github.com/excalidraw/excalidraw/pull/6117)
|
|
497
|
+
- `MainMenu`, `MainMenu.Item`, and `MainMenu.ItemLink` components now all support `onSelect(event: Event): void` callback. If you call `event.preventDefault()`, it will prevent the menu from closing when an item is selected (clicked on). [#6152](https://github.com/excalidraw/excalidraw/pull/6152)
|
|
498
|
+
|
|
499
|
+
### Fixes
|
|
500
|
+
|
|
501
|
+
- declare css variable for font in excalidraw so its available in host [#6160](https://github.com/excalidraw/excalidraw/pull/6160)
|
|
502
|
+
|
|
503
|
+
## Excalidraw Library
|
|
504
|
+
|
|
505
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
506
|
+
|
|
507
|
+
### Features
|
|
508
|
+
|
|
509
|
+
- Add hand/panning tool [#6141](https://github.com/excalidraw/excalidraw/pull/6141)
|
|
510
|
+
|
|
511
|
+
- Show copy-as-png export button on firefox and show steps how to enable it [#6125](https://github.com/excalidraw/excalidraw/pull/6125)
|
|
512
|
+
|
|
513
|
+
### Fixes
|
|
514
|
+
|
|
515
|
+
- Horizontal padding when aligning bound text containers [#6180](https://github.com/excalidraw/excalidraw/pull/6180)
|
|
516
|
+
|
|
517
|
+
- Make tunnels work in multi-instance scenarios [#6178](https://github.com/excalidraw/excalidraw/pull/6178)
|
|
518
|
+
|
|
519
|
+
- Add 1px width to the container to calculate more accurately [#6174](https://github.com/excalidraw/excalidraw/pull/6174)
|
|
520
|
+
|
|
521
|
+
- Quick typo fix [#6167](https://github.com/excalidraw/excalidraw/pull/6167)
|
|
522
|
+
|
|
523
|
+
- Set the width correctly using measureText in editor [#6162](https://github.com/excalidraw/excalidraw/pull/6162)
|
|
524
|
+
|
|
525
|
+
- :bug: broken emojis when wrap text [#6153](https://github.com/excalidraw/excalidraw/pull/6153)
|
|
526
|
+
|
|
527
|
+
- Button background and svg sizes [#6155](https://github.com/excalidraw/excalidraw/pull/6155)
|
|
528
|
+
|
|
529
|
+
### Styles
|
|
530
|
+
|
|
531
|
+
- Change in ExportButton style [#6147](https://github.com/excalidraw/excalidraw/pull/6147) (#6148)
|
|
532
|
+
|
|
533
|
+
### Build
|
|
534
|
+
|
|
535
|
+
- Temporarily disable pre-commit [#6132](https://github.com/excalidraw/excalidraw/pull/6132)
|
|
536
|
+
|
|
537
|
+
---
|
|
538
|
+
|
|
14
539
|
## 0.14.1 (2023-01-16)
|
|
15
540
|
|
|
16
541
|
### Fixes
|