@sproutsocial/racine 12.2.0-partner-logos.3 → 12.4.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/__flow__/Checkbox/styles.js +75 -75
  3. package/__flow__/Collapsible/index.js +2 -3
  4. package/__flow__/EnumIllustrationNames.js +2 -0
  5. package/__flow__/IllustrationViewBoxes.js +1 -0
  6. package/__flow__/Image/index.js +2 -10
  7. package/__flow__/SegmentedControl/index.js +2 -3
  8. package/__flow__/SpotIllustration/illustrationNames.js +102 -0
  9. package/__flow__/SpotIllustration/index.js +47 -0
  10. package/__flow__/SpotIllustration/index.stories.js +119 -0
  11. package/__flow__/SpotIllustration/spotIllustrations/abacus.svg +21 -0
  12. package/__flow__/SpotIllustration/spotIllustrations/analytics-offering.svg +11 -0
  13. package/__flow__/SpotIllustration/spotIllustrations/astronaut.svg +15 -0
  14. package/__flow__/SpotIllustration/spotIllustrations/brand-keyword.svg +10 -0
  15. package/__flow__/SpotIllustration/spotIllustrations/business.svg +23 -0
  16. package/__flow__/SpotIllustration/spotIllustrations/calendar-event.svg +11 -0
  17. package/__flow__/SpotIllustration/spotIllustrations/calendar-reporting.svg +13 -0
  18. package/__flow__/SpotIllustration/spotIllustrations/cat-error.svg +4 -0
  19. package/__flow__/SpotIllustration/spotIllustrations/cat-no-access.svg +13 -0
  20. package/__flow__/SpotIllustration/spotIllustrations/cat.svg +4 -0
  21. package/__flow__/SpotIllustration/spotIllustrations/checkbox-alert.svg +11 -0
  22. package/__flow__/SpotIllustration/spotIllustrations/coffee-cup.svg +11 -0
  23. package/__flow__/SpotIllustration/spotIllustrations/compose-window.svg +21 -0
  24. package/__flow__/SpotIllustration/spotIllustrations/compose.svg +5 -0
  25. package/__flow__/SpotIllustration/spotIllustrations/computer-error.svg +15 -0
  26. package/__flow__/SpotIllustration/spotIllustrations/connect.svg +11 -0
  27. package/__flow__/SpotIllustration/spotIllustrations/contact.svg +87 -0
  28. package/__flow__/SpotIllustration/spotIllustrations/conversation.svg +15 -0
  29. package/__flow__/SpotIllustration/spotIllustrations/custom-branding.svg +7 -0
  30. package/__flow__/SpotIllustration/spotIllustrations/customer-service.svg +13 -0
  31. package/__flow__/SpotIllustration/spotIllustrations/dashboard.svg +13 -0
  32. package/__flow__/SpotIllustration/spotIllustrations/exclamation-mark.svg +11 -0
  33. package/__flow__/SpotIllustration/spotIllustrations/face-happy.svg +10 -0
  34. package/__flow__/SpotIllustration/spotIllustrations/find-bookmark.svg +12 -0
  35. package/__flow__/SpotIllustration/spotIllustrations/flask.svg +10 -0
  36. package/__flow__/SpotIllustration/spotIllustrations/general-topic.svg +9 -0
  37. package/__flow__/SpotIllustration/spotIllustrations/global-features.svg +17 -0
  38. package/__flow__/SpotIllustration/spotIllustrations/hands-raised.svg +8 -0
  39. package/__flow__/SpotIllustration/spotIllustrations/headset.svg +8 -0
  40. package/__flow__/SpotIllustration/spotIllustrations/heartbeat-connection.svg +14 -0
  41. package/__flow__/SpotIllustration/spotIllustrations/invoice.svg +13 -0
  42. package/__flow__/SpotIllustration/spotIllustrations/jewel.svg +11 -0
  43. package/__flow__/SpotIllustration/spotIllustrations/keyword-tracking.svg +26 -0
  44. package/__flow__/SpotIllustration/spotIllustrations/lightbulb-alt.svg +5 -0
  45. package/__flow__/SpotIllustration/spotIllustrations/lightbulb.svg +4 -0
  46. package/__flow__/SpotIllustration/spotIllustrations/like-conversation.svg +11 -0
  47. package/__flow__/SpotIllustration/spotIllustrations/link-broken.svg +18 -0
  48. package/__flow__/SpotIllustration/spotIllustrations/link-messages.svg +10 -0
  49. package/__flow__/SpotIllustration/spotIllustrations/link-sections.svg +13 -0
  50. package/__flow__/SpotIllustration/spotIllustrations/link-upload.svg +12 -0
  51. package/__flow__/SpotIllustration/spotIllustrations/listening-pendo.svg +14 -0
  52. package/__flow__/SpotIllustration/spotIllustrations/listening-tour.svg +18 -0
  53. package/__flow__/SpotIllustration/spotIllustrations/loading.svg +4 -0
  54. package/__flow__/SpotIllustration/spotIllustrations/mailbox-empty.svg +18 -0
  55. package/__flow__/SpotIllustration/spotIllustrations/mailbox-full.svg +8 -0
  56. package/__flow__/SpotIllustration/spotIllustrations/network-data.svg +25 -0
  57. package/__flow__/SpotIllustration/spotIllustrations/no-messages-found.svg +20 -0
  58. package/__flow__/SpotIllustration/spotIllustrations/no-notifications.svg +4 -0
  59. package/__flow__/SpotIllustration/spotIllustrations/notification.svg +10 -0
  60. package/__flow__/SpotIllustration/spotIllustrations/notifications-onboarding.svg +23 -0
  61. package/__flow__/SpotIllustration/spotIllustrations/organize-message.svg +64 -0
  62. package/__flow__/SpotIllustration/spotIllustrations/outbox-queue.svg +12 -0
  63. package/__flow__/SpotIllustration/spotIllustrations/outbox-reviews.svg +10 -0
  64. package/__flow__/SpotIllustration/spotIllustrations/pdf.svg +5 -0
  65. package/__flow__/SpotIllustration/spotIllustrations/podium.svg +13 -0
  66. package/__flow__/SpotIllustration/spotIllustrations/pointer.svg +4 -0
  67. package/__flow__/SpotIllustration/spotIllustrations/publish-assets.svg +15 -0
  68. package/__flow__/SpotIllustration/spotIllustrations/publish-links.svg +11 -0
  69. package/__flow__/SpotIllustration/spotIllustrations/puzzle-piece.svg +4 -0
  70. package/__flow__/SpotIllustration/spotIllustrations/question-mark.svg +11 -0
  71. package/__flow__/SpotIllustration/spotIllustrations/reporting-folder.svg +13 -0
  72. package/__flow__/SpotIllustration/spotIllustrations/reporting.svg +12 -0
  73. package/__flow__/SpotIllustration/spotIllustrations/review-location.svg +11 -0
  74. package/__flow__/SpotIllustration/spotIllustrations/review.svg +10 -0
  75. package/__flow__/SpotIllustration/spotIllustrations/robot-assembly.svg +12 -0
  76. package/__flow__/SpotIllustration/spotIllustrations/robot-error.svg +19 -0
  77. package/__flow__/SpotIllustration/spotIllustrations/robot-happy.svg +13 -0
  78. package/__flow__/SpotIllustration/spotIllustrations/rocket.svg +9 -0
  79. package/__flow__/SpotIllustration/spotIllustrations/schedule-date.svg +11 -0
  80. package/__flow__/SpotIllustration/spotIllustrations/schedule-messages.svg +10 -0
  81. package/__flow__/SpotIllustration/spotIllustrations/search-keywords.svg +9 -0
  82. package/__flow__/SpotIllustration/spotIllustrations/search-success.svg +8 -0
  83. package/__flow__/SpotIllustration/spotIllustrations/search-trends.svg +23 -0
  84. package/__flow__/SpotIllustration/spotIllustrations/search.svg +86 -0
  85. package/__flow__/SpotIllustration/spotIllustrations/security.svg +12 -0
  86. package/__flow__/SpotIllustration/spotIllustrations/sentiment.svg +12 -0
  87. package/__flow__/SpotIllustration/spotIllustrations/shopping-bag.svg +4 -0
  88. package/__flow__/SpotIllustration/spotIllustrations/spark-line.svg +11 -0
  89. package/__flow__/SpotIllustration/spotIllustrations/stamp.svg +9 -0
  90. package/__flow__/SpotIllustration/spotIllustrations/storefront.svg +10 -0
  91. package/__flow__/SpotIllustration/spotIllustrations/success.svg +9 -0
  92. package/__flow__/SpotIllustration/spotIllustrations/tag-message.svg +15 -0
  93. package/__flow__/SpotIllustration/spotIllustrations/team-roles.svg +17 -0
  94. package/__flow__/SpotIllustration/spotIllustrations/team.svg +16 -0
  95. package/__flow__/SpotIllustration/spotIllustrations/telescope.svg +15 -0
  96. package/__flow__/SpotIllustration/spotIllustrations/tha-mel.svg +15 -0
  97. package/__flow__/SpotIllustration/spotIllustrations/thumbs-up.svg +11 -0
  98. package/__flow__/SpotIllustration/spotIllustrations/toggle-switch.svg +11 -0
  99. package/__flow__/SpotIllustration/spotIllustrations/toolset-strength.svg +13 -0
  100. package/__flow__/SpotIllustration/spotIllustrations/tracking-time.svg +6 -0
  101. package/__flow__/SpotIllustration/spotIllustrations/twitter-messages.svg +11 -0
  102. package/__flow__/SpotIllustration/spotIllustrations/twitter-profiles.svg +12 -0
  103. package/__flow__/SpotIllustration/spotIllustrations/unsubscribe.svg +10 -0
  104. package/__flow__/SpotIllustration/spotIllustrations/upward-trend.svg +4 -0
  105. package/__flow__/SpotIllustration/spotIllustrations/user-task.svg +58 -0
  106. package/__flow__/SpotIllustration/spotIllustrations/view-connections.svg +13 -0
  107. package/__flow__/SpotIllustration/spotIllustrations/vip-list.svg +13 -0
  108. package/__flow__/SpotIllustration/spotIllustrations/warning.svg +4 -0
  109. package/__flow__/SpotIllustration/spotIllustrations/wifi.svg +6 -0
  110. package/__flow__/TableCell/index.js +2 -9
  111. package/__flow__/ToggleHint/index.js +2 -9
  112. package/__flow__/index.js +1 -0
  113. package/__flow__/systemProps/color.js +2 -1
  114. package/__flow__/themes/dark/theme.js +4 -0
  115. package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.js +15 -0
  116. package/__flow__/themes/extendedThemes/sproutTheme/light/theme.js +15 -0
  117. package/__flow__/themes/light/theme.js +4 -0
  118. package/__flow__/types/theme.colors.flow.js +8 -0
  119. package/__flow__/utils/responsiveProps/index.test.js +2 -10
  120. package/commonjs/EnumIllustrationNames.js +1 -0
  121. package/commonjs/IllustrationViewBoxes.js +103 -0
  122. package/commonjs/SpotIllustration/illustrationNames.js +6 -0
  123. package/commonjs/SpotIllustration/index.js +46 -0
  124. package/commonjs/index.js +6 -1
  125. package/commonjs/themes/dark/theme.js +4 -0
  126. package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +16 -0
  127. package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +16 -0
  128. package/commonjs/themes/light/theme.js +4 -0
  129. package/dist/illustration.svg +1 -0
  130. package/dist/illustrationList.js +1 -0
  131. package/dist/themes/dark/theme.scss +4 -0
  132. package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +32 -0
  133. package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +32 -0
  134. package/dist/themes/light/theme.scss +4 -0
  135. package/lib/EnumIllustrationNames.js +0 -0
  136. package/lib/IllustrationViewBoxes.js +101 -0
  137. package/lib/SpotIllustration/illustrationNames.js +1 -0
  138. package/lib/SpotIllustration/index.js +35 -0
  139. package/lib/index.js +2 -1
  140. package/lib/themes/dark/theme.js +4 -0
  141. package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +15 -0
  142. package/lib/themes/extendedThemes/sproutTheme/light/theme.js +15 -0
  143. package/lib/themes/light/theme.js +4 -0
  144. package/package.json +3 -2
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _IllustrationViewBoxes = _interopRequireDefault(require("../IllustrationViewBoxes"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ // eslint-disable-next-line prettier/prettier
15
+ var StyledSVG = _styledComponents.default.svg.withConfig({
16
+ displayName: "SpotIllustration__StyledSVG",
17
+ componentId: "sc-10ftlaw-0"
18
+ })(["fill:", ";color:", ";"], function (p) {
19
+ return p.customFill ? p.theme.colors[p.customFill][400] : p.theme.colors.illustration.fill;
20
+ }, function (p) {
21
+ return p.theme.colors.illustration.stroke;
22
+ });
23
+
24
+ var SpotIllustration = function SpotIllustration(_ref) {
25
+ var name = _ref.name,
26
+ customFill = _ref.customFill,
27
+ height = _ref.height,
28
+ width = _ref.width;
29
+ var viewBox = _IllustrationViewBoxes.default[name];
30
+ var viewBoxCoordinates = (viewBox == null ? void 0 : viewBox.split(" ")) || [];
31
+ var defaultWidth = viewBoxCoordinates[2];
32
+ var defaultHeight = viewBoxCoordinates[3];
33
+ return /*#__PURE__*/_react.default.createElement(StyledSVG, {
34
+ width: width ? width : defaultWidth,
35
+ height: height ? height : defaultHeight,
36
+ viewBox: viewBox,
37
+ focusable: false,
38
+ customFill: customFill
39
+ }, /*#__PURE__*/_react.default.createElement("use", {
40
+ xmlnsXlink: "http://www.w3.org/1999/xlink",
41
+ xlinkHref: "#ssillustrationsvg-" + name
42
+ }));
43
+ };
44
+
45
+ var _default = SpotIllustration;
46
+ exports.default = _default;
package/commonjs/index.js CHANGED
@@ -63,6 +63,7 @@ var _exportNames = {
63
63
  Listbox: true,
64
64
  OverflowList: true,
65
65
  PartnerLogo: true,
66
+ SpotIllustration: true,
66
67
  sproutLightTheme: true,
67
68
  sproutDarkTheme: true,
68
69
  toast: true,
@@ -74,7 +75,7 @@ var _exportNames = {
74
75
  DateRangePicker: true,
75
76
  VisuallyHidden: true
76
77
  };
77
- exports.visuallyHidden = exports.useTextContent = exports.useSelect = exports.useMultiselect = exports.useInteractiveColor = exports.toast = exports.theme = exports.sproutLightTheme = exports.sproutDarkTheme = exports.focusRing = exports.disabled = exports.darkTheme = exports.VisuallyHidden = exports.Tooltip = exports.TokenInput = exports.Token = exports.ToggleHint = exports.ToastContainer = exports.ThemeProvider = exports.Textarea = exports.Text = exports.Tabs = exports.TableRowAccordion = exports.TableHeaderCell = exports.TableCell = exports.Table = exports.Switch = exports.Stack = exports.Skeleton = exports.SingleDatePicker = exports.Select = exports.SegmentedControl = exports.Radio = exports.Popout = exports.PartnerLogo = exports.OverflowList = exports.Numeral = exports.Modal = exports.Message = exports.MenuItemContainer = exports.MenuButtonContext = exports.MenuButton = exports.Menu = exports.LoaderButton = exports.Loader = exports.ListboxButton = exports.Listbox = exports.Link = exports.Label = exports.KeyboardKey = exports.Input = exports.Indicator = exports.Image = exports.Icon = exports.FormField = exports.Fieldset = exports.EmptyState = exports.Drawer = exports.DateRangePicker = exports.Collapsible = exports.Checkbox = exports.ChartLegend = exports.CharacterCounter = exports.Card = exports.Button = exports.Breadcrumb = exports.Box = exports.Banner = exports.Badge = exports.Avatar = exports.Alert = void 0;
78
+ exports.visuallyHidden = exports.useTextContent = exports.useSelect = exports.useMultiselect = exports.useInteractiveColor = exports.toast = exports.theme = exports.sproutLightTheme = exports.sproutDarkTheme = exports.focusRing = exports.disabled = exports.darkTheme = exports.VisuallyHidden = exports.Tooltip = exports.TokenInput = exports.Token = exports.ToggleHint = exports.ToastContainer = exports.ThemeProvider = exports.Textarea = exports.Text = exports.Tabs = exports.TableRowAccordion = exports.TableHeaderCell = exports.TableCell = exports.Table = exports.Switch = exports.Stack = exports.SpotIllustration = exports.Skeleton = exports.SingleDatePicker = exports.Select = exports.SegmentedControl = exports.Radio = exports.Popout = exports.PartnerLogo = exports.OverflowList = exports.Numeral = exports.Modal = exports.Message = exports.MenuItemContainer = exports.MenuButtonContext = exports.MenuButton = exports.Menu = exports.LoaderButton = exports.Loader = exports.ListboxButton = exports.Listbox = exports.Link = exports.Label = exports.KeyboardKey = exports.Input = exports.Indicator = exports.Image = exports.Icon = exports.FormField = exports.Fieldset = exports.EmptyState = exports.Drawer = exports.DateRangePicker = exports.Collapsible = exports.Checkbox = exports.ChartLegend = exports.CharacterCounter = exports.Card = exports.Button = exports.Breadcrumb = exports.Box = exports.Banner = exports.Badge = exports.Avatar = exports.Alert = void 0;
78
79
 
79
80
  var _systemProps = require("./systemProps");
80
81
 
@@ -339,6 +340,10 @@ var _PartnerLogo = _interopRequireDefault(require("./PartnerLogo"));
339
340
 
340
341
  exports.PartnerLogo = _PartnerLogo.default;
341
342
 
343
+ var _SpotIllustration = _interopRequireDefault(require("./SpotIllustration"));
344
+
345
+ exports.SpotIllustration = _SpotIllustration.default;
346
+
342
347
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
343
348
 
344
349
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -225,6 +225,10 @@ var colors = _extends({}, _theme.default.colors, {
225
225
  elevation: {
226
226
  base: _seedsColor.default.COLOR_NEUTRAL_1100
227
227
  },
228
+ illustration: {
229
+ fill: _seedsColor.default.COLOR_BLUE_400,
230
+ stroke: _decorativePalettes.neutral.foreground
231
+ },
228
232
  dataviz: {
229
233
  map: _datavizPalette.datavizPalette.DATAVIZ_COLORS_MAP,
230
234
  list: _datavizPalette.datavizPalette.DATAVIZ_COLORS_LIST
@@ -3,6 +3,8 @@
3
3
  exports.__esModule = true;
4
4
  exports.navigation = exports.growth = exports.default = exports.datePicker = exports.analytics = void 0;
5
5
 
6
+ var _polished = require("polished");
7
+
6
8
  var _theme = _interopRequireDefault(require("../../../dark/theme"));
7
9
 
8
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -21,6 +23,15 @@ var navigation = {
21
23
  base: _theme.default.colors.neutral[900]
22
24
  }
23
25
  },
26
+ settings: {
27
+ listItem: {
28
+ backgound: {
29
+ base: "transparent",
30
+ hover: _theme.default.colors.neutral[1100],
31
+ selected: _theme.default.colors.neutral[800]
32
+ }
33
+ }
34
+ },
24
35
  text: {
25
36
  base: _theme.default.colors.neutral[0],
26
37
  hover: _theme.default.colors.neutral[0]
@@ -54,6 +65,11 @@ var analytics = {
54
65
  positive: _theme.default.colors.teal[500],
55
66
  neutral: _theme.default.colors.neutral[100],
56
67
  negative: _theme.default.colors.neutral[100]
68
+ },
69
+ overlay: {
70
+ background: {
71
+ base: (0, _polished.transparentize)(0.2, _theme.default.colors.neutral[900])
72
+ }
57
73
  }
58
74
  };
59
75
  exports.analytics = analytics;
@@ -3,6 +3,8 @@
3
3
  exports.__esModule = true;
4
4
  exports.navigation = exports.growth = exports.default = exports.datePicker = exports.analytics = void 0;
5
5
 
6
+ var _polished = require("polished");
7
+
6
8
  var _theme = _interopRequireDefault(require("../../../light/theme"));
7
9
 
8
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -21,6 +23,15 @@ var navigation = {
21
23
  base: _theme.default.colors.neutral[800]
22
24
  }
23
25
  },
26
+ settings: {
27
+ listItem: {
28
+ backgound: {
29
+ base: "transparent",
30
+ hover: _theme.default.colors.neutral[200],
31
+ selected: _theme.default.colors.neutral[0]
32
+ }
33
+ }
34
+ },
24
35
  text: {
25
36
  base: _theme.default.colors.neutral[0],
26
37
  hover: _theme.default.colors.neutral[0]
@@ -54,6 +65,11 @@ var analytics = {
54
65
  positive: _theme.default.colors.teal[800],
55
66
  neutral: _theme.default.colors.neutral[800],
56
67
  negative: _theme.default.colors.neutral[800]
68
+ },
69
+ overlay: {
70
+ background: {
71
+ base: (0, _polished.transparentize)(0.2, _theme.default.colors.neutral[0])
72
+ }
57
73
  }
58
74
  };
59
75
  exports.analytics = analytics;
@@ -230,6 +230,10 @@ var colors = _extends({
230
230
  elevation: {
231
231
  base: _seedsColor.default.COLOR_NEUTRAL_900 + "3D"
232
232
  },
233
+ illustration: {
234
+ fill: _seedsColor.default.COLOR_BLUE_400,
235
+ stroke: _decorativePalettes.neutral.foreground
236
+ },
233
237
  network: {
234
238
  twitter: _seedsNetworkcolor.default.NETWORK_COLOR_TWITTER,
235
239
  twitter_like: _seedsNetworkcolor.default.NETWORK_COLOR_TWITTER_LIKE,