@app-studio/web 0.3.32 → 0.3.33

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.
@@ -22,9 +22,3 @@ export interface PasswordProps extends TextFieldProps {
22
22
  */
23
23
  [x: string]: any;
24
24
  }
25
- export interface PasswordViewProps extends PasswordProps {
26
- /**
27
- * Optional prop to determine if the password is visible
28
- */
29
- isVisible?: boolean;
30
- }
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import { PasswordViewProps } from './Password.props';
3
- declare const PasswordView: React.FC<PasswordViewProps>;
2
+ import { PasswordProps } from './Password.props';
3
+ declare const PasswordView: React.FC<PasswordProps>;
4
4
  export default PasswordView;
@@ -3358,7 +3358,7 @@ var TextFieldComponent = function TextFieldComponent(props) {
3358
3358
  */
3359
3359
  var TextField = TextFieldComponent;
3360
3360
 
3361
- var _excluded$p = ["name", "visibleIcon", "hiddenIcon", "isDisabled", "isVisible"];
3361
+ var _excluded$p = ["name", "visibleIcon", "hiddenIcon", "isDisabled"];
3362
3362
  var PasswordView = function PasswordView(_ref) {
3363
3363
  var name = _ref.name,
3364
3364
  _ref$visibleIcon = _ref.visibleIcon,
@@ -3371,10 +3371,8 @@ var PasswordView = function PasswordView(_ref) {
3371
3371
  }) : _ref$hiddenIcon,
3372
3372
  _ref$isDisabled = _ref.isDisabled,
3373
3373
  isDisabled = _ref$isDisabled === void 0 ? false : _ref$isDisabled,
3374
- _ref$isVisible = _ref.isVisible,
3375
- isVisible = _ref$isVisible === void 0 ? false : _ref$isVisible,
3376
3374
  props = _objectWithoutPropertiesLoose(_ref, _excluded$p);
3377
- var _useState = React.useState(isVisible),
3375
+ var _useState = React.useState(false),
3378
3376
  visible = _useState[0],
3379
3377
  setVisible = _useState[1];
3380
3378
  return React__default.createElement(TextField, Object.assign({