@apolitical/component-library 4.8.9-jc.1 → 4.9.0

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.
@@ -28,8 +28,13 @@ interface Props {
28
28
  /** The callback to fire when the tooltip is closed */
29
29
  onClose?: () => void;
30
30
  };
31
- /** Whether the tooltip is hidden from screen readers or not */
32
- 'aria-hidden'?: boolean;
31
+ /** Optional props for accessibility */
32
+ accessibility?: {
33
+ /** Whether this should use `hidden` on content, or if screenreaders should be able to access the full text, even when the tooltip is closed, e.g. for tooltips on buttons and pills */
34
+ readToScreenreadersWhenClosed?: boolean;
35
+ /** Whether the tooltip is hidden from screen readers or not */
36
+ 'aria-hidden'?: boolean;
37
+ };
33
38
  /** The id of the tooltip */
34
39
  id?: string;
35
40
  }
package/helpers/intl.d.ts CHANGED
@@ -38,9 +38,12 @@ export declare const checkIntlPathExists: (path: string, language?: {
38
38
  card_cta_event_done: string;
39
39
  card_cta_microcourse_done: string;
40
40
  carousel_pagination_previous: string;
41
+ carousel_pagination_previousSlide: string;
41
42
  carousel_pagination_next: string;
42
- carousel_pagination_page: string;
43
- carousel_pagination_aria_live: string;
43
+ carousel_pagination_nextSlide: string;
44
+ carousel_pagination_slide: string;
45
+ carousel_pagination_ariaLive: string;
46
+ carousel_pagination_ariaLive_slide: string;
44
47
  activitySection_notFoundError: string;
45
48
  activitiesFeed_sorting_label: string;
46
49
  activitiesFeed_rankingMethod_recent: string;
@@ -50,6 +53,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
50
53
  communityDetails_viewAll: string;
51
54
  communityDetails_invite: string;
52
55
  community_joinToPost: string;
56
+ community_sortSuccess: string;
53
57
  joinCommunityButton: string;
54
58
  joinCommunityButton_short: string;
55
59
  joinCommunityButton_joining: string;