@dmsi/wedgekit-react 0.0.300 → 0.0.302
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-NGZLK4VX.js → chunk-7AULYQHT.js} +13 -13
- package/dist/{chunk-QUEDUOFI.js → chunk-NXGUDYRR.js} +3 -3
- package/dist/{chunk-RLLQRVM7.js → chunk-Q7JYDOFB.js} +2 -2
- package/dist/{chunk-5SRMR4FL.js → chunk-YCKRVNJ3.js} +3 -3
- package/dist/components/CalendarRange.css +3 -0
- package/dist/components/CalendarRange.js +8 -8
- package/dist/components/DataGridCell.js +4 -4
- package/dist/components/DateInput.css +3 -0
- package/dist/components/DateInput.js +10 -10
- package/dist/components/DateRangeInput.css +3 -0
- package/dist/components/DateRangeInput.js +10 -10
- package/dist/components/FilterGroup.js +5 -5
- package/dist/components/MenuOption.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/NestedMenu.cjs +18 -4
- package/dist/components/NestedMenu.js +22 -6
- package/dist/components/Notification.js +3 -3
- package/dist/components/OptionPill.js +2 -2
- package/dist/components/PDFViewer.js +6 -6
- package/dist/components/Stepper.js +3 -3
- package/dist/components/Time.js +3 -3
- package/dist/components/Toast.js +3 -3
- package/dist/components/Upload.js +3 -3
- package/dist/components/index.css +3 -0
- package/dist/components/index.js +13 -13
- package/dist/index.css +3 -0
- package/package.json +1 -1
- package/src/components/NestedMenu.tsx +18 -6
- package/dist/{chunk-6CPGOW6J.js → chunk-3C2U4FKR.js} +3 -3
- package/dist/{chunk-KKESN5SF.js → chunk-4XTTJOQA.js} +3 -3
- package/dist/{chunk-XM7IQHBU.js → chunk-5OPI4GTJ.js} +3 -3
- package/dist/{chunk-OXSBIBGT.js → chunk-CKQNJNU3.js} +3 -3
- package/dist/{chunk-FHQL42YP.js → chunk-YUBQJQ75.js} +3 -3
|
@@ -4,25 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Select
|
|
6
6
|
} from "./chunk-J5V2JRIK.js";
|
|
7
|
-
import {
|
|
8
|
-
Checkbox
|
|
9
|
-
} from "./chunk-NO5BIKWS.js";
|
|
10
7
|
import {
|
|
11
8
|
DataCellHeader,
|
|
12
9
|
DataGridCell,
|
|
13
10
|
DragAlongCell,
|
|
14
11
|
DraggableCellHeader
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
MenuOption
|
|
18
|
-
} from "./chunk-OXSBIBGT.js";
|
|
12
|
+
} from "./chunk-YCKRVNJ3.js";
|
|
19
13
|
import {
|
|
20
14
|
Menu
|
|
21
15
|
} from "./chunk-W32JB47H.js";
|
|
22
16
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./chunk-JUJBS4ZV.js";
|
|
17
|
+
MenuOption
|
|
18
|
+
} from "./chunk-CKQNJNU3.js";
|
|
26
19
|
import {
|
|
27
20
|
Search
|
|
28
21
|
} from "./chunk-6DPFKSCT.js";
|
|
@@ -32,6 +25,16 @@ import {
|
|
|
32
25
|
import {
|
|
33
26
|
Label
|
|
34
27
|
} from "./chunk-7CS736EF.js";
|
|
28
|
+
import {
|
|
29
|
+
Checkbox
|
|
30
|
+
} from "./chunk-NO5BIKWS.js";
|
|
31
|
+
import {
|
|
32
|
+
Button
|
|
33
|
+
} from "./chunk-WWAPK5PH.js";
|
|
34
|
+
import {
|
|
35
|
+
useInfiniteScroll,
|
|
36
|
+
useTableLayout
|
|
37
|
+
} from "./chunk-JUJBS4ZV.js";
|
|
35
38
|
import {
|
|
36
39
|
formatDate
|
|
37
40
|
} from "./chunk-TYTD4FLW.js";
|
|
@@ -47,9 +50,6 @@ import {
|
|
|
47
50
|
import {
|
|
48
51
|
Icon
|
|
49
52
|
} from "./chunk-NKUETCDA.js";
|
|
50
|
-
import {
|
|
51
|
-
Button
|
|
52
|
-
} from "./chunk-WWAPK5PH.js";
|
|
53
53
|
import {
|
|
54
54
|
componentGap,
|
|
55
55
|
componentPadding
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-4RJKB7LC.js";
|
|
4
4
|
import {
|
|
5
5
|
ModalButtons
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5OPI4GTJ.js";
|
|
7
7
|
import {
|
|
8
8
|
ModalContent
|
|
9
9
|
} from "./chunk-FRHPFACM.js";
|
|
10
10
|
import {
|
|
11
11
|
ModalHeader
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3C2U4FKR.js";
|
|
13
13
|
import {
|
|
14
14
|
ModalScrim
|
|
15
15
|
} from "./chunk-ZFOANBWG.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MenuOption
|
|
3
|
-
} from "./chunk-OXSBIBGT.js";
|
|
4
1
|
import {
|
|
5
2
|
Menu
|
|
6
3
|
} from "./chunk-W32JB47H.js";
|
|
7
4
|
import {
|
|
8
5
|
useSubMenuSystem
|
|
9
6
|
} from "./chunk-WPEDVM56.js";
|
|
7
|
+
import {
|
|
8
|
+
MenuOption
|
|
9
|
+
} from "./chunk-CKQNJNU3.js";
|
|
10
10
|
import {
|
|
11
11
|
CSS
|
|
12
12
|
} from "./chunk-WVUIIBRR.js";
|
|
@@ -2166,6 +2166,9 @@
|
|
|
2166
2166
|
.text-text-action-disabled {
|
|
2167
2167
|
color: var(--color-text-action-disabled);
|
|
2168
2168
|
}
|
|
2169
|
+
.text-text-action-normal {
|
|
2170
|
+
color: var(--color-text-action-normal);
|
|
2171
|
+
}
|
|
2169
2172
|
.text-text-action-primary-normal {
|
|
2170
2173
|
color: var(--color-text-action-primary-normal);
|
|
2171
2174
|
}
|
|
@@ -2,21 +2,22 @@ import {
|
|
|
2
2
|
CalendarRange,
|
|
3
3
|
CalendarRange_default,
|
|
4
4
|
isWeekend
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-NXGUDYRR.js";
|
|
6
|
+
import "../chunk-7AULYQHT.js";
|
|
7
7
|
import "../chunk-QQ5G773N.js";
|
|
8
8
|
import "../chunk-J5V2JRIK.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-5SRMR4FL.js";
|
|
11
|
-
import "../chunk-OXSBIBGT.js";
|
|
9
|
+
import "../chunk-YCKRVNJ3.js";
|
|
12
10
|
import "../chunk-W32JB47H.js";
|
|
13
11
|
import "../chunk-WPEDVM56.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-VXWSAIB5.js";
|
|
12
|
+
import "../chunk-CKQNJNU3.js";
|
|
16
13
|
import "../chunk-WVUIIBRR.js";
|
|
17
14
|
import "../chunk-6DPFKSCT.js";
|
|
18
15
|
import "../chunk-ZL5X7KP6.js";
|
|
19
16
|
import "../chunk-7CS736EF.js";
|
|
17
|
+
import "../chunk-NO5BIKWS.js";
|
|
18
|
+
import "../chunk-WWAPK5PH.js";
|
|
19
|
+
import "../chunk-JUJBS4ZV.js";
|
|
20
|
+
import "../chunk-VXWSAIB5.js";
|
|
20
21
|
import "../chunk-TYTD4FLW.js";
|
|
21
22
|
import "../chunk-5UH6QUFB.js";
|
|
22
23
|
import "../chunk-FA7IFW66.js";
|
|
@@ -25,7 +26,6 @@ import "../chunk-NQXZBWDZ.js";
|
|
|
25
26
|
import "../chunk-4LXG6QNT.js";
|
|
26
27
|
import "../chunk-OGIFIPKH.js";
|
|
27
28
|
import "../chunk-NKUETCDA.js";
|
|
28
|
-
import "../chunk-WWAPK5PH.js";
|
|
29
29
|
import "../chunk-6CTCHYIS.js";
|
|
30
30
|
import "../chunk-ORMEWXMH.js";
|
|
31
31
|
export {
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
DataGridCell,
|
|
5
5
|
DragAlongCell,
|
|
6
6
|
DraggableCellHeader
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-OXSBIBGT.js";
|
|
7
|
+
} from "../chunk-YCKRVNJ3.js";
|
|
9
8
|
import "../chunk-W32JB47H.js";
|
|
10
9
|
import "../chunk-WPEDVM56.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-VXWSAIB5.js";
|
|
10
|
+
import "../chunk-CKQNJNU3.js";
|
|
13
11
|
import "../chunk-WVUIIBRR.js";
|
|
14
12
|
import "../chunk-6DPFKSCT.js";
|
|
15
13
|
import "../chunk-ZL5X7KP6.js";
|
|
16
14
|
import "../chunk-7CS736EF.js";
|
|
15
|
+
import "../chunk-JUJBS4ZV.js";
|
|
16
|
+
import "../chunk-VXWSAIB5.js";
|
|
17
17
|
import "../chunk-TYTD4FLW.js";
|
|
18
18
|
import "../chunk-5UH6QUFB.js";
|
|
19
19
|
import "../chunk-OGIFIPKH.js";
|
|
@@ -2166,6 +2166,9 @@
|
|
|
2166
2166
|
.text-text-action-disabled {
|
|
2167
2167
|
color: var(--color-text-action-disabled);
|
|
2168
2168
|
}
|
|
2169
|
+
.text-text-action-normal {
|
|
2170
|
+
color: var(--color-text-action-normal);
|
|
2171
|
+
}
|
|
2169
2172
|
.text-text-action-primary-normal {
|
|
2170
2173
|
color: var(--color-text-action-primary-normal);
|
|
2171
2174
|
}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NXGUDYRR.js";
|
|
4
|
+
import "../chunk-7AULYQHT.js";
|
|
5
5
|
import "../chunk-QQ5G773N.js";
|
|
6
6
|
import "../chunk-J5V2JRIK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-5SRMR4FL.js";
|
|
9
|
-
import "../chunk-OXSBIBGT.js";
|
|
7
|
+
import "../chunk-YCKRVNJ3.js";
|
|
10
8
|
import "../chunk-W32JB47H.js";
|
|
11
9
|
import "../chunk-WPEDVM56.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import {
|
|
14
|
-
findDocumentRoot
|
|
15
|
-
} from "../chunk-VXWSAIB5.js";
|
|
10
|
+
import "../chunk-CKQNJNU3.js";
|
|
16
11
|
import "../chunk-WVUIIBRR.js";
|
|
17
12
|
import "../chunk-6DPFKSCT.js";
|
|
18
13
|
import {
|
|
19
14
|
InputBase
|
|
20
15
|
} from "../chunk-ZL5X7KP6.js";
|
|
21
16
|
import "../chunk-7CS736EF.js";
|
|
17
|
+
import "../chunk-NO5BIKWS.js";
|
|
18
|
+
import "../chunk-WWAPK5PH.js";
|
|
19
|
+
import "../chunk-JUJBS4ZV.js";
|
|
20
|
+
import {
|
|
21
|
+
findDocumentRoot
|
|
22
|
+
} from "../chunk-VXWSAIB5.js";
|
|
22
23
|
import {
|
|
23
24
|
calculateCursorPosition,
|
|
24
25
|
formatDate,
|
|
@@ -35,7 +36,6 @@ import "../chunk-OGIFIPKH.js";
|
|
|
35
36
|
import {
|
|
36
37
|
Icon
|
|
37
38
|
} from "../chunk-NKUETCDA.js";
|
|
38
|
-
import "../chunk-WWAPK5PH.js";
|
|
39
39
|
import "../chunk-6CTCHYIS.js";
|
|
40
40
|
import {
|
|
41
41
|
__objRest,
|
|
@@ -2166,6 +2166,9 @@
|
|
|
2166
2166
|
.text-text-action-disabled {
|
|
2167
2167
|
color: var(--color-text-action-disabled);
|
|
2168
2168
|
}
|
|
2169
|
+
.text-text-action-normal {
|
|
2170
|
+
color: var(--color-text-action-normal);
|
|
2171
|
+
}
|
|
2169
2172
|
.text-text-action-primary-normal {
|
|
2170
2173
|
color: var(--color-text-action-primary-normal);
|
|
2171
2174
|
}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NXGUDYRR.js";
|
|
4
|
+
import "../chunk-7AULYQHT.js";
|
|
5
5
|
import "../chunk-QQ5G773N.js";
|
|
6
6
|
import "../chunk-J5V2JRIK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-5SRMR4FL.js";
|
|
9
|
-
import "../chunk-OXSBIBGT.js";
|
|
7
|
+
import "../chunk-YCKRVNJ3.js";
|
|
10
8
|
import "../chunk-W32JB47H.js";
|
|
11
9
|
import "../chunk-WPEDVM56.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import {
|
|
14
|
-
findDocumentRoot
|
|
15
|
-
} from "../chunk-VXWSAIB5.js";
|
|
10
|
+
import "../chunk-CKQNJNU3.js";
|
|
16
11
|
import "../chunk-WVUIIBRR.js";
|
|
17
12
|
import "../chunk-6DPFKSCT.js";
|
|
18
13
|
import {
|
|
19
14
|
InputBase
|
|
20
15
|
} from "../chunk-ZL5X7KP6.js";
|
|
21
16
|
import "../chunk-7CS736EF.js";
|
|
17
|
+
import "../chunk-NO5BIKWS.js";
|
|
18
|
+
import "../chunk-WWAPK5PH.js";
|
|
19
|
+
import "../chunk-JUJBS4ZV.js";
|
|
20
|
+
import {
|
|
21
|
+
findDocumentRoot
|
|
22
|
+
} from "../chunk-VXWSAIB5.js";
|
|
22
23
|
import {
|
|
23
24
|
calculateCursorPosition,
|
|
24
25
|
formatDate,
|
|
@@ -36,7 +37,6 @@ import "../chunk-OGIFIPKH.js";
|
|
|
36
37
|
import {
|
|
37
38
|
Icon
|
|
38
39
|
} from "../chunk-NKUETCDA.js";
|
|
39
|
-
import "../chunk-WWAPK5PH.js";
|
|
40
40
|
import "../chunk-6CTCHYIS.js";
|
|
41
41
|
import {
|
|
42
42
|
__objRest,
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
OptionPill
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import {
|
|
6
|
-
Checkbox
|
|
7
|
-
} from "../chunk-NO5BIKWS.js";
|
|
4
|
+
} from "../chunk-4XTTJOQA.js";
|
|
8
5
|
import {
|
|
9
6
|
Search
|
|
10
7
|
} from "../chunk-6DPFKSCT.js";
|
|
@@ -12,6 +9,10 @@ import "../chunk-ZL5X7KP6.js";
|
|
|
12
9
|
import {
|
|
13
10
|
Label
|
|
14
11
|
} from "../chunk-7CS736EF.js";
|
|
12
|
+
import {
|
|
13
|
+
Checkbox
|
|
14
|
+
} from "../chunk-NO5BIKWS.js";
|
|
15
|
+
import "../chunk-WWAPK5PH.js";
|
|
15
16
|
import "../chunk-5UH6QUFB.js";
|
|
16
17
|
import "../chunk-OGIFIPKH.js";
|
|
17
18
|
import {
|
|
@@ -20,7 +21,6 @@ import {
|
|
|
20
21
|
import {
|
|
21
22
|
Icon
|
|
22
23
|
} from "../chunk-NKUETCDA.js";
|
|
23
|
-
import "../chunk-WWAPK5PH.js";
|
|
24
24
|
import {
|
|
25
25
|
baseTransition,
|
|
26
26
|
componentGap,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MenuOption
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CKQNJNU3.js";
|
|
5
|
+
import "../chunk-7CS736EF.js";
|
|
5
6
|
import "../chunk-JUJBS4ZV.js";
|
|
6
7
|
import "../chunk-VXWSAIB5.js";
|
|
7
|
-
import "../chunk-7CS736EF.js";
|
|
8
8
|
import "../chunk-TYTD4FLW.js";
|
|
9
9
|
import "../chunk-5UH6QUFB.js";
|
|
10
10
|
import "../chunk-OGIFIPKH.js";
|
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Heading3
|
|
6
6
|
} from "../chunk-EU73QPW7.js";
|
|
7
|
+
import {
|
|
8
|
+
Button
|
|
9
|
+
} from "../chunk-WWAPK5PH.js";
|
|
7
10
|
import {
|
|
8
11
|
Stack
|
|
9
12
|
} from "../chunk-NQXZBWDZ.js";
|
|
@@ -13,9 +16,6 @@ import {
|
|
|
13
16
|
import {
|
|
14
17
|
Icon
|
|
15
18
|
} from "../chunk-NKUETCDA.js";
|
|
16
|
-
import {
|
|
17
|
-
Button
|
|
18
|
-
} from "../chunk-WWAPK5PH.js";
|
|
19
19
|
import "../chunk-6CTCHYIS.js";
|
|
20
20
|
import "../chunk-ORMEWXMH.js";
|
|
21
21
|
|
package/dist/components/Modal.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Q7JYDOFB.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-5OPI4GTJ.js";
|
|
7
7
|
import "../chunk-FRHPFACM.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3C2U4FKR.js";
|
|
9
9
|
import "../chunk-ZFOANBWG.js";
|
|
10
10
|
import "../chunk-EU73QPW7.js";
|
|
11
|
+
import "../chunk-WWAPK5PH.js";
|
|
11
12
|
import "../chunk-JUJBS4ZV.js";
|
|
12
13
|
import "../chunk-VXWSAIB5.js";
|
|
13
14
|
import "../chunk-TYTD4FLW.js";
|
|
14
15
|
import "../chunk-5UH6QUFB.js";
|
|
15
16
|
import "../chunk-NKUETCDA.js";
|
|
16
|
-
import "../chunk-WWAPK5PH.js";
|
|
17
17
|
import "../chunk-6CTCHYIS.js";
|
|
18
18
|
import "../chunk-ORMEWXMH.js";
|
|
19
19
|
export {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ModalButtons
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-NKUETCDA.js";
|
|
3
|
+
} from "../chunk-5OPI4GTJ.js";
|
|
5
4
|
import "../chunk-WWAPK5PH.js";
|
|
5
|
+
import "../chunk-NKUETCDA.js";
|
|
6
6
|
import "../chunk-6CTCHYIS.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-3C2U4FKR.js";
|
|
4
4
|
import "../chunk-EU73QPW7.js";
|
|
5
|
-
import "../chunk-NKUETCDA.js";
|
|
6
5
|
import "../chunk-WWAPK5PH.js";
|
|
6
|
+
import "../chunk-NKUETCDA.js";
|
|
7
7
|
import "../chunk-6CTCHYIS.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-NKUETCDA.js";
|
|
3
|
+
} from "../chunk-YUBQJQ75.js";
|
|
5
4
|
import "../chunk-WWAPK5PH.js";
|
|
5
|
+
import "../chunk-NKUETCDA.js";
|
|
6
6
|
import "../chunk-6CTCHYIS.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-NKUETCDA.js";
|
|
4
|
+
} from "../chunk-YUBQJQ75.js";
|
|
6
5
|
import "../chunk-WWAPK5PH.js";
|
|
6
|
+
import "../chunk-NKUETCDA.js";
|
|
7
7
|
import {
|
|
8
8
|
componentGap
|
|
9
9
|
} from "../chunk-6CTCHYIS.js";
|
|
@@ -614,17 +614,31 @@ function NestedMenu(props) {
|
|
|
614
614
|
MenuOption,
|
|
615
615
|
{
|
|
616
616
|
testid: testid ? `${testid}-back` : void 0,
|
|
617
|
-
variant: "
|
|
618
|
-
before: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
617
|
+
variant: "normal",
|
|
618
|
+
before: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
619
|
+
Icon,
|
|
620
|
+
{
|
|
621
|
+
name: "chevron_left",
|
|
622
|
+
className: "icon text-text-action-normal",
|
|
623
|
+
size: 24
|
|
624
|
+
}
|
|
625
|
+
),
|
|
619
626
|
onClick: () => {
|
|
620
627
|
var _a2;
|
|
621
628
|
return handleMenuClick((_a2 = currentMenu.previousMenu) != null ? _a2 : null, true);
|
|
622
629
|
},
|
|
623
630
|
selected: selectedIndex === -1,
|
|
624
|
-
children: currentMenu.previousMenu ? currentMenu.previousMenu.label : "Main Menu"
|
|
631
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Label, { color: "text-action-normal", children: currentMenu.previousMenu ? currentMenu.previousMenu.label : "Main Menu" })
|
|
632
|
+
}
|
|
633
|
+
),
|
|
634
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
635
|
+
MenuOption,
|
|
636
|
+
{
|
|
637
|
+
variant: "action",
|
|
638
|
+
testid: testid ? `${testid}-title` : void 0,
|
|
639
|
+
children: (_a = currentMenu.title) != null ? _a : currentMenu.label
|
|
625
640
|
}
|
|
626
641
|
),
|
|
627
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(MenuOption, { variant: "action", testid: testid ? `${testid}-title` : void 0, children: (_a = currentMenu.title) != null ? _a : currentMenu.label }),
|
|
628
642
|
(currentMenu.subEntries || []).map((item, idx) => {
|
|
629
643
|
var _a2;
|
|
630
644
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
MenuOption
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CKQNJNU3.js";
|
|
5
|
+
import {
|
|
6
|
+
Label
|
|
7
|
+
} from "../chunk-7CS736EF.js";
|
|
5
8
|
import {
|
|
6
9
|
useKeydown
|
|
7
10
|
} from "../chunk-JUJBS4ZV.js";
|
|
8
11
|
import "../chunk-VXWSAIB5.js";
|
|
9
|
-
import "../chunk-7CS736EF.js";
|
|
10
12
|
import "../chunk-TYTD4FLW.js";
|
|
11
13
|
import "../chunk-5UH6QUFB.js";
|
|
12
14
|
import "../chunk-OGIFIPKH.js";
|
|
@@ -71,17 +73,31 @@ function NestedMenu(props) {
|
|
|
71
73
|
MenuOption,
|
|
72
74
|
{
|
|
73
75
|
testid: testid ? `${testid}-back` : void 0,
|
|
74
|
-
variant: "
|
|
75
|
-
before: /* @__PURE__ */ jsx(
|
|
76
|
+
variant: "normal",
|
|
77
|
+
before: /* @__PURE__ */ jsx(
|
|
78
|
+
Icon,
|
|
79
|
+
{
|
|
80
|
+
name: "chevron_left",
|
|
81
|
+
className: "icon text-text-action-normal",
|
|
82
|
+
size: 24
|
|
83
|
+
}
|
|
84
|
+
),
|
|
76
85
|
onClick: () => {
|
|
77
86
|
var _a2;
|
|
78
87
|
return handleMenuClick((_a2 = currentMenu.previousMenu) != null ? _a2 : null, true);
|
|
79
88
|
},
|
|
80
89
|
selected: selectedIndex === -1,
|
|
81
|
-
children: currentMenu.previousMenu ? currentMenu.previousMenu.label : "Main Menu"
|
|
90
|
+
children: /* @__PURE__ */ jsx(Label, { color: "text-action-normal", children: currentMenu.previousMenu ? currentMenu.previousMenu.label : "Main Menu" })
|
|
91
|
+
}
|
|
92
|
+
),
|
|
93
|
+
/* @__PURE__ */ jsx(
|
|
94
|
+
MenuOption,
|
|
95
|
+
{
|
|
96
|
+
variant: "action",
|
|
97
|
+
testid: testid ? `${testid}-title` : void 0,
|
|
98
|
+
children: (_a = currentMenu.title) != null ? _a : currentMenu.label
|
|
82
99
|
}
|
|
83
100
|
),
|
|
84
|
-
/* @__PURE__ */ jsx(MenuOption, { variant: "action", testid: testid ? `${testid}-title` : void 0, children: (_a = currentMenu.title) != null ? _a : currentMenu.label }),
|
|
85
101
|
(currentMenu.subEntries || []).map((item, idx) => {
|
|
86
102
|
var _a2;
|
|
87
103
|
return /* @__PURE__ */ jsx(
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Heading3
|
|
4
4
|
} from "../chunk-EU73QPW7.js";
|
|
5
|
+
import {
|
|
6
|
+
Button
|
|
7
|
+
} from "../chunk-WWAPK5PH.js";
|
|
5
8
|
import {
|
|
6
9
|
Stack
|
|
7
10
|
} from "../chunk-NQXZBWDZ.js";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
import {
|
|
12
15
|
Icon
|
|
13
16
|
} from "../chunk-NKUETCDA.js";
|
|
14
|
-
import {
|
|
15
|
-
Button
|
|
16
|
-
} from "../chunk-WWAPK5PH.js";
|
|
17
17
|
import "../chunk-6CTCHYIS.js";
|
|
18
18
|
import {
|
|
19
19
|
__objRest,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OptionPill
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4XTTJOQA.js";
|
|
4
4
|
import "../chunk-7CS736EF.js";
|
|
5
|
-
import "../chunk-NKUETCDA.js";
|
|
6
5
|
import "../chunk-WWAPK5PH.js";
|
|
6
|
+
import "../chunk-NKUETCDA.js";
|
|
7
7
|
import "../chunk-6CTCHYIS.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-Q7JYDOFB.js";
|
|
5
5
|
import "../chunk-4RJKB7LC.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-5OPI4GTJ.js";
|
|
7
7
|
import "../chunk-FRHPFACM.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3C2U4FKR.js";
|
|
9
9
|
import "../chunk-ZFOANBWG.js";
|
|
10
10
|
import {
|
|
11
11
|
Spinner
|
|
@@ -13,6 +13,9 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
Heading3
|
|
15
15
|
} from "../chunk-EU73QPW7.js";
|
|
16
|
+
import {
|
|
17
|
+
Button
|
|
18
|
+
} from "../chunk-WWAPK5PH.js";
|
|
16
19
|
import "../chunk-JUJBS4ZV.js";
|
|
17
20
|
import "../chunk-VXWSAIB5.js";
|
|
18
21
|
import "../chunk-TYTD4FLW.js";
|
|
@@ -26,9 +29,6 @@ import {
|
|
|
26
29
|
import {
|
|
27
30
|
Icon
|
|
28
31
|
} from "../chunk-NKUETCDA.js";
|
|
29
|
-
import {
|
|
30
|
-
Button
|
|
31
|
-
} from "../chunk-WWAPK5PH.js";
|
|
32
32
|
import "../chunk-6CTCHYIS.js";
|
|
33
33
|
import "../chunk-ORMEWXMH.js";
|
|
34
34
|
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
InputBase
|
|
4
4
|
} from "../chunk-ZL5X7KP6.js";
|
|
5
5
|
import "../chunk-7CS736EF.js";
|
|
6
|
+
import {
|
|
7
|
+
Button
|
|
8
|
+
} from "../chunk-WWAPK5PH.js";
|
|
6
9
|
import "../chunk-5UH6QUFB.js";
|
|
7
10
|
import {
|
|
8
11
|
Icon
|
|
9
12
|
} from "../chunk-NKUETCDA.js";
|
|
10
|
-
import {
|
|
11
|
-
Button
|
|
12
|
-
} from "../chunk-WWAPK5PH.js";
|
|
13
13
|
import {
|
|
14
14
|
componentGap
|
|
15
15
|
} from "../chunk-6CTCHYIS.js";
|
package/dist/components/Time.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
findDocumentRoot
|
|
3
|
-
} from "../chunk-VXWSAIB5.js";
|
|
4
1
|
import {
|
|
5
2
|
InputBase
|
|
6
3
|
} from "../chunk-ZL5X7KP6.js";
|
|
7
4
|
import "../chunk-7CS736EF.js";
|
|
5
|
+
import {
|
|
6
|
+
findDocumentRoot
|
|
7
|
+
} from "../chunk-VXWSAIB5.js";
|
|
8
8
|
import "../chunk-TYTD4FLW.js";
|
|
9
9
|
import "../chunk-5UH6QUFB.js";
|
|
10
10
|
import {
|
package/dist/components/Toast.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Heading3
|
|
4
4
|
} from "../chunk-EU73QPW7.js";
|
|
5
|
+
import {
|
|
6
|
+
Button
|
|
7
|
+
} from "../chunk-WWAPK5PH.js";
|
|
5
8
|
import {
|
|
6
9
|
Paragraph
|
|
7
10
|
} from "../chunk-OGIFIPKH.js";
|
|
8
11
|
import {
|
|
9
12
|
Icon
|
|
10
13
|
} from "../chunk-NKUETCDA.js";
|
|
11
|
-
import {
|
|
12
|
-
Button
|
|
13
|
-
} from "../chunk-WWAPK5PH.js";
|
|
14
14
|
import {
|
|
15
15
|
componentGap,
|
|
16
16
|
componentPadding,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Spinner
|
|
3
3
|
} from "../chunk-SBRRNFOP.js";
|
|
4
|
+
import {
|
|
5
|
+
Button
|
|
6
|
+
} from "../chunk-WWAPK5PH.js";
|
|
4
7
|
import {
|
|
5
8
|
Stack
|
|
6
9
|
} from "../chunk-NQXZBWDZ.js";
|
|
@@ -10,9 +13,6 @@ import {
|
|
|
10
13
|
import {
|
|
11
14
|
Icon
|
|
12
15
|
} from "../chunk-NKUETCDA.js";
|
|
13
|
-
import {
|
|
14
|
-
Button
|
|
15
|
-
} from "../chunk-WWAPK5PH.js";
|
|
16
16
|
import {
|
|
17
17
|
componentGap
|
|
18
18
|
} from "../chunk-6CTCHYIS.js";
|
|
@@ -2166,6 +2166,9 @@
|
|
|
2166
2166
|
.text-text-action-disabled {
|
|
2167
2167
|
color: var(--color-text-action-disabled);
|
|
2168
2168
|
}
|
|
2169
|
+
.text-text-action-normal {
|
|
2170
|
+
color: var(--color-text-action-normal);
|
|
2171
|
+
}
|
|
2169
2172
|
.text-text-action-primary-normal {
|
|
2170
2173
|
color: var(--color-text-action-primary-normal);
|
|
2171
2174
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataGrid
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7AULYQHT.js";
|
|
4
4
|
import {
|
|
5
5
|
Tooltip
|
|
6
6
|
} from "../chunk-QQ5G773N.js";
|
|
7
7
|
import {
|
|
8
8
|
Select
|
|
9
9
|
} from "../chunk-J5V2JRIK.js";
|
|
10
|
-
import {
|
|
11
|
-
Checkbox
|
|
12
|
-
} from "../chunk-NO5BIKWS.js";
|
|
13
10
|
import {
|
|
14
11
|
DataCellHeader,
|
|
15
12
|
DataGridCell,
|
|
16
13
|
DragAlongCell,
|
|
17
14
|
DraggableCellHeader
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import {
|
|
20
|
-
MenuOption
|
|
21
|
-
} from "../chunk-OXSBIBGT.js";
|
|
15
|
+
} from "../chunk-YCKRVNJ3.js";
|
|
22
16
|
import {
|
|
23
17
|
Menu
|
|
24
18
|
} from "../chunk-W32JB47H.js";
|
|
25
19
|
import "../chunk-WPEDVM56.js";
|
|
26
|
-
import
|
|
27
|
-
|
|
20
|
+
import {
|
|
21
|
+
MenuOption
|
|
22
|
+
} from "../chunk-CKQNJNU3.js";
|
|
28
23
|
import "../chunk-WVUIIBRR.js";
|
|
29
24
|
import {
|
|
30
25
|
Search
|
|
@@ -35,6 +30,14 @@ import {
|
|
|
35
30
|
import {
|
|
36
31
|
Label
|
|
37
32
|
} from "../chunk-7CS736EF.js";
|
|
33
|
+
import {
|
|
34
|
+
Checkbox
|
|
35
|
+
} from "../chunk-NO5BIKWS.js";
|
|
36
|
+
import {
|
|
37
|
+
Button
|
|
38
|
+
} from "../chunk-WWAPK5PH.js";
|
|
39
|
+
import "../chunk-JUJBS4ZV.js";
|
|
40
|
+
import "../chunk-VXWSAIB5.js";
|
|
38
41
|
import "../chunk-TYTD4FLW.js";
|
|
39
42
|
import "../chunk-5UH6QUFB.js";
|
|
40
43
|
import {
|
|
@@ -53,9 +56,6 @@ import {
|
|
|
53
56
|
import {
|
|
54
57
|
Icon
|
|
55
58
|
} from "../chunk-NKUETCDA.js";
|
|
56
|
-
import {
|
|
57
|
-
Button
|
|
58
|
-
} from "../chunk-WWAPK5PH.js";
|
|
59
59
|
import "../chunk-6CTCHYIS.js";
|
|
60
60
|
import "../chunk-ORMEWXMH.js";
|
|
61
61
|
export {
|
package/dist/index.css
CHANGED
|
@@ -2144,6 +2144,9 @@
|
|
|
2144
2144
|
.text-text-action-disabled {
|
|
2145
2145
|
color: var(--color-text-action-disabled);
|
|
2146
2146
|
}
|
|
2147
|
+
.text-text-action-normal {
|
|
2148
|
+
color: var(--color-text-action-normal);
|
|
2149
|
+
}
|
|
2147
2150
|
.text-text-action-primary-normal {
|
|
2148
2151
|
color: var(--color-text-action-primary-normal);
|
|
2149
2152
|
}
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@ import { useState } from "react";
|
|
|
4
4
|
import { Icon } from "./Icon";
|
|
5
5
|
import { MenuOption } from "./MenuOption";
|
|
6
6
|
import { useKeydown } from "../hooks";
|
|
7
|
+
import { Label } from "./Label";
|
|
7
8
|
|
|
8
9
|
export type NestedMenuEntry = {
|
|
9
10
|
id: string; // Unique identifier for the nested menu entry
|
|
@@ -70,16 +71,27 @@ export function NestedMenu(props: NestedMenuProps) {
|
|
|
70
71
|
<div className="flex flex-col w-full">
|
|
71
72
|
<MenuOption
|
|
72
73
|
testid={testid ? `${testid}-back` : undefined}
|
|
73
|
-
variant="
|
|
74
|
-
before={
|
|
74
|
+
variant="normal"
|
|
75
|
+
before={
|
|
76
|
+
<Icon
|
|
77
|
+
name="chevron_left"
|
|
78
|
+
className="icon text-text-action-normal"
|
|
79
|
+
size={24}
|
|
80
|
+
/>
|
|
81
|
+
}
|
|
75
82
|
onClick={() => handleMenuClick(currentMenu.previousMenu ?? null, true)}
|
|
76
83
|
selected={selectedIndex === -1}
|
|
77
84
|
>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
85
|
+
<Label color="text-action-normal">
|
|
86
|
+
{currentMenu.previousMenu
|
|
87
|
+
? currentMenu.previousMenu.label
|
|
88
|
+
: "Main Menu"}
|
|
89
|
+
</Label>
|
|
81
90
|
</MenuOption>
|
|
82
|
-
<MenuOption
|
|
91
|
+
<MenuOption
|
|
92
|
+
variant="action"
|
|
93
|
+
testid={testid ? `${testid}-title` : undefined}
|
|
94
|
+
>
|
|
83
95
|
{currentMenu.title ?? currentMenu.label}
|
|
84
96
|
</MenuOption>
|
|
85
97
|
{(currentMenu.subEntries || []).map((item, idx) => (
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Heading2
|
|
3
3
|
} from "./chunk-EU73QPW7.js";
|
|
4
|
-
import {
|
|
5
|
-
Icon
|
|
6
|
-
} from "./chunk-NKUETCDA.js";
|
|
7
4
|
import {
|
|
8
5
|
Button
|
|
9
6
|
} from "./chunk-WWAPK5PH.js";
|
|
7
|
+
import {
|
|
8
|
+
Icon
|
|
9
|
+
} from "./chunk-NKUETCDA.js";
|
|
10
10
|
import {
|
|
11
11
|
layoutGroupGap,
|
|
12
12
|
layoutPaddding
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Label
|
|
3
3
|
} from "./chunk-7CS736EF.js";
|
|
4
|
-
import {
|
|
5
|
-
Icon
|
|
6
|
-
} from "./chunk-NKUETCDA.js";
|
|
7
4
|
import {
|
|
8
5
|
Button
|
|
9
6
|
} from "./chunk-WWAPK5PH.js";
|
|
7
|
+
import {
|
|
8
|
+
Icon
|
|
9
|
+
} from "./chunk-NKUETCDA.js";
|
|
10
10
|
import {
|
|
11
11
|
baseTransition,
|
|
12
12
|
componentGap,
|