@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.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/types/components/Logo/Logo.d.ts +14 -0
- package/dist/cjs/types/global/logos/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/Logo/Logo.d.ts +14 -0
- package/dist/esm/types/global/logos/index.d.ts +4 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +15 -2
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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';
|
package/dist/index.d.ts
CHANGED
|
@@ -5046,6 +5046,19 @@ type IllustrationProps = {
|
|
|
5046
5046
|
*/
|
|
5047
5047
|
declare function Illustration({ name, size, sx, ...props }: IllustrationProps): React__default.JSX.Element;
|
|
5048
5048
|
|
|
5049
|
+
type LogoProps = {
|
|
5050
|
+
variant?: 'dark' | 'light';
|
|
5051
|
+
/**
|
|
5052
|
+
* use isKSA to toggle between KSA and INT logo versions
|
|
5053
|
+
*/
|
|
5054
|
+
isKSA?: boolean;
|
|
5055
|
+
size?: 'small' | 'medium';
|
|
5056
|
+
} & Omit<SvgIconProps, 'children' | 'inheritViewBox' | 'shapeRendering' | 'viewBox' | 'fontSize'>;
|
|
5057
|
+
/**
|
|
5058
|
+
* Documentation: https://up-components.up42.com/?path=/docs/data-display-logos--docs
|
|
5059
|
+
*/
|
|
5060
|
+
declare function Logo({ variant, isKSA, size, sx, ...props }: LogoProps): React__default.JSX.Element;
|
|
5061
|
+
|
|
5049
5062
|
type BadgeProps = MUIGlobalOmit<BadgeProps$1>;
|
|
5050
5063
|
/**
|
|
5051
5064
|
* Documentation: https://up-components.up42.com/?path=/docs/data-display-badge--docs
|
|
@@ -5359,5 +5372,5 @@ type ContextState = {
|
|
|
5359
5372
|
*/
|
|
5360
5373
|
declare const useAlert: () => ContextState;
|
|
5361
5374
|
|
|
5362
|
-
export { Alert, Avatar, Badge, Banner, Button, Checkbox, CodeInline, CodeSnippet, ContactBox, ControlButton, CopyButton, DataGrid, DateTime, Divider, DocumentationPopover, EmptyState, FormCheckbox, FormDatePicker, FormDateRangePicker, FormDateRangePickerList, FormDateTimePicker, FormInput, FormRadio, FormSelect, FormSwitch, GridContainer, GridItem, Icon, Illustration, InfoCard, InfoModal, InfoPopover, Input, Link, Loading, NotFound, PageContainer, PageHeader, Radio, Select, Slider, Switch, Tab, TabGroup, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel, Tabs, Tag, Typography, UpComponentsProvider, capitalize, copyToClipboard, formatDate, formatFileSize, formatNumber, theme, useAlert, useCursorPagination, useDebounce, useQueryParams, useRemotePagination };
|
|
5363
|
-
export type { AlertProps, AvatarProps, BadgeProps, BannerProps, ButtonProps, CheckboxProps, CodeInlineProps, CodeSnippetItemProps, CodeSnippetProps, ContactBoxProps, ControlButtonProps, CopyButtonProps, CreateAlertProps, CreateSnackbarProps, CursorPaginatedResponse, DatePickerDateType, DateRange, DateTimeProps, DividerProps, DocumentationPopoverProps, EmptyStateProps, FormCheckboxProps, FormDatePickerProps, FormDateRangePickerListProps, FormDateRangePickerProps, FormDateTimePickerProps, FormInputProps, FormRadioProps, FormSelectProps, FormSwitchProps, GridContainerProps, GridItemProps, IconProps, IllustrationProps, InfoCardProps, InfoModalProps, InfoPopoverProps, InputProps, LinkProps, LoadingProps, NotFoundProps, PageContainerProps, PageHeaderProps, PaginatedResponse, RadioProps, SelectProps, SliderProps, SwitchProps, TabGroupProps, TabProps, TableBodyProps, TableCellProps, TableContainerProps, TableFooterProps, TableHeadProps, TablePaginationProps, TableProps, TableRowProps, TableSortLabelProps, TabsProps, TagProps, TypographyProps };
|
|
5375
|
+
export { Alert, Avatar, Badge, Banner, Button, Checkbox, CodeInline, CodeSnippet, ContactBox, ControlButton, CopyButton, DataGrid, DateTime, Divider, DocumentationPopover, EmptyState, FormCheckbox, FormDatePicker, FormDateRangePicker, FormDateRangePickerList, FormDateTimePicker, FormInput, FormRadio, FormSelect, FormSwitch, GridContainer, GridItem, Icon, Illustration, InfoCard, InfoModal, InfoPopover, Input, Link, Loading, Logo, NotFound, PageContainer, PageHeader, Radio, Select, Slider, Switch, Tab, TabGroup, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel, Tabs, Tag, Typography, UpComponentsProvider, capitalize, copyToClipboard, formatDate, formatFileSize, formatNumber, theme, useAlert, useCursorPagination, useDebounce, useQueryParams, useRemotePagination };
|
|
5376
|
+
export type { AlertProps, AvatarProps, BadgeProps, BannerProps, ButtonProps, CheckboxProps, CodeInlineProps, CodeSnippetItemProps, CodeSnippetProps, ContactBoxProps, ControlButtonProps, CopyButtonProps, CreateAlertProps, CreateSnackbarProps, CursorPaginatedResponse, DatePickerDateType, DateRange, DateTimeProps, DividerProps, DocumentationPopoverProps, EmptyStateProps, FormCheckboxProps, FormDatePickerProps, FormDateRangePickerListProps, FormDateRangePickerProps, FormDateTimePickerProps, FormInputProps, FormRadioProps, FormSelectProps, FormSwitchProps, GridContainerProps, GridItemProps, IconProps, IllustrationProps, InfoCardProps, InfoModalProps, InfoPopoverProps, InputProps, LinkProps, LoadingProps, LogoProps, NotFoundProps, PageContainerProps, PageHeaderProps, PaginatedResponse, RadioProps, SelectProps, SliderProps, SwitchProps, TabGroupProps, TabProps, TableBodyProps, TableCellProps, TableContainerProps, TableFooterProps, TableHeadProps, TablePaginationProps, TableProps, TableRowProps, TableSortLabelProps, TabsProps, TagProps, TypographyProps };
|