@dmsi/wedgekit-react 0.0.417 → 0.0.419

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 (43) hide show
  1. package/dist/{chunk-CAQWLY5V.js → chunk-CANJ2YPW.js} +1 -1
  2. package/dist/chunk-ESCNCQGI.js +9 -0
  3. package/dist/{chunk-NRNWEQD7.js → chunk-IFHMGICR.js} +1 -1
  4. package/dist/components/CalendarRange.cjs +28 -25
  5. package/dist/components/CalendarRange.js +5 -4
  6. package/dist/components/CompactImagesPreview.cjs +1 -1
  7. package/dist/components/CompactImagesPreview.js +1 -1
  8. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +5 -2
  9. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +5 -4
  10. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +12 -9
  11. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +5 -4
  12. package/dist/components/DataGrid/PinnedColumns.cjs +23 -20
  13. package/dist/components/DataGrid/PinnedColumns.js +5 -4
  14. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +8 -5
  15. package/dist/components/DataGrid/TableBody/LoadingCell.js +5 -4
  16. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +10 -7
  17. package/dist/components/DataGrid/TableBody/TableBodyRow.js +5 -4
  18. package/dist/components/DataGrid/TableBody/index.cjs +23 -20
  19. package/dist/components/DataGrid/TableBody/index.js +5 -4
  20. package/dist/components/DataGrid/index.cjs +83 -80
  21. package/dist/components/DataGrid/index.js +5 -4
  22. package/dist/components/DataGrid/utils.cjs +6 -3
  23. package/dist/components/DataGrid/utils.js +5 -4
  24. package/dist/components/DateInput.cjs +34 -31
  25. package/dist/components/DateInput.js +5 -4
  26. package/dist/components/DateRangeInput.cjs +34 -31
  27. package/dist/components/DateRangeInput.js +5 -4
  28. package/dist/components/ListGroup.cjs +1 -1
  29. package/dist/components/ListGroup.js +1 -1
  30. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +11 -8
  31. package/dist/components/MobileDataGrid/ColumnSelector/index.js +5 -4
  32. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +19 -16
  33. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +5 -4
  34. package/dist/components/MobileDataGrid/index.cjs +64 -61
  35. package/dist/components/MobileDataGrid/index.js +5 -4
  36. package/dist/components/SkeletonParagraph.js +3 -6
  37. package/dist/components/index.cjs +10 -2
  38. package/dist/components/index.js +8 -4
  39. package/package.json +1 -1
  40. package/src/components/CompactImagesPreview.tsx +1 -1
  41. package/src/components/ListGroup.tsx +1 -1
  42. package/src/components/index.ts +1 -0
  43. package/dist/{chunk-HYJIDHAK.js → chunk-TQIKP534.js} +3 -3
@@ -78,7 +78,7 @@ function CompactImagesPreview(props) {
78
78
  onClick: onMainImageClick
79
79
  }
80
80
  ),
81
- /* @__PURE__ */ jsx("div", { className: "flex flex-row flex-wrap items-center gap-3", children: sources.map((source, index) => /* @__PURE__ */ jsx(
81
+ /* @__PURE__ */ jsx("div", { className: "flex flex-row flex-wrap items-center gap-3", children: sources.slice(0, 4).map((source, index) => /* @__PURE__ */ jsx(
82
82
  "button",
83
83
  {
84
84
  onClick: (e) => {
@@ -0,0 +1,9 @@
1
+ // src/components/SkeletonParagraph.tsx
2
+ import { jsx } from "react/jsx-runtime";
3
+ function SkeletonParagraph() {
4
+ return /* @__PURE__ */ jsx("div", { className: "h-[24px] bg-gradient-to-r from-neutral-100 to-[#f7f7f7] w-full rounded-xs min-w-32 " });
5
+ }
6
+
7
+ export {
8
+ SkeletonParagraph
9
+ };
@@ -57,7 +57,7 @@ function ListGroup({
57
57
  ]
58
58
  }
59
59
  ),
60
- isOpen && /* @__PURE__ */ jsx(Stack, { sizing: "layout", paddingY: true, children })
60
+ isOpen && /* @__PURE__ */ jsx(Stack, { sizing: "layout", paddingTop: true, children })
61
61
  ] }) });
62
62
  }
63
63
 
@@ -4848,8 +4848,11 @@ var Pagination = ({
4848
4848
  };
4849
4849
  Pagination.displayName = "Pagination";
4850
4850
 
4851
- // src/components/CalendarRange.tsx
4851
+ // src/components/SkeletonParagraph.tsx
4852
4852
  var import_jsx_runtime60 = require("react/jsx-runtime");
4853
+
4854
+ // src/components/CalendarRange.tsx
4855
+ var import_jsx_runtime61 = require("react/jsx-runtime");
4853
4856
  function isWeekend(date) {
4854
4857
  return date.dayOfWeek === 6 || date.dayOfWeek === 7;
4855
4858
  }
@@ -4887,7 +4890,7 @@ function DateCell(_a) {
4887
4890
  "id",
4888
4891
  "testid"
4889
4892
  ]);
4890
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4893
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4891
4894
  "span",
4892
4895
  __spreadProps(__spreadValues({}, props), {
4893
4896
  id,
@@ -5041,7 +5044,7 @@ function CalendarRange({
5041
5044
  }
5042
5045
  return false;
5043
5046
  }
5044
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5047
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5045
5048
  "div",
5046
5049
  {
5047
5050
  id,
@@ -5054,7 +5057,7 @@ function CalendarRange({
5054
5057
  // baseTransition,
5055
5058
  "overflow-hidden"
5056
5059
  ),
5057
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5060
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5058
5061
  "div",
5059
5062
  {
5060
5063
  className: (0, import_clsx38.default)(
@@ -5062,7 +5065,7 @@ function CalendarRange({
5062
5065
  layoutGap
5063
5066
  ),
5064
5067
  children: (mode === "double" ? [0, 1] : [0]).map((offset, idx) => {
5065
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5068
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5066
5069
  CalendarPane,
5067
5070
  {
5068
5071
  getMonthData,
@@ -5127,13 +5130,13 @@ function CalendarPane({
5127
5130
  const month = getMonthData(offset);
5128
5131
  const totalCells = 42;
5129
5132
  const emptyCells = month.firstDayOffset;
5130
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react37.default.Fragment, { children: [
5131
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5133
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react37.default.Fragment, { children: [
5134
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5132
5135
  "div",
5133
5136
  {
5134
5137
  className: (0, import_clsx38.default)("flex flex-col"),
5135
5138
  children: [
5136
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5139
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5137
5140
  "div",
5138
5141
  {
5139
5142
  className: (0, import_clsx38.default)(
@@ -5142,7 +5145,7 @@ function CalendarPane({
5142
5145
  "text-text-action-primary-normal"
5143
5146
  ),
5144
5147
  children: [
5145
- idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5148
+ idx === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5146
5149
  "button",
5147
5150
  {
5148
5151
  id: id ? `${id}-prev-month-button` : void 0,
@@ -5154,11 +5157,11 @@ function CalendarPane({
5154
5157
  ),
5155
5158
  "aria-label": "Previous month",
5156
5159
  onClick: () => setBaseMonth(baseMonth.subtract({ months: 1 })),
5157
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "chevron_left", size: 24 })
5160
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "chevron_left", size: 24 })
5158
5161
  }
5159
- ) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "mr-1") }),
5160
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
5161
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5162
+ ) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "mr-1") }),
5163
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex gap-desktop-compact-component-padding", children: [
5164
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5162
5165
  "button",
5163
5166
  {
5164
5167
  ref: (el) => {
@@ -5173,13 +5176,13 @@ function CalendarPane({
5173
5176
  children: month.name
5174
5177
  }
5175
5178
  ),
5176
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5179
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5177
5180
  Menu,
5178
5181
  {
5179
5182
  show: monthMenuOpen,
5180
5183
  positionTo: monthMenuRef,
5181
5184
  setShow: () => setMonthMenuOpen(false),
5182
- children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5185
+ children: months.map((x) => [x, getMonthDataWith(x + 1)]).map(([x, m]) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5183
5186
  MenuOption,
5184
5187
  {
5185
5188
  selected: baseMonth.month === x + 1,
@@ -5193,7 +5196,7 @@ function CalendarPane({
5193
5196
  ))
5194
5197
  }
5195
5198
  ),
5196
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5199
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5197
5200
  "button",
5198
5201
  {
5199
5202
  ref: (el) => {
@@ -5208,13 +5211,13 @@ function CalendarPane({
5208
5211
  children: month.year
5209
5212
  }
5210
5213
  ),
5211
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5214
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5212
5215
  Menu,
5213
5216
  {
5214
5217
  show: yearMenuOpen,
5215
5218
  positionTo: yearMenuRef,
5216
5219
  setShow: () => setYearMenuOpen(false),
5217
- children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5220
+ children: years.map((y) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5218
5221
  MenuOption,
5219
5222
  {
5220
5223
  selected: baseMonth.year === y,
@@ -5229,7 +5232,7 @@ function CalendarPane({
5229
5232
  }
5230
5233
  )
5231
5234
  ] }),
5232
- (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5235
+ (mode === "double" ? idx === 1 : true) ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5233
5236
  "button",
5234
5237
  {
5235
5238
  id: id ? `${id}-next-month-button` : void 0,
@@ -5241,13 +5244,13 @@ function CalendarPane({
5241
5244
  ),
5242
5245
  "aria-label": "Next month",
5243
5246
  onClick: () => setBaseMonth(baseMonth.add({ months: 1 })),
5244
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "chevron_right", size: 24 })
5247
+ children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, { name: "chevron_right", size: 24 })
5245
5248
  }
5246
- ) : /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "ml-1") })
5249
+ ) : /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: (0, import_clsx38.default)(componentPadding, "ml-1") })
5247
5250
  ]
5248
5251
  }
5249
5252
  ),
5250
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5253
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: weekDays.map((d) => /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5251
5254
  "span",
5252
5255
  {
5253
5256
  className: (0, import_clsx38.default)(
@@ -5259,7 +5262,7 @@ function CalendarPane({
5259
5262
  },
5260
5263
  d
5261
5264
  )) }),
5262
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
5265
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: (0, import_clsx38.default)("grid grid-cols-7"), children: Array.from({ length: totalCells }).map((_, i) => {
5263
5266
  const day = i - emptyCells + 1;
5264
5267
  const date = month.date.with({ day: 1 }).add({
5265
5268
  days: i - emptyCells
@@ -5273,7 +5276,7 @@ function CalendarPane({
5273
5276
  const hoverDateIsAfterPendingFrom = hoveredDate && pendingFrom && import_polyfill.Temporal.PlainDate.compare(hoveredDate, pendingFrom) >= 0;
5274
5277
  const isRangeStart = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && fromDate && date.equals(fromDate) || hoverDateIsAfterPendingFrom && date.equals(pendingFrom);
5275
5278
  const isRangeEnd = mode === "single" && disableRange ? false : !pendingFrom && isInMonth && toDate && date.equals(toDate) || hoverDateIsBeforePendingFrom && date.equals(pendingFrom);
5276
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5279
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5277
5280
  DateCell,
5278
5281
  {
5279
5282
  id: id ? `${id}-date-${date.toString()}` : void 0,
@@ -5298,7 +5301,7 @@ function CalendarPane({
5298
5301
  ]
5299
5302
  }
5300
5303
  ),
5301
- mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5304
+ mode === "double" && idx === 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5302
5305
  "div",
5303
5306
  {
5304
5307
  className: (0, import_clsx38.default)(
@@ -3,10 +3,10 @@ import {
3
3
  CalendarRange_default,
4
4
  isWeekend
5
5
  } from "../chunk-UOHCOOC2.js";
6
- import "../chunk-HYJIDHAK.js";
7
- import "../chunk-M7INAUAJ.js";
6
+ import "../chunk-TQIKP534.js";
8
7
  import "../chunk-7AXHAWJX.js";
9
8
  import "../chunk-P3MIP2FD.js";
9
+ import "../chunk-M7INAUAJ.js";
10
10
  import "../chunk-3HBYDOYE.js";
11
11
  import "../chunk-IMOIZFJZ.js";
12
12
  import "../chunk-MBZ55T2D.js";
@@ -26,6 +26,7 @@ import "../chunk-VJVY6NPF.js";
26
26
  import "../chunk-EWGHVZL5.js";
27
27
  import "../chunk-DCLNAUC4.js";
28
28
  import "../chunk-PQWWVBSR.js";
29
+ import "../chunk-ESCNCQGI.js";
29
30
  import "../chunk-AT4AWD6B.js";
30
31
  import "../chunk-J5V2JRIK.js";
31
32
  import "../chunk-TYAQWVIM.js";
@@ -35,13 +36,13 @@ import "../chunk-AG43RS4Q.js";
35
36
  import "../chunk-XM7IQHBU.js";
36
37
  import "../chunk-FRHPFACM.js";
37
38
  import "../chunk-T36HX6QY.js";
38
- import "../chunk-NRNWEQD7.js";
39
+ import "../chunk-IFHMGICR.js";
39
40
  import "../chunk-SBRRNFOP.js";
40
41
  import "../chunk-Y2GK27RX.js";
41
42
  import "../chunk-EU73QPW7.js";
42
43
  import "../chunk-QVWYTQKL.js";
43
44
  import "../chunk-NO5BIKWS.js";
44
- import "../chunk-CAQWLY5V.js";
45
+ import "../chunk-CANJ2YPW.js";
45
46
  import "../chunk-V47RTW7E.js";
46
47
  import "../chunk-22VBZWJG.js";
47
48
  import "../chunk-NVOZAVEX.js";
@@ -515,7 +515,7 @@ function CompactImagesPreview(props) {
515
515
  onClick: onMainImageClick
516
516
  }
517
517
  ),
518
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex flex-row flex-wrap items-center gap-3", children: sources.map((source, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
518
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "flex flex-row flex-wrap items-center gap-3", children: sources.slice(0, 4).map((source, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
519
519
  "button",
520
520
  {
521
521
  onClick: (e) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CompactImagesPreview
3
- } from "../chunk-CAQWLY5V.js";
3
+ } from "../chunk-CANJ2YPW.js";
4
4
  import "../chunk-MYKYZHEO.js";
5
5
  import "../chunk-VXWSAIB5.js";
6
6
  import "../chunk-TYTD4FLW.js";
@@ -4814,8 +4814,11 @@ var Pagination = ({
4814
4814
  };
4815
4815
  Pagination.displayName = "Pagination";
4816
4816
 
4817
- // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4817
+ // src/components/SkeletonParagraph.tsx
4818
4818
  var import_jsx_runtime59 = require("react/jsx-runtime");
4819
+
4820
+ // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4821
+ var import_jsx_runtime60 = require("react/jsx-runtime");
4819
4822
  function ColumnSelectorMenuOption({
4820
4823
  id,
4821
4824
  testid,
@@ -4824,7 +4827,7 @@ function ColumnSelectorMenuOption({
4824
4827
  }) {
4825
4828
  const [isVisible, setIsVisible] = (0, import_react36.useState)(column.getIsVisible());
4826
4829
  const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
4827
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4830
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4828
4831
  Checkbox,
4829
4832
  {
4830
4833
  id: id ? `${id}-checkbox` : void 0,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ColumnSelectorMenuOption
3
- } from "../../../chunk-HYJIDHAK.js";
4
- import "../../../chunk-M7INAUAJ.js";
3
+ } from "../../../chunk-TQIKP534.js";
5
4
  import "../../../chunk-7AXHAWJX.js";
6
5
  import "../../../chunk-P3MIP2FD.js";
6
+ import "../../../chunk-M7INAUAJ.js";
7
7
  import "../../../chunk-3HBYDOYE.js";
8
8
  import "../../../chunk-IMOIZFJZ.js";
9
9
  import "../../../chunk-MBZ55T2D.js";
@@ -23,6 +23,7 @@ import "../../../chunk-VJVY6NPF.js";
23
23
  import "../../../chunk-EWGHVZL5.js";
24
24
  import "../../../chunk-DCLNAUC4.js";
25
25
  import "../../../chunk-PQWWVBSR.js";
26
+ import "../../../chunk-ESCNCQGI.js";
26
27
  import "../../../chunk-AT4AWD6B.js";
27
28
  import "../../../chunk-J5V2JRIK.js";
28
29
  import "../../../chunk-TYAQWVIM.js";
@@ -32,13 +33,13 @@ import "../../../chunk-AG43RS4Q.js";
32
33
  import "../../../chunk-XM7IQHBU.js";
33
34
  import "../../../chunk-FRHPFACM.js";
34
35
  import "../../../chunk-T36HX6QY.js";
35
- import "../../../chunk-NRNWEQD7.js";
36
+ import "../../../chunk-IFHMGICR.js";
36
37
  import "../../../chunk-SBRRNFOP.js";
37
38
  import "../../../chunk-Y2GK27RX.js";
38
39
  import "../../../chunk-EU73QPW7.js";
39
40
  import "../../../chunk-QVWYTQKL.js";
40
41
  import "../../../chunk-NO5BIKWS.js";
41
- import "../../../chunk-CAQWLY5V.js";
42
+ import "../../../chunk-CANJ2YPW.js";
42
43
  import "../../../chunk-V47RTW7E.js";
43
44
  import "../../../chunk-22VBZWJG.js";
44
45
  import "../../../chunk-NVOZAVEX.js";
@@ -4736,9 +4736,12 @@ var Pagination = ({
4736
4736
  };
4737
4737
  Pagination.displayName = "Pagination";
4738
4738
 
4739
+ // src/components/SkeletonParagraph.tsx
4740
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4741
+
4739
4742
  // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4740
4743
  var import_react35 = require("react");
4741
- var import_jsx_runtime58 = require("react/jsx-runtime");
4744
+ var import_jsx_runtime59 = require("react/jsx-runtime");
4742
4745
  function ColumnSelectorMenuOption({
4743
4746
  id,
4744
4747
  testid,
@@ -4747,7 +4750,7 @@ function ColumnSelectorMenuOption({
4747
4750
  }) {
4748
4751
  const [isVisible, setIsVisible] = (0, import_react35.useState)(column.getIsVisible());
4749
4752
  const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
4750
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4753
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4751
4754
  Checkbox,
4752
4755
  {
4753
4756
  id: id ? `${id}-checkbox` : void 0,
@@ -4763,7 +4766,7 @@ function ColumnSelectorMenuOption({
4763
4766
  }
4764
4767
 
4765
4768
  // src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
4766
- var import_jsx_runtime59 = require("react/jsx-runtime");
4769
+ var import_jsx_runtime60 = require("react/jsx-runtime");
4767
4770
  function ColumnSelectorHeaderCell({
4768
4771
  id,
4769
4772
  testid,
@@ -4773,7 +4776,7 @@ function ColumnSelectorHeaderCell({
4773
4776
  }) {
4774
4777
  const ref = (0, import_react36.useRef)(null);
4775
4778
  const [show, setShow] = (0, import_react36.useState)(false);
4776
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4779
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4777
4780
  DataGridCell,
4778
4781
  {
4779
4782
  id,
@@ -4783,7 +4786,7 @@ function ColumnSelectorHeaderCell({
4783
4786
  color: "text-secondary-normal",
4784
4787
  ref,
4785
4788
  children: [
4786
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4789
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4787
4790
  Button,
4788
4791
  {
4789
4792
  id: id ? `${id}-button` : void 0,
@@ -4791,10 +4794,10 @@ function ColumnSelectorHeaderCell({
4791
4794
  onClick: () => setShow((prev) => !prev),
4792
4795
  variant: "navigation",
4793
4796
  iconOnly: true,
4794
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: "tune" })
4797
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon, { name: "tune" })
4795
4798
  }
4796
4799
  ),
4797
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4800
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4798
4801
  Menu,
4799
4802
  {
4800
4803
  id: id ? `${id}-menu` : void 0,
@@ -4805,7 +4808,7 @@ function ColumnSelectorHeaderCell({
4805
4808
  setShow,
4806
4809
  calculateMinMaxHeight: true,
4807
4810
  children: [
4808
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4811
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4809
4812
  Button,
4810
4813
  {
4811
4814
  id: id ? `${id}-reset-button` : void 0,
@@ -4821,7 +4824,7 @@ function ColumnSelectorHeaderCell({
4821
4824
  table.getAllColumns().filter((x) => {
4822
4825
  var _a;
4823
4826
  return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
4824
- }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4827
+ }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4825
4828
  ColumnSelectorMenuOption,
4826
4829
  {
4827
4830
  id: id ? `${id}-option-${column.id}` : void 0,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ColumnSelectorHeaderCell
3
- } from "../../../chunk-HYJIDHAK.js";
4
- import "../../../chunk-M7INAUAJ.js";
3
+ } from "../../../chunk-TQIKP534.js";
5
4
  import "../../../chunk-7AXHAWJX.js";
6
5
  import "../../../chunk-P3MIP2FD.js";
6
+ import "../../../chunk-M7INAUAJ.js";
7
7
  import "../../../chunk-3HBYDOYE.js";
8
8
  import "../../../chunk-IMOIZFJZ.js";
9
9
  import "../../../chunk-MBZ55T2D.js";
@@ -23,6 +23,7 @@ import "../../../chunk-VJVY6NPF.js";
23
23
  import "../../../chunk-EWGHVZL5.js";
24
24
  import "../../../chunk-DCLNAUC4.js";
25
25
  import "../../../chunk-PQWWVBSR.js";
26
+ import "../../../chunk-ESCNCQGI.js";
26
27
  import "../../../chunk-AT4AWD6B.js";
27
28
  import "../../../chunk-J5V2JRIK.js";
28
29
  import "../../../chunk-TYAQWVIM.js";
@@ -32,13 +33,13 @@ import "../../../chunk-AG43RS4Q.js";
32
33
  import "../../../chunk-XM7IQHBU.js";
33
34
  import "../../../chunk-FRHPFACM.js";
34
35
  import "../../../chunk-T36HX6QY.js";
35
- import "../../../chunk-NRNWEQD7.js";
36
+ import "../../../chunk-IFHMGICR.js";
36
37
  import "../../../chunk-SBRRNFOP.js";
37
38
  import "../../../chunk-Y2GK27RX.js";
38
39
  import "../../../chunk-EU73QPW7.js";
39
40
  import "../../../chunk-QVWYTQKL.js";
40
41
  import "../../../chunk-NO5BIKWS.js";
41
- import "../../../chunk-CAQWLY5V.js";
42
+ import "../../../chunk-CANJ2YPW.js";
42
43
  import "../../../chunk-V47RTW7E.js";
43
44
  import "../../../chunk-22VBZWJG.js";
44
45
  import "../../../chunk-NVOZAVEX.js";
@@ -4589,6 +4589,9 @@ var Pagination = ({
4589
4589
  };
4590
4590
  Pagination.displayName = "Pagination";
4591
4591
 
4592
+ // src/components/SkeletonParagraph.tsx
4593
+ var import_jsx_runtime57 = require("react/jsx-runtime");
4594
+
4592
4595
  // src/components/DataGrid/PinnedColumns.tsx
4593
4596
  var import_clsx37 = __toESM(require("clsx"), 1);
4594
4597
  var import_react36 = __toESM(require("react"), 1);
@@ -4598,7 +4601,7 @@ var import_react35 = require("react");
4598
4601
 
4599
4602
  // src/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.tsx
4600
4603
  var import_react34 = require("react");
4601
- var import_jsx_runtime57 = require("react/jsx-runtime");
4604
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4602
4605
  function ColumnSelectorMenuOption({
4603
4606
  id,
4604
4607
  testid,
@@ -4607,7 +4610,7 @@ function ColumnSelectorMenuOption({
4607
4610
  }) {
4608
4611
  const [isVisible, setIsVisible] = (0, import_react34.useState)(column.getIsVisible());
4609
4612
  const label = typeof column.columnDef.header === "string" ? column.columnDef.header : null;
4610
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4613
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(MenuOption, { id, testid, defaultChecked: isVisible, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4611
4614
  Checkbox,
4612
4615
  {
4613
4616
  id: id ? `${id}-checkbox` : void 0,
@@ -4623,7 +4626,7 @@ function ColumnSelectorMenuOption({
4623
4626
  }
4624
4627
 
4625
4628
  // src/components/DataGrid/ColumnSelectorHeaderCell/index.tsx
4626
- var import_jsx_runtime58 = require("react/jsx-runtime");
4629
+ var import_jsx_runtime59 = require("react/jsx-runtime");
4627
4630
  function ColumnSelectorHeaderCell({
4628
4631
  id,
4629
4632
  testid,
@@ -4633,7 +4636,7 @@ function ColumnSelectorHeaderCell({
4633
4636
  }) {
4634
4637
  const ref = (0, import_react35.useRef)(null);
4635
4638
  const [show, setShow] = (0, import_react35.useState)(false);
4636
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4639
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4637
4640
  DataGridCell,
4638
4641
  {
4639
4642
  id,
@@ -4643,7 +4646,7 @@ function ColumnSelectorHeaderCell({
4643
4646
  color: "text-secondary-normal",
4644
4647
  ref,
4645
4648
  children: [
4646
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4649
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4647
4650
  Button,
4648
4651
  {
4649
4652
  id: id ? `${id}-button` : void 0,
@@ -4651,10 +4654,10 @@ function ColumnSelectorHeaderCell({
4651
4654
  onClick: () => setShow((prev) => !prev),
4652
4655
  variant: "navigation",
4653
4656
  iconOnly: true,
4654
- leftIcon: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "tune" })
4657
+ leftIcon: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon, { name: "tune" })
4655
4658
  }
4656
4659
  ),
4657
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4660
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4658
4661
  Menu,
4659
4662
  {
4660
4663
  id: id ? `${id}-menu` : void 0,
@@ -4665,7 +4668,7 @@ function ColumnSelectorHeaderCell({
4665
4668
  setShow,
4666
4669
  calculateMinMaxHeight: true,
4667
4670
  children: [
4668
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4671
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4669
4672
  Button,
4670
4673
  {
4671
4674
  id: id ? `${id}-reset-button` : void 0,
@@ -4681,7 +4684,7 @@ function ColumnSelectorHeaderCell({
4681
4684
  table.getAllColumns().filter((x) => {
4682
4685
  var _a;
4683
4686
  return (_a = x.columnDef.meta) == null ? void 0 : _a.inVisibilityMenu;
4684
- }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4687
+ }).map((column) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4685
4688
  ColumnSelectorMenuOption,
4686
4689
  {
4687
4690
  id: id ? `${id}-option-${column.id}` : void 0,
@@ -4700,7 +4703,7 @@ function ColumnSelectorHeaderCell({
4700
4703
  }
4701
4704
 
4702
4705
  // src/components/DataGrid/PinnedColumns.tsx
4703
- var import_jsx_runtime59 = require("react/jsx-runtime");
4706
+ var import_jsx_runtime60 = require("react/jsx-runtime");
4704
4707
  function PinnedColumns(_a) {
4705
4708
  var _b = _a, {
4706
4709
  id,
@@ -4732,7 +4735,7 @@ function PinnedColumns(_a) {
4732
4735
  const pinnedTestId = testid ? `${pinDirection}-pinned-${testid}` : void 0;
4733
4736
  const hasAnyHeaders = ((_a2 = headerGroups[0]) == null ? void 0 : _a2.headers.length) > 0;
4734
4737
  if (!hasAnyHeaders && !enableColumnSelector) return;
4735
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4738
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4736
4739
  "table",
4737
4740
  {
4738
4741
  className: (0, import_clsx37.default)(
@@ -4741,8 +4744,8 @@ function PinnedColumns(_a) {
4741
4744
  ),
4742
4745
  "data-testid": pinnedTestId,
4743
4746
  children: [
4744
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
4745
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4747
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("thead", { className: "sticky top-0 z-20 grid", children: headerGroups.map((headerGroup) => {
4748
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4746
4749
  "tr",
4747
4750
  {
4748
4751
  "data-testid": pinnedTestId ? `${pinnedTestId}-header-row-${headerGroup.id}` : void 0,
@@ -4755,7 +4758,7 @@ function PinnedColumns(_a) {
4755
4758
  }
4756
4759
  if (typeof header.column.columnDef.header === "string") {
4757
4760
  const customHeaderWidth = (_a3 = header.column.columnDef.meta) == null ? void 0 : _a3.headerWidth;
4758
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4761
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4759
4762
  DataCellHeader,
4760
4763
  {
4761
4764
  locked: true,
@@ -4768,11 +4771,11 @@ function PinnedColumns(_a) {
4768
4771
  "group"
4769
4772
  ),
4770
4773
  children: [
4771
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
4774
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Subheader, { tall: true, children: header.column.columnDef.header }),
4772
4775
  getSortIcon(header.column.getIsSorted()),
4773
4776
  !header.column.getIsSorted() && header.column.getCanSort() && getSortIcon(header.column.getNextSortingOrder(), true),
4774
- header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
4775
- !((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4777
+ header.column.getSortIndex() !== -1 && table.getState().sorting.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Subheader, { tall: true, children: header.column.getSortIndex() + 1 }),
4778
+ !((_b2 = header.column.columnDef.meta) == null ? void 0 : _b2.locked) && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4776
4779
  "div",
4777
4780
  {
4778
4781
  onDoubleClick: (e) => {
@@ -4795,7 +4798,7 @@ function PinnedColumns(_a) {
4795
4798
  header.id
4796
4799
  );
4797
4800
  }
4798
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react36.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4801
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react36.default.Fragment, { children: ((_c = header.column.columnDef.meta) == null ? void 0 : _c.checkbox) ? /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DataGridCell, { type: "header", component: "checkbox", locked: true, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4799
4802
  Checkbox,
4800
4803
  {
4801
4804
  checked: allSelectedAcrossPages,
@@ -4807,7 +4810,7 @@ function PinnedColumns(_a) {
4807
4810
  header.getContext()
4808
4811
  ) }, header.id);
4809
4812
  }),
4810
- enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4813
+ enableColumnSelector && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4811
4814
  ColumnSelectorHeaderCell,
4812
4815
  {
4813
4816
  id: id ? `${id}-column-selector` : void 0,
@@ -4824,7 +4827,7 @@ function PinnedColumns(_a) {
4824
4827
  headerGroup.id
4825
4828
  );
4826
4829
  }) }),
4827
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4830
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4828
4831
  TableBody,
4829
4832
  __spreadProps(__spreadValues({
4830
4833
  testid: pinnedTestId
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PinnedColumns
3
- } from "../../chunk-HYJIDHAK.js";
4
- import "../../chunk-M7INAUAJ.js";
3
+ } from "../../chunk-TQIKP534.js";
5
4
  import "../../chunk-7AXHAWJX.js";
6
5
  import "../../chunk-P3MIP2FD.js";
6
+ import "../../chunk-M7INAUAJ.js";
7
7
  import "../../chunk-3HBYDOYE.js";
8
8
  import "../../chunk-IMOIZFJZ.js";
9
9
  import "../../chunk-MBZ55T2D.js";
@@ -23,6 +23,7 @@ import "../../chunk-VJVY6NPF.js";
23
23
  import "../../chunk-EWGHVZL5.js";
24
24
  import "../../chunk-DCLNAUC4.js";
25
25
  import "../../chunk-PQWWVBSR.js";
26
+ import "../../chunk-ESCNCQGI.js";
26
27
  import "../../chunk-AT4AWD6B.js";
27
28
  import "../../chunk-J5V2JRIK.js";
28
29
  import "../../chunk-TYAQWVIM.js";
@@ -32,13 +33,13 @@ import "../../chunk-AG43RS4Q.js";
32
33
  import "../../chunk-XM7IQHBU.js";
33
34
  import "../../chunk-FRHPFACM.js";
34
35
  import "../../chunk-T36HX6QY.js";
35
- import "../../chunk-NRNWEQD7.js";
36
+ import "../../chunk-IFHMGICR.js";
36
37
  import "../../chunk-SBRRNFOP.js";
37
38
  import "../../chunk-Y2GK27RX.js";
38
39
  import "../../chunk-EU73QPW7.js";
39
40
  import "../../chunk-QVWYTQKL.js";
40
41
  import "../../chunk-NO5BIKWS.js";
41
- import "../../chunk-CAQWLY5V.js";
42
+ import "../../chunk-CANJ2YPW.js";
42
43
  import "../../chunk-V47RTW7E.js";
43
44
  import "../../chunk-22VBZWJG.js";
44
45
  import "../../chunk-NVOZAVEX.js";