@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.
- package/dist/atoms/Box/Box.js +0 -1
- package/dist/atoms/Flex/Flex.js +0 -1
- package/dist/atoms/Spacer/Spacer.d.ts +1 -4
- package/dist/atoms/Spacer/Spacer.js +0 -1
- package/dist/atoms/Spacer/Spacer.stories.d.ts +1 -4
- package/dist/elements/EntityHeader/EntityHeader.d.ts +1 -4
- package/dist/elements/EntityHeader/EntityHeader.js +0 -1
- package/dist/elements/Input/Input.js +0 -1
- package/package.json +1 -1
package/dist/atoms/Box/Box.js
CHANGED
package/dist/atoms/Flex/Flex.js
CHANGED
|
@@ -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;
|
|
@@ -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";
|