@trading-game/design-intelligence-layer 0.12.0 → 0.12.1

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.
@@ -633,6 +633,37 @@ Landing page hero sections in multiple layout types.
633
633
 
634
634
  ---
635
635
 
636
+ ### Sheet Open Positions
637
+
638
+ A slide-in panel listing the user's open trading positions. Responsive — renders as a right-side `Sheet` on desktop and a bottom `Drawer` on mobile.
639
+
640
+ | State | Description |
641
+ |-------|-------------|
642
+ | Active | Scrollable list of open positions with direction, asset, stake, and P&L per row. Win/loss coloured with semantic tokens. Footer button links to transaction history. |
643
+ | Empty | Empty state with icon and "No trades yet." message in place of the list. |
644
+
645
+ **Components used:** `Sheet`, `Drawer`, `Item`, `ItemGroup`, `ItemContent`, `ItemTitle`, `ItemDescription`, `ItemActions`, `Empty`, `EmptyHeader`, `EmptyMedia`, `EmptyTitle`, `Button`, `NavigationButton`, `Separator`
646
+
647
+ **Tokens used:** `bg-prominent`, `border-border-subtle`, `text-semantic-win`, `text-semantic-loss`, `text-on-prominent`, `text-on-subtle`
648
+
649
+ ---
650
+
651
+ ### Header navigation
652
+
653
+ A product app top header bar. Not a landing page component — used inside the trading game itself.
654
+
655
+ | Region | Content |
656
+ |--------|---------|
657
+ | Left | `NavigationButton` (back arrow) |
658
+ | Centre | `Badge` (fill-warning "Demo" label) + account balance amount + currency label |
659
+ | Right | `NavigationButton` icons for history and sound toggle |
660
+
661
+ **Components used:** `NavigationButton`, `Badge`
662
+
663
+ **Tokens used:** `bg-prominent`, `border-border-subtle`, `text-on-prominent`, `text-on-subtle`
664
+
665
+ ---
666
+
636
667
  ## 9 — Common Mistakes
637
668
 
638
669
  | Mistake | Correct Approach |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trading-game/design-intelligence-layer",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "Trading Game Design System — shadcn/ui components with Tailwind CSS v4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",