prometeo-design-system 2.5.5 → 2.5.6

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 (51) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/{Button-Bc0LYLfg.js → Button-DsbEyjth.js} +1 -1
  3. package/dist/Button.es.js +1 -1
  4. package/dist/{CardProfile-DA-HDUpi.js → CardProfile-DV3gwvqE.js} +1 -1
  5. package/dist/CardProfile.es.js +1 -1
  6. package/dist/CheckBox.es.js +1 -1
  7. package/dist/CheckboxFormik.es.js +1 -1
  8. package/dist/DatePicker.es.js +3 -3
  9. package/dist/DialogModal.es.js +1 -1
  10. package/dist/DrawerDesktop.es.js +2 -2
  11. package/dist/DrawerMobile.es.js +88 -88
  12. package/dist/DropZone.es.js +1 -1
  13. package/dist/Header.es.js +1 -1
  14. package/dist/Icons.es.js +1 -1
  15. package/dist/Image.es.js +1 -1
  16. package/dist/{ImageGallery-BeADef_g.js → ImageGallery-DnoRTpCr.js} +2 -2
  17. package/dist/ImageGallery.es.js +1 -1
  18. package/dist/{Input-DwIAUqcc.js → Input-PNwH7rb6.js} +2 -2
  19. package/dist/Input.es.js +1 -1
  20. package/dist/InputFormik.es.js +122 -87
  21. package/dist/InputMultiple.es.js +1 -1
  22. package/dist/{LayoutGeneric-B6E-yOYJ.js → LayoutGeneric-CbaoatQB.js} +1 -1
  23. package/dist/LayoutGeneric.es.js +1 -1
  24. package/dist/Logo.es.js +1 -1
  25. package/dist/Menu.es.js +1 -1
  26. package/dist/OtpInput.es.js +1 -1
  27. package/dist/Pagination.es.js +1 -1
  28. package/dist/ProfilePictureUpload.es.js +1 -1
  29. package/dist/ProgressBar.es.js +1 -1
  30. package/dist/SegmentedButton.es.js +1 -1
  31. package/dist/{Select-C1MxM6yq.js → Select-CrTtTmXZ.js} +2 -2
  32. package/dist/Select.es.js +1 -1
  33. package/dist/SelectFormik.es.js +2 -2
  34. package/dist/SelectFormikLegacy.es.js +1 -1
  35. package/dist/SelectSearch.es.js +2 -2
  36. package/dist/Skeleton.es.js +1 -1
  37. package/dist/Spinner.es.js +1 -1
  38. package/dist/Steps.es.js +1 -1
  39. package/dist/SwipeContainer.es.js +1 -1
  40. package/dist/Switch.es.js +1 -1
  41. package/dist/TabLinks.es.js +1 -1
  42. package/dist/Table.es.js +1 -1
  43. package/dist/TextArea.es.js +1 -1
  44. package/dist/Toast.es.js +2 -2
  45. package/dist/ToastProvider.es.js +1 -1
  46. package/dist/Tooltip.es.js +1 -1
  47. package/dist/components/Drawer/DrawerMobile.d.ts +1 -1
  48. package/dist/components/InputFormik/InputFormik.d.ts +2 -1
  49. package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
  50. package/dist/prometeo-design-system.es.js +8 -8
  51. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as u } from "./cn-B6yFEsav.js";
3
- import { FastField as O, ErrorMessage as q } from "formik";
4
- import { memo as G, useState as I, useRef as H, useCallback as y, useLayoutEffect as J } from "react";
3
+ import { FastField as q, ErrorMessage as G } from "formik";
4
+ import { memo as H, useState as I, useRef as J, useCallback as y, useLayoutEffect as Q } from "react";
5
5
  import { Icons as N } from "./Icons.es.js";
6
- const Q = ({
6
+ const W = ({
7
7
  icon: l,
8
8
  iconPosition: r = "left",
9
9
  label: d,
@@ -15,20 +15,24 @@ const Q = ({
15
15
  placeholder: p,
16
16
  disabled: b = !1,
17
17
  field: t,
18
- form: z,
18
+ innerRef: z,
19
+ form: K,
19
20
  ...a
20
21
  }) => {
21
- const [o, v] = I(!1), [C, K] = I(!1), c = H(null), F = z.getFieldMeta(t.name), k = F.touched && F.error, E = t.value && t.value.toString().length > 0, x = j === "password", M = x ? C ? "text" : "password" : j, P = () => n === "static" ? p || d : p || "", R = () => x ? l ? r === "left" ? "pl-10 pr-10" : "pr-16" : "pr-10" : l ? r === "left" ? "pl-10" : "pr-10" : "", A = y(() => {
22
+ const [o, v] = I(!1), [C, M] = I(!1), c = J(null), F = K.getFieldMeta(t.name), k = F.touched && F.error, E = t.value && t.value.toString().length > 0, x = j === "password", P = x ? C ? "text" : "password" : j, R = () => n === "static" ? p || d : p || "", A = () => x ? l ? r === "left" ? "pl-10 pr-10" : "pr-16" : "pr-10" : l ? r === "left" ? "pl-10" : "pr-10" : "", D = y(() => {
22
23
  v(!0), a.onFocus?.();
23
- }, [a]), D = y((i) => {
24
- v(!1), a.onBlur?.(), t.onBlur(i);
25
- }, [t, a]), T = y(() => {
26
- K((i) => !i);
24
+ }, [a]), T = y(
25
+ (i) => {
26
+ v(!1), a.onBlur?.(), t.onBlur(i);
27
+ },
28
+ [t, a]
29
+ ), U = y(() => {
30
+ M((i) => !i);
27
31
  }, []);
28
- J(() => {
32
+ Q(() => {
29
33
  if (c.current) {
30
- const V = ((L) => {
31
- let s = L;
34
+ const L = ((O) => {
35
+ let s = O;
32
36
  for (; s && s !== document.body; ) {
33
37
  const f = window.getComputedStyle(s).backgroundColor;
34
38
  if (f && f !== "transparent" && f !== "rgba(0, 0, 0, 0)")
@@ -37,8 +41,10 @@ const Q = ({
37
41
  }
38
42
  const m = window.getComputedStyle(document.body).backgroundColor;
39
43
  return m && m !== "transparent" && m !== "rgba(0, 0, 0, 0)" ? m : "rgb(255, 255, 255)";
40
- })(c.current.parentElement);
41
- c.current.style.backgroundColor = V;
44
+ })(
45
+ c.current.parentElement
46
+ );
47
+ c.current.style.backgroundColor = L;
42
48
  }
43
49
  }, []);
44
50
  const g = {
@@ -72,7 +78,7 @@ const Q = ({
72
78
  icon: {},
73
79
  placeholder: {}
74
80
  }
75
- }, U = {
81
+ }, V = {
76
82
  none: {
77
83
  label: "left-2 "
78
84
  },
@@ -92,79 +98,108 @@ const Q = ({
92
98
  label: `top-1/2 -translate-y-1/2 scale-100 peer-focus:text-sm peer-placeholder-shown:text-base ${(o || E) && "top-0 scale-90"}`
93
99
  }
94
100
  }, h = b ? "disabled" : k ? "error" : "default";
95
- return /* @__PURE__ */ e.jsxs("div", { className: u("relative w-full bg-inherit", n === "static" && "mt-5", $), children: [
96
- /* @__PURE__ */ e.jsxs("div", { className: "relative bg-inherit", children: [
97
- /* @__PURE__ */ e.jsx(
98
- "input",
99
- {
100
- disabled: b,
101
- id: w || t.name,
102
- type: M,
103
- name: t.name,
104
- value: t.value || "",
105
- placeholder: P(),
106
- onChange: t.onChange,
107
- onFocus: A,
108
- onEmptied: a.onEmptied,
109
- onKeyDown: a.onKeyDown,
110
- onKeyUp: a.onKeyUp,
111
- onBlur: D,
112
- className: u(
113
- "w-full px-3 h-12 text-left border-[1px] rounded-lg transition-all duration-200 ease-in-out text-neutral-default-default",
114
- "bg-transparent focus:outline-none",
115
- S[n].input,
116
- g[h].input,
117
- R(),
118
- B
119
- )
120
- }
101
+ return /* @__PURE__ */ e.jsxs(
102
+ "div",
103
+ {
104
+ className: u(
105
+ "relative w-full bg-inherit",
106
+ n === "static" && "mt-5",
107
+ $
121
108
  ),
122
- /* @__PURE__ */ e.jsx(
123
- "label",
124
- {
125
- ref: c,
126
- htmlFor: w || a.name,
127
- className: u(
128
- "absolute transition-all duration-200 font-bold text-sm ease-in-out pointer-events-none bg-inherit px-1 z-10",
129
- "prometeo-fonts-label-large text-sm",
130
- U[l ? r : "none"].label,
131
- S[n].label,
132
- g[h].label
109
+ children: [
110
+ /* @__PURE__ */ e.jsxs("div", { className: "relative bg-inherit", children: [
111
+ /* @__PURE__ */ e.jsx(
112
+ "input",
113
+ {
114
+ disabled: b,
115
+ id: w || t.name,
116
+ type: P,
117
+ name: t.name,
118
+ value: t.value || "",
119
+ placeholder: R(),
120
+ onChange: t.onChange,
121
+ onFocus: D,
122
+ onEmptied: a.onEmptied,
123
+ onKeyDown: a.onKeyDown,
124
+ onKeyUp: a.onKeyUp,
125
+ onBlur: T,
126
+ className: u(
127
+ "w-full px-3 h-12 text-left border-[1px] rounded-lg transition-all duration-200 ease-in-out text-neutral-default-default",
128
+ "bg-transparent focus:outline-none",
129
+ S[n].input,
130
+ g[h].input,
131
+ A(),
132
+ B
133
+ ),
134
+ ref: z
135
+ }
133
136
  ),
134
- children: d
135
- }
136
- ),
137
- l && /* @__PURE__ */ e.jsx("div", { className: u(
138
- "absolute top-1/2 -translate-y-1/2 text-neutral-medium-default",
139
- g[h].icon,
140
- r === "left" ? "left-3" : "right-3"
141
- ), children: l }),
142
- x && /* @__PURE__ */ e.jsx(
143
- "button",
144
- {
145
- type: "button",
146
- onClick: T,
147
- className: u(
148
- "absolute top-1/2 -translate-y-1/2 p-1 text-neutral-medium-default hover:text-neutral-strong-default",
149
- "transition-colors duration-200 focus:outline-none focus:text-primary-default-default",
150
- l && r === "right" ? "right-8" : "right-3"
137
+ /* @__PURE__ */ e.jsx(
138
+ "label",
139
+ {
140
+ ref: c,
141
+ htmlFor: w || a.name,
142
+ className: u(
143
+ "absolute transition-all duration-200 font-bold text-sm ease-in-out pointer-events-none bg-inherit px-1 z-10",
144
+ "prometeo-fonts-label-large text-sm",
145
+ V[l ? r : "none"].label,
146
+ S[n].label,
147
+ g[h].label
148
+ ),
149
+ children: d
150
+ }
151
151
  ),
152
- tabIndex: -1,
153
- disabled: b,
154
- children: C ? /* @__PURE__ */ e.jsx(N.EyeVisibility, { size: 24, className: "text-neutral-default-default" }) : /* @__PURE__ */ e.jsx(N.EyeVisibilityOff, { size: 24, className: "text-neutral-default-default" })
155
- }
156
- )
157
- ] }),
158
- k && /* @__PURE__ */ e.jsx(
159
- q,
160
- {
161
- name: t.name,
162
- component: "span",
163
- className: "block text-error-default-default text-xs mt-1"
164
- }
165
- )
166
- ] });
167
- }, W = G(Q), le = (l) => /* @__PURE__ */ e.jsx(O, { name: l.name, children: ({ field: r, form: d }) => /* @__PURE__ */ e.jsx(W, { ...l, field: r, form: d }) });
152
+ l && /* @__PURE__ */ e.jsx(
153
+ "div",
154
+ {
155
+ className: u(
156
+ "absolute top-1/2 -translate-y-1/2 text-neutral-medium-default",
157
+ g[h].icon,
158
+ r === "left" ? "left-3" : "right-3"
159
+ ),
160
+ children: l
161
+ }
162
+ ),
163
+ x && /* @__PURE__ */ e.jsx(
164
+ "button",
165
+ {
166
+ type: "button",
167
+ onClick: U,
168
+ className: u(
169
+ "absolute top-1/2 -translate-y-1/2 p-1 text-neutral-medium-default hover:text-neutral-strong-default",
170
+ "transition-colors duration-200 focus:outline-none focus:text-primary-default-default",
171
+ l && r === "right" ? "right-8" : "right-3"
172
+ ),
173
+ tabIndex: -1,
174
+ disabled: b,
175
+ children: C ? /* @__PURE__ */ e.jsx(
176
+ N.EyeVisibility,
177
+ {
178
+ size: 24,
179
+ className: "text-neutral-default-default"
180
+ }
181
+ ) : /* @__PURE__ */ e.jsx(
182
+ N.EyeVisibilityOff,
183
+ {
184
+ size: 24,
185
+ className: "text-neutral-default-default"
186
+ }
187
+ )
188
+ }
189
+ )
190
+ ] }),
191
+ k && /* @__PURE__ */ e.jsx(
192
+ G,
193
+ {
194
+ name: t.name,
195
+ component: "span",
196
+ className: "block text-error-default-default text-xs mt-1"
197
+ }
198
+ )
199
+ ]
200
+ }
201
+ );
202
+ }, X = H(W), ae = (l) => /* @__PURE__ */ e.jsx(q, { name: l.name, children: ({ field: r, form: d }) => /* @__PURE__ */ e.jsx(X, { ...l, field: r, form: d }) });
168
203
  export {
169
- le as default
204
+ ae as default
170
205
  };
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as C } from "./Icons.es.js";
3
3
  import { c as d } from "./cn-B6yFEsav.js";
4
4
  import S, { useRef as M, useState as x, useCallback as T, useEffect as ee } from "react";
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useRef as o, createContext as c, useContext as l, memo as d } from "react";
3
3
  const a = c(null), x = ({ children: e }) => {
4
4
  const r = o(null), s = o(null), u = (t) => {
@@ -1,4 +1,4 @@
1
- import { L as f } from "./LayoutGeneric-B6E-yOYJ.js";
1
+ import { L as f } from "./LayoutGeneric-CbaoatQB.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-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as t } from "./Icons.es.js";
3
3
  const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-gradient-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
4
4
  /* @__PURE__ */ e.jsx(t.TicketFilled, { 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-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.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-1 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-ByW6EXIE.js";
1
+ import { j as p } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as ge } from "./Icons.es.js";
3
3
  import { c as $ } from "./cn-B6yFEsav.js";
4
4
  import * as n from "react";
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.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 n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as s } from "framer-motion";
3
3
  import { memo as T, useRef as b, useLayoutEffect as A } from "react";
4
4
  import M from "./Avatar.es.js";
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as x } from "./cn-B6yFEsav.js";
3
3
  import u from "react";
4
4
  const j = u.forwardRef(
@@ -1,4 +1,4 @@
1
- import { j as u } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as u } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as s } from "./cn-B6yFEsav.js";
3
3
  import z, { useState as M, useMemo as C, useEffect as L } from "react";
4
4
  import { motion as E } from "framer-motion";
@@ -1,11 +1,11 @@
1
- import { j as l } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as l } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as Q } from "./Icons.es.js";
3
3
  import { c as u } from "./cn-B6yFEsav.js";
4
4
  import we, { memo as R, useState as ce, useRef as V, useMemo as Z, useCallback as J, useEffect as ee, useImperativeHandle as _e } from "react";
5
5
  import Re from "./Spinner.es.js";
6
6
  import { createPortal as We } from "react-dom";
7
7
  import { u as Be } from "./useDragScroll-CHN9OMwn.js";
8
- import { u as Ke, I as Ue } from "./Input-DwIAUqcc.js";
8
+ import { u as Ke, I as Ue } from "./Input-PNwH7rb6.js";
9
9
  import Fe from "./CheckBox.es.js";
10
10
  import { Skeleton as Ne } from "./Skeleton.es.js";
11
11
  const ke = (e) => {
package/dist/Select.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as f } from "./Select-C1MxM6yq.js";
1
+ import { S as f } from "./Select-CrTtTmXZ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { j as d } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as d } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useField as y } from "formik";
3
- import { S as m } from "./Select-C1MxM6yq.js";
3
+ import { S as m } from "./Select-CrTtTmXZ.js";
4
4
  import { useRef as p, useEffect as g } from "react";
5
5
  function f(e) {
6
6
  return Array.isArray(e) && e.every(
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { Icons as g } from "./Icons.es.js";
3
3
  import { c as d } from "./cn-B6yFEsav.js";
4
4
  import { useField as $, ErrorMessage as q } from "formik";
@@ -1,5 +1,5 @@
1
- import { j as G } from "./jsx-runtime-ByW6EXIE.js";
2
- import { g as i, S as H } from "./Select-C1MxM6yq.js";
1
+ import { j as G } from "./jsx-runtime-DKDX3adD.js";
2
+ import { g as i, S as H } from "./Select-CrTtTmXZ.js";
3
3
  import { useState as w, useRef as T, useEffect as m, useMemo as Q, useCallback as X } from "react";
4
4
  function te(e) {
5
5
  const {
@@ -1,4 +1,4 @@
1
- import { j as E } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as E } from "./jsx-runtime-DKDX3adD.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 e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { ClipLoader as l, SyncLoader as m, HashLoader as p, GridLoader as x, DotLoader as j, BounceLoader as f } from "react-spinners";
3
3
  import { c as L } from "./cn-B6yFEsav.js";
4
4
  const y = ({
package/dist/Steps.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.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";
@@ -1,4 +1,4 @@
1
- import { j as o } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as o } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import { useState as d, useRef as D, useEffect as L } from "react";
4
4
  const O = ({
package/dist/Switch.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as a } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as a } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as r } from "./cn-B6yFEsav.js";
3
3
  import { memo as w, useRef as b } from "react";
4
4
  import { motion as c } from "framer-motion";
@@ -1,4 +1,4 @@
1
- import { j as n } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as n } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as x } from "framer-motion";
3
3
  import { memo as N } from "react";
4
4
  import { c as r } from "./cn-B6yFEsav.js";
package/dist/Table.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as r } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as r } from "./jsx-runtime-DKDX3adD.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,4 +1,4 @@
1
- import { j as y } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as y } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as C } from "./cn-B6yFEsav.js";
3
3
  import * as s from "react";
4
4
  function M({
package/dist/Toast.es.js CHANGED
@@ -1,9 +1,9 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import b from "react";
3
3
  import { toast as p } from "sonner";
4
4
  import { Icons as m } from "./Icons.es.js";
5
5
  import { c as s } from "./cn-B6yFEsav.js";
6
- import { B as u } from "./Button-Bc0LYLfg.js";
6
+ import { B as u } from "./Button-DsbEyjth.js";
7
7
  const x = {
8
8
  dark: {
9
9
  success: {
@@ -1,4 +1,4 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.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-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.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 { Icons as b } from "./Icons.es.js";
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  export interface DrawerMobileProps<TContext = unknown> {
3
- children?: React.ReactNode;
3
+ children?: React.ReactNode | ((context: TContext | null) => React.ReactNode);
4
4
  defaultOpen?: boolean;
5
5
  onClose?: (context: TContext | null) => void;
6
6
  snap?: string | number | null;
@@ -3,7 +3,7 @@ export type LabelVariant = "default" | "static";
3
3
  export interface IInputFormik {
4
4
  label: string;
5
5
  icon?: ReactNode;
6
- iconPosition?: 'left' | 'right';
6
+ iconPosition?: "left" | "right";
7
7
  className?: string;
8
8
  containerClassName?: string;
9
9
  id?: string;
@@ -17,6 +17,7 @@ export interface IInputFormik {
17
17
  onEmptied?: () => void;
18
18
  onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
19
19
  onKeyUp?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
20
+ innerRef?: React.Ref<HTMLInputElement>;
20
21
  }
21
22
  declare const InputFormik: (props: IInputFormik) => import("react/jsx-runtime").JSX.Element;
22
23
  export default InputFormik;