@dloizides/ui-tables 1.19.2 → 1.20.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/dist/index.mjs CHANGED
@@ -3,6 +3,7 @@ import { StyleSheet, View, Text, Platform, useWindowDimensions, Pressable, Switc
3
3
  import { useUi } from '@dloizides/ui-feedback';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
  import { useReducedMotion, FadeIn } from '@dloizides/ui-motion';
6
+ import { Z_INDEX } from '@dloizides/design-tokens';
6
7
  import { createPortal } from 'react-dom';
7
8
  import { Field, controlStyles, DateRangeControl, TypeaheadControl, DEFAULT_TYPEAHEAD_MIN_CHARS, DEFAULT_TYPEAHEAD_MAX_SUGGESTIONS, SelectControl } from '@dloizides/ui-forms';
8
9
  export { DEFAULT_TYPEAHEAD_MAX_SUGGESTIONS, DEFAULT_TYPEAHEAD_MIN_CHARS, isUnmatched, suggestOptions } from '@dloizides/ui-forms';
@@ -174,13 +175,13 @@ var MENU_TOP_GAP = 4;
174
175
  var MENU_PAD_V = 4;
175
176
  var MENU_MIN_WIDTH = 80;
176
177
  var MENU_OPT_PAD_V = 7;
177
- var MENU_Z_INDEX = 1e3;
178
+ var MENU_Z_INDEX = Z_INDEX.popover;
178
179
  var MENU_ELEVATION = 8;
179
180
  var MENU_BOX_SHADOW = "0px 2px 8px rgba(0, 0, 0, 0.15)";
180
181
  var RESULTS_FONT = 13;
181
182
  var HEAD_LETTER_SPACING = 0.4;
182
183
  var LABEL_LETTER_SPACING = 0.3;
183
- var STICKY_Z = 2;
184
+ var STICKY_Z = Z_INDEX.sticky;
184
185
  var FULL_WIDTH = "100%";
185
186
  var SELECT_COL_WIDTH = MIN_TARGET_PX;
186
187
  var CHECKBOX_SIZE = 18;