@artsy/palette-mobile 23.2.0 → 23.3.0
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/README.md +10 -22
- package/dist/elements/Screen/Header.js +2 -2
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -75,42 +75,30 @@ or
|
|
|
75
75
|
yarn android
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
-
##
|
|
78
|
+
## Deploying to TestFlight and Play Store
|
|
79
79
|
|
|
80
|
-
###
|
|
80
|
+
### Local Builds
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
Build and submit both iOS and Android locally:
|
|
83
83
|
|
|
84
84
|
```sh
|
|
85
|
+
brew install eas-cli # First time only
|
|
85
86
|
brew install gh # First time only
|
|
86
87
|
brew install fastlane # First time only
|
|
87
|
-
cd Example
|
|
88
|
-
yarn beta:ios
|
|
89
88
|
```
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
**Cloud Build via GitHub Actions:**
|
|
94
|
-
|
|
95
|
-
```sh
|
|
96
|
-
cd Example
|
|
97
|
-
yarn beta:ios:ci
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Or trigger manually from [GitHub Actions](https://github.com/artsy/palette-mobile/actions/workflows/build-ios.yml)
|
|
101
|
-
|
|
102
|
-
The build will run a GitHub Workflow and will create a "Submission Version Build iOS App Store submission" entry on https://expo.dev/accounts/artsy_org/projects/palettemobile
|
|
103
|
-
|
|
104
|
-
### Publishing Over-the-Air Updates
|
|
90
|
+
### Trigger Cloud Builds via GitHub Actions
|
|
105
91
|
|
|
106
|
-
|
|
92
|
+
Make sure to push all necessary changes first.
|
|
107
93
|
|
|
108
94
|
```sh
|
|
109
95
|
cd Example
|
|
110
|
-
yarn
|
|
96
|
+
yarn deploy-beta
|
|
111
97
|
```
|
|
112
98
|
|
|
113
|
-
|
|
99
|
+
This force-pushes your current branch to `beta-ios` and `beta-android`, which
|
|
100
|
+
triggers the iOS and Android beta workflows on GitHub Actions.
|
|
101
|
+
(https://github.com/artsy/palette-mobile/actions).
|
|
114
102
|
|
|
115
103
|
## Developing Features using Local Versions of Palette
|
|
116
104
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronLeftIcon } from "@artsy/icons/native";
|
|
3
|
-
import Animated, {
|
|
3
|
+
import Animated, { useAnimatedStyle } from "react-native-reanimated";
|
|
4
4
|
import { NAVBAR_HEIGHT, ZINDEX } from "./constants";
|
|
5
5
|
import { useTitleStyles } from "./hooks/useTitleStyles";
|
|
6
6
|
import { DEFAULT_HIT_SLOP, DEFAULT_ICON_SIZE } from "../../constants";
|
|
@@ -37,7 +37,7 @@ const Center = ({ animated, hideTitle, title }) => {
|
|
|
37
37
|
if (!animated) {
|
|
38
38
|
return titleTextElement;
|
|
39
39
|
}
|
|
40
|
-
return
|
|
40
|
+
return _jsx(Animated.View, { style: style, children: titleTextElement });
|
|
41
41
|
};
|
|
42
42
|
const Left = ({ hideLeftElements, leftElements, onBack }) => {
|
|
43
43
|
if (hideLeftElements)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@artsy/palette-mobile",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.0",
|
|
4
4
|
"description": "Artsy's design system for React Native",
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"Example"
|
|
@@ -34,8 +34,7 @@
|
|
|
34
34
|
"start": "yarn workspace palette-mobile-example start",
|
|
35
35
|
"storybook-watcher": "yarn workspace palette-mobile-example storybook-watcher",
|
|
36
36
|
"test": "jest --maxWorkers=2",
|
|
37
|
-
"type-check": "tsc --noEmit"
|
|
38
|
-
"version": "node ./scripts/sync-example-version.js"
|
|
37
|
+
"type-check": "tsc --noEmit"
|
|
39
38
|
},
|
|
40
39
|
"dependenciesComments": [
|
|
41
40
|
"ONLY ADD DEPS THAT ARE OK TO SHIP WITH THIS LIBRARY.",
|