Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@ng-matero/extensions
Advanced tools
The Ng-Matero Extensions is an extended component library for Angular Material.
Check out the demos and APIs.
At first, you should install the Angular Material and setup it. Learn more about the setup.
Install the Extensions library:
$ npm install @ng-matero/extensions --save
Import the modules you need, e.g. data-grid and select.
import { MtxGridModule } from '@ng-matero/extensions/grid';
import { MtxSelectModule } from '@ng-matero/extensions/select';
@NgModule({
...
imports: [MtxGridModule, MtxSelectModule, ...],
...
})
export class YourAppModule {
}
After import modules, you must define a theme. More about theming.
@use '@angular/material' as mat;
@use '@ng-matero/extensions' as mtx;
$theme: mat.define-light-theme(...);
@include mat.all-component-themes($theme);
@include mtx.all-component-themes($theme);
@use '@angular/material' as mat;
@use '@ng-matero/extensions' as mtx;
$config: (...);
$theme: mat.private-deep-merge-all(
mat.define-theme($config),
mtx.define-theme($config)
);
html {
@include mat.all-component-themes($theme);
@include mtx.all-component-themes($theme);
}
The @use-based Sass API is only available in the version 12.0.0
and above.
You can also using a pre-built theme which in the "prebuilt-themes" directory of the npm package (@ng-matero/extensions/prebuilt-themes).
@import '@ng-matero/extensions/prebuilt-themes/azure-blue.css'
$ git clone git@github.com:ng-matero/extensions.git
$ cd extensions
$ yarn
$ yarn run start
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
MIT
FAQs
Angular Material Extensions
The npm package @ng-matero/extensions receives a total of 15,574 weekly downloads. As such, @ng-matero/extensions popularity was classified as popular.
We found that @ng-matero/extensions 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.