prometeo-design-system 3.0.0 → 3.0.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/Avatar.es.js +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/{CardProfile-WHoeSibd.js → CardProfile-BB-IP1MR.js} +1 -1
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +1 -1
- package/dist/DatePicker-odNBd49H.js +3628 -0
- package/dist/DatePicker.es.js +1 -1
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +1 -1
- package/dist/DrawerMobile.es.js +2 -1
- package/dist/DropZone.es.js +1 -1
- package/dist/FAButton.es.js +1 -1
- package/dist/Header.es.js +1 -1
- package/dist/{HelperComponent-BeNlTMqI.js → HelperComponent-D_Cqdf1J.js} +1 -1
- package/dist/Icons.es.js +224 -237
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-WKzUevOQ.js → ImageGallery-CjaJ0UCN.js} +1 -1
- package/dist/ImageGallery.es.js +1 -1
- package/dist/{Input-Cf8P1QJv.js → Input-CLsH2Ea0.js} +2 -2
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +1 -1
- package/dist/{LayoutGeneric-CbaoatQB.js → LayoutGeneric-B6E-yOYJ.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +1 -1
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +1 -1
- 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-DeKi15Iu.js → Select-Co4rzd96.js} +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +1 -1
- package/dist/components/NavigationDrawer/NavItem.d.ts +15 -0
- package/dist/components/NavigationDrawer/NavigationDrawer.d.ts +24 -1
- package/dist/components/PyrionNavigationDrawer/PyirionNavigationDrawer.d.ts +38 -0
- package/dist/exports/Icons.d.ts +2 -1
- package/dist/{jsx-runtime-DKDX3adD.js → jsx-runtime-ByW6EXIE.js} +96 -94
- package/dist/prometeo-design-system.es.js +8 -8
- package/dist/styles.css +1 -1
- package/package.json +294 -294
- package/src/styles/app.css +1 -1
- package/src/styles/base.css +1332 -1331
- package/src/styles/fonts.css +45 -45
- package/src/styles/palette.css +83 -83
- package/dist/DatePicker-CbXUUnv7.js +0 -3568
package/dist/Image.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as n } from "./jsx-runtime-
|
|
1
|
+
import { j as n } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { memo as P, useState as x, useRef as E, useCallback as w, useEffect as N } from "react";
|
|
3
3
|
import R from "./Spinner.es.js";
|
|
4
4
|
import { c as u } from "./cn-B6yFEsav.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "./jsx-runtime-
|
|
1
|
+
import { j as t } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import Q, { memo as M, forwardRef as A, useRef as v, useEffect as ee, useCallback as i, useState as R, useImperativeHandle as te } from "react";
|
|
3
3
|
import { c as X } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { u as ne } from "./useDragScroll-CHN9OMwn.js";
|
package/dist/ImageGallery.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { EyeVisibility as _, EyeVisibilityOff as q, Close as V } from "./Icons.es.js";
|
|
3
3
|
import { c as t } from "./cn-B6yFEsav.js";
|
|
4
4
|
import { useRef as F, useLayoutEffect as ee, memo as te, forwardRef as re, useState as oe } from "react";
|
|
5
5
|
import le from "./Spinner.es.js";
|
|
6
|
-
import { H as se } from "./HelperComponent-
|
|
6
|
+
import { H as se } from "./HelperComponent-D_Cqdf1J.js";
|
|
7
7
|
const ae = (o) => {
|
|
8
8
|
let e = o;
|
|
9
9
|
for (; e && e !== document.body; ) {
|
package/dist/Input.es.js
CHANGED
package/dist/InputMultiple.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { Close as Z, Info as T, Error as ee } from "./Icons.es.js";
|
|
3
3
|
import { c as d } from "./cn-B6yFEsav.js";
|
|
4
4
|
import M, { useRef as _, useState as x, useCallback as te, useEffect as re } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as n } from "./jsx-runtime-
|
|
1
|
+
import { j as n } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { useRef as o, createContext as c, useContext as l, memo as d } from "react";
|
|
3
3
|
const a = c(null), x = ({ children: e }) => {
|
|
4
4
|
const r = o(null), s = o(null), u = (t) => {
|
package/dist/LayoutGeneric.es.js
CHANGED
package/dist/Logo.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { TicketFilled as t } from "./Icons.es.js";
|
|
3
3
|
const s = () => /* @__PURE__ */ e.jsxs("div", { className: "container-logo flex items-center justify-center gap-1 bg-linear-to-br from-[#312C85] to-[#1E1A4D] rounded-md min-w-[185px]", children: [
|
|
4
4
|
/* @__PURE__ */ e.jsx(t, { size: 28, className: "rotate-140 text-primary-medium-pressed icon-logo" }),
|
package/dist/Menu.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { c as r } from "./cn-B6yFEsav.js";
|
|
3
3
|
import { AnimatePresence as n, motion as o } from "framer-motion";
|
|
4
4
|
const s = ({ menuRef: t, children: a, className: i }) => /* @__PURE__ */ e.jsx("div", { ref: t, className: r("flex bg-neutral-default-default absolute bottom-10 left-24 border border-neutral-strong-default h-auto w-60 rounded-md px-2", i), children: /* @__PURE__ */ e.jsx(n, { mode: "wait", children: /* @__PURE__ */ e.jsx(
|
package/dist/OtpInput.es.js
CHANGED
package/dist/Pagination.es.js
CHANGED
package/dist/ProgressBar.es.js
CHANGED
package/dist/RadioButton.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as e } from "./jsx-runtime-
|
|
1
|
+
import { j as e } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { c as t } from "./cn-B6yFEsav.js";
|
|
3
3
|
import { memo as x, forwardRef as k, useRef as g, useEffect as y } from "react";
|
|
4
|
-
import { H as j } from "./HelperComponent-
|
|
4
|
+
import { H as j } from "./HelperComponent-D_Cqdf1J.js";
|
|
5
5
|
const s = k((n, a) => {
|
|
6
6
|
const r = g(null);
|
|
7
7
|
y(() => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { j as r } from "./jsx-runtime-
|
|
1
|
+
import { j as r } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import O, { useMemo as D, memo as b, useRef as M, useCallback as g, useState as L, useEffect as W } from "react";
|
|
3
|
-
import { D as I } from "./DatePicker-
|
|
4
|
-
import { S as f } from "./Select-
|
|
5
|
-
import { I as R } from "./Input-
|
|
3
|
+
import { D as I } from "./DatePicker-odNBd49H.js";
|
|
4
|
+
import { S as f } from "./Select-Co4rzd96.js";
|
|
5
|
+
import { I as R } from "./Input-CLsH2Ea0.js";
|
|
6
6
|
import _ from "./CheckBox.es.js";
|
|
7
7
|
import { c as p } from "./cn-B6yFEsav.js";
|
|
8
|
-
import { H as A } from "./HelperComponent-
|
|
8
|
+
import { H as A } from "./HelperComponent-D_Cqdf1J.js";
|
|
9
9
|
import w from "./RadioButton.es.js";
|
|
10
10
|
const B = [
|
|
11
11
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as J } from "./jsx-runtime-
|
|
1
|
+
import { j as J } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { memo as Ie, useState as he, useRef as _e, useEffect as ye } from "react";
|
|
3
3
|
import { RecurrentDatePicker as We } from "./RecurrentDatePicker.es.js";
|
|
4
|
-
import { C as He } from "./DatePicker-
|
|
4
|
+
import { C as He } from "./DatePicker-odNBd49H.js";
|
|
5
5
|
var re = [
|
|
6
6
|
"MO",
|
|
7
7
|
"TU",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as s } from "./jsx-runtime-
|
|
1
|
+
import { j as s } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
2
|
import { Close as Qe, Cancel as Xe, ChevronDown as Ue, Search as Ye } from "./Icons.es.js";
|
|
3
3
|
import { c as f } from "./cn-B6yFEsav.js";
|
|
4
4
|
import Ne, { memo as Z, useState as De, useRef as ce, useMemo as oe, useCallback as U, useEffect as ve, useImperativeHandle as Ze } from "react";
|
|
5
5
|
import et from "./Spinner.es.js";
|
|
6
6
|
import { createPortal as tt } from "react-dom";
|
|
7
7
|
import { u as nt } from "./useDragScroll-CHN9OMwn.js";
|
|
8
|
-
import { u as rt, I as lt } from "./Input-
|
|
9
|
-
import { H as ot } from "./HelperComponent-
|
|
8
|
+
import { u as rt, I as lt } from "./Input-CLsH2Ea0.js";
|
|
9
|
+
import { H as ot } from "./HelperComponent-D_Cqdf1J.js";
|
|
10
10
|
import st from "./CheckBox.es.js";
|
|
11
11
|
import Ke from "./Skeleton.es.js";
|
|
12
12
|
const at = {
|
package/dist/Select.es.js
CHANGED
package/dist/SelectSearch.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as G } from "./jsx-runtime-
|
|
2
|
-
import { g as i, S as H } from "./Select-
|
|
1
|
+
import { j as G } from "./jsx-runtime-ByW6EXIE.js";
|
|
2
|
+
import { g as i, S as H } from "./Select-Co4rzd96.js";
|
|
3
3
|
import { useState as T, useRef as I, useEffect as h, useMemo as Q, useCallback as X } from "react";
|
|
4
4
|
function te(e) {
|
|
5
5
|
const {
|
package/dist/Skeleton.es.js
CHANGED
package/dist/Spinner.es.js
CHANGED
package/dist/Steps.es.js
CHANGED
package/dist/Switch.es.js
CHANGED
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-ByW6EXIE.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/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-ByW6EXIE.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-ByW6EXIE.js";
|
|
2
2
|
import { Close as f } from "./Icons.es.js";
|
|
3
3
|
import { AnimatePresence as p, motion as n } from "framer-motion";
|
|
4
4
|
import { useState as x, cloneElement as b } from "react";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconComponent } from '../../Icons/Icons';
|
|
2
|
+
export interface NavItemProps {
|
|
3
|
+
path: string;
|
|
4
|
+
title: string;
|
|
5
|
+
icon?: IconComponent;
|
|
6
|
+
isView?: boolean | (() => boolean);
|
|
7
|
+
relatedPaths?: string[];
|
|
8
|
+
count?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
isSelected?: boolean;
|
|
11
|
+
isCollapsed?: boolean;
|
|
12
|
+
onClick?: (path: string) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const NavItem: import('react').MemoExoticComponent<(props: NavItemProps) => import("react/jsx-runtime").JSX.Element>;
|
|
15
|
+
export default NavItem;
|
|
@@ -2,5 +2,28 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export interface NavigationDrawerProps {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const NavigationDrawer: import('react').
|
|
5
|
+
declare const NavigationDrawer: import('react').NamedExoticComponent<NavigationDrawerProps> & {
|
|
6
|
+
readonly type: (props: NavigationDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
} & {
|
|
8
|
+
Root: import('react').MemoExoticComponent<(props: NavigationDrawerProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
|
+
Header: ({ children, className }: {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
Content: ({ children, className }: {
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
Footer: ({ children, className }: {
|
|
18
|
+
children: ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
Spacer: ({ className }: {
|
|
22
|
+
className?: string;
|
|
23
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
Outlet: ({ children, className }: {
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
className?: string;
|
|
27
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
};
|
|
6
29
|
export default NavigationDrawer;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { NavLinkProps } from 'react-router';
|
|
3
|
+
type TProduct = {
|
|
4
|
+
name: string;
|
|
5
|
+
domain: string;
|
|
6
|
+
active: boolean;
|
|
7
|
+
coverImage?: string;
|
|
8
|
+
thumbnail?: string;
|
|
9
|
+
};
|
|
10
|
+
type TCompany = {
|
|
11
|
+
name: string;
|
|
12
|
+
products?: TProduct[];
|
|
13
|
+
icon?: string;
|
|
14
|
+
};
|
|
15
|
+
type TSystem = {
|
|
16
|
+
name: string;
|
|
17
|
+
url: string;
|
|
18
|
+
coverImage?: string;
|
|
19
|
+
thumbnail?: string;
|
|
20
|
+
};
|
|
21
|
+
type TUser = {
|
|
22
|
+
name: string;
|
|
23
|
+
surname?: string;
|
|
24
|
+
email?: string;
|
|
25
|
+
profile_picture?: string;
|
|
26
|
+
area?: string;
|
|
27
|
+
};
|
|
28
|
+
export interface PyirionNavigationDrawerProps {
|
|
29
|
+
navlinks?: NavLinkProps[];
|
|
30
|
+
children?: ReactNode;
|
|
31
|
+
state: {
|
|
32
|
+
company: TCompany;
|
|
33
|
+
enabled_systems: TSystem[];
|
|
34
|
+
user: TUser;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
declare const PyirionNavigationDrawer: ({ children, state }: PyirionNavigationDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
export default PyirionNavigationDrawer;
|
package/dist/exports/Icons.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
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, } from '../Icons/Icons';
|
|
2
|
+
export type { IconProps, IconName, IconComponent } from '../Icons/Icons';
|