@dmsi/wedgekit-react 0.0.552 → 0.0.554

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 (151) hide show
  1. package/dist/{chunk-7COWXCPA.js → chunk-45SH6WHE.js} +3 -3
  2. package/dist/{chunk-KJ5OQPPV.js → chunk-63WMDTVQ.js} +1 -1
  3. package/dist/{chunk-FJFZBIRG.js → chunk-7ZCXZDJD.js} +3 -3
  4. package/dist/{chunk-FWCVZWE6.js → chunk-7ZL4GBAD.js} +3 -3
  5. package/dist/{chunk-5BRIDIUA.js → chunk-AGHBLWDZ.js} +3 -3
  6. package/dist/{chunk-QYKOR7LE.js → chunk-CQLRGYHM.js} +3 -3
  7. package/dist/{chunk-XRE52QTN.js → chunk-D5V3PUQQ.js} +6 -6
  8. package/dist/{chunk-Y3EFHKAG.js → chunk-DWICBU2V.js} +1 -1
  9. package/dist/{chunk-CMMQTIVM.js → chunk-EJOPJIRO.js} +3 -3
  10. package/dist/{chunk-K4SIZGMK.js → chunk-EQ2RAI53.js} +1 -1
  11. package/dist/{chunk-SBGGDIE3.js → chunk-FIVKYEC3.js} +7 -7
  12. package/dist/{chunk-QMMPHXVE.js → chunk-GVIXW2QS.js} +3 -3
  13. package/dist/{chunk-ZIPJMN2E.js → chunk-GYQA4UIK.js} +6 -6
  14. package/dist/{chunk-45AHDOAU.js → chunk-HVYK7COK.js} +9 -3
  15. package/dist/{chunk-AKJUBFJK.js → chunk-KV7LAH3T.js} +3 -3
  16. package/dist/{chunk-AX4M7X4Z.js → chunk-MTGNBARV.js} +5 -2
  17. package/dist/{chunk-MHXYGKWA.js → chunk-Q3G6Z5DM.js} +1 -1
  18. package/dist/{chunk-4DXOA7NZ.js → chunk-RZ5EIDX4.js} +1 -1
  19. package/dist/{chunk-PJL5XESN.js → chunk-TL4M56HJ.js} +1 -1
  20. package/dist/{chunk-WNGFRQ4Y.js → chunk-TXPN24PW.js} +13 -13
  21. package/dist/{chunk-Z2QAJY5I.js → chunk-UAMI54FE.js} +1 -1
  22. package/dist/chunk-XJF4S3RB.js +82 -0
  23. package/dist/chunk-XR733AKC.js +82 -0
  24. package/dist/{chunk-7SFFUICM.js → chunk-YLC7OHW2.js} +6 -6
  25. package/dist/chunk-ZCJWOHFN.js +139 -0
  26. package/dist/{chunk-JADOJNBI.js → chunk-ZDXJXDZT.js} +4 -4
  27. package/dist/components/AccessCard.cjs +661 -0
  28. package/dist/components/AccessCard.js +13 -0
  29. package/dist/components/AccessCardGroup.cjs +365 -0
  30. package/dist/components/AccessCardGroup.js +11 -0
  31. package/dist/components/Accordion.cjs +5 -2
  32. package/dist/components/Accordion.js +2 -2
  33. package/dist/components/Alert.cjs +64 -28
  34. package/dist/components/Alert.js +4 -3
  35. package/dist/components/Button.cjs +38 -5
  36. package/dist/components/Button.js +2 -1
  37. package/dist/components/CalendarRange.cjs +298 -128
  38. package/dist/components/CalendarRange.css +44 -0
  39. package/dist/components/CalendarRange.js +28 -24
  40. package/dist/components/CompactImagesPreview.cjs +5 -2
  41. package/dist/components/CompactImagesPreview.js +2 -2
  42. package/dist/components/ContentTab.cjs +42 -9
  43. package/dist/components/ContentTab.js +3 -2
  44. package/dist/components/ContentTabs.cjs +47 -14
  45. package/dist/components/ContentTabs.js +3 -2
  46. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +281 -111
  47. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +44 -0
  48. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +28 -24
  49. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +291 -121
  50. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +44 -0
  51. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +28 -24
  52. package/dist/components/DataGrid/PinnedColumns.cjs +306 -136
  53. package/dist/components/DataGrid/PinnedColumns.css +44 -0
  54. package/dist/components/DataGrid/PinnedColumns.js +28 -24
  55. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +282 -112
  56. package/dist/components/DataGrid/TableBody/LoadingCell.css +44 -0
  57. package/dist/components/DataGrid/TableBody/LoadingCell.js +28 -24
  58. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +288 -118
  59. package/dist/components/DataGrid/TableBody/TableBodyRow.css +44 -0
  60. package/dist/components/DataGrid/TableBody/TableBodyRow.js +28 -24
  61. package/dist/components/DataGrid/TableBody/index.cjs +303 -133
  62. package/dist/components/DataGrid/TableBody/index.css +44 -0
  63. package/dist/components/DataGrid/TableBody/index.js +28 -24
  64. package/dist/components/DataGrid/index.cjs +392 -222
  65. package/dist/components/DataGrid/index.css +44 -0
  66. package/dist/components/DataGrid/index.js +28 -24
  67. package/dist/components/DataGrid/utils.cjs +282 -112
  68. package/dist/components/DataGrid/utils.css +44 -0
  69. package/dist/components/DataGrid/utils.js +28 -24
  70. package/dist/components/DataGridCell.js +3 -3
  71. package/dist/components/DateInput.cjs +311 -141
  72. package/dist/components/DateInput.css +44 -0
  73. package/dist/components/DateInput.js +28 -24
  74. package/dist/components/DateRangeInput.cjs +317 -147
  75. package/dist/components/DateRangeInput.css +44 -0
  76. package/dist/components/DateRangeInput.js +28 -24
  77. package/dist/components/FilterGroup.cjs +87 -52
  78. package/dist/components/FilterGroup.js +6 -5
  79. package/dist/components/InputGroup.cjs +1 -1
  80. package/dist/components/InputGroup.js +1 -1
  81. package/dist/components/ListGroup.cjs +5 -2
  82. package/dist/components/ListGroup.js +2 -2
  83. package/dist/components/MenuOption.js +2 -2
  84. package/dist/components/MobileDataGrid/ColumnList.cjs +5 -2
  85. package/dist/components/MobileDataGrid/ColumnList.js +3 -3
  86. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +288 -118
  87. package/dist/components/MobileDataGrid/ColumnSelector/index.css +44 -0
  88. package/dist/components/MobileDataGrid/ColumnSelector/index.js +28 -24
  89. package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +5 -2
  90. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
  91. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +293 -120
  92. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +44 -0
  93. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +28 -24
  94. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +5 -2
  95. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
  96. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +94 -58
  97. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +8 -7
  98. package/dist/components/MobileDataGrid/index.cjs +372 -199
  99. package/dist/components/MobileDataGrid/index.css +44 -0
  100. package/dist/components/MobileDataGrid/index.js +28 -24
  101. package/dist/components/Modal.cjs +64 -29
  102. package/dist/components/Modal.js +5 -4
  103. package/dist/components/ModalButtons.cjs +47 -14
  104. package/dist/components/ModalButtons.js +3 -2
  105. package/dist/components/ModalHeader.cjs +47 -12
  106. package/dist/components/ModalHeader.js +3 -2
  107. package/dist/components/NavigationTab.cjs +43 -10
  108. package/dist/components/NavigationTab.js +3 -2
  109. package/dist/components/NavigationTabs.cjs +48 -15
  110. package/dist/components/NavigationTabs.js +3 -2
  111. package/dist/components/NestedMenu.cjs +48 -13
  112. package/dist/components/NestedMenu.js +6 -5
  113. package/dist/components/Notification.cjs +68 -32
  114. package/dist/components/Notification.js +7 -6
  115. package/dist/components/OptionPill.cjs +48 -13
  116. package/dist/components/OptionPill.js +3 -2
  117. package/dist/components/PDFViewer/DownloadIcon.cjs +46 -13
  118. package/dist/components/PDFViewer/DownloadIcon.js +3 -2
  119. package/dist/components/PDFViewer/PDFElement.cjs +5 -2
  120. package/dist/components/PDFViewer/PDFElement.js +2 -2
  121. package/dist/components/PDFViewer/PDFNavigation.cjs +64 -28
  122. package/dist/components/PDFViewer/PDFNavigation.js +4 -3
  123. package/dist/components/PDFViewer/index.cjs +69 -61
  124. package/dist/components/PDFViewer/index.js +11 -11
  125. package/dist/components/ProductImagePreview/index.cjs +5 -2
  126. package/dist/components/ProductImagePreview/index.js +5 -5
  127. package/dist/components/Radio.js +5 -134
  128. package/dist/components/SideMenuGroup.cjs +5 -2
  129. package/dist/components/SideMenuGroup.js +1 -1
  130. package/dist/components/SideMenuItem.cjs +5 -2
  131. package/dist/components/SideMenuItem.js +3 -3
  132. package/dist/components/SimpleTable.cjs +5 -2
  133. package/dist/components/SimpleTable.js +2 -2
  134. package/dist/components/Stack.cjs +5 -2
  135. package/dist/components/Stack.js +1 -1
  136. package/dist/components/Stepper.cjs +73 -40
  137. package/dist/components/Stepper.js +4 -3
  138. package/dist/components/Swatch.cjs +5 -2
  139. package/dist/components/Swatch.js +3 -3
  140. package/dist/components/Time.cjs +5 -2
  141. package/dist/components/Time.js +2 -2
  142. package/dist/components/Toast.cjs +51 -16
  143. package/dist/components/Toast.js +4 -3
  144. package/dist/components/Upload.cjs +46 -38
  145. package/dist/components/Upload.js +6 -6
  146. package/dist/components/index.cjs +537 -231
  147. package/dist/components/index.css +44 -0
  148. package/dist/components/index.js +40 -30
  149. package/dist/index.css +44 -0
  150. package/package.json +1 -1
  151. package/dist/{chunk-EZ4KZYKG.js → chunk-YWQEMS2C.js} +3 -3
@@ -206,8 +206,38 @@ var gapUsingContainerPadding = (0, import_clsx.default)(
206
206
  "gap-mobile-container-padding desktop:gap-desktop-container-padding compact:gap-desktop-compact-container-padding"
207
207
  );
208
208
 
209
- // src/components/Button.tsx
209
+ // src/components/Spinner.tsx
210
210
  var import_jsx_runtime = require("react/jsx-runtime");
211
+ var Spinner = ({ size = "small", testid }) => {
212
+ const dimension = size === "large" ? 48 : 24;
213
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
214
+ "svg",
215
+ {
216
+ "data-testid": testid,
217
+ width: dimension,
218
+ height: dimension,
219
+ viewBox: "0 0 24 24",
220
+ xmlns: "http://www.w3.org/2000/svg",
221
+ fill: "#1D1E1E",
222
+ className: "spinner",
223
+ "aria-label": "Loading",
224
+ children: [
225
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
226
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
227
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
228
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
229
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
230
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
231
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
232
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
233
+ ]
234
+ }
235
+ );
236
+ };
237
+ Spinner.displayName = "Spinner";
238
+
239
+ // src/components/Button.tsx
240
+ var import_jsx_runtime2 = require("react/jsx-runtime");
211
241
  var Button = (_a) => {
212
242
  var _b = _a, {
213
243
  variant = "primary",
@@ -223,7 +253,8 @@ var Button = (_a) => {
223
253
  colorClassName,
224
254
  href,
225
255
  id,
226
- testid
256
+ testid,
257
+ isLoading
227
258
  } = _b, props = __objRest(_b, [
228
259
  "variant",
229
260
  "as",
@@ -238,7 +269,8 @@ var Button = (_a) => {
238
269
  "colorClassName",
239
270
  "href",
240
271
  "id",
241
- "testid"
272
+ "testid",
273
+ "isLoading"
242
274
  ]);
243
275
  const primaryVariantStyles = variant === "primary" && (0, import_clsx2.default)(
244
276
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -322,7 +354,7 @@ var Button = (_a) => {
322
354
  typography.buttonLabel
323
355
  );
324
356
  const Element = href && !as ? "a" : as;
325
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
357
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
326
358
  Element,
327
359
  __spreadProps(__spreadValues({
328
360
  id,
@@ -336,7 +368,8 @@ var Button = (_a) => {
336
368
  "data-theme": variant === "navigation" ? "brand" : void 0,
337
369
  children: [
338
370
  leftIcon && leftIcon,
339
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
371
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Spinner, { size: "small" }),
372
+ !iconOnly && !isLoading && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
340
373
  rightIcon && rightIcon
341
374
  ]
342
375
  })
@@ -346,7 +379,7 @@ Button.displayName = "Button";
346
379
 
347
380
  // src/components/Heading.tsx
348
381
  var import_clsx3 = __toESM(require("clsx"), 1);
349
- var import_jsx_runtime2 = require("react/jsx-runtime");
382
+ var import_jsx_runtime3 = require("react/jsx-runtime");
350
383
  var Heading = (_a) => {
351
384
  var _b = _a, {
352
385
  className,
@@ -369,7 +402,7 @@ var Heading = (_a) => {
369
402
  ]);
370
403
  const defaultElement = variant === "heading1" ? "h1" : variant === "heading2" ? "h2" : "h3";
371
404
  const Element = as != null ? as : defaultElement;
372
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
405
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
373
406
  Element,
374
407
  __spreadProps(__spreadValues({
375
408
  id,
@@ -390,16 +423,16 @@ var Heading = (_a) => {
390
423
  );
391
424
  };
392
425
  Heading.displayName = "Heading";
393
- var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
394
- var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
395
- var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
426
+ var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
427
+ var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
428
+ var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
396
429
  Heading1.displayName = "Heading1";
397
430
  Heading2.displayName = "Heading2";
398
431
  Heading3.displayName = "Heading3";
399
432
 
400
433
  // src/components/Icon.tsx
401
434
  var import_clsx4 = __toESM(require("clsx"), 1);
402
- var import_jsx_runtime3 = require("react/jsx-runtime");
435
+ var import_jsx_runtime4 = require("react/jsx-runtime");
403
436
  function Icon(_a) {
404
437
  var _b = _a, {
405
438
  name,
@@ -414,7 +447,7 @@ function Icon(_a) {
414
447
  ]);
415
448
  const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
416
449
  const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
417
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
450
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
418
451
  "span",
419
452
  __spreadProps(__spreadValues({}, props), {
420
453
  "data-testid": testid,
@@ -438,7 +471,7 @@ var import_react6 = require("react");
438
471
 
439
472
  // src/components/ModalHeader.tsx
440
473
  var import_clsx5 = __toESM(require("clsx"), 1);
441
- var import_jsx_runtime4 = require("react/jsx-runtime");
474
+ var import_jsx_runtime5 = require("react/jsx-runtime");
442
475
  var ModalHeader = ({
443
476
  title,
444
477
  hideCloseIcon,
@@ -451,7 +484,7 @@ var ModalHeader = ({
451
484
  titleAs: TitleComponent
452
485
  }) => {
453
486
  const Title = TitleComponent || Heading2;
454
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
487
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
455
488
  "div",
456
489
  {
457
490
  id,
@@ -466,9 +499,9 @@ var ModalHeader = ({
466
499
  headerClassname
467
500
  ),
468
501
  children: [
469
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
502
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
470
503
  headerIcon,
471
- title && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
504
+ title && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
472
505
  Title,
473
506
  {
474
507
  id: id ? `${id}-title` : void 0,
@@ -478,7 +511,7 @@ var ModalHeader = ({
478
511
  }
479
512
  )
480
513
  ] }),
481
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
514
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
482
515
  Button,
483
516
  {
484
517
  id: id ? `${id}-close-button` : void 0,
@@ -486,7 +519,7 @@ var ModalHeader = ({
486
519
  iconOnly: true,
487
520
  variant: "tertiary",
488
521
  onClick: onClose,
489
- 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 }) })
522
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { name: "close", size: 24 }) })
490
523
  }
491
524
  )
492
525
  ]
@@ -497,14 +530,14 @@ ModalHeader.displayName = "ModalHeader";
497
530
 
498
531
  // src/components/ModalContent.tsx
499
532
  var import_clsx6 = __toESM(require("clsx"), 1);
500
- var import_jsx_runtime5 = require("react/jsx-runtime");
533
+ var import_jsx_runtime6 = require("react/jsx-runtime");
501
534
  function ModalContent({
502
535
  fixedHeightScrolling,
503
536
  children,
504
537
  id,
505
538
  testid
506
539
  }) {
507
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
540
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
508
541
  "div",
509
542
  {
510
543
  id,
@@ -522,7 +555,7 @@ ModalContent.displayName = "ModalContent";
522
555
 
523
556
  // src/components/ModalButtons.tsx
524
557
  var import_clsx7 = __toESM(require("clsx"), 1);
525
- var import_jsx_runtime6 = require("react/jsx-runtime");
558
+ var import_jsx_runtime7 = require("react/jsx-runtime");
526
559
  var ModalButtons = ({
527
560
  onClose,
528
561
  onContinue,
@@ -530,7 +563,7 @@ var ModalButtons = ({
530
563
  id,
531
564
  testid
532
565
  }) => {
533
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
566
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
534
567
  "div",
535
568
  {
536
569
  id,
@@ -540,26 +573,26 @@ var ModalButtons = ({
540
573
  layoutPaddding,
541
574
  layoutGroupGap
542
575
  ),
543
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
544
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
576
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
577
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
545
578
  Button,
546
579
  {
547
580
  id: id ? `${id}-close-button` : void 0,
548
581
  testid: testid ? `${testid}-close-button` : void 0,
549
582
  variant: "secondary",
550
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "close", size: 24 }),
583
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "close", size: 24 }),
551
584
  onClick: onClose,
552
585
  className: "max-sm:w-full",
553
586
  children: "Close"
554
587
  }
555
588
  ),
556
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
589
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
557
590
  Button,
558
591
  {
559
592
  id: id ? `${id}-continue-button` : void 0,
560
593
  testid: testid ? `${testid}-continue-button` : void 0,
561
594
  variant: "primary",
562
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "check", size: 24 }),
595
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "check", size: 24 }),
563
596
  className: "max-sm:w-full",
564
597
  onClick: onContinue,
565
598
  children: "Continue"
@@ -573,7 +606,7 @@ ModalButtons.displayName = "ModalButtons";
573
606
 
574
607
  // src/components/ModalScrim.tsx
575
608
  var import_clsx8 = __toESM(require("clsx"), 1);
576
- var import_jsx_runtime7 = require("react/jsx-runtime");
609
+ var import_jsx_runtime8 = require("react/jsx-runtime");
577
610
  var ModalScrim = ({
578
611
  show = false,
579
612
  size = "small",
@@ -583,7 +616,7 @@ var ModalScrim = ({
583
616
  id,
584
617
  testid
585
618
  }) => {
586
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
619
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
587
620
  "div",
588
621
  {
589
622
  id,
@@ -720,7 +753,7 @@ var useMounted = () => {
720
753
  };
721
754
 
722
755
  // src/components/Modal.tsx
723
- var import_jsx_runtime8 = require("react/jsx-runtime");
756
+ var import_jsx_runtime9 = require("react/jsx-runtime");
724
757
  var fadeInScale = (element, duration = 300) => element.animate(
725
758
  [
726
759
  { opacity: 0, transform: "scale(0.95)" },
@@ -893,7 +926,7 @@ var Modal = ({
893
926
  return null;
894
927
  }
895
928
  return (0, import_react_dom.createPortal)(
896
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
929
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
897
930
  ModalScrim,
898
931
  {
899
932
  id: id ? `${id}-scrim` : void 0,
@@ -902,7 +935,7 @@ var Modal = ({
902
935
  ref: bgRef,
903
936
  show: open,
904
937
  onClick: backgroundClickHandler,
905
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
938
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
906
939
  "div",
907
940
  {
908
941
  id,
@@ -917,7 +950,7 @@ var Modal = ({
917
950
  ),
918
951
  onClick: (e) => e.stopPropagation(),
919
952
  children: [
920
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
953
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
921
954
  ModalHeader,
922
955
  {
923
956
  id: id ? `${id}-header` : void 0,
@@ -931,7 +964,7 @@ var Modal = ({
931
964
  titleAs: TitleComponent
932
965
  }
933
966
  ),
934
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
967
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
935
968
  ModalContent,
936
969
  {
937
970
  id: id ? `${id}-content` : void 0,
@@ -940,7 +973,7 @@ var Modal = ({
940
973
  children
941
974
  }
942
975
  ) : children,
943
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
976
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
944
977
  ModalButtons,
945
978
  {
946
979
  id: id ? `${id}-buttons` : void 0,
@@ -962,7 +995,7 @@ Modal.displayName = "Modal";
962
995
 
963
996
  // src/components/Stack.tsx
964
997
  var import_clsx10 = __toESM(require("clsx"), 1);
965
- var import_jsx_runtime9 = require("react/jsx-runtime");
998
+ var import_jsx_runtime10 = require("react/jsx-runtime");
966
999
  var getFlexClassNames = ({ items, justify, grow }) => (0, import_clsx10.default)(
967
1000
  "flex",
968
1001
  items === "start" && "items-start",
@@ -1035,7 +1068,8 @@ var Stack = (_a) => {
1035
1068
  bottom,
1036
1069
  zIndex,
1037
1070
  flexWrap,
1038
- className
1071
+ className,
1072
+ unclipEdges
1039
1073
  } = _b, props = __objRest(_b, [
1040
1074
  "children",
1041
1075
  "items",
@@ -1084,12 +1118,13 @@ var Stack = (_a) => {
1084
1118
  "bottom",
1085
1119
  "zIndex",
1086
1120
  "flexWrap",
1087
- "className"
1121
+ "className",
1122
+ "unclipEdges"
1088
1123
  ]);
1089
1124
  var _a2, _b2, _c, _d, _e, _f, _g;
1090
1125
  const flexClassNames = getFlexClassNames({ items, justify, grow });
1091
1126
  const gapClassNames = useGapClassNames(sizing);
1092
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
1127
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1093
1128
  "div",
1094
1129
  __spreadProps(__spreadValues({
1095
1130
  id,
@@ -1176,6 +1211,7 @@ var Stack = (_a) => {
1176
1211
  elevation === 4 && "shadow-4",
1177
1212
  elevation === 16 && "shadow-16",
1178
1213
  rounded && "rounded",
1214
+ unclipEdges && "-m-0.75 p-1",
1179
1215
  className
1180
1216
  ),
1181
1217
  children
@@ -1201,7 +1237,7 @@ function useGridContext() {
1201
1237
 
1202
1238
  // src/components/Paragraph.tsx
1203
1239
  var import_clsx11 = __toESM(require("clsx"), 1);
1204
- var import_jsx_runtime10 = require("react/jsx-runtime");
1240
+ var import_jsx_runtime11 = require("react/jsx-runtime");
1205
1241
  var Paragraph = (_a) => {
1206
1242
  var _b = _a, {
1207
1243
  className,
@@ -1227,7 +1263,7 @@ var Paragraph = (_a) => {
1227
1263
  "testid"
1228
1264
  ]);
1229
1265
  const Element = as;
1230
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1266
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1231
1267
  Element,
1232
1268
  __spreadProps(__spreadValues({
1233
1269
  id,
@@ -1253,7 +1289,7 @@ var Paragraph = (_a) => {
1253
1289
  Paragraph.displayName = "Paragraph";
1254
1290
 
1255
1291
  // src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
1256
- var import_jsx_runtime11 = require("react/jsx-runtime");
1292
+ var import_jsx_runtime12 = require("react/jsx-runtime");
1257
1293
  function MobileDataGridColumn(props) {
1258
1294
  var _a, _b;
1259
1295
  const { column, data } = props;
@@ -1264,8 +1300,8 @@ function MobileDataGridColumn(props) {
1264
1300
  value = formatDate(value);
1265
1301
  }
1266
1302
  }
1267
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "grid grid-cols-2 gap-2 flex-1", children: [
1268
- /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
1303
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "grid grid-cols-2 gap-2 flex-1", children: [
1304
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
1269
1305
  (_b = column.header) == null ? void 0 : _b.toString(),
1270
1306
  ":"
1271
1307
  ] }),
@@ -1275,28 +1311,28 @@ function MobileDataGridColumn(props) {
1275
1311
  }
1276
1312
 
1277
1313
  // src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
1278
- var import_jsx_runtime12 = require("react/jsx-runtime");
1314
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1279
1315
  function ModalContent2() {
1280
1316
  const context = useGridContext();
1281
1317
  const { columns, currentRow } = context;
1282
1318
  if (!currentRow) return null;
1283
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Stack, { sizing: "layout-group", children: columns.filter((x) => {
1319
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Stack, { sizing: "layout-group", children: columns.filter((x) => {
1284
1320
  var _a;
1285
1321
  return !((_a = x.id) == null ? void 0 : _a.startsWith("__"));
1286
1322
  }).map(
1287
1323
  (column, index) => {
1288
1324
  var _a, _b;
1289
- return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1325
+ return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1290
1326
  "div",
1291
1327
  {
1292
1328
  className: "grid grid-cols-2 gap-2 items-center flex-1",
1293
1329
  children: [
1294
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
1330
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
1295
1331
  (_b = column.header) == null ? void 0 : _b.toString(),
1296
1332
  ":"
1297
1333
  ] }),
1298
1334
  " ",
1299
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1335
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1300
1336
  column.meta.mobileCell,
1301
1337
  {
1302
1338
  column,
@@ -1307,7 +1343,7 @@ function ModalContent2() {
1307
1343
  ]
1308
1344
  },
1309
1345
  `${column.id}-${index}`
1310
- ) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1346
+ ) : /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1311
1347
  MobileDataGridColumn,
1312
1348
  {
1313
1349
  column,
@@ -1320,7 +1356,7 @@ function ModalContent2() {
1320
1356
  }
1321
1357
 
1322
1358
  // src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
1323
- var import_jsx_runtime13 = require("react/jsx-runtime");
1359
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1324
1360
  function RowDetailModalProvider() {
1325
1361
  var _a;
1326
1362
  const context = useGridContext();
@@ -1332,7 +1368,7 @@ function RowDetailModalProvider() {
1332
1368
  primaryKey,
1333
1369
  closeRowDetail
1334
1370
  } = context;
1335
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1371
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1336
1372
  Modal,
1337
1373
  {
1338
1374
  fixedHeightScrolling: true,
@@ -1341,7 +1377,7 @@ function RowDetailModalProvider() {
1341
1377
  hideCloseIcon: true,
1342
1378
  size: "medium",
1343
1379
  className: "!p-0",
1344
- headerIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1380
+ headerIcon: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1345
1381
  Stack,
1346
1382
  {
1347
1383
  horizontal: true,
@@ -1350,8 +1386,8 @@ function RowDetailModalProvider() {
1350
1386
  justify: "between",
1351
1387
  width: "full",
1352
1388
  children: [
1353
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
1354
- /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1389
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
1390
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1355
1391
  Button,
1356
1392
  {
1357
1393
  id: id ? `${id}-open-in-new-button` : void 0,
@@ -1359,15 +1395,15 @@ function RowDetailModalProvider() {
1359
1395
  iconOnly: true,
1360
1396
  variant: "tertiary",
1361
1397
  onClick: closeRowDetail,
1362
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { name: "open_in_new", size: 24 }) })
1398
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Icon, { name: "open_in_new", size: 24 }) })
1363
1399
  }
1364
1400
  )
1365
1401
  ]
1366
1402
  }
1367
1403
  ),
1368
- customActions: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
1404
+ customActions: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
1369
1405
  showButtons: true,
1370
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(ModalContent2, {}) })
1406
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(ModalContent2, {}) })
1371
1407
  }
1372
1408
  );
1373
1409
  }
@@ -1,25 +1,26 @@
1
1
  import {
2
2
  RowDetailModalProvider
3
- } from "../../../chunk-ZIPJMN2E.js";
4
- import "../../../chunk-FJFZBIRG.js";
3
+ } from "../../../chunk-GYQA4UIK.js";
4
+ import "../../../chunk-7ZCXZDJD.js";
5
5
  import "../../../chunk-5IFPG6TS.js";
6
6
  import "../../../chunk-AJ5M6MVX.js";
7
7
  import "../../../chunk-M4FM3B3R.js";
8
- import "../../../chunk-JADOJNBI.js";
8
+ import "../../../chunk-ZDXJXDZT.js";
9
9
  import "../../../chunk-4RJKB7LC.js";
10
+ import "../../../chunk-KV7LAH3T.js";
10
11
  import "../../../chunk-WVVEOCEH.js";
11
- import "../../../chunk-CMMQTIVM.js";
12
+ import "../../../chunk-EJOPJIRO.js";
12
13
  import "../../../chunk-AG43RS4Q.js";
13
- import "../../../chunk-AKJUBFJK.js";
14
14
  import "../../../chunk-YD2JJ2VL.js";
15
15
  import "../../../chunk-VXWSAIB5.js";
16
16
  import "../../../chunk-DQRQZE6O.js";
17
17
  import "../../../chunk-5UH6QUFB.js";
18
18
  import "../../../chunk-MXSJF6TW.js";
19
+ import "../../../chunk-HVYK7COK.js";
20
+ import "../../../chunk-SBRRNFOP.js";
21
+ import "../../../chunk-MTGNBARV.js";
19
22
  import "../../../chunk-WMPWWFUJ.js";
20
- import "../../../chunk-AX4M7X4Z.js";
21
23
  import "../../../chunk-NKUETCDA.js";
22
- import "../../../chunk-45AHDOAU.js";
23
24
  import "../../../chunk-7KWFEH56.js";
24
25
  import "../../../chunk-ORMEWXMH.js";
25
26
  export {