@dmsi/wedgekit-react 0.0.387 → 0.0.389

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 (113) hide show
  1. package/dist/{chunk-PH76F7QS.js → chunk-2HMCS25C.js} +1 -1
  2. package/dist/{chunk-HPQWEZJL.js → chunk-3X3Y4TMS.js} +7 -2
  3. package/dist/{chunk-3XOYPT5O.js → chunk-44TDIHUP.js} +1 -1
  4. package/dist/{chunk-F4CV7SBS.js → chunk-6I5LZ2ZC.js} +2 -2
  5. package/dist/{chunk-2FADUKPP.js → chunk-AA6GE3TH.js} +1 -1
  6. package/dist/{chunk-DCCTNHNL.js → chunk-ERW5DEIO.js} +1 -1
  7. package/dist/{chunk-4LXG6QNT.js → chunk-EZCH4PQS.js} +2 -1
  8. package/dist/{chunk-CQFPNZTN.js → chunk-G5DEC7H3.js} +15 -5
  9. package/dist/{chunk-MX57T3HP.js → chunk-GB4ZTUQV.js} +8 -4
  10. package/dist/{chunk-TPXHOAY3.js → chunk-JIMJIJOF.js} +2 -2
  11. package/dist/{chunk-R4SFLYOZ.js → chunk-KZZKQLKF.js} +1 -1
  12. package/dist/{chunk-KKESN5SF.js → chunk-LCJZRP5S.js} +11 -2
  13. package/dist/{chunk-GNHKKYCY.js → chunk-LLZ3SSZJ.js} +2 -2
  14. package/dist/{chunk-A7CEYUVE.js → chunk-LZGYABCX.js} +3 -3
  15. package/dist/{chunk-FSLETAX4.js → chunk-MQX7GFLX.js} +11 -4
  16. package/dist/{chunk-2T2GISEG.js → chunk-OW3WN3JV.js} +3 -3
  17. package/dist/components/Accordion.cjs +10 -5
  18. package/dist/components/Accordion.js +3 -3
  19. package/dist/components/CalendarRange.cjs +24 -21
  20. package/dist/components/CalendarRange.css +18 -0
  21. package/dist/components/CalendarRange.js +15 -15
  22. package/dist/components/Card.cjs +2 -1
  23. package/dist/components/Card.js +1 -1
  24. package/dist/components/CompactImagesPreview.cjs +18 -7
  25. package/dist/components/CompactImagesPreview.js +2 -2
  26. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +14 -11
  27. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +18 -0
  28. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +15 -15
  29. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +17 -14
  30. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +18 -0
  31. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +15 -15
  32. package/dist/components/DataGrid/PinnedColumns.cjs +19 -16
  33. package/dist/components/DataGrid/PinnedColumns.css +18 -0
  34. package/dist/components/DataGrid/PinnedColumns.js +15 -15
  35. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +12 -9
  36. package/dist/components/DataGrid/TableBody/LoadingCell.css +18 -0
  37. package/dist/components/DataGrid/TableBody/LoadingCell.js +15 -15
  38. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +14 -11
  39. package/dist/components/DataGrid/TableBody/TableBodyRow.css +18 -0
  40. package/dist/components/DataGrid/TableBody/TableBodyRow.js +15 -15
  41. package/dist/components/DataGrid/TableBody/index.cjs +14 -11
  42. package/dist/components/DataGrid/TableBody/index.css +18 -0
  43. package/dist/components/DataGrid/TableBody/index.js +15 -15
  44. package/dist/components/DataGrid/index.cjs +36 -33
  45. package/dist/components/DataGrid/index.css +18 -0
  46. package/dist/components/DataGrid/index.js +15 -15
  47. package/dist/components/DataGrid/utils.cjs +12 -9
  48. package/dist/components/DataGrid/utils.css +18 -0
  49. package/dist/components/DataGrid/utils.js +15 -15
  50. package/dist/components/DateInput.cjs +37 -34
  51. package/dist/components/DateInput.css +18 -0
  52. package/dist/components/DateInput.js +15 -15
  53. package/dist/components/DateRangeInput.cjs +37 -34
  54. package/dist/components/DateRangeInput.css +18 -0
  55. package/dist/components/DateRangeInput.js +15 -15
  56. package/dist/components/FilterGroup.cjs +11 -2
  57. package/dist/components/FilterGroup.js +1 -1
  58. package/dist/components/MobileDataGrid/ColumnList.cjs +8 -4
  59. package/dist/components/MobileDataGrid/ColumnList.js +3 -3
  60. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +16 -13
  61. package/dist/components/MobileDataGrid/ColumnSelector/index.css +18 -0
  62. package/dist/components/MobileDataGrid/ColumnSelector/index.js +15 -15
  63. package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +8 -4
  64. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
  65. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +24 -17
  66. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +18 -0
  67. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +15 -15
  68. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +8 -4
  69. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
  70. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +8 -4
  71. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +3 -3
  72. package/dist/components/MobileDataGrid/index.cjs +50 -43
  73. package/dist/components/MobileDataGrid/index.css +18 -0
  74. package/dist/components/MobileDataGrid/index.js +15 -15
  75. package/dist/components/Notification.cjs +8 -4
  76. package/dist/components/Notification.js +1 -1
  77. package/dist/components/OptionPill.cjs +11 -2
  78. package/dist/components/OptionPill.js +1 -1
  79. package/dist/components/PDFViewer/PDFElement.cjs +8 -4
  80. package/dist/components/PDFViewer/PDFElement.js +2 -2
  81. package/dist/components/PDFViewer/PDFNavigation.cjs +8 -4
  82. package/dist/components/PDFViewer/PDFNavigation.js +2 -2
  83. package/dist/components/PDFViewer/index.cjs +8 -4
  84. package/dist/components/PDFViewer/index.js +4 -4
  85. package/dist/components/ProductImagePreview/ProductPrimaryImage.cjs +15 -5
  86. package/dist/components/ProductImagePreview/ProductPrimaryImage.js +1 -1
  87. package/dist/components/ProductImagePreview/Thumbnail.cjs +7 -2
  88. package/dist/components/ProductImagePreview/Thumbnail.js +1 -1
  89. package/dist/components/ProductImagePreview/index.cjs +84 -63
  90. package/dist/components/ProductImagePreview/index.js +4 -4
  91. package/dist/components/SideMenuGroup.cjs +8 -4
  92. package/dist/components/SideMenuGroup.js +1 -1
  93. package/dist/components/SideMenuItem.cjs +8 -4
  94. package/dist/components/SideMenuItem.js +1 -1
  95. package/dist/components/Stack.cjs +8 -4
  96. package/dist/components/Stack.js +1 -1
  97. package/dist/components/Swatch.cjs +8 -4
  98. package/dist/components/Swatch.js +1 -1
  99. package/dist/components/Time.cjs +8 -4
  100. package/dist/components/Time.js +1 -1
  101. package/dist/components/Upload.cjs +8 -4
  102. package/dist/components/Upload.js +1 -1
  103. package/dist/components/index.cjs +100 -71
  104. package/dist/components/index.css +18 -0
  105. package/dist/components/index.js +15 -15
  106. package/dist/index.css +18 -0
  107. package/package.json +1 -1
  108. package/src/components/Card.tsx +15 -4
  109. package/src/components/CompactImagesPreview.tsx +10 -3
  110. package/src/components/OptionPill.tsx +13 -1
  111. package/src/components/ProductImagePreview/ProductPrimaryImage.tsx +16 -5
  112. package/src/components/ProductImagePreview/Thumbnail.tsx +7 -1
  113. package/src/components/Stack.tsx +4 -0
@@ -62,7 +62,7 @@ __export(DateInput_exports, {
62
62
  DateInput: () => DateInput
63
63
  });
64
64
  module.exports = __toCommonJS(DateInput_exports);
65
- var import_react36 = require("react");
65
+ var import_react37 = require("react");
66
66
  var import_react_dom4 = require("react-dom");
67
67
 
68
68
  // src/components/Input.tsx
@@ -717,7 +717,7 @@ Percentage.displayName = "Percentage";
717
717
 
718
718
  // src/components/CalendarRange.tsx
719
719
  var import_clsx35 = __toESM(require("clsx"), 1);
720
- var import_react35 = __toESM(require("react"), 1);
720
+ var import_react36 = __toESM(require("react"), 1);
721
721
  var import_polyfill = require("@js-temporal/polyfill");
722
722
 
723
723
  // src/components/DataGridCell.tsx
@@ -4628,6 +4628,9 @@ var import_jsx_runtime39 = require("react/jsx-runtime");
4628
4628
  // src/components/MobileDataGrid/index.tsx
4629
4629
  var import_jsx_runtime40 = require("react/jsx-runtime");
4630
4630
 
4631
+ // src/components/ProductImagePreview/Thumbnail.tsx
4632
+ var import_react26 = require("react");
4633
+
4631
4634
  // src/components/ImagePlaceholder.tsx
4632
4635
  var import_react25 = require("react");
4633
4636
  var import_jsx_runtime41 = require("react/jsx-runtime");
@@ -4636,12 +4639,12 @@ var import_jsx_runtime41 = require("react/jsx-runtime");
4636
4639
  var import_jsx_runtime42 = require("react/jsx-runtime");
4637
4640
 
4638
4641
  // src/components/Grid.tsx
4639
- var import_react26 = require("react");
4642
+ var import_react27 = require("react");
4640
4643
  var import_clsx30 = __toESM(require("clsx"), 1);
4641
4644
  var import_jsx_runtime43 = require("react/jsx-runtime");
4642
4645
 
4643
4646
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
4644
- var import_react27 = require("react");
4647
+ var import_react28 = require("react");
4645
4648
 
4646
4649
  // src/components/Spinner.tsx
4647
4650
  var import_jsx_runtime44 = require("react/jsx-runtime");
@@ -4677,7 +4680,7 @@ Spinner.displayName = "Spinner";
4677
4680
  var import_jsx_runtime45 = require("react/jsx-runtime");
4678
4681
 
4679
4682
  // src/components/ProductImagePreview/ZoomWindow.tsx
4680
- var import_react28 = require("react");
4683
+ var import_react29 = require("react");
4681
4684
 
4682
4685
  // src/components/Surface.tsx
4683
4686
  var import_clsx31 = __toESM(require("clsx"), 1);
@@ -4722,30 +4725,30 @@ var import_clsx32 = require("clsx");
4722
4725
  var import_jsx_runtime48 = require("react/jsx-runtime");
4723
4726
 
4724
4727
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
4725
- var import_react29 = require("react");
4728
+ var import_react30 = require("react");
4726
4729
  var import_jsx_runtime49 = require("react/jsx-runtime");
4727
4730
 
4728
4731
  // src/components/ProductImagePreview/useProductImagePreview.ts
4729
- var import_react30 = require("react");
4732
+ var import_react31 = require("react");
4730
4733
 
4731
4734
  // src/components/ProductImagePreview/index.tsx
4732
4735
  var import_jsx_runtime50 = require("react/jsx-runtime");
4733
4736
 
4734
4737
  // src/components/CompactImagesPreview.tsx
4735
- var import_react31 = require("react");
4738
+ var import_react32 = require("react");
4736
4739
  var import_clsx33 = __toESM(require("clsx"), 1);
4737
4740
  var import_jsx_runtime51 = require("react/jsx-runtime");
4738
4741
 
4739
4742
  // src/components/PDFViewer/index.tsx
4740
- var import_react34 = require("react");
4743
+ var import_react35 = require("react");
4741
4744
 
4742
4745
  // src/components/PDFViewer/PDFElement.tsx
4743
4746
  var import_react_pdf2 = require("@mikecousins/react-pdf");
4744
- var import_react33 = require("react");
4747
+ var import_react34 = require("react");
4745
4748
 
4746
4749
  // src/components/PDFViewer/PDFPage.tsx
4747
4750
  var import_react_pdf = require("@mikecousins/react-pdf");
4748
- var import_react32 = require("react");
4751
+ var import_react33 = require("react");
4749
4752
  var import_jsx_runtime52 = require("react/jsx-runtime");
4750
4753
 
4751
4754
  // src/components/PDFViewer/PDFElement.tsx
@@ -4872,20 +4875,20 @@ function CalendarRange({
4872
4875
  const fromDate = parseDate(from);
4873
4876
  const toDate = parseDate(to);
4874
4877
  const today = import_polyfill.Temporal.Now.plainDateISO();
4875
- const [baseMonth, setBaseMonth] = (0, import_react35.useState)(
4878
+ const [baseMonth, setBaseMonth] = (0, import_react36.useState)(
4876
4879
  fromDate != null ? fromDate : today.with({ day: 1 })
4877
4880
  );
4878
- const [selecting, setSelecting] = (0, import_react35.useState)("from");
4879
- const [pendingFrom, setPendingFrom] = (0, import_react35.useState)(void 0);
4880
- const [hoveredDate, setHoveredDate] = (0, import_react35.useState)(void 0);
4881
- (0, import_react35.useEffect)(() => {
4881
+ const [selecting, setSelecting] = (0, import_react36.useState)("from");
4882
+ const [pendingFrom, setPendingFrom] = (0, import_react36.useState)(void 0);
4883
+ const [hoveredDate, setHoveredDate] = (0, import_react36.useState)(void 0);
4884
+ (0, import_react36.useEffect)(() => {
4882
4885
  if (fromDate) {
4883
4886
  setBaseMonth(fromDate.with({ day: 1 }));
4884
4887
  } else if (toDate) {
4885
4888
  setBaseMonth(toDate.with({ day: 1 }));
4886
4889
  }
4887
4890
  }, [from, to]);
4888
- (0, import_react35.useEffect)(() => {
4891
+ (0, import_react36.useEffect)(() => {
4889
4892
  if (fromDate && toDate) {
4890
4893
  setSelecting("from");
4891
4894
  setPendingFrom(void 0);
@@ -5030,14 +5033,14 @@ function CalendarPane({
5030
5033
  const years = Array.from({ length: 100 }).map(
5031
5034
  (_, i) => baseMonth.year - 50 + i
5032
5035
  );
5033
- const [monthMenuOpen, setMonthMenuOpen] = (0, import_react35.useState)(false);
5034
- const [yearMenuOpen, setYearMenuOpen] = (0, import_react35.useState)(false);
5035
- const monthMenuRef = (0, import_react35.useRef)(null);
5036
- const yearMenuRef = (0, import_react35.useRef)(null);
5036
+ const [monthMenuOpen, setMonthMenuOpen] = (0, import_react36.useState)(false);
5037
+ const [yearMenuOpen, setYearMenuOpen] = (0, import_react36.useState)(false);
5038
+ const monthMenuRef = (0, import_react36.useRef)(null);
5039
+ const yearMenuRef = (0, import_react36.useRef)(null);
5037
5040
  const month = getMonthData(offset);
5038
5041
  const totalCells = 42;
5039
5042
  const emptyCells = month.firstDayOffset;
5040
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react35.default.Fragment, { children: [
5043
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react36.default.Fragment, { children: [
5041
5044
  /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5042
5045
  "div",
5043
5046
  {
@@ -5243,24 +5246,24 @@ var DateInput = (_a) => {
5243
5246
  "readOnly",
5244
5247
  "label"
5245
5248
  ]);
5246
- const [visible, setVisible] = (0, import_react36.useState)(false);
5247
- const [inputValue, setInputValue] = (0, import_react36.useState)("");
5248
- const [isTyping, setIsTyping] = (0, import_react36.useState)(false);
5249
- const popoverRef = (0, import_react36.useRef)(null);
5250
- const triggerRef = (0, import_react36.useRef)(null);
5251
- const rootRef = (0, import_react36.useRef)(null);
5252
- const [calendarPosition, setCalendarPosition] = (0, import_react36.useState)({
5249
+ const [visible, setVisible] = (0, import_react37.useState)(false);
5250
+ const [inputValue, setInputValue] = (0, import_react37.useState)("");
5251
+ const [isTyping, setIsTyping] = (0, import_react37.useState)(false);
5252
+ const popoverRef = (0, import_react37.useRef)(null);
5253
+ const triggerRef = (0, import_react37.useRef)(null);
5254
+ const rootRef = (0, import_react37.useRef)(null);
5255
+ const [calendarPosition, setCalendarPosition] = (0, import_react37.useState)({
5253
5256
  top: 0,
5254
5257
  left: 0,
5255
5258
  width: 0
5256
5259
  });
5257
5260
  const [from, to] = [value, ""];
5258
- (0, import_react36.useEffect)(() => {
5261
+ (0, import_react37.useEffect)(() => {
5259
5262
  if (!isTyping) {
5260
5263
  setInputValue(formatDisplayValue(from));
5261
5264
  }
5262
5265
  }, [from, isTyping]);
5263
- (0, import_react36.useLayoutEffect)(() => {
5266
+ (0, import_react37.useLayoutEffect)(() => {
5264
5267
  if (visible) {
5265
5268
  updatePosition();
5266
5269
  }
@@ -5275,7 +5278,7 @@ var DateInput = (_a) => {
5275
5278
  });
5276
5279
  }
5277
5280
  };
5278
- (0, import_react36.useEffect)(() => {
5281
+ (0, import_react37.useEffect)(() => {
5279
5282
  updatePosition();
5280
5283
  const resizeObserver = new ResizeObserver(updatePosition);
5281
5284
  if (triggerRef.current) {
@@ -5287,7 +5290,7 @@ var DateInput = (_a) => {
5287
5290
  window.removeEventListener("scroll", updatePosition);
5288
5291
  };
5289
5292
  }, []);
5290
- (0, import_react36.useEffect)(() => {
5293
+ (0, import_react37.useEffect)(() => {
5291
5294
  const handleKeyDown2 = (event) => {
5292
5295
  var _a2;
5293
5296
  if (event.key === "Escape" && popoverRef.current) {
@@ -5300,7 +5303,7 @@ var DateInput = (_a) => {
5300
5303
  document.removeEventListener("keydown", handleKeyDown2);
5301
5304
  };
5302
5305
  });
5303
- (0, import_react36.useEffect)(() => {
5306
+ (0, import_react37.useEffect)(() => {
5304
5307
  const handleClickOutside = (event) => {
5305
5308
  if (popoverRef.current && !popoverRef.current.contains(event.target) && triggerRef.current && !triggerRef.current.contains(event.target)) {
5306
5309
  setVisible(false);
@@ -823,6 +823,9 @@
823
823
  .min-h-\[120px\] {
824
824
  min-height: 120px;
825
825
  }
826
+ .min-h-full {
827
+ min-height: 100%;
828
+ }
826
829
  .min-h-min {
827
830
  min-height: min-content;
828
831
  }
@@ -3594,6 +3597,21 @@
3594
3597
  outline-style: none;
3595
3598
  }
3596
3599
  }
3600
+ .data-active\:border-transparent {
3601
+ &[data-active] {
3602
+ border-color: transparent;
3603
+ }
3604
+ }
3605
+ .data-active\:bg-background-action-primary-normal {
3606
+ &[data-active] {
3607
+ background-color: var(--color-background-action-primary-normal);
3608
+ }
3609
+ }
3610
+ .data-active\:text-white {
3611
+ &[data-active] {
3612
+ color: var(--color-white);
3613
+ }
3614
+ }
3597
3615
  .data-disabled\:cursor-default {
3598
3616
  &[data-disabled] {
3599
3617
  cursor: default;
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  CalendarRange
3
3
  } from "../chunk-UOHCOOC2.js";
4
- import "../chunk-2T2GISEG.js";
4
+ import "../chunk-OW3WN3JV.js";
5
5
  import "../chunk-M7INAUAJ.js";
6
- import "../chunk-F4CV7SBS.js";
7
- import "../chunk-3XOYPT5O.js";
8
- import "../chunk-A7CEYUVE.js";
9
- import "../chunk-CQFPNZTN.js";
10
- import "../chunk-HPQWEZJL.js";
6
+ import "../chunk-6I5LZ2ZC.js";
7
+ import "../chunk-44TDIHUP.js";
8
+ import "../chunk-LZGYABCX.js";
9
+ import "../chunk-G5DEC7H3.js";
10
+ import "../chunk-3X3Y4TMS.js";
11
11
  import "../chunk-BQNPOGD5.js";
12
- import "../chunk-GNHKKYCY.js";
12
+ import "../chunk-LLZ3SSZJ.js";
13
13
  import "../chunk-EJSPFQCY.js";
14
- import "../chunk-DCCTNHNL.js";
15
- import "../chunk-PH76F7QS.js";
14
+ import "../chunk-ERW5DEIO.js";
15
+ import "../chunk-2HMCS25C.js";
16
16
  import "../chunk-VJVY6NPF.js";
17
17
  import "../chunk-MBZ55T2D.js";
18
18
  import "../chunk-2IKT6IHB.js";
19
- import "../chunk-2FADUKPP.js";
20
- import "../chunk-R4SFLYOZ.js";
19
+ import "../chunk-AA6GE3TH.js";
20
+ import "../chunk-KZZKQLKF.js";
21
21
  import "../chunk-5IFPG6TS.js";
22
22
  import "../chunk-AJ5M6MVX.js";
23
23
  import "../chunk-M6TSTDNZ.js";
@@ -36,7 +36,7 @@ import "../chunk-ER6RCOH3.js";
36
36
  import "../chunk-EU73QPW7.js";
37
37
  import "../chunk-QVWYTQKL.js";
38
38
  import "../chunk-NO5BIKWS.js";
39
- import "../chunk-FSLETAX4.js";
39
+ import "../chunk-MQX7GFLX.js";
40
40
  import "../chunk-V47RTW7E.js";
41
41
  import "../chunk-22VBZWJG.js";
42
42
  import "../chunk-NVOZAVEX.js";
@@ -60,9 +60,9 @@ import {
60
60
  } from "../chunk-TYTD4FLW.js";
61
61
  import "../chunk-5UH6QUFB.js";
62
62
  import "../chunk-FA7IFW66.js";
63
- import "../chunk-TPXHOAY3.js";
64
- import "../chunk-4LXG6QNT.js";
65
- import "../chunk-MX57T3HP.js";
63
+ import "../chunk-JIMJIJOF.js";
64
+ import "../chunk-EZCH4PQS.js";
65
+ import "../chunk-GB4ZTUQV.js";
66
66
  import "../chunk-OGIFIPKH.js";
67
67
  import {
68
68
  Icon
@@ -62,7 +62,7 @@ __export(DateRangeInput_exports, {
62
62
  DateRangeInput: () => DateRangeInput
63
63
  });
64
64
  module.exports = __toCommonJS(DateRangeInput_exports);
65
- var import_react36 = require("react");
65
+ var import_react37 = require("react");
66
66
  var import_react_dom4 = require("react-dom");
67
67
 
68
68
  // src/components/Input.tsx
@@ -717,7 +717,7 @@ Percentage.displayName = "Percentage";
717
717
 
718
718
  // src/components/CalendarRange.tsx
719
719
  var import_clsx35 = __toESM(require("clsx"), 1);
720
- var import_react35 = __toESM(require("react"), 1);
720
+ var import_react36 = __toESM(require("react"), 1);
721
721
  var import_polyfill = require("@js-temporal/polyfill");
722
722
 
723
723
  // src/components/DataGridCell.tsx
@@ -4636,6 +4636,9 @@ var import_jsx_runtime39 = require("react/jsx-runtime");
4636
4636
  // src/components/MobileDataGrid/index.tsx
4637
4637
  var import_jsx_runtime40 = require("react/jsx-runtime");
4638
4638
 
4639
+ // src/components/ProductImagePreview/Thumbnail.tsx
4640
+ var import_react26 = require("react");
4641
+
4639
4642
  // src/components/ImagePlaceholder.tsx
4640
4643
  var import_react25 = require("react");
4641
4644
  var import_jsx_runtime41 = require("react/jsx-runtime");
@@ -4644,12 +4647,12 @@ var import_jsx_runtime41 = require("react/jsx-runtime");
4644
4647
  var import_jsx_runtime42 = require("react/jsx-runtime");
4645
4648
 
4646
4649
  // src/components/Grid.tsx
4647
- var import_react26 = require("react");
4650
+ var import_react27 = require("react");
4648
4651
  var import_clsx30 = __toESM(require("clsx"), 1);
4649
4652
  var import_jsx_runtime43 = require("react/jsx-runtime");
4650
4653
 
4651
4654
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
4652
- var import_react27 = require("react");
4655
+ var import_react28 = require("react");
4653
4656
 
4654
4657
  // src/components/Spinner.tsx
4655
4658
  var import_jsx_runtime44 = require("react/jsx-runtime");
@@ -4685,7 +4688,7 @@ Spinner.displayName = "Spinner";
4685
4688
  var import_jsx_runtime45 = require("react/jsx-runtime");
4686
4689
 
4687
4690
  // src/components/ProductImagePreview/ZoomWindow.tsx
4688
- var import_react28 = require("react");
4691
+ var import_react29 = require("react");
4689
4692
 
4690
4693
  // src/components/Surface.tsx
4691
4694
  var import_clsx31 = __toESM(require("clsx"), 1);
@@ -4730,30 +4733,30 @@ var import_clsx32 = require("clsx");
4730
4733
  var import_jsx_runtime48 = require("react/jsx-runtime");
4731
4734
 
4732
4735
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
4733
- var import_react29 = require("react");
4736
+ var import_react30 = require("react");
4734
4737
  var import_jsx_runtime49 = require("react/jsx-runtime");
4735
4738
 
4736
4739
  // src/components/ProductImagePreview/useProductImagePreview.ts
4737
- var import_react30 = require("react");
4740
+ var import_react31 = require("react");
4738
4741
 
4739
4742
  // src/components/ProductImagePreview/index.tsx
4740
4743
  var import_jsx_runtime50 = require("react/jsx-runtime");
4741
4744
 
4742
4745
  // src/components/CompactImagesPreview.tsx
4743
- var import_react31 = require("react");
4746
+ var import_react32 = require("react");
4744
4747
  var import_clsx33 = __toESM(require("clsx"), 1);
4745
4748
  var import_jsx_runtime51 = require("react/jsx-runtime");
4746
4749
 
4747
4750
  // src/components/PDFViewer/index.tsx
4748
- var import_react34 = require("react");
4751
+ var import_react35 = require("react");
4749
4752
 
4750
4753
  // src/components/PDFViewer/PDFElement.tsx
4751
4754
  var import_react_pdf2 = require("@mikecousins/react-pdf");
4752
- var import_react33 = require("react");
4755
+ var import_react34 = require("react");
4753
4756
 
4754
4757
  // src/components/PDFViewer/PDFPage.tsx
4755
4758
  var import_react_pdf = require("@mikecousins/react-pdf");
4756
- var import_react32 = require("react");
4759
+ var import_react33 = require("react");
4757
4760
  var import_jsx_runtime52 = require("react/jsx-runtime");
4758
4761
 
4759
4762
  // src/components/PDFViewer/PDFElement.tsx
@@ -4880,20 +4883,20 @@ function CalendarRange({
4880
4883
  const fromDate = parseDate(from);
4881
4884
  const toDate = parseDate(to);
4882
4885
  const today = import_polyfill.Temporal.Now.plainDateISO();
4883
- const [baseMonth, setBaseMonth] = (0, import_react35.useState)(
4886
+ const [baseMonth, setBaseMonth] = (0, import_react36.useState)(
4884
4887
  fromDate != null ? fromDate : today.with({ day: 1 })
4885
4888
  );
4886
- const [selecting, setSelecting] = (0, import_react35.useState)("from");
4887
- const [pendingFrom, setPendingFrom] = (0, import_react35.useState)(void 0);
4888
- const [hoveredDate, setHoveredDate] = (0, import_react35.useState)(void 0);
4889
- (0, import_react35.useEffect)(() => {
4889
+ const [selecting, setSelecting] = (0, import_react36.useState)("from");
4890
+ const [pendingFrom, setPendingFrom] = (0, import_react36.useState)(void 0);
4891
+ const [hoveredDate, setHoveredDate] = (0, import_react36.useState)(void 0);
4892
+ (0, import_react36.useEffect)(() => {
4890
4893
  if (fromDate) {
4891
4894
  setBaseMonth(fromDate.with({ day: 1 }));
4892
4895
  } else if (toDate) {
4893
4896
  setBaseMonth(toDate.with({ day: 1 }));
4894
4897
  }
4895
4898
  }, [from, to]);
4896
- (0, import_react35.useEffect)(() => {
4899
+ (0, import_react36.useEffect)(() => {
4897
4900
  if (fromDate && toDate) {
4898
4901
  setSelecting("from");
4899
4902
  setPendingFrom(void 0);
@@ -5038,14 +5041,14 @@ function CalendarPane({
5038
5041
  const years = Array.from({ length: 100 }).map(
5039
5042
  (_, i) => baseMonth.year - 50 + i
5040
5043
  );
5041
- const [monthMenuOpen, setMonthMenuOpen] = (0, import_react35.useState)(false);
5042
- const [yearMenuOpen, setYearMenuOpen] = (0, import_react35.useState)(false);
5043
- const monthMenuRef = (0, import_react35.useRef)(null);
5044
- const yearMenuRef = (0, import_react35.useRef)(null);
5044
+ const [monthMenuOpen, setMonthMenuOpen] = (0, import_react36.useState)(false);
5045
+ const [yearMenuOpen, setYearMenuOpen] = (0, import_react36.useState)(false);
5046
+ const monthMenuRef = (0, import_react36.useRef)(null);
5047
+ const yearMenuRef = (0, import_react36.useRef)(null);
5045
5048
  const month = getMonthData(offset);
5046
5049
  const totalCells = 42;
5047
5050
  const emptyCells = month.firstDayOffset;
5048
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react35.default.Fragment, { children: [
5051
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react36.default.Fragment, { children: [
5049
5052
  /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5050
5053
  "div",
5051
5054
  {
@@ -5255,24 +5258,24 @@ var DateRangeInput = (_a) => {
5255
5258
  "disableRange",
5256
5259
  "label"
5257
5260
  ]);
5258
- const [visible, setVisible] = (0, import_react36.useState)(false);
5259
- const [inputValue, setInputValue] = (0, import_react36.useState)("");
5260
- const [isTyping, setIsTyping] = (0, import_react36.useState)(false);
5261
- const popoverRef = (0, import_react36.useRef)(null);
5262
- const rootRef = (0, import_react36.useRef)(null);
5263
- const triggerRef = (0, import_react36.useRef)(null);
5264
- const [calendarPosition, setCalendarPosition] = (0, import_react36.useState)({
5261
+ const [visible, setVisible] = (0, import_react37.useState)(false);
5262
+ const [inputValue, setInputValue] = (0, import_react37.useState)("");
5263
+ const [isTyping, setIsTyping] = (0, import_react37.useState)(false);
5264
+ const popoverRef = (0, import_react37.useRef)(null);
5265
+ const rootRef = (0, import_react37.useRef)(null);
5266
+ const triggerRef = (0, import_react37.useRef)(null);
5267
+ const [calendarPosition, setCalendarPosition] = (0, import_react37.useState)({
5265
5268
  top: 0,
5266
5269
  left: 0,
5267
5270
  width: 0
5268
5271
  });
5269
5272
  const [from, to] = value.split("|");
5270
- (0, import_react36.useEffect)(() => {
5273
+ (0, import_react37.useEffect)(() => {
5271
5274
  if (!isTyping) {
5272
5275
  setInputValue(formatDisplayValue(from, to));
5273
5276
  }
5274
5277
  }, [from, to, isTyping, disableRange]);
5275
- (0, import_react36.useLayoutEffect)(() => {
5278
+ (0, import_react37.useLayoutEffect)(() => {
5276
5279
  if (visible) {
5277
5280
  updatePosition();
5278
5281
  }
@@ -5287,7 +5290,7 @@ var DateRangeInput = (_a) => {
5287
5290
  });
5288
5291
  }
5289
5292
  };
5290
- (0, import_react36.useEffect)(() => {
5293
+ (0, import_react37.useEffect)(() => {
5291
5294
  updatePosition();
5292
5295
  const resizeObserver = new ResizeObserver(updatePosition);
5293
5296
  if (triggerRef.current) {
@@ -5299,7 +5302,7 @@ var DateRangeInput = (_a) => {
5299
5302
  window.removeEventListener("scroll", updatePosition);
5300
5303
  };
5301
5304
  }, []);
5302
- (0, import_react36.useEffect)(() => {
5305
+ (0, import_react37.useEffect)(() => {
5303
5306
  const handleKeyDown2 = (event) => {
5304
5307
  var _a2;
5305
5308
  if (event.key === "Escape" && popoverRef.current) {
@@ -5312,7 +5315,7 @@ var DateRangeInput = (_a) => {
5312
5315
  document.removeEventListener("keydown", handleKeyDown2);
5313
5316
  };
5314
5317
  }, []);
5315
- (0, import_react36.useEffect)(() => {
5318
+ (0, import_react37.useEffect)(() => {
5316
5319
  const handleClickOutside = (event) => {
5317
5320
  if (popoverRef.current && !popoverRef.current.contains(event.target) && triggerRef.current && !triggerRef.current.contains(event.target)) {
5318
5321
  setVisible(false);
@@ -823,6 +823,9 @@
823
823
  .min-h-\[120px\] {
824
824
  min-height: 120px;
825
825
  }
826
+ .min-h-full {
827
+ min-height: 100%;
828
+ }
826
829
  .min-h-min {
827
830
  min-height: min-content;
828
831
  }
@@ -3594,6 +3597,21 @@
3594
3597
  outline-style: none;
3595
3598
  }
3596
3599
  }
3600
+ .data-active\:border-transparent {
3601
+ &[data-active] {
3602
+ border-color: transparent;
3603
+ }
3604
+ }
3605
+ .data-active\:bg-background-action-primary-normal {
3606
+ &[data-active] {
3607
+ background-color: var(--color-background-action-primary-normal);
3608
+ }
3609
+ }
3610
+ .data-active\:text-white {
3611
+ &[data-active] {
3612
+ color: var(--color-white);
3613
+ }
3614
+ }
3597
3615
  .data-disabled\:cursor-default {
3598
3616
  &[data-disabled] {
3599
3617
  cursor: default;
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  CalendarRange
3
3
  } from "../chunk-UOHCOOC2.js";
4
- import "../chunk-2T2GISEG.js";
4
+ import "../chunk-OW3WN3JV.js";
5
5
  import "../chunk-M7INAUAJ.js";
6
- import "../chunk-F4CV7SBS.js";
7
- import "../chunk-3XOYPT5O.js";
8
- import "../chunk-A7CEYUVE.js";
9
- import "../chunk-CQFPNZTN.js";
10
- import "../chunk-HPQWEZJL.js";
6
+ import "../chunk-6I5LZ2ZC.js";
7
+ import "../chunk-44TDIHUP.js";
8
+ import "../chunk-LZGYABCX.js";
9
+ import "../chunk-G5DEC7H3.js";
10
+ import "../chunk-3X3Y4TMS.js";
11
11
  import "../chunk-BQNPOGD5.js";
12
- import "../chunk-GNHKKYCY.js";
12
+ import "../chunk-LLZ3SSZJ.js";
13
13
  import "../chunk-EJSPFQCY.js";
14
- import "../chunk-DCCTNHNL.js";
15
- import "../chunk-PH76F7QS.js";
14
+ import "../chunk-ERW5DEIO.js";
15
+ import "../chunk-2HMCS25C.js";
16
16
  import "../chunk-VJVY6NPF.js";
17
17
  import "../chunk-MBZ55T2D.js";
18
18
  import "../chunk-2IKT6IHB.js";
19
- import "../chunk-2FADUKPP.js";
20
- import "../chunk-R4SFLYOZ.js";
19
+ import "../chunk-AA6GE3TH.js";
20
+ import "../chunk-KZZKQLKF.js";
21
21
  import "../chunk-5IFPG6TS.js";
22
22
  import "../chunk-AJ5M6MVX.js";
23
23
  import "../chunk-M6TSTDNZ.js";
@@ -36,7 +36,7 @@ import "../chunk-ER6RCOH3.js";
36
36
  import "../chunk-EU73QPW7.js";
37
37
  import "../chunk-QVWYTQKL.js";
38
38
  import "../chunk-NO5BIKWS.js";
39
- import "../chunk-FSLETAX4.js";
39
+ import "../chunk-MQX7GFLX.js";
40
40
  import "../chunk-V47RTW7E.js";
41
41
  import "../chunk-22VBZWJG.js";
42
42
  import "../chunk-NVOZAVEX.js";
@@ -61,9 +61,9 @@ import {
61
61
  } from "../chunk-TYTD4FLW.js";
62
62
  import "../chunk-5UH6QUFB.js";
63
63
  import "../chunk-FA7IFW66.js";
64
- import "../chunk-TPXHOAY3.js";
65
- import "../chunk-4LXG6QNT.js";
66
- import "../chunk-MX57T3HP.js";
64
+ import "../chunk-JIMJIJOF.js";
65
+ import "../chunk-EZCH4PQS.js";
66
+ import "../chunk-GB4ZTUQV.js";
67
67
  import "../chunk-OGIFIPKH.js";
68
68
  import {
69
69
  Icon
@@ -609,6 +609,7 @@ var OptionPill = (_a) => {
609
609
  onClick,
610
610
  onRemove,
611
611
  removable = false,
612
+ active = false,
612
613
  disabled = false,
613
614
  children,
614
615
  className
@@ -619,19 +620,27 @@ var OptionPill = (_a) => {
619
620
  "onClick",
620
621
  "onRemove",
621
622
  "removable",
623
+ "active",
622
624
  "disabled",
623
625
  "children",
624
626
  "className"
625
627
  ]);
626
628
  const additionalAttributes = {
627
629
  "data-disabled": disabled || null,
628
- "data-selected": selected || null
630
+ "data-selected": selected || null,
631
+ "data-active": active || null
629
632
  };
630
633
  const classNames = (0, import_clsx7.default)(
631
634
  {
635
+ // Base interactive (only when not disabled)
632
636
  "hover:border-border-action-hover active:border-border-action-active": !disabled,
637
+ // Disabled base
633
638
  "data-disabled:cursor-default data-disabled:border-border-primary-normal": disabled,
639
+ // Active (Figma: filled blue background, white text)
640
+ "data-active:bg-background-action-primary-normal data-active:text-white data-active:border-transparent": active && !selected,
641
+ // Selected (filled style) overrides background & border, but keeps outline interaction chain.
634
642
  "data-selected:border-transparent data-selected:bg-background-action-secondary-hover data-selected:outline-border-action-normal data-selected:hover:outline-border-action-hover data-selected:active:outline-border-action-active": selected,
643
+ // Disabled + Selected combination
635
644
  "data-selected:data-disabled:bg-background-action-secondary-disabled data-selected:data-disabled:border-border-action-disabled data-selected:data-disabled:outline-transparent": disabled && selected
636
645
  },
637
646
  !removable && componentPadding,
@@ -683,7 +692,7 @@ var OptionPill = (_a) => {
683
692
  ),
684
693
  iconOnly: true,
685
694
  variant: "tertiary",
686
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "close" })
695
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { name: "close", size: 16 })
687
696
  }
688
697
  )
689
698
  ]
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  OptionPill
4
- } from "../chunk-KKESN5SF.js";
4
+ } from "../chunk-LCJZRP5S.js";
5
5
  import {
6
6
  Link
7
7
  } from "../chunk-4OMINRN5.js";
@@ -366,7 +366,8 @@ var Stack = (_a) => {
366
366
  marginBottom,
367
367
  testid,
368
368
  bottom,
369
- zIndex
369
+ zIndex,
370
+ flexWrap
370
371
  } = _b, props = __objRest(_b, [
371
372
  "children",
372
373
  "items",
@@ -405,9 +406,10 @@ var Stack = (_a) => {
405
406
  "marginBottom",
406
407
  "testid",
407
408
  "bottom",
408
- "zIndex"
409
+ "zIndex",
410
+ "flexWrap"
409
411
  ]);
410
- var _a2, _b2, _c, _d, _e, _f;
412
+ var _a2, _b2, _c, _d, _e, _f, _g;
411
413
  const flexClassNames = getFlexClassNames({ items, justify, grow });
412
414
  const gapClassNames = useGapClassNames(sizing);
413
415
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -434,7 +436,9 @@ var Stack = (_a) => {
434
436
  borderBlock: (_d = props.style) == null ? void 0 : _d.borderBlock,
435
437
  marginInline: (_e = props.style) == null ? void 0 : _e.marginInline,
436
438
  zIndex: zIndex !== void 0 ? zIndex : void 0,
437
- gap: (_f = props.style) == null ? void 0 : _f.gap
439
+ flexWrap,
440
+ paddingInline: (_f = props.style) == null ? void 0 : _f.paddingInline,
441
+ gap: (_g = props.style) == null ? void 0 : _g.gap
438
442
  },
439
443
  className: (0, import_clsx4.default)(
440
444
  "scrollbar-thin",