@jpmorganchase/mosaic-content-editor-plugin 0.1.0-beta.72 → 0.1.0-beta.74
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/package.json +10 -7
- package/.turbo/turbo-build.log +0 -4
- package/CHANGELOG.md +0 -687
- package/src/components/ActionMenu/ActionMenu.css.ts +0 -9
- package/src/components/ActionMenu/ActionMenu.tsx +0 -26
- package/src/components/BaseToolbar/BaseToolbar.css.ts +0 -21
- package/src/components/BaseToolbar/BaseToolbar.tsx +0 -13
- package/src/components/BaseTooltray/BaseTooltray.css.ts +0 -31
- package/src/components/BaseTooltray/BaseTooltray.tsx +0 -22
- package/src/components/ContentEditor.tsx +0 -14
- package/src/components/Dialog.css.ts +0 -7
- package/src/components/Dialog.tsx +0 -12
- package/src/components/Editor.css.ts +0 -64
- package/src/components/Editor.tsx +0 -145
- package/src/components/EditorControls.css.ts +0 -6
- package/src/components/EditorControls.tsx +0 -37
- package/src/components/LinkEditor/EditLinkButton.tsx +0 -9
- package/src/components/LinkEditor/LinkEditor.css.ts +0 -15
- package/src/components/LinkEditor/LinkEditor.tsx +0 -136
- package/src/components/LinkEditor/SaveAdornment.tsx +0 -17
- package/src/components/PersistEditDialog/PersistStatus.css.ts +0 -21
- package/src/components/PersistEditDialog/PersistStatus.tsx +0 -57
- package/src/components/PersistEditDialog/__tests__/index.test.tsx +0 -90
- package/src/components/PersistEditDialog/index.css.ts +0 -14
- package/src/components/PersistEditDialog/index.tsx +0 -152
- package/src/components/Popper/Popper.css.ts +0 -12
- package/src/components/Popper/Popper.tsx +0 -36
- package/src/components/SaveButton.tsx +0 -23
- package/src/components/ScrollableSection/ScrollableSection.css.ts +0 -10
- package/src/components/ScrollableSection/ScrollableSection.tsx +0 -20
- package/src/components/StatusBanner.tsx +0 -16
- package/src/components/Toolbar/InsertBlockDropdown.tsx +0 -134
- package/src/components/Toolbar/InsertHorizontalRule.tsx +0 -18
- package/src/components/Toolbar/InsertImage.css.ts +0 -7
- package/src/components/Toolbar/InsertImage.tsx +0 -138
- package/src/components/Toolbar/InsertLink.css.ts +0 -7
- package/src/components/Toolbar/InsertLink.tsx +0 -148
- package/src/components/Toolbar/InsertTable.css.ts +0 -52
- package/src/components/Toolbar/InsertTable.tsx +0 -196
- package/src/components/Toolbar/TextFormatTooltray.css.ts +0 -22
- package/src/components/Toolbar/TextFormatTooltray.tsx +0 -113
- package/src/components/Toolbar/Toolbar.tsx +0 -52
- package/src/components/Toolbar/ToolbarButton.css.ts +0 -11
- package/src/components/Toolbar/ToolbarButton.tsx +0 -41
- package/src/components/Toolbar/ToolbarSeparator.css.ts +0 -28
- package/src/components/Toolbar/ToolbarSepartor.tsx +0 -13
- package/src/components/__tests__/EditorControls.test.tsx +0 -69
- package/src/components/__tests__/StatusBanner.test.tsx +0 -33
- package/src/hooks/useEditHistory.ts +0 -49
- package/src/hooks/useWorkflowFeed.ts +0 -69
- package/src/index.ts +0 -5
- package/src/nodes/index.ts +0 -23
- package/src/plugins/FloatingToolbarPlugin.css.ts +0 -14
- package/src/plugins/FloatingToolbarPlugin.tsx +0 -101
- package/src/plugins/HorizontalRulePlugin.tsx +0 -39
- package/src/plugins/MarkdownImagePlugin.tsx +0 -58
- package/src/plugins/MarkdownLinkPlugin.tsx +0 -69
- package/src/plugins/PreviewPlugin.tsx +0 -71
- package/src/plugins/TableActionMenuPlugin.css.ts +0 -29
- package/src/plugins/TableActionMenuPlugin.tsx +0 -274
- package/src/store/__tests__/index.test.ts +0 -171
- package/src/store/index.ts +0 -84
- package/src/theme/index.css.ts +0 -39
- package/src/theme/index.ts +0 -22
- package/src/transformers/horizontalRule.ts +0 -25
- package/src/transformers/index.ts +0 -6
- package/src/transformers/link.ts +0 -3
- package/src/transformers/tableRule.ts +0 -193
- package/src/utils/getSelectedNode.ts +0 -16
- package/tsconfig.json +0 -8
package/CHANGELOG.md
DELETED
|
@@ -1,687 +0,0 @@
|
|
|
1
|
-
# @jpmorganchase/mosaic-content-editor-plugin
|
|
2
|
-
|
|
3
|
-
## 0.1.0-beta.72
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- e5d14ab4: Upgraded Salt packages to:
|
|
8
|
-
|
|
9
|
-
@salt-ds/core@1.22.0
|
|
10
|
-
@salt-ds/lab@1.0.0-alpha.38
|
|
11
|
-
@salt-ds/theme@1.13.1
|
|
12
|
-
|
|
13
|
-
- Updated dependencies [e5d14ab4]
|
|
14
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.72
|
|
15
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.72
|
|
16
|
-
|
|
17
|
-
## 0.1.0-beta.71
|
|
18
|
-
|
|
19
|
-
### Patch Changes
|
|
20
|
-
|
|
21
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.71
|
|
22
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.71
|
|
23
|
-
|
|
24
|
-
## 0.1.0-beta.70
|
|
25
|
-
|
|
26
|
-
### Patch Changes
|
|
27
|
-
|
|
28
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.70
|
|
29
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.70
|
|
30
|
-
|
|
31
|
-
## 0.1.0-beta.69
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.69
|
|
36
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.69
|
|
37
|
-
|
|
38
|
-
## 0.1.0-beta.68
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.68
|
|
43
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.68
|
|
44
|
-
|
|
45
|
-
## 0.1.0-beta.67
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.67
|
|
50
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.67
|
|
51
|
-
|
|
52
|
-
## 0.1.0-beta.66
|
|
53
|
-
|
|
54
|
-
### Patch Changes
|
|
55
|
-
|
|
56
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.66
|
|
57
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.66
|
|
58
|
-
|
|
59
|
-
## 0.1.0-beta.65
|
|
60
|
-
|
|
61
|
-
### Patch Changes
|
|
62
|
-
|
|
63
|
-
- abe4f6c8: Fix: Content Editor Websocket
|
|
64
|
-
|
|
65
|
-
Reduce the risk of the websocket connection from closing due to editing/reviewing for a long period.
|
|
66
|
-
|
|
67
|
-
The websocket connection is now established when the _save_ button is clicked rather than the _edit_ button.
|
|
68
|
-
|
|
69
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.65
|
|
70
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.65
|
|
71
|
-
|
|
72
|
-
## 0.1.0-beta.64
|
|
73
|
-
|
|
74
|
-
### Patch Changes
|
|
75
|
-
|
|
76
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.64
|
|
77
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.64
|
|
78
|
-
|
|
79
|
-
## 0.1.0-beta.63
|
|
80
|
-
|
|
81
|
-
### Patch Changes
|
|
82
|
-
|
|
83
|
-
- Updated dependencies [680eb0eb]
|
|
84
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.63
|
|
85
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.63
|
|
86
|
-
|
|
87
|
-
## 0.1.0-beta.62
|
|
88
|
-
|
|
89
|
-
### Patch Changes
|
|
90
|
-
|
|
91
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.62
|
|
92
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.62
|
|
93
|
-
|
|
94
|
-
## 0.1.0-beta.61
|
|
95
|
-
|
|
96
|
-
### Patch Changes
|
|
97
|
-
|
|
98
|
-
- cec89401: add `pluginTimeout` (20 secs) to fastify to prevent loading timeout
|
|
99
|
-
- Updated dependencies [cec89401]
|
|
100
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.61
|
|
101
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.61
|
|
102
|
-
|
|
103
|
-
## 0.1.0-beta.60
|
|
104
|
-
|
|
105
|
-
### Patch Changes
|
|
106
|
-
|
|
107
|
-
- a3da0830: New Readme Source
|
|
108
|
-
|
|
109
|
-
This source pulls a single Readme.md from a remote Source repo.
|
|
110
|
-
Typically used for third-party repos which exist already or don't want to
|
|
111
|
-
create a full document hierachy and use `@jpmorganchase/mosaic-source-git-repo`.
|
|
112
|
-
By pulling a single page, we can add metadata to that page via the source's config.
|
|
113
|
-
It's also more performant as we do not need to pull a whole source repo.
|
|
114
|
-
|
|
115
|
-
- Updated dependencies [a3da0830]
|
|
116
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.60
|
|
117
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.60
|
|
118
|
-
|
|
119
|
-
## 0.1.0-beta.59
|
|
120
|
-
|
|
121
|
-
### Patch Changes
|
|
122
|
-
|
|
123
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.59
|
|
124
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.59
|
|
125
|
-
|
|
126
|
-
## 0.1.0-beta.58
|
|
127
|
-
|
|
128
|
-
### Patch Changes
|
|
129
|
-
|
|
130
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.58
|
|
131
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.58
|
|
132
|
-
|
|
133
|
-
## 0.1.0-beta.57
|
|
134
|
-
|
|
135
|
-
### Patch Changes
|
|
136
|
-
|
|
137
|
-
- d214d112: Add catch-all default exports for
|
|
138
|
-
|
|
139
|
-
- `@jpmorganchase/mosaic-store`
|
|
140
|
-
- `@jpmorganchase/mosaic-theme`
|
|
141
|
-
- `@jpmorganchase/mosaic-workflows`
|
|
142
|
-
|
|
143
|
-
This resolves an issue when running tests from an external repo which depends on these packages
|
|
144
|
-
|
|
145
|
-
- Updated dependencies [d214d112]
|
|
146
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.57
|
|
147
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.57
|
|
148
|
-
|
|
149
|
-
## 0.1.0-beta.56
|
|
150
|
-
|
|
151
|
-
### Patch Changes
|
|
152
|
-
|
|
153
|
-
- 6d30e29f: Add new Storybook source
|
|
154
|
-
|
|
155
|
-
Storybook stories can be extracted from Storybook and embedded into Mosaic pages.
|
|
156
|
-
|
|
157
|
-
The stories are extracted based on a configured filter or matching tags.
|
|
158
|
-
|
|
159
|
-
With a page created for each Story, the author can create a dynamic index of matching stories.
|
|
160
|
-
|
|
161
|
-
eg. An index of patterns which match a specific tag
|
|
162
|
-
|
|
163
|
-
- Updated dependencies [6d30e29f]
|
|
164
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.56
|
|
165
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.56
|
|
166
|
-
|
|
167
|
-
## 0.1.0-beta.55
|
|
168
|
-
|
|
169
|
-
### Minor Changes
|
|
170
|
-
|
|
171
|
-
- 3dd27378: Upgraded Salt packages to:
|
|
172
|
-
|
|
173
|
-
@salt-ds/core@1.11.0
|
|
174
|
-
@salt-ds/lab@1.0.0-alpha.20
|
|
175
|
-
@salt-ds/icons@1.7.0
|
|
176
|
-
@salt-ds/theme@1.9.0
|
|
177
|
-
|
|
178
|
-
### Patch Changes
|
|
179
|
-
|
|
180
|
-
- Updated dependencies [3dd27378]
|
|
181
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.55
|
|
182
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.55
|
|
183
|
-
|
|
184
|
-
## 0.1.0-beta.54
|
|
185
|
-
|
|
186
|
-
### Patch Changes
|
|
187
|
-
|
|
188
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.54
|
|
189
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.54
|
|
190
|
-
|
|
191
|
-
## 0.1.0-beta.53
|
|
192
|
-
|
|
193
|
-
### Patch Changes
|
|
194
|
-
|
|
195
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.53
|
|
196
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.53
|
|
197
|
-
|
|
198
|
-
## 0.1.0-beta.52
|
|
199
|
-
|
|
200
|
-
### Patch Changes
|
|
201
|
-
|
|
202
|
-
- 9ad7418c: Use a websocket for workflows
|
|
203
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.52
|
|
204
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.52
|
|
205
|
-
|
|
206
|
-
## 0.1.0-beta.51
|
|
207
|
-
|
|
208
|
-
### Patch Changes
|
|
209
|
-
|
|
210
|
-
- Updated dependencies [56bbad4b]
|
|
211
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.51
|
|
212
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.51
|
|
213
|
-
|
|
214
|
-
## 0.1.0-beta.50
|
|
215
|
-
|
|
216
|
-
### Patch Changes
|
|
217
|
-
|
|
218
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.50
|
|
219
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.50
|
|
220
|
-
|
|
221
|
-
## 0.1.0-beta.49
|
|
222
|
-
|
|
223
|
-
### Patch Changes
|
|
224
|
-
|
|
225
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.49
|
|
226
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.49
|
|
227
|
-
|
|
228
|
-
## 0.1.0-beta.48
|
|
229
|
-
|
|
230
|
-
### Patch Changes
|
|
231
|
-
|
|
232
|
-
- eb085d3d: ### Fix
|
|
233
|
-
|
|
234
|
-
The insert/edit link dialog no longer closes when its contents are clicked.
|
|
235
|
-
|
|
236
|
-
### Refactor
|
|
237
|
-
|
|
238
|
-
The forms used to insert/edit links and insert images in the content editor plugin have been updated to use the latest version of `FormField` and `Input` from Salt-ds.
|
|
239
|
-
|
|
240
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.48
|
|
241
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.48
|
|
242
|
-
|
|
243
|
-
## 0.1.0-beta.47
|
|
244
|
-
|
|
245
|
-
### Patch Changes
|
|
246
|
-
|
|
247
|
-
- Updated dependencies [5abe7fdf]
|
|
248
|
-
- Updated dependencies [19b4e49a]
|
|
249
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.47
|
|
250
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.47
|
|
251
|
-
|
|
252
|
-
## 0.1.0-beta.46
|
|
253
|
-
|
|
254
|
-
### Patch Changes
|
|
255
|
-
|
|
256
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.46
|
|
257
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.46
|
|
258
|
-
|
|
259
|
-
## 0.1.0-beta.45
|
|
260
|
-
|
|
261
|
-
### Patch Changes
|
|
262
|
-
|
|
263
|
-
- Updated dependencies [020ae58d]
|
|
264
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.45
|
|
265
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.45
|
|
266
|
-
|
|
267
|
-
## 0.1.0-beta.44
|
|
268
|
-
|
|
269
|
-
### Patch Changes
|
|
270
|
-
|
|
271
|
-
- Updated dependencies [cc5183e]
|
|
272
|
-
- Updated dependencies [36896ac]
|
|
273
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.44
|
|
274
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.44
|
|
275
|
-
|
|
276
|
-
## 0.1.0-beta.43
|
|
277
|
-
|
|
278
|
-
### Patch Changes
|
|
279
|
-
|
|
280
|
-
- Updated dependencies [0dc621d]
|
|
281
|
-
- Updated dependencies [4e69178]
|
|
282
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.43
|
|
283
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.43
|
|
284
|
-
|
|
285
|
-
## 0.1.0-beta.42
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- Updated dependencies [3491f29]
|
|
290
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.42
|
|
291
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.42
|
|
292
|
-
|
|
293
|
-
## 0.1.0-beta.41
|
|
294
|
-
|
|
295
|
-
### Patch Changes
|
|
296
|
-
|
|
297
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.41
|
|
298
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.41
|
|
299
|
-
|
|
300
|
-
## 0.1.0-beta.40
|
|
301
|
-
|
|
302
|
-
### Patch Changes
|
|
303
|
-
|
|
304
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.40
|
|
305
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.40
|
|
306
|
-
|
|
307
|
-
## 0.1.0-beta.39
|
|
308
|
-
|
|
309
|
-
### Patch Changes
|
|
310
|
-
|
|
311
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.39
|
|
312
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.39
|
|
313
|
-
|
|
314
|
-
## 0.1.0-beta.38
|
|
315
|
-
|
|
316
|
-
### Patch Changes
|
|
317
|
-
|
|
318
|
-
- dc993df: Styling and API changes for In-Browser Content Editor (IBCE)
|
|
319
|
-
- Updated dependencies [18f7a0b]
|
|
320
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.38
|
|
321
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.38
|
|
322
|
-
|
|
323
|
-
## 0.1.0-beta.37
|
|
324
|
-
|
|
325
|
-
### Patch Changes
|
|
326
|
-
|
|
327
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.37
|
|
328
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.37
|
|
329
|
-
|
|
330
|
-
## 0.1.0-beta.36
|
|
331
|
-
|
|
332
|
-
### Patch Changes
|
|
333
|
-
|
|
334
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.36
|
|
335
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.36
|
|
336
|
-
|
|
337
|
-
## 0.1.0-beta.35
|
|
338
|
-
|
|
339
|
-
### Patch Changes
|
|
340
|
-
|
|
341
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.35
|
|
342
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.35
|
|
343
|
-
|
|
344
|
-
## 0.1.0-beta.34
|
|
345
|
-
|
|
346
|
-
### Patch Changes
|
|
347
|
-
|
|
348
|
-
- 3d117d3: Upgrade to latest Salt libraries
|
|
349
|
-
- Updated dependencies [3d117d3]
|
|
350
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.34
|
|
351
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.34
|
|
352
|
-
|
|
353
|
-
## 0.1.0-beta.33
|
|
354
|
-
|
|
355
|
-
### Patch Changes
|
|
356
|
-
|
|
357
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.33
|
|
358
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.33
|
|
359
|
-
|
|
360
|
-
## 0.1.0-beta.32
|
|
361
|
-
|
|
362
|
-
### Patch Changes
|
|
363
|
-
|
|
364
|
-
- 6265b19: Upgrade to latest Salt libraries
|
|
365
|
-
- Updated dependencies [6265b19]
|
|
366
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.32
|
|
367
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.32
|
|
368
|
-
|
|
369
|
-
## 0.1.0-beta.31
|
|
370
|
-
|
|
371
|
-
### Patch Changes
|
|
372
|
-
|
|
373
|
-
- b609fd0: Added support for containerization of the site and cli as well as providing config for kubernetes development (skaffold)
|
|
374
|
-
|
|
375
|
-
## @jpmorganchase/mosaic-cli
|
|
376
|
-
|
|
377
|
-
The cli package has been updated to support containerization.
|
|
378
|
-
|
|
379
|
-
- Updated dependencies [b609fd0]
|
|
380
|
-
- Updated dependencies [d04fb1e]
|
|
381
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.31
|
|
382
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.31
|
|
383
|
-
|
|
384
|
-
## 0.1.0-beta.30
|
|
385
|
-
|
|
386
|
-
### Patch Changes
|
|
387
|
-
|
|
388
|
-
- 18ef436: The git repo source no longer generates a double slash between the repo host and repo path.
|
|
389
|
-
- Updated dependencies [18ef436]
|
|
390
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.30
|
|
391
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.30
|
|
392
|
-
|
|
393
|
-
## 0.1.0-beta.29
|
|
394
|
-
|
|
395
|
-
### Minor Changes
|
|
396
|
-
|
|
397
|
-
- c78deb4: Flatten Sidebar
|
|
398
|
-
Search Optimisation
|
|
399
|
-
Public Assets Plugin
|
|
400
|
-
TOC Indentation
|
|
401
|
-
|
|
402
|
-
### Patch Changes
|
|
403
|
-
|
|
404
|
-
- Updated dependencies [c78deb4]
|
|
405
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.29
|
|
406
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.29
|
|
407
|
-
|
|
408
|
-
## 0.1.0-beta.28
|
|
409
|
-
|
|
410
|
-
### Patch Changes
|
|
411
|
-
|
|
412
|
-
- 27ac914: 1. Layout improvements. 2. Fix: if a user hits a url that lands on a directory, the index file within that directory is resolved as the content. 3. Fix: improve Table of Contents component highlighting.
|
|
413
|
-
- Updated dependencies [27ac914]
|
|
414
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.28
|
|
415
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.28
|
|
416
|
-
|
|
417
|
-
## 0.1.0-beta.27
|
|
418
|
-
|
|
419
|
-
### Patch Changes
|
|
420
|
-
|
|
421
|
-
- 0a672d4: Pin @salt-ds/lab to 1.0.0-alpha.1
|
|
422
|
-
- b465413: Improvements to vercel deployments
|
|
423
|
-
- Updated dependencies [0a672d4]
|
|
424
|
-
- Updated dependencies [b465413]
|
|
425
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.27
|
|
426
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.27
|
|
427
|
-
|
|
428
|
-
## 0.1.0-beta.26
|
|
429
|
-
|
|
430
|
-
### Minor Changes
|
|
431
|
-
|
|
432
|
-
- 531c87a: ## Mosaic Theme
|
|
433
|
-
|
|
434
|
-
The theme variables are now globally scoped and prefixed with `mosaic`.
|
|
435
|
-
|
|
436
|
-
## BrokenLinksPlugin
|
|
437
|
-
|
|
438
|
-
The `BrokenLinksPlugin` uses a running instance of mosaic to verify that all links in the source pages are alive.
|
|
439
|
-
|
|
440
|
-
If mosaic is running behind a corporate proxy, the `proxyEndpoint` option is required to fetch external URLs.
|
|
441
|
-
|
|
442
|
-
Configuration:
|
|
443
|
-
|
|
444
|
-
```json
|
|
445
|
-
{
|
|
446
|
-
modulePath: '@jpmorganchase/mosaic-plugins/BrokenLinksPlugin',
|
|
447
|
-
priority: -1,
|
|
448
|
-
// Exclude this plugin in builds
|
|
449
|
-
runTimeOnly: true,
|
|
450
|
-
options: {
|
|
451
|
-
baseUrl: process.env.MOSAIC_ACTIVE_MODE_URL || 'http://localhost:8080',
|
|
452
|
-
proxyEndpoint: 'http://some-proxy-url'
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
## Next/Prev button
|
|
458
|
-
|
|
459
|
-
The next and prev buttons are visible again on pages that have a layout that uses these buttons.
|
|
460
|
-
|
|
461
|
-
### Patch Changes
|
|
462
|
-
|
|
463
|
-
- Updated dependencies [531c87a]
|
|
464
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.26
|
|
465
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.26
|
|
466
|
-
|
|
467
|
-
## 0.1.0-beta.25
|
|
468
|
-
|
|
469
|
-
### Minor Changes
|
|
470
|
-
|
|
471
|
-
- 93e9b07: The theme contract provided by the `@jpmorganchase/mosaic-theme` package now uses locally scoped variable names via a Vanilla Extract [Theme Contract](https://vanilla-extract.style/documentation/api/create-theme-contract/). Previously the theme variables were globally scoped resulting in conflicts with other design systems.
|
|
472
|
-
|
|
473
|
-
### Patch Changes
|
|
474
|
-
|
|
475
|
-
- a36219c: - Next/Prev page buttons were not appearing at the bottom of a page sequence
|
|
476
|
-
- Removed redundant snapshot page api
|
|
477
|
-
- Updated dependencies [a36219c]
|
|
478
|
-
- Updated dependencies [93e9b07]
|
|
479
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.25
|
|
480
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.25
|
|
481
|
-
|
|
482
|
-
## 0.1.0-beta.24
|
|
483
|
-
|
|
484
|
-
### Patch Changes
|
|
485
|
-
|
|
486
|
-
- 049d9af: 1. Pip Salt version 2. Issues 155, make 500 error more specific 3. button and sidebar styles 4. search opt-out
|
|
487
|
-
- Updated dependencies [049d9af]
|
|
488
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.24
|
|
489
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.24
|
|
490
|
-
|
|
491
|
-
## 0.1.0-beta.23
|
|
492
|
-
|
|
493
|
-
### Patch Changes
|
|
494
|
-
|
|
495
|
-
- 513d45f: Sidebar behavior and styling changes.
|
|
496
|
-
Add Client-side search feature.
|
|
497
|
-
Relax node engine requirements.
|
|
498
|
-
Removal of patches from the site package.
|
|
499
|
-
Update site generator templates.
|
|
500
|
-
- Updated dependencies [513d45f]
|
|
501
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.23
|
|
502
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.23
|
|
503
|
-
|
|
504
|
-
## 0.1.0-beta.22
|
|
505
|
-
|
|
506
|
-
### Patch Changes
|
|
507
|
-
|
|
508
|
-
- be89e4f: fix markdown tables and update generator's Salt patches
|
|
509
|
-
|
|
510
|
-
- Salt patches in generator were out of sync with Mosaic repo
|
|
511
|
-
- Markdown now support github flavoured markdown, such as Tables
|
|
512
|
-
|
|
513
|
-
- Updated dependencies [be89e4f]
|
|
514
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.22
|
|
515
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.22
|
|
516
|
-
|
|
517
|
-
## 0.1.0-beta.21
|
|
518
|
-
|
|
519
|
-
### Patch Changes
|
|
520
|
-
|
|
521
|
-
- f75fd5e: fix sidebar which was generated after `beforeSend` had completed
|
|
522
|
-
- Updated dependencies [f75fd5e]
|
|
523
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.21
|
|
524
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.21
|
|
525
|
-
|
|
526
|
-
## 0.1.0-beta.20
|
|
527
|
-
|
|
528
|
-
### Patch Changes
|
|
529
|
-
|
|
530
|
-
- 9c7b8ff: pip to beta.20
|
|
531
|
-
- Updated dependencies [9c7b8ff]
|
|
532
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.20
|
|
533
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.20
|
|
534
|
-
|
|
535
|
-
## 0.1.0-beta.19
|
|
536
|
-
|
|
537
|
-
### Patch Changes
|
|
538
|
-
|
|
539
|
-
- ad06d4c: ensure spinner is removed after page has loaded
|
|
540
|
-
- Updated dependencies [ad06d4c]
|
|
541
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.19
|
|
542
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.19
|
|
543
|
-
|
|
544
|
-
## 0.1.0-beta.18
|
|
545
|
-
|
|
546
|
-
### Patch Changes
|
|
547
|
-
|
|
548
|
-
- 066efed: Update docs with quick-start guide
|
|
549
|
-
|
|
550
|
-
Sample docs now include a 'quick-start' guide to onboarding to AWS.
|
|
551
|
-
|
|
552
|
-
Also
|
|
553
|
-
|
|
554
|
-
- generator default directory is the current directory
|
|
555
|
-
- after generating a site, it will run `yarn` in the created directory. This simplifies the generator call to just `yarn mosaic-create-site`
|
|
556
|
-
|
|
557
|
-
- Updated dependencies [066efed]
|
|
558
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.18
|
|
559
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.18
|
|
560
|
-
|
|
561
|
-
## 0.1.0-beta.17
|
|
562
|
-
|
|
563
|
-
### Patch Changes
|
|
564
|
-
|
|
565
|
-
- b2f6d52: Fix `pre` block code block rendering
|
|
566
|
-
- Updated dependencies [b2f6d52]
|
|
567
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.17
|
|
568
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.17
|
|
569
|
-
|
|
570
|
-
## 0.1.0-beta.16
|
|
571
|
-
|
|
572
|
-
### Patch Changes
|
|
573
|
-
|
|
574
|
-
- 3a5c88a: add missing `@types/node` dependency for generator
|
|
575
|
-
- Updated dependencies [3a5c88a]
|
|
576
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.16
|
|
577
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.16
|
|
578
|
-
|
|
579
|
-
## 0.1.0-beta.15
|
|
580
|
-
|
|
581
|
-
### Patch Changes
|
|
582
|
-
|
|
583
|
-
- aaaf255: initial release of HTTP Source package.
|
|
584
|
-
|
|
585
|
-
An HTTP source accepts a collection of endpoints and a path to a transformer module.
|
|
586
|
-
The response from fetching is transformed and merged together into 1 single collection of pages.
|
|
587
|
-
Should 1 of the endpoints request fail then it will have no impact on the other requests.
|
|
588
|
-
|
|
589
|
-
- Updated dependencies [aaaf255]
|
|
590
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.15
|
|
591
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.15
|
|
592
|
-
|
|
593
|
-
## 0.1.0-beta.14
|
|
594
|
-
|
|
595
|
-
### Patch Changes
|
|
596
|
-
|
|
597
|
-
- dde3b5a: Feature release
|
|
598
|
-
|
|
599
|
-
- Enhanced generators now have defaults.
|
|
600
|
-
With one command (`yarn mosaic-create-site create`) it will generate a fully working site with both local and remote sources
|
|
601
|
-
- Fix an issue where we could not clone from the master branch of git repos
|
|
602
|
-
- Migrate to Next 13 image
|
|
603
|
-
|
|
604
|
-
- Updated dependencies [dde3b5a]
|
|
605
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.14
|
|
606
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.14
|
|
607
|
-
|
|
608
|
-
## 0.1.0-beta.13
|
|
609
|
-
|
|
610
|
-
### Patch Changes
|
|
611
|
-
|
|
612
|
-
- d4da1df: incremental improvements
|
|
613
|
-
|
|
614
|
-
- move colormode into store
|
|
615
|
-
- ensure breadcrumbs and sidebar data is only added to frontmatter for pages which use a layout that has breadcrumbs or a sidebar
|
|
616
|
-
- improve changeset so it can work standalone without a monorepo
|
|
617
|
-
- resolev json5 vulnerability
|
|
618
|
-
|
|
619
|
-
- Updated dependencies [d4da1df]
|
|
620
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.13
|
|
621
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.13
|
|
622
|
-
|
|
623
|
-
## 0.1.0-beta.12
|
|
624
|
-
|
|
625
|
-
### Patch Changes
|
|
626
|
-
|
|
627
|
-
- 9ec358b: Upgrade React to version 18 and NextJs to version 13
|
|
628
|
-
- 3eb35bf: initial work to enable generators to run outside of the repo
|
|
629
|
-
- Updated dependencies [9ec358b]
|
|
630
|
-
- Updated dependencies [3eb35bf]
|
|
631
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.12
|
|
632
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.12
|
|
633
|
-
|
|
634
|
-
## 0.1.0-beta.11
|
|
635
|
-
|
|
636
|
-
### Patch Changes
|
|
637
|
-
|
|
638
|
-
- 146a4bb: fix SSR Initial render
|
|
639
|
-
|
|
640
|
-
removed Salt Core patch
|
|
641
|
-
added Salt Labs patch (Cascading Menu) to support SSR
|
|
642
|
-
|
|
643
|
-
- fc5d7b5: Generators can now interactively add sources
|
|
644
|
-
|
|
645
|
-
Previously we were making local edits to our own site or examples to implement new features.
|
|
646
|
-
What we wanted was the ability to create a local rig, A local rig can be used for development purposes,
|
|
647
|
-
without touching our site code.
|
|
648
|
-
|
|
649
|
-
We have added Mosaic repo commands, to enable us to generates local rigs (`yarn gen:rig`) and deploy our own
|
|
650
|
-
tech docs via snapshot (`yarn gen`)
|
|
651
|
-
|
|
652
|
-
To generate a site+snapshot from sources defined in `mosaic-generators.js`, run `yarn gen`
|
|
653
|
-
To generate a dynamic site from sources defined in `mosaic-generators.js`, run `yarn gen:site`
|
|
654
|
-
To generate a rig `yarn gen:rig`
|
|
655
|
-
|
|
656
|
-
Equally these changes can be used to generate sites in other repos via the `mosaic-create-site` command.
|
|
657
|
-
|
|
658
|
-
`yarn mosaic-create-site init` will create a `mosaic.generators.js`.
|
|
659
|
-
|
|
660
|
-
Configure the `mosaic.generators.js` with your generator and sources, then run.
|
|
661
|
-
|
|
662
|
-
`yarn mosaic-create-site create -i -o path/to/my-site`
|
|
663
|
-
|
|
664
|
-
When this command is run, it will present an interactive menu of generators and output the site to `path/to/my-site`.
|
|
665
|
-
|
|
666
|
-
- Updated dependencies [146a4bb]
|
|
667
|
-
- Updated dependencies [fc5d7b5]
|
|
668
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.11
|
|
669
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.11
|
|
670
|
-
|
|
671
|
-
## 0.1.0-beta.10
|
|
672
|
-
|
|
673
|
-
### Patch Changes
|
|
674
|
-
|
|
675
|
-
- af2f579: Converted repo to ESM and Salt DS nomenclature
|
|
676
|
-
|
|
677
|
-
- Switch UITK nomenclature to Salt DS
|
|
678
|
-
Upgraded to first stable version of Salt DS version 1.0.0
|
|
679
|
-
- CommonJS code switched to ESM and upgraded to Node 16
|
|
680
|
-
- Removed example-nextjs-ssr package as un-required, can be replaced by documentation
|
|
681
|
-
- Sites can now generate immutable snapshots of content that loads content like a SGS (statically generated site)
|
|
682
|
-
Snapshots can be used as a serverless solution when deployed to Vercel.
|
|
683
|
-
- New Middleware package `@jpmorganchase/mosaic-site-middleware`
|
|
684
|
-
|
|
685
|
-
- Updated dependencies [af2f579]
|
|
686
|
-
- @jpmorganchase/mosaic-components@0.1.0-beta.10
|
|
687
|
-
- @jpmorganchase/mosaic-theme@0.1.0-beta.10
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MenuButton, MenuDescriptor } from '@salt-ds/lab';
|
|
3
|
-
import { Icon } from '@jpmorganchase/mosaic-components';
|
|
4
|
-
|
|
5
|
-
import type { CascadingMenuProps } from '@salt-ds/lab';
|
|
6
|
-
|
|
7
|
-
export type ActionMenuSource = MenuDescriptor;
|
|
8
|
-
|
|
9
|
-
interface ActionMenuProps {
|
|
10
|
-
initialSource: CascadingMenuProps['initialSource'];
|
|
11
|
-
onItemClick: CascadingMenuProps['onItemClick'];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function ActionMenu({ initialSource, onItemClick }: ActionMenuProps) {
|
|
15
|
-
return (
|
|
16
|
-
<MenuButton
|
|
17
|
-
hideCaret
|
|
18
|
-
CascadingMenuProps={{
|
|
19
|
-
initialSource,
|
|
20
|
-
onItemClick
|
|
21
|
-
}}
|
|
22
|
-
>
|
|
23
|
-
<Icon name="menu" />
|
|
24
|
-
</MenuButton>
|
|
25
|
-
);
|
|
26
|
-
}
|