@dloizides/ui-layout 1.28.3 → 1.28.5

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.js CHANGED
@@ -7,6 +7,7 @@ var jsxRuntime = require('react/jsx-runtime');
7
7
  var a11y = require('@dloizides/a11y');
8
8
  var uiMotion = require('@dloizides/ui-motion');
9
9
  var reactDom = require('react-dom');
10
+ var designTokens = require('@dloizides/design-tokens');
10
11
  var uiIcons = require('@dloizides/ui-icons');
11
12
  var uiButtons = require('@dloizides/ui-buttons');
12
13
  var rnWebHooks = require('@dloizides/rn-web-hooks');
@@ -329,11 +330,8 @@ var DropdownVariant = /* @__PURE__ */ ((DropdownVariant2) => {
329
330
  DropdownVariant2["Modal"] = "modal";
330
331
  return DropdownVariant2;
331
332
  })(DropdownVariant || {});
332
-
333
- // src/ModalDropdown/menuStacking.ts
334
- var RN_WEB_MODAL_Z_INDEX = 9999;
335
- var MENU_Z_INDEX = RN_WEB_MODAL_Z_INDEX + 1;
336
- var ANCHOR_OPEN_Z_INDEX = 1e3;
333
+ var MENU_Z_INDEX = designTokens.Z_INDEX.popover;
334
+ var ANCHOR_OPEN_Z_INDEX = designTokens.Z_INDEX.dropdown;
337
335
  var MENU_ELEVATION = 8;
338
336
  var MENU_TOP_GAP = 4;
339
337
  var MENU_MAX_HEIGHT = 300;
@@ -986,7 +984,7 @@ function useTabsCollapsed(breakpoint) {
986
984
  var PILL_RADIUS = 999;
987
985
  var PILL_PAD_H = 16;
988
986
  var PILL_PAD_V = 8;
989
- var PILL_MIN_HEIGHT = 40;
987
+ var PILL_MIN_HEIGHT = MIN_TARGET_PX;
990
988
  var PILL_FONT = 14;
991
989
  var PILL_WEIGHT = "600";
992
990
  var ROW_GAP = 8;