@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,
@@ -434,7 +467,7 @@ function Icon(_a) {
434
467
 
435
468
  // src/components/Paragraph.tsx
436
469
  var import_clsx5 = __toESM(require("clsx"), 1);
437
- var import_jsx_runtime4 = require("react/jsx-runtime");
470
+ var import_jsx_runtime5 = require("react/jsx-runtime");
438
471
  var Paragraph = (_a) => {
439
472
  var _b = _a, {
440
473
  className,
@@ -460,7 +493,7 @@ var Paragraph = (_a) => {
460
493
  "testid"
461
494
  ]);
462
495
  const Element = as;
463
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
496
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
464
497
  Element,
465
498
  __spreadProps(__spreadValues({
466
499
  id,
@@ -487,7 +520,7 @@ Paragraph.displayName = "Paragraph";
487
520
 
488
521
  // src/components/Stack.tsx
489
522
  var import_clsx6 = __toESM(require("clsx"), 1);
490
- var import_jsx_runtime5 = require("react/jsx-runtime");
523
+ var import_jsx_runtime6 = require("react/jsx-runtime");
491
524
  var getFlexClassNames = ({ items, justify, grow }) => (0, import_clsx6.default)(
492
525
  "flex",
493
526
  items === "start" && "items-start",
@@ -560,7 +593,8 @@ var Stack = (_a) => {
560
593
  bottom,
561
594
  zIndex,
562
595
  flexWrap,
563
- className
596
+ className,
597
+ unclipEdges
564
598
  } = _b, props = __objRest(_b, [
565
599
  "children",
566
600
  "items",
@@ -609,12 +643,13 @@ var Stack = (_a) => {
609
643
  "bottom",
610
644
  "zIndex",
611
645
  "flexWrap",
612
- "className"
646
+ "className",
647
+ "unclipEdges"
613
648
  ]);
614
649
  var _a2, _b2, _c, _d, _e, _f, _g;
615
650
  const flexClassNames = getFlexClassNames({ items, justify, grow });
616
651
  const gapClassNames = useGapClassNames(sizing);
617
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
652
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
618
653
  "div",
619
654
  __spreadProps(__spreadValues({
620
655
  id,
@@ -701,6 +736,7 @@ var Stack = (_a) => {
701
736
  elevation === 4 && "shadow-4",
702
737
  elevation === 16 && "shadow-16",
703
738
  rounded && "rounded",
739
+ unclipEdges && "-m-0.75 p-1",
704
740
  className
705
741
  ),
706
742
  children
@@ -709,7 +745,7 @@ var Stack = (_a) => {
709
745
  };
710
746
 
711
747
  // src/components/PDFViewer/PDFNavigation.tsx
712
- var import_jsx_runtime6 = require("react/jsx-runtime");
748
+ var import_jsx_runtime7 = require("react/jsx-runtime");
713
749
  function PdfNavigation({
714
750
  currentIndex,
715
751
  total,
@@ -721,7 +757,7 @@ function PdfNavigation({
721
757
  testid,
722
758
  fileName
723
759
  }) {
724
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
760
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "w-full", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
725
761
  Stack,
726
762
  {
727
763
  horizontal: true,
@@ -730,37 +766,37 @@ function PdfNavigation({
730
766
  sizing: "layout-group",
731
767
  testid: testid ? `${testid}-pdf-navigation` : void 0,
732
768
  children: [
733
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Stack, { horizontal: true, items: "center", children: [
734
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
769
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Stack, { horizontal: true, items: "center", children: [
770
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
735
771
  Button,
736
772
  {
737
773
  iconOnly: true,
738
774
  variant: "tertiary",
739
775
  onClick: onPrev,
740
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "chevron_backward" }),
776
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "chevron_backward" }),
741
777
  disabled: disablePrev,
742
778
  testid: testid ? `${testid}-pdf-file-previous-button` : void 0
743
779
  }
744
780
  ),
745
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(Heading3, { className: "text-text-primary-normal whitespace-nowrap", children: [
781
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(Heading3, { className: "text-text-primary-normal whitespace-nowrap", children: [
746
782
  currentIndex + 1,
747
783
  " / ",
748
784
  total
749
785
  ] }),
750
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
786
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
751
787
  Button,
752
788
  {
753
789
  iconOnly: true,
754
790
  variant: "tertiary",
755
791
  onClick: onNext,
756
- rightIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "chevron_forward" }),
792
+ rightIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "chevron_forward" }),
757
793
  disabled: disableNext,
758
794
  testid: testid ? `${testid}-pdf-file-next-button` : void 0
759
795
  }
760
796
  ),
761
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Paragraph, { children: (fileName == null ? void 0 : fileName.endsWith(".pdf")) ? fileName : `${fileName}.pdf` })
797
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Paragraph, { children: (fileName == null ? void 0 : fileName.endsWith(".pdf")) ? fileName : `${fileName}.pdf` })
762
798
  ] }),
763
- extraActions && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "flex items-center gap-2", children: extraActions })
799
+ extraActions && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "flex items-center gap-2", children: extraActions })
764
800
  ]
765
801
  }
766
802
  ) });
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  PdfNavigation
3
- } from "../../chunk-XRE52QTN.js";
3
+ } from "../../chunk-D5V3PUQQ.js";
4
4
  import "../../chunk-MXSJF6TW.js";
5
+ import "../../chunk-HVYK7COK.js";
6
+ import "../../chunk-SBRRNFOP.js";
7
+ import "../../chunk-MTGNBARV.js";
5
8
  import "../../chunk-WMPWWFUJ.js";
6
- import "../../chunk-AX4M7X4Z.js";
7
9
  import "../../chunk-NKUETCDA.js";
8
- import "../../chunk-45AHDOAU.js";
9
10
  import "../../chunk-7KWFEH56.js";
10
11
  import "../../chunk-ORMEWXMH.js";
11
12
  export {
@@ -266,7 +266,39 @@ Heading3.displayName = "Heading3";
266
266
 
267
267
  // src/components/Button.tsx
268
268
  var import_clsx3 = __toESM(require("clsx"), 1);
269
+
270
+ // src/components/Spinner.tsx
269
271
  var import_jsx_runtime2 = require("react/jsx-runtime");
272
+ var Spinner = ({ size = "small", testid }) => {
273
+ const dimension = size === "large" ? 48 : 24;
274
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
275
+ "svg",
276
+ {
277
+ "data-testid": testid,
278
+ width: dimension,
279
+ height: dimension,
280
+ viewBox: "0 0 24 24",
281
+ xmlns: "http://www.w3.org/2000/svg",
282
+ fill: "#1D1E1E",
283
+ className: "spinner",
284
+ "aria-label": "Loading",
285
+ children: [
286
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
287
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
288
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
289
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
290
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
291
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
292
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
293
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
294
+ ]
295
+ }
296
+ );
297
+ };
298
+ Spinner.displayName = "Spinner";
299
+
300
+ // src/components/Button.tsx
301
+ var import_jsx_runtime3 = require("react/jsx-runtime");
270
302
  var Button = (_a) => {
271
303
  var _b = _a, {
272
304
  variant = "primary",
@@ -282,7 +314,8 @@ var Button = (_a) => {
282
314
  colorClassName,
283
315
  href,
284
316
  id,
285
- testid
317
+ testid,
318
+ isLoading
286
319
  } = _b, props = __objRest(_b, [
287
320
  "variant",
288
321
  "as",
@@ -297,7 +330,8 @@ var Button = (_a) => {
297
330
  "colorClassName",
298
331
  "href",
299
332
  "id",
300
- "testid"
333
+ "testid",
334
+ "isLoading"
301
335
  ]);
302
336
  const primaryVariantStyles = variant === "primary" && (0, import_clsx3.default)(
303
337
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -381,7 +415,7 @@ var Button = (_a) => {
381
415
  typography.buttonLabel
382
416
  );
383
417
  const Element = href && !as ? "a" : as;
384
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
418
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
385
419
  Element,
386
420
  __spreadProps(__spreadValues({
387
421
  id,
@@ -395,7 +429,8 @@ var Button = (_a) => {
395
429
  "data-theme": variant === "navigation" ? "brand" : void 0,
396
430
  children: [
397
431
  leftIcon && leftIcon,
398
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
432
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Spinner, { size: "small" }),
433
+ !iconOnly && !isLoading && children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
399
434
  rightIcon && rightIcon
400
435
  ]
401
436
  })
@@ -405,7 +440,7 @@ Button.displayName = "Button";
405
440
 
406
441
  // src/components/Icon.tsx
407
442
  var import_clsx4 = __toESM(require("clsx"), 1);
408
- var import_jsx_runtime3 = require("react/jsx-runtime");
443
+ var import_jsx_runtime4 = require("react/jsx-runtime");
409
444
  function Icon(_a) {
410
445
  var _b = _a, {
411
446
  name,
@@ -420,7 +455,7 @@ function Icon(_a) {
420
455
  ]);
421
456
  const variantStyle = variant === "filled" ? '"FILL" 1' : '"FILL" 0';
422
457
  const weightStyle = size === 16 ? '"wght" 400' : '"wght" 300';
423
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
458
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
424
459
  "span",
425
460
  __spreadProps(__spreadValues({}, props), {
426
461
  "data-testid": testid,
@@ -440,7 +475,7 @@ function Icon(_a) {
440
475
 
441
476
  // src/components/ModalHeader.tsx
442
477
  var import_clsx5 = __toESM(require("clsx"), 1);
443
- var import_jsx_runtime4 = require("react/jsx-runtime");
478
+ var import_jsx_runtime5 = require("react/jsx-runtime");
444
479
  var ModalHeader = ({
445
480
  title,
446
481
  hideCloseIcon,
@@ -453,7 +488,7 @@ var ModalHeader = ({
453
488
  titleAs: TitleComponent
454
489
  }) => {
455
490
  const Title = TitleComponent || Heading2;
456
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
491
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
457
492
  "div",
458
493
  {
459
494
  id,
@@ -468,9 +503,9 @@ var ModalHeader = ({
468
503
  headerClassname
469
504
  ),
470
505
  children: [
471
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
506
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: (0, import_clsx5.default)("flex items-center flex-1", layoutGroupGap), children: [
472
507
  headerIcon,
473
- title && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
508
+ title && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
474
509
  Title,
475
510
  {
476
511
  id: id ? `${id}-title` : void 0,
@@ -480,7 +515,7 @@ var ModalHeader = ({
480
515
  }
481
516
  )
482
517
  ] }),
483
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
518
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
484
519
  Button,
485
520
  {
486
521
  id: id ? `${id}-close-button` : void 0,
@@ -488,7 +523,7 @@ var ModalHeader = ({
488
523
  iconOnly: true,
489
524
  variant: "tertiary",
490
525
  onClick: onClose,
491
- 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 }) })
526
+ 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 }) })
492
527
  }
493
528
  )
494
529
  ]
@@ -499,14 +534,14 @@ ModalHeader.displayName = "ModalHeader";
499
534
 
500
535
  // src/components/ModalContent.tsx
501
536
  var import_clsx6 = __toESM(require("clsx"), 1);
502
- var import_jsx_runtime5 = require("react/jsx-runtime");
537
+ var import_jsx_runtime6 = require("react/jsx-runtime");
503
538
  function ModalContent({
504
539
  fixedHeightScrolling,
505
540
  children,
506
541
  id,
507
542
  testid
508
543
  }) {
509
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
544
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
510
545
  "div",
511
546
  {
512
547
  id,
@@ -524,7 +559,7 @@ ModalContent.displayName = "ModalContent";
524
559
 
525
560
  // src/components/ModalButtons.tsx
526
561
  var import_clsx7 = __toESM(require("clsx"), 1);
527
- var import_jsx_runtime6 = require("react/jsx-runtime");
562
+ var import_jsx_runtime7 = require("react/jsx-runtime");
528
563
  var ModalButtons = ({
529
564
  onClose,
530
565
  onContinue,
@@ -532,7 +567,7 @@ var ModalButtons = ({
532
567
  id,
533
568
  testid
534
569
  }) => {
535
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
570
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
536
571
  "div",
537
572
  {
538
573
  id,
@@ -542,26 +577,26 @@ var ModalButtons = ({
542
577
  layoutPaddding,
543
578
  layoutGroupGap
544
579
  ),
545
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(import_jsx_runtime6.Fragment, { children: [
546
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
580
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx_runtime7.Fragment, { children: [
581
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
547
582
  Button,
548
583
  {
549
584
  id: id ? `${id}-close-button` : void 0,
550
585
  testid: testid ? `${testid}-close-button` : void 0,
551
586
  variant: "secondary",
552
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "close", size: 24 }),
587
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "close", size: 24 }),
553
588
  onClick: onClose,
554
589
  className: "max-sm:w-full",
555
590
  children: "Close"
556
591
  }
557
592
  ),
558
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
593
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
559
594
  Button,
560
595
  {
561
596
  id: id ? `${id}-continue-button` : void 0,
562
597
  testid: testid ? `${testid}-continue-button` : void 0,
563
598
  variant: "primary",
564
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "check", size: 24 }),
599
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Icon, { name: "check", size: 24 }),
565
600
  className: "max-sm:w-full",
566
601
  onClick: onContinue,
567
602
  children: "Continue"
@@ -575,7 +610,7 @@ ModalButtons.displayName = "ModalButtons";
575
610
 
576
611
  // src/components/ModalScrim.tsx
577
612
  var import_clsx8 = __toESM(require("clsx"), 1);
578
- var import_jsx_runtime7 = require("react/jsx-runtime");
613
+ var import_jsx_runtime8 = require("react/jsx-runtime");
579
614
  var ModalScrim = ({
580
615
  show = false,
581
616
  size = "small",
@@ -585,7 +620,7 @@ var ModalScrim = ({
585
620
  id,
586
621
  testid
587
622
  }) => {
588
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
623
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
589
624
  "div",
590
625
  {
591
626
  id,
@@ -674,7 +709,7 @@ var useMounted = () => {
674
709
  };
675
710
 
676
711
  // src/components/Modal.tsx
677
- var import_jsx_runtime8 = require("react/jsx-runtime");
712
+ var import_jsx_runtime9 = require("react/jsx-runtime");
678
713
  var fadeInScale = (element, duration = 300) => element.animate(
679
714
  [
680
715
  { opacity: 0, transform: "scale(0.95)" },
@@ -847,7 +882,7 @@ var Modal = ({
847
882
  return null;
848
883
  }
849
884
  return (0, import_react_dom.createPortal)(
850
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
885
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
851
886
  ModalScrim,
852
887
  {
853
888
  id: id ? `${id}-scrim` : void 0,
@@ -856,7 +891,7 @@ var Modal = ({
856
891
  ref: bgRef,
857
892
  show: open,
858
893
  onClick: backgroundClickHandler,
859
- children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
894
+ children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
860
895
  "div",
861
896
  {
862
897
  id,
@@ -871,7 +906,7 @@ var Modal = ({
871
906
  ),
872
907
  onClick: (e) => e.stopPropagation(),
873
908
  children: [
874
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
909
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
875
910
  ModalHeader,
876
911
  {
877
912
  id: id ? `${id}-header` : void 0,
@@ -885,7 +920,7 @@ var Modal = ({
885
920
  titleAs: TitleComponent
886
921
  }
887
922
  ),
888
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
923
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
889
924
  ModalContent,
890
925
  {
891
926
  id: id ? `${id}-content` : void 0,
@@ -894,7 +929,7 @@ var Modal = ({
894
929
  children
895
930
  }
896
931
  ) : children,
897
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
932
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
898
933
  ModalButtons,
899
934
  {
900
935
  id: id ? `${id}-buttons` : void 0,
@@ -918,36 +953,6 @@ Modal.displayName = "Modal";
918
953
  var import_react_pdf2 = require("@mikecousins/react-pdf");
919
954
  var import_react8 = require("react");
920
955
 
921
- // src/components/Spinner.tsx
922
- var import_jsx_runtime9 = require("react/jsx-runtime");
923
- var Spinner = ({ size = "small", testid }) => {
924
- const dimension = size === "large" ? 48 : 24;
925
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
926
- "svg",
927
- {
928
- "data-testid": testid,
929
- width: dimension,
930
- height: dimension,
931
- viewBox: "0 0 24 24",
932
- xmlns: "http://www.w3.org/2000/svg",
933
- fill: "#1D1E1E",
934
- className: "spinner",
935
- "aria-label": "Loading",
936
- children: [
937
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
938
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
939
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
940
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
941
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
942
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
943
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
944
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
945
- ]
946
- }
947
- );
948
- };
949
- Spinner.displayName = "Spinner";
950
-
951
956
  // src/components/Stack.tsx
952
957
  var import_clsx10 = __toESM(require("clsx"), 1);
953
958
  var import_jsx_runtime10 = require("react/jsx-runtime");
@@ -1023,7 +1028,8 @@ var Stack = (_a) => {
1023
1028
  bottom,
1024
1029
  zIndex,
1025
1030
  flexWrap,
1026
- className
1031
+ className,
1032
+ unclipEdges
1027
1033
  } = _b, props = __objRest(_b, [
1028
1034
  "children",
1029
1035
  "items",
@@ -1072,7 +1078,8 @@ var Stack = (_a) => {
1072
1078
  "bottom",
1073
1079
  "zIndex",
1074
1080
  "flexWrap",
1075
- "className"
1081
+ "className",
1082
+ "unclipEdges"
1076
1083
  ]);
1077
1084
  var _a2, _b2, _c, _d, _e, _f, _g;
1078
1085
  const flexClassNames = getFlexClassNames({ items, justify, grow });
@@ -1164,6 +1171,7 @@ var Stack = (_a) => {
1164
1171
  elevation === 4 && "shadow-4",
1165
1172
  elevation === 16 && "shadow-16",
1166
1173
  rounded && "rounded",
1174
+ unclipEdges && "-m-0.75 p-1",
1167
1175
  className
1168
1176
  ),
1169
1177
  children
@@ -1,33 +1,33 @@
1
1
  "use client";
2
+ import {
3
+ DownloadIcon
4
+ } from "../../chunk-45SH6WHE.js";
2
5
  import {
3
6
  PDFElement
4
- } from "../../chunk-K4SIZGMK.js";
7
+ } from "../../chunk-EQ2RAI53.js";
5
8
  import {
6
9
  PdfNavigation
7
- } from "../../chunk-XRE52QTN.js";
10
+ } from "../../chunk-D5V3PUQQ.js";
8
11
  import "../../chunk-VJVY6NPF.js";
9
- import {
10
- DownloadIcon
11
- } from "../../chunk-7COWXCPA.js";
12
- import "../../chunk-SBRRNFOP.js";
13
12
  import "../../chunk-MDB26F6T.js";
14
13
  import {
15
14
  Modal
16
- } from "../../chunk-JADOJNBI.js";
15
+ } from "../../chunk-ZDXJXDZT.js";
17
16
  import "../../chunk-4RJKB7LC.js";
17
+ import "../../chunk-KV7LAH3T.js";
18
18
  import "../../chunk-WVVEOCEH.js";
19
- import "../../chunk-CMMQTIVM.js";
19
+ import "../../chunk-EJOPJIRO.js";
20
20
  import "../../chunk-AG43RS4Q.js";
21
- import "../../chunk-AKJUBFJK.js";
22
21
  import "../../chunk-YD2JJ2VL.js";
23
22
  import "../../chunk-VXWSAIB5.js";
24
23
  import "../../chunk-DQRQZE6O.js";
25
24
  import "../../chunk-5UH6QUFB.js";
26
25
  import "../../chunk-MXSJF6TW.js";
26
+ import "../../chunk-HVYK7COK.js";
27
+ import "../../chunk-SBRRNFOP.js";
28
+ import "../../chunk-MTGNBARV.js";
27
29
  import "../../chunk-WMPWWFUJ.js";
28
- import "../../chunk-AX4M7X4Z.js";
29
30
  import "../../chunk-NKUETCDA.js";
30
- import "../../chunk-45AHDOAU.js";
31
31
  import "../../chunk-7KWFEH56.js";
32
32
  import "../../chunk-ORMEWXMH.js";
33
33