@widergy/mobile-ui 0.35.4 → 0.35.6
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 +14 -0
- package/lib/components/AvatarImage/proptypes.js +1 -1
- package/lib/components/Button/propTypes.js +1 -1
- package/lib/components/CaptionLabel/propTypes.js +1 -1
- package/lib/components/Carousel/components/CarouselItem/index.js +2 -1
- package/lib/components/Carousel/propTypes.js +2 -1
- package/lib/components/CheckList/components/CheckBoxRenderer/index.js +1 -1
- package/lib/components/CheckList/proptypes.js +1 -1
- package/lib/components/Checkbox/propTypes.js +1 -1
- package/lib/components/Dropdown/propTypes.js +1 -1
- package/lib/components/Icon/propTypes.js +1 -1
- package/lib/components/IconBadge/propTypes.js +1 -1
- package/lib/components/IconButton/propTypes.js +1 -1
- package/lib/components/ImageButton/propTypes.js +1 -1
- package/lib/components/ImageLabel/propTypes.js +1 -1
- package/lib/components/ImageRadio/index.js +2 -1
- package/lib/components/Input/propTypes.js +1 -1
- package/lib/components/Loading/index.js +2 -1
- package/lib/components/Picker/index.js +2 -1
- package/lib/components/RadioGroup/components/RadioButton/index.js +2 -1
- package/lib/components/RadioGroup/index.js +2 -1
- package/lib/components/SeparatorBar/propTypes.js +1 -1
- package/lib/components/Snackbar/index.js +2 -1
- package/lib/components/Surface/propTypes.js +1 -1
- package/lib/components/Touchable/propTypes.js +1 -1
- package/lib/components/TransitionText/propTypes.js +1 -1
- package/lib/components/UTDetailDrawer/propTypes.js +1 -1
- package/lib/components/UTImage/propTypes.js +1 -1
- package/lib/components/UTLoading/index.js +1 -1
- package/lib/components/UTMenu/components/MenuOption/index.js +2 -1
- package/lib/components/UTModal/proptypes.js +1 -1
- package/lib/components/UTOnBoarding/components/CardContent/propTypes.js +2 -1
- package/lib/components/UTOnBoarding/propTypes.js +1 -1
- package/lib/components/UTPasswordField/components/PasswordValidations/index.js +2 -1
- package/lib/components/UTPasswordField/proptypes.js +1 -1
- package/lib/components/UTProgressBar/index.js +2 -1
- package/lib/components/UTRoundView/propTypes.js +1 -1
- package/lib/components/UTStepFeedback/components/CircleNumber/index.js +2 -1
- package/lib/components/UTSwitch/proptypes.js +1 -1
- package/lib/components/UTTextInput/components/BaseInput/index.js +2 -1
- package/lib/components/UTTextInput/flavors/OutlinedInput/index.js +1 -1
- package/lib/components/UTWorkflowContainer/components/BottomStepHandler/index.js +2 -1
- package/lib/components/UTWorkflowContainer/components/Header/index.js +2 -1
- package/lib/components/UTWorkflowContainer/components/StepsHandler/components/ActionButton/types.js +2 -1
- package/lib/components/UTWorkflowContainer/components/StepsHandler/index.js +2 -1
- package/lib/components/UTWorkflowContainer/index.js +2 -1
- package/lib/components/WithLoading/index.js +2 -1
- package/lib/theming/DefaultTheme.js +2 -2
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [0.35.6](https://github.com/widergy/mobile-ui/compare/v0.35.5...v0.35.6) (2022-10-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* tooltip text ([#229](https://github.com/widergy/mobile-ui/issues/229)) ([b20d8e1](https://github.com/widergy/mobile-ui/commit/b20d8e11ca52e7b762587c7dc06182bcbb0dd2a3))
|
|
7
|
+
|
|
8
|
+
## [0.35.5](https://github.com/widergy/mobile-ui/compare/v0.35.4...v0.35.5) (2022-10-27)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* viewproptypes library import change ([#227](https://github.com/widergy/mobile-ui/issues/227)) ([7976f2a](https://github.com/widergy/mobile-ui/commit/7976f2a1e37cbe75f82b256c4da8fb60d38de548))
|
|
14
|
+
|
|
1
15
|
## [0.35.4](https://github.com/widergy/mobile-ui/compare/v0.35.3...v0.35.4) (2022-10-25)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { bool } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import styles, { getCarouselItemForcedStyle } from '../../styles';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ScrollView
|
|
1
|
+
import { ScrollView } from 'react-native';
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
2
3
|
import { arrayOf, bool, func, instanceOf, node, number, oneOfType, string } from 'prop-types';
|
|
3
4
|
|
|
4
5
|
export const carouselForcedProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
|
-
import { ViewPropTypes } from 'react-native';
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
3
|
import { bool, string, func, number, shape, any } from 'prop-types';
|
|
4
4
|
|
|
5
5
|
import Checkbox from '../../../Checkbox/index';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { string, arrayOf, shape, func, number, any } from 'prop-types';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import { ViewPropTypes
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { Animated, Easing, View } from 'react-native';
|
|
3
4
|
import { string, number } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import Label from '../Label';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Fragment } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { string, bool, oneOfType, shape, func } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import Label from '../Label';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component, Fragment } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import SeparatorBar from '../../../SeparatorBar';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import Label from '../Label';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { SafeAreaView, Animated } from 'react-native';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import { withTheme, themeType } from '../../theming';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { any, shape, bool, func, string } from 'prop-types';
|
|
2
2
|
import React, { memo } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
4
|
+
import { TouchableOpacity, Text } from 'react-native';
|
|
4
5
|
|
|
5
6
|
import styles from './styles';
|
|
6
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { string, func, shape, number, bool, element } from 'prop-types';
|
|
2
|
-
import { ViewPropTypes } from 'react-native';
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
3
|
|
|
4
4
|
import { themeType } from '../../theming';
|
|
5
5
|
import { IS_ANDROID } from '../../utils/platformUtils/constants';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { func, shape, string, number, instanceOf, oneOfType } from 'prop-types';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { Animated } from 'react-native';
|
|
3
4
|
|
|
4
5
|
import buttonPropTypes from '../../../Button/propTypes';
|
|
5
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { func, string, shape, number, arrayOf, bool } from 'prop-types';
|
|
2
|
-
import { ViewPropTypes } from 'react-native';
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
3
|
|
|
4
4
|
import cardContentPropTypes, { pagePropTypes } from './components/CardContent/propTypes';
|
|
5
5
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { arrayOf, shape, string, bool } from 'prop-types';
|
|
3
|
-
import {
|
|
3
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
4
|
+
import { View } from 'react-native';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
|
|
6
7
|
import { useTheme } from '../../../../theming';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { any, arrayOf, bool, element, func, oneOfType, shape, string } from 'prop-types';
|
|
2
|
-
import { ViewPropTypes } from 'react-native';
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
passwordValidations: arrayOf(shape({ expression: string, requirement: string, error: string })),
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useRef, useEffect, useCallback } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View, Animated, Easing } from 'react-native';
|
|
3
4
|
import { number, shape, bool } from 'prop-types';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
// eslint-disable-next-line import/no-unresolved
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { bool, number, shape } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import Icon from '../../../Icon';
|
|
@@ -8,7 +8,8 @@ import React, {
|
|
|
8
8
|
useEffect,
|
|
9
9
|
useMemo
|
|
10
10
|
} from 'react';
|
|
11
|
-
import {
|
|
11
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
12
|
+
import { TextInput } from 'react-native';
|
|
12
13
|
import _ from 'lodash';
|
|
13
14
|
|
|
14
15
|
import { withTheme } from '../../../../theming';
|
|
@@ -136,7 +136,7 @@ const OutlinedInput = ({
|
|
|
136
136
|
</View>
|
|
137
137
|
{!!tooltip && (
|
|
138
138
|
<View style={[ownStyles.tooltipContainer, multiline && { height: initialHeight }]}>
|
|
139
|
-
<UTTooltip content={<Label>tooltip</Label>} position="left" {...tooltipProps}>
|
|
139
|
+
<UTTooltip content={<Label>{tooltip}</Label>} position="left" {...tooltipProps}>
|
|
140
140
|
<Icon
|
|
141
141
|
name="questioncircleo"
|
|
142
142
|
type="antdesign"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { number, bool, shape, oneOf, func, string, any } from 'prop-types';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { number, bool, shape, oneOf, func, string } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import UTProgressBar from '../../../UTProgressBar';
|
package/lib/components/UTWorkflowContainer/components/StepsHandler/components/ActionButton/types.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { string, bool, func, number, shape } from 'prop-types';
|
|
2
|
-
import { ViewPropTypes
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { Text } from 'react-native';
|
|
3
4
|
|
|
4
5
|
import TouchablePropTypes from '../../../../../Touchable/propTypes';
|
|
5
6
|
import { themeType } from '../../../../../../theming';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { number, bool, shape, oneOf, func, string, any, elementType } from 'prop-types';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useEffect } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { number, func, shape, bool, string, oneOf } from 'prop-types';
|
|
4
5
|
import _ from 'lodash';
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ViewPropTypes } from 'deprecated-react-native-prop-types';
|
|
3
|
+
import { View } from 'react-native';
|
|
3
4
|
import { number, string } from 'prop-types';
|
|
4
5
|
|
|
5
6
|
import Loading from '../Loading';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@widergy/mobile-ui",
|
|
3
3
|
"description": "Widergy Mobile Components",
|
|
4
4
|
"author": "widergy",
|
|
5
|
-
"version": "0.35.
|
|
5
|
+
"version": "0.35.6",
|
|
6
6
|
"repository": "https://github.com/widergy/mobile-ui.git",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"files": [
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@widergy/web-utils": "^1.22.0",
|
|
36
|
+
"deprecated-react-native-prop-types": "^2.3.0",
|
|
36
37
|
"lodash": "^4.17.15",
|
|
37
38
|
"pdf-lib": "^1.14.1",
|
|
38
39
|
"react-native-markdown-display": ">=6.1.6",
|