diff --git a/components/lib/confirmdialog/style/ConfirmDialogStyle.js b/components/lib/confirmdialog/style/ConfirmDialogStyle.js
index c9f568ab5e..e55a690d4b 100644
--- a/components/lib/confirmdialog/style/ConfirmDialogStyle.js
+++ b/components/lib/confirmdialog/style/ConfirmDialogStyle.js
@@ -4,7 +4,7 @@ const classes = {
root: 'p-confirm-dialog',
icon: 'p-confirm-dialog-icon',
message: 'p-confirm-dialog-message',
- rejectButton: ({ instance }) => ['p-confirm-dialog-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null],
+ rejectButton: 'p-confirm-dialog-reject',
acceptButton: 'p-confirm-dialog-accept'
};
diff --git a/components/lib/confirmpopup/ConfirmPopup.vue b/components/lib/confirmpopup/ConfirmPopup.vue
index cb528aa327..585a808bf8 100644
--- a/components/lib/confirmpopup/ConfirmPopup.vue
+++ b/components/lib/confirmpopup/ConfirmPopup.vue
@@ -15,14 +15,33 @@
-
+
-
+
diff --git a/components/lib/confirmpopup/style/ConfirmPopupStyle.js b/components/lib/confirmpopup/style/ConfirmPopupStyle.js
index 4a16f034bc..d5588dc2f9 100644
--- a/components/lib/confirmpopup/style/ConfirmPopupStyle.js
+++ b/components/lib/confirmpopup/style/ConfirmPopupStyle.js
@@ -11,8 +11,8 @@ const classes = {
icon: 'p-confirm-popup-icon',
message: 'p-confirm-popup-message',
footer: 'p-confirm-popup-footer',
- rejectButton: ({ instance }) => ['p-confirm-popup-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-sm p-button-text' : null],
- acceptButton: ({ instance }) => ['p-confirm-popup-accept', instance.confirmation && !instance.confirmation.acceptClass ? 'p-button-sm' : null]
+ rejectButton: 'p-confirm-popup-reject',
+ acceptButton: 'p-confirm-popup-accept'
};
export default BaseStyle.extend({
diff --git a/components/lib/datatable/style/DataTableStyle.js b/components/lib/datatable/style/DataTableStyle.js
index 34e82e8577..f78cc12770 100644
--- a/components/lib/datatable/style/DataTableStyle.js
+++ b/components/lib/datatable/style/DataTableStyle.js
@@ -100,12 +100,12 @@ const classes = {
filterConstraints: 'p-column-filter-constraints',
filterConstraint: 'p-column-filter-constraint',
filterMatchModeDropdown: 'p-column-filter-matchmode-dropdown',
- filterRemoveButton: 'p-column-filter-remove-button p-button-text p-button-danger p-button-sm',
+ filterRemoveButton: 'p-column-filter-remove-button',
filterAddRule: 'p-column-filter-add-rule',
- filterAddRuleButton: 'p-column-filter-add-button p-button-text p-button-sm',
+ filterAddRuleButton: 'p-column-filter-add-button',
filterButtonbar: 'p-column-filter-buttonbar',
- filterClearButton: 'p-button-outlined p-button-sm',
- filterApplyButton: 'p-button-sm',
+ filterClearButton: 'p-column-filter-clear-button',
+ filterApplyButton: 'p-column-filter-apply-button',
//tablebody
tbody: ({ props }) => (props.frozenRow ? 'p-datatable-tbody p-datatable-frozen-tbody' : 'p-datatable-tbody'),
rowgroupHeader: 'p-rowgroup-header',
diff --git a/components/lib/fileupload/style/FileUploadStyle.js b/components/lib/fileupload/style/FileUploadStyle.js
index 3de8bf7f7c..2b0805006a 100644
--- a/components/lib/fileupload/style/FileUploadStyle.js
+++ b/components/lib/fileupload/style/FileUploadStyle.js
@@ -4,19 +4,19 @@ const classes = {
root: ({ props }) => [`p-fileupload p-fileupload-${props.mode} p-component`],
buttonbar: 'p-fileupload-buttonbar',
chooseButton: ({ instance, props }) => [
- 'p-button p-component p-fileupload-choose',
+ 'p-component p-fileupload-choose',
{
'p-fileupload-choose-selected': props.mode === 'basic' && instance.hasFiles,
'p-disabled': props.disabled,
'p-focus': instance.focused
}
],
- chooseIcon: 'p-button-icon p-button-icon-left',
- chooseButtonLabel: 'p-button-label',
+ chooseIcon: 'p-fileupload-choose-icon',
+ chooseButtonLabel: 'p-fileupload-choosebutton-label',
content: 'p-fileupload-content',
empty: 'p-fileupload-empty',
- uploadIcon: 'p-button-icon p-button-icon-left',
- label: 'p-button-label',
+ uploadIcon: 'p-fileupload-upload-icon',
+ label: 'p-fileupload-button-label',
file: 'p-fileupload-file',
thumbnail: 'p-fileupload-file-thumbnail',
details: 'p-fileupload-file-details',
diff --git a/components/lib/password/style/PasswordStyle.js b/components/lib/password/style/PasswordStyle.js
index 56ac0d6eac..f27bad87dc 100644
--- a/components/lib/password/style/PasswordStyle.js
+++ b/components/lib/password/style/PasswordStyle.js
@@ -10,7 +10,7 @@ const classes = {
{
'p-inputwrapper-filled': instance.filled,
'p-inputwrapper-focus': instance.focused,
- 'p-icon-field p-icon-field-right': props.toggleMask
+ 'p-password-icon-field': props.toggleMask
}
],
input: ({ props }) => [
diff --git a/components/lib/speeddial/style/SpeedDialStyle.js b/components/lib/speeddial/style/SpeedDialStyle.js
index 3d65d5ad7f..c085aa7719 100644
--- a/components/lib/speeddial/style/SpeedDialStyle.js
+++ b/components/lib/speeddial/style/SpeedDialStyle.js
@@ -22,7 +22,7 @@ const classes = {
}
],
button: ({ props }) => [
- 'p-speeddial-button p-button-rounded',
+ 'p-speeddial-button',
{
'p-speeddial-rotate': props.rotateAnimation && !props.hideIcon
}
diff --git a/components/lib/splitbutton/style/SplitButtonStyle.js b/components/lib/splitbutton/style/SplitButtonStyle.js
index 6be1aa9fd1..9bd68a3e79 100644
--- a/components/lib/splitbutton/style/SplitButtonStyle.js
+++ b/components/lib/splitbutton/style/SplitButtonStyle.js
@@ -1,17 +1,7 @@
import BaseStyle from 'primevue/base/style';
const classes = {
- root: ({ props }) => [
- 'p-splitbutton p-component',
- {
- 'p-button-raised': props.raised,
- 'p-button-rounded': props.rounded,
- 'p-button-text': props.text,
- 'p-button-outlined': props.outlined,
- 'p-button-sm': props.size === 'small',
- 'p-button-lg': props.size === 'large'
- }
- ],
+ root: 'p-splitbutton p-component',
button: 'p-splitbutton-defaultbutton',
menuButton: 'p-splitbutton-menubutton'
};
diff --git a/components/lib/textarea/style/TextareaStyle.js b/components/lib/textarea/style/TextareaStyle.js
index fcb9ebb7c4..04d96c6d4c 100644
--- a/components/lib/textarea/style/TextareaStyle.js
+++ b/components/lib/textarea/style/TextareaStyle.js
@@ -2,7 +2,7 @@ import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ instance, props }) => [
- 'p-inputtextarea p-inputtext p-component',
+ 'p-inputtextarea p-component',
{
'p-filled': instance.filled,
'p-inputtextarea-resizable ': props.autoResize,
diff --git a/components/lib/tree/style/TreeStyle.js b/components/lib/tree/style/TreeStyle.js
index e7a63a2975..c0ae59ea4b 100644
--- a/components/lib/tree/style/TreeStyle.js
+++ b/components/lib/tree/style/TreeStyle.js
@@ -12,7 +12,7 @@ const classes = {
loadingOverlay: 'p-tree-loading-overlay p-component-overlay',
loadingIcon: 'p-tree-loading-icon',
filterContainer: 'p-tree-filter-container',
- input: 'p-tree-filter p-inputtext p-component',
+ input: 'p-tree-filter p-component',
searchIcon: 'p-tree-filter-icon',
wrapper: 'p-tree-wrapper',
container: 'p-tree-container',