@design-system-rte/react 1.19.0 → 2.1.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.
@@ -1,3 +1,3 @@
1
1
  import { FileUploadProps } from '../../../../core';
2
- declare const FileUpload: ({ id, compactSpacing, label, required, showLabelRequirement, disabled, assistiveTextLabel, assistiveAppearance, showAssistiveText, showAssistiveIcon, assistiveTextLink, isError, multiple, buttonLabel, accept, onChange, onUpload, errorFilesMap, onRemovingFile, }: FileUploadProps) => import("react").JSX.Element;
2
+ declare const FileUpload: ({ id, compactSpacing, label, required, showLabelRequirement, disabled, assistiveTextLabel, assistiveAppearance, showAssistiveText, showAssistiveIcon, assistiveTextLink, isError, multiple, buttonLabel, accept, onChange, onUpload, uploadErrorMessage, errorFilesMap, onRemovingFile, }: FileUploadProps) => import("react").JSX.Element;
3
3
  export default FileUpload;
@@ -1,3 +1,3 @@
1
1
  import { FileItemProps } from '../../../../../core';
2
- declare const FileItem: ({ file, removeFile, isError, errorMessage, compact, isLoading }: FileItemProps) => import("react").JSX.Element;
2
+ declare const FileItem: ({ file, removeFile, isError, errorMessage, compact, isLoading, isRemoving }: FileItemProps) => import("react").JSX.Element;
3
3
  export default FileItem;
@@ -1,6 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  type OverlayPortalProps = {
3
3
  children: ReactNode;
4
+ hasBackdrop?: boolean;
4
5
  };
5
- export declare const Overlay: ({ children }: OverlayPortalProps) => import("react").JSX.Element | null;
6
+ export declare const Overlay: ({ children, hasBackdrop }: OverlayPortalProps) => import("react").JSX.Element | null;
6
7
  export {};
@@ -1,6 +1,8 @@
1
- import { ReactNode, KeyboardEvent } from 'react';
1
+ import { KeyboardEvent, ReactNode } from 'react';
2
2
  interface NavContentWrapperProps {
3
3
  link?: string;
4
+ externalLink?: boolean;
5
+ isCollapsed?: boolean;
4
6
  label: string;
5
7
  tabIndex: number;
6
8
  onKeyDown?: (e: KeyboardEvent<HTMLElement>) => void;
@@ -13,5 +15,5 @@ interface NavContentWrapperProps {
13
15
  ariaControls?: string;
14
16
  role?: "button";
15
17
  }
16
- declare function NavContentWrapper({ link, label, tabIndex, onKeyDown, onFocus, onBlur, onClick, children, styleType, ariaExpanded, ariaControls, role, }: NavContentWrapperProps): ReactNode;
18
+ declare function NavContentWrapper({ link, externalLink, isCollapsed, label, tabIndex, onKeyDown, onFocus, onBlur, onClick, children, styleType, ariaExpanded, ariaControls, role, }: NavContentWrapperProps): ReactNode;
17
19
  export default NavContentWrapper;
@@ -3,5 +3,5 @@ import { InputHTMLAttributes } from 'react';
3
3
  interface SwitchProps extends CoreSwitchProps, InputHTMLAttributes<HTMLInputElement> {
4
4
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
5
5
  }
6
- declare const Switch: ({ label, appearance, showLabel, showIcon, disabled, readOnly, checked, defaultChecked, onChange, ...props }: SwitchProps) => import("react").JSX.Element;
6
+ declare const Switch: ({ label, appearance, showIcon, disabled, readOnly, checked, defaultChecked, onChange, ["aria-labelledby"]: ariaLabelledBy, ["aria-label"]: ariaLabel, ...props }: SwitchProps) => import("react").JSX.Element | undefined;
7
7
  export default Switch;