jrs-react 1.1.15 → 1.1.17

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/build/index.es.js CHANGED
@@ -7439,9 +7439,9 @@ class JRFrame extends JRSubmit {
7439
7439
  function JRTest() {
7440
7440
  return 'I am JRTest string';
7441
7441
  }
7442
- class JRTestReact extends React.Component {
7443
- render() {
7444
- return /*#__PURE__*/React.createElement("div", null, "JRTestReact");
7442
+ class JRTestReact extends JRSubmit {
7443
+ renderer() {
7444
+ return /*#__PURE__*/React.createElement(StyledJRFrame, null, "JRTestReact extends JRSubmit");
7445
7445
  }
7446
7446
  }
7447
7447
 
package/build/index.js CHANGED
@@ -7443,9 +7443,9 @@ class JRFrame extends JRSubmit {
7443
7443
  function JRTest() {
7444
7444
  return 'I am JRTest string';
7445
7445
  }
7446
- class JRTestReact extends React.Component {
7447
- render() {
7448
- return /*#__PURE__*/React.createElement("div", null, "JRTestReact");
7446
+ class JRTestReact extends JRSubmit {
7447
+ renderer() {
7448
+ return /*#__PURE__*/React.createElement(StyledJRFrame, null, "JRTestReact extends JRSubmit");
7449
7449
  }
7450
7450
  }
7451
7451
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
@@ -1,12 +1,14 @@
1
1
  import React from 'react'
2
+ import JRSubmit from './JRSubmit'
3
+ import { StyledJRFrame } from './JRFrame/StyledJRFrame'
2
4
 
3
5
 
4
- export default function JRTest (){
6
+ export function JRTest (){
5
7
  return 'I am JRTest string'
6
8
  }
7
9
 
8
- export class JRTestReact extends React.Component {
9
- render(){
10
- return <div>JRTestReact</div>
10
+ export default class JRTestReact extends JRSubmit {
11
+ renderer(){
12
+ return <StyledJRFrame>JRTestReact extends JRSubmit</StyledJRFrame>
11
13
  }
12
14
  }
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import JRSubmit from './components/JRSubmit'
2
2
  import JRFrame from './components/JRFrame/JRFrame'
3
3
  // import JRTable from './components/JRTable/JRTable'
4
- import JRTest,{JRTestReact} from './components/JRTest'
4
+ import JRTestReact,{JRTest} from './components/JRTest'
5
5
  export {
6
6
  JRTest,JRTestReact
7
7
  ,JRSubmit,JRFrame//,JRTable