react-bootstrap-front 3.9.5 → 3.9.6
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/CHANGELOG +4 -0
- package/dist/react-bootstrap-front.js +12 -12
- package/package.json +1 -1
- package/src/features/basic/InputText.js +1 -1
- package/src/features/draft/InputHtml.js +0 -1
- package/src/features/inline-list/DefaultHeader.jsx +1 -1
- package/src/features/inline-list/DefaultLine.js +1 -1
- package/src/features/inline-list/DefaultList.jsx +7 -8
package/package.json
CHANGED
|
@@ -7,7 +7,6 @@ import { Editor } from 'react-draft-wysiwyg';
|
|
|
7
7
|
import { convertToHTML, convertFromHTML } from 'draft-convert';
|
|
8
8
|
import { htmlToString } from '../helpers';
|
|
9
9
|
import { ColorPicker, Inline, FontSize, FontFamily, Image, MailMerge as MailMergeOption } from './';
|
|
10
|
-
import '../../../node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.css';
|
|
11
10
|
|
|
12
11
|
const myStyle = {
|
|
13
12
|
height: 'auto',
|
|
@@ -6,7 +6,7 @@ export const DefaultHeader = props => (
|
|
|
6
6
|
<div className="inline-list-default-header bg-secondary-light">
|
|
7
7
|
<div className="row row-title row-line no-gutters text-secondary" key="inline-list-default-header">
|
|
8
8
|
{props.cols.map((oneCol, i) => {
|
|
9
|
-
return <DefaultTitleCol {...props} col={oneCol} idx={i} />;
|
|
9
|
+
return <DefaultTitleCol key={`herd-${oneCol.name}`} {...props} col={oneCol} idx={i} />;
|
|
10
10
|
})}
|
|
11
11
|
{props.onAddOne && (
|
|
12
12
|
<div className="actions-buttons">
|
|
@@ -114,7 +114,7 @@ export default class DefaultLine extends Component {
|
|
|
114
114
|
if (!oneCol.hidden) {
|
|
115
115
|
const line = { ...oneCol, id: this.props.id };
|
|
116
116
|
const content = getObjectmemberValue(this.props.item, oneCol.col);
|
|
117
|
-
return <DefaultCol {...line} content={content} item={this.props.item} selectable={false} />;
|
|
117
|
+
return <DefaultCol key={`col-${oneCol.name}`} {...line} content={content} item={this.props.item} selectable={false} />;
|
|
118
118
|
}
|
|
119
119
|
return null;
|
|
120
120
|
})}
|
|
@@ -21,16 +21,15 @@ export const DefaultList = props => {
|
|
|
21
21
|
previous = item;
|
|
22
22
|
if (myBreak !== false) {
|
|
23
23
|
return (
|
|
24
|
-
|
|
24
|
+
<div key={item.id}>
|
|
25
25
|
<DefaultLineBreak label={myBreak} counter={props.oddEven ? counter++ : 0}/>
|
|
26
26
|
<DefaultLine
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</>
|
|
27
|
+
{...props}
|
|
28
|
+
id={item.id}
|
|
29
|
+
item={item}
|
|
30
|
+
counter={props.oddEven ? counter++ : 0}
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
34
33
|
);
|
|
35
34
|
} else {
|
|
36
35
|
return (
|