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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prometeo-design-system",
3
3
  "private": false,
4
- "version": "1.0.8",
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
- "prepublishOnly": "npm run lint && npm run build",
39
- "clean": "rm -rf dist"
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;
@@ -1,2 +0,0 @@
1
- declare const UserProfile: () => import("react/jsx-runtime").JSX.Element;
2
- export default UserProfile;