@campfire-interactive/shell-header 0.17.1 → 0.19.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.
- package/dist/index.js +43 -1
- package/package.json +41 -41
package/dist/index.js
CHANGED
|
@@ -83,6 +83,16 @@ var appCatalog = [
|
|
|
83
83
|
group: "planning",
|
|
84
84
|
localPort: 3200
|
|
85
85
|
},
|
|
86
|
+
{
|
|
87
|
+
id: "pm",
|
|
88
|
+
name: "Program Management",
|
|
89
|
+
icon: "GanttChart",
|
|
90
|
+
letter: "P",
|
|
91
|
+
color: "#e11d48",
|
|
92
|
+
byline: "Run won business from award to launch \u2014 milestones, changes, and financial performance against the quote.",
|
|
93
|
+
group: "planning",
|
|
94
|
+
localPort: 3130
|
|
95
|
+
},
|
|
86
96
|
// ── Engineering ─────────────────────────────────────────────────────────
|
|
87
97
|
{
|
|
88
98
|
id: "bom",
|
|
@@ -95,7 +105,30 @@ var appCatalog = [
|
|
|
95
105
|
group: "engineering",
|
|
96
106
|
localPort: 3700
|
|
97
107
|
},
|
|
108
|
+
{
|
|
109
|
+
id: "plant",
|
|
110
|
+
name: "Plant Management",
|
|
111
|
+
icon: "Factory",
|
|
112
|
+
letter: "P",
|
|
113
|
+
color: "#65a30d",
|
|
114
|
+
byline: "The operational home for your plants \u2014 footprint, capacity, and the plant records every app reads.",
|
|
115
|
+
group: "engineering",
|
|
116
|
+
localPort: 3140
|
|
117
|
+
},
|
|
98
118
|
// ── Platform services (available to everyone; no role gate) ─────────────
|
|
119
|
+
{
|
|
120
|
+
// Cross-suite reporting/dashboards — a platform service for everyone, like
|
|
121
|
+
// DMS. Violet identity, matching the app's own dark sidebar accent. (Close to
|
|
122
|
+
// identity's #8b5cf6, but that one is admin-gated and rarely seen here.)
|
|
123
|
+
id: "analytics",
|
|
124
|
+
name: "Dashboards",
|
|
125
|
+
icon: "BarChart3",
|
|
126
|
+
letter: "D",
|
|
127
|
+
color: "#7c3aed",
|
|
128
|
+
byline: "Cross-suite reporting on live data \u2014 win/loss, quote status, cost, and the long-range plan.",
|
|
129
|
+
group: "apps",
|
|
130
|
+
localPort: 3120
|
|
131
|
+
},
|
|
99
132
|
{
|
|
100
133
|
// Header title uses `name`; DMS wants its full name there, and it's hidden
|
|
101
134
|
// from the launcher (reached via the user-menu "Documents" link instead),
|
|
@@ -135,11 +168,16 @@ var appCatalog = [
|
|
|
135
168
|
path: "/admin/users"
|
|
136
169
|
},
|
|
137
170
|
{
|
|
171
|
+
// Cool charcoal (slate-700). Every other tile here is a saturated hue
|
|
172
|
+
// standing for a persona's product; integrations is plumbing that carries
|
|
173
|
+
// other apps' data, and a neutral says that better than a colour competing
|
|
174
|
+
// with them. Cool rather than warm so it sits with the blues above instead
|
|
175
|
+
// of reading as a dimmed orange.
|
|
138
176
|
id: "integrations",
|
|
139
177
|
name: "Integrations",
|
|
140
178
|
icon: "Cable",
|
|
141
179
|
letter: "I",
|
|
142
|
-
color: "#
|
|
180
|
+
color: "#334155",
|
|
143
181
|
byline: "Connect Campfire to your ERP, PLM, and data-lake systems \u2014 inbound feeds and outbound extracts.",
|
|
144
182
|
group: "admin",
|
|
145
183
|
requiresRole: ["admin", "owner"],
|
|
@@ -176,8 +214,10 @@ import {
|
|
|
176
214
|
BarChart3,
|
|
177
215
|
Calculator,
|
|
178
216
|
Cable,
|
|
217
|
+
Factory,
|
|
179
218
|
FileText,
|
|
180
219
|
Files,
|
|
220
|
+
GanttChart,
|
|
181
221
|
Shield,
|
|
182
222
|
GripHorizontal,
|
|
183
223
|
Bell,
|
|
@@ -196,8 +236,10 @@ var iconMap = {
|
|
|
196
236
|
BarChart3,
|
|
197
237
|
Calculator,
|
|
198
238
|
Cable,
|
|
239
|
+
Factory,
|
|
199
240
|
FileText,
|
|
200
241
|
Files,
|
|
242
|
+
GanttChart,
|
|
201
243
|
Shield
|
|
202
244
|
};
|
|
203
245
|
function getIcon(name) {
|
package/package.json
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@campfire-interactive/shell-header",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Shared shell header with app switcher for Campfire Suite",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"dist"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"build": "tsup",
|
|
19
|
-
"dev": "tsup --watch"
|
|
20
|
-
},
|
|
21
|
-
"peerDependencies": {
|
|
22
|
-
"react": "^18.0.0 || ^19.0.0",
|
|
23
|
-
"react-dom": "^18.0.0 || ^19.0.0"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@campfire-interactive/design-tokens": "*",
|
|
27
|
-
"lucide-react": "^0.460.0"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@types/react": "^19.0.0",
|
|
31
|
-
"esbuild-css-modules-plugin": "^3.1.5",
|
|
32
|
-
"react": "^19.0.0",
|
|
33
|
-
"react-dom": "^19.0.0",
|
|
34
|
-
"tsup": "^8.0.0",
|
|
35
|
-
"typescript": "^5.0.0"
|
|
36
|
-
},
|
|
37
|
-
"publishConfig": {
|
|
38
|
-
"registry": "https://registry.npmjs.org",
|
|
39
|
-
"access": "public"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@campfire-interactive/shell-header",
|
|
3
|
+
"version": "0.19.0",
|
|
4
|
+
"description": "Shared shell header with app switcher for Campfire Suite",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup",
|
|
19
|
+
"dev": "tsup --watch"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
23
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@campfire-interactive/design-tokens": "*",
|
|
27
|
+
"lucide-react": "^0.460.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/react": "^19.0.0",
|
|
31
|
+
"esbuild-css-modules-plugin": "^3.1.5",
|
|
32
|
+
"react": "^19.0.0",
|
|
33
|
+
"react-dom": "^19.0.0",
|
|
34
|
+
"tsup": "^8.0.0",
|
|
35
|
+
"typescript": "^5.0.0"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"registry": "https://registry.npmjs.org",
|
|
39
|
+
"access": "public"
|
|
40
|
+
}
|
|
41
|
+
}
|