@canopycanopycanopy/b-ber-reader-react 3.0.8-nav.0 → 3.0.8-next.101
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 +20540 -0
- package/dist/styles.css +2 -1
- package/index.d.ts +3 -1
- package/package.json +30 -56
- package/dist/fonts/CrimsonPro-Regular.ttf +0 -0
- package/dist/fonts/CrimsonPro-SemiBold.ttf +0 -0
- package/dist/fonts/material-icons.woff +0 -0
- package/dist/fonts/material-icons.woff2 +0 -0
- package/dist/index.js +0 -2
- package/dist/index.js.LICENSE.txt +0 -46
package/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface NavigationHeaderProps {
|
|
|
100
100
|
uiOptions: UiOptions
|
|
101
101
|
showSidebar: SidebarName | null
|
|
102
102
|
spine: Spine
|
|
103
|
-
currentSpineItemIndex:number
|
|
103
|
+
currentSpineItemIndex: number
|
|
104
104
|
metadata: Metadata
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -209,4 +209,6 @@ export type BberReaderProps = RequireOneOf<
|
|
|
209
209
|
|
|
210
210
|
declare const BberReader: React.FunctionComponent<BberReaderProps>
|
|
211
211
|
|
|
212
|
+
export declare const Reader: React.FunctionComponent<BberReaderProps>
|
|
213
|
+
|
|
212
214
|
export default BberReader
|
package/package.json
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canopycanopycanopy/b-ber-reader-react",
|
|
3
|
-
"version": "3.0.8-
|
|
3
|
+
"version": "3.0.8-next.101+b6a7f323",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "dist/index.
|
|
5
|
+
"main": "dist/index.mjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs"
|
|
12
|
+
},
|
|
13
|
+
"./dist/styles.css": "./dist/styles.css"
|
|
14
|
+
},
|
|
6
15
|
"scripts": {
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"clean": "rimraf dist && rimraf stats.json",
|
|
12
|
-
"analyze": "./scripts/analyze.sh",
|
|
13
|
-
"watch": "./scripts/watch.sh",
|
|
14
|
-
"build": "./scripts/build.sh",
|
|
15
|
-
"start": "./scripts/start.sh",
|
|
16
|
+
"version": "node ./scripts/version.js",
|
|
17
|
+
"clean": "rimraf dist",
|
|
18
|
+
"build": "vite build --config vite.config.lib.js",
|
|
19
|
+
"start": "vite --config vite.config.js",
|
|
16
20
|
"test:watch": "jest --watch",
|
|
17
21
|
"test": "jest",
|
|
18
|
-
"webpack": "webpack",
|
|
19
|
-
"webpack-bundle-analyzer": "webpack-bundle-analyzer",
|
|
20
22
|
"bundle": "npm run build && npm pack"
|
|
21
23
|
},
|
|
22
24
|
"author": "Triple Canopy <b-ber@canopycanopycanopy.com> (https://triplecanopy.github.io/)",
|
|
@@ -25,63 +27,35 @@
|
|
|
25
27
|
"access": "public"
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
28
|
-
"@
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.10.4",
|
|
32
|
-
"@babel/plugin-proposal-optional-chaining": "^7.10.4",
|
|
33
|
-
"@babel/plugin-transform-runtime": "^7.10.5",
|
|
34
|
-
"@babel/preset-env": "^7.10.4",
|
|
35
|
-
"@babel/preset-react": "^7.10.4",
|
|
30
|
+
"@testing-library/dom": "^10.4.0",
|
|
31
|
+
"@testing-library/react": "^16.3.0",
|
|
32
|
+
"@vitejs/plugin-react": "^6.0.2",
|
|
36
33
|
"autoprefixer": "^9.6.1",
|
|
37
|
-
"babel-eslint": "^8.2.2",
|
|
38
|
-
"babel-loader": "^8.2.3",
|
|
39
34
|
"buffer": "^6.0.3",
|
|
40
35
|
"concurrently": "^3.5.1",
|
|
41
36
|
"core-js": "^3.6.4",
|
|
42
|
-
"css-loader": "^0.28.10",
|
|
43
37
|
"cssnano": "^4.1.10",
|
|
44
|
-
"eslint": "^7.32.0",
|
|
45
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
46
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
47
|
-
"eslint-plugin-babel": "^4.1.2",
|
|
48
|
-
"eslint-plugin-import": "^2.22.1",
|
|
49
|
-
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
50
|
-
"eslint-plugin-react": "^7.7.0",
|
|
51
38
|
"express": "^4.17.3",
|
|
52
|
-
"file-loader": "^6.2.0",
|
|
53
39
|
"handlebars": "^4.7.7",
|
|
54
|
-
"
|
|
55
|
-
"jest": "^
|
|
56
|
-
"jest-environment-jsdom": "^
|
|
57
|
-
"jest-environment-jsdom-global": "^1.1.0",
|
|
40
|
+
"jest": "^29.7.0",
|
|
41
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
42
|
+
"jest-environment-jsdom-global": "^4.0.0",
|
|
58
43
|
"material-icons": "^1.0.0",
|
|
59
|
-
"mini-css-extract-plugin": "^1.6.2",
|
|
60
44
|
"nodemon": "^2.0.15",
|
|
61
45
|
"os-browserify": "^0.3.0",
|
|
62
46
|
"postcss": "^7.0.14",
|
|
63
47
|
"postcss-cssnext": "^3.1.0",
|
|
64
48
|
"postcss-import": "^11.1.0",
|
|
65
|
-
"postcss-loader": "^2.1.1",
|
|
66
49
|
"prop-types": "^15.6.1",
|
|
67
|
-
"react-test-renderer": ">=16.4 <=
|
|
50
|
+
"react-test-renderer": ">=16.4 <=19",
|
|
68
51
|
"redux-mock-store": "^1.5.4",
|
|
69
52
|
"resize-observer-polyfill": "^1.5.0",
|
|
70
53
|
"rimraf": "^2.7.1",
|
|
71
|
-
"sass": "^1.
|
|
72
|
-
"sass-loader": "^13.0.2",
|
|
54
|
+
"sass": "^1.70.0",
|
|
73
55
|
"setimmediate": "^1.0.5",
|
|
74
56
|
"stream-browserify": "^3.0.0",
|
|
75
|
-
"style-loader": "^0.20.2",
|
|
76
|
-
"sugarss": "^1.0.1",
|
|
77
57
|
"tar": "^6.1.11",
|
|
78
|
-
"
|
|
79
|
-
"webpack": "^5.74.0",
|
|
80
|
-
"webpack-bundle-analyzer": "^4.6.1",
|
|
81
|
-
"webpack-cleanup-plugin": "^0.5.1",
|
|
82
|
-
"webpack-cli": "^4.10.0",
|
|
83
|
-
"webpack-dev-server": "^4.11.1",
|
|
84
|
-
"webpack-remove-empty-scripts": "^1.0.1",
|
|
58
|
+
"vite": "^8.0.16",
|
|
85
59
|
"xmlhttprequest-ssl": "^2.0.0"
|
|
86
60
|
},
|
|
87
61
|
"dependencies": {
|
|
@@ -96,15 +70,15 @@
|
|
|
96
70
|
"quote": "^0.4.0",
|
|
97
71
|
"react-attr-converter": "^0.3.1",
|
|
98
72
|
"react-player": "^2.10.1",
|
|
99
|
-
"react-redux": "^
|
|
100
|
-
"redux": "^
|
|
101
|
-
"redux-thunk": "^
|
|
73
|
+
"react-redux": "^9.2.0",
|
|
74
|
+
"redux": "^5.0.0",
|
|
75
|
+
"redux-thunk": "^3.1.0",
|
|
102
76
|
"url-search-params-polyfill": "^4.0.0",
|
|
103
77
|
"xml-js": "^1.6.2"
|
|
104
78
|
},
|
|
105
79
|
"peerDependencies": {
|
|
106
|
-
"react": ">=16.2.0 <=
|
|
107
|
-
"react-dom": ">=16.2.0 <=
|
|
80
|
+
"react": ">=16.2.0 <=19",
|
|
81
|
+
"react-dom": ">=16.2.0 <=19"
|
|
108
82
|
},
|
|
109
83
|
"files": [
|
|
110
84
|
"dist",
|
|
@@ -124,5 +98,5 @@
|
|
|
124
98
|
"url": "https://maxwellsimmer.com"
|
|
125
99
|
}
|
|
126
100
|
],
|
|
127
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "b6a7f323cd34b837eb49ad96b1062bd6e0af207f"
|
|
128
102
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|