@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(DateRangeInput_exports, {
62
62
  DateRangeInput: () => DateRangeInput
63
63
  });
64
64
  module.exports = __toCommonJS(DateRangeInput_exports);
65
- var import_react38 = require("react");
65
+ var import_react39 = require("react");
66
66
  var import_react_dom5 = require("react-dom");
67
67
 
68
68
  // src/components/Input.tsx
@@ -833,8 +833,8 @@ Currency.displayName = "Currency";
833
833
  Percentage.displayName = "Percentage";
834
834
 
835
835
  // src/components/CalendarRange.tsx
836
- var import_clsx39 = __toESM(require("clsx"), 1);
837
- var import_react37 = __toESM(require("react"), 1);
836
+ var import_clsx42 = __toESM(require("clsx"), 1);
837
+ var import_react38 = __toESM(require("react"), 1);
838
838
  var import_polyfill = require("@js-temporal/polyfill");
839
839
 
840
840
  // src/components/DataGridCell.tsx
@@ -4080,7 +4080,39 @@ Checkbox.displayName = "Checkbox";
4080
4080
 
4081
4081
  // src/components/Button.tsx
4082
4082
  var import_clsx18 = __toESM(require("clsx"), 1);
4083
+
4084
+ // src/components/Spinner.tsx
4083
4085
  var import_jsx_runtime21 = require("react/jsx-runtime");
4086
+ var Spinner = ({ size = "small", testid }) => {
4087
+ const dimension = size === "large" ? 48 : 24;
4088
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4089
+ "svg",
4090
+ {
4091
+ "data-testid": testid,
4092
+ width: dimension,
4093
+ height: dimension,
4094
+ viewBox: "0 0 24 24",
4095
+ xmlns: "http://www.w3.org/2000/svg",
4096
+ fill: "#1D1E1E",
4097
+ className: "spinner",
4098
+ "aria-label": "Loading",
4099
+ children: [
4100
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "12", cy: "4", r: "2", opacity: "1" }),
4101
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "17.666", cy: "6.334", r: "2", opacity: "0.125" }),
4102
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "20", cy: "12", r: "2", opacity: "0.25" }),
4103
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "17.666", cy: "17.666", r: "2", opacity: "0.375" }),
4104
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "12", cy: "20", r: "2", opacity: "0.5" }),
4105
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "6.334", cy: "17.666", r: "2", opacity: "0.625" }),
4106
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "4", cy: "12", r: "2", opacity: "0.75" }),
4107
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("circle", { cx: "6.334", cy: "6.334", r: "2", opacity: "0.875" })
4108
+ ]
4109
+ }
4110
+ );
4111
+ };
4112
+ Spinner.displayName = "Spinner";
4113
+
4114
+ // src/components/Button.tsx
4115
+ var import_jsx_runtime22 = require("react/jsx-runtime");
4084
4116
  var Button = (_a) => {
4085
4117
  var _b = _a, {
4086
4118
  variant = "primary",
@@ -4096,7 +4128,8 @@ var Button = (_a) => {
4096
4128
  colorClassName,
4097
4129
  href,
4098
4130
  id,
4099
- testid
4131
+ testid,
4132
+ isLoading
4100
4133
  } = _b, props = __objRest(_b, [
4101
4134
  "variant",
4102
4135
  "as",
@@ -4111,7 +4144,8 @@ var Button = (_a) => {
4111
4144
  "colorClassName",
4112
4145
  "href",
4113
4146
  "id",
4114
- "testid"
4147
+ "testid",
4148
+ "isLoading"
4115
4149
  ]);
4116
4150
  const primaryVariantStyles = variant === "primary" && (0, import_clsx18.default)(
4117
4151
  (colorClassName == null ? void 0 : colorClassName.trim()) ? colorClassName : "text-text-on-action-primary-normal",
@@ -4195,7 +4229,7 @@ var Button = (_a) => {
4195
4229
  typography.buttonLabel
4196
4230
  );
4197
4231
  const Element = href && !as ? "a" : as;
4198
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
4232
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4199
4233
  Element,
4200
4234
  __spreadProps(__spreadValues({
4201
4235
  id,
@@ -4209,7 +4243,8 @@ var Button = (_a) => {
4209
4243
  "data-theme": variant === "navigation" ? "brand" : void 0,
4210
4244
  children: [
4211
4245
  leftIcon && leftIcon,
4212
- !iconOnly && children && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
4246
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Spinner, { size: "small" }),
4247
+ !iconOnly && !isLoading && children && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { id: id ? `${id}-label` : void 0, "data-testid": testid ? `${testid}-label` : void 0, className: labelClasses, children }),
4213
4248
  rightIcon && rightIcon
4214
4249
  ]
4215
4250
  })
@@ -4221,7 +4256,7 @@ Button.displayName = "Button";
4221
4256
  var import_clsx19 = __toESM(require("clsx"), 1);
4222
4257
  var import_react18 = require("react");
4223
4258
  var import_react_dom2 = require("react-dom");
4224
- var import_jsx_runtime22 = require("react/jsx-runtime");
4259
+ var import_jsx_runtime23 = require("react/jsx-runtime");
4225
4260
  var Tooltip = ({
4226
4261
  id,
4227
4262
  testid,
@@ -4288,7 +4323,7 @@ var Tooltip = ({
4288
4323
  return () => window.removeEventListener("resize", updatePosition);
4289
4324
  }
4290
4325
  }, [isVisible]);
4291
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
4326
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
4292
4327
  "div",
4293
4328
  {
4294
4329
  id,
@@ -4300,7 +4335,7 @@ var Tooltip = ({
4300
4335
  children: [
4301
4336
  children,
4302
4337
  !keepHidden && isVisible && typeof document !== "undefined" && (0, import_react_dom2.createPortal)(
4303
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4338
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4304
4339
  "div",
4305
4340
  {
4306
4341
  id: id ? `${id}-message` : void 0,
@@ -4342,7 +4377,7 @@ Tooltip.displayName = "Tooltip";
4342
4377
  // src/components/DateInput.tsx
4343
4378
  var import_react19 = require("react");
4344
4379
  var import_react_dom3 = require("react-dom");
4345
- var import_jsx_runtime23 = require("react/jsx-runtime");
4380
+ var import_jsx_runtime24 = require("react/jsx-runtime");
4346
4381
  var DateInput = (_a) => {
4347
4382
  var _b = _a, {
4348
4383
  id,
@@ -4503,8 +4538,8 @@ var DateInput = (_a) => {
4503
4538
  }
4504
4539
  }
4505
4540
  };
4506
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "relative", children: [
4507
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4541
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "relative", children: [
4542
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4508
4543
  InputBase,
4509
4544
  __spreadProps(__spreadValues({
4510
4545
  id,
@@ -4518,7 +4553,7 @@ var DateInput = (_a) => {
4518
4553
  placeholder,
4519
4554
  disabled,
4520
4555
  readOnly,
4521
- after: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "calendar_month" }),
4556
+ after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4522
4557
  onFocus: handleFocus,
4523
4558
  onClick: handleClick,
4524
4559
  onChange: handleInputChange,
@@ -4529,7 +4564,7 @@ var DateInput = (_a) => {
4529
4564
  })
4530
4565
  ),
4531
4566
  visible && !readOnly && (0, import_react_dom3.createPortal)(
4532
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4567
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4533
4568
  "div",
4534
4569
  {
4535
4570
  ref: (el) => {
@@ -4541,7 +4576,7 @@ var DateInput = (_a) => {
4541
4576
  left: `${calendarPosition.left}px`,
4542
4577
  minWidth: `${calendarPosition.width}px`
4543
4578
  },
4544
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
4579
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4545
4580
  CalendarRange,
4546
4581
  {
4547
4582
  id: id ? `${id}-calendar` : void 0,
@@ -4577,18 +4612,18 @@ var import_clsx22 = __toESM(require("clsx"), 1);
4577
4612
 
4578
4613
  // src/components/Card.tsx
4579
4614
  var import_clsx20 = __toESM(require("clsx"), 1);
4580
- var import_jsx_runtime24 = require("react/jsx-runtime");
4615
+ var import_jsx_runtime25 = require("react/jsx-runtime");
4581
4616
 
4582
4617
  // src/components/Stack.tsx
4583
4618
  var import_clsx21 = __toESM(require("clsx"), 1);
4584
- var import_jsx_runtime25 = require("react/jsx-runtime");
4619
+ var import_jsx_runtime26 = require("react/jsx-runtime");
4585
4620
 
4586
4621
  // src/components/Accordion.tsx
4587
- var import_jsx_runtime26 = require("react/jsx-runtime");
4622
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4588
4623
 
4589
4624
  // src/components/Heading.tsx
4590
4625
  var import_clsx23 = __toESM(require("clsx"), 1);
4591
- var import_jsx_runtime27 = require("react/jsx-runtime");
4626
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4592
4627
  var Heading = (_a) => {
4593
4628
  var _b = _a, {
4594
4629
  className,
@@ -4611,7 +4646,7 @@ var Heading = (_a) => {
4611
4646
  ]);
4612
4647
  const defaultElement = variant === "heading1" ? "h1" : variant === "heading2" ? "h2" : "h3";
4613
4648
  const Element = as != null ? as : defaultElement;
4614
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4649
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4615
4650
  Element,
4616
4651
  __spreadProps(__spreadValues({
4617
4652
  id,
@@ -4632,15 +4667,15 @@ var Heading = (_a) => {
4632
4667
  );
4633
4668
  };
4634
4669
  Heading.displayName = "Heading";
4635
- var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
4636
- var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
4637
- var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
4670
+ var Heading1 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading1" }));
4671
+ var Heading2 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading2" }));
4672
+ var Heading3 = (props) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Heading, __spreadProps(__spreadValues({}, props), { variant: "heading3" }));
4638
4673
  Heading1.displayName = "Heading1";
4639
4674
  Heading2.displayName = "Heading2";
4640
4675
  Heading3.displayName = "Heading3";
4641
4676
 
4642
4677
  // src/components/Theme.tsx
4643
- var import_jsx_runtime28 = require("react/jsx-runtime");
4678
+ var import_jsx_runtime29 = require("react/jsx-runtime");
4644
4679
 
4645
4680
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
4646
4681
  var import_react22 = require("react");
@@ -4653,14 +4688,14 @@ var import_react20 = require("react");
4653
4688
  var GridContext = (0, import_react20.createContext)(null);
4654
4689
 
4655
4690
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
4656
- var import_jsx_runtime29 = require("react/jsx-runtime");
4691
+ var import_jsx_runtime30 = require("react/jsx-runtime");
4657
4692
 
4658
4693
  // src/components/MobileDataGrid/MobileDataGridHeader.tsx
4659
- var import_jsx_runtime30 = require("react/jsx-runtime");
4694
+ var import_jsx_runtime31 = require("react/jsx-runtime");
4660
4695
 
4661
4696
  // src/components/MobileDataGrid/GridContextProvider/index.tsx
4662
4697
  var import_react23 = require("react");
4663
- var import_jsx_runtime31 = require("react/jsx-runtime");
4698
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4664
4699
 
4665
4700
  // src/components/Modal.tsx
4666
4701
  var import_clsx28 = __toESM(require("clsx"), 1);
@@ -4668,7 +4703,7 @@ var import_react25 = require("react");
4668
4703
 
4669
4704
  // src/components/ModalHeader.tsx
4670
4705
  var import_clsx24 = __toESM(require("clsx"), 1);
4671
- var import_jsx_runtime32 = require("react/jsx-runtime");
4706
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4672
4707
  var ModalHeader = ({
4673
4708
  title,
4674
4709
  hideCloseIcon,
@@ -4681,7 +4716,7 @@ var ModalHeader = ({
4681
4716
  titleAs: TitleComponent
4682
4717
  }) => {
4683
4718
  const Title = TitleComponent || Heading2;
4684
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
4719
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
4685
4720
  "div",
4686
4721
  {
4687
4722
  id,
@@ -4696,9 +4731,9 @@ var ModalHeader = ({
4696
4731
  headerClassname
4697
4732
  ),
4698
4733
  children: [
4699
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
4734
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("div", { className: (0, import_clsx24.default)("flex items-center flex-1", layoutGroupGap), children: [
4700
4735
  headerIcon,
4701
- title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4736
+ title && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4702
4737
  Title,
4703
4738
  {
4704
4739
  id: id ? `${id}-title` : void 0,
@@ -4708,7 +4743,7 @@ var ModalHeader = ({
4708
4743
  }
4709
4744
  )
4710
4745
  ] }),
4711
- !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4746
+ !hideCloseIcon && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4712
4747
  Button,
4713
4748
  {
4714
4749
  id: id ? `${id}-close-button` : void 0,
@@ -4716,7 +4751,7 @@ var ModalHeader = ({
4716
4751
  iconOnly: true,
4717
4752
  variant: "tertiary",
4718
4753
  onClick: onClose,
4719
- 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 }) })
4754
+ 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 }) })
4720
4755
  }
4721
4756
  )
4722
4757
  ]
@@ -4727,14 +4762,14 @@ ModalHeader.displayName = "ModalHeader";
4727
4762
 
4728
4763
  // src/components/ModalContent.tsx
4729
4764
  var import_clsx25 = __toESM(require("clsx"), 1);
4730
- var import_jsx_runtime33 = require("react/jsx-runtime");
4765
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4731
4766
  function ModalContent({
4732
4767
  fixedHeightScrolling,
4733
4768
  children,
4734
4769
  id,
4735
4770
  testid
4736
4771
  }) {
4737
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
4772
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4738
4773
  "div",
4739
4774
  {
4740
4775
  id,
@@ -4752,7 +4787,7 @@ ModalContent.displayName = "ModalContent";
4752
4787
 
4753
4788
  // src/components/ModalButtons.tsx
4754
4789
  var import_clsx26 = __toESM(require("clsx"), 1);
4755
- var import_jsx_runtime34 = require("react/jsx-runtime");
4790
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4756
4791
  var ModalButtons = ({
4757
4792
  onClose,
4758
4793
  onContinue,
@@ -4760,7 +4795,7 @@ var ModalButtons = ({
4760
4795
  id,
4761
4796
  testid
4762
4797
  }) => {
4763
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4798
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4764
4799
  "div",
4765
4800
  {
4766
4801
  id,
@@ -4770,26 +4805,26 @@ var ModalButtons = ({
4770
4805
  layoutPaddding,
4771
4806
  layoutGroupGap
4772
4807
  ),
4773
- children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
4774
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4808
+ children: customActions != null ? customActions : /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
4809
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4775
4810
  Button,
4776
4811
  {
4777
4812
  id: id ? `${id}-close-button` : void 0,
4778
4813
  testid: testid ? `${testid}-close-button` : void 0,
4779
4814
  variant: "secondary",
4780
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "close", size: 24 }),
4815
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "close", size: 24 }),
4781
4816
  onClick: onClose,
4782
4817
  className: "max-sm:w-full",
4783
4818
  children: "Close"
4784
4819
  }
4785
4820
  ),
4786
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
4821
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4787
4822
  Button,
4788
4823
  {
4789
4824
  id: id ? `${id}-continue-button` : void 0,
4790
4825
  testid: testid ? `${testid}-continue-button` : void 0,
4791
4826
  variant: "primary",
4792
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { name: "check", size: 24 }),
4827
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Icon, { name: "check", size: 24 }),
4793
4828
  className: "max-sm:w-full",
4794
4829
  onClick: onContinue,
4795
4830
  children: "Continue"
@@ -4803,7 +4838,7 @@ ModalButtons.displayName = "ModalButtons";
4803
4838
 
4804
4839
  // src/components/ModalScrim.tsx
4805
4840
  var import_clsx27 = __toESM(require("clsx"), 1);
4806
- var import_jsx_runtime35 = require("react/jsx-runtime");
4841
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4807
4842
  var ModalScrim = ({
4808
4843
  show = false,
4809
4844
  size = "small",
@@ -4813,7 +4848,7 @@ var ModalScrim = ({
4813
4848
  id,
4814
4849
  testid
4815
4850
  }) => {
4816
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4851
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4817
4852
  "div",
4818
4853
  {
4819
4854
  id,
@@ -4849,7 +4884,7 @@ var useMounted = () => {
4849
4884
  };
4850
4885
 
4851
4886
  // src/components/Modal.tsx
4852
- var import_jsx_runtime36 = require("react/jsx-runtime");
4887
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4853
4888
  var fadeInScale = (element, duration = 300) => element.animate(
4854
4889
  [
4855
4890
  { opacity: 0, transform: "scale(0.95)" },
@@ -5022,7 +5057,7 @@ var Modal = ({
5022
5057
  return null;
5023
5058
  }
5024
5059
  return (0, import_react_dom4.createPortal)(
5025
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5060
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5026
5061
  ModalScrim,
5027
5062
  {
5028
5063
  id: id ? `${id}-scrim` : void 0,
@@ -5031,7 +5066,7 @@ var Modal = ({
5031
5066
  ref: bgRef,
5032
5067
  show: open,
5033
5068
  onClick: backgroundClickHandler,
5034
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
5069
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
5035
5070
  "div",
5036
5071
  {
5037
5072
  id,
@@ -5046,7 +5081,7 @@ var Modal = ({
5046
5081
  ),
5047
5082
  onClick: (e) => e.stopPropagation(),
5048
5083
  children: [
5049
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5084
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5050
5085
  ModalHeader,
5051
5086
  {
5052
5087
  id: id ? `${id}-header` : void 0,
@@ -5060,7 +5095,7 @@ var Modal = ({
5060
5095
  titleAs: TitleComponent
5061
5096
  }
5062
5097
  ),
5063
- children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5098
+ children && (size !== "screen" || noWrapper) ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5064
5099
  ModalContent,
5065
5100
  {
5066
5101
  id: id ? `${id}-content` : void 0,
@@ -5069,7 +5104,7 @@ var Modal = ({
5069
5104
  children
5070
5105
  }
5071
5106
  ) : children,
5072
- showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
5107
+ showButtons ? customFooter ? customActions : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
5073
5108
  ModalButtons,
5074
5109
  {
5075
5110
  id: id ? `${id}-buttons` : void 0,
@@ -5090,51 +5125,51 @@ var Modal = ({
5090
5125
  Modal.displayName = "Modal";
5091
5126
 
5092
5127
  // src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
5093
- var import_jsx_runtime37 = require("react/jsx-runtime");
5128
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5094
5129
 
5095
5130
  // src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
5096
- var import_jsx_runtime38 = require("react/jsx-runtime");
5131
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5097
5132
 
5098
5133
  // src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
5099
- var import_jsx_runtime39 = require("react/jsx-runtime");
5134
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5100
5135
 
5101
5136
  // src/components/MobileDataGrid/ColumnList.tsx
5102
5137
  var import_clsx30 = __toESM(require("clsx"), 1);
5103
5138
 
5104
5139
  // src/components/MobileDataGrid/MobileDataGridCard/index.tsx
5105
5140
  var import_clsx29 = __toESM(require("clsx"), 1);
5106
- var import_jsx_runtime40 = require("react/jsx-runtime");
5141
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5107
5142
 
5108
5143
  // src/components/MobileDataGrid/ColumnList.tsx
5109
- var import_jsx_runtime41 = require("react/jsx-runtime");
5144
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5110
5145
 
5111
5146
  // src/components/MobileDataGrid/index.tsx
5112
- var import_jsx_runtime42 = require("react/jsx-runtime");
5147
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5113
5148
 
5114
5149
  // src/components/ProductImagePreview/Thumbnail.tsx
5115
5150
  var import_react27 = require("react");
5116
5151
 
5117
5152
  // src/components/ImagePlaceholder.tsx
5118
5153
  var import_react26 = require("react");
5119
- var import_jsx_runtime43 = require("react/jsx-runtime");
5154
+ var import_jsx_runtime44 = require("react/jsx-runtime");
5120
5155
 
5121
5156
  // src/components/ProductImagePreview/Thumbnail.tsx
5122
- var import_jsx_runtime44 = require("react/jsx-runtime");
5157
+ var import_jsx_runtime45 = require("react/jsx-runtime");
5123
5158
 
5124
5159
  // src/components/Grid.tsx
5125
5160
  var import_clsx31 = __toESM(require("clsx"), 1);
5126
- var import_jsx_runtime45 = require("react/jsx-runtime");
5161
+ var import_jsx_runtime46 = require("react/jsx-runtime");
5127
5162
 
5128
5163
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
5129
5164
  var import_react28 = require("react");
5130
- var import_jsx_runtime46 = require("react/jsx-runtime");
5165
+ var import_jsx_runtime47 = require("react/jsx-runtime");
5131
5166
 
5132
5167
  // src/components/ProductImagePreview/ZoomWindow.tsx
5133
5168
  var import_react29 = require("react");
5134
5169
 
5135
5170
  // src/components/Surface.tsx
5136
5171
  var import_clsx32 = __toESM(require("clsx"), 1);
5137
- var import_jsx_runtime47 = require("react/jsx-runtime");
5172
+ var import_jsx_runtime48 = require("react/jsx-runtime");
5138
5173
  var Surface = (_a) => {
5139
5174
  var _b = _a, {
5140
5175
  children,
@@ -5147,7 +5182,7 @@ var Surface = (_a) => {
5147
5182
  "elevation",
5148
5183
  "id"
5149
5184
  ]);
5150
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
5185
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
5151
5186
  "div",
5152
5187
  __spreadProps(__spreadValues({
5153
5188
  id,
@@ -5168,40 +5203,40 @@ var Surface = (_a) => {
5168
5203
  Surface.displayName = "Surface";
5169
5204
 
5170
5205
  // src/components/ProductImagePreview/ZoomWindow.tsx
5171
- var import_jsx_runtime48 = require("react/jsx-runtime");
5206
+ var import_jsx_runtime49 = require("react/jsx-runtime");
5172
5207
 
5173
5208
  // src/components/ProductImagePreview/CarouselPagination.tsx
5174
5209
  var import_clsx33 = require("clsx");
5175
- var import_jsx_runtime49 = require("react/jsx-runtime");
5210
+ var import_jsx_runtime50 = require("react/jsx-runtime");
5176
5211
 
5177
5212
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
5178
5213
  var import_react30 = require("react");
5179
- var import_jsx_runtime50 = require("react/jsx-runtime");
5214
+ var import_jsx_runtime51 = require("react/jsx-runtime");
5180
5215
 
5181
5216
  // src/components/ProductImagePreview/useProductImagePreview.ts
5182
5217
  var import_react31 = require("react");
5183
5218
 
5184
5219
  // src/components/ProductImagePreview/index.tsx
5185
- var import_jsx_runtime51 = require("react/jsx-runtime");
5220
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5186
5221
 
5187
5222
  // src/components/CompactImagesPreview.tsx
5188
5223
  var import_react32 = require("react");
5189
5224
  var import_clsx34 = __toESM(require("clsx"), 1);
5190
- var import_jsx_runtime52 = require("react/jsx-runtime");
5225
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5191
5226
 
5192
5227
  // src/components/SimpleTable.tsx
5193
5228
  var import_clsx35 = __toESM(require("clsx"), 1);
5194
- var import_jsx_runtime53 = require("react/jsx-runtime");
5229
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5195
5230
 
5196
5231
  // src/components/ListGroup.tsx
5197
5232
  var import_react33 = require("react");
5198
5233
  var import_clsx36 = __toESM(require("clsx"), 1);
5199
- var import_jsx_runtime54 = require("react/jsx-runtime");
5234
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5200
5235
 
5201
5236
  // src/components/Pagination.tsx
5202
5237
  var import_react34 = require("react");
5203
5238
  var import_clsx37 = __toESM(require("clsx"), 1);
5204
- var import_jsx_runtime55 = require("react/jsx-runtime");
5239
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5205
5240
  var Pagination = ({
5206
5241
  totalPages,
5207
5242
  currentPage,
@@ -5276,7 +5311,7 @@ var Pagination = ({
5276
5311
  "focus:bg-background-grouped-secondary-normal focus:outline-0",
5277
5312
  "disabled:bg-transparent disabled:text-text-action-primary-disabled"
5278
5313
  );
5279
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5314
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5280
5315
  "nav",
5281
5316
  {
5282
5317
  id,
@@ -5291,19 +5326,19 @@ var Pagination = ({
5291
5326
  className
5292
5327
  ),
5293
5328
  children: [
5294
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5329
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5295
5330
  "button",
5296
5331
  {
5297
5332
  disabled: disabled || currentPage <= 1,
5298
5333
  "aria-label": "Previous page",
5299
5334
  onClick: () => goTo(currentPage - 1),
5300
5335
  className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
5301
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_left" })
5336
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_left" })
5302
5337
  }
5303
5338
  ),
5304
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5339
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5305
5340
  if (token === "ellipsis") {
5306
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5341
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5307
5342
  "li",
5308
5343
  {
5309
5344
  className: "w-8 h-8 select-none text-text-action-primary-disabled",
@@ -5313,7 +5348,7 @@ var Pagination = ({
5313
5348
  );
5314
5349
  }
5315
5350
  const selected = token === currentPage;
5316
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5351
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5317
5352
  "button",
5318
5353
  {
5319
5354
  "aria-label": `Page ${token}`,
@@ -5324,18 +5359,18 @@ var Pagination = ({
5324
5359
  buttonClass,
5325
5360
  selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
5326
5361
  ),
5327
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5362
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5328
5363
  }
5329
5364
  ) }, token);
5330
5365
  }) }),
5331
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5366
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5332
5367
  "button",
5333
5368
  {
5334
5369
  disabled: disabled || currentPage >= totalPages,
5335
5370
  "aria-label": "Next page",
5336
5371
  onClick: () => goTo(currentPage + 1),
5337
5372
  className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
5338
- children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "keyboard_arrow_right" })
5373
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "keyboard_arrow_right" })
5339
5374
  }
5340
5375
  )
5341
5376
  ]
@@ -5345,25 +5380,160 @@ var Pagination = ({
5345
5380
  Pagination.displayName = "Pagination";
5346
5381
 
5347
5382
  // src/components/SkeletonParagraph.tsx
5348
- var import_jsx_runtime56 = require("react/jsx-runtime");
5383
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5349
5384
 
5350
5385
  // src/components/EmptyCartIcon.tsx
5351
- var import_jsx_runtime57 = require("react/jsx-runtime");
5386
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5352
5387
 
5353
5388
  // src/components/SearchResultImage/index.tsx
5354
5389
  var import_react35 = require("react");
5355
- var import_jsx_runtime58 = require("react/jsx-runtime");
5390
+ var import_jsx_runtime59 = require("react/jsx-runtime");
5356
5391
 
5357
5392
  // src/components/Alert.tsx
5358
5393
  var import_clsx38 = __toESM(require("clsx"), 1);
5359
5394
  var import_react36 = require("react");
5360
- var import_jsx_runtime59 = require("react/jsx-runtime");
5395
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5361
5396
 
5362
5397
  // src/components/OrderCheckIcon.tsx
5363
- var import_jsx_runtime60 = require("react/jsx-runtime");
5398
+ var import_jsx_runtime61 = require("react/jsx-runtime");
5399
+
5400
+ // src/components/AccessCard.tsx
5401
+ var import_clsx40 = __toESM(require("clsx"), 1);
5402
+
5403
+ // src/components/Radio.tsx
5404
+ var import_clsx39 = __toESM(require("clsx"), 1);
5405
+ var import_jsx_runtime62 = require("react/jsx-runtime");
5406
+ var Radio = (_a) => {
5407
+ var _b = _a, {
5408
+ className,
5409
+ label,
5410
+ error,
5411
+ disabled,
5412
+ checked,
5413
+ readOnly,
5414
+ id,
5415
+ testid
5416
+ } = _b, props = __objRest(_b, [
5417
+ "className",
5418
+ "label",
5419
+ "error",
5420
+ "disabled",
5421
+ "checked",
5422
+ "readOnly",
5423
+ "id",
5424
+ "testid"
5425
+ ]);
5426
+ const radioId = id;
5427
+ const paragraphColor = disabled ? "text-primary-disabled" : error ? "text-primary-error" : "text-primary-normal";
5428
+ const defaultClassName = (0, import_clsx39.default)(
5429
+ !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"
5430
+ );
5431
+ const errorClassName = (0, import_clsx39.default)(
5432
+ 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 "
5433
+ );
5434
+ const disabledClassName = (0, import_clsx39.default)(
5435
+ disabled && "peer-disabled:bg-background-action-secondary-disabled peer-disabled:border-border-primary-normal peer-checked:border-0"
5436
+ );
5437
+ const readonlyClassName = (0, import_clsx39.default)(
5438
+ readOnly && "peer-read-only:bg-background-action-secondary-disabled peer-read-only:border-border-primary-normal peer-checked:border-0"
5439
+ );
5440
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5441
+ "label",
5442
+ {
5443
+ htmlFor: radioId,
5444
+ "data-testid": testid,
5445
+ className: (0, import_clsx39.default)(
5446
+ "flex items-center",
5447
+ componentGap,
5448
+ disabled ? "cursor-default" : "cursor-pointer",
5449
+ className
5450
+ ),
5451
+ children: [
5452
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "relative", children: [
5453
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5454
+ "input",
5455
+ __spreadValues({
5456
+ id: radioId,
5457
+ "data-testid": testid ? `${testid}-input` : void 0,
5458
+ type: "radio",
5459
+ className: "sr-only peer",
5460
+ disabled,
5461
+ checked,
5462
+ readOnly
5463
+ }, props)
5464
+ ),
5465
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5466
+ "div",
5467
+ {
5468
+ className: (0, import_clsx39.default)(
5469
+ "size-6 rounded-full border flex items-center justify-center",
5470
+ baseTransition,
5471
+ defaultClassName,
5472
+ errorClassName,
5473
+ disabledClassName,
5474
+ readonlyClassName
5475
+ ),
5476
+ children: checked && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5477
+ RadioIcon,
5478
+ {
5479
+ className: (0, import_clsx39.default)(
5480
+ "transition-colors",
5481
+ !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",
5482
+ 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",
5483
+ disabled && "text-icon-on-action-secondary-disabled",
5484
+ readOnly && "text-icon-on-action-secondary-disabled"
5485
+ )
5486
+ }
5487
+ )
5488
+ }
5489
+ )
5490
+ ] }),
5491
+ 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 })
5492
+ ]
5493
+ }
5494
+ );
5495
+ };
5496
+ Radio.displayName = "Radio";
5497
+ var RadioIcon = ({ className }) => {
5498
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
5499
+ "svg",
5500
+ {
5501
+ className,
5502
+ xmlns: "http://www.w3.org/2000/svg",
5503
+ width: "24",
5504
+ height: "24",
5505
+ viewBox: "0 0 24 24",
5506
+ fill: "none",
5507
+ children: [
5508
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5509
+ "rect",
5510
+ {
5511
+ x: "1",
5512
+ y: "1",
5513
+ width: "22",
5514
+ height: "22",
5515
+ rx: "11",
5516
+ stroke: "currentColor",
5517
+ strokeWidth: "2"
5518
+ }
5519
+ ),
5520
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("rect", { x: "4", y: "4", width: "16", height: "16", rx: "8", fill: "currentColor" })
5521
+ ]
5522
+ }
5523
+ );
5524
+ };
5525
+ RadioIcon.displayName = "RadioIcon";
5526
+
5527
+ // src/components/AccessCard.tsx
5528
+ var import_jsx_runtime63 = require("react/jsx-runtime");
5529
+
5530
+ // src/components/AccessCardGroup.tsx
5531
+ var import_clsx41 = __toESM(require("clsx"), 1);
5532
+ var import_react37 = require("react");
5533
+ var import_jsx_runtime64 = require("react/jsx-runtime");
5364
5534
 
5365
5535
  // src/components/CalendarRange.tsx
5366
- var import_jsx_runtime61 = require("react/jsx-runtime");
5536
+ var import_jsx_runtime65 = require("react/jsx-runtime");
5367
5537
  function DateCell(_a) {
5368
5538
  var _b = _a, {
5369
5539
  date,
@@ -5398,12 +5568,12 @@ function DateCell(_a) {
5398
5568
  "id",
5399
5569
  "testid"
5400
5570
  ]);
5401
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5571
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5402
5572
  "span",
5403
5573
  __spreadProps(__spreadValues({}, props), {
5404
5574
  id,
5405
5575
  "data-testid": testid,
5406
- className: (0, import_clsx39.default)(
5576
+ className: (0, import_clsx42.default)(
5407
5577
  "flex items-center justify-center aspect-square select-none transition-colors border duration-100 font-medium",
5408
5578
  typography.caption,
5409
5579
  cellPadding,
@@ -5474,20 +5644,20 @@ function CalendarRange({
5474
5644
  const fromDate = parseDate(from);
5475
5645
  const toDate = parseDate(to);
5476
5646
  const today = import_polyfill.Temporal.Now.plainDateISO();
5477
- const [baseMonth, setBaseMonth] = (0, import_react37.useState)(
5647
+ const [baseMonth, setBaseMonth] = (0, import_react38.useState)(
5478
5648
  fromDate != null ? fromDate : today.with({ day: 1 })
5479
5649
  );
5480
- const [selecting, setSelecting] = (0, import_react37.useState)("from");
5481
- const [pendingFrom, setPendingFrom] = (0, import_react37.useState)(void 0);
5482
- const [hoveredDate, setHoveredDate] = (0, import_react37.useState)(void 0);
5483
- (0, import_react37.useEffect)(() => {
5650
+ const [selecting, setSelecting] = (0, import_react38.useState)("from");
5651
+ const [pendingFrom, setPendingFrom] = (0, import_react38.useState)(void 0);
5652
+ const [hoveredDate, setHoveredDate] = (0, import_react38.useState)(void 0);
5653
+ (0, import_react38.useEffect)(() => {
5484
5654
  if (fromDate) {
5485
5655
  setBaseMonth(fromDate.with({ day: 1 }));
5486
5656
  } else if (toDate) {
5487
5657
  setBaseMonth(toDate.with({ day: 1 }));
5488
5658
  }
5489
5659
  }, [from, to]);
5490
- (0, import_react37.useEffect)(() => {
5660
+ (0, import_react38.useEffect)(() => {
5491
5661
  if (fromDate && toDate) {
5492
5662
  setSelecting("from");
5493
5663
  setPendingFrom(void 0);
@@ -5554,12 +5724,12 @@ function CalendarRange({
5554
5724
  }
5555
5725
  return false;
5556
5726
  }
5557
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5727
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5558
5728
  "div",
5559
5729
  {
5560
5730
  id,
5561
5731
  "data-testid": testid,
5562
- className: (0, import_clsx39.default)(
5732
+ className: (0, import_clsx42.default)(
5563
5733
  "relative bg-background-grouped-primary-normal rounded-base w-fit",
5564
5734
  layoutPaddding,
5565
5735
  layoutGap,
@@ -5567,15 +5737,15 @@ function CalendarRange({
5567
5737
  // baseTransition,
5568
5738
  "overflow-hidden"
5569
5739
  ),
5570
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5740
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5571
5741
  "div",
5572
5742
  {
5573
- className: (0, import_clsx39.default)(
5743
+ className: (0, import_clsx42.default)(
5574
5744
  "flex flex-row items-start justify-start bg-background-primary-normal overflow-clip",
5575
5745
  layoutGap
5576
5746
  ),
5577
5747
  children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
5578
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5748
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5579
5749
  CalendarPane,
5580
5750
  {
5581
5751
  getMonthData,
@@ -5633,45 +5803,45 @@ function CalendarPane({
5633
5803
  const years = Array.from({ length: 100 }).map(
5634
5804
  (_, i) => baseMonth.year - 50 + i
5635
5805
  );
5636
- const [monthMenuOpen, setMonthMenuOpen] = (0, import_react37.useState)(false);
5637
- const [yearMenuOpen, setYearMenuOpen] = (0, import_react37.useState)(false);
5638
- const monthMenuRef = (0, import_react37.useRef)(null);
5639
- const yearMenuRef = (0, import_react37.useRef)(null);
5806
+ const [monthMenuOpen, setMonthMenuOpen] = (0, import_react38.useState)(false);
5807
+ const [yearMenuOpen, setYearMenuOpen] = (0, import_react38.useState)(false);
5808
+ const monthMenuRef = (0, import_react38.useRef)(null);
5809
+ const yearMenuRef = (0, import_react38.useRef)(null);
5640
5810
  const month = getMonthData(offset);
5641
5811
  const totalCells = 42;
5642
5812
  const emptyCells = month.firstDayOffset;
5643
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react37.default.Fragment, { children: [
5644
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5813
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react38.default.Fragment, { children: [
5814
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5645
5815
  "div",
5646
5816
  {
5647
- className: (0, import_clsx39.default)("flex flex-col"),
5817
+ className: (0, import_clsx42.default)("flex flex-col"),
5648
5818
  children: [
5649
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5819
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
5650
5820
  "div",
5651
5821
  {
5652
- className: (0, import_clsx39.default)(
5822
+ className: (0, import_clsx42.default)(
5653
5823
  "flex flex-row items-center justify-between",
5654
5824
  typography.label,
5655
5825
  "text-text-action-primary-normal"
5656
5826
  ),
5657
5827
  children: [
5658
- idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5828
+ idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5659
5829
  "button",
5660
5830
  {
5661
5831
  id: id ? `${id}-prev-month-button` : void 0,
5662
5832
  "data-testid": testid ? `${testid}-prev-month-button` : void 0,
5663
5833
  type: "button",
5664
- className: (0, import_clsx39.default)(
5834
+ className: (0, import_clsx42.default)(
5665
5835
  "flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
5666
5836
  componentPadding
5667
5837
  ),
5668
5838
  "aria-label": "Previous month",
5669
5839
  onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
5670
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "chevron_left", size: 24 })
5840
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { name: "chevron_left", size: 24 })
5671
5841
  }
5672
- ) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: (0, import_clsx39.default)(componentPadding, "mr-1") }),
5673
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
5674
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5842
+ ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: (0, import_clsx42.default)(componentPadding, "mr-1") }),
5843
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
5844
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5675
5845
  "button",
5676
5846
  {
5677
5847
  ref: (el) => {
@@ -5686,13 +5856,13 @@ function CalendarPane({
5686
5856
  children: month.name
5687
5857
  }
5688
5858
  ),
5689
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5859
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5690
5860
  Menu,
5691
5861
  {
5692
5862
  show: monthMenuOpen,
5693
5863
  positionTo: monthMenuRef,
5694
5864
  setShow: () => setMonthMenuOpen(false),
5695
- children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5865
+ children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5696
5866
  MenuOption,
5697
5867
  {
5698
5868
  selected: baseMonth.month === x + 1,
@@ -5706,7 +5876,7 @@ function CalendarPane({
5706
5876
  ))
5707
5877
  }
5708
5878
  ),
5709
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5879
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5710
5880
  "button",
5711
5881
  {
5712
5882
  ref: (el) => {
@@ -5721,13 +5891,13 @@ function CalendarPane({
5721
5891
  children: month.year
5722
5892
  }
5723
5893
  ),
5724
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5894
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5725
5895
  Menu,
5726
5896
  {
5727
5897
  show: yearMenuOpen,
5728
5898
  positionTo: yearMenuRef,
5729
5899
  setShow: () => setYearMenuOpen(false),
5730
- children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5900
+ children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5731
5901
  MenuOption,
5732
5902
  {
5733
5903
  selected: baseMonth.year === y,
@@ -5742,28 +5912,28 @@ function CalendarPane({
5742
5912
  }
5743
5913
  )
5744
5914
  ] }),
5745
- (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5915
+ (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5746
5916
  "button",
5747
5917
  {
5748
5918
  id: id ? `${id}-next-month-button` : void 0,
5749
5919
  "data-testid": testid ? `${testid}-next-month-button` : void 0,
5750
5920
  type: "button",
5751
- className: (0, import_clsx39.default)(
5921
+ className: (0, import_clsx42.default)(
5752
5922
  "flex items-center justify-center rounded-base hover:bg-action-100 active:bg-action-300 text-icon-action-primary-normal",
5753
5923
  componentPadding
5754
5924
  ),
5755
5925
  "aria-label": "Next month",
5756
5926
  onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
5757
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "chevron_right", size: 24 })
5927
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Icon, { name: "chevron_right", size: 24 })
5758
5928
  }
5759
- ) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: (0, import_clsx39.default)(componentPadding, "ml-1") })
5929
+ ) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("span", { className: (0, import_clsx42.default)(componentPadding, "ml-1") })
5760
5930
  ]
5761
5931
  }
5762
5932
  ),
5763
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: (0, import_clsx39.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5933
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: (0, import_clsx42.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5764
5934
  "span",
5765
5935
  {
5766
- className: (0, import_clsx39.default)(
5936
+ className: (0, import_clsx42.default)(
5767
5937
  typography.caption,
5768
5938
  "text-text-secondary-normal text-center",
5769
5939
  "w-10"
@@ -5772,7 +5942,7 @@ function CalendarPane({
5772
5942
  },
5773
5943
  d
5774
5944
  )) }),
5775
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: (0, import_clsx39.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
5945
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: (0, import_clsx42.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
5776
5946
  const day = i - emptyCells + 1;
5777
5947
  const date = month.date.with({ day: 1 }).add({
5778
5948
  days: i - emptyCells
@@ -5786,7 +5956,7 @@ function CalendarPane({
5786
5956
  const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
5787
5957
  const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
5788
5958
  const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
5789
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5959
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5790
5960
  DateCell,
5791
5961
  {
5792
5962
  id: id ? `${id}-date-${date.toString()}` : void 0,
@@ -5811,10 +5981,10 @@ function CalendarPane({
5811
5981
  ]
5812
5982
  }
5813
5983
  ),
5814
- mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5984
+ mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5815
5985
  "div",
5816
5986
  {
5817
- className: (0, import_clsx39.default)(
5987
+ className: (0, import_clsx42.default)(
5818
5988
  "self-stretch bg-border-primary-normal rounded-base",
5819
5989
  // 1px width, full height, matches Figma divider
5820
5990
  "w-px"
@@ -5825,7 +5995,7 @@ function CalendarPane({
5825
5995
  }
5826
5996
 
5827
5997
  // src/components/DateRangeInput.tsx
5828
- var import_jsx_runtime62 = require("react/jsx-runtime");
5998
+ var import_jsx_runtime66 = require("react/jsx-runtime");
5829
5999
  var DateRangeInput = (_a) => {
5830
6000
  var _b = _a, {
5831
6001
  id,
@@ -5854,19 +6024,19 @@ var DateRangeInput = (_a) => {
5854
6024
  "isDateAvailable",
5855
6025
  "onPendingFromChange"
5856
6026
  ]);
5857
- const [visible, setVisible] = (0, import_react38.useState)(false);
5858
- const [inputValue, setInputValue] = (0, import_react38.useState)("");
5859
- const [isTyping, setIsTyping] = (0, import_react38.useState)(false);
5860
- const popoverRef = (0, import_react38.useRef)(null);
5861
- const rootRef = (0, import_react38.useRef)(null);
5862
- const triggerRef = (0, import_react38.useRef)(null);
5863
- const [calendarPosition, setCalendarPosition] = (0, import_react38.useState)({
6027
+ const [visible, setVisible] = (0, import_react39.useState)(false);
6028
+ const [inputValue, setInputValue] = (0, import_react39.useState)("");
6029
+ const [isTyping, setIsTyping] = (0, import_react39.useState)(false);
6030
+ const popoverRef = (0, import_react39.useRef)(null);
6031
+ const rootRef = (0, import_react39.useRef)(null);
6032
+ const triggerRef = (0, import_react39.useRef)(null);
6033
+ const [calendarPosition, setCalendarPosition] = (0, import_react39.useState)({
5864
6034
  top: 0,
5865
6035
  left: 0,
5866
6036
  width: 0
5867
6037
  });
5868
6038
  const [from, to] = value.split("|");
5869
- (0, import_react38.useEffect)(() => {
6039
+ (0, import_react39.useEffect)(() => {
5870
6040
  if (!isTyping) {
5871
6041
  const displayValue = formatDisplayValue2(from, to);
5872
6042
  if (displayValue) {
@@ -5874,7 +6044,7 @@ var DateRangeInput = (_a) => {
5874
6044
  }
5875
6045
  }
5876
6046
  }, [from, to, isTyping, disableRange]);
5877
- (0, import_react38.useLayoutEffect)(() => {
6047
+ (0, import_react39.useLayoutEffect)(() => {
5878
6048
  if (visible) {
5879
6049
  updatePosition();
5880
6050
  }
@@ -5889,7 +6059,7 @@ var DateRangeInput = (_a) => {
5889
6059
  });
5890
6060
  }
5891
6061
  };
5892
- (0, import_react38.useEffect)(() => {
6062
+ (0, import_react39.useEffect)(() => {
5893
6063
  updatePosition();
5894
6064
  const resizeObserver = new ResizeObserver(updatePosition);
5895
6065
  if (triggerRef.current) {
@@ -5901,7 +6071,7 @@ var DateRangeInput = (_a) => {
5901
6071
  window.removeEventListener("scroll", updatePosition);
5902
6072
  };
5903
6073
  }, []);
5904
- (0, import_react38.useEffect)(() => {
6074
+ (0, import_react39.useEffect)(() => {
5905
6075
  const handleKeyDown2 = (event) => {
5906
6076
  var _a2;
5907
6077
  if (event.key === "Escape" && popoverRef.current) {
@@ -5914,7 +6084,7 @@ var DateRangeInput = (_a) => {
5914
6084
  document.removeEventListener("keydown", handleKeyDown2);
5915
6085
  };
5916
6086
  }, []);
5917
- (0, import_react38.useEffect)(() => {
6087
+ (0, import_react39.useEffect)(() => {
5918
6088
  const handleClickOutside = (event) => {
5919
6089
  if (popoverRef.current && !popoverRef.current.contains(event.target) && triggerRef.current && !triggerRef.current.contains(event.target)) {
5920
6090
  setVisible(false);
@@ -6249,8 +6419,8 @@ var DateRangeInput = (_a) => {
6249
6419
  }
6250
6420
  }
6251
6421
  };
6252
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
6253
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6422
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx_runtime66.Fragment, { children: [
6423
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6254
6424
  InputBase,
6255
6425
  __spreadProps(__spreadValues({
6256
6426
  id,
@@ -6264,7 +6434,7 @@ var DateRangeInput = (_a) => {
6264
6434
  placeholder: disableRange ? "MM/DD/YYYY" : placeholder,
6265
6435
  disabled,
6266
6436
  readOnly,
6267
- after: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon, { name: "calendar_month" }),
6437
+ after: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: "calendar_month" }),
6268
6438
  onFocus: handleFocus,
6269
6439
  onClick: handleClick,
6270
6440
  onChange: handleInputChange,
@@ -6275,7 +6445,7 @@ var DateRangeInput = (_a) => {
6275
6445
  })
6276
6446
  ),
6277
6447
  visible && !readOnly && (0, import_react_dom5.createPortal)(
6278
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6448
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6279
6449
  "div",
6280
6450
  {
6281
6451
  ref: (el) => {
@@ -6287,7 +6457,7 @@ var DateRangeInput = (_a) => {
6287
6457
  left: `${calendarPosition.left}px`,
6288
6458
  minWidth: `${calendarPosition.width}px`
6289
6459
  },
6290
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
6460
+ children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
6291
6461
  CalendarRange,
6292
6462
  {
6293
6463
  id: id ? `${id}-calendar` : void 0,