diff --git a/api-generator/components/accordion.js b/api-generator/components/accordion.js index 59c0beaa6..fcb5e10c3 100644 --- a/api-generator/components/accordion.js +++ b/api-generator/components/accordion.js @@ -45,7 +45,7 @@ const AccordionProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/accordiontab.js b/api-generator/components/accordiontab.js index b535a9fb3..368346f8d 100644 --- a/api-generator/components/accordiontab.js +++ b/api-generator/components/accordiontab.js @@ -21,13 +21,13 @@ const AccordionTabProps = [ name: 'headerProps', type: 'any', 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', type: 'any', 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', @@ -45,7 +45,7 @@ const AccordionTabProps = [ name: 'contentProps', type: 'any', 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', @@ -57,7 +57,7 @@ const AccordionTabProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/autocomplete.js b/api-generator/components/autocomplete.js index f53ff07d7..6144091e5 100644 --- a/api-generator/components/autocomplete.js +++ b/api-generator/components/autocomplete.js @@ -141,7 +141,7 @@ const AutoCompleteProps = [ name: 'inputProps', type: 'object', 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', @@ -159,7 +159,7 @@ const AutoCompleteProps = [ name: 'panelProps', type: 'object', 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', @@ -255,7 +255,7 @@ const AutoCompleteProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/avatar.js b/api-generator/components/avatar.js index 0b649d643..b87088bc4 100644 --- a/api-generator/components/avatar.js +++ b/api-generator/components/avatar.js @@ -33,7 +33,7 @@ const AvatarProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/avatargroup.js b/api-generator/components/avatargroup.js index dd55f98cc..3370038ca 100644 --- a/api-generator/components/avatargroup.js +++ b/api-generator/components/avatargroup.js @@ -33,7 +33,7 @@ const AvatarGroupProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/badge.js b/api-generator/components/badge.js index b784d3ab9..c9d9c6024 100644 --- a/api-generator/components/badge.js +++ b/api-generator/components/badge.js @@ -21,7 +21,7 @@ const BadgeProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/blockui.js b/api-generator/components/blockui.js index f46377976..640559f8b 100644 --- a/api-generator/components/blockui.js +++ b/api-generator/components/blockui.js @@ -27,7 +27,7 @@ const BlockUIProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/breadcrumb.js b/api-generator/components/breadcrumb.js index 83313cef8..19625575f 100644 --- a/api-generator/components/breadcrumb.js +++ b/api-generator/components/breadcrumb.js @@ -21,7 +21,7 @@ const BreadcrumbProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/button.js b/api-generator/components/button.js index 061358df0..5e83c6cf4 100644 --- a/api-generator/components/button.js +++ b/api-generator/components/button.js @@ -99,7 +99,7 @@ const ButtonProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/calendar.js b/api-generator/components/calendar.js index 2419e9ec4..97b6dbbab 100644 --- a/api-generator/components/calendar.js +++ b/api-generator/components/calendar.js @@ -297,7 +297,7 @@ const CalendarProps = [ name: 'inputProps', type: 'object', 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', @@ -315,13 +315,13 @@ const CalendarProps = [ name: 'panelProps', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/card.js b/api-generator/components/card.js index c96454af8..bfbb4700d 100644 --- a/api-generator/components/card.js +++ b/api-generator/components/card.js @@ -3,7 +3,7 @@ const CardProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/carousel.js b/api-generator/components/carousel.js index 53ff4ef89..7cb397595 100644 --- a/api-generator/components/carousel.js +++ b/api-generator/components/carousel.js @@ -87,7 +87,7 @@ const CarouselProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/cascadeselect.js b/api-generator/components/cascadeselect.js index a04849a5e..616661c15 100644 --- a/api-generator/components/cascadeselect.js +++ b/api-generator/components/cascadeselect.js @@ -75,7 +75,7 @@ const CascadeSelectProps = [ name: 'inputProps', type: 'object', 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', @@ -93,7 +93,7 @@ const CascadeSelectProps = [ name: 'panelProps', type: 'object', 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', @@ -189,7 +189,7 @@ const CascadeSelectProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/chart.js b/api-generator/components/chart.js index 5be8b77e9..f76d90f73 100644 --- a/api-generator/components/chart.js +++ b/api-generator/components/chart.js @@ -39,7 +39,7 @@ const ChartProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/checkbox.js b/api-generator/components/checkbox.js index 03f62fe89..263a375a5 100644 --- a/api-generator/components/checkbox.js +++ b/api-generator/components/checkbox.js @@ -75,7 +75,7 @@ const CheckboxProps = [ name: 'inputProps', type: 'object', 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', @@ -93,7 +93,7 @@ const CheckboxProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/chip.js b/api-generator/components/chip.js index 588ba2edd..e0b6f170f 100644 --- a/api-generator/components/chip.js +++ b/api-generator/components/chip.js @@ -33,7 +33,7 @@ const ChipProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/chips.js b/api-generator/components/chips.js index 3f63eb6ce..842680ba6 100644 --- a/api-generator/components/chips.js +++ b/api-generator/components/chips.js @@ -63,13 +63,13 @@ const ChipsProps = [ name: 'inputProps', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/colorpicker.js b/api-generator/components/colorpicker.js index 5e651d1ae..c03ac406c 100644 --- a/api-generator/components/colorpicker.js +++ b/api-generator/components/colorpicker.js @@ -75,7 +75,7 @@ const ColorPickerProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/column.js b/api-generator/components/column.js index 6fc57b760..dc142833a 100644 --- a/api-generator/components/column.js +++ b/api-generator/components/column.js @@ -255,7 +255,7 @@ const ColumnProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/columngroup.js b/api-generator/components/columngroup.js index cfd9b9605..49410fc15 100644 --- a/api-generator/components/columngroup.js +++ b/api-generator/components/columngroup.js @@ -9,7 +9,7 @@ const ColumnGroupProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/confirmdialog.js b/api-generator/components/confirmdialog.js index 981f3ec6d..7e1a4df28 100644 --- a/api-generator/components/confirmdialog.js +++ b/api-generator/components/confirmdialog.js @@ -21,7 +21,7 @@ const ConfirmDialogProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/confirmpopup.js b/api-generator/components/confirmpopup.js index 55b2d6881..36e260e9a 100644 --- a/api-generator/components/confirmpopup.js +++ b/api-generator/components/confirmpopup.js @@ -9,7 +9,7 @@ const ConfirmPopupProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/contextmenu.js b/api-generator/components/contextmenu.js index 1f4feb7c4..9db7ca40d 100644 --- a/api-generator/components/contextmenu.js +++ b/api-generator/components/contextmenu.js @@ -39,7 +39,7 @@ const ContextMenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/datatable.js b/api-generator/components/datatable.js index 793af88f7..5fc330533 100644 --- a/api-generator/components/datatable.js +++ b/api-generator/components/datatable.js @@ -388,7 +388,7 @@ const DataTableProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/dataview.js b/api-generator/components/dataview.js index 1ab6829c1..1e18ac17d 100644 --- a/api-generator/components/dataview.js +++ b/api-generator/components/dataview.js @@ -99,7 +99,7 @@ const DataViewProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/dataviewlayoutoptions.js b/api-generator/components/dataviewlayoutoptions.js index a1feb110b..de107d347 100644 --- a/api-generator/components/dataviewlayoutoptions.js +++ b/api-generator/components/dataviewlayoutoptions.js @@ -9,7 +9,7 @@ const DataViewLayoutOptionsProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/deferredcontent.js b/api-generator/components/deferredcontent.js index 0015490ba..2870fb984 100644 --- a/api-generator/components/deferredcontent.js +++ b/api-generator/components/deferredcontent.js @@ -3,7 +3,7 @@ const DeferredContentProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/dialog.js b/api-generator/components/dialog.js index c0b6a9d11..1810934cf 100644 --- a/api-generator/components/dialog.js +++ b/api-generator/components/dialog.js @@ -135,7 +135,7 @@ const DialogProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/divider.js b/api-generator/components/divider.js index 0169a9999..3a88946f9 100644 --- a/api-generator/components/divider.js +++ b/api-generator/components/divider.js @@ -21,7 +21,7 @@ const DividerProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/dock.js b/api-generator/components/dock.js index 7a874b426..f2b6044e6 100644 --- a/api-generator/components/dock.js +++ b/api-generator/components/dock.js @@ -39,7 +39,7 @@ const DockProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/dropdown.js b/api-generator/components/dropdown.js index 8d54532ea..1a4f63222 100644 --- a/api-generator/components/dropdown.js +++ b/api-generator/components/dropdown.js @@ -129,7 +129,7 @@ const DropdownProps = [ name: 'inputProps', type: 'object', 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', @@ -147,19 +147,19 @@ const DropdownProps = [ name: 'panelProps', type: 'object', 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', type: 'object', 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', type: 'object', 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', @@ -261,7 +261,7 @@ const DropdownProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/editor.js b/api-generator/components/editor.js index aa06495d9..3b915ff96 100644 --- a/api-generator/components/editor.js +++ b/api-generator/components/editor.js @@ -39,7 +39,7 @@ const EditorProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/fieldset.js b/api-generator/components/fieldset.js index 88f85c17b..c14b42828 100644 --- a/api-generator/components/fieldset.js +++ b/api-generator/components/fieldset.js @@ -21,13 +21,13 @@ const FieldsetProps = [ name: 'toggleButtonProps', type: 'string', 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', type: 'any', 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', diff --git a/api-generator/components/fileupload.js b/api-generator/components/fileupload.js index fe4dce87b..3095158ca 100644 --- a/api-generator/components/fileupload.js +++ b/api-generator/components/fileupload.js @@ -147,7 +147,7 @@ const FileUploadProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/galleria.js b/api-generator/components/galleria.js index 2d3e1ea0b..0505c577a 100644 --- a/api-generator/components/galleria.js +++ b/api-generator/components/galleria.js @@ -147,7 +147,7 @@ const GalleriaProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/image.js b/api-generator/components/image.js index 966b8730a..e723e96b8 100644 --- a/api-generator/components/image.js +++ b/api-generator/components/image.js @@ -27,7 +27,7 @@ const ImageProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/inlinemessage.js b/api-generator/components/inlinemessage.js index b0b3580d3..d2e2e5419 100644 --- a/api-generator/components/inlinemessage.js +++ b/api-generator/components/inlinemessage.js @@ -15,7 +15,7 @@ const InlineMessageProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/inplace.js b/api-generator/components/inplace.js index 9b54c6ba7..155c8009e 100644 --- a/api-generator/components/inplace.js +++ b/api-generator/components/inplace.js @@ -21,7 +21,7 @@ const InplaceProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/inputmask.js b/api-generator/components/inputmask.js index 6e546b553..e054affbd 100644 --- a/api-generator/components/inputmask.js +++ b/api-generator/components/inputmask.js @@ -33,7 +33,7 @@ const InputMaskProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/inputnumber.js b/api-generator/components/inputnumber.js index 947b0b8b4..d72871f55 100644 --- a/api-generator/components/inputnumber.js +++ b/api-generator/components/inputnumber.js @@ -169,25 +169,25 @@ const InputNumberProps = [ name: 'inputProps', type: 'object', 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', type: 'object', 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', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/inputswitch.js b/api-generator/components/inputswitch.js index 888654f31..c4a86f705 100644 --- a/api-generator/components/inputswitch.js +++ b/api-generator/components/inputswitch.js @@ -39,13 +39,13 @@ const InputSwitchProps = [ name: 'inputProps', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/inputtext.js b/api-generator/components/inputtext.js index 4f8c341d0..a69775455 100644 --- a/api-generator/components/inputtext.js +++ b/api-generator/components/inputtext.js @@ -15,7 +15,7 @@ const InputTextProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/knob.js b/api-generator/components/knob.js index 071beb372..fdc6a90f6 100644 --- a/api-generator/components/knob.js +++ b/api-generator/components/knob.js @@ -99,7 +99,7 @@ const KnobProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/listbox.js b/api-generator/components/listbox.js index 472d90bb7..ad63267b8 100644 --- a/api-generator/components/listbox.js +++ b/api-generator/components/listbox.js @@ -106,7 +106,7 @@ const ListboxProps = [ name: 'filterInputProps', type: 'object', 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', @@ -178,7 +178,7 @@ const ListboxProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/megamenu.js b/api-generator/components/megamenu.js index 459db9a1c..c98c46026 100644 --- a/api-generator/components/megamenu.js +++ b/api-generator/components/megamenu.js @@ -21,7 +21,7 @@ const MegaMenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/menu.js b/api-generator/components/menu.js index c77f108bb..3c1dfa925 100644 --- a/api-generator/components/menu.js +++ b/api-generator/components/menu.js @@ -39,7 +39,7 @@ const MenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/menubar.js b/api-generator/components/menubar.js index 065e7731c..90ef2b5f5 100644 --- a/api-generator/components/menubar.js +++ b/api-generator/components/menubar.js @@ -15,7 +15,7 @@ const MenubarProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/message.js b/api-generator/components/message.js index c2ec2a7fc..ba69199a6 100644 --- a/api-generator/components/message.js +++ b/api-generator/components/message.js @@ -39,7 +39,7 @@ const MessageProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/multiselect.js b/api-generator/components/multiselect.js index 50d53715e..703f349a0 100644 --- a/api-generator/components/multiselect.js +++ b/api-generator/components/multiselect.js @@ -69,7 +69,7 @@ const MultiSelectProps = [ name: 'inputProps', type: 'object', 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', @@ -87,19 +87,19 @@ const MultiSelectProps = [ name: 'panelProps', type: 'object', 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', type: 'object', 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', type: 'object', 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', @@ -297,7 +297,7 @@ const MultiSelectProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/orderlist.js b/api-generator/components/orderlist.js index e0b7de6de..d8f25a844 100644 --- a/api-generator/components/orderlist.js +++ b/api-generator/components/orderlist.js @@ -52,7 +52,7 @@ const OrderListProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/organizationchart.js b/api-generator/components/organizationchart.js index d3fc9c1fe..c96c59765 100644 --- a/api-generator/components/organizationchart.js +++ b/api-generator/components/organizationchart.js @@ -33,7 +33,7 @@ const OrganizationChartProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/overlaypanel.js b/api-generator/components/overlaypanel.js index 2a5024aef..b71692020 100644 --- a/api-generator/components/overlaypanel.js +++ b/api-generator/components/overlaypanel.js @@ -51,7 +51,7 @@ const OverlayPanelProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/paginator.js b/api-generator/components/paginator.js index e7677eee2..0cc4c1d23 100644 --- a/api-generator/components/paginator.js +++ b/api-generator/components/paginator.js @@ -51,7 +51,7 @@ const PaginatorProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/panel.js b/api-generator/components/panel.js index abe304cda..fc6c55e0a 100644 --- a/api-generator/components/panel.js +++ b/api-generator/components/panel.js @@ -21,13 +21,13 @@ const PanelProps = [ name: 'toggleButtonProps', type: 'string', 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', type: 'any', 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', diff --git a/api-generator/components/panelmenu.js b/api-generator/components/panelmenu.js index fe0cffad8..c0a2ab7e8 100644 --- a/api-generator/components/panelmenu.js +++ b/api-generator/components/panelmenu.js @@ -21,7 +21,7 @@ const PanelMenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/password.js b/api-generator/components/password.js index 63da2d834..a5fde3cb5 100644 --- a/api-generator/components/password.js +++ b/api-generator/components/password.js @@ -111,7 +111,7 @@ const PasswordProps = [ name: 'inputProps', type: 'object', 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', @@ -135,13 +135,13 @@ const PasswordProps = [ name: 'panelProps', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/picklist.js b/api-generator/components/picklist.js index a0341cc5e..27d1a905e 100644 --- a/api-generator/components/picklist.js +++ b/api-generator/components/picklist.js @@ -64,7 +64,7 @@ const PickListProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/progressbar.js b/api-generator/components/progressbar.js index 8338447b9..8ac15386b 100644 --- a/api-generator/components/progressbar.js +++ b/api-generator/components/progressbar.js @@ -21,7 +21,7 @@ const ProgressbarProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/progressspinner.js b/api-generator/components/progressspinner.js index bb6c27aeb..4a492e057 100644 --- a/api-generator/components/progressspinner.js +++ b/api-generator/components/progressspinner.js @@ -21,7 +21,7 @@ const ProgressSpinnerProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/radiobutton.js b/api-generator/components/radiobutton.js index 5993d167d..a13f8c25f 100644 --- a/api-generator/components/radiobutton.js +++ b/api-generator/components/radiobutton.js @@ -45,7 +45,7 @@ const RadioButtonProps = [ name: 'inputProps', type: 'object', 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', @@ -63,7 +63,7 @@ const RadioButtonProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/rating.js b/api-generator/components/rating.js index 94b24a46b..454c194ed 100644 --- a/api-generator/components/rating.js +++ b/api-generator/components/rating.js @@ -51,7 +51,7 @@ const RatingProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/row.js b/api-generator/components/row.js index 732575d73..7f0dbea33 100644 --- a/api-generator/components/row.js +++ b/api-generator/components/row.js @@ -9,7 +9,7 @@ const RowProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/scrollpanel.js b/api-generator/components/scrollpanel.js index 15ad57a78..fcaf7837f 100644 --- a/api-generator/components/scrollpanel.js +++ b/api-generator/components/scrollpanel.js @@ -9,7 +9,7 @@ const ScrollPanelProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/scrolltop.js b/api-generator/components/scrolltop.js index 169da7461..9a86d471f 100644 --- a/api-generator/components/scrolltop.js +++ b/api-generator/components/scrolltop.js @@ -27,7 +27,7 @@ const ScrollTopProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/selectbutton.js b/api-generator/components/selectbutton.js index e654f1af1..93a2641ea 100644 --- a/api-generator/components/selectbutton.js +++ b/api-generator/components/selectbutton.js @@ -63,7 +63,7 @@ const SelectButtonProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/sidebar.js b/api-generator/components/sidebar.js index 755637087..6d8ee73d4 100644 --- a/api-generator/components/sidebar.js +++ b/api-generator/components/sidebar.js @@ -63,7 +63,7 @@ const SidebarProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/skeleton.js b/api-generator/components/skeleton.js index 7d729b1d6..e7cd9a22e 100644 --- a/api-generator/components/skeleton.js +++ b/api-generator/components/skeleton.js @@ -39,7 +39,7 @@ const SkeletonProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/slider.js b/api-generator/components/slider.js index 56b5efdea..9c6286866 100644 --- a/api-generator/components/slider.js +++ b/api-generator/components/slider.js @@ -63,7 +63,7 @@ const SliderProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/speeddial.js b/api-generator/components/speeddial.js index faf450df2..ace496815 100644 --- a/api-generator/components/speeddial.js +++ b/api-generator/components/speeddial.js @@ -111,7 +111,7 @@ const SpeedDialProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/splitbutton.js b/api-generator/components/splitbutton.js index 14e465c37..ecb443eba 100644 --- a/api-generator/components/splitbutton.js +++ b/api-generator/components/splitbutton.js @@ -105,7 +105,7 @@ const SplitButtonProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/splitter.js b/api-generator/components/splitter.js index 6a422f131..445f929e8 100644 --- a/api-generator/components/splitter.js +++ b/api-generator/components/splitter.js @@ -33,7 +33,7 @@ const SplitterProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/splitterpanel.js b/api-generator/components/splitterpanel.js index fa98e1225..f60231fa9 100644 --- a/api-generator/components/splitterpanel.js +++ b/api-generator/components/splitterpanel.js @@ -15,7 +15,7 @@ const SplitterPanelProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/steps.js b/api-generator/components/steps.js index 687c26f36..07df23eaf 100644 --- a/api-generator/components/steps.js +++ b/api-generator/components/steps.js @@ -27,7 +27,7 @@ const StepsProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tabmenu.js b/api-generator/components/tabmenu.js index 427816f62..10800fedf 100644 --- a/api-generator/components/tabmenu.js +++ b/api-generator/components/tabmenu.js @@ -21,7 +21,7 @@ const TabMenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tabpanel.js b/api-generator/components/tabpanel.js index 14f88357c..182d9fe20 100644 --- a/api-generator/components/tabpanel.js +++ b/api-generator/components/tabpanel.js @@ -21,13 +21,13 @@ const TabPanelProps = [ name: 'headerProps', type: 'any', 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', type: 'any', 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', @@ -45,7 +45,7 @@ const TabPanelProps = [ name: 'contentProps', type: 'any', 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', @@ -57,7 +57,7 @@ const TabPanelProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/api-generator/components/tabview.js b/api-generator/components/tabview.js index 239374a50..eb31f2194 100644 --- a/api-generator/components/tabview.js +++ b/api-generator/components/tabview.js @@ -33,13 +33,13 @@ const TabViewProps = [ name: 'previousButtonProps', type: 'any', 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', type: 'any', 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', @@ -57,7 +57,7 @@ const TabViewProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tag.js b/api-generator/components/tag.js index 974cfcc35..1713f6b12 100644 --- a/api-generator/components/tag.js +++ b/api-generator/components/tag.js @@ -27,7 +27,7 @@ const TagProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/terminal.js b/api-generator/components/terminal.js index 9d57cee2a..8f5878a85 100644 --- a/api-generator/components/terminal.js +++ b/api-generator/components/terminal.js @@ -15,7 +15,7 @@ const TerminalProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/textarea.js b/api-generator/components/textarea.js index 87834f334..7b20070d0 100644 --- a/api-generator/components/textarea.js +++ b/api-generator/components/textarea.js @@ -15,7 +15,7 @@ const TextareaProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tieredmenu.js b/api-generator/components/tieredmenu.js index 16328e74b..dfb717d2c 100644 --- a/api-generator/components/tieredmenu.js +++ b/api-generator/components/tieredmenu.js @@ -39,7 +39,7 @@ const TieredMenuProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/timeline.js b/api-generator/components/timeline.js index 42be72128..639bb9268 100644 --- a/api-generator/components/timeline.js +++ b/api-generator/components/timeline.js @@ -27,7 +27,7 @@ const TimelineProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/toast.js b/api-generator/components/toast.js index 9e097de9b..055a5a200 100644 --- a/api-generator/components/toast.js +++ b/api-generator/components/toast.js @@ -33,7 +33,7 @@ const ToastProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/togglebutton.js b/api-generator/components/togglebutton.js index 362f7b970..4ec7b3f2c 100644 --- a/api-generator/components/togglebutton.js +++ b/api-generator/components/togglebutton.js @@ -69,13 +69,13 @@ const ToggleButtonProps = [ name: 'inputProps', type: 'object', 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', type: 'any', 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', diff --git a/api-generator/components/toolbar.js b/api-generator/components/toolbar.js index e52fb15b5..18fbf7ab8 100644 --- a/api-generator/components/toolbar.js +++ b/api-generator/components/toolbar.js @@ -9,7 +9,7 @@ const ToolbarProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tree.js b/api-generator/components/tree.js index 458c1c0ca..f0438c121 100644 --- a/api-generator/components/tree.js +++ b/api-generator/components/tree.js @@ -82,7 +82,7 @@ const TreeProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/treeselect.js b/api-generator/components/treeselect.js index dc8c70eb5..f5747b6a2 100644 --- a/api-generator/components/treeselect.js +++ b/api-generator/components/treeselect.js @@ -106,7 +106,7 @@ const TreeSelectProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/treetable.js b/api-generator/components/treetable.js index 9467d9148..fc000a320 100644 --- a/api-generator/components/treetable.js +++ b/api-generator/components/treetable.js @@ -232,7 +232,7 @@ const TreeTableProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/tristatecheckbox.js b/api-generator/components/tristatecheckbox.js index ee5cc9d2e..8ecd7762d 100644 --- a/api-generator/components/tristatecheckbox.js +++ b/api-generator/components/tristatecheckbox.js @@ -27,7 +27,7 @@ const TriStateCheckboxProps = [ name: 'inputProps', type: 'object', 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', @@ -45,7 +45,7 @@ const TriStateCheckboxProps = [ name: 'pt', type: 'any', 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', diff --git a/api-generator/components/virtualscroller.js b/api-generator/components/virtualscroller.js index 8acfd16cc..a0a7b72fc 100644 --- a/api-generator/components/virtualscroller.js +++ b/api-generator/components/virtualscroller.js @@ -106,7 +106,7 @@ const VirtualScrollerProps = [ name: 'pt', type: 'any', default: 'null', - description: 'Uses to pass attributes to DOM elements inside the component.' + description: 'Used to pass attributes to DOM elements inside the component.' } ]; diff --git a/assets/data/news.json b/assets/data/news.json index afd7ab4b6..58c2da55e 100644 --- a/assets/data/news.json +++ b/assets/data/news.json @@ -1,8 +1,8 @@ { - "id": 40, - "content": "Introducing the new Unstyled Mode", + "id": 50, + "content": "90+ UI Components for Tailwind CSS", "linkText": "Learn More", - "linkHref": "https://primevue.org/unstyled", + "linkHref": "https://primevue.org/tailwind", "backgroundStyle": "background-color:#4f8ff7", "textStyle": "color:#ffffff;font-weight:500", "linkStyle": "color:#ffffff;font-weight:700;text-decoration: underline;" diff --git a/components/doc/DocComponent.vue b/components/doc/DocComponent.vue index a5bf8746c..4067dcd42 100644 --- a/components/doc/DocComponent.vue +++ b/components/doc/DocComponent.vue @@ -12,7 +12,7 @@
  • -
  • +
  • diff --git a/components/lib/accordion/Accordion.d.ts b/components/lib/accordion/Accordion.d.ts index efa56c552..e24e49b2b 100755 --- a/components/lib/accordion/Accordion.d.ts +++ b/components/lib/accordion/Accordion.d.ts @@ -58,20 +58,20 @@ export interface AccordionClickEvent extends AccordionTabOpenEvent {} */ 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; /** - * 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. */ tab?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to AccordionTab helper components. + * Used to pass attributes to AccordionTab helper components. */ accordiontab?: AccordionTabPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -136,7 +136,7 @@ export interface AccordionProps { */ 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} */ pt?: AccordionPassThroughOptions; diff --git a/components/lib/accordiontab/AccordionTab.d.ts b/components/lib/accordiontab/AccordionTab.d.ts index 8161f5f6d..7cc922aa6 100755 --- a/components/lib/accordiontab/AccordionTab.d.ts +++ b/components/lib/accordiontab/AccordionTab.d.ts @@ -29,31 +29,31 @@ export interface AccordionTabPassThroughMethodOptions { */ 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; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to the headeraction's DOM element. + * Used to pass attributes to the headeraction's DOM element. */ headerAction?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to the headericon's DOM element. + * Used to pass attributes to the headericon's DOM element. */ headerIcon?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to the headertitle's DOM element. + * Used to pass attributes to the headertitle's DOM element. */ headerTitle?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to the toggleablecontent's DOM element. + * Used to pass attributes to the toggleablecontent's DOM element. */ toggleableContent?: AccordionTabPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: AccordionTabPassThroughOptionType; } @@ -82,12 +82,12 @@ export interface AccordionTabProps { */ 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. */ 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. */ headerActionProps?: AnchorHTMLAttributes | undefined; @@ -100,7 +100,7 @@ export interface AccordionTabProps { */ 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. */ contentProps?: HTMLAttributes | undefined; @@ -110,7 +110,7 @@ export interface AccordionTabProps { */ 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} */ pt?: AccordionTabPassThroughOptions; diff --git a/components/lib/autocomplete/AutoComplete.d.ts b/components/lib/autocomplete/AutoComplete.d.ts index 8be7dcec0..b1afd0a82 100755 --- a/components/lib/autocomplete/AutoComplete.d.ts +++ b/components/lib/autocomplete/AutoComplete.d.ts @@ -98,76 +98,76 @@ export interface AutoCompleteCompleteEvent { */ 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; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: AutoCompletePassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: AutoCompletePassThroughOptionType; /** - * Uses to pass attributes to the token's DOM element. + * Used to pass attributes to the token's DOM element. */ 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; /** - * 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; /** - * Uses to pass attributes to the input token's DOM element. + * Used to pass attributes to the input token's DOM element. */ 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; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ dropdownButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: AutoCompletePassThroughOptionType; /** - * Uses to pass attributes to the VirtualScroller component. + * Used to pass attributes to the VirtualScroller component. * @see {@link 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; /** - * Uses to pass attributes to the item group's DOM element. + * Used to pass attributes to the item group's DOM element. */ itemGroup?: AutoCompletePassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ 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; /** - * 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; /** - * Uses to pass attributes to the selected message's DOM element. + * Used to pass attributes to the selected message's DOM element. */ selectedMessage?: AutoCompletePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -347,7 +347,7 @@ export interface AutoCompleteProps { */ 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; /** @@ -359,7 +359,7 @@ export interface AutoCompleteProps { */ 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; /** @@ -433,7 +433,7 @@ export interface AutoCompleteProps { */ '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} */ pt?: AutoCompletePassThroughOptions; diff --git a/components/lib/avatar/Avatar.d.ts b/components/lib/avatar/Avatar.d.ts index 6e51a9e11..19cb88874 100644 --- a/components/lib/avatar/Avatar.d.ts +++ b/components/lib/avatar/Avatar.d.ts @@ -35,23 +35,23 @@ export interface AvatarPassThroughAttributes { */ 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; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: AvatarPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: AvatarPassThroughOptionType; /** - * Uses to pass attributes to the image's DOM element. + * Used to pass attributes to the image's DOM element. */ image?: AvatarPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -93,7 +93,7 @@ export interface AvatarProps { */ '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} */ pt?: AvatarPassThroughOptions; diff --git a/components/lib/avatargroup/AvatarGroup.d.ts b/components/lib/avatargroup/AvatarGroup.d.ts index 66242d0f3..c9d08a390 100644 --- a/components/lib/avatargroup/AvatarGroup.d.ts +++ b/components/lib/avatargroup/AvatarGroup.d.ts @@ -25,11 +25,11 @@ export interface AvatarGroupPassThroughAttributes { */ 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; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -40,7 +40,7 @@ export interface AvatarGroupPassThroughOptions { */ 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} */ pt?: AvatarGroupPassThroughOptions; diff --git a/components/lib/badge/Badge.d.ts b/components/lib/badge/Badge.d.ts index 2b59a3450..431958025 100644 --- a/components/lib/badge/Badge.d.ts +++ b/components/lib/badge/Badge.d.ts @@ -34,11 +34,11 @@ export interface BadgePassThroughAttributes { */ 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; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -61,7 +61,7 @@ export interface BadgeProps { */ 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} */ pt?: BadgePassThroughOptions; diff --git a/components/lib/badgedirective/BadgeDirective.d.ts b/components/lib/badgedirective/BadgeDirective.d.ts index 518e3144a..9305cf8d7 100644 --- a/components/lib/badgedirective/BadgeDirective.d.ts +++ b/components/lib/badgedirective/BadgeDirective.d.ts @@ -9,14 +9,21 @@ import { DirectiveBinding, ObjectDirective } from 'vue'; 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. */ 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} */ pt?: BadgeDirectivePassThroughOptions; @@ -33,11 +40,11 @@ export interface BadgeDirectiveOptions { */ 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; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseDirective.DirectiveHooks} */ hooks?: DirectiveHooks; @@ -50,6 +57,40 @@ export interface BadgeDirectivePassThroughAttributes { [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. */ diff --git a/components/lib/badgedirective/BadgeDirective.js b/components/lib/badgedirective/BadgeDirective.js index dbc1bf433..b032fb191 100644 --- a/components/lib/badgedirective/BadgeDirective.js +++ b/components/lib/badgedirective/BadgeDirective.js @@ -10,7 +10,13 @@ const BadgeDirective = BaseBadgeDirective.extend('badge', { const badge = DomHandler.createElement('span', { id, 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'); diff --git a/components/lib/blockui/BlockUI.d.ts b/components/lib/blockui/BlockUI.d.ts index 09ab6c087..5fd1123be 100755 --- a/components/lib/blockui/BlockUI.d.ts +++ b/components/lib/blockui/BlockUI.d.ts @@ -28,11 +28,11 @@ export interface BlockUIPassThroughMethodOptions { */ 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; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -81,7 +81,7 @@ export interface BlockUIProps { */ 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} */ pt?: BlockUIPassThroughOptions; diff --git a/components/lib/breadcrumb/Breadcrumb.d.ts b/components/lib/breadcrumb/Breadcrumb.d.ts index 2c663ce7f..b002d000f 100755 --- a/components/lib/breadcrumb/Breadcrumb.d.ts +++ b/components/lib/breadcrumb/Breadcrumb.d.ts @@ -29,39 +29,39 @@ export interface BreadcrumbPassThroughMethodOptions { */ export interface BreadcrumbPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: BreadcrumbPassThroughOptionType; /** - * Uses to pass attributes to the separator icon's DOM element. + * Used to pass attributes to the separator icon's DOM element. */ separatorIcon?: BreadcrumbPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -114,7 +114,7 @@ export interface BreadcrumbProps { */ '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 {BreadcrumbPassThroughOptions} */ pt?: BreadcrumbPassThroughOptions; diff --git a/components/lib/button/Button.d.ts b/components/lib/button/Button.d.ts index eefbbc294..5c90d7a6b 100755 --- a/components/lib/button/Button.d.ts +++ b/components/lib/button/Button.d.ts @@ -20,6 +20,7 @@ export interface ButtonPassThroughMethodOptions { instance: any; props: ButtonProps; context: ButtonContext; + parent: any; } /** @@ -28,27 +29,27 @@ export interface ButtonPassThroughMethodOptions { */ export interface ButtonPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the loading icon's DOM element. + * Used to pass attributes to the loading icon's DOM element. */ loadingIcon?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the badge's DOM element. + * Used to pass attributes to the badge's DOM element. */ badge?: ButtonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -146,7 +147,7 @@ export interface ButtonProps extends ButtonHTMLAttributes { */ plain?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ButtonPassThroughOptions} */ pt?: ButtonPassThroughOptions; diff --git a/components/lib/button/Button.vue b/components/lib/button/Button.vue index ddc6062e5..bf7e50a8f 100755 --- a/components/lib/button/Button.vue +++ b/components/lib/button/Button.vue @@ -26,6 +26,10 @@ export default { methods: { getPTOptions(key) { return this.ptm(key, { + parent: { + props: this.$parent?.$props, + state: this.$parent?.$data + }, context: { disabled: this.disabled } diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index b5f9bf05d..ec164f8e8 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -21,6 +21,7 @@ export interface CalendarPassThroughMethodOptions { instance: any; props: CalendarProps; state: CalendarState; + context: CalendarContext; } /** @@ -88,204 +89,204 @@ export interface CalendarBlurEvent { */ export interface CalendarPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ dropdownButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the group container's DOM element. + * Used to pass attributes to the group container's DOM element. */ groupContainer?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the group's DOM element. + * Used to pass attributes to the group's DOM element. */ group?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ previousButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the title's DOM element. + * Used to pass attributes to the title's DOM element. */ title?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the month title's DOM element. + * Used to pass attributes to the month title's DOM element. */ monthTitle?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the year title's DOM element. + * Used to pass attributes to the year title's DOM element. */ yearTitle?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the decade title's DOM element. + * Used to pass attributes to the decade title's DOM element. */ decadeTitle?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ nextButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table's DOM element. + * Used to pass attributes to the table's DOM element. */ table?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table header's DOM element. + * Used to pass attributes to the table header's DOM element. */ tableHeader?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table header row's DOM element. + * Used to pass attributes to the table header row's DOM element. */ tableHeaderRow?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the week header's DOM element. + * Used to pass attributes to the week header's DOM element. */ weekHeader?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table header cell's DOM element. + * Used to pass attributes to the table header cell's DOM element. */ tableHeaderCell?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the week label's DOM element. + * Used to pass attributes to the week label's DOM element. */ weekLabel?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the week day's DOM element. + * Used to pass attributes to the week day's DOM element. */ weekDay?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table body's DOM element. + * Used to pass attributes to the table body's DOM element. */ tableBody?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the table body row's DOM element. + * Used to pass attributes to the table body row's DOM element. */ tableBodyRow?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the week number's DOM element. + * Used to pass attributes to the week number's DOM element. */ weekNumber?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the week label container's DOM element. + * Used to pass attributes to the week label container's DOM element. */ weekLabelContainer?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the day's DOM element. + * Used to pass attributes to the day's DOM element. */ day?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the day label's DOM element. + * Used to pass attributes to the day label's DOM element. */ dayLabel?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the month picker's DOM element. + * Used to pass attributes to the month picker's DOM element. */ monthPicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the month's DOM element. + * Used to pass attributes to the month's DOM element. */ month?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the year picker's DOM element. + * Used to pass attributes to the year picker's DOM element. */ yearPicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the year's DOM element. + * Used to pass attributes to the year's DOM element. */ year?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the time picker's DOM element. + * Used to pass attributes to the time picker's DOM element. */ timePicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the hour picker's DOM element. + * Used to pass attributes to the hour picker's DOM element. */ hourPicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the hour's DOM element. + * Used to pass attributes to the hour's DOM element. */ hour?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the separatorc ontainer's DOM element. + * Used to pass attributes to the separatorc ontainer's DOM element. */ separatorContainer?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the minute picker's DOM element. + * Used to pass attributes to the minute picker's DOM element. */ minutePicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the minute's DOM element. + * Used to pass attributes to the minute's DOM element. */ minute?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the second picker's DOM element. + * Used to pass attributes to the second picker's DOM element. */ secondPicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the second's DOM element. + * Used to pass attributes to the second's DOM element. */ second?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the ampm picker's DOM element. + * Used to pass attributes to the ampm picker's DOM element. */ ampmPicker?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the ampm's DOM element. + * Used to pass attributes to the ampm's DOM element. */ ampm?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the buttonbar's DOM element. + * Used to pass attributes to the buttonbar's DOM element. */ buttonbar?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ todayButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ clearButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the aria selected day's DOM element. + * Used to pass attributes to the aria selected day's DOM element. */ hiddenSelectedDay?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the aria month's DOM element. + * Used to pass attributes to the aria month's DOM element. */ hiddenMonth?: CalendarPassThroughOptionType; /** - * Uses to pass attributes to the aria year's DOM element. + * Used to pass attributes to the aria year's DOM element. */ hiddenYear?: CalendarPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -344,6 +345,75 @@ export interface CalendarState { currentView: string; } +/** + * Defines current options in Calendar component. + */ +export interface CalendarContext { + /** + * Current date. + */ + date: string | Date | string[] | Date[] | undefined | null; + /** + * Current today state of the calendar's day. + * @defaultValue false + */ + today: boolean; + /** + * Current other month state of the calendar's day. + */ + otherMonth: boolean; + /** + * Current selected state of the calendar's day or month or year. + * @defaultValue false + */ + selected: boolean; + /** + * Current disabled state of the calendar's day or month or year. + * @defaultValue false + */ + disabled: boolean; + /** + * Current month state. + */ + month: CalendarMonthOptions; + /** + * Current month index state. + */ + monthIndex: number; + /** + * Current year state. + */ + year: CalendarYearOptions; +} + +/** + * Defines cuurent month options. + */ +export interface CalendarMonthOptions { + /** + * Month value. + */ + value: string; + /** + * Selectable state of the month. + */ + selectable: boolean; +} + +/** + * Defines current year options. + */ +export interface CalendarYearOptions { + /** + * Year value. + */ + value: number; + /** + * Selectable state of the month. + */ + selectable: boolean; +} + /** * Defines valid properties in Calendar component. */ @@ -588,7 +658,7 @@ export interface CalendarProps { */ 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; /** @@ -600,7 +670,7 @@ export interface CalendarProps { */ 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; /** @@ -612,7 +682,7 @@ export interface CalendarProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {CalendarPassThroughOptions} */ pt?: CalendarPassThroughOptions; diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index e261c13e8..83d70e695 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -134,7 +134,7 @@ - -
    + {{ weekHeaderLabel }} @@ -145,12 +145,28 @@
    - + 0 {{ month.weekNumbers[i] }} + @@ -183,7 +207,16 @@ @click="onMonthSelect($event, { month: m, index: i })" @keydown="onMonthCellKeydown($event, { month: m, index: i })" :class="cx('month', { month: m, index: i })" - v-bind="ptm('month')" + v-bind=" + ptm('month', { + context: { + month: m, + monthIndex: i, + selected: isMonthSelected(i), + disabled: !m.selectable + } + }) + " :data-p-disabled="!m.selectable" :data-p-highlight="isMonthSelected(i)" > @@ -201,7 +234,15 @@ @click="onYearSelect($event, y)" @keydown="onYearCellKeydown($event, y)" :class="cx('year', { year: y })" - v-bind="ptm('year')" + v-bind=" + ptm('year', { + context: { + year: y, + selected: isYearSelected(y.value), + disabled: !y.selectable + } + }) + " :data-p-disabled="!y.selectable" :data-p-highlight="isYearSelected(y.value)" > diff --git a/components/lib/card/Card.d.ts b/components/lib/card/Card.d.ts index 9ebce8d5d..fa32e8971 100755 --- a/components/lib/card/Card.d.ts +++ b/components/lib/card/Card.d.ts @@ -19,35 +19,35 @@ export declare type CardPassThroughOptionType = CardPassThroughAttributes | null */ export interface CardPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: CardPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: CardPassThroughOptionType; /** - * Uses to pass attributes to the body's DOM element. + * Used to pass attributes to the body's DOM element. */ body?: CardPassThroughOptionType; /** - * Uses to pass attributes to the title's DOM element. + * Used to pass attributes to the title's DOM element. */ title?: CardPassThroughOptionType; /** - * Uses to pass attributes to the subtitle's DOM element. + * Used to pass attributes to the subtitle's DOM element. */ subtitle?: CardPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: CardPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: CardPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -65,7 +65,7 @@ export interface CardPassThroughAttributes { */ export interface CardProps { /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {CardPassThroughOptions} */ pt?: CardPassThroughOptions; diff --git a/components/lib/carousel/Carousel.d.ts b/components/lib/carousel/Carousel.d.ts index 2f328eea1..b207ba446 100755 --- a/components/lib/carousel/Carousel.d.ts +++ b/components/lib/carousel/Carousel.d.ts @@ -20,6 +20,7 @@ export interface CarouselPassThroughMethodOptions { instance: any; props: CarouselProps; state: CarouselState; + context: CarouselContext; } /** @@ -28,71 +29,71 @@ export interface CarouselPassThroughMethodOptions { */ export interface CarouselPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the previous button's DOM element. + * Used to pass attributes to the previous button's DOM element. */ previousButton?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the previous button icon's DOM element. + * Used to pass attributes to the previous button icon's DOM element. */ previousButtonIcon?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the items content's DOM element. + * Used to pass attributes to the items content's DOM element. */ itemsContent?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the items container's DOM element. + * Used to pass attributes to the items container's DOM element. */ itemsContainer?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the item cloned's DOM element. + * Used to pass attributes to the item cloned's DOM element. */ itemCloned?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the next button's DOM element. + * Used to pass attributes to the next button's DOM element. */ nextButton?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the next button icon's DOM element. + * Used to pass attributes to the next button icon's DOM element. */ nextButtonIcon?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the indicators's DOM element. + * Used to pass attributes to the indicators's DOM element. */ indicators?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the indicator's DOM element. + * Used to pass attributes to the indicator's DOM element. */ indicator?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the indicator button's DOM element. + * Used to pass attributes to the indicator button's DOM element. */ indicatorButton?: CarouselPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: CarouselPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -165,6 +166,17 @@ export interface CarouselState { swipeThreshold: number; } +/** + * Defines current inline options in Carousel component. + */ +export interface CarouselContext { + /** + * Current highlighted state of the indicator as a boolean. + * @defaultValue false + */ + highlighted: boolean; +} + export interface CarouselResponsiveOptions { /** * Breakpoint for responsive mode. Exp; @media screen and (max-width: ${breakpoint}) {...} @@ -251,15 +263,15 @@ export interface CarouselProps { */ showIndicators?: boolean | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the previous navigation button. + * Used to pass all properties of the HTMLButtonElement to the previous navigation button. */ prevButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the next navigation button. + * Used to pass all properties of the HTMLButtonElement to the next navigation button. */ nextButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {CarouselPassThroughOptions} */ pt?: CarouselPassThroughOptions; diff --git a/components/lib/carousel/Carousel.vue b/components/lib/carousel/Carousel.vue index 7980ca94d..1c07aeef2 100755 --- a/components/lib/carousel/Carousel.vue +++ b/components/lib/carousel/Carousel.vue @@ -56,7 +56,7 @@
      -
    • +
    @@ -239,6 +239,13 @@ export default { } }, methods: { + getIndicatorPTOptions(index) { + return { + context: { + highlighted: index === this.d_page + } + }; + }, step(dir, page) { let totalShiftedItems = this.totalShiftedItems; const isCircular = this.isCircular(); diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index d97e64e93..c6e4b6638 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -49,63 +49,63 @@ export interface CascadeSelectGroupChangeEvent extends CascadeSelectChangeEvent */ export interface CascadeSelectPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the dropdown button's DOM element. + * Used to pass attributes to the dropdown button's DOM element. */ dropdownButton?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the dropdown icon's DOM element. + * Used to pass attributes to the dropdown icon's DOM element. */ dropdownIcon?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the loading icon's DOM element. + * Used to pass attributes to the loading icon's DOM element. */ loadingIcon?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the text's DOM element. + * Used to pass attributes to the text's DOM element. */ text?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the group icon's DOM element. + * Used to pass attributes to the group icon's DOM element. */ groupIcon?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden selected message's DOM element. + * Used to pass attributes to the hidden selected message's DOM element. */ hiddenSelectedMessage?: CascadeSelectPassThroughOptionType; /** - * Uses to pass attributes to the search result message text aria's DOM element. + * Used to pass attributes to the search result message text aria's DOM element. */ hiddenSearchResult?: CascadeSelectPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -224,7 +224,7 @@ export interface CascadeSelectProps { */ 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; /** @@ -236,7 +236,7 @@ export interface CascadeSelectProps { */ 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; /** @@ -316,7 +316,7 @@ export interface CascadeSelectProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {CascadeSelectPassThroughOptions} */ pt?: CascadeSelectPassThroughOptions; diff --git a/components/lib/chart/Chart.d.ts b/components/lib/chart/Chart.d.ts index 5b3368cb9..7479ec095 100755 --- a/components/lib/chart/Chart.d.ts +++ b/components/lib/chart/Chart.d.ts @@ -27,15 +27,15 @@ export interface ChartPassThroughMethodOptions { */ export interface ChartPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ChartPassThroughOptionType; /** - * Uses to pass attributes to the canvas's DOM element. + * Used to pass attributes to the canvas's DOM element. */ canvas?: ChartPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -98,11 +98,11 @@ export interface ChartProps { */ height?: number | undefined; /** - * Uses to pass all properties of the CanvasHTMLAttributes to canvas element inside the component. + * Used to pass all properties of the CanvasHTMLAttributes to canvas element inside the component. */ canvasProps?: CanvasHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ChartPassThroughOptions} */ pt?: ChartPassThroughOptions; diff --git a/components/lib/checkbox/Checkbox.d.ts b/components/lib/checkbox/Checkbox.d.ts index 2fe406224..0dcc43860 100755 --- a/components/lib/checkbox/Checkbox.d.ts +++ b/components/lib/checkbox/Checkbox.d.ts @@ -29,27 +29,27 @@ export interface CheckboxPassThroughMethodOptions { */ export interface CheckboxPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: CheckboxPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: CheckboxPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: CheckboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden input wrapper's DOM element. + * Used to pass attributes to the hidden input wrapper's DOM element. */ hiddenInputWrapper?: CheckboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden input's DOM element. + * Used to pass attributes to the hidden input's DOM element. */ hiddenInput?: CheckboxPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -136,7 +136,7 @@ export interface CheckboxProps { */ inputStyle?: 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; /** @@ -148,7 +148,7 @@ export interface CheckboxProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {CheckboxPassThroughOptions} */ pt?: CheckboxPassThroughOptions; diff --git a/components/lib/chip/Chip.d.ts b/components/lib/chip/Chip.d.ts index 7fb0028e8..7f709672b 100644 --- a/components/lib/chip/Chip.d.ts +++ b/components/lib/chip/Chip.d.ts @@ -28,27 +28,27 @@ export interface ChipPassThroughMethodOptions { */ export interface ChipPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ChipPassThroughOptionType; /** - * Uses to pass attributes to the image's DOM element. + * Used to pass attributes to the image's DOM element. */ image?: ChipPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ChipPassThroughOptionType; /** - * Uses to pass attributes to the label' DOM element. + * Used to pass attributes to the label' DOM element. */ label?: ChipPassThroughOptionType; /** - * Uses to pass attributes to the removeIcon's DOM element. + * Used to pass attributes to the removeIcon's DOM element. */ removeIcon?: ChipPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -100,7 +100,7 @@ export interface ChipProps { */ removeIcon?: string; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ChipPassThroughOptions} */ pt?: ChipPassThroughOptions; diff --git a/components/lib/chips/Chips.d.ts b/components/lib/chips/Chips.d.ts index 2ee67a8dd..9fc6a9e2e 100755 --- a/components/lib/chips/Chips.d.ts +++ b/components/lib/chips/Chips.d.ts @@ -50,35 +50,35 @@ export interface ChipsRemoveEvent extends ChipsAddEvent {} */ export interface ChipsPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ChipsPassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: ChipsPassThroughOptionType; /** - * Uses to pass attributes to the token's DOM element. + * Used to pass attributes to the token's DOM element. */ token?: ChipsPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: ChipsPassThroughOptionType; /** - * 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?: ChipsPassThroughOptionType; /** - * Uses to pass attributes to the input token's DOM element. + * Used to pass attributes to the input token's DOM element. */ inputToken?: ChipsPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: ChipsPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -153,7 +153,7 @@ export interface ChipsProps { */ inputStyle?: 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. * @deprecated since v3.26.0. Use 'pt' property instead. */ inputProps?: InputHTMLAttributes | undefined; @@ -179,7 +179,7 @@ export interface ChipsProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ChipsPassThroughOptions} */ pt?: ChipsPassThroughOptions; diff --git a/components/lib/colorpicker/ColorPicker.d.ts b/components/lib/colorpicker/ColorPicker.d.ts index 71d47f959..9794487e0 100755 --- a/components/lib/colorpicker/ColorPicker.d.ts +++ b/components/lib/colorpicker/ColorPicker.d.ts @@ -42,43 +42,43 @@ export interface ColorPickerChangeEvent { */ export interface ColorPickerPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the selector's DOM element. + * Used to pass attributes to the selector's DOM element. */ selector?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the color's DOM element. + * Used to pass attributes to the color's DOM element. */ color?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the color handler's DOM element. + * Used to pass attributes to the color handler's DOM element. */ colorHandle?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the hue's DOM element. + * Used to pass attributes to the hue's DOM element. */ hue?: ColorPickerPassThroughOptionType; /** - * Uses to pass attributes to the hue handler's DOM element. + * Used to pass attributes to the hue handler's DOM element. */ hueHandle: ColorPickerPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -154,7 +154,7 @@ export interface ColorPickerProps { */ appendTo?: 'body' | 'self' | string | undefined | HTMLElement; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ColorPickerPassThroughOptions} */ pt?: ColorPickerPassThroughOptions; diff --git a/components/lib/column/Column.d.ts b/components/lib/column/Column.d.ts index d4f2ad3a7..481aa99d6 100755 --- a/components/lib/column/Column.d.ts +++ b/components/lib/column/Column.d.ts @@ -90,237 +90,237 @@ export interface ColumnLoadingOptions extends VirtualScrollerLoaderOptions { */ export interface ColumnPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header cell's DOM element. + * Used to pass attributes to the header cell's DOM element. */ headerCell?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the column resizer's DOM element. + * Used to pass attributes to the column resizer's DOM element. */ columnResizer?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header content's DOM element. + * Used to pass attributes to the header content's DOM element. */ headerContent?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header title's DOM element. + * Used to pass attributes to the header title's DOM element. */ headerTitle?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the sort's DOM element. + * Used to pass attributes to the sort's DOM element. */ sort?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the sort badge's DOM element. + * Used to pass attributes to the sort badge's DOM element. */ sortBadge?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the checkbox wrapper's DOM element. + * Used to pass attributes to the checkbox wrapper's DOM element. */ headerCheckboxWrapper?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header checkbox's DOM element. + * Used to pass attributes to the header checkbox's DOM element. */ headerCheckbox?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header checkbox icon's DOM element. + * Used to pass attributes to the header checkbox icon's DOM element. */ headerCheckboxIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the column filter's DOM element. + * Used to pass attributes to the column filter's DOM element. */ columnFilter?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter input's DOM element. + * Used to pass attributes to the filter input's DOM element. */ filterInput?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter menu button's DOM element. + * Used to pass attributes to the filter menu button's DOM element. */ filterMenuButton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter menu icon's DOM element. + * Used to pass attributes to the filter menu icon's DOM element. */ filterMenuIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the header filter clear button's DOM element. + * Used to pass attributes to the header filter clear button's DOM element. */ headerFilterClearButton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter clear icon's DOM element. + * Used to pass attributes to the filter clear icon's DOM element. */ filterClearIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter overlay's DOM element. + * Used to pass attributes to the filter overlay's DOM element. */ filterOverlay?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter row items' DOM element. + * Used to pass attributes to the filter row items' DOM element. */ filterRowItems?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter row item's DOM element. + * Used to pass attributes to the filter row item's DOM element. */ filterRowItem?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter separator's DOM element. + * Used to pass attributes to the filter separator's DOM element. */ filterSeparator?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter operator's DOM element. + * Used to pass attributes to the filter operator's DOM element. */ filterOperator?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the Dropdown component. + * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ filterOperatorDropdown?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the filter constraints' DOM element. + * Used to pass attributes to the filter constraints' DOM element. */ filterConstraints?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the filter constraint's DOM element. + * Used to pass attributes to the filter constraint's DOM element. */ filterConstraint?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the Dropdown component. + * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ filterMatchModeDropdown?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the filter remove button container's DOM element. + * Used to pass attributes to the filter remove button container's DOM element. */ filterRemove?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ filterRemoveButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the filter add rule's DOM element. + * Used to pass attributes to the filter add rule's DOM element. */ filterAddRule?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ filterAddRuleButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the filter buttonbar's DOM element. + * Used to pass attributes to the filter buttonbar's DOM element. */ filterButtonbar?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ filterClearButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptionType} */ filterApplyButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the body cell's DOM element. + * Used to pass attributes to the body cell's DOM element. */ bodyCell?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the rowgroup toggler's DOM element. + * Used to pass attributes to the rowgroup toggler's DOM element. */ rowGroupToggler?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the rowgroup toggler icon's DOM element. + * Used to pass attributes to the rowgroup toggler icon's DOM element. */ rowGroupTogglerIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the column title's DOM element. + * Used to pass attributes to the column title's DOM element. */ columnTitle?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the radiobutton wrapper's DOM element. + * Used to pass attributes to the radiobutton wrapper's DOM element. */ radiobuttonWrapper?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the radiobutton's DOM element. + * Used to pass attributes to the radiobutton's DOM element. */ radiobutton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the radiobutton icon's DOM element. + * Used to pass attributes to the radiobutton icon's DOM element. */ radiobuttonIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the checkbox wrapper's DOM element. + * Used to pass attributes to the checkbox wrapper's DOM element. */ checkboxWrapper?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the checkbox's DOM element. + * Used to pass attributes to the checkbox's DOM element. */ checkbox?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the checkbox icon's DOM element. + * Used to pass attributes to the checkbox icon's DOM element. */ checkboxIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the rowtoggler's DOM element. + * Used to pass attributes to the rowtoggler's DOM element. */ rowToggler?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the rowtoggler icon's DOM element. + * Used to pass attributes to the rowtoggler icon's DOM element. */ rowTogglerIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor init button's DOM element. + * Used to pass attributes to the row editor init button's DOM element. */ rowEditorInitButton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor init icon's DOM element. + * Used to pass attributes to the row editor init icon's DOM element. */ rowEditorInitIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor save button's DOM element. + * Used to pass attributes to the row editor save button's DOM element. */ rowEditorSaveButton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor save icon's DOM element. + * Used to pass attributes to the row editor save icon's DOM element. */ rowEditorSaveIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor cancel button's DOM element. + * Used to pass attributes to the row editor cancel button's DOM element. */ rowEditorCancelButton?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the row editor cancel icon's DOM element. + * Used to pass attributes to the row editor cancel icon's DOM element. */ rowEditorCancelIcon?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the footer cell's DOM element. + * Used to pass attributes to the footer cell's DOM element. */ footerCell?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the body cell content's DOM element. + * Used to pass attributes to the body cell content's DOM element. */ bodyCellContent?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the hidden input wrapper's DOM element. + * Used to pass attributes to the hidden input wrapper's DOM element. */ hiddenHeaderInputWrapper?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the hidden input's DOM element. + * Used to pass attributes to the hidden input's DOM element. */ hiddenHeaderInput?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the hidden input wrapper's DOM element. + * Used to pass attributes to the hidden input wrapper's DOM element. */ hiddenInputWrapper?: ColumnPassThroughOptionType; /** - * Uses to pass attributes to the hidden input's DOM element. + * Used to pass attributes to the hidden input's DOM element. */ hiddenInput?: ColumnPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -564,7 +564,7 @@ export interface ColumnProps { */ hidden?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ColumnPassThroughOptions} */ pt?: ColumnPassThroughOptions; diff --git a/components/lib/columngroup/ColumnGroup.d.ts b/components/lib/columngroup/ColumnGroup.d.ts index 0b86795e1..995dbb8e6 100755 --- a/components/lib/columngroup/ColumnGroup.d.ts +++ b/components/lib/columngroup/ColumnGroup.d.ts @@ -27,11 +27,11 @@ export interface ColumnGroupPassThroughMethodOptions { */ export interface ColumnGroupPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ColumnGroupPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -53,7 +53,7 @@ export interface ColumnGroupProps { */ type?: 'header' | 'footer' | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ColumnGroupPassThroughOptions} */ pt?: ColumnGroupPassThroughOptions; diff --git a/components/lib/confirmdialog/ConfirmDialog.d.ts b/components/lib/confirmdialog/ConfirmDialog.d.ts index 33669425e..747c551a8 100644 --- a/components/lib/confirmdialog/ConfirmDialog.d.ts +++ b/components/lib/confirmdialog/ConfirmDialog.d.ts @@ -30,57 +30,57 @@ export interface ConfirmDialogPassThroughMethodOptions { */ export interface ConfirmDialogPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the header title's DOM element. + * Used to pass attributes to the header title's DOM element. */ headerTitle?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the header icons' DOM element. + * Used to pass attributes to the header icons' DOM element. */ headerIcons?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the close button's component. + * Used to pass attributes to the close button's component. */ closeButton?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the close button icon's component. + * Used to pass attributes to the close button icon's component. */ closeButtonIcon?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the message's DOM element. + * Used to pass attributes to the message's DOM element. */ message?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: ConfirmDialogPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ rejectButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ acceptButton?: ButtonPassThroughOptions; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -149,7 +149,7 @@ export interface ConfirmDialogProps { */ draggable?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ConfirmDialogPassThroughOptions} */ pt?: ConfirmDialogPassThroughOptions; diff --git a/components/lib/confirmpopup/ConfirmPopup.d.ts b/components/lib/confirmpopup/ConfirmPopup.d.ts index b3fd57d4a..a89a48a92 100644 --- a/components/lib/confirmpopup/ConfirmPopup.d.ts +++ b/components/lib/confirmpopup/ConfirmPopup.d.ts @@ -30,37 +30,37 @@ export interface ConfirmPopupPassThroughMethodOptions { */ export interface ConfirmPopupPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ConfirmPopupPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: ConfirmPopupPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ConfirmPopupPassThroughOptionType; /** - * Uses to pass attributes to the message's DOM element. + * Used to pass attributes to the message's DOM element. */ message?: ConfirmPopupPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: ConfirmPopupPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ rejectButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ acceptButton?: ButtonPassThroughOptions; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -97,7 +97,7 @@ export interface ConfirmPopupProps { */ group?: string; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ConfirmPopupPassThroughOptions} */ pt?: ConfirmPopupPassThroughOptions; diff --git a/components/lib/contextmenu/ContextMenu.d.ts b/components/lib/contextmenu/ContextMenu.d.ts index 6e5639162..076504ae3 100755 --- a/components/lib/contextmenu/ContextMenu.d.ts +++ b/components/lib/contextmenu/ContextMenu.d.ts @@ -31,47 +31,47 @@ export interface ContextMenuPassThroughMethodOptions { */ export interface ContextMenuPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu icon's DOM element. + * Used to pass attributes to the submenu icon's DOM element. */ submenuIcon?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: ContextMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu's DOM element. + * Used to pass attributes to the submenu's DOM element. */ submenu?: ContextMenuPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -207,7 +207,7 @@ export interface ContextMenuProps { */ '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 {ContextMenuPassThroughOptions} */ pt?: ContextMenuPassThroughOptions; diff --git a/components/lib/datatable/DataTable.d.ts b/components/lib/datatable/DataTable.d.ts index 4b0c95db2..7cc7322b0 100755 --- a/components/lib/datatable/DataTable.d.ts +++ b/components/lib/datatable/DataTable.d.ts @@ -544,113 +544,113 @@ export interface DataTableStateEvent { */ export interface DataTablePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the loading overlay's DOM element. + * Used to pass attributes to the loading overlay's DOM element. */ loadingOverlay?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the loading icon's DOM element. + * Used to pass attributes to the loading icon's DOM element. */ loadingIcon?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the Paginator component. + * Used to pass attributes to the Paginator component. * @see {@link PaginatorPassThroughOptionType} */ paginator?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the VirtualScroller component. + * Used to pass attributes to the VirtualScroller component. * @see {@link VirtualScrollerPassThroughOptionType} */ virtualScroller?: VirtualScrollerPassThroughOptionType; /** - * Uses to pass attributes to the table's DOM element. + * Used to pass attributes to the table's DOM element. */ table?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the virtual scroller spacer's DOM element. + * Used to pass attributes to the virtual scroller spacer's DOM element. */ virtualScrollerSpacer?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the thead's DOM element. + * Used to pass attributes to the thead's DOM element. */ thead?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the header row's DOM element. + * Used to pass attributes to the header row's DOM element. */ headerRow?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the tbody's DOM element. + * Used to pass attributes to the tbody's DOM element. */ tbody?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the rowgroup header's DOM element. + * Used to pass attributes to the rowgroup header's DOM element. */ rowGroupHeader?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the body row's DOM element. + * Used to pass attributes to the body row's DOM element. */ bodyRow?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the row expansion's DOM element. + * Used to pass attributes to the row expansion's DOM element. */ rowExpansion?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the rowgroup footer's DOM element. + * Used to pass attributes to the rowgroup footer's DOM element. */ rowGroupFooter?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the empty message's DOM element. + * Used to pass attributes to the empty message's DOM element. */ emptyMessage?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the tfoot's DOM element. + * Used to pass attributes to the tfoot's DOM element. */ tfoot?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the footerr ow's DOM element. + * Used to pass attributes to the footerr ow's DOM element. */ footerRow?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the resize helper's DOM element. + * Used to pass attributes to the resize helper's DOM element. */ resizeHelper?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the reorder indicator up's DOM element. + * Used to pass attributes to the reorder indicator up's DOM element. */ reorderIndicatorUp?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the reorder indicator down's DOM element. + * Used to pass attributes to the reorder indicator down's DOM element. */ reorderIndicatorDown?: DataTablePassThroughOptionType; /** - * Uses to pass attributes to the ColumnGroup helper components. + * Used to pass attributes to the ColumnGroup helper components. */ columnGroup?: ColumnGroupPassThroughOptionType; /** - * Uses to pass attributes to the Row helper components. + * Used to pass attributes to the Row helper components. */ row?: RowPassThroughOptionType; /** - * Uses to pass attributes to the Column helper components. + * Used to pass attributes to the Column helper components. */ column?: ColumnPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -1052,15 +1052,15 @@ export interface DataTableProps { */ tableClass?: any; /** - * Uses to pass all properties of the TableHTMLAttributes to table element inside the component. + * Used to pass all properties of the TableHTMLAttributes to table element inside the component. */ tableProps?: TableHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLInputElement to the focusable filter input element inside the component. + * Used to pass all properties of the HTMLInputElement to the focusable filter input element inside the component. */ filterInputProps?: InputHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DataTablePassThroughOptions} */ pt?: DataTablePassThroughOptions; diff --git a/components/lib/dataview/DataView.d.ts b/components/lib/dataview/DataView.d.ts index c73a1bb1e..4ac6b0bff 100755 --- a/components/lib/dataview/DataView.d.ts +++ b/components/lib/dataview/DataView.d.ts @@ -51,40 +51,40 @@ export interface DataViewPageEvent { */ export interface DataViewPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the Paginator component. + * Used to pass attributes to the Paginator component. * @see {@link PaginatorPassThroughOptionType} */ paginator?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the grid's DOM element. + * Used to pass attributes to the grid's DOM element. */ grid?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the column's DOM element. + * Used to pass attributes to the column's DOM element. */ column?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the empty message's DOM element. + * Used to pass attributes to the empty message's DOM element. */ emptyMessage?: DataViewPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: DataViewPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -209,7 +209,7 @@ export interface DataViewProps { */ dataKey: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DataViewPassThroughOptions} */ pt?: DataViewPassThroughOptions; diff --git a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts index bf09eae5f..3ee97701d 100755 --- a/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +++ b/components/lib/dataviewlayoutoptions/DataViewLayoutOptions.d.ts @@ -33,27 +33,27 @@ export interface DataViewLayoutOptionsPassThroughMethodOptions { */ export interface DataViewLayoutOptionsPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DataViewLayoutOptionsPassThroughOptionType; /** - * Uses to pass attributes to the list button's DOM element. + * Used to pass attributes to the list button's DOM element. */ listButton?: DataViewLayoutOptionsPassThroughOptionType; /** - * Uses to pass attributes to the list icon's DOM element. + * Used to pass attributes to the list icon's DOM element. */ listIcon?: DataViewLayoutOptionsPassThroughOptionType; /** - * Uses to pass attributes to the grid button's DOM element. + * Used to pass attributes to the grid button's DOM element. */ gridButton?: DataViewLayoutOptionsPassThroughOptionType; /** - * Uses to pass attributes to the grid icon's DOM element. + * Used to pass attributes to the grid icon's DOM element. */ gridIcon?: DataViewLayoutOptionsPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -91,7 +91,7 @@ export interface DataViewLayoutOptionsProps { */ modelValue?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DataViewLayoutOptionsPassThroughOptions} */ pt?: DataViewLayoutOptionsPassThroughOptions; diff --git a/components/lib/deferredcontent/DeferredContent.d.ts b/components/lib/deferredcontent/DeferredContent.d.ts index 85a35b9b4..636ea323d 100755 --- a/components/lib/deferredcontent/DeferredContent.d.ts +++ b/components/lib/deferredcontent/DeferredContent.d.ts @@ -28,11 +28,11 @@ export interface DeferredContentPassThroughMethodOptions { */ export interface DeferredContentPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DeferredContentPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -61,7 +61,7 @@ export interface DeferredContentState { */ export interface DeferredContentProps { /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DeferredContentPassThroughOptions} */ pt?: DeferredContentPassThroughOptions; diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index d477c32cb..29d6496e1 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -28,51 +28,51 @@ export interface DialogPassThroughMethodOptions { */ export interface DialogPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the header title's DOM element. + * Used to pass attributes to the header title's DOM element. */ headerTitle?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the header icons' DOM element. + * Used to pass attributes to the header icons' DOM element. */ headerIcons?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the maximizable button's DOM element. + * Used to pass attributes to the maximizable button's DOM element. */ maximizableButton?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the maximizable icon's DOM element. + * Used to pass attributes to the maximizable icon's DOM element. */ maximizableIcon?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the close button's component. + * Used to pass attributes to the close button's component. */ closeButton?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the close button icon's component. + * Used to pass attributes to the close button icon's component. */ closeButtonIcon?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: DialogPassThroughOptionType; /** - * Uses to pass attributes to the mask's DOM element. + * Used to pass attributes to the mask's DOM element. */ mask?: DialogPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -154,7 +154,7 @@ export interface DialogProps { */ contentClass?: any; /** - * 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. */ contentProps?: HTMLAttributes | undefined; /** @@ -251,7 +251,7 @@ export interface DialogProps { */ minimizeIcon?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DialogPassThroughOptions} */ pt?: DialogPassThroughOptions; diff --git a/components/lib/divider/Divider.d.ts b/components/lib/divider/Divider.d.ts index 9491682f5..8487bb670 100644 --- a/components/lib/divider/Divider.d.ts +++ b/components/lib/divider/Divider.d.ts @@ -27,15 +27,15 @@ export interface DividerPassThroughMethodOptions { */ export interface DividerPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DividerPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: DividerPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -67,7 +67,7 @@ export interface DividerProps { */ type?: 'solid' | 'dashed' | 'dotted' | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DividerPassThroughOptions} */ pt?: DividerPassThroughOptions; diff --git a/components/lib/dock/Dock.d.ts b/components/lib/dock/Dock.d.ts index ee0d7702c..c25cfc58f 100644 --- a/components/lib/dock/Dock.d.ts +++ b/components/lib/dock/Dock.d.ts @@ -30,35 +30,35 @@ export interface DockPassThroughMethodOptions { */ export interface DockPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DockPassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: DockPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: DockPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: DockPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: DockPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: DockPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: DockPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -182,7 +182,7 @@ export interface DockProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {DockPassThroughOptions} */ pt?: DockPassThroughOptions; diff --git a/components/lib/dropdown/BaseDropdown.vue b/components/lib/dropdown/BaseDropdown.vue index bf768b8ea..ceecc6cc1 100644 --- a/components/lib/dropdown/BaseDropdown.vue +++ b/components/lib/dropdown/BaseDropdown.vue @@ -153,11 +153,11 @@ export default { props: { modelValue: null, options: Array, - optionLabel: String || Function, - optionValue: String || Function, - optionDisabled: String || Function, - optionGroupLabel: String || Function, - optionGroupChildren: String || Function, + optionLabel: [String, Function], + optionValue: [String, Function], + optionDisabled: [String, Function], + optionGroupLabel: [String, Function], + optionGroupChildren: [String, Function], scrollHeight: { type: String, default: '200px' diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index 71b42a492..98651eb15 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -60,92 +60,92 @@ export interface DropdownFilterEvent { */ export interface DropdownPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the clear icon's DOM element. + * Used to pass attributes to the clear icon's DOM element. */ clearIcon?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the trigger' DOM element. + * Used to pass attributes to the trigger' DOM element. */ trigger?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the loading icon's DOM element. + * Used to pass attributes to the loading icon's DOM element. */ loadingIcon?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the filter container's DOM element. + * Used to pass attributes to the filter container's DOM element. */ filterContainer?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the filter input's DOM element. + * Used to pass attributes to the filter input's DOM element. */ filterInput?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the filter icon's DOM element. + * Used to pass attributes to the filter icon's DOM element. */ filterIcon?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the VirtualScroller component. + * Used to pass attributes to the VirtualScroller component. * @see {@link VirtualScrollerPassThroughOptionType} */ virtualScroller?: VirtualScrollerPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the item group's DOM element. + * Used to pass attributes to the item group's DOM element. */ itemGroup?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the empty message's DOM element. + * Used to pass attributes to the empty message's DOM element. */ emptyMessage?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the hidden first focusable element's DOM element. + * Used to pass attributes to the hidden first focusable element's DOM element. */ hiddenFirstFocusableEl?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the hidden filter result's DOM element. + * Used to pass attributes to the hidden filter result's DOM element. */ hiddenFilterResult?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the hidden empty message's DOM element. + * Used to pass attributes to the hidden empty message's DOM element. */ hiddenEmptyMessage?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the hidden selected message's DOM element. + * Used to pass attributes to the hidden selected message's DOM element. */ hiddenSelectedMessage?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the hidden last focusable element's DOM element. + * Used to pass attributes to the hidden last focusable element's DOM element. */ hiddenLastFocusableEl?: DropdownPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -303,7 +303,7 @@ export interface DropdownProps { */ inputClass?: string | object | undefined; /** - * Uses to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component. + * Used to pass all properties of the HTMLInputElement/HTMLSpanElement to the focusable input element inside the component. */ inputProps?: InputHTMLAttributes | HTMLAttributes | undefined; /** @@ -315,15 +315,15 @@ export interface DropdownProps { */ 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; /** - * Uses to pass all properties of the HTMLInputElement to the filter input inside the component. + * Used to pass all properties of the HTMLInputElement to the filter input inside the component. */ filterInputProps?: InputHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLElement to the clear icon inside the component. + * Used to pass all properties of the HTMLElement to the clear icon inside the component. * @deprecated since v3.26.0. Use 'pt' peroperty. */ clearIconProps?: HTMLAttributes | undefined; @@ -419,7 +419,7 @@ export interface DropdownProps { */ '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 {DropdownPassThroughOptions} */ pt?: DropdownPassThroughOptions; diff --git a/components/lib/editor/Editor.d.ts b/components/lib/editor/Editor.d.ts index b018e7e1e..ffa15e817 100755 --- a/components/lib/editor/Editor.d.ts +++ b/components/lib/editor/Editor.d.ts @@ -94,75 +94,75 @@ export interface EditorLoadEvent { */ export interface EditorPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the toolbar's DOM element. + * Used to pass attributes to the toolbar's DOM element. */ toolbar?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the formats' DOM element. + * Used to pass attributes to the formats' DOM element. */ formats?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the option's DOM element. + * Used to pass attributes to the option's DOM element. */ option?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the bold's DOM element. + * Used to pass attributes to the bold's DOM element. */ bold?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the italic's DOM element. + * Used to pass attributes to the italic's DOM element. */ italic?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the underline's DOM element. + * Used to pass attributes to the underline's DOM element. */ underline?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the color's DOM element. + * Used to pass attributes to the color's DOM element. */ color?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the background's DOM element. + * Used to pass attributes to the background's DOM element. */ background?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the select's DOM element. + * Used to pass attributes to the select's DOM element. */ select?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the link's DOM element. + * Used to pass attributes to the link's DOM element. */ link?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the image's DOM element. + * Used to pass attributes to the image's DOM element. */ image?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the code block's DOM element. + * Used to pass attributes to the code block's DOM element. */ codeBlock?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the clean's DOM element. + * Used to pass attributes to the clean's DOM element. */ clean?: EditorPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: EditorPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -216,7 +216,7 @@ export interface EditorProps { */ modules?: any; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {EditorPassThroughOptions} */ pt?: EditorPassThroughOptions; diff --git a/components/lib/fieldset/Fieldset.d.ts b/components/lib/fieldset/Fieldset.d.ts index 0e32c2b41..3f6e7c944 100755 --- a/components/lib/fieldset/Fieldset.d.ts +++ b/components/lib/fieldset/Fieldset.d.ts @@ -43,35 +43,35 @@ export interface FieldsetToggleEvent { */ export interface FieldsetPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the legend's DOM element. + * Used to pass attributes to the legend's DOM element. */ legend?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the toggler's DOM element. + * Used to pass attributes to the toggler's DOM element. */ toggler?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the toggler icon's DOM element. + * Used to pass attributes to the toggler icon's DOM element. */ togglerIcon?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the legend title's DOM element. + * Used to pass attributes to the legend title's DOM element. */ legendTitle?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the toggleable content's DOM element. + * Used to pass attributes to the toggleable content's DOM element. */ toggleableContent?: FieldsetPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: FieldsetPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -114,12 +114,12 @@ export interface FieldsetProps { */ collapsed?: boolean | undefined; /** - * Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component. + * Used to pass the custom value to read for the AnchorHTMLAttributes inside the component. * @deprecated since v3.26.0. Use 'pt' property instead. */ toggleButtonProps?: AnchorHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {FieldsetPassThroughOptions} */ pt?: FieldsetPassThroughOptions; diff --git a/components/lib/fileupload/FileUpload.d.ts b/components/lib/fileupload/FileUpload.d.ts index 87e47b1b9..3106dfaa0 100755 --- a/components/lib/fileupload/FileUpload.d.ts +++ b/components/lib/fileupload/FileUpload.d.ts @@ -158,99 +158,99 @@ export interface FileUploadRemoveUploadedFile { */ export interface FileUploadPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the buttonbar's DOM element. + * Used to pass attributes to the buttonbar's DOM element. */ buttonbar?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the choose button's DOM element. + * Used to pass attributes to the choose button's DOM element. */ chooseButton?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the choose icon's DOM element. + * Used to pass attributes to the choose icon's DOM element. */ chooseIcon?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the choose button label's DOM element. + * Used to pass attributes to the choose button label's DOM element. */ chooseButtonLabel?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the upload button's DOM element. + * Used to pass attributes to the upload button's DOM element. * @see {@link ButtonPassThroughOptions} */ uploadButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the cancel button's DOM element. + * Used to pass attributes to the cancel button's DOM element. * @see {@link ButtonPassThroughOptions} */ cancelButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the progressbar's DOM element. + * Used to pass attributes to the progressbar's DOM element. */ progressbar?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the messages' DOM element. + * Used to pass attributes to the messages' DOM element. * @see {@link MessagePassThroughOptions} */ message?: MessagePassThroughOptions; /** - * Uses to pass attributes to the file's DOM element. + * Used to pass attributes to the file's DOM element. */ file?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail's DOM element. + * Used to pass attributes to the thumbnail's DOM element. */ thumbnail?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the details's DOM element. + * Used to pass attributes to the details's DOM element. */ details?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the fileName's DOM element. + * Used to pass attributes to the fileName's DOM element. */ fileName?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the fileSize's DOM element. + * Used to pass attributes to the fileSize's DOM element. */ fileSize?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the badge's DOM element. + * Used to pass attributes to the badge's DOM element. */ badge?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the actions's DOM element. + * Used to pass attributes to the actions's DOM element. */ actions?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the remove button's DOM element. + * Used to pass attributes to the remove button's DOM element. * @see {@link ButtonPassThroughOptions} */ removeButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the empty's DOM element. + * Used to pass attributes to the empty's DOM element. */ empty?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: FileUploadPassThroughOptionType; /** - * Uses to pass attributes to the upload icon's DOM element. + * Used to pass attributes to the upload icon's DOM element. */ uploadIcon?: FileUploadPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -410,7 +410,7 @@ export interface FileUploadProps { */ class?: any; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {FileUploadPassThroughOptions} */ pt?: FileUploadPassThroughOptions; diff --git a/components/lib/focustrap/FocusTrap.d.ts b/components/lib/focustrap/FocusTrap.d.ts index 2616efc61..dcae082ec 100644 --- a/components/lib/focustrap/FocusTrap.d.ts +++ b/components/lib/focustrap/FocusTrap.d.ts @@ -26,7 +26,7 @@ export interface FocusTrapOptions { */ autoFocus?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {FocusTrapDirectivePassThroughOptions} */ pt?: FocusTrapDirectivePassThroughOptions; @@ -38,19 +38,19 @@ export interface FocusTrapOptions { */ export interface FocusTrapDirectivePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: FocusTrapDirectivePassThroughOptionType; /** - * Uses to pass attributes to the first focusable element's DOM element. + * Used to pass attributes to the first focusable element's DOM element. */ firstFocusableElement?: FocusTrapDirectivePassThroughOptionType; /** - * Uses to pass attributes to the last focusable element's DOM element. + * Used to pass attributes to the last focusable element's DOM element. */ lastFocusableElement?: FocusTrapDirectivePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseDirective.DirectiveHooks} */ hooks?: DirectiveHooks; diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index d2ea2855e..9fd2b8031 100755 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -19,6 +19,7 @@ export interface GalleriaPassThroughMethodOptions { instance: any; props: GalleriaProps; state: GalleriaState; + context: GalleriaContext; } export interface GalleriaResponsiveOptions { @@ -38,119 +39,119 @@ export interface GalleriaResponsiveOptions { */ export interface GalleriaPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the close button's DOM element. + * Used to pass attributes to the close button's DOM element. */ closeButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the close icon's DOM element. + * Used to pass attributes to the close icon's DOM element. */ closeIcon?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the item wrapper's DOM element. + * Used to pass attributes to the item wrapper's DOM element. */ itemWrapper?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the item container's DOM element. + * Used to pass attributes to the item container's DOM element. */ itemContainer?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the previous item button's DOM element. + * Used to pass attributes to the previous item button's DOM element. */ previousItemButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the previous item icon's DOM element. + * Used to pass attributes to the previous item icon's DOM element. */ previousItemIcon?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the next item button's DOM element. + * Used to pass attributes to the next item button's DOM element. */ nextItemButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the next item icon's DOM element. + * Used to pass attributes to the next item icon's DOM element. */ nextItemIcon?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the caption's DOM element. + * Used to pass attributes to the caption's DOM element. */ caption?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the indicators's DOM element. + * Used to pass attributes to the indicators's DOM element. */ indicators?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the indicator's DOM element. + * Used to pass attributes to the indicator's DOM element. */ indicator?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the indicator button's DOM element. + * Used to pass attributes to the indicator button's DOM element. */ indicatorButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail wrapper's DOM element. + * Used to pass attributes to the thumbnail wrapper's DOM element. */ thumbnailWrapper?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail container's DOM element. + * Used to pass attributes to the thumbnail container's DOM element. */ thumbnailContainer?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the previous thumbnail button's DOM element. + * Used to pass attributes to the previous thumbnail button's DOM element. */ previousThumbnailButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the previous thumbnail icon's DOM element. + * Used to pass attributes to the previous thumbnail icon's DOM element. */ previousThumbnailIcon?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail items container's DOM element. + * Used to pass attributes to the thumbnail items container's DOM element. */ thumbnailItemsContainer?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail items' DOM element. + * Used to pass attributes to the thumbnail items' DOM element. */ thumbnailItems?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail item's DOM element. + * Used to pass attributes to the thumbnail item's DOM element. */ thumbnailItem?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the thumbnail item content's DOM element. + * Used to pass attributes to the thumbnail item content's DOM element. */ thumbnailItemContent?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the next thumbnail button's DOM element. + * Used to pass attributes to the next thumbnail button's DOM element. */ nextThumbnailButton?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the next thumbnail icon's DOM element. + * Used to pass attributes to the next thumbnail icon's DOM element. */ nextThumbnailIcon?: GalleriaPassThroughOptionType; /** - * Uses to pass attributes to the mask's DOM element. + * Used to pass attributes to the mask's DOM element. */ mask?: GalleriaPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -223,6 +224,17 @@ export interface GalleriaState { totalShiftedItems: number; } +/** + * Defines current inline options in Galleria component. + */ +export interface GalleriaContext { + /** + * Current highlighted state of the indicator as a boolean. + * @defaultValue false + */ + highlighted: boolean; +} + /** * Defines valid properties in Galleria component. */ @@ -343,19 +355,19 @@ export interface GalleriaProps { */ containerClass?: any | undefined; /** - * Uses to pass all properties of the HTMLDivElement to the container element on fullscreen mode. + * Used to pass all properties of the HTMLDivElement to the container element on fullscreen mode. */ containerProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the previous navigation button. + * Used to pass all properties of the HTMLButtonElement to the previous navigation button. */ prevButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the next navigation button. + * Used to pass all properties of the HTMLButtonElement to the next navigation button. */ nextButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {GalleriaPassThroughOptions} */ pt?: GalleriaPassThroughOptions; diff --git a/components/lib/galleria/GalleriaItem.vue b/components/lib/galleria/GalleriaItem.vue index e421ddcc0..e23433cb7 100755 --- a/components/lib/galleria/GalleriaItem.vue +++ b/components/lib/galleria/GalleriaItem.vue @@ -26,10 +26,10 @@ @click="onIndicatorClick(index)" @mouseenter="onIndicatorMouseEnter(index)" @keydown="onIndicatorKeyDown($event, index)" - v-bind="ptm('indicator')" + v-bind="ptm('indicator', getIndicatorPTOptions(index))" :data-p-highlight="isIndicatorItemActive(index)" > - + @@ -95,6 +95,13 @@ export default { } }, methods: { + getIndicatorPTOptions(index) { + return { + context: { + highlighted: this.activeIndex === index + } + }; + }, next() { let nextItemIndex = this.activeIndex + 1; let activeIndex = this.circular && this.value.length - 1 === this.activeIndex ? 0 : nextItemIndex; diff --git a/components/lib/image/Image.d.ts b/components/lib/image/Image.d.ts index 36b743485..2d05dd609 100644 --- a/components/lib/image/Image.d.ts +++ b/components/lib/image/Image.d.ts @@ -27,79 +27,79 @@ export interface ImagePassThroughMethodOptions { */ export interface ImagePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the image's DOM element. + * Used to pass attributes to the image's DOM element. */ image?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the button's DOM element. + * Used to pass attributes to the button's DOM element. */ button?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the mask's DOM element. + * Used to pass attributes to the mask's DOM element. */ mask?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the toolbar's DOM element. + * Used to pass attributes to the toolbar's DOM element. */ toolbar?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the rotate right button's DOM element. + * Used to pass attributes to the rotate right button's DOM element. */ rotateRightButton?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the rotate right icon's DOM element. + * Used to pass attributes to the rotate right icon's DOM element. */ rotateRightIcon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the rotate left button's DOM element. + * Used to pass attributes to the rotate left button's DOM element. */ rotateLeftButton?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the rotate left icon's DOM element. + * Used to pass attributes to the rotate left icon's DOM element. */ rotateLeftIcon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the zoom out button's DOM element. + * Used to pass attributes to the zoom out button's DOM element. */ zoomOutButton?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the zoom out icon's DOM element. + * Used to pass attributes to the zoom out icon's DOM element. */ zoomOutIcon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the zoom in button's DOM element. + * Used to pass attributes to the zoom in button's DOM element. */ zoomInButton?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the zoom in icon's DOM element. + * Used to pass attributes to the zoom in icon's DOM element. */ zoomInIcon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the close button's DOM element. + * Used to pass attributes to the close button's DOM element. */ closeButton?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the close icon's DOM element. + * Used to pass attributes to the close icon's DOM element. */ closeIcon?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the preview container's DOM element. + * Used to pass attributes to the preview container's DOM element. */ previewContainer?: ImagePassThroughOptionType; /** - * Uses to pass attributes to the preview's DOM element. + * Used to pass attributes to the preview's DOM element. */ preview?: ImagePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -171,7 +171,7 @@ export interface ImageProps { */ zoomOutDisabled?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ImagePassThroughOptions} */ pt?: ImagePassThroughOptions; diff --git a/components/lib/inlinemessage/InlineMessage.d.ts b/components/lib/inlinemessage/InlineMessage.d.ts index 1a51e51cf..e235330ef 100755 --- a/components/lib/inlinemessage/InlineMessage.d.ts +++ b/components/lib/inlinemessage/InlineMessage.d.ts @@ -28,19 +28,19 @@ export interface InlineMessagePassThroughMethodOptions { */ export interface InlineMessagePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InlineMessagePassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: InlineMessagePassThroughOptionType; /** - * Uses to pass attributes to the text's DOM element. + * Used to pass attributes to the text's DOM element. */ text?: InlineMessagePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -79,7 +79,7 @@ export interface InlineMessageProps { */ icon?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InlineMessagePassThroughOptions} */ pt?: InlineMessagePassThroughOptions; diff --git a/components/lib/inplace/Inplace.d.ts b/components/lib/inplace/Inplace.d.ts index a6aea8151..3539b67f6 100755 --- a/components/lib/inplace/Inplace.d.ts +++ b/components/lib/inplace/Inplace.d.ts @@ -30,24 +30,24 @@ export interface InplacePassThroughMethodOptions { */ export interface InplacePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InplacePassThroughOptionType; /** - * Uses to pass attributes to the display's DOM element. + * Used to pass attributes to the display's DOM element. */ display?: InplacePassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: InplacePassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ closeButton?: ButtonPassThroughOptions; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -96,15 +96,15 @@ export interface InplaceProps { */ closeIcon?: string | undefined; /** - * Uses to pass all properties of the HTMLDivElement to display container. + * Used to pass all properties of the HTMLDivElement to display container. */ displayProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the close button. + * Used to pass all properties of the HTMLButtonElement to the close button. */ closeButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InplacePassThroughOptions} */ pt?: InplacePassThroughOptions; diff --git a/components/lib/inputmask/InputMask.d.ts b/components/lib/inputmask/InputMask.d.ts index d608e29bd..2434923e2 100755 --- a/components/lib/inputmask/InputMask.d.ts +++ b/components/lib/inputmask/InputMask.d.ts @@ -27,11 +27,11 @@ export interface InputMaskPassThroughMethodOptions { */ export interface InputMaskPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InputMaskPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -93,7 +93,7 @@ export interface InputMaskProps { */ readonly?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InputMaskPassThroughOptions} */ pt?: InputMaskPassThroughOptions; diff --git a/components/lib/inputnumber/InputNumber.d.ts b/components/lib/inputnumber/InputNumber.d.ts index 1d5900483..a91b03629 100755 --- a/components/lib/inputnumber/InputNumber.d.ts +++ b/components/lib/inputnumber/InputNumber.d.ts @@ -60,30 +60,30 @@ export interface InputNumberBlurEvent { */ export interface InputNumberPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InputNumberPassThroughOptionType; /** - * Uses to pass attributes to the Input component. + * Used to pass attributes to the Input component. * @see {@link InputTextPassThroughOptionType} */ input?: InputTextPassThroughOptionType; /** - * Uses to pass attributes to the button group's DOM element. + * Used to pass attributes to the button group's DOM element. */ buttonGroup?: InputNumberPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ incrementButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ decrementButton?: ButtonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -250,15 +250,15 @@ export interface InputNumberProps { */ inputStyle?: 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; /** - * Uses to pass all properties of the HTMLButtonElement to increment button inside the component. + * Used to pass all properties of the HTMLButtonElement to increment button inside the component. */ incrementButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to decrement button inside the component. + * Used to pass all properties of the HTMLButtonElement to decrement button inside the component. */ decrementButtonProps?: ButtonHTMLAttributes | undefined; /** @@ -270,7 +270,7 @@ export interface InputNumberProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InputNumberPassThroughOptions} */ pt?: InputNumberPassThroughOptions; diff --git a/components/lib/inputswitch/InputSwitch.d.ts b/components/lib/inputswitch/InputSwitch.d.ts index a00ffb5e9..b365019ee 100755 --- a/components/lib/inputswitch/InputSwitch.d.ts +++ b/components/lib/inputswitch/InputSwitch.d.ts @@ -28,23 +28,23 @@ export interface InputSwitchPassThroughMethodOptions { */ export interface InputSwitchPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InputSwitchPassThroughOptionType; /** - * Uses to pass attributes to the slider's DOM element. + * Used to pass attributes to the slider's DOM element. */ slider?: InputSwitchPassThroughOptionType; /** - * Uses to pass attributes to the hidden input wrapper's DOM element. + * Used to pass attributes to the hidden input wrapper's DOM element. */ hiddenInputWrapper?: InputSwitchPassThroughOptionType; /** - * Uses to pass attributes to the hidden input's DOM element. + * Used to pass attributes to the hidden input's DOM element. */ hiddenInput?: InputSwitchPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -100,7 +100,7 @@ export interface InputSwitchProps { */ inputStyle?: 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; /** @@ -112,7 +112,7 @@ export interface InputSwitchProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InputSwitchPassThroughOptions} */ pt?: InputSwitchPassThroughOptions; diff --git a/components/lib/inputtext/InputText.d.ts b/components/lib/inputtext/InputText.d.ts index 616db110e..22319d3ba 100755 --- a/components/lib/inputtext/InputText.d.ts +++ b/components/lib/inputtext/InputText.d.ts @@ -28,11 +28,11 @@ export interface InputTextPassThroughMethodOptions { */ export interface InputTextPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: InputTextPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -74,7 +74,7 @@ export interface InputTextProps extends InputHTMLAttributes { */ size?: 'small' | 'large' | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {InputTextPassThroughOptions} */ pt?: InputTextPassThroughOptions; diff --git a/components/lib/knob/Knob.d.ts b/components/lib/knob/Knob.d.ts index 796d88045..0692af780 100644 --- a/components/lib/knob/Knob.d.ts +++ b/components/lib/knob/Knob.d.ts @@ -27,27 +27,27 @@ export interface KnobPassThroughMethodOptions { */ export interface KnobPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: KnobPassThroughOptionType; /** - * Uses to pass attributes to the svg's DOM element. + * Used to pass attributes to the svg's DOM element. */ svg?: KnobPassThroughOptionType; /** - * Uses to pass attributes to the range's DOM element. + * Used to pass attributes to the range's DOM element. */ range?: KnobPassThroughOptionType; /** - * Uses to pass attributes to the value' DOM element. + * Used to pass attributes to the value' DOM element. */ value?: KnobPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: KnobPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -171,7 +171,7 @@ export interface KnobProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {KnobPassThroughOptions} */ pt?: KnobPassThroughOptions; diff --git a/components/lib/listbox/Listbox.d.ts b/components/lib/listbox/Listbox.d.ts index 778f902cd..017167f01 100755 --- a/components/lib/listbox/Listbox.d.ts +++ b/components/lib/listbox/Listbox.d.ts @@ -60,68 +60,68 @@ export interface ListboxFilterEvent { */ export interface ListboxPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the filter container's DOM element. + * Used to pass attributes to the filter container's DOM element. */ filterContainer?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the filter input's DOM element. + * Used to pass attributes to the filter input's DOM element. */ filterInput?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the filter icon's DOM element. + * Used to pass attributes to the filter icon's DOM element. */ filterIcon?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the VirtualScroller component. + * Used to pass attributes to the VirtualScroller component. * @see {@link VirtualScrollerPassThroughOptionType} */ virtualScroller?: VirtualScrollerPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the item group's DOM element. + * Used to pass attributes to the item group's DOM element. */ itemGroup?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the emptyMessage's DOM element. + * Used to pass attributes to the emptyMessage's DOM element. */ emptyMessage?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden first focusable element's DOM element. + * Used to pass attributes to the hidden first focusable element's DOM element. */ hiddenFirstFocusableEl?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden filter result's DOM element. + * Used to pass attributes to the hidden filter result's DOM element. */ hiddenFilterResult?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden selected message's DOM element. + * Used to pass attributes to the hidden selected message's DOM element. */ hiddenSelectedMessage?: ListboxPassThroughOptionType; /** - * Uses to pass attributes to the hidden last focusable element's DOM element. + * Used to pass attributes to the hidden last focusable element's DOM element. */ hiddenLastFocusableEl?: ListboxPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -258,7 +258,7 @@ export interface ListboxProps { */ filterFields?: string[] | undefined; /** - * Uses to pass all properties of the HTMLInputElement to the filter input inside the component. + * Used to pass all properties of the HTMLInputElement to the filter input inside the component. */ filterInputProps?: InputHTMLAttributes | undefined; /** @@ -319,7 +319,7 @@ export interface ListboxProps { */ '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 {ListboxPassThroughOptions} */ pt?: ListboxPassThroughOptions; diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts index 05d9a8539..27956a03e 100755 --- a/components/lib/megamenu/MegaMenu.d.ts +++ b/components/lib/megamenu/MegaMenu.d.ts @@ -30,71 +30,71 @@ export interface MegaMenuPassThroughMethodOptions { */ export interface MegaMenuPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu icon's DOM element. + * Used to pass attributes to the submenu icon's DOM element. */ submenuIcon?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the grid's DOM element. + * Used to pass attributes to the grid's DOM element. */ grid?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the column's DOM element. + * Used to pass attributes to the column's DOM element. */ column?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu header's DOM element. + * Used to pass attributes to the submenu header's DOM element. */ submenuHeader?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu's DOM element. + * Used to pass attributes to the submenu's DOM element. */ submenu?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the start of the component. + * Used to pass attributes to the start of the component. */ start?: MegaMenuPassThroughOptionType; /** - * Uses to pass attributes to the end of the component. + * Used to pass attributes to the end of the component. */ end?: MegaMenuPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -210,7 +210,7 @@ export interface MegaMenuProps { */ '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 {MegaMenuPassThroughOptions} */ pt?: MegaMenuPassThroughOptions; diff --git a/components/lib/menu/Menu.d.ts b/components/lib/menu/Menu.d.ts index 871456471..a2f072a01 100755 --- a/components/lib/menu/Menu.d.ts +++ b/components/lib/menu/Menu.d.ts @@ -30,51 +30,51 @@ export interface MenuPassThroughMethodOptions { */ export interface MenuPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu header's DOM element. + * Used to pass attributes to the submenu header's DOM element. */ submenuHeader?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the start of the component. + * Used to pass attributes to the start of the component. */ start?: MenuPassThroughOptionType; /** - * Uses to pass attributes to the end of the component. + * Used to pass attributes to the end of the component. */ end?: MenuPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -180,7 +180,7 @@ export interface MenuProps { */ '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 {MenuPassThroughOptions} */ pt?: MenuPassThroughOptions; diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts index 4f5ac4c1b..59bfe6d08 100755 --- a/components/lib/menubar/Menubar.d.ts +++ b/components/lib/menubar/Menubar.d.ts @@ -30,63 +30,63 @@ export interface MenubarPassThroughMethodOptions { */ export interface MenubarPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the submenu icon's DOM element. + * Used to pass attributes to the submenu icon's DOM element. */ submenuIcon?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the mobile popup menu button's DOM element. + * Used to pass attributes to the mobile popup menu button's DOM element. */ button?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the mobile popup menu button icon's DOM element. + * Used to pass attributes to the mobile popup menu button icon's DOM element. */ popupIcon?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the submenu's DOM element. + * Used to pass attributes to the submenu's DOM element. */ submenu?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the start of the component. + * Used to pass attributes to the start of the component. */ start?: MenubarPassThroughOptionType; /** - * Uses to pass attributes to the end of the component. + * Used to pass attributes to the end of the component. */ end?: MenubarPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -185,7 +185,7 @@ export interface MenubarProps { */ exact?: boolean | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the menu button. + * Used to pass all properties of the HTMLButtonElement to the menu button. */ buttonProps?: ButtonHTMLAttributes | undefined; /** @@ -197,7 +197,7 @@ export interface MenubarProps { */ '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 {MenubarPassThroughOptions} */ pt?: MenubarPassThroughOptions; diff --git a/components/lib/message/Message.d.ts b/components/lib/message/Message.d.ts index bd862593f..a79008c44 100755 --- a/components/lib/message/Message.d.ts +++ b/components/lib/message/Message.d.ts @@ -28,41 +28,41 @@ export interface MessagePassThroughMethodOptions { */ export interface MessagePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the text's DOM element. + * Used to pass attributes to the text's DOM element. */ text?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the button's DOM element. + * Used to pass attributes to the button's DOM element. * @deprecated since v3.30.2. Use 'closeButton' option. */ button?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the button's DOM element. + * Used to pass attributes to the button's DOM element. */ closeButton?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the button icon's DOM element. + * Used to pass attributes to the button icon's DOM element. * @deprecated since v3.30.2. Use 'closeIcon' option. */ buttonIcon?: MessagePassThroughOptionType; /** - * Uses to pass attributes to the button icon's DOM element. + * Used to pass attributes to the button icon's DOM element. */ closeIcon?: MessagePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -120,11 +120,11 @@ export interface MessageProps { */ closeIcon?: string | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the close button. + * Used to pass all properties of the HTMLButtonElement to the close button. */ closeButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {MessagePassThroughOptions} */ pt?: MessagePassThroughOptions; diff --git a/components/lib/multiselect/MultiSelect.d.ts b/components/lib/multiselect/MultiSelect.d.ts index 6125dd544..3ddd24c1d 100755 --- a/components/lib/multiselect/MultiSelect.d.ts +++ b/components/lib/multiselect/MultiSelect.d.ts @@ -75,144 +75,144 @@ export interface MultiSelectFilterEvent { */ export interface MultiSelectPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the label container's DOM element. + * Used to pass attributes to the label container's DOM element. */ labelContainer?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the token's DOM element. + * Used to pass attributes to the token's DOM element. */ token?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the token label's DOM element. + * Used to pass attributes to the token label's DOM element. */ tokenLabel?: MultiSelectPassThroughOptionType; /** - * 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?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the trigger's DOM element. + * Used to pass attributes to the trigger's DOM element. */ trigger?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the trigger icon's DOM element. + * Used to pass attributes to the trigger icon's DOM element. */ triggerIcon?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the dropdown icon's DOM element. + * Used to pass attributes to the dropdown icon's DOM element. */ dropdownIcon?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the header checkbox container's DOM element. + * Used to pass attributes to the header checkbox container's DOM element. */ headerCheckboxContainer?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the header checkbox's DOM element. + * Used to pass attributes to the header checkbox's DOM element. */ headerCheckbox?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the filter container's DOM element. + * Used to pass attributes to the filter container's DOM element. */ filterContainer?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the filter input's DOM element. + * Used to pass attributes to the filter input's DOM element. */ filterInput?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the filter icon's DOM element. + * Used to pass attributes to the filter icon's DOM element. */ filterIcon?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the close button's DOM element. + * Used to pass attributes to the close button's DOM element. */ closeButton?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the close icon's DOM element. + * Used to pass attributes to the close icon's DOM element. */ closeIcon?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the VirtualScroller component. + * Used to pass attributes to the VirtualScroller component. * @see {@link VirtualScrollerPassThroughOptionType} */ virtualScroller?: VirtualScrollerPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the item group's DOM element. + * Used to pass attributes to the item group's DOM element. */ itemGroup?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the checkbox container's DOM element. + * Used to pass attributes to the checkbox container's DOM element. */ checkboxContainer?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the checkbox's DOM element. + * Used to pass attributes to the checkbox's DOM element. */ checkbox?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the checkbox icon's DOM element. + * Used to pass attributes to the checkbox icon's DOM element. */ checkboxIcon?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the option's DOM element. + * Used to pass attributes to the option's DOM element. */ option?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the emptyMessage's DOM element. + * Used to pass attributes to the emptyMessage's DOM element. */ emptyMessage?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden input wrapper's DOM element. + * Used to pass attributes to the hidden input wrapper's DOM element. */ hiddenInputWrapper?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden input's DOM element. + * Used to pass attributes to the hidden input's DOM element. */ hiddenInput?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden first focusable element's DOM element. + * Used to pass attributes to the hidden first focusable element's DOM element. */ hiddenFirstFocusableEl?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden filter result's DOM element. + * Used to pass attributes to the hidden filter result's DOM element. */ hiddenFilterResult?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden selected message's DOM element. + * Used to pass attributes to the hidden selected message's DOM element. */ hiddenSelectedMessage?: MultiSelectPassThroughOptionType; /** - * Uses to pass attributes to the hidden last focusable element's DOM element. + * Used to pass attributes to the hidden last focusable element's DOM element. */ hiddenLastFocusableEl?: MultiSelectPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -326,7 +326,7 @@ export interface MultiSelectProps { */ inputId?: string | 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; /** @@ -338,15 +338,15 @@ export interface MultiSelectProps { */ panelClass?: any; /** - * Uses to pass all properties of the HTMLDivElement to the overlay panel. + * Used to pass all properties of the HTMLDivElement to the overlay panel. */ panelProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLInputElement to the filter input inside the overlay panel. + * Used to pass all properties of the HTMLInputElement to the filter input inside the overlay panel. */ filterInputProps?: InputHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the clear button inside the overlay panel. + * Used to pass all properties of the HTMLButtonElement to the clear button inside the overlay panel. */ closeButtonProps?: ButtonHTMLAttributes | undefined; /** @@ -501,7 +501,7 @@ export interface MultiSelectProps { */ '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 {MultiSelectPassThroughOptions} */ pt?: MultiSelectPassThroughOptions; diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index 7cb0539d0..27a6a0f2e 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -64,47 +64,47 @@ export interface OrderListSelectionChangeEvent { */ export interface OrderListPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: OrderListPassThroughOptionType; /** - * Uses to pass attributes to the controls' DOM element. + * Used to pass attributes to the controls' DOM element. */ controls?: OrderListPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveUpButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveTopButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveDownButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveBottomButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the container's DOM element. + * Used to pass attributes to the container's DOM element. */ container?: OrderListPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: OrderListPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ list?: OrderListPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: OrderListPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -203,23 +203,23 @@ export interface OrderListProps { */ tabindex?: number | string | undefined; /** - * Uses to pass all properties of the HTMLAttributes to the list element. + * Used to pass all properties of the HTMLAttributes to the list element. */ listProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move up button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move up button inside the component. */ moveUpButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move top button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move top button inside the component. */ moveTopButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move down button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move down button inside the component. */ moveDownButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move bottom button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move bottom button inside the component. */ moveBottomButtonProps?: ButtonHTMLAttributes | undefined; /** @@ -231,7 +231,7 @@ export interface OrderListProps { */ '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 {OrderListPassThroughOptions} */ pt?: OrderListPassThroughOptions; diff --git a/components/lib/organizationchart/OrganizationChart.d.ts b/components/lib/organizationchart/OrganizationChart.d.ts index 521ac73cf..22de12e17 100755 --- a/components/lib/organizationchart/OrganizationChart.d.ts +++ b/components/lib/organizationchart/OrganizationChart.d.ts @@ -83,59 +83,59 @@ export interface OrganizationChartCollapsedKeys { */ export interface OrganizationChartPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the table's DOM element. + * Used to pass attributes to the table's DOM element. */ table?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the body's DOM element. + * Used to pass attributes to the body's DOM element. */ body?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the row' DOM element. + * Used to pass attributes to the row' DOM element. */ row?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the cell's DOM element. + * Used to pass attributes to the cell's DOM element. */ cell?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the node's DOM element. + * Used to pass attributes to the node's DOM element. */ node?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the nodeToggler's DOM element. + * Used to pass attributes to the nodeToggler's DOM element. */ nodeToggler?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the nodeTogglerIcon's DOM element. + * Used to pass attributes to the nodeTogglerIcon's DOM element. */ nodeTogglerIcon?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the lines's DOM element. + * Used to pass attributes to the lines's DOM element. */ lines?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the lineCell's DOM element. + * Used to pass attributes to the lineCell's DOM element. */ lineCell?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the lineDown's DOM element. + * Used to pass attributes to the lineDown's DOM element. */ lineDown?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the nodes's DOM element. + * Used to pass attributes to the nodes's DOM element. */ nodes?: OrganizationChartPassThroughOptionType; /** - * Uses to pass attributes to the nodeCell's DOM element. + * Used to pass attributes to the nodeCell's DOM element. */ nodeCell?: OrganizationChartPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -221,7 +221,7 @@ export interface OrganizationChartProps { */ collapsible?: boolean; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {OrganizationChartPassThroughOptions} */ pt?: OrganizationChartPassThroughOptions; diff --git a/components/lib/overlaypanel/OverlayPanel.d.ts b/components/lib/overlaypanel/OverlayPanel.d.ts index 27f2eef91..4a38e1c2f 100755 --- a/components/lib/overlaypanel/OverlayPanel.d.ts +++ b/components/lib/overlaypanel/OverlayPanel.d.ts @@ -28,23 +28,23 @@ export interface OverlayPanelPassThroughMethodOptions { */ export interface OverlayPanelPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: OverlayPanelPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: OverlayPanelPassThroughOptionType; /** - * Uses to pass attributes to the close button's DOM element. + * Used to pass attributes to the close button's DOM element. */ closeButton?: OverlayPanelPassThroughOptionType; /** - * Uses to pass attributes to the close icon's DOM element. + * Used to pass attributes to the close icon's DOM element. */ closeIcon?: OverlayPanelPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -129,7 +129,7 @@ export interface OverlayPanelProps { */ closeIcon?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {OverlayPanelPassThroughOptions} */ pt?: OverlayPanelPassThroughOptions; diff --git a/components/lib/paginator/Paginator.d.ts b/components/lib/paginator/Paginator.d.ts index 69d1dca24..0d4e885f4 100755 --- a/components/lib/paginator/Paginator.d.ts +++ b/components/lib/paginator/Paginator.d.ts @@ -31,82 +31,82 @@ export interface PaginatorPassThroughMethodOptions { */ export interface PaginatorPassThroughOptions { /** - * Uses to pass attributes to the paginator wrapper's DOM element. + * Used to pass attributes to the paginator wrapper's DOM element. */ paginatorWrapper?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the start's DOM element. + * Used to pass attributes to the start's DOM element. */ start?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the first page button's DOM element. + * Used to pass attributes to the first page button's DOM element. */ firstPageButton?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the first page icon's DOM element. + * Used to pass attributes to the first page icon's DOM element. */ firstPageIcon?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the prev page button's DOM element. + * Used to pass attributes to the prev page button's DOM element. */ previousPageButton?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the prev page icon's DOM element. + * Used to pass attributes to the prev page icon's DOM element. */ previousPageIcon?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the next page button's DOM element. + * Used to pass attributes to the next page button's DOM element. */ nextPageButton?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the next page icon's DOM element. + * Used to pass attributes to the next page icon's DOM element. */ nextPageIcon?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the last page button's DOM element. + * Used to pass attributes to the last page button's DOM element. */ lastPageButton?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the last page icon's DOM element. + * Used to pass attributes to the last page icon's DOM element. */ lastPageIcon?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the pages's DOM element. + * Used to pass attributes to the pages's DOM element. */ pages?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the page button's DOM element. + * Used to pass attributes to the page button's DOM element. */ pageButton?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the current's DOM element. + * Used to pass attributes to the current's DOM element. */ current?: PaginatorPassThroughOptionType; /** - * Uses to pass attributes to the Dropdown component. + * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ rowPerPageDropdown?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the Dropdown component. + * Used to pass attributes to the Dropdown component. * @see {@link DropdownPassThroughOptionType} */ jumpToPageDropdown?: DropdownPassThroughOptionType; /** - * Uses to pass attributes to the Dropdown component. + * Used to pass attributes to the Dropdown component. * @see {@link InputNumberPassThroughOptionType} */ jumpToPageInput?: InputNumberPassThroughOptionType; /** - * Uses to pass attributes to the end's DOM element. + * Used to pass attributes to the end's DOM element. */ end?: PaginatorPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -232,7 +232,7 @@ export interface PaginatorProps { */ alwaysShow?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {PaginatorPassThroughOptions} */ pt?: PaginatorPassThroughOptions; diff --git a/components/lib/panel/Panel.d.ts b/components/lib/panel/Panel.d.ts index 4c64233c6..fc0772081 100755 --- a/components/lib/panel/Panel.d.ts +++ b/components/lib/panel/Panel.d.ts @@ -43,43 +43,43 @@ export interface PanelToggleEvent { */ export interface PanelPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the title's DOM element. + * Used to pass attributes to the title's DOM element. */ title?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the icons' DOM element. + * Used to pass attributes to the icons' DOM element. */ icons?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the toggler's DOM element. + * Used to pass attributes to the toggler's DOM element. */ toggler?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the togglericon's DOM element. + * Used to pass attributes to the togglericon's DOM element. */ togglerIcon?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the toggleablecontent's DOM element. + * Used to pass attributes to the toggleablecontent's DOM element. */ toggleableContent?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: PanelPassThroughOptionType; /** - * Uses to pass attributes to the footer's DOM element. + * Used to pass attributes to the footer's DOM element. */ footer?: PanelPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -122,12 +122,12 @@ export interface PanelProps { */ collapsed?: boolean; /** - * Uses to pass the custom value to read for the button inside the component. + * Used to pass the custom value to read for the button inside the component. * @deprecated since v3.26.0. Use 'pt' property instead. */ toggleButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {PanelPassThroughOptions} */ pt?: PanelPassThroughOptions; diff --git a/components/lib/panelmenu/PanelMenu.d.ts b/components/lib/panelmenu/PanelMenu.d.ts index bb77806a0..6c4b82988 100755 --- a/components/lib/panelmenu/PanelMenu.d.ts +++ b/components/lib/panelmenu/PanelMenu.d.ts @@ -30,79 +30,79 @@ export interface PanelMenuPassThroughMethodOptions { */ export interface PanelMenuPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the header content's DOM element. + * Used to pass attributes to the header content's DOM element. */ headerContent?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the header action's DOM element. + * Used to pass attributes to the header action's DOM element. */ headerAction?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenuIcon's DOM element. + * Used to pass attributes to the submenuIcon's DOM element. */ submenuIcon?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the header icon's DOM element. + * Used to pass attributes to the header icon's DOM element. */ headerIcon?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the header label's DOM element. + * Used to pass attributes to the header label's DOM element. */ headerLabel?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the toggleable content's DOM element. + * Used to pass attributes to the toggleable content's DOM element. */ toggleableContent?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the menu content's DOM element. + * Used to pass attributes to the menu content's DOM element. */ menuContent?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the list's DOM element. + * Used to pass attributes to the list's DOM element. */ menu?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the list item's DOM element. + * Used to pass attributes to the list item's DOM element. */ menuitem?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the submenu's DOM element. + * Used to pass attributes to the submenu's DOM element. */ submenu?: PanelMenuPassThroughOptionType; /** - * Uses to pass attributes to the separator's DOM element. + * Used to pass attributes to the separator's DOM element. */ separator?: PanelMenuPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -208,7 +208,7 @@ export interface PanelMenuProps { */ tabindex?: number | string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {PanelMenuPassThroughOptions} */ pt?: PanelMenuPassThroughOptions; diff --git a/components/lib/password/Password.d.ts b/components/lib/password/Password.d.ts index 3c778358b..1e6377899 100755 --- a/components/lib/password/Password.d.ts +++ b/components/lib/password/Password.d.ts @@ -29,44 +29,44 @@ export interface PasswordPassThroughMethodOptions { */ export interface PasswordPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the InputText component. + * Used to pass attributes to the InputText component. * @see {@link InputTextPassThroughOptionType} */ input?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the hide icon's DOM element. + * Used to pass attributes to the hide icon's DOM element. */ hideIcon?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the show icon's DOM element. + * Used to pass attributes to the show icon's DOM element. */ showIcon?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the panel's DOM element. + * Used to pass attributes to the panel's DOM element. */ panel?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the meter's DOM element. + * Used to pass attributes to the meter's DOM element. */ meter?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the meter label's DOM element. + * Used to pass attributes to the meter label's DOM element. */ meterLabel?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the info's DOM element. + * Used to pass attributes to the info's DOM element. */ info?: PasswordPassThroughOptionType; /** - * Uses to pass attributes to the hidden accessible DOM element. + * Used to pass attributes to the hidden accessible DOM element. */ hiddenAccesible?: PasswordPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -206,7 +206,7 @@ export interface PasswordProps extends InputHTMLAttributes { */ 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; /** @@ -222,7 +222,7 @@ export interface PasswordProps extends InputHTMLAttributes { */ panelStyle?: 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; /** @@ -234,7 +234,7 @@ export interface PasswordProps extends InputHTMLAttributes { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {PasswordPassThroughOptions} */ pt?: PasswordPassThroughOptions; diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index c4683e16d..d60feed02 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -104,99 +104,99 @@ export interface PickListMoveAllToSourceEvent extends PickListMoveToTargetEvent */ export interface PickListPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the source controls' DOM element. + * Used to pass attributes to the source controls' DOM element. */ sourceControls?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ sourceMoveUpButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ sourceMoveTopButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ sourceMoveDownButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ sourceMoveBottomButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the source wrapper's DOM element. + * Used to pass attributes to the source wrapper's DOM element. */ sourceWrapper?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the source header's DOM element. + * Used to pass attributes to the source header's DOM element. */ sourceHeader?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the source list's DOM element. + * Used to pass attributes to the source list's DOM element. */ sourceList?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the buttons' DOM element. + * Used to pass attributes to the buttons' DOM element. */ buttons?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveToTargetButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveAllToTargetButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveToSourceButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ moveAllToSourceButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the target wrapper's DOM element. + * Used to pass attributes to the target wrapper's DOM element. */ targetWrapper?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the target header's DOM element. + * Used to pass attributes to the target header's DOM element. */ targetHeader?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the target list's DOM element. + * Used to pass attributes to the target list's DOM element. */ targetList?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the target item's DOM element. + * Used to pass attributes to the target item's DOM element. */ item?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the target controls' DOM element. + * Used to pass attributes to the target controls' DOM element. */ targetControls?: PickListPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ targetMoveUpButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ targetMoveTopButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ targetMoveDownButton?: ButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. */ targetMoveBottomButton?: ButtonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -324,47 +324,47 @@ export interface PickListProps { */ tabindex?: number | string | undefined; /** - * Uses to pass all properties of the HTMLAttributes to the target list element. + * Used to pass all properties of the HTMLAttributes to the target list element. */ targetListProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLAttributes to the source list element. + * Used to pass all properties of the HTMLAttributes to the source list element. */ sourceListProps?: HTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move up button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move up button inside the component. */ moveUpButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move top button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move top button inside the component. */ moveTopButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move down button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move down button inside the component. */ moveDownButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move bottom button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move bottom button inside the component. */ moveBottomButtonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move to target button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move to target button inside the component. */ moveToTargetProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move all to target button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move all to target button inside the component. */ moveAllToTargetProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move to source button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move to source button inside the component. */ moveToSourceProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the move all to source button inside the component. + * Used to pass all properties of the HTMLButtonElement to the move all to source button inside the component. */ moveAllToSourceProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {PickListPassThroughOptions} */ pt?: PickListPassThroughOptions; diff --git a/components/lib/progressbar/ProgressBar.d.ts b/components/lib/progressbar/ProgressBar.d.ts index 6c90f1962..cf748167d 100755 --- a/components/lib/progressbar/ProgressBar.d.ts +++ b/components/lib/progressbar/ProgressBar.d.ts @@ -27,19 +27,19 @@ export interface ProgressBarPassThroughMethodOptions { */ export interface ProgressBarPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ProgressBarPassThroughOptionType; /** - * Uses to pass attributes to the value's DOM element. + * Used to pass attributes to the value's DOM element. */ value?: ProgressBarPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: ProgressBarPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -71,7 +71,7 @@ export interface ProgressBarProps { */ showValue?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ProgressBarPassThroughOptions} */ pt?: ProgressBarPassThroughOptions; diff --git a/components/lib/progressspinner/ProgressSpinner.d.ts b/components/lib/progressspinner/ProgressSpinner.d.ts index 470617336..8a05f75c9 100755 --- a/components/lib/progressspinner/ProgressSpinner.d.ts +++ b/components/lib/progressspinner/ProgressSpinner.d.ts @@ -26,19 +26,19 @@ export interface ProgressSpinnerPassThroughMethodOptions { */ export interface ProgressSpinnerPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ProgressSpinnerPassThroughOptionType; /** - * Uses to pass attributes to the spinner's DOM element. + * Used to pass attributes to the spinner's DOM element. */ spinner?: ProgressSpinnerPassThroughOptionType; /** - * Uses to pass attributes to the circle's DOM element. + * Used to pass attributes to the circle's DOM element. */ circle?: ProgressSpinnerPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -70,7 +70,7 @@ export interface ProgressSpinnerProps { */ animationDuration?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ProgressSpinnerPassThroughOptions} */ pt?: ProgressSpinnerPassThroughOptions; diff --git a/components/lib/radiobutton/RadioButton.d.ts b/components/lib/radiobutton/RadioButton.d.ts index 5b371040b..0f33995ed 100755 --- a/components/lib/radiobutton/RadioButton.d.ts +++ b/components/lib/radiobutton/RadioButton.d.ts @@ -28,27 +28,27 @@ export interface RadioButtonPassThroughMethodOptions { */ export interface RadioButtonPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: RadioButtonPassThroughOptionType; /** - * Uses to pass attributes to the input's DOM element. + * Used to pass attributes to the input's DOM element. */ input?: RadioButtonPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: RadioButtonPassThroughOptionType; /** - * Uses to pass attributes to the hidden accessible DOM element wrapper. + * Used to pass attributes to the hidden accessible DOM element wrapper. */ hiddenInputWrapper?: RadioButtonPassThroughOptionType; /** - * Uses to pass attributes to the hidden accessible DOM element. + * Used to pass attributes to the hidden accessible DOM element. */ hiddenInput?: RadioButtonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -106,7 +106,7 @@ export interface RadioButtonProps { */ 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; /** diff --git a/components/lib/rating/Rating.d.ts b/components/lib/rating/Rating.d.ts index b1193b5b5..ecb3dedd7 100755 --- a/components/lib/rating/Rating.d.ts +++ b/components/lib/rating/Rating.d.ts @@ -29,47 +29,47 @@ export interface RatingPassThroughMethodOptions { */ export interface RatingPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the cancel item's DOM element. + * Used to pass attributes to the cancel item's DOM element. */ cancelItem?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the cancel icon's DOM element. + * Used to pass attributes to the cancel icon's DOM element. */ cancelIcon?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the item's DOM element. + * Used to pass attributes to the item's DOM element. */ item?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the on icon's DOM element. + * Used to pass attributes to the on icon's DOM element. */ onIcon?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the off icon's DOM element. + * Used to pass attributes to the off icon's DOM element. */ offIcon?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the hidden cancel inputW wapper's DOM element. + * Used to pass attributes to the hidden cancel inputW wapper's DOM element. */ hiddenCancelInputWrapper?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the hidden cancel input's DOM element. + * Used to pass attributes to the hidden cancel input's DOM element. */ hiddenCancelInput?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the hidden item input wrapper's DOM element. + * Used to pass attributes to the hidden item input wrapper's DOM element. */ hiddenItemInputWrapper?: RatingPassThroughOptionType; /** - * Uses to pass attributes to the hidden item input's DOM element. + * Used to pass attributes to the hidden item input's DOM element. */ hiddenItemInput?: RatingPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -175,7 +175,7 @@ export interface RatingProps { */ cancelIcon?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {RatingPassThroughOptions} */ pt?: RatingPassThroughOptions; diff --git a/components/lib/ripple/Ripple.d.ts b/components/lib/ripple/Ripple.d.ts index bf48b8a04..32ec82046 100644 --- a/components/lib/ripple/Ripple.d.ts +++ b/components/lib/ripple/Ripple.d.ts @@ -16,7 +16,7 @@ export declare type RippleDirectivePassThroughOptionType = RippleDirectivePassTh */ export interface RippleOptions { /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {RippleDirectivePassThroughOptions} */ pt?: RippleDirectivePassThroughOptions; @@ -33,11 +33,11 @@ export interface RippleOptions { */ export interface RippleDirectivePassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: RippleDirectivePassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseDirective.DirectiveHooks} */ hooks?: DirectiveHooks; diff --git a/components/lib/row/Row.d.ts b/components/lib/row/Row.d.ts index 3c27fc25a..bc5c7e87a 100755 --- a/components/lib/row/Row.d.ts +++ b/components/lib/row/Row.d.ts @@ -27,11 +27,11 @@ export interface RowPassThroughMethodOptions { */ export interface RowPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: RowPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; diff --git a/components/lib/scrollpanel/ScrollPanel.d.ts b/components/lib/scrollpanel/ScrollPanel.d.ts index 1967481d2..6c233c3f5 100644 --- a/components/lib/scrollpanel/ScrollPanel.d.ts +++ b/components/lib/scrollpanel/ScrollPanel.d.ts @@ -28,27 +28,27 @@ export interface ScrollPanelPassThroughMethodOptions { */ export interface ScrollPanelPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ScrollPanelPassThroughOptionType; /** - * Uses to pass attributes to the wrapper's DOM element. + * Used to pass attributes to the wrapper's DOM element. */ wrapper?: ScrollPanelPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: ScrollPanelPassThroughOptionType; /** - * Uses to pass attributes to the horizontal panel's DOM element. + * Used to pass attributes to the horizontal panel's DOM element. */ barX?: ScrollPanelPassThroughOptionType; /** - * Uses to pass attributes to the vertical panel's DOM element. + * Used to pass attributes to the vertical panel's DOM element. */ barY?: ScrollPanelPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -96,7 +96,7 @@ export interface ScrollPanelProps { */ step?: number | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ScrollPanelPassThroughOptions} */ pt?: ScrollPanelPassThroughOptions; diff --git a/components/lib/scrolltop/ScrollTop.d.ts b/components/lib/scrolltop/ScrollTop.d.ts index f720dc523..6bba35eae 100644 --- a/components/lib/scrolltop/ScrollTop.d.ts +++ b/components/lib/scrolltop/ScrollTop.d.ts @@ -28,15 +28,15 @@ export interface ScrollTopPassThroughMethodOptions { */ export interface ScrollTopPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: ScrollTopPassThroughOptionType; /** - * Uses to pass attributes to the icon's DOM element. + * Used to pass attributes to the icon's DOM element. */ icon?: ScrollTopPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -85,7 +85,7 @@ export interface ScrollTopProps { */ behavior?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {ScrollTopPassThroughOptions} */ pt?: ScrollTopPassThroughOptions; diff --git a/components/lib/selectbutton/SelectButton.d.ts b/components/lib/selectbutton/SelectButton.d.ts index a4474c097..b90048cb2 100755 --- a/components/lib/selectbutton/SelectButton.d.ts +++ b/components/lib/selectbutton/SelectButton.d.ts @@ -29,19 +29,19 @@ export interface SelectButtonPassThroughMethodOptions { */ export interface SelectButtonPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SelectButtonPassThroughOptionType; /** - * Uses to pass attributes to the button's DOM element. + * Used to pass attributes to the button's DOM element. */ button?: SelectButtonPassThroughOptionType; /** - * Uses to pass attributes to the label's DOM element. + * Used to pass attributes to the label's DOM element. */ label?: SelectButtonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -143,7 +143,7 @@ export interface SelectButtonProps { */ '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 {SelectButtonPassThroughOptions} */ pt?: SelectButtonPassThroughOptions; diff --git a/components/lib/sidebar/Sidebar.d.ts b/components/lib/sidebar/Sidebar.d.ts index 79009f8c3..2d3ce53cb 100755 --- a/components/lib/sidebar/Sidebar.d.ts +++ b/components/lib/sidebar/Sidebar.d.ts @@ -28,35 +28,35 @@ export interface SidebarPassThroughMethodOptions { */ export interface SidebarPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the header's DOM element. + * Used to pass attributes to the header's DOM element. */ header?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the header content's DOM element. + * Used to pass attributes to the header content's DOM element. */ headerContent?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the close button's DOM element. + * Used to pass attributes to the close button's DOM element. */ closeButton?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the close icon's DOM element. + * Used to pass attributes to the close icon's DOM element. */ closeIcon?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the content's DOM element. + * Used to pass attributes to the content's DOM element. */ content?: SidebarPassThroughOptionType; /** - * Uses to pass attributes to the mask's DOM element. + * Used to pass attributes to the mask's DOM element. */ mask?: SidebarPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -130,7 +130,7 @@ export interface SidebarProps { */ blockScroll?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {SidebarPassThroughOptions} */ pt?: SidebarPassThroughOptions; diff --git a/components/lib/skeleton/Skeleton.d.ts b/components/lib/skeleton/Skeleton.d.ts index 9d8374c53..940dce931 100644 --- a/components/lib/skeleton/Skeleton.d.ts +++ b/components/lib/skeleton/Skeleton.d.ts @@ -26,11 +26,11 @@ export interface SkeletonPassThroughMethodOptions { */ export interface SkeletonPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SkeletonPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -76,7 +76,7 @@ export interface SkeletonProps { */ animation?: 'wave' | 'none' | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {SkeletonPassThroughOptions} */ pt?: SkeletonPassThroughOptions; diff --git a/components/lib/slider/Slider.d.ts b/components/lib/slider/Slider.d.ts index c6f7774de..39619e5a9 100755 --- a/components/lib/slider/Slider.d.ts +++ b/components/lib/slider/Slider.d.ts @@ -26,27 +26,27 @@ export interface SliderPassThroughMethodOptions { */ export interface SliderPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SliderPassThroughOptionType; /** - * Uses to pass attributes to the range's DOM element. + * Used to pass attributes to the range's DOM element. */ range?: SliderPassThroughOptionType; /** - * Uses to pass attributes to the handle's DOM element. + * Used to pass attributes to the handle's DOM element. */ handle?: SliderPassThroughOptionType; /** - * Uses to pass attributes to the start handler's DOM element. + * Used to pass attributes to the start handler's DOM element. */ startHandler?: SliderPassThroughOptionType; /** - * Uses to pass attributes to the end handler's DOM element. + * Used to pass attributes to the end handler's DOM element. */ endHandler?: SliderPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -125,7 +125,7 @@ export interface SliderProps { */ 'aria-label'?: string | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {SliderPassThroughOptions} */ pt?: SliderPassThroughOptions; diff --git a/components/lib/speeddial/SpeedDial.d.ts b/components/lib/speeddial/SpeedDial.d.ts index 0fbe2516d..5b4bc8c1f 100644 --- a/components/lib/speeddial/SpeedDial.d.ts +++ b/components/lib/speeddial/SpeedDial.d.ts @@ -31,36 +31,36 @@ export interface SpeedDialPassThroughMethodOptions { */ export interface SpeedDialPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SpeedDialPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ button?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the menu's DOM element. + * Used to pass attributes to the menu's DOM element. */ menu?: SpeedDialPassThroughOptionType; /** - * Uses to pass attributes to the menu item's DOM element. + * Used to pass attributes to the menu item's DOM element. */ menuitem?: SpeedDialPassThroughOptionType; /** - * Uses to pass attributes to the action's DOM element. + * Used to pass attributes to the action's DOM element. */ action?: SpeedDialPassThroughOptionType; /** - * Uses to pass attributes to the action icon's DOM element. + * Used to pass attributes to the action icon's DOM element. */ actionIcon?: SpeedDialPassThroughOptionType; /** - * Uses to pass attributes to the mask's DOM element. + * Used to pass attributes to the mask's DOM element. */ mask?: SpeedDialPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -236,7 +236,7 @@ export interface SpeedDialProps { */ '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 {SpeedDialPassThroughOptions} */ pt?: SpeedDialPassThroughOptions; diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts index 7c9e2c5e1..1f53437a7 100755 --- a/components/lib/splitbutton/SplitButton.d.ts +++ b/components/lib/splitbutton/SplitButton.d.ts @@ -31,25 +31,25 @@ export interface SplitButtonPassThroughMethodOptions { */ export interface SplitButtonPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SplitButtonPassThroughOptionType; /** - * Uses to pass attributes to the button's DOM element. + * Used to pass attributes to the button's DOM element. */ button?: SplitButtonPassThroughOptionType; /** - * Uses to pass attributes to the Button component. + * Used to pass attributes to the Button component. * @see {@link ButtonPassThroughOptions} */ menuButton?: ButtonPassThroughOptions; /** - * Uses to pass attributes to the TieredMenu component. + * Used to pass attributes to the TieredMenu component. * @see {@link TieredMenuPassThroughOptions} */ menu?: TieredMenuPassThroughOptions; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -120,11 +120,11 @@ export interface SplitButtonProps { */ style?: any | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the default button. + * Used to pass all properties of the HTMLButtonElement to the default button. */ buttonProps?: ButtonHTMLAttributes | undefined; /** - * Uses to pass all properties of the HTMLButtonElement to the menu button. + * Used to pass all properties of the HTMLButtonElement to the menu button. */ menuButtonProps?: ButtonHTMLAttributes | undefined; /** @@ -166,7 +166,7 @@ export interface SplitButtonProps { */ plain?: boolean | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {SplitButtonPassThroughOptions} */ pt?: SplitButtonPassThroughOptions; diff --git a/components/lib/splitbutton/SplitButton.vue b/components/lib/splitbutton/SplitButton.vue index c67e3187a..2074ebe4e 100755 --- a/components/lib/splitbutton/SplitButton.vue +++ b/components/lib/splitbutton/SplitButton.vue @@ -4,7 +4,7 @@ @@ -26,7 +26,7 @@ > diff --git a/components/lib/splitter/Splitter.d.ts b/components/lib/splitter/Splitter.d.ts index 6d93aa28e..93d6d20b8 100644 --- a/components/lib/splitter/Splitter.d.ts +++ b/components/lib/splitter/Splitter.d.ts @@ -20,6 +20,7 @@ export interface SplitterPassThroughMethodOptions { instance: any; props: SplitterProps; state: SplitterState; + context: SplitterContext; } /** @@ -58,19 +59,19 @@ export interface SplitterResizeEndEvent { */ export interface SplitterPassThroughOptions { /** - * Uses to pass attributes to the root's DOM element. + * Used to pass attributes to the root's DOM element. */ root?: SplitterPassThroughOptionType; /** - * Uses to pass attributes to the gutter's DOM element. + * Used to pass attributes to the gutter's DOM element. */ gutter?: SplitterPassThroughOptionType; /** - * Uses to pass attributes to the gutter handler's DOM element. + * Used to pass attributes to the gutter handler's DOM element. */ gutterHandler?: SplitterPassThroughOptionType; /** - * Uses to manage all lifecycle hooks + * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} */ hooks?: ComponentHooks; @@ -93,6 +94,16 @@ export interface SplitterState { prevSize: number; } +/** + * Defines options in Splitter component. + */ +export interface SplitterContext { + /** + * Current nested state of the component. + */ + nested?: boolean; +} + /** * Defines valid properties in Splitter component. */ @@ -122,7 +133,7 @@ export interface SplitterProps { */ step?: number | undefined; /** - * Uses to pass attributes to DOM elements inside the component. + * Used to pass attributes to DOM elements inside the component. * @type {SplitterPassThroughOptions} */ pt?: SplitterPassThroughOptions; diff --git a/components/lib/splitter/Splitter.vue b/components/lib/splitter/Splitter.vue index 2d63da881..4d3a5a9ea 100644 --- a/components/lib/splitter/Splitter.vue +++ b/components/lib/splitter/Splitter.vue @@ -1,5 +1,5 @@