@trebired/frontend 8.2.7 → 8.2.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.2.8
4
+
5
+ - Reversed the sidebar's bottom controls stacking order when the sidebar is minimized, so the first control (minimize) lands at the bottom instead of the top.
6
+ - Hid dynamic sidebar link count, state, and loader slots when the sidebar is minimized, matching the existing label/badge hiding so only the icon remains.
7
+
3
8
  ## 8.2.7
4
9
 
5
10
  - Added a `minimized` prop to `ProductShellSidebar`, forwarded to `SidebarShell`, so consuming apps can render the sidebar's minimized state server-side instead of only correcting it client-side after mount, which caused a visible flash from expanded to minimized on full page loads.
@@ -257,7 +257,7 @@
257
257
  }
258
258
 
259
259
  #{ns.data("sidebar-minimized", "true")} #{ns.class("product-shell-sidebar-controls")} {
260
- flex-direction: column;
260
+ flex-direction: column-reverse;
261
261
  align-items: stretch;
262
262
  }
263
263
 
@@ -200,7 +200,13 @@
200
200
 
201
201
  #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.data("sidebar-label")},
202
202
 
203
- #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.element-class("sidebar-link", "badge")} {
203
+ #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.element-class("sidebar-link", "badge")},
204
+
205
+ #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.data("sidebar-count-slot")},
206
+
207
+ #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.data("sidebar-state-slot")},
208
+
209
+ #{ns.data("sidebar-shell")}#{ns.data("sidebar-minimized", "true")} #{ns.data("sidebar-loader-slot")} {
204
210
  width: 0;
205
211
  max-width: 0;
206
212
  opacity: 0;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/frontend",
11
- "version": "8.2.7",
11
+ "version": "8.2.8",
12
12
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
13
13
  "type": "module",
14
14
  "private": false,