prometeo-design-system 7.2.5 → 7.2.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.
- package/dist/AttachInput.es.js +1 -1
- package/dist/DialogModal.es.js +2 -2
- package/dist/{HelperComponent-BFzIO-0g.js → HelperComponent-DaFtt5zg.js} +5 -5
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +1 -1
- package/dist/Menu.es.js +332 -327
- package/dist/Modal.es.js +2 -2
- package/dist/RadioButton.es.js +1 -1
- package/dist/RecurrentDatePicker.es.js +2 -2
- package/dist/Select-BwLe1K7c.js +1496 -0
- package/dist/Select.es.js +1 -1
- package/dist/SelectLegacy.es.js +1 -1
- package/dist/SelectSearch.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/assets/MessageCardImage.png +0 -0
- package/dist/components/Cards/Message/MessageCard.d.ts +20 -0
- package/dist/components/Cards/Message/index.d.ts +3 -0
- package/dist/components/Menu/Menu.d.ts +1 -0
- package/dist/components/Menu/MenuFloating.d.ts +1 -0
- package/dist/components/MenuList/MenuListAccordionContext.d.ts +2 -0
- package/dist/components/MenuList/MenuListGroup.d.ts +6 -0
- package/dist/components/Select/SelectDropdown.d.ts +2 -1
- package/dist/components/Select/types.d.ts +6 -0
- package/dist/hooks/useFloatingPosition.d.ts +10 -1
- package/dist/prometeo-design-system.es.js +4 -4
- package/dist/styles.css +1 -1
- package/dist/{useModalControl-D5oehVFf.js → useModalControl-Bmu_6wf8.js} +16 -16
- package/dist/useModalControl.css +1 -1
- package/package.json +1 -1
- package/dist/Select-CqnQ5CMx.js +0 -1472
package/dist/AttachInput.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { c as s } from "./cn-B6yFEsav.js";
|
|
|
3
3
|
import { memo as T, forwardRef as H, useCallback as P } from "react";
|
|
4
4
|
import { useDropzone as E } from "react-dropzone";
|
|
5
5
|
import G from "./PlainTooltip.es.js";
|
|
6
|
-
import { H as _ } from "./HelperComponent-
|
|
6
|
+
import { H as _ } from "./HelperComponent-DaFtt5zg.js";
|
|
7
7
|
import { c as i } from "./index-BOQuZ0gG.js";
|
|
8
8
|
import { UploadCloud as q } from "./Icons/UploadCloud.es.js";
|
|
9
9
|
import { Info as K } from "./Icons/Info.es.js";
|
package/dist/DialogModal.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as o, a as t } from "./useModalControl-
|
|
2
|
-
import { D as u } from "./useModalControl-
|
|
1
|
+
import { u as o, a as t } from "./useModalControl-Bmu_6wf8.js";
|
|
2
|
+
import { D as u } from "./useModalControl-Bmu_6wf8.js";
|
|
3
3
|
const s = o, e = t;
|
|
4
4
|
export {
|
|
5
5
|
u as default,
|
|
@@ -4,8 +4,8 @@ import { c as n } from "./index-BOQuZ0gG.js";
|
|
|
4
4
|
import { memo as d } from "react";
|
|
5
5
|
import { CheckCircle as c } from "./Icons/CheckCircle.es.js";
|
|
6
6
|
import { Error as o } from "./Icons/Error.es.js";
|
|
7
|
-
import { Info as
|
|
8
|
-
const
|
|
7
|
+
import { Info as u } from "./Icons/Info.es.js";
|
|
8
|
+
const f = n("truncate", {
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
11
11
|
default: "text-neutral-secondary-default",
|
|
@@ -21,7 +21,7 @@ const u = n("", {
|
|
|
21
21
|
variant: "default",
|
|
22
22
|
disabled: !1
|
|
23
23
|
}
|
|
24
|
-
}), m = n("min-h-4", {
|
|
24
|
+
}), m = n("min-h-4 shrink-0", {
|
|
25
25
|
variants: {
|
|
26
26
|
variant: {
|
|
27
27
|
default: "",
|
|
@@ -47,7 +47,7 @@ const u = n("", {
|
|
|
47
47
|
}
|
|
48
48
|
}), b = (e, s) => {
|
|
49
49
|
const a = {
|
|
50
|
-
default:
|
|
50
|
+
default: u,
|
|
51
51
|
error: o,
|
|
52
52
|
success: c
|
|
53
53
|
}[e];
|
|
@@ -56,7 +56,7 @@ const u = n("", {
|
|
|
56
56
|
const { variant: s, className: l, disabled: a } = e;
|
|
57
57
|
return /* @__PURE__ */ t.jsxs("div", { ref: e.ref, className: r("flex gap-0.5 px-3 items-center prometeo-fonts-body-small", a && v, l), children: [
|
|
58
58
|
e.children && b(s, a ?? !1),
|
|
59
|
-
typeof e.children == "string" ? /* @__PURE__ */ t.jsx("p", { className: r(" prometeo-fonts-body-small",
|
|
59
|
+
typeof e.children == "string" ? /* @__PURE__ */ t.jsx("p", { title: e.children, className: r(" prometeo-fonts-body-small", f({ variant: s, disabled: a })), children: e.children }) : e.children
|
|
60
60
|
] });
|
|
61
61
|
};
|
|
62
62
|
i.displayName = "HelperText";
|
package/dist/Input.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { i as re } from "./iconUtils-rTOfKDxE.js";
|
|
|
4
4
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
5
5
|
import { C as ie } from "./CardBackground-D5SgTU1i.js";
|
|
6
6
|
import oe from "./IconButton.es.js";
|
|
7
|
-
import { H as le } from "./HelperComponent-
|
|
7
|
+
import { H as le } from "./HelperComponent-DaFtt5zg.js";
|
|
8
8
|
import { c } from "./index-BOQuZ0gG.js";
|
|
9
9
|
import { Close as de } from "./Icons/Close.es.js";
|
|
10
10
|
const ce = process.env.NODE_ENV !== "production", P = /* @__PURE__ */ new Set();
|
package/dist/InputMultiple.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as r } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
2
|
import { c as i } from "./cn-B6yFEsav.js";
|
|
3
3
|
import $, { useRef as S, useState as w, useCallback as se, useEffect as ae } from "react";
|
|
4
|
-
import { H as U } from "./HelperComponent-
|
|
4
|
+
import { H as U } from "./HelperComponent-DaFtt5zg.js";
|
|
5
5
|
import { Close as le } from "./Icons/Close.es.js";
|
|
6
6
|
import { Info as ue } from "./Icons/Info.es.js";
|
|
7
7
|
const de = ({ label: O, name: q, onChange: m, value: s, icon: P, valueSeparator: j = ",", variant: N = "default", placeholder: A, itemClassName: z, itemIcon: I, helperText: h, errorText: x, disabled: u, onClick: D, className: G, readonly: p, onValueDelete: J, tabIndex: L, renderItem: R, ...Q }) => {
|