@zydon/common-csr 2.1.16 → 2.1.18

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.
@@ -50,7 +50,7 @@ declare const editorClasses: {
50
50
  };
51
51
  };
52
52
 
53
- declare const Editor: react.NamedExoticComponent<Partial<_tiptap_react.UseEditorOptions> & {
53
+ declare const Editor: react.MemoExoticComponent<react.ForwardRefExoticComponent<Partial<_tiptap_react.UseEditorOptions> & {
54
54
  value?: string | undefined;
55
55
  error?: boolean | undefined;
56
56
  fullItem?: boolean | undefined;
@@ -62,6 +62,6 @@ declare const Editor: react.NamedExoticComponent<Partial<_tiptap_react.UseEditor
62
62
  slotProps?: {
63
63
  wrap: _mui_system.SxProps<_mui_material.Theme>;
64
64
  } | undefined;
65
- } & react.RefAttributes<HTMLDivElement>>;
65
+ } & react.RefAttributes<HTMLDivElement>>>;
66
66
 
67
67
  export { Editor, editorClasses };
@@ -21,6 +21,6 @@ type ImageProps = BoxProps & LazyLoadImageProps & {
21
21
  };
22
22
  };
23
23
 
24
- declare const Image: react.NamedExoticComponent<Omit<ImageProps, "ref"> & react.RefAttributes<HTMLSpanElement>>;
24
+ declare const Image: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<ImageProps, "ref"> & react.RefAttributes<HTMLSpanElement>>>;
25
25
 
26
26
  export { Image, ImageProps, ImageRatioType, imageClasses };
@@ -235,15 +235,15 @@ type NavButtonSectionProps = Omit<NavListProps, 'data' | 'depth'> & {
235
235
  pathname: string;
236
236
  };
237
237
 
238
- declare const NavItem$4: react.NamedExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
238
+ declare const NavItem$4: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>>;
239
239
 
240
240
  declare function NavSectionHorizontal({ sx, data, render, slotProps, enabledRootRedirect, cssVars: overridesVars, }: NavSectionProps): react_jsx_runtime.JSX.Element;
241
241
 
242
- declare const NavItem$3: react.NamedExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
242
+ declare const NavItem$3: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>>;
243
243
 
244
244
  declare const NavSectionMini: ({ sx, data, render, slotProps, enabledRootRedirect, cssVars: overridesVars, }: NavSectionProps) => react_jsx_runtime.JSX.Element;
245
245
 
246
- declare const NavItem$2: react.NamedExoticComponent<Omit<NavItemButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
246
+ declare const NavItem$2: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<NavItemButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>>;
247
247
 
248
248
  declare const NavSectionMiniWithButtons: ({ sx, data, render, slotProps, enabledRootRedirect, cssVars: overridesVars, onNavigate, pathname, }: NavButtonSectionProps) => react_jsx_runtime.JSX.Element;
249
249
 
@@ -320,11 +320,11 @@ type UseNavItemProps = {
320
320
  };
321
321
  declare function useNavItem({ path, icon, info, depth, render, hasChild, externalLink, enabledRootRedirect, }: UseNavItemProps): UseNavItemReturn;
322
322
 
323
- declare const NavItem$1: react.NamedExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
323
+ declare const NavItem$1: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<NavItemProps, "ref"> & react.RefAttributes<HTMLButtonElement>>>;
324
324
 
325
325
  declare const NavSectionVertical: ({ sx, data, render, slotProps, enabledRootRedirect, cssVars: overridesVars, }: NavSectionProps) => react_jsx_runtime.JSX.Element;
326
326
 
327
- declare const NavItem: react.NamedExoticComponent<Omit<NavItemButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
327
+ declare const NavItem: react.MemoExoticComponent<react.ForwardRefExoticComponent<Omit<NavItemButtonProps, "ref"> & react.RefAttributes<HTMLButtonElement>>>;
328
328
 
329
329
  declare const NavSectionVerticalWithButtons: ({ sx, data, render, slotProps, enabledRootRedirect, cssVars: overridesVars, onNavigate, pathname, }: NavButtonSectionProps) => react_jsx_runtime.JSX.Element;
330
330
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.1.16",
2
+ "version": "2.1.18",
3
3
  "name": "@zydon/common-csr",
4
4
  "description": "Zydon common resources for React projects (only Client-Side Rendering (CSR))",
5
5
  "license": "MIT",
@@ -9,6 +9,10 @@
9
9
  "url": "https://github.com/zydontecnologia/commons-csr"
10
10
  },
11
11
  "homepage": "https://github.com/zydontecnologia/commons-csr",
12
+ "resolutions": {
13
+ "@types/react": "18.3.27",
14
+ "@types/react-dom": "18.3.7"
15
+ },
12
16
  "publishConfig": {
13
17
  "access": "public"
14
18
  },
@@ -70,12 +74,12 @@
70
74
  "@types/jest": "^30.0.0",
71
75
  "@types/jest-axe": "^3.5.9",
72
76
  "@types/node": "^24.10.1",
73
- "@types/react": "^19.2.7",
74
- "@types/react-dom": "^19.2.3",
77
+ "@types/react": "18.3.27",
78
+ "@types/react-dom": "18.3.7",
75
79
  "@types/react-lazy-load-image-component": "^1.6.4",
76
80
  "@typescript-eslint/eslint-plugin": "^6.4.1",
77
81
  "@typescript-eslint/parser": "^6.4.1",
78
- "@zydon/common": "^2.7.70",
82
+ "@zydon/common": "2.7.82",
79
83
  "eslint": "^8.47.0",
80
84
  "eslint-config-prettier": "^9.0.0",
81
85
  "eslint-plugin-jsx-a11y": "^6.10.2",
@@ -89,8 +93,8 @@
89
93
  "jest-junit": "^16.0.0",
90
94
  "postcss": "^8.4.41",
91
95
  "prettier": "^3.0.2",
92
- "react": "^19.2.1",
93
- "react-dom": "^19.2.1",
96
+ "react": "^18.3.1",
97
+ "react-dom": "^18.3.1",
94
98
  "react-hook-form": "^7.53.0",
95
99
  "react-router-dom": "^6.26.1",
96
100
  "ts-jest": "^29.2.5",
@@ -121,8 +125,8 @@
121
125
  "@mui/material": "^5.18.0",
122
126
  "@mui/x-data-grid-premium": "^7.29.12",
123
127
  "@zydon/common": ">=2.x",
124
- "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
125
- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
128
+ "react": "^18.3.1",
129
+ "react-dom": "^18.3.1",
126
130
  "react-hook-form": "^7.53.0",
127
131
  "react-router-dom": "^6.26.1"
128
132
  },