@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.
- 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-BK7SPR6Y.js → chunk-HYJIDHAK.js} +6 -6
- package/dist/{chunk-ZHZIIVJN.js → chunk-IMOIZFJZ.js} +5 -5
- 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-7ULLUUVJ.js → chunk-PQWWVBSR.js} +1 -1
- 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 +228 -53
- package/dist/components/CalendarRange.css +169 -65
- package/dist/components/CalendarRange.js +23 -16
- 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 +186 -11
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +23 -16
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +195 -20
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +23 -16
- package/dist/components/DataGrid/PinnedColumns.cjs +211 -36
- package/dist/components/DataGrid/PinnedColumns.css +169 -65
- package/dist/components/DataGrid/PinnedColumns.js +23 -16
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +187 -12
- package/dist/components/DataGrid/TableBody/LoadingCell.css +169 -65
- package/dist/components/DataGrid/TableBody/LoadingCell.js +23 -16
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +193 -18
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +169 -65
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +23 -16
- package/dist/components/DataGrid/TableBody/index.cjs +208 -33
- package/dist/components/DataGrid/TableBody/index.css +169 -65
- package/dist/components/DataGrid/TableBody/index.js +23 -16
- package/dist/components/DataGrid/index.cjs +297 -122
- package/dist/components/DataGrid/index.css +169 -65
- package/dist/components/DataGrid/index.js +23 -16
- package/dist/components/DataGrid/utils.cjs +187 -12
- package/dist/components/DataGrid/utils.css +169 -65
- package/dist/components/DataGrid/utils.js +23 -16
- package/dist/components/DateInput.cjs +247 -72
- package/dist/components/DateInput.css +169 -65
- package/dist/components/DateInput.js +23 -16
- package/dist/components/DateRangeInput.cjs +247 -72
- package/dist/components/DateRangeInput.css +169 -65
- package/dist/components/DateRangeInput.js +23 -16
- 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 +194 -19
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +169 -65
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +23 -16
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +36 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +238 -27
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +169 -65
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +23 -16
- 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 +740 -529
- package/dist/components/MobileDataGrid/index.css +169 -65
- package/dist/components/MobileDataGrid/index.js +23 -16
- 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 +4 -4
- 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 +36 -0
- package/dist/components/SimpleTable.js +2 -2
- 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 +686 -131
- package/dist/components/index.css +169 -65
- package/dist/components/index.js +33 -17
- package/dist/index.css +169 -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/Stack.tsx +76 -0
- package/src/components/Tooltip.tsx +4 -3
- package/src/components/index.ts +3 -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,17 +4612,17 @@ 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
|
|
|
@@ -4631,8 +4630,184 @@ var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
|
4631
4630
|
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
4632
4631
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4633
4632
|
|
|
4634
|
-
// src/components/
|
|
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");
|
|
4635
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");
|
|
4636
4811
|
function LoadingCell({
|
|
4637
4812
|
id,
|
|
4638
4813
|
testid,
|
|
@@ -4640,16 +4815,16 @@ function LoadingCell({
|
|
|
4640
4815
|
}) {
|
|
4641
4816
|
const key = `loading-${column.id}`;
|
|
4642
4817
|
if (column.cell === "checkbox") {
|
|
4643
|
-
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);
|
|
4644
4819
|
}
|
|
4645
4820
|
if (column.cell === "input") {
|
|
4646
|
-
return /* @__PURE__ */ (0,
|
|
4821
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4647
4822
|
DataGridCell,
|
|
4648
4823
|
{
|
|
4649
4824
|
id: id ? `${id}-${key}` : void 0,
|
|
4650
4825
|
testid: testid ? `${testid}-${key}` : void 0,
|
|
4651
4826
|
component: "input",
|
|
4652
|
-
children: /* @__PURE__ */ (0,
|
|
4827
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
4653
4828
|
Input,
|
|
4654
4829
|
{
|
|
4655
4830
|
id: id ? `${id}-${key}-input` : void 0,
|
|
@@ -4663,7 +4838,7 @@ function LoadingCell({
|
|
|
4663
4838
|
key
|
|
4664
4839
|
);
|
|
4665
4840
|
}
|
|
4666
|
-
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);
|
|
4667
4842
|
}
|
|
4668
4843
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4669
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
|
}
|
|
@@ -1002,6 +1005,9 @@
|
|
|
1002
1005
|
.cursor-grab {
|
|
1003
1006
|
cursor: grab;
|
|
1004
1007
|
}
|
|
1008
|
+
.cursor-not-allowed {
|
|
1009
|
+
cursor: not-allowed;
|
|
1010
|
+
}
|
|
1005
1011
|
.cursor-pointer {
|
|
1006
1012
|
cursor: pointer;
|
|
1007
1013
|
}
|
|
@@ -1080,6 +1086,9 @@
|
|
|
1080
1086
|
.justify-start {
|
|
1081
1087
|
justify-content: flex-start;
|
|
1082
1088
|
}
|
|
1089
|
+
.gap-0 {
|
|
1090
|
+
gap: calc(var(--spacing) * 0);
|
|
1091
|
+
}
|
|
1083
1092
|
.gap-0\.5 {
|
|
1084
1093
|
gap: calc(var(--spacing) * 0.5);
|
|
1085
1094
|
}
|
|
@@ -1290,6 +1299,10 @@
|
|
|
1290
1299
|
border-inline-style: var(--tw-border-style);
|
|
1291
1300
|
border-inline-width: 0px;
|
|
1292
1301
|
}
|
|
1302
|
+
.border-x-1 {
|
|
1303
|
+
border-inline-style: var(--tw-border-style);
|
|
1304
|
+
border-inline-width: 1px;
|
|
1305
|
+
}
|
|
1293
1306
|
.border-y {
|
|
1294
1307
|
border-block-style: var(--tw-border-style);
|
|
1295
1308
|
border-block-width: 1px;
|
|
@@ -1306,6 +1319,10 @@
|
|
|
1306
1319
|
border-right-style: var(--tw-border-style);
|
|
1307
1320
|
border-right-width: 0px;
|
|
1308
1321
|
}
|
|
1322
|
+
.border-r-1 {
|
|
1323
|
+
border-right-style: var(--tw-border-style);
|
|
1324
|
+
border-right-width: 1px;
|
|
1325
|
+
}
|
|
1309
1326
|
.border-b {
|
|
1310
1327
|
border-bottom-style: var(--tw-border-style);
|
|
1311
1328
|
border-bottom-width: 1px;
|
|
@@ -1314,6 +1331,10 @@
|
|
|
1314
1331
|
border-left-style: var(--tw-border-style);
|
|
1315
1332
|
border-left-width: 1px;
|
|
1316
1333
|
}
|
|
1334
|
+
.border-l-1 {
|
|
1335
|
+
border-left-style: var(--tw-border-style);
|
|
1336
|
+
border-left-width: 1px;
|
|
1337
|
+
}
|
|
1317
1338
|
.border-dashed {
|
|
1318
1339
|
--tw-border-style: dashed;
|
|
1319
1340
|
border-style: dashed;
|
|
@@ -1891,6 +1912,9 @@
|
|
|
1891
1912
|
.\!p-0 {
|
|
1892
1913
|
padding: calc(var(--spacing) * 0) !important;
|
|
1893
1914
|
}
|
|
1915
|
+
.p-0 {
|
|
1916
|
+
padding: calc(var(--spacing) * 0);
|
|
1917
|
+
}
|
|
1894
1918
|
.p-0\.5 {
|
|
1895
1919
|
padding: calc(var(--spacing) * 0.5);
|
|
1896
1920
|
}
|
|
@@ -2005,12 +2029,33 @@
|
|
|
2005
2029
|
.pt-\[7px\] {
|
|
2006
2030
|
padding-top: 7px;
|
|
2007
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
|
+
}
|
|
2008
2050
|
.pb-2 {
|
|
2009
2051
|
padding-bottom: calc(var(--spacing) * 2);
|
|
2010
2052
|
}
|
|
2011
2053
|
.pb-mobile-component-padding {
|
|
2012
2054
|
padding-bottom: var(--spacing-mobile-component-padding);
|
|
2013
2055
|
}
|
|
2056
|
+
.pb-mobile-container-padding {
|
|
2057
|
+
padding-bottom: var(--spacing-mobile-container-padding);
|
|
2058
|
+
}
|
|
2014
2059
|
.pb-mobile-layout-padding {
|
|
2015
2060
|
padding-bottom: var(--spacing-mobile-layout-padding);
|
|
2016
2061
|
}
|
|
@@ -2032,6 +2077,12 @@
|
|
|
2032
2077
|
.pl-mobile-component-padding {
|
|
2033
2078
|
padding-left: var(--spacing-mobile-component-padding);
|
|
2034
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
|
+
}
|
|
2035
2086
|
.text-center {
|
|
2036
2087
|
text-align: center;
|
|
2037
2088
|
}
|
|
@@ -2252,6 +2303,9 @@
|
|
|
2252
2303
|
.text-text-action-normal {
|
|
2253
2304
|
color: var(--color-text-action-normal);
|
|
2254
2305
|
}
|
|
2306
|
+
.text-text-action-primary-disabled {
|
|
2307
|
+
color: var(--color-text-action-primary-disabled);
|
|
2308
|
+
}
|
|
2255
2309
|
.text-text-action-primary-normal {
|
|
2256
2310
|
color: var(--color-text-action-primary-normal);
|
|
2257
2311
|
}
|
|
@@ -2330,6 +2384,9 @@
|
|
|
2330
2384
|
.opacity-40 {
|
|
2331
2385
|
opacity: 40%;
|
|
2332
2386
|
}
|
|
2387
|
+
.opacity-50 {
|
|
2388
|
+
opacity: 50%;
|
|
2389
|
+
}
|
|
2333
2390
|
.opacity-70 {
|
|
2334
2391
|
opacity: 70%;
|
|
2335
2392
|
}
|
|
@@ -3069,6 +3126,13 @@
|
|
|
3069
3126
|
}
|
|
3070
3127
|
}
|
|
3071
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
|
+
}
|
|
3072
3136
|
.hover\:\!text-brand-text-on-action-primary-hover {
|
|
3073
3137
|
&:hover {
|
|
3074
3138
|
@media (hover: hover) {
|
|
@@ -3215,6 +3279,11 @@
|
|
|
3215
3279
|
background-color: var(--color-background-action-secondary-hover);
|
|
3216
3280
|
}
|
|
3217
3281
|
}
|
|
3282
|
+
.focus\:bg-background-grouped-secondary-normal {
|
|
3283
|
+
&:focus {
|
|
3284
|
+
background-color: var(--color-background-grouped-secondary-normal);
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3218
3287
|
.focus\:text-text-action-critical-hover {
|
|
3219
3288
|
&:focus {
|
|
3220
3289
|
color: var(--color-text-action-critical-hover);
|
|
@@ -3425,6 +3494,11 @@
|
|
|
3425
3494
|
pointer-events: none;
|
|
3426
3495
|
}
|
|
3427
3496
|
}
|
|
3497
|
+
.disabled\:cursor-default {
|
|
3498
|
+
&:disabled {
|
|
3499
|
+
cursor: default;
|
|
3500
|
+
}
|
|
3501
|
+
}
|
|
3428
3502
|
.disabled\:\!border-border-primary-normal {
|
|
3429
3503
|
&:disabled {
|
|
3430
3504
|
border-color: var(--color-border-primary-normal) !important;
|
|
@@ -3731,11 +3805,6 @@
|
|
|
3731
3805
|
width: 100%;
|
|
3732
3806
|
}
|
|
3733
3807
|
}
|
|
3734
|
-
.sm\:grid-cols-2 {
|
|
3735
|
-
@media (width >= 320px) {
|
|
3736
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3737
|
-
}
|
|
3738
|
-
}
|
|
3739
3808
|
.md\:block {
|
|
3740
3809
|
@media (width >= 768px) {
|
|
3741
3810
|
display: block;
|
|
@@ -3766,66 +3835,6 @@
|
|
|
3766
3835
|
gap: calc(var(--spacing) * 2);
|
|
3767
3836
|
}
|
|
3768
3837
|
}
|
|
3769
|
-
.lg\:grid-cols-4 {
|
|
3770
|
-
@media (width >= 1024px) {
|
|
3771
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3772
|
-
}
|
|
3773
|
-
}
|
|
3774
|
-
.xl\:grid-cols-4 {
|
|
3775
|
-
@media (width >= 1280px) {
|
|
3776
|
-
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
3777
|
-
}
|
|
3778
|
-
}
|
|
3779
|
-
.xl\:grid-cols-5 {
|
|
3780
|
-
@media (width >= 1280px) {
|
|
3781
|
-
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
3782
|
-
}
|
|
3783
|
-
}
|
|
3784
|
-
.xl\:grid-cols-6 {
|
|
3785
|
-
@media (width >= 1280px) {
|
|
3786
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3787
|
-
}
|
|
3788
|
-
}
|
|
3789
|
-
.xl\:grid-cols-8 {
|
|
3790
|
-
@media (width >= 1280px) {
|
|
3791
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3792
|
-
}
|
|
3793
|
-
}
|
|
3794
|
-
.\32xl\:grid-cols-6 {
|
|
3795
|
-
@media (width >= 1536px) {
|
|
3796
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
3797
|
-
}
|
|
3798
|
-
}
|
|
3799
|
-
.\32xl\:grid-cols-7 {
|
|
3800
|
-
@media (width >= 1536px) {
|
|
3801
|
-
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
3802
|
-
}
|
|
3803
|
-
}
|
|
3804
|
-
.\32xl\:grid-cols-8 {
|
|
3805
|
-
@media (width >= 1536px) {
|
|
3806
|
-
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
.\32xl\:grid-cols-9 {
|
|
3810
|
-
@media (width >= 1536px) {
|
|
3811
|
-
grid-template-columns: repeat(9, minmax(0, 1fr));
|
|
3812
|
-
}
|
|
3813
|
-
}
|
|
3814
|
-
.\32xl\:grid-cols-10 {
|
|
3815
|
-
@media (width >= 1536px) {
|
|
3816
|
-
grid-template-columns: repeat(10, minmax(0, 1fr));
|
|
3817
|
-
}
|
|
3818
|
-
}
|
|
3819
|
-
.\32xl\:grid-cols-11 {
|
|
3820
|
-
@media (width >= 1536px) {
|
|
3821
|
-
grid-template-columns: repeat(11, minmax(0, 1fr));
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
.\32xl\:grid-cols-12 {
|
|
3825
|
-
@media (width >= 1536px) {
|
|
3826
|
-
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
3827
|
-
}
|
|
3828
|
-
}
|
|
3829
3838
|
.compact\:mt-desktop-compact-component-gap {
|
|
3830
3839
|
&:where([data-compact]) {
|
|
3831
3840
|
margin-top: var(--spacing-desktop-compact-component-gap);
|
|
@@ -3931,11 +3940,46 @@
|
|
|
3931
3940
|
padding-block: var(--spacing-desktop-compact-layout-padding);
|
|
3932
3941
|
}
|
|
3933
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
|
+
}
|
|
3934
3973
|
.compact\:pb-desktop-compact-component-padding {
|
|
3935
3974
|
&:where([data-compact]) {
|
|
3936
3975
|
padding-bottom: var(--spacing-desktop-compact-component-padding);
|
|
3937
3976
|
}
|
|
3938
3977
|
}
|
|
3978
|
+
.compact\:pb-desktop-compact-container-padding {
|
|
3979
|
+
&:where([data-compact]) {
|
|
3980
|
+
padding-bottom: var(--spacing-desktop-compact-container-padding);
|
|
3981
|
+
}
|
|
3982
|
+
}
|
|
3939
3983
|
.compact\:pb-desktop-compact-layout-padding {
|
|
3940
3984
|
&:where([data-compact]) {
|
|
3941
3985
|
padding-bottom: var(--spacing-desktop-compact-layout-padding);
|
|
@@ -3946,6 +3990,16 @@
|
|
|
3946
3990
|
padding-left: var(--spacing-desktop-compact-component-padding);
|
|
3947
3991
|
}
|
|
3948
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
|
+
}
|
|
3949
4003
|
.compact\:text-caption-desktop-compact {
|
|
3950
4004
|
&:where([data-compact]) {
|
|
3951
4005
|
font-size: var(--text-caption-desktop-compact);
|
|
@@ -4117,6 +4171,11 @@
|
|
|
4117
4171
|
flex-grow: 0;
|
|
4118
4172
|
}
|
|
4119
4173
|
}
|
|
4174
|
+
.desktop\:grid-cols-4 {
|
|
4175
|
+
@container root (width >= 48rem) {
|
|
4176
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
4177
|
+
}
|
|
4178
|
+
}
|
|
4120
4179
|
.desktop\:flex-col {
|
|
4121
4180
|
@container root (width >= 48rem) {
|
|
4122
4181
|
flex-direction: column;
|
|
@@ -4252,16 +4311,51 @@
|
|
|
4252
4311
|
padding-block: var(--spacing-desktop-layout-padding);
|
|
4253
4312
|
}
|
|
4254
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
|
+
}
|
|
4255
4324
|
.desktop\:pt-desktop-layout-gap {
|
|
4256
4325
|
@container root (width >= 48rem) {
|
|
4257
4326
|
padding-top: var(--spacing-desktop-layout-gap);
|
|
4258
4327
|
}
|
|
4259
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
|
+
}
|
|
4260
4349
|
.desktop\:pb-desktop-component-padding {
|
|
4261
4350
|
@container root (width >= 48rem) {
|
|
4262
4351
|
padding-bottom: var(--spacing-desktop-component-padding);
|
|
4263
4352
|
}
|
|
4264
4353
|
}
|
|
4354
|
+
.desktop\:pb-desktop-container-padding {
|
|
4355
|
+
@container root (width >= 48rem) {
|
|
4356
|
+
padding-bottom: var(--spacing-desktop-container-padding);
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4265
4359
|
.desktop\:pb-desktop-layout-padding {
|
|
4266
4360
|
@container root (width >= 48rem) {
|
|
4267
4361
|
padding-bottom: var(--spacing-desktop-layout-padding);
|
|
@@ -4272,6 +4366,16 @@
|
|
|
4272
4366
|
padding-left: var(--spacing-desktop-component-padding);
|
|
4273
4367
|
}
|
|
4274
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
|
+
}
|
|
4275
4379
|
.desktop\:text-caption-desktop {
|
|
4276
4380
|
@container root (width >= 48rem) {
|
|
4277
4381
|
font-size: var(--text-caption-desktop);
|