prometeo-design-system 3.0.2 → 3.0.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 (60) hide show
  1. package/dist/Avatar.es.js +1 -1
  2. package/dist/Button.es.js +1 -1
  3. package/dist/{CardProfile-BB-IP1MR.js → CardProfile-DUBuThnz.js} +13 -13
  4. package/dist/CardProfile.es.js +1 -1
  5. package/dist/CheckBox.es.js +5 -5
  6. package/dist/DatePicker-CzpFYO6L.js +3568 -0
  7. package/dist/DatePicker.es.js +1 -1
  8. package/dist/DialogModal.es.js +1 -1
  9. package/dist/DrawerDesktop.es.js +2 -2
  10. package/dist/DrawerMobile.es.js +1 -1
  11. package/dist/DropZone.es.js +6 -6
  12. package/dist/FAButton.es.js +2 -2
  13. package/dist/Header.es.js +1 -1
  14. package/dist/{HelperComponent-D_Cqdf1J.js → HelperComponent-E_C-E8Iu.js} +8 -8
  15. package/dist/Icons/Home.d.ts +2 -0
  16. package/dist/Icons/Home.es.js +7 -0
  17. package/dist/Icons-BJgYCS_W.js +979 -0
  18. package/dist/Icons.es.js +5 -976
  19. package/dist/Image.es.js +1 -1
  20. package/dist/{ImageGallery-CjaJ0UCN.js → ImageGallery-DqUwjAKn.js} +35 -35
  21. package/dist/ImageGallery.es.js +1 -1
  22. package/dist/{Input-CLsH2Ea0.js → Input-ZXkhyFlL.js} +3 -3
  23. package/dist/Input.es.js +1 -1
  24. package/dist/InputMultiple.es.js +35 -35
  25. package/dist/{LayoutGeneric-B6E-yOYJ.js → LayoutGeneric-CbaoatQB.js} +1 -1
  26. package/dist/LayoutGeneric.es.js +1 -1
  27. package/dist/Logo.es.js +2 -2
  28. package/dist/Menu.es.js +1 -1
  29. package/dist/OtpInput.es.js +44 -44
  30. package/dist/Pagination.es.js +1 -1
  31. package/dist/ProfilePictureUpload.es.js +1 -1
  32. package/dist/ProgressBar.es.js +1 -1
  33. package/dist/RadioButton.es.js +2 -2
  34. package/dist/RecurrentDatePicker.es.js +5 -5
  35. package/dist/RecurrentDatePickerRRule.es.js +2 -2
  36. package/dist/SegmentedButton.es.js +1 -1
  37. package/dist/{Select-Co4rzd96.js → Select-DgUVs2c6.js} +46 -46
  38. package/dist/Select.es.js +1 -1
  39. package/dist/SelectSearch.es.js +2 -2
  40. package/dist/Skeleton.es.js +1 -1
  41. package/dist/Spinner.es.js +1 -1
  42. package/dist/Steps.es.js +2 -2
  43. package/dist/SwipeContainer.es.js +1 -1
  44. package/dist/Switch.es.js +1 -1
  45. package/dist/TabLinks.es.js +1 -1
  46. package/dist/Table.es.js +1 -1
  47. package/dist/TextArea.es.js +1 -1
  48. package/dist/Toast.es.js +23 -23
  49. package/dist/ToastProvider.es.js +1 -1
  50. package/dist/Tooltip.es.js +2 -2
  51. package/dist/exports/Icons.d.ts +4 -2
  52. package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
  53. package/dist/prometeo-design-system.es.js +48 -48
  54. package/dist/styles.css +1 -1
  55. package/package.json +298 -294
  56. package/src/styles/app.css +1 -1
  57. package/src/styles/base.css +1332 -1332
  58. package/src/styles/fonts.css +45 -45
  59. package/src/styles/palette.css +83 -83
  60. package/dist/DatePicker-odNBd49H.js +0 -3628
@@ -1,4 +1,4 @@
1
- import { D as r, D as t } from "./DatePicker-odNBd49H.js";
1
+ import { D as r, D as t } from "./DatePicker-CzpFYO6L.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as default
@@ -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 { forwardRef as h, memo as s, useState as D, useRef as p, useCallback as n, useImperativeHandle as R } from "react";
3
3
  import { c as j } from "./cn-B6yFEsav.js";
4
4
  const C = h(
@@ -1,9 +1,9 @@
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 k } from "./cn-B6yFEsav.js";
3
3
  import { c as O } from "./index-BOQuZ0gG.js";
4
4
  import { createPortal as T } from "react-dom";
5
5
  import { forwardRef as I, useRef as m, useState as R, useEffect as l, useCallback as w, useImperativeHandle as V } from "react";
6
- import { Close as P } from "./Icons.es.js";
6
+ import { a as P } from "./Icons-BJgYCS_W.js";
7
7
  import B from "./Button.es.js";
8
8
  const L = I((t, i) => {
9
9
  const s = m(null), [e, u] = R(t.defaultOpen || !1), [r, o] = R(null), d = m(t.onClose), a = m(r), p = m(/* @__PURE__ */ new Set()), {
@@ -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 { c as _ } from "./cn-B6yFEsav.js";
3
3
  import { forwardRef as V, useState as $, useRef as v, useEffect as y, useCallback as c, useMemo as Q, useImperativeHandle as X } from "react";
4
4
  import { createPortal as Z } from "react-dom";
@@ -1,8 +1,8 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
2
- import { Error as P, Upload as R } from "./Icons.es.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
+ import { E as P, o as R } from "./Icons-BJgYCS_W.js";
3
3
  import { c as i } from "./cn-B6yFEsav.js";
4
- import z, { useCallback as w } from "react";
5
- import { useDropzone as E } from "react-dropzone";
4
+ import z, { useCallback as E } from "react";
5
+ import { useDropzone as w } from "react-dropzone";
6
6
  const q = z.forwardRef(
7
7
  ({
8
8
  onFilesAccepted: d,
@@ -17,7 +17,7 @@ const q = z.forwardRef(
17
17
  maxFiles: g = 1,
18
18
  ...j
19
19
  }, N) => {
20
- const b = w((s, o) => {
20
+ const b = E((s, o) => {
21
21
  s.length > 0 && d?.(s), o.length > 0 && m?.(o);
22
22
  }, [d, m]), {
23
23
  getRootProps: y,
@@ -25,7 +25,7 @@ const q = z.forwardRef(
25
25
  isDragActive: a,
26
26
  isDragReject: r,
27
27
  fileRejections: n
28
- } = E({
28
+ } = w({
29
29
  onDrop: b,
30
30
  accept: v,
31
31
  maxFiles: g,
@@ -1,7 +1,7 @@
1
- import { j as c } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as c } from "./jsx-runtime-DKDX3adD.js";
2
2
  import u, { memo as n } from "react";
3
3
  import { c as f } from "./cn-B6yFEsav.js";
4
- import { Add as v } from "./Icons.es.js";
4
+ import { m as v } from "./Icons-BJgYCS_W.js";
5
5
  import { createPortal as m } from "react-dom";
6
6
  import { c as b } from "./index-BOQuZ0gG.js";
7
7
  const h = {
package/dist/Header.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 l } from "./cn-B6yFEsav.js";
3
3
  import { motion as n } from "framer-motion";
4
4
  import { memo as c } from "react";
@@ -1,8 +1,8 @@
1
- import { j as e } from "./jsx-runtime-ByW6EXIE.js";
1
+ import { j as e } from "./jsx-runtime-DKDX3adD.js";
2
2
  import { memo as i } from "react";
3
- import { c as r } from "./cn-B6yFEsav.js";
4
- import { Check as o, Error as n, Info as d } from "./Icons.es.js";
5
- const a = (s) => {
3
+ import { c as a } from "./cn-B6yFEsav.js";
4
+ import { C as o, E as n, I as d } from "./Icons-BJgYCS_W.js";
5
+ const r = (s) => {
6
6
  const { variant: t, className: m } = s, l = {
7
7
  default: "text-neutral-medium-default pt-[1px]",
8
8
  error: "text-error-medium-default pt-[1px]",
@@ -12,13 +12,13 @@ const a = (s) => {
12
12
  error: /* @__PURE__ */ e.jsx(n, { size: 16, className: "text-error-medium-default" }),
13
13
  success: /* @__PURE__ */ e.jsx(o, { size: 16, className: "text-success-medium-default" })
14
14
  };
15
- return /* @__PURE__ */ e.jsx("div", { ref: s.ref, className: r("pl-3 mt-1", m), children: typeof s.children == "string" ? /* @__PURE__ */ e.jsxs("div", { className: "flex gap-0.5 items-start", children: [
15
+ return /* @__PURE__ */ e.jsx("div", { ref: s.ref, className: a("pl-3 mt-1", m), children: typeof s.children == "string" ? /* @__PURE__ */ e.jsxs("div", { className: "flex gap-0.5 items-start", children: [
16
16
  c[t],
17
- /* @__PURE__ */ e.jsx("p", { className: r(" prometeo-fonts-body-small", l[t]), children: s.children })
17
+ /* @__PURE__ */ e.jsx("p", { className: a(" prometeo-fonts-body-small", l[t]), children: s.children })
18
18
  ] }) : s.children });
19
19
  };
20
- a.displayName = "HelperText";
21
- const j = i(a);
20
+ r.displayName = "HelperText";
21
+ const j = i(r);
22
22
  export {
23
23
  j as H
24
24
  };
@@ -0,0 +1,2 @@
1
+ export * from '../exports/Icons'
2
+ export {}
@@ -0,0 +1,7 @@
1
+ import { B as s, e, H as r, L as H } from "../Icons-BJgYCS_W.js";
2
+ export {
3
+ s as Boards,
4
+ e as Help,
5
+ r as Home,
6
+ H as Logout
7
+ };