@widergy/mobile-ui 1.27.1 → 1.28.1

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/components/MultipleFilePicker/components/Picker/index.js +66 -74
  3. package/lib/components/MultipleFilePicker/components/Picker/styles.js +26 -34
  4. package/lib/components/MultipleFilePicker/components/UploadedFiles/index.js +27 -129
  5. package/lib/components/MultipleFilePicker/components/UploadedFiles/styles.js +8 -57
  6. package/lib/components/MultipleFilePicker/constants.js +0 -14
  7. package/lib/components/MultipleFilePicker/index.js +196 -147
  8. package/lib/components/MultipleFilePicker/propTypes.js +15 -11
  9. package/lib/components/MultipleFilePicker/styles.js +9 -0
  10. package/lib/components/MultipleFilePicker/utils.js +22 -51
  11. package/lib/components/UTBaseInputField/index.js +4 -2
  12. package/lib/components/UTBaseInputField/theme.js +7 -4
  13. package/package.json +1 -1
  14. package/lib/components/MultipleFilePicker/components/Input/README.md +0 -77
  15. package/lib/components/MultipleFilePicker/components/Input/components/ShowPassword/constants.js +0 -2
  16. package/lib/components/MultipleFilePicker/components/Input/components/ShowPassword/index.js +0 -19
  17. package/lib/components/MultipleFilePicker/components/Input/components/ShowPassword/propTypes.js +0 -8
  18. package/lib/components/MultipleFilePicker/components/Input/components/ShowPassword/styles.js +0 -11
  19. package/lib/components/MultipleFilePicker/components/Input/components/Title/index.js +0 -78
  20. package/lib/components/MultipleFilePicker/components/Input/components/Title/propTypes.js +0 -14
  21. package/lib/components/MultipleFilePicker/components/Input/components/Title/styles.js +0 -42
  22. package/lib/components/MultipleFilePicker/components/Input/components/Underline/index.js +0 -80
  23. package/lib/components/MultipleFilePicker/components/Input/components/Underline/styles.js +0 -39
  24. package/lib/components/MultipleFilePicker/components/Input/constants.js +0 -2
  25. package/lib/components/MultipleFilePicker/components/Input/index.js +0 -299
  26. package/lib/components/MultipleFilePicker/components/Input/propTypes.js +0 -43
  27. package/lib/components/MultipleFilePicker/components/Input/styles.js +0 -47
@@ -1,43 +0,0 @@
1
- import { ViewPropTypes } from 'deprecated-react-native-prop-types';
2
- import { bool, func, instanceOf, number, oneOfType, shape, string } from 'prop-types';
3
-
4
- import captionPropTypes from '../../../CaptionLabel/propTypes';
5
- import iconPropTypes from '../../../Icon/propTypes';
6
- import iconButtonPropTypes from '../../../IconButton/propTypes';
7
- import { themeType } from '../../../../theming';
8
-
9
- export default {
10
- activeColor: string,
11
- autoCorrect: bool,
12
- backgroundColor: string,
13
- caption: string,
14
- captionProps: shape(captionPropTypes),
15
- containerStyle: ViewPropTypes.style,
16
- containerPadding: number,
17
- disabled: bool,
18
- editable: bool,
19
- disabledTextStyles: ViewPropTypes.style,
20
- titleActiveColor: string,
21
- error: oneOfType([bool, string]),
22
- errorColor: string,
23
- iconColor: string,
24
- iconSize: number,
25
- inactiveColor: string,
26
- inputRef: oneOfType([func, instanceOf(Object)]),
27
- leadingIcon: shape(iconPropTypes),
28
- multiline: bool,
29
- onBlur: func,
30
- onChange: func,
31
- onFocus: func,
32
- onSubmit: func,
33
- placeholder: string,
34
- secureTextEntry: bool,
35
- showEye: bool,
36
- textStyles: ViewPropTypes.style,
37
- title: string,
38
- theme: themeType,
39
- trailingIcon: shape(iconButtonPropTypes),
40
- underlineHeight: number,
41
- value: string,
42
- withValueColor: string
43
- };
@@ -1,47 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- import {
4
- portraitModerateHorizontalScale,
5
- portraitModerateVerticalScale
6
- } from '../../../../utils/portraitScalingUtils';
7
-
8
- export const INPUT_ICON_MARGIN = portraitModerateHorizontalScale(5);
9
-
10
- export default StyleSheet.create({
11
- root: {
12
- flex: 1
13
- },
14
- container: {
15
- flex: 1,
16
- alignItems: 'center',
17
- borderTopLeftRadius: 3,
18
- borderTopRightRadius: 3,
19
- flexDirection: 'row',
20
- paddingTop: portraitModerateVerticalScale(4)
21
- },
22
- innerContainer: {
23
- flex: 1,
24
- justifyContent: 'flex-start'
25
- },
26
- input: {
27
- flex: 1,
28
- padding: 0,
29
- textAlignVertical: 'top'
30
- },
31
- leadingIcon: {
32
- paddingBottom: INPUT_ICON_MARGIN
33
- },
34
- sizeText: { paddingHorizontal: 8, paddingVertical: 0 },
35
- trailingIcon: {
36
- marginBottom: 1 / INPUT_ICON_MARGIN,
37
- marginRight: 1 / INPUT_ICON_MARGIN
38
- },
39
- withTooltipContainer: {
40
- flexDirection: 'row'
41
- },
42
- tooltipContainer: {
43
- alignSelf: 'flex-end',
44
- justifyContent: 'center',
45
- paddingLeft: 10
46
- }
47
- });