@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
@@ -4030,7 +4030,39 @@ Checkbox.displayName = "Checkbox";
4030
4030
 
4031
4031
  // src/components/Button.tsx
4032
4032
  var import_clsx18 = __toESM(require("clsx"), 1);
4033
+
4034
+ // src/components/Spinner.tsx
4033
4035
  var import_jsx_runtime20 = require("react/jsx-runtime");
4036
+ var Spinner = ({ size = "small", testid }) => {
4037
+ const dimension = size === "large" ? 48 : 24;
4038
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4039
+ "svg",
4040
+ {
4041
+ "data-testid": testid,
4042
+ width: dimension,
4043
+ height: dimension,
4044
+ viewBox: "0 0 24 24",
4045
+ xmlns: "http://www.w3.org/2000/svg",
4046
+ fill: "#1D1E1E",
4047
+ className: "spinner",
4048
+ "aria-label": "Loading",
4049
+ children: [
4050
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
4051
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
4052
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
4053
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
4054
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
4055
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
4056
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
4057
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
4058
+ ]
4059
+ }
4060
+ );
4061
+ };
4062
+ Spinner.displayName = "Spinner";
4063
+
4064
+ // src/components/Button.tsx
4065
+ var import_jsx_runtime21 = require("react/jsx-runtime");
4034
4066
  var Button = (_a) => {
4035
4067
  var _b = _a, {
4036
4068
  variant = "primary",
@@ -4046,7 +4078,8 @@ var Button = (_a) => {
4046
4078
  colorClassName,
4047
4079
  href,
4048
4080
  id,
4049
- testid
4081
+ testid,
4082
+ isLoading
4050
4083
  } = _b, props = __objRest(_b, [
4051
4084
  "variant",
4052
4085
  "as",
@@ -4061,7 +4094,8 @@ var Button = (_a) => {
4061
4094
  "colorClassName",
4062
4095
  "href",
4063
4096
  "id",
4064
- "testid"
4097
+ "testid",
4098
+ "isLoading"
4065
4099
  ]);
4066
4100
  const primaryVariantStyles = variant === "primary" && (0, import_clsx18.default)(
4067
4101
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -4145,7 +4179,7 @@ var Button = (_a) => {
4145
4179
  typography.buttonLabel
4146
4180
  );
4147
4181
  const Element = href && !as ? "a" : as;
4148
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
4182
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4149
4183
  Element,
4150
4184
  __spreadProps(__spreadValues({
4151
4185
  id,
@@ -4159,7 +4193,8 @@ var Button = (_a) => {
4159
4193
  "data-theme": variant === "navigation" ? "brand" : void 0,
4160
4194
  children: [
4161
4195
  leftIcon && leftIcon,
4162
- !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 }),
4196
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Spinner, { size: "small" }),
4197
+ !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 }),
4163
4198
  rightIcon && rightIcon
4164
4199
  ]
4165
4200
  })
@@ -4171,7 +4206,7 @@ Button.displayName = "Button";
4171
4206
  var import_clsx19 = __toESM(require("clsx"), 1);
4172
4207
  var import_react18 = require("react");
4173
4208
  var import_react_dom2 = require("react-dom");
4174
- var import_jsx_runtime21 = require("react/jsx-runtime");
4209
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4175
4210
  var Tooltip = ({
4176
4211
  id,
4177
4212
  testid,
@@ -4238,7 +4273,7 @@ var Tooltip = ({
4238
4273
  return () => window.removeEventListener("resize", updatePosition);
4239
4274
  }
4240
4275
  }, [isVisible]);
4241
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4276
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4242
4277
  "div",
4243
4278
  {
4244
4279
  id,
@@ -4250,7 +4285,7 @@ var Tooltip = ({
4250
4285
  children: [
4251
4286
  children,
4252
4287
  !keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
4253
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
4288
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4254
4289
  "div",
4255
4290
  {
4256
4291
  id: id ? `${id}-message` : void 0,
@@ -4297,7 +4332,7 @@ var import_react_dom3 = require("react-dom");
4297
4332
  var import_clsx20 = __toESM(require("clsx"), 1);
4298
4333
  var import_react19 = __toESM(require("react"), 1);
4299
4334
  var import_polyfill = require("@js-temporal/polyfill");
4300
- var import_jsx_runtime22 = require("react/jsx-runtime");
4335
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4301
4336
  function DateCell(_a) {
4302
4337
  var _b = _a, {
4303
4338
  date,
@@ -4332,7 +4367,7 @@ function DateCell(_a) {
4332
4367
  "id",
4333
4368
  "testid"
4334
4369
  ]);
4335
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4370
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4336
4371
  "span",
4337
4372
  __spreadProps(__spreadValues({}, props), {
4338
4373
  id,
@@ -4488,7 +4523,7 @@ function CalendarRange({
4488
4523
  }
4489
4524
  return false;
4490
4525
  }
4491
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4526
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4492
4527
  "div",
4493
4528
  {
4494
4529
  id,
@@ -4501,7 +4536,7 @@ function CalendarRange({
4501
4536
  // baseTransition,
4502
4537
  "overflow-hidden"
4503
4538
  ),
4504
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4539
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4505
4540
  "div",
4506
4541
  {
4507
4542
  className: (0, import_clsx20.default)(
@@ -4509,7 +4544,7 @@ function CalendarRange({
4509
4544
  layoutGap
4510
4545
  ),
4511
4546
  children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
4512
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4547
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4513
4548
  CalendarPane,
4514
4549
  {
4515
4550
  getMonthData,
@@ -4574,13 +4609,13 @@ function CalendarPane({
4574
4609
  const month = getMonthData(offset);
4575
4610
  const totalCells = 42;
4576
4611
  const emptyCells = month.firstDayOffset;
4577
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_react19.default.Fragment, { children: [
4578
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4612
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_react19.default.Fragment, { children: [
4613
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
4579
4614
  "div",
4580
4615
  {
4581
4616
  className: (0, import_clsx20.default)("flex flex-col"),
4582
4617
  children: [
4583
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4618
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
4584
4619
  "div",
4585
4620
  {
4586
4621
  className: (0, import_clsx20.default)(
@@ -4589,7 +4624,7 @@ function CalendarPane({
4589
4624
  "text-text-action-primary-normal"
4590
4625
  ),
4591
4626
  children: [
4592
- idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4627
+ idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4593
4628
  "button",
4594
4629
  {
4595
4630
  id: id ? `${id}-prev-month-button` : void 0,
@@ -4601,11 +4636,11 @@ function CalendarPane({
4601
4636
  ),
4602
4637
  "aria-label": "Previous month",
4603
4638
  onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
4604
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "chevron_left", size: 24 })
4639
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "chevron_left", size: 24 })
4605
4640
  }
4606
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: (0, import_clsx20.default)(componentPadding, "mr-1") }),
4607
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4608
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4641
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: (0, import_clsx20.default)(componentPadding, "mr-1") }),
4642
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
4643
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4609
4644
  "button",
4610
4645
  {
4611
4646
  ref: (el) => {
@@ -4620,13 +4655,13 @@ function CalendarPane({
4620
4655
  children: month.name
4621
4656
  }
4622
4657
  ),
4623
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4658
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4624
4659
  Menu,
4625
4660
  {
4626
4661
  show: monthMenuOpen,
4627
4662
  positionTo: monthMenuRef,
4628
4663
  setShow: () => setMonthMenuOpen(false),
4629
- children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4664
+ children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4630
4665
  MenuOption,
4631
4666
  {
4632
4667
  selected: baseMonth.month === x + 1,
@@ -4640,7 +4675,7 @@ function CalendarPane({
4640
4675
  ))
4641
4676
  }
4642
4677
  ),
4643
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4678
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4644
4679
  "button",
4645
4680
  {
4646
4681
  ref: (el) => {
@@ -4655,13 +4690,13 @@ function CalendarPane({
4655
4690
  children: month.year
4656
4691
  }
4657
4692
  ),
4658
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4693
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4659
4694
  Menu,
4660
4695
  {
4661
4696
  show: yearMenuOpen,
4662
4697
  positionTo: yearMenuRef,
4663
4698
  setShow: () => setYearMenuOpen(false),
4664
- children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4699
+ children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4665
4700
  MenuOption,
4666
4701
  {
4667
4702
  selected: baseMonth.year === y,
@@ -4676,7 +4711,7 @@ function CalendarPane({
4676
4711
  }
4677
4712
  )
4678
4713
  ] }),
4679
- (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4714
+ (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4680
4715
  "button",
4681
4716
  {
4682
4717
  id: id ? `${id}-next-month-button` : void 0,
@@ -4688,13 +4723,13 @@ function CalendarPane({
4688
4723
  ),
4689
4724
  "aria-label": "Next month",
4690
4725
  onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
4691
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "chevron_right", size: 24 })
4726
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "chevron_right", size: 24 })
4692
4727
  }
4693
- ) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: (0, import_clsx20.default)(componentPadding, "ml-1") })
4728
+ ) : /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: (0, import_clsx20.default)(componentPadding, "ml-1") })
4694
4729
  ]
4695
4730
  }
4696
4731
  ),
4697
- /* @__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)(
4732
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_clsx20.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4698
4733
  "span",
4699
4734
  {
4700
4735
  className: (0, import_clsx20.default)(
@@ -4706,7 +4741,7 @@ function CalendarPane({
4706
4741
  },
4707
4742
  d
4708
4743
  )) }),
4709
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: (0, import_clsx20.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4744
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: (0, import_clsx20.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
4710
4745
  const day = i - emptyCells + 1;
4711
4746
  const date = month.date.with({ day: 1 }).add({
4712
4747
  days: i - emptyCells
@@ -4720,7 +4755,7 @@ function CalendarPane({
4720
4755
  const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
4721
4756
  const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
4722
4757
  const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
4723
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4758
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4724
4759
  DateCell,
4725
4760
  {
4726
4761
  id: id ? `${id}-date-${date.toString()}` : void 0,
@@ -4745,7 +4780,7 @@ function CalendarPane({
4745
4780
  ]
4746
4781
  }
4747
4782
  ),
4748
- mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4783
+ mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4749
4784
  "div",
4750
4785
  {
4751
4786
  className: (0, import_clsx20.default)(
@@ -4759,7 +4794,7 @@ function CalendarPane({
4759
4794
  }
4760
4795
 
4761
4796
  // src/components/DateInput.tsx
4762
- var import_jsx_runtime23 = require("react/jsx-runtime");
4797
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4763
4798
  var DateInput = (_a) => {
4764
4799
  var _b = _a, {
4765
4800
  id,
@@ -4920,8 +4955,8 @@ var DateInput = (_a) => {
4920
4955
  }
4921
4956
  }
4922
4957
  };
4923
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "relative", children: [
4924
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4958
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "relative", children: [
4959
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4925
4960
  InputBase,
4926
4961
  __spreadProps(__spreadValues({
4927
4962
  id,
@@ -4935,7 +4970,7 @@ var DateInput = (_a) => {
4935
4970
  placeholder,
4936
4971
  disabled,
4937
4972
  readOnly,
4938
- after: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "calendar_month" }),
4973
+ after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4939
4974
  onFocus: handleFocus,
4940
4975
  onClick: handleClick,
4941
4976
  onChange: handleInputChange,
@@ -4946,7 +4981,7 @@ var DateInput = (_a) => {
4946
4981
  })
4947
4982
  ),
4948
4983
  visible && !readOnly && (0, import_react_dom3.createPortal)(
4949
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4984
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4950
4985
  "div",
4951
4986
  {
4952
4987
  ref: (el) => {
@@ -4958,7 +4993,7 @@ var DateInput = (_a) => {
4958
4993
  left: `${calendarPosition.left}px`,
4959
4994
  minWidth: `${calendarPosition.width}px`
4960
4995
  },
4961
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4996
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4962
4997
  CalendarRange,
4963
4998
  {
4964
4999
  id: id ? `${id}-calendar` : void 0,
@@ -4994,18 +5029,18 @@ var import_clsx23 = __toESM(require("clsx"), 1);
4994
5029
 
4995
5030
  // src/components/Card.tsx
4996
5031
  var import_clsx21 = __toESM(require("clsx"), 1);
4997
- var import_jsx_runtime24 = require("react/jsx-runtime");
5032
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4998
5033
 
4999
5034
  // src/components/Stack.tsx
5000
5035
  var import_clsx22 = __toESM(require("clsx"), 1);
5001
- var import_jsx_runtime25 = require("react/jsx-runtime");
5036
+ var import_jsx_runtime26 = require("react/jsx-runtime");
5002
5037
 
5003
5038
  // src/components/Accordion.tsx
5004
- var import_jsx_runtime26 = require("react/jsx-runtime");
5039
+ var import_jsx_runtime27 = require("react/jsx-runtime");
5005
5040
 
5006
5041
  // src/components/Heading.tsx
5007
5042
  var import_clsx24 = __toESM(require("clsx"), 1);
5008
- var import_jsx_runtime27 = require("react/jsx-runtime");
5043
+ var import_jsx_runtime28 = require("react/jsx-runtime");
5009
5044
  var Heading = (_a) => {
5010
5045
  var _b = _a, {
5011
5046
  className,
@@ -5028,7 +5063,7 @@ var Heading = (_a) => {
5028
5063
  ]);
5029
5064
  const defaultElement = variant === "heading1" ? "h1" : variant === "heading2" ? "h2" : "h3";
5030
5065
  const Element = as != null ? as : defaultElement;
5031
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
5066
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5032
5067
  Element,
5033
5068
  __spreadProps(__spreadValues({
5034
5069
  id,
@@ -5049,15 +5084,15 @@ var Heading = (_a) => {
5049
5084
  );
5050
5085
  };
5051
5086
  Heading.displayName = "Heading";
5052
- var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
5053
- var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
5054
- var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
5087
+ var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
5088
+ var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
5089
+ var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
5055
5090
  Heading1.displayName = "Heading1";
5056
5091
  Heading2.displayName = "Heading2";
5057
5092
  Heading3.displayName = "Heading3";
5058
5093
 
5059
5094
  // src/components/Theme.tsx
5060
- var import_jsx_runtime28 = require("react/jsx-runtime");
5095
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5061
5096
 
5062
5097
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
5063
5098
  var import_react23 = require("react");
@@ -5070,14 +5105,14 @@ var import_react21 = require("react");
5070
5105
  var GridContext = (0, import_react21.createContext)(null);
5071
5106
 
5072
5107
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
5073
- var import_jsx_runtime29 = require("react/jsx-runtime");
5108
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5074
5109
 
5075
5110
  // src/components/MobileDataGrid/MobileDataGridHeader.tsx
5076
- var import_jsx_runtime30 = require("react/jsx-runtime");
5111
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5077
5112
 
5078
5113
  // src/components/MobileDataGrid/GridContextProvider/index.tsx
5079
5114
  var import_react24 = require("react");
5080
- var import_jsx_runtime31 = require("react/jsx-runtime");
5115
+ var import_jsx_runtime32 = require("react/jsx-runtime");
5081
5116
 
5082
5117
  // src/components/Modal.tsx
5083
5118
  var import_clsx29 = __toESM(require("clsx"), 1);
@@ -5085,7 +5120,7 @@ var import_react26 = require("react");
5085
5120
 
5086
5121
  // src/components/ModalHeader.tsx
5087
5122
  var import_clsx25 = __toESM(require("clsx"), 1);
5088
- var import_jsx_runtime32 = require("react/jsx-runtime");
5123
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5089
5124
  var ModalHeader = ({
5090
5125
  title,
5091
5126
  hideCloseIcon,
@@ -5098,7 +5133,7 @@ var ModalHeader = ({
5098
5133
  titleAs: TitleComponent
5099
5134
  }) => {
5100
5135
  const Title = TitleComponent || Heading2;
5101
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
5136
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
5102
5137
  "div",
5103
5138
  {
5104
5139
  id,
@@ -5113,9 +5148,9 @@ var ModalHeader = ({
5113
5148
  headerClassname
5114
5149
  ),
5115
5150
  children: [
5116
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: (0, import_clsx25.default)("flex items-center flex-1", layoutGroupGap), children: [
5151
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: (0, import_clsx25.default)("flex items-center flex-1", layoutGroupGap), children: [
5117
5152
  headerIcon,
5118
- title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5153
+ title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5119
5154
  Title,
5120
5155
  {
5121
5156
  id: id ? `${id}-title` : void 0,
@@ -5125,7 +5160,7 @@ var ModalHeader = ({
5125
5160
  }
5126
5161
  )
5127
5162
  ] }),
5128
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
5163
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5129
5164
  Button,
5130
5165
  {
5131
5166
  id: id ? `${id}-close-button` : void 0,
@@ -5133,7 +5168,7 @@ var ModalHeader = ({
5133
5168
  iconOnly: true,
5134
5169
  variant: "tertiary",
5135
5170
  onClick: onClose,
5136
- 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 }) })
5171
+ 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 }) })
5137
5172
  }
5138
5173
  )
5139
5174
  ]
@@ -5144,14 +5179,14 @@ ModalHeader.displayName = "ModalHeader";
5144
5179
 
5145
5180
  // src/components/ModalContent.tsx
5146
5181
  var import_clsx26 = __toESM(require("clsx"), 1);
5147
- var import_jsx_runtime33 = require("react/jsx-runtime");
5182
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5148
5183
  function ModalContent({
5149
5184
  fixedHeightScrolling,
5150
5185
  children,
5151
5186
  id,
5152
5187
  testid
5153
5188
  }) {
5154
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
5189
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5155
5190
  "div",
5156
5191
  {
5157
5192
  id,
@@ -5169,7 +5204,7 @@ ModalContent.displayName = "ModalContent";
5169
5204
 
5170
5205
  // src/components/ModalButtons.tsx
5171
5206
  var import_clsx27 = __toESM(require("clsx"), 1);
5172
- var import_jsx_runtime34 = require("react/jsx-runtime");
5207
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5173
5208
  var ModalButtons = ({
5174
5209
  onClose,
5175
5210
  onContinue,
@@ -5177,7 +5212,7 @@ var ModalButtons = ({
5177
5212
  id,
5178
5213
  testid
5179
5214
  }) => {
5180
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5215
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5181
5216
  "div",
5182
5217
  {
5183
5218
  id,
@@ -5187,26 +5222,26 @@ var ModalButtons = ({
5187
5222
  layoutPaddding,
5188
5223
  layoutGroupGap
5189
5224
  ),
5190
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
5191
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5225
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
5226
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5192
5227
  Button,
5193
5228
  {
5194
5229
  id: id ? `${id}-close-button` : void 0,
5195
5230
  testid: testid ? `${testid}-close-button` : void 0,
5196
5231
  variant: "secondary",
5197
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "close", size: 24 }),
5232
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "close", size: 24 }),
5198
5233
  onClick: onClose,
5199
5234
  className: "max-sm:w-full",
5200
5235
  children: "Close"
5201
5236
  }
5202
5237
  ),
5203
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
5238
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5204
5239
  Button,
5205
5240
  {
5206
5241
  id: id ? `${id}-continue-button` : void 0,
5207
5242
  testid: testid ? `${testid}-continue-button` : void 0,
5208
5243
  variant: "primary",
5209
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "check", size: 24 }),
5244
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "check", size: 24 }),
5210
5245
  className: "max-sm:w-full",
5211
5246
  onClick: onContinue,
5212
5247
  children: "Continue"
@@ -5220,7 +5255,7 @@ ModalButtons.displayName = "ModalButtons";
5220
5255
 
5221
5256
  // src/components/ModalScrim.tsx
5222
5257
  var import_clsx28 = __toESM(require("clsx"), 1);
5223
- var import_jsx_runtime35 = require("react/jsx-runtime");
5258
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5224
5259
  var ModalScrim = ({
5225
5260
  show = false,
5226
5261
  size = "small",
@@ -5230,7 +5265,7 @@ var ModalScrim = ({
5230
5265
  id,
5231
5266
  testid
5232
5267
  }) => {
5233
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
5268
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5234
5269
  "div",
5235
5270
  {
5236
5271
  id,
@@ -5266,7 +5301,7 @@ var useMounted = () => {
5266
5301
  };
5267
5302
 
5268
5303
  // src/components/Modal.tsx
5269
- var import_jsx_runtime36 = require("react/jsx-runtime");
5304
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5270
5305
  var fadeInScale = (element, duration = 300) => element.animate(
5271
5306
  [
5272
5307
  { opacity: 0, transform: "scale(0.95)" },
@@ -5439,7 +5474,7 @@ var Modal = ({
5439
5474
  return null;
5440
5475
  }
5441
5476
  return (0, import_react_dom4.createPortal)(
5442
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5477
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5443
5478
  ModalScrim,
5444
5479
  {
5445
5480
  id: id ? `${id}-scrim` : void 0,
@@ -5448,7 +5483,7 @@ var Modal = ({
5448
5483
  ref: bgRef,
5449
5484
  show: open,
5450
5485
  onClick: backgroundClickHandler,
5451
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5486
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
5452
5487
  "div",
5453
5488
  {
5454
5489
  id,
@@ -5463,7 +5498,7 @@ var Modal = ({
5463
5498
  ),
5464
5499
  onClick: (e) => e.stopPropagation(),
5465
5500
  children: [
5466
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5501
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5467
5502
  ModalHeader,
5468
5503
  {
5469
5504
  id: id ? `${id}-header` : void 0,
@@ -5477,7 +5512,7 @@ var Modal = ({
5477
5512
  titleAs: TitleComponent
5478
5513
  }
5479
5514
  ),
5480
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5515
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5481
5516
  ModalContent,
5482
5517
  {
5483
5518
  id: id ? `${id}-content` : void 0,
@@ -5486,7 +5521,7 @@ var Modal = ({
5486
5521
  children
5487
5522
  }
5488
5523
  ) : children,
5489
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5524
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5490
5525
  ModalButtons,
5491
5526
  {
5492
5527
  id: id ? `${id}-buttons` : void 0,
@@ -5507,51 +5542,51 @@ var Modal = ({
5507
5542
  Modal.displayName = "Modal";
5508
5543
 
5509
5544
  // src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
5510
- var import_jsx_runtime37 = require("react/jsx-runtime");
5545
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5511
5546
 
5512
5547
  // src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
5513
- var import_jsx_runtime38 = require("react/jsx-runtime");
5548
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5514
5549
 
5515
5550
  // src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
5516
- var import_jsx_runtime39 = require("react/jsx-runtime");
5551
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5517
5552
 
5518
5553
  // src/components/MobileDataGrid/ColumnList.tsx
5519
5554
  var import_clsx31 = __toESM(require("clsx"), 1);
5520
5555
 
5521
5556
  // src/components/MobileDataGrid/MobileDataGridCard/index.tsx
5522
5557
  var import_clsx30 = __toESM(require("clsx"), 1);
5523
- var import_jsx_runtime40 = require("react/jsx-runtime");
5558
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5524
5559
 
5525
5560
  // src/components/MobileDataGrid/ColumnList.tsx
5526
- var import_jsx_runtime41 = require("react/jsx-runtime");
5561
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5527
5562
 
5528
5563
  // src/components/MobileDataGrid/index.tsx
5529
- var import_jsx_runtime42 = require("react/jsx-runtime");
5564
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5530
5565
 
5531
5566
  // src/components/ProductImagePreview/Thumbnail.tsx
5532
5567
  var import_react28 = require("react");
5533
5568
 
5534
5569
  // src/components/ImagePlaceholder.tsx
5535
5570
  var import_react27 = require("react");
5536
- var import_jsx_runtime43 = require("react/jsx-runtime");
5571
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5537
5572
 
5538
5573
  // src/components/ProductImagePreview/Thumbnail.tsx
5539
- var import_jsx_runtime44 = require("react/jsx-runtime");
5574
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5540
5575
 
5541
5576
  // src/components/Grid.tsx
5542
5577
  var import_clsx32 = __toESM(require("clsx"), 1);
5543
- var import_jsx_runtime45 = require("react/jsx-runtime");
5578
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5544
5579
 
5545
5580
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
5546
5581
  var import_react29 = require("react");
5547
- var import_jsx_runtime46 = require("react/jsx-runtime");
5582
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5548
5583
 
5549
5584
  // src/components/ProductImagePreview/ZoomWindow.tsx
5550
5585
  var import_react30 = require("react");
5551
5586
 
5552
5587
  // src/components/Surface.tsx
5553
5588
  var import_clsx33 = __toESM(require("clsx"), 1);
5554
- var import_jsx_runtime47 = require("react/jsx-runtime");
5589
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5555
5590
  var Surface = (_a) => {
5556
5591
  var _b = _a, {
5557
5592
  children,
@@ -5564,7 +5599,7 @@ var Surface = (_a) => {
5564
5599
  "elevation",
5565
5600
  "id"
5566
5601
  ]);
5567
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5602
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5568
5603
  "div",
5569
5604
  __spreadProps(__spreadValues({
5570
5605
  id,
@@ -5585,40 +5620,40 @@ var Surface = (_a) => {
5585
5620
  Surface.displayName = "Surface";
5586
5621
 
5587
5622
  // src/components/ProductImagePreview/ZoomWindow.tsx
5588
- var import_jsx_runtime48 = require("react/jsx-runtime");
5623
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5589
5624
 
5590
5625
  // src/components/ProductImagePreview/CarouselPagination.tsx
5591
5626
  var import_clsx34 = require("clsx");
5592
- var import_jsx_runtime49 = require("react/jsx-runtime");
5627
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5593
5628
 
5594
5629
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
5595
5630
  var import_react31 = require("react");
5596
- var import_jsx_runtime50 = require("react/jsx-runtime");
5631
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5597
5632
 
5598
5633
  // src/components/ProductImagePreview/useProductImagePreview.ts
5599
5634
  var import_react32 = require("react");
5600
5635
 
5601
5636
  // src/components/ProductImagePreview/index.tsx
5602
- var import_jsx_runtime51 = require("react/jsx-runtime");
5637
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5603
5638
 
5604
5639
  // src/components/CompactImagesPreview.tsx
5605
5640
  var import_react33 = require("react");
5606
5641
  var import_clsx35 = __toESM(require("clsx"), 1);
5607
- var import_jsx_runtime52 = require("react/jsx-runtime");
5642
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5608
5643
 
5609
5644
  // src/components/SimpleTable.tsx
5610
5645
  var import_clsx36 = __toESM(require("clsx"), 1);
5611
- var import_jsx_runtime53 = require("react/jsx-runtime");
5646
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5612
5647
 
5613
5648
  // src/components/ListGroup.tsx
5614
5649
  var import_react34 = require("react");
5615
5650
  var import_clsx37 = __toESM(require("clsx"), 1);
5616
- var import_jsx_runtime54 = require("react/jsx-runtime");
5651
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5617
5652
 
5618
5653
  // src/components/Pagination.tsx
5619
5654
  var import_react35 = require("react");
5620
5655
  var import_clsx38 = __toESM(require("clsx"), 1);
5621
- var import_jsx_runtime55 = require("react/jsx-runtime");
5656
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5622
5657
  var Pagination = ({
5623
5658
  totalPages,
5624
5659
  currentPage,
@@ -5693,7 +5728,7 @@ var Pagination = ({
5693
5728
  "focus:bg-background-grouped-secondary-normal focus:outline-0",
5694
5729
  "disabled:bg-transparent disabled:text-text-action-primary-disabled"
5695
5730
  );
5696
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5731
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5697
5732
  "nav",
5698
5733
  {
5699
5734
  id,
@@ -5708,19 +5743,19 @@ var Pagination = ({
5708
5743
  className
5709
5744
  ),
5710
5745
  children: [
5711
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5746
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5712
5747
  "button",
5713
5748
  {
5714
5749
  disabled: disabled || currentPage <= 1,
5715
5750
  "aria-label": "Previous page",
5716
5751
  onClick: () => goTo(currentPage - 1),
5717
5752
  className: (0, import_clsx38.default)(buttonClass, "border-r-1 border-border-primary-normal"),
5718
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_left" })
5753
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_left" })
5719
5754
  }
5720
5755
  ),
5721
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("ul", { className: (0, import_clsx38.default)("flex items-center"), children: pageTokens.map((token, index) => {
5756
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("ul", { className: (0, import_clsx38.default)("flex items-center"), children: pageTokens.map((token, index) => {
5722
5757
  if (token === "ellipsis") {
5723
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5758
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5724
5759
  "li",
5725
5760
  {
5726
5761
  className: "w-8 h-8 select-none text-text-action-primary-disabled",
@@ -5730,7 +5765,7 @@ var Pagination = ({
5730
5765
  );
5731
5766
  }
5732
5767
  const selected = token === currentPage;
5733
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5768
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5734
5769
  "button",
5735
5770
  {
5736
5771
  "aria-label": `Page ${token}`,
@@ -5741,18 +5776,18 @@ var Pagination = ({
5741
5776
  buttonClass,
5742
5777
  selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
5743
5778
  ),
5744
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5779
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5745
5780
  }
5746
5781
  ) }, token);
5747
5782
  }) }),
5748
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5783
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5749
5784
  "button",
5750
5785
  {
5751
5786
  disabled: disabled || currentPage >= totalPages,
5752
5787
  "aria-label": "Next page",
5753
5788
  onClick: () => goTo(currentPage + 1),
5754
5789
  className: (0, import_clsx38.default)(buttonClass, "border-l-1 border-border-primary-normal"),
5755
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_right" })
5790
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_right" })
5756
5791
  }
5757
5792
  )
5758
5793
  ]
@@ -5762,25 +5797,160 @@ var Pagination = ({
5762
5797
  Pagination.displayName = "Pagination";
5763
5798
 
5764
5799
  // src/components/SkeletonParagraph.tsx
5765
- var import_jsx_runtime56 = require("react/jsx-runtime");
5800
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5766
5801
 
5767
5802
  // src/components/EmptyCartIcon.tsx
5768
- var import_jsx_runtime57 = require("react/jsx-runtime");
5803
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5769
5804
 
5770
5805
  // src/components/SearchResultImage/index.tsx
5771
5806
  var import_react36 = require("react");
5772
- var import_jsx_runtime58 = require("react/jsx-runtime");
5807
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5773
5808
 
5774
5809
  // src/components/Alert.tsx
5775
5810
  var import_clsx39 = __toESM(require("clsx"), 1);
5776
5811
  var import_react37 = require("react");
5777
- var import_jsx_runtime59 = require("react/jsx-runtime");
5812
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5778
5813
 
5779
5814
  // src/components/OrderCheckIcon.tsx
5780
- var import_jsx_runtime60 = require("react/jsx-runtime");
5815
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5816
+
5817
+ // src/components/AccessCard.tsx
5818
+ var import_clsx41 = __toESM(require("clsx"), 1);
5819
+
5820
+ // src/components/Radio.tsx
5821
+ var import_clsx40 = __toESM(require("clsx"), 1);
5822
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5823
+ var Radio = (_a) => {
5824
+ var _b = _a, {
5825
+ className,
5826
+ label,
5827
+ error,
5828
+ disabled,
5829
+ checked,
5830
+ readOnly,
5831
+ id,
5832
+ testid
5833
+ } = _b, props = __objRest(_b, [
5834
+ "className",
5835
+ "label",
5836
+ "error",
5837
+ "disabled",
5838
+ "checked",
5839
+ "readOnly",
5840
+ "id",
5841
+ "testid"
5842
+ ]);
5843
+ const radioId = id;
5844
+ const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
5845
+ const defaultClassName = (0, import_clsx40.default)(
5846
+ !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"
5847
+ );
5848
+ const errorClassName = (0, import_clsx40.default)(
5849
+ 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 "
5850
+ );
5851
+ const disabledClassName = (0, import_clsx40.default)(
5852
+ disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
5853
+ );
5854
+ const readonlyClassName = (0, import_clsx40.default)(
5855
+ readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
5856
+ );
5857
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5858
+ "label",
5859
+ {
5860
+ htmlFor: radioId,
5861
+ "data-testid": testid,
5862
+ className: (0, import_clsx40.default)(
5863
+ "flex items-center",
5864
+ componentGap,
5865
+ disabled ? "cursor-default" : "cursor-pointer",
5866
+ className
5867
+ ),
5868
+ children: [
5869
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "relative", children: [
5870
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5871
+ "input",
5872
+ __spreadValues({
5873
+ id: radioId,
5874
+ "data-testid": testid ? `${testid}-input` : void 0,
5875
+ type: "radio",
5876
+ className: "sr-only peer",
5877
+ disabled,
5878
+ checked,
5879
+ readOnly
5880
+ }, props)
5881
+ ),
5882
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5883
+ "div",
5884
+ {
5885
+ className: (0, import_clsx40.default)(
5886
+ "size-6 rounded-full border flex items-center justify-center",
5887
+ baseTransition,
5888
+ defaultClassName,
5889
+ errorClassName,
5890
+ disabledClassName,
5891
+ readonlyClassName
5892
+ ),
5893
+ children: checked && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5894
+ RadioIcon,
5895
+ {
5896
+ className: (0, import_clsx40.default)(
5897
+ "transition-colors",
5898
+ !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",
5899
+ 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",
5900
+ disabled && "text-icon-on-action-secondary-disabled",
5901
+ readOnly && "text-icon-on-action-secondary-disabled"
5902
+ )
5903
+ }
5904
+ )
5905
+ }
5906
+ )
5907
+ ] }),
5908
+ 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 })
5909
+ ]
5910
+ }
5911
+ );
5912
+ };
5913
+ Radio.displayName = "Radio";
5914
+ var RadioIcon = ({ className }) => {
5915
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5916
+ "svg",
5917
+ {
5918
+ className,
5919
+ xmlns: "http://www.w3.org/2000/svg",
5920
+ width: "24",
5921
+ height: "24",
5922
+ viewBox: "0 0 24 24",
5923
+ fill: "none",
5924
+ children: [
5925
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5926
+ "rect",
5927
+ {
5928
+ x: "1",
5929
+ y: "1",
5930
+ width: "22",
5931
+ height: "22",
5932
+ rx: "11",
5933
+ stroke: "currentColor",
5934
+ strokeWidth: "2"
5935
+ }
5936
+ ),
5937
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
5938
+ ]
5939
+ }
5940
+ );
5941
+ };
5942
+ RadioIcon.displayName = "RadioIcon";
5943
+
5944
+ // src/components/AccessCard.tsx
5945
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5946
+
5947
+ // src/components/AccessCardGroup.tsx
5948
+ var import_clsx42 = __toESM(require("clsx"), 1);
5949
+ var import_react38 = require("react");
5950
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5781
5951
 
5782
5952
  // src/components/DataGrid/TableBody/LoadingCell.tsx
5783
- var import_jsx_runtime61 = require("react/jsx-runtime");
5953
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5784
5954
  function LoadingCell({
5785
5955
  id,
5786
5956
  testid,
@@ -5788,16 +5958,16 @@ function LoadingCell({
5788
5958
  }) {
5789
5959
  const key = `loading-${column.id}`;
5790
5960
  if (column.cell === "checkbox") {
5791
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
5961
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
5792
5962
  }
5793
5963
  if (column.cell === "input") {
5794
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5964
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5795
5965
  DataGridCell,
5796
5966
  {
5797
5967
  id: id ? `${id}-${key}` : void 0,
5798
5968
  testid: testid ? `${testid}-${key}` : void 0,
5799
5969
  component: "input",
5800
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5970
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5801
5971
  Input,
5802
5972
  {
5803
5973
  id: id ? `${id}-${key}-input` : void 0,
@@ -5811,7 +5981,7 @@ function LoadingCell({
5811
5981
  key
5812
5982
  );
5813
5983
  }
5814
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
5984
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
5815
5985
  }
5816
5986
  // Annotate the CommonJS export names for ESM import in node:
5817
5987
  0 && (module.exports = {