Skip to content

Commit

Permalink
Update api-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jan 31, 2024
1 parent 4836654 commit d43ea02
Show file tree
Hide file tree
Showing 18 changed files with 198 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api-generator/components/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ const AutoCompleteProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'dataKey',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,18 @@ const CalendarProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'readonly',
type: 'boolean',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/cascadeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,18 @@ const CascadeSelectProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'dataKey',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ const CheckboxProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'readonly',
type: 'boolean',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/chips.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ const ChipsProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'placeholder',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ const DropdownProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'dataKey',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/inputmask.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ const InputMaskProps = [
default: 'false',
description: 'Defines if model sets the raw unmasked value to bound value or the formatted mask value.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'pt',
type: 'any',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/inputnumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,18 @@ const InputNumberProps = [
default: 'null',
description: 'Placeholder text for the input.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'inputId',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/inputtext.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ const InputTextProps = [
default: 'null',
description: 'Defines the size of the component, valid values are "small" and "large".'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'pt',
type: 'any',
Expand Down
6 changes: 6 additions & 0 deletions api-generator/components/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ const ListboxProps = [
default: 'false',
description: 'When specified, disables the component.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'dataKey',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/multiselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ const MultiSelectProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'inputId',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@ const PasswordProps = [
default: 'null',
description: 'Placeholder text for the input.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'required',
type: 'boolean',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/radiobutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ const RadioButtonProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'inputId',
type: 'string',
Expand Down
6 changes: 6 additions & 0 deletions api-generator/components/selectbutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ const SelectButtonProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'dataKey',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/textarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ const TextareaProps = [
default: 'false',
description: 'When present, height of textarea changes as being typed.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'pt',
type: 'any',
Expand Down
6 changes: 6 additions & 0 deletions api-generator/components/togglebutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const ToggleButtonProps = [
default: 'false',
description: 'When present, it specifies that the element should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'inputId',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/treeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,18 @@ const TreeSelectProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'tabindex',
type: 'string',
Expand Down
12 changes: 12 additions & 0 deletions api-generator/components/tristatecheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ const TriStateCheckboxProps = [
default: 'false',
description: 'When present, it specifies that the component should be disabled.'
},
{
name: 'invalid',
type: 'boolean',
default: 'false',
description: 'When present, it specifies that the component should have invalid state style.'
},
{
name: 'variant',
type: 'string',
default: 'outlined',
description: 'Specifies the input variant of the component.'
},
{
name: 'tabindex',
type: 'string',
Expand Down

0 comments on commit d43ea02

Please sign in to comment.