tldraw 3.16.0-canary.614a556981b7 → 3.16.0-canary.648a8d837266
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 +1 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/shapes/frame/FrameShapeUtil.js +4 -4
- package/dist-cjs/lib/shapes/frame/FrameShapeUtil.js.map +2 -2
- package/dist-cjs/lib/shapes/shared/ShapeFill.js +1 -1
- package/dist-cjs/lib/shapes/shared/ShapeFill.js.map +2 -2
- package/dist-cjs/lib/ui/components/primitives/TldrawUiTooltip.js +47 -85
- package/dist-cjs/lib/ui/components/primitives/TldrawUiTooltip.js.map +2 -2
- package/dist-cjs/lib/ui/components/primitives/menus/TldrawUiMenuContext.js.map +2 -2
- package/dist-cjs/lib/ui/components/primitives/menus/TldrawUiMenuGroup.js +0 -10
- package/dist-cjs/lib/ui/components/primitives/menus/TldrawUiMenuGroup.js.map +2 -2
- package/dist-cjs/lib/ui/components/primitives/menus/TldrawUiMenuItem.js +1 -18
- package/dist-cjs/lib/ui/components/primitives/menus/TldrawUiMenuItem.js.map +2 -2
- package/dist-cjs/lib/ui/hooks/useTools.js +21 -3
- package/dist-cjs/lib/ui/hooks/useTools.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.d.mts +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/shapes/frame/FrameShapeUtil.mjs +4 -4
- package/dist-esm/lib/shapes/frame/FrameShapeUtil.mjs.map +2 -2
- package/dist-esm/lib/shapes/shared/ShapeFill.mjs +1 -1
- package/dist-esm/lib/shapes/shared/ShapeFill.mjs.map +2 -2
- package/dist-esm/lib/ui/components/primitives/TldrawUiTooltip.mjs +56 -87
- package/dist-esm/lib/ui/components/primitives/TldrawUiTooltip.mjs.map +2 -2
- package/dist-esm/lib/ui/components/primitives/menus/TldrawUiMenuContext.mjs.map +2 -2
- package/dist-esm/lib/ui/components/primitives/menus/TldrawUiMenuGroup.mjs +0 -10
- package/dist-esm/lib/ui/components/primitives/menus/TldrawUiMenuGroup.mjs.map +2 -2
- package/dist-esm/lib/ui/components/primitives/menus/TldrawUiMenuItem.mjs +1 -18
- package/dist-esm/lib/ui/components/primitives/menus/TldrawUiMenuItem.mjs.map +2 -2
- package/dist-esm/lib/ui/hooks/useTools.mjs +22 -3
- package/dist-esm/lib/ui/hooks/useTools.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/shapes/frame/FrameShapeUtil.tsx +12 -4
- package/src/lib/shapes/shared/ShapeFill.tsx +1 -1
- package/src/lib/ui/components/primitives/TldrawUiTooltip.tsx +64 -106
- package/src/lib/ui/components/primitives/menus/TldrawUiMenuContext.tsx +0 -1
- package/src/lib/ui/components/primitives/menus/TldrawUiMenuGroup.tsx +0 -10
- package/src/lib/ui/components/primitives/menus/TldrawUiMenuItem.tsx +2 -16
- package/src/lib/ui/hooks/useTools.tsx +25 -3
- package/src/lib/ui/version.ts +3 -3
- package/src/lib/ui.css +5 -6
- package/tldraw.css +5 -6
package/tldraw.css
CHANGED
|
@@ -2861,7 +2861,6 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2861
2861
|
.tlui-layout__bottom {
|
|
2862
2862
|
grid-row: 2;
|
|
2863
2863
|
width: 100%;
|
|
2864
|
-
overflow: hidden;
|
|
2865
2864
|
}
|
|
2866
2865
|
|
|
2867
2866
|
.tlui-layout__bottom__main {
|
|
@@ -3053,6 +3052,10 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
3053
3052
|
opacity: 1;
|
|
3054
3053
|
}
|
|
3055
3054
|
|
|
3055
|
+
.tlui-main-toolbar__overflow-content {
|
|
3056
|
+
touch-action: none;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3056
3059
|
.tlui-main-toolbar__tools [data-toolbar-visible='false'],
|
|
3057
3060
|
.tlui-main-toolbar__overflow-content [data-toolbar-visible='false'] {
|
|
3058
3061
|
display: none;
|
|
@@ -3102,7 +3105,6 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
3102
3105
|
max-width: 400px;
|
|
3103
3106
|
width: fit-content;
|
|
3104
3107
|
text-align: center;
|
|
3105
|
-
pointer-events: none;
|
|
3106
3108
|
will-change: transform, opacity;
|
|
3107
3109
|
z-index: 2;
|
|
3108
3110
|
}
|
|
@@ -3114,10 +3116,7 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
3114
3116
|
|
|
3115
3117
|
[data-radix-popper-content-wrapper]:has(.tlui-tooltip) {
|
|
3116
3118
|
z-index: var(--tl-layer-toasts) !important;
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
[data-radix-popper-content-wrapper]:has(.tlui-tooltip[data-should-animate='true']) {
|
|
3120
|
-
transition: all 0.1s ease-out;
|
|
3119
|
+
pointer-events: none;
|
|
3121
3120
|
}
|
|
3122
3121
|
|
|
3123
3122
|
/* ------------------- Debug panel ------------------ */
|