@cu-mkp/editioncrafter 1.0.2 → 1.0.4-beta.1
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/README.md +7 -7
- package/dist/editioncrafter.js +65802 -0
- package/dist/editioncrafter.umd.cjs +553 -0
- package/dist/es/src/action/DiplomaticActions.js +9 -11
- package/dist/es/src/action/DocumentActions.js +164 -154
- package/dist/es/src/action/GlossaryActions.js +9 -11
- package/dist/es/src/action/initialState/diplomaticInitialState.js +2 -2
- package/dist/es/src/action/initialState/documentInitialState.js +9 -12
- package/dist/es/src/action/initialState/glossaryInitialState.js +3 -3
- package/dist/es/src/action/rootReducer.js +31 -29
- package/dist/es/src/component/AlphabetLinks.js +44 -66
- package/dist/es/src/component/CustomizedTooltops.js +101 -110
- package/dist/es/src/component/DiploMatic.js +64 -91
- package/dist/es/src/component/DocumentView.js +442 -366
- package/dist/es/src/component/EditorComment.js +51 -75
- package/dist/es/src/component/ErrorBoundary.js +37 -61
- package/dist/es/src/component/FigureImage.js +56 -67
- package/dist/es/src/component/GlossaryView.js +157 -149
- package/dist/es/src/component/HelpPopper.js +96 -78
- package/dist/es/src/component/ImageGridView.js +184 -249
- package/dist/es/src/component/ImageView.js +155 -165
- package/dist/es/src/component/ImageZoomControl.js +19 -38
- package/dist/es/src/component/JumpToFolio.js +56 -60
- package/dist/es/src/component/Navigation.js +374 -328
- package/dist/es/src/component/Pagination.js +73 -70
- package/dist/es/src/component/Parser.js +11 -32
- package/dist/es/src/component/RingSpinner.js +31 -32
- package/dist/es/src/component/RouteListener.js +30 -21
- package/dist/es/src/component/SeaDragonComponent.js +33 -56
- package/dist/es/src/component/SinglePaneView.js +15 -33
- package/dist/es/src/component/SplitPaneView.js +151 -170
- package/dist/es/src/component/TranscriptionView.js +190 -179
- package/dist/es/src/component/Watermark.js +21 -30
- package/dist/es/src/component/XMLView.js +60 -82
- package/dist/es/src/hooks/useIsWidthUp.js +9 -7
- package/dist/es/src/icons/ByIcon.js +16 -16
- package/dist/es/src/icons/CcIcon.js +16 -16
- package/dist/es/src/icons/NcIcon.js +16 -16
- package/dist/es/src/icons/SaIcon.js +16 -16
- package/dist/es/src/icons/SideMenuIconLeft.js +30 -38
- package/dist/es/src/icons/SideMenuIconRight.js +32 -38
- package/dist/es/src/index.js +21 -20
- package/dist/es/src/lib/copyObject.js +3 -2
- package/dist/es/src/lib/registerServiceWorker.js +77 -54
- package/dist/es/src/model/DocumentHelper.js +7 -6
- package/dist/es/src/model/Folio.js +64 -86
- package/dist/es/src/model/ReduxStore.js +32 -78
- package/dist/es/src/model/folioLayout.js +275 -280
- package/dist/es/src/saga/RouteListenerSaga.js +89 -193
- package/dist/es/src/saga/rootSaga.js +9 -16
- package/dist/es/src/scss/_imageView.scss +1 -1
- package/dist/es/src/scss/_navigation.scss +1 -1
- package/dist/es/src/scss/editioncrafter.scss +1 -1
- package/dist/style.css +1 -0
- package/package.json +36 -51
- package/dist/editioncrafter.min.js +0 -2
- package/dist/editioncrafter.min.js.LICENSE.txt +0 -144
package/package.json
CHANGED
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cu-mkp/editioncrafter",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"homepage": "https://cu-mkp.github.io/editioncrafter/",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.4-beta.1",
|
|
6
5
|
"private": false,
|
|
6
|
+
"description": "A simple digital critical edition publication tool",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://editioncrafter.org/",
|
|
9
|
+
"repository": "https://github.com/cu-mkp/editioncrafter",
|
|
10
|
+
"sideEffects": false,
|
|
7
11
|
"main": "dist/editioncrafter.min.js",
|
|
8
12
|
"files": [
|
|
9
13
|
"dist"
|
|
10
14
|
],
|
|
11
|
-
"sideEffects": false,
|
|
12
15
|
"scripts": {
|
|
13
16
|
"clean": "rm -rf ./dist",
|
|
14
|
-
"lint": "
|
|
15
|
-
"
|
|
16
|
-
"build
|
|
17
|
-
"build:
|
|
18
|
-
"
|
|
17
|
+
"lint": "eslint .",
|
|
18
|
+
"lint:fix": "eslint . --fix",
|
|
19
|
+
"build": "vite build",
|
|
20
|
+
"build:dev": "vite serve",
|
|
21
|
+
"build:es": "mkdir -p dist/es && cp -r src dist/es",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"prepublishOnly": "npm run clean && npm run build && npm run build:es",
|
|
19
24
|
"size": "bundlewatch --config bundlewatch.config.json",
|
|
20
|
-
"start": "NODE_ENV=production webpack serve --open --port 5000",
|
|
21
25
|
"storybook": "storybook dev -p 6006",
|
|
22
26
|
"build-storybook": "storybook build"
|
|
23
27
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
30
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
31
|
+
},
|
|
26
32
|
"dependencies": {
|
|
27
33
|
"@material-ui/core": "^4.12.4",
|
|
28
34
|
"@material-ui/icons": "^4.11.3",
|
|
29
35
|
"@recogito/annotorious-openseadragon": "^2.7.11",
|
|
30
|
-
"axios": "^1.3.4",
|
|
31
36
|
"history": "^5.3.0",
|
|
32
37
|
"html-react-parser": "^4.2.2",
|
|
33
38
|
"openseadragon": "^4.1.0",
|
|
@@ -43,42 +48,28 @@
|
|
|
43
48
|
"redux-saga": "^1.2.2"
|
|
44
49
|
},
|
|
45
50
|
"devDependencies": {
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@
|
|
54
|
-
"@storybook/
|
|
55
|
-
"@storybook/
|
|
56
|
-
"@storybook/
|
|
57
|
-
"@
|
|
58
|
-
"@storybook/blocks": "^7.4.1",
|
|
59
|
-
"@storybook/react": "^7.4.1",
|
|
60
|
-
"@storybook/react-webpack5": "^7.4.1",
|
|
61
|
-
"@storybook/testing-library": "0.2.0",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
63
|
-
"@typescript-eslint/parser": "^5.15.0",
|
|
64
|
-
"babel-loader": "^8.0.6",
|
|
65
|
-
"babel-plugin-lodash": "^3.3.4",
|
|
66
|
-
"babel-plugin-macros": "^3.0.1",
|
|
67
|
-
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
51
|
+
"@antfu/eslint-config": "^3.8.0",
|
|
52
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
53
|
+
"@eslint-react/eslint-plugin": "^1.15.2",
|
|
54
|
+
"@storybook/addon-essentials": "^8.4.3",
|
|
55
|
+
"@storybook/addon-interactions": "^8.4.3",
|
|
56
|
+
"@storybook/addon-links": "^8.4.3",
|
|
57
|
+
"@storybook/blocks": "^8.4.3",
|
|
58
|
+
"@storybook/builder-vite": "^8.4.3",
|
|
59
|
+
"@storybook/react": "^8.4.3",
|
|
60
|
+
"@storybook/react-vite": "^8.4.3",
|
|
61
|
+
"@storybook/test": "^8.4.3",
|
|
62
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
68
63
|
"bundlewatch": "^0.3.3",
|
|
69
64
|
"chalk": "^4.1.0",
|
|
70
65
|
"codecov": "^3.7.0",
|
|
71
66
|
"core-js": "^3.21.1",
|
|
72
67
|
"css-loader": "^6.7.3",
|
|
73
68
|
"enzyme": "^3.11.0",
|
|
74
|
-
"eslint": "^
|
|
75
|
-
"eslint-
|
|
76
|
-
"eslint-
|
|
77
|
-
"eslint-plugin-
|
|
78
|
-
"eslint-plugin-import": "^2.25.4",
|
|
79
|
-
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
80
|
-
"eslint-plugin-react": "^7.29.4",
|
|
81
|
-
"eslint-plugin-react-hooks": "^4.2.0",
|
|
69
|
+
"eslint": "^9.14.0",
|
|
70
|
+
"eslint-plugin-astro": "^1.3.0",
|
|
71
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
72
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
82
73
|
"glob": "^7.1.4",
|
|
83
74
|
"http-server": "^14.1.0",
|
|
84
75
|
"jsdom": "^19.0.0",
|
|
@@ -90,17 +81,11 @@
|
|
|
90
81
|
"resolve-url-loader": "^5.0.0",
|
|
91
82
|
"sass": "^1.61.0",
|
|
92
83
|
"sass-loader": "^13.2.2",
|
|
93
|
-
"storybook": "^
|
|
84
|
+
"storybook": "^8.4.2",
|
|
94
85
|
"style-loader": "^3.3.2",
|
|
95
|
-
"terser-webpack-plugin": "^5.3.1",
|
|
96
86
|
"unfetch": "^4.1.0",
|
|
97
87
|
"url-polyfill": "^1.1.7",
|
|
98
|
-
"
|
|
99
|
-
"webpack-cli": "^4.9.2"
|
|
100
|
-
},
|
|
101
|
-
"peerDependencies": {
|
|
102
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
103
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
88
|
+
"vite": "^5.4.11"
|
|
104
89
|
},
|
|
105
90
|
"overrides": {
|
|
106
91
|
"@recogito/annotorious-openseadragon": {
|