@sproutsocial/racine 8.4.0 → 8.6.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 +24 -0
- package/__flow__/Collapsible/index.js +40 -11
- package/__flow__/Collapsible/index.stories.js +77 -0
- package/__flow__/Collapsible/styles.js +28 -2
- package/__flow__/EnumIconNames.js +1 -1
- package/__flow__/IconViewBoxes.js +1 -1
- package/__flow__/dataviz/dataviz.stories.js +12 -0
- package/__flow__/dataviz/index.js +13 -0
- package/__flow__/themes/dark/dataviz-palette.js +50 -0
- package/__flow__/themes/dark/theme.js +2 -0
- package/__flow__/themes/default/dataviz-palette.js +50 -0
- package/__flow__/themes/default/theme.js +3 -0
- package/commonjs/Collapsible/index.js +28 -11
- package/commonjs/Collapsible/styles.js +8 -1
- package/commonjs/IconViewBoxes.js +11 -1
- package/commonjs/dataviz/index.js +24 -0
- package/commonjs/include-icons.js +1 -1
- package/commonjs/themes/dark/dataviz-palette.js +35 -0
- package/commonjs/themes/dark/theme.js +3 -1
- package/commonjs/themes/default/dataviz-palette.js +35 -0
- package/commonjs/themes/default/theme.js +5 -2
- package/dist/iconList.js +1 -1
- package/dist/icons.svg +1 -1
- package/icons/bigcommerce.svg +1 -2
- package/icons/deconstructed-negative-sentiment.svg +3 -0
- package/icons/deconstructed-neutral-sentiment.svg +3 -0
- package/icons/deconstructed-positive-sentiment.svg +3 -0
- package/icons/flat-negative-sentiment-outline.svg +4 -0
- package/icons/flat-negative-sentiment.svg +3 -0
- package/icons/flat-neutral-sentiment-outline.svg +4 -0
- package/icons/flat-neutral-sentiment.svg +3 -0
- package/icons/flat-positive-sentiment-outline.svg +4 -0
- package/icons/flat-positive-sentiment.svg +3 -0
- package/icons/tiktok.svg +5 -0
- package/icons/woocommerce.svg +2 -4
- package/includeIcons.js +1 -1
- package/lib/Collapsible/index.js +28 -11
- package/lib/Collapsible/styles.js +8 -1
- package/lib/IconViewBoxes.js +11 -1
- package/lib/dataviz/index.js +13 -0
- package/lib/include-icons.js +1 -1
- package/lib/themes/dark/dataviz-palette.js +26 -0
- package/lib/themes/dark/theme.js +2 -1
- package/lib/themes/default/dataviz-palette.js +26 -0
- package/lib/themes/default/theme.js +4 -2
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d1c8003: Adds data-viz color rotation to the theme file to support data-viz across dark mode and future themes.
|
|
8
|
+
|
|
9
|
+
## 8.5.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 41b0717: Adds openHeight and collapsedHeight props to Collapsible component for more flexible collapse usage
|
|
14
|
+
|
|
15
|
+
## 8.5.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 48628f0: Sync icons from Figma
|
|
20
|
+
|
|
21
|
+
## 8.5.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 343c636: adds tiktok network color to theme, adds tiktok icon, adds sentiment icons
|
|
26
|
+
|
|
3
27
|
## 8.4.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
@@ -11,6 +11,8 @@ type TypeCollapsibleContext = $Shape<{
|
|
|
11
11
|
isOpen: boolean,
|
|
12
12
|
id: string,
|
|
13
13
|
offset: number,
|
|
14
|
+
openHeight: number,
|
|
15
|
+
collapsedHeight: number,
|
|
14
16
|
}>;
|
|
15
17
|
|
|
16
18
|
const CollapsibleContext = React.createContext<TypeCollapsibleContext>({});
|
|
@@ -20,18 +22,42 @@ type TypeProps = {
|
|
|
20
22
|
children: React.Node,
|
|
21
23
|
/** If the children of the collapsible panel have a top or bottom margin, it will throw off the calculations for the height of the content. The total amount of vertical margin (in pixels) can be supplied to this prop to correct this. */
|
|
22
24
|
offset?: number,
|
|
25
|
+
collapsedHeight?: number,
|
|
26
|
+
openHeight?: number,
|
|
23
27
|
};
|
|
24
28
|
|
|
25
|
-
const Collapsible = ({
|
|
29
|
+
const Collapsible = ({
|
|
30
|
+
children,
|
|
31
|
+
isOpen = false,
|
|
32
|
+
offset = 0,
|
|
33
|
+
collapsedHeight = 0,
|
|
34
|
+
openHeight,
|
|
35
|
+
}: TypeProps) => {
|
|
26
36
|
const [id] = useState(`Racine-collapsible-${idCounter++}`);
|
|
27
37
|
|
|
28
38
|
return (
|
|
29
|
-
<CollapsibleContext.Provider
|
|
39
|
+
<CollapsibleContext.Provider
|
|
40
|
+
value={{ isOpen, id, offset, collapsedHeight, openHeight }}
|
|
41
|
+
>
|
|
30
42
|
{children}
|
|
31
43
|
</CollapsibleContext.Provider>
|
|
32
44
|
);
|
|
33
45
|
};
|
|
34
46
|
|
|
47
|
+
const determineMaxHeight = (isHidden, openHeight, computedHeight) => {
|
|
48
|
+
// If isHidden is undefined this is the first render. Return undefined so the max-height prop is not added
|
|
49
|
+
// This is a hack to prevent css from animating if it begins in the open state
|
|
50
|
+
// css animates when attribute values change (IE from 0 to another number)
|
|
51
|
+
// css does not animate when simply adding an attribute to an HTML element
|
|
52
|
+
if (isHidden === undefined) return undefined;
|
|
53
|
+
|
|
54
|
+
// If the user has defined an explicit open height, return that as the max height
|
|
55
|
+
if (!!openHeight) return openHeight;
|
|
56
|
+
|
|
57
|
+
// Otherwise, fallback to the computed height
|
|
58
|
+
return computedHeight;
|
|
59
|
+
};
|
|
60
|
+
|
|
35
61
|
const Trigger = ({ children, ...rest }) => {
|
|
36
62
|
const { isOpen, id } = useContext(CollapsibleContext);
|
|
37
63
|
|
|
@@ -47,17 +73,18 @@ const Trigger = ({ children, ...rest }) => {
|
|
|
47
73
|
};
|
|
48
74
|
|
|
49
75
|
const Panel = ({ children, ...rest }) => {
|
|
50
|
-
const { isOpen, id, offset } = useContext(
|
|
76
|
+
const { isOpen, id, offset, collapsedHeight, openHeight } = useContext(
|
|
77
|
+
CollapsibleContext
|
|
78
|
+
);
|
|
51
79
|
const ref = useRef();
|
|
52
80
|
const measurement = useMeasure(ref);
|
|
53
81
|
const [isHidden, setIsHidden] = useState(undefined);
|
|
54
82
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
isHidden === undefined ? undefined : measurement.height + offset;
|
|
83
|
+
const maxHeight = determineMaxHeight(
|
|
84
|
+
isHidden,
|
|
85
|
+
openHeight,
|
|
86
|
+
measurement.height + offset
|
|
87
|
+
);
|
|
61
88
|
|
|
62
89
|
/* We use the "hidden" attribute to remove the contents of the panel from the tab order of the page, but it fucks with the animation. This logic sets a slight timeout on setting the prop so that the animation has time to complete before the attribute is set. */
|
|
63
90
|
useEffect(() => {
|
|
@@ -76,14 +103,16 @@ const Panel = ({ children, ...rest }) => {
|
|
|
76
103
|
|
|
77
104
|
return (
|
|
78
105
|
<CollapsingBox
|
|
79
|
-
|
|
106
|
+
scrollable={isOpen}
|
|
107
|
+
maxHeight={isOpen ? maxHeight : collapsedHeight}
|
|
108
|
+
minHeight={collapsedHeight}
|
|
80
109
|
data-qa-collapsible={""}
|
|
81
110
|
data-qa-collapsible-isopen={isOpen === true}
|
|
82
111
|
{...rest}
|
|
83
112
|
>
|
|
84
113
|
<Box
|
|
85
114
|
width="100%"
|
|
86
|
-
hidden={isHidden}
|
|
115
|
+
hidden={isHidden && collapsedHeight === 0}
|
|
87
116
|
aria-hidden={!isOpen}
|
|
88
117
|
id={id}
|
|
89
118
|
ref={ref}
|
|
@@ -89,3 +89,80 @@ export const withTallContent = () => (
|
|
|
89
89
|
withTallContent.story = {
|
|
90
90
|
name: "With tall content",
|
|
91
91
|
};
|
|
92
|
+
|
|
93
|
+
const StatefulCollapseWithMinHeight = ({
|
|
94
|
+
children,
|
|
95
|
+
offset = 0,
|
|
96
|
+
collapsedHeight = 0,
|
|
97
|
+
openHeight,
|
|
98
|
+
}) => {
|
|
99
|
+
const [open, setOpen] = useState(false);
|
|
100
|
+
const toggle = () => setOpen(!open);
|
|
101
|
+
|
|
102
|
+
return (
|
|
103
|
+
<Collapsible
|
|
104
|
+
id="test-id-1"
|
|
105
|
+
isOpen={open}
|
|
106
|
+
offset={offset}
|
|
107
|
+
openHeight={openHeight}
|
|
108
|
+
collapsedHeight={collapsedHeight}
|
|
109
|
+
>
|
|
110
|
+
<Collapsible.Panel>{children}</Collapsible.Panel>
|
|
111
|
+
<Collapsible.Trigger>
|
|
112
|
+
<Button onClick={toggle}>{open ? "Show Less" : "Show More"}</Button>
|
|
113
|
+
</Collapsible.Trigger>
|
|
114
|
+
</Collapsible>
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export const withCollapsedHeight = () => {
|
|
119
|
+
return (
|
|
120
|
+
<StatefulCollapseWithMinHeight collapsedHeight={100} openHeight={300}>
|
|
121
|
+
<Box width="500px" p={400}>
|
|
122
|
+
Threepio! Come in, Threepio! Threepio! Get to the top! I can’t Where
|
|
123
|
+
could he be? Threepio! Threepio, will you come in? They aren’t here!
|
|
124
|
+
Something must have happened to them. See if they’ve been captured.
|
|
125
|
+
Hurry! One thing’s for sure. We’re all going to be a lot thinner! Get on
|
|
126
|
+
top of it! I’m trying! Thank goodness, they haven’t found them! Where
|
|
127
|
+
could they be? Use the comlink? Oh, my! I forgot I turned it off! Are
|
|
128
|
+
you there, sir? Threepio! We’ve had some problems… Will you shut up and
|
|
129
|
+
listen to me? Shut down all garbage mashers on the detention level, will
|
|
130
|
+
you? Do you copy? Shut down all the garbage mashers on the detention
|
|
131
|
+
level. Shut down all the garbage mashers on the detention level. No.
|
|
132
|
+
Shut them all down! Hurry! Listen to them! They’re dying, Artoo! Curse
|
|
133
|
+
my metal body! I wasn’t fast enough. It’s all my fault! My poor master!
|
|
134
|
+
Threepio, we’re all right! We’re all right. You did great. Threepio!
|
|
135
|
+
Come in, Threepio! Threepio! Get to the top! I can’t Where could he be?
|
|
136
|
+
Threepio! Threepio, will you come in? They aren’t here! Something must
|
|
137
|
+
have happened to them. See if they’ve been captured. Hurry! One thing’s
|
|
138
|
+
for sure. We’re all going to be a lot thinner! Get on top of it! I’m
|
|
139
|
+
trying! Thank goodness, they haven’t found them! Where could they be?
|
|
140
|
+
Use the comlink? Oh, my! I forgot I turned it off! Are you there, sir?
|
|
141
|
+
Threepio! We’ve had some problems… Will you shut up and listen to me?
|
|
142
|
+
Shut down all garbage mashers on the detention level, will you? Do you
|
|
143
|
+
copy? Shut down all the garbage mashers on the detention level. Shut
|
|
144
|
+
down all the garbage mashers on the detention level. No. Shut them all
|
|
145
|
+
down! Hurry! Listen to them! They’re dying, Artoo! Curse my metal body!
|
|
146
|
+
I wasn’t fast enough. It’s all my fault! My poor master! Threepio, we’re
|
|
147
|
+
all right! We’re all right. You did great. Threepio! Come in, Threepio!
|
|
148
|
+
Threepio! Get to the top! I can’t Where could he be? Threepio! Threepio,
|
|
149
|
+
will you come in? They aren’t here! Something must have happened to
|
|
150
|
+
them. See if they’ve been captured. Hurry! One thing’s for sure. We’re
|
|
151
|
+
all going to be a lot thinner! Get on top of it! I’m trying! Thank
|
|
152
|
+
goodness, they haven’t found them! Where could they be? Use the comlink?
|
|
153
|
+
Oh, my! I forgot I turned it off! Are you there, sir? Threepio! We’ve
|
|
154
|
+
had some problems… Will you shut up and listen to me? Shut down all
|
|
155
|
+
garbage mashers on the detention level, will you? Do you copy? Shut down
|
|
156
|
+
all the garbage mashers on the detention level. Shut down all the
|
|
157
|
+
garbage mashers on the detention level. No. Shut them all down! Hurry!
|
|
158
|
+
Listen to them! They’re dying, Artoo! Curse my metal body! I wasn’t fast
|
|
159
|
+
enough. It’s all my fault! My poor master! Threepio, we’re all right!
|
|
160
|
+
We’re all right. You did great.
|
|
161
|
+
</Box>
|
|
162
|
+
</StatefulCollapseWithMinHeight>
|
|
163
|
+
);
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
withCollapsedHeight.story = {
|
|
167
|
+
name: "With collapsedHeight",
|
|
168
|
+
};
|
|
@@ -4,9 +4,35 @@ import Box from "../Box";
|
|
|
4
4
|
|
|
5
5
|
import type { TypeTheme } from "../types/theme.flow";
|
|
6
6
|
|
|
7
|
-
export const CollapsingBox = styled<typeof Box, TypeTheme
|
|
7
|
+
export const CollapsingBox = styled<typeof Box, TypeTheme, *>(Box)`
|
|
8
8
|
transition: max-height ${(p) => p.theme.duration.medium}
|
|
9
9
|
${(p) => p.theme.easing.ease_inout};
|
|
10
10
|
will-change: max-height;
|
|
11
|
-
|
|
11
|
+
position: relative;
|
|
12
|
+
overflow: auto;
|
|
13
|
+
background: /* Shadow covers */ linear-gradient(
|
|
14
|
+
${(p) => p.theme.colors.neutral[100]} 30%,
|
|
15
|
+
rgba(255, 255, 255, 0)
|
|
16
|
+
),
|
|
17
|
+
linear-gradient(
|
|
18
|
+
rgba(255, 255, 255, 0),
|
|
19
|
+
${(p) => p.theme.colors.neutral[100]} 70%
|
|
20
|
+
)
|
|
21
|
+
0 100%,
|
|
22
|
+
/* Shadows */
|
|
23
|
+
radial-gradient(
|
|
24
|
+
farthest-side at 50% 0,
|
|
25
|
+
rgb(39 51 51 / 5%),
|
|
26
|
+
rgba(0, 0, 0, 0)
|
|
27
|
+
),
|
|
28
|
+
radial-gradient(
|
|
29
|
+
farthest-side at 50% 100%,
|
|
30
|
+
rgb(39 51 51 / 5%),
|
|
31
|
+
rgba(0, 0, 0, 0)
|
|
32
|
+
)
|
|
33
|
+
0 100%;
|
|
34
|
+
background-repeat: no-repeat;
|
|
35
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
36
|
+
background-attachment: local, local, scroll, scroll;
|
|
37
|
+
${({ scrollable }) => (scrollable ? `overflow: auto` : `overflow: hidden`)};
|
|
12
38
|
`;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @flow
|
|
2
|
-
export type EnumIconNames = "active-listener" | "add-item" | "add-keyword" | "add-team-member" | "add-variable" | "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" | "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" | "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" | "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" | "hamburger" | "hashtag" | "headset" | "heart-outline" | "heart" | "heartbeat" | "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" | "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" | "plus" | "positive-sentiment" | "power-up" | "profile-connect" | "profile-disconnect" | "publishing-outline" | "publishing" | "puzzle-piece" | "qr-code" | "queue" | "recommendation" | "reddit-alien" | "reddit" | "referrals" | "refresh" | "rejected" | "reply-outline" | "reply" | "reporting-period" | "reporting" | "reports-home" | "reports" | "retweet" | "rss" | "sales" | "salesforce" | "save-assets" | "saved-messages" | "saved-reply-outline" | "saved-reply" | "search" | "sent-message-outline" | "sent-message" | "share" | "shopify" | "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" | "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" | "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-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" | "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" | "hamburger" | "hashtag" | "headset" | "heart-outline" | "heart" | "heartbeat" | "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" | "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" | "plus" | "positive-sentiment" | "power-up" | "profile-connect" | "profile-disconnect" | "publishing-outline" | "publishing" | "puzzle-piece" | "qr-code" | "queue" | "recommendation" | "reddit-alien" | "reddit" | "referrals" | "refresh" | "rejected" | "reply-outline" | "reply" | "reporting-period" | "reporting" | "reports-home" | "reports" | "retweet" | "rss" | "sales" | "salesforce" | "save-assets" | "saved-messages" | "saved-reply-outline" | "saved-reply" | "search" | "sent-message-outline" | "sent-message" | "share" | "shopify" | "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" | "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-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","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","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","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","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":"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","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","plus":"0 0 16 18","positive-sentiment":"0 0 16 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","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":"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","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","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","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
|
|
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-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","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","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":"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","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","plus":"0 0 16 18","positive-sentiment":"0 0 16 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","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":"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","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","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"};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Box from "../Box";
|
|
3
|
+
import { withTheme } from "styled-components";
|
|
4
|
+
|
|
5
|
+
export const DataVizRotation = withTheme((p) => {
|
|
6
|
+
return p.theme.colors.DATAVIZ_COLORS_LIST.map((color, i) => {
|
|
7
|
+
return (
|
|
8
|
+
<Box key={color} py={300} px={400} bg={color}>
|
|
9
|
+
{i + 1}
|
|
10
|
+
</Box>
|
|
11
|
+
);
|
|
12
|
+
});
|
|
13
|
+
});
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
|
|
3
|
+
import COLORS from "@sproutsocial/seeds-color";
|
|
4
|
+
|
|
5
|
+
export const datavizPalette = {
|
|
6
|
+
DATAVIZ_COLORS_LIST: [
|
|
7
|
+
COLORS.COLOR_TEAL_400,
|
|
8
|
+
COLORS.COLOR_PURPLE_400,
|
|
9
|
+
COLORS.COLOR_PINK_400,
|
|
10
|
+
COLORS.COLOR_YELLOW_500,
|
|
11
|
+
COLORS.COLOR_BLUE_400,
|
|
12
|
+
COLORS.COLOR_MAGENTA_400,
|
|
13
|
+
COLORS.COLOR_GREEN_400,
|
|
14
|
+
COLORS.COLOR_ORANGE_400,
|
|
15
|
+
COLORS.COLOR_RED_700,
|
|
16
|
+
COLORS.COLOR_TEAL_700,
|
|
17
|
+
COLORS.COLOR_PURPLE_700,
|
|
18
|
+
COLORS.COLOR_PINK_700,
|
|
19
|
+
COLORS.COLOR_YELLOW_800,
|
|
20
|
+
COLORS.COLOR_BLUE_700,
|
|
21
|
+
COLORS.COLOR_MAGENTA_700,
|
|
22
|
+
COLORS.COLOR_GREEN_700,
|
|
23
|
+
COLORS.COLOR_ORANGE_700,
|
|
24
|
+
COLORS.COLOR_RED_400,
|
|
25
|
+
COLORS.COLOR_GREEN_200,
|
|
26
|
+
COLORS.COLOR_YELLOW_200,
|
|
27
|
+
],
|
|
28
|
+
DATAVIZ_COLORS_MAP: {
|
|
29
|
+
"1": COLORS.COLOR_TEAL_400,
|
|
30
|
+
"2": COLORS.COLOR_PURPLE_400,
|
|
31
|
+
"3": COLORS.COLOR_PINK_400,
|
|
32
|
+
"4": COLORS.COLOR_YELLOW_500,
|
|
33
|
+
"5": COLORS.COLOR_BLUE_400,
|
|
34
|
+
"6": COLORS.COLOR_MAGENTA_400,
|
|
35
|
+
"7": COLORS.COLOR_GREEN_400,
|
|
36
|
+
"8": COLORS.COLOR_ORANGE_400,
|
|
37
|
+
"9": COLORS.COLOR_RED_700,
|
|
38
|
+
"10": COLORS.COLOR_TEAL_700,
|
|
39
|
+
"11": COLORS.COLOR_PURPLE_700,
|
|
40
|
+
"12": COLORS.COLOR_PINK_700,
|
|
41
|
+
"13": COLORS.COLOR_YELLOW_800,
|
|
42
|
+
"14": COLORS.COLOR_BLUE_700,
|
|
43
|
+
"15": COLORS.COLOR_MAGENTA_700,
|
|
44
|
+
"16": COLORS.COLOR_GREEN_700,
|
|
45
|
+
"17": COLORS.COLOR_ORANGE_700,
|
|
46
|
+
"18": COLORS.COLOR_RED_400,
|
|
47
|
+
"19": COLORS.COLOR_GREEN_200,
|
|
48
|
+
"20": COLORS.COLOR_YELLOW_200,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import COLORS from "@sproutsocial/seeds-color";
|
|
4
4
|
import defaultTheme from "../default/theme";
|
|
5
|
+
import { datavizPalette } from "./dataviz-palette";
|
|
5
6
|
import {
|
|
6
7
|
green,
|
|
7
8
|
blue,
|
|
@@ -188,6 +189,7 @@ const darkTheme = {
|
|
|
188
189
|
selected: COLORS.COLOR_NEUTRAL_0,
|
|
189
190
|
},
|
|
190
191
|
},
|
|
192
|
+
...datavizPalette,
|
|
191
193
|
},
|
|
192
194
|
mode: "dark",
|
|
193
195
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @flow strict-local
|
|
2
|
+
|
|
3
|
+
import COLORS from "@sproutsocial/seeds-color";
|
|
4
|
+
|
|
5
|
+
export const datavizPalette = {
|
|
6
|
+
DATAVIZ_COLORS_LIST: [
|
|
7
|
+
COLORS.COLOR_TEAL_500,
|
|
8
|
+
COLORS.COLOR_PURPLE_700,
|
|
9
|
+
COLORS.COLOR_PINK_700,
|
|
10
|
+
COLORS.COLOR_YELLOW_500,
|
|
11
|
+
COLORS.COLOR_BLUE_500,
|
|
12
|
+
COLORS.COLOR_MAGENTA_500,
|
|
13
|
+
COLORS.COLOR_GREEN_500,
|
|
14
|
+
COLORS.COLOR_ORANGE_500,
|
|
15
|
+
COLORS.COLOR_RED_700,
|
|
16
|
+
COLORS.COLOR_TEAL_900,
|
|
17
|
+
COLORS.COLOR_PURPLE_400,
|
|
18
|
+
COLORS.COLOR_PINK_900,
|
|
19
|
+
COLORS.COLOR_YELLOW_900,
|
|
20
|
+
COLORS.COLOR_BLUE_900,
|
|
21
|
+
COLORS.COLOR_MAGENTA_900,
|
|
22
|
+
COLORS.COLOR_GREEN_900,
|
|
23
|
+
COLORS.COLOR_ORANGE_900,
|
|
24
|
+
COLORS.COLOR_RED_400,
|
|
25
|
+
COLORS.COLOR_GREEN_700,
|
|
26
|
+
COLORS.COLOR_YELLOW_800,
|
|
27
|
+
],
|
|
28
|
+
DATAVIZ_COLORS_MAP: {
|
|
29
|
+
"1": COLORS.COLOR_TEAL_500,
|
|
30
|
+
"2": COLORS.COLOR_PURPLE_700,
|
|
31
|
+
"3": COLORS.COLOR_PINK_700,
|
|
32
|
+
"4": COLORS.COLOR_YELLOW_500,
|
|
33
|
+
"5": COLORS.COLOR_BLUE_500,
|
|
34
|
+
"6": COLORS.COLOR_MAGENTA_500,
|
|
35
|
+
"7": COLORS.COLOR_GREEN_500,
|
|
36
|
+
"8": COLORS.COLOR_ORANGE_500,
|
|
37
|
+
"9": COLORS.COLOR_RED_700,
|
|
38
|
+
"10": COLORS.COLOR_TEAL_900,
|
|
39
|
+
"11": COLORS.COLOR_PURPLE_400,
|
|
40
|
+
"12": COLORS.COLOR_PINK_900,
|
|
41
|
+
"13": COLORS.COLOR_YELLOW_900,
|
|
42
|
+
"14": COLORS.COLOR_BLUE_900,
|
|
43
|
+
"15": COLORS.COLOR_MAGENTA_900,
|
|
44
|
+
"16": COLORS.COLOR_GREEN_900,
|
|
45
|
+
"17": COLORS.COLOR_ORANGE_900,
|
|
46
|
+
"18": COLORS.COLOR_RED_400,
|
|
47
|
+
"19": COLORS.COLOR_GREEN_700,
|
|
48
|
+
"20": COLORS.COLOR_YELLOW_800,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import COLORS from "@sproutsocial/seeds-color";
|
|
4
4
|
import literalColors from "./literal-colors";
|
|
5
|
+
import { datavizPalette } from "./dataviz-palette";
|
|
5
6
|
import {
|
|
6
7
|
green,
|
|
7
8
|
blue,
|
|
@@ -220,8 +221,10 @@ const colors = {
|
|
|
220
221
|
microsoft_dynamics: NETWORKCOLORS.NETWORK_COLOR_MICROSOFT_DYNAMICS,
|
|
221
222
|
yelp: NETWORKCOLORS.NETWORK_COLOR_YELP,
|
|
222
223
|
whatsapp: NETWORKCOLORS.NETWORK_COLOR_WHATSAPP,
|
|
224
|
+
tiktok: NETWORKCOLORS.NETWORK_COLOR_TIKTOK,
|
|
223
225
|
},
|
|
224
226
|
...literalColors,
|
|
227
|
+
...datavizPalette,
|
|
225
228
|
};
|
|
226
229
|
|
|
227
230
|
export const typography = {
|
|
@@ -29,7 +29,10 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
29
29
|
_ref$isOpen = _ref.isOpen,
|
|
30
30
|
isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
|
|
31
31
|
_ref$offset = _ref.offset,
|
|
32
|
-
offset = _ref$offset === void 0 ? 0 : _ref$offset
|
|
32
|
+
offset = _ref$offset === void 0 ? 0 : _ref$offset,
|
|
33
|
+
_ref$collapsedHeight = _ref.collapsedHeight,
|
|
34
|
+
collapsedHeight = _ref$collapsedHeight === void 0 ? 0 : _ref$collapsedHeight,
|
|
35
|
+
openHeight = _ref.openHeight;
|
|
33
36
|
|
|
34
37
|
var _useState = (0, React.useState)("Racine-collapsible-" + idCounter++),
|
|
35
38
|
id = _useState[0];
|
|
@@ -38,11 +41,25 @@ var Collapsible = function Collapsible(_ref) {
|
|
|
38
41
|
value: {
|
|
39
42
|
isOpen: isOpen,
|
|
40
43
|
id: id,
|
|
41
|
-
offset: offset
|
|
44
|
+
offset: offset,
|
|
45
|
+
collapsedHeight: collapsedHeight,
|
|
46
|
+
openHeight: openHeight
|
|
42
47
|
}
|
|
43
48
|
}, children);
|
|
44
49
|
};
|
|
45
50
|
|
|
51
|
+
var determineMaxHeight = function determineMaxHeight(isHidden, openHeight, computedHeight) {
|
|
52
|
+
// If isHidden is undefined this is the first render. Return undefined so the max-height prop is not added
|
|
53
|
+
// This is a hack to prevent css from animating if it begins in the open state
|
|
54
|
+
// css animates when attribute values change (IE from 0 to another number)
|
|
55
|
+
// css does not animate when simply adding an attribute to an HTML element
|
|
56
|
+
if (isHidden === undefined) return undefined; // If the user has defined an explicit open height, return that as the max height
|
|
57
|
+
|
|
58
|
+
if (!!openHeight) return openHeight; // Otherwise, fallback to the computed height
|
|
59
|
+
|
|
60
|
+
return computedHeight;
|
|
61
|
+
};
|
|
62
|
+
|
|
46
63
|
var Trigger = function Trigger(_ref2) {
|
|
47
64
|
var children = _ref2.children,
|
|
48
65
|
rest = _objectWithoutPropertiesLoose(_ref2, ["children"]);
|
|
@@ -64,20 +81,18 @@ var Panel = function Panel(_ref3) {
|
|
|
64
81
|
var _useContext2 = (0, React.useContext)(CollapsibleContext),
|
|
65
82
|
isOpen = _useContext2.isOpen,
|
|
66
83
|
id = _useContext2.id,
|
|
67
|
-
offset = _useContext2.offset
|
|
84
|
+
offset = _useContext2.offset,
|
|
85
|
+
collapsedHeight = _useContext2.collapsedHeight,
|
|
86
|
+
openHeight = _useContext2.openHeight;
|
|
68
87
|
|
|
69
88
|
var ref = (0, React.useRef)();
|
|
70
89
|
var measurement = (0, _useMeasure.default)(ref);
|
|
71
90
|
|
|
72
91
|
var _useState2 = (0, React.useState)(undefined),
|
|
73
92
|
isHidden = _useState2[0],
|
|
74
|
-
setIsHidden = _useState2[1];
|
|
75
|
-
// When that is the case, set maxHeight to undefined rather than the comptued 0
|
|
76
|
-
// This prevents an initial expansion animation if a component starts out open
|
|
77
|
-
// There is no animation because css is not changing the maxHeight property after mount
|
|
78
|
-
|
|
93
|
+
setIsHidden = _useState2[1];
|
|
79
94
|
|
|
80
|
-
var maxHeight = isHidden
|
|
95
|
+
var maxHeight = determineMaxHeight(isHidden, openHeight, measurement.height + offset);
|
|
81
96
|
/* We use the "hidden" attribute to remove the contents of the panel from the tab order of the page, but it fucks with the animation. This logic sets a slight timeout on setting the prop so that the animation has time to complete before the attribute is set. */
|
|
82
97
|
|
|
83
98
|
(0, React.useEffect)(function () {
|
|
@@ -103,12 +118,14 @@ var Panel = function Panel(_ref3) {
|
|
|
103
118
|
}
|
|
104
119
|
}, [isOpen]);
|
|
105
120
|
return /*#__PURE__*/React.createElement(_styles.CollapsingBox, _extends({
|
|
106
|
-
|
|
121
|
+
scrollable: isOpen,
|
|
122
|
+
maxHeight: isOpen ? maxHeight : collapsedHeight,
|
|
123
|
+
minHeight: collapsedHeight,
|
|
107
124
|
"data-qa-collapsible": "",
|
|
108
125
|
"data-qa-collapsible-isopen": isOpen === true
|
|
109
126
|
}, rest), /*#__PURE__*/React.createElement(_Box.default, {
|
|
110
127
|
width: "100%",
|
|
111
|
-
hidden: isHidden,
|
|
128
|
+
hidden: isHidden && collapsedHeight === 0,
|
|
112
129
|
"aria-hidden": !isOpen,
|
|
113
130
|
id: id,
|
|
114
131
|
ref: ref
|
|
@@ -12,9 +12,16 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
12
12
|
var CollapsingBox = (0, _styledComponents.default)(_Box.default).withConfig({
|
|
13
13
|
displayName: "styles__CollapsingBox",
|
|
14
14
|
componentId: "sc-1xvfbl7-0"
|
|
15
|
-
})(["transition:max-height ", " ", ";will-change:max-height;overflow:
|
|
15
|
+
})(["transition:max-height ", " ", ";will-change:max-height;position:relative;overflow:auto;background:linear-gradient( ", " 30%,rgba(255,255,255,0) ),linear-gradient( rgba(255,255,255,0),", " 70% ) 0 100%,radial-gradient( farthest-side at 50% 0,rgb(39 51 51 / 5%),rgba(0,0,0,0) ),radial-gradient( farthest-side at 50% 100%,rgb(39 51 51 / 5%),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-size:100% 40px,100% 40px,100% 14px,100% 14px;background-attachment:local,local,scroll,scroll;", ";"], function (p) {
|
|
16
16
|
return p.theme.duration.medium;
|
|
17
17
|
}, function (p) {
|
|
18
18
|
return p.theme.easing.ease_inout;
|
|
19
|
+
}, function (p) {
|
|
20
|
+
return p.theme.colors.neutral[100];
|
|
21
|
+
}, function (p) {
|
|
22
|
+
return p.theme.colors.neutral[100];
|
|
23
|
+
}, function (_ref) {
|
|
24
|
+
var scrollable = _ref.scrollable;
|
|
25
|
+
return scrollable ? "overflow: auto" : "overflow: hidden";
|
|
19
26
|
});
|
|
20
27
|
exports.CollapsingBox = CollapsingBox;
|