@spree/docs 0.1.128 → 0.1.129

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.
@@ -429,6 +429,31 @@ Here's a list of all places you can inject your custom code:
429
429
  </details>
430
430
 
431
431
 
432
+ <details>
433
+ <summary>Customer Page Sidebar</summary>
434
+
435
+ `user_page_sidebar`
436
+
437
+ #### Variables
438
+
439
+ - **`user`** (`Spree.user_class`) — The customer displayed on the page.
440
+
441
+ Injects a section into the customer detail page sidebar. This partial has access to the `user` variable.
442
+
443
+ ```erb
444
+ <div class="card">
445
+ <div class="card-header">
446
+ <h5 class="card-title">Account review</h5>
447
+ </div>
448
+ <div class="card-body">
449
+ <%= user.email %>
450
+ </div>
451
+ </div>
452
+ ```
453
+
454
+ </details>
455
+
456
+
432
457
  ### Stock Items
433
458
 
434
459
  <details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",