@energysage/es-ds-components 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,7 +54,7 @@ const onClick = ({ value }: { value: boolean }) => {
|
|
|
54
54
|
:collapsed="!expanded"
|
|
55
55
|
:header="expanded ? 'click to collapse content' : 'click to expand content'"
|
|
56
56
|
:pt="{
|
|
57
|
-
header: '
|
|
57
|
+
header: 'd-flex flex-column justify-content-center position-relative py-100',
|
|
58
58
|
icons: 'h-100 position-absolute w-100',
|
|
59
59
|
root: border ? 'border-bottom border-top' : '',
|
|
60
60
|
toggler: {
|
|
@@ -51,6 +51,9 @@ export default {
|
|
|
51
51
|
checkboxId() {
|
|
52
52
|
return `menu-${this.name}`;
|
|
53
53
|
},
|
|
54
|
+
resolvedEsNavBarLink() {
|
|
55
|
+
return resolveComponent('es-nav-bar-link');
|
|
56
|
+
},
|
|
54
57
|
},
|
|
55
58
|
};
|
|
56
59
|
</script>
|
|
@@ -76,7 +79,7 @@ export default {
|
|
|
76
79
|
<!-- mobile link and fly-out menu trigger -->
|
|
77
80
|
<!-- eslint-disable-next-line vuejs-accessibility/label-has-for -->
|
|
78
81
|
<component
|
|
79
|
-
:is="link ?
|
|
82
|
+
:is="link ? resolvedEsNavBarLink : 'label'"
|
|
80
83
|
class="nav-link d-flex d-lg-none align-items-center w-100 h-100 px-0 py-lg-100 px-100 font-weight-bold justify-content-between"
|
|
81
84
|
:class="{ 'dropdown-label': !link }"
|
|
82
85
|
:for="link ? undefined : checkboxId"
|