jrs-react 1.2.31 → 1.2.33
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 +3 -1
- package/build/index.js +3 -1
- package/package.json +1 -1
- package/src/components/JRFields/JRFields.jsx +2 -1
- package/src/main.jsx +3 -0
package/build/index.es.js
CHANGED
|
@@ -5837,7 +5837,9 @@ class JRFields extends JRWindow {
|
|
|
5837
5837
|
const value = name ? parentValue?.[name] : parentValue;
|
|
5838
5838
|
const gap = column.gap ?? this.props.gap;
|
|
5839
5839
|
const label = column.label;
|
|
5840
|
-
const _style =
|
|
5840
|
+
const _style = {
|
|
5841
|
+
...flexType(style, this, {}, {})
|
|
5842
|
+
};
|
|
5841
5843
|
const _columnStyle = flexType(columnStyle, this, {}, {});
|
|
5842
5844
|
if (colSpan) _style.gridColumn = `span ${colSpan}`;
|
|
5843
5845
|
if (rowSpan) _style.gridRow = `span ${rowSpan}`;
|
package/build/index.js
CHANGED
|
@@ -5864,7 +5864,9 @@ class JRFields extends JRWindow {
|
|
|
5864
5864
|
const value = name ? parentValue?.[name] : parentValue;
|
|
5865
5865
|
const gap = column.gap ?? this.props.gap;
|
|
5866
5866
|
const label = column.label;
|
|
5867
|
-
const _style =
|
|
5867
|
+
const _style = {
|
|
5868
|
+
...flexType(style, this, {}, {})
|
|
5869
|
+
};
|
|
5868
5870
|
const _columnStyle = flexType(columnStyle, this, {}, {});
|
|
5869
5871
|
if (colSpan) _style.gridColumn = `span ${colSpan}`;
|
|
5870
5872
|
if (rowSpan) _style.gridRow = `span ${rowSpan}`;
|
package/package.json
CHANGED
|
@@ -317,7 +317,8 @@ export default class JRFields extends JRWindow {
|
|
|
317
317
|
const value=name?parentValue?.[name]:parentValue
|
|
318
318
|
const gap=column.gap??this.props.gap
|
|
319
319
|
const label=column.label
|
|
320
|
-
|
|
320
|
+
|
|
321
|
+
const _style={...flexType(style,this,{},{})}
|
|
321
322
|
const _columnStyle=flexType(columnStyle,this,{},{})
|
|
322
323
|
if (colSpan) _style.gridColumn = `span ${colSpan}`
|
|
323
324
|
if (rowSpan) _style.gridRow = `span ${rowSpan}`
|
package/src/main.jsx
CHANGED
|
@@ -2,6 +2,9 @@ import { StrictMode } from 'react'
|
|
|
2
2
|
import { createRoot } from 'react-dom/client'
|
|
3
3
|
import './app/index.css'
|
|
4
4
|
import App from './app/App.jsx'
|
|
5
|
+
import JRFields from './components/JRFields/JRFields.jsx'
|
|
6
|
+
import JRText from './components/JRInput/JRText.jsx'
|
|
5
7
|
|
|
6
8
|
const root = createRoot(document.getElementById('root'))
|
|
7
9
|
root.render(<App/>)
|
|
10
|
+
|