@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
package/dist/iconList.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = ["active-listener","add-item","add-keyword","add-team-member","add-variable","address-card-outline","address-card-solid","adobe-experience-manager","ads","android","apple","approval-indicator-outline","approval-indicator","archive","arrow-down-line","arrow-down","arrow-left-line","arrow-left","arrow-right-line","arrow-right","arrow-up-line","arrow-up","arrows","asset-library-outline","asset-library","assign","atom","audio","back-to-top","bambu-icon-outline","bambu-icon","barcode","basketball","bell-outline","bigcommerce","bitly","bold","book","bookmark","bot","browser","business","calendar-outline","calendar","camera-outline","camera-story","camera","campaign","canva","carousel","cart-plus-outline","cart-plus","check","chevron-down-filled","chevron-down","chevron-left","chevron-right","chevron-up-down-filled","chevron-up-filled","chevron-up","circle-check-outline","circle-check","circle","circle+","circles","circlex","click-to-view","clicks","clipboard-outline","clipboard","clock","closed-captioning","cloud","code","columns","comment-alt-outline","comment-alt","comment-lines-alt-outline","comment","compact-density","compact-indicator","comparison","competitor","compose","content-suggestions","credit-card","crop","crown","dashboard","deconstructed-negative-sentiment","deconstructed-neutral-sentiment","deconstructed-positive-sentiment","discovery","dislike-outline","dislike","dm-link-outline","dm-link","dotdotdot","download","drafts-outline","drafts","dropbox","duplicate-outline","duplicate","emoji-outline","emoji","empty-image","engagement-per-post","engagements","error","exchange-alt","expanded-indicator","export","extended-circles","external-link-alt","external-link","extreme-negative-sentiment","eye-outline","eye-slash-outline","eye-slash","eye","facebook-audience-network","facebook-branded-content-outline","facebook-branded-content","facebook-groups","facebook","fb-reactions-angry","fb-reactions-haha","fb-reactions-like","fb-reactions-love","fb-reactions-sad","fb-reactions-wow","feedly","feeds","female","file-chart-line","file-edit","file-times-solid","filter","flag-outline","flag","flat-negative-sentiment-outline","flat-negative-sentiment","flat-neutral-sentiment-outline","flat-neutral-sentiment","flat-positive-sentiment-outline","flat-positive-sentiment","folder-open","folder","follow-outline","follow","follower-increase","following","font","full-access","gear","gears","glassdoor","glasses","globe","google-analytics-color","google-business-messages","google-drive","google-my-business","grip","h1","h2","h3","h4","hamburger","hashtag","headset","heart-outline","heart","heartbeat","help-alt","help","hiking","history","home","hourglass","hubspot","image-caption","image","images","impressions-per-post","impressions","inactive-listener","inbox-action","inbox-views","inbox","indicator","industry","info","instagram","internal-activity-outline","internal-activity","italic","key","keyboard","laptop-phone","large-density","lift","like-outline","like","link","linkedin-audience-network","linkedin","list-ol","listening","lists","location-outline","location","lock","magic-wand","male","marketo","mention","message-preview-outline","message-preview","message","messages-outline","messages","messenger","metric-table","microsoft-dynamics","minus","mobile","monitor","moon","negative-sentiment","neutral-positive-sentiment","neutral-sentiment","new-trend","newspaper","no-access","notepad","notifications-publishing-outline","notifications-publishing","notifications","offline","online","paid-promotion-outline","paid-promotion","paid","paint","palette","paperclip","pause","pencil-outline","pencil","person","phone","pinterest-boards-outline","pinterest-boards","pinterest","play-circle","play","plug","plus","positive-sentiment","power-up-outline","power-up","profile-connect","profile-disconnect","publishing-outline","publishing","puzzle-piece","qr-code","queue","recommendation","reddit-alien","reddit","reels-outline","reels","referrals","refresh","rejected","reply-outline","reply","reporting-period","reporting","reports-home","reports","retweet","rss","sales","salesforce-cloud","salesforce","save-assets","saved-messages","saved-reply-outline","saved-reply","search","sent-message-outline","sent-message","share","shopify","shopping-bag-outline","shopping-bag","show-navigation","slack","small-density","smiley","some-access","sparkles","spike-alert","star-half-alt-solid","star-of-life","star-outline","star","sticky-note-outline","sticky-note","stories","story","suggestions","sun","tag-outline","tag","targeting-outline","targeting","tasks-outline","tasks","team-conversation-outline","team-conversation","team","text-asset","text","tiktok","times","trash-can-outline","trash-can","trend-down","trend-neutral","trend-up","trends","triangle-black","triangle","tripadvisor-circle-outline","tripadvisor-circle","tripadvisor","trophy-outline","tumblr","twitter-audience-network","twitter","underline","unfollow-outline","unfollow","unlink","unlock","upload","user-circle","users","verified","video-camera-story","video-camera","vip","weight","whatsapp","window-maximize","window-minimize","window-regular","window-restore","woocommerce","x","yelp-full-star","yelp-half-star","yelp","youtube","zendesk"];
|
|
1
|
+
module.exports = ["active-listener","add-item","add-keyword","add-team-member","add-variable","address-card-outline","address-card-solid","adobe-experience-manager","ads","android","apple","approval-indicator-outline","approval-indicator","archive","arrow-down-line","arrow-down","arrow-left-line","arrow-left","arrow-right-line","arrow-right","arrow-up-line","arrow-up","arrows","asset-library-outline","asset-library","assign","atom","audio","back-to-top","bambu-icon-outline","bambu-icon","barcode","basketball","bell-outline","bigcommerce","bitly","bold","book","bookmark","bot","browser","business","calendar-outline","calendar","camera-outline","camera-story","camera","campaign","canva","carousel","cart-plus-outline","cart-plus","check","chevron-down-filled","chevron-down","chevron-left","chevron-right","chevron-up-down-filled","chevron-up-filled","chevron-up","circle-check-outline","circle-check","circle","circle+","circles","circlex","click-to-view","clicks","clipboard-outline","clipboard","clock","closed-captioning","cloud","code","columns","comment-alt-outline","comment-alt","comment-lines-alt-outline","comment","compact-density","compact-indicator","comparison","competitor","compose","content-suggestions","credit-card","crop","crown","dashboard","deconstructed-negative-sentiment","deconstructed-neutral-sentiment","deconstructed-positive-sentiment","discovery","dislike-outline","dislike","dm-link-outline","dm-link","dotdotdot","download","drafts-outline","drafts","dropbox","duplicate-outline","duplicate","emoji-outline","emoji","empty-image","engagement-per-post","engagements","error","exchange-alt","expanded-indicator","export","extended-circles","external-link-alt","external-link","extreme-negative-sentiment","eye-outline","eye-slash-outline","eye-slash","eye","facebook-audience-network","facebook-branded-content-outline","facebook-branded-content","facebook-groups","facebook","fb-reactions-angry","fb-reactions-haha","fb-reactions-like","fb-reactions-love","fb-reactions-sad","fb-reactions-wow","feedly","feeds","female","file-chart-line","file-edit","file-times-solid","filter","flag-outline","flag","flat-negative-sentiment-outline","flat-negative-sentiment","flat-neutral-sentiment-outline","flat-neutral-sentiment","flat-positive-sentiment-outline","flat-positive-sentiment","folder-open","folder","follow-outline","follow","follower-increase","following","font","full-access","gear","gears","glassdoor","glasses","globe","google-analytics-color","google-business-messages","google-drive","google-my-business","grip","h1","h2","h3","h4","hamburger","hashtag","headset","heart-outline","heart","heartbeat","help-alt","help","hiking","history","home","hourglass","hubspot","image-caption","image","images","impressions-per-post","impressions","inactive-listener","inbox-action","inbox-views","inbox","indicator","industry","info","instagram","internal-activity-outline","internal-activity","italic","key","keyboard","laptop-phone","large-density","lift","like-outline","like","link","linkedin-audience-network","linkedin","list-ol","listening","lists","location-outline","location","lock","magic-wand","male","marketo","mention","message-preview-outline","message-preview","message","messages-outline","messages","messenger","metric-table","microsoft-dynamics","minus","mobile","monitor","moon","negative-sentiment","neutral-positive-sentiment","neutral-sentiment","new-trend","newspaper","no-access","notepad","notifications-publishing-outline","notifications-publishing","notifications","offline","online","paid-promotion-outline","paid-promotion","paid","paint","palette","paperclip","pause","pencil-outline","pencil","person","phone","pinterest-boards-outline","pinterest-boards","pinterest","play-circle","play","plug","plus","positive-sentiment","power-up-outline","power-up","profile-connect","profile-disconnect","publishing-outline","publishing","puzzle-piece","qr-code","queue","recommendation","reddit-alien","reddit","reels-outline","reels","referrals","refresh","rejected","reply-outline","reply","reporting-period","reporting","reports-home","reports","retweet","rss","sales","salesforce-cloud","salesforce","save-assets","saved-messages","saved-reply-outline","saved-reply","search","sent-message-outline","sent-message","share","shopify","shopping-bag-outline","shopping-bag","show-navigation","slack","small-density","smiley","some-access","sparkles","spike-alert","star-half-alt-solid","star-of-life","star-outline","star","sticky-note-outline","sticky-note","stories","story","suggestions","sun","tag-outline","tag","targeting-outline","targeting","tasks-outline","tasks","team-conversation-outline","team-conversation","team","text-asset","text","tiktok","times","tools","trash-can-outline","trash-can","trend-down","trend-neutral","trend-up","trends","triangle-black","triangle","tripadvisor-circle-outline","tripadvisor-circle","tripadvisor","trophy-outline","tumblr","twitter-audience-network","twitter","underline","unfollow-outline","unfollow","unlink","unlock","upload","user-circle","users","verified","video-camera-story","video-camera","vip","weight","whatsapp","window-maximize","window-minimize","window-regular","window-restore","woocommerce","x","yelp-full-star","yelp-half-star","yelp","youtube","zendesk"];
|
|
@@ -539,6 +539,28 @@ $theme: (
|
|
|
539
539
|
)
|
|
540
540
|
)
|
|
541
541
|
),
|
|
542
|
+
"listening": (
|
|
543
|
+
"topicTypes": (
|
|
544
|
+
"customTopic": #24e0c5,
|
|
545
|
+
"brandHealth": #ff7f6e,
|
|
546
|
+
"industryInsights": #75dd66,
|
|
547
|
+
"competitiveAnalysis": #ffd943,
|
|
548
|
+
"campaignAnalysis": #f282f5,
|
|
549
|
+
"eventMonitoring": #33d6e2,
|
|
550
|
+
"featuredTopic": #75dd66
|
|
551
|
+
),
|
|
552
|
+
"worldMap": (
|
|
553
|
+
"empty": #dee1e1,
|
|
554
|
+
"q0": #d8d7f9,
|
|
555
|
+
"q1": #c1c1f7,
|
|
556
|
+
"q2": #a193f2,
|
|
557
|
+
"q3": #9180f4,
|
|
558
|
+
"q4": #816fea,
|
|
559
|
+
"q5": #6f5ed3,
|
|
560
|
+
"q6": #5e4eba,
|
|
561
|
+
"q7": #483a9c
|
|
562
|
+
)
|
|
563
|
+
),
|
|
542
564
|
"growth": (
|
|
543
565
|
"education": (
|
|
544
566
|
"decorative": (
|
|
@@ -865,6 +887,28 @@ $theme: (
|
|
|
865
887
|
)
|
|
866
888
|
)
|
|
867
889
|
),
|
|
890
|
+
"listening": (
|
|
891
|
+
"topicTypes": (
|
|
892
|
+
"customTopic": #24e0c5,
|
|
893
|
+
"brandHealth": #ff7f6e,
|
|
894
|
+
"industryInsights": #75dd66,
|
|
895
|
+
"competitiveAnalysis": #ffd943,
|
|
896
|
+
"campaignAnalysis": #f282f5,
|
|
897
|
+
"eventMonitoring": #33d6e2,
|
|
898
|
+
"featuredTopic": #75dd66
|
|
899
|
+
),
|
|
900
|
+
"worldMap": (
|
|
901
|
+
"empty": #dee1e1,
|
|
902
|
+
"q0": #d8d7f9,
|
|
903
|
+
"q1": #c1c1f7,
|
|
904
|
+
"q2": #a193f2,
|
|
905
|
+
"q3": #9180f4,
|
|
906
|
+
"q4": #816fea,
|
|
907
|
+
"q5": #6f5ed3,
|
|
908
|
+
"q6": #5e4eba,
|
|
909
|
+
"q7": #483a9c
|
|
910
|
+
)
|
|
911
|
+
),
|
|
868
912
|
"navigation": (
|
|
869
913
|
"main": (
|
|
870
914
|
"background": (
|
|
@@ -539,6 +539,28 @@ $theme: (
|
|
|
539
539
|
)
|
|
540
540
|
)
|
|
541
541
|
),
|
|
542
|
+
"listening": (
|
|
543
|
+
"topicTypes": (
|
|
544
|
+
"customTopic": #56adf5,
|
|
545
|
+
"brandHealth": #ff7f6e,
|
|
546
|
+
"industryInsights": #75dd66,
|
|
547
|
+
"competitiveAnalysis": #ffd943,
|
|
548
|
+
"campaignAnalysis": #f282f5,
|
|
549
|
+
"eventMonitoring": #33d6e2,
|
|
550
|
+
"featuredTopic": #75dd66
|
|
551
|
+
),
|
|
552
|
+
"worldMap": (
|
|
553
|
+
"empty": #dee1e1,
|
|
554
|
+
"q0": #d8d7f9,
|
|
555
|
+
"q1": #c1c1f7,
|
|
556
|
+
"q2": #a193f2,
|
|
557
|
+
"q3": #9180f4,
|
|
558
|
+
"q4": #816fea,
|
|
559
|
+
"q5": #6f5ed3,
|
|
560
|
+
"q6": #5e4eba,
|
|
561
|
+
"q7": #483a9c
|
|
562
|
+
)
|
|
563
|
+
),
|
|
542
564
|
"growth": (
|
|
543
565
|
"education": (
|
|
544
566
|
"decorative": (
|
|
@@ -865,6 +887,28 @@ $theme: (
|
|
|
865
887
|
)
|
|
866
888
|
)
|
|
867
889
|
),
|
|
890
|
+
"listening": (
|
|
891
|
+
"topicTypes": (
|
|
892
|
+
"customTopic": #56adf5,
|
|
893
|
+
"brandHealth": #ff7f6e,
|
|
894
|
+
"industryInsights": #75dd66,
|
|
895
|
+
"competitiveAnalysis": #ffd943,
|
|
896
|
+
"campaignAnalysis": #f282f5,
|
|
897
|
+
"eventMonitoring": #33d6e2,
|
|
898
|
+
"featuredTopic": #75dd66
|
|
899
|
+
),
|
|
900
|
+
"worldMap": (
|
|
901
|
+
"empty": #dee1e1,
|
|
902
|
+
"q0": #d8d7f9,
|
|
903
|
+
"q1": #c1c1f7,
|
|
904
|
+
"q2": #a193f2,
|
|
905
|
+
"q3": #9180f4,
|
|
906
|
+
"q4": #816fea,
|
|
907
|
+
"q5": #6f5ed3,
|
|
908
|
+
"q6": #5e4eba,
|
|
909
|
+
"q7": #483a9c
|
|
910
|
+
)
|
|
911
|
+
),
|
|
868
912
|
"navigation": (
|
|
869
913
|
"main": (
|
|
870
914
|
"background": (
|
package/lib/Banner/index.js
CHANGED
|
@@ -4,91 +4,80 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
4
4
|
|
|
5
5
|
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; }
|
|
6
6
|
|
|
7
|
-
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
|
8
|
-
|
|
9
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
10
|
-
|
|
11
7
|
import * as React from "react";
|
|
12
8
|
import Icon from "../Icon";
|
|
13
9
|
import Container from "./styles";
|
|
14
10
|
import Box from "../Box";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated
|
|
13
|
+
* Use banner type "error" instead of "danger"
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
var getBannerIcon = function getBannerIcon(type) {
|
|
17
|
+
switch (type) {
|
|
18
|
+
case "success":
|
|
19
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
20
|
+
name: "circle-check-no-fill",
|
|
21
|
+
className: "Icon",
|
|
22
|
+
fixedWidth: true
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
case "info":
|
|
26
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
27
|
+
name: "info-white",
|
|
28
|
+
className: "Icon",
|
|
29
|
+
fixedWidth: true
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
case "error":
|
|
33
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
34
|
+
name: "triangle",
|
|
35
|
+
className: "Icon",
|
|
36
|
+
fixedWidth: true
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
case "warning":
|
|
40
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
41
|
+
name: "triangle",
|
|
42
|
+
className: "Icon",
|
|
43
|
+
fixedWidth: true
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
case "opportunity":
|
|
47
|
+
return /*#__PURE__*/React.createElement(Icon, {
|
|
48
|
+
name: "sparkles",
|
|
49
|
+
className: "Icon",
|
|
50
|
+
fixedWidth: true
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
default:
|
|
54
|
+
return;
|
|
21
55
|
}
|
|
56
|
+
};
|
|
22
57
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
29
|
-
name: "circle-check-no-fill",
|
|
30
|
-
className: "Icon",
|
|
31
|
-
fixedWidth: true
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
case "info":
|
|
35
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
36
|
-
name: "info-white",
|
|
37
|
-
className: "Icon",
|
|
38
|
-
fixedWidth: true
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
case "danger":
|
|
42
|
-
case "error":
|
|
43
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
44
|
-
name: "triangle",
|
|
45
|
-
className: "Icon",
|
|
46
|
-
fixedWidth: true
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
case "warning":
|
|
50
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
51
|
-
name: "triangle",
|
|
52
|
-
className: "Icon",
|
|
53
|
-
fixedWidth: true
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
case "opportunity":
|
|
57
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
58
|
-
name: "sparkles",
|
|
59
|
-
className: "Icon",
|
|
60
|
-
fixedWidth: true
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
default:
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
_proto.render = function render() {
|
|
69
|
-
var _this$props = this.props,
|
|
70
|
-
type = _this$props.type,
|
|
71
|
-
text = _this$props.text,
|
|
72
|
-
rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
|
|
73
|
-
|
|
74
|
-
return /*#__PURE__*/React.createElement(Container // danger needs to be properly deprecated and removed DS-1094
|
|
75
|
-
, _extends({
|
|
76
|
-
type: type === "danger" ? "error" : type,
|
|
77
|
-
"data-qa-alert": "",
|
|
78
|
-
"data-qa-alert-type": type,
|
|
79
|
-
"data-qa-alert-text": text // $FlowIssue - upgrade v0.112.0
|
|
58
|
+
var Banner = function Banner(_ref) {
|
|
59
|
+
var _ref$type = _ref.type,
|
|
60
|
+
type = _ref$type === void 0 ? "error" : _ref$type,
|
|
61
|
+
text = _ref.text,
|
|
62
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
80
63
|
|
|
81
|
-
|
|
82
|
-
display: "flex",
|
|
83
|
-
alignItems: "center",
|
|
84
|
-
width: 1
|
|
85
|
-
}, this.getBannerIcon(), text));
|
|
86
|
-
};
|
|
64
|
+
var bannerType = type === "danger" ? "error" : type;
|
|
87
65
|
|
|
88
|
-
|
|
89
|
-
|
|
66
|
+
if (type === "danger") {
|
|
67
|
+
console.warn("Warning: The `danger` type has been deprecated on the Banner component. Please use `error` instead.");
|
|
68
|
+
}
|
|
90
69
|
|
|
91
|
-
|
|
92
|
-
|
|
70
|
+
return /*#__PURE__*/React.createElement(Container, _extends({
|
|
71
|
+
type: bannerType,
|
|
72
|
+
"data-qa-alert": "",
|
|
73
|
+
"data-qa-alert-type": bannerType,
|
|
74
|
+
"data-qa-alert-text": text // $FlowIssue - upgrade v0.112.0
|
|
75
|
+
|
|
76
|
+
}, rest), /*#__PURE__*/React.createElement(Box, {
|
|
77
|
+
display: "flex",
|
|
78
|
+
alignItems: "center",
|
|
79
|
+
width: 1
|
|
80
|
+
}, getBannerIcon(bannerType), text));
|
|
93
81
|
};
|
|
94
|
-
|
|
82
|
+
|
|
83
|
+
export default Banner;
|
package/lib/IconViewBoxes.js
CHANGED
package/lib/themes/dark/theme.js
CHANGED
|
@@ -27,6 +27,8 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
27
27
|
error: red.background,
|
|
28
28
|
info: blue.background,
|
|
29
29
|
opportunity: purple.background,
|
|
30
|
+
|
|
31
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
30
32
|
danger: red.background,
|
|
31
33
|
decorative: {
|
|
32
34
|
green: green.background,
|
|
@@ -51,6 +53,8 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
51
53
|
success: green.highlight,
|
|
52
54
|
warning: yellow.highlight,
|
|
53
55
|
error: red.highlight,
|
|
56
|
+
|
|
57
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
54
58
|
danger: red.highlight,
|
|
55
59
|
info: blue.highlight,
|
|
56
60
|
opportunity: purple.highlight,
|
|
@@ -174,6 +178,8 @@ var colors = _extends({}, lightTheme.colors, {
|
|
|
174
178
|
success: green.foreground,
|
|
175
179
|
warning: yellow.foreground,
|
|
176
180
|
error: red.foreground,
|
|
181
|
+
|
|
182
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
177
183
|
danger: red.foreground,
|
|
178
184
|
info: blue.foreground,
|
|
179
185
|
opportunity: purple.foreground,
|
|
@@ -69,6 +69,28 @@ export var analytics = {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
+
export var listening = {
|
|
73
|
+
topicTypes: {
|
|
74
|
+
customTopic: baseDarkTheme.colors.teal[400],
|
|
75
|
+
brandHealth: baseDarkTheme.colors.red[400],
|
|
76
|
+
industryInsights: baseDarkTheme.colors.green[400],
|
|
77
|
+
competitiveAnalysis: baseDarkTheme.colors.yellow[400],
|
|
78
|
+
campaignAnalysis: baseDarkTheme.colors.magenta[400],
|
|
79
|
+
eventMonitoring: baseDarkTheme.colors.aqua[400],
|
|
80
|
+
featuredTopic: baseDarkTheme.colors.green[400]
|
|
81
|
+
},
|
|
82
|
+
worldMap: {
|
|
83
|
+
empty: baseDarkTheme.colors.neutral[200],
|
|
84
|
+
q0: baseDarkTheme.colors.purple[200],
|
|
85
|
+
q1: baseDarkTheme.colors.purple[300],
|
|
86
|
+
q2: baseDarkTheme.colors.purple[400],
|
|
87
|
+
q3: baseDarkTheme.colors.purple[500],
|
|
88
|
+
q4: baseDarkTheme.colors.purple[600],
|
|
89
|
+
q5: baseDarkTheme.colors.purple[700],
|
|
90
|
+
q6: baseDarkTheme.colors.purple[800],
|
|
91
|
+
q7: baseDarkTheme.colors.purple[900]
|
|
92
|
+
}
|
|
93
|
+
};
|
|
72
94
|
export var growth = {
|
|
73
95
|
education: {
|
|
74
96
|
decorative: {
|
|
@@ -153,6 +175,7 @@ var darkTheme = _extends({}, baseDarkTheme, {
|
|
|
153
175
|
navigation: navigation,
|
|
154
176
|
datePicker: datePicker,
|
|
155
177
|
analytics: analytics,
|
|
178
|
+
listening: listening,
|
|
156
179
|
growth: growth,
|
|
157
180
|
cardControl: cardControl
|
|
158
181
|
})
|
|
@@ -69,6 +69,28 @@ export var analytics = {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
+
export var listening = {
|
|
73
|
+
topicTypes: {
|
|
74
|
+
customTopic: baseLightTheme.colors.blue[400],
|
|
75
|
+
brandHealth: baseLightTheme.colors.red[400],
|
|
76
|
+
industryInsights: baseLightTheme.colors.green[400],
|
|
77
|
+
competitiveAnalysis: baseLightTheme.colors.yellow[400],
|
|
78
|
+
campaignAnalysis: baseLightTheme.colors.magenta[400],
|
|
79
|
+
eventMonitoring: baseLightTheme.colors.aqua[400],
|
|
80
|
+
featuredTopic: baseLightTheme.colors.green[400]
|
|
81
|
+
},
|
|
82
|
+
worldMap: {
|
|
83
|
+
empty: baseLightTheme.colors.neutral[200],
|
|
84
|
+
q0: baseLightTheme.colors.purple[200],
|
|
85
|
+
q1: baseLightTheme.colors.purple[300],
|
|
86
|
+
q2: baseLightTheme.colors.purple[400],
|
|
87
|
+
q3: baseLightTheme.colors.purple[500],
|
|
88
|
+
q4: baseLightTheme.colors.purple[600],
|
|
89
|
+
q5: baseLightTheme.colors.purple[700],
|
|
90
|
+
q6: baseLightTheme.colors.purple[800],
|
|
91
|
+
q7: baseLightTheme.colors.purple[900]
|
|
92
|
+
}
|
|
93
|
+
};
|
|
72
94
|
export var growth = {
|
|
73
95
|
education: {
|
|
74
96
|
decorative: {
|
|
@@ -153,6 +175,7 @@ var lightTheme = _extends({}, baseLightTheme, {
|
|
|
153
175
|
navigation: navigation,
|
|
154
176
|
datePicker: datePicker,
|
|
155
177
|
analytics: analytics,
|
|
178
|
+
listening: listening,
|
|
156
179
|
growth: growth,
|
|
157
180
|
cardControl: cardControl
|
|
158
181
|
})
|
|
@@ -28,6 +28,8 @@ var colors = _extends({
|
|
|
28
28
|
error: red.background,
|
|
29
29
|
info: blue.background,
|
|
30
30
|
opportunity: purple.background,
|
|
31
|
+
|
|
32
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
31
33
|
danger: red.background,
|
|
32
34
|
decorative: {
|
|
33
35
|
green: green.background,
|
|
@@ -52,6 +54,8 @@ var colors = _extends({
|
|
|
52
54
|
success: green.highlight,
|
|
53
55
|
warning: yellow.highlight,
|
|
54
56
|
error: red.highlight,
|
|
57
|
+
|
|
58
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
55
59
|
danger: red.highlight,
|
|
56
60
|
info: blue.highlight,
|
|
57
61
|
opportunity: purple.highlight,
|
|
@@ -175,6 +179,8 @@ var colors = _extends({
|
|
|
175
179
|
success: green.foreground,
|
|
176
180
|
warning: yellow.foreground,
|
|
177
181
|
error: red.foreground,
|
|
182
|
+
|
|
183
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
178
184
|
danger: red.foreground,
|
|
179
185
|
info: blue.foreground,
|
|
180
186
|
opportunity: purple.foreground,
|
package/lib/types/theme.flow.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { breakpoints, typography, fontWeights, radii, borders, borderWidths, shadows, space, easing, duration } from "../themes/light/theme";
|
|
2
|
-
import { datePicker, navigation, analytics, growth, cardControl } from "../themes/extendedThemes/sproutTheme/light/theme";
|
|
2
|
+
import { datePicker, navigation, analytics, listening, growth, cardControl } from "../themes/extendedThemes/sproutTheme/light/theme";
|