prometeo-design-system 3.1.3 → 3.1.4

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 (137) hide show
  1. package/dist/Avatar.es.js +42 -36
  2. package/dist/Button.es.js +27 -27
  3. package/dist/{CardProfile-BVO6fKr9.js → CardProfile-y9Knsg26.js} +23 -23
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +1 -1
  6. package/dist/DatePicker-CehTiXGa.js +3631 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +1 -1
  9. package/dist/DrawerDesktop.es.js +78 -72
  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 +4 -4
  14. package/dist/{HelperComponent-DhGU_ug-.js → HelperComponent-ljsn0xD6.js} +1 -1
  15. package/dist/Icons/AccountCircle.es.js +1 -1
  16. package/dist/Icons/Add.es.js +1 -1
  17. package/dist/Icons/ArrowLeft.es.js +1 -1
  18. package/dist/Icons/ArrowUpDown.es.js +1 -1
  19. package/dist/Icons/AttachFile.es.js +1 -1
  20. package/dist/Icons/Boards.es.js +1 -1
  21. package/dist/Icons/Calendar.es.js +1 -1
  22. package/dist/Icons/Cancel.es.js +1 -1
  23. package/dist/Icons/Check.es.js +1 -1
  24. package/dist/Icons/CheckCircle.es.js +1 -1
  25. package/dist/Icons/CheckList.es.js +1 -1
  26. package/dist/Icons/ChevronDown.es.js +1 -1
  27. package/dist/Icons/Clock.es.js +1 -1
  28. package/dist/Icons/Close.es.js +1 -1
  29. package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
  30. package/dist/Icons/Collapse.es.js +1 -1
  31. package/dist/Icons/Company.es.js +1 -1
  32. package/dist/Icons/Copy.es.js +1 -1
  33. package/dist/Icons/CrevronLeft.es.js +1 -1
  34. package/dist/Icons/CrevronRight.es.js +1 -1
  35. package/dist/Icons/DocumentFill.es.js +1 -1
  36. package/dist/Icons/Download.es.js +1 -1
  37. package/dist/Icons/Edit.es.js +1 -1
  38. package/dist/Icons/EditFill.es.js +1 -1
  39. package/dist/Icons/Email.es.js +1 -1
  40. package/dist/Icons/Error.es.js +1 -1
  41. package/dist/Icons/EyeVisibility.es.js +1 -1
  42. package/dist/Icons/EyeVisibilityOff.es.js +1 -1
  43. package/dist/Icons/FaLock.es.js +1 -1
  44. package/dist/Icons/FastForward.es.js +1 -1
  45. package/dist/Icons/File.es.js +1 -1
  46. package/dist/Icons/Filter.es.js +1 -1
  47. package/dist/Icons/FormatColorText.es.js +1 -1
  48. package/dist/Icons/Help.es.js +1 -1
  49. package/dist/Icons/HistoryActivity.es.js +1 -1
  50. package/dist/Icons/Home.es.js +1 -1
  51. package/dist/Icons/Image.es.js +1 -1
  52. package/dist/Icons/Info.es.js +1 -1
  53. package/dist/Icons/Logout.es.js +1 -1
  54. package/dist/Icons/MessageSquare.es.js +1 -1
  55. package/dist/Icons/MessageSquareFill.es.js +1 -1
  56. package/dist/Icons/MoreVert.es.js +1 -1
  57. package/dist/Icons/Notifications.es.js +1 -1
  58. package/dist/Icons/Pause.es.js +1 -1
  59. package/dist/Icons/Reload.es.js +1 -1
  60. package/dist/Icons/Search.es.js +1 -1
  61. package/dist/Icons/Settings.es.js +1 -1
  62. package/dist/Icons/Shared.es.js +1 -1
  63. package/dist/Icons/Sort.es.js +1 -1
  64. package/dist/Icons/Stars.es.js +1 -1
  65. package/dist/Icons/Ticket.es.js +1 -1
  66. package/dist/Icons/TicketFilled.es.js +1 -1
  67. package/dist/Icons/Trash.es.js +1 -1
  68. package/dist/Icons/TrashFill.es.js +1 -1
  69. package/dist/Icons/Upload.es.js +1 -1
  70. package/dist/Icons/UploadCloud.es.js +1 -1
  71. package/dist/Icons/UserAdd.es.js +1 -1
  72. package/dist/Icons/UserAddFill.es.js +1 -1
  73. package/dist/Icons/UserPerson.es.js +1 -1
  74. package/dist/Icons/WhatsApp.es.js +1 -1
  75. package/dist/Image.es.js +1 -1
  76. package/dist/{ImageGallery-4DdXqwRy.js → ImageGallery-DG9ovlQ-.js} +1 -1
  77. package/dist/ImageGallery.es.js +1 -1
  78. package/dist/Input.es.js +218 -2
  79. package/dist/InputMultiple.es.js +1 -1
  80. package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-CfWhV1ov.js} +6 -6
  81. package/dist/LayoutGeneric.es.js +1 -1
  82. package/dist/Logo.es.js +1 -1
  83. package/dist/Menu.es.js +1 -1
  84. package/dist/OtpInput.es.js +1 -1
  85. package/dist/Pagination.es.js +1 -1
  86. package/dist/ProfilePictureUpload.es.js +1 -1
  87. package/dist/ProgressBar.es.js +1 -1
  88. package/dist/RadioButton.es.js +2 -2
  89. package/dist/RecurrentDatePicker.es.js +7 -7
  90. package/dist/RecurrentDatePickerRRule.es.js +2 -4
  91. package/dist/Scrollable.d.ts +2 -0
  92. package/dist/Scrollable.es.js +260 -0
  93. package/dist/SegmentedButton.es.js +1 -1
  94. package/dist/{Select-Bq1fVlwM.js → Select-BdxmkrjB.js} +12 -11
  95. package/dist/Select.es.js +1 -1
  96. package/dist/SelectSearch.es.js +2 -2
  97. package/dist/Skeleton.es.js +1 -1
  98. package/dist/Spinner.es.js +1 -1
  99. package/dist/Steps.es.js +1 -1
  100. package/dist/SwipeContainer.es.js +1 -1
  101. package/dist/Switch.es.js +7 -7
  102. package/dist/TabLinks.es.js +9 -9
  103. package/dist/Table.es.js +1 -1
  104. package/dist/TextArea.es.js +1 -1
  105. package/dist/Toast.es.js +1 -1
  106. package/dist/ToastProvider.es.js +1 -1
  107. package/dist/Tooltip.es.js +1 -1
  108. package/dist/components/Avatar/Avatar.d.ts +1 -1
  109. package/dist/components/Drawer/DrawerDesktop.d.ts +1 -0
  110. package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +18 -2
  111. package/dist/components/NavigationDrawer/NavigationDrawerActionItem.d.ts +3 -1
  112. package/dist/components/NavigationDrawer/NavigationDrawerItemBase.d.ts +1 -0
  113. package/dist/components/NavigationDrawer/NavigationDrawerLinkItem.d.ts +1 -0
  114. package/dist/components/NotificationCard/NotificationCard.d.ts +25 -0
  115. package/dist/components/PyrionNavigationDrawer/PyrionHelpSection.d.ts +8 -0
  116. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawer.d.ts +90 -11
  117. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerMobileAppSwitcher.d.ts +10 -0
  118. package/dist/components/PyrionNavigationDrawer/PyrionNavigationDrawerSystemLogo.d.ts +7 -0
  119. package/dist/components/PyrionNavigationDrawer/PyrionNotificationsList.d.ts +8 -0
  120. package/dist/components/PyrionNavigationDrawer/SidebarContent.d.ts +13 -0
  121. package/dist/components/PyrionNavigationDrawer/SystemSessions.d.ts +12 -0
  122. package/dist/components/Scrollable/Scrollable.d.ts +9 -3
  123. package/dist/components/Sidebar/components/badge.d.ts +2 -1
  124. package/dist/components/TicketCard/TicketCard.d.ts +32 -0
  125. package/dist/components/UserCard/UserCard.d.ts +12 -0
  126. package/dist/exports/Scrollable.d.ts +2 -0
  127. package/dist/hooks/useLabelBackground.d.ts +1 -0
  128. package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-GkKLlHH4.js} +2 -20
  129. package/dist/lib/utils.d.ts +2 -2
  130. package/dist/prometeo-design-system.es.js +54 -51
  131. package/dist/styles.css +1 -1
  132. package/dist/useLabelBackground-BDIHUdND.js +26 -0
  133. package/package.json +9 -5
  134. package/src/styles/base.css +25 -0
  135. package/src/styles/palette.css +3 -0
  136. package/dist/DatePicker-D1EwMGIN.js +0 -3568
  137. package/dist/Input-EkMrxcNX.js +0 -241
@@ -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 { m as T } from "../iconUtils-D0lVAgGT.js";
3
3
  const s = T(({ size: r = 24, className: o, ...q }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-D0lVAgGT.js";
3
3
  const i = s(
4
4
  ({ size: t = 24, className: r, ...m }) => /* @__PURE__ */ o.jsx(
@@ -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 { m as v } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = v(({ size: m = 24, className: o, ...r }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as C } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as C } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-D0lVAgGT.js";
3
3
  const l = s(({ size: t = 24, className: r, ...o }) => /* @__PURE__ */ C.jsx(
4
4
  "svg",
@@ -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 { m as e } from "../iconUtils-D0lVAgGT.js";
3
3
  const h = e(({ size: t = 24, className: o, ...s }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -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 { m as o } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = o(({ size: t = 24, className: q, ...m }) => /* @__PURE__ */ l.jsx(
4
4
  "svg",
@@ -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 { m } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = m(({ size: q = 24, className: T, ...r }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as s } from "../iconUtils-D0lVAgGT.js";
3
3
  const i = s(({ size: t = 24, className: r, ...L }) => /* @__PURE__ */ o.jsx(
4
4
  "svg",
@@ -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 { m as s } from "../iconUtils-D0lVAgGT.js";
3
3
  const i = s(({ size: t = 24, className: o, ...m }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-D0lVAgGT.js";
3
3
  const s = o(({ size: T = 24, className: t, ...m }) => /* @__PURE__ */ q.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as r } from "../iconUtils-D0lVAgGT.js";
3
3
  const s = r(
4
4
  ({ size: T = 24, className: t, ...o }) => /* @__PURE__ */ q.jsx(
@@ -1,4 +1,4 @@
1
- import { j as v } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as v } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = o(({ size: h = 24, className: r, ...t }) => /* @__PURE__ */ v.jsx(
4
4
  "svg",
@@ -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 { m as a } from "../iconUtils-D0lVAgGT.js";
3
3
  const m = a(({ size: t = 24, className: s, ...o }) => /* @__PURE__ */ r.jsx(
4
4
  "svg",
@@ -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 { m as s } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = s(({ size: o = 24, className: r, ...h }) => /* @__PURE__ */ t.jsx(
4
4
  "svg",
@@ -1,4 +1,4 @@
1
- import { j as o } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as h } from "../iconUtils-D0lVAgGT.js";
3
3
  const l = h(
4
4
  ({ size: t = 24, className: q, ...r }) => /* @__PURE__ */ o.jsx(
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m as o } from "../iconUtils-D0lVAgGT.js";
3
3
  const s = o(({ size: t = 24, className: m, ...r }) => /* @__PURE__ */ q.jsx(
4
4
  "svg",
@@ -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 { m as o } from "../iconUtils-D0lVAgGT.js";
3
3
  const l = o(
4
4
  ({ size: t = 24, className: C, ...s }) => /* @__PURE__ */ r.jsx(
@@ -1,4 +1,4 @@
1
- import { j as q } from "../jsx-runtime-DKDX3adD.js";
1
+ import { j as q } from "../jsx-runtime-GkKLlHH4.js";
2
2
  import { m } from "../iconUtils-D0lVAgGT.js";
3
3
  const e = m(({ size: t = 24, className: r, ...o }) => /* @__PURE__ */ q.jsx(
4
4
  "svg",
@@ -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 { m as e } from "../iconUtils-D0lVAgGT.js";
3
3
  const n = e(({ size: t = 24, className: i, ...r }) => /* @__PURE__ */ s.jsxs(
4
4
  "svg",
package/dist/Image.es.js CHANGED
@@ -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 { memo as P, useState as x, useRef as E, useCallback as w, useEffect as N } from "react";
3
3
  import R from "./Spinner.es.js";
4
4
  import { c as u } from "./cn-B6yFEsav.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 Q, { memo as M, forwardRef as A, useRef as v, useEffect as ee, useCallback as i, useState as R, useImperativeHandle as te } from "react";
3
3
  import { c as X } from "./cn-B6yFEsav.js";
4
4
  import { u as re } from "./useDragScroll-CHN9OMwn.js";
@@ -1,4 +1,4 @@
1
- import { I as p } from "./ImageGallery-4DdXqwRy.js";
1
+ import { I as p } from "./ImageGallery-DG9ovlQ-.js";
2
2
  import { useRef as u, useCallback as r } from "react";
3
3
  const g = () => {
4
4
  const e = u(null), t = r((a) => {
package/dist/Input.es.js CHANGED
@@ -1,4 +1,220 @@
1
- import { I as f } from "./Input-EkMrxcNX.js";
1
+ import { j as t } from "./jsx-runtime-GkKLlHH4.js";
2
+ import { c as e } from "./cn-B6yFEsav.js";
3
+ import { memo as _, forwardRef as q, useState as V } from "react";
4
+ import F from "./Spinner.es.js";
5
+ import { u as ee } from "./useLabelBackground-BDIHUdND.js";
6
+ import { H as te } from "./HelperComponent-ljsn0xD6.js";
7
+ import { EyeVisibility as re } from "./Icons/EyeVisibility.es.js";
8
+ import { EyeVisibilityOff as oe } from "./Icons/EyeVisibilityOff.es.js";
9
+ import { Close as se } from "./Icons/Close.es.js";
10
+ const m = {
11
+ default: {
12
+ container: "",
13
+ input: e(
14
+ "border-neutral-default-default text-neutral-default-default!",
15
+ "focus:ring-primary-default-default focus:ring-[1px] focus:border-primary-default-default ",
16
+ "hover:border-neutral-strong-default"
17
+ ),
18
+ label: e("text-neutral-medium-default"),
19
+ icon: e(
20
+ "text-neutral-medium-default",
21
+ "peer-focus:text-primary-default-default"
22
+ )
23
+ },
24
+ error: {
25
+ container: "",
26
+ input: e(
27
+ "border-error-default-default text-neutral-default-default",
28
+ "focus:border-error-default focus:border-2",
29
+ "focus:ring-0 focus:ring-error-default/20"
30
+ ),
31
+ label: e("text-lime-500", "peer-focus:text-error-light"),
32
+ icon: e("text-error-light", "peer-focus:text-error-light")
33
+ },
34
+ success: {
35
+ container: "",
36
+ input: e(
37
+ "border-success-default-default text-neutral-default-default",
38
+ "focus:border-success-default focus:border-2",
39
+ "focus:ring-0 focus:ring-success-default/20"
40
+ ),
41
+ label: e("text-success", "peer-focus:text-success-light"),
42
+ icon: e("text-success-light", "peer-focus:text-success-light")
43
+ }
44
+ }, H = q(
45
+ ({
46
+ label: x,
47
+ icon: s,
48
+ iconPosition: d = "left",
49
+ onChange: $,
50
+ value: I,
51
+ name: h,
52
+ width: i = "100%",
53
+ height: l,
54
+ variant: a = "default",
55
+ labelVariant: o = "default",
56
+ size: S = "medium",
57
+ disabled: u = !1,
58
+ type: r = "text",
59
+ isFetching: n,
60
+ errorComponent: b,
61
+ helperComponent: g,
62
+ placeholder: E,
63
+ required: j = !1,
64
+ onFocus: L,
65
+ onBlur: P,
66
+ onKeyDown: k,
67
+ onKeyUp: C,
68
+ className: R,
69
+ style: D,
70
+ readOnly: B = !1,
71
+ onClear: N,
72
+ ...z
73
+ }, M) => {
74
+ const [w, O] = V(!1), { ref: T } = ee();
75
+ let f = S;
76
+ l && (f = "customHeight");
77
+ const c = {
78
+ small: {
79
+ container: "text-sm",
80
+ input: "h-10 px-3 text-[1rem] prometeo-fonts-body-large",
81
+ label: ` prometeo-fonts-label-large
82
+ peer-focus:prometeo-fonts-label-large
83
+ peer-placeholder-shown:${o === "default" ? "prometeo-fonts-body-large" : "prometeo-fonts-label-large"} peer-placeholder-shown:text-neutral-medium-default peer-focus:text-neutral-medium-default `,
84
+ icon: "w-4 h-4 right-3"
85
+ },
86
+ medium: {
87
+ container: "text-base",
88
+ input: "h-12 px-3 prometeo-fonts-body-large",
89
+ label: ` prometeo-fonts-label-large
90
+ peer-focus:prometeo-fonts-label-large
91
+ peer-placeholder-shown:${o === "default" ? "prometeo-fonts-body-large" : "prometeo-fonts-label-large"} peer-placeholder-shown:text-neutral-medium-default text-neutral-medium-default peer-focus:text-neutral-medium-default `,
92
+ icon: "w-5 h-5 right-3"
93
+ },
94
+ large: {
95
+ container: "text-lg",
96
+ input: "h-14 px-3 text-lg border-b border-t-0 border-x-0 rounded-none focus:ring-0 prometeo-fonts-body-xlarge ",
97
+ label: "peer-placeholder-shown:prometeo-fonts-body-xlarge peer-focus:prometeo-fonts-label-large peer-focus:text-neutral-medium-default prometeo-fonts-label-large ",
98
+ icon: "w-6 h-6 right-3"
99
+ },
100
+ customHeight: {
101
+ container: "text-base",
102
+ input: "text-base",
103
+ label: "text-sm peer-focus:text-sm peer-placeholder-shown:text-xs ",
104
+ icon: "w-6 h-6 right-3"
105
+ }
106
+ }, A = () => {
107
+ O(!w);
108
+ }, y = {};
109
+ i && i !== "100%" && (y.width = i), l && (y.height = l);
110
+ const v = a === "error" && b, G = !v && g, J = r === "password", K = () => o === "static" ? "-top-1 -translate-y-full left-0 pl-3" : s ? `${p ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1 peer-focus:ml-0 peer-focus:mr-0 ${d === "left" ? "peer-placeholder-shown:ml-6" : "peer-placeholder-shown:mr-6"}` : `${p ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1`, Q = () => l ? c.customHeight.label : c[f].label, U = () => l ? { height: l } : {}, W = () => o === "default" ? x : E || x || "", X = () => J ? s ? d === "left" ? "pl-10 pr-10" : "pr-16" : "pr-10" : s ? d === "left" ? "pl-10 pr-3" : "pr-10 pl-3" : "", Y = o === "default" && "transition-all duration-200 ease-in-out", p = b || g;
111
+ return /* @__PURE__ */ t.jsxs(
112
+ "div",
113
+ {
114
+ className: e(
115
+ "relative",
116
+ c[f].container,
117
+ !i && "w-full",
118
+ "bg-inherit",
119
+ o === "static" && "mt-2",
120
+ R
121
+ ),
122
+ style: { ...D, ...y },
123
+ children: [
124
+ /* @__PURE__ */ t.jsx(
125
+ "input",
126
+ {
127
+ id: h,
128
+ name: h,
129
+ ref: M,
130
+ value: I,
131
+ placeholder: W(),
132
+ type: r === "password" && w ? "text" : r,
133
+ className: e(
134
+ "peer w-full border rounded-lg bg-transparent appearance-none transition-all duration-200 ease-in-out",
135
+ "focus:outline-none px-3",
136
+ o === "default" && "placeholder:text-transparent",
137
+ o === "static" && "placeholder:text-neutral-medium-default ",
138
+ m[a].input,
139
+ c[f].input,
140
+ s && "pr-10",
141
+ u && "bg-transparent opacity-60 border-neutral-strong-default text-neutral-medium-disabled",
142
+ m[a].container,
143
+ X()
144
+ ),
145
+ style: U(),
146
+ onChange: $,
147
+ onFocus: L,
148
+ onBlur: P,
149
+ disabled: u,
150
+ required: j,
151
+ onKeyDown: k,
152
+ onKeyUp: C,
153
+ defaultValue: z.defaultValue,
154
+ readOnly: B,
155
+ ...z
156
+ }
157
+ ),
158
+ /* @__PURE__ */ t.jsx(
159
+ "label",
160
+ {
161
+ ref: T,
162
+ htmlFor: h,
163
+ className: e(
164
+ "absolute left-3 pointer-events-none px-1 z-10",
165
+ Y,
166
+ Q(),
167
+ m[a].label,
168
+ K(),
169
+ j && "after:content-['*'] after:text-error-default after:ml-1",
170
+ u && "text-neutral-medium-disabled prometeo-fonts-label-large"
171
+ ),
172
+ children: x
173
+ }
174
+ ),
175
+ (s || r === "password" || n) && /* @__PURE__ */ t.jsx(
176
+ "button",
177
+ {
178
+ tabIndex: -1,
179
+ type: "button",
180
+ className: e(
181
+ `absolute ${p ? "top-[calc(50%-12px)]" : "top-1/2"} -translate-y-1/2 flex items-center justify-center z-10`,
182
+ c[f].icon,
183
+ m[a].icon,
184
+ r === "password" && !n ? "cursor-pointer" : "pointer-events-none",
185
+ d === "right" ? "right-3" : "left-3"
186
+ ),
187
+ onClick: r === "password" && !n ? A : void 0,
188
+ onMouseDown: (Z) => r === "password" && !n && Z.preventDefault(),
189
+ children: /* @__PURE__ */ t.jsxs("div", { className: "flex items-center", children: [
190
+ n && r !== "password" ? /* @__PURE__ */ t.jsx(F, { variant: "sync", size: "small", className: "size-5" }) : s,
191
+ r === "password" && (w ? /* @__PURE__ */ t.jsx(re, { size: 24, className: "" }) : /* @__PURE__ */ t.jsx(oe, { size: 24, className: "" }))
192
+ ] })
193
+ }
194
+ ),
195
+ N && /* @__PURE__ */ t.jsx(
196
+ "button",
197
+ {
198
+ type: "button",
199
+ className: e(
200
+ `absolute ${p ? "top-[calc(50%-12px)]" : "top-1/2"} -translate-y-1/2 flex items-center justify-center z-10 right-1`,
201
+ "size-6 p-1 rounded-full",
202
+ "hover:bg-neutral-medium-hover transition-colors",
203
+ u && "opacity-50 cursor-not-allowed"
204
+ ),
205
+ disabled: u,
206
+ onClick: N,
207
+ children: /* @__PURE__ */ t.jsx(se, { size: 20, className: "" })
208
+ }
209
+ ),
210
+ p && /* @__PURE__ */ t.jsx("div", { className: "min-h-6", children: (v || G) && /* @__PURE__ */ t.jsx(te, { className: "absolute ", variant: a, children: b || g }) })
211
+ ]
212
+ }
213
+ );
214
+ }
215
+ );
216
+ H.displayName = "Input";
217
+ const me = _(H);
2
218
  export {
3
- f as default
219
+ me as default
4
220
  };
@@ -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 d } from "./cn-B6yFEsav.js";
3
3
  import M, { useRef as _, useState as x, useCallback as Z, useEffect as T } from "react";
4
4
  import { Close as ee } from "./Icons/Close.es.js";
@@ -1,6 +1,6 @@
1
- import { j as n } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as n } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { useRef as o, createContext as c, useContext as l, memo as d } from "react";
3
- const a = c(null), x = ({ children: e }) => {
3
+ const a = c(null), f = ({ children: e }) => {
4
4
  const r = o(null), s = o(null), u = (t) => {
5
5
  t.current && r && (r.current = t.current);
6
6
  }, i = (t) => {
@@ -12,15 +12,15 @@ const a = c(null), x = ({ children: e }) => {
12
12
  if (!e)
13
13
  throw new Error("useSidebarContext must be used within a SidebarProvider");
14
14
  return e;
15
- }, f = ({
15
+ }, x = ({
16
16
  children: e,
17
17
  sidebar: r
18
18
  }) => /* @__PURE__ */ n.jsxs("div", { className: "flex h-screen w-full bg-neutral-default-default", children: [
19
- /* @__PURE__ */ n.jsx(x, { children: r }),
19
+ /* @__PURE__ */ n.jsx(f, { children: r }),
20
20
  /* @__PURE__ */ n.jsx("main", { className: "w-full h-full overflow-y-auto", children: e })
21
- ] }), h = d(f);
21
+ ] }), h = d(x);
22
22
  export {
23
23
  h as L,
24
- x as S,
24
+ f as S,
25
25
  S as u
26
26
  };
@@ -1,4 +1,4 @@
1
- import { L as f } from "./LayoutGeneric-CbaoatQB.js";
1
+ import { L as f } from "./LayoutGeneric-CfWhV1ov.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/dist/Logo.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 { TicketFilled as t } from "./Icons/TicketFilled.es.js";
3
3
  const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-linear-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
4
4
  /* @__PURE__ */ e.jsx(t, { size: 28, className: "rotate-140 text-primary-medium-pressed icon-logo" }),
package/dist/Menu.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 r } from "./cn-B6yFEsav.js";
3
3
  import { AnimatePresence as n, motion as o } from "framer-motion";
4
4
  const s = ({ menuRef: t, children: a, className: i }) => /* @__PURE__ */ e.jsx("div", { ref: t, className: r("flex bg-neutral-default-default absolute bottom-10 left-24 border border-neutral-strong-default h-auto w-60 rounded-md px-2", i), children: /* @__PURE__ */ e.jsx(n, { mode: "wait", children: /* @__PURE__ */ e.jsx(
@@ -1,4 +1,4 @@
1
- import { j as p } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as p } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as $ } from "./cn-B6yFEsav.js";
3
3
  import * as n from "react";
4
4
  import ge, { memo as Re } from "react";
@@ -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 { motion as a } from "framer-motion";
3
3
  function h({
4
4
  currentPage: i = 1,
@@ -1,4 +1,4 @@
1
- import { j as o } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as o } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as L, useRef as w, useLayoutEffect as N } from "react";
3
3
  import R from "./Avatar.es.js";
4
4
  import { c as i } from "./cn-B6yFEsav.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 j } from "./cn-B6yFEsav.js";
3
3
  import T from "react";
4
4
  const M = T.forwardRef(
@@ -1,7 +1,7 @@
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 t } from "./cn-B6yFEsav.js";
3
3
  import { memo as x, forwardRef as k, useRef as g, useEffect as y } from "react";
4
- import { H as j } from "./HelperComponent-DhGU_ug-.js";
4
+ import { H as j } from "./HelperComponent-ljsn0xD6.js";
5
5
  const s = k((n, a) => {
6
6
  const r = g(null);
7
7
  y(() => {
@@ -1,11 +1,11 @@
1
- import { j as r } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as r } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import O, { useMemo as D, memo as b, useRef as M, useCallback as g, useState as L, useEffect as W } from "react";
3
- import { D as I } from "./DatePicker-D1EwMGIN.js";
4
- import { S as f } from "./Select-Bq1fVlwM.js";
5
- import { I as R } from "./Input-EkMrxcNX.js";
3
+ import { D as R } from "./DatePicker-CehTiXGa.js";
4
+ import { S as f } from "./Select-BdxmkrjB.js";
5
+ import I from "./Input.es.js";
6
6
  import _ from "./CheckBox.es.js";
7
7
  import { c as p } from "./cn-B6yFEsav.js";
8
- import { H as A } from "./HelperComponent-DhGU_ug-.js";
8
+ import { H as A } from "./HelperComponent-ljsn0xD6.js";
9
9
  import w from "./RadioButton.es.js";
10
10
  const B = [
11
11
  {
@@ -183,7 +183,7 @@ const P = ({ value: e, onChange: a, errors: s }) => {
183
183
  return /* @__PURE__ */ r.jsxs("div", { children: [
184
184
  /* @__PURE__ */ r.jsxs("div", { className: "flex items-start gap-2 w-full mb-5", children: [
185
185
  /* @__PURE__ */ r.jsx(
186
- R,
186
+ I,
187
187
  {
188
188
  type: "number",
189
189
  min: 1,
@@ -637,7 +637,7 @@ const Q = [
637
637
  return /* @__PURE__ */ r.jsxs("div", { className: "w-full flex flex-col gap-6", children: [
638
638
  /* @__PURE__ */ r.jsxs("div", { className: "flex max-w-full flex-wrap gap-4", children: [
639
639
  /* @__PURE__ */ r.jsx("div", { className: "flex gap-2 items-end w-full justify-between", children: /* @__PURE__ */ r.jsx(
640
- I,
640
+ R,
641
641
  {
642
642
  selected: d?.startDate,
643
643
  onSelect: n,
@@ -1,7 +1,7 @@
1
- import { j as J } from "./jsx-runtime-DKDX3adD.js";
1
+ import { j as J } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { memo as Ie, useState as he, useRef as _e, useEffect as ye } from "react";
3
3
  import { RecurrentDatePicker as We } from "./RecurrentDatePicker.es.js";
4
- import { C as He } from "./DatePicker-D1EwMGIN.js";
4
+ import { C as He } from "./DatePicker-CehTiXGa.js";
5
5
  var re = [
6
6
  "MO",
7
7
  "TU",
@@ -158,8 +158,6 @@ var U = function(t, e) {
158
158
  case "all":
159
159
  case "between":
160
160
  return e;
161
- case "before":
162
- case "after":
163
161
  default:
164
162
  return e.length ? e[e.length - 1] : null;
165
163
  }
@@ -0,0 +1,2 @@
1
+ export * from './exports/Scrollable'
2
+ export {}