react-dockable-desktop 7.0.1 → 7.1.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/README.md +2 -2
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -4
- package/dist/index.d.ts +24 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +113 -56
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
--rdd-styles-loaded: 1; /* sentinel — checked at mount to detect missing CSS import */
|
|
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
|
-
modals. Neither Outfit nor Inter is loaded by the library: load one yourself, or override this
|
|
14
|
-
|
|
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. */
|
|
15
16
|
--rdd-font-family: 'Outfit', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
16
17
|
--rdd-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
17
18
|
--rdd-bg-primary: #090b11;
|
|
@@ -168,6 +169,47 @@
|
|
|
168
169
|
-webkit-font-smoothing: antialiased;
|
|
169
170
|
}
|
|
170
171
|
|
|
172
|
+
/* Structural layout (it was inline styles until 7.1.1, so a host rule couldn't override it). */
|
|
173
|
+
.rdd-workspace {
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
position: relative;
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
user-select: none;
|
|
181
|
+
}
|
|
182
|
+
/* Focusable from script only (tabindex="-1"): where keyboard focus goes when the last tab it was
|
|
183
|
+
on closes. The workspace itself shows no ring. */
|
|
184
|
+
.rdd-workspace:focus { outline: none; }
|
|
185
|
+
.rdd-workspace-viewport {
|
|
186
|
+
flex-grow: 1;
|
|
187
|
+
width: 100%;
|
|
188
|
+
position: relative;
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
}
|
|
191
|
+
.rdd-workspace-grid-host {
|
|
192
|
+
width: 100%;
|
|
193
|
+
height: 100%;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
position: relative;
|
|
196
|
+
}
|
|
197
|
+
.rdd-floating-window-body {
|
|
198
|
+
flex-grow: 1;
|
|
199
|
+
width: 100%;
|
|
200
|
+
overflow: hidden;
|
|
201
|
+
position: relative;
|
|
202
|
+
isolation: isolate;
|
|
203
|
+
}
|
|
204
|
+
/* A panel's preserved DOM: the slot it is shown in, the element kept across moves, and the
|
|
205
|
+
wrapper its content renders into. */
|
|
206
|
+
.rdd-panel-dom-host,
|
|
207
|
+
.rdd-panel-dom,
|
|
208
|
+
.rdd-panel-content {
|
|
209
|
+
width: 100%;
|
|
210
|
+
height: 100%;
|
|
211
|
+
}
|
|
212
|
+
|
|
171
213
|
/* Workspace Panel Container */
|
|
172
214
|
.rdd-workspace-panel {
|
|
173
215
|
background-color: var(--rdd-bg-panel);
|
|
@@ -181,6 +223,7 @@
|
|
|
181
223
|
|
|
182
224
|
/* Tab Headers Bar */
|
|
183
225
|
.rdd-workspace-tab-bar {
|
|
226
|
+
min-height: 38px;
|
|
184
227
|
background-color: var(--rdd-bg-tab-bar);
|
|
185
228
|
border-bottom: 1px solid var(--rdd-border-panel);
|
|
186
229
|
padding: 0 4px;
|
|
@@ -388,14 +431,16 @@
|
|
|
388
431
|
min-width: 0;
|
|
389
432
|
overflow: hidden;
|
|
390
433
|
}
|
|
391
|
-
/* Collapses the tab strip by animating its width
|
|
392
|
-
|
|
434
|
+
/* Collapses the tab strip by animating its width to 0. The strip inside must not clip, so the
|
|
435
|
+
active tab's negative margin can reach into the drawer border. */
|
|
393
436
|
.rdd-sidebar-strip-wrap {
|
|
437
|
+
width: 56px;
|
|
394
438
|
height: 100%;
|
|
395
439
|
overflow: hidden;
|
|
396
440
|
transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
397
441
|
flex-shrink: 0;
|
|
398
442
|
}
|
|
443
|
+
.rdd-sidebar-strip-wrap--collapsed { width: 0; }
|
|
399
444
|
.rdd-sidebar-pane {
|
|
400
445
|
flex-direction: column;
|
|
401
446
|
height: 100%;
|
|
@@ -567,8 +612,14 @@ body.rdd-resizing-col-active * {
|
|
|
567
612
|
/* macOS/Win11 Glassmorphic Taskbar */
|
|
568
613
|
.rdd-taskbar-glassmorphic-item {
|
|
569
614
|
background: var(--rdd-taskbar-item-bg) !important;
|
|
570
|
-
|
|
571
|
-
|
|
615
|
+
/* 6px: the value that has always shown (an inline style used to override the 12px here). */
|
|
616
|
+
backdrop-filter: blur(6px);
|
|
617
|
+
-webkit-backdrop-filter: blur(6px);
|
|
618
|
+
scroll-snap-align: start;
|
|
619
|
+
width: 38px;
|
|
620
|
+
height: 38px;
|
|
621
|
+
position: relative;
|
|
622
|
+
padding: 0;
|
|
572
623
|
border: 1px solid var(--rdd-taskbar-item-border) !important;
|
|
573
624
|
color: var(--rdd-taskbar-item-text) !important;
|
|
574
625
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
@@ -606,9 +657,11 @@ body.rdd-resizing-col-active * {
|
|
|
606
657
|
}
|
|
607
658
|
|
|
608
659
|
@keyframes rdd-tooltip-fade-in {
|
|
660
|
+
/* Fades in from just above its resting place, so it never passes over the icon under it: a
|
|
661
|
+
click there would press on the preview and release on the icon, and neither would get it. */
|
|
609
662
|
from {
|
|
610
663
|
opacity: 0;
|
|
611
|
-
transform: translateX(-50%) translateY(-
|
|
664
|
+
transform: translateX(-50%) translateY(calc(-100% - 6px));
|
|
612
665
|
}
|
|
613
666
|
to {
|
|
614
667
|
opacity: 1;
|
|
@@ -641,7 +694,7 @@ body.rdd-resizing-col-active * {
|
|
|
641
694
|
top: 100%;
|
|
642
695
|
left: 0;
|
|
643
696
|
width: 100%;
|
|
644
|
-
height:
|
|
697
|
+
height: 8px; /* the preview sits 8px above the icon: the bridge ends exactly at its top edge */
|
|
645
698
|
background: transparent;
|
|
646
699
|
}
|
|
647
700
|
|
|
@@ -915,7 +968,7 @@ body.rdd-resizing-col-active * {
|
|
|
915
968
|
opacity: 0.6;
|
|
916
969
|
}
|
|
917
970
|
|
|
918
|
-
|
|
971
|
+
.rdd-context-menu__chevron:dir(rtl) {
|
|
919
972
|
margin-left: 0;
|
|
920
973
|
margin-right: auto;
|
|
921
974
|
padding-left: 0;
|
|
@@ -923,7 +976,7 @@ body.rdd-resizing-col-active * {
|
|
|
923
976
|
transform: scaleX(-1);
|
|
924
977
|
}
|
|
925
978
|
|
|
926
|
-
|
|
979
|
+
.rdd-context-menu__checkbox:dir(rtl) {
|
|
927
980
|
margin-left: 0;
|
|
928
981
|
margin-right: auto;
|
|
929
982
|
padding-left: 0;
|
|
@@ -1959,6 +2012,8 @@ body.rdd-dragging-active {
|
|
|
1959
2012
|
}
|
|
1960
2013
|
|
|
1961
2014
|
.rdd-sidebar-tabs-strip {
|
|
2015
|
+
width: 56px;
|
|
2016
|
+
height: 100%;
|
|
1962
2017
|
background-color: var(--rdd-sidebar-tabs-bg) !important;
|
|
1963
2018
|
display: flex;
|
|
1964
2019
|
flex-direction: column;
|
|
@@ -2406,10 +2461,10 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2406
2461
|
border-style: solid;
|
|
2407
2462
|
}
|
|
2408
2463
|
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2464
|
+
.rdd-corner-zone--top-right:dir(rtl) { right: auto; left: 0; }
|
|
2465
|
+
.rdd-corner-zone--top-left:dir(rtl) { left: auto; right: 0; }
|
|
2466
|
+
.rdd-corner-zone--bottom-right:dir(rtl) { right: auto; left: 0; }
|
|
2467
|
+
.rdd-corner-zone--bottom-left:dir(rtl) { left: auto; right: 0; }
|
|
2413
2468
|
|
|
2414
2469
|
|
|
2415
2470
|
/*
|
|
@@ -2440,37 +2495,37 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2440
2495
|
RTL (Right-to-Left) Support
|
|
2441
2496
|
========================================== */
|
|
2442
2497
|
|
|
2443
|
-
|
|
2498
|
+
.rdd-workspace-tab:dir(rtl) {
|
|
2444
2499
|
border-right: none !important;
|
|
2445
2500
|
border-left: 1px solid var(--rdd-border-panel) !important;
|
|
2446
2501
|
padding: 0 14px 0 6px !important;
|
|
2447
2502
|
}
|
|
2448
2503
|
|
|
2449
|
-
|
|
2504
|
+
.rdd-workspace-tab.rdd-drag-hover-left:dir(rtl) {
|
|
2450
2505
|
box-shadow: 3px 0 0 0 var(--rdd-accent-color, #38bdf8),
|
|
2451
2506
|
10px 0 10px -2px var(--rdd-accent-glow, rgba(56,189,248,0.35));
|
|
2452
2507
|
}
|
|
2453
|
-
|
|
2508
|
+
.rdd-workspace-tab.rdd-drag-hover-right:dir(rtl) {
|
|
2454
2509
|
box-shadow: -3px 0 0 0 var(--rdd-accent-color, #38bdf8),
|
|
2455
2510
|
-10px 0 10px -2px var(--rdd-accent-glow, rgba(56,189,248,0.35));
|
|
2456
2511
|
}
|
|
2457
2512
|
|
|
2458
|
-
|
|
2513
|
+
.rdd-workspace-tab > .rdd-text-truncate:dir(rtl) {
|
|
2459
2514
|
margin-right: 0 !important;
|
|
2460
2515
|
margin-left: 12px !important;
|
|
2461
2516
|
}
|
|
2462
2517
|
|
|
2463
|
-
|
|
2518
|
+
.rdd-workspace-tab-icon:dir(rtl) {
|
|
2464
2519
|
margin-right: 0 !important;
|
|
2465
2520
|
margin-left: 6px !important;
|
|
2466
2521
|
}
|
|
2467
2522
|
|
|
2468
|
-
|
|
2523
|
+
.rdd-tab-header-actions:dir(rtl) {
|
|
2469
2524
|
margin-left: 0 !important;
|
|
2470
2525
|
margin-right: auto !important;
|
|
2471
2526
|
}
|
|
2472
2527
|
|
|
2473
|
-
|
|
2528
|
+
.rdd-close-tab-x:dir(rtl) {
|
|
2474
2529
|
margin-left: 0 !important;
|
|
2475
2530
|
margin-right: auto !important;
|
|
2476
2531
|
}
|
|
@@ -2478,36 +2533,36 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2478
2533
|
/* Floating window title bar RTL — inherited direction:rtl on the titlebar flex container
|
|
2479
2534
|
moves buttons (last in DOM) to the LEFT and title (first in DOM) to the RIGHT.
|
|
2480
2535
|
No explicit row-reverse needed; only prevent the button group from reordering internally. */
|
|
2481
|
-
|
|
2536
|
+
.rdd-titlebar-actions:dir(rtl) { flex-direction: row; }
|
|
2482
2537
|
|
|
2483
2538
|
/* Side Panels transitions slide-in direction */
|
|
2484
|
-
|
|
2539
|
+
.rdd-side-panel-left:dir(rtl) {
|
|
2485
2540
|
left: auto !important;
|
|
2486
2541
|
right: 0 !important;
|
|
2487
2542
|
transform: translateX(100%) !important;
|
|
2488
2543
|
}
|
|
2489
|
-
|
|
2544
|
+
.rdd-side-panel-left.rdd-side-panel-visible:dir(rtl) {
|
|
2490
2545
|
transform: translateX(0) !important;
|
|
2491
2546
|
border-right: none !important;
|
|
2492
2547
|
border-left: 1px solid var(--rdd-border-panel, #3c3c3c) !important;
|
|
2493
2548
|
}
|
|
2494
2549
|
|
|
2495
|
-
|
|
2550
|
+
.rdd-side-panel-right:dir(rtl) {
|
|
2496
2551
|
right: auto !important;
|
|
2497
2552
|
left: 0 !important;
|
|
2498
2553
|
transform: translateX(-100%) !important;
|
|
2499
2554
|
}
|
|
2500
|
-
|
|
2555
|
+
.rdd-side-panel-right.rdd-side-panel-visible:dir(rtl) {
|
|
2501
2556
|
transform: translateX(0) !important;
|
|
2502
2557
|
border-left: none !important;
|
|
2503
2558
|
border-right: 1px solid var(--rdd-border-panel, #3c3c3c) !important;
|
|
2504
2559
|
}
|
|
2505
2560
|
|
|
2506
2561
|
/* Minimize Taskbar adjustments */
|
|
2507
|
-
|
|
2562
|
+
.rdd-taskbar-footer-container:dir(rtl) {
|
|
2508
2563
|
flex-direction: row-reverse !important;
|
|
2509
2564
|
}
|
|
2510
|
-
|
|
2565
|
+
.rdd-taskbar-item-icon:dir(rtl) {
|
|
2511
2566
|
margin-right: 0 !important;
|
|
2512
2567
|
margin-left: 4px !important;
|
|
2513
2568
|
}
|
|
@@ -2516,22 +2571,22 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2516
2571
|
Dots must stay on the LEFT in both LTR and RTL (real macOS behavior).
|
|
2517
2572
|
In RTL context flex-direction:row flows items right-to-left, so
|
|
2518
2573
|
DOM [title][buttons] → title at RIGHT, buttons at LEFT. */
|
|
2519
|
-
[
|
|
2574
|
+
[data-rdd-skin="macos"] .rdd-floating-window-titlebar:dir(rtl) {
|
|
2520
2575
|
flex-direction: row !important;
|
|
2521
2576
|
}
|
|
2522
2577
|
/* Title: pack icon+text toward the visual right (flex-start = right in RTL) */
|
|
2523
|
-
[
|
|
2578
|
+
[data-rdd-skin="macos"] .rdd-floating-window-titlebar .rdd-floating-window-title:dir(rtl) {
|
|
2524
2579
|
justify-content: flex-start !important;
|
|
2525
2580
|
}
|
|
2526
2581
|
/* Button group: keep dots in correct visual order (Red → Yellow → Green, close at far left).
|
|
2527
2582
|
direction:rtl (inherited) + flex-direction:row = right-to-left → DOM first item (more) at right,
|
|
2528
2583
|
last item (close) at left. */
|
|
2529
|
-
[
|
|
2584
|
+
[data-rdd-skin="macos"] .rdd-floating-window-titlebar .rdd-titlebar-actions:dir(rtl) {
|
|
2530
2585
|
flex-direction: row !important;
|
|
2531
2586
|
}
|
|
2532
2587
|
|
|
2533
2588
|
/* Mirror close-button margins for macOS tabs under RTL */
|
|
2534
|
-
[
|
|
2589
|
+
[data-rdd-skin="macos"] .rdd-close-tab-x:dir(rtl) {
|
|
2535
2590
|
margin-left: 0 !important;
|
|
2536
2591
|
margin-right: 2px !important;
|
|
2537
2592
|
}
|
|
@@ -2541,60 +2596,60 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2541
2596
|
.left strips move visually to the RIGHT and .right strips to the LEFT.
|
|
2542
2597
|
All physical border-left/border-right and box-shadow directions must swap. */
|
|
2543
2598
|
|
|
2544
|
-
|
|
2599
|
+
.rdd-sidebar-tabs-strip.rdd-left:dir(rtl) {
|
|
2545
2600
|
border-left: 1px solid var(--rdd-sidebar-border) !important;
|
|
2546
2601
|
border-right: none !important;
|
|
2547
2602
|
}
|
|
2548
|
-
|
|
2603
|
+
.rdd-sidebar-tabs-strip.rdd-right:dir(rtl) {
|
|
2549
2604
|
border-right: 1px solid var(--rdd-sidebar-border) !important;
|
|
2550
2605
|
border-left: none !important;
|
|
2551
2606
|
}
|
|
2552
2607
|
|
|
2553
|
-
|
|
2608
|
+
.rdd-sidebar-tabs-strip.rdd-left .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2554
2609
|
border-left: none !important;
|
|
2555
2610
|
border-right: var(--rdd-tab-accent-bar-width, 3px) solid var(--rdd-tab-icon-active) !important;
|
|
2556
2611
|
margin-left: -2px !important;
|
|
2557
2612
|
margin-right: 0 !important;
|
|
2558
2613
|
}
|
|
2559
|
-
|
|
2614
|
+
.rdd-sidebar-tabs-strip.rdd-right .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2560
2615
|
border-right: none !important;
|
|
2561
2616
|
border-left: var(--rdd-tab-accent-bar-width, 3px) solid var(--rdd-tab-icon-active) !important;
|
|
2562
2617
|
margin-right: -2px !important;
|
|
2563
2618
|
margin-left: 0 !important;
|
|
2564
2619
|
}
|
|
2565
2620
|
|
|
2566
|
-
|
|
2621
|
+
.rdd-sidebar-content-drawer.rdd-left:dir(rtl) {
|
|
2567
2622
|
border-left: 1px solid var(--rdd-sidebar-border) !important;
|
|
2568
2623
|
border-right: none !important;
|
|
2569
2624
|
box-shadow: -4px 0 16px rgba(0, 0, 0, 0.12);
|
|
2570
2625
|
}
|
|
2571
|
-
|
|
2626
|
+
.rdd-sidebar-content-drawer.rdd-right:dir(rtl) {
|
|
2572
2627
|
border-right: 1px solid var(--rdd-sidebar-border) !important;
|
|
2573
2628
|
border-left: none !important;
|
|
2574
2629
|
box-shadow: 4px 0 16px rgba(0, 0, 0, 0.12);
|
|
2575
2630
|
}
|
|
2576
2631
|
|
|
2577
2632
|
/* obsidian & tokyo — flip the inset glow X offset sign */
|
|
2578
|
-
[
|
|
2633
|
+
[data-rdd-skin="obsidian"] .rdd-sidebar-tabs-strip.rdd-left .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2579
2634
|
box-shadow: var(--rdd-tab-btn-active-shadow), inset -3px 0 8px rgba(255, 255, 255, 0.08) !important;
|
|
2580
2635
|
}
|
|
2581
|
-
[
|
|
2636
|
+
[data-rdd-skin="obsidian"] .rdd-sidebar-tabs-strip.rdd-right .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2582
2637
|
box-shadow: var(--rdd-tab-btn-active-shadow), inset 3px 0 8px rgba(255, 255, 255, 0.08) !important;
|
|
2583
2638
|
}
|
|
2584
|
-
[
|
|
2639
|
+
[data-rdd-skin="tokyo"] .rdd-sidebar-tabs-strip.rdd-left .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2585
2640
|
box-shadow: var(--rdd-tab-btn-active-shadow), inset -3px 0 12px rgba(122, 162, 247, 0.18) !important;
|
|
2586
2641
|
}
|
|
2587
|
-
[
|
|
2642
|
+
[data-rdd-skin="tokyo"] .rdd-sidebar-tabs-strip.rdd-right .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2588
2643
|
box-shadow: var(--rdd-tab-btn-active-shadow), inset 3px 0 12px rgba(122, 162, 247, 0.18) !important;
|
|
2589
2644
|
}
|
|
2590
2645
|
|
|
2591
2646
|
/* chrome — swap the capsule border-radius when strips change sides */
|
|
2592
|
-
[
|
|
2647
|
+
[data-rdd-skin="chrome"] .rdd-sidebar-tabs-strip.rdd-left .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2593
2648
|
border-radius: 10px 0 0 10px !important;
|
|
2594
2649
|
margin-left: 0 !important;
|
|
2595
2650
|
margin-right: 0 !important;
|
|
2596
2651
|
}
|
|
2597
|
-
[
|
|
2652
|
+
[data-rdd-skin="chrome"] .rdd-sidebar-tabs-strip.rdd-right .rdd-sidebar-tab-btn.rdd-active:dir(rtl) {
|
|
2598
2653
|
border-radius: 0 10px 10px 0 !important;
|
|
2599
2654
|
margin-right: 0 !important;
|
|
2600
2655
|
margin-left: 0 !important;
|
|
@@ -2640,6 +2695,8 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2640
2695
|
flex-grow: 1;
|
|
2641
2696
|
width: 100%;
|
|
2642
2697
|
height: 100%;
|
|
2698
|
+
position: relative;
|
|
2699
|
+
overflow: hidden;
|
|
2643
2700
|
}
|
|
2644
2701
|
|
|
2645
2702
|
/* Empty workspace section placeholder text */
|
|
@@ -3006,12 +3063,12 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3006
3063
|
.rdd-toolbar-group-flyout.rdd-top { transform-origin: top left; }
|
|
3007
3064
|
.rdd-toolbar-group-flyout.rdd-bottom { transform-origin: bottom left; }
|
|
3008
3065
|
/* RTL: physical sides swap, so animation origin flips horizontally */
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3066
|
+
.rdd-toolbar-group-flyout.rdd-left:dir(rtl) { transform-origin: top right; }
|
|
3067
|
+
.rdd-toolbar-group-flyout.rdd-right:dir(rtl) { transform-origin: top left; }
|
|
3068
|
+
.rdd-toolbar-group-flyout.rdd-top:dir(rtl) { transform-origin: top right; }
|
|
3069
|
+
.rdd-toolbar-group-flyout.rdd-bottom:dir(rtl) { transform-origin: bottom right; }
|
|
3013
3070
|
|
|
3014
|
-
|
|
3071
|
+
.rdd-toolbar-group-flyout-label:dir(rtl) {
|
|
3015
3072
|
text-align: right;
|
|
3016
3073
|
}
|
|
3017
3074
|
|
|
@@ -3731,12 +3788,12 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3731
3788
|
.rdd-panel-float-dropzone--bottom-left { bottom: 8px; left: 8px; }
|
|
3732
3789
|
.rdd-panel-float-dropzone--bottom-right { bottom: 8px; right: 8px; }
|
|
3733
3790
|
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3791
|
+
.rdd-panel-float-dropzone--top-right:dir(rtl) { right: auto; left: 8px; }
|
|
3792
|
+
.rdd-panel-float-dropzone--top-left:dir(rtl) { left: auto; right: 8px; }
|
|
3793
|
+
.rdd-panel-float-dropzone--bottom-right:dir(rtl) { right: auto; left: 8px; }
|
|
3794
|
+
.rdd-panel-float-dropzone--bottom-left:dir(rtl) { left: auto; right: 8px; }
|
|
3738
3795
|
|
|
3739
|
-
|
|
3796
|
+
.rdd-panel-float__title:dir(rtl) { text-align: right; }
|
|
3740
3797
|
|
|
3741
3798
|
/* ── Toast ── */
|
|
3742
3799
|
|
|
@@ -3838,8 +3895,8 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3838
3895
|
@keyframes rdd-toast-shrink { from { transform: scaleX(1); } to { transform: scaleX(0); } }
|
|
3839
3896
|
|
|
3840
3897
|
/* Toast RTL: flip icon/body order and progress bar collapse direction */
|
|
3841
|
-
|
|
3842
|
-
|
|
3898
|
+
.rdd-toast:dir(rtl) { flex-direction: row-reverse; }
|
|
3899
|
+
.rdd-toast__progress:dir(rtl) { transform-origin: right; }
|
|
3843
3900
|
|
|
3844
3901
|
/* ==========================================================================
|
|
3845
3902
|
KEYBOARD FOCUS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dockable-desktop",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.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",
|