@app-studio/web 0.3.30 → 0.3.32

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.
@@ -3372,21 +3372,21 @@ var PasswordView = function PasswordView(_ref) {
3372
3372
  _ref$isDisabled = _ref.isDisabled,
3373
3373
  isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
3374
3374
  _ref$isVisible = _ref.isVisible,
3375
- isVisible = _ref$isVisible === void 0 ? true : _ref$isVisible,
3375
+ isVisible = _ref$isVisible === void 0 ? false : _ref$isVisible,
3376
3376
  props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
3377
3377
  var _useState = React.useState(isVisible),
3378
3378
  visible = _useState[0],
3379
3379
  setVisible = _useState[1];
3380
3380
  return React__default.createElement(TextField, Object.assign({
3381
3381
  name: name,
3382
- type: isVisible ? 'text' : 'password',
3382
+ type: visible ? 'text' : 'password',
3383
3383
  rightChild: React__default.createElement(View, {
3384
3384
  onClick: function onClick() {
3385
3385
  if (!isDisabled) {
3386
3386
  setVisible(!visible);
3387
3387
  }
3388
3388
  }
3389
- }, isVisible ? visibleIcon : hiddenIcon),
3389
+ }, visible ? visibleIcon : hiddenIcon),
3390
3390
  isClearable: false
3391
3391
  }, props));
3392
3392
  };