2023-06-09 11:43:01 +00:00
|
|
|
// This file is automatically generated by scripts/refresh-assets.ts.
|
2024-02-26 18:30:55 +00:00
|
|
|
// Do not edit manually. Or do, I'm a comment, not a cop.
|
2023-06-09 11:43:01 +00:00
|
|
|
|
|
|
|
export type AssetUrl = string | { src: string }
|
|
|
|
export type AssetUrlOptions = { baseUrl?: string } | ((assetUrl: string) => string)
|
|
|
|
export type AssetUrls = {
|
|
|
|
fonts: {
|
|
|
|
monospace: string
|
|
|
|
sansSerif: string
|
|
|
|
serif: string
|
|
|
|
draw: string
|
|
|
|
}
|
|
|
|
icons: {
|
|
|
|
'align-bottom': string
|
|
|
|
'align-center-horizontal': string
|
|
|
|
'align-center-vertical': string
|
|
|
|
'align-left': string
|
|
|
|
'align-right': string
|
|
|
|
'align-top': string
|
|
|
|
'arrow-left': string
|
|
|
|
'arrowhead-arrow': string
|
|
|
|
'arrowhead-bar': string
|
|
|
|
'arrowhead-diamond': string
|
|
|
|
'arrowhead-dot': string
|
|
|
|
'arrowhead-none': string
|
|
|
|
'arrowhead-square': string
|
|
|
|
'arrowhead-triangle-inverted': string
|
|
|
|
'arrowhead-triangle': string
|
|
|
|
blob: string
|
|
|
|
'bring-forward': string
|
|
|
|
'bring-to-front': string
|
2024-04-29 10:58:15 +00:00
|
|
|
broken: string
|
2024-03-27 09:41:13 +00:00
|
|
|
'check-circle': string
|
2023-06-09 11:43:01 +00:00
|
|
|
check: string
|
|
|
|
'chevron-down': string
|
|
|
|
'chevron-left': string
|
|
|
|
'chevron-right': string
|
|
|
|
'chevron-up': string
|
|
|
|
'chevrons-ne': string
|
|
|
|
'chevrons-sw': string
|
|
|
|
'clipboard-copied': string
|
|
|
|
'clipboard-copy': string
|
|
|
|
color: string
|
|
|
|
'cross-2': string
|
2024-03-27 09:41:13 +00:00
|
|
|
'cross-circle': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'dash-dashed': string
|
|
|
|
'dash-dotted': string
|
|
|
|
'dash-draw': string
|
|
|
|
'dash-solid': string
|
2024-04-29 10:58:15 +00:00
|
|
|
disconnected: string
|
2023-06-09 11:43:01 +00:00
|
|
|
discord: string
|
|
|
|
'distribute-horizontal': string
|
|
|
|
'distribute-vertical': string
|
|
|
|
dot: string
|
|
|
|
'dots-horizontal': string
|
|
|
|
'dots-vertical': string
|
|
|
|
'drag-handle-dots': string
|
|
|
|
duplicate: string
|
|
|
|
edit: string
|
|
|
|
'external-link': string
|
|
|
|
'fill-none': string
|
|
|
|
'fill-pattern': string
|
|
|
|
'fill-semi': string
|
|
|
|
'fill-solid': string
|
|
|
|
follow: string
|
|
|
|
following: string
|
|
|
|
'font-draw': string
|
|
|
|
'font-mono': string
|
|
|
|
'font-sans': string
|
|
|
|
'font-serif': string
|
|
|
|
'geo-arrow-down': string
|
|
|
|
'geo-arrow-left': string
|
|
|
|
'geo-arrow-right': string
|
|
|
|
'geo-arrow-up': string
|
|
|
|
'geo-check-box': string
|
2023-07-07 15:32:08 +00:00
|
|
|
'geo-cloud': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'geo-diamond': string
|
|
|
|
'geo-ellipse': string
|
2024-05-24 13:04:28 +00:00
|
|
|
'geo-heart': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'geo-hexagon': string
|
|
|
|
'geo-octagon': string
|
|
|
|
'geo-oval': string
|
|
|
|
'geo-pentagon': string
|
|
|
|
'geo-rectangle': string
|
|
|
|
'geo-rhombus-2': string
|
|
|
|
'geo-rhombus': string
|
|
|
|
'geo-star': string
|
|
|
|
'geo-trapezoid': string
|
|
|
|
'geo-triangle': string
|
|
|
|
'geo-x-box': string
|
|
|
|
github: string
|
|
|
|
group: string
|
2024-04-29 10:58:15 +00:00
|
|
|
'horizontal-align-end': string
|
|
|
|
'horizontal-align-middle': string
|
|
|
|
'horizontal-align-start': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'info-circle': string
|
|
|
|
leading: string
|
|
|
|
link: string
|
2024-04-30 10:39:53 +00:00
|
|
|
lock: string
|
2023-06-09 11:43:01 +00:00
|
|
|
menu: string
|
|
|
|
minus: string
|
|
|
|
mixed: string
|
|
|
|
pack: string
|
|
|
|
plus: string
|
|
|
|
'question-mark-circle': string
|
|
|
|
'question-mark': string
|
|
|
|
redo: string
|
|
|
|
'reset-zoom': string
|
|
|
|
'rotate-ccw': string
|
|
|
|
'rotate-cw': string
|
|
|
|
'send-backward': string
|
|
|
|
'send-to-back': string
|
2024-04-30 10:39:53 +00:00
|
|
|
'share-1': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'size-extra-large': string
|
|
|
|
'size-large': string
|
|
|
|
'size-medium': string
|
|
|
|
'size-small': string
|
2024-05-20 09:28:14 +00:00
|
|
|
'spline-cubic': string
|
|
|
|
'spline-line': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'stack-horizontal': string
|
|
|
|
'stack-vertical': string
|
|
|
|
'stretch-horizontal': string
|
|
|
|
'stretch-vertical': string
|
|
|
|
'text-align-center': string
|
|
|
|
'text-align-left': string
|
|
|
|
'text-align-right': string
|
2024-04-29 10:58:15 +00:00
|
|
|
'toggle-off': string
|
|
|
|
'toggle-on': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'tool-arrow': string
|
|
|
|
'tool-eraser': string
|
|
|
|
'tool-frame': string
|
|
|
|
'tool-hand': string
|
|
|
|
'tool-highlight': string
|
|
|
|
'tool-laser': string
|
|
|
|
'tool-line': string
|
|
|
|
'tool-media': string
|
|
|
|
'tool-note': string
|
|
|
|
'tool-pencil': string
|
|
|
|
'tool-pointer': string
|
2024-04-29 10:58:15 +00:00
|
|
|
'tool-screenshot': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'tool-text': string
|
|
|
|
trash: string
|
|
|
|
twitter: string
|
|
|
|
undo: string
|
|
|
|
ungroup: string
|
2024-04-30 10:39:53 +00:00
|
|
|
unlock: string
|
2023-06-09 11:43:01 +00:00
|
|
|
'vertical-align-end': string
|
2024-04-29 10:58:15 +00:00
|
|
|
'vertical-align-middle': string
|
2023-06-09 11:43:01 +00:00
|
|
|
'vertical-align-start': string
|
|
|
|
'warning-triangle': string
|
|
|
|
'zoom-in': string
|
|
|
|
'zoom-out': string
|
|
|
|
}
|
|
|
|
translations: {
|
|
|
|
ar: string
|
|
|
|
ca: string
|
2023-12-19 10:33:17 +00:00
|
|
|
cs: string
|
2023-06-09 11:43:01 +00:00
|
|
|
da: string
|
|
|
|
de: string
|
|
|
|
en: string
|
|
|
|
es: string
|
|
|
|
fa: string
|
|
|
|
fi: string
|
|
|
|
fr: string
|
|
|
|
gl: string
|
|
|
|
he: string
|
|
|
|
'hi-in': string
|
2024-02-07 16:27:27 +00:00
|
|
|
hr: string
|
2023-06-09 11:43:01 +00:00
|
|
|
hu: string
|
2024-04-30 10:23:23 +00:00
|
|
|
id: string
|
2023-06-09 11:43:01 +00:00
|
|
|
it: string
|
|
|
|
ja: string
|
|
|
|
'ko-kr': string
|
|
|
|
ku: string
|
|
|
|
languages: string
|
|
|
|
main: string
|
|
|
|
my: string
|
|
|
|
ne: string
|
|
|
|
no: string
|
|
|
|
pl: string
|
|
|
|
'pt-br': string
|
|
|
|
'pt-pt': string
|
|
|
|
ro: string
|
|
|
|
ru: string
|
2024-02-14 08:59:41 +00:00
|
|
|
sl: string
|
2023-06-09 11:43:01 +00:00
|
|
|
sv: string
|
|
|
|
te: string
|
|
|
|
th: string
|
|
|
|
tr: string
|
|
|
|
uk: string
|
|
|
|
vi: string
|
|
|
|
'zh-cn': string
|
|
|
|
'zh-tw': string
|
|
|
|
}
|
|
|
|
embedIcons: {
|
|
|
|
codepen: string
|
|
|
|
codesandbox: string
|
Add desmos graph embed type (#3608)
I added a new embed type, for desmos graphing calculator
(https://www.desmos.com/calculator) that uses their supported embed URL.
I added an icon, the new embed shape, and created tests for it.
https://github.com/tldraw/tldraw/assets/111339712/acc1a6b0-2551-4f25-8f85-20e6f829930e
### Change Type
<!-- ❗ Please select a 'Scope' label ❗️ -->
- [ ] `sdk` — Changes the tldraw SDK
- [x] `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
<!-- ❗ Please select a 'Type' label ❗️ -->
- [ ] `bugfix` — Bug fix
- [x] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [x] `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 links for desmos graphing calculator (e.g.
https://www.desmos.com/calculator/4wa2im6u31) by either pasting or using
the insert embed menu.
### Release Notes
- (feature) add desmos embed
---------
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-04-27 12:30:58 +00:00
|
|
|
desmos: string
|
2023-06-09 11:43:01 +00:00
|
|
|
excalidraw: string
|
|
|
|
felt: string
|
|
|
|
figma: string
|
|
|
|
github_gist: string
|
|
|
|
google_calendar: string
|
|
|
|
google_maps: string
|
|
|
|
google_slides: string
|
|
|
|
observable: string
|
|
|
|
replit: string
|
|
|
|
scratch: string
|
|
|
|
spotify: string
|
|
|
|
tldraw: string
|
2023-07-31 15:44:33 +00:00
|
|
|
val_town: string
|
2023-06-09 11:43:01 +00:00
|
|
|
vimeo: string
|
|
|
|
youtube: string
|
|
|
|
}
|
|
|
|
}
|