react-dockable-desktop 5.1.4 → 5.2.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 +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +44 -8
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
--rdd-modal-header-bg: rgba(0, 0, 0, 0.15);
|
|
35
35
|
--rdd-modal-header-border: rgba(255, 255, 255, 0.06);
|
|
36
36
|
--rdd-modal-close-hover-color: #ffffff;
|
|
37
|
+
--rdd-side-panel-bg: rgba(20, 23, 34, 0.88);
|
|
38
|
+
--rdd-side-panel-border: rgba(255, 255, 255, 0.08);
|
|
39
|
+
--rdd-side-panel-header-bg: rgba(0, 0, 0, 0.15);
|
|
40
|
+
--rdd-side-panel-header-border: rgba(255, 255, 255, 0.06);
|
|
41
|
+
--rdd-side-panel-close-hover-color: #ffffff;
|
|
37
42
|
/* Grid/Docked panel theme variables */
|
|
38
43
|
--rdd-border-panel: rgba(255, 255, 255, 0.08);
|
|
39
44
|
--rdd-bg-tab-inactive: #0c0d12;
|
|
@@ -1089,6 +1094,12 @@ body.rdd-dragging-active {
|
|
|
1089
1094
|
--rdd-modal-header-bg: rgba(0, 0, 0, 0.04);
|
|
1090
1095
|
--rdd-modal-header-border: rgba(0, 0, 0, 0.08);
|
|
1091
1096
|
--rdd-modal-close-hover-color: #212529;
|
|
1097
|
+
/* Light skin side panel overrides */
|
|
1098
|
+
--rdd-side-panel-bg: rgba(255, 255, 255, 0.97);
|
|
1099
|
+
--rdd-side-panel-border: rgba(0, 0, 0, 0.1);
|
|
1100
|
+
--rdd-side-panel-header-bg: rgba(0, 0, 0, 0.04);
|
|
1101
|
+
--rdd-side-panel-header-border: rgba(0, 0, 0, 0.08);
|
|
1102
|
+
--rdd-side-panel-close-hover-color: #212529;
|
|
1092
1103
|
/* Light skin grid/docked panel overrides */
|
|
1093
1104
|
--rdd-border-panel: rgba(0, 0, 0, 0.08);
|
|
1094
1105
|
--rdd-bg-tab-inactive: #e9ecef;
|
|
@@ -1868,13 +1879,38 @@ body.rdd-dragging-active {
|
|
|
1868
1879
|
display: flex;
|
|
1869
1880
|
flex-direction: column;
|
|
1870
1881
|
align-items: center;
|
|
1871
|
-
padding-top: 38px; /* Perfectly aligned to match the 38px height of the drawer header bar
|
|
1882
|
+
padding-top: 38px; /* Perfectly aligned to match the 38px height of the drawer header bar — only
|
|
1883
|
+
relevant when a tab is the first item; see the modifier rule below. */
|
|
1872
1884
|
padding-bottom: 12px;
|
|
1873
|
-
gap: 8px;
|
|
1874
1885
|
flex-shrink: 0;
|
|
1875
1886
|
z-index: 5;
|
|
1876
1887
|
}
|
|
1877
1888
|
|
|
1889
|
+
/* When a headerAction is present, it owns its own top/bottom spacing (see
|
|
1890
|
+
.rdd-sidebar-header-area below) — the strip's own alignment padding no longer applies. */
|
|
1891
|
+
.rdd-sidebar-tabs-strip.rdd-sidebar-tabs-strip--has-header-action {
|
|
1892
|
+
padding-top: 0;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/* Wraps `headerAction` — independent of .rdd-sidebar-tabs-list's own gap, so a consumer can
|
|
1896
|
+
tune spacing/effective height around their button (default or fully custom-rendered) without
|
|
1897
|
+
touching inter-tab spacing. Layout-only values, so no light/dark variant is needed. */
|
|
1898
|
+
.rdd-sidebar-header-area {
|
|
1899
|
+
display: flex;
|
|
1900
|
+
align-items: center;
|
|
1901
|
+
justify-content: center;
|
|
1902
|
+
padding-top: var(--rdd-sidebar-header-area-padding-top, 8px);
|
|
1903
|
+
padding-bottom: var(--rdd-sidebar-header-area-padding-bottom, 8px);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
/* Wraps the tabs only — owns the gap that used to live on .rdd-sidebar-tabs-strip itself. */
|
|
1907
|
+
.rdd-sidebar-tabs-list {
|
|
1908
|
+
display: flex;
|
|
1909
|
+
flex-direction: column;
|
|
1910
|
+
align-items: center;
|
|
1911
|
+
gap: 8px;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1878
1914
|
/* Position-specific tab strip border alignment */
|
|
1879
1915
|
.rdd-sidebar-tabs-strip.rdd-left {
|
|
1880
1916
|
border-right: 1px solid var(--sidebar-border) !important;
|
|
@@ -2143,10 +2179,10 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2143
2179
|
top: 0;
|
|
2144
2180
|
bottom: 0;
|
|
2145
2181
|
width: 400px;
|
|
2146
|
-
background:
|
|
2182
|
+
background: var(--rdd-side-panel-bg);
|
|
2147
2183
|
backdrop-filter: blur(20px) saturate(180%);
|
|
2148
2184
|
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
2149
|
-
border-right: 1px solid
|
|
2185
|
+
border-right: 1px solid var(--rdd-side-panel-border);
|
|
2150
2186
|
z-index: calc(var(--rdd-z-base, 1000) + 8000);
|
|
2151
2187
|
box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
|
|
2152
2188
|
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
|
@@ -2157,7 +2193,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2157
2193
|
.rdd-side-panel-right {
|
|
2158
2194
|
right: 0;
|
|
2159
2195
|
border-right: none;
|
|
2160
|
-
border-left: 1px solid
|
|
2196
|
+
border-left: 1px solid var(--rdd-side-panel-border);
|
|
2161
2197
|
box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
|
|
2162
2198
|
}
|
|
2163
2199
|
|
|
@@ -2176,8 +2212,8 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2176
2212
|
display: flex;
|
|
2177
2213
|
align-items: center;
|
|
2178
2214
|
padding: 12px 20px;
|
|
2179
|
-
border-bottom: 1px solid
|
|
2180
|
-
background-color:
|
|
2215
|
+
border-bottom: 1px solid var(--rdd-side-panel-header-border);
|
|
2216
|
+
background-color: var(--rdd-side-panel-header-bg);
|
|
2181
2217
|
min-height: 44px;
|
|
2182
2218
|
}
|
|
2183
2219
|
|
|
@@ -2211,7 +2247,7 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
2211
2247
|
|
|
2212
2248
|
.rdd-side-panel-close-button:hover {
|
|
2213
2249
|
background-color: rgba(255, 255, 255, 0.08);
|
|
2214
|
-
color:
|
|
2250
|
+
color: var(--rdd-side-panel-close-hover-color);
|
|
2215
2251
|
}
|
|
2216
2252
|
|
|
2217
2253
|
.rdd-side-panel-body {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dockable-desktop",
|
|
3
|
-
"version": "5.1
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"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
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|