@dmsi/wedgekit-react 0.0.169 → 0.0.171
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/{chunk-4VTOTNKJ.js → chunk-3WNXMCZV.js} +3 -2
- package/dist/{chunk-O7RLJT6I.js → chunk-GCBW2LDM.js} +5 -5
- package/dist/{chunk-A3FTZOB3.js → chunk-OJX75MY2.js} +4 -4
- package/dist/components/DataGridCell.js +4 -4
- package/dist/components/DateInput.js +3 -3
- package/dist/components/DateRangeInput.js +3 -3
- package/dist/components/FilterGroup.js +5 -5
- package/dist/components/MainBar.cjs +1 -0
- package/dist/components/MainBar.js +1 -0
- package/dist/components/Menu.js +2 -2
- package/dist/components/MenuOption.js +2 -2
- package/dist/components/MobileDataGrid.js +3 -3
- package/dist/components/Modal.js +5 -5
- package/dist/components/ModalButtons.js +2 -2
- package/dist/components/ModalHeader.js +2 -2
- package/dist/components/NavigationTab.js +2 -2
- package/dist/components/NavigationTabs.js +2 -2
- package/dist/components/NestedMenu.js +2 -2
- package/dist/components/Notification.js +3 -3
- package/dist/components/OptionPill.js +2 -2
- package/dist/components/PDFViewer.js +7 -7
- package/dist/components/Stepper.js +3 -3
- package/dist/components/Toast.js +3 -3
- package/dist/components/Tooltip.cjs +3 -2
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Upload.js +3 -3
- package/dist/components/index.cjs +3 -2
- package/dist/components/index.js +14 -14
- package/package.json +1 -1
- package/src/components/MainBar.tsx +1 -0
- package/src/components/Tooltip.tsx +3 -1
- package/dist/{chunk-R7ELP5C5.js → chunk-6A54FL75.js} +3 -3
- package/dist/{chunk-AEDEFN7A.js → chunk-FFU6FB3K.js} +3 -3
- package/dist/{chunk-C4JGTH6G.js → chunk-T7NDKJDP.js} +3 -3
- package/dist/{chunk-UZZLQASG.js → chunk-UBU6IJML.js} +3 -3
- package/dist/{chunk-LM5MKBPM.js → chunk-UGNB32SL.js} +3 -3
- package/dist/{chunk-ZGFQN47L.js → chunk-ZR4E5A43.js} +3 -3
|
@@ -19,7 +19,8 @@ var Tooltip = ({
|
|
|
19
19
|
position = "top",
|
|
20
20
|
children,
|
|
21
21
|
showOnTruncation = false,
|
|
22
|
-
offset = 8
|
|
22
|
+
offset = 8,
|
|
23
|
+
keepHidden = false
|
|
23
24
|
}) => {
|
|
24
25
|
const ref = useRef(null);
|
|
25
26
|
const tooltipRef = useRef(null);
|
|
@@ -88,7 +89,7 @@ var Tooltip = ({
|
|
|
88
89
|
onMouseLeave: handleMouseLeave,
|
|
89
90
|
children: [
|
|
90
91
|
children,
|
|
91
|
-
isVisible && typeof document !== "undefined" && createPortal(
|
|
92
|
+
!keepHidden && isVisible && typeof document !== "undefined" && createPortal(
|
|
92
93
|
/* @__PURE__ */ jsx(
|
|
93
94
|
"div",
|
|
94
95
|
{
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk-4RJKB7LC.js";
|
|
4
4
|
import {
|
|
5
5
|
ModalButtons
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T7NDKJDP.js";
|
|
7
7
|
import {
|
|
8
8
|
ModalContent
|
|
9
9
|
} from "./chunk-SYEJVSE4.js";
|
|
10
10
|
import {
|
|
11
11
|
ModalHeader
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6A54FL75.js";
|
|
13
13
|
import {
|
|
14
14
|
ModalScrim
|
|
15
15
|
} from "./chunk-ZFOANBWG.js";
|
|
16
|
-
import {
|
|
17
|
-
findDocumentRoot
|
|
18
|
-
} from "./chunk-6LN6QT6M.js";
|
|
19
16
|
import {
|
|
20
17
|
useMatchesMobile
|
|
21
18
|
} from "./chunk-WNQ53SVY.js";
|
|
19
|
+
import {
|
|
20
|
+
findDocumentRoot
|
|
21
|
+
} from "./chunk-6LN6QT6M.js";
|
|
22
22
|
|
|
23
23
|
// src/components/Modal.tsx
|
|
24
24
|
import clsx from "clsx";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MenuOption
|
|
3
|
+
} from "./chunk-FFU6FB3K.js";
|
|
1
4
|
import {
|
|
2
5
|
Menu
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UBU6IJML.js";
|
|
4
7
|
import {
|
|
5
8
|
useSubMenuSystem
|
|
6
9
|
} from "./chunk-5GUW4DUY.js";
|
|
7
|
-
import {
|
|
8
|
-
MenuOption
|
|
9
|
-
} from "./chunk-AEDEFN7A.js";
|
|
10
10
|
import {
|
|
11
11
|
CSS
|
|
12
12
|
} from "./chunk-WVUIIBRR.js";
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
DataGridCell,
|
|
5
5
|
DragAlongCell,
|
|
6
6
|
DraggableCellHeader
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-OJX75MY2.js";
|
|
8
|
+
import "../chunk-FFU6FB3K.js";
|
|
9
|
+
import "../chunk-UBU6IJML.js";
|
|
9
10
|
import "../chunk-5GUW4DUY.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-WNQ53SVY.js";
|
|
11
12
|
import "../chunk-WVUIIBRR.js";
|
|
12
13
|
import "../chunk-6LN6QT6M.js";
|
|
13
14
|
import "../chunk-IDSFWKOR.js";
|
|
14
15
|
import "../chunk-MVGOAMTP.js";
|
|
15
16
|
import "../chunk-JWCT72WR.js";
|
|
16
|
-
import "../chunk-WNQ53SVY.js";
|
|
17
17
|
import "../chunk-5UH6QUFB.js";
|
|
18
18
|
import "../chunk-HVI3CL7Y.js";
|
|
19
19
|
import "../chunk-NKUETCDA.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CalendarRange
|
|
3
|
+
} from "../chunk-4XA32LKR.js";
|
|
1
4
|
import {
|
|
2
5
|
findDocumentRoot
|
|
3
6
|
} from "../chunk-6LN6QT6M.js";
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
InputBase
|
|
6
9
|
} from "../chunk-MVGOAMTP.js";
|
|
7
10
|
import "../chunk-JWCT72WR.js";
|
|
8
|
-
import {
|
|
9
|
-
CalendarRange
|
|
10
|
-
} from "../chunk-4XA32LKR.js";
|
|
11
11
|
import {
|
|
12
12
|
calculateCursorPosition,
|
|
13
13
|
formatDate,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CalendarRange
|
|
3
|
+
} from "../chunk-4XA32LKR.js";
|
|
1
4
|
import {
|
|
2
5
|
findDocumentRoot
|
|
3
6
|
} from "../chunk-6LN6QT6M.js";
|
|
@@ -5,9 +8,6 @@ import {
|
|
|
5
8
|
InputBase
|
|
6
9
|
} from "../chunk-MVGOAMTP.js";
|
|
7
10
|
import "../chunk-JWCT72WR.js";
|
|
8
|
-
import {
|
|
9
|
-
CalendarRange
|
|
10
|
-
} from "../chunk-4XA32LKR.js";
|
|
11
11
|
import {
|
|
12
12
|
calculateCursorPosition,
|
|
13
13
|
formatDate,
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OptionPill
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UGNB32SL.js";
|
|
5
|
+
import {
|
|
6
|
+
Checkbox
|
|
7
|
+
} from "../chunk-WFQEE2OO.js";
|
|
5
8
|
import {
|
|
6
9
|
Search
|
|
7
10
|
} from "../chunk-IDSFWKOR.js";
|
|
@@ -9,10 +12,6 @@ import "../chunk-MVGOAMTP.js";
|
|
|
9
12
|
import {
|
|
10
13
|
Label
|
|
11
14
|
} from "../chunk-JWCT72WR.js";
|
|
12
|
-
import {
|
|
13
|
-
Checkbox
|
|
14
|
-
} from "../chunk-WFQEE2OO.js";
|
|
15
|
-
import "../chunk-FKMKHLQH.js";
|
|
16
15
|
import "../chunk-5UH6QUFB.js";
|
|
17
16
|
import "../chunk-HVI3CL7Y.js";
|
|
18
17
|
import {
|
|
@@ -21,6 +20,7 @@ import {
|
|
|
21
20
|
import {
|
|
22
21
|
Icon
|
|
23
22
|
} from "../chunk-NKUETCDA.js";
|
|
23
|
+
import "../chunk-FKMKHLQH.js";
|
|
24
24
|
import {
|
|
25
25
|
baseTransition,
|
|
26
26
|
componentGap,
|
package/dist/components/Menu.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Menu
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UBU6IJML.js";
|
|
5
5
|
import "../chunk-5GUW4DUY.js";
|
|
6
|
-
import "../chunk-6LN6QT6M.js";
|
|
7
6
|
import "../chunk-WNQ53SVY.js";
|
|
7
|
+
import "../chunk-6LN6QT6M.js";
|
|
8
8
|
import "../chunk-ORMEWXMH.js";
|
|
9
9
|
export {
|
|
10
10
|
Menu
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MenuOption
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-JWCT72WR.js";
|
|
4
|
+
} from "../chunk-FFU6FB3K.js";
|
|
6
5
|
import "../chunk-WNQ53SVY.js";
|
|
6
|
+
import "../chunk-JWCT72WR.js";
|
|
7
7
|
import "../chunk-HVI3CL7Y.js";
|
|
8
8
|
import "../chunk-NKUETCDA.js";
|
|
9
9
|
import "../chunk-RDLEIAQU.js";
|
|
@@ -4,9 +4,6 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Heading3
|
|
6
6
|
} from "../chunk-AZ7LVLOK.js";
|
|
7
|
-
import {
|
|
8
|
-
Button
|
|
9
|
-
} from "../chunk-FKMKHLQH.js";
|
|
10
7
|
import {
|
|
11
8
|
Stack
|
|
12
9
|
} from "../chunk-N6JVLYEE.js";
|
|
@@ -16,6 +13,9 @@ import {
|
|
|
16
13
|
import {
|
|
17
14
|
Icon
|
|
18
15
|
} from "../chunk-NKUETCDA.js";
|
|
16
|
+
import {
|
|
17
|
+
Button
|
|
18
|
+
} from "../chunk-FKMKHLQH.js";
|
|
19
19
|
import "../chunk-RDLEIAQU.js";
|
|
20
20
|
import "../chunk-ORMEWXMH.js";
|
|
21
21
|
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GCBW2LDM.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-T7NDKJDP.js";
|
|
7
7
|
import "../chunk-SYEJVSE4.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-6A54FL75.js";
|
|
9
9
|
import "../chunk-ZFOANBWG.js";
|
|
10
10
|
import "../chunk-AZ7LVLOK.js";
|
|
11
|
-
import "../chunk-6LN6QT6M.js";
|
|
12
|
-
import "../chunk-FKMKHLQH.js";
|
|
13
11
|
import "../chunk-WNQ53SVY.js";
|
|
12
|
+
import "../chunk-6LN6QT6M.js";
|
|
14
13
|
import "../chunk-NKUETCDA.js";
|
|
14
|
+
import "../chunk-FKMKHLQH.js";
|
|
15
15
|
import "../chunk-RDLEIAQU.js";
|
|
16
16
|
import "../chunk-ORMEWXMH.js";
|
|
17
17
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalButtons
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-FKMKHLQH.js";
|
|
3
|
+
} from "../chunk-T7NDKJDP.js";
|
|
5
4
|
import "../chunk-NKUETCDA.js";
|
|
5
|
+
import "../chunk-FKMKHLQH.js";
|
|
6
6
|
import "../chunk-RDLEIAQU.js";
|
|
7
7
|
import "../chunk-ORMEWXMH.js";
|
|
8
8
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalHeader
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-6A54FL75.js";
|
|
4
4
|
import "../chunk-AZ7LVLOK.js";
|
|
5
|
-
import "../chunk-FKMKHLQH.js";
|
|
6
5
|
import "../chunk-NKUETCDA.js";
|
|
6
|
+
import "../chunk-FKMKHLQH.js";
|
|
7
7
|
import "../chunk-RDLEIAQU.js";
|
|
8
8
|
import "../chunk-ORMEWXMH.js";
|
|
9
9
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NavigationTab
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-FKMKHLQH.js";
|
|
3
|
+
} from "../chunk-ZR4E5A43.js";
|
|
5
4
|
import "../chunk-NKUETCDA.js";
|
|
5
|
+
import "../chunk-FKMKHLQH.js";
|
|
6
6
|
import "../chunk-RDLEIAQU.js";
|
|
7
7
|
import "../chunk-ORMEWXMH.js";
|
|
8
8
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
NavigationTab
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-FKMKHLQH.js";
|
|
4
|
+
} from "../chunk-ZR4E5A43.js";
|
|
6
5
|
import "../chunk-NKUETCDA.js";
|
|
6
|
+
import "../chunk-FKMKHLQH.js";
|
|
7
7
|
import {
|
|
8
8
|
componentGap
|
|
9
9
|
} from "../chunk-RDLEIAQU.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MenuOption
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-JWCT72WR.js";
|
|
4
|
+
} from "../chunk-FFU6FB3K.js";
|
|
6
5
|
import {
|
|
7
6
|
useKeydown
|
|
8
7
|
} from "../chunk-WNQ53SVY.js";
|
|
8
|
+
import "../chunk-JWCT72WR.js";
|
|
9
9
|
import "../chunk-HVI3CL7Y.js";
|
|
10
10
|
import {
|
|
11
11
|
Icon
|
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Heading3
|
|
4
4
|
} from "../chunk-AZ7LVLOK.js";
|
|
5
|
-
import {
|
|
6
|
-
Button
|
|
7
|
-
} from "../chunk-FKMKHLQH.js";
|
|
8
5
|
import {
|
|
9
6
|
Stack
|
|
10
7
|
} from "../chunk-N6JVLYEE.js";
|
|
@@ -14,6 +11,9 @@ import {
|
|
|
14
11
|
import {
|
|
15
12
|
Icon
|
|
16
13
|
} from "../chunk-NKUETCDA.js";
|
|
14
|
+
import {
|
|
15
|
+
Button
|
|
16
|
+
} from "../chunk-FKMKHLQH.js";
|
|
17
17
|
import "../chunk-RDLEIAQU.js";
|
|
18
18
|
import {
|
|
19
19
|
__objRest,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OptionPill
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UGNB32SL.js";
|
|
4
4
|
import "../chunk-JWCT72WR.js";
|
|
5
|
-
import "../chunk-FKMKHLQH.js";
|
|
6
5
|
import "../chunk-NKUETCDA.js";
|
|
6
|
+
import "../chunk-FKMKHLQH.js";
|
|
7
7
|
import "../chunk-RDLEIAQU.js";
|
|
8
8
|
import "../chunk-ORMEWXMH.js";
|
|
9
9
|
export {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GCBW2LDM.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-T7NDKJDP.js";
|
|
7
7
|
import "../chunk-SYEJVSE4.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-6A54FL75.js";
|
|
9
9
|
import "../chunk-ZFOANBWG.js";
|
|
10
10
|
import {
|
|
11
11
|
Spinner
|
|
12
12
|
} from "../chunk-PLMGI5K5.js";
|
|
13
13
|
import "../chunk-AZ7LVLOK.js";
|
|
14
|
-
import "../chunk-6LN6QT6M.js";
|
|
15
14
|
import {
|
|
16
15
|
Caption
|
|
17
16
|
} from "../chunk-E7D24OHM.js";
|
|
18
|
-
import {
|
|
19
|
-
Button
|
|
20
|
-
} from "../chunk-FKMKHLQH.js";
|
|
21
17
|
import "../chunk-WNQ53SVY.js";
|
|
18
|
+
import "../chunk-6LN6QT6M.js";
|
|
22
19
|
import {
|
|
23
20
|
Stack
|
|
24
21
|
} from "../chunk-N6JVLYEE.js";
|
|
25
22
|
import {
|
|
26
23
|
Icon
|
|
27
24
|
} from "../chunk-NKUETCDA.js";
|
|
25
|
+
import {
|
|
26
|
+
Button
|
|
27
|
+
} from "../chunk-FKMKHLQH.js";
|
|
28
28
|
import "../chunk-RDLEIAQU.js";
|
|
29
29
|
import "../chunk-ORMEWXMH.js";
|
|
30
30
|
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
InputBase
|
|
4
4
|
} from "../chunk-MVGOAMTP.js";
|
|
5
5
|
import "../chunk-JWCT72WR.js";
|
|
6
|
-
import {
|
|
7
|
-
Button
|
|
8
|
-
} from "../chunk-FKMKHLQH.js";
|
|
9
6
|
import "../chunk-5UH6QUFB.js";
|
|
10
7
|
import {
|
|
11
8
|
Icon
|
|
12
9
|
} from "../chunk-NKUETCDA.js";
|
|
10
|
+
import {
|
|
11
|
+
Button
|
|
12
|
+
} from "../chunk-FKMKHLQH.js";
|
|
13
13
|
import {
|
|
14
14
|
componentGap
|
|
15
15
|
} from "../chunk-RDLEIAQU.js";
|
package/dist/components/Toast.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Heading3
|
|
4
4
|
} from "../chunk-AZ7LVLOK.js";
|
|
5
|
-
import {
|
|
6
|
-
Button
|
|
7
|
-
} from "../chunk-FKMKHLQH.js";
|
|
8
5
|
import {
|
|
9
6
|
Paragraph
|
|
10
7
|
} from "../chunk-HVI3CL7Y.js";
|
|
11
8
|
import {
|
|
12
9
|
Icon
|
|
13
10
|
} from "../chunk-NKUETCDA.js";
|
|
11
|
+
import {
|
|
12
|
+
Button
|
|
13
|
+
} from "../chunk-FKMKHLQH.js";
|
|
14
14
|
import {
|
|
15
15
|
componentGap,
|
|
16
16
|
componentPadding,
|
|
@@ -173,7 +173,8 @@ var Tooltip = ({
|
|
|
173
173
|
position = "top",
|
|
174
174
|
children,
|
|
175
175
|
showOnTruncation = false,
|
|
176
|
-
offset = 8
|
|
176
|
+
offset = 8,
|
|
177
|
+
keepHidden = false
|
|
177
178
|
}) => {
|
|
178
179
|
const ref = (0, import_react.useRef)(null);
|
|
179
180
|
const tooltipRef = (0, import_react.useRef)(null);
|
|
@@ -242,7 +243,7 @@ var Tooltip = ({
|
|
|
242
243
|
onMouseLeave: handleMouseLeave,
|
|
243
244
|
children: [
|
|
244
245
|
children,
|
|
245
|
-
isVisible && typeof document !== "undefined" && (0, import_react_dom.createPortal)(
|
|
246
|
+
!keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom.createPortal)(
|
|
246
247
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
247
248
|
"div",
|
|
248
249
|
{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Button
|
|
3
|
-
} from "../chunk-FKMKHLQH.js";
|
|
4
1
|
import {
|
|
5
2
|
Paragraph
|
|
6
3
|
} from "../chunk-HVI3CL7Y.js";
|
|
7
4
|
import {
|
|
8
5
|
Icon
|
|
9
6
|
} from "../chunk-NKUETCDA.js";
|
|
7
|
+
import {
|
|
8
|
+
Button
|
|
9
|
+
} from "../chunk-FKMKHLQH.js";
|
|
10
10
|
import {
|
|
11
11
|
componentGap
|
|
12
12
|
} from "../chunk-RDLEIAQU.js";
|
|
@@ -3606,7 +3606,8 @@ var Tooltip = ({
|
|
|
3606
3606
|
position = "top",
|
|
3607
3607
|
children,
|
|
3608
3608
|
showOnTruncation = false,
|
|
3609
|
-
offset = 8
|
|
3609
|
+
offset = 8,
|
|
3610
|
+
keepHidden = false
|
|
3610
3611
|
}) => {
|
|
3611
3612
|
const ref = (0, import_react17.useRef)(null);
|
|
3612
3613
|
const tooltipRef = (0, import_react17.useRef)(null);
|
|
@@ -3675,7 +3676,7 @@ var Tooltip = ({
|
|
|
3675
3676
|
onMouseLeave: handleMouseLeave,
|
|
3676
3677
|
children: [
|
|
3677
3678
|
children,
|
|
3678
|
-
isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
|
|
3679
|
+
!keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
|
|
3679
3680
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
3680
3681
|
"div",
|
|
3681
3682
|
{
|
package/dist/components/index.js
CHANGED
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3WNXMCZV.js";
|
|
4
4
|
import {
|
|
5
5
|
Select
|
|
6
6
|
} from "../chunk-KADNOKNW.js";
|
|
7
|
+
import {
|
|
8
|
+
Checkbox
|
|
9
|
+
} from "../chunk-WFQEE2OO.js";
|
|
7
10
|
import {
|
|
8
11
|
DataCellHeader,
|
|
9
12
|
DataGridCell,
|
|
10
13
|
DragAlongCell,
|
|
11
14
|
DraggableCellHeader
|
|
12
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-OJX75MY2.js";
|
|
16
|
+
import {
|
|
17
|
+
MenuOption
|
|
18
|
+
} from "../chunk-FFU6FB3K.js";
|
|
13
19
|
import {
|
|
14
20
|
Menu
|
|
15
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-UBU6IJML.js";
|
|
16
22
|
import "../chunk-5GUW4DUY.js";
|
|
17
23
|
import {
|
|
18
|
-
|
|
19
|
-
} from "../chunk-
|
|
24
|
+
useInfiniteScroll
|
|
25
|
+
} from "../chunk-WNQ53SVY.js";
|
|
20
26
|
import "../chunk-WVUIIBRR.js";
|
|
21
27
|
import "../chunk-6LN6QT6M.js";
|
|
22
28
|
import {
|
|
@@ -28,15 +34,6 @@ import {
|
|
|
28
34
|
import {
|
|
29
35
|
Label
|
|
30
36
|
} from "../chunk-JWCT72WR.js";
|
|
31
|
-
import {
|
|
32
|
-
Checkbox
|
|
33
|
-
} from "../chunk-WFQEE2OO.js";
|
|
34
|
-
import {
|
|
35
|
-
Button
|
|
36
|
-
} from "../chunk-FKMKHLQH.js";
|
|
37
|
-
import {
|
|
38
|
-
useInfiniteScroll
|
|
39
|
-
} from "../chunk-WNQ53SVY.js";
|
|
40
37
|
import "../chunk-5UH6QUFB.js";
|
|
41
38
|
import {
|
|
42
39
|
Subheader
|
|
@@ -54,6 +51,9 @@ import {
|
|
|
54
51
|
import {
|
|
55
52
|
Icon
|
|
56
53
|
} from "../chunk-NKUETCDA.js";
|
|
54
|
+
import {
|
|
55
|
+
Button
|
|
56
|
+
} from "../chunk-FKMKHLQH.js";
|
|
57
57
|
import {
|
|
58
58
|
componentGap,
|
|
59
59
|
componentPadding
|
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export type TooltipProps = PropsWithChildren<{
|
|
|
19
19
|
children?: ReactNode;
|
|
20
20
|
showOnTruncation?: boolean;
|
|
21
21
|
offset?: number;
|
|
22
|
+
keepHidden?: boolean; // for scenario where we want to keep the tooltip hidden based on a condition
|
|
22
23
|
}>;
|
|
23
24
|
|
|
24
25
|
export const Tooltip = ({
|
|
@@ -29,6 +30,7 @@ export const Tooltip = ({
|
|
|
29
30
|
children,
|
|
30
31
|
showOnTruncation = false,
|
|
31
32
|
offset = 8,
|
|
33
|
+
keepHidden = false
|
|
32
34
|
}: TooltipProps) => {
|
|
33
35
|
const ref = useRef<HTMLDivElement>(null);
|
|
34
36
|
const tooltipRef = useRef<HTMLDivElement>(null);
|
|
@@ -109,7 +111,7 @@ export const Tooltip = ({
|
|
|
109
111
|
>
|
|
110
112
|
{children}
|
|
111
113
|
|
|
112
|
-
{isVisible &&
|
|
114
|
+
{!keepHidden && isVisible &&
|
|
113
115
|
typeof document !== "undefined" &&
|
|
114
116
|
createPortal(
|
|
115
117
|
<div
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading2
|
|
3
3
|
} from "./chunk-AZ7LVLOK.js";
|
|
4
|
-
import {
|
|
5
|
-
Button
|
|
6
|
-
} from "./chunk-FKMKHLQH.js";
|
|
7
4
|
import {
|
|
8
5
|
Icon
|
|
9
6
|
} from "./chunk-NKUETCDA.js";
|
|
7
|
+
import {
|
|
8
|
+
Button
|
|
9
|
+
} from "./chunk-FKMKHLQH.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutGroupGap,
|
|
12
12
|
layoutPaddding
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useMenuPosition
|
|
3
3
|
} from "./chunk-5GUW4DUY.js";
|
|
4
|
-
import {
|
|
5
|
-
findDocumentRoot
|
|
6
|
-
} from "./chunk-6LN6QT6M.js";
|
|
7
4
|
import {
|
|
8
5
|
useMatchesMobile
|
|
9
6
|
} from "./chunk-WNQ53SVY.js";
|
|
7
|
+
import {
|
|
8
|
+
findDocumentRoot
|
|
9
|
+
} from "./chunk-6LN6QT6M.js";
|
|
10
10
|
import {
|
|
11
11
|
__objRest,
|
|
12
12
|
__spreadProps,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
3
|
} from "./chunk-JWCT72WR.js";
|
|
4
|
-
import {
|
|
5
|
-
Button
|
|
6
|
-
} from "./chunk-FKMKHLQH.js";
|
|
7
4
|
import {
|
|
8
5
|
Icon
|
|
9
6
|
} from "./chunk-NKUETCDA.js";
|
|
7
|
+
import {
|
|
8
|
+
Button
|
|
9
|
+
} from "./chunk-FKMKHLQH.js";
|
|
10
10
|
import {
|
|
11
11
|
baseTransition,
|
|
12
12
|
componentGap,
|