@apolitical/component-library 4.8.8 → 4.8.9

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.
@@ -7,7 +7,7 @@ interface ButtonType extends ButtonPropsType {
7
7
  };
8
8
  component?: React.ReactNode;
9
9
  }
10
- export interface IEmptyStateBoxProps {
10
+ interface Props {
11
11
  /** Box styling */
12
12
  variant?: 'empty' | 'error';
13
13
  /** Optional text */
@@ -17,5 +17,5 @@ export interface IEmptyStateBoxProps {
17
17
  /** Additional classes */
18
18
  className?: string;
19
19
  }
20
- declare const EmptyStateBox: ({ variant, text, button, className, }: IEmptyStateBoxProps) => import("react/jsx-runtime").JSX.Element;
20
+ declare const EmptyStateBox: ({ variant, text, button, className, }: Props) => import("react/jsx-runtime").JSX.Element;
21
21
  export default EmptyStateBox;
@@ -1,2 +1 @@
1
- export type { IEmptyStateBoxProps } from './empty-state-box';
2
1
  export { default as EmptyStateBox } from './empty-state-box';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { MarkdownToJSX } from 'markdown-to-jsx';
3
- export interface IHideShowTextBoxProps {
3
+ interface Props {
4
4
  /** The language for the box text */
5
5
  locale?: string;
6
6
  /** An optional id for the box */
@@ -18,5 +18,5 @@ export interface IHideShowTextBoxProps {
18
18
  markdownOptions?: MarkdownToJSX.Options;
19
19
  children?: React.ReactNode;
20
20
  }
21
- declare const HideShowTextBox: ({ id, className, show, hide, text, markdownOptions, fadeStyle, children, }: IHideShowTextBoxProps) => import("react/jsx-runtime").JSX.Element;
21
+ declare const HideShowTextBox: ({ id, className, show, hide, text, markdownOptions, fadeStyle, children, }: Props) => import("react/jsx-runtime").JSX.Element;
22
22
  export default HideShowTextBox;
@@ -1,2 +1 @@
1
- export type { IHideShowTextBoxProps } from './hide-show-text-box';
2
1
  export { default as HideShowTextBox } from './hide-show-text-box';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export interface IHighlightedTextBoxProps {
2
+ interface Props {
3
3
  /** The style of box being rendered */
4
4
  variant?: 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'subtle' | 'subtle-alt' | 'bold' | 'muted';
5
5
  /** The name of an icon file to display at the top */
@@ -18,5 +18,5 @@ export interface IHighlightedTextBoxProps {
18
18
  /** Additional props to pass to the box */
19
19
  style?: React.CSSProperties;
20
20
  }
21
- declare const HighlightedTextBoxWrapper: ({ variant, icon, styling, className, children, ...props }: IHighlightedTextBoxProps) => import("react/jsx-runtime").JSX.Element;
21
+ declare const HighlightedTextBoxWrapper: ({ variant, icon, styling, className, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
22
22
  export default HighlightedTextBoxWrapper;
@@ -1,2 +1 @@
1
- export type { IHighlightedTextBoxProps } from './highlighted-text-box';
2
1
  export { default as HighlightedTextBox } from './highlighted-text-box';
@@ -1,2 +1 @@
1
- export type { IProfilePictureProps } from './profile-picture';
2
1
  export { default as ProfilePicture } from './profile-picture';
@@ -1,4 +1,4 @@
1
- export interface IProfilePictureProps {
1
+ interface Props {
2
2
  /** The user's name, to create initials */
3
3
  name: string;
4
4
  /** The user's image */
@@ -16,5 +16,5 @@ export interface IProfilePictureProps {
16
16
  /** Optional test ID */
17
17
  'data-testid'?: string;
18
18
  }
19
- declare const ProfilePicture: ({ className, src, name, alt, width, height, showInitials, ...props }: IProfilePictureProps) => import("react/jsx-runtime").JSX.Element;
19
+ declare const ProfilePicture: ({ className, src, name, alt, width, height, showInitials, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
20
20
  export default ProfilePicture;