@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.
- 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-CANJ2YPW.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-ESCNCQGI.js +9 -0
- package/dist/chunk-IFHMGICR.js +66 -0
- 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-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-BK7SPR6Y.js → chunk-TQIKP534.js} +4 -4
- 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 +231 -53
- package/dist/components/CalendarRange.css +169 -65
- package/dist/components/CalendarRange.js +24 -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 +189 -11
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +24 -16
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +198 -20
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +169 -65
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +24 -16
- package/dist/components/DataGrid/PinnedColumns.cjs +214 -36
- package/dist/components/DataGrid/PinnedColumns.css +169 -65
- package/dist/components/DataGrid/PinnedColumns.js +24 -16
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +190 -12
- package/dist/components/DataGrid/TableBody/LoadingCell.css +169 -65
- package/dist/components/DataGrid/TableBody/LoadingCell.js +24 -16
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +196 -18
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +169 -65
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +24 -16
- package/dist/components/DataGrid/TableBody/index.cjs +211 -33
- package/dist/components/DataGrid/TableBody/index.css +169 -65
- package/dist/components/DataGrid/TableBody/index.js +24 -16
- package/dist/components/DataGrid/index.cjs +300 -122
- package/dist/components/DataGrid/index.css +169 -65
- package/dist/components/DataGrid/index.js +24 -16
- package/dist/components/DataGrid/utils.cjs +190 -12
- package/dist/components/DataGrid/utils.css +169 -65
- package/dist/components/DataGrid/utils.js +24 -16
- package/dist/components/DateInput.cjs +250 -72
- package/dist/components/DateInput.css +169 -65
- package/dist/components/DateInput.js +24 -16
- package/dist/components/DateRangeInput.cjs +250 -72
- package/dist/components/DateRangeInput.css +169 -65
- package/dist/components/DateRangeInput.js +24 -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 +197 -19
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +169 -65
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +24 -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 +241 -27
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +169 -65
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +24 -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 +743 -529
- package/dist/components/MobileDataGrid/index.css +169 -65
- package/dist/components/MobileDataGrid/index.js +24 -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/SkeletonParagraph.js +3 -6
- 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 +694 -131
- package/dist/components/index.css +169 -65
- package/dist/components/index.js +37 -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 +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
|
@@ -62,7 +62,7 @@ __export(ColumnSelectorMenuOption_exports, {
|
|
|
62
62
|
ColumnSelectorMenuOption: () => ColumnSelectorMenuOption
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(ColumnSelectorMenuOption_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react36 = require("react");
|
|
66
66
|
|
|
67
67
|
// src/components/DataGridCell.tsx
|
|
68
68
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -3944,7 +3944,7 @@ var Tooltip = ({
|
|
|
3944
3944
|
id,
|
|
3945
3945
|
"data-testid": testid,
|
|
3946
3946
|
ref,
|
|
3947
|
-
className: "relative inline-grid grid-cols-[auto_1fr] items-center",
|
|
3947
|
+
className: "relative inline-grid grid-cols-[auto_1fr] items-center cursor-pointer",
|
|
3948
3948
|
onMouseEnter: handleMouseEnter,
|
|
3949
3949
|
onMouseLeave: handleMouseLeave,
|
|
3950
3950
|
children: [
|
|
@@ -4535,12 +4535,11 @@ var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
|
4535
4535
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
4536
4536
|
|
|
4537
4537
|
// src/components/Grid.tsx
|
|
4538
|
-
var import_react26 = require("react");
|
|
4539
4538
|
var import_clsx30 = __toESM(require("clsx"), 1);
|
|
4540
4539
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4541
4540
|
|
|
4542
4541
|
// src/components/ProductImagePreview/ProductPrimaryImage.tsx
|
|
4543
|
-
var
|
|
4542
|
+
var import_react26 = require("react");
|
|
4544
4543
|
|
|
4545
4544
|
// src/components/Spinner.tsx
|
|
4546
4545
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
@@ -4576,7 +4575,7 @@ Spinner.displayName = "Spinner";
|
|
|
4576
4575
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
4577
4576
|
|
|
4578
4577
|
// src/components/ProductImagePreview/ZoomWindow.tsx
|
|
4579
|
-
var
|
|
4578
|
+
var import_react27 = require("react");
|
|
4580
4579
|
|
|
4581
4580
|
// src/components/Surface.tsx
|
|
4582
4581
|
var import_clsx31 = __toESM(require("clsx"), 1);
|
|
@@ -4621,17 +4620,17 @@ var import_clsx32 = require("clsx");
|
|
|
4621
4620
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
4622
4621
|
|
|
4623
4622
|
// src/components/ProductImagePreview/MobileImageCarousel.tsx
|
|
4624
|
-
var
|
|
4623
|
+
var import_react28 = require("react");
|
|
4625
4624
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
4626
4625
|
|
|
4627
4626
|
// src/components/ProductImagePreview/useProductImagePreview.ts
|
|
4628
|
-
var
|
|
4627
|
+
var import_react29 = require("react");
|
|
4629
4628
|
|
|
4630
4629
|
// src/components/ProductImagePreview/index.tsx
|
|
4631
4630
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
4632
4631
|
|
|
4633
4632
|
// src/components/CompactImagesPreview.tsx
|
|
4634
|
-
var
|
|
4633
|
+
var import_react30 = require("react");
|
|
4635
4634
|
var import_clsx33 = __toESM(require("clsx"), 1);
|
|
4636
4635
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4637
4636
|
|
|
@@ -4639,17 +4638,196 @@ var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
|
4639
4638
|
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
4640
4639
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4641
4640
|
|
|
4642
|
-
// src/components/
|
|
4641
|
+
// src/components/PDFViewer/index.tsx
|
|
4642
|
+
var import_react33 = require("react");
|
|
4643
|
+
|
|
4644
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4645
|
+
var import_react_pdf2 = require("@mikecousins/react-pdf");
|
|
4646
|
+
var import_react32 = require("react");
|
|
4647
|
+
|
|
4648
|
+
// src/components/PDFViewer/PDFPage.tsx
|
|
4649
|
+
var import_react_pdf = require("@mikecousins/react-pdf");
|
|
4650
|
+
var import_react31 = require("react");
|
|
4643
4651
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
4652
|
+
|
|
4653
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4654
|
+
var import_clsx35 = __toESM(require("clsx"), 1);
|
|
4655
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4656
|
+
|
|
4657
|
+
// src/components/PDFViewer/DownloadIcon.tsx
|
|
4658
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4659
|
+
|
|
4660
|
+
// src/components/PDFViewer/PDFNavigation.tsx
|
|
4661
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4662
|
+
|
|
4663
|
+
// src/components/PDFViewer/index.tsx
|
|
4664
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4665
|
+
|
|
4666
|
+
// src/components/ListGroup.tsx
|
|
4667
|
+
var import_react34 = require("react");
|
|
4668
|
+
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
4669
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4670
|
+
|
|
4671
|
+
// src/components/Pagination.tsx
|
|
4672
|
+
var import_react35 = require("react");
|
|
4673
|
+
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
4674
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4675
|
+
var Pagination = ({
|
|
4676
|
+
totalPages,
|
|
4677
|
+
currentPage,
|
|
4678
|
+
onPageChange,
|
|
4679
|
+
id,
|
|
4680
|
+
testid,
|
|
4681
|
+
className,
|
|
4682
|
+
disabled
|
|
4683
|
+
}) => {
|
|
4684
|
+
const goTo = (0, import_react35.useCallback)(
|
|
4685
|
+
(page) => {
|
|
4686
|
+
if (disabled) return;
|
|
4687
|
+
onPageChange(page);
|
|
4688
|
+
},
|
|
4689
|
+
[onPageChange, disabled]
|
|
4690
|
+
);
|
|
4691
|
+
const handleKey = (e) => {
|
|
4692
|
+
if (disabled) return;
|
|
4693
|
+
if (e.key === "ArrowLeft") {
|
|
4694
|
+
e.preventDefault();
|
|
4695
|
+
goTo(currentPage - 1);
|
|
4696
|
+
} else if (e.key === "ArrowRight") {
|
|
4697
|
+
e.preventDefault();
|
|
4698
|
+
goTo(currentPage + 1);
|
|
4699
|
+
}
|
|
4700
|
+
};
|
|
4701
|
+
const pageTokens = (0, import_react35.useMemo)(() => {
|
|
4702
|
+
if (totalPages <= 5) {
|
|
4703
|
+
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
4704
|
+
}
|
|
4705
|
+
const pages = /* @__PURE__ */ new Set();
|
|
4706
|
+
pages.add(1);
|
|
4707
|
+
pages.add(totalPages);
|
|
4708
|
+
if (currentPage <= 3) {
|
|
4709
|
+
pages.add(2);
|
|
4710
|
+
pages.add(3);
|
|
4711
|
+
pages.add(4);
|
|
4712
|
+
} else if (currentPage >= totalPages - 2) {
|
|
4713
|
+
pages.add(totalPages - 1);
|
|
4714
|
+
pages.add(totalPages - 2);
|
|
4715
|
+
pages.add(totalPages - 3);
|
|
4716
|
+
} else {
|
|
4717
|
+
pages.add(currentPage - 1);
|
|
4718
|
+
pages.add(currentPage);
|
|
4719
|
+
pages.add(currentPage + 1);
|
|
4720
|
+
}
|
|
4721
|
+
const sorted = Array.from(pages).sort((a, b) => a - b);
|
|
4722
|
+
const tokens = [];
|
|
4723
|
+
for (let i = 0; i < sorted.length; i++) {
|
|
4724
|
+
const value = sorted[i];
|
|
4725
|
+
const prev = sorted[i - 1];
|
|
4726
|
+
if (i > 0) {
|
|
4727
|
+
if (value - prev === 2) {
|
|
4728
|
+
tokens.push(prev + 1);
|
|
4729
|
+
} else if (value - prev > 2) {
|
|
4730
|
+
tokens.push("ellipsis");
|
|
4731
|
+
}
|
|
4732
|
+
}
|
|
4733
|
+
tokens.push(value);
|
|
4734
|
+
}
|
|
4735
|
+
return tokens;
|
|
4736
|
+
}, [totalPages, currentPage]);
|
|
4737
|
+
if (totalPages <= 1) return null;
|
|
4738
|
+
const buttonClass = (0, import_clsx37.default)(
|
|
4739
|
+
"cursor-pointer disabled:cursor-default",
|
|
4740
|
+
paddingUsingComponentGap,
|
|
4741
|
+
"w-8 h-8",
|
|
4742
|
+
"flex items-center justify-center",
|
|
4743
|
+
"bg-transparent",
|
|
4744
|
+
"box-content",
|
|
4745
|
+
"hover:bg-background-grouped-secondary-normal",
|
|
4746
|
+
"focus:bg-background-grouped-secondary-normal focus:outline-0",
|
|
4747
|
+
"disabled:bg-transparent disabled:text-text-action-primary-disabled"
|
|
4748
|
+
);
|
|
4749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
4750
|
+
"nav",
|
|
4751
|
+
{
|
|
4752
|
+
id,
|
|
4753
|
+
"data-testid": testid,
|
|
4754
|
+
"aria-label": "Pagination",
|
|
4755
|
+
onKeyDown: handleKey,
|
|
4756
|
+
className: (0, import_clsx37.default)(
|
|
4757
|
+
"flex items-center",
|
|
4758
|
+
"border border-border-primary-normal",
|
|
4759
|
+
"bg-background-grouped-primary-normal",
|
|
4760
|
+
"rounded-sm",
|
|
4761
|
+
className
|
|
4762
|
+
),
|
|
4763
|
+
children: [
|
|
4764
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4765
|
+
"button",
|
|
4766
|
+
{
|
|
4767
|
+
disabled: disabled || currentPage <= 1,
|
|
4768
|
+
"aria-label": "Previous page",
|
|
4769
|
+
onClick: () => goTo(currentPage - 1),
|
|
4770
|
+
className: (0, import_clsx37.default)(buttonClass, "border-r-1 border-border-primary-normal"),
|
|
4771
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_left" })
|
|
4772
|
+
}
|
|
4773
|
+
),
|
|
4774
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: (0, import_clsx37.default)("flex items-center"), children: pageTokens.map((token, index) => {
|
|
4775
|
+
if (token === "ellipsis") {
|
|
4776
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4777
|
+
"li",
|
|
4778
|
+
{
|
|
4779
|
+
className: "w-8 h-8 select-none text-text-action-primary-disabled",
|
|
4780
|
+
children: "\u2026"
|
|
4781
|
+
},
|
|
4782
|
+
`ellipsis-${index}`
|
|
4783
|
+
);
|
|
4784
|
+
}
|
|
4785
|
+
const selected = token === currentPage;
|
|
4786
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4787
|
+
"button",
|
|
4788
|
+
{
|
|
4789
|
+
"aria-label": `Page ${token}`,
|
|
4790
|
+
"aria-current": selected ? "page" : void 0,
|
|
4791
|
+
disabled,
|
|
4792
|
+
onClick: () => goTo(token),
|
|
4793
|
+
className: (0, import_clsx37.default)(
|
|
4794
|
+
buttonClass,
|
|
4795
|
+
selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
|
|
4796
|
+
),
|
|
4797
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Subheader, { align: "center", weight: "bold", children: token })
|
|
4798
|
+
}
|
|
4799
|
+
) }, token);
|
|
4800
|
+
}) }),
|
|
4801
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4802
|
+
"button",
|
|
4803
|
+
{
|
|
4804
|
+
disabled: disabled || currentPage >= totalPages,
|
|
4805
|
+
"aria-label": "Next page",
|
|
4806
|
+
onClick: () => goTo(currentPage + 1),
|
|
4807
|
+
className: (0, import_clsx37.default)(buttonClass, "border-l-1 border-border-primary-normal"),
|
|
4808
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_right" })
|
|
4809
|
+
}
|
|
4810
|
+
)
|
|
4811
|
+
]
|
|
4812
|
+
}
|
|
4813
|
+
);
|
|
4814
|
+
};
|
|
4815
|
+
Pagination.displayName = "Pagination";
|
|
4816
|
+
|
|
4817
|
+
// src/components/SkeletonParagraph.tsx
|
|
4818
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4819
|
+
|
|
4820
|
+
// src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
|
|
4821
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
4644
4822
|
function ColumnSelectorMenuOption({
|
|
4645
4823
|
id,
|
|
4646
4824
|
testid,
|
|
4647
4825
|
column,
|
|
4648
4826
|
toggleColumnVisibility
|
|
4649
4827
|
}) {
|
|
4650
|
-
const [isVisible, setIsVisible] = (0,
|
|
4828
|
+
const [isVisible, setIsVisible] = (0, import_react36.useState)(column.getIsVisible());
|
|
4651
4829
|
const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
|
|
4652
|
-
return /* @__PURE__ */ (0,
|
|
4830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
4653
4831
|
Checkbox,
|
|
4654
4832
|
{
|
|
4655
4833
|
id: id ? `${id}-checkbox` : void 0,
|
|
@@ -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);
|