impact-ui 4.0.18 → 5.0.0-alpha.2

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 (187) hide show
  1. package/README.md +8 -9
  2. package/dist/_virtual/_commonjsHelpers.js +0 -2
  3. package/dist/_virtual/index7.js +2 -2
  4. package/dist/_virtual/index8.js +2 -2
  5. package/dist/components/Chatbot/Chatbot.types.d.ts +2 -0
  6. package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
  7. package/dist/components/Chatbot/historyPanel.d.ts +1 -1
  8. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  9. package/dist/components/Chatbot/historyPanel.js +146 -90
  10. package/dist/components/Chatbot/index.d.ts +1 -1
  11. package/dist/components/Chatbot/index.d.ts.map +1 -1
  12. package/dist/components/Chatbot/index.js +3 -1
  13. package/dist/components/Input/index.js +2 -2
  14. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  15. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  16. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  17. package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
  18. package/dist/components/KeyboardShortCuts/index.js +38 -112
  19. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  20. package/dist/components/OnboardingTour/index.d.ts +61 -0
  21. package/dist/components/OnboardingTour/index.d.ts.map +1 -0
  22. package/dist/components/OnboardingTour/index.js +232 -0
  23. package/dist/components/OnboardingTour/productTourList.d.ts +39 -0
  24. package/dist/components/OnboardingTour/productTourList.d.ts.map +1 -0
  25. package/dist/components/OnboardingTour/productTourList.js +86 -0
  26. package/dist/components/OnboardingTour/tooltipCard.d.ts +45 -0
  27. package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -0
  28. package/dist/components/OnboardingTour/tooltipCard.js +96 -0
  29. package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts +29 -0
  30. package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts.map +1 -0
  31. package/dist/components/OnboardingTour/useTooltipCardPosition.js +221 -0
  32. package/dist/components/Select/index.d.ts.map +1 -1
  33. package/dist/components/Select/index.js +14 -5
  34. package/dist/components/{Table → TableV36}/AdvanceSearchModalItem.d.ts +3 -1
  35. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -0
  36. package/dist/components/{Table → TableV36}/AdvanceSortModal.d.ts +3 -1
  37. package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -0
  38. package/dist/components/{Table → TableV36}/AdvanceSortModal.js +35 -37
  39. package/dist/components/{Table → TableV36}/AgGridHeader.d.ts +2 -1
  40. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -0
  41. package/dist/components/{Table → TableV36}/AgGridHeader.js +93 -105
  42. package/dist/components/TableV36/AgGridHeaderGroup.d.ts +3 -0
  43. package/dist/components/TableV36/AgGridHeaderGroup.d.ts.map +1 -0
  44. package/dist/components/TableV36/AgGridHeaderGroup.js +29 -0
  45. package/dist/components/TableV36/CellTooltip.d.ts +14 -0
  46. package/dist/components/TableV36/CellTooltip.d.ts.map +1 -0
  47. package/dist/components/TableV36/CellTooltip.js +11 -0
  48. package/dist/components/{Table → TableV36}/CommentsPortal.d.ts +5 -3
  49. package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -0
  50. package/dist/components/{Table → TableV36}/CommentsPortal.js +6 -10
  51. package/dist/components/TableV36/HighlightedText.d.ts +11 -0
  52. package/dist/components/TableV36/HighlightedText.d.ts.map +1 -0
  53. package/dist/components/TableV36/HighlightedText.js +20 -0
  54. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -0
  55. package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModal.js +23 -26
  56. package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +5 -4
  57. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -0
  58. package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +19 -43
  59. package/dist/components/{Table → TableV36}/NoComments.d.ts +3 -1
  60. package/dist/components/TableV36/NoComments.d.ts.map +1 -0
  61. package/dist/components/{Table → TableV36}/NoComments.js +3 -5
  62. package/dist/components/TableV36/Table.types.d.ts +127 -0
  63. package/dist/components/TableV36/Table.types.d.ts.map +1 -0
  64. package/dist/components/TableV36/TableSkeletonCell.d.ts +18 -0
  65. package/dist/components/TableV36/TableSkeletonCell.d.ts.map +1 -0
  66. package/dist/components/TableV36/TableSkeletonCell.js +38 -0
  67. package/dist/components/{TableOld → TableV36}/actionBar.d.ts +3 -1
  68. package/dist/components/TableV36/actionBar.d.ts.map +1 -0
  69. package/dist/components/{Table → TableV36}/actionBar.js +1 -5
  70. package/dist/components/{Table → TableV36}/advanceSearchModal.d.ts +3 -1
  71. package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -0
  72. package/dist/components/{Table → TableV36}/filterUtils.d.ts +2 -56
  73. package/dist/components/TableV36/filterUtils.d.ts.map +1 -0
  74. package/dist/components/{Table → TableV36}/filterUtils.js +17 -100
  75. package/dist/components/TableV36/index.d.ts +3 -0
  76. package/dist/components/TableV36/index.d.ts.map +1 -0
  77. package/dist/components/TableV36/index.js +1767 -0
  78. package/dist/components/TableV36/mockData.d.ts.map +1 -0
  79. package/dist/components/TableV36/resolveTableLoadingOptions.d.ts +62 -0
  80. package/dist/components/TableV36/resolveTableLoadingOptions.d.ts.map +1 -0
  81. package/dist/components/TableV36/resolveTableLoadingOptions.js +52 -0
  82. package/dist/components/TableV36/resolveTableLoadingOptions.test.d.ts +2 -0
  83. package/dist/components/TableV36/resolveTableLoadingOptions.test.d.ts.map +1 -0
  84. package/dist/components/{TableOld → TableV36}/tableFunctions.d.ts +14 -10
  85. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -0
  86. package/dist/components/{shared/tableColumnSettings/columnsTabV36.js → TableV36/tableFunctions.js} +663 -292
  87. package/dist/components/{Table → TableV36}/tableHeader.d.ts +5 -3
  88. package/dist/components/TableV36/tableHeader.d.ts.map +1 -0
  89. package/dist/components/{Table → TableV36}/tableHeader.js +17 -26
  90. package/dist/components/{TableOld → TableV36}/tableIcons.d.ts.map +1 -1
  91. package/dist/components/{Table → TableV36}/tableMoreOptions.d.ts +5 -3
  92. package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -0
  93. package/dist/components/{Table → TableV36}/tableMoreOptions.js +39 -84
  94. package/dist/components/{Table → TableV36}/tablePagination.d.ts +3 -1
  95. package/dist/components/TableV36/tablePagination.d.ts.map +1 -0
  96. package/dist/components/{Table → TableV36}/tablePagination.js +6 -16
  97. package/dist/components/{Table → TableV36}/tableSettings.d.ts +6 -3
  98. package/dist/components/TableV36/tableSettings.d.ts.map +1 -0
  99. package/dist/components/{shared/tableColumnSettings/tableSettingsV36.js → TableV36/tableSettings.js} +34 -40
  100. package/dist/components/TableV36/tableUtils.d.ts +17 -0
  101. package/dist/components/TableV36/tableUtils.d.ts.map +1 -0
  102. package/dist/components/TableV36/tableUtils.js +60 -0
  103. package/dist/components/TableV36/withCommentIcon.d.ts +13 -0
  104. package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -0
  105. package/dist/components/TableV36/withCommentIcon.js +134 -0
  106. package/dist/components/TextArea/index.js +1 -1
  107. package/dist/components/index.d.ts +3 -2
  108. package/dist/components/index.d.ts.map +1 -1
  109. package/dist/components/index.js +4 -4
  110. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts +2 -4
  111. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.d.ts.map +1 -1
  112. package/dist/mcp-component-registry.json +274 -337
  113. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +250 -115
  114. package/dist/node_modules/call-bind/index.js +1 -1
  115. package/dist/node_modules/is-symbol/index.js +1 -1
  116. package/dist/stories/tableStoryDefaults.d.ts +1 -1
  117. package/dist/stories/tableStoryDefaults.d.ts.map +1 -1
  118. package/dist/stories/tableStoryManyColumns.d.ts +1 -1
  119. package/dist/stories/tableV36ChatApiMock.d.ts +420 -0
  120. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -0
  121. package/dist/utils/helper.js +0 -60
  122. package/package.json +8 -8
  123. package/dist/_virtual/lodash.js +0 -4
  124. package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +0 -1
  125. package/dist/components/Table/AdvanceSearchModalItem.js +0 -313
  126. package/dist/components/Table/AdvanceSortModal.d.ts.map +0 -1
  127. package/dist/components/Table/AgGridHeader.d.ts.map +0 -1
  128. package/dist/components/Table/CommentsPortal.d.ts.map +0 -1
  129. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +0 -1
  130. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +0 -1
  131. package/dist/components/Table/NoComments.d.ts.map +0 -1
  132. package/dist/components/Table/Table.types.d.ts +0 -40
  133. package/dist/components/Table/Table.types.d.ts.map +0 -1
  134. package/dist/components/Table/actionBar.d.ts +0 -7
  135. package/dist/components/Table/actionBar.d.ts.map +0 -1
  136. package/dist/components/Table/advanceSearchModal.d.ts.map +0 -1
  137. package/dist/components/Table/advanceSearchModal.js +0 -601
  138. package/dist/components/Table/agGridLocale.d.ts +0 -33
  139. package/dist/components/Table/agGridLocale.d.ts.map +0 -1
  140. package/dist/components/Table/agGridLocale.js +0 -59
  141. package/dist/components/Table/filterUtils.d.ts.map +0 -1
  142. package/dist/components/Table/filterUtils.test.d.ts +0 -2
  143. package/dist/components/Table/filterUtils.test.d.ts.map +0 -1
  144. package/dist/components/Table/index.d.ts +0 -4
  145. package/dist/components/Table/index.d.ts.map +0 -1
  146. package/dist/components/Table/index.js +0 -1441
  147. package/dist/components/Table/mockData.d.ts.map +0 -1
  148. package/dist/components/Table/tableFunctions.d.ts +0 -57
  149. package/dist/components/Table/tableFunctions.d.ts.map +0 -1
  150. package/dist/components/Table/tableFunctions.js +0 -1317
  151. package/dist/components/Table/tableHeader.d.ts.map +0 -1
  152. package/dist/components/Table/tableIcons.d.ts.map +0 -1
  153. package/dist/components/Table/tableMoreOptions.d.ts.map +0 -1
  154. package/dist/components/Table/tablePagination.d.ts.map +0 -1
  155. package/dist/components/Table/tableSettings.d.ts.map +0 -1
  156. package/dist/components/Table/tableSettings.js +0 -282
  157. package/dist/components/Table/withCommentIcon.d.ts +0 -2
  158. package/dist/components/Table/withCommentIcon.d.ts.map +0 -1
  159. package/dist/components/Table/withCommentIcon.js +0 -88
  160. package/dist/components/TableOld/AgGridHeader.d.ts +0 -14
  161. package/dist/components/TableOld/AgGridHeader.d.ts.map +0 -1
  162. package/dist/components/TableOld/AgGridHeader.js +0 -496
  163. package/dist/components/TableOld/actionBar.d.ts.map +0 -1
  164. package/dist/components/TableOld/actionBar.js +0 -35
  165. package/dist/components/TableOld/index.d.ts +0 -3
  166. package/dist/components/TableOld/index.d.ts.map +0 -1
  167. package/dist/components/TableOld/index.js +0 -645
  168. package/dist/components/TableOld/mockData.d.ts +0 -39
  169. package/dist/components/TableOld/mockData.d.ts.map +0 -1
  170. package/dist/components/TableOld/tableFunctions.d.ts.map +0 -1
  171. package/dist/components/TableOld/tableFunctions.js +0 -1321
  172. package/dist/components/TableOld/tableHeader.d.ts +0 -53
  173. package/dist/components/TableOld/tableHeader.d.ts.map +0 -1
  174. package/dist/components/TableOld/tableHeader.js +0 -229
  175. package/dist/components/TableOld/tableIcons.d.ts +0 -5
  176. package/dist/components/TableOld/tablePagination.d.ts +0 -8
  177. package/dist/components/TableOld/tablePagination.d.ts.map +0 -1
  178. package/dist/components/TableOld/tablePagination.js +0 -80
  179. package/dist/components/TableOld/tableSettings.d.ts +0 -11
  180. package/dist/components/TableOld/tableSettings.d.ts.map +0 -1
  181. package/dist/components/shared/tableColumnSettings/agGridColumnSettingsApi.js +0 -52
  182. package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.js +0 -264
  183. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.js +0 -298
  184. package/dist/node_modules/lodash/lodash.js +0 -5486
  185. /package/dist/components/{Table → TableV36}/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +0 -0
  186. /package/dist/components/{Table → TableV36}/mockData.d.ts +0 -0
  187. /package/dist/components/{Table → TableV36}/tableIcons.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "generatedAt": "2026-10-08T07:26:08.289Z",
3
+ "generatedAt": "2026-10-12T12:33:12.467Z",
4
4
  "components": {
5
5
  "Menu": {
6
6
  "title": "Components/Menu",
@@ -188,7 +188,7 @@
188
188
  "TableChat": {
189
189
  "title": "Components/TableChat",
190
190
  "category": "Components",
191
- "description": "# Table Chat Feature\n\nThe Table Chat feature provides a comprehensive real-time messaging system integrated with the Table component. It includes:\n\n- **Channel Management**: Organize conversations by channels\n- **Real-time Messaging**: Live message updates with WebSocket support\n- **Rich Text Editor**: Full-featured text editor with mentions, formatting, and emoji support\n- **File & Image Sharing**: Upload and share files and images\n- **Message Actions**: Pin, reply, bookmark, edit, and delete messages\n- **Participant Management**: Add/remove participants and manage permissions\n- **Search**: Search messages and participants\n- **Notifications**: Configurable notification settings\n- **Thread Support**: Threaded conversations for better organization\n\n## Architecture\n\nThe chat feature consists of several key components:\n\n### 1. TableChatSidePanel\nThe main container component that manages the chat interface state and handles the communication between left and right panels.\n\n### 2. TableChatRightSection\nHandles the message display, infinite scroll, real-time updates, and message interactions.\n\n### 3. ChatInput\nRich text editor with mention support, formatting tools, file upload, and emoji picker.\n\n### 4. ChatHeader\nHeader with participant management, search functionality, and notification settings.\n\n## Configuration Structure\n\nThe chat feature is configured through a comprehensive \\",
191
+ "description": "# Table Chat Feature\n\nThe Table Chat feature provides a comprehensive real-time messaging system integrated with TableV36. It includes:\n\n- **Channel Management**: Organize conversations by channels\n- **Real-time Messaging**: Live message updates with WebSocket support\n- **Rich Text Editor**: Full-featured text editor with mentions, formatting, and emoji support\n- **File & Image Sharing**: Upload and share files and images\n- **Message Actions**: Pin, reply, bookmark, edit, and delete messages\n- **Participant Management**: Add/remove participants and manage permissions\n- **Search**: Search messages and participants\n- **Notifications**: Configurable notification settings\n- **Thread Support**: Threaded conversations for better organization\n\n## Architecture\n\nThe chat feature consists of several key components:\n\n### 1. TableChatSidePanel\nThe main container component that manages the chat interface state and handles the communication between left and right panels.\n\n### 2. TableChatRightSection\nHandles the message display, infinite scroll, real-time updates, and message interactions.\n\n### 3. ChatInput\nRich text editor with mention support, formatting tools, file upload, and emoji picker.\n\n### 4. ChatHeader\nHeader with participant management, search functionality, and notification settings.\n\n## Configuration Structure\n\nThe chat feature is configured through a comprehensive \\",
192
192
  "examples": [],
193
193
  "props": {
194
194
  "isChatEnabled": {
@@ -347,7 +347,7 @@
347
347
  "storyFile": "src/stories/AccordionModern.stories.tsx"
348
348
  },
349
349
  "AdvanceSearch": {
350
- "title": "Components/Table/Advance Search",
350
+ "title": "Components/TableV36/Advance Search",
351
351
  "category": "Components",
352
352
  "description": "Interaction coverage for the advance search modal: attribute selection, operator",
353
353
  "examples": [],
@@ -356,7 +356,7 @@
356
356
  "storyFile": "src/stories/AdvanceSearch.stories.tsx"
357
357
  },
358
358
  "AdvanceSearchAtScale": {
359
- "title": "Components/Table/Advance Search at Scale",
359
+ "title": "Components/TableV36/Advance Search at Scale",
360
360
  "category": "Components",
361
361
  "description": "A wide, heavy grid for exercising advance search against every value shape at",
362
362
  "examples": [],
@@ -1915,6 +1915,12 @@
1915
1915
  "defaultValue": "true",
1916
1916
  "required": false
1917
1917
  },
1918
+ "historyPanelFetchDelayMs": {
1919
+ "description": "Mock history API latency in ms (HistoryPanel story: deferred fetch when opening history).",
1920
+ "type": "number",
1921
+ "defaultValue": "2000",
1922
+ "required": false
1923
+ },
1918
1924
  "isFullWidth": {
1919
1925
  "description": "Stretch chatbot to almost full viewport width.",
1920
1926
  "type": "boolean",
@@ -3965,6 +3971,71 @@
3965
3971
  },
3966
3972
  "storyFile": "src/stories/Notification.stories.tsx"
3967
3973
  },
3974
+ "OnboardingTour": {
3975
+ "title": "Components/OnboardingTour",
3976
+ "category": "Components",
3977
+ "description": "A unified onboarding component that orchestrates three stages:",
3978
+ "examples": [],
3979
+ "props": {
3980
+ "badgeLabel": {
3981
+ "description": "Optional badge label displayed above the title.",
3982
+ "type": "unknown",
3983
+ "required": true
3984
+ },
3985
+ "title": {
3986
+ "description": "Modal title.",
3987
+ "type": "unknown",
3988
+ "required": true
3989
+ },
3990
+ "description": {
3991
+ "description": "Optional modal description.",
3992
+ "type": "unknown",
3993
+ "required": true
3994
+ },
3995
+ "onClose": {
3996
+ "description": "Callback fired when the close icon is clicked.",
3997
+ "type": "() => void",
3998
+ "required": true
3999
+ },
4000
+ "primaryAction": {
4001
+ "description": "Primary footer action configuration.",
4002
+ "type": "{ label: string; onClick: () => void; variant?: string }",
4003
+ "required": true
4004
+ },
4005
+ "secondaryAction": {
4006
+ "description": "Secondary footer action configuration.",
4007
+ "type": "{ label: string; onClick: () => void; variant?: string }",
4008
+ "required": true
4009
+ },
4010
+ "carouselScreens": {
4011
+ "description": "Optional array of slides to render inside the built-in carousel.",
4012
+ "type": "ReactNode[]",
4013
+ "required": true
4014
+ },
4015
+ "carouselDurations": {
4016
+ "description": "Optional durations (ms) for each carousel slide before auto-advancing.",
4017
+ "type": "number[]",
4018
+ "required": true
4019
+ },
4020
+ "carouselOnActiveIndexChange": {
4021
+ "description": "Callback invoked when the active carousel slide changes.",
4022
+ "type": "(index: number) => void",
4023
+ "required": true
4024
+ },
4025
+ "tooltip": {
4026
+ "description": "Tooltip data + required callbacks. When provided, Try now on the modal advances to the tooltip stage.",
4027
+ "type": "unknown",
4028
+ "required": true
4029
+ },
4030
+ "productTour": {
4031
+ "description": "Product tour data + required callbacks. When provided, Skip on tooltip advances to the minimized product tour.",
4032
+ "type": "unknown",
4033
+ "required": true
4034
+ }
4035
+ },
4036
+ "storyArgs": {},
4037
+ "storyFile": "src/stories/OnboardingTour.stories.tsx"
4038
+ },
3968
4039
  "Panel": {
3969
4040
  "title": "Components/Panel",
3970
4041
  "category": "Components",
@@ -5247,10 +5318,135 @@
5247
5318
  },
5248
5319
  "storyFile": "src/stories/Switch.stories.tsx"
5249
5320
  },
5250
- "Table": {
5251
- "title": "Components/Table",
5321
+ "TableV36.Performance": {
5322
+ "title": "Components/TableV36/Performance",
5323
+ "category": "Components",
5324
+ "description": "Performance benchmarks for \\",
5325
+ "examples": [],
5326
+ "props": {
5327
+ "rowCount": {
5328
+ "description": "",
5329
+ "type": "unknown",
5330
+ "required": true
5331
+ },
5332
+ "columnCount": {
5333
+ "description": "",
5334
+ "type": "unknown",
5335
+ "required": true
5336
+ },
5337
+ "rowBuffer": {
5338
+ "description": "",
5339
+ "type": "unknown",
5340
+ "required": true
5341
+ },
5342
+ "animateRows": {
5343
+ "description": "",
5344
+ "type": "unknown",
5345
+ "required": true
5346
+ },
5347
+ "suppressColumnMoveAnimation": {
5348
+ "description": "",
5349
+ "type": "unknown",
5350
+ "required": true
5351
+ },
5352
+ "suppressRowHoverHighlight": {
5353
+ "description": "",
5354
+ "type": "unknown",
5355
+ "required": true
5356
+ },
5357
+ "enableValueCache": {
5358
+ "description": "",
5359
+ "type": "unknown",
5360
+ "required": true
5361
+ },
5362
+ "domLayout": {
5363
+ "description": "",
5364
+ "type": "unknown",
5365
+ "options": [
5366
+ "normal",
5367
+ "autoHeight"
5368
+ ],
5369
+ "required": true
5370
+ }
5371
+ },
5372
+ "storyArgs": {
5373
+ "BasicLargeData": {
5374
+ "rowCount": 10000,
5375
+ "columnCount": 15,
5376
+ "rowBuffer": 8,
5377
+ "animateRows": false,
5378
+ "enableValueCache": false,
5379
+ "domLayout": "normal"
5380
+ },
5381
+ "HeavyCellRenderer": {
5382
+ "rowCount": 10000,
5383
+ "columnCount": 50,
5384
+ "rowBuffer": 8,
5385
+ "animateRows": false,
5386
+ "suppressRowHoverHighlight": true,
5387
+ "enableValueCache": true,
5388
+ "domLayout": "normal"
5389
+ },
5390
+ "ColumnDragging": {
5391
+ "rowCount": 2000,
5392
+ "columnCount": 50,
5393
+ "rowBuffer": 8,
5394
+ "suppressColumnMoveAnimation": true,
5395
+ "animateRows": false,
5396
+ "domLayout": "normal"
5397
+ },
5398
+ "VirtualizationStress": {
5399
+ "rowCount": 50000,
5400
+ "columnCount": 100,
5401
+ "rowBuffer": 8,
5402
+ "animateRows": false,
5403
+ "suppressRowHoverHighlight": true,
5404
+ "suppressColumnMoveAnimation": true,
5405
+ "enableValueCache": true,
5406
+ "domLayout": "normal"
5407
+ },
5408
+ "StatePersistence": {
5409
+ "rowCount": 5000,
5410
+ "columnCount": 25,
5411
+ "rowBuffer": 8,
5412
+ "animateRows": false,
5413
+ "suppressColumnMoveAnimation": true,
5414
+ "domLayout": "normal"
5415
+ },
5416
+ "DomLayoutAutoHeight": {
5417
+ "rowCount": 30,
5418
+ "columnCount": 8,
5419
+ "domLayout": "autoHeight",
5420
+ "rowBuffer": 8
5421
+ },
5422
+ "DomLayoutNormal": {
5423
+ "rowCount": 5000,
5424
+ "columnCount": 12,
5425
+ "domLayout": "normal",
5426
+ "rowBuffer": 8
5427
+ },
5428
+ "NestedGroupedColumnsSearch": {
5429
+ "rowCount": 50000,
5430
+ "rowBuffer": 8,
5431
+ "animateRows": false,
5432
+ "suppressRowHoverHighlight": true,
5433
+ "suppressColumnMoveAnimation": true,
5434
+ "enableValueCache": true,
5435
+ "domLayout": "normal"
5436
+ },
5437
+ "RowBufferBenchmark": {
5438
+ "rowCount": 10000,
5439
+ "columnCount": 15,
5440
+ "rowBuffer": 8,
5441
+ "domLayout": "normal"
5442
+ }
5443
+ },
5444
+ "storyFile": "src/stories/TableV36.Performance.stories.tsx"
5445
+ },
5446
+ "TableV36": {
5447
+ "title": "Components/TableV36",
5252
5448
  "category": "Components",
5253
- "description": "All the props that you can pass to AG-Grid can be passed to Table component. <strong style=\"font-weight:bold;\">Note:</strong> This Table is based on V32 and still in testing phase.",
5449
+ "description": "## TableV36 (AG Grid v36)\n\nData grid built on **AG Grid v36**.\n\n### Install\n\n\\",
5254
5450
  "examples": [
5255
5451
  "ListViewIntegration"
5256
5452
  ],
@@ -5289,6 +5485,12 @@
5289
5485
  ],
5290
5486
  "required": false
5291
5487
  },
5488
+ "enableRowTextWrap": {
5489
+ "description": "When true, default/comfort body cells wrap and clamp to the row height. Compact stays single-line ellipsis.",
5490
+ "type": "boolean",
5491
+ "defaultValue": "false",
5492
+ "required": false
5493
+ },
5292
5494
  "topLeftOptions": {
5293
5495
  "description": "React Children you want to render along with header at the Top Left Table Header Section.",
5294
5496
  "type": "React Children",
@@ -5542,6 +5744,12 @@
5542
5744
  ],
5543
5745
  "required": false
5544
5746
  },
5747
+ "extraNumericFormatOptions": {
5748
+ "description": "Additional Numeric Values options appended after Full / K / M / B in Table Settings → Format.",
5749
+ "type": "Array<{ label: string; value: string }>",
5750
+ "defaultValue": "undefined",
5751
+ "required": false
5752
+ },
5545
5753
  "isSaveViewEnabled": {
5546
5754
  "description": "If true, enables Save View feature in table settings.",
5547
5755
  "type": "boolean",
@@ -5703,11 +5911,16 @@
5703
5911
  },
5704
5912
  "storyArgs": {
5705
5913
  "Default": {
5706
- "tableHeader": "Default Table",
5914
+ "tableHeader": "Table",
5707
5915
  "cardContainer": true,
5708
5916
  "emptyStateText": "No data to display",
5709
- "rowData": "carsData.map((car",
5710
- "electric1": "["
5917
+ "rowData": "carsData",
5918
+ "showBulkActionBar": false,
5919
+ "advanceSortEnabled": true,
5920
+ "bulkActionBarProps": "{",
5921
+ "actionBarLabel": "",
5922
+ "enableSelectAll": true,
5923
+ "totalRowCount": 0
5711
5924
  },
5712
5925
  "SaveView": {
5713
5926
  "tableHeader": "Table with Save View",
@@ -5746,6 +5959,7 @@
5746
5959
  "cardContainer": true,
5747
5960
  "rowSelection": "multiple",
5748
5961
  "viewPoint": "list",
5962
+ "suppressRowClickSelection": true,
5749
5963
  "suppressColumnMenu": true,
5750
5964
  "defaultColDef": "{",
5751
5965
  "maxWidth": 120
@@ -5754,6 +5968,7 @@
5754
5968
  "cardContainer": true,
5755
5969
  "rowSelection": "multiple",
5756
5970
  "viewPoint": "list",
5971
+ "suppressRowClickSelection": true,
5757
5972
  "suppressColumnMenu": true,
5758
5973
  "columnDefs": "[",
5759
5974
  "colId": "checkbox",
@@ -5793,7 +6008,8 @@
5793
6008
  "hideRowHeightOptionMenu": false,
5794
6009
  "defaultColDef": "{",
5795
6010
  "sortable": true,
5796
- "filter": true
6011
+ "filter": true,
6012
+ "flex": 1
5797
6013
  },
5798
6014
  "IaRecommendationAdvanceSearchReopen": {
5799
6015
  "tableHeader": "IA Recommendation Advance Search Reopen",
@@ -5804,7 +6020,8 @@
5804
6020
  "defaultColDef": "{",
5805
6021
  "sortable": true,
5806
6022
  "filter": true,
5807
- "resizable": true
6023
+ "resizable": true,
6024
+ "flex": 1
5808
6025
  },
5809
6026
  "EmptyStateText": {
5810
6027
  "rowData": "[]",
@@ -5825,14 +6042,12 @@
5825
6042
  "paginationPageSizeSelector": "[10",
5826
6043
  "cacheBlockSize": 20,
5827
6044
  "advanceSortEnabled": true,
6045
+ "domLayout": "autoHeight",
5828
6046
  "defaultColDef": "{",
5829
6047
  "sortable": true,
5830
6048
  "resizable": true,
5831
6049
  "filter": true
5832
6050
  },
5833
- "ColumnSettings500Columns": {
5834
- "columnSettingsMode": "STORY_COLUMN_SETTINGS_MODE"
5835
- },
5836
6051
  "Frozen": {
5837
6052
  "rowData": "carsData",
5838
6053
  "columnDefs": "[",
@@ -5843,7 +6058,7 @@
5843
6058
  "rowData": "carsData",
5844
6059
  "rowSelection": "multiple",
5845
6060
  "columnDefs": "[",
5846
- "field": "Selection",
6061
+ "field": "",
5847
6062
  "checkboxSelection": true,
5848
6063
  "headerCheckboxSelection": true,
5849
6064
  "headerComponent": "SelectAllComponent",
@@ -5859,6 +6074,13 @@
5859
6074
  "autoGroupColumnDef": "{",
5860
6075
  "headerName": "Grouped Rows"
5861
6076
  },
6077
+ "RowGroupWithCheckboxes": {
6078
+ "rowData": "olympicData",
6079
+ "enableHierarchyLevelColors": true,
6080
+ "autoGroupColumnDef": "{",
6081
+ "headerName": "Country > Year > Athlete > Sport > Gold > Silver",
6082
+ "minWidth": 250
6083
+ },
5862
6084
  "CellRenderer": {
5863
6085
  "rowData": "olympicData",
5864
6086
  "columnDefs": "[",
@@ -5893,6 +6115,19 @@
5893
6115
  "columnDefs": "[",
5894
6116
  "field": "make"
5895
6117
  },
6118
+ "CellAndRowStates": {
6119
+ "tableHeader": "Cell & Row States",
6120
+ "cardContainer": true,
6121
+ "rowHeight": "default",
6122
+ "rowSelection": "multiple",
6123
+ "rowData": "[",
6124
+ "id": "1",
6125
+ "make": "Tesla",
6126
+ "model": "Model Y",
6127
+ "status": "ok",
6128
+ "price": 64950,
6129
+ "note": "Default cell"
6130
+ },
5896
6131
  "HeaderComponent": {
5897
6132
  "rowData": "carsData",
5898
6133
  "columnDefs": "[",
@@ -5929,331 +6164,33 @@
5929
6164
  "delivery_date": "2025-11-05",
5930
6165
  "status": "active",
5931
6166
  "category": "Electronics"
5932
- }
5933
- },
5934
- "storyFile": "src/stories/Table.stories.tsx"
5935
- },
5936
- "TableOld": {
5937
- "title": "Components/Old Table",
5938
- "category": "Components",
5939
- "description": "All the props that you can pass to AG-Grid can be passed to Table component. <strong style=\"font-weight:bold;\">Note:</strong> This Table is based on V27 and still in testing phase.",
5940
- "examples": [
5941
- "ListViewIntegration"
5942
- ],
5943
- "props": {
5944
- "tableHeader": {
5945
- "description": "Title of the Table.",
5946
- "type": "string",
5947
- "required": true
5948
6167
  },
5949
- "cardContainer": {
5950
- "description": "If true, display Table component in the card UI.",
5951
- "type": "boolean",
5952
- "defaultValue": "true",
5953
- "required": false
5954
- },
5955
- "rowData": {
5956
- "description": "Array object holding different rows data of the Table.",
5957
- "type": "Array Object",
5958
- "defaultValue": [],
5959
- "required": false
5960
- },
5961
- "columnDefs": {
5962
- "description": "Array object holding different columns header data of the Table. \n <code>\n <ul class=\"storybook-order-list\">\n <li><strong>field</strong>: field of the column [string]</li>\n <li><strong>isSearchable?</strong>: If true, display search <br/>icon on the Column Header. [boolean]</li>\n </ul>\n </code>",
5963
- "type": "Array Object",
5964
- "defaultValue": [],
5965
- "required": false
6168
+ "ClientSideInitialLoading": {
6169
+ "tableHeader": "Client-side initial loading",
6170
+ "loading": true,
6171
+ "columnDefs": "skeletonColumnDefs"
5966
6172
  },
5967
- "rowHeight": {
5968
- "description": "You can choose different height of the Row of the Table.",
5969
- "type": "string",
5970
- "defaultValue": "default",
5971
- "options": [
5972
- "compact",
5973
- "comfort",
5974
- "default"
5975
- ],
5976
- "required": false
5977
- },
5978
- "topLeftOptions": {
5979
- "description": "React Children you want to render along with header at the Top Left Table Header Section.",
5980
- "type": "React Children",
5981
- "required": true
5982
- },
5983
- "topRightOptions": {
5984
- "description": "React Children you want to render at the Top Right Table Header Section.",
5985
- "type": "React Children",
5986
- "required": true
5987
- },
5988
- "tableActionOptions": {
5989
- "description": "",
5990
- "type": "React Children",
5991
- "required": true
5992
- },
5993
- "bottomLeftOptions": {
5994
- "description": "React Children you want to render at the Bottom Left Table Header Section.",
5995
- "type": "React Children",
5996
- "required": true
5997
- },
5998
- "bottomCenterOptions": {
5999
- "description": "React Children you want to render at the Bottom Right Table Header Section.",
6000
- "type": "React Children",
6001
- "required": true
6002
- },
6003
- "onNumberFormatChange": {
6004
- "description": "You can handle the event when number format changes in Table Setting Section.",
6005
- "type": "Function",
6006
- "required": true
6007
- },
6008
- "onColumnSearchClick": {
6009
- "description": "You can handle the search event when user click on the search icon in the Table Header.",
6010
- "type": "Function",
6011
- "required": true
6012
- },
6013
- "hideRowHeightOptionMenu": {
6014
- "description": "If true, disabled the rowHeight option menu.",
6015
- "type": "boolean",
6016
- "defaultValue": "false",
6017
- "required": false
6018
- },
6019
- "hidePaginationPageSizeSelector": {
6020
- "description": "If true, disabled the pagination page size selector.",
6021
- "type": "boolean",
6022
- "defaultValue": "false",
6023
- "options": [
6024
- true,
6025
- false
6026
- ],
6027
- "required": false
6028
- },
6029
- "onTableActionsTabClick": {
6030
- "description": "Callback function that is called when the table actions tab is clicked in the table settings panel.",
6031
- "type": "() => void",
6032
- "required": true
6033
- },
6034
- "customGetMainMenuItems": {
6035
- "description": "Custom function to override the default column menu items. This function receives the column parameters and should return an array of menu items.\n <br/>\n <br/>\n Example:\n <br/>\n <code>\n const customGetMainMenuItems = (params) => {\n const { column } = params;\n return [\n {\n name: \"Custom Menu Item\",\n action: () => {\n console.log(\"Custom action for column:\", column.colId);\n }\n }\n ];\n };\n </code>",
6036
- "type": "(params: { column: Column }) => Array<MenuItem>",
6037
- "defaultValue": "null",
6038
- "required": false
6039
- },
6040
- "onAdvanceSearchClick": {
6041
- "description": "Callback function that is called when the advance search button is clicked in the table header.",
6042
- "type": "() => void",
6043
- "required": true
6044
- },
6045
- "customHeaderIcons": {
6046
- "description": "Array of custom icons to be displayed in the table header. Each icon should be a React element.\n <br/>\n <br/>\n Example:\n <br/>\n <code>\n const customHeaderIcons = [\n {\n icon: <SearchIcon />,\n onClick: () => console.log(\"Search clicked\"),\n tooltip: \"Search\"\n }\n ];\n </code>",
6047
- "type": "Array<{ icon: ReactNode, onClick: () => void, tooltip?: string }>",
6048
- "defaultValue": [],
6049
- "required": false
6050
- },
6051
- "handleInlineSearch": {
6052
- "description": "Callback function that is called when inline search is performed in the table.",
6053
- "type": "(searchText: string) => void",
6054
- "required": true
6055
- },
6056
- "tableActions": {
6057
- "description": "Custom actions to be displayed in the table settings panel. This can be any valid React element or component.\n <br/>\n <br/>\n Example:\n <br/>\n <code>\n <Button\n iconPlacement=\"left\"\n onClick={() => {}}\n size=\"large\"\n variant=\"primary\"\n >\n Table Actions\n </Button>\n </code>",
6058
- "type": "React.ReactNode",
6059
- "defaultValue": "null",
6060
- "required": false
6061
- },
6062
- "hideTableFormat": {
6063
- "description": "If true, hide the table format section in the table settings panel.",
6064
- "type": "boolean",
6065
- "defaultValue": "false",
6066
- "required": false
6067
- },
6068
- "hideTableActions": {
6069
- "description": "If true, hide the table actions section in the table settings panel.",
6070
- "type": "boolean",
6071
- "defaultValue": "false",
6072
- "required": false
6073
- },
6074
- "handleClearSearchInline": {
6075
- "description": "Callback function that is called when the clear search button is clicked in the inline search input.",
6076
- "type": "() => void",
6077
- "required": true
6078
- },
6079
- "handleCloseInputField": {
6080
- "description": "Callback function that is called when the input field is closed in the table settings panel.",
6081
- "type": "() => void",
6082
- "defaultValue": "null",
6083
- "required": false
6084
- },
6085
- "aboveTableComponent": {
6086
- "description": "React Children to be rendered above the table.",
6087
- "type": "React.ReactNode",
6088
- "defaultValue": "null",
6089
- "required": false
6090
- },
6091
- "explicitlyCloseTableSetting": {
6092
- "description": "If true, explicitly close the table settings panel.",
6093
- "type": "boolean",
6094
- "defaultValue": "false",
6095
- "required": false
6096
- },
6097
- "hideTableSetting": {
6098
- "description": "If true, hide the table settings panel.",
6099
- "type": "boolean",
6100
- "defaultValue": "false",
6101
- "required": false
6102
- },
6103
- "customHeaderComponent": {
6104
- "description": "React Children to be rendered in the table header.",
6105
- "type": "React.ReactNode",
6106
- "defaultValue": "null",
6107
- "required": false
6108
- },
6109
- "onContentDensityChange": {
6110
- "description": "Callback function that is called when the content density is changed.",
6111
- "type": "() => void",
6112
- "required": true
6113
- },
6114
- "isViewNameUniqueAcrossTypes": {
6115
- "description": "Controls how Save View checks for duplicate names. If true, a view name must be unique across all view types (e.g. a",
6116
- "type": "boolean",
6117
- "defaultValue": "false",
6118
- "required": false
6119
- }
6120
- },
6121
- "storyArgs": {
6122
- "Default": {
6123
- "rowHeight": "default",
6124
- "cardContainer": false,
6125
- "rowData": "carsData",
6126
- "emptyStateText": "No data to display",
6127
- "showBulkActionBar": false,
6128
- "bulkActionBarProps": "{",
6129
- "actionBarLabel": "",
6130
- "enableSelectAll": true,
6131
- "totalRowCount": 0
6132
- },
6133
- "EmptyStateText": {
6134
- "rowData": "[]",
6135
- "tableHeader": "Table",
6136
- "cardContainer": true,
6137
- "emptyStateText": "No data to display",
6138
- "showBulkActionBar": false,
6139
- "advanceSortEnabled": true
6140
- },
6141
- "ListView": {
6142
- "cardContainer": true,
6143
- "rowSelection": "multiple",
6144
- "viewPoint": "list",
6145
- "suppressRowClickSelection": true,
6146
- "suppressColumnMenu": true,
6147
- "defaultColDef": "{",
6148
- "maxWidth": 120
6149
- },
6150
- "ListViewIntegration": {
6151
- "cardContainer": true,
6152
- "rowSelection": "multiple",
6153
- "viewPoint": "list",
6154
- "suppressRowClickSelection": true,
6155
- "suppressColumnMenu": true,
6156
- "columnDefs": "[",
6157
- "colId": "checkbox",
6158
- "field": "",
6159
- "checkboxSelection": true,
6160
- "headerCheckboxSelection": true,
6161
- "suppressMenu": true,
6162
- "filter": false,
6163
- "sortable": false,
6164
- "order": 1
6165
- },
6166
- "ApiDrivenSaveViewFeature": {
6167
- "tableHeader": "API Driven Save View Feature",
6168
- "isSaveViewEnabled": true,
6169
- "maxSavedViews": "null",
6170
- "savedViewsOptions": "initialApiDrivenSavedViews",
6171
- "isSaveViewLoading": false,
6172
- "isDeleteViewLoading": false,
6173
- "isViewNameUniqueAcrossTypes": false
6174
- },
6175
- "ColumnSettings500Columns": {
6176
- "columnSettingsMode": "STORY_COLUMN_SETTINGS_MODE"
6177
- },
6178
- "Frozen": {
6179
- "rowData": "carsData",
6180
- "columnDefs": "[",
6181
- "field": "make"
6182
- },
6183
- "RowSelect": {
6184
- "rowData": "carsData",
6185
- "columnDefs": "[",
6186
- "field": "",
6187
- "checkboxSelection": true,
6188
- "headerCheckboxSelection": true,
6189
- "suppressMenu": true,
6190
- "filter": false,
6191
- "sortable": false,
6192
- "pinned": "left"
6193
- },
6194
- "RowGroup": {
6195
- "rowData": "olympicData",
6196
- "columnDefs": "[",
6197
- "field": "athlete"
6198
- },
6199
- "CellRenderer": {
6200
- "rowData": "olympicData",
6201
- "columnDefs": "[",
6202
- "field": "athlete",
6203
- "minWidth": 200,
6204
- "pinned": "left"
6205
- },
6206
- "Master": {
6207
- "rowData": "masterData",
6208
- "columnDefs": "[",
6209
- "field": "name",
6210
- "cellRenderer": "agGroupCellRenderer"
6211
- },
6212
- "Aggregation": {
6213
- "rowData": "[",
6214
- "make": "Toyota",
6215
- "model": "Celica",
6216
- "price": 35000
6217
- },
6218
- "Paginated": {
6219
- "rowData": "olympicData",
6220
- "columnDefs": "[",
6221
- "field": "athlete"
6222
- },
6223
- "ColumnGroup": {
6224
- "rowData": "carsData",
6225
- "columnDefs": "[",
6226
- "headerName": "Some header",
6227
- "children": "[",
6228
- "field": "make",
6229
- "columnGroupShow": "open"
6230
- },
6231
- "EditableColumn": {
6232
- "rowData": "carsData",
6233
- "columnDefs": "[",
6234
- "field": "make"
6235
- },
6236
- "HeaderComponent": {
6237
- "rowData": "carsData",
6238
- "columnDefs": "[",
6239
- "field": "make"
6240
- },
6241
- "ServerSide": {
6242
- "rowModelType": "serverSide",
6243
- "columnDefs": "[",
6244
- "field": "id",
6245
- "headerName": "ID",
6246
- "filter": "agNumberColumnFilter",
6247
- "cellClass": "cell-renderer",
6248
- "isSearchable": true
6249
- },
6250
- "nestedTable": {
6251
- "rowData": "carsData",
6252
- "columnDefs": "[",
6253
- "field": "make"
6173
+ "ClientSideLoaded": {
6174
+ "tableHeader": "Client-side loaded",
6175
+ "loading": false,
6176
+ "columnDefs": "skeletonColumnDefs",
6177
+ "rowData": "skeletonRowData"
6178
+ },
6179
+ "ClientSideLoadingManyColumns": {
6180
+ "tableHeader": "Client-side loading with many columns",
6181
+ "loading": true,
6182
+ "columnDefs": "manySkeletonColumnDefs",
6183
+ "height": 420,
6184
+ "domLayout": "normal"
6185
+ },
6186
+ "ClientSideLoadingCheckboxColumn": {
6187
+ "tableHeader": "Client-side loading with checkbox column",
6188
+ "loading": true,
6189
+ "columnDefs": "checkboxSkeletonColumnDefs",
6190
+ "rowSelection": "multiple"
6254
6191
  }
6255
6192
  },
6256
- "storyFile": "src/stories/TableOld.stories.tsx"
6193
+ "storyFile": "src/stories/TableV36.stories.tsx"
6257
6194
  },
6258
6195
  "Tabs": {
6259
6196
  "title": "Components/Tabs",