From 979e5d79794258deeb5899a7d4c4f622a5a8832d Mon Sep 17 00:00:00 2001 From: David Sheldrick Date: Fri, 17 May 2024 15:41:39 +0100 Subject: [PATCH] export DefaultNavigationPanel (#3772) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #3756 ### Change Type - [x] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Add a brief release note for your PR here. --- packages/tldraw/api-report.md | 3 +++ packages/tldraw/src/index.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/packages/tldraw/api-report.md b/packages/tldraw/api-report.md index d99559f35..a6d2cc155 100644 --- a/packages/tldraw/api-report.md +++ b/packages/tldraw/api-report.md @@ -381,6 +381,9 @@ export function DefaultMainMenuContent(): JSX_2.Element; // @public (undocumented) export function DefaultMinimap(): JSX_2.Element; +// @public (undocumented) +export const DefaultNavigationPanel: NamedExoticComponent; + // @public (undocumented) export const DefaultPageMenu: NamedExoticComponent; diff --git a/packages/tldraw/src/index.ts b/packages/tldraw/src/index.ts index 72524d59f..b0b50a468 100644 --- a/packages/tldraw/src/index.ts +++ b/packages/tldraw/src/index.ts @@ -156,6 +156,8 @@ export { DefaultPageMenu } from './lib/ui/components/PageMenu/DefaultPageMenu' export { PageItemInput } from './lib/ui/components/PageMenu/PageItemInput' export { PageItemSubmenu } from './lib/ui/components/PageMenu/PageItemSubmenu' +export { DefaultNavigationPanel } from './lib/ui/components/NavigationPanel/DefaultNavigationPanel' + export { DefaultStylePanel, type TLUiStylePanelProps,