@tedi-design-system/react 18.1.0-rc.15 → 18.1.0-rc.16
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/bundle-stats.html +1 -1
- package/package.json +1 -1
- package/src/community/components/anchor/anchor.d.ts +1 -0
- package/src/community/components/button/button.d.ts +1 -0
- package/src/community/components/card/card-content/card-content.d.ts +3 -0
- package/src/community/components/card/card-header/card-header.d.ts +3 -0
- package/src/community/components/card/card-notification/card-notification.d.ts +3 -0
- package/src/community/components/card/card.d.ts +3 -0
- package/src/community/components/dropdown/dropdown.d.ts +3 -0
- package/src/community/components/form/choice-group/choice-group.d.ts +3 -0
- package/src/community/components/form/file-upload/file-upload.d.ts +3 -0
- package/src/community/components/form/radio/radio.d.ts +3 -0
- package/src/community/components/form/select/select.d.ts +3 -0
- package/src/community/components/form/toggle/toggle.d.ts +3 -0
- package/src/community/components/layout/header/components/header-language/header-language.d.ts +3 -0
- package/src/community/components/layout/header/components/header-role/header-role.d.ts +3 -0
- package/src/community/components/layout/header/components/sidenav-toggle/sidenav-toggle.d.ts +3 -0
- package/src/community/components/layout/header/header/header.d.ts +3 -0
- package/src/community/components/layout/sidenav/sidenav.d.ts +3 -0
- package/src/community/components/status/status.d.ts +3 -0
- package/src/community/components/table/table.d.ts +3 -0
- package/src/community/components/tag/tag.d.ts +3 -0
- package/src/community/components/toggle-open/toggle-open.d.ts +3 -0
- package/src/community/components/tooltip/tooltip-trigger.d.ts +3 -0
- package/src/community/components/tooltip/tooltip.d.ts +3 -0
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ export type AnchorComponent = <C extends React.ElementType = 'a'>(props: AnchorP
|
|
|
18
18
|
* Inherits all props from the component passed into `as`. If `as` is omitted, then the default is native `<a>` tag
|
|
19
19
|
*
|
|
20
20
|
* To allow Customized Anchor usage as direct children of Header you need to add displayName to it. <a href="/docs/components-layout-header-header-overview--header-overview#settings">See more.</a>
|
|
21
|
+
* @deprecated Use `Link` from `@tedi-design-system/react/tedi` instead.
|
|
21
22
|
*/
|
|
22
23
|
export declare const Anchor: AnchorComponent;
|
|
23
24
|
export default Anchor;
|
|
@@ -19,6 +19,7 @@ export type ButtonProps<C extends React.ElementType = 'button'> = ButtonContentP
|
|
|
19
19
|
export type ButtonComponent = <C extends React.ElementType = 'button'>(props: ButtonProps<C>) => React.ReactElement | null;
|
|
20
20
|
/**
|
|
21
21
|
* Renders a `<button>` tag and has all of its props plus our own defined props. For more info about usage of buttons see [Button](/docs/documentation-buttons-buttons--buttons) & [ButtonGroups](/docs/documentation-buttons-buttongroups--buttongroups) documentation.
|
|
22
|
+
* @deprecated Use `Button` from `@tedi-design-system/react/tedi` instead.
|
|
22
23
|
*/
|
|
23
24
|
export declare const Button: ButtonComponent;
|
|
24
25
|
export default Button;
|
|
@@ -37,6 +37,9 @@ export interface CardContentProps extends BreakpointSupport<CardContentBreakpoin
|
|
|
37
37
|
*/
|
|
38
38
|
children?: React.ReactNode;
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Use `CardContent` from `@tedi-design-system/react/tedi` instead.
|
|
42
|
+
*/
|
|
40
43
|
export declare const CardContent: {
|
|
41
44
|
(props: CardContentProps): JSX.Element;
|
|
42
45
|
displayName: string;
|
|
@@ -38,6 +38,9 @@ export type CardHeaderProps = BreakpointSupport<CardHeaderBreakpointProps> & {
|
|
|
38
38
|
export interface CardHeaderAsButton extends Partial<React.ButtonHTMLAttributes<HTMLButtonElement>> {
|
|
39
39
|
role: 'button';
|
|
40
40
|
}
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Use `CardHeader` from `@tedi-design-system/react/tedi` instead.
|
|
43
|
+
*/
|
|
41
44
|
export declare const CardHeader: {
|
|
42
45
|
(props: CardHeaderProps): JSX.Element;
|
|
43
46
|
displayName: string;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AlertProps } from '../../../../tedi/components/notifications/alert/alert';
|
|
2
2
|
import { CardContentProps } from '../card-content/card-content';
|
|
3
3
|
export type CardNotificationProps = AlertProps & Pick<CardContentProps, 'padding'>;
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use `CardNotification` from `@tedi-design-system/react/tedi` instead.
|
|
6
|
+
*/
|
|
4
7
|
export declare const CardNotification: (props: CardNotificationProps) => JSX.Element;
|
|
5
8
|
export default CardNotification;
|
|
@@ -36,5 +36,8 @@ export interface CardProps extends BreakpointSupport<CardBreakpointProps> {
|
|
|
36
36
|
*/
|
|
37
37
|
children?: React.ReactElement<CardContentProps | CardHeaderProps> | React.ReactElement<CardContentProps | CardHeaderProps>[] | React.ReactNode;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use `Card` from `@tedi-design-system/react/tedi` instead.
|
|
41
|
+
*/
|
|
39
42
|
export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
40
43
|
export default Card;
|
|
@@ -42,5 +42,8 @@ export type DropdownProps = {
|
|
|
42
42
|
*/
|
|
43
43
|
focusManager?: Omit<React.ComponentProps<typeof FloatingFocusManager>, 'context' | 'children'>;
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Use `Dropdown` from `@tedi-design-system/react/tedi` instead.
|
|
47
|
+
*/
|
|
45
48
|
export declare const Dropdown: (props: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
46
49
|
export default Dropdown;
|
|
@@ -78,5 +78,8 @@ export interface ChoiceGroupProps extends FormLabelProps {
|
|
|
78
78
|
indented?: boolean;
|
|
79
79
|
} & Partial<Omit<CheckProps, 'indeterminate' | 'checked' | 'onChange' | 'defaultChecked' | 'label'>>;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* @deprecated Use `ChoiceGroup` from `@tedi-design-system/react/tedi` instead.
|
|
83
|
+
*/
|
|
81
84
|
export declare const ChoiceGroup: (props: ChoiceGroupProps) => React.ReactElement;
|
|
82
85
|
export default ChoiceGroup;
|
|
@@ -65,5 +65,8 @@ export interface FileUploadProps extends FormLabelProps {
|
|
|
65
65
|
*/
|
|
66
66
|
maxSize?: number;
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated Use `FileUpload` from `@tedi-design-system/react/tedi` instead.
|
|
70
|
+
*/
|
|
68
71
|
export declare const FileUpload: (props: FileUploadProps) => JSX.Element;
|
|
69
72
|
export default FileUpload;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { ChoiceInputProps } from '../choice-input.types';
|
|
2
2
|
export type RadioProps = ChoiceInputProps;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `Radio` from `@tedi-design-system/react/tedi` instead.
|
|
5
|
+
*/
|
|
3
6
|
export declare const Radio: (props: RadioProps) => JSX.Element;
|
|
4
7
|
export default Radio;
|
|
@@ -233,5 +233,8 @@ export interface IGroupedOptions<CustomOption = unknown> extends GroupBase<Custo
|
|
|
233
233
|
backgroundColor?: TColorsBackground;
|
|
234
234
|
}
|
|
235
235
|
export type TSelectValue<CustomData = unknown> = ISelectOption<CustomData> | ReadonlyArray<ISelectOption<CustomData>> | null;
|
|
236
|
+
/**
|
|
237
|
+
* @deprecated Use `Select` from `@tedi-design-system/react/tedi` instead.
|
|
238
|
+
*/
|
|
236
239
|
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<SelectInstance<ISelectOption<unknown>, boolean, IGroupedOptions<ISelectOption<unknown>>>>>;
|
|
237
240
|
export default Select;
|
|
@@ -62,5 +62,8 @@ export interface ToggleProps {
|
|
|
62
62
|
*/
|
|
63
63
|
isLoading?: boolean;
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Use `Toggle` from `@tedi-design-system/react/tedi` instead.
|
|
67
|
+
*/
|
|
65
68
|
export declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
|
|
66
69
|
export default Toggle;
|
package/src/community/components/layout/header/components/header-language/header-language.d.ts
CHANGED
|
@@ -13,5 +13,8 @@ export interface HeaderLanguageProps {
|
|
|
13
13
|
*/
|
|
14
14
|
languages?: Language[];
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use `HeaderLanguage` from `@tedi-design-system/react/tedi` instead.
|
|
18
|
+
*/
|
|
16
19
|
export declare const HeaderLanguage: React.FC<HeaderLanguageProps>;
|
|
17
20
|
export default HeaderLanguage;
|
|
@@ -49,5 +49,8 @@ export interface HeaderProps<H extends React.ElementType> {
|
|
|
49
49
|
*/
|
|
50
50
|
notification?: HeaderNotificationProps;
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated Use `Header` from `@tedi-design-system/react/tedi` instead.
|
|
54
|
+
*/
|
|
52
55
|
export declare const Header: <H extends React.ElementType = "a">(props: HeaderProps<H>) => import("react/jsx-runtime").JSX.Element;
|
|
53
56
|
export default Header;
|
|
@@ -62,5 +62,8 @@ export type SideNavItem<C extends React.ElementType = 'a'> = AnchorProps<C> & {
|
|
|
62
62
|
*/
|
|
63
63
|
subItems?: SideNavItem<C>[];
|
|
64
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Use `SideNav` from `@tedi-design-system/react/tedi` instead.
|
|
67
|
+
*/
|
|
65
68
|
export declare const SideNav: <C extends React.ElementType = "a">(props: SideNavProps<C>) => import("react/jsx-runtime").JSX.Element | null;
|
|
66
69
|
export default SideNav;
|
|
@@ -16,5 +16,8 @@ export interface StatusProps {
|
|
|
16
16
|
*/
|
|
17
17
|
tooltipContent?: React.ReactNode;
|
|
18
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use `StatusIndicator` from `@tedi-design-system/react/tedi` instead.
|
|
21
|
+
*/
|
|
19
22
|
export declare const Status: (props: StatusProps) => JSX.Element;
|
|
20
23
|
export default Status;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { DefaultTData, TableProps } from './table.types';
|
|
2
2
|
export declare const PAGE_SIZE_WITHOUT_PAGINATION = 10000;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `Table` from `@tedi-design-system/react/tedi` instead.
|
|
5
|
+
*/
|
|
3
6
|
export declare function Table<TData extends DefaultTData<TData>>(props: TableProps<TData>): JSX.Element;
|
|
4
7
|
export default Table;
|
|
@@ -65,5 +65,8 @@ export interface TagProps {
|
|
|
65
65
|
*/
|
|
66
66
|
id?: string;
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated Use `Tag` from `@tedi-design-system/react/tedi` instead.
|
|
70
|
+
*/
|
|
68
71
|
export declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLDivElement>>;
|
|
69
72
|
export default Tag;
|
|
@@ -19,5 +19,8 @@ export interface ToggleOpenProps extends Omit<ButtonProps, 'children' | 'iconRig
|
|
|
19
19
|
*/
|
|
20
20
|
iconRight?: Partial<IconProps>;
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use `CollapseButton` from `@tedi-design-system/react/tedi` instead.
|
|
24
|
+
*/
|
|
22
25
|
export declare const ToggleOpen: ({ openText, closeText, isOpen, iconRight, ...rest }: ToggleOpenProps) => JSX.Element;
|
|
23
26
|
export default ToggleOpen;
|
|
@@ -4,5 +4,8 @@ export interface TooltipTriggerProps {
|
|
|
4
4
|
*/
|
|
5
5
|
children: JSX.Element;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use `TooltipTrigger` from `@tedi-design-system/react/tedi` instead.
|
|
9
|
+
*/
|
|
7
10
|
export declare const TooltipTrigger: (props: TooltipTriggerProps) => JSX.Element;
|
|
8
11
|
export default TooltipTrigger;
|
|
@@ -21,5 +21,8 @@ export interface TooltipProps {
|
|
|
21
21
|
*/
|
|
22
22
|
maxWidth?: 'none' | 'small' | 'medium' | 'large';
|
|
23
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use `Tooltip` from `@tedi-design-system/react/tedi` instead.
|
|
26
|
+
*/
|
|
24
27
|
export declare const Tooltip: (props: TooltipProps) => JSX.Element | null;
|
|
25
28
|
export default Tooltip;
|