@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.
- package/cards/card-block/card-block.d.ts +2 -2
- package/cards/card-block/index.d.ts +0 -1
- package/discussion/sections/activity-section/activity-section.d.ts +2 -2
- package/discussion/sections/activity-section/index.d.ts +0 -1
- package/form/components/form/index.d.ts +1 -1
- package/form/types/profile-form/profile-form.d.ts +3 -3
- package/layout/content-layout/columns/columns.d.ts +2 -2
- package/layout/content-layout/columns/index.d.ts +0 -1
- package/navigation/load-more/index.d.ts +1 -1
- package/navigation/load-more/load-more.d.ts +3 -3
- package/navigation/tabs/index.d.ts +0 -1
- package/navigation/tabs/tabs.d.ts +6 -6
- package/package.json +1 -1
- package/sections/edit-section/edit-section.d.ts +2 -2
- package/sections/edit-section/index.d.ts +0 -1
- package/style.css +1 -1
- package/text/empty-state-box/empty-state-box.d.ts +2 -2
- package/text/empty-state-box/index.d.ts +0 -1
- package/text/hide-show-text-box/hide-show-text-box.d.ts +2 -2
- package/text/hide-show-text-box/index.d.ts +0 -1
- package/text/highlighted-text-box/highlighted-text-box.d.ts +2 -2
- package/text/highlighted-text-box/index.d.ts +0 -1
- package/user/profile-picture/index.d.ts +0 -1
- package/user/profile-picture/profile-picture.d.ts +2 -2
|
@@ -7,7 +7,7 @@ interface ButtonType extends ButtonPropsType {
|
|
|
7
7
|
};
|
|
8
8
|
component?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
|
|
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, }:
|
|
20
|
+
declare const EmptyStateBox: ({ variant, text, button, className, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default EmptyStateBox;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MarkdownToJSX } from 'markdown-to-jsx';
|
|
3
|
-
|
|
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, }:
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
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 }:
|
|
21
|
+
declare const HighlightedTextBoxWrapper: ({ variant, icon, styling, className, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default HighlightedTextBoxWrapper;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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 }:
|
|
19
|
+
declare const ProfilePicture: ({ className, src, name, alt, width, height, showInitials, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default ProfilePicture;
|