Merge branch 'v4' of https://github.com/primefaces/primevue into v4
commit
c5c6db1fe1
|
@ -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',
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue