tldraw 4.1.0-canary.4095f8cc2614 → 4.1.0-canary.8e597b345c40
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/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.js +1 -1
- package/dist-cjs/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.js.map +1 -1
- package/dist-cjs/lib/ui/components/MainMenu/DefaultMainMenuContent.js +3 -5
- package/dist-cjs/lib/ui/components/MainMenu/DefaultMainMenuContent.js.map +2 -2
- package/dist-cjs/lib/ui/context/actions.js +0 -20
- package/dist-cjs/lib/ui/context/actions.js.map +2 -2
- package/dist-cjs/lib/ui/version.js +3 -3
- package/dist-cjs/lib/ui/version.js.map +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.mjs +1 -1
- package/dist-esm/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.mjs.map +1 -1
- package/dist-esm/lib/ui/components/MainMenu/DefaultMainMenuContent.mjs +3 -5
- package/dist-esm/lib/ui/components/MainMenu/DefaultMainMenuContent.mjs.map +2 -2
- package/dist-esm/lib/ui/context/actions.mjs +0 -20
- package/dist-esm/lib/ui/context/actions.mjs.map +2 -2
- package/dist-esm/lib/ui/version.mjs +3 -3
- package/dist-esm/lib/ui/version.mjs.map +1 -1
- package/package.json +3 -3
- package/src/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.tsx +1 -1
- package/src/lib/ui/components/MainMenu/DefaultMainMenuContent.tsx +5 -1
- package/src/lib/ui/context/actions.tsx +0 -22
- package/src/lib/ui/version.ts +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tldraw",
|
|
3
3
|
"description": "A tiny little drawing editor.",
|
|
4
|
-
"version": "4.1.0-canary.
|
|
4
|
+
"version": "4.1.0-canary.8e597b345c40",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@tiptap/pm": "^2.9.1",
|
|
56
56
|
"@tiptap/react": "^2.9.1",
|
|
57
57
|
"@tiptap/starter-kit": "^2.9.1",
|
|
58
|
-
"@tldraw/editor": "4.1.0-canary.
|
|
59
|
-
"@tldraw/store": "4.1.0-canary.
|
|
58
|
+
"@tldraw/editor": "4.1.0-canary.8e597b345c40",
|
|
59
|
+
"@tldraw/store": "4.1.0-canary.8e597b345c40",
|
|
60
60
|
"classnames": "^2.5.1",
|
|
61
61
|
"hotkeys-js": "^3.13.9",
|
|
62
62
|
"idb": "^7.1.1",
|
package/src/lib/ui/components/KeyboardShortcutsDialog/DefaultKeyboardShortcutsDialogContent.tsx
CHANGED
|
@@ -165,7 +165,7 @@ export function DefaultKeyboardShortcutsDialogContent() {
|
|
|
165
165
|
<TldrawUiMenuItem
|
|
166
166
|
id="a11y-select-next-shape-container"
|
|
167
167
|
label="a11y.enter-leave-container"
|
|
168
|
-
kbd="cmd+shift+[[
|
|
168
|
+
kbd="cmd+shift+[[↑→]]"
|
|
169
169
|
onSelect={() => {
|
|
170
170
|
/* do nothing */
|
|
171
171
|
}}
|
|
@@ -165,9 +165,13 @@ export function PreferencesGroup() {
|
|
|
165
165
|
<TogglePasteAtCursorItem />
|
|
166
166
|
<ToggleDebugModeItem />
|
|
167
167
|
</TldrawUiMenuGroup>
|
|
168
|
-
<TldrawUiMenuGroup id="
|
|
168
|
+
<TldrawUiMenuGroup id="input-mode">
|
|
169
169
|
<InputModeMenu />
|
|
170
|
+
</TldrawUiMenuGroup>
|
|
171
|
+
<TldrawUiMenuGroup id="color-scheme">
|
|
170
172
|
<ColorSchemeMenu />
|
|
173
|
+
</TldrawUiMenuGroup>
|
|
174
|
+
<TldrawUiMenuGroup id="accessibility-menu">
|
|
171
175
|
<AccessibilityMenu />
|
|
172
176
|
</TldrawUiMenuGroup>
|
|
173
177
|
</TldrawUiMenuSubmenu>
|
|
@@ -1344,28 +1344,6 @@ export function ActionsProvider({ overrides, children }: ActionsProviderProps) {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
},
|
|
1346
1346
|
},
|
|
1347
|
-
{
|
|
1348
|
-
id: 'toggle-focus-mode',
|
|
1349
|
-
label: {
|
|
1350
|
-
default: 'action.toggle-focus-mode',
|
|
1351
|
-
menu: 'action.toggle-focus-mode.menu',
|
|
1352
|
-
},
|
|
1353
|
-
readonlyOk: true,
|
|
1354
|
-
kbd: 'cmd+.,ctrl+.',
|
|
1355
|
-
checkbox: true,
|
|
1356
|
-
onSelect(source) {
|
|
1357
|
-
// this needs to be deferred because it causes the menu
|
|
1358
|
-
// UI to unmount which puts us in a dodgy state
|
|
1359
|
-
editor.timers.requestAnimationFrame(() => {
|
|
1360
|
-
editor.run(() => {
|
|
1361
|
-
trackEvent('toggle-focus-mode', { source })
|
|
1362
|
-
helpers.clearDialogs()
|
|
1363
|
-
helpers.clearToasts()
|
|
1364
|
-
editor.updateInstanceState({ isFocusMode: !editor.getInstanceState().isFocusMode })
|
|
1365
|
-
})
|
|
1366
|
-
})
|
|
1367
|
-
},
|
|
1368
|
-
},
|
|
1369
1347
|
{
|
|
1370
1348
|
id: 'toggle-grid',
|
|
1371
1349
|
label: {
|
package/src/lib/ui/version.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file is automatically generated by internal/scripts/refresh-assets.ts.
|
|
2
2
|
// Do not edit manually. Or do, I'm a comment, not a cop.
|
|
3
3
|
|
|
4
|
-
export const version = '4.1.0-canary.
|
|
4
|
+
export const version = '4.1.0-canary.8e597b345c40'
|
|
5
5
|
export const publishDates = {
|
|
6
6
|
major: '2025-09-18T14:39:22.803Z',
|
|
7
|
-
minor: '2025-09-
|
|
8
|
-
patch: '2025-09-
|
|
7
|
+
minor: '2025-09-18T14:54:05.125Z',
|
|
8
|
+
patch: '2025-09-18T14:54:05.125Z',
|
|
9
9
|
}
|