prometeo-design-system 1.4.4 → 1.4.5
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/index.d.ts
CHANGED
|
@@ -28,10 +28,12 @@ export { NavbarLinks } from './components/Sidebar/components/nav-links';
|
|
|
28
28
|
export { useDialogControl } from './components/Dialog/useDialogControl';
|
|
29
29
|
export { useDrawerDesktop } from './components/Drawer/useDrawerDesktop';
|
|
30
30
|
export { useDrawerMobile } from './components/Drawer/useDrawerMobile';
|
|
31
|
+
export { SidebarProvider as SidebarRefProvider, useSidebarContext, } from './components/Sidebar/context/SidebarContext';
|
|
31
32
|
export { SidebarProvider } from './components/Sidebar/hooks/SidebarProvider';
|
|
32
33
|
export { useSidebar } from './components/Sidebar/hooks/useSidebarHook';
|
|
33
34
|
export { useClickOutside } from './hooks/useClickOutside';
|
|
34
35
|
export type { ButtonProps } from './components/Button/Button';
|
|
36
|
+
export type { ISessionLocalStorage } from './components/CardProfile/CardProfile';
|
|
35
37
|
export type { ICheckboxFormik } from './components/CheckboxFormik/CheckboxFormik';
|
|
36
38
|
export type { IHeader } from './components/Header/Header';
|
|
37
39
|
export type { InputProps, InputSize, InputVariant, } from './components/Input/Input';
|
|
@@ -43,7 +45,6 @@ export type { NavbarCollapseButtonProps } from './components/Sidebar/components/
|
|
|
43
45
|
export type { CompanyLogoProps } from './components/Sidebar/components/company-logo';
|
|
44
46
|
export type { INavbarActionsProps } from './components/Sidebar/components/nav-actions';
|
|
45
47
|
export type { NavbarLinksProps } from './components/Sidebar/components/nav-links';
|
|
46
|
-
export type { ISessionLocalStorage } from './components/CardProfile/CardProfile';
|
|
47
48
|
export type { INavAction, INavLink, Role, RoleLevels, } from './components/Sidebar/hooks/useNavLinks';
|
|
48
49
|
export type { SidebarContextValue } from './components/Sidebar/hooks/useSidebarHook';
|
|
49
50
|
export type { SpinnerProps, SpinnerSize, SpinnerVariant, } from './components/Spinner/Spinner';
|
|
@@ -294,7 +294,7 @@ var p = ec();
|
|
|
294
294
|
function tc({
|
|
295
295
|
profileImage: n,
|
|
296
296
|
sizeImage: e = "w-36 h-36",
|
|
297
|
-
fallbackText: t = "
|
|
297
|
+
fallbackText: t = "Matias tejerina"
|
|
298
298
|
}) {
|
|
299
299
|
const [r, i] = De(!1), a = n && n.trim() !== "" && !r, o = (s) => s.split(" ").map((l) => l.charAt(0)).join("").toUpperCase().slice(0, 2);
|
|
300
300
|
return /* @__PURE__ */ p.jsx(p.Fragment, { children: a ? /* @__PURE__ */ p.jsx(
|
|
@@ -10803,6 +10803,7 @@ export {
|
|
|
10803
10803
|
nh as Select,
|
|
10804
10804
|
sh as Sidebar,
|
|
10805
10805
|
wm as SidebarProvider,
|
|
10806
|
+
Jp as SidebarRefProvider,
|
|
10806
10807
|
Cs as Spinner,
|
|
10807
10808
|
rh as TabLinks,
|
|
10808
10809
|
Wp as Table,
|
|
@@ -10820,5 +10821,6 @@ export {
|
|
|
10820
10821
|
gh as useDrawerDesktop,
|
|
10821
10822
|
xh as useDrawerMobile,
|
|
10822
10823
|
fh as useNavbarCollapse,
|
|
10823
|
-
bm as useSidebar
|
|
10824
|
+
bm as useSidebar,
|
|
10825
|
+
Rs as useSidebarContext
|
|
10824
10826
|
};
|