@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
@@ -3813,7 +3813,39 @@ Checkbox.displayName = "Checkbox";
3813
3813
 
3814
3814
  // src/components/Button.tsx
3815
3815
  var import_clsx17 = __toESM(require("clsx"), 1);
3816
+
3817
+ // src/components/Spinner.tsx
3816
3818
  var import_jsx_runtime18 = require("react/jsx-runtime");
3819
+ var Spinner = ({ size = "small", testid }) => {
3820
+ const dimension = size === "large" ? 48 : 24;
3821
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3822
+ "svg",
3823
+ {
3824
+ "data-testid": testid,
3825
+ width: dimension,
3826
+ height: dimension,
3827
+ viewBox: "0 0 24 24",
3828
+ xmlns: "http://www.w3.org/2000/svg",
3829
+ fill: "#1D1E1E",
3830
+ className: "spinner",
3831
+ "aria-label": "Loading",
3832
+ children: [
3833
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
3834
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
3835
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
3836
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
3837
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
3838
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
3839
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
3840
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
3841
+ ]
3842
+ }
3843
+ );
3844
+ };
3845
+ Spinner.displayName = "Spinner";
3846
+
3847
+ // src/components/Button.tsx
3848
+ var import_jsx_runtime19 = require("react/jsx-runtime");
3817
3849
  var Button = (_a) => {
3818
3850
  var _b = _a, {
3819
3851
  variant = "primary",
@@ -3829,7 +3861,8 @@ var Button = (_a) => {
3829
3861
  colorClassName,
3830
3862
  href,
3831
3863
  id,
3832
- testid
3864
+ testid,
3865
+ isLoading
3833
3866
  } = _b, props = __objRest(_b, [
3834
3867
  "variant",
3835
3868
  "as",
@@ -3844,7 +3877,8 @@ var Button = (_a) => {
3844
3877
  "colorClassName",
3845
3878
  "href",
3846
3879
  "id",
3847
- "testid"
3880
+ "testid",
3881
+ "isLoading"
3848
3882
  ]);
3849
3883
  const primaryVariantStyles = variant === "primary" && (0, import_clsx17.default)(
3850
3884
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -3928,7 +3962,7 @@ var Button = (_a) => {
3928
3962
  typography.buttonLabel
3929
3963
  );
3930
3964
  const Element = href && !as ? "a" : as;
3931
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
3965
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
3932
3966
  Element,
3933
3967
  __spreadProps(__spreadValues({
3934
3968
  id,
@@ -3942,7 +3976,8 @@ var Button = (_a) => {
3942
3976
  "data-theme": variant === "navigation" ? "brand" : void 0,
3943
3977
  children: [
3944
3978
  leftIcon && leftIcon,
3945
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
3979
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Spinner, { size: "small" }),
3980
+ !iconOnly && !isLoading && children && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
3946
3981
  rightIcon && rightIcon
3947
3982
  ]
3948
3983
  })
@@ -3954,7 +3989,7 @@ Button.displayName = "Button";
3954
3989
  var import_clsx18 = __toESM(require("clsx"), 1);
3955
3990
  var import_react15 = require("react");
3956
3991
  var import_react_dom2 = require("react-dom");
3957
- var import_jsx_runtime19 = require("react/jsx-runtime");
3992
+ var import_jsx_runtime20 = require("react/jsx-runtime");
3958
3993
  var Tooltip = ({
3959
3994
  id,
3960
3995
  testid,
@@ -4021,7 +4056,7 @@ var Tooltip = ({
4021
4056
  return () => window.removeEventListener("resize", updatePosition);
4022
4057
  }
4023
4058
  }, [isVisible]);
4024
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
4059
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4025
4060
  "div",
4026
4061
  {
4027
4062
  id,
@@ -4033,7 +4068,7 @@ var Tooltip = ({
4033
4068
  children: [
4034
4069
  children,
4035
4070
  !keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
4036
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
4071
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4037
4072
  "div",
4038
4073
  {
4039
4074
  id: id ? `${id}-message` : void 0,
@@ -4080,7 +4115,7 @@ var import_react_dom3 = require("react-dom");
4080
4115
  var import_clsx19 = __toESM(require("clsx"), 1);
4081
4116
  var import_react16 = __toESM(require("react"), 1);
4082
4117
  var import_polyfill = require("@js-temporal/polyfill");
4083
- var import_jsx_runtime20 = require("react/jsx-runtime");
4118
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4084
4119
  function DateCell(_a) {
4085
4120
  var _b = _a, {
4086
4121
  date,
@@ -4115,7 +4150,7 @@ function DateCell(_a) {
4115
4150
  "id",
4116
4151
  "testid"
4117
4152
  ]);
4118
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4153
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4119
4154
  "span",
4120
4155
  __spreadProps(__spreadValues({}, props), {
4121
4156
  id,
@@ -4271,7 +4306,7 @@ function CalendarRange({
4271
4306
  }
4272
4307
  return false;
4273
4308
  }
4274
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4309
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4275
4310
  "div",
4276
4311
  {
4277
4312
  id,
@@ -4284,7 +4319,7 @@ function CalendarRange({
4284
4319
  // baseTransition,
4285
4320
  "overflow-hidden"
4286
4321
  ),
4287
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4322
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4288
4323
  "div",
4289
4324
  {
4290
4325
  className: (0, import_clsx19.default)(
@@ -4292,7 +4327,7 @@ function CalendarRange({
4292
4327
  layoutGap
4293
4328
  ),
4294
4329
  children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
4295
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4330
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4296
4331
  CalendarPane,
4297
4332
  {
4298
4333
  getMonthData,
@@ -4357,13 +4392,13 @@ function CalendarPane({
4357
4392
  const month = getMonthData(offset);
4358
4393
  const totalCells = 42;
4359
4394
  const emptyCells = month.firstDayOffset;
4360
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_react16.default.Fragment, { children: [
4361
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4395
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_react16.default.Fragment, { children: [
4396
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4362
4397
  "div",
4363
4398
  {
4364
4399
  className: (0, import_clsx19.default)("flex flex-col"),
4365
4400
  children: [
4366
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4401
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4367
4402
  "div",
4368
4403
  {
4369
4404
  className: (0, import_clsx19.default)(
@@ -4372,7 +4407,7 @@ function CalendarPane({
4372
4407
  "text-text-action-primary-normal"
4373
4408
  ),
4374
4409
  children: [
4375
- idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4410
+ idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4376
4411
  "button",
4377
4412
  {
4378
4413
  id: id ? `${id}-prev-month-button` : void 0,
@@ -4384,11 +4419,11 @@ function CalendarPane({
4384
4419
  ),
4385
4420
  "aria-label": "Previous month",
4386
4421
  onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
4387
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "chevron_left", size: 24 })
4422
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "chevron_left", size: 24 })
4388
4423
  }
4389
- ) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "mr-1") }),
4390
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4391
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4424
+ ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "mr-1") }),
4425
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4426
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4392
4427
  "button",
4393
4428
  {
4394
4429
  ref: (el) => {
@@ -4403,13 +4438,13 @@ function CalendarPane({
4403
4438
  children: month.name
4404
4439
  }
4405
4440
  ),
4406
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4441
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4407
4442
  Menu,
4408
4443
  {
4409
4444
  show: monthMenuOpen,
4410
4445
  positionTo: monthMenuRef,
4411
4446
  setShow: () => setMonthMenuOpen(false),
4412
- children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4447
+ children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4413
4448
  MenuOption,
4414
4449
  {
4415
4450
  selected: baseMonth.month === x + 1,
@@ -4423,7 +4458,7 @@ function CalendarPane({
4423
4458
  ))
4424
4459
  }
4425
4460
  ),
4426
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4461
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4427
4462
  "button",
4428
4463
  {
4429
4464
  ref: (el) => {
@@ -4438,13 +4473,13 @@ function CalendarPane({
4438
4473
  children: month.year
4439
4474
  }
4440
4475
  ),
4441
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4476
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4442
4477
  Menu,
4443
4478
  {
4444
4479
  show: yearMenuOpen,
4445
4480
  positionTo: yearMenuRef,
4446
4481
  setShow: () => setYearMenuOpen(false),
4447
- children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4482
+ children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4448
4483
  MenuOption,
4449
4484
  {
4450
4485
  selected: baseMonth.year === y,
@@ -4459,7 +4494,7 @@ function CalendarPane({
4459
4494
  }
4460
4495
  )
4461
4496
  ] }),
4462
- (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4497
+ (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4463
4498
  "button",
4464
4499
  {
4465
4500
  id: id ? `${id}-next-month-button` : void 0,
@@ -4471,13 +4506,13 @@ function CalendarPane({
4471
4506
  ),
4472
4507
  "aria-label": "Next month",
4473
4508
  onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
4474
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { name: "chevron_right", size: 24 })
4509
+ children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "chevron_right", size: 24 })
4475
4510
  }
4476
- ) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "ml-1") })
4511
+ ) : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "ml-1") })
4477
4512
  ]
4478
4513
  }
4479
4514
  ),
4480
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4515
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4481
4516
  "span",
4482
4517
  {
4483
4518
  className: (0, import_clsx19.default)(
@@ -4489,7 +4524,7 @@ function CalendarPane({
4489
4524
  },
4490
4525
  d
4491
4526
  )) }),
4492
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4527
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4493
4528
  const day = i - emptyCells + 1;
4494
4529
  const date = month.date.with({ day: 1 }).add({
4495
4530
  days: i - emptyCells
@@ -4503,7 +4538,7 @@ function CalendarPane({
4503
4538
  const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
4504
4539
  const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
4505
4540
  const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
4506
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4541
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4507
4542
  DateCell,
4508
4543
  {
4509
4544
  id: id ? `${id}-date-${date.toString()}` : void 0,
@@ -4528,7 +4563,7 @@ function CalendarPane({
4528
4563
  ]
4529
4564
  }
4530
4565
  ),
4531
- mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4566
+ mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4532
4567
  "div",
4533
4568
  {
4534
4569
  className: (0, import_clsx19.default)(
@@ -4542,7 +4577,7 @@ function CalendarPane({
4542
4577
  }
4543
4578
 
4544
4579
  // src/components/DateInput.tsx
4545
- var import_jsx_runtime21 = require("react/jsx-runtime");
4580
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4546
4581
  var DateInput = (_a) => {
4547
4582
  var _b = _a, {
4548
4583
  id,
@@ -4703,8 +4738,8 @@ var DateInput = (_a) => {
4703
4738
  }
4704
4739
  }
4705
4740
  };
4706
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "relative", children: [
4707
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4741
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "relative", children: [
4742
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4708
4743
  InputBase,
4709
4744
  __spreadProps(__spreadValues({
4710
4745
  id,
@@ -4718,7 +4753,7 @@ var DateInput = (_a) => {
4718
4753
  placeholder,
4719
4754
  disabled,
4720
4755
  readOnly,
4721
- after: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon, { name: "calendar_month" }),
4756
+ after: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "calendar_month" }),
4722
4757
  onFocus: handleFocus,
4723
4758
  onClick: handleClick,
4724
4759
  onChange: handleInputChange,
@@ -4729,7 +4764,7 @@ var DateInput = (_a) => {
4729
4764
  })
4730
4765
  ),
4731
4766
  visible && !readOnly && (0, import_react_dom3.createPortal)(
4732
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4767
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4733
4768
  "div",
4734
4769
  {
4735
4770
  ref: (el) => {
@@ -4741,7 +4776,7 @@ var DateInput = (_a) => {
4741
4776
  left: `${calendarPosition.left}px`,
4742
4777
  minWidth: `${calendarPosition.width}px`
4743
4778
  },
4744
- children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4779
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4745
4780
  CalendarRange,
4746
4781
  {
4747
4782
  id: id ? `${id}-calendar` : void 0,
@@ -4777,18 +4812,18 @@ var import_clsx22 = __toESM(require("clsx"), 1);
4777
4812
 
4778
4813
  // src/components/Card.tsx
4779
4814
  var import_clsx20 = __toESM(require("clsx"), 1);
4780
- var import_jsx_runtime22 = require("react/jsx-runtime");
4815
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4781
4816
 
4782
4817
  // src/components/Stack.tsx
4783
4818
  var import_clsx21 = __toESM(require("clsx"), 1);
4784
- var import_jsx_runtime23 = require("react/jsx-runtime");
4819
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4785
4820
 
4786
4821
  // src/components/Accordion.tsx
4787
- var import_jsx_runtime24 = require("react/jsx-runtime");
4822
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4788
4823
 
4789
4824
  // src/components/Heading.tsx
4790
4825
  var import_clsx23 = __toESM(require("clsx"), 1);
4791
- var import_jsx_runtime25 = require("react/jsx-runtime");
4826
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4792
4827
  var Heading = (_a) => {
4793
4828
  var _b = _a, {
4794
4829
  className,
@@ -4811,7 +4846,7 @@ var Heading = (_a) => {
4811
4846
  ]);
4812
4847
  const defaultElement = variant === "heading1" ? "h1" : variant === "heading2" ? "h2" : "h3";
4813
4848
  const Element = as != null ? as : defaultElement;
4814
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
4849
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4815
4850
  Element,
4816
4851
  __spreadProps(__spreadValues({
4817
4852
  id,
@@ -4832,15 +4867,15 @@ var Heading = (_a) => {
4832
4867
  );
4833
4868
  };
4834
4869
  Heading.displayName = "Heading";
4835
- var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
4836
- var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
4837
- var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
4870
+ var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
4871
+ var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
4872
+ var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
4838
4873
  Heading1.displayName = "Heading1";
4839
4874
  Heading2.displayName = "Heading2";
4840
4875
  Heading3.displayName = "Heading3";
4841
4876
 
4842
4877
  // src/components/Theme.tsx
4843
- var import_jsx_runtime26 = require("react/jsx-runtime");
4878
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4844
4879
 
4845
4880
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
4846
4881
  var import_react20 = require("react");
@@ -4853,14 +4888,14 @@ var import_react18 = require("react");
4853
4888
  var GridContext = (0, import_react18.createContext)(null);
4854
4889
 
4855
4890
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
4856
- var import_jsx_runtime27 = require("react/jsx-runtime");
4891
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4857
4892
 
4858
4893
  // src/components/MobileDataGrid/MobileDataGridHeader.tsx
4859
- var import_jsx_runtime28 = require("react/jsx-runtime");
4894
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4860
4895
 
4861
4896
  // src/components/MobileDataGrid/GridContextProvider/index.tsx
4862
4897
  var import_react21 = require("react");
4863
- var import_jsx_runtime29 = require("react/jsx-runtime");
4898
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4864
4899
 
4865
4900
  // src/components/Modal.tsx
4866
4901
  var import_clsx28 = __toESM(require("clsx"), 1);
@@ -4868,7 +4903,7 @@ var import_react23 = require("react");
4868
4903
 
4869
4904
  // src/components/ModalHeader.tsx
4870
4905
  var import_clsx24 = __toESM(require("clsx"), 1);
4871
- var import_jsx_runtime30 = require("react/jsx-runtime");
4906
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4872
4907
  var ModalHeader = ({
4873
4908
  title,
4874
4909
  hideCloseIcon,
@@ -4881,7 +4916,7 @@ var ModalHeader = ({
4881
4916
  titleAs: TitleComponent
4882
4917
  }) => {
4883
4918
  const Title = TitleComponent || Heading2;
4884
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
4919
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
4885
4920
  "div",
4886
4921
  {
4887
4922
  id,
@@ -4896,9 +4931,9 @@ var ModalHeader = ({
4896
4931
  headerClassname
4897
4932
  ),
4898
4933
  children: [
4899
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
4934
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
4900
4935
  headerIcon,
4901
- title && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4936
+ title && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4902
4937
  Title,
4903
4938
  {
4904
4939
  id: id ? `${id}-title` : void 0,
@@ -4908,7 +4943,7 @@ var ModalHeader = ({
4908
4943
  }
4909
4944
  )
4910
4945
  ] }),
4911
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4946
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4912
4947
  Button,
4913
4948
  {
4914
4949
  id: id ? `${id}-close-button` : void 0,
@@ -4916,7 +4951,7 @@ var ModalHeader = ({
4916
4951
  iconOnly: true,
4917
4952
  variant: "tertiary",
4918
4953
  onClick: onClose,
4919
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon, { name: "close", size: 24 }) })
4954
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { name: "close", size: 24 }) })
4920
4955
  }
4921
4956
  )
4922
4957
  ]
@@ -4927,14 +4962,14 @@ ModalHeader.displayName = "ModalHeader";
4927
4962
 
4928
4963
  // src/components/ModalContent.tsx
4929
4964
  var import_clsx25 = __toESM(require("clsx"), 1);
4930
- var import_jsx_runtime31 = require("react/jsx-runtime");
4965
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4931
4966
  function ModalContent({
4932
4967
  fixedHeightScrolling,
4933
4968
  children,
4934
4969
  id,
4935
4970
  testid
4936
4971
  }) {
4937
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
4972
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4938
4973
  "div",
4939
4974
  {
4940
4975
  id,
@@ -4952,7 +4987,7 @@ ModalContent.displayName = "ModalContent";
4952
4987
 
4953
4988
  // src/components/ModalButtons.tsx
4954
4989
  var import_clsx26 = __toESM(require("clsx"), 1);
4955
- var import_jsx_runtime32 = require("react/jsx-runtime");
4990
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4956
4991
  var ModalButtons = ({
4957
4992
  onClose,
4958
4993
  onContinue,
@@ -4960,7 +4995,7 @@ var ModalButtons = ({
4960
4995
  id,
4961
4996
  testid
4962
4997
  }) => {
4963
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4998
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4964
4999
  "div",
4965
5000
  {
4966
5001
  id,
@@ -4970,26 +5005,26 @@ var ModalButtons = ({
4970
5005
  layoutPaddding,
4971
5006
  layoutGroupGap
4972
5007
  ),
4973
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(import_jsx_runtime32.Fragment, { children: [
4974
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5008
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_jsx_runtime33.Fragment, { children: [
5009
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4975
5010
  Button,
4976
5011
  {
4977
5012
  id: id ? `${id}-close-button` : void 0,
4978
5013
  testid: testid ? `${testid}-close-button` : void 0,
4979
5014
  variant: "secondary",
4980
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { name: "close", size: 24 }),
5015
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { name: "close", size: 24 }),
4981
5016
  onClick: onClose,
4982
5017
  className: "max-sm:w-full",
4983
5018
  children: "Close"
4984
5019
  }
4985
5020
  ),
4986
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5021
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4987
5022
  Button,
4988
5023
  {
4989
5024
  id: id ? `${id}-continue-button` : void 0,
4990
5025
  testid: testid ? `${testid}-continue-button` : void 0,
4991
5026
  variant: "primary",
4992
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { name: "check", size: 24 }),
5027
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { name: "check", size: 24 }),
4993
5028
  className: "max-sm:w-full",
4994
5029
  onClick: onContinue,
4995
5030
  children: "Continue"
@@ -5003,7 +5038,7 @@ ModalButtons.displayName = "ModalButtons";
5003
5038
 
5004
5039
  // src/components/ModalScrim.tsx
5005
5040
  var import_clsx27 = __toESM(require("clsx"), 1);
5006
- var import_jsx_runtime33 = require("react/jsx-runtime");
5041
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5007
5042
  var ModalScrim = ({
5008
5043
  show = false,
5009
5044
  size = "small",
@@ -5013,7 +5048,7 @@ var ModalScrim = ({
5013
5048
  id,
5014
5049
  testid
5015
5050
  }) => {
5016
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5051
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5017
5052
  "div",
5018
5053
  {
5019
5054
  id,
@@ -5049,7 +5084,7 @@ var useMounted = () => {
5049
5084
  };
5050
5085
 
5051
5086
  // src/components/Modal.tsx
5052
- var import_jsx_runtime34 = require("react/jsx-runtime");
5087
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5053
5088
  var fadeInScale = (element, duration = 300) => element.animate(
5054
5089
  [
5055
5090
  { opacity: 0, transform: "scale(0.95)" },
@@ -5222,7 +5257,7 @@ var Modal = ({
5222
5257
  return null;
5223
5258
  }
5224
5259
  return (0, import_react_dom4.createPortal)(
5225
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5260
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5226
5261
  ModalScrim,
5227
5262
  {
5228
5263
  id: id ? `${id}-scrim` : void 0,
@@ -5231,7 +5266,7 @@ var Modal = ({
5231
5266
  ref: bgRef,
5232
5267
  show: open,
5233
5268
  onClick: backgroundClickHandler,
5234
- children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
5269
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
5235
5270
  "div",
5236
5271
  {
5237
5272
  id,
@@ -5246,7 +5281,7 @@ var Modal = ({
5246
5281
  ),
5247
5282
  onClick: (e) => e.stopPropagation(),
5248
5283
  children: [
5249
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5284
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5250
5285
  ModalHeader,
5251
5286
  {
5252
5287
  id: id ? `${id}-header` : void 0,
@@ -5260,7 +5295,7 @@ var Modal = ({
5260
5295
  titleAs: TitleComponent
5261
5296
  }
5262
5297
  ),
5263
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5298
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5264
5299
  ModalContent,
5265
5300
  {
5266
5301
  id: id ? `${id}-content` : void 0,
@@ -5269,7 +5304,7 @@ var Modal = ({
5269
5304
  children
5270
5305
  }
5271
5306
  ) : children,
5272
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5307
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5273
5308
  ModalButtons,
5274
5309
  {
5275
5310
  id: id ? `${id}-buttons` : void 0,
@@ -5290,51 +5325,51 @@ var Modal = ({
5290
5325
  Modal.displayName = "Modal";
5291
5326
 
5292
5327
  // src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
5293
- var import_jsx_runtime35 = require("react/jsx-runtime");
5328
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5294
5329
 
5295
5330
  // src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
5296
- var import_jsx_runtime36 = require("react/jsx-runtime");
5331
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5297
5332
 
5298
5333
  // src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
5299
- var import_jsx_runtime37 = require("react/jsx-runtime");
5334
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5300
5335
 
5301
5336
  // src/components/MobileDataGrid/ColumnList.tsx
5302
5337
  var import_clsx30 = __toESM(require("clsx"), 1);
5303
5338
 
5304
5339
  // src/components/MobileDataGrid/MobileDataGridCard/index.tsx
5305
5340
  var import_clsx29 = __toESM(require("clsx"), 1);
5306
- var import_jsx_runtime38 = require("react/jsx-runtime");
5341
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5307
5342
 
5308
5343
  // src/components/MobileDataGrid/ColumnList.tsx
5309
- var import_jsx_runtime39 = require("react/jsx-runtime");
5344
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5310
5345
 
5311
5346
  // src/components/MobileDataGrid/index.tsx
5312
- var import_jsx_runtime40 = require("react/jsx-runtime");
5347
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5313
5348
 
5314
5349
  // src/components/ProductImagePreview/Thumbnail.tsx
5315
5350
  var import_react25 = require("react");
5316
5351
 
5317
5352
  // src/components/ImagePlaceholder.tsx
5318
5353
  var import_react24 = require("react");
5319
- var import_jsx_runtime41 = require("react/jsx-runtime");
5354
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5320
5355
 
5321
5356
  // src/components/ProductImagePreview/Thumbnail.tsx
5322
- var import_jsx_runtime42 = require("react/jsx-runtime");
5357
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5323
5358
 
5324
5359
  // src/components/Grid.tsx
5325
5360
  var import_clsx31 = __toESM(require("clsx"), 1);
5326
- var import_jsx_runtime43 = require("react/jsx-runtime");
5361
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5327
5362
 
5328
5363
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
5329
5364
  var import_react26 = require("react");
5330
- var import_jsx_runtime44 = require("react/jsx-runtime");
5365
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5331
5366
 
5332
5367
  // src/components/ProductImagePreview/ZoomWindow.tsx
5333
5368
  var import_react27 = require("react");
5334
5369
 
5335
5370
  // src/components/Surface.tsx
5336
5371
  var import_clsx32 = __toESM(require("clsx"), 1);
5337
- var import_jsx_runtime45 = require("react/jsx-runtime");
5372
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5338
5373
  var Surface = (_a) => {
5339
5374
  var _b = _a, {
5340
5375
  children,
@@ -5347,7 +5382,7 @@ var Surface = (_a) => {
5347
5382
  "elevation",
5348
5383
  "id"
5349
5384
  ]);
5350
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5385
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
5351
5386
  "div",
5352
5387
  __spreadProps(__spreadValues({
5353
5388
  id,
@@ -5368,40 +5403,40 @@ var Surface = (_a) => {
5368
5403
  Surface.displayName = "Surface";
5369
5404
 
5370
5405
  // src/components/ProductImagePreview/ZoomWindow.tsx
5371
- var import_jsx_runtime46 = require("react/jsx-runtime");
5406
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5372
5407
 
5373
5408
  // src/components/ProductImagePreview/CarouselPagination.tsx
5374
5409
  var import_clsx33 = require("clsx");
5375
- var import_jsx_runtime47 = require("react/jsx-runtime");
5410
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5376
5411
 
5377
5412
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
5378
5413
  var import_react28 = require("react");
5379
- var import_jsx_runtime48 = require("react/jsx-runtime");
5414
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5380
5415
 
5381
5416
  // src/components/ProductImagePreview/useProductImagePreview.ts
5382
5417
  var import_react29 = require("react");
5383
5418
 
5384
5419
  // src/components/ProductImagePreview/index.tsx
5385
- var import_jsx_runtime49 = require("react/jsx-runtime");
5420
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5386
5421
 
5387
5422
  // src/components/CompactImagesPreview.tsx
5388
5423
  var import_react30 = require("react");
5389
5424
  var import_clsx34 = __toESM(require("clsx"), 1);
5390
- var import_jsx_runtime50 = require("react/jsx-runtime");
5425
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5391
5426
 
5392
5427
  // src/components/SimpleTable.tsx
5393
5428
  var import_clsx35 = __toESM(require("clsx"), 1);
5394
- var import_jsx_runtime51 = require("react/jsx-runtime");
5429
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5395
5430
 
5396
5431
  // src/components/ListGroup.tsx
5397
5432
  var import_react31 = require("react");
5398
5433
  var import_clsx36 = __toESM(require("clsx"), 1);
5399
- var import_jsx_runtime52 = require("react/jsx-runtime");
5434
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5400
5435
 
5401
5436
  // src/components/Pagination.tsx
5402
5437
  var import_react32 = require("react");
5403
5438
  var import_clsx37 = __toESM(require("clsx"), 1);
5404
- var import_jsx_runtime53 = require("react/jsx-runtime");
5439
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5405
5440
  var Pagination = ({
5406
5441
  totalPages,
5407
5442
  currentPage,
@@ -5476,7 +5511,7 @@ var Pagination = ({
5476
5511
  "focus:bg-background-grouped-secondary-normal focus:outline-0",
5477
5512
  "disabled:bg-transparent disabled:text-text-action-primary-disabled"
5478
5513
  );
5479
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5514
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5480
5515
  "nav",
5481
5516
  {
5482
5517
  id,
@@ -5491,19 +5526,19 @@ var Pagination = ({
5491
5526
  className
5492
5527
  ),
5493
5528
  children: [
5494
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5529
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5495
5530
  "button",
5496
5531
  {
5497
5532
  disabled: disabled || currentPage <= 1,
5498
5533
  "aria-label": "Previous page",
5499
5534
  onClick: () => goTo(currentPage - 1),
5500
5535
  className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
5501
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "keyboard_arrow_left" })
5536
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "keyboard_arrow_left" })
5502
5537
  }
5503
5538
  ),
5504
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5539
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5505
5540
  if (token === "ellipsis") {
5506
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5541
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5507
5542
  "li",
5508
5543
  {
5509
5544
  className: "w-8 h-8 select-none text-text-action-primary-disabled",
@@ -5513,7 +5548,7 @@ var Pagination = ({
5513
5548
  );
5514
5549
  }
5515
5550
  const selected = token === currentPage;
5516
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5551
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5517
5552
  "button",
5518
5553
  {
5519
5554
  "aria-label": `Page ${token}`,
@@ -5524,18 +5559,18 @@ var Pagination = ({
5524
5559
  buttonClass,
5525
5560
  selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
5526
5561
  ),
5527
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5562
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5528
5563
  }
5529
5564
  ) }, token);
5530
5565
  }) }),
5531
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5566
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5532
5567
  "button",
5533
5568
  {
5534
5569
  disabled: disabled || currentPage >= totalPages,
5535
5570
  "aria-label": "Next page",
5536
5571
  onClick: () => goTo(currentPage + 1),
5537
5572
  className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
5538
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "keyboard_arrow_right" })
5573
+ children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { name: "keyboard_arrow_right" })
5539
5574
  }
5540
5575
  )
5541
5576
  ]
@@ -5545,42 +5580,177 @@ var Pagination = ({
5545
5580
  Pagination.displayName = "Pagination";
5546
5581
 
5547
5582
  // src/components/SkeletonParagraph.tsx
5548
- var import_jsx_runtime54 = require("react/jsx-runtime");
5583
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5549
5584
 
5550
5585
  // src/components/EmptyCartIcon.tsx
5551
- var import_jsx_runtime55 = require("react/jsx-runtime");
5586
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5552
5587
 
5553
5588
  // src/components/SearchResultImage/index.tsx
5554
5589
  var import_react33 = require("react");
5555
- var import_jsx_runtime56 = require("react/jsx-runtime");
5590
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5556
5591
 
5557
5592
  // src/components/Alert.tsx
5558
5593
  var import_clsx38 = __toESM(require("clsx"), 1);
5559
5594
  var import_react34 = require("react");
5560
- var import_jsx_runtime57 = require("react/jsx-runtime");
5595
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5561
5596
 
5562
5597
  // src/components/OrderCheckIcon.tsx
5563
- var import_jsx_runtime58 = require("react/jsx-runtime");
5598
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5564
5599
 
5565
- // src/components/DataGrid/PinnedColumns.tsx
5600
+ // src/components/AccessCard.tsx
5601
+ var import_clsx40 = __toESM(require("clsx"), 1);
5602
+
5603
+ // src/components/Radio.tsx
5566
5604
  var import_clsx39 = __toESM(require("clsx"), 1);
5567
- var import_react37 = __toESM(require("react"), 1);
5605
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5606
+ var Radio = (_a) => {
5607
+ var _b = _a, {
5608
+ className,
5609
+ label,
5610
+ error,
5611
+ disabled,
5612
+ checked,
5613
+ readOnly,
5614
+ id,
5615
+ testid
5616
+ } = _b, props = __objRest(_b, [
5617
+ "className",
5618
+ "label",
5619
+ "error",
5620
+ "disabled",
5621
+ "checked",
5622
+ "readOnly",
5623
+ "id",
5624
+ "testid"
5625
+ ]);
5626
+ const radioId = id;
5627
+ const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
5628
+ const defaultClassName = (0, import_clsx39.default)(
5629
+ !error && !disabled && "border-border-primary-normal peer-hover:border-border-action-hover peer-hover:bg-background-action-secondary-hover peer-focus:border-border-action-hover peer-focus:bg-background-action-secondary-hover peer-active:border-border-action-active peer-active:bg-background-action-secondary-active peer-checked:border-0 peer-checked:bg-background-action-secondary-hover"
5630
+ );
5631
+ const errorClassName = (0, import_clsx39.default)(
5632
+ error && !disabled && "border-border-action-critical-normal peer-hover:border-border-action-critical-hover peer-hover:bg-background-action-critical-secondary-hover peer-focus:border-border-action-critical-hover peer-focus:bg-background-action-critical-secondary-hover peer-active:border-border-action-critical-active peer-active:bg-background-action-secondary-active peer-checked:bg-background-action-critical-secondary-hover peer-checked:border-0 "
5633
+ );
5634
+ const disabledClassName = (0, import_clsx39.default)(
5635
+ disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
5636
+ );
5637
+ const readonlyClassName = (0, import_clsx39.default)(
5638
+ readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
5639
+ );
5640
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5641
+ "label",
5642
+ {
5643
+ htmlFor: radioId,
5644
+ "data-testid": testid,
5645
+ className: (0, import_clsx39.default)(
5646
+ "flex items-center",
5647
+ componentGap,
5648
+ disabled ? "cursor-default" : "cursor-pointer",
5649
+ className
5650
+ ),
5651
+ children: [
5652
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "relative", children: [
5653
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5654
+ "input",
5655
+ __spreadValues({
5656
+ id: radioId,
5657
+ "data-testid": testid ? `${testid}-input` : void 0,
5658
+ type: "radio",
5659
+ className: "sr-only peer",
5660
+ disabled,
5661
+ checked,
5662
+ readOnly
5663
+ }, props)
5664
+ ),
5665
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5666
+ "div",
5667
+ {
5668
+ className: (0, import_clsx39.default)(
5669
+ "size-6 rounded-full border flex items-center justify-center",
5670
+ baseTransition,
5671
+ defaultClassName,
5672
+ errorClassName,
5673
+ disabledClassName,
5674
+ readonlyClassName
5675
+ ),
5676
+ children: checked && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5677
+ RadioIcon,
5678
+ {
5679
+ className: (0, import_clsx39.default)(
5680
+ "transition-colors",
5681
+ !error && !disabled && "text-icon-on-action-secondary-normal hover:text-icon-on-action-secondary-hover active:text-icon-on-action-secondary-active peer-hover:text-icon-on-action-secondary-hover peer-focus:text-icon-on-action-secondary-hover peer-active:text-icon-on-action-secondary-active",
5682
+ error && !disabled && "text-icon-action-critical-secondary-normal hover:text-icon-action-critical-secondary-hover active:text-icon-action-critical-secondary-active peer-hover:text-icon-action-critical-secondary-hover peer-focus:text-icon-action-critical-secondary-hover peer-active:text-icon-action-critical-secondary-active",
5683
+ disabled && "text-icon-on-action-secondary-disabled",
5684
+ readOnly && "text-icon-on-action-secondary-disabled"
5685
+ )
5686
+ }
5687
+ )
5688
+ }
5689
+ )
5690
+ ] }),
5691
+ label && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Paragraph, { id: radioId ? `${radioId}-label` : void 0, testid: testid ? `${testid}-label` : void 0, padded: true, color: paragraphColor, children: label })
5692
+ ]
5693
+ }
5694
+ );
5695
+ };
5696
+ Radio.displayName = "Radio";
5697
+ var RadioIcon = ({ className }) => {
5698
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5699
+ "svg",
5700
+ {
5701
+ className,
5702
+ xmlns: "http://www.w3.org/2000/svg",
5703
+ width: "24",
5704
+ height: "24",
5705
+ viewBox: "0 0 24 24",
5706
+ fill: "none",
5707
+ children: [
5708
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5709
+ "rect",
5710
+ {
5711
+ x: "1",
5712
+ y: "1",
5713
+ width: "22",
5714
+ height: "22",
5715
+ rx: "11",
5716
+ stroke: "currentColor",
5717
+ strokeWidth: "2"
5718
+ }
5719
+ ),
5720
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
5721
+ ]
5722
+ }
5723
+ );
5724
+ };
5725
+ RadioIcon.displayName = "RadioIcon";
5726
+
5727
+ // src/components/AccessCard.tsx
5728
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5729
+
5730
+ // src/components/AccessCardGroup.tsx
5731
+ var import_clsx41 = __toESM(require("clsx"), 1);
5732
+ var import_react35 = require("react");
5733
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5734
+
5735
+ // src/components/DataGrid/PinnedColumns.tsx
5736
+ var import_clsx42 = __toESM(require("clsx"), 1);
5737
+ var import_react38 = __toESM(require("react"), 1);
5568
5738
 
5569
5739
  // src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
5570
- var import_react36 = require("react");
5740
+ var import_react37 = require("react");
5571
5741
 
5572
5742
  // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
5573
- var import_react35 = require("react");
5574
- var import_jsx_runtime59 = require("react/jsx-runtime");
5743
+ var import_react36 = require("react");
5744
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5575
5745
  function ColumnSelectorMenuOption({
5576
5746
  id,
5577
5747
  testid,
5578
5748
  column,
5579
5749
  toggleColumnVisibility
5580
5750
  }) {
5581
- const [isVisible, setIsVisible] = (0, import_react35.useState)(column.getIsVisible());
5751
+ const [isVisible, setIsVisible] = (0, import_react36.useState)(column.getIsVisible());
5582
5752
  const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
5583
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
5753
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5584
5754
  Checkbox,
5585
5755
  {
5586
5756
  id: id ? `${id}-checkbox` : void 0,
@@ -5596,7 +5766,7 @@ function ColumnSelectorMenuOption({
5596
5766
  }
5597
5767
 
5598
5768
  // src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
5599
- var import_jsx_runtime60 = require("react/jsx-runtime");
5769
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5600
5770
  function ColumnSelectorHeaderCell({
5601
5771
  id,
5602
5772
  testid,
@@ -5604,9 +5774,9 @@ function ColumnSelectorHeaderCell({
5604
5774
  toggleColumnVisibility,
5605
5775
  resetColumnVisibility
5606
5776
  }) {
5607
- const ref = (0, import_react36.useRef)(null);
5608
- const [show, setShow] = (0, import_react36.useState)(false);
5609
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5777
+ const ref = (0, import_react37.useRef)(null);
5778
+ const [show, setShow] = (0, import_react37.useState)(false);
5779
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
5610
5780
  DataGridCell,
5611
5781
  {
5612
5782
  id,
@@ -5616,7 +5786,7 @@ function ColumnSelectorHeaderCell({
5616
5786
  color: "text-secondary-normal",
5617
5787
  ref,
5618
5788
  children: [
5619
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5789
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5620
5790
  Button,
5621
5791
  {
5622
5792
  id: id ? `${id}-button` : void 0,
@@ -5624,10 +5794,10 @@ function ColumnSelectorHeaderCell({
5624
5794
  onClick: () => setShow((prev) => !prev),
5625
5795
  variant: "navigation",
5626
5796
  iconOnly: true,
5627
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "tune" })
5797
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, { name: "tune" })
5628
5798
  }
5629
5799
  ),
5630
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5800
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
5631
5801
  Menu,
5632
5802
  {
5633
5803
  id: id ? `${id}-menu` : void 0,
@@ -5638,7 +5808,7 @@ function ColumnSelectorHeaderCell({
5638
5808
  setShow,
5639
5809
  calculateMinMaxHeight: true,
5640
5810
  children: [
5641
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5811
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5642
5812
  Button,
5643
5813
  {
5644
5814
  id: id ? `${id}-reset-button` : void 0,
@@ -5654,7 +5824,7 @@ function ColumnSelectorHeaderCell({
5654
5824
  table.getAllColumns().filter((x) => {
5655
5825
  var _a;
5656
5826
  return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
5657
- }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5827
+ }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5658
5828
  ColumnSelectorMenuOption,
5659
5829
  {
5660
5830
  id: id ? `${id}-option-${column.id}` : void 0,
@@ -5673,7 +5843,7 @@ function ColumnSelectorHeaderCell({
5673
5843
  }
5674
5844
 
5675
5845
  // src/components/DataGrid/PinnedColumns.tsx
5676
- var import_jsx_runtime61 = require("react/jsx-runtime");
5846
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5677
5847
  function PinnedColumns(_a) {
5678
5848
  var _b = _a, {
5679
5849
  id,
@@ -5705,17 +5875,17 @@ function PinnedColumns(_a) {
5705
5875
  const pinnedTestId = testid ? `${pinDirection}-pinned-${testid}` : void 0;
5706
5876
  const hasAnyHeaders = ((_a2 = headerGroups[0]) == null ? void 0 : _a2.headers.length) > 0;
5707
5877
  if (!hasAnyHeaders && !enableColumnSelector) return;
5708
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5878
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5709
5879
  "table",
5710
5880
  {
5711
- className: (0, import_clsx39.default)(
5881
+ className: (0, import_clsx42.default)(
5712
5882
  "flex flex-col min-h-min sticky z-20",
5713
5883
  pinDirection === "left" ? "left-0" : "right-0"
5714
5884
  ),
5715
5885
  "data-testid": pinnedTestId,
5716
5886
  children: [
5717
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
5718
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5887
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
5888
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5719
5889
  "tr",
5720
5890
  {
5721
5891
  "data-testid": pinnedTestId ? `${pinnedTestId}-header-row-${headerGroup.id}` : void 0,
@@ -5728,7 +5898,7 @@ function PinnedColumns(_a) {
5728
5898
  }
5729
5899
  if (typeof header.column.columnDef.header === "string") {
5730
5900
  const customHeaderWidth = (_a3 = header.column.columnDef.meta) == null ? void 0 : _a3.headerWidth;
5731
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5901
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5732
5902
  DataCellHeader,
5733
5903
  {
5734
5904
  locked: true,
@@ -5736,16 +5906,16 @@ function PinnedColumns(_a) {
5736
5906
  header,
5737
5907
  center: centerHeader,
5738
5908
  width: customHeaderWidth,
5739
- className: (0, import_clsx39.default)(
5909
+ className: (0, import_clsx42.default)(
5740
5910
  header.column.getCanSort() ? "cursor-pointer" : "cursor-grab",
5741
5911
  "group"
5742
5912
  ),
5743
5913
  children: [
5744
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
5914
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
5745
5915
  getSortIcon(header.column.getIsSorted()),
5746
5916
  !header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(header.column.getNextSortingOrder(), true),
5747
- header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
5748
- !((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5917
+ header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
5918
+ !((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5749
5919
  "div",
5750
5920
  {
5751
5921
  onDoubleClick: (e) => {
@@ -5768,7 +5938,7 @@ function PinnedColumns(_a) {
5768
5938
  header.id
5769
5939
  );
5770
5940
  }
5771
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react37.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5941
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react38.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5772
5942
  Checkbox,
5773
5943
  {
5774
5944
  checked: allSelectedAcrossPages,
@@ -5780,7 +5950,7 @@ function PinnedColumns(_a) {
5780
5950
  header.getContext()
5781
5951
  ) }, header.id);
5782
5952
  }),
5783
- enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5953
+ enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5784
5954
  ColumnSelectorHeaderCell,
5785
5955
  {
5786
5956
  id: id ? `${id}-column-selector` : void 0,
@@ -5797,7 +5967,7 @@ function PinnedColumns(_a) {
5797
5967
  headerGroup.id
5798
5968
  );
5799
5969
  }) }),
5800
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5970
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5801
5971
  TableBody,
5802
5972
  __spreadProps(__spreadValues({
5803
5973
  testid: pinnedTestId