Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@vismaux/ngx-vud
Advanced tools
Common Visma Unified Design components for Angular.
@vismaux/ngx-vud | @vismaux/vud | @angular/* |
---|---|---|
^13.0.0 | ^1.7.0 | ^17.0.0 |
^12.0.0 | ^1.6.3 | ^16.0.0 |
^11.0.0 | ^1.6.3 | ^15.0.0 |
^10.0.0 | ^1.6.3 | ^14.1.0 |
still looking for outdated nordic-cool version? switch branch
ng add @vismaux/ngx-vud
Install this package together with two peer dependencies:
npm i @vismaux/ngx-vud @vismaux/vud @angular/cdk
Import required styles inside your global (e.g. style.scss
) file:
// One import that includes both global `@vismaux/vud` styles (dark-light) and extensions needed for the library.
@use '@vismaux/ngx-vud';
// In case you don't need the dark mode, don't use SCSS, or just want to have a more granual control, import these prebuilt files manully:
// @import '@vismaux/vud/dist/css/vud.light-dark.mode.min.css';
// @import '@angular/cdk/overlay-prebuilt.css';
Setup animations by importing BrowserAnimationsModule
in your app.module.ts
.
Use
NoopAnimationsModule
in case you don't want animations.
(Optional) Setup the icons if you plan to use the <vud-icon />
component.
The required assets for the icons are not built into the package and requires setting them up separately.
This is mandatory if you plan to use the <vud-icon />
component.
There are two ways to setup this.
// Option A (recommended): import from local assets
// this requires `@vismaux/vud-icons` npm package to be installed
@import '@vismaux/vud-icons/dist/css/vud-icons.min.css';
// Option B: import straight from CDN
// instructions taken from https://ux.visma.com/weblibrary/latest/index.php
@import 'https://vud-icons.s3.eu-north-1.amazonaws.com/latest/dist/css/vud-icons.min.css';
Follows PDAB Compatibility Policy:
the latest major stable version of Firefox, Chrome, Safari and Edge are supported. No support for IE.
You are more than welcome to open an issue or create a pull-request.
In the latter case, please make sure the changes follows the same coding principles,
is covered with unit tests and meets the official Visma Unified Design guidelines. 🙏
FAQs
Visma Unified Design components for Angular.
We found that @vismaux/ngx-vud demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.