Fixed #5599 - Menu / Stepper: Pass Through Unstyled Mode
parent
b0b91c2050
commit
169a9af8eb
|
@ -31,6 +31,7 @@
|
|||
:item="child"
|
||||
:templates="$slots"
|
||||
:focusedOptionId="focusedOptionId"
|
||||
:unstyled="unstyled"
|
||||
@item-click="itemClick"
|
||||
@item-mousemove="itemMouseMove"
|
||||
:pt="pt"
|
||||
|
@ -39,7 +40,19 @@
|
|||
</template>
|
||||
</template>
|
||||
<li v-else-if="visible(item) && item.separator" :key="'separator' + i.toString()" :class="[cx('separator'), item.class]" :style="item.style" role="separator" v-bind="ptm('separator')"></li>
|
||||
<PVMenuitem v-else :key="label(item) + i.toString()" :id="id + '_' + i" :item="item" :index="i" :templates="$slots" :focusedOptionId="focusedOptionId" @item-click="itemClick" @item-mousemove="itemMouseMove" :pt="pt" />
|
||||
<PVMenuitem
|
||||
v-else
|
||||
:key="label(item) + i.toString()"
|
||||
:id="id + '_' + i"
|
||||
:item="item"
|
||||
:index="i"
|
||||
:templates="$slots"
|
||||
:focusedOptionId="focusedOptionId"
|
||||
:unstyled="unstyled"
|
||||
@item-click="itemClick"
|
||||
@item-mousemove="itemMouseMove"
|
||||
:pt="pt"
|
||||
/>
|
||||
</template>
|
||||
</ul>
|
||||
<div v-if="$slots.end" :class="cx('end')" v-bind="ptm('end')">
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
:clickCallback="(event) => onItemClick(event, index)"
|
||||
:getStepPT="getStepPT"
|
||||
:getStepProp="getStepProp"
|
||||
:unstyled="unstyled"
|
||||
/>
|
||||
</slot>
|
||||
<slot v-if="index !== stepperpanels.length - 1" name="separator">
|
||||
|
@ -42,6 +43,7 @@
|
|||
:active="isStepActive(index)"
|
||||
:highlighted="index < d_activeStep"
|
||||
:getStepPT="getStepPT(step, 'separator', index)"
|
||||
:unstyled="unstyled"
|
||||
/>
|
||||
</slot>
|
||||
</li>
|
||||
|
@ -61,6 +63,7 @@
|
|||
:nextCallback="(event) => nextCallback(event, index)"
|
||||
:getStepPT="getStepPT"
|
||||
:aria-labelledby="getStepHeaderActionId(index)"
|
||||
:unstyled="unstyled"
|
||||
/>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue