@tldraw/tldraw 5.3.0-next.91d2a20b898c → 5.3.0-next.af17ff0c1f3d

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.3.0-next.91d2a20b898c",
22
+ "5.3.0-next.af17ff0c1f3d",
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.3.0-next.91d2a20b898c",
5
+ "5.3.0-next.af17ff0c1f3d",
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.3.0-next.91d2a20b898c",
4
+ "version": "5.3.0-next.af17ff0c1f3d",
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.3.0-next.91d2a20b898c"
50
+ "tldraw": "5.3.0-next.af17ff0c1f3d"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -2123,6 +2123,14 @@ it from receiving any pointer events or affecting the cursor. */
2123
2123
  flex-shrink: 0;
2124
2124
  }
2125
2125
 
2126
+ /* The label is a fixed bit of chrome next to the input; it should never be squeezed. Without this,
2127
+ an inherited `overflow-wrap: anywhere` (e.g. from .tlui-dialog__body) drops its min-content width
2128
+ to a single character and short labels wrap mid-word, e.g. "URL" breaking after "UR". */
2129
+ .tlui-input__wrapper > label {
2130
+ flex-shrink: 0;
2131
+ overflow-wrap: normal;
2132
+ }
2133
+
2126
2134
  /* If mobile use 16px as font size */
2127
2135
  /* On iOS, font size under 16px in an input will make the page zoom into the input 🤦‍♂️ */
2128
2136
  /* https://css-tricks.com/16px-or-larger-text-prevents-ios-form-zoom/ */