@praxisui/core 10.0.0-rc.31 → 10.0.0-rc.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "10.0.0-rc.31",
3
+ "version": "10.0.0-rc.33",
4
4
  "description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.0.0",
@@ -184,6 +184,13 @@ type PraxisPresentationVisualizationKind = 'line' | 'area' | 'column' | 'compari
184
184
  type PraxisPresentationVisualizationSurface = 'table-cell' | 'list-item' | 'object-header' | 'card-summary' | 'form-presentation';
185
185
  type PraxisPresentationVisualizationSize = 'xs' | 'sm' | 'md' | 'lg' | 'responsive';
186
186
  type PraxisPresentationVisualizationTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'critical';
187
+ /**
188
+ * Defines how numerical bounds (`min` / `max` / `total`) are resolved when rendering
189
+ * a micro-visualization inside a collection:
190
+ * - `'row'` (default): each record scales independently using its own series/values or explicit `min`/`max`/`total`.
191
+ * - `'page'`: records on the current loaded page share a synchronized column scale when explicit bounds are not fixed.
192
+ */
193
+ type PraxisPresentationVisualizationScaleScope = 'row' | 'page';
187
194
  interface PraxisPresentationVisualizationPoint {
188
195
  label?: string;
189
196
  value: number;
@@ -214,18 +221,23 @@ interface PraxisPresentationVisualizationConfig {
214
221
  kind: PraxisPresentationVisualizationKind;
215
222
  surface?: PraxisPresentationVisualizationSurface;
216
223
  size?: PraxisPresentationVisualizationSize;
224
+ scaleScope?: PraxisPresentationVisualizationScaleScope;
217
225
  value?: unknown;
218
226
  valueExpr?: JsonLogicExpression | string;
219
227
  valueSuffix?: string;
220
228
  valueSuffixExpr?: JsonLogicExpression | string;
221
229
  compactValue?: boolean;
230
+ min?: number;
231
+ minExpr?: JsonLogicExpression | string;
232
+ max?: number;
233
+ maxExpr?: JsonLogicExpression | string;
222
234
  total?: number;
223
235
  totalExpr?: JsonLogicExpression | string;
224
236
  target?: number;
225
237
  targetExpr?: JsonLogicExpression | string;
226
238
  baseline?: number;
227
239
  baselineExpr?: JsonLogicExpression | string;
228
- points?: PraxisPresentationVisualizationPoint[];
240
+ points?: Array<PraxisPresentationVisualizationPoint | number>;
229
241
  pointsExpr?: JsonLogicExpression | string;
230
242
  segments?: PraxisPresentationVisualizationSegment[];
231
243
  segmentsExpr?: JsonLogicExpression | string;
@@ -3958,8 +3970,25 @@ interface FieldOption {
3958
3970
  icon?: string;
3959
3971
  /** Tooltip text for option */
3960
3972
  tooltip?: string;
3961
- /** Detailed description for the option */
3973
+ /**
3974
+ * Secondary business/domain description rendered on a dedicated line in rich selectors.
3975
+ * Do not concatenate `code` or `badge` here when those properties are populated separately.
3976
+ */
3962
3977
  description?: string;
3978
+ /**
3979
+ * Optional technical identifier, field key, or endpoint path rendered in a monospace slot
3980
+ * (both in the dropdown option and in the closed select trigger).
3981
+ */
3982
+ code?: string;
3983
+ /**
3984
+ * Optional domain group, data type, or governance badge (e.g. `"RH · Somente leitura"`, `"integer"`)
3985
+ * rendered as a pill next to the option label.
3986
+ */
3987
+ badge?: string;
3988
+ /**
3989
+ * Optional additional keywords indexed for accent-insensitive client-side search.
3990
+ */
3991
+ searchTerms?: string[];
3963
3992
  }
3964
3993
  /**
3965
3994
  * Angular Material specific styling and behavior options.
@@ -4383,6 +4412,8 @@ interface FieldDefinition {
4383
4412
  numericMin?: number;
4384
4413
  numericMax?: number;
4385
4414
  numericMaxLength?: number;
4415
+ inlineVisualStyle?: 'compact' | 'graphic';
4416
+ percentPresets?: number[];
4386
4417
  optionGroups?: {
4387
4418
  key: string;
4388
4419
  value: string;