jamespot-react-core 1.2.39 → 1.2.41

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.
@@ -28,7 +28,9 @@ declare class App implements ReactCore {
28
28
  coreComponentsRegistry: ReactCoreRegistry;
29
29
  }, locale: SupportedLanguages, translation: ReactTranslation, socket: ReactSocket);
30
30
  require: (extensionName: string, args?: any) => void;
31
- unmountExtension: (extensionName: string, args?: any) => void;
31
+ unmountExtension: (extensionName: string, args?: {
32
+ anchorId: string;
33
+ }) => void;
32
34
  extensionAdd(extensionName: string, load: () => void): void;
33
35
  routeAdd(route: string, extensionName: string, idDiv: string, gabarit?: Gabarit, gabaritOptions?: object): void;
34
36
  transitionTo(stateName: string, args: {}, options?: {
@@ -129,6 +129,7 @@ declare const mapping: {
129
129
  ProgressBar: "JRCProgressBar";
130
130
  PublishButton: "JRCPublishButton";
131
131
  SidePanelModal: "JRCSidePanelModal";
132
+ SidePanelModalForm: "JRCSidePanelModalForm";
132
133
  SkeletonLine: "JRCSkeletonLine";
133
134
  SkeletonList: "JRCSkeletonList";
134
135
  SkeletonSquare: "JRCSkeletonSquare";
@@ -45,10 +45,11 @@ export type ReactUnmountExtensionArgs<T> = {
45
45
  params?: T;
46
46
  };
47
47
  export interface ReactExtension {
48
- root: Root | undefined;
48
+ anchorId?: string | undefined;
49
+ roots: Map<string, Root>;
49
50
  container?: HTMLElement | undefined;
50
51
  initExtension: (args?: any) => void;
51
- unmountExtension: (args?: ReactUnmountExtensionArgs<any>) => void;
52
+ unmountExtension: (id?: string) => void;
52
53
  }
53
54
  export interface ReactExtensionContainer {
54
55
  default: ReactExtension;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.2.39",
3
+ "version": "1.2.41",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -32,9 +32,9 @@
32
32
  "fork-ts-checker-webpack-plugin": "^9.1.0",
33
33
  "history": "^5.3.0",
34
34
  "husky": "^7.0.4",
35
- "jamespot-front-business": "^1.2.39",
36
- "jamespot-react-components": "^1.2.39",
37
- "jamespot-user-api": "^1.2.39",
35
+ "jamespot-front-business": "^1.2.41",
36
+ "jamespot-react-components": "^1.2.41",
37
+ "jamespot-user-api": "^1.2.41",
38
38
  "jest": "^30.1.2",
39
39
  "jest-environment-jsdom": "^30.1.2",
40
40
  "lint-staged": "^12.5.0",