@sprucelabs/heartwood-view-controllers 128.6.0 → 128.6.2

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?: string | null | {
491
- markdown?: string;
492
- };
493
+ hint?: FieldHint;
493
494
  vc?: FormInputViewController;
494
495
  fieldDefinition?: FieldDefinitions;
495
496
  rightButtons?: InputButton[];
@@ -163,6 +163,7 @@ class LoginCardViewController extends AbstractViewController {
163
163
  renderAs: 'checkbox',
164
164
  hint,
165
165
  });
166
+ fields[0].hint = null;
166
167
  }
167
168
  else {
168
169
  fields[0].hint = hint;
@@ -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?: string | null | {
491
- markdown?: string;
492
- };
493
+ hint?: FieldHint;
493
494
  vc?: FormInputViewController;
494
495
  fieldDefinition?: FieldDefinitions;
495
496
  rightButtons?: InputButton[];
@@ -155,6 +155,7 @@ class LoginCardViewController extends Abstract_vc_1.default {
155
155
  renderAs: 'checkbox',
156
156
  hint,
157
157
  });
158
+ fields[0].hint = null;
158
159
  }
159
160
  else {
160
161
  fields[0].hint = hint;
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "sideEffects": false,
13
13
  "license": "MIT",
14
14
  "description": "All the power of Heartwood in one, convenient package.",
15
- "version": "128.6.0",
15
+ "version": "128.6.2",
16
16
  "skill": {
17
17
  "namespace": "HeartwoodViewControllers",
18
18
  "commandOverrides": {