prometeo-design-system 2.8.1 → 2.8.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/Button.es.js +5 -5
- package/dist/{CardProfile-CHUivLbW.js → CardProfile-WHoeSibd.js} +28 -28
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +4 -4
- package/dist/DatePicker.es.js +68 -68
- package/dist/DrawerDesktop.es.js +9 -9
- package/dist/DropZone.es.js +32 -32
- package/dist/FAButton.es.js +2 -2
- package/dist/HelperComponent-BeNlTMqI.js +24 -0
- package/dist/Icons/Icons.d.ts +2 -2
- package/dist/Icons.es.js +1053 -2
- package/dist/{ImageGallery-TkgHO3JL.js → ImageGallery-WKzUevOQ.js} +43 -43
- package/dist/ImageGallery.es.js +1 -1
- package/dist/{Input-CsNlU1Hu.js → Input-Bdiozi8s.js} +7 -14
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +51 -51
- package/dist/Logo.es.js +3 -3
- package/dist/Menu.es.js +2 -2
- package/dist/OtpInput.es.js +68 -68
- package/dist/Pagination.es.js +1 -1
- package/dist/RadioButton.es.js +1 -1
- package/dist/{Select-D7Cs1OlG.js → Select-DpnghyhT.js} +4 -4
- package/dist/Select.es.js +1 -1
- package/dist/SelectSearch.es.js +1 -1
- package/dist/Steps.es.js +14 -14
- package/dist/TabLinks.es.js +2 -2
- package/dist/Table.es.js +2 -2
- package/dist/Toast.es.js +23 -23
- package/dist/Tooltip.es.js +7 -7
- package/dist/components/Spinner/SpinnerV2.d.ts +12 -0
- package/dist/components/Toaster/Toaster.d.ts +3 -3
- package/dist/exports/Icons.d.ts +1 -1
- package/dist/index.d.ts +0 -12
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +111 -122
- package/package.json +1 -23
- package/dist/CheckboxFormik.d.ts +0 -6
- package/dist/CheckboxFormik.es.js +0 -88
- package/dist/HelperComponent-CcGxM09g.js +0 -24
- package/dist/Icons-ChYkaR8R.js +0 -899
- package/dist/InputFormik.d.ts +0 -6
- package/dist/InputFormik.es.js +0 -213
- package/dist/InputFormikV2.d.ts +0 -6
- package/dist/InputFormikV2.es.js +0 -41
- package/dist/RadioButtonFormik.d.ts +0 -2
- package/dist/RadioButtonFormik.es.js +0 -30
- package/dist/SelectFormik.d.ts +0 -6
- package/dist/SelectFormik.es.js +0 -62
- package/dist/SelectFormikLegacy.d.ts +0 -6
- package/dist/SelectFormikLegacy.es.js +0 -194
- package/dist/components/CheckboxFormik/CheckboxFormik.d.ts +0 -12
- package/dist/components/InputFormik/InputFormik.d.ts +0 -23
- package/dist/components/InputFormik/InputFormikV2.d.ts +0 -6
- package/dist/components/RadioButtonFormik/RadioButtonFormik.d.ts +0 -8
- package/dist/components/SelectFormik/SelectFormik.d.ts +0 -8
- package/dist/components/SelectFormik/SelectFormikLegacy.d.ts +0 -21
- package/dist/exports/CheckboxFormik.d.ts +0 -2
- package/dist/exports/InputFormik.d.ts +0 -2
- package/dist/exports/InputFormikV2.d.ts +0 -2
- package/dist/exports/RadioButtonFormik.d.ts +0 -1
- package/dist/exports/SelectFormik.d.ts +0 -2
- package/dist/exports/SelectFormikLegacy.d.ts +0 -2
- package/dist/pages/Autocomplete.page.d.ts +0 -2
- package/dist/pages/ButtonsPage.d.ts +0 -2
- package/dist/pages/DatePicker.d.ts +0 -2
- package/dist/pages/DialogPage.d.ts +0 -2
- package/dist/pages/DrawersPage.d.ts +0 -2
- package/dist/pages/ImagesPage.d.ts +0 -2
- package/dist/pages/OtpPage.d.ts +0 -2
- package/dist/pages/RecurrentDatePicker.page.d.ts +0 -2
- package/dist/pages/SelectsPage.d.ts +0 -2
- package/dist/pages/Skeletons.d.ts +0 -2
- package/dist/pages/ToastsPage.d.ts +0 -2
- package/dist/preview/AutocompletePreview.d.ts +0 -2
- package/dist/preview/ButtonPreview.d.ts +0 -2
- package/dist/preview/DialogModalPreview.d.ts +0 -2
- package/dist/preview/DrawerMobilePreview.d.ts +0 -2
- package/dist/preview/Dropzone.d.ts +0 -2
- package/dist/preview/FABPreview.d.ts +0 -2
- package/dist/preview/IconsPreview.d.ts +0 -2
- package/dist/preview/ImagePreview.d.ts +0 -2
- package/dist/preview/InputsPreviews.d.ts +0 -2
- package/dist/preview/Layout.d.ts +0 -2
- package/dist/preview/OTPPreview.d.ts +0 -2
- package/dist/preview/RadioButtonPreview.d.ts +0 -2
- package/dist/preview/RecurrentDatePickerPreview.d.ts +0 -2
- package/dist/preview/SegmentedButtonPreview.d.ts +0 -2
- package/dist/preview/SelectPreview/CustomFooterExample.d.ts +0 -2
- package/dist/preview/SelectPreview/SelectGroupedOptionsPreview.d.ts +0 -2
- package/dist/preview/SelectPreview/SelectPreview.d.ts +0 -2
- package/dist/preview/SidebarPreview.d.ts +0 -2
- package/dist/preview/StepsPreview.d.ts +0 -2
- package/dist/preview/SwitchPreview.d.ts +0 -2
- package/dist/preview/TabLinks.d.ts +0 -2
- package/dist/preview/TablePreview.d.ts +0 -2
- package/dist/preview/TextArea.d.ts +0 -2
- package/dist/preview/ToastsPreview.d.ts +0 -2
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 = {
|
|
@@ -75,7 +75,7 @@ const h = {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
), y = (e) => {
|
|
78
|
-
const t = e.position || h, a = e.attachToParent || !1, i = e.color || "primary", s = e.icon || v
|
|
78
|
+
const t = e.position || h, a = e.attachToParent || !1, i = e.color || "primary", s = e.icon || v, o = e.disabled || !1, d = e.variant || "fill", l = /* @__PURE__ */ c.jsx(
|
|
79
79
|
"div",
|
|
80
80
|
{
|
|
81
81
|
style: {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as e } from "./jsx-runtime-DKDX3adD.js";
|
|
2
|
+
import { memo as i } from "react";
|
|
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
|
+
const { variant: t, className: m } = s, l = {
|
|
7
|
+
default: "text-neutral-medium-default pt-[1px]",
|
|
8
|
+
error: "text-error-medium-default pt-[1px]",
|
|
9
|
+
success: "text-success-medium-default"
|
|
10
|
+
}, c = {
|
|
11
|
+
default: /* @__PURE__ */ e.jsx(d, { size: 16, className: "text-neutral-medium-default " }),
|
|
12
|
+
error: /* @__PURE__ */ e.jsx(n, { size: 16, className: "text-error-medium-default" }),
|
|
13
|
+
success: /* @__PURE__ */ e.jsx(o, { size: 16, className: "text-success-medium-default" })
|
|
14
|
+
};
|
|
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
|
+
c[t],
|
|
17
|
+
/* @__PURE__ */ e.jsx("p", { className: r(" prometeo-fonts-body-small", l[t]), children: s.children })
|
|
18
|
+
] }) : s.children });
|
|
19
|
+
};
|
|
20
|
+
a.displayName = "HelperText";
|
|
21
|
+
const j = i(a);
|
|
22
|
+
export {
|
|
23
|
+
j as H
|
|
24
|
+
};
|
package/dist/Icons/Icons.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare const MessageSquare: import('react').MemoExoticComponent<(props: IconPro
|
|
|
39
39
|
declare const CloseNavBarDesktop: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
40
40
|
declare const EyeVisibility: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
41
41
|
declare const EyeVisibilityOff: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
42
|
-
|
|
42
|
+
declare const Check: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
43
43
|
declare const Info: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
44
44
|
declare const Error: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
45
45
|
declare const UploadCloud: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
@@ -64,6 +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
68
|
declare const Icons: {
|
|
68
69
|
readonly Ticket: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
69
70
|
readonly Home: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
@@ -127,6 +128,5 @@ declare const Icons: {
|
|
|
127
128
|
readonly UserAddFill: import('react').MemoExoticComponent<(props: IconProps) => ReactElement>;
|
|
128
129
|
};
|
|
129
130
|
export { Icons };
|
|
130
|
-
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, 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 };
|
|
131
131
|
export type IconName = keyof typeof Icons;
|
|
132
132
|
export type IconComponent = (typeof Icons)[IconName];
|