@carbonorm/carbonreact 4.0.19 → 4.0.21

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/package.json CHANGED
@@ -1,49 +1,48 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonreact",
3
3
  "license": "MIT",
4
- "version": "4.0.19",
4
+ "version": "4.0.21",
5
5
  "browser": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "main": "dist/index.cjs.js",
8
8
  "types": "dist/index.d.ts",
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@carbonorm/carbonnode": "^2.0.8",
11
+ "@carbonorm/carbonnode": "^2.0.34",
12
12
  "@fortawesome/fontawesome-svg-core": "^6.4.0",
13
13
  "@fortawesome/free-solid-svg-icons": "^6.4.0",
14
14
  "@fortawesome/react-fontawesome": "^0.2.0",
15
- "@testing-library/react": "^14.0.0",
15
+ "@testing-library/react": "^16.3.0",
16
16
  "ansi-colors": "^4.1.3",
17
- "axios": "^1.4.0",
17
+ "axios": "^1.8.4",
18
18
  "bootstrap": "^5.3.1",
19
19
  "classnames": "^2.3.2",
20
20
  "heic2any": "^0.0.4",
21
- "jest": "^29.5.0",
22
- "jest-config": "^29.5.0",
23
- "qs": "^6.11.1",
24
- "react": "^18.2.0",
25
- "react-dom": "^18.2.0",
26
- "react-loading-skeleton": "^3.3.1",
21
+ "jest": "^29.7.0",
22
+ "jest-config": "^29.7.0",
23
+ "qs": "^6.14.0",
24
+ "react": "^19.1.0",
25
+ "react-dom": "^19.1.0",
26
+ "react-loading-skeleton": "^3.5.0",
27
27
  "react-outside-click-handler": "^1.3.0",
28
- "react-router-dom": "^6.14.2",
29
- "react-toastify": "^9.1.3",
30
- "typed-css-modules": "^0.7.2",
31
- "typed-scss-modules": "^7.1.2"
28
+ "react-router-dom": "^7.5.0",
29
+ "react-toastify": "^11.0.5",
30
+ "typed-css-modules": "^0.9.1",
31
+ "typed-scss-modules": "^8.1.1"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@carbonorm/postcss-modules": "^6.0.2",
35
35
  "@carbonorm/rollup-plugin-postcss": "^3.0.0",
36
36
  "@drop-in-gaming/barrelsby": "^0.0.2",
37
- "@open-wc/building-rollup": "^3.0.1",
38
- "@rollup/plugin-commonjs": "^11.0.1",
39
- "@rollup/plugin-node-resolve": "^7.0.0",
40
- "@rollup/plugin-typescript": "^11.1.2",
37
+ "@rollup/plugin-commonjs": "^28.0.3",
38
+ "@rollup/plugin-node-resolve": "^16.0.1",
39
+ "@rollup/plugin-typescript": "^12.1.2",
41
40
  "@types/jest": "^29.5.4",
42
- "@types/ms": "^0.7.31",
43
- "@types/node": "^18.17.14",
44
- "@types/react": "^18.0.32",
45
- "@types/react-dom": "^18.0.11",
46
- "@types/styled-components": "5.1.24",
41
+ "@types/ms": "^2.1.0",
42
+ "@types/node": "^22",
43
+ "@types/react": "^19.1.0",
44
+ "@types/react-dom": "^19.1.2",
45
+ "@types/styled-components": "5.1.34",
47
46
  "autoprefixer": "^10.4.14",
48
47
  "bootstrap": "^5.3.1",
49
48
  "classnames": "^2.3.2",
@@ -51,12 +50,12 @@
51
50
  "deepmerge": "^4.3.1",
52
51
  "livereload": "^0.9.3",
53
52
  "postcss": "^8.4.27",
54
- "postcss-nested": "^6.0.1",
53
+ "postcss-nested": "^7.0.2",
55
54
  "postcss-scss": "^4.0.6",
56
55
  "postcss-simple-vars": "^7.0.1",
57
- "rimraf": "^5.0.1",
58
- "rollup": "^3.26.3",
59
- "rollup-plugin-dts": "^5.3.0",
56
+ "rimraf": "^6.0.1",
57
+ "rollup": "^4.39.0",
58
+ "rollup-plugin-dts": "^6.2.1",
60
59
  "rollup-plugin-includepaths": "^0.2.4",
61
60
  "rollup-plugin-postcss": "^4.0.2",
62
61
  "rollup-watch": "^4.3.1",
@@ -1,32 +1,32 @@
1
-
2
- import React from 'react';
1
+ import {ReactNode} from 'react';
3
2
  import styles from "../../style.module.css"
4
3
 
5
- export default function AccessDenied ({children} : {children?: React.ReactNode}) {
6
-
7
- return (
8
- <div>
9
- <div className={styles.notfound}>
10
- <div className={styles.notfound_404}>
11
- <h3>Oops! Access not granted</h3>
12
- {children}
13
- <h1 style={{
14
- position: "absolute",
15
- left: "50%",
16
- top: "50%",
17
- transform: "translate(-50%, -50%)",
18
- fontSize: "252px",
19
- fontWeight: 900,
20
- textTransform: "uppercase",
21
- letterSpacing: "-40px",
22
- marginLeft: "-20px",
23
- marginTop: "20px"
4
+ export default function AccessDenied({children}: { children?: ReactNode }) {
24
5
 
25
- }}><span>4</span><span>0</span><span>3</span></h1>
26
- </div>
6
+ return (
7
+ <div>
8
+ <div className={styles.notfound}>
9
+ <div className={styles.notfound_404}>
10
+ <h3>Oops! Access not granted</h3>
11
+ {children}
12
+ <h1 style={{
13
+ position: "absolute",
14
+ left: "50%",
15
+ top: "50%",
16
+ transform: "translate(-50%, -50%)",
17
+ fontSize: "252px",
18
+ fontWeight: 900,
19
+ textTransform: "uppercase",
20
+ letterSpacing: "-40px",
21
+ marginLeft: "-20px",
22
+ marginTop: "20px"
23
+ }}>
24
+ <span>4</span><span>0</span><span>3</span>
25
+ </h1>
27
26
  </div>
28
27
  </div>
29
- );
28
+ </div>
29
+ );
30
30
 
31
31
  }
32
32
 
@@ -0,0 +1,9 @@
1
+ import 'react';
2
+
3
+ declare global {
4
+ namespace JSX {
5
+ interface IntrinsicElements {
6
+ [elemName: string]: any;
7
+ }
8
+ }
9
+ }