jrs-react 1.0.16 → 1.0.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.
package/package.json CHANGED
@@ -1,49 +1,49 @@
1
1
  {
2
- "name": "jrs-react",
3
- "version": "1.0.16",
4
- "description": "",
5
- "main": "build/index.js",
6
- "module": "build/index.es.js",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" && exit 1",
9
- "build": "rollup -c",
10
- "storybook": "storybook dev -p 6006",
11
- "build-storybook": "storybook build"
12
- },
13
- "author": "",
14
- "license": "MIT",
15
- "dependencies": {
16
- "@rollup/plugin-commonjs": "^28.0.3",
17
- "@rollup/plugin-json": "^6.1.0",
18
- "antd": "^5.24.4",
19
- "axios": "^1.8.3",
20
- "react": "^18.2.0",
21
- "react-dom": "^18.2.0",
22
- "styled-components": "^6.1.15"
23
- },
24
- "devDependencies": {
25
- "@babel/core": "^7.26.10",
26
- "@babel/preset-react": "^7.26.3",
27
- "@chromatic-com/storybook": "^3.2.6",
28
- "@rollup/plugin-node-resolve": "^16.0.1",
29
- "@storybook/addon-essentials": "^8.6.6",
30
- "@storybook/addon-onboarding": "^8.6.6",
31
- "@storybook/blocks": "^8.6.6",
32
- "@storybook/experimental-addon-test": "^8.6.6",
33
- "@storybook/react": "^8.6.6",
34
- "@storybook/react-vite": "^8.6.6",
35
- "@storybook/test": "^8.6.6",
36
- "@vitest/browser": "^3.0.8",
37
- "@vitest/coverage-v8": "^3.0.8",
38
- "babel-loader": "^10.0.0",
39
- "playwright": "^1.51.0",
40
- "prop-types": "^15.8.1",
41
- "rollup": "^2.79.2",
42
- "rollup-plugin-babel": "^4.4.0",
43
- "rollup-plugin-peer-deps-external": "^2.2.4",
44
- "rollup-plugin-postcss": "^4.0.2",
45
- "rollup-plugin-terser": "^7.0.2",
46
- "storybook": "^8.6.6",
47
- "vitest": "^3.0.8"
48
- }
2
+ "name": "jrs-react",
3
+ "version": "1.0.18",
4
+ "description": "",
5
+ "main": "build/index.js",
6
+ "module": "build/index.es.js",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "build": "rollup -c",
10
+ "storybook": "storybook dev -p 6006",
11
+ "build-storybook": "storybook build"
12
+ },
13
+ "author": "",
14
+ "license": "MIT",
15
+ "dependencies": {
16
+ "@rollup/plugin-commonjs": "^28.0.3",
17
+ "@rollup/plugin-json": "^6.1.0",
18
+ "antd": "^5.24.4",
19
+ "axios": "^1.8.3",
20
+ "react": "^18.2.0",
21
+ "react-dom": "^18.2.0",
22
+ "styled-components": "^6.1.15"
23
+ },
24
+ "devDependencies": {
25
+ "@babel/core": "^7.26.10",
26
+ "@babel/preset-react": "^7.26.3",
27
+ "@chromatic-com/storybook": "^3.2.6",
28
+ "@rollup/plugin-node-resolve": "^16.0.1",
29
+ "@storybook/addon-essentials": "^8.6.6",
30
+ "@storybook/addon-onboarding": "^8.6.6",
31
+ "@storybook/blocks": "^8.6.6",
32
+ "@storybook/experimental-addon-test": "^8.6.6",
33
+ "@storybook/react": "^8.6.6",
34
+ "@storybook/react-vite": "^8.6.6",
35
+ "@storybook/test": "^8.6.6",
36
+ "@vitest/browser": "^3.0.8",
37
+ "@vitest/coverage-v8": "^3.0.8",
38
+ "babel-loader": "^10.0.0",
39
+ "playwright": "^1.51.0",
40
+ "prop-types": "^15.8.1",
41
+ "rollup": "^2.79.2",
42
+ "rollup-plugin-babel": "^4.4.0",
43
+ "rollup-plugin-peer-deps-external": "^2.2.4",
44
+ "rollup-plugin-postcss": "^4.0.2",
45
+ "rollup-plugin-terser": "^7.0.2",
46
+ "storybook": "^8.6.6",
47
+ "vitest": "^3.0.8"
48
+ }
49
49
  }
@@ -5,6 +5,8 @@ export default function JRTest (){
5
5
  return 'I am JRTest string'
6
6
  }
7
7
 
8
- export function JRTestReact (){
9
- return <div>JRTestReact</div>
8
+ export class JRTestReact extends React.Component {
9
+ render(){
10
+ return <div>JRTestReact</div>
11
+ }
10
12
  }
package/src/index.js CHANGED
@@ -1,8 +1,8 @@
1
- // import JRSubmit from './components/JRSubmit'
2
- // import JRFrame from './components/JRFrame/JRFrame'
1
+ import JRSubmit from './components/JRSubmit'
2
+ import JRFrame from './components/JRFrame/JRFrame'
3
3
  // import JRTable from './components/JRTable/JRTable'
4
4
  import JRTest,{JRTestReact} from './components/JRTest'
5
5
  export {
6
- // JRSubmit,JRFrame,JRTable
7
6
  JRTest,JRTestReact
7
+ ,JRSubmit,JRFrame//,JRTable
8
8
  }