@apolitical/component-library 3.2.0-beta.1 → 3.2.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.
Files changed (68) hide show
  1. package/accessibility/visually-hidden/visually-hidden.d.ts +1 -3
  2. package/banners/index.d.ts +0 -1
  3. package/{text/content-type-label/content-type-label.helpers.d.ts → cards/card/card.helpers.d.ts} +1 -1
  4. package/cards/cards.types.d.ts +1 -3
  5. package/cards/mocks/mocks.helpers.d.ts +0 -16
  6. package/constants/index.d.ts +0 -1
  7. package/general/index.d.ts +0 -2
  8. package/general/link/link.d.ts +0 -2
  9. package/helpers/cases.d.ts +0 -2
  10. package/helpers/intl.d.ts +1 -378
  11. package/index.d.ts +1 -3
  12. package/index.js +18 -18
  13. package/index.mjs +5520 -6071
  14. package/loaders/progress-bar/progress-bar.d.ts +1 -11
  15. package/modals/invite-modal/invite-modal.d.ts +2 -2
  16. package/navigation/load-more/load-more.d.ts +1 -2
  17. package/package.json +1 -1
  18. package/sections/full-width-section/full-width-section.d.ts +0 -2
  19. package/sections/logo-section/logo-section.d.ts +1 -11
  20. package/style.css +1 -1
  21. package/styles/base/_layout.scss +9 -3
  22. package/styles/base/_lists.scss +1 -29
  23. package/styles/base/_text.scss +1 -1
  24. package/styles/base/_titles.scss +0 -14
  25. package/styles/base/buttons/_button-wrapper.scss +0 -2
  26. package/styles/base/buttons/_icons.scss +0 -9
  27. package/styles/variables/colors/theme/_banners.scss +0 -8
  28. package/styles/variables/colors/theme/_base.scss +0 -2
  29. package/styles/variables/colors/theme/_general.scss +0 -2
  30. package/styles/variables/colors/theme/_index.scss +4 -5
  31. package/styles/variables/colors/theme/_layout.scss +0 -1
  32. package/styles/variables/colors/theme/_loaders.scss +0 -4
  33. package/styles/variables/colors/theme/_text.scss +0 -12
  34. package/styles/variables/sizes/_common.scss +3 -0
  35. package/text/collapsible-section/collapsible-section.d.ts +4 -4
  36. package/text/highlighted-text-box/highlighted-text-box.d.ts +2 -9
  37. package/text/index.d.ts +0 -2
  38. package/text/markdown-text/components/div/div.d.ts +1 -1
  39. package/text/markdown-text/markdown-text.d.ts +1 -5
  40. package/text/pill/pill.d.ts +1 -1
  41. package/banners/custom-content-banner/custom-content-banner.d.ts +0 -13
  42. package/banners/custom-content-banner/index.d.ts +0 -1
  43. package/constants/courses.d.ts +0 -5
  44. package/courses/course-progression/course-progression.d.ts +0 -7
  45. package/courses/course-progression/course-progression.types.d.ts +0 -28
  46. package/courses/course-progression/index.d.ts +0 -1
  47. package/courses/course-structure/course-structure.d.ts +0 -3
  48. package/courses/course-structure/course-structure.mock.d.ts +0 -122
  49. package/courses/course-structure/course-structure.types.d.ts +0 -55
  50. package/courses/course-structure/index.d.ts +0 -1
  51. package/courses/index.d.ts +0 -5
  52. package/courses/lesson-name/index.d.ts +0 -1
  53. package/courses/lesson-name/lesson-name.d.ts +0 -19
  54. package/courses/lesson-type/index.d.ts +0 -1
  55. package/courses/lesson-type/lesson-type.d.ts +0 -10
  56. package/courses/mark-complete-button/index.d.ts +0 -1
  57. package/courses/mark-complete-button/mark-complete-button.d.ts +0 -7
  58. package/general/table-of-contents/index.d.ts +0 -1
  59. package/general/table-of-contents/table-of-contents.d.ts +0 -16
  60. package/general/time-to-complete/index.d.ts +0 -1
  61. package/general/time-to-complete/time-to-complete.d.ts +0 -14
  62. package/styles/variables/colors/theme/_courses.scss +0 -22
  63. package/text/collapsible-section/accordian.d.ts +0 -15
  64. package/text/content-type-label/content-type-label.d.ts +0 -14
  65. package/text/content-type-label/content-type-label.types.d.ts +0 -1
  66. package/text/content-type-label/index.d.ts +0 -2
  67. package/text/icon-bulleted-list/icon-bulleted-list.d.ts +0 -31
  68. package/text/icon-bulleted-list/index.d.ts +0 -1
@@ -10,10 +10,8 @@ interface Props {
10
10
  href?: string;
11
11
  /** `for`, for labels */
12
12
  htmlFor?: string;
13
- /** Additional classes */
14
- className?: string;
15
13
  }
16
- declare const _default: React.MemoExoticComponent<({ element, showOnFocus, children, className, ...props }: Props) => React.DetailedReactHTMLElement<{
14
+ declare const _default: React.MemoExoticComponent<({ element, showOnFocus, children, ...props }: Props) => React.DetailedReactHTMLElement<{
17
15
  className: string;
18
16
  children: React.ReactNode | JSX.Element;
19
17
  /** An `href`, for links */
@@ -1,5 +1,4 @@
1
1
  export * from './banner';
2
2
  export * from './banner-section';
3
- export * from './custom-content-banner';
4
3
  export * from './highlight-section';
5
4
  export * from './marketing-block';
@@ -1,4 +1,4 @@
1
- import { CustomIconType } from './content-type-label.types';
1
+ import { CustomIconType } from '../../cards/cards.types';
2
2
  export declare const fileNames: {
3
3
  [key in CustomIconType]?: string;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { ResponsiveImageType } from '../general';
2
- import { CustomIconType } from '../text';
3
2
  import { MemberProps } from '../user';
4
3
  export type CardContentType = 'customCard' | 'event' | 'learningHub' | 'listPage' | 'microcourse' | 'people' | 'qaQuestion' | 'solutionArticle';
4
+ export type CustomIconType = 'calendar' | 'cube' | 'document' | 'download' | 'globe' | 'graduationCap' | 'link' | 'person' | 'star' | 'speech';
5
5
  export interface CardCTAType {
6
6
  /** The text to show on the CTA button - different content types have different fallbacks */
7
7
  text?: string;
@@ -46,8 +46,6 @@ export interface CardType {
46
46
  customIcon?: CustomIconType;
47
47
  /** The label to use */
48
48
  customLabel?: string;
49
- /** The link to use */
50
- customLinkText?: string;
51
49
  /** Event cards */
52
50
  /** The date the event starts */
53
51
  startDate?: string;
@@ -95,7 +95,6 @@ export declare const cardMapper: {
95
95
  shortQuestion?: undefined;
96
96
  longQuestion?: undefined;
97
97
  people?: undefined;
98
- customLink?: undefined;
99
98
  learningHub?: undefined;
100
99
  custom?: undefined;
101
100
  } | {
@@ -180,7 +179,6 @@ export declare const cardMapper: {
180
179
  shortQuestion?: undefined;
181
180
  longQuestion?: undefined;
182
181
  people?: undefined;
183
- customLink?: undefined;
184
182
  learningHub?: undefined;
185
183
  custom?: undefined;
186
184
  } | {
@@ -298,7 +296,6 @@ export declare const cardMapper: {
298
296
  shortQuestion?: undefined;
299
297
  longQuestion?: undefined;
300
298
  people?: undefined;
301
- customLink?: undefined;
302
299
  learningHub?: undefined;
303
300
  custom?: undefined;
304
301
  } | {
@@ -333,7 +330,6 @@ export declare const cardMapper: {
333
330
  shortQuestion?: undefined;
334
331
  longQuestion?: undefined;
335
332
  people?: undefined;
336
- customLink?: undefined;
337
333
  learningHub?: undefined;
338
334
  custom?: undefined;
339
335
  } | {
@@ -405,7 +401,6 @@ export declare const cardMapper: {
405
401
  multipleSpeakers?: undefined;
406
402
  list?: undefined;
407
403
  people?: undefined;
408
- customLink?: undefined;
409
404
  learningHub?: undefined;
410
405
  custom?: undefined;
411
406
  } | {
@@ -417,15 +412,6 @@ export declare const cardMapper: {
417
412
  profile: string;
418
413
  slug: string;
419
414
  };
420
- customLink: {
421
- slug: string;
422
- customLinkText: string;
423
- contentType: string;
424
- title: string;
425
- text: string;
426
- secondaryText: string;
427
- profile: string;
428
- };
429
415
  oneAuthor?: undefined;
430
416
  twoAuthors?: undefined;
431
417
  multipleAuthors?: undefined;
@@ -473,7 +459,6 @@ export declare const cardMapper: {
473
459
  shortQuestion?: undefined;
474
460
  longQuestion?: undefined;
475
461
  people?: undefined;
476
- customLink?: undefined;
477
462
  custom?: undefined;
478
463
  } | {
479
464
  custom: {
@@ -508,7 +493,6 @@ export declare const cardMapper: {
508
493
  shortQuestion?: undefined;
509
494
  longQuestion?: undefined;
510
495
  people?: undefined;
511
- customLink?: undefined;
512
496
  learningHub?: undefined;
513
497
  };
514
498
  };
@@ -1,4 +1,3 @@
1
1
  export * from './assets';
2
2
  export * from './contact-details';
3
- export * from './courses';
4
3
  export * from './number-of-users';
@@ -4,6 +4,4 @@ export * from './image-container';
4
4
  export * from './link';
5
5
  export * from './responsive-image';
6
6
  export * from './return-to-nav-button';
7
- export * from './table-of-contents';
8
- export * from './time-to-complete';
9
7
  export * from './tooltip';
@@ -22,8 +22,6 @@ interface Props {
22
22
  ariaLabel?: string;
23
23
  /** Test id for link */
24
24
  'data-testid'?: string;
25
- /** Data attributes for the link */
26
- 'data-before'?: string;
27
25
  }
28
26
  declare const Link: ({ href, children, fallbackElement, className, onClick, gtmContext, gtmType, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
29
27
  export default Link;
@@ -1,3 +1 @@
1
1
  export declare const camelCaseToDashCase: (str: string) => string;
2
- export declare const toCamelCase: (str?: string) => string;
3
- export declare const toSentenceCase: (str?: string) => string;
package/helpers/intl.d.ts CHANGED
@@ -1,381 +1,4 @@
1
- export declare const checkIntlPathExists: (path: string, language?: {
2
- apolitical: string;
3
- dates_now: string;
4
- dates_hours: string;
5
- dates_days: string;
6
- dates_weeks: string;
7
- dates_years: string;
8
- card_carousel_viewAll: string;
9
- card_bootcamp: string;
10
- card_ended: string;
11
- card_registered: string;
12
- card_answers: string;
13
- card_time_ago: string;
14
- card_time_read: string;
15
- card_watch: string;
16
- card_cta_people: string;
17
- card_cta_event: string;
18
- card_cta_microcourse: string;
19
- card_cta_event_loading: string;
20
- card_cta_microcourse_loading: string;
21
- card_cta_event_done: string;
22
- card_cta_microcourse_done: string;
23
- carousel_pagination_previous: string;
24
- carousel_pagination_next: string;
25
- carousel_pagination_page: string;
26
- activitySection_notFoundError: string;
27
- communityDetails_members: string;
28
- communityDetails_viewAll: string;
29
- communityDetails_invite: string;
30
- community_joinToPost: string;
31
- joinCommunityButton: string;
32
- joinCommunityButton_short: string;
33
- joinCommunityButton_joining: string;
34
- joinCommunityButton_member: string;
35
- joinCommunityButton_member_aria: string;
36
- joinCommunityButton_leave: string;
37
- joinCommunityButton_leaving: string;
38
- member_apolitical: string;
39
- member_community: string;
40
- membersList: string;
41
- membersList_admin: string;
42
- courseStructure_section: string;
43
- courseStructure_section_end: string;
44
- courseStructure_time_left: string;
45
- courseStructure_time_completed: string;
46
- courseProgression_done: string;
47
- courseProgression_timeLeft: string;
48
- 'lessonType_analyse-data': string;
49
- 'lessonType_analyse-scenarios': string;
50
- 'lessonType_attend-webinar': string;
51
- 'lessonType_brainstorm-ideas': string;
52
- 'lessonType_discuss-with-peers': string;
53
- 'lessonType_discuss-with-team': string;
54
- 'lessonType_do-activity': string;
55
- 'lessonType_do-assessment': string;
56
- 'lessonType_explore-casebook': string;
57
- 'lessonType_fill-out-workbook': string;
58
- 'lessonType_fill-out-worksheet': string;
59
- 'lessonType_investigate-interview': string;
60
- 'lessonType_listen-to-audio': string;
61
- 'lessonType_listen-to-audiocast': string;
62
- 'lessonType_listen-to-podcast': string;
63
- 'lessonType_read-article': string;
64
- 'lessonType_read-article-by-expert': string;
65
- 'lessonType_read-article-by-public-servant': string;
66
- 'lessonType_read-conclusion': string;
67
- 'lessonType_read-infographic': string;
68
- 'lessonType_read-introduction': string;
69
- 'lessonType_read-resource': string;
70
- 'lessonType_reflect-on-content': string;
71
- 'lessonType_share-experiences': string;
72
- 'lessonType_take-quiz': string;
73
- 'lessonType_use-toolkit': string;
74
- 'lessonType_watch-video': string;
75
- 'lessonType_watch-webinar': string;
76
- markCompleteButton: string;
77
- markCompleteButton_completed: string;
78
- discussion_action_answer: string;
79
- discussion_action_comment: string;
80
- discussion_action_post: string;
81
- discussion_action_response: string;
82
- discussion_action_reply: string;
83
- discussion_action_question: string;
84
- discussion_edited: string;
85
- discussion_delete_title: string;
86
- discussion_delete_text: string;
87
- discussion_delete_cancel: string;
88
- discussion_delete_delete: string;
89
- discussion_delete_error: string;
90
- discussion_reply: string;
91
- discussion_report_subject: string;
92
- discussion_report_body: string;
93
- discussion_form_title: string;
94
- discussion_form_placeholder: string;
95
- discussion_form_label: string;
96
- discussion_form_explainer: string;
97
- discussion_form_success: string;
98
- discussion_form_post: string;
99
- discussion_form_posting: string;
100
- discussion_form_save: string;
101
- discussion_form_saving: string;
102
- discussion_form_cancel: string;
103
- discussion_form_submitting: string;
104
- discussion_form_placeholder_post: string;
105
- discussion_form_error: string;
106
- discussion_form_error_tooLong: string;
107
- discussion_form_error_tooMany: string;
108
- discussion_form_error_loggedOut: string;
109
- discussion_form_error_noPermission: string;
110
- discussion_form_error_alreadyExists: string;
111
- discussion_form_title_question: string;
112
- discussion_form_placeholder_question: string;
113
- discussion_form_explainer_question: string;
114
- discussion_likes: string;
115
- discussion_likes_short: string;
116
- discussion_likes_more: string;
117
- discussion_likes_like: string;
118
- discussion_likes_unlike: string;
119
- discussion_moreMenu_edit: string;
120
- discussion_moreMenu_delete: string;
121
- discussion_moreMenu_report: string;
122
- discussion_comments_screenReader: string;
123
- discussion_comments: string;
124
- discussion_responses_answer: string;
125
- discussion_responses_comment: string;
126
- discussion_responses_title: string;
127
- discussion_responses_empty: string;
128
- discussion_responses_empty_answer: string;
129
- discussion_responses_placeholder: string;
130
- discussion_thread_show: string;
131
- discussion_thread_hide: string;
132
- discussion_thread_loadMore: string;
133
- contactFooter_title: string;
134
- contactFooter_text: string;
135
- contactFooter_phone: string;
136
- contactFooter_email: string;
137
- contactForm_name: string;
138
- contactForm_email: string;
139
- contactForm_organisation: string;
140
- contactForm_interests: string;
141
- contactForm_interests_publishingCourse: string;
142
- contactForm_interests_buyingCourse: string;
143
- contactForm_interests_learningExperience: string;
144
- contactForm_interests_somethingElse: string;
145
- contactForm_message: string;
146
- dropdown_menu_multiselect_all: string;
147
- dropdown_menu_multiselect_none: string;
148
- emailHelperTextBox_fallback_title: string;
149
- emailHelperTextBox_fallback_text: string;
150
- emailHelperTextBox_default_title: string;
151
- emailHelperTextBox_default_text: string;
152
- emailHelperTextBox_autoApproved_title: string;
153
- emailHelperTextBox_autoApproved_text: string;
154
- emailHelperTextBox_unrecognisedEmail_title: string;
155
- emailHelperTextBox_unrecognisedEmail_text: string;
156
- emailHelperTextBox_pendingApproval_title: string;
157
- emailHelperTextBox_pendingApproval_text: string;
158
- emailHelperTextBox_emailUnverified_title: string;
159
- emailHelperTextBox_emailUnverified_text: string;
160
- emailHelperTextBox_emailAlreadyExists_title: string;
161
- emailHelperTextBox_emailAlreadyExists_text: string;
162
- emailHelperTextBox_error_verificationFailedToSend_title: string;
163
- emailHelperTextBox_error_verificationFailedToSend_text: string;
164
- emailHelperTextBox_error_noFunction: string;
165
- form_fieldWrapper_required: string;
166
- form_fieldWrapper_characterLimit: string;
167
- form_error_generalError: string;
168
- form_error_required: string;
169
- form_error_numbers: string;
170
- form_error_email: string;
171
- form_error_url: string;
172
- form_cancel: string;
173
- form_submit: string;
174
- form_submitting: string;
175
- form_submitted: string;
176
- form_success: string;
177
- inviteForm_email_placeholder: string;
178
- inviteForm_title: string;
179
- inviteForm_label: string;
180
- inviteForm_ctaMessage: string;
181
- inviteForm_success: string;
182
- inviteForm_error: string;
183
- inviteForm_ctaTryAgain: string;
184
- inviteForm_ctaSendMoreInvites: string;
185
- inviteForm_ctaDone: string;
186
- inputAutocomplete_placeholder: string;
187
- passwordRules_intro: string;
188
- passwordRules_rule_label: string;
189
- passwordRules_rule_8Characters: string;
190
- passwordRules_rule_numberSymbol: string;
191
- passwordRules_rule_lowercaseUppercase: string;
192
- passwordRules_notMet: string;
193
- profile_image_change_uploading_text: string;
194
- profile_image_change_cta_with_picture: string;
195
- profile_image_change_cta_without_picture: string;
196
- profile_image_change_error: string;
197
- ratings_text: string;
198
- ratings_stars: string;
199
- ratings_low: string;
200
- ratings_high: string;
201
- ratings_success: string;
202
- search_label: string;
203
- search_placeholder: string;
204
- search_clear: string;
205
- search_cta: string;
206
- showpassword_show: string;
207
- showpassword_hide: string;
208
- showpassword_aria_show: string;
209
- showpassword_aria_hide: string;
210
- signup_title: string;
211
- signup_full_name: string;
212
- signup_full_name_placeholder: string;
213
- signup_email_address: string;
214
- signup_email_address_placeholder: string;
215
- signup_job_title: string;
216
- signup_job_title_placeholder: string;
217
- signup_organization: string;
218
- signup_organization_placeholder: string;
219
- signup_url: string;
220
- signup_url_placeholder: string;
221
- signup_expectation: string;
222
- signup_expectation_placeholder: string;
223
- signup_terms: string;
224
- signup_error: string;
225
- signup_button_join: string;
226
- signup_button_login: string;
227
- signup_submitting: string;
228
- signup_success_title: string;
229
- signup_success_text: string;
230
- tableOfContents: string;
231
- timeToComplete_hours: string;
232
- timeToComplete_hours_short: string;
233
- timeToComplete_minutes: string;
234
- timeToComplete_minutes_short: string;
235
- timeToComplete_range: string;
236
- timeToComplete_range_aria: string;
237
- tooltip_loading: string;
238
- return_to_nav_button: string;
239
- cookieBanner_title: string;
240
- cookieBanner_text: string;
241
- cookieBanner_buttons_settings: string;
242
- cookieBanner_buttons_reject: string;
243
- cookieBanner_buttons_accept: string;
244
- footer_platform: string;
245
- footer_platform_events: string;
246
- footer_platform_courses: string;
247
- footer_platform_qanda: string;
248
- footer_platform_articles: string;
249
- footer_community: string;
250
- footer_community_support: string;
251
- footer_community_post: string;
252
- footer_community_join: string;
253
- footer_community_guidelines: string;
254
- footer_company: string;
255
- footer_company_story: string;
256
- footer_company_team: string;
257
- footer_company_careers: string;
258
- footer_company_partner: string;
259
- footer_company_contact: string;
260
- footer_legal: string;
261
- footer_legal_privacy: string;
262
- footer_legal_terms: string;
263
- footer_legal_cookie: string;
264
- footer_legal_accessibility: string;
265
- footer_legal_dataProtection: string;
266
- footer_legal_euDataProtection: string;
267
- footer_contact: string;
268
- footer_contact_correspondence: string;
269
- footer_contact_correspondence_address: string;
270
- footer_contact_registered: string;
271
- footer_contact_registered_address: string;
272
- footer_contact_berlin: string;
273
- footer_contact_berlin_address: string;
274
- footer_contact_support: string;
275
- footer_contact_business: string;
276
- footer_social_linkedin: string;
277
- footer_social_twitter: string;
278
- footer_social_facebook: string;
279
- footer_copyright: string;
280
- header_skip: string;
281
- header_search_show: string;
282
- header_search_hide: string;
283
- header_menu_show: string;
284
- header_menu_hide: string;
285
- header_home_loggedOut: string;
286
- header_home_loggedIn: string;
287
- header_topics: string;
288
- header_topics_explore: string;
289
- header_topics_explore_events: string;
290
- header_topics_explore_courses: string;
291
- 'header_topics_explore_q-and-a': string;
292
- header_topics_explore_articles: string;
293
- header_topics_topics: string;
294
- header_topics_topics_climate: string;
295
- 'header_topics_topics_cities-and-local-government': string;
296
- 'header_topics_topics_digital-and-data': string;
297
- header_topics_topics_education: string;
298
- 'header_topics_topics_equity-justice-and-inclusion': string;
299
- 'header_topics_topics_health-and-social-care': string;
300
- header_topics_topics_innovation: string;
301
- 'header_topics_topics_leadership-and-skills': string;
302
- 'header_topics_topics_life-in-government': string;
303
- header_topics_topics_policymaking: string;
304
- 'header_topics_topics_transport-and-infrastructure': string;
305
- 'header_topics_topics_work-and-the-economy': string;
306
- header_partners: string;
307
- header_account: string;
308
- header_account_show: string;
309
- header_account_hide: string;
310
- header_account_profile: string;
311
- header_account_settings: string;
312
- 'header_account_log-out': string;
313
- header_buttons_login: string;
314
- header_buttons_signup: string;
315
- pageLayout_error: string;
316
- loadingBlock_loading: string;
317
- loadingBlock_almostDone: string;
318
- loadingBlock_complete: string;
319
- progressBar: string;
320
- inviteModal_title: string;
321
- inviteModal_formTitle: string;
322
- inviteModal_formLabel: string;
323
- inviteModal_cta: string;
324
- overlay_close: string;
325
- breadcrumbs_label: string;
326
- breadcrumbs_currentPage: string;
327
- filters_all: string;
328
- filters_disabled: string;
329
- languageSwitcher_label: string;
330
- languageSwitcher_translation_original: string;
331
- languageSwitcher_translation_human: string;
332
- languageSwitcher_translation_machine: string;
333
- languageSwitcher_selected: string;
334
- languageSwitcher_disclaimer: string;
335
- loadMore_button: string;
336
- loadMore_endOfFeed: string;
337
- loadMore_error: string;
338
- moreMenu: string;
339
- navigationMenu_links_homepage: string;
340
- navigationMenu_links_events: string;
341
- navigationMenu_links_microcourses: string;
342
- 'navigationMenu_links_q-and-a': string;
343
- navigationMenu_links_articles: string;
344
- navigationMenu_profile: string;
345
- shareLinks_label: string;
346
- shareLinks_link_linkedin: string;
347
- shareLinks_link_twitter: string;
348
- shareLinks_link_facebook: string;
349
- shareLinks_link_email: string;
350
- 'shareLinks_link_clipboard-copy': string;
351
- tags_community: string;
352
- edit_section_placeholder_description: string;
353
- edit_section_placeholder_cta: string;
354
- notFoundError_title: string;
355
- notFoundError_text: string;
356
- notFoundError_post_1: string;
357
- notFoundError_post_2: string;
358
- notFoundError_post_3: string;
359
- notFoundError_cta: string;
360
- collapsibleSection_summary: string;
361
- contentTypeLabel_event: string;
362
- contentTypeLabel_learningHub: string;
363
- contentTypeLabel_listPage: string;
364
- contentTypeLabel_microcourse: string;
365
- contentTypeLabel_qaQuestion: string;
366
- contentTypeLabel_solutionArticle: string;
367
- hideShowTextBox_hide: string;
368
- hideShowTextBox_show: string;
369
- markdown_collapsibleSection_summary: string;
370
- markdown_skip_video: string;
371
- markdown_skip_padlet: string;
372
- markdown_skip_poll: string;
373
- markdown_skip: string;
374
- markdown_iframe_title: string;
375
- markdown_iframe_video: string;
376
- markdown_iframe_padlet: string;
377
- markdown_iframe_poll: string;
378
- }) => boolean;
1
+ export declare const checkIntlPathExists: (path: string) => boolean;
379
2
  export declare const getIntlPath: (callback: (args1: {
380
3
  id: string;
381
4
  }, args2?: object) => string, path: string, key: string, value: string, args?: object) => string;
package/index.d.ts CHANGED
@@ -4,7 +4,6 @@ export * from './cards';
4
4
  export * from './communities';
5
5
  export * from './constants';
6
6
  export * from './context';
7
- export * from './courses';
8
7
  export * from './discussion';
9
8
  export * from './form';
10
9
  export * from './general';
@@ -18,6 +17,5 @@ export * from './pages';
18
17
  export * from './sections';
19
18
  export * from './text';
20
19
  export * from './user';
21
- export * from './helpers/cases';
22
20
  export * from './helpers/prerender';
23
- export { basicReducer, checkIntlPathExists, generateCssIcon, getLongDate, getShortDate, passwordValidator, } from './helpers';
21
+ export { passwordValidator, generateCssIcon } from './helpers';