@elliemae/ds-data-table 3.70.0-next.4 → 3.70.0-next.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/dist/cjs/TruncatedTooltipText.js +4 -2
- package/dist/cjs/TruncatedTooltipText.js.map +2 -2
- package/dist/cjs/exported-related/FilterPopover/index.js +33 -32
- package/dist/cjs/exported-related/FilterPopover/index.js.map +3 -3
- package/dist/esm/TruncatedTooltipText.js +4 -2
- package/dist/esm/TruncatedTooltipText.js.map +2 -2
- package/dist/esm/exported-related/FilterPopover/index.js +33 -32
- package/dist/esm/exported-related/FilterPopover/index.js.map +2 -2
- package/package.json +30 -31
|
@@ -45,13 +45,15 @@ const TruncatedSpan = import_ds_system.styled.span`
|
|
|
45
45
|
max-width: 100%;
|
|
46
46
|
`;
|
|
47
47
|
const TooltipContainer = import_ds_system.styled.div`
|
|
48
|
-
text-align:
|
|
48
|
+
text-align: center;
|
|
49
49
|
min-width: ${({ theme }) => theme.space.l};
|
|
50
50
|
max-width: 250px;
|
|
51
|
+
overflow-wrap: break-word;
|
|
52
|
+
word-break: break-word;
|
|
51
53
|
min-height: 30px;
|
|
52
54
|
display: grid;
|
|
53
55
|
align-items: center;
|
|
54
|
-
padding: ${({ theme }) => `${theme.space.
|
|
56
|
+
padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};
|
|
55
57
|
position: relative;
|
|
56
58
|
background-color: white;
|
|
57
59
|
border-radius: 2px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/TruncatedTooltipText.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align:
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
4
|
+
"sourcesContent": ["import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align: center;\n min-width: ${({ theme }) => theme.space.l};\n max-width: 250px;\n overflow-wrap: break-word;\n word-break: break-word;\n min-height: 30px;\n display: grid;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};\n position: relative;\n background-color: white;\n border-radius: 2px;\n font-size: 13px;\n color: ${({ theme }) => theme.colors.neutral[600]};\n pointer-events: none;\n`;\n\ninterface TruncatedTooltipTextProps {\n // Accepts ReactNode so JSX cell renderers can be passed as value\n value?: React.ReactNode;\n placement?: DSHookFloatingContextT.PopperPlacementsT;\n}\n\nconst TruncatedTooltipText = ({ value = '', placement = 'top' }: TruncatedTooltipTextProps) => {\n const [showTooltip, setShowTooltip] = useState(false);\n\n const { refs, floatingStyles, arrowStyles, context } = useFloatingContext({\n placement,\n externallyControlledIsOpen: showTooltip,\n withoutAnimation: true,\n });\n\n const handleMouseEnter = useCallback((e: React.MouseEvent<HTMLSpanElement>) => {\n const el = e.currentTarget;\n setShowTooltip(el.offsetWidth < el.scrollWidth);\n }, []);\n\n const handleMouseLeave = useCallback(() => {\n setShowTooltip(false);\n }, []);\n\n return (\n <>\n <TruncatedSpan innerRef={refs.setReference} onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n {value}\n </TruncatedSpan>\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={showTooltip}\n floatingStyles={floatingStyles}\n context={context}\n >\n <TooltipContainer>\n {value}\n <PopoverArrow {...arrowStyles} />\n </TooltipContainer>\n </FloatingWrapper>\n </>\n );\n};\n\nexport { TruncatedTooltipText };\nexport default TruncatedTooltipText;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD6DnB;AA7DJ,mBAA6C;AAC7C,uBAAuB;AACvB,iCAKO;AAEP,MAAM,gBAAgB,wBAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAS7B,MAAM,mBAAmB,wBAAO;AAAA;AAAA,eAEjB,CAAC,EAAE,MAAM,MAAM,MAAM,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAO9B,CAAC,EAAE,MAAM,MAAM,GAAG,MAAM,MAAM,GAAG,IAAI,MAAM,MAAM,EAAE,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA,WAKvD,CAAC,EAAE,MAAM,MAAM,MAAM,OAAO,QAAQ,GAAG,CAAC;AAAA;AAAA;AAUnD,MAAM,uBAAuB,CAAC,EAAE,QAAQ,IAAI,YAAY,MAAM,MAAiC;AAC7F,QAAM,CAAC,aAAa,cAAc,QAAI,uBAAS,KAAK;AAEpD,QAAM,EAAE,MAAM,gBAAgB,aAAa,QAAQ,QAAI,+CAAmB;AAAA,IACxE;AAAA,IACA,4BAA4B;AAAA,IAC5B,kBAAkB;AAAA,EACpB,CAAC;AAED,QAAM,uBAAmB,0BAAY,CAAC,MAAyC;AAC7E,UAAM,KAAK,EAAE;AACb,mBAAe,GAAG,cAAc,GAAG,WAAW;AAAA,EAChD,GAAG,CAAC,CAAC;AAEL,QAAM,uBAAmB,0BAAY,MAAM;AACzC,mBAAe,KAAK;AAAA,EACtB,GAAG,CAAC,CAAC;AAEL,SACE,4EACE;AAAA,gDAAC,iBAAc,UAAU,KAAK,cAAc,cAAc,kBAAkB,cAAc,kBACvF,iBACH;AAAA,IACA;AAAA,MAAC;AAAA;AAAA,QACC,UAAU,KAAK;AAAA,QACf,QAAQ;AAAA,QACR;AAAA,QACA;AAAA,QAEA,uDAAC,oBACE;AAAA;AAAA,UACD,4CAAC,2CAAc,GAAG,aAAa;AAAA,WACjC;AAAA;AAAA,IACF;AAAA,KACF;AAEJ;AAGA,IAAO,+BAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -35,25 +35,15 @@ var React = __toESM(require("react"));
|
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
36
|
var import_ds_button_v2 = require("@elliemae/ds-button-v2");
|
|
37
37
|
var import_ds_hooks_focus_trap = require("@elliemae/ds-hooks-focus-trap");
|
|
38
|
-
var
|
|
38
|
+
var import_ds_floating_context = require("@elliemae/ds-floating-context");
|
|
39
39
|
var import_ds_system = require("@elliemae/ds-system");
|
|
40
40
|
var import_react = require("react");
|
|
41
41
|
var import_constants = require("../../configs/constants.js");
|
|
42
42
|
var import_createInternalAndPropsContext = require("../../configs/useStore/createInternalAndPropsContext.js");
|
|
43
|
-
var import_constants2 = require("../../constants/index.js");
|
|
44
43
|
var import_useGetFilterHandlers = require("./useGetFilterHandlers.js");
|
|
45
44
|
var import_useGetFilterVisibility = require("./useGetFilterVisibility.js");
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
${(props) => props.hide ? "opacity: 0; display: none; width: 0;" : ""}
|
|
49
|
-
`;
|
|
50
|
-
const PopperContent = (0, import_ds_system.styled)("div", { name: import_constants2.DSDataTableName, slot: import_constants2.DSDataTableSlots.FILTER_POPOVER_CONTENT })`
|
|
51
|
-
background-color: #fff;
|
|
52
|
-
`;
|
|
53
|
-
const StyledPoppoverJS = (0, import_ds_system.styled)(import_ds_popperjs.DSPopperJS, {
|
|
54
|
-
name: import_constants2.DSDataTableName,
|
|
55
|
-
slot: import_constants2.DSDataTableSlots.FILTER_POPOVER
|
|
56
|
-
})``;
|
|
45
|
+
var import_useOnClickOutside = require("./useOnClickOutside.js");
|
|
46
|
+
var import_styled = require("./styled.js");
|
|
57
47
|
const FilterPopover = (props) => {
|
|
58
48
|
const {
|
|
59
49
|
column,
|
|
@@ -79,17 +69,33 @@ const FilterPopover = (props) => {
|
|
|
79
69
|
const [buttonReference, setButtonReference] = (0, import_react.useState)(null);
|
|
80
70
|
const [isButtonFocused, setIsButtonFocused] = (0, import_react.useState)(false);
|
|
81
71
|
const { handleTriggerClick, handleClickOutsideMenu, handleMenuOnKeyDown, handleTriggerOnFocus, handleTriggerOnBlur } = (0, import_useGetFilterHandlers.useGetFilterHandlers)(props, isMenuOpen, buttonReference, setIsButtonFocused);
|
|
82
|
-
const
|
|
83
|
-
|
|
72
|
+
const floatingOffset = (0, import_react.useMemo)(() => columnReference ? [0, 1] : [5, 4], [columnReference]);
|
|
73
|
+
const {
|
|
74
|
+
refs,
|
|
75
|
+
floatingStyles,
|
|
76
|
+
context,
|
|
77
|
+
isOpen: isFloatingOpen,
|
|
78
|
+
forceUpdatePosition
|
|
79
|
+
} = (0, import_ds_floating_context.useFloatingContext)({
|
|
80
|
+
externallyControlledIsOpen: isMenuOpen,
|
|
81
|
+
placement: "bottom-end",
|
|
82
|
+
customOffset: floatingOffset,
|
|
83
|
+
withoutAnimation: true,
|
|
84
|
+
placementOrderPreference: ["bottom-end", "top-end"]
|
|
84
85
|
});
|
|
86
|
+
(0, import_react.useEffect)(() => {
|
|
87
|
+
const ref = columnReference || buttonReference;
|
|
88
|
+
if (ref) refs.setReference(ref);
|
|
89
|
+
}, [columnReference, buttonReference, refs]);
|
|
90
|
+
(0, import_react.useEffect)(() => {
|
|
91
|
+
void forceUpdatePosition();
|
|
92
|
+
}, [filters, forceUpdatePosition]);
|
|
93
|
+
(0, import_useOnClickOutside.useOnClickOutside)(isMenuOpen ? refs.floating : null, handleClickOutsideMenu);
|
|
85
94
|
const popoverContentRef = (0, import_react.useRef)(null);
|
|
86
95
|
const handleOnKeyDown = (0, import_ds_hooks_focus_trap.useFocusTrap)({
|
|
87
96
|
firstElementRef,
|
|
88
97
|
lastElementRef
|
|
89
98
|
});
|
|
90
|
-
(0, import_react.useEffect)(() => {
|
|
91
|
-
void actionRef.current.update?.();
|
|
92
|
-
}, [filters]);
|
|
93
99
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
94
100
|
"div",
|
|
95
101
|
{
|
|
@@ -97,7 +103,7 @@ const FilterPopover = (props) => {
|
|
|
97
103
|
onKeyDown: handleMenuOnKeyDown,
|
|
98
104
|
children: [
|
|
99
105
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
100
|
-
FilterButton,
|
|
106
|
+
import_styled.FilterButton,
|
|
101
107
|
{
|
|
102
108
|
hide: !isIconVisible,
|
|
103
109
|
"data-testid": import_constants.DATA_TESTID.DATA_TABLE_FILTER_BUTTON,
|
|
@@ -121,27 +127,22 @@ const FilterPopover = (props) => {
|
|
|
121
127
|
}
|
|
122
128
|
),
|
|
123
129
|
(columnReference || buttonReference) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
124
|
-
|
|
130
|
+
import_styled.StyledFloatingWrapper,
|
|
125
131
|
{
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"data-testid": import_constants.DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT,
|
|
131
|
-
startPlacementPreference: "bottom-end",
|
|
132
|
-
customOffset: columnReference ? [0, 1] : [5, 4],
|
|
133
|
-
withoutArrow: true,
|
|
134
|
-
withoutAnimation: true,
|
|
135
|
-
extraPopperStyles: {
|
|
132
|
+
innerRef: refs.setFloating,
|
|
133
|
+
isOpen: isFloatingOpen,
|
|
134
|
+
floatingStyles: {
|
|
135
|
+
...floatingStyles,
|
|
136
136
|
...customStyles,
|
|
137
137
|
minWidth: column.ref?.current?.offsetWidth ?? "0px"
|
|
138
138
|
},
|
|
139
|
-
|
|
139
|
+
context,
|
|
140
|
+
"data-testid": import_constants.DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT,
|
|
140
141
|
getOwnerProps,
|
|
141
142
|
getOwnerPropsArguments,
|
|
142
143
|
role: "dialog",
|
|
143
144
|
"aria-label": `Filter by ${column.Header}`,
|
|
144
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PopperContent, { getOwnerProps, innerRef: popoverContentRef, onKeyDown: handleOnKeyDown, children: menuContent })
|
|
145
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_styled.PopperContent, { getOwnerProps, innerRef: popoverContentRef, onKeyDown: handleOnKeyDown, children: menuContent })
|
|
145
146
|
}
|
|
146
147
|
)
|
|
147
148
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/exported-related/FilterPopover/index.tsx", "../../../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable import/no-cycle */\n/* eslint-disable no-void */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { useFocusTrap } from '@elliemae/ds-hooks-focus-trap';\nimport
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;
|
|
6
|
-
"names": [
|
|
4
|
+
"sourcesContent": ["/* eslint-disable import/no-cycle */\n/* eslint-disable no-void */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { useFocusTrap } from '@elliemae/ds-hooks-focus-trap';\nimport { useFloatingContext } from '@elliemae/ds-floating-context';\nimport { mergeRefs } from '@elliemae/ds-system';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { DATA_TESTID } from '../../configs/constants.js';\nimport { usePropsStore } from '../../configs/useStore/createInternalAndPropsContext.js';\nimport type { FilterPopoverProps } from './types.js';\nimport { useGetFilterHandlers } from './useGetFilterHandlers.js';\nimport { useGetFilterVisibility } from './useGetFilterVisibility.js';\nimport { useOnClickOutside } from './useOnClickOutside.js';\nimport { FilterButton, PopperContent, StyledFloatingWrapper } from './styled.js';\n\nexport const FilterPopover: React.ComponentType<FilterPopoverProps> = (props: FilterPopoverProps) => {\n const {\n column,\n customStyles,\n reduxHeader,\n menuContent,\n ariaLabel,\n triggerIcon,\n innerRef,\n columnReference,\n firstElementRef,\n lastElementRef,\n } = props;\n\n const filters = usePropsStore((state) => state.filters);\n const getOwnerProps = usePropsStore((store) => store.get);\n\n const getOwnerPropsArguments = useCallback(\n () => ({\n columnId: column.id,\n }),\n [column.id],\n );\n\n const { isIconVisible, isMenuOpen } = useGetFilterVisibility(reduxHeader);\n\n const [buttonReference, setButtonReference] = useState<HTMLButtonElement | null>(null);\n const [isButtonFocused, setIsButtonFocused] = useState(false);\n\n const { handleTriggerClick, handleClickOutsideMenu, handleMenuOnKeyDown, handleTriggerOnFocus, handleTriggerOnBlur } =\n useGetFilterHandlers(props, isMenuOpen, buttonReference, setIsButtonFocused);\n\n const floatingOffset = useMemo<[number, number]>(() => (columnReference ? [0, 1] : [5, 4]), [columnReference]);\n\n const {\n refs,\n floatingStyles,\n context,\n isOpen: isFloatingOpen,\n forceUpdatePosition,\n } = useFloatingContext({\n externallyControlledIsOpen: isMenuOpen,\n placement: 'bottom-end',\n customOffset: floatingOffset,\n withoutAnimation: true,\n placementOrderPreference: ['bottom-end', 'top-end'],\n });\n\n useEffect(() => {\n const ref = columnReference || buttonReference;\n if (ref) refs.setReference(ref);\n }, [columnReference, buttonReference, refs]);\n\n // When the filter bar changes height, re-compute the floating position\n useEffect(() => {\n void forceUpdatePosition();\n }, [filters, forceUpdatePosition]);\n\n useOnClickOutside(isMenuOpen ? refs.floating : null, handleClickOutsideMenu);\n\n const popoverContentRef = useRef<HTMLDivElement>(null);\n const handleOnKeyDown = useFocusTrap({\n firstElementRef,\n lastElementRef,\n });\n\n return (\n <div\n // This is here to prevent propagation, and not trigger the sort functionality\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handleMenuOnKeyDown}\n >\n <FilterButton\n hide={!isIconVisible}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_BUTTON}\n getOwnerProps={getOwnerProps}\n >\n <DSButtonV2\n buttonType=\"icon\"\n size=\"s\"\n onClick={handleTriggerClick}\n onFocus={handleTriggerOnFocus}\n onBlur={handleTriggerOnBlur}\n innerRef={mergeRefs(isIconVisible && setButtonReference, innerRef)}\n tabIndex={reduxHeader?.withTabStops ? 0 : -1}\n aria-label={ariaLabel}\n aria-hidden={!isButtonFocused}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_BUTTON_ELEMENT}\n >\n {triggerIcon}\n </DSButtonV2>\n </FilterButton>\n {(columnReference || buttonReference) && (\n <StyledFloatingWrapper\n innerRef={refs.setFloating}\n isOpen={isFloatingOpen}\n floatingStyles={{\n ...floatingStyles,\n ...customStyles,\n minWidth: column.ref?.current?.offsetWidth ?? '0px',\n }}\n context={context}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n role=\"dialog\"\n aria-label={`Filter by ${column.Header as string}`}\n >\n <PopperContent getOwnerProps={getOwnerProps} innerRef={popoverContentRef} onKeyDown={handleOnKeyDown}>\n {menuContent}\n </PopperContent>\n </StyledFloatingWrapper>\n )}\n </div>\n );\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;A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QACF;AAAA;AAAA;AAAA,EAEJ;AAEJ;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
|
@@ -15,13 +15,15 @@ const TruncatedSpan = styled.span`
|
|
|
15
15
|
max-width: 100%;
|
|
16
16
|
`;
|
|
17
17
|
const TooltipContainer = styled.div`
|
|
18
|
-
text-align:
|
|
18
|
+
text-align: center;
|
|
19
19
|
min-width: ${({ theme }) => theme.space.l};
|
|
20
20
|
max-width: 250px;
|
|
21
|
+
overflow-wrap: break-word;
|
|
22
|
+
word-break: break-word;
|
|
21
23
|
min-height: 30px;
|
|
22
24
|
display: grid;
|
|
23
25
|
align-items: center;
|
|
24
|
-
padding: ${({ theme }) => `${theme.space.
|
|
26
|
+
padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};
|
|
25
27
|
position: relative;
|
|
26
28
|
background-color: white;
|
|
27
29
|
border-radius: 2px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../src/TruncatedTooltipText.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align:
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React, { useCallback, useState } from 'react';\nimport { styled } from '@elliemae/ds-system';\nimport {\n useFloatingContext,\n FloatingWrapper,\n PopoverArrow,\n type DSHookFloatingContextT,\n} from '@elliemae/ds-floating-context';\n\nconst TruncatedSpan = styled.span`\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n max-width: 100%;\n`;\n\n// Matches DSTooltipV3's StyledTooltipContainer styles for visual consistency\nconst TooltipContainer = styled.div`\n text-align: center;\n min-width: ${({ theme }) => theme.space.l};\n max-width: 250px;\n overflow-wrap: break-word;\n word-break: break-word;\n min-height: 30px;\n display: grid;\n align-items: center;\n padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};\n position: relative;\n background-color: white;\n border-radius: 2px;\n font-size: 13px;\n color: ${({ theme }) => theme.colors.neutral[600]};\n pointer-events: none;\n`;\n\ninterface TruncatedTooltipTextProps {\n // Accepts ReactNode so JSX cell renderers can be passed as value\n value?: React.ReactNode;\n placement?: DSHookFloatingContextT.PopperPlacementsT;\n}\n\nconst TruncatedTooltipText = ({ value = '', placement = 'top' }: TruncatedTooltipTextProps) => {\n const [showTooltip, setShowTooltip] = useState(false);\n\n const { refs, floatingStyles, arrowStyles, context } = useFloatingContext({\n placement,\n externallyControlledIsOpen: showTooltip,\n withoutAnimation: true,\n });\n\n const handleMouseEnter = useCallback((e: React.MouseEvent<HTMLSpanElement>) => {\n const el = e.currentTarget;\n setShowTooltip(el.offsetWidth < el.scrollWidth);\n }, []);\n\n const handleMouseLeave = useCallback(() => {\n setShowTooltip(false);\n }, []);\n\n return (\n <>\n <TruncatedSpan innerRef={refs.setReference} onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave}>\n {value}\n </TruncatedSpan>\n <FloatingWrapper\n innerRef={refs.setFloating}\n isOpen={showTooltip}\n floatingStyles={floatingStyles}\n context={context}\n >\n <TooltipContainer>\n {value}\n <PopoverArrow {...arrowStyles} />\n </TooltipContainer>\n </FloatingWrapper>\n </>\n );\n};\n\nexport { TruncatedTooltipText };\nexport default TruncatedTooltipText;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC6DnB,mBACE,KASE,YAVJ;A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AEJ;AAGA,IAAO,+BAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,25 +2,15 @@ import * as React from "react";
|
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { DSButtonV2 } from "@elliemae/ds-button-v2";
|
|
4
4
|
import { useFocusTrap } from "@elliemae/ds-hooks-focus-trap";
|
|
5
|
-
import {
|
|
6
|
-
import { mergeRefs
|
|
7
|
-
import { useCallback, useEffect, useRef, useState } from "react";
|
|
5
|
+
import { useFloatingContext } from "@elliemae/ds-floating-context";
|
|
6
|
+
import { mergeRefs } from "@elliemae/ds-system";
|
|
7
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
8
8
|
import { DATA_TESTID } from "../../configs/constants.js";
|
|
9
9
|
import { usePropsStore } from "../../configs/useStore/createInternalAndPropsContext.js";
|
|
10
|
-
import { DSDataTableName, DSDataTableSlots } from "../../constants/index.js";
|
|
11
10
|
import { useGetFilterHandlers } from "./useGetFilterHandlers.js";
|
|
12
11
|
import { useGetFilterVisibility } from "./useGetFilterVisibility.js";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
${(props) => props.hide ? "opacity: 0; display: none; width: 0;" : ""}
|
|
16
|
-
`;
|
|
17
|
-
const PopperContent = styled("div", { name: DSDataTableName, slot: DSDataTableSlots.FILTER_POPOVER_CONTENT })`
|
|
18
|
-
background-color: #fff;
|
|
19
|
-
`;
|
|
20
|
-
const StyledPoppoverJS = styled(DSPopperJS, {
|
|
21
|
-
name: DSDataTableName,
|
|
22
|
-
slot: DSDataTableSlots.FILTER_POPOVER
|
|
23
|
-
})``;
|
|
12
|
+
import { useOnClickOutside } from "./useOnClickOutside.js";
|
|
13
|
+
import { FilterButton, PopperContent, StyledFloatingWrapper } from "./styled.js";
|
|
24
14
|
const FilterPopover = (props) => {
|
|
25
15
|
const {
|
|
26
16
|
column,
|
|
@@ -46,17 +36,33 @@ const FilterPopover = (props) => {
|
|
|
46
36
|
const [buttonReference, setButtonReference] = useState(null);
|
|
47
37
|
const [isButtonFocused, setIsButtonFocused] = useState(false);
|
|
48
38
|
const { handleTriggerClick, handleClickOutsideMenu, handleMenuOnKeyDown, handleTriggerOnFocus, handleTriggerOnBlur } = useGetFilterHandlers(props, isMenuOpen, buttonReference, setIsButtonFocused);
|
|
49
|
-
const
|
|
50
|
-
|
|
39
|
+
const floatingOffset = useMemo(() => columnReference ? [0, 1] : [5, 4], [columnReference]);
|
|
40
|
+
const {
|
|
41
|
+
refs,
|
|
42
|
+
floatingStyles,
|
|
43
|
+
context,
|
|
44
|
+
isOpen: isFloatingOpen,
|
|
45
|
+
forceUpdatePosition
|
|
46
|
+
} = useFloatingContext({
|
|
47
|
+
externallyControlledIsOpen: isMenuOpen,
|
|
48
|
+
placement: "bottom-end",
|
|
49
|
+
customOffset: floatingOffset,
|
|
50
|
+
withoutAnimation: true,
|
|
51
|
+
placementOrderPreference: ["bottom-end", "top-end"]
|
|
51
52
|
});
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
const ref = columnReference || buttonReference;
|
|
55
|
+
if (ref) refs.setReference(ref);
|
|
56
|
+
}, [columnReference, buttonReference, refs]);
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
void forceUpdatePosition();
|
|
59
|
+
}, [filters, forceUpdatePosition]);
|
|
60
|
+
useOnClickOutside(isMenuOpen ? refs.floating : null, handleClickOutsideMenu);
|
|
52
61
|
const popoverContentRef = useRef(null);
|
|
53
62
|
const handleOnKeyDown = useFocusTrap({
|
|
54
63
|
firstElementRef,
|
|
55
64
|
lastElementRef
|
|
56
65
|
});
|
|
57
|
-
useEffect(() => {
|
|
58
|
-
void actionRef.current.update?.();
|
|
59
|
-
}, [filters]);
|
|
60
66
|
return /* @__PURE__ */ jsxs(
|
|
61
67
|
"div",
|
|
62
68
|
{
|
|
@@ -88,22 +94,17 @@ const FilterPopover = (props) => {
|
|
|
88
94
|
}
|
|
89
95
|
),
|
|
90
96
|
(columnReference || buttonReference) && /* @__PURE__ */ jsx(
|
|
91
|
-
|
|
97
|
+
StyledFloatingWrapper,
|
|
92
98
|
{
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"data-testid": DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT,
|
|
98
|
-
startPlacementPreference: "bottom-end",
|
|
99
|
-
customOffset: columnReference ? [0, 1] : [5, 4],
|
|
100
|
-
withoutArrow: true,
|
|
101
|
-
withoutAnimation: true,
|
|
102
|
-
extraPopperStyles: {
|
|
99
|
+
innerRef: refs.setFloating,
|
|
100
|
+
isOpen: isFloatingOpen,
|
|
101
|
+
floatingStyles: {
|
|
102
|
+
...floatingStyles,
|
|
103
103
|
...customStyles,
|
|
104
104
|
minWidth: column.ref?.current?.offsetWidth ?? "0px"
|
|
105
105
|
},
|
|
106
|
-
|
|
106
|
+
context,
|
|
107
|
+
"data-testid": DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT,
|
|
107
108
|
getOwnerProps,
|
|
108
109
|
getOwnerPropsArguments,
|
|
109
110
|
role: "dialog",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/exported-related/FilterPopover/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-cycle */\n/* eslint-disable no-void */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { useFocusTrap } from '@elliemae/ds-hooks-focus-trap';\nimport
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-cycle */\n/* eslint-disable no-void */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { DSButtonV2 } from '@elliemae/ds-button-v2';\nimport { useFocusTrap } from '@elliemae/ds-hooks-focus-trap';\nimport { useFloatingContext } from '@elliemae/ds-floating-context';\nimport { mergeRefs } from '@elliemae/ds-system';\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { DATA_TESTID } from '../../configs/constants.js';\nimport { usePropsStore } from '../../configs/useStore/createInternalAndPropsContext.js';\nimport type { FilterPopoverProps } from './types.js';\nimport { useGetFilterHandlers } from './useGetFilterHandlers.js';\nimport { useGetFilterVisibility } from './useGetFilterVisibility.js';\nimport { useOnClickOutside } from './useOnClickOutside.js';\nimport { FilterButton, PopperContent, StyledFloatingWrapper } from './styled.js';\n\nexport const FilterPopover: React.ComponentType<FilterPopoverProps> = (props: FilterPopoverProps) => {\n const {\n column,\n customStyles,\n reduxHeader,\n menuContent,\n ariaLabel,\n triggerIcon,\n innerRef,\n columnReference,\n firstElementRef,\n lastElementRef,\n } = props;\n\n const filters = usePropsStore((state) => state.filters);\n const getOwnerProps = usePropsStore((store) => store.get);\n\n const getOwnerPropsArguments = useCallback(\n () => ({\n columnId: column.id,\n }),\n [column.id],\n );\n\n const { isIconVisible, isMenuOpen } = useGetFilterVisibility(reduxHeader);\n\n const [buttonReference, setButtonReference] = useState<HTMLButtonElement | null>(null);\n const [isButtonFocused, setIsButtonFocused] = useState(false);\n\n const { handleTriggerClick, handleClickOutsideMenu, handleMenuOnKeyDown, handleTriggerOnFocus, handleTriggerOnBlur } =\n useGetFilterHandlers(props, isMenuOpen, buttonReference, setIsButtonFocused);\n\n const floatingOffset = useMemo<[number, number]>(() => (columnReference ? [0, 1] : [5, 4]), [columnReference]);\n\n const {\n refs,\n floatingStyles,\n context,\n isOpen: isFloatingOpen,\n forceUpdatePosition,\n } = useFloatingContext({\n externallyControlledIsOpen: isMenuOpen,\n placement: 'bottom-end',\n customOffset: floatingOffset,\n withoutAnimation: true,\n placementOrderPreference: ['bottom-end', 'top-end'],\n });\n\n useEffect(() => {\n const ref = columnReference || buttonReference;\n if (ref) refs.setReference(ref);\n }, [columnReference, buttonReference, refs]);\n\n // When the filter bar changes height, re-compute the floating position\n useEffect(() => {\n void forceUpdatePosition();\n }, [filters, forceUpdatePosition]);\n\n useOnClickOutside(isMenuOpen ? refs.floating : null, handleClickOutsideMenu);\n\n const popoverContentRef = useRef<HTMLDivElement>(null);\n const handleOnKeyDown = useFocusTrap({\n firstElementRef,\n lastElementRef,\n });\n\n return (\n <div\n // This is here to prevent propagation, and not trigger the sort functionality\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handleMenuOnKeyDown}\n >\n <FilterButton\n hide={!isIconVisible}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_BUTTON}\n getOwnerProps={getOwnerProps}\n >\n <DSButtonV2\n buttonType=\"icon\"\n size=\"s\"\n onClick={handleTriggerClick}\n onFocus={handleTriggerOnFocus}\n onBlur={handleTriggerOnBlur}\n innerRef={mergeRefs(isIconVisible && setButtonReference, innerRef)}\n tabIndex={reduxHeader?.withTabStops ? 0 : -1}\n aria-label={ariaLabel}\n aria-hidden={!isButtonFocused}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_BUTTON_ELEMENT}\n >\n {triggerIcon}\n </DSButtonV2>\n </FilterButton>\n {(columnReference || buttonReference) && (\n <StyledFloatingWrapper\n innerRef={refs.setFloating}\n isOpen={isFloatingOpen}\n floatingStyles={{\n ...floatingStyles,\n ...customStyles,\n minWidth: column.ref?.current?.offsetWidth ?? '0px',\n }}\n context={context}\n data-testid={DATA_TESTID.DATA_TABLE_FILTER_MENU_CONTENT}\n getOwnerProps={getOwnerProps}\n getOwnerPropsArguments={getOwnerPropsArguments}\n role=\"dialog\"\n aria-label={`Filter by ${column.Header as string}`}\n >\n <PopperContent getOwnerProps={getOwnerProps} innerRef={popoverContentRef} onKeyDown={handleOnKeyDown}>\n {menuContent}\n </PopperContent>\n </StyledFloatingWrapper>\n )}\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACmFnB,SAUI,KAVJ;AAhFJ,S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,UAAU,mBAAmB,WAAW,iBAClF,uBACH;AAAA;AAAA,QACF;AAAA;AAAA;AAAA,EAEJ;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-data-table",
|
|
3
|
-
"version": "3.70.0-next.
|
|
3
|
+
"version": "3.70.0-next.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Data Table",
|
|
6
6
|
"files": [
|
|
@@ -41,41 +41,40 @@
|
|
|
41
41
|
"react-virtual": "~2.10.4",
|
|
42
42
|
"uid": "^2.0.2",
|
|
43
43
|
"use-onclickoutside": "0.4.1",
|
|
44
|
-
"@elliemae/ds-button-v2": "3.70.0-next.
|
|
45
|
-
"@elliemae/ds-circular-progress-indicator": "3.70.0-next.
|
|
46
|
-
"@elliemae/ds-
|
|
47
|
-
"@elliemae/ds-
|
|
48
|
-
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.
|
|
49
|
-
"@elliemae/ds-floating-context": "3.70.0-next.
|
|
50
|
-
"@elliemae/ds-form-checkbox": "3.70.0-next.
|
|
51
|
-
"@elliemae/ds-form-
|
|
52
|
-
"@elliemae/ds-form-
|
|
53
|
-
"@elliemae/ds-form-date-time-picker": "3.70.0-next.
|
|
54
|
-
"@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.
|
|
55
|
-
"@elliemae/ds-form-
|
|
56
|
-
"@elliemae/ds-
|
|
57
|
-
"@elliemae/ds-hooks-focus-trap": "3.70.0-next.
|
|
58
|
-
"@elliemae/ds-
|
|
59
|
-
"@elliemae/ds-form-
|
|
60
|
-
"@elliemae/ds-
|
|
61
|
-
"@elliemae/ds-
|
|
62
|
-
"@elliemae/ds-
|
|
63
|
-
"@elliemae/ds-pills-v2": "3.70.0-next.
|
|
64
|
-
"@elliemae/ds-props-helpers": "3.70.0-next.
|
|
65
|
-
"@elliemae/ds-
|
|
66
|
-
"@elliemae/ds-system": "3.70.0-next.
|
|
67
|
-
"@elliemae/ds-
|
|
68
|
-
"@elliemae/ds-
|
|
69
|
-
"@elliemae/ds-skeleton": "3.70.0-next.4"
|
|
44
|
+
"@elliemae/ds-button-v2": "3.70.0-next.6",
|
|
45
|
+
"@elliemae/ds-circular-progress-indicator": "3.70.0-next.6",
|
|
46
|
+
"@elliemae/ds-drag-and-drop": "3.70.0-next.6",
|
|
47
|
+
"@elliemae/ds-dialog": "3.70.0-next.6",
|
|
48
|
+
"@elliemae/ds-dropdownmenu-v2": "3.70.0-next.6",
|
|
49
|
+
"@elliemae/ds-floating-context": "3.70.0-next.6",
|
|
50
|
+
"@elliemae/ds-form-checkbox": "3.70.0-next.6",
|
|
51
|
+
"@elliemae/ds-form-date-range-picker": "3.70.0-next.6",
|
|
52
|
+
"@elliemae/ds-form-combobox": "3.70.0-next.6",
|
|
53
|
+
"@elliemae/ds-form-date-time-picker": "3.70.0-next.6",
|
|
54
|
+
"@elliemae/ds-form-helpers-mask-hooks": "3.70.0-next.6",
|
|
55
|
+
"@elliemae/ds-form-radio": "3.70.0-next.6",
|
|
56
|
+
"@elliemae/ds-grid": "3.70.0-next.6",
|
|
57
|
+
"@elliemae/ds-hooks-focus-trap": "3.70.0-next.6",
|
|
58
|
+
"@elliemae/ds-menu-button": "3.70.0-next.6",
|
|
59
|
+
"@elliemae/ds-form-input-text": "3.70.0-next.6",
|
|
60
|
+
"@elliemae/ds-form-layout-blocks": "3.70.0-next.6",
|
|
61
|
+
"@elliemae/ds-icons": "3.70.0-next.6",
|
|
62
|
+
"@elliemae/ds-pagination": "3.70.0-next.6",
|
|
63
|
+
"@elliemae/ds-pills-v2": "3.70.0-next.6",
|
|
64
|
+
"@elliemae/ds-props-helpers": "3.70.0-next.6",
|
|
65
|
+
"@elliemae/ds-skeleton": "3.70.0-next.6",
|
|
66
|
+
"@elliemae/ds-system": "3.70.0-next.6",
|
|
67
|
+
"@elliemae/ds-zustand-helpers": "3.70.0-next.6",
|
|
68
|
+
"@elliemae/ds-typescript-helpers": "3.70.0-next.6"
|
|
70
69
|
},
|
|
71
70
|
"devDependencies": {
|
|
72
71
|
"jest": "^30.0.0",
|
|
73
72
|
"styled-components": "~5.3.9",
|
|
74
73
|
"styled-system": "^5.1.5",
|
|
75
|
-
"@elliemae/ds-monorepo-devops": "3.70.0-next.
|
|
76
|
-
"@elliemae/ds-tabs": "3.70.0-next.
|
|
77
|
-
"@elliemae/ds-
|
|
78
|
-
"@elliemae/ds-
|
|
74
|
+
"@elliemae/ds-monorepo-devops": "3.70.0-next.6",
|
|
75
|
+
"@elliemae/ds-tabs": "3.70.0-next.6",
|
|
76
|
+
"@elliemae/ds-test-utils": "3.70.0-next.6",
|
|
77
|
+
"@elliemae/ds-toolbar-v2": "3.70.0-next.6"
|
|
79
78
|
},
|
|
80
79
|
"peerDependencies": {
|
|
81
80
|
"lodash-es": "^4.17.21",
|