uikit-react-public 0.40.2 → 0.40.3

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.
@@ -1,20 +1,25 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { default as FooterColumn } from './FooterColumn';
3
- import { default as FooterNavLink } from './FooterNavLink';
2
+ import { FooterColumnProps } from './FooterColumn';
3
+ import { FooterNavLinkProps } from './FooterNavLink';
4
4
  export declare const NAME = "ucl-uikit-footer";
5
5
  export interface FooterProps extends HTMLAttributes<HTMLElement> {
6
6
  testId?: string;
7
+ addressFormat?: 'compact' | 'full';
8
+ showSocialLinks?: boolean;
7
9
  disclaimer?: string;
8
10
  freedomOfInformation?: string;
9
11
  accessibility?: string;
10
12
  cookies?: string;
11
13
  privacy?: string;
12
14
  slaveryStatement?: string;
15
+ login?: string;
13
16
  }
14
- declare const MemoFooter: import('react').MemoExoticComponent<({ testId, className, disclaimer, freedomOfInformation, accessibility, cookies, privacy, slaveryStatement, children, ...props }: FooterProps) => import("react").JSX.Element>;
17
+ declare const FooterColumnBridge: (props: FooterColumnProps) => import("react").JSX.Element;
18
+ declare const FooterNavLinkBridge: (props: FooterNavLinkProps) => import("react").JSX.Element;
19
+ declare const MemoFooter: import('react').MemoExoticComponent<({ testId, className, addressFormat, showSocialLinks, disclaimer, freedomOfInformation, accessibility, cookies, privacy, slaveryStatement, login, children, ...props }: FooterProps) => import("react").JSX.Element>;
15
20
  export interface IFooterSubComponents {
16
- Column: typeof FooterColumn;
17
- NavLink: typeof FooterNavLink;
21
+ Column: typeof FooterColumnBridge;
22
+ NavLink: typeof FooterNavLinkBridge;
18
23
  }
19
24
  declare const FooterWithSubComponents: typeof MemoFooter & IFooterSubComponents;
20
25
  export default FooterWithSubComponents;
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
4
  component: import('react').NamedExoticComponent<import('./Footer').FooterProps> & {
5
- readonly type: ({ testId, className, disclaimer, freedomOfInformation, accessibility, cookies, privacy, slaveryStatement, children, ...props }: import('./Footer').FooterProps) => import("react").JSX.Element;
5
+ readonly type: ({ testId, className, addressFormat, showSocialLinks, disclaimer, freedomOfInformation, accessibility, cookies, privacy, slaveryStatement, login, children, ...props }: import('./Footer').FooterProps) => import("react").JSX.Element;
6
6
  } & import('./Footer').IFooterSubComponents;
7
7
  parameters: {
8
8
  layout: string;
@@ -1,4 +1,4 @@
1
- import { LinkProps } from '../..';
1
+ import { LinkProps } from '../Link';
2
2
  export declare const NAME = "ucl-uikit-footer__nav-link";
3
3
  export interface FooterNavLinkProps extends LinkProps {
4
4
  href: string;
@@ -1,4 +1,4 @@
1
- import { LinkProps } from '../..';
1
+ import { LinkProps } from '../Link';
2
2
  export declare const NAME = "ucl-uikit-footer__social-link";
3
3
  export interface SocialLinkProps extends LinkProps {
4
4
  socialNetwork: 'facebook' | 'flickr' | 'instagram' | 'soundcloud' | 'tiktok' | 'x' | 'youtube';
@@ -1,4 +1,4 @@
1
- import { LinkProps } from '../..';
1
+ import { LinkProps } from '../Link';
2
2
  export declare const NAME = "ucl-uikit-footer__nav-link";
3
3
  export interface FooterNavLinkProps extends LinkProps {
4
4
  href: string;
@@ -1,4 +1,4 @@
1
- import { LinkProps } from '../..';
1
+ import { LinkProps } from '../Link';
2
2
  export declare const NAME = "ucl-uikit-footer__social-link";
3
3
  export interface SocialLinkProps extends LinkProps {
4
4
  socialNetwork: 'bluesky' | 'instagram' | 'linkedin' | 'youtube' | 'tiktok' | 'facebook' | 'threads' | 'soundcloud';