react-dockable-desktop 6.3.0 → 6.3.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/LICENSE +21 -0
- package/README.md +8 -3
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -9
- package/dist/index.d.ts +27 -9
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +27 -357
- package/package.json +13 -1
package/dist/styles.css
CHANGED
|
@@ -149,30 +149,6 @@ body,
|
|
|
149
149
|
-webkit-font-smoothing: antialiased;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
/* Premium full viewport layout */
|
|
153
|
-
.full-viewport-layout {
|
|
154
|
-
display: flex;
|
|
155
|
-
flex-direction: column;
|
|
156
|
-
height: 100%;
|
|
157
|
-
width: 100%;
|
|
158
|
-
background-color: var(--rdd-bg-primary);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/* Subtle, high-tech grid styling for the window manager workspace */
|
|
162
|
-
.desktop-workspace,
|
|
163
|
-
.window-manager-workspace {
|
|
164
|
-
background-color: var(--rdd-bg-workspace);
|
|
165
|
-
background-size: 32px 32px;
|
|
166
|
-
position: relative;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.show-grid .desktop-workspace,
|
|
170
|
-
.show-grid .window-manager-workspace {
|
|
171
|
-
background-image:
|
|
172
|
-
linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
|
|
173
|
-
linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
152
|
/* Workspace Panel Container */
|
|
177
153
|
.rdd-workspace-panel {
|
|
178
154
|
background-color: var(--rdd-bg-panel);
|
|
@@ -558,7 +534,7 @@ body.rdd-resizing-col-active * {
|
|
|
558
534
|
display: block;
|
|
559
535
|
}
|
|
560
536
|
|
|
561
|
-
@keyframes
|
|
537
|
+
@keyframes rdd-tooltip-fade-in {
|
|
562
538
|
from {
|
|
563
539
|
opacity: 0;
|
|
564
540
|
transform: translateX(-50%) translateY(-90%);
|
|
@@ -578,7 +554,7 @@ body.rdd-resizing-col-active * {
|
|
|
578
554
|
font-family: 'Outfit', 'Inter', system-ui, sans-serif;
|
|
579
555
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
|
|
580
556
|
border: 1px solid var(--rdd-taskbar-item-border, rgba(255, 255, 255, 0.1)) !important;
|
|
581
|
-
animation:
|
|
557
|
+
animation: rdd-tooltip-fade-in 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
582
558
|
display: flex;
|
|
583
559
|
flex-direction: column;
|
|
584
560
|
gap: 0.25rem;
|
|
@@ -652,9 +628,6 @@ body.rdd-resizing-col-active * {
|
|
|
652
628
|
color: var(--rdd-close-btn-hover-color) !important;
|
|
653
629
|
opacity: 1 !important;
|
|
654
630
|
}
|
|
655
|
-
.rdd-scrollbar-hidden::-webkit-scrollbar {
|
|
656
|
-
display: none;
|
|
657
|
-
}
|
|
658
631
|
|
|
659
632
|
/* Cross-browser scrollbar styling (Firefox standard) — scoped to the library's
|
|
660
633
|
own workspace subtree, never the consumer's page. .rdd-sidebar-drawer-body is
|
|
@@ -688,12 +661,6 @@ body.rdd-resizing-col-active * {
|
|
|
688
661
|
background: var(--rdd-scrollbar-thumb-hover);
|
|
689
662
|
}
|
|
690
663
|
|
|
691
|
-
/* Premium Hover Highlight Effects */
|
|
692
|
-
.hover-bg:hover {
|
|
693
|
-
background-color: rgba(56, 189, 248, 0.08) !important;
|
|
694
|
-
border-color: rgba(56, 189, 248, 0.25) !important;
|
|
695
|
-
}
|
|
696
|
-
|
|
697
664
|
.rdd-floating-window {
|
|
698
665
|
display: flex;
|
|
699
666
|
flex-direction: column;
|
|
@@ -718,7 +685,7 @@ body.rdd-resizing-col-active * {
|
|
|
718
685
|
transition: opacity 0.2s ease;
|
|
719
686
|
}
|
|
720
687
|
|
|
721
|
-
.rdd-floating-window.maximized {
|
|
688
|
+
.rdd-floating-window.rdd-maximized {
|
|
722
689
|
border-radius: 0;
|
|
723
690
|
border: none;
|
|
724
691
|
box-shadow: none;
|
|
@@ -1033,6 +1000,11 @@ body.rdd-dragging-active {
|
|
|
1033
1000
|
}
|
|
1034
1001
|
|
|
1035
1002
|
/* --- Theme Variables for Sidebar and Tabs --- */
|
|
1003
|
+
/* Dark is the default scheme, so its tokens are defined on :root as well. <Toolbar> and <Sidebar>
|
|
1004
|
+
sit outside the workspace element, and WindowManager mirrors only a *light* scheme onto <html>
|
|
1005
|
+
— so with these under [data-color-scheme="dark"] alone, the toolbar and sidebar rendered with
|
|
1006
|
+
no background, border or text colour in dark mode unless the app set the attribute itself. */
|
|
1007
|
+
:root,
|
|
1036
1008
|
[data-color-scheme="dark"] {
|
|
1037
1009
|
--sidebar-bg: #1e2024;
|
|
1038
1010
|
--sidebar-tabs-bg: #141619;
|
|
@@ -2035,71 +2007,6 @@ body.rdd-dragging-active {
|
|
|
2035
2007
|
margin-right: 0 !important;
|
|
2036
2008
|
}
|
|
2037
2009
|
|
|
2038
|
-
/* Sidebar Window Cards */
|
|
2039
|
-
.sidebar-window-card {
|
|
2040
|
-
background-color: var(--sidebar-card-bg) !important;
|
|
2041
|
-
border: 1px solid var(--sidebar-card-border) !important;
|
|
2042
|
-
border-radius: 6px;
|
|
2043
|
-
padding: 10px;
|
|
2044
|
-
transition: all 0.15s ease;
|
|
2045
|
-
display: flex;
|
|
2046
|
-
flex-direction: column;
|
|
2047
|
-
gap: 8px;
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
.sidebar-window-card:hover {
|
|
2051
|
-
border-color: var(--sidebar-card-hover-border) !important;
|
|
2052
|
-
background-color: var(--sidebar-card-hover-bg) !important;
|
|
2053
|
-
}
|
|
2054
|
-
|
|
2055
|
-
.sidebar-window-card.rdd-active {
|
|
2056
|
-
background-color: var(--sidebar-card-active-bg) !important;
|
|
2057
|
-
border-color: var(--sidebar-card-active-border) !important;
|
|
2058
|
-
box-shadow: 0 0 10px var(--sidebar-card-active-shadow);
|
|
2059
|
-
}
|
|
2060
|
-
|
|
2061
|
-
/* Custom Outlined Front Button */
|
|
2062
|
-
.btn-pill-outline {
|
|
2063
|
-
border: 1px solid var(--sidebar-btn-front-border) !important;
|
|
2064
|
-
color: var(--sidebar-btn-front-text) !important;
|
|
2065
|
-
background: var(--sidebar-btn-front-bg) !important;
|
|
2066
|
-
font-size: 0.68rem !important;
|
|
2067
|
-
font-weight: 500 !important;
|
|
2068
|
-
border-radius: 12px !important;
|
|
2069
|
-
padding: 2px 10px !important;
|
|
2070
|
-
transition: all 0.15s ease !important;
|
|
2071
|
-
line-height: 1 !important;
|
|
2072
|
-
text-decoration: none !important;
|
|
2073
|
-
}
|
|
2074
|
-
|
|
2075
|
-
.btn-pill-outline:hover {
|
|
2076
|
-
background: var(--sidebar-btn-front-hover-bg) !important;
|
|
2077
|
-
transform: scale(1.03);
|
|
2078
|
-
}
|
|
2079
|
-
|
|
2080
|
-
/* Badge (Grid / Float) */
|
|
2081
|
-
.badge-pill-dark {
|
|
2082
|
-
background-color: var(--sidebar-badge-bg) !important;
|
|
2083
|
-
color: var(--sidebar-badge-text) !important;
|
|
2084
|
-
font-size: 0.65rem;
|
|
2085
|
-
font-weight: 600;
|
|
2086
|
-
padding: 3px 8px;
|
|
2087
|
-
border-radius: 4px;
|
|
2088
|
-
text-transform: uppercase;
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
/* Title text */
|
|
2092
|
-
.sidebar-card-title {
|
|
2093
|
-
font-size: 0.82rem;
|
|
2094
|
-
font-weight: 600;
|
|
2095
|
-
color: var(--sidebar-text-title);
|
|
2096
|
-
max-width: 130px;
|
|
2097
|
-
white-space: nowrap;
|
|
2098
|
-
overflow: hidden;
|
|
2099
|
-
text-overflow: ellipsis;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
2010
|
/* Animations are on by default. `animations={false}` on <WindowManager /> adds
|
|
2104
2011
|
`rdd-no-animations` to the workspace root and mirrors it onto <html> (so
|
|
2105
2012
|
portaled elements — ContextMenu, Toast, Toolbar's flyout — are covered too).
|
|
@@ -2118,12 +2025,12 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2118
2025
|
|
|
2119
2026
|
|
|
2120
2027
|
|
|
2121
|
-
@keyframes
|
|
2028
|
+
@keyframes rdd-fade-in {
|
|
2122
2029
|
from { opacity: 0; }
|
|
2123
2030
|
to { opacity: 1; }
|
|
2124
2031
|
}
|
|
2125
2032
|
|
|
2126
|
-
@keyframes
|
|
2033
|
+
@keyframes rdd-scale-up {
|
|
2127
2034
|
from { transform: scale(0.95); opacity: 0; }
|
|
2128
2035
|
to { transform: scale(1); opacity: 1; }
|
|
2129
2036
|
}
|
|
@@ -2136,7 +2043,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2136
2043
|
align-items: center;
|
|
2137
2044
|
justify-content: center;
|
|
2138
2045
|
z-index: calc(var(--rdd-z-base, 1000) + 9000);
|
|
2139
|
-
animation:
|
|
2046
|
+
animation: rdd-fade-in 0.18s ease-out;
|
|
2140
2047
|
}
|
|
2141
2048
|
|
|
2142
2049
|
.rdd-modal-curtain {
|
|
@@ -2157,7 +2064,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2157
2064
|
color: var(--rdd-text-primary);
|
|
2158
2065
|
max-width: 90%;
|
|
2159
2066
|
max-height: 90vh;
|
|
2160
|
-
animation:
|
|
2067
|
+
animation: rdd-scale-up 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2161
2068
|
overflow: hidden;
|
|
2162
2069
|
}
|
|
2163
2070
|
|
|
@@ -2324,19 +2231,19 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2324
2231
|
}
|
|
2325
2232
|
|
|
2326
2233
|
.rdd-side-panel-left.rdd-side-panel-visible {
|
|
2327
|
-
animation:
|
|
2234
|
+
animation: rdd-slide-in-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2328
2235
|
}
|
|
2329
2236
|
|
|
2330
2237
|
.rdd-side-panel-right.rdd-side-panel-visible {
|
|
2331
|
-
animation:
|
|
2238
|
+
animation: rdd-slide-in-right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2332
2239
|
}
|
|
2333
2240
|
|
|
2334
|
-
@keyframes
|
|
2241
|
+
@keyframes rdd-slide-in-left {
|
|
2335
2242
|
from { transform: translateX(-100%); }
|
|
2336
2243
|
to { transform: translateX(0); }
|
|
2337
2244
|
}
|
|
2338
2245
|
|
|
2339
|
-
@keyframes
|
|
2246
|
+
@keyframes rdd-slide-in-right {
|
|
2340
2247
|
from { transform: translateX(100%); }
|
|
2341
2248
|
to { transform: translateX(0); }
|
|
2342
2249
|
}
|
|
@@ -2387,7 +2294,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2387
2294
|
background-color: rgba(0, 123, 255, 0.2);
|
|
2388
2295
|
border: 2px dashed #007bff;
|
|
2389
2296
|
pointer-events: none;
|
|
2390
|
-
animation:
|
|
2297
|
+
animation: rdd-fade-in 0.15s ease-out;
|
|
2391
2298
|
}
|
|
2392
2299
|
|
|
2393
2300
|
/* Workspace corner anchor drop zones */
|
|
@@ -2821,242 +2728,6 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2821
2728
|
overflow: auto;
|
|
2822
2729
|
}
|
|
2823
2730
|
|
|
2824
|
-
/* ==========================================================================
|
|
2825
|
-
SIDEBAR CONTENT PRIMITIVES (.sb-*)
|
|
2826
|
-
Library-native classes for building sidebar tab content.
|
|
2827
|
-
All values reference CSS variables — override via theme or custom CSS.
|
|
2828
|
-
========================================================================== */
|
|
2829
|
-
|
|
2830
|
-
/* Section wrapper — use to group related controls */
|
|
2831
|
-
.sb-section {
|
|
2832
|
-
display: flex;
|
|
2833
|
-
flex-direction: column;
|
|
2834
|
-
gap: 8px;
|
|
2835
|
-
padding: 12px;
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
/* Section heading — UPPERCASE monospace label */
|
|
2839
|
-
.sb-section-title {
|
|
2840
|
-
font-family: monospace;
|
|
2841
|
-
font-size: 0.72rem;
|
|
2842
|
-
font-weight: 700;
|
|
2843
|
-
letter-spacing: 0.08em;
|
|
2844
|
-
text-transform: uppercase;
|
|
2845
|
-
color: var(--sidebar-text-muted, var(--rdd-text-secondary));
|
|
2846
|
-
margin: 0 0 4px 0;
|
|
2847
|
-
}
|
|
2848
|
-
|
|
2849
|
-
/* Horizontal rule between sections */
|
|
2850
|
-
.sb-separator {
|
|
2851
|
-
border: none;
|
|
2852
|
-
border-top: 1px solid var(--sidebar-border);
|
|
2853
|
-
margin: 4px 0;
|
|
2854
|
-
}
|
|
2855
|
-
|
|
2856
|
-
/* Empty state placeholder */
|
|
2857
|
-
.sb-empty-state {
|
|
2858
|
-
font-size: 0.8rem;
|
|
2859
|
-
color: var(--sidebar-text-muted, var(--rdd-text-secondary));
|
|
2860
|
-
text-align: center;
|
|
2861
|
-
padding: 16px 12px;
|
|
2862
|
-
}
|
|
2863
|
-
|
|
2864
|
-
/* Item card */
|
|
2865
|
-
.sb-card {
|
|
2866
|
-
background-color: var(--sidebar-card-bg);
|
|
2867
|
-
border: 1px solid var(--sidebar-card-border);
|
|
2868
|
-
border-radius: 6px;
|
|
2869
|
-
padding: 10px;
|
|
2870
|
-
display: flex;
|
|
2871
|
-
flex-direction: column;
|
|
2872
|
-
gap: 8px;
|
|
2873
|
-
transition: border-color 0.15s ease, background-color 0.15s ease;
|
|
2874
|
-
}
|
|
2875
|
-
.sb-card:hover {
|
|
2876
|
-
border-color: var(--sidebar-card-hover-border);
|
|
2877
|
-
background-color: var(--sidebar-card-hover-bg);
|
|
2878
|
-
}
|
|
2879
|
-
.sb-card.rdd-active {
|
|
2880
|
-
background-color: var(--sidebar-card-active-bg);
|
|
2881
|
-
border-color: var(--sidebar-card-active-border);
|
|
2882
|
-
box-shadow: 0 0 10px var(--sidebar-card-active-shadow);
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
/* Card title — truncated single line */
|
|
2886
|
-
.sb-card-title {
|
|
2887
|
-
font-size: 0.82rem;
|
|
2888
|
-
font-weight: 600;
|
|
2889
|
-
color: var(--sidebar-text-title);
|
|
2890
|
-
white-space: nowrap;
|
|
2891
|
-
overflow: hidden;
|
|
2892
|
-
text-overflow: ellipsis;
|
|
2893
|
-
min-width: 0;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
/* Card metadata row — secondary info, badges, action buttons */
|
|
2897
|
-
.sb-card-meta {
|
|
2898
|
-
display: flex;
|
|
2899
|
-
align-items: center;
|
|
2900
|
-
justify-content: space-between;
|
|
2901
|
-
gap: 6px;
|
|
2902
|
-
}
|
|
2903
|
-
|
|
2904
|
-
/* Status badge */
|
|
2905
|
-
.sb-badge {
|
|
2906
|
-
background-color: var(--sidebar-badge-bg);
|
|
2907
|
-
color: var(--sidebar-badge-text);
|
|
2908
|
-
font-family: monospace;
|
|
2909
|
-
font-size: 0.65rem;
|
|
2910
|
-
font-weight: 600;
|
|
2911
|
-
letter-spacing: 0.04em;
|
|
2912
|
-
text-transform: uppercase;
|
|
2913
|
-
padding: 2px 7px;
|
|
2914
|
-
border-radius: 4px;
|
|
2915
|
-
white-space: nowrap;
|
|
2916
|
-
}
|
|
2917
|
-
|
|
2918
|
-
/* Primary filled button */
|
|
2919
|
-
.sb-btn {
|
|
2920
|
-
display: inline-flex;
|
|
2921
|
-
align-items: center;
|
|
2922
|
-
justify-content: center;
|
|
2923
|
-
gap: 4px;
|
|
2924
|
-
background: var(--rdd-accent-color);
|
|
2925
|
-
color: var(--rdd-bg-primary);
|
|
2926
|
-
border: none;
|
|
2927
|
-
border-radius: 5px;
|
|
2928
|
-
padding: 5px 12px;
|
|
2929
|
-
font-size: 0.78rem;
|
|
2930
|
-
font-weight: 600;
|
|
2931
|
-
cursor: pointer;
|
|
2932
|
-
transition: opacity 0.15s ease, transform 0.1s ease;
|
|
2933
|
-
}
|
|
2934
|
-
.sb-btn:hover { opacity: 0.88; transform: scale(1.02); }
|
|
2935
|
-
.sb-btn:active { transform: scale(0.98); }
|
|
2936
|
-
|
|
2937
|
-
/* Outlined accent button */
|
|
2938
|
-
.sb-btn-outline {
|
|
2939
|
-
display: inline-flex;
|
|
2940
|
-
align-items: center;
|
|
2941
|
-
justify-content: center;
|
|
2942
|
-
gap: 4px;
|
|
2943
|
-
background: transparent;
|
|
2944
|
-
color: var(--sidebar-btn-front-text);
|
|
2945
|
-
border: 1px solid var(--sidebar-btn-front-border);
|
|
2946
|
-
border-radius: 12px;
|
|
2947
|
-
padding: 2px 10px;
|
|
2948
|
-
font-size: 0.68rem;
|
|
2949
|
-
font-weight: 500;
|
|
2950
|
-
cursor: pointer;
|
|
2951
|
-
transition: background-color 0.15s ease, transform 0.1s ease;
|
|
2952
|
-
line-height: 1;
|
|
2953
|
-
}
|
|
2954
|
-
.sb-btn-outline:hover {
|
|
2955
|
-
background-color: var(--sidebar-btn-front-hover-bg);
|
|
2956
|
-
transform: scale(1.03);
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
/* Icon-only ghost button — for card action rows */
|
|
2960
|
-
.sb-btn-ghost {
|
|
2961
|
-
display: inline-flex;
|
|
2962
|
-
align-items: center;
|
|
2963
|
-
justify-content: center;
|
|
2964
|
-
background: transparent;
|
|
2965
|
-
color: var(--rdd-text-secondary);
|
|
2966
|
-
border: none;
|
|
2967
|
-
border-radius: 4px;
|
|
2968
|
-
padding: 3px 5px;
|
|
2969
|
-
cursor: pointer;
|
|
2970
|
-
transition: color 0.15s ease, background-color 0.15s ease;
|
|
2971
|
-
}
|
|
2972
|
-
.sb-btn-ghost:hover {
|
|
2973
|
-
color: var(--rdd-text-primary);
|
|
2974
|
-
background-color: var(--sidebar-btn-hover-bg);
|
|
2975
|
-
}
|
|
2976
|
-
.sb-btn-ghost.danger:hover { color: #f87171; }
|
|
2977
|
-
|
|
2978
|
-
/* Field: label + control */
|
|
2979
|
-
.sb-field {
|
|
2980
|
-
display: flex;
|
|
2981
|
-
flex-direction: column;
|
|
2982
|
-
gap: 5px;
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
|
-
/* Field label */
|
|
2986
|
-
.sb-label {
|
|
2987
|
-
font-size: 0.75rem;
|
|
2988
|
-
font-weight: 500;
|
|
2989
|
-
color: var(--sidebar-text-title);
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
/* Text input */
|
|
2993
|
-
.sb-input {
|
|
2994
|
-
background: var(--rdd-bg-panel);
|
|
2995
|
-
color: var(--rdd-text-primary);
|
|
2996
|
-
border: 1px solid var(--sidebar-border);
|
|
2997
|
-
border-radius: 5px;
|
|
2998
|
-
padding: 5px 8px;
|
|
2999
|
-
font-size: 0.8rem;
|
|
3000
|
-
width: 100%;
|
|
3001
|
-
box-sizing: border-box;
|
|
3002
|
-
transition: border-color 0.15s ease;
|
|
3003
|
-
outline: none;
|
|
3004
|
-
}
|
|
3005
|
-
.sb-input:focus { border-color: var(--rdd-accent-color); }
|
|
3006
|
-
.sb-input::placeholder { color: var(--rdd-text-secondary); }
|
|
3007
|
-
|
|
3008
|
-
/* Select control */
|
|
3009
|
-
.sb-select {
|
|
3010
|
-
background: var(--rdd-bg-panel);
|
|
3011
|
-
color: var(--rdd-text-primary);
|
|
3012
|
-
border: 1px solid var(--sidebar-border);
|
|
3013
|
-
border-radius: 5px;
|
|
3014
|
-
padding: 5px 8px;
|
|
3015
|
-
font-size: 0.8rem;
|
|
3016
|
-
width: 100%;
|
|
3017
|
-
box-sizing: border-box;
|
|
3018
|
-
cursor: pointer;
|
|
3019
|
-
transition: border-color 0.15s ease;
|
|
3020
|
-
outline: none;
|
|
3021
|
-
}
|
|
3022
|
-
.sb-select:focus { border-color: var(--rdd-accent-color); }
|
|
3023
|
-
|
|
3024
|
-
/* Range slider */
|
|
3025
|
-
.sb-range {
|
|
3026
|
-
width: 100%;
|
|
3027
|
-
accent-color: var(--rdd-accent-color);
|
|
3028
|
-
cursor: pointer;
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
/* Inline row of controls (e.g. range + value label) */
|
|
3032
|
-
.sb-field-row {
|
|
3033
|
-
display: flex;
|
|
3034
|
-
align-items: center;
|
|
3035
|
-
gap: 8px;
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
/* Monospace value readout next to a range */
|
|
3039
|
-
.sb-field-value {
|
|
3040
|
-
font-family: monospace;
|
|
3041
|
-
font-size: 0.78rem;
|
|
3042
|
-
color: var(--rdd-text-primary);
|
|
3043
|
-
white-space: nowrap;
|
|
3044
|
-
min-width: 36px;
|
|
3045
|
-
text-align: right;
|
|
3046
|
-
}
|
|
3047
|
-
|
|
3048
|
-
/* Toggle switch row: label on left, switch on right */
|
|
3049
|
-
.sb-toggle-row {
|
|
3050
|
-
display: flex;
|
|
3051
|
-
align-items: center;
|
|
3052
|
-
justify-content: space-between;
|
|
3053
|
-
gap: 8px;
|
|
3054
|
-
}
|
|
3055
|
-
.sb-toggle-label {
|
|
3056
|
-
font-size: 0.8rem;
|
|
3057
|
-
color: var(--rdd-text-primary);
|
|
3058
|
-
}
|
|
3059
|
-
|
|
3060
2731
|
/* ==========================================================================
|
|
3061
2732
|
TOOLBAR STRIP
|
|
3062
2733
|
========================================================================== */
|
|
@@ -3069,6 +2740,14 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3069
2740
|
z-index: 5;
|
|
3070
2741
|
}
|
|
3071
2742
|
|
|
2743
|
+
/* A hidden strip (visible={false}) is collapsed to 0 on its cross axis. Its edge border and
|
|
2744
|
+
padding would otherwise still paint a 1px line; the strip is also made inert in Toolbar.tsx so
|
|
2745
|
+
its buttons leave the Tab order. */
|
|
2746
|
+
.rdd-toolbar-strip.rdd-collapsed {
|
|
2747
|
+
border-width: 0 !important;
|
|
2748
|
+
padding: 0 !important;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
3072
2751
|
.rdd-toolbar-strip.rdd-left,
|
|
3073
2752
|
.rdd-toolbar-strip.rdd-right {
|
|
3074
2753
|
flex-direction: column;
|
|
@@ -3223,10 +2902,10 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3223
2902
|
flex-direction: column;
|
|
3224
2903
|
gap: 1px;
|
|
3225
2904
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
3226
|
-
animation: toolbar-flyout-in 0.12s cubic-bezier(0.16, 1, 0.3, 1);
|
|
2905
|
+
animation: rdd-toolbar-flyout-in 0.12s cubic-bezier(0.16, 1, 0.3, 1);
|
|
3227
2906
|
}
|
|
3228
2907
|
|
|
3229
|
-
@keyframes toolbar-flyout-in {
|
|
2908
|
+
@keyframes rdd-toolbar-flyout-in {
|
|
3230
2909
|
from { opacity: 0; transform: scale(0.95); }
|
|
3231
2910
|
to { opacity: 1; transform: scale(1); }
|
|
3232
2911
|
}
|
|
@@ -3917,15 +3596,6 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
3917
3596
|
min-height: 0;
|
|
3918
3597
|
}
|
|
3919
3598
|
|
|
3920
|
-
/* Resize grip — bottom-right corner */
|
|
3921
|
-
.rdd-panel-float__resize {
|
|
3922
|
-
position: absolute;
|
|
3923
|
-
bottom: 0;
|
|
3924
|
-
right: 0;
|
|
3925
|
-
width: 12px;
|
|
3926
|
-
height: 12px;
|
|
3927
|
-
cursor: nwse-resize;
|
|
3928
|
-
}
|
|
3929
3599
|
|
|
3930
3600
|
/* ── Docking drop zones (visible while dragging a floating window) ── */
|
|
3931
3601
|
/* Armed for resize-to-stretch: the clamps already hold the widget exactly where a stretched axis
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dockable-desktop",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.2",
|
|
4
|
+
"license": "MIT",
|
|
4
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.",
|
|
5
6
|
"main": "dist/index.cjs",
|
|
6
7
|
"module": "dist/index.js",
|
|
@@ -20,6 +21,17 @@
|
|
|
20
21
|
"files": [
|
|
21
22
|
"dist"
|
|
22
23
|
],
|
|
24
|
+
"keywords": [
|
|
25
|
+
"react",
|
|
26
|
+
"dockable",
|
|
27
|
+
"layout",
|
|
28
|
+
"window-manager",
|
|
29
|
+
"docking",
|
|
30
|
+
"panels",
|
|
31
|
+
"workspace",
|
|
32
|
+
"ide",
|
|
33
|
+
"vue-dockable-desktop"
|
|
34
|
+
],
|
|
23
35
|
"repository": {
|
|
24
36
|
"type": "git",
|
|
25
37
|
"url": "git+https://github.com/felipecarrillo100/react-dockable-desktop.git"
|