pull/5507/head
tugcekucukoglu 2024-03-22 11:57:54 +03:00
parent 4d640c4442
commit 7e177678f0
9 changed files with 15 additions and 15 deletions

View File

@ -4,6 +4,7 @@ const classes = {
root: ({ props }) => [
'p-listbox p-component',
{
'p-listbox-striped': props.stripedRows,
'p-disabled': props.disabled,
'p-invalid': props.invalid
}

View File

@ -48,7 +48,7 @@ export default {
},
severity: {
type: String,
default: null
default: 'secondary'
},
tabindex: {
type: Number,

View File

@ -232,6 +232,7 @@ export interface OrderListProps {
tabindex?: number | string | undefined;
/**
* Defines the style of the button.
* @defaultValue secondary
*/
severity?: HintedString<'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'contrast'> | undefined;
/**

View File

@ -44,6 +44,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:disabled="disabled"
:ariaLabel="ariaLabel"
:ariaLabelledby="ariaLabelledby"

View File

@ -1,12 +1,7 @@
import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props }) => [
'p-orderlist p-component',
{
'p-orderlist-striped': props.stripedRows
}
],
root: 'p-orderlist p-component',
controls: 'p-orderlist-controls',
container: 'p-orderlist-list-container',
header: 'p-orderlist-header',

View File

@ -56,7 +56,7 @@ export default {
},
severity: {
type: String,
default: null
default: 'secondary'
},
tabindex: {
type: Number,

View File

@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
import { ComponentHooks } from '../basecomponent';
import { ButtonPassThroughOptions } from '../button';
import { PassThroughOptions } from '../passthrough';
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
import { ClassComponent, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
export declare type PickListPassThroughOptionType = PickListPassThroughAttributes | ((options: PickListPassThroughMethodOptions) => PickListPassThroughAttributes | string) | string | null | undefined;
@ -364,6 +364,11 @@ export interface PickListProps {
* @defaultValue true
*/
showTargetControls?: boolean | undefined;
/**
* Defines the style of the button.
* @defaultValue secondary
*/
severity?: HintedString<'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'contrast'> | undefined;
/**
* Index of the list element in tabbing order.
*/

View File

@ -45,6 +45,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:disabled="disabled"
:pt="ptm('list')"
:unstyled="unstyled"
@ -109,6 +110,7 @@
:dataKey="dataKey"
:autoOptionFocus="autoOptionFocus"
:focusOnHover="focusOnHover"
:stripedRows="stripedRows"
:disabled="disabled"
:pt="ptm('list')"
:unstyled="unstyled"

View File

@ -1,12 +1,7 @@
import BaseStyle from 'primevue/base/style';
const classes = {
root: ({ props }) => [
'p-picklist p-component',
{
'p-picklist-striped': props.stripedRows
}
],
root: 'p-picklist p-component',
sourceControls: 'p-picklist-buttons p-picklist-source-controls',
sourceWrapper: 'p-picklist-list-wrapper p-picklist-source-wrapper',
sourceHeader: 'p-picklist-header',