@12-apps/ui 6.39.3 → 6.39.5
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/_internal/components/data-display/Avatar/Avatar.js +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +18 -18
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +26 -25
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -2
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -3
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +3 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +4 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +6 -5
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +4 -4
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +4 -4
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +3 -3
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +5 -5
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +2 -2
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- package/dist/_internal/components/data-display/index.js +25 -25
- package/dist/_internal/components/feedback/Dialog/Dialog.js +2 -1
- package/dist/_internal/components/feedback/Dialog/Dialog.paper.js +8 -0
- package/dist/_internal/components/feedback/Dialog/Dialog.paper.js.map +1 -0
- package/dist/_internal/components/feedback/index.js +5 -4
- package/dist/_internal/components/index.js +35 -34
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +7 -6
- package/dist/_internal/components/navigation/index.js +7 -6
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.helpers.js +3 -1
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.js +4 -4
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStep.parts.js +2 -2
- package/dist/_internal/components/utility/WorkflowStep/WorkflowStepRow.js +3 -3
- package/dist/_internal/components/utility/index.js +4 -4
- package/dist/_internal/user-avatar/user-avatar.js +4 -4
- package/dist/charts.js +6 -6
- package/dist/{chunk-FX26DAFF.js → chunk-3OBC6BOV.js} +2 -2
- package/dist/{chunk-KRQUPE4K.js → chunk-4CXCOR6F.js} +5 -5
- package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
- package/dist/{chunk-D2UDM2SU.js → chunk-6QXFBZ7Q.js} +4 -4
- package/dist/{chunk-WDVNRW3Q.js → chunk-7OO3BELX.js} +2 -2
- package/dist/{chunk-I3F4C5SS.js → chunk-7RRXLCOO.js} +2 -2
- package/dist/{chunk-27LOJVR3.js → chunk-ASYR22BJ.js} +2 -2
- package/dist/{chunk-JCL7WK4G.js → chunk-BSUG4KMP.js} +7 -7
- package/dist/{chunk-QA2ZGCRL.js → chunk-CTKQCKRD.js} +2 -2
- package/dist/{chunk-CSN3F36H.js → chunk-DIM6SUGY.js} +4 -4
- package/dist/{chunk-PCBZYORN.js → chunk-EDKLXA5W.js} +5 -5
- package/dist/{chunk-PGPPN63I.js → chunk-EMEXXAQI.js} +2 -2
- package/dist/{chunk-4OAKGKK5.js → chunk-F4WFUQYR.js} +5 -5
- package/dist/{chunk-LCHCE2G5.js → chunk-FWSMIUWA.js} +2 -2
- package/dist/{chunk-CPWWMGYR.js → chunk-G62KCU3D.js} +2 -2
- package/dist/{chunk-R6SBP5M5.js → chunk-GOWBYHYW.js} +4 -4
- package/dist/{chunk-BFMDA6UO.js → chunk-GWEENWIS.js} +2 -2
- package/dist/{chunk-EHYI2WCJ.js → chunk-ISFFETTG.js} +4 -4
- package/dist/{chunk-4OW4O4A2.js → chunk-JBI7ITL2.js} +5 -5
- package/dist/{chunk-SKT2V2OX.js → chunk-JQWAANGN.js} +2 -2
- package/dist/{chunk-J5VWGQSR.js → chunk-K6VKL62Z.js} +2 -2
- package/dist/{chunk-GLHNMTP6.js → chunk-KAIUDBHM.js} +5 -5
- package/dist/{chunk-SV6JGFHG.js → chunk-KBZFBHLO.js} +3 -3
- package/dist/{chunk-GFQ4U6WZ.js → chunk-KJID4PRD.js} +3 -3
- package/dist/chunk-KJID4PRD.js.map +1 -0
- package/dist/{chunk-HBRQPG7H.js → chunk-MYWROMGO.js} +2 -2
- package/dist/{chunk-EQXIW5MQ.js → chunk-O4AHF45C.js} +4 -4
- package/dist/{chunk-KXLUMEDX.js → chunk-QTNHAX2Z.js} +3 -3
- package/dist/{chunk-QB3TVUPD.js → chunk-R3JYC63P.js} +8 -8
- package/dist/{chunk-VXQOSADY.js → chunk-RXNIOPOA.js} +8 -2
- package/dist/{chunk-VXQOSADY.js.map → chunk-RXNIOPOA.js.map} +1 -1
- package/dist/{chunk-4ALF5PB5.js → chunk-SZ3YFVO5.js} +4 -4
- package/dist/{chunk-DDRKYNPB.js → chunk-TFMDZQK4.js} +4 -4
- package/dist/{chunk-H67EL3CG.js → chunk-TKKQ7RGT.js} +2 -2
- package/dist/{chunk-PRIBOWX4.js → chunk-U4O47P6S.js} +3 -3
- package/dist/{chunk-GVH7C2PT.js → chunk-UEROWH53.js} +20 -12
- package/dist/chunk-UEROWH53.js.map +1 -0
- package/dist/{chunk-GLFTIGOF.js → chunk-UITQ7KMK.js} +2 -2
- package/dist/{chunk-SBIZXZPP.js → chunk-W7F2QIAT.js} +2 -2
- package/dist/{chunk-DUBTI4DI.js → chunk-WHQKH57H.js} +3 -3
- package/dist/{chunk-74P3YX7R.js → chunk-X4ZRPE37.js} +2 -2
- package/dist/{chunk-VLOUXTEM.js → chunk-Y2C2S4R7.js} +5 -4
- package/dist/chunk-Y2C2S4R7.js.map +1 -0
- package/dist/chunk-Y4O4DITI.js +25 -0
- package/dist/chunk-Y4O4DITI.js.map +1 -0
- package/dist/{chunk-TNQDSTIA.js → chunk-Y6C4MYZE.js} +7 -7
- package/dist/{chunk-F44R7US6.js → chunk-YOJASBHJ.js} +2 -2
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/CardKit.js +8 -8
- package/dist/data-display/Chart.js +6 -6
- package/dist/data-display/DataViews.js +35 -34
- package/dist/data-display/FleetMap.js +5 -5
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/MapPreview.js +2 -2
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/Sheet.js +4 -4
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/Dialog.js +2 -1
- package/dist/navigation/AppHeader.js +7 -6
- package/dist/types/components/feedback/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts +31 -0
- package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts.map +1 -0
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.helpers.d.ts +7 -0
- package/dist/types/components/utility/WorkflowStep/WorkflowStep.helpers.d.ts.map +1 -1
- package/dist/user-avatar.js +4 -4
- package/dist/utility/WorkflowStep.js +4 -4
- package/package.json +1 -1
- package/src/components/feedback/Dialog/Dialog.paper.ts +64 -0
- package/src/components/feedback/Dialog/Dialog.tsx +12 -11
- package/src/components/utility/WorkflowStep/WorkflowStep.helpers.ts +15 -0
- package/src/components/utility/WorkflowStep/WorkflowStep.parts.tsx +1 -1
- package/src/components/utility/WorkflowStep/WorkflowStep.tsx +2 -2
- package/dist/chunk-GFQ4U6WZ.js.map +0 -1
- package/dist/chunk-GVH7C2PT.js.map +0 -1
- package/dist/chunk-VLOUXTEM.js.map +0 -1
- /package/dist/{chunk-FX26DAFF.js.map → chunk-3OBC6BOV.js.map} +0 -0
- /package/dist/{chunk-KRQUPE4K.js.map → chunk-4CXCOR6F.js.map} +0 -0
- /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
- /package/dist/{chunk-D2UDM2SU.js.map → chunk-6QXFBZ7Q.js.map} +0 -0
- /package/dist/{chunk-WDVNRW3Q.js.map → chunk-7OO3BELX.js.map} +0 -0
- /package/dist/{chunk-I3F4C5SS.js.map → chunk-7RRXLCOO.js.map} +0 -0
- /package/dist/{chunk-27LOJVR3.js.map → chunk-ASYR22BJ.js.map} +0 -0
- /package/dist/{chunk-JCL7WK4G.js.map → chunk-BSUG4KMP.js.map} +0 -0
- /package/dist/{chunk-QA2ZGCRL.js.map → chunk-CTKQCKRD.js.map} +0 -0
- /package/dist/{chunk-CSN3F36H.js.map → chunk-DIM6SUGY.js.map} +0 -0
- /package/dist/{chunk-PCBZYORN.js.map → chunk-EDKLXA5W.js.map} +0 -0
- /package/dist/{chunk-PGPPN63I.js.map → chunk-EMEXXAQI.js.map} +0 -0
- /package/dist/{chunk-4OAKGKK5.js.map → chunk-F4WFUQYR.js.map} +0 -0
- /package/dist/{chunk-LCHCE2G5.js.map → chunk-FWSMIUWA.js.map} +0 -0
- /package/dist/{chunk-CPWWMGYR.js.map → chunk-G62KCU3D.js.map} +0 -0
- /package/dist/{chunk-R6SBP5M5.js.map → chunk-GOWBYHYW.js.map} +0 -0
- /package/dist/{chunk-BFMDA6UO.js.map → chunk-GWEENWIS.js.map} +0 -0
- /package/dist/{chunk-EHYI2WCJ.js.map → chunk-ISFFETTG.js.map} +0 -0
- /package/dist/{chunk-4OW4O4A2.js.map → chunk-JBI7ITL2.js.map} +0 -0
- /package/dist/{chunk-SKT2V2OX.js.map → chunk-JQWAANGN.js.map} +0 -0
- /package/dist/{chunk-J5VWGQSR.js.map → chunk-K6VKL62Z.js.map} +0 -0
- /package/dist/{chunk-GLHNMTP6.js.map → chunk-KAIUDBHM.js.map} +0 -0
- /package/dist/{chunk-SV6JGFHG.js.map → chunk-KBZFBHLO.js.map} +0 -0
- /package/dist/{chunk-HBRQPG7H.js.map → chunk-MYWROMGO.js.map} +0 -0
- /package/dist/{chunk-EQXIW5MQ.js.map → chunk-O4AHF45C.js.map} +0 -0
- /package/dist/{chunk-KXLUMEDX.js.map → chunk-QTNHAX2Z.js.map} +0 -0
- /package/dist/{chunk-QB3TVUPD.js.map → chunk-R3JYC63P.js.map} +0 -0
- /package/dist/{chunk-4ALF5PB5.js.map → chunk-SZ3YFVO5.js.map} +0 -0
- /package/dist/{chunk-DDRKYNPB.js.map → chunk-TFMDZQK4.js.map} +0 -0
- /package/dist/{chunk-H67EL3CG.js.map → chunk-TKKQ7RGT.js.map} +0 -0
- /package/dist/{chunk-PRIBOWX4.js.map → chunk-U4O47P6S.js.map} +0 -0
- /package/dist/{chunk-GLFTIGOF.js.map → chunk-UITQ7KMK.js.map} +0 -0
- /package/dist/{chunk-SBIZXZPP.js.map → chunk-W7F2QIAT.js.map} +0 -0
- /package/dist/{chunk-DUBTI4DI.js.map → chunk-WHQKH57H.js.map} +0 -0
- /package/dist/{chunk-74P3YX7R.js.map → chunk-X4ZRPE37.js.map} +0 -0
- /package/dist/{chunk-TNQDSTIA.js.map → chunk-Y6C4MYZE.js.map} +0 -0
- /package/dist/{chunk-F44R7US6.js.map → chunk-YOJASBHJ.js.map} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRemoveConfirm
|
|
3
|
+
} from "../chunk-QOLIBVGS.js";
|
|
1
4
|
import {
|
|
2
5
|
rowActionsToMenuItems
|
|
3
6
|
} from "../chunk-ZBXG6RVJ.js";
|
|
@@ -8,24 +11,21 @@ import {
|
|
|
8
11
|
Ledger,
|
|
9
12
|
TagList
|
|
10
13
|
} from "../chunk-JOKWTRWL.js";
|
|
14
|
+
import {
|
|
15
|
+
CardActionsProvider,
|
|
16
|
+
useCardActions
|
|
17
|
+
} from "../chunk-NSKQANRY.js";
|
|
11
18
|
import {
|
|
12
19
|
CardKebab
|
|
13
20
|
} from "../chunk-KE473LK6.js";
|
|
14
21
|
import {
|
|
15
22
|
useRowConfirm
|
|
16
23
|
} from "../chunk-U4QUDFPJ.js";
|
|
17
|
-
import {
|
|
18
|
-
useRemoveConfirm
|
|
19
|
-
} from "../chunk-QOLIBVGS.js";
|
|
20
|
-
import {
|
|
21
|
-
CardActionsProvider,
|
|
22
|
-
useCardActions
|
|
23
|
-
} from "../chunk-NSKQANRY.js";
|
|
24
24
|
import "../chunk-WVML3ENZ.js";
|
|
25
25
|
import "../chunk-U3DBQXPI.js";
|
|
26
26
|
import "../chunk-XCBQXSTR.js";
|
|
27
|
-
import "../chunk-FWPFCK4D.js";
|
|
28
27
|
import "../chunk-3AOQBR7N.js";
|
|
28
|
+
import "../chunk-FWPFCK4D.js";
|
|
29
29
|
import "../chunk-4WCDMCIS.js";
|
|
30
30
|
import "../chunk-BJZOBG24.js";
|
|
31
31
|
import "../chunk-EMYESBIT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G62KCU3D.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
7
|
} from "../chunk-Q2YNXJEL.js";
|
|
@@ -10,7 +10,11 @@ import {
|
|
|
10
10
|
ChartSpecError,
|
|
11
11
|
parseChartSpec,
|
|
12
12
|
specToChartProps
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-GOWBYHYW.js";
|
|
14
|
+
import {
|
|
15
|
+
chartValueFormatter,
|
|
16
|
+
formatChartValue
|
|
17
|
+
} from "../chunk-QVWNK4JO.js";
|
|
14
18
|
import {
|
|
15
19
|
getChartSpecRenderer,
|
|
16
20
|
getRegisteredChartSpecTypes,
|
|
@@ -27,10 +31,6 @@ import {
|
|
|
27
31
|
ChartTooltipContent
|
|
28
32
|
} from "../chunk-RIRTW5EU.js";
|
|
29
33
|
import "../chunk-EA2UNEL6.js";
|
|
30
|
-
import {
|
|
31
|
-
chartValueFormatter,
|
|
32
|
-
formatChartValue
|
|
33
|
-
} from "../chunk-QVWNK4JO.js";
|
|
34
34
|
import "../chunk-TCAQOUIB.js";
|
|
35
35
|
import "../chunk-7ZPUN7TV.js";
|
|
36
36
|
import "../chunk-PT6TCWIW.js";
|
|
@@ -1,42 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BaseCard
|
|
3
|
+
} from "../chunk-3RMDIO4G.js";
|
|
1
4
|
import {
|
|
2
5
|
DataViewsTableBase
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-SZ3YFVO5.js";
|
|
7
|
+
import "../chunk-GWEENWIS.js";
|
|
5
8
|
import {
|
|
6
9
|
DataViewsGrid
|
|
7
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-U4O47P6S.js";
|
|
8
11
|
import {
|
|
9
12
|
BaseListCard
|
|
10
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-ISFFETTG.js";
|
|
11
14
|
import "../chunk-GZT7MLLO.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-F44R7US6.js";
|
|
14
|
-
import "../chunk-2JCRNWHE.js";
|
|
15
|
-
import {
|
|
16
|
-
BaseCard
|
|
17
|
-
} from "../chunk-3RMDIO4G.js";
|
|
15
|
+
import "../chunk-4CXCOR6F.js";
|
|
18
16
|
import "../chunk-BYH5GPLT.js";
|
|
17
|
+
import "../chunk-YOJASBHJ.js";
|
|
18
|
+
import "../chunk-2JCRNWHE.js";
|
|
19
19
|
import "../chunk-ZOLAYP2D.js";
|
|
20
20
|
import {
|
|
21
21
|
DragContainerProvider,
|
|
22
22
|
DropIndicator,
|
|
23
23
|
useDragItem
|
|
24
24
|
} from "../chunk-K4EKTMTC.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-KAIUDBHM.js";
|
|
26
|
+
import "../chunk-MYWROMGO.js";
|
|
27
27
|
import {
|
|
28
28
|
DataViewsBoard
|
|
29
29
|
} from "../chunk-UGGJ3KDT.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-TKKQ7RGT.js";
|
|
31
31
|
import "../chunk-L7NQCLFU.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-WHQKH57H.js";
|
|
33
33
|
import "../chunk-X4F32GUB.js";
|
|
34
34
|
import "../chunk-4GWHYLEB.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-UITQ7KMK.js";
|
|
36
|
+
import "../chunk-X4ZRPE37.js";
|
|
37
37
|
import "../chunk-OAEYCKBN.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-BSUG4KMP.js";
|
|
39
39
|
import "../chunk-57FZM6GH.js";
|
|
40
|
+
import "../chunk-GCZJH4XL.js";
|
|
40
41
|
import "../chunk-7D7CJRL7.js";
|
|
41
42
|
import "../chunk-CBOB5AV6.js";
|
|
42
43
|
import "../chunk-2S752BIJ.js";
|
|
@@ -47,24 +48,24 @@ import "../chunk-3KREF4ZF.js";
|
|
|
47
48
|
import "../chunk-62UAI62O.js";
|
|
48
49
|
import "../chunk-6N2EDWMG.js";
|
|
49
50
|
import "../chunk-O5UGAL2V.js";
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
53
|
-
import "../chunk-QA2ZGCRL.js";
|
|
51
|
+
import "../chunk-QTNHAX2Z.js";
|
|
52
|
+
import "../chunk-ASYR22BJ.js";
|
|
53
|
+
import "../chunk-CTKQCKRD.js";
|
|
54
54
|
import "../chunk-5M4TYFR3.js";
|
|
55
|
-
import "../chunk-
|
|
56
|
-
import "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-R2XVTUVR.js";
|
|
59
|
-
import "../chunk-6N4AA2Y7.js";
|
|
55
|
+
import "../chunk-3OBC6BOV.js";
|
|
56
|
+
import "../chunk-7RRXLCOO.js";
|
|
57
|
+
import "../chunk-TFMDZQK4.js";
|
|
60
58
|
import "../chunk-YCCY77W5.js";
|
|
59
|
+
import "../chunk-R2XVTUVR.js";
|
|
61
60
|
import "../chunk-YLGY3D52.js";
|
|
61
|
+
import "../chunk-6N4AA2Y7.js";
|
|
62
62
|
import "../chunk-XIG3DXXX.js";
|
|
63
63
|
import "../chunk-HR7YTBR7.js";
|
|
64
64
|
import "../chunk-DZEC6RFM.js";
|
|
65
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-EDKLXA5W.js";
|
|
66
66
|
import "../chunk-D4FZ3ANG.js";
|
|
67
67
|
import "../chunk-YGQX7BNI.js";
|
|
68
|
+
import "../chunk-IMLIIW77.js";
|
|
68
69
|
import "../chunk-LLZWB32X.js";
|
|
69
70
|
import {
|
|
70
71
|
DataViewsScopeTabs,
|
|
@@ -73,13 +74,15 @@ import {
|
|
|
73
74
|
} from "../chunk-PL2AB5HJ.js";
|
|
74
75
|
import "../chunk-U5FOJBLG.js";
|
|
75
76
|
import "../chunk-BWHOCNGW.js";
|
|
76
|
-
import "../chunk-IMLIIW77.js";
|
|
77
77
|
import "../chunk-OB56SZGL.js";
|
|
78
78
|
import {
|
|
79
79
|
DEFAULT_RAILS,
|
|
80
80
|
ListCardGroup,
|
|
81
81
|
RAIL_COUNT
|
|
82
|
-
} from "../chunk-
|
|
82
|
+
} from "../chunk-O4AHF45C.js";
|
|
83
|
+
import {
|
|
84
|
+
DEFAULT_CELL_WIDTH
|
|
85
|
+
} from "../chunk-COYGTEN5.js";
|
|
83
86
|
import {
|
|
84
87
|
cardMinWidthForZoom,
|
|
85
88
|
cardScaleForZoom
|
|
@@ -93,9 +96,6 @@ import {
|
|
|
93
96
|
DataViewsCopyProvider,
|
|
94
97
|
useDataViewsCopy
|
|
95
98
|
} from "../chunk-KHG57NAE.js";
|
|
96
|
-
import {
|
|
97
|
-
DEFAULT_CELL_WIDTH
|
|
98
|
-
} from "../chunk-COYGTEN5.js";
|
|
99
99
|
import "../chunk-NCS2TBIP.js";
|
|
100
100
|
import "../chunk-Y4KKS6WL.js";
|
|
101
101
|
import "../chunk-MQJDMQJZ.js";
|
|
@@ -158,14 +158,15 @@ import "../chunk-RNIU447I.js";
|
|
|
158
158
|
import "../chunk-C3UKR3NT.js";
|
|
159
159
|
import "../chunk-D6KL74KI.js";
|
|
160
160
|
import "../chunk-XCBQXSTR.js";
|
|
161
|
-
import "../chunk-FWPFCK4D.js";
|
|
162
161
|
import "../chunk-3AOQBR7N.js";
|
|
162
|
+
import "../chunk-FWPFCK4D.js";
|
|
163
163
|
import "../chunk-4WCDMCIS.js";
|
|
164
164
|
import "../chunk-BJZOBG24.js";
|
|
165
165
|
import "../chunk-EMYESBIT.js";
|
|
166
166
|
import "../chunk-KFJKOVDD.js";
|
|
167
|
-
import "../chunk-
|
|
167
|
+
import "../chunk-UEROWH53.js";
|
|
168
168
|
import "../chunk-2WU52FLP.js";
|
|
169
|
+
import "../chunk-Y4O4DITI.js";
|
|
169
170
|
import "../chunk-GVGJMH77.js";
|
|
170
171
|
import "../chunk-GYXUCS37.js";
|
|
171
172
|
import "../chunk-CN46HGXE.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../chunk-RQWZYD6H.js";
|
|
2
2
|
import {
|
|
3
3
|
FleetMap
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-K6VKL62Z.js";
|
|
5
|
+
import "../chunk-W7F2QIAT.js";
|
|
6
|
+
import "../chunk-FWSMIUWA.js";
|
|
7
7
|
import "../chunk-5JCGBCFJ.js";
|
|
8
8
|
import "../chunk-BTQZ3EX3.js";
|
|
9
9
|
import "../chunk-ZCPSND5Y.js";
|
|
@@ -18,13 +18,13 @@ import "../chunk-BEGTLELZ.js";
|
|
|
18
18
|
import "../chunk-E2QIKJX2.js";
|
|
19
19
|
import "../chunk-EMPVMZAB.js";
|
|
20
20
|
import "../chunk-7WDPC46N.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-F4WFUQYR.js";
|
|
22
|
+
import "../chunk-ODFJTEIL.js";
|
|
22
23
|
import "../chunk-VIUDWOV6.js";
|
|
23
24
|
import "../chunk-VNOFFVRQ.js";
|
|
24
25
|
import "../chunk-WRCLYSTX.js";
|
|
25
26
|
import "../chunk-4NQXHPQR.js";
|
|
26
27
|
import "../chunk-ZZ4MMUBY.js";
|
|
27
|
-
import "../chunk-ODFJTEIL.js";
|
|
28
28
|
import "../chunk-QSRZOXQI.js";
|
|
29
29
|
import "../chunk-5NT2M2JI.js";
|
|
30
30
|
import "../chunk-H2J2MTRE.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-6OS4AKWT.js";
|
|
2
2
|
import {
|
|
3
3
|
HoverCard
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DIM6SUGY.js";
|
|
5
|
+
import "../chunk-SXYIXCUB.js";
|
|
5
6
|
import "../chunk-NRIV2CQ2.js";
|
|
6
7
|
import "../chunk-BSYPPO2I.js";
|
|
7
8
|
import "../chunk-ZHV7TCAC.js";
|
|
8
|
-
import "../chunk-SXYIXCUB.js";
|
|
9
9
|
import "../chunk-HPK33ACY.js";
|
|
10
10
|
import "../chunk-FQ6UW7IY.js";
|
|
11
11
|
import "../chunk-6JAIFIPW.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../chunk-UM35GGCS.js";
|
|
2
2
|
import {
|
|
3
3
|
Lightbox_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-6QXFBZ7Q.js";
|
|
5
5
|
import "../chunk-UOS7DEQZ.js";
|
|
6
6
|
import "../chunk-HJPPNVCF.js";
|
|
7
7
|
import "../chunk-M6PWPEAV.js";
|
|
8
8
|
import "../chunk-BAFDSAWY.js";
|
|
9
9
|
import "../chunk-N2GEKC4J.js";
|
|
10
10
|
import "../chunk-IVJKILIX.js";
|
|
11
|
-
import "../chunk-2DWBJJK6.js";
|
|
12
|
-
import "../chunk-ASCUWG55.js";
|
|
13
11
|
import "../chunk-TZASFX6G.js";
|
|
14
12
|
import "../chunk-TEQYTEM2.js";
|
|
15
13
|
import "../chunk-3KA6MYIR.js";
|
|
14
|
+
import "../chunk-2DWBJJK6.js";
|
|
15
|
+
import "../chunk-ASCUWG55.js";
|
|
16
16
|
import "../chunk-FQ6UW7IY.js";
|
|
17
17
|
import "../chunk-6JAIFIPW.js";
|
|
18
18
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../chunk-EJDOH7IN.js";
|
|
2
2
|
import {
|
|
3
3
|
MapPreview
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-F4WFUQYR.js";
|
|
5
|
+
import "../chunk-ODFJTEIL.js";
|
|
5
6
|
import "../chunk-VIUDWOV6.js";
|
|
6
7
|
import "../chunk-VNOFFVRQ.js";
|
|
7
8
|
import "../chunk-WRCLYSTX.js";
|
|
8
9
|
import "../chunk-4NQXHPQR.js";
|
|
9
10
|
import "../chunk-ZZ4MMUBY.js";
|
|
10
|
-
import "../chunk-ODFJTEIL.js";
|
|
11
11
|
import "../chunk-QSRZOXQI.js";
|
|
12
12
|
import "../chunk-5NT2M2JI.js";
|
|
13
13
|
import "../chunk-H2J2MTRE.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-QOB473HS.js";
|
|
2
2
|
import {
|
|
3
3
|
Progress
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-JBI7ITL2.js";
|
|
5
|
+
import "../chunk-5JEOLUWJ.js";
|
|
5
6
|
import "../chunk-RIF6L54B.js";
|
|
6
7
|
import "../chunk-RUEKY3VR.js";
|
|
7
|
-
import "../chunk-5JEOLUWJ.js";
|
|
8
8
|
import "../chunk-PE4ZW3IA.js";
|
|
9
9
|
import "../chunk-2BYKTBDL.js";
|
|
10
10
|
import "../chunk-AG66JBNH.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../chunk-ITACE45O.js";
|
|
2
2
|
import {
|
|
3
3
|
Sheet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-EJYJLVPK.js";
|
|
6
|
-
import "../chunk-LYVTJLCF.js";
|
|
7
|
-
import "../chunk-CRN4KKNI.js";
|
|
4
|
+
} from "../chunk-R3JYC63P.js";
|
|
8
5
|
import "../chunk-3U3H3BZM.js";
|
|
6
|
+
import "../chunk-EJYJLVPK.js";
|
|
9
7
|
import {
|
|
10
8
|
SheetContent,
|
|
11
9
|
SheetFooter,
|
|
12
10
|
SheetHeader,
|
|
13
11
|
SheetOverlay
|
|
14
12
|
} from "../chunk-FPVYD7BO.js";
|
|
13
|
+
import "../chunk-56JF5PZK.js";
|
|
15
14
|
import "../chunk-IM4DMKH4.js";
|
|
15
|
+
import "../chunk-CRN4KKNI.js";
|
|
16
16
|
import "../chunk-HPK33ACY.js";
|
|
17
17
|
import "../chunk-TCAQOUIB.js";
|
|
18
18
|
import "../chunk-7ZPUN7TV.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-XCBQXSTR.js";
|
|
2
|
-
import {
|
|
3
|
-
ConfirmAction
|
|
4
|
-
} from "../chunk-FWPFCK4D.js";
|
|
5
2
|
import {
|
|
6
3
|
createConfirmButton
|
|
7
4
|
} from "../chunk-3AOQBR7N.js";
|
|
5
|
+
import {
|
|
6
|
+
ConfirmAction
|
|
7
|
+
} from "../chunk-FWPFCK4D.js";
|
|
8
8
|
import {
|
|
9
9
|
withConfirmation
|
|
10
10
|
} from "../chunk-4WCDMCIS.js";
|
package/dist/feedback/Dialog.js
CHANGED
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
DialogActions,
|
|
5
5
|
DialogContent,
|
|
6
6
|
DialogHeader
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-UEROWH53.js";
|
|
8
8
|
import "../chunk-2WU52FLP.js";
|
|
9
|
+
import "../chunk-Y4O4DITI.js";
|
|
9
10
|
import "../chunk-GVGJMH77.js";
|
|
10
11
|
import "../chunk-GYXUCS37.js";
|
|
11
12
|
import "../chunk-TYJR4GOF.js";
|
|
@@ -17,16 +17,17 @@ import {
|
|
|
17
17
|
} from "../chunk-IQU4HKND.js";
|
|
18
18
|
import {
|
|
19
19
|
AppHeaderDetails
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-EJYJLVPK.js";
|
|
23
|
-
import "../chunk-LYVTJLCF.js";
|
|
24
|
-
import "../chunk-CRN4KKNI.js";
|
|
20
|
+
} from "../chunk-KBZFBHLO.js";
|
|
21
|
+
import "../chunk-R3JYC63P.js";
|
|
25
22
|
import "../chunk-3U3H3BZM.js";
|
|
23
|
+
import "../chunk-EJYJLVPK.js";
|
|
26
24
|
import "../chunk-FPVYD7BO.js";
|
|
25
|
+
import "../chunk-56JF5PZK.js";
|
|
27
26
|
import "../chunk-IM4DMKH4.js";
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-CRN4KKNI.js";
|
|
28
|
+
import "../chunk-UEROWH53.js";
|
|
29
29
|
import "../chunk-2WU52FLP.js";
|
|
30
|
+
import "../chunk-Y4O4DITI.js";
|
|
30
31
|
import "../chunk-GVGJMH77.js";
|
|
31
32
|
import "../chunk-GYXUCS37.js";
|
|
32
33
|
import "../chunk-2EAAWOZ2.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AA6ExB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2ExC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqEpD,CAAC;AA0BF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsBpD,CAAC;AAEJ,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6BtD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SxProps, Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* A caller's paper props, MERGED over the variant's rather than replacing them
|
|
4
|
+
* (FUT-2613).
|
|
5
|
+
*
|
|
6
|
+
* MUI reaches the paper through two props, and both used to replace ours whole:
|
|
7
|
+
* `PaperProps` (spread after ours) and `slotProps.paper` (which MUI itself puts
|
|
8
|
+
* over `PaperProps`). A caller asking for one class, or one `sx` tweak, lost
|
|
9
|
+
* the variant's radius, width, background and the paper's test id with it.
|
|
10
|
+
*
|
|
11
|
+
* Only the keys the merge reads are typed here; every other key the caller
|
|
12
|
+
* passed rides the spread through untouched.
|
|
13
|
+
*/
|
|
14
|
+
interface PaperSlotValue {
|
|
15
|
+
sx?: SxProps<Theme>;
|
|
16
|
+
className?: string;
|
|
17
|
+
'data-testid'?: string;
|
|
18
|
+
}
|
|
19
|
+
/** A paper slot as MUI takes it: an object, or a function of the owner state. */
|
|
20
|
+
type PaperSlot<O> = PaperSlotValue | ((ownerState: O) => PaperSlotValue);
|
|
21
|
+
/**
|
|
22
|
+
* The one paper slot to hand MUI: the variant's `look`, then `PaperProps`, then
|
|
23
|
+
* `slotProps.paper`. A function slot stays a function, so MUI still calls it
|
|
24
|
+
* with its owner state and its result merges the same way.
|
|
25
|
+
*
|
|
26
|
+
* `testId` names the paper unless the caller's props name it; the drawer passes
|
|
27
|
+
* none, because its id already sits on the Drawer root.
|
|
28
|
+
*/
|
|
29
|
+
export declare function mergedPaperSlot<O>(look: SxProps<Theme>, testId: string | undefined, legacy: PaperSlotValue | undefined, slot: PaperSlot<O> | undefined): PaperSlot<O>;
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=Dialog.paper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.paper.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.paper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;;;;;;;;;;GAWG;AACH,UAAU,cAAc;IACtB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,iFAAiF;AACjF,KAAK,SAAS,CAAC,CAAC,IAAI,cAAc,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,KAAK,cAAc,CAAC,CAAC;AAwBzE;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,cAAc,GAAG,SAAS,EAClC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,GAC7B,SAAS,CAAC,CAAC,CAAC,CAKd"}
|
|
@@ -39,5 +39,12 @@ export declare const withDerivedStatus: (steps: WorkflowStepItem[], currentStep:
|
|
|
39
39
|
type WorkflowDefaultedKeys = 'currentStep' | 'variant' | 'orientation' | 'color' | 'size' | 'showProgress' | 'animated' | 'interactive' | 'showNumbers' | 'showIcons' | 'disabled';
|
|
40
40
|
type ResolvedWorkflowStepProps = WorkflowStepProps & Required<Pick<WorkflowStepProps, WorkflowDefaultedKeys>>;
|
|
41
41
|
export declare const resolveWorkflowStepProps: (props: WorkflowStepProps) => ResolvedWorkflowStepProps;
|
|
42
|
+
/**
|
|
43
|
+
* The progressbar's `aria-valuetext`: `Step N of M: <title>` while `currentStep`
|
|
44
|
+
* names a step, and `Step N of M` when it does not (past the end, below zero, or
|
|
45
|
+
* no steps at all), so a screen reader never reads a missing title as
|
|
46
|
+
* "undefined". The index itself is not clamped (FUT-2671).
|
|
47
|
+
*/
|
|
48
|
+
export declare const progressValueText: (steps: readonly WorkflowStepItem[], currentStep: number) => string;
|
|
42
49
|
export {};
|
|
43
50
|
//# sourceMappingURL=WorkflowStep.helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkflowStep.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/utility/WorkflowStep/WorkflowStep.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAIhF,KAAK,SAAS,GAAG,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC;AACzD,KAAK,QAAQ,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAUvD,eAAO,MAAM,gBAAgB,GAAI,OAAO,QAAQ,KAAG,MACI,CAAC;AAExD,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,EAAE,QAAQ,SAAS,KAAG,WAW7D,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,SAAS;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,EACZ,SAAS,WAAW,EACpB,6CAA6C,SAAS,KACrD,UA+BF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,OAAO,gBAAgB,EAAE,EACzB,aAAa,MAAM,KAClB,gBAAgB,EAUf,CAAC;AAEL,KAAK,qBAAqB,GACtB,aAAa,GACb,SAAS,GACT,aAAa,GACb,OAAO,GACP,MAAM,GACN,cAAc,GACd,UAAU,GACV,aAAa,GACb,aAAa,GACb,WAAW,GACX,UAAU,CAAC;AAEf,KAAK,yBAAyB,GAAG,iBAAiB,GAChD,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,CAAC,CAAC;AAuB3D,eAAO,MAAM,wBAAwB,GACnC,OAAO,iBAAiB,KACvB,yBAC8E,CAAC"}
|
|
1
|
+
{"version":3,"file":"WorkflowStep.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/utility/WorkflowStep/WorkflowStep.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAE3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAIhF,KAAK,SAAS,GAAG,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC;AACzD,KAAK,QAAQ,GAAG,WAAW,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;AAUvD,eAAO,MAAM,gBAAgB,GAAI,OAAO,QAAQ,KAAG,MACI,CAAC;AAExD,UAAU,WAAW;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,EAAE,QAAQ,SAAS,KAAG,WAW7D,CAAC;AAEF,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,SAAS;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,CAAC;CACxC;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,GACrB,OAAO,KAAK,EACZ,SAAS,WAAW,EACpB,6CAA6C,SAAS,KACrD,UA+BF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,GAC5B,OAAO,gBAAgB,EAAE,EACzB,aAAa,MAAM,KAClB,gBAAgB,EAUf,CAAC;AAEL,KAAK,qBAAqB,GACtB,aAAa,GACb,SAAS,GACT,aAAa,GACb,OAAO,GACP,MAAM,GACN,cAAc,GACd,UAAU,GACV,aAAa,GACb,aAAa,GACb,WAAW,GACX,UAAU,CAAC;AAEf,KAAK,yBAAyB,GAAG,iBAAiB,GAChD,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,qBAAqB,CAAC,CAAC,CAAC;AAuB3D,eAAO,MAAM,wBAAwB,GACnC,OAAO,iBAAiB,KACvB,yBAC8E,CAAC;AAElF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAC5B,OAAO,SAAS,gBAAgB,EAAE,EAClC,aAAa,MAAM,KAClB,MAIF,CAAC"}
|
package/dist/user-avatar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserAvatar,
|
|
3
3
|
UserMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JQWAANGN.js";
|
|
5
5
|
import "./chunk-UDQSIRAP.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-EMEXXAQI.js";
|
|
7
|
+
import "./chunk-Y6C4MYZE.js";
|
|
8
|
+
import "./chunk-MTEQEPNY.js";
|
|
8
9
|
import "./chunk-6ZZGK5DT.js";
|
|
9
10
|
import "./chunk-3ZVUNSFF.js";
|
|
10
|
-
import "./chunk-MTEQEPNY.js";
|
|
11
11
|
import "./chunk-VUHLNYAE.js";
|
|
12
12
|
import "./chunk-2GSIEDGN.js";
|
|
13
13
|
import "./chunk-WN5PNP6F.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-IO36MEBD.js";
|
|
2
2
|
import {
|
|
3
3
|
WorkflowStep
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-Y2C2S4R7.js";
|
|
5
|
+
import "../chunk-7OO3BELX.js";
|
|
6
|
+
import "../chunk-KJID4PRD.js";
|
|
7
|
+
import "../chunk-RXNIOPOA.js";
|
|
8
8
|
import "../chunk-TCAQOUIB.js";
|
|
9
9
|
import "../chunk-7ZPUN7TV.js";
|
|
10
10
|
import "../chunk-PT6TCWIW.js";
|
package/package.json
CHANGED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { SxProps, Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A caller's paper props, MERGED over the variant's rather than replacing them
|
|
5
|
+
* (FUT-2613).
|
|
6
|
+
*
|
|
7
|
+
* MUI reaches the paper through two props, and both used to replace ours whole:
|
|
8
|
+
* `PaperProps` (spread after ours) and `slotProps.paper` (which MUI itself puts
|
|
9
|
+
* over `PaperProps`). A caller asking for one class, or one `sx` tweak, lost
|
|
10
|
+
* the variant's radius, width, background and the paper's test id with it.
|
|
11
|
+
*
|
|
12
|
+
* Only the keys the merge reads are typed here; every other key the caller
|
|
13
|
+
* passed rides the spread through untouched.
|
|
14
|
+
*/
|
|
15
|
+
interface PaperSlotValue {
|
|
16
|
+
sx?: SxProps<Theme>;
|
|
17
|
+
className?: string;
|
|
18
|
+
'data-testid'?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/** A paper slot as MUI takes it: an object, or a function of the owner state. */
|
|
22
|
+
type PaperSlot<O> = PaperSlotValue | ((ownerState: O) => PaperSlotValue);
|
|
23
|
+
|
|
24
|
+
/** Our look first, then whatever `sx` the caller adds — so the caller's escape hatch still wins. */
|
|
25
|
+
function sxList(caller: SxProps<Theme> | undefined): readonly unknown[] {
|
|
26
|
+
if (caller === undefined) return [];
|
|
27
|
+
return Array.isArray(caller) ? caller : [caller];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
function mergeOver(
|
|
31
|
+
look: SxProps<Theme>,
|
|
32
|
+
testId: string | undefined,
|
|
33
|
+
legacy: PaperSlotValue | undefined,
|
|
34
|
+
slot: PaperSlotValue | undefined,
|
|
35
|
+
): PaperSlotValue {
|
|
36
|
+
// MUI's own order: `slotProps.paper` over `PaperProps`.
|
|
37
|
+
const caller: PaperSlotValue = { ...legacy, ...slot };
|
|
38
|
+
return {
|
|
39
|
+
...caller,
|
|
40
|
+
sx: [look, ...sxList(legacy?.sx), ...sxList(slot?.sx)] as SxProps<Theme>,
|
|
41
|
+
// A key the caller set to `undefined` does not erase the dialog's id.
|
|
42
|
+
'data-testid': caller['data-testid'] ?? testId,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The one paper slot to hand MUI: the variant's `look`, then `PaperProps`, then
|
|
48
|
+
* `slotProps.paper`. A function slot stays a function, so MUI still calls it
|
|
49
|
+
* with its owner state and its result merges the same way.
|
|
50
|
+
*
|
|
51
|
+
* `testId` names the paper unless the caller's props name it; the drawer passes
|
|
52
|
+
* none, because its id already sits on the Drawer root.
|
|
53
|
+
*/
|
|
54
|
+
export function mergedPaperSlot<O>(
|
|
55
|
+
look: SxProps<Theme>,
|
|
56
|
+
testId: string | undefined,
|
|
57
|
+
legacy: PaperSlotValue | undefined,
|
|
58
|
+
slot: PaperSlot<O> | undefined,
|
|
59
|
+
): PaperSlot<O> {
|
|
60
|
+
if (typeof slot === 'function') {
|
|
61
|
+
return (ownerState: O) => mergeOver(look, testId, legacy, slot(ownerState));
|
|
62
|
+
}
|
|
63
|
+
return mergeOver(look, testId, legacy, slot);
|
|
64
|
+
}
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
DIALOG_TITLE,
|
|
21
21
|
DIALOG_TITLED_BODY_PADDING_TOP_UNITS,
|
|
22
22
|
} from './Dialog.metrics';
|
|
23
|
+
import { mergedPaperSlot } from './Dialog.paper';
|
|
23
24
|
import { backdropSxOf, variantStylesOf } from './Dialog.styles';
|
|
24
25
|
import { childTestId, resolveTestId, slotTestId, withoutTestIdProps } from '../../../platform/test-id';
|
|
25
26
|
import type {
|
|
@@ -74,15 +75,11 @@ function bodyOf(children: React.ReactNode, hasTitle: boolean): React.ReactNode {
|
|
|
74
75
|
return <Box sx={{ ...BODY_SX, pt }}>{children}</Box>;
|
|
75
76
|
}
|
|
76
77
|
|
|
77
|
-
/** Our look first, then whatever `sx` the caller adds — so the caller's escape hatch still wins. */
|
|
78
|
-
function withCallerSx(own: SxProps<Theme>, caller: SxProps<Theme> | undefined): SxProps<Theme> {
|
|
79
|
-
return [own, ...(Array.isArray(caller) ? caller : caller === undefined ? [] : [caller])] as SxProps<Theme>;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
78
|
/**
|
|
83
79
|
* The drawer variant: MUI's `Drawer`, with the variant's look on the Drawer's
|
|
84
80
|
* OWN paper — on an inner Box it left the paper 0px wide and clipped the panel —
|
|
85
|
-
* and a caller's paper props merged over it rather than replacing it.
|
|
81
|
+
* and a caller's paper props merged over it rather than replacing it. The
|
|
82
|
+
* test id stays on the Drawer root, so the paper carries none of its own.
|
|
86
83
|
*/
|
|
87
84
|
function DrawerDialog({
|
|
88
85
|
paperSx,
|
|
@@ -95,13 +92,13 @@ function DrawerDialog({
|
|
|
95
92
|
drawerProps: DrawerProps;
|
|
96
93
|
children: React.ReactNode;
|
|
97
94
|
}) {
|
|
98
|
-
const { PaperProps: callerPaper, ...rest } = drawerProps;
|
|
95
|
+
const { PaperProps: callerPaper, slotProps, ...rest } = drawerProps;
|
|
99
96
|
return (
|
|
100
97
|
<Drawer
|
|
101
98
|
anchor="right"
|
|
102
99
|
data-testid={testId}
|
|
103
100
|
{...rest}
|
|
104
|
-
|
|
101
|
+
slotProps={{ ...slotProps, paper: mergedPaperSlot(paperSx, undefined, callerPaper, slotProps?.paper) }}
|
|
105
102
|
>
|
|
106
103
|
{children}
|
|
107
104
|
</Drawer>
|
|
@@ -133,7 +130,7 @@ export const Dialog: React.FC<DialogProps> = (rawProps) => {
|
|
|
133
130
|
// Native's name for it and is not a DOM attribute. The native `Dialog` does
|
|
134
131
|
// the same in reverse.
|
|
135
132
|
const testId = resolveTestId(others, 'dialog');
|
|
136
|
-
const props = withoutTestIdProps(others);
|
|
133
|
+
const { PaperProps: callerPaper, slotProps, ...props } = withoutTestIdProps(others);
|
|
137
134
|
const paperSx = variantStylesOf(theme, {
|
|
138
135
|
variant, size, borderRadius, glass, gradient, glow, pulse,
|
|
139
136
|
});
|
|
@@ -158,7 +155,11 @@ export const Dialog: React.FC<DialogProps> = (rawProps) => {
|
|
|
158
155
|
|
|
159
156
|
if (variant === 'drawer') {
|
|
160
157
|
return (
|
|
161
|
-
<DrawerDialog
|
|
158
|
+
<DrawerDialog
|
|
159
|
+
paperSx={paperSx}
|
|
160
|
+
testId={testId}
|
|
161
|
+
drawerProps={{ ...props, PaperProps: callerPaper, slotProps, open, onClose }}
|
|
162
|
+
>
|
|
162
163
|
{header}
|
|
163
164
|
{body}
|
|
164
165
|
</DrawerDialog>
|
|
@@ -172,8 +173,8 @@ export const Dialog: React.FC<DialogProps> = (rawProps) => {
|
|
|
172
173
|
fullScreen={variant === 'fullscreen'}
|
|
173
174
|
BackdropComponent={backdrop ? Backdrop : undefined}
|
|
174
175
|
BackdropProps={{ sx: backdropSxOf(theme, glass) }}
|
|
175
|
-
PaperProps={{ sx: paperSx, 'data-testid': testId }}
|
|
176
176
|
{...props}
|
|
177
|
+
slotProps={{ ...slotProps, paper: mergedPaperSlot(paperSx, testId, callerPaper, slotProps?.paper) }}
|
|
177
178
|
>
|
|
178
179
|
{header}
|
|
179
180
|
{body}
|
|
@@ -157,3 +157,18 @@ export const resolveWorkflowStepProps = (
|
|
|
157
157
|
props: WorkflowStepProps,
|
|
158
158
|
): ResolvedWorkflowStepProps =>
|
|
159
159
|
({ ...WORKFLOW_DEFAULTS, ...definedProps(props) }) as ResolvedWorkflowStepProps;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* The progressbar's `aria-valuetext`: `Step N of M: <title>` while `currentStep`
|
|
163
|
+
* names a step, and `Step N of M` when it does not (past the end, below zero, or
|
|
164
|
+
* no steps at all), so a screen reader never reads a missing title as
|
|
165
|
+
* "undefined". The index itself is not clamped (FUT-2671).
|
|
166
|
+
*/
|
|
167
|
+
export const progressValueText = (
|
|
168
|
+
steps: readonly WorkflowStepItem[],
|
|
169
|
+
currentStep: number,
|
|
170
|
+
): string => {
|
|
171
|
+
const position = `Step ${currentStep + 1} of ${steps.length}`;
|
|
172
|
+
const step = steps[currentStep];
|
|
173
|
+
return step === undefined ? position : `${position}: ${step.title}`;
|
|
174
|
+
};
|