prometeo-design-system 1.0.8 → 1.0.9
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/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 +13 -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.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "design kit system",
|
|
7
7
|
"main": "dist/prometeo-design-system.umd.js",
|
|
@@ -35,8 +35,9 @@
|
|
|
35
35
|
"build": "tsc -b && vite build",
|
|
36
36
|
"lint": "eslint .",
|
|
37
37
|
"preview": "vite preview",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"clean": "rm -rf dist",
|
|
39
|
+
"storybook": "storybook dev -p 6006",
|
|
40
|
+
"build-storybook": "storybook build"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"shared-dependencies-tickets": "^1.0.11"
|
|
@@ -44,6 +45,9 @@
|
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@eslint/js": "^9.33.0",
|
|
46
47
|
"@gsap/react": "^2.1.2",
|
|
48
|
+
"@storybook/addon-docs": "^9.1.3",
|
|
49
|
+
"@storybook/addon-onboarding": "^9.1.3",
|
|
50
|
+
"@storybook/react-vite": "^9.1.3",
|
|
47
51
|
"@tailwindcss/vite": "^4.1.12",
|
|
48
52
|
"@types/node": "^24.3.0",
|
|
49
53
|
"@types/react": "^19.1.10",
|
|
@@ -54,6 +58,7 @@
|
|
|
54
58
|
"eslint": "^9.33.0",
|
|
55
59
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
56
60
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
61
|
+
"eslint-plugin-storybook": "^9.1.3",
|
|
57
62
|
"framer-motion": "^12.23.12",
|
|
58
63
|
"globals": "^16.3.0",
|
|
59
64
|
"lucide-react": "^0.542.0",
|
|
@@ -61,6 +66,8 @@
|
|
|
61
66
|
"react-dom": "^19.0.0",
|
|
62
67
|
"react-router": "^7.0.0",
|
|
63
68
|
"react-router-dom": "^7.8.2",
|
|
69
|
+
"react-spinners": "^0.17.0",
|
|
70
|
+
"storybook": "^9.1.3",
|
|
64
71
|
"tailwind-merge": "^3.3.1",
|
|
65
72
|
"tailwindcss": "^4.1.12",
|
|
66
73
|
"tw-animate-css": "^1.3.7",
|
|
@@ -81,6 +88,7 @@
|
|
|
81
88
|
"react-router": "^7.0.0",
|
|
82
89
|
"react-router-dom": "^7.0.0",
|
|
83
90
|
"tailwind-merge": "^3.0.0",
|
|
84
|
-
"use-debounce": "^10.0.0"
|
|
91
|
+
"use-debounce": "^10.0.0",
|
|
92
|
+
"react-spinners": "^0.17.0"
|
|
85
93
|
}
|
|
86
|
-
}
|
|
94
|
+
}
|
|
@@ -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;
|