@praxisui/list 10.0.0-rc.12 → 10.0.0-rc.13

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-10-13T20:53:39.090Z",
3
+ "generatedAt": "2026-10-14T09:51:43.880Z",
4
4
  "packageName": "@praxisui/list",
5
- "packageVersion": "10.0.0-rc.12",
5
+ "packageVersion": "10.0.0-rc.13",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 1,
@@ -9883,12 +9883,27 @@ class PraxisList {
9883
9883
  featureSemanticClass(item, expr, featureClass) {
9884
9884
  if (!(featureClass || '').includes('exec-metric--risk'))
9885
9885
  return null;
9886
- const lines = this.featureLabelLines(item, expr);
9887
- const tone = (lines.at(-1) || '').toLowerCase();
9888
- if (tone.includes('alto'))
9886
+ const explicitTone = String(item?.riskTone ?? item?.tone ?? item?.severity ?? item?.riskLevel ?? '')
9887
+ .trim()
9888
+ .toLowerCase();
9889
+ const lines = explicitTone ? [] : this.featureLabelLines(item, expr);
9890
+ const tone = explicitTone || (lines.at(-1) || '').toLowerCase();
9891
+ if (tone.includes('high') ||
9892
+ tone.includes('critical') ||
9893
+ tone.includes('danger') ||
9894
+ tone.includes('error') ||
9895
+ tone.includes('alto') ||
9896
+ tone.includes('critico') ||
9897
+ tone.includes('crítico')) {
9889
9898
  return 'exec-metric--risk-high';
9890
- if (tone.includes('medio') || tone.includes('monitor'))
9899
+ }
9900
+ if (tone.includes('medium') ||
9901
+ tone.includes('warning') ||
9902
+ tone.includes('medio') ||
9903
+ tone.includes('médio') ||
9904
+ tone.includes('monitor')) {
9891
9905
  return 'exec-metric--risk-medium';
9906
+ }
9892
9907
  return 'exec-metric--risk-low';
9893
9908
  }
9894
9909
  featureProgressPercent(item, expr, featureClass) {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@praxisui/list",
3
- "version": "10.0.0-rc.12",
3
+ "version": "10.0.0-rc.13",
4
4
  "description": "List components and helpers for Praxis UI.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
7
7
  "@angular/core": "^21.0.0",
8
8
  "@angular/cdk": "^21.0.0",
9
9
  "@angular/material": "^21.0.0",
10
- "@praxisui/dynamic-fields": "^10.0.0-rc.12",
10
+ "@praxisui/dynamic-fields": "^10.0.0-rc.13",
11
11
  "rxjs": ">=7 <9",
12
12
  "@angular/forms": "^21.0.0",
13
13
  "@angular/router": "^21.0.0",
14
- "@praxisui/ai": "^10.0.0-rc.12",
15
- "@praxisui/core": "^10.0.0-rc.12",
16
- "@praxisui/rich-content": "^10.0.0-rc.12",
17
- "@praxisui/settings-panel": "^10.0.0-rc.12"
14
+ "@praxisui/ai": "^10.0.0-rc.13",
15
+ "@praxisui/core": "^10.0.0-rc.13",
16
+ "@praxisui/rich-content": "^10.0.0-rc.13",
17
+ "@praxisui/settings-panel": "^10.0.0-rc.13"
18
18
  },
19
19
  "dependencies": {
20
20
  "tslib": "^2.3.0",