@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
|
@@ -62,7 +62,7 @@ __export(utils_exports, {
|
|
|
62
62
|
getSortIcon: () => getSortIcon
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(utils_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_clsx37 = __toESM(require("clsx"), 1);
|
|
66
66
|
|
|
67
67
|
// src/components/DataGridCell.tsx
|
|
68
68
|
var import_sortable = require("@dnd-kit/sortable");
|
|
@@ -3955,7 +3955,7 @@ var Tooltip = ({
|
|
|
3955
3955
|
id,
|
|
3956
3956
|
"data-testid": testid,
|
|
3957
3957
|
ref,
|
|
3958
|
-
className: "relative inline-grid grid-cols-[auto_1fr] items-center",
|
|
3958
|
+
className: "relative inline-grid grid-cols-[auto_1fr] items-center cursor-pointer",
|
|
3959
3959
|
onMouseEnter: handleMouseEnter,
|
|
3960
3960
|
onMouseLeave: handleMouseLeave,
|
|
3961
3961
|
children: [
|
|
@@ -4546,12 +4546,11 @@ var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
|
4546
4546
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
4547
4547
|
|
|
4548
4548
|
// src/components/Grid.tsx
|
|
4549
|
-
var import_react27 = require("react");
|
|
4550
4549
|
var import_clsx29 = __toESM(require("clsx"), 1);
|
|
4551
4550
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4552
4551
|
|
|
4553
4552
|
// src/components/ProductImagePreview/ProductPrimaryImage.tsx
|
|
4554
|
-
var
|
|
4553
|
+
var import_react27 = require("react");
|
|
4555
4554
|
|
|
4556
4555
|
// src/components/Spinner.tsx
|
|
4557
4556
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
@@ -4587,7 +4586,7 @@ Spinner.displayName = "Spinner";
|
|
|
4587
4586
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
4588
4587
|
|
|
4589
4588
|
// src/components/ProductImagePreview/ZoomWindow.tsx
|
|
4590
|
-
var
|
|
4589
|
+
var import_react28 = require("react");
|
|
4591
4590
|
|
|
4592
4591
|
// src/components/Surface.tsx
|
|
4593
4592
|
var import_clsx30 = __toESM(require("clsx"), 1);
|
|
@@ -4632,31 +4631,211 @@ var import_clsx31 = require("clsx");
|
|
|
4632
4631
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
4633
4632
|
|
|
4634
4633
|
// src/components/ProductImagePreview/MobileImageCarousel.tsx
|
|
4635
|
-
var
|
|
4634
|
+
var import_react29 = require("react");
|
|
4636
4635
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
4637
4636
|
|
|
4638
4637
|
// src/components/ProductImagePreview/useProductImagePreview.ts
|
|
4639
|
-
var
|
|
4638
|
+
var import_react30 = require("react");
|
|
4640
4639
|
|
|
4641
4640
|
// src/components/ProductImagePreview/index.tsx
|
|
4642
4641
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
4643
4642
|
|
|
4644
4643
|
// src/components/CompactImagesPreview.tsx
|
|
4645
|
-
var
|
|
4644
|
+
var import_react31 = require("react");
|
|
4646
4645
|
var import_clsx32 = __toESM(require("clsx"), 1);
|
|
4647
4646
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
4648
4647
|
|
|
4649
|
-
// src/components/
|
|
4648
|
+
// src/components/SimpleTable.tsx
|
|
4649
|
+
var import_clsx33 = __toESM(require("clsx"), 1);
|
|
4650
4650
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
4651
|
+
|
|
4652
|
+
// src/components/PDFViewer/index.tsx
|
|
4653
|
+
var import_react34 = require("react");
|
|
4654
|
+
|
|
4655
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4656
|
+
var import_react_pdf2 = require("@mikecousins/react-pdf");
|
|
4657
|
+
var import_react33 = require("react");
|
|
4658
|
+
|
|
4659
|
+
// src/components/PDFViewer/PDFPage.tsx
|
|
4660
|
+
var import_react_pdf = require("@mikecousins/react-pdf");
|
|
4661
|
+
var import_react32 = require("react");
|
|
4662
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
4663
|
+
|
|
4664
|
+
// src/components/PDFViewer/PDFElement.tsx
|
|
4665
|
+
var import_clsx34 = __toESM(require("clsx"), 1);
|
|
4666
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
4667
|
+
|
|
4668
|
+
// src/components/PDFViewer/DownloadIcon.tsx
|
|
4669
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
4670
|
+
|
|
4671
|
+
// src/components/PDFViewer/PDFNavigation.tsx
|
|
4672
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
4673
|
+
|
|
4674
|
+
// src/components/PDFViewer/index.tsx
|
|
4675
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
4676
|
+
|
|
4677
|
+
// src/components/ListGroup.tsx
|
|
4678
|
+
var import_react35 = require("react");
|
|
4679
|
+
var import_clsx35 = __toESM(require("clsx"), 1);
|
|
4680
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
4681
|
+
|
|
4682
|
+
// src/components/Pagination.tsx
|
|
4683
|
+
var import_react36 = require("react");
|
|
4684
|
+
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
4685
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
4686
|
+
var Pagination = ({
|
|
4687
|
+
totalPages,
|
|
4688
|
+
currentPage,
|
|
4689
|
+
onPageChange,
|
|
4690
|
+
id,
|
|
4691
|
+
testid,
|
|
4692
|
+
className,
|
|
4693
|
+
disabled
|
|
4694
|
+
}) => {
|
|
4695
|
+
const goTo = (0, import_react36.useCallback)(
|
|
4696
|
+
(page) => {
|
|
4697
|
+
if (disabled) return;
|
|
4698
|
+
onPageChange(page);
|
|
4699
|
+
},
|
|
4700
|
+
[onPageChange, disabled]
|
|
4701
|
+
);
|
|
4702
|
+
const handleKey = (e) => {
|
|
4703
|
+
if (disabled) return;
|
|
4704
|
+
if (e.key === "ArrowLeft") {
|
|
4705
|
+
e.preventDefault();
|
|
4706
|
+
goTo(currentPage - 1);
|
|
4707
|
+
} else if (e.key === "ArrowRight") {
|
|
4708
|
+
e.preventDefault();
|
|
4709
|
+
goTo(currentPage + 1);
|
|
4710
|
+
}
|
|
4711
|
+
};
|
|
4712
|
+
const pageTokens = (0, import_react36.useMemo)(() => {
|
|
4713
|
+
if (totalPages <= 5) {
|
|
4714
|
+
return Array.from({ length: totalPages }, (_, i) => i + 1);
|
|
4715
|
+
}
|
|
4716
|
+
const pages = /* @__PURE__ */ new Set();
|
|
4717
|
+
pages.add(1);
|
|
4718
|
+
pages.add(totalPages);
|
|
4719
|
+
if (currentPage <= 3) {
|
|
4720
|
+
pages.add(2);
|
|
4721
|
+
pages.add(3);
|
|
4722
|
+
pages.add(4);
|
|
4723
|
+
} else if (currentPage >= totalPages - 2) {
|
|
4724
|
+
pages.add(totalPages - 1);
|
|
4725
|
+
pages.add(totalPages - 2);
|
|
4726
|
+
pages.add(totalPages - 3);
|
|
4727
|
+
} else {
|
|
4728
|
+
pages.add(currentPage - 1);
|
|
4729
|
+
pages.add(currentPage);
|
|
4730
|
+
pages.add(currentPage + 1);
|
|
4731
|
+
}
|
|
4732
|
+
const sorted = Array.from(pages).sort((a, b) => a - b);
|
|
4733
|
+
const tokens = [];
|
|
4734
|
+
for (let i = 0; i < sorted.length; i++) {
|
|
4735
|
+
const value = sorted[i];
|
|
4736
|
+
const prev = sorted[i - 1];
|
|
4737
|
+
if (i > 0) {
|
|
4738
|
+
if (value - prev === 2) {
|
|
4739
|
+
tokens.push(prev + 1);
|
|
4740
|
+
} else if (value - prev > 2) {
|
|
4741
|
+
tokens.push("ellipsis");
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4744
|
+
tokens.push(value);
|
|
4745
|
+
}
|
|
4746
|
+
return tokens;
|
|
4747
|
+
}, [totalPages, currentPage]);
|
|
4748
|
+
if (totalPages <= 1) return null;
|
|
4749
|
+
const buttonClass = (0, import_clsx36.default)(
|
|
4750
|
+
"cursor-pointer disabled:cursor-default",
|
|
4751
|
+
paddingUsingComponentGap,
|
|
4752
|
+
"w-8 h-8",
|
|
4753
|
+
"flex items-center justify-center",
|
|
4754
|
+
"bg-transparent",
|
|
4755
|
+
"box-content",
|
|
4756
|
+
"hover:bg-background-grouped-secondary-normal",
|
|
4757
|
+
"focus:bg-background-grouped-secondary-normal focus:outline-0",
|
|
4758
|
+
"disabled:bg-transparent disabled:text-text-action-primary-disabled"
|
|
4759
|
+
);
|
|
4760
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
4761
|
+
"nav",
|
|
4762
|
+
{
|
|
4763
|
+
id,
|
|
4764
|
+
"data-testid": testid,
|
|
4765
|
+
"aria-label": "Pagination",
|
|
4766
|
+
onKeyDown: handleKey,
|
|
4767
|
+
className: (0, import_clsx36.default)(
|
|
4768
|
+
"flex items-center",
|
|
4769
|
+
"border border-border-primary-normal",
|
|
4770
|
+
"bg-background-grouped-primary-normal",
|
|
4771
|
+
"rounded-sm",
|
|
4772
|
+
className
|
|
4773
|
+
),
|
|
4774
|
+
children: [
|
|
4775
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4776
|
+
"button",
|
|
4777
|
+
{
|
|
4778
|
+
disabled: disabled || currentPage <= 1,
|
|
4779
|
+
"aria-label": "Previous page",
|
|
4780
|
+
onClick: () => goTo(currentPage - 1),
|
|
4781
|
+
className: (0, import_clsx36.default)(buttonClass, "border-r-1 border-border-primary-normal"),
|
|
4782
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_left" })
|
|
4783
|
+
}
|
|
4784
|
+
),
|
|
4785
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("ul", { className: (0, import_clsx36.default)("flex items-center"), children: pageTokens.map((token, index) => {
|
|
4786
|
+
if (token === "ellipsis") {
|
|
4787
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4788
|
+
"li",
|
|
4789
|
+
{
|
|
4790
|
+
className: "w-8 h-8 select-none text-text-action-primary-disabled",
|
|
4791
|
+
children: "\u2026"
|
|
4792
|
+
},
|
|
4793
|
+
`ellipsis-${index}`
|
|
4794
|
+
);
|
|
4795
|
+
}
|
|
4796
|
+
const selected = token === currentPage;
|
|
4797
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4798
|
+
"button",
|
|
4799
|
+
{
|
|
4800
|
+
"aria-label": `Page ${token}`,
|
|
4801
|
+
"aria-current": selected ? "page" : void 0,
|
|
4802
|
+
disabled,
|
|
4803
|
+
onClick: () => goTo(token),
|
|
4804
|
+
className: (0, import_clsx36.default)(
|
|
4805
|
+
buttonClass,
|
|
4806
|
+
selected && "border-x-1 bg-background-grouped-secondary-normal border-border-primary-normal"
|
|
4807
|
+
),
|
|
4808
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Subheader, { align: "center", weight: "bold", children: token })
|
|
4809
|
+
}
|
|
4810
|
+
) }, token);
|
|
4811
|
+
}) }),
|
|
4812
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
4813
|
+
"button",
|
|
4814
|
+
{
|
|
4815
|
+
disabled: disabled || currentPage >= totalPages,
|
|
4816
|
+
"aria-label": "Next page",
|
|
4817
|
+
onClick: () => goTo(currentPage + 1),
|
|
4818
|
+
className: (0, import_clsx36.default)(buttonClass, "border-l-1 border-border-primary-normal"),
|
|
4819
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "keyboard_arrow_right" })
|
|
4820
|
+
}
|
|
4821
|
+
)
|
|
4822
|
+
]
|
|
4823
|
+
}
|
|
4824
|
+
);
|
|
4825
|
+
};
|
|
4826
|
+
Pagination.displayName = "Pagination";
|
|
4827
|
+
|
|
4828
|
+
// src/components/DataGrid/utils.tsx
|
|
4829
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
4651
4830
|
function getSortIcon(sort, nextSort = false) {
|
|
4652
|
-
const iconClassName = (0,
|
|
4831
|
+
const iconClassName = (0, import_clsx37.default)(
|
|
4653
4832
|
"text-icon-on-action-primary-normal",
|
|
4654
4833
|
nextSort && "hidden group-hover:block"
|
|
4655
4834
|
);
|
|
4656
4835
|
if (sort === "asc")
|
|
4657
|
-
return /* @__PURE__ */ (0,
|
|
4836
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { size: 16, className: iconClassName, name: "arrow_upward" });
|
|
4658
4837
|
if (sort === "desc")
|
|
4659
|
-
return /* @__PURE__ */ (0,
|
|
4838
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { size: 16, className: iconClassName, name: "arrow_downward" });
|
|
4660
4839
|
return null;
|
|
4661
4840
|
}
|
|
4662
4841
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -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);
|