@up42/up-components 4.4.0 → 4.5.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.
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { SvgIconProps } from '@mui/material';
3
+ export type LogoProps = {
4
+ variant?: 'dark' | 'light';
5
+ /**
6
+ * use isKSA to toggle between KSA and INT logo versions
7
+ */
8
+ isKSA?: boolean;
9
+ size?: 'small' | 'medium';
10
+ } & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox' | 'fontSize'>;
11
+ /**
12
+ * Documentation: https://up-components.up42.com/?path=/docs/data-display-logos--docs
13
+ */
14
+ export declare function Logo({ variant, isKSA, size, sx, ...props }: LogoProps): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ export { default as INTDark } from './int-dark.svg';
2
+ export { default as INTLight } from './int-light.svg';
3
+ export { default as KSADark } from './ksa-dark.svg';
4
+ export { default as KSALight } from './ksa-light.svg';
@@ -40,6 +40,7 @@ export { NotFound, type NotFoundProps } from './components/NotFound/NotFound';
40
40
  export { Loading, type LoadingProps } from './components/Loading/Loading';
41
41
  export { Icon, type IconProps } from './components/Icon/Icon';
42
42
  export { Illustration, type IllustrationProps } from './components/Illustration/Illustration';
43
+ export { Logo, type LogoProps } from './components/Logo/Logo';
43
44
  export { Badge, type BadgeProps } from './components/Badge/Badge';
44
45
  export { Tag, type TagProps } from './components/Tag/Tag';
45
46
  export { DateTime, type DateTimeProps } from './components/DateTime/DateTime';