@praxisui/metadata-editor 9.0.59 → 9.0.60

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/metadata-editor",
3
- "version": "9.0.59",
3
+ "version": "9.0.60",
4
4
  "description": "Metadata editor for Praxis UI fields and components with runtime integration.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -8,10 +8,10 @@
8
8
  "@angular/cdk": "^21.0.0",
9
9
  "@angular/forms": "^21.0.0",
10
10
  "@angular/material": "^21.0.0",
11
- "@praxisui/ai": "^9.0.59",
12
- "@praxisui/core": "^9.0.59",
13
- "@praxisui/dynamic-fields": "^9.0.59",
14
- "@praxisui/settings-panel": "^9.0.59",
11
+ "@praxisui/ai": "^9.0.60",
12
+ "@praxisui/core": "^9.0.60",
13
+ "@praxisui/dynamic-fields": "^9.0.60",
14
+ "@praxisui/settings-panel": "^9.0.60",
15
15
  "rxjs": "~7.8.0"
16
16
  },
17
17
  "dependencies": {
@@ -33,6 +33,10 @@ interface EditorProperty {
33
33
  row?: string;
34
34
  inline?: boolean;
35
35
  order?: number;
36
+ /** Specialized live-preview composition for a three-stop gradient row. */
37
+ gradientPreviewKind?: 'stars' | 'radial';
38
+ /** i18n key prefix used by the gradient preview title, description and aria label. */
39
+ gradientPreviewI18nPrefix?: string;
36
40
  [key: string]: any;
37
41
  }
38
42
  type ConfigMap = Record<FieldControlType, EditorProperty[]>;
@@ -109,6 +113,14 @@ declare class DynamicEditorRendererComponent implements OnChanges {
109
113
  rowClass(row: FieldMetadata[]): string;
110
114
  isPresentationRulesRow(row: FieldMetadata[]): boolean;
111
115
  isPresentationChoiceRow(row: FieldMetadata[]): boolean;
116
+ isGradientStopsRow(row: FieldMetadata[]): boolean;
117
+ gradientPreviewKind(row?: FieldMetadata[]): 'stars' | 'radial';
118
+ gradientPreviewTitle(row?: FieldMetadata[]): string;
119
+ gradientPreviewDescription(row?: FieldMetadata[]): string;
120
+ gradientPreviewBackground(row: FieldMetadata[]): string;
121
+ gradientPreviewAriaLabel(row: FieldMetadata[]): string;
122
+ private gradientPreviewI18nPrefix;
123
+ private previewColor;
112
124
  canRenderPresentationRulesRow(row: FieldMetadata[]): boolean;
113
125
  canRenderPresentationChoiceRow(row: FieldMetadata[]): boolean;
114
126
  hasControlsForRow(row: FieldMetadata[]): boolean;
@@ -154,6 +166,7 @@ declare class FieldMetadataEditorComponent implements OnInit {
154
166
  ngOnInit(): void;
155
167
  private resolveCanonicalEditorProperties;
156
168
  private rebuildEditorForType;
169
+ private setupGradientStopValidationSync;
157
170
  private setupCurrencyPresetSync;
158
171
  apply(): void;
159
172
  onSave(): Partial<FieldDefinition> | undefined;