diff --git a/.changeset/great-peaches-drop.md b/.changeset/great-peaches-drop.md new file mode 100644 index 0000000000..e0d6291f1d --- /dev/null +++ b/.changeset/great-peaches-drop.md @@ -0,0 +1,12 @@ +--- +"@cloudoperators/juno-ui-components": major +--- + +Feature: Enhanced `PageFooter` Component for Flexible Theming and Accessibility + +- Removed hardcoded cloud illustration, allowing CSS-based branding customization. +- Added a `copyright` prop for optional right-side rendering. +- Updated `children` rendering to support single/multiple items with defined spacing. +- Integrated ARIA roles and attributes (role="group", aria-labelledby) for better semantic clarity. +- Implemented design tokens, accommodating `light` and `dark` modes. +- Added `PageFooter` to Example App. diff --git a/apps/example/src/App.tsx b/apps/example/src/App.tsx index 05123a606a..e2a08f1e53 100644 --- a/apps/example/src/App.tsx +++ b/apps/example/src/App.tsx @@ -6,11 +6,10 @@ import React, { useEffect, useMemo } from "react" import { QueryClient, QueryClientProvider } from "@tanstack/react-query" import { MessagesProvider } from "@cloudoperators/juno-messages-provider" -import { AppShell, AppShellProvider } from "@cloudoperators/juno-ui-components" +import { AppShell, AppShellProvider, PageFooter } from "@cloudoperators/juno-ui-components" import useAuthStore from "./store/useAuthStore" import AsyncWorker from "./components/AsyncWorker" -import Footer from "./components/app-shell/Footer" import useConfigStore from "./store/useConfigStore" import Content from "./components/app-shell/Content" import Header from "./components/app-shell/header/Header" @@ -32,13 +31,15 @@ const App: React.FC = ({ endpoint = "", id = "" }) => { setEndpoint(endpoint) }, [endpoint]) + const COPYRIGHT_TEXT = "Copyright © 2024 SAP SE, SAP affiliates and Juno contributors" + return ( } sideNavigation={isUserAuthenticated ? : null} - pageFooter={