react-dockable-desktop 7.6.1 → 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 +22 -1
- package/README.md +1 -1
- package/dist/styles.css +11 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [7.6.2] — 2026-10-04
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **The taskbar preview's close button drew its × at half width** on a page without a CSS reset
|
|
14
|
+
(a plain MUI app, Bootstrap, or no framework at all). The button is a `<button>`, so it kept the
|
|
15
|
+
browser's own padding (`1px 6px` in Chrome), and with the library's `border-box` sizing that
|
|
16
|
+
padding came out of its 18px: the 12px icon was drawn 6px wide. It now sets `padding: 0`, and
|
|
17
|
+
its icon no longer shrinks.
|
|
18
|
+
- **Workspace toolbar and sidebar rail buttons relied on the same browser padding.** It did not
|
|
19
|
+
show at the default icon size, but it capped the icon at 24px (toolbar) and 32px (rail), so a
|
|
20
|
+
`--rdd-chrome-icon-size` above 24px squeezed toolbar icons. They set `padding: 0` too. Nothing
|
|
21
|
+
changes on a page that already resets button padding.
|
|
22
|
+
|
|
23
|
+
### Tests
|
|
24
|
+
|
|
25
|
+
- `hostPage.browser.ts`: on the harness page, which has no CSS reset, the preview's × draws its
|
|
26
|
+
icon at 12×12, and toolbar and rail buttons have no padding and fit a 28px icon. Each assertion
|
|
27
|
+
was seen failing without its `padding: 0`.
|
|
28
|
+
|
|
9
29
|
## [7.6.1] — 2026-10-04
|
|
10
30
|
|
|
11
31
|
Internal restructuring. No behaviour, API or visual change.
|
|
@@ -806,7 +826,8 @@ All of the above is additive and backward-compatible: every new field is optiona
|
|
|
806
826
|
|
|
807
827
|
---
|
|
808
828
|
|
|
809
|
-
[Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.
|
|
829
|
+
[Unreleased]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.2...HEAD
|
|
830
|
+
[7.6.2]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.1...v7.6.2
|
|
810
831
|
[7.6.1]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.6.0...v7.6.1
|
|
811
832
|
[7.6.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.5.0...v7.6.0
|
|
812
833
|
[7.5.0]: https://github.com/felipecarrillo100/react-dockable-desktop/compare/v7.4.1...v7.5.0
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# React Dockable Desktop
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/react-dockable-desktop)
|
|
4
4
|
[](https://www.typescriptlang.org/)
|
|
5
5
|
[](#touch--mobile)
|
|
6
6
|
[](#license)
|
package/dist/styles.css
CHANGED
|
@@ -855,6 +855,9 @@ body.rdd-resizing-col-active * {
|
|
|
855
855
|
.rdd-tooltip-close-x {
|
|
856
856
|
width: 18px;
|
|
857
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;
|
|
858
861
|
border-radius: calc(3px * var(--rdd-radius-scale, 1));
|
|
859
862
|
background: transparent !important;
|
|
860
863
|
border: none !important;
|
|
@@ -868,6 +871,10 @@ body.rdd-resizing-col-active * {
|
|
|
868
871
|
opacity: 0.75;
|
|
869
872
|
}
|
|
870
873
|
|
|
874
|
+
.rdd-tooltip-close-x svg {
|
|
875
|
+
flex-shrink: 0;
|
|
876
|
+
}
|
|
877
|
+
|
|
871
878
|
.rdd-tooltip-close-x:hover {
|
|
872
879
|
background: var(--rdd-close-btn-hover-bg) !important;
|
|
873
880
|
color: var(--rdd-close-btn-hover-color) !important;
|
|
@@ -2307,6 +2314,8 @@ body.rdd-dragging-active {
|
|
|
2307
2314
|
cursor: pointer;
|
|
2308
2315
|
font-size: var(--rdd-chrome-icon-size, 22px);
|
|
2309
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;
|
|
2310
2319
|
}
|
|
2311
2320
|
|
|
2312
2321
|
/* Icons in rail buttons: SVG icons follow the chrome icon size whatever their own width/height
|
|
@@ -3181,6 +3190,8 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3181
3190
|
transition: color 0.15s ease, background-color 0.15s ease;
|
|
3182
3191
|
font-size: var(--rdd-chrome-icon-size, 22px);
|
|
3183
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;
|
|
3184
3195
|
}
|
|
3185
3196
|
|
|
3186
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",
|