Registry / ui-framework / auf-offline

auf-offline

JSON →
library3.4.15jsnpmunverified

An Aurelia UI/UX framework for building desktop-style applications. This is a fork of the original Aurelia UI Framework that replaces external Google Fonts dependencies with local fonts for offline deployment, and modifies the color scheme. Current stable version is 3.4.15. The framework is designed specifically for Aurelia applications, providing UI components and themes. The fork does not introduce new features but focuses on offline suitability.

npm install auf-offline
INSTALL
IMPORT
SIG · AUF-OFFLINE
A
auf-offline
ui-frameworkjavascriptv3.4.15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AuiFramework
import { AuiFramework } from 'auf-offline';
const AuiFramework = require('auf-offline');
ESM-only package; CommonJS require will fail. Use import syntax.
AuiButton
import { AuiButton } from 'auf-offline';
Named export from the main module; available in all v3.x versions.
AuiDialog
import { AuiDialog } from 'auf-offline';
import { AuiDialog } from 'auf-offline/aui-dialog';
All components are exported from the main package entry, not submodules.

Registers the auf-offline plugin in an Aurelia application with theme configuration.

import { PLATFORM } from 'aurelia-pal'; import { AuiFramework } from 'auf-offline'; export function configure(aurelia) { aurelia.use .standardConfiguration() .developmentLogging() .plugin(PLATFORM.moduleName('auf-offline'), (config) => { config.configure({ theme: 'default', iconSet: 'fontawesome' }); }); aurelia.start().then(() => aurelia.setRoot()); }
Debug
Known issues
breakingThe offline fork removes Google Fonts dependency; custom fonts must be bundled locally.
fix
Ensure fonts (e.g., 'Fira Sans') are included in your build or served locally.
affects: >=3.0.0
gotchaColor scheme changes (primary, info) may break existing UIs styled for original framework.
fix
Review and update CSS variable overrides for --aui-primary and --aui-info.
affects: >=3.0.0
deprecatedAurelia 2 is not supported; this package targets Aurelia 1 only.
fix
Use the official Aurelia 2 UI framework or stick with Aurelia 1.
affects: >=3.0.0
Errors
Common errors & fixes
Error: Cannot find module 'auf-offline'
Package not installed or missing from dependencies in package.json.
fix
Run 'npm install auf-offline' and ensure it's listed in package.json.
TypeError: AuiFramework is not a constructor
Incorrect import method; CommonJS require used instead of ESM import.
fix
Use 'import { AuiFramework } from 'auf-offline';' instead of require.
Upgrade
Version history
3.4.15latest on npm
Audit
Dependencies
aurelia-frameworkrequiredCore Aurelia framework required for bootstrapping
Agent activity
4 hits · last 30 days
node
4
Resources
auf-offline — npm install auf-offline · libregistry