@cu-mkp/editioncrafter 1.2.1 → 1.3.0-beta.2
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 +11 -0
- package/dist/editioncrafter.js +27385 -22786
- package/dist/es/src/EditionCrafter/action/NotesActions.js +11 -0
- package/dist/es/src/EditionCrafter/action/initialState/documentInitialState.js +15 -1
- package/dist/es/src/EditionCrafter/action/initialState/notesInitialState.js +8 -0
- package/dist/es/src/EditionCrafter/action/rootReducer.js +4 -0
- package/dist/es/src/EditionCrafter/component/DiploMatic.js +19 -17
- package/dist/es/src/EditionCrafter/component/DocumentView.js +23 -5
- package/dist/es/src/EditionCrafter/component/EmptyPaneView.js +22 -0
- package/dist/es/src/EditionCrafter/component/ImageView.js +61 -40
- package/dist/es/src/EditionCrafter/component/Navigation.js +7 -0
- package/dist/es/src/EditionCrafter/component/NotesView.js +50 -0
- package/dist/es/src/EditionCrafter/component/SplitPaneView.js +10 -9
- package/dist/es/src/EditionCrafter/component/TagToolbar.jsx +14 -4
- package/dist/es/src/EditionCrafter/context/TagFilter.jsx +22 -11
- package/dist/es/src/EditionCrafter/context/TagFilterContext.js +2 -1
- package/dist/es/src/EditionCrafter/index.jsx +31 -0
- package/dist/es/src/EditionCrafter/model/DocumentHelper.js +1 -0
- package/dist/es/src/EditionCrafter/model/Folio.js +27 -1
- package/dist/es/src/EditionCrafter/saga/RouteListenerSaga.js +33 -7
- package/dist/es/src/EditionCrafter/scss/_imageView.scss +1 -1
- package/dist/es/src/EditionCrafter/scss/_notes.scss +49 -0
- package/dist/es/src/EditionCrafter/scss/editioncrafter.scss +1 -0
- package/dist/es/src/RecordList/component/Record.jsx +1 -1
- package/dist/es/src/RecordList/component/RecordListView.jsx +1 -1
- package/dist/es/src/RecordList/component/Sidebar.jsx +1 -1
- package/dist/es/src/RecordList/component/SidebarTagList.jsx +1 -1
- package/dist/es/src/RecordList/index.jsx +1 -1
- package/dist/es/src/RecordList/styles/base.css +0 -16
- package/dist/es/src/TagExplore/assets/InsertLeft.jsx +18 -0
- package/dist/es/src/TagExplore/assets/InsertRight.jsx +18 -0
- package/dist/es/src/TagExplore/assets/Left.jsx +17 -0
- package/dist/es/src/TagExplore/assets/Right.jsx +17 -0
- package/dist/es/src/TagExplore/assets/insert_left.svg +12 -0
- package/dist/es/src/TagExplore/assets/insert_right.svg +12 -0
- package/dist/es/src/TagExplore/assets/left.svg +11 -0
- package/dist/es/src/TagExplore/assets/right.svg +11 -0
- package/dist/es/src/TagExplore/components/DocumentDetail.jsx +224 -0
- package/dist/es/src/TagExplore/components/NarrowSidebar.jsx +35 -0
- package/dist/es/src/TagExplore/components/SurfaceBrowser.jsx +176 -0
- package/dist/es/src/TagExplore/components/TagExploreSidebar.jsx +55 -0
- package/dist/es/src/TagExplore/components/TagFilters.jsx +106 -0
- package/dist/es/src/TagExplore/index.jsx +108 -0
- package/dist/es/src/TagExplore/styles/base.css +192 -0
- package/dist/es/src/{RecordList/component → common/components}/Pill.jsx +2 -0
- package/dist/es/src/common/components/Pill.style.css +16 -0
- package/dist/es/src/index.jsx +3 -27
- package/package.json +2 -27
- /package/dist/es/src/{RecordList/component → common/components}/Loading.jsx +0 -0
- /package/dist/es/src/{RecordList → common}/lib/sql.js +0 -0
package/dist/es/src/index.jsx
CHANGED
|
@@ -1,32 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React from 'react'
|
|
3
|
-
import DiploMatic from './EditionCrafter/component/DiploMatic'
|
|
4
|
-
import { createReduxStore } from './EditionCrafter/model/ReduxStore'
|
|
1
|
+
import EditionCrafter from './EditionCrafter'
|
|
5
2
|
import _RecordList from './RecordList'
|
|
6
|
-
import './
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Default instantiation
|
|
10
|
-
*/
|
|
11
|
-
function EditionCrafter(props) {
|
|
12
|
-
const theme = createTheme({
|
|
13
|
-
palette: {
|
|
14
|
-
primary: {
|
|
15
|
-
main: '#792421',
|
|
16
|
-
},
|
|
17
|
-
secondary: {
|
|
18
|
-
main: '#EBE3DD',
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
return (
|
|
24
|
-
<ThemeProvider theme={theme}>
|
|
25
|
-
<DiploMatic config={props} store={createReduxStore(props)} />
|
|
26
|
-
</ThemeProvider>
|
|
27
|
-
)
|
|
28
|
-
}
|
|
3
|
+
import _TagExplore from './TagExplore'
|
|
29
4
|
|
|
30
5
|
export { _RecordList as RecordList }
|
|
6
|
+
export { _TagExplore as TagExplore }
|
|
31
7
|
|
|
32
8
|
export default EditionCrafter
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cu-mkp/editioncrafter",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2
|
|
4
|
+
"version": "1.3.0-beta.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A simple digital critical edition publication tool",
|
|
7
7
|
"license": "MIT",
|
|
@@ -46,46 +46,21 @@
|
|
|
46
46
|
"react-scroll": "^1.7.10",
|
|
47
47
|
"redux": "^4.2.1",
|
|
48
48
|
"redux-saga": "^1.2.2",
|
|
49
|
+
"remark-gfm": "^3.0.1",
|
|
49
50
|
"sql.js": "^1.12.0"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
53
|
"@antfu/eslint-config": "^3.8.0",
|
|
53
|
-
"@chromatic-com/storybook": "^3.2.2",
|
|
54
54
|
"@eslint-react/eslint-plugin": "^1.15.2",
|
|
55
|
-
"@storybook/addon-essentials": "^8.4.3",
|
|
56
|
-
"@storybook/addon-interactions": "^8.4.3",
|
|
57
|
-
"@storybook/addon-links": "^8.4.3",
|
|
58
|
-
"@storybook/blocks": "^8.4.3",
|
|
59
55
|
"@storybook/builder-vite": "^8.4.3",
|
|
60
|
-
"@storybook/react": "^8.4.3",
|
|
61
56
|
"@storybook/react-vite": "^8.4.3",
|
|
62
|
-
"@storybook/test": "^8.4.3",
|
|
63
57
|
"@vitejs/plugin-react": "^4.3.3",
|
|
64
|
-
"bundlewatch": "^0.3.3",
|
|
65
|
-
"chalk": "^4.1.0",
|
|
66
|
-
"codecov": "^3.7.0",
|
|
67
|
-
"core-js": "^3.21.1",
|
|
68
|
-
"css-loader": "^6.7.3",
|
|
69
|
-
"enzyme": "^3.11.0",
|
|
70
58
|
"eslint": "^9.14.0",
|
|
71
59
|
"eslint-plugin-astro": "^1.3.0",
|
|
72
60
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
73
|
-
"eslint-plugin-react-refresh": "^0.4.14",
|
|
74
|
-
"glob": "^7.1.4",
|
|
75
|
-
"http-server": "^14.1.0",
|
|
76
|
-
"jsdom": "^19.0.0",
|
|
77
61
|
"react": "^17.0.2",
|
|
78
62
|
"react-dom": "^17.0.2",
|
|
79
|
-
"react-refresh": "^0.14.0",
|
|
80
|
-
"redux-mock-store": "^1.5.1",
|
|
81
|
-
"redux-saga-test-plan": "^4.0.6",
|
|
82
|
-
"resolve-url-loader": "^5.0.0",
|
|
83
|
-
"sass": "^1.61.0",
|
|
84
|
-
"sass-loader": "^13.2.2",
|
|
85
63
|
"storybook": "^8.4.2",
|
|
86
|
-
"style-loader": "^3.3.2",
|
|
87
|
-
"unfetch": "^4.1.0",
|
|
88
|
-
"url-polyfill": "^1.1.7",
|
|
89
64
|
"vite": "^5.4.11",
|
|
90
65
|
"vite-plugin-css-injected-by-js": "^3.5.2"
|
|
91
66
|
},
|
|
File without changes
|
|
File without changes
|