prometeo-design-system 4.7.0 → 4.7.1

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.
Files changed (129) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +1 -1
  3. package/dist/CardProfile.es.js +1 -1
  4. package/dist/CheckBox.es.js +1 -1
  5. package/dist/Chip.es.js +7 -7
  6. package/dist/DatePicker-CaeM0ulv.js +3741 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +81 -73
  9. package/dist/DrawerDesktop.es.js +1 -1
  10. package/dist/DrawerMobile.es.js +1 -1
  11. package/dist/DropZone.es.js +1 -1
  12. package/dist/FAButton.es.js +1 -1
  13. package/dist/Header.es.js +1 -1
  14. package/dist/{HelperComponent-DhGU_ug-.js → HelperComponent-ljsn0xD6.js} +1 -1
  15. package/dist/IconButton.es.js +10 -10
  16. package/dist/Icons/AccountCircle.es.js +1 -1
  17. package/dist/Icons/Add.es.js +1 -1
  18. package/dist/Icons/ArrowDownward.es.js +1 -1
  19. package/dist/Icons/ArrowLeft.es.js +1 -1
  20. package/dist/Icons/ArrowUpDown.es.js +1 -1
  21. package/dist/Icons/ArrowUpward.es.js +1 -1
  22. package/dist/Icons/AttachFile.es.js +1 -1
  23. package/dist/Icons/Boards.es.js +1 -1
  24. package/dist/Icons/Calendar.es.js +1 -1
  25. package/dist/Icons/Cancel.es.js +1 -1
  26. package/dist/Icons/Check.es.js +1 -1
  27. package/dist/Icons/CheckCircle.es.js +1 -1
  28. package/dist/Icons/CheckList.es.js +1 -1
  29. package/dist/Icons/ChevronDown.es.js +1 -1
  30. package/dist/Icons/Clock.es.js +1 -1
  31. package/dist/Icons/Close.es.js +1 -1
  32. package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
  33. package/dist/Icons/Collapse.es.js +1 -1
  34. package/dist/Icons/Company.es.js +1 -1
  35. package/dist/Icons/Copy.es.js +1 -1
  36. package/dist/Icons/CrevronLeft.es.js +1 -1
  37. package/dist/Icons/CrevronRight.es.js +1 -1
  38. package/dist/Icons/DocumentFill.es.js +1 -1
  39. package/dist/Icons/Download.es.js +1 -1
  40. package/dist/Icons/DragIndicator.es.js +1 -1
  41. package/dist/Icons/Edit.es.js +1 -1
  42. package/dist/Icons/EditFill.es.js +1 -1
  43. package/dist/Icons/Email.es.js +1 -1
  44. package/dist/Icons/Error.es.js +1 -1
  45. package/dist/Icons/EyeVisibility.es.js +1 -1
  46. package/dist/Icons/EyeVisibilityOff.es.js +1 -1
  47. package/dist/Icons/FaLock.es.js +1 -1
  48. package/dist/Icons/FastForward.es.js +1 -1
  49. package/dist/Icons/File.es.js +1 -1
  50. package/dist/Icons/Filter.es.js +1 -1
  51. package/dist/Icons/FormatColorText.es.js +1 -1
  52. package/dist/Icons/Help.es.js +1 -1
  53. package/dist/Icons/HistoryActivity.es.js +1 -1
  54. package/dist/Icons/Home.es.js +1 -1
  55. package/dist/Icons/Image.es.js +1 -1
  56. package/dist/Icons/Info.es.js +1 -1
  57. package/dist/Icons/Logout.es.js +1 -1
  58. package/dist/Icons/MessageSquare.es.js +1 -1
  59. package/dist/Icons/MessageSquareFill.es.js +1 -1
  60. package/dist/Icons/MoreVert.es.js +1 -1
  61. package/dist/Icons/Notifications.es.js +1 -1
  62. package/dist/Icons/Pause.es.js +1 -1
  63. package/dist/Icons/Reassignment.es.js +1 -1
  64. package/dist/Icons/ReassignmentFill.es.js +1 -1
  65. package/dist/Icons/Reload.es.js +1 -1
  66. package/dist/Icons/Search.es.js +1 -1
  67. package/dist/Icons/Send.es.js +1 -1
  68. package/dist/Icons/Settings.es.js +1 -1
  69. package/dist/Icons/Shared.es.js +1 -1
  70. package/dist/Icons/Sort.es.js +1 -1
  71. package/dist/Icons/StarFill.es.js +1 -1
  72. package/dist/Icons/Stars.es.js +1 -1
  73. package/dist/Icons/Ticket.es.js +1 -1
  74. package/dist/Icons/TicketFilled.es.js +1 -1
  75. package/dist/Icons/Trash.es.js +1 -1
  76. package/dist/Icons/TrashFill.es.js +1 -1
  77. package/dist/Icons/Upload.es.js +1 -1
  78. package/dist/Icons/UploadCloud.es.js +1 -1
  79. package/dist/Icons/UserAdd.es.js +1 -1
  80. package/dist/Icons/UserAddFill.es.js +1 -1
  81. package/dist/Icons/UserAvatar.es.js +1 -1
  82. package/dist/Icons/UserPerson.es.js +1 -1
  83. package/dist/Icons/WhatsApp.es.js +1 -1
  84. package/dist/Image.es.js +1 -1
  85. package/dist/{ImageGallery-4DdXqwRy.js → ImageGallery-DG9ovlQ-.js} +1 -1
  86. package/dist/ImageGallery.es.js +1 -1
  87. package/dist/Input.es.js +3 -3
  88. package/dist/InputMultiple.es.js +33 -32
  89. package/dist/Logo.es.js +1 -1
  90. package/dist/Menu.es.js +1 -1
  91. package/dist/NotificationCard.es.js +1 -1
  92. package/dist/OtpInput.es.js +1 -1
  93. package/dist/Pagination.es.js +1 -1
  94. package/dist/PlainTooltip.es.js +1 -1
  95. package/dist/ProfilePictureUpload.es.js +1 -1
  96. package/dist/ProgressBar.es.js +1 -1
  97. package/dist/PyrionLayout.es.js +3 -3
  98. package/dist/RadioButton.es.js +2 -2
  99. package/dist/RecurrentDatePicker.es.js +3 -3
  100. package/dist/RecurrentDatePickerRRule.es.js +2 -4
  101. package/dist/Scrollable.es.js +1 -1
  102. package/dist/SegmentedButton.es.js +1 -1
  103. package/dist/Select.es.js +2 -2
  104. package/dist/SelectSearch.es.js +1 -1
  105. package/dist/Skeleton.es.js +1 -1
  106. package/dist/Spinner.es.js +1 -1
  107. package/dist/Steps.es.js +1 -1
  108. package/dist/Switch.es.js +7 -7
  109. package/dist/{TabLinks-C0ywjYt-.js → TabLinks-DnoWdrdk.js} +2 -2
  110. package/dist/TabLinks.es.js +1 -1
  111. package/dist/Table.es.js +1 -1
  112. package/dist/TextArea.es.js +92 -84
  113. package/dist/TicketCard.es.js +1 -1
  114. package/dist/Toast.es.js +1 -1
  115. package/dist/ToastProvider.es.js +1 -1
  116. package/dist/Tooltip.es.js +1 -1
  117. package/dist/UserCard.es.js +1 -1
  118. package/dist/assets/DialogModalSizes.png +0 -0
  119. package/dist/{badge-CiiB9SGl.js → badge-BEx-0Q-K.js} +1 -1
  120. package/dist/components/DatePicker/DatePicker.d.ts +1 -0
  121. package/dist/components/Dialog/Dialog.d.ts +1 -0
  122. package/dist/components/InputMultiple/InputMultiple.d.ts +2 -1
  123. package/dist/components/TextArea/TextArea.d.ts +3 -0
  124. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-GkKLlHH4.js} +2 -20
  125. package/dist/prometeo-design-system.es.js +5 -5
  126. package/dist/styles.css +1 -1
  127. package/package.json +3 -2
  128. package/src/styles/base.css +5 -0
  129. package/dist/DatePicker-n6qm0fey.js +0 -3573
@@ -1,4 +1,4 @@
1
- import { j as Y } from "./jsx-runtime-DKDX3adD.js";
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";
@@ -1,4 +1,4 @@
1
- import { j as E } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as E } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as B } from "./cn-B6yFEsav.js";
3
3
  import { memo as N, useRef as R, useCallback as D, useLayoutEffect as M } from "react";
4
4
  const y = (n) => {
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as n } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as l } from "./cn-B6yFEsav.js";
3
3
  import { c as p } from "./index-BOQuZ0gG.js";
4
4
  import { memo as d } from "react";
package/dist/Steps.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as e } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as j } from "./cn-B6yFEsav.js";
3
3
  import { motion as r } from "framer-motion";
4
4
  import N from "react";
package/dist/Switch.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { j as a } from "./jsx-runtime-DKDX3adD.js";
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 c } from "framer-motion";
5
- const l = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
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
- c.span,
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
- c.span,
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
- l.displayName = "Switch";
93
- const y = w(l);
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-DKDX3adD.js";
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") {
@@ -1,4 +1,4 @@
1
- import { T as f } from "./TabLinks-C0ywjYt-.js";
1
+ import { T as f } from "./TabLinks-DnoWdrdk.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/Table.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-DKDX3adD.js";
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(
@@ -1,108 +1,116 @@
1
- import { j as o } from "./jsx-runtime-DKDX3adD.js";
2
- import { c as i } from "./cn-B6yFEsav.js";
3
- import * as s from "react";
4
- import { forwardRef as V, Children as _, isValidElement as $ } from "react";
5
- const b = V(
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 $, isValidElement as q } from "react";
5
+ import { c as B } from "./index-BOQuZ0gG.js";
6
+ import { H as D } from "./HelperComponent-ljsn0xD6.js";
7
+ const F = B(
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 focus-within:border-primary-default-default",
13
+ error: "border-error-default-default focus-within:border-error-default",
14
+ success: "border-success-default-default focus-within:border-success-default"
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ variant: "default"
19
+ }
20
+ }
21
+ ), N = _(
6
22
  ({
7
23
  className: t,
8
- autoResize: a = !0,
9
- userResize: f = !1,
10
- minRows: d = 1,
11
- maxRows: u,
12
- placeholder: H,
13
- onChange: v,
24
+ autoResize: s = !0,
25
+ userResize: u = !1,
26
+ minRows: f = 1,
27
+ maxRows: i,
28
+ placeholder: C,
29
+ onChange: A,
14
30
  value: S,
15
- rows: n,
31
+ rows: l,
16
32
  disabled: k = !1,
17
- children: m,
18
- ...A
33
+ children: d,
34
+ variant: b = "default",
35
+ helperComponent: m,
36
+ ...R
19
37
  // ← Para pasar las props nativas
20
- }, l) => {
21
- const y = s.useRef(null), r = s.useRef(null), L = s.useCallback(
38
+ }, n) => {
39
+ const y = o.useRef(null), E = o.useRef(null), z = o.useCallback(
22
40
  (e) => {
23
- y.current = e, typeof l == "function" ? l(e) : l && (l.current = e);
41
+ y.current = e, typeof n == "function" ? n(e) : n && (n.current = e);
24
42
  },
25
- [l]
26
- ), h = s.useCallback(() => {
43
+ [n]
44
+ ), h = o.useCallback(() => {
27
45
  const e = y.current;
28
- if (!e || !a) return;
46
+ if (!e || !s) return;
29
47
  e.style.height = "auto";
30
- const F = e.scrollHeight, x = Number.parseInt(getComputedStyle(e).lineHeight) || 16, I = Math.min((n ?? d) * x, r.current?.clientHeight || 0);
31
- let c = Math.max(F, I);
32
- if (u || n) {
33
- const O = (u || n || 1) * x;
48
+ const I = e.scrollHeight, p = Number.parseInt(getComputedStyle(e).lineHeight) || 16, L = Math.min((l ?? f) * p, E.current?.clientHeight || 0);
49
+ let c = Math.max(I, L);
50
+ if (i || l) {
51
+ const O = (i || l || 1) * p;
34
52
  c = Math.min(c, O);
35
53
  }
36
- e.style.height = `${c}px`, c > x + 12 && (e.style.alignContent = "start");
37
- }, [a, d, u]), R = () => {
38
- r.current?.classList.remove("border-neutral-default-default"), r.current?.classList.add("border-primary-default-default");
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();
54
+ e.style.height = `${c}px`, c > p + 12 && (e.style.alignContent = "start");
55
+ }, [s, f, i]), M = (e) => {
56
+ A?.(e), h();
43
57
  };
44
- s.useEffect(() => {
58
+ o.useEffect(() => {
45
59
  h();
46
60
  }, [h]);
47
- const M = () => f ? a ? "resize-x" : "resize" : "resize-none", T = typeof m == "function" ? m() : m, B = _.toArray(T);
48
- let g = null, p = null;
49
- return B.forEach((e) => {
50
- if ($(e)) {
51
- if (e.type === j && !g) {
52
- g = e;
61
+ const T = () => u ? s ? "resize-x" : "resize" : "resize-none", V = typeof d == "function" ? d() : d, w = $.toArray(V);
62
+ let x = null, g = null;
63
+ return w.forEach((e) => {
64
+ if (q(e)) {
65
+ if (e.type === H && !x) {
66
+ x = e;
53
67
  return;
54
68
  }
55
- if (e.type === C && !p) {
56
- p = e;
69
+ if (e.type === v && !g) {
70
+ g = e;
57
71
  return;
58
72
  }
59
73
  }
60
- }), /* @__PURE__ */ o.jsxs("div", { ref: r, className: i(
61
- "transition-all duration-300 ease-in-out",
62
- "border border-neutral-default-default px-3 rounded-lg",
63
- "flex gap-1 items-stretch",
64
- "relative",
65
- "overflow-auto prometeo-scrollbar-thin-weak"
66
- ), children: [
67
- g,
68
- /* @__PURE__ */ o.jsx(
69
- "textarea",
70
- {
71
- ref: L,
72
- "data-slot": "textarea",
73
- className: i(
74
- // 'border border-amber-400/30',
75
- "flex-2 shrink-0 min-w-min h-fit my-3 ",
76
- "prometeo-fonts-body-large resize-none",
77
- "placeholder:text-neutral-medium-default text-neutral-default-default appearance-none",
78
- "content-center",
79
- "outline-none",
80
- "prometeo-scrollbar-thin-weak",
81
- M(),
82
- t
83
- ),
84
- onChange: z,
85
- onFocus: R,
86
- onBlur: E,
87
- rows: n ?? d,
88
- value: S,
89
- placeholder: H,
90
- disabled: k,
91
- ...A
92
- }
93
- ),
94
- p
74
+ }), /* @__PURE__ */ r.jsxs("div", { className: a("relative", m && "mb-6"), children: [
75
+ /* @__PURE__ */ r.jsxs("div", { className: a(F({ variant: b, className: t })), children: [
76
+ x,
77
+ /* @__PURE__ */ r.jsx(
78
+ "textarea",
79
+ {
80
+ ref: z,
81
+ "data-slot": "textarea",
82
+ className: a(
83
+ // 'border border-amber-400/30',
84
+ "flex-2 shrink-0 min-w-min h-fit my-3 ",
85
+ "prometeo-fonts-body-large resize-none",
86
+ "placeholder:text-neutral-medium-default text-neutral-default-default appearance-none",
87
+ "content-center",
88
+ "outline-none",
89
+ "prometeo-scrollbar-thin-weak",
90
+ T()
91
+ ),
92
+ onChange: M,
93
+ rows: l ?? f,
94
+ value: S,
95
+ placeholder: C,
96
+ disabled: k,
97
+ ...R
98
+ }
99
+ ),
100
+ g
101
+ ] }),
102
+ m && /* @__PURE__ */ r.jsx(D, { className: "absolute -bottom-1 left-0 translate-y-full", variant: b, children: m })
95
103
  ] });
96
104
  }
97
- ), N = (t) => {
98
- const { children: a, className: f } = t;
99
- return /* @__PURE__ */ o.jsx("div", { className: i("slot", f), children: a });
100
- }, j = (t) => /* @__PURE__ */ o.jsx(N, { ...t, className: i("left-slot flex gap-1 items-center py-3", t?.className) }), C = (t) => /* @__PURE__ */ o.jsx(N, { ...t, className: i("right-slot flex gap-1 items-end py-3", t?.className) }), q = Object.assign(b, {
101
- Root: b,
102
- LeftSlot: j,
103
- RightSlot: C
105
+ ), j = (t) => {
106
+ const { children: s, className: u } = t;
107
+ return /* @__PURE__ */ r.jsx("div", { className: a("slot", u), children: s });
108
+ }, H = (t) => /* @__PURE__ */ r.jsx(j, { ...t, className: a("left-slot flex gap-1 items-center py-3", t?.className) }), v = (t) => /* @__PURE__ */ r.jsx(j, { ...t, className: a("right-slot flex gap-1 items-end py-3", t?.className) }), G = Object.assign(N, {
109
+ Root: N,
110
+ LeftSlot: H,
111
+ RightSlot: v
104
112
  });
105
- q.displayName = "TextArea";
113
+ G.displayName = "TextArea";
106
114
  export {
107
- q as default
115
+ G as default
108
116
  };
@@ -1,4 +1,4 @@
1
- import { j as l } from "./jsx-runtime-DKDX3adD.js";
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
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as g } from "./cn-B6yFEsav.js";
3
3
  import I, { useRef as j, useEffect as E } from "react";
4
4
  import { toast as y } from "sonner";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-DKDX3adD.js";
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 {
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-DKDX3adD.js";
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";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as t } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as d, useCallback as a } from "react";
3
3
  import { c as n } from "./cn-B6yFEsav.js";
4
4
  import o from "./Avatar.es.js";
Binary file
@@ -1,4 +1,4 @@
1
- import { j as s } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as s } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c } from "./cn-B6yFEsav.js";
3
3
  const g = ({
4
4
  count: r,
@@ -23,6 +23,7 @@ interface DatePickerBaseProps {
23
23
  min?: number;
24
24
  max?: number;
25
25
  disabled?: boolean;
26
+ tabIndex?: number;
26
27
  }
27
28
  interface DatePickerSingleProps extends DatePickerBaseProps {
28
29
  mode?: "single";
@@ -8,6 +8,7 @@ interface DialogProps<TContext = unknown> {
8
8
  debugMode?: boolean;
9
9
  safeMarginSize?: number;
10
10
  scroll?: 'content' | 'dialog';
11
+ size?: 'medium' | 'large';
11
12
  }
12
13
  export interface DialogHandle<TContext = unknown> {
13
14
  open: (context?: TContext) => void;
@@ -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-n6qm0fey.js";
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-C0ywjYt-.js";
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-4DdXqwRy.js";
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-CiiB9SGl.js";
38
- import { j as s } from "./jsx-runtime-DKDX3adD.js";
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";