Merge branch 'master' of https://github.com/primefaces/primevue
commit
4111787a0a
|
@ -2,9 +2,9 @@
|
||||||
<div :class="containerClass" :style="style">
|
<div :class="containerClass" :style="style">
|
||||||
<slot>
|
<slot>
|
||||||
<PVSButton type="button" class="p-splitbutton-defaultbutton" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" v-bind="buttonProps">
|
<PVSButton type="button" class="p-splitbutton-defaultbutton" :label="label" :disabled="disabled" :aria-label="label" @click="onDefaultButtonClick" v-bind="buttonProps">
|
||||||
<template #icon>
|
<template #icon="slotProps">
|
||||||
<slot name="icon">
|
<slot name="icon">
|
||||||
<span :class="icon" />
|
<span :class="[icon, slotProps.class]" />
|
||||||
</slot>
|
</slot>
|
||||||
</template>
|
</template>
|
||||||
</PVSButton>
|
</PVSButton>
|
||||||
|
@ -21,9 +21,9 @@
|
||||||
@keydown="onDropdownKeydown"
|
@keydown="onDropdownKeydown"
|
||||||
v-bind="menuButtonProps"
|
v-bind="menuButtonProps"
|
||||||
>
|
>
|
||||||
<template #icon>
|
<template #icon="slotProps">
|
||||||
<slot name="menubuttonicon">
|
<slot name="menubuttonicon">
|
||||||
<component :is="menuButtonIcon ? 'span' : 'ChevronDownIcon'" :class="menuButtonIcon" />
|
<component :is="menuButtonIcon ? 'span' : 'ChevronDownIcon'" :class="[menuButtonIcon, slotProps.class]" />
|
||||||
</slot>
|
</slot>
|
||||||
</template>
|
</template>
|
||||||
</PVSButton>
|
</PVSButton>
|
||||||
|
|
|
@ -29,17 +29,17 @@ export interface ToolbarPassThroughOptions {
|
||||||
*/
|
*/
|
||||||
root?: ToolbarPassThroughOptionType;
|
root?: ToolbarPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the groupleft's DOM element.
|
* Uses to pass attributes to the groupstart's DOM element.
|
||||||
*/
|
*/
|
||||||
groupleft?: ToolbarPassThroughOptionType;
|
groupStart?: ToolbarPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the groupcenter's DOM element.
|
* Uses to pass attributes to the groupcenter's DOM element.
|
||||||
*/
|
*/
|
||||||
groupcenter?: ToolbarPassThroughOptionType;
|
groupCenter?: ToolbarPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Uses to pass attributes to the groupright's DOM element.
|
* Uses to pass attributes to the groupright's DOM element.
|
||||||
*/
|
*/
|
||||||
groupright?: ToolbarPassThroughOptionType;
|
groupEnd?: ToolbarPassThroughOptionType;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="p-toolbar p-component" role="toolbar" :aria-labelledby="ariaLabelledby" v-bind="ptm('root')">
|
<div class="p-toolbar p-component" role="toolbar" :aria-labelledby="ariaLabelledby" v-bind="ptm('root')">
|
||||||
<div class="p-toolbar-group-start p-toolbar-group-left" v-bind="ptm('groupleft')">
|
<div class="p-toolbar-group-start p-toolbar-group-left" v-bind="ptm('groupstart')">
|
||||||
<slot name="start"></slot>
|
<slot name="start"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-toolbar-group-center" v-bind="ptm('groupcenter')">
|
<div class="p-toolbar-group-center" v-bind="ptm('groupcenter')">
|
||||||
<slot name="center"></slot>
|
<slot name="center"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div class="p-toolbar-group-end p-toolbar-group-right" v-bind="ptm('groupright')">
|
<div class="p-toolbar-group-end p-toolbar-group-right" v-bind="ptm('groupend')">
|
||||||
<slot name="end"></slot>
|
<slot name="end"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -24892,15 +24892,15 @@
|
||||||
"description": "Uses to pass attributes to the root's DOM element."
|
"description": "Uses to pass attributes to the root's DOM element."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "groupleft",
|
"name": "groupStart",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "ToolbarPassThroughOptionType",
|
"type": "ToolbarPassThroughOptionType",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Uses to pass attributes to the groupleft's DOM element."
|
"description": "Uses to pass attributes to the groupstart's DOM element."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "groupcenter",
|
"name": "groupCenter",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "ToolbarPassThroughOptionType",
|
"type": "ToolbarPassThroughOptionType",
|
||||||
|
@ -24908,7 +24908,7 @@
|
||||||
"description": "Uses to pass attributes to the groupcenter's DOM element."
|
"description": "Uses to pass attributes to the groupcenter's DOM element."
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "groupright",
|
"name": "groupEnd",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"readonly": false,
|
"readonly": false,
|
||||||
"type": "ToolbarPassThroughOptionType",
|
"type": "ToolbarPassThroughOptionType",
|
||||||
|
|
Loading…
Reference in New Issue