vue-dockable-desktop 1.1.2 → 1.2.0
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 +48 -0
- package/dist/composables/useLibraryMessage.d.ts +10 -0
- package/dist/core/messages.d.ts +8 -0
- package/dist/core/panelDom.d.ts +8 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +689 -613
- package/dist/index.js.map +1 -1
- package/dist/styles.css +27 -4
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
:root {
|
|
19
|
+
/* The font of all the library's chrome. `inherit` hands it to the host page instead. */
|
|
20
|
+
--vdd-font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
|
|
19
21
|
--vdd-styles-loaded: 1; /* sentinel — checked at mount to detect missing CSS import */
|
|
20
22
|
--vdd-z-base: 1000; /* base for floating windows + all chrome overlays; override via WindowManagerProvider's zIndexBase */
|
|
21
23
|
--vdd-bg-primary: #090b11;
|
|
@@ -208,10 +210,24 @@
|
|
|
208
210
|
.vdd-workspace {
|
|
209
211
|
background-color: var(--vdd-bg-primary);
|
|
210
212
|
color: var(--vdd-text-primary);
|
|
211
|
-
font-family:
|
|
213
|
+
font-family: var(--vdd-font-family);
|
|
212
214
|
-webkit-font-smoothing: antialiased;
|
|
213
215
|
}
|
|
214
216
|
|
|
217
|
+
/* Chrome rendered outside the workspace root — the sidebar and toolbar around it, and the
|
|
218
|
+
modals, drawers, toasts, menus and flyouts mounted beside it or teleported to <body> — does
|
|
219
|
+
not inherit from .vdd-workspace, so it reads the token itself. Without this it took the host
|
|
220
|
+
page's body font. */
|
|
221
|
+
.vdd-sidebar-layout,
|
|
222
|
+
.vdd-toolbar-strip,
|
|
223
|
+
.vdd-modal-overlay,
|
|
224
|
+
.vdd-side-panel,
|
|
225
|
+
.vdd-toast-container,
|
|
226
|
+
.vdd-toolbar-group-flyout,
|
|
227
|
+
.vdd-panel-toolbar-search__dropdown {
|
|
228
|
+
font-family: var(--vdd-font-family);
|
|
229
|
+
}
|
|
230
|
+
|
|
215
231
|
/* Workspace Panel Container */
|
|
216
232
|
.vdd-workspace-panel {
|
|
217
233
|
background-color: var(--vdd-bg-panel);
|
|
@@ -280,6 +296,13 @@
|
|
|
280
296
|
transition: background-color 0.1s ease, color 0.1s ease;
|
|
281
297
|
}
|
|
282
298
|
|
|
299
|
+
/* Tabs take keyboard focus (one tab stop per group). The ring shows for keyboard focus only,
|
|
300
|
+
so clicking a tab looks as it always did. */
|
|
301
|
+
.vdd-workspace-tab:focus-visible {
|
|
302
|
+
outline: 2px solid var(--vdd-accent-color, #38bdf8);
|
|
303
|
+
outline-offset: -2px;
|
|
304
|
+
}
|
|
305
|
+
|
|
283
306
|
.vdd-workspace-tab > .vdd-text-truncate {
|
|
284
307
|
margin-right: 12px;
|
|
285
308
|
}
|
|
@@ -626,7 +649,7 @@ body.vdd-resizing-col-active * {
|
|
|
626
649
|
padding: 8px !important;
|
|
627
650
|
border-radius: 6px;
|
|
628
651
|
font-size: 11px !important;
|
|
629
|
-
font-family:
|
|
652
|
+
font-family: var(--vdd-font-family);
|
|
630
653
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
|
|
631
654
|
border: 1px solid var(--vdd-taskbar-item-border, rgba(255, 255, 255, 0.1)) !important;
|
|
632
655
|
animation: vdd-tooltip-fade-in 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
|
@@ -804,7 +827,7 @@ body.vdd-resizing-col-active * {
|
|
|
804
827
|
}
|
|
805
828
|
|
|
806
829
|
.vdd-floating-window-title {
|
|
807
|
-
font-family:
|
|
830
|
+
font-family: var(--vdd-font-family);
|
|
808
831
|
font-size: 0.78rem;
|
|
809
832
|
font-weight: 600;
|
|
810
833
|
color: var(--vdd-window-text);
|
|
@@ -841,7 +864,7 @@ body.vdd-resizing-col-active * {
|
|
|
841
864
|
padding: 4px 0;
|
|
842
865
|
min-width: 220px;
|
|
843
866
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
844
|
-
font-family: -
|
|
867
|
+
font-family: var(--vdd-font-family);
|
|
845
868
|
font-size: 13px;
|
|
846
869
|
animation: vdd-context-menu-in 0.1s cubic-bezier(0.16, 1, 0.3, 1);
|
|
847
870
|
outline: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-dockable-desktop",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Vue 3 port of react-dockable-desktop \u2014 a dockable layout engine with split docking, tabbed groups, floating windows and zero-unmount panel persistence.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|