@abstraks-dev/ui-library 1.2.5 → 1.3.0

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.
@@ -45,17 +45,16 @@ const Footer = exports.Footer = /*#__PURE__*/(0, _react.forwardRef)(({
45
45
  let positionClass = '';
46
46
  let shouldHideFooter = false;
47
47
  if (hasAuth && isMobile) {
48
- // Mobile + Authenticated: Fixed at viewport bottom
48
+ // Mobile + Authenticated: Fixed at viewport bottom (always visible)
49
49
  positionClass = 'footer-mobile-fixed';
50
50
  } else if (hasAuth && !isMobile && !hasNavigationProps) {
51
51
  // Desktop + Authenticated + No navigation props: Hide footer completely
52
52
  shouldHideFooter = true;
53
- } else if (!hasAuth && !isMobile) {
54
- // Desktop + Unauthenticated: Sticky when scrolling
53
+ } else if (!hasAuth) {
54
+ // Unauthenticated users (desktop or mobile): Sticky at bottom
55
55
  positionClass = 'footer-desktop-sticky';
56
56
  }
57
- // Mobile + Unauthenticated: Default absolute positioning (no class needed)
58
- // Desktop + Authenticated + Navigation props: Default absolute positioning
57
+ // For authenticated desktop with navigation: use default positioning
59
58
 
60
59
  // Don't render footer at all for desktop authenticated users without navigation props
61
60
  if (shouldHideFooter) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abstraks-dev/ui-library",
3
- "version": "1.2.5",
3
+ "version": "1.3.0",
4
4
  "description": "User Interface library",
5
5
  "main": "dist/index.js",
6
6
  "files": [