@tldraw/tldraw 5.1.0-next.42269576fc7e → 5.1.0-next.4df61e2a8b0a

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 CHANGED
@@ -19,7 +19,7 @@ var import_tldraw = require("tldraw");
19
19
  __reExport(index_exports, require("tldraw"), module.exports);
20
20
  (0, import_tldraw.registerTldrawLibraryVersion)(
21
21
  "@tldraw/tldraw",
22
- "5.1.0-next.42269576fc7e",
22
+ "5.1.0-next.4df61e2a8b0a",
23
23
  "cjs"
24
24
  );
25
25
  //# sourceMappingURL=index.js.map
@@ -2,7 +2,7 @@ import { registerTldrawLibraryVersion } from "tldraw";
2
2
  export * from "tldraw";
3
3
  registerTldrawLibraryVersion(
4
4
  "@tldraw/tldraw",
5
- "5.1.0-next.42269576fc7e",
5
+ "5.1.0-next.4df61e2a8b0a",
6
6
  "esm"
7
7
  );
8
8
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/tldraw",
3
3
  "description": "A tiny little drawing editor.",
4
- "version": "5.1.0-next.42269576fc7e",
4
+ "version": "5.1.0-next.4df61e2a8b0a",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -47,7 +47,7 @@
47
47
  "src"
48
48
  ],
49
49
  "dependencies": {
50
- "tldraw": "5.1.0-next.42269576fc7e"
50
+ "tldraw": "5.1.0-next.4df61e2a8b0a"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -2374,27 +2374,41 @@ it from receiving any pointer events or affecting the cursor. */
2374
2374
 
2375
2375
  .tlui-page-menu__list__content {
2376
2376
  position: relative;
2377
+ overflow: hidden;
2377
2378
  }
2378
2379
 
2379
2380
  .tlui-page-menu__resize-handle {
2380
2381
  flex: 0 0 auto;
2381
2382
  position: relative;
2382
- height: 7px;
2383
- margin-bottom: -3px;
2383
+ height: 1px;
2384
2384
  cursor: ns-resize;
2385
2385
  touch-action: none;
2386
+ background: var(--tl-color-divider);
2387
+ transition: background-color ease-in-out 150ms 80ms;
2386
2388
  z-index: 999;
2387
2389
  }
2388
2390
 
2391
+ /* Hit test area */
2392
+ .tlui-page-menu__resize-handle::after {
2393
+ content: '';
2394
+ position: absolute;
2395
+ inset: -4px 0;
2396
+ background: none;
2397
+ z-index: 2000;
2398
+ pointer-events: all;
2399
+ }
2400
+
2401
+ /* Thick blue indicator */
2389
2402
  .tlui-page-menu__resize-handle::before {
2390
2403
  content: '';
2391
2404
  position: absolute;
2392
- top: 3px;
2405
+ top: 0;
2393
2406
  left: 0;
2394
2407
  right: 0;
2395
- height: 1px;
2396
- background: var(--tl-color-divider);
2397
- transition: background-color 100ms;
2408
+ height: 1.5px;
2409
+ background: transparent;
2410
+ pointer-events: none;
2411
+ z-index: 2001;
2398
2412
  }
2399
2413
 
2400
2414
  .tlui-page-menu__resize-handle[data-resizing='true']::before {