@dmsi/wedgekit-react 0.0.886 → 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.
Files changed (39) hide show
  1. package/dist/{chunk-5NRKL5CJ.js → chunk-JKCNHKVV.js} +23 -44
  2. package/dist/{chunk-ZXP2GIWZ.js → chunk-KVPAYT4Z.js} +4 -4
  3. package/dist/components/CalendarRange.cjs +23 -44
  4. package/dist/components/CalendarRange.js +4 -4
  5. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +23 -44
  6. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +4 -4
  7. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +23 -44
  8. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +4 -4
  9. package/dist/components/DataGrid/PinnedColumns.cjs +23 -44
  10. package/dist/components/DataGrid/PinnedColumns.js +4 -4
  11. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +23 -44
  12. package/dist/components/DataGrid/TableBody/LoadingCell.js +4 -4
  13. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +23 -44
  14. package/dist/components/DataGrid/TableBody/TableBodyRow.js +4 -4
  15. package/dist/components/DataGrid/TableBody/index.cjs +23 -44
  16. package/dist/components/DataGrid/TableBody/index.js +4 -4
  17. package/dist/components/DataGrid/index.cjs +23 -44
  18. package/dist/components/DataGrid/index.js +4 -4
  19. package/dist/components/DataGrid/utils.cjs +23 -44
  20. package/dist/components/DataGrid/utils.js +4 -4
  21. package/dist/components/DataGridCell.cjs +23 -44
  22. package/dist/components/DataGridCell.js +1 -1
  23. package/dist/components/DateInput.cjs +23 -44
  24. package/dist/components/DateInput.js +4 -4
  25. package/dist/components/DateRangeInput.cjs +23 -44
  26. package/dist/components/DateRangeInput.js +4 -4
  27. package/dist/components/MobileDataGrid/ColumnList.js +1 -1
  28. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +23 -44
  29. package/dist/components/MobileDataGrid/ColumnSelector/index.js +4 -4
  30. package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
  31. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +23 -44
  32. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +4 -4
  33. package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
  34. package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +1 -1
  35. package/dist/components/MobileDataGrid/index.cjs +23 -44
  36. package/dist/components/MobileDataGrid/index.js +4 -4
  37. package/dist/components/index.cjs +23 -44
  38. package/dist/components/index.js +4 -4
  39. package/package.json +1 -1
@@ -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
- (_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
- ]);
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
- __spreadProps(__spreadValues({
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,9 +1,9 @@
1
1
  import {
2
2
  MobileDataGrid
3
- } from "../../chunk-ZXP2GIWZ.js";
4
- import "../../chunk-M7INAUAJ.js";
3
+ } from "../../chunk-KVPAYT4Z.js";
5
4
  import "../../chunk-4DPSNQCM.js";
6
5
  import "../../chunk-Q4YDNW7N.js";
6
+ import "../../chunk-M7INAUAJ.js";
7
7
  import "../../chunk-KOKA2IJC.js";
8
8
  import "../../chunk-MBZ55T2D.js";
9
9
  import "../../chunk-2IKT6IHB.js";
@@ -15,8 +15,8 @@ import "../../chunk-3N34VVYD.js";
15
15
  import "../../chunk-B4AE3DCA.js";
16
16
  import "../../chunk-FP3Y5JJN.js";
17
17
  import "../../chunk-5IFPG6TS.js";
18
- import "../../chunk-AJ5M6MVX.js";
19
18
  import "../../chunk-6EYMKEJ6.js";
19
+ import "../../chunk-AJ5M6MVX.js";
20
20
  import "../../chunk-YV5FS7NV.js";
21
21
  import "../../chunk-Z2HPSFEQ.js";
22
22
  import "../../chunk-AT4AWD6B.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-5NRKL5CJ.js";
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
- (_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
- ]);
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
- __spreadProps(__spreadValues({
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
  );
@@ -2,10 +2,10 @@ import {
2
2
  DataGrid,
3
3
  DateInput,
4
4
  MobileDataGrid
5
- } from "../chunk-ZXP2GIWZ.js";
6
- import "../chunk-M7INAUAJ.js";
5
+ } from "../chunk-KVPAYT4Z.js";
7
6
  import "../chunk-4DPSNQCM.js";
8
7
  import "../chunk-Q4YDNW7N.js";
8
+ import "../chunk-M7INAUAJ.js";
9
9
  import {
10
10
  ProductImagePreview
11
11
  } from "../chunk-KOKA2IJC.js";
@@ -25,8 +25,8 @@ import "../chunk-FP3Y5JJN.js";
25
25
  import {
26
26
  useGridContext
27
27
  } from "../chunk-5IFPG6TS.js";
28
- import "../chunk-AJ5M6MVX.js";
29
28
  import "../chunk-6EYMKEJ6.js";
29
+ import "../chunk-AJ5M6MVX.js";
30
30
  import "../chunk-YV5FS7NV.js";
31
31
  import "../chunk-Z2HPSFEQ.js";
32
32
  import "../chunk-AT4AWD6B.js";
@@ -71,7 +71,7 @@ import {
71
71
  DataGridCell,
72
72
  DragAlongCell,
73
73
  DraggableCellHeader
74
- } from "../chunk-5NRKL5CJ.js";
74
+ } from "../chunk-JKCNHKVV.js";
75
75
  import {
76
76
  Menu
77
77
  } from "../chunk-OM7QLLI2.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.886",
4
+ "version": "0.0.888",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",