secullum-react-native-ui 4.16.2-beta.7 → 4.16.2-beta.8
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/package.json +1 -1
- package/lib/components/AppShell.d.ts +0 -52
- package/lib/components/AppShell.js +0 -82
- package/lib/components/Button.d.ts +0 -49
- package/lib/components/Button.js +0 -70
- package/lib/components/Card.d.ts +0 -66
- package/lib/components/Card.js +0 -131
- package/lib/components/CheckBox.d.ts +0 -36
- package/lib/components/CheckBox.js +0 -50
- package/lib/components/DatePicker.d.ts +0 -67
- package/lib/components/DatePicker.js +0 -106
- package/lib/components/DatePicker.web.d.ts +0 -64
- package/lib/components/DatePicker.web.js +0 -106
- package/lib/components/Delay.d.ts +0 -12
- package/lib/components/Delay.js +0 -22
- package/lib/components/Details.d.ts +0 -67
- package/lib/components/Details.js +0 -96
- package/lib/components/DetailsHeader.d.ts +0 -41
- package/lib/components/DetailsHeader.js +0 -65
- package/lib/components/DimensionsMonitor.d.ts +0 -21
- package/lib/components/DimensionsMonitor.js +0 -37
- package/lib/components/DropDown.d.ts +0 -52
- package/lib/components/DropDown.js +0 -351
- package/lib/components/ErrorMessage.d.ts +0 -16
- package/lib/components/ErrorMessage.js +0 -31
- package/lib/components/FilePicker.d.ts +0 -29
- package/lib/components/FilePicker.js +0 -46
- package/lib/components/Header.d.ts +0 -58
- package/lib/components/Header.js +0 -94
- package/lib/components/HeaderDesktop.d.ts +0 -59
- package/lib/components/HeaderDesktop.js +0 -83
- package/lib/components/ImageButton.d.ts +0 -14
- package/lib/components/ImageButton.js +0 -34
- package/lib/components/KeyboardAvoidingView.d.ts +0 -34
- package/lib/components/KeyboardAvoidingView.js +0 -106
- package/lib/components/Link.d.ts +0 -18
- package/lib/components/Link.js +0 -30
- package/lib/components/Loading.d.ts +0 -13
- package/lib/components/Loading.js +0 -45
- package/lib/components/Menu.d.ts +0 -42
- package/lib/components/Menu.js +0 -114
- package/lib/components/MenuDesktop.d.ts +0 -24
- package/lib/components/MenuDesktop.js +0 -39
- package/lib/components/MenuMobile.d.ts +0 -49
- package/lib/components/MenuMobile.js +0 -94
- package/lib/components/Message.d.ts +0 -37
- package/lib/components/Message.js +0 -52
- package/lib/components/Modal.d.ts +0 -18
- package/lib/components/Modal.js +0 -35
- package/lib/components/MultiSelect.d.ts +0 -51
- package/lib/components/MultiSelect.js +0 -377
- package/lib/components/NoRecordMessage.d.ts +0 -23
- package/lib/components/NoRecordMessage.js +0 -36
- package/lib/components/Question.d.ts +0 -57
- package/lib/components/Question.js +0 -79
- package/lib/components/RadioButton.d.ts +0 -43
- package/lib/components/RadioButton.js +0 -55
- package/lib/components/RadioGroup.d.ts +0 -45
- package/lib/components/RadioGroup.js +0 -71
- package/lib/components/RangeDatePicker.d.ts +0 -57
- package/lib/components/RangeDatePicker.js +0 -127
- package/lib/components/RangeDatePicker.web.d.ts +0 -61
- package/lib/components/RangeDatePicker.web.js +0 -120
- package/lib/components/Space.d.ts +0 -11
- package/lib/components/Space.js +0 -15
- package/lib/components/StatusBar.d.ts +0 -18
- package/lib/components/StatusBar.js +0 -33
- package/lib/components/Switch.d.ts +0 -34
- package/lib/components/Switch.js +0 -50
- package/lib/components/Table.d.ts +0 -30
- package/lib/components/Table.js +0 -79
- package/lib/components/Table.web.d.ts +0 -18
- package/lib/components/Table.web.js +0 -111
- package/lib/components/Text.d.ts +0 -29
- package/lib/components/Text.js +0 -38
- package/lib/components/TextBox.d.ts +0 -84
- package/lib/components/TextBox.js +0 -126
- package/lib/components/TextBoxMask.d.ts +0 -12
- package/lib/components/TextBoxMask.js +0 -34
- package/lib/components/TimePicker.d.ts +0 -63
- package/lib/components/TimePicker.js +0 -112
- package/lib/components/TimePicker.web.d.ts +0 -48
- package/lib/components/TimePicker.web.js +0 -88
- package/lib/index.d.ts +0 -40
- package/lib/index.js +0 -56
- package/lib/modules/browser.d.ts +0 -2
- package/lib/modules/browser.js +0 -51
- package/lib/modules/format.d.ts +0 -6
- package/lib/modules/format.js +0 -127
- package/lib/modules/layout.d.ts +0 -1
- package/lib/modules/layout.js +0 -12
- package/lib/modules/test.d.ts +0 -2
- package/lib/modules/test.js +0 -18
- package/lib/modules/theme.d.ts +0 -41
- package/lib/modules/theme.js +0 -52
- package/lib/modules/validation.d.ts +0 -3
- package/lib/modules/validation.js +0 -16
package/lib/modules/theme.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getTheme = exports.setTheme = exports.RED = exports.GREEN_LIGHT = exports.GREEN = exports.YELLOW = exports.BLUE_LIGHT_2 = exports.BLUE_LIGHT = exports.BLUE = exports.GRAY_4 = exports.GRAY_3 = exports.GRAY_2 = exports.GRAY_1 = exports.GRAY = exports.WHITE = exports.BLACK = void 0;
|
|
4
|
-
const browser_1 = require("./browser");
|
|
5
|
-
exports.BLACK = '#282c37';
|
|
6
|
-
exports.WHITE = '#ffffff';
|
|
7
|
-
exports.GRAY = '#555';
|
|
8
|
-
exports.GRAY_1 = '#eef1f6';
|
|
9
|
-
exports.GRAY_2 = '#dddddd';
|
|
10
|
-
exports.GRAY_3 = '#c2c2c2';
|
|
11
|
-
exports.GRAY_4 = '#aabec6';
|
|
12
|
-
exports.BLUE = '#0047a9';
|
|
13
|
-
exports.BLUE_LIGHT = '#0c65c7';
|
|
14
|
-
exports.BLUE_LIGHT_2 = '#59cbe8';
|
|
15
|
-
exports.YELLOW = '#f5a623';
|
|
16
|
-
exports.GREEN = '#34bf6d';
|
|
17
|
-
exports.GREEN_LIGHT = '#2ec562';
|
|
18
|
-
exports.RED = '#d62729';
|
|
19
|
-
let theme = {
|
|
20
|
-
textColor1: exports.BLACK,
|
|
21
|
-
textColor2: exports.BLUE_LIGHT,
|
|
22
|
-
textColor3: exports.GRAY,
|
|
23
|
-
textColor4: exports.WHITE,
|
|
24
|
-
messageTextColor: exports.BLACK,
|
|
25
|
-
counterTextColor: exports.WHITE,
|
|
26
|
-
dropDownTextColor: exports.BLACK,
|
|
27
|
-
questionTextColor: exports.BLACK,
|
|
28
|
-
datePickerColor: exports.BLUE_LIGHT_2,
|
|
29
|
-
backgroundColor1: exports.WHITE,
|
|
30
|
-
backgroundColor2: exports.GRAY_1,
|
|
31
|
-
backgroundColor3: exports.BLUE_LIGHT,
|
|
32
|
-
borderColor1: exports.GRAY_3,
|
|
33
|
-
shadowColor1: exports.GRAY_4,
|
|
34
|
-
statusBarColor: exports.BLUE,
|
|
35
|
-
successColor: exports.GREEN_LIGHT,
|
|
36
|
-
warningColor: exports.YELLOW,
|
|
37
|
-
errorColor: exports.RED,
|
|
38
|
-
disabledColor: exports.GRAY_2,
|
|
39
|
-
counterBackgroundColor: exports.GREEN,
|
|
40
|
-
fontFamily1: 'Roboto-Medium',
|
|
41
|
-
fontFamily2: 'Roboto',
|
|
42
|
-
fontFamily3: 'Roboto-Light'
|
|
43
|
-
};
|
|
44
|
-
const setTheme = (newTheme) => {
|
|
45
|
-
theme = Object.assign(Object.assign({}, theme), newTheme);
|
|
46
|
-
(0, browser_1.setDatePickerColor)(theme.datePickerColor);
|
|
47
|
-
};
|
|
48
|
-
exports.setTheme = setTheme;
|
|
49
|
-
const getTheme = () => {
|
|
50
|
-
return theme;
|
|
51
|
-
};
|
|
52
|
-
exports.getTheme = getTheme;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isHour = exports.validateCNPJ = exports.validateCPF = void 0;
|
|
4
|
-
const react_native_masked_text_1 = require("react-native-masked-text");
|
|
5
|
-
const validateCPF = (value) => {
|
|
6
|
-
return react_native_masked_text_1.MaskService.isValid('cpf', value, {});
|
|
7
|
-
};
|
|
8
|
-
exports.validateCPF = validateCPF;
|
|
9
|
-
const validateCNPJ = (value) => {
|
|
10
|
-
return react_native_masked_text_1.MaskService.isValid('cnpj', value, {});
|
|
11
|
-
};
|
|
12
|
-
exports.validateCNPJ = validateCNPJ;
|
|
13
|
-
const isHour = (value) => {
|
|
14
|
-
return /^(0[0-9]|1[0-9]|2[0-3]|[0-9]):[0-5][0-9]$/.test(value);
|
|
15
|
-
};
|
|
16
|
-
exports.isHour = isHour;
|