react-dockable-desktop 7.11.0 → 7.12.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/CHANGELOG.md +163 -1
- package/README.md +13 -4
- package/dist/index.cjs +10 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +381 -3
- package/dist/index.d.ts +381 -3
- package/dist/index.js +10 -8
- package/dist/index.js.map +1 -1
- package/dist/styles.css +61 -0
- package/package.json +3 -1
package/dist/styles.css
CHANGED
|
@@ -735,6 +735,18 @@ body.rdd-resizing-col-active * {
|
|
|
735
735
|
box-shadow: 0 6px 16px color-mix(in srgb, var(--rdd-accent-color) 15%, transparent);
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
+
/* A panel in its own window (7.12.0): the same item, with a small marker in its corner. */
|
|
739
|
+
.rdd-taskbar-item--popout { overflow: visible; }
|
|
740
|
+
.rdd-taskbar-item-popout-marker {
|
|
741
|
+
position: absolute;
|
|
742
|
+
top: 2px;
|
|
743
|
+
inset-inline-end: 2px;
|
|
744
|
+
display: inline-flex;
|
|
745
|
+
color: var(--rdd-accent-color);
|
|
746
|
+
pointer-events: none;
|
|
747
|
+
}
|
|
748
|
+
.rdd-taskbar-item-popout-marker .rdd-svg-icon { width: 10px; height: 10px; }
|
|
749
|
+
|
|
738
750
|
/* Minimalist Taskbar Icon-Only & Premium Tooltip Rules */
|
|
739
751
|
.rdd-taskbar-item-icon {
|
|
740
752
|
font-size: 22px !important;
|
|
@@ -4220,6 +4232,55 @@ html.rdd-no-animations [class*="rdd-"]::after {
|
|
|
4220
4232
|
.rdd-toast:dir(rtl) { flex-direction: row-reverse; }
|
|
4221
4233
|
.rdd-toast__progress:dir(rtl) { transform-origin: right; }
|
|
4222
4234
|
|
|
4235
|
+
/* ==========================================================================
|
|
4236
|
+
POP-OUT WINDOWS (7.12.0)
|
|
4237
|
+
A panel in its own browser window: the library's frame fills the child window's <body>, with a
|
|
4238
|
+
header (icon, title, a "Return to desktop" button) over the panel's slot. The window gets this
|
|
4239
|
+
sheet from the page (S3); the frame is also .rdd-workspace and repeats the workspace's colour scheme
|
|
4240
|
+
and skin, so its colours are the workspace's. Its minimum layout is inline as well, so content
|
|
4241
|
+
stays usable without the sheet.
|
|
4242
|
+
========================================================================== */
|
|
4243
|
+
.rdd-popout-frame {
|
|
4244
|
+
position: fixed;
|
|
4245
|
+
inset: 0;
|
|
4246
|
+
display: flex;
|
|
4247
|
+
flex-direction: column;
|
|
4248
|
+
}
|
|
4249
|
+
.rdd-popout-frame__header {
|
|
4250
|
+
flex: 0 0 auto;
|
|
4251
|
+
display: flex;
|
|
4252
|
+
align-items: center;
|
|
4253
|
+
gap: 6px;
|
|
4254
|
+
padding: 4px 8px;
|
|
4255
|
+
font-size: 12px;
|
|
4256
|
+
background-color: var(--rdd-window-header-bg);
|
|
4257
|
+
border-bottom: 1px solid var(--rdd-window-border);
|
|
4258
|
+
}
|
|
4259
|
+
.rdd-popout-frame__icon { display: inline-flex; }
|
|
4260
|
+
/* A managed widget's frame: its title icon is a button that opens the widget's own menu. */
|
|
4261
|
+
.rdd-popout-frame__icon--menu {
|
|
4262
|
+
padding: 0;
|
|
4263
|
+
border: 0;
|
|
4264
|
+
background: none;
|
|
4265
|
+
color: inherit;
|
|
4266
|
+
cursor: pointer;
|
|
4267
|
+
}
|
|
4268
|
+
.rdd-popout-frame__title {
|
|
4269
|
+
flex: 1 1 auto;
|
|
4270
|
+
min-width: 0;
|
|
4271
|
+
overflow: hidden;
|
|
4272
|
+
text-overflow: ellipsis;
|
|
4273
|
+
white-space: nowrap;
|
|
4274
|
+
}
|
|
4275
|
+
/* The way back: a title-bar button in the skin (.rdd-custom-tab-btn), as a floating window's; its
|
|
4276
|
+
label is the tooltip and the accessible name. The styling hook is this class. */
|
|
4277
|
+
.rdd-popout-frame__return { flex: 0 0 auto; }
|
|
4278
|
+
.rdd-popout-frame__body {
|
|
4279
|
+
flex: 1 1 auto;
|
|
4280
|
+
min-height: 0;
|
|
4281
|
+
position: relative;
|
|
4282
|
+
}
|
|
4283
|
+
.rdd-popout-frame__body > .rdd-panel-dom-host { position: absolute; inset: 0; }
|
|
4223
4284
|
/* ==========================================================================
|
|
4224
4285
|
KEYBOARD FOCUS
|
|
4225
4286
|
A visible ring on every library control reached from the keyboard (WCAG 2.4.7). Only
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-dockable-desktop",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.12.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",
|
|
@@ -72,6 +72,8 @@
|
|
|
72
72
|
"react-dom": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
+
"@emotion/cache": "^11.14.0",
|
|
76
|
+
"@emotion/react": "^11.14.0",
|
|
75
77
|
"@eslint/js": "^10.0.1",
|
|
76
78
|
"@microsoft/api-extractor": "^7.59.4",
|
|
77
79
|
"@monaco-editor/react": "^4.6.0",
|