File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55### Added
66- Pass all attributes, listeners, classes and styles to the dom elements defined in all functional components.
77- Added style for labels with remove button.
8+ - Exposed ` pf-list-group-item ` .
89
910### Changed
1011- Styled thin scrollbars.
Original file line number Diff line number Diff line change 11<template >
2- <div class =" list-group-item" :class =" [stateClass]" :style =" {cursor: expandable ? 'pointer' : 'inherit'}" @click =" toggle" >
2+ <div class =" list-group-item" :class =" [stateClass, {'list-view-pf-stacked': stacked} ]" :style =" {cursor: expandable ? 'pointer' : 'inherit'}" @click =" toggle" >
33 <div v-if =" expandable && $slots.expansion" class =" list-view-pf-expand" :class =" {active: expanded}" >
44 <pf-icon name =" fa-angle-right" :class =" {'fa-angle-down': expanded}" />
55 </div >
@@ -42,6 +42,7 @@ export default {
4242
4343 props: {
4444 expandable: Boolean ,
45+ stacked: Boolean ,
4546 index: {
4647 type: [String , Number ],
4748 },
Original file line number Diff line number Diff line change 88 :index =" i"
99 :selectable =" selectable"
1010 :expandable =" expandable"
11- :class = " {'list-view-pf- stacked': stacked} "
11+ :stacked = " stacked"
1212 >
1313 <slot :row =" row" :index =" i" />
1414 <template slot="action" v-if =" $slots .action || $scopedSlots .action " >
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ import Select from './Select.vue';
2929import Option from './Option.vue' ;
3030import ListView from './ListView.vue' ;
3131import ListItem from './ListItem.vue' ;
32+ import ListGroupItem from './ListGroupItem.vue' ;
3233import ListItemAdditionalInfo from './ListItemAdditionalInfo.vue' ;
3334import Modal from './Modal.vue' ;
3435import Icon from './Icon' ;
@@ -66,6 +67,7 @@ export {
6667 Option ,
6768 ListView ,
6869 ListItem ,
70+ ListGroupItem ,
6971 ListItemAdditionalInfo ,
7072 Modal ,
7173 Icon ,
You can’t perform that action at this time.
0 commit comments