@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.
Files changed (50) hide show
  1. package/README.md +11 -0
  2. package/dist/editioncrafter.js +27385 -22786
  3. package/dist/es/src/EditionCrafter/action/NotesActions.js +11 -0
  4. package/dist/es/src/EditionCrafter/action/initialState/documentInitialState.js +15 -1
  5. package/dist/es/src/EditionCrafter/action/initialState/notesInitialState.js +8 -0
  6. package/dist/es/src/EditionCrafter/action/rootReducer.js +4 -0
  7. package/dist/es/src/EditionCrafter/component/DiploMatic.js +19 -17
  8. package/dist/es/src/EditionCrafter/component/DocumentView.js +23 -5
  9. package/dist/es/src/EditionCrafter/component/EmptyPaneView.js +22 -0
  10. package/dist/es/src/EditionCrafter/component/ImageView.js +61 -40
  11. package/dist/es/src/EditionCrafter/component/Navigation.js +7 -0
  12. package/dist/es/src/EditionCrafter/component/NotesView.js +50 -0
  13. package/dist/es/src/EditionCrafter/component/SplitPaneView.js +10 -9
  14. package/dist/es/src/EditionCrafter/component/TagToolbar.jsx +14 -4
  15. package/dist/es/src/EditionCrafter/context/TagFilter.jsx +22 -11
  16. package/dist/es/src/EditionCrafter/context/TagFilterContext.js +2 -1
  17. package/dist/es/src/EditionCrafter/index.jsx +31 -0
  18. package/dist/es/src/EditionCrafter/model/DocumentHelper.js +1 -0
  19. package/dist/es/src/EditionCrafter/model/Folio.js +27 -1
  20. package/dist/es/src/EditionCrafter/saga/RouteListenerSaga.js +33 -7
  21. package/dist/es/src/EditionCrafter/scss/_imageView.scss +1 -1
  22. package/dist/es/src/EditionCrafter/scss/_notes.scss +49 -0
  23. package/dist/es/src/EditionCrafter/scss/editioncrafter.scss +1 -0
  24. package/dist/es/src/RecordList/component/Record.jsx +1 -1
  25. package/dist/es/src/RecordList/component/RecordListView.jsx +1 -1
  26. package/dist/es/src/RecordList/component/Sidebar.jsx +1 -1
  27. package/dist/es/src/RecordList/component/SidebarTagList.jsx +1 -1
  28. package/dist/es/src/RecordList/index.jsx +1 -1
  29. package/dist/es/src/RecordList/styles/base.css +0 -16
  30. package/dist/es/src/TagExplore/assets/InsertLeft.jsx +18 -0
  31. package/dist/es/src/TagExplore/assets/InsertRight.jsx +18 -0
  32. package/dist/es/src/TagExplore/assets/Left.jsx +17 -0
  33. package/dist/es/src/TagExplore/assets/Right.jsx +17 -0
  34. package/dist/es/src/TagExplore/assets/insert_left.svg +12 -0
  35. package/dist/es/src/TagExplore/assets/insert_right.svg +12 -0
  36. package/dist/es/src/TagExplore/assets/left.svg +11 -0
  37. package/dist/es/src/TagExplore/assets/right.svg +11 -0
  38. package/dist/es/src/TagExplore/components/DocumentDetail.jsx +224 -0
  39. package/dist/es/src/TagExplore/components/NarrowSidebar.jsx +35 -0
  40. package/dist/es/src/TagExplore/components/SurfaceBrowser.jsx +176 -0
  41. package/dist/es/src/TagExplore/components/TagExploreSidebar.jsx +55 -0
  42. package/dist/es/src/TagExplore/components/TagFilters.jsx +106 -0
  43. package/dist/es/src/TagExplore/index.jsx +108 -0
  44. package/dist/es/src/TagExplore/styles/base.css +192 -0
  45. package/dist/es/src/{RecordList/component → common/components}/Pill.jsx +2 -0
  46. package/dist/es/src/common/components/Pill.style.css +16 -0
  47. package/dist/es/src/index.jsx +3 -27
  48. package/package.json +2 -27
  49. /package/dist/es/src/{RecordList/component → common/components}/Loading.jsx +0 -0
  50. /package/dist/es/src/{RecordList → common}/lib/sql.js +0 -0
package/README.md CHANGED
@@ -89,6 +89,10 @@ Required. (Note: This is required even in the case that you have also included a
89
89
 
90
90
  A *string* giving the name of the document(s).
91
91
 
92
+ ### notesURL
93
+
94
+ Optional. Provide a URL to a Markdown file (GitHub Flavored Markdown supported). This will add a "Notes" item to the layers dropdown in which the contents of the Markdown will be displayed.
95
+
92
96
  ### iiifManifest
93
97
 
94
98
  Required if no `documentInfo` prop specified.
@@ -146,3 +150,10 @@ Setup for Storybook was kind of rushed and the process could still be made simpl
146
150
  By default, Storybook doesn't display the hash routing params used by `react-router`. You can use the "Open canvas in new tab" button on the top right to open the component in its own tab:
147
151
 
148
152
  ![screenshot of new tab button](newtab.png)
153
+
154
+
155
+ ## Developer Note: Publishing a Beta Release
156
+
157
+ To publish editioncrafter or editioncrafter-umd to the beta channel, update the package.json version number to the correct beta version (such as '1.3.0-beta.1') and then run this command in the edtioncrafter and editioncrafter-umd directories:
158
+
159
+ ```npm publish --tag beta```