prometeo-design-system 2.3.7 → 2.3.8

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 (44) 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-BhHJmvqs.js → CardProfile-Fn44kEnM.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 +2 -2
  9. package/dist/DialogModal.es.js +51 -48
  10. package/dist/DrawerDesktop.es.js +2 -2
  11. package/dist/DrawerMobile.es.js +1 -1
  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.es.js +1 -1
  19. package/dist/InputFormik.es.js +1 -1
  20. package/dist/InputMultiple.es.js +1 -1
  21. package/dist/{LayoutGeneric-jDE96L2N.js → LayoutGeneric-p4Pll4Cm.js} +1 -1
  22. package/dist/LayoutGeneric.es.js +1 -1
  23. package/dist/Logo.es.js +1 -1
  24. package/dist/Menu.es.js +1 -1
  25. package/dist/OtpInput.es.js +1 -1
  26. package/dist/Pagination.es.js +1 -1
  27. package/dist/ProfilePictureUpload.es.js +1 -1
  28. package/dist/ProgressBar.es.js +1 -1
  29. package/dist/SegmentedButton.es.js +1 -1
  30. package/dist/Select.es.js +1 -1
  31. package/dist/SelectFormik.es.js +1 -1
  32. package/dist/SelectFormikLegacy.es.js +1 -1
  33. package/dist/Skeleton.es.js +1 -1
  34. package/dist/Spinner.es.js +1 -1
  35. package/dist/Steps.es.js +1 -1
  36. package/dist/SwipeContainer.es.js +1 -1
  37. package/dist/Switch.es.js +1 -1
  38. package/dist/TabLinks.es.js +1 -1
  39. package/dist/Table.es.js +1 -1
  40. package/dist/TextArea.es.js +1 -1
  41. package/dist/Tooltip.es.js +1 -1
  42. package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
  43. package/dist/prometeo-design-system.es.js +6 -6
  44. package/package.json +1 -1
package/dist/Avatar.es.js CHANGED
@@ -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 { c as p } from "./cn-B6yFEsav.js";
3
3
  import { motion as u } from "framer-motion";
4
4
  import { useState as f } from "react";
@@ -1,4 +1,4 @@
1
- import { j as f } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as f } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as g } from "./cn-B6yFEsav.js";
3
3
  import { clsx as B } from "clsx";
4
4
  import { useAnimationControls as E, motion as j } from "framer-motion";
package/dist/Button.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as f } from "./Button-Bc0LYLfg.js";
1
+ import { B as f } from "./Button-DsbEyjth.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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 i } from "./cn-B6yFEsav.js";
3
3
  import { motion as l, AnimatePresence as u } from "framer-motion";
4
4
  import m from "./Avatar.es.js";
@@ -1,4 +1,4 @@
1
- import { C as a } from "./CardProfile-BhHJmvqs.js";
1
+ import { C as a } from "./CardProfile-Fn44kEnM.js";
2
2
  export {
3
3
  a as CardProfile
4
4
  };
@@ -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 { Icons as h } from "./Icons.es.js";
3
3
  import { memo as x, useId as o, useRef as m } from "react";
4
4
  const n = ({ className: s, disabled: e, ...t }) => {
@@ -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 x } from "./Icons.es.js";
3
3
  import { c as r } from "./cn-B6yFEsav.js";
4
4
  import { useField as h, ErrorMessage as p } from "formik";
@@ -1,11 +1,11 @@
1
- import { j as $ } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as $ } from "./jsx-runtime-DKDX3adD.js";
2
2
  import m, { createContext as mn, useContext as hn, useCallback as q, useRef as Se, useLayoutEffect as yn, useState as he, useEffect as _e, useMemo as fe, memo as pn } from "react";
3
3
  import { InputMultiple as gn } from "./InputMultiple.es.js";
4
4
  import wn from "./Input.es.js";
5
5
  import { createPortal as bn } from "react-dom";
6
6
  import { Icons as Mt } from "./Icons.es.js";
7
7
  import { c as Be } from "./cn-B6yFEsav.js";
8
- import { B as vt } from "./Button-Bc0LYLfg.js";
8
+ import { B as vt } from "./Button-DsbEyjth.js";
9
9
  function Mn(e, t, n = "long") {
10
10
  return new Intl.DateTimeFormat("en-US", {
11
11
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
@@ -1,56 +1,59 @@
1
- import { j as o } from "./jsx-runtime-ByW6EXIE.js";
2
- import { forwardRef as p, useState as d, useImperativeHandle as f, useRef as m } from "react";
1
+ import { j as o } from "./jsx-runtime-DKDX3adD.js";
2
+ import { forwardRef as p, useState as g, useCallback as n, useImperativeHandle as m, useRef as j } from "react";
3
3
  import { c as x } from "./cn-B6yFEsav.js";
4
- const j = p(({
5
- children: e,
6
- onClose: t,
7
- className: a
8
- }, c) => {
9
- const [s, n] = d(!1), [r, i] = d(null), g = (l) => {
10
- i(l ?? null), n(!0);
11
- }, u = () => {
12
- n(!1), t?.(r), setTimeout(() => i(null), 300);
13
- };
14
- return f(c, () => ({
15
- open: g,
16
- close: u,
17
- isOpen: s,
18
- getContext: () => r
19
- })), /* @__PURE__ */ o.jsx(o.Fragment, { children: s && /* @__PURE__ */ o.jsx(
20
- "div",
21
- {
22
- className: "fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",
23
- onClick: u,
24
- children: /* @__PURE__ */ o.jsx(
25
- "div",
26
- {
27
- className: x("bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6", a),
28
- onClick: (l) => l.stopPropagation(),
29
- children: typeof e == "function" ? e(r) : e
30
- }
31
- )
32
- }
33
- ) });
34
- }), C = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: /* @__PURE__ */ o.jsx("div", { className: x("flex flex-col gap-4"), children: e }) }), D = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("h1", { className: t, children: e }), b = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: e }), v = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: e }), w = Object.assign(j, {
35
- Content: C,
36
- Header: b,
37
- Footer: v,
38
- Title: D
39
- }), R = () => {
40
- const e = m(null);
4
+ const D = p(
5
+ ({ children: e, onClose: t, className: a }, c) => {
6
+ const [s, l] = g(!1), [r, u] = g(null), f = n((i) => {
7
+ u(i ?? null), l(!0);
8
+ }, []), d = n(() => {
9
+ l(!1), t?.(r), setTimeout(() => u(null), 300);
10
+ }, [r, t]);
11
+ return m(c, () => ({
12
+ open: f,
13
+ close: d,
14
+ isOpen: s,
15
+ getContext: () => r
16
+ })), /* @__PURE__ */ o.jsx(o.Fragment, { children: s && /* @__PURE__ */ o.jsx(
17
+ "div",
18
+ {
19
+ className: "fixed inset-0 z-50 flex items-center justify-center bg-black/30 backdrop-blur-[1.5px]",
20
+ onClick: d,
21
+ children: /* @__PURE__ */ o.jsx(
22
+ "div",
23
+ {
24
+ className: x(
25
+ "bg-neutral-default-default w-3/4 h-3/4 xl:w-3/4 xl:h-10/12 rounded-lg shadow-lg border-neutral-strong-default border relative p-6",
26
+ a
27
+ ),
28
+ onClick: (i) => i.stopPropagation(),
29
+ children: typeof e == "function" ? e(r) : e
30
+ }
31
+ )
32
+ }
33
+ ) });
34
+ }
35
+ ), b = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: /* @__PURE__ */ o.jsx("div", { className: x("flex flex-col gap-4"), children: e }) }), C = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("h1", { className: t, children: e }), v = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: e }), h = ({ children: e, className: t }) => /* @__PURE__ */ o.jsx("div", { className: t, children: e }), k = Object.assign(D, {
36
+ Content: b,
37
+ Header: v,
38
+ Footer: h,
39
+ Title: C
40
+ });
41
+ k.displayName = "DialogModal";
42
+ const R = () => {
43
+ const e = j(null), t = n((l) => {
44
+ e.current?.open(l);
45
+ }, []), a = n(() => {
46
+ e.current?.close();
47
+ }, []), c = n(() => e.current?.isOpen ?? !1, []), s = n(() => e.current?.getContext() ?? null, []);
41
48
  return {
42
49
  ref: e,
43
- open: (n) => {
44
- e.current?.open(n);
45
- },
46
- close: () => {
47
- e.current?.close();
48
- },
49
- isOpen: () => e.current?.isOpen ?? !1,
50
- getContext: () => e.current?.getContext() ?? null
50
+ open: t,
51
+ close: a,
52
+ isOpen: c,
53
+ getContext: s
51
54
  };
52
55
  };
53
56
  export {
54
- w as default,
57
+ k as default,
55
58
  R as useDialogControl
56
59
  };
@@ -1,6 +1,6 @@
1
- import { j as s } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as s } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as b } from "./cn-B6yFEsav.js";
3
- import { c as y, B as h } from "./Button-Bc0LYLfg.js";
3
+ import { c as y, B as h } from "./Button-DsbEyjth.js";
4
4
  import { createPortal as g } from "react-dom";
5
5
  import { Icons as C } from "./Icons.es.js";
6
6
  import { forwardRef as k, useState as j, useRef as x, useEffect as v, useCallback as l, useImperativeHandle as D } from "react";
@@ -1,4 +1,4 @@
1
- import { j as d } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as d } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { c as T } from "./cn-B6yFEsav.js";
3
3
  import { forwardRef as q, useState as J, useRef as v, useEffect as M, useCallback as l, useMemo as B, useImperativeHandle as K } from "react";
4
4
  import { createPortal as Q } from "react-dom";
@@ -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 i } from "./cn-B6yFEsav.js";
3
3
  import R, { useCallback as w } from "react";
4
4
  import { useDropzone as z } from "react-dropzone";
package/dist/Header.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 x } from "./cn-B6yFEsav.js";
3
3
  import { motion as m } from "framer-motion";
4
4
  import { memo as i } from "react";
package/dist/Icons.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as h } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as h } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { memo as v } from "react";
3
3
  const l = (t) => v(t), w = l(({
4
4
  size: t = 24,
package/dist/Image.es.js CHANGED
@@ -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 { memo as x, useState as E, useRef as R, useCallback as N, useEffect as b } from "react";
3
3
  import M from "./Spinner.es.js";
4
4
  import { c as d } from "./cn-B6yFEsav.js";
@@ -1,8 +1,8 @@
1
- import { j as t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import ee, { memo as D, forwardRef as L, useRef as v, useEffect as te, useCallback as i, useState as R, useImperativeHandle as ne } from "react";
3
3
  import { c as X } from "./cn-B6yFEsav.js";
4
4
  import { u as re } from "./useDragScroll-CHN9OMwn.js";
5
- import { B as S } from "./Button-Bc0LYLfg.js";
5
+ import { B as S } from "./Button-DsbEyjth.js";
6
6
  import { Icons as M } from "./Icons.es.js";
7
7
  const O = D(L(({ images: n, className: c }, r) => {
8
8
  const { ref: d, bind: a } = re({
@@ -1,4 +1,4 @@
1
- import { I as p } from "./ImageGallery-BeADef_g.js";
1
+ import { I as p } from "./ImageGallery-DnoRTpCr.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,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 J } from "./Icons.es.js";
3
3
  import { c as e } from "./cn-B6yFEsav.js";
4
4
  import { memo as xe, useState as H, useRef as K, useCallback as me, useEffect as L, useLayoutEffect as ge } from "react";
@@ -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 u } from "./cn-B6yFEsav.js";
3
3
  import { FastField as O, ErrorMessage as q } from "formik";
4
4
  import { memo as G, useState as I, useRef as H, useCallback as y, useLayoutEffect as J } from "react";
@@ -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 t } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as t } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useRef as a, createContext as i, useContext as u, memo as c } from "react";
3
3
  const o = i(null), l = ({ children: e }) => {
4
4
  const r = a(null), s = (n) => {
@@ -1,4 +1,4 @@
1
- import { L as f } from "./LayoutGeneric-jDE96L2N.js";
1
+ import { L as f } from "./LayoutGeneric-p4Pll4Cm.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 ve } from "./Icons.es.js";
3
3
  import { c as L } 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 e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as i, AnimatePresence as E } from "framer-motion";
3
3
  import { useRef as v, useState as R, useLayoutEffect as A } from "react";
4
4
  import H 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 d } 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";
package/dist/Select.es.js CHANGED
@@ -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 k } from "./Icons.es.js";
3
3
  import { c as a } from "./cn-B6yFEsav.js";
4
4
  import ce, { useRef as F, useLayoutEffect as we, memo as z, useState as ie, useMemo as U, useCallback as P, useEffect as Z } from "react";
@@ -1,4 +1,4 @@
1
- import { j as m } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as m } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { useField as s } from "formik";
3
3
  import i from "./Select.es.js";
4
4
  const p = (e) => {
@@ -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,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 a } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as a } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { motion as h } from "framer-motion";
3
3
  import { memo as d } from "react";
4
4
  import { c as i } 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({
@@ -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,5 +1,5 @@
1
- import ee from "react";
2
- var v = { exports: {} }, _ = {};
1
+ import K from "react";
2
+ var v = { exports: {} }, m = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.js
@@ -9,29 +9,29 @@ var v = { exports: {} }, _ = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var F;
13
- function re() {
14
- if (F) return _;
15
- F = 1;
16
- var l = Symbol.for("react.transitional.element"), T = Symbol.for("react.fragment");
17
- function f(d, o, s) {
18
- var m = null;
19
- if (s !== void 0 && (m = "" + s), o.key !== void 0 && (m = "" + o.key), "key" in o) {
12
+ var I;
13
+ function ee() {
14
+ if (I) return m;
15
+ I = 1;
16
+ var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
17
+ function c(i, o, s) {
18
+ var f = null;
19
+ if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
20
20
  s = {};
21
- for (var E in o)
22
- E !== "key" && (s[E] = o[E]);
21
+ for (var d in o)
22
+ d !== "key" && (s[d] = o[d]);
23
23
  } else s = o;
24
24
  return o = s.ref, {
25
25
  $$typeof: l,
26
- type: d,
27
- key: m,
26
+ type: i,
27
+ key: f,
28
28
  ref: o !== void 0 ? o : null,
29
29
  props: s
30
30
  };
31
31
  }
32
- return _.Fragment = T, _.jsx = f, _.jsxs = f, _;
32
+ return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
33
33
  }
34
- var R = {};
34
+ var _ = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -41,44 +41,44 @@ var R = {};
41
41
  * This source code is licensed under the MIT license found in the
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
- var D;
45
- function te() {
46
- return D || (D = 1, process.env.NODE_ENV !== "production" && (function() {
44
+ var $;
45
+ function re() {
46
+ return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
47
47
  function l(e) {
48
48
  if (e == null) return null;
49
49
  if (typeof e == "function")
50
- return e.$$typeof === Z ? null : e.displayName || e.name || null;
50
+ return e.$$typeof === H ? null : e.displayName || e.name || null;
51
51
  if (typeof e == "string") return e;
52
52
  switch (e) {
53
53
  case p:
54
54
  return "Fragment";
55
- case J:
56
- return "Profiler";
57
55
  case U:
56
+ return "Profiler";
57
+ case W:
58
58
  return "StrictMode";
59
- case G:
59
+ case z:
60
60
  return "Suspense";
61
- case X:
61
+ case G:
62
62
  return "SuspenseList";
63
- case H:
63
+ case B:
64
64
  return "Activity";
65
65
  }
66
66
  if (typeof e == "object")
67
67
  switch (typeof e.tag == "number" && console.error(
68
68
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
69
  ), e.$$typeof) {
70
- case W:
70
+ case M:
71
71
  return "Portal";
72
- case z:
73
- return (e.displayName || "Context") + ".Provider";
74
- case q:
75
- return (e._context.displayName || "Context") + ".Consumer";
76
72
  case V:
73
+ return e.displayName || "Context";
74
+ case J:
75
+ return (e._context.displayName || "Context") + ".Consumer";
76
+ case q:
77
77
  var r = e.render;
78
78
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
- case B:
79
+ case X:
80
80
  return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
81
- case g:
81
+ case T:
82
82
  r = e._payload, e = e._init;
83
83
  try {
84
84
  return l(e(r));
@@ -87,10 +87,10 @@ function te() {
87
87
  }
88
88
  return null;
89
89
  }
90
- function T(e) {
90
+ function b(e) {
91
91
  return "" + e;
92
92
  }
93
- function f(e) {
93
+ function c(e) {
94
94
  try {
95
95
  var r = !1;
96
96
  } catch {
@@ -103,12 +103,12 @@ function te() {
103
103
  r,
104
104
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
105
105
  n
106
- ), T(e);
106
+ ), b(e);
107
107
  }
108
108
  }
109
- function d(e) {
109
+ function i(e) {
110
110
  if (e === p) return "<>";
111
- if (typeof e == "object" && e !== null && e.$$typeof === g)
111
+ if (typeof e == "object" && e !== null && e.$$typeof === T)
112
112
  return "<...>";
113
113
  try {
114
114
  var r = l(e);
@@ -124,16 +124,16 @@ function te() {
124
124
  function s() {
125
125
  return Error("react-stack-top-frame");
126
126
  }
127
- function m(e) {
128
- if (h.call(e, "key")) {
127
+ function f(e) {
128
+ if (x.call(e, "key")) {
129
129
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
130
130
  if (r && r.isReactWarning) return !1;
131
131
  }
132
132
  return e.key !== void 0;
133
133
  }
134
- function E(e, r) {
134
+ function d(e, r) {
135
135
  function t() {
136
- y || (y = !0, console.error(
136
+ g || (g = !0, console.error(
137
137
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
138
138
  r
139
139
  ));
@@ -143,22 +143,23 @@ function te() {
143
143
  configurable: !0
144
144
  });
145
145
  }
146
- function L() {
146
+ function D() {
147
147
  var e = l(this.type);
148
- return N[e] || (N[e] = !0, console.error(
148
+ return h[e] || (h[e] = !0, console.error(
149
149
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
150
150
  )), e = this.props.ref, e !== void 0 ? e : null;
151
151
  }
152
- function M(e, r, t, n, c, u, A, S) {
153
- return t = u.ref, e = {
154
- $$typeof: x,
152
+ function L(e, r, t, n, R, A) {
153
+ var a = t.ref;
154
+ return e = {
155
+ $$typeof: j,
155
156
  type: e,
156
157
  key: r,
157
- props: u,
158
- _owner: c
159
- }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
158
+ props: t,
159
+ _owner: n
160
+ }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
160
161
  enumerable: !1,
161
- get: L
162
+ get: D
162
163
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
163
164
  configurable: !1,
164
165
  enumerable: !1,
@@ -173,19 +174,19 @@ function te() {
173
174
  configurable: !1,
174
175
  enumerable: !1,
175
176
  writable: !0,
176
- value: A
177
+ value: R
177
178
  }), Object.defineProperty(e, "_debugTask", {
178
179
  configurable: !1,
179
180
  enumerable: !1,
180
181
  writable: !0,
181
- value: S
182
+ value: A
182
183
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
183
184
  }
184
- function j(e, r, t, n, c, u, A, S) {
185
+ function P(e, r, t, n, R, A) {
185
186
  var a = r.children;
186
187
  if (a !== void 0)
187
188
  if (n)
188
- if (Q(a)) {
189
+ if (Z(a)) {
189
190
  for (n = 0; n < a.length; n++)
190
191
  w(a[n]);
191
192
  Object.freeze && Object.freeze(a);
@@ -194,12 +195,12 @@ function te() {
194
195
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
195
196
  );
196
197
  else w(a);
197
- if (h.call(r, "key")) {
198
+ if (x.call(r, "key")) {
198
199
  a = l(e);
199
- var i = Object.keys(r).filter(function(K) {
200
- return K !== "key";
200
+ var u = Object.keys(r).filter(function(Q) {
201
+ return Q !== "key";
201
202
  });
202
- n = 0 < i.length ? "{key: someKey, " + i.join(": ..., ") + ": ...}" : "{key: someKey}", I[a + n] || (i = 0 < i.length ? "{" + i.join(": ..., ") + ": ...}" : "{}", console.error(
203
+ n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
203
204
  `A props object containing a "key" prop is being spread into JSX:
204
205
  let props = %s;
205
206
  <%s {...props} />
@@ -208,76 +209,73 @@ React keys must be passed directly to JSX without using spread:
208
209
  <%s key={someKey} {...props} />`,
209
210
  n,
210
211
  a,
211
- i,
212
+ u,
212
213
  a
213
- ), I[a + n] = !0);
214
+ ), Y[a + n] = !0);
214
215
  }
215
- if (a = null, t !== void 0 && (f(t), a = "" + t), m(r) && (f(r.key), a = "" + r.key), "key" in r) {
216
+ if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
216
217
  t = {};
217
- for (var P in r)
218
- P !== "key" && (t[P] = r[P]);
218
+ for (var S in r)
219
+ S !== "key" && (t[S] = r[S]);
219
220
  } else t = r;
220
- return a && E(
221
+ return a && d(
221
222
  t,
222
223
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
223
- ), M(
224
+ ), L(
224
225
  e,
225
226
  a,
226
- u,
227
- c,
228
- o(),
229
227
  t,
230
- A,
231
- S
228
+ o(),
229
+ R,
230
+ A
232
231
  );
233
232
  }
234
233
  function w(e) {
235
- typeof e == "object" && e !== null && e.$$typeof === x && e._store && (e._store.validated = 1);
234
+ y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
235
+ }
236
+ function y(e) {
237
+ return typeof e == "object" && e !== null && e.$$typeof === j;
236
238
  }
237
- var b = ee, x = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), z = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), k = b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, h = Object.prototype.hasOwnProperty, Q = Array.isArray, O = console.createTask ? console.createTask : function() {
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() {
238
240
  return null;
239
241
  };
240
- b = {
242
+ E = {
241
243
  react_stack_bottom_frame: function(e) {
242
244
  return e();
243
245
  }
244
246
  };
245
- var y, N = {}, C = b.react_stack_bottom_frame.bind(
246
- b,
247
+ var g, h = {}, N = E.react_stack_bottom_frame.bind(
248
+ E,
247
249
  s
248
- )(), Y = O(d(s)), I = {};
249
- R.Fragment = p, R.jsx = function(e, r, t, n, c) {
250
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
251
- return j(
250
+ )(), C = O(i(s)), Y = {};
251
+ _.Fragment = p, _.jsx = function(e, r, t) {
252
+ var n = 1e4 > k.recentlyCreatedOwnerStacks++;
253
+ return P(
252
254
  e,
253
255
  r,
254
256
  t,
255
257
  !1,
256
- n,
257
- c,
258
- u ? Error("react-stack-top-frame") : C,
259
- u ? O(d(e)) : Y
258
+ n ? Error("react-stack-top-frame") : N,
259
+ n ? O(i(e)) : C
260
260
  );
261
- }, R.jsxs = function(e, r, t, n, c) {
262
- var u = 1e4 > k.recentlyCreatedOwnerStacks++;
263
- return j(
261
+ }, _.jsxs = function(e, r, t) {
262
+ var n = 1e4 > k.recentlyCreatedOwnerStacks++;
263
+ return P(
264
264
  e,
265
265
  r,
266
266
  t,
267
267
  !0,
268
- n,
269
- c,
270
- u ? Error("react-stack-top-frame") : C,
271
- u ? O(d(e)) : Y
268
+ n ? Error("react-stack-top-frame") : N,
269
+ n ? O(i(e)) : C
272
270
  );
273
271
  };
274
- })()), R;
272
+ })()), _;
275
273
  }
276
- var $;
277
- function ne() {
278
- return $ || ($ = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ re() : v.exports = /* @__PURE__ */ te()), v.exports;
274
+ var F;
275
+ function te() {
276
+ return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ ee() : v.exports = /* @__PURE__ */ re()), v.exports;
279
277
  }
280
- var oe = /* @__PURE__ */ ne();
278
+ var ae = /* @__PURE__ */ te();
281
279
  export {
282
- oe as j
280
+ ae as j
283
281
  };
@@ -1,6 +1,6 @@
1
1
  import { default as Se } from "./Avatar.es.js";
2
- import { B as Ie } from "./Button-Bc0LYLfg.js";
3
- import { C as Re, a as Le } from "./CardProfile-BhHJmvqs.js";
2
+ import { B as Ie } from "./Button-DsbEyjth.js";
3
+ import { C as Re, a as Le } from "./CardProfile-Fn44kEnM.js";
4
4
  import { default as Pe } from "./CheckBox.es.js";
5
5
  import { default as Te } from "./CheckboxFormik.es.js";
6
6
  import { default as De, useDialogControl as Ee } from "./DialogModal.es.js";
@@ -29,11 +29,11 @@ import { default as Dt } from "./TextArea.es.js";
29
29
  import { default as Ot } from "./Tooltip.es.js";
30
30
  import { Skeleton as Wt } from "./Skeleton.es.js";
31
31
  import { SegmentedButton as Ft } from "./SegmentedButton.es.js";
32
- import { u as S } from "./LayoutGeneric-jDE96L2N.js";
33
- import { L as Ut, S as Gt } from "./LayoutGeneric-jDE96L2N.js";
34
- import { I as _t } from "./ImageGallery-BeADef_g.js";
32
+ import { u as S } from "./LayoutGeneric-p4Pll4Cm.js";
33
+ import { L as Ut, S as Gt } from "./LayoutGeneric-p4Pll4Cm.js";
34
+ import { I as _t } from "./ImageGallery-DnoRTpCr.js";
35
35
  import { default as Zt } from "./Image.es.js";
36
- import { j as a } from "./jsx-runtime-ByW6EXIE.js";
36
+ import { j as a } from "./jsx-runtime-DKDX3adD.js";
37
37
  import { c as u } from "./cn-B6yFEsav.js";
38
38
  import P, { useRef as g, useState as y, useLayoutEffect as q, createContext as T, useContext as z, useEffect as N, forwardRef as k, useCallback as D } from "react";
39
39
  import { useGSAP as I } from "@gsap/react";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prometeo-design-system",
3
3
  "private": false,
4
- "version": "2.3.7",
4
+ "version": "2.3.8",
5
5
  "type": "module",
6
6
  "description": "design kit system",
7
7
  "main": "dist/prometeo-design-system.umd.js",