diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss
index ece0ff892..ef076f39a 100644
--- a/assets/styles/layout/_doc.scss
+++ b/assets/styles/layout/_doc.scss
@@ -343,8 +343,8 @@
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, Liberation Mono, monospace;
position: relative;
scroll-margin-top: 6.5rem;
- background-color: var(--highlight-bg);
- color: var(--highlight-text-color);
+ background-color: var(--doc-highlight-text-bg);
+ color: var(--doc-highlight-text-color);
border-radius: 6px;
padding: 2px 6px;
font-weight: 600;
diff --git a/components/lib/confirmdialog/ConfirmDialog.vue b/components/lib/confirmdialog/ConfirmDialog.vue
index 5347f9a1c..904e5f7d3 100644
--- a/components/lib/confirmdialog/ConfirmDialog.vue
+++ b/components/lib/confirmdialog/ConfirmDialog.vue
@@ -55,7 +55,6 @@ import BaseConfirmDialog from './BaseConfirmDialog.vue';
export default {
name: 'ConfirmDialog',
extends: BaseConfirmDialog,
-
confirmListener: null,
closeListener: null,
data() {
diff --git a/components/lib/confirmpopup/style/ConfirmPopupStyle.js b/components/lib/confirmpopup/style/ConfirmPopupStyle.js
index 362780089..7be86f603 100644
--- a/components/lib/confirmpopup/style/ConfirmPopupStyle.js
+++ b/components/lib/confirmpopup/style/ConfirmPopupStyle.js
@@ -86,8 +86,8 @@ const classes = {
icon: ({ instance }) => ['p-confirm-popup-icon', instance.confirmation ? instance.confirmation.icon : null],
message: 'p-confirm-popup-message',
footer: 'p-confirm-popup-footer',
- rejectButton: ({ instance }) => ['p-confirm-popup-reject', instance.confirmation && !instance.confirmation.rejectClass ? 'p-button-text' : null],
- acceptButton: 'p-confirm-popup-accept'
+ 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]
};
export default BaseStyle.extend({
diff --git a/doc/confirmdialog/AccessibilityDoc.vue b/doc/confirmdialog/AccessibilityDoc.vue
index 904e80b0e..40ba80f6d 100644
--- a/doc/confirmdialog/AccessibilityDoc.vue
+++ b/doc/confirmdialog/AccessibilityDoc.vue
@@ -78,7 +78,8 @@ export default {
basic: `
ConfirmDialog is displayed by calling the require method of the $confirm instance by passing the options to customize the Dialog. target attribute is mandatory to align the popup to its caller. ConfirmDialog is displayed by calling the require method of the $confirm instance by passing the options to customize the Dialog. The target attribute is mandatory to align the popup to its referrer.
$confirm is available as a property in the application instance for Options API. The service can be injected with the useConfirm function for Composition API.
+The service is available with the useConfirm function for Composition API or using the $confirm property of the application for Options API.
Headless mode is enabled by defining a container slot that lets you implement entire confirmation UI instead of the default elements.
+The position property of the confirm options is used to display a Dialog at all edges and corners of the screen.
+The position property of the confirm options specifies the location of the Dialog.
Templating allows customizing the content where the message instance is available as the implicit variable.
+Templating allows customizing the message content.
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
- When require method of the $confirm instance is used and a trigger is passed as a parameter, ConfirmDialog adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the + When require method of the $confirm instance is used and a trigger is passed as a parameter, ConfirmPopup adds aria-expanded state attribute and aria-controls to the trigger so that the relation between the trigger and the dialog is defined.
ConfirmDialog is displayed by calling the require method of the $confirm instance by passing the options to customize the Popup. target attribute is mandatory to align the popup to its caller.
+ConfirmPopup is displayed by calling the require method of the $confirm instance by passing the options to customize the Popup. The target attribute is mandatory to align the popup to its referrer.
$confirm is available as a property in the application instance for Options API. The service can be injected with the useConfirm function for Composition API.
+The service is available with the useConfirm function for Composition API or using the $confirm property of the application for Options API.
Headless mode is enabled by defining a container slot that lets you implement entire confirmation UI instead of the default elements.
+Templating allows customizing the content where the message instance is available as the implicit variable.
+Templating allows customizing the message content.
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}
{{ slotProps.message.message }}
+{{ slotProps.message.message }}