prometeo-design-system 1.0.8 → 1.0.10
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/Icons/Icons.d.ts +10 -0
- package/dist/components/Avatar/Avatar.d.ts +5 -0
- package/dist/components/Button/Button.d.ts +5 -3
- package/dist/components/Input/Input.d.ts +11 -7
- package/dist/components/InputFormik/InputFormik.d.ts +14 -0
- package/dist/components/Menu/Menu.d.ts +1 -1
- package/dist/components/Pagination/Pagination.d.ts +6 -0
- package/dist/components/Select/Select.d.ts +36 -0
- package/dist/components/Sidebar/SidebarComposable.d.ts +40 -0
- package/dist/components/Sidebar/components/NavigationLink.d.ts +11 -0
- package/dist/components/Sidebar/components/ProfileSection.d.ts +11 -0
- package/dist/components/Sidebar/components/badge.d.ts +7 -2
- package/dist/components/Sidebar/components/user-profile.d.ts +1 -1
- package/dist/components/Sidebar/hooks/useSidebar.d.ts +9 -0
- package/dist/components/Sidebar/index.d.ts +11 -0
- package/dist/components/Sidebar/ui/useNavbarAnimation.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +12 -0
- package/dist/index.d.ts +11 -4
- package/dist/prometeo-design-system.css +1 -1
- package/dist/prometeo-design-system.es.js +3338 -2571
- package/dist/prometeo-design-system.umd.js +19 -7
- package/package.json +16 -5
- package/dist/components/Sidebar/Sidebar.d.ts +0 -20
- package/dist/components/UserProfile/UserProfile.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prometeo-design-system",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "design kit system",
|
|
7
7
|
"main": "dist/prometeo-design-system.umd.js",
|
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
"build": "tsc -b && vite build",
|
|
36
36
|
"lint": "eslint .",
|
|
37
37
|
"preview": "vite preview",
|
|
38
|
-
"
|
|
39
|
-
|
|
38
|
+
"clean": "rm -rf dist",
|
|
39
|
+
|
|
40
|
+
"storybook": "storybook dev -p 6006",
|
|
41
|
+
"build-storybook": "storybook build"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
44
|
"shared-dependencies-tickets": "^1.0.11"
|
|
@@ -44,6 +46,9 @@
|
|
|
44
46
|
"devDependencies": {
|
|
45
47
|
"@eslint/js": "^9.33.0",
|
|
46
48
|
"@gsap/react": "^2.1.2",
|
|
49
|
+
"@storybook/addon-docs": "^9.1.3",
|
|
50
|
+
"@storybook/addon-onboarding": "^9.1.3",
|
|
51
|
+
"@storybook/react-vite": "^9.1.3",
|
|
47
52
|
"@tailwindcss/vite": "^4.1.12",
|
|
48
53
|
"@types/node": "^24.3.0",
|
|
49
54
|
"@types/react": "^19.1.10",
|
|
@@ -54,6 +59,8 @@
|
|
|
54
59
|
"eslint": "^9.33.0",
|
|
55
60
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
56
61
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
62
|
+
"eslint-plugin-storybook": "^9.1.3",
|
|
63
|
+
"formik": "^2.4.6",
|
|
57
64
|
"framer-motion": "^12.23.12",
|
|
58
65
|
"globals": "^16.3.0",
|
|
59
66
|
"lucide-react": "^0.542.0",
|
|
@@ -61,6 +68,8 @@
|
|
|
61
68
|
"react-dom": "^19.0.0",
|
|
62
69
|
"react-router": "^7.0.0",
|
|
63
70
|
"react-router-dom": "^7.8.2",
|
|
71
|
+
"react-spinners": "^0.17.0",
|
|
72
|
+
"storybook": "^9.1.3",
|
|
64
73
|
"tailwind-merge": "^3.3.1",
|
|
65
74
|
"tailwindcss": "^4.1.12",
|
|
66
75
|
"tw-animate-css": "^1.3.7",
|
|
@@ -80,7 +89,9 @@
|
|
|
80
89
|
"react-dom": "^19.0.0",
|
|
81
90
|
"react-router": "^7.0.0",
|
|
82
91
|
"react-router-dom": "^7.0.0",
|
|
92
|
+
"react-spinners": "^0.17.0",
|
|
83
93
|
"tailwind-merge": "^3.0.0",
|
|
84
|
-
"use-debounce": "^10.0.0"
|
|
94
|
+
"use-debounce": "^10.0.0",
|
|
95
|
+
"formik": "^2.4.6"
|
|
85
96
|
}
|
|
86
|
-
}
|
|
97
|
+
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { SessionLocalStorage } from '../../interfaces/User/SessionLocalStorage';
|
|
2
|
-
import { IUser } from 'shared-dependencies-tickets';
|
|
3
|
-
import { INavLink } from './hooks/useNavLinks';
|
|
4
|
-
export interface SidebarProps {
|
|
5
|
-
isNotificationModalOpen: boolean;
|
|
6
|
-
user: IUser;
|
|
7
|
-
sessions: SessionLocalStorage[];
|
|
8
|
-
handleLogout: (user: IUser) => void;
|
|
9
|
-
handleTokenLogin: (token: string) => void;
|
|
10
|
-
pageLinks: INavLink[];
|
|
11
|
-
utilLinks: INavLink[];
|
|
12
|
-
setIsActiveModalNotification: (isActiveModalNotification: boolean) => void;
|
|
13
|
-
isActiveModalNotification: boolean;
|
|
14
|
-
handleNotificationClick: () => void;
|
|
15
|
-
handleProfileClick?: () => void;
|
|
16
|
-
onLinkClick?: (path: string) => void;
|
|
17
|
-
isLinkActive: (path: string) => boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const Sidebar: ({ user, sessions, handleLogout, handleTokenLogin, pageLinks, utilLinks, isActiveModalNotification, handleNotificationClick, handleProfileClick, onLinkClick, isLinkActive }: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export default Sidebar;
|