@dnanpm/styleguide 4.0.3 → 4.0.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.
@@ -11,6 +11,7 @@ var theme = require('../../themes/theme.js');
11
11
  var styledUtils = require('../../utils/styledUtils.js');
12
12
  var Box = require('../Box/Box.js');
13
13
  var ButtonClose = require('../ButtonClose/ButtonClose.js');
14
+ var common = require('../../utils/common.js');
14
15
 
15
16
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
17
 
@@ -37,6 +38,8 @@ const StyledReactModal = styledComponents.styled(ReactModal__default.default) `
37
38
  height: 100vh;
38
39
  overflow-y: auto;
39
40
 
41
+ ${common.default({ elevation: 'extraHigh' })}
42
+
40
43
  @media (min-width: ${sizeMap.mobile}) {
41
44
  max-width: ${({ size }) => sizeMap[size]};
42
45
  max-height: 90%;
@@ -7,6 +7,7 @@ import theme from '../../themes/theme.js';
7
7
  import { getMultipliedSize } from '../../utils/styledUtils.js';
8
8
  import Box from '../Box/Box.js';
9
9
  import ButtonClose from '../ButtonClose/ButtonClose.js';
10
+ import getElevationShadow from '../../utils/common.js';
10
11
 
11
12
  const sizeMap = {
12
13
  mobile: '375px',
@@ -28,6 +29,8 @@ const StyledReactModal = styled(ReactModal) `
28
29
  height: 100vh;
29
30
  overflow-y: auto;
30
31
 
32
+ ${getElevationShadow({ elevation: 'extraHigh' })}
33
+
31
34
  @media (min-width: ${sizeMap.mobile}) {
32
35
  max-width: ${({ size }) => sizeMap[size]};
33
36
  max-height: 90%;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dnanpm/styleguide",
3
3
  "sideEffects": false,
4
- "version": "v4.0.3",
4
+ "version": "v4.0.5",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/es/index.js",
7
7
  "jsnext:main": "build/es/index.js",
@@ -48,18 +48,18 @@
48
48
  "@babel/preset-env": "^7.26.0",
49
49
  "@babel/preset-react": "^7.26.3",
50
50
  "@babel/preset-typescript": "^7.28.5",
51
- "@dnanpm/icons": "^2.0.9",
51
+ "@dnanpm/icons": "^2.0.15",
52
52
  "@eslint/eslintrc": "^3.3.3",
53
- "@eslint/js": "^9.39.1",
53
+ "@eslint/js": "^9.39.2",
54
54
  "@rollup/plugin-commonjs": "^29.0.0",
55
55
  "@rollup/plugin-node-resolve": "^16.0.3",
56
56
  "@rollup/plugin-typescript": "^12.3.0",
57
57
  "@stylistic/eslint-plugin": "^5.5.0",
58
58
  "@testing-library/jest-dom": "^6.6.3",
59
- "@testing-library/react": "^16.3.0",
59
+ "@testing-library/react": "^16.3.1",
60
60
  "@testing-library/user-event": "^14.5.2",
61
61
  "@types/jest": "^30.0.0",
62
- "@types/node": "^17.0.45",
62
+ "@types/node": "^25.0.3",
63
63
  "@types/ramda": "^0.31.1",
64
64
  "@types/react": "^18.3.11",
65
65
  "@types/react-dom": "^18.3.1",
@@ -96,11 +96,12 @@
96
96
  "ts-node": "^10.9.2",
97
97
  "tslib": "^2.8.1",
98
98
  "typescript": "^5.1.6",
99
- "webpack": "^5.103.0"
99
+ "webpack": "^5.104.1"
100
100
  },
101
101
  "dependencies": {
102
+ "date-fns-tz": "^3.2.0",
102
103
  "ramda": "^0.32.0",
103
- "react-datepicker": "8.10.0",
104
+ "react-datepicker": "9.0.0",
104
105
  "react-modal": "^3.16.1",
105
106
  "react-select": "^5.8.1",
106
107
  "react-spring": "^8.0.27",