@sproutsocial/racine 20.17.0 → 21.0.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 +16 -0
- package/__flow__/Icon/Icon.flow.js +2 -2
- package/__flow__/PartnerLogo/PartnerLogo.flow.js +3 -3
- package/__flow__/SpotIllustration/SpotIllustration.flow.js +1 -1
- package/__flow__/index.flow.js +2 -2
- package/commonjs/Icon/Icon.js +2 -2
- package/commonjs/PartnerLogo/PartnerLogo.js +3 -3
- package/commonjs/PartnerLogo/PartnerLogoTypes.js +2 -3
- package/commonjs/SpotIllustration/SpotIllustration.js +3 -6
- package/commonjs/index.js +4 -4
- package/dist/types/Icon/IconTypes.d.ts +2 -2
- package/dist/types/Icon/IconTypes.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogo.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +3 -3
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
- package/dist/types/SpotIllustration/SpotIllustration.d.ts.map +1 -1
- package/dist/types/SpotIllustration/SpotIllustrationTypes.d.ts +1 -1
- package/dist/types/SpotIllustration/SpotIllustrationTypes.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/lib/Icon/Icon.js +1 -1
- package/lib/PartnerLogo/PartnerLogo.js +3 -3
- package/lib/PartnerLogo/PartnerLogoTypes.js +2 -3
- package/lib/SpotIllustration/SpotIllustration.js +4 -3
- package/lib/index.js +2 -2
- package/package.json +10 -9
- package/__flow__/EnumIllustrationNames.flow.js +0 -2
- package/__flow__/EnumLogoNames.flow.js +0 -2
- package/__flow__/IllustrationViewBoxes.js +0 -128
- package/__flow__/LogoViewBoxes.js +0 -120
- package/commonjs/EnumIllustrationNames.flow.js +0 -1
- package/commonjs/EnumIllustrationNames.js +0 -5
- package/commonjs/EnumLogoNames.flow.js +0 -1
- package/commonjs/EnumLogoNames.js +0 -5
- package/commonjs/IllustrationViewBoxes.js +0 -130
- package/commonjs/LogoViewBoxes.js +0 -122
- package/commonjs/illustrationNames.js +0 -7
- package/commonjs/logoNames.js +0 -7
- package/dist/illustration.svg +0 -1
- package/dist/illustrationList.js +0 -1
- package/dist/logo.svg +0 -1
- package/dist/logoList.js +0 -1
- package/dist/types/EnumIllustrationNames.d.ts +0 -2
- package/dist/types/EnumIllustrationNames.d.ts.map +0 -1
- package/dist/types/EnumLogoNames.d.ts +0 -2
- package/dist/types/EnumLogoNames.d.ts.map +0 -1
- package/dist/types/illustrationNames.d.ts +0 -3
- package/dist/types/illustrationNames.d.ts.map +0 -1
- package/dist/types/logoNames.d.ts +0 -3
- package/dist/types/logoNames.d.ts.map +0 -1
- package/lib/EnumIllustrationNames.flow.js +0 -0
- package/lib/EnumIllustrationNames.js +0 -1
- package/lib/EnumLogoNames.flow.js +0 -0
- package/lib/EnumLogoNames.js +0 -1
- package/lib/IllustrationViewBoxes.js +0 -128
- package/lib/LogoViewBoxes.js +0 -120
- package/lib/illustrationNames.js +0 -1
- package/lib/logoNames.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 21.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 61ebd8a: **Breaking Change**:
|
|
8
|
+
|
|
9
|
+
Uses `@sproutsocial/seeds-partner-logos` for Partner Logo assets
|
|
10
|
+
|
|
11
|
+
Uses `@sproutsocial/seeds-illustrations` for Spot Illustration assets
|
|
12
|
+
|
|
13
|
+
- Partner logo assets are now stored in a new package called `@sproutsocial/seeds-partner-logos`.
|
|
14
|
+
- Spot illustration assets are now stored in a new package called `@sproutsocial/seeds-illustrations`.
|
|
15
|
+
- `@sproutsocial/seeds-partner-logos` and `@sproutsocial/seeds-illustrations` are now peer dependencies of Racine.
|
|
16
|
+
- Sprites: Instead of using logo.svg or illustration.svg from Racine’s dist/directory, the sprites should be imported from the respective packages. Attach these spritesheets to the DOM in the same way as the `@sproutsocial/seeds-icons` sprites.
|
|
17
|
+
- Dependencies: Add `@sproutsocial/seeds-partner-logos` and `@sproutsocial/seeds-illustrations` to your application’s dependencies.
|
|
18
|
+
|
|
3
19
|
## 20.17.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import type { StyledComponent } from "styled-components";
|
|
4
4
|
import type { EnumIconNames } from "@sproutsocial/seeds-icons";
|
|
5
|
-
import type {
|
|
5
|
+
import type { EnumLogoNamesWithoutVariants } from "@sproutsocial/seeds-partner-logos";
|
|
6
6
|
import type { TypeWithDisplayName } from "../types/shared.flow";
|
|
7
7
|
import type { TypeTheme } from "../types/theme.flow";
|
|
8
8
|
export type TypeIconSize = "mini" // 12x12
|
|
@@ -14,7 +14,7 @@ export type TypeIconSize = "mini" // 12x12
|
|
|
14
14
|
| "jumbo"; // 64x64
|
|
15
15
|
|
|
16
16
|
export type TypeIconNames = EnumIconNames;
|
|
17
|
-
export type TypeIconName = TypeIconNames |
|
|
17
|
+
export type TypeIconName = TypeIconNames | EnumLogoNamesWithoutVariants;
|
|
18
18
|
export type TypeIconProps = {
|
|
19
19
|
/** Name of the icon in the svg sprite */
|
|
20
20
|
name: TypeIconName,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type {
|
|
3
|
+
import type { EnumLogoNamesWithoutVariants } from "@sproutsocial/seeds-partner-logos";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use EnumLogoNames instead
|
|
7
7
|
*/
|
|
8
|
-
export type TypePartnerNames =
|
|
8
|
+
export type TypePartnerNames = EnumLogoNamesWithoutVariants;
|
|
9
9
|
export type TypePartnerLogoProps = {
|
|
10
10
|
/** The name of the partner whose logo you want to render. */
|
|
11
|
-
partnerName:
|
|
11
|
+
partnerName: EnumLogoNamesWithoutVariants,
|
|
12
12
|
/** Manually override the default mode behavior by rendering a logo based on the background it's displayed on. */
|
|
13
13
|
backgroundType?: "dark" | "light",
|
|
14
14
|
logoType?: "symbol" | "wordmark" | "lockup",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @flow
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { EnumIllustrationNames } from "
|
|
3
|
+
import type { EnumIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
4
4
|
export type TypeSpotIllustrationProps = {
|
|
5
5
|
name: EnumIllustrationNames,
|
|
6
6
|
customFill?: "red" | "green" | "yellow" | "magenta" | "purple" | "aqua",
|
package/__flow__/index.flow.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
/* Asset types */
|
|
4
4
|
export type { EnumIconNames } from "@sproutsocial/seeds-icons";
|
|
5
|
-
export type { EnumIllustrationNames } from "
|
|
6
|
-
export type { EnumLogoNames } from "
|
|
5
|
+
export type { EnumIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
6
|
+
export type { EnumLogoNamesWithoutVariants as EnumLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
7
7
|
|
|
8
8
|
/* Theme and related types */
|
|
9
9
|
export * from "./systemProps/index.flow";
|
package/commonjs/Icon/Icon.js
CHANGED
|
@@ -9,7 +9,7 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
9
9
|
var _Box = _interopRequireDefault(require("../Box"));
|
|
10
10
|
var _PartnerLogo = _interopRequireDefault(require("../PartnerLogo"));
|
|
11
11
|
var _utils = require("../utils");
|
|
12
|
-
var
|
|
12
|
+
var _seedsPartnerLogos = require("@sproutsocial/seeds-partner-logos");
|
|
13
13
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
14
14
|
var _seedsIcons = require("@sproutsocial/seeds-icons");
|
|
15
15
|
var _excluded = ["name", "size", "fixedWidth", "ariaLabel", "color", "svgProps"],
|
|
@@ -37,7 +37,7 @@ var Icon = function Icon(_ref) {
|
|
|
37
37
|
color = _ref.color,
|
|
38
38
|
svgProps = _ref.svgProps,
|
|
39
39
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
40
|
-
if ((0, _utils.includes)(
|
|
40
|
+
if ((0, _utils.includes)(_seedsPartnerLogos.LogoNamesWithoutVariants, name)) {
|
|
41
41
|
// Icon's "default" size is equivalent to PartnerLogo's "small" size
|
|
42
42
|
var logoSize = size === "default" ? "small" : size;
|
|
43
43
|
var logoProps = {
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _styledComponents = require("styled-components");
|
|
9
|
-
var _LogoViewBoxes = _interopRequireDefault(require("../LogoViewBoxes"));
|
|
10
9
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
10
|
+
var _seedsPartnerLogos = require("@sproutsocial/seeds-partner-logos");
|
|
11
11
|
var _excluded = ["partnerName", "backgroundType", "logoType", "height", "width", "size", "aria-label", "svgProps"];
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
@@ -46,7 +46,7 @@ var PartnerLogo = function PartnerLogo(_ref2) {
|
|
|
46
46
|
logoType: logoType,
|
|
47
47
|
partnerName: partnerName
|
|
48
48
|
}, mode);
|
|
49
|
-
var logoViewBox =
|
|
49
|
+
var logoViewBox = _seedsPartnerLogos.ViewBoxes[logo];
|
|
50
50
|
var viewBoxCoordinates = (logoViewBox === null || logoViewBox === void 0 ? void 0 : logoViewBox.split(" ")) || [];
|
|
51
51
|
var defaultWidth = viewBoxCoordinates[2];
|
|
52
52
|
var defaultHeight = viewBoxCoordinates[3];
|
|
@@ -66,7 +66,7 @@ var PartnerLogo = function PartnerLogo(_ref2) {
|
|
|
66
66
|
"data-qa-logo-svg": "".concat(partnerName, "-svg")
|
|
67
67
|
}, svgProps), /*#__PURE__*/_react.default.createElement("use", {
|
|
68
68
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
69
|
-
xlinkHref: "#
|
|
69
|
+
xlinkHref: "#seeds-svgs_".concat(logo)
|
|
70
70
|
})));
|
|
71
71
|
};
|
|
72
72
|
var _default = exports.default = PartnerLogo;
|
|
@@ -4,12 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PartnerNames = exports.PartnerLogoTypes = exports.PartnerLogoSizes = void 0;
|
|
7
|
-
var
|
|
8
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7
|
+
var _seedsPartnerLogos = require("@sproutsocial/seeds-partner-logos");
|
|
9
8
|
/**
|
|
10
9
|
* @deprecated Use PartnerLogoNames instead
|
|
11
10
|
*/
|
|
12
|
-
var PartnerNames = exports.PartnerNames =
|
|
11
|
+
var PartnerNames = exports.PartnerNames = _seedsPartnerLogos.LogoNamesWithoutVariants;
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
14
|
* @deprecated Use EnumLogoNames instead
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var
|
|
9
|
+
var _seedsIllustrations = require("@sproutsocial/seeds-illustrations");
|
|
11
10
|
var _excluded = ["name", "customFill", "height", "width"]; // eslint-disable-next-line no-restricted-syntax
|
|
12
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
14
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
12
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
13
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -29,7 +26,7 @@ var SpotIllustration = function SpotIllustration(_ref) {
|
|
|
29
26
|
height = _ref.height,
|
|
30
27
|
width = _ref.width,
|
|
31
28
|
svgProps = _objectWithoutProperties(_ref, _excluded);
|
|
32
|
-
var viewBox =
|
|
29
|
+
var viewBox = _seedsIllustrations.ViewBoxes[name];
|
|
33
30
|
var viewBoxCoordinates = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.split(" ")) || [];
|
|
34
31
|
var defaultWidth = viewBoxCoordinates[2];
|
|
35
32
|
var defaultHeight = viewBoxCoordinates[3];
|
|
@@ -42,7 +39,7 @@ var SpotIllustration = function SpotIllustration(_ref) {
|
|
|
42
39
|
customFill: customFill
|
|
43
40
|
}, svgProps), /*#__PURE__*/_react.default.createElement("use", {
|
|
44
41
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
45
|
-
xlinkHref: "#
|
|
42
|
+
xlinkHref: "#seeds-svgs_".concat(name)
|
|
46
43
|
}));
|
|
47
44
|
};
|
|
48
45
|
var _default = exports.default = SpotIllustration;
|
package/commonjs/index.js
CHANGED
|
@@ -30,13 +30,13 @@ Object.defineProperty(exports, "Alert", {
|
|
|
30
30
|
Object.defineProperty(exports, "PartnerLogoNames", {
|
|
31
31
|
enumerable: true,
|
|
32
32
|
get: function get() {
|
|
33
|
-
return
|
|
33
|
+
return _seedsPartnerLogos.LogoNamesWithoutVariants;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "SpotIllustrationNames", {
|
|
37
37
|
enumerable: true,
|
|
38
38
|
get: function get() {
|
|
39
|
-
return
|
|
39
|
+
return _seedsIllustrations.IllustrationNames;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "ThemeProvider", {
|
|
@@ -117,8 +117,8 @@ Object.defineProperty(exports, "visuallyHidden", {
|
|
|
117
117
|
return _mixins.visuallyHidden;
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
-
var
|
|
121
|
-
var
|
|
120
|
+
var _seedsIllustrations = require("@sproutsocial/seeds-illustrations");
|
|
121
|
+
var _seedsPartnerLogos = require("@sproutsocial/seeds-partner-logos");
|
|
122
122
|
var _systemProps = require("./systemProps");
|
|
123
123
|
Object.keys(_systemProps).forEach(function (key) {
|
|
124
124
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { EnumIconNames } from "@sproutsocial/seeds-icons";
|
|
3
|
-
import type {
|
|
3
|
+
import type { EnumLogoNamesWithoutVariants } from "@sproutsocial/seeds-partner-logos";
|
|
4
4
|
import type { TypeStyledComponentsCommonProps } from "../types/styled-components";
|
|
5
5
|
import type { TypeSystemCommonProps } from "../types/system-props";
|
|
6
6
|
import { TypeBoxProps } from "../Box";
|
|
7
|
-
export type TypeIconName = EnumIconNames |
|
|
7
|
+
export type TypeIconName = EnumIconNames | EnumLogoNamesWithoutVariants;
|
|
8
8
|
export type TypeIconSize = "mini" | "default" | "small" | "medium" | "large" | "jumbo";
|
|
9
9
|
export interface TypeIconProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, Omit<React.ComponentPropsWithoutRef<"span">, "color"> {
|
|
10
10
|
/** Name of the icon in the svg sprite */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconTypes.d.ts","sourceRoot":"","sources":["../../../src/Icon/IconTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"IconTypes.d.ts","sourceRoot":"","sources":["../../../src/Icon/IconTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,MAAM,MAAM,YAAY,GAAG,aAAa,GAAG,4BAA4B,CAAC;AAExE,MAAM,MAAM,YAAY,GACpB,MAAM,GAEN,SAAS,GACT,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,CAAC;AAEZ,MAAM,WAAW,aACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IACvD,yCAAyC;IACzC,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,0HAA0H;IAC1H,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,uDAAuD;IACvD,UAAU,EAAE,YAAY,CAAC;IACzB,yDAAyD;IACzD,YAAY,EAAE,YAAY,CAAC;IAC3B,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerLogo.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogo.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PartnerLogo.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogo.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AA0B1D,QAAA,MAAM,WAAW,+GAUd,oBAAoB,gBAiCtB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EnumLogoNamesWithoutVariants } from "@sproutsocial/seeds-partner-logos";
|
|
3
3
|
import type { TypeStyledComponentsCommonProps } from "../types/styled-components";
|
|
4
4
|
import type { TypeSystemCommonProps, TypeSystemFlexboxProps } from "../types/system-props";
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export declare const PartnerNames: readonly ["adobe-experience-manager", "androi
|
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use EnumLogoNames instead
|
|
11
11
|
*/
|
|
12
|
-
export type TypePartnerNames =
|
|
12
|
+
export type TypePartnerNames = EnumLogoNamesWithoutVariants;
|
|
13
13
|
export declare const PartnerLogoSizes: {
|
|
14
14
|
readonly mini: "12px";
|
|
15
15
|
readonly small: "16px";
|
|
@@ -22,7 +22,7 @@ export declare const PartnerLogoTypes: readonly ["symbol", "wordmark", "lockup"]
|
|
|
22
22
|
export type TypePartnerLogoTypes = typeof PartnerLogoTypes[number];
|
|
23
23
|
export interface TypePartnerLogoProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, TypeSystemFlexboxProps, Omit<React.ComponentPropsWithoutRef<"span">, "color"> {
|
|
24
24
|
/** The name of the partner whose logo you want to render. */
|
|
25
|
-
partnerName:
|
|
25
|
+
partnerName: EnumLogoNamesWithoutVariants;
|
|
26
26
|
/** Manually override the default mode behavior by rendering a logo based on the background it's displayed on. */
|
|
27
27
|
backgroundType?: "dark" | "light";
|
|
28
28
|
logoType?: TypePartnerLogoTypes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,YAAY,8tBAA2B,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,CAAC;AAE5D,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAEhE,eAAO,MAAM,gBAAgB,2CAA4C,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEnE,MAAM,WAAW,oBACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,sBAAsB,EACtB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IACvD,6DAA6D;IAC7D,WAAW,EAAE,4BAA4B,CAAC;IAE1C,iHAAiH;IACjH,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;CAClD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotIllustration.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustration.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SpotIllustration.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustration.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAapE,QAAA,MAAM,gBAAgB,qDAMnB,yBAAyB,gBAqB3B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import type { EnumIllustrationNames } from "
|
|
2
|
+
import type { EnumIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
3
3
|
export interface TypeSpotIllustrationProps extends React.ComponentPropsWithoutRef<"svg"> {
|
|
4
4
|
name: EnumIllustrationNames;
|
|
5
5
|
customFill?: "red" | "green" | "yellow" | "magenta" | "purple" | "aqua";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotIllustrationTypes.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustrationTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SpotIllustrationTypes.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustrationTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE/E,MAAM,WAAW,yBACf,SAAQ,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC;IAC7C,IAAI,EAAE,qBAAqB,CAAC;IAC5B,UAAU,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type { EnumIconNames } from "@sproutsocial/seeds-icons";
|
|
2
|
-
export type { EnumIllustrationNames } from "
|
|
3
|
-
export type { EnumLogoNames } from "
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
2
|
+
export type { EnumIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
3
|
+
export type { EnumLogoNamesWithoutVariants as EnumLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
4
|
+
export { IllustrationNames as SpotIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
5
|
+
export { LogoNamesWithoutVariants as PartnerLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
6
6
|
export * from "./systemProps";
|
|
7
7
|
export { default as theme } from "./themes/light/theme";
|
|
8
8
|
export { default as darkTheme } from "./themes/dark/theme";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,YAAY,EAAE,4BAA4B,IAAI,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAEvG,OAAO,EAAE,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,wBAAwB,IAAI,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGjG,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAChB,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC;;GAEG;AACH,OAAO,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,UAAU,CAAC"}
|
package/lib/Icon/Icon.js
CHANGED
|
@@ -14,7 +14,7 @@ import styled, { css } from "styled-components";
|
|
|
14
14
|
import Box from "../Box";
|
|
15
15
|
import PartnerLogo from "../PartnerLogo";
|
|
16
16
|
import { includes } from "../utils";
|
|
17
|
-
import PartnerLogoNames from "
|
|
17
|
+
import { LogoNamesWithoutVariants as PartnerLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
18
18
|
import Container from "./styles";
|
|
19
19
|
import { ExternalViewBoxes, GeneralViewBoxes, SproutViewBoxes, ExternalIconNames } from "@sproutsocial/seeds-icons";
|
|
20
20
|
var AllViewboxes = _objectSpread(_objectSpread(_objectSpread({}, ExternalViewBoxes), GeneralViewBoxes), SproutViewBoxes);
|
|
@@ -4,8 +4,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
4
4
|
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; }
|
|
5
5
|
import React from "react";
|
|
6
6
|
import { useTheme } from "styled-components";
|
|
7
|
-
import logoViewBoxes from "../LogoViewBoxes";
|
|
8
7
|
import Container from "./styles";
|
|
8
|
+
import { ViewBoxes } from "@sproutsocial/seeds-partner-logos";
|
|
9
9
|
var whichLogo = function whichLogo(_ref, mode) {
|
|
10
10
|
var backgroundType = _ref.backgroundType,
|
|
11
11
|
logoType = _ref.logoType,
|
|
@@ -39,7 +39,7 @@ var PartnerLogo = function PartnerLogo(_ref2) {
|
|
|
39
39
|
logoType: logoType,
|
|
40
40
|
partnerName: partnerName
|
|
41
41
|
}, mode);
|
|
42
|
-
var logoViewBox =
|
|
42
|
+
var logoViewBox = ViewBoxes[logo];
|
|
43
43
|
var viewBoxCoordinates = (logoViewBox === null || logoViewBox === void 0 ? void 0 : logoViewBox.split(" ")) || [];
|
|
44
44
|
var defaultWidth = viewBoxCoordinates[2];
|
|
45
45
|
var defaultHeight = viewBoxCoordinates[3];
|
|
@@ -59,7 +59,7 @@ var PartnerLogo = function PartnerLogo(_ref2) {
|
|
|
59
59
|
"data-qa-logo-svg": "".concat(partnerName, "-svg")
|
|
60
60
|
}, svgProps), /*#__PURE__*/React.createElement("use", {
|
|
61
61
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
62
|
-
xlinkHref: "#
|
|
62
|
+
xlinkHref: "#seeds-svgs_".concat(logo)
|
|
63
63
|
})));
|
|
64
64
|
};
|
|
65
65
|
export default PartnerLogo;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { LogoNamesWithoutVariants } from "@sproutsocial/seeds-partner-logos";
|
|
3
2
|
/**
|
|
4
3
|
* @deprecated Use PartnerLogoNames instead
|
|
5
4
|
*/
|
|
6
|
-
export var PartnerNames =
|
|
5
|
+
export var PartnerNames = LogoNamesWithoutVariants;
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* @deprecated Use EnumLogoNames instead
|
|
@@ -5,7 +5,8 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
5
5
|
import React from "react";
|
|
6
6
|
import styled from "styled-components";
|
|
7
7
|
// eslint-disable-next-line no-restricted-syntax
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
import { ViewBoxes } from "@sproutsocial/seeds-illustrations";
|
|
9
10
|
var StyledSVG = styled.svg.withConfig({
|
|
10
11
|
displayName: "SpotIllustration__StyledSVG",
|
|
11
12
|
componentId: "sc-1j3815-0"
|
|
@@ -20,7 +21,7 @@ var SpotIllustration = function SpotIllustration(_ref) {
|
|
|
20
21
|
height = _ref.height,
|
|
21
22
|
width = _ref.width,
|
|
22
23
|
svgProps = _objectWithoutProperties(_ref, _excluded);
|
|
23
|
-
var viewBox =
|
|
24
|
+
var viewBox = ViewBoxes[name];
|
|
24
25
|
var viewBoxCoordinates = (viewBox === null || viewBox === void 0 ? void 0 : viewBox.split(" ")) || [];
|
|
25
26
|
var defaultWidth = viewBoxCoordinates[2];
|
|
26
27
|
var defaultHeight = viewBoxCoordinates[3];
|
|
@@ -33,7 +34,7 @@ var SpotIllustration = function SpotIllustration(_ref) {
|
|
|
33
34
|
customFill: customFill
|
|
34
35
|
}, svgProps), /*#__PURE__*/React.createElement("use", {
|
|
35
36
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
36
|
-
xlinkHref: "#
|
|
37
|
+
xlinkHref: "#seeds-svgs_".concat(name)
|
|
37
38
|
}));
|
|
38
39
|
};
|
|
39
40
|
export default SpotIllustration;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Asset types */
|
|
2
2
|
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { IllustrationNames as SpotIllustrationNames } from "@sproutsocial/seeds-illustrations";
|
|
4
|
+
export { LogoNamesWithoutVariants as PartnerLogoNames } from "@sproutsocial/seeds-partner-logos";
|
|
5
5
|
|
|
6
6
|
/* Theme and related types */
|
|
7
7
|
export * from "./systemProps";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"clean:modules": "rm -rf node_modules",
|
|
30
30
|
"build-package": "node ./bin/buildPackage.js",
|
|
31
31
|
"watch-package": "node ./bin/buildPackage.js --watch",
|
|
32
|
-
"build-svgs": "node ./bin/buildSVG.js",
|
|
33
32
|
"build-app": "BABEL_ENV=es node ./bin/buildApp.js",
|
|
34
33
|
"build:ts-declarations": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
35
34
|
"watch-app": "BABEL_ENV=es node ./bin/buildApp.js --watch",
|
|
36
|
-
"start-package-only": "npm-run-all install-deps clean -p
|
|
37
|
-
"dev:storybook": "npm-run-all clean -p
|
|
38
|
-
"build": "npm-run-all -s clean build
|
|
35
|
+
"start-package-only": "npm-run-all install-deps clean -p watch-package",
|
|
36
|
+
"dev:storybook": "npm-run-all clean -p watch-package watch-app",
|
|
37
|
+
"build": "npm-run-all -s clean build:ts-declarations build-package build-app",
|
|
39
38
|
"format": "prettier --write .",
|
|
40
39
|
"format:check": "prettier -c .",
|
|
41
40
|
"lint": "eslint --max-warnings=0 --fix .",
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
"release": "yarn build && yarn test && yarn changeset publish",
|
|
55
54
|
"storybook": "rm -rf node_modules/.cache/storybook && storybook dev -c .storybook -p 9999",
|
|
56
55
|
"build-storybook": "storybook build --quiet -c .storybook -o .storybook-dist",
|
|
57
|
-
"build-chromatic": "
|
|
56
|
+
"build-chromatic": "storybook build --quiet -c .storybook -o .storybook-dist",
|
|
58
57
|
"ts-to-flow": "flowgen $FILE -o $OUTPUT --add-flow-header --no-module-exports"
|
|
59
58
|
},
|
|
60
59
|
"dependencies": {
|
|
@@ -94,8 +93,10 @@
|
|
|
94
93
|
"@sproutsocial/seeds-color": "*",
|
|
95
94
|
"@sproutsocial/seeds-depth": "*",
|
|
96
95
|
"@sproutsocial/seeds-icons": "*",
|
|
96
|
+
"@sproutsocial/seeds-illustrations": "*",
|
|
97
97
|
"@sproutsocial/seeds-motion": "*",
|
|
98
98
|
"@sproutsocial/seeds-networkcolor": "*",
|
|
99
|
+
"@sproutsocial/seeds-partner-logos": "*",
|
|
99
100
|
"@sproutsocial/seeds-space": "*",
|
|
100
101
|
"@sproutsocial/seeds-tsconfig": "*",
|
|
101
102
|
"@sproutsocial/seeds-typography": "*",
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
"babel-plugin-polished": "^1.1.0",
|
|
133
134
|
"babel-plugin-styled-components": "^2.0.7",
|
|
134
135
|
"babel-polyfill": "^6.26.0",
|
|
135
|
-
"backstopjs": "6.
|
|
136
|
+
"backstopjs": "6.3.3",
|
|
136
137
|
"chalk": "^2.3.2",
|
|
137
138
|
"chokidar": "^3.0.2",
|
|
138
139
|
"csstype": "^3.1.1",
|
|
@@ -167,8 +168,6 @@
|
|
|
167
168
|
"storybook": "^7.2.1",
|
|
168
169
|
"storybook-dark-mode": "^3.0.1",
|
|
169
170
|
"styled-components": "^5.2.3",
|
|
170
|
-
"svgo": "^1.3.0",
|
|
171
|
-
"svgstore": "^3.0.1",
|
|
172
171
|
"tsc-alias": "^1.8.2",
|
|
173
172
|
"typescript": "^5.1.6",
|
|
174
173
|
"webpack": "^5.88.2",
|
|
@@ -185,6 +184,8 @@
|
|
|
185
184
|
"@sproutsocial/seeds-networkcolor": ">=2.14.0",
|
|
186
185
|
"@sproutsocial/seeds-space": ">=0.4.0",
|
|
187
186
|
"@sproutsocial/seeds-typography": ">=2.0.0",
|
|
187
|
+
"@sproutsocial/seeds-partner-logos": ">=1.5.0",
|
|
188
|
+
"@sproutsocial/seeds-illustrations": ">=1.3.0",
|
|
188
189
|
"moment": "^2.29.4",
|
|
189
190
|
"prop-types": "^15.0.0",
|
|
190
191
|
"react": "^16.8.0 || ^17.0.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
export type EnumIllustrationNames = "abacus" | "analytics-offering" | "asset-cards" | "astronaut" | "binoculars" | "brand-keyword" | "browser-doc" | "business" | "calendar-event" | "calendar-reporting" | "cat-error" | "cat-no-access" | "cat" | "checkbox-alert" | "coffee-cup" | "competitors" | "compose-window" | "compose" | "computer-error" | "connect" | "contact" | "conversation" | "custom-branding" | "custom-post-variables" | "customer-service" | "dashboard" | "exclamation-mark" | "face-happy" | "find-bookmark" | "flask" | "general-topic" | "global-features" | "global-trend" | "grow-large" | "grow" | "hands-raised" | "headset" | "heartbeat-connection" | "instagram-links" | "invoice" | "jewel" | "keyword-tracking" | "lightbulb-alt" | "lightbulb" | "like-conversation" | "link-broken" | "link-messages" | "link-sections" | "link-upload" | "listening-pendo" | "listening-sentiment" | "listening-topic-templates" | "listening-tour" | "listening" | "loading" | "mailbox-empty" | "mailbox-full" | "megaphone" | "message" | "molecule" | "network-data" | "no-messages-found" | "no-notifications" | "note" | "notification" | "notifications-onboarding" | "notifications" | "organize-message" | "outbox-queue" | "outbox-reviews" | "pdf" | "planning" | "podium" | "pointer" | "profile-groups" | "publish-assets" | "publish-links" | "publishing-notifications" | "publishing" | "puzzle-piece" | "question-mark" | "reporting-folder" | "reporting" | "review-location" | "review" | "robot-assembly" | "robot-error" | "robot-happy" | "rocket" | "schedule-date" | "schedule-messages" | "search-keywords" | "search-success" | "search-trends" | "search" | "security" | "sentiment" | "shopping-bag" | "spark-line" | "sprout-mobile-app" | "stamp" | "storefront" | "success" | "tag-message" | "tag" | "team-roles" | "team" | "telescope" | "tha-mel" | "thumbs-up" | "toggle-switch" | "toolset-strength" | "tracking-time" | "twitter-messages" | "twitter-profiles" | "under-construction" | "unsubscribe" | "upward-trend" | "user-task" | "user-team" | "variable-table" | "view-connections" | "vip-list" | "warning" | "wifi" | "workflow-steps";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
export type EnumLogoNames = "adobe-experience-manager" | "android" | "apple-app-store" | "apple" | "bigcommerce" | "bitly" | "bynder" | "canva" | "dropbox" | "facebook-audience-network" | "facebook" | "facebook-groups" | "facebook-shops" | "feedly" | "github" | "glassdoor" | "google-analytics" | "google-business-messages" | "google-drive" | "google-my-business" | "google-play-store" | "hubspot" | "instagram" | "linkedin-audience-network" | "linkedin" | "marketo" | "messenger" | "microsoft-dynamics" | "pinterest" | "reddit" | "salesforce-cloud" | "salesforce" | "shopify" | "slack" | "sproutsocial" | "tableau" | "threads" | "tiktok" | "tripadvisor" | "trustpilot" | "tumblr" | "twitter-audience-network" | "twitter" | "whatsapp" | "woocommerce" | "x-twitter" | "yelp" | "youtube" | "zendesk";
|