@tldraw/tldraw 5.1.0-next.d7c83ba698ae → 5.1.0
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-esm/index.mjs +1 -1
- package/package.json +2 -2
- package/tldraw.css +36 -6
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
|
|
22
|
+
"5.1.0",
|
|
23
23
|
"cjs"
|
|
24
24
|
);
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
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
|
|
4
|
+
"version": "5.1.0",
|
|
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
|
|
50
|
+
"tldraw": "5.1.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.2.0 || ^19.2.1",
|
package/tldraw.css
CHANGED
|
@@ -1889,6 +1889,11 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
1889
1889
|
text-align: center;
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
+
.tlui-zoom-menu__button[data-state='open']::after {
|
|
1893
|
+
background: linear-gradient(0deg, rgba(144, 144, 144, 0) 0%, var(--tl-color-muted-2) 100%);
|
|
1894
|
+
opacity: 1;
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1892
1897
|
/* --------------------- Layout --------------------- */
|
|
1893
1898
|
|
|
1894
1899
|
.tlui-layout {
|
|
@@ -2350,6 +2355,11 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2350
2355
|
width: auto;
|
|
2351
2356
|
}
|
|
2352
2357
|
|
|
2358
|
+
.tlui-page-menu__trigger[data-state='open']::after {
|
|
2359
|
+
background: linear-gradient(180deg, rgba(144, 144, 144, 0) 0%, var(--tl-color-muted-2) 100%);
|
|
2360
|
+
opacity: 1;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2353
2363
|
.tlui-page-menu__list {
|
|
2354
2364
|
flex: 0 0 auto;
|
|
2355
2365
|
overflow-x: hidden;
|
|
@@ -2364,27 +2374,41 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2364
2374
|
|
|
2365
2375
|
.tlui-page-menu__list__content {
|
|
2366
2376
|
position: relative;
|
|
2377
|
+
overflow: hidden;
|
|
2367
2378
|
}
|
|
2368
2379
|
|
|
2369
2380
|
.tlui-page-menu__resize-handle {
|
|
2370
2381
|
flex: 0 0 auto;
|
|
2371
2382
|
position: relative;
|
|
2372
|
-
height:
|
|
2373
|
-
margin-bottom: -3px;
|
|
2383
|
+
height: 1px;
|
|
2374
2384
|
cursor: ns-resize;
|
|
2375
2385
|
touch-action: none;
|
|
2386
|
+
background: var(--tl-color-divider);
|
|
2387
|
+
transition: background-color ease-in-out 150ms 80ms;
|
|
2376
2388
|
z-index: 999;
|
|
2377
2389
|
}
|
|
2378
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 */
|
|
2379
2402
|
.tlui-page-menu__resize-handle::before {
|
|
2380
2403
|
content: '';
|
|
2381
2404
|
position: absolute;
|
|
2382
|
-
top:
|
|
2405
|
+
top: 0;
|
|
2383
2406
|
left: 0;
|
|
2384
2407
|
right: 0;
|
|
2385
|
-
height:
|
|
2386
|
-
background:
|
|
2387
|
-
|
|
2408
|
+
height: 1.5px;
|
|
2409
|
+
background: transparent;
|
|
2410
|
+
pointer-events: none;
|
|
2411
|
+
z-index: 2001;
|
|
2388
2412
|
}
|
|
2389
2413
|
|
|
2390
2414
|
.tlui-page-menu__resize-handle[data-resizing='true']::before {
|
|
@@ -2698,6 +2722,12 @@ tldraw? probably.
|
|
|
2698
2722
|
border-bottom: 1px solid var(--tl-color-divider);
|
|
2699
2723
|
}
|
|
2700
2724
|
|
|
2725
|
+
.tlui-toolbar-toggle-group-item,
|
|
2726
|
+
.tlui-style-panel__dropdown-picker > .tlui-button__icon {
|
|
2727
|
+
width: 40px;
|
|
2728
|
+
padding: 0;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2701
2731
|
.tlui-style-panel__dropdown-picker:only-child {
|
|
2702
2732
|
flex: 1;
|
|
2703
2733
|
}
|