@praxisui/core 9.0.63 → 9.0.64

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-09-05T19:46:18.619Z",
3
+ "generatedAt": "2026-09-05T22:17:32.983Z",
4
4
  "packageName": "@praxisui/core",
5
- "packageVersion": "9.0.63",
5
+ "packageVersion": "9.0.64",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -3012,6 +3012,9 @@ class SchemaNormalizerService {
3012
3012
  return [];
3013
3013
  }
3014
3014
  const properties = schema.properties ?? {};
3015
+ const requiredNames = new Set(Array.isArray(schema.required)
3016
+ ? schema.required.filter((name) => typeof name === 'string')
3017
+ : []);
3015
3018
  const fields = [];
3016
3019
  for (const [name, prop] of Object.entries(properties)) {
3017
3020
  const ui = prop &&
@@ -3128,6 +3131,11 @@ class SchemaNormalizerService {
3128
3131
  field.viewOnlyStyle = String(ui.viewOnlyStyle);
3129
3132
  }
3130
3133
  Object.assign(field, this.parseValidators(ui, name));
3134
+ // Required membership belongs to the canonical object schema. UI hints
3135
+ // can add validation but cannot make a required request field optional.
3136
+ if (requiredNames.has(name)) {
3137
+ field.required = true;
3138
+ }
3131
3139
  const condDisplay = this.parseJsonLogicExpression(ui.conditionalDisplay, name, 'x-ui.conditionalDisplay');
3132
3140
  if (condDisplay !== undefined) {
3133
3141
  field.conditionalDisplay = condDisplay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "9.0.63",
3
+ "version": "9.0.64",
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",