@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 6cb6579: The Icon component now offers a "tools" icon.
|
|
8
|
+
|
|
9
|
+
## 12.13.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- c8566fd: **Deprecation notice:**
|
|
14
|
+
|
|
15
|
+
The `danger` type for the `Banner` component has been **deprecated** in favor of the `error` type. A couple of changes will be required to comply with this deprecation:
|
|
16
|
+
|
|
17
|
+
- Any code using the `danger` type for the `Banner` component should be migrated to use the `error` type instead.
|
|
18
|
+
- Any styles using `danger` props from the theme should be migrated to use `error` instead.
|
|
19
|
+
|
|
20
|
+
Use of the `danger` type for the `Banner` component and `danger` props in the theme will be fully removed in a future release.
|
|
21
|
+
|
|
22
|
+
## 12.12.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- f2c4585: Add Listening-specific colors to Sprout extended theme
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- f2c4585: The deprecation for the `TypeSpaceLiteral` import from the `themes/light/theme` file will now give a warning of the deprecation in VsCode.
|
|
31
|
+
|
|
3
32
|
## 12.11.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/__flow__/Banner/index.js
CHANGED
|
@@ -4,60 +4,66 @@ import Icon from "../Icon";
|
|
|
4
4
|
import Container from "./styles";
|
|
5
5
|
import Box from "../Box";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated
|
|
9
|
+
* Use banner type "error" instead of "danger"
|
|
10
|
+
*/
|
|
11
|
+
type EnumDeprecatedBannerType = "danger";
|
|
12
|
+
|
|
13
|
+
type EnumValidBannerType =
|
|
8
14
|
| "success"
|
|
9
15
|
| "info"
|
|
10
|
-
| "danger"
|
|
11
16
|
| "error"
|
|
12
17
|
| "warning"
|
|
13
18
|
| "opportunity";
|
|
14
19
|
|
|
20
|
+
export type EnumBannerType = EnumValidBannerType | EnumDeprecatedBannerType;
|
|
21
|
+
|
|
15
22
|
type TypeProps = {
|
|
16
23
|
text: React.Node,
|
|
17
24
|
/** Type of banner. "danger" is deprecated in favor of "error" */
|
|
18
25
|
type: EnumBannerType,
|
|
19
26
|
};
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
case "warning":
|
|
36
|
-
return <Icon name="triangle" className="Icon" fixedWidth />;
|
|
37
|
-
case "opportunity":
|
|
38
|
-
return <Icon name="sparkles" className="Icon" fixedWidth />;
|
|
39
|
-
default:
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
28
|
+
const getBannerIcon = (type: EnumValidBannerType) => {
|
|
29
|
+
switch (type) {
|
|
30
|
+
case "success":
|
|
31
|
+
return <Icon name="circle-check-no-fill" className="Icon" fixedWidth />;
|
|
32
|
+
case "info":
|
|
33
|
+
return <Icon name="info-white" className="Icon" fixedWidth />;
|
|
34
|
+
case "error":
|
|
35
|
+
return <Icon name="triangle" className="Icon" fixedWidth />;
|
|
36
|
+
case "warning":
|
|
37
|
+
return <Icon name="triangle" className="Icon" fixedWidth />;
|
|
38
|
+
case "opportunity":
|
|
39
|
+
return <Icon name="sparkles" className="Icon" fixedWidth />;
|
|
40
|
+
default:
|
|
41
|
+
return;
|
|
42
42
|
}
|
|
43
|
+
};
|
|
43
44
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
type={type === "danger" ? "error" : type}
|
|
50
|
-
data-qa-alert={""}
|
|
51
|
-
data-qa-alert-type={type}
|
|
52
|
-
data-qa-alert-text={text}
|
|
53
|
-
// $FlowIssue - upgrade v0.112.0
|
|
54
|
-
{...rest}
|
|
55
|
-
>
|
|
56
|
-
<Box display="flex" alignItems="center" width={1}>
|
|
57
|
-
{this.getBannerIcon()}
|
|
58
|
-
{text}
|
|
59
|
-
</Box>
|
|
60
|
-
</Container>
|
|
45
|
+
const Banner = ({ type = "error", text, ...rest }: TypeProps) => {
|
|
46
|
+
const bannerType: EnumValidBannerType = type === "danger" ? "error" : type;
|
|
47
|
+
if (type === "danger") {
|
|
48
|
+
console.warn(
|
|
49
|
+
"Warning: The `danger` type has been deprecated on the Banner component. Please use `error` instead."
|
|
61
50
|
);
|
|
62
51
|
}
|
|
63
|
-
|
|
52
|
+
return (
|
|
53
|
+
<Container
|
|
54
|
+
type={bannerType}
|
|
55
|
+
data-qa-alert={""}
|
|
56
|
+
data-qa-alert-type={bannerType}
|
|
57
|
+
data-qa-alert-text={text}
|
|
58
|
+
// $FlowIssue - upgrade v0.112.0
|
|
59
|
+
{...rest}
|
|
60
|
+
>
|
|
61
|
+
<Box display="flex" alignItems="center" width={1}>
|
|
62
|
+
{getBannerIcon(bannerType)}
|
|
63
|
+
{text}
|
|
64
|
+
</Box>
|
|
65
|
+
</Container>
|
|
66
|
+
);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default Banner;
|
|
@@ -18,7 +18,7 @@ export const permutations = () => (
|
|
|
18
18
|
width="500px"
|
|
19
19
|
/>
|
|
20
20
|
<Banner text={text("Info", "Info message")} type="info" width="500px" />
|
|
21
|
-
<Banner text={text("Error", "Error message")} type="
|
|
21
|
+
<Banner text={text("Error", "Error message")} type="error" width="500px" />
|
|
22
22
|
<Banner
|
|
23
23
|
text={text("Warning", "Warning message")}
|
|
24
24
|
type="warning"
|
|
@@ -45,7 +45,7 @@ export const Info = () => (
|
|
|
45
45
|
);
|
|
46
46
|
|
|
47
47
|
export const Error = () => (
|
|
48
|
-
<Banner text={text("text", "Error message")} type="
|
|
48
|
+
<Banner text={text("text", "Error message")} type="error" />
|
|
49
49
|
);
|
|
50
50
|
|
|
51
51
|
export const Warning = () => (
|
|
@@ -21,7 +21,16 @@ describe("Banner", () => {
|
|
|
21
21
|
expect(getByDataQaLabel({ icon: "info-white" })).toBeTruthy();
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
it("should render with
|
|
24
|
+
it("should render with error type", () => {
|
|
25
|
+
const { getByText, getByDataQaLabel } = render(
|
|
26
|
+
<Banner text="Banner Text" type="error" />
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
expect(getByText("Banner Text")).toBeTruthy();
|
|
30
|
+
expect(getByDataQaLabel({ icon: "triangle" })).toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it("should render with deprecated danger type", () => {
|
|
25
34
|
const { getByText, getByDataQaLabel } = render(
|
|
26
35
|
<Banner text="Banner Text" type="danger" />
|
|
27
36
|
);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @flow
|
|
2
|
-
export type EnumIconNames = "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";
|
|
2
|
+
export type EnumIconNames = "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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports = {"active-listener":"0 0 16 16","add-item":"0 0 16 16","add-keyword":"0 0 16 16","add-team-member":"0 0 18 13","add-variable":"0 0 18 14","address-card-outline":"0 0 16 16","address-card-solid":"0 0 18 16","adobe-experience-manager":"0 0 16 18","ads":"0 0 9 16","android":"0 0 14 16","apple":"0 0 14 16","approval-indicator-outline":"0 0 14 16","approval-indicator":"0 0 14 16","archive":"0 0 16 16","arrow-down-line":"0 0 14 16","arrow-down":"0 0 16 16","arrow-left-line":"0 0 16 18","arrow-left":"0 0 16 16","arrow-right-line":"0 0 16 18","arrow-right":"0 0 16 16","arrow-up-line":"0 0 14 16","arrow-up":"0 0 16 16","arrows":"0 0 16 16","asset-library-outline":"0 0 16 16","asset-library":"0 0 16 16","assign":"0 0 18 15","atom":"0 0 14 16","audio":"0 0 16 14","back-to-top":"0 0 15 16","bambu-icon-outline":"0 0 16 16","bambu-icon":"0 0 16 16","barcode":"0 0 18 16","basketball":"0 0 16 16","bell-outline":"0 0 14 16","bigcommerce":"0 0 16 16","bitly":"0 0 16 16","bold":"0 0 16 16","book":"0 0 14 16","bookmark":"0 0 12 16","bot":"0 0 16 16","browser":"0 0 16 16","business":"0 0 16 16","calendar-outline":"0 0 14 16","calendar":"0 0 14 16","camera-outline":"0 0 18 16","camera-story":"0 0 18 16","camera":"0 0 18 16","campaign":"0 0 16 14","canva":"0 0 16 18","carousel":"0 0 16 18","cart-plus-outline":"0 0 17 15","cart-plus":"0 0 17 15","check":"0 0 16 16","chevron-down-filled":"0 0 16 21","chevron-down":"0 0 16 18","chevron-left":"0 0 10 16","chevron-right":"0 0 10 17","chevron-up-down-filled":"0 0 12 20","chevron-up-filled":"0 0 16 21","chevron-up":"0 0 16 18","circle-check-outline":"0 0 16 16","circle-check":"0 0 16 16","circle":"0 0 16 16","circle+":"0 0 16 16","circles":"0 0 16 16","circlex":"0 0 16 16","click-to-view":"0 0 12 16","clicks":"0 0 10 16","clipboard-outline":"0 0 12 16","clipboard":"0 0 12 16","clock":"0 0 16 16","closed-captioning":"0 0 16 16","cloud":"0 0 16 13","code":"0 0 18 16","columns":"0 0 16 16","comment-alt-outline":"0 0 16 15","comment-alt":"0 0 16 15","comment-lines-alt-outline":"0 0 16 16","comment":"0 0 16 13","compact-density":"0 0 16 16","compact-indicator":"0 0 16 16","comparison":"0 0 16 14","competitor":"0 0 14 16","compose":"0 0 16 16","content-suggestions":"0 0 16 16","credit-card":"0 0 16 14","crop":"0 0 16 16","crown":"0 0 16 16","dashboard":"0 0 16 14","deconstructed-negative-sentiment":"0 0 18 18","deconstructed-neutral-sentiment":"0 0 18 18","deconstructed-positive-sentiment":"0 0 18 18","discovery":"0 0 16 16","dislike-outline":"0 0 15 16","dislike":"0 0 16 16","dm-link-outline":"0 0 16 16","dm-link":"0 0 16 16","dotdotdot":"0 0 16 16","download":"0 0 16 16","drafts-outline":"0 0 12 16","drafts":"0 0 12 16","dropbox":"0 0 18 16","duplicate-outline":"0 0 14 16","duplicate":"0 0 14 16","emoji-outline":"0 0 16 16","emoji":"0 0 16 16","empty-image":"0 0 16 18","engagement-per-post":"0 0 16 16","engagements":"0 0 16 15","error":"0 0 16 16","exchange-alt":"0 0 16 16","expanded-indicator":"0 0 16 16","export":"0 0 14 17","extended-circles":"0 0 16 16","external-link-alt":"0 0 16 16","external-link":"0 0 16 16","extreme-negative-sentiment":"0 0 16 16","eye-outline":"0 0 18 16","eye-slash-outline":"0 0 20 16","eye-slash":"0 0 20 16","eye":"0 0 18 16","facebook-audience-network":"0 0 16 16","facebook-branded-content-outline":"0 0 18 15","facebook-branded-content":"0 0 18 15","facebook-groups":"0 0 16 16","facebook":"0 0 16 16","fb-reactions-angry":"0 0 16 16","fb-reactions-haha":"0 0 16 16","fb-reactions-like":"0 0 16 16","fb-reactions-love":"0 0 16 16","fb-reactions-sad":"0 0 16 16","fb-reactions-wow":"0 0 16 16","feedly":"0 0 16 15","feeds":"0 0 16 15","female":"0 0 11 18","file-chart-line":"0 0 12 16","file-edit":"0 0 12 16","file-times-solid":"0 0 12 16","filter":"0 0 16 16","flag-outline":"0 0 16 16","flag":"0 0 16 16","flat-negative-sentiment-outline":"0 0 18 18","flat-negative-sentiment":"0 0 18 18","flat-neutral-sentiment-outline":"0 0 18 18","flat-neutral-sentiment":"0 0 18 18","flat-positive-sentiment-outline":"0 0 18 18","flat-positive-sentiment":"0 0 18 18","folder-open":"0 0 16 15","folder":"0 0 16 16","follow-outline":"0 0 20 16","follow":"0 0 20 16","follower-increase":"0 0 19 16","following":"0 0 20 16","font":"0 0 18 16","full-access":"0 0 16 16","gear":"0 0 16 16","gears":"0 0 16 16","glassdoor":"0 0 16 16","glasses":"0 0 18 14","globe":"0 0 16 16","google-analytics-color":"0 0 14 18","google-business-messages":"0 0 16 16","google-drive":"0 0 16 14","google-my-business":"0 0 16 14","grip":"0 0 8 18","h1":"0 0 16 16","h2":"0 0 16 16","h3":"0 0 16 16","h4":"0 0 16 16","hamburger":"0 0 16 18","hashtag":"0 0 16 16","headset":"0 0 16 16","heart-outline":"0 0 16 16","heart":"0 0 16 16","heartbeat":"0 0 18 16","help-alt":"0 0 12 16","help":"0 0 16 16","hiking":"0 0 16 16","history":"0 0 16 16","home":"0 0 16 15","hourglass":"0 0 12 16","hubspot":"0 0 16 16","image-caption":"0 0 16 14","image":"0 0 16 16","images":"0 0 16 15","impressions-per-post":"0 0 16 16","impressions":"0 0 18 16","inactive-listener":"0 0 16 12","inbox-action":"0 0 16 16","inbox-views":"0 0 16 13","inbox":"0 0 16 14","indicator":"0 0 16 16","industry":"0 0 14 16","info":"0 0 16 16","instagram":"0 0 16 16","internal-activity-outline":"0 0 16 16","internal-activity":"0 0 16 16","italic":"0 0 16 16","key":"0 0 16 16","keyboard":"0 0 18 16","laptop-phone":"0 0 16 16","large-density":"0 0 16 16","lift":"0 0 23 16","like-outline":"0 0 15 16","like":"0 0 16 16","link":"0 0 16 16","linkedin-audience-network":"0 0 16 16","linkedin":"0 0 16 16","list-ol":"0 0 16 16","listening":"0 0 14 16","lists":"0 0 16 16","location-outline":"0 0 12 16","location":"0 0 12 16","lock":"0 0 14 16","magic-wand":"0 0 17 16","male":"0 0 16 20","marketo":"0 0 16 18","mention":"0 0 16 16","message-preview-outline":"0 0 18 16","message-preview":"0 0 18 16","message":"0 0 16 16","messages-outline":"0 0 16 16","messages":"0 0 16 16","messenger":"0 0 16 16","metric-table":"0 0 16 16","microsoft-dynamics":"0 0 16 16","minus":"0 0 16 16","mobile":"0 0 10 16","monitor":"0 0 12 16","moon":"0 0 15 16","negative-sentiment":"0 0 16 16","neutral-positive-sentiment":"0 0 16 16","neutral-sentiment":"0 0 16 16","new-trend":"0 0 12 16","newspaper":"0 0 16 16","no-access":"0 0 16 16","notepad":"0 0 12 16","notifications-publishing-outline":"0 0 16 16","notifications-publishing":"0 0 16 16","notifications":"0 0 14 16","offline":"0 0 18 15","online":"0 0 18 15","paid-promotion-outline":"0 0 16 16","paid-promotion":"0 0 16 16","paid":"0 0 14 16","paint":"0 0 18 16","palette":"0 0 16 16","paperclip":"0 0 14 16","pause":"0 0 16 18","pencil-outline":"0 0 16 16","pencil":"0 0 16 16","person":"0 0 14 16","phone":"0 0 16 16","pinterest-boards-outline":"0 0 14 16","pinterest-boards":"0 0 14 16","pinterest":"0 0 16 16","play-circle":"0 0 16 16","play":"0 0 14 16","plug":"0 0 12 16","plus":"0 0 16 18","positive-sentiment":"0 0 16 16","power-up-outline":"0 0 12 16","power-up":"0 0 10 16","profile-connect":"0 0 16 16","profile-disconnect":"0 0 16 16","publishing-outline":"0 0 16 16","publishing":"0 0 16 16","puzzle-piece":"0 0 18 16","qr-code":"0 0 16 16","queue":"0 0 16 16","recommendation":"0 0 16 16","reddit-alien":"0 0 16 16","reddit":"0 0 16 16","reels-outline":"0 0 16 16","reels":"0 0 16 16","referrals":"0 0 16 16","refresh":"0 0 16 16","rejected":"0 0 16 16","reply-outline":"0 0 16 16","reply":"0 0 16 16","reporting-period":"0 0 14 16","reporting":"0 0 16 16","reports-home":"0 0 16 16","reports":"0 0 16 15","retweet":"0 0 18 16","rss":"0 0 16 16","sales":"0 0 9 16","salesforce-cloud":"0 0 20 16","salesforce":"0 0 20 16","save-assets":"0 0 16 16","saved-messages":"0 0 16 16","saved-reply-outline":"0 0 16 12","saved-reply":"0 0 16 12","search":"0 0 16 16","sent-message-outline":"0 0 16 14","sent-message":"0 0 16 14","share":"0 0 16 14","shopify":"0 0 16 18","shopping-bag-outline":"0 0 14 16","shopping-bag":"0 0 14 16","show-navigation":"0 0 18 14","slack":"0 0 16 16","small-density":"0 0 16 16","smiley":"0 0 16 16","some-access":"0 0 16 16","sparkles":"0 0 16 16","spike-alert":"0 0 16 16","star-half-alt-solid":"0 0 18 16","star-of-life":"0 0 16 16","star-outline":"0 0 18 16","star":"0 0 18 16","sticky-note-outline":"0 0 16 16","sticky-note":"0 0 16 16","stories":"0 0 16 17","story":"0 0 16 16","suggestions":"0 0 11 16","sun":"0 0 16 16","tag-outline":"0 0 16 16","tag":"0 0 16 16","targeting-outline":"0 0 16 16","targeting":"0 0 16 16","tasks-outline":"0 0 12 16","tasks":"0 0 12 16","team-conversation-outline":"0 0 16 18","team-conversation":"0 0 16 18","team":"0 0 18 16","text-asset":"0 0 16 16","text":"0 0 8 16","tiktok":"0 0 16 18","times":"0 0 16 22","trash-can-outline":"0 0 14 16","trash-can":"0 0 14 16","trend-down":"0 0 18 18","trend-neutral":"0 0 20 18","trend-up":"0 0 18 18","trends":"0 0 16 17","triangle-black":"0 0 16 16","triangle":"0 0 16 16","tripadvisor-circle-outline":"0 0 16 16","tripadvisor-circle":"0 0 16 16","tripadvisor":"0 0 16 16","trophy-outline":"0 0 18 16","tumblr":"0 0 16 16","twitter-audience-network":"0 0 17 16","twitter":"0 0 17 16","underline":"0 0 14 16","unfollow-outline":"0 0 20 16","unfollow":"0 0 20 16","unlink":"0 0 16 16","unlock":"0 0 14 16","upload":"0 0 16 17","user-circle":"0 0 16 16","users":"0 0 18 16","verified":"0 0 16 16","video-camera-story":"0 0 18 15","video-camera":"0 0 18 16","vip":"0 0 16 16","weight":"0 0 16 16","whatsapp":"0 0 16 16","window-maximize":"0 0 16 16","window-minimize":"0 0 16 16","window-regular":"0 0 16 16","window-restore":"0 0 16 16","woocommerce":"0 0 18 16","x":"0 0 16 18","yelp-full-star":"0 0 16 16","yelp-half-star":"0 0 16 16","yelp":"0 0 14 16","youtube":"0 0 16 15","zendesk":"0 0 16 16"};
|
|
1
|
+
module.exports = {"active-listener":"0 0 16 16","add-item":"0 0 16 16","add-keyword":"0 0 16 16","add-team-member":"0 0 18 13","add-variable":"0 0 18 14","address-card-outline":"0 0 16 16","address-card-solid":"0 0 18 16","adobe-experience-manager":"0 0 16 18","ads":"0 0 9 16","android":"0 0 14 16","apple":"0 0 14 16","approval-indicator-outline":"0 0 14 16","approval-indicator":"0 0 14 16","archive":"0 0 16 16","arrow-down-line":"0 0 14 16","arrow-down":"0 0 16 16","arrow-left-line":"0 0 16 18","arrow-left":"0 0 16 16","arrow-right-line":"0 0 16 18","arrow-right":"0 0 16 16","arrow-up-line":"0 0 14 16","arrow-up":"0 0 16 16","arrows":"0 0 16 16","asset-library-outline":"0 0 16 16","asset-library":"0 0 16 16","assign":"0 0 18 15","atom":"0 0 14 16","audio":"0 0 16 14","back-to-top":"0 0 15 16","bambu-icon-outline":"0 0 16 16","bambu-icon":"0 0 16 16","barcode":"0 0 18 16","basketball":"0 0 16 16","bell-outline":"0 0 14 16","bigcommerce":"0 0 16 16","bitly":"0 0 16 16","bold":"0 0 16 16","book":"0 0 14 16","bookmark":"0 0 12 16","bot":"0 0 16 16","browser":"0 0 16 16","business":"0 0 16 16","calendar-outline":"0 0 14 16","calendar":"0 0 14 16","camera-outline":"0 0 18 16","camera-story":"0 0 18 16","camera":"0 0 18 16","campaign":"0 0 16 14","canva":"0 0 16 18","carousel":"0 0 16 18","cart-plus-outline":"0 0 17 15","cart-plus":"0 0 17 15","check":"0 0 16 16","chevron-down-filled":"0 0 16 21","chevron-down":"0 0 16 18","chevron-left":"0 0 10 16","chevron-right":"0 0 10 17","chevron-up-down-filled":"0 0 12 20","chevron-up-filled":"0 0 16 21","chevron-up":"0 0 16 18","circle-check-outline":"0 0 16 16","circle-check":"0 0 16 16","circle":"0 0 16 16","circle+":"0 0 16 16","circles":"0 0 16 16","circlex":"0 0 16 16","click-to-view":"0 0 12 16","clicks":"0 0 10 16","clipboard-outline":"0 0 12 16","clipboard":"0 0 12 16","clock":"0 0 16 16","closed-captioning":"0 0 16 16","cloud":"0 0 16 13","code":"0 0 18 16","columns":"0 0 16 16","comment-alt-outline":"0 0 16 15","comment-alt":"0 0 16 15","comment-lines-alt-outline":"0 0 16 16","comment":"0 0 16 13","compact-density":"0 0 16 16","compact-indicator":"0 0 16 16","comparison":"0 0 16 14","competitor":"0 0 14 16","compose":"0 0 16 16","content-suggestions":"0 0 16 16","credit-card":"0 0 16 14","crop":"0 0 16 16","crown":"0 0 16 16","dashboard":"0 0 16 14","deconstructed-negative-sentiment":"0 0 18 18","deconstructed-neutral-sentiment":"0 0 18 18","deconstructed-positive-sentiment":"0 0 18 18","discovery":"0 0 16 16","dislike-outline":"0 0 15 16","dislike":"0 0 16 16","dm-link-outline":"0 0 16 16","dm-link":"0 0 16 16","dotdotdot":"0 0 16 16","download":"0 0 16 16","drafts-outline":"0 0 12 16","drafts":"0 0 12 16","dropbox":"0 0 18 16","duplicate-outline":"0 0 14 16","duplicate":"0 0 14 16","emoji-outline":"0 0 16 16","emoji":"0 0 16 16","empty-image":"0 0 16 18","engagement-per-post":"0 0 16 16","engagements":"0 0 16 15","error":"0 0 16 16","exchange-alt":"0 0 16 16","expanded-indicator":"0 0 16 16","export":"0 0 14 17","extended-circles":"0 0 16 16","external-link-alt":"0 0 16 16","external-link":"0 0 16 16","extreme-negative-sentiment":"0 0 16 16","eye-outline":"0 0 18 16","eye-slash-outline":"0 0 20 16","eye-slash":"0 0 20 16","eye":"0 0 18 16","facebook-audience-network":"0 0 16 16","facebook-branded-content-outline":"0 0 18 15","facebook-branded-content":"0 0 18 15","facebook-groups":"0 0 16 16","facebook":"0 0 16 16","fb-reactions-angry":"0 0 16 16","fb-reactions-haha":"0 0 16 16","fb-reactions-like":"0 0 16 16","fb-reactions-love":"0 0 16 16","fb-reactions-sad":"0 0 16 16","fb-reactions-wow":"0 0 16 16","feedly":"0 0 16 15","feeds":"0 0 16 15","female":"0 0 11 18","file-chart-line":"0 0 12 16","file-edit":"0 0 12 16","file-times-solid":"0 0 12 16","filter":"0 0 16 16","flag-outline":"0 0 16 16","flag":"0 0 16 16","flat-negative-sentiment-outline":"0 0 18 18","flat-negative-sentiment":"0 0 18 18","flat-neutral-sentiment-outline":"0 0 18 18","flat-neutral-sentiment":"0 0 18 18","flat-positive-sentiment-outline":"0 0 18 18","flat-positive-sentiment":"0 0 18 18","folder-open":"0 0 16 15","folder":"0 0 16 16","follow-outline":"0 0 20 16","follow":"0 0 20 16","follower-increase":"0 0 19 16","following":"0 0 20 16","font":"0 0 18 16","full-access":"0 0 16 16","gear":"0 0 16 16","gears":"0 0 16 16","glassdoor":"0 0 16 16","glasses":"0 0 18 14","globe":"0 0 16 16","google-analytics-color":"0 0 14 18","google-business-messages":"0 0 16 16","google-drive":"0 0 16 14","google-my-business":"0 0 16 14","grip":"0 0 8 18","h1":"0 0 16 16","h2":"0 0 16 16","h3":"0 0 16 16","h4":"0 0 16 16","hamburger":"0 0 16 18","hashtag":"0 0 16 16","headset":"0 0 16 16","heart-outline":"0 0 16 16","heart":"0 0 16 16","heartbeat":"0 0 18 16","help-alt":"0 0 12 16","help":"0 0 16 16","hiking":"0 0 16 16","history":"0 0 16 16","home":"0 0 16 15","hourglass":"0 0 12 16","hubspot":"0 0 16 16","image-caption":"0 0 16 14","image":"0 0 16 16","images":"0 0 16 15","impressions-per-post":"0 0 16 16","impressions":"0 0 18 16","inactive-listener":"0 0 16 12","inbox-action":"0 0 16 16","inbox-views":"0 0 16 13","inbox":"0 0 16 14","indicator":"0 0 16 16","industry":"0 0 14 16","info":"0 0 16 16","instagram":"0 0 16 16","internal-activity-outline":"0 0 16 16","internal-activity":"0 0 16 16","italic":"0 0 16 16","key":"0 0 16 16","keyboard":"0 0 18 16","laptop-phone":"0 0 16 16","large-density":"0 0 16 16","lift":"0 0 23 16","like-outline":"0 0 15 16","like":"0 0 16 16","link":"0 0 16 16","linkedin-audience-network":"0 0 16 16","linkedin":"0 0 16 16","list-ol":"0 0 16 16","listening":"0 0 14 16","lists":"0 0 16 16","location-outline":"0 0 12 16","location":"0 0 12 16","lock":"0 0 14 16","magic-wand":"0 0 17 16","male":"0 0 16 20","marketo":"0 0 16 18","mention":"0 0 16 16","message-preview-outline":"0 0 18 16","message-preview":"0 0 18 16","message":"0 0 16 16","messages-outline":"0 0 16 16","messages":"0 0 16 16","messenger":"0 0 16 16","metric-table":"0 0 16 16","microsoft-dynamics":"0 0 16 16","minus":"0 0 16 16","mobile":"0 0 10 16","monitor":"0 0 12 16","moon":"0 0 15 16","negative-sentiment":"0 0 16 16","neutral-positive-sentiment":"0 0 16 16","neutral-sentiment":"0 0 16 16","new-trend":"0 0 12 16","newspaper":"0 0 16 16","no-access":"0 0 16 16","notepad":"0 0 12 16","notifications-publishing-outline":"0 0 16 16","notifications-publishing":"0 0 16 16","notifications":"0 0 14 16","offline":"0 0 18 15","online":"0 0 18 15","paid-promotion-outline":"0 0 16 16","paid-promotion":"0 0 16 16","paid":"0 0 14 16","paint":"0 0 18 16","palette":"0 0 16 16","paperclip":"0 0 14 16","pause":"0 0 16 18","pencil-outline":"0 0 16 16","pencil":"0 0 16 16","person":"0 0 14 16","phone":"0 0 16 16","pinterest-boards-outline":"0 0 14 16","pinterest-boards":"0 0 14 16","pinterest":"0 0 16 16","play-circle":"0 0 16 16","play":"0 0 14 16","plug":"0 0 12 16","plus":"0 0 16 18","positive-sentiment":"0 0 16 16","power-up-outline":"0 0 12 16","power-up":"0 0 10 16","profile-connect":"0 0 16 16","profile-disconnect":"0 0 16 16","publishing-outline":"0 0 16 16","publishing":"0 0 16 16","puzzle-piece":"0 0 18 16","qr-code":"0 0 16 16","queue":"0 0 16 16","recommendation":"0 0 16 16","reddit-alien":"0 0 16 16","reddit":"0 0 16 16","reels-outline":"0 0 16 16","reels":"0 0 16 16","referrals":"0 0 16 16","refresh":"0 0 16 16","rejected":"0 0 16 16","reply-outline":"0 0 16 16","reply":"0 0 16 16","reporting-period":"0 0 14 16","reporting":"0 0 16 16","reports-home":"0 0 16 16","reports":"0 0 16 15","retweet":"0 0 18 16","rss":"0 0 16 16","sales":"0 0 9 16","salesforce-cloud":"0 0 20 16","salesforce":"0 0 20 16","save-assets":"0 0 16 16","saved-messages":"0 0 16 16","saved-reply-outline":"0 0 16 12","saved-reply":"0 0 16 12","search":"0 0 16 16","sent-message-outline":"0 0 16 14","sent-message":"0 0 16 14","share":"0 0 16 14","shopify":"0 0 16 18","shopping-bag-outline":"0 0 14 16","shopping-bag":"0 0 14 16","show-navigation":"0 0 18 14","slack":"0 0 16 16","small-density":"0 0 16 16","smiley":"0 0 16 16","some-access":"0 0 16 16","sparkles":"0 0 16 16","spike-alert":"0 0 16 16","star-half-alt-solid":"0 0 18 16","star-of-life":"0 0 16 16","star-outline":"0 0 18 16","star":"0 0 18 16","sticky-note-outline":"0 0 16 16","sticky-note":"0 0 16 16","stories":"0 0 16 17","story":"0 0 16 16","suggestions":"0 0 11 16","sun":"0 0 16 16","tag-outline":"0 0 16 16","tag":"0 0 16 16","targeting-outline":"0 0 16 16","targeting":"0 0 16 16","tasks-outline":"0 0 12 16","tasks":"0 0 12 16","team-conversation-outline":"0 0 16 18","team-conversation":"0 0 16 18","team":"0 0 18 16","text-asset":"0 0 16 16","text":"0 0 8 16","tiktok":"0 0 16 18","times":"0 0 16 22","tools":"0 0 67 67","trash-can-outline":"0 0 14 16","trash-can":"0 0 14 16","trend-down":"0 0 18 18","trend-neutral":"0 0 20 18","trend-up":"0 0 18 18","trends":"0 0 16 17","triangle-black":"0 0 16 16","triangle":"0 0 16 16","tripadvisor-circle-outline":"0 0 16 16","tripadvisor-circle":"0 0 16 16","tripadvisor":"0 0 16 16","trophy-outline":"0 0 18 16","tumblr":"0 0 16 16","twitter-audience-network":"0 0 17 16","twitter":"0 0 17 16","underline":"0 0 14 16","unfollow-outline":"0 0 20 16","unfollow":"0 0 20 16","unlink":"0 0 16 16","unlock":"0 0 14 16","upload":"0 0 16 17","user-circle":"0 0 16 16","users":"0 0 18 16","verified":"0 0 16 16","video-camera-story":"0 0 18 15","video-camera":"0 0 18 16","vip":"0 0 16 16","weight":"0 0 16 16","whatsapp":"0 0 16 16","window-maximize":"0 0 16 16","window-minimize":"0 0 16 16","window-regular":"0 0 16 16","window-restore":"0 0 16 16","woocommerce":"0 0 18 16","x":"0 0 16 18","yelp-full-star":"0 0 16 16","yelp-half-star":"0 0 16 16","yelp":"0 0 14 16","youtube":"0 0 16 15","zendesk":"0 0 16 16"};
|
|
@@ -44,6 +44,7 @@ const colors = {
|
|
|
44
44
|
error: red.background,
|
|
45
45
|
info: blue.background,
|
|
46
46
|
opportunity: purple.background,
|
|
47
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
47
48
|
danger: red.background,
|
|
48
49
|
decorative: {
|
|
49
50
|
green: green.background,
|
|
@@ -68,6 +69,7 @@ const colors = {
|
|
|
68
69
|
success: green.highlight,
|
|
69
70
|
warning: yellow.highlight,
|
|
70
71
|
error: red.highlight,
|
|
72
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
71
73
|
danger: red.highlight,
|
|
72
74
|
info: blue.highlight,
|
|
73
75
|
opportunity: purple.highlight,
|
|
@@ -191,6 +193,7 @@ const colors = {
|
|
|
191
193
|
success: green.foreground,
|
|
192
194
|
warning: yellow.foreground,
|
|
193
195
|
error: red.foreground,
|
|
196
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
194
197
|
danger: red.foreground,
|
|
195
198
|
info: blue.foreground,
|
|
196
199
|
opportunity: purple.foreground,
|
|
@@ -73,6 +73,29 @@ export const analytics = {
|
|
|
73
73
|
},
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
+
export const listening = {
|
|
77
|
+
topicTypes: {
|
|
78
|
+
customTopic: baseDarkTheme.colors.teal[400],
|
|
79
|
+
brandHealth: baseDarkTheme.colors.red[400],
|
|
80
|
+
industryInsights: baseDarkTheme.colors.green[400],
|
|
81
|
+
competitiveAnalysis: baseDarkTheme.colors.yellow[400],
|
|
82
|
+
campaignAnalysis: baseDarkTheme.colors.magenta[400],
|
|
83
|
+
eventMonitoring: baseDarkTheme.colors.aqua[400],
|
|
84
|
+
featuredTopic: baseDarkTheme.colors.green[400],
|
|
85
|
+
},
|
|
86
|
+
worldMap: {
|
|
87
|
+
empty: baseDarkTheme.colors.neutral[200],
|
|
88
|
+
q0: baseDarkTheme.colors.purple[200],
|
|
89
|
+
q1: baseDarkTheme.colors.purple[300],
|
|
90
|
+
q2: baseDarkTheme.colors.purple[400],
|
|
91
|
+
q3: baseDarkTheme.colors.purple[500],
|
|
92
|
+
q4: baseDarkTheme.colors.purple[600],
|
|
93
|
+
q5: baseDarkTheme.colors.purple[700],
|
|
94
|
+
q6: baseDarkTheme.colors.purple[800],
|
|
95
|
+
q7: baseDarkTheme.colors.purple[900],
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
|
|
76
99
|
export const growth = {
|
|
77
100
|
education: {
|
|
78
101
|
decorative: {
|
|
@@ -160,6 +183,7 @@ const darkTheme: TypeSproutTheme = {
|
|
|
160
183
|
navigation,
|
|
161
184
|
datePicker,
|
|
162
185
|
analytics,
|
|
186
|
+
listening,
|
|
163
187
|
growth,
|
|
164
188
|
cardControl,
|
|
165
189
|
},
|
|
@@ -73,6 +73,29 @@ export const analytics = {
|
|
|
73
73
|
},
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
+
export const listening = {
|
|
77
|
+
topicTypes: {
|
|
78
|
+
customTopic: baseLightTheme.colors.blue[400],
|
|
79
|
+
brandHealth: baseLightTheme.colors.red[400],
|
|
80
|
+
industryInsights: baseLightTheme.colors.green[400],
|
|
81
|
+
competitiveAnalysis: baseLightTheme.colors.yellow[400],
|
|
82
|
+
campaignAnalysis: baseLightTheme.colors.magenta[400],
|
|
83
|
+
eventMonitoring: baseLightTheme.colors.aqua[400],
|
|
84
|
+
featuredTopic: baseLightTheme.colors.green[400],
|
|
85
|
+
},
|
|
86
|
+
worldMap: {
|
|
87
|
+
empty: baseLightTheme.colors.neutral[200],
|
|
88
|
+
q0: baseLightTheme.colors.purple[200],
|
|
89
|
+
q1: baseLightTheme.colors.purple[300],
|
|
90
|
+
q2: baseLightTheme.colors.purple[400],
|
|
91
|
+
q3: baseLightTheme.colors.purple[500],
|
|
92
|
+
q4: baseLightTheme.colors.purple[600],
|
|
93
|
+
q5: baseLightTheme.colors.purple[700],
|
|
94
|
+
q6: baseLightTheme.colors.purple[800],
|
|
95
|
+
q7: baseLightTheme.colors.purple[900],
|
|
96
|
+
},
|
|
97
|
+
};
|
|
98
|
+
|
|
76
99
|
export const growth = {
|
|
77
100
|
education: {
|
|
78
101
|
decorative: {
|
|
@@ -160,6 +183,7 @@ const lightTheme: TypeSproutTheme = {
|
|
|
160
183
|
navigation,
|
|
161
184
|
datePicker,
|
|
162
185
|
analytics,
|
|
186
|
+
listening,
|
|
163
187
|
growth,
|
|
164
188
|
cardControl,
|
|
165
189
|
},
|
|
@@ -23,6 +23,7 @@ import DEPTH from "@sproutsocial/seeds-depth";
|
|
|
23
23
|
import MOTION from "@sproutsocial/seeds-motion";
|
|
24
24
|
import BORDER from "@sproutsocial/seeds-border";
|
|
25
25
|
import { transparentize } from "polished";
|
|
26
|
+
import type { TypeSpaceLiterals as StackTypeSpaceLiterals } from "../../Stack/TypeSpaceLiterals";
|
|
26
27
|
|
|
27
28
|
export const breakpoints = ["900px", "1200px", "1500px", "1800px"];
|
|
28
29
|
|
|
@@ -44,6 +45,7 @@ const colors = {
|
|
|
44
45
|
error: red.background,
|
|
45
46
|
info: blue.background,
|
|
46
47
|
opportunity: purple.background,
|
|
48
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
47
49
|
danger: red.background,
|
|
48
50
|
decorative: {
|
|
49
51
|
green: green.background,
|
|
@@ -68,6 +70,7 @@ const colors = {
|
|
|
68
70
|
success: green.highlight,
|
|
69
71
|
warning: yellow.highlight,
|
|
70
72
|
error: red.highlight,
|
|
73
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
71
74
|
danger: red.highlight,
|
|
72
75
|
info: blue.highlight,
|
|
73
76
|
opportunity: purple.highlight,
|
|
@@ -191,6 +194,7 @@ const colors = {
|
|
|
191
194
|
success: green.foreground,
|
|
192
195
|
warning: yellow.foreground,
|
|
193
196
|
error: red.foreground,
|
|
197
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
194
198
|
danger: red.foreground,
|
|
195
199
|
info: blue.foreground,
|
|
196
200
|
opportunity: purple.foreground,
|
|
@@ -307,7 +311,7 @@ export const fontWeights = {
|
|
|
307
311
|
* @deprecated
|
|
308
312
|
* Import from `Stack/TypeSpaceLiterals` instead.
|
|
309
313
|
*/
|
|
310
|
-
export type
|
|
314
|
+
export type TypeSpaceLiterals = StackTypeSpaceLiterals;
|
|
311
315
|
|
|
312
316
|
export const space = {
|
|
313
317
|
"0": SPACE.SPACE_SIZE_0,
|
|
@@ -20,6 +20,7 @@ type TypeContainerColors = {|
|
|
|
20
20
|
error: string,
|
|
21
21
|
info: string,
|
|
22
22
|
opportunity: string,
|
|
23
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
23
24
|
danger: string,
|
|
24
25
|
decorative: {
|
|
25
26
|
green: string,
|
|
@@ -44,6 +45,7 @@ type TypeContainerColors = {|
|
|
|
44
45
|
success: string,
|
|
45
46
|
warning: string,
|
|
46
47
|
error: string,
|
|
48
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
47
49
|
danger: string,
|
|
48
50
|
info: string,
|
|
49
51
|
opportunity: string,
|
|
@@ -179,6 +181,7 @@ type TypeIconColors = {|
|
|
|
179
181
|
success: string,
|
|
180
182
|
warning: string,
|
|
181
183
|
error: string,
|
|
184
|
+
/** @deprecated Use "error" instead of "danger" */
|
|
182
185
|
danger: string,
|
|
183
186
|
info: string,
|
|
184
187
|
opportunity: string,
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
datePicker,
|
|
18
18
|
navigation,
|
|
19
19
|
analytics,
|
|
20
|
+
listening,
|
|
20
21
|
growth,
|
|
21
22
|
cardControl,
|
|
22
23
|
} from "../themes/extendedThemes/sproutTheme/light/theme";
|
|
@@ -59,6 +60,7 @@ export type TypeSproutTheme = {
|
|
|
59
60
|
navigation: typeof navigation,
|
|
60
61
|
datePicker: typeof datePicker,
|
|
61
62
|
analytics: typeof analytics,
|
|
63
|
+
listening: typeof listening,
|
|
62
64
|
growth: typeof growth,
|
|
63
65
|
cardControl: typeof cardControl,
|
|
64
66
|
|},
|
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;
|