@dmsi/wedgekit-react 0.0.415 → 0.0.417

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 (123) hide show
  1. package/dist/chunk-3HBYDOYE.js +114 -0
  2. package/dist/{chunk-JIMJIJOF.js → chunk-5TGP5EFM.js} +2 -2
  3. package/dist/{chunk-2HMCS25C.js → chunk-6LHBY2IH.js} +1 -1
  4. package/dist/{chunk-6I5LZ2ZC.js → chunk-7AXHAWJX.js} +3 -3
  5. package/dist/{chunk-MQX7GFLX.js → chunk-CAQWLY5V.js} +24 -6
  6. package/dist/{chunk-QQ5G773N.js → chunk-DCLNAUC4.js} +1 -1
  7. package/dist/{chunk-GB4ZTUQV.js → chunk-DTW7JCBR.js} +36 -0
  8. package/dist/{chunk-BK7SPR6Y.js → chunk-HYJIDHAK.js} +6 -6
  9. package/dist/{chunk-ZHZIIVJN.js → chunk-IMOIZFJZ.js} +5 -5
  10. package/dist/chunk-KBJZUVLM.js +65 -0
  11. package/dist/{chunk-AA6GE3TH.js → chunk-LUPHOXAQ.js} +1 -1
  12. package/dist/chunk-NRNWEQD7.js +66 -0
  13. package/dist/{chunk-44TDIHUP.js → chunk-P3MIP2FD.js} +1 -1
  14. package/dist/{chunk-7ULLUUVJ.js → chunk-PQWWVBSR.js} +1 -1
  15. package/dist/{chunk-ERW5DEIO.js → chunk-RQLWSLVE.js} +1 -1
  16. package/dist/chunk-TYAQWVIM.js +159 -0
  17. package/dist/{chunk-KZZKQLKF.js → chunk-W55J2KJZ.js} +1 -1
  18. package/dist/chunk-Y2GK27RX.js +79 -0
  19. package/dist/components/Accordion.cjs +74 -2
  20. package/dist/components/Accordion.js +3 -3
  21. package/dist/components/CalendarRange.cjs +228 -53
  22. package/dist/components/CalendarRange.css +169 -65
  23. package/dist/components/CalendarRange.js +23 -16
  24. package/dist/components/Card.cjs +38 -2
  25. package/dist/components/Card.js +1 -1
  26. package/dist/components/CompactImagesPreview.cjs +59 -5
  27. package/dist/components/CompactImagesPreview.js +2 -2
  28. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +186 -11
  29. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +169 -65
  30. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +23 -16
  31. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +195 -20
  32. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +169 -65
  33. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +23 -16
  34. package/dist/components/DataGrid/PinnedColumns.cjs +211 -36
  35. package/dist/components/DataGrid/PinnedColumns.css +169 -65
  36. package/dist/components/DataGrid/PinnedColumns.js +23 -16
  37. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +187 -12
  38. package/dist/components/DataGrid/TableBody/LoadingCell.css +169 -65
  39. package/dist/components/DataGrid/TableBody/LoadingCell.js +23 -16
  40. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +193 -18
  41. package/dist/components/DataGrid/TableBody/TableBodyRow.css +169 -65
  42. package/dist/components/DataGrid/TableBody/TableBodyRow.js +23 -16
  43. package/dist/components/DataGrid/TableBody/index.cjs +208 -33
  44. package/dist/components/DataGrid/TableBody/index.css +169 -65
  45. package/dist/components/DataGrid/TableBody/index.js +23 -16
  46. package/dist/components/DataGrid/index.cjs +297 -122
  47. package/dist/components/DataGrid/index.css +169 -65
  48. package/dist/components/DataGrid/index.js +23 -16
  49. package/dist/components/DataGrid/utils.cjs +187 -12
  50. package/dist/components/DataGrid/utils.css +169 -65
  51. package/dist/components/DataGrid/utils.js +23 -16
  52. package/dist/components/DateInput.cjs +247 -72
  53. package/dist/components/DateInput.css +169 -65
  54. package/dist/components/DateInput.js +23 -16
  55. package/dist/components/DateRangeInput.cjs +247 -72
  56. package/dist/components/DateRangeInput.css +169 -65
  57. package/dist/components/DateRangeInput.js +23 -16
  58. package/dist/components/Grid.cjs +81 -76
  59. package/dist/components/Grid.js +1 -1
  60. package/dist/components/ListGroup.cjs +553 -0
  61. package/dist/components/ListGroup.js +11 -0
  62. package/dist/components/MobileDataGrid/ColumnList.cjs +36 -0
  63. package/dist/components/MobileDataGrid/ColumnList.js +3 -3
  64. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +194 -19
  65. package/dist/components/MobileDataGrid/ColumnSelector/index.css +169 -65
  66. package/dist/components/MobileDataGrid/ColumnSelector/index.js +23 -16
  67. package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +36 -0
  68. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
  69. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +238 -27
  70. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +169 -65
  71. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +23 -16
  72. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +36 -0
  73. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
  74. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +36 -0
  75. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -5
  76. package/dist/components/MobileDataGrid/index.cjs +740 -529
  77. package/dist/components/MobileDataGrid/index.css +169 -65
  78. package/dist/components/MobileDataGrid/index.js +23 -16
  79. package/dist/components/Modal.js +2 -2
  80. package/dist/components/Notification.cjs +36 -0
  81. package/dist/components/Notification.js +1 -1
  82. package/dist/components/PDFViewer/PDFElement.cjs +36 -0
  83. package/dist/components/PDFViewer/PDFElement.js +2 -2
  84. package/dist/components/PDFViewer/PDFNavigation.cjs +36 -0
  85. package/dist/components/PDFViewer/PDFNavigation.js +2 -2
  86. package/dist/components/PDFViewer/index.cjs +36 -0
  87. package/dist/components/PDFViewer/index.js +8 -111
  88. package/dist/components/Pagination.cjs +427 -0
  89. package/dist/components/Pagination.js +10 -0
  90. package/dist/components/ProductImagePreview/index.cjs +139 -127
  91. package/dist/components/ProductImagePreview/index.js +4 -4
  92. package/dist/components/SideMenuGroup.cjs +36 -0
  93. package/dist/components/SideMenuGroup.js +1 -1
  94. package/dist/components/SideMenuItem.cjs +36 -0
  95. package/dist/components/SideMenuItem.js +1 -1
  96. package/dist/components/SimpleTable.cjs +36 -0
  97. package/dist/components/SimpleTable.js +2 -2
  98. package/dist/components/Stack.cjs +36 -0
  99. package/dist/components/Stack.js +1 -1
  100. package/dist/components/Swatch.cjs +36 -0
  101. package/dist/components/Swatch.js +1 -1
  102. package/dist/components/Time.cjs +36 -0
  103. package/dist/components/Time.js +1 -1
  104. package/dist/components/Tooltip.cjs +1 -1
  105. package/dist/components/Tooltip.js +1 -1
  106. package/dist/components/Upload.cjs +36 -0
  107. package/dist/components/Upload.js +1 -1
  108. package/dist/components/index.cjs +686 -131
  109. package/dist/components/index.css +169 -65
  110. package/dist/components/index.js +33 -17
  111. package/dist/index.css +169 -65
  112. package/package.json +1 -1
  113. package/src/components/Card.tsx +60 -2
  114. package/src/components/CompactImagesPreview.tsx +54 -30
  115. package/src/components/Grid.tsx +59 -91
  116. package/src/components/ListGroup.tsx +82 -0
  117. package/src/components/Pagination.tsx +182 -0
  118. package/src/components/Stack.tsx +76 -0
  119. package/src/components/Tooltip.tsx +4 -3
  120. package/src/components/index.ts +3 -0
  121. package/dist/chunk-ER6RCOH3.js +0 -97
  122. package/dist/chunk-EZCH4PQS.js +0 -29
  123. package/dist/{chunk-D6YCMQPO.js → chunk-SBCFBHNG.js} +3 -3
@@ -1,37 +1,44 @@
1
1
  import {
2
2
  ColumnSelectorMenuOption
3
- } from "../../../chunk-BK7SPR6Y.js";
4
- import "../../../chunk-6I5LZ2ZC.js";
3
+ } from "../../../chunk-HYJIDHAK.js";
5
4
  import "../../../chunk-M7INAUAJ.js";
6
- import "../../../chunk-44TDIHUP.js";
7
- import "../../../chunk-ZHZIIVJN.js";
5
+ import "../../../chunk-7AXHAWJX.js";
6
+ import "../../../chunk-P3MIP2FD.js";
7
+ import "../../../chunk-3HBYDOYE.js";
8
+ import "../../../chunk-IMOIZFJZ.js";
9
+ import "../../../chunk-MBZ55T2D.js";
8
10
  import "../../../chunk-2IKT6IHB.js";
9
11
  import "../../../chunk-G5DEC7H3.js";
10
12
  import "../../../chunk-3X3Y4TMS.js";
11
13
  import "../../../chunk-BQNPOGD5.js";
12
- import "../../../chunk-MBZ55T2D.js";
13
- import "../../../chunk-AA6GE3TH.js";
14
- import "../../../chunk-KZZKQLKF.js";
14
+ import "../../../chunk-LUPHOXAQ.js";
15
+ import "../../../chunk-W55J2KJZ.js";
15
16
  import "../../../chunk-5IFPG6TS.js";
16
17
  import "../../../chunk-AJ5M6MVX.js";
17
18
  import "../../../chunk-M6TSTDNZ.js";
19
+ import "../../../chunk-EJSPFQCY.js";
20
+ import "../../../chunk-RQLWSLVE.js";
21
+ import "../../../chunk-6LHBY2IH.js";
22
+ import "../../../chunk-VJVY6NPF.js";
18
23
  import "../../../chunk-EWGHVZL5.js";
19
- import "../../../chunk-QQ5G773N.js";
24
+ import "../../../chunk-DCLNAUC4.js";
25
+ import "../../../chunk-PQWWVBSR.js";
20
26
  import "../../../chunk-AT4AWD6B.js";
21
27
  import "../../../chunk-J5V2JRIK.js";
22
- import "../../../chunk-7ULLUUVJ.js";
23
- import "../../../chunk-D6YCMQPO.js";
28
+ import "../../../chunk-TYAQWVIM.js";
29
+ import "../../../chunk-SBCFBHNG.js";
24
30
  import "../../../chunk-4RJKB7LC.js";
31
+ import "../../../chunk-AG43RS4Q.js";
25
32
  import "../../../chunk-XM7IQHBU.js";
26
33
  import "../../../chunk-FRHPFACM.js";
27
34
  import "../../../chunk-T36HX6QY.js";
28
- import "../../../chunk-AG43RS4Q.js";
35
+ import "../../../chunk-NRNWEQD7.js";
29
36
  import "../../../chunk-SBRRNFOP.js";
30
- import "../../../chunk-ER6RCOH3.js";
37
+ import "../../../chunk-Y2GK27RX.js";
31
38
  import "../../../chunk-EU73QPW7.js";
32
39
  import "../../../chunk-QVWYTQKL.js";
33
40
  import "../../../chunk-NO5BIKWS.js";
34
- import "../../../chunk-MQX7GFLX.js";
41
+ import "../../../chunk-CAQWLY5V.js";
35
42
  import "../../../chunk-V47RTW7E.js";
36
43
  import "../../../chunk-22VBZWJG.js";
37
44
  import "../../../chunk-NVOZAVEX.js";
@@ -45,9 +52,9 @@ import "../../../chunk-VXWSAIB5.js";
45
52
  import "../../../chunk-TYTD4FLW.js";
46
53
  import "../../../chunk-5UH6QUFB.js";
47
54
  import "../../../chunk-FA7IFW66.js";
48
- import "../../../chunk-JIMJIJOF.js";
49
- import "../../../chunk-EZCH4PQS.js";
50
- import "../../../chunk-GB4ZTUQV.js";
55
+ import "../../../chunk-5TGP5EFM.js";
56
+ import "../../../chunk-KBJZUVLM.js";
57
+ import "../../../chunk-DTW7JCBR.js";
51
58
  import "../../../chunk-OGIFIPKH.js";
52
59
  import "../../../chunk-NKUETCDA.js";
53
60
  import "../../../chunk-WWAPK5PH.js";
@@ -62,7 +62,7 @@ __export(ColumnSelectorHeaderCell_exports, {
62
62
  ColumnSelectorHeaderCell: () => ColumnSelectorHeaderCell
63
63
  });
64
64
  module.exports = __toCommonJS(ColumnSelectorHeaderCell_exports);
65
- var import_react32 = require("react");
65
+ var import_react36 = require("react");
66
66
 
67
67
  // src/components/DataGridCell.tsx
68
68
  var import_sortable = require("@dnd-kit/sortable");
@@ -3866,7 +3866,7 @@ var Tooltip = ({
3866
3866
  id,
3867
3867
  "data-testid": testid,
3868
3868
  ref,
3869
- className: "relative inline-grid grid-cols-[auto_1fr] items-center",
3869
+ className: "relative inline-grid grid-cols-[auto_1fr] items-center cursor-pointer",
3870
3870
  onMouseEnter: handleMouseEnter,
3871
3871
  onMouseLeave: handleMouseLeave,
3872
3872
  children: [
@@ -4457,12 +4457,11 @@ var import_jsx_runtime39 = require("react/jsx-runtime");
4457
4457
  var import_jsx_runtime40 = require("react/jsx-runtime");
4458
4458
 
4459
4459
  // src/components/Grid.tsx
4460
- var import_react25 = require("react");
4461
4460
  var import_clsx30 = __toESM(require("clsx"), 1);
4462
4461
  var import_jsx_runtime41 = require("react/jsx-runtime");
4463
4462
 
4464
4463
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
4465
- var import_react26 = require("react");
4464
+ var import_react25 = require("react");
4466
4465
 
4467
4466
  // src/components/Spinner.tsx
4468
4467
  var import_jsx_runtime42 = require("react/jsx-runtime");
@@ -4498,7 +4497,7 @@ Spinner.displayName = "Spinner";
4498
4497
  var import_jsx_runtime43 = require("react/jsx-runtime");
4499
4498
 
4500
4499
  // src/components/ProductImagePreview/ZoomWindow.tsx
4501
- var import_react27 = require("react");
4500
+ var import_react26 = require("react");
4502
4501
 
4503
4502
  // src/components/Surface.tsx
4504
4503
  var import_clsx31 = __toESM(require("clsx"), 1);
@@ -4543,17 +4542,17 @@ var import_clsx32 = require("clsx");
4543
4542
  var import_jsx_runtime46 = require("react/jsx-runtime");
4544
4543
 
4545
4544
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
4546
- var import_react28 = require("react");
4545
+ var import_react27 = require("react");
4547
4546
  var import_jsx_runtime47 = require("react/jsx-runtime");
4548
4547
 
4549
4548
  // src/components/ProductImagePreview/useProductImagePreview.ts
4550
- var import_react29 = require("react");
4549
+ var import_react28 = require("react");
4551
4550
 
4552
4551
  // src/components/ProductImagePreview/index.tsx
4553
4552
  var import_jsx_runtime48 = require("react/jsx-runtime");
4554
4553
 
4555
4554
  // src/components/CompactImagesPreview.tsx
4556
- var import_react30 = require("react");
4555
+ var import_react29 = require("react");
4557
4556
  var import_clsx33 = __toESM(require("clsx"), 1);
4558
4557
  var import_jsx_runtime49 = require("react/jsx-runtime");
4559
4558
 
@@ -4561,18 +4560,194 @@ var import_jsx_runtime49 = require("react/jsx-runtime");
4561
4560
  var import_clsx34 = __toESM(require("clsx"), 1);
4562
4561
  var import_jsx_runtime50 = require("react/jsx-runtime");
4563
4562
 
4564
- // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4563
+ // src/components/PDFViewer/index.tsx
4564
+ var import_react32 = require("react");
4565
+
4566
+ // src/components/PDFViewer/PDFElement.tsx
4567
+ var import_react_pdf2 = require("@mikecousins/react-pdf");
4565
4568
  var import_react31 = require("react");
4569
+
4570
+ // src/components/PDFViewer/PDFPage.tsx
4571
+ var import_react_pdf = require("@mikecousins/react-pdf");
4572
+ var import_react30 = require("react");
4566
4573
  var import_jsx_runtime51 = require("react/jsx-runtime");
4574
+
4575
+ // src/components/PDFViewer/PDFElement.tsx
4576
+ var import_clsx35 = __toESM(require("clsx"), 1);
4577
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4578
+
4579
+ // src/components/PDFViewer/DownloadIcon.tsx
4580
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4581
+
4582
+ // src/components/PDFViewer/PDFNavigation.tsx
4583
+ var import_jsx_runtime54 = require("react/jsx-runtime");
4584
+
4585
+ // src/components/PDFViewer/index.tsx
4586
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4587
+
4588
+ // src/components/ListGroup.tsx
4589
+ var import_react33 = require("react");
4590
+ var import_clsx36 = __toESM(require("clsx"), 1);
4591
+ var import_jsx_runtime56 = require("react/jsx-runtime");
4592
+
4593
+ // src/components/Pagination.tsx
4594
+ var import_react34 = require("react");
4595
+ var import_clsx37 = __toESM(require("clsx"), 1);
4596
+ var import_jsx_runtime57 = require("react/jsx-runtime");
4597
+ var Pagination = ({
4598
+ totalPages,
4599
+ currentPage,
4600
+ onPageChange,
4601
+ id,
4602
+ testid,
4603
+ className,
4604
+ disabled
4605
+ }) => {
4606
+ const goTo = (0, import_react34.useCallback)(
4607
+ (page) => {
4608
+ if (disabled) return;
4609
+ onPageChange(page);
4610
+ },
4611
+ [onPageChange, disabled]
4612
+ );
4613
+ const handleKey = (e) => {
4614
+ if (disabled) return;
4615
+ if (e.key === "ArrowLeft") {
4616
+ e.preventDefault();
4617
+ goTo(currentPage - 1);
4618
+ } else if (e.key === "ArrowRight") {
4619
+ e.preventDefault();
4620
+ goTo(currentPage + 1);
4621
+ }
4622
+ };
4623
+ const pageTokens = (0, import_react34.useMemo)(() => {
4624
+ if (totalPages <= 5) {
4625
+ return Array.from({ length: totalPages }, (_, i) => i + 1);
4626
+ }
4627
+ const pages = /* @__PURE__ */ new Set();
4628
+ pages.add(1);
4629
+ pages.add(totalPages);
4630
+ if (currentPage <= 3) {
4631
+ pages.add(2);
4632
+ pages.add(3);
4633
+ pages.add(4);
4634
+ } else if (currentPage >= totalPages - 2) {
4635
+ pages.add(totalPages - 1);
4636
+ pages.add(totalPages - 2);
4637
+ pages.add(totalPages - 3);
4638
+ } else {
4639
+ pages.add(currentPage - 1);
4640
+ pages.add(currentPage);
4641
+ pages.add(currentPage + 1);
4642
+ }
4643
+ const sorted = Array.from(pages).sort((a, b) => a - b);
4644
+ const tokens = [];
4645
+ for (let i = 0; i < sorted.length; i++) {
4646
+ const value = sorted[i];
4647
+ const prev = sorted[i - 1];
4648
+ if (i > 0) {
4649
+ if (value - prev === 2) {
4650
+ tokens.push(prev + 1);
4651
+ } else if (value - prev > 2) {
4652
+ tokens.push("ellipsis");
4653
+ }
4654
+ }
4655
+ tokens.push(value);
4656
+ }
4657
+ return tokens;
4658
+ }, [totalPages, currentPage]);
4659
+ if (totalPages <= 1) return null;
4660
+ const buttonClass = (0, import_clsx37.default)(
4661
+ "cursor-pointer disabled:cursor-default",
4662
+ paddingUsingComponentGap,
4663
+ "w-8 h-8",
4664
+ "flex items-center justify-center",
4665
+ "bg-transparent",
4666
+ "box-content",
4667
+ "hover:bg-background-grouped-secondary-normal",
4668
+ "focus:bg-background-grouped-secondary-normal focus:outline-0",
4669
+ "disabled:bg-transparent disabled:text-text-action-primary-disabled"
4670
+ );
4671
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
4672
+ "nav",
4673
+ {
4674
+ id,
4675
+ "data-testid": testid,
4676
+ "aria-label": "Pagination",
4677
+ onKeyDown: handleKey,
4678
+ className: (0, import_clsx37.default)(
4679
+ "flex items-center",
4680
+ "border border-border-primary-normal",
4681
+ "bg-background-grouped-primary-normal",
4682
+ "rounded-sm",
4683
+ className
4684
+ ),
4685
+ children: [
4686
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4687
+ "button",
4688
+ {
4689
+ disabled: disabled || currentPage <= 1,
4690
+ "aria-label": "Previous page",
4691
+ onClick: () => goTo(currentPage - 1),
4692
+ className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
4693
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: "keyboard_arrow_left" })
4694
+ }
4695
+ ),
4696
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
4697
+ if (token === "ellipsis") {
4698
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4699
+ "li",
4700
+ {
4701
+ className: "w-8 h-8 select-none text-text-action-primary-disabled",
4702
+ children: "\u2026"
4703
+ },
4704
+ `ellipsis-${index}`
4705
+ );
4706
+ }
4707
+ const selected = token === currentPage;
4708
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4709
+ "button",
4710
+ {
4711
+ "aria-label": `Page ${token}`,
4712
+ "aria-current": selected ? "page" : void 0,
4713
+ disabled,
4714
+ onClick: () => goTo(token),
4715
+ className: (0, import_clsx37.default)(
4716
+ buttonClass,
4717
+ selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
4718
+ ),
4719
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Subheader, { align: "center", weight: "bold", children: token })
4720
+ }
4721
+ ) }, token);
4722
+ }) }),
4723
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4724
+ "button",
4725
+ {
4726
+ disabled: disabled || currentPage >= totalPages,
4727
+ "aria-label": "Next page",
4728
+ onClick: () => goTo(currentPage + 1),
4729
+ className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
4730
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: "keyboard_arrow_right" })
4731
+ }
4732
+ )
4733
+ ]
4734
+ }
4735
+ );
4736
+ };
4737
+ Pagination.displayName = "Pagination";
4738
+
4739
+ // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4740
+ var import_react35 = require("react");
4741
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4567
4742
  function ColumnSelectorMenuOption({
4568
4743
  id,
4569
4744
  testid,
4570
4745
  column,
4571
4746
  toggleColumnVisibility
4572
4747
  }) {
4573
- const [isVisible, setIsVisible] = (0, import_react31.useState)(column.getIsVisible());
4748
+ const [isVisible, setIsVisible] = (0, import_react35.useState)(column.getIsVisible());
4574
4749
  const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
4575
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
4750
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4576
4751
  Checkbox,
4577
4752
  {
4578
4753
  id: id ? `${id}-checkbox` : void 0,
@@ -4588,7 +4763,7 @@ function ColumnSelectorMenuOption({
4588
4763
  }
4589
4764
 
4590
4765
  // src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
4591
- var import_jsx_runtime52 = require("react/jsx-runtime");
4766
+ var import_jsx_runtime59 = require("react/jsx-runtime");
4592
4767
  function ColumnSelectorHeaderCell({
4593
4768
  id,
4594
4769
  testid,
@@ -4596,9 +4771,9 @@ function ColumnSelectorHeaderCell({
4596
4771
  toggleColumnVisibility,
4597
4772
  resetColumnVisibility
4598
4773
  }) {
4599
- const ref = (0, import_react32.useRef)(null);
4600
- const [show, setShow] = (0, import_react32.useState)(false);
4601
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
4774
+ const ref = (0, import_react36.useRef)(null);
4775
+ const [show, setShow] = (0, import_react36.useState)(false);
4776
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4602
4777
  DataGridCell,
4603
4778
  {
4604
4779
  id,
@@ -4608,7 +4783,7 @@ function ColumnSelectorHeaderCell({
4608
4783
  color: "text-secondary-normal",
4609
4784
  ref,
4610
4785
  children: [
4611
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4786
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4612
4787
  Button,
4613
4788
  {
4614
4789
  id: id ? `${id}-button` : void 0,
@@ -4616,10 +4791,10 @@ function ColumnSelectorHeaderCell({
4616
4791
  onClick: () => setShow((prev) => !prev),
4617
4792
  variant: "navigation",
4618
4793
  iconOnly: true,
4619
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { name: "tune" })
4794
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: "tune" })
4620
4795
  }
4621
4796
  ),
4622
- /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
4797
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4623
4798
  Menu,
4624
4799
  {
4625
4800
  id: id ? `${id}-menu` : void 0,
@@ -4630,7 +4805,7 @@ function ColumnSelectorHeaderCell({
4630
4805
  setShow,
4631
4806
  calculateMinMaxHeight: true,
4632
4807
  children: [
4633
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4808
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4634
4809
  Button,
4635
4810
  {
4636
4811
  id: id ? `${id}-reset-button` : void 0,
@@ -4646,7 +4821,7 @@ function ColumnSelectorHeaderCell({
4646
4821
  table.getAllColumns().filter((x) => {
4647
4822
  var _a;
4648
4823
  return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
4649
- }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
4824
+ }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4650
4825
  ColumnSelectorMenuOption,
4651
4826
  {
4652
4827
  id: id ? `${id}-option-${column.id}` : void 0,