@@ -40,6 +40,16 @@ export default {
40
40
} ,
41
41
control : { type : 'boolean' }
42
42
} ,
43
+ borderless : {
44
+ description : 'Hide the border around the dropdown component' ,
45
+ table : {
46
+ type : {
47
+ summary : 'boolean'
48
+ } ,
49
+ defaultValue : { summary : 'false' }
50
+ } ,
51
+ control : { type : 'boolean' }
52
+ } ,
43
53
loadingMore : {
44
54
description : 'Display loading more state in the list of items' ,
45
55
table : {
@@ -123,6 +133,7 @@ const defaultArgs = {
123
133
selectedItems : FAKE_SELECTED_ITEMS ,
124
134
loading : false ,
125
135
loadingMore : false ,
136
+ borderless : false ,
126
137
placeholder : 'My placeholder' ,
127
138
searchPlaceholder : 'My search placeholder' ,
128
139
addressableAs : undefined ,
@@ -135,7 +146,8 @@ const Template = (args) => ({
135
146
template : hbs `
136
147
<div style="display: flex; justify-content: center; background-color: white; border-radius: 4px">
137
148
<OSS::PowerSelect class='padding-sm' @selectedItems={{this.selectedItems}} @items={{this.items}}
138
- @onSearch={{this.onSearch}} @onChange={{this.onChange}} @loading={{this.loading}}
149
+ @onSearch={{this.onSearch}} @onChange={{this.onChange}} @loading={{this.loading}}
150
+ @borderless={{this.borderless}}
139
151
@loadingMore={{this.loadingMore}} @placeholder={{this.placeholder}} @searchPlaceholder={{this.searchPlaceholder}}
140
152
@onBottomReached={{this.onBottomReached}} @addressableAs={{this.addressableAs}}>
141
153
<:selected-item as |selectedItem|>
0 commit comments