Dialog rtl removed

pull/5806/head
tugcekucukoglu 2024-05-20 10:47:15 +03:00
parent 43ec5d319b
commit 93d39c1e1e
4 changed files with 0 additions and 16 deletions

View File

@ -53,12 +53,6 @@ const DialogProps = [
default: 'null', default: 'null',
description: 'Style class of the content section.' description: 'Style class of the content section.'
}, },
{
name: 'rtl',
type: 'boolean',
default: 'null',
description: 'When enabled dialog is displayed in RTL direction.'
},
{ {
name: 'closable', name: 'closable',
type: 'boolean', type: 'boolean',

View File

@ -34,10 +34,6 @@ export default {
type: null, type: null,
default: null default: null
}, },
rtl: {
type: Boolean,
default: null
},
maximizable: { maximizable: {
type: Boolean, type: Boolean,
default: false default: false

View File

@ -190,11 +190,6 @@ export interface DialogProps {
* Used to pass all properties of the HTMLDivElement to the overlay Dialog inside the component. * Used to pass all properties of the HTMLDivElement to the overlay Dialog inside the component.
*/ */
contentProps?: HTMLAttributes | undefined; 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. * Adds a close icon to the header to hide the dialog.
* @defaultValue true * @defaultValue true

View File

@ -166,7 +166,6 @@ const classes = {
root: ({ props, instance }) => [ root: ({ props, instance }) => [
'p-dialog p-component', 'p-dialog p-component',
{ {
'p-dialog-rtl': props.rtl,
'p-dialog-maximized': props.maximizable && instance.maximized 'p-dialog-maximized': props.maximizable && instance.maximized
} }
], ],