@sproutsocial/racine 12.16.1 → 12.18.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 (52) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/__flow__/Button/styles.js +9 -3
  3. package/__flow__/EnumIllustrationNames.js +1 -1
  4. package/__flow__/EnumLogoNames.js +1 -1
  5. package/__flow__/IllustrationViewBoxes.js +1 -1
  6. package/__flow__/LogoViewBoxes.js +1 -1
  7. package/__flow__/PartnerLogo/TypePartnerNames.js +1 -0
  8. package/__flow__/PartnerLogo/index.stories.js +1 -0
  9. package/__flow__/PartnerLogo/partnerLogos/bigcommerce-dark.svg +3 -0
  10. package/__flow__/PartnerLogo/partnerLogos/bigcommerce.svg +3 -0
  11. package/__flow__/SpotIllustration/illustrationNames.js +8 -0
  12. package/__flow__/SpotIllustration/index.stories.js +1 -0
  13. package/__flow__/SpotIllustration/spotIllustrations/asset-cards.svg +16 -0
  14. package/__flow__/SpotIllustration/spotIllustrations/binoculars.svg +11 -0
  15. package/__flow__/SpotIllustration/spotIllustrations/browser-doc.svg +10 -0
  16. package/__flow__/SpotIllustration/spotIllustrations/instagram-links.svg +28 -0
  17. package/__flow__/SpotIllustration/spotIllustrations/note.svg +6 -0
  18. package/__flow__/SpotIllustration/spotIllustrations/planning.svg +28 -0
  19. package/__flow__/SpotIllustration/spotIllustrations/publishing.svg +29 -0
  20. package/__flow__/SpotIllustration/spotIllustrations/workflow-steps.svg +28 -0
  21. package/__flow__/themes/dark/theme.js +2 -0
  22. package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  23. package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  24. package/__flow__/themes/light/theme.js +1 -0
  25. package/__flow__/utils/useInteractiveColor.js +1 -2
  26. package/commonjs/Button/styles.js +1 -1
  27. package/commonjs/IllustrationViewBoxes.js +9 -1
  28. package/commonjs/LogoViewBoxes.js +2 -0
  29. package/commonjs/SpotIllustration/illustrationNames.js +1 -1
  30. package/commonjs/themes/dark/theme.js +4 -2
  31. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  32. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  33. package/commonjs/themes/light/theme.js +2 -1
  34. package/dist/icon.svg +1 -1
  35. package/dist/illustration.svg +1 -1
  36. package/dist/illustrationList.js +1 -1
  37. package/dist/logo.svg +1 -1
  38. package/dist/logoList.js +1 -1
  39. package/dist/themes/dark/theme.scss +4 -2
  40. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +14 -2
  41. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +12 -1
  42. package/dist/themes/light/theme.scss +2 -1
  43. package/lib/Button/styles.js +1 -1
  44. package/lib/IllustrationViewBoxes.js +9 -1
  45. package/lib/LogoViewBoxes.js +2 -0
  46. package/lib/SpotIllustration/illustrationNames.js +1 -1
  47. package/lib/themes/dark/theme.js +4 -2
  48. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  49. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  50. package/lib/themes/light/theme.js +2 -1
  51. package/lib/utils/useInteractiveColor.js +1 -1
  52. package/package.json +1 -1
@@ -22,6 +22,11 @@ export const navigation = {
22
22
  base: baseLightTheme.colors.neutral[1000],
23
23
  },
24
24
  },
25
+ accordion: {
26
+ background: {
27
+ base: baseLightTheme.colors.neutral[900],
28
+ },
29
+ },
25
30
  },
26
31
  settings: {
27
32
  listItem: {
@@ -186,6 +186,7 @@ const colors = {
186
186
  error: COLORS.COLOR_RED_800,
187
187
  background: {
188
188
  highlight: COLORS.COLOR_YELLOW_200,
189
+ selection: COLORS.COLOR_BLUE_300,
189
190
  },
190
191
  },
191
192
  icon: {
@@ -1,7 +1,6 @@
1
1
  //@flow strict-local
2
2
  import { darken, lighten } from "polished";
3
3
  import { useTheme } from "styled-components";
4
- import type { TypeColors } from "../types/theme.colors.flow.js";
5
4
 
6
5
  /**
7
6
  * The useInteractiveColor hook has context of theme mode (light or dark)
@@ -9,7 +8,7 @@ import type { TypeColors } from "../types/theme.colors.flow.js";
9
8
  *
10
9
  * note: colors are limited to our theme colors
11
10
  */
12
- const useInteractiveColor = (themeColor: TypeColors): string => {
11
+ const useInteractiveColor = (themeColor: string): string => {
13
12
  // Throw error if used outside of a ThemeProvider (styled-components)
14
13
  if (!useTheme()) {
15
14
  throw new Error(
@@ -57,7 +57,7 @@ var Container = _styledComponents.default.button.withConfig({
57
57
  }, function (props) {
58
58
  return props.disabled && _mixins.disabled;
59
59
  }, function (props) {
60
- return props.appearance === "pill" && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode === "dark" ? "screen" : "multiply", _mixins.pill);
60
+ return props.appearance === "pill" && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;background-color:transparent;", " &:focus:active,&:hover{background-color:transparent;box-shadow:inset 0px 0px 0px 1px ", ";}"], _mixins.pill, props.theme.colors.button[props.appearance].border.hover);
61
61
  }, _styles.default, _systemProps.LAYOUT, _systemProps.COMMON);
62
62
 
63
63
  Container.displayName = "Button-Container";
@@ -3,8 +3,11 @@
3
3
  module.exports = {
4
4
  "abacus": "0 0 249 157",
5
5
  "analytics-offering": "0 0 220 231",
6
+ "asset-cards": "0 0 331 204",
6
7
  "astronaut": "0 0 277 298",
8
+ "binoculars": "0 0 269 200",
7
9
  "brand-keyword": "0 0 240 230",
10
+ "browser-doc": "0 0 303 223",
8
11
  "business": "0 0 88 56",
9
12
  "calendar-event": "0 0 110 42",
10
13
  "calendar-reporting": "0 0 248 182",
@@ -35,6 +38,7 @@ module.exports = {
35
38
  "hands-raised": "0 0 192 176",
36
39
  "headset": "0 0 106 54",
37
40
  "heartbeat-connection": "0 0 335 201",
41
+ "instagram-links": "0 0 333 250",
38
42
  "invoice": "0 0 171 178",
39
43
  "jewel": "0 0 154 137",
40
44
  "keyword-tracking": "0 0 400 232",
@@ -57,16 +61,19 @@ module.exports = {
57
61
  "network-data": "0 0 369 229",
58
62
  "no-messages-found": "0 0 272 211",
59
63
  "no-notifications": "0 0 281 134",
64
+ "note": "0 0 49 47",
60
65
  "notification": "0 0 252 194",
61
66
  "notifications-onboarding": "0 0 352 163",
62
67
  "organize-message": "0 0 276 220",
63
68
  "outbox-queue": "0 0 246 176",
64
69
  "outbox-reviews": "0 0 246 176",
65
70
  "pdf": "0 0 36 35",
71
+ "planning": "0 0 251 277",
66
72
  "podium": "0 0 106 46",
67
73
  "pointer": "0 0 54 37",
68
74
  "publish-assets": "0 0 336 263",
69
75
  "publish-links": "0 0 266 252",
76
+ "publishing": "0 0 343 191",
70
77
  "puzzle-piece": "0 0 56 44",
71
78
  "question-mark": "0 0 302 191",
72
79
  "reporting-folder": "0 0 314 247",
@@ -109,5 +116,6 @@ module.exports = {
109
116
  "view-connections": "0 0 356 201",
110
117
  "vip-list": "0 0 212 228",
111
118
  "warning": "0 0 55 38",
112
- "wifi": "0 0 55 43"
119
+ "wifi": "0 0 55 43",
120
+ "workflow-steps": "0 0 295 214"
113
121
  };
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  module.exports = {
4
+ "bigcommerce-dark": "0 0 16 16",
5
+ "bigcommerce": "0 0 16 16",
4
6
  "bitly-dark": "0 0 140 64",
5
7
  "bitly": "0 0 140 64",
6
8
  "canva-dark": "0 0 140 140",
@@ -2,5 +2,5 @@
2
2
 
3
3
  exports.__esModule = true;
4
4
  exports.illustrationNames = void 0;
5
- var illustrationNames = ["abacus", "analytics-offering", "astronaut", "brand-keyword", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "competitors", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "grow-large", "grow", "hands-raised", "headset", "heartbeat-connection", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-sentiment", "listening-topic-templates", "listening-tour", "listening", "loading", "mailbox-empty", "mailbox-full", "message", "network-data", "no-messages-found", "no-notifications", "notification", "notifications-onboarding", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "podium", "pointer", "publish-assets", "publish-links", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "under-construction", "unsubscribe", "upward-trend", "user-task", "view-connections", "vip-list", "warning", "wifi"];
5
+ var illustrationNames = ["abacus", "analytics-offering", "asset-cards", "astronaut", "binoculars", "brand-keyword", "browser-doc", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "competitors", "compose-window", "compose", "computer-error", "connect", "contact", "conversation", "custom-branding", "customer-service", "dashboard", "exclamation-mark", "face-happy", "find-bookmark", "flask", "general-topic", "global-features", "global-trend", "grow-large", "grow", "hands-raised", "headset", "heartbeat-connection", "instagram-links", "invoice", "jewel", "keyword-tracking", "lightbulb-alt", "lightbulb", "like-conversation", "link-broken", "link-messages", "link-sections", "link-upload", "listening-pendo", "listening-sentiment", "listening-topic-templates", "listening-tour", "listening", "loading", "mailbox-empty", "mailbox-full", "message", "network-data", "no-messages-found", "no-notifications", "note", "notification", "notifications-onboarding", "organize-message", "outbox-queue", "outbox-reviews", "pdf", "planning", "podium", "pointer", "publish-assets", "publish-links", "publishing", "puzzle-piece", "question-mark", "reporting-folder", "reporting", "review-location", "review", "robot-assembly", "robot-error", "robot-happy", "rocket", "schedule-date", "schedule-messages", "search-keywords", "search-success", "search-trends", "search", "security", "sentiment", "shopping-bag", "spark-line", "stamp", "storefront", "success", "tag-message", "tag", "team-roles", "team", "telescope", "tha-mel", "thumbs-up", "toggle-switch", "toolset-strength", "tracking-time", "twitter-messages", "twitter-profiles", "under-construction", "unsubscribe", "upward-trend", "user-task", "view-connections", "vip-list", "warning", "wifi", "workflow-steps"];
6
6
  exports.illustrationNames = illustrationNames;
@@ -125,7 +125,8 @@ var colors = _extends({}, _theme.default.colors, {
125
125
  active: _seedsColor.default.COLOR_NEUTRAL_900
126
126
  },
127
127
  border: {
128
- base: "transparent"
128
+ base: "transparent",
129
+ hover: _seedsColor.default.COLOR_NEUTRAL_0
129
130
  },
130
131
  text: {
131
132
  base: _seedsColor.default.COLOR_NEUTRAL_100,
@@ -184,7 +185,8 @@ var colors = _extends({}, _theme.default.colors, {
184
185
  inverse: _seedsColor.default.COLOR_NEUTRAL_900,
185
186
  error: _seedsColor.default.COLOR_RED_400,
186
187
  background: {
187
- highlight: _seedsColor.default.COLOR_YELLOW_900
188
+ highlight: _seedsColor.default.COLOR_YELLOW_900,
189
+ selection: _seedsColor.default.COLOR_BLUE_800
188
190
  }
189
191
  },
190
192
  icon: {
@@ -29,6 +29,11 @@ var navigation = {
29
29
  background: {
30
30
  base: _theme.default.colors.neutral[800]
31
31
  }
32
+ },
33
+ accordion: {
34
+ background: {
35
+ base: _theme.default.colors.neutral[1000]
36
+ }
32
37
  }
33
38
  },
34
39
  settings: {
@@ -29,6 +29,11 @@ var navigation = {
29
29
  background: {
30
30
  base: _theme.default.colors.neutral[1000]
31
31
  }
32
+ },
33
+ accordion: {
34
+ background: {
35
+ base: _theme.default.colors.neutral[900]
36
+ }
32
37
  }
33
38
  },
34
39
  settings: {
@@ -189,7 +189,8 @@ var colors = _extends({
189
189
  inverse: _seedsColor.default.COLOR_NEUTRAL_0,
190
190
  error: _seedsColor.default.COLOR_RED_800,
191
191
  background: {
192
- highlight: _seedsColor.default.COLOR_YELLOW_200
192
+ highlight: _seedsColor.default.COLOR_YELLOW_200,
193
+ selection: _seedsColor.default.COLOR_BLUE_300
193
194
  }
194
195
  },
195
196
  icon: {