impact-nova 2.6.2 → 3.0.0-alpha.0

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 (259) hide show
  1. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  2. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  3. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  4. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +21 -9
  5. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  6. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  7. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  8. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  9. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  11. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  13. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  14. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  16. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  17. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  19. package/dist/components/data/ag-grid-react/headers/components/date-filter-picker.d.ts +2 -12
  20. package/dist/components/data/ag-grid-react/headers/header-search-input.js +200 -207
  21. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  22. package/dist/components/data/ag-grid-react/index.js +263 -244
  23. package/dist/components/data/data-table/data-table.js +85 -82
  24. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  25. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +2 -3
  26. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +2 -3
  27. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  28. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  29. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  30. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  31. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  32. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  33. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  34. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  35. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  36. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  37. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  38. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  39. package/dist/components/data-display/chart/chart.js +100 -93
  40. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  41. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  42. package/dist/components/data-display/chart/chart.utils.js +132 -35
  43. package/dist/components/data-display/chart/index.js +15 -13
  44. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  45. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  46. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  47. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  48. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  49. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  50. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  51. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  52. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  53. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  54. package/dist/components/data-display/globe-map/index.js +10 -0
  55. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  56. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  57. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  58. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  59. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  60. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  61. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  62. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  67. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  68. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  69. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  70. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  71. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  72. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  73. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  74. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  75. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  76. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  77. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  78. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  79. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  80. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  81. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  82. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  83. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  84. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  102. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  103. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  104. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  105. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  106. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  107. package/dist/components/data-display/notch-card/index.js +6 -0
  108. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  109. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  110. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  111. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  112. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  113. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  114. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  115. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  116. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  117. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  118. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  119. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  120. package/dist/components/feedback/tooltip/tab-tooltip-render.js +2 -3
  121. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  122. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  123. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  124. package/dist/components/flows/filter-strip/index.js +4 -2
  125. package/dist/components/flows/guidance/renderers/guidance-tour-overlay.js +48 -46
  126. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  127. package/dist/components/flows/iris-chat/index.js +55 -0
  128. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  129. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  130. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  131. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  132. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  133. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  134. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  135. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  136. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  137. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  138. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  139. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  140. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  141. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  142. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  143. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  144. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  145. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  146. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  147. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  148. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  149. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  150. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  151. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  152. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  153. package/dist/components/flows/wizard/index.d.ts +2 -2
  154. package/dist/components/flows/wizard/index.js +17 -13
  155. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  156. package/dist/components/flows/wizard/wizard-context.js +15 -7
  157. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  158. package/dist/components/flows/wizard/wizard.js +278 -174
  159. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  160. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  161. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  162. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  163. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  164. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  165. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  166. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  167. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  168. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  169. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  170. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  171. package/dist/components/forms/choice-card/choice-card.js +651 -170
  172. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  173. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  174. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  175. package/dist/components/forms/choice-card/index.d.ts +2 -1
  176. package/dist/components/forms/choice-card/index.js +27 -10
  177. package/dist/components/forms/select/components/SelectTriggerValue.js +2 -3
  178. package/dist/components/forms/select/components/Submenu.js +2 -3
  179. package/dist/components/layout/header/header.d.ts +3 -2
  180. package/dist/components/layout/header/header.js +67 -47
  181. package/dist/components/layout/header/header.types.d.ts +1 -0
  182. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  183. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  184. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  185. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  186. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  187. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  188. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  189. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  190. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  191. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  192. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  193. package/dist/components/primitives/iris/iris.d.ts +24 -0
  194. package/dist/components/primitives/iris/iris.js +232 -0
  195. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  196. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  197. package/dist/components/primitives/iris/iris.variants.js +120 -0
  198. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  199. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  200. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  201. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  202. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  203. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  204. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  205. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  206. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  207. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  208. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  209. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  210. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  211. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  212. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  213. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  214. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  215. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  216. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  217. package/dist/components/primitives/stepper/stepper.js +134 -52
  218. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  219. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  220. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  221. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  222. package/dist/components/primitives/tabs/tabs.js +131 -59
  223. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  224. package/dist/form-react/Fields/DateRangeField.js +20 -19
  225. package/dist/form-react/Fields/WeekRangePicker.js +36 -36
  226. package/dist/i18n/defaultMessages.d.ts +100 -0
  227. package/dist/i18n/defaultMessages.js +118 -21
  228. package/dist/i18n/index.d.ts +1 -1
  229. package/dist/i18n/locales/de.js +99 -2
  230. package/dist/i18n/locales/es.js +99 -2
  231. package/dist/i18n/locales/hi.js +99 -2
  232. package/dist/i18n/locales/kn.js +99 -2
  233. package/dist/impact-nova-components.css +972 -2
  234. package/dist/impact-nova-tokens.scss +109 -1
  235. package/dist/impact-nova.css +1 -1
  236. package/dist/index.d.ts +1 -1
  237. package/dist/index.js +585 -551
  238. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  239. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  240. package/dist/lib/virtualized/index.d.ts +3 -0
  241. package/dist/lib/virtualized/index.js +35 -27
  242. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  243. package/dist/lib/virtualized/scroll-seek.js +61 -0
  244. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  245. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  246. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  247. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  248. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  249. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  250. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  251. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  252. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  253. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  254. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  255. package/dist/llms/rules/installation.js +1 -1
  256. package/dist/llms/rules/requirements.js +1 -1
  257. package/dist/tailwind.config.js +3 -1
  258. package/dist/theme/tailwind-colors.js +2 -1
  259. package/package.json +39 -4
@@ -31,6 +31,14 @@ export declare const AG_GRID_CELL_COMPONENTS: {
31
31
  (props: import('./cell-renderers/select-display-renderer').SelectDisplayRendererProps): import("react/jsx-runtime").JSX.Element;
32
32
  displayName: string;
33
33
  };
34
+ readonly styleDescriptionDisplay: {
35
+ (props: import('./cell-renderers/style-description-display-renderer').StyleDescriptionDisplayRendererProps): import("react/jsx-runtime").JSX.Element;
36
+ displayName: string;
37
+ };
38
+ readonly listSelectDisplay: {
39
+ (props: import('./cell-renderers/list-select-display-renderer').ListSelectDisplayRendererProps): import("react/jsx-runtime").JSX.Element;
40
+ displayName: string;
41
+ };
34
42
  readonly checkboxDisplay: {
35
43
  (props: import('./cell-renderers/checkbox-display-renderer').CheckboxDisplayRendererProps): import("react/jsx-runtime").JSX.Element;
36
44
  displayName: string;
@@ -53,6 +61,7 @@ export declare const AG_GRID_CELL_COMPONENTS: {
53
61
  };
54
62
  readonly inputEditor: import('react').NamedExoticComponent<import('./cell-renderers/editors/input-cell-editor').InputCellEditorProps & import('react').RefAttributes<import('./cell-renderers/editors/input-cell-editor').InputCellEditorHandle>>;
55
63
  readonly selectEditor: import('react').ForwardRefExoticComponent<import('./cell-renderers/editors/select-cell-editor').SelectCellEditorProps & import('react').RefAttributes<unknown>>;
64
+ readonly listSelectEditor: import('react').ForwardRefExoticComponent<import('./cell-renderers/editors/list-select-cell-editor').ListSelectCellEditorProps & import('react').RefAttributes<unknown>>;
56
65
  readonly textareaEditor: import('react').ForwardRefExoticComponent<import('./cell-renderers/editors/textarea-cell-editor').TextAreaCellEditorProps & import('react').RefAttributes<unknown>>;
57
66
  readonly dateEditor: import('react').ForwardRefExoticComponent<import('./cell-renderers/editors/date-cell-editor').DateCellEditorProps & import('react').RefAttributes<unknown>>;
58
67
  readonly splitEditor: import('react').ForwardRefExoticComponent<import('./cell-renderers/editors/split-cell-editor').SplitCellEditorProps & import('react').RefAttributes<unknown>>;
@@ -0,0 +1,16 @@
1
+ /** Visual card height in the list skin (Figma row). */
2
+ export declare const AG_GRID_LIST_CARD_HEIGHT_PX = 48;
3
+ /** Gap between list cards; also the space under the header bar. */
4
+ export declare const AG_GRID_LIST_ROW_GAP_PX = 12;
5
+ /** AG Grid `rowHeight` for `variant="list"`: card + gap so virtualization keeps a 12px gutter. */
6
+ export declare const AG_GRID_LIST_ROW_HEIGHT_PX: number;
7
+ /** List `rowHeight` by DataTable density. Card scales; the 12px gutter stays. */
8
+ export declare const AG_GRID_LIST_ROW_HEIGHT_BY_DENSITY: {
9
+ readonly default: number;
10
+ readonly compact: number;
11
+ readonly comfort: number;
12
+ };
13
+ /** Visible header bar height. Gap under the bar is CSS margin on the pinned header, not extra headerHeight — stuffing 12px into headerHeight made the bar read as 52px. */
14
+ export declare const AG_GRID_LIST_HEADER_HEIGHT_PX = 40;
15
+ export type { AgGridVisualVariant } from './ag-grid.types';
16
+ export declare const customAgGridListTheme: import('ag-stack').Theme<unknown>;
@@ -0,0 +1,23 @@
1
+ import { customAgGridTheme as o } from "./theme.js";
2
+ const e = 48, r = 12, _ = e + r, s = {
3
+ default: _,
4
+ compact: 30 + r,
5
+ comfort: 52 + r
6
+ }, t = 40, a = o.withParams({
7
+ columnBorder: !1,
8
+ rowBorder: !1,
9
+ headerColumnBorder: !1,
10
+ headerRowBorder: !1,
11
+ wrapperBorder: !1,
12
+ headerHeight: t,
13
+ // Card hover/selection is list CSS (::before on .ag-row); avoid full-slot theme overlay.
14
+ rowHoverColor: "transparent"
15
+ });
16
+ export {
17
+ e as AG_GRID_LIST_CARD_HEIGHT_PX,
18
+ t as AG_GRID_LIST_HEADER_HEIGHT_PX,
19
+ r as AG_GRID_LIST_ROW_GAP_PX,
20
+ s as AG_GRID_LIST_ROW_HEIGHT_BY_DENSITY,
21
+ _ as AG_GRID_LIST_ROW_HEIGHT_PX,
22
+ a as customAgGridListTheme
23
+ };
@@ -1,12 +1,16 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ColDef, ColGroupDef, IHeaderParams, IHeaderGroupParams, Column, ValueFormatterParams } from 'ag-grid-community';
3
3
  import { Theme } from 'ag-grid-enterprise';
4
+ import { FiscalPickerProps } from '../../forms/date-picker/date-picker.types';
5
+ import { FiscalCalendarConfig } from '../../../lib/fiscal-calendar';
4
6
  import { AgGridReactProps } from 'ag-grid-react';
5
7
  /** ColDef extended with Impact Nova runtime metadata set during column processing */
6
8
  export interface ImpactNovaColDef<TData = unknown> extends ColDef<TData> {
7
9
  /** Original column-level editable before addRowDataEditableCheck wraps the callback */
8
10
  _originalEditable?: boolean;
9
11
  }
12
+ /** Visual skin for `AgGridWrapper` / `DataTableContent`. */
13
+ export type AgGridVisualVariant = 'table' | 'list';
10
14
  /**
11
15
  * Extended header component params for custom header
12
16
  * Extends IHeaderParams to include all AG Grid header properties plus custom ones
@@ -44,15 +48,18 @@ export interface ExtendedHeaderComponentParams extends Partial<IHeaderParams> {
44
48
  datePickerVariant?: 'date' | 'month' | 'week';
45
49
  /** Display format for dates in this column (date-fns token string). Default: "MM/dd/yyyy" */
46
50
  dateDisplayFormat?: string;
47
- /** Fiscal calendar configuration for week/month picker */
48
- fiscalConfig?: {
49
- calendarKind?: 'gregorian' | 'fiscal';
50
- fiscalMode?: 'basic' | 'advanced' | 'custom';
51
- granularity?: 'day' | 'week' | 'period' | 'quarter' | 'year';
52
- fiscalMonthPattern?: number[];
53
- fiscalYearStartMonth?: number;
54
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
55
- };
51
+ /**
52
+ * Fiscal options — same sibling shape as form `week_range` / FiscalPickerProps:
53
+ * calendarKind, fiscalMode, granularity, weekStartsOn, fiscalYearStartMonth,
54
+ * fiscalConfig: { kind: 'retail' | 'shifted-year' | 'custom-table', ... }
55
+ */
56
+ calendarKind?: FiscalPickerProps['calendarKind'];
57
+ fiscalMode?: FiscalPickerProps['fiscalMode'];
58
+ granularity?: FiscalPickerProps['granularity'];
59
+ fiscalMonthPattern?: FiscalPickerProps['fiscalMonthPattern'];
60
+ fiscalYearStartMonth?: FiscalPickerProps['fiscalYearStartMonth'];
61
+ weekStartsOn?: FiscalPickerProps['weekStartsOn'];
62
+ fiscalConfig?: FiscalCalendarConfig;
56
63
  /** Generic info data for the info modal */
57
64
  infoData?: InfoContent;
58
65
  /** How to display the information (tooltip or modal) */
@@ -145,6 +152,11 @@ export interface AgGridWrapperProps<TData = unknown> extends Omit<AgGridReactPro
145
152
  * Application code must rely on document CSS variables and the default theme.
146
153
  */
147
154
  themeOverride?: Theme;
155
+ /**
156
+ * Visual skin. `"table"` is the default grid chrome. `"list"` keeps the same
157
+ * column model (sort, filter, search, pagination, SSRM) with card-row styling.
158
+ */
159
+ variant?: AgGridVisualVariant;
148
160
  }
149
161
  /**
150
162
  * Filter operators for advanced filtering.
@@ -0,0 +1,14 @@
1
+ import { ICellEditorParams } from 'ag-grid-community';
2
+ import { SelectOption } from '../types';
3
+ export interface ListSelectCellEditorProps extends ICellEditorParams {
4
+ options?: SelectOption[];
5
+ placeholder?: string;
6
+ isSearchable?: boolean;
7
+ isClearable?: boolean;
8
+ onValueChange?: (value: string | null) => void;
9
+ }
10
+ /**
11
+ * List-skin select editor. Real Select trigger so display and edit chrome match
12
+ * (32px field, border, clear + chevron). Table grids keep `SelectCellEditor`.
13
+ */
14
+ export declare const ListSelectCellEditor: import('react').ForwardRefExoticComponent<ListSelectCellEditorProps & import('react').RefAttributes<unknown>>;
@@ -0,0 +1,70 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as E, useState as D, useRef as O, useImperativeHandle as R, useCallback as r } from "react";
3
+ import { Select as j } from "../../../../forms/select/select.js";
4
+ import { cn as y } from "../../../../../lib/utils.js";
5
+ const I = E((g, C) => {
6
+ const {
7
+ value: l,
8
+ options: v = [],
9
+ placeholder: h = "Select...",
10
+ isSearchable: S = !0,
11
+ isClearable: b = !0,
12
+ stopEditing: i,
13
+ onValueChange: u,
14
+ colDef: w
15
+ } = g, M = w?.cellRendererParams?.triggerClassName, t = l && typeof l == "object" && "value" in l, o = t ? l.cellMetadata : void 0, c = t ? l.value : l, d = v.map((e) => ({
16
+ value: e.value,
17
+ label: e.label,
18
+ isDisabled: e.isDisabled
19
+ })), [s, f] = D(
20
+ c != null ? String(c) : null
21
+ ), m = O(!1);
22
+ R(C, () => ({
23
+ getValue() {
24
+ return t ? {
25
+ value: s,
26
+ ...o !== void 0 && { cellMetadata: o }
27
+ } : s;
28
+ },
29
+ isCancelBeforeStart() {
30
+ return !1;
31
+ },
32
+ isCancelAfterEnd() {
33
+ return !1;
34
+ },
35
+ isPopup() {
36
+ return !1;
37
+ }
38
+ }));
39
+ const N = d.find((e) => e.value === s) ?? null, a = r(() => {
40
+ m.current || (m.current = !0, i());
41
+ }, [i]), x = r(
42
+ (e) => {
43
+ const p = e ? e.value : null;
44
+ f(p), u?.(p), a();
45
+ },
46
+ [a, f, u]
47
+ ), V = r(() => {
48
+ a();
49
+ }, [a]);
50
+ return /* @__PURE__ */ n("div", { className: "flex h-full w-full min-w-0 items-center ag-cell-inner-padding", children: /* @__PURE__ */ n("div", { className: y("min-w-0 flex-1", M), children: /* @__PURE__ */ n(
51
+ j,
52
+ {
53
+ options: d,
54
+ value: N,
55
+ onChange: x,
56
+ onMenuClose: V,
57
+ placeholder: h,
58
+ isSearchable: S,
59
+ isClearable: b,
60
+ isMulti: !1,
61
+ defaultMenuIsOpen: !0,
62
+ className: "w-full max-w-full",
63
+ parentClassName: "w-full max-w-full gap-0"
64
+ }
65
+ ) }) });
66
+ });
67
+ I.displayName = "ListSelectCellEditor";
68
+ export {
69
+ I as ListSelectCellEditor
70
+ };
@@ -11,6 +11,14 @@ export interface SelectCellEditorProps extends ICellEditorParams {
11
11
  isClearable?: boolean;
12
12
  /** Optional callback when value changes */
13
13
  onValueChange?: (value: string | null) => void;
14
+ /** Force-show AI sparkle (same contract as SelectDisplayRenderer) */
15
+ showAiInsight?: boolean;
16
+ aiInsightField?: string;
17
+ confidenceScore?: number;
18
+ confidenceScoreField?: string;
19
+ confidenceReason?: string;
20
+ confidenceReasonField?: string;
21
+ confidenceLabel?: string;
14
22
  }
15
23
  /**
16
24
  * SelectCellEditor - AG Grid cell editor using impact-nova's Select component.
@@ -18,11 +26,8 @@ export interface SelectCellEditorProps extends ICellEditorParams {
18
26
  * Mounted by AG Grid when a cell enters edit mode. The Select dropdown opens
19
27
  * automatically on mount so the user doesn't need a second click.
20
28
  *
21
- * The editor visually matches the SelectDisplayRenderer — same outer wrapper
22
- * with `in-ag-editable-cell-highlight`, same inner white rounded div with chevron.
23
- * The Select trigger is styled to blend in seamlessly.
24
- *
25
- * Only holds a single piece of state: the currently selected value.
29
+ * Layout matches SelectDisplayRenderer (select + optional AI sparkle) so the
30
+ * sparkle does not disappear while editing.
26
31
  *
27
32
  * Usage in colDef:
28
33
  * ```ts
@@ -1,28 +1,37 @@
1
- import { jsx as g } from "react/jsx-runtime";
2
- import { forwardRef as E, useState as N, useRef as O, useImperativeHandle as j, useCallback as s } from "react";
3
- import { Select as w } from "../../../../forms/select/select.js";
4
- const D = E((h, m) => {
1
+ import { jsxs as O, jsx as i } from "react/jsx-runtime";
2
+ import { forwardRef as y, useState as F, useRef as k, useImperativeHandle as B, useCallback as c } from "react";
3
+ import { Select as H } from "../../../../forms/select/select.js";
4
+ import { SelectAiInsightAffordance as L } from "../select-ai-insight-affordance.js";
5
+ const P = y((g, b) => {
5
6
  const {
6
7
  value: l,
7
8
  options: v = [],
8
9
  placeholder: C = "Select...",
9
- isSearchable: b = !0,
10
- isClearable: S = !0,
10
+ isSearchable: S = !0,
11
+ isClearable: w = !0,
11
12
  stopEditing: r,
12
- onValueChange: o
13
- } = h, a = l && typeof l == "object" && "value" in l, u = a ? l.cellMetadata : void 0, i = a ? l.value : l, c = v.map((e) => ({
13
+ onValueChange: u,
14
+ data: t,
15
+ showAiInsight: x,
16
+ aiInsightField: M,
17
+ confidenceScore: V,
18
+ confidenceScoreField: j,
19
+ confidenceReason: D,
20
+ confidenceReasonField: E,
21
+ confidenceLabel: I
22
+ } = g, n = l && typeof l == "object" && "value" in l, o = n ? l.cellMetadata : void 0, d = n ? l.value : l, f = v.map((e) => ({
14
23
  value: e.value,
15
24
  label: e.label,
16
25
  isDisabled: e.isDisabled
17
- })), [n, d] = N(
18
- i != null ? String(i) : null
19
- ), f = O(!1);
20
- j(m, () => ({
26
+ })), [s, p] = F(
27
+ d != null ? String(d) : null
28
+ ), h = k(!1);
29
+ B(b, () => ({
21
30
  getValue() {
22
- return a ? {
23
- value: n,
24
- ...u !== void 0 && { cellMetadata: u }
25
- } : n;
31
+ return n ? {
32
+ value: s,
33
+ ...o !== void 0 && { cellMetadata: o }
34
+ } : s;
26
35
  },
27
36
  isCancelBeforeStart() {
28
37
  return !1;
@@ -34,35 +43,58 @@ const D = E((h, m) => {
34
43
  return !0;
35
44
  }
36
45
  }));
37
- const M = c.find((e) => e.value === n) ?? null, t = s(() => {
38
- f.current || (f.current = !0, r());
39
- }, [r]), V = s(
46
+ const N = f.find((e) => e.value === s) ?? null, a = c(() => {
47
+ h.current || (h.current = !0, r());
48
+ }, [r]), R = c(
40
49
  (e) => {
41
- const p = e ? e.value : null;
42
- d(p), o?.(p), t();
50
+ const m = e ? e.value : null;
51
+ p(m), u?.(m), a();
43
52
  },
44
- [t, d, o]
45
- ), x = s(() => {
46
- t();
47
- }, [t]);
48
- return /* @__PURE__ */ g("div", { className: "w-full h-full flex items-center ag-cell-inner-padding ag-editable-cell-highlight", children: /* @__PURE__ */ g(
49
- w,
53
+ [a, u, p]
54
+ ), A = c(() => {
55
+ a();
56
+ }, [a]);
57
+ return /* @__PURE__ */ O(
58
+ "div",
50
59
  {
51
- options: c,
52
- value: M,
53
- onChange: V,
54
- onMenuClose: x,
55
- placeholder: C,
56
- isSearchable: b,
57
- isClearable: S,
58
- isMulti: !1,
59
- defaultMenuIsOpen: !0,
60
- className: "!border-none !shadow-none !ring-0 !h-7 !rounded-[8px] !px-1.5",
61
- parentClassName: "!w-full !gap-0"
60
+ className: "box-border flex h-full w-full min-w-0 items-center gap-2 ps-2 pe-2.5 ag-editable-cell-highlight",
61
+ "data-component": "select-cell-editor",
62
+ children: [
63
+ /* @__PURE__ */ i("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ i(
64
+ H,
65
+ {
66
+ options: f,
67
+ value: N,
68
+ onChange: R,
69
+ onMenuClose: A,
70
+ placeholder: C,
71
+ isSearchable: S,
72
+ isClearable: w,
73
+ isMulti: !1,
74
+ defaultMenuIsOpen: !0,
75
+ className: "!border-none !shadow-none !ring-0 !h-7 !rounded-[8px] !px-1.5",
76
+ parentClassName: "!w-full !gap-0"
77
+ }
78
+ ) }),
79
+ /* @__PURE__ */ i(
80
+ L,
81
+ {
82
+ showAiInsight: x,
83
+ aiInsightField: M,
84
+ confidenceScore: V,
85
+ confidenceScoreField: j,
86
+ confidenceReason: D,
87
+ confidenceReasonField: E,
88
+ confidenceLabel: I,
89
+ data: t && typeof t == "object" ? t : null,
90
+ cellMetadata: o
91
+ }
92
+ )
93
+ ]
62
94
  }
63
- ) });
95
+ );
64
96
  });
65
- D.displayName = "SelectCellEditor";
97
+ P.displayName = "SelectCellEditor";
66
98
  export {
67
- D as SelectCellEditor
99
+ P as SelectCellEditor
68
100
  };
@@ -12,6 +12,8 @@ export { LinkCellRenderer } from './link-with-batch-cell-renderer';
12
12
  export { SplitCellRenderer } from './split-cell-renderer';
13
13
  export { InputDisplayRenderer } from './input-display-renderer';
14
14
  export { SelectDisplayRenderer } from './select-display-renderer';
15
+ export { StyleDescriptionDisplayRenderer } from './style-description-display-renderer';
16
+ export { ListSelectDisplayRenderer } from './list-select-display-renderer';
15
17
  export { CheckboxDisplayRenderer } from './checkbox-display-renderer';
16
18
  export { SwitchDisplayRenderer } from './switch-display-renderer';
17
19
  export { TextAreaDisplayRenderer } from './textarea-display-renderer';
@@ -19,6 +21,7 @@ export { DateDisplayRenderer } from './date-display-renderer';
19
21
  export { PercentProgressDisplayRenderer } from './percent-progress-display-renderer';
20
22
  export { InputCellEditor } from './editors/input-cell-editor';
21
23
  export { SelectCellEditor } from './editors/select-cell-editor';
24
+ export { ListSelectCellEditor } from './editors/list-select-cell-editor';
22
25
  export { TextAreaCellEditor } from './editors/textarea-cell-editor';
23
26
  export { DateCellEditor } from './editors/date-cell-editor';
24
27
  export { SplitCellEditor } from './editors/split-cell-editor';
@@ -28,11 +31,15 @@ export type { StatusBadgeRendererProps } from './status-badge-renderer';
28
31
  export type { ActionsCellRendererProps } from './actions-cell-renderer';
29
32
  export type { InputDisplayRendererProps } from './input-display-renderer';
30
33
  export type { SelectDisplayRendererProps } from './select-display-renderer';
34
+ export type { SelectAiInsightMetadata } from './select-ai-insight-affordance';
35
+ export type { StyleDescriptionDisplayRendererProps, StyleDescriptionCellValue, } from './style-description-display-renderer';
36
+ export type { ListSelectDisplayRendererProps } from './list-select-display-renderer';
31
37
  export type { SplitCellRendererProps } from './split-cell-renderer';
32
38
  export type { InputCellEditorProps } from './editors/input-cell-editor';
33
39
  export type { PercentProgressDisplayRendererProps } from './percent-progress-display-renderer';
34
40
  export type { PercentProgressCellEditorProps } from './editors/percent-progress-cell-editor';
35
41
  export type { SelectCellEditorProps } from './editors/select-cell-editor';
42
+ export type { ListSelectCellEditorProps } from './editors/list-select-cell-editor';
36
43
  export type { SplitCellEditorProps } from './editors/split-cell-editor';
37
44
  export type { AutocompleteRule } from './editors/input-cell-editor';
38
45
  export { type BadgeVariant, type BadgeColor, type SelectOption, type ActionButton, type RightSideIcon, type RightSideBadge, type RightSideContentItem, type RightSideContent, type SplitConfig, type CellMetadata, type RowMetadata, type ValueFormatter, } from './types';
@@ -1,24 +1,27 @@
1
- import { EmptyCellRenderer as a } from "./empty-cell-renderer.js";
1
+ import { EmptyCellRenderer as p } from "./empty-cell-renderer.js";
2
2
  import { BadgeCellRenderer as d } from "./badge-cell-renderer.js";
3
- import { StatusBadgeRenderer as i } from "./status-badge-renderer.js";
3
+ import { StatusBadgeRenderer as n } from "./status-badge-renderer.js";
4
4
  import { ActionsCellRenderer as x } from "./actions-cell-renderer.js";
5
5
  import { LinkCellRenderer as s } from "./link-with-batch-cell-renderer.js";
6
6
  import { SplitCellRenderer as R } from "./split-cell-renderer.js";
7
7
  import { InputDisplayRenderer as D } from "./input-display-renderer.js";
8
8
  import { SelectDisplayRenderer as g } from "./select-display-renderer.js";
9
- import { CheckboxDisplayRenderer as u } from "./checkbox-display-renderer.js";
10
- import { SwitchDisplayRenderer as _ } from "./switch-display-renderer.js";
11
- import { TextAreaDisplayRenderer as N } from "./textarea-display-renderer.js";
12
- import { DateDisplayRenderer as S } from "./date-display-renderer.js";
13
- import { PercentProgressDisplayRenderer as I } from "./percent-progress-display-renderer.js";
14
- import { InputCellEditor as B } from "./editors/input-cell-editor.js";
15
- import { SelectCellEditor as b } from "./editors/select-cell-editor.js";
16
- import { TextAreaCellEditor as k } from "./editors/textarea-cell-editor.js";
17
- import { DateCellEditor as O } from "./editors/date-cell-editor.js";
18
- import { SplitCellEditor as w } from "./editors/split-cell-editor.js";
19
- import { PercentProgressCellEditor as j } from "./editors/percent-progress-cell-editor.js";
20
- import { applyValueFormatter as z, evaluateValidationRules as H, getFieldValue as J, mapBadgeColor as K, mapBadgeVariant as M, resolveCellEditable as Q, resolveValueFormatter as W } from "./cell-renderer-utils.js";
21
- import { addRowDataEditableCheck as Y } from "../editable-utils.js";
9
+ import { StyleDescriptionDisplayRenderer as L } from "./style-description-display-renderer.js";
10
+ import { ListSelectDisplayRenderer as S } from "./list-select-display-renderer.js";
11
+ import { CheckboxDisplayRenderer as A } from "./checkbox-display-renderer.js";
12
+ import { SwitchDisplayRenderer as P } from "./switch-display-renderer.js";
13
+ import { TextAreaDisplayRenderer as I } from "./textarea-display-renderer.js";
14
+ import { DateDisplayRenderer as B } from "./date-display-renderer.js";
15
+ import { PercentProgressDisplayRenderer as b } from "./percent-progress-display-renderer.js";
16
+ import { InputCellEditor as k } from "./editors/input-cell-editor.js";
17
+ import { SelectCellEditor as O } from "./editors/select-cell-editor.js";
18
+ import { ListSelectCellEditor as w } from "./editors/list-select-cell-editor.js";
19
+ import { TextAreaCellEditor as j } from "./editors/textarea-cell-editor.js";
20
+ import { DateCellEditor as z } from "./editors/date-cell-editor.js";
21
+ import { SplitCellEditor as J } from "./editors/split-cell-editor.js";
22
+ import { PercentProgressCellEditor as M } from "./editors/percent-progress-cell-editor.js";
23
+ import { applyValueFormatter as W, evaluateValidationRules as X, getFieldValue as Y, mapBadgeColor as Z, mapBadgeVariant as $, resolveCellEditable as ee, resolveValueFormatter as re } from "./cell-renderer-utils.js";
24
+ import { addRowDataEditableCheck as te } from "../editable-utils.js";
22
25
  const e = "ag-cell-no-padding", r = "ag-cell-renderer-full-control", o = "ag-cell-inner-padding";
23
26
  export {
24
27
  r as AG_CELL_FULL_CONTROL,
@@ -26,29 +29,32 @@ export {
26
29
  e as AG_CELL_NO_PADDING,
27
30
  x as ActionsCellRenderer,
28
31
  d as BadgeCellRenderer,
29
- u as CheckboxDisplayRenderer,
30
- O as DateCellEditor,
31
- S as DateDisplayRenderer,
32
- a as EmptyCellRenderer,
33
- B as InputCellEditor,
32
+ A as CheckboxDisplayRenderer,
33
+ z as DateCellEditor,
34
+ B as DateDisplayRenderer,
35
+ p as EmptyCellRenderer,
36
+ k as InputCellEditor,
34
37
  D as InputDisplayRenderer,
35
38
  s as LinkCellRenderer,
36
- j as PercentProgressCellEditor,
37
- I as PercentProgressDisplayRenderer,
38
- b as SelectCellEditor,
39
+ w as ListSelectCellEditor,
40
+ S as ListSelectDisplayRenderer,
41
+ M as PercentProgressCellEditor,
42
+ b as PercentProgressDisplayRenderer,
43
+ O as SelectCellEditor,
39
44
  g as SelectDisplayRenderer,
40
- w as SplitCellEditor,
45
+ J as SplitCellEditor,
41
46
  R as SplitCellRenderer,
42
- i as StatusBadgeRenderer,
43
- _ as SwitchDisplayRenderer,
44
- k as TextAreaCellEditor,
45
- N as TextAreaDisplayRenderer,
46
- Y as addRowDataEditableCheck,
47
- z as applyValueFormatter,
48
- H as evaluateValidationRules,
49
- J as getFieldValue,
50
- K as mapBadgeColor,
51
- M as mapBadgeVariant,
52
- Q as resolveCellEditable,
53
- W as resolveValueFormatter
47
+ n as StatusBadgeRenderer,
48
+ L as StyleDescriptionDisplayRenderer,
49
+ P as SwitchDisplayRenderer,
50
+ j as TextAreaCellEditor,
51
+ I as TextAreaDisplayRenderer,
52
+ te as addRowDataEditableCheck,
53
+ W as applyValueFormatter,
54
+ X as evaluateValidationRules,
55
+ Y as getFieldValue,
56
+ Z as mapBadgeColor,
57
+ $ as mapBadgeVariant,
58
+ ee as resolveCellEditable,
59
+ re as resolveValueFormatter
54
60
  };
@@ -0,0 +1,19 @@
1
+ import { ICellRendererParams } from 'ag-grid-community';
2
+ import { SelectOption } from './types';
3
+ export interface ListSelectDisplayRendererProps extends ICellRendererParams {
4
+ options?: SelectOption[];
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ isClearable?: boolean;
8
+ triggerClassName?: string;
9
+ }
10
+ /**
11
+ * List-skin select display. Impersonates the Select trigger (32px field, border,
12
+ * clear + chevron) without mounting a Select per virtualized row.
13
+ *
14
+ * Table grids keep `SelectDisplayRenderer`.
15
+ */
16
+ export declare const ListSelectDisplayRenderer: {
17
+ (props: ListSelectDisplayRendererProps): import("react/jsx-runtime").JSX.Element;
18
+ displayName: string;
19
+ };
@@ -0,0 +1,89 @@
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
+ import { Cross as N, ChevronRight as D } from "impact-nova-icons";
3
+ import { cn as r } from "../../../../lib/utils.js";
4
+ import { selectTriggerVariants as j } from "../../../forms/select/select.variants.js";
5
+ const C = (b) => {
6
+ const {
7
+ value: l,
8
+ options: g = [],
9
+ placeholder: h = "Select...",
10
+ disabled: i,
11
+ isClearable: x = !0,
12
+ triggerClassName: w,
13
+ colDef: o,
14
+ data: s,
15
+ setValue: v
16
+ } = b, d = l && typeof l == "object" && "cellMetadata" in l ? l.cellMetadata?._isDisabled : void 0, f = s && typeof s == "object" && "rowMetadata" in s ? s.rowMetadata?._isDisabled : void 0;
17
+ let e = !1;
18
+ if (!i) {
19
+ const a = o?._originalEditable;
20
+ o?.editable === !1 ? e = !1 : d === !1 ? e = !0 : d === !0 ? e = !1 : f === !1 ? e = !0 : f === !0 ? e = !1 : e = a === !0 || o?.editable === !0;
21
+ }
22
+ const n = l && typeof l == "object" && "value" in l ? l.value : l, u = g.find((a) => a.value === String(n ?? ""))?.label ?? (n != null && n !== "" ? String(n) : ""), c = !u, y = x && e && !c && !i, p = (a) => {
23
+ a.preventDefault(), a.stopPropagation(), v?.(null);
24
+ };
25
+ return /* @__PURE__ */ t(
26
+ "div",
27
+ {
28
+ className: r(
29
+ "flex h-full w-full min-w-0 items-center ag-cell-inner-padding",
30
+ i && "cursor-not-allowed opacity-60",
31
+ !i && e && "in-ag-editable-cell-highlight"
32
+ ),
33
+ children: /* @__PURE__ */ t("div", { className: r("min-w-0 flex-1", w), children: /* @__PURE__ */ t(
34
+ "div",
35
+ {
36
+ className: r(
37
+ j({
38
+ size: "default",
39
+ error: !1,
40
+ disabled: !!i,
41
+ readOnly: !e,
42
+ open: !1
43
+ }),
44
+ "w-full max-w-full"
45
+ ),
46
+ "data-component": "select-trigger",
47
+ children: /* @__PURE__ */ m("div", { className: "flex w-full min-w-0 max-w-full items-center justify-between", children: [
48
+ /* @__PURE__ */ t(
49
+ "span",
50
+ {
51
+ className: r(
52
+ "block min-w-0 truncate text-[14px] text-content",
53
+ c ? "font-normal text-content-placeholder" : "font-normal"
54
+ ),
55
+ children: c ? h : u
56
+ }
57
+ ),
58
+ e ? /* @__PURE__ */ m("div", { className: "flex shrink-0 items-center gap-1 text-content-icon", children: [
59
+ y ? /* @__PURE__ */ t(
60
+ "span",
61
+ {
62
+ role: "presentation",
63
+ "data-clear-button": !0,
64
+ "aria-label": "Clear selection",
65
+ className: "relative z-10 inline-flex cursor-pointer p-0.5 hover:text-content-secondary",
66
+ onPointerDown: p,
67
+ onClick: p,
68
+ children: /* @__PURE__ */ t(N, { size: "11px", className: "text-content-icon" })
69
+ }
70
+ ) : null,
71
+ /* @__PURE__ */ t(
72
+ D,
73
+ {
74
+ size: "16px",
75
+ "aria-hidden": !0,
76
+ className: "rotate-90 shrink-0"
77
+ }
78
+ )
79
+ ] }) : null
80
+ ] })
81
+ }
82
+ ) })
83
+ }
84
+ );
85
+ };
86
+ C.displayName = "ListSelectDisplayRenderer";
87
+ export {
88
+ C as ListSelectDisplayRenderer
89
+ };
@@ -0,0 +1,28 @@
1
+ export interface SelectAiInsightMetadata {
2
+ /** When true, show the AI sparkle affordance next to the select */
3
+ aiInsight?: boolean;
4
+ /** Confidence 0–100 shown in the hover card */
5
+ confidenceScore?: number;
6
+ /** Supporting copy under the confidence badge */
7
+ confidenceReason?: string;
8
+ }
9
+ export interface SelectAiInsightAffordanceProps {
10
+ showAiInsight?: boolean;
11
+ aiInsightField?: string;
12
+ confidenceScore?: number;
13
+ confidenceScoreField?: string;
14
+ confidenceReason?: string;
15
+ confidenceReasonField?: string;
16
+ confidenceLabel?: string;
17
+ data?: Record<string, unknown> | null;
18
+ cellMetadata?: SelectAiInsightMetadata;
19
+ className?: string;
20
+ }
21
+ /**
22
+ * Iris sparkle + optional confidence HoverCard for select cells.
23
+ * Stops mouse events from bubbling so AG Grid does not start cell edit.
24
+ */
25
+ export declare function SelectAiInsightAffordance(props: SelectAiInsightAffordanceProps): import("react/jsx-runtime").JSX.Element | null;
26
+ export declare namespace SelectAiInsightAffordance {
27
+ var displayName: string;
28
+ }