@tldraw/assets 4.5.2 → 4.6.0-canary.00a8c03b5687
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/imports.js +18 -18
- package/imports.vite.js +18 -18
- package/package.json +3 -3
- package/translations/main.json +2 -0
package/imports.js
CHANGED
|
@@ -5,24 +5,6 @@
|
|
|
5
5
|
/// <reference path="./modules.d.ts" />
|
|
6
6
|
import { formatAssetUrl } from './utils.js'
|
|
7
7
|
|
|
8
|
-
import embedIconsCodepenPng from './embed-icons/codepen.png'
|
|
9
|
-
import embedIconsCodesandboxPng from './embed-icons/codesandbox.png'
|
|
10
|
-
import embedIconsDesmosPng from './embed-icons/desmos.png'
|
|
11
|
-
import embedIconsExcalidrawPng from './embed-icons/excalidraw.png'
|
|
12
|
-
import embedIconsFeltPng from './embed-icons/felt.png'
|
|
13
|
-
import embedIconsFigmaPng from './embed-icons/figma.png'
|
|
14
|
-
import embedIconsGithubGistPng from './embed-icons/github_gist.png'
|
|
15
|
-
import embedIconsGoogleCalendarPng from './embed-icons/google_calendar.png'
|
|
16
|
-
import embedIconsGoogleMapsPng from './embed-icons/google_maps.png'
|
|
17
|
-
import embedIconsGoogleSlidesPng from './embed-icons/google_slides.png'
|
|
18
|
-
import embedIconsObservablePng from './embed-icons/observable.png'
|
|
19
|
-
import embedIconsReplitPng from './embed-icons/replit.png'
|
|
20
|
-
import embedIconsScratchPng from './embed-icons/scratch.png'
|
|
21
|
-
import embedIconsSpotifyPng from './embed-icons/spotify.png'
|
|
22
|
-
import embedIconsTldrawPng from './embed-icons/tldraw.png'
|
|
23
|
-
import embedIconsValTownPng from './embed-icons/val_town.png'
|
|
24
|
-
import embedIconsVimeoPng from './embed-icons/vimeo.png'
|
|
25
|
-
import embedIconsYoutubePng from './embed-icons/youtube.png'
|
|
26
8
|
import fontsIBMPlexMonoBoldWoff2 from './fonts/IBMPlexMono-Bold.woff2'
|
|
27
9
|
import fontsIBMPlexMonoBoldItalicWoff2 from './fonts/IBMPlexMono-BoldItalic.woff2'
|
|
28
10
|
import fontsIBMPlexMonoMediumWoff2 from './fonts/IBMPlexMono-Medium.woff2'
|
|
@@ -93,6 +75,24 @@ import translationsUrJson from './translations/ur.json'
|
|
|
93
75
|
import translationsViJson from './translations/vi.json'
|
|
94
76
|
import translationsZhCnJson from './translations/zh-cn.json'
|
|
95
77
|
import translationsZhTwJson from './translations/zh-tw.json'
|
|
78
|
+
import embedIconsCodepenPng from './embed-icons/codepen.png'
|
|
79
|
+
import embedIconsCodesandboxPng from './embed-icons/codesandbox.png'
|
|
80
|
+
import embedIconsDesmosPng from './embed-icons/desmos.png'
|
|
81
|
+
import embedIconsExcalidrawPng from './embed-icons/excalidraw.png'
|
|
82
|
+
import embedIconsFeltPng from './embed-icons/felt.png'
|
|
83
|
+
import embedIconsFigmaPng from './embed-icons/figma.png'
|
|
84
|
+
import embedIconsGithubGistPng from './embed-icons/github_gist.png'
|
|
85
|
+
import embedIconsGoogleCalendarPng from './embed-icons/google_calendar.png'
|
|
86
|
+
import embedIconsGoogleMapsPng from './embed-icons/google_maps.png'
|
|
87
|
+
import embedIconsGoogleSlidesPng from './embed-icons/google_slides.png'
|
|
88
|
+
import embedIconsObservablePng from './embed-icons/observable.png'
|
|
89
|
+
import embedIconsReplitPng from './embed-icons/replit.png'
|
|
90
|
+
import embedIconsScratchPng from './embed-icons/scratch.png'
|
|
91
|
+
import embedIconsSpotifyPng from './embed-icons/spotify.png'
|
|
92
|
+
import embedIconsTldrawPng from './embed-icons/tldraw.png'
|
|
93
|
+
import embedIconsValTownPng from './embed-icons/val_town.png'
|
|
94
|
+
import embedIconsVimeoPng from './embed-icons/vimeo.png'
|
|
95
|
+
import embedIconsYoutubePng from './embed-icons/youtube.png'
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* @param {AssetUrlOptions} [opts]
|
package/imports.vite.js
CHANGED
|
@@ -5,24 +5,6 @@
|
|
|
5
5
|
/// <reference path="./modules.d.ts" />
|
|
6
6
|
import { formatAssetUrl } from './utils.js'
|
|
7
7
|
|
|
8
|
-
import embedIconsCodepenPngUrl from './embed-icons/codepen.png?url'
|
|
9
|
-
import embedIconsCodesandboxPngUrl from './embed-icons/codesandbox.png?url'
|
|
10
|
-
import embedIconsDesmosPngUrl from './embed-icons/desmos.png?url'
|
|
11
|
-
import embedIconsExcalidrawPngUrl from './embed-icons/excalidraw.png?url'
|
|
12
|
-
import embedIconsFeltPngUrl from './embed-icons/felt.png?url'
|
|
13
|
-
import embedIconsFigmaPngUrl from './embed-icons/figma.png?url'
|
|
14
|
-
import embedIconsGithubGistPngUrl from './embed-icons/github_gist.png?url'
|
|
15
|
-
import embedIconsGoogleCalendarPngUrl from './embed-icons/google_calendar.png?url'
|
|
16
|
-
import embedIconsGoogleMapsPngUrl from './embed-icons/google_maps.png?url'
|
|
17
|
-
import embedIconsGoogleSlidesPngUrl from './embed-icons/google_slides.png?url'
|
|
18
|
-
import embedIconsObservablePngUrl from './embed-icons/observable.png?url'
|
|
19
|
-
import embedIconsReplitPngUrl from './embed-icons/replit.png?url'
|
|
20
|
-
import embedIconsScratchPngUrl from './embed-icons/scratch.png?url'
|
|
21
|
-
import embedIconsSpotifyPngUrl from './embed-icons/spotify.png?url'
|
|
22
|
-
import embedIconsTldrawPngUrl from './embed-icons/tldraw.png?url'
|
|
23
|
-
import embedIconsValTownPngUrl from './embed-icons/val_town.png?url'
|
|
24
|
-
import embedIconsVimeoPngUrl from './embed-icons/vimeo.png?url'
|
|
25
|
-
import embedIconsYoutubePngUrl from './embed-icons/youtube.png?url'
|
|
26
8
|
import fontsIBMPlexMonoBoldWoff2Url from './fonts/IBMPlexMono-Bold.woff2?url'
|
|
27
9
|
import fontsIBMPlexMonoBoldItalicWoff2Url from './fonts/IBMPlexMono-BoldItalic.woff2?url'
|
|
28
10
|
import fontsIBMPlexMonoMediumWoff2Url from './fonts/IBMPlexMono-Medium.woff2?url'
|
|
@@ -93,6 +75,24 @@ import translationsUrJsonUrl from './translations/ur.json?url'
|
|
|
93
75
|
import translationsViJsonUrl from './translations/vi.json?url'
|
|
94
76
|
import translationsZhCnJsonUrl from './translations/zh-cn.json?url'
|
|
95
77
|
import translationsZhTwJsonUrl from './translations/zh-tw.json?url'
|
|
78
|
+
import embedIconsCodepenPngUrl from './embed-icons/codepen.png?url'
|
|
79
|
+
import embedIconsCodesandboxPngUrl from './embed-icons/codesandbox.png?url'
|
|
80
|
+
import embedIconsDesmosPngUrl from './embed-icons/desmos.png?url'
|
|
81
|
+
import embedIconsExcalidrawPngUrl from './embed-icons/excalidraw.png?url'
|
|
82
|
+
import embedIconsFeltPngUrl from './embed-icons/felt.png?url'
|
|
83
|
+
import embedIconsFigmaPngUrl from './embed-icons/figma.png?url'
|
|
84
|
+
import embedIconsGithubGistPngUrl from './embed-icons/github_gist.png?url'
|
|
85
|
+
import embedIconsGoogleCalendarPngUrl from './embed-icons/google_calendar.png?url'
|
|
86
|
+
import embedIconsGoogleMapsPngUrl from './embed-icons/google_maps.png?url'
|
|
87
|
+
import embedIconsGoogleSlidesPngUrl from './embed-icons/google_slides.png?url'
|
|
88
|
+
import embedIconsObservablePngUrl from './embed-icons/observable.png?url'
|
|
89
|
+
import embedIconsReplitPngUrl from './embed-icons/replit.png?url'
|
|
90
|
+
import embedIconsScratchPngUrl from './embed-icons/scratch.png?url'
|
|
91
|
+
import embedIconsSpotifyPngUrl from './embed-icons/spotify.png?url'
|
|
92
|
+
import embedIconsTldrawPngUrl from './embed-icons/tldraw.png?url'
|
|
93
|
+
import embedIconsValTownPngUrl from './embed-icons/val_town.png?url'
|
|
94
|
+
import embedIconsVimeoPngUrl from './embed-icons/vimeo.png?url'
|
|
95
|
+
import embedIconsYoutubePngUrl from './embed-icons/youtube.png?url'
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* @param {AssetUrlOptions} [opts]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/assets",
|
|
3
3
|
"description": "tldraw infinite canvas SDK (assets).",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.6.0-canary.00a8c03b5687",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
],
|
|
45
45
|
"scripts": {
|
|
46
46
|
"pack-tarball": "yarn pack",
|
|
47
|
-
"lint": "yarn run -T
|
|
47
|
+
"lint": "cd ../.. && yarn run -T oxlint packages/assets",
|
|
48
48
|
"test-coverage": "yarn run -T vitest run --coverage --passWithNoTests"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@tldraw/utils": "4.
|
|
51
|
+
"@tldraw/utils": "4.6.0-canary.00a8c03b5687"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"lazyrepo": "0.0.0-alpha.27",
|
package/translations/main.json
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"action.back-to-content": "Back to content",
|
|
19
19
|
"action.bring-forward": "Bring forward",
|
|
20
20
|
"action.bring-to-front": "Bring to front",
|
|
21
|
+
"action.copy-as-json.short": "JSON",
|
|
22
|
+
"action.copy-as-json": "Copy as JSON",
|
|
21
23
|
"action.copy-as-png.short": "PNG",
|
|
22
24
|
"action.copy-as-png": "Copy as PNG",
|
|
23
25
|
"action.copy-as-svg.short": "SVG",
|