@clubmed/trident-ui 1.0.0-beta.5 → 1.0.0-beta.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +13 -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/FormLabel.js +1 -1
- package/molecules/Forms/Select.d.ts +10 -0
- package/molecules/Forms/Select.js +99 -0
- package/molecules/Forms/TextField.d.ts +0 -1
- package/molecules/Forms/TextField.js +48 -51
- package/package.json +1 -1
- package/styles/globals.css +4 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
@font-face {
|
2
2
|
font-family: "tui-utilities";
|
3
|
-
src: url('tui-utilities.eot?t=
|
4
|
-
src: url('tui-utilities.eot?t=
|
5
|
-
url("tui-utilities.woff2?t=
|
6
|
-
url("tui-utilities.woff?t=
|
7
|
-
url('tui-utilities.ttf?t=
|
8
|
-
url('tui-utilities.svg?t=
|
3
|
+
src: url('tui-utilities.eot?t=1717405081142'); /* IE9*/
|
4
|
+
src: url('tui-utilities.eot?t=1717405081142#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
5
|
+
url("tui-utilities.woff2?t=1717405081142") format("woff2"),
|
6
|
+
url("tui-utilities.woff?t=1717405081142") format("woff"),
|
7
|
+
url('tui-utilities.ttf?t=1717405081142') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
8
|
+
url('tui-utilities.svg?t=1717405081142#tui-utilities') format('svg'); /* iOS 4.1- */
|
9
9
|
}
|
10
10
|
|
11
11
|
[class^="tui-utilities-"], [class*=" tui-utilities-"] {
|
Binary file
|
@@ -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=1717405081142'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717405081142#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717405081142") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717405081142") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717405081142') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717405081142#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=1717405081142'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717405081142#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717405081142") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717405081142") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717405081142') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717405081142#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=1717405081142'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717405081142#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717405081142") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717405081142") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717405081142') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717405081142#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=1717405081142'); /* IE9*/
|
3
|
+
src: url('tui-utilities.eot?t=1717405081142#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
4
|
+
url("tui-utilities.woff2?t=1717405081142") format("woff2"),
|
5
|
+
url("tui-utilities.woff?t=1717405081142") format("woff"),
|
6
|
+
url('tui-utilities.ttf?t=1717405081142') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
7
|
+
url('tui-utilities.svg?t=1717405081142#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
|
@@ -20,7 +20,7 @@ const c = {
|
|
20
20
|
"data-name": "InputLabel",
|
21
21
|
children: [
|
22
22
|
l || t,
|
23
|
-
e && /* @__PURE__ */ m("span", { className: "text-b4 text-
|
23
|
+
e && /* @__PURE__ */ m("span", { className: "text-b4 text-grey inline-block font-normal", children: e })
|
24
24
|
]
|
25
25
|
}
|
26
26
|
);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { FormControlProps } from './FormControl.js';
|
2
|
+
import { IconicTypes } from '../../atoms/Icons';
|
3
|
+
import { SelectHTMLAttributes } from 'react';
|
4
|
+
export interface SelectProps<Value> extends FormControlProps<Value, SelectHTMLAttributes<HTMLSelectElement>> {
|
5
|
+
description?: string;
|
6
|
+
iconType?: IconicTypes;
|
7
|
+
errorMessage?: string;
|
8
|
+
dataTestId?: string;
|
9
|
+
}
|
10
|
+
export declare const Select: <Value = string>(props: SelectProps<Value>) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,99 @@
|
|
1
|
+
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
2
|
+
import { c as l } from "../../index-Cu0xwYjD.js";
|
3
|
+
import { useValue as C } from "../../hooks/useValue.js";
|
4
|
+
import { useInternalStatus as D } from "../../hooks/useInternalStatus.js";
|
5
|
+
import { FormControl as I } from "./FormControl.js";
|
6
|
+
import { Icon as n } from "../../atoms/Icons/Icon.js";
|
7
|
+
import "../../atoms/Icons/contexts/IconsContext.js";
|
8
|
+
import { useId as S } from "react";
|
9
|
+
const $ = (c) => {
|
10
|
+
const p = S(), {
|
11
|
+
id: r = `select-${p}`,
|
12
|
+
name: a = r,
|
13
|
+
label: u,
|
14
|
+
value: m,
|
15
|
+
description: b,
|
16
|
+
validationStatus: o = "default",
|
17
|
+
iconType: i,
|
18
|
+
errorMessage: x,
|
19
|
+
disabled: s = !1,
|
20
|
+
className: f,
|
21
|
+
dataTestId: g = r,
|
22
|
+
onChange: h,
|
23
|
+
children: v,
|
24
|
+
...y
|
25
|
+
} = c, { value: w, setValue: N } = C({ name: a, initialValue: m, onChange: h }), e = D({
|
26
|
+
isDisabled: s,
|
27
|
+
validationStatus: o
|
28
|
+
});
|
29
|
+
return /* @__PURE__ */ t(
|
30
|
+
I,
|
31
|
+
{
|
32
|
+
id: r,
|
33
|
+
label: u,
|
34
|
+
description: b,
|
35
|
+
dataName: "TextField",
|
36
|
+
dataTestId: g,
|
37
|
+
disabled: s,
|
38
|
+
validationStatus: o,
|
39
|
+
errorMessage: x,
|
40
|
+
children: /* @__PURE__ */ d(
|
41
|
+
"div",
|
42
|
+
{
|
43
|
+
className: l("relative rounded-pill z-0", {
|
44
|
+
"bg-white": e !== "disabled",
|
45
|
+
"bg-pearl": e === "disabled"
|
46
|
+
}),
|
47
|
+
children: [
|
48
|
+
/* @__PURE__ */ t(
|
49
|
+
"select",
|
50
|
+
{
|
51
|
+
...y,
|
52
|
+
id: r,
|
53
|
+
name: a,
|
54
|
+
disabled: s,
|
55
|
+
value: w,
|
56
|
+
onChange: (k) => N(k.target.value),
|
57
|
+
className: l(
|
58
|
+
"text-b3 rounded-pill w-full border px-20 py-12 font-normal outline-none appearance-none bg-transparent",
|
59
|
+
{
|
60
|
+
"border-lightGrey focus:border-black active:border-black pe-[52px]": e === "default",
|
61
|
+
"pe-[84px]": e === "error" || e === "success",
|
62
|
+
"text-black": e !== "disabled",
|
63
|
+
"text-grey": e === "disabled",
|
64
|
+
"border-red": e === "error",
|
65
|
+
"border-green": e === "success"
|
66
|
+
},
|
67
|
+
f
|
68
|
+
),
|
69
|
+
"aria-label": a,
|
70
|
+
children: v
|
71
|
+
}
|
72
|
+
),
|
73
|
+
/* @__PURE__ */ t(
|
74
|
+
"div",
|
75
|
+
{
|
76
|
+
className: l(
|
77
|
+
"pointer-events-none absolute inset-0 flex items-center justify-between px-20 py-12 -z-1",
|
78
|
+
{
|
79
|
+
"text-grey": e === "disabled",
|
80
|
+
"text-red": e === "error",
|
81
|
+
"text-green": e === "success"
|
82
|
+
}
|
83
|
+
),
|
84
|
+
children: /* @__PURE__ */ d("span", { className: "ms-auto flex gap-x-8", children: [
|
85
|
+
e === "error" && /* @__PURE__ */ t(n, { name: "CrossDefault", width: "24px", type: i }),
|
86
|
+
e === "success" && /* @__PURE__ */ t(n, { name: "CheckDefault", width: "24px", type: i }),
|
87
|
+
/* @__PURE__ */ t("button", { className: "pointer-events-auto inline-flex", children: /* @__PURE__ */ t(n, { name: "ArrowDefaultDown", type: "svg", width: "24px", color: "black" }) })
|
88
|
+
] })
|
89
|
+
}
|
90
|
+
)
|
91
|
+
]
|
92
|
+
}
|
93
|
+
)
|
94
|
+
}
|
95
|
+
);
|
96
|
+
};
|
97
|
+
export {
|
98
|
+
$ as Select
|
99
|
+
};
|
@@ -1,60 +1,58 @@
|
|
1
|
-
import { jsx as t, jsxs as
|
2
|
-
import { c
|
3
|
-
import { useValue as
|
4
|
-
import { useInternalStatus as
|
5
|
-
import { FormControl as
|
6
|
-
import { Icon as
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
2
|
+
import { c } from "../../index-Cu0xwYjD.js";
|
3
|
+
import { useValue as I } from "../../hooks/useValue.js";
|
4
|
+
import { useInternalStatus as T } from "../../hooks/useInternalStatus.js";
|
5
|
+
import { FormControl as k } from "./FormControl.js";
|
6
|
+
import { Icon as i } from "../../atoms/Icons/Icon.js";
|
7
7
|
import "../../atoms/Icons/contexts/IconsContext.js";
|
8
8
|
import { useId as F } from "react";
|
9
|
-
const
|
10
|
-
const
|
11
|
-
id:
|
12
|
-
name:
|
13
|
-
label:
|
14
|
-
value:
|
15
|
-
description:
|
16
|
-
validationStatus:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
disabled: i = !1,
|
9
|
+
const A = (m) => {
|
10
|
+
const p = F(), {
|
11
|
+
id: r = p,
|
12
|
+
name: a = r,
|
13
|
+
label: u,
|
14
|
+
value: x,
|
15
|
+
description: b,
|
16
|
+
validationStatus: n = "default",
|
17
|
+
icon: s,
|
18
|
+
iconType: d,
|
19
|
+
errorMessage: f,
|
20
|
+
disabled: l = !1,
|
22
21
|
className: g,
|
23
|
-
dataTestId:
|
24
|
-
onChange:
|
22
|
+
dataTestId: h = "TextField",
|
23
|
+
onChange: v,
|
25
24
|
...y
|
26
|
-
} =
|
27
|
-
isDisabled:
|
28
|
-
validationStatus:
|
25
|
+
} = m, { value: w, setValue: N } = I({ name: a, initialValue: x, onChange: v }), e = T({
|
26
|
+
isDisabled: l,
|
27
|
+
validationStatus: n
|
29
28
|
});
|
30
29
|
return /* @__PURE__ */ t(
|
31
|
-
|
30
|
+
k,
|
32
31
|
{
|
33
|
-
id:
|
34
|
-
label:
|
35
|
-
description:
|
32
|
+
id: r,
|
33
|
+
label: u,
|
34
|
+
description: b,
|
36
35
|
dataName: "TextField",
|
37
|
-
dataTestId:
|
38
|
-
disabled:
|
39
|
-
validationStatus:
|
40
|
-
errorMessage:
|
41
|
-
children: /* @__PURE__ */
|
36
|
+
dataTestId: h,
|
37
|
+
disabled: l,
|
38
|
+
validationStatus: n,
|
39
|
+
errorMessage: f,
|
40
|
+
children: /* @__PURE__ */ o("div", { className: "relative", children: [
|
42
41
|
/* @__PURE__ */ t(
|
43
42
|
"input",
|
44
43
|
{
|
45
44
|
...y,
|
46
|
-
id:
|
47
|
-
name:
|
48
|
-
disabled:
|
49
|
-
value:
|
50
|
-
onChange: (
|
51
|
-
className:
|
45
|
+
id: r,
|
46
|
+
name: a,
|
47
|
+
disabled: l,
|
48
|
+
value: w,
|
49
|
+
onChange: (C) => N(C.target.value),
|
50
|
+
className: c(
|
52
51
|
"text-b3 rounded-pill w-full border px-20 py-12 font-normal outline-none",
|
53
52
|
{
|
54
53
|
"border-lightGrey focus:border-black active:border-black": e === "default",
|
55
|
-
"ps-[52px]":
|
56
|
-
"pe-[52px]":
|
57
|
-
"pe-[84px]": o && (e === "error" || e === "success"),
|
54
|
+
"ps-[52px]": s,
|
55
|
+
"pe-[52px]": e === "error" || e === "success",
|
58
56
|
"bg-white text-black": e !== "disabled",
|
59
57
|
"bg-pearl text-grey": e === "disabled",
|
60
58
|
"border-red": e === "error",
|
@@ -62,13 +60,13 @@ const B = (u) => {
|
|
62
60
|
},
|
63
61
|
g
|
64
62
|
),
|
65
|
-
"aria-label":
|
63
|
+
"aria-label": a
|
66
64
|
}
|
67
65
|
),
|
68
|
-
/* @__PURE__ */
|
66
|
+
/* @__PURE__ */ o(
|
69
67
|
"div",
|
70
68
|
{
|
71
|
-
className:
|
69
|
+
className: c(
|
72
70
|
"pointer-events-none absolute inset-0 flex items-center justify-between px-20 py-12",
|
73
71
|
{
|
74
72
|
"text-grey": e === "disabled",
|
@@ -77,11 +75,10 @@ const B = (u) => {
|
|
77
75
|
}
|
78
76
|
),
|
79
77
|
children: [
|
80
|
-
|
81
|
-
/* @__PURE__ */
|
82
|
-
e === "error" && /* @__PURE__ */ t(
|
83
|
-
e === "success" && /* @__PURE__ */ t(
|
84
|
-
o && /* @__PURE__ */ t("button", { className: "pointer-events-auto", children: /* @__PURE__ */ t(r, { name: "ArrowDefaultDown", width: "24px", color: "black", type: n }) })
|
78
|
+
s && /* @__PURE__ */ t(i, { name: s, width: "24px" }),
|
79
|
+
/* @__PURE__ */ o("span", { className: "ms-auto flex gap-x-8", children: [
|
80
|
+
e === "error" && /* @__PURE__ */ t(i, { name: "CrossDefault", width: "24px", type: d }),
|
81
|
+
e === "success" && /* @__PURE__ */ t(i, { name: "CheckDefault", width: "24px", type: d })
|
85
82
|
] })
|
86
83
|
]
|
87
84
|
}
|
@@ -91,5 +88,5 @@ const B = (u) => {
|
|
91
88
|
);
|
92
89
|
};
|
93
90
|
export {
|
94
|
-
|
91
|
+
A as TextField
|
95
92
|
};
|
package/package.json
CHANGED