@dmsi/wedgekit-react 0.0.901 → 0.0.902
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-JKCNHKVV.js → chunk-5NRKL5CJ.js} +44 -23
- package/dist/{chunk-2UD7Y3NB.js → chunk-YYRFXTO7.js} +1 -1
- package/dist/components/CalendarRange.cjs +44 -23
- package/dist/components/CalendarRange.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +44 -23
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +44 -23
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +2 -2
- package/dist/components/DataGrid/PinnedColumns.cjs +44 -23
- package/dist/components/DataGrid/PinnedColumns.js +2 -2
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +44 -23
- package/dist/components/DataGrid/TableBody/LoadingCell.js +2 -2
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +44 -23
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +2 -2
- package/dist/components/DataGrid/TableBody/index.cjs +44 -23
- package/dist/components/DataGrid/TableBody/index.js +2 -2
- package/dist/components/DataGrid/index.cjs +44 -23
- package/dist/components/DataGrid/index.js +2 -2
- package/dist/components/DataGrid/utils.cjs +44 -23
- package/dist/components/DataGrid/utils.js +2 -2
- package/dist/components/DataGridCell.cjs +44 -23
- package/dist/components/DataGridCell.js +1 -1
- package/dist/components/DateInput.cjs +44 -23
- package/dist/components/DateInput.js +2 -2
- package/dist/components/DateRangeInput.cjs +44 -23
- package/dist/components/DateRangeInput.js +2 -2
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +44 -23
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +2 -2
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +44 -23
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +2 -2
- package/dist/components/MobileDataGrid/index.cjs +44 -23
- package/dist/components/MobileDataGrid/index.js +2 -2
- package/dist/components/index.cjs +44 -23
- package/dist/components/index.js +2 -2
- package/package.json +1 -1
|
@@ -2248,26 +2248,46 @@ 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
|
-
|
|
2251
|
+
(_a) => {
|
|
2252
|
+
var _b = _a, {
|
|
2253
|
+
id,
|
|
2254
|
+
type = "default",
|
|
2255
|
+
component = "static",
|
|
2256
|
+
children,
|
|
2257
|
+
className,
|
|
2258
|
+
locked = false,
|
|
2259
|
+
noPadding = false,
|
|
2260
|
+
paddedLeft = false,
|
|
2261
|
+
style,
|
|
2262
|
+
onClick,
|
|
2263
|
+
onRightClick,
|
|
2264
|
+
error,
|
|
2265
|
+
warning,
|
|
2266
|
+
center,
|
|
2267
|
+
width,
|
|
2268
|
+
minWidth,
|
|
2269
|
+
disabled,
|
|
2270
|
+
testid
|
|
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
|
+
]);
|
|
2271
2291
|
const Element = type === "header" ? "th" : "td";
|
|
2272
2292
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2273
2293
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2336,11 +2356,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2336
2356
|
);
|
|
2337
2357
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2338
2358
|
Element,
|
|
2339
|
-
{
|
|
2359
|
+
__spreadProps(__spreadValues({
|
|
2340
2360
|
id,
|
|
2341
2361
|
"data-testid": testid,
|
|
2342
2362
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2343
|
-
style: { width, minWidth }
|
|
2363
|
+
style: { width, minWidth }
|
|
2364
|
+
}, props), {
|
|
2344
2365
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2345
2366
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2346
2367
|
"div",
|
|
@@ -2357,7 +2378,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2357
2378
|
children
|
|
2358
2379
|
}
|
|
2359
2380
|
)
|
|
2360
|
-
}
|
|
2381
|
+
})
|
|
2361
2382
|
);
|
|
2362
2383
|
}
|
|
2363
2384
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CalendarRange
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../chunk-VABOQRYA.js";
|
|
6
6
|
import "../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../chunk-3IAXYRUR.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-5NRKL5CJ.js";
|
|
42
42
|
import "../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../chunk-PE3EZP56.js";
|
|
44
44
|
import "../chunk-X3NDEFVA.js";
|
|
@@ -2214,26 +2214,46 @@ 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
|
-
|
|
2217
|
+
(_a) => {
|
|
2218
|
+
var _b = _a, {
|
|
2219
|
+
id,
|
|
2220
|
+
type = "default",
|
|
2221
|
+
component = "static",
|
|
2222
|
+
children,
|
|
2223
|
+
className,
|
|
2224
|
+
locked = false,
|
|
2225
|
+
noPadding = false,
|
|
2226
|
+
paddedLeft = false,
|
|
2227
|
+
style,
|
|
2228
|
+
onClick,
|
|
2229
|
+
onRightClick,
|
|
2230
|
+
error,
|
|
2231
|
+
warning,
|
|
2232
|
+
center,
|
|
2233
|
+
width,
|
|
2234
|
+
minWidth,
|
|
2235
|
+
disabled,
|
|
2236
|
+
testid
|
|
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
|
+
]);
|
|
2237
2257
|
const Element = type === "header" ? "th" : "td";
|
|
2238
2258
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2239
2259
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2302,11 +2322,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2302
2322
|
);
|
|
2303
2323
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2304
2324
|
Element,
|
|
2305
|
-
{
|
|
2325
|
+
__spreadProps(__spreadValues({
|
|
2306
2326
|
id,
|
|
2307
2327
|
"data-testid": testid,
|
|
2308
2328
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2309
|
-
style: { width, minWidth }
|
|
2329
|
+
style: { width, minWidth }
|
|
2330
|
+
}, props), {
|
|
2310
2331
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2311
2332
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2312
2333
|
"div",
|
|
@@ -2323,7 +2344,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2323
2344
|
children
|
|
2324
2345
|
}
|
|
2325
2346
|
)
|
|
2326
|
-
}
|
|
2347
|
+
})
|
|
2327
2348
|
);
|
|
2328
2349
|
}
|
|
2329
2350
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ColumnSelector
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../../chunk-3IAXYRUR.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-5NRKL5CJ.js";
|
|
42
42
|
import "../../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../../chunk-X3NDEFVA.js";
|
|
@@ -2645,26 +2645,46 @@ 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
|
-
|
|
2648
|
+
(_a) => {
|
|
2649
|
+
var _b = _a, {
|
|
2650
|
+
id,
|
|
2651
|
+
type = "default",
|
|
2652
|
+
component = "static",
|
|
2653
|
+
children,
|
|
2654
|
+
className,
|
|
2655
|
+
locked = false,
|
|
2656
|
+
noPadding = false,
|
|
2657
|
+
paddedLeft = false,
|
|
2658
|
+
style,
|
|
2659
|
+
onClick,
|
|
2660
|
+
onRightClick,
|
|
2661
|
+
error,
|
|
2662
|
+
warning,
|
|
2663
|
+
center,
|
|
2664
|
+
width,
|
|
2665
|
+
minWidth,
|
|
2666
|
+
disabled,
|
|
2667
|
+
testid
|
|
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
|
+
]);
|
|
2668
2688
|
const Element = type === "header" ? "th" : "td";
|
|
2669
2689
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2670
2690
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2733,11 +2753,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2733
2753
|
);
|
|
2734
2754
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2735
2755
|
Element,
|
|
2736
|
-
{
|
|
2756
|
+
__spreadProps(__spreadValues({
|
|
2737
2757
|
id,
|
|
2738
2758
|
"data-testid": testid,
|
|
2739
2759
|
className: (0, import_clsx12.default)("flex h-10", !width && "flex-1"),
|
|
2740
|
-
style: { width, minWidth }
|
|
2760
|
+
style: { width, minWidth }
|
|
2761
|
+
}, props), {
|
|
2741
2762
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2742
2763
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2743
2764
|
"div",
|
|
@@ -2754,7 +2775,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2754
2775
|
children
|
|
2755
2776
|
}
|
|
2756
2777
|
)
|
|
2757
|
-
}
|
|
2778
|
+
})
|
|
2758
2779
|
);
|
|
2759
2780
|
}
|
|
2760
2781
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MobileDataGridHeader
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-3IAXYRUR.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-5NRKL5CJ.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2645,26 +2645,46 @@ 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
|
-
|
|
2648
|
+
(_a) => {
|
|
2649
|
+
var _b = _a, {
|
|
2650
|
+
id,
|
|
2651
|
+
type = "default",
|
|
2652
|
+
component = "static",
|
|
2653
|
+
children,
|
|
2654
|
+
className,
|
|
2655
|
+
locked = false,
|
|
2656
|
+
noPadding = false,
|
|
2657
|
+
paddedLeft = false,
|
|
2658
|
+
style,
|
|
2659
|
+
onClick,
|
|
2660
|
+
onRightClick,
|
|
2661
|
+
error,
|
|
2662
|
+
warning,
|
|
2663
|
+
center,
|
|
2664
|
+
width,
|
|
2665
|
+
minWidth,
|
|
2666
|
+
disabled,
|
|
2667
|
+
testid
|
|
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
|
+
]);
|
|
2668
2688
|
const Element = type === "header" ? "th" : "td";
|
|
2669
2689
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2670
2690
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2733,11 +2753,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2733
2753
|
);
|
|
2734
2754
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2735
2755
|
Element,
|
|
2736
|
-
{
|
|
2756
|
+
__spreadProps(__spreadValues({
|
|
2737
2757
|
id,
|
|
2738
2758
|
"data-testid": testid,
|
|
2739
2759
|
className: (0, import_clsx12.default)("flex h-10", !width && "flex-1"),
|
|
2740
|
-
style: { width, minWidth }
|
|
2760
|
+
style: { width, minWidth }
|
|
2761
|
+
}, props), {
|
|
2741
2762
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2742
2763
|
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
2743
2764
|
"div",
|
|
@@ -2754,7 +2775,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2754
2775
|
children
|
|
2755
2776
|
}
|
|
2756
2777
|
)
|
|
2757
|
-
}
|
|
2778
|
+
})
|
|
2758
2779
|
);
|
|
2759
2780
|
}
|
|
2760
2781
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MobileDataGrid
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-YYRFXTO7.js";
|
|
4
4
|
import "../../chunk-LFBTRFTS.js";
|
|
5
5
|
import "../../chunk-VABOQRYA.js";
|
|
6
6
|
import "../../chunk-M7INAUAJ.js";
|
|
@@ -38,7 +38,7 @@ import "../../chunk-3IAXYRUR.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-5NRKL5CJ.js";
|
|
42
42
|
import "../../chunk-OM7QLLI2.js";
|
|
43
43
|
import "../../chunk-PE3EZP56.js";
|
|
44
44
|
import "../../chunk-X3NDEFVA.js";
|
|
@@ -2248,26 +2248,46 @@ 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
|
-
|
|
2251
|
+
(_a) => {
|
|
2252
|
+
var _b = _a, {
|
|
2253
|
+
id,
|
|
2254
|
+
type = "default",
|
|
2255
|
+
component = "static",
|
|
2256
|
+
children,
|
|
2257
|
+
className,
|
|
2258
|
+
locked = false,
|
|
2259
|
+
noPadding = false,
|
|
2260
|
+
paddedLeft = false,
|
|
2261
|
+
style,
|
|
2262
|
+
onClick,
|
|
2263
|
+
onRightClick,
|
|
2264
|
+
error,
|
|
2265
|
+
warning,
|
|
2266
|
+
center,
|
|
2267
|
+
width,
|
|
2268
|
+
minWidth,
|
|
2269
|
+
disabled,
|
|
2270
|
+
testid
|
|
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
|
+
]);
|
|
2271
2291
|
const Element = type === "header" ? "th" : "td";
|
|
2272
2292
|
const timerRef = (0, import_react12.useRef)(null);
|
|
2273
2293
|
const [isGrabbing, setIsGrabbing] = (0, import_react12.useState)(false);
|
|
@@ -2336,11 +2356,12 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2336
2356
|
);
|
|
2337
2357
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2338
2358
|
Element,
|
|
2339
|
-
{
|
|
2359
|
+
__spreadProps(__spreadValues({
|
|
2340
2360
|
id,
|
|
2341
2361
|
"data-testid": testid,
|
|
2342
2362
|
className: (0, import_clsx9.default)("flex h-10", !width && "flex-1"),
|
|
2343
|
-
style: { width, minWidth }
|
|
2363
|
+
style: { width, minWidth }
|
|
2364
|
+
}, props), {
|
|
2344
2365
|
"data-theme": type === "header" && !locked ? "brand" : void 0,
|
|
2345
2366
|
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
2346
2367
|
"div",
|
|
@@ -2357,7 +2378,7 @@ var DataGridCell = (0, import_react12.memo)(
|
|
|
2357
2378
|
children
|
|
2358
2379
|
}
|
|
2359
2380
|
)
|
|
2360
|
-
}
|
|
2381
|
+
})
|
|
2361
2382
|
);
|
|
2362
2383
|
}
|
|
2363
2384
|
);
|
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-YYRFXTO7.js";
|
|
6
6
|
import "../chunk-LFBTRFTS.js";
|
|
7
7
|
import "../chunk-VABOQRYA.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-5NRKL5CJ.js";
|
|
75
75
|
import {
|
|
76
76
|
Menu
|
|
77
77
|
} from "../chunk-OM7QLLI2.js";
|