react-dockable-desktop 7.6.0 → 7.6.2
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/CHANGELOG.md +49 -1
- package/README.md +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +280 -236
- package/dist/index.d.ts +280 -236
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +12 -0
- package/package.json +5 -2
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* Generated by scripts/build-css.mjs from src/styles/*.css — edit those files, not this one. */
|
|
1
2
|
/*
|
|
2
3
|
* @file index.css
|
|
3
4
|
* @description Core stylesheet for the react-dockable-desktop layout engine.
|
|
@@ -854,6 +855,9 @@ body.rdd-resizing-col-active * {
|
|
|
854
855
|
.rdd-tooltip-close-x {
|
|
855
856
|
width: 18px;
|
|
856
857
|
height: 18px;
|
|
858
|
+
/* A <button>: without this the browser's own padding (1px 6px) comes out of the 18px, and the
|
|
859
|
+
12px icon was drawn 6px wide on any page without a CSS reset (7.6.2). */
|
|
860
|
+
padding: 0;
|
|
857
861
|
border-radius: calc(3px * var(--rdd-radius-scale, 1));
|
|
858
862
|
background: transparent !important;
|
|
859
863
|
border: none !important;
|
|
@@ -867,6 +871,10 @@ body.rdd-resizing-col-active * {
|
|
|
867
871
|
opacity: 0.75;
|
|
868
872
|
}
|
|
869
873
|
|
|
874
|
+
.rdd-tooltip-close-x svg {
|
|
875
|
+
flex-shrink: 0;
|
|
876
|
+
}
|
|
877
|
+
|
|
870
878
|
.rdd-tooltip-close-x:hover {
|
|
871
879
|
background: var(--rdd-close-btn-hover-bg) !important;
|
|
872
880
|
color: var(--rdd-close-btn-hover-color) !important;
|
|
@@ -2306,6 +2314,8 @@ body.rdd-dragging-active {
|
|
|
2306
2314
|
cursor: pointer;
|
|
2307
2315
|
font-size: var(--rdd-chrome-icon-size, 22px);
|
|
2308
2316
|
line-height: 1;
|
|
2317
|
+
/* The icon is centred by flex; the browser's button padding must not eat into the box (7.6.2). */
|
|
2318
|
+
padding: 0;
|
|
2309
2319
|
}
|
|
2310
2320
|
|
|
2311
2321
|
/* Icons in rail buttons: SVG icons follow the chrome icon size whatever their own width/height
|
|
@@ -3180,6 +3190,8 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3180
3190
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
3181
3191
|
font-size: var(--rdd-chrome-icon-size, 22px);
|
|
3182
3192
|
line-height: 1;
|
|
3193
|
+
/* The icon is centred by flex; the browser's button padding must not eat into the box (7.6.2). */
|
|
3194
|
+
padding: 0;
|
|
3183
3195
|
}
|
|
3184
3196
|
|
|
3185
3197
|
.rdd-toolbar-btn svg {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dockable-desktop",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A premium, state-of-the-art window manager and dockable layout engine for React. Supports fluid grid splits, tabbed groups, floating resizable windows, zero-unmount state preservation, context menus, and internationalization.",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -48,7 +48,10 @@
|
|
|
48
48
|
"dev:ria": "vite demo-luciadria --host",
|
|
49
49
|
"dev:oldria": "vite demo-oldria --host",
|
|
50
50
|
"dev:sidebar": "vite demo-sidebar --host",
|
|
51
|
-
"build": "tsup && node -e \"require('fs').copyFileSync('src/index.css', 'dist/styles.css')\"",
|
|
51
|
+
"build": "node scripts/build-css.mjs && tsup && node -e \"require('fs').copyFileSync('src/index.css', 'dist/styles.css')\"",
|
|
52
|
+
"css": "node scripts/build-css.mjs",
|
|
53
|
+
"css:check": "node scripts/build-css.mjs --check",
|
|
54
|
+
"css:watch": "node scripts/build-css.mjs --watch",
|
|
52
55
|
"demo:build": "vite build --base /react-dockable-desktop/demo/",
|
|
53
56
|
"docs:dev": "vitepress dev docs-site",
|
|
54
57
|
"docs:generate": "typedoc",
|