From c210f87ff9d393aa8c31079614b0b1c27cb94dd8 Mon Sep 17 00:00:00 2001 From: feruz Date: Tue, 14 Jan 2020 13:42:20 +0200 Subject: [PATCH] update modal dropdown and modal popover --- package.json | 3 ++- .../popoverWrapper/popoverWrapperView.js | 2 +- src/components/upvote/view/upvoteView.js | 2 +- yarn.lock | 14 +++++++++++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 309a6fd27..7751e9fa7 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@babel/runtime": "^7.5.5", "@esteemapp/esteem-render-helpers": "^1.3.3", "@esteemapp/react-native-autocomplete-input": "^4.2.1", + "@esteemapp/react-native-modal-popover": "^0.0.14", "@esteemapp/react-native-multi-slider": "^1.1.0", "@esteemapp/react-native-render-html": "^4.1.5", "@esteemapp/react-native-slider": "^0.12.0", @@ -65,7 +66,7 @@ "react-native-image-zoom-viewer": "^2.2.27", "react-native-keyboard-aware-scroll-view": "^0.9.1", "react-native-linear-gradient": "^2.4.2", - "react-native-modal-dropdown": "^0.7.0", + "react-native-modal-dropdown": "esteemapp/react-native-modal-dropdown", "react-native-modal-popover": "^0.0.12", "react-native-navigation-bar-color": "^0.1.0", "react-native-reanimated": "^1.3.0", diff --git a/src/components/popoverWrapper/popoverWrapperView.js b/src/components/popoverWrapper/popoverWrapperView.js index 81a1b56fc..9a15579ad 100644 --- a/src/components/popoverWrapper/popoverWrapperView.js +++ b/src/components/popoverWrapper/popoverWrapperView.js @@ -1,6 +1,6 @@ import React, { Fragment } from 'react'; import { View, Text, TouchableOpacity } from 'react-native'; -import { Popover, PopoverController } from 'react-native-modal-popover'; +import { Popover, PopoverController } from '@esteemapp/react-native-modal-popover'; import styles from './popoverWrapperStyles'; diff --git a/src/components/upvote/view/upvoteView.js b/src/components/upvote/view/upvoteView.js index 22e362a52..7fe0f26fe 100644 --- a/src/components/upvote/view/upvoteView.js +++ b/src/components/upvote/view/upvoteView.js @@ -1,7 +1,7 @@ import React, { Component, Fragment } from 'react'; import { View, TouchableOpacity, Text, Alert } from 'react-native'; import { injectIntl } from 'react-intl'; -import { Popover, PopoverController } from 'react-native-modal-popover'; +import { Popover, PopoverController } from '@esteemapp/react-native-modal-popover'; import Slider from '@esteemapp/react-native-slider'; import get from 'lodash/get'; diff --git a/yarn.lock b/yarn.lock index 33dbdceb6..05121584f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1130,6 +1130,15 @@ resolved "https://registry.yarnpkg.com/@esteemapp/react-native-autocomplete-input/-/react-native-autocomplete-input-4.2.1.tgz#a883db553dcc152cf6ac5e6a39bc7e35682286ce" integrity sha512-lZFIRoAmFhON69BuoWDbXXBSmjLRM4GDyIbaVwcRPD4y9l9wVgYIpN7MdtgRj66XYhS1ffJZhhMhqlzRC5sFAQ== +"@esteemapp/react-native-modal-popover@^0.0.14": + version "0.0.14" + resolved "https://registry.yarnpkg.com/@esteemapp/react-native-modal-popover/-/react-native-modal-popover-0.0.14.tgz#b250b938e0b1926103a46d77c4db1a0b4760edf9" + integrity sha512-BrFaIksrDy1wbZ69amPR49kdkbT1+EXQhgfjkf9m5brhpGzWwcVJR4+dXUDSU0jQVu2PTIwmvfDD6Ln6zcGSRQ== + dependencies: + "@types/prop-types" "^15.5.5" + lodash.debounce "^4.0.8" + prop-types "^15.6.2" + "@esteemapp/react-native-multi-slider@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@esteemapp/react-native-multi-slider/-/react-native-multi-slider-1.1.0.tgz#16ac1df8518147daa4977cec2503caba1fbd96b5" @@ -7651,10 +7660,9 @@ react-native-linear-gradient@^2.4.2: resolved "https://registry.yarnpkg.com/react-native-linear-gradient/-/react-native-linear-gradient-2.5.6.tgz#96215cbc5ec7a01247a20890888aa75b834d44a0" integrity sha512-HDwEaXcQIuXXCV70O+bK1rizFong3wj+5Q/jSyifKFLg0VWF95xh8XQgfzXwtq0NggL9vNjPKXa016KuFu+VFg== -react-native-modal-dropdown@^0.7.0: +react-native-modal-dropdown@esteemapp/react-native-modal-dropdown: version "0.7.0" - resolved "https://registry.yarnpkg.com/react-native-modal-dropdown/-/react-native-modal-dropdown-0.7.0.tgz#d030c4159ff026bedd5c20aa59b146495b860814" - integrity sha512-h2UrozBByQhL56XDboj/wjc/5Ny787eLQ++4ql7TecBdbLqbf+tlE62VeXKz30XVMN3iUVYUR/XmM/RIwLIXEg== + resolved "https://codeload.github.com/esteemapp/react-native-modal-dropdown/tar.gz/0269a57c8c248f91a3c599ea20ac106f43f27d1b" dependencies: deprecated-react-native-listview "0.0.5" prop-types "^15.6.0"