@dmsi/wedgekit-react 0.0.887 → 0.0.888
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-5NRKL5CJ.js → chunk-JKCNHKVV.js} +23 -44
- package/dist/{chunk-4MF6JSE7.js → chunk-KVPAYT4Z.js} +1 -1
- package/dist/components/CalendarRange.cjs +23 -44
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -44
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +23 -44
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
- package/dist/components/DataGrid/PinnedColumns.cjs +23 -44
- package/dist/components/DataGrid/PinnedColumns.js +2 -2
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +23 -44
- package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +23 -44
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
- package/dist/components/DataGrid/TableBody/index.cjs +23 -44
- package/dist/components/DataGrid/TableBody/index.js +2 -2
- package/dist/components/DataGrid/index.cjs +23 -44
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataGrid/utils.cjs +23 -44
- package/dist/components/DataGrid/utils.js +2 -2
- package/dist/components/DataGridCell.cjs +23 -44
- package/dist/components/DataGridCell.js +1 -1
- package/dist/components/DateInput.cjs +23 -44
- package/dist/components/DateInput.js +2 -2
- package/dist/components/DateRangeInput.cjs +23 -44
- package/dist/components/DateRangeInput.js +2 -2
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +23 -44
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +23 -44
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
- package/dist/components/MobileDataGrid/index.cjs +23 -44
- package/dist/components/MobileDataGrid/index.js +2 -2
- package/dist/components/index.cjs +23 -44
- package/dist/components/index.js +2 -2
- package/package.json +1 -1
|
@@ -2248,46 +2248,26 @@ Search.displayName = "Search";
|
|
|
2248
2248
|
// src/components/DataGridCell.tsx
|
|
2249
2249
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2250
2250
|
var DataGridCell = (0, import_react12.memo)(
|
|
2251
|
-
(
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
} = _b, props = __objRest(_b, [
|
|
2272
|
-
"id",
|
|
2273
|
-
"type",
|
|
2274
|
-
"component",
|
|
2275
|
-
"children",
|
|
2276
|
-
"className",
|
|
2277
|
-
"locked",
|
|
2278
|
-
"noPadding",
|
|
2279
|
-
"paddedLeft",
|
|
2280
|
-
"style",
|
|
2281
|
-
"onClick",
|
|
2282
|
-
"onRightClick",
|
|
2283
|
-
"error",
|
|
2284
|
-
"warning",
|
|
2285
|
-
"center",
|
|
2286
|
-
"width",
|
|
2287
|
-
"minWidth",
|
|
2288
|
-
"disabled",
|
|
2289
|
-
"testid"
|
|
2290
|
-
]);
|
|
2251
|
+
({
|
|
2252
|
+
id,
|
|
2253
|
+
type = "default",
|
|
2254
|
+
component = "static",
|
|
2255
|
+
children,
|
|
2256
|
+
className,
|
|
2257
|
+
locked = false,
|
|
2258
|
+
noPadding = false,
|
|
2259
|
+
paddedLeft = false,
|
|
2260
|
+
style,
|
|
2261
|
+
onClick,
|
|
2262
|
+
onRightClick,
|
|
2263
|
+
error,
|
|
2264
|
+
warning,
|
|
2265
|
+
center,
|
|
2266
|
+
width,
|
|
2267
|
+
minWidth,
|
|
2268
|
+
disabled,
|
|
2269
|
+
testid
|
|
2270
|
+
}) => {
|
|
2291
2271
|
const Element = type === "header" ? "th" : "td";
|
|
2292
2272
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2293
2273
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2356,12 +2336,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2356
2336
|
);
|
|
2357
2337
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2358
2338
|
Element,
|
|
2359
|
-
|
|
2339
|
+
{
|
|
2360
2340
|
id,
|
|
2361
2341
|
"data-testid": testid,
|
|
2362
2342
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2363
|
-
style: { width, minWidth }
|
|
2364
|
-
}, props), {
|
|
2343
|
+
style: { width, minWidth },
|
|
2365
2344
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2366
2345
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2367
2346
|
"div",
|
|
@@ -2378,7 +2357,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2378
2357
|
children
|
|
2379
2358
|
}
|
|
2380
2359
|
)
|
|
2381
|
-
}
|
|
2360
|
+
}
|
|
2382
2361
|
);
|
|
2383
2362
|
}
|
|
2384
2363
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../chunk-UAMI54FE.js";
|
|
|
38
38
|
import "../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../chunk-75USUR3I.js";
|
|
40
40
|
import "../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-JKCNHKVV.js";
|
|
42
42
|
import "../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../chunk-PE3EZP56.js";
|
|
44
44
|
import "../chunk-X3NDEFVA.js";
|
|
@@ -2214,46 +2214,26 @@ Search.displayName = "Search";
|
|
|
2214
2214
|
// src/components/DataGridCell.tsx
|
|
2215
2215
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2216
2216
|
var DataGridCell = (0, import_react12.memo)(
|
|
2217
|
-
(
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
} = _b, props = __objRest(_b, [
|
|
2238
|
-
"id",
|
|
2239
|
-
"type",
|
|
2240
|
-
"component",
|
|
2241
|
-
"children",
|
|
2242
|
-
"className",
|
|
2243
|
-
"locked",
|
|
2244
|
-
"noPadding",
|
|
2245
|
-
"paddedLeft",
|
|
2246
|
-
"style",
|
|
2247
|
-
"onClick",
|
|
2248
|
-
"onRightClick",
|
|
2249
|
-
"error",
|
|
2250
|
-
"warning",
|
|
2251
|
-
"center",
|
|
2252
|
-
"width",
|
|
2253
|
-
"minWidth",
|
|
2254
|
-
"disabled",
|
|
2255
|
-
"testid"
|
|
2256
|
-
]);
|
|
2217
|
+
({
|
|
2218
|
+
id,
|
|
2219
|
+
type = "default",
|
|
2220
|
+
component = "static",
|
|
2221
|
+
children,
|
|
2222
|
+
className,
|
|
2223
|
+
locked = false,
|
|
2224
|
+
noPadding = false,
|
|
2225
|
+
paddedLeft = false,
|
|
2226
|
+
style,
|
|
2227
|
+
onClick,
|
|
2228
|
+
onRightClick,
|
|
2229
|
+
error,
|
|
2230
|
+
warning,
|
|
2231
|
+
center,
|
|
2232
|
+
width,
|
|
2233
|
+
minWidth,
|
|
2234
|
+
disabled,
|
|
2235
|
+
testid
|
|
2236
|
+
}) => {
|
|
2257
2237
|
const Element = type === "header" ? "th" : "td";
|
|
2258
2238
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2259
2239
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2322,12 +2302,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2322
2302
|
);
|
|
2323
2303
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2324
2304
|
Element,
|
|
2325
|
-
|
|
2305
|
+
{
|
|
2326
2306
|
id,
|
|
2327
2307
|
"data-testid": testid,
|
|
2328
2308
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2329
|
-
style: { width, minWidth }
|
|
2330
|
-
}, props), {
|
|
2309
|
+
style: { width, minWidth },
|
|
2331
2310
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2332
2311
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2333
2312
|
"div",
|
|
@@ -2344,7 +2323,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2344
2323
|
children
|
|
2345
2324
|
}
|
|
2346
2325
|
)
|
|
2347
|
-
}
|
|
2326
|
+
}
|
|
2348
2327
|
);
|
|
2349
2328
|
}
|
|
2350
2329
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ColumnSelector
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-UAMI54FE.js";
|
|
|
38
38
|
import "../../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../../chunk-
|
|
41
|
+
import "../../../chunk-JKCNHKVV.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2645,46 +2645,26 @@ Search.displayName = "Search";
|
|
|
2645
2645
|
// src/components/DataGridCell.tsx
|
|
2646
2646
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
2647
2647
|
var DataGridCell = (0, import_react12.memo)(
|
|
2648
|
-
(
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
} = _b, props = __objRest(_b, [
|
|
2669
|
-
"id",
|
|
2670
|
-
"type",
|
|
2671
|
-
"component",
|
|
2672
|
-
"children",
|
|
2673
|
-
"className",
|
|
2674
|
-
"locked",
|
|
2675
|
-
"noPadding",
|
|
2676
|
-
"paddedLeft",
|
|
2677
|
-
"style",
|
|
2678
|
-
"onClick",
|
|
2679
|
-
"onRightClick",
|
|
2680
|
-
"error",
|
|
2681
|
-
"warning",
|
|
2682
|
-
"center",
|
|
2683
|
-
"width",
|
|
2684
|
-
"minWidth",
|
|
2685
|
-
"disabled",
|
|
2686
|
-
"testid"
|
|
2687
|
-
]);
|
|
2648
|
+
({
|
|
2649
|
+
id,
|
|
2650
|
+
type = "default",
|
|
2651
|
+
component = "static",
|
|
2652
|
+
children,
|
|
2653
|
+
className,
|
|
2654
|
+
locked = false,
|
|
2655
|
+
noPadding = false,
|
|
2656
|
+
paddedLeft = false,
|
|
2657
|
+
style,
|
|
2658
|
+
onClick,
|
|
2659
|
+
onRightClick,
|
|
2660
|
+
error,
|
|
2661
|
+
warning,
|
|
2662
|
+
center,
|
|
2663
|
+
width,
|
|
2664
|
+
minWidth,
|
|
2665
|
+
disabled,
|
|
2666
|
+
testid
|
|
2667
|
+
}) => {
|
|
2688
2668
|
const Element = type === "header" ? "th" : "td";
|
|
2689
2669
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2690
2670
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2753,12 +2733,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2753
2733
|
);
|
|
2754
2734
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2755
2735
|
Element,
|
|
2756
|
-
|
|
2736
|
+
{
|
|
2757
2737
|
id,
|
|
2758
2738
|
"data-testid": testid,
|
|
2759
2739
|
className: (0, import_clsx12.default)("flex h-10", !width && "flex-1"),
|
|
2760
|
-
style: { width, minWidth }
|
|
2761
|
-
}, props), {
|
|
2740
|
+
style: { width, minWidth },
|
|
2762
2741
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2763
2742
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2764
2743
|
"div",
|
|
@@ -2775,7 +2754,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2775
2754
|
children
|
|
2776
2755
|
}
|
|
2777
2756
|
)
|
|
2778
|
-
}
|
|
2757
|
+
}
|
|
2779
2758
|
);
|
|
2780
2759
|
}
|
|
2781
2760
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MobileDataGridHeader
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-UAMI54FE.js";
|
|
|
38
38
|
import "../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../chunk-
|
|
41
|
+
import "../../chunk-JKCNHKVV.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2645,46 +2645,26 @@ Search.displayName = "Search";
|
|
|
2645
2645
|
// src/components/DataGridCell.tsx
|
|
2646
2646
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
2647
2647
|
var DataGridCell = (0, import_react12.memo)(
|
|
2648
|
-
(
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
} = _b, props = __objRest(_b, [
|
|
2669
|
-
"id",
|
|
2670
|
-
"type",
|
|
2671
|
-
"component",
|
|
2672
|
-
"children",
|
|
2673
|
-
"className",
|
|
2674
|
-
"locked",
|
|
2675
|
-
"noPadding",
|
|
2676
|
-
"paddedLeft",
|
|
2677
|
-
"style",
|
|
2678
|
-
"onClick",
|
|
2679
|
-
"onRightClick",
|
|
2680
|
-
"error",
|
|
2681
|
-
"warning",
|
|
2682
|
-
"center",
|
|
2683
|
-
"width",
|
|
2684
|
-
"minWidth",
|
|
2685
|
-
"disabled",
|
|
2686
|
-
"testid"
|
|
2687
|
-
]);
|
|
2648
|
+
({
|
|
2649
|
+
id,
|
|
2650
|
+
type = "default",
|
|
2651
|
+
component = "static",
|
|
2652
|
+
children,
|
|
2653
|
+
className,
|
|
2654
|
+
locked = false,
|
|
2655
|
+
noPadding = false,
|
|
2656
|
+
paddedLeft = false,
|
|
2657
|
+
style,
|
|
2658
|
+
onClick,
|
|
2659
|
+
onRightClick,
|
|
2660
|
+
error,
|
|
2661
|
+
warning,
|
|
2662
|
+
center,
|
|
2663
|
+
width,
|
|
2664
|
+
minWidth,
|
|
2665
|
+
disabled,
|
|
2666
|
+
testid
|
|
2667
|
+
}) => {
|
|
2688
2668
|
const Element = type === "header" ? "th" : "td";
|
|
2689
2669
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2690
2670
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2753,12 +2733,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2753
2733
|
);
|
|
2754
2734
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2755
2735
|
Element,
|
|
2756
|
-
|
|
2736
|
+
{
|
|
2757
2737
|
id,
|
|
2758
2738
|
"data-testid": testid,
|
|
2759
2739
|
className: (0, import_clsx12.default)("flex h-10", !width && "flex-1"),
|
|
2760
|
-
style: { width, minWidth }
|
|
2761
|
-
}, props), {
|
|
2740
|
+
style: { width, minWidth },
|
|
2762
2741
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2763
2742
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2764
2743
|
"div",
|
|
@@ -2775,7 +2754,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2775
2754
|
children
|
|
2776
2755
|
}
|
|
2777
2756
|
)
|
|
2778
|
-
}
|
|
2757
|
+
}
|
|
2779
2758
|
);
|
|
2780
2759
|
}
|
|
2781
2760
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MobileDataGrid
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-KVPAYT4Z.js";
|
|
4
4
|
import "../../chunk-4DPSNQCM.js";
|
|
5
5
|
import "../../chunk-Q4YDNW7N.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-UAMI54FE.js";
|
|
|
38
38
|
import "../../chunk-SJZNVG4N.js";
|
|
39
39
|
import "../../chunk-75USUR3I.js";
|
|
40
40
|
import "../../chunk-BWPNXY7T.js";
|
|
41
|
-
import "../../chunk-
|
|
41
|
+
import "../../chunk-JKCNHKVV.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2248,46 +2248,26 @@ Search.displayName = "Search";
|
|
|
2248
2248
|
// src/components/DataGridCell.tsx
|
|
2249
2249
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
2250
2250
|
var DataGridCell = (0, import_react12.memo)(
|
|
2251
|
-
(
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
} = _b, props = __objRest(_b, [
|
|
2272
|
-
"id",
|
|
2273
|
-
"type",
|
|
2274
|
-
"component",
|
|
2275
|
-
"children",
|
|
2276
|
-
"className",
|
|
2277
|
-
"locked",
|
|
2278
|
-
"noPadding",
|
|
2279
|
-
"paddedLeft",
|
|
2280
|
-
"style",
|
|
2281
|
-
"onClick",
|
|
2282
|
-
"onRightClick",
|
|
2283
|
-
"error",
|
|
2284
|
-
"warning",
|
|
2285
|
-
"center",
|
|
2286
|
-
"width",
|
|
2287
|
-
"minWidth",
|
|
2288
|
-
"disabled",
|
|
2289
|
-
"testid"
|
|
2290
|
-
]);
|
|
2251
|
+
({
|
|
2252
|
+
id,
|
|
2253
|
+
type = "default",
|
|
2254
|
+
component = "static",
|
|
2255
|
+
children,
|
|
2256
|
+
className,
|
|
2257
|
+
locked = false,
|
|
2258
|
+
noPadding = false,
|
|
2259
|
+
paddedLeft = false,
|
|
2260
|
+
style,
|
|
2261
|
+
onClick,
|
|
2262
|
+
onRightClick,
|
|
2263
|
+
error,
|
|
2264
|
+
warning,
|
|
2265
|
+
center,
|
|
2266
|
+
width,
|
|
2267
|
+
minWidth,
|
|
2268
|
+
disabled,
|
|
2269
|
+
testid
|
|
2270
|
+
}) => {
|
|
2291
2271
|
const Element = type === "header" ? "th" : "td";
|
|
2292
2272
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2293
2273
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2356,12 +2336,11 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2356
2336
|
);
|
|
2357
2337
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2358
2338
|
Element,
|
|
2359
|
-
|
|
2339
|
+
{
|
|
2360
2340
|
id,
|
|
2361
2341
|
"data-testid": testid,
|
|
2362
2342
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2363
|
-
style: { width, minWidth }
|
|
2364
|
-
}, props), {
|
|
2343
|
+
style: { width, minWidth },
|
|
2365
2344
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2366
2345
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2367
2346
|
"div",
|
|
@@ -2378,7 +2357,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2378
2357
|
children
|
|
2379
2358
|
}
|
|
2380
2359
|
)
|
|
2381
|
-
}
|
|
2360
|
+
}
|
|
2382
2361
|
);
|
|
2383
2362
|
}
|
|
2384
2363
|
);
|
package/dist/components/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DataGrid,
|
|
3
3
|
DateInput,
|
|
4
4
|
MobileDataGrid
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-KVPAYT4Z.js";
|
|
6
6
|
import "../chunk-4DPSNQCM.js";
|
|
7
7
|
import "../chunk-Q4YDNW7N.js";
|
|
8
8
|
import "../chunk-M7INAUAJ.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
DataGridCell,
|
|
72
72
|
DragAlongCell,
|
|
73
73
|
DraggableCellHeader
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-JKCNHKVV.js";
|
|
75
75
|
import {
|
|
76
76
|
Menu
|
|
77
77
|
} from "../chunk-OM7QLLI2.js";
|