prometeo-design-system 4.6.2 → 4.6.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.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/Chip.es.js +1 -1
- package/dist/DatePicker-n6qm0fey.js +3573 -0
- package/dist/DatePicker.es.js +1 -1
- package/dist/DialogModal.es.js +144 -70
- package/dist/DrawerDesktop.es.js +36 -34
- package/dist/DrawerMobile.es.js +1 -1
- package/dist/DropZone.es.js +1 -1
- package/dist/FAButton.es.js +1 -1
- package/dist/Header.es.js +8 -9
- package/dist/{HelperComponent-ljsn0xD6.js → HelperComponent-DhGU_ug-.js} +1 -1
- package/dist/IconButton.es.js +3 -3
- package/dist/Icons/AccountCircle.es.js +1 -1
- package/dist/Icons/Add.es.js +1 -1
- package/dist/Icons/ArrowDownward.es.js +1 -1
- package/dist/Icons/ArrowLeft.es.js +1 -1
- package/dist/Icons/ArrowUpDown.es.js +1 -1
- package/dist/Icons/ArrowUpward.es.js +1 -1
- package/dist/Icons/AttachFile.es.js +1 -1
- package/dist/Icons/Boards.es.js +1 -1
- package/dist/Icons/Calendar.es.js +1 -1
- package/dist/Icons/Cancel.es.js +1 -1
- package/dist/Icons/Check.es.js +1 -1
- package/dist/Icons/CheckCircle.es.js +1 -1
- package/dist/Icons/CheckList.es.js +1 -1
- package/dist/Icons/ChevronDown.es.js +1 -1
- package/dist/Icons/Clock.es.js +1 -1
- package/dist/Icons/Close.es.js +1 -1
- package/dist/Icons/CloseNavBarDesktop.es.js +1 -1
- package/dist/Icons/Collapse.es.js +1 -1
- package/dist/Icons/Company.es.js +1 -1
- package/dist/Icons/Copy.es.js +1 -1
- package/dist/Icons/CrevronLeft.es.js +1 -1
- package/dist/Icons/CrevronRight.es.js +1 -1
- package/dist/Icons/DocumentFill.es.js +1 -1
- package/dist/Icons/Download.es.js +1 -1
- package/dist/Icons/DragIndicator.es.js +1 -1
- package/dist/Icons/Edit.es.js +1 -1
- package/dist/Icons/EditFill.es.js +1 -1
- package/dist/Icons/Email.es.js +1 -1
- package/dist/Icons/Error.es.js +1 -1
- package/dist/Icons/EyeVisibility.es.js +1 -1
- package/dist/Icons/EyeVisibilityOff.es.js +1 -1
- package/dist/Icons/FaLock.es.js +1 -1
- package/dist/Icons/FastForward.es.js +1 -1
- package/dist/Icons/File.es.js +1 -1
- package/dist/Icons/Filter.es.js +1 -1
- package/dist/Icons/FormatColorText.es.js +1 -1
- package/dist/Icons/Help.es.js +1 -1
- package/dist/Icons/HistoryActivity.es.js +1 -1
- package/dist/Icons/Home.es.js +1 -1
- package/dist/Icons/Image.es.js +1 -1
- package/dist/Icons/Info.es.js +1 -1
- package/dist/Icons/Logout.es.js +1 -1
- package/dist/Icons/MessageSquare.es.js +1 -1
- package/dist/Icons/MessageSquareFill.es.js +1 -1
- package/dist/Icons/MoreVert.es.js +1 -1
- package/dist/Icons/Notifications.es.js +1 -1
- package/dist/Icons/Pause.es.js +1 -1
- package/dist/Icons/Reassignment.es.js +1 -1
- package/dist/Icons/ReassignmentFill.es.js +1 -1
- package/dist/Icons/Reload.es.js +1 -1
- package/dist/Icons/Search.es.js +1 -1
- package/dist/Icons/Send.es.js +1 -1
- package/dist/Icons/Settings.es.js +1 -1
- package/dist/Icons/Shared.es.js +1 -1
- package/dist/Icons/Sort.es.js +1 -1
- package/dist/Icons/StarFill.es.js +1 -1
- package/dist/Icons/Stars.es.js +1 -1
- package/dist/Icons/Ticket.es.js +1 -1
- package/dist/Icons/TicketFilled.es.js +1 -1
- package/dist/Icons/Trash.es.js +1 -1
- package/dist/Icons/TrashFill.es.js +1 -1
- package/dist/Icons/Upload.es.js +1 -1
- package/dist/Icons/UploadCloud.es.js +1 -1
- package/dist/Icons/UserAdd.es.js +1 -1
- package/dist/Icons/UserAddFill.es.js +1 -1
- package/dist/Icons/UserAvatar.es.js +1 -1
- package/dist/Icons/UserPerson.es.js +1 -1
- package/dist/Icons/WhatsApp.es.js +1 -1
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-DG9ovlQ-.js → ImageGallery-4DdXqwRy.js} +1 -1
- package/dist/ImageGallery.es.js +1 -1
- package/dist/Input.es.js +2 -2
- package/dist/InputMultiple.es.js +1 -1
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/NotificationCard.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- package/dist/Pagination.es.js +1 -1
- package/dist/PlainTooltip.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/PyrionLayout.es.js +333 -363
- package/dist/RadioButton.es.js +2 -2
- package/dist/RecurrentDatePicker.es.js +3 -3
- package/dist/RecurrentDatePickerRRule.es.js +4 -2
- package/dist/Scrollable.es.js +1 -1
- package/dist/SegmentedButton.es.js +1 -1
- package/dist/Select.es.js +558 -557
- package/dist/SelectSearch.es.js +1 -1
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +1 -1
- package/dist/Switch.es.js +7 -7
- package/dist/{TabLinks-DnoWdrdk.js → TabLinks-C0ywjYt-.js} +2 -2
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/TicketCard.es.js +1 -1
- package/dist/Toast.es.js +1 -1
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/UserCard.es.js +1 -1
- package/dist/{badge-BEx-0Q-K.js → badge-CiiB9SGl.js} +1 -1
- package/dist/components/Dialog/Dialog.d.ts +15 -4
- package/dist/components/Select/Select.d.ts +1 -0
- package/dist/{jsx-runtime-GkKLlHH4.js → jsx-runtime-DKDX3adD.js} +20 -2
- package/dist/prometeo-design-system.es.js +5 -5
- package/package.json +1 -1
- package/dist/DatePicker-QuBgR5DQ.js +0 -3738
package/dist/SelectSearch.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as Y } from "./jsx-runtime-
|
|
1
|
+
import { j as Y } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { g as i } from "./utils-X4-h3cum.js";
|
|
3
3
|
import { useState as A, useRef as E, useEffect as b, useMemo as ee, useCallback as ne } from "react";
|
|
4
4
|
import Z from "./Select.es.js";
|
package/dist/Skeleton.es.js
CHANGED
package/dist/Spinner.es.js
CHANGED
package/dist/Steps.es.js
CHANGED
package/dist/Switch.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-
|
|
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
|
-
import { motion as
|
|
5
|
-
const
|
|
4
|
+
import { motion as c } from "framer-motion";
|
|
5
|
+
const l = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
6
6
|
const n = b(null), h = (u) => {
|
|
7
7
|
if (!n.current || t) return;
|
|
8
8
|
u.preventDefault(), u.stopPropagation();
|
|
@@ -59,7 +59,7 @@ const c = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
59
59
|
i[e][s].container
|
|
60
60
|
),
|
|
61
61
|
children: /* @__PURE__ */ a.jsx(
|
|
62
|
-
|
|
62
|
+
c.span,
|
|
63
63
|
{
|
|
64
64
|
animate: m[e],
|
|
65
65
|
whileHover: t ? {} : {
|
|
@@ -70,7 +70,7 @@ const c = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
70
70
|
"size-10 aspect-square rounded-full absolute top-1/2 -translate-y-1/2"
|
|
71
71
|
),
|
|
72
72
|
children: /* @__PURE__ */ a.jsx(
|
|
73
|
-
|
|
73
|
+
c.span,
|
|
74
74
|
{
|
|
75
75
|
animate: p[e],
|
|
76
76
|
whileTap: t ? {} : {
|
|
@@ -89,8 +89,8 @@ const c = ({ name: d, value: o, onChange: f, disabled: t = !1 }) => {
|
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
91
|
};
|
|
92
|
-
|
|
93
|
-
const y = w(
|
|
92
|
+
l.displayName = "Switch";
|
|
93
|
+
const y = w(l);
|
|
94
94
|
export {
|
|
95
95
|
y as Switch,
|
|
96
96
|
y as default
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as i } from "./jsx-runtime-
|
|
1
|
+
import { j as i } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { motion as I } from "framer-motion";
|
|
3
3
|
import { memo as $, useId as w, useRef as z, useEffect as E, isValidElement as L } from "react";
|
|
4
4
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
5
5
|
import M from "./PlainTooltip.es.js";
|
|
6
|
-
const R =
|
|
6
|
+
const R = Symbol.for("react.memo"), S = (e, a, n) => {
|
|
7
7
|
if (!e)
|
|
8
8
|
return null;
|
|
9
9
|
if (typeof e == "function") {
|
package/dist/TabLinks.es.js
CHANGED
package/dist/Table.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
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(
|
package/dist/TextArea.es.js
CHANGED
package/dist/TicketCard.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as l } from "./jsx-runtime-
|
|
1
|
+
import { j as l } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { g as L } from "./useLabelBackground-D5SzHhl_.js";
|
|
3
3
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { memo as O, useState as y, useCallback as x, useImperativeHandle as S, Children as A, isValidElement as B, cloneElement as k, useRef as w, useLayoutEffect as N, useEffect as z } from "react";
|
package/dist/Toast.es.js
CHANGED
package/dist/ToastProvider.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-DKDX3adD.js";
|
|
2
2
|
import { Toaster as r } from "sonner";
|
|
3
3
|
const i = ({ ...o }) => /* @__PURE__ */ t.jsx(r, { ...o, position: "bottom-right", richColors: !1, theme: "light" });
|
|
4
4
|
export {
|
package/dist/Tooltip.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
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 { Close as b } from "./Icons/Close.es.js";
|
package/dist/UserCard.es.js
CHANGED
|
@@ -5,6 +5,9 @@ interface DialogProps<TContext = unknown> {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
zindex?: number;
|
|
7
7
|
attachToParent?: boolean;
|
|
8
|
+
debugMode?: boolean;
|
|
9
|
+
safeMarginSize?: number;
|
|
10
|
+
scroll?: 'content' | 'dialog';
|
|
8
11
|
}
|
|
9
12
|
export interface DialogHandle<TContext = unknown> {
|
|
10
13
|
open: (context?: TContext) => void;
|
|
@@ -15,23 +18,31 @@ export interface DialogHandle<TContext = unknown> {
|
|
|
15
18
|
interface DialogContentProps {
|
|
16
19
|
children?: React.ReactNode;
|
|
17
20
|
className?: string;
|
|
21
|
+
debugMode?: boolean;
|
|
22
|
+
scroll?: 'content' | 'dialog';
|
|
18
23
|
}
|
|
19
24
|
interface DialogTitleProps {
|
|
20
25
|
children?: React.ReactNode;
|
|
21
26
|
className?: string;
|
|
27
|
+
debugMode?: boolean;
|
|
22
28
|
}
|
|
23
29
|
interface DialogHeaderProps {
|
|
24
30
|
children?: React.ReactNode;
|
|
25
31
|
className?: string;
|
|
32
|
+
title?: string;
|
|
33
|
+
debugMode?: boolean;
|
|
26
34
|
}
|
|
27
35
|
interface DialogFooterProps {
|
|
28
36
|
children?: React.ReactNode;
|
|
29
37
|
className?: string;
|
|
38
|
+
debugMode?: boolean;
|
|
30
39
|
}
|
|
31
40
|
declare const DialogModal: import('react').ForwardRefExoticComponent<DialogProps<any> & import('react').RefAttributes<DialogHandle<any>>> & {
|
|
32
|
-
Content: import('react').MemoExoticComponent<({ children, className }: DialogContentProps
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
41
|
+
Content: import('react').MemoExoticComponent<({ children, className, debugMode, scroll }: DialogContentProps & {
|
|
42
|
+
scroll?: "content" | "dialog";
|
|
43
|
+
}) => import("react/jsx-runtime").JSX.Element>;
|
|
44
|
+
Header: import('react').MemoExoticComponent<({ children, className, title, debugMode }: DialogHeaderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
45
|
+
Footer: import('react').MemoExoticComponent<({ children, className, debugMode }: DialogFooterProps) => import("react/jsx-runtime").JSX.Element>;
|
|
46
|
+
Title: import('react').MemoExoticComponent<({ children, className, debugMode }: DialogTitleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
36
47
|
};
|
|
37
48
|
export default DialogModal;
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import K from "react";
|
|
2
2
|
var v = { exports: {} }, m = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
3
12
|
var I;
|
|
4
13
|
function ee() {
|
|
5
14
|
if (I) return m;
|
|
6
15
|
I = 1;
|
|
7
|
-
var l =
|
|
16
|
+
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
8
17
|
function c(i, o, s) {
|
|
9
18
|
var f = null;
|
|
10
19
|
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
@@ -23,6 +32,15 @@ function ee() {
|
|
|
23
32
|
return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
|
|
24
33
|
}
|
|
25
34
|
var _ = {};
|
|
35
|
+
/**
|
|
36
|
+
* @license React
|
|
37
|
+
* react-jsx-runtime.development.js
|
|
38
|
+
*
|
|
39
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the MIT license found in the
|
|
42
|
+
* LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
26
44
|
var $;
|
|
27
45
|
function re() {
|
|
28
46
|
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
@@ -218,7 +236,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
218
236
|
function y(e) {
|
|
219
237
|
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
220
238
|
}
|
|
221
|
-
var E = K, j =
|
|
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() {
|
|
222
240
|
return null;
|
|
223
241
|
};
|
|
224
242
|
E = {
|
|
@@ -17,25 +17,25 @@ import { default as te } from "./Select.es.js";
|
|
|
17
17
|
import { default as oe } from "./Spinner.es.js";
|
|
18
18
|
import { default as se } from "./Steps.es.js";
|
|
19
19
|
import { default as fe } from "./Switch.es.js";
|
|
20
|
-
import { D as ne } from "./DatePicker-
|
|
20
|
+
import { D as ne } from "./DatePicker-n6qm0fey.js";
|
|
21
21
|
import { RecurrentDatePicker as me } from "./RecurrentDatePicker.es.js";
|
|
22
22
|
import { RecurrentDatePickerRRule as ie } from "./RecurrentDatePickerRRule.es.js";
|
|
23
23
|
import { default as ce } from "./IconButton.es.js";
|
|
24
24
|
import { Table as De, TableBody as ve, TableCaption as Te, TableCell as ge, TableFooter as ke, TableHead as he, TableHeader as Be, TableRow as Ce } from "./Table.es.js";
|
|
25
|
-
import { T as Ee } from "./TabLinks-
|
|
25
|
+
import { T as Ee } from "./TabLinks-C0ywjYt-.js";
|
|
26
26
|
import { default as Re } from "./TextArea.es.js";
|
|
27
27
|
import { default as Ie } from "./Tooltip.es.js";
|
|
28
28
|
import { default as Le } from "./Skeleton.es.js";
|
|
29
29
|
import { default as je } from "./SegmentedButton.es.js";
|
|
30
|
-
import { I as ye } from "./ImageGallery-
|
|
30
|
+
import { I as ye } from "./ImageGallery-4DdXqwRy.js";
|
|
31
31
|
import { default as Oe } from "./Image.es.js";
|
|
32
32
|
import { default as _e, toastpyrion as Ge } from "./Toast.es.js";
|
|
33
33
|
import { default as Ze } from "./ToastProvider.es.js";
|
|
34
34
|
import { default as Je } from "./SelectSearch.es.js";
|
|
35
35
|
import { default as Qe } from "./FAButton.es.js";
|
|
36
36
|
import { default as We } from "./RadioButton.es.js";
|
|
37
|
-
import { B as Ye } from "./badge-
|
|
38
|
-
import { j as s } from "./jsx-runtime-
|
|
37
|
+
import { B as Ye } from "./badge-CiiB9SGl.js";
|
|
38
|
+
import { j as s } from "./jsx-runtime-DKDX3adD.js";
|
|
39
39
|
import { CloseNavBarDesktop as l } from "./Icons/CloseNavBarDesktop.es.js";
|
|
40
40
|
import { default as Fe } from "./OtpInput.es.js";
|
|
41
41
|
import n, { useRef as p, useEffect as m } from "react";
|