@dloizides/ui-nav 1.13.1 → 1.15.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/CHANGELOG.md +25 -0
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { StyleSheet, Platform, TouchableOpacity, View, Text, useWindowDimensions, ActivityIndicator, ScrollView, Pressable, TextInput } from 'react-native';
|
|
2
2
|
import { useUi, UiProvider } from '@dloizides/ui-feedback';
|
|
3
3
|
import React2, { useState, useCallback, useMemo, useEffect, useRef } from 'react';
|
|
4
|
+
import { Collapse } from '@dloizides/ui-motion';
|
|
4
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
6
|
import { ModalDropdown } from '@dloizides/ui-layout';
|
|
6
7
|
import { resolveAccessibleRoutes } from '@dloizides/auth-web';
|
|
@@ -407,7 +408,7 @@ var NavExpandableItem = ({
|
|
|
407
408
|
]
|
|
408
409
|
}
|
|
409
410
|
),
|
|
410
|
-
expanded
|
|
411
|
+
/* @__PURE__ */ jsx(Collapse, { open: expanded, children: /* @__PURE__ */ jsx(View, { style: expandableStyles.childrenContainer, children: item.children?.map((child) => /* @__PURE__ */ jsx(
|
|
411
412
|
NavExpandableItem,
|
|
412
413
|
{
|
|
413
414
|
collapseHint,
|
|
@@ -420,7 +421,7 @@ var NavExpandableItem = ({
|
|
|
420
421
|
onNavigate
|
|
421
422
|
},
|
|
422
423
|
child.key
|
|
423
|
-
)) })
|
|
424
|
+
)) }) })
|
|
424
425
|
] });
|
|
425
426
|
};
|
|
426
427
|
function isBareText(node) {
|