react-ui-basics 0.0.169 → 0.0.170

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/Button.css CHANGED
@@ -13,6 +13,7 @@
13
13
  background: #dfdfdf;
14
14
  text-transform: uppercase;
15
15
  font-family: Roboto, sans-serif;
16
+ -webkit-tap-highlight-color: transparent;
16
17
  display: inline-flex;
17
18
  justify-content: center;
18
19
  align-items: center;
package/TextField.js CHANGED
@@ -7,7 +7,7 @@ import {inherits as __inherits} from "./_virtual/_rollupPluginBabelHelpers";
7
7
  import './TextField.css';
8
8
  import 'react';
9
9
  import ReactCreateElement from './ReactCreateElement.js';
10
- import { classNames, isUndefined, orNoop, addEventListener, getRandomId, createRef, setTimeout } from './Tools.js';
10
+ import { classNames, isUndefined, setTimeout, orNoop, addEventListener, getRandomId, createRef } from './Tools.js';
11
11
  import { stateGSs, render, componentDidMount, componentDidUpdate, propsGetter, PureComponent } from './ReactConstants.js';
12
12
  import PropTypes from 'prop-types';
13
13
 
@@ -110,7 +110,12 @@ var TextField = function (_PureComponent) {
110
110
  focused = _props3.focused,
111
111
  input = _props3.input,
112
112
  i = inputRef();
113
- isWithValue(!!__value(i));
113
+ var hasValue = !!__value(i);
114
+ isWithValue(hasValue);
115
+ !hasValue && setTimeout(function () {
116
+ var matches = i.matches(':-internal-autofill-selected');
117
+ matches && isWithValue(matches);
118
+ }, 100);
114
119
  focused && i.focus();
115
120
  orNoop(input)(i);
116
121
  };