@govtechsg/sgds-web-component 0.0.6 → 0.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.
- package/Mainnav/index.js +27 -7
- package/Mainnav/index.js.map +1 -1
- package/index.js +15 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/umd/index.js +15 -1
- package/umd/index.js.map +1 -1
package/index.js
CHANGED
|
@@ -27068,8 +27068,10 @@ a[target=_blank]:after {
|
|
|
27068
27068
|
display: flex;
|
|
27069
27069
|
align-self: center;
|
|
27070
27070
|
gap: 1rem;
|
|
27071
|
+
padding-left: 1rem;
|
|
27072
|
+
padding-right: 1rem;
|
|
27071
27073
|
height: 100%;
|
|
27072
|
-
|
|
27074
|
+
width: 100%;
|
|
27073
27075
|
}
|
|
27074
27076
|
|
|
27075
27077
|
.navbar-toggler {
|
|
@@ -27084,6 +27086,17 @@ slot[name=non-collapsible] {
|
|
|
27084
27086
|
display: flex;
|
|
27085
27087
|
gap: 1rem;
|
|
27086
27088
|
align-items: center;
|
|
27089
|
+
}
|
|
27090
|
+
|
|
27091
|
+
.slot-end {
|
|
27092
|
+
display: flex;
|
|
27093
|
+
margin-left: auto;
|
|
27094
|
+
align-items: stretch;
|
|
27095
|
+
gap: 1rem;
|
|
27096
|
+
}
|
|
27097
|
+
|
|
27098
|
+
.slot-end::slotted(:not(sgds-mainnav-item)) {
|
|
27099
|
+
align-self: center;
|
|
27087
27100
|
}`;
|
|
27088
27101
|
|
|
27089
27102
|
var top = 'top';
|
|
@@ -34243,6 +34256,7 @@ let SgdsMainnav = class SgdsMainnav extends SgdsElement {
|
|
|
34243
34256
|
>
|
|
34244
34257
|
<ul class="navbar-nav">
|
|
34245
34258
|
<slot></slot>
|
|
34259
|
+
<slot name="end" class=${o$2({ "slot-end": !this.breakpointReached })}></slot>
|
|
34246
34260
|
</ul>
|
|
34247
34261
|
</div>
|
|
34248
34262
|
</nav>
|