@scalemule/news-publication 0.0.27 → 0.0.29
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 +4 -0
- package/dist/story-review.cjs +618 -569
- package/dist/story-review.d.cts +4 -1
- package/dist/story-review.d.ts +4 -1
- package/dist/story-review.js +618 -569
- package/package.json +1 -1
- package/story-review.css +80 -16
package/dist/story-review.d.cts
CHANGED
|
@@ -32,10 +32,13 @@ type Revision = {
|
|
|
32
32
|
document: Document;
|
|
33
33
|
content_html: string;
|
|
34
34
|
};
|
|
35
|
-
declare function StoryReview({ sessionId, publicationName, nameplateUrl, }: {
|
|
35
|
+
declare function StoryReview({ sessionId, publicationName, nameplateUrl, publicationHeader, publicationFooter, }: {
|
|
36
36
|
sessionId: string;
|
|
37
37
|
publicationName: string;
|
|
38
38
|
nameplateUrl?: string;
|
|
39
|
+
/** The publication supplies its real shell; private content still loads only through the review capability. */
|
|
40
|
+
publicationHeader?: react__default.ReactNode;
|
|
41
|
+
publicationFooter?: react__default.ReactNode;
|
|
39
42
|
}): react__default.JSX.Element;
|
|
40
43
|
/** Paragraph comparisons preserve readable prose and identify title/dek and media changes. */
|
|
41
44
|
declare function ReviewDiff({ before, after, }: {
|
package/dist/story-review.d.ts
CHANGED
|
@@ -32,10 +32,13 @@ type Revision = {
|
|
|
32
32
|
document: Document;
|
|
33
33
|
content_html: string;
|
|
34
34
|
};
|
|
35
|
-
declare function StoryReview({ sessionId, publicationName, nameplateUrl, }: {
|
|
35
|
+
declare function StoryReview({ sessionId, publicationName, nameplateUrl, publicationHeader, publicationFooter, }: {
|
|
36
36
|
sessionId: string;
|
|
37
37
|
publicationName: string;
|
|
38
38
|
nameplateUrl?: string;
|
|
39
|
+
/** The publication supplies its real shell; private content still loads only through the review capability. */
|
|
40
|
+
publicationHeader?: react__default.ReactNode;
|
|
41
|
+
publicationFooter?: react__default.ReactNode;
|
|
39
42
|
}): react__default.JSX.Element;
|
|
40
43
|
/** Paragraph comparisons preserve readable prose and identify title/dek and media changes. */
|
|
41
44
|
declare function ReviewDiff({ before, after, }: {
|