jamespot-react-core 1.2.14 → 1.2.16
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/build/{940.58b11f785b3b386eedad.chunk.js → 940.26799429af4cf1d915c3.chunk.js} +8 -8
- package/build/940.26799429af4cf1d915c3.chunk.js.map +1 -0
- package/build/app.bundle.js +780 -750
- package/build/app.bundle.js.map +1 -1
- package/build/src/components/comments/CommentsBlocCommentWidgetsWrapper.d.ts +1 -1
- package/build/src/components/widgets/WidgetWrapperCore.d.ts +3 -2
- package/build/src/redux/store.d.ts +3 -0
- package/package.json +4 -4
- package/build/940.58b11f785b3b386eedad.chunk.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { jCommentList, WidgetDisplayMode, WidgetWrapperProps } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare const CommentsBlocCommentWidgetsWrapper: (props: {
|
|
4
4
|
comment: jCommentList;
|
|
5
5
|
widgets: WidgetWrapperProps[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jCommentList, WidgetDisplayMode, WidgetWrapperProps } from 'jamespot-user-api';
|
|
1
|
+
import { jCommentList, WidgetContext, WidgetDisplayMode, WidgetWrapperProps } from 'jamespot-user-api';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
3
|
type WidgetWrapperCoreProps = {
|
|
4
4
|
uniqid: string;
|
|
@@ -7,9 +7,10 @@ type WidgetWrapperCoreProps = {
|
|
|
7
7
|
inplace?: boolean;
|
|
8
8
|
mode: WidgetDisplayMode;
|
|
9
9
|
width?: number | undefined;
|
|
10
|
+
context: WidgetContext;
|
|
10
11
|
onWidgetUpdate?: () => void;
|
|
11
12
|
cannotDisplayComponent?: (widget: string) => ReactNode;
|
|
12
13
|
dataCy?: string;
|
|
13
14
|
};
|
|
14
|
-
export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, onWidgetUpdate, cannotDisplayComponent, dataCy, }: WidgetWrapperCoreProps) => React.JSX.Element;
|
|
15
|
+
export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, context, onWidgetUpdate, cannotDisplayComponent, dataCy, }: WidgetWrapperCoreProps) => React.JSX.Element;
|
|
15
16
|
export default WidgetWrapperCore;
|
|
@@ -1075,6 +1075,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
1075
1075
|
uniqid: string;
|
|
1076
1076
|
fn: "widget-presence-response" | "check-list-response" | "widget-update" | "widget-quick-survey-response";
|
|
1077
1077
|
}[];
|
|
1078
|
+
widgetContext: Record<string, "article" | "comment">;
|
|
1078
1079
|
token?: string | undefined;
|
|
1079
1080
|
modal?: {
|
|
1080
1081
|
title?: string | undefined;
|
|
@@ -2019,6 +2020,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
|
|
|
2019
2020
|
uniqid: string;
|
|
2020
2021
|
fn: "widget-presence-response" | "check-list-response" | "widget-update" | "widget-quick-survey-response";
|
|
2021
2022
|
}[];
|
|
2023
|
+
widgetContext: Record<string, "article" | "comment">;
|
|
2022
2024
|
token?: string | undefined;
|
|
2023
2025
|
modal?: {
|
|
2024
2026
|
title?: string | undefined;
|
|
@@ -2968,6 +2970,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
|
|
|
2968
2970
|
uniqid: string;
|
|
2969
2971
|
fn: "widget-presence-response" | "check-list-response" | "widget-update" | "widget-quick-survey-response";
|
|
2970
2972
|
}[];
|
|
2973
|
+
widgetContext: Record<string, "article" | "comment">;
|
|
2971
2974
|
token?: string | undefined;
|
|
2972
2975
|
modal?: {
|
|
2973
2976
|
title?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
57
57
|
"eslint-plugin-import": "^2.31.0",
|
|
58
58
|
"history": "^5.3.0",
|
|
59
|
-
"jamespot-front-business": "^1.2.
|
|
60
|
-
"jamespot-react-components": "^1.2.
|
|
61
|
-
"jamespot-user-api": "^1.2.
|
|
59
|
+
"jamespot-front-business": "^1.2.16",
|
|
60
|
+
"jamespot-react-components": "^1.2.16",
|
|
61
|
+
"jamespot-user-api": "^1.2.16",
|
|
62
62
|
"marked": "^15.0.3",
|
|
63
63
|
"react": "^17.0.2",
|
|
64
64
|
"react-dom": "17.0.2",
|