@tldraw/tldraw 4.3.0 → 4.4.0-canary.15cff7ea86f8

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/README.md CHANGED
@@ -6,7 +6,7 @@ This package is kept around for legacy purposes. It just tracks the normal `tldr
6
6
 
7
7
  This project is part of the tldraw SDK. It is provided under the [tldraw SDK license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).
8
8
 
9
- You can use the tldraw SDK in commercial or non-commercial projects so long as you preserve the "Made with tldraw" watermark on the canvas. To remove the watermark, you can purchase a [business license](https://tldraw.dev#pricing). Visit [tldraw.dev](https://tldraw.dev) to learn more.
9
+ You can use the tldraw SDK in commercial or non-commercial projects so long as you preserve the "Made with tldraw" watermark on the canvas. To remove the watermark, you can purchase a [business license](https://tldraw.dev/pricing). Visit [tldraw.dev](https://tldraw.dev) to learn more.
10
10
 
11
11
  ## Trademarks
12
12
 
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.3.0",
22
+ "4.4.0-canary.15cff7ea86f8",
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.3.0",
5
+ "4.4.0-canary.15cff7ea86f8",
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.3.0",
4
+ "version": "4.4.0-canary.15cff7ea86f8",
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.3.0"
51
+ "tldraw": "4.4.0-canary.15cff7ea86f8"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -1840,13 +1840,15 @@ it from receiving any pointer events or affecting the cursor. */
1840
1840
  z-index: 0;
1841
1841
  }
1842
1842
 
1843
- .tlui-button:disabled {
1843
+ .tlui-button:disabled,
1844
+ .tlui-button[data-disabled] {
1844
1845
  color: var(--tl-color-text-3);
1845
1846
  text-shadow: none;
1846
1847
  cursor: default;
1847
1848
  }
1848
1849
 
1849
- .tlui-button:disabled .tlui-kbd {
1850
+ .tlui-button:disabled .tlui-kbd,
1851
+ .tlui-button[data-disabled] .tlui-kbd {
1850
1852
  color: var(--tl-color-text-3);
1851
1853
  }
1852
1854
 
@@ -1895,7 +1897,7 @@ it from receiving any pointer events or affecting the cursor. */
1895
1897
  }
1896
1898
 
1897
1899
  .tlui-button[data-isactive='true']::after,
1898
- .tlui-button[data-isactive='true']:not(:disabled, :focus-visible):active:after {
1900
+ .tlui-button[data-isactive='true']:not(:disabled, [data-disabled], :focus-visible):active:after {
1899
1901
  background: var(--tl-color-hint);
1900
1902
  opacity: 1;
1901
1903
  }
@@ -1911,11 +1913,11 @@ it from receiving any pointer events or affecting the cursor. */
1911
1913
  opacity: 1;
1912
1914
  }
1913
1915
 
1914
- .tlui-button:not(:disabled):hover {
1916
+ .tlui-button:not(:disabled, [data-disabled]):hover {
1915
1917
  z-index: 1;
1916
1918
  }
1917
1919
 
1918
- .tlui-button:not(:disabled):hover::after {
1920
+ .tlui-button:not(:disabled, [data-disabled]):hover::after {
1919
1921
  opacity: 1;
1920
1922
  }
1921
1923
  }
@@ -1954,11 +1956,11 @@ it from receiving any pointer events or affecting the cursor. */
1954
1956
  }
1955
1957
 
1956
1958
  @media (hover: hover) {
1957
- .tlui-button__primary:not(:disabled, :focus-visible):hover {
1959
+ .tlui-button__primary:not(:disabled, [data-disabled], :focus-visible):hover {
1958
1960
  color: var(--tl-color-primary);
1959
1961
  }
1960
1962
 
1961
- .tlui-button__danger:not(:disabled, :focus-visible):hover {
1963
+ .tlui-button__danger:not(:disabled, [data-disabled], :focus-visible):hover {
1962
1964
  color: var(--tl-color-danger);
1963
1965
  text-shadow: none;
1964
1966
  }
@@ -2046,11 +2048,11 @@ it from receiving any pointer events or affecting the cursor. */
2046
2048
  color: var(--tl-color-selected-contrast);
2047
2049
  }
2048
2050
 
2049
- .tlui-button__tool[aria-pressed='true']:not(:disabled, :focus-visible):active {
2051
+ .tlui-button__tool[aria-pressed='true']:not(:disabled, [data-disabled], :focus-visible):active {
2050
2052
  color: var(--tl-color-selected-contrast);
2051
2053
  }
2052
2054
 
2053
- .tlui-button__tool[aria-pressed='true']:not(:disabled)::after {
2055
+ .tlui-button__tool[aria-pressed='true']:not(:disabled, [data-disabled])::after {
2054
2056
  background: var(--tl-color-selected);
2055
2057
  opacity: 1;
2056
2058
  }