@sproutsocial/racine 9.0.2 → 9.0.3

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - a9a06a6: Added aliases for sentiment colors
8
+
3
9
  ## 9.0.2
4
10
 
5
11
  ### Patch Changes
@@ -53,6 +53,9 @@ const colors = {
53
53
  neutral: neutral.background,
54
54
  },
55
55
  selected: COLORS.COLOR_NEUTRAL_0,
56
+ positive_sentiment: COLORS.COLOR_BLUE_500,
57
+ negative_sentiment: COLORS.COLOR_RED_500,
58
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_300,
56
59
  },
57
60
  border: {
58
61
  base: COLORS.COLOR_NEUTRAL_1100,
@@ -178,6 +181,9 @@ const colors = {
178
181
  danger: red.foreground,
179
182
  info: blue.foreground,
180
183
  opportunity: purple.foreground,
184
+ positive_sentiment: COLORS.COLOR_BLUE_700,
185
+ negative_sentiment: COLORS.COLOR_RED_600,
186
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_600,
181
187
  },
182
188
  form: {
183
189
  background: {
@@ -50,6 +50,9 @@ const colors = {
50
50
  neutral: neutral.background,
51
51
  },
52
52
  selected: COLORS.COLOR_NEUTRAL_800,
53
+ positive_sentiment: COLORS.COLOR_BLUE_500,
54
+ negative_sentiment: COLORS.COLOR_RED_500,
55
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_300,
53
56
  },
54
57
  border: {
55
58
  base: COLORS.COLOR_NEUTRAL_200,
@@ -175,6 +178,9 @@ const colors = {
175
178
  danger: red.foreground,
176
179
  info: blue.foreground,
177
180
  opportunity: purple.foreground,
181
+ positive_sentiment: COLORS.COLOR_BLUE_700,
182
+ negative_sentiment: COLORS.COLOR_RED_600,
183
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_600,
178
184
  },
179
185
  form: {
180
186
  background: {
@@ -30,6 +30,9 @@ type TypeContainerColors = {|
30
30
  neutral: string,
31
31
  },
32
32
  selected: string,
33
+ positive_sentiment: string,
34
+ negative_sentiment: string,
35
+ neutral_sentiment: string,
33
36
  },
34
37
  border: {
35
38
  base: string,
@@ -167,6 +170,9 @@ type TypeIconColors = {|
167
170
  danger: string,
168
171
  info: string,
169
172
  opportunity: string,
173
+ positive_sentiment: string,
174
+ negative_sentiment: string,
175
+ neutral_sentiment: string,
170
176
  },
171
177
  |};
172
178
 
@@ -54,7 +54,10 @@ var colors = _extends({}, _theme.default.colors, {
54
54
  red: _decorativePalettes.red.background,
55
55
  neutral: _decorativePalettes.neutral.background
56
56
  },
57
- selected: _seedsColor.default.COLOR_NEUTRAL_0
57
+ selected: _seedsColor.default.COLOR_NEUTRAL_0,
58
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_500,
59
+ negative_sentiment: _seedsColor.default.COLOR_RED_500,
60
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_300
58
61
  },
59
62
  border: {
60
63
  base: _seedsColor.default.COLOR_NEUTRAL_1100,
@@ -179,7 +182,10 @@ var colors = _extends({}, _theme.default.colors, {
179
182
  error: _decorativePalettes.red.foreground,
180
183
  danger: _decorativePalettes.red.foreground,
181
184
  info: _decorativePalettes.blue.foreground,
182
- opportunity: _decorativePalettes.purple.foreground
185
+ opportunity: _decorativePalettes.purple.foreground,
186
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_700,
187
+ negative_sentiment: _seedsColor.default.COLOR_RED_600,
188
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_600
183
189
  },
184
190
  form: {
185
191
  background: {
@@ -57,7 +57,10 @@ var colors = _extends({
57
57
  red: _decorativePalettes.red.background,
58
58
  neutral: _decorativePalettes.neutral.background
59
59
  },
60
- selected: _seedsColor.default.COLOR_NEUTRAL_800
60
+ selected: _seedsColor.default.COLOR_NEUTRAL_800,
61
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_500,
62
+ negative_sentiment: _seedsColor.default.COLOR_RED_500,
63
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_300
61
64
  },
62
65
  border: {
63
66
  base: _seedsColor.default.COLOR_NEUTRAL_200,
@@ -182,7 +185,10 @@ var colors = _extends({
182
185
  error: _decorativePalettes.red.foreground,
183
186
  danger: _decorativePalettes.red.foreground,
184
187
  info: _decorativePalettes.blue.foreground,
185
- opportunity: _decorativePalettes.purple.foreground
188
+ opportunity: _decorativePalettes.purple.foreground,
189
+ positive_sentiment: _seedsColor.default.COLOR_BLUE_700,
190
+ negative_sentiment: _seedsColor.default.COLOR_RED_600,
191
+ neutral_sentiment: _seedsColor.default.COLOR_NEUTRAL_600
186
192
  },
187
193
  form: {
188
194
  background: {
@@ -34,7 +34,10 @@ $dark: (
34
34
  red: #992222,
35
35
  neutral: #273333
36
36
  ),
37
- selected: #FFFFFF
37
+ selected: #FFFFFF,
38
+ positive_sentiment: #3896e3,
39
+ negative_sentiment: #f76054,
40
+ neutral_sentiment: #c8cccc
38
41
  ),
39
42
  border: (
40
43
  base: #040404,
@@ -159,7 +162,10 @@ $dark: (
159
162
  error: #ffd5d2,
160
163
  danger: #ffd5d2,
161
164
  info: #dcf2ff,
162
- opportunity: #eaeaf9
165
+ opportunity: #eaeaf9,
166
+ positive_sentiment: #2079c3,
167
+ negative_sentiment: #ed4c42,
168
+ neutral_sentiment: #6e797a
163
169
  ),
164
170
  form: (
165
171
  background: (
@@ -128,7 +128,10 @@ $default: (
128
128
  red: #ffd5d2,
129
129
  neutral: #f3f4f4
130
130
  ),
131
- selected: #364141
131
+ selected: #364141,
132
+ positive_sentiment: #3896e3,
133
+ negative_sentiment: #f76054,
134
+ neutral_sentiment: #c8cccc
132
135
  ),
133
136
  border: (
134
137
  base: #dee1e1,
@@ -253,7 +256,10 @@ $default: (
253
256
  error: #992222,
254
257
  danger: #992222,
255
258
  info: #0c5689,
256
- opportunity: #5e4eba
259
+ opportunity: #5e4eba,
260
+ positive_sentiment: #2079c3,
261
+ negative_sentiment: #ed4c42,
262
+ neutral_sentiment: #6e797a
257
263
  ),
258
264
  form: (
259
265
  background: (
@@ -40,7 +40,10 @@ var colors = _extends({}, defaultTheme.colors, {
40
40
  red: red.background,
41
41
  neutral: neutral.background
42
42
  },
43
- selected: COLORS.COLOR_NEUTRAL_0
43
+ selected: COLORS.COLOR_NEUTRAL_0,
44
+ positive_sentiment: COLORS.COLOR_BLUE_500,
45
+ negative_sentiment: COLORS.COLOR_RED_500,
46
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_300
44
47
  },
45
48
  border: {
46
49
  base: COLORS.COLOR_NEUTRAL_1100,
@@ -165,7 +168,10 @@ var colors = _extends({}, defaultTheme.colors, {
165
168
  error: red.foreground,
166
169
  danger: red.foreground,
167
170
  info: blue.foreground,
168
- opportunity: purple.foreground
171
+ opportunity: purple.foreground,
172
+ positive_sentiment: COLORS.COLOR_BLUE_700,
173
+ negative_sentiment: COLORS.COLOR_RED_600,
174
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_600
169
175
  },
170
176
  form: {
171
177
  background: {
@@ -38,7 +38,10 @@ var colors = _extends({
38
38
  red: red.background,
39
39
  neutral: neutral.background
40
40
  },
41
- selected: COLORS.COLOR_NEUTRAL_800
41
+ selected: COLORS.COLOR_NEUTRAL_800,
42
+ positive_sentiment: COLORS.COLOR_BLUE_500,
43
+ negative_sentiment: COLORS.COLOR_RED_500,
44
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_300
42
45
  },
43
46
  border: {
44
47
  base: COLORS.COLOR_NEUTRAL_200,
@@ -163,7 +166,10 @@ var colors = _extends({
163
166
  error: red.foreground,
164
167
  danger: red.foreground,
165
168
  info: blue.foreground,
166
- opportunity: purple.foreground
169
+ opportunity: purple.foreground,
170
+ positive_sentiment: COLORS.COLOR_BLUE_700,
171
+ negative_sentiment: COLORS.COLOR_RED_600,
172
+ neutral_sentiment: COLORS.COLOR_NEUTRAL_600
167
173
  },
168
174
  form: {
169
175
  background: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "9.0.2",
3
+ "version": "9.0.3",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",