@agilemotion/oui-react-js 1.4.7 → 1.4.8

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.
@@ -40,7 +40,7 @@ const useStyles = (0, _styles.makeStyles)(theme => ({
40
40
  }));
41
41
 
42
42
  const Button = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
43
- var _props$attributes, _props$attributes$sty, _props$config$attribu, _props$config$attribu2, _props$config$attribu3;
43
+ var _props$attributes, _props$attributes$sty, _props$config$attribu, _props$config$attribu2, _props$config$attribu3, _props$config$attribu4, _props$config$attribu5, _props$config$attribu6, _props$config$attribu7;
44
44
 
45
45
  const classes = useStyles();
46
46
 
@@ -154,13 +154,13 @@ const Button = /*#__PURE__*/_react.default.forwardRef((props, ref) => {
154
154
  onClick: handleClick
155
155
  }, /*#__PURE__*/_react.default.createElement(_Icon.default, {
156
156
  id: props.config.icon,
157
- color: 'white'
157
+ color: (_props$config$attribu3 = props.config.attributes) !== null && _props$config$attribu3 !== void 0 && (_props$config$attribu4 = _props$config$attribu3.style) !== null && _props$config$attribu4 !== void 0 && _props$config$attribu4.color ? (_props$config$attribu5 = props.config.attributes) === null || _props$config$attribu5 === void 0 ? void 0 : (_props$config$attribu6 = _props$config$attribu5.style) === null || _props$config$attribu6 === void 0 ? void 0 : _props$config$attribu6.color : 'white'
158
158
  })) : /*#__PURE__*/_react.default.createElement(_Button.default, {
159
159
  variant: color === 'secondary' || color === 'primary' ? 'contained' : 'text',
160
160
  "aria-controls": "menu-list-grow",
161
161
  color: color,
162
162
  ref: ref,
163
- style: (_props$config$attribu3 = props.config.attributes) === null || _props$config$attribu3 === void 0 ? void 0 : _props$config$attribu3.style,
163
+ style: (_props$config$attribu7 = props.config.attributes) === null || _props$config$attribu7 === void 0 ? void 0 : _props$config$attribu7.style,
164
164
  disabled: disabled,
165
165
  onClick: handleClick,
166
166
  "aria-haspopup": "true"
@@ -146,12 +146,15 @@
146
146
  }
147
147
 
148
148
  .modal-title {
149
- font-family: "Roboto", "Helvetica", "Arial", sans-serif;
149
+ font-family: "Roboto","Helvetica","Arial",sans-serif;
150
150
  font-style: normal;
151
151
  font-weight: 400;
152
- font-size: 28px;
152
+ font-size: 20px;
153
153
  line-height: 36px;
154
- color: #3E435D;
154
+ color: #3e435d;
155
+ overflow: hidden;
156
+ white-space: nowrap;
157
+ text-overflow: ellipsis;
155
158
  }
156
159
 
157
160
  button:focus {
@@ -9,18 +9,8 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _Utils = _interopRequireDefault(require("../Utils"));
11
11
 
12
- var _reactHtmlRenderer = _interopRequireDefault(require("react-html-renderer"));
13
-
14
12
  var _Observable = _interopRequireDefault(require("../event/Observable"));
15
13
 
16
- var _ApplicationManager = _interopRequireDefault(require("../ApplicationManager"));
17
-
18
- var _reactPromiseTracker = require("react-promise-tracker");
19
-
20
- var _Event = _interopRequireDefault(require("../event/Event"));
21
-
22
- var _EventType = _interopRequireDefault(require("../event/EventType"));
23
-
24
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
15
 
26
16
  const Portlet = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.default.forwardRef((props, ref) => {
@@ -61,6 +61,9 @@ const TextFieldWrapper = /*#__PURE__*/_react.default.memo( /*#__PURE__*/_react.d
61
61
  onChange: e => {
62
62
  base.handleValueChange(e.target.value);
63
63
  },
64
+ inputProps: {
65
+ autocomplete: "new-password"
66
+ },
64
67
  onKeyPress: props.keyHandler,
65
68
  error: base.hasError,
66
69
  helperText: base.errorMessage,
@@ -316,7 +316,7 @@ const Toolbar = props => {
316
316
  style: {
317
317
  color: screenShared ? '#8eb2f5' : '#404239',
318
318
  marginRight: '4px',
319
- minWidth: '104px'
319
+ minWidth: '108px'
320
320
  }
321
321
  }, /*#__PURE__*/_react.default.createElement("div", {
322
322
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilemotion/oui-react-js",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "babel": {
5
5
  "presets": [
6
6
  "@babel/preset-env",