@elliemae/ds-left-navigation 3.12.0-rc.2 → 3.12.0-rc.21
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/LeftNavigation.js +1 -4
- package/dist/cjs/LeftNavigation.js.map +1 -1
- package/dist/cjs/exported-related/ChevronItem/index.js +1 -5
- package/dist/cjs/exported-related/ChevronItem/index.js.map +1 -1
- package/dist/cjs/exported-related/Icon/index.js +1 -5
- package/dist/cjs/exported-related/Icon/index.js.map +1 -1
- package/dist/cjs/exported-related/ItemRenderer/index.js +10 -19
- package/dist/cjs/exported-related/ItemRenderer/index.js.map +1 -1
- package/dist/cjs/exported-related/Notifications/index.js +8 -46
- package/dist/cjs/exported-related/Notifications/index.js.map +1 -1
- package/dist/cjs/exported-related/OpenWindowItem/index.js +1 -5
- package/dist/cjs/exported-related/OpenWindowItem/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemControlledDrilldown/index.js +50 -68
- package/dist/cjs/outOfTheBox/ItemControlledDrilldown/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemHeader/index.js +87 -81
- package/dist/cjs/outOfTheBox/ItemHeader/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemLink/index.js +30 -44
- package/dist/cjs/outOfTheBox/ItemLink/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemSection/index.js +34 -44
- package/dist/cjs/outOfTheBox/ItemSection/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemSeparator/index.js +16 -15
- package/dist/cjs/outOfTheBox/ItemSeparator/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemSubmenu/index.js +90 -84
- package/dist/cjs/outOfTheBox/ItemSubmenu/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemTextLabel/index.js +28 -25
- package/dist/cjs/outOfTheBox/ItemTextLabel/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js +51 -69
- package/dist/cjs/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +1 -1
- package/dist/cjs/outOfTheBox/ItemWithDate/index.js +41 -42
- package/dist/cjs/outOfTheBox/ItemWithDate/index.js.map +1 -1
- package/dist/cjs/parts/LeftNavContent/index.js +51 -54
- package/dist/cjs/parts/LeftNavContent/index.js.map +1 -1
- package/dist/cjs/parts/LeftNavFooterItem/index.js +19 -24
- package/dist/cjs/parts/LeftNavFooterItem/index.js.map +1 -1
- package/dist/cjs/parts/LeftNavLoading/index.js +5 -4
- package/dist/cjs/parts/LeftNavLoading/index.js.map +1 -1
- package/dist/cjs/parts/OutOfTheBoxMapItem.js +2 -8
- package/dist/cjs/parts/OutOfTheBoxMapItem.js.map +1 -1
- package/dist/esm/LeftNavigation.js +1 -4
- package/dist/esm/LeftNavigation.js.map +1 -1
- package/dist/esm/exported-related/ChevronItem/index.js +1 -5
- package/dist/esm/exported-related/ChevronItem/index.js.map +1 -1
- package/dist/esm/exported-related/Icon/index.js +1 -5
- package/dist/esm/exported-related/Icon/index.js.map +1 -1
- package/dist/esm/exported-related/ItemRenderer/index.js +10 -19
- package/dist/esm/exported-related/ItemRenderer/index.js.map +1 -1
- package/dist/esm/exported-related/Notifications/index.js +8 -46
- package/dist/esm/exported-related/Notifications/index.js.map +1 -1
- package/dist/esm/exported-related/OpenWindowItem/index.js +1 -5
- package/dist/esm/exported-related/OpenWindowItem/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemControlledDrilldown/index.js +50 -68
- package/dist/esm/outOfTheBox/ItemControlledDrilldown/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemHeader/index.js +87 -81
- package/dist/esm/outOfTheBox/ItemHeader/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemLink/index.js +30 -44
- package/dist/esm/outOfTheBox/ItemLink/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemSection/index.js +34 -44
- package/dist/esm/outOfTheBox/ItemSection/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemSeparator/index.js +16 -15
- package/dist/esm/outOfTheBox/ItemSeparator/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemSubmenu/index.js +90 -84
- package/dist/esm/outOfTheBox/ItemSubmenu/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemTextLabel/index.js +28 -25
- package/dist/esm/outOfTheBox/ItemTextLabel/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemUncontrolledDrilldown/index.js +51 -69
- package/dist/esm/outOfTheBox/ItemUncontrolledDrilldown/index.js.map +1 -1
- package/dist/esm/outOfTheBox/ItemWithDate/index.js +41 -42
- package/dist/esm/outOfTheBox/ItemWithDate/index.js.map +1 -1
- package/dist/esm/parts/LeftNavContent/index.js +51 -54
- package/dist/esm/parts/LeftNavContent/index.js.map +1 -1
- package/dist/esm/parts/LeftNavFooterItem/index.js +19 -24
- package/dist/esm/parts/LeftNavFooterItem/index.js.map +1 -1
- package/dist/esm/parts/LeftNavLoading/index.js +5 -4
- package/dist/esm/parts/LeftNavLoading/index.js.map +1 -1
- package/dist/esm/parts/OutOfTheBoxMapItem.js +2 -8
- package/dist/esm/parts/OutOfTheBoxMapItem.js.map +1 -1
- package/package.json +7 -7
|
@@ -26,17 +26,11 @@ const OutOfTheBoxMapSubitem = (props) => {
|
|
|
26
26
|
...item,
|
|
27
27
|
itemOpts: { ...item.itemOpts, indent: currentIndent + 44 }
|
|
28
28
|
};
|
|
29
|
-
return /* @__PURE__ */ jsx(OutOfTheBoxComponent, {
|
|
30
|
-
item: newItem,
|
|
31
|
-
ctx
|
|
32
|
-
});
|
|
29
|
+
return /* @__PURE__ */ jsx(OutOfTheBoxComponent, { item: newItem, ctx });
|
|
33
30
|
}
|
|
34
31
|
if (!Component)
|
|
35
32
|
return null;
|
|
36
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
37
|
-
item,
|
|
38
|
-
ctx
|
|
39
|
-
});
|
|
33
|
+
return /* @__PURE__ */ jsx(Component, { item, ctx });
|
|
40
34
|
};
|
|
41
35
|
const ItemUncontrolledDrilldown = (props) => {
|
|
42
36
|
const {
|
|
@@ -70,19 +64,12 @@ const ItemUncontrolledDrilldown = (props) => {
|
|
|
70
64
|
const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;
|
|
71
65
|
const arrowIcon = useMemo(() => {
|
|
72
66
|
const Component = opened ? ArrowheadDown : ArrowheadRight;
|
|
73
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
74
|
-
width: "24px",
|
|
75
|
-
height: "18px",
|
|
76
|
-
color: ["brand-primary", "800"]
|
|
77
|
-
});
|
|
67
|
+
return /* @__PURE__ */ jsx(Component, { width: "24px", height: "18px", color: ["brand-primary", "800"] });
|
|
78
68
|
}, [opened]);
|
|
79
69
|
const subitems = useMemo(() => {
|
|
80
70
|
if (!opened || !items)
|
|
81
71
|
return [];
|
|
82
|
-
return items.map((subitem) => /* @__PURE__ */ jsx(OutOfTheBoxMapSubitem, {
|
|
83
|
-
item: subitem,
|
|
84
|
-
ctx
|
|
85
|
-
}, subitem.dsId));
|
|
72
|
+
return items.map((subitem) => /* @__PURE__ */ jsx(OutOfTheBoxMapSubitem, { item: subitem, ctx }, subitem.dsId));
|
|
86
73
|
}, [ctx, items, opened]);
|
|
87
74
|
const handleOnClick = useCallback(() => {
|
|
88
75
|
if (opened)
|
|
@@ -90,59 +77,54 @@ const ItemUncontrolledDrilldown = (props) => {
|
|
|
90
77
|
else
|
|
91
78
|
setOpenedDrilldowns([...openedDrilldowns, dsId]);
|
|
92
79
|
}, [opened, setOpenedDrilldowns, openedDrilldowns, dsId]);
|
|
93
|
-
return /* @__PURE__ */ jsxs(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
80
|
+
return /* @__PURE__ */ jsxs(
|
|
81
|
+
ItemRenderer,
|
|
82
|
+
{
|
|
83
|
+
item: {
|
|
84
|
+
...item,
|
|
85
|
+
itemOpts: {
|
|
86
|
+
ariaExpanded: opened,
|
|
87
|
+
ariaRole: "menuitem",
|
|
88
|
+
...item.itemOpts,
|
|
89
|
+
openable: !opened,
|
|
90
|
+
closable: opened
|
|
91
|
+
},
|
|
92
|
+
CollapsedComponent: null
|
|
102
93
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}),
|
|
138
|
-
RightComponent && /* @__PURE__ */ jsx(RightComponent, {
|
|
139
|
-
ctx,
|
|
140
|
-
item
|
|
141
|
-
})
|
|
142
|
-
]
|
|
143
|
-
})
|
|
144
|
-
]
|
|
145
|
-
});
|
|
94
|
+
subitems,
|
|
95
|
+
minHeight: "32px",
|
|
96
|
+
paddingTop: "8px",
|
|
97
|
+
onClick: handleOnClick,
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ jsx(StyledArrowContainer, { pl: "xxs", mt: "-2px", children: arrowIcon }),
|
|
100
|
+
/* @__PURE__ */ jsx(
|
|
101
|
+
StyledLabel,
|
|
102
|
+
{
|
|
103
|
+
pb: "xxxs",
|
|
104
|
+
"data-testid": labelDataTestId || "leftnav-list-item-label",
|
|
105
|
+
labelOverflow,
|
|
106
|
+
labelBold,
|
|
107
|
+
labelColor,
|
|
108
|
+
children: labelOverflow === "truncate" ? /* @__PURE__ */ jsx(SimpleTruncatedTooltipText, { value: label, placement: "bottom-start" }) : label
|
|
109
|
+
}
|
|
110
|
+
),
|
|
111
|
+
/* @__PURE__ */ jsxs(
|
|
112
|
+
StyledRightContainer,
|
|
113
|
+
{
|
|
114
|
+
pr: "xxs2",
|
|
115
|
+
cols: ["auto", "auto"],
|
|
116
|
+
alignItems: "center",
|
|
117
|
+
gutter: "xxs",
|
|
118
|
+
"data-testid": "leftnav-right-component",
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ jsx(StyledDate, { ml: "xxs", "data-testid": "leftnav-list-item-date", children: labelRightSection }),
|
|
121
|
+
RightComponent && /* @__PURE__ */ jsx(RightComponent, { ctx, item })
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
);
|
|
146
128
|
};
|
|
147
129
|
export {
|
|
148
130
|
ItemUncontrolledDrilldown
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/outOfTheBox/ItemUncontrolledDrilldown/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\nimport React, { useMemo, useCallback, useEffect } from 'react';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ArrowheadDown, ArrowheadRight } from '@elliemae/ds-icons';\nimport { ItemRenderer, ITEM_TYPES } from '../../exported-related/index';\nimport { StyledLabel, StyledDate, StyledRightContainer, StyledArrowContainer } from '../styled';\nimport { ItemSeparator } from '../ItemSeparator';\nimport { ItemWithDate } from '../ItemWithDate';\nimport { ItemTextLabel } from '../ItemTextLabel';\nimport type { ComponentProps } from '../../index.d';\n\n// Subitem mapping\nconst outOfTheBoxSubitemsComponents: Record<string, React.ComponentType<ComponentProps>> = {\n [ITEM_TYPES.LEFT_NAV_ITEM_SEPARATOR]: ItemSeparator,\n [ITEM_TYPES.LEFT_NAV_ITEM_WITH_DATE]: ItemWithDate,\n [ITEM_TYPES.LEFT_NAV_ITEM_TEXT_LABEL]: ItemTextLabel,\n};\n\nconst OutOfTheBoxMapSubitem: React.ComponentType<ComponentProps> = (props) => {\n const {\n item,\n item: { type, Component },\n ctx,\n } = props;\n\n if (typeof type === 'string' && !!outOfTheBoxSubitemsComponents[type]) {\n const OutOfTheBoxComponent = outOfTheBoxSubitemsComponents[type];\n const currentIndent = item.itemOpts?.indent ?? 0;\n const newItem = {\n ...item,\n itemOpts: { ...item.itemOpts, indent: currentIndent + 44 },\n };\n return <OutOfTheBoxComponent item={newItem} ctx={ctx} />;\n }\n if (!Component) return null;\n // we expect an error to be threw if Component is not defined and type is not a valid out-of-the-box...\n return <Component item={item} ctx={ctx} />;\n};\n\nexport const ItemUncontrolledDrilldown = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n dsId,\n itemOpts: {\n label,\n RightComponent,\n labelRightSection,\n labelOverflow: itemLabelOverflow,\n labelBold,\n labelColor,\n startOpened,\n items,\n labelDataTestId,\n },\n },\n ctx,\n ctx: {\n leftNavProps: { labelOverflow: leftNavLabelOverflow },\n openedDrilldowns,\n setOpenedDrilldowns,\n },\n } = props;\n\n // Start opened functionality\n useEffect(() => {\n if (startOpened) setOpenedDrilldowns([...openedDrilldowns, dsId as string]);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const opened = openedDrilldowns.includes(dsId as string);\n\n const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;\n\n const arrowIcon = useMemo(() => {\n const Component = opened ? ArrowheadDown : ArrowheadRight;\n return <Component width=\"24px\" height=\"18px\" color={['brand-primary', '800']} />;\n }, [opened]);\n\n // Array of subitems\n const subitems = useMemo(() => {\n if (!opened || !items) return [];\n return items.map((subitem) => <OutOfTheBoxMapSubitem item={subitem} ctx={ctx} key={subitem.dsId} />);\n }, [ctx, items, opened]);\n\n const handleOnClick = useCallback(() => {\n if (opened) setOpenedDrilldowns(openedDrilldowns.filter((openedDrilldown) => openedDrilldown !== dsId));\n else setOpenedDrilldowns([...openedDrilldowns, dsId as string]);\n }, [opened, setOpenedDrilldowns, openedDrilldowns, dsId]);\n\n return (\n <ItemRenderer\n item={{\n ...item,\n itemOpts: {\n ariaExpanded: opened,\n ariaRole: 'menuitem',\n ...item.itemOpts,\n openable: !opened,\n closable: opened,\n },\n CollapsedComponent: null,\n }}\n subitems={subitems}\n minHeight=\"32px\"\n paddingTop=\"8px\"\n onClick={handleOnClick}\n >\n <StyledArrowContainer pl=\"xxs\" mt=\"-2px\">\n {arrowIcon}\n </StyledArrowContainer>\n <StyledLabel\n pb=\"xxxs\"\n data-testid={labelDataTestId || 'leftnav-list-item-label'}\n labelOverflow={labelOverflow}\n labelBold={labelBold}\n labelColor={labelColor}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <StyledRightContainer\n pr=\"xxs2\"\n cols={['auto', 'auto']}\n alignItems=\"center\"\n gutter=\"xxs\"\n data-testid=\"leftnav-right-component\"\n >\n <StyledDate ml=\"xxs\" data-testid=\"leftnav-list-item-date\">\n {labelRightSection}\n </StyledDate>\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </StyledRightContainer>\n </ItemRenderer>\n );\n};\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACgCZ,cAwFL,YAxFK;AA/BX,SAAgB,SAAS,aAAa,iBAAiB;AACvD,SAAS,kCAAkC;AAC3C,SAAS,eAAe,sBAAsB;AAC9C,SAAS,cAAc,kBAAkB;AACzC,SAAS,aAAa,YAAY,sBAAsB,4BAA4B;AACpF,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAC7B,SAAS,qBAAqB;AAI9B,MAAM,gCAAqF;AAAA,EACzF,CAAC,WAAW,0BAA0B;AAAA,EACtC,CAAC,WAAW,0BAA0B;AAAA,EACtC,CAAC,WAAW,2BAA2B;AACzC;AAEA,MAAM,wBAA6D,CAAC,UA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,UAAU;AAAA,UACR,cAAc;AAAA,UACd,UAAU;AAAA,UACV,GAAG,KAAK;AAAA,UACR,UAAU,CAAC;AAAA,UACX,UAAU;AAAA,QACZ;AAAA,QACA,oBAAoB;AAAA,MACtB;AAAA,MACA;AAAA,MACA,WAAU;AAAA,MACV,YAAW;AAAA,MACX,SAAS;AAAA,MAET;AAAA,4BAAC,wBAAqB,IAAG,OAAM,IAAG,QAC/B,qBACH;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,IAAG;AAAA,YACH,eAAa,mBAAmB;AAAA,YAChC;AAAA,YACA;AAAA,YACA;AAAA,YAEC,4BAAkB,aAAa,oBAAC,8BAA2B,OAAO,OAAO,WAAU,gBAAe,IAAK;AAAA;AAAA,QAC1G;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,IAAG;AAAA,YACH,MAAM,CAAC,QAAQ,MAAM;AAAA,YACrB,YAAW;AAAA,YACX,QAAO;AAAA,YACP,eAAY;AAAA,YAEZ;AAAA,kCAAC,cAAW,IAAG,OAAM,eAAY,0BAC9B,6BACH;AAAA,cACC,kBAAkB,oBAAC,kBAAe,KAAU,MAAY;AAAA;AAAA;AAAA,QAC3D;AAAA;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -23,48 +23,47 @@ const ItemWithDate = (props) => {
|
|
|
23
23
|
}
|
|
24
24
|
} = props;
|
|
25
25
|
const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;
|
|
26
|
-
return /* @__PURE__ */ jsxs(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"data-testid": "leftnav-
|
|
58
|
-
children:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
});
|
|
26
|
+
return /* @__PURE__ */ jsxs(
|
|
27
|
+
ItemRenderer,
|
|
28
|
+
{
|
|
29
|
+
item: {
|
|
30
|
+
...item,
|
|
31
|
+
CollapsedComponent: null
|
|
32
|
+
},
|
|
33
|
+
minHeight: "32px",
|
|
34
|
+
paddingTop: "8px",
|
|
35
|
+
children: [
|
|
36
|
+
" ",
|
|
37
|
+
/* @__PURE__ */ jsx("div", {}),
|
|
38
|
+
/* @__PURE__ */ jsx(
|
|
39
|
+
StyledLabel,
|
|
40
|
+
{
|
|
41
|
+
pl: "xxs",
|
|
42
|
+
pb: "xxxs",
|
|
43
|
+
"data-testid": labelDataTestId || "leftnav-list-item-label",
|
|
44
|
+
labelOverflow,
|
|
45
|
+
labelBold,
|
|
46
|
+
labelColor,
|
|
47
|
+
children: labelOverflow === "truncate" ? /* @__PURE__ */ jsx(SimpleTruncatedTooltipText, { value: label, placement: "bottom-start" }) : label
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ jsxs(
|
|
51
|
+
StyledRightContainer,
|
|
52
|
+
{
|
|
53
|
+
pr: "xxs2",
|
|
54
|
+
cols: ["auto", "auto"],
|
|
55
|
+
alignItems: "center",
|
|
56
|
+
gutter: "xxs",
|
|
57
|
+
"data-testid": "leftnav-right-component",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ jsx(StyledDate, { ml: "xxs", "data-testid": "leftnav-list-item-date", children: labelRightSection }),
|
|
60
|
+
RightComponent && /* @__PURE__ */ jsx(RightComponent, { ctx, item })
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
);
|
|
68
67
|
};
|
|
69
68
|
export {
|
|
70
69
|
ItemWithDate
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/outOfTheBox/ItemWithDate/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { ItemRenderer } from '../../exported-related/index';\nimport type { ComponentProps } from '../../index.d';\nimport { StyledRightContainer, StyledLabel, StyledDate } from '../styled';\n\nexport const ItemWithDate = (props: ComponentProps): JSX.Element => {\n const {\n item,\n item: {\n itemOpts: {\n label,\n RightComponent,\n labelRightSection,\n labelOverflow: itemLabelOverflow,\n labelBold,\n labelColor,\n labelDataTestId,\n },\n },\n ctx,\n ctx: {\n leftNavProps: { labelOverflow: leftNavLabelOverflow },\n },\n } = props;\n\n const labelOverflow = itemLabelOverflow || leftNavLabelOverflow;\n\n return (\n <ItemRenderer\n item={{\n ...item,\n CollapsedComponent: null,\n }}\n minHeight=\"32px\"\n paddingTop=\"8px\"\n >\n {/* Empty LeftComponent */} <div />\n <StyledLabel\n pl=\"xxs\"\n pb=\"xxxs\"\n data-testid={labelDataTestId || 'leftnav-list-item-label'}\n labelOverflow={labelOverflow}\n labelBold={labelBold}\n labelColor={labelColor}\n >\n {labelOverflow === 'truncate' ? <SimpleTruncatedTooltipText value={label} placement=\"bottom-start\" /> : label}\n </StyledLabel>\n <StyledRightContainer\n pr=\"xxs2\"\n cols={['auto', 'auto']}\n alignItems=\"center\"\n gutter=\"xxs\"\n data-testid=\"leftnav-right-component\"\n >\n <StyledDate ml=\"xxs\" data-testid=\"leftnav-list-item-date\">\n {labelRightSection}\n </StyledDate>\n {RightComponent && <RightComponent ctx={ctx} item={item} />}\n </StyledRightCont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AAA,YACA;AAAA,YACA;AAAA,YAEC,4BAAkB,aAAa,oBAAC,8BAA2B,OAAO,OAAO,WAAU,gBAAe,IAAK;AAAA;AAAA,QAC1G;AAAA,QACA;AAAA,UAAC;AAAA;AAAA,YACC,IAAG;AAAA,YACH,MAAM,CAAC,QAAQ,MAAM;AAAA,YACrB,YAAW;AAAA,YACX,QAAO;AAAA,YACP,eAAY;AAAA,YAEZ;AAAA,kCAAC,cAAW,IAAG,OAAM,eAAY,0BAC9B,6BACH;AAAA,cACC,kBAAkB,oBAAC,kBAAe,KAAU,MAAY;AAAA;AAAA;AAAA,QAC3D;AAAA;AAAA;AAAA,EACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -20,38 +20,35 @@ const LeftNavInnerContent = () => {
|
|
|
20
20
|
leftNavProps: { HeaderComponent, BodyHeaderComponent, openedItem, items, withoutBodyShadow },
|
|
21
21
|
selectedItem
|
|
22
22
|
} = React2.useContext(LeftNavContext);
|
|
23
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
StyledLeftNavHeaderArea,
|
|
26
|
+
{
|
|
26
27
|
"data-testid": "leftnav-header-area",
|
|
27
28
|
selected: !!HeaderComponent && [selectedItem, openedItem].includes(HeaderComponent.dsId),
|
|
28
|
-
children: HeaderComponent ? /* @__PURE__ */ jsx(OutOfTheBoxMapItem, {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
});
|
|
29
|
+
children: HeaderComponent ? /* @__PURE__ */ jsx(OutOfTheBoxMapItem, { item: HeaderComponent }) : null
|
|
30
|
+
}
|
|
31
|
+
),
|
|
32
|
+
/* @__PURE__ */ jsxs(StyledLeftNavBodyAreasContainer, { cols: ["1fr"], rows: ["auto", "1fr"], children: [
|
|
33
|
+
/* @__PURE__ */ jsx(
|
|
34
|
+
StyledLeftNavBodyHeaderArea,
|
|
35
|
+
{
|
|
36
|
+
"data-testid": "leftnav-body-header-area",
|
|
37
|
+
selected: !!BodyHeaderComponent && [selectedItem, openedItem].includes(BodyHeaderComponent.dsId),
|
|
38
|
+
children: BodyHeaderComponent ? /* @__PURE__ */ jsx(OutOfTheBoxMapItem, { item: BodyHeaderComponent }) : null
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ jsx(
|
|
42
|
+
StyledLeftNavBodyItemsArea,
|
|
43
|
+
{
|
|
44
|
+
selected: !withoutBodyShadow && openedItem !== null,
|
|
45
|
+
"data-testid": "leftnav-body-items-area",
|
|
46
|
+
tabIndex: -1,
|
|
47
|
+
children: items.map((item) => /* @__PURE__ */ jsx(OutOfTheBoxMapItem, { item }, item.dsId))
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] })
|
|
51
|
+
] });
|
|
55
52
|
};
|
|
56
53
|
const LeftNavContent = () => {
|
|
57
54
|
const {
|
|
@@ -60,31 +57,31 @@ const LeftNavContent = () => {
|
|
|
60
57
|
leftNavProps
|
|
61
58
|
} = React2.useContext(LeftNavContext);
|
|
62
59
|
const globalProps = useGetGlobalAttributes(leftNavProps);
|
|
63
|
-
return /* @__PURE__ */ jsx(
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"data-testid": "leftnav-component",
|
|
67
|
-
"aria-label": leftNavScreenReaderInstructions,
|
|
68
|
-
role: "menu",
|
|
69
|
-
...globalProps,
|
|
70
|
-
children: /* @__PURE__ */ jsxs(StyledLeftNavAreasContainer, {
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
StyledLeftNavExpandAnimationWrapper,
|
|
62
|
+
{
|
|
71
63
|
expandedWidth,
|
|
72
|
-
expanded
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
64
|
+
expanded,
|
|
65
|
+
"data-testid": "leftnav-component",
|
|
66
|
+
"aria-label": leftNavScreenReaderInstructions,
|
|
67
|
+
role: "menu",
|
|
68
|
+
...globalProps,
|
|
69
|
+
children: /* @__PURE__ */ jsxs(
|
|
70
|
+
StyledLeftNavAreasContainer,
|
|
71
|
+
{
|
|
72
|
+
expandedWidth,
|
|
73
|
+
expanded: expandedForAnimation,
|
|
74
|
+
rows: ["auto", "1fr", "auto"],
|
|
75
|
+
cols: ["1fr"],
|
|
76
|
+
children: [
|
|
77
|
+
loading && /* @__PURE__ */ jsx(LeftNavLoading, { expanded: expandedForAnimation }),
|
|
78
|
+
!loading && /* @__PURE__ */ jsx(LeftNavInnerContent, {}),
|
|
79
|
+
/* @__PURE__ */ jsx(LeftNavFooterItem, { footerLabel, onFooterExpand, onFooterClose })
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
);
|
|
88
85
|
};
|
|
89
86
|
var LeftNavContent_default = LeftNavContent;
|
|
90
87
|
export {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/LeftNavContent/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useGetGlobalAttributes } from '@elliemae/ds-utilities';\nimport { LeftNavContext } from '../../LeftNavigationContext';\nimport { LeftNavFooterItem } from '../LeftNavFooterItem';\nimport { OutOfTheBoxMapItem } from '../OutOfTheBoxMapItem';\nimport {\n StyledLeftNavExpandAnimationWrapper,\n StyledLeftNavAreasContainer,\n StyledLeftNavHeaderArea,\n StyledLeftNavBodyAreasContainer,\n StyledLeftNavBodyHeaderArea,\n StyledLeftNavBodyItemsArea,\n StyledLeftNavContentWithScrollbar,\n} from './styled';\nimport { LeftNavLoading } from '../LeftNavLoading';\n\nconst leftNavScreenReaderInstructions =\n 'Left Navigation. You can navigate through the items using the Up/Down arrows. ' +\n 'To expand or select an item, use the Enter/Return or Space keys. ' +\n 'Expandable items can also be opened/closed with the Right/Left arrows. ' +\n 'The Home and End keys will take you to the first and last item respectively.';\n\nconst LeftNavInnerContent = () => {\n const {\n leftNavProps: { HeaderComponent, BodyHeaderComponent, openedItem, items, withoutBodyShadow },\n selectedItem,\n } = React.useContext(LeftNavContext);\n return (\n <>\n <StyledLeftNavHeaderArea\n data-testid=\"leftnav-header-area\"\n selected={!!HeaderComponent && [selectedItem, openedItem].includes(HeaderComponent.dsId as string)}\n >\n {HeaderComponent ? <OutOfTheBoxMapItem item={HeaderComponent} /> : null}\n </StyledLeftNavHeaderArea>\n <StyledLeftNavBodyAreasContainer cols={['1fr']} rows={['auto', '1fr']}>\n <StyledLeftNavBodyHeaderArea\n data-testid=\"leftnav-body-header-area\"\n selected={!!BodyHeaderComponent && [selectedItem, openedItem].includes(BodyHeaderComponent.dsId as string)}\n >\n {BodyHeaderComponent ? <OutOfTheBoxMapItem item={BodyHeaderComponent} /> : null}\n </StyledLeftNavBodyHeaderArea>\n <StyledLeftNavBodyItemsArea\n selected={!withoutBodyShadow && openedItem !== null}\n data-testid=\"leftnav-body-items-area\"\n tabIndex={-1}\n >\n {items.map((item) => (\n <OutOfTheBoxMapItem item={item} key={item.dsId} />\n ))}\n </StyledLeftNavBodyItemsArea>\n </StyledLeftNavBodyAreasContainer>\n </>\n );\n};\n\nconst LeftNavContent: React.ComponentType = () => {\n const {\n expandedForAnimation,\n leftNavProps: { expanded, expandedWidth, footerLabel, onFooterExpand, onFooterClose, loading },\n leftNavProps,\n } = React.useContext(LeftNavContext);\n\n const globalProps = useGetGlobalAttributes(leftNavProps);\n\n return (\n <StyledLeftNavExpandAnimationWrapper\n expandedWidth={expandedWidth}\n expanded={expanded}\n data-testid=\"leftnav-component\"\n aria-label={leftNavScreenReaderInstructions}\n role=\"menu\"\n {...globalProps}\n >\n <StyledLeftNavAreasContainer\n expandedWidth={expandedWidth}\n expanded={expandedForAnimation}\n rows={['auto', '1fr', 'auto']}\n cols={['1fr']}\n >\n {loading && <LeftNavLoading expanded={expandedForAnimation} />}\n {!loading && <LeftNavInnerContent />}\n <LeftNavFooterItem footerLabel={footerLabel} onFooterExpand={onFooterExpand} onFooterClose={onFooterClose} />\n </StyledLeftNavAreasContainer>\n </StyledLeftNavExpandAnimationWrapper>\n );\n};\n\nexport default LeftNavContent;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;AC4BnB,mBAKuB,KAErB,YAPF;AA5BJ,OAAOA,YAAW;AAClB,SAAS,8BAA8B;AACvC,SAAS,sBAAsB;AAC/B,SAAS,yBAAyB;AAClC,SAAS,0BAA0B;AACnC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,sBAAsB;AAE/B,MAAM,kCACJ;AAKF,MAAM,sBAAsB,MAAM;AAChC,QAAM;AAAA,IACJ,cAAc,EAAE,iBAAiB,qBAAqB,YAAY,OAAO,kBAAkB;AAAA,IAC3F;AAAA,EACF,IAAIA,OAAM,WAAW,cAAc;AACnC,SACE;AAAA
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC4BnB,mBAKuB,KAErB,YAPF;AA5BJ,OAAOA,YAAW;AAClB,SAAS,8BAA8B;AACvC,SAAS,sBAAsB;AAC/B,SAAS,yBAA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,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,eAAY;AAAA,MACZ,cAAY;AAAA,MACZ,MAAK;AAAA,MACJ,GAAG;AAAA,MAEJ;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA,UAAU;AAAA,UACV,MAAM,CAAC,QAAQ,OAAO,MAAM;AAAA,UAC5B,MAAM,CAAC,KAAK;AAAA,UAEX;AAAA,uBAAW,oBAAC,kBAAe,UAAU,sBAAsB;AAAA,YAC3D,CAAC,WAAW,oBAAC,uBAAoB;AAAA,YAClC,oBAAC,qBAAkB,aAA0B,gBAAgC,eAA8B;AAAA;AAAA;AAAA,MAC7G;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,yBAAQ;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
|
@@ -34,9 +34,9 @@ const LeftNavFooterItem = (props) => {
|
|
|
34
34
|
},
|
|
35
35
|
onClick: handleOnClick
|
|
36
36
|
});
|
|
37
|
-
return /* @__PURE__ */ jsx(StyledFooterMenu, {
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
return /* @__PURE__ */ jsx(StyledFooterMenu, { "data-testid": "leftnav-container", children: /* @__PURE__ */ jsx(
|
|
38
|
+
StyledFooterItem,
|
|
39
|
+
{
|
|
40
40
|
ref: visibleItemsRefs.current[id],
|
|
41
41
|
tabIndex: expandedForAnimation ? -1 : 0,
|
|
42
42
|
expanded: expandedForAnimation,
|
|
@@ -51,28 +51,23 @@ const LeftNavFooterItem = (props) => {
|
|
|
51
51
|
"data-testid": "leftnav-item-container",
|
|
52
52
|
role: "menuitem",
|
|
53
53
|
"aria-label": expandedForAnimation ? `Footer, ${typeof footerLabel === "string" ? footerLabel : ""}` : `Expand left navigation`,
|
|
54
|
-
children: !expandedForAnimation ? /* @__PURE__ */ jsx(MenuExpand, {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}) : /* @__PURE__ */ jsxs(Fragment, {
|
|
59
|
-
children: [
|
|
60
|
-
/* @__PURE__ */ jsx(StyledFooterLabel, {
|
|
54
|
+
children: !expandedForAnimation ? /* @__PURE__ */ jsx(MenuExpand, { size: "m", color: ["brand-primary", 800], "data-testid": "leftnav-footer-btn" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
55
|
+
/* @__PURE__ */ jsx(
|
|
56
|
+
StyledFooterLabel,
|
|
57
|
+
{
|
|
61
58
|
mt: "5px",
|
|
62
59
|
mr: "12px",
|
|
63
60
|
mb: "16px",
|
|
64
61
|
"data-testid": "leftnav-itemlabel",
|
|
65
62
|
labelOverflow,
|
|
66
63
|
"aria-live": "polite",
|
|
67
|
-
children: labelOverflow === "truncate" ? /* @__PURE__ */ jsx(SimpleTruncatedTooltipText, {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}),
|
|
75
|
-
/* @__PURE__ */ jsx(StyledMenuCollapse, {
|
|
64
|
+
children: labelOverflow === "truncate" ? /* @__PURE__ */ jsx(SimpleTruncatedTooltipText, { value: footerLabel, placement: "bottom-start" }) : footerLabel
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ jsx(StyledFooterSeparator, { mt: "xxxs" }),
|
|
68
|
+
/* @__PURE__ */ jsx(
|
|
69
|
+
StyledMenuCollapse,
|
|
70
|
+
{
|
|
76
71
|
size: "m",
|
|
77
72
|
color: ["brand-primary", 800],
|
|
78
73
|
onClick: (e) => {
|
|
@@ -87,11 +82,11 @@ const LeftNavFooterItem = (props) => {
|
|
|
87
82
|
},
|
|
88
83
|
role: "button",
|
|
89
84
|
"aria-label": "Collapse left navigation"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
})
|
|
93
|
-
}
|
|
94
|
-
}, id);
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
] })
|
|
88
|
+
}
|
|
89
|
+
) }, id);
|
|
95
90
|
};
|
|
96
91
|
var LeftNavFooterItem_default = LeftNavFooterItem;
|
|
97
92
|
export {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/LeftNavFooterItem/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable max-lines */\nimport React, { useContext } from 'react';\nimport { MenuExpand } from '@elliemae/ds-icons';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport {\n StyledFooterMenu,\n StyledFooterItem,\n StyledFooterWrapper,\n StyledFooterLabel,\n StyledFooterSeparator,\n StyledMenuCollapse,\n} from './styled';\nimport { useKeyboardNavigation } from '../../hooks';\nimport LeftNavigationContext from '../../LeftNavigationContext';\nimport { FOOTER_DS_ID, FOOTER_MENU_CLOSE_DS_ID } from '../../exported-related/constants';\n\ntype LeftNavFooterItemProps = {\n footerLabel: string | JSX.Element;\n onFooterExpand: React.MouseEventHandler & React.KeyboardEventHandler;\n onFooterClose: React.MouseEventHandler & React.KeyboardEventHandler;\n};\n\nexport const LeftNavFooterItem: React.ComponentType<LeftNavFooterItemProps> = (props) => {\n const { footerLabel, onFooterExpand = () => null, onFooterClose = () => null } = props;\n const {\n leftNavProps: { labelOverflow },\n expandedForAnimation,\n setFocusedItem,\n visibleItemsRefs,\n } = useContext(LeftNavigationContext);\n\n const id = FOOTER_DS_ID;\n\n const handleOnClick = expandedForAnimation ? onFooterClose : onFooterExpand;\n\n const onKeyDown = useKeyboardNavigation({\n item: {\n dsId: id,\n itemOpts: {\n selectable: !expandedForAnimation,\n openable: false,\n closable: false,\n },\n },\n onClick: handleOnClick,\n });\n\n return (\n <StyledFooterMenu key={id} data-testid=\"leftnav-container\">\n <StyledFooterItem\n ref={visibleItemsRefs.current[id] as React.RefObject<HTMLDivElement>}\n tabIndex={expandedForAnimation ? -1 : 0}\n expanded={expandedForAnimation}\n pt=\"xxs2\"\n height={expandedForAnimation ? 'auto' : '48px'}\n alignItems=\"flex-start\"\n pl=\"xxs2\"\n cols={expandedForAnimation ? ['auto', '1fr', 'auto'] : ['38px']}\n onClick={expandedForAnimation ? () => null : handleOnClick}\n onKeyDown={onKeyDown}\n onFocus={() => setFocusedItem(id)}\n data-testid=\"leftnav-item-container\"\n role=\"menuitem\"\n aria-label={\n expandedForAnimation\n ? `Footer, ${typeof footerLabel === 'string' ? footerLabel : ''}`\n : `Expand left navigation`\n }\n >\n {!expandedForAnimation ? (\n <MenuExpand size=\"m\" color={['brand-primary', 800]} data-testid=\"leftnav-footer-btn\" />\n ) : (\n <>\n <StyledFooterLabel\n mt=\"5px\"\n mr=\"12px\"\n mb=\"16px\"\n data-testid=\"leftnav-itemlabel\"\n labelOverflow={labelOverflow}\n aria-live=\"polite\"\n >\n {labelOverflow === 'truncate' ? (\n <SimpleTruncatedTooltipText value={footerLabel} placement=\"bottom-start\" />\n ) : (\n footerLabel\n )}\n </StyledFooterLabel>\n <StyledFooterSeparator mt=\"xxxs\" />\n <StyledMenuCollapse\n size=\"m\"\n color={['brand-primary', 800]}\n onClick={(e: React.MouseEvent) => {\n e.stopPropagation();\n handleOnClick(e);\n }}\n data-testid=\"leftnav-footer-btn\"\n tabIndex={0}\n onFocus={(e: React.FocusEvent) => {\n e.stopPropagation();\n setFocusedItem(FOOTER_MENU_CLOSE_DS_ID);\n }}\n role=\"button\"\n aria-label=\"Collapse left navigation\"\n />\n </>\n )}\n </StyledFooterItem>\n </StyledFooterMenu>\n );\n};\n\nexport default LeftNavFooterItem;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACsEb,SAEA,UAFA,KAEA,YAFA;AArEV,SAAgB,kBAAkB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,kCAAkC;AAC3C;AAAA,EACE;AAAA,EACA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,6BAA6B;AACtC,OAAO,2BAA2B;AAClC,SAAS,cAAc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A,IAAO,4BAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -11,15 +11,16 @@ const StyledLoaderWrapper = styled(Grid, { name: DSLeftNavigationName, slot: DSL
|
|
|
11
11
|
z-index: 0;
|
|
12
12
|
background-color: white;
|
|
13
13
|
`;
|
|
14
|
-
const LeftNavLoading = ({ expanded }) => /* @__PURE__ */ jsx(StyledLoaderWrapper, {
|
|
15
|
-
|
|
14
|
+
const LeftNavLoading = ({ expanded }) => /* @__PURE__ */ jsx(StyledLoaderWrapper, { children: /* @__PURE__ */ jsx(
|
|
15
|
+
DSCircularProgressIndicator,
|
|
16
|
+
{
|
|
16
17
|
size: expanded ? "xl" : "m",
|
|
17
18
|
loading: true,
|
|
18
19
|
showLabel: expanded,
|
|
19
20
|
waiting: false,
|
|
20
21
|
showTooltip: !expanded
|
|
21
|
-
}
|
|
22
|
-
});
|
|
22
|
+
}
|
|
23
|
+
) });
|
|
23
24
|
export {
|
|
24
25
|
LeftNavLoading
|
|
25
26
|
};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/parts/LeftNavLoading/index.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport DSCircularProgressIndicator from '@elliemae/ds-circular-progress-indicator';\nimport Grid from '@elliemae/ds-grid';\nimport { styled } from '@elliemae/ds-system';\nimport { DSLeftNavigationName, DSLeftNavigationSlots } from '../../constants';\n\nconst StyledLoaderWrapper = styled(Grid, { name: DSLeftNavigationName, slot: DSLeftNavigationSlots.LOADER_WRAPPER })`\n grid-area: left-nav-body;\n height: 100%;\n place-items: center;\n z-index: 0;\n background-color: white;\n`;\n\nexport const LeftNavLoading: React.ComponentType<{ expanded: boolean }> = ({ expanded }) => (\n <StyledLoaderWrapper>\n <DSCircularProgressIndicator\n size={expanded ? 'xl' : 'm'}\n loading\n showLabel={expanded}\n waiting={false}\n showTooltip={!expanded}\n />\n </StyledLoaderWrapper>\n);\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACgBnB;AAfJ,OAAO,iCAAiC;AACxC,OAAO,UAAU;AACjB,SAAS,cAAc;AACvB,SAAS,sBAAsB,6BAA6B;AAE5D,MAAM,sBAAsB,OAAO,MAAM,EAAE,MAAM,sBAAsB,MAAM,sBAAsB,eAAe,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ5G,MAAM,iBAA6D,CAAC,EAAE,SAAS,MACpF,oBAAC;AAAA,
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACgBnB;AAfJ,OAAO,iCAAiC;AACxC,OAAO,UAAU;AACjB,SAAS,cAAc;AACvB,SAAS,sBAAsB,6BAA6B;AAE5D,MAAM,sBAAsB,OAAO,MAAM,EAAE,MAAM,sBAAsB,MAAM,sBAAsB,eAAe,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQ5G,MAAM,iBAA6D,CAAC,EAAE,SAAS,MACpF,oBAAC,uBACC;AAAA,EAAC;AAAA;AAAA,IACC,MAAM,WAAW,OAAO;AAAA,IACxB,SAAO;AAAA,IACP,WAAW;AAAA,IACX,SAAS;AAAA,IACT,aAAa,CAAC;AAAA;AAChB,GACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -11,17 +11,11 @@ const OutOfTheBoxMapItem = (props) => {
|
|
|
11
11
|
const ctx = React2.useContext(LeftNavContext);
|
|
12
12
|
if (typeof type === "string" && !!outOfTheBoxComponents[type]) {
|
|
13
13
|
const OutOfTheBoxComponent = outOfTheBoxComponents[type];
|
|
14
|
-
return /* @__PURE__ */ jsx(OutOfTheBoxComponent, {
|
|
15
|
-
item: { itemOpts: {}, ...item },
|
|
16
|
-
ctx
|
|
17
|
-
});
|
|
14
|
+
return /* @__PURE__ */ jsx(OutOfTheBoxComponent, { item: { itemOpts: {}, ...item }, ctx });
|
|
18
15
|
}
|
|
19
16
|
if (!Component)
|
|
20
17
|
return null;
|
|
21
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
22
|
-
item,
|
|
23
|
-
ctx
|
|
24
|
-
});
|
|
18
|
+
return /* @__PURE__ */ jsx(Component, { item, ctx });
|
|
25
19
|
};
|
|
26
20
|
export {
|
|
27
21
|
OutOfTheBoxMapItem
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/parts/OutOfTheBoxMapItem.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { outOfTheBoxComponents } from '../outOfTheBox';\nimport type { OutOfTheBoxMapItemT } from '../index.d';\nimport { LeftNavContext } from '../LeftNavigationContext';\n\nexport const OutOfTheBoxMapItem: React.ComponentType<OutOfTheBoxMapItemT> = (props) => {\n const {\n item,\n item: { type, Component },\n } = props;\n const ctx = React.useContext(LeftNavContext);\n\n if (typeof type === 'string' && !!outOfTheBoxComponents[type]) {\n const OutOfTheBoxComponent = outOfTheBoxComponents[type];\n return <OutOfTheBoxComponent item={{ itemOpts: {}, ...item }} ctx={ctx} />;\n }\n if (!Component) return null;\n // we expect an error to be threw if Component is not defined and type is not a valid out-of-the-box...\n return <Component item={item} ctx={ctx} />;\n};\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACcZ;AAdX,OAAOA,YAAW;AAClB,SAAS,6BAA6B;AAEtC,SAAS,sBAAsB;AAExB,MAAM,qBAA+D,CAAC,UAAU;AACrF,QAAM;AAAA,IACJ;AAAA,IACA,MAAM,EAAE,MAAM,UAAU;AAAA,EAC1B,IAAI;AACJ,QAAM,MAAMA,OAAM,WAAW,cAAc;AAE3C,MAAI,OAAO,SAAS,YAAY,CAAC,CAAC,sBAAsB,OAAO;AAC7D,UAAM,uBAAuB,sBAAsB;AACnD,WAAO,oBAAC
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACcZ;AAdX,OAAOA,YAAW;AAClB,SAAS,6BAA6B;AAEtC,SAAS,sBAAsB;AAExB,MAAM,qBAA+D,CAAC,UAAU;AACrF,QAAM;AAAA,IACJ;AAAA,IACA,MAAM,EAAE,MAAM,UAAU;AAAA,EAC1B,IAAI;AACJ,QAAM,MAAMA,OAAM,WAAW,cAAc;AAE3C,MAAI,OAAO,SAAS,YAAY,CAAC,CAAC,sBAAsB,OAAO;AAC7D,UAAM,uBAAuB,sBAAsB;AACnD,WAAO,oBAAC,wBAAqB,MAAM,EAAE,UAAU,CAAC,GAAG,GAAG,KAAK,GAAG,KAAU;AAAA,EAC1E;AACA,MAAI,CAAC;AAAW,WAAO;AAEvB,SAAO,oBAAC,aAAU,MAAY,KAAU;AAC1C;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-left-navigation",
|
|
3
|
-
"version": "3.12.0-rc.
|
|
3
|
+
"version": "3.12.0-rc.21",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Left Navigation",
|
|
6
6
|
"files": [
|
|
@@ -235,12 +235,12 @@
|
|
|
235
235
|
"typeSafety": false
|
|
236
236
|
},
|
|
237
237
|
"dependencies": {
|
|
238
|
-
"@elliemae/ds-circular-progress-indicator": "3.12.0-rc.
|
|
239
|
-
"@elliemae/ds-grid": "3.12.0-rc.
|
|
240
|
-
"@elliemae/ds-
|
|
241
|
-
"@elliemae/ds-system": "3.12.0-rc.
|
|
242
|
-
"@elliemae/ds-
|
|
243
|
-
"@elliemae/ds-utilities": "3.12.0-rc.
|
|
238
|
+
"@elliemae/ds-circular-progress-indicator": "3.12.0-rc.21",
|
|
239
|
+
"@elliemae/ds-grid": "3.12.0-rc.21",
|
|
240
|
+
"@elliemae/ds-truncated-tooltip-text": "3.12.0-rc.21",
|
|
241
|
+
"@elliemae/ds-system": "3.12.0-rc.21",
|
|
242
|
+
"@elliemae/ds-icons": "3.12.0-rc.21",
|
|
243
|
+
"@elliemae/ds-utilities": "3.12.0-rc.21"
|
|
244
244
|
},
|
|
245
245
|
"devDependencies": {
|
|
246
246
|
"@testing-library/react": "~12.1.3",
|