@tldraw/tldraw 3.16.0-next.15f085081fd5 → 3.16.0-next.2f9d39693e4c
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 +16 -2
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
|
-
"3.16.0-next.
|
|
22
|
+
"3.16.0-next.2f9d39693e4c",
|
|
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": "3.16.0-next.
|
|
4
|
+
"version": "3.16.0-next.2f9d39693e4c",
|
|
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": "3.16.0-next.
|
|
51
|
+
"tldraw": "3.16.0-next.2f9d39693e4c"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"react": "^18.2.0 || ^19.0.0",
|
package/tldraw.css
CHANGED
|
@@ -2798,9 +2798,23 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2798
2798
|
flex-direction: column;
|
|
2799
2799
|
}
|
|
2800
2800
|
|
|
2801
|
-
|
|
2801
|
+
/*
|
|
2802
|
+
add a border to the bottom of all but the last section. we have to handle empty sections too, which
|
|
2803
|
+
are hidden and shouldn't be counted
|
|
2804
|
+
*/
|
|
2805
|
+
.tlui-style-panel__section:not(:nth-last-child(-n + 1 of .tlui-style-panel__section:not(:empty))) {
|
|
2802
2806
|
border-bottom: 1px solid var(--tl-color-divider);
|
|
2803
2807
|
}
|
|
2808
|
+
/*
|
|
2809
|
+
if a section ends with a slider and we're adding a border, we need some extra space for visual
|
|
2810
|
+
balance. we need to handle empty sections as above. is this the most complex css selector in all of
|
|
2811
|
+
tldraw? probably.
|
|
2812
|
+
*/
|
|
2813
|
+
.tlui-style-panel__section:has(.tlui-slider__container:last-child):not(
|
|
2814
|
+
:nth-last-child(-n + 1 of .tlui-style-panel__section:not(:empty))
|
|
2815
|
+
) {
|
|
2816
|
+
margin-bottom: 7px;
|
|
2817
|
+
}
|
|
2804
2818
|
|
|
2805
2819
|
.tlui-style-panel__section:empty {
|
|
2806
2820
|
display: none;
|
|
@@ -2812,7 +2826,7 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2812
2826
|
}
|
|
2813
2827
|
|
|
2814
2828
|
.tlui-style-panel__dropdown-picker:only-child {
|
|
2815
|
-
|
|
2829
|
+
flex: 1;
|
|
2816
2830
|
}
|
|
2817
2831
|
|
|
2818
2832
|
.tlui-style-panel__double-select-picker {
|