@dwelle/excalidraw 0.3.68-sidebar → 0.3.70

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 CHANGED
@@ -17,7 +17,7 @@ Please add the latest change on the top under the correct section.
17
17
 
18
18
  #### Features
19
19
 
20
- - Add `[UIOptions.dockedSidebarBreakpoint]`(https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#dockedSidebarBreakpoint), this prop indicates whether the device can fit the sidebar [#5274](https://github.com/excalidraw/excalidraw/pull/5274).
20
+ - Add `[UIOptions.dockedSidebarBreakpoint]`(https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#dockedSidebarBreakpoint) to customize at which point to break from the docked sidebar [#5274](https://github.com/excalidraw/excalidraw/pull/5274).
21
21
 
22
22
  - Added support for supplying user `id` in the Collaborator object (see `collaborators` in [`updateScene()`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene)), which will be used to deduplicate users when rendering collaborator avatar list. Cursors will still be rendered for every user. [#5309](https://github.com/excalidraw/excalidraw/pull/5309)
23
23
 
package/README_NEXT.md CHANGED
@@ -659,7 +659,7 @@ This prop can be used to customise UI of Excalidraw. Currently we support custom
659
659
 
660
660
  ##### `dockedSidebarBreakpoint`
661
661
 
662
- This prop indicates whether the device can fit the sidebar. If not passed it defaults to [`MQ_RIGHT_SIDEBAR_MAX_WIDTH_PORTRAIT`](https://github.com/excalidraw/excalidraw/blob/master/src/constants.ts#L167). If the `width` of `excalidraw` container exceeds `dockedSidebarBreakpoint`, the sidebar will have the toggle button to dock the sidebar else it won't. Once the sidebar is docked it will push the right part of the UI towards left making space for the sidebar as shown below. This is only applicable for non mobile devices.
662
+ This prop indicates at what point should we break to a docked, permanent sidebar. If not passed it defaults to [`MQ_RIGHT_SIDEBAR_MAX_WIDTH_PORTRAIT`](https://github.com/excalidraw/excalidraw/blob/master/src/constants.ts#L167). If the `width` of the `excalidraw` container exceeds `dockedSidebarBreakpoint`, the sidebar will be dockable. If user choses to dock the sidebar, it will push the right part of the UI towards the left, making space for the sidebar as shown below.
663
663
 
664
664
  ![image](https://user-images.githubusercontent.com/11256141/174664866-c698c3fa-197b-43ff-956c-d79852c7b326.png)
665
665