@artsy/palette-mobile 14.0.1 → 14.0.3
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/elements/SearchInput/RoundSearchInput.js +1 -2
- package/dist/svgs/ArrowUpRightIcon.js +1 -1
- package/dist/svgs/FireIcon.js +1 -1
- package/dist/svgs/FollowArtistFillIcon.js +2 -2
- package/dist/svgs/FollowArtistIcon.js +1 -1
- package/dist/svgs/NewFillHeartIcon.js +1 -1
- package/dist/svgs/NewHeartIcon.js +1 -1
- package/dist/svgs/TrendingIcon.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import isArray from "lodash/isArray";
|
|
3
3
|
import isString from "lodash/isString";
|
|
4
4
|
import { useCallback, useRef, useState } from "react";
|
|
5
|
-
import {
|
|
5
|
+
import { TextInput } from "react-native";
|
|
6
6
|
import { ArrowLeftIcon, MagnifyingGlassIcon } from "../../svgs";
|
|
7
7
|
import { useColor, useTheme } from "../../utils/hooks";
|
|
8
8
|
import { Flex } from "../Flex";
|
|
@@ -76,7 +76,6 @@ export const RoundSearchInput = ({ value, placeholder, onLeftIconPress, ...rest
|
|
|
76
76
|
// anything above that would lead to an error
|
|
77
77
|
maxLength: 100, clearButtonMode: "always", placeholderTextColor: color("black60"), onFocus: (e) => {
|
|
78
78
|
setIsFocused(true);
|
|
79
|
-
LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut);
|
|
80
79
|
rest.onFocus?.(e);
|
|
81
80
|
}, enterKeyHint: "search", returnKeyType: "search" }), _jsx(Flex, { position: "absolute", height: SEARCH_INPUT_CONTAINER_HEIGHT, justifyContent: "center", alignItems: "center", style: {
|
|
82
81
|
paddingHorizontal: CONTAINER_HORIZONTAL_PADDING,
|
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const ArrowUpRightIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M4.
|
|
6
|
+
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M4.17188 14.8125L3.1875 13.8281L11.6625 5.34375H6.64688V3.9375H14.0531V11.3438H12.6469V6.32813L4.17188 14.8125Z", fillRule: "nonzero", fill: color(fill) }) }));
|
|
7
7
|
};
|
package/dist/svgs/FireIcon.js
CHANGED
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const FireIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M4.
|
|
6
|
+
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M4.45313 10.5C4.45313 11.1812 4.59375 11.8234 4.875 12.4265C5.15625 13.0296 5.55938 13.55 6.08438 13.9875C6.06563 13.9062 6.05469 13.8312 6.05156 13.7625C6.04844 13.6937 6.04688 13.6187 6.04688 13.5375C6.04688 13.15 6.12188 12.7828 6.27188 12.4359C6.42188 12.089 6.6375 11.775 6.91875 11.4937L9 9.44058L11.0906 11.4937C11.3719 11.775 11.5859 12.089 11.7328 12.4359C11.8797 12.7828 11.9531 13.15 11.9531 13.5375C11.9531 13.6187 11.9516 13.6937 11.9484 13.7625C11.9453 13.8312 11.9344 13.9062 11.9156 13.9875C12.4406 13.55 12.8438 13.0296 13.125 12.4265C13.4063 11.8234 13.5469 11.1812 13.5469 10.5C13.5469 9.8687 13.4281 9.27026 13.1906 8.70464C12.9531 8.13901 12.6094 7.6312 12.1594 7.1812C11.9094 7.34995 11.6453 7.47495 11.3672 7.5562C11.0891 7.63745 10.8063 7.67808 10.5188 7.67808C9.75625 7.67808 9.09375 7.4187 8.53125 6.89995C7.96875 6.3812 7.64375 5.73745 7.55625 4.9687C7.05 5.3937 6.60313 5.83276 6.21563 6.28589C5.82813 6.73901 5.50469 7.19683 5.24531 7.65933C4.98594 8.12183 4.78906 8.59214 4.65469 9.07026C4.52031 9.54839 4.45313 10.025 4.45313 10.5ZM9 11.4093L7.90313 12.4875C7.75938 12.6312 7.64844 12.7937 7.57031 12.975C7.49219 13.1562 7.45313 13.3437 7.45313 13.5375C7.45313 13.95 7.60469 14.3046 7.90781 14.6015C8.21094 14.8984 8.575 15.0468 9 15.0468C9.425 15.0468 9.78906 14.8984 10.0922 14.6015C10.3953 14.3046 10.5469 13.95 10.5469 13.5375C10.5469 13.3312 10.5094 13.139 10.4344 12.9609C10.3594 12.7828 10.25 12.625 10.1063 12.4875L9 11.4093ZM8.95313 2.32495V4.72495C8.95313 5.16245 9.10469 5.52964 9.40781 5.82651C9.71094 6.12339 10.0813 6.27183 10.5188 6.27183C10.75 6.27183 10.9656 6.22339 11.1656 6.12651C11.3656 6.02964 11.5438 5.88433 11.7 5.69058L12.0094 5.3062C12.9156 5.83745 13.6328 6.56714 14.1609 7.49526C14.6891 8.42339 14.9531 9.42495 14.9531 10.5C14.9531 12.1562 14.375 13.5625 13.2188 14.7187C12.0625 15.875 10.6563 16.4531 9 16.4531C7.34375 16.4531 5.9375 15.875 4.78125 14.7187C3.625 13.5625 3.04688 12.1562 3.04688 10.5C3.04688 8.92495 3.57969 7.41401 4.64531 5.96714C5.71094 4.52026 7.14688 3.3062 8.95313 2.32495Z", fillRule: "nonzero", fill: color(fill) }) }));
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Icon, Path } from "./Icon";
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const FollowArtistFillIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (
|
|
6
|
+
return (_jsxs(Icon, { ...restProps, viewBox: "0 0 18 18", children: [_jsx(Path, { d: "M6.76875 9.0188C5.9625 9.0188 5.27656 8.73599 4.71094 8.17036C4.14531 7.60474 3.8625 6.9188 3.8625 6.11255C3.8625 5.3063 4.14531 4.62036 4.71094 4.05474C5.27656 3.48911 5.9625 3.2063 6.76875 3.2063C7.575 3.2063 8.26094 3.48911 8.82656 4.05474C9.39219 4.62036 9.675 5.3063 9.675 6.11255C9.675 6.9188 9.39219 7.60474 8.82656 8.17036C8.26094 8.73599 7.575 9.0188 6.76875 9.0188ZM0.9375 14.7563V12.7688C0.9375 12.3563 1.04219 11.9797 1.25156 11.6391C1.46094 11.2985 1.74387 11.0375 2.10037 10.8561C2.86262 10.4812 3.63281 10.1985 4.41094 10.0079C5.18906 9.81724 5.975 9.72193 6.76875 9.72193C7.5625 9.72193 8.34844 9.81724 9.12656 10.0079C9.90469 10.1985 10.6749 10.4812 11.4371 10.8561C11.7936 11.0375 12.0766 11.2985 12.2859 11.6391C12.4953 11.9797 12.6 12.3563 12.6 12.7688V14.7563H0.9375Z", fillRule: "nonzero", fill: color(fill) }), _jsx(Path, { d: "M11.0005 7.71235L12.5915 9.30334L13.6522 10.364L14.7128 9.30334L17.3647 6.65178L16.304 5.59112L13.6522 8.24268L12.0612 6.65169L11.0005 7.71235Z", fillRule: "nonzero", fill: color(fill) })] }));
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const FollowArtistIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M13.
|
|
6
|
+
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M13.4531 10.4438V8.2313H11.2406V6.82505H13.4531V4.61255H14.8594V6.82505H17.0719V8.2313H14.8594V10.4438H13.4531ZM6.76875 9.0188C5.9625 9.0188 5.27656 8.73599 4.71094 8.17036C4.14531 7.60474 3.8625 6.9188 3.8625 6.11255C3.8625 5.3063 4.14531 4.62036 4.71094 4.05474C5.27656 3.48911 5.9625 3.2063 6.76875 3.2063C7.575 3.2063 8.26094 3.48911 8.82656 4.05474C9.39219 4.62036 9.675 5.3063 9.675 6.11255C9.675 6.9188 9.39219 7.60474 8.82656 8.17036C8.26094 8.73599 7.575 9.0188 6.76875 9.0188ZM0.9375 14.7563V12.7688C0.9375 12.3563 1.04219 11.9797 1.25156 11.6391C1.46094 11.2985 1.74387 11.0375 2.10037 10.8561C2.86262 10.4812 3.63281 10.1985 4.41094 10.0079C5.18906 9.81724 5.975 9.72192 6.76875 9.72192C7.5625 9.72192 8.34844 9.81724 9.12656 10.0079C9.90469 10.1985 10.6749 10.4812 11.4371 10.8561C11.7936 11.0375 12.0766 11.2985 12.2859 11.6391C12.4953 11.9797 12.6 12.3563 12.6 12.7688V14.7563H0.9375ZM2.34375 13.3501H11.1937V12.7688C11.1937 12.6289 11.1594 12.5018 11.0906 12.3874C11.0219 12.2729 10.9281 12.1844 10.8094 12.1219C10.1406 11.7907 9.47081 11.5422 8.79994 11.3766C8.12894 11.211 7.45187 11.1282 6.76875 11.1282C6.08125 11.1282 5.40312 11.211 4.73437 11.3766C4.06562 11.5422 3.39687 11.7907 2.72812 12.1219C2.60937 12.1844 2.51562 12.2729 2.44687 12.3874C2.37812 12.5018 2.34375 12.6289 2.34375 12.7688V13.3501ZM6.76875 7.61255C7.18125 7.61255 7.53437 7.46567 7.82812 7.17192C8.12187 6.87817 8.26875 6.52505 8.26875 6.11255C8.26875 5.70005 8.12187 5.34692 7.82812 5.05317C7.53437 4.75942 7.18125 4.61255 6.76875 4.61255C6.35625 4.61255 6.00312 4.75942 5.70937 5.05317C5.41562 5.34692 5.26875 5.70005 5.26875 6.11255C5.26875 6.52505 5.41562 6.87817 5.70937 7.17192C6.00312 7.46567 6.35625 7.61255 6.76875 7.61255Z", fillRule: "nonzero", fill: color(fill) }) }));
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const NewFillHeartIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9.
|
|
6
|
+
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 15.5437L7.9875 14.6343C6.74663 13.5147 5.72081 12.5488 4.91006 11.7367C4.09919 10.9247 3.4545 10.1975 2.976 9.55495C2.49738 8.91245 2.163 8.32195 1.97288 7.78345C1.78263 7.24495 1.6875 6.6942 1.6875 6.1312C1.6875 4.99358 2.06875 4.04358 2.83125 3.2812C3.59363 2.5187 4.54363 2.13745 5.68125 2.13745C6.32238 2.13745 6.93263 2.27495 7.512 2.54995C8.0915 2.82495 8.5875 3.2187 9 3.7312C9.43125 3.2187 9.93125 2.82495 10.5 2.54995C11.0688 2.27495 11.675 2.13745 12.3188 2.13745C13.4564 2.13745 14.4064 2.5187 15.1688 3.2812C15.9313 4.04358 16.3125 4.99358 16.3125 6.1312C16.3125 6.6942 16.2174 7.24495 16.0271 7.78345C15.837 8.32195 15.5026 8.91245 15.024 9.55495C14.5455 10.1975 13.9008 10.9247 13.0899 11.7367C12.2792 12.5488 11.2534 13.5147 10.0125 14.6343L9 15.5437Z", fillRule: "nonzero", fill: color(fill) }) }));
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const NewHeartIcon = ({ fill, ...restProps }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9.
|
|
6
|
+
return (_jsx(Icon, { ...restProps, viewBox: "0 0 18 18", children: _jsx(Path, { d: "M9 15.5437L7.9875 14.6343C6.74663 13.5147 5.72081 12.5488 4.91006 11.7367C4.09919 10.9247 3.4545 10.1975 2.976 9.55495C2.49738 8.91245 2.163 8.32195 1.97288 7.78345C1.78263 7.24495 1.6875 6.6942 1.6875 6.1312C1.6875 4.99358 2.06875 4.04358 2.83125 3.2812C3.59363 2.5187 4.54363 2.13745 5.68125 2.13745C6.32238 2.13745 6.93263 2.27495 7.512 2.54995C8.0915 2.82495 8.5875 3.2187 9 3.7312C9.43125 3.2187 9.93125 2.82495 10.5 2.54995C11.0688 2.27495 11.675 2.13745 12.3188 2.13745C13.4564 2.13745 14.4064 2.5187 15.1688 3.2812C15.9313 4.04358 16.3125 4.99358 16.3125 6.1312C16.3125 6.6942 16.2174 7.24495 16.0271 7.78345C15.837 8.32195 15.5026 8.91245 15.024 9.55495C14.5455 10.1975 13.9008 10.9247 13.0899 11.7367C12.2792 12.5488 11.2534 13.5147 10.0125 14.6343L9 15.5437ZM9 13.65C10.175 12.5875 11.1438 11.6781 11.9063 10.9218C12.6688 10.1656 13.2719 9.5062 13.7156 8.9437C14.1594 8.3812 14.4688 7.88008 14.6438 7.44033C14.8188 7.00058 14.9063 6.56395 14.9063 6.13045C14.9063 5.3872 14.6603 4.77026 14.1683 4.27964C13.6763 3.78901 13.0613 3.5437 12.3234 3.5437C11.7453 3.5437 11.2078 3.70933 10.7109 4.04058C10.2141 4.37183 9.8625 4.80308 9.65625 5.33433H8.34375C8.1375 4.80308 7.78594 4.37183 7.28906 4.04058C6.79219 3.70933 6.25469 3.5437 5.67656 3.5437C4.93869 3.5437 4.32375 3.78901 3.83175 4.27964C3.33975 4.77026 3.09375 5.3872 3.09375 6.13045C3.09375 6.56395 3.18125 7.00058 3.35625 7.44033C3.53125 7.88008 3.84063 8.3812 4.28438 8.9437C4.72813 9.5062 5.33125 10.1656 6.09375 10.9218C6.85625 11.6781 7.825 12.5875 9 13.65Z", fillRule: "nonzero", fill: color(fill) }) }));
|
|
7
7
|
};
|
|
@@ -3,5 +3,5 @@ import { Icon, Path } from "./Icon";
|
|
|
3
3
|
import { useColor } from "../utils/hooks";
|
|
4
4
|
export const TrendingIcon = ({ fill, ...restprops }) => {
|
|
5
5
|
const color = useColor();
|
|
6
|
-
return (_jsx(Icon, { ...restprops, viewBox: "0 0
|
|
6
|
+
return (_jsx(Icon, { ...restprops, viewBox: "0 0 18 18", children: _jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M2.68125 13.3594L1.6875 12.375L7.07813 6.95625L10.0219 9.9L13.9313 6.04688H11.9625V4.64062H16.3125V8.99063H14.9063V7.02188L10.0313 11.9063L7.0875 8.9625L2.68125 13.3594Z", fill: color(fill) }) }));
|
|
7
7
|
};
|
package/package.json
CHANGED