@nimbus-ds/patterns 1.17.0 → 1.18.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/CHANGELOG.md +7 -3
- package/dist/CHANGELOG.md +7 -3
- package/dist/Editor/index.js +1 -1
- package/dist/FormField/index.d.ts +7 -3
- package/dist/FormField/index.js +1 -1
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -305,9 +305,13 @@ export type FormFieldTextareaProperties = Omit<FormFieldProperties, "children">
|
|
|
305
305
|
export type FormFieldTextareaBaseProps = FormFieldTextareaProperties & Omit<TextareaProps, "appearance"> & HTMLAttributes<HTMLElement>;
|
|
306
306
|
declare const FormFieldTextarea: React.ForwardRefExoticComponent<Pick<FormFieldTextareaBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "cols" | "dirName" | "rows" | "wrap" | "appearance" | "helpText" | "helpIcon" | "showHelpText" | "lines"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
307
307
|
export type FormFieldTextareaProps = ComponentPropsWithRef<typeof FormField.Textarea>;
|
|
308
|
-
export type FormFieldInputProperties = Omit<FormFieldProperties, "children"> & Omit<InputProperties, "appearance"
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
export type FormFieldInputProperties = Omit<FormFieldProperties, "children"> & Omit<InputProperties, "appearance"> & {
|
|
309
|
+
appearance?: FormFieldProperties["appearance"] | InputProperties["appearance"];
|
|
310
|
+
};
|
|
311
|
+
export type FormFieldInputBaseProps = Omit<FormFieldInputProperties, "appearance"> & Omit<InputProps, "appearance"> & {
|
|
312
|
+
appearance?: FormFieldProperties["appearance"] | InputProperties["appearance"];
|
|
313
|
+
} & HTMLAttributes<HTMLElement>;
|
|
314
|
+
declare const FormFieldInput: React.ForwardRefExoticComponent<Pick<FormFieldInputBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "appearance" | "data-testid" | "helpText" | "helpIcon" | "showHelpText" | "aiGenerated" | "appendPosition" | "append"> & React.RefAttributes<HTMLInputElement>>;
|
|
311
315
|
export type FormFieldInputProps = ComponentPropsWithRef<typeof FormField.Input>;
|
|
312
316
|
export interface FormFieldComponents {
|
|
313
317
|
Select: typeof FormFieldSelect;
|