@design-system-rte/react 2.2.0 → 2.3.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.
@@ -2,5 +2,5 @@ import { PaginationProps as CorePaginationProps } from '../../../../core';
2
2
  interface PaginationProps extends CorePaginationProps, React.HTMLAttributes<HTMLElement> {
3
3
  onPageChange?: (page: number) => void;
4
4
  }
5
- declare const Pagination: ({ appearance, activePage, totalPages, onPageChange, hasGoToFirst, hasGoToPrev, hasGoToNext, hasGoToLast, }: PaginationProps) => import("react").JSX.Element;
5
+ declare const Pagination: ({ appearance, activePage, totalPages, onPageChange, hasGoToFirst, hasGoToPrev, hasGoToNext, hasGoToLast, ["aria-label"]: ariaLabel, }: PaginationProps) => import("react").JSX.Element | null;
6
6
  export default Pagination;
@@ -2,5 +2,5 @@ import { SegmentProps as CoreSegmentProps } from '../../../../core/components/se
2
2
  interface SegmentProps extends CoreSegmentProps {
3
3
  onClick?: (event: React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>) => void;
4
4
  }
5
- declare const Segment: ({ id, icon, labelText, position, isSelected, onClick, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, appearance, isCompact, ...props }: SegmentProps) => import("react").JSX.Element;
5
+ declare const Segment: ({ id, icon, labelText, ariaLabel, position, isSelected, onClick, badgeCount, badgeContent, badgeIcon, badgeType, badgeSize, showBadge, appearance, isCompact, ...props }: SegmentProps) => import("react").JSX.Element;
6
6
  export default Segment;
@@ -1,6 +1,6 @@
1
1
  import { TextareaProps as CoreTextareaProps } from '../../../../core/components/textarea/textarea.interface';
2
2
  import { ChangeEvent, TextareaHTMLAttributes } from 'react';
3
- interface TextareaProps extends CoreTextareaProps, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue" | "placeholder"> {
3
+ interface TextareaProps extends CoreTextareaProps, Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue"> {
4
4
  onChange?: (event: ChangeEvent<HTMLTextAreaElement>) => void;
5
5
  }
6
6
  declare const Textarea: import('react').ForwardRefExoticComponent<TextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;