@tldraw/tldraw 4.4.0-canary.c17daea295e2 → 4.4.0-canary.db02df3783dc

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
- "4.4.0-canary.c17daea295e2",
22
+ "4.4.0-canary.db02df3783dc",
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
- "4.4.0-canary.c17daea295e2",
5
+ "4.4.0-canary.db02df3783dc",
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": "4.4.0-canary.c17daea295e2",
4
+ "version": "4.4.0-canary.db02df3783dc",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -48,7 +48,7 @@
48
48
  "src"
49
49
  ],
50
50
  "dependencies": {
51
- "tldraw": "4.4.0-canary.c17daea295e2"
51
+ "tldraw": "4.4.0-canary.db02df3783dc"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -1166,6 +1166,12 @@ input,
1166
1166
  contain: size layout;
1167
1167
  }
1168
1168
 
1169
+ .tl-canvas-indicators {
1170
+ position: absolute;
1171
+ inset: 0;
1172
+ pointer-events: none;
1173
+ }
1174
+
1169
1175
  /* ---------------------- Shape --------------------- */
1170
1176
 
1171
1177
  .tl-shape {
@@ -1540,15 +1546,6 @@ input,
1540
1546
  cursor: var(--tl-cursor-text);
1541
1547
  }
1542
1548
 
1543
- /* If mobile use 16px as font size */
1544
- /* On iOS, font size under 16px in an input will make the page zoom into the input 🤦‍♂️ */
1545
- /* https://css-tricks.com/16px-or-larger-text-prevents-ios-form-zoom/ */
1546
- @media (max-width: 600px) {
1547
- .tl-frame-heading {
1548
- font-size: 16px;
1549
- }
1550
- }
1551
-
1552
1549
  /* ------------------- Embed Shape ------------------ */
1553
1550
 
1554
1551
  .tl-embed {
@@ -1840,13 +1837,15 @@ it from receiving any pointer events or affecting the cursor. */
1840
1837
  z-index: 0;
1841
1838
  }
1842
1839
 
1843
- .tlui-button:disabled {
1840
+ .tlui-button:disabled,
1841
+ .tlui-button[data-disabled] {
1844
1842
  color: var(--tl-color-text-3);
1845
1843
  text-shadow: none;
1846
1844
  cursor: default;
1847
1845
  }
1848
1846
 
1849
- .tlui-button:disabled .tlui-kbd {
1847
+ .tlui-button:disabled .tlui-kbd,
1848
+ .tlui-button[data-disabled] .tlui-kbd {
1850
1849
  color: var(--tl-color-text-3);
1851
1850
  }
1852
1851
 
@@ -1895,7 +1894,7 @@ it from receiving any pointer events or affecting the cursor. */
1895
1894
  }
1896
1895
 
1897
1896
  .tlui-button[data-isactive='true']::after,
1898
- .tlui-button[data-isactive='true']:not(:disabled, :focus-visible):active:after {
1897
+ .tlui-button[data-isactive='true']:not(:disabled, [data-disabled], :focus-visible):active:after {
1899
1898
  background: var(--tl-color-hint);
1900
1899
  opacity: 1;
1901
1900
  }
@@ -1911,11 +1910,11 @@ it from receiving any pointer events or affecting the cursor. */
1911
1910
  opacity: 1;
1912
1911
  }
1913
1912
 
1914
- .tlui-button:not(:disabled):hover {
1913
+ .tlui-button:not(:disabled, [data-disabled]):hover {
1915
1914
  z-index: 1;
1916
1915
  }
1917
1916
 
1918
- .tlui-button:not(:disabled):hover::after {
1917
+ .tlui-button:not(:disabled, [data-disabled]):hover::after {
1919
1918
  opacity: 1;
1920
1919
  }
1921
1920
  }
@@ -1954,11 +1953,11 @@ it from receiving any pointer events or affecting the cursor. */
1954
1953
  }
1955
1954
 
1956
1955
  @media (hover: hover) {
1957
- .tlui-button__primary:not(:disabled, :focus-visible):hover {
1956
+ .tlui-button__primary:not(:disabled, [data-disabled], :focus-visible):hover {
1958
1957
  color: var(--tl-color-primary);
1959
1958
  }
1960
1959
 
1961
- .tlui-button__danger:not(:disabled, :focus-visible):hover {
1960
+ .tlui-button__danger:not(:disabled, [data-disabled], :focus-visible):hover {
1962
1961
  color: var(--tl-color-danger);
1963
1962
  text-shadow: none;
1964
1963
  }
@@ -2046,11 +2045,11 @@ it from receiving any pointer events or affecting the cursor. */
2046
2045
  color: var(--tl-color-selected-contrast);
2047
2046
  }
2048
2047
 
2049
- .tlui-button__tool[aria-pressed='true']:not(:disabled, :focus-visible):active {
2048
+ .tlui-button__tool[aria-pressed='true']:not(:disabled, [data-disabled], :focus-visible):active {
2050
2049
  color: var(--tl-color-selected-contrast);
2051
2050
  }
2052
2051
 
2053
- .tlui-button__tool[aria-pressed='true']:not(:disabled)::after {
2052
+ .tlui-button__tool[aria-pressed='true']:not(:disabled, [data-disabled])::after {
2054
2053
  background: var(--tl-color-selected);
2055
2054
  opacity: 1;
2056
2055
  }
@@ -3529,6 +3528,12 @@ tldraw? probably.
3529
3528
 
3530
3529
  /* Terrible fix to allow firefox users to scroll the dialog */
3531
3530
  overflow-x: auto;
3531
+
3532
+ scrollbar-width: none;
3533
+ }
3534
+
3535
+ .tlui-shortcuts-dialog__body::-webkit-scrollbar {
3536
+ display: none;
3532
3537
  }
3533
3538
 
3534
3539
  .tlui-shortcuts-dialog__body__tablet {