impact-ui 4.0.13 → 4.0.14-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/README.md +3 -1
  2. package/dist/_virtual/index13.js +2 -2
  3. package/dist/_virtual/index14.js +2 -2
  4. package/dist/_virtual/index15.js +2 -2
  5. package/dist/_virtual/index2.js +2 -2
  6. package/dist/_virtual/index3.js +2 -2
  7. package/dist/components/AccordionModern/SortableAccordionComp.d.ts +2 -2
  8. package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +1 -1
  9. package/dist/components/AccordionModern/index.d.ts +1 -1
  10. package/dist/components/AccordionModern/index.d.ts.map +1 -1
  11. package/dist/components/AccordionModern/index.js +1 -1
  12. package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts +1 -1
  13. package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts.map +1 -1
  14. package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts +1 -1
  15. package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts.map +1 -1
  16. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts +1 -1
  17. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts.map +1 -1
  18. package/dist/components/Badge/filled/index.d.ts +1 -1
  19. package/dist/components/Badge/filled/index.d.ts.map +1 -1
  20. package/dist/components/Badge/index.d.ts +1 -1
  21. package/dist/components/Badge/stroke/index.d.ts +1 -1
  22. package/dist/components/Badge/stroke/index.d.ts.map +1 -1
  23. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts +1 -1
  24. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts.map +1 -1
  25. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts +1 -1
  26. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts.map +1 -1
  27. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts +1 -1
  28. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts.map +1 -1
  29. package/dist/components/Badge/subtle/index.d.ts +1 -1
  30. package/dist/components/Badge/subtle/index.d.ts.map +1 -1
  31. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts +1 -1
  32. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts.map +1 -1
  33. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts +1 -1
  34. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts.map +1 -1
  35. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts +1 -1
  36. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts.map +1 -1
  37. package/dist/components/BottomSheet/index.d.ts +1 -1
  38. package/dist/components/BottomSheet/index.d.ts.map +1 -1
  39. package/dist/components/Breadcrumbs/HomeIcon.d.ts +1 -1
  40. package/dist/components/Breadcrumbs/HomeIcon.d.ts.map +1 -1
  41. package/dist/components/Breadcrumbs/index.d.ts +1 -1
  42. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  43. package/dist/components/ButtonGroup/index.d.ts +1 -1
  44. package/dist/components/ButtonGroup/index.d.ts.map +1 -1
  45. package/dist/components/Chart/ChartSkeleton.d.ts +1 -1
  46. package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
  47. package/dist/components/Chart/index.d.ts +2 -1
  48. package/dist/components/Chart/index.d.ts.map +1 -1
  49. package/dist/components/Chart/index.js +1 -1
  50. package/dist/components/Chatbot/bookMarkPanel.d.ts +1 -1
  51. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
  52. package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
  53. package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
  54. package/dist/components/Chatbot/chatBotLandingScreen.d.ts +1 -1
  55. package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +1 -1
  56. package/dist/components/Chatbot/chatInput.d.ts +1 -1
  57. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  58. package/dist/components/Chatbot/chatbotModuleMenu.d.ts +1 -1
  59. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  60. package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
  61. package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
  62. package/dist/components/Chatbot/customScreen.d.ts +1 -1
  63. package/dist/components/Chatbot/customScreen.d.ts.map +1 -1
  64. package/dist/components/Chatbot/historyPanel.d.ts +1 -1
  65. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  66. package/dist/components/Chatbot/index.d.ts +1 -1
  67. package/dist/components/Chatbot/index.d.ts.map +1 -1
  68. package/dist/components/Chatbot/index.js +1 -1
  69. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  70. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  71. package/dist/components/Checkbox/WithDropDown.d.ts +1 -1
  72. package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
  73. package/dist/components/Checkbox/WithoutFormLabel.d.ts +1 -1
  74. package/dist/components/Checkbox/WithoutFormLabel.d.ts.map +1 -1
  75. package/dist/components/Chips/index.js +1 -1
  76. package/dist/components/CommentsPanel/CommentsContext.d.ts +1 -1
  77. package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
  78. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +1 -1
  79. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  80. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +10 -4
  81. package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
  82. package/dist/components/CreateItemFlow/index.d.ts +3 -15
  83. package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
  84. package/dist/components/CreateItemFlow/index.js +123 -73
  85. package/dist/components/DatePicker/datePickerDropdown.d.ts +1 -1
  86. package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
  87. package/dist/components/DatePicker/datePickerFooter.d.ts +1 -1
  88. package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
  89. package/dist/components/DatePicker/index.js +1 -1
  90. package/dist/components/DatePicker/showMonthYearSelect.d.ts +1 -1
  91. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  92. package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts +1 -1
  93. package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
  94. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +3 -1
  95. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
  96. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
  97. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
  98. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +1 -1
  99. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
  100. package/dist/components/DateRangePicker/index.js +1 -1
  101. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts +1 -1
  102. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  103. package/dist/components/DynamicLayout/index.d.ts +9 -11
  104. package/dist/components/DynamicLayout/index.d.ts.map +1 -1
  105. package/dist/components/DynamicLayout/index.js +37 -38
  106. package/dist/components/EmptyState/EmptyStateImage.d.ts +1 -1
  107. package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
  108. package/dist/components/EmptyState/index.d.ts +1 -1
  109. package/dist/components/EmptyState/index.d.ts.map +1 -1
  110. package/dist/components/FileUpload/TemplatePreview.d.ts +1 -1
  111. package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
  112. package/dist/components/FileUpload/index.d.ts +1 -1
  113. package/dist/components/FileUpload/index.d.ts.map +1 -1
  114. package/dist/components/FileUpload/index.js +1 -1
  115. package/dist/components/FilterPanel/FilterPanelHeader.d.ts +1 -1
  116. package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +1 -1
  117. package/dist/components/FilterPanel/PanelFooter.d.ts +1 -1
  118. package/dist/components/FilterPanel/PanelFooter.d.ts.map +1 -1
  119. package/dist/components/FilterPanel/PanelSidebar.d.ts +1 -1
  120. package/dist/components/FilterPanel/PanelSidebar.d.ts.map +1 -1
  121. package/dist/components/FilterPanel/index.d.ts +1 -1
  122. package/dist/components/FilterPanel/index.d.ts.map +1 -1
  123. package/dist/components/FilterPanel/index.js +1 -1
  124. package/dist/components/FiltersStrip/AppliedFilters.d.ts +1 -1
  125. package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
  126. package/dist/components/FiltersStrip/FilterDropDown.d.ts +1 -1
  127. package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
  128. package/dist/components/FiltersStrip/FilterSlider.d.ts +1 -1
  129. package/dist/components/FiltersStrip/FilterSlider.d.ts.map +1 -1
  130. package/dist/components/FiltersStrip/FilterSliderPortal.d.ts +1 -1
  131. package/dist/components/FiltersStrip/FilterSliderPortal.d.ts.map +1 -1
  132. package/dist/components/FiltersStrip/index.d.ts +1 -1
  133. package/dist/components/FiltersStrip/index.d.ts.map +1 -1
  134. package/dist/components/Header/index.d.ts +1 -1
  135. package/dist/components/Header/index.d.ts.map +1 -1
  136. package/dist/components/HomePage/index.d.ts +1 -1
  137. package/dist/components/HomePage/index.d.ts.map +1 -1
  138. package/dist/components/HomePage/index.js +1 -1
  139. package/dist/components/Input/HelperText.d.ts +1 -1
  140. package/dist/components/Input/HelperText.d.ts.map +1 -1
  141. package/dist/components/Input/InputWithIcon.d.ts +1 -1
  142. package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
  143. package/dist/components/Input/VanillaInput.d.ts +1 -1
  144. package/dist/components/Input/VanillaInput.d.ts.map +1 -1
  145. package/dist/components/Input/index.js +1 -1
  146. package/dist/components/KeyboardShortCuts/Keycombo.d.ts +2 -2
  147. package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
  148. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +1 -1
  149. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
  150. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
  151. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +1 -1
  152. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
  153. package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
  154. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +1 -1
  155. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -1
  156. package/dist/components/KeyboardShortCuts/allSetBox.d.ts +1 -1
  157. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
  158. package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
  159. package/dist/components/KeyboardShortCuts/index.d.ts +1 -1
  160. package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
  161. package/dist/components/KeyboardShortCuts/index.js +1 -1
  162. package/dist/components/KeyboardShortCuts/screen2.d.ts +1 -1
  163. package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
  164. package/dist/components/KeyboardShortCuts/screen3.d.ts +1 -1
  165. package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
  166. package/dist/components/KeyboardShortCuts/tutorial.d.ts +2 -1
  167. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
  168. package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
  169. package/dist/components/Loader/index.d.ts +1 -1
  170. package/dist/components/Loader/index.d.ts.map +1 -1
  171. package/dist/components/Menu/MenuHeaderInfo.d.ts +2 -2
  172. package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
  173. package/dist/components/Modal/index.d.ts +1 -1
  174. package/dist/components/Modal/index.d.ts.map +1 -1
  175. package/dist/components/Modal/index.js +1 -1
  176. package/dist/components/MonthPicker/index.d.ts +1 -1
  177. package/dist/components/MonthPicker/index.d.ts.map +1 -1
  178. package/dist/components/MonthRangePicker/index.d.ts +1 -1
  179. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  180. package/dist/components/MonthRangePicker/index.js +1 -1
  181. package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts +21 -0
  182. package/dist/components/NewCreateItemFlow/NewCreateItemFlow.types.d.ts.map +1 -0
  183. package/dist/components/NewCreateItemFlow/index.d.ts +5 -0
  184. package/dist/components/NewCreateItemFlow/index.d.ts.map +1 -0
  185. package/dist/components/NewCreateItemFlow/index.js +93 -0
  186. package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts +26 -0
  187. package/dist/components/NewDynamicLayout/NewDynamicLayout.types.d.ts.map +1 -0
  188. package/dist/components/NewDynamicLayout/index.d.ts +15 -0
  189. package/dist/components/NewDynamicLayout/index.d.ts.map +1 -0
  190. package/dist/components/NewDynamicLayout/index.js +45 -0
  191. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +1 -1
  192. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
  193. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +1 -1
  194. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
  195. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
  196. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +1 -1
  197. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  198. package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +1 -1
  199. package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
  200. package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +1 -1
  201. package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
  202. package/dist/components/Notification/NotificationBody/index.d.ts +1 -1
  203. package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
  204. package/dist/components/Notification/index.d.ts +1 -1
  205. package/dist/components/Notification/index.d.ts.map +1 -1
  206. package/dist/components/Notification/index.js +1 -1
  207. package/dist/components/Panel/index.d.ts +1 -1
  208. package/dist/components/Panel/index.d.ts.map +1 -1
  209. package/dist/components/Popover/index.d.ts +1 -1
  210. package/dist/components/Popover/index.d.ts.map +1 -1
  211. package/dist/components/ProgressBar/index.d.ts +1 -1
  212. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  213. package/dist/components/Prompt/index.d.ts +1 -1
  214. package/dist/components/Prompt/index.d.ts.map +1 -1
  215. package/dist/components/RadioButtonGroup/index.d.ts +1 -1
  216. package/dist/components/RadioButtonGroup/index.d.ts.map +1 -1
  217. package/dist/components/Select/customGroupHeading.d.ts +1 -1
  218. package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
  219. package/dist/components/Select/dropdown.d.ts +1 -1
  220. package/dist/components/Select/dropdown.d.ts.map +1 -1
  221. package/dist/components/Select/index.js +1 -1
  222. package/dist/components/Select/menuList.d.ts +2 -1
  223. package/dist/components/Select/menuList.d.ts.map +1 -1
  224. package/dist/components/Select/optionList.d.ts +2 -1
  225. package/dist/components/Select/optionList.d.ts.map +1 -1
  226. package/dist/components/Select/selected-option-tags.d.ts +1 -1
  227. package/dist/components/Select/selected-option-tags.d.ts.map +1 -1
  228. package/dist/components/Shortcuts/ShortcutHint.d.ts +1 -1
  229. package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
  230. package/dist/components/Shortcuts/ShortcutScope.d.ts +1 -1
  231. package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -1
  232. package/dist/components/Shortcuts/ShortcutsProvider.d.ts +1 -1
  233. package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -1
  234. package/dist/components/Sidebar/ChildMenu.d.ts +1 -1
  235. package/dist/components/Sidebar/ChildMenu.d.ts.map +1 -1
  236. package/dist/components/Sidebar/ParentMenu.d.ts +1 -1
  237. package/dist/components/Sidebar/ParentMenu.d.ts.map +1 -1
  238. package/dist/components/Sidebar/SidebarActions.d.ts +1 -1
  239. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  240. package/dist/components/Sidebar/SidebarMenus.d.ts +1 -1
  241. package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
  242. package/dist/components/Sidebar/index.d.ts +1 -1
  243. package/dist/components/Sidebar/index.d.ts.map +1 -1
  244. package/dist/components/Skeleton/index.d.ts +1 -1
  245. package/dist/components/Skeleton/index.d.ts.map +1 -1
  246. package/dist/components/Slider/index.d.ts +1 -1
  247. package/dist/components/Slider/index.d.ts.map +1 -1
  248. package/dist/components/Slider/index.js +1 -1
  249. package/dist/components/Stepper/index.d.ts +1 -1
  250. package/dist/components/Stepper/index.d.ts.map +1 -1
  251. package/dist/components/Stepper/index.js +1 -1
  252. package/dist/components/Table/AdvanceSearchModalItem.d.ts +1 -1
  253. package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +1 -1
  254. package/dist/components/Table/AdvanceSortModal.d.ts +1 -1
  255. package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -1
  256. package/dist/components/Table/AgGridHeader.d.ts +3 -1
  257. package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
  258. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +3 -1
  259. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
  260. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +1 -1
  261. package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
  262. package/dist/components/Table/NoComments.d.ts +1 -1
  263. package/dist/components/Table/NoComments.d.ts.map +1 -1
  264. package/dist/components/Table/actionBar.d.ts +1 -1
  265. package/dist/components/Table/actionBar.d.ts.map +1 -1
  266. package/dist/components/Table/advanceSearchModal.d.ts +1 -1
  267. package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
  268. package/dist/components/Table/index.js +1 -1
  269. package/dist/components/Table/tableHeader.d.ts +1 -1
  270. package/dist/components/Table/tableHeader.d.ts.map +1 -1
  271. package/dist/components/Table/tableIcons.d.ts +4 -2
  272. package/dist/components/Table/tableIcons.d.ts.map +1 -1
  273. package/dist/components/Table/tableMoreOptions.d.ts +1 -1
  274. package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
  275. package/dist/components/Table/tablePagination.d.ts +1 -1
  276. package/dist/components/Table/tablePagination.d.ts.map +1 -1
  277. package/dist/components/Table/tableSettings.d.ts +1 -1
  278. package/dist/components/Table/tableSettings.d.ts.map +1 -1
  279. package/dist/components/Table/withCommentIcon.d.ts +1 -1
  280. package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
  281. package/dist/components/TableChat/EmptyContainer.d.ts +2 -1
  282. package/dist/components/TableChat/EmptyContainer.d.ts.map +1 -1
  283. package/dist/components/TableChat/TableChatSidePanel.d.ts +1 -1
  284. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  285. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts +2 -1
  286. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts.map +1 -1
  287. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts +2 -1
  288. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts.map +1 -1
  289. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts +2 -1
  290. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts.map +1 -1
  291. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts +2 -1
  292. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts.map +1 -1
  293. package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
  294. package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
  295. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts +1 -1
  296. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
  297. package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts +3 -1
  298. package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts.map +1 -1
  299. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +1 -1
  300. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  301. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts +1 -1
  302. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
  303. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +2 -2
  304. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
  305. package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts +3 -1
  306. package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts.map +1 -1
  307. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +1 -1
  308. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
  309. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  310. package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts +3 -1
  311. package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts.map +1 -1
  312. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts +2 -2
  313. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  314. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -1
  315. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  316. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
  317. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts +1 -1
  318. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
  319. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +1 -1
  320. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
  321. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -1
  322. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  323. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts +1 -1
  324. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  325. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
  326. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
  327. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -1
  328. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  329. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts +1 -1
  330. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
  331. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts +2 -1
  332. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts.map +1 -1
  333. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -1
  334. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  335. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
  336. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts +1 -1
  337. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
  338. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts +1 -1
  339. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
  340. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
  341. package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts +3 -1
  342. package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  343. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +3 -1
  344. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
  345. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts +1 -1
  346. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
  347. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts +1 -1
  348. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
  349. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
  350. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +1 -1
  351. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  352. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +2 -1
  353. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  354. package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
  355. package/dist/components/TableOld/AgGridHeader.d.ts +3 -1
  356. package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
  357. package/dist/components/TableOld/actionBar.d.ts +1 -1
  358. package/dist/components/TableOld/actionBar.d.ts.map +1 -1
  359. package/dist/components/TableOld/index.js +1 -1
  360. package/dist/components/TableOld/tableHeader.d.ts +1 -1
  361. package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
  362. package/dist/components/TableOld/tableIcons.d.ts +4 -2
  363. package/dist/components/TableOld/tableIcons.d.ts.map +1 -1
  364. package/dist/components/TableOld/tablePagination.d.ts +1 -1
  365. package/dist/components/TableOld/tablePagination.d.ts.map +1 -1
  366. package/dist/components/TableOld/tableSettings.d.ts +1 -1
  367. package/dist/components/TableOld/tableSettings.d.ts.map +1 -1
  368. package/dist/components/Tabs/TabPanel.d.ts +1 -1
  369. package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
  370. package/dist/components/Tabs/index.d.ts +1 -1
  371. package/dist/components/Tabs/index.d.ts.map +1 -1
  372. package/dist/components/Tag/filled.d.ts +1 -1
  373. package/dist/components/Tag/filled.d.ts.map +1 -1
  374. package/dist/components/Tag/solid.d.ts +1 -1
  375. package/dist/components/Tag/solid.d.ts.map +1 -1
  376. package/dist/components/Tag/stroke.d.ts +1 -1
  377. package/dist/components/Tag/stroke.d.ts.map +1 -1
  378. package/dist/components/TagGroup/index.d.ts +1 -1
  379. package/dist/components/TagGroup/index.d.ts.map +1 -1
  380. package/dist/components/TextArea/index.d.ts +1 -1
  381. package/dist/components/TextArea/index.d.ts.map +1 -1
  382. package/dist/components/TextArea/index.js +1 -1
  383. package/dist/components/Toast/index.d.ts +1 -1
  384. package/dist/components/Toast/index.d.ts.map +1 -1
  385. package/dist/components/common/HelperText/index.d.ts +1 -1
  386. package/dist/components/common/HelperText/index.d.ts.map +1 -1
  387. package/dist/components/common/MentionEditor/index.js +1 -1
  388. package/dist/components/index.d.ts +5 -1
  389. package/dist/components/index.d.ts.map +1 -1
  390. package/dist/components/index.js +4 -0
  391. package/dist/i18n/I18nContext.d.ts +1 -1
  392. package/dist/i18n/I18nContext.d.ts.map +1 -1
  393. package/dist/mcp-component-registry.json +88 -58
  394. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +252 -158
  395. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +3 -3
  396. package/dist/node_modules/@mui/system/esm/createStyled.js +1 -1
  397. package/dist/node_modules/call-bind/index.js +3 -3
  398. package/dist/node_modules/es-abstract/2025/ToString.js +21 -0
  399. package/dist/node_modules/es-abstract-get/GetMethod.js +33 -0
  400. package/dist/node_modules/es-abstract-get/GetV.js +25 -0
  401. package/dist/node_modules/es-abstract-get/isPropertyKey.js +13 -0
  402. package/dist/node_modules/es-to-primitive/es2015.js +28 -28
  403. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  404. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  405. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  406. package/dist/node_modules/lodash/lodash.js +14 -16
  407. package/dist/node_modules/prop-types/index.js +1 -1
  408. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -1
  409. package/dist/node_modules/react-dates/lib/theme/DefaultTheme.js +4 -4
  410. package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +3 -3
  411. package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +3 -3
  412. package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
  413. package/dist/node_modules/react-is/cjs/react-is.production.js +1 -1
  414. package/dist/node_modules/react-is/index.js +1 -1
  415. package/dist/node_modules/react-with-styles/lib/ThemedStyleSheet.js +6 -6
  416. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +5 -5
  417. package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +3 -3
  418. package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +4 -4
  419. package/dist/node_modules/string.prototype.trim/implementation.js +12 -4
  420. package/dist/stories/LocaleDictionaryCollapse.d.ts +1 -1
  421. package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
  422. package/dist/stories/i18nDemo.d.ts +1 -1
  423. package/dist/stories/i18nDemo.d.ts.map +1 -1
  424. package/dist/utils/shortcuts/ShortcutManager.d.ts.map +1 -1
  425. package/dist/utils/shortcuts/ShortcutManager.js +5 -6
  426. package/dist/utils/shortcuts/format.d.ts +1 -1
  427. package/dist/utils/shortcuts/format.d.ts.map +1 -1
  428. package/dist/utils/shortcuts/format.js +19 -17
  429. package/dist/utils/shortcuts/index.d.ts +1 -1
  430. package/dist/utils/shortcuts/index.d.ts.map +1 -1
  431. package/dist/utils/shortcuts/match.d.ts +4 -1
  432. package/dist/utils/shortcuts/match.d.ts.map +1 -1
  433. package/dist/utils/shortcuts/match.js +16 -33
  434. package/dist/utils/shortcuts/parse.d.ts +5 -5
  435. package/dist/utils/shortcuts/parse.d.ts.map +1 -1
  436. package/dist/utils/shortcuts/parse.js +36 -50
  437. package/dist/utils/shortcuts/types.d.ts +16 -15
  438. package/dist/utils/shortcuts/types.d.ts.map +1 -1
  439. package/package.json +1 -1
  440. /package/dist/_virtual/{react-is.development2.js → react-is2.development.js} +0 -0
  441. /package/dist/_virtual/{react-is.production.min2.js → react-is2.production.min.js} +0 -0
  442. /package/dist/_virtual/{react-is.development3.js → react-is3.development.js} +0 -0
@@ -19,9 +19,7 @@ const _ShortcutManager = class _ShortcutManager {
19
19
  const isInInput = INPUT_ELEMENTS.has(target.tagName) || target.isContentEditable;
20
20
  const sorted = this.getSorted();
21
21
  const active = sorted.filter((e) => this.isScopeActive(e.scope ?? "global"));
22
- const sequenceEntries = active.filter(
23
- (e) => e.parsed.type === "sequence" && (e.allowInInput === true || !isInInput)
24
- ).map((e) => ({ ...e, steps: e.parsed.steps }));
22
+ const sequenceEntries = active.filter((e) => e.parsed.isSequence && (e.allowInInput === true || !isInInput)).map((e) => ({ ...e, steps: e.parsed.combos }));
25
23
  if (sequenceEntries.length > 0 || this._sequenceTracker.hasActiveSequences) {
26
24
  const seqMatch = this._sequenceTracker.advance(event, sequenceEntries);
27
25
  if (seqMatch) {
@@ -35,11 +33,12 @@ const _ShortcutManager = class _ShortcutManager {
35
33
  }
36
34
  }
37
35
  const comboEntries = active.filter(
38
- (e) => e.parsed.type === "chord" && (e.allowInInput === true || !isInInput)
36
+ (e) => !e.parsed.isSequence && (e.allowInInput === true || !isInInput)
39
37
  );
40
38
  for (const entry of comboEntries) {
41
- if (entry.parsed.type !== "chord") continue;
42
- if (matchShortcut(event, entry.parsed.combo)) {
39
+ const combo = entry.parsed.combos[0];
40
+ if (!combo) continue;
41
+ if (matchShortcut(event, combo)) {
43
42
  if (entry.preventDefault !== false) event.preventDefault();
44
43
  this.debugLog(event, entry);
45
44
  entry.handler(event);
@@ -1,7 +1,7 @@
1
1
  interface FormatOptions {
2
2
  separator?: string;
3
3
  }
4
- /** Human-readable platform-aware label for UI badges. */
4
+ /** Human-readable platform-aware label for UI badges (JS-compatible output). */
5
5
  export declare function formatShortcutDisplay(keys: string, options?: FormatOptions): string;
6
6
  export {};
7
7
  //# sourceMappingURL=format.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/format.ts"],"names":[],"mappings":"AAuBA,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAoBD,yDAAyD;AACzD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,aAAkB,GAAG,MAAM,CAOvF"}
1
+ {"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/format.ts"],"names":[],"mappings":"AAuCA,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD,gFAAgF;AAChF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,aAAkB,GAAG,MAAM,CAMvF"}
@@ -1,5 +1,18 @@
1
1
  import { parseShortcutString } from "./parse.js";
2
2
  import { isMac } from "./platform.js";
3
+ const MAC_SYMBOLS = {
4
+ meta: "⌘",
5
+ ctrl: "⌃",
6
+ alt: "⌥",
7
+ shift: "⇧"
8
+ };
9
+ const WIN_SYMBOLS = {
10
+ meta: "Win",
11
+ ctrl: "Ctrl",
12
+ alt: "Alt",
13
+ shift: "Shift"
14
+ };
15
+ const MODIFIER_ORDER = ["ctrl", "alt", "shift", "meta"];
3
16
  const SPECIAL_KEY_DISPLAY = {
4
17
  arrowup: "↑",
5
18
  arrowdown: "↓",
@@ -17,27 +30,16 @@ function formatKey(key) {
17
30
  if (key.length === 1) return key.toUpperCase();
18
31
  return key.charAt(0).toUpperCase() + key.slice(1);
19
32
  }
20
- function formatCombo(combo, separator) {
21
- const parts = [];
22
- const { modifiers, key } = combo;
23
- if (modifiers.mod) {
24
- parts.push(isMac ? "⌘" : "Ctrl");
25
- } else {
26
- if (modifiers.ctrl) parts.push(isMac ? "⌃" : "Ctrl");
27
- if (modifiers.meta) parts.push("⌘");
28
- }
29
- if (modifiers.alt) parts.push(isMac ? "⌥" : "Alt");
30
- if (modifiers.shift) parts.push(isMac ? "⇧" : "Shift");
31
- if (key) parts.push(formatKey(key));
32
- return parts.join(separator);
33
+ function formatCombo(combo, symbols, separator) {
34
+ const modParts = MODIFIER_ORDER.filter((m) => combo.modifiers.has(m)).map((m) => symbols[m]);
35
+ const keyPart = formatKey(combo.key);
36
+ return [...modParts, keyPart].join(separator);
33
37
  }
34
38
  function formatShortcutDisplay(keys, options = {}) {
39
+ const symbols = isMac ? MAC_SYMBOLS : WIN_SYMBOLS;
35
40
  const separator = options.separator ?? (isMac ? "" : "+");
36
41
  const parsed = parseShortcutString(keys);
37
- if (parsed.type === "sequence") {
38
- return parsed.steps.map((c) => formatCombo(c, separator)).join(" then ");
39
- }
40
- return formatCombo(parsed.combo, separator);
42
+ return parsed.combos.map((combo) => formatCombo(combo, symbols, separator)).join(" then ");
41
43
  }
42
44
  export {
43
45
  formatShortcutDisplay
@@ -6,5 +6,5 @@ export { normalizeShortcutString, parseShortcutString } from './parse';
6
6
  export { SequenceTracker } from './sequence';
7
7
  export type { SequenceEntry } from './sequence';
8
8
  export { ShortcutManager } from './ShortcutManager';
9
- export type { ParsedShortcut, ShortcutBinding, ShortcutChord, ShortcutCombo, ShortcutRegistration, ShortcutSequence, ShortcutSummary, } from './types';
9
+ export type { Modifier, ParsedShortcut, ShortcutBinding, ShortcutCombo, ShortcutRegistration, ShortcutSummary, } from './types';
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,GAChB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,WAAW,EACX,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EACV,QAAQ,EACR,cAAc,EACd,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,eAAe,GAChB,MAAM,SAAS,CAAC"}
@@ -4,6 +4,9 @@ import { ShortcutCombo } from './types';
4
4
  export declare function normalizeKey(key: string): string;
5
5
  /** Map `KeyboardEvent.code` to normalized key (fixes macOS Option+letter). */
6
6
  export declare function normalizedPhysicalKey(code: string): string | null;
7
- /** Low-level test: does this keyboard event match the combo? */
7
+ /**
8
+ * Test whether a KeyboardEvent matches a ShortcutCombo exactly
9
+ * (same modifiers, no more / no fewer, and matching key).
10
+ */
8
11
  export declare function matchShortcut(event: KeyboardEvent, combo: ShortcutCombo): boolean;
9
12
  //# sourceMappingURL=match.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/match.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,+DAA+D;AAC/D,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGhD;AAED,8EAA8E;AAC9E,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAsDjE;AAsCD,gEAAgE;AAChE,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAGjF"}
1
+ {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/match.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAY,aAAa,EAAE,MAAM,SAAS,CAAC;AAEvD,+DAA+D;AAC/D,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGhD;AAED,8EAA8E;AAC9E,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAsDjE;AAYD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,GAAG,OAAO,CAcjF"}
@@ -1,5 +1,4 @@
1
1
  import { KEY_ALIASES } from "./constants.js";
2
- import { isMac } from "./platform.js";
3
2
  function normalizeKey(key) {
4
3
  const lower = key.toLowerCase();
5
4
  return KEY_ALIASES[lower] ?? lower;
@@ -54,40 +53,24 @@ function normalizedPhysicalKey(code) {
54
53
  }
55
54
  return null;
56
55
  }
57
- function modifiersMatch(event, combo) {
58
- const wantsMod = combo.modifiers.mod;
59
- const modPressed = isMac ? event.metaKey : event.ctrlKey;
60
- const wantsCtrl = combo.modifiers.ctrl;
61
- const wantsMeta = combo.modifiers.meta;
62
- const wantsAlt = combo.modifiers.alt;
63
- const wantsShift = combo.modifiers.shift;
64
- if (wantsMod) {
65
- if (!modPressed) return false;
66
- if (wantsAlt && !event.altKey) return false;
67
- if (wantsShift && !event.shiftKey) return false;
68
- if (!wantsAlt && event.altKey) return false;
69
- if (!wantsShift && event.shiftKey) return false;
70
- if (wantsCtrl && !event.ctrlKey) return false;
71
- if (wantsMeta && !event.metaKey) return false;
72
- return true;
73
- }
74
- if (wantsCtrl !== event.ctrlKey) return false;
75
- if (wantsMeta !== event.metaKey) return false;
76
- if (wantsAlt !== event.altKey) return false;
77
- if (wantsShift !== event.shiftKey) return false;
78
- return true;
79
- }
80
- function keyMatch(event, expectedKey) {
81
- if (!expectedKey) return true;
82
- const normalized = normalizeKey(event.key);
83
- if (normalized === expectedKey) return true;
84
- const physical = normalizedPhysicalKey(event.code);
85
- if (physical !== null && physical === expectedKey) return true;
86
- return false;
56
+ function getActiveModifiers(event) {
57
+ const mods = /* @__PURE__ */ new Set();
58
+ if (event.ctrlKey) mods.add("ctrl");
59
+ if (event.metaKey) mods.add("meta");
60
+ if (event.altKey) mods.add("alt");
61
+ if (event.shiftKey) mods.add("shift");
62
+ return mods;
87
63
  }
88
64
  function matchShortcut(event, combo) {
89
- if (!modifiersMatch(event, combo)) return false;
90
- return keyMatch(event, combo.key);
65
+ const pressed = getActiveModifiers(event);
66
+ if (pressed.size !== combo.modifiers.size) return false;
67
+ for (const mod of combo.modifiers) {
68
+ if (!pressed.has(mod)) return false;
69
+ }
70
+ const fromKey = normalizeKey(event.key);
71
+ if (fromKey === combo.key) return true;
72
+ const fromCode = normalizedPhysicalKey(event.code);
73
+ return fromCode !== null && fromCode === combo.key;
91
74
  }
92
75
  export {
93
76
  matchShortcut,
@@ -1,13 +1,13 @@
1
1
  import { ParsedShortcut } from './types';
2
2
 
3
3
  /**
4
- * Parse a shortcut string into chord or sequence structure.
5
- * `mod+k` → chord; `g i` → sequence of two single-key chords.
4
+ * Parse a shortcut string into the JS-compatible `{ isSequence, combos }` shape.
5
+ * `mod+k` → single combo (mod resolved to ctrl/meta); `g i` → sequence.
6
6
  */
7
- export declare function parseShortcutString(keys: string): ParsedShortcut;
7
+ export declare function parseShortcutString(shortcutStr: string): ParsedShortcut;
8
8
  /**
9
9
  * Normalize shortcut string for blacklist / dedup / comparison.
10
- * Parses, sorts modifiers alphabetically, and reconstructs.
10
+ * Modifiers are sorted alphabetically; `mod` is already platform-resolved.
11
11
  */
12
- export declare function normalizeShortcutString(keys: string): string;
12
+ export declare function normalizeShortcutString(shortcutStr: string): string;
13
13
  //# sourceMappingURL=parse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/parse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,SAAS,CAAC;AAmC7D;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAmBhE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAkB5D"}
1
+ {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/parse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAY,cAAc,EAAiB,MAAM,SAAS,CAAC;AA8CvE;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,cAAc,CAYvE;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAQnE"}
@@ -1,62 +1,48 @@
1
1
  import { KEY_ALIASES } from "./constants.js";
2
- function normalizeToken(token) {
3
- const lower = token.trim().toLowerCase();
4
- return KEY_ALIASES[lower] ?? lower;
2
+ import { isMac } from "./platform.js";
3
+ const MODIFIER_SET = /* @__PURE__ */ new Set(["ctrl", "meta", "alt", "shift", "mod"]);
4
+ function resolveModifier(mod) {
5
+ if (mod === "mod") return isMac ? "meta" : "ctrl";
6
+ return mod;
5
7
  }
6
- function parseComboPart(part) {
7
- const tokens = part.split("+").map((t) => t.trim().toLowerCase()).filter(Boolean);
8
- const modifiers = {
9
- ctrl: false,
10
- meta: false,
11
- alt: false,
12
- shift: false,
13
- mod: false
14
- };
8
+ function canonicalModifierToken(token) {
9
+ if (token === "control") return "ctrl";
10
+ if (token === "cmd" || token === "command") return "meta";
11
+ if (token === "option") return "alt";
12
+ if (MODIFIER_SET.has(token)) return token;
13
+ return null;
14
+ }
15
+ function parseCombo(comboStr) {
16
+ const parts = comboStr.toLowerCase().split("+").map((p) => p.trim()).filter(Boolean);
17
+ const modifiers = /* @__PURE__ */ new Set();
15
18
  let key = "";
16
- for (const token of tokens) {
17
- if (token === "mod") modifiers.mod = true;
18
- else if (token === "ctrl" || token === "control") modifiers.ctrl = true;
19
- else if (token === "meta" || token === "cmd" || token === "command") modifiers.meta = true;
20
- else if (token === "alt" || token === "option") modifiers.alt = true;
21
- else if (token === "shift") modifiers.shift = true;
22
- else key = normalizeToken(token);
19
+ for (const part of parts) {
20
+ const modToken = canonicalModifierToken(part);
21
+ if (modToken !== null) {
22
+ modifiers.add(resolveModifier(modToken));
23
+ } else {
24
+ key = KEY_ALIASES[part] ?? part;
25
+ }
23
26
  }
24
27
  return { modifiers, key };
25
28
  }
26
- function parseShortcutString(keys) {
27
- const trimmed = keys.trim();
28
- if (trimmed.includes(" ") && !trimmed.includes("+")) {
29
- const parts = trimmed.split(/\s+/).filter(Boolean);
30
- return {
31
- type: "sequence",
32
- steps: parts.map((p) => parseComboPart(p))
33
- };
34
- }
35
- if (/\s+\S/.test(trimmed) && trimmed.includes("+")) {
36
- const parts = trimmed.split(/\s+/).filter(Boolean);
37
- return {
38
- type: "sequence",
39
- steps: parts.map((p) => parseComboPart(p))
40
- };
29
+ function parseShortcutString(shortcutStr) {
30
+ const trimmed = shortcutStr.trim();
31
+ const parts = trimmed.split(/\s+/).filter(Boolean);
32
+ if (parts.length <= 1) {
33
+ return { isSequence: false, combos: [parseCombo(parts[0] ?? "")] };
41
34
  }
42
- return { type: "chord", combo: parseComboPart(trimmed) };
35
+ return {
36
+ isSequence: true,
37
+ combos: parts.map(parseCombo)
38
+ };
43
39
  }
44
- function normalizeShortcutString(keys) {
45
- const parsed = parseShortcutString(keys);
46
- function normCombo(combo) {
47
- const mods = [];
48
- if (combo.modifiers.mod) mods.push("mod");
49
- if (combo.modifiers.ctrl) mods.push("ctrl");
50
- if (combo.modifiers.meta) mods.push("meta");
51
- if (combo.modifiers.alt) mods.push("alt");
52
- if (combo.modifiers.shift) mods.push("shift");
53
- mods.sort();
40
+ function normalizeShortcutString(shortcutStr) {
41
+ const parsed = parseShortcutString(shortcutStr);
42
+ return parsed.combos.map((combo) => {
43
+ const mods = [...combo.modifiers].sort();
54
44
  return mods.length > 0 ? [...mods, combo.key].join("+") : combo.key;
55
- }
56
- if (parsed.type === "sequence") {
57
- return parsed.steps.map(normCombo).join(" ");
58
- }
59
- return normCombo(parsed.combo);
45
+ }).join(" ");
60
46
  }
61
47
  export {
62
48
  normalizeShortcutString,
@@ -1,22 +1,23 @@
1
+ /** Platform modifier after `mod` is resolved at parse time. */
2
+ export type Modifier = 'ctrl' | 'meta' | 'alt' | 'shift';
3
+ /**
4
+ * A single key combination (e.g. Mod+Shift+K).
5
+ * JS-compatible: `modifiers` is a Set (no unresolved `mod` token).
6
+ */
1
7
  export interface ShortcutCombo {
2
- modifiers: {
3
- ctrl: boolean;
4
- meta: boolean;
5
- alt: boolean;
6
- shift: boolean;
7
- mod: boolean;
8
- };
8
+ modifiers: Set<Modifier>;
9
+ /** Normalized lowercase key (e.g. 'k', 'enter', 'arrowup') */
9
10
  key: string;
10
11
  }
11
- export interface ShortcutSequence {
12
- type: 'sequence';
13
- steps: ShortcutCombo[];
12
+ /**
13
+ * Parsed shortcut — single combo or sequence of combos.
14
+ * JS-compatible shape used by consumers of the previous JS package.
15
+ */
16
+ export interface ParsedShortcut {
17
+ isSequence: boolean;
18
+ /** Single-element for simple chords; multi for sequences like `g i` */
19
+ combos: ShortcutCombo[];
14
20
  }
15
- export interface ShortcutChord {
16
- type: 'chord';
17
- combo: ShortcutCombo;
18
- }
19
- export type ParsedShortcut = ShortcutSequence | ShortcutChord;
20
21
  export interface ShortcutRegistration {
21
22
  id: string;
22
23
  keys: string;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE;QACT,IAAI,EAAE,OAAO,CAAC;QACd,IAAI,EAAE,OAAO,CAAC;QACd,GAAG,EAAE,OAAO,CAAC;QACb,KAAK,EAAE,OAAO,CAAC;QACf,GAAG,EAAE,OAAO,CAAC;KACd,CAAC;IACF,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB;AAED,MAAM,MAAM,cAAc,GAAG,gBAAgB,GAAG,aAAa,CAAC;AAE9D,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/types.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;AAEzD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;IACzB,8DAA8D;IAC9D,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,uEAAuE;IACvE,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-ui",
3
- "version": "4.0.13",
3
+ "version": "4.0.14-alpha.1",
4
4
  "description": "Impact Analytics UI library",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",