@dmsi/wedgekit-react 0.0.451 → 0.0.453
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-LCJZRP5S.js → chunk-2F3R3WXW.js} +3 -3
- package/dist/{chunk-SVTQGC2D.js → chunk-44TH3VC7.js} +9 -5
- package/dist/{chunk-IFHMGICR.js → chunk-6TYWM26K.js} +2 -2
- package/dist/chunk-75USUR3I.js +27 -0
- package/dist/{chunk-PQWWVBSR.js → chunk-7BVUTFZ5.js} +2 -2
- package/dist/{chunk-DCLNAUC4.js → chunk-7GHD74J3.js} +1 -1
- package/dist/{chunk-7CS736EF.js → chunk-AL5QIRY3.js} +1 -1
- package/dist/{chunk-7B334WPV.js → chunk-BYRLHNBP.js} +16 -16
- package/dist/{chunk-3HBYDOYE.js → chunk-DNUBM26R.js} +4 -4
- package/dist/{chunk-DTW7JCBR.js → chunk-DORD2EBO.js} +1 -1
- package/dist/{chunk-FRHPFACM.js → chunk-FG7GNGE3.js} +1 -1
- package/dist/{chunk-VEL4ICLU.js → chunk-G7EOLHST.js} +1 -1
- package/dist/{chunk-T36HX6QY.js → chunk-G7KIKHER.js} +3 -3
- package/dist/{chunk-TYAQWVIM.js → chunk-GRGDX7JC.js} +2 -2
- package/dist/{chunk-6LHBY2IH.js → chunk-GTBGPBH6.js} +4 -4
- package/dist/{chunk-EU73QPW7.js → chunk-H2KC5XUY.js} +1 -1
- package/dist/{chunk-JQWYQDH7.js → chunk-HVNHTM3P.js} +1 -1
- package/dist/{chunk-DNYGKNQM.js → chunk-I363QX6Y.js} +1 -1
- package/dist/{chunk-NAY4I3FL.js → chunk-IT4VFU6T.js} +3 -3
- package/dist/{chunk-6CTCHYIS.js → chunk-IXR65MOU.js} +8 -0
- package/dist/{chunk-EJSPFQCY.js → chunk-JUFBGNWW.js} +1 -1
- package/dist/{chunk-SBCFBHNG.js → chunk-KCUB3UWA.js} +5 -5
- package/dist/{chunk-GICZ5RWY.js → chunk-KHIJYWZ7.js} +1 -1
- package/dist/{chunk-TJV3S52X.js → chunk-KJNK7KEV.js} +1 -1
- package/dist/{chunk-7HCS6TZN.js → chunk-KW6V7O3H.js} +1 -1
- package/dist/{chunk-WWAPK5PH.js → chunk-LPY6PMAY.js} +1 -1
- package/dist/{chunk-UOHCOOC2.js → chunk-LZH6DJEZ.js} +2 -2
- package/dist/{chunk-FHQL42YP.js → chunk-PCQXSYTH.js} +1 -1
- package/dist/{chunk-MVMYXAXB.js → chunk-RQRR4FEF.js} +6 -3
- package/dist/{chunk-QNJTYAPX.js → chunk-SOZRGIQW.js} +3 -3
- package/dist/{chunk-RDJT63IS.js → chunk-TVXBP5CW.js} +5 -5
- package/dist/{chunk-FA7IFW66.js → chunk-UCJUC5AZ.js} +1 -1
- package/dist/{chunk-FFGIFICI.js → chunk-UKSV4UHI.js} +5 -5
- package/dist/{chunk-CANJ2YPW.js → chunk-W53FKPJD.js} +1 -1
- package/dist/{chunk-NO5BIKWS.js → chunk-WEAVZEE4.js} +2 -2
- package/dist/{chunk-4V6ZO2MR.js → chunk-WX62IDZ5.js} +3 -3
- package/dist/{chunk-RQLWSLVE.js → chunk-YNKN6RKF.js} +1 -1
- package/dist/{chunk-4OMINRN5.js → chunk-Z6HIIJK3.js} +1 -1
- package/dist/{chunk-XM7IQHBU.js → chunk-ZQJMNPCF.js} +2 -2
- package/dist/{chunk-5TGP5EFM.js → chunk-ZQSD74IJ.js} +3 -3
- package/dist/{chunk-OGIFIPKH.js → chunk-ZSETMD4A.js} +1 -1
- package/dist/components/AccessChangerTabItem.cjs +6 -0
- package/dist/components/AccessChangerTabItem.js +2 -2
- package/dist/components/Accordion.cjs +6 -0
- package/dist/components/Accordion.js +4 -4
- package/dist/components/Breadcrumbs.cjs +6 -0
- package/dist/components/Breadcrumbs.js +2 -2
- package/dist/components/Button.cjs +6 -0
- package/dist/components/Button.js +2 -2
- package/dist/components/CalendarRange.cjs +45 -30
- package/dist/components/CalendarRange.css +9 -3
- package/dist/components/CalendarRange.js +37 -36
- package/dist/components/Caption.cjs +6 -0
- package/dist/components/Caption.js +1 -1
- package/dist/components/Checkbox.cjs +6 -0
- package/dist/components/Checkbox.js +3 -3
- package/dist/components/CompactImagesPreview.cjs +6 -0
- package/dist/components/CompactImagesPreview.js +3 -3
- package/dist/components/ContentTab.cjs +6 -0
- package/dist/components/ContentTab.js +3 -3
- package/dist/components/ContentTabs.cjs +6 -0
- package/dist/components/ContentTabs.js +3 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +22 -7
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.css +9 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +36 -35
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +29 -14
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.css +9 -3
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +36 -35
- package/dist/components/DataGrid/PinnedColumns.cjs +40 -25
- package/dist/components/DataGrid/PinnedColumns.css +9 -3
- package/dist/components/DataGrid/PinnedColumns.js +36 -35
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +25 -10
- package/dist/components/DataGrid/TableBody/LoadingCell.css +9 -3
- package/dist/components/DataGrid/TableBody/LoadingCell.js +36 -35
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +27 -12
- package/dist/components/DataGrid/TableBody/TableBodyRow.css +9 -3
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +36 -35
- package/dist/components/DataGrid/TableBody/index.cjs +40 -25
- package/dist/components/DataGrid/TableBody/index.css +9 -3
- package/dist/components/DataGrid/TableBody/index.js +36 -35
- package/dist/components/DataGrid/index.cjs +100 -85
- package/dist/components/DataGrid/index.css +9 -3
- package/dist/components/DataGrid/index.js +36 -35
- package/dist/components/DataGrid/utils.cjs +23 -8
- package/dist/components/DataGrid/utils.css +9 -3
- package/dist/components/DataGrid/utils.js +36 -35
- package/dist/components/DataGridCell.cjs +17 -5
- package/dist/components/DataGridCell.js +7 -7
- package/dist/components/DateInput.cjs +51 -36
- package/dist/components/DateInput.css +9 -3
- package/dist/components/DateInput.js +37 -36
- package/dist/components/DateRangeInput.cjs +51 -36
- package/dist/components/DateRangeInput.css +9 -3
- package/dist/components/DateRangeInput.js +37 -36
- package/dist/components/Display.cjs +6 -0
- package/dist/components/Display.js +2 -2
- package/dist/components/EmptyCartIcon.cjs +51 -0
- package/dist/components/EmptyCartIcon.js +7 -0
- package/dist/components/FilterGroup.cjs +17 -5
- package/dist/components/FilterGroup.js +9 -9
- package/dist/components/Heading.cjs +6 -0
- package/dist/components/Heading.js +2 -2
- package/dist/components/Input.cjs +12 -3
- package/dist/components/Input.js +3 -3
- package/dist/components/InputGroup.cjs +6 -0
- package/dist/components/InputGroup.js +2 -2
- package/dist/components/Label.cjs +6 -0
- package/dist/components/Label.js +2 -2
- package/dist/components/Link.cjs +6 -0
- package/dist/components/Link.js +2 -2
- package/dist/components/ListGroup.cjs +6 -0
- package/dist/components/ListGroup.js +4 -4
- package/dist/components/MainBar.cjs +8 -2
- package/dist/components/MainBar.js +4 -4
- package/dist/components/MenuOption.cjs +6 -0
- package/dist/components/MenuOption.js +4 -4
- package/dist/components/MobileDataGrid/ColumnList.cjs +6 -0
- package/dist/components/MobileDataGrid/ColumnList.js +8 -8
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +28 -13
- package/dist/components/MobileDataGrid/ColumnSelector/index.css +9 -3
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +36 -35
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.cjs +6 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.js +3 -3
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.cjs +6 -0
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +7 -7
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +36 -21
- package/dist/components/MobileDataGrid/MobileDataGridHeader.css +9 -3
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +36 -35
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.cjs +6 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +5 -5
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +6 -0
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +12 -12
- package/dist/components/MobileDataGrid/index.cjs +81 -66
- package/dist/components/MobileDataGrid/index.css +9 -3
- package/dist/components/MobileDataGrid/index.js +36 -35
- package/dist/components/Modal.cjs +6 -0
- package/dist/components/Modal.js +7 -7
- package/dist/components/ModalButtons.cjs +6 -0
- package/dist/components/ModalButtons.js +3 -3
- package/dist/components/ModalContent.cjs +6 -0
- package/dist/components/ModalContent.js +2 -2
- package/dist/components/ModalHeader.cjs +6 -0
- package/dist/components/ModalHeader.js +4 -4
- package/dist/components/NavigationTab.cjs +6 -0
- package/dist/components/NavigationTab.js +3 -3
- package/dist/components/NavigationTabs.cjs +6 -0
- package/dist/components/NavigationTabs.js +3 -3
- package/dist/components/NestedMenu.cjs +6 -0
- package/dist/components/NestedMenu.js +4 -4
- package/dist/components/Notification.cjs +6 -0
- package/dist/components/Notification.js +5 -5
- package/dist/components/OptionPill.cjs +6 -0
- package/dist/components/OptionPill.js +4 -4
- package/dist/components/PDFViewer/DownloadIcon.cjs +6 -0
- package/dist/components/PDFViewer/DownloadIcon.js +3 -3
- package/dist/components/PDFViewer/PDFElement.cjs +6 -0
- package/dist/components/PDFViewer/PDFElement.js +3 -3
- package/dist/components/PDFViewer/PDFNavigation.cjs +6 -0
- package/dist/components/PDFViewer/PDFNavigation.js +6 -6
- package/dist/components/PDFViewer/index.cjs +6 -0
- package/dist/components/PDFViewer/index.js +13 -13
- package/dist/components/Pagination.cjs +6 -0
- package/dist/components/Pagination.js +3 -3
- package/dist/components/Paragraph.cjs +6 -0
- package/dist/components/Paragraph.js +2 -2
- package/dist/components/Password.cjs +12 -3
- package/dist/components/Password.js +3 -3
- package/dist/components/ProductImagePreview/index.cjs +6 -0
- package/dist/components/ProductImagePreview/index.js +3 -3
- package/dist/components/ProjectBar.cjs +6 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/Radio.cjs +6 -0
- package/dist/components/Radio.js +2 -2
- package/dist/components/Search.cjs +17 -5
- package/dist/components/Search.js +4 -4
- package/dist/components/Select.cjs +12 -3
- package/dist/components/Select.js +4 -4
- package/dist/components/SideMenuGroup.cjs +6 -0
- package/dist/components/SideMenuGroup.js +3 -3
- package/dist/components/SideMenuItem.cjs +6 -0
- package/dist/components/SideMenuItem.js +3 -3
- package/dist/components/SimpleTable.cjs +6 -0
- package/dist/components/SimpleTable.js +4 -4
- package/dist/components/Stack.cjs +6 -0
- package/dist/components/Stack.js +2 -2
- package/dist/components/StatusPill.cjs +6 -0
- package/dist/components/StatusPill.js +2 -2
- package/dist/components/Stepper.cjs +12 -3
- package/dist/components/Stepper.js +4 -4
- package/dist/components/Subheader.cjs +6 -0
- package/dist/components/Subheader.js +2 -2
- package/dist/components/Swatch.cjs +6 -0
- package/dist/components/Swatch.js +5 -5
- package/dist/components/Textarea.cjs +6 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/Time.cjs +12 -3
- package/dist/components/Time.js +4 -4
- package/dist/components/Toast.cjs +6 -0
- package/dist/components/Toast.js +4 -4
- package/dist/components/Tooltip.cjs +6 -0
- package/dist/components/Tooltip.js +2 -2
- package/dist/components/TopBar.cjs +8 -2
- package/dist/components/TopBar.js +3 -3
- package/dist/components/Upload.cjs +6 -0
- package/dist/components/Upload.js +4 -4
- package/dist/components/index.cjs +43 -5
- package/dist/components/index.css +9 -3
- package/dist/components/index.js +39 -35
- package/dist/index.css +9 -3
- package/package.json +1 -1
- package/src/classNames.ts +8 -0
- package/src/components/EmptyCartIcon.tsx +18 -0
- package/src/components/Input.tsx +5 -1
- package/src/components/MainBar.tsx +3 -3
- package/src/components/Search.tsx +3 -0
- package/src/components/TopBar.tsx +2 -2
- package/src/components/index.ts +1 -0
|
@@ -163,12 +163,18 @@ var componentPaddingXUsingComponentGap = (0, import_clsx.default)(
|
|
|
163
163
|
var componentPaddingYUsingComponentGap = (0, import_clsx.default)(
|
|
164
164
|
"py-mobile-component-gap desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
165
165
|
);
|
|
166
|
+
var componentPaddingYUsingComponentGap2xMobile = (0, import_clsx.default)(
|
|
167
|
+
"py-[calc(var(--spacing-mobile-component-gap)_+_8px)] desktop:py-desktop-component-gap compact:py-desktop-compact-component-gap"
|
|
168
|
+
);
|
|
166
169
|
var componentPaddingMinusBorder = (0, import_clsx.default)(
|
|
167
170
|
"p-[calc(var(--spacing-mobile-component-padding)_-_1px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_1px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_1px)]"
|
|
168
171
|
);
|
|
169
172
|
var componentPaddingMinus2pxBorder = (0, import_clsx.default)(
|
|
170
173
|
"p-[calc(var(--spacing-mobile-component-padding)_-_2px)] desktop:p-[calc(var(--spacing-desktop-component-padding)_-_2px)] compact:p-[calc(var(--spacing-desktop-compact-component-padding)_-_2px)]"
|
|
171
174
|
);
|
|
175
|
+
var componentPaddingMinusBorderDesktop = (0, import_clsx.default)(
|
|
176
|
+
"p-[calc(var(--spacing-desktop-component-padding)_-_1px)]"
|
|
177
|
+
);
|
|
172
178
|
var layoutPaddding = (0, import_clsx.default)(
|
|
173
179
|
"p-mobile-layout-padding desktop:p-desktop-layout-padding compact:p-desktop-compact-layout-padding"
|
|
174
180
|
);
|
|
@@ -1840,7 +1846,8 @@ var InputBase = (_a) => {
|
|
|
1840
1846
|
secondaryIconColor,
|
|
1841
1847
|
fullWidth = true,
|
|
1842
1848
|
width,
|
|
1843
|
-
wrapperRef
|
|
1849
|
+
wrapperRef,
|
|
1850
|
+
autocompletePadding = false
|
|
1844
1851
|
} = _b, props = __objRest(_b, [
|
|
1845
1852
|
"id",
|
|
1846
1853
|
"testid",
|
|
@@ -1862,7 +1869,8 @@ var InputBase = (_a) => {
|
|
|
1862
1869
|
"secondaryIconColor",
|
|
1863
1870
|
"fullWidth",
|
|
1864
1871
|
"width",
|
|
1865
|
-
"wrapperRef"
|
|
1872
|
+
"wrapperRef",
|
|
1873
|
+
"autocompletePadding"
|
|
1866
1874
|
]);
|
|
1867
1875
|
const attributes = {
|
|
1868
1876
|
"data-error": error && !focus || null,
|
|
@@ -1890,7 +1898,8 @@ var InputBase = (_a) => {
|
|
|
1890
1898
|
componentGap,
|
|
1891
1899
|
baseTransition,
|
|
1892
1900
|
"outline-transparent outline-2 -outline-offset-2",
|
|
1893
|
-
componentPaddingMinusBorder,
|
|
1901
|
+
!autocompletePadding && componentPaddingMinusBorder,
|
|
1902
|
+
autocompletePadding && componentPaddingMinusBorderDesktop,
|
|
1894
1903
|
!removeRoundness && "rounded-base",
|
|
1895
1904
|
!removeBorder && "border border-border-primary-normal",
|
|
1896
1905
|
"relative"
|
|
@@ -2235,7 +2244,8 @@ var Search = (_a) => {
|
|
|
2235
2244
|
renderMenu,
|
|
2236
2245
|
onClick,
|
|
2237
2246
|
wrapperClassName,
|
|
2238
|
-
removeRoundness
|
|
2247
|
+
removeRoundness,
|
|
2248
|
+
autocompletePadding = false
|
|
2239
2249
|
} = _b, props = __objRest(_b, [
|
|
2240
2250
|
"id",
|
|
2241
2251
|
"testid",
|
|
@@ -2246,7 +2256,8 @@ var Search = (_a) => {
|
|
|
2246
2256
|
"renderMenu",
|
|
2247
2257
|
"onClick",
|
|
2248
2258
|
"wrapperClassName",
|
|
2249
|
-
"removeRoundness"
|
|
2259
|
+
"removeRoundness",
|
|
2260
|
+
"autocompletePadding"
|
|
2250
2261
|
]);
|
|
2251
2262
|
const inputRef = (0, import_react10.useRef)(null);
|
|
2252
2263
|
const inputContainerRef = (0, import_react10.useRef)(null);
|
|
@@ -2274,6 +2285,7 @@ var Search = (_a) => {
|
|
|
2274
2285
|
ref: inputRef,
|
|
2275
2286
|
label,
|
|
2276
2287
|
wrapperClassName,
|
|
2288
|
+
autocompletePadding,
|
|
2277
2289
|
onClick: (e) => {
|
|
2278
2290
|
if (props.disabled || readOnly) {
|
|
2279
2291
|
return;
|
|
@@ -5045,6 +5057,9 @@ Pagination.displayName = "Pagination";
|
|
|
5045
5057
|
// src/components/SkeletonParagraph.tsx
|
|
5046
5058
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
5047
5059
|
|
|
5060
|
+
// src/components/EmptyCartIcon.tsx
|
|
5061
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
5062
|
+
|
|
5048
5063
|
// src/components/MobileDataGrid/GridContextProvider/useGridContext.ts
|
|
5049
5064
|
var import_react34 = require("react");
|
|
5050
5065
|
|
|
@@ -5062,7 +5077,7 @@ function useGridContext() {
|
|
|
5062
5077
|
}
|
|
5063
5078
|
|
|
5064
5079
|
// src/components/MobileDataGrid/ColumnSelector/index.tsx
|
|
5065
|
-
var
|
|
5080
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
5066
5081
|
function ColumnSelector() {
|
|
5067
5082
|
const context = useGridContext();
|
|
5068
5083
|
const ref = (0, import_react35.useRef)(null);
|
|
@@ -5083,7 +5098,7 @@ function ColumnSelector() {
|
|
|
5083
5098
|
},
|
|
5084
5099
|
[dispatch]
|
|
5085
5100
|
);
|
|
5086
|
-
return /* @__PURE__ */ (0,
|
|
5101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
5087
5102
|
"div",
|
|
5088
5103
|
{
|
|
5089
5104
|
id: id ? `${id}-column-selector` : void 0,
|
|
@@ -5091,7 +5106,7 @@ function ColumnSelector() {
|
|
|
5091
5106
|
className: "text-text-secondary-normal border-l border-brand-200 p-mobile-container-padding",
|
|
5092
5107
|
ref,
|
|
5093
5108
|
children: [
|
|
5094
|
-
/* @__PURE__ */ (0,
|
|
5109
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5095
5110
|
Button,
|
|
5096
5111
|
{
|
|
5097
5112
|
id: id ? `${id}-button` : void 0,
|
|
@@ -5100,10 +5115,10 @@ function ColumnSelector() {
|
|
|
5100
5115
|
variant: "navigation",
|
|
5101
5116
|
iconOnly: true,
|
|
5102
5117
|
size: 24,
|
|
5103
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5118
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon, { name: "tune" })
|
|
5104
5119
|
}
|
|
5105
5120
|
),
|
|
5106
|
-
/* @__PURE__ */ (0,
|
|
5121
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
5107
5122
|
Menu,
|
|
5108
5123
|
{
|
|
5109
5124
|
id: id ? `${id}-menu` : void 0,
|
|
@@ -5114,7 +5129,7 @@ function ColumnSelector() {
|
|
|
5114
5129
|
setShow,
|
|
5115
5130
|
calculateMinMaxHeight: true,
|
|
5116
5131
|
children: [
|
|
5117
|
-
/* @__PURE__ */ (0,
|
|
5132
|
+
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5118
5133
|
Button,
|
|
5119
5134
|
{
|
|
5120
5135
|
id: id ? `${id}-reset-button` : void 0,
|
|
@@ -5132,11 +5147,11 @@ function ColumnSelector() {
|
|
|
5132
5147
|
return (_a = x.meta) == null ? void 0 : _a.inVisibilityMenu;
|
|
5133
5148
|
}).map((column) => {
|
|
5134
5149
|
var _a, _b, _c;
|
|
5135
|
-
return /* @__PURE__ */ (0,
|
|
5150
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5136
5151
|
MenuOption,
|
|
5137
5152
|
{
|
|
5138
5153
|
testid: testid ? `${testid}-option-${column.id}` : void 0,
|
|
5139
|
-
children: /* @__PURE__ */ (0,
|
|
5154
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
5140
5155
|
Checkbox,
|
|
5141
5156
|
{
|
|
5142
5157
|
id: id ? `${id}-checkbox-${column.id}` : void 0,
|
|
@@ -5166,7 +5181,7 @@ function ColumnSelector() {
|
|
|
5166
5181
|
}
|
|
5167
5182
|
|
|
5168
5183
|
// src/components/MobileDataGrid/MobileDataGridHeader.tsx
|
|
5169
|
-
var
|
|
5184
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
5170
5185
|
function MobileDataGridHeader({
|
|
5171
5186
|
header: Header,
|
|
5172
5187
|
enableColumnSelector,
|
|
@@ -5184,15 +5199,15 @@ function MobileDataGridHeader({
|
|
|
5184
5199
|
handleRowSelectAll
|
|
5185
5200
|
} = ctx;
|
|
5186
5201
|
if (typeof Header === "undefined" && !primaryKey) return null;
|
|
5187
|
-
if (typeof Header === "function") return /* @__PURE__ */ (0,
|
|
5202
|
+
if (typeof Header === "function") return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Header, __spreadValues({}, ctx));
|
|
5188
5203
|
if (typeof Header === "string" || primaryKey)
|
|
5189
|
-
return /* @__PURE__ */ (0,
|
|
5204
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5190
5205
|
"div",
|
|
5191
5206
|
{
|
|
5192
5207
|
id: id ? `${id}-header` : void 0,
|
|
5193
5208
|
"data-testid": testid ? `${testid}-header` : void 0,
|
|
5194
5209
|
className: "sticky top-0",
|
|
5195
|
-
children: /* @__PURE__ */ (0,
|
|
5210
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Theme, { theme: "brand", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
5196
5211
|
Stack,
|
|
5197
5212
|
{
|
|
5198
5213
|
horizontal: true,
|
|
@@ -5201,7 +5216,7 @@ function MobileDataGridHeader({
|
|
|
5201
5216
|
justify: "between",
|
|
5202
5217
|
backgroundColor: "background-primary-normal",
|
|
5203
5218
|
children: [
|
|
5204
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
5219
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "p-mobile-component-padding border-r border-brand-200 max-w-fit h-full", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5205
5220
|
Checkbox,
|
|
5206
5221
|
{
|
|
5207
5222
|
id: id ? `${id}-select-all-checkbox` : void 0,
|
|
@@ -5211,7 +5226,7 @@ function MobileDataGridHeader({
|
|
|
5211
5226
|
onChange: handleRowSelectAll
|
|
5212
5227
|
}
|
|
5213
5228
|
) }),
|
|
5214
|
-
/* @__PURE__ */ (0,
|
|
5229
|
+
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
5215
5230
|
Stack,
|
|
5216
5231
|
{
|
|
5217
5232
|
horizontal: true,
|
|
@@ -5219,10 +5234,10 @@ function MobileDataGridHeader({
|
|
|
5219
5234
|
items: "center",
|
|
5220
5235
|
sizing: "component",
|
|
5221
5236
|
padding: true,
|
|
5222
|
-
children: /* @__PURE__ */ (0,
|
|
5237
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Heading3, { as: "span", color: "text-primary-normal", children: typeof Header === "string" ? Header : (_b = (_a = columns.find((col) => col.id === primaryKey)) == null ? void 0 : _a.header) == null ? void 0 : _b.toString() })
|
|
5223
5238
|
}
|
|
5224
5239
|
),
|
|
5225
|
-
enableColumnSelector && /* @__PURE__ */ (0,
|
|
5240
|
+
enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ColumnSelector, {})
|
|
5226
5241
|
]
|
|
5227
5242
|
}
|
|
5228
5243
|
) })
|
|
@@ -5261,7 +5276,7 @@ function dataGridReducer(state, action) {
|
|
|
5261
5276
|
}
|
|
5262
5277
|
|
|
5263
5278
|
// src/components/MobileDataGrid/GridContextProvider/index.tsx
|
|
5264
|
-
var
|
|
5279
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
5265
5280
|
function GridContextProvider(props) {
|
|
5266
5281
|
const {
|
|
5267
5282
|
initialColumns,
|
|
@@ -5332,7 +5347,7 @@ function GridContextProvider(props) {
|
|
|
5332
5347
|
return ((_a = x.meta) == null ? void 0 : _a.visible) !== false;
|
|
5333
5348
|
}).slice(0, effectiveLimit);
|
|
5334
5349
|
}, [columns, numberOfColumnsToShow, primaryKey]);
|
|
5335
|
-
return /* @__PURE__ */ (0,
|
|
5350
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
5336
5351
|
GridContext.Provider,
|
|
5337
5352
|
{
|
|
5338
5353
|
value: {
|
|
@@ -5360,12 +5375,12 @@ function GridContextProvider(props) {
|
|
|
5360
5375
|
}
|
|
5361
5376
|
|
|
5362
5377
|
// src/components/MobileDataGrid/MobileDataGridCard/MobileDataGridColumn.tsx
|
|
5363
|
-
var
|
|
5378
|
+
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
5364
5379
|
function MobileDataGridColumn(props) {
|
|
5365
5380
|
var _a;
|
|
5366
5381
|
const { column, data } = props;
|
|
5367
|
-
return /* @__PURE__ */ (0,
|
|
5368
|
-
/* @__PURE__ */ (0,
|
|
5382
|
+
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "grid grid-cols-2 gap-2 px-3 flex-1", children: [
|
|
5383
|
+
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5369
5384
|
(_a = column.header) == null ? void 0 : _a.toString(),
|
|
5370
5385
|
":"
|
|
5371
5386
|
] }),
|
|
@@ -5375,28 +5390,28 @@ function MobileDataGridColumn(props) {
|
|
|
5375
5390
|
}
|
|
5376
5391
|
|
|
5377
5392
|
// src/components/MobileDataGrid/RowDetailModalProvider/ModalContent.tsx
|
|
5378
|
-
var
|
|
5393
|
+
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
5379
5394
|
function ModalContent2() {
|
|
5380
5395
|
const context = useGridContext();
|
|
5381
5396
|
const { columns, currentRow } = context;
|
|
5382
5397
|
if (!currentRow) return null;
|
|
5383
|
-
return /* @__PURE__ */ (0,
|
|
5398
|
+
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Stack, { sizing: "layout-group", children: columns.filter((x) => {
|
|
5384
5399
|
var _a;
|
|
5385
5400
|
return !((_a = x.id) == null ? void 0 : _a.startsWith("__"));
|
|
5386
5401
|
}).map(
|
|
5387
5402
|
(column, index) => {
|
|
5388
5403
|
var _a, _b;
|
|
5389
|
-
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
5404
|
+
return ((_a = column.meta) == null ? void 0 : _a.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
5390
5405
|
"div",
|
|
5391
5406
|
{
|
|
5392
5407
|
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5393
5408
|
children: [
|
|
5394
|
-
/* @__PURE__ */ (0,
|
|
5409
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(Paragraph, { color: "text-secondary-normal", className: "text-left", children: [
|
|
5395
5410
|
(_b = column.header) == null ? void 0 : _b.toString(),
|
|
5396
5411
|
":"
|
|
5397
5412
|
] }),
|
|
5398
5413
|
" ",
|
|
5399
|
-
/* @__PURE__ */ (0,
|
|
5414
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
5400
5415
|
column.meta.mobileCell,
|
|
5401
5416
|
{
|
|
5402
5417
|
column,
|
|
@@ -5407,7 +5422,7 @@ function ModalContent2() {
|
|
|
5407
5422
|
]
|
|
5408
5423
|
},
|
|
5409
5424
|
`${column.id}-${index}`
|
|
5410
|
-
) : /* @__PURE__ */ (0,
|
|
5425
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
5411
5426
|
MobileDataGridColumn,
|
|
5412
5427
|
{
|
|
5413
5428
|
column,
|
|
@@ -5420,7 +5435,7 @@ function ModalContent2() {
|
|
|
5420
5435
|
}
|
|
5421
5436
|
|
|
5422
5437
|
// src/components/MobileDataGrid/RowDetailModalProvider/index.tsx
|
|
5423
|
-
var
|
|
5438
|
+
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
5424
5439
|
function RowDetailModalProvider() {
|
|
5425
5440
|
var _a;
|
|
5426
5441
|
const context = useGridContext();
|
|
@@ -5432,7 +5447,7 @@ function RowDetailModalProvider() {
|
|
|
5432
5447
|
primaryKey,
|
|
5433
5448
|
closeRowDetail
|
|
5434
5449
|
} = context;
|
|
5435
|
-
return /* @__PURE__ */ (0,
|
|
5450
|
+
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5436
5451
|
Modal,
|
|
5437
5452
|
{
|
|
5438
5453
|
fixedHeightScrolling: true,
|
|
@@ -5441,7 +5456,7 @@ function RowDetailModalProvider() {
|
|
|
5441
5456
|
hideCloseIcon: true,
|
|
5442
5457
|
size: "medium",
|
|
5443
5458
|
className: "!p-0",
|
|
5444
|
-
headerIcon: /* @__PURE__ */ (0,
|
|
5459
|
+
headerIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
5445
5460
|
Stack,
|
|
5446
5461
|
{
|
|
5447
5462
|
horizontal: true,
|
|
@@ -5450,8 +5465,8 @@ function RowDetailModalProvider() {
|
|
|
5450
5465
|
justify: "between",
|
|
5451
5466
|
width: "full",
|
|
5452
5467
|
children: [
|
|
5453
|
-
/* @__PURE__ */ (0,
|
|
5454
|
-
/* @__PURE__ */ (0,
|
|
5468
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Heading2, { children: (_a = currentRow == null ? void 0 : currentRow[primaryKey != null ? primaryKey : "id"]) != null ? _a : "Grid Detail" }),
|
|
5469
|
+
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
5455
5470
|
Button,
|
|
5456
5471
|
{
|
|
5457
5472
|
id: id ? `${id}-open-in-new-button` : void 0,
|
|
@@ -5459,15 +5474,15 @@ function RowDetailModalProvider() {
|
|
|
5459
5474
|
iconOnly: true,
|
|
5460
5475
|
variant: "tertiary",
|
|
5461
5476
|
onClick: closeRowDetail,
|
|
5462
|
-
leftIcon: /* @__PURE__ */ (0,
|
|
5477
|
+
leftIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-icon-primary-normal contents", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "open_in_new", size: 24 }) })
|
|
5463
5478
|
}
|
|
5464
5479
|
)
|
|
5465
5480
|
]
|
|
5466
5481
|
}
|
|
5467
5482
|
),
|
|
5468
|
-
customActions: /* @__PURE__ */ (0,
|
|
5483
|
+
customActions: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Button, { onClick: closeRowDetail, className: "w-full", children: "Close" }),
|
|
5469
5484
|
showButtons: true,
|
|
5470
|
-
children: /* @__PURE__ */ (0,
|
|
5485
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "bg-white max-h-full flex flex-col flex-grow-1", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(ModalContent2, {}) })
|
|
5471
5486
|
}
|
|
5472
5487
|
);
|
|
5473
5488
|
}
|
|
@@ -5477,7 +5492,7 @@ var import_clsx37 = __toESM(require("clsx"), 1);
|
|
|
5477
5492
|
|
|
5478
5493
|
// src/components/MobileDataGrid/MobileDataGridCard/index.tsx
|
|
5479
5494
|
var import_clsx36 = __toESM(require("clsx"), 1);
|
|
5480
|
-
var
|
|
5495
|
+
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
5481
5496
|
function MobileDataGridCard({
|
|
5482
5497
|
renderLink,
|
|
5483
5498
|
renderChevron = true,
|
|
@@ -5489,7 +5504,7 @@ function MobileDataGridCard({
|
|
|
5489
5504
|
var _a;
|
|
5490
5505
|
const context = useGridContext();
|
|
5491
5506
|
const { id, testid, visibleColumns, getId, handleRowSelect, openRowDetail } = context;
|
|
5492
|
-
return /* @__PURE__ */ (0,
|
|
5507
|
+
return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
5493
5508
|
"li",
|
|
5494
5509
|
{
|
|
5495
5510
|
id: id ? `${id}-card-${getId(data)}` : void 0,
|
|
@@ -5500,16 +5515,16 @@ function MobileDataGridCard({
|
|
|
5500
5515
|
),
|
|
5501
5516
|
onClick: () => openRowDetail(data),
|
|
5502
5517
|
children: [
|
|
5503
|
-
/* @__PURE__ */ (0,
|
|
5504
|
-
/* @__PURE__ */ (0,
|
|
5505
|
-
enableRowSelection && /* @__PURE__ */ (0,
|
|
5518
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Stack, { sizing: "component", children: [
|
|
5519
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(Stack, { horizontal: true, horizontalMobile: true, items: "center", justify: "between", children: [
|
|
5520
|
+
enableRowSelection && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5506
5521
|
Stack,
|
|
5507
5522
|
{
|
|
5508
5523
|
sizing: "component",
|
|
5509
5524
|
padding: true,
|
|
5510
5525
|
width: "fit",
|
|
5511
5526
|
onClick: (e) => e.stopPropagation(),
|
|
5512
|
-
children: /* @__PURE__ */ (0,
|
|
5527
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5513
5528
|
Checkbox,
|
|
5514
5529
|
{
|
|
5515
5530
|
id: id ? `${id}-${getId(data)}-select-checkbox` : void 0,
|
|
@@ -5520,16 +5535,16 @@ function MobileDataGridCard({
|
|
|
5520
5535
|
)
|
|
5521
5536
|
}
|
|
5522
5537
|
),
|
|
5523
|
-
/* @__PURE__ */ (0,
|
|
5538
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5524
5539
|
Stack,
|
|
5525
5540
|
{
|
|
5526
5541
|
sizing: "component",
|
|
5527
5542
|
padding: true,
|
|
5528
5543
|
onClick: (e) => e.stopPropagation(),
|
|
5529
|
-
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0,
|
|
5544
|
+
children: renderLink ? renderLink(data) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Subheader, { children: String((_a = data[context.primaryKey]) != null ? _a : "") })
|
|
5530
5545
|
}
|
|
5531
5546
|
),
|
|
5532
|
-
/* @__PURE__ */ (0,
|
|
5547
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5533
5548
|
Stack,
|
|
5534
5549
|
{
|
|
5535
5550
|
horizontal: true,
|
|
@@ -5542,18 +5557,18 @@ function MobileDataGridCard({
|
|
|
5542
5557
|
}
|
|
5543
5558
|
)
|
|
5544
5559
|
] }),
|
|
5545
|
-
/* @__PURE__ */ (0,
|
|
5560
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Stack, { sizing: "layout-group", children: visibleColumns.filter((x) => {
|
|
5546
5561
|
var _a2, _b;
|
|
5547
5562
|
return ((_a2 = x.meta) == null ? void 0 : _a2.visible) !== false && !((_b = x.id) == null ? void 0 : _b.startsWith("__"));
|
|
5548
5563
|
}).map(
|
|
5549
5564
|
(column, index) => {
|
|
5550
5565
|
var _a2, _b;
|
|
5551
|
-
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0,
|
|
5566
|
+
return ((_a2 = column.meta) == null ? void 0 : _a2.useCustomRenderer) && column.meta.mobileCell && column.id ? /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
5552
5567
|
"div",
|
|
5553
5568
|
{
|
|
5554
5569
|
className: "grid grid-cols-2 gap-2 px-3 items-center flex-1",
|
|
5555
5570
|
children: [
|
|
5556
|
-
/* @__PURE__ */ (0,
|
|
5571
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
5557
5572
|
Paragraph,
|
|
5558
5573
|
{
|
|
5559
5574
|
color: "text-secondary-normal",
|
|
@@ -5565,7 +5580,7 @@ function MobileDataGridCard({
|
|
|
5565
5580
|
}
|
|
5566
5581
|
),
|
|
5567
5582
|
" ",
|
|
5568
|
-
/* @__PURE__ */ (0,
|
|
5583
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5569
5584
|
column.meta.mobileCell,
|
|
5570
5585
|
{
|
|
5571
5586
|
column,
|
|
@@ -5576,7 +5591,7 @@ function MobileDataGridCard({
|
|
|
5576
5591
|
]
|
|
5577
5592
|
},
|
|
5578
5593
|
`${column.id}-${index}`
|
|
5579
|
-
) : /* @__PURE__ */ (0,
|
|
5594
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
5580
5595
|
MobileDataGridColumn,
|
|
5581
5596
|
{
|
|
5582
5597
|
column,
|
|
@@ -5587,14 +5602,14 @@ function MobileDataGridCard({
|
|
|
5587
5602
|
}
|
|
5588
5603
|
) })
|
|
5589
5604
|
] }),
|
|
5590
|
-
renderChevron && /* @__PURE__ */ (0,
|
|
5605
|
+
renderChevron && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Stack, { items: "center", justify: "center", horizontal: true, horizontalMobile: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: "keyboard_arrow_down" }) })
|
|
5591
5606
|
]
|
|
5592
5607
|
}
|
|
5593
5608
|
);
|
|
5594
5609
|
}
|
|
5595
5610
|
|
|
5596
5611
|
// src/components/MobileDataGrid/ColumnList.tsx
|
|
5597
|
-
var
|
|
5612
|
+
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
5598
5613
|
function ColumnList(props) {
|
|
5599
5614
|
const {
|
|
5600
5615
|
withBorder,
|
|
@@ -5606,14 +5621,14 @@ function ColumnList(props) {
|
|
|
5606
5621
|
} = props;
|
|
5607
5622
|
const ctx = useGridContext();
|
|
5608
5623
|
const { id, testid, data, getId, selectedRowIds } = ctx;
|
|
5609
|
-
return /* @__PURE__ */ (0,
|
|
5624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
5610
5625
|
"div",
|
|
5611
5626
|
{
|
|
5612
5627
|
className: (0, import_clsx37.default)(
|
|
5613
5628
|
"flex flex-col flex-1 relative overflow-y-auto overflow-x-hidden",
|
|
5614
5629
|
!!Footer && "mb-20"
|
|
5615
5630
|
),
|
|
5616
|
-
children: /* @__PURE__ */ (0,
|
|
5631
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
|
5617
5632
|
"ul",
|
|
5618
5633
|
{
|
|
5619
5634
|
id,
|
|
@@ -5626,7 +5641,7 @@ function ColumnList(props) {
|
|
|
5626
5641
|
children: [
|
|
5627
5642
|
data.map((item) => {
|
|
5628
5643
|
const id2 = getId(item);
|
|
5629
|
-
return /* @__PURE__ */ (0,
|
|
5644
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
|
5630
5645
|
MobileDataGridCard,
|
|
5631
5646
|
{
|
|
5632
5647
|
data: item,
|
|
@@ -5639,7 +5654,7 @@ function ColumnList(props) {
|
|
|
5639
5654
|
id2
|
|
5640
5655
|
);
|
|
5641
5656
|
}),
|
|
5642
|
-
!!Footer && /* @__PURE__ */ (0,
|
|
5657
|
+
!!Footer && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: "fixed left-0 right-0 bottom-0 flex flex-col w-full min-h-20", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Footer, __spreadValues({}, ctx)) })
|
|
5643
5658
|
]
|
|
5644
5659
|
}
|
|
5645
5660
|
)
|
|
@@ -5648,7 +5663,7 @@ function ColumnList(props) {
|
|
|
5648
5663
|
}
|
|
5649
5664
|
|
|
5650
5665
|
// src/components/MobileDataGrid/index.tsx
|
|
5651
|
-
var
|
|
5666
|
+
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
5652
5667
|
function MobileDataGrid(props) {
|
|
5653
5668
|
const {
|
|
5654
5669
|
columns,
|
|
@@ -5670,7 +5685,7 @@ function MobileDataGrid(props) {
|
|
|
5670
5685
|
rowActions,
|
|
5671
5686
|
rounded
|
|
5672
5687
|
} = props;
|
|
5673
|
-
return /* @__PURE__ */ (0,
|
|
5688
|
+
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
5674
5689
|
GridContextProvider,
|
|
5675
5690
|
{
|
|
5676
5691
|
initialColumns: columns,
|
|
@@ -5682,7 +5697,7 @@ function MobileDataGrid(props) {
|
|
|
5682
5697
|
numberOfColumnsToShow,
|
|
5683
5698
|
primaryKey,
|
|
5684
5699
|
children: [
|
|
5685
|
-
/* @__PURE__ */ (0,
|
|
5700
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
|
5686
5701
|
Stack,
|
|
5687
5702
|
{
|
|
5688
5703
|
height: "full",
|
|
@@ -5690,7 +5705,7 @@ function MobileDataGrid(props) {
|
|
|
5690
5705
|
overflowX: "hidden",
|
|
5691
5706
|
overflowY: "hidden",
|
|
5692
5707
|
children: [
|
|
5693
|
-
!hideHeader && /* @__PURE__ */ (0,
|
|
5708
|
+
!hideHeader && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
5694
5709
|
MobileDataGridHeader,
|
|
5695
5710
|
{
|
|
5696
5711
|
header,
|
|
@@ -5698,7 +5713,7 @@ function MobileDataGrid(props) {
|
|
|
5698
5713
|
enableRowSelection
|
|
5699
5714
|
}
|
|
5700
5715
|
),
|
|
5701
|
-
/* @__PURE__ */ (0,
|
|
5716
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
|
5702
5717
|
ColumnList,
|
|
5703
5718
|
{
|
|
5704
5719
|
withBorder,
|
|
@@ -5712,7 +5727,7 @@ function MobileDataGrid(props) {
|
|
|
5712
5727
|
]
|
|
5713
5728
|
}
|
|
5714
5729
|
),
|
|
5715
|
-
/* @__PURE__ */ (0,
|
|
5730
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(RowDetailModalProvider, {})
|
|
5716
5731
|
]
|
|
5717
5732
|
}
|
|
5718
5733
|
);
|
|
@@ -895,12 +895,12 @@
|
|
|
895
895
|
.max-w-38 {
|
|
896
896
|
max-width: calc(var(--spacing) * 38);
|
|
897
897
|
}
|
|
898
|
+
.max-w-100 {
|
|
899
|
+
max-width: calc(var(--spacing) * 100);
|
|
900
|
+
}
|
|
898
901
|
.max-w-240 {
|
|
899
902
|
max-width: calc(var(--spacing) * 240);
|
|
900
903
|
}
|
|
901
|
-
.max-w-\[400px\] {
|
|
902
|
-
max-width: 400px;
|
|
903
|
-
}
|
|
904
904
|
.max-w-fit {
|
|
905
905
|
max-width: fit-content;
|
|
906
906
|
}
|
|
@@ -1919,6 +1919,9 @@
|
|
|
1919
1919
|
.p-6 {
|
|
1920
1920
|
padding: calc(var(--spacing) * 6);
|
|
1921
1921
|
}
|
|
1922
|
+
.p-\[calc\(var\(--spacing-desktop-component-padding\)_-_1px\)\] {
|
|
1923
|
+
padding: calc(var(--spacing-desktop-component-padding) - 1px);
|
|
1924
|
+
}
|
|
1922
1925
|
.p-\[calc\(var\(--spacing-mobile-component-padding\)_-_1px\)\] {
|
|
1923
1926
|
padding: calc(var(--spacing-mobile-component-padding) - 1px);
|
|
1924
1927
|
}
|
|
@@ -1997,6 +2000,9 @@
|
|
|
1997
2000
|
.py-\[15px\] {
|
|
1998
2001
|
padding-block: 15px;
|
|
1999
2002
|
}
|
|
2003
|
+
.py-\[calc\(var\(--spacing-mobile-component-gap\)_\+_8px\)\] {
|
|
2004
|
+
padding-block: calc(var(--spacing-mobile-component-gap) + 8px);
|
|
2005
|
+
}
|
|
2000
2006
|
.py-mobile-component-gap {
|
|
2001
2007
|
padding-block: var(--spacing-mobile-component-gap);
|
|
2002
2008
|
}
|