@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govtechsg/sgds-web-component",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "",
5
5
  "main": "./umd/index.js",
6
6
  "module": "./index.js",
package/umd/index.js CHANGED
@@ -27073,8 +27073,10 @@ a[target=_blank]:after {
27073
27073
  display: flex;
27074
27074
  align-self: center;
27075
27075
  gap: 1rem;
27076
+ padding-left: 1rem;
27077
+ padding-right: 1rem;
27076
27078
  height: 100%;
27077
- margin-left: 1rem;
27079
+ width: 100%;
27078
27080
  }
27079
27081
 
27080
27082
  .navbar-toggler {
@@ -27089,6 +27091,17 @@ slot[name=non-collapsible] {
27089
27091
  display: flex;
27090
27092
  gap: 1rem;
27091
27093
  align-items: center;
27094
+ }
27095
+
27096
+ .slot-end {
27097
+ display: flex;
27098
+ margin-left: auto;
27099
+ align-items: stretch;
27100
+ gap: 1rem;
27101
+ }
27102
+
27103
+ .slot-end::slotted(:not(sgds-mainnav-item)) {
27104
+ align-self: center;
27092
27105
  }`;
27093
27106
 
27094
27107
  var top = 'top';
@@ -34248,6 +34261,7 @@ slot[name=non-collapsible] {
34248
34261
  >
34249
34262
  <ul class="navbar-nav">
34250
34263
  <slot></slot>
34264
+ <slot name="end" class=${o$2({ "slot-end": !this.breakpointReached })}></slot>
34251
34265
  </ul>
34252
34266
  </div>
34253
34267
  </nav>