impact-ui 4.0.2 → 4.0.3

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 (93) hide show
  1. package/dist/_virtual/index2.js +2 -2
  2. package/dist/_virtual/index3.js +4 -2
  3. package/dist/_virtual/index4.js +3 -3
  4. package/dist/_virtual/index5.js +2 -4
  5. package/dist/components/AccordionModern/index.js +1 -1
  6. package/dist/components/Badge/index.js +1 -1
  7. package/dist/components/BottomSheet/index.d.ts +1 -1
  8. package/dist/components/BottomSheet/index.d.ts.map +1 -1
  9. package/dist/components/BottomSheet/index.js +7 -1
  10. package/dist/components/Breadcrumbs/index.js +1 -1
  11. package/dist/components/Button/index.js +1 -1
  12. package/dist/components/ButtonGroup/index.js +1 -1
  13. package/dist/components/Chart/ChartSkeleton.d.ts +23 -0
  14. package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -0
  15. package/dist/components/Chart/ChartSkeleton.js +171 -0
  16. package/dist/components/Chart/index.d.ts +4 -1
  17. package/dist/components/Chart/index.d.ts.map +1 -1
  18. package/dist/components/Chart/index.js +15 -3
  19. package/dist/components/Chatbot/index.js +1 -1
  20. package/dist/components/Chips/index.js +1 -1
  21. package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
  22. package/dist/components/DatePicker/index.js +1 -1
  23. package/dist/components/DateRangePicker/index.js +1 -1
  24. package/dist/components/FileUpload/index.js +1 -1
  25. package/dist/components/FilterPanel/index.js +1 -1
  26. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  27. package/dist/components/FiltersStrip/index.js +1 -1
  28. package/dist/components/Input/index.js +1 -1
  29. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  30. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  31. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  32. package/dist/components/KeyboardShortCuts/index.js +1 -1
  33. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  34. package/dist/components/Loader/Loader.types.d.ts +3 -3
  35. package/dist/components/Loader/Loader.types.d.ts.map +1 -1
  36. package/dist/components/Loader/index.d.ts.map +1 -1
  37. package/dist/components/Loader/index.js +4 -2
  38. package/dist/components/Menu/IconMenuItem.js +1 -1
  39. package/dist/components/Menu/NestedMenuItem.js +1 -1
  40. package/dist/components/Menu/index.js +1 -1
  41. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  42. package/dist/components/Modal/index.js +1 -1
  43. package/dist/components/MonthPicker/index.js +1 -1
  44. package/dist/components/MonthRangePicker/index.js +1 -1
  45. package/dist/components/Panel/index.js +1 -1
  46. package/dist/components/Popover/index.js +1 -1
  47. package/dist/components/Prompt/index.js +1 -1
  48. package/dist/components/Select/index.d.ts.map +1 -1
  49. package/dist/components/Select/index.js +2 -2
  50. package/dist/components/Skeleton/Skeleton.types.d.ts +39 -0
  51. package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -0
  52. package/dist/components/Skeleton/index.d.ts +13 -0
  53. package/dist/components/Skeleton/index.d.ts.map +1 -0
  54. package/dist/components/Skeleton/index.js +94 -0
  55. package/dist/components/Stepper/index.js +1 -1
  56. package/dist/components/Table/AdvanceSearchModalItem.js +1 -1
  57. package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
  58. package/dist/components/Table/AgGridHeader.js +33 -24
  59. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +1 -1
  60. package/dist/components/Table/index.js +1 -1
  61. package/dist/components/TableChat/EmptyContainer.js +1 -1
  62. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  63. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  64. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  65. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
  66. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  67. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  68. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
  69. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
  70. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  71. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  72. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
  73. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  74. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  75. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  76. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
  77. package/dist/components/TableOld/AgGridHeader.js +15 -13
  78. package/dist/components/TableOld/index.js +1 -1
  79. package/dist/components/Tag/index.js +1 -1
  80. package/dist/components/TextArea/index.js +1 -1
  81. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  82. package/dist/components/common/MentionEditor/index.js +1 -1
  83. package/dist/components/index.d.ts +2 -0
  84. package/dist/components/index.d.ts.map +1 -1
  85. package/dist/components/index.js +3 -0
  86. package/dist/mcp-component-registry.json +1 -1
  87. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  88. package/dist/node_modules/prop-types/index.js +1 -1
  89. package/dist/node_modules/react-is/index.js +1 -1
  90. package/dist/styles/style.css +1 -1
  91. package/dist/utils/helper.d.ts +1 -0
  92. package/dist/utils/helper.d.ts.map +1 -1
  93. package/package.json +1 -1
@@ -24,7 +24,7 @@ function AgGridHeader({
24
24
  enableHeaderTextWrap = true,
25
25
  ...rest
26
26
  }) {
27
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P;
27
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R;
28
28
  const { t } = useTranslation();
29
29
  const menuRef = useRef();
30
30
  useRef();
@@ -341,9 +341,10 @@ function AgGridHeader({
341
341
  /* @__PURE__ */ jsx(
342
342
  Input,
343
343
  {
344
+ inputProps: ((_w = (_v = rest.column) == null ? void 0 : _v.colDef) == null ? void 0 : _w.inputProps) ?? {},
344
345
  placeholder: t("common.search"),
345
346
  rightIcon: /* @__PURE__ */ jsxs(Fragment, { children: [
346
- searchText.toString().length > 0 && (columnWidth[(_v = rest.column) == null ? void 0 : _v.colId] ?? ((_w = rest.column) == null ? void 0 : _w.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
347
+ (searchText ?? "").toString().length > 0 && (columnWidth[(_x = rest.column) == null ? void 0 : _x.colId] ?? ((_y = rest.column) == null ? void 0 : _y.actualWidth)) >= 200 && /* @__PURE__ */ jsx(
347
348
  default_1$1,
348
349
  {
349
350
  onClick: () => {
@@ -354,7 +355,7 @@ function AgGridHeader({
354
355
  }
355
356
  }
356
357
  ),
357
- ((_y = (_x = rest.column) == null ? void 0 : _x.colDef) == null ? void 0 : _y.advanceSearchEnabled) && /* @__PURE__ */ jsx(
358
+ ((_A = (_z = rest.column) == null ? void 0 : _z.colDef) == null ? void 0 : _A.advanceSearchEnabled) && /* @__PURE__ */ jsx(
358
359
  default_1,
359
360
  {
360
361
  onClick: () => {
@@ -372,9 +373,10 @@ function AgGridHeader({
372
373
  setIsInputFocused(false);
373
374
  },
374
375
  onChange: (e) => {
375
- setSearchText(e.target.value);
376
- setHasActiveSearch(!!e.target.value);
377
- debouncedHandleSearchChange(e.target.value);
376
+ const nextValue = e.target.value;
377
+ setSearchText(nextValue);
378
+ setHasActiveSearch(!!nextValue);
379
+ debouncedHandleSearchChange(nextValue);
378
380
  },
379
381
  onFocus: () => {
380
382
  setIsInputFocused(true);
@@ -398,9 +400,9 @@ function AgGridHeader({
398
400
  /* @__PURE__ */ jsxs(
399
401
  "div",
400
402
  {
401
- className: `ag-header-cell-text ${((_A = (_z = rest.column) == null ? void 0 : _z.colDef) == null ? void 0 : _A.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
403
+ className: `ag-header-cell-text ${((_C = (_B = rest.column) == null ? void 0 : _B.colDef) == null ? void 0 : _C.sortable) ? "sortable" : ""} ${enableHeaderTextWrap ? "header-wrap-enabled" : ""}`,
402
404
  children: [
403
- ((_C = (_B = rest.column) == null ? void 0 : _B.colDef) == null ? void 0 : _C.field) === "Selection" || ((_E = (_D = rest.column) == null ? void 0 : _D.colDef) == null ? void 0 : _E.checkboxSelection) ? children : /* @__PURE__ */ jsx(
405
+ ((_E = (_D = rest.column) == null ? void 0 : _D.colDef) == null ? void 0 : _E.field) === "Selection" || ((_G = (_F = rest.column) == null ? void 0 : _F.colDef) == null ? void 0 : _G.checkboxSelection) ? children : /* @__PURE__ */ jsx(
404
406
  "div",
405
407
  {
406
408
  ref: headerTextRef,
@@ -423,8 +425,8 @@ function AgGridHeader({
423
425
  )
424
426
  }
425
427
  ),
426
- (_G = (_F = rest.column) == null ? void 0 : _F.colDef) == null ? void 0 : _G.headerIcons,
427
- ((_I = (_H = rest.column) == null ? void 0 : _H.colDef) == null ? void 0 : _I.sortable) && /* @__PURE__ */ jsx(
428
+ (_I = (_H = rest.column) == null ? void 0 : _H.colDef) == null ? void 0 : _I.headerIcons,
429
+ ((_K = (_J = rest.column) == null ? void 0 : _J.colDef) == null ? void 0 : _K.sortable) && /* @__PURE__ */ jsx(
428
430
  "img",
429
431
  {
430
432
  alt: "TableSortIcon",
@@ -441,10 +443,10 @@ function AgGridHeader({
441
443
  {
442
444
  className: `ia-icon-div ${hasActiveSearch ? "has-active-search" : ""} ${menuVisible ? "menu-visible" : ""}`,
443
445
  children: [
444
- (_L = (_K = (_J = rest.column) == null ? void 0 : _J.colDef) == null ? void 0 : _K.customHeaderIcons) == null ? void 0 : _L.map((icon) => {
446
+ (_N = (_M = (_L = rest.column) == null ? void 0 : _L.colDef) == null ? void 0 : _M.customHeaderIcons) == null ? void 0 : _N.map((icon) => {
445
447
  return icon;
446
448
  }),
447
- ((_N = (_M = rest.column) == null ? void 0 : _M.colDef) == null ? void 0 : _N.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
449
+ ((_P = (_O = rest.column) == null ? void 0 : _O.colDef) == null ? void 0 : _P.isSearchable) && (hasActiveSearch || !showInputField) && /* @__PURE__ */ jsx(Badge, { invisible: !hasActiveSearch, variant: "dot", children: /* @__PURE__ */ jsx(
448
450
  default_1$2,
449
451
  {
450
452
  fontSize: "small",
@@ -468,7 +470,7 @@ function AgGridHeader({
468
470
  } : handleSearch
469
471
  }
470
472
  ) }),
471
- !((_P = (_O = rest.column) == null ? void 0 : _O.colDef) == null ? void 0 : _P.suppressMenu) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
473
+ !((_R = (_Q = rest.column) == null ? void 0 : _Q.colDef) == null ? void 0 : _R.suppressMenu) && /* @__PURE__ */ jsx("div", { className: "custom-ag-header-icons", children: /* @__PURE__ */ jsx(
472
474
  "button",
473
475
  {
474
476
  ref: menuRef,