@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.
- package/CHANGELOG.md +13 -0
- package/__flow__/Button/styles.js +9 -3
- package/__flow__/EnumIllustrationNames.js +1 -1
- package/__flow__/EnumLogoNames.js +1 -1
- package/__flow__/IllustrationViewBoxes.js +1 -1
- package/__flow__/LogoViewBoxes.js +1 -1
- package/__flow__/PartnerLogo/TypePartnerNames.js +1 -0
- package/__flow__/PartnerLogo/index.stories.js +1 -0
- package/__flow__/PartnerLogo/partnerLogos/bigcommerce-dark.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/bigcommerce.svg +3 -0
- package/__flow__/SpotIllustration/illustrationNames.js +1 -0
- package/__flow__/SpotIllustration/spotIllustrations/browser-doc.svg +10 -0
- package/__flow__/themes/dark/theme.js +1 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/__flow__/utils/useInteractiveColor.js +1 -2
- package/commonjs/Button/styles.js +1 -1
- package/commonjs/IllustrationViewBoxes.js +1 -0
- package/commonjs/LogoViewBoxes.js +2 -0
- package/commonjs/SpotIllustration/illustrationNames.js +1 -1
- package/commonjs/themes/dark/theme.js +2 -1
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/dist/illustration.svg +1 -1
- package/dist/illustrationList.js +1 -1
- package/dist/logo.svg +1 -1
- package/dist/logoList.js +1 -1
- package/dist/themes/dark/theme.scss +2 -1
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +12 -1
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +10 -0
- package/lib/Button/styles.js +1 -1
- package/lib/IllustrationViewBoxes.js +1 -0
- package/lib/LogoViewBoxes.js +2 -0
- package/lib/SpotIllustration/illustrationNames.js +1 -1
- package/lib/themes/dark/theme.js +2 -1
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/lib/utils/useInteractiveColor.js +1 -1
- 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": (
|
package/lib/Button/styles.js
CHANGED
|
@@ -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;
|
|
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"}
|
package/lib/LogoViewBoxes.js
CHANGED
|
@@ -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"];
|
package/lib/themes/dark/theme.js
CHANGED
|
@@ -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()) {
|