@ctlyst.id/internal-ui 4.1.8 → 4.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +21 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +24 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -4915,6 +4915,7 @@ import {
|
|
4915
4915
|
AccordionItem as AccordionItem2,
|
4916
4916
|
AccordionPanel as AccordionPanel2,
|
4917
4917
|
Box as Box28,
|
4918
|
+
Fade,
|
4918
4919
|
Popover as Popover6,
|
4919
4920
|
PopoverBody as PopoverBody4,
|
4920
4921
|
PopoverContent as PopoverContent6,
|
@@ -5045,19 +5046,28 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
5045
5046
|
) }) }) })
|
5046
5047
|
] });
|
5047
5048
|
} }, item.id),
|
5048
|
-
!isCollapse && /* @__PURE__ */ jsx60(
|
5049
|
-
|
5049
|
+
!isCollapse && /* @__PURE__ */ jsx60(
|
5050
|
+
Fade,
|
5050
5051
|
{
|
5051
|
-
|
5052
|
-
|
5053
|
-
|
5054
|
-
|
5055
|
-
|
5056
|
-
|
5057
|
-
|
5058
|
-
|
5059
|
-
|
5060
|
-
|
5052
|
+
in: true,
|
5053
|
+
transition: {
|
5054
|
+
enter: { duration: 0.5 }
|
5055
|
+
},
|
5056
|
+
children: /* @__PURE__ */ jsx60(AccordionPanel2, { mt: "1", p: "0", children: item.children.map((submenu) => /* @__PURE__ */ jsx60(
|
5057
|
+
NavItem,
|
5058
|
+
{
|
5059
|
+
mt: "1",
|
5060
|
+
"data-test-id": `CTA_Sidebar-accordion-item-${submenu.id}`,
|
5061
|
+
isActive: active === submenu.navLink,
|
5062
|
+
isChild: true,
|
5063
|
+
...itemStyles,
|
5064
|
+
onClick: () => setActive(submenu.navLink),
|
5065
|
+
children: submenu.title
|
5066
|
+
},
|
5067
|
+
submenu.id
|
5068
|
+
)) })
|
5069
|
+
}
|
5070
|
+
)
|
5061
5071
|
] });
|
5062
5072
|
} }, item.id);
|
5063
5073
|
}) })
|
@@ -6017,7 +6027,7 @@ import {
|
|
6017
6027
|
AvatarProps,
|
6018
6028
|
Collapse,
|
6019
6029
|
CollapseProps,
|
6020
|
-
Fade,
|
6030
|
+
Fade as Fade2,
|
6021
6031
|
FadeProps,
|
6022
6032
|
Hide,
|
6023
6033
|
HideProps,
|
@@ -7865,7 +7875,7 @@ export {
|
|
7865
7875
|
DropdownIndicator,
|
7866
7876
|
empty_state_default as EmptyState,
|
7867
7877
|
error_code_default as ErrorCode,
|
7868
|
-
Fade,
|
7878
|
+
Fade2 as Fade,
|
7869
7879
|
FadeProps,
|
7870
7880
|
field_default as Field,
|
7871
7881
|
Flex8 as Flex,
|