@dmsi/wedgekit-react 0.0.414 → 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.
- package/dist/chunk-3HBYDOYE.js +114 -0
- package/dist/{chunk-JIMJIJOF.js → chunk-5TGP5EFM.js} +2 -2
- package/dist/{chunk-2HMCS25C.js → chunk-6LHBY2IH.js} +1 -1
- package/dist/{chunk-6I5LZ2ZC.js → chunk-7AXHAWJX.js} +3 -3
- package/dist/{chunk-MQX7GFLX.js → chunk-CAQWLY5V.js} +24 -6
- package/dist/{chunk-QQ5G773N.js → chunk-DCLNAUC4.js} +1 -1
- package/dist/{chunk-GB4ZTUQV.js → chunk-DTW7JCBR.js} +36 -0
- package/dist/{chunk-OBY5EH47.js → chunk-HYJIDHAK.js} +6 -6
- package/dist/{chunk-LZGYABCX.js → chunk-IMOIZFJZ.js} +8 -8
- package/dist/chunk-KBJZUVLM.js +65 -0
- package/dist/{chunk-AA6GE3TH.js → chunk-LUPHOXAQ.js} +1 -1
- package/dist/chunk-NRNWEQD7.js +66 -0
- package/dist/{chunk-44TDIHUP.js → chunk-P3MIP2FD.js} +1 -1
- package/dist/chunk-PQWWVBSR.js +61 -0
- package/dist/{chunk-ERW5DEIO.js → chunk-RQLWSLVE.js} +1 -1
- package/dist/chunk-TYAQWVIM.js +159 -0
- package/dist/{chunk-KZZKQLKF.js → chunk-W55J2KJZ.js} +1 -1
- package/dist/chunk-Y2GK27RX.js +79 -0
- package/dist/components/Accordion.cjs +74 -2
- package/dist/components/Accordion.js +3 -3
- package/dist/components/CalendarRange.cjs +232 -53
- package/dist/components/CalendarRange.css +178 -65
- package/dist/components/CalendarRange.js +25 -17
- package/dist/components/Card.cjs +38 -2
- package/dist/components/Card.js +1 -1
- package/dist/components/CompactImagesPreview.cjs +59 -5
- package/dist/components/CompactImagesPreview.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +190 -11
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +178 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +25 -17
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +200 -21
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +178 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +25 -17
- package/dist/components/DataGrid/PinnedColumns.cjs +215 -36
- package/dist/components/DataGrid/PinnedColumns.css +178 -65
- package/dist/components/DataGrid/PinnedColumns.js +25 -17
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +191 -12
- package/dist/components/DataGrid/TableBody/LoadingCell.css +178 -65
- package/dist/components/DataGrid/TableBody/LoadingCell.js +25 -17
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +197 -18
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +178 -65
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +25 -17
- package/dist/components/DataGrid/TableBody/index.cjs +212 -33
- package/dist/components/DataGrid/TableBody/index.css +178 -65
- package/dist/components/DataGrid/TableBody/index.js +25 -17
- package/dist/components/DataGrid/index.cjs +301 -122
- package/dist/components/DataGrid/index.css +178 -65
- package/dist/components/DataGrid/index.js +25 -17
- package/dist/components/DataGrid/utils.cjs +191 -12
- package/dist/components/DataGrid/utils.css +178 -65
- package/dist/components/DataGrid/utils.js +25 -17
- package/dist/components/DateInput.cjs +251 -72
- package/dist/components/DateInput.css +178 -65
- package/dist/components/DateInput.js +25 -17
- package/dist/components/DateRangeInput.cjs +251 -72
- package/dist/components/DateRangeInput.css +178 -65
- package/dist/components/DateRangeInput.js +25 -17
- package/dist/components/Grid.cjs +81 -76
- package/dist/components/Grid.js +1 -1
- package/dist/components/ListGroup.cjs +553 -0
- package/dist/components/ListGroup.js +11 -0
- package/dist/components/MobileDataGrid/ColumnList.cjs +36 -0
- package/dist/components/MobileDataGrid/ColumnList.js +3 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +198 -19
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +178 -65
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +25 -17
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +36 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +242 -27
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +178 -65
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +25 -17
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +36 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +2 -2
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +36 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +5 -5
- package/dist/components/MobileDataGrid/index.cjs +742 -527
- package/dist/components/MobileDataGrid/index.css +178 -65
- package/dist/components/MobileDataGrid/index.js +25 -17
- package/dist/components/Modal.js +2 -2
- package/dist/components/Notification.cjs +36 -0
- package/dist/components/Notification.js +1 -1
- package/dist/components/PDFViewer/PDFElement.cjs +36 -0
- package/dist/components/PDFViewer/PDFElement.js +2 -2
- package/dist/components/PDFViewer/PDFNavigation.cjs +36 -0
- package/dist/components/PDFViewer/PDFNavigation.js +2 -2
- package/dist/components/PDFViewer/index.cjs +36 -0
- package/dist/components/PDFViewer/index.js +8 -111
- package/dist/components/Pagination.cjs +427 -0
- package/dist/components/Pagination.js +10 -0
- package/dist/components/ProductImagePreview/index.cjs +139 -127
- package/dist/components/ProductImagePreview/index.js +5 -5
- package/dist/components/SideMenuGroup.cjs +36 -0
- package/dist/components/SideMenuGroup.js +1 -1
- package/dist/components/SideMenuItem.cjs +36 -0
- package/dist/components/SideMenuItem.js +1 -1
- package/dist/components/SimpleTable.cjs +521 -0
- package/dist/components/SimpleTable.js +10 -0
- package/dist/components/Stack.cjs +36 -0
- package/dist/components/Stack.js +1 -1
- package/dist/components/Swatch.cjs +36 -0
- package/dist/components/Swatch.js +1 -1
- package/dist/components/Time.cjs +36 -0
- package/dist/components/Time.js +1 -1
- package/dist/components/Tooltip.cjs +1 -1
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/Upload.cjs +36 -0
- package/dist/components/Upload.js +1 -1
- package/dist/components/index.cjs +739 -131
- package/dist/components/index.css +178 -65
- package/dist/components/index.js +37 -17
- package/dist/index.css +178 -65
- package/package.json +1 -1
- package/src/components/Card.tsx +60 -2
- package/src/components/CompactImagesPreview.tsx +54 -30
- package/src/components/Grid.tsx +59 -91
- package/src/components/ListGroup.tsx +82 -0
- package/src/components/Pagination.tsx +182 -0
- package/src/components/SimpleTable.tsx +77 -0
- package/src/components/Stack.tsx +76 -0
- package/src/components/Tooltip.tsx +4 -3
- package/src/components/index.ts +4 -0
- package/dist/chunk-ER6RCOH3.js +0 -97
- package/dist/chunk-EZCH4PQS.js +0 -29
- package/dist/{chunk-D6YCMQPO.js → chunk-SBCFBHNG.js} +3 -3
|
@@ -3936,7 +3936,7 @@ var Tooltip = ({
|
|
|
3936
3936
|
id,
|
|
3937
3937
|
"data-testid": testid,
|
|
3938
3938
|
ref,
|
|
3939
|
-
className: "relative inline-grid grid-cols-[auto_1fr] items-center",
|
|
3939
|
+
className: "relative inline-grid grid-cols-[auto_1fr] items-center cursor-pointer",
|
|
3940
3940
|
onMouseEnter: handleMouseEnter,
|
|
3941
3941
|
onMouseLeave: handleMouseLeave,
|
|
3942
3942
|
children: [
|
|
@@ -4527,12 +4527,11 @@ var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
|
4527
4527
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
4528
4528
|
|
|
4529
4529
|
// src/components/Grid.tsx
|
|
4530
|
-
var import_react27 = require("react");
|
|
4531
4530
|
var import_clsx30 = __toESM(require("clsx"), 1);
|
|
4532
4531
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4533
4532
|
|
|
4534
4533
|
// src/components/ProductImagePreview/ProductPrimaryImage.tsx
|
|
4535
|
-
var
|
|
4534
|
+
var import_react27 = require("react");
|
|
4536
4535
|
|
|
4537
4536
|
// src/components/Spinner.tsx
|
|
4538
4537
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
@@ -4568,7 +4567,7 @@ Spinner.displayName = "Spinner";
|
|
|
4568
4567
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
4569
4568
|
|
|
4570
4569
|
// src/components/ProductImagePreview/ZoomWindow.tsx
|
|
4571
|
-
var
|
|
4570
|
+
var import_react28 = require("react");
|
|
4572
4571
|
|
|
4573
4572
|
// src/components/Surface.tsx
|
|
4574
4573
|
var import_clsx31 = __toESM(require("clsx"), 1);
|
|
@@ -4613,22 +4612,202 @@ var import_clsx32 = require("clsx");
|
|
|
4613
4612
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
4614
4613
|
|
|
4615
4614
|
// src/components/ProductImagePreview/MobileImageCarousel.tsx
|
|
4616
|
-
var
|
|
4615
|
+
var import_react29 = require("react");
|
|
4617
4616
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
4618
4617
|
|
|
4619
4618
|
// src/components/ProductImagePreview/useProductImagePreview.ts
|
|
4620
|
-
var
|
|
4619
|
+
var import_react30 = require("react");
|
|
4621
4620
|
|
|
4622
4621
|
// src/components/ProductImagePreview/index.tsx
|
|
4623
4622
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
4624
4623
|
|
|
4625
4624
|
// src/components/CompactImagesPreview.tsx
|
|
4626
|
-
var
|
|
4625
|
+
var import_react31 = require("react");
|
|
4627
4626
|
var import_clsx33 = __toESM(require("clsx"), 1);
|
|
4628
4627
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4629
4628
|
|
|
4630
|
-
// src/components/
|
|
4629
|
+
// src/components/SimpleTable.tsx
|
|
4630
|
+
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
4631
4631
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4632
|
+
|
|
4633
|
+
// src/components/PDFViewer/index.tsx
|
|
4634
|
+
var import_react34 = require("react");
|
|
4635
|
+
|
|
4636
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4637
|
+
var import_react_pdf2 = require("@mikecousins/react-pdf");
|
|
4638
|
+
var import_react33 = require("react");
|
|
4639
|
+
|
|
4640
|
+
// src/components/PDFViewer/PDFPage.tsx
|
|
4641
|
+
var import_react_pdf = require("@mikecousins/react-pdf");
|
|
4642
|
+
var import_react32 = require("react");
|
|
4643
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
4644
|
+
|
|
4645
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4646
|
+
var import_clsx35 = __toESM(require("clsx"), 1);
|
|
4647
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4648
|
+
|
|
4649
|
+
// src/components/PDFViewer/DownloadIcon.tsx
|
|
4650
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4651
|
+
|
|
4652
|
+
// src/components/PDFViewer/PDFNavigation.tsx
|
|
4653
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4654
|
+
|
|
4655
|
+
// src/components/PDFViewer/index.tsx
|
|
4656
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4657
|
+
|
|
4658
|
+
// src/components/ListGroup.tsx
|
|
4659
|
+
var import_react35 = require("react");
|
|
4660
|
+
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
4661
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4662
|
+
|
|
4663
|
+
// src/components/Pagination.tsx
|
|
4664
|
+
var import_react36 = require("react");
|
|
4665
|
+
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
4666
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4667
|
+
var Pagination = ({
|
|
4668
|
+
totalPages,
|
|
4669
|
+
currentPage,
|
|
4670
|
+
onPageChange,
|
|
4671
|
+
id,
|
|
4672
|
+
testid,
|
|
4673
|
+
className,
|
|
4674
|
+
disabled
|
|
4675
|
+
}) => {
|
|
4676
|
+
const goTo = (0, import_react36.useCallback)(
|
|
4677
|
+
(page) => {
|
|
4678
|
+
if (disabled) return;
|
|
4679
|
+
onPageChange(page);
|
|
4680
|
+
},
|
|
4681
|
+
[onPageChange, disabled]
|
|
4682
|
+
);
|
|
4683
|
+
const handleKey = (e) => {
|
|
4684
|
+
if (disabled) return;
|
|
4685
|
+
if (e.key === "ArrowLeft") {
|
|
4686
|
+
e.preventDefault();
|
|
4687
|
+
goTo(currentPage - 1);
|
|
4688
|
+
} else if (e.key === "ArrowRight") {
|
|
4689
|
+
e.preventDefault();
|
|
4690
|
+
goTo(currentPage + 1);
|
|
4691
|
+
}
|
|
4692
|
+
};
|
|
4693
|
+
const pageTokens = (0, import_react36.useMemo)(() => {
|
|
4694
|
+
if (totalPages <= 5) {
|
|
4695
|
+
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
4696
|
+
}
|
|
4697
|
+
const pages = /* @__PURE__ */ new Set();
|
|
4698
|
+
pages.add(1);
|
|
4699
|
+
pages.add(totalPages);
|
|
4700
|
+
if (currentPage <= 3) {
|
|
4701
|
+
pages.add(2);
|
|
4702
|
+
pages.add(3);
|
|
4703
|
+
pages.add(4);
|
|
4704
|
+
} else if (currentPage >= totalPages - 2) {
|
|
4705
|
+
pages.add(totalPages - 1);
|
|
4706
|
+
pages.add(totalPages - 2);
|
|
4707
|
+
pages.add(totalPages - 3);
|
|
4708
|
+
} else {
|
|
4709
|
+
pages.add(currentPage - 1);
|
|
4710
|
+
pages.add(currentPage);
|
|
4711
|
+
pages.add(currentPage + 1);
|
|
4712
|
+
}
|
|
4713
|
+
const sorted = Array.from(pages).sort((a, b) => a - b);
|
|
4714
|
+
const tokens = [];
|
|
4715
|
+
for (let i = 0; i < sorted.length; i++) {
|
|
4716
|
+
const value = sorted[i];
|
|
4717
|
+
const prev = sorted[i - 1];
|
|
4718
|
+
if (i > 0) {
|
|
4719
|
+
if (value - prev === 2) {
|
|
4720
|
+
tokens.push(prev + 1);
|
|
4721
|
+
} else if (value - prev > 2) {
|
|
4722
|
+
tokens.push("ellipsis");
|
|
4723
|
+
}
|
|
4724
|
+
}
|
|
4725
|
+
tokens.push(value);
|
|
4726
|
+
}
|
|
4727
|
+
return tokens;
|
|
4728
|
+
}, [totalPages, currentPage]);
|
|
4729
|
+
if (totalPages <= 1) return null;
|
|
4730
|
+
const buttonClass = (0, import_clsx37.default)(
|
|
4731
|
+
"cursor-pointer disabled:cursor-default",
|
|
4732
|
+
paddingUsingComponentGap,
|
|
4733
|
+
"w-8 h-8",
|
|
4734
|
+
"flex items-center justify-center",
|
|
4735
|
+
"bg-transparent",
|
|
4736
|
+
"box-content",
|
|
4737
|
+
"hover:bg-background-grouped-secondary-normal",
|
|
4738
|
+
"focus:bg-background-grouped-secondary-normal focus:outline-0",
|
|
4739
|
+
"disabled:bg-transparent disabled:text-text-action-primary-disabled"
|
|
4740
|
+
);
|
|
4741
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
4742
|
+
"nav",
|
|
4743
|
+
{
|
|
4744
|
+
id,
|
|
4745
|
+
"data-testid": testid,
|
|
4746
|
+
"aria-label": "Pagination",
|
|
4747
|
+
onKeyDown: handleKey,
|
|
4748
|
+
className: (0, import_clsx37.default)(
|
|
4749
|
+
"flex items-center",
|
|
4750
|
+
"border border-border-primary-normal",
|
|
4751
|
+
"bg-background-grouped-primary-normal",
|
|
4752
|
+
"rounded-sm",
|
|
4753
|
+
className
|
|
4754
|
+
),
|
|
4755
|
+
children: [
|
|
4756
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4757
|
+
"button",
|
|
4758
|
+
{
|
|
4759
|
+
disabled: disabled || currentPage <= 1,
|
|
4760
|
+
"aria-label": "Previous page",
|
|
4761
|
+
onClick: () => goTo(currentPage - 1),
|
|
4762
|
+
className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
|
|
4763
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_left" })
|
|
4764
|
+
}
|
|
4765
|
+
),
|
|
4766
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
|
|
4767
|
+
if (token === "ellipsis") {
|
|
4768
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4769
|
+
"li",
|
|
4770
|
+
{
|
|
4771
|
+
className: "w-8 h-8 select-none text-text-action-primary-disabled",
|
|
4772
|
+
children: "\u2026"
|
|
4773
|
+
},
|
|
4774
|
+
`ellipsis-${index}`
|
|
4775
|
+
);
|
|
4776
|
+
}
|
|
4777
|
+
const selected = token === currentPage;
|
|
4778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4779
|
+
"button",
|
|
4780
|
+
{
|
|
4781
|
+
"aria-label": `Page ${token}`,
|
|
4782
|
+
"aria-current": selected ? "page" : void 0,
|
|
4783
|
+
disabled,
|
|
4784
|
+
onClick: () => goTo(token),
|
|
4785
|
+
className: (0, import_clsx37.default)(
|
|
4786
|
+
buttonClass,
|
|
4787
|
+
selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
|
|
4788
|
+
),
|
|
4789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Subheader, { align: "center", weight: "bold", children: token })
|
|
4790
|
+
}
|
|
4791
|
+
) }, token);
|
|
4792
|
+
}) }),
|
|
4793
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4794
|
+
"button",
|
|
4795
|
+
{
|
|
4796
|
+
disabled: disabled || currentPage >= totalPages,
|
|
4797
|
+
"aria-label": "Next page",
|
|
4798
|
+
onClick: () => goTo(currentPage + 1),
|
|
4799
|
+
className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
|
|
4800
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_right" })
|
|
4801
|
+
}
|
|
4802
|
+
)
|
|
4803
|
+
]
|
|
4804
|
+
}
|
|
4805
|
+
);
|
|
4806
|
+
};
|
|
4807
|
+
Pagination.displayName = "Pagination";
|
|
4808
|
+
|
|
4809
|
+
// src/components/DataGrid/TableBody/LoadingCell.tsx
|
|
4810
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4632
4811
|
function LoadingCell({
|
|
4633
4812
|
id,
|
|
4634
4813
|
testid,
|
|
@@ -4636,16 +4815,16 @@ function LoadingCell({
|
|
|
4636
4815
|
}) {
|
|
4637
4816
|
const key = `loading-${column.id}`;
|
|
4638
4817
|
if (column.cell === "checkbox") {
|
|
4639
|
-
return /* @__PURE__ */ (0,
|
|
4818
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Checkbox, { id: id ? `${id}-${key}-checkbox` : void 0, testid: testid ? `${testid}-${key}-checkbox` : void 0, disabled: true }) }, key);
|
|
4640
4819
|
}
|
|
4641
4820
|
if (column.cell === "input") {
|
|
4642
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4643
4822
|
DataGridCell,
|
|
4644
4823
|
{
|
|
4645
4824
|
id: id ? `${id}-${key}` : void 0,
|
|
4646
4825
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
4647
4826
|
component: "input",
|
|
4648
|
-
children: /* @__PURE__ */ (0,
|
|
4827
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4649
4828
|
Input,
|
|
4650
4829
|
{
|
|
4651
4830
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -4659,7 +4838,7 @@ function LoadingCell({
|
|
|
4659
4838
|
key
|
|
4660
4839
|
);
|
|
4661
4840
|
}
|
|
4662
|
-
return /* @__PURE__ */ (0,
|
|
4841
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(DataGridCell, { id: id ? `${id}-${key}` : void 0, testid: testid ? `${testid}-${key}` : void 0, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "bg-linear-270 to-neutral-300/[24%] from-neutral-300/[12%] rounded-xs w-full max-w-25 h-6" }) }, key);
|
|
4663
4842
|
}
|
|
4664
4843
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4665
4844
|
0 && (module.exports = {
|
|
@@ -690,6 +690,9 @@
|
|
|
690
690
|
.ml-auto {
|
|
691
691
|
margin-left: auto;
|
|
692
692
|
}
|
|
693
|
+
.box-content {
|
|
694
|
+
box-sizing: content-box;
|
|
695
|
+
}
|
|
693
696
|
.block {
|
|
694
697
|
display: block;
|
|
695
698
|
}
|
|
@@ -841,6 +844,9 @@
|
|
|
841
844
|
.\!w-20 {
|
|
842
845
|
width: calc(var(--spacing) * 20) !important;
|
|
843
846
|
}
|
|
847
|
+
.w-2\/3 {
|
|
848
|
+
width: calc(2/3 * 100%);
|
|
849
|
+
}
|
|
844
850
|
.w-3 {
|
|
845
851
|
width: calc(var(--spacing) * 3);
|
|
846
852
|
}
|
|
@@ -961,6 +967,9 @@
|
|
|
961
967
|
.grow-0 {
|
|
962
968
|
flex-grow: 0;
|
|
963
969
|
}
|
|
970
|
+
.border-collapse {
|
|
971
|
+
border-collapse: collapse;
|
|
972
|
+
}
|
|
964
973
|
.translate-x-0 {
|
|
965
974
|
--tw-translate-x: calc(var(--spacing) * 0);
|
|
966
975
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -996,6 +1005,9 @@
|
|
|
996
1005
|
.cursor-grab {
|
|
997
1006
|
cursor: grab;
|
|
998
1007
|
}
|
|
1008
|
+
.cursor-not-allowed {
|
|
1009
|
+
cursor: not-allowed;
|
|
1010
|
+
}
|
|
999
1011
|
.cursor-pointer {
|
|
1000
1012
|
cursor: pointer;
|
|
1001
1013
|
}
|
|
@@ -1074,6 +1086,9 @@
|
|
|
1074
1086
|
.justify-start {
|
|
1075
1087
|
justify-content: flex-start;
|
|
1076
1088
|
}
|
|
1089
|
+
.gap-0 {
|
|
1090
|
+
gap: calc(var(--spacing) * 0);
|
|
1091
|
+
}
|
|
1077
1092
|
.gap-0\.5 {
|
|
1078
1093
|
gap: calc(var(--spacing) * 0.5);
|
|
1079
1094
|
}
|
|
@@ -1284,6 +1299,10 @@
|
|
|
1284
1299
|
border-inline-style: var(--tw-border-style);
|
|
1285
1300
|
border-inline-width: 0px;
|
|
1286
1301
|
}
|
|
1302
|
+
.border-x-1 {
|
|
1303
|
+
border-inline-style: var(--tw-border-style);
|
|
1304
|
+
border-inline-width: 1px;
|
|
1305
|
+
}
|
|
1287
1306
|
.border-y {
|
|
1288
1307
|
border-block-style: var(--tw-border-style);
|
|
1289
1308
|
border-block-width: 1px;
|
|
@@ -1300,6 +1319,10 @@
|
|
|
1300
1319
|
border-right-style: var(--tw-border-style);
|
|
1301
1320
|
border-right-width: 0px;
|
|
1302
1321
|
}
|
|
1322
|
+
.border-r-1 {
|
|
1323
|
+
border-right-style: var(--tw-border-style);
|
|
1324
|
+
border-right-width: 1px;
|
|
1325
|
+
}
|
|
1303
1326
|
.border-b {
|
|
1304
1327
|
border-bottom-style: var(--tw-border-style);
|
|
1305
1328
|
border-bottom-width: 1px;
|
|
@@ -1308,6 +1331,10 @@
|
|
|
1308
1331
|
border-left-style: var(--tw-border-style);
|
|
1309
1332
|
border-left-width: 1px;
|
|
1310
1333
|
}
|
|
1334
|
+
.border-l-1 {
|
|
1335
|
+
border-left-style: var(--tw-border-style);
|
|
1336
|
+
border-left-width: 1px;
|
|
1337
|
+
}
|
|
1311
1338
|
.border-dashed {
|
|
1312
1339
|
--tw-border-style: dashed;
|
|
1313
1340
|
border-style: dashed;
|
|
@@ -1885,6 +1912,9 @@
|
|
|
1885
1912
|
.\!p-0 {
|
|
1886
1913
|
padding: calc(var(--spacing) * 0) !important;
|
|
1887
1914
|
}
|
|
1915
|
+
.p-0 {
|
|
1916
|
+
padding: calc(var(--spacing) * 0);
|
|
1917
|
+
}
|
|
1888
1918
|
.p-0\.5 {
|
|
1889
1919
|
padding: calc(var(--spacing) * 0.5);
|
|
1890
1920
|
}
|
|
@@ -1999,12 +2029,33 @@
|
|
|
1999
2029
|
.pt-\[7px\] {
|
|
2000
2030
|
padding-top: 7px;
|
|
2001
2031
|
}
|
|
2032
|
+
.pt-mobile-component-padding {
|
|
2033
|
+
padding-top: var(--spacing-mobile-component-padding);
|
|
2034
|
+
}
|
|
2035
|
+
.pt-mobile-container-padding {
|
|
2036
|
+
padding-top: var(--spacing-mobile-container-padding);
|
|
2037
|
+
}
|
|
2038
|
+
.pt-mobile-layout-padding {
|
|
2039
|
+
padding-top: var(--spacing-mobile-layout-padding);
|
|
2040
|
+
}
|
|
2041
|
+
.pr-mobile-component-padding {
|
|
2042
|
+
padding-right: var(--spacing-mobile-component-padding);
|
|
2043
|
+
}
|
|
2044
|
+
.pr-mobile-container-padding {
|
|
2045
|
+
padding-right: var(--spacing-mobile-container-padding);
|
|
2046
|
+
}
|
|
2047
|
+
.pr-mobile-layout-padding {
|
|
2048
|
+
padding-right: var(--spacing-mobile-layout-padding);
|
|
2049
|
+
}
|
|
2002
2050
|
.pb-2 {
|
|
2003
2051
|
padding-bottom: calc(var(--spacing) * 2);
|
|
2004
2052
|
}
|
|
2005
2053
|
.pb-mobile-component-padding {
|
|
2006
2054
|
padding-bottom: var(--spacing-mobile-component-padding);
|
|
2007
2055
|
}
|
|
2056
|
+
.pb-mobile-container-padding {
|
|
2057
|
+
padding-bottom: var(--spacing-mobile-container-padding);
|
|
2058
|
+
}
|
|
2008
2059
|
.pb-mobile-layout-padding {
|
|
2009
2060
|
padding-bottom: var(--spacing-mobile-layout-padding);
|
|
2010
2061
|
}
|
|
@@ -2026,6 +2077,12 @@
|
|
|
2026
2077
|
.pl-mobile-component-padding {
|
|
2027
2078
|
padding-left: var(--spacing-mobile-component-padding);
|
|
2028
2079
|
}
|
|
2080
|
+
.pl-mobile-container-padding {
|
|
2081
|
+
padding-left: var(--spacing-mobile-container-padding);
|
|
2082
|
+
}
|
|
2083
|
+
.pl-mobile-layout-padding {
|
|
2084
|
+
padding-left: var(--spacing-mobile-layout-padding);
|
|
2085
|
+
}
|
|
2029
2086
|
.text-center {
|
|
2030
2087
|
text-align: center;
|
|
2031
2088
|
}
|
|
@@ -2035,6 +2092,9 @@
|
|
|
2035
2092
|
.text-right {
|
|
2036
2093
|
text-align: right;
|
|
2037
2094
|
}
|
|
2095
|
+
.align-middle {
|
|
2096
|
+
vertical-align: middle;
|
|
2097
|
+
}
|
|
2038
2098
|
.font-sans {
|
|
2039
2099
|
font-family: var(--font-sans);
|
|
2040
2100
|
}
|
|
@@ -2243,6 +2303,9 @@
|
|
|
2243
2303
|
.text-text-action-normal {
|
|
2244
2304
|
color: var(--color-text-action-normal);
|
|
2245
2305
|
}
|
|
2306
|
+
.text-text-action-primary-disabled {
|
|
2307
|
+
color: var(--color-text-action-primary-disabled);
|
|
2308
|
+
}
|
|
2246
2309
|
.text-text-action-primary-normal {
|
|
2247
2310
|
color: var(--color-text-action-primary-normal);
|
|
2248
2311
|
}
|
|
@@ -2321,6 +2384,9 @@
|
|
|
2321
2384
|
.opacity-40 {
|
|
2322
2385
|
opacity: 40%;
|
|
2323
2386
|
}
|
|
2387
|
+
.opacity-50 {
|
|
2388
|
+
opacity: 50%;
|
|
2389
|
+
}
|
|
2324
2390
|
.opacity-70 {
|
|
2325
2391
|
opacity: 70%;
|
|
2326
2392
|
}
|
|
@@ -3060,6 +3126,13 @@
|
|
|
3060
3126
|
}
|
|
3061
3127
|
}
|
|
3062
3128
|
}
|
|
3129
|
+
.hover\:bg-background-grouped-secondary-normal {
|
|
3130
|
+
&:hover {
|
|
3131
|
+
@media (hover: hover) {
|
|
3132
|
+
background-color: var(--color-background-grouped-secondary-normal);
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3063
3136
|
.hover\:\!text-brand-text-on-action-primary-hover {
|
|
3064
3137
|
&:hover {
|
|
3065
3138
|
@media (hover: hover) {
|
|
@@ -3206,6 +3279,11 @@
|
|
|
3206
3279
|
background-color: var(--color-background-action-secondary-hover);
|
|
3207
3280
|
}
|
|
3208
3281
|
}
|
|
3282
|
+
.focus\:bg-background-grouped-secondary-normal {
|
|
3283
|
+
&:focus {
|
|
3284
|
+
background-color: var(--color-background-grouped-secondary-normal);
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3209
3287
|
.focus\:text-text-action-critical-hover {
|
|
3210
3288
|
&:focus {
|
|
3211
3289
|
color: var(--color-text-action-critical-hover);
|
|
@@ -3416,6 +3494,11 @@
|
|
|
3416
3494
|
pointer-events: none;
|
|
3417
3495
|
}
|
|
3418
3496
|
}
|
|
3497
|
+
.disabled\:cursor-default {
|
|
3498
|
+
&:disabled {
|
|
3499
|
+
cursor: default;
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3419
3502
|
.disabled\:\!border-border-primary-normal {
|
|
3420
3503
|
&:disabled {
|
|
3421
3504
|
border-color: var(--color-border-primary-normal) !important;
|
|
@@ -3722,11 +3805,6 @@
|
|
|
3722
3805
|
width: 100%;
|
|
3723
3806
|
}
|
|
3724
3807
|
}
|
|
3725
|
-
.sm\:grid-cols-2 {
|
|
3726
|
-
@media (width >= 320px) {
|
|
3727
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3730
3808
|
.md\:block {
|
|
3731
3809
|
@media (width >= 768px) {
|
|
3732
3810
|
display: block;
|
|
@@ -3757,66 +3835,6 @@
|
|
|
3757
3835
|
gap: calc(var(--spacing) * 2);
|
|
3758
3836
|
}
|
|
3759
3837
|
}
|
|
3760
|
-
.lg\:grid-cols-4 {
|
|
3761
|
-
@media (width >= 1024px) {
|
|
3762
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3763
|
-
}
|
|
3764
|
-
}
|
|
3765
|
-
.xl\:grid-cols-4 {
|
|
3766
|
-
@media (width >= 1280px) {
|
|
3767
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3768
|
-
}
|
|
3769
|
-
}
|
|
3770
|
-
.xl\:grid-cols-5 {
|
|
3771
|
-
@media (width >= 1280px) {
|
|
3772
|
-
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
3773
|
-
}
|
|
3774
|
-
}
|
|
3775
|
-
.xl\:grid-cols-6 {
|
|
3776
|
-
@media (width >= 1280px) {
|
|
3777
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3778
|
-
}
|
|
3779
|
-
}
|
|
3780
|
-
.xl\:grid-cols-8 {
|
|
3781
|
-
@media (width >= 1280px) {
|
|
3782
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3783
|
-
}
|
|
3784
|
-
}
|
|
3785
|
-
.\32xl\:grid-cols-6 {
|
|
3786
|
-
@media (width >= 1536px) {
|
|
3787
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3788
|
-
}
|
|
3789
|
-
}
|
|
3790
|
-
.\32xl\:grid-cols-7 {
|
|
3791
|
-
@media (width >= 1536px) {
|
|
3792
|
-
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
.\32xl\:grid-cols-8 {
|
|
3796
|
-
@media (width >= 1536px) {
|
|
3797
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3798
|
-
}
|
|
3799
|
-
}
|
|
3800
|
-
.\32xl\:grid-cols-9 {
|
|
3801
|
-
@media (width >= 1536px) {
|
|
3802
|
-
grid-template-columns: repeat(9, minmax(0, 1fr));
|
|
3803
|
-
}
|
|
3804
|
-
}
|
|
3805
|
-
.\32xl\:grid-cols-10 {
|
|
3806
|
-
@media (width >= 1536px) {
|
|
3807
|
-
grid-template-columns: repeat(10, minmax(0, 1fr));
|
|
3808
|
-
}
|
|
3809
|
-
}
|
|
3810
|
-
.\32xl\:grid-cols-11 {
|
|
3811
|
-
@media (width >= 1536px) {
|
|
3812
|
-
grid-template-columns: repeat(11, minmax(0, 1fr));
|
|
3813
|
-
}
|
|
3814
|
-
}
|
|
3815
|
-
.\32xl\:grid-cols-12 {
|
|
3816
|
-
@media (width >= 1536px) {
|
|
3817
|
-
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
3818
|
-
}
|
|
3819
|
-
}
|
|
3820
3838
|
.compact\:mt-desktop-compact-component-gap {
|
|
3821
3839
|
&:where([data-compact]) {
|
|
3822
3840
|
margin-top: var(--spacing-desktop-compact-component-gap);
|
|
@@ -3922,11 +3940,46 @@
|
|
|
3922
3940
|
padding-block: var(--spacing-desktop-compact-layout-padding);
|
|
3923
3941
|
}
|
|
3924
3942
|
}
|
|
3943
|
+
.compact\:pt-desktop-compact-component-padding {
|
|
3944
|
+
&:where([data-compact]) {
|
|
3945
|
+
padding-top: var(--spacing-desktop-compact-component-padding);
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
.compact\:pt-desktop-compact-container-padding {
|
|
3949
|
+
&:where([data-compact]) {
|
|
3950
|
+
padding-top: var(--spacing-desktop-compact-container-padding);
|
|
3951
|
+
}
|
|
3952
|
+
}
|
|
3953
|
+
.compact\:pt-desktop-compact-layout-padding {
|
|
3954
|
+
&:where([data-compact]) {
|
|
3955
|
+
padding-top: var(--spacing-desktop-compact-layout-padding);
|
|
3956
|
+
}
|
|
3957
|
+
}
|
|
3958
|
+
.compact\:pr-desktop-compact-component-padding {
|
|
3959
|
+
&:where([data-compact]) {
|
|
3960
|
+
padding-right: var(--spacing-desktop-compact-component-padding);
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
.compact\:pr-desktop-compact-container-padding {
|
|
3964
|
+
&:where([data-compact]) {
|
|
3965
|
+
padding-right: var(--spacing-desktop-compact-container-padding);
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
.compact\:pr-desktop-compact-layout-padding {
|
|
3969
|
+
&:where([data-compact]) {
|
|
3970
|
+
padding-right: var(--spacing-desktop-compact-layout-padding);
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3925
3973
|
.compact\:pb-desktop-compact-component-padding {
|
|
3926
3974
|
&:where([data-compact]) {
|
|
3927
3975
|
padding-bottom: var(--spacing-desktop-compact-component-padding);
|
|
3928
3976
|
}
|
|
3929
3977
|
}
|
|
3978
|
+
.compact\:pb-desktop-compact-container-padding {
|
|
3979
|
+
&:where([data-compact]) {
|
|
3980
|
+
padding-bottom: var(--spacing-desktop-compact-container-padding);
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3930
3983
|
.compact\:pb-desktop-compact-layout-padding {
|
|
3931
3984
|
&:where([data-compact]) {
|
|
3932
3985
|
padding-bottom: var(--spacing-desktop-compact-layout-padding);
|
|
@@ -3937,6 +3990,16 @@
|
|
|
3937
3990
|
padding-left: var(--spacing-desktop-compact-component-padding);
|
|
3938
3991
|
}
|
|
3939
3992
|
}
|
|
3993
|
+
.compact\:pl-desktop-compact-container-padding {
|
|
3994
|
+
&:where([data-compact]) {
|
|
3995
|
+
padding-left: var(--spacing-desktop-compact-container-padding);
|
|
3996
|
+
}
|
|
3997
|
+
}
|
|
3998
|
+
.compact\:pl-desktop-compact-layout-padding {
|
|
3999
|
+
&:where([data-compact]) {
|
|
4000
|
+
padding-left: var(--spacing-desktop-compact-layout-padding);
|
|
4001
|
+
}
|
|
4002
|
+
}
|
|
3940
4003
|
.compact\:text-caption-desktop-compact {
|
|
3941
4004
|
&:where([data-compact]) {
|
|
3942
4005
|
font-size: var(--text-caption-desktop-compact);
|
|
@@ -4108,6 +4171,11 @@
|
|
|
4108
4171
|
flex-grow: 0;
|
|
4109
4172
|
}
|
|
4110
4173
|
}
|
|
4174
|
+
.desktop\:grid-cols-4 {
|
|
4175
|
+
@container root (width >= 48rem) {
|
|
4176
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4111
4179
|
.desktop\:flex-col {
|
|
4112
4180
|
@container root (width >= 48rem) {
|
|
4113
4181
|
flex-direction: column;
|
|
@@ -4243,16 +4311,51 @@
|
|
|
4243
4311
|
padding-block: var(--spacing-desktop-layout-padding);
|
|
4244
4312
|
}
|
|
4245
4313
|
}
|
|
4314
|
+
.desktop\:pt-desktop-component-padding {
|
|
4315
|
+
@container root (width >= 48rem) {
|
|
4316
|
+
padding-top: var(--spacing-desktop-component-padding);
|
|
4317
|
+
}
|
|
4318
|
+
}
|
|
4319
|
+
.desktop\:pt-desktop-container-padding {
|
|
4320
|
+
@container root (width >= 48rem) {
|
|
4321
|
+
padding-top: var(--spacing-desktop-container-padding);
|
|
4322
|
+
}
|
|
4323
|
+
}
|
|
4246
4324
|
.desktop\:pt-desktop-layout-gap {
|
|
4247
4325
|
@container root (width >= 48rem) {
|
|
4248
4326
|
padding-top: var(--spacing-desktop-layout-gap);
|
|
4249
4327
|
}
|
|
4250
4328
|
}
|
|
4329
|
+
.desktop\:pt-desktop-layout-padding {
|
|
4330
|
+
@container root (width >= 48rem) {
|
|
4331
|
+
padding-top: var(--spacing-desktop-layout-padding);
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
.desktop\:pr-desktop-component-padding {
|
|
4335
|
+
@container root (width >= 48rem) {
|
|
4336
|
+
padding-right: var(--spacing-desktop-component-padding);
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4339
|
+
.desktop\:pr-desktop-container-padding {
|
|
4340
|
+
@container root (width >= 48rem) {
|
|
4341
|
+
padding-right: var(--spacing-desktop-container-padding);
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4344
|
+
.desktop\:pr-desktop-layout-padding {
|
|
4345
|
+
@container root (width >= 48rem) {
|
|
4346
|
+
padding-right: var(--spacing-desktop-layout-padding);
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4251
4349
|
.desktop\:pb-desktop-component-padding {
|
|
4252
4350
|
@container root (width >= 48rem) {
|
|
4253
4351
|
padding-bottom: var(--spacing-desktop-component-padding);
|
|
4254
4352
|
}
|
|
4255
4353
|
}
|
|
4354
|
+
.desktop\:pb-desktop-container-padding {
|
|
4355
|
+
@container root (width >= 48rem) {
|
|
4356
|
+
padding-bottom: var(--spacing-desktop-container-padding);
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4256
4359
|
.desktop\:pb-desktop-layout-padding {
|
|
4257
4360
|
@container root (width >= 48rem) {
|
|
4258
4361
|
padding-bottom: var(--spacing-desktop-layout-padding);
|
|
@@ -4263,6 +4366,16 @@
|
|
|
4263
4366
|
padding-left: var(--spacing-desktop-component-padding);
|
|
4264
4367
|
}
|
|
4265
4368
|
}
|
|
4369
|
+
.desktop\:pl-desktop-container-padding {
|
|
4370
|
+
@container root (width >= 48rem) {
|
|
4371
|
+
padding-left: var(--spacing-desktop-container-padding);
|
|
4372
|
+
}
|
|
4373
|
+
}
|
|
4374
|
+
.desktop\:pl-desktop-layout-padding {
|
|
4375
|
+
@container root (width >= 48rem) {
|
|
4376
|
+
padding-left: var(--spacing-desktop-layout-padding);
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4266
4379
|
.desktop\:text-caption-desktop {
|
|
4267
4380
|
@container root (width >= 48rem) {
|
|
4268
4381
|
font-size: var(--text-caption-desktop);
|