@apolitical/component-library 4.7.5 → 4.7.7-SW.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 (27) hide show
  1. package/discussion/components/post/post.d.ts +9 -1
  2. package/discussion/feeds/activities-feed/activities-feed.d.ts +2 -0
  3. package/discussion/feeds/activities-feed/cache/hooks/index.d.ts +2 -0
  4. package/discussion/feeds/activities-feed/cache/hooks/pin/index.d.ts +1 -0
  5. package/discussion/feeds/activities-feed/cache/hooks/pin/pin.hook.d.ts +7 -0
  6. package/discussion/feeds/activities-feed/cache/hooks/unpin/index.d.ts +1 -0
  7. package/discussion/feeds/activities-feed/cache/hooks/unpin/unpin.hook.d.ts +8 -0
  8. package/discussion/feeds/activities-feed/mocks/activities-feed.mock.d.ts +36 -3
  9. package/discussion/sections/activity-section/activity-section.d.ts +1 -0
  10. package/discussion/sections/activity-section/cache/hooks/index.d.ts +2 -0
  11. package/discussion/sections/activity-section/cache/hooks/pin/index.d.ts +1 -0
  12. package/discussion/sections/activity-section/cache/hooks/pin/pin.hook.d.ts +8 -0
  13. package/discussion/sections/activity-section/cache/hooks/unpin/index.d.ts +1 -0
  14. package/discussion/sections/activity-section/cache/hooks/unpin/unpin.hook.d.ts +8 -0
  15. package/discussion/shared/helpers/activity.helper.d.ts +2 -0
  16. package/discussion/shared/mocks/reaction.mock.d.ts +20 -0
  17. package/helpers/intl.d.ts +2 -0
  18. package/index.js +51 -51
  19. package/index.mjs +8777 -8630
  20. package/navigation/tabs/tabs.d.ts +6 -0
  21. package/navigation/tabs/tabs.mocks.d.ts +11 -0
  22. package/package.json +1 -1
  23. package/sections/edit-section/edit-section.d.ts +3 -1
  24. package/style.css +1 -1
  25. package/styles/base/buttons/_icons.scss +3 -1
  26. package/styles/variables/colors/theme/_discussion.scss +2 -0
  27. package/styles/variables/colors/theme/_text.scss +1 -1
@@ -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'),
@@ -44,7 +44,7 @@ $text: (
44
44
  page-heading_bg:
45
45
  linear-gradient(180deg, get-map($c, 'n50') 0%, rgb(240 245 255 / 0%) 100%),
46
46
  page-heading_subtitle: get-map($c, 'n700'),
47
- page-user_location_text: get-map($c, 'p500'),
47
+ page-user_location_text: get-map($c, 'n600'),
48
48
  pill: get-map($c, 'n900'),
49
49
  pill_highlighted: get-map($c, 'n700'),
50
50
  pill_highlighted-light: get-map($c, 'n900'),