prometeo-design-system 2.9.1 → 2.9.2
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/{CardProfile-CsytJlKZ.js → CardProfile-WHoeSibd.js} +8 -8
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +4 -4
- package/dist/DatePicker.es.js +62 -62
- package/dist/DrawerDesktop.es.js +1 -1
- package/dist/DropZone.es.js +5 -5
- package/dist/FAButton.es.js +1 -1
- package/dist/{HelperComponent-g_xuKWzK.js → HelperComponent-BeNlTMqI.js} +7 -7
- package/dist/Icons/Icons.d.ts +1 -1
- package/dist/Icons.d.ts +0 -4
- package/dist/Icons.es.js +1119 -3
- package/dist/{ImageGallery-Ckxg9OIC.js → ImageGallery-WKzUevOQ.js} +34 -34
- package/dist/ImageGallery.es.js +1 -1
- package/dist/{Input-Cck37DpG.js → Input-Bdiozi8s.js} +11 -11
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +34 -34
- package/dist/Logo.es.js +1 -1
- package/dist/OtpInput.es.js +43 -43
- package/dist/RadioButton.es.js +1 -1
- package/dist/{Select-BD5FTxVw.js → Select-L7JCe1-i.js} +3 -3
- package/dist/Select.es.js +1 -1
- package/dist/SelectSearch.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/Toast.es.js +22 -22
- package/dist/Tooltip.es.js +1 -1
- package/dist/exports/Icons.d.ts +1 -2
- package/dist/index.d.ts +1 -0
- package/dist/prometeo-design-system.es.js +190 -131
- package/dist/styles.css +1 -0
- package/dist/styles.d.ts +1 -0
- package/package.json +2 -2
- package/src/styles/app.css +1 -1313
- package/src/styles/base.css +480 -463
- package/dist/Icons-DtFC5DJ7.js +0 -1079
- package/dist/prometeo-design-system.css +0 -1
|
@@ -2,7 +2,7 @@ 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 { ChevronDown as m, Logout as f } from "./Icons.es.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(o, { children: /* @__PURE__ */ e.jsx(
|
|
16
|
+
o.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(o.Image, { isExpanded: !1 })
|
|
26
26
|
}
|
|
27
27
|
) })
|
|
28
28
|
},
|
|
@@ -181,7 +181,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
181
181
|
nameUser: a,
|
|
182
182
|
nameCompany: r,
|
|
183
183
|
nameArea: n,
|
|
184
|
-
cardProfile:
|
|
184
|
+
cardProfile: s,
|
|
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
|
+
s,
|
|
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,7 +265,7 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
265
265
|
}
|
|
266
266
|
)
|
|
267
267
|
}
|
|
268
|
-
),
|
|
268
|
+
), o = Object.assign(h, {
|
|
269
269
|
Menu: p,
|
|
270
270
|
Image: j,
|
|
271
271
|
Content: g,
|
|
@@ -273,6 +273,6 @@ const h = ({ children: t }) => /* @__PURE__ */ e.jsx("div", { className: "profil
|
|
|
273
273
|
Options: y
|
|
274
274
|
});
|
|
275
275
|
export {
|
|
276
|
-
|
|
276
|
+
o 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
1
|
import { j as a } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
-
import {
|
|
3
|
-
import { memo as k, forwardRef as
|
|
4
|
-
const s =
|
|
2
|
+
import { Check as m } from "./Icons.es.js";
|
|
3
|
+
import { memo as k, forwardRef as g, useId as v, useRef as C, useCallback as y } from "react";
|
|
4
|
+
const s = g(
|
|
5
5
|
({ className: l, disabled: e, onChange: i, value: d, ...t }, r) => {
|
|
6
|
-
const u =
|
|
6
|
+
const u = v(), o = C(null), f = `
|
|
7
7
|
after:content-[""]
|
|
8
8
|
after:absolute
|
|
9
9
|
after:top-1/2
|
package/dist/DatePicker.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { j as q } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import m, { createContext as mn, useContext as hn, useCallback as R, useRef as Se, useLayoutEffect as yn, useState as he, useEffect as _e, useMemo as fe, memo as pn } from "react";
|
|
3
3
|
import gn from "./InputMultiple.es.js";
|
|
4
|
-
import { I as wn } from "./Input-
|
|
4
|
+
import { I as wn } from "./Input-Bdiozi8s.js";
|
|
5
5
|
import { createPortal as bn } from "react-dom";
|
|
6
6
|
import { c as Be } from "./cn-B6yFEsav.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Calendar as Mt } from "./Icons.es.js";
|
|
8
8
|
import vt from "./Button.es.js";
|
|
9
9
|
function Mn(e, t, n = "long") {
|
|
10
10
|
return new Intl.DateTimeFormat("en-US", {
|
|
@@ -165,7 +165,7 @@ function Bt(e, t, n) {
|
|
|
165
165
|
const o = Y(e, n?.in);
|
|
166
166
|
return isNaN(t) ? A(e, NaN) : (t && o.setDate(o.getDate() + t), o);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function It(e, t, n) {
|
|
169
169
|
const o = Y(e, n?.in);
|
|
170
170
|
if (isNaN(t)) return A(e, NaN);
|
|
171
171
|
if (!t)
|
|
@@ -187,15 +187,15 @@ function xe(e, t) {
|
|
|
187
187
|
const n = He(), o = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, r = Y(e, t?.in), a = r.getDay(), i = (a < o ? 7 : 0) + a - o;
|
|
188
188
|
return r.setDate(r.getDate() - i), r.setHours(0, 0, 0, 0), r;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function Ie(e, t) {
|
|
191
191
|
return xe(e, { ...t, weekStartsOn: 1 });
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function jt(e, t) {
|
|
194
194
|
const n = Y(e, t?.in), o = n.getFullYear(), r = A(n, 0);
|
|
195
195
|
r.setFullYear(o + 1, 0, 4), r.setHours(0, 0, 0, 0);
|
|
196
|
-
const a =
|
|
196
|
+
const a = Ie(r), i = A(n, 0);
|
|
197
197
|
i.setFullYear(o, 0, 4), i.setHours(0, 0, 0, 0);
|
|
198
|
-
const s =
|
|
198
|
+
const s = Ie(i);
|
|
199
199
|
return n.getTime() >= a.getTime() ? o + 1 : n.getTime() >= s.getTime() ? o : o - 1;
|
|
200
200
|
}
|
|
201
201
|
function Wt(e) {
|
|
@@ -219,7 +219,7 @@ function Ne(e, ...t) {
|
|
|
219
219
|
);
|
|
220
220
|
return t.map(n);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function je(e, t) {
|
|
223
223
|
const n = Y(e, t?.in);
|
|
224
224
|
return n.setHours(0, 0, 0, 0), n;
|
|
225
225
|
}
|
|
@@ -228,18 +228,18 @@ function Ht(e, t, n) {
|
|
|
228
228
|
n?.in,
|
|
229
229
|
e,
|
|
230
230
|
t
|
|
231
|
-
), a =
|
|
231
|
+
), a = je(o), i = je(r), s = +a - Wt(a), c = +i - Wt(i);
|
|
232
232
|
return Math.round((s - c) / On);
|
|
233
233
|
}
|
|
234
234
|
function Sn(e, t) {
|
|
235
|
-
const n =
|
|
236
|
-
return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0),
|
|
235
|
+
const n = jt(e, t), o = A(e, 0);
|
|
236
|
+
return o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0), Ie(o);
|
|
237
237
|
}
|
|
238
238
|
function Cn(e, t, n) {
|
|
239
239
|
return Bt(e, t * 7, n);
|
|
240
240
|
}
|
|
241
241
|
function xn(e, t, n) {
|
|
242
|
-
return
|
|
242
|
+
return It(e, t * 12, n);
|
|
243
243
|
}
|
|
244
244
|
function Nn(e, t) {
|
|
245
245
|
let n, o = t?.in;
|
|
@@ -263,7 +263,7 @@ function Tn(e, t, n) {
|
|
|
263
263
|
e,
|
|
264
264
|
t
|
|
265
265
|
);
|
|
266
|
-
return +
|
|
266
|
+
return +je(o) == +je(r);
|
|
267
267
|
}
|
|
268
268
|
function $t(e) {
|
|
269
269
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
@@ -302,7 +302,7 @@ function Bn(e, t) {
|
|
|
302
302
|
const n = Y(e, t?.in);
|
|
303
303
|
return n.setDate(1), n.setHours(0, 0, 0, 0), n;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function In(e, t) {
|
|
306
306
|
const n = Y(e, t?.in), o = n.getFullYear();
|
|
307
307
|
return n.setFullYear(o + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
|
|
308
308
|
}
|
|
@@ -310,7 +310,7 @@ function qt(e, t) {
|
|
|
310
310
|
const n = Y(e, t?.in);
|
|
311
311
|
return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function jn(e, t) {
|
|
314
314
|
const { start: n, end: o } = At(t?.in, e);
|
|
315
315
|
let r = +n > +o;
|
|
316
316
|
const a = r ? +n : +o, i = r ? o : n;
|
|
@@ -764,7 +764,7 @@ function wo(e, t) {
|
|
|
764
764
|
return Ht(n, qt(n)) + 1;
|
|
765
765
|
}
|
|
766
766
|
function zt(e, t) {
|
|
767
|
-
const n = Y(e, t?.in), o = +
|
|
767
|
+
const n = Y(e, t?.in), o = +Ie(n) - +Sn(n);
|
|
768
768
|
return Math.round(o / Ft) + 1;
|
|
769
769
|
}
|
|
770
770
|
function Zt(e, t) {
|
|
@@ -886,7 +886,7 @@ const me = {
|
|
|
886
886
|
},
|
|
887
887
|
// ISO week-numbering year
|
|
888
888
|
R: function(e, t) {
|
|
889
|
-
const n =
|
|
889
|
+
const n = jt(e);
|
|
890
890
|
return T(n, t.length);
|
|
891
891
|
},
|
|
892
892
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
@@ -1525,10 +1525,10 @@ function Bo(e, t) {
|
|
|
1525
1525
|
const n = Y(e, t?.in), o = n.getFullYear(), r = n.getMonth(), a = A(n, 0);
|
|
1526
1526
|
return a.setFullYear(o, r + 1, 0), a.setHours(0, 0, 0, 0), a.getDate();
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Io(e, t) {
|
|
1529
1529
|
return Y(e, t?.in).getMonth();
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function jo(e, t) {
|
|
1532
1532
|
return Y(e, t?.in).getFullYear();
|
|
1533
1533
|
}
|
|
1534
1534
|
function Ho(e, t) {
|
|
@@ -1584,18 +1584,18 @@ class K {
|
|
|
1584
1584
|
* @param overrides Custom overrides for the date library functions.
|
|
1585
1585
|
*/
|
|
1586
1586
|
constructor(t, n) {
|
|
1587
|
-
this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? L.tz(this.options.timeZone) : new this.Date(), this.newDate = (o, r, a) => this.overrides?.newDate ? this.overrides.newDate(o, r, a) : this.options.timeZone ? new L(o, r, a, this.options.timeZone) : new Date(o, r, a), this.addDays = (o, r) => this.overrides?.addDays ? this.overrides.addDays(o, r) : Bt(o, r), this.addMonths = (o, r) => this.overrides?.addMonths ? this.overrides.addMonths(o, r) :
|
|
1588
|
-
const r = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(o) :
|
|
1587
|
+
this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? L.tz(this.options.timeZone) : new this.Date(), this.newDate = (o, r, a) => this.overrides?.newDate ? this.overrides.newDate(o, r, a) : this.options.timeZone ? new L(o, r, a, this.options.timeZone) : new Date(o, r, a), this.addDays = (o, r) => this.overrides?.addDays ? this.overrides.addDays(o, r) : Bt(o, r), this.addMonths = (o, r) => this.overrides?.addMonths ? this.overrides.addMonths(o, r) : It(o, r), this.addWeeks = (o, r) => this.overrides?.addWeeks ? this.overrides.addWeeks(o, r) : Cn(o, r), this.addYears = (o, r) => this.overrides?.addYears ? this.overrides.addYears(o, r) : xn(o, r), this.differenceInCalendarDays = (o, r) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(o, r) : Ht(o, r), this.differenceInCalendarMonths = (o, r) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(o, r) : En(o, r), this.eachMonthOfInterval = (o) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(o) : Fn(o), this.eachYearOfInterval = (o) => {
|
|
1588
|
+
const r = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(o) : jn(o), a = new Set(r.map((s) => this.getYear(s)));
|
|
1589
1589
|
if (a.size === r.length)
|
|
1590
1590
|
return r;
|
|
1591
1591
|
const i = [];
|
|
1592
1592
|
return a.forEach((s) => {
|
|
1593
1593
|
i.push(new Date(s, 0, 1));
|
|
1594
1594
|
}), i;
|
|
1595
|
-
}, this.endOfBroadcastWeek = (o) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(o) : Go(o, this), this.endOfISOWeek = (o) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(o) : Hn(o), this.endOfMonth = (o) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(o) : _n(o), this.endOfWeek = (o, r) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(o, r) : Rt(o, this.options), this.endOfYear = (o) => this.overrides?.endOfYear ? this.overrides.endOfYear(o) :
|
|
1595
|
+
}, this.endOfBroadcastWeek = (o) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(o) : Go(o, this), this.endOfISOWeek = (o) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(o) : Hn(o), this.endOfMonth = (o) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(o) : _n(o), this.endOfWeek = (o, r) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(o, r) : Rt(o, this.options), this.endOfYear = (o) => this.overrides?.endOfYear ? this.overrides.endOfYear(o) : In(o), this.format = (o, r, a) => {
|
|
1596
1596
|
const i = this.overrides?.format ? this.overrides.format(o, r, this.options) : _o(o, r, this.options);
|
|
1597
1597
|
return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(i) : i;
|
|
1598
|
-
}, this.getISOWeek = (o) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(o) : zt(o), this.getMonth = (o, r) => this.overrides?.getMonth ? this.overrides.getMonth(o, this.options) :
|
|
1598
|
+
}, this.getISOWeek = (o) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(o) : zt(o), this.getMonth = (o, r) => this.overrides?.getMonth ? this.overrides.getMonth(o, this.options) : Io(o, this.options), this.getYear = (o, r) => this.overrides?.getYear ? this.overrides.getYear(o, this.options) : jo(o, this.options), this.getWeek = (o, r) => this.overrides?.getWeek ? this.overrides.getWeek(o, this.options) : Gt(o, this.options), this.isAfter = (o, r) => this.overrides?.isAfter ? this.overrides.isAfter(o, r) : Ho(o, r), this.isBefore = (o, r) => this.overrides?.isBefore ? this.overrides.isBefore(o, r) : $o(o, r), this.isDate = (o) => this.overrides?.isDate ? this.overrides.isDate(o) : $t(o), this.isSameDay = (o, r) => this.overrides?.isSameDay ? this.overrides.isSameDay(o, r) : Tn(o, r), this.isSameMonth = (o, r) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(o, r) : Ao(o, r), this.isSameYear = (o, r) => this.overrides?.isSameYear ? this.overrides.isSameYear(o, r) : qo(o, r), this.max = (o) => this.overrides?.max ? this.overrides.max(o) : Nn(o), this.min = (o) => this.overrides?.min ? this.overrides.min(o) : Pn(o), this.setMonth = (o, r) => this.overrides?.setMonth ? this.overrides.setMonth(o, r) : Ro(o, r), this.setYear = (o, r) => this.overrides?.setYear ? this.overrides.setYear(o, r) : Lo(o, r), this.startOfBroadcastWeek = (o, r) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(o, this) : Xt(o, this), this.startOfDay = (o) => this.overrides?.startOfDay ? this.overrides.startOfDay(o) : je(o), this.startOfISOWeek = (o) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(o) : Ie(o), this.startOfMonth = (o) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(o) : Bn(o), this.startOfWeek = (o, r) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(o, this.options) : xe(o, this.options), this.startOfYear = (o) => this.overrides?.startOfYear ? this.overrides.startOfYear(o) : qt(o), this.options = { locale: wt, ...t }, this.overrides = n;
|
|
1599
1599
|
}
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Generates a mapping of Arabic digits (0-9) to the target numbering system
|
|
@@ -1946,9 +1946,9 @@ function kr(e, t, n, o, r) {
|
|
|
1946
1946
|
[B.today]: []
|
|
1947
1947
|
}, C = {};
|
|
1948
1948
|
for (const h of e) {
|
|
1949
|
-
const { date: v, displayMonth: M } = h, x = !!(M && !f(v, M)),
|
|
1949
|
+
const { date: v, displayMonth: M } = h, x = !!(M && !f(v, M)), j = !!(O && D(v, O)), _ = !!(y && b(v, y)), H = !!(a && le(v, a, r)), I = !!(i && le(v, i, r)) || j || _ || // Broadcast calendar will show outside days as default
|
|
1950
1950
|
!d && !c && x || d && c === !1 && x, $ = u(v, l ?? r.today());
|
|
1951
|
-
x && p.outside.push(h), H && p.disabled.push(h),
|
|
1951
|
+
x && p.outside.push(h), H && p.disabled.push(h), I && p.hidden.push(h), $ && p.today.push(h), s && Object.keys(s).forEach((se) => {
|
|
1952
1952
|
const ee = s?.[se];
|
|
1953
1953
|
ee && le(v, ee, r) && (C[se] ? C[se].push(h) : C[se] = [h]);
|
|
1954
1954
|
});
|
|
@@ -1962,11 +1962,11 @@ function kr(e, t, n, o, r) {
|
|
|
1962
1962
|
[B.today]: !1
|
|
1963
1963
|
}, M = {};
|
|
1964
1964
|
for (const x in p) {
|
|
1965
|
-
const
|
|
1966
|
-
v[x] =
|
|
1965
|
+
const j = p[x];
|
|
1966
|
+
v[x] = j.some((_) => _ === h);
|
|
1967
1967
|
}
|
|
1968
1968
|
for (const x in C)
|
|
1969
|
-
M[x] = C[x].some((
|
|
1969
|
+
M[x] = C[x].some((j) => j === h);
|
|
1970
1970
|
return {
|
|
1971
1971
|
...v,
|
|
1972
1972
|
// custom modifiers should override all the previous ones
|
|
@@ -2048,7 +2048,7 @@ function Br(e) {
|
|
|
2048
2048
|
...e
|
|
2049
2049
|
};
|
|
2050
2050
|
}
|
|
2051
|
-
function
|
|
2051
|
+
function Ir(e, t, n, o, r) {
|
|
2052
2052
|
const { startOfMonth: a, startOfYear: i, endOfYear: s, eachMonthOfInterval: c, getMonth: d } = r;
|
|
2053
2053
|
return c({
|
|
2054
2054
|
start: i(e),
|
|
@@ -2058,7 +2058,7 @@ function jr(e, t, n, o, r) {
|
|
|
2058
2058
|
return { value: D, label: w, disabled: W };
|
|
2059
2059
|
});
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2061
|
+
function jr(e, t = {}, n = {}) {
|
|
2062
2062
|
let o = { ...t?.[g.Day] };
|
|
2063
2063
|
return Object.entries(e).filter(([, r]) => r === !0).forEach(([r]) => {
|
|
2064
2064
|
o = {
|
|
@@ -2181,8 +2181,8 @@ function na(e, t, { classNames: n, months: o, focused: r, dateLib: a }) {
|
|
|
2181
2181
|
c.current = !1, e.current && (e.current.style.isolation = ""), y && (y.style.zIndex = ""), v && v.classList.remove(f), M && M.classList.remove(w), p.style.position = "", p.style.overflow = "", p.contains(h) && p.removeChild(h);
|
|
2182
2182
|
};
|
|
2183
2183
|
h.style.pointerEvents = "none", h.style.position = "absolute", h.style.overflow = "hidden", h.setAttribute("aria-hidden", "true");
|
|
2184
|
-
const
|
|
2185
|
-
|
|
2184
|
+
const j = ta(h);
|
|
2185
|
+
j && (j.style.opacity = "0");
|
|
2186
2186
|
const _ = ft(h);
|
|
2187
2187
|
_ && (_.classList.add(u ? n[U.caption_before_exit] : n[U.caption_after_exit]), _.addEventListener("animationend", x));
|
|
2188
2188
|
const H = mt(h);
|
|
@@ -2194,15 +2194,15 @@ function na(e, t, { classNames: n, months: o, focused: r, dateLib: a }) {
|
|
|
2194
2194
|
function oa(e, t, n, o) {
|
|
2195
2195
|
const r = e[0], a = e[e.length - 1], { ISOWeek: i, fixedWeeks: s, broadcastCalendar: c } = n ?? {}, { addDays: d, differenceInCalendarDays: l, differenceInCalendarMonths: u, endOfBroadcastWeek: f, endOfISOWeek: w, endOfMonth: D, endOfWeek: W, isAfter: b, startOfBroadcastWeek: O, startOfISOWeek: y, startOfWeek: p } = o, C = c ? O(r, o) : i ? y(r) : p(r), h = c ? f(a) : i ? w(D(a)) : W(D(a)), v = l(h, C), M = u(a, r) + 1, x = [];
|
|
2196
2196
|
for (let H = 0; H <= v; H++) {
|
|
2197
|
-
const
|
|
2198
|
-
if (t && b(
|
|
2197
|
+
const I = d(C, H);
|
|
2198
|
+
if (t && b(I, t))
|
|
2199
2199
|
break;
|
|
2200
|
-
x.push(
|
|
2200
|
+
x.push(I);
|
|
2201
2201
|
}
|
|
2202
2202
|
const _ = (c ? 35 : 42) * M;
|
|
2203
2203
|
if (s && x.length < _) {
|
|
2204
2204
|
const H = _ - x.length;
|
|
2205
|
-
for (let
|
|
2205
|
+
for (let I = 0; I < H; I++) {
|
|
2206
2206
|
const $ = d(x[x.length - 1], 1);
|
|
2207
2207
|
x.push($);
|
|
2208
2208
|
}
|
|
@@ -2241,14 +2241,14 @@ function sa(e, t, n, o) {
|
|
|
2241
2241
|
const O = n.broadcastCalendar ? u(b, o) : n.ISOWeek ? f(b) : w(b), y = n.broadcastCalendar ? a(b) : n.ISOWeek ? i(s(b)) : c(s(b)), p = t.filter((M) => M >= O && M <= y), C = n.broadcastCalendar ? 35 : 42;
|
|
2242
2242
|
if (n.fixedWeeks && p.length < C) {
|
|
2243
2243
|
const M = t.filter((x) => {
|
|
2244
|
-
const
|
|
2245
|
-
return x > y && x <= r(y,
|
|
2244
|
+
const j = C - p.length;
|
|
2245
|
+
return x > y && x <= r(y, j);
|
|
2246
2246
|
});
|
|
2247
2247
|
p.push(...M);
|
|
2248
2248
|
}
|
|
2249
2249
|
const h = p.reduce((M, x) => {
|
|
2250
|
-
const
|
|
2251
|
-
return _ ? _.days.push(H) : M.push(new Xo(
|
|
2250
|
+
const j = n.ISOWeek ? d(x) : l(x), _ = M.find((I) => I.weekNumber === j), H = new Qt(x, b, o);
|
|
2251
|
+
return _ ? _.days.push(H) : M.push(new Xo(j, [H])), M;
|
|
2252
2252
|
}, []), v = new Vo(b, h);
|
|
2253
2253
|
return W.push(v), W;
|
|
2254
2254
|
}, []);
|
|
@@ -2523,7 +2523,7 @@ function ht(e) {
|
|
|
2523
2523
|
t.formatters,
|
|
2524
2524
|
t.labels,
|
|
2525
2525
|
t.classNames
|
|
2526
|
-
]), { captionLayout: c, mode: d, navLayout: l, numberOfMonths: u = 1, onDayBlur: f, onDayClick: w, onDayFocus: D, onDayKeyDown: W, onDayMouseEnter: b, onDayMouseLeave: O, onNextClick: y, onPrevClick: p, showWeekNumber: C, styles: h } = t, { formatCaption: v, formatDay: M, formatMonthDropdown: x, formatWeekNumber:
|
|
2526
|
+
]), { captionLayout: c, mode: d, navLayout: l, numberOfMonths: u = 1, onDayBlur: f, onDayClick: w, onDayFocus: D, onDayKeyDown: W, onDayMouseEnter: b, onDayMouseLeave: O, onNextClick: y, onPrevClick: p, showWeekNumber: C, styles: h } = t, { formatCaption: v, formatDay: M, formatMonthDropdown: x, formatWeekNumber: j, formatWeekNumberHeader: _, formatWeekdayName: H, formatYearDropdown: I } = o, $ = la(t, a), { days: se, months: ee, navStart: ie, navEnd: ce, previousMonth: G, nextMonth: V, goToMonth: z } = $, Oe = kr(se, t, ie, ce, a), { isSelected: ye, select: X, selected: pe } = va(t, a) ?? {}, { blur: Pe, focused: qe, isFocusTarget: ot, moveFocus: Re, setFocused: ge } = ha(t, $, Oe, ye ?? (() => !1), a), { labelDayButton: Le, labelGridcell: ze, labelGrid: rt, labelMonthDropdown: N, labelNav: Z, labelPrevious: ue, labelNext: we, labelWeekday: be, labelWeekNumber: Me, labelWeekNumberHeader: at, labelYearDropdown: st } = r, Ze = fe(() => Hr(a, t.ISOWeek), [a, t.ISOWeek]), Te = d !== void 0 || w !== void 0, Ye = R(() => {
|
|
2527
2527
|
G && (z(G), p?.(G));
|
|
2528
2528
|
}, [G, z, p]), ve = R(() => {
|
|
2529
2529
|
V && (z(V), y?.(V));
|
|
@@ -2622,7 +2622,7 @@ function ht(e) {
|
|
|
2622
2622
|
n.DropdownNav,
|
|
2623
2623
|
{ className: s[g.Dropdowns], style: h?.[g.Dropdowns] },
|
|
2624
2624
|
(() => {
|
|
2625
|
-
const k = c === "dropdown" || c === "dropdown-months" ? m.createElement(n.MonthsDropdown, { key: "month", className: s[g.MonthsDropdown], "aria-label": N(), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Ue(S.date), options:
|
|
2625
|
+
const k = c === "dropdown" || c === "dropdown-months" ? m.createElement(n.MonthsDropdown, { key: "month", className: s[g.MonthsDropdown], "aria-label": N(), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Ue(S.date), options: Ir(S.date, ie, ce, o, a), style: h?.[g.Dropdown], value: a.getMonth(S.date) }) : m.createElement("span", { key: "month" }, x(S.date, a)), E = c === "dropdown" || c === "dropdown-years" ? m.createElement(n.YearsDropdown, { key: "year", className: s[g.YearsDropdown], "aria-label": st(a.options), classNames: s, components: n, disabled: !!t.disableNavigation, onChange: Ke(S.date), options: $r(ie, ce, o, a, !!t.reverseYears), style: h?.[g.Dropdown], value: a.getYear(S.date) }) : m.createElement("span", { key: "year" }, I(S.date, a));
|
|
2626
2626
|
return a.getMonthYearOrder() === "year-first" ? [E, k] : [k, E];
|
|
2627
2627
|
})(),
|
|
2628
2628
|
m.createElement("span", { role: "status", "aria-live": "polite", style: {
|
|
@@ -2662,14 +2662,14 @@ function ht(e) {
|
|
|
2662
2662
|
C && // biome-ignore lint/a11y/useSemanticElements: react component
|
|
2663
2663
|
m.createElement(n.WeekNumber, { week: k, style: h?.[g.WeekNumber], "aria-label": Me(k.weekNumber, {
|
|
2664
2664
|
locale: i
|
|
2665
|
-
}), className: s[g.WeekNumber], scope: "row", role: "rowheader" },
|
|
2665
|
+
}), className: s[g.WeekNumber], scope: "row", role: "rowheader" }, j(k.weekNumber, a)),
|
|
2666
2666
|
k.days.map((E) => {
|
|
2667
2667
|
const { date: Q } = E, P = Oe(E);
|
|
2668
2668
|
if (P[B.focused] = !P.hidden && !!qe?.isEqualTo(E), P[J.selected] = ye?.(Q) || P.selected, bt(pe)) {
|
|
2669
2669
|
const { from: ut, to: dt } = pe;
|
|
2670
2670
|
P[J.range_start] = !!(ut && dt && a.isSameDay(Q, ut)), P[J.range_end] = !!(ut && dt && a.isSameDay(Q, dt)), P[J.range_middle] = de(pe, Q, !0, a);
|
|
2671
2671
|
}
|
|
2672
|
-
const dn =
|
|
2672
|
+
const dn = jr(P, h, t.modifiersStyles), ln = Or(P, s, t.modifiersClassNames), fn = !Te && !P.hidden ? ze(Q, P, a.options, a) : void 0;
|
|
2673
2673
|
return (
|
|
2674
2674
|
// biome-ignore lint/a11y/useSemanticElements: react component
|
|
2675
2675
|
m.createElement(n.Day, { key: `${a.format(Q, "yyyy-MM-dd")}_${a.format(E.displayMonth, "yyyy-MM")}`, day: E, modifiers: P, className: ln.join(" "), style: dn, role: "gridcell", "aria-selected": P.selected || void 0, "aria-label": fn, "data-day": a.format(Q, "yyyy-MM-dd"), "data-month": E.outside ? a.format(Q, "yyyy-MM") : void 0, "data-selected": P.selected || void 0, "data-disabled": P.disabled || void 0, "data-hidden": P.hidden || void 0, "data-outside": E.outside || void 0, "data-focused": P.focused || void 0, "data-today": P.today || void 0 }, !P.hidden && Te ? m.createElement(n.DayButton, { className: s[g.DayButton], style: h?.[g.DayButton], type: "button", day: E, modifiers: P, disabled: P.disabled || void 0, tabIndex: ot(E) ? 0 : -1, "aria-label": Le(Q, P, a.options, a), onClick: it(E, P), onBlur: Ve(E, P), onFocus: Ge(E, P), onKeyDown: Ee(E, P), onMouseEnter: Xe(E, P), onMouseLeave: Qe(E, P) }, M(Q, a.options, a)) : !P.hidden && M(E.date, a.options, a))
|
|
@@ -2905,8 +2905,8 @@ const Da = {
|
|
|
2905
2905
|
evening: "de la tarde",
|
|
2906
2906
|
night: "de la noche"
|
|
2907
2907
|
}
|
|
2908
|
-
},
|
|
2909
|
-
ordinalNumber:
|
|
2908
|
+
}, Ia = (e, t) => Number(e) + "º", ja = {
|
|
2909
|
+
ordinalNumber: Ia,
|
|
2910
2910
|
era: ne({
|
|
2911
2911
|
values: Ta,
|
|
2912
2912
|
defaultWidth: "wide"
|
|
@@ -3045,7 +3045,7 @@ const Da = {
|
|
|
3045
3045
|
formatDistance: ka,
|
|
3046
3046
|
formatLong: Ca,
|
|
3047
3047
|
formatRelative: Pa,
|
|
3048
|
-
localize:
|
|
3048
|
+
localize: ja,
|
|
3049
3049
|
match: Ua,
|
|
3050
3050
|
options: {
|
|
3051
3051
|
weekStartsOn: 1,
|
|
@@ -3075,21 +3075,21 @@ const Da = {
|
|
|
3075
3075
|
label: C = "",
|
|
3076
3076
|
name: h = "datepicker",
|
|
3077
3077
|
className: v
|
|
3078
|
-
} = e, M = t === "range" || t === "multiple" ? e.min : void 0, x = t === "range" || t === "multiple" ? e.max : void 0,
|
|
3078
|
+
} = e, M = t === "range" || t === "multiple" ? e.min : void 0, x = t === "range" || t === "multiple" ? e.max : void 0, j = t === "range" ? e.excludeDisabled : void 0, [_, H] = he({}), [I, $] = he(!1), [se, ee] = he(!1), [ie, ce] = he(o), [G, V] = he(!1), z = Se(null), Oe = Se(null), ye = f ? ie : o, X = f ? o : ye;
|
|
3079
3079
|
_e(() => {
|
|
3080
3080
|
window.innerWidth < 768 ? V(!0) : V(!1);
|
|
3081
3081
|
}, []), _e(() => {
|
|
3082
3082
|
f && ce(o);
|
|
3083
3083
|
}, [o, f]), _e(() => {
|
|
3084
|
-
if (y !== "input" || !
|
|
3084
|
+
if (y !== "input" || !I) return;
|
|
3085
3085
|
const N = (Z) => {
|
|
3086
3086
|
z.current && !z.current.contains(Z.target) && ($(!1), f && ce(o));
|
|
3087
3087
|
};
|
|
3088
3088
|
return document.addEventListener("mousedown", N), () => {
|
|
3089
3089
|
document.removeEventListener("mousedown", N);
|
|
3090
3090
|
};
|
|
3091
|
-
}, [y,
|
|
3092
|
-
if (!
|
|
3091
|
+
}, [y, I, o, f]), _e(() => {
|
|
3092
|
+
if (!I || y !== "input" || !z.current) {
|
|
3093
3093
|
ee(!1);
|
|
3094
3094
|
return;
|
|
3095
3095
|
}
|
|
@@ -3116,7 +3116,7 @@ const Da = {
|
|
|
3116
3116
|
return () => {
|
|
3117
3117
|
clearTimeout(we), window.removeEventListener("scroll", ue, !0);
|
|
3118
3118
|
};
|
|
3119
|
-
}, [
|
|
3119
|
+
}, [I, y]);
|
|
3120
3120
|
const pe = R(() => {
|
|
3121
3121
|
W?.(ie), r?.(ie), y === "input" && $(!1);
|
|
3122
3122
|
}, [W, r, ie, y]), Pe = R(() => {
|
|
@@ -3222,18 +3222,18 @@ const Da = {
|
|
|
3222
3222
|
showActionButtons: f,
|
|
3223
3223
|
min: M,
|
|
3224
3224
|
max: x,
|
|
3225
|
-
excludeDisabled:
|
|
3225
|
+
excludeDisabled: j,
|
|
3226
3226
|
className: Be("bg-neutral-strong-default text-neutral-default-default shadow", v),
|
|
3227
3227
|
style: {
|
|
3228
3228
|
top: _?.top,
|
|
3229
3229
|
left: _?.left,
|
|
3230
3230
|
bottom: _?.bottom,
|
|
3231
3231
|
right: _?.right,
|
|
3232
|
-
opacity: se &&
|
|
3232
|
+
opacity: se && I ? 1 : 0,
|
|
3233
3233
|
transition: "opacity 0.15s linear",
|
|
3234
3234
|
position: "fixed",
|
|
3235
3235
|
zIndex: 1e3,
|
|
3236
|
-
pointerEvents: se &&
|
|
3236
|
+
pointerEvents: se && I ? "auto" : "none"
|
|
3237
3237
|
}
|
|
3238
3238
|
}
|
|
3239
3239
|
),
|
|
@@ -3262,7 +3262,7 @@ const Da = {
|
|
|
3262
3262
|
onSelect: ze,
|
|
3263
3263
|
hideOutsideDays: c,
|
|
3264
3264
|
showActionButtons: f,
|
|
3265
|
-
excludeDisabled:
|
|
3265
|
+
excludeDisabled: j
|
|
3266
3266
|
}
|
|
3267
3267
|
))
|
|
3268
3268
|
] });
|
|
@@ -3292,7 +3292,7 @@ const Da = {
|
|
|
3292
3292
|
applyLabel: v = "Aplicar",
|
|
3293
3293
|
cancelLabel: M = "Cancelar",
|
|
3294
3294
|
hideOutsideDays: x = !1,
|
|
3295
|
-
showActionButtons:
|
|
3295
|
+
showActionButtons: j = !1
|
|
3296
3296
|
} = e, _ = fe(() => {
|
|
3297
3297
|
if (l) {
|
|
3298
3298
|
if (y === "single")
|
|
@@ -3306,7 +3306,7 @@ const Da = {
|
|
|
3306
3306
|
}
|
|
3307
3307
|
}, [l, y]), H = fe(() => ({
|
|
3308
3308
|
formatWeekdayName: ($) => $.toLocaleDateString("es-ES", { weekday: "narrow" }).toUpperCase()
|
|
3309
|
-
}), []),
|
|
3309
|
+
}), []), I = fe(() => ({
|
|
3310
3310
|
// Días de la semana (cabecera)
|
|
3311
3311
|
weekday: " prometeo-fonts-body-large text-neutral-default-default h-12 w-12 ",
|
|
3312
3312
|
// Días del mes
|
|
@@ -3350,7 +3350,7 @@ const Da = {
|
|
|
3350
3350
|
mode: "single",
|
|
3351
3351
|
captionLayout: "dropdown",
|
|
3352
3352
|
formatters: H,
|
|
3353
|
-
classNames:
|
|
3353
|
+
classNames: I,
|
|
3354
3354
|
required: u,
|
|
3355
3355
|
disabled: b,
|
|
3356
3356
|
selected: W,
|
|
@@ -3370,7 +3370,7 @@ const Da = {
|
|
|
3370
3370
|
mode: "range",
|
|
3371
3371
|
captionLayout: "dropdown",
|
|
3372
3372
|
formatters: H,
|
|
3373
|
-
classNames:
|
|
3373
|
+
classNames: I,
|
|
3374
3374
|
numberOfMonths: C,
|
|
3375
3375
|
selected: W,
|
|
3376
3376
|
defaultMonth: _,
|
|
@@ -3393,7 +3393,7 @@ const Da = {
|
|
|
3393
3393
|
mode: "multiple",
|
|
3394
3394
|
captionLayout: "dropdown",
|
|
3395
3395
|
formatters: H,
|
|
3396
|
-
classNames:
|
|
3396
|
+
classNames: I,
|
|
3397
3397
|
selected: W,
|
|
3398
3398
|
defaultMonth: _,
|
|
3399
3399
|
onSelect: p ? () => {
|
|
@@ -3410,7 +3410,7 @@ const Da = {
|
|
|
3410
3410
|
!h && /* @__PURE__ */ q.jsx("div", { className: Be(
|
|
3411
3411
|
"w-full min-h-[40px] pt-2 px-3 pb-3 flex items-center relative"
|
|
3412
3412
|
), children: typeof i == "string" ? /* @__PURE__ */ q.jsx("p", { className: "prometeo-fonts-label-large text-neutral-medium-default w-64 ", children: i }) : i }),
|
|
3413
|
-
|
|
3413
|
+
j && /* @__PURE__ */ q.jsxs("div", { className: "w-full px-3 pb-3 pt-2 flex gap-2 justify-end ", children: [
|
|
3414
3414
|
/* @__PURE__ */ q.jsx(
|
|
3415
3415
|
vt,
|
|
3416
3416
|
{
|
package/dist/DrawerDesktop.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { c as h } from "./cn-B6yFEsav.js";
|
|
|
3
3
|
import { c as k } from "./index-BOQuZ0gG.js";
|
|
4
4
|
import { createPortal as E } from "react-dom";
|
|
5
5
|
import { forwardRef as V, useRef as u, useState as N, useEffect as d, useCallback as f, useImperativeHandle as I } from "react";
|
|
6
|
-
import {
|
|
6
|
+
import { Close as P } from "./Icons.es.js";
|
|
7
7
|
import B from "./Button.es.js";
|
|
8
8
|
const L = V((t, s) => {
|
|
9
9
|
const n = u(null), [e, a] = N(t.defaultOpen || !1), [r, y] = N(null), b = u(t.onClose), c = u(r), {
|
package/dist/DropZone.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Error as P, Upload as R } from "./Icons.es.js";
|
|
3
3
|
import { c as i } from "./cn-B6yFEsav.js";
|
|
4
|
-
import z, { useCallback as
|
|
5
|
-
import { useDropzone as
|
|
4
|
+
import z, { useCallback as w } from "react";
|
|
5
|
+
import { useDropzone as E } 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 =
|
|
20
|
+
const b = w((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
|
-
} =
|
|
28
|
+
} = E({
|
|
29
29
|
onDrop: b,
|
|
30
30
|
accept: v,
|
|
31
31
|
maxFiles: g,
|
package/dist/FAButton.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
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 {
|
|
4
|
+
import { Add as v } from "./Icons.es.js";
|
|
5
5
|
import { createPortal as m } from "react-dom";
|
|
6
6
|
import { c as b } from "./index-BOQuZ0gG.js";
|
|
7
7
|
const h = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { memo as i } from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
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) => {
|
|
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 r = (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:
|
|
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: [
|
|
16
16
|
c[t],
|
|
17
|
-
/* @__PURE__ */ e.jsx("p", { className:
|
|
17
|
+
/* @__PURE__ */ e.jsx("p", { className: r(" prometeo-fonts-body-small", l[t]), children: s.children })
|
|
18
18
|
] }) : s.children });
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
const j = i(
|
|
20
|
+
a.displayName = "HelperText";
|
|
21
|
+
const j = i(a);
|
|
22
22
|
export {
|
|
23
23
|
j as H
|
|
24
24
|
};
|
package/dist/Icons/Icons.d.ts
CHANGED
|
@@ -64,7 +64,7 @@ declare const UserAddFill: import('react').MemoExoticComponent<(props: IconProps
|
|
|
64
64
|
declare const EditFill: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
65
65
|
declare const TrashFill: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
66
66
|
declare const Company: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
67
|
-
export { Ticket, Home, Boards, Notifications, Help, Settings, CrevronLeft, CrevronRight, ArrowLeft, Shared, ChevronDown, Collapse, Calendar, Close, UserPerson, Logout, ArrowUpDown, Filter, Search, Stars, MoreVert, Add, Edit, Upload, Copy, FaLock, AccountCircle, UserAdd, AttachFile, HistoryActivity, MessageSquare, CloseNavBarDesktop, EyeVisibility, EyeVisibilityOff, Check, Info, Error, TicketFilled, UploadCloud, Clock, Pause, FastForward, Trash, Sort, Cancel, CheckCircle, FormatColorText, CheckList, WhatsApp, File, Email, Download, Reload, Image, DocumentFill, Company, EditFill, TrashFill, MessageSquareFill, UserAddFill
|
|
67
|
+
export { Ticket, Home, Boards, Notifications, Help, Settings, CrevronLeft, CrevronRight, ArrowLeft, Shared, ChevronDown, Collapse, Calendar, Close, UserPerson, Logout, ArrowUpDown, Filter, Search, Stars, MoreVert, Add, Edit, Upload, Copy, FaLock, AccountCircle, UserAdd, AttachFile, HistoryActivity, MessageSquare, CloseNavBarDesktop, EyeVisibility, EyeVisibilityOff, Check, Info, Error, TicketFilled, UploadCloud, Clock, Pause, FastForward, Trash, Sort, Cancel, CheckCircle, FormatColorText, CheckList, WhatsApp, File, Email, Download, Reload, Image, DocumentFill, Company, EditFill, TrashFill, MessageSquareFill, UserAddFill };
|
|
68
68
|
declare const Icons: {
|
|
69
69
|
readonly Ticket: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
70
70
|
readonly Home: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|