impact-nova 2.6.3 → 3.0.0-alpha.1

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 (456) hide show
  1. package/dist/_virtual/_commonjsHelpers.js +6 -0
  2. package/dist/_virtual/index.js +7 -0
  3. package/dist/_virtual/index2.js +7 -0
  4. package/dist/_virtual/index3.js +4 -0
  5. package/dist/_virtual/utilities.js +4 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  7. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  8. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  9. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  13. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  14. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  16. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  19. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  20. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  21. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  22. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  23. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  25. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
  26. package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
  27. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  28. package/dist/components/data/ag-grid-react/index.js +162 -146
  29. package/dist/components/data/data-table/data-table.js +85 -82
  30. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  31. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
  32. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  33. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  34. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  35. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  36. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  37. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  38. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  39. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  40. package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
  41. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  42. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  43. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  44. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  45. package/dist/components/data-display/chart/chart.js +100 -93
  46. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  47. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  48. package/dist/components/data-display/chart/chart.utils.js +132 -35
  49. package/dist/components/data-display/chart/index.js +15 -13
  50. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  51. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  52. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  53. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  54. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  55. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  56. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  57. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  58. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  59. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  60. package/dist/components/data-display/globe-map/index.js +10 -0
  61. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  62. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  67. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  68. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  69. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  70. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  71. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  72. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  73. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  74. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  75. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  76. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  77. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  78. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  79. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  80. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  81. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  82. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  83. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  84. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  102. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  103. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  104. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  105. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  106. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  107. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  108. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  109. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  110. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  111. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  112. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  113. package/dist/components/data-display/notch-card/index.js +6 -0
  114. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  115. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  116. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  117. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  118. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  119. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  120. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  121. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  122. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  123. package/dist/components/feedback/popover/popover.js +1 -1
  124. package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
  125. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  126. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  127. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  128. package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
  129. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  130. package/dist/components/flows/filter-strip/index.js +4 -2
  131. package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
  132. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  133. package/dist/components/flows/iris-chat/index.js +55 -0
  134. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  135. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  136. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  137. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  138. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  139. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  140. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  141. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  142. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  143. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  144. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  145. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  146. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  147. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  148. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  149. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  150. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  151. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  152. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  153. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  154. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  155. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  156. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  157. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  158. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  159. package/dist/components/flows/wizard/index.d.ts +2 -2
  160. package/dist/components/flows/wizard/index.js +17 -13
  161. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  162. package/dist/components/flows/wizard/wizard-context.js +15 -7
  163. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  164. package/dist/components/flows/wizard/wizard.js +278 -174
  165. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  166. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  167. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  168. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  169. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  170. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  171. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  172. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  173. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  174. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  175. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  176. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  177. package/dist/components/forms/choice-card/choice-card.js +651 -170
  178. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  179. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  180. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  181. package/dist/components/forms/choice-card/index.d.ts +2 -1
  182. package/dist/components/forms/choice-card/index.js +27 -10
  183. package/dist/components/forms/combobox/combobox.js +1 -1
  184. package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
  185. package/dist/components/layout/header/header.d.ts +3 -2
  186. package/dist/components/layout/header/header.js +67 -47
  187. package/dist/components/layout/header/header.types.d.ts +1 -0
  188. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  189. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  190. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  191. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  192. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  193. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  194. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  195. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  196. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  197. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  198. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  199. package/dist/components/primitives/iris/iris.d.ts +24 -0
  200. package/dist/components/primitives/iris/iris.js +232 -0
  201. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  202. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  203. package/dist/components/primitives/iris/iris.variants.js +120 -0
  204. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  205. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  206. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  207. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  208. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  209. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  210. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  211. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  212. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  213. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  214. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  215. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  216. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  217. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  218. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  219. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  220. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  221. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  222. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  223. package/dist/components/primitives/stepper/stepper.js +134 -52
  224. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  225. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  226. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  227. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  228. package/dist/components/primitives/tabs/tabs.js +131 -59
  229. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  230. package/dist/i18n/defaultMessages.d.ts +100 -0
  231. package/dist/i18n/defaultMessages.js +118 -21
  232. package/dist/i18n/index.d.ts +1 -1
  233. package/dist/i18n/locales/de.js +99 -2
  234. package/dist/i18n/locales/es.js +99 -2
  235. package/dist/i18n/locales/hi.js +99 -2
  236. package/dist/i18n/locales/kn.js +99 -2
  237. package/dist/impact-nova-components.css +972 -2
  238. package/dist/impact-nova-tokens.scss +109 -1
  239. package/dist/impact-nova.css +1 -1
  240. package/dist/index.d.ts +1 -1
  241. package/dist/index.js +585 -551
  242. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  243. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  244. package/dist/lib/virtualized/index.d.ts +3 -0
  245. package/dist/lib/virtualized/index.js +35 -27
  246. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  247. package/dist/lib/virtualized/scroll-seek.js +61 -0
  248. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  249. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  250. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  251. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  252. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  253. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  254. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  255. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  256. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  257. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  258. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  259. package/dist/llms/rules/installation.js +1 -1
  260. package/dist/llms/rules/requirements.js +1 -1
  261. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
  262. package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
  263. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
  264. package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
  265. package/dist/node_modules/bail/index.js +7 -0
  266. package/dist/node_modules/ccount/index.js +12 -0
  267. package/dist/node_modules/comma-separated-tokens/index.js +9 -0
  268. package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
  269. package/dist/node_modules/devlop/lib/default.js +8 -0
  270. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
  271. package/dist/node_modules/extend/index.js +43 -0
  272. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
  273. package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
  274. package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
  275. package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
  276. package/dist/node_modules/is-plain-obj/index.js +9 -0
  277. package/dist/node_modules/longest-streak/index.js +12 -0
  278. package/dist/node_modules/markdown-table/index.js +75 -0
  279. package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
  280. package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
  281. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
  282. package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
  283. package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
  284. package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
  285. package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
  286. package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
  287. package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
  288. package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
  289. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
  290. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
  291. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
  292. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
  293. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
  294. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
  295. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
  296. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
  297. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
  298. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
  299. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
  300. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  301. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
  302. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
  303. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
  304. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
  305. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
  306. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
  307. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
  308. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
  309. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
  310. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
  311. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
  312. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
  313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
  314. package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
  315. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
  316. package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
  317. package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
  318. package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
  319. package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
  320. package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
  321. package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
  322. package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
  323. package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
  324. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
  325. package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
  326. package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
  327. package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
  328. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
  329. package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
  330. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
  331. package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
  332. package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
  333. package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
  334. package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
  335. package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
  336. package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
  337. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
  338. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
  339. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
  340. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
  341. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
  342. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
  343. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
  344. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
  345. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
  346. package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
  347. package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
  348. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
  349. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
  350. package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
  351. package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
  352. package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
  353. package/dist/node_modules/micromark/lib/constructs.js +85 -0
  354. package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
  355. package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
  356. package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
  357. package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
  358. package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
  359. package/dist/node_modules/micromark/lib/parse.js +32 -0
  360. package/dist/node_modules/micromark/lib/postprocess.js +9 -0
  361. package/dist/node_modules/micromark/lib/preprocess.js +44 -0
  362. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
  363. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
  364. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
  365. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
  366. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
  367. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
  368. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
  369. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
  370. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  371. package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
  372. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
  373. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
  374. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
  375. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
  376. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  377. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
  378. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
  379. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
  380. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
  381. package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
  382. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
  383. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
  384. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
  385. package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
  386. package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
  387. package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
  388. package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
  389. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
  390. package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
  391. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
  392. package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
  393. package/dist/node_modules/micromark-factory-destination/index.js +31 -0
  394. package/dist/node_modules/micromark-factory-label/index.js +28 -0
  395. package/dist/node_modules/micromark-factory-space/index.js +29 -0
  396. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  397. package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
  398. package/dist/node_modules/micromark-util-character/index.js +39 -0
  399. package/dist/node_modules/micromark-util-chunked/index.js +16 -0
  400. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  401. package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
  402. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
  403. package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
  404. package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
  405. package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
  406. package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
  407. package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
  408. package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
  409. package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
  410. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
  411. package/dist/node_modules/property-information/index.js +12 -0
  412. package/dist/node_modules/property-information/lib/aria.js +61 -0
  413. package/dist/node_modules/property-information/lib/find.js +33 -0
  414. package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
  415. package/dist/node_modules/property-information/lib/html.js +378 -0
  416. package/dist/node_modules/property-information/lib/normalize.js +6 -0
  417. package/dist/node_modules/property-information/lib/svg.js +568 -0
  418. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
  419. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
  420. package/dist/node_modules/property-information/lib/util/create.js +19 -0
  421. package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
  422. package/dist/node_modules/property-information/lib/util/info.js +28 -0
  423. package/dist/node_modules/property-information/lib/util/merge.js +10 -0
  424. package/dist/node_modules/property-information/lib/util/schema.js +21 -0
  425. package/dist/node_modules/property-information/lib/util/types.js +14 -0
  426. package/dist/node_modules/property-information/lib/xlink.js +19 -0
  427. package/dist/node_modules/property-information/lib/xml.js +11 -0
  428. package/dist/node_modules/property-information/lib/xmlns.js +11 -0
  429. package/dist/node_modules/react-markdown/lib/index.js +102 -0
  430. package/dist/node_modules/remark-gfm/lib/index.js +13 -0
  431. package/dist/node_modules/remark-parse/lib/index.js +19 -0
  432. package/dist/node_modules/remark-rehype/lib/index.js +18 -0
  433. package/dist/node_modules/space-separated-tokens/index.js +6 -0
  434. package/dist/node_modules/style-to-js/cjs/index.js +20 -0
  435. package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
  436. package/dist/node_modules/style-to-object/cjs/index.js +28 -0
  437. package/dist/node_modules/trim-lines/index.js +28 -0
  438. package/dist/node_modules/trough/lib/index.js +60 -0
  439. package/dist/node_modules/unified/lib/callable-instance.js +25 -0
  440. package/dist/node_modules/unified/lib/index.js +529 -0
  441. package/dist/node_modules/unist-util-is/lib/index.js +91 -0
  442. package/dist/node_modules/unist-util-position/lib/index.js +23 -0
  443. package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
  444. package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
  445. package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
  446. package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
  447. package/dist/node_modules/vfile/lib/index.js +406 -0
  448. package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
  449. package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
  450. package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
  451. package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
  452. package/dist/node_modules/vfile-message/lib/index.js +91 -0
  453. package/dist/providers/app-providers.js +13 -11
  454. package/dist/tailwind.config.js +3 -1
  455. package/dist/theme/tailwind-colors.js +2 -1
  456. package/package.json +39 -4
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as getDefaultExportFromCjs
6
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
+ import { __require as o } from "../node_modules/style-to-js/cjs/index.js";
3
+ var t = o();
4
+ const a = /* @__PURE__ */ r(t);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
2
+ import { __require as r } from "../node_modules/extend/index.js";
3
+ var t = r();
4
+ const a = /* @__PURE__ */ e(t);
5
+ export {
6
+ a as default
7
+ };
@@ -0,0 +1,4 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
@@ -0,0 +1,4 @@
1
+ var t = {};
2
+ export {
3
+ t as __exports
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
+ };
@@ -9,6 +9,8 @@ export interface ImpactNovaColDef<TData = unknown> extends ColDef<TData> {
9
9
  /** Original column-level editable before addRowDataEditableCheck wraps the callback */
10
10
  _originalEditable?: boolean;
11
11
  }
12
+ /** Visual skin for `AgGridWrapper` / `DataTableContent`. */
13
+ export type AgGridVisualVariant = 'table' | 'list';
12
14
  /**
13
15
  * Extended header component params for custom header
14
16
  * Extends IHeaderParams to include all AG Grid header properties plus custom ones
@@ -150,6 +152,11 @@ export interface AgGridWrapperProps<TData = unknown> extends Omit<AgGridReactPro
150
152
  * Application code must rely on document CSS variables and the default theme.
151
153
  */
152
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;
153
160
  }
154
161
  /**
155
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
  };
@@ -4,6 +4,8 @@ import { Badge as V } from "../../../data-display/badge/badge.js";
4
4
  import { evaluateValidationRules as I, getFieldValue as m, mapBadgeVariant as L, mapBadgeColor as U } from "./cell-renderer-utils.js";
5
5
  import { resolveGridIcon as H } from "./gridIconResolver.js";
6
6
  import { Tooltip as _, TooltipTrigger as z, TooltipContent as G } from "../../../feedback/tooltip/tooltip.js";
7
+ import "clsx";
8
+ import "tailwind-merge";
7
9
  const M = (e, n, r, a) => {
8
10
  if (!n) return e;
9
11
  let t = e;
@@ -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
+ };