@apexcura/ui-components 0.0.16-Beta12 → 0.0.16-Beta13
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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -84,7 +84,7 @@ type ElementType = {
|
|
|
84
84
|
|
|
85
85
|
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
86
86
|
|
|
87
|
-
declare const PasswordElement: (props: ElementType) =>
|
|
87
|
+
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
88
88
|
|
|
89
89
|
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
90
|
|
package/dist/index.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ type ElementType = {
|
|
|
84
84
|
|
|
85
85
|
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
86
86
|
|
|
87
|
-
declare const PasswordElement: (props: ElementType) =>
|
|
87
|
+
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
88
88
|
|
|
89
89
|
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
90
|
|
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ var TextElement = (props) => {
|
|
|
98
98
|
var import_react2 = __toESM(require("react"));
|
|
99
99
|
var import_icons = require("@ant-design/icons");
|
|
100
100
|
var import_antd2 = require("antd");
|
|
101
|
-
var PasswordElement =
|
|
101
|
+
var PasswordElement = (props) => {
|
|
102
102
|
const [passwordVisible, setPasswordVisible] = (0, import_react2.useState)(false);
|
|
103
103
|
const handleVisibilityToggle = () => {
|
|
104
104
|
setPasswordVisible((prev) => !prev);
|
package/dist/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ var TextElement = (props) => {
|
|
|
29
29
|
import React2, { useState } from "react";
|
|
30
30
|
import { EyeInvisibleOutlined, EyeTwoTone } from "@ant-design/icons";
|
|
31
31
|
import { Input } from "antd";
|
|
32
|
-
var PasswordElement =
|
|
32
|
+
var PasswordElement = (props) => {
|
|
33
33
|
const [passwordVisible, setPasswordVisible] = useState(false);
|
|
34
34
|
const handleVisibilityToggle = () => {
|
|
35
35
|
setPasswordVisible((prev) => !prev);
|