@nextsparkjs/theme-productivity 0.1.0-beta.50 → 0.1.0-beta.52

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.
@@ -53,6 +53,19 @@ export const DASHBOARD_CONFIG = {
53
53
  devtoolsAccess: {
54
54
  enabled: true,
55
55
  },
56
+ /**
57
+ * Settings menu dropdown (gear icon)
58
+ */
59
+ settingsMenu: {
60
+ enabled: true,
61
+ links: [
62
+ {
63
+ label: 'navigation.patterns',
64
+ href: '/dashboard/patterns',
65
+ icon: 'layers',
66
+ },
67
+ ],
68
+ },
56
69
  userMenu: {
57
70
  enabled: true,
58
71
  showAvatar: true,
@@ -82,6 +82,17 @@ export const PERMISSIONS_CONFIG_OVERRIDES: ThemePermissionsConfig = {
82
82
  { action: 'update', label: 'Edit cards', description: 'Can modify card information', roles: ['owner', 'admin', 'member'] },
83
83
  { action: 'delete', label: 'Delete cards', description: 'Can delete cards', roles: ['owner', 'admin'], dangerous: true },
84
84
  ],
85
+
86
+ // ------------------------------------------
87
+ // PATTERNS
88
+ // ------------------------------------------
89
+ patterns: [
90
+ { action: 'create', label: 'Create Patterns', description: 'Can create reusable patterns', roles: ['owner', 'admin'] },
91
+ { action: 'read', label: 'View Patterns', description: 'Can view pattern details', roles: ['owner', 'admin', 'member'] },
92
+ { action: 'list', label: 'List Patterns', description: 'Can see the patterns list', roles: ['owner', 'admin', 'member'] },
93
+ { action: 'update', label: 'Edit Patterns', description: 'Can modify patterns', roles: ['owner', 'admin'] },
94
+ { action: 'delete', label: 'Delete Patterns', description: 'Can delete patterns', roles: ['owner', 'admin'], dangerous: true },
95
+ ],
85
96
  },
86
97
 
87
98
  // ==========================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextsparkjs/theme-productivity",
3
- "version": "0.1.0-beta.50",
3
+ "version": "0.1.0-beta.52",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./config/theme.config.ts",
@@ -12,8 +12,8 @@
12
12
  "react": "^19.0.0",
13
13
  "react-dom": "^19.0.0",
14
14
  "zod": "^4.0.0",
15
- "@nextsparkjs/core": "0.1.0-beta.50",
16
- "@nextsparkjs/testing": "0.1.0-beta.50"
15
+ "@nextsparkjs/core": "0.1.0-beta.52",
16
+ "@nextsparkjs/testing": "0.1.0-beta.52"
17
17
  },
18
18
  "nextspark": {
19
19
  "type": "theme",