diginet-core-ui 1.3.40 → 1.3.41

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.
@@ -10,6 +10,7 @@ import { randomString } from '../../../utils';
10
10
  import { color as colors } from '../../../styles/colors';
11
11
  import { typography } from '../../../styles/typography';
12
12
  import { borderBox, borderRadius4px, displayBlock, positionFixed, positionRelative } from '../../../styles/general';
13
+ import { useTheme } from '../../../theme';
13
14
  const {
14
15
  paragraph1
15
16
  } = typography;
@@ -25,6 +26,9 @@ const {
25
26
  'scrollbar-tabbar': scrollbar
26
27
  }
27
28
  } = colors;
29
+ const {
30
+ zIndex: zIndexCORE
31
+ } = useTheme();
28
32
  const timing = {};
29
33
  const DropdownBox = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(({
30
34
  className,
@@ -248,7 +252,7 @@ DropdownBox.defaultProps = {
248
252
  viewType: 'underlined',
249
253
  inputProps: {},
250
254
  delayOnInput: 700,
251
- zIndex: 9001
255
+ zIndex: zIndexCORE(1)
252
256
  };
253
257
  DropdownBox.propTypes = {
254
258
  /** class for dropdown */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginet-core-ui",
3
- "version": "1.3.40",
3
+ "version": "1.3.41",
4
4
  "description": "The DigiNet core ui",
5
5
  "homepage": "https://diginet.com.vn",
6
6
  "main": "index.js",