react-dockable-desktop 7.5.0 → 7.6.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/dist/styles.css CHANGED
@@ -1,3 +1,4 @@
1
+ /* Generated by scripts/build-css.mjs from src/styles/*.css — edit those files, not this one. */
1
2
  /*
2
3
  * @file index.css
3
4
  * @description Core stylesheet for the react-dockable-desktop layout engine.
@@ -1108,6 +1109,18 @@ body.rdd-resizing-col-active * {
1108
1109
  background-color: var(--rdd-toolbar-btn-radio-active-bg, rgba(9, 71, 113, 0.35));
1109
1110
  }
1110
1111
 
1112
+ /* Focus. A menu opens with focus on the menu itself and nothing highlighted, so the menu element
1113
+ draws no ring (the global :focus-visible rule would otherwise outline it). A menu item that has
1114
+ keyboard focus draws the skin's ring, never the browser's default. Restyle it with
1115
+ --rdd-context-menu-focus-ring, or every library ring at once with --rdd-focus-ring. */
1116
+ .rdd-context-menu.rdd-context-menu:focus-visible {
1117
+ outline: none;
1118
+ }
1119
+ .rdd-context-menu__item.rdd-context-menu__item:focus-visible {
1120
+ outline: var(--rdd-context-menu-focus-ring, var(--rdd-focus-ring, 2px solid var(--rdd-accent-color)));
1121
+ outline-offset: -2px;
1122
+ }
1123
+
1111
1124
  .rdd-context-menu__icon {
1112
1125
  width: 16px;
1113
1126
  min-width: 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dockable-desktop",
3
- "version": "7.5.0",
3
+ "version": "7.6.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",
@@ -48,7 +48,10 @@
48
48
  "dev:ria": "vite demo-luciadria --host",
49
49
  "dev:oldria": "vite demo-oldria --host",
50
50
  "dev:sidebar": "vite demo-sidebar --host",
51
- "build": "tsup && node -e \"require('fs').copyFileSync('src/index.css', 'dist/styles.css')\"",
51
+ "build": "node scripts/build-css.mjs && tsup && node -e \"require('fs').copyFileSync('src/index.css', 'dist/styles.css')\"",
52
+ "css": "node scripts/build-css.mjs",
53
+ "css:check": "node scripts/build-css.mjs --check",
54
+ "css:watch": "node scripts/build-css.mjs --watch",
52
55
  "demo:build": "vite build --base /react-dockable-desktop/demo/",
53
56
  "docs:dev": "vitepress dev docs-site",
54
57
  "docs:generate": "typedoc",