@apolitical/component-library 6.3.4 → 6.4.0-SW.1

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 (59) hide show
  1. package/discussion/components/conversation/conversation.d.ts +1 -1
  2. package/discussion/components/discussion-form-card/discussion-form-card.d.ts +2 -2
  3. package/discussion/components/form/components/guidelines/guidelines.d.ts +1 -1
  4. package/discussion/components/form/components/label/label.d.ts +1 -1
  5. package/discussion/components/form/form.type.d.ts +1 -2
  6. package/discussion/components/post/components/author-section/author-section.d.ts +14 -0
  7. package/discussion/components/post/components/author-section/index.d.ts +1 -0
  8. package/discussion/components/post/components/categories/categories.d.ts +5 -0
  9. package/discussion/components/post/components/categories/index.d.ts +1 -0
  10. package/discussion/components/post/components/index.d.ts +4 -0
  11. package/discussion/components/post/components/poll-content/index.d.ts +1 -0
  12. package/discussion/components/post/components/poll-content/poll-content.d.ts +11 -0
  13. package/discussion/components/post/components/post-content/index.d.ts +1 -0
  14. package/discussion/components/post/components/post-content/post-content.d.ts +15 -0
  15. package/discussion/components/post/post.d.ts +13 -5
  16. package/discussion/components/post/post.helpers.d.ts +5 -1
  17. package/discussion/feeds/activities-feed/activities-feed.d.ts +6 -2
  18. package/discussion/feeds/activities-feed/cache/hooks/create-vote/create-vote.hook.d.ts +8 -0
  19. package/discussion/feeds/activities-feed/cache/hooks/create-vote/index.d.ts +1 -0
  20. package/discussion/feeds/activities-feed/cache/hooks/index.d.ts +2 -0
  21. package/discussion/feeds/activities-feed/cache/hooks/remove-vote/index.d.ts +1 -0
  22. package/discussion/feeds/activities-feed/cache/hooks/remove-vote/remove-vote.hook.d.ts +8 -0
  23. package/discussion/feeds/replies-feed/components/nested-replies-feed/nested-replies-feed.d.ts +1 -1
  24. package/discussion/feeds/replies-feed/components/reply-item/reply-item.d.ts +1 -1
  25. package/discussion/feeds/replies-feed/replies-feed.d.ts +1 -1
  26. package/discussion/index.d.ts +1 -2
  27. package/discussion/sections/activity-section/activity-section.d.ts +1 -1
  28. package/discussion/shared/constants.d.ts +1 -0
  29. package/discussion/shared/helpers/index.d.ts +2 -1
  30. package/discussion/shared/helpers/poll.helper.d.ts +23 -0
  31. package/discussion/shared/interfaces/activity.interface.d.ts +16 -1
  32. package/discussion/shared/interfaces/discussion.interface.d.ts +15 -4
  33. package/discussion/shared/interfaces/reaction.interface.d.ts +1 -1
  34. package/form/components/character-limit/character-limit.helpers.d.ts +2 -2
  35. package/form/components/form/components/field-wrapper/field-wrapper.d.ts +1 -1
  36. package/form/components/form/components/fields/checkbox/checkbox.d.ts +9 -0
  37. package/form/components/form/components/fields/index.d.ts +1 -0
  38. package/form/components/form/components/fields/input/input.d.ts +10 -2
  39. package/form/components/form/components/fields/multiple-inputs/index.d.ts +1 -0
  40. package/form/components/form/components/fields/multiple-inputs/multiple-inputs.d.ts +3 -0
  41. package/form/components/form/components/fields/multiple-options/multiple-options.d.ts +1 -1
  42. package/form/components/form/form.helpers.d.ts +2 -0
  43. package/form/components/form/form.types.d.ts +32 -7
  44. package/form/components/rich-text-editor/components/context/context.d.ts +1 -1
  45. package/form/components/rich-text-editor/rich-text-editor.types.d.ts +1 -1
  46. package/helpers/intl.d.ts +5 -0
  47. package/helpers/replace-mention-data.d.ts +1 -1
  48. package/index.js +55 -55
  49. package/index.mjs +7685 -7243
  50. package/navigation/action-bar/action-bar.d.ts +1 -1
  51. package/navigation/action-bar/components/likes/likes.d.ts +2 -2
  52. package/package.json +1 -1
  53. package/polls/poll/index.d.ts +1 -1
  54. package/polls/poll/poll.d.ts +8 -9
  55. package/polls/poll/poll.mocks.d.ts +1 -0
  56. package/polls/poll/poll.types.d.ts +9 -0
  57. package/style.css +1 -1
  58. package/styles/base/form/_labels.scss +2 -1
  59. package/styles/variables/colors/theme/_form.scss +1 -0
package/helpers/intl.d.ts CHANGED
@@ -113,6 +113,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
113
113
  markCompleteButton_completed: string;
114
114
  discussion_action_answer: string;
115
115
  discussion_action_comment: string;
116
+ discussion_action_poll: string;
116
117
  discussion_action_post: string;
117
118
  discussion_action_response: string;
118
119
  discussion_action_reply: string;
@@ -123,6 +124,7 @@ export declare const checkIntlPathExists: (path: string, language?: {
123
124
  discussion_delete_cancel: string;
124
125
  discussion_delete_delete: string;
125
126
  discussion_delete_error: string;
127
+ discussion_pinned_post: string;
126
128
  discussion_reply: string;
127
129
  discussion_report_subject: string;
128
130
  discussion_report_body: string;
@@ -233,6 +235,9 @@ export declare const checkIntlPathExists: (path: string, language?: {
233
235
  form_submitting: string;
234
236
  form_submitted: string;
235
237
  form_success: string;
238
+ form_multipleInputs_label: string;
239
+ form_multipleInputs_filledInCount: string;
240
+ form_multipleInputs_filledInCount_aria: string;
236
241
  inviteForm_email_placeholder: string;
237
242
  inviteForm_title: string;
238
243
  inviteForm_label: string;
@@ -1,4 +1,4 @@
1
- import { IMentions } from '../discussion';
1
+ import type { IMentions } from '../discussion/shared';
2
2
  import { ListMembers } from '../form';
3
3
  declare const replaceMentionData: ({ text, template, mentions, listMembers, }: {
4
4
  text: string;