@dmsi/wedgekit-react 0.0.415 → 0.0.418

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 (125) 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-CANJ2YPW.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-ESCNCQGI.js +9 -0
  9. package/dist/chunk-IFHMGICR.js +66 -0
  10. package/dist/{chunk-ZHZIIVJN.js → chunk-IMOIZFJZ.js} +5 -5
  11. package/dist/chunk-KBJZUVLM.js +65 -0
  12. package/dist/{chunk-AA6GE3TH.js → chunk-LUPHOXAQ.js} +1 -1
  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-BK7SPR6Y.js → chunk-TQIKP534.js} +4 -4
  17. package/dist/chunk-TYAQWVIM.js +159 -0
  18. package/dist/{chunk-KZZKQLKF.js → chunk-W55J2KJZ.js} +1 -1
  19. package/dist/chunk-Y2GK27RX.js +79 -0
  20. package/dist/components/Accordion.cjs +74 -2
  21. package/dist/components/Accordion.js +3 -3
  22. package/dist/components/CalendarRange.cjs +231 -53
  23. package/dist/components/CalendarRange.css +169 -65
  24. package/dist/components/CalendarRange.js +24 -16
  25. package/dist/components/Card.cjs +38 -2
  26. package/dist/components/Card.js +1 -1
  27. package/dist/components/CompactImagesPreview.cjs +59 -5
  28. package/dist/components/CompactImagesPreview.js +2 -2
  29. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +189 -11
  30. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +169 -65
  31. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +24 -16
  32. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +198 -20
  33. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +169 -65
  34. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +24 -16
  35. package/dist/components/DataGrid/PinnedColumns.cjs +214 -36
  36. package/dist/components/DataGrid/PinnedColumns.css +169 -65
  37. package/dist/components/DataGrid/PinnedColumns.js +24 -16
  38. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +190 -12
  39. package/dist/components/DataGrid/TableBody/LoadingCell.css +169 -65
  40. package/dist/components/DataGrid/TableBody/LoadingCell.js +24 -16
  41. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +196 -18
  42. package/dist/components/DataGrid/TableBody/TableBodyRow.css +169 -65
  43. package/dist/components/DataGrid/TableBody/TableBodyRow.js +24 -16
  44. package/dist/components/DataGrid/TableBody/index.cjs +211 -33
  45. package/dist/components/DataGrid/TableBody/index.css +169 -65
  46. package/dist/components/DataGrid/TableBody/index.js +24 -16
  47. package/dist/components/DataGrid/index.cjs +300 -122
  48. package/dist/components/DataGrid/index.css +169 -65
  49. package/dist/components/DataGrid/index.js +24 -16
  50. package/dist/components/DataGrid/utils.cjs +190 -12
  51. package/dist/components/DataGrid/utils.css +169 -65
  52. package/dist/components/DataGrid/utils.js +24 -16
  53. package/dist/components/DateInput.cjs +250 -72
  54. package/dist/components/DateInput.css +169 -65
  55. package/dist/components/DateInput.js +24 -16
  56. package/dist/components/DateRangeInput.cjs +250 -72
  57. package/dist/components/DateRangeInput.css +169 -65
  58. package/dist/components/DateRangeInput.js +24 -16
  59. package/dist/components/Grid.cjs +81 -76
  60. package/dist/components/Grid.js +1 -1
  61. package/dist/components/ListGroup.cjs +553 -0
  62. package/dist/components/ListGroup.js +11 -0
  63. package/dist/components/MobileDataGrid/ColumnList.cjs +36 -0
  64. package/dist/components/MobileDataGrid/ColumnList.js +3 -3
  65. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +197 -19
  66. package/dist/components/MobileDataGrid/ColumnSelector/index.css +169 -65
  67. package/dist/components/MobileDataGrid/ColumnSelector/index.js +24 -16
  68. package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +36 -0
  69. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
  70. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +241 -27
  71. package/dist/components/MobileDataGrid/MobileDataGridHeader.css +169 -65
  72. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +24 -16
  73. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +36 -0
  74. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
  75. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +36 -0
  76. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -5
  77. package/dist/components/MobileDataGrid/index.cjs +743 -529
  78. package/dist/components/MobileDataGrid/index.css +169 -65
  79. package/dist/components/MobileDataGrid/index.js +24 -16
  80. package/dist/components/Modal.js +2 -2
  81. package/dist/components/Notification.cjs +36 -0
  82. package/dist/components/Notification.js +1 -1
  83. package/dist/components/PDFViewer/PDFElement.cjs +36 -0
  84. package/dist/components/PDFViewer/PDFElement.js +2 -2
  85. package/dist/components/PDFViewer/PDFNavigation.cjs +36 -0
  86. package/dist/components/PDFViewer/PDFNavigation.js +2 -2
  87. package/dist/components/PDFViewer/index.cjs +36 -0
  88. package/dist/components/PDFViewer/index.js +8 -111
  89. package/dist/components/Pagination.cjs +427 -0
  90. package/dist/components/Pagination.js +10 -0
  91. package/dist/components/ProductImagePreview/index.cjs +139 -127
  92. package/dist/components/ProductImagePreview/index.js +4 -4
  93. package/dist/components/SideMenuGroup.cjs +36 -0
  94. package/dist/components/SideMenuGroup.js +1 -1
  95. package/dist/components/SideMenuItem.cjs +36 -0
  96. package/dist/components/SideMenuItem.js +1 -1
  97. package/dist/components/SimpleTable.cjs +36 -0
  98. package/dist/components/SimpleTable.js +2 -2
  99. package/dist/components/SkeletonParagraph.js +3 -6
  100. package/dist/components/Stack.cjs +36 -0
  101. package/dist/components/Stack.js +1 -1
  102. package/dist/components/Swatch.cjs +36 -0
  103. package/dist/components/Swatch.js +1 -1
  104. package/dist/components/Time.cjs +36 -0
  105. package/dist/components/Time.js +1 -1
  106. package/dist/components/Tooltip.cjs +1 -1
  107. package/dist/components/Tooltip.js +1 -1
  108. package/dist/components/Upload.cjs +36 -0
  109. package/dist/components/Upload.js +1 -1
  110. package/dist/components/index.cjs +694 -131
  111. package/dist/components/index.css +169 -65
  112. package/dist/components/index.js +37 -17
  113. package/dist/index.css +169 -65
  114. package/package.json +1 -1
  115. package/src/components/Card.tsx +60 -2
  116. package/src/components/CompactImagesPreview.tsx +54 -30
  117. package/src/components/Grid.tsx +59 -91
  118. package/src/components/ListGroup.tsx +82 -0
  119. package/src/components/Pagination.tsx +182 -0
  120. package/src/components/Stack.tsx +76 -0
  121. package/src/components/Tooltip.tsx +4 -3
  122. package/src/components/index.ts +4 -0
  123. package/dist/chunk-ER6RCOH3.js +0 -97
  124. package/dist/chunk-EZCH4PQS.js +0 -29
  125. package/dist/{chunk-D6YCMQPO.js → chunk-SBCFBHNG.js} +3 -3
@@ -1,37 +1,45 @@
1
1
  import {
2
2
  ColumnSelector
3
- } from "../../../chunk-BK7SPR6Y.js";
4
- import "../../../chunk-6I5LZ2ZC.js";
3
+ } from "../../../chunk-TQIKP534.js";
4
+ import "../../../chunk-7AXHAWJX.js";
5
+ import "../../../chunk-P3MIP2FD.js";
5
6
  import "../../../chunk-M7INAUAJ.js";
6
- import "../../../chunk-44TDIHUP.js";
7
- import "../../../chunk-ZHZIIVJN.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";
26
+ import "../../../chunk-ESCNCQGI.js";
20
27
  import "../../../chunk-AT4AWD6B.js";
21
28
  import "../../../chunk-J5V2JRIK.js";
22
- import "../../../chunk-7ULLUUVJ.js";
23
- import "../../../chunk-D6YCMQPO.js";
29
+ import "../../../chunk-TYAQWVIM.js";
30
+ import "../../../chunk-SBCFBHNG.js";
24
31
  import "../../../chunk-4RJKB7LC.js";
32
+ import "../../../chunk-AG43RS4Q.js";
25
33
  import "../../../chunk-XM7IQHBU.js";
26
34
  import "../../../chunk-FRHPFACM.js";
27
35
  import "../../../chunk-T36HX6QY.js";
28
- import "../../../chunk-AG43RS4Q.js";
36
+ import "../../../chunk-IFHMGICR.js";
29
37
  import "../../../chunk-SBRRNFOP.js";
30
- import "../../../chunk-ER6RCOH3.js";
38
+ import "../../../chunk-Y2GK27RX.js";
31
39
  import "../../../chunk-EU73QPW7.js";
32
40
  import "../../../chunk-QVWYTQKL.js";
33
41
  import "../../../chunk-NO5BIKWS.js";
34
- import "../../../chunk-MQX7GFLX.js";
42
+ import "../../../chunk-CANJ2YPW.js";
35
43
  import "../../../chunk-V47RTW7E.js";
36
44
  import "../../../chunk-22VBZWJG.js";
37
45
  import "../../../chunk-NVOZAVEX.js";
@@ -45,9 +53,9 @@ import "../../../chunk-VXWSAIB5.js";
45
53
  import "../../../chunk-TYTD4FLW.js";
46
54
  import "../../../chunk-5UH6QUFB.js";
47
55
  import "../../../chunk-FA7IFW66.js";
48
- import "../../../chunk-JIMJIJOF.js";
49
- import "../../../chunk-EZCH4PQS.js";
50
- import "../../../chunk-GB4ZTUQV.js";
56
+ import "../../../chunk-5TGP5EFM.js";
57
+ import "../../../chunk-KBJZUVLM.js";
58
+ import "../../../chunk-DTW7JCBR.js";
51
59
  import "../../../chunk-OGIFIPKH.js";
52
60
  import "../../../chunk-NKUETCDA.js";
53
61
  import "../../../chunk-WWAPK5PH.js";
@@ -319,6 +319,10 @@ var Stack = (_a) => {
319
319
  padding,
320
320
  paddingX,
321
321
  paddingY,
322
+ paddingBottom,
323
+ paddingTop,
324
+ paddingLeft,
325
+ paddingRight,
322
326
  margin,
323
327
  marginX,
324
328
  marginY,
@@ -334,6 +338,10 @@ var Stack = (_a) => {
334
338
  height,
335
339
  maxHeight,
336
340
  borderColor,
341
+ borderTopColor,
342
+ borderRightColor,
343
+ borderBottomColor,
344
+ borderLeftColor,
337
345
  backgroundColor,
338
346
  sizing = "none",
339
347
  overflowY = "inherit",
@@ -359,6 +367,10 @@ var Stack = (_a) => {
359
367
  "padding",
360
368
  "paddingX",
361
369
  "paddingY",
370
+ "paddingBottom",
371
+ "paddingTop",
372
+ "paddingLeft",
373
+ "paddingRight",
362
374
  "margin",
363
375
  "marginX",
364
376
  "marginY",
@@ -374,6 +386,10 @@ var Stack = (_a) => {
374
386
  "height",
375
387
  "maxHeight",
376
388
  "borderColor",
389
+ "borderTopColor",
390
+ "borderRightColor",
391
+ "borderBottomColor",
392
+ "borderLeftColor",
377
393
  "backgroundColor",
378
394
  "sizing",
379
395
  "overflowY",
@@ -409,6 +425,10 @@ var Stack = (_a) => {
409
425
  width: width !== void 0 && typeof width === "number" ? `${width}px` : void 0,
410
426
  minWidth: minWidth !== void 0 ? `${minWidth}px` : void 0,
411
427
  border: borderColor ? `1px solid var(--color-${borderColor})` : void 0,
428
+ borderTop: borderTopColor ? `1px solid var(--color-${borderTopColor})` : void 0,
429
+ borderRight: borderRightColor ? `1px solid var(--color-${borderRightColor})` : void 0,
430
+ borderBottom: borderBottomColor ? `1px solid var(--color-${borderBottomColor})` : void 0,
431
+ borderLeft: borderLeftColor ? `1px solid var(--color-${borderLeftColor})` : void 0,
412
432
  backgroundColor: backgroundColor ? `var(--color-${backgroundColor})` : void 0,
413
433
  flexGrow: flexGrow !== void 0 ? flexGrow : void 0,
414
434
  flexShrink: flexShrink !== void 0 ? flexShrink : void 0,
@@ -448,6 +468,22 @@ var Stack = (_a) => {
448
468
  paddingY && sizing === "layout" && "py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding",
449
469
  paddingY && sizing === "layout-group" && paddingYUsingLayoutGroupGap,
450
470
  paddingY && sizing === "component" && "py-mobile-component-padding desktop:py-desktop-component-padding compact:py-desktop-compact-component-padding",
471
+ paddingBottom && sizing === "container" && "pb-mobile-container-padding desktop:pb-desktop-container-padding compact:pb-desktop-compact-container-padding",
472
+ paddingBottom && sizing === "layout" && "pb-mobile-layout-padding desktop:pb-desktop-layout-padding compact:pb-desktop-compact-layout-padding",
473
+ paddingBottom && sizing === "layout-group" && "pb-mobile-layout-group-padding desktop:pb-desktop-layout-group-padding compact:pb-desktop-compact-layout-group-padding",
474
+ paddingBottom && sizing === "component" && "pb-mobile-component-padding desktop:pb-desktop-component-padding compact:pb-desktop-compact-component-padding",
475
+ paddingTop && sizing === "container" && "pt-mobile-container-padding desktop:pt-desktop-container-padding compact:pt-desktop-compact-container-padding",
476
+ paddingTop && sizing === "layout" && "pt-mobile-layout-padding desktop:pt-desktop-layout-padding compact:pt-desktop-compact-layout-padding",
477
+ paddingTop && sizing === "layout-group" && "pt-mobile-layout-group-padding desktop:pt-desktop-layout-group-padding compact:pt-desktop-compact-layout-group-padding",
478
+ paddingTop && sizing === "component" && "pt-mobile-component-padding desktop:pt-desktop-component-padding compact:pt-desktop-compact-component-padding",
479
+ paddingLeft && sizing === "container" && "pl-mobile-container-padding desktop:pl-desktop-container-padding compact:pl-desktop-compact-container-padding",
480
+ paddingLeft && sizing === "layout" && "pl-mobile-layout-padding desktop:pl-desktop-layout-padding compact:pl-desktop-compact-layout-padding",
481
+ paddingLeft && sizing === "layout-group" && "pl-mobile-layout-group-padding desktop:pl-desktop-layout-group-padding compact:pl-desktop-compact-layout-group-padding",
482
+ paddingLeft && sizing === "component" && "pl-mobile-component-padding desktop:pl-desktop-component-padding compact:pl-desktop-compact-component-padding",
483
+ paddingRight && sizing === "container" && "pr-mobile-container-padding desktop:pr-desktop-container-padding compact:pr-desktop-compact-container-padding",
484
+ paddingRight && sizing === "layout" && "pr-mobile-layout-padding desktop:pr-desktop-layout-padding compact:pr-desktop-compact-layout-padding",
485
+ paddingRight && sizing === "layout-group" && "pr-mobile-layout-group-padding desktop:pr-desktop-layout-group-padding compact:pr-desktop-compact-layout-group-padding",
486
+ paddingRight && sizing === "component" && "pr-mobile-component-padding desktop:pr-desktop-component-padding compact:pr-desktop-compact-component-padding",
451
487
  margin && sizing === "container" && "m-mobile-container-padding desktop:m-desktop-container-padding compact:m-compact-container-padding",
452
488
  marginX && sizing === "container" && "mx-mobile-container-padding desktop:mx-desktop-container-padding compact:mx-compact-container-padding",
453
489
  marginTop && sizing === "container" && "mt-mobile-container-padding desktop:mt-desktop-container-padding compact:mt-compact-container-padding",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  MobileDataGridCard
3
- } from "../../../chunk-KZZKQLKF.js";
3
+ } from "../../../chunk-W55J2KJZ.js";
4
4
  import "../../../chunk-5IFPG6TS.js";
5
5
  import "../../../chunk-AJ5M6MVX.js";
6
6
  import "../../../chunk-M6TSTDNZ.js";
7
7
  import "../../../chunk-NO5BIKWS.js";
8
8
  import "../../../chunk-FA7IFW66.js";
9
- import "../../../chunk-GB4ZTUQV.js";
9
+ import "../../../chunk-DTW7JCBR.js";
10
10
  import "../../../chunk-OGIFIPKH.js";
11
11
  import "../../../chunk-NKUETCDA.js";
12
12
  import "../../../chunk-6CTCHYIS.js";
@@ -496,6 +496,10 @@ var Stack = (_a) => {
496
496
  padding,
497
497
  paddingX,
498
498
  paddingY,
499
+ paddingBottom,
500
+ paddingTop,
501
+ paddingLeft,
502
+ paddingRight,
499
503
  margin,
500
504
  marginX,
501
505
  marginY,
@@ -511,6 +515,10 @@ var Stack = (_a) => {
511
515
  height,
512
516
  maxHeight,
513
517
  borderColor,
518
+ borderTopColor,
519
+ borderRightColor,
520
+ borderBottomColor,
521
+ borderLeftColor,
514
522
  backgroundColor,
515
523
  sizing = "none",
516
524
  overflowY = "inherit",
@@ -536,6 +544,10 @@ var Stack = (_a) => {
536
544
  "padding",
537
545
  "paddingX",
538
546
  "paddingY",
547
+ "paddingBottom",
548
+ "paddingTop",
549
+ "paddingLeft",
550
+ "paddingRight",
539
551
  "margin",
540
552
  "marginX",
541
553
  "marginY",
@@ -551,6 +563,10 @@ var Stack = (_a) => {
551
563
  "height",
552
564
  "maxHeight",
553
565
  "borderColor",
566
+ "borderTopColor",
567
+ "borderRightColor",
568
+ "borderBottomColor",
569
+ "borderLeftColor",
554
570
  "backgroundColor",
555
571
  "sizing",
556
572
  "overflowY",
@@ -586,6 +602,10 @@ var Stack = (_a) => {
586
602
  width: width !== void 0 && typeof width === "number" ? `${width}px` : void 0,
587
603
  minWidth: minWidth !== void 0 ? `${minWidth}px` : void 0,
588
604
  border: borderColor ? `1px solid var(--color-${borderColor})` : void 0,
605
+ borderTop: borderTopColor ? `1px solid var(--color-${borderTopColor})` : void 0,
606
+ borderRight: borderRightColor ? `1px solid var(--color-${borderRightColor})` : void 0,
607
+ borderBottom: borderBottomColor ? `1px solid var(--color-${borderBottomColor})` : void 0,
608
+ borderLeft: borderLeftColor ? `1px solid var(--color-${borderLeftColor})` : void 0,
589
609
  backgroundColor: backgroundColor ? `var(--color-${backgroundColor})` : void 0,
590
610
  flexGrow: flexGrow !== void 0 ? flexGrow : void 0,
591
611
  flexShrink: flexShrink !== void 0 ? flexShrink : void 0,
@@ -625,6 +645,22 @@ var Stack = (_a) => {
625
645
  paddingY && sizing === "layout" && "py-mobile-layout-padding desktop:py-desktop-layout-padding compact:py-desktop-compact-layout-padding",
626
646
  paddingY && sizing === "layout-group" && paddingYUsingLayoutGroupGap,
627
647
  paddingY && sizing === "component" && "py-mobile-component-padding desktop:py-desktop-component-padding compact:py-desktop-compact-component-padding",
648
+ paddingBottom && sizing === "container" && "pb-mobile-container-padding desktop:pb-desktop-container-padding compact:pb-desktop-compact-container-padding",
649
+ paddingBottom && sizing === "layout" && "pb-mobile-layout-padding desktop:pb-desktop-layout-padding compact:pb-desktop-compact-layout-padding",
650
+ paddingBottom && sizing === "layout-group" && "pb-mobile-layout-group-padding desktop:pb-desktop-layout-group-padding compact:pb-desktop-compact-layout-group-padding",
651
+ paddingBottom && sizing === "component" && "pb-mobile-component-padding desktop:pb-desktop-component-padding compact:pb-desktop-compact-component-padding",
652
+ paddingTop && sizing === "container" && "pt-mobile-container-padding desktop:pt-desktop-container-padding compact:pt-desktop-compact-container-padding",
653
+ paddingTop && sizing === "layout" && "pt-mobile-layout-padding desktop:pt-desktop-layout-padding compact:pt-desktop-compact-layout-padding",
654
+ paddingTop && sizing === "layout-group" && "pt-mobile-layout-group-padding desktop:pt-desktop-layout-group-padding compact:pt-desktop-compact-layout-group-padding",
655
+ paddingTop && sizing === "component" && "pt-mobile-component-padding desktop:pt-desktop-component-padding compact:pt-desktop-compact-component-padding",
656
+ paddingLeft && sizing === "container" && "pl-mobile-container-padding desktop:pl-desktop-container-padding compact:pl-desktop-compact-container-padding",
657
+ paddingLeft && sizing === "layout" && "pl-mobile-layout-padding desktop:pl-desktop-layout-padding compact:pl-desktop-compact-layout-padding",
658
+ paddingLeft && sizing === "layout-group" && "pl-mobile-layout-group-padding desktop:pl-desktop-layout-group-padding compact:pl-desktop-compact-layout-group-padding",
659
+ paddingLeft && sizing === "component" && "pl-mobile-component-padding desktop:pl-desktop-component-padding compact:pl-desktop-compact-component-padding",
660
+ paddingRight && sizing === "container" && "pr-mobile-container-padding desktop:pr-desktop-container-padding compact:pr-desktop-compact-container-padding",
661
+ paddingRight && sizing === "layout" && "pr-mobile-layout-padding desktop:pr-desktop-layout-padding compact:pr-desktop-compact-layout-padding",
662
+ paddingRight && sizing === "layout-group" && "pr-mobile-layout-group-padding desktop:pr-desktop-layout-group-padding compact:pr-desktop-compact-layout-group-padding",
663
+ paddingRight && sizing === "component" && "pr-mobile-component-padding desktop:pr-desktop-component-padding compact:pr-desktop-compact-component-padding",
628
664
  margin && sizing === "container" && "m-mobile-container-padding desktop:m-desktop-container-padding compact:m-compact-container-padding",
629
665
  marginX && sizing === "container" && "mx-mobile-container-padding desktop:mx-desktop-container-padding compact:mx-compact-container-padding",
630
666
  marginTop && sizing === "container" && "mt-mobile-container-padding desktop:mt-desktop-container-padding compact:mt-compact-container-padding",
@@ -670,7 +706,7 @@ function Theme({
670
706
  }
671
707
 
672
708
  // src/components/MobileDataGrid/ColumnSelector/index.tsx
673
- var import_react32 = require("react");
709
+ var import_react36 = require("react");
674
710
 
675
711
  // src/components/DataGridCell.tsx
676
712
  var import_sortable = require("@dnd-kit/sortable");
@@ -4237,7 +4273,7 @@ var Tooltip = ({
4237
4273
  id,
4238
4274
  "data-testid": testid,
4239
4275
  ref,
4240
- className: "relative inline-grid grid-cols-[auto_1fr] items-center",
4276
+ className: "relative inline-grid grid-cols-[auto_1fr] items-center cursor-pointer",
4241
4277
  onMouseEnter: handleMouseEnter,
4242
4278
  onMouseLeave: handleMouseLeave,
4243
4279
  children: [
@@ -4768,12 +4804,11 @@ var import_jsx_runtime39 = require("react/jsx-runtime");
4768
4804
  var import_jsx_runtime40 = require("react/jsx-runtime");
4769
4805
 
4770
4806
  // src/components/Grid.tsx
4771
- var import_react26 = require("react");
4772
4807
  var import_clsx30 = __toESM(require("clsx"), 1);
4773
4808
  var import_jsx_runtime41 = require("react/jsx-runtime");
4774
4809
 
4775
4810
  // src/components/ProductImagePreview/ProductPrimaryImage.tsx
4776
- var import_react27 = require("react");
4811
+ var import_react26 = require("react");
4777
4812
 
4778
4813
  // src/components/Spinner.tsx
4779
4814
  var import_jsx_runtime42 = require("react/jsx-runtime");
@@ -4809,7 +4844,7 @@ Spinner.displayName = "Spinner";
4809
4844
  var import_jsx_runtime43 = require("react/jsx-runtime");
4810
4845
 
4811
4846
  // src/components/ProductImagePreview/ZoomWindow.tsx
4812
- var import_react28 = require("react");
4847
+ var import_react27 = require("react");
4813
4848
 
4814
4849
  // src/components/Surface.tsx
4815
4850
  var import_clsx31 = __toESM(require("clsx"), 1);
@@ -4854,17 +4889,17 @@ var import_clsx32 = require("clsx");
4854
4889
  var import_jsx_runtime46 = require("react/jsx-runtime");
4855
4890
 
4856
4891
  // src/components/ProductImagePreview/MobileImageCarousel.tsx
4857
- var import_react29 = require("react");
4892
+ var import_react28 = require("react");
4858
4893
  var import_jsx_runtime47 = require("react/jsx-runtime");
4859
4894
 
4860
4895
  // src/components/ProductImagePreview/useProductImagePreview.ts
4861
- var import_react30 = require("react");
4896
+ var import_react29 = require("react");
4862
4897
 
4863
4898
  // src/components/ProductImagePreview/index.tsx
4864
4899
  var import_jsx_runtime48 = require("react/jsx-runtime");
4865
4900
 
4866
4901
  // src/components/CompactImagesPreview.tsx
4867
- var import_react31 = require("react");
4902
+ var import_react30 = require("react");
4868
4903
  var import_clsx33 = __toESM(require("clsx"), 1);
4869
4904
  var import_jsx_runtime49 = require("react/jsx-runtime");
4870
4905
 
@@ -4872,12 +4907,191 @@ var import_jsx_runtime49 = require("react/jsx-runtime");
4872
4907
  var import_clsx34 = __toESM(require("clsx"), 1);
4873
4908
  var import_jsx_runtime50 = require("react/jsx-runtime");
4874
4909
 
4875
- // src/components/MobileDataGrid/ColumnSelector/index.tsx
4910
+ // src/components/PDFViewer/index.tsx
4911
+ var import_react33 = require("react");
4912
+
4913
+ // src/components/PDFViewer/PDFElement.tsx
4914
+ var import_react_pdf2 = require("@mikecousins/react-pdf");
4915
+ var import_react32 = require("react");
4916
+
4917
+ // src/components/PDFViewer/PDFPage.tsx
4918
+ var import_react_pdf = require("@mikecousins/react-pdf");
4919
+ var import_react31 = require("react");
4876
4920
  var import_jsx_runtime51 = require("react/jsx-runtime");
4921
+
4922
+ // src/components/PDFViewer/PDFElement.tsx
4923
+ var import_clsx35 = __toESM(require("clsx"), 1);
4924
+ var import_jsx_runtime52 = require("react/jsx-runtime");
4925
+
4926
+ // src/components/PDFViewer/DownloadIcon.tsx
4927
+ var import_jsx_runtime53 = require("react/jsx-runtime");
4928
+
4929
+ // src/components/PDFViewer/PDFNavigation.tsx
4930
+ var import_jsx_runtime54 = require("react/jsx-runtime");
4931
+
4932
+ // src/components/PDFViewer/index.tsx
4933
+ var import_jsx_runtime55 = require("react/jsx-runtime");
4934
+
4935
+ // src/components/ListGroup.tsx
4936
+ var import_react34 = require("react");
4937
+ var import_clsx36 = __toESM(require("clsx"), 1);
4938
+ var import_jsx_runtime56 = require("react/jsx-runtime");
4939
+
4940
+ // src/components/Pagination.tsx
4941
+ var import_react35 = require("react");
4942
+ var import_clsx37 = __toESM(require("clsx"), 1);
4943
+ var import_jsx_runtime57 = require("react/jsx-runtime");
4944
+ var Pagination = ({
4945
+ totalPages,
4946
+ currentPage,
4947
+ onPageChange,
4948
+ id,
4949
+ testid,
4950
+ className,
4951
+ disabled
4952
+ }) => {
4953
+ const goTo = (0, import_react35.useCallback)(
4954
+ (page) => {
4955
+ if (disabled) return;
4956
+ onPageChange(page);
4957
+ },
4958
+ [onPageChange, disabled]
4959
+ );
4960
+ const handleKey = (e) => {
4961
+ if (disabled) return;
4962
+ if (e.key === "ArrowLeft") {
4963
+ e.preventDefault();
4964
+ goTo(currentPage - 1);
4965
+ } else if (e.key === "ArrowRight") {
4966
+ e.preventDefault();
4967
+ goTo(currentPage + 1);
4968
+ }
4969
+ };
4970
+ const pageTokens = (0, import_react35.useMemo)(() => {
4971
+ if (totalPages <= 5) {
4972
+ return Array.from({ length: totalPages }, (_, i) => i + 1);
4973
+ }
4974
+ const pages = /* @__PURE__ */ new Set();
4975
+ pages.add(1);
4976
+ pages.add(totalPages);
4977
+ if (currentPage <= 3) {
4978
+ pages.add(2);
4979
+ pages.add(3);
4980
+ pages.add(4);
4981
+ } else if (currentPage >= totalPages - 2) {
4982
+ pages.add(totalPages - 1);
4983
+ pages.add(totalPages - 2);
4984
+ pages.add(totalPages - 3);
4985
+ } else {
4986
+ pages.add(currentPage - 1);
4987
+ pages.add(currentPage);
4988
+ pages.add(currentPage + 1);
4989
+ }
4990
+ const sorted = Array.from(pages).sort((a, b) => a - b);
4991
+ const tokens = [];
4992
+ for (let i = 0; i < sorted.length; i++) {
4993
+ const value = sorted[i];
4994
+ const prev = sorted[i - 1];
4995
+ if (i > 0) {
4996
+ if (value - prev === 2) {
4997
+ tokens.push(prev + 1);
4998
+ } else if (value - prev > 2) {
4999
+ tokens.push("ellipsis");
5000
+ }
5001
+ }
5002
+ tokens.push(value);
5003
+ }
5004
+ return tokens;
5005
+ }, [totalPages, currentPage]);
5006
+ if (totalPages <= 1) return null;
5007
+ const buttonClass = (0, import_clsx37.default)(
5008
+ "cursor-pointer disabled:cursor-default",
5009
+ paddingUsingComponentGap,
5010
+ "w-8 h-8",
5011
+ "flex items-center justify-center",
5012
+ "bg-transparent",
5013
+ "box-content",
5014
+ "hover:bg-background-grouped-secondary-normal",
5015
+ "focus:bg-background-grouped-secondary-normal focus:outline-0",
5016
+ "disabled:bg-transparent disabled:text-text-action-primary-disabled"
5017
+ );
5018
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5019
+ "nav",
5020
+ {
5021
+ id,
5022
+ "data-testid": testid,
5023
+ "aria-label": "Pagination",
5024
+ onKeyDown: handleKey,
5025
+ className: (0, import_clsx37.default)(
5026
+ "flex items-center",
5027
+ "border border-border-primary-normal",
5028
+ "bg-background-grouped-primary-normal",
5029
+ "rounded-sm",
5030
+ className
5031
+ ),
5032
+ children: [
5033
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5034
+ "button",
5035
+ {
5036
+ disabled: disabled || currentPage <= 1,
5037
+ "aria-label": "Previous page",
5038
+ onClick: () => goTo(currentPage - 1),
5039
+ className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
5040
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: "keyboard_arrow_left" })
5041
+ }
5042
+ ),
5043
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
5044
+ if (token === "ellipsis") {
5045
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5046
+ "li",
5047
+ {
5048
+ className: "w-8 h-8 select-none text-text-action-primary-disabled",
5049
+ children: "\u2026"
5050
+ },
5051
+ `ellipsis-${index}`
5052
+ );
5053
+ }
5054
+ const selected = token === currentPage;
5055
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5056
+ "button",
5057
+ {
5058
+ "aria-label": `Page ${token}`,
5059
+ "aria-current": selected ? "page" : void 0,
5060
+ disabled,
5061
+ onClick: () => goTo(token),
5062
+ className: (0, import_clsx37.default)(
5063
+ buttonClass,
5064
+ selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
5065
+ ),
5066
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Subheader, { align: "center", weight: "bold", children: token })
5067
+ }
5068
+ ) }, token);
5069
+ }) }),
5070
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5071
+ "button",
5072
+ {
5073
+ disabled: disabled || currentPage >= totalPages,
5074
+ "aria-label": "Next page",
5075
+ onClick: () => goTo(currentPage + 1),
5076
+ className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
5077
+ children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon, { name: "keyboard_arrow_right" })
5078
+ }
5079
+ )
5080
+ ]
5081
+ }
5082
+ );
5083
+ };
5084
+ Pagination.displayName = "Pagination";
5085
+
5086
+ // src/components/SkeletonParagraph.tsx
5087
+ var import_jsx_runtime58 = require("react/jsx-runtime");
5088
+
5089
+ // src/components/MobileDataGrid/ColumnSelector/index.tsx
5090
+ var import_jsx_runtime59 = require("react/jsx-runtime");
4877
5091
  function ColumnSelector() {
4878
5092
  const context = useGridContext();
4879
- const ref = (0, import_react32.useRef)(null);
4880
- const [show, setShow] = (0, import_react32.useState)(false);
5093
+ const ref = (0, import_react36.useRef)(null);
5094
+ const [show, setShow] = (0, import_react36.useState)(false);
4881
5095
  const {
4882
5096
  columns,
4883
5097
  id,
@@ -4888,13 +5102,13 @@ function ColumnSelector() {
4888
5102
  resetColumnVisibility,
4889
5103
  dispatch
4890
5104
  } = context;
4891
- const toggleColumnVisibility = (0, import_react32.useCallback)(
5105
+ const toggleColumnVisibility = (0, import_react36.useCallback)(
4892
5106
  (index, visible) => {
4893
5107
  dispatch({ type: "UPDATE", index, payload: { meta: { visible } } });
4894
5108
  },
4895
5109
  [dispatch]
4896
5110
  );
4897
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
5111
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4898
5112
  "div",
4899
5113
  {
4900
5114
  id: id ? `${id}-column-selector` : void 0,
@@ -4902,7 +5116,7 @@ function ColumnSelector() {
4902
5116
  className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
4903
5117
  ref,
4904
5118
  children: [
4905
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5119
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4906
5120
  Button,
4907
5121
  {
4908
5122
  id: id ? `${id}-button` : void 0,
@@ -4911,10 +5125,10 @@ function ColumnSelector() {
4911
5125
  variant: "navigation",
4912
5126
  iconOnly: true,
4913
5127
  size: 24,
4914
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "tune" })
5128
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: "tune" })
4915
5129
  }
4916
5130
  ),
4917
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
5131
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4918
5132
  Menu,
4919
5133
  {
4920
5134
  id: id ? `${id}-menu` : void 0,
@@ -4925,7 +5139,7 @@ function ColumnSelector() {
4925
5139
  setShow,
4926
5140
  calculateMinMaxHeight: true,
4927
5141
  children: [
4928
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5142
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4929
5143
  Button,
4930
5144
  {
4931
5145
  id: id ? `${id}-reset-button` : void 0,
@@ -4943,11 +5157,11 @@ function ColumnSelector() {
4943
5157
  return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
4944
5158
  }).map((column) => {
4945
5159
  var _a, _b, _c;
4946
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5160
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4947
5161
  MenuOption,
4948
5162
  {
4949
5163
  testid: testid ? `${testid}-option-${column.id}` : void 0,
4950
- children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5164
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4951
5165
  Checkbox,
4952
5166
  {
4953
5167
  id: id ? `${id}-checkbox-${column.id}` : void 0,
@@ -4977,7 +5191,7 @@ function ColumnSelector() {
4977
5191
  }
4978
5192
 
4979
5193
  // src/components/MobileDataGrid/MobileDataGridHeader.tsx
4980
- var import_jsx_runtime52 = require("react/jsx-runtime");
5194
+ var import_jsx_runtime60 = require("react/jsx-runtime");
4981
5195
  function MobileDataGridHeader({
4982
5196
  header: Header,
4983
5197
  enableColumnSelector,
@@ -4995,15 +5209,15 @@ function MobileDataGridHeader({
4995
5209
  handleRowSelectAll
4996
5210
  } = ctx;
4997
5211
  if (typeof Header === "undefined" && !primaryKey) return null;
4998
- if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Header, __spreadValues({}, ctx));
5212
+ if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Header, __spreadValues({}, ctx));
4999
5213
  if (typeof Header === "string" || primaryKey)
5000
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5214
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5001
5215
  "div",
5002
5216
  {
5003
5217
  id: id ? `${id}-header` : void 0,
5004
5218
  "data-testid": testid ? `${testid}-header` : void 0,
5005
5219
  className: "sticky top-0",
5006
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5220
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5007
5221
  Stack,
5008
5222
  {
5009
5223
  horizontal: true,
@@ -5012,7 +5226,7 @@ function MobileDataGridHeader({
5012
5226
  justify: "between",
5013
5227
  backgroundColor: "background-primary-normal",
5014
5228
  children: [
5015
- enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5229
+ enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5016
5230
  Checkbox,
5017
5231
  {
5018
5232
  id: id ? `${id}-select-all-checkbox` : void 0,
@@ -5022,7 +5236,7 @@ function MobileDataGridHeader({
5022
5236
  onChange: handleRowSelectAll
5023
5237
  }
5024
5238
  ) }),
5025
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5239
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5026
5240
  Stack,
5027
5241
  {
5028
5242
  horizontal: true,
@@ -5030,10 +5244,10 @@ function MobileDataGridHeader({
5030
5244
  items: "center",
5031
5245
  sizing: "component",
5032
5246
  padding: true,
5033
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Heading3, { as: "span", color: "text-primary-normal", children: typeof Header === "string" ? Header : (_b = (_a = columns.find((col) => col.id === primaryKey)) == null ? void 0 : _a.header) == null ? void 0 : _b.toString() })
5247
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Heading3, { as: "span", color: "text-primary-normal", children: typeof Header === "string" ? Header : (_b = (_a = columns.find((col) => col.id === primaryKey)) == null ? void 0 : _a.header) == null ? void 0 : _b.toString() })
5034
5248
  }
5035
5249
  ),
5036
- enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ColumnSelector, {})
5250
+ enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ColumnSelector, {})
5037
5251
  ]
5038
5252
  }
5039
5253
  ) })