Skip to content

Commit

Permalink
Aligned OrderList-PickList with Listbox
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 24, 2024
1 parent 0512362 commit c0ccb2b
Show file tree
Hide file tree
Showing 80 changed files with 351 additions and 351 deletions.
2 changes: 1 addition & 1 deletion components/lib/listbox/Listbox.vue
Expand Up @@ -649,7 +649,7 @@ export default {
const element = DomHandler.findSingle(this.list, `li[id="${id}"]`);
if (element) {
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest' });
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'nearest', behavior: 'smooth' });
} else if (!this.virtualScrollerDisabled) {
this.virtualScroller && this.virtualScroller.scrollToIndex(index !== -1 ? index : this.focusedOptionIndex);
}
Expand Down
2 changes: 1 addition & 1 deletion components/lib/orderlist/OrderList.vue
Expand Up @@ -339,7 +339,7 @@ export default {
const element = DomHandler.findSingle(this.list, `[data-pc-section="item"][id="${id}"]`);
if (element) {
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start' });
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start', behavior: 'smooth' });
}
},
moveUp(event) {
Expand Down
2 changes: 1 addition & 1 deletion components/lib/picklist/PickList.vue
Expand Up @@ -810,7 +810,7 @@ export default {
const element = DomHandler.findSingle(this.$refs[listType].$el, `[data-pc-section="item"][id="${id}"]`);
if (element) {
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start' });
element.scrollIntoView && element.scrollIntoView({ block: 'nearest', inline: 'start', behavior: 'smooth' });
}
},
updateListScroll(listElement) {
Expand Down
8 changes: 4 additions & 4 deletions public/themes/arya-blue/theme.css
Expand Up @@ -2949,11 +2949,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3143,11 +3143,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/arya-green/theme.css
Expand Up @@ -2949,11 +2949,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3143,11 +3143,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/arya-orange/theme.css
Expand Up @@ -2949,11 +2949,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3143,11 +3143,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/arya-purple/theme.css
Expand Up @@ -2949,11 +2949,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3143,11 +3143,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: rgba(255, 255, 255, 0.87);
background: rgba(255, 255, 255, 0.09);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-amber/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-blue/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-cyan/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-green/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-indigo/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-lime/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-noir/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-pink/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down
8 changes: 4 additions & 4 deletions public/themes/aura-dark-purple/theme.css
Expand Up @@ -3017,11 +3017,11 @@
}
.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down Expand Up @@ -3211,11 +3211,11 @@
}
.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-focus {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.p-picklist .p-picklist-list .p-picklist-item.p-highlight {
color: rgba(255, 255, 255, 0.87);
Expand Down

0 comments on commit c0ccb2b

Please sign in to comment.