@apolitical/component-library 4.8.7-jc.6 → 4.8.8
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 +1 -0
- package/discussion/sections/activity-section/activity-section.d.ts +2 -2
- package/discussion/sections/activity-section/index.d.ts +1 -0
- package/form/components/form/index.d.ts +1 -1
- package/form/types/profile-form/profile-form.d.ts +3 -3
- package/general/buttons/button/button.d.ts +0 -1
- package/index.js +2 -2
- package/index.mjs +6 -11
- package/layout/content-layout/columns/columns.d.ts +2 -2
- package/layout/content-layout/columns/index.d.ts +1 -0
- 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 +1 -0
- 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 +1 -0
- package/sections/full-width-section/full-width-section.d.ts +0 -2
- package/style.css +1 -1
- package/styles/variables/colors/_colors.scss +0 -2
- package/styles/variables/colors/theme/_base.scss +1 -1
- package/styles/variables/colors/theme/_layout.scss +1 -1
- package/text/empty-state-box/empty-state-box.d.ts +2 -2
- package/text/empty-state-box/index.d.ts +1 -0
- package/text/hide-show-text-box/hide-show-text-box.d.ts +2 -2
- package/text/hide-show-text-box/index.d.ts +1 -0
- package/text/highlighted-text-box/highlighted-text-box.d.ts +2 -2
- package/text/highlighted-text-box/index.d.ts +1 -0
- package/user/profile-picture/index.d.ts +1 -0
- package/user/profile-picture/profile-picture.d.ts +2 -2
|
@@ -38,10 +38,8 @@ $default-colors: (
|
|
|
38
38
|
'p50': rgb(255 242 255 / 100%),
|
|
39
39
|
'p75': rgb(250 225 245 / 100%),
|
|
40
40
|
'p100': rgb(238 200 237 / 100%),
|
|
41
|
-
'p150': rgb(206 197 250 / 100%),
|
|
42
41
|
'p300': rgb(203 130 197 / 100%),
|
|
43
42
|
'p500': rgb(166 55 152 / 100%),
|
|
44
|
-
'p550': rgb(119 107 224 / 100%),
|
|
45
43
|
'p600': rgb(136 90 189 / 100%),
|
|
46
44
|
'p900': rgb(66 1 55 / 100%),
|
|
47
45
|
'y50': rgb(255 248 232 / 100%),
|
|
@@ -5,7 +5,7 @@ $c: $default-colors;
|
|
|
5
5
|
$base: (
|
|
6
6
|
default_focus: get-map($c, 'b500'),
|
|
7
7
|
background: get-map($c, 'white'),
|
|
8
|
-
highlight_bg: get-map($c, '
|
|
8
|
+
highlight_bg: get-map($c, 'g300'),
|
|
9
9
|
title: get-map($c, 'n900'),
|
|
10
10
|
title_secondary: get-map($c, 'p500'),
|
|
11
11
|
subtitle: get-map($c, 'n800'),
|
|
@@ -6,7 +6,7 @@ $layout: (
|
|
|
6
6
|
cookie-banner_bg: get-map($c, 'n50'),
|
|
7
7
|
cookie-banner_shadow: rgb(107 91 82 / 40%),
|
|
8
8
|
cookie-banner_title_border: get-map($c, 'n100'),
|
|
9
|
-
contact-footer_bg: get-map($c, '
|
|
9
|
+
contact-footer_bg: get-map($c, 'b50'),
|
|
10
10
|
contact-footer_header_underline: get-map($c, 'g300'),
|
|
11
11
|
contact-footer_link_icon: get-map($c, 'n700'),
|
|
12
12
|
contact-footer_link_hover: get-map($c, 'b500'),
|
|
@@ -7,7 +7,7 @@ interface ButtonType extends ButtonPropsType {
|
|
|
7
7
|
};
|
|
8
8
|
component?: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
interface
|
|
10
|
+
export interface IEmptyStateBoxProps {
|
|
11
11
|
/** Box styling */
|
|
12
12
|
variant?: 'empty' | 'error';
|
|
13
13
|
/** Optional text */
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
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, }: IEmptyStateBoxProps) => 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
|
-
interface
|
|
3
|
+
export interface IHideShowTextBoxProps {
|
|
4
4
|
/** The language for the box text */
|
|
5
5
|
locale?: string;
|
|
6
6
|
/** An optional id for the box */
|
|
@@ -18,5 +18,5 @@ interface Props {
|
|
|
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, }: IHideShowTextBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default HideShowTextBox;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface IHighlightedTextBoxProps {
|
|
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 @@ interface Props {
|
|
|
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 }: IHighlightedTextBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
22
|
export default HighlightedTextBoxWrapper;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface IProfilePictureProps {
|
|
2
2
|
/** The user's name, to create initials */
|
|
3
3
|
name: string;
|
|
4
4
|
/** The user's image */
|
|
@@ -16,5 +16,5 @@ interface Props {
|
|
|
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 }: IProfilePictureProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default ProfilePicture;
|