@praxisui/expansion 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 -4
- package/package.json +13 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @praxisui/expansion — Praxis Expansion Panel
|
|
2
2
|
|
|
3
3
|
Widget baseado em Angular Material (MatAccordion/MatExpansionPanel) com configuração via metadata, editor embutido e integração com o `ComponentMetadataRegistry` para uso no `praxis-dynamic-gridster-page`.
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ Widget baseado em Angular Material (MatAccordion/MatExpansionPanel) com configur
|
|
|
7
7
|
- Registrar o metadata do componente:
|
|
8
8
|
|
|
9
9
|
```ts
|
|
10
|
-
import { providePraxisExpansionMetadata } from '@
|
|
10
|
+
import { providePraxisExpansionMetadata } from '@praxisui/expansion';
|
|
11
11
|
|
|
12
12
|
bootstrapApplication(AppComponent, {
|
|
13
13
|
providers: [providePraxisExpansionMetadata()],
|
|
@@ -17,7 +17,7 @@ bootstrapApplication(AppComponent, {
|
|
|
17
17
|
- (Opcional) Definir defaults globais do painel:
|
|
18
18
|
|
|
19
19
|
```ts
|
|
20
|
-
import { providePraxisExpansionDefaults } from '@
|
|
20
|
+
import { providePraxisExpansionDefaults } from '@praxisui/expansion';
|
|
21
21
|
|
|
22
22
|
bootstrapApplication(AppComponent, {
|
|
23
23
|
providers: [
|
|
@@ -29,7 +29,7 @@ bootstrapApplication(AppComponent, {
|
|
|
29
29
|
## Exemplo básico (metadata)
|
|
30
30
|
|
|
31
31
|
```ts
|
|
32
|
-
import { ExpansionMetadata } from '@
|
|
32
|
+
import { ExpansionMetadata } from '@praxisui/expansion';
|
|
33
33
|
|
|
34
34
|
const expansionConfig: ExpansionMetadata = {
|
|
35
35
|
accordion: { multi: true, displayMode: 'default', togglePosition: 'after' },
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/expansion",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "1.0.0-beta.3",
|
|
4
|
+
"description": "Expansion panel (accordion) components for Praxis UI with metadata configuration and editor integration.",
|
|
4
5
|
"peerDependencies": {
|
|
5
6
|
"@angular/common": "^20.0.0",
|
|
6
7
|
"@angular/core": "^20.0.0",
|
|
7
8
|
"@angular/material": "^20.0.0",
|
|
8
9
|
"@angular/cdk": "^20.0.0",
|
|
9
|
-
"@praxisui/core": "^0.0.
|
|
10
|
-
"@praxisui/dynamic-fields": "^0.0.
|
|
11
|
-
"@praxisui/settings-panel": "^0.0.
|
|
10
|
+
"@praxisui/core": "^1.0.0-beta.3",
|
|
11
|
+
"@praxisui/dynamic-fields": "^1.0.0-beta.3",
|
|
12
|
+
"@praxisui/settings-panel": "^1.0.0-beta.3"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
14
15
|
"tslib": "^2.3.0"
|
|
@@ -25,6 +26,14 @@
|
|
|
25
26
|
"bugs": {
|
|
26
27
|
"url": "https://github.com/codexrodrigues/praxis/issues"
|
|
27
28
|
},
|
|
29
|
+
"keywords": [
|
|
30
|
+
"angular",
|
|
31
|
+
"praxisui",
|
|
32
|
+
"expansion",
|
|
33
|
+
"accordion",
|
|
34
|
+
"ui",
|
|
35
|
+
"material"
|
|
36
|
+
],
|
|
28
37
|
"sideEffects": false,
|
|
29
38
|
"module": "fesm2022/praxisui-expansion.mjs",
|
|
30
39
|
"typings": "index.d.ts",
|