diff --git a/api-generator/components/dialog.js b/api-generator/components/dialog.js index 268c457e4..e7e737c6b 100644 --- a/api-generator/components/dialog.js +++ b/api-generator/components/dialog.js @@ -53,12 +53,6 @@ const DialogProps = [ default: 'null', description: 'Style class of the content section.' }, - { - name: 'rtl', - type: 'boolean', - default: 'null', - description: 'When enabled dialog is displayed in RTL direction.' - }, { name: 'closable', type: 'boolean', diff --git a/components/lib/dialog/BaseDialog.vue b/components/lib/dialog/BaseDialog.vue index 35e1e0a04..e03e34feb 100644 --- a/components/lib/dialog/BaseDialog.vue +++ b/components/lib/dialog/BaseDialog.vue @@ -34,10 +34,6 @@ export default { type: null, default: null }, - rtl: { - type: Boolean, - default: null - }, maximizable: { type: Boolean, default: false diff --git a/components/lib/dialog/Dialog.d.ts b/components/lib/dialog/Dialog.d.ts index 803d5f19f..69733c822 100755 --- a/components/lib/dialog/Dialog.d.ts +++ b/components/lib/dialog/Dialog.d.ts @@ -190,11 +190,6 @@ export interface DialogProps { * Used to pass all properties of the HTMLDivElement to the overlay Dialog inside the component. */ contentProps?: HTMLAttributes | undefined; - /** - * When enabled dialog is displayed in RTL direction. - * @defaultValue false - */ - rtl?: boolean | undefined; /** * Adds a close icon to the header to hide the dialog. * @defaultValue true diff --git a/components/lib/dialog/style/DialogStyle.js b/components/lib/dialog/style/DialogStyle.js index 3181a00ad..98dd09fe6 100644 --- a/components/lib/dialog/style/DialogStyle.js +++ b/components/lib/dialog/style/DialogStyle.js @@ -166,7 +166,6 @@ const classes = { root: ({ props, instance }) => [ 'p-dialog p-component', { - 'p-dialog-rtl': props.rtl, 'p-dialog-maximized': props.maximizable && instance.maximized } ],