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