Fixed #5784 - Renamed properties

pull/5806/head
tugcekucukoglu 2024-05-27 09:39:11 +03:00
parent 2c55d0a0c0
commit b6271328d0
12 changed files with 17 additions and 17 deletions

View File

@ -49,7 +49,7 @@ const OrderListProps = [
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
},
{
name: 'stripedRows',
name: 'striped',
type: 'boolean',
default: 'false',
description: 'Whether to displays rows with alternating colors.'

View File

@ -49,7 +49,7 @@ const PickListProps = [
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
},
{
name: 'stripedRows',
name: 'striped',
type: 'boolean',
default: 'false',
description: 'Whether to displays rows with alternating colors.'

View File

@ -94,7 +94,7 @@ export default {
type: String,
default: undefined
},
stripedRows: {
striped: {
type: Boolean,
default: false
},

View File

@ -398,7 +398,7 @@ export interface ListboxProps {
* Whether to displays rows with alternating colors.
* @defaultValue false
*/
stripedRows?: boolean | undefined;
striped?: boolean | undefined;
/**
* Index of the element in tabbing order.
*/

View File

@ -6,7 +6,7 @@ const theme = ({ dt }) => `
color: ${dt('listbox.color')};
border: 1px solid ${dt('listbox.border.color')};
border-radius: ${dt('listbox.border.radius')};
transition: background ${dt('listbox.transition.duration')}, color ${dt('listbox.transition.duration')}, border-color ${dt('listbox.transition.duration')},
transition: background ${dt('listbox.transition.duration')}, color ${dt('listbox.transition.duration')}, border-color ${dt('listbox.transition.duration')},
box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
outline-color: transparent;
box-shadow: ${dt('listbox.shadow')};
@ -65,7 +65,7 @@ const theme = ({ dt }) => `
border: 0 none;
border-radius: ${dt('listbox.option.border.radius')};
color: ${dt('listbox.option.color')};
transition: background ${dt('listbox.transition.duration')}, color ${dt('listbox.transition.duration')}, border-color ${dt('listbox.transition.duration')},
transition: background ${dt('listbox.transition.duration')}, color ${dt('listbox.transition.duration')}, border-color ${dt('listbox.transition.duration')},
box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
}
@ -117,7 +117,7 @@ const classes = {
root: ({ props }) => [
'p-listbox p-component',
{
'p-listbox-striped': props.stripedRows,
'p-listbox-striped': props.striped,
'p-disabled': props.disabled,
'p-invalid': props.invalid
}

View File

@ -42,7 +42,7 @@ export default {
type: String,
default: '960px'
},
stripedRows: {
striped: {
type: Boolean,
default: false
},

View File

@ -221,7 +221,7 @@ export interface OrderListProps {
* Whether to displays rows with alternating colors.
* @defaultValue false
*/
stripedRows?: boolean | undefined;
striped?: boolean | undefined;
/**
* Index of the element in tabbing order.
*/

View File

@ -45,7 +45,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:striped="striped"
:disabled="disabled"
:ariaLabel="ariaLabel"
:ariaLabelledby="ariaLabelledby"

View File

@ -42,7 +42,7 @@ export default {
type: String,
default: '960px'
},
stripedRows: {
striped: {
type: Boolean,
default: false
},

View File

@ -355,7 +355,7 @@ export interface PickListProps {
* Whether to displays rows with alternating colors.
* @defaultValue false
*/
stripedRows?: boolean | undefined;
striped?: boolean | undefined;
/**
* Whether to show buttons of source list.
* @defaultValue true

View File

@ -46,7 +46,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:striped="striped"
:disabled="disabled"
:pt="ptm('pcList')"
:unstyled="unstyled"
@ -110,7 +110,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:striped="striped"
:disabled="disabled"
:pt="ptm('pcList')"
:unstyled="unstyled"

View File

@ -44708,7 +44708,7 @@
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
},
{
"name": "stripedRows",
"name": "striped",
"optional": true,
"readonly": false,
"type": "boolean",
@ -50902,7 +50902,7 @@
"description": "The breakpoint to define the maximum width boundary when responsiveness is enabled."
},
{
"name": "stripedRows",
"name": "striped",
"optional": true,
"readonly": false,
"type": "boolean",
@ -56861,7 +56861,7 @@
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
},
{
"name": "stripedRows",
"name": "striped",
"optional": true,
"readonly": false,
"type": "boolean",