@nypl/web-reader 3.2.2 → 3.2.4

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.
@@ -1,6 +1,7 @@
1
+ import { Dict } from './types';
1
2
  /**
2
3
  * See Chakra default theme for shape of theme object:
3
4
  * https://github.com/chakra-ui/chakra-ui/tree/main/packages/theme
4
5
  */
5
- declare const theme: import("@chakra-ui/utils").Dict<any>;
6
+ declare const theme: Dict<any>;
6
7
  export default theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/web-reader",
3
- "version": "3.2.2",
3
+ "version": "3.2.4",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/NYPL-Simplified/web-reader",
6
6
  "homepage": "https://github.com/NYPL-Simplified/web-reader",
@@ -49,8 +49,12 @@
49
49
  "release:alpha": "release-it --verbose --preRelease=alpha"
50
50
  },
51
51
  "peerDependencies": {
52
- "react": "^16.8.0 || 17.x",
53
- "react-dom": "^16.8.0 || 17.x"
52
+ "@chakra-ui/react": "^1.8.7 || 2.x",
53
+ "@emotion/react": "^11.8.2",
54
+ "@emotion/styled": "^11.8.1",
55
+ "react": "^16.8.0 || 17.x || 18.x",
56
+ "react-dom": "^16.8.0 || 17.x || 18.x",
57
+ "swr": "^1.0.1"
54
58
  },
55
59
  "prettier": {
56
60
  "printWidth": 80,
@@ -144,9 +148,6 @@
144
148
  "typescript": "^4.3.5"
145
149
  },
146
150
  "dependencies": {
147
- "@chakra-ui/react": "^1.8.7",
148
- "@emotion/react": "^11.8.2",
149
- "@emotion/styled": "^11.8.1",
150
151
  "comlink": "^4.3.1",
151
152
  "framer-motion": "^4.1.6",
152
153
  "node-fetch": "^2.6.1",
@@ -154,14 +155,13 @@
154
155
  "react-intersection-observer": "^8.32.2",
155
156
  "react-pdf": "^5.3.2",
156
157
  "react-resize-observer": "^1.1.1",
157
- "swr": "^1.0.1",
158
158
  "workbox-expiration": "^6.2.4",
159
159
  "workbox-precaching": "^6.2.4",
160
160
  "workbox-routing": "^6.3.0",
161
161
  "workbox-strategies": "^6.3.0"
162
162
  },
163
163
  "optionalDependencies": {
164
- "@nypl-simplified-packages/axisnow-access-control-web": "^1.4.0"
164
+ "@nypl-simplified-packages/axisnow-access-control-web": "^1.4.2"
165
165
  },
166
166
  "lint-staged": {
167
167
  "*.{ts,tsx,js,jsx}": "eslint --cache --fix",