Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@angular/material
Advanced tools
The @angular/material package is a UI component library for Angular applications that implements Google's Material Design. It provides a wide range of reusable UI components that are designed to be efficient, accessible, and visually appealing. These components help developers build cohesive, attractive, and functional web applications with less effort.
Form Controls
Form controls are essential for collecting input from the user. @angular/material provides various form controls like input fields, checkboxes, radio buttons, and select dropdowns. The code sample demonstrates how to import and use the MatInputModule for text inputs.
import {MatInputModule} from '@angular/material/input';
@NgModule({
imports: [MatInputModule]
})
export class MyModule {}
Navigation
Navigation components help users move through the application. This includes menus, side navigation, and toolbars. The code sample shows how to import the MatToolbarModule to use a Material Design toolbar in your application.
import {MatToolbarModule} from '@angular/material/toolbar';
@NgModule({
imports: [MatToolbarModule]
})
export class MyModule {}
Layout
Layout components assist in structuring the view of an application. @angular/material offers grid lists, cards, and tabs to help organize content. The code sample illustrates the use of MatGridListModule for creating grid layouts.
import {MatGridListModule} from '@angular/material/grid-list';
@NgModule({
imports: [MatGridListModule]
})
export class MyModule {}
Buttons & Indicators
Buttons and indicators are used for actions and status feedback. This category includes buttons, progress bars, and spinner indicators. The code sample demonstrates importing MatButtonModule to use Material Design buttons.
import {MatButtonModule} from '@angular/material/button';
@NgModule({
imports: [MatButtonModule]
})
export class MyModule {}
ngx-bootstrap provides Bootstrap components powered by Angular. It's similar to @angular/material in providing a set of reusable UI components but is based on Bootstrap's design system rather than Material Design.
PrimeNG is a collection of rich UI components for Angular. It offers a wide range of widgets and is comparable to @angular/material in terms of providing components for form controls, tables, overlays, and more. PrimeNG is known for its extensive component library beyond what @angular/material offers.
NG-ZORRO is an Angular UI library based on Ant Design. Similar to @angular/material, it provides a comprehensive suite of UI components that are designed to be modular, lightweight, and easy to use. It differs in its design philosophy, following Ant Design principles instead of Material Design.
The sources for this package are in the main Angular Material repo. Please file issues and pull requests against that repo.
License: MIT
16.0.2 "plastic-car" (2023-05-25)
| Commit | Type | Description | | -- | -- | -- | | a0aa14fe1a | fix | schematics: handle templates with byte order mark (#27131) |
| Commit | Type | Description |
| -- | -- | -- |
| 82550af4d7 | fix | checkbox: set token values on the element where theme is @included (#27114) |
| d2e8a55b3b | fix | core: Fix MacOS Hover feature compatibility with optgroup (#27081) |
| 6dd2c605b1 | fix | datepicker: set explicit event options (#27082) |
| 5c3107ccc6 | fix | icon: harness returning wrong name if icon has other content (#27132) |
| 9d9ceb2b22 | fix | list: input coercion does not working for disableRipple
on list items (#27126) |
| 5aad5df78e | fix | paginator: add aria-hidden="true" to decorative svg's (#27083) |
| Commit | Type | Description | | -- | -- | -- | | 12474aafc5 | fix | set aria-hidden on presentational svgs (#27116) |
<!-- CHANGELOG SPLIT MARKER --><a name="16.0.1"></a>
FAQs
Angular Material
The npm package @angular/material receives a total of 1,404,081 weekly downloads. As such, @angular/material popularity was classified as popular.
We found that @angular/material demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.