@apolitical/component-library 5.2.0-jc.0 → 5.2.0-jc.10
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/communities/members-list/index.d.ts +2 -0
- package/communities/members-list/members-list.constants.d.ts +1 -0
- package/communities/members-list/members-list.d.ts +6 -2
- package/discussion/components/likes/components/index.d.ts +1 -0
- package/discussion/components/likes/components/likes-modal/index.d.ts +1 -0
- package/discussion/components/likes/components/likes-modal/likes-modal.d.ts +17 -0
- package/discussion/components/likes/index.d.ts +1 -0
- package/discussion/components/likes/likes.d.ts +14 -3
- package/discussion/components/likes/likes.mock.d.ts +2 -0
- package/discussion/components/likes/mocks/index.d.ts +1 -0
- package/discussion/components/likes/mocks/likes-response.mock.d.ts +64 -0
- package/discussion/components/likes/tooltip.hook.d.ts +5 -0
- package/discussion/components/post/index.d.ts +1 -0
- package/discussion/components/post/post.d.ts +17 -6
- package/discussion/components/post/post.mock.d.ts +64 -0
- package/discussion/feeds/activities-feed/activities-feed.d.ts +2 -0
- package/discussion/feeds/activities-feed/cache/cache.helper.d.ts +5 -0
- package/discussion/feeds/activities-feed/mocks/activities-feed.mock.d.ts +75 -1
- package/discussion/feeds/index.d.ts +1 -0
- package/discussion/feeds/likes-feed/cache/hooks/feed/feed.hook.d.ts +1 -1
- package/discussion/feeds/likes-feed/index.d.ts +1 -0
- package/discussion/feeds/likes-feed/likes-feed.d.ts +5 -9
- package/discussion/feeds/replies-feed/cache/cache.helper.d.ts +16 -0
- package/discussion/feeds/replies-feed/nested-replies-feed/nested-replies-feed.d.ts +7 -1
- package/discussion/feeds/replies-feed/replies-feed.d.ts +14 -10
- package/discussion/index.d.ts +2 -1
- package/discussion/sections/activity-section/activity-section.d.ts +2 -0
- package/discussion/sections/activity-section/cache/hooks/read/read.hook.d.ts +1 -1
- package/discussion/shared/interfaces/activity.interface.d.ts +2 -1
- package/discussion/shared/interfaces/discussion.interface.d.ts +84 -0
- package/discussion/shared/interfaces/index.d.ts +1 -0
- package/general/link/link.d.ts +2 -2
- package/helpers/intl.d.ts +1 -1
- package/index.js +53 -53
- package/index.mjs +8518 -8288
- package/navigation/enriched-url/enriched-url.d.ts +33 -0
- package/navigation/enriched-url/enriched-url.mock.d.ts +9 -0
- package/navigation/enriched-url/index.d.ts +1 -0
- package/navigation/index.d.ts +1 -0
- package/package.json +4 -1
- package/style.css +1 -1
- package/styles/variables/colors/theme/_general.scss +1 -0
- package/styles/variables/colors/theme/_navigation.scss +4 -0
- package/text/helper-text-box/helper-text-box.d.ts +2 -2
- package/text/helper-text-box/index.d.ts +1 -0
- package/user/member/member.d.ts +3 -0
|
@@ -16,6 +16,7 @@ $general: (
|
|
|
16
16
|
time-to-complete: get-map($c, 'p500'),
|
|
17
17
|
tooltip: get-map($c, 'white'),
|
|
18
18
|
tooltip_bg: color.adjust(get-map($c, 'n900'), $alpha: -0.1),
|
|
19
|
+
tooltip_button: get-map($c, 'white'),
|
|
19
20
|
progress_tracker_line_bg: get-map($c, 'n100'),
|
|
20
21
|
progress_tracker_line_bg_active: get-map($c, 'b700'),
|
|
21
22
|
progress_tracker_dot_bg: get-map($c, 'n100'),
|
|
@@ -5,6 +5,10 @@ $c: $default-colors;
|
|
|
5
5
|
$navigation: (
|
|
6
6
|
breadcrumbs: get-map($c, 'n600'),
|
|
7
7
|
breadcrumbs_hover: get-map($c, 'b500'),
|
|
8
|
+
enriched-url_bg: get-map($c, 'white'),
|
|
9
|
+
enriched-url_small: get-map($c, 'n600'),
|
|
10
|
+
enriched-url_border: get-map($c, 'n200'),
|
|
11
|
+
enriched-url_img_bg: get-map($c, 'n100'),
|
|
8
12
|
filters: get-map($c, 'n700'),
|
|
9
13
|
filters_selected: get-map($c, 'g700'),
|
|
10
14
|
filters_active: get-map($c, 'n700'),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type IAriaLive } from '../../types';
|
|
3
3
|
export type HelperTextBoxTypes = 'default' | 'warning' | 'error' | 'success';
|
|
4
|
-
interface
|
|
4
|
+
export interface IHelperTextBoxProps {
|
|
5
5
|
/** The ID of the helper textbox */
|
|
6
6
|
id?: string;
|
|
7
7
|
/** The style of box being rendered */
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
/** Optional aria live, for screen readers */
|
|
18
18
|
'aria-live'?: IAriaLive;
|
|
19
19
|
}
|
|
20
|
-
declare const HelperTextBox: ({ type, className, heading, children, ...props }:
|
|
20
|
+
declare const HelperTextBox: ({ type, className, heading, children, ...props }: IHelperTextBoxProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export default HelperTextBox;
|
package/user/member/member.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ interface Props {
|
|
|
39
39
|
additionalContent?: false | {
|
|
40
40
|
createdAt?: Date | string;
|
|
41
41
|
didEdit?: boolean;
|
|
42
|
+
customMessage?: string;
|
|
42
43
|
};
|
|
43
44
|
/** Whether to show badges and the scope of the badge */
|
|
44
45
|
badges?: IBadgesOption;
|
|
@@ -50,6 +51,8 @@ interface Props {
|
|
|
50
51
|
variant?: 'inline' | 'card';
|
|
51
52
|
/** Whether the user details should be condensed into one line */
|
|
52
53
|
isCondensed?: boolean;
|
|
54
|
+
/** Whether to shift the additional content onto a new line after the badges. Hide the Job title + Organisation */
|
|
55
|
+
additionalContentNewLine?: boolean;
|
|
53
56
|
};
|
|
54
57
|
/** Optional functions for the wrapper */
|
|
55
58
|
functions?: {
|