@tecsinapse/react-core 3.4.14 → 3.4.15-beta.0
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/dist/cjs/components/atoms/Avatar/Avatar.js +2 -1
- package/dist/cjs/components/atoms/Badge/Badge.js +5 -2
- package/dist/cjs/components/atoms/Badge/styled.js +2 -1
- package/dist/cjs/components/atoms/BoxContent/BoxContent.js +2 -2
- package/dist/cjs/components/atoms/Button/Button.js +10 -8
- package/dist/cjs/components/atoms/Button/States/BaseState.js +5 -2
- package/dist/cjs/components/atoms/Button/States/Error.js +2 -2
- package/dist/cjs/components/atoms/Button/States/Loading.js +11 -8
- package/dist/cjs/components/atoms/Button/States/Success.js +2 -2
- package/dist/cjs/components/atoms/Button/styled.js +2 -1
- package/dist/cjs/components/atoms/Card/Card.js +3 -3
- package/dist/cjs/components/atoms/Card/Footer/Footer.js +2 -2
- package/dist/cjs/components/atoms/Card/Header/Header.js +2 -2
- package/dist/cjs/components/atoms/Checkbox/Checkbox.js +26 -21
- package/dist/cjs/components/atoms/Divider/Divider.js +2 -2
- package/dist/cjs/components/atoms/GroupButton/GroupButton.js +20 -17
- package/dist/cjs/components/atoms/GroupButton/GroupButtonOption.js +2 -2
- package/dist/cjs/components/atoms/GroupButton/styled.js +2 -1
- package/dist/cjs/components/atoms/Icon/AntDesign.js +2 -2
- package/dist/cjs/components/atoms/Icon/Entypo.js +2 -2
- package/dist/cjs/components/atoms/Icon/Evil.js +2 -2
- package/dist/cjs/components/atoms/Icon/Feather.js +2 -2
- package/dist/cjs/components/atoms/Icon/FontAwesome.js +2 -2
- package/dist/cjs/components/atoms/Icon/FontAwesomeFive.js +2 -2
- package/dist/cjs/components/atoms/Icon/Fontisto.js +2 -2
- package/dist/cjs/components/atoms/Icon/Foundation.js +2 -2
- package/dist/cjs/components/atoms/Icon/Icon.js +3 -2
- package/dist/cjs/components/atoms/Icon/Ionicon.js +2 -2
- package/dist/cjs/components/atoms/Icon/Material.js +2 -2
- package/dist/cjs/components/atoms/Icon/MaterialCommunity.js +2 -2
- package/dist/cjs/components/atoms/Icon/Octicon.js +2 -2
- package/dist/cjs/components/atoms/Icon/SimpleLine.js +2 -2
- package/dist/cjs/components/atoms/Icon/Zocial.js +2 -2
- package/dist/cjs/components/atoms/Input/Hint.js +13 -10
- package/dist/cjs/components/atoms/Input/InputContainer/InputContainer.js +38 -34
- package/dist/cjs/components/atoms/Input/InputElement/InputElement.js +2 -1
- package/dist/cjs/components/atoms/Input/InputMaskElement/InputMaskElement.js +2 -1
- package/dist/cjs/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +2 -21
- package/dist/cjs/components/atoms/Paper/Paper.js +2 -2
- package/dist/cjs/components/atoms/PressableSurface/PressableSurface.js +3 -2
- package/dist/cjs/components/atoms/ProgressBar/ProgressBar.js +16 -15
- package/dist/cjs/components/atoms/ProgressBar/styled.js +2 -1
- package/dist/cjs/components/atoms/RadioButton/RadioButton.js +27 -22
- package/dist/cjs/components/atoms/Switch/Switch.js +14 -13
- package/dist/cjs/components/atoms/Switch/styled.js +2 -1
- package/dist/cjs/components/atoms/Tag/Tag.js +24 -21
- package/dist/cjs/components/atoms/Text/Text.js +5 -5
- package/dist/cjs/components/molecules/Calendar/Calendar.js +83 -73
- package/dist/cjs/components/molecules/Calendar/components/MemoizedYearCard.js +13 -12
- package/dist/cjs/components/molecules/Calendar/components/MonthWeek.js +7 -6
- package/dist/cjs/components/molecules/Calendar/components/SelectYear.js +3 -2
- package/dist/cjs/components/molecules/Calendar/components/Weekdays.js +6 -5
- package/dist/cjs/components/molecules/ControlledDateTimeSelector/ControlledDateTimeSelector.js +2 -1
- package/dist/cjs/components/molecules/DatePicker/DatePicker.js +24 -17
- package/dist/cjs/components/molecules/DatePicker/styled.js +2 -1
- package/dist/cjs/components/molecules/DateTimePicker/DateTimePicker.js +25 -37
- package/dist/cjs/components/molecules/DateTimeSelector/DateTimeSelector.js +85 -70
- package/dist/cjs/components/molecules/DateTimeSelector/Selector.js +37 -29
- package/dist/cjs/components/molecules/DateTimeSelector/styled.js +2 -1
- package/dist/cjs/components/molecules/Grid/functions.js +2 -1
- package/dist/cjs/components/molecules/HintInputContainer/HintInputContainer.js +19 -34
- package/dist/cjs/components/molecules/IconTextButton/IconComponent.js +3 -2
- package/dist/cjs/components/molecules/InputPassword/InputPasswordIcon.js +5 -5
- package/dist/cjs/components/molecules/InputPassword/styled.js +1 -0
- package/dist/cjs/components/molecules/Snackbar/Snackbar.js +19 -12
- package/dist/cjs/components/molecules/Snackbar/styled.js +2 -1
- package/dist/cjs/components/molecules/TextArea/TextArea.js +41 -35
- package/dist/cjs/components/molecules/TextArea/styled.js +2 -1
- package/dist/cjs/styles/ThemeProvider.js +2 -2
- package/dist/cjs/styles/definitions.js +2 -1
- package/dist/cjs/utils/formatWithMask.js +2 -1
- package/dist/cjs/utils/masks.js +4 -1
- package/dist/esm/components/atoms/Avatar/Avatar.js +2 -1
- package/dist/esm/components/atoms/Badge/Badge.js +5 -2
- package/dist/esm/components/atoms/Badge/styled.js +2 -1
- package/dist/esm/components/atoms/BoxContent/BoxContent.js +2 -2
- package/dist/esm/components/atoms/Button/Button.js +10 -8
- package/dist/esm/components/atoms/Button/States/BaseState.js +5 -2
- package/dist/esm/components/atoms/Button/States/Error.js +2 -2
- package/dist/esm/components/atoms/Button/States/Loading.js +11 -8
- package/dist/esm/components/atoms/Button/States/Success.js +2 -2
- package/dist/esm/components/atoms/Button/styled.js +2 -1
- package/dist/esm/components/atoms/Card/Card.js +3 -3
- package/dist/esm/components/atoms/Card/Footer/Footer.js +2 -2
- package/dist/esm/components/atoms/Card/Header/Header.js +2 -2
- package/dist/esm/components/atoms/Checkbox/Checkbox.js +26 -21
- package/dist/esm/components/atoms/Divider/Divider.js +2 -2
- package/dist/esm/components/atoms/GroupButton/GroupButton.js +20 -17
- package/dist/esm/components/atoms/GroupButton/GroupButtonOption.js +2 -2
- package/dist/esm/components/atoms/GroupButton/styled.js +2 -1
- package/dist/esm/components/atoms/Icon/AntDesign.js +2 -2
- package/dist/esm/components/atoms/Icon/Entypo.js +2 -2
- package/dist/esm/components/atoms/Icon/Evil.js +2 -2
- package/dist/esm/components/atoms/Icon/Feather.js +2 -2
- package/dist/esm/components/atoms/Icon/FontAwesome.js +2 -2
- package/dist/esm/components/atoms/Icon/FontAwesomeFive.js +2 -2
- package/dist/esm/components/atoms/Icon/Fontisto.js +2 -2
- package/dist/esm/components/atoms/Icon/Foundation.js +2 -2
- package/dist/esm/components/atoms/Icon/Icon.js +3 -2
- package/dist/esm/components/atoms/Icon/Ionicon.js +2 -2
- package/dist/esm/components/atoms/Icon/Material.js +2 -2
- package/dist/esm/components/atoms/Icon/MaterialCommunity.js +2 -2
- package/dist/esm/components/atoms/Icon/Octicon.js +2 -2
- package/dist/esm/components/atoms/Icon/SimpleLine.js +2 -2
- package/dist/esm/components/atoms/Icon/Zocial.js +2 -2
- package/dist/esm/components/atoms/Input/Hint.js +13 -10
- package/dist/esm/components/atoms/Input/InputContainer/InputContainer.js +38 -34
- package/dist/esm/components/atoms/Input/InputElement/InputElement.js +2 -1
- package/dist/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js +2 -1
- package/dist/esm/components/atoms/Input/PressableInputContainer/PressableInputContainer.js +2 -2
- package/dist/esm/components/atoms/Paper/Paper.js +2 -2
- package/dist/esm/components/atoms/PressableSurface/PressableSurface.js +3 -2
- package/dist/esm/components/atoms/ProgressBar/ProgressBar.js +16 -15
- package/dist/esm/components/atoms/ProgressBar/styled.js +2 -1
- package/dist/esm/components/atoms/RadioButton/RadioButton.js +27 -22
- package/dist/esm/components/atoms/Switch/Switch.js +14 -13
- package/dist/esm/components/atoms/Switch/styled.js +2 -1
- package/dist/esm/components/atoms/Tag/Tag.js +24 -21
- package/dist/esm/components/atoms/Text/Text.js +5 -5
- package/dist/esm/components/molecules/Calendar/Calendar.js +83 -73
- package/dist/esm/components/molecules/Calendar/components/MemoizedYearCard.js +13 -12
- package/dist/esm/components/molecules/Calendar/components/MonthWeek.js +7 -6
- package/dist/esm/components/molecules/Calendar/components/SelectYear.js +3 -2
- package/dist/esm/components/molecules/Calendar/components/Weekdays.js +6 -5
- package/dist/esm/components/molecules/ControlledDateTimeSelector/ControlledDateTimeSelector.js +2 -1
- package/dist/esm/components/molecules/DatePicker/DatePicker.js +24 -17
- package/dist/esm/components/molecules/DatePicker/styled.js +2 -1
- package/dist/esm/components/molecules/DateTimePicker/DateTimePicker.js +25 -18
- package/dist/esm/components/molecules/DateTimeSelector/DateTimeSelector.js +85 -70
- package/dist/esm/components/molecules/DateTimeSelector/Selector.js +37 -29
- package/dist/esm/components/molecules/DateTimeSelector/styled.js +2 -1
- package/dist/esm/components/molecules/Grid/functions.js +2 -1
- package/dist/esm/components/molecules/HintInputContainer/HintInputContainer.js +19 -15
- package/dist/esm/components/molecules/IconTextButton/IconComponent.js +3 -2
- package/dist/esm/components/molecules/InputPassword/InputPasswordIcon.js +5 -5
- package/dist/esm/components/molecules/InputPassword/styled.js +1 -0
- package/dist/esm/components/molecules/Snackbar/Snackbar.js +19 -12
- package/dist/esm/components/molecules/Snackbar/styled.js +2 -1
- package/dist/esm/components/molecules/TextArea/TextArea.js +41 -35
- package/dist/esm/components/molecules/TextArea/styled.js +2 -1
- package/dist/esm/styles/ThemeProvider.js +2 -2
- package/dist/esm/styles/definitions.js +2 -1
- package/dist/esm/utils/formatWithMask.js +2 -1
- package/dist/esm/utils/masks.js +4 -1
- package/dist/types/components/atoms/GroupButton/GroupButton.d.ts +1 -2
- package/dist/types/components/atoms/Icon/AntDesign.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Entypo.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Evil.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Feather.d.ts +1 -2
- package/dist/types/components/atoms/Icon/FontAwesome.d.ts +1 -2
- package/dist/types/components/atoms/Icon/FontAwesomeFive.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Fontisto.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Foundation.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Ionicon.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Material.d.ts +1 -2
- package/dist/types/components/atoms/Icon/MaterialCommunity.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Octicon.d.ts +1 -2
- package/dist/types/components/atoms/Icon/SimpleLine.d.ts +1 -2
- package/dist/types/components/atoms/Icon/Zocial.d.ts +1 -2
- package/dist/types/components/molecules/Calendar/components/MonthWeek.d.ts +1 -1
- package/dist/types/components/molecules/Calendar/components/SelectYear.d.ts +1 -1
- package/dist/types/components/molecules/Calendar/components/Weekdays.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
import { Animated } from 'react-native';
|
|
3
4
|
import Icon from '../../atoms/Icon/Icon.js';
|
|
@@ -57,7 +58,7 @@ const Snackbar = ({
|
|
|
57
58
|
}, timeout + FADE_DURATION);
|
|
58
59
|
}
|
|
59
60
|
}, [open, timeout]);
|
|
60
|
-
return /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
61
62
|
SnackbarContainer,
|
|
62
63
|
{
|
|
63
64
|
colorVariant,
|
|
@@ -67,17 +68,23 @@ const Snackbar = ({
|
|
|
67
68
|
anchorDistance,
|
|
68
69
|
visible: open,
|
|
69
70
|
style: [{ opacity: fadeAnim }, style],
|
|
70
|
-
timeout
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
71
|
+
timeout,
|
|
72
|
+
children: /* @__PURE__ */ jsxs(StyledContainerFlexRow, { children: [
|
|
73
|
+
/* @__PURE__ */ jsxs(ContentContainer, { children: [
|
|
74
|
+
leftIcon && /* @__PURE__ */ jsx(IconContainer, { children: /* @__PURE__ */ jsx(Icon, { ...leftIcon, size: "centi" }) }),
|
|
75
|
+
/* @__PURE__ */ jsx(TextContainer, { children })
|
|
76
|
+
] }),
|
|
77
|
+
dismissable && /* @__PURE__ */ jsx(DismissContainer, { effect: "none", onPress: handleDismiss, children: /* @__PURE__ */ jsx(
|
|
78
|
+
Icon,
|
|
79
|
+
{
|
|
80
|
+
...rightIcon,
|
|
81
|
+
size: "centi",
|
|
82
|
+
name: "close",
|
|
83
|
+
type: "material-community"
|
|
84
|
+
}
|
|
85
|
+
) })
|
|
86
|
+
] })
|
|
87
|
+
}
|
|
81
88
|
);
|
|
82
89
|
};
|
|
83
90
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import styled, { css } from '@emotion/native';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import 'react';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
4
|
import '../../atoms/Text/styled.js';
|
|
5
5
|
import '../../atoms/Input/styled.js';
|
|
6
|
+
import 'react';
|
|
6
7
|
import 'currency.js';
|
|
7
8
|
import '../../atoms/Input/InputElement/InputElement.js';
|
|
8
9
|
import '../../atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
3
|
import Hint from '../../atoms/Input/Hint.js';
|
|
4
|
+
import 'react';
|
|
4
5
|
import 'currency.js';
|
|
5
6
|
import Text from '../../atoms/Text/Text.js';
|
|
6
7
|
import '../../atoms/Input/styled.js';
|
|
@@ -38,41 +39,46 @@ const TextArea = ({
|
|
|
38
39
|
if (maxLength && length > maxLength) {
|
|
39
40
|
length = maxLength;
|
|
40
41
|
}
|
|
41
|
-
const _hint = hintComponent || /* @__PURE__ */
|
|
42
|
-
return /* @__PURE__ */
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
label,
|
|
46
|
-
labelColor,
|
|
47
|
-
labelColorVariant,
|
|
48
|
-
labelColorTone,
|
|
49
|
-
labelTypography,
|
|
50
|
-
labelStack,
|
|
51
|
-
labelWeight,
|
|
52
|
-
LabelComponent: TextComponent,
|
|
53
|
-
leftComponent,
|
|
54
|
-
rightComponent,
|
|
55
|
-
borderColor,
|
|
56
|
-
borderColorGradation,
|
|
57
|
-
inputContainerStyle,
|
|
58
|
-
focused,
|
|
59
|
-
disabled,
|
|
60
|
-
variant
|
|
61
|
-
},
|
|
62
|
-
children,
|
|
63
|
-
maxLength && /* @__PURE__ */ React__default.createElement(
|
|
64
|
-
TextComponent,
|
|
42
|
+
const _hint = hintComponent || /* @__PURE__ */ jsx(Hint, { TextComponent, text: hint, variant });
|
|
43
|
+
return /* @__PURE__ */ jsxs(View, { style, children: [
|
|
44
|
+
/* @__PURE__ */ jsxs(
|
|
45
|
+
StyledInputContainer,
|
|
65
46
|
{
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
47
|
+
label,
|
|
48
|
+
labelColor,
|
|
49
|
+
labelColorVariant,
|
|
50
|
+
labelColorTone,
|
|
51
|
+
labelTypography,
|
|
52
|
+
labelStack,
|
|
53
|
+
labelWeight,
|
|
54
|
+
LabelComponent: TextComponent,
|
|
55
|
+
leftComponent,
|
|
56
|
+
rightComponent,
|
|
57
|
+
borderColor,
|
|
58
|
+
borderColorGradation,
|
|
59
|
+
inputContainerStyle,
|
|
60
|
+
focused,
|
|
61
|
+
disabled,
|
|
62
|
+
variant,
|
|
63
|
+
children: [
|
|
64
|
+
children,
|
|
65
|
+
maxLength && /* @__PURE__ */ jsx(
|
|
66
|
+
TextComponent,
|
|
67
|
+
{
|
|
68
|
+
colorVariant: "secondary",
|
|
69
|
+
colorTone: "medium",
|
|
70
|
+
typography: "label",
|
|
71
|
+
fontStack: "default",
|
|
72
|
+
fontWeight: "bold",
|
|
73
|
+
style: { textAlign: "right" },
|
|
74
|
+
children: `${length}/${maxLength}`
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
),
|
|
80
|
+
hint && _hint
|
|
81
|
+
] });
|
|
76
82
|
};
|
|
77
83
|
|
|
78
84
|
export { TextArea as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import styled from '@emotion/native';
|
|
2
2
|
import { extractNumbersFromString } from '../../../utils/extractNumbersFromString.js';
|
|
3
|
-
import 'react';
|
|
3
|
+
import 'react/jsx-runtime';
|
|
4
4
|
import '../../atoms/Text/styled.js';
|
|
5
5
|
import '../../atoms/Input/styled.js';
|
|
6
|
+
import 'react';
|
|
6
7
|
import 'currency.js';
|
|
7
8
|
import InputContainer from '../../atoms/Input/InputContainer/InputContainer.js';
|
|
8
9
|
import InputElement from '../../atoms/Input/InputElement/InputElement.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { ThemeProvider as ThemeProvider$1 } from '@emotion/react';
|
|
3
3
|
|
|
4
4
|
const ThemeProvider = ({
|
|
5
5
|
theme,
|
|
6
6
|
children
|
|
7
7
|
}) => {
|
|
8
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ jsx(ThemeProvider$1, { theme, children });
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { ThemeProvider as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import 'react';
|
|
1
|
+
import 'react/jsx-runtime';
|
|
2
2
|
import '../components/atoms/Text/styled.js';
|
|
3
3
|
import '../components/atoms/Input/styled.js';
|
|
4
|
+
import 'react';
|
|
4
5
|
import 'currency.js';
|
|
5
6
|
import '../components/atoms/Input/InputElement/InputElement.js';
|
|
6
7
|
import '../components/atoms/Input/InputMaskElement/InputMaskElement.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import 'react';
|
|
1
|
+
import 'react/jsx-runtime';
|
|
2
2
|
import '../components/atoms/Text/styled.js';
|
|
3
3
|
import '../components/atoms/Input/styled.js';
|
|
4
|
+
import 'react';
|
|
4
5
|
import { getInternalNumberAndMask } from '../components/atoms/Input/hooks/useNumberMask.js';
|
|
5
6
|
import { getMask, mergeMask } from '../components/atoms/Input/hooks/useStringMask.js';
|
|
6
7
|
import '../components/atoms/Input/InputElement/InputElement.js';
|
package/dist/esm/utils/masks.js
CHANGED
|
@@ -14,7 +14,10 @@ const Masks = {
|
|
|
14
14
|
const isCellPhoneExtended = onlyNumbers.length === 11;
|
|
15
15
|
return value?.length <= 14 && !isCellPhoneExtended ? Masks.PHONE : Masks.PHONE_EXTENDED;
|
|
16
16
|
},
|
|
17
|
-
COMBINED_CPF_CNPJ: (value) =>
|
|
17
|
+
COMBINED_CPF_CNPJ: (value) => {
|
|
18
|
+
const onlyNumbers = extractDigitsFromString(value);
|
|
19
|
+
return onlyNumbers.length <= 11 ? Masks.CPF : Masks.CNPJ;
|
|
20
|
+
}
|
|
18
21
|
};
|
|
19
22
|
|
|
20
23
|
export { Masks };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
2
|
import { ColorGradationType, ColorType } from '../../../types/defaults';
|
|
4
3
|
import { ButtonSizeType } from '../Button';
|
|
@@ -29,5 +28,5 @@ export interface GroupButtonProps<T> {
|
|
|
29
28
|
style?: StyleProp<ViewStyle>;
|
|
30
29
|
disableAllOptions?: boolean;
|
|
31
30
|
}
|
|
32
|
-
declare const GroupButton: <T>({ style, ...rest }: GroupButtonProps<T>) =>
|
|
31
|
+
declare const GroupButton: <T>({ style, ...rest }: GroupButtonProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
33
32
|
export default GroupButton;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const AntDesign: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const AntDesign: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default AntDesign;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Entypo: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Entypo: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Entypo;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Evil: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Evil: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Evil;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Feather: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Feather: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Feather;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const FontAwesome: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const FontAwesome: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default FontAwesome;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const FontAwesomeFive: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const FontAwesomeFive: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default FontAwesomeFive;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Fontisto: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Fontisto: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Fontisto;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Foundation: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Foundation: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Foundation;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Ionicon: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Ionicon: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Ionicon;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Material: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Material: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Material;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const MaterialCommunity: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const MaterialCommunity: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default MaterialCommunity;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Octicon: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Octicon: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Octicon;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const SimpleLine: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const SimpleLine: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default SimpleLine;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { IconInternalProps } from './types';
|
|
3
|
-
declare const Zocial: ({ size, color, name, ...rest }: IconInternalProps) =>
|
|
2
|
+
declare const Zocial: ({ size, color, name, ...rest }: IconInternalProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default Zocial;
|
|
@@ -9,5 +9,5 @@ interface IMonthWeek<T extends SelectionType> {
|
|
|
9
9
|
week: Date[];
|
|
10
10
|
referenceDate: Date;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: React.MemoExoticComponent<(<T extends SelectionType>({ week, referenceDate, type, value, TextComponent, onChange, }: IMonthWeek<T>) =>
|
|
12
|
+
declare const _default: React.MemoExoticComponent<(<T extends SelectionType>({ week, referenceDate, type, value, TextComponent, onChange, }: IMonthWeek<T>) => import("react/jsx-runtime").JSX.Element)>;
|
|
13
13
|
export default _default;
|
|
@@ -8,5 +8,5 @@ export interface SelectYearProps {
|
|
|
8
8
|
firstYear?: number;
|
|
9
9
|
numColumns?: number;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: React.MemoExoticComponent<({ currentYear, onSelectYear, TextComponent, yearsToShow, firstYear, numColumns, }: SelectYearProps) =>
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ currentYear, onSelectYear, TextComponent, yearsToShow, firstYear, numColumns, }: SelectYearProps) => import("react/jsx-runtime").JSX.Element>;
|
|
12
12
|
export default _default;
|
|
@@ -4,5 +4,5 @@ interface IWeekdays {
|
|
|
4
4
|
locale?: Locale;
|
|
5
5
|
Capitalized: React.ElementType;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ calendar, locale, Capitalized }: IWeekdays) =>
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ calendar, locale, Capitalized }: IWeekdays) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/react-core",
|
|
3
3
|
"description": "Core hybrid React components library",
|
|
4
|
-
"version": "3.4.
|
|
4
|
+
"version": "3.4.15-beta.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"react-native": ">=0.72.0",
|
|
36
36
|
"react-native-vector-icons": "^9.2.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "a79fd28902c6a78bc91feb725354c363d29765d5"
|
|
39
39
|
}
|