@evinvest/uikit 0.6.0 → 0.8.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@evinvest/uikit",
3
- "version": "0.6.0",
4
- "description": "Dep-light React UI kit: shadcn-semantics components with zero @radix-ui / cva, mirroring the ev::uikit Rust feature. Ships the shared design tokens.",
3
+ "version": "0.8.0",
4
+ "description": "Dep-light React UI kit: shadcn-semantics components with zero @radix-ui / cva, mirroring the ev_lib::uikit Rust feature. Ships the shared design tokens.",
5
5
  "license": "BlueOak-1.0.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
package/styles/tokens.css CHANGED
@@ -114,6 +114,11 @@
114
114
  /* ── page container — responsive gutter + max width (uikit <Container>) ─ */
115
115
  --page-max: 90rem; /* 1440px */
116
116
  --page-px: 1rem; /* 16px — mobile gutter, scales up below */
117
+
118
+ /* ── shell offset — viewport space reserved by whatever shell hosts the app.
119
+ Standalone apps get 0; a hosting shell overrides on :root. Size
120
+ viewport-bound surfaces with calc(100dvh - var(--ev-shell-offset, 0px)). */
121
+ --ev-shell-offset: 0px;
117
122
  }
118
123
 
119
124
  /* Mobile-first scale-ups: roomier gutters + slightly larger radii on bigger
@@ -132,7 +137,7 @@
132
137
  }
133
138
 
134
139
  /* ── Toast stacking (Sonner-style), shared by both ports via data-stack ──────
135
- Both `ev::uikit` (Dioxus) and `@evinvest/uikit` (React) set data-stack on the
140
+ Both `ev_lib::uikit` (Dioxus) and `@evinvest/uikit` (React) set data-stack on the
136
141
  toaster and drive the same machine: toasts are absolutely stacked at the
137
142
  pinned edge, pile up collapsed (front three peeking, each lifted + scaled by
138
143
  --index and clamped to --front-height), and spread to --offset on hover /