jamespot-react-core 1.2.58 → 1.3.3

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.
@@ -17,6 +17,7 @@ export declare const coreComponentsMapping: {
17
17
  readonly ModalAudience: "ModalAudience";
18
18
  readonly ModalSchedule: "ModalSchedule";
19
19
  readonly TinyMCEAIModal: "AIModal";
20
+ readonly TinyMCEGifsModal: "GifsModal";
20
21
  readonly TinyMCEMarkdownModal: "MarkdownModal";
21
22
  readonly TwoColLayout: "TwoColLayout";
22
23
  readonly WidgetWrapperCore: "WidgetWrapperCore";
@@ -13,6 +13,7 @@ export { EditorsPortal } from '../components/editors/EditorsPortal';
13
13
  export { Empty } from '../components/Empty';
14
14
  export { Editor } from '../components/editors/Editor';
15
15
  export { FullPageLayout } from '../components/FullPageLayout';
16
+ export { GifsModal } from '../components/tinymce/extension/GifsModal';
16
17
  export { JRCInputTinyMCEWithExt } from '../components/tinymce/JRCInputTinyMCEWithExt';
17
18
  export { JRCInputTinyMCEWithExtRaw } from '../components/tinymce/JRCInputTinyMCEWithExtRaw';
18
19
  export { MarkdownModal } from '../components/tinymce/extension/MarkdownModal';
@@ -48,6 +48,7 @@ declare const mapping: {
48
48
  FileViewer: "JRCFileViewer";
49
49
  FlexBox: "JRCFlexBox";
50
50
  Folders: "JRCFolders";
51
+ GifsSelector: "JRCGifSelector";
51
52
  Grid: "JRCGrid";
52
53
  H1: "JRCH1";
53
54
  H2: "JRCH2";
@@ -159,6 +160,7 @@ declare const mapping: {
159
160
  WidgetEmailsImapLevel2: "JRCWidgetEmailsImapLevel2";
160
161
  WidgetEmptyInplace: "JRCWidgetEmptyInplace";
161
162
  WidgetExcelDatasourceTableEditor: "JRCWidgetExcelDatasourceTableEditor";
163
+ WidgetExtensionEditor: "JRCWidgetExtensionEditor";
162
164
  WidgetIcon: "JRCWidgetIcon";
163
165
  WidgetImage: "JRCWidgetImage";
164
166
  WidgetImageEditor: "JRCWidgetImageEditor";
@@ -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.2.58",
3
+ "version": "1.3.3",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -9,13 +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.21",
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/react-transition-group": "^4.4.12",
18
- "@types/styled-components": "^5.1.34",
17
+ "@types/styled-components": "^5.1.35",
19
18
  "@types/uuid": "^10.0.0",
20
19
  "@typescript-eslint/eslint-plugin": "^5.62.0",
21
20
  "@typescript-eslint/parser": "^5.62.0",
@@ -31,23 +30,22 @@
31
30
  "fork-ts-checker-webpack-plugin": "^9.1.0",
32
31
  "history": "^5.3.0",
33
32
  "husky": "^7.0.4",
34
- "jamespot-front-business": "^1.2.58",
35
- "jamespot-react-components": "^1.2.58",
36
- "jamespot-user-api": "^1.2.58",
33
+ "jamespot-front-business": "^1.3.3",
34
+ "jamespot-react-components": "^1.3.3",
35
+ "jamespot-user-api": "^1.3.3",
37
36
  "jest": "^30.2.0",
38
37
  "jest-environment-jsdom": "^30.2.0",
39
- "knip": "^5.65.0",
38
+ "knip": "^5.67.1",
40
39
  "lint-staged": "^12.5.0",
41
- "marked": "^16.4.0",
40
+ "marked": "^16.4.1",
42
41
  "mini-css-extract-plugin": "^0.10.1",
43
42
  "prettier": "^3.6.2",
44
43
  "react": "^18.3.1",
45
44
  "react-dom": "^18.3.1",
46
- "react-hook-form": "^7.65.0",
45
+ "react-hook-form": "^7.66.0",
47
46
  "react-intl": "7.1.11",
48
47
  "react-redux": "^8.1.3",
49
48
  "react-router-dom": "^6.30.1",
50
- "react-transition-group": "^4.4.5",
51
49
  "redux": "^4.2.1",
52
50
  "redux-thunk": "^2.4.2",
53
51
  "socket.io-client": "^4.8.1",