@sproutsocial/racine 12.10.0 → 12.13.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 +37 -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__/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 +2 -0
- package/__flow__/PartnerLogo/index.stories.js +2 -0
- package/__flow__/PartnerLogo/partnerLogos/facebook-groups-dark.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/facebook-groups.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network-dark.svg +3 -0
- package/__flow__/PartnerLogo/partnerLogos/twitter-audience-network.svg +3 -0
- package/__flow__/SpotIllustration/illustrationNames.js +1 -0
- package/__flow__/SpotIllustration/spotIllustrations/under-construction.svg +12 -0
- package/__flow__/Stack/TypeSpaceLiterals.js +13 -0
- package/__flow__/Stack/index.js +1 -1
- package/__flow__/themes/dark/theme.js +3 -0
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +25 -0
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +25 -0
- package/__flow__/themes/light/theme.js +9 -11
- 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/IllustrationViewBoxes.js +1 -0
- package/commonjs/LogoViewBoxes.js +4 -0
- package/commonjs/SpotIllustration/illustrationNames.js +1 -1
- package/commonjs/Stack/TypeSpaceLiterals.js +1 -0
- package/commonjs/themes/dark/theme.js +6 -0
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +26 -1
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +26 -1
- package/commonjs/themes/light/theme.js +11 -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/extendedThemes/sproutTheme/dark/theme.scss +46 -0
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +46 -0
- package/lib/Banner/index.js +67 -78
- package/lib/IllustrationViewBoxes.js +1 -0
- package/lib/LogoViewBoxes.js +4 -0
- package/lib/SpotIllustration/illustrationNames.js +1 -1
- package/lib/Stack/TypeSpaceLiterals.js +0 -0
- package/lib/themes/dark/theme.js +6 -0
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +24 -0
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +24 -0
- package/lib/themes/light/theme.js +11 -0
- package/lib/types/theme.flow.js +1 -1
- package/package.json +1 -1
package/commonjs/Banner/index.js
CHANGED
|
@@ -23,86 +23,72 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
23
23
|
|
|
24
24
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
var getBannerIcon = function getBannerIcon(type) {
|
|
27
|
+
switch (type) {
|
|
28
|
+
case "success":
|
|
29
|
+
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
30
|
+
name: "circle-check-no-fill",
|
|
31
|
+
className: "Icon",
|
|
32
|
+
fixedWidth: true
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
case "info":
|
|
36
|
+
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
37
|
+
name: "info-white",
|
|
38
|
+
className: "Icon",
|
|
39
|
+
fixedWidth: true
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
case "error":
|
|
43
|
+
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
44
|
+
name: "triangle",
|
|
45
|
+
className: "Icon",
|
|
46
|
+
fixedWidth: true
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
case "warning":
|
|
50
|
+
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
51
|
+
name: "triangle",
|
|
52
|
+
className: "Icon",
|
|
53
|
+
fixedWidth: true
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
case "opportunity":
|
|
57
|
+
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
58
|
+
name: "sparkles",
|
|
59
|
+
className: "Icon",
|
|
60
|
+
fixedWidth: true
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
default:
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
27
67
|
|
|
28
|
-
|
|
68
|
+
var Banner = function Banner(_ref) {
|
|
69
|
+
var _ref$type = _ref.type,
|
|
70
|
+
type = _ref$type === void 0 ? "error" : _ref$type,
|
|
71
|
+
text = _ref.text,
|
|
72
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
29
73
|
|
|
30
|
-
var
|
|
31
|
-
_inheritsLoose(Banner, _React$Component);
|
|
74
|
+
var bannerType = type === "danger" ? "error" : type;
|
|
32
75
|
|
|
33
|
-
|
|
34
|
-
|
|
76
|
+
if (type === "danger") {
|
|
77
|
+
console.warn("Warning: The `danger` type has been deprecated on the Banner component. Please use `error` instead.");
|
|
35
78
|
}
|
|
36
79
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
fixedWidth: true
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
case "danger":
|
|
56
|
-
case "error":
|
|
57
|
-
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
58
|
-
name: "triangle",
|
|
59
|
-
className: "Icon",
|
|
60
|
-
fixedWidth: true
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
case "warning":
|
|
64
|
-
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
65
|
-
name: "triangle",
|
|
66
|
-
className: "Icon",
|
|
67
|
-
fixedWidth: true
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
case "opportunity":
|
|
71
|
-
return /*#__PURE__*/React.createElement(_Icon.default, {
|
|
72
|
-
name: "sparkles",
|
|
73
|
-
className: "Icon",
|
|
74
|
-
fixedWidth: true
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
default:
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
_proto.render = function render() {
|
|
83
|
-
var _this$props = this.props,
|
|
84
|
-
type = _this$props.type,
|
|
85
|
-
text = _this$props.text,
|
|
86
|
-
rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
|
|
87
|
-
|
|
88
|
-
return /*#__PURE__*/React.createElement(_styles.default // danger needs to be properly deprecated and removed DS-1094
|
|
89
|
-
, _extends({
|
|
90
|
-
type: type === "danger" ? "error" : type,
|
|
91
|
-
"data-qa-alert": "",
|
|
92
|
-
"data-qa-alert-type": type,
|
|
93
|
-
"data-qa-alert-text": text // $FlowIssue - upgrade v0.112.0
|
|
94
|
-
|
|
95
|
-
}, rest), /*#__PURE__*/React.createElement(_Box.default, {
|
|
96
|
-
display: "flex",
|
|
97
|
-
alignItems: "center",
|
|
98
|
-
width: 1
|
|
99
|
-
}, this.getBannerIcon(), text));
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
return Banner;
|
|
103
|
-
}(React.Component);
|
|
104
|
-
|
|
105
|
-
exports.default = Banner;
|
|
106
|
-
Banner.defaultProps = {
|
|
107
|
-
type: "danger"
|
|
108
|
-
};
|
|
80
|
+
return /*#__PURE__*/React.createElement(_styles.default, _extends({
|
|
81
|
+
type: bannerType,
|
|
82
|
+
"data-qa-alert": "",
|
|
83
|
+
"data-qa-alert-type": bannerType,
|
|
84
|
+
"data-qa-alert-text": text // $FlowIssue - upgrade v0.112.0
|
|
85
|
+
|
|
86
|
+
}, rest), /*#__PURE__*/React.createElement(_Box.default, {
|
|
87
|
+
display: "flex",
|
|
88
|
+
alignItems: "center",
|
|
89
|
+
width: 1
|
|
90
|
+
}, getBannerIcon(bannerType), text));
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
var _default = Banner;
|
|
94
|
+
exports.default = _default;
|
|
@@ -95,6 +95,7 @@ module.exports = {
|
|
|
95
95
|
"tracking-time": "0 0 360 195",
|
|
96
96
|
"twitter-messages": "0 0 220 228",
|
|
97
97
|
"twitter-profiles": "0 0 335 187",
|
|
98
|
+
"under-construction": "0 0 343 243",
|
|
98
99
|
"unsubscribe": "0 0 212 163",
|
|
99
100
|
"upward-trend": "0 0 65 49",
|
|
100
101
|
"user-task": "0 0 313 176",
|
|
@@ -8,6 +8,8 @@ module.exports = {
|
|
|
8
8
|
"dropbox-dark": "0 0 140 119",
|
|
9
9
|
"dropbox": "0 0 140 119",
|
|
10
10
|
"facebook-dark": "0 0 141 139",
|
|
11
|
+
"facebook-groups-dark": "0 0 140 140",
|
|
12
|
+
"facebook-groups": "0 0 140 140",
|
|
11
13
|
"facebook-shops-dark": "0 0 141 155",
|
|
12
14
|
"facebook-shops": "0 0 141 155",
|
|
13
15
|
"facebook": "0 0 141 139",
|
|
@@ -51,6 +53,8 @@ module.exports = {
|
|
|
51
53
|
"tripadvisor": "0 0 140 140",
|
|
52
54
|
"tumblr-dark": "0 0 140 140",
|
|
53
55
|
"tumblr": "0 0 140 140",
|
|
56
|
+
"twitter-audience-network-dark": "0 0 140 140",
|
|
57
|
+
"twitter-audience-network": "0 0 140 140",
|
|
54
58
|
"twitter-dark": "0 0 140 114",
|
|
55
59
|
"twitter": "0 0 140 114",
|
|
56
60
|
"whatsapp-dark": "0 0 140 140",
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
4
|
exports.illustrationNames = void 0;
|
|
5
|
-
var illustrationNames = ["abacus", "analytics-offering", "astronaut", "brand-keyword", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "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", "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-tour", "loading", "mailbox-empty", "mailbox-full", "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", "unsubscribe", "upward-trend", "user-task", "view-connections", "vip-list", "warning", "wifi"];
|
|
5
|
+
var illustrationNames = ["abacus", "analytics-offering", "astronaut", "brand-keyword", "business", "calendar-event", "calendar-reporting", "cat-error", "cat-no-access", "cat", "checkbox-alert", "coffee-cup", "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", "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-tour", "loading", "mailbox-empty", "mailbox-full", "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"];
|
|
6
6
|
exports.illustrationNames = illustrationNames;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -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: {
|
|
@@ -91,6 +114,7 @@ var growth = {
|
|
|
91
114
|
opportunity: {
|
|
92
115
|
background: {
|
|
93
116
|
base: _theme.default.colors.purple[700],
|
|
117
|
+
secondary: _theme.default.colors.neutral[700],
|
|
94
118
|
hover: _theme.default.colors.purple[500]
|
|
95
119
|
},
|
|
96
120
|
button: {
|
|
@@ -166,6 +190,7 @@ var darkTheme = _extends({}, _theme.default, {
|
|
|
166
190
|
navigation: navigation,
|
|
167
191
|
datePicker: datePicker,
|
|
168
192
|
analytics: analytics,
|
|
193
|
+
listening: listening,
|
|
169
194
|
growth: growth,
|
|
170
195
|
cardControl: cardControl
|
|
171
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: {
|
|
@@ -91,6 +114,7 @@ var growth = {
|
|
|
91
114
|
opportunity: {
|
|
92
115
|
background: {
|
|
93
116
|
base: _theme.default.colors.purple[700],
|
|
117
|
+
secondary: _theme.default.colors.neutral[900],
|
|
94
118
|
hover: _theme.default.colors.purple[300]
|
|
95
119
|
},
|
|
96
120
|
button: {
|
|
@@ -166,6 +190,7 @@ var lightTheme = _extends({}, _theme.default, {
|
|
|
166
190
|
navigation: navigation,
|
|
167
191
|
datePicker: datePicker,
|
|
168
192
|
analytics: analytics,
|
|
193
|
+
listening: listening,
|
|
169
194
|
growth: growth,
|
|
170
195
|
cardControl: cardControl
|
|
171
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,
|
|
@@ -298,6 +304,11 @@ var fontWeights = {
|
|
|
298
304
|
bold: _seedsTypography.default.TYPOGRAPHY_WEIGHT_BOLD,
|
|
299
305
|
extrabold: _seedsTypography.default.TYPOGRAPHY_WEIGHT_EXTRA_BOLD
|
|
300
306
|
};
|
|
307
|
+
/**
|
|
308
|
+
* @deprecated
|
|
309
|
+
* Import from `Stack/TypeSpaceLiterals` instead.
|
|
310
|
+
*/
|
|
311
|
+
|
|
301
312
|
exports.fontWeights = fontWeights;
|
|
302
313
|
var space = {
|
|
303
314
|
"0": _seedsSpace.default.SPACE_SIZE_0,
|