@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.
- package/CHANGELOG.md +35 -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 +8 -0
- package/__flow__/SpotIllustration/index.stories.js +1 -0
- package/__flow__/SpotIllustration/spotIllustrations/asset-cards.svg +16 -0
- package/__flow__/SpotIllustration/spotIllustrations/binoculars.svg +11 -0
- package/__flow__/SpotIllustration/spotIllustrations/browser-doc.svg +10 -0
- package/__flow__/SpotIllustration/spotIllustrations/instagram-links.svg +28 -0
- package/__flow__/SpotIllustration/spotIllustrations/note.svg +6 -0
- package/__flow__/SpotIllustration/spotIllustrations/planning.svg +28 -0
- package/__flow__/SpotIllustration/spotIllustrations/publishing.svg +29 -0
- package/__flow__/SpotIllustration/spotIllustrations/workflow-steps.svg +28 -0
- package/__flow__/themes/dark/theme.js +2 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/__flow__/themes/light/theme.js +1 -0
- package/__flow__/utils/useInteractiveColor.js +1 -2
- package/commonjs/Button/styles.js +1 -1
- package/commonjs/IllustrationViewBoxes.js +9 -1
- package/commonjs/LogoViewBoxes.js +2 -0
- package/commonjs/SpotIllustration/illustrationNames.js +1 -1
- package/commonjs/themes/dark/theme.js +4 -2
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/commonjs/themes/light/theme.js +2 -1
- package/dist/icon.svg +1 -1
- 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 +4 -2
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +14 -2
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +12 -1
- package/dist/themes/light/theme.scss +2 -1
- package/lib/Button/styles.js +1 -1
- package/lib/IllustrationViewBoxes.js +9 -1
- package/lib/LogoViewBoxes.js +2 -0
- package/lib/SpotIllustration/illustrationNames.js +1 -1
- package/lib/themes/dark/theme.js +4 -2
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +5 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +5 -0
- package/lib/themes/light/theme.js +2 -1
- 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,
|
|
@@ -186,7 +187,8 @@ $theme: (
|
|
|
186
187
|
"inverse": #273333,
|
|
187
188
|
"error": #ff7f6e,
|
|
188
189
|
"background": (
|
|
189
|
-
"highlight": #944c0c
|
|
190
|
+
"highlight": #944c0c,
|
|
191
|
+
"selection": #116daa
|
|
190
192
|
)
|
|
191
193
|
),
|
|
192
194
|
"icon": (
|
|
@@ -490,6 +492,11 @@ $theme: (
|
|
|
490
492
|
"background": (
|
|
491
493
|
"base": #364141
|
|
492
494
|
)
|
|
495
|
+
),
|
|
496
|
+
"accordion": (
|
|
497
|
+
"background": (
|
|
498
|
+
"base": #162020
|
|
499
|
+
)
|
|
493
500
|
)
|
|
494
501
|
),
|
|
495
502
|
"settings": (
|
|
@@ -927,6 +934,11 @@ $theme: (
|
|
|
927
934
|
"background": (
|
|
928
935
|
"base": #364141
|
|
929
936
|
)
|
|
937
|
+
),
|
|
938
|
+
"accordion": (
|
|
939
|
+
"background": (
|
|
940
|
+
"base": #162020
|
|
941
|
+
)
|
|
930
942
|
)
|
|
931
943
|
),
|
|
932
944
|
"settings": (
|
|
@@ -186,7 +186,8 @@ $theme: (
|
|
|
186
186
|
"inverse": #FFFFFF,
|
|
187
187
|
"error": #c63434,
|
|
188
188
|
"background": (
|
|
189
|
-
"highlight": #ffe99a
|
|
189
|
+
"highlight": #ffe99a,
|
|
190
|
+
"selection": #a1d2f8
|
|
190
191
|
)
|
|
191
192
|
),
|
|
192
193
|
"icon": (
|
|
@@ -490,6 +491,11 @@ $theme: (
|
|
|
490
491
|
"background": (
|
|
491
492
|
"base": #162020
|
|
492
493
|
)
|
|
494
|
+
),
|
|
495
|
+
"accordion": (
|
|
496
|
+
"background": (
|
|
497
|
+
"base": #273333
|
|
498
|
+
)
|
|
493
499
|
)
|
|
494
500
|
),
|
|
495
501
|
"settings": (
|
|
@@ -927,6 +933,11 @@ $theme: (
|
|
|
927
933
|
"background": (
|
|
928
934
|
"base": #162020
|
|
929
935
|
)
|
|
936
|
+
),
|
|
937
|
+
"accordion": (
|
|
938
|
+
"background": (
|
|
939
|
+
"base": #273333
|
|
940
|
+
)
|
|
930
941
|
)
|
|
931
942
|
),
|
|
932
943
|
"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"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
module.exports = {
|
|
2
2
|
"abacus": "0 0 249 157",
|
|
3
3
|
"analytics-offering": "0 0 220 231",
|
|
4
|
+
"asset-cards": "0 0 331 204",
|
|
4
5
|
"astronaut": "0 0 277 298",
|
|
6
|
+
"binoculars": "0 0 269 200",
|
|
5
7
|
"brand-keyword": "0 0 240 230",
|
|
8
|
+
"browser-doc": "0 0 303 223",
|
|
6
9
|
"business": "0 0 88 56",
|
|
7
10
|
"calendar-event": "0 0 110 42",
|
|
8
11
|
"calendar-reporting": "0 0 248 182",
|
|
@@ -33,6 +36,7 @@ module.exports = {
|
|
|
33
36
|
"hands-raised": "0 0 192 176",
|
|
34
37
|
"headset": "0 0 106 54",
|
|
35
38
|
"heartbeat-connection": "0 0 335 201",
|
|
39
|
+
"instagram-links": "0 0 333 250",
|
|
36
40
|
"invoice": "0 0 171 178",
|
|
37
41
|
"jewel": "0 0 154 137",
|
|
38
42
|
"keyword-tracking": "0 0 400 232",
|
|
@@ -55,16 +59,19 @@ module.exports = {
|
|
|
55
59
|
"network-data": "0 0 369 229",
|
|
56
60
|
"no-messages-found": "0 0 272 211",
|
|
57
61
|
"no-notifications": "0 0 281 134",
|
|
62
|
+
"note": "0 0 49 47",
|
|
58
63
|
"notification": "0 0 252 194",
|
|
59
64
|
"notifications-onboarding": "0 0 352 163",
|
|
60
65
|
"organize-message": "0 0 276 220",
|
|
61
66
|
"outbox-queue": "0 0 246 176",
|
|
62
67
|
"outbox-reviews": "0 0 246 176",
|
|
63
68
|
"pdf": "0 0 36 35",
|
|
69
|
+
"planning": "0 0 251 277",
|
|
64
70
|
"podium": "0 0 106 46",
|
|
65
71
|
"pointer": "0 0 54 37",
|
|
66
72
|
"publish-assets": "0 0 336 263",
|
|
67
73
|
"publish-links": "0 0 266 252",
|
|
74
|
+
"publishing": "0 0 343 191",
|
|
68
75
|
"puzzle-piece": "0 0 56 44",
|
|
69
76
|
"question-mark": "0 0 302 191",
|
|
70
77
|
"reporting-folder": "0 0 314 247",
|
|
@@ -107,5 +114,6 @@ module.exports = {
|
|
|
107
114
|
"view-connections": "0 0 356 201",
|
|
108
115
|
"vip-list": "0 0 212 228",
|
|
109
116
|
"warning": "0 0 55 38",
|
|
110
|
-
"wifi": "0 0 55 43"
|
|
117
|
+
"wifi": "0 0 55 43",
|
|
118
|
+
"workflow-steps": "0 0 295 214"
|
|
111
119
|
};
|
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", "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"];
|
package/lib/themes/dark/theme.js
CHANGED
|
@@ -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,
|
|
@@ -169,7 +170,8 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
169
170
|
inverse: COLORS.COLOR_NEUTRAL_900,
|
|
170
171
|
error: COLORS.COLOR_RED_400,
|
|
171
172
|
background: {
|
|
172
|
-
highlight: COLORS.COLOR_YELLOW_900
|
|
173
|
+
highlight: COLORS.COLOR_YELLOW_900,
|
|
174
|
+
selection: COLORS.COLOR_BLUE_800
|
|
173
175
|
}
|
|
174
176
|
},
|
|
175
177
|
icon: {
|
|
@@ -170,7 +170,8 @@ var colors = _extends({
|
|
|
170
170
|
inverse: COLORS.COLOR_NEUTRAL_0,
|
|
171
171
|
error: COLORS.COLOR_RED_800,
|
|
172
172
|
background: {
|
|
173
|
-
highlight: COLORS.COLOR_YELLOW_200
|
|
173
|
+
highlight: COLORS.COLOR_YELLOW_200,
|
|
174
|
+
selection: COLORS.COLOR_BLUE_300
|
|
174
175
|
}
|
|
175
176
|
},
|
|
176
177
|
icon: {
|
|
@@ -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()) {
|