payload-advanced-sidebar 1.0.1 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +10 -9
package/README.md CHANGED
@@ -75,6 +75,7 @@ export default buildConfig({
75
75
  | Option | Type | Default | Description |
76
76
  | :--- | :--- | :--- | :--- |
77
77
  | `enabled` | `boolean` | `true` | Set to `false` to easily disable the plugin entirely. |
78
+ | `animations` | `boolean` | `true` | Set to `false` to disable smooth expanding/collapsing animations for sidebar groups. |
78
79
  | `groups` | `Record<string, { icon?: string }>` | `{}` | Map your group names (e.g., `'E-commerce'`) to specific Lucide React icon names. |
79
80
  | `items` | `Record<string, { icon?: string }>` | `{}` | Map your collection/global slugs (e.g., `'posts'`) to specific Lucide React icon names. |
80
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload-advanced-sidebar",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "A Payload CMS 3.0 plugin to customize the admin sidebar with grouping, custom icons, and hide functionality.",
5
5
  "keywords": [
6
6
  "payload",
@@ -11,16 +11,16 @@
11
11
  "customization",
12
12
  "admin"
13
13
  ],
14
- "author": "Mahmoud Hassan",
15
- "license": "MIT",
14
+ "homepage": "https://github.com/Mhmod-Hsn/payload-advanced-sidebar#readme",
15
+ "bugs": {
16
+ "url": "https://github.com/Mhmod-Hsn/payload-advanced-sidebar/issues"
17
+ },
16
18
  "repository": {
17
19
  "type": "git",
18
20
  "url": "https://github.com/Mhmod-Hsn/payload-advanced-sidebar.git"
19
21
  },
20
- "bugs": {
21
- "url": "https://github.com/Mhmod-Hsn/payload-advanced-sidebar/issues"
22
- },
23
- "homepage": "https://github.com/Mhmod-Hsn/payload-advanced-sidebar#readme",
22
+ "license": "MIT",
23
+ "author": "Mahmoud Hassan",
24
24
  "type": "module",
25
25
  "exports": {
26
26
  ".": {
@@ -62,6 +62,9 @@
62
62
  "test:e2e": "playwright test",
63
63
  "test:int": "vitest"
64
64
  },
65
+ "dependencies": {
66
+ "lucide-react": "^1.17.0"
67
+ },
65
68
  "devDependencies": {
66
69
  "@eslint/eslintrc": "^3.2.0",
67
70
  "@payloadcms/db-mongodb": "3.84.1",
@@ -83,7 +86,6 @@
83
86
  "eslint": "^9.23.0",
84
87
  "eslint-config-next": "16.2.6",
85
88
  "graphql": "^16.8.1",
86
- "lucide-react": "^1.17.0",
87
89
  "mongodb-memory-server": "10.1.4",
88
90
  "next": "16.2.6",
89
91
  "open": "^10.1.0",
@@ -93,7 +95,6 @@
93
95
  "react": "19.2.6",
94
96
  "react-dom": "19.2.6",
95
97
  "rimraf": "3.0.2",
96
- "sass": "^1.100.0",
97
98
  "sharp": "0.34.2",
98
99
  "sort-package-json": "^2.10.0",
99
100
  "typescript": "5.7.3",