@tldraw/editor 3.8.0-canary.d21c2931e848 → 3.8.0-canary.d24380aab845
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.d.ts +2 -2
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/editor/Editor.js +2 -2
- package/dist-cjs/lib/editor/Editor.js.map +1 -1
- package/dist-cjs/lib/hooks/usePassThroughWheelEvents.js +4 -0
- package/dist-cjs/lib/hooks/usePassThroughWheelEvents.js.map +3 -3
- package/dist-cjs/version.js +3 -3
- package/dist-cjs/version.js.map +1 -1
- package/dist-esm/index.d.mts +2 -2
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs +2 -2
- package/dist-esm/lib/editor/Editor.mjs.map +1 -1
- package/dist-esm/lib/hooks/usePassThroughWheelEvents.mjs +4 -0
- package/dist-esm/lib/hooks/usePassThroughWheelEvents.mjs.map +3 -3
- package/dist-esm/version.mjs +3 -3
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +2 -2
- package/src/lib/hooks/usePassThroughWheelEvents.ts +7 -0
- package/src/version.ts +3 -3
package/dist-cjs/index.d.ts
CHANGED
|
@@ -1380,8 +1380,8 @@ export declare class Editor extends EventEmitter<TLEventMap> {
|
|
|
1380
1380
|
*
|
|
1381
1381
|
* @example
|
|
1382
1382
|
* ```ts
|
|
1383
|
-
*
|
|
1384
|
-
*
|
|
1383
|
+
* editor.getStateDescendant('select')
|
|
1384
|
+
* editor.getStateDescendant('select.brushing')
|
|
1385
1385
|
* ```
|
|
1386
1386
|
*
|
|
1387
1387
|
* @param path - The descendant's path of state ids, separated by periods.
|
package/dist-cjs/index.js
CHANGED
|
@@ -1164,8 +1164,8 @@ class Editor extends (_a = import_eventemitter3.default, _getIsShapeHiddenCache_
|
|
|
1164
1164
|
*
|
|
1165
1165
|
* @example
|
|
1166
1166
|
* ```ts
|
|
1167
|
-
*
|
|
1168
|
-
*
|
|
1167
|
+
* editor.getStateDescendant('select')
|
|
1168
|
+
* editor.getStateDescendant('select.brushing')
|
|
1169
1169
|
* ```
|
|
1170
1170
|
*
|
|
1171
1171
|
* @param path - The descendant's path of state ids, separated by periods.
|