@dmsi/wedgekit-react 0.0.369 → 0.0.371

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 (205) hide show
  1. package/dist/{chunk-RLLQRVM7.js → chunk-2H35FETR.js} +18 -10
  2. package/dist/chunk-2IKT6IHB.js +190 -0
  3. package/dist/chunk-4UNWXB4A.js +89 -0
  4. package/dist/chunk-5IFPG6TS.js +17 -0
  5. package/dist/{chunk-6GAYJCFE.js → chunk-6DPFKSCT.js} +1 -1
  6. package/dist/{chunk-ZFOANBWG.js → chunk-AG43RS4Q.js} +2 -1
  7. package/dist/chunk-AJ5M6MVX.js +7 -0
  8. package/dist/chunk-AT4AWD6B.js +44 -0
  9. package/dist/chunk-BQNPOGD5.js +105 -0
  10. package/dist/chunk-CQFPNZTN.js +172 -0
  11. package/dist/chunk-EJSPFQCY.js +29 -0
  12. package/dist/chunk-ER6RCOH3.js +97 -0
  13. package/dist/{chunk-4VER5OEU.js → chunk-FBE2HGEF.js} +35 -11
  14. package/dist/chunk-HPQWEZJL.js +45 -0
  15. package/dist/{chunk-URCLLHO5.js → chunk-IBX6DVHU.js} +376 -102
  16. package/dist/{chunk-I3WFZOFY.js → chunk-J5V2JRIK.js} +1 -1
  17. package/dist/chunk-JGJUVJKD.js +283 -0
  18. package/dist/chunk-KEMCFN4U.js +78 -0
  19. package/dist/chunk-M6TSTDNZ.js +22 -0
  20. package/dist/chunk-M7INAUAJ.js +140 -0
  21. package/dist/chunk-MBZ55T2D.js +51 -0
  22. package/dist/chunk-N6PNLLNS.js +77 -0
  23. package/dist/{chunk-ZA5E7ZYM.js → chunk-NXGUDYRR.js} +1 -1
  24. package/dist/chunk-P36QKH26.js +143 -0
  25. package/dist/chunk-PTRZHGHA.js +89 -0
  26. package/dist/chunk-QVWYTQKL.js +29 -0
  27. package/dist/{chunk-6CPGOW6J.js → chunk-T36HX6QY.js} +6 -4
  28. package/dist/chunk-U6PUOGG4.js +114 -0
  29. package/dist/{chunk-NQXZBWDZ.js → chunk-V6U7LU6M.js} +15 -6
  30. package/dist/chunk-VJVY6NPF.js +32 -0
  31. package/dist/chunk-VVXPGI2P.js +61 -0
  32. package/dist/{chunk-ARQBSR3I.js → chunk-YCKRVNJ3.js} +4 -4
  33. package/dist/chunk-YYHQLQDQ.js +68 -0
  34. package/dist/components/Accordion.cjs +47 -14
  35. package/dist/components/Accordion.js +2 -2
  36. package/dist/components/CalendarRange.cjs +700 -46
  37. package/dist/components/CalendarRange.css +186 -3
  38. package/dist/components/CalendarRange.js +43 -11
  39. package/dist/components/CompactImagesPreview.cjs +485 -0
  40. package/dist/components/CompactImagesPreview.js +13 -0
  41. package/dist/components/ContentTabs.cjs +3 -2
  42. package/dist/components/ContentTabs.js +3 -2
  43. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +4687 -0
  44. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +5051 -0
  45. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +62 -0
  46. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +4687 -0
  47. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +5051 -0
  48. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +62 -0
  49. package/dist/components/DataGrid/PinnedColumns.cjs +4687 -0
  50. package/dist/components/DataGrid/PinnedColumns.css +5051 -0
  51. package/dist/components/DataGrid/PinnedColumns.js +62 -0
  52. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +4689 -0
  53. package/dist/components/DataGrid/TableBody/LoadingCell.css +5051 -0
  54. package/dist/components/DataGrid/TableBody/LoadingCell.js +62 -0
  55. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +4689 -0
  56. package/dist/components/DataGrid/TableBody/TableBodyRow.css +5051 -0
  57. package/dist/components/DataGrid/TableBody/TableBodyRow.js +62 -0
  58. package/dist/components/DataGrid/TableBody/index.cjs +4689 -0
  59. package/dist/components/DataGrid/TableBody/index.css +5051 -0
  60. package/dist/components/DataGrid/TableBody/index.js +62 -0
  61. package/dist/components/DataGrid/index.cjs +4692 -0
  62. package/dist/components/DataGrid/index.css +5051 -0
  63. package/dist/components/DataGrid/index.js +65 -0
  64. package/dist/components/DataGrid/utils.cjs +4687 -0
  65. package/dist/components/DataGrid/utils.css +5051 -0
  66. package/dist/components/DataGrid/utils.js +62 -0
  67. package/dist/components/DataGridCell.js +6 -6
  68. package/dist/components/DateInput.cjs +721 -67
  69. package/dist/components/DateInput.css +186 -3
  70. package/dist/components/DateInput.js +45 -13
  71. package/dist/components/DateRangeInput.cjs +721 -67
  72. package/dist/components/DateRangeInput.css +186 -3
  73. package/dist/components/DateRangeInput.js +45 -13
  74. package/dist/components/FilterGroup.js +3 -3
  75. package/dist/components/Grid.cjs +3 -1
  76. package/dist/components/Grid.js +3 -92
  77. package/dist/components/ImagePlaceholder.cjs +65 -0
  78. package/dist/components/ImagePlaceholder.js +7 -0
  79. package/dist/components/Input.js +2 -2
  80. package/dist/components/MenuOption.js +2 -2
  81. package/dist/components/MobileDataGrid/ColumnList.cjs +845 -0
  82. package/dist/components/MobileDataGrid/ColumnList.js +17 -0
  83. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +4797 -0
  84. package/dist/components/MobileDataGrid/ColumnSelector/index.css +5051 -0
  85. package/dist/components/MobileDataGrid/ColumnSelector/index.js +62 -0
  86. package/dist/components/MobileDataGrid/GridContextProvider/GridContext.cjs +31 -0
  87. package/dist/components/MobileDataGrid/GridContextProvider/GridContext.js +7 -0
  88. package/dist/components/MobileDataGrid/GridContextProvider/index.cjs +177 -0
  89. package/dist/components/MobileDataGrid/GridContextProvider/index.js +8 -0
  90. package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +269 -0
  91. package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +9 -0
  92. package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +790 -0
  93. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +16 -0
  94. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +5059 -0
  95. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +5051 -0
  96. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +62 -0
  97. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +509 -0
  98. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +13 -0
  99. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +1261 -0
  100. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +27 -0
  101. package/dist/components/MobileDataGrid/index.cjs +5521 -0
  102. package/dist/components/MobileDataGrid/index.css +5051 -0
  103. package/dist/components/MobileDataGrid/index.js +62 -0
  104. package/dist/components/Modal.cjs +24 -13
  105. package/dist/components/Modal.js +3 -3
  106. package/dist/components/ModalHeader.cjs +6 -4
  107. package/dist/components/ModalHeader.js +1 -1
  108. package/dist/components/ModalScrim.cjs +2 -1
  109. package/dist/components/ModalScrim.js +1 -1
  110. package/dist/components/NestedMenu.js +4 -4
  111. package/dist/components/Notification.cjs +15 -6
  112. package/dist/components/Notification.js +1 -1
  113. package/dist/components/PDFViewer/DownloadIcon.cjs +394 -0
  114. package/dist/components/PDFViewer/DownloadIcon.js +10 -0
  115. package/dist/components/PDFViewer/PDFElement.cjs +515 -0
  116. package/dist/components/PDFViewer/PDFElement.js +11 -0
  117. package/dist/components/{MobileDataGrid.cjs → PDFViewer/PDFNavigation.cjs} +318 -402
  118. package/dist/components/PDFViewer/PDFNavigation.js +13 -0
  119. package/dist/components/PDFViewer/PDFPage.cjs +56 -0
  120. package/dist/components/PDFViewer/PDFPage.js +7 -0
  121. package/dist/components/{PDFViewer.cjs → PDFViewer/index.cjs} +290 -202
  122. package/dist/components/PDFViewer/index.js +29 -0
  123. package/dist/components/Password.js +2 -2
  124. package/dist/components/ProductImagePreview/CarouselPagination.cjs +75 -0
  125. package/dist/components/ProductImagePreview/CarouselPagination.js +7 -0
  126. package/dist/components/ProductImagePreview/MobileImageCarousel.cjs +214 -0
  127. package/dist/components/ProductImagePreview/MobileImageCarousel.js +7 -0
  128. package/dist/components/ProductImagePreview/ProductPrimaryImage.cjs +255 -0
  129. package/dist/components/ProductImagePreview/ProductPrimaryImage.js +9 -0
  130. package/dist/components/ProductImagePreview/Thumbnail.cjs +105 -0
  131. package/dist/components/ProductImagePreview/Thumbnail.js +8 -0
  132. package/dist/components/ProductImagePreview/ZoomWindow.cjs +198 -0
  133. package/dist/components/ProductImagePreview/ZoomWindow.js +8 -0
  134. package/dist/components/ProductImagePreview/index.cjs +1369 -0
  135. package/dist/components/ProductImagePreview/index.js +22 -0
  136. package/dist/components/Search.js +3 -3
  137. package/dist/components/Select.js +3 -3
  138. package/dist/components/SideMenuGroup.cjs +15 -6
  139. package/dist/components/SideMenuGroup.js +1 -1
  140. package/dist/components/SideMenuItem.cjs +15 -6
  141. package/dist/components/SideMenuItem.js +1 -1
  142. package/dist/components/SkeletonParagraph.cjs +33 -0
  143. package/dist/components/SkeletonParagraph.js +10 -0
  144. package/dist/components/Stack.cjs +15 -6
  145. package/dist/components/Stack.js +1 -1
  146. package/dist/components/Stepper.cjs +61 -53
  147. package/dist/components/Stepper.js +63 -55
  148. package/dist/components/Surface.js +3 -39
  149. package/dist/components/Swatch.cjs +15 -6
  150. package/dist/components/Swatch.js +4 -4
  151. package/dist/components/Time.cjs +15 -6
  152. package/dist/components/Time.js +5 -5
  153. package/dist/components/Upload.cjs +15 -6
  154. package/dist/components/Upload.js +1 -1
  155. package/dist/components/index.cjs +2559 -14
  156. package/dist/components/index.css +186 -3
  157. package/dist/components/index.js +57 -14
  158. package/dist/index.css +186 -3
  159. package/package.json +1 -1
  160. package/src/components/Accordion.tsx +23 -4
  161. package/src/components/CompactImagesPreview.tsx +99 -0
  162. package/src/components/ContentTabs.tsx +3 -1
  163. package/src/components/DataGrid/types.ts +5 -0
  164. package/src/components/Grid.tsx +2 -0
  165. package/src/components/ImagePlaceholder.tsx +22 -0
  166. package/src/components/MobileDataGrid/ColumnList.tsx +66 -0
  167. package/src/components/MobileDataGrid/ColumnSelector/index.tsx +97 -0
  168. package/src/components/MobileDataGrid/GridContextProvider/GridContext.tsx +25 -0
  169. package/src/components/MobileDataGrid/GridContextProvider/index.tsx +132 -0
  170. package/src/components/MobileDataGrid/GridContextProvider/useGridContext.ts +10 -0
  171. package/src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx +20 -0
  172. package/src/components/MobileDataGrid/MobileDataGridCard/index.tsx +129 -0
  173. package/src/components/MobileDataGrid/MobileDataGridHeader.tsx +80 -0
  174. package/src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx +42 -0
  175. package/src/components/MobileDataGrid/RowDetailModalProvider/index.tsx +68 -0
  176. package/src/components/MobileDataGrid/dataGridReducer.ts +55 -0
  177. package/src/components/MobileDataGrid/index.tsx +92 -0
  178. package/src/components/MobileDataGrid/types.ts +4 -0
  179. package/src/components/Modal.tsx +31 -12
  180. package/src/components/ModalButtons.tsx +1 -1
  181. package/src/components/ModalHeader.tsx +5 -2
  182. package/src/components/ModalScrim.tsx +3 -2
  183. package/src/components/PDFViewer/DownloadIcon.tsx +22 -0
  184. package/src/components/PDFViewer/PDFElement.tsx +90 -0
  185. package/src/components/PDFViewer/PDFNavigation.tsx +68 -0
  186. package/src/components/PDFViewer/PDFPage.tsx +34 -0
  187. package/src/components/PDFViewer/index.tsx +128 -0
  188. package/src/components/ProductImagePreview/CarouselPagination.tsx +54 -0
  189. package/src/components/ProductImagePreview/MobileImageCarousel.tsx +226 -0
  190. package/src/components/ProductImagePreview/ProductPrimaryImage.tsx +218 -0
  191. package/src/components/ProductImagePreview/Thumbnail.tsx +49 -0
  192. package/src/components/ProductImagePreview/ZoomWindow.tsx +136 -0
  193. package/src/components/ProductImagePreview/index.tsx +182 -0
  194. package/src/components/ProductImagePreview/useProductImagePreview.ts +211 -0
  195. package/src/components/SkeletonParagraph.tsx +5 -0
  196. package/src/components/Stack.tsx +29 -6
  197. package/src/components/Stepper.tsx +5 -1
  198. package/src/components/index.ts +4 -0
  199. package/src/types.ts +2 -1
  200. package/dist/components/MobileDataGrid.js +0 -150
  201. package/dist/components/PDFViewer.js +0 -250
  202. package/src/components/MobileDataGrid.tsx +0 -163
  203. package/src/components/PDFViewer.tsx +0 -264
  204. package/dist/{chunk-OXSBIBGT.js → chunk-CKQNJNU3.js} +3 -3
  205. package/dist/{chunk-RJUN52HJ.js → chunk-ZL5X7KP6.js} +3 -3
@@ -0,0 +1,62 @@
1
+ import {
2
+ MobileDataGrid
3
+ } from "../../chunk-IBX6DVHU.js";
4
+ import "../../chunk-M7INAUAJ.js";
5
+ import "../../chunk-KEMCFN4U.js";
6
+ import "../../chunk-VVXPGI2P.js";
7
+ import "../../chunk-JGJUVJKD.js";
8
+ import "../../chunk-HPQWEZJL.js";
9
+ import "../../chunk-BQNPOGD5.js";
10
+ import "../../chunk-U6PUOGG4.js";
11
+ import "../../chunk-EJSPFQCY.js";
12
+ import "../../chunk-4UNWXB4A.js";
13
+ import "../../chunk-N6PNLLNS.js";
14
+ import "../../chunk-VJVY6NPF.js";
15
+ import "../../chunk-MBZ55T2D.js";
16
+ import "../../chunk-2IKT6IHB.js";
17
+ import "../../chunk-CQFPNZTN.js";
18
+ import "../../chunk-YYHQLQDQ.js";
19
+ import "../../chunk-P36QKH26.js";
20
+ import "../../chunk-5IFPG6TS.js";
21
+ import "../../chunk-AJ5M6MVX.js";
22
+ import "../../chunk-M6TSTDNZ.js";
23
+ import "../../chunk-QQ5G773N.js";
24
+ import "../../chunk-AT4AWD6B.js";
25
+ import "../../chunk-EWGHVZL5.js";
26
+ import "../../chunk-J5V2JRIK.js";
27
+ import "../../chunk-2H35FETR.js";
28
+ import "../../chunk-4RJKB7LC.js";
29
+ import "../../chunk-XM7IQHBU.js";
30
+ import "../../chunk-FRHPFACM.js";
31
+ import "../../chunk-T36HX6QY.js";
32
+ import "../../chunk-AG43RS4Q.js";
33
+ import "../../chunk-SBRRNFOP.js";
34
+ import "../../chunk-ER6RCOH3.js";
35
+ import "../../chunk-EU73QPW7.js";
36
+ import "../../chunk-QVWYTQKL.js";
37
+ import "../../chunk-NO5BIKWS.js";
38
+ import "../../chunk-PTRZHGHA.js";
39
+ import "../../chunk-YCKRVNJ3.js";
40
+ import "../../chunk-W32JB47H.js";
41
+ import "../../chunk-WPEDVM56.js";
42
+ import "../../chunk-CKQNJNU3.js";
43
+ import "../../chunk-WVUIIBRR.js";
44
+ import "../../chunk-6DPFKSCT.js";
45
+ import "../../chunk-ZL5X7KP6.js";
46
+ import "../../chunk-7CS736EF.js";
47
+ import "../../chunk-JUJBS4ZV.js";
48
+ import "../../chunk-VXWSAIB5.js";
49
+ import "../../chunk-TYTD4FLW.js";
50
+ import "../../chunk-5UH6QUFB.js";
51
+ import "../../chunk-FA7IFW66.js";
52
+ import "../../chunk-FBE2HGEF.js";
53
+ import "../../chunk-4LXG6QNT.js";
54
+ import "../../chunk-V6U7LU6M.js";
55
+ import "../../chunk-OGIFIPKH.js";
56
+ import "../../chunk-NKUETCDA.js";
57
+ import "../../chunk-WWAPK5PH.js";
58
+ import "../../chunk-6CTCHYIS.js";
59
+ import "../../chunk-ORMEWXMH.js";
60
+ export {
61
+ MobileDataGrid
62
+ };
@@ -436,7 +436,8 @@ var ModalHeader = ({
436
436
  headerIconAlign,
437
437
  onClose,
438
438
  id,
439
- testid
439
+ testid,
440
+ headerClassname
440
441
  }) => {
441
442
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
442
443
  "div",
@@ -449,10 +450,11 @@ var ModalHeader = ({
449
450
  headerIconAlign === "right" && "justify-end",
450
451
  headerIconAlign === "left" && "justify-start",
451
452
  layoutPaddding,
452
- layoutGroupGap
453
+ layoutGroupGap,
454
+ headerClassname
453
455
  ),
454
456
  children: [
455
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center", layoutGroupGap), children: [
457
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
456
458
  headerIcon,
457
459
  title && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
458
460
  Heading2,
@@ -472,7 +474,7 @@ var ModalHeader = ({
472
474
  iconOnly: true,
473
475
  variant: "tertiary",
474
476
  onClick: onClose,
475
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { name: "close", size: 24 }) })
477
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { name: "close", size: 24 }) })
476
478
  }
477
479
  )
478
480
  ]
@@ -575,9 +577,10 @@ var ModalScrim = ({
575
577
  id,
576
578
  "data-testid": testid,
577
579
  className: (0, import_clsx8.default)(
578
- "overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center desktop:p-4 group bg-neutral-600/50 fixed opacity-0",
580
+ "overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center group bg-neutral-600/50 fixed opacity-0",
579
581
  !show && " pointer-events-none",
580
582
  size === "small" && "p-4",
583
+ size === "screen" ? "desktop:p-0" : "desktop:p-4",
581
584
  "inset-0 z-50"
582
585
  ),
583
586
  onMouseDown: onClick,
@@ -709,6 +712,9 @@ var sizes = {
709
712
  },
710
713
  "x-large": {
711
714
  sizeClass: "desktop:max-w-300 w-screen desktop:h-fit h-screen desktop:w-full max-w-240"
715
+ },
716
+ screen: {
717
+ sizeClass: "w-screen h-screen max-w-screen !rounded-none"
712
718
  }
713
719
  };
714
720
  var Modal = ({
@@ -727,7 +733,10 @@ var Modal = ({
727
733
  headerIcon,
728
734
  headerIconAlign,
729
735
  fixedHeightScrolling = false,
730
- customActions
736
+ customActions,
737
+ headerClassname,
738
+ customFooter,
739
+ noWrapper
731
740
  }) => {
732
741
  var _a;
733
742
  const mounted = useMounted();
@@ -835,9 +844,10 @@ var Modal = ({
835
844
  "data-testid": testid,
836
845
  ref: modalRef,
837
846
  className: (0, import_clsx9.default)(
838
- "bg-white shadow-md rounded-sm flex flex-col overflow-hidden w-full opacity-0 h-fit",
839
- computedFixedHeightScrolling && "desktop:max-h-[calc(100vh-32px)] desktop:h-auto",
847
+ "shadow-md rounded-sm flex flex-col overflow-hidden w-full opacity-0 h-fit",
848
+ computedFixedHeightScrolling && size !== "screen" && "desktop:max-h-[calc(100vh-32px)] desktop:h-auto",
840
849
  className,
850
+ !(className == null ? void 0 : className.includes("bg-")) && "bg-white",
841
851
  sizeClass
842
852
  ),
843
853
  onClick: (e) => e.stopPropagation(),
@@ -851,10 +861,11 @@ var Modal = ({
851
861
  onClose: handleClose,
852
862
  hideCloseIcon,
853
863
  headerIcon,
854
- headerIconAlign
864
+ headerIconAlign,
865
+ headerClassname
855
866
  }
856
867
  ),
857
- children && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
868
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
858
869
  ModalContent,
859
870
  {
860
871
  id: id ? `${id}-content` : void 0,
@@ -862,8 +873,8 @@ var Modal = ({
862
873
  fixedHeightScrolling: computedFixedHeightScrolling,
863
874
  children
864
875
  }
865
- ),
866
- showButtons && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
876
+ ) : children,
877
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
867
878
  ModalButtons,
868
879
  {
869
880
  id: id ? `${id}-buttons` : void 0,
@@ -872,7 +883,7 @@ var Modal = ({
872
883
  onContinue,
873
884
  customActions
874
885
  }
875
- )
886
+ ) : null
876
887
  ]
877
888
  }
878
889
  )
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  Modal
4
- } from "../chunk-RLLQRVM7.js";
4
+ } from "../chunk-2H35FETR.js";
5
5
  import "../chunk-4RJKB7LC.js";
6
6
  import "../chunk-XM7IQHBU.js";
7
7
  import "../chunk-FRHPFACM.js";
8
- import "../chunk-6CPGOW6J.js";
9
- import "../chunk-ZFOANBWG.js";
8
+ import "../chunk-T36HX6QY.js";
9
+ import "../chunk-AG43RS4Q.js";
10
10
  import "../chunk-EU73QPW7.js";
11
11
  import "../chunk-JUJBS4ZV.js";
12
12
  import "../chunk-VXWSAIB5.js";
@@ -433,7 +433,8 @@ var ModalHeader = ({
433
433
  headerIconAlign,
434
434
  onClose,
435
435
  id,
436
- testid
436
+ testid,
437
+ headerClassname
437
438
  }) => {
438
439
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
439
440
  "div",
@@ -446,10 +447,11 @@ var ModalHeader = ({
446
447
  headerIconAlign === "right" && "justify-end",
447
448
  headerIconAlign === "left" && "justify-start",
448
449
  layoutPaddding,
449
- layoutGroupGap
450
+ layoutGroupGap,
451
+ headerClassname
450
452
  ),
451
453
  children: [
452
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center", layoutGroupGap), children: [
454
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
453
455
  headerIcon,
454
456
  title && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
455
457
  Heading2,
@@ -469,7 +471,7 @@ var ModalHeader = ({
469
471
  iconOnly: true,
470
472
  variant: "tertiary",
471
473
  onClick: onClose,
472
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { name: "close", size: 24 }) })
474
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { name: "close", size: 24 }) })
473
475
  }
474
476
  )
475
477
  ]
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ModalHeader
3
- } from "../chunk-6CPGOW6J.js";
3
+ } from "../chunk-T36HX6QY.js";
4
4
  import "../chunk-EU73QPW7.js";
5
5
  import "../chunk-NKUETCDA.js";
6
6
  import "../chunk-WWAPK5PH.js";
@@ -50,9 +50,10 @@ var ModalScrim = ({
50
50
  id,
51
51
  "data-testid": testid,
52
52
  className: (0, import_clsx.default)(
53
- "overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center desktop:p-4 group bg-neutral-600/50 fixed opacity-0",
53
+ "overflow-y-auto h-screen transition-[visibility,opacity,background] ease-in-out duration-100 grid place-content-center group bg-neutral-600/50 fixed opacity-0",
54
54
  !show && " pointer-events-none",
55
55
  size === "small" && "p-4",
56
+ size === "screen" ? "desktop:p-0" : "desktop:p-4",
56
57
  "inset-0 z-50"
57
58
  ),
58
59
  onMouseDown: onClick,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ModalScrim
3
- } from "../chunk-ZFOANBWG.js";
3
+ } from "../chunk-AG43RS4Q.js";
4
4
  import "../chunk-ORMEWXMH.js";
5
5
  export {
6
6
  ModalScrim
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  MenuOption
4
- } from "../chunk-OXSBIBGT.js";
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
12
  import "../chunk-TYTD4FLW.js";
10
13
  import "../chunk-5UH6QUFB.js";
11
- import {
12
- Label
13
- } from "../chunk-7CS736EF.js";
14
14
  import "../chunk-OGIFIPKH.js";
15
15
  import {
16
16
  Icon
@@ -542,7 +542,9 @@ var Stack = (_a) => {
542
542
  noGap,
543
543
  marginTop,
544
544
  marginBottom,
545
- testid
545
+ testid,
546
+ bottom,
547
+ zIndex
546
548
  } = _b, props = __objRest(_b, [
547
549
  "children",
548
550
  "items",
@@ -579,8 +581,11 @@ var Stack = (_a) => {
579
581
  "noGap",
580
582
  "marginTop",
581
583
  "marginBottom",
582
- "testid"
584
+ "testid",
585
+ "bottom",
586
+ "zIndex"
583
587
  ]);
588
+ var _a2, _b2, _c, _d, _e;
584
589
  const flexClassNames = getFlexClassNames({ items, justify, grow });
585
590
  const gapClassNames = useGapClassNames(sizing);
586
591
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
@@ -591,9 +596,9 @@ var Stack = (_a) => {
591
596
  }, props), {
592
597
  style: {
593
598
  height: height === "full" ? "100%" : height !== void 0 ? `${height}px` : void 0,
594
- maxHeight: maxHeight !== void 0 ? `${maxHeight}px` : void 0,
595
- minHeight: minHeight !== void 0 ? `${minHeight}px` : void 0,
596
- maxWidth: maxWidth !== void 0 ? `${maxWidth}px` : void 0,
599
+ maxHeight: maxHeight !== void 0 ? isNaN(+maxHeight) ? maxHeight : `${maxHeight}px` : (_a2 = props.style) == null ? void 0 : _a2.maxHeight,
600
+ maxWidth: maxWidth !== void 0 ? isNaN(+maxWidth) ? maxWidth : `${maxWidth}px` : (_b2 = props.style) == null ? void 0 : _b2.maxWidth,
601
+ minHeight: minHeight !== void 0 ? isNaN(+minHeight) ? minHeight : `${minHeight}px` : (_c = props.style) == null ? void 0 : _c.minHeight,
597
602
  width: width !== void 0 && typeof width === "number" ? `${width}px` : void 0,
598
603
  minWidth: minWidth !== void 0 ? `${minWidth}px` : void 0,
599
604
  border: borderColor ? `1px solid var(--color-${borderColor})` : void 0,
@@ -602,7 +607,11 @@ var Stack = (_a) => {
602
607
  flexShrink: flexShrink !== void 0 ? flexShrink : void 0,
603
608
  position: position !== void 0 ? position : void 0,
604
609
  top: top !== void 0 ? `${top}px` : void 0,
605
- left: left !== void 0 ? `${left}px` : void 0
610
+ bottom: bottom !== void 0 ? `${bottom}px` : void 0,
611
+ left: left !== void 0 ? `${left}px` : void 0,
612
+ borderBlock: (_d = props.style) == null ? void 0 : _d.borderBlock,
613
+ marginInline: (_e = props.style) == null ? void 0 : _e.marginInline,
614
+ zIndex: zIndex !== void 0 ? zIndex : void 0
606
615
  },
607
616
  className: (0, import_clsx6.default)(
608
617
  "scrollbar-thin",
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-EU73QPW7.js";
5
5
  import {
6
6
  Stack
7
- } from "../chunk-NQXZBWDZ.js";
7
+ } from "../chunk-V6U7LU6M.js";
8
8
  import {
9
9
  Paragraph
10
10
  } from "../chunk-OGIFIPKH.js";