@artsy/palette-mobile 11.2.6 → 11.2.7

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 CHANGED
@@ -1,3 +1,19 @@
1
+ # v11.2.7 (Mon Jul 24 2023)
2
+
3
+ :tada: This release contains work from a new contributor! :tada:
4
+
5
+ Thank you, Daria Kozlova ([@dariakoko](https://github.com/dariakoko)), for all your work!
6
+
7
+ #### 🐛 Bug Fix
8
+
9
+ - fix: adjust the size of LockIcon [#127](https://github.com/artsy/palette-mobile/pull/127) ([@dariakoko](https://github.com/dariakoko))
10
+
11
+ #### Authors: 1
12
+
13
+ - Daria Kozlova ([@dariakoko](https://github.com/dariakoko))
14
+
15
+ ---
16
+
1
17
  # v11.2.6 (Mon Jul 24 2023)
2
18
 
3
19
  #### 🐛 Bug Fix
@@ -10,7 +10,7 @@ const Flex_1 = require("../Flex");
10
10
  const Text_1 = require("../Text");
11
11
  const EntityHeader = ({ avatarSize = "xs", FollowButton, RightButton, imageUrl, initials, meta, name, smallVariant = false, displayPrivateIcon, ...restProps }) => {
12
12
  const rightButton = (RightButton || FollowButton) && ((0, jsx_runtime_1.jsx)(Flex_1.Flex, { ml: smallVariant ? 0.5 : 1, flexDirection: "row", alignItems: "center", justifyContent: "flex-end", children: RightButton || FollowButton }));
13
- const headerName = ((0, jsx_runtime_1.jsxs)(Flex_1.Flex, { flexDirection: "row", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { ellipsizeMode: "tail", numberOfLines: 1, variant: "sm", lineHeight: "18px", style: { flexShrink: 1 }, children: name }), displayPrivateIcon && (0, jsx_runtime_1.jsx)(svgs_1.LockIcon, { ml: "2px" })] }));
13
+ const headerName = ((0, jsx_runtime_1.jsxs)(Flex_1.Flex, { flexDirection: "row", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { ellipsizeMode: "tail", numberOfLines: 1, variant: "sm", lineHeight: "18px", style: { flexShrink: 1 }, children: name }), displayPrivateIcon && (0, jsx_runtime_1.jsx)(svgs_1.LockIcon, { ml: "2px", width: 16, height: 16, testID: "lock-icon" })] }));
14
14
  const headerMeta = (0, react_1.useMemo)(() => {
15
15
  if (meta) {
16
16
  if ((0, react_1.isValidElement)(meta)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artsy/palette-mobile",
3
- "version": "11.2.6",
3
+ "version": "11.2.7",
4
4
  "description": "Artsy's design system for React Native",
5
5
  "scripts": {
6
6
  "android": "react-native run-android",