@tldraw/tldraw 4.4.0-canary.afdcafe834b3 → 4.4.0-canary.bb78e813fee7
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 +46 -0
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.
|
|
22
|
+
"4.4.0-canary.bb78e813fee7",
|
|
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": "4.4.0-canary.
|
|
4
|
+
"version": "4.4.0-canary.bb78e813fee7",
|
|
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.
|
|
51
|
+
"tldraw": "4.4.0-canary.bb78e813fee7"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "^18.2.0 || ^19.2.1",
|
package/tldraw.css
CHANGED
|
@@ -2323,6 +2323,52 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2323
2323
|
}
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
|
+
/* --------------------- Select --------------------- */
|
|
2327
|
+
|
|
2328
|
+
/* Trigger extends .tlui-button with space-between layout */
|
|
2329
|
+
.tlui-select__trigger {
|
|
2330
|
+
justify-content: space-between;
|
|
2331
|
+
gap: var(--tl-space-3);
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
.tlui-select__trigger[data-state='open']::after {
|
|
2335
|
+
opacity: 1;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
.tlui-select__value {
|
|
2339
|
+
display: flex;
|
|
2340
|
+
align-items: center;
|
|
2341
|
+
gap: var(--tl-space-2);
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
.tlui-select__chevron {
|
|
2345
|
+
flex-shrink: 0;
|
|
2346
|
+
color: var(--tl-color-text-2);
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
/* Content extends .tlui-menu with Radix-aware sizing */
|
|
2350
|
+
.tlui-select__content {
|
|
2351
|
+
min-width: var(--radix-select-trigger-width);
|
|
2352
|
+
max-height: var(--radix-select-content-available-height);
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
.tlui-select__viewport {
|
|
2356
|
+
padding: 4px 0;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2359
|
+
/* Item extends .tlui-button__checkbox with left-aligned text */
|
|
2360
|
+
.tlui-select__item {
|
|
2361
|
+
justify-content: flex-start;
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
.tlui-select__item-indicator {
|
|
2365
|
+
visibility: hidden;
|
|
2366
|
+
}
|
|
2367
|
+
|
|
2368
|
+
.tlui-select__item[data-state='checked'] .tlui-select__item-indicator {
|
|
2369
|
+
visibility: visible;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2326
2372
|
/* ----------------------- Kbd ---------------------- */
|
|
2327
2373
|
|
|
2328
2374
|
.tlui-kbd {
|