@@ -93,6 +93,34 @@ export const single = (): string => html`
93
93
</ div >
94
94
` ;
95
95
96
+ export const smallViewport = ( ) : string => html `
97
+ < calcite-combobox
98
+ selection-display ="all "
99
+ selection-mode ="single "
100
+ label ="demo "
101
+ open
102
+ max-items ="0 "
103
+ placeholder ="placeholder "
104
+ scale ="m "
105
+ status ="idle "
106
+ >
107
+ < calcite-combobox-item icon ="altitude " value ="altitude " text-label ="Altitude " selected > </ calcite-combobox-item >
108
+ < calcite-combobox-item icon ="article " value ="article " text-label ="Article "> </ calcite-combobox-item >
109
+ < calcite-combobox-item icon ="attachment " value ="attachment " text-label ="Attachment "> </ calcite-combobox-item >
110
+ < calcite-combobox-item icon ="banana " value ="banana " text-label ="Banana "> </ calcite-combobox-item >
111
+ < calcite-combobox-item icon ="battery3 " value ="battery " text-label ="Battery Charging "> </ calcite-combobox-item >
112
+ < calcite-combobox-item icon ="beaker " value ="beaker " text-label ="Beaker "> </ calcite-combobox-item >
113
+ < calcite-combobox-item icon ="bell " value ="bell " text-label ="Bell "> </ calcite-combobox-item >
114
+ < calcite-combobox-item icon ="bookmark " value ="bookmark " text-label ="Bookmark "> </ calcite-combobox-item >
115
+ < calcite-combobox-item icon ="brightness " value ="brightness " text-label ="Brightness "> </ calcite-combobox-item >
116
+ < calcite-combobox-item icon ="calendar " value ="calendar " text-label ="Calendar "> </ calcite-combobox-item >
117
+ < calcite-combobox-item icon ="camera " value ="camera " text-label ="Camera "> </ calcite-combobox-item >
118
+ < calcite-combobox-item icon ="car " value ="car " text-label ="Car "> </ calcite-combobox-item >
119
+ < calcite-combobox-item icon ="clock " value ="clock " text-label ="Clock "> </ calcite-combobox-item >
120
+ </ calcite-combobox >
121
+ ` ;
122
+ smallViewport . parameters = { chromatic : { viewports : [ 300 , 300 ] } } ;
123
+
96
124
export const multiple = ( ) : string => html `
97
125
< div style ="width:400px;max-width:100%;background-color:white;padding:100px ">
98
126
< h2 > selection-display="all" (default)</ h2 >
@@ -384,8 +412,8 @@ const style = html`
384
412
385
413
export const longItemsAllSelectionModes = ( ) : string => html `
386
414
${ style }
387
- < div style ="display: flex; flex-direction: column; ">
388
- < div style ="display: flex; flex-direction: row; margin-block-end: 160px; ">
415
+ < div style ="display: flex; flex-direction: column; ">
416
+ < div style ="display: flex; flex-direction: row; margin-block-end: 160px; ">
389
417
< calcite-combobox open selection-mode ="single " style ="margin-right: 20px; ">
390
418
< calcite-combobox-item text-label ="Layers ">
391
419
< calcite-combobox-item text-label ="Enriched USA Census Tract Areas Aug29 "> </ calcite-combobox-item >
@@ -399,7 +427,7 @@ export const longItemsAllSelectionModes = (): string => html`
399
427
</ calcite-combobox >
400
428
</ div >
401
429
402
- < div style ="display: flex; flex-direction: row; ">
430
+ < div style ="display: flex; flex-direction: row; ">
403
431
< calcite-combobox open selection-mode ="multiple " style ="margin-right: 20px; ">
404
432
< calcite-combobox-item-group label ="First item group ">
405
433
< calcite-combobox-item text-label ="Enriched USA Census Tract Areas Aug29 "> </ calcite-combobox-item >
@@ -418,8 +446,8 @@ export const longItemsAllSelectionModes = (): string => html`
418
446
</ calcite-combobox-item >
419
447
</ calcite-combobox-item-group >
420
448
</ calcite-combobox >
421
- </ div >
422
- < div >
449
+ </ div >
450
+ < div >
423
451
` ;
424
452
425
453
export const disabled_TestOnly = ( ) : string =>
0 commit comments