react-bootstrap-front 3.7.5 → 3.8.0

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.
Files changed (32) hide show
  1. package/CHANGELOG +23 -0
  2. package/dist/react-bootstrap-front.js +7 -7
  3. package/package.json +1 -1
  4. package/src/features/advanced/DefaultQuickSearch.js +17 -3
  5. package/src/features/advanced/DropdownWrapper.js +5 -8
  6. package/src/features/advanced/ResponsiveModalInner.scss +0 -1
  7. package/src/features/basic/CalmButton.js +2 -2
  8. package/src/features/basic/InputMonetary.js +3 -1
  9. package/src/features/draft/{InputColorPicker.js → ColorPicker.js} +2 -2
  10. package/src/features/draft/{InputColorPicker.scss → ColorPicker.scss} +0 -0
  11. package/src/features/draft/FontSize.js +71 -0
  12. package/src/features/draft/FontSize.scss +0 -0
  13. package/src/features/draft/Inline.js +43 -0
  14. package/src/features/draft/Inline.scss +0 -0
  15. package/src/features/draft/InputHtml.js +4 -2
  16. package/src/features/draft/InputHtml.scss +5 -0
  17. package/src/features/draft/index.js +3 -1
  18. package/src/features/draft/style.scss +4 -1
  19. package/src/features/filter/DefaultPanel.jsx +11 -1
  20. package/src/features/filter/Filter.js +5 -1
  21. package/src/features/filter/FilterBuilder.jsx +28 -26
  22. package/src/features/filter/FilterBuilder.scss +3 -0
  23. package/src/features/filter/FilterHeader.jsx +1 -1
  24. package/src/features/inline-list/DefaultLineBreak.js +20 -0
  25. package/src/features/inline-list/DefaultLineBreak.scss +0 -0
  26. package/src/features/inline-list/DefaultList.jsx +37 -11
  27. package/src/features/inline-list/index.js +1 -0
  28. package/src/features/inline-list/style.scss +1 -0
  29. package/src/features/list/ActionButton.js +1 -1
  30. package/src/features/list/DefaultHeader.jsx +1 -1
  31. package/src/features/page/DefaultContent.jsx +23 -1
  32. package/src/features/page/DefaultContent.scss +23 -2
@@ -194,7 +194,7 @@ export default class DefaultHeader extends Component {
194
194
  'default-list-header text-secondary overflow-hidden',
195
195
  this.props.className,
196
196
  'bg-' + this.props.headerBackgroundTheme,
197
- 'text' + this.props.headerTextTheme
197
+ 'text-' + this.props.headerTextTheme
198
198
  )}
199
199
  >
200
200
  <Row>
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import classnames from 'classnames';
4
+ import { Row, Col } from '../grid';
4
5
 
5
6
  const myLocalStyle = {
6
7
  position: 'absolute',
@@ -24,7 +25,26 @@ export const DefaultContent = props => {
24
25
  }
25
26
  return (
26
27
  <>
27
- {props.header && <div className="rbf-responsive-content-header" style={headerStyle} />}
28
+ {props.header &&
29
+ <div className="rbf-responsive-content-header" style={headerStyle}>
30
+ <div className="default-page-header text-secondary overflow-hidden">
31
+ <Row>
32
+ <Col size={{ xsxs: 36 }}>
33
+ <div className="pl-2" style={{ display: 'inline-block', float: 'left' }}>
34
+ <span className={classnames('header-icon', 'no-selector', 'text-' + props.headerTextTheme)}>
35
+ {props.icon && props.icon}
36
+ </span>
37
+ </div>
38
+ <div className="pl-2" style={{ display: 'inline-block', float: 'left' }}>
39
+ <span className="header-title">
40
+ {props.headerContent}
41
+ </span>
42
+ </div>
43
+ </Col>
44
+ </Row>
45
+ </div>
46
+ </div>
47
+ }
28
48
  <div style={inlineStyle}>
29
49
  <div className="custom-scrollbar" style={{ height: '100%', overflowY: 'auto', overflowX: 'hidden' }}>
30
50
  <div className={classnames(props.className)}>
@@ -40,10 +60,12 @@ DefaultContent.propTypes = {
40
60
  className: PropTypes.string,
41
61
  children: PropTypes.element,
42
62
  header: PropTypes.bool,
63
+ headerContent: PropTypes.element,
43
64
  };
44
65
 
45
66
  DefaultContent.defaultProps = {
46
67
  children: null,
47
68
  className: '',
48
69
  header: true,
70
+ headerContent: null,
49
71
  };
@@ -1,4 +1,25 @@
1
1
  .rbf-responsive-content-header {
2
- background-color: theme-color('light');
3
- border-bottom: 1px solid theme-color('secondary-light');
2
+ background-color: theme-color('light');
3
+ border-bottom: 1px solid theme-color('secondary-light');
4
+
5
+ .default-page-header {
6
+ line-height: 50px;
7
+ }
8
+
9
+ .header-icon {
10
+ font-size: 1.1rem;
11
+ font-weight: bold;
12
+ padding-left: 5px;
13
+ padding-right: 10px;
14
+ display: inline-flex;
15
+ height: 26px;
16
+ vertical-align: middle;
17
+ }
18
+
19
+ .header-title {
20
+ font-size: 1.1rem;
21
+ font-weight: bold;
22
+ padding-left: 5px;
23
+ padding-right: 10px;
24
+ }
4
25
  }