Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix branch v2.5 issues #304

Open
wants to merge 2 commits into
base: v2.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
"postinstall": "jetify"
},
"dependencies": {
"@eva-design/eva": "^1.4.0",
"@eva-design/material": "^1.4.0",
"@eva-design/eva": "^2.0.0",
"@eva-design/material": "^2.0.0",
"@react-native-community/masked-view": "^0.1.5",
"@react-navigation/bottom-tabs": "^5.0.0",
"@react-navigation/drawer": "^5.0.0",
"@react-navigation/material-top-tabs": "^5.0.0",
"@react-navigation/native": "^5.0.0",
"@react-navigation/stack": "^5.0.0",
"@ui-kitten/components": "^4.4.0",
"@ui-kitten/date-fns": "^4.4.0",
"@ui-kitten/eva-icons": "^4.4.0",
"@ui-kitten/moment": "^4.4.0",
"@ui-kitten/components": "^5.0.0",
"@ui-kitten/date-fns": "^5.0.0",
"@ui-kitten/eva-icons": "^5.0.0",
"@ui-kitten/moment": "^5.0.0",
"awesome-debounce-promise": "^2.1.0",
"date-fns": "^1.30.1",
"expo": "^36.0.2",
Expand Down
3 changes: 2 additions & 1 deletion src/app/app.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { AppearanceProvider } from 'react-native-appearance';
import * as eva from '@eva-design/eva';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { ApplicationProvider, IconRegistry } from '@ui-kitten/components';
import { EvaIconsPack } from '@ui-kitten/eva-icons';
Expand Down Expand Up @@ -41,7 +42,7 @@ const App = ({ mapping, theme }): React.ReactElement => {
<React.Fragment>
<IconRegistry icons={[EvaIconsPack, AppIconsPack]}/>
<AppearanceProvider>
<ApplicationProvider {...currentMapping} theme={currentTheme}>
<ApplicationProvider {...eva} {...currentMapping} theme={currentTheme}>
<Theming.MappingContext.Provider value={mappingContext}>
<Theming.ThemeContext.Provider value={themeContext}>
<SafeAreaProvider>
Expand Down
3 changes: 2 additions & 1 deletion src/components/safe-area-layout.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface SafeAreaLayoutProps extends ViewProps, StyledComponentProps {
children?: React.ReactNode;
}

@styled('SafeAreaLayout')
export class SafeAreaLayoutComponent extends React.Component<SafeAreaLayoutProps> {

static styledComponentName: string = 'SafeAreaLayout';
Expand Down Expand Up @@ -59,5 +60,5 @@ export class SafeAreaLayoutComponent extends React.Component<SafeAreaLayoutProps
};
}

export const SafeAreaLayout = styled(SafeAreaLayoutComponent);
export const SafeAreaLayout = SafeAreaLayoutComponent;

3 changes: 2 additions & 1 deletion src/components/status-bar.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { styled, StyledComponentProps } from '@ui-kitten/components';

export type StatusBarProps = RNStatusBarProps & StyledComponentProps;

@styled('StatusBar')
class StatusBarComponent extends React.Component<StatusBarProps> {

static styledComponentName: string = 'StatusBar';
Expand All @@ -24,4 +25,4 @@ class StatusBarComponent extends React.Component<StatusBarProps> {
}
}

export const StatusBar = styled(StatusBarComponent);
export const StatusBar = StatusBarComponent;
78 changes: 39 additions & 39 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -902,25 +902,25 @@
dependencies:
"@types/hammerjs" "^2.0.36"

"@eva-design/dss@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@eva-design/dss/-/dss-1.4.0.tgz#81aa9b2bd884da4361715ee9d79dda455e728cdd"
integrity sha512-T0qIZrTNjXiLIFA1Rwzqledw94pWoxQKIunYw+zmSG/vMDHYn6VDEnaZSdsoNBa7HflDgzADB1Sw2qimb9VgZQ==
"@eva-design/dss@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@eva-design/dss/-/dss-2.0.0.tgz#d0038b43dfa3bcb925bc3ab4433e55d10bd92ea1"
integrity sha512-jHMSLG9w/uhu92Oi8pViwYL5kbUxDolTpAoS28DSl9SAgGSLpdlyX1vtDKC7+nx1Ay5J5OWhNIcsMML3IGSbZg==

"@eva-design/eva@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@eva-design/eva/-/eva-1.4.0.tgz#2a9f5a19c5a26ed73f6efa98da812abc507e1f6c"
integrity sha512-bG+L6oLo0t913ViC1RbJulMGPCCdf1fIMghTLTPA90u/eAZEt1iyfZyY7tmbmn8hZUx5bENgYkwtQP2u/Hk4NA==
"@eva-design/eva@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@eva-design/eva/-/eva-2.0.0.tgz#6a6265322f66441a8765307f5197fd8117506d1e"
integrity sha512-6cf3PPAZOHGl59Wx8QmPW/BZgGxOSjiLZctErBlFezsAdMNtoduUfoAE/SRaPFt25bTTpbPFL8o2FrxrQvvFeA==

"@eva-design/material@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@eva-design/material/-/material-1.4.0.tgz#2fe7c5ccf9bc59f470147c0fe781b5d99dbb1b84"
integrity sha512-j7h26cEYKackJHvWcjmrrDXKg86u59HboDJaxtGonYjV/zVa4PYozslVJQLT0A0fQiVA7l4Vq5t7kLLGZsABkQ==
"@eva-design/material@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@eva-design/material/-/material-2.0.0.tgz#b24402ad140fa5b0d707811875b66542bf5ef1a1"
integrity sha512-Pm/FQ6qiJlbP6a7e1vc0wt9FA2VIA87uzWNyJQTeGhagd3rsvNuh4sCn0dl3aupeZ278cQ7nbh14KNjQoaZ2Gw==

"@eva-design/processor@^1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@eva-design/processor/-/processor-1.4.0.tgz#388154c96645f86cb36a00a363707db2ff0c963a"
integrity sha512-QEiP6i2UORPNUZQHPvrCqyy2NQcLc9gvkeiuEckfiruwi++S89/HlJKcLvraiVD8RzZ7r8b7QcAIZdvyScNW7w==
"@eva-design/processor@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@eva-design/processor/-/processor-2.0.0.tgz#b291fd94e11fd342fb06af6c333b2be99f4696a9"
integrity sha512-k+WUjj877u9SoRbSuQ4DO15AF5FkIqIhGzraBNQKDki8J8Xq/4VpOv1YiKEkRF6XjbZU89GKq+e/ipL+VZxI3Q==

"@expo/[email protected]":
version "0.1.3"
Expand Down Expand Up @@ -2242,33 +2242,33 @@
dependencies:
"@types/yargs-parser" "*"

"@ui-kitten/components@^4.4.0":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@ui-kitten/components/-/components-4.4.1.tgz#e460f5ab56761e0a8f96186c82241f68762a5f96"
integrity sha512-//pbCqa36IX5DUEMoUlwd1IkxMe2s/lxLv3o9tLypmdZl0LZ2Ca2srd2q758TaivAS8l9c14+RZjHv+EPjZHyw==
"@ui-kitten/components@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ui-kitten/components/-/components-5.0.0.tgz#6a41719220f1c98afc3721abc19659f7e3a129ed"
integrity sha512-XYcXYju7yPDGvg7TAxfTSlxWbxGL/p2R1Y9rSroIpylnSlow7KGlfq0R1MOxeKCf3tZDxSNvuVzaSlFgvJK7fQ==
dependencies:
"@eva-design/dss" "^1.4.0"
"@eva-design/processor" "^1.4.0"
"@eva-design/dss" "^2.0.0"
"@eva-design/processor" "^2.0.0"
fecha "3.0.3"
hoist-non-react-statics "^3.2.1"
lodash.merge "^4.6.1"

"@ui-kitten/date-fns@^4.4.0":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@ui-kitten/date-fns/-/date-fns-4.4.1.tgz#a2525bd429c7e34c17f420298d5df350b61c2f79"
integrity sha512-BcJ38SdNS0u4Tek/99c6C6l+5ZC/vB0yVBkHLa96g59Kw4zWqu32PsD/na/qEukTFzvNYPuPbOxXJK+CyQqdAQ==
"@ui-kitten/date-fns@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ui-kitten/date-fns/-/date-fns-5.0.0.tgz#b8e74ce84dbbe34d0e831e5231c88d114ee7d408"
integrity sha512-kauhX2f3E192pqTmdclAXRjhkgZ/9HYi5tjY1Fum6V8KqwfP14W7prhNpS5PKP3bCAZk1SHaLRde6v8qLKRQFg==

"@ui-kitten/eva-icons@^4.4.0":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@ui-kitten/eva-icons/-/eva-icons-4.4.1.tgz#a71b9415889510321d4c422174107af98b8becf9"
integrity sha512-G730KOgSuUuTTuxuTg6ChcUJZxQ0zX2XKlonAgDwtJiBTDj+zrofr2IJ0ZURHkHgasJwZ1o8S+RxZ+5wH7LGKw==
"@ui-kitten/eva-icons@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ui-kitten/eva-icons/-/eva-icons-5.0.0.tgz#b8ab2fea3dafcb9f914534ef66a5dfd1badfeb1d"
integrity sha512-Iae3FtnNQKC0PnRnFDUpaCFhvUFaN+NkRxag6LstEjNqAMcVnsQbPTqPQFx18j920Z5S7f5/oZqaJ8NxZtPaNA==
dependencies:
react-native-eva-icons "1.1.0"
react-native-eva-icons "^1.3.1"

"@ui-kitten/moment@^4.4.0":
version "4.4.1"
resolved "https://registry.yarnpkg.com/@ui-kitten/moment/-/moment-4.4.1.tgz#1ed92c7ca79647193e7bdc85d92ec554a0d93bb8"
integrity sha512-sNrP0WM8ClIKmVwQIfcyzb8B0zekKMs4gSM/1yBVkT+fphPENzM/d2dEhVSZy0XIGE7UD/Ca/TEVhcQ2l0UMzw==
"@ui-kitten/moment@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@ui-kitten/moment/-/moment-5.0.0.tgz#b4dd043c649321b7b1316aa0c82e588d82a5b9eb"
integrity sha512-yM9nozxtD8bup5FXp5/CiA4ioDry8xlNX3WCved8GTrAeXiDkNuPomrmO8LC+3xYvJ+5gpNmXUkr7qKHiMkzEA==

"@unimodules/core@~5.0.0":
version "5.0.0"
Expand Down Expand Up @@ -11002,10 +11002,10 @@ react-native-device-info@^5.5.1:
resolved "https://registry.yarnpkg.com/react-native-device-info/-/react-native-device-info-5.5.3.tgz#6652fb46c4602a1dd3a5d6a18d2266ecdf97fec7"
integrity sha512-bzUVTPHca+FfNco1qaOM1+idoeII8zdpGRsR+RK+DWhwp9utHZWfbkonZZ9XFm/U+i3mirNxt6oaKV+vUMjMzg==

react-native-eva-icons@1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/react-native-eva-icons/-/react-native-eva-icons-1.1.0.tgz#323e55d759187edc216d049e7c0012a27383e0ed"
integrity sha512-0k6sbiKoHxmmbCgAZTHj6llcdcwtbyZJ1E2AK0my7QU0WRaWwqWMep5AUlMbrIiuYE9mkMZiabEXYcfn3ir2PA==
react-native-eva-icons@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/react-native-eva-icons/-/react-native-eva-icons-1.3.1.tgz#1e6e019b0fd3cb1669db50bd6bbdaa6d89327593"
integrity sha512-emd/aYXuOacuDVTx0SJoLi+xsOdCNdljQB3PTNCM9AQ3m/smG0X1TN0+ihelPO7MqoHzaH0h6lbANtwxGUy8Fw==

react-native-gesture-handler@~1.5.0:
version "1.5.6"
Expand Down