@launchpad-ui/form
Advanced tools
Comparing version 0.8.12 to 0.8.13
@@ -1,3 +0,3 @@ | ||
import type { InputHTMLAttributes } from 'react'; | ||
type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type CheckboxProps = ComponentProps<'input'> & { | ||
/** | ||
@@ -9,11 +9,5 @@ * The className to pass into the Checkbox's Label component | ||
}; | ||
declare const Checkbox: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & { | ||
/** | ||
* The className to pass into the Checkbox's Label component | ||
*/ | ||
labelClassName?: string | undefined; | ||
'data-test-id'?: string | undefined; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export { Checkbox }; | ||
export type { CheckboxProps }; | ||
//# sourceMappingURL=Checkbox.d.ts.map |
@@ -7,13 +7,5 @@ /// <reference types="react" /> | ||
}; | ||
declare const CompactTextField: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & { | ||
suffix?: string | undefined; | ||
tiny?: boolean | undefined; | ||
overrideWidth?: string | undefined; | ||
'data-test-id'?: string | undefined; | ||
} & { | ||
label: string; | ||
needsErrorFeedback?: boolean | undefined; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
declare const CompactTextField: import("react").ForwardRefExoticComponent<Omit<CompactTextFieldProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export { CompactTextField }; | ||
export type { CompactTextFieldProps }; | ||
//# sourceMappingURL=CompactTextField.d.ts.map |
import type { FieldPath } from './utils'; | ||
import type { HTMLAttributes } from 'react'; | ||
type FieldErrorProps = HTMLAttributes<HTMLSpanElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type FieldErrorProps = ComponentProps<'span'> & { | ||
name: FieldPath; | ||
@@ -5,0 +5,0 @@ errorMessage?: string; |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type FieldSetProps = HTMLAttributes<HTMLFieldSetElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type FieldSetProps = ComponentProps<'fieldset'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
@@ -1,3 +0,3 @@ | ||
import type { FormHTMLAttributes } from 'react'; | ||
type FormProps = FormHTMLAttributes<HTMLFormElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type FormProps = ComponentProps<'form'> & { | ||
inline?: boolean; | ||
@@ -4,0 +4,0 @@ hasIncreasedErrorMargin?: boolean; |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type FormGroupProps = HTMLAttributes<HTMLFieldSetElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type FormGroupProps = ComponentProps<'fieldset'> & { | ||
name?: string | string[]; | ||
@@ -4,0 +4,0 @@ ignoreValidation?: boolean; |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type FormHintProps = HTMLAttributes<HTMLDivElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type FormHintProps = ComponentProps<'div'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
import type { IconProps } from '@launchpad-ui/icons'; | ||
import type { HTMLAttributes } from 'react'; | ||
type IconFieldProps = HTMLAttributes<HTMLDivElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type IconFieldProps = ComponentProps<'div'> & { | ||
icon(args: IconProps): JSX.Element; | ||
@@ -5,0 +5,0 @@ children: JSX.Element | JSX.Element[]; |
@@ -1,3 +0,3 @@ | ||
import type { LabelHTMLAttributes } from 'react'; | ||
type LabelProps = LabelHTMLAttributes<HTMLLabelElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type LabelProps = ComponentProps<'label'> & { | ||
required?: boolean; | ||
@@ -4,0 +4,0 @@ optional?: boolean; |
@@ -1,3 +0,3 @@ | ||
import type { CSSProperties, InputHTMLAttributes } from 'react'; | ||
type RadioProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> & { | ||
import type { CSSProperties, ComponentProps } from 'react'; | ||
type RadioProps = Omit<ComponentProps<'input'>, 'type'> & { | ||
labelClassName?: string; | ||
@@ -4,0 +4,0 @@ labelStyle?: CSSProperties; |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type RequiredAsteriskProps = HTMLAttributes<HTMLSpanElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type RequiredAsteriskProps = ComponentProps<'span'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
@@ -1,3 +0,3 @@ | ||
import type { SelectHTMLAttributes } from 'react'; | ||
type SelectFieldProps = SelectHTMLAttributes<HTMLSelectElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type SelectFieldProps = ComponentProps<'select'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
@@ -1,10 +0,8 @@ | ||
import type { TextareaHTMLAttributes } from 'react'; | ||
type TextAreaProps = TextareaHTMLAttributes<HTMLTextAreaElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TextAreaProps = ComponentProps<'textarea'> & { | ||
'data-test-id'?: string; | ||
}; | ||
declare const TextArea: import("react").ForwardRefExoticComponent<TextareaHTMLAttributes<HTMLTextAreaElement> & { | ||
'data-test-id'?: string | undefined; | ||
} & import("react").RefAttributes<HTMLTextAreaElement>>; | ||
declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>; | ||
export { TextArea }; | ||
export type { TextAreaProps }; | ||
//# sourceMappingURL=TextArea.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import type { InputHTMLAttributes } from 'react'; | ||
type TextFieldProps = InputHTMLAttributes<HTMLInputElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TextFieldProps = ComponentProps<'input'> & { | ||
suffix?: string; | ||
@@ -8,10 +8,5 @@ tiny?: boolean; | ||
}; | ||
declare const TextField: import("react").ForwardRefExoticComponent<InputHTMLAttributes<HTMLInputElement> & { | ||
suffix?: string | undefined; | ||
tiny?: boolean | undefined; | ||
overrideWidth?: string | undefined; | ||
'data-test-id'?: string | undefined; | ||
} & import("react").RefAttributes<HTMLInputElement>>; | ||
declare const TextField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>; | ||
export { TextField }; | ||
export type { TextFieldProps }; | ||
//# sourceMappingURL=TextField.d.ts.map |
{ | ||
"name": "@launchpad-ui/form", | ||
"version": "0.8.12", | ||
"version": "0.8.13", | ||
"status": "beta", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
120269
1599