@ecohouse/ui 0.1.30 → 0.1.31

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": "@ecohouse/ui",
3
- "version": "0.1.30",
3
+ "version": "0.1.31",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "Cross-platform presentation-only UI components for EcoHouse (React Native + React Native Web)",
@@ -218,7 +218,10 @@ export const Sidebar = forwardRef<ComponentRef<typeof View>, SidebarProps>(funct
218
218
 
219
219
  const styles = StyleSheet.create({
220
220
  root: {
221
+ flexDirection: "column",
222
+ alignSelf: "stretch",
221
223
  height: "100%",
224
+ minHeight: "100%",
222
225
  flexShrink: 0,
223
226
  backgroundColor: colors.dark,
224
227
  borderRightWidth: 1,
@@ -257,8 +260,11 @@ const styles = StyleSheet.create({
257
260
  flexShrink: 0,
258
261
  },
259
262
  nav: {
260
- flex: 1,
263
+ flexGrow: 1,
264
+ flexShrink: 1,
265
+ flexBasis: 0,
261
266
  width: "100%",
267
+ minHeight: 0,
262
268
  padding: 16,
263
269
  gap: 10,
264
270
  },
@@ -291,7 +297,9 @@ const styles = StyleSheet.create({
291
297
  footer: {
292
298
  height: PROFILE_SECTION_HEIGHT,
293
299
  width: "100%",
300
+ flexGrow: 0,
294
301
  flexShrink: 0,
302
+ marginTop: "auto",
295
303
  alignItems: "center",
296
304
  justifyContent: "center",
297
305
  paddingVertical: 12,