@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/CHANGELOG.md +9 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
**The rows-per-page menu opens above an RN-web Modal (UI-ZINDEX-SCALE-1 "Shared overlay z-index scale").**
|
|
6
|
+
|
|
7
|
+
react-native-web mounts `Modal` in a body-level layer at zIndex 9999. On web the `SizeDropdown`
|
|
8
|
+
menu portals to the body, and at zIndex 1000 it painted under an open Modal, so clicks fell through
|
|
9
|
+
to the dialog. The menu now uses `Z_INDEX.popover` (10000, below toasts) and the sticky header uses
|
|
10
|
+
`Z_INDEX.sticky` (2, unchanged), both from `@dloizides/design-tokens` ^1.13.0, which is now a dependency.
|
|
11
|
+
|
|
3
12
|
## 1.19.2
|
|
4
13
|
|
|
5
14
|
**The pager shrinks and wraps beside a title (TABLES-MOBILE-1 "Filter bar and pager overflow at 360").**
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ var reactNative = require('react-native');
|
|
|
5
5
|
var uiFeedback = require('@dloizides/ui-feedback');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
var uiMotion = require('@dloizides/ui-motion');
|
|
8
|
+
var designTokens = require('@dloizides/design-tokens');
|
|
8
9
|
var reactDom = require('react-dom');
|
|
9
10
|
var uiForms = require('@dloizides/ui-forms');
|
|
10
11
|
|
|
@@ -179,13 +180,13 @@ var MENU_TOP_GAP = 4;
|
|
|
179
180
|
var MENU_PAD_V = 4;
|
|
180
181
|
var MENU_MIN_WIDTH = 80;
|
|
181
182
|
var MENU_OPT_PAD_V = 7;
|
|
182
|
-
var MENU_Z_INDEX =
|
|
183
|
+
var MENU_Z_INDEX = designTokens.Z_INDEX.popover;
|
|
183
184
|
var MENU_ELEVATION = 8;
|
|
184
185
|
var MENU_BOX_SHADOW = "0px 2px 8px rgba(0, 0, 0, 0.15)";
|
|
185
186
|
var RESULTS_FONT = 13;
|
|
186
187
|
var HEAD_LETTER_SPACING = 0.4;
|
|
187
188
|
var LABEL_LETTER_SPACING = 0.3;
|
|
188
|
-
var STICKY_Z =
|
|
189
|
+
var STICKY_Z = designTokens.Z_INDEX.sticky;
|
|
189
190
|
var FULL_WIDTH = "100%";
|
|
190
191
|
var SELECT_COL_WIDTH = MIN_TARGET_PX;
|
|
191
192
|
var CHECKBOX_SIZE = 18;
|