impact-nova 2.6.3 → 3.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
  2. package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
  3. package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
  4. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
  5. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
  6. package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
  7. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
  8. package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
  9. package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
  10. package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
  11. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
  12. package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
  13. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
  14. package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
  15. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
  16. package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
  17. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
  18. package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
  19. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  20. package/dist/components/data/ag-grid-react/index.js +162 -146
  21. package/dist/components/data/data-table/data-table.js +85 -82
  22. package/dist/components/data/data-table/data-table.types.d.ts +5 -0
  23. package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +2 -3
  24. package/dist/components/data/expandable-list-item/expandable-list-item-metrics.js +2 -3
  25. package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
  26. package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
  27. package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
  28. package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
  29. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
  30. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
  31. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
  32. package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
  33. package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
  34. package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
  35. package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
  36. package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
  37. package/dist/components/data-display/chart/chart.js +100 -93
  38. package/dist/components/data-display/chart/chart.types.d.ts +10 -0
  39. package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
  40. package/dist/components/data-display/chart/chart.utils.js +132 -35
  41. package/dist/components/data-display/chart/index.js +15 -13
  42. package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
  43. package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
  44. package/dist/components/data-display/globe-map/globe-map.js +161 -0
  45. package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
  46. package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
  47. package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
  48. package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
  49. package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
  50. package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
  51. package/dist/components/data-display/globe-map/index.d.ts +2 -0
  52. package/dist/components/data-display/globe-map/index.js +10 -0
  53. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
  54. package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
  55. package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
  56. package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
  57. package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
  58. package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
  59. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
  60. package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
  61. package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
  62. package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
  63. package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
  64. package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
  65. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
  66. package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
  67. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
  68. package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
  69. package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
  70. package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
  71. package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
  72. package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
  73. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
  74. package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
  75. package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
  76. package/dist/components/data-display/hex-tilemap/index.js +12 -0
  77. package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
  78. package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
  79. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
  80. package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
  81. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
  82. package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
  83. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
  84. package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
  85. package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
  86. package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
  87. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
  88. package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
  89. package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
  90. package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
  91. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
  92. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
  93. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
  94. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
  95. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
  96. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
  97. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
  98. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
  99. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
  100. package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
  101. package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
  102. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
  103. package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
  104. package/dist/components/data-display/notch-card/index.d.ts +2 -0
  105. package/dist/components/data-display/notch-card/index.js +6 -0
  106. package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
  107. package/dist/components/data-display/notch-card/notch-card.js +151 -0
  108. package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
  109. package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
  110. package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
  111. package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
  112. package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
  113. package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
  114. package/dist/components/feedback/hover-card/hover-card.js +28 -24
  115. package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
  116. package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
  117. package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
  118. package/dist/components/feedback/tooltip/tab-tooltip-render.js +2 -3
  119. package/dist/components/flows/command-palette/shortcut-settings.js +10 -10
  120. package/dist/components/flows/filter-panel/filter-panel.js +4 -4
  121. package/dist/components/flows/filter-strip/index.d.ts +1 -0
  122. package/dist/components/flows/filter-strip/index.js +4 -2
  123. package/dist/components/flows/iris-chat/index.d.ts +10 -0
  124. package/dist/components/flows/iris-chat/index.js +55 -0
  125. package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
  126. package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
  127. package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
  128. package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
  129. package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
  130. package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
  131. package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
  132. package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
  133. package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
  134. package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
  135. package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
  136. package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
  137. package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
  138. package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
  139. package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
  140. package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
  141. package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
  142. package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
  143. package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
  144. package/dist/components/flows/iris-chat/iris-chat.js +336 -0
  145. package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
  146. package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
  147. package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
  148. package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
  149. package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
  150. package/dist/components/flows/wizard/index.d.ts +2 -2
  151. package/dist/components/flows/wizard/index.js +17 -13
  152. package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
  153. package/dist/components/flows/wizard/wizard-context.js +15 -7
  154. package/dist/components/flows/wizard/wizard.d.ts +22 -4
  155. package/dist/components/flows/wizard/wizard.js +278 -174
  156. package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
  157. package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
  158. package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
  159. package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
  160. package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
  161. package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
  162. package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
  163. package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
  164. package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
  165. package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
  166. package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
  167. package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
  168. package/dist/components/forms/choice-card/choice-card.js +651 -170
  169. package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
  170. package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
  171. package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
  172. package/dist/components/forms/choice-card/index.d.ts +2 -1
  173. package/dist/components/forms/choice-card/index.js +27 -10
  174. package/dist/components/forms/select/components/SelectTriggerValue.js +2 -3
  175. package/dist/components/forms/select/components/Submenu.js +2 -3
  176. package/dist/components/layout/header/header.d.ts +3 -2
  177. package/dist/components/layout/header/header.js +67 -47
  178. package/dist/components/layout/header/header.types.d.ts +1 -0
  179. package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
  180. package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
  181. package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
  182. package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
  183. package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
  184. package/dist/components/primitives/iris/iris-control-context.js +44 -0
  185. package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
  186. package/dist/components/primitives/iris/iris-control-region.js +102 -0
  187. package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
  188. package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
  189. package/dist/components/primitives/iris/iris-control.variants.js +20 -0
  190. package/dist/components/primitives/iris/iris.d.ts +24 -0
  191. package/dist/components/primitives/iris/iris.js +232 -0
  192. package/dist/components/primitives/iris/iris.types.d.ts +35 -0
  193. package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
  194. package/dist/components/primitives/iris/iris.variants.js +120 -0
  195. package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
  196. package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
  197. package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
  198. package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
  199. package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
  200. package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
  201. package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
  202. package/dist/components/primitives/stepper/internals/step-model.js +10 -0
  203. package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
  204. package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
  205. package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
  206. package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
  207. package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
  208. package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
  209. package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
  210. package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
  211. package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
  212. package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
  213. package/dist/components/primitives/stepper/stepper.d.ts +1 -0
  214. package/dist/components/primitives/stepper/stepper.js +134 -52
  215. package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
  216. package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
  217. package/dist/components/primitives/stepper/stepper.variants.js +165 -5
  218. package/dist/components/primitives/tabs/tabs.d.ts +4 -1
  219. package/dist/components/primitives/tabs/tabs.js +131 -59
  220. package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
  221. package/dist/i18n/defaultMessages.d.ts +100 -0
  222. package/dist/i18n/defaultMessages.js +118 -21
  223. package/dist/i18n/index.d.ts +1 -1
  224. package/dist/i18n/locales/de.js +99 -2
  225. package/dist/i18n/locales/es.js +99 -2
  226. package/dist/i18n/locales/hi.js +99 -2
  227. package/dist/i18n/locales/kn.js +99 -2
  228. package/dist/impact-nova-components.css +972 -2
  229. package/dist/impact-nova-tokens.scss +109 -1
  230. package/dist/impact-nova.css +1 -1
  231. package/dist/index.d.ts +1 -1
  232. package/dist/index.js +585 -551
  233. package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
  234. package/dist/lib/virtualized/directional-range-extractor.js +39 -0
  235. package/dist/lib/virtualized/index.d.ts +3 -0
  236. package/dist/lib/virtualized/index.js +35 -27
  237. package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
  238. package/dist/lib/virtualized/scroll-seek.js +61 -0
  239. package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
  240. package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
  241. package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
  242. package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
  243. package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
  244. package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
  245. package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
  246. package/dist/lib/virtualized/useVirtualizedList.js +89 -87
  247. package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
  248. package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
  249. package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
  250. package/dist/llms/rules/installation.js +1 -1
  251. package/dist/llms/rules/requirements.js +1 -1
  252. package/dist/tailwind.config.js +3 -1
  253. package/dist/theme/tailwind-colors.js +2 -1
  254. package/package.json +39 -4
@@ -0,0 +1,176 @@
1
+ import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
+ import { cn as h } from "../../../lib/utils.js";
3
+ function n({
4
+ size: r = 16,
5
+ className: t,
6
+ children: c,
7
+ viewBox: i = "0 0 24 24"
8
+ }) {
9
+ return /* @__PURE__ */ o(
10
+ "svg",
11
+ {
12
+ width: r,
13
+ height: r,
14
+ viewBox: i,
15
+ fill: "none",
16
+ xmlns: "http://www.w3.org/2000/svg",
17
+ "aria-hidden": !0,
18
+ className: h("block shrink-0", t),
19
+ children: c
20
+ }
21
+ );
22
+ }
23
+ function u({ size: r = 16, className: t }) {
24
+ return /* @__PURE__ */ o(n, { size: r, viewBox: "0 0 16 16", className: t, children: /* @__PURE__ */ o(
25
+ "path",
26
+ {
27
+ d: "M12 8.667H8.667V12A.667.667 0 0 1 8 12.667a.667.667 0 0 1-.667-.667V8.667H4A.667.667 0 0 1 3.333 8 .667.667 0 0 1 4 7.333h3.333V4A.667.667 0 0 1 8 3.333.667.667 0 0 1 8.667 4v3.333H12A.667.667 0 0 1 12.667 8 .667.667 0 0 1 12 8.667Z",
28
+ fill: "currentColor"
29
+ }
30
+ ) });
31
+ }
32
+ function l({ size: r = 16, className: t }) {
33
+ return /* @__PURE__ */ o(n, { size: r, viewBox: "0 0 16 16", className: t, children: /* @__PURE__ */ o(
34
+ "path",
35
+ {
36
+ d: "M12.5 10.5c0 1.156-.406 2.139-1.217 2.95C10.472 14.261 9.489 14.667 8.333 14.667c-1.155 0-2.139-.406-2.95-1.217C4.572 12.639 4.167 11.656 4.167 10.5V4.333c0-.833.291-1.541.875-2.125C5.625 1.625 6.333 1.333 7.167 1.333c.833 0 1.541.292 2.125.875.583.584.875 1.292.875 2.125v5.834c0 .511-.178.944-.534 1.3-.355.355-.788.533-1.3.533-.511 0-.944-.178-1.3-.533-.355-.356-.533-.789-.533-1.3V4.667c0-.189.064-.347.192-.475.127-.128.286-.192.475-.192.188 0 .347.064.475.192.127.128.191.286.191.475v5.5c0 .144.048.264.142.358.094.095.214.142.358.142.145 0 .264-.047.359-.142.094-.094.141-.214.141-.358V4.333c-.011-.466-.175-.861-.491-1.183C8.025 2.828 7.633 2.667 7.167 2.667c-.467 0-.861.161-1.184.483-.322.322-.483.717-.483 1.183V10.5c-.011.789.261 1.458.817 2.008.555.55 1.227.825 2.016.825.778 0 1.439-.275 1.984-.825.544-.55.827-1.219.85-2.008V4.667c0-.189.064-.347.191-.475.128-.128.287-.192.475-.192.189 0 .347.064.475.192.128.128.192.286.192.475V10.5Z",
37
+ fill: "currentColor"
38
+ }
39
+ ) });
40
+ }
41
+ function a({ size: r = 16, className: t }) {
42
+ return /* @__PURE__ */ o(n, { size: r, viewBox: "0 0 16 16", className: t, children: /* @__PURE__ */ o(
43
+ "path",
44
+ {
45
+ d: "M6.583 8.75C6.194 8.361 6 7.889 6 7.333V3.333C6 2.778 6.194 2.306 6.583 1.917 6.972 1.528 7.444 1.333 8 1.333c.556 0 1.028.195 1.417.584C9.806 2.306 10 2.778 10 3.333v4c0 .556-.194 1.028-.583 1.417C9.028 9.139 8.556 9.333 8 9.333c-.556 0-1.028-.194-1.417-.583ZM7.333 13.333v-1.383c-1.022-.144-1.897-.578-2.625-1.3C3.981 9.928 3.539 9.05 3.383 8.017c-.022-.189.028-.35.15-.484C3.656 7.4 3.811 7.333 4 7.333c.189 0 .347.064.475.192.128.128.214.286.258.475.156.778.542 1.417 1.159 1.917C6.508 10.417 7.211 10.667 8 10.667c.8 0 1.506-.253 2.117-.759.611-.505.994-1.141 1.15-1.908.044-.189.13-.347.258-.475.128-.128.286-.192.475-.192.189 0 .344.067.467.2.122.134.172.295.15.484-.156 1.011-.595 1.883-1.317 2.616-.722.734-1.6 1.173-2.633 1.317v1.383c0 .189-.064.348-.192.475A.64.64 0 0 1 8 14a.64.64 0 0 1-.475-.192.64.64 0 0 1-.192-.475ZM8.475 7.808A.64.64 0 0 0 8.667 7.333V3.333a.64.64 0 0 0-.192-.475A.64.64 0 0 0 8 2.667a.64.64 0 0 0-.475.191.64.64 0 0 0-.192.475v4c0 .189.064.347.192.475A.64.64 0 0 0 8 8a.64.64 0 0 0 .475-.192Z",
46
+ fill: "currentColor"
47
+ }
48
+ ) });
49
+ }
50
+ function C({ size: r = 16, className: t }) {
51
+ return /* @__PURE__ */ o(n, { size: r, className: t, children: /* @__PURE__ */ o(
52
+ "path",
53
+ {
54
+ d: "M12 17V7M8 11l4-4 4 4",
55
+ stroke: "currentColor",
56
+ strokeWidth: "1.7",
57
+ strokeLinecap: "round",
58
+ strokeLinejoin: "round"
59
+ }
60
+ ) });
61
+ }
62
+ function k({ size: r = 16, className: t }) {
63
+ return /* @__PURE__ */ o(n, { size: r, className: t, children: /* @__PURE__ */ o("rect", { x: "6.5", y: "6.5", width: "11", height: "11", rx: "1.5", fill: "currentColor" }) });
64
+ }
65
+ function p({ size: r = 16, className: t }) {
66
+ return /* @__PURE__ */ o(n, { size: r, className: t, children: /* @__PURE__ */ o("path", { d: "M5 7h14M5 12h14M5 17h14", stroke: "currentColor", strokeWidth: "1.6", strokeLinecap: "round" }) });
67
+ }
68
+ function I({ size: r = 16, className: t }) {
69
+ return /* @__PURE__ */ e(n, { size: r, className: t, children: [
70
+ /* @__PURE__ */ o("rect", { x: "5", y: "6", width: "14", height: "12", rx: "2", stroke: "currentColor", strokeWidth: "1.5" }),
71
+ /* @__PURE__ */ o("path", { d: "M5 16h14", stroke: "currentColor", strokeWidth: "1.8" })
72
+ ] });
73
+ }
74
+ function M({ size: r = 14, className: t }) {
75
+ return /* @__PURE__ */ o(n, { size: r, className: t, children: /* @__PURE__ */ o(
76
+ "path",
77
+ {
78
+ d: "M8 6v8h7M12 11l3 3-3 3",
79
+ stroke: "currentColor",
80
+ strokeWidth: "1.5",
81
+ strokeLinecap: "round",
82
+ strokeLinejoin: "round"
83
+ }
84
+ ) });
85
+ }
86
+ function f({ size: r = 16, className: t }) {
87
+ return /* @__PURE__ */ e(n, { size: r, className: t, children: [
88
+ /* @__PURE__ */ o(
89
+ "path",
90
+ {
91
+ d: "M7 21V10l6.4-7.2c.4-.4 1-.5 1.5-.2.4.2.7.7.6 1.2L14.6 8H20c1.1 0 2 .9 2 2v1.1c0 .2 0 .4-.1.6l-2.2 7.2A2 2 0 0 1 17.8 21H7Z",
92
+ stroke: "currentColor",
93
+ strokeWidth: "1.6",
94
+ strokeLinejoin: "round"
95
+ }
96
+ ),
97
+ /* @__PURE__ */ o("path", { d: "M7 10H3.8C3.4 10 3 10.4 3 10.8v8.4c0 .4.4.8.8.8H7", stroke: "currentColor", strokeWidth: "1.6" })
98
+ ] });
99
+ }
100
+ function v({ size: r = 16, className: t }) {
101
+ return /* @__PURE__ */ e(n, { size: r, className: t, children: [
102
+ /* @__PURE__ */ o(
103
+ "path",
104
+ {
105
+ d: "M7 3v11l6.4 7.2c.4.4 1 .5 1.5.2.4-.2.7-.7.6-1.2L14.6 16H20c1.1 0 2-.9 2-2v-1.1c0-.2 0-.4-.1-.6l-2.2-7.2A2 2 0 0 0 17.8 3H7Z",
106
+ stroke: "currentColor",
107
+ strokeWidth: "1.6",
108
+ strokeLinejoin: "round"
109
+ }
110
+ ),
111
+ /* @__PURE__ */ o("path", { d: "M7 14H3.8C3.4 14 3 13.6 3 13.2V4.8C3 4.4 3.4 4 3.8 4H7", stroke: "currentColor", strokeWidth: "1.6" })
112
+ ] });
113
+ }
114
+ function L({ size: r = 16, className: t }) {
115
+ return /* @__PURE__ */ e(n, { size: r, className: t, children: [
116
+ /* @__PURE__ */ o("rect", { x: "8", y: "8", width: "10", height: "12", rx: "1.5", stroke: "currentColor", strokeWidth: "1.6" }),
117
+ /* @__PURE__ */ o(
118
+ "path",
119
+ {
120
+ d: "M6 16H5.5A1.5 1.5 0 0 1 4 14.5v-9A1.5 1.5 0 0 1 5.5 4h9A1.5 1.5 0 0 1 16 5.5V6",
121
+ stroke: "currentColor",
122
+ strokeWidth: "1.6",
123
+ strokeLinecap: "round"
124
+ }
125
+ )
126
+ ] });
127
+ }
128
+ function A({ size: r = 16, className: t }) {
129
+ return /* @__PURE__ */ o(n, { size: r, className: t, children: /* @__PURE__ */ o(
130
+ "path",
131
+ {
132
+ d: "M20 12a8 8 0 1 1-2.2-5.5M20 4v5h-5",
133
+ stroke: "currentColor",
134
+ strokeWidth: "1.6",
135
+ strokeLinecap: "round",
136
+ strokeLinejoin: "round"
137
+ }
138
+ ) });
139
+ }
140
+ function V({ size: r = 16, className: t }) {
141
+ return /* @__PURE__ */ e(n, { size: r, className: t, children: [
142
+ /* @__PURE__ */ o(
143
+ "path",
144
+ {
145
+ d: "M5 9.5h3.2L12 6v12l-3.8-3.5H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1Z",
146
+ stroke: "currentColor",
147
+ strokeWidth: "1.6",
148
+ strokeLinejoin: "round"
149
+ }
150
+ ),
151
+ /* @__PURE__ */ o(
152
+ "path",
153
+ {
154
+ d: "M15.2 9.2a3.2 3.2 0 0 1 0 5.6M17.6 7a5.8 5.8 0 0 1 0 10",
155
+ stroke: "currentColor",
156
+ strokeWidth: "1.6",
157
+ strokeLinecap: "round"
158
+ }
159
+ )
160
+ ] });
161
+ }
162
+ export {
163
+ u as IrisChatAddIcon,
164
+ l as IrisChatAttachIcon,
165
+ L as IrisChatCopyIcon,
166
+ v as IrisChatDislikeIcon,
167
+ p as IrisChatHamburgerIcon,
168
+ f as IrisChatLikeIcon,
169
+ a as IrisChatMicIcon,
170
+ I as IrisChatMinimizeIcon,
171
+ A as IrisChatRetryIcon,
172
+ C as IrisChatSendIcon,
173
+ V as IrisChatSpeakIcon,
174
+ k as IrisChatStopIcon,
175
+ M as IrisChatSuggestIcon
176
+ };
@@ -0,0 +1,3 @@
1
+ import { IrisChatMarkdownProps } from './iris-chat.types';
2
+ declare const IrisChatMarkdown: import('react').ForwardRefExoticComponent<IrisChatMarkdownProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ export { IrisChatMarkdown };
@@ -0,0 +1,62 @@
1
+ import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
+ import { useState as c } from "react";
3
+ import p from "react-markdown";
4
+ import m from "remark-gfm";
5
+ import { ButtonIconTooltip as l } from "../../feedback/tooltip/button-icon-tooltip.js";
6
+ import { Button as d } from "../../primitives/button/button.js";
7
+ import { useImpactNovaI18n as f } from "../../../i18n/use-impact-nova-i18n.js";
8
+ import { createComponent as h } from "../../../lib/primitives/create-component.js";
9
+ import { cn as u } from "../../../lib/utils.js";
10
+ import { IrisChatCopyIcon as C } from "./iris-chat-icons.js";
11
+ import { irisChatMarkdownVariants as k } from "./iris-chat.variants.js";
12
+ function n(r) {
13
+ return typeof r == "string" || typeof r == "number" ? String(r) : Array.isArray(r) ? r.map(n).join("") : r && typeof r == "object" && "props" in r ? n(r.props.children) : "";
14
+ }
15
+ function y({ children: r }) {
16
+ const { t: o } = f(), [e, i] = c(!1), a = n(r);
17
+ return /* @__PURE__ */ s("div", { className: "relative", children: [
18
+ /* @__PURE__ */ t(l, { label: o(e ? "irisChat.copied" : "irisChat.copyCode"), children: /* @__PURE__ */ t(
19
+ d,
20
+ {
21
+ type: "button",
22
+ variant: "ghost",
23
+ size: "icon",
24
+ className: "absolute end-1.5 top-1.5 size-7",
25
+ "aria-label": o(e ? "irisChat.copied" : "irisChat.copyCode"),
26
+ "data-testid": "iris-chat-copy-code",
27
+ onClick: () => {
28
+ navigator.clipboard?.writeText(a).catch(() => {
29
+ }), i(!0), window.setTimeout(() => i(!1), 1600);
30
+ },
31
+ children: /* @__PURE__ */ t(C, { size: 14 })
32
+ }
33
+ ) }),
34
+ /* @__PURE__ */ t("pre", { children: r })
35
+ ] });
36
+ }
37
+ const B = h(
38
+ "IrisChatMarkdown",
39
+ ({ className: r, children: o }, e) => /* @__PURE__ */ t(
40
+ "div",
41
+ {
42
+ ref: e,
43
+ "data-component": "iris-chat-markdown",
44
+ className: u(k(), r),
45
+ children: /* @__PURE__ */ t(
46
+ p,
47
+ {
48
+ remarkPlugins: [m],
49
+ skipHtml: !0,
50
+ components: {
51
+ a: ({ href: i, children: a }) => /* @__PURE__ */ t("a", { href: i, target: "_blank", rel: "noreferrer", children: a }),
52
+ pre: ({ children: i }) => /* @__PURE__ */ t(y, { children: i })
53
+ },
54
+ children: o
55
+ }
56
+ )
57
+ }
58
+ )
59
+ );
60
+ export {
61
+ B as IrisChatMarkdown
62
+ };
@@ -0,0 +1,15 @@
1
+ import { IrisChatListItemProps, IrisChatListProps, IrisChatMenuProps, IrisChatMenuSectionProps } from './iris-chat.types';
2
+ declare const IrisChatMenu: import('react').ForwardRefExoticComponent<IrisChatMenuProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ declare const IrisChatMenuSection: {
4
+ ({ value, title, onFilterSelect, onViewMore, viewMoreLabel, className, children, }: IrisChatMenuSectionProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
7
+ declare const IrisChatListItem: {
8
+ ({ title, onSelect, onAction, className }: IrisChatListItemProps): import("react/jsx-runtime").JSX.Element;
9
+ displayName: string;
10
+ };
11
+ declare function IrisChatList<T>({ items, getItemId, renderItem, title, onFilterSelect, estimateSize, className, }: IrisChatListProps<T>): import("react/jsx-runtime").JSX.Element;
12
+ declare namespace IrisChatList {
13
+ var displayName: string;
14
+ }
15
+ export { IrisChatList, IrisChatListItem, IrisChatMenu, IrisChatMenuSection };
@@ -0,0 +1,259 @@
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
+ import { useRef as S, useState as y } from "react";
3
+ import { FunnelShow as I, ThreeDots as L, Pin as M, Pencil as A, Bin as D, ChevronRight as T } from "impact-nova-icons";
4
+ import { DropdownMenu as g, DropdownMenuTrigger as v, DropdownMenuContent as b, DropdownMenuItem as f } from "../../feedback/dropdown-menu/dropdown-menu.js";
5
+ import { ButtonIconTooltip as N } from "../../feedback/tooltip/button-icon-tooltip.js";
6
+ import { Button as x } from "../../primitives/button/button.js";
7
+ import { Accordion as j, AccordionItem as k, AccordionTrigger as R, AccordionContent as E } from "../../primitives/accordion/accordion.js";
8
+ import { useImpactNovaI18n as w } from "../../../i18n/use-impact-nova-i18n.js";
9
+ import { useVirtualizedList as B } from "../../../lib/virtualized/useVirtualizedList.js";
10
+ import { createComponent as O } from "../../../lib/primitives/create-component.js";
11
+ import { cn as C } from "../../../lib/utils.js";
12
+ import { IrisChatAttachIcon as $ } from "./iris-chat-icons.js";
13
+ const z = ["type", "status", "lastActivity"], ee = O(
14
+ "IrisChatMenu",
15
+ ({ className: t, children: m, ...l }, c) => /* @__PURE__ */ e(
16
+ "div",
17
+ {
18
+ ref: c,
19
+ "data-component": "iris-chat-menu",
20
+ className: C("flex flex-col gap-4 py-4", t),
21
+ ...l,
22
+ children: /* @__PURE__ */ e(j, { type: "multiple", defaultValue: ["recent", "artifacts"], className: "flex flex-col gap-4", children: m })
23
+ }
24
+ )
25
+ ), P = ({
26
+ value: t,
27
+ title: m,
28
+ onFilterSelect: l,
29
+ onViewMore: c,
30
+ viewMoreLabel: a,
31
+ className: h,
32
+ children: p
33
+ }) => {
34
+ const { t: i } = w(), d = {
35
+ type: i("irisChat.filterType"),
36
+ status: i("irisChat.filterStatus"),
37
+ lastActivity: i("irisChat.filterLastActivity")
38
+ };
39
+ return /* @__PURE__ */ s(
40
+ k,
41
+ {
42
+ value: t,
43
+ "data-component": "iris-chat-menu-section",
44
+ className: C("rounded-none border-0 bg-transparent shadow-none", h),
45
+ children: [
46
+ /* @__PURE__ */ s("div", { className: "flex h-10 items-center justify-between gap-2", children: [
47
+ /* @__PURE__ */ s(R, { variant: "plain", headingLevel: 3, className: "flex min-w-0 flex-1 items-center gap-2 py-0", children: [
48
+ /* @__PURE__ */ e("span", { className: "flex size-6 shrink-0 items-center justify-center rounded-full bg-secondary text-content-secondary", children: /* @__PURE__ */ e(
49
+ T,
50
+ {
51
+ size: 14,
52
+ className: "rotate-90 transition-transform group-data-[state=open]:-rotate-90"
53
+ }
54
+ ) }),
55
+ /* @__PURE__ */ e("span", { className: "text-sm font-medium text-content", children: m })
56
+ ] }),
57
+ /* @__PURE__ */ s(g, { children: [
58
+ /* @__PURE__ */ e(N, { label: i("irisChat.filter"), children: /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
59
+ x,
60
+ {
61
+ type: "button",
62
+ variant: "ghost",
63
+ size: "iconSm",
64
+ "aria-label": i("irisChat.filter"),
65
+ "data-testid": `iris-chat-filter-${t}`,
66
+ children: /* @__PURE__ */ e(I, { size: 16 })
67
+ }
68
+ ) }) }),
69
+ /* @__PURE__ */ e(b, { align: "end", children: z.map((o) => /* @__PURE__ */ e(f, { onSelect: () => l?.(o), children: d[o] }, o)) })
70
+ ] })
71
+ ] }),
72
+ /* @__PURE__ */ s(E, { className: "px-0 pb-1 pt-1", children: [
73
+ /* @__PURE__ */ e("div", { className: "flex flex-col", children: p }),
74
+ c ? /* @__PURE__ */ e(
75
+ x,
76
+ {
77
+ type: "button",
78
+ variant: "link",
79
+ "data-testid": `iris-chat-view-more-${t}`,
80
+ className: "mt-1 h-auto justify-start px-2 text-sm",
81
+ onClick: c,
82
+ children: a ?? i("irisChat.viewMore")
83
+ }
84
+ ) : null
85
+ ] })
86
+ ]
87
+ }
88
+ );
89
+ };
90
+ P.displayName = "IrisChatMenuSection";
91
+ const V = ({ title: t, onSelect: m, onAction: l, className: c }) => {
92
+ const { t: a } = w(), [h, p] = y(!1), [i, d] = y(!1), [o, u] = y(t), n = () => {
93
+ const r = o.trim();
94
+ if (d(!1), !r || r === t) {
95
+ u(t);
96
+ return;
97
+ }
98
+ l?.("rename", r);
99
+ };
100
+ return /* @__PURE__ */ s(
101
+ "div",
102
+ {
103
+ "data-component": "iris-chat-list-item",
104
+ "data-menu-open": h ? "" : void 0,
105
+ className: C(
106
+ "flex min-h-10 items-center justify-between gap-2 rounded-full px-3",
107
+ (h || i) && "bg-secondary",
108
+ "hover:bg-secondary",
109
+ c
110
+ ),
111
+ children: [
112
+ i ? /* @__PURE__ */ e(
113
+ "input",
114
+ {
115
+ value: o,
116
+ autoFocus: !0,
117
+ "aria-label": a("irisChat.rename"),
118
+ "data-testid": "iris-chat-item-rename",
119
+ className: "min-w-0 flex-1 bg-transparent text-sm text-content outline-none",
120
+ onChange: (r) => u(r.target.value),
121
+ onBlur: n,
122
+ onKeyDown: (r) => {
123
+ r.key === "Enter" && (r.preventDefault(), n()), r.key === "Escape" && (u(t), d(!1));
124
+ }
125
+ }
126
+ ) : /* @__PURE__ */ e(
127
+ "button",
128
+ {
129
+ type: "button",
130
+ className: "min-w-0 flex-1 truncate text-start text-sm text-content",
131
+ onClick: m,
132
+ children: t
133
+ }
134
+ ),
135
+ /* @__PURE__ */ s(g, { open: h, onOpenChange: p, children: [
136
+ /* @__PURE__ */ e(N, { label: a("irisChat.moreActions"), children: /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
137
+ x,
138
+ {
139
+ type: "button",
140
+ variant: "ghost",
141
+ size: "iconSm",
142
+ "aria-label": a("irisChat.moreActions"),
143
+ "data-testid": "iris-chat-item-more",
144
+ children: /* @__PURE__ */ e(L, { size: 16 })
145
+ }
146
+ ) }) }),
147
+ /* @__PURE__ */ s(b, { align: "end", className: "w-[182px]", children: [
148
+ /* @__PURE__ */ e(
149
+ f,
150
+ {
151
+ icon: /* @__PURE__ */ e(M, { size: 16 }),
152
+ onSelect: () => l?.("pin"),
153
+ children: a("irisChat.pin")
154
+ }
155
+ ),
156
+ /* @__PURE__ */ e(
157
+ f,
158
+ {
159
+ icon: /* @__PURE__ */ e(A, { size: 16 }),
160
+ onSelect: () => {
161
+ u(t), window.setTimeout(() => d(!0), 0);
162
+ },
163
+ children: a("irisChat.rename")
164
+ }
165
+ ),
166
+ /* @__PURE__ */ e(
167
+ f,
168
+ {
169
+ icon: /* @__PURE__ */ e($, {}),
170
+ onSelect: () => l?.("archive"),
171
+ children: a("irisChat.archive")
172
+ }
173
+ ),
174
+ /* @__PURE__ */ e(
175
+ f,
176
+ {
177
+ icon: /* @__PURE__ */ e(D, { size: 16 }),
178
+ className: "text-destructive focus:bg-destructive/10 focus:text-destructive",
179
+ onSelect: () => l?.("delete"),
180
+ children: a("irisChat.delete")
181
+ }
182
+ )
183
+ ] })
184
+ ] })
185
+ ]
186
+ }
187
+ );
188
+ };
189
+ V.displayName = "IrisChatListItem";
190
+ function F({
191
+ items: t,
192
+ getItemId: m,
193
+ renderItem: l,
194
+ title: c,
195
+ onFilterSelect: a,
196
+ estimateSize: h = 32,
197
+ className: p
198
+ }) {
199
+ const { t: i } = w(), d = S(null), o = B({
200
+ rowCount: t.length,
201
+ getRowData: (n) => t[n],
202
+ getRowId: (n) => m(t[n]),
203
+ estimateSize: () => h,
204
+ scrollElementRef: d,
205
+ hasMore: !1
206
+ }), u = {
207
+ type: i("irisChat.filterType"),
208
+ status: i("irisChat.filterStatus"),
209
+ lastActivity: i("irisChat.filterLastActivity")
210
+ };
211
+ return /* @__PURE__ */ s(
212
+ "div",
213
+ {
214
+ "data-component": "iris-chat-list",
215
+ className: C("flex min-h-0 flex-1 flex-col", p),
216
+ children: [
217
+ c || a ? /* @__PURE__ */ s("div", { className: "flex items-center justify-between gap-2 py-3", children: [
218
+ c ? /* @__PURE__ */ e("p", { className: "text-sm font-medium text-content", children: c }) : /* @__PURE__ */ e("span", {}),
219
+ a ? /* @__PURE__ */ s(g, { children: [
220
+ /* @__PURE__ */ e(N, { label: i("irisChat.filter"), children: /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
221
+ x,
222
+ {
223
+ type: "button",
224
+ variant: "ghost",
225
+ size: "iconSm",
226
+ "aria-label": i("irisChat.filter"),
227
+ "data-testid": "iris-chat-filter-list",
228
+ children: /* @__PURE__ */ e(I, { size: 16 })
229
+ }
230
+ ) }) }),
231
+ /* @__PURE__ */ e(b, { align: "end", children: z.map((n) => /* @__PURE__ */ e(f, { onSelect: () => a(n), children: u[n] }, n)) })
232
+ ] }) : null
233
+ ] }) : null,
234
+ /* @__PURE__ */ e("div", { ref: d, className: "min-h-0 flex-1 overflow-y-auto", children: /* @__PURE__ */ e("div", { style: { height: o.virtualizer.getTotalSize(), position: "relative" }, children: o.virtualizer.getVirtualItems().map((n) => {
235
+ const r = t[n.index];
236
+ return /* @__PURE__ */ e(
237
+ "div",
238
+ {
239
+ className: "absolute inset-x-0",
240
+ style: {
241
+ height: n.size,
242
+ transform: `translateY(${n.start}px)`
243
+ },
244
+ children: l(r)
245
+ },
246
+ m(r)
247
+ );
248
+ }) }) })
249
+ ]
250
+ }
251
+ );
252
+ }
253
+ F.displayName = "IrisChatList";
254
+ export {
255
+ F as IrisChatList,
256
+ V as IrisChatListItem,
257
+ ee as IrisChatMenu,
258
+ P as IrisChatMenuSection
259
+ };
@@ -0,0 +1,3 @@
1
+ import { IrisChatPromptProps } from './iris-chat.types';
2
+ declare const IrisChatPrompt: import('react').ForwardRefExoticComponent<IrisChatPromptProps & import('react').RefAttributes<HTMLFormElement>>;
3
+ export { IrisChatPrompt };
@@ -0,0 +1,46 @@
1
+ import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
+ import { Button as c } from "../../primitives/button/button.js";
3
+ import { useImpactNovaI18n as d } from "../../../i18n/use-impact-nova-i18n.js";
4
+ import { createComponent as f } from "../../../lib/primitives/create-component.js";
5
+ import { cn as u } from "../../../lib/utils.js";
6
+ const b = f(
7
+ "IrisChatPrompt",
8
+ ({
9
+ className: e,
10
+ title: t,
11
+ children: m,
12
+ submitLabel: n,
13
+ submitDisabled: r = !1,
14
+ onSubmit: a
15
+ }, i) => {
16
+ const { t: p } = d();
17
+ return /* @__PURE__ */ l(
18
+ "form",
19
+ {
20
+ ref: i,
21
+ "data-component": "iris-chat-prompt",
22
+ className: u("flex w-full min-w-0 flex-col gap-4 rounded-2xl bg-secondary p-4", e),
23
+ onSubmit: (s) => {
24
+ s.preventDefault(), !r && a?.();
25
+ },
26
+ children: [
27
+ t ? /* @__PURE__ */ o("p", { className: "text-sm font-medium leading-5 text-content", children: t }) : null,
28
+ m,
29
+ /* @__PURE__ */ o(
30
+ c,
31
+ {
32
+ type: "submit",
33
+ disabled: r,
34
+ "data-testid": "iris-chat-prompt-submit",
35
+ className: "w-fit rounded-full",
36
+ children: n ?? p("irisChat.applySend")
37
+ }
38
+ )
39
+ ]
40
+ }
41
+ );
42
+ }
43
+ );
44
+ export {
45
+ b as IrisChatPrompt
46
+ };
@@ -0,0 +1,12 @@
1
+ import { IrisChatCitationsProps, IrisChatProcessStepsProps, IrisChatThinkingProps, IrisChatThinkingStatusProps } from './iris-chat.types';
2
+ declare const IrisChatThinking: import('react').ForwardRefExoticComponent<IrisChatThinkingProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ declare const IrisChatThinkingStatus: import('react').ForwardRefExoticComponent<IrisChatThinkingStatusProps & import('react').RefAttributes<HTMLDivElement>>;
4
+ declare const IrisChatProcessSteps: {
5
+ ({ title, steps, defaultOpen, open, onOpenChange, className, }: IrisChatProcessStepsProps): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ declare const IrisChatCitations: {
9
+ ({ title, groups, defaultOpen, open, onOpenChange, className, }: IrisChatCitationsProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export { IrisChatCitations, IrisChatProcessSteps, IrisChatThinking, IrisChatThinkingStatus };