@evinvest/uikit 0.5.0 → 0.7.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/README.md +10 -2
- package/dist/index.d.ts +65 -40
- package/dist/index.js +218 -218
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/tokens.css +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evinvest/uikit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
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.",
|
|
5
5
|
"license": "BlueOak-1.0.0",
|
|
6
6
|
"publishConfig": {
|
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
|