@sprucelabs/heartwood-view-controllers 128.6.0 → 128.6.1
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.
|
@@ -481,15 +481,16 @@ export interface InputComponent {
|
|
|
481
481
|
type: string;
|
|
482
482
|
}
|
|
483
483
|
export type RatingsInputComponentIcon = NonNullable<RatingsInputComponent['icon']>;
|
|
484
|
+
export type FieldHint = string | null | {
|
|
485
|
+
markdown?: string;
|
|
486
|
+
};
|
|
484
487
|
export interface FieldRenderOptions<S extends Schema> {
|
|
485
488
|
name: SchemaFieldNames<S>;
|
|
486
489
|
renderAs?: RenderAsInputComponent;
|
|
487
490
|
renderHintAs?: 'subtitle' | 'tooltip';
|
|
488
491
|
placeholder?: string | null;
|
|
489
492
|
label?: string | null;
|
|
490
|
-
hint?:
|
|
491
|
-
markdown?: string;
|
|
492
|
-
};
|
|
493
|
+
hint?: FieldHint;
|
|
493
494
|
vc?: FormInputViewController;
|
|
494
495
|
fieldDefinition?: FieldDefinitions;
|
|
495
496
|
rightButtons?: InputButton[];
|
|
@@ -481,15 +481,16 @@ export interface InputComponent {
|
|
|
481
481
|
type: string;
|
|
482
482
|
}
|
|
483
483
|
export type RatingsInputComponentIcon = NonNullable<RatingsInputComponent['icon']>;
|
|
484
|
+
export type FieldHint = string | null | {
|
|
485
|
+
markdown?: string;
|
|
486
|
+
};
|
|
484
487
|
export interface FieldRenderOptions<S extends Schema> {
|
|
485
488
|
name: SchemaFieldNames<S>;
|
|
486
489
|
renderAs?: RenderAsInputComponent;
|
|
487
490
|
renderHintAs?: 'subtitle' | 'tooltip';
|
|
488
491
|
placeholder?: string | null;
|
|
489
492
|
label?: string | null;
|
|
490
|
-
hint?:
|
|
491
|
-
markdown?: string;
|
|
492
|
-
};
|
|
493
|
+
hint?: FieldHint;
|
|
493
494
|
vc?: FormInputViewController;
|
|
494
495
|
fieldDefinition?: FieldDefinitions;
|
|
495
496
|
rightButtons?: InputButton[];
|
package/package.json
CHANGED