react-dockable-desktop 7.1.2 → 7.1.3

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
@@ -11,8 +11,9 @@
11
11
  --rdd-z-base: 1000; /* base for floating windows + all chrome overlays; override via WindowManagerProvider's zIndexBase */
12
12
  /* Fonts for the library's own chrome — tabs, title bars, toolbar, sidebar, menus, toasts, drawers,
13
13
  modals. Neither Outfit nor Inter is loaded by the library: load one yourself, or override this
14
- (on any ancestor of the workspace). To use the host page's font: `inherit` here on :root, or
15
- `initial` on any ancestor — `inherit` below :root only copies this stack down. */
14
+ (on :root or <body> to reach everything: menus, flyouts and toasts render into <body>). To use
15
+ the host page's font everywhere: `inherit` here on :root, or `initial` on <body>. `initial` on
16
+ a wrapper reaches only the chrome inside it; `inherit` below :root only copies this stack down. */
16
17
  --rdd-font-family: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
17
18
  --rdd-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
18
19
  /* Errors the library itself shows (the unregistered-panel placeholder). */
@@ -290,7 +291,7 @@
290
291
  background-color: var(--rdd-bg-tab-inactive) !important; /* VS Code dark background for inactive tabs */
291
292
  color: var(--rdd-text-tab-inactive) !important; /* Clear readable gray */
292
293
  border: none !important;
293
- border-right: 1px solid var(--rdd-border-panel) !important; /* crisp separator */
294
+ border-inline-end: 1px solid var(--rdd-border-panel) !important; /* crisp separator, on the reading-end side */
294
295
  padding: 0 6px 0 14px !important;
295
296
  font-size: 0.75rem;
296
297
  display: flex;
@@ -326,7 +327,7 @@
326
327
  background-color: var(--rdd-tab-bg-active-focused) !important;
327
328
  color: var(--rdd-tab-text-active-focused) !important;
328
329
  font-weight: 500;
329
- border-right: 1px solid var(--rdd-border-panel) !important;
330
+ border-inline-end: 1px solid var(--rdd-border-panel) !important;
330
331
  z-index: 2;
331
332
  }
332
333
 
@@ -347,7 +348,7 @@
347
348
  background-color: var(--rdd-tab-bg-active-unfocused) !important;
348
349
  color: var(--rdd-tab-text-active-unfocused) !important;
349
350
  font-weight: 500;
350
- border-right: 1px solid var(--rdd-border-panel) !important;
351
+ border-inline-end: 1px solid var(--rdd-border-panel) !important;
351
352
  z-index: 2;
352
353
  }
353
354
 
@@ -1169,10 +1170,10 @@ body.rdd-dragging-active {
1169
1170
  }
1170
1171
 
1171
1172
  /* --- Theme Variables for Sidebar and Tabs --- */
1172
- /* Dark is the default scheme, so its tokens are defined on :root as well. <Toolbar> and <Sidebar>
1173
- sit outside the workspace element, and WindowManager mirrors only a *light* scheme onto <html>
1174
- — so with these under [data-color-scheme="dark"] alone, the toolbar and sidebar rendered with
1175
- no background, border or text colour in dark mode unless the app set the attribute itself. */
1173
+ /* Dark is the default scheme, so its tokens are defined on :root as well. <RddToolbar> and
1174
+ <RddSidebar> sit outside the workspace element and read these from <html>, where the page sets
1175
+ data-color-scheme="light" for light and usually sets nothing for dark — so with these under
1176
+ [data-color-scheme="dark"] alone, the toolbar and sidebar had no colours in dark mode. */
1176
1177
  :root,
1177
1178
  [data-color-scheme="dark"] {
1178
1179
  --rdd-sidebar-bg: #1e2024;
@@ -1538,7 +1539,7 @@ body.rdd-dragging-active {
1538
1539
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 100%, 0% 100%);
1539
1540
  padding: 0 18px !important;
1540
1541
  margin-right: -4px !important;
1541
- border-right: none !important;
1542
+ border-inline-end: none !important;
1542
1543
  }
1543
1544
  [data-rdd-skin="chrome"] .rdd-workspace-tab.rdd-active {
1544
1545
  z-index: 5;
@@ -2528,9 +2529,9 @@ html.rdd-no-animations [class*="rdd-"]::after {
2528
2529
  RTL (Right-to-Left) Support
2529
2530
  ========================================== */
2530
2531
 
2532
+ /* The separator is a logical border-inline-end (it follows direction by itself); only the
2533
+ physical padding is mirrored here. */
2531
2534
  .rdd-workspace-tab:dir(rtl) {
2532
- border-right: none !important;
2533
- border-left: 1px solid var(--rdd-border-panel) !important;
2534
2535
  padding: 0 14px 0 6px !important;
2535
2536
  }
2536
2537
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dockable-desktop",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
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",