@praxisui/core 9.0.47 → 9.0.48

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-08-30T21:38:22.309Z",
3
+ "generatedAt": "2026-08-30T23:30:05.791Z",
4
4
  "packageName": "@praxisui/core",
5
- "packageVersion": "9.0.47",
5
+ "packageVersion": "9.0.48",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -38830,12 +38830,21 @@ class DynamicWidgetPageComponent {
38830
38830
  if (this.authoringCapabilities == null) {
38831
38831
  return widgets;
38832
38832
  }
38833
- const enableCustomization = this.isAuthoringCapabilityEnabled('childCustomization');
38833
+ const authoredByKey = new Map((this.authoredPageDefinition?.widgets || []).map((widget) => [
38834
+ widget.key,
38835
+ widget,
38836
+ ]));
38834
38837
  return widgets.map((widget) => {
38835
38838
  const metadata = this.componentMetadata?.get(widget.definition?.id || '');
38836
- if (!metadata?.inputs?.some((input) => input.name === 'enableCustomization') ||
38837
- widget.definition.inputs?.['enableCustomization'] ===
38838
- enableCustomization) {
38839
+ if (!metadata?.inputs?.some((input) => input.name === 'enableCustomization')) {
38840
+ return widget;
38841
+ }
38842
+ const authoredEnableCustomization = authoredByKey.get(widget.key)?.definition.inputs?.['enableCustomization'] === true;
38843
+ const enableCustomization = this.enableCustomization &&
38844
+ this.isAuthoringCapabilityEnabled('childCustomization') &&
38845
+ authoredEnableCustomization;
38846
+ if (widget.definition.inputs?.['enableCustomization'] ===
38847
+ enableCustomization) {
38839
38848
  return widget;
38840
38849
  }
38841
38850
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "9.0.47",
3
+ "version": "9.0.48",
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",
@@ -14115,7 +14115,7 @@ interface WidgetPageAuthoringCapabilities {
14115
14115
  widgetInputs?: boolean;
14116
14116
  /** Allows removing widgets from the page. */
14117
14117
  widgetRemoval?: boolean;
14118
- /** Allows nested components to receive authoring-only customization inputs. */
14118
+ /** Grants nested authoring only to widgets that explicitly opt in. */
14119
14119
  childCustomization?: boolean;
14120
14120
  }
14121
14121
  /** Fine-grained shell capabilities used by the canonical shell editor. */