Revert "Update dependencies (#1613)" (#1617)

This reverts commit b6716a3750.

Not sure why, but this introduced a `/// <references />` comment in the
tldraw/tldraw api-report.md file that doesn't show up when you build
from brivate. Reverting for now.

### Change Type

- [x] `dependencies` — Changes to package dependencies[^1]


### Test Plan

-

### Release Notes

-
This commit is contained in:
alex 2023-06-19 10:49:44 +01:00 committed by GitHub
parent 4b8491d388
commit 38d74a9ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 731 additions and 341 deletions

View file

@ -3,228 +3,230 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// @public (undocumented)
export function getBundlerAssetUrls(opts?: AssetUrlOptions): {
readonly fonts: {
readonly monospace: string
readonly sansSerif: string
readonly serif: string
readonly draw: string
}
readonly icons: {
readonly 'align-bottom-center': string
readonly 'align-bottom-left': string
readonly 'align-bottom-right': string
readonly 'align-bottom': string
readonly 'align-center-center': string
readonly 'align-center-horizontal': string
readonly 'align-center-left': string
readonly 'align-center-right': string
readonly 'align-center-vertical': string
readonly 'align-left': string
readonly 'align-right': string
readonly 'align-top-center': string
readonly 'align-top-left': string
readonly 'align-top-right': string
readonly 'align-top': string
readonly 'arrow-left': string
readonly 'arrowhead-arrow': string
readonly 'arrowhead-bar': string
readonly 'arrowhead-diamond': string
readonly 'arrowhead-dot': string
readonly 'arrowhead-none': string
readonly 'arrowhead-square': string
readonly 'arrowhead-triangle-inverted': string
readonly 'arrowhead-triangle': string
readonly 'aspect-ratio': string
readonly avatar: string
readonly blob: string
readonly 'bring-forward': string
readonly 'bring-to-front': string
readonly check: string
readonly 'checkbox-checked': string
readonly 'checkbox-empty': string
readonly 'chevron-down': string
readonly 'chevron-left': string
readonly 'chevron-right': string
readonly 'chevron-up': string
readonly 'chevrons-ne': string
readonly 'chevrons-sw': string
readonly 'clipboard-copy': string
readonly code: string
readonly collab: string
readonly color: string
readonly comment: string
readonly 'cross-2': string
readonly cross: string
readonly 'dash-dashed': string
readonly 'dash-dotted': string
readonly 'dash-draw': string
readonly 'dash-solid': string
readonly discord: string
readonly 'distribute-horizontal': string
readonly 'distribute-vertical': string
readonly dot: string
readonly 'dots-horizontal': string
readonly 'dots-vertical': string
readonly 'drag-handle-dots': string
readonly duplicate: string
readonly edit: string
readonly 'external-link': string
readonly file: string
readonly 'fill-none': string
readonly 'fill-pattern': string
readonly 'fill-semi': string
readonly 'fill-solid': string
readonly follow: string
readonly following: string
readonly 'font-draw': string
readonly 'font-mono': string
readonly 'font-sans': string
readonly 'font-serif': string
readonly 'geo-arrow-down': string
readonly 'geo-arrow-left': string
readonly 'geo-arrow-right': string
readonly 'geo-arrow-up': string
readonly 'geo-check-box': string
readonly 'geo-diamond': string
readonly 'geo-ellipse': string
readonly 'geo-hexagon': string
readonly 'geo-octagon': string
readonly 'geo-oval': string
readonly 'geo-pentagon': string
readonly 'geo-rectangle': string
readonly 'geo-rhombus-2': string
readonly 'geo-rhombus': string
readonly 'geo-star': string
readonly 'geo-trapezoid': string
readonly 'geo-triangle': string
readonly 'geo-x-box': string
readonly github: string
readonly group: string
readonly hidden: string
readonly image: string
readonly 'info-circle': string
readonly leading: string
readonly link: string
readonly 'lock-small': string
readonly lock: string
readonly menu: string
readonly minus: string
readonly mixed: string
readonly pack: string
readonly page: string
readonly plus: string
readonly 'question-mark-circle': string
readonly 'question-mark': string
readonly redo: string
readonly 'reset-zoom': string
readonly 'rotate-ccw': string
readonly 'rotate-cw': string
readonly ruler: string
readonly search: string
readonly 'send-backward': string
readonly 'send-to-back': string
readonly 'settings-horizontal': string
readonly 'settings-vertical-1': string
readonly 'settings-vertical': string
readonly 'share-1': string
readonly 'share-2': string
readonly 'size-extra-large': string
readonly 'size-large': string
readonly 'size-medium': string
readonly 'size-small': string
readonly 'spline-cubic': string
readonly 'spline-line': string
readonly 'stack-horizontal': string
readonly 'stack-vertical': string
readonly 'stretch-horizontal': string
readonly 'stretch-vertical': string
readonly 'text-align-center': string
readonly 'text-align-justify': string
readonly 'text-align-left': string
readonly 'text-align-right': string
readonly 'tool-arrow': string
readonly 'tool-embed': string
readonly 'tool-eraser': string
readonly 'tool-frame': string
readonly 'tool-hand': string
readonly 'tool-highlighter': string
readonly 'tool-line': string
readonly 'tool-media': string
readonly 'tool-note': string
readonly 'tool-pencil': string
readonly 'tool-pointer': string
readonly 'tool-text': string
readonly trash: string
readonly 'triangle-down': string
readonly 'triangle-up': string
readonly twitter: string
readonly undo: string
readonly ungroup: string
readonly 'unlock-small': string
readonly unlock: string
readonly visible: string
readonly 'warning-triangle': string
readonly 'zoom-in': string
readonly 'zoom-out': string
}
readonly translations: {
readonly ar: string
readonly ca: string
readonly da: string
readonly de: string
readonly en: string
readonly es: string
readonly fa: string
readonly fi: string
readonly fr: string
readonly gl: string
readonly he: string
readonly 'hi-in': string
readonly hu: string
readonly it: string
readonly ja: string
readonly 'ko-kr': string
readonly ku: string
readonly languages: string
readonly main: string
readonly my: string
readonly ne: string
readonly no: string
readonly pl: string
readonly 'pt-br': string
readonly 'pt-pt': string
readonly ro: string
readonly ru: string
readonly sv: string
readonly te: string
readonly th: string
readonly tr: string
readonly uk: string
readonly vi: string
readonly 'zh-cn': string
readonly 'zh-tw': string
}
readonly embedIcons: {
readonly codepen: string
readonly codesandbox: string
readonly excalidraw: string
readonly felt: string
readonly figma: string
readonly github_gist: string
readonly google_calendar: string
readonly google_maps: string
readonly google_slides: string
readonly observable: string
readonly replit: string
readonly scratch: string
readonly spotify: string
readonly tldraw: string
readonly vimeo: string
readonly youtube: string
}
}
readonly fonts: {
readonly monospace: string;
readonly sansSerif: string;
readonly serif: string;
readonly draw: string;
};
readonly icons: {
readonly 'align-bottom-center': string;
readonly 'align-bottom-left': string;
readonly 'align-bottom-right': string;
readonly 'align-bottom': string;
readonly 'align-center-center': string;
readonly 'align-center-horizontal': string;
readonly 'align-center-left': string;
readonly 'align-center-right': string;
readonly 'align-center-vertical': string;
readonly 'align-left': string;
readonly 'align-right': string;
readonly 'align-top-center': string;
readonly 'align-top-left': string;
readonly 'align-top-right': string;
readonly 'align-top': string;
readonly 'arrow-left': string;
readonly 'arrowhead-arrow': string;
readonly 'arrowhead-bar': string;
readonly 'arrowhead-diamond': string;
readonly 'arrowhead-dot': string;
readonly 'arrowhead-none': string;
readonly 'arrowhead-square': string;
readonly 'arrowhead-triangle-inverted': string;
readonly 'arrowhead-triangle': string;
readonly 'aspect-ratio': string;
readonly avatar: string;
readonly blob: string;
readonly 'bring-forward': string;
readonly 'bring-to-front': string;
readonly check: string;
readonly 'checkbox-checked': string;
readonly 'checkbox-empty': string;
readonly 'chevron-down': string;
readonly 'chevron-left': string;
readonly 'chevron-right': string;
readonly 'chevron-up': string;
readonly 'chevrons-ne': string;
readonly 'chevrons-sw': string;
readonly 'clipboard-copy': string;
readonly code: string;
readonly collab: string;
readonly color: string;
readonly comment: string;
readonly 'cross-2': string;
readonly cross: string;
readonly 'dash-dashed': string;
readonly 'dash-dotted': string;
readonly 'dash-draw': string;
readonly 'dash-solid': string;
readonly discord: string;
readonly 'distribute-horizontal': string;
readonly 'distribute-vertical': string;
readonly dot: string;
readonly 'dots-horizontal': string;
readonly 'dots-vertical': string;
readonly 'drag-handle-dots': string;
readonly duplicate: string;
readonly edit: string;
readonly 'external-link': string;
readonly file: string;
readonly 'fill-none': string;
readonly 'fill-pattern': string;
readonly 'fill-semi': string;
readonly 'fill-solid': string;
readonly follow: string;
readonly following: string;
readonly 'font-draw': string;
readonly 'font-mono': string;
readonly 'font-sans': string;
readonly 'font-serif': string;
readonly 'geo-arrow-down': string;
readonly 'geo-arrow-left': string;
readonly 'geo-arrow-right': string;
readonly 'geo-arrow-up': string;
readonly 'geo-check-box': string;
readonly 'geo-diamond': string;
readonly 'geo-ellipse': string;
readonly 'geo-hexagon': string;
readonly 'geo-octagon': string;
readonly 'geo-oval': string;
readonly 'geo-pentagon': string;
readonly 'geo-rectangle': string;
readonly 'geo-rhombus-2': string;
readonly 'geo-rhombus': string;
readonly 'geo-star': string;
readonly 'geo-trapezoid': string;
readonly 'geo-triangle': string;
readonly 'geo-x-box': string;
readonly github: string;
readonly group: string;
readonly hidden: string;
readonly image: string;
readonly 'info-circle': string;
readonly leading: string;
readonly link: string;
readonly 'lock-small': string;
readonly lock: string;
readonly menu: string;
readonly minus: string;
readonly mixed: string;
readonly pack: string;
readonly page: string;
readonly plus: string;
readonly 'question-mark-circle': string;
readonly 'question-mark': string;
readonly redo: string;
readonly 'reset-zoom': string;
readonly 'rotate-ccw': string;
readonly 'rotate-cw': string;
readonly ruler: string;
readonly search: string;
readonly 'send-backward': string;
readonly 'send-to-back': string;
readonly 'settings-horizontal': string;
readonly 'settings-vertical-1': string;
readonly 'settings-vertical': string;
readonly 'share-1': string;
readonly 'share-2': string;
readonly 'size-extra-large': string;
readonly 'size-large': string;
readonly 'size-medium': string;
readonly 'size-small': string;
readonly 'spline-cubic': string;
readonly 'spline-line': string;
readonly 'stack-horizontal': string;
readonly 'stack-vertical': string;
readonly 'stretch-horizontal': string;
readonly 'stretch-vertical': string;
readonly 'text-align-center': string;
readonly 'text-align-justify': string;
readonly 'text-align-left': string;
readonly 'text-align-right': string;
readonly 'tool-arrow': string;
readonly 'tool-embed': string;
readonly 'tool-eraser': string;
readonly 'tool-frame': string;
readonly 'tool-hand': string;
readonly 'tool-highlighter': string;
readonly 'tool-line': string;
readonly 'tool-media': string;
readonly 'tool-note': string;
readonly 'tool-pencil': string;
readonly 'tool-pointer': string;
readonly 'tool-text': string;
readonly trash: string;
readonly 'triangle-down': string;
readonly 'triangle-up': string;
readonly twitter: string;
readonly undo: string;
readonly ungroup: string;
readonly 'unlock-small': string;
readonly unlock: string;
readonly visible: string;
readonly 'warning-triangle': string;
readonly 'zoom-in': string;
readonly 'zoom-out': string;
};
readonly translations: {
readonly ar: string;
readonly ca: string;
readonly da: string;
readonly de: string;
readonly en: string;
readonly es: string;
readonly fa: string;
readonly fi: string;
readonly fr: string;
readonly gl: string;
readonly he: string;
readonly 'hi-in': string;
readonly hu: string;
readonly it: string;
readonly ja: string;
readonly 'ko-kr': string;
readonly ku: string;
readonly languages: string;
readonly main: string;
readonly my: string;
readonly ne: string;
readonly no: string;
readonly pl: string;
readonly 'pt-br': string;
readonly 'pt-pt': string;
readonly ro: string;
readonly ru: string;
readonly sv: string;
readonly te: string;
readonly th: string;
readonly tr: string;
readonly uk: string;
readonly vi: string;
readonly 'zh-cn': string;
readonly 'zh-tw': string;
};
readonly embedIcons: {
readonly codepen: string;
readonly codesandbox: string;
readonly excalidraw: string;
readonly felt: string;
readonly figma: string;
readonly github_gist: string;
readonly google_calendar: string;
readonly google_maps: string;
readonly google_slides: string;
readonly observable: string;
readonly replit: string;
readonly scratch: string;
readonly spotify: string;
readonly tldraw: string;
readonly vimeo: string;
readonly youtube: string;
};
};
// (No @packageDocumentation comment for this package)
```

View file

@ -65,8 +65,8 @@
"nanoid": "4.0.2"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18",
"react-dom": "^18",
"signia": "*",
"signia-react": "*"
},

View file

@ -3,5 +3,7 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// (No @packageDocumentation comment for this package)
```

View file

@ -4,8 +4,6 @@
```ts
/// <reference types="react" />
import { TldrawEditorProps } from '@tldraw/editor';
import { TldrawUiProps } from '@tldraw/ui';

View file

@ -49,16 +49,16 @@
"@tldraw/ui": "workspace:*"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@peculiar/webcrypto": "^1.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^14.0.0",
"chokidar-cli": "^3.0.0",
"jest-canvas-mock": "^2.5.1",
"jest-environment-jsdom": "^29.4.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^28.1.2",
"lazyrepo": "0.0.0-alpha.27",
"resize-observer-polyfill": "^1.5.1"
},

View file

@ -211,7 +211,13 @@ function Title({ className, children }: {
}): JSX.Element;
// @public (undocumented)
export const TldrawUi: React_2.NamedExoticComponent<TldrawUiProps>;
export const TldrawUi: React_2.NamedExoticComponent<{
children?: ReactNode;
hideUi?: boolean | undefined;
shareZone?: ReactNode;
topZone?: ReactNode;
renderDebugMenuItems?: (() => React_2.ReactNode) | undefined;
} & TldrawUiContextProviderProps>;
// @public (undocumented)
export function TldrawUiContextProvider({ overrides, assetUrls, onUiEvent, children, }: TldrawUiContextProviderProps): JSX.Element;

View file

@ -63,18 +63,18 @@
"lz-string": "^1.4.4"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18",
"react-dom": "^18",
"signia": "*",
"signia-react": "*"
},
"devDependencies": {
"@peculiar/webcrypto": "^1.4.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/lz-string": "^1.3.34",
"jest-canvas-mock": "^2.5.1",
"jest-environment-jsdom": "^29.4.3",
"jest-canvas-mock": "^2.4.0",
"jest-environment-jsdom": "^28.1.2",
"lazyrepo": "0.0.0-alpha.27",
"resize-observer-polyfill": "^1.5.1"
},