Skip to content

Commit c829b6e

Browse files
authored
Merge pull request #667 from Neovici/feat/part-slots-and-variables
feat(footer): export more parts
2 parents 3a5d92c + 1dd9925 commit c829b6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/render-footer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export const renderFooter = ({
1515
html`<cosmoz-bottom-bar
1616
id="bottomBar"
1717
?active=${!isEmpty(selectedItems.length)}
18+
part="bottomBar"
19+
exportparts="bar: bottomBar-bar, info: bottomBar-info, buttons: bottomBar-buttons"
1820
>
1921
<slot name="info" slot="info">
2022
${ngettext(
@@ -28,7 +30,7 @@ export const renderFooter = ({
2830
as it might change the slot of the actions to distribute them in the menu -->
2931
<slot name="bottom-bar-toolbar" slot="bottom-bar-toolbar"></slot>
3032
<slot name="bottom-bar-menu" slot="bottom-bar-menu"></slot>
31-
<cosmoz-dropdown-menu slot="extra" .placement=${topPlacement}>
33+
<cosmoz-dropdown-menu part="extra" slot="extra" .placement=${topPlacement}>
3234
<svg
3335
slot="button"
3436
width="14"

0 commit comments

Comments
 (0)