@12-apps/ui 6.39.2 → 6.39.4

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.
Files changed (162) hide show
  1. package/dist/_internal/components/data-display/Avatar/Avatar.js +3 -3
  2. package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
  3. package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
  4. package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
  5. package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
  6. package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
  7. package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +18 -18
  8. package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +26 -25
  9. package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -2
  10. package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -3
  11. package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +3 -2
  12. package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +4 -4
  13. package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +3 -3
  14. package/dist/_internal/components/data-display/DataViews/base-list-card.js +6 -6
  15. package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
  16. package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +3 -3
  17. package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +3 -3
  18. package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +15 -15
  19. package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +5 -5
  20. package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +3 -3
  21. package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +4 -4
  22. package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
  23. package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +5 -5
  24. package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +6 -5
  25. package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +4 -4
  26. package/dist/_internal/components/data-display/DataViews/list-card-rails.js +2 -2
  27. package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +2 -2
  28. package/dist/_internal/components/data-display/FleetMap/FleetBody.js +4 -4
  29. package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +3 -3
  30. package/dist/_internal/components/data-display/FleetMap/FleetMap.js +5 -5
  31. package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
  32. package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
  33. package/dist/_internal/components/data-display/MapPreview/MapPreview.js +2 -2
  34. package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
  35. package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
  36. package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
  37. package/dist/_internal/components/data-display/index.js +25 -25
  38. package/dist/_internal/components/feedback/Dialog/Dialog.js +2 -1
  39. package/dist/_internal/components/feedback/Dialog/Dialog.paper.js +8 -0
  40. package/dist/_internal/components/feedback/Dialog/Dialog.paper.js.map +1 -0
  41. package/dist/_internal/components/feedback/index.js +5 -4
  42. package/dist/_internal/components/index.js +33 -32
  43. package/dist/_internal/components/layout/Separator/Separator.js +2 -2
  44. package/dist/_internal/components/layout/Separator/Separator.styles.js +3 -1
  45. package/dist/_internal/components/layout/index.js +2 -2
  46. package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +7 -6
  47. package/dist/_internal/components/navigation/index.js +7 -6
  48. package/dist/_internal/social-login-button/social-login-button.js +3 -3
  49. package/dist/_internal/user-avatar/user-avatar.js +4 -4
  50. package/dist/charts.js +6 -6
  51. package/dist/{chunk-FX26DAFF.js → chunk-3OBC6BOV.js} +2 -2
  52. package/dist/{chunk-KRQUPE4K.js → chunk-4CXCOR6F.js} +5 -5
  53. package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
  54. package/dist/{chunk-3FNXOCBD.js → chunk-5CQ5HYJW.js} +2 -2
  55. package/dist/{chunk-D2UDM2SU.js → chunk-6QXFBZ7Q.js} +4 -4
  56. package/dist/{chunk-I3F4C5SS.js → chunk-7RRXLCOO.js} +2 -2
  57. package/dist/{chunk-27LOJVR3.js → chunk-ASYR22BJ.js} +2 -2
  58. package/dist/{chunk-JCL7WK4G.js → chunk-BSUG4KMP.js} +7 -7
  59. package/dist/{chunk-QA2ZGCRL.js → chunk-CTKQCKRD.js} +2 -2
  60. package/dist/{chunk-CSN3F36H.js → chunk-DIM6SUGY.js} +4 -4
  61. package/dist/{chunk-PCBZYORN.js → chunk-EDKLXA5W.js} +5 -5
  62. package/dist/{chunk-PGPPN63I.js → chunk-EMEXXAQI.js} +2 -2
  63. package/dist/{chunk-4OAKGKK5.js → chunk-F4WFUQYR.js} +5 -5
  64. package/dist/{chunk-LCHCE2G5.js → chunk-FWSMIUWA.js} +2 -2
  65. package/dist/{chunk-CPWWMGYR.js → chunk-G62KCU3D.js} +2 -2
  66. package/dist/{chunk-R6SBP5M5.js → chunk-GOWBYHYW.js} +4 -4
  67. package/dist/{chunk-BFMDA6UO.js → chunk-GWEENWIS.js} +2 -2
  68. package/dist/{chunk-EHYI2WCJ.js → chunk-ISFFETTG.js} +4 -4
  69. package/dist/{chunk-4OW4O4A2.js → chunk-JBI7ITL2.js} +5 -5
  70. package/dist/{chunk-SKT2V2OX.js → chunk-JQWAANGN.js} +2 -2
  71. package/dist/{chunk-J5VWGQSR.js → chunk-K6VKL62Z.js} +2 -2
  72. package/dist/{chunk-GLHNMTP6.js → chunk-KAIUDBHM.js} +5 -5
  73. package/dist/{chunk-SV6JGFHG.js → chunk-KBZFBHLO.js} +3 -3
  74. package/dist/{chunk-HBRQPG7H.js → chunk-MYWROMGO.js} +2 -2
  75. package/dist/{chunk-EQXIW5MQ.js → chunk-O4AHF45C.js} +4 -4
  76. package/dist/{chunk-KXLUMEDX.js → chunk-QTNHAX2Z.js} +3 -3
  77. package/dist/{chunk-QB3TVUPD.js → chunk-R3JYC63P.js} +8 -8
  78. package/dist/{chunk-D46SLMCX.js → chunk-SYNB3IIB.js} +12 -1
  79. package/dist/chunk-SYNB3IIB.js.map +1 -0
  80. package/dist/{chunk-4ALF5PB5.js → chunk-SZ3YFVO5.js} +4 -4
  81. package/dist/{chunk-DDRKYNPB.js → chunk-TFMDZQK4.js} +4 -4
  82. package/dist/{chunk-H67EL3CG.js → chunk-TKKQ7RGT.js} +2 -2
  83. package/dist/{chunk-PRIBOWX4.js → chunk-U4O47P6S.js} +3 -3
  84. package/dist/{chunk-GVH7C2PT.js → chunk-UEROWH53.js} +20 -12
  85. package/dist/chunk-UEROWH53.js.map +1 -0
  86. package/dist/{chunk-GLFTIGOF.js → chunk-UITQ7KMK.js} +2 -2
  87. package/dist/{chunk-SBIZXZPP.js → chunk-W7F2QIAT.js} +2 -2
  88. package/dist/{chunk-DUBTI4DI.js → chunk-WHQKH57H.js} +3 -3
  89. package/dist/{chunk-74P3YX7R.js → chunk-X4ZRPE37.js} +2 -2
  90. package/dist/{chunk-IG23YZZR.js → chunk-XSSCSRUX.js} +7 -4
  91. package/dist/chunk-XSSCSRUX.js.map +1 -0
  92. package/dist/chunk-Y4O4DITI.js +25 -0
  93. package/dist/chunk-Y4O4DITI.js.map +1 -0
  94. package/dist/{chunk-TNQDSTIA.js → chunk-Y6C4MYZE.js} +7 -7
  95. package/dist/{chunk-F44R7US6.js → chunk-YOJASBHJ.js} +2 -2
  96. package/dist/data-display/Avatar.js +3 -3
  97. package/dist/data-display/CardKit.js +8 -8
  98. package/dist/data-display/Chart.js +6 -6
  99. package/dist/data-display/DataViews.js +35 -34
  100. package/dist/data-display/FleetMap.js +5 -5
  101. package/dist/data-display/HoverCard.js +2 -2
  102. package/dist/data-display/Lightbox.js +3 -3
  103. package/dist/data-display/MapPreview.js +2 -2
  104. package/dist/data-display/Progress.js +2 -2
  105. package/dist/data-display/Sheet.js +4 -4
  106. package/dist/feedback/ConfirmAction.js +3 -3
  107. package/dist/feedback/Dialog.js +2 -1
  108. package/dist/layout/Separator.js +2 -2
  109. package/dist/navigation/AppHeader.js +7 -6
  110. package/dist/social-login-button.js +3 -3
  111. package/dist/types/components/feedback/Dialog/Dialog.d.ts.map +1 -1
  112. package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts +31 -0
  113. package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts.map +1 -0
  114. package/dist/types/components/layout/Separator/Separator.d.ts.map +1 -1
  115. package/dist/types/components/layout/Separator/Separator.styles.d.ts +21 -0
  116. package/dist/types/components/layout/Separator/Separator.styles.d.ts.map +1 -1
  117. package/dist/user-avatar.js +4 -4
  118. package/package.json +1 -1
  119. package/src/components/feedback/Dialog/Dialog.paper.ts +64 -0
  120. package/src/components/feedback/Dialog/Dialog.tsx +12 -11
  121. package/src/components/layout/Separator/Separator.styles.ts +32 -0
  122. package/src/components/layout/Separator/Separator.tsx +4 -2
  123. package/dist/chunk-D46SLMCX.js.map +0 -1
  124. package/dist/chunk-GVH7C2PT.js.map +0 -1
  125. package/dist/chunk-IG23YZZR.js.map +0 -1
  126. /package/dist/{chunk-FX26DAFF.js.map → chunk-3OBC6BOV.js.map} +0 -0
  127. /package/dist/{chunk-KRQUPE4K.js.map → chunk-4CXCOR6F.js.map} +0 -0
  128. /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
  129. /package/dist/{chunk-3FNXOCBD.js.map → chunk-5CQ5HYJW.js.map} +0 -0
  130. /package/dist/{chunk-D2UDM2SU.js.map → chunk-6QXFBZ7Q.js.map} +0 -0
  131. /package/dist/{chunk-I3F4C5SS.js.map → chunk-7RRXLCOO.js.map} +0 -0
  132. /package/dist/{chunk-27LOJVR3.js.map → chunk-ASYR22BJ.js.map} +0 -0
  133. /package/dist/{chunk-JCL7WK4G.js.map → chunk-BSUG4KMP.js.map} +0 -0
  134. /package/dist/{chunk-QA2ZGCRL.js.map → chunk-CTKQCKRD.js.map} +0 -0
  135. /package/dist/{chunk-CSN3F36H.js.map → chunk-DIM6SUGY.js.map} +0 -0
  136. /package/dist/{chunk-PCBZYORN.js.map → chunk-EDKLXA5W.js.map} +0 -0
  137. /package/dist/{chunk-PGPPN63I.js.map → chunk-EMEXXAQI.js.map} +0 -0
  138. /package/dist/{chunk-4OAKGKK5.js.map → chunk-F4WFUQYR.js.map} +0 -0
  139. /package/dist/{chunk-LCHCE2G5.js.map → chunk-FWSMIUWA.js.map} +0 -0
  140. /package/dist/{chunk-CPWWMGYR.js.map → chunk-G62KCU3D.js.map} +0 -0
  141. /package/dist/{chunk-R6SBP5M5.js.map → chunk-GOWBYHYW.js.map} +0 -0
  142. /package/dist/{chunk-BFMDA6UO.js.map → chunk-GWEENWIS.js.map} +0 -0
  143. /package/dist/{chunk-EHYI2WCJ.js.map → chunk-ISFFETTG.js.map} +0 -0
  144. /package/dist/{chunk-4OW4O4A2.js.map → chunk-JBI7ITL2.js.map} +0 -0
  145. /package/dist/{chunk-SKT2V2OX.js.map → chunk-JQWAANGN.js.map} +0 -0
  146. /package/dist/{chunk-J5VWGQSR.js.map → chunk-K6VKL62Z.js.map} +0 -0
  147. /package/dist/{chunk-GLHNMTP6.js.map → chunk-KAIUDBHM.js.map} +0 -0
  148. /package/dist/{chunk-SV6JGFHG.js.map → chunk-KBZFBHLO.js.map} +0 -0
  149. /package/dist/{chunk-HBRQPG7H.js.map → chunk-MYWROMGO.js.map} +0 -0
  150. /package/dist/{chunk-EQXIW5MQ.js.map → chunk-O4AHF45C.js.map} +0 -0
  151. /package/dist/{chunk-KXLUMEDX.js.map → chunk-QTNHAX2Z.js.map} +0 -0
  152. /package/dist/{chunk-QB3TVUPD.js.map → chunk-R3JYC63P.js.map} +0 -0
  153. /package/dist/{chunk-4ALF5PB5.js.map → chunk-SZ3YFVO5.js.map} +0 -0
  154. /package/dist/{chunk-DDRKYNPB.js.map → chunk-TFMDZQK4.js.map} +0 -0
  155. /package/dist/{chunk-H67EL3CG.js.map → chunk-TKKQ7RGT.js.map} +0 -0
  156. /package/dist/{chunk-PRIBOWX4.js.map → chunk-U4O47P6S.js.map} +0 -0
  157. /package/dist/{chunk-GLFTIGOF.js.map → chunk-UITQ7KMK.js.map} +0 -0
  158. /package/dist/{chunk-SBIZXZPP.js.map → chunk-W7F2QIAT.js.map} +0 -0
  159. /package/dist/{chunk-DUBTI4DI.js.map → chunk-WHQKH57H.js.map} +0 -0
  160. /package/dist/{chunk-74P3YX7R.js.map → chunk-X4ZRPE37.js.map} +0 -0
  161. /package/dist/{chunk-TNQDSTIA.js.map → chunk-Y6C4MYZE.js.map} +0 -0
  162. /package/dist/{chunk-F44R7US6.js.map → chunk-YOJASBHJ.js.map} +0 -0
@@ -1,42 +1,43 @@
1
+ import {
2
+ BaseCard
3
+ } from "../chunk-3RMDIO4G.js";
1
4
  import {
2
5
  DataViewsTableBase
3
- } from "../chunk-4ALF5PB5.js";
4
- import "../chunk-BFMDA6UO.js";
6
+ } from "../chunk-SZ3YFVO5.js";
7
+ import "../chunk-GWEENWIS.js";
5
8
  import {
6
9
  DataViewsGrid
7
- } from "../chunk-PRIBOWX4.js";
10
+ } from "../chunk-U4O47P6S.js";
8
11
  import {
9
12
  BaseListCard
10
- } from "../chunk-EHYI2WCJ.js";
13
+ } from "../chunk-ISFFETTG.js";
11
14
  import "../chunk-GZT7MLLO.js";
12
- import "../chunk-KRQUPE4K.js";
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-GLHNMTP6.js";
26
- import "../chunk-HBRQPG7H.js";
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-H67EL3CG.js";
30
+ import "../chunk-TKKQ7RGT.js";
31
31
  import "../chunk-L7NQCLFU.js";
32
- import "../chunk-DUBTI4DI.js";
32
+ import "../chunk-WHQKH57H.js";
33
33
  import "../chunk-X4F32GUB.js";
34
34
  import "../chunk-4GWHYLEB.js";
35
- import "../chunk-GLFTIGOF.js";
36
- import "../chunk-74P3YX7R.js";
35
+ import "../chunk-UITQ7KMK.js";
36
+ import "../chunk-X4ZRPE37.js";
37
37
  import "../chunk-OAEYCKBN.js";
38
- import "../chunk-JCL7WK4G.js";
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-GCZJH4XL.js";
51
- import "../chunk-KXLUMEDX.js";
52
- import "../chunk-27LOJVR3.js";
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-FX26DAFF.js";
56
- import "../chunk-I3F4C5SS.js";
57
- import "../chunk-DDRKYNPB.js";
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-PCBZYORN.js";
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-EQXIW5MQ.js";
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-GVH7C2PT.js";
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-J5VWGQSR.js";
5
- import "../chunk-SBIZXZPP.js";
6
- import "../chunk-LCHCE2G5.js";
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-4OAKGKK5.js";
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-CSN3F36H.js";
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-D2UDM2SU.js";
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-4OAKGKK5.js";
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-4OW4O4A2.js";
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-QB3TVUPD.js";
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";
@@ -4,8 +4,9 @@ import {
4
4
  DialogActions,
5
5
  DialogContent,
6
6
  DialogHeader
7
- } from "../chunk-GVH7C2PT.js";
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";
@@ -1,8 +1,8 @@
1
1
  import "../chunk-CMMPGAMJ.js";
2
2
  import {
3
3
  Separator
4
- } from "../chunk-IG23YZZR.js";
5
- import "../chunk-D46SLMCX.js";
4
+ } from "../chunk-XSSCSRUX.js";
5
+ import "../chunk-SYNB3IIB.js";
6
6
  import "../chunk-PZBK3F52.js";
7
7
  import "../chunk-YKCAJ2TN.js";
8
8
  import "../chunk-PZ5AY32C.js";
@@ -17,16 +17,17 @@ import {
17
17
  } from "../chunk-IQU4HKND.js";
18
18
  import {
19
19
  AppHeaderDetails
20
- } from "../chunk-SV6JGFHG.js";
21
- import "../chunk-QB3TVUPD.js";
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-GVH7C2PT.js";
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";
@@ -4,15 +4,15 @@ import {
4
4
  GoogleIcon,
5
5
  SocialLoginButton,
6
6
  SocialLoginContainer
7
- } from "./chunk-3FNXOCBD.js";
7
+ } from "./chunk-5CQ5HYJW.js";
8
8
  import "./chunk-INGPH3YQ.js";
9
9
  import "./chunk-6GP2DOOO.js";
10
10
  import "./chunk-IJFAF3A7.js";
11
11
  import "./chunk-5JSRM7WC.js";
12
12
  import "./chunk-LKMMJKXU.js";
13
13
  import "./chunk-CMMPGAMJ.js";
14
- import "./chunk-IG23YZZR.js";
15
- import "./chunk-D46SLMCX.js";
14
+ import "./chunk-XSSCSRUX.js";
15
+ import "./chunk-SYNB3IIB.js";
16
16
  import "./chunk-VUHLNYAE.js";
17
17
  import "./chunk-2GSIEDGN.js";
18
18
  import "./chunk-WN5PNP6F.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;AAa1B,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAiFxB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuExC,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"}
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"}
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Separator/Separator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiE9C,CAAC"}
1
+ {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Separator/Separator.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmE9C,CAAC"}
@@ -16,6 +16,27 @@ type SeparatorStyleArgs = Required<Pick<SeparatorProps, 'variant' | 'orientation
16
16
  * four sides, against 16px above and below for the unlabelled one.
17
17
  */
18
18
  export declare const separatorBlockMargin: (theme: Theme, size: SeparatorSize, margin: number | string | undefined, isHorizontal: boolean) => string;
19
+ /**
20
+ * What a labelled separator's rules add to {@link separatorStyles}, and whether
21
+ * the group stretches to its parent (FUT-2617).
22
+ *
23
+ * A labelled VERTICAL separator is a flex COLUMN — rule, label, rule — and with
24
+ * no `length` each rule is `height: 100%` of a column whose height is its own
25
+ * content: both resolved to 0px and only the label showed. So the column
26
+ * stretches to the row it sits in and the two rules split what the label
27
+ * leaves, equally (`flex: 1 1 0`), never shorter than a visible minimum. With a
28
+ * `length` the rule is exactly that long: no grow, no shrink, no basis, and the
29
+ * column keeps its content height, centred as before.
30
+ *
31
+ * Only the labelled branch reads this. The plain separator keeps
32
+ * `separatorStyles` as is, since `flex: 1 1 0` there would widen a vertical
33
+ * separator sitting in a row. The horizontal rules already shrink around the
34
+ * label in their row, so they are left alone.
35
+ */
36
+ export declare const labelledSeparatorLayout: (theme: Theme, isHorizontal: boolean, length: SeparatorProps["length"]) => {
37
+ rule: CSSObject;
38
+ group: CSSObject;
39
+ };
19
40
  export declare const separatorStyles: (theme: Theme, { variant, orientation, size, color, blockMargin, length }: SeparatorStyleArgs) => CSSObject;
20
41
  export {};
21
42
  //# sourceMappingURL=Separator.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Separator.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Separator/Separator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,KAAK,EAEV,cAAc,EACd,aAAa,EAEd,MAAM,mBAAmB,CAAC;AAuB3B,+DAA+D;AAC/D,eAAO,MAAM,eAAe,GAC1B,MAAM,aAAa,EACnB,SAAS,MAAM,GAAG,MAAM,KACvB,MAAM,GAAG,MAAmD,CAAC;AAyDhE,KAAK,kBAAkB,GAAG,QAAQ,CAChC,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,aAAa,GAAG,MAAM,CAAC,CACzD,GACC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IACzC,+FAA+F;IAC/F,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,KAAK,EACZ,MAAM,aAAa,EACnB,QAAQ,MAAM,GAAG,MAAM,GAAG,SAAS,EACnC,cAAc,OAAO,KACpB,MAIF,CAAC;AAaF,eAAO,MAAM,eAAe,GAC1B,OAAO,KAAK,EACZ,4DAA4D,kBAAkB,KAC7E,SA8BF,CAAC"}
1
+ {"version":3,"file":"Separator.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Separator/Separator.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,KAAK,EAEV,cAAc,EACd,aAAa,EAEd,MAAM,mBAAmB,CAAC;AAuB3B,+DAA+D;AAC/D,eAAO,MAAM,eAAe,GAC1B,MAAM,aAAa,EACnB,SAAS,MAAM,GAAG,MAAM,KACvB,MAAM,GAAG,MAAmD,CAAC;AAyDhE,KAAK,kBAAkB,GAAG,QAAQ,CAChC,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,aAAa,GAAG,MAAM,CAAC,CACzD,GACC,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,QAAQ,CAAC,GAAG;IACzC,+FAA+F;IAC/F,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,KAAK,EACZ,MAAM,aAAa,EACnB,QAAQ,MAAM,GAAG,MAAM,GAAG,SAAS,EACnC,cAAc,OAAO,KACpB,MAIF,CAAC;AAaF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,uBAAuB,GAClC,OAAO,KAAK,EACZ,cAAc,OAAO,EACrB,QAAQ,cAAc,CAAC,QAAQ,CAAC,KAC/B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CASrC,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,OAAO,KAAK,EACZ,4DAA4D,kBAAkB,KAC7E,SA8BF,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  UserAvatar,
3
3
  UserMenu
4
- } from "./chunk-SKT2V2OX.js";
4
+ } from "./chunk-JQWAANGN.js";
5
5
  import "./chunk-UDQSIRAP.js";
6
- import "./chunk-PGPPN63I.js";
7
- import "./chunk-TNQDSTIA.js";
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@12-apps/ui",
3
- "version": "6.39.2",
3
+ "version": "6.39.4",
4
4
  "license": "MIT",
5
5
  "packageManager": "pnpm@10.34.5",
6
6
  "type": "module",
@@ -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
- PaperProps={{ ...callerPaper, sx: withCallerSx(paperSx, callerPaper?.sx) }}
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 paperSx={paperSx} testId={testId} drawerProps={{ ...props, open, onClose }}>
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}
@@ -128,6 +128,38 @@ const ruleLength = (theme: Theme, length: SeparatorProps['length']): string => {
128
128
  return length <= 1 ? `${length * 100}%` : rem(theme, length);
129
129
  };
130
130
 
131
+ /**
132
+ * What a labelled separator's rules add to {@link separatorStyles}, and whether
133
+ * the group stretches to its parent (FUT-2617).
134
+ *
135
+ * A labelled VERTICAL separator is a flex COLUMN — rule, label, rule — and with
136
+ * no `length` each rule is `height: 100%` of a column whose height is its own
137
+ * content: both resolved to 0px and only the label showed. So the column
138
+ * stretches to the row it sits in and the two rules split what the label
139
+ * leaves, equally (`flex: 1 1 0`), never shorter than a visible minimum. With a
140
+ * `length` the rule is exactly that long: no grow, no shrink, no basis, and the
141
+ * column keeps its content height, centred as before.
142
+ *
143
+ * Only the labelled branch reads this. The plain separator keeps
144
+ * `separatorStyles` as is, since `flex: 1 1 0` there would widen a vertical
145
+ * separator sitting in a row. The horizontal rules already shrink around the
146
+ * label in their row, so they are left alone.
147
+ */
148
+ export const labelledSeparatorLayout = (
149
+ theme: Theme,
150
+ isHorizontal: boolean,
151
+ length: SeparatorProps['length'],
152
+ ): { rule: CSSObject; group: CSSObject } => {
153
+ if (isHorizontal) return { rule: {}, group: {} };
154
+ if (length) return { rule: { flex: 'none' }, group: {} };
155
+ return {
156
+ // A design 16px, as long as the gap beside the label at the default
157
+ // spacing, so a short or unsized row still shows two rules and not a word.
158
+ rule: { flex: '1 1 0', minHeight: rem(theme, 16) },
159
+ group: { alignSelf: 'stretch' },
160
+ };
161
+ };
162
+
131
163
  export const separatorStyles = (
132
164
  theme: Theme,
133
165
  { variant, orientation, size, color, blockMargin, length }: SeparatorStyleArgs,