impact-nova 3.0.0-alpha.2 → 3.0.0-alpha.20

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 (294) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.js +4 -4
  4. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +3 -1
  5. package/dist/components/data/ag-grid-react/ag-grid-list.demo-board.d.ts +46 -0
  6. package/dist/components/data/ag-grid-react/ag-grid-list.js +9 -8
  7. package/dist/components/data/ag-grid-react/ag-grid-list.key-attributes.d.ts +1 -0
  8. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +65 -3
  9. package/dist/components/data/ag-grid-react/build-list-drag-column-defs.d.ts +8 -0
  10. package/dist/components/data/ag-grid-react/build-list-drag-column-defs.js +28 -0
  11. package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.d.ts +2 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/badge-cell-renderer.js +15 -14
  13. package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.d.ts +10 -0
  14. package/dist/components/data/ag-grid-react/cell-renderers/badge-icon-registry.js +17 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.d.ts +18 -0
  16. package/dist/components/data/ag-grid-react/cell-renderers/drag-handle-cell-renderer.js +32 -0
  17. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +71 -46
  18. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +48 -45
  19. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +45 -7
  20. package/dist/components/data/ag-grid-react/cell-renderers/index.js +70 -58
  21. package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +88 -76
  22. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +31 -33
  23. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +18 -17
  24. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +5 -11
  25. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +127 -51
  26. package/dist/components/data/ag-grid-react/editable-utils.d.ts +9 -1
  27. package/dist/components/data/ag-grid-react/editable-utils.js +46 -41
  28. package/dist/components/data/ag-grid-react/headers/custom-header.js +110 -108
  29. package/dist/components/data/ag-grid-react/headers/header-search-input.js +203 -199
  30. package/dist/components/data/ag-grid-react/index.d.ts +6 -1
  31. package/dist/components/data/ag-grid-react/index.js +316 -248
  32. package/dist/components/data/ag-grid-react/list-drag-grid-options.d.ts +34 -0
  33. package/dist/components/data/ag-grid-react/list-drag-grid-options.js +110 -0
  34. package/dist/components/data/ag-grid-react/list-drag-preview-card.d.ts +4 -0
  35. package/dist/components/data/ag-grid-react/list-drag-preview-card.js +14 -0
  36. package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.d.ts +20 -0
  37. package/dist/components/data/ag-grid-react/list-drag-preview-snapshot.js +42 -0
  38. package/dist/components/data/ag-grid-react/list-find-highlight.d.ts +6 -0
  39. package/dist/components/data/ag-grid-react/list-find-highlight.js +7 -0
  40. package/dist/components/data/ag-grid-react/list-row-move.d.ts +84 -0
  41. package/dist/components/data/ag-grid-react/list-row-move.js +74 -0
  42. package/dist/components/data/ag-grid-react/numeric-column-header-alignment.d.ts +9 -0
  43. package/dist/components/data/ag-grid-react/numeric-column-header-alignment.js +67 -0
  44. package/dist/components/data/ag-grid-react/process-backend-columndefs.d.ts +10 -2
  45. package/dist/components/data/ag-grid-react/process-backend-columndefs.js +84 -0
  46. package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.d.ts +67 -0
  47. package/dist/components/data/ag-grid-react/use-ag-grid-list-drag.js +162 -0
  48. package/dist/components/data/ag-grid-react/use-list-drag-preview.d.ts +20 -0
  49. package/dist/components/data/ag-grid-react/use-list-drag-preview.js +148 -0
  50. package/dist/components/data/ag-grid-react/use-list-find.d.ts +36 -0
  51. package/dist/components/data/ag-grid-react/use-list-row-drop-zones.d.ts +46 -0
  52. package/dist/components/data/ag-grid-react/use-list-row-drop-zones.js +92 -0
  53. package/dist/components/data/data-table/build-column-tree-from-grid.js +15 -15
  54. package/dist/components/data/data-table/column-picker-authority.js +9 -9
  55. package/dist/components/data/data-table/data-table-column-apply.js +30 -29
  56. package/dist/components/data/data-table/data-table-column-tree-cache.js +62 -60
  57. package/dist/components/data/data-table/data-table-list-header.d.ts +7 -0
  58. package/dist/components/data/data-table/data-table-list-header.js +31 -0
  59. package/dist/components/data/data-table/data-table-overlay.d.ts +6 -0
  60. package/dist/components/data/data-table/data-table-overlay.js +18 -0
  61. package/dist/components/data/data-table/data-table-picker-column-eligibility.d.ts +3 -0
  62. package/dist/components/data/data-table/data-table-picker-column-eligibility.js +24 -4
  63. package/dist/components/data/data-table/data-table.js +35 -34
  64. package/dist/components/data/data-table/data-table.types.d.ts +13 -2
  65. package/dist/components/data/data-table/index.d.ts +10 -0
  66. package/dist/components/data/data-table/index.js +64 -52
  67. package/dist/components/data/data-table/use-data-table-viewport.d.ts +10 -0
  68. package/dist/components/data/data-table/use-data-table-viewport.js +31 -0
  69. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +3 -2
  70. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +3 -2
  71. package/dist/components/data/expandable-list-item/index.d.ts +2 -0
  72. package/dist/components/data/expandable-list-item/index.js +20 -16
  73. package/dist/components/data/expandable-list-item/product-card-hero.d.ts +15 -0
  74. package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.d.ts +8 -0
  75. package/dist/components/data/expandable-list-item/product-card-iris-insight-trigger.js +41 -0
  76. package/dist/components/data/expandable-list-item/product-card-metrics-toggle.d.ts +13 -0
  77. package/dist/components/data/expandable-list-item/product-card-metrics-toggle.js +27 -0
  78. package/dist/components/data/expandable-list-item/sku-picker-chrome.d.ts +40 -0
  79. package/dist/components/data/expandable-list-item/sku-picker-chrome.js +150 -0
  80. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +2 -1
  81. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +5 -4
  82. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +3 -2
  83. package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.d.ts +2 -0
  84. package/dist/components/data/scenario-comparison/flatten-scenario-comparison-rows.js +16 -0
  85. package/dist/components/data/scenario-comparison/index.d.ts +3 -0
  86. package/dist/components/data/scenario-comparison/index.js +6 -0
  87. package/dist/components/data/scenario-comparison/scenario-comparison-column.d.ts +12 -0
  88. package/dist/components/data/scenario-comparison/scenario-comparison-column.js +172 -0
  89. package/dist/components/data/scenario-comparison/scenario-comparison-label.d.ts +6 -0
  90. package/dist/components/data/scenario-comparison/scenario-comparison-label.js +64 -0
  91. package/dist/components/data/scenario-comparison/scenario-comparison.d.ts +5 -0
  92. package/dist/components/data/scenario-comparison/scenario-comparison.js +127 -0
  93. package/dist/components/data/scenario-comparison/scenario-comparison.types.d.ts +56 -0
  94. package/dist/components/data/scenario-comparison/scenario-comparison.variants.d.ts +7 -0
  95. package/dist/components/data/scenario-comparison/scenario-comparison.variants.js +29 -0
  96. package/dist/components/data-display/badge/index.d.ts +2 -0
  97. package/dist/components/data-display/badge/index.js +4 -2
  98. package/dist/components/data-display/badge/trophy-icon.d.ts +6 -0
  99. package/dist/components/data-display/badge/trophy-icon.js +28 -0
  100. package/dist/components/data-display/chart/chart-scatter3d.d.ts +39 -0
  101. package/dist/components/data-display/chart/chart-scatter3d.js +180 -0
  102. package/dist/components/data-display/chart/chart.js +125 -112
  103. package/dist/components/data-display/chart/chart.utils.js +122 -92
  104. package/dist/components/data-display/stereo-scatter/index.d.ts +2 -0
  105. package/dist/components/data-display/stereo-scatter/index.js +10 -0
  106. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.d.ts +41 -0
  107. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-frame.js +178 -0
  108. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.d.ts +14 -0
  109. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-theme.js +29 -0
  110. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.d.ts +23 -0
  111. package/dist/components/data-display/stereo-scatter/internals/stereo-engine-wedges.js +80 -0
  112. package/dist/components/data-display/stereo-scatter/internals/stereo-engine.d.ts +120 -0
  113. package/dist/components/data-display/stereo-scatter/internals/stereo-engine.js +519 -0
  114. package/dist/components/data-display/stereo-scatter/internals/stereo-math.d.ts +64 -0
  115. package/dist/components/data-display/stereo-scatter/internals/stereo-math.js +129 -0
  116. package/dist/components/data-display/stereo-scatter/internals/stereo-model.d.ts +37 -0
  117. package/dist/components/data-display/stereo-scatter/internals/stereo-model.js +71 -0
  118. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.d.ts +33 -0
  119. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-context.js +19 -0
  120. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.d.ts +4 -0
  121. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-key.js +19 -0
  122. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.d.ts +2 -0
  123. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-legend.js +75 -0
  124. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.d.ts +2 -0
  125. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-scene.js +149 -0
  126. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.d.ts +13 -0
  127. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-toolbar.js +93 -0
  128. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.d.ts +2 -0
  129. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-tooltip.js +62 -0
  130. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.d.ts +3 -0
  131. package/dist/components/data-display/stereo-scatter/internals/stereo-scatter-viewport.js +41 -0
  132. package/dist/components/data-display/stereo-scatter/stereo-scatter.d.ts +12 -0
  133. package/dist/components/data-display/stereo-scatter/stereo-scatter.js +107 -0
  134. package/dist/components/data-display/stereo-scatter/stereo-scatter.stories-data.d.ts +11 -0
  135. package/dist/components/data-display/stereo-scatter/stereo-scatter.types.d.ts +69 -0
  136. package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.d.ts +13 -0
  137. package/dist/components/data-display/stereo-scatter/stereo-scatter.variants.js +42 -0
  138. package/dist/components/feedback/find-bar/collect-find-matches.d.ts +35 -0
  139. package/dist/components/feedback/find-bar/collect-find-matches.js +68 -0
  140. package/dist/components/feedback/find-bar/find-bar-shortcuts.d.ts +5 -0
  141. package/dist/components/feedback/find-bar/find-bar-shortcuts.js +27 -0
  142. package/dist/components/feedback/find-bar/find-bar.d.ts +7 -0
  143. package/dist/components/feedback/find-bar/find-bar.js +266 -0
  144. package/dist/components/feedback/find-bar/find-bar.types.d.ts +32 -0
  145. package/dist/components/feedback/find-bar/index.d.ts +4 -0
  146. package/dist/components/feedback/find-bar/index.js +11 -0
  147. package/dist/components/feedback/tooltip/button-icon-tooltip.d.ts +6 -1
  148. package/dist/components/feedback/tooltip/button-icon-tooltip.js +22 -17
  149. package/dist/components/feedback/tooltip/tab-tooltip-render.js +3 -2
  150. package/dist/components/feedback/tooltip/use-overflow-tooltip.js +44 -36
  151. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  152. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  153. package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.d.ts +5 -0
  154. package/dist/components/flows/iris-chat/IrisChatComposerVoiceCapture.js +73 -0
  155. package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.d.ts +5 -0
  156. package/dist/components/flows/iris-chat/IrisChatHeaderWindowSizeButton.js +49 -0
  157. package/dist/components/flows/iris-chat/IrisChatSnapTile.d.ts +8 -0
  158. package/dist/components/flows/iris-chat/IrisChatSnapTile.js +30 -0
  159. package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.d.ts +3 -0
  160. package/dist/components/flows/iris-chat/IrisChatVoiceWaveform.js +25 -0
  161. package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.d.ts +4 -0
  162. package/dist/components/flows/iris-chat/IrisChatWindowSnapMenu.js +113 -0
  163. package/dist/components/flows/iris-chat/index.d.ts +3 -1
  164. package/dist/components/flows/iris-chat/index.js +58 -53
  165. package/dist/components/flows/iris-chat/iris-chat-artifact.js +46 -36
  166. package/dist/components/flows/iris-chat/iris-chat-chrome.d.ts +39 -0
  167. package/dist/components/flows/iris-chat/iris-chat-chrome.js +311 -0
  168. package/dist/components/flows/iris-chat/iris-chat-close-animation.d.ts +12 -0
  169. package/dist/components/flows/iris-chat/iris-chat-close-animation.js +21 -0
  170. package/dist/components/flows/iris-chat/iris-chat-composer.js +291 -234
  171. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +16 -0
  172. package/dist/components/flows/iris-chat/iris-chat-context.js +14 -10
  173. package/dist/components/flows/iris-chat/iris-chat-copy-feedback.d.ts +4 -0
  174. package/dist/components/flows/iris-chat/iris-chat-copy-feedback.js +16 -0
  175. package/dist/components/flows/iris-chat/iris-chat-frame.d.ts +32 -0
  176. package/dist/components/flows/iris-chat/iris-chat-frame.js +88 -0
  177. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +2 -0
  178. package/dist/components/flows/iris-chat/iris-chat-icons.js +46 -20
  179. package/dist/components/flows/iris-chat/iris-chat-launch-animation.d.ts +11 -0
  180. package/dist/components/flows/iris-chat/iris-chat-launch-animation.js +35 -0
  181. package/dist/components/flows/iris-chat/iris-chat-markdown.js +82 -42
  182. package/dist/components/flows/iris-chat/iris-chat-menu.js +149 -117
  183. package/dist/components/flows/iris-chat/iris-chat-snap-presets.d.ts +7 -0
  184. package/dist/components/flows/iris-chat/iris-chat-snap-presets.js +83 -0
  185. package/dist/components/flows/iris-chat/iris-chat-speech.d.ts +52 -0
  186. package/dist/components/flows/iris-chat/iris-chat-speech.js +121 -0
  187. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +4 -0
  188. package/dist/components/flows/iris-chat/iris-chat-thread.js +277 -220
  189. package/dist/components/flows/iris-chat/iris-chat-window-chrome.d.ts +33 -0
  190. package/dist/components/flows/iris-chat/iris-chat-window-chrome.js +37 -0
  191. package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.d.ts +14 -0
  192. package/dist/components/flows/iris-chat/iris-chat-window-geometry-context.js +15 -0
  193. package/dist/components/flows/iris-chat/iris-chat-window-geometry.d.ts +12 -0
  194. package/dist/components/flows/iris-chat/iris-chat-window-geometry.js +113 -0
  195. package/dist/components/flows/iris-chat/iris-chat-window-handles.d.ts +6 -0
  196. package/dist/components/flows/iris-chat/iris-chat-window-handles.js +50 -0
  197. package/dist/components/flows/iris-chat/iris-chat-window-shell.d.ts +8 -0
  198. package/dist/components/flows/iris-chat/iris-chat-window-shell.js +37 -0
  199. package/dist/components/flows/iris-chat/iris-chat.d.ts +3 -39
  200. package/dist/components/flows/iris-chat/iris-chat.js +22 -330
  201. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +20 -0
  202. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +4 -3
  203. package/dist/components/flows/iris-chat/iris-chat.variants.js +45 -22
  204. package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.d.ts +6 -0
  205. package/dist/components/flows/iris-chat/sync-iris-chat-composer-textarea.js +23 -0
  206. package/dist/components/flows/iris-chat/use-iris-chat-root.d.ts +29 -0
  207. package/dist/components/flows/iris-chat/use-iris-chat-root.js +162 -0
  208. package/dist/components/forms/choice-card/choice-card-compare-scroll.d.ts +4 -0
  209. package/dist/components/forms/choice-card/choice-card-compare-scroll.js +6 -0
  210. package/dist/components/forms/choice-card/choice-card-percent.js +82 -51
  211. package/dist/components/forms/choice-card/choice-card.d.ts +14 -2
  212. package/dist/components/forms/choice-card/choice-card.js +470 -381
  213. package/dist/components/forms/choice-card/choice-card.types.d.ts +9 -2
  214. package/dist/components/forms/choice-card/choice-card.variants.js +24 -3
  215. package/dist/components/forms/input/input.js +5 -5
  216. package/dist/components/forms/select/components/SelectMenuPanel.js +15 -15
  217. package/dist/components/forms/select/components/SelectTriggerValue.js +3 -2
  218. package/dist/components/forms/select/components/Submenu.js +3 -2
  219. package/dist/components/layout/header/header.js +1 -0
  220. package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.d.ts +3 -0
  221. package/dist/components/layout/horizontal-scroller/horizontal-scroller-mask.js +12 -0
  222. package/dist/components/layout/horizontal-scroller/horizontal-scroller.js +181 -125
  223. package/dist/components/layout/horizontal-scroller/horizontal-scroller.types.d.ts +2 -0
  224. package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.d.ts +3 -1
  225. package/dist/components/layout/horizontal-scroller/scroll-overflow-affordance.js +77 -67
  226. package/dist/components/primitives/button/button.variants.js +1 -1
  227. package/dist/components/primitives/iris/iris-insight-truncated-text.d.ts +3 -0
  228. package/dist/components/primitives/iris/iris-insight-truncated-text.js +33 -0
  229. package/dist/components/primitives/iris/iris.d.ts +3 -1
  230. package/dist/components/primitives/iris/iris.js +85 -91
  231. package/dist/components/primitives/iris/iris.types.d.ts +9 -0
  232. package/dist/components/primitives/stepper/internals/step-model.d.ts +1 -1
  233. package/dist/components/primitives/stepper/internals/step-model.js +5 -5
  234. package/dist/components/primitives/stepper/internals/stepper-compact.js +13 -13
  235. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +6 -6
  236. package/dist/components/primitives/stepper/internals/stepper-rail.js +15 -15
  237. package/dist/components/primitives/stepper/internals/stepper-summary.js +7 -7
  238. package/dist/components/primitives/stepper/internals/stepper-track.js +2 -2
  239. package/dist/components/primitives/stepper/stepper.js +99 -97
  240. package/dist/components/primitives/stepper/stepper.types.d.ts +4 -0
  241. package/dist/components/primitives/tabs/folder-tab-path.d.ts +6 -0
  242. package/dist/components/primitives/tabs/folder-tab-path.js +16 -0
  243. package/dist/components/primitives/tabs/tabs.js +178 -112
  244. package/dist/components/primitives/tabs/tabs.types.d.ts +1 -1
  245. package/dist/form-react/Fields/SelectField.js +66 -57
  246. package/dist/form-react/Fields/VirtualizedListField.d.ts +3 -0
  247. package/dist/form-react/Fields/VirtualizedListField.js +223 -0
  248. package/dist/form-react/fields.d.ts +1 -0
  249. package/dist/form-react/fields.js +28 -26
  250. package/dist/form-react/index.d.ts +1 -1
  251. package/dist/form-react/registry/defaultFieldRegistrations.d.ts +1 -1
  252. package/dist/form-react/registry/defaultFieldRegistrations.js +13 -12
  253. package/dist/form-react/types/fields.types.d.ts +48 -1
  254. package/dist/form-react/types/fieldsOutput.types.d.ts +4 -1
  255. package/dist/form-react/types/reactHookForm.types.d.ts +18 -1
  256. package/dist/form-react/utils/fieldDefaults.utils.js +1 -1
  257. package/dist/i18n/defaultMessages.d.ts +69 -0
  258. package/dist/i18n/defaultMessages.js +107 -42
  259. package/dist/i18n/impact-nova-i18n-defaults.d.ts +5 -0
  260. package/dist/i18n/impact-nova-i18n-defaults.js +4 -9
  261. package/dist/i18n/index.d.ts +1 -1
  262. package/dist/i18n/locales/de.js +66 -1
  263. package/dist/i18n/locales/es.js +66 -1
  264. package/dist/i18n/locales/hi.js +66 -1
  265. package/dist/i18n/locales/kn.js +66 -1
  266. package/dist/impact-nova-components.css +372 -14
  267. package/dist/impact-nova-tokens.scss +4 -0
  268. package/dist/impact-nova.css +1 -1
  269. package/dist/index.d.ts +1 -0
  270. package/dist/index.js +627 -601
  271. package/dist/lib/alphabetical-sort.d.ts +3 -0
  272. package/dist/lib/alphabetical-sort.js +13 -0
  273. package/dist/lib/guidance/engine/guidance-engine.js +26 -27
  274. package/dist/lib/guidance/engine/step-navigation.d.ts +1 -0
  275. package/dist/lib/guidance/engine/step-navigation.js +16 -9
  276. package/dist/lib/guidance/types/guidance.types.d.ts +9 -1
  277. package/dist/lib/virtualized/index.d.ts +2 -0
  278. package/dist/lib/virtualized/index.js +35 -31
  279. package/dist/lib/virtualized/list-index.d.ts +5 -0
  280. package/dist/lib/virtualized/list-index.js +13 -0
  281. package/dist/lib/virtualized/read-infinite-query-list.d.ts +14 -0
  282. package/dist/lib/virtualized/read-infinite-query-list.js +12 -0
  283. package/dist/lib/virtualized/types.d.ts +4 -2
  284. package/dist/lib/virtualized/useRowState.js +60 -56
  285. package/dist/lib/virtualized/useVirtualizedList.d.ts +5 -0
  286. package/dist/llms/rules/ag-grid.js +1 -1
  287. package/dist/llms/rules/installation.js +1 -1
  288. package/dist/llms/rules/real-world-patterns.js +1 -1
  289. package/dist/llms/rules/requirements.js +1 -1
  290. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  291. package/dist/node_modules/unified/lib/index.js +1 -1
  292. package/dist/tailwind.config.js +3 -0
  293. package/dist/theme/tailwind-colors.js +3 -0
  294. package/package.json +23 -4
@@ -0,0 +1,73 @@
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { Button as n } from "../../primitives/button/button.js";
3
+ import { useImpactNovaI18n as o } from "../../../i18n/use-impact-nova-i18n.js";
4
+ import { cn as s } from "../../../lib/utils.js";
5
+ import { IrisChatStopIcon as c } from "./iris-chat-icons.js";
6
+ import { IrisChatVoiceWaveform as l } from "./IrisChatVoiceWaveform.js";
7
+ function x(i) {
8
+ const { t } = o(), r = i.transcript.trim();
9
+ return /* @__PURE__ */ a(
10
+ "div",
11
+ {
12
+ "data-component": "iris-chat-voice-capture",
13
+ "data-testid": "iris-chat-voice-capture",
14
+ className: s("flex w-full min-w-0 flex-col gap-3 py-1", i.className),
15
+ role: "region",
16
+ "aria-label": t("irisChat.listening"),
17
+ children: [
18
+ /* @__PURE__ */ a("div", { className: "flex min-w-0 items-center gap-2", children: [
19
+ /* @__PURE__ */ e(
20
+ "span",
21
+ {
22
+ className: "size-2.5 shrink-0 rounded-full bg-destructive motion-reduce:animate-none animate-pulse",
23
+ "aria-hidden": !0
24
+ }
25
+ ),
26
+ /* @__PURE__ */ e("p", { className: "min-w-0 flex-1 text-sm font-medium text-content", children: t("irisChat.speechRecordingTitle") }),
27
+ /* @__PURE__ */ e(
28
+ n,
29
+ {
30
+ type: "button",
31
+ variant: "default",
32
+ size: "icon",
33
+ className: "size-9 shrink-0 rounded-full bg-destructive text-destructive-foreground hover:bg-destructive-hover",
34
+ "data-testid": "iris-chat-stop-recording",
35
+ "aria-label": t("irisChat.speechStopRecording"),
36
+ onClick: i.onStop,
37
+ children: /* @__PURE__ */ e(c, { size: 16 })
38
+ }
39
+ )
40
+ ] }),
41
+ /* @__PURE__ */ e(l, { className: "w-full px-1" }),
42
+ /* @__PURE__ */ e("p", { className: "text-center text-xs text-content-secondary", children: t("irisChat.speechRecordingHint") }),
43
+ /* @__PURE__ */ e(
44
+ "p",
45
+ {
46
+ className: s(
47
+ "min-h-5 text-center text-sm text-content-secondary",
48
+ r.length > 0 && "font-medium text-content"
49
+ ),
50
+ role: "status",
51
+ "aria-live": "polite",
52
+ children: r.length > 0 ? r : t("irisChat.speechRecordingWaiting")
53
+ }
54
+ ),
55
+ /* @__PURE__ */ e(
56
+ n,
57
+ {
58
+ type: "button",
59
+ variant: "outline",
60
+ size: "sm",
61
+ className: "w-full",
62
+ "aria-label": t("irisChat.speechStopRecording"),
63
+ onClick: i.onStop,
64
+ children: t("irisChat.speechStopRecording")
65
+ }
66
+ )
67
+ ]
68
+ }
69
+ );
70
+ }
71
+ export {
72
+ x as IrisChatComposerVoiceCapture
73
+ };
@@ -0,0 +1,5 @@
1
+ import { IrisChatIconButtonProps } from './iris-chat.types';
2
+ import * as React from "react";
3
+ export declare const IrisChatHeaderWindowSizeButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
4
+ label?: string;
5
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,49 @@
1
+ import { jsxs as C, jsx as e } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import { HoverCard as h, HoverCardTrigger as I, HoverCardContent as u } from "../../feedback/hover-card/hover-card.js";
4
+ import { ButtonIconTooltip as S } from "../../feedback/tooltip/button-icon-tooltip.js";
5
+ import { Button as _ } from "../../primitives/button/button.js";
6
+ import { useImpactNovaI18n as N } from "../../../i18n/use-impact-nova-i18n.js";
7
+ import { createComponent as z } from "../../../lib/primitives/create-component.js";
8
+ import { cn as g } from "../../../lib/utils.js";
9
+ import { IrisChatWindowSnapMenu as w } from "./IrisChatWindowSnapMenu.js";
10
+ import { useIrisChat as H } from "./iris-chat-context.js";
11
+ import { IrisChatMinimizeIcon as b } from "./iris-chat-icons.js";
12
+ import { readIrisChatFrameIsCompact as A } from "./iris-chat-snap-presets.js";
13
+ import { IRIS_CHAT_SNAP_MENU_CLOSE_DELAY_MS as E, IRIS_CHAT_SNAP_MENU_OPEN_DELAY_MS as M } from "./iris-chat-window-chrome.js";
14
+ const U = z("IrisChatHeaderWindowSizeButton", ({ label: a, onClick: s, className: m, ...c }, l) => {
15
+ const { t } = N(), o = H(), [p, r] = f.useState(!1), n = A(o.frame, o.placement), i = a ?? t(n ? "irisChat.larger" : "irisChat.smaller");
16
+ return /* @__PURE__ */ C(
17
+ h,
18
+ {
19
+ open: p,
20
+ onOpenChange: r,
21
+ openDelay: M,
22
+ closeDelay: E,
23
+ children: [
24
+ /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("span", { className: g("inline-flex", m), children: /* @__PURE__ */ e(S, { label: i, children: /* @__PURE__ */ e(
25
+ _,
26
+ {
27
+ ref: l,
28
+ type: "button",
29
+ variant: "secondary",
30
+ size: "icon",
31
+ "aria-label": i,
32
+ "aria-pressed": n,
33
+ "data-component": "iris-chat-window-size-button",
34
+ className: "rounded-full text-content",
35
+ onClick: (d) => {
36
+ o.toggleWindowSize(), s?.(d);
37
+ },
38
+ ...c,
39
+ children: /* @__PURE__ */ e(b, { size: 16 })
40
+ }
41
+ ) }) }) }),
42
+ /* @__PURE__ */ e(u, { side: "bottom", align: "end", className: "w-[15rem] p-3", children: /* @__PURE__ */ e(w, { onPresetSelected: () => r(!1) }) })
43
+ ]
44
+ }
45
+ );
46
+ });
47
+ export {
48
+ U as IrisChatHeaderWindowSizeButton
49
+ };
@@ -0,0 +1,8 @@
1
+ import { ReactElement } from 'react';
2
+ import { IrisChatSnapPreset } from './iris-chat-snap-presets';
3
+ export declare function IrisChatSnapTile(props: {
4
+ label: string;
5
+ preset: IrisChatSnapPreset;
6
+ onSelect: (preset: IrisChatSnapPreset) => void;
7
+ previewClassName: string;
8
+ }): ReactElement;
@@ -0,0 +1,30 @@
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
+ import { cn as n } from "../../../lib/utils.js";
3
+ function l(e) {
4
+ return /* @__PURE__ */ a(
5
+ "button",
6
+ {
7
+ type: "button",
8
+ "data-testid": `iris-chat-snap-${e.preset}`,
9
+ "aria-label": e.label,
10
+ className: "flex flex-col items-center gap-1 rounded-lg p-1.5 text-content-secondary hover:bg-surface-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
11
+ onClick: () => e.onSelect(e.preset),
12
+ children: [
13
+ /* @__PURE__ */ r(
14
+ "span",
15
+ {
16
+ "aria-hidden": !0,
17
+ className: n(
18
+ "box-border h-7 w-9 rounded border border-border bg-surface-elevated",
19
+ e.previewClassName
20
+ )
21
+ }
22
+ ),
23
+ /* @__PURE__ */ r("span", { className: "sr-only", children: e.label })
24
+ ]
25
+ }
26
+ );
27
+ }
28
+ export {
29
+ l as IrisChatSnapTile
30
+ };
@@ -0,0 +1,3 @@
1
+ export declare function IrisChatVoiceWaveform(props: {
2
+ className?: string;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { cn as o } from "../../../lib/utils.js";
3
+ const t = 7;
4
+ function c(r) {
5
+ return /* @__PURE__ */ a(
6
+ "div",
7
+ {
8
+ "data-component": "iris-chat-voice-waveform",
9
+ className: o("flex h-14 w-full items-end justify-center gap-1.5", r.className),
10
+ "aria-hidden": !0,
11
+ children: Array.from({ length: t }, (n, e) => /* @__PURE__ */ a(
12
+ "span",
13
+ {
14
+ "data-part": "bar",
15
+ className: "block h-10 w-2 max-w-[0.65rem] flex-1 rounded-full bg-brand motion-reduce:animate-none motion-reduce:opacity-80",
16
+ style: { animationDelay: `${e * 100}ms` }
17
+ },
18
+ e
19
+ ))
20
+ }
21
+ );
22
+ }
23
+ export {
24
+ c as IrisChatVoiceWaveform
25
+ };
@@ -0,0 +1,4 @@
1
+ import { ReactElement } from 'react';
2
+ export declare function IrisChatWindowSnapMenu(props: {
3
+ onPresetSelected?: () => void;
4
+ }): ReactElement;
@@ -0,0 +1,113 @@
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useImpactNovaI18n as n } from "../../../i18n/use-impact-nova-i18n.js";
3
+ import { IrisChatSnapTile as r } from "./IrisChatSnapTile.js";
4
+ import { useIrisChat as p } from "./iris-chat-context.js";
5
+ function b(s) {
6
+ const { t: e } = n(), o = p();
7
+ function a(l) {
8
+ o.applySnapPreset(l), s.onPresetSelected?.();
9
+ }
10
+ return /* @__PURE__ */ i("div", { "data-component": "iris-chat-window-snap-menu", className: "flex flex-col gap-2", children: [
11
+ /* @__PURE__ */ t("p", { className: "text-xs font-semibold text-content-caption", children: e("irisChat.snapMoveResize") }),
12
+ /* @__PURE__ */ i("div", { className: "grid grid-cols-4 gap-1", children: [
13
+ /* @__PURE__ */ t(
14
+ r,
15
+ {
16
+ label: e("irisChat.snapLeftHalf"),
17
+ preset: "leftHalf",
18
+ onSelect: a,
19
+ previewClassName: "bg-[linear-gradient(to_right,var(--color-primary-soft)_50%,transparent_50%)]"
20
+ }
21
+ ),
22
+ /* @__PURE__ */ t(
23
+ r,
24
+ {
25
+ label: e("irisChat.snapRightHalf"),
26
+ preset: "rightHalf",
27
+ onSelect: a,
28
+ previewClassName: "bg-[linear-gradient(to_left,var(--color-primary-soft)_50%,transparent_50%)]"
29
+ }
30
+ ),
31
+ /* @__PURE__ */ t(
32
+ r,
33
+ {
34
+ label: e("irisChat.snapTopHalf"),
35
+ preset: "topHalf",
36
+ onSelect: a,
37
+ previewClassName: "bg-[linear-gradient(to_bottom,var(--color-primary-soft)_50%,transparent_50%)]"
38
+ }
39
+ ),
40
+ /* @__PURE__ */ t(
41
+ r,
42
+ {
43
+ label: e("irisChat.snapBottomHalf"),
44
+ preset: "bottomHalf",
45
+ onSelect: a,
46
+ previewClassName: "bg-[linear-gradient(to_top,var(--color-primary-soft)_50%,transparent_50%)]"
47
+ }
48
+ )
49
+ ] }),
50
+ /* @__PURE__ */ t("p", { className: "text-xs font-semibold text-content-caption", children: e("irisChat.snapDock") }),
51
+ /* @__PURE__ */ i("div", { className: "grid grid-cols-4 gap-1", children: [
52
+ /* @__PURE__ */ t(
53
+ r,
54
+ {
55
+ label: e("irisChat.snapBottomLeft"),
56
+ preset: "bottomLeft",
57
+ onSelect: a,
58
+ previewClassName: "bg-[radial-gradient(at_0%_100%,var(--color-primary-soft)_55%,transparent_56%)]"
59
+ }
60
+ ),
61
+ /* @__PURE__ */ t(
62
+ r,
63
+ {
64
+ label: e("irisChat.snapBottomRight"),
65
+ preset: "bottomRight",
66
+ onSelect: a,
67
+ previewClassName: "bg-[radial-gradient(at_100%_100%,var(--color-primary-soft)_55%,transparent_56%)]"
68
+ }
69
+ ),
70
+ /* @__PURE__ */ t(
71
+ r,
72
+ {
73
+ label: e("irisChat.snapTopLeft"),
74
+ preset: "topLeft",
75
+ onSelect: a,
76
+ previewClassName: "bg-[radial-gradient(at_0%_0%,var(--color-primary-soft)_55%,transparent_56%)]"
77
+ }
78
+ ),
79
+ /* @__PURE__ */ t(
80
+ r,
81
+ {
82
+ label: e("irisChat.snapTopRight"),
83
+ preset: "topRight",
84
+ onSelect: a,
85
+ previewClassName: "bg-[radial-gradient(at_100%_0%,var(--color-primary-soft)_55%,transparent_56%)]"
86
+ }
87
+ )
88
+ ] }),
89
+ /* @__PURE__ */ i(
90
+ "button",
91
+ {
92
+ type: "button",
93
+ "data-testid": "iris-chat-snap-fill",
94
+ "aria-label": e("irisChat.snapFill"),
95
+ className: "flex items-center gap-2 rounded-lg border border-border bg-surface-muted px-2 py-1.5 text-left text-xs font-medium text-content hover:bg-surface-subtle focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
96
+ onClick: () => a("fill"),
97
+ children: [
98
+ /* @__PURE__ */ t(
99
+ "span",
100
+ {
101
+ "aria-hidden": !0,
102
+ className: "h-5 w-7 rounded border border-border bg-primary-soft"
103
+ }
104
+ ),
105
+ e("irisChat.snapFill")
106
+ ]
107
+ }
108
+ )
109
+ ] });
110
+ }
111
+ export {
112
+ b as IrisChatWindowSnapMenu
113
+ };
@@ -1,5 +1,7 @@
1
1
  export { IrisChat, IrisChatBody, IrisChatDisclaimer, IrisChatFooter, IrisChatHeader, IrisChatHeaderBackButton, IrisChatHeaderCloseButton, IrisChatHeaderLeading, IrisChatHeaderMenuButton, IrisChatHeaderMinimizeButton, IrisChatHeaderNewChatButton, IrisChatHeaderTitle, IrisChatHeaderTrailing, IrisChatIconButton, IrisChatPanel, IrisChatTrigger, } from './iris-chat';
2
2
  export { IrisChatComposer } from './iris-chat-composer';
3
+ export { createCompactIrisChatFrame, createDefaultIrisChatFrame, clampIrisChatFrame, } from './iris-chat-frame';
4
+ export type { IrisChatFrame } from './iris-chat-frame';
3
5
  export { IrisChatActions, IrisChatAttachment, IrisChatChip, IrisChatDay, IrisChatError, IrisChatFollowUp, IrisChatFollowUps, IrisChatGreeting, IrisChatMessage, IrisChatSuggestion, IrisChatSuggestions, IrisChatThread, IrisChatWorkflow, IrisChatWorkflows, } from './iris-chat-thread';
4
6
  export { IrisChatCitations, IrisChatProcessSteps, IrisChatThinking, IrisChatThinkingStatus, } from './iris-chat-thinking';
5
7
  export { IrisChatMarkdown } from './iris-chat-markdown';
@@ -7,4 +9,4 @@ export { IrisChatPrompt } from './iris-chat-prompt';
7
9
  export { IrisChatArtifact, IrisChatScenario } from './iris-chat-artifact';
8
10
  export { IrisChatList, IrisChatListItem, IrisChatMenu, IrisChatMenuSection, } from './iris-chat-menu';
9
11
  export { useIrisChat } from './iris-chat-context';
10
- export type { IrisChatActionsProps, IrisChatArtifactColumn, IrisChatArtifactProps, IrisChatArtifactRow, IrisChatAttachmentKind, IrisChatAttachmentProps, IrisChatCitationGroup, IrisChatCitationTag, IrisChatCitationsProps, IrisChatErrorProps, IrisChatComposerProps, IrisChatDisclaimerProps, IrisChatFooterProps, IrisChatFeedback, IrisChatFeedbackReason, IrisChatFilterOption, IrisChatGreetingProps, IrisChatHeaderProps, IrisChatListItemAction, IrisChatListItemProps, IrisChatMarkdownProps, IrisChatMenuSectionId, IrisChatMessageProps, IrisChatModelOption, IrisChatPanelProps, IrisChatPlacement, IrisChatProcessStep, IrisChatProcessStepsProps, IrisChatPromptProps, IrisChatProps, IrisChatRole, IrisChatScenarioProps, } from './iris-chat.types';
12
+ export type { IrisChatActionsProps, IrisChatArtifactColumn, IrisChatArtifactProps, IrisChatArtifactRow, IrisChatAttachmentKind, IrisChatAttachmentProps, IrisChatCitationGroup, IrisChatCitationTag, IrisChatCitationsProps, IrisChatErrorProps, IrisChatComposerProps, IrisChatDisclaimerProps, IrisChatFooterProps, IrisChatFeedback, IrisChatFeedbackReason, IrisChatFilterOption, IrisChatGreetingProps, IrisChatHeaderProps, IrisChatListItemAction, IrisChatListItemProps, IrisChatMarkdownProps, IrisChatMenuSectionId, IrisChatMessageProps, IrisChatModelOption, IrisChatPanelProps, IrisChatPlacement, IrisChatProcessStep, IrisChatProcessStepsProps, IrisChatPromptProps, IrisChatProps, IrisChatRole, IrisChatScenarioProps, IrisChatSpeechNotice, } from './iris-chat.types';
@@ -1,55 +1,60 @@
1
- import { IrisChat as i, IrisChatBody as a, IrisChatDisclaimer as s, IrisChatFooter as e, IrisChatHeader as h, IrisChatHeaderBackButton as o, IrisChatHeaderCloseButton as C, IrisChatHeaderLeading as I, IrisChatHeaderMenuButton as n, IrisChatHeaderMinimizeButton as m, IrisChatHeaderNewChatButton as p, IrisChatHeaderTitle as d, IrisChatHeaderTrailing as u, IrisChatIconButton as f, IrisChatPanel as g, IrisChatTrigger as l } from "./iris-chat.js";
2
- import { IrisChatComposer as x } from "./iris-chat-composer.js";
3
- import { IrisChatActions as B, IrisChatAttachment as k, IrisChatChip as w, IrisChatDay as M, IrisChatError as S, IrisChatFollowUp as T, IrisChatFollowUps as A, IrisChatGreeting as F, IrisChatMessage as L, IrisChatSuggestion as P, IrisChatSuggestions as y, IrisChatThread as D, IrisChatWorkflow as U, IrisChatWorkflows as W } from "./iris-chat-thread.js";
4
- import { IrisChatCitations as E, IrisChatProcessSteps as G, IrisChatThinking as N, IrisChatThinkingStatus as b } from "./iris-chat-thinking.js";
5
- import { IrisChatMarkdown as q } from "./iris-chat-markdown.js";
6
- import { IrisChatPrompt as J } from "./iris-chat-prompt.js";
7
- import { IrisChatArtifact as O, IrisChatScenario as Q } from "./iris-chat-artifact.js";
8
- import { IrisChatList as V, IrisChatListItem as X, IrisChatMenu as Y, IrisChatMenuSection as Z } from "./iris-chat-menu.js";
9
- import { useIrisChat as $ } from "./iris-chat-context.js";
1
+ import { IrisChat as a } from "./iris-chat.js";
2
+ import { IrisChatComposer as s } from "./iris-chat-composer.js";
3
+ import { clampIrisChatFrame as o, createCompactIrisChatFrame as h, createDefaultIrisChatFrame as C } from "./iris-chat-frame.js";
4
+ import { IrisChatActions as n, IrisChatAttachment as m, IrisChatChip as p, IrisChatDay as f, IrisChatError as u, IrisChatFollowUp as c, IrisChatFollowUps as d, IrisChatGreeting as l, IrisChatMessage as g, IrisChatSuggestion as x, IrisChatSuggestions as H, IrisChatThread as B, IrisChatWorkflow as k, IrisChatWorkflows as w } from "./iris-chat-thread.js";
5
+ import { IrisChatCitations as M, IrisChatProcessSteps as S, IrisChatThinking as T, IrisChatThinkingStatus as A } from "./iris-chat-thinking.js";
6
+ import { IrisChatMarkdown as L } from "./iris-chat-markdown.js";
7
+ import { IrisChatPrompt as y } from "./iris-chat-prompt.js";
8
+ import { IrisChatArtifact as W, IrisChatScenario as z } from "./iris-chat-artifact.js";
9
+ import { IrisChatList as G, IrisChatListItem as N, IrisChatMenu as b, IrisChatMenuSection as j } from "./iris-chat-menu.js";
10
+ import { useIrisChat as v } from "./iris-chat-context.js";
11
+ import { IrisChatBody as K, IrisChatDisclaimer as O, IrisChatFooter as Q, IrisChatHeader as R, IrisChatHeaderBackButton as V, IrisChatHeaderCloseButton as X, IrisChatHeaderLeading as Y, IrisChatHeaderMenuButton as Z, IrisChatHeaderMinimizeButton as _, IrisChatHeaderNewChatButton as $, IrisChatHeaderTitle as rr, IrisChatHeaderTrailing as tr, IrisChatIconButton as ar, IrisChatPanel as ir, IrisChatTrigger as sr } from "./iris-chat-chrome.js";
10
12
  export {
11
- i as IrisChat,
12
- B as IrisChatActions,
13
- O as IrisChatArtifact,
14
- k as IrisChatAttachment,
15
- a as IrisChatBody,
16
- w as IrisChatChip,
17
- E as IrisChatCitations,
18
- x as IrisChatComposer,
19
- M as IrisChatDay,
20
- s as IrisChatDisclaimer,
21
- S as IrisChatError,
22
- T as IrisChatFollowUp,
23
- A as IrisChatFollowUps,
24
- e as IrisChatFooter,
25
- F as IrisChatGreeting,
26
- h as IrisChatHeader,
27
- o as IrisChatHeaderBackButton,
28
- C as IrisChatHeaderCloseButton,
29
- I as IrisChatHeaderLeading,
30
- n as IrisChatHeaderMenuButton,
31
- m as IrisChatHeaderMinimizeButton,
32
- p as IrisChatHeaderNewChatButton,
33
- d as IrisChatHeaderTitle,
34
- u as IrisChatHeaderTrailing,
35
- f as IrisChatIconButton,
36
- V as IrisChatList,
37
- X as IrisChatListItem,
38
- q as IrisChatMarkdown,
39
- Y as IrisChatMenu,
40
- Z as IrisChatMenuSection,
41
- L as IrisChatMessage,
42
- g as IrisChatPanel,
43
- G as IrisChatProcessSteps,
44
- J as IrisChatPrompt,
45
- Q as IrisChatScenario,
46
- P as IrisChatSuggestion,
47
- y as IrisChatSuggestions,
48
- N as IrisChatThinking,
49
- b as IrisChatThinkingStatus,
50
- D as IrisChatThread,
51
- l as IrisChatTrigger,
52
- U as IrisChatWorkflow,
53
- W as IrisChatWorkflows,
54
- $ as useIrisChat
13
+ a as IrisChat,
14
+ n as IrisChatActions,
15
+ W as IrisChatArtifact,
16
+ m as IrisChatAttachment,
17
+ K as IrisChatBody,
18
+ p as IrisChatChip,
19
+ M as IrisChatCitations,
20
+ s as IrisChatComposer,
21
+ f as IrisChatDay,
22
+ O as IrisChatDisclaimer,
23
+ u as IrisChatError,
24
+ c as IrisChatFollowUp,
25
+ d as IrisChatFollowUps,
26
+ Q as IrisChatFooter,
27
+ l as IrisChatGreeting,
28
+ R as IrisChatHeader,
29
+ V as IrisChatHeaderBackButton,
30
+ X as IrisChatHeaderCloseButton,
31
+ Y as IrisChatHeaderLeading,
32
+ Z as IrisChatHeaderMenuButton,
33
+ _ as IrisChatHeaderMinimizeButton,
34
+ $ as IrisChatHeaderNewChatButton,
35
+ rr as IrisChatHeaderTitle,
36
+ tr as IrisChatHeaderTrailing,
37
+ ar as IrisChatIconButton,
38
+ G as IrisChatList,
39
+ N as IrisChatListItem,
40
+ L as IrisChatMarkdown,
41
+ b as IrisChatMenu,
42
+ j as IrisChatMenuSection,
43
+ g as IrisChatMessage,
44
+ ir as IrisChatPanel,
45
+ S as IrisChatProcessSteps,
46
+ y as IrisChatPrompt,
47
+ z as IrisChatScenario,
48
+ x as IrisChatSuggestion,
49
+ H as IrisChatSuggestions,
50
+ T as IrisChatThinking,
51
+ A as IrisChatThinkingStatus,
52
+ B as IrisChatThread,
53
+ sr as IrisChatTrigger,
54
+ k as IrisChatWorkflow,
55
+ w as IrisChatWorkflows,
56
+ o as clampIrisChatFrame,
57
+ h as createCompactIrisChatFrame,
58
+ C as createDefaultIrisChatFrame,
59
+ v as useIrisChat
55
60
  };
@@ -1,13 +1,13 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { Download as y, ThreeDots as v } from "impact-nova-icons";
3
- import { Checkbox as C } from "../../forms/checkbox/checkbox.js";
4
- import { DropdownMenu as w, DropdownMenuTrigger as j, DropdownMenuContent as k, DropdownMenuItem as p } from "../../feedback/dropdown-menu/dropdown-menu.js";
2
+ import { Download as N, ThreeDots as y } from "impact-nova-icons";
3
+ import { Checkbox as v } from "../../forms/checkbox/checkbox.js";
4
+ import { DropdownMenu as C, DropdownMenuTrigger as j, DropdownMenuContent as k, DropdownMenuItem as p } from "../../feedback/dropdown-menu/dropdown-menu.js";
5
5
  import { ButtonIconTooltip as x } from "../../feedback/tooltip/button-icon-tooltip.js";
6
- import { Button as b } from "../../primitives/button/button.js";
6
+ import { Button as f } from "../../primitives/button/button.js";
7
7
  import { useImpactNovaI18n as I } from "../../../i18n/use-impact-nova-i18n.js";
8
- import { createComponent as f } from "../../../lib/primitives/create-component.js";
8
+ import { createComponent as b } from "../../../lib/primitives/create-component.js";
9
9
  import { cn as u } from "../../../lib/utils.js";
10
- function N(o, i) {
10
+ function g(o, i) {
11
11
  const a = o.map((l) => l.header).join(","), n = i.map(
12
12
  (l) => o.map((t) => {
13
13
  const d = l.cells[t.id];
@@ -18,16 +18,16 @@ function N(o, i) {
18
18
  `);
19
19
  }
20
20
  function S(o, i, a) {
21
- const n = new Blob([N(i, a)], { type: "text/csv;charset=utf-8" }), l = URL.createObjectURL(n), t = document.createElement("a");
21
+ const n = new Blob([g(i, a)], { type: "text/csv;charset=utf-8" }), l = URL.createObjectURL(n), t = document.createElement("a");
22
22
  t.href = l, t.download = `${o.replaceAll(/\s+/g, "-").toLowerCase()}.csv`, t.click(), URL.revokeObjectURL(l);
23
23
  }
24
- const O = f(
24
+ const O = b(
25
25
  "IrisChatArtifact",
26
26
  ({ className: o, title: i, columns: a, rows: n, onDownload: l, onMore: t }, d) => {
27
27
  const { t: c } = I(), m = () => {
28
28
  S(i, a, n), l?.();
29
- }, g = () => {
30
- navigator.clipboard?.writeText(N(a, n)).catch(() => {
29
+ }, w = () => {
30
+ navigator.clipboard?.writeText(g(a, n)).catch(() => {
31
31
  }), t?.();
32
32
  };
33
33
  return /* @__PURE__ */ r(
@@ -35,62 +35,72 @@ const O = f(
35
35
  {
36
36
  ref: d,
37
37
  "data-component": "iris-chat-artifact",
38
- className: u("min-w-0 w-full max-w-full overflow-hidden rounded-xl border border-stroke-subtle", o),
38
+ className: u(
39
+ "grid w-full min-w-0 max-w-full grid-cols-[minmax(0,1fr)] overflow-hidden rounded-xl border border-stroke-subtle",
40
+ o
41
+ ),
39
42
  children: [
40
- /* @__PURE__ */ r("header", { className: "flex items-center justify-between gap-2 px-3 py-2", children: [
43
+ /* @__PURE__ */ r("header", { className: "flex min-w-0 items-center justify-between gap-2 px-3 py-2", children: [
41
44
  /* @__PURE__ */ e("h3", { className: "text-sm font-semibold text-content", children: i }),
42
45
  /* @__PURE__ */ r("div", { className: "flex items-center gap-1", children: [
43
46
  /* @__PURE__ */ e(x, { label: c("irisChat.download"), children: /* @__PURE__ */ e(
44
- b,
47
+ f,
45
48
  {
46
49
  type: "button",
47
50
  variant: "ghost",
48
51
  size: "iconSm",
49
52
  "aria-label": c("irisChat.download"),
50
53
  onClick: m,
51
- children: /* @__PURE__ */ e(y, { size: 16 })
54
+ children: /* @__PURE__ */ e(N, { size: 16 })
52
55
  }
53
56
  ) }),
54
- /* @__PURE__ */ r(w, { children: [
57
+ /* @__PURE__ */ r(C, { children: [
55
58
  /* @__PURE__ */ e(x, { label: c("irisChat.moreActions"), children: /* @__PURE__ */ e(j, { asChild: !0, children: /* @__PURE__ */ e(
56
- b,
59
+ f,
57
60
  {
58
61
  type: "button",
59
62
  variant: "ghost",
60
63
  size: "iconSm",
61
64
  "aria-label": c("irisChat.moreActions"),
62
- children: /* @__PURE__ */ e(v, { size: 16 })
65
+ children: /* @__PURE__ */ e(y, { size: 16 })
63
66
  }
64
67
  ) }) }),
65
68
  /* @__PURE__ */ r(k, { align: "end", children: [
66
- /* @__PURE__ */ e(p, { onSelect: g, children: c("irisChat.copy") }),
69
+ /* @__PURE__ */ e(p, { onSelect: w, children: c("irisChat.copy") }),
67
70
  /* @__PURE__ */ e(p, { onSelect: m, children: c("irisChat.download") })
68
71
  ] })
69
72
  ] })
70
73
  ] })
71
74
  ] }),
72
- /* @__PURE__ */ e("div", { className: "overflow-x-auto", children: /* @__PURE__ */ r("table", { className: "w-full table-fixed border-t border-stroke-subtle text-sm", children: [
73
- /* @__PURE__ */ e("thead", { className: "bg-secondary", children: /* @__PURE__ */ r("tr", { children: [
74
- /* @__PURE__ */ e("th", { className: "w-10 px-3 py-2", children: /* @__PURE__ */ e("span", { className: "sr-only", children: c("aria.toggleSelection") }) }),
75
- a.map((s) => /* @__PURE__ */ e(
76
- "th",
77
- {
78
- className: "px-3 py-2 text-start font-medium text-content",
79
- children: s.header
80
- },
81
- s.id
82
- ))
83
- ] }) }),
84
- /* @__PURE__ */ e("tbody", { children: n.map((s) => /* @__PURE__ */ r("tr", { className: "border-t border-stroke-subtle", children: [
85
- /* @__PURE__ */ e("td", { className: "px-3 py-2", children: /* @__PURE__ */ e(C, { "aria-label": s.id }) }),
86
- a.map((h) => /* @__PURE__ */ e("td", { className: "px-3 py-2 text-content", children: s.cells[h.id] }, h.id))
87
- ] }, s.id)) })
88
- ] }) })
75
+ /* @__PURE__ */ e(
76
+ "div",
77
+ {
78
+ "data-slot": "artifact-scroll",
79
+ className: "min-w-0 max-w-full overflow-x-auto overflow-y-hidden overscroll-x-contain",
80
+ children: /* @__PURE__ */ r("table", { className: "w-max min-w-full border-t border-stroke-subtle text-sm", children: [
81
+ /* @__PURE__ */ e("thead", { className: "bg-secondary", children: /* @__PURE__ */ r("tr", { children: [
82
+ /* @__PURE__ */ e("th", { className: "w-10 px-3 py-2", children: /* @__PURE__ */ e("span", { className: "sr-only", children: c("aria.toggleSelection") }) }),
83
+ a.map((s) => /* @__PURE__ */ e(
84
+ "th",
85
+ {
86
+ className: "whitespace-nowrap px-3 py-2 text-start font-medium text-content",
87
+ children: s.header
88
+ },
89
+ s.id
90
+ ))
91
+ ] }) }),
92
+ /* @__PURE__ */ e("tbody", { children: n.map((s) => /* @__PURE__ */ r("tr", { className: "border-t border-stroke-subtle", children: [
93
+ /* @__PURE__ */ e("td", { className: "px-3 py-2", children: /* @__PURE__ */ e(v, { "aria-label": s.id }) }),
94
+ a.map((h) => /* @__PURE__ */ e("td", { className: "whitespace-nowrap px-3 py-2 text-content", children: s.cells[h.id] }, h.id))
95
+ ] }, s.id)) })
96
+ ] })
97
+ }
98
+ )
89
99
  ]
90
100
  }
91
101
  );
92
102
  }
93
- ), $ = f(
103
+ ), $ = b(
94
104
  "IrisChatScenario",
95
105
  ({ className: o, title: i, rows: a, notes: n }, l) => /* @__PURE__ */ r(
96
106
  "section",
@@ -0,0 +1,39 @@
1
+ import { IrisChatBodyProps, IrisChatFooterProps, IrisChatHeaderProps, IrisChatIconButtonProps, IrisChatPanelProps } from './iris-chat.types';
2
+ import * as React from "react";
3
+ declare const IrisChatPanel: React.ForwardRefExoticComponent<IrisChatPanelProps & React.RefAttributes<HTMLDivElement>>;
4
+ declare const IrisChatHeader: React.ForwardRefExoticComponent<IrisChatHeaderProps & React.RefAttributes<HTMLElement>>;
5
+ declare const IrisChatHeaderLeading: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ declare const IrisChatHeaderTrailing: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const IrisChatHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & {
8
+ showBrand?: boolean;
9
+ } & React.RefAttributes<HTMLHeadingElement>>;
10
+ declare const IrisChatIconButton: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
11
+ label: string;
12
+ variant?: "secondary" | "ghost";
13
+ } & React.RefAttributes<HTMLButtonElement>>;
14
+ declare const IrisChatHeaderMenuButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
15
+ label?: string;
16
+ } & React.RefAttributes<HTMLButtonElement>>;
17
+ declare const IrisChatHeaderBackButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
18
+ label?: string;
19
+ } & React.RefAttributes<HTMLButtonElement>>;
20
+ declare const IrisChatHeaderNewChatButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
21
+ label?: string;
22
+ } & React.RefAttributes<HTMLButtonElement>>;
23
+ declare const IrisChatHeaderMinimizeButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
24
+ label?: string;
25
+ } & React.RefAttributes<HTMLButtonElement>>;
26
+ declare const IrisChatHeaderCloseButton: React.ForwardRefExoticComponent<Omit<IrisChatIconButtonProps, "label"> & {
27
+ label?: string;
28
+ } & React.RefAttributes<HTMLButtonElement>>;
29
+ declare const IrisChatBody: React.ForwardRefExoticComponent<IrisChatBodyProps & React.RefAttributes<HTMLDivElement>>;
30
+ declare const IrisChatFooter: React.ForwardRefExoticComponent<IrisChatFooterProps & React.RefAttributes<HTMLDivElement>>;
31
+ declare const IrisChatDisclaimer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & {
32
+ href?: string;
33
+ } & React.RefAttributes<HTMLParagraphElement>>;
34
+ declare const IrisChatTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
35
+ asChild?: boolean;
36
+ size?: "sm" | "md" | "lg";
37
+ shape?: "default" | "pill";
38
+ } & React.RefAttributes<HTMLButtonElement>>;
39
+ export { IrisChatBody, IrisChatDisclaimer, IrisChatFooter, IrisChatHeader, IrisChatHeaderBackButton, IrisChatHeaderCloseButton, IrisChatHeaderLeading, IrisChatHeaderMenuButton, IrisChatHeaderMinimizeButton, IrisChatHeaderNewChatButton, IrisChatHeaderTitle, IrisChatHeaderTrailing, IrisChatIconButton, IrisChatPanel, IrisChatTrigger, };