@clubmed/trident-ui 1.0.0-alpha.41 → 1.0.0-alpha.42
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +9 -0
- package/fonts/Actions/tui-actions.css +6 -6
- package/fonts/Actions/tui-actions.eot +0 -0
- package/fonts/Actions/tui-actions.less +6 -6
- package/fonts/Actions/tui-actions.module.less +6 -6
- package/fonts/Actions/tui-actions.scss +6 -6
- package/fonts/Actions/tui-actions.styl +6 -6
- package/fonts/Actions/tui-actions.ttf +0 -0
- package/fonts/Actions/tui-actions.woff +0 -0
- package/fonts/Actions/tui-actions.woff2 +0 -0
- package/fonts/Activities/tui-activities.css +6 -6
- package/fonts/Activities/tui-activities.eot +0 -0
- package/fonts/Activities/tui-activities.less +6 -6
- package/fonts/Activities/tui-activities.module.less +6 -6
- package/fonts/Activities/tui-activities.scss +6 -6
- package/fonts/Activities/tui-activities.styl +6 -6
- package/fonts/Activities/tui-activities.ttf +0 -0
- package/fonts/Activities/tui-activities.woff +0 -0
- package/fonts/Activities/tui-activities.woff2 +0 -0
- package/fonts/Brand/tui-brand.css +6 -6
- package/fonts/Brand/tui-brand.eot +0 -0
- package/fonts/Brand/tui-brand.less +6 -6
- package/fonts/Brand/tui-brand.module.less +6 -6
- package/fonts/Brand/tui-brand.scss +6 -6
- package/fonts/Brand/tui-brand.styl +6 -6
- package/fonts/Brand/tui-brand.ttf +0 -0
- package/fonts/Brand/tui-brand.woff +0 -0
- package/fonts/Brand/tui-brand.woff2 +0 -0
- package/fonts/Covid/tui-covid.css +6 -6
- package/fonts/Covid/tui-covid.eot +0 -0
- package/fonts/Covid/tui-covid.less +6 -6
- package/fonts/Covid/tui-covid.module.less +6 -6
- package/fonts/Covid/tui-covid.scss +6 -6
- package/fonts/Covid/tui-covid.styl +6 -6
- package/fonts/Covid/tui-covid.ttf +0 -0
- package/fonts/Covid/tui-covid.woff +0 -0
- package/fonts/Covid/tui-covid.woff2 +0 -0
- package/fonts/Food/tui-food.css +6 -6
- package/fonts/Food/tui-food.eot +0 -0
- package/fonts/Food/tui-food.less +6 -6
- package/fonts/Food/tui-food.module.less +6 -6
- package/fonts/Food/tui-food.scss +6 -6
- package/fonts/Food/tui-food.styl +6 -6
- package/fonts/Food/tui-food.ttf +0 -0
- package/fonts/Food/tui-food.woff +0 -0
- package/fonts/Food/tui-food.woff2 +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.css +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.eot +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.module.less +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.scss +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.styl +6 -6
- package/fonts/HappyToCare/tui-happy-to-care.ttf +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff +0 -0
- package/fonts/HappyToCare/tui-happy-to-care.woff2 +0 -0
- package/fonts/Places/tui-places.css +6 -6
- package/fonts/Places/tui-places.eot +0 -0
- package/fonts/Places/tui-places.less +6 -6
- package/fonts/Places/tui-places.module.less +6 -6
- package/fonts/Places/tui-places.scss +6 -6
- package/fonts/Places/tui-places.styl +6 -6
- package/fonts/Places/tui-places.ttf +0 -0
- package/fonts/Places/tui-places.woff +0 -0
- package/fonts/Places/tui-places.woff2 +0 -0
- package/fonts/Room/tui-room.css +6 -6
- package/fonts/Room/tui-room.eot +0 -0
- package/fonts/Room/tui-room.less +6 -6
- package/fonts/Room/tui-room.module.less +6 -6
- package/fonts/Room/tui-room.scss +6 -6
- package/fonts/Room/tui-room.styl +6 -6
- package/fonts/Room/tui-room.ttf +0 -0
- package/fonts/Room/tui-room.woff +0 -0
- package/fonts/Room/tui-room.woff2 +0 -0
- package/fonts/Services/tui-services.css +6 -6
- package/fonts/Services/tui-services.eot +0 -0
- package/fonts/Services/tui-services.less +6 -6
- package/fonts/Services/tui-services.module.less +6 -6
- package/fonts/Services/tui-services.scss +6 -6
- package/fonts/Services/tui-services.styl +6 -6
- package/fonts/Services/tui-services.ttf +0 -0
- package/fonts/Services/tui-services.woff +0 -0
- package/fonts/Services/tui-services.woff2 +0 -0
- package/fonts/Socials/tui-socials.css +6 -6
- package/fonts/Socials/tui-socials.eot +0 -0
- package/fonts/Socials/tui-socials.less +6 -6
- package/fonts/Socials/tui-socials.module.less +6 -6
- package/fonts/Socials/tui-socials.scss +6 -6
- package/fonts/Socials/tui-socials.styl +6 -6
- package/fonts/Socials/tui-socials.ttf +0 -0
- package/fonts/Socials/tui-socials.woff +0 -0
- package/fonts/Socials/tui-socials.woff2 +0 -0
- package/fonts/Transports/tui-transports.css +6 -6
- package/fonts/Transports/tui-transports.eot +0 -0
- package/fonts/Transports/tui-transports.less +6 -6
- package/fonts/Transports/tui-transports.module.less +6 -6
- package/fonts/Transports/tui-transports.scss +6 -6
- package/fonts/Transports/tui-transports.styl +6 -6
- package/fonts/Transports/tui-transports.ttf +0 -0
- package/fonts/Transports/tui-transports.woff +0 -0
- package/fonts/Transports/tui-transports.woff2 +0 -0
- package/fonts/Utilities/tui-utilities.css +6 -6
- package/fonts/Utilities/tui-utilities.eot +0 -0
- package/fonts/Utilities/tui-utilities.less +6 -6
- package/fonts/Utilities/tui-utilities.module.less +6 -6
- package/fonts/Utilities/tui-utilities.scss +6 -6
- package/fonts/Utilities/tui-utilities.styl +6 -6
- package/fonts/Utilities/tui-utilities.ttf +0 -0
- package/fonts/Utilities/tui-utilities.woff +0 -0
- package/fonts/Utilities/tui-utilities.woff2 +0 -0
- package/molecules/Forms/Password/Password.d.ts +0 -6
- package/molecules/Forms/Password/Password.js +15 -14
- package/package.json +1 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1713859578433'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1713859578433#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1713859578433") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1713859578433") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1713859578433') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1713859578433#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1713859578433'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1713859578433#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1713859578433") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1713859578433") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1713859578433') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1713859578433#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1713859578433'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1713859578433#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1713859578433") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1713859578433") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1713859578433') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1713859578433#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@font-face {font-family: "tui-utilities";
|
2
|
-
src: url('tui-utilities.eot?t=
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
url("tui-utilities.woff2?t=
|
5
|
-
url("tui-utilities.woff?t=
|
6
|
-
url('tui-utilities.ttf?t=
|
7
|
-
url('tui-utilities.svg?t=
|
2
|
+
src: url('tui-utilities.eot?t=1713859578433'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1713859578433#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1713859578433") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1713859578433") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1713859578433') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1713859578433#tui-utilities') format('svg'); /* iOS 4.1- */
|
8
8
|
}
|
9
9
|
|
10
10
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
Binary file
|
Binary file
|
@@ -2,13 +2,7 @@ import { FormControlProps } from '../FormControl';
|
|
2
2
|
import { ValidationStatus } from '../../../hooks/useInternalStatus';
|
3
3
|
import { ValidationMessage } from './ValidationMessage';
|
4
4
|
export interface PasswordProps<Value> extends FormControlProps<Value> {
|
5
|
-
id?: string;
|
6
|
-
name?: string;
|
7
|
-
label?: string;
|
8
|
-
placeholder?: string;
|
9
5
|
status?: ValidationStatus;
|
10
6
|
validationMessages?: ValidationMessage[];
|
11
|
-
onChange?: (name: string, value: Value) => void;
|
12
|
-
dataTestId?: string;
|
13
7
|
}
|
14
8
|
export declare function Password<Value = string>(props: PasswordProps<Value>): import("react/jsx-runtime").JSX.Element;
|
@@ -7,11 +7,11 @@ import { Icon as E } from "../../../atoms/Icons/Icon.js";
|
|
7
7
|
import "../../../atoms/Icons/contexts/IconsContext.js";
|
8
8
|
import { ValidationMessage as P } from "./ValidationMessage.js";
|
9
9
|
let T = 0;
|
10
|
-
function $(
|
10
|
+
function $(p) {
|
11
11
|
const {
|
12
|
-
id:
|
13
|
-
name:
|
14
|
-
label:
|
12
|
+
id: t = `password-${++T}`,
|
13
|
+
name: s = t,
|
14
|
+
label: d,
|
15
15
|
value: m,
|
16
16
|
disabled: l = !1,
|
17
17
|
validationMessages: r = [],
|
@@ -19,18 +19,18 @@ function $(d) {
|
|
19
19
|
onChange: u,
|
20
20
|
dataTestId: b = "Password",
|
21
21
|
...f
|
22
|
-
} =
|
23
|
-
name:
|
22
|
+
} = p, { value: g, setValue: x } = k({
|
23
|
+
name: s,
|
24
24
|
initialValue: m,
|
25
25
|
onChange: u
|
26
26
|
}), [e, i] = N("password");
|
27
27
|
C(() => i(e), [e]);
|
28
|
-
const
|
28
|
+
const h = () => i(e === "password" ? "text" : "password");
|
29
29
|
return /* @__PURE__ */ n(
|
30
30
|
V,
|
31
31
|
{
|
32
|
-
id:
|
33
|
-
label:
|
32
|
+
id: t,
|
33
|
+
label: d,
|
34
34
|
dataName: "Password",
|
35
35
|
dataTestId: b,
|
36
36
|
disabled: l,
|
@@ -40,8 +40,8 @@ function $(d) {
|
|
40
40
|
"input",
|
41
41
|
{
|
42
42
|
...f,
|
43
|
-
id:
|
44
|
-
name:
|
43
|
+
id: t,
|
44
|
+
name: s,
|
45
45
|
type: e,
|
46
46
|
value: g,
|
47
47
|
disabled: l,
|
@@ -50,19 +50,20 @@ function $(d) {
|
|
50
50
|
"text-b3 rounded-pill w-full border ps-20 py-[11px] font-normal outline-none bg-white text-black pe-[52px] border-lightGrey focus:border-black active:border-black",
|
51
51
|
c
|
52
52
|
),
|
53
|
-
"aria-label":
|
53
|
+
"aria-label": s
|
54
54
|
}
|
55
55
|
),
|
56
56
|
/* @__PURE__ */ a(
|
57
57
|
"button",
|
58
58
|
{
|
59
|
+
type: "button",
|
59
60
|
className: "pointer-events-auto ms-auto absolute right-20 top-12 size-24",
|
60
|
-
onClick:
|
61
|
+
onClick: h,
|
61
62
|
children: /* @__PURE__ */ a(E, { name: e === "password" ? "EyeClosed" : "EyeOpened", width: "24px", type: "svg" })
|
62
63
|
}
|
63
64
|
)
|
64
65
|
] }),
|
65
|
-
r && /* @__PURE__ */ a("div", { className: "flex flex-col gap-[10px] mt-8", children: r.map(({ label: o, status:
|
66
|
+
!!r.length && /* @__PURE__ */ a("div", { className: "flex flex-col gap-[10px] mt-8", children: r.map(({ label: o, status: w }, v) => /* @__PURE__ */ a(P, { label: o, status: w }, v)) })
|
66
67
|
]
|
67
68
|
}
|
68
69
|
);
|