2023-03-14 13:18:55 +00:00
|
|
|
{{!
|
|
|
|
Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
SPDX-License-Identifier: BUSL-1.1
|
2023-03-14 13:18:55 +00:00
|
|
|
}}
|
|
|
|
|
2022-02-09 09:47:45 +00:00
|
|
|
<ul
|
2023-10-17 13:27:42 +00:00
|
|
|
role='menu'
|
2022-02-25 10:01:08 +00:00
|
|
|
style={{{style-map
|
|
|
|
(array 'height' (if (and @pager (not-eq @pager.type 'native-scroll')) @pager.totalHeight) 'px')
|
2023-10-17 13:27:42 +00:00
|
|
|
(array
|
|
|
|
'--paged-start' (if (and @pager (not-eq @pager.type 'native-scroll')) @pager.startHeight) 'px'
|
|
|
|
)
|
2022-02-25 10:01:08 +00:00
|
|
|
}}}
|
|
|
|
{{did-insert (optional @pager.pane)}}
|
2023-10-17 13:27:42 +00:00
|
|
|
{{aria-menu onclose=(or @onclose @disclosure.close) openEvent=(or @event @disclosure.event)}}
|
2022-02-09 09:47:45 +00:00
|
|
|
>
|
2023-10-17 13:27:42 +00:00
|
|
|
{{yield
|
|
|
|
(hash
|
|
|
|
Action=(component 'menu/action' disclosure=@disclosure)
|
|
|
|
Item=(component 'menu/item')
|
|
|
|
Separator=(component 'menu/separator')
|
|
|
|
items=@pager.items
|
|
|
|
)
|
|
|
|
}}
|
2022-02-09 09:47:45 +00:00
|
|
|
</ul>
|