@argfit-ui/adaptive
v1.0.0
Published
Adaptive Angular components that route ArgFit UI semantics to desktop or mobile renderers.
Maintainers
Readme
@argfit-ui/adaptive
Primary consumer component package for ArgFit UI 1.0.0.
It contains lightweight orchestration components that select desktop or mobile renderers through AfPlatformService. Adaptive components should not import PrimeNG or Ionic directly, and application consumers should normally use this package for UI components.
This package participates in the current 1.0.0 production contract.
Install
Install the full production package set so adaptive renderers can resolve their peers:
pnpm add @argfit-ui/[email protected] @argfit-ui/[email protected]
pnpm add @argfit-ui/[email protected] @argfit-ui/[email protected] @argfit-ui/[email protected]
pnpm add @angular/cdk@^21.2.0 @angular/forms@^21.2.0 @ionic/angular@^8.8.7 @lucide/angular@^1.16.0 echarts@^6.1.0 primeng@^21.1.8Usage
import { AfButton, AfCard, AfInput, AfPageShell } from '@argfit-ui/adaptive';<af-page-shell title="Dashboard" [navItems]="navItems">
<af-card variant="panel">
<div afCardContent>
<af-input label="Athlete" placeholder="Search athlete" />
<af-button>Start session</af-button>
</div>
</af-card>
</af-page-shell>Productive Docs
Build
pnpm build:adaptive