jamespot-react-core 1.2.62 → 1.3.4
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/605.f594e89c1007934615b9.chunk.js +2 -0
- package/build/605.f594e89c1007934615b9.chunk.js.map +1 -0
- package/build/{306.70047e7323717f3ef108.chunk.js → 818.3f23be9d7323f83e9353.chunk.js} +171 -171
- package/build/818.3f23be9d7323f83e9353.chunk.js.map +1 -0
- package/build/app.bundle.js +872 -803
- package/build/app.bundle.js.map +1 -1
- package/build/src/App.d.ts +1 -0
- package/build/src/components/widgets/Widget.d.ts +1 -1
- package/build/src/components/widgets/wrapper/JRCWidgetExtensionWrapper.d.ts +5 -0
- package/build/src/components/widgets/wrapper/JRCWidgetWelcomeWrapper.d.ts +8 -0
- package/build/src/registry/ext-component-list.d.ts +3 -0
- package/build/src/utils/extensions.d.ts +6 -0
- package/package.json +9 -9
- package/build/306.70047e7323717f3ef108.chunk.js.map +0 -1
- package/build/564.51f6d49dacf007ead90f.chunk.js +0 -2
- package/build/564.51f6d49dacf007ead90f.chunk.js.map +0 -1
package/build/src/App.d.ts
CHANGED
|
@@ -17,5 +17,6 @@ export * from './components';
|
|
|
17
17
|
export * from './hooks';
|
|
18
18
|
export * from './types';
|
|
19
19
|
export { useAppDispatch, useAppSelector };
|
|
20
|
+
export { createBodyElement, createExtension, createSimpleExtension, mountRootExtension } from './utils/extensions';
|
|
20
21
|
export { getTinyMCEMentionsQueries } from './utils/tinymce';
|
|
21
22
|
export default App;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { CombinedWidgetType, WidgetDisplayMode, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export declare const CSSWidgetWithTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpdate, cannotDisplayComponent, levelFallback, dataCy, }: {
|
|
5
5
|
widget: CombinedWidgetType;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { WidgetWelcomeType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
2
|
+
type JRCWidgetWelcomeWrapperProps = {
|
|
3
|
+
widget: WidgetWelcomeType;
|
|
4
|
+
inplace: boolean;
|
|
5
|
+
mode?: WidgetDisplayMode;
|
|
6
|
+
};
|
|
7
|
+
export declare const JRCWidgetWelcomeWrapper: ({ widget, mode }: JRCWidgetWelcomeWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -160,6 +160,7 @@ declare const mapping: {
|
|
|
160
160
|
WidgetEmailsImapLevel2: "JRCWidgetEmailsImapLevel2";
|
|
161
161
|
WidgetEmptyInplace: "JRCWidgetEmptyInplace";
|
|
162
162
|
WidgetExcelDatasourceTableEditor: "JRCWidgetExcelDatasourceTableEditor";
|
|
163
|
+
WidgetExtensionEditor: "JRCWidgetExtensionEditor";
|
|
163
164
|
WidgetIcon: "JRCWidgetIcon";
|
|
164
165
|
WidgetImage: "JRCWidgetImage";
|
|
165
166
|
WidgetImageEditor: "JRCWidgetImageEditor";
|
|
@@ -174,5 +175,7 @@ declare const mapping: {
|
|
|
174
175
|
WidgetTableEditor: "JRCWidgetTableEditor";
|
|
175
176
|
WidgetUserProfile: "JRCWidgetUserProfile";
|
|
176
177
|
WidgetUserProfileEditor: "JRCWidgetUserProfileEditor";
|
|
178
|
+
WidgetWelcome: "JRCWidgetWelcome";
|
|
179
|
+
WidgetWelcomeEditor: "JRCWidgetWelcomeEditor";
|
|
177
180
|
};
|
|
178
181
|
export default mapping;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Root } from 'react-dom/client';
|
|
2
|
+
import { ReactExtension } from './types';
|
|
3
|
+
export declare const createExtension: (overrides: Partial<ReactExtension>) => ReactExtension;
|
|
4
|
+
export declare const createSimpleExtension: (anchorId: string, component: React.JSX.Element) => ReactExtension;
|
|
5
|
+
export declare const mountRootExtension: (App: ReactExtension, component: React.JSX.Element, nodeId?: string) => Root | undefined;
|
|
6
|
+
export declare const createBodyElement: (id: string, element?: string) => HTMLElement | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@testing-library/jest-dom": "^6.9.1",
|
|
10
10
|
"@testing-library/react": "^14.3.1",
|
|
11
11
|
"@types/jest": "^30.0.0",
|
|
12
|
-
"@types/node": "^20.19.
|
|
12
|
+
"@types/node": "^20.19.24",
|
|
13
13
|
"@types/react": "^18.3.26",
|
|
14
14
|
"@types/react-dom": "^18.3.7",
|
|
15
15
|
"@types/react-redux": "^7.1.34",
|
|
16
16
|
"@types/react-router-dom": "^5.3.3",
|
|
17
|
-
"@types/styled-components": "^5.1.
|
|
17
|
+
"@types/styled-components": "^5.1.35",
|
|
18
18
|
"@types/uuid": "^10.0.0",
|
|
19
19
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
20
20
|
"@typescript-eslint/parser": "^5.62.0",
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
31
31
|
"history": "^5.3.0",
|
|
32
32
|
"husky": "^7.0.4",
|
|
33
|
-
"jamespot-front-business": "^1.
|
|
34
|
-
"jamespot-react-components": "^1.
|
|
35
|
-
"jamespot-user-api": "^1.
|
|
33
|
+
"jamespot-front-business": "^1.3.4",
|
|
34
|
+
"jamespot-react-components": "^1.3.4",
|
|
35
|
+
"jamespot-user-api": "^1.3.4",
|
|
36
36
|
"jest": "^30.2.0",
|
|
37
37
|
"jest-environment-jsdom": "^30.2.0",
|
|
38
|
-
"knip": "^5.
|
|
38
|
+
"knip": "^5.67.1",
|
|
39
39
|
"lint-staged": "^12.5.0",
|
|
40
|
-
"marked": "^16.4.
|
|
40
|
+
"marked": "^16.4.1",
|
|
41
41
|
"mini-css-extract-plugin": "^0.10.1",
|
|
42
42
|
"prettier": "^3.6.2",
|
|
43
43
|
"react": "^18.3.1",
|
|
44
44
|
"react-dom": "^18.3.1",
|
|
45
|
-
"react-hook-form": "^7.
|
|
45
|
+
"react-hook-form": "^7.66.0",
|
|
46
46
|
"react-intl": "7.1.11",
|
|
47
47
|
"react-redux": "^8.1.3",
|
|
48
48
|
"react-router-dom": "^6.30.1",
|