@registrucentras/rc-ses-react-components 2.0.0-rc.4 → 2.0.0-rc.6

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 { default as IconProps } from '../IconProps';
2
- declare function WarningCircleIcon({ className, size, fillColor, ...rest }: IconProps): import("react").JSX.Element;
2
+ declare function WarningCircleIcon({ className, size, fillColor, weight, ...rest }: IconProps): import("react").JSX.Element;
3
3
  export default WarningCircleIcon;
@@ -1,6 +1,12 @@
1
1
  import { ContainerProps, AlertProps as MuiAlertProps } from '@mui/material';
2
- type Props = MuiAlertProps & {
2
+ type Props = Omit<MuiAlertProps, 'onClose'> & {
3
3
  container?: boolean | ContainerProps;
4
+ showIcon?: boolean;
5
+ showAction?: boolean;
6
+ showClose?: boolean;
7
+ actionLabel?: string;
8
+ onActionClick?: () => void;
9
+ onClose?: () => void;
4
10
  };
5
- declare function RcSesAlert({ container, children, sx, ...props }: Props): import("react").JSX.Element;
11
+ declare function RcSesAlert({ container, children, icon, showIcon, showAction, showClose, actionLabel, onActionClick, onClose, action, severity, role, 'aria-live': ariaLive, sx, ...props }: Props): import("react").JSX.Element;
6
12
  export default RcSesAlert;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  export type TitleBlockHeadingLevel = 2 | 3 | 4 | 5 | 6;
3
- export type TitleBlockTitleVariant = 'h4' | 'h5' | 'h6';
3
+ export type TitleBlockTitleVariant = 'h4' | 'h5' | 'h6' | 'body1';
4
4
  export type TitleBlockOrientation = 'horizontal' | 'vertical';
5
5
  export type RcSesTitleBlockTestIds = {
6
6
  root?: string;
@@ -17,6 +17,8 @@ export type RcSesTitleBlockBaseProps = {
17
17
  * Visual size of the title, independent of `headingLevel`. The semantic tag
18
18
  * (`headingLevel`) sets document structure; this sets the type scale.
19
19
  * Defaults to `h6` (18px).
20
+ * `body1` (15px) draws the title as running copy: body scale, and the
21
+ * type scale's own weight instead of the card-header one.
20
22
  */
21
23
  titleVariant?: TitleBlockTitleVariant;
22
24
  /**