From c646fdc2147e09e5ce71701b133862848f47fbe1 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 6 May 2024 16:10:13 +0300 Subject: [PATCH] Refactor #5681 --- components/lib/breadcrumb/Breadcrumb.d.ts | 8 ++++---- components/lib/breadcrumb/BreadcrumbItem.vue | 6 +++--- components/lib/breadcrumb/style/BreadcrumbStyle.js | 4 ++-- components/lib/datatable/style/DataTableStyle.js | 2 +- components/lib/dialog/Dialog.d.ts | 4 ++-- components/lib/dialog/Dialog.vue | 8 ++++---- components/lib/dialog/style/DialogStyle.js | 2 +- components/lib/galleria/Galleria.d.ts | 4 ++-- components/lib/galleria/GalleriaThumbnails.vue | 2 +- components/lib/galleria/style/GalleriaStyle.js | 2 +- components/lib/megamenu/MegaMenu.d.ts | 4 ++-- components/lib/megamenu/MegaMenuSub.vue | 2 +- components/lib/megamenu/style/MegaMenuStyle.js | 2 +- components/lib/menu/Menu.d.ts | 4 ++-- components/lib/menu/Menuitem.vue | 6 +++--- components/lib/menu/style/MenuStyle.js | 2 +- components/lib/panelmenu/PanelMenu.d.ts | 4 ++-- components/lib/panelmenu/PanelMenuSub.vue | 6 +++--- components/lib/panelmenu/style/PanelMenuStyle.js | 2 +- components/lib/password/Password.d.ts | 4 ++-- components/lib/password/style/PasswordStyle.js | 6 +++--- components/lib/speeddial/SpeedDial.d.ts | 8 ++++---- components/lib/speeddial/SpeedDial.vue | 14 +++++++------- components/lib/speeddial/style/SpeedDialStyle.js | 6 +++--- components/lib/treeselect/TreeSelect.d.ts | 4 ++-- components/lib/treeselect/TreeSelect.vue | 2 +- components/lib/treeselect/style/TreeSelectStyle.js | 2 +- components/lib/treetable/TreeTable.d.ts | 4 ++-- components/lib/treetable/TreeTable.vue | 2 +- components/lib/treetable/style/TreeTableStyle.js | 2 +- 30 files changed, 64 insertions(+), 64 deletions(-) diff --git a/components/lib/breadcrumb/Breadcrumb.d.ts b/components/lib/breadcrumb/Breadcrumb.d.ts index ecae4d79e..9577a491c 100755 --- a/components/lib/breadcrumb/Breadcrumb.d.ts +++ b/components/lib/breadcrumb/Breadcrumb.d.ts @@ -67,13 +67,13 @@ export interface BreadcrumbPassThroughOptions { */ itemLink?: BreadcrumbPassThroughOptionType; /** - * Used to pass attributes to the icon's DOM element. + * Used to pass attributes to the item icon's DOM element. */ - icon?: BreadcrumbPassThroughOptionType; + itemIcon?: BreadcrumbPassThroughOptionType; /** - * Used to pass attributes to the label's DOM element. + * Used to pass attributes to the item label's DOM element. */ - label?: BreadcrumbPassThroughOptionType; + itemLabel?: BreadcrumbPassThroughOptionType; /** * Used to pass attributes to the separator's DOM element. */ diff --git a/components/lib/breadcrumb/BreadcrumbItem.vue b/components/lib/breadcrumb/BreadcrumbItem.vue index 6f530fbd3..6da7d2349 100755 --- a/components/lib/breadcrumb/BreadcrumbItem.vue +++ b/components/lib/breadcrumb/BreadcrumbItem.vue @@ -2,9 +2,9 @@
  • diff --git a/components/lib/breadcrumb/style/BreadcrumbStyle.js b/components/lib/breadcrumb/style/BreadcrumbStyle.js index 9b051ef71..c7e9bb391 100644 --- a/components/lib/breadcrumb/style/BreadcrumbStyle.js +++ b/components/lib/breadcrumb/style/BreadcrumbStyle.js @@ -66,8 +66,8 @@ const classes = { separator: 'p-breadcrumb-separator', item: ({ instance }) => ['p-breadcrumb-item', { 'p-disabled': instance.disabled() }], itemLink: 'p-breadcrumb-item-link', - icon: 'p-breadcrumb-item-icon', - label: 'p-breadcrumb-item-label' + itemIcon: 'p-breadcrumb-item-icon', + itemLabel: 'p-breadcrumb-item-label' }; export default BaseStyle.extend({ diff --git a/components/lib/datatable/style/DataTableStyle.js b/components/lib/datatable/style/DataTableStyle.js index 098cd7100..8320fa1ff 100644 --- a/components/lib/datatable/style/DataTableStyle.js +++ b/components/lib/datatable/style/DataTableStyle.js @@ -657,7 +657,7 @@ const classes = { filterConstraintSeparator: 'p-datatable-filter-constraint-separator', filterOperator: 'p-datatable-filter-operator', filterOperatorDropdown: 'p-datatable-filter-operator-dropdown', - filterConstraints: 'p-datatable-filter-rule-list', + filterRuleList: 'p-datatable-filter-rule-list', filterRule: 'p-datatable-filter-rule', filterConstraintDropdown: 'p-datatable-filter-constraint-dropdown', filterRemoveRuleButton: 'p-datatable-filter-remove-rule-button', diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 59f734ee6..dcef13543 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -79,10 +79,10 @@ export interface DialogPassThroughOptions { */ headerActions?: DialogPassThroughOptionType; /** - * Used to pass attributes to the maximizable Button component. + * Used to pass attributes to the maximize Button component. * @see {@link ButtonPassThroughOptions} */ - maximizableButton?: ButtonPassThroughOptions; + maximizeButton?: ButtonPassThroughOptions; /** * Used to pass attributes to the close Button component. * @see {@link ButtonPassThroughOptions} diff --git a/components/lib/dialog/Dialog.vue b/components/lib/dialog/Dialog.vue index 87919b8f2..9a08c6723 100755 --- a/components/lib/dialog/Dialog.vue +++ b/components/lib/dialog/Dialog.vue @@ -14,17 +14,17 @@ v-if="maximizable" :ref="maximizableRef" :autofocus="focusableMax" - :class="cx('maximizableButton')" + :class="cx('maximizeButton')" @click="maximize" :tabindex="maximizable ? '0' : '-1'" :unstyled="unstyled" v-bind="maximizeButtonProps" - :pt="ptm('maximizableButton')" + :pt="ptm('maximizeButton')" data-pc-group-section="headericon" > diff --git a/components/lib/dialog/style/DialogStyle.js b/components/lib/dialog/style/DialogStyle.js index 9128d42c6..4c822e384 100644 --- a/components/lib/dialog/style/DialogStyle.js +++ b/components/lib/dialog/style/DialogStyle.js @@ -174,7 +174,7 @@ const classes = { header: 'p-dialog-header', title: 'p-dialog-title', headerActions: 'p-dialog-header-actions', - maximizableButton: 'p-dialog-maximize-button', + maximizeButton: 'p-dialog-maximize-button', closeButton: 'p-dialog-close-button', content: 'p-dialog-content', footer: 'p-dialog-footer' diff --git a/components/lib/galleria/Galleria.d.ts b/components/lib/galleria/Galleria.d.ts index 32c213868..ce17535bd 100755 --- a/components/lib/galleria/Galleria.d.ts +++ b/components/lib/galleria/Galleria.d.ts @@ -151,9 +151,9 @@ export interface GalleriaPassThroughOptions { */ previousThumbnailIcon?: GalleriaPassThroughOptionType; /** - * Used to pass attributes to the thumbnail items container's DOM element. + * Used to pass attributes to the thumbnails viewport's DOM element. */ - thumbnailItemsContainer?: GalleriaPassThroughOptionType; + thumbnailsViewport?: GalleriaPassThroughOptionType; /** * Used to pass attributes to the thumbnail items' DOM element. */ diff --git a/components/lib/galleria/GalleriaThumbnails.vue b/components/lib/galleria/GalleriaThumbnails.vue index 5e15f2b11..ff91a9ea3 100755 --- a/components/lib/galleria/GalleriaThumbnails.vue +++ b/components/lib/galleria/GalleriaThumbnails.vue @@ -14,7 +14,7 @@ > -
    +
    [ 'p-galleria-thumbnail-item', diff --git a/components/lib/megamenu/MegaMenu.d.ts b/components/lib/megamenu/MegaMenu.d.ts index d6ec226a3..f403774a8 100755 --- a/components/lib/megamenu/MegaMenu.d.ts +++ b/components/lib/megamenu/MegaMenu.d.ts @@ -79,9 +79,9 @@ export interface MegaMenuPassThroughOptions { */ itemIcon?: MegaMenuPassThroughOptionType; /** - * Used to pass attributes to the label's DOM element. + * Used to pass attributes to the item label's DOM element. */ - label?: MegaMenuPassThroughOptionType; + itemLabel?: MegaMenuPassThroughOptionType; /** * Used to pass attributes to the submenu icon's DOM element. */ diff --git a/components/lib/megamenu/MegaMenuSub.vue b/components/lib/megamenu/MegaMenuSub.vue index 8f4bd994d..ad1b2dcdd 100644 --- a/components/lib/megamenu/MegaMenuSub.vue +++ b/components/lib/megamenu/MegaMenuSub.vue @@ -25,7 +25,7 @@