jrs-react 1.1.23 → 1.1.25

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
@@ -7373,6 +7373,26 @@ class JRSubmit extends React.Component {
7373
7373
  }
7374
7374
  }
7375
7375
 
7376
+ const FreeType = ({
7377
+ tag: Tag,
7378
+ config,
7379
+ me,
7380
+ className
7381
+ }) => {
7382
+ if (typeof config === 'function') {
7383
+ let style;
7384
+ const setStyle = function (_style) {
7385
+ style = _style;
7386
+ };
7387
+ const content = config.bind(me)({
7388
+ setStyle
7389
+ });
7390
+ return /*#__PURE__*/React.createElement(Tag, {
7391
+ className: className,
7392
+ style: style
7393
+ }, content);
7394
+ }
7395
+ };
7376
7396
  const StyledJRFrame = dt.div`
7377
7397
  display:flex;
7378
7398
  flex:1;
@@ -7408,27 +7428,6 @@ const StyledJRFrame = dt.div`
7408
7428
  }
7409
7429
 
7410
7430
  `;
7411
-
7412
- const FreeType = ({
7413
- tag: Tag,
7414
- config,
7415
- me,
7416
- className
7417
- }) => {
7418
- if (typeof config === 'function') {
7419
- let style;
7420
- const setStyle = function (_style) {
7421
- style = _style;
7422
- };
7423
- const content = config.bind(me)({
7424
- setStyle
7425
- });
7426
- return /*#__PURE__*/React.createElement(Tag, {
7427
- className: className,
7428
- style: style
7429
- }, content);
7430
- }
7431
- };
7432
7431
  class JRFrame extends JRSubmit {
7433
7432
  renderer() {
7434
7433
  return /*#__PURE__*/React.createElement(StyledJRFrame, {
package/build/index.js CHANGED
@@ -7377,6 +7377,26 @@ class JRSubmit extends React.Component {
7377
7377
  }
7378
7378
  }
7379
7379
 
7380
+ const FreeType = ({
7381
+ tag: Tag,
7382
+ config,
7383
+ me,
7384
+ className
7385
+ }) => {
7386
+ if (typeof config === 'function') {
7387
+ let style;
7388
+ const setStyle = function (_style) {
7389
+ style = _style;
7390
+ };
7391
+ const content = config.bind(me)({
7392
+ setStyle
7393
+ });
7394
+ return /*#__PURE__*/React.createElement(Tag, {
7395
+ className: className,
7396
+ style: style
7397
+ }, content);
7398
+ }
7399
+ };
7380
7400
  const StyledJRFrame = dt.div`
7381
7401
  display:flex;
7382
7402
  flex:1;
@@ -7412,27 +7432,6 @@ const StyledJRFrame = dt.div`
7412
7432
  }
7413
7433
 
7414
7434
  `;
7415
-
7416
- const FreeType = ({
7417
- tag: Tag,
7418
- config,
7419
- me,
7420
- className
7421
- }) => {
7422
- if (typeof config === 'function') {
7423
- let style;
7424
- const setStyle = function (_style) {
7425
- style = _style;
7426
- };
7427
- const content = config.bind(me)({
7428
- setStyle
7429
- });
7430
- return /*#__PURE__*/React.createElement(Tag, {
7431
- className: className,
7432
- style: style
7433
- }, content);
7434
- }
7435
- };
7436
7435
  class JRFrame extends JRSubmit {
7437
7436
  renderer() {
7438
7437
  return /*#__PURE__*/React.createElement(StyledJRFrame, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
+ import styled from "styled-components";
2
3
  import JRSubmit from "../JRSubmit";
3
- import { StyledJRFrame } from "./StyledJRFrame";
4
4
 
5
5
  const FreeType=({tag:Tag,config,me,className})=>{
6
6
  if(typeof config==='function'){
@@ -13,8 +13,43 @@ const FreeType=({tag:Tag,config,me,className})=>{
13
13
  }
14
14
  }
15
15
 
16
- export default class JRFrame extends JRSubmit {
16
+ const StyledJRFrame=styled.div`
17
+ display:flex;
18
+ flex:1;
19
+ overflow:hidden;
20
+
21
+ > *{
22
+ Xborder:1px solid gray;
23
+ }
24
+ >main{
25
+ display:flex;
26
+ flex:1;
27
+ overflow:overlay;
28
+ flex-direction: column;
29
+ > *{
30
+ XXborder:1px solid gray;
31
+ min-height:30px;
32
+ }
33
+
34
+ >header{
35
+ XXborder:1px solid red;
36
+ XXoverflow: overlay;
37
+ }
38
+ >main{
39
+ display:flex;
40
+ flex:1;
41
+ overflow:hidden;
42
+ }
43
+ >footer{
44
+ XXborder:1px solid blue;
45
+ overflow: overlay;
46
+ }
47
+
48
+ }
49
+
50
+ `
17
51
 
52
+ export default class JRFrame extends JRSubmit {
18
53
  renderer(){
19
54
  return <StyledJRFrame style={this.props.style} className={`${this.props.className} jr-frame`} >
20
55
  <FreeType tag='div' config={this.props.start} me={this} className={'start'}/>
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
2
  import JRSubmit from './JRSubmit'
3
3
 
4
-
5
4
  export function JRTest (){
6
5
  return 'I am JRTest string'
7
6
  }