prometeo-design-system 4.7.0 → 4.7.2
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/Avatar.es.js +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/Chip.es.js +7 -7
- package/dist/DatePicker-CaeM0ulv.js +3741 -0
- package/dist/DatePicker.es.js +1 -1
- package/dist/DialogModal.es.js +81 -73
- package/dist/DrawerDesktop.es.js +1 -1
- package/dist/DrawerMobile.es.js +1 -1
- package/dist/DropZone.es.js +1 -1
- package/dist/FAButton.es.js +1 -1
- package/dist/Header.es.js +7 -7
- package/dist/{HelperComponent-DhGU_ug-.js → HelperComponent-ljsn0xD6.js} +1 -1
- package/dist/IconButton.es.js +11 -11
- package/dist/Icons/AccountCircle.es.js +1 -1
- package/dist/Icons/Add.es.js +1 -1
- package/dist/Icons/ArrowDownward.es.js +1 -1
- package/dist/Icons/ArrowLeft.es.js +1 -1
- package/dist/Icons/ArrowUpDown.es.js +1 -1
- package/dist/Icons/ArrowUpward.es.js +1 -1
- package/dist/Icons/AttachFile.es.js +1 -1
- package/dist/Icons/Boards.es.js +1 -1
- package/dist/Icons/Calendar.es.js +1 -1
- package/dist/Icons/Cancel.es.js +1 -1
- package/dist/Icons/Check.es.js +1 -1
- package/dist/Icons/CheckCircle.es.js +1 -1
- package/dist/Icons/CheckList.es.js +1 -1
- package/dist/Icons/ChevronDown.es.js +1 -1
- package/dist/Icons/Clock.es.js +1 -1
- package/dist/Icons/Close.es.js +1 -1
- package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
- package/dist/Icons/Collapse.es.js +1 -1
- package/dist/Icons/Company.es.js +1 -1
- package/dist/Icons/Copy.es.js +1 -1
- package/dist/Icons/CrevronLeft.es.js +1 -1
- package/dist/Icons/CrevronRight.es.js +1 -1
- package/dist/Icons/DocumentFill.es.js +1 -1
- package/dist/Icons/Download.es.js +1 -1
- package/dist/Icons/DragIndicator.es.js +1 -1
- package/dist/Icons/Edit.es.js +1 -1
- package/dist/Icons/EditFill.es.js +1 -1
- package/dist/Icons/Email.es.js +1 -1
- package/dist/Icons/Error.es.js +1 -1
- package/dist/Icons/EyeVisibility.es.js +1 -1
- package/dist/Icons/EyeVisibilityOff.es.js +1 -1
- package/dist/Icons/FaLock.es.js +1 -1
- package/dist/Icons/FastForward.es.js +1 -1
- package/dist/Icons/File.es.js +1 -1
- package/dist/Icons/Filter.es.js +1 -1
- package/dist/Icons/FormatColorText.es.js +1 -1
- package/dist/Icons/Help.es.js +1 -1
- package/dist/Icons/HistoryActivity.es.js +1 -1
- package/dist/Icons/Home.es.js +1 -1
- package/dist/Icons/Image.es.js +1 -1
- package/dist/Icons/Info.es.js +1 -1
- package/dist/Icons/Logout.es.js +1 -1
- package/dist/Icons/MessageSquare.es.js +1 -1
- package/dist/Icons/MessageSquareFill.es.js +1 -1
- package/dist/Icons/MoreVert.es.js +1 -1
- package/dist/Icons/Notifications.es.js +1 -1
- package/dist/Icons/Pause.es.js +1 -1
- package/dist/Icons/Reassignment.es.js +1 -1
- package/dist/Icons/ReassignmentFill.es.js +1 -1
- package/dist/Icons/Reload.es.js +1 -1
- package/dist/Icons/Search.es.js +1 -1
- package/dist/Icons/Send.es.js +1 -1
- package/dist/Icons/Settings.es.js +1 -1
- package/dist/Icons/Shared.es.js +1 -1
- package/dist/Icons/Sort.es.js +1 -1
- package/dist/Icons/StarFill.es.js +1 -1
- package/dist/Icons/Stars.es.js +1 -1
- package/dist/Icons/Ticket.es.js +1 -1
- package/dist/Icons/TicketFilled.es.js +1 -1
- package/dist/Icons/Trash.es.js +1 -1
- package/dist/Icons/TrashFill.es.js +1 -1
- package/dist/Icons/Upload.es.js +1 -1
- package/dist/Icons/UploadCloud.es.js +1 -1
- package/dist/Icons/UserAdd.es.js +1 -1
- package/dist/Icons/UserAddFill.es.js +1 -1
- package/dist/Icons/UserAvatar.es.js +1 -1
- package/dist/Icons/UserPerson.es.js +1 -1
- package/dist/Icons/WhatsApp.es.js +1 -1
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-4DdXqwRy.js → ImageGallery-DG9ovlQ-.js} +1 -1
- package/dist/ImageGallery.es.js +1 -1
- package/dist/Input.es.js +6 -6
- package/dist/InputMultiple.es.js +33 -32
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/NotificationCard.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- package/dist/Pagination.es.js +1 -1
- package/dist/PlainTooltip.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/PyrionLayout.es.js +3 -3
- package/dist/RadioButton.es.js +2 -2
- package/dist/RecurrentDatePicker.es.js +3 -3
- package/dist/RecurrentDatePickerRRule.es.js +2 -4
- package/dist/Scrollable.es.js +1 -1
- package/dist/SegmentedButton.es.js +1 -1
- package/dist/Select.es.js +161 -165
- package/dist/SelectSearch.es.js +1 -1
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/Switch.es.js +7 -7
- package/dist/{TabLinks-C0ywjYt-.js → TabLinks-DnoWdrdk.js} +2 -2
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +116 -84
- package/dist/TicketCard.es.js +1 -1
- package/dist/Toast.es.js +1 -1
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/UserCard.es.js +1 -1
- package/dist/assets/DialogModalSizes.png +0 -0
- package/dist/{badge-CiiB9SGl.js → badge-BEx-0Q-K.js} +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +1 -0
- package/dist/components/InputMultiple/InputMultiple.d.ts +2 -1
- package/dist/components/TextArea/TextArea.d.ts +3 -0
- package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-GkKLlHH4.js} +2 -20
- package/dist/prometeo-design-system.es.js +5 -5
- package/dist/styles.css +1 -1
- package/package.json +3 -2
- package/src/styles/base.css +5 -0
- package/dist/DatePicker-n6qm0fey.js +0 -3573
package/dist/SelectSearch.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as Y } from "./jsx-runtime-
|
|
1
|
+
import { j as Y } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { g as i } from "./utils-X4-h3cum.js";
|
|
3
3
|
import { useState as A, useRef as E, useEffect as b, useMemo as ee, useCallback as ne } from "react";
|
|
4
4
|
import Z from "./Select.es.js";
|
package/dist/Skeleton.es.js
CHANGED
package/dist/Spinner.es.js
CHANGED
package/dist/Steps.es.js
CHANGED
package/dist/Switch.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-
|
|
1
|
+
import { j as a } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { c as r } from "./cn-B6yFEsav.js";
|
|
3
3
|
import { memo as w, useRef as b } from "react";
|
|
4
|
-
import { motion as
|
|
5
|
-
const
|
|
4
|
+
import { motion as l } from "framer-motion";
|
|
5
|
+
const c = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
6
6
|
const n = b(null), h = (u) => {
|
|
7
7
|
if (!n.current || t) return;
|
|
8
8
|
u.preventDefault(), u.stopPropagation();
|
|
@@ -59,7 +59,7 @@ const l = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
59
59
|
i[e][s].container
|
|
60
60
|
),
|
|
61
61
|
children: /* @__PURE__ */ a.jsx(
|
|
62
|
-
|
|
62
|
+
l.span,
|
|
63
63
|
{
|
|
64
64
|
animate: m[e],
|
|
65
65
|
whileHover: t ? {} : {
|
|
@@ -70,7 +70,7 @@ const l = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
70
70
|
"size-10 aspect-square rounded-full absolute top-1/2 -translate-y-1/2"
|
|
71
71
|
),
|
|
72
72
|
children: /* @__PURE__ */ a.jsx(
|
|
73
|
-
|
|
73
|
+
l.span,
|
|
74
74
|
{
|
|
75
75
|
animate: p[e],
|
|
76
76
|
whileTap: t ? {} : {
|
|
@@ -89,8 +89,8 @@ const l = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
91
|
};
|
|
92
|
-
|
|
93
|
-
const y = w(
|
|
92
|
+
c.displayName = "Switch";
|
|
93
|
+
const y = w(c);
|
|
94
94
|
export {
|
|
95
95
|
y as Switch,
|
|
96
96
|
y as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as i } from "./jsx-runtime-
|
|
1
|
+
import { j as i } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { motion as I } from "framer-motion";
|
|
3
3
|
import { memo as $, useId as w, useRef as z, useEffect as E, isValidElement as L } from "react";
|
|
4
4
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
5
5
|
import M from "./PlainTooltip.es.js";
|
|
6
|
-
const R = Symbol.for("react.memo"), S = (e, a, n) => {
|
|
6
|
+
const R = /* @__PURE__ */ Symbol.for("react.memo"), S = (e, a, n) => {
|
|
7
7
|
if (!e)
|
|
8
8
|
return null;
|
|
9
9
|
if (typeof e == "function") {
|
package/dist/TabLinks.es.js
CHANGED
package/dist/Table.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { c as l } from "./cn-B6yFEsav.js";
|
|
3
3
|
import * as o from "react";
|
|
4
4
|
const n = o.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ r.jsx("div", { className: "w-full", children: /* @__PURE__ */ r.jsx(
|
package/dist/TextArea.es.js
CHANGED
|
@@ -1,108 +1,140 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import * as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
|
|
1
|
+
import { j as r } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
+
import { c as a } from "./cn-B6yFEsav.js";
|
|
3
|
+
import * as o from "react";
|
|
4
|
+
import { forwardRef as $, Children as q, isValidElement as B } from "react";
|
|
5
|
+
import { c as y } from "./index-BOQuZ0gG.js";
|
|
6
|
+
import { H as D } from "./HelperComponent-ljsn0xD6.js";
|
|
7
|
+
const F = y(
|
|
8
|
+
"transition-all duration-300 ease-in-out border px-3 rounded-lg flex gap-1 items-stretch relative overflow-auto prometeo-scrollbar-thin-weak",
|
|
9
|
+
{
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
default: "border-neutral-default-default hover:border-primary-default-default focus-within:border-primary-default-default focus-within:ring-1 focus-within:ring-primary-default-default focus-within:hover:border-primary-default-default",
|
|
13
|
+
error: "border-error-default-default hover:border-error-strong-default focus-within:border-error-default focus-within:ring-1 focus-within:ring-error-default-default focus-within:hover:border-error-default",
|
|
14
|
+
success: "border-success-default-default hover:border-success-strong-default focus-within:border-success-default focus-within:ring-1 focus-within:ring-success-default-default focus-within:hover:border-success-default"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
variant: "default"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
), G = y(
|
|
22
|
+
"",
|
|
23
|
+
{
|
|
24
|
+
variants: {
|
|
25
|
+
disabled: {
|
|
26
|
+
true: "border-neutral-strong-default hover:border-neutral-strong-default "
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
), J = y(
|
|
31
|
+
"",
|
|
32
|
+
{
|
|
33
|
+
variants: {
|
|
34
|
+
disabled: {
|
|
35
|
+
true: "placeholder:text-neutral-medium-disabled text-neutral-medium-disabled"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
), j = $(
|
|
6
40
|
({
|
|
7
41
|
className: t,
|
|
8
|
-
autoResize:
|
|
9
|
-
userResize:
|
|
42
|
+
autoResize: s = !0,
|
|
43
|
+
userResize: c = !1,
|
|
10
44
|
minRows: d = 1,
|
|
11
|
-
maxRows:
|
|
12
|
-
placeholder:
|
|
13
|
-
onChange:
|
|
14
|
-
value:
|
|
45
|
+
maxRows: i,
|
|
46
|
+
placeholder: A,
|
|
47
|
+
onChange: S,
|
|
48
|
+
value: k,
|
|
15
49
|
rows: n,
|
|
16
|
-
disabled:
|
|
50
|
+
disabled: u = !1,
|
|
17
51
|
children: m,
|
|
18
|
-
|
|
52
|
+
variant: v = "default",
|
|
53
|
+
helperComponent: h,
|
|
54
|
+
...R
|
|
19
55
|
// ← Para pasar las props nativas
|
|
20
56
|
}, l) => {
|
|
21
|
-
const
|
|
57
|
+
const N = o.useRef(null), V = o.useRef(null), E = o.useCallback(
|
|
22
58
|
(e) => {
|
|
23
|
-
|
|
59
|
+
N.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
|
|
24
60
|
},
|
|
25
61
|
[l]
|
|
26
|
-
),
|
|
27
|
-
const e =
|
|
28
|
-
if (!e || !
|
|
62
|
+
), g = o.useCallback(() => {
|
|
63
|
+
const e = N.current;
|
|
64
|
+
if (!e || !s) return;
|
|
29
65
|
e.style.height = "auto";
|
|
30
|
-
const
|
|
31
|
-
let
|
|
32
|
-
if (
|
|
33
|
-
const
|
|
34
|
-
|
|
66
|
+
const L = e.scrollHeight, p = Number.parseInt(getComputedStyle(e).lineHeight) || 16, O = Math.min((n ?? d) * p, V.current?.clientHeight || 0);
|
|
67
|
+
let f = Math.max(L, O);
|
|
68
|
+
if (i || n) {
|
|
69
|
+
const _ = (i || n || 1) * p;
|
|
70
|
+
f = Math.min(f, _);
|
|
35
71
|
}
|
|
36
|
-
e.style.height = `${
|
|
37
|
-
}, [
|
|
38
|
-
|
|
39
|
-
}, E = () => {
|
|
40
|
-
r.current?.classList.remove("border-primary-default-default"), r.current?.classList.add("border-neutral-default-default");
|
|
41
|
-
}, z = (e) => {
|
|
42
|
-
v?.(e), h();
|
|
72
|
+
e.style.height = `${f}px`, f > p + 12 && (e.style.alignContent = "start");
|
|
73
|
+
}, [s, d, i]), T = (e) => {
|
|
74
|
+
S?.(e), g();
|
|
43
75
|
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, [
|
|
47
|
-
const
|
|
48
|
-
let
|
|
49
|
-
return
|
|
50
|
-
if (
|
|
51
|
-
if (e.type ===
|
|
52
|
-
|
|
76
|
+
o.useEffect(() => {
|
|
77
|
+
g();
|
|
78
|
+
}, [g]);
|
|
79
|
+
const z = () => c ? s ? "resize-x" : "resize" : "resize-none", M = typeof m == "function" ? m() : m, I = q.toArray(M);
|
|
80
|
+
let x = null, b = null;
|
|
81
|
+
return I.forEach((e) => {
|
|
82
|
+
if (B(e)) {
|
|
83
|
+
if (e.type === w && !x) {
|
|
84
|
+
x = e;
|
|
53
85
|
return;
|
|
54
86
|
}
|
|
55
|
-
if (e.type === C && !
|
|
56
|
-
|
|
87
|
+
if (e.type === C && !b) {
|
|
88
|
+
b = e;
|
|
57
89
|
return;
|
|
58
90
|
}
|
|
59
91
|
}
|
|
60
|
-
}), /* @__PURE__ */
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
),
|
|
94
|
-
|
|
92
|
+
}), /* @__PURE__ */ r.jsxs("div", { className: a("relative", h && "mb-6"), children: [
|
|
93
|
+
/* @__PURE__ */ r.jsxs("div", { className: a(
|
|
94
|
+
F({ variant: v, className: t }),
|
|
95
|
+
G({ disabled: u })
|
|
96
|
+
), children: [
|
|
97
|
+
x,
|
|
98
|
+
/* @__PURE__ */ r.jsx(
|
|
99
|
+
"textarea",
|
|
100
|
+
{
|
|
101
|
+
ref: E,
|
|
102
|
+
"data-slot": "textarea",
|
|
103
|
+
"aria-disabled": u,
|
|
104
|
+
className: a(
|
|
105
|
+
// 'border border-amber-400/30',
|
|
106
|
+
"flex-2 shrink-0 min-w-min h-fit my-3 ",
|
|
107
|
+
"prometeo-fonts-body-large resize-none",
|
|
108
|
+
"placeholder:text-neutral-medium-default text-neutral-default-default appearance-none",
|
|
109
|
+
"content-center",
|
|
110
|
+
"outline-none",
|
|
111
|
+
"prometeo-scrollbar-thin-weak",
|
|
112
|
+
"disabled:text-neutral-medium-disabled",
|
|
113
|
+
z(),
|
|
114
|
+
J({ disabled: u })
|
|
115
|
+
),
|
|
116
|
+
onChange: T,
|
|
117
|
+
rows: n ?? d,
|
|
118
|
+
value: k,
|
|
119
|
+
placeholder: A,
|
|
120
|
+
disabled: u,
|
|
121
|
+
...R
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
b
|
|
125
|
+
] }),
|
|
126
|
+
h && /* @__PURE__ */ r.jsx(D, { className: "absolute -bottom-1 left-0 translate-y-full", variant: v, children: h })
|
|
95
127
|
] });
|
|
96
128
|
}
|
|
97
|
-
),
|
|
98
|
-
const { children:
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
-
},
|
|
101
|
-
Root:
|
|
102
|
-
LeftSlot:
|
|
129
|
+
), H = (t) => {
|
|
130
|
+
const { children: s, className: c } = t;
|
|
131
|
+
return /* @__PURE__ */ r.jsx("div", { className: a("slot", c), children: s });
|
|
132
|
+
}, w = (t) => /* @__PURE__ */ r.jsx(H, { ...t, className: a("left-slot flex gap-1 items-center py-3", t?.className) }), C = (t) => /* @__PURE__ */ r.jsx(H, { ...t, className: a("right-slot flex gap-1 items-end py-3", t?.className) }), K = Object.assign(j, {
|
|
133
|
+
Root: j,
|
|
134
|
+
LeftSlot: w,
|
|
103
135
|
RightSlot: C
|
|
104
136
|
});
|
|
105
|
-
|
|
137
|
+
K.displayName = "TextArea";
|
|
106
138
|
export {
|
|
107
|
-
|
|
139
|
+
K as default
|
|
108
140
|
};
|
package/dist/TicketCard.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l } from "./jsx-runtime-
|
|
1
|
+
import { j as l } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { g as L } from "./useLabelBackground-D5SzHhl_.js";
|
|
3
3
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { memo as O, useState as y, useCallback as x, useImperativeHandle as S, Children as A, isValidElement as B, cloneElement as k, useRef as w, useLayoutEffect as N, useEffect as z } from "react";
|
package/dist/Toast.es.js
CHANGED
package/dist/ToastProvider.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { Toaster as r } from "sonner";
|
|
3
3
|
const i = ({ ...o }) => /* @__PURE__ */ t.jsx(r, { ...o, position: "bottom-right", richColors: !1, theme: "light" });
|
|
4
4
|
export {
|
package/dist/Tooltip.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { AnimatePresence as f, motion as n } from "framer-motion";
|
|
3
3
|
import { useState as p, cloneElement as x } from "react";
|
|
4
4
|
import { Close as b } from "./Icons/Close.es.js";
|
package/dist/UserCard.es.js
CHANGED
|
Binary file
|
|
@@ -19,7 +19,8 @@ export interface InputMultipleProps {
|
|
|
19
19
|
onClick?: (e: React.MouseEvent) => void;
|
|
20
20
|
className?: string;
|
|
21
21
|
readonly?: boolean;
|
|
22
|
+
tabIndex?: number;
|
|
22
23
|
onValueDelete?: (value: string) => void;
|
|
23
24
|
}
|
|
24
|
-
declare const _default: React.MemoExoticComponent<({ label, name, onChange, value, icon, valueSeparator, variant, placeholder, itemClassName, itemIcon, helperText, errorText, disabled, onClick, className, readonly, onValueDelete, ...rest }: InputMultipleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
|
+
declare const _default: React.MemoExoticComponent<({ label, name, onChange, value, icon, valueSeparator, variant, placeholder, itemClassName, itemIcon, helperText, errorText, disabled, onClick, className, readonly, onValueDelete, tabIndex, ...rest }: InputMultipleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
25
26
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { ComponentVariant } from '../Shared/types';
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "children"> {
|
|
4
5
|
autoResize?: boolean;
|
|
@@ -12,6 +13,8 @@ export interface TextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTex
|
|
|
12
13
|
rows?: number;
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
children?: ReactNode | (() => ReactNode);
|
|
16
|
+
variant?: ComponentVariant;
|
|
17
|
+
helperComponent?: React.ReactNode | string;
|
|
15
18
|
}
|
|
16
19
|
type SlotProps = {
|
|
17
20
|
children: React.ReactNode;
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import K from "react";
|
|
2
2
|
var v = { exports: {} }, m = {};
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
3
|
var I;
|
|
13
4
|
function ee() {
|
|
14
5
|
if (I) return m;
|
|
15
6
|
I = 1;
|
|
16
|
-
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
7
|
+
var l = /* @__PURE__ */ Symbol.for("react.transitional.element"), b = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
17
8
|
function c(i, o, s) {
|
|
18
9
|
var f = null;
|
|
19
10
|
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
@@ -32,15 +23,6 @@ function ee() {
|
|
|
32
23
|
return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
|
|
33
24
|
}
|
|
34
25
|
var _ = {};
|
|
35
|
-
/**
|
|
36
|
-
* @license React
|
|
37
|
-
* react-jsx-runtime.development.js
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
26
|
var $;
|
|
45
27
|
function re() {
|
|
46
28
|
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -236,7 +218,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
236
218
|
function y(e) {
|
|
237
219
|
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
238
220
|
}
|
|
239
|
-
var E = K, j = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
221
|
+
var E = K, j = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), p = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), U = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), q = /* @__PURE__ */ Symbol.for("react.forward_ref"), z = /* @__PURE__ */ Symbol.for("react.suspense"), G = /* @__PURE__ */ Symbol.for("react.suspense_list"), X = /* @__PURE__ */ Symbol.for("react.memo"), T = /* @__PURE__ */ Symbol.for("react.lazy"), B = /* @__PURE__ */ Symbol.for("react.activity"), H = /* @__PURE__ */ Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
240
222
|
return null;
|
|
241
223
|
};
|
|
242
224
|
E = {
|
|
@@ -17,25 +17,25 @@ import { default as te } from "./Select.es.js";
|
|
|
17
17
|
import { default as oe } from "./Spinner.es.js";
|
|
18
18
|
import { default as se } from "./Steps.es.js";
|
|
19
19
|
import { default as fe } from "./Switch.es.js";
|
|
20
|
-
import { D as ne } from "./DatePicker-
|
|
20
|
+
import { D as ne } from "./DatePicker-CaeM0ulv.js";
|
|
21
21
|
import { RecurrentDatePicker as me } from "./RecurrentDatePicker.es.js";
|
|
22
22
|
import { RecurrentDatePickerRRule as ie } from "./RecurrentDatePickerRRule.es.js";
|
|
23
23
|
import { default as ce } from "./IconButton.es.js";
|
|
24
24
|
import { Table as De, TableBody as ve, TableCaption as Te, TableCell as ge, TableFooter as ke, TableHead as he, TableHeader as Be, TableRow as Ce } from "./Table.es.js";
|
|
25
|
-
import { T as Ee } from "./TabLinks-
|
|
25
|
+
import { T as Ee } from "./TabLinks-DnoWdrdk.js";
|
|
26
26
|
import { default as Re } from "./TextArea.es.js";
|
|
27
27
|
import { default as Ie } from "./Tooltip.es.js";
|
|
28
28
|
import { default as Le } from "./Skeleton.es.js";
|
|
29
29
|
import { default as je } from "./SegmentedButton.es.js";
|
|
30
|
-
import { I as ye } from "./ImageGallery-
|
|
30
|
+
import { I as ye } from "./ImageGallery-DG9ovlQ-.js";
|
|
31
31
|
import { default as Oe } from "./Image.es.js";
|
|
32
32
|
import { default as _e, toastpyrion as Ge } from "./Toast.es.js";
|
|
33
33
|
import { default as Ze } from "./ToastProvider.es.js";
|
|
34
34
|
import { default as Je } from "./SelectSearch.es.js";
|
|
35
35
|
import { default as Qe } from "./FAButton.es.js";
|
|
36
36
|
import { default as We } from "./RadioButton.es.js";
|
|
37
|
-
import { B as Ye } from "./badge-
|
|
38
|
-
import { j as s } from "./jsx-runtime-
|
|
37
|
+
import { B as Ye } from "./badge-BEx-0Q-K.js";
|
|
38
|
+
import { j as s } from "./jsx-runtime-GkKLlHH4.js";
|
|
39
39
|
import { CloseNavBarDesktop as l } from "./Icons/CloseNavBarDesktop.es.js";
|
|
40
40
|
import { default as Fe } from "./OtpInput.es.js";
|
|
41
41
|
import n, { useRef as p, useEffect as m } from "react";
|