@apolitical/component-library 4.7.5-test.0 → 4.7.6

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 (36) hide show
  1. package/discussion/components/index.d.ts +1 -0
  2. package/discussion/components/post/post.d.ts +9 -1
  3. package/discussion/components/profile-modal-launcher/index.d.ts +1 -0
  4. package/discussion/components/profile-modal-launcher/profile-modal-launcher.d.ts +7 -0
  5. package/discussion/components/profile-modal-launcher/profile-modal-launcher.mock.d.ts +24 -0
  6. package/discussion/feeds/activities-feed/activities-feed.d.ts +5 -0
  7. package/discussion/feeds/activities-feed/cache/hooks/index.d.ts +2 -0
  8. package/discussion/feeds/activities-feed/cache/hooks/pin/index.d.ts +1 -0
  9. package/discussion/feeds/activities-feed/cache/hooks/pin/pin.hook.d.ts +7 -0
  10. package/discussion/feeds/activities-feed/cache/hooks/unpin/index.d.ts +1 -0
  11. package/discussion/feeds/activities-feed/cache/hooks/unpin/unpin.hook.d.ts +8 -0
  12. package/discussion/feeds/activities-feed/mocks/activities-feed.mock.d.ts +36 -3
  13. package/discussion/feeds/replies-feed/replies-feed.d.ts +4 -1
  14. package/discussion/sections/activity-section/activity-section.d.ts +5 -2
  15. package/discussion/sections/activity-section/cache/hooks/index.d.ts +2 -0
  16. package/discussion/sections/activity-section/cache/hooks/pin/index.d.ts +1 -0
  17. package/discussion/sections/activity-section/cache/hooks/pin/pin.hook.d.ts +8 -0
  18. package/discussion/sections/activity-section/cache/hooks/unpin/index.d.ts +1 -0
  19. package/discussion/sections/activity-section/cache/hooks/unpin/unpin.hook.d.ts +8 -0
  20. package/discussion/shared/helpers/activity.helper.d.ts +2 -0
  21. package/discussion/shared/mocks/reaction.mock.d.ts +20 -0
  22. package/enums/custom-events.d.ts +1 -0
  23. package/form/components/form/form.types.d.ts +1 -1
  24. package/form/types/profile-form/profile-form.mock.d.ts +19 -0
  25. package/helpers/index.d.ts +1 -0
  26. package/helpers/intl.d.ts +5 -0
  27. package/helpers/profile-is-complete/index.d.ts +1 -0
  28. package/helpers/profile-is-complete/profile-is-complete.d.ts +3 -0
  29. package/index.js +50 -50
  30. package/index.mjs +7864 -7650
  31. package/modals/types/profile-modal/index.d.ts +1 -0
  32. package/modals/types/profile-modal/profile-modal.d.ts +2 -2
  33. package/package.json +1 -1
  34. package/style.css +1 -1
  35. package/styles/base/buttons/_icons.scss +3 -1
  36. package/styles/variables/colors/theme/_discussion.scss +2 -0
@@ -35,6 +35,7 @@ $icons: ('arrow_left', (d, d, 3, 8), (d, d, 3, 8), (d, d, 4, 7)),
35
35
  ('navigation_arrow', (d, d, 4, 10), (d, d, d, d), (14, 14, d, 10)),
36
36
  ('pencil', (d, d, d, d), (d, d, d, 11), (d, d, 3, 9)),
37
37
  ('pencil-paper', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10)),
38
+ ('pin', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10)),
38
39
  ('plus', (d, d, 4, d), (d, d, 2, d), (11, 11, 3, d)),
39
40
  ('share', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10)),
40
41
  ('share_copy-link', (30, 29, d, d), (22, 21, d, d), (d, d, d, d)),
@@ -47,4 +48,5 @@ $icons: ('arrow_left', (d, d, 3, 8), (d, d, 3, 8), (d, d, 4, 7)),
47
48
  ('star', (16, 16, 0, 0), (d, d, 0, 0), (16, 16, 0, 0)),
48
49
  ('star_empty', (16, 16, 0, 0), (d, d, 0, 0), (16, 16, 0, 0)),
49
50
  ('tick', (14, 11, 8, 10), (14, 11, 5, 8), (9, 7, 6, 6)),
50
- ('trash', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10));
51
+ ('trash', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10)),
52
+ ('unpin', (22, 22, 0, 10), (18, 18, 1, d), (d, d, 3, 10));
@@ -18,7 +18,9 @@ $discussion: (
18
18
  discussion-form_label: get-map($c, 'n700'),
19
19
  discussion-form_placeholder: get-map($c, 'n500'),
20
20
  discussion-form_small: get-map($c, 'n700'),
21
+ discussion-pin_bg: get-map($c, 'n700'),
21
22
  discussion-post_bg: get-map($c, 'white'),
23
+ discussion-post-pinned_bg: get-map($c, 'n50'),
22
24
  discussion-post-border: get-map($c, 'n100'),
23
25
  discussion-post-hover-shadow: rgb(42 49 65 / 10%),
24
26
  discussion-question_bg: get-map($c, 'sand'),