@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
@@ -62,9 +62,9 @@ __export(TableBodyRow_exports, {
62
62
  TableBodyRow: () => TableBodyRow
63
63
  });
64
64
  module.exports = __toCommonJS(TableBodyRow_exports);
65
- var import_clsx39 = __toESM(require("clsx"), 1);
65
+ var import_clsx42 = __toESM(require("clsx"), 1);
66
66
  var import_react_table3 = require("@tanstack/react-table");
67
- var import_react37 = __toESM(require("react"), 1);
67
+ var import_react38 = __toESM(require("react"), 1);
68
68
 
69
69
  // src/components/DataGridCell.tsx
70
70
  var import_sortable = require("@dnd-kit/sortable");
@@ -3962,7 +3962,39 @@ Checkbox.displayName = "Checkbox";
3962
3962
 
3963
3963
  // src/components/Button.tsx
3964
3964
  var import_clsx17 = __toESM(require("clsx"), 1);
3965
+
3966
+ // src/components/Spinner.tsx
3965
3967
  var import_jsx_runtime20 = require("react/jsx-runtime");
3968
+ var Spinner = ({ size = "small", testid }) => {
3969
+ const dimension = size === "large" ? 48 : 24;
3970
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
3971
+ "svg",
3972
+ {
3973
+ "data-testid": testid,
3974
+ width: dimension,
3975
+ height: dimension,
3976
+ viewBox: "0 0 24 24",
3977
+ xmlns: "http://www.w3.org/2000/svg",
3978
+ fill: "#1D1E1E",
3979
+ className: "spinner",
3980
+ "aria-label": "Loading",
3981
+ children: [
3982
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
3983
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
3984
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
3985
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
3986
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
3987
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
3988
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
3989
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
3990
+ ]
3991
+ }
3992
+ );
3993
+ };
3994
+ Spinner.displayName = "Spinner";
3995
+
3996
+ // src/components/Button.tsx
3997
+ var import_jsx_runtime21 = require("react/jsx-runtime");
3966
3998
  var Button = (_a) => {
3967
3999
  var _b = _a, {
3968
4000
  variant = "primary",
@@ -3978,7 +4010,8 @@ var Button = (_a) => {
3978
4010
  colorClassName,
3979
4011
  href,
3980
4012
  id,
3981
- testid
4013
+ testid,
4014
+ isLoading
3982
4015
  } = _b, props = __objRest(_b, [
3983
4016
  "variant",
3984
4017
  "as",
@@ -3993,7 +4026,8 @@ var Button = (_a) => {
3993
4026
  "colorClassName",
3994
4027
  "href",
3995
4028
  "id",
3996
- "testid"
4029
+ "testid",
4030
+ "isLoading"
3997
4031
  ]);
3998
4032
  const primaryVariantStyles = variant === "primary" && (0, import_clsx17.default)(
3999
4033
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -4077,7 +4111,7 @@ var Button = (_a) => {
4077
4111
  typography.buttonLabel
4078
4112
  );
4079
4113
  const Element = href && !as ? "a" : as;
4080
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4114
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4081
4115
  Element,
4082
4116
  __spreadProps(__spreadValues({
4083
4117
  id,
@@ -4091,7 +4125,8 @@ var Button = (_a) => {
4091
4125
  "data-theme": variant === "navigation" ? "brand" : void 0,
4092
4126
  children: [
4093
4127
  leftIcon && leftIcon,
4094
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
4128
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Spinner, { size: "small" }),
4129
+ !iconOnly && !isLoading && children && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
4095
4130
  rightIcon && rightIcon
4096
4131
  ]
4097
4132
  })
@@ -4103,7 +4138,7 @@ Button.displayName = "Button";
4103
4138
  var import_clsx18 = __toESM(require("clsx"), 1);
4104
4139
  var import_react17 = require("react");
4105
4140
  var import_react_dom2 = require("react-dom");
4106
- var import_jsx_runtime21 = require("react/jsx-runtime");
4141
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4107
4142
  var Tooltip = ({
4108
4143
  id,
4109
4144
  testid,
@@ -4170,7 +4205,7 @@ var Tooltip = ({
4170
4205
  return () => window.removeEventListener("resize", updatePosition);
4171
4206
  }
4172
4207
  }, [isVisible]);
4173
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4208
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4174
4209
  "div",
4175
4210
  {
4176
4211
  id,
@@ -4182,7 +4217,7 @@ var Tooltip = ({
4182
4217
  children: [
4183
4218
  children,
4184
4219
  !keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
4185
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4220
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4186
4221
  "div",
4187
4222
  {
4188
4223
  id: id ? `${id}-message` : void 0,
@@ -4229,7 +4264,7 @@ var import_react_dom3 = require("react-dom");
4229
4264
  var import_clsx19 = __toESM(require("clsx"), 1);
4230
4265
  var import_react18 = __toESM(require("react"), 1);
4231
4266
  var import_polyfill = require("@js-temporal/polyfill");
4232
- var import_jsx_runtime22 = require("react/jsx-runtime");
4267
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4233
4268
  function DateCell(_a) {
4234
4269
  var _b = _a, {
4235
4270
  date,
@@ -4264,7 +4299,7 @@ function DateCell(_a) {
4264
4299
  "id",
4265
4300
  "testid"
4266
4301
  ]);
4267
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4302
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4268
4303
  "span",
4269
4304
  __spreadProps(__spreadValues({}, props), {
4270
4305
  id,
@@ -4420,7 +4455,7 @@ function CalendarRange({
4420
4455
  }
4421
4456
  return false;
4422
4457
  }
4423
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4458
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4424
4459
  "div",
4425
4460
  {
4426
4461
  id,
@@ -4433,7 +4468,7 @@ function CalendarRange({
4433
4468
  // baseTransition,
4434
4469
  "overflow-hidden"
4435
4470
  ),
4436
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4471
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4437
4472
  "div",
4438
4473
  {
4439
4474
  className: (0, import_clsx19.default)(
@@ -4441,7 +4476,7 @@ function CalendarRange({
4441
4476
  layoutGap
4442
4477
  ),
4443
4478
  children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
4444
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4479
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4445
4480
  CalendarPane,
4446
4481
  {
4447
4482
  getMonthData,
@@ -4506,13 +4541,13 @@ function CalendarPane({
4506
4541
  const month = getMonthData(offset);
4507
4542
  const totalCells = 42;
4508
4543
  const emptyCells = month.firstDayOffset;
4509
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_react18.default.Fragment, { children: [
4510
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4544
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_react18.default.Fragment, { children: [
4545
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
4511
4546
  "div",
4512
4547
  {
4513
4548
  className: (0, import_clsx19.default)("flex flex-col"),
4514
4549
  children: [
4515
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4550
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
4516
4551
  "div",
4517
4552
  {
4518
4553
  className: (0, import_clsx19.default)(
@@ -4521,7 +4556,7 @@ function CalendarPane({
4521
4556
  "text-text-action-primary-normal"
4522
4557
  ),
4523
4558
  children: [
4524
- idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4559
+ idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4525
4560
  "button",
4526
4561
  {
4527
4562
  id: id ? `${id}-prev-month-button` : void 0,
@@ -4533,11 +4568,11 @@ function CalendarPane({
4533
4568
  ),
4534
4569
  "aria-label": "Previous month",
4535
4570
  onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
4536
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "chevron_left", size: 24 })
4571
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "chevron_left", size: 24 })
4537
4572
  }
4538
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "mr-1") }),
4539
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4540
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4573
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "mr-1") }),
4574
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4575
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4541
4576
  "button",
4542
4577
  {
4543
4578
  ref: (el) => {
@@ -4552,13 +4587,13 @@ function CalendarPane({
4552
4587
  children: month.name
4553
4588
  }
4554
4589
  ),
4555
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4590
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4556
4591
  Menu,
4557
4592
  {
4558
4593
  show: monthMenuOpen,
4559
4594
  positionTo: monthMenuRef,
4560
4595
  setShow: () => setMonthMenuOpen(false),
4561
- children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4596
+ children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4562
4597
  MenuOption,
4563
4598
  {
4564
4599
  selected: baseMonth.month === x + 1,
@@ -4572,7 +4607,7 @@ function CalendarPane({
4572
4607
  ))
4573
4608
  }
4574
4609
  ),
4575
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4610
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4576
4611
  "button",
4577
4612
  {
4578
4613
  ref: (el) => {
@@ -4587,13 +4622,13 @@ function CalendarPane({
4587
4622
  children: month.year
4588
4623
  }
4589
4624
  ),
4590
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4625
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4591
4626
  Menu,
4592
4627
  {
4593
4628
  show: yearMenuOpen,
4594
4629
  positionTo: yearMenuRef,
4595
4630
  setShow: () => setYearMenuOpen(false),
4596
- children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4631
+ children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4597
4632
  MenuOption,
4598
4633
  {
4599
4634
  selected: baseMonth.year === y,
@@ -4608,7 +4643,7 @@ function CalendarPane({
4608
4643
  }
4609
4644
  )
4610
4645
  ] }),
4611
- (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4646
+ (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4612
4647
  "button",
4613
4648
  {
4614
4649
  id: id ? `${id}-next-month-button` : void 0,
@@ -4620,13 +4655,13 @@ function CalendarPane({
4620
4655
  ),
4621
4656
  "aria-label": "Next month",
4622
4657
  onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
4623
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "chevron_right", size: 24 })
4658
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "chevron_right", size: 24 })
4624
4659
  }
4625
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "ml-1") })
4660
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: (0, import_clsx19.default)(componentPadding, "ml-1") })
4626
4661
  ]
4627
4662
  }
4628
4663
  ),
4629
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4664
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4630
4665
  "span",
4631
4666
  {
4632
4667
  className: (0, import_clsx19.default)(
@@ -4638,7 +4673,7 @@ function CalendarPane({
4638
4673
  },
4639
4674
  d
4640
4675
  )) }),
4641
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4676
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_clsx19.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4642
4677
  const day = i - emptyCells + 1;
4643
4678
  const date = month.date.with({ day: 1 }).add({
4644
4679
  days: i - emptyCells
@@ -4652,7 +4687,7 @@ function CalendarPane({
4652
4687
  const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
4653
4688
  const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
4654
4689
  const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
4655
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4690
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4656
4691
  DateCell,
4657
4692
  {
4658
4693
  id: id ? `${id}-date-${date.toString()}` : void 0,
@@ -4677,7 +4712,7 @@ function CalendarPane({
4677
4712
  ]
4678
4713
  }
4679
4714
  ),
4680
- mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4715
+ mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4681
4716
  "div",
4682
4717
  {
4683
4718
  className: (0, import_clsx19.default)(
@@ -4691,7 +4726,7 @@ function CalendarPane({
4691
4726
  }
4692
4727
 
4693
4728
  // src/components/DateInput.tsx
4694
- var import_jsx_runtime23 = require("react/jsx-runtime");
4729
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4695
4730
  var DateInput = (_a) => {
4696
4731
  var _b = _a, {
4697
4732
  id,
@@ -4852,8 +4887,8 @@ var DateInput = (_a) => {
4852
4887
  }
4853
4888
  }
4854
4889
  };
4855
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "relative", children: [
4856
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4890
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "relative", children: [
4891
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4857
4892
  InputBase,
4858
4893
  __spreadProps(__spreadValues({
4859
4894
  id,
@@ -4867,7 +4902,7 @@ var DateInput = (_a) => {
4867
4902
  placeholder,
4868
4903
  disabled,
4869
4904
  readOnly,
4870
- after: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "calendar_month" }),
4905
+ after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4871
4906
  onFocus: handleFocus,
4872
4907
  onClick: handleClick,
4873
4908
  onChange: handleInputChange,
@@ -4878,7 +4913,7 @@ var DateInput = (_a) => {
4878
4913
  })
4879
4914
  ),
4880
4915
  visible && !readOnly && (0, import_react_dom3.createPortal)(
4881
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4916
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4882
4917
  "div",
4883
4918
  {
4884
4919
  ref: (el) => {
@@ -4890,7 +4925,7 @@ var DateInput = (_a) => {
4890
4925
  left: `${calendarPosition.left}px`,
4891
4926
  minWidth: `${calendarPosition.width}px`
4892
4927
  },
4893
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4928
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4894
4929
  CalendarRange,
4895
4930
  {
4896
4931
  id: id ? `${id}-calendar` : void 0,
@@ -4926,18 +4961,18 @@ var import_clsx22 = __toESM(require("clsx"), 1);
4926
4961
 
4927
4962
  // src/components/Card.tsx
4928
4963
  var import_clsx20 = __toESM(require("clsx"), 1);
4929
- var import_jsx_runtime24 = require("react/jsx-runtime");
4964
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4930
4965
 
4931
4966
  // src/components/Stack.tsx
4932
4967
  var import_clsx21 = __toESM(require("clsx"), 1);
4933
- var import_jsx_runtime25 = require("react/jsx-runtime");
4968
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4934
4969
 
4935
4970
  // src/components/Accordion.tsx
4936
- var import_jsx_runtime26 = require("react/jsx-runtime");
4971
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4937
4972
 
4938
4973
  // src/components/Heading.tsx
4939
4974
  var import_clsx23 = __toESM(require("clsx"), 1);
4940
- var import_jsx_runtime27 = require("react/jsx-runtime");
4975
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4941
4976
  var Heading = (_a) => {
4942
4977
  var _b = _a, {
4943
4978
  className,
@@ -4960,7 +4995,7 @@ var Heading = (_a) => {
4960
4995
  ]);
4961
4996
  const defaultElement = variant === "heading1" ? "h1" : variant === "heading2" ? "h2" : "h3";
4962
4997
  const Element = as != null ? as : defaultElement;
4963
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4998
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4964
4999
  Element,
4965
5000
  __spreadProps(__spreadValues({
4966
5001
  id,
@@ -4981,15 +5016,15 @@ var Heading = (_a) => {
4981
5016
  );
4982
5017
  };
4983
5018
  Heading.displayName = "Heading";
4984
- var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
4985
- var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
4986
- var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
5019
+ var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
5020
+ var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
5021
+ var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
4987
5022
  Heading1.displayName = "Heading1";
4988
5023
  Heading2.displayName = "Heading2";
4989
5024
  Heading3.displayName = "Heading3";
4990
5025
 
4991
5026
  // src/components/Theme.tsx
4992
- var import_jsx_runtime28 = require("react/jsx-runtime");
5027
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4993
5028
 
4994
5029
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
4995
5030
  var import_react22 = require("react");
@@ -5002,14 +5037,14 @@ var import_react20 = require("react");
5002
5037
  var GridContext = (0, import_react20.createContext)(null);
5003
5038
 
5004
5039
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
5005
- var import_jsx_runtime29 = require("react/jsx-runtime");
5040
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5006
5041
 
5007
5042
  // src/components/MobileDataGrid/MobileDataGridHeader.tsx
5008
- var import_jsx_runtime30 = require("react/jsx-runtime");
5043
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5009
5044
 
5010
5045
  // src/components/MobileDataGrid/GridContextProvider/index.tsx
5011
5046
  var import_react23 = require("react");
5012
- var import_jsx_runtime31 = require("react/jsx-runtime");
5047
+ var import_jsx_runtime32 = require("react/jsx-runtime");
5013
5048
 
5014
5049
  // src/components/Modal.tsx
5015
5050
  var import_clsx28 = __toESM(require("clsx"), 1);
@@ -5017,7 +5052,7 @@ var import_react25 = require("react");
5017
5052
 
5018
5053
  // src/components/ModalHeader.tsx
5019
5054
  var import_clsx24 = __toESM(require("clsx"), 1);
5020
- var import_jsx_runtime32 = require("react/jsx-runtime");
5055
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5021
5056
  var ModalHeader = ({
5022
5057
  title,
5023
5058
  hideCloseIcon,
@@ -5030,7 +5065,7 @@ var ModalHeader = ({
5030
5065
  titleAs: TitleComponent
5031
5066
  }) => {
5032
5067
  const Title = TitleComponent || Heading2;
5033
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5068
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
5034
5069
  "div",
5035
5070
  {
5036
5071
  id,
@@ -5045,9 +5080,9 @@ var ModalHeader = ({
5045
5080
  headerClassname
5046
5081
  ),
5047
5082
  children: [
5048
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
5083
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
5049
5084
  headerIcon,
5050
- title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5085
+ title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5051
5086
  Title,
5052
5087
  {
5053
5088
  id: id ? `${id}-title` : void 0,
@@ -5057,7 +5092,7 @@ var ModalHeader = ({
5057
5092
  }
5058
5093
  )
5059
5094
  ] }),
5060
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5095
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5061
5096
  Button,
5062
5097
  {
5063
5098
  id: id ? `${id}-close-button` : void 0,
@@ -5065,7 +5100,7 @@ var ModalHeader = ({
5065
5100
  iconOnly: true,
5066
5101
  variant: "tertiary",
5067
5102
  onClick: onClose,
5068
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon, { name: "close", size: 24 }) })
5103
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "text-brand-text-action-primary-normal desktop:text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(Icon, { name: "close", size: 24 }) })
5069
5104
  }
5070
5105
  )
5071
5106
  ]
@@ -5076,14 +5111,14 @@ ModalHeader.displayName = "ModalHeader";
5076
5111
 
5077
5112
  // src/components/ModalContent.tsx
5078
5113
  var import_clsx25 = __toESM(require("clsx"), 1);
5079
- var import_jsx_runtime33 = require("react/jsx-runtime");
5114
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5080
5115
  function ModalContent({
5081
5116
  fixedHeightScrolling,
5082
5117
  children,
5083
5118
  id,
5084
5119
  testid
5085
5120
  }) {
5086
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5121
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5087
5122
  "div",
5088
5123
  {
5089
5124
  id,
@@ -5101,7 +5136,7 @@ ModalContent.displayName = "ModalContent";
5101
5136
 
5102
5137
  // src/components/ModalButtons.tsx
5103
5138
  var import_clsx26 = __toESM(require("clsx"), 1);
5104
- var import_jsx_runtime34 = require("react/jsx-runtime");
5139
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5105
5140
  var ModalButtons = ({
5106
5141
  onClose,
5107
5142
  onContinue,
@@ -5109,7 +5144,7 @@ var ModalButtons = ({
5109
5144
  id,
5110
5145
  testid
5111
5146
  }) => {
5112
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5147
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5113
5148
  "div",
5114
5149
  {
5115
5150
  id,
@@ -5119,26 +5154,26 @@ var ModalButtons = ({
5119
5154
  layoutPaddding,
5120
5155
  layoutGroupGap
5121
5156
  ),
5122
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
5123
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5157
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
5158
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5124
5159
  Button,
5125
5160
  {
5126
5161
  id: id ? `${id}-close-button` : void 0,
5127
5162
  testid: testid ? `${testid}-close-button` : void 0,
5128
5163
  variant: "secondary",
5129
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "close", size: 24 }),
5164
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "close", size: 24 }),
5130
5165
  onClick: onClose,
5131
5166
  className: "max-sm:w-full",
5132
5167
  children: "Close"
5133
5168
  }
5134
5169
  ),
5135
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5170
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5136
5171
  Button,
5137
5172
  {
5138
5173
  id: id ? `${id}-continue-button` : void 0,
5139
5174
  testid: testid ? `${testid}-continue-button` : void 0,
5140
5175
  variant: "primary",
5141
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "check", size: 24 }),
5176
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "check", size: 24 }),
5142
5177
  className: "max-sm:w-full",
5143
5178
  onClick: onContinue,
5144
5179
  children: "Continue"
@@ -5152,7 +5187,7 @@ ModalButtons.displayName = "ModalButtons";
5152
5187
 
5153
5188
  // src/components/ModalScrim.tsx
5154
5189
  var import_clsx27 = __toESM(require("clsx"), 1);
5155
- var import_jsx_runtime35 = require("react/jsx-runtime");
5190
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5156
5191
  var ModalScrim = ({
5157
5192
  show = false,
5158
5193
  size = "small",
@@ -5162,7 +5197,7 @@ var ModalScrim = ({
5162
5197
  id,
5163
5198
  testid
5164
5199
  }) => {
5165
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5200
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5166
5201
  "div",
5167
5202
  {
5168
5203
  id,
@@ -5198,7 +5233,7 @@ var useMounted = () => {
5198
5233
  };
5199
5234
 
5200
5235
  // src/components/Modal.tsx
5201
- var import_jsx_runtime36 = require("react/jsx-runtime");
5236
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5202
5237
  var fadeInScale = (element, duration = 300) => element.animate(
5203
5238
  [
5204
5239
  { opacity: 0, transform: "scale(0.95)" },
@@ -5371,7 +5406,7 @@ var Modal = ({
5371
5406
  return null;
5372
5407
  }
5373
5408
  return (0, import_react_dom4.createPortal)(
5374
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5409
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5375
5410
  ModalScrim,
5376
5411
  {
5377
5412
  id: id ? `${id}-scrim` : void 0,
@@ -5380,7 +5415,7 @@ var Modal = ({
5380
5415
  ref: bgRef,
5381
5416
  show: open,
5382
5417
  onClick: backgroundClickHandler,
5383
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5418
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
5384
5419
  "div",
5385
5420
  {
5386
5421
  id,
@@ -5395,7 +5430,7 @@ var Modal = ({
5395
5430
  ),
5396
5431
  onClick: (e) => e.stopPropagation(),
5397
5432
  children: [
5398
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5433
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5399
5434
  ModalHeader,
5400
5435
  {
5401
5436
  id: id ? `${id}-header` : void 0,
@@ -5409,7 +5444,7 @@ var Modal = ({
5409
5444
  titleAs: TitleComponent
5410
5445
  }
5411
5446
  ),
5412
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5447
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5413
5448
  ModalContent,
5414
5449
  {
5415
5450
  id: id ? `${id}-content` : void 0,
@@ -5418,7 +5453,7 @@ var Modal = ({
5418
5453
  children
5419
5454
  }
5420
5455
  ) : children,
5421
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5456
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5422
5457
  ModalButtons,
5423
5458
  {
5424
5459
  id: id ? `${id}-buttons` : void 0,
@@ -5439,51 +5474,51 @@ var Modal = ({
5439
5474
  Modal.displayName = "Modal";
5440
5475
 
5441
5476
  // src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
5442
- var import_jsx_runtime37 = require("react/jsx-runtime");
5477
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5443
5478
 
5444
5479
  // src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
5445
- var import_jsx_runtime38 = require("react/jsx-runtime");
5480
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5446
5481
 
5447
5482
  // src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
5448
- var import_jsx_runtime39 = require("react/jsx-runtime");
5483
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5449
5484
 
5450
5485
  // src/components/MobileDataGrid/ColumnList.tsx
5451
5486
  var import_clsx30 = __toESM(require("clsx"), 1);
5452
5487
 
5453
5488
  // src/components/MobileDataGrid/MobileDataGridCard/index.tsx
5454
5489
  var import_clsx29 = __toESM(require("clsx"), 1);
5455
- var import_jsx_runtime40 = require("react/jsx-runtime");
5490
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5456
5491
 
5457
5492
  // src/components/MobileDataGrid/ColumnList.tsx
5458
- var import_jsx_runtime41 = require("react/jsx-runtime");
5493
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5459
5494
 
5460
5495
  // src/components/MobileDataGrid/index.tsx
5461
- var import_jsx_runtime42 = require("react/jsx-runtime");
5496
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5462
5497
 
5463
5498
  // src/components/ProductImagePreview/Thumbnail.tsx
5464
5499
  var import_react27 = require("react");
5465
5500
 
5466
5501
  // src/components/ImagePlaceholder.tsx
5467
5502
  var import_react26 = require("react");
5468
- var import_jsx_runtime43 = require("react/jsx-runtime");
5503
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5469
5504
 
5470
5505
  // src/components/ProductImagePreview/Thumbnail.tsx
5471
- var import_jsx_runtime44 = require("react/jsx-runtime");
5506
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5472
5507
 
5473
5508
  // src/components/Grid.tsx
5474
5509
  var import_clsx31 = __toESM(require("clsx"), 1);
5475
- var import_jsx_runtime45 = require("react/jsx-runtime");
5510
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5476
5511
 
5477
5512
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
5478
5513
  var import_react28 = require("react");
5479
- var import_jsx_runtime46 = require("react/jsx-runtime");
5514
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5480
5515
 
5481
5516
  // src/components/ProductImagePreview/ZoomWindow.tsx
5482
5517
  var import_react29 = require("react");
5483
5518
 
5484
5519
  // src/components/Surface.tsx
5485
5520
  var import_clsx32 = __toESM(require("clsx"), 1);
5486
- var import_jsx_runtime47 = require("react/jsx-runtime");
5521
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5487
5522
  var Surface = (_a) => {
5488
5523
  var _b = _a, {
5489
5524
  children,
@@ -5496,7 +5531,7 @@ var Surface = (_a) => {
5496
5531
  "elevation",
5497
5532
  "id"
5498
5533
  ]);
5499
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5534
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5500
5535
  "div",
5501
5536
  __spreadProps(__spreadValues({
5502
5537
  id,
@@ -5517,40 +5552,40 @@ var Surface = (_a) => {
5517
5552
  Surface.displayName = "Surface";
5518
5553
 
5519
5554
  // src/components/ProductImagePreview/ZoomWindow.tsx
5520
- var import_jsx_runtime48 = require("react/jsx-runtime");
5555
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5521
5556
 
5522
5557
  // src/components/ProductImagePreview/CarouselPagination.tsx
5523
5558
  var import_clsx33 = require("clsx");
5524
- var import_jsx_runtime49 = require("react/jsx-runtime");
5559
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5525
5560
 
5526
5561
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
5527
5562
  var import_react30 = require("react");
5528
- var import_jsx_runtime50 = require("react/jsx-runtime");
5563
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5529
5564
 
5530
5565
  // src/components/ProductImagePreview/useProductImagePreview.ts
5531
5566
  var import_react31 = require("react");
5532
5567
 
5533
5568
  // src/components/ProductImagePreview/index.tsx
5534
- var import_jsx_runtime51 = require("react/jsx-runtime");
5569
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5535
5570
 
5536
5571
  // src/components/CompactImagesPreview.tsx
5537
5572
  var import_react32 = require("react");
5538
5573
  var import_clsx34 = __toESM(require("clsx"), 1);
5539
- var import_jsx_runtime52 = require("react/jsx-runtime");
5574
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5540
5575
 
5541
5576
  // src/components/SimpleTable.tsx
5542
5577
  var import_clsx35 = __toESM(require("clsx"), 1);
5543
- var import_jsx_runtime53 = require("react/jsx-runtime");
5578
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5544
5579
 
5545
5580
  // src/components/ListGroup.tsx
5546
5581
  var import_react33 = require("react");
5547
5582
  var import_clsx36 = __toESM(require("clsx"), 1);
5548
- var import_jsx_runtime54 = require("react/jsx-runtime");
5583
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5549
5584
 
5550
5585
  // src/components/Pagination.tsx
5551
5586
  var import_react34 = require("react");
5552
5587
  var import_clsx37 = __toESM(require("clsx"), 1);
5553
- var import_jsx_runtime55 = require("react/jsx-runtime");
5588
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5554
5589
  var Pagination = ({
5555
5590
  totalPages,
5556
5591
  currentPage,
@@ -5625,7 +5660,7 @@ var Pagination = ({
5625
5660
  "focus:bg-background-grouped-secondary-normal focus:outline-0",
5626
5661
  "disabled:bg-transparent disabled:text-text-action-primary-disabled"
5627
5662
  );
5628
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5663
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5629
5664
  "nav",
5630
5665
  {
5631
5666
  id,
@@ -5640,19 +5675,19 @@ var Pagination = ({
5640
5675
  className
5641
5676
  ),
5642
5677
  children: [
5643
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5678
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5644
5679
  "button",
5645
5680
  {
5646
5681
  disabled: disabled || currentPage <= 1,
5647
5682
  "aria-label": "Previous page",
5648
5683
  onClick: () => goTo(currentPage - 1),
5649
5684
  className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
5650
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_left" })
5685
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_left" })
5651
5686
  }
5652
5687
  ),
5653
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5688
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5654
5689
  if (token === "ellipsis") {
5655
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5690
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5656
5691
  "li",
5657
5692
  {
5658
5693
  className: "w-8 h-8 select-none text-text-action-primary-disabled",
@@ -5662,7 +5697,7 @@ var Pagination = ({
5662
5697
  );
5663
5698
  }
5664
5699
  const selected = token === currentPage;
5665
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5700
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5666
5701
  "button",
5667
5702
  {
5668
5703
  "aria-label": `Page ${token}`,
@@ -5673,18 +5708,18 @@ var Pagination = ({
5673
5708
  buttonClass,
5674
5709
  selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
5675
5710
  ),
5676
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5711
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5677
5712
  }
5678
5713
  ) }, token);
5679
5714
  }) }),
5680
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5715
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5681
5716
  "button",
5682
5717
  {
5683
5718
  disabled: disabled || currentPage >= totalPages,
5684
5719
  "aria-label": "Next page",
5685
5720
  onClick: () => goTo(currentPage + 1),
5686
5721
  className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
5687
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_right" })
5722
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_right" })
5688
5723
  }
5689
5724
  )
5690
5725
  ]
@@ -5694,25 +5729,160 @@ var Pagination = ({
5694
5729
  Pagination.displayName = "Pagination";
5695
5730
 
5696
5731
  // src/components/SkeletonParagraph.tsx
5697
- var import_jsx_runtime56 = require("react/jsx-runtime");
5732
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5698
5733
 
5699
5734
  // src/components/EmptyCartIcon.tsx
5700
- var import_jsx_runtime57 = require("react/jsx-runtime");
5735
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5701
5736
 
5702
5737
  // src/components/SearchResultImage/index.tsx
5703
5738
  var import_react35 = require("react");
5704
- var import_jsx_runtime58 = require("react/jsx-runtime");
5739
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5705
5740
 
5706
5741
  // src/components/Alert.tsx
5707
5742
  var import_clsx38 = __toESM(require("clsx"), 1);
5708
5743
  var import_react36 = require("react");
5709
- var import_jsx_runtime59 = require("react/jsx-runtime");
5744
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5710
5745
 
5711
5746
  // src/components/OrderCheckIcon.tsx
5712
- var import_jsx_runtime60 = require("react/jsx-runtime");
5747
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5748
+
5749
+ // src/components/AccessCard.tsx
5750
+ var import_clsx40 = __toESM(require("clsx"), 1);
5751
+
5752
+ // src/components/Radio.tsx
5753
+ var import_clsx39 = __toESM(require("clsx"), 1);
5754
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5755
+ var Radio = (_a) => {
5756
+ var _b = _a, {
5757
+ className,
5758
+ label,
5759
+ error,
5760
+ disabled,
5761
+ checked,
5762
+ readOnly,
5763
+ id,
5764
+ testid
5765
+ } = _b, props = __objRest(_b, [
5766
+ "className",
5767
+ "label",
5768
+ "error",
5769
+ "disabled",
5770
+ "checked",
5771
+ "readOnly",
5772
+ "id",
5773
+ "testid"
5774
+ ]);
5775
+ const radioId = id;
5776
+ const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
5777
+ const defaultClassName = (0, import_clsx39.default)(
5778
+ !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"
5779
+ );
5780
+ const errorClassName = (0, import_clsx39.default)(
5781
+ 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 "
5782
+ );
5783
+ const disabledClassName = (0, import_clsx39.default)(
5784
+ disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
5785
+ );
5786
+ const readonlyClassName = (0, import_clsx39.default)(
5787
+ readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
5788
+ );
5789
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5790
+ "label",
5791
+ {
5792
+ htmlFor: radioId,
5793
+ "data-testid": testid,
5794
+ className: (0, import_clsx39.default)(
5795
+ "flex items-center",
5796
+ componentGap,
5797
+ disabled ? "cursor-default" : "cursor-pointer",
5798
+ className
5799
+ ),
5800
+ children: [
5801
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "relative", children: [
5802
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5803
+ "input",
5804
+ __spreadValues({
5805
+ id: radioId,
5806
+ "data-testid": testid ? `${testid}-input` : void 0,
5807
+ type: "radio",
5808
+ className: "sr-only peer",
5809
+ disabled,
5810
+ checked,
5811
+ readOnly
5812
+ }, props)
5813
+ ),
5814
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5815
+ "div",
5816
+ {
5817
+ className: (0, import_clsx39.default)(
5818
+ "size-6 rounded-full border flex items-center justify-center",
5819
+ baseTransition,
5820
+ defaultClassName,
5821
+ errorClassName,
5822
+ disabledClassName,
5823
+ readonlyClassName
5824
+ ),
5825
+ children: checked && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5826
+ RadioIcon,
5827
+ {
5828
+ className: (0, import_clsx39.default)(
5829
+ "transition-colors",
5830
+ !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",
5831
+ 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",
5832
+ disabled && "text-icon-on-action-secondary-disabled",
5833
+ readOnly && "text-icon-on-action-secondary-disabled"
5834
+ )
5835
+ }
5836
+ )
5837
+ }
5838
+ )
5839
+ ] }),
5840
+ label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Paragraph, { id: radioId ? `${radioId}-label` : void 0, testid: testid ? `${testid}-label` : void 0, padded: true, color: paragraphColor, children: label })
5841
+ ]
5842
+ }
5843
+ );
5844
+ };
5845
+ Radio.displayName = "Radio";
5846
+ var RadioIcon = ({ className }) => {
5847
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5848
+ "svg",
5849
+ {
5850
+ className,
5851
+ xmlns: "http://www.w3.org/2000/svg",
5852
+ width: "24",
5853
+ height: "24",
5854
+ viewBox: "0 0 24 24",
5855
+ fill: "none",
5856
+ children: [
5857
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5858
+ "rect",
5859
+ {
5860
+ x: "1",
5861
+ y: "1",
5862
+ width: "22",
5863
+ height: "22",
5864
+ rx: "11",
5865
+ stroke: "currentColor",
5866
+ strokeWidth: "2"
5867
+ }
5868
+ ),
5869
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
5870
+ ]
5871
+ }
5872
+ );
5873
+ };
5874
+ RadioIcon.displayName = "RadioIcon";
5875
+
5876
+ // src/components/AccessCard.tsx
5877
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5878
+
5879
+ // src/components/AccessCardGroup.tsx
5880
+ var import_clsx41 = __toESM(require("clsx"), 1);
5881
+ var import_react37 = require("react");
5882
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5713
5883
 
5714
5884
  // src/components/DataGrid/TableBody/TableBodyRow.tsx
5715
- var import_jsx_runtime61 = require("react/jsx-runtime");
5885
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5716
5886
  var valueFormatters = {
5717
5887
  date: (value) => typeof value === "string" ? formatDate(value) : "",
5718
5888
  currency: (value) => formatCurrencyDisplay(value)
@@ -5746,10 +5916,10 @@ function TableBodyRow({
5746
5916
  const columns = locked ? visibleCells : virtualColumns;
5747
5917
  const isError = typeof row.original === "object" && row.original !== null && "rowState" in row.original && row.original.rowState === "error";
5748
5918
  const CellElement = locked ? DataGridCell : DragAlongCell;
5749
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5919
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5750
5920
  "tr",
5751
5921
  {
5752
- className: (0, import_clsx39.default)(
5922
+ className: (0, import_clsx42.default)(
5753
5923
  "min-h-10",
5754
5924
  "transition-colors",
5755
5925
  !disabled && "hover:bg-background-action-secondary-hover",
@@ -5768,7 +5938,7 @@ function TableBodyRow({
5768
5938
  children: [
5769
5939
  !locked && virtualPaddingLeft ? (
5770
5940
  // fake empty column to the left for virtualization scroll padding
5771
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
5941
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { style: { display: "flex", width: virtualPaddingLeft } })
5772
5942
  ) : null,
5773
5943
  columns.map((column) => {
5774
5944
  var _a2, _b, _c, _d;
@@ -5779,17 +5949,17 @@ function TableBodyRow({
5779
5949
  const cellFormat = (_a2 = cell.column.columnDef.meta) == null ? void 0 : _a2.format;
5780
5950
  const cellValue = cellFormat && isValueFormatterKey(cellFormat) ? valueFormatters[cellFormat](cell.getValue()) : cell.getValue();
5781
5951
  const cellAlignment = (_c = (_b = cell.column.columnDef.meta) == null ? void 0 : _b.align) != null ? _c : typeof cellValue === "number" ? "right" : "left";
5782
- return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_react37.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5952
+ return ((_d = cell.column.columnDef.meta) == null ? void 0 : _d.useCustomRenderer) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react38.default.Fragment, { children: (0, import_react_table3.flexRender)(cell.column.columnDef.cell, cell.getContext()) }, cell.id) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5783
5953
  CellElement,
5784
5954
  {
5785
5955
  id: id ? `${id}-row-${row.id}-cell-${cell.id}` : void 0,
5786
5956
  testid: testid ? `${testid}-row-${row.id}-cell-${cell.id}` : void 0,
5787
5957
  cell,
5788
- className: (0, import_clsx39.default)({
5958
+ className: (0, import_clsx42.default)({
5789
5959
  "justify-start": cellAlignment === "left",
5790
5960
  "justify-end": cellAlignment === "right"
5791
5961
  }),
5792
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5962
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5793
5963
  Tooltip,
5794
5964
  {
5795
5965
  id: id ? `${id}-tooltip-${cell.id}` : void 0,
@@ -5797,7 +5967,7 @@ function TableBodyRow({
5797
5967
  showOnTruncation: true,
5798
5968
  message: cellValue,
5799
5969
  position: "bottom",
5800
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
5970
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Paragraph, { addOverflow: true, tall: true, children: cellValue })
5801
5971
  }
5802
5972
  )
5803
5973
  },
@@ -5806,7 +5976,7 @@ function TableBodyRow({
5806
5976
  }),
5807
5977
  !locked && virtualPaddingRight ? (
5808
5978
  // fake empty column to the right for virtualization scroll padding
5809
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
5979
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("td", { style: { display: "flex", width: virtualPaddingRight } })
5810
5980
  ) : null
5811
5981
  ]
5812
5982
  },