Fixed #5784 - Renamed properties
parent
2c55d0a0c0
commit
b6271328d0
|
@ -49,7 +49,7 @@ const OrderListProps = [
|
||||||
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'stripedRows',
|
name: 'striped',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: 'false',
|
default: 'false',
|
||||||
description: 'Whether to displays rows with alternating colors.'
|
description: 'Whether to displays rows with alternating colors.'
|
||||||
|
|
|
@ -49,7 +49,7 @@ const PickListProps = [
|
||||||
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
description: 'The breakpoint to define the maximum width boundary when responsiveness is enabled.'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'stripedRows',
|
name: 'striped',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: 'false',
|
default: 'false',
|
||||||
description: 'Whether to displays rows with alternating colors.'
|
description: 'Whether to displays rows with alternating colors.'
|
||||||
|
|
|
@ -94,7 +94,7 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: undefined
|
default: undefined
|
||||||
},
|
},
|
||||||
stripedRows: {
|
striped: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
|
|
@ -398,7 +398,7 @@ export interface ListboxProps {
|
||||||
* Whether to displays rows with alternating colors.
|
* Whether to displays rows with alternating colors.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
*/
|
*/
|
||||||
stripedRows?: boolean | undefined;
|
striped?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Index of the element in tabbing order.
|
* Index of the element in tabbing order.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@ const theme = ({ dt }) => `
|
||||||
color: ${dt('listbox.color')};
|
color: ${dt('listbox.color')};
|
||||||
border: 1px solid ${dt('listbox.border.color')};
|
border: 1px solid ${dt('listbox.border.color')};
|
||||||
border-radius: ${dt('listbox.border.radius')};
|
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')};
|
box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
|
||||||
outline-color: transparent;
|
outline-color: transparent;
|
||||||
box-shadow: ${dt('listbox.shadow')};
|
box-shadow: ${dt('listbox.shadow')};
|
||||||
|
@ -65,7 +65,7 @@ const theme = ({ dt }) => `
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
border-radius: ${dt('listbox.option.border.radius')};
|
border-radius: ${dt('listbox.option.border.radius')};
|
||||||
color: ${dt('listbox.option.color')};
|
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')};
|
box-shadow ${dt('listbox.transition.duration')}, outline-color ${dt('listbox.transition.duration')};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ const classes = {
|
||||||
root: ({ props }) => [
|
root: ({ props }) => [
|
||||||
'p-listbox p-component',
|
'p-listbox p-component',
|
||||||
{
|
{
|
||||||
'p-listbox-striped': props.stripedRows,
|
'p-listbox-striped': props.striped,
|
||||||
'p-disabled': props.disabled,
|
'p-disabled': props.disabled,
|
||||||
'p-invalid': props.invalid
|
'p-invalid': props.invalid
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: '960px'
|
default: '960px'
|
||||||
},
|
},
|
||||||
stripedRows: {
|
striped: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
|
|
@ -221,7 +221,7 @@ export interface OrderListProps {
|
||||||
* Whether to displays rows with alternating colors.
|
* Whether to displays rows with alternating colors.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
*/
|
*/
|
||||||
stripedRows?: boolean | undefined;
|
striped?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Index of the element in tabbing order.
|
* Index of the element in tabbing order.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
:dataKey="dataKey"
|
:dataKey="dataKey"
|
||||||
:autoOptionFocus="autoOptionFocus"
|
:autoOptionFocus="autoOptionFocus"
|
||||||
:focusOnHover="focusOnHover"
|
:focusOnHover="focusOnHover"
|
||||||
:stripedRows="stripedRows"
|
:striped="striped"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:ariaLabel="ariaLabel"
|
:ariaLabel="ariaLabel"
|
||||||
:ariaLabelledby="ariaLabelledby"
|
:ariaLabelledby="ariaLabelledby"
|
||||||
|
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
type: String,
|
type: String,
|
||||||
default: '960px'
|
default: '960px'
|
||||||
},
|
},
|
||||||
stripedRows: {
|
striped: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
|
|
@ -355,7 +355,7 @@ export interface PickListProps {
|
||||||
* Whether to displays rows with alternating colors.
|
* Whether to displays rows with alternating colors.
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
*/
|
*/
|
||||||
stripedRows?: boolean | undefined;
|
striped?: boolean | undefined;
|
||||||
/**
|
/**
|
||||||
* Whether to show buttons of source list.
|
* Whether to show buttons of source list.
|
||||||
* @defaultValue true
|
* @defaultValue true
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
:dataKey="dataKey"
|
:dataKey="dataKey"
|
||||||
:autoOptionFocus="autoOptionFocus"
|
:autoOptionFocus="autoOptionFocus"
|
||||||
:focusOnHover="focusOnHover"
|
:focusOnHover="focusOnHover"
|
||||||
:stripedRows="stripedRows"
|
:striped="striped"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:pt="ptm('pcList')"
|
:pt="ptm('pcList')"
|
||||||
:unstyled="unstyled"
|
:unstyled="unstyled"
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
:dataKey="dataKey"
|
:dataKey="dataKey"
|
||||||
:autoOptionFocus="autoOptionFocus"
|
:autoOptionFocus="autoOptionFocus"
|
||||||
:focusOnHover="focusOnHover"
|
:focusOnHover="focusOnHover"
|
||||||
:stripedRows="stripedRows"
|
:striped="striped"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:pt="ptm('pcList')"
|
:pt="ptm('pcList')"
|
||||||
:unstyled="unstyled"
|
:unstyled="unstyled"
|
||||||
|
|
|
@ -44708,7 +44708,7 @@
|
||||||
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
"description": "Text to display when there are no options available. Defaults to value from PrimeVue locale configuration."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stripedRows",
|
"name": "striped",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -50902,7 +50902,7 @@
|
||||||
"description": "The breakpoint to define the maximum width boundary when responsiveness is enabled."
|
"description": "The breakpoint to define the maximum width boundary when responsiveness is enabled."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stripedRows",
|
"name": "striped",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -56861,7 +56861,7 @@
|
||||||
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
|
"description": "Height of the viewport, a scrollbar is defined if height of list exceeds this value."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "stripedRows",
|
"name": "striped",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
|
Loading…
Reference in New Issue