@sproutsocial/racine 12.16.1 → 12.17.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 (39) hide show
  1. package/CHANGELOG.md +13 -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 +1 -0
  12. package/__flow__/SpotIllustration/spotIllustrations/browser-doc.svg +10 -0
  13. package/__flow__/themes/dark/theme.js +1 -0
  14. package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  15. package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  16. package/__flow__/utils/useInteractiveColor.js +1 -2
  17. package/commonjs/Button/styles.js +1 -1
  18. package/commonjs/IllustrationViewBoxes.js +1 -0
  19. package/commonjs/LogoViewBoxes.js +2 -0
  20. package/commonjs/SpotIllustration/illustrationNames.js +1 -1
  21. package/commonjs/themes/dark/theme.js +2 -1
  22. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  23. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  24. package/dist/illustration.svg +1 -1
  25. package/dist/illustrationList.js +1 -1
  26. package/dist/logo.svg +1 -1
  27. package/dist/logoList.js +1 -1
  28. package/dist/themes/dark/theme.scss +2 -1
  29. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +12 -1
  30. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +10 -0
  31. package/lib/Button/styles.js +1 -1
  32. package/lib/IllustrationViewBoxes.js +1 -0
  33. package/lib/LogoViewBoxes.js +2 -0
  34. package/lib/SpotIllustration/illustrationNames.js +1 -1
  35. package/lib/themes/dark/theme.js +2 -1
  36. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
  37. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
  38. package/lib/utils/useInteractiveColor.js +1 -1
  39. package/package.json +1 -1
@@ -127,7 +127,8 @@ $theme: (
127
127
  "active": #273333
128
128
  ),
129
129
  "border": (
130
- "base": transparent
130
+ "base": transparent,
131
+ "hover": #FFFFFF
131
132
  ),
132
133
  "text": (
133
134
  "base": #f3f4f4,
@@ -490,6 +491,11 @@ $theme: (
490
491
  "background": (
491
492
  "base": #364141
492
493
  )
494
+ ),
495
+ "accordion": (
496
+ "background": (
497
+ "base": #162020
498
+ )
493
499
  )
494
500
  ),
495
501
  "settings": (
@@ -927,6 +933,11 @@ $theme: (
927
933
  "background": (
928
934
  "base": #364141
929
935
  )
936
+ ),
937
+ "accordion": (
938
+ "background": (
939
+ "base": #162020
940
+ )
930
941
  )
931
942
  ),
932
943
  "settings": (
@@ -490,6 +490,11 @@ $theme: (
490
490
  "background": (
491
491
  "base": #162020
492
492
  )
493
+ ),
494
+ "accordion": (
495
+ "background": (
496
+ "base": #273333
497
+ )
493
498
  )
494
499
  ),
495
500
  "settings": (
@@ -927,6 +932,11 @@ $theme: (
927
932
  "background": (
928
933
  "base": #162020
929
934
  )
935
+ ),
936
+ "accordion": (
937
+ "background": (
938
+ "base": #273333
939
+ )
930
940
  )
931
941
  ),
932
942
  "settings": (
@@ -42,7 +42,7 @@ var Container = styled.button.withConfig({
42
42
  }, function (props) {
43
43
  return props.disabled && disabled;
44
44
  }, function (props) {
45
- return props.appearance === "pill" && css(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode === "dark" ? "screen" : "multiply", pill);
45
+ return props.appearance === "pill" && 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 ", ";}"], pill, props.theme.colors.button[props.appearance].border.hover);
46
46
  }, Icon, LAYOUT, COMMON);
47
47
  Container.displayName = "Button-Container";
48
48
  export default Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}
@@ -3,6 +3,7 @@ module.exports = {
3
3
  "analytics-offering": "0 0 220 231",
4
4
  "astronaut": "0 0 277 298",
5
5
  "brand-keyword": "0 0 240 230",
6
+ "browser-doc": "0 0 303 223",
6
7
  "business": "0 0 88 56",
7
8
  "calendar-event": "0 0 110 42",
8
9
  "calendar-reporting": "0 0 248 182",
@@ -1,4 +1,6 @@
1
1
  module.exports = {
2
+ "bigcommerce-dark": "0 0 16 16",
3
+ "bigcommerce": "0 0 16 16",
2
4
  "bitly-dark": "0 0 140 64",
3
5
  "bitly": "0 0 140 64",
4
6
  "canva-dark": "0 0 140 140",
@@ -1 +1 @@
1
- export 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"];
1
+ export var illustrationNames = ["abacus", "analytics-offering", "astronaut", "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", "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"];
@@ -110,7 +110,8 @@ var colors = _extends({}, lightTheme.colors, {
110
110
  active: COLORS.COLOR_NEUTRAL_900
111
111
  },
112
112
  border: {
113
- base: "transparent"
113
+ base: "transparent",
114
+ hover: COLORS.COLOR_NEUTRAL_0
114
115
  },
115
116
  text: {
116
117
  base: COLORS.COLOR_NEUTRAL_100,
@@ -20,6 +20,11 @@ export var navigation = {
20
20
  background: {
21
21
  base: baseDarkTheme.colors.neutral[800]
22
22
  }
23
+ },
24
+ accordion: {
25
+ background: {
26
+ base: baseDarkTheme.colors.neutral[1000]
27
+ }
23
28
  }
24
29
  },
25
30
  settings: {
@@ -20,6 +20,11 @@ export var navigation = {
20
20
  background: {
21
21
  base: baseLightTheme.colors.neutral[1000]
22
22
  }
23
+ },
24
+ accordion: {
25
+ background: {
26
+ base: baseLightTheme.colors.neutral[900]
27
+ }
23
28
  }
24
29
  },
25
30
  settings: {
@@ -1,12 +1,12 @@
1
1
  import { darken, lighten } from "polished";
2
2
  import { useTheme } from "styled-components";
3
-
4
3
  /**
5
4
  * The useInteractiveColor hook has context of theme mode (light or dark)
6
5
  * and can be used to lighten or darken a color dynamically
7
6
  *
8
7
  * note: colors are limited to our theme colors
9
8
  */
9
+
10
10
  var useInteractiveColor = function useInteractiveColor(themeColor) {
11
11
  // Throw error if used outside of a ThemeProvider (styled-components)
12
12
  if (!useTheme()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "12.16.1",
3
+ "version": "12.17.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",