impact-nova 2.6.0-alpha.0 → 2.6.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 (316) hide show
  1. package/README.md +25 -27
  2. package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +3 -28
  3. package/dist/components/data/ag-grid-react/cell-renderers/date-display-renderer.d.ts +3 -0
  4. package/dist/components/data/ag-grid-react/cell-renderers/date-display-renderer.js +38 -31
  5. package/dist/components/data/ag-grid-react/cell-renderers/input-display-renderer.d.ts +1 -1
  6. package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +65 -75
  7. package/dist/components/data/ag-grid-react/headers/advanced-filter/column-filter-section.d.ts +1 -1
  8. package/dist/components/data/ag-grid-react/headers/advanced-filter/column-filter-section.js +54 -54
  9. package/dist/components/data/ag-grid-react/headers/components/date-filter-picker.d.ts +1 -1
  10. package/dist/components/data/ag-grid-react/headers/components/header-info.d.ts +9 -3
  11. package/dist/components/data/ag-grid-react/headers/components/header-info.js +69 -61
  12. package/dist/components/data/ag-grid-react/headers/components/info-modal.js +8 -8
  13. package/dist/components/data/ag-grid-react/headers/header-search-input.js +119 -122
  14. package/dist/components/data/ag-grid-react/headers/utils/date-utils.d.ts +1 -2
  15. package/dist/components/data/ag-grid-react/headers/utils/date-utils.js +20 -25
  16. package/dist/components/data/ag-grid-react/headers/utils/filter-utils.d.ts +1 -1
  17. package/dist/components/data/ag-grid-react/index.d.ts +1 -1
  18. package/dist/components/data/ag-grid-react/index.js +254 -481
  19. package/dist/components/data/ag-grid-react/theme.js +2 -6
  20. package/dist/components/data/ag-grid-react/value-formatter.types.d.ts +0 -4
  21. package/dist/components/data/ag-grid-react/value-formatters.d.ts +19 -0
  22. package/dist/components/data/ag-grid-react/value-formatters.js +90 -88
  23. package/dist/components/data/data-table/build-column-tree-from-grid.d.ts +2 -0
  24. package/dist/components/data/data-table/build-column-tree-from-grid.js +64 -58
  25. package/dist/components/data/data-table/column-picker-authority.d.ts +35 -0
  26. package/dist/components/data/data-table/column-picker-authority.js +118 -0
  27. package/dist/components/data/data-table/column-picker-drop-validation.d.ts +7 -0
  28. package/dist/components/data/data-table/column-picker-drop-validation.js +37 -0
  29. package/dist/components/data/data-table/column-savability.d.ts +3 -0
  30. package/dist/components/data/data-table/column-savability.js +10 -0
  31. package/dist/components/data/data-table/data-table-column-apply.d.ts +2 -0
  32. package/dist/components/data/data-table/data-table-column-apply.js +84 -73
  33. package/dist/components/data/data-table/data-table-column-def-pin.js +31 -34
  34. package/dist/components/data/data-table/data-table-column-list-tree-apply.d.ts +10 -0
  35. package/dist/components/data/data-table/data-table-column-list-tree-apply.js +79 -0
  36. package/dist/components/data/data-table/data-table-column-list.js +122 -64
  37. package/dist/components/data/data-table/data-table-column-tree-cache.d.ts +12 -6
  38. package/dist/components/data/data-table/data-table-column-tree-cache.js +250 -131
  39. package/dist/components/data/data-table/data-table-context.js +5 -5
  40. package/dist/components/data/data-table/data-table-flat-column-virtual-rows.d.ts +27 -0
  41. package/dist/components/data/data-table/data-table-flat-column-virtual-rows.js +196 -0
  42. package/dist/components/data/data-table/data-table-picker-column-eligibility.d.ts +1 -0
  43. package/dist/components/data/data-table/data-table-picker-column-eligibility.js +7 -0
  44. package/dist/components/data/data-table/data-table-sheet-context.js +1 -1
  45. package/dist/components/data/data-table/data-table-sheet.js +1 -2
  46. package/dist/components/data/data-table/index.d.ts +2 -0
  47. package/dist/components/data/data-table/index.js +32 -28
  48. package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.d.ts +5 -0
  49. package/dist/components/data/data-table/patch-column-tree-indicators-from-grid.js +28 -10
  50. package/dist/components/data/data-table/reconcile-column-tree-from-grid.d.ts +12 -0
  51. package/dist/components/data/data-table/reconcile-column-tree-from-grid.js +12 -0
  52. package/dist/components/data/data-table/use-data-table-column-list-sync.d.ts +10 -0
  53. package/dist/components/data/data-table/use-data-table-column-list-sync.js +250 -196
  54. package/dist/components/data/nested-list/components/NestedListContent.d.ts +10 -2
  55. package/dist/components/data/nested-list/components/NestedListContent.js +253 -138
  56. package/dist/components/data/nested-list/components/SortableItem.d.ts +2 -1
  57. package/dist/components/data/nested-list/components/SortableItem.js +62 -60
  58. package/dist/components/data/nested-list/hooks/useNestedListDragDrop.d.ts +10 -20
  59. package/dist/components/data/nested-list/hooks/useNestedListDragDrop.js +44 -233
  60. package/dist/components/data/nested-list/hooks/useVirtualNestedListDrag.d.ts +24 -0
  61. package/dist/components/data/nested-list/hooks/useVirtualNestedListDrag.js +128 -0
  62. package/dist/components/data/nested-list/nested-list-constants.d.ts +4 -1
  63. package/dist/components/data/nested-list/nested-list-constants.js +10 -4
  64. package/dist/components/data/nested-list/nested-list-display-utils.d.ts +11 -0
  65. package/dist/components/data/nested-list/nested-list-display-utils.js +74 -0
  66. package/dist/components/data/nested-list/nested-list-drop-engine.d.ts +31 -0
  67. package/dist/components/data/nested-list/nested-list-drop-engine.js +209 -0
  68. package/dist/components/data/nested-list/nested-list-flat-virtual-handlers.d.ts +26 -0
  69. package/dist/components/data/nested-list/nested-list-flat-virtual-handlers.js +67 -0
  70. package/dist/components/data/nested-list/nested-list-item-tree-mutations.d.ts +4 -0
  71. package/dist/components/data/nested-list/nested-list-item-tree-mutations.js +43 -0
  72. package/dist/components/data/nested-list/nested-list-lazy-flat-rows.d.ts +3 -0
  73. package/dist/components/data/nested-list/nested-list-lazy-flat-rows.js +34 -0
  74. package/dist/components/data/nested-list/nested-list-row-estimates.d.ts +9 -0
  75. package/dist/components/data/nested-list/nested-list-row-estimates.js +14 -0
  76. package/dist/components/data/nested-list/nested-list-scroll-anchor.d.ts +36 -0
  77. package/dist/components/data/nested-list/nested-list-scroll-anchor.js +47 -0
  78. package/dist/components/data/nested-list/nested-list-virtual-drop.d.ts +59 -0
  79. package/dist/components/data/nested-list/nested-list-virtual-drop.js +341 -0
  80. package/dist/components/data/nested-list/nested-list.js +322 -336
  81. package/dist/components/data/nested-list/nested-list.types.d.ts +17 -0
  82. package/dist/components/data-display/calendar/calendar-available-view.d.ts +6 -2
  83. package/dist/components/data-display/calendar/calendar-available-view.js +18 -19
  84. package/dist/components/data-display/calendar/calendar-config.js +21 -22
  85. package/dist/components/data-display/calendar/calendar-day-button.js +21 -21
  86. package/dist/components/data-display/calendar/calendar-day-picker-view.js +35 -36
  87. package/dist/components/data-display/calendar/calendar-fiscal-labels.d.ts +3 -3
  88. package/dist/components/data-display/calendar/calendar-fiscal-labels.js +62 -50
  89. package/dist/components/data-display/calendar/calendar-quarter-utils.js +12 -12
  90. package/dist/components/data-display/calendar/calendar-week-utils.d.ts +6 -0
  91. package/dist/components/data-display/calendar/calendar-week-utils.js +33 -33
  92. package/dist/components/data-display/calendar/calendar-year-panes.js +68 -58
  93. package/dist/components/data-display/calendar/calendar-year-utils.d.ts +13 -0
  94. package/dist/components/data-display/calendar/calendar-year-utils.js +59 -50
  95. package/dist/components/data-display/calendar/calendar.js +156 -153
  96. package/dist/components/data-display/calendar/fiscal-period-caption-select.js +22 -23
  97. package/dist/components/data-display/calendar/use-calendar-i18n.d.ts +0 -1
  98. package/dist/components/data-display/calendar/use-calendar-i18n.js +9 -10
  99. package/dist/components/data-display/chart/chart.js +72 -72
  100. package/dist/components/data-display/chart/chart.utils.d.ts +1 -1
  101. package/dist/components/data-display/chart/chart.utils.js +31 -40
  102. package/dist/components/feedback/sheet/sheet.js +1 -1
  103. package/dist/components/feedback/toast/toast.d.ts +1 -1
  104. package/dist/components/feedback/toast/toast.variants.d.ts +1 -1
  105. package/dist/components/flows/filter-panel/filter-panel.d.ts +1 -1
  106. package/dist/components/flows/filter-panel/filter-panel.js +64 -65
  107. package/dist/components/flows/filter-panel/filter-panel.types.d.ts +0 -1
  108. package/dist/components/flows/guidance/guidance-layer.js +34 -31
  109. package/dist/components/flows/guidance/hooks/useGuidanceOverlayGeometry.js +29 -20
  110. package/dist/components/flows/guidance/renderers/announcement-renderer.d.ts +1 -1
  111. package/dist/components/flows/guidance/renderers/announcement-renderer.js +74 -28
  112. package/dist/components/flows/guidance/renderers/guidance-action-tap-icon.d.ts +5 -0
  113. package/dist/components/flows/guidance/renderers/guidance-action-tap-icon.js +68 -0
  114. package/dist/components/flows/guidance/renderers/guidance-announcement-surface.d.ts +5 -0
  115. package/dist/components/flows/guidance/renderers/guidance-announcement-surface.js +76 -0
  116. package/dist/components/flows/guidance/renderers/guidance-card-shared.d.ts +43 -2
  117. package/dist/components/flows/guidance/renderers/guidance-card-shared.js +322 -99
  118. package/dist/components/flows/guidance/renderers/guidance-renderer-shared.d.ts +3 -0
  119. package/dist/components/flows/guidance/renderers/guidance-renderer-shared.js +189 -148
  120. package/dist/components/flows/guidance/renderers/guidance-shortcut-display.d.ts +9 -0
  121. package/dist/components/flows/guidance/renderers/guidance-shortcut-display.js +36 -0
  122. package/dist/components/flows/guidance/renderers/guidance-tour-overlay.d.ts +2 -1
  123. package/dist/components/flows/guidance/renderers/guidance-tour-overlay.js +152 -89
  124. package/dist/components/forms/date-picker/date-picker.js +126 -125
  125. package/dist/components/forms/date-picker/date-range-picker.js +192 -191
  126. package/dist/components/forms/date-picker/fiscal-pass-through.d.ts +6 -6
  127. package/dist/components/forms/date-picker/fiscal-pass-through.js +7 -3
  128. package/dist/components/forms/date-picker/multi-date-picker.js +67 -66
  129. package/dist/components/forms/date-picker/multi-quarter-picker.js +87 -87
  130. package/dist/components/forms/date-picker/multi-week-picker.js +83 -82
  131. package/dist/components/forms/date-picker/multi-year-picker.js +81 -81
  132. package/dist/components/forms/date-picker/quarter-range-picker.js +84 -84
  133. package/dist/components/forms/date-picker/week-picker.js +175 -174
  134. package/dist/components/forms/date-picker/week-range-picker.js +214 -213
  135. package/dist/components/forms/date-picker/year-range-picker.js +79 -79
  136. package/dist/components/ui/local-raster-icons/rasterIcons.d.ts +0 -1
  137. package/dist/components/ui/local-raster-icons/rasterIcons.js +25 -27
  138. package/dist/form-react/Fields/ChipsField.js +49 -48
  139. package/dist/form-react/Fields/DateRangeField.js +25 -25
  140. package/dist/form-react/Fields/MonthRangeField.js +57 -57
  141. package/dist/form-react/Fields/MultiMonthPickerField.js +28 -26
  142. package/dist/form-react/Fields/MultiWeekPickerField.js +41 -38
  143. package/dist/form-react/Fields/MultiYearPickerField.js +45 -45
  144. package/dist/form-react/Fields/SelectField.js +24 -26
  145. package/dist/form-react/Fields/TextFieldWithBackendValidation.js +27 -26
  146. package/dist/form-react/Fields/WeekRangePicker.js +18 -16
  147. package/dist/form-react/Fields/YearPickerField.js +27 -27
  148. package/dist/form-react/Fields/YearRangePickerField.js +29 -29
  149. package/dist/form-react/fields.d.ts +3 -0
  150. package/dist/form-react/fields.js +35 -29
  151. package/dist/form-react/types/fields.types.d.ts +39 -0
  152. package/dist/form-react/utils/date.utils.d.ts +52 -2
  153. package/dist/form-react/utils/date.utils.js +198 -62
  154. package/dist/i18n/defaultMessages.d.ts +5 -143
  155. package/dist/i18n/defaultMessages.js +25 -163
  156. package/dist/i18n/getDateFnsLocale.d.ts +4 -5
  157. package/dist/i18n/getDateFnsLocale.js +16 -46
  158. package/dist/i18n/i18n.types.d.ts +0 -13
  159. package/dist/i18n/impact-nova-i18n-context.d.ts +1 -1
  160. package/dist/i18n/impact-nova-i18n-context.js +25 -33
  161. package/dist/i18n/impact-nova-i18n-defaults.js +6 -8
  162. package/dist/i18n/index.d.ts +1 -4
  163. package/dist/i18n/index.js +16 -41
  164. package/dist/i18n/locales/de.js +3 -141
  165. package/dist/i18n/locales/es.js +3 -141
  166. package/dist/i18n/locales/hi.js +3 -141
  167. package/dist/i18n/locales/kn.js +3 -141
  168. package/dist/impact-nova-components.css +0 -249
  169. package/dist/impact-nova-tokens.scss +22 -6
  170. package/dist/impact-nova.css +1 -1
  171. package/dist/index.d.ts +1 -1
  172. package/dist/index.js +603 -622
  173. package/dist/lib/fiscal-calendar/index.d.ts +2 -2
  174. package/dist/lib/fiscal-calendar/index.js +26 -24
  175. package/dist/lib/fiscal-calendar/week-selection.d.ts +5 -0
  176. package/dist/lib/fiscal-calendar/week-selection.js +56 -49
  177. package/dist/lib/guidance/engine/guidance-engine.d.ts +9 -0
  178. package/dist/lib/guidance/engine/guidance-engine.js +127 -65
  179. package/dist/lib/guidance/engine/manifest-validator.js +37 -30
  180. package/dist/lib/guidance/targets/target-resolver.d.ts +1 -1
  181. package/dist/lib/guidance/targets/target-resolver.js +32 -30
  182. package/dist/lib/guidance/types/guidance.types.d.ts +41 -0
  183. package/dist/lib/hash/fnv1a128.d.ts +16 -0
  184. package/dist/lib/hash/fnv1a128.js +21 -0
  185. package/dist/llms/index.js +2 -26
  186. package/dist/llms/rules/ag-grid.js +1 -1
  187. package/dist/llms/rules/best-practices.js +1 -1
  188. package/dist/llms/rules/installation.js +1 -1
  189. package/dist/llms/rules/migration.js +1 -1
  190. package/dist/llms/rules/real-world-patterns.js +1 -1
  191. package/dist/llms/rules/requirements.js +1 -1
  192. package/dist/llms/rules/troubleshooting.js +1 -1
  193. package/dist/providers/app-providers.d.ts +1 -3
  194. package/dist/providers/app-providers.js +11 -22
  195. package/package.json +2 -13
  196. package/dist/components/data/ag-grid-react/chat/chat-capabilities.d.ts +0 -9
  197. package/dist/components/data/ag-grid-react/chat/chat-capabilities.js +0 -22
  198. package/dist/components/data/ag-grid-react/chat/chat-column.d.ts +0 -20
  199. package/dist/components/data/ag-grid-react/chat/chat-column.js +0 -81
  200. package/dist/components/data/ag-grid-react/chat/chat-composer.d.ts +0 -10
  201. package/dist/components/data/ag-grid-react/chat/chat-composer.js +0 -352
  202. package/dist/components/data/ag-grid-react/chat/chat-constants.d.ts +0 -17
  203. package/dist/components/data/ag-grid-react/chat/chat-constants.js +0 -22
  204. package/dist/components/data/ag-grid-react/chat/chat-format.d.ts +0 -41
  205. package/dist/components/data/ag-grid-react/chat/chat-format.js +0 -94
  206. package/dist/components/data/ag-grid-react/chat/chat-host.d.ts +0 -10
  207. package/dist/components/data/ag-grid-react/chat/chat-host.js +0 -651
  208. package/dist/components/data/ag-grid-react/chat/chat-host.types.d.ts +0 -13
  209. package/dist/components/data/ag-grid-react/chat/chat-html.d.ts +0 -2
  210. package/dist/components/data/ag-grid-react/chat/chat-html.js +0 -40
  211. package/dist/components/data/ag-grid-react/chat/chat-identity.d.ts +0 -13
  212. package/dist/components/data/ag-grid-react/chat/chat-identity.js +0 -24
  213. package/dist/components/data/ag-grid-react/chat/chat-menu.d.ts +0 -13
  214. package/dist/components/data/ag-grid-react/chat/chat-menu.js +0 -15
  215. package/dist/components/data/ag-grid-react/chat/chat-notify.d.ts +0 -17
  216. package/dist/components/data/ag-grid-react/chat/chat-notify.js +0 -124
  217. package/dist/components/data/ag-grid-react/chat/chat-persist.d.ts +0 -13
  218. package/dist/components/data/ag-grid-react/chat/chat-persist.js +0 -34
  219. package/dist/components/data/ag-grid-react/chat/chat-priority.d.ts +0 -13
  220. package/dist/components/data/ag-grid-react/chat/chat-priority.js +0 -79
  221. package/dist/components/data/ag-grid-react/chat/chat-summaries.d.ts +0 -2
  222. package/dist/components/data/ag-grid-react/chat/chat-summaries.js +0 -24
  223. package/dist/components/data/ag-grid-react/chat/chat-thread-ui.d.ts +0 -72
  224. package/dist/components/data/ag-grid-react/chat/chat-thread-ui.js +0 -713
  225. package/dist/components/data/ag-grid-react/chat/chat-toggle.d.ts +0 -6
  226. package/dist/components/data/ag-grid-react/chat/chat-toggle.js +0 -25
  227. package/dist/components/data/ag-grid-react/chat/chat-ui-actions.d.ts +0 -13
  228. package/dist/components/data/ag-grid-react/chat/chat-ui-actions.js +0 -26
  229. package/dist/components/data/ag-grid-react/chat/chat-window.d.ts +0 -14
  230. package/dist/components/data/ag-grid-react/chat/chat-window.js +0 -82
  231. package/dist/components/data/ag-grid-react/chat/chat-workspace.d.ts +0 -91
  232. package/dist/components/data/ag-grid-react/chat/chat-workspace.js +0 -555
  233. package/dist/components/data/ag-grid-react/chat/chat.types.d.ts +0 -319
  234. package/dist/components/data/ag-grid-react/chat/index.d.ts +0 -6
  235. package/dist/components/data/ag-grid-react/chat/index.js +0 -24
  236. package/dist/components/data/ag-grid-react/chat.story-data.d.ts +0 -34
  237. package/dist/components/data/ag-grid-react/chat.story-sources.d.ts +0 -4
  238. package/dist/components/data/ag-grid-react/comments/assets/comments-no-results.png.js +0 -4
  239. package/dist/components/data/ag-grid-react/comments/comment-mode-toggle.d.ts +0 -6
  240. package/dist/components/data/ag-grid-react/comments/comment-mode-toggle.js +0 -29
  241. package/dist/components/data/ag-grid-react/comments/comments-actions-menu.d.ts +0 -8
  242. package/dist/components/data/ag-grid-react/comments/comments-actions-menu.js +0 -18
  243. package/dist/components/data/ag-grid-react/comments/comments-ag-grid-presence.d.ts +0 -18
  244. package/dist/components/data/ag-grid-react/comments/comments-ag-grid-presence.js +0 -16
  245. package/dist/components/data/ag-grid-react/comments/comments-capabilities.d.ts +0 -11
  246. package/dist/components/data/ag-grid-react/comments/comments-capabilities.js +0 -26
  247. package/dist/components/data/ag-grid-react/comments/comments-constants.d.ts +0 -12
  248. package/dist/components/data/ag-grid-react/comments/comments-constants.js +0 -21
  249. package/dist/components/data/ag-grid-react/comments/comments-format.d.ts +0 -20
  250. package/dist/components/data/ag-grid-react/comments/comments-format.js +0 -49
  251. package/dist/components/data/ag-grid-react/comments/comments-generation.d.ts +0 -14
  252. package/dist/components/data/ag-grid-react/comments/comments-generation.js +0 -18
  253. package/dist/components/data/ag-grid-react/comments/comments-host.d.ts +0 -10
  254. package/dist/components/data/ag-grid-react/comments/comments-host.js +0 -343
  255. package/dist/components/data/ag-grid-react/comments/comments-host.types.d.ts +0 -18
  256. package/dist/components/data/ag-grid-react/comments/comments-identity.d.ts +0 -7
  257. package/dist/components/data/ag-grid-react/comments/comments-identity.js +0 -20
  258. package/dist/components/data/ag-grid-react/comments/comments-menu.d.ts +0 -29
  259. package/dist/components/data/ag-grid-react/comments/comments-menu.js +0 -35
  260. package/dist/components/data/ag-grid-react/comments/comments-overlay-anchor.d.ts +0 -22
  261. package/dist/components/data/ag-grid-react/comments/comments-overlay-anchor.js +0 -98
  262. package/dist/components/data/ag-grid-react/comments/comments-overlay.d.ts +0 -21
  263. package/dist/components/data/ag-grid-react/comments/comments-overlay.js +0 -406
  264. package/dist/components/data/ag-grid-react/comments/comments-panel.d.ts +0 -9
  265. package/dist/components/data/ag-grid-react/comments/comments-panel.js +0 -272
  266. package/dist/components/data/ag-grid-react/comments/comments-persist.d.ts +0 -11
  267. package/dist/components/data/ag-grid-react/comments/comments-persist.js +0 -19
  268. package/dist/components/data/ag-grid-react/comments/comments-reveal.d.ts +0 -11
  269. package/dist/components/data/ag-grid-react/comments/comments-reveal.js +0 -31
  270. package/dist/components/data/ag-grid-react/comments/comments-ui-actions.d.ts +0 -18
  271. package/dist/components/data/ag-grid-react/comments/comments-ui-actions.js +0 -22
  272. package/dist/components/data/ag-grid-react/comments/comments-window.d.ts +0 -10
  273. package/dist/components/data/ag-grid-react/comments/comments-window.js +0 -62
  274. package/dist/components/data/ag-grid-react/comments/comments.types.d.ts +0 -178
  275. package/dist/components/data/ag-grid-react/comments/index.d.ts +0 -5
  276. package/dist/components/data/ag-grid-react/comments/index.js +0 -15
  277. package/dist/components/data/ag-grid-react/comments-cell-renderers-showcase.d.ts +0 -25
  278. package/dist/components/data/ag-grid-react/comments.story-data.d.ts +0 -37
  279. package/dist/components/data/ag-grid-react/comments.story-sources.d.ts +0 -11
  280. package/dist/components/data/ag-grid-react/grid-cell-address.d.ts +0 -21
  281. package/dist/components/data/ag-grid-react/grid-cell-address.js +0 -21
  282. package/dist/components/data/ag-grid-react/grid-row-reveal.d.ts +0 -34
  283. package/dist/components/data/ag-grid-react/grid-row-reveal.js +0 -33
  284. package/dist/components/data/ag-grid-react/notes/index.d.ts +0 -2
  285. package/dist/components/data/ag-grid-react/notes/index.js +0 -1
  286. package/dist/components/data/ag-grid-react/notes/notes-ag-grid-adapter.d.ts +0 -25
  287. package/dist/components/data/ag-grid-react/notes/notes-ag-grid-adapter.js +0 -32
  288. package/dist/components/data/ag-grid-react/notes/notes-constants.d.ts +0 -2
  289. package/dist/components/data/ag-grid-react/notes/notes-constants.js +0 -4
  290. package/dist/components/data/ag-grid-react/notes/notes.types.d.ts +0 -12
  291. package/dist/components/data/ag-grid-react/notes.story-sources.d.ts +0 -7
  292. package/dist/components/data/ag-grid-react/nova-system-column.d.ts +0 -7
  293. package/dist/components/data/ag-grid-react/nova-system-column.js +0 -18
  294. package/dist/components/forms/date-picker/use-picker-i18n.d.ts +0 -6
  295. package/dist/components/forms/date-picker/use-picker-i18n.js +0 -11
  296. package/dist/components/ui/local-raster-icons/message3d.webp.js +0 -4
  297. package/dist/i18n/format/collator.d.ts +0 -1
  298. package/dist/i18n/format/collator.js +0 -7
  299. package/dist/i18n/format/date-pattern.d.ts +0 -5
  300. package/dist/i18n/format/date-pattern.js +0 -20
  301. package/dist/i18n/format/format-date.d.ts +0 -9
  302. package/dist/i18n/format/format-date.js +0 -56
  303. package/dist/i18n/format/format-number.d.ts +0 -20
  304. package/dist/i18n/format/format-number.js +0 -68
  305. package/dist/i18n/format/formatter-cache.d.ts +0 -9
  306. package/dist/i18n/format/formatter-cache.js +0 -66
  307. package/dist/i18n/format/index.d.ts +0 -6
  308. package/dist/i18n/format/parse-number.d.ts +0 -6
  309. package/dist/i18n/format/parse-number.js +0 -53
  310. package/dist/i18n/locale-config.d.ts +0 -28
  311. package/dist/i18n/locale-config.js +0 -32
  312. package/dist/i18n/week-start.d.ts +0 -6
  313. package/dist/i18n/week-start.js +0 -30
  314. package/dist/llms/rules/data-table-chat.js +0 -1
  315. package/dist/llms/rules/data-table-comments.js +0 -1
  316. package/dist/llms/rules/data-table-notes.js +0 -1
@@ -1,22 +1,22 @@
1
1
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
- import g from "react";
3
- import { Sheet as N, SheetContent as y, SheetDescription as w, SheetTitle as k, SheetClose as C } from "../../feedback/sheet/sheet.js";
4
- import { createCompoundPart as F } from "../../../lib/primitives/create-compound.js";
2
+ import b from "react";
3
+ import { Sheet as g, SheetContent as N, SheetDescription as y, SheetTitle as w, SheetClose as k } from "../../feedback/sheet/sheet.js";
4
+ import { createCompoundPart as C } from "../../../lib/primitives/create-compound.js";
5
5
  import { cn as o } from "../../../lib/utils.js";
6
- import { MultiColorFilter as P, Cross as D, InfoBadge as x } from "impact-nova-icons";
7
- import { Button as S } from "../../primitives/button/button.js";
8
- import { Tooltip as h, TooltipTrigger as p, TooltipContent as m } from "../../feedback/tooltip/tooltip.js";
9
- import { Kbd as j } from "../../primitives/kbd/kbd.js";
10
- import { OverflowTooltip as I } from "../../feedback/tooltip/overflow-tooltip.js";
11
- import { useImpactNovaI18n as b } from "../../../i18n/use-impact-nova-i18n.js";
12
- import { useOverlayHostDismissNestedLayersOnNavigation as O } from "../../../lib/overlay/overlay-portal-context.js";
13
- import { preventDismissOnTooltipOutside as v } from "../../../lib/overlay/prevent-dismiss-on-tooltip-outside.js";
14
- const T = ({
6
+ import { MultiColorFilter as F, Cross as P, InfoBadge as u } from "impact-nova-icons";
7
+ import { Button as D } from "../../primitives/button/button.js";
8
+ import { Tooltip as c, TooltipTrigger as f, TooltipContent as h } from "../../feedback/tooltip/tooltip.js";
9
+ import { Kbd as S } from "../../primitives/kbd/kbd.js";
10
+ import { OverflowTooltip as j } from "../../feedback/tooltip/overflow-tooltip.js";
11
+ import { useImpactNovaI18n as v } from "../../../i18n/use-impact-nova-i18n.js";
12
+ import { useOverlayHostDismissNestedLayersOnNavigation as I } from "../../../lib/overlay/overlay-portal-context.js";
13
+ import { preventDismissOnTooltipOutside as x } from "../../../lib/overlay/prevent-dismiss-on-tooltip-outside.js";
14
+ const O = ({
15
15
  title: i,
16
16
  children: n,
17
17
  className: l
18
18
  }) => {
19
- const { t: c } = b();
19
+ const { t: d } = v();
20
20
  return /* @__PURE__ */ a(
21
21
  "div",
22
22
  {
@@ -32,74 +32,73 @@ const T = ({
32
32
  {
33
33
  className: "flex size-8 shrink-0 items-center justify-center rounded-md border border-brand-tint bg-canvas-elevated",
34
34
  "aria-hidden": !0,
35
- children: /* @__PURE__ */ e(P, { className: "size-5 shrink-0" })
35
+ children: /* @__PURE__ */ e(F, { className: "size-5 shrink-0" })
36
36
  }
37
37
  ),
38
- /* @__PURE__ */ e(k, { className: "text-lg font-bold text-content", children: i })
38
+ /* @__PURE__ */ e(w, { className: "text-lg font-bold text-content", children: i })
39
39
  ] }),
40
40
  /* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
41
41
  n,
42
- /* @__PURE__ */ e(C, { asChild: !0, children: /* @__PURE__ */ e(
43
- S,
42
+ /* @__PURE__ */ e(k, { asChild: !0, children: /* @__PURE__ */ e(
43
+ D,
44
44
  {
45
45
  variant: "secondary",
46
46
  size: "icon",
47
47
  tabIndex: -1,
48
- "aria-label": c("aria.close"),
48
+ "aria-label": d("aria.close"),
49
49
  "data-component": "filter-panel-close",
50
- children: /* @__PURE__ */ e(D, { className: "h-3 w-3" })
50
+ children: /* @__PURE__ */ e(P, { className: "h-3 w-3" })
51
51
  }
52
52
  ) })
53
53
  ] })
54
54
  ]
55
55
  }
56
56
  );
57
- }, J = ({
57
+ }, G = ({
58
58
  open: i,
59
59
  onOpenChange: n,
60
60
  title: l = "Filter panel",
61
- description: c = "Select filters to apply to the current view.",
62
61
  children: d,
63
- header: f,
64
- sidebar: u,
65
- className: t,
66
- preventClose: r = !1
67
- }) => /* @__PURE__ */ e(N, { open: i, onOpenChange: n, children: /* @__PURE__ */ a(
68
- y,
62
+ header: s,
63
+ sidebar: p,
64
+ className: m,
65
+ preventClose: t = !1
66
+ }) => /* @__PURE__ */ e(g, { open: i, onOpenChange: n, children: /* @__PURE__ */ a(
67
+ N,
69
68
  {
70
69
  side: "right",
71
70
  className: o(
72
71
  "w-full !max-w-[840px] p-0 sm:!max-w-[840px] gap-0 border-l shadow-xl transition-all duration-300 ease-in-out bg-canvas-elevated",
73
- t
72
+ m
74
73
  ),
75
- onInteractOutside: (s) => {
76
- v(s), r && s.preventDefault();
74
+ onInteractOutside: (r) => {
75
+ x(r), t && r.preventDefault();
77
76
  },
78
- onPointerDownOutside: (s) => {
79
- v(s), r && s.preventDefault();
77
+ onPointerDownOutside: (r) => {
78
+ x(r), t && r.preventDefault();
80
79
  },
81
- onEscapeKeyDown: (s) => {
82
- r && s.preventDefault();
80
+ onEscapeKeyDown: (r) => {
81
+ t && r.preventDefault();
83
82
  },
84
83
  children: [
85
- /* @__PURE__ */ e(w, { className: "sr-only", children: c }),
84
+ /* @__PURE__ */ e(y, { className: "sr-only", children: "Select filters to apply to the current view." }),
86
85
  /* @__PURE__ */ a("div", { className: "flex h-full flex-col bg-canvas-elevated", "data-component": "filter-panel", children: [
87
- f || /* @__PURE__ */ e(T, { title: l }),
86
+ s || /* @__PURE__ */ e(O, { title: l }),
88
87
  /* @__PURE__ */ a("div", { className: "flex flex-1 overflow-hidden", children: [
89
- u,
88
+ p,
90
89
  /* @__PURE__ */ e("div", { className: "flex flex-col flex-1 overflow-hidden", children: d })
91
90
  ] })
92
91
  ] })
93
92
  ]
94
93
  }
95
- ) }), Q = ({
94
+ ) }), J = ({
96
95
  items: i,
97
96
  activeTab: n,
98
97
  onTabChange: l,
99
- className: c
98
+ className: d
100
99
  }) => {
101
- const { t: d } = b(), f = O(), u = (t) => {
102
- t !== n && f(), l(t);
100
+ const { t: s } = v(), p = I(), m = (t) => {
101
+ t !== n && p(), l(t);
103
102
  };
104
103
  return /* @__PURE__ */ e(
105
104
  "div",
@@ -107,7 +106,7 @@ const T = ({
107
106
  "data-component": "filter-panel-sidebar",
108
107
  className: o(
109
108
  "flex w-[200px] shrink-0 flex-col border-r bg-navigation-canvas",
110
- c
109
+ d
111
110
  ),
112
111
  children: /* @__PURE__ */ e(
113
112
  "div",
@@ -116,14 +115,14 @@ const T = ({
116
115
  className: "flex max-h-full min-h-0 flex-col gap-1 overflow-y-auto py-2",
117
116
  children: i.map((t) => {
118
117
  const r = n === t.id;
119
- return /* @__PURE__ */ a(g.Fragment, { children: [
118
+ return /* @__PURE__ */ a(b.Fragment, { children: [
120
119
  t.separator && /* @__PURE__ */ e("div", { className: "my-2 h-px bg-stroke-hairline" }),
121
120
  /* @__PURE__ */ a(
122
121
  "button",
123
122
  {
124
123
  type: "button",
125
124
  autoFocus: r,
126
- onClick: () => u(t.id),
125
+ onClick: () => m(t.id),
127
126
  "data-component": "filter-panel-sidebar-item",
128
127
  "data-active": r ? "true" : "false",
129
128
  "data-tab": t.id,
@@ -146,14 +145,14 @@ const T = ({
146
145
  ),
147
146
  /* @__PURE__ */ a("div", { className: "flex items-center gap-1 min-w-0", children: [
148
147
  /* @__PURE__ */ e(
149
- I,
148
+ j,
150
149
  {
151
150
  triggerClassName: "truncate font-['Manrope'] block min-w-0",
152
151
  content: t.tooltipKeybinding ? /* @__PURE__ */ a("span", { className: "flex items-center gap-2", children: [
153
152
  t.label,
154
153
  " ",
155
154
  /* @__PURE__ */ e(
156
- j,
155
+ S,
157
156
  {
158
157
  keybinding: t.tooltipKeybinding,
159
158
  size: "sm"
@@ -169,8 +168,8 @@ const T = ({
169
168
  ] })
170
169
  ] }),
171
170
  /* @__PURE__ */ a("div", { className: "flex items-center gap-1 shrink-0 ml-1", children: [
172
- t.count !== void 0 && t.count > 0 && /* @__PURE__ */ a(h, { children: [
173
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(
171
+ t.count !== void 0 && t.count > 0 && /* @__PURE__ */ a(c, { children: [
172
+ /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(
174
173
  "span",
175
174
  {
176
175
  className: o(
@@ -180,22 +179,22 @@ const T = ({
180
179
  children: t.count
181
180
  }
182
181
  ) }),
183
- /* @__PURE__ */ e(m, { variant: "tertiary", side: "top", children: d(
182
+ /* @__PURE__ */ e(h, { variant: "tertiary", side: "top", children: s(
184
183
  t.countBadgeContext === "savedFiltersTotal" ? "filterPanel.savedFiltersAvailableCount" : "filterPanel.filtersAppliedCount",
185
184
  { count: t.count }
186
185
  ) })
187
186
  ] }),
188
- t.hasError && /* @__PURE__ */ a(h, { children: [
189
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(x, { className: "h-5 w-5 shrink-0 text-danger" }) }),
190
- /* @__PURE__ */ e(m, { variant: "tertiary", children: d("filterPanel.tabContainsErrors") })
187
+ t.hasError && /* @__PURE__ */ a(c, { children: [
188
+ /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-5 w-5 shrink-0 text-danger" }) }),
189
+ /* @__PURE__ */ e(h, { variant: "tertiary", children: s("filterPanel.tabContainsErrors") })
191
190
  ] }),
192
- t.hasWarning && /* @__PURE__ */ a(h, { children: [
193
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(x, { className: "h-5 w-5 shrink-0 text-warning" }) }),
194
- /* @__PURE__ */ e(m, { variant: "tertiary", children: d("filterPanel.tabHasWarnings") })
191
+ t.hasWarning && /* @__PURE__ */ a(c, { children: [
192
+ /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-5 w-5 shrink-0 text-warning" }) }),
193
+ /* @__PURE__ */ e(h, { variant: "tertiary", children: s("filterPanel.tabHasWarnings") })
195
194
  ] }),
196
- t.hasInfo && /* @__PURE__ */ a(h, { children: [
197
- /* @__PURE__ */ e(p, { asChild: !0, children: /* @__PURE__ */ e(x, { className: "h-5 w-5 shrink-0 text-content-icon" }) }),
198
- /* @__PURE__ */ e(m, { variant: "tertiary", children: d("filterPanel.additionalInfoAvailable") })
195
+ t.hasInfo && /* @__PURE__ */ a(c, { children: [
196
+ /* @__PURE__ */ e(f, { asChild: !0, children: /* @__PURE__ */ e(u, { className: "h-5 w-5 shrink-0 text-content-icon" }) }),
197
+ /* @__PURE__ */ e(h, { variant: "tertiary", children: s("filterPanel.additionalInfoAvailable") })
199
198
  ] })
200
199
  ] })
201
200
  ]
@@ -207,12 +206,12 @@ const T = ({
207
206
  )
208
207
  }
209
208
  );
210
- }, U = F("filter-panel", {
209
+ }, Q = C("filter-panel", {
211
210
  part: "body",
212
211
  displayName: "FilterPanelBody",
213
212
  className: "flex flex-1 flex-col overflow-auto bg-canvas-elevated p-4",
214
213
  scrollSurface: !0
215
- }), V = ({
214
+ }), U = ({
216
215
  children: i,
217
216
  className: n,
218
217
  leftAction: l
@@ -231,9 +230,9 @@ const T = ({
231
230
  }
232
231
  );
233
232
  export {
234
- J as FilterPanel,
235
- U as FilterPanelBody,
236
- V as FilterPanelFooter,
237
- T as FilterPanelHeader,
238
- Q as FilterPanelSidebar
233
+ G as FilterPanel,
234
+ Q as FilterPanelBody,
235
+ U as FilterPanelFooter,
236
+ O as FilterPanelHeader,
237
+ J as FilterPanelSidebar
239
238
  };
@@ -8,7 +8,6 @@ export interface FilterPanelProps {
8
8
  open: boolean;
9
9
  onOpenChange: (open: boolean) => void;
10
10
  title?: React.ReactNode;
11
- description?: string;
12
11
  children: React.ReactNode;
13
12
  header?: React.ReactNode;
14
13
  sidebar?: React.ReactNode;
@@ -1,71 +1,74 @@
1
- import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
- import * as t from "react";
1
+ import { jsxs as a, jsx as n } from "react/jsx-runtime";
2
+ import * as r from "react";
3
3
  import { useSyncExternalStore as c } from "react";
4
- import { useGuidanceContext as p } from "./guidance-context.js";
5
- import { SpotlightRenderer as f } from "./renderers/spotlight-renderer.js";
4
+ import { useGuidanceContext as f } from "./guidance-context.js";
5
+ import { SpotlightRenderer as k } from "./renderers/spotlight-renderer.js";
6
6
  import { CoachMarkRenderer as b } from "./renderers/coach-mark-renderer.js";
7
7
  import { AnnouncementRenderer as h } from "./renderers/announcement-renderer.js";
8
- import { endTourScrollSnapshot as k } from "./renderers/guidance-renderer-shared.js";
8
+ import { endTourScrollSnapshot as x } from "./renderers/guidance-renderer-shared.js";
9
9
  import { Button as d } from "../../primitives/button/button.js";
10
- function x(e, s) {
11
- const r = {
10
+ function S(e, o) {
11
+ const t = {
12
12
  instruction: e,
13
- ...s
13
+ ...o
14
14
  };
15
15
  switch (e.renderer) {
16
16
  case "spotlight":
17
- return /* @__PURE__ */ n(f, { ...r });
17
+ return /* @__PURE__ */ n(k, { ...t });
18
18
  case "coach-mark":
19
- return /* @__PURE__ */ n(b, { ...r });
19
+ return /* @__PURE__ */ n(b, { ...t });
20
20
  case "announcement":
21
- return /* @__PURE__ */ n(h, { ...r });
21
+ return /* @__PURE__ */ n(h, { ...t });
22
22
  default:
23
23
  return null;
24
24
  }
25
25
  }
26
26
  function z() {
27
- const { engine: e } = p();
28
- t.useEffect(() => e.on("guideEnd", () => {
29
- k();
27
+ const { engine: e } = f();
28
+ r.useEffect(() => e.on("guideEnd", () => {
29
+ x();
30
30
  }), [e]);
31
- const s = c(
32
- (o) => e.subscribe(o),
31
+ const o = c(
32
+ (s) => e.subscribe(s),
33
33
  () => e.state,
34
34
  () => ({ status: "idle" })
35
- ), r = c(
36
- (o) => e.subscribe(o),
35
+ ), t = c(
36
+ (s) => e.subscribe(s),
37
37
  () => e.getRenderInstruction(),
38
38
  () => null
39
- ), l = t.useCallback(() => {
39
+ ), l = r.useCallback(() => {
40
40
  e.advanceStep();
41
- }, [e]), u = t.useCallback(() => {
41
+ }, [e]), u = r.useCallback(() => {
42
+ e.skipStep();
43
+ }, [e]), i = r.useCallback(() => {
42
44
  e.dismiss("session");
43
- }, [e]), a = t.useCallback(() => {
44
- e.dismiss("session");
45
- }, [e]), m = t.useCallback(() => {
45
+ }, [e]), m = r.useCallback(() => {
46
+ e.goToPreviousStep();
47
+ }, [e]), p = r.useCallback(() => {
46
48
  e.retryCurrentStep();
47
49
  }, [e]);
48
- return s.status === "blocked" ? /* @__PURE__ */ i(
50
+ return o.status === "blocked" ? /* @__PURE__ */ a(
49
51
  "div",
50
52
  {
51
53
  "data-component": "guidance-blocked",
52
54
  className: "fixed bottom-4 left-1/2 z-50 -translate-x-1/2 rounded-md border border-border-default bg-surface-elevated px-4 py-3 shadow-lg",
53
55
  role: "status",
54
56
  children: [
55
- /* @__PURE__ */ i("p", { className: "text-sm text-content-secondary", children: [
57
+ /* @__PURE__ */ a("p", { className: "text-sm text-content-secondary", children: [
56
58
  "Guide step is blocked: ",
57
- s.reason
59
+ o.reason
58
60
  ] }),
59
- /* @__PURE__ */ i("div", { className: "mt-2 flex gap-2", children: [
60
- /* @__PURE__ */ n(d, { size: "sm", onClick: m, children: "Retry" }),
61
- /* @__PURE__ */ n(d, { variant: "secondary", size: "sm", onClick: a, children: "Dismiss" })
61
+ /* @__PURE__ */ a("div", { className: "mt-2 flex gap-2", children: [
62
+ /* @__PURE__ */ n(d, { size: "sm", onClick: p, children: "Retry" }),
63
+ /* @__PURE__ */ n(d, { variant: "secondary", size: "sm", onClick: i, children: "Dismiss" })
62
64
  ] })
63
65
  ]
64
66
  }
65
- ) : r ? x(r, {
67
+ ) : t ? S(t, {
66
68
  onNext: l,
67
69
  onSkip: u,
68
- onDismiss: a
70
+ onDismiss: i,
71
+ onBack: m
69
72
  }) : null;
70
73
  }
71
74
  export {
@@ -1,32 +1,41 @@
1
- import * as u from "react";
2
- import { beginTourScrollSnapshot as l, needsGuidanceTargetScroll as f, scrollGuidanceTargetIntoView as s, getVisibleTargetRect as v } from "../renderers/guidance-renderer-shared.js";
3
- import { hasRunningAnimations as p } from "../utils/motion-settle.js";
4
- function T(e, d) {
5
- const [m, t] = u.useState(null);
6
- return u.useEffect(() => {
1
+ import * as d from "react";
2
+ import { beginTourScrollSnapshot as v, needsGuidanceTargetScroll as R, scrollGuidanceTargetIntoView as r, getVisibleTargetRect as p } from "../renderers/guidance-renderer-shared.js";
3
+ import { hasRunningAnimations as w } from "../utils/motion-settle.js";
4
+ function S(e, n) {
5
+ return e instanceof HTMLElement ? !!(e === n || e.contains(n) || n.contains(e)) : !1;
6
+ }
7
+ function z(e, n) {
8
+ const [m, t] = d.useState(null);
9
+ return d.useEffect(() => {
7
10
  if (!e) {
8
11
  t(null);
9
12
  return;
10
13
  }
11
- let n = !1, o = 0;
12
- const r = () => {
13
- n || t(v(e));
14
+ let s = !1, o = 0;
15
+ const i = () => {
16
+ s || t(p(e));
14
17
  }, c = () => {
15
- r(), !n && p(e) && (o = requestAnimationFrame(c));
18
+ i(), !s && w(e) && (o = requestAnimationFrame(c));
16
19
  };
17
- l(e), f(e) && s(e), r(), o = requestAnimationFrame(c);
18
- const a = new ResizeObserver(() => {
19
- s(e), r();
20
+ v(e), R(e) && r(e), i(), o = requestAnimationFrame(c);
21
+ const u = new ResizeObserver(() => {
22
+ r(e), i();
20
23
  });
21
- a.observe(e);
22
- const i = () => {
23
- s(e), r();
24
+ u.observe(e);
25
+ const a = () => {
26
+ r(e), i();
27
+ }, f = (l) => {
28
+ if (S(l.target, e)) {
29
+ i();
30
+ return;
31
+ }
32
+ r(e), i();
24
33
  };
25
- return window.addEventListener("resize", i), document.addEventListener("scroll", i, !0), () => {
26
- n = !0, cancelAnimationFrame(o), a.disconnect(), window.removeEventListener("resize", i), document.removeEventListener("scroll", i, !0);
34
+ return window.addEventListener("resize", a), document.addEventListener("scroll", f, !0), () => {
35
+ s = !0, cancelAnimationFrame(o), u.disconnect(), window.removeEventListener("resize", a), document.removeEventListener("scroll", f, !0);
27
36
  };
28
- }, [d, e]), m;
37
+ }, [n, e]), m;
29
38
  }
30
39
  export {
31
- T as useGuidanceOverlayGeometry
40
+ z as useGuidanceOverlayGeometry
32
41
  };
@@ -1,3 +1,3 @@
1
1
  import { RendererProps } from '../../../../lib/guidance';
2
2
  import * as React from 'react';
3
- export declare function AnnouncementRenderer({ instruction, onNext, onSkip, }: RendererProps): React.ReactElement;
3
+ export declare function AnnouncementRenderer({ instruction, onNext, onSkip, onDismiss, onBack, }: RendererProps): React.ReactElement;
@@ -1,20 +1,26 @@
1
- import { jsx as o } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
2
  import "react";
3
- import { Dialog as r, DialogContent as l } from "../../../feedback/dialog/dialog.js";
4
- import { GuidanceStepPanel as d } from "./guidance-card-shared.js";
5
- function f({
3
+ import { Badge as m } from "../../../data-display/badge/badge.js";
4
+ import { Dialog as i, DialogContent as x } from "../../../feedback/dialog/dialog.js";
5
+ import { GuidanceStepProgressBar as b, GuidanceTourActionFooter as g, GuidanceTourProgressAndNav as h } from "./guidance-card-shared.js";
6
+ import { GuidanceAnnouncementSurface as v } from "./guidance-announcement-surface.js";
7
+ function k({
6
8
  instruction: e,
7
- onNext: a,
8
- onSkip: n
9
+ onNext: r,
10
+ onSkip: c,
11
+ onDismiss: p,
12
+ onBack: o
9
13
  }) {
10
- const p = e.stepIndex + 1 >= e.totalSteps;
11
- return /* @__PURE__ */ o(r, { open: !0, children: /* @__PURE__ */ o(
12
- l,
14
+ const s = e.stepIndex + 1 >= e.totalSteps, d = e.content.badge?.trim(), l = e.interactionFooter === "keybinding";
15
+ return /* @__PURE__ */ a(i, { open: !0, children: /* @__PURE__ */ a(
16
+ x,
13
17
  {
14
18
  "data-component": "guidance-announcement",
19
+ "data-guidance-modal-behavior": e.modalBehavior,
15
20
  hideClose: !0,
16
- className: "max-w-[400px] gap-0 overflow-hidden p-0 sm:rounded-2xl sm:shadow-elevation-floating",
17
- "aria-describedby": void 0,
21
+ className: "max-w-[400px] gap-0 overflow-hidden border-0 bg-canvas p-0 sm:rounded-2xl sm:shadow-elevation-floating",
22
+ "aria-labelledby": `guidance-announcement-title-${e.stepId}`,
23
+ "aria-describedby": e.content.body ? `guidance-announcement-body-${e.stepId}` : void 0,
18
24
  onPointerDownOutside: (t) => {
19
25
  t.preventDefault();
20
26
  },
@@ -24,25 +30,65 @@ function f({
24
30
  onEscapeKeyDown: (t) => {
25
31
  t.preventDefault();
26
32
  },
27
- children: /* @__PURE__ */ o(
28
- d,
29
- {
30
- title: e.content.title,
31
- body: e.content.body,
32
- optionalFooter: e.content.footer,
33
- stepIndex: e.stepIndex,
34
- totalSteps: e.totalSteps,
35
- skippable: e.skippable,
36
- primaryActionLabel: p ? "Done" : "Next",
37
- onSkip: n,
38
- onDismiss: n,
39
- onPrimaryAction: a,
40
- showPrimaryAction: !0
41
- }
42
- )
33
+ children: /* @__PURE__ */ n("div", { className: "relative overflow-hidden rounded-2xl", children: [
34
+ /* @__PURE__ */ a(v, {}),
35
+ /* @__PURE__ */ n("div", { className: "relative z-10 flex flex-col items-center px-8 pb-0 pt-10 text-center", children: [
36
+ d ? /* @__PURE__ */ a(m, { variant: "subtle", color: "primary", shape: "circle", size: "sm", children: d }) : null,
37
+ /* @__PURE__ */ a(
38
+ "h2",
39
+ {
40
+ id: `guidance-announcement-title-${e.stepId}`,
41
+ className: "mt-3 text-2xl font-bold leading-8 text-content",
42
+ children: e.content.title
43
+ }
44
+ ),
45
+ e.content.body ? /* @__PURE__ */ a(
46
+ "p",
47
+ {
48
+ id: `guidance-announcement-body-${e.stepId}`,
49
+ className: "mt-2 max-w-[22rem] text-sm leading-snug text-content-secondary",
50
+ children: e.content.body
51
+ }
52
+ ) : null
53
+ ] }),
54
+ /* @__PURE__ */ a("div", { className: "relative z-10 px-8 pb-8 pt-6", children: l ? /* @__PURE__ */ n("div", { className: "flex w-full flex-col gap-3", children: [
55
+ /* @__PURE__ */ a(
56
+ b,
57
+ {
58
+ activeStepIndex: e.stepIndex,
59
+ totalSteps: e.totalSteps
60
+ }
61
+ ),
62
+ /* @__PURE__ */ a(
63
+ g,
64
+ {
65
+ hint: e.content.footer ?? "Press the shortcut to continue.",
66
+ keybinding: e.content.keybinding,
67
+ activeStepIndex: e.stepIndex,
68
+ showBack: e.canGoBack,
69
+ onBack: o
70
+ }
71
+ )
72
+ ] }) : /* @__PURE__ */ a(
73
+ h,
74
+ {
75
+ activeStepIndex: e.stepIndex,
76
+ totalSteps: e.totalSteps,
77
+ skippable: e.skippable,
78
+ showSkip: !1,
79
+ showBack: e.canGoBack,
80
+ onBack: o,
81
+ primaryActionLabel: s ? "Done" : "Next",
82
+ onSkip: c,
83
+ onPrimaryAction: r,
84
+ onEndTour: p,
85
+ showPrimaryAction: !l && e.advanceOn !== "auto"
86
+ }
87
+ ) })
88
+ ] })
43
89
  }
44
90
  ) });
45
91
  }
46
92
  export {
47
- f as AnnouncementRenderer
93
+ k as AnnouncementRenderer
48
94
  };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ /** Hand-tap glyph for click-target tour steps (Figma action affordance). */
3
+ export declare function GuidanceActionTapIcon({ className, }: {
4
+ className?: string;
5
+ }): React.ReactElement;
@@ -0,0 +1,68 @@
1
+ import { jsx as c, jsxs as h } from "react/jsx-runtime";
2
+ import "react";
3
+ import { cn as r } from "../../../../lib/utils.js";
4
+ function s({
5
+ className: l
6
+ }) {
7
+ return /* @__PURE__ */ c(
8
+ "svg",
9
+ {
10
+ "aria-hidden": "true",
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ viewBox: "0 0 256 256",
13
+ className: r(
14
+ "size-4 min-h-4 min-w-4 max-h-4 max-w-4 shrink-0",
15
+ l
16
+ ),
17
+ children: /* @__PURE__ */ h(
18
+ "g",
19
+ {
20
+ fill: "currentColor",
21
+ fillRule: "nonzero",
22
+ transform: "translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",
23
+ children: [
24
+ /* @__PURE__ */ c(
25
+ "path",
26
+ {
27
+ d: "M 69.416 43.298 H 68.97 c -0.983 0 -1.917 0.216 -2.756 0.603 c -0.644 -2.975 -3.295 -5.21 -6.459 -5.21 h -0.447 c -1.128 0 -2.19 0.284 -3.12 0.784 c -1 -2.379 -3.355 -4.054 -6.094 -4.054 h -0.447 c -0.925 0 -1.807 0.191 -2.606 0.536 v -9.458 c 0 -3.644 -2.964 -6.607 -6.608 -6.607 h -0.447 c -3.643 0 -6.607 2.964 -6.607 6.607 v 24.261 l -3.005 2.281 c -2.394 1.817 -3.911 4.461 -4.273 7.444 c -0.362 2.984 0.479 5.914 2.37 8.251 l 9.378 11.594 v 4.608 c 0 2.791 2.271 5.063 5.062 5.063 h 23.411 c 2.791 0 5.063 -2.271 5.063 -5.063 l 0.001 -4.375 c 2.996 -3.766 4.639 -8.438 4.639 -13.242 V 49.905 C 76.023 46.262 73.06 43.298 69.416 43.298 z M 72.023 67.32 c 0 4.102 -1.478 8.088 -4.159 11.224 c -0.311 0.362 -0.48 0.823 -0.48 1.3 v 5.094 c 0 0.586 -0.477 1.063 -1.063 1.063 H 42.911 c -0.585 0 -1.062 -0.477 -1.062 -1.063 v -5.316 c 0 -0.458 -0.157 -0.902 -0.445 -1.258 L 31.581 66.22 c -1.204 -1.488 -1.74 -3.354 -1.509 -5.254 c 0.23 -1.899 1.197 -3.583 2.721 -4.74 l 0.586 -0.444 v 5.495 c 0 1.104 0.896 2 2 2 s 2 -0.896 2 -2 v -9.506 c 0 -0.014 0 -0.026 0 -0.04 V 26.498 c 0 -1.438 1.169 -2.607 2.607 -2.607 h 0.447 c 1.438 0 2.607 1.17 2.607 2.607 v 15.53 c 0 0 0 0 0 0.001 s 0 0 0 0.001 l 0.01 12.917 c 0.001 1.104 0.896 1.998 2 1.998 c 0 0 0.001 0 0.001 0 c 1.104 -0.001 1.999 -0.896 1.998 -2.002 L 47.04 42.028 c 0 -1.438 1.169 -2.607 2.606 -2.607 h 0.447 c 1.438 0 2.607 1.17 2.607 2.607 v 3.27 c 0 0 0 0.001 0 0.001 c 0 0 0 0.001 0 0.001 l 0.009 9.647 c 0.001 1.104 0.896 1.998 2 1.998 c 0.001 0 0.001 0 0.002 0 c 1.104 -0.001 1.999 -0.897 1.998 -2.002 l -0.009 -9.646 c 0 -1.438 1.169 -2.607 2.606 -2.607 h 0.447 c 1.438 0 2.607 1.17 2.607 2.607 v 4.088 c -0.006 0.066 -0.02 0.13 -0.02 0.197 l 0.01 5.366 c 0.002 1.104 0.897 1.996 2 1.996 c 0.001 0 0.002 0 0.004 0 c 1.104 -0.002 1.998 -0.899 1.996 -2.004 l -0.009 -4.852 c 0.006 -0.062 0.019 -0.121 0.019 -0.184 c 0 -1.438 1.17 -2.607 2.607 -2.607 h 0.446 c 1.438 0 2.607 1.17 2.607 2.607 V 67.32 z"
28
+ }
29
+ ),
30
+ /* @__PURE__ */ c(
31
+ "path",
32
+ {
33
+ d: "M 63.994 25.511 H 51.79 c -1.104 0 -2 -0.896 -2 -2 s 0.896 -2 2 -2 h 12.204 c 1.104 0 2 0.896 2 2 S 65.099 25.511 63.994 25.511 z"
34
+ }
35
+ ),
36
+ /* @__PURE__ */ c(
37
+ "path",
38
+ {
39
+ d: "M 39.985 16.204 c -1.104 0 -2 -0.896 -2 -2 V 2 c 0 -1.104 0.896 -2 2 -2 s 2 0.896 2 2 v 12.204 C 41.985 15.309 41.09 16.204 39.985 16.204 z"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ c(
43
+ "path",
44
+ {
45
+ d: "M 48.558 18.441 c -0.512 0 -1.023 -0.195 -1.414 -0.586 c -0.781 -0.781 -0.781 -2.047 0 -2.828 l 8.63 -8.629 c 0.781 -0.781 2.047 -0.781 2.828 0 c 0.781 0.781 0.781 2.047 0 2.828 l -8.63 8.629 C 49.581 18.246 49.069 18.441 48.558 18.441 z"
46
+ }
47
+ ),
48
+ /* @__PURE__ */ c(
49
+ "path",
50
+ {
51
+ d: "M 28.181 25.511 H 15.977 c -1.104 0 -2 -0.896 -2 -2 s 0.896 -2 2 -2 h 12.204 c 1.104 0 2 0.896 2 2 S 29.285 25.511 28.181 25.511 z"
52
+ }
53
+ ),
54
+ /* @__PURE__ */ c(
55
+ "path",
56
+ {
57
+ d: "M 31.413 18.441 c -0.512 0 -1.024 -0.195 -1.414 -0.586 L 21.37 9.226 c -0.781 -0.781 -0.781 -2.047 0 -2.828 c 0.78 -0.781 2.048 -0.781 2.828 0 l 8.629 8.629 c 0.781 0.781 0.781 2.047 0 2.828 C 32.437 18.246 31.925 18.441 31.413 18.441 z"
58
+ }
59
+ )
60
+ ]
61
+ }
62
+ )
63
+ }
64
+ );
65
+ }
66
+ export {
67
+ s as GuidanceActionTapIcon
68
+ };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * Figma-aligned announcement backdrop: 12px dot grid + soft hero wash (no hero image).
4
+ */
5
+ export declare function GuidanceAnnouncementSurface(): React.ReactElement;