@praxisui/core 9.0.0-beta.32 → 9.0.0-beta.34
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 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-core.mjs +15195 -15090
- package/package.json +1 -1
- package/types/praxisui-core.d.ts +24 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "9.0.0-beta.
|
|
3
|
+
"version": "9.0.0-beta.34",
|
|
4
4
|
"description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
package/types/praxisui-core.d.ts
CHANGED
|
@@ -1470,12 +1470,20 @@ interface ColumnDefinition {
|
|
|
1470
1470
|
name?: string;
|
|
1471
1471
|
/** Campo do row que contém o nome do ícone */
|
|
1472
1472
|
nameField?: string;
|
|
1473
|
+
/** Texto fixo exibido ao lado do icone */
|
|
1474
|
+
text?: string;
|
|
1475
|
+
/** Campo usado como texto exibido ao lado do icone */
|
|
1476
|
+
textField?: string;
|
|
1473
1477
|
/** Cor do ícone (primary/accent/warn ou CSS color) */
|
|
1474
1478
|
color?: string;
|
|
1475
1479
|
/** Tamanho em px (opcional) */
|
|
1476
1480
|
size?: number;
|
|
1477
1481
|
/** Label acessível (fixo) */
|
|
1478
1482
|
ariaLabel?: string;
|
|
1483
|
+
/** Prefixo visual aplicado ao texto do renderer sem alterar o valor bruto. */
|
|
1484
|
+
prefix?: string;
|
|
1485
|
+
/** Sufixo visual aplicado ao texto do renderer sem alterar o valor bruto. */
|
|
1486
|
+
suffix?: string;
|
|
1479
1487
|
};
|
|
1480
1488
|
/** Configuração de imagem */
|
|
1481
1489
|
image?: {
|
|
@@ -1506,7 +1514,7 @@ interface ColumnDefinition {
|
|
|
1506
1514
|
/** Cor do badge (primary/accent/warn ou CSS) */
|
|
1507
1515
|
color?: string;
|
|
1508
1516
|
/** Variante visual */
|
|
1509
|
-
variant?: 'filled' | 'outlined' | 'soft';
|
|
1517
|
+
variant?: 'filled' | 'outlined' | 'soft' | 'plain';
|
|
1510
1518
|
/** Ícone opcional dentro do badge */
|
|
1511
1519
|
icon?: string;
|
|
1512
1520
|
/** Tooltip opcional associado ao indicador visual */
|
|
@@ -1542,7 +1550,7 @@ interface ColumnDefinition {
|
|
|
1542
1550
|
textField?: string;
|
|
1543
1551
|
color?: string;
|
|
1544
1552
|
icon?: string;
|
|
1545
|
-
variant?: 'filled' | 'outlined' | 'soft';
|
|
1553
|
+
variant?: 'filled' | 'outlined' | 'soft' | 'plain';
|
|
1546
1554
|
/** Tooltip opcional associado ao chip */
|
|
1547
1555
|
tooltip?: TableTooltipConfig;
|
|
1548
1556
|
};
|
|
@@ -1606,9 +1614,13 @@ interface ColumnDefinition {
|
|
|
1606
1614
|
icon?: {
|
|
1607
1615
|
name?: string;
|
|
1608
1616
|
nameField?: string;
|
|
1617
|
+
text?: string;
|
|
1618
|
+
textField?: string;
|
|
1609
1619
|
color?: string;
|
|
1610
1620
|
size?: number;
|
|
1611
1621
|
ariaLabel?: string;
|
|
1622
|
+
prefix?: string;
|
|
1623
|
+
suffix?: string;
|
|
1612
1624
|
};
|
|
1613
1625
|
} | {
|
|
1614
1626
|
type: 'image';
|
|
@@ -1629,7 +1641,7 @@ interface ColumnDefinition {
|
|
|
1629
1641
|
text?: string;
|
|
1630
1642
|
textField?: string;
|
|
1631
1643
|
color?: string;
|
|
1632
|
-
variant?: 'filled' | 'outlined' | 'soft';
|
|
1644
|
+
variant?: 'filled' | 'outlined' | 'soft' | 'plain';
|
|
1633
1645
|
icon?: string;
|
|
1634
1646
|
tooltip?: TableTooltipConfig;
|
|
1635
1647
|
};
|
|
@@ -1665,7 +1677,7 @@ interface ColumnDefinition {
|
|
|
1665
1677
|
textField?: string;
|
|
1666
1678
|
color?: string;
|
|
1667
1679
|
icon?: string;
|
|
1668
|
-
variant?: 'filled' | 'outlined' | 'soft';
|
|
1680
|
+
variant?: 'filled' | 'outlined' | 'soft' | 'plain';
|
|
1669
1681
|
tooltip?: TableTooltipConfig;
|
|
1670
1682
|
};
|
|
1671
1683
|
} | {
|
|
@@ -3717,6 +3729,10 @@ interface FieldPresentationConfig {
|
|
|
3717
3729
|
badge?: string;
|
|
3718
3730
|
/** Optional tooltip text for the presentation wrapper. */
|
|
3719
3731
|
tooltip?: string;
|
|
3732
|
+
/** Optional readonly prefix rendered next to the displayed value without changing the raw value. */
|
|
3733
|
+
prefix?: string;
|
|
3734
|
+
/** Optional readonly suffix rendered next to the displayed value without changing the raw value. */
|
|
3735
|
+
suffix?: string;
|
|
3720
3736
|
/** Visual density/emphasis strategy mapped by consumers to theme tokens. */
|
|
3721
3737
|
appearance?: FieldPresentationAppearance;
|
|
3722
3738
|
/** Optional formatter override for the presentation surface only. */
|
|
@@ -4474,6 +4490,10 @@ interface FieldDefinition {
|
|
|
4474
4490
|
filterOptions?: any[];
|
|
4475
4491
|
numericFormat?: string;
|
|
4476
4492
|
valuePresentation?: ValuePresentationConfig;
|
|
4493
|
+
/** Semantic read-only/list presentation metadata from canonical x-ui.presentation. */
|
|
4494
|
+
presentation?: FieldPresentationConfig;
|
|
4495
|
+
/** Conditional presentation overrides for read-only/list consumers. */
|
|
4496
|
+
presentationRules?: FieldPresentationRule[];
|
|
4477
4497
|
numericStep?: number;
|
|
4478
4498
|
numericMin?: number;
|
|
4479
4499
|
numericMax?: number;
|