@sproutsocial/racine 12.11.0 → 12.14.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 +29 -0
- package/__flow__/Banner/index.js +47 -41
- package/__flow__/Banner/index.stories.js +2 -2
- package/__flow__/Banner/index.test.js +10 -1
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/themes/dark/theme.js +3 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +24 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +24 -0
- package/__flow__/themes/light/theme.js +5 -1
- package/__flow__/types/theme.colors.flow.js +3 -0
- package/__flow__/types/theme.flow.js +2 -0
- package/commonjs/Banner/index.js +64 -78
- package/commonjs/IconViewBoxes.js +1 -0
- package/commonjs/themes/dark/theme.js +6 -0
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +25 -1
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +25 -1
- package/commonjs/themes/light/theme.js +6 -0
- package/dist/icon.svg +1 -1
- package/dist/iconList.js +1 -1
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +44 -0
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +44 -0
- package/lib/Banner/index.js +67 -78
- package/lib/IconViewBoxes.js +1 -0
- package/lib/themes/dark/theme.js +6 -0
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +23 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +23 -0
- package/lib/themes/light/theme.js +6 -0
- package/lib/types/theme.flow.js +1 -1
- package/package.json +1 -1
|
@@ -42,6 +42,8 @@ var colors = _extends({}, _theme.default.colors, {
|
|
|
42
42
|
error: _decorativePalettes.red.background,
|
|
43
43
|
info: _decorativePalettes.blue.background,
|
|
44
44
|
opportunity: _decorativePalettes.purple.background,
|
|
45
|
+
|
|
46
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
45
47
|
danger: _decorativePalettes.red.background,
|
|
46
48
|
decorative: {
|
|
47
49
|
green: _decorativePalettes.green.background,
|
|
@@ -66,6 +68,8 @@ var colors = _extends({}, _theme.default.colors, {
|
|
|
66
68
|
success: _decorativePalettes.green.highlight,
|
|
67
69
|
warning: _decorativePalettes.yellow.highlight,
|
|
68
70
|
error: _decorativePalettes.red.highlight,
|
|
71
|
+
|
|
72
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
69
73
|
danger: _decorativePalettes.red.highlight,
|
|
70
74
|
info: _decorativePalettes.blue.highlight,
|
|
71
75
|
opportunity: _decorativePalettes.purple.highlight,
|
|
@@ -189,6 +193,8 @@ var colors = _extends({}, _theme.default.colors, {
|
|
|
189
193
|
success: _decorativePalettes.green.foreground,
|
|
190
194
|
warning: _decorativePalettes.yellow.foreground,
|
|
191
195
|
error: _decorativePalettes.red.foreground,
|
|
196
|
+
|
|
197
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
192
198
|
danger: _decorativePalettes.red.foreground,
|
|
193
199
|
info: _decorativePalettes.blue.foreground,
|
|
194
200
|
opportunity: _decorativePalettes.purple.foreground,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.navigation = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
|
|
4
|
+
exports.navigation = exports.listening = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
|
|
5
5
|
|
|
6
6
|
var _polished = require("polished");
|
|
7
7
|
|
|
@@ -81,6 +81,29 @@ var analytics = {
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
exports.analytics = analytics;
|
|
84
|
+
var listening = {
|
|
85
|
+
topicTypes: {
|
|
86
|
+
customTopic: _theme.default.colors.teal[400],
|
|
87
|
+
brandHealth: _theme.default.colors.red[400],
|
|
88
|
+
industryInsights: _theme.default.colors.green[400],
|
|
89
|
+
competitiveAnalysis: _theme.default.colors.yellow[400],
|
|
90
|
+
campaignAnalysis: _theme.default.colors.magenta[400],
|
|
91
|
+
eventMonitoring: _theme.default.colors.aqua[400],
|
|
92
|
+
featuredTopic: _theme.default.colors.green[400]
|
|
93
|
+
},
|
|
94
|
+
worldMap: {
|
|
95
|
+
empty: _theme.default.colors.neutral[200],
|
|
96
|
+
q0: _theme.default.colors.purple[200],
|
|
97
|
+
q1: _theme.default.colors.purple[300],
|
|
98
|
+
q2: _theme.default.colors.purple[400],
|
|
99
|
+
q3: _theme.default.colors.purple[500],
|
|
100
|
+
q4: _theme.default.colors.purple[600],
|
|
101
|
+
q5: _theme.default.colors.purple[700],
|
|
102
|
+
q6: _theme.default.colors.purple[800],
|
|
103
|
+
q7: _theme.default.colors.purple[900]
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
exports.listening = listening;
|
|
84
107
|
var growth = {
|
|
85
108
|
education: {
|
|
86
109
|
decorative: {
|
|
@@ -167,6 +190,7 @@ var darkTheme = _extends({}, _theme.default, {
|
|
|
167
190
|
navigation: navigation,
|
|
168
191
|
datePicker: datePicker,
|
|
169
192
|
analytics: analytics,
|
|
193
|
+
listening: listening,
|
|
170
194
|
growth: growth,
|
|
171
195
|
cardControl: cardControl
|
|
172
196
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.navigation = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
|
|
4
|
+
exports.navigation = exports.listening = exports.growth = exports.default = exports.datePicker = exports.cardControl = exports.analytics = void 0;
|
|
5
5
|
|
|
6
6
|
var _polished = require("polished");
|
|
7
7
|
|
|
@@ -81,6 +81,29 @@ var analytics = {
|
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
83
|
exports.analytics = analytics;
|
|
84
|
+
var listening = {
|
|
85
|
+
topicTypes: {
|
|
86
|
+
customTopic: _theme.default.colors.blue[400],
|
|
87
|
+
brandHealth: _theme.default.colors.red[400],
|
|
88
|
+
industryInsights: _theme.default.colors.green[400],
|
|
89
|
+
competitiveAnalysis: _theme.default.colors.yellow[400],
|
|
90
|
+
campaignAnalysis: _theme.default.colors.magenta[400],
|
|
91
|
+
eventMonitoring: _theme.default.colors.aqua[400],
|
|
92
|
+
featuredTopic: _theme.default.colors.green[400]
|
|
93
|
+
},
|
|
94
|
+
worldMap: {
|
|
95
|
+
empty: _theme.default.colors.neutral[200],
|
|
96
|
+
q0: _theme.default.colors.purple[200],
|
|
97
|
+
q1: _theme.default.colors.purple[300],
|
|
98
|
+
q2: _theme.default.colors.purple[400],
|
|
99
|
+
q3: _theme.default.colors.purple[500],
|
|
100
|
+
q4: _theme.default.colors.purple[600],
|
|
101
|
+
q5: _theme.default.colors.purple[700],
|
|
102
|
+
q6: _theme.default.colors.purple[800],
|
|
103
|
+
q7: _theme.default.colors.purple[900]
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
exports.listening = listening;
|
|
84
107
|
var growth = {
|
|
85
108
|
education: {
|
|
86
109
|
decorative: {
|
|
@@ -167,6 +190,7 @@ var lightTheme = _extends({}, _theme.default, {
|
|
|
167
190
|
navigation: navigation,
|
|
168
191
|
datePicker: datePicker,
|
|
169
192
|
analytics: analytics,
|
|
193
|
+
listening: listening,
|
|
170
194
|
growth: growth,
|
|
171
195
|
cardControl: cardControl
|
|
172
196
|
})
|
|
@@ -47,6 +47,8 @@ var colors = _extends({
|
|
|
47
47
|
error: _decorativePalettes.red.background,
|
|
48
48
|
info: _decorativePalettes.blue.background,
|
|
49
49
|
opportunity: _decorativePalettes.purple.background,
|
|
50
|
+
|
|
51
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
50
52
|
danger: _decorativePalettes.red.background,
|
|
51
53
|
decorative: {
|
|
52
54
|
green: _decorativePalettes.green.background,
|
|
@@ -71,6 +73,8 @@ var colors = _extends({
|
|
|
71
73
|
success: _decorativePalettes.green.highlight,
|
|
72
74
|
warning: _decorativePalettes.yellow.highlight,
|
|
73
75
|
error: _decorativePalettes.red.highlight,
|
|
76
|
+
|
|
77
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
74
78
|
danger: _decorativePalettes.red.highlight,
|
|
75
79
|
info: _decorativePalettes.blue.highlight,
|
|
76
80
|
opportunity: _decorativePalettes.purple.highlight,
|
|
@@ -194,6 +198,8 @@ var colors = _extends({
|
|
|
194
198
|
success: _decorativePalettes.green.foreground,
|
|
195
199
|
warning: _decorativePalettes.yellow.foreground,
|
|
196
200
|
error: _decorativePalettes.red.foreground,
|
|
201
|
+
|
|
202
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
197
203
|
danger: _decorativePalettes.red.foreground,
|
|
198
204
|
info: _decorativePalettes.blue.foreground,
|
|
199
205
|
opportunity: _decorativePalettes.purple.foreground,
|