From b6271328d0986d4365b6cef3330fcec01f7b57cd Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 27 May 2024 09:39:11 +0300 Subject: [PATCH] Fixed #5784 - Renamed properties --- api-generator/components/orderlist.js | 2 +- api-generator/components/picklist.js | 2 +- components/lib/listbox/BaseListbox.vue | 2 +- components/lib/listbox/Listbox.d.ts | 2 +- components/lib/listbox/style/ListboxStyle.js | 6 +++--- components/lib/orderlist/BaseOrderList.vue | 2 +- components/lib/orderlist/OrderList.d.ts | 2 +- components/lib/orderlist/OrderList.vue | 2 +- components/lib/picklist/BasePickList.vue | 2 +- components/lib/picklist/PickList.d.ts | 2 +- components/lib/picklist/PickList.vue | 4 ++-- doc/common/apidoc/index.json | 6 +++--- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/api-generator/components/orderlist.js b/api-generator/components/orderlist.js index 7c80b113d..881470644 100644 --- a/api-generator/components/orderlist.js +++ b/api-generator/components/orderlist.js @@ -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.' diff --git a/api-generator/components/picklist.js b/api-generator/components/picklist.js index 7b8e99b5e..2638f17c5 100644 --- a/api-generator/components/picklist.js +++ b/api-generator/components/picklist.js @@ -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.' diff --git a/components/lib/listbox/BaseListbox.vue b/components/lib/listbox/BaseListbox.vue index 7968418ec..f736bdbe1 100644 --- a/components/lib/listbox/BaseListbox.vue +++ b/components/lib/listbox/BaseListbox.vue @@ -94,7 +94,7 @@ export default { type: String, default: undefined }, - stripedRows: { + striped: { type: Boolean, default: false }, diff --git a/components/lib/listbox/Listbox.d.ts b/components/lib/listbox/Listbox.d.ts index 2cc5dc202..77a14656c 100755 --- a/components/lib/listbox/Listbox.d.ts +++ b/components/lib/listbox/Listbox.d.ts @@ -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. */ diff --git a/components/lib/listbox/style/ListboxStyle.js b/components/lib/listbox/style/ListboxStyle.js index 6e38555a4..a6064dea4 100644 --- a/components/lib/listbox/style/ListboxStyle.js +++ b/components/lib/listbox/style/ListboxStyle.js @@ -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 } diff --git a/components/lib/orderlist/BaseOrderList.vue b/components/lib/orderlist/BaseOrderList.vue index e458b7927..935f4e032 100644 --- a/components/lib/orderlist/BaseOrderList.vue +++ b/components/lib/orderlist/BaseOrderList.vue @@ -42,7 +42,7 @@ export default { type: String, default: '960px' }, - stripedRows: { + striped: { type: Boolean, default: false }, diff --git a/components/lib/orderlist/OrderList.d.ts b/components/lib/orderlist/OrderList.d.ts index d8d15a3e8..7c718c2ce 100755 --- a/components/lib/orderlist/OrderList.d.ts +++ b/components/lib/orderlist/OrderList.d.ts @@ -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. */ diff --git a/components/lib/orderlist/OrderList.vue b/components/lib/orderlist/OrderList.vue index ca0eff97b..56cc66893 100755 --- a/components/lib/orderlist/OrderList.vue +++ b/components/lib/orderlist/OrderList.vue @@ -45,7 +45,7 @@ :dataKey="dataKey" :autoOptionFocus="autoOptionFocus" :focusOnHover="focusOnHover" - :stripedRows="stripedRows" + :striped="striped" :disabled="disabled" :ariaLabel="ariaLabel" :ariaLabelledby="ariaLabelledby" diff --git a/components/lib/picklist/BasePickList.vue b/components/lib/picklist/BasePickList.vue index 7a9090d48..2d64c50b2 100644 --- a/components/lib/picklist/BasePickList.vue +++ b/components/lib/picklist/BasePickList.vue @@ -42,7 +42,7 @@ export default { type: String, default: '960px' }, - stripedRows: { + striped: { type: Boolean, default: false }, diff --git a/components/lib/picklist/PickList.d.ts b/components/lib/picklist/PickList.d.ts index 743ee766e..3345dcf1d 100755 --- a/components/lib/picklist/PickList.d.ts +++ b/components/lib/picklist/PickList.d.ts @@ -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 diff --git a/components/lib/picklist/PickList.vue b/components/lib/picklist/PickList.vue index ffceb626d..ebcc48834 100755 --- a/components/lib/picklist/PickList.vue +++ b/components/lib/picklist/PickList.vue @@ -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" diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 9908937c2..0093326ea 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -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",