@dloizides/ui-nav 1.23.0 → 1.23.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/index.mjs CHANGED
@@ -4,6 +4,7 @@ import { useUi, UiProvider } from '@dloizides/ui-feedback';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
  import { Collapse } from '@dloizides/ui-motion';
6
6
  import { LAYOUT_COLLAPSE_BREAKPOINT, ModalDropdown } from '@dloizides/ui-layout';
7
+ import { Z_INDEX } from '@dloizides/design-tokens';
7
8
  import { resolveAccessibleRoutes } from '@dloizides/auth-web';
8
9
 
9
10
  // src/Sidebar.tsx
@@ -1454,7 +1455,7 @@ var SCRIM_COLOR = "rgba(0, 0, 0, 0.5)";
1454
1455
  var MENU_GLYPH2 = "\u2630";
1455
1456
  var MENU_GLYPH_FONT_SIZE = 20;
1456
1457
  var MENU_TOGGLE_PADDING = 12;
1457
- var DRAWER_Z_INDEX = 50;
1458
+ var DRAWER_Z_INDEX = Z_INDEX.drawer;
1458
1459
  var DRAWER_WIDTH = 280;
1459
1460
  var SCRIM_Z_INDEX = 1;
1460
1461
  var PANEL_Z_INDEX = 2;
@@ -1971,7 +1972,7 @@ function filterCommands(items, query) {
1971
1972
  });
1972
1973
  }
1973
1974
  var SCRIM_COLOR2 = "rgba(0, 0, 0, 0.5)";
1974
- var OVERLAY_Z_INDEX = 60;
1975
+ var OVERLAY_Z_INDEX = Z_INDEX.palette;
1975
1976
  var PANEL_MAX_WIDTH = 560;
1976
1977
  var PANEL_TOP_OFFSET = 88;
1977
1978
  var LIST_MAX_HEIGHT = 360;