@dmsi/wedgekit-react 0.0.170 → 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-FCREADUH.js → chunk-GCBW2LDM.js} +2 -2
- package/dist/{chunk-PMBEIP24.js → chunk-IDSFWKOR.js} +1 -1
- package/dist/{chunk-XH65MD2C.js → chunk-KADNOKNW.js} +1 -1
- package/dist/{chunk-O4JGGMFE.js → chunk-OJX75MY2.js} +6 -6
- package/dist/components/DataGridCell.js +6 -6
- package/dist/components/DateInput.js +10 -10
- package/dist/components/DateRangeInput.js +10 -10
- package/dist/components/FilterGroup.js +5 -5
- package/dist/components/Input.js +2 -2
- package/dist/components/MobileDataGrid.js +3 -3
- package/dist/components/Modal.js +4 -4
- 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/Notification.js +3 -3
- package/dist/components/OptionPill.js +2 -2
- package/dist/components/PDFViewer.js +6 -6
- package/dist/components/Password.js +2 -2
- package/dist/components/Search.js +3 -3
- package/dist/components/Select.js +3 -3
- package/dist/components/Stepper.js +5 -5
- package/dist/components/Time.js +2 -2
- 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 +13 -13
- package/package.json +1 -1
- package/src/components/Tooltip.tsx +3 -1
- package/dist/{chunk-R7ELP5C5.js → chunk-6A54FL75.js} +3 -3
- package/dist/{chunk-4T3DRGLF.js → chunk-MVGOAMTP.js} +3 -3
- package/dist/{chunk-C4JGTH6G.js → chunk-T7NDKJDP.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,13 +3,13 @@ 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";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MenuOption
|
|
3
|
+
} from "./chunk-FFU6FB3K.js";
|
|
1
4
|
import {
|
|
2
5
|
Menu
|
|
3
6
|
} from "./chunk-UBU6IJML.js";
|
|
4
7
|
import {
|
|
5
8
|
useSubMenuSystem
|
|
6
9
|
} from "./chunk-5GUW4DUY.js";
|
|
7
|
-
import {
|
|
8
|
-
MenuOption
|
|
9
|
-
} from "./chunk-FFU6FB3K.js";
|
|
10
|
-
import {
|
|
11
|
-
Search
|
|
12
|
-
} from "./chunk-PMBEIP24.js";
|
|
13
10
|
import {
|
|
14
11
|
CSS
|
|
15
12
|
} from "./chunk-WVUIIBRR.js";
|
|
13
|
+
import {
|
|
14
|
+
Search
|
|
15
|
+
} from "./chunk-IDSFWKOR.js";
|
|
16
16
|
import {
|
|
17
17
|
Icon
|
|
18
18
|
} from "./chunk-NKUETCDA.js";
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
DataGridCell,
|
|
5
5
|
DragAlongCell,
|
|
6
6
|
DraggableCellHeader
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OJX75MY2.js";
|
|
8
|
+
import "../chunk-FFU6FB3K.js";
|
|
8
9
|
import "../chunk-UBU6IJML.js";
|
|
9
10
|
import "../chunk-5GUW4DUY.js";
|
|
10
|
-
import "../chunk-FFU6FB3K.js";
|
|
11
11
|
import "../chunk-WNQ53SVY.js";
|
|
12
|
+
import "../chunk-WVUIIBRR.js";
|
|
12
13
|
import "../chunk-6LN6QT6M.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-5UH6QUFB.js";
|
|
14
|
+
import "../chunk-IDSFWKOR.js";
|
|
15
|
+
import "../chunk-MVGOAMTP.js";
|
|
16
16
|
import "../chunk-JWCT72WR.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-5UH6QUFB.js";
|
|
18
18
|
import "../chunk-HVI3CL7Y.js";
|
|
19
19
|
import "../chunk-NKUETCDA.js";
|
|
20
20
|
import "../chunk-RDLEIAQU.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
formatInputValue,
|
|
5
|
-
isValidDate,
|
|
6
|
-
parseInputDate
|
|
7
|
-
} from "../chunk-M3433XEJ.js";
|
|
2
|
+
CalendarRange
|
|
3
|
+
} from "../chunk-4XA32LKR.js";
|
|
8
4
|
import {
|
|
9
5
|
findDocumentRoot
|
|
10
6
|
} from "../chunk-6LN6QT6M.js";
|
|
11
7
|
import {
|
|
12
8
|
InputBase
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-5UH6QUFB.js";
|
|
9
|
+
} from "../chunk-MVGOAMTP.js";
|
|
15
10
|
import "../chunk-JWCT72WR.js";
|
|
16
11
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
calculateCursorPosition,
|
|
13
|
+
formatDate,
|
|
14
|
+
formatInputValue,
|
|
15
|
+
isValidDate,
|
|
16
|
+
parseInputDate
|
|
17
|
+
} from "../chunk-M3433XEJ.js";
|
|
18
|
+
import "../chunk-5UH6QUFB.js";
|
|
19
19
|
import {
|
|
20
20
|
Icon
|
|
21
21
|
} from "../chunk-NKUETCDA.js";
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CalendarRange
|
|
3
|
+
} from "../chunk-4XA32LKR.js";
|
|
4
|
+
import {
|
|
5
|
+
findDocumentRoot
|
|
6
|
+
} from "../chunk-6LN6QT6M.js";
|
|
7
|
+
import {
|
|
8
|
+
InputBase
|
|
9
|
+
} from "../chunk-MVGOAMTP.js";
|
|
10
|
+
import "../chunk-JWCT72WR.js";
|
|
1
11
|
import {
|
|
2
12
|
calculateCursorPosition,
|
|
3
13
|
formatDate,
|
|
@@ -6,17 +16,7 @@ import {
|
|
|
6
16
|
isValidDateRangeOrder,
|
|
7
17
|
parseInputDate
|
|
8
18
|
} from "../chunk-M3433XEJ.js";
|
|
9
|
-
import {
|
|
10
|
-
findDocumentRoot
|
|
11
|
-
} from "../chunk-6LN6QT6M.js";
|
|
12
|
-
import {
|
|
13
|
-
InputBase
|
|
14
|
-
} from "../chunk-4T3DRGLF.js";
|
|
15
19
|
import "../chunk-5UH6QUFB.js";
|
|
16
|
-
import "../chunk-JWCT72WR.js";
|
|
17
|
-
import {
|
|
18
|
-
CalendarRange
|
|
19
|
-
} from "../chunk-4XA32LKR.js";
|
|
20
20
|
import {
|
|
21
21
|
Icon
|
|
22
22
|
} from "../chunk-NKUETCDA.js";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OptionPill
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UGNB32SL.js";
|
|
5
5
|
import {
|
|
6
6
|
Checkbox
|
|
7
7
|
} from "../chunk-WFQEE2OO.js";
|
|
8
8
|
import {
|
|
9
9
|
Search
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-5UH6QUFB.js";
|
|
10
|
+
} from "../chunk-IDSFWKOR.js";
|
|
11
|
+
import "../chunk-MVGOAMTP.js";
|
|
13
12
|
import {
|
|
14
13
|
Label
|
|
15
14
|
} from "../chunk-JWCT72WR.js";
|
|
15
|
+
import "../chunk-5UH6QUFB.js";
|
|
16
16
|
import "../chunk-HVI3CL7Y.js";
|
|
17
17
|
import {
|
|
18
18
|
Link
|
|
19
19
|
} from "../chunk-I6GEUF6Y.js";
|
|
20
|
-
import "../chunk-FKMKHLQH.js";
|
|
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/Input.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
InputBase,
|
|
7
7
|
Percentage,
|
|
8
8
|
UOM
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-5UH6QUFB.js";
|
|
9
|
+
} from "../chunk-MVGOAMTP.js";
|
|
11
10
|
import "../chunk-JWCT72WR.js";
|
|
11
|
+
import "../chunk-5UH6QUFB.js";
|
|
12
12
|
import "../chunk-NKUETCDA.js";
|
|
13
13
|
import "../chunk-RDLEIAQU.js";
|
|
14
14
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
Paragraph
|
|
12
12
|
} from "../chunk-HVI3CL7Y.js";
|
|
13
|
-
import {
|
|
14
|
-
Button
|
|
15
|
-
} from "../chunk-FKMKHLQH.js";
|
|
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
11
|
import "../chunk-WNQ53SVY.js";
|
|
12
12
|
import "../chunk-6LN6QT6M.js";
|
|
13
|
-
import "../chunk-FKMKHLQH.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";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
Paragraph
|
|
10
10
|
} from "../chunk-HVI3CL7Y.js";
|
|
11
|
-
import {
|
|
12
|
-
Button
|
|
13
|
-
} from "../chunk-FKMKHLQH.js";
|
|
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,11 +1,11 @@
|
|
|
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
|
|
@@ -19,12 +19,12 @@ import "../chunk-6LN6QT6M.js";
|
|
|
19
19
|
import {
|
|
20
20
|
Stack
|
|
21
21
|
} from "../chunk-N6JVLYEE.js";
|
|
22
|
-
import {
|
|
23
|
-
Button
|
|
24
|
-
} from "../chunk-FKMKHLQH.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
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Search
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-5UH6QUFB.js";
|
|
4
|
+
} from "../chunk-IDSFWKOR.js";
|
|
5
|
+
import "../chunk-MVGOAMTP.js";
|
|
7
6
|
import "../chunk-JWCT72WR.js";
|
|
7
|
+
import "../chunk-5UH6QUFB.js";
|
|
8
8
|
import "../chunk-NKUETCDA.js";
|
|
9
9
|
import "../chunk-RDLEIAQU.js";
|
|
10
10
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-5UH6QUFB.js";
|
|
4
|
+
} from "../chunk-KADNOKNW.js";
|
|
5
|
+
import "../chunk-MVGOAMTP.js";
|
|
7
6
|
import "../chunk-JWCT72WR.js";
|
|
7
|
+
import "../chunk-5UH6QUFB.js";
|
|
8
8
|
import "../chunk-NKUETCDA.js";
|
|
9
9
|
import "../chunk-RDLEIAQU.js";
|
|
10
10
|
import "../chunk-ORMEWXMH.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
InputBase
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-5UH6QUFB.js";
|
|
4
|
+
} from "../chunk-MVGOAMTP.js";
|
|
6
5
|
import "../chunk-JWCT72WR.js";
|
|
7
|
-
import
|
|
8
|
-
Button
|
|
9
|
-
} from "../chunk-FKMKHLQH.js";
|
|
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/Time.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
} from "../chunk-6LN6QT6M.js";
|
|
4
4
|
import {
|
|
5
5
|
InputBase
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-5UH6QUFB.js";
|
|
6
|
+
} from "../chunk-MVGOAMTP.js";
|
|
8
7
|
import "../chunk-JWCT72WR.js";
|
|
8
|
+
import "../chunk-5UH6QUFB.js";
|
|
9
9
|
import {
|
|
10
10
|
Stack
|
|
11
11
|
} from "../chunk-N6JVLYEE.js";
|
package/dist/components/Toast.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
Paragraph
|
|
7
7
|
} from "../chunk-HVI3CL7Y.js";
|
|
8
|
-
import {
|
|
9
|
-
Button
|
|
10
|
-
} from "../chunk-FKMKHLQH.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
1
|
import {
|
|
2
2
|
Paragraph
|
|
3
3
|
} from "../chunk-HVI3CL7Y.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
|
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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tooltip
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-3WNXMCZV.js";
|
|
4
4
|
import {
|
|
5
5
|
Select
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-KADNOKNW.js";
|
|
7
7
|
import {
|
|
8
8
|
Checkbox
|
|
9
9
|
} from "../chunk-WFQEE2OO.js";
|
|
@@ -12,29 +12,29 @@ import {
|
|
|
12
12
|
DataGridCell,
|
|
13
13
|
DragAlongCell,
|
|
14
14
|
DraggableCellHeader
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-OJX75MY2.js";
|
|
16
|
+
import {
|
|
17
|
+
MenuOption
|
|
18
|
+
} from "../chunk-FFU6FB3K.js";
|
|
16
19
|
import {
|
|
17
20
|
Menu
|
|
18
21
|
} from "../chunk-UBU6IJML.js";
|
|
19
22
|
import "../chunk-5GUW4DUY.js";
|
|
20
|
-
import {
|
|
21
|
-
MenuOption
|
|
22
|
-
} from "../chunk-FFU6FB3K.js";
|
|
23
23
|
import {
|
|
24
24
|
useInfiniteScroll
|
|
25
25
|
} from "../chunk-WNQ53SVY.js";
|
|
26
|
+
import "../chunk-WVUIIBRR.js";
|
|
26
27
|
import "../chunk-6LN6QT6M.js";
|
|
27
28
|
import {
|
|
28
29
|
Search
|
|
29
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-IDSFWKOR.js";
|
|
30
31
|
import {
|
|
31
32
|
Input
|
|
32
|
-
} from "../chunk-
|
|
33
|
-
import "../chunk-5UH6QUFB.js";
|
|
33
|
+
} from "../chunk-MVGOAMTP.js";
|
|
34
34
|
import {
|
|
35
35
|
Label
|
|
36
36
|
} from "../chunk-JWCT72WR.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-5UH6QUFB.js";
|
|
38
38
|
import {
|
|
39
39
|
Subheader
|
|
40
40
|
} from "../chunk-CYZL57LH.js";
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
import {
|
|
49
49
|
Paragraph
|
|
50
50
|
} from "../chunk-HVI3CL7Y.js";
|
|
51
|
-
import {
|
|
52
|
-
Button
|
|
53
|
-
} from "../chunk-FKMKHLQH.js";
|
|
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,11 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Label
|
|
3
|
+
} from "./chunk-JWCT72WR.js";
|
|
1
4
|
import {
|
|
2
5
|
formatCurrencyDisplay,
|
|
3
6
|
formatDecimalValue,
|
|
4
7
|
getDecimalPlaceholder
|
|
5
8
|
} from "./chunk-5UH6QUFB.js";
|
|
6
|
-
import {
|
|
7
|
-
Label
|
|
8
|
-
} from "./chunk-JWCT72WR.js";
|
|
9
9
|
import {
|
|
10
10
|
Icon
|
|
11
11
|
} from "./chunk-NKUETCDA.js";
|
|
@@ -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,
|