jderobot-ide-interface 0.2.100 → 0.2.101

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.
@@ -1,4 +1,5 @@
1
+ import { ReactNode } from "react";
1
2
  declare const HighlightedSection: ({ children }: {
2
- children: any;
3
+ children: ReactNode;
3
4
  }) => JSX.Element;
4
5
  export default HighlightedSection;
@@ -1,4 +1,5 @@
1
+ import { ReactNode } from "react";
1
2
  declare const ImageRow: ({ children }: {
2
- children?: JSX.Element | JSX.Element[];
3
+ children: ReactNode;
3
4
  }) => JSX.Element;
4
5
  export default ImageRow;
@@ -1,4 +1,5 @@
1
+ import { ReactNode } from "react";
1
2
  declare const List: ({ children }: {
2
- children: any;
3
+ children: ReactNode;
3
4
  }) => JSX.Element;
4
5
  export default List;
@@ -1,6 +1,7 @@
1
+ import { ReactNode } from "react";
1
2
  declare const TheorySection: ({ title, href, children, }: {
2
3
  title: string;
3
4
  href: string;
4
- children: any;
5
+ children: ReactNode;
5
6
  }) => JSX.Element;
6
7
  export default TheorySection;
@@ -1,6 +1,7 @@
1
+ import { ReactNode } from "react";
1
2
  declare const TheorySubsection: ({ title, href, children, }: {
2
3
  title: string;
3
4
  href: string;
4
- children: any;
5
+ children: ReactNode;
5
6
  }) => JSX.Element;
6
7
  export default TheorySubsection;
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jderobot-ide-interface",
3
- "version": "0.2.100",
3
+ "version": "0.2.101",
4
4
  "main": "dist/main.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -17,7 +17,10 @@
17
17
  "lint": "eslint src"
18
18
  },
19
19
  "keywords": [],
20
- "author": "",
20
+ "author": {
21
+ "name": "javizqh",
22
+ "url": "https://github.com/javizqh"
23
+ },
21
24
  "license": "ISC",
22
25
  "description": "",
23
26
  "devDependencies": {
@@ -29,8 +32,6 @@
29
32
  "@storybook/react-webpack5": "^9.1.3",
30
33
  "@svgr/webpack": "^8.1.0",
31
34
  "@types/lodash": "^4.17.17",
32
- "@types/react": "18.2.0",
33
- "@types/react-dom": "18.2.0",
34
35
  "@types/styled-components": "^5.1.34",
35
36
  "@typescript-eslint/eslint-plugin": "^8.46.1",
36
37
  "@typescript-eslint/parser": "^8.46.1",
@@ -44,7 +45,6 @@
44
45
  "styled-components": "^6.1.19",
45
46
  "ts-loader": "^9.5.2",
46
47
  "tsconfig-paths-webpack-plugin": "^4.2.0",
47
- "typescript": "^5.9.3",
48
48
  "typescript-eslint": "^8.46.1",
49
49
  "webpack": "^5.99.9",
50
50
  "webpack-bundle-tracker": "^3.2.1",
@@ -57,7 +57,6 @@
57
57
  "@monaco-editor/react": "^4.7.0",
58
58
  "@mui/icons-material": "^7.3.6",
59
59
  "@mui/material": "^7.3.6",
60
- "jderobot-commsmanager": "^1.0.10",
61
60
  "jszip": "^3.10.1",
62
61
  "lodash": "^4.17.21",
63
62
  "monaco-editor": "^0.52.2",
@@ -66,7 +65,11 @@
66
65
  "react-youtube": "^10.1.0"
67
66
  },
68
67
  "peerDependencies": {
68
+ "jderobot-commsmanager": "^1.0.10",
69
69
  "react": "18.2.0",
70
- "react-dom": "18.2.0"
70
+ "react-dom": "18.2.0",
71
+ "@types/react": "18.2.0",
72
+ "typescript": "^5.9.3",
73
+ "@types/react-dom": "18.2.0"
71
74
  }
72
75
  }
@@ -1,5 +1,6 @@
1
+ import { ReactNode } from "react";
1
2
  import { Error } from "Types";
2
3
  export declare const ErrorProvider: ({ children }: {
3
- children: any;
4
+ children: ReactNode;
4
5
  }) => JSX.Element;
5
6
  export declare const useError: () => Error;
@@ -1,8 +1,8 @@
1
- import React from "react";
1
+ import { ReactNode } from "react";
2
2
  import { Options } from "Types";
3
3
  interface OptionsProviderProps {
4
4
  options?: Options;
5
- children?: React.ReactNode;
5
+ children: ReactNode;
6
6
  }
7
7
  export declare const useOptions: () => Options;
8
8
  export declare const OptionsProvider: ({ options, children, }: OptionsProviderProps) => JSX.Element;
@@ -1,8 +1,8 @@
1
- import React from "react";
1
+ import { ReactNode } from "react";
2
2
  import { Theme } from "Types";
3
3
  interface ThemeProviderProps {
4
4
  theme: Theme;
5
- children?: React.ReactNode;
5
+ children: ReactNode;
6
6
  }
7
7
  export declare const useTheme: () => Theme;
8
8
  export declare const ThemeProvider: ({ theme, children }: ThemeProviderProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jderobot-ide-interface",
3
- "version": "0.2.100",
3
+ "version": "0.2.101",
4
4
  "main": "dist/main.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
@@ -17,7 +17,10 @@
17
17
  "lint": "eslint src"
18
18
  },
19
19
  "keywords": [],
20
- "author": "",
20
+ "author": {
21
+ "name": "javizqh",
22
+ "url": "https://github.com/javizqh"
23
+ },
21
24
  "license": "ISC",
22
25
  "description": "",
23
26
  "devDependencies": {
@@ -29,8 +32,6 @@
29
32
  "@storybook/react-webpack5": "^9.1.3",
30
33
  "@svgr/webpack": "^8.1.0",
31
34
  "@types/lodash": "^4.17.17",
32
- "@types/react": "18.2.0",
33
- "@types/react-dom": "18.2.0",
34
35
  "@types/styled-components": "^5.1.34",
35
36
  "@typescript-eslint/eslint-plugin": "^8.46.1",
36
37
  "@typescript-eslint/parser": "^8.46.1",
@@ -44,7 +45,6 @@
44
45
  "styled-components": "^6.1.19",
45
46
  "ts-loader": "^9.5.2",
46
47
  "tsconfig-paths-webpack-plugin": "^4.2.0",
47
- "typescript": "^5.9.3",
48
48
  "typescript-eslint": "^8.46.1",
49
49
  "webpack": "^5.99.9",
50
50
  "webpack-bundle-tracker": "^3.2.1",
@@ -57,7 +57,6 @@
57
57
  "@monaco-editor/react": "^4.7.0",
58
58
  "@mui/icons-material": "^7.3.6",
59
59
  "@mui/material": "^7.3.6",
60
- "jderobot-commsmanager": "^1.0.10",
61
60
  "jszip": "^3.10.1",
62
61
  "lodash": "^4.17.21",
63
62
  "monaco-editor": "^0.52.2",
@@ -66,7 +65,11 @@
66
65
  "react-youtube": "^10.1.0"
67
66
  },
68
67
  "peerDependencies": {
68
+ "jderobot-commsmanager": "^1.0.10",
69
69
  "react": "18.2.0",
70
- "react-dom": "18.2.0"
70
+ "react-dom": "18.2.0",
71
+ "@types/react": "18.2.0",
72
+ "typescript": "^5.9.3",
73
+ "@types/react-dom": "18.2.0"
71
74
  }
72
75
  }