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.
- package/dist/Avatar.es.js +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/{CardProfile-BB-IP1MR.js → CardProfile-DUBuThnz.js} +13 -13
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +5 -5
- package/dist/DatePicker-CzpFYO6L.js +3568 -0
- package/dist/DatePicker.es.js +1 -1
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +2 -2
- package/dist/DrawerMobile.es.js +1 -1
- package/dist/DropZone.es.js +6 -6
- package/dist/FAButton.es.js +2 -2
- package/dist/Header.es.js +1 -1
- package/dist/{HelperComponent-D_Cqdf1J.js → HelperComponent-E_C-E8Iu.js} +8 -8
- package/dist/Icons/Home.d.ts +2 -0
- package/dist/Icons/Home.es.js +7 -0
- package/dist/Icons-BJgYCS_W.js +979 -0
- package/dist/Icons.es.js +5 -976
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-CjaJ0UCN.js → ImageGallery-DqUwjAKn.js} +35 -35
- package/dist/ImageGallery.es.js +1 -1
- package/dist/{Input-CLsH2Ea0.js → Input-ZXkhyFlL.js} +3 -3
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +35 -35
- package/dist/{LayoutGeneric-B6E-yOYJ.js → LayoutGeneric-CbaoatQB.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +2 -2
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +44 -44
- package/dist/Pagination.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/RadioButton.es.js +2 -2
- package/dist/RecurrentDatePicker.es.js +5 -5
- package/dist/RecurrentDatePickerRRule.es.js +2 -2
- package/dist/SegmentedButton.es.js +1 -1
- package/dist/{Select-Co4rzd96.js → Select-DgUVs2c6.js} +46 -46
- package/dist/Select.es.js +1 -1
- package/dist/SelectSearch.es.js +2 -2
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +2 -2
- package/dist/SwipeContainer.es.js +1 -1
- package/dist/Switch.es.js +1 -1
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/Toast.es.js +23 -23
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +2 -2
- package/dist/exports/Icons.d.ts +4 -2
- package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
- package/dist/prometeo-design-system.es.js +48 -48
- package/dist/styles.css +1 -1
- package/package.json +298 -294
- package/src/styles/app.css +1 -1
- package/src/styles/base.css +1332 -1332
- package/src/styles/fonts.css +45 -45
- package/src/styles/palette.css +83 -83
- package/dist/DatePicker-odNBd49H.js +0 -3628
package/dist/Avatar.es.js
CHANGED
package/dist/Button.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { c as l } from "./cn-B6yFEsav.js";
|
|
3
3
|
import { motion as i, AnimatePresence as c } from "framer-motion";
|
|
4
4
|
import u from "./Avatar.es.js";
|
|
5
|
-
import {
|
|
5
|
+
import { g as m, L as f } from "./Icons-BJgYCS_W.js";
|
|
6
6
|
function x({
|
|
7
7
|
sessions: t,
|
|
8
8
|
handleTokenLogin: a
|
|
@@ -12,8 +12,8 @@ function x({
|
|
|
12
12
|
{
|
|
13
13
|
className: "w-full ",
|
|
14
14
|
onClick: () => a?.(r.token),
|
|
15
|
-
children: /* @__PURE__ */ e.jsx(
|
|
16
|
-
|
|
15
|
+
children: /* @__PURE__ */ e.jsx(s, { children: /* @__PURE__ */ e.jsx(
|
|
16
|
+
s.Content,
|
|
17
17
|
{
|
|
18
18
|
onClick: () => {
|
|
19
19
|
console.log("hola");
|
|
@@ -22,7 +22,7 @@ function x({
|
|
|
22
22
|
nameUser: r.name,
|
|
23
23
|
nameArea: r?.areaId?.name,
|
|
24
24
|
nameCompany: r.companyId.name,
|
|
25
|
-
cardProfile: /* @__PURE__ */ e.jsx(
|
|
25
|
+
cardProfile: /* @__PURE__ */ e.jsx(s.Image, { isExpanded: !1 })
|
|
26
26
|
}
|
|
27
27
|
) })
|
|
28
28
|
},
|
|
@@ -168,7 +168,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
168
168
|
)
|
|
169
169
|
]
|
|
170
170
|
}
|
|
171
|
-
) }),
|
|
171
|
+
) }), g = ({ imageUrl: t, fallbackText: a }) => /* @__PURE__ */ e.jsx("div", { className: "flex items-center justify-center profile-image-wrapper ml-1", children: /* @__PURE__ */ e.jsx(
|
|
172
172
|
u,
|
|
173
173
|
{
|
|
174
174
|
imageUrl: t,
|
|
@@ -176,12 +176,12 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
176
176
|
sizeFallback: "xs",
|
|
177
177
|
fallbackText: a
|
|
178
178
|
}
|
|
179
|
-
) }),
|
|
179
|
+
) }), j = ({
|
|
180
180
|
isExpanded: t,
|
|
181
181
|
nameUser: a,
|
|
182
182
|
nameCompany: r,
|
|
183
183
|
nameArea: n,
|
|
184
|
-
cardProfile:
|
|
184
|
+
cardProfile: o,
|
|
185
185
|
onClick: d
|
|
186
186
|
}) => /* @__PURE__ */ e.jsxs(
|
|
187
187
|
i.button,
|
|
@@ -198,7 +198,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
198
198
|
whileTap: { scale: 0.98 },
|
|
199
199
|
transition: { duration: 0.2, ease: "easeInOut" },
|
|
200
200
|
children: [
|
|
201
|
-
|
|
201
|
+
o,
|
|
202
202
|
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col justify-center overflow-hidden flex-1 relative z-10 profile-user-info mr-2", children: [
|
|
203
203
|
/* @__PURE__ */ e.jsx(
|
|
204
204
|
"p",
|
|
@@ -265,14 +265,14 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
265
265
|
}
|
|
266
266
|
)
|
|
267
267
|
}
|
|
268
|
-
),
|
|
268
|
+
), s = Object.assign(h, {
|
|
269
269
|
Menu: p,
|
|
270
|
-
Image:
|
|
271
|
-
Content:
|
|
270
|
+
Image: g,
|
|
271
|
+
Content: j,
|
|
272
272
|
Separator: v,
|
|
273
273
|
Options: y
|
|
274
274
|
});
|
|
275
275
|
export {
|
|
276
|
-
|
|
276
|
+
s as C,
|
|
277
277
|
x as a
|
|
278
278
|
};
|
package/dist/CardProfile.es.js
CHANGED
package/dist/CheckBox.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import { memo as k, forwardRef as
|
|
4
|
-
const s =
|
|
1
|
+
import { j as a } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import { C as m } from "./Icons-BJgYCS_W.js";
|
|
3
|
+
import { memo as k, forwardRef as C, useId as g, useRef as v, useCallback as y } from "react";
|
|
4
|
+
const s = C(
|
|
5
5
|
({ className: l, disabled: e, onChange: i, value: d, ...t }, r) => {
|
|
6
|
-
const u =
|
|
6
|
+
const u = g(), o = v(null), f = `
|
|
7
7
|
after:content-[""]
|
|
8
8
|
after:absolute
|
|
9
9
|
after:top-1/2
|