@artsy/palette-mobile 8.7.3 → 8.7.4

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.
@@ -19,4 +19,3 @@ exports.Box = (0, native_1.default)(react_native_1.View) `
19
19
  ${styled_system_1.border}
20
20
  ${styled_system_1.textAlign}
21
21
  `;
22
- exports.Box.displayName = "Box";
@@ -5,4 +5,3 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const Box_1 = require("../Box");
7
7
  exports.Flex = (0, react_1.forwardRef)(({ backgroundColor, ...restProps }, ref) => ((0, jsx_runtime_1.jsx)(Box_1.Box, { backgroundColor: backgroundColor ?? "transparent", ...restProps, ref: ref })));
8
- exports.Flex.displayName = "Flex";
@@ -7,7 +7,4 @@ export interface SpacerProps {
7
7
  /**
8
8
  * Used to inject space where it's needed.
9
9
  */
10
- export declare const Spacer: {
11
- ({ x, y, ...props }: SpacerProps): JSX.Element;
12
- displayName: string;
13
- };
10
+ export declare const Spacer: ({ x, y, ...props }: SpacerProps) => JSX.Element;
@@ -8,4 +8,3 @@ const Box_1 = require("../Box");
8
8
  */
9
9
  const Spacer = ({ x, y, ...props }) => (0, jsx_runtime_1.jsx)(Box_1.Box, { ml: x, mt: y, ...props });
10
10
  exports.Spacer = Spacer;
11
- exports.Spacer.displayName = "Spacer";
@@ -2,10 +2,7 @@
2
2
  import { SpacerProps } from "./Spacer";
3
3
  declare const _default: {
4
4
  title: string;
5
- component: {
6
- ({ x, y, ...props }: SpacerProps): JSX.Element;
7
- displayName: string;
8
- };
5
+ component: ({ x, y, ...props }: SpacerProps) => JSX.Element;
9
6
  };
10
7
  export default _default;
11
8
  export declare const Horizontal: () => JSX.Element;
@@ -9,8 +9,5 @@ interface EntityHeaderProps extends SpacerProps {
9
9
  name: string;
10
10
  FollowButton?: JSX.Element;
11
11
  }
12
- export declare const EntityHeader: {
13
- ({ smallVariant, href, imageUrl, initials, name, meta, FollowButton, ...restProps }: EntityHeaderProps): JSX.Element;
14
- displayName: string;
15
- };
12
+ export declare const EntityHeader: ({ smallVariant, href, imageUrl, initials, name, meta, FollowButton, ...restProps }: EntityHeaderProps) => JSX.Element;
16
13
  export {};
@@ -13,4 +13,3 @@ const EntityHeader = ({ smallVariant, href, imageUrl, initials, name, meta, Foll
13
13
  return ((0, jsx_runtime_1.jsxs)(atoms_1.Flex, { flexDirection: "row", flexWrap: "nowrap", ...restProps, children: [!!(imageUrl || initials) && ((0, jsx_runtime_1.jsx)(atoms_1.Flex, { mr: 1, justifyContent: "center", children: (0, jsx_runtime_1.jsx)(Avatar_1.Avatar, { size: "xs", src: imageUrl, initials: initials }) })), smallVariant ? ((0, jsx_runtime_1.jsxs)(atoms_1.Flex, { flexDirection: "row", justifyContent: "flex-start", flexGrow: 1, alignItems: "center", children: [headerName, (0, jsx_runtime_1.jsx)(Text_1.Text, { variant: "sm", ml: "0.5", children: text_1.bullet }), followButton] })) : ((0, jsx_runtime_1.jsxs)(atoms_1.Flex, { justifyContent: "space-between", width: 0, flexGrow: 1, flexDirection: "row", children: [(0, jsx_runtime_1.jsxs)(atoms_1.Flex, { alignSelf: "center", flexShrink: 1, children: [headerName, headerMeta] }), followButton] }))] }));
14
14
  };
15
15
  exports.EntityHeader = EntityHeader;
16
- exports.EntityHeader.displayName = "EntityHeader";
@@ -164,4 +164,3 @@ const StyledInput = (0, native_1.default)(react_native_1.TextInput) `
164
164
  padding: ${(0, theme_get_1.themeGet)("space.1")};
165
165
  font-family: ${(0, theme_get_1.themeGet)("fonts.sans.regular")};
166
166
  `;
167
- StyledInput.displayName = "StyledInput";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "8.7.3",
3
+ "version": "8.7.4",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "react-native run-android",