@praxisui/core 10.0.0-rc.52 → 10.0.0-rc.55
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/ai/component-registry.json +6 -6
- package/fesm2022/praxisui-core-schema.mjs +248 -5
- package/fesm2022/praxisui-core.mjs +588 -41
- package/package.json +1 -1
- package/types/praxisui-core-schema.d.ts +15 -2
- package/types/praxisui-core.d.ts +583 -355
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.55",
|
|
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,7 +184,8 @@ type JsonLogicExpression = JsonLogicPrimitive | JsonLogicVarExpression | JsonLog
|
|
|
184
184
|
type JsonLogicDerivedValueExpression = Exclude<JsonLogicExpression, string>;
|
|
185
185
|
type JsonLogicValue = JsonLogicPrimitive | JsonLogicExpression | JsonLogicArray | JsonLogicRecord;
|
|
186
186
|
|
|
187
|
-
type PraxisPresentationVisualizationKind = 'line' | 'area' | 'column' | 'comparison' | 'stackedBar' | 'radial' | 'harveyBall' | 'bullet' | 'delta' | 'processFlow';
|
|
187
|
+
type PraxisPresentationVisualizationKind = 'line' | 'area' | 'column' | 'comparison' | 'stackedBar' | 'radial' | 'harveyBall' | 'bullet' | 'delta' | 'processFlow' | 'waterfall';
|
|
188
|
+
type PraxisPresentationVisualizationWaterfallRole = 'start' | 'increase' | 'decrease' | 'subtotal' | 'total';
|
|
188
189
|
type PraxisPresentationVisualizationSurface = 'table-cell' | 'list-item' | 'object-header' | 'card-summary' | 'form-presentation';
|
|
189
190
|
type PraxisPresentationVisualizationSize = 'xs' | 'sm' | 'md' | 'lg' | 'responsive';
|
|
190
191
|
type PraxisPresentationVisualizationTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'critical';
|
|
@@ -205,6 +206,7 @@ interface PraxisPresentationVisualizationSegment {
|
|
|
205
206
|
value: number;
|
|
206
207
|
tone?: PraxisPresentationVisualizationTone;
|
|
207
208
|
color?: string;
|
|
209
|
+
suppressed?: boolean;
|
|
208
210
|
}
|
|
209
211
|
interface PraxisPresentationVisualizationThreshold {
|
|
210
212
|
label?: string;
|
|
@@ -217,11 +219,13 @@ interface PraxisPresentationVisualizationThreshold {
|
|
|
217
219
|
interface PraxisPresentationVisualizationItem {
|
|
218
220
|
id?: string;
|
|
219
221
|
label?: string;
|
|
220
|
-
value?: number;
|
|
222
|
+
value?: number | null;
|
|
221
223
|
icon?: string;
|
|
222
224
|
tone?: PraxisPresentationVisualizationTone;
|
|
223
225
|
color?: string;
|
|
224
226
|
state?: string;
|
|
227
|
+
role?: PraxisPresentationVisualizationWaterfallRole;
|
|
228
|
+
suppressed?: boolean;
|
|
225
229
|
}
|
|
226
230
|
interface PraxisPresentationVisualizationConfig {
|
|
227
231
|
kind: PraxisPresentationVisualizationKind;
|
|
@@ -264,6 +268,7 @@ interface PraxisPresentationVisualizationConfig {
|
|
|
264
268
|
ariaLabelExpr?: JsonLogicExpression | string;
|
|
265
269
|
fallbackText: string;
|
|
266
270
|
fallbackTextExpr?: JsonLogicExpression | string;
|
|
271
|
+
suppressedCount?: number;
|
|
267
272
|
}
|
|
268
273
|
declare function isPraxisPresentationVisualizationTableSafe(value: PraxisPresentationVisualizationConfig | null | undefined): boolean;
|
|
269
274
|
|
|
@@ -4519,6 +4524,10 @@ interface FieldMetadata extends ComponentMetadata {
|
|
|
4519
4524
|
pinned?: 'start' | 'end';
|
|
4520
4525
|
/** Marks field as primary quick-search filter target (`x-ui.primarySearch`). */
|
|
4521
4526
|
primarySearch?: boolean;
|
|
4527
|
+
/** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
|
|
4528
|
+
inlineFilter?: boolean;
|
|
4529
|
+
/** Compact alias promoting filter field to inline/always-visible bar (`x-ui.inline`). */
|
|
4530
|
+
inline?: boolean;
|
|
4522
4531
|
/** Explicit 12-column responsive grid span (`x-ui.colSpan`, `1..12`). */
|
|
4523
4532
|
colSpan?: number;
|
|
4524
4533
|
/** Active workspace context binding contract (`x-ui.contextBinding`). */
|
|
@@ -4770,6 +4779,10 @@ interface FieldDefinition {
|
|
|
4770
4779
|
tableOrder?: number;
|
|
4771
4780
|
pinned?: 'start' | 'end';
|
|
4772
4781
|
primarySearch?: boolean;
|
|
4782
|
+
/** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
|
|
4783
|
+
inlineFilter?: boolean;
|
|
4784
|
+
/** Legacy/compact alias promoting filter field to inline bar (`x-ui.inline`). */
|
|
4785
|
+
inline?: boolean;
|
|
4773
4786
|
formHidden?: boolean;
|
|
4774
4787
|
filterable?: boolean;
|
|
4775
4788
|
/** Json Logic canônico que controla se o campo é exibido. */
|