Merge branch 'master' of https://github.com/primefaces/primevue into radio-button-pt-fix

This commit is contained in:
Huge Letters 2023-08-02 11:13:04 +02:00
commit 1babffe136
241 changed files with 7449 additions and 2611 deletions

View file

@ -45,7 +45,7 @@ const AccordionProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,13 +21,13 @@ const AccordionTabProps = [
name: 'headerProps', name: 'headerProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab header.' description: 'Used to pass all properties of the HTMLDivElement to the tab header.'
}, },
{ {
name: 'headerActionProps', name: 'headerActionProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.' description: 'Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
}, },
{ {
name: 'contentStyle', name: 'contentStyle',
@ -45,7 +45,7 @@ const AccordionTabProps = [
name: 'contentProps', name: 'contentProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.' description: 'Used to pass all properties of the HTMLDivElement to the tab content.'
}, },
{ {
name: 'disabled', name: 'disabled',
@ -57,7 +57,7 @@ const AccordionTabProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -141,7 +141,7 @@ const AutoCompleteProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -159,7 +159,7 @@ const AutoCompleteProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'dropdownIcon', name: 'dropdownIcon',
@ -255,7 +255,7 @@ const AutoCompleteProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const AvatarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const AvatarGroupProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const BadgeProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const BlockUIProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const BreadcrumbProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -99,7 +99,7 @@ const ButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -297,7 +297,7 @@ const CalendarProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelClass', name: 'panelClass',
@ -315,13 +315,13 @@ const CalendarProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -3,7 +3,7 @@ const CardProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -87,7 +87,7 @@ const CarouselProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -75,7 +75,7 @@ const CascadeSelectProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -93,7 +93,7 @@ const CascadeSelectProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'appendTo', name: 'appendTo',
@ -189,7 +189,7 @@ const CascadeSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const ChartProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -75,7 +75,7 @@ const CheckboxProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -93,7 +93,7 @@ const CheckboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const ChipProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -63,13 +63,13 @@ const ChipsProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -75,7 +75,7 @@ const ColorPickerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -255,7 +255,7 @@ const ColumnProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -9,7 +9,7 @@ const ColumnGroupProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -21,7 +21,7 @@ const ConfirmDialogProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -9,7 +9,7 @@ const ConfirmPopupProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const ContextMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -388,7 +388,7 @@ const DataTableProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -99,7 +99,7 @@ const DataViewProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -9,7 +9,7 @@ const DataViewLayoutOptionsProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -3,7 +3,7 @@ const DeferredContentProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -135,7 +135,7 @@ const DialogProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const DividerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const DockProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -129,7 +129,7 @@ const DropdownProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -147,19 +147,19 @@ const DropdownProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the component.'
}, },
{ {
name: 'clearIconProps', name: 'clearIconProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLElement to the clear icon inside the component.' description: 'Used to pass all properties of the HTMLElement to the clear icon inside the component.'
}, },
{ {
name: 'appendTo', name: 'appendTo',
@ -261,7 +261,7 @@ const DropdownProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const EditorProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,13 +21,13 @@ const FieldsetProps = [
name: 'toggleButtonProps', name: 'toggleButtonProps',
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component.' description: 'Used to pass the custom value to read for the AnchorHTMLAttributes inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -147,7 +147,7 @@ const FileUploadProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -147,7 +147,7 @@ const GalleriaProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const ImageProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const InlineMessageProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const InplaceProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const InputMaskProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -169,25 +169,25 @@ const InputNumberProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'incrementButtonProps', name: 'incrementButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to increment button inside the component.' description: 'Used to pass all properties of the HTMLButtonElement to increment button inside the component.'
}, },
{ {
name: 'decrementButtonProps', name: 'decrementButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to decrement button inside the component.' description: 'Used to pass all properties of the HTMLButtonElement to decrement button inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,13 +39,13 @@ const InputSwitchProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const InputTextProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -99,7 +99,7 @@ const KnobProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -106,7 +106,7 @@ const ListboxProps = [
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the component.'
}, },
{ {
name: 'virtualScrollerOptions', name: 'virtualScrollerOptions',
@ -178,7 +178,7 @@ const ListboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const MegaMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const MenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const MenubarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const MessageProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -69,7 +69,7 @@ const MultiSelectProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelStyle', name: 'panelStyle',
@ -87,19 +87,19 @@ const MultiSelectProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel.'
}, },
{ {
name: 'filterInputProps', name: 'filterInputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.' description: 'Used to pass all properties of the HTMLInputElement to the filter input inside the overlay panel.'
}, },
{ {
name: 'closeButtonProps', name: 'closeButtonProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the close button inside the overlay panel.' description: 'Used to pass all properties of the HTMLButtonElement to the close button inside the overlay panel.'
}, },
{ {
name: 'dataKey', name: 'dataKey',
@ -297,7 +297,7 @@ const MultiSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -52,7 +52,7 @@ const OrderListProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const OrganizationChartProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -51,7 +51,7 @@ const OverlayPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -51,7 +51,7 @@ const PaginatorProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,13 +21,13 @@ const PanelProps = [
name: 'toggleButtonProps', name: 'toggleButtonProps',
type: 'string', type: 'string',
default: 'null', default: 'null',
description: 'Uses to pass the custom value to read for the anchor inside the component.' description: 'Used to pass the custom value to read for the anchor inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const PanelMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -111,7 +111,7 @@ const PasswordProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'panelId', name: 'panelId',
@ -135,13 +135,13 @@ const PasswordProps = [
name: 'panelProps', name: 'panelProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component.' description: 'Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -64,7 +64,7 @@ const PickListProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const ProgressbarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const ProgressSpinnerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -45,7 +45,7 @@ const RadioButtonProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -63,7 +63,7 @@ const RadioButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -51,7 +51,7 @@ const RatingProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -9,7 +9,7 @@ const RowProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -9,7 +9,7 @@ const ScrollPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const ScrollTopProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -63,7 +63,7 @@ const SelectButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -63,7 +63,7 @@ const SidebarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const SkeletonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -63,7 +63,7 @@ const SliderProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -111,7 +111,7 @@ const SpeedDialProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -105,7 +105,7 @@ const SplitButtonProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const SplitterProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const SplitterPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -27,7 +27,7 @@ const StepsProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,7 +21,7 @@ const TabMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -21,13 +21,13 @@ const TabPanelProps = [
name: 'headerProps', name: 'headerProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLLiElement to the tab header.' description: 'Used to pass all properties of the HTMLLiElement to the tab header.'
}, },
{ {
name: 'headerActionProps', name: 'headerActionProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.' description: 'Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.'
}, },
{ {
name: 'contentStyle', name: 'contentStyle',
@ -45,7 +45,7 @@ const TabPanelProps = [
name: 'contentProps', name: 'contentProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLDivElement to the tab content.' description: 'Used to pass all properties of the HTMLDivElement to the tab content.'
}, },
{ {
name: 'disabled', name: 'disabled',
@ -57,7 +57,7 @@ const TabPanelProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -33,13 +33,13 @@ const TabViewProps = [
name: 'previousButtonProps', name: 'previousButtonProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the previous button.' description: 'Used to pass all properties of the HTMLButtonElement to the previous button.'
}, },
{ {
name: 'nextButtonProps', name: 'nextButtonProps',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLButtonElement to the next button.' description: 'Used to pass all properties of the HTMLButtonElement to the next button.'
}, },
{ {
name: 'prevIcon', name: 'prevIcon',
@ -57,7 +57,7 @@ const TabViewProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const TagProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const TerminalProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -15,7 +15,7 @@ const TextareaProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -39,7 +39,7 @@ const TieredMenuProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const TimelineProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -33,7 +33,7 @@ const ToastProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -69,13 +69,13 @@ const ToggleButtonProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -9,7 +9,7 @@ const ToolbarProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -82,7 +82,7 @@ const TreeProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -106,7 +106,7 @@ const TreeSelectProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -232,7 +232,7 @@ const TreeTableProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -27,7 +27,7 @@ const TriStateCheckboxProps = [
name: 'inputProps', name: 'inputProps',
type: 'object', type: 'object',
default: 'null', default: 'null',
description: 'Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.' description: 'Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.'
}, },
{ {
name: 'aria-labelledby', name: 'aria-labelledby',
@ -45,7 +45,7 @@ const TriStateCheckboxProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
}, },
{ {
name: 'unstyled', name: 'unstyled',

View file

@ -106,7 +106,7 @@ const VirtualScrollerProps = [
name: 'pt', name: 'pt',
type: 'any', type: 'any',
default: 'null', default: 'null',
description: 'Uses to pass attributes to DOM elements inside the component.' description: 'Used to pass attributes to DOM elements inside the component.'
} }
]; ];

View file

@ -1,8 +1,8 @@
{ {
"id": 40, "id": 50,
"content": "Introducing the new Unstyled Mode", "content": "90+ UI Components for Tailwind CSS",
"linkText": "Learn More", "linkText": "Learn More",
"linkHref": "https://primevue.org/unstyled", "linkHref": "https://primevue.org/tailwind",
"backgroundStyle": "background-color:#4f8ff7", "backgroundStyle": "background-color:#4f8ff7",
"textStyle": "color:#ffffff;font-weight:500", "textStyle": "color:#ffffff;font-weight:500",
"linkStyle": "color:#ffffff;font-weight:700;text-decoration: underline;" "linkStyle": "color:#ffffff;font-weight:700;text-decoration: underline;"

View file

@ -12,7 +12,7 @@
<li :class="{ 'doc-tabmenu-active': tab === 1 }"> <li :class="{ 'doc-tabmenu-active': tab === 1 }">
<button type="button" @click="tab = 1">API</button> <button type="button" @click="tab = 1">API</button>
</li> </li>
<li :class="{ 'doc-tabmenu-active': tab === 2 }"> <li v-if="themingDocs" :class="{ 'doc-tabmenu-active': tab === 2 }">
<button type="button" @click="tab = 2">THEMING</button> <button type="button" @click="tab = 2">THEMING</button>
</li> </li>
<li v-if="ptTabComponent" :class="{ 'doc-tabmenu-active': tab === 3 }"> <li v-if="ptTabComponent" :class="{ 'doc-tabmenu-active': tab === 3 }">

View file

@ -58,20 +58,20 @@ export interface AccordionClickEvent extends AccordionTabOpenEvent {}
*/ */
export interface AccordionPassThroughOptions { export interface AccordionPassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: AccordionPassThroughOptionType; root?: AccordionPassThroughOptionType;
/** /**
* Uses to pass attributes to AccordionTab helper components. * Used to pass attributes to AccordionTab helper components.
* @deprecated since v3.30.1. Use 'accordiontab' property instead. * @deprecated since v3.30.1. Use 'accordiontab' property instead.
*/ */
tab?: AccordionTabPassThroughOptionType; tab?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to AccordionTab helper components. * Used to pass attributes to AccordionTab helper components.
*/ */
accordiontab?: AccordionTabPassThroughOptionType; accordiontab?: AccordionTabPassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -136,7 +136,7 @@ export interface AccordionProps {
*/ */
selectOnFocus?: boolean | undefined; selectOnFocus?: boolean | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {AccordionPassThroughOptions} * @type {AccordionPassThroughOptions}
*/ */
pt?: AccordionPassThroughOptions; pt?: AccordionPassThroughOptions;

View file

@ -29,31 +29,31 @@ export interface AccordionTabPassThroughMethodOptions {
*/ */
export interface AccordionTabPassThroughOptions { export interface AccordionTabPassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: AccordionTabPassThroughOptionType; root?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the header's DOM element. * Used to pass attributes to the header's DOM element.
*/ */
header?: AccordionTabPassThroughOptionType; header?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the headeraction's DOM element. * Used to pass attributes to the headeraction's DOM element.
*/ */
headerAction?: AccordionTabPassThroughOptionType; headerAction?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the headericon's DOM element. * Used to pass attributes to the headericon's DOM element.
*/ */
headerIcon?: AccordionTabPassThroughOptionType; headerIcon?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the headertitle's DOM element. * Used to pass attributes to the headertitle's DOM element.
*/ */
headerTitle?: AccordionTabPassThroughOptionType; headerTitle?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the toggleablecontent's DOM element. * Used to pass attributes to the toggleablecontent's DOM element.
*/ */
toggleableContent?: AccordionTabPassThroughOptionType; toggleableContent?: AccordionTabPassThroughOptionType;
/** /**
* Uses to pass attributes to the content's DOM element. * Used to pass attributes to the content's DOM element.
*/ */
content?: AccordionTabPassThroughOptionType; content?: AccordionTabPassThroughOptionType;
} }
@ -82,12 +82,12 @@ export interface AccordionTabProps {
*/ */
headerClass?: any; headerClass?: any;
/** /**
* Uses to pass all properties of the HTMLDivElement to the tab header. * Used to pass all properties of the HTMLDivElement to the tab header.
* @deprecated since v3.26.0. Use 'pt' property instead. * @deprecated since v3.26.0. Use 'pt' property instead.
*/ */
headerProps?: HTMLAttributes | undefined; headerProps?: HTMLAttributes | undefined;
/** /**
* Uses to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header. * Used to pass all properties of the HTMLAnchorElement to the focusable anchor element inside the tab header.
* @deprecated since v3.26.0. Use 'pt' property instead. * @deprecated since v3.26.0. Use 'pt' property instead.
*/ */
headerActionProps?: AnchorHTMLAttributes | undefined; headerActionProps?: AnchorHTMLAttributes | undefined;
@ -100,7 +100,7 @@ export interface AccordionTabProps {
*/ */
contentClass?: any; contentClass?: any;
/** /**
* Uses to pass all properties of the HTMLDivElement to the tab content. * Used to pass all properties of the HTMLDivElement to the tab content.
* @deprecated since v3.26.0. Use 'pt' property instead. * @deprecated since v3.26.0. Use 'pt' property instead.
*/ */
contentProps?: HTMLAttributes | undefined; contentProps?: HTMLAttributes | undefined;
@ -110,7 +110,7 @@ export interface AccordionTabProps {
*/ */
disabled?: boolean | undefined; disabled?: boolean | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {AccordionTabPassThroughOptions} * @type {AccordionTabPassThroughOptions}
*/ */
pt?: AccordionTabPassThroughOptions; pt?: AccordionTabPassThroughOptions;

View file

@ -98,76 +98,76 @@ export interface AutoCompleteCompleteEvent {
*/ */
export interface AutoCompletePassThroughOptions { export interface AutoCompletePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: AutoCompletePassThroughOptionType; root?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the input's DOM element. * Used to pass attributes to the input's DOM element.
*/ */
input?: AutoCompletePassThroughOptionType; input?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the container's DOM element. * Used to pass attributes to the container's DOM element.
*/ */
container?: AutoCompletePassThroughOptionType; container?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the token's DOM element. * Used to pass attributes to the token's DOM element.
*/ */
token?: AutoCompletePassThroughOptionType; token?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the token label's DOM element. * Used to pass attributes to the token label's DOM element.
*/ */
tokenLabel?: AutoCompletePassThroughOptionType; tokenLabel?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the remove token icon's DOM element. * Used to pass attributes to the remove token icon's DOM element.
*/ */
removeTokenIcon?: AutoCompletePassThroughOptionType; removeTokenIcon?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the input token's DOM element. * Used to pass attributes to the input token's DOM element.
*/ */
inputToken?: AutoCompletePassThroughOptionType; inputToken?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the loading icon's DOM element. * Used to pass attributes to the loading icon's DOM element.
*/ */
loadingIcon?: AutoCompletePassThroughOptionType; loadingIcon?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the Button component. * Used to pass attributes to the Button component.
*/ */
dropdownButton?: ButtonPassThroughOptionType; dropdownButton?: ButtonPassThroughOptionType;
/** /**
* Uses to pass attributes to the panel's DOM element. * Used to pass attributes to the panel's DOM element.
*/ */
panel?: AutoCompletePassThroughOptionType; panel?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the VirtualScroller component. * Used to pass attributes to the VirtualScroller component.
* @see {@link VirtualScrollerPassThroughOptionType} * @see {@link VirtualScrollerPassThroughOptionType}
*/ */
virtualScroller?: VirtualScrollerPassThroughOptionType; virtualScroller?: VirtualScrollerPassThroughOptionType;
/** /**
* Uses to pass attributes to the list's DOM element. * Used to pass attributes to the list's DOM element.
*/ */
list?: AutoCompletePassThroughOptionType; list?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the item group's DOM element. * Used to pass attributes to the item group's DOM element.
*/ */
itemGroup?: AutoCompletePassThroughOptionType; itemGroup?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the item's DOM element. * Used to pass attributes to the item's DOM element.
*/ */
item?: AutoCompletePassThroughOptionType; item?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the empty message's DOM element. * Used to pass attributes to the empty message's DOM element.
*/ */
emptyMessage?: AutoCompletePassThroughOptionType; emptyMessage?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the search result message's DOM element. * Used to pass attributes to the search result message's DOM element.
*/ */
searchResultMessage?: AutoCompletePassThroughOptionType; searchResultMessage?: AutoCompletePassThroughOptionType;
/** /**
* Uses to pass attributes to the selected message's DOM element. * Used to pass attributes to the selected message's DOM element.
*/ */
selectedMessage?: AutoCompletePassThroughOptionType; selectedMessage?: AutoCompletePassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -347,7 +347,7 @@ export interface AutoCompleteProps {
*/ */
inputClass?: string | object | undefined; inputClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component. * Used to pass all properties of the HTMLInputElement to the focusable input element inside the component.
*/ */
inputProps?: InputHTMLAttributes | undefined; inputProps?: InputHTMLAttributes | undefined;
/** /**
@ -359,7 +359,7 @@ export interface AutoCompleteProps {
*/ */
panelClass?: string | object | undefined; panelClass?: string | object | undefined;
/** /**
* Uses to pass all properties of the HTMLDivElement to the overlay panel inside the component. * Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
*/ */
panelProps?: HTMLAttributes | undefined; panelProps?: HTMLAttributes | undefined;
/** /**
@ -433,7 +433,7 @@ export interface AutoCompleteProps {
*/ */
'aria-labelledby'?: string | undefined; 'aria-labelledby'?: string | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {AutoCompletePassThroughOptions} * @type {AutoCompletePassThroughOptions}
*/ */
pt?: AutoCompletePassThroughOptions; pt?: AutoCompletePassThroughOptions;

View file

@ -35,23 +35,23 @@ export interface AvatarPassThroughAttributes {
*/ */
export interface AvatarPassThroughOptions { export interface AvatarPassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: AvatarPassThroughOptionType; root?: AvatarPassThroughOptionType;
/** /**
* Uses to pass attributes to the label's DOM element. * Used to pass attributes to the label's DOM element.
*/ */
label?: AvatarPassThroughOptionType; label?: AvatarPassThroughOptionType;
/** /**
* Uses to pass attributes to the icon's DOM element. * Used to pass attributes to the icon's DOM element.
*/ */
icon?: AvatarPassThroughOptionType; icon?: AvatarPassThroughOptionType;
/** /**
* Uses to pass attributes to the image's DOM element. * Used to pass attributes to the image's DOM element.
*/ */
image?: AvatarPassThroughOptionType; image?: AvatarPassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -93,7 +93,7 @@ export interface AvatarProps {
*/ */
'aria-labelledby'?: string | undefined; 'aria-labelledby'?: string | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {AvatarPassThroughOptions} * @type {AvatarPassThroughOptions}
*/ */
pt?: AvatarPassThroughOptions; pt?: AvatarPassThroughOptions;

View file

@ -25,11 +25,11 @@ export interface AvatarGroupPassThroughAttributes {
*/ */
export interface AvatarGroupPassThroughOptions { export interface AvatarGroupPassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: AvatarGroupPassThroughOptionType; root?: AvatarGroupPassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -40,7 +40,7 @@ export interface AvatarGroupPassThroughOptions {
*/ */
export interface AvatarGroupProps { export interface AvatarGroupProps {
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {AvatarGroupPassThroughOptions} * @type {AvatarGroupPassThroughOptions}
*/ */
pt?: AvatarGroupPassThroughOptions; pt?: AvatarGroupPassThroughOptions;

View file

@ -34,11 +34,11 @@ export interface BadgePassThroughAttributes {
*/ */
export interface BadgePassThroughOptions { export interface BadgePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: BadgePassThroughOptionType; root?: BadgePassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -61,7 +61,7 @@ export interface BadgeProps {
*/ */
size?: 'large' | 'xlarge' | null | undefined; size?: 'large' | 'xlarge' | null | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {BadgePassThroughOptions} * @type {BadgePassThroughOptions}
*/ */
pt?: BadgePassThroughOptions; pt?: BadgePassThroughOptions;

View file

@ -9,14 +9,21 @@
import { DirectiveBinding, ObjectDirective } from 'vue'; import { DirectiveBinding, ObjectDirective } from 'vue';
import { DirectiveHooks } from '../basedirective'; import { DirectiveHooks } from '../basedirective';
export declare type BadgeDirectivePassThroughOptionType = BadgeDirectivePassThroughAttributes | null | undefined; export declare type BadgeDirectivePassThroughOptionType = BadgeDirectivePassThroughAttributes | ((options: BadgePassThroughMethodOptions) => BadgeDirectivePassThroughAttributes) | null | undefined;
/**
* Custom passthrough(pt) option method.
*/
export interface BadgePassThroughMethodOptions {
context: BadgeContext;
}
/** /**
* Defines options of Badge. * Defines options of Badge.
*/ */
export interface BadgeDirectiveOptions { export interface BadgeDirectiveOptions {
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {BadgeDirectivePassThroughOptions} * @type {BadgeDirectivePassThroughOptions}
*/ */
pt?: BadgeDirectivePassThroughOptions; pt?: BadgeDirectivePassThroughOptions;
@ -33,11 +40,11 @@ export interface BadgeDirectiveOptions {
*/ */
export interface BadgeDirectivePassThroughOptions { export interface BadgeDirectivePassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: BadgeDirectivePassThroughOptionType; root?: BadgeDirectivePassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseDirective.DirectiveHooks} * @see {@link BaseDirective.DirectiveHooks}
*/ */
hooks?: DirectiveHooks; hooks?: DirectiveHooks;
@ -50,6 +57,40 @@ export interface BadgeDirectivePassThroughAttributes {
[key: string]: any; [key: string]: any;
} }
/**
* Defines current options in Badge directive.
*/
export interface BadgeContext {
/**
* Current info state as a boolean.
* @defaultValue true
*/
info: boolean;
/**
* Current success state as a boolean.
* @defaultValue false
*/
success: boolean;
/**
* Current warning state as a boolean.
* @defaultValue false
*/
warning: boolean;
/**
* Current danger state as a boolean.
* @defaultValue false
*/
danger: boolean;
/**
* Current gutter state as a boolean.
*/
nogutter: boolean;
/**
* Current dot state as a boolean.
*/
dot: boolean;
}
/** /**
* Defines modifiers of Badge directive. * Defines modifiers of Badge directive.
*/ */

View file

@ -10,7 +10,13 @@ const BadgeDirective = BaseBadgeDirective.extend('badge', {
const badge = DomHandler.createElement('span', { const badge = DomHandler.createElement('span', {
id, id,
class: !el.unstyled && this.cx('root'), class: !el.unstyled && this.cx('root'),
'p-bind': this.ptm('root') 'p-bind': this.ptm('root', {
context: {
...binding.modifiers,
nogutter: String(binding.value).length === 1,
dot: binding.value == null
}
})
}); });
el.$_pbadgeId = badge.getAttribute('id'); el.$_pbadgeId = badge.getAttribute('id');

View file

@ -28,11 +28,11 @@ export interface BlockUIPassThroughMethodOptions {
*/ */
export interface BlockUIPassThroughOptions { export interface BlockUIPassThroughOptions {
/** /**
* Uses to pass attributes to the root's DOM element. * Used to pass attributes to the root's DOM element.
*/ */
root?: BlockUIPassThroughOptionType; root?: BlockUIPassThroughOptionType;
/** /**
* Uses to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
*/ */
hooks?: ComponentHooks; hooks?: ComponentHooks;
@ -81,7 +81,7 @@ export interface BlockUIProps {
*/ */
autoZIndex?: boolean | undefined; autoZIndex?: boolean | undefined;
/** /**
* Uses to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {BlockUIPassThroughOptions} * @type {BlockUIPassThroughOptions}
*/ */
pt?: BlockUIPassThroughOptions; pt?: BlockUIPassThroughOptions;

Some files were not shown because too many files have changed in this diff Show more