@dloizides/ui-forms 1.62.0 → 1.64.0

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/dist/index.d.mts CHANGED
@@ -510,6 +510,8 @@ interface FormFieldProps extends Omit<TextInputProps, 'style'> {
510
510
  /** Grows a multi-line box to fit its text, so nothing scrolls inside it; never fewer rows than this. */
511
511
  autoGrowMinRows?: number;
512
512
  labelVariant?: FieldLabelVariant;
513
+ /** A decorative icon drawn inside the start of the input (a search glyph); not used with `recentKey`. */
514
+ icon?: React.ReactNode;
513
515
  }
514
516
  declare const FormField: ({ autoGrowMinRows, ...fieldProps }: FormFieldProps) => React.ReactElement;
515
517
 
@@ -1151,7 +1153,7 @@ interface DatePickerLabels {
1151
1153
  interface DatePickerProviderProps {
1152
1154
  /** PRE-LOCALIZED picker labels; any omitted key keeps its English default. */
1153
1155
  labels?: Partial<DatePickerLabels>;
1154
- /** BCP 47 locale for display, typing order and week start; omitted = the runtime locale. */
1156
+ /** BCP 47 locale for display, typing order and week start; omitted = en-GB, never the browser locale. */
1155
1157
  locale?: string;
1156
1158
  /** Fixed `YYYY-MM-DD` today, for demos and tests. */
1157
1159
  today?: string;
package/dist/index.d.ts CHANGED
@@ -510,6 +510,8 @@ interface FormFieldProps extends Omit<TextInputProps, 'style'> {
510
510
  /** Grows a multi-line box to fit its text, so nothing scrolls inside it; never fewer rows than this. */
511
511
  autoGrowMinRows?: number;
512
512
  labelVariant?: FieldLabelVariant;
513
+ /** A decorative icon drawn inside the start of the input (a search glyph); not used with `recentKey`. */
514
+ icon?: React.ReactNode;
513
515
  }
514
516
  declare const FormField: ({ autoGrowMinRows, ...fieldProps }: FormFieldProps) => React.ReactElement;
515
517
 
@@ -1151,7 +1153,7 @@ interface DatePickerLabels {
1151
1153
  interface DatePickerProviderProps {
1152
1154
  /** PRE-LOCALIZED picker labels; any omitted key keeps its English default. */
1153
1155
  labels?: Partial<DatePickerLabels>;
1154
- /** BCP 47 locale for display, typing order and week start; omitted = the runtime locale. */
1156
+ /** BCP 47 locale for display, typing order and week start; omitted = en-GB, never the browser locale. */
1155
1157
  locale?: string;
1156
1158
  /** Fixed `YYYY-MM-DD` today, for demos and tests. */
1157
1159
  today?: string;