Fixed #7209 - Form components: wrong default value of variant prop in .d.ts files

pull/7214/head
tugcekucukoglu 2025-02-06 17:37:09 +03:00
parent df90418496
commit 61cb4594b0
14 changed files with 27 additions and 27 deletions

View File

@ -391,9 +391,9 @@ export interface AutoCompleteProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* A property to uniquely identify an option. * A property to uniquely identify an option.
*/ */

View File

@ -324,9 +324,9 @@ export interface CascadeSelectProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* A property to uniquely identify an option. * A property to uniquely identify an option.
*/ */

View File

@ -136,9 +136,9 @@ export interface CheckboxProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* When present, it specifies that an input field is read-only. * When present, it specifies that an input field is read-only.
* @default false * @default false

View File

@ -719,9 +719,9 @@ export interface DatePickerProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* When present, it specifies that an input field is read-only. * When present, it specifies that an input field is read-only.
* @defaultValue false * @defaultValue false

View File

@ -162,9 +162,9 @@ export interface InputMaskProps {
size?: 'small' | 'large' | undefined; size?: 'small' | 'large' | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Spans 100% width of the container when enabled. * Spans 100% width of the container when enabled.
* @defaultValue null * @defaultValue null

View File

@ -339,9 +339,9 @@ export interface InputNumberProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* When present, it specifies that an input field is read-only. * When present, it specifies that an input field is read-only.
* @defaultValue false * @defaultValue false

View File

@ -187,9 +187,9 @@ export interface InputOtpProps {
readonly?: boolean | undefined; readonly?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Index of the element in tabbing order. * Index of the element in tabbing order.
*/ */

View File

@ -106,7 +106,7 @@ export interface InputTextProps extends Omit<InputHTMLAttributes, 'size'> {
invalid?: boolean | undefined | null; invalid?: boolean | undefined | null;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined | null; variant?: 'outlined' | 'filled' | undefined | null;
/** /**

View File

@ -377,9 +377,9 @@ export interface MultiSelectProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Spans 100% width of the container when enabled. * Spans 100% width of the container when enabled.
* @defaultValue null * @defaultValue null

View File

@ -247,9 +247,9 @@ export interface PasswordProps extends Omit<InputHTMLAttributes, 'size'> {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Placeholder text for the input. * Placeholder text for the input.
*/ */

View File

@ -130,9 +130,9 @@ export interface RadioButtonProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* When present, it specifies that an input field is read-only. * When present, it specifies that an input field is read-only.
* @default false * @default false

View File

@ -379,9 +379,9 @@ export interface SelectProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* A property to uniquely identify an option. * A property to uniquely identify an option.
*/ */

View File

@ -115,9 +115,9 @@ export interface TextareaProps extends TextareaHTMLAttributes {
invalid?: boolean | undefined; invalid?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Spans 100% width of the container when enabled. * Spans 100% width of the container when enabled.
* @defaultValue null * @defaultValue null

View File

@ -303,9 +303,9 @@ export interface TreeSelectProps {
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Specifies the input variant of the component. * Specifies the input variant of the component.
* @defaultValue outlined * @defaultValue null
*/ */
variant?: 'outlined' | 'filled' | undefined; variant?: 'outlined' | 'filled' | undefined | null;
/** /**
* Index of the element in tabbing order. * Index of the element in tabbing order.
*/ */