Skip to content

Commit

Permalink
Fixed #3707 - Class and Style properties type definition defects
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Mar 9, 2023
1 parent 57175d7 commit d3a7a17
Show file tree
Hide file tree
Showing 36 changed files with 99 additions and 99 deletions.
4 changes: 2 additions & 2 deletions api-generator/components/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const AutoCompleteProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand All @@ -151,7 +151,7 @@ const AutoCompleteProps = [
},
{
name: 'panelClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the overlay panel.'
},
Expand Down
8 changes: 4 additions & 4 deletions api-generator/components/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,13 @@ const CalendarProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
Expand All @@ -277,13 +277,13 @@ const CalendarProps = [
},
{
name: 'panelClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the overlay panel.'
},
{
name: 'panelStyle',
type: 'string',
type: 'object',
default: 'null',
description: 'Inline style of the overlay panel.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/cascadeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const CascadeSelectProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand All @@ -85,7 +85,7 @@ const CascadeSelectProps = [
},
{
name: 'panelClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the overlay panel.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ const CheckboxProps = [
},
{
name: 'inputClass',
type: 'any',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/chips.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ const ChipsProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
Expand Down
2 changes: 1 addition & 1 deletion api-generator/components/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const DropdownProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/inputnumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ const InputNumberProps = [
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/inputswitch.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ const InputSwitchProps = [
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand Down
8 changes: 4 additions & 4 deletions api-generator/components/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ const PasswordProps = [
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
{
name: 'inputClass',
type: 'any',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand All @@ -121,13 +121,13 @@ const PasswordProps = [
},
{
name: 'panelClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the overlay panel.'
},
{
name: 'panelStyle',
type: 'string',
type: 'object',
default: 'null',
description: 'Inline style of the overlay panel.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/radiobutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ const RadioButtonProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
Expand Down
4 changes: 2 additions & 2 deletions api-generator/components/togglebutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ const ToggleButtonProps = [
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
Expand Down
6 changes: 3 additions & 3 deletions api-generator/components/treeselect.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ const TreeSelectProps = [
},
{
name: 'inputStyle',
type: 'any',
type: 'object',
default: 'null',
description: 'Inline style of the input field.'
},
{
name: 'inputClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the input field.'
},
Expand All @@ -61,7 +61,7 @@ const TreeSelectProps = [
},
{
name: 'panelClass',
type: 'string',
type: 'string | object',
default: 'null',
description: 'Style class of the overlay panel.'
},
Expand Down
10 changes: 5 additions & 5 deletions components/autocomplete/AutoComplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,23 +183,23 @@ export interface AutoCompleteProps {
/**
* Inline style of the input field.
*/
inputStyle?: any;
inputStyle?: object | undefined;
/**
* Style class of the input field.
*/
inputClass?: any;
inputClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/
inputProps?: InputHTMLAttributes | undefined;
/**
* Inline style of the overlay panel.
*/
panelStyle?: any;
panelStyle?: object | undefined;
/**
* Style class of the overlay panel.
*/
panelClass?: any;
panelClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/
Expand All @@ -212,7 +212,7 @@ export interface AutoCompleteProps {
/**
* Style class of the dropdown button.
*/
dropdownClass?: string | undefined;
dropdownClass?: string | object | undefined;
/**
* Icon to display in loading state.
* @defaultValue pi pi-spinner pi-spin
Expand Down
10 changes: 5 additions & 5 deletions components/autocomplete/AutoComplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,23 +222,23 @@ export default {
default: null
},
inputStyle: {
type: null,
type: Object,
default: null
},
inputClass: {
type: String,
type: [String, Object],
default: null
},
inputProps: {
type: null,
default: null
},
panelStyle: {
type: null,
type: Object,
default: null
},
panelClass: {
type: String,
type: [String, Object],
default: null
},
panelProps: {
Expand All @@ -250,7 +250,7 @@ export default {
default: 'pi pi-chevron-down'
},
dropdownClass: {
type: String,
type: [String, Object],
default: null
},
loadingIcon: {
Expand Down
8 changes: 4 additions & 4 deletions components/calendar/Calendar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,23 +307,23 @@ export interface CalendarProps {
/**
* Inline style of the input field.
*/
inputStyle?: any | undefined;
inputStyle?: object | undefined;
/**
* Style class of the input field.
*/
inputClass?: any | undefined;
inputClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/
inputProps?: InputHTMLAttributes | undefined;
/**
* Inline style of the overlay panel.
*/
panelStyle?: any | undefined;
panelStyle?: object | undefined;
/**
* Style class of the overlay panel.
*/
panelClass?: any | undefined;
panelClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/
Expand Down
8 changes: 4 additions & 4 deletions components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -504,23 +504,23 @@ export default {
default: null
},
inputClass: {
type: String,
type: [String, Object],
default: null
},
inputStyle: {
type: null,
type: Object,
default: null
},
inputProps: {
type: null,
default: null
},
panelClass: {
type: String,
type: [String, Object],
default: null
},
panelStyle: {
type: null,
type: Object,
default: null
},
panelProps: {
Expand Down
8 changes: 4 additions & 4 deletions components/cascadeselect/CascadeSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,23 @@ export interface CascadeSelectProps {
/**
* Inline style of the input field.
*/
inputStyle?: any;
inputStyle?: object | undefined;
/**
* Style class of the input field.
*/
inputClass?: any;
inputClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/
inputProps?: InputHTMLAttributes | undefined;
/**
* Inline style of the overlay panel.
*/
panelStyle?: any;
panelStyle?: object | undefined;
/**
* Style class of the overlay panel.
*/
panelClass?: any;
panelClass?: string | object | undefined;
/**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/
Expand Down
Loading

0 comments on commit d3a7a17

Please sign in to comment.