dhre-ui-kit 0.0.135 → 0.0.136
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/lib/index.js +4 -6
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +4 -6
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -6,8 +6,6 @@ import { BlurView } from '@react-native-community/blur';
|
|
|
6
6
|
import Tooltip from 'rn-tooltip';
|
|
7
7
|
import Pdf from 'react-native-pdf';
|
|
8
8
|
import * as Progress from 'react-native-progress';
|
|
9
|
-
import { useTheme as useTheme$1 } from 'src/theme/ThemeContext';
|
|
10
|
-
import { withThemeProvider as withThemeProvider$1 } from 'src/theme/withThemeProvider';
|
|
11
9
|
import { Calendar } from 'react-native-calendars';
|
|
12
10
|
import CountryPicker from 'react-native-country-picker-modal';
|
|
13
11
|
import { TextInput as TextInput$1 } from 'react-native-paper';
|
|
@@ -1896,7 +1894,7 @@ const Accordion = ({
|
|
|
1896
1894
|
const contentRef = useRef(null);
|
|
1897
1895
|
const [animation] = useState(new Animated.Value(0));
|
|
1898
1896
|
const [contentHeight, setContentHeight] = useState(0);
|
|
1899
|
-
const { theme } = useTheme
|
|
1897
|
+
const { theme } = useTheme();
|
|
1900
1898
|
useEffect(() => {
|
|
1901
1899
|
if (contentRef.current) {
|
|
1902
1900
|
contentRef.current.measure((x, y, width, height) => {
|
|
@@ -1954,7 +1952,7 @@ const Accordion = ({
|
|
|
1954
1952
|
))
|
|
1955
1953
|
);
|
|
1956
1954
|
};
|
|
1957
|
-
var Accordion$1 = withThemeProvider
|
|
1955
|
+
var Accordion$1 = withThemeProvider(Accordion);
|
|
1958
1956
|
|
|
1959
1957
|
const styles$o = StyleSheet.create({
|
|
1960
1958
|
container: {
|
|
@@ -2208,7 +2206,7 @@ const CustomHeader = ({
|
|
|
2208
2206
|
onLeftPress,
|
|
2209
2207
|
onRightPress
|
|
2210
2208
|
}) => {
|
|
2211
|
-
const { theme } = useTheme
|
|
2209
|
+
const { theme } = useTheme();
|
|
2212
2210
|
return /* @__PURE__ */ React.createElement(
|
|
2213
2211
|
View,
|
|
2214
2212
|
{
|
|
@@ -2240,7 +2238,7 @@ const CustomHeader = ({
|
|
|
2240
2238
|
}) : null
|
|
2241
2239
|
);
|
|
2242
2240
|
};
|
|
2243
|
-
var CustomHeader$1 = withThemeProvider
|
|
2241
|
+
var CustomHeader$1 = withThemeProvider(CustomHeader);
|
|
2244
2242
|
|
|
2245
2243
|
const styles$l = StyleSheet.create({
|
|
2246
2244
|
container: {
|