@datawheel/bespoke 0.7.0-rc.0 → 0.7.0-rc.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/dist/auth.js +7 -0
- package/dist/cms.css +1 -0
- package/dist/cms.js +112 -0
- package/dist/explore.js +11 -0
- package/dist/index.js +23 -25961
- package/dist/redux-store.js +16 -0
- package/dist/report.css +1 -0
- package/dist/report.js +56 -0
- package/dist/server.js +41 -7340
- package/package.json +31 -15
- package/dist/index.css +0 -87
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datawheel/bespoke",
|
|
3
|
-
"version": "0.7.0-rc.
|
|
3
|
+
"version": "0.7.0-rc.1",
|
|
4
4
|
"description": "Content management system for creating automated data reports",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -8,6 +8,21 @@
|
|
|
8
8
|
},
|
|
9
9
|
"./server": {
|
|
10
10
|
"import": "./dist/server.js"
|
|
11
|
+
},
|
|
12
|
+
"./explore": {
|
|
13
|
+
"import": "./dist/explore.js"
|
|
14
|
+
},
|
|
15
|
+
"./store": {
|
|
16
|
+
"import": "./dist/redux-store.js"
|
|
17
|
+
},
|
|
18
|
+
"./cms": {
|
|
19
|
+
"import": "./dist/cms.js"
|
|
20
|
+
},
|
|
21
|
+
"./report": {
|
|
22
|
+
"import": "./dist/report.js"
|
|
23
|
+
},
|
|
24
|
+
"./auth": {
|
|
25
|
+
"import": "./dist/auth.js"
|
|
11
26
|
}
|
|
12
27
|
},
|
|
13
28
|
"files": [
|
|
@@ -53,17 +68,17 @@
|
|
|
53
68
|
"@monaco-editor/react": "^4.4.5",
|
|
54
69
|
"@reduxjs/toolkit": "^1.8.4",
|
|
55
70
|
"@tabler/icons-react": "^2.15.0",
|
|
56
|
-
"@tiptap/extension-hard-break": "^2.
|
|
57
|
-
"@tiptap/extension-history": "^2.
|
|
58
|
-
"@tiptap/extension-mention": "^2.
|
|
59
|
-
"@tiptap/extension-placeholder": "^2.
|
|
60
|
-
"@tiptap/extension-text-align": "^2.
|
|
61
|
-
"@tiptap/extension-typography": "^2.
|
|
62
|
-
"@tiptap/extension-underline": "^2.
|
|
63
|
-
"@tiptap/pm": "^2.
|
|
64
|
-
"@tiptap/react": "^2.
|
|
65
|
-
"@tiptap/starter-kit": "^2.
|
|
66
|
-
"@tiptap/suggestion": "^2.
|
|
71
|
+
"@tiptap/extension-hard-break": "^2.5.9",
|
|
72
|
+
"@tiptap/extension-history": "^2.5.9",
|
|
73
|
+
"@tiptap/extension-mention": "^2.5.9",
|
|
74
|
+
"@tiptap/extension-placeholder": "^2.5.9",
|
|
75
|
+
"@tiptap/extension-text-align": "^2.5.9",
|
|
76
|
+
"@tiptap/extension-typography": "^2.5.9",
|
|
77
|
+
"@tiptap/extension-underline": "^2.5.9",
|
|
78
|
+
"@tiptap/pm": "^2.5.9",
|
|
79
|
+
"@tiptap/react": "^2.5.9",
|
|
80
|
+
"@tiptap/starter-kit": "^2.5.9",
|
|
81
|
+
"@tiptap/suggestion": "^2.5.9",
|
|
67
82
|
"auth0": "^3.3",
|
|
68
83
|
"axios": "^1.6.2",
|
|
69
84
|
"axios-retry": "^3.8.0",
|
|
@@ -89,14 +104,13 @@
|
|
|
89
104
|
"fast-glob": "^3.2.12",
|
|
90
105
|
"file-loader": "^6.2.0",
|
|
91
106
|
"file-saver": "^1.3.8",
|
|
107
|
+
"flexsearch": "^0.7.43",
|
|
92
108
|
"flickr-sdk": "6.3.0",
|
|
93
109
|
"formidable": "^2.1.1",
|
|
94
110
|
"html-react-parser": "^3.0.15",
|
|
95
111
|
"html-to-image": "^1.10.8",
|
|
96
112
|
"image-type": "^5.2.0",
|
|
97
113
|
"jszip": "^3.10.1",
|
|
98
|
-
"lunr": "^2.3.9",
|
|
99
|
-
"lunr-languages": "^1.9.0",
|
|
100
114
|
"mantine-react-table": "^1.3.4",
|
|
101
115
|
"monaco-themes": "^0.4.2",
|
|
102
116
|
"next-redux-wrapper": "^7.0.0",
|
|
@@ -121,12 +135,14 @@
|
|
|
121
135
|
"yn": "^5.0.0"
|
|
122
136
|
},
|
|
123
137
|
"devDependencies": {
|
|
138
|
+
"@next/bundle-analyzer": "^14.2.5",
|
|
124
139
|
"@types/express": "^4.17.13",
|
|
125
140
|
"@types/node": "^17.0.45",
|
|
126
141
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
127
142
|
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
|
128
143
|
"@typescript-eslint/parser": "^5.15.0",
|
|
129
144
|
"autoprefixer": "^10.0.0",
|
|
145
|
+
"cross-env": "^7.0.3",
|
|
130
146
|
"eslint": "^8.11.0",
|
|
131
147
|
"eslint-import-resolver-typescript": "^3.5.2",
|
|
132
148
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
@@ -141,4 +157,4 @@
|
|
|
141
157
|
"peerDependencies": {
|
|
142
158
|
"next": "^14.2.3"
|
|
143
159
|
}
|
|
144
|
-
}
|
|
160
|
+
}
|
package/dist/index.css
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* components/blocks/types/simpleEditors/SelectorUI.css */
|
|
2
|
-
.selector-option-default-col {
|
|
3
|
-
width: 60px;
|
|
4
|
-
}
|
|
5
|
-
.required:after {
|
|
6
|
-
content: " *";
|
|
7
|
-
color: red;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/* components/builder/components/ConsoleVariable.css */
|
|
11
|
-
.mantine-Prism-root.cr-variable {
|
|
12
|
-
font-size: 11px;
|
|
13
|
-
padding: 0;
|
|
14
|
-
}
|
|
15
|
-
.mantine-Prism-root.cr-variable .mantine-Prism-code {
|
|
16
|
-
background-color: transparent !important;
|
|
17
|
-
padding: 0;
|
|
18
|
-
}
|
|
19
|
-
.cr-variable-accordion .mantine-Accordion-item {
|
|
20
|
-
border-bottom: 0;
|
|
21
|
-
}
|
|
22
|
-
.cr-variable-accordion .mantine-Accordion-control {
|
|
23
|
-
padding: 2px;
|
|
24
|
-
}
|
|
25
|
-
.cr-variable-accordion .mantine-Accordion-contentInner {
|
|
26
|
-
padding: 0;
|
|
27
|
-
}
|
|
28
|
-
.cr-variable-accordion .mantine-Accordion-icon {
|
|
29
|
-
margin-right: 4px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* components/builder/editors/MonacoWrapper.css */
|
|
33
|
-
.cr-monaco-container {
|
|
34
|
-
height: 100%;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* components/blocks/BlockEditor.css */
|
|
38
|
-
.cr-block-output {
|
|
39
|
-
align-items: stretch;
|
|
40
|
-
margin: 0;
|
|
41
|
-
position: relative;
|
|
42
|
-
}
|
|
43
|
-
.cr-block-output .cr-block-output-editor {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
}
|
|
47
|
-
.cr-block-output .cr-block-output-mode-control {
|
|
48
|
-
position: absolute;
|
|
49
|
-
right: 0;
|
|
50
|
-
top: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* views/EditReport.css */
|
|
54
|
-
.mantine-Header-root ~ .mantine-AppShell-body {
|
|
55
|
-
min-height: calc(100vh - 50px);
|
|
56
|
-
}
|
|
57
|
-
.cms-section-controls {
|
|
58
|
-
height: 0;
|
|
59
|
-
}
|
|
60
|
-
.cms-section-controls button {
|
|
61
|
-
background-color: white;
|
|
62
|
-
opacity: 0;
|
|
63
|
-
transition: opacity 0.1s;
|
|
64
|
-
z-index: 2;
|
|
65
|
-
}
|
|
66
|
-
.cms-section-container:hover > .cms-section-controls button {
|
|
67
|
-
opacity: 1;
|
|
68
|
-
}
|
|
69
|
-
.cms-section-container:hover .cms-section-header,
|
|
70
|
-
.cms-section-container:hover .cms-section-click-to-edit,
|
|
71
|
-
.cms-section-header.active {
|
|
72
|
-
opacity: 1;
|
|
73
|
-
}
|
|
74
|
-
.cms-section-container:hover .cms-section-overlay,
|
|
75
|
-
.cms-section-container.isDragging .cms-section-overlay {
|
|
76
|
-
opacity: 0.4;
|
|
77
|
-
}
|
|
78
|
-
.cms-section-container .cms-section-content {
|
|
79
|
-
min-height: 20px;
|
|
80
|
-
}
|
|
81
|
-
.mantine-Modal-body {
|
|
82
|
-
max-height: 90vw;
|
|
83
|
-
}
|
|
84
|
-
.mantine-Prism-root pre {
|
|
85
|
-
font-size: 12px;
|
|
86
|
-
line-height: 1.25;
|
|
87
|
-
}
|