jrs-react 1.0.18 → 1.0.19

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
@@ -24142,7 +24142,7 @@ class JRSubmit extends React.Component {
24142
24142
  }
24143
24143
  }
24144
24144
 
24145
- const StyledJRFrame = dt.div`
24145
+ dt.div`
24146
24146
  display:flex;
24147
24147
  flex:1;
24148
24148
  overflow:hidden;
@@ -24178,70 +24178,6 @@ const StyledJRFrame = dt.div`
24178
24178
 
24179
24179
  `;
24180
24180
 
24181
- const FreeType = ({
24182
- tag: Tag,
24183
- config,
24184
- me,
24185
- className
24186
- }) => {
24187
- if (typeof config === 'function') {
24188
- let style;
24189
- const setStyle = function (_style) {
24190
- style = _style;
24191
- };
24192
- const content = config.bind(me)({
24193
- setStyle
24194
- });
24195
- return /*#__PURE__*/React.createElement(Tag, {
24196
- className: className,
24197
- style: style
24198
- }, content);
24199
- }
24200
- };
24201
- class JRFrame extends JRSubmit {
24202
- renderer() {
24203
- return /*#__PURE__*/React.createElement(StyledJRFrame, {
24204
- style: this.props.style,
24205
- className: `${this.props.className} jr-frame`
24206
- }, /*#__PURE__*/React.createElement(FreeType, {
24207
- tag: "div",
24208
- config: this.props.start,
24209
- me: this,
24210
- className: 'start'
24211
- }), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(FreeType, {
24212
- tag: "header",
24213
- config: this.props.top,
24214
- me: this
24215
- }), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(FreeType, {
24216
- tag: "div",
24217
- config: this.props.left,
24218
- me: this,
24219
- className: 'left'
24220
- }), this.renderMe(), /*#__PURE__*/React.createElement(FreeType, {
24221
- tag: "div",
24222
- config: this.props.right,
24223
- me: this,
24224
- className: 'right'
24225
- })), /*#__PURE__*/React.createElement(FreeType, {
24226
- tag: "footer",
24227
- config: this.props.bottom,
24228
- me: this
24229
- })), /*#__PURE__*/React.createElement(FreeType, {
24230
- tag: "div",
24231
- config: this.props.end,
24232
- me: this,
24233
- className: 'end'
24234
- }));
24235
- }
24236
- renderMe() {
24237
- return /*#__PURE__*/React.createElement("div", {
24238
- style: {
24239
- flex: 1
24240
- }
24241
- }, "Render me");
24242
- }
24243
- }
24244
-
24245
24181
  function JRTest() {
24246
24182
  return 'I am JRTest string';
24247
24183
  }
@@ -24251,4 +24187,4 @@ class JRTestReact extends React.Component {
24251
24187
  }
24252
24188
  }
24253
24189
 
24254
- export { JRFrame, JRSubmit, JRTest, JRTestReact };
24190
+ export { JRSubmit, JRTest, JRTestReact };
package/build/index.js CHANGED
@@ -24161,7 +24161,7 @@ class JRSubmit extends React.Component {
24161
24161
  }
24162
24162
  }
24163
24163
 
24164
- const StyledJRFrame = dt.div`
24164
+ dt.div`
24165
24165
  display:flex;
24166
24166
  flex:1;
24167
24167
  overflow:hidden;
@@ -24197,70 +24197,6 @@ const StyledJRFrame = dt.div`
24197
24197
 
24198
24198
  `;
24199
24199
 
24200
- const FreeType = ({
24201
- tag: Tag,
24202
- config,
24203
- me,
24204
- className
24205
- }) => {
24206
- if (typeof config === 'function') {
24207
- let style;
24208
- const setStyle = function (_style) {
24209
- style = _style;
24210
- };
24211
- const content = config.bind(me)({
24212
- setStyle
24213
- });
24214
- return /*#__PURE__*/React.createElement(Tag, {
24215
- className: className,
24216
- style: style
24217
- }, content);
24218
- }
24219
- };
24220
- class JRFrame extends JRSubmit {
24221
- renderer() {
24222
- return /*#__PURE__*/React.createElement(StyledJRFrame, {
24223
- style: this.props.style,
24224
- className: `${this.props.className} jr-frame`
24225
- }, /*#__PURE__*/React.createElement(FreeType, {
24226
- tag: "div",
24227
- config: this.props.start,
24228
- me: this,
24229
- className: 'start'
24230
- }), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(FreeType, {
24231
- tag: "header",
24232
- config: this.props.top,
24233
- me: this
24234
- }), /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(FreeType, {
24235
- tag: "div",
24236
- config: this.props.left,
24237
- me: this,
24238
- className: 'left'
24239
- }), this.renderMe(), /*#__PURE__*/React.createElement(FreeType, {
24240
- tag: "div",
24241
- config: this.props.right,
24242
- me: this,
24243
- className: 'right'
24244
- })), /*#__PURE__*/React.createElement(FreeType, {
24245
- tag: "footer",
24246
- config: this.props.bottom,
24247
- me: this
24248
- })), /*#__PURE__*/React.createElement(FreeType, {
24249
- tag: "div",
24250
- config: this.props.end,
24251
- me: this,
24252
- className: 'end'
24253
- }));
24254
- }
24255
- renderMe() {
24256
- return /*#__PURE__*/React.createElement("div", {
24257
- style: {
24258
- flex: 1
24259
- }
24260
- }, "Render me");
24261
- }
24262
- }
24263
-
24264
24200
  function JRTest() {
24265
24201
  return 'I am JRTest string';
24266
24202
  }
@@ -24270,7 +24206,6 @@ class JRTestReact extends React.Component {
24270
24206
  }
24271
24207
  }
24272
24208
 
24273
- exports.JRFrame = JRFrame;
24274
24209
  exports.JRSubmit = JRSubmit;
24275
24210
  exports.JRTest = JRTest;
24276
24211
  exports.JRTestReact = JRTestReact;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jrs-react",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.es.js",
package/src/index.js CHANGED
@@ -4,5 +4,5 @@ import JRFrame from './components/JRFrame/JRFrame'
4
4
  import JRTest,{JRTestReact} from './components/JRTest'
5
5
  export {
6
6
  JRTest,JRTestReact
7
- ,JRSubmit,JRFrame//,JRTable
7
+ ,JRSubmit//,JRFrame//,JRTable
8
8
  }