@elliemae/ds-left-navigation 2.3.0-alpha.1 → 2.3.0-alpha.6
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/{cjs → dist/cjs}/LeftNavigation.js +0 -0
- package/{cjs → dist/cjs}/LeftNavigation.js.map +0 -0
- package/{cjs → dist/cjs}/LeftNavigationContext.js +0 -0
- package/dist/cjs/LeftNavigationContext.js.map +7 -0
- package/{cjs → dist/cjs}/common/getItemBackgroundStyle.js +0 -0
- package/{cjs → dist/cjs}/common/getItemBackgroundStyle.js.map +0 -0
- package/{cjs → dist/cjs}/common/getLeftBorderStyle.js +0 -0
- package/{cjs → dist/cjs}/common/getLeftBorderStyle.js.map +0 -0
- package/{cjs → dist/cjs}/common/getScrollbarStyle.js +0 -0
- package/{cjs → dist/cjs}/common/getScrollbarStyle.js.map +0 -0
- package/{cjs → dist/cjs}/common/index.js +0 -0
- package/{cjs → dist/cjs}/common/index.js.map +0 -0
- package/{cjs → dist/cjs}/configs/index.js +0 -0
- package/{cjs → dist/cjs}/configs/index.js.map +0 -0
- package/{cjs → dist/cjs}/configs/useLeftNavConfig.js +5 -1
- package/dist/cjs/configs/useLeftNavConfig.js.map +7 -0
- package/{cjs → dist/cjs}/configs/useLeftNavItems.js +0 -0
- package/{cjs → dist/cjs}/configs/useLeftNavItems.js.map +0 -0
- package/{cjs → dist/cjs}/configs/useLeftNavSmoothExpand.js +7 -7
- package/dist/cjs/configs/useLeftNavSmoothExpand.js.map +7 -0
- package/{cjs → dist/cjs}/exported-related/ChevronItem/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/ChevronItem/index.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/Icon/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/Icon/index.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/index.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/styled.js +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/styled.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/usePropsWithDefaults.js +0 -0
- package/{cjs → dist/cjs}/exported-related/ItemRenderer/usePropsWithDefaults.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/Notifications/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/Notifications/index.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/OpenWindowItem/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/OpenWindowItem/index.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/constants.js +0 -0
- package/{cjs → dist/cjs}/exported-related/constants.js.map +0 -0
- package/{cjs → dist/cjs}/exported-related/index.js +0 -0
- package/{cjs → dist/cjs}/exported-related/index.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/index.js +0 -0
- package/{cjs → dist/cjs}/hooks/index.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useExpandableOnClickHandler.js +0 -0
- package/{cjs → dist/cjs}/hooks/useExpandableOnClickHandler.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useKeyboardNavigation.js +0 -0
- package/{cjs → dist/cjs}/hooks/useKeyboardNavigation.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useOpenableOnClickHandler.js +0 -0
- package/{cjs → dist/cjs}/hooks/useOpenableOnClickHandler.js.map +0 -0
- package/{cjs → dist/cjs}/hooks/useSelectFirstBodyItem.js +2 -2
- package/dist/cjs/hooks/useSelectFirstBodyItem.js.map +7 -0
- package/{cjs → dist/cjs}/index.d.js +0 -0
- package/dist/cjs/index.d.js.map +7 -0
- package/{cjs → dist/cjs}/index.js +0 -0
- package/{cjs → dist/cjs}/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemControlledDrilldown/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemControlledDrilldown/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemControlledDrilldown/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemControlledDrilldown/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemHeader/index.js +3 -2
- package/dist/cjs/outOfTheBox/ItemHeader/index.js.map +7 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemHeader/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemHeader/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemLink/index.js +3 -2
- package/dist/cjs/outOfTheBox/ItemLink/index.js.map +7 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemLink/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemLink/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSection/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSection/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSection/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSection/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSeparator/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSeparator/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSubmenu/index.js +3 -2
- package/dist/cjs/outOfTheBox/ItemSubmenu/index.js.map +7 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSubmenu/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemSubmenu/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemTextLabel/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemTextLabel/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemTextLabel/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemTextLabel/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemUncontrolledDrilldown/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemUncontrolledDrilldown/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemUncontrolledDrilldown/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemWithDate/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemWithDate/index.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemWithDate/styled.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/ItemWithDate/styled.js.map +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/index.js +0 -0
- package/{cjs → dist/cjs}/outOfTheBox/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContent/index.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContent/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContent/styled.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContent/styled.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContentWithScrollbar/index.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavContentWithScrollbar/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavFooterItem/index.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavFooterItem/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavFooterItem/styled.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavFooterItem/styled.js.map +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavLoading/index.js +0 -0
- package/{cjs → dist/cjs}/parts/LeftNavLoading/index.js.map +0 -0
- package/{cjs → dist/cjs}/parts/OutOfTheBoxMapItem.js +0 -0
- package/{cjs → dist/cjs}/parts/OutOfTheBoxMapItem.js.map +0 -0
- package/{cjs → dist/cjs}/prop-types.js +0 -0
- package/{cjs → dist/cjs}/prop-types.js.map +0 -0
- package/{esm → dist/esm}/LeftNavigation.js +0 -0
- package/{esm → dist/esm}/LeftNavigation.js.map +0 -0
- package/{esm → dist/esm}/LeftNavigationContext.js +0 -0
- package/dist/esm/LeftNavigationContext.js.map +7 -0
- package/{esm → dist/esm}/common/getItemBackgroundStyle.js +0 -0
- package/{esm → dist/esm}/common/getItemBackgroundStyle.js.map +0 -0
- package/{esm → dist/esm}/common/getLeftBorderStyle.js +0 -0
- package/{esm → dist/esm}/common/getLeftBorderStyle.js.map +0 -0
- package/{esm → dist/esm}/common/getScrollbarStyle.js +0 -0
- package/{esm → dist/esm}/common/getScrollbarStyle.js.map +0 -0
- package/{esm → dist/esm}/common/index.js +0 -0
- package/{esm → dist/esm}/common/index.js.map +0 -0
- package/{esm → dist/esm}/configs/index.js +0 -0
- package/{esm → dist/esm}/configs/index.js.map +0 -0
- package/{esm → dist/esm}/configs/useLeftNavConfig.js +5 -1
- package/dist/esm/configs/useLeftNavConfig.js.map +7 -0
- package/{esm → dist/esm}/configs/useLeftNavItems.js +0 -0
- package/{esm → dist/esm}/configs/useLeftNavItems.js.map +0 -0
- package/{esm → dist/esm}/configs/useLeftNavSmoothExpand.js +7 -7
- package/dist/esm/configs/useLeftNavSmoothExpand.js.map +7 -0
- package/{esm → dist/esm}/exported-related/ChevronItem/index.js +0 -0
- package/{esm → dist/esm}/exported-related/ChevronItem/index.js.map +0 -0
- package/{esm → dist/esm}/exported-related/Icon/index.js +0 -0
- package/{esm → dist/esm}/exported-related/Icon/index.js.map +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/index.js +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/index.js.map +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/styled.js +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/styled.js.map +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/usePropsWithDefaults.js +0 -0
- package/{esm → dist/esm}/exported-related/ItemRenderer/usePropsWithDefaults.js.map +0 -0
- package/{esm → dist/esm}/exported-related/Notifications/index.js +0 -0
- package/{esm → dist/esm}/exported-related/Notifications/index.js.map +0 -0
- package/{esm → dist/esm}/exported-related/OpenWindowItem/index.js +0 -0
- package/{esm → dist/esm}/exported-related/OpenWindowItem/index.js.map +0 -0
- package/{esm → dist/esm}/exported-related/constants.js +0 -0
- package/{esm → dist/esm}/exported-related/constants.js.map +0 -0
- package/{esm → dist/esm}/exported-related/index.js +0 -0
- package/{esm → dist/esm}/exported-related/index.js.map +0 -0
- package/{esm → dist/esm}/hooks/index.js +0 -0
- package/{esm → dist/esm}/hooks/index.js.map +0 -0
- package/{esm → dist/esm}/hooks/useExpandableOnClickHandler.js +0 -0
- package/{esm → dist/esm}/hooks/useExpandableOnClickHandler.js.map +0 -0
- package/{esm → dist/esm}/hooks/useKeyboardNavigation.js +0 -0
- package/{esm → dist/esm}/hooks/useKeyboardNavigation.js.map +0 -0
- package/{esm → dist/esm}/hooks/useOpenableOnClickHandler.js +0 -0
- package/{esm → dist/esm}/hooks/useOpenableOnClickHandler.js.map +0 -0
- package/{esm → dist/esm}/hooks/useSelectFirstBodyItem.js +2 -2
- package/dist/esm/hooks/useSelectFirstBodyItem.js.map +7 -0
- package/{esm → dist/esm}/index.d.js +0 -0
- package/{esm → dist/esm}/index.d.js.map +0 -0
- package/{esm → dist/esm}/index.js +0 -0
- package/{esm → dist/esm}/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemControlledDrilldown/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemControlledDrilldown/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemControlledDrilldown/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemControlledDrilldown/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemHeader/index.js +3 -2
- package/dist/esm/outOfTheBox/ItemHeader/index.js.map +7 -0
- package/{esm → dist/esm}/outOfTheBox/ItemHeader/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemHeader/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemLink/index.js +3 -2
- package/dist/esm/outOfTheBox/ItemLink/index.js.map +7 -0
- package/{esm → dist/esm}/outOfTheBox/ItemLink/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemLink/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSection/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSection/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSection/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSection/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSeparator/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSeparator/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSubmenu/index.js +3 -2
- package/dist/esm/outOfTheBox/ItemSubmenu/index.js.map +7 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSubmenu/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemSubmenu/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemTextLabel/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemTextLabel/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemTextLabel/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemTextLabel/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemUncontrolledDrilldown/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemUncontrolledDrilldown/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemUncontrolledDrilldown/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemWithDate/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemWithDate/index.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemWithDate/styled.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/ItemWithDate/styled.js.map +0 -0
- package/{esm → dist/esm}/outOfTheBox/index.js +0 -0
- package/{esm → dist/esm}/outOfTheBox/index.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavContent/index.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavContent/index.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavContent/styled.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavContent/styled.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavContentWithScrollbar/index.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavContentWithScrollbar/index.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavFooterItem/index.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavFooterItem/index.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavFooterItem/styled.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavFooterItem/styled.js.map +0 -0
- package/{esm → dist/esm}/parts/LeftNavLoading/index.js +0 -0
- package/{esm → dist/esm}/parts/LeftNavLoading/index.js.map +0 -0
- package/{esm → dist/esm}/parts/OutOfTheBoxMapItem.js +0 -0
- package/{esm → dist/esm}/parts/OutOfTheBoxMapItem.js.map +0 -0
- package/{esm → dist/esm}/prop-types.js +0 -0
- package/{esm → dist/esm}/prop-types.js.map +0 -0
- package/package.json +123 -121
- package/cjs/LeftNavigationContext.js.map +0 -7
- package/cjs/configs/useLeftNavConfig.js.map +0 -7
- package/cjs/configs/useLeftNavSmoothExpand.js.map +0 -7
- package/cjs/hooks/useSelectFirstBodyItem.js.map +0 -7
- package/cjs/index.d.js.map +0 -7
- package/cjs/outOfTheBox/ItemHeader/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemLink/index.js.map +0 -7
- package/cjs/outOfTheBox/ItemSubmenu/index.js.map +0 -7
- package/esm/LeftNavigationContext.js.map +0 -7
- package/esm/configs/useLeftNavConfig.js.map +0 -7
- package/esm/configs/useLeftNavSmoothExpand.js.map +0 -7
- package/esm/hooks/useSelectFirstBodyItem.js.map +0 -7
- package/esm/outOfTheBox/ItemHeader/index.js.map +0 -7
- package/esm/outOfTheBox/ItemLink/index.js.map +0 -7
- package/esm/outOfTheBox/ItemSubmenu/index.js.map +0 -7
- package/types/LeftNavigation.d.ts +0 -55
- package/types/LeftNavigationContext.d.ts +0 -18
- package/types/common/getItemBackgroundStyle.d.ts +0 -5
- package/types/common/getLeftBorderStyle.d.ts +0 -4
- package/types/common/getScrollbarStyle.d.ts +0 -1
- package/types/common/index.d.ts +0 -3
- package/types/configs/index.d.ts +0 -3
- package/types/configs/useLeftNavConfig.d.ts +0 -4
- package/types/configs/useLeftNavItems.d.ts +0 -12
- package/types/configs/useLeftNavSmoothExpand.d.ts +0 -10
- package/types/exported-related/ChevronItem/index.d.ts +0 -3
- package/types/exported-related/Icon/index.d.ts +0 -5
- package/types/exported-related/ItemRenderer/index.d.ts +0 -3
- package/types/exported-related/ItemRenderer/styled.d.ts +0 -16
- package/types/exported-related/ItemRenderer/usePropsWithDefaults.d.ts +0 -2
- package/types/exported-related/Notifications/index.d.ts +0 -8
- package/types/exported-related/OpenWindowItem/index.d.ts +0 -3
- package/types/exported-related/constants.d.ts +0 -19
- package/types/exported-related/index.d.ts +0 -6
- package/types/hooks/index.d.ts +0 -3
- package/types/hooks/useExpandableOnClickHandler.d.ts +0 -9
- package/types/hooks/useKeyboardNavigation.d.ts +0 -8
- package/types/hooks/useOpenableOnClickHandler.d.ts +0 -10
- package/types/hooks/useSelectFirstBodyItem.d.ts +0 -3
- package/types/index.d.d.ts +0 -74
- package/types/index.d.ts +0 -3
- package/types/outOfTheBox/ItemControlledDrilldown/index.d.ts +0 -3
- package/types/outOfTheBox/ItemControlledDrilldown/styled.d.ts +0 -5
- package/types/outOfTheBox/ItemHeader/index.d.ts +0 -3
- package/types/outOfTheBox/ItemHeader/styled.d.ts +0 -3
- package/types/outOfTheBox/ItemLink/index.d.ts +0 -3
- package/types/outOfTheBox/ItemLink/styled.d.ts +0 -2
- package/types/outOfTheBox/ItemSection/index.d.ts +0 -3
- package/types/outOfTheBox/ItemSection/styled.d.ts +0 -3
- package/types/outOfTheBox/ItemSeparator/index.d.ts +0 -3
- package/types/outOfTheBox/ItemSubmenu/index.d.ts +0 -3
- package/types/outOfTheBox/ItemSubmenu/styled.d.ts +0 -3
- package/types/outOfTheBox/ItemTextLabel/index.d.ts +0 -3
- package/types/outOfTheBox/ItemTextLabel/styled.d.ts +0 -2
- package/types/outOfTheBox/ItemUncontrolledDrilldown/index.d.ts +0 -3
- package/types/outOfTheBox/ItemUncontrolledDrilldown/styled.d.ts +0 -5
- package/types/outOfTheBox/ItemWithDate/index.d.ts +0 -3
- package/types/outOfTheBox/ItemWithDate/styled.d.ts +0 -5
- package/types/outOfTheBox/index.d.ts +0 -13
- package/types/parts/LeftNavContent/index.d.ts +0 -3
- package/types/parts/LeftNavContent/styled.d.ts +0 -14
- package/types/parts/LeftNavContentWithScrollbar/index.d.ts +0 -6
- package/types/parts/LeftNavFooterItem/index.d.ts +0 -8
- package/types/parts/LeftNavFooterItem/styled.d.ts +0 -14
- package/types/parts/LeftNavLoading/index.d.ts +0 -4
- package/types/parts/OutOfTheBoxMapItem.d.ts +0 -3
- package/types/prop-types.d.ts +0 -91
- package/types/tests/LeftNavigation.collapsed.test.d.ts +0 -1
- package/types/tests/LeftNavigation.expanded.test.d.ts +0 -1
- package/types/tests/LeftNavigation.opened.test.d.ts +0 -1
- package/types/tests/events/LeftNavigation.events.keyboard.test.d.ts +0 -1
- package/types/tests/events/LeftNavigation.events.subitems.test.d.ts +0 -1
- package/types/tests/events/LeftNavigation.events.test.d.ts +0 -1
- package/types/tests/events/LeftNavigation.focus.events.test.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,215 +1,218 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-left-navigation",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Left Navigation",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"module": "./dist/esm/index.js",
|
|
10
|
+
"main": "./dist/cjs/index.js",
|
|
11
|
+
"types": "./dist/types/index.d.ts",
|
|
9
12
|
"exports": {
|
|
10
13
|
".": {
|
|
11
|
-
"import": "./esm/index.js",
|
|
12
|
-
"require": "./cjs/index.js"
|
|
14
|
+
"import": "./dist/esm/index.js",
|
|
15
|
+
"require": "./dist/cjs/index.js"
|
|
13
16
|
},
|
|
14
17
|
"./prop-types": {
|
|
15
|
-
"import": "./esm/prop-types.js",
|
|
16
|
-
"require": "./cjs/prop-types.js"
|
|
18
|
+
"import": "./dist/esm/prop-types.js",
|
|
19
|
+
"require": "./dist/cjs/prop-types.js"
|
|
17
20
|
},
|
|
18
21
|
"./parts/OutOfTheBoxMapItem": {
|
|
19
|
-
"import": "./esm/parts/OutOfTheBoxMapItem.js",
|
|
20
|
-
"require": "./cjs/parts/OutOfTheBoxMapItem.js"
|
|
22
|
+
"import": "./dist/esm/parts/OutOfTheBoxMapItem.js",
|
|
23
|
+
"require": "./dist/cjs/parts/OutOfTheBoxMapItem.js"
|
|
21
24
|
},
|
|
22
25
|
"./parts/LeftNavLoading": {
|
|
23
|
-
"import": "./esm/parts/LeftNavLoading/index.js",
|
|
24
|
-
"require": "./cjs/parts/LeftNavLoading/index.js"
|
|
26
|
+
"import": "./dist/esm/parts/LeftNavLoading/index.js",
|
|
27
|
+
"require": "./dist/cjs/parts/LeftNavLoading/index.js"
|
|
25
28
|
},
|
|
26
29
|
"./parts/LeftNavFooterItem/styled": {
|
|
27
|
-
"import": "./esm/parts/LeftNavFooterItem/styled.js",
|
|
28
|
-
"require": "./cjs/parts/LeftNavFooterItem/styled.js"
|
|
30
|
+
"import": "./dist/esm/parts/LeftNavFooterItem/styled.js",
|
|
31
|
+
"require": "./dist/cjs/parts/LeftNavFooterItem/styled.js"
|
|
29
32
|
},
|
|
30
33
|
"./parts/LeftNavFooterItem": {
|
|
31
|
-
"import": "./esm/parts/LeftNavFooterItem/index.js",
|
|
32
|
-
"require": "./cjs/parts/LeftNavFooterItem/index.js"
|
|
34
|
+
"import": "./dist/esm/parts/LeftNavFooterItem/index.js",
|
|
35
|
+
"require": "./dist/cjs/parts/LeftNavFooterItem/index.js"
|
|
33
36
|
},
|
|
34
37
|
"./parts/LeftNavContentWithScrollbar": {
|
|
35
|
-
"import": "./esm/parts/LeftNavContentWithScrollbar/index.js",
|
|
36
|
-
"require": "./cjs/parts/LeftNavContentWithScrollbar/index.js"
|
|
38
|
+
"import": "./dist/esm/parts/LeftNavContentWithScrollbar/index.js",
|
|
39
|
+
"require": "./dist/cjs/parts/LeftNavContentWithScrollbar/index.js"
|
|
37
40
|
},
|
|
38
41
|
"./parts/LeftNavContent/styled": {
|
|
39
|
-
"import": "./esm/parts/LeftNavContent/styled.js",
|
|
40
|
-
"require": "./cjs/parts/LeftNavContent/styled.js"
|
|
42
|
+
"import": "./dist/esm/parts/LeftNavContent/styled.js",
|
|
43
|
+
"require": "./dist/cjs/parts/LeftNavContent/styled.js"
|
|
41
44
|
},
|
|
42
45
|
"./parts/LeftNavContent": {
|
|
43
|
-
"import": "./esm/parts/LeftNavContent/index.js",
|
|
44
|
-
"require": "./cjs/parts/LeftNavContent/index.js"
|
|
46
|
+
"import": "./dist/esm/parts/LeftNavContent/index.js",
|
|
47
|
+
"require": "./dist/cjs/parts/LeftNavContent/index.js"
|
|
45
48
|
},
|
|
46
49
|
"./outOfTheBox/ItemWithDate/styled": {
|
|
47
|
-
"import": "./esm/outOfTheBox/ItemWithDate/styled.js",
|
|
48
|
-
"require": "./cjs/outOfTheBox/ItemWithDate/styled.js"
|
|
50
|
+
"import": "./dist/esm/outOfTheBox/ItemWithDate/styled.js",
|
|
51
|
+
"require": "./dist/cjs/outOfTheBox/ItemWithDate/styled.js"
|
|
49
52
|
},
|
|
50
53
|
"./outOfTheBox/ItemWithDate": {
|
|
51
|
-
"import": "./esm/outOfTheBox/ItemWithDate/index.js",
|
|
52
|
-
"require": "./cjs/outOfTheBox/ItemWithDate/index.js"
|
|
54
|
+
"import": "./dist/esm/outOfTheBox/ItemWithDate/index.js",
|
|
55
|
+
"require": "./dist/cjs/outOfTheBox/ItemWithDate/index.js"
|
|
53
56
|
},
|
|
54
57
|
"./outOfTheBox/ItemUncontrolledDrilldown/styled": {
|
|
55
|
-
"import": "./esm/outOfTheBox/ItemUncontrolledDrilldown/styled.js",
|
|
56
|
-
"require": "./cjs/outOfTheBox/ItemUncontrolledDrilldown/styled.js"
|
|
58
|
+
"import": "./dist/esm/outOfTheBox/ItemUncontrolledDrilldown/styled.js",
|
|
59
|
+
"require": "./dist/cjs/outOfTheBox/ItemUncontrolledDrilldown/styled.js"
|
|
57
60
|
},
|
|
58
61
|
"./outOfTheBox/ItemUncontrolledDrilldown": {
|
|
59
|
-
"import": "./esm/outOfTheBox/ItemUncontrolledDrilldown/index.js",
|
|
60
|
-
"require": "./cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js"
|
|
62
|
+
"import": "./dist/esm/outOfTheBox/ItemUncontrolledDrilldown/index.js",
|
|
63
|
+
"require": "./dist/cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js"
|
|
61
64
|
},
|
|
62
65
|
"./outOfTheBox/ItemTextLabel/styled": {
|
|
63
|
-
"import": "./esm/outOfTheBox/ItemTextLabel/styled.js",
|
|
64
|
-
"require": "./cjs/outOfTheBox/ItemTextLabel/styled.js"
|
|
66
|
+
"import": "./dist/esm/outOfTheBox/ItemTextLabel/styled.js",
|
|
67
|
+
"require": "./dist/cjs/outOfTheBox/ItemTextLabel/styled.js"
|
|
65
68
|
},
|
|
66
69
|
"./outOfTheBox/ItemTextLabel": {
|
|
67
|
-
"import": "./esm/outOfTheBox/ItemTextLabel/index.js",
|
|
68
|
-
"require": "./cjs/outOfTheBox/ItemTextLabel/index.js"
|
|
70
|
+
"import": "./dist/esm/outOfTheBox/ItemTextLabel/index.js",
|
|
71
|
+
"require": "./dist/cjs/outOfTheBox/ItemTextLabel/index.js"
|
|
69
72
|
},
|
|
70
73
|
"./outOfTheBox/ItemSubmenu/styled": {
|
|
71
|
-
"import": "./esm/outOfTheBox/ItemSubmenu/styled.js",
|
|
72
|
-
"require": "./cjs/outOfTheBox/ItemSubmenu/styled.js"
|
|
74
|
+
"import": "./dist/esm/outOfTheBox/ItemSubmenu/styled.js",
|
|
75
|
+
"require": "./dist/cjs/outOfTheBox/ItemSubmenu/styled.js"
|
|
73
76
|
},
|
|
74
77
|
"./outOfTheBox/ItemSubmenu": {
|
|
75
|
-
"import": "./esm/outOfTheBox/ItemSubmenu/index.js",
|
|
76
|
-
"require": "./cjs/outOfTheBox/ItemSubmenu/index.js"
|
|
78
|
+
"import": "./dist/esm/outOfTheBox/ItemSubmenu/index.js",
|
|
79
|
+
"require": "./dist/cjs/outOfTheBox/ItemSubmenu/index.js"
|
|
77
80
|
},
|
|
78
81
|
"./outOfTheBox/ItemSeparator": {
|
|
79
|
-
"import": "./esm/outOfTheBox/ItemSeparator/index.js",
|
|
80
|
-
"require": "./cjs/outOfTheBox/ItemSeparator/index.js"
|
|
82
|
+
"import": "./dist/esm/outOfTheBox/ItemSeparator/index.js",
|
|
83
|
+
"require": "./dist/cjs/outOfTheBox/ItemSeparator/index.js"
|
|
81
84
|
},
|
|
82
85
|
"./outOfTheBox/ItemSection/styled": {
|
|
83
|
-
"import": "./esm/outOfTheBox/ItemSection/styled.js",
|
|
84
|
-
"require": "./cjs/outOfTheBox/ItemSection/styled.js"
|
|
86
|
+
"import": "./dist/esm/outOfTheBox/ItemSection/styled.js",
|
|
87
|
+
"require": "./dist/cjs/outOfTheBox/ItemSection/styled.js"
|
|
85
88
|
},
|
|
86
89
|
"./outOfTheBox/ItemSection": {
|
|
87
|
-
"import": "./esm/outOfTheBox/ItemSection/index.js",
|
|
88
|
-
"require": "./cjs/outOfTheBox/ItemSection/index.js"
|
|
90
|
+
"import": "./dist/esm/outOfTheBox/ItemSection/index.js",
|
|
91
|
+
"require": "./dist/cjs/outOfTheBox/ItemSection/index.js"
|
|
89
92
|
},
|
|
90
93
|
"./outOfTheBox/ItemLink/styled": {
|
|
91
|
-
"import": "./esm/outOfTheBox/ItemLink/styled.js",
|
|
92
|
-
"require": "./cjs/outOfTheBox/ItemLink/styled.js"
|
|
94
|
+
"import": "./dist/esm/outOfTheBox/ItemLink/styled.js",
|
|
95
|
+
"require": "./dist/cjs/outOfTheBox/ItemLink/styled.js"
|
|
93
96
|
},
|
|
94
97
|
"./outOfTheBox/ItemLink": {
|
|
95
|
-
"import": "./esm/outOfTheBox/ItemLink/index.js",
|
|
96
|
-
"require": "./cjs/outOfTheBox/ItemLink/index.js"
|
|
98
|
+
"import": "./dist/esm/outOfTheBox/ItemLink/index.js",
|
|
99
|
+
"require": "./dist/cjs/outOfTheBox/ItemLink/index.js"
|
|
97
100
|
},
|
|
98
101
|
"./outOfTheBox/ItemHeader/styled": {
|
|
99
|
-
"import": "./esm/outOfTheBox/ItemHeader/styled.js",
|
|
100
|
-
"require": "./cjs/outOfTheBox/ItemHeader/styled.js"
|
|
102
|
+
"import": "./dist/esm/outOfTheBox/ItemHeader/styled.js",
|
|
103
|
+
"require": "./dist/cjs/outOfTheBox/ItemHeader/styled.js"
|
|
101
104
|
},
|
|
102
105
|
"./outOfTheBox/ItemHeader": {
|
|
103
|
-
"import": "./esm/outOfTheBox/ItemHeader/index.js",
|
|
104
|
-
"require": "./cjs/outOfTheBox/ItemHeader/index.js"
|
|
106
|
+
"import": "./dist/esm/outOfTheBox/ItemHeader/index.js",
|
|
107
|
+
"require": "./dist/cjs/outOfTheBox/ItemHeader/index.js"
|
|
105
108
|
},
|
|
106
109
|
"./outOfTheBox/ItemControlledDrilldown/styled": {
|
|
107
|
-
"import": "./esm/outOfTheBox/ItemControlledDrilldown/styled.js",
|
|
108
|
-
"require": "./cjs/outOfTheBox/ItemControlledDrilldown/styled.js"
|
|
110
|
+
"import": "./dist/esm/outOfTheBox/ItemControlledDrilldown/styled.js",
|
|
111
|
+
"require": "./dist/cjs/outOfTheBox/ItemControlledDrilldown/styled.js"
|
|
109
112
|
},
|
|
110
113
|
"./outOfTheBox/ItemControlledDrilldown": {
|
|
111
|
-
"import": "./esm/outOfTheBox/ItemControlledDrilldown/index.js",
|
|
112
|
-
"require": "./cjs/outOfTheBox/ItemControlledDrilldown/index.js"
|
|
114
|
+
"import": "./dist/esm/outOfTheBox/ItemControlledDrilldown/index.js",
|
|
115
|
+
"require": "./dist/cjs/outOfTheBox/ItemControlledDrilldown/index.js"
|
|
113
116
|
},
|
|
114
117
|
"./outOfTheBox": {
|
|
115
|
-
"import": "./esm/outOfTheBox/index.js",
|
|
116
|
-
"require": "./cjs/outOfTheBox/index.js"
|
|
118
|
+
"import": "./dist/esm/outOfTheBox/index.js",
|
|
119
|
+
"require": "./dist/cjs/outOfTheBox/index.js"
|
|
117
120
|
},
|
|
118
121
|
"./LeftNavigationContext": {
|
|
119
|
-
"import": "./esm/LeftNavigationContext.js",
|
|
120
|
-
"require": "./cjs/LeftNavigationContext.js"
|
|
122
|
+
"import": "./dist/esm/LeftNavigationContext.js",
|
|
123
|
+
"require": "./dist/cjs/LeftNavigationContext.js"
|
|
121
124
|
},
|
|
122
125
|
"./LeftNavigation": {
|
|
123
|
-
"import": "./esm/LeftNavigation.js",
|
|
124
|
-
"require": "./cjs/LeftNavigation.js"
|
|
126
|
+
"import": "./dist/esm/LeftNavigation.js",
|
|
127
|
+
"require": "./dist/cjs/LeftNavigation.js"
|
|
125
128
|
},
|
|
126
129
|
"./hooks/useSelectFirstBodyItem": {
|
|
127
|
-
"import": "./esm/hooks/useSelectFirstBodyItem.js",
|
|
128
|
-
"require": "./cjs/hooks/useSelectFirstBodyItem.js"
|
|
130
|
+
"import": "./dist/esm/hooks/useSelectFirstBodyItem.js",
|
|
131
|
+
"require": "./dist/cjs/hooks/useSelectFirstBodyItem.js"
|
|
129
132
|
},
|
|
130
133
|
"./hooks/useOpenableOnClickHandler": {
|
|
131
|
-
"import": "./esm/hooks/useOpenableOnClickHandler.js",
|
|
132
|
-
"require": "./cjs/hooks/useOpenableOnClickHandler.js"
|
|
134
|
+
"import": "./dist/esm/hooks/useOpenableOnClickHandler.js",
|
|
135
|
+
"require": "./dist/cjs/hooks/useOpenableOnClickHandler.js"
|
|
133
136
|
},
|
|
134
137
|
"./hooks/useKeyboardNavigation": {
|
|
135
|
-
"import": "./esm/hooks/useKeyboardNavigation.js",
|
|
136
|
-
"require": "./cjs/hooks/useKeyboardNavigation.js"
|
|
138
|
+
"import": "./dist/esm/hooks/useKeyboardNavigation.js",
|
|
139
|
+
"require": "./dist/cjs/hooks/useKeyboardNavigation.js"
|
|
137
140
|
},
|
|
138
141
|
"./hooks/useExpandableOnClickHandler": {
|
|
139
|
-
"import": "./esm/hooks/useExpandableOnClickHandler.js",
|
|
140
|
-
"require": "./cjs/hooks/useExpandableOnClickHandler.js"
|
|
142
|
+
"import": "./dist/esm/hooks/useExpandableOnClickHandler.js",
|
|
143
|
+
"require": "./dist/cjs/hooks/useExpandableOnClickHandler.js"
|
|
141
144
|
},
|
|
142
145
|
"./hooks": {
|
|
143
|
-
"import": "./esm/hooks/index.js",
|
|
144
|
-
"require": "./cjs/hooks/index.js"
|
|
146
|
+
"import": "./dist/esm/hooks/index.js",
|
|
147
|
+
"require": "./dist/cjs/hooks/index.js"
|
|
145
148
|
},
|
|
146
149
|
"./exported-related/OpenWindowItem": {
|
|
147
|
-
"import": "./esm/exported-related/OpenWindowItem/index.js",
|
|
148
|
-
"require": "./cjs/exported-related/OpenWindowItem/index.js"
|
|
150
|
+
"import": "./dist/esm/exported-related/OpenWindowItem/index.js",
|
|
151
|
+
"require": "./dist/cjs/exported-related/OpenWindowItem/index.js"
|
|
149
152
|
},
|
|
150
153
|
"./exported-related/Notifications": {
|
|
151
|
-
"import": "./esm/exported-related/Notifications/index.js",
|
|
152
|
-
"require": "./cjs/exported-related/Notifications/index.js"
|
|
154
|
+
"import": "./dist/esm/exported-related/Notifications/index.js",
|
|
155
|
+
"require": "./dist/cjs/exported-related/Notifications/index.js"
|
|
153
156
|
},
|
|
154
157
|
"./exported-related/ItemRenderer/usePropsWithDefaults": {
|
|
155
|
-
"import": "./esm/exported-related/ItemRenderer/usePropsWithDefaults.js",
|
|
156
|
-
"require": "./cjs/exported-related/ItemRenderer/usePropsWithDefaults.js"
|
|
158
|
+
"import": "./dist/esm/exported-related/ItemRenderer/usePropsWithDefaults.js",
|
|
159
|
+
"require": "./dist/cjs/exported-related/ItemRenderer/usePropsWithDefaults.js"
|
|
157
160
|
},
|
|
158
161
|
"./exported-related/ItemRenderer/styled": {
|
|
159
|
-
"import": "./esm/exported-related/ItemRenderer/styled.js",
|
|
160
|
-
"require": "./cjs/exported-related/ItemRenderer/styled.js"
|
|
162
|
+
"import": "./dist/esm/exported-related/ItemRenderer/styled.js",
|
|
163
|
+
"require": "./dist/cjs/exported-related/ItemRenderer/styled.js"
|
|
161
164
|
},
|
|
162
165
|
"./exported-related/ItemRenderer": {
|
|
163
|
-
"import": "./esm/exported-related/ItemRenderer/index.js",
|
|
164
|
-
"require": "./cjs/exported-related/ItemRenderer/index.js"
|
|
166
|
+
"import": "./dist/esm/exported-related/ItemRenderer/index.js",
|
|
167
|
+
"require": "./dist/cjs/exported-related/ItemRenderer/index.js"
|
|
165
168
|
},
|
|
166
169
|
"./exported-related": {
|
|
167
|
-
"import": "./esm/exported-related/index.js",
|
|
168
|
-
"require": "./cjs/exported-related/index.js"
|
|
170
|
+
"import": "./dist/esm/exported-related/index.js",
|
|
171
|
+
"require": "./dist/cjs/exported-related/index.js"
|
|
169
172
|
},
|
|
170
173
|
"./exported-related/Icon": {
|
|
171
|
-
"import": "./esm/exported-related/Icon/index.js",
|
|
172
|
-
"require": "./cjs/exported-related/Icon/index.js"
|
|
174
|
+
"import": "./dist/esm/exported-related/Icon/index.js",
|
|
175
|
+
"require": "./dist/cjs/exported-related/Icon/index.js"
|
|
173
176
|
},
|
|
174
177
|
"./exported-related/constants": {
|
|
175
|
-
"import": "./esm/exported-related/constants.js",
|
|
176
|
-
"require": "./cjs/exported-related/constants.js"
|
|
178
|
+
"import": "./dist/esm/exported-related/constants.js",
|
|
179
|
+
"require": "./dist/cjs/exported-related/constants.js"
|
|
177
180
|
},
|
|
178
181
|
"./exported-related/ChevronItem": {
|
|
179
|
-
"import": "./esm/exported-related/ChevronItem/index.js",
|
|
180
|
-
"require": "./cjs/exported-related/ChevronItem/index.js"
|
|
182
|
+
"import": "./dist/esm/exported-related/ChevronItem/index.js",
|
|
183
|
+
"require": "./dist/cjs/exported-related/ChevronItem/index.js"
|
|
181
184
|
},
|
|
182
185
|
"./configs/useLeftNavSmoothExpand": {
|
|
183
|
-
"import": "./esm/configs/useLeftNavSmoothExpand.js",
|
|
184
|
-
"require": "./cjs/configs/useLeftNavSmoothExpand.js"
|
|
186
|
+
"import": "./dist/esm/configs/useLeftNavSmoothExpand.js",
|
|
187
|
+
"require": "./dist/cjs/configs/useLeftNavSmoothExpand.js"
|
|
185
188
|
},
|
|
186
189
|
"./configs/useLeftNavItems": {
|
|
187
|
-
"import": "./esm/configs/useLeftNavItems.js",
|
|
188
|
-
"require": "./cjs/configs/useLeftNavItems.js"
|
|
190
|
+
"import": "./dist/esm/configs/useLeftNavItems.js",
|
|
191
|
+
"require": "./dist/cjs/configs/useLeftNavItems.js"
|
|
189
192
|
},
|
|
190
193
|
"./configs/useLeftNavConfig": {
|
|
191
|
-
"import": "./esm/configs/useLeftNavConfig.js",
|
|
192
|
-
"require": "./cjs/configs/useLeftNavConfig.js"
|
|
194
|
+
"import": "./dist/esm/configs/useLeftNavConfig.js",
|
|
195
|
+
"require": "./dist/cjs/configs/useLeftNavConfig.js"
|
|
193
196
|
},
|
|
194
197
|
"./configs": {
|
|
195
|
-
"import": "./esm/configs/index.js",
|
|
196
|
-
"require": "./cjs/configs/index.js"
|
|
198
|
+
"import": "./dist/esm/configs/index.js",
|
|
199
|
+
"require": "./dist/cjs/configs/index.js"
|
|
197
200
|
},
|
|
198
201
|
"./common": {
|
|
199
|
-
"import": "./esm/common/index.js",
|
|
200
|
-
"require": "./cjs/common/index.js"
|
|
202
|
+
"import": "./dist/esm/common/index.js",
|
|
203
|
+
"require": "./dist/cjs/common/index.js"
|
|
201
204
|
},
|
|
202
205
|
"./common/getScrollbarStyle": {
|
|
203
|
-
"import": "./esm/common/getScrollbarStyle.js",
|
|
204
|
-
"require": "./cjs/common/getScrollbarStyle.js"
|
|
206
|
+
"import": "./dist/esm/common/getScrollbarStyle.js",
|
|
207
|
+
"require": "./dist/cjs/common/getScrollbarStyle.js"
|
|
205
208
|
},
|
|
206
209
|
"./common/getLeftBorderStyle": {
|
|
207
|
-
"import": "./esm/common/getLeftBorderStyle.js",
|
|
208
|
-
"require": "./cjs/common/getLeftBorderStyle.js"
|
|
210
|
+
"import": "./dist/esm/common/getLeftBorderStyle.js",
|
|
211
|
+
"require": "./dist/cjs/common/getLeftBorderStyle.js"
|
|
209
212
|
},
|
|
210
213
|
"./common/getItemBackgroundStyle": {
|
|
211
|
-
"import": "./esm/common/getItemBackgroundStyle.js",
|
|
212
|
-
"require": "./cjs/common/getItemBackgroundStyle.js"
|
|
214
|
+
"import": "./dist/esm/common/getItemBackgroundStyle.js",
|
|
215
|
+
"require": "./dist/cjs/common/getItemBackgroundStyle.js"
|
|
213
216
|
}
|
|
214
217
|
},
|
|
215
218
|
"repository": {
|
|
@@ -217,27 +220,20 @@
|
|
|
217
220
|
"url": "https://git.elliemae.io/platform-ui/dimsum.git"
|
|
218
221
|
},
|
|
219
222
|
"engines": {
|
|
220
|
-
"
|
|
221
|
-
"node": ">=
|
|
223
|
+
"pnpm": ">=6",
|
|
224
|
+
"node": ">=16"
|
|
222
225
|
},
|
|
223
226
|
"author": "ICE MT",
|
|
224
|
-
"scripts": {
|
|
225
|
-
"prebuild": "exit 0",
|
|
226
|
-
"predev": "exit 0",
|
|
227
|
-
"dev": "node ../../scripts/build/build.js -w",
|
|
228
|
-
"build": "node ../../scripts/build/build.js"
|
|
229
|
-
},
|
|
230
227
|
"publishConfig": {
|
|
231
228
|
"access": "public",
|
|
232
|
-
"
|
|
233
|
-
"generateSubmodules": true
|
|
229
|
+
"typeSafety": false
|
|
234
230
|
},
|
|
235
231
|
"dependencies": {
|
|
236
|
-
"@elliemae/ds-circular-progress-indicator": "2.3.0-alpha.
|
|
237
|
-
"@elliemae/ds-grid": "2.3.0-alpha.
|
|
238
|
-
"@elliemae/ds-icons": "2.3.0-alpha.
|
|
239
|
-
"@elliemae/ds-system": "2.3.0-alpha.
|
|
240
|
-
"@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.
|
|
232
|
+
"@elliemae/ds-circular-progress-indicator": "2.3.0-alpha.6",
|
|
233
|
+
"@elliemae/ds-grid": "2.3.0-alpha.6",
|
|
234
|
+
"@elliemae/ds-icons": "2.3.0-alpha.6",
|
|
235
|
+
"@elliemae/ds-system": "2.3.0-alpha.6",
|
|
236
|
+
"@elliemae/ds-truncated-tooltip-text": "2.3.0-alpha.6",
|
|
241
237
|
"overlayscrollbars": "1.13.1",
|
|
242
238
|
"prop-types": "~15.7.2",
|
|
243
239
|
"react-desc": "~4.1.3"
|
|
@@ -252,5 +248,11 @@
|
|
|
252
248
|
"react": "~17.0.2",
|
|
253
249
|
"react-dom": "^17.0.2",
|
|
254
250
|
"styled-components": "^5.3.3"
|
|
251
|
+
},
|
|
252
|
+
"scripts": {
|
|
253
|
+
"prebuild": "exit 0",
|
|
254
|
+
"predev": "exit 0",
|
|
255
|
+
"dev": "node ../../scripts/build/build.js -w",
|
|
256
|
+
"build": "node ../../scripts/build/build.js"
|
|
255
257
|
}
|
|
256
258
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/LeftNavigationContext.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React, { createContext, MutableRefObject, RefObject } from 'react';\nimport type { LeftNavProps, LabelOveflowT } from './index.d';\n\nexport type ContextProps = {\n selectedItem: string;\n setSelectedItem: React.Dispatch<React.SetStateAction<string>>;\n focusedItem: string;\n setFocusedItem: React.Dispatch<React.SetStateAction<string>>;\n openedDrilldowns: string[];\n setOpenedDrilldowns: React.Dispatch<React.SetStateAction<string[]>>;\n visibleItems: string[];\n visibleItemsRefs: MutableRefObject<Record<string, RefObject<HTMLElement>>>;\n leftNavProps: LeftNavProps;\n expandedForAnimation: boolean;\n};\n\nexport const defaultProps: LeftNavProps = {\n expandedWidth: '240px',\n tabIndex: 0,\n loading: false,\n expanded: false,\n openedItem: null,\n footerLabel: '',\n onSelectedChange: () => null,\n onFocusChange: () => null,\n onFooterExpand: () => null,\n onFooterClose: () => null,\n items: [],\n labelOverflow: 'wrap' as LabelOveflowT,\n onItemClick: () => null,\n};\n\nexport const defaultContext: ContextProps = {\n leftNavProps: defaultProps,\n selectedItem: null,\n setSelectedItem: () => null,\n focusedItem: null,\n setFocusedItem: () => null,\n expandedForAnimation: true,\n openedDrilldowns: [],\n setOpenedDrilldowns: () => null,\n visibleItems: [],\n visibleItemsRefs: { current: {} },\n};\n\nexport const LeftNavContext = createContext<ContextProps>(defaultContext);\n\nexport default LeftNavContext;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkE;AAgB3D,MAAM,eAA6B;AAAA,EACxC,eAAe;AAAA,EACf,UAAU;AAAA,EACV,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,gBAAgB,MAAM;AAAA,EACtB,eAAe,MAAM;AAAA,EACrB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,aAAa,MAAM;AAAA;AAGd,MAAM,iBAA+B;AAAA,EAC1C,cAAc;AAAA,EACd,cAAc;AAAA,EACd,iBAAiB,MAAM;AAAA,EACvB,aAAa;AAAA,EACb,gBAAgB,MAAM;AAAA,EACtB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,qBAAqB,MAAM;AAAA,EAC3B,cAAc;AAAA,EACd,kBAAkB,EAAE,SAAS;AAAA;AAGxB,MAAM,iBAAiB,gCAA4B;AAE1D,IAAO,gCAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/configs/useLeftNavConfig.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport type { LeftNavProps } from '../index.d';\nimport { ContextProps } from '../LeftNavigationContext';\nimport useLeftNavItems from './useLeftNavItems';\nimport { useLeftNavSmoothExpand } from './useLeftNavSmoothExpand';\nimport { useSelectFirstBodyItem } from '../hooks/useSelectFirstBodyItem';\n\nexport const useLeftNavConfig = (props: LeftNavProps): ContextProps => {\n const { expanded, openedItem, onSelectedChange, onFocusChange, items } = props;\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * INTERNAL STATE *\n // ************************** ------------ **************************\n // Selection related\n const [selectedItem, setSelectedItem] = React.useState(null);\n const [selectedSubitem, setSelectedSubitem] = React.useState(null);\n const [selectedParent, setSelectedParent] = React.useState(null);\n // Focus related\n const [focusedItem, setFocusedItem] = React.useState(null);\n // Opened uncontrolled drilldowns\n const [openedDrilldowns, setOpenedDrilldowns] = React.useState<string[]>([]);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * EXPAND ANIMATION *\n // ************************** ------------ **************************\n const [expandedForAnimation, setExpandedForAnimation] = React.useState(expanded);\n const timeoutRef = React.useRef<ReturnType<typeof setTimeout>>(null);\n const smoothExpandOpts = React.useMemo(\n () => ({\n expandedForAnimation,\n timeoutRef,\n setExpandedForAnimation,\n }),\n [expandedForAnimation, timeoutRef, setExpandedForAnimation],\n );\n useLeftNavSmoothExpand(props, smoothExpandOpts);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * SIDE EFFECTS *\n // ************************** ------------ **************************\n React.useEffect(() => {\n onSelectedChange(selectedItem);\n }, [selectedItem, onSelectedChange]);\n\n React.useEffect(() => {\n if (openedItem !== null) setSelectedParent(openedItem);\n }, [openedItem]);\n\n React.useEffect(() => {\n onFocusChange(focusedItem);\n }, [focusedItem, onFocusChange]);\n\n useSelectFirstBodyItem(\n items,\n openedItem,\n props.selectedItem !== undefined ? props.selectedItem : selectedItem,\n setSelectedItem,\n props.disableDefaultSelection,\n );\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * ITEMS MANAGEMENT *\n // ************************** ------------ **************************\n\n const leftNavItemsProps = React.useMemo(\n () => ({\n headerItem: props.HeaderComponent,\n bodyHeaderItem: props.BodyHeaderComponent,\n items: props.items,\n openedDrilldowns,\n }),\n [props.HeaderComponent, props.BodyHeaderComponent, props.items, openedDrilldowns],\n );\n\n // We need to know the current visible items since we have drilldowns\n const { visibleItems, visibleItemsRefs } = useLeftNavItems(leftNavItemsProps);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * LEFTNAV CONFIG *\n // ************************** ------------ **************************\n const finalConfig = React.useMemo(\n () => ({\n leftNavProps: props,\n expandedForAnimation,\n selectedItem: props.selectedItem !== undefined ? props.selectedItem : selectedItem,\n setSelectedItem,\n selectedParent: props.selectedParent !== undefined ? props.selectedParent : selectedParent,\n setSelectedParent,\n focusedItem,\n setFocusedItem,\n openedDrilldowns,\n setOpenedDrilldowns,\n visibleItems,\n visibleItemsRefs,\n }),\n [\n props,\n expandedForAnimation,\n selectedItem,\n setSelectedItem,\n setSelectedParent,\n selectedParent,\n focusedItem,\n setFocusedItem,\n openedDrilldowns,\n setOpenedDrilldowns,\n visibleItems,\n visibleItemsRefs,\n ],\n );\n\n return finalConfig;\n};\n\nexport default useLeftNavConfig;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAGlB,6BAA4B;AAC5B,oCAAuC;AACvC,oCAAuC;AAEhC,MAAM,mBAAmB,CAAC,UAAsC;AACrE,QAAM,EAAE,UAAU,YAAY,kBAAkB,eAAe,UAAU;AAOzE,QAAM,CAAC,cAAc,mBAAmB,qBAAM,SAAS;AACvD,QAAM,CAAC,iBAAiB,sBAAsB,qBAAM,SAAS;AAC7D,QAAM,CAAC,gBAAgB,qBAAqB,qBAAM,SAAS;AAE3D,QAAM,CAAC,aAAa,kBAAkB,qBAAM,SAAS;AAErD,QAAM,CAAC,kBAAkB,uBAAuB,qBAAM,SAAmB;AAMzE,QAAM,CAAC,sBAAsB,2BAA2B,qBAAM,SAAS;AACvE,QAAM,aAAa,qBAAM,OAAsC;AAC/D,QAAM,mBAAmB,qBAAM,QAC7B,MAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MAEF,CAAC,sBAAsB,YAAY;AAErC,4DAAuB,OAAO;AAM9B,uBAAM,UAAU,MAAM;AACpB,qBAAiB;AAAA,KAChB,CAAC,cAAc;AAElB,uBAAM,UAAU,MAAM;AACpB,QAAI,eAAe;AAAM,wBAAkB;AAAA,KAC1C,CAAC;AAEJ,uBAAM,UAAU,MAAM;AACpB,kBAAc;AAAA,KACb,CAAC,aAAa;AAEjB,4DACE,OACA,YACA,MAAM,iBAAiB,SAAY,MAAM,eAAe,cACxD,iBACA,MAAM;AAQR,QAAM,oBAAoB,qBAAM,QAC9B,MAAO;AAAA,IACL,YAAY,MAAM;AAAA,IAClB,gBAAgB,MAAM;AAAA,IACtB,OAAO,MAAM;AAAA,IACb;AAAA,MAEF,CAAC,MAAM,iBAAiB,MAAM,qBAAqB,MAAM,OAAO;AAIlE,QAAM,EAAE,cAAc,qBAAqB,oCAAgB;AAM3D,QAAM,cAAc,qBAAM,QACxB,MAAO;AAAA,IACL,cAAc;AAAA,IACd;AAAA,IACA,cAAc,MAAM,iBAAiB,SAAY,MAAM,eAAe;AAAA,IACtE;AAAA,IACA,gBAAgB,MAAM,mBAAmB,SAAY,MAAM,iBAAiB;AAAA,IAC5E;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MAEF;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAIJ,SAAO;AAAA;AAGT,IAAO,2BAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/configs/useLeftNavSmoothExpand.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport type { LeftNavProps } from '../index.d';\n\ninterface smoothExpandOptsT {\n expandedForAnimation: boolean;\n timeoutRef: React.MutableRefObject<NodeJS.Timeout>;\n setExpandedForAnimation: React.Dispatch<React.SetStateAction<boolean>>;\n}\nexport const useLeftNavSmoothExpand = (\n props: LeftNavProps,\n smoothExpandOpts: smoothExpandOptsT,\n): void => {\n const { expanded } = props;\n const {\n expandedForAnimation,\n timeoutRef,\n setExpandedForAnimation,\n } = smoothExpandOpts;\n\n React.useEffect(() => {\n // If expanded changes, we need to smoothly transition to the non-expanded state\n // so we need to wait for 350ms\n if (!expanded && expandedForAnimation) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = setTimeout(\n () => setExpandedForAnimation(false),\n 350,\n );\n } else if (expanded) setExpandedForAnimation(true);\n }, [expanded]);\n\n React.useEffect(() => () => clearTimeout(timeoutRef.current), []);\n};\n\nexport default useLeftNavSmoothExpand;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAQX,MAAM,yBAAyB,CACpC,OACA,qBACS;AACT,QAAM,EAAE,aAAa;AACrB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,MACE;AAEJ,uBAAM,UAAU,MAAM;AAGpB,QAAI,CAAC,YAAY,sBAAsB;AACrC,mBAAa,WAAW;AACxB,iBAAW,UAAU,WACnB,MAAM,wBAAwB,QAC9B;AAAA,eAEO;AAAU,8BAAwB;AAAA,KAC5C,CAAC;AAEJ,uBAAM,UAAU,MAAM,MAAM,aAAa,WAAW,UAAU;AAAA;AAGhE,IAAO,iCAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/hooks/useSelectFirstBodyItem.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React, { useEffect } from 'react';\nimport { GenericItemItemProps } from '../index.d';\nimport { ITEM_TYPES } from '../exported-related/constants';\n\nconst { LEFT_NAV_ITEM_SEPARATOR, LEFT_NAV_ITEM_SECTION } = ITEM_TYPES;\n\nconst isSelectableOutOfTheBox = (elem: GenericItemItemProps) =>\n typeof elem.type === 'string' && elem.type !== LEFT_NAV_ITEM_SEPARATOR && elem.type !== LEFT_NAV_ITEM_SECTION;\nconst isSelectableCustom = (elem: GenericItemItemProps) => elem.itemOpts.selectable;\n\nconst isItemInsideTheTree = (item: GenericItemItemProps, itemID: string) =>\n item.dsId === itemID || item?.itemOpts?.items?.some((it) => isItemInsideTheTree(it, itemID));\n\nexport const useSelectFirstBodyItem = (\n items: GenericItemItemProps[],\n openedItem: string,\n selectedItem: string,\n setSelectedItem: React.Dispatch<React.SetStateAction<string>>,\n disableDefaultSelection: boolean,\n): void => {\n useEffect(() => {\n if (!disableDefaultSelection && items && items.length && openedItem) {\n const index = items.findIndex((elem) => isSelectableOutOfTheBox(elem) || isSelectableCustom(elem));\n const isItemInside = items.some((it) => isItemInsideTheTree(it, selectedItem));\n if (isItemInside) setSelectedItem(selectedItem);\n else if (index !== -1) setSelectedItem(items[index].dsId);\n }\n }, [openedItem, setSelectedItem, disableDefaultSelection]);\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAiC;AAEjC,uBAA2B;AAE3B,MAAM,EAAE,yBAAyB,0BAA0B;AAE3D,MAAM,0BAA0B,CAAC,SAC/B,OAAO,KAAK,SAAS,YAAY,KAAK,SAAS,2BAA2B,KAAK,SAAS;AAC1F,MAAM,qBAAqB,CAAC,SAA+B,KAAK,SAAS;AAEzE,MAAM,sBAAsB,CAAC,MAA4B,WACvD,KAAK,SAAS,UAAU,MAAM,UAAU,OAAO,KAAK,CAAC,OAAO,oBAAoB,IAAI;AAE/E,MAAM,yBAAyB,CACpC,OACA,YACA,cACA,iBACA,4BACS;AACT,8BAAU,MAAM;AACd,QAAI,CAAC,2BAA2B,SAAS,MAAM,UAAU,YAAY;AACnE,YAAM,QAAQ,MAAM,UAAU,CAAC,SAAS,wBAAwB,SAAS,mBAAmB;AAC5F,YAAM,eAAe,MAAM,KAAK,CAAC,OAAO,oBAAoB,IAAI;AAChE,UAAI;AAAc,wBAAgB;AAAA,eACzB,UAAU;AAAI,wBAAgB,MAAM,OAAO;AAAA;AAAA,KAErD,CAAC,YAAY,iBAAiB;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/cjs/index.d.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.d.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport type { ContextProps } from './LeftNavigationContext';\n\nexport type LabelOveflowT = 'wrap' | 'wrapAll' | 'truncate';\nexport interface LeftNavProps {\n expanded: boolean;\n expandedWidth: string;\n openedItem: string;\n items: GenericItemItemProps[];\n footerLabel: string;\n labelOverflow: LabelOveflowT;\n onSelectedChange: (item: string) => void;\n onFocusChange: (item: string) => void;\n onFooterExpand: () => void;\n onFooterClose: () => void;\n onItemClick: (item: GenericItemItemProps, e: React.MouseEvent<HTMLElement>) => void;\n HeaderComponent?: GenericItemItemProps;\n BodyHeaderComponent?: GenericItemItemProps;\n tabIndex: number;\n loading: boolean;\n selectedItem?: string;\n selectedParent?: string;\n disableDefaultSelection?: boolean;\n withoutBodyShadow?: boolean;\n}\nexport type OutOfTheBoxT =\n | 'ds-left-nav-item-header'\n | 'ds-left-nav-item-link'\n | 'ds-left-nav-item-submenu'\n | 'ds-left-nav-item-controlled-drilldown'\n | 'ds-left-nav-item-uncontrolled-drilldown'\n | 'ds-left-nav-item-section'\n | 'ds-left-nav-item-separator'\n | 'ds-left-nav-item-text-label'\n | 'ds-left-nav-item-with-date';\n\nexport interface itemOptsT {\n label?: string | JSX.Element;\n labelBold?: boolean;\n labelColor?: [string, string];\n labelOverflow?: LabelOveflowT;\n labelRightSection?: string | React.ComponentType;\n selectable?: boolean;\n focuseable?: boolean;\n startOpened?: boolean;\n isOpened?: boolean;\n openable?: boolean;\n closable?: boolean;\n indent?: number;\n LeftComponent?: React.ComponentType<ComponentProps>;\n RightComponent?: React.ComponentType<ComponentProps>;\n BottomComponent?: React.ComponentType<ComponentProps>;\n ariaLabel?: string;\n ariaRole?: string;\n ariaLive?: string;\n ariaExpanded?: boolean;\n ariaDescribedBy?: string;\n items?: GenericItemItemProps[];\n labelDataTestId?: string;\n}\n\nexport interface ComponentProps {\n item: GenericItemItemProps;\n ctx: ContextProps;\n}\nexport interface GenericItemItemProps {\n dsId?: string;\n type?: string;\n CollapsedComponent?: React.ComponentType<ComponentProps>;\n Component?: React.ComponentType<ComponentProps>;\n itemOpts: itemOptsT;\n}\nexport interface OutOfTheBoxMapItemT {\n item: GenericItemItemProps;\n}\nexport interface ItemRendererT {\n item: GenericItemItemProps;\n subitems?: JSX.Element[];\n minHeight?: string;\n paddingTop?: string;\n onClick?: () => void;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n shadowStyle?: (theme: any) => string;\n hasBorderBottom?: boolean;\n borderBottomMr?: string;\n children: React.ReactNode;\n}\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/outOfTheBox/ItemHeader/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React, { useCallback } from 'react';\nimport Grid from '@elliemae/ds-grid';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ItemRenderer } from '../../exported-related/index';\nimport type { ComponentProps } from '../../index.d';\nimport { StyledLabel, StyledChevronLeft } from './styled';\nimport { CHEVRON_BACK_DS_ID } from '../../exported-related/constants';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst notOpenedShadowStyle = (isSelected: boolean) => (theme: any) =>\n `\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : 'transparent'};\n\n :hover {\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : theme.colors.brand[300]};\n }\n\n :active {\n box-shadow: inset 4px 0 0 0 ${theme.colors.brand[400]};\n }\n`;\n\nexport const ItemHeader = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n dsId,\n itemOpts: { label, RightComponent, BottomComponent, labelDataTestId },\n CollapsedComponent = () => null,\n },\n ctx,\n ctx: {\n leftNavProps: { openedItem, labelOverflow, onItemClick },\n expandedForAnimation,\n setFocusedItem,\n selectedItem,\n selectedParent,\n },\n } = props;\n\n const opened = openedItem === dsId;\n\n const ariaLabel = item.itemOpts.ariaLabel ?? (typeof label === 'string' ? label : 'menuitem');\n\n const isSelected = selectedItem === dsId || selectedParent === dsId;\n\n const shadowStyle = useCallback(\n (opened) => (theme: any) =>\n !opened ? notOpenedShadowStyle(isSelected)(theme) : `box-shadow: inset 4px 0 0 0 #52A6EC`,\n [isSelected, openedItem],\n );\n\n return (\n <ItemRenderer\n item={{\n ...item,\n itemOpts: {\n ariaLabel,\n ariaExpanded: opened,\n ...item.itemOpts,\n openable: expandedForAnimation && !opened,\n closable: expandedForAnimation && opened,\n selectable: !opened,\n },\n }}\n hasBorderBottom\n borderBottomMr={opened ? '12px' : '0px'}\n shadowStyle={shadowStyle}\n >\n <Grid\n cols={opened ? ['auto', 'auto'] : ['38px']}\n gutter=\"1px\"\n pl={opened ? 'xxs' : 0}\n justifyItems=\"center\"\n data-testid=\"leftnav-leftcomponent\"\n >\n {opened && (\n <StyledChevronLeft\n size=\"m\"\n color={['brand-primary', 800]}\n onClick={(e) => {\n onItemClick(item, e);\n }}\n data-testid=\"leftnav-leftcomponent-chevron\"\n tabIndex={0}\n onFocus={(e) => {\n e.stopPropagation();\n setFocusedItem(CHEVRON_BACK_DS_ID);\n }}\n role=\"button\"\n aria-label={`Close ${ariaLabel}`}\n />\n )}\n <CollapsedComponent item={item} ctx={ctx} />\n </Grid>\n <StyledLabel\n ml={opened ? 'xxs' : '1px'}\n mt=\"xxxs\"\n mb=\"15px\"\n data-testid={labelDataTestId || 'leftnav-itemlabel'}\n labelOverflow={labelOverflow}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <Grid\n pl=\"xs\"\n pr={opened ? 'xxs2' : 'xxs'}\n onFocus={(e) => {\n setFocusedItem(null);\n e.stopPropagation();\n }}\n onKeyDown={(e) => e.stopPropagation()}\n data-testid=\"leftnav-right-component\"\n >\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </Grid>\n {BottomComponent && (\n <Grid\n style={{ gridColumn: 'span 3' }}\n pb=\"xxxs\"\n pl=\"xxs\"\n pr=\"xxs\"\n onFocus={(e) => {\n setFocusedItem(null);\n e.stopPropagation();\n }}\n onKeyDown={(e) => e.stopPropagation()}\n >\n <BottomComponent ctx={ctx} item={item} />\n </Grid>\n )}\n </ItemRenderer>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADEvB,mBAAmC;AACnC,qBAAiB;AACjB,uCAA2C;AAC3C,8BAA6B;AAE7B,oBAA+C;AAC/C,uBAAmC;AAGnC,MAAM,uBAAuB,CAAC,eAAwB,CAAC,UACrD;AAAA,gCAC8B,aAAa,MAAM,OAAO,MAAM,OAAO;AAAA;AAAA;AAAA,kCAGrC,aAAa,MAAM,OAAO,MAAM,OAAO,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAAA,kCAI1D,MAAM,OAAO,MAAM;AAAA;AAAA;AAI9C,MAAM,aAAa,CAAC,UAAuC;AAChE,QAAM;AAAA,IACJ;AAAA,IACA,MAAM;AAAA,MACJ;AAAA,MACA,UAAU,EAAE,OAAO,gBAAgB,iBAAiB;AAAA,MACpD,qBAAqB,MAAM;AAAA;AAAA,IAE7B;AAAA,IACA,KAAK;AAAA,MACH,cAAc,EAAE,YAAY,eAAe;AAAA,MAC3C;AAAA,MACA;AAAA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OAAoB,QAE1G,mDAAC,wBAAD;AAAA,IACE,IAAG;AAAA,IACH,IAAI,SAAS,SAAS;AAAA,IACtB,SAAS,CAAC,MAAM;AACd,qBAAe;AACf,QAAE;AAAA;AAAA,IAEJ,WAAW,CAAC,MAAM,EAAE;AAAA,IACpB,eAAY;AAAA,KAEX,kBAAkB,mDAAC,gBAAD;AAAA,IAAgB;AAAA,IAAU;AAAA,OAE9C,mBACC,mDAAC,wBAAD;AAAA,IACE,OAAO,EAAE,YAAY;AAAA,IACrB,IAAG;AAAA,IACH,IAAG;AAAA,IACH,IAAG;AAAA,IACH,SAAS,CAAC,MAAM;AACd,qBAAe;AACf,QAAE;AAAA;AAAA,IAEJ,WAAW,CAAC,MAAM,EAAE;AAAA,KAEpB,mDAAC,iBAAD;AAAA,IAAiB;AAAA,IAAU;AAAA;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/outOfTheBox/ItemLink/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable indent */\nimport React, { useCallback } from 'react';\nimport Grid from '@elliemae/ds-grid';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ItemRenderer } from '../../exported-related/index';\nimport type { ComponentProps } from '../../index.d';\nimport { StyledLabel } from './styled';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst notOpenedShadowStyle = (isSelected: boolean) => (theme: any) =>\n `\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : 'transparent'};\n\n :hover {\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : theme.colors.brand[300]};\n }\n\n :active {\n box-shadow: inset 4px 0 0 0 ${theme.colors.brand[400]};\n }\n`;\n\nexport const ItemLink = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n dsId,\n itemOpts: { label, RightComponent, labelDataTestId },\n CollapsedComponent = () => null,\n },\n ctx,\n ctx: {\n leftNavProps: { labelOverflow, openedItem },\n selectedItem,\n selectedParent,\n },\n } = props;\n\n const isSelected = selectedItem === dsId || selectedParent === dsId;\n\n const shadowStyle = useCallback(\n (opened) => (theme: any) => !opened ? notOpenedShadowStyle(isSelected)(theme) : `box-shadow: inset 4px 0 0 0 #52A6EC`,\n [isSelected, openedItem],\n );\n\n return (\n <ItemRenderer\n item={{\n ...item,\n itemOpts: {\n ariaLabel: typeof label === 'string' ? label : '',\n ariaRole: 'link',\n ...item.itemOpts,\n selectable: true,\n },\n }}\n shadowStyle={shadowStyle}\n >\n <Grid cols={['38px']} gutter=\"1px\" pl={0} justifyItems=\"center\" data-testid=\"leftnav-leftcomponent\">\n <CollapsedComponent item={item} ctx={ctx} />\n </Grid>\n <StyledLabel\n ml=\"1px\"\n mt=\"xxxs\"\n mb=\"15px\"\n data-testid={labelDataTestId || 'leftnav-itemlabel'}\n labelOverflow={labelOverflow}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <Grid mt=\"xxxs\" pr=\"xxs2\" data-testid=\"leftnav-right-component\">\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </Grid>\n </ItemRenderer>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADCvB,mBAAmC;AACnC,qBAAiB;AACjB,uCAA2C;AAC3C,8BAA6B;AAE7B,oBAA4B;AAG5B,MAAM,uBAAuB,CAAC,eAAwB,CAAC,UACrD;AAAA,gCAC8B,aAAa,MAAM,OAAO,MAAM,OAAO;AAAA;AAAA;AAAA,kCAGrC,aAAa,MAAM,OAAO,MAAM,OAAO,MAAM,OAAO,MAAM;AAAA;AAAA;AAAA;AAA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|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/outOfTheBox/ItemSubmenu/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable max-lines */\n/* eslint-disable complexity */\n/* eslint-disable indent */\nimport React, { useCallback } from 'react';\nimport Grid from '@elliemae/ds-grid';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ItemRenderer } from '../../exported-related/index';\nimport type { ComponentProps } from '../../index.d';\nimport { StyledLabel, StyledChevronLeft } from './styled';\nimport { CHEVRON_BACK_DS_ID } from '../../exported-related/constants';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst notOpenedShadowStyle = (isSelected: boolean) => (theme: any) =>\n `\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : 'transparent'};\n\n :hover {\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : theme.colors.brand[300]};\n }\n\n :active {\n box-shadow: inset 4px 0 0 0 ${theme.colors.brand[400]};\n }\n`;\n\nexport const ItemSubmenu = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n dsId,\n itemOpts: { label, RightComponent, BottomComponent, labelDataTestId },\n CollapsedComponent = () => null,\n },\n ctx,\n ctx: {\n leftNavProps: { openedItem, labelOverflow, onItemClick },\n expandedForAnimation,\n selectedItem,\n selectedParent,\n setFocusedItem,\n },\n } = props;\n\n const opened = openedItem === dsId;\n\n const isSelected = selectedItem === dsId;\n\n const shadowStyle = useCallback(\n (opened) => (theme: any) =>\n !opened ? notOpenedShadowStyle(isSelected || selectedParent === dsId)(theme) : `box-shadow: inset 4px 0 0 0 #52A6EC`,\n [dsId, isSelected, openedItem, selectedParent],\n );\n\n const ariaLabel = item.itemOpts.ariaLabel ?? (typeof label === 'string' ? label : 'menuitem');\n\n return (\n <ItemRenderer\n item={{\n ...item,\n itemOpts: {\n ...item.itemOpts,\n ariaLabel,\n ariaExpanded: opened,\n openable: expandedForAnimation && !opened,\n closable: expandedForAnimation && opened,\n selectable: !opened,\n },\n }}\n shadowStyle={shadowStyle}\n hasBorderBottom={opened}\n borderBottomMr=\"12px\"\n >\n <Grid\n cols={opened ? ['auto', 'auto'] : ['38px']}\n gutter=\"1px\"\n pl={opened ? 'xxs' : 0}\n justifyItems=\"center\"\n data-testid=\"leftnav-leftcomponent\"\n >\n {opened && (\n <StyledChevronLeft\n size=\"m\"\n color={['brand-primary', 800]}\n onClick={(e) => {\n onItemClick(item, e);\n }}\n data-testid=\"leftnav-leftcomponent-chevron\"\n tabIndex={0}\n onFocus={(e) => {\n e.stopPropagation();\n setFocusedItem(CHEVRON_BACK_DS_ID);\n }}\n role=\"button\"\n aria-label={`Close ${ariaLabel}`}\n />\n )}\n <CollapsedComponent item={item} ctx={ctx} />\n </Grid>\n <StyledLabel\n ml={opened ? 'xxs' : '1px'}\n mt=\"xxxs\"\n mb=\"15px\"\n data-testid={labelDataTestId || 'leftnav-itemlabel'}\n labelOverflow={labelOverflow}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <Grid\n pl=\"xs\"\n pr={opened ? 'xxs2' : 'xxs'}\n onFocus={(e) => {\n e.stopPropagation();\n setFocusedItem(null);\n }}\n onKeyDown={(e) => e.stopPropagation()}\n onClick={(e) => (openedItem === dsId) && e.stopPropagation()}\n data-testid=\"leftnav-right-component\"\n >\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </Grid>\n {BottomComponent && (\n <Grid\n style={{ gridColumn: 'span 3' }}\n pb=\"xxxs\"\n pl=\"xxs\"\n pr=\"xxs\"\n onFocus={(e) => {\n e.stopPropagation();\n setFocusedItem(null);\n }}\n onKeyDown={(e) => e.stopPropagation()}\n onClick={(e) => openedItem && e.stopPropagation()}\n >\n <BottomComponent ctx={ctx} item={item} />\n </Grid>\n )}\n </ItemRenderer>\n );\n};\n", "import * as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EAAE;AAAA,KAEhC,mDAAC,iBAAD;AAAA,IAAiB;AAAA,IAAU;AAAA;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/LeftNavigationContext.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { createContext, MutableRefObject, RefObject } from 'react';\nimport type { LeftNavProps, LabelOveflowT } from './index.d';\n\nexport type ContextProps = {\n selectedItem: string;\n setSelectedItem: React.Dispatch<React.SetStateAction<string>>;\n focusedItem: string;\n setFocusedItem: React.Dispatch<React.SetStateAction<string>>;\n openedDrilldowns: string[];\n setOpenedDrilldowns: React.Dispatch<React.SetStateAction<string[]>>;\n visibleItems: string[];\n visibleItemsRefs: MutableRefObject<Record<string, RefObject<HTMLElement>>>;\n leftNavProps: LeftNavProps;\n expandedForAnimation: boolean;\n};\n\nexport const defaultProps: LeftNavProps = {\n expandedWidth: '240px',\n tabIndex: 0,\n loading: false,\n expanded: false,\n openedItem: null,\n footerLabel: '',\n onSelectedChange: () => null,\n onFocusChange: () => null,\n onFooterExpand: () => null,\n onFooterClose: () => null,\n items: [],\n labelOverflow: 'wrap' as LabelOveflowT,\n onItemClick: () => null,\n};\n\nexport const defaultContext: ContextProps = {\n leftNavProps: defaultProps,\n selectedItem: null,\n setSelectedItem: () => null,\n focusedItem: null,\n setFocusedItem: () => null,\n expandedForAnimation: true,\n openedDrilldowns: [],\n setOpenedDrilldowns: () => null,\n visibleItems: [],\n visibleItemsRefs: { current: {} },\n};\n\nexport const LeftNavContext = createContext<ContextProps>(defaultContext);\n\nexport default LeftNavContext;\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AAgBO,MAAM,eAA6B;AAAA,EACxC,eAAe;AAAA,EACf,UAAU;AAAA,EACV,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,kBAAkB,MAAM;AAAA,EACxB,eAAe,MAAM;AAAA,EACrB,gBAAgB,MAAM;AAAA,EACtB,eAAe,MAAM;AAAA,EACrB,OAAO;AAAA,EACP,eAAe;AAAA,EACf,aAAa,MAAM;AAAA;AAGd,MAAM,iBAA+B;AAAA,EAC1C,cAAc;AAAA,EACd,cAAc;AAAA,EACd,iBAAiB,MAAM;AAAA,EACvB,aAAa;AAAA,EACb,gBAAgB,MAAM;AAAA,EACtB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,qBAAqB,MAAM;AAAA,EAC3B,cAAc;AAAA,EACd,kBAAkB,EAAE,SAAS;AAAA;AAGxB,MAAM,iBAAiB,cAA4B;AAE1D,IAAO,gCAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/configs/useLeftNavConfig.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport type { LeftNavProps } from '../index.d';\nimport { ContextProps } from '../LeftNavigationContext';\nimport useLeftNavItems from './useLeftNavItems';\nimport { useLeftNavSmoothExpand } from './useLeftNavSmoothExpand';\nimport { useSelectFirstBodyItem } from '../hooks/useSelectFirstBodyItem';\n\nexport const useLeftNavConfig = (props: LeftNavProps): ContextProps => {\n const { expanded, openedItem, onSelectedChange, onFocusChange, items } = props;\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * INTERNAL STATE *\n // ************************** ------------ **************************\n // Selection related\n const [selectedItem, setSelectedItem] = React.useState(null);\n const [selectedSubitem, setSelectedSubitem] = React.useState(null);\n const [selectedParent, setSelectedParent] = React.useState(null);\n // Focus related\n const [focusedItem, setFocusedItem] = React.useState(null);\n // Opened uncontrolled drilldowns\n const [openedDrilldowns, setOpenedDrilldowns] = React.useState<string[]>([]);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * EXPAND ANIMATION *\n // ************************** ------------ **************************\n const [expandedForAnimation, setExpandedForAnimation] = React.useState(expanded);\n const timeoutRef = React.useRef<ReturnType<typeof setTimeout>>(null);\n const smoothExpandOpts = React.useMemo(\n () => ({\n expandedForAnimation,\n timeoutRef,\n setExpandedForAnimation,\n }),\n [expandedForAnimation, timeoutRef, setExpandedForAnimation],\n );\n useLeftNavSmoothExpand(props, smoothExpandOpts);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * SIDE EFFECTS *\n // ************************** ------------ **************************\n React.useEffect(() => {\n onSelectedChange(selectedItem);\n }, [selectedItem, onSelectedChange]);\n\n React.useEffect(() => {\n if (openedItem !== null) setSelectedParent(openedItem);\n }, [openedItem]);\n\n React.useEffect(() => {\n onFocusChange(focusedItem);\n }, [focusedItem, onFocusChange]);\n\n useSelectFirstBodyItem(\n items,\n openedItem,\n props.selectedItem !== undefined ? props.selectedItem : selectedItem,\n setSelectedItem,\n props.disableDefaultSelection,\n );\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * ITEMS MANAGEMENT *\n // ************************** ------------ **************************\n\n const leftNavItemsProps = React.useMemo(\n () => ({\n headerItem: props.HeaderComponent,\n bodyHeaderItem: props.BodyHeaderComponent,\n items: props.items,\n openedDrilldowns,\n }),\n [props.HeaderComponent, props.BodyHeaderComponent, props.items, openedDrilldowns],\n );\n\n // We need to know the current visible items since we have drilldowns\n const { visibleItems, visibleItemsRefs } = useLeftNavItems(leftNavItemsProps);\n\n // -----------------------------------------------------------------------------\n // ************************** ------------ **************************\n // * LEFTNAV CONFIG *\n // ************************** ------------ **************************\n const finalConfig = React.useMemo(\n () => ({\n leftNavProps: props,\n expandedForAnimation,\n selectedItem: props.selectedItem !== undefined ? props.selectedItem : selectedItem,\n setSelectedItem,\n selectedParent: props.selectedParent !== undefined ? props.selectedParent : selectedParent,\n setSelectedParent,\n focusedItem,\n setFocusedItem,\n openedDrilldowns,\n setOpenedDrilldowns,\n visibleItems,\n visibleItemsRefs,\n }),\n [\n props,\n expandedForAnimation,\n selectedItem,\n setSelectedItem,\n setSelectedParent,\n selectedParent,\n focusedItem,\n setFocusedItem,\n openedDrilldowns,\n setOpenedDrilldowns,\n visibleItems,\n visibleItemsRefs,\n ],\n );\n\n return finalConfig;\n};\n\nexport default useLeftNavConfig;\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AAGA;AACA;AACA;AAEO,MAAM,mBAAmB,CAAC,UAAsC;AACrE,QAAM,EAAE,UAAU,YAAY,kBAAkB,eAAe,UAAU;AAOzE,QAAM,CAAC,cAAc,mBAAmB,OAAM,SAAS;AACvD,QAAM,CAAC,iBAAiB,sBAAsB,OAAM,SAAS;AAC7D,QAAM,CAAC,gBAAgB,qBAAqB,OAAM,SAAS;AAE3D,QAAM,CAAC,aAAa,kBAAkB,OAAM,SAAS;AAErD,QAAM,CAAC,kBAAkB,uBAAuB,OAAM,SAAmB;AAMzE,QAAM,CAAC,sBAAsB,2BAA2B,OAAM,SAAS;AACvE,QAAM,aAAa,OAAM,OAAsC;AAC/D,QAAM,mBAAmB,OAAM,QAC7B,MAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,MAEF,CAAC,sBAAsB,YAAY;AAErC,yBAAuB,OAAO;AAM9B,SAAM,UAAU,MAAM;AACpB,qBAAiB;AAAA,KAChB,CAAC,cAAc;AAElB,SAAM,UAAU,MAAM;AACpB,QAAI,eAAe;AAAM,wBAAkB;AAAA,KAC1C,CAAC;AAEJ,SAAM,UAAU,MAAM;AACpB,kBAAc;AAAA,KACb,CAAC,aAAa;AAEjB,yBACE,OACA,YACA,MAAM,iBAAiB,SAAY,MAAM,eAAe,cACxD,iBACA,MAAM;AAQR,QAAM,oBAAoB,OAAM,QAC9B,MAAO;AAAA,IACL,YAAY,MAAM;AAAA,IAClB,gBAAgB,MAAM;AAAA,IACtB,OAAO,MAAM;AAAA,IACb;AAAA,MAEF,CAAC,MAAM,iBAAiB,MAAM,qBAAqB,MAAM,OAAO;AAIlE,QAAM,EAAE,cAAc,qBAAqB,gBAAgB;AAM3D,QAAM,cAAc,OAAM,QACxB,MAAO;AAAA,IACL,cAAc;AAAA,IACd;AAAA,IACA,cAAc,MAAM,iBAAiB,SAAY,MAAM,eAAe;AAAA,IACtE;AAAA,IACA,gBAAgB,MAAM,mBAAmB,SAAY,MAAM,iBAAiB;AAAA,IAC5E;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,MAEF;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAIJ,SAAO;AAAA;AAGT,IAAO,2BAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/configs/useLeftNavSmoothExpand.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport type { LeftNavProps } from '../index.d';\n\ninterface smoothExpandOptsT {\n expandedForAnimation: boolean;\n timeoutRef: React.MutableRefObject<NodeJS.Timeout>;\n setExpandedForAnimation: React.Dispatch<React.SetStateAction<boolean>>;\n}\nexport const useLeftNavSmoothExpand = (\n props: LeftNavProps,\n smoothExpandOpts: smoothExpandOptsT,\n): void => {\n const { expanded } = props;\n const {\n expandedForAnimation,\n timeoutRef,\n setExpandedForAnimation,\n } = smoothExpandOpts;\n\n React.useEffect(() => {\n // If expanded changes, we need to smoothly transition to the non-expanded state\n // so we need to wait for 350ms\n if (!expanded && expandedForAnimation) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = setTimeout(\n () => setExpandedForAnimation(false),\n 350,\n );\n } else if (expanded) setExpandedForAnimation(true);\n }, [expanded]);\n\n React.useEffect(() => () => clearTimeout(timeoutRef.current), []);\n};\n\nexport default useLeftNavSmoothExpand;\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AAQO,MAAM,yBAAyB,CACpC,OACA,qBACS;AACT,QAAM,EAAE,aAAa;AACrB,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,MACE;AAEJ,SAAM,UAAU,MAAM;AAGpB,QAAI,CAAC,YAAY,sBAAsB;AACrC,mBAAa,WAAW;AACxB,iBAAW,UAAU,WACnB,MAAM,wBAAwB,QAC9B;AAAA,eAEO;AAAU,8BAAwB;AAAA,KAC5C,CAAC;AAEJ,SAAM,UAAU,MAAM,MAAM,aAAa,WAAW,UAAU;AAAA;AAGhE,IAAO,iCAAQ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/hooks/useSelectFirstBodyItem.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useEffect } from 'react';\nimport { GenericItemItemProps } from '../index.d';\nimport { ITEM_TYPES } from '../exported-related/constants';\n\nconst { LEFT_NAV_ITEM_SEPARATOR, LEFT_NAV_ITEM_SECTION } = ITEM_TYPES;\n\nconst isSelectableOutOfTheBox = (elem: GenericItemItemProps) =>\n typeof elem.type === 'string' && elem.type !== LEFT_NAV_ITEM_SEPARATOR && elem.type !== LEFT_NAV_ITEM_SECTION;\nconst isSelectableCustom = (elem: GenericItemItemProps) => elem.itemOpts.selectable;\n\nconst isItemInsideTheTree = (item: GenericItemItemProps, itemID: string) =>\n item.dsId === itemID || item?.itemOpts?.items?.some((it) => isItemInsideTheTree(it, itemID));\n\nexport const useSelectFirstBodyItem = (\n items: GenericItemItemProps[],\n openedItem: string,\n selectedItem: string,\n setSelectedItem: React.Dispatch<React.SetStateAction<string>>,\n disableDefaultSelection: boolean,\n): void => {\n useEffect(() => {\n if (!disableDefaultSelection && items && items.length && openedItem) {\n const index = items.findIndex((elem) => isSelectableOutOfTheBox(elem) || isSelectableCustom(elem));\n const isItemInside = items.some((it) => isItemInsideTheTree(it, selectedItem));\n if (isItemInside) setSelectedItem(selectedItem);\n else if (index !== -1) setSelectedItem(items[index].dsId);\n }\n }, [openedItem, setSelectedItem, disableDefaultSelection]);\n};\n"],
|
|
5
|
-
"mappings": "AAAA;ACAA;AAEA;AAEA,MAAM,EAAE,yBAAyB,0BAA0B;AAE3D,MAAM,0BAA0B,CAAC,SAC/B,OAAO,KAAK,SAAS,YAAY,KAAK,SAAS,2BAA2B,KAAK,SAAS;AAC1F,MAAM,qBAAqB,CAAC,SAA+B,KAAK,SAAS;AAEzE,MAAM,sBAAsB,CAAC,MAA4B,WACvD,KAAK,SAAS,UAAU,MAAM,UAAU,OAAO,KAAK,CAAC,OAAO,oBAAoB,IAAI;AAE/E,MAAM,yBAAyB,CACpC,OACA,YACA,cACA,iBACA,4BACS;AACT,YAAU,MAAM;AACd,QAAI,CAAC,2BAA2B,SAAS,MAAM,UAAU,YAAY;AACnE,YAAM,QAAQ,MAAM,UAAU,CAAC,SAAS,wBAAwB,SAAS,mBAAmB;AAC5F,YAAM,eAAe,MAAM,KAAK,CAAC,OAAO,oBAAoB,IAAI;AAChE,UAAI;AAAc,wBAAgB;AAAA,eACzB,UAAU;AAAI,wBAAgB,MAAM,OAAO;AAAA;AAAA,KAErD,CAAC,YAAY,iBAAiB;AAAA;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/outOfTheBox/ItemHeader/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React, { useCallback } from 'react';\nimport Grid from '@elliemae/ds-grid';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ItemRenderer } from '../../exported-related/index';\nimport type { ComponentProps } from '../../index.d';\nimport { StyledLabel, StyledChevronLeft } from './styled';\nimport { CHEVRON_BACK_DS_ID } from '../../exported-related/constants';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst notOpenedShadowStyle = (isSelected: boolean) => (theme: any) =>\n `\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : 'transparent'};\n\n :hover {\n box-shadow: inset 4px 0 0 0 ${isSelected ? theme.colors.brand[400] : theme.colors.brand[300]};\n }\n\n :active {\n box-shadow: inset 4px 0 0 0 ${theme.colors.brand[400]};\n }\n`;\n\nexport const ItemHeader = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n dsId,\n itemOpts: { label, RightComponent, BottomComponent, labelDataTestId },\n CollapsedComponent = () => null,\n },\n ctx,\n ctx: {\n leftNavProps: { openedItem, labelOverflow, onItemClick },\n expandedForAnimation,\n setFocusedItem,\n selectedItem,\n selectedParent,\n },\n } = props;\n\n const opened = openedItem === dsId;\n\n const ariaLabel = item.itemOpts.ariaLabel ?? (typeof label === 'string' ? label : 'menuitem');\n\n const isSelected = selectedItem === dsId || selectedParent === dsId;\n\n const shadowStyle = useCallback(\n (opened) => (theme: any) =>\n !opened ? notOpenedShadowStyle(isSelected)(theme) : `box-shadow: inset 4px 0 0 0 #52A6EC`,\n [isSelected, openedItem],\n );\n\n return (\n <ItemRenderer\n item={{\n ...item,\n itemOpts: {\n ariaLabel,\n ariaExpanded: opened,\n ...item.itemOpts,\n openable: expandedForAnimation && !opened,\n closable: expandedForAnimation && opened,\n selectable: !opened,\n },\n }}\n hasBorderBottom\n borderBottomMr={opened ? '12px' : '0px'}\n shadowStyle={shadowStyle}\n >\n <Grid\n cols={opened ? ['auto', 'auto'] : ['38px']}\n gutter=\"1px\"\n pl={opened ? 'xxs' : 0}\n justifyItems=\"center\"\n data-testid=\"leftnav-leftcomponent\"\n >\n {opened && (\n <StyledChevronLeft\n size=\"m\"\n color={['brand-primary', 800]}\n onClick={(e) => {\n onItemClick(item, e);\n }}\n data-testid=\"leftnav-leftcomponent-chevron\"\n tabIndex={0}\n onFocus={(e) => {\n e.stopPropagation();\n setFocusedItem(CHEVRON_BACK_DS_ID);\n }}\n role=\"button\"\n aria-label={`Close ${ariaLabel}`}\n />\n )}\n <CollapsedComponent item={item} ctx={ctx} />\n </Grid>\n <StyledLabel\n ml={opened ? 'xxs' : '1px'}\n mt=\"xxxs\"\n mb=\"15px\"\n data-testid={labelDataTestId || 'leftnav-itemlabel'}\n labelOverflow={labelOverflow}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <Grid\n pl=\"xs\"\n pr={opened ? 'xxs2' : 'xxs'}\n onFocus={(e) => {\n setFocusedItem(null);\n e.stopPropagation();\n }}\n onKeyDown={(e) => e.stopPropagation()}\n data-testid=\"leftnav-right-component\"\n >\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </Grid>\n {BottomComponent && (\n <Grid\n style={{ gridColumn: 'span 3' }}\n pb=\"xxxs\"\n pl=\"xxs\"\n pr=\"xxs\"\n onFocus={(e) => {\n setFocusedItem(null);\n e.stopPropagation();\n }}\n onKeyDown={(e) => e.stopPropagation()}\n >\n <BottomComponent ctx={ctx} item={item} />\n </Grid>\n )}\n </ItemRenderer>\n );\n};\n"],
|
|
5
|
-
"mappings": "AAAA;ACEA;AACA;AACA;AACA;AAEA;AACA;AAGA,MAAM,uBAAuB,CAAC,eAAwB,CAAC,UACrD;AAAA,gCAC8B,aAAa,MAAM,OAAO,MAAM,OAAO;AAAA;AAAA;AAAA,kCAGrC,aAAa,MAAM,OAAO,MAAM,OAAO,MAAM,OAAO,MAAM;AAAA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