@sproutsocial/racine 11.0.1 → 11.0.2-dependencies.1

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 (148) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/__flow__/Avatar/index.test.js +0 -5
  3. package/__flow__/Badge/index.test.js +0 -5
  4. package/__flow__/Breadcrumb/index.js +2 -0
  5. package/__flow__/Button/index.stories.js +51 -67
  6. package/__flow__/CharacterCounter/index.test.js +0 -8
  7. package/__flow__/ChartLegend/index.test.js +0 -37
  8. package/__flow__/Collapsible/index.js +3 -0
  9. package/__flow__/Drawer/index.js +4 -0
  10. package/__flow__/EmptyState/index.test.js +1 -3
  11. package/__flow__/EnumIconNames.js +1 -1
  12. package/__flow__/Fieldset/index.js +8 -2
  13. package/__flow__/Icon/index.js +5 -1
  14. package/__flow__/IconViewBoxes.js +1 -1
  15. package/__flow__/Link/index.test.js +0 -10
  16. package/__flow__/Loader/index.test.js +0 -14
  17. package/__flow__/Menu/__snapshots__/index.test.js.snap +2 -2
  18. package/__flow__/Menu/index.js +7 -0
  19. package/__flow__/Message/index.js +7 -0
  20. package/__flow__/Modal/index.js +5 -0
  21. package/__flow__/Modal/index.test.js +0 -19
  22. package/__flow__/Popout/index.js +4 -1
  23. package/__flow__/SegmentedControl/index.js +2 -0
  24. package/__flow__/Table/index.js +6 -0
  25. package/__flow__/Text/index.js +8 -0
  26. package/__flow__/Text/index.test.js +0 -39
  27. package/__flow__/index.js +1 -0
  28. package/__flow__/systemProps/background.js +28 -0
  29. package/__flow__/systemProps/border.js +76 -0
  30. package/__flow__/systemProps/color.js +25 -0
  31. package/__flow__/systemProps/custom.js +23 -0
  32. package/__flow__/systemProps/flexbox.js +42 -0
  33. package/__flow__/systemProps/grid.js +43 -0
  34. package/__flow__/systemProps/index.js +17 -0
  35. package/__flow__/systemProps/layout.js +43 -0
  36. package/__flow__/systemProps/position.js +29 -0
  37. package/__flow__/systemProps/shadow.js +18 -0
  38. package/__flow__/systemProps/space.js +83 -0
  39. package/__flow__/systemProps/systemProps.js +55 -0
  40. package/__flow__/systemProps/tests/__snapshots__/background.test.js.snap +96 -0
  41. package/__flow__/systemProps/tests/__snapshots__/border.test.js.snap +469 -0
  42. package/__flow__/systemProps/tests/__snapshots__/color.test.js.snap +55 -0
  43. package/__flow__/systemProps/tests/__snapshots__/custom.test.js.snap +36 -0
  44. package/__flow__/systemProps/tests/__snapshots__/flexbox.test.js.snap +239 -0
  45. package/__flow__/systemProps/tests/__snapshots__/grid.test.js.snap +166 -0
  46. package/__flow__/systemProps/tests/__snapshots__/layout.test.js.snap +218 -0
  47. package/__flow__/systemProps/tests/__snapshots__/position.test.js.snap +115 -0
  48. package/__flow__/systemProps/tests/__snapshots__/shadow.test.js.snap +25 -0
  49. package/__flow__/systemProps/tests/__snapshots__/space.test.js.snap +39 -0
  50. package/__flow__/systemProps/tests/__snapshots__/typography.test.js.snap +166 -0
  51. package/__flow__/systemProps/tests/__snapshots__/variant.test.js.snap +17 -0
  52. package/__flow__/systemProps/tests/background.test.js +90 -0
  53. package/__flow__/systemProps/tests/border.test.js +299 -0
  54. package/__flow__/systemProps/tests/color.test.js +49 -0
  55. package/__flow__/systemProps/tests/custom.test.js +38 -0
  56. package/__flow__/systemProps/tests/flexbox.test.js +150 -0
  57. package/__flow__/systemProps/tests/grid.test.js +123 -0
  58. package/__flow__/systemProps/tests/layout.test.js +135 -0
  59. package/__flow__/systemProps/tests/position.test.js +78 -0
  60. package/__flow__/systemProps/tests/shadow.test.js +30 -0
  61. package/__flow__/systemProps/tests/space.test.js +32 -0
  62. package/__flow__/systemProps/tests/types.flow.js +55 -0
  63. package/__flow__/systemProps/tests/typography.test.js +93 -0
  64. package/__flow__/systemProps/tests/variant.test.js +25 -0
  65. package/__flow__/systemProps/types.flow.js +20 -0
  66. package/__flow__/systemProps/typography.js +34 -0
  67. package/__flow__/systemProps/variant.js +18 -0
  68. package/__flow__/themes/dark/theme.js +1 -0
  69. package/__flow__/themes/light/theme.js +1 -0
  70. package/bin/buildNpm.js +58 -0
  71. package/commonjs/Breadcrumb/index.js +1 -0
  72. package/commonjs/Collapsible/index.js +2 -0
  73. package/commonjs/Drawer/index.js +3 -0
  74. package/commonjs/Fieldset/index.js +6 -2
  75. package/commonjs/Icon/index.js +3 -1
  76. package/commonjs/IconViewBoxes.js +2 -0
  77. package/commonjs/Menu/index.js +6 -0
  78. package/commonjs/Message/index.js +13 -0
  79. package/commonjs/Modal/index.js +4 -0
  80. package/commonjs/Popout/index.js +5 -2
  81. package/commonjs/SegmentedControl/index.js +1 -0
  82. package/commonjs/Table/index.js +5 -0
  83. package/commonjs/Text/index.js +7 -0
  84. package/commonjs/include-icons.js +1 -1
  85. package/commonjs/index.js +78 -0
  86. package/commonjs/systemProps/background.js +9 -0
  87. package/commonjs/systemProps/border.js +9 -0
  88. package/commonjs/systemProps/color.js +9 -0
  89. package/commonjs/systemProps/custom.js +12 -0
  90. package/commonjs/systemProps/flexbox.js +9 -0
  91. package/commonjs/systemProps/grid.js +9 -0
  92. package/commonjs/systemProps/index.js +115 -0
  93. package/commonjs/systemProps/layout.js +9 -0
  94. package/commonjs/systemProps/position.js +9 -0
  95. package/commonjs/systemProps/shadow.js +9 -0
  96. package/commonjs/systemProps/space.js +10 -0
  97. package/commonjs/systemProps/systemProps.js +33 -0
  98. package/commonjs/systemProps/tests/types.flow.js +46 -0
  99. package/commonjs/systemProps/types.flow.js +1 -0
  100. package/commonjs/systemProps/typography.js +9 -0
  101. package/commonjs/systemProps/variant.js +12 -0
  102. package/commonjs/themes/dark/theme.js +1 -0
  103. package/commonjs/themes/light/theme.js +1 -0
  104. package/dist/iconList.js +1 -1
  105. package/dist/icons.svg +1 -1
  106. package/dist/themes/dark/dark.scss +1 -0
  107. package/dist/themes/light/light.scss +1 -0
  108. package/icons/address-card-outline.svg +3 -0
  109. package/icons/deconstructed-negative-sentiment.svg +1 -1
  110. package/icons/deconstructed-neutral-sentiment.svg +1 -1
  111. package/icons/deconstructed-positive-sentiment.svg +1 -1
  112. package/icons/magic-wand.svg +3 -0
  113. package/icons/whatsapp.svg +5 -5
  114. package/includeIcons.js +1 -1
  115. package/lib/Breadcrumb/index.js +1 -0
  116. package/lib/Collapsible/index.js +2 -0
  117. package/lib/Drawer/index.js +3 -0
  118. package/lib/Fieldset/index.js +6 -2
  119. package/lib/Icon/index.js +3 -1
  120. package/lib/IconViewBoxes.js +2 -0
  121. package/lib/Menu/index.js +6 -0
  122. package/lib/Message/index.js +13 -0
  123. package/lib/Modal/index.js +4 -0
  124. package/lib/Popout/index.js +5 -2
  125. package/lib/SegmentedControl/index.js +1 -0
  126. package/lib/Table/index.js +5 -0
  127. package/lib/Text/index.js +7 -0
  128. package/lib/include-icons.js +1 -1
  129. package/lib/index.js +1 -0
  130. package/lib/systemProps/background.js +2 -0
  131. package/lib/systemProps/border.js +2 -0
  132. package/lib/systemProps/color.js +2 -0
  133. package/lib/systemProps/custom.js +5 -0
  134. package/lib/systemProps/flexbox.js +2 -0
  135. package/lib/systemProps/grid.js +2 -0
  136. package/lib/systemProps/index.js +14 -0
  137. package/lib/systemProps/layout.js +2 -0
  138. package/lib/systemProps/position.js +2 -0
  139. package/lib/systemProps/shadow.js +2 -0
  140. package/lib/systemProps/space.js +3 -0
  141. package/lib/systemProps/systemProps.js +14 -0
  142. package/lib/systemProps/tests/types.flow.js +44 -0
  143. package/lib/systemProps/types.flow.js +0 -0
  144. package/lib/systemProps/typography.js +2 -0
  145. package/lib/systemProps/variant.js +5 -0
  146. package/lib/themes/dark/theme.js +1 -0
  147. package/lib/themes/light/theme.js +1 -0
  148. package/package.json +34 -17
@@ -0,0 +1,93 @@
1
+ // @flow strict-local
2
+ import React from "react";
3
+ import styled from "styled-components";
4
+ import { render } from "../../utils/react-testing-library";
5
+ import type { TypeTheme } from "../../types/theme.flow";
6
+ import {
7
+ typographySystemProps,
8
+ type TypeTypographySystemProps,
9
+ } from "../typography";
10
+
11
+ describe("typography system props", () => {
12
+ const Component = styled<TypeTypographySystemProps, TypeTheme, "div">("div")`
13
+ ${typographySystemProps}
14
+ `;
15
+
16
+ test("fontFamily", () => {
17
+ const { container } = render(
18
+ <>
19
+ <Component fontFamily="string" />
20
+ </>
21
+ );
22
+ expect(container).toMatchSnapshot();
23
+ });
24
+
25
+ test("fontSize", () => {
26
+ const { container } = render(
27
+ <>
28
+ <Component fontSize="string" />
29
+ <Component fontSize={100} />
30
+ </>
31
+ );
32
+ expect(container).toMatchSnapshot();
33
+ });
34
+
35
+ test("fontStyle", () => {
36
+ const { container } = render(
37
+ <>
38
+ <Component fontStyle="string" />
39
+ </>
40
+ );
41
+ expect(container).toMatchSnapshot();
42
+ });
43
+
44
+ test("fontWeight", () => {
45
+ const { container } = render(
46
+ <>
47
+ <Component fontWeight="normal" />
48
+ <Component fontWeight="semibold" />
49
+ <Component fontWeight="bold" />
50
+ <Component fontWeight="extrabold" />
51
+ <Component fontWeight={100} />
52
+ <Component
53
+ // $FlowExpectedError
54
+ fontWeight="string"
55
+ />
56
+ </>
57
+ );
58
+ expect(container).toMatchSnapshot();
59
+ });
60
+
61
+ test("letterSpacing", () => {
62
+ const { container } = render(
63
+ <>
64
+ <Component letterSpacing="string" />
65
+ <Component letterSpacing={1} />
66
+ </>
67
+ );
68
+ expect(container).toMatchSnapshot();
69
+ });
70
+
71
+ test("lineHeight", () => {
72
+ const { container } = render(
73
+ <>
74
+ <Component lineHeight="string" />
75
+ <Component lineHeight={1} />
76
+ </>
77
+ );
78
+ expect(container).toMatchSnapshot();
79
+ });
80
+
81
+ test("textAlign", () => {
82
+ const { container } = render(
83
+ <>
84
+ <Component textAlign="center" />
85
+ <Component
86
+ // $FlowExpectedError
87
+ textAlign="string"
88
+ />
89
+ </>
90
+ );
91
+ expect(container).toMatchSnapshot();
92
+ });
93
+ });
@@ -0,0 +1,25 @@
1
+ // @flow strict-local
2
+ import React from "react";
3
+ import styled from "styled-components";
4
+ import { render } from "../../utils/react-testing-library";
5
+ import type { TypeTheme } from "../../types/theme.flow";
6
+ import { variantSystemProps, type TypeVariantSystemProps } from "../variant";
7
+
8
+ describe("variant system props", () => {
9
+ const Component = styled<TypeVariantSystemProps, TypeTheme, "div">("div")`
10
+ ${variantSystemProps}
11
+ `;
12
+
13
+ test("typeScale", () => {
14
+ const { container } = render(
15
+ <>
16
+ <Component typeScale="100" />
17
+ <Component
18
+ // $FlowExpectedError
19
+ typeScale={100}
20
+ />
21
+ </>
22
+ );
23
+ expect(container).toMatchSnapshot();
24
+ });
25
+ });
@@ -0,0 +1,20 @@
1
+ // @flow strict
2
+
3
+ export type TypeResponsiveSystemProp<T> =
4
+ | T
5
+ | [T]
6
+ | [T, T]
7
+ | [T, T, T]
8
+ | [T, T, T, T]
9
+ | [T, T, T, T, T];
10
+ export type TypeBaseSystemProp<T> = ?T | boolean;
11
+ // eslint-disable-next-line prettier/prettier
12
+ export type TypeResponsiveBaseSystemProp<T> = TypeResponsiveSystemProp<TypeBaseSystemProp<T>>;
13
+
14
+ export interface StyledSystemStyleFn {
15
+ (...args: mixed[]): mixed;
16
+
17
+ config?: { ... } | void;
18
+ propNames?: string[] | void;
19
+ cache?: { ... } | void;
20
+ }
@@ -0,0 +1,34 @@
1
+ // @flow strict-local
2
+
3
+ import { typography } from "styled-system";
4
+ import type {
5
+ FontFamilyProperty,
6
+ FontSizeProperty,
7
+ FontStyleProperty,
8
+ FontWeightProperty,
9
+ LetterSpacingProperty,
10
+ LineHeightProperty,
11
+ TextAlignProperty,
12
+ } from "csstype";
13
+
14
+ import typeof { fontWeights as TypeofFontWeights } from "../themes/light/theme";
15
+ import type {
16
+ StyledSystemStyleFn,
17
+ TypeResponsiveBaseSystemProp,
18
+ } from "./types.flow.js";
19
+
20
+ // https://styled-system.com/table#typography
21
+
22
+ export type TypeTypographySystemProps = $ReadOnly<{|
23
+ fontFamily?: TypeResponsiveBaseSystemProp<FontFamilyProperty>,
24
+ fontSize?: TypeResponsiveBaseSystemProp<FontSizeProperty<number>>,
25
+ fontStyle?: TypeResponsiveBaseSystemProp<FontStyleProperty>,
26
+ // eslint-disable-next-line prettier/prettier
27
+ fontWeight?: TypeResponsiveBaseSystemProp<FontWeightProperty | $Keys<TypeofFontWeights>>,
28
+ // eslint-disable-next-line prettier/prettier
29
+ letterSpacing?: TypeResponsiveBaseSystemProp<LetterSpacingProperty<string | number>>,
30
+ lineHeight?: TypeResponsiveBaseSystemProp<LineHeightProperty<void>>,
31
+ textAlign?: TypeResponsiveBaseSystemProp<TextAlignProperty>,
32
+ |}>;
33
+
34
+ export const typographySystemProps: StyledSystemStyleFn = typography;
@@ -0,0 +1,18 @@
1
+ // @flow strict-local
2
+ import { compose, variant } from "styled-system";
3
+ import type { TypeTypography } from "../types/theme.flow";
4
+
5
+ import type { TypeResponsiveBaseSystemProp } from "./types.flow.js";
6
+
7
+ // https://styled-system.com/variants
8
+
9
+ export type TypeVariantSystemProps = $ReadOnly<{|
10
+ typeScale?: TypeResponsiveBaseSystemProp<$Keys<TypeTypography>>,
11
+ |}>;
12
+
13
+ export const variantSystemProps = compose(
14
+ variant({
15
+ key: "typography",
16
+ prop: "typeScale",
17
+ })
18
+ );
@@ -184,6 +184,7 @@ const colors = {
184
184
  danger: red.foreground,
185
185
  info: blue.foreground,
186
186
  opportunity: purple.foreground,
187
+ applied: COLORS.COLOR_BLUE_400,
187
188
  positive_sentiment: COLORS.COLOR_BLUE_700,
188
189
  negative_sentiment: COLORS.COLOR_RED_600,
189
190
  neutral_sentiment: COLORS.COLOR_NEUTRAL_600,
@@ -181,6 +181,7 @@ const colors = {
181
181
  danger: red.foreground,
182
182
  info: blue.foreground,
183
183
  opportunity: purple.foreground,
184
+ applied: COLORS.COLOR_BLUE_700,
184
185
  positive_sentiment: COLORS.COLOR_BLUE_700,
185
186
  negative_sentiment: COLORS.COLOR_RED_600,
186
187
  neutral_sentiment: COLORS.COLOR_NEUTRAL_600,
@@ -0,0 +1,58 @@
1
+ /**
2
+ * This file handles the generation of an .npmrc with Jfrog credentials during the CI process.
3
+ * It replicates the local configuration requirements of a developer running `yarn` on their machine
4
+ * If run locally please do not commit your auth credentials
5
+ */
6
+ const fs = require("fs");
7
+ const https = require("https");
8
+ const { exit } = require("process");
9
+
10
+ const { ARTIFACTORY_KEY, CI } = process.env;
11
+
12
+ // Check if we're in CI context, otherwise skip the process
13
+ if (!CI) {
14
+ exit();
15
+ }
16
+
17
+ const options = {
18
+ hostname: "sproutsocial.jfrog.io",
19
+ path: "/artifactory/api/npm/auth",
20
+ method: "GET",
21
+ headers: {
22
+ "X-JFrog-Art-Api": ARTIFACTORY_KEY,
23
+ },
24
+ };
25
+
26
+ const req = https.request(options, (res) => {
27
+ console.log(`statusCode: ${res.statusCode}`);
28
+
29
+ // Call our auth endpoint with environment credentials
30
+ res.on("data", (data) => {
31
+ // Writes out an .npmrc file with the response
32
+ fs.writeFile(".npmrc", data, (err) => {
33
+ if (err) console.log(err);
34
+ else {
35
+ console.log(".npmrc generated successfully!");
36
+ }
37
+ });
38
+
39
+ // Once the file is created we append the registry info
40
+ fs.appendFile(
41
+ ".npmrc",
42
+ "registry=https://sproutsocial.jfrog.io/artifactory/api/npm/npm_virtual",
43
+ function (err) {
44
+ if (err) throw err;
45
+ console.log("Registry Config Added!");
46
+ }
47
+ );
48
+
49
+ // Finally, we set permissions for the file so that netlify recognizes it
50
+ fs.chmodSync(".npmrc", "0600");
51
+ });
52
+ });
53
+
54
+ req.on("error", (error) => {
55
+ console.error(error);
56
+ });
57
+
58
+ req.end();
@@ -63,5 +63,6 @@ var Breadcrumb = function Breadcrumb(_ref2) {
63
63
  };
64
64
 
65
65
  Breadcrumb.Item = BreadcrumbItem;
66
+ Breadcrumb.Item.displayName = "Breadcrumb.Item";
66
67
  var _default = Breadcrumb;
67
68
  exports.default = _default;
@@ -135,5 +135,7 @@ var Panel = function Panel(_ref3) {
135
135
 
136
136
  Collapsible.Trigger = Trigger;
137
137
  Collapsible.Panel = Panel;
138
+ Collapsible.Trigger.displayName = "Collapsible.Trigger";
139
+ Collapsible.Panel.displayName = "Collapsible.Panel";
138
140
  var _default = Collapsible;
139
141
  exports.default = _default;
@@ -233,5 +233,8 @@ var DrawerContainer = function DrawerContainer(_ref4) {
233
233
  DrawerContainer.Header = DrawerHeader;
234
234
  DrawerContainer.Content = DrawerContent;
235
235
  DrawerContainer.CloseButton = DrawerCloseButton;
236
+ DrawerContainer.Header.displayName = "Drawer.Header";
237
+ DrawerContainer.Content.displayName = "Drawer.Content";
238
+ DrawerContainer.CloseButton.displayName = "Drawer.CloseButton";
236
239
  var _default = DrawerContainer;
237
240
  exports.default = _default;
@@ -51,7 +51,7 @@ var Fieldset = function Fieldset(_ref) {
51
51
  );
52
52
  };
53
53
 
54
- Fieldset.Legend = function (_ref2) {
54
+ var FieldsetLegend = function FieldsetLegend(_ref2) {
55
55
  var children = _ref2.children,
56
56
  rest = _objectWithoutPropertiesLoose(_ref2, ["children"]);
57
57
 
@@ -64,7 +64,7 @@ Fieldset.Legend = function (_ref2) {
64
64
  }, rest), children);
65
65
  };
66
66
 
67
- Fieldset.HelperText = function (_ref3) {
67
+ var FieldsetHelperText = function FieldsetHelperText(_ref3) {
68
68
  var children = _ref3.children,
69
69
  rest = _objectWithoutPropertiesLoose(_ref3, ["children"]);
70
70
 
@@ -75,5 +75,9 @@ Fieldset.HelperText = function (_ref3) {
75
75
  }, rest), children);
76
76
  };
77
77
 
78
+ Fieldset.Legend = FieldsetLegend;
79
+ Fieldset.HelperText = FieldsetHelperText;
80
+ Fieldset.Legend.displayName = "Fieldset.Legend";
81
+ Fieldset.HelperText.displayName = "Fieldset.HelperText";
78
82
  var _default = Fieldset;
79
83
  exports.default = _default;
@@ -64,7 +64,7 @@ var ToggleableIcon = (0, _styledComponents.default)(Icon).withConfig({
64
64
  return !p.active && (0, _styledComponents.css)(["position:absolute;opacity:0;transform:scale(0);"]);
65
65
  });
66
66
 
67
- Icon.Toggle = function (_ref2) {
67
+ var IconToggle = function IconToggle(_ref2) {
68
68
  var activeName = _ref2.activeName,
69
69
  inactiveName = _ref2.inactiveName,
70
70
  isActive = _ref2.isActive,
@@ -100,5 +100,7 @@ Icon.Toggle = function (_ref2) {
100
100
  );
101
101
  };
102
102
 
103
+ Icon.Toggle = IconToggle;
104
+ Icon.Toggle.displayName = "Icon.Toggle";
103
105
  var _default = Icon;
104
106
  exports.default = _default;
@@ -6,6 +6,7 @@ module.exports = {
6
6
  "add-keyword": "0 0 16 16",
7
7
  "add-team-member": "0 0 18 13",
8
8
  "add-variable": "0 0 18 14",
9
+ "address-card-outline": "0 0 16 16",
9
10
  "address-card-solid": "0 0 18 16",
10
11
  "adobe-experience-manager": "0 0 16 18",
11
12
  "ads": "0 0 9 16",
@@ -210,6 +211,7 @@ module.exports = {
210
211
  "location-outline": "0 0 12 16",
211
212
  "location": "0 0 12 16",
212
213
  "lock": "0 0 14 16",
214
+ "magic-wand": "0 0 17 16",
213
215
  "male": "0 0 16 20",
214
216
  "marketo": "0 0 16 18",
215
217
  "mention": "0 0 16 16",
@@ -429,6 +429,12 @@ Menu.Checkbox = MenuCheckbox;
429
429
  Menu.Radio = MenuRadio;
430
430
  Menu.Divider = MenuDivider;
431
431
  Menu.FilterInput = MenuFilterInput;
432
+ Menu.Group.displayName = "Menu.Group";
433
+ Menu.Item.displayName = "Menu.Item";
434
+ Menu.Checkbox.displayName = "Menu.Checkbox";
435
+ Menu.Radio.displayName = "Menu.Radio";
436
+ Menu.Divider.displayName = "Menu.Divider";
437
+ Menu.FilterInput.displayName = "Menu.FilterInput";
432
438
  var CustomPopoutContent = (0, _styledComponents.default)(_Popout.default.Content).withConfig({
433
439
  displayName: "Menu__CustomPopoutContent",
434
440
  componentId: "sc-1p3rdnp-1"
@@ -98,6 +98,8 @@ Message.Body = function (props) {
98
98
  });
99
99
  };
100
100
 
101
+ Message.Body.displayName = "Message.Body";
102
+
101
103
  Message.Header = function (props) {
102
104
  return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref3) {
103
105
  var density = _ref3.density,
@@ -109,6 +111,8 @@ Message.Header = function (props) {
109
111
  });
110
112
  };
111
113
 
114
+ Message.Header.displayName = "Message.Header";
115
+
112
116
  Message.Footer = function (props) {
113
117
  return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref4) {
114
118
  var density = _ref4.density,
@@ -122,6 +126,8 @@ Message.Footer = function (props) {
122
126
  });
123
127
  };
124
128
 
129
+ Message.Footer.displayName = "Message.Footer";
130
+
125
131
  Message.Meta = function (props) {
126
132
  return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref5) {
127
133
  var density = _ref5.density,
@@ -135,12 +141,16 @@ Message.Meta = function (props) {
135
141
  });
136
142
  };
137
143
 
144
+ Message.Meta.displayName = "Message.Meta";
145
+
138
146
  Message.Button = function (props) {
139
147
  return /*#__PURE__*/React.createElement(_Button.default, _extends({}, props, {
140
148
  appearance: props.appearance || "pill"
141
149
  }));
142
150
  };
143
151
 
152
+ Message.Button.displayName = "Message.Button";
153
+
144
154
  Message.Avatar = function (props) {
145
155
  return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref6) {
146
156
  var density = _ref6.density;
@@ -150,6 +160,8 @@ Message.Avatar = function (props) {
150
160
  });
151
161
  };
152
162
 
163
+ Message.Avatar.displayName = "Message.Avatar";
164
+
153
165
  Message.Checkbox = function (props) {
154
166
  return /*#__PURE__*/React.createElement(MessageContext.Consumer, null, function (_ref7) {
155
167
  var density = _ref7.density;
@@ -164,6 +176,7 @@ Message.Checkbox = function (props) {
164
176
  });
165
177
  };
166
178
 
179
+ Message.Checkbox.displayName = "Message.Checkbox";
167
180
  Message.Context = MessageContext;
168
181
  Message.DENSITIES = MESSAGE_DENSITIES;
169
182
  var _default = Message;
@@ -147,6 +147,10 @@ Modal.Header = ModalHeader;
147
147
  Modal.Footer = ModalFooter;
148
148
  Modal.Content = ModalContent;
149
149
  Modal.CloseButton = ModalCloseButton;
150
+ Modal.Header.displayName = "Modal.Header";
151
+ Modal.Footer.displayName = "Modal.Footer";
152
+ Modal.Content.displayName = "Modal.Content";
153
+ Modal.CloseButton.displayName = "Modal.CloseButton";
150
154
  Modal.defaultProps = {
151
155
  width: "800px",
152
156
  zIndex: 6
@@ -280,7 +280,7 @@ function Popout(_ref) {
280
280
  }));
281
281
  }
282
282
 
283
- Popout.Content = function (_ref4) {
283
+ var PopoutContent = function PopoutContent(_ref4) {
284
284
  var children = _ref4.children,
285
285
  rest = _objectWithoutPropertiesLoose(_ref4, ["children"]);
286
286
 
@@ -294,4 +294,7 @@ Popout.Content = function (_ref4) {
294
294
  p: 400,
295
295
  m: 300
296
296
  }, rest), children);
297
- };
297
+ };
298
+
299
+ Popout.Content = PopoutContent;
300
+ Popout.Content.displayName = "Popout.Content";
@@ -90,5 +90,6 @@ var SegmentedControl = function SegmentedControl(_ref2) {
90
90
  };
91
91
 
92
92
  SegmentedControl.Item = SegmentedControlItem;
93
+ SegmentedControl.Item.displayName = "SegmentedControl.Item";
93
94
  var _default = SegmentedControl;
94
95
  exports.default = _default;
@@ -103,5 +103,10 @@ Table.TableBody = TableBody;
103
103
  Table.TableRow = TableRow;
104
104
  Table.HeaderCell = _TableHeaderCell.default;
105
105
  Table.Cell = _TableCell.default;
106
+ Table.TableHead.displayName = "Table.TableHead";
107
+ Table.TableBody.displayName = "Table.TableBody";
108
+ Table.TableRow.displayName = "Table.TableRow";
109
+ Table.HeaderCell.displayName = "Table.HeaderCell";
110
+ Table.Cell.displayName = "Table.Cell";
106
111
  var _default = Table;
107
112
  exports.default = _default;
@@ -106,5 +106,12 @@ Text.Byline = Byline;
106
106
  Text.SmallByline = SmallByline;
107
107
  Text.BodyCopy = BodyCopy;
108
108
  Text.SmallBodyCopy = SmallBodyCopy;
109
+ Text.Headline.displayName = "Text.Headline";
110
+ Text.SubHeadline.displayName = "Text.SubHeadline";
111
+ Text.SmallSubHeadline.displayName = "Text.SmallSubHeadline";
112
+ Text.Byline.displayName = "Text.Byline";
113
+ Text.SmallByline.displayName = "Text.SmallByline";
114
+ Text.BodyCopy.displayName = "Text.BodyCopy";
115
+ Text.SmallBodyCopy.displayName = "Text.SmallBodyCopy";
109
116
  var _default = Text;
110
117
  exports.default = _default;