@praxisui/dialog 0.0.1 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/package.json +9 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @praxisui/dialog
|
|
2
2
|
|
|
3
3
|
> 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.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm i @
|
|
8
|
+
npm i @praxisui/dialog
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Peer dependencies (Angular v20):
|
|
@@ -20,7 +20,7 @@ Peer dependencies (Angular v20):
|
|
|
20
20
|
|
|
21
21
|
```ts
|
|
22
22
|
import { Component } from '@angular/core';
|
|
23
|
-
import { PraxisDialog } from '@
|
|
23
|
+
import { PraxisDialog } from '@praxisui/dialog';
|
|
24
24
|
|
|
25
25
|
@Component({ selector: 'app-users', standalone: true })
|
|
26
26
|
export class UsersComponent {
|
|
@@ -65,7 +65,7 @@ this.dialog.open(this.templateRef, { ariaRole: 'alertdialog' });
|
|
|
65
65
|
Provide presets app‑wide:
|
|
66
66
|
|
|
67
67
|
```ts
|
|
68
|
-
import { PRAXIS_DIALOG_GLOBAL_PRESETS } from '@
|
|
68
|
+
import { PRAXIS_DIALOG_GLOBAL_PRESETS } from '@praxisui/dialog';
|
|
69
69
|
|
|
70
70
|
providers: [{
|
|
71
71
|
provide: PRAXIS_DIALOG_GLOBAL_PRESETS,
|
|
@@ -125,4 +125,3 @@ Highlights:
|
|
|
125
125
|
## Links
|
|
126
126
|
- Repo: https://github.com/codexrodrigues/praxis
|
|
127
127
|
- Issues: https://github.com/codexrodrigues/praxis/issues
|
|
128
|
-
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dialog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
|
+
"description": "Dialog helpers and components for Praxis UI with Angular Material integration.",
|
|
4
5
|
"peerDependencies": {
|
|
5
6
|
"@angular/common": "^20.0.0",
|
|
6
7
|
"@angular/core": "^20.0.0",
|
|
@@ -22,6 +23,13 @@
|
|
|
22
23
|
"bugs": {
|
|
23
24
|
"url": "https://github.com/codexrodrigues/praxis/issues"
|
|
24
25
|
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"angular",
|
|
28
|
+
"praxisui",
|
|
29
|
+
"dialog",
|
|
30
|
+
"material",
|
|
31
|
+
"ui"
|
|
32
|
+
],
|
|
25
33
|
"sideEffects": false,
|
|
26
34
|
"module": "fesm2022/praxisui-dialog.mjs",
|
|
27
35
|
"typings": "index.d.ts",
|