
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@praxisui/dialog
Advanced tools
Dialog helpers and components for Praxis UI with Angular Material integration.
Unified dialog for Praxis built on Angular CDK. Provides a service API (MatDialog-like) and a tag mode (
<praxis-dialog>) with theming, CSS-only animations, accessibility and metadata integration.
Para ver esta biblioteca em funcionamento em uma aplicação completa, utilize o projeto de exemplo (Quickstart):
@praxisui/* em um app Angular, incluindo instalação, configuração e uso em telas reais.npm i @praxisui/dialog
Peer dependencies (Angular v20):
@angular/core ^20.0.0@angular/common ^20.0.0@angular/cdk ^20.0.0@angular/forms ^20.0.0import { Component } from '@angular/core';
import { PraxisDialog } from '@praxisui/dialog';
@Component({ selector: 'app-users', standalone: true })
export class UsersComponent {
constructor(private dialog: PraxisDialog) {}
deleteUser() {
const ref = this.dialog.confirm({
title: 'Confirmar Exclusão',
message: 'Deseja excluir este item?',
disableClose: true,
}, 'question'); // variant: question
ref.afterClosed().subscribe((ok) => { if (ok) this.doDelete(); });
}
private doDelete() {/* ... */}
}
Open custom component or template:
this.dialog.open(CustomerFormComponent, { width: 720, data: customer });
// or template:
this.dialog.open(this.templateRef, { ariaRole: 'alertdialog' });
<praxis-dialog [open]="open" (close)="open=false" [themeColor]="'light'">
<ng-template praxisDialogTitle>Diálogo</ng-template>
<ng-template praxisDialogContent>Conteúdo</ng-template>
<ng-template praxisDialogActions>
<button class="pdx-dialog__action-btn" (click)="open=false">Fechar</button>
</ng-template>
</praxis-dialog>
Provide presets app‑wide:
import { PRAXIS_DIALOG_GLOBAL_PRESETS } from '@praxisui/dialog';
providers: [{
provide: PRAXIS_DIALOG_GLOBAL_PRESETS,
useValue: {
confirm: { themeColor: 'light', animation: { type: 'translate', duration: 200 } },
variants: { question: { themeColor: 'dark', animation: { type: 'fade', duration: 150 } } },
},
}]
Merge order: type → variant (optional) → local config.
PRAXIS_DIALOG_CONTENT_REGISTRY (string → ComponentType)PRAXIS_DIALOG_TEMPLATE_REGISTRY (string → TemplateRef)Register via ENVIRONMENT_INITIALIZER and open by id:
providers: [{
provide: ENVIRONMENT_INITIALIZER,
multi: true,
useFactory: (reg: Record<string, any>) => () => reg['CustomerForm'] = CustomerFormComponent,
deps: [PRAXIS_DIALOG_CONTENT_REGISTRY],
}]
this.dialog.openByRegistry('CustomerForm', { width: 720 });
role="dialog|alertdialog", aria-modal, aria-* inputsdisableClose)alertdialog, focuses the primary action when presentthemeColor: 'light' | 'dark' | 'primary'styles map to CSS vars (e.g. containerShape, contentPadding, typography fields)width/height/min/max) are top‑level inputsExports:
PraxisDialogPraxisDialogComponent, PraxisDialogTitleDirective, PraxisDialogContentDirective, PraxisDialogActionsDirectivePraxisDialogRefPRAXIS_DIALOG_DATA, PRAXIS_DIALOG_DEFAULTS, PRAXIS_DIALOG_GLOBAL_PRESETS, PRAXIS_DIALOG_I18N, registriesPraxisDialogConfig, PraxisConfirmConfig, PraxisAlertConfig, PraxisPromptConfigHighlights:
afterAllClosed, afterOpened, openDialogs, closeAll(), getDialogById(id)PraxisDialogRef: afterOpened/beforeClosed/afterClosed, backdropClick, keydownEvents, close(), updateSize/Position()FAQs
Dialog helpers and components for Praxis UI with Angular Material integration.
The npm package @praxisui/dialog receives a total of 686 weekly downloads. As such, @praxisui/dialog popularity was classified as not popular.
We found that @praxisui/dialog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.