@eleverh/web-ui
v1.0.2
Published
Shared product-agnostic UI primitives for Eleve RH web applications.
Readme
@eleverh/web-ui
Shared shadcn primitives for Eleve RH web applications. The package is published publicly to npm and consumed by an exact SemVer version.
Keep this package limited to product-agnostic building blocks. Page sections, brand illustrations, analytics, routing and application copy belong to the app that owns them.
Import components from the package entry point:
import {
Alert,
Button,
Card,
Dialog,
Input,
Label,
Skeleton,
Switch,
} from "@eleverh/web-ui";Each consuming app owns its Tailwind theme tokens. Registry consumers must
include the installed package's unminified dist directory in the Tailwind
source scan so the component utility classes are generated. The published
package also carries src behind the development export condition to
preserve workspace hot reload during the migration; production imports always
resolve to dist.
Install
Configure the Eleve RH scope to use the public npm registry:
@eleverh:registry=https://registry.npmjs.orgThen install an exact version:
npm install --save-exact @eleverh/[email protected]The package ships ESM JavaScript, source maps and TypeScript declarations from
dist, plus source entry points for development tooling. It does not ship or
own an application theme.
Release verification
npm ci
npm run verifyverify typechecks, builds, imports the published entry-point contract and
shows the exact contents that npm publish would upload.
Only product-agnostic primitives belong here. Components tied to a route, feature or API remain inside their owning app.
