react-dockable-desktop 7.10.1 → 7.11.0-next.1

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/styles.css CHANGED
@@ -4001,6 +4001,34 @@ html.rdd-no-animations [class*="rdd-"]::after {
4001
4001
  color: var(--rdd-panel-float-title-color-active, rgba(255, 255, 255, 0.9));
4002
4002
  }
4003
4003
 
4004
+ /* The title icon as a button, for a managed widget with a titleMenu (7.11): same size and colour
4005
+ as the plain icon, plus a button's affordances. */
4006
+ .rdd-panel-float__menu {
4007
+ background: none;
4008
+ border: 0;
4009
+ padding: 0;
4010
+ margin: 0;
4011
+ font: inherit;
4012
+ cursor: pointer;
4013
+ border-radius: calc(3px * var(--rdd-radius-scale, 1));
4014
+ }
4015
+ .rdd-panel-float__menu:hover {
4016
+ opacity: 1;
4017
+ background-color: var(--rdd-custom-btn-hover-bg, rgba(255, 255, 255, 0.12));
4018
+ }
4019
+
4020
+ /* The same, out of the panel: a widget's panel opens its menu from its tab or title-bar icon
4021
+ (7.11.0-next.1). */
4022
+ .rdd-workspace-tab-icon--menu,
4023
+ .rdd-window-title-icon--menu {
4024
+ cursor: pointer;
4025
+ border-radius: calc(3px * var(--rdd-radius-scale, 1));
4026
+ }
4027
+ .rdd-workspace-tab-icon--menu:hover,
4028
+ .rdd-window-title-icon--menu:hover {
4029
+ background-color: var(--rdd-custom-btn-hover-bg, rgba(255, 255, 255, 0.12));
4030
+ }
4031
+
4004
4032
  .rdd-panel-float__close {
4005
4033
  display: inline-flex;
4006
4034
  align-items: center;
@@ -4031,6 +4059,22 @@ html.rdd-no-animations [class*="rdd-"]::after {
4031
4059
  min-height: 0;
4032
4060
  }
4033
4061
 
4062
+ /* A managed widget's content element (7.11), the body's only child. The body is a block, so the
4063
+ element takes its full size, as .rdd-panel-content does for workspace panels: content with
4064
+ height: 100% fills the body exactly as it did when it was the body's own child. */
4065
+ .rdd-panel-float__content {
4066
+ width: 100%;
4067
+ height: 100%;
4068
+ }
4069
+
4070
+ /* A hosted panel's body (7.11): it shows a managed widget moved out of its panel. It scrolls as the
4071
+ widget's own body does, so the content behaves the same in either place. */
4072
+ .rdd-hosted-widget {
4073
+ width: 100%;
4074
+ height: 100%;
4075
+ overflow: auto;
4076
+ }
4077
+
4034
4078
 
4035
4079
  /* ── Docking drop zones (visible while dragging a floating window) ── */
4036
4080
  /* Armed for resize-to-stretch: the clamps already hold the widget exactly where a stretched axis
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dockable-desktop",
3
- "version": "7.10.1",
3
+ "version": "7.11.0-next.1",
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",