@schandlergarcia/sf-web-components 1.9.14 → 1.9.15

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/README.md CHANGED
@@ -303,12 +303,15 @@ bash node_modules/@schandlergarcia/sf-web-components/scripts/reset-command-cente
303
303
 
304
304
  **What it does:**
305
305
  - Removes custom dashboard pages
306
- - Restalls BlankDashboard.tsx with EmptyState
306
+ - Reinstalls BlankDashboard.tsx with EmptyState
307
307
  - Resets CommandCenter.tsx (preserves theme mode)
308
- - Updates Home.tsx to search interface
308
+ - Updates Home.tsx to render CommandCenter (blank dashboard)
309
+ - Creates Search.tsx for search interface at `/search` route
309
310
  - Resets routes to baseline configuration
310
311
  - Preserves: component library, authentication, all dependencies
311
312
 
313
+ **Result:** Home route (`/`) displays the CommandCenter with BlankDashboard, ready for customization
314
+
312
315
  ---
313
316
 
314
317
  ## Troubleshooting
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schandlergarcia/sf-web-components",
3
- "version": "1.9.14",
3
+ "version": "1.9.15",
4
4
  "description": "Reusable Salesforce web components library with Tailwind CSS v4 and shadcn/ui",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,6 +37,7 @@ echo ""
37
37
  echo "→ Removing custom dashboards…"
38
38
 
39
39
  removed=0
40
+ # Remove from src/pages/
40
41
  for f in src/pages/*Dashboard*.tsx src/pages/*Dashboard*.jsx; do
41
42
  # Don't remove BlankDashboard
42
43
  if [ -f "$f" ] && [[ "$(basename "$f")" != "BlankDashboard"* ]]; then
@@ -46,6 +47,17 @@ for f in src/pages/*Dashboard*.tsx src/pages/*Dashboard*.jsx; do
46
47
  fi
47
48
  done
48
49
 
50
+ # Also remove from src/components/pages/ if it exists
51
+ if [ -d "src/components/pages" ]; then
52
+ for f in src/components/pages/*Dashboard*.tsx src/components/pages/*Dashboard*.jsx; do
53
+ if [ -f "$f" ] && [[ "$(basename "$f")" != "BlankDashboard"* ]]; then
54
+ rm "$f"
55
+ echo " ✓ Removed $(basename "$f")"
56
+ removed=$((removed + 1))
57
+ fi
58
+ done
59
+ fi
60
+
49
61
  if [ "$removed" -eq 0 ]; then
50
62
  echo " (no custom dashboards found)"
51
63
  fi