impact-ui 4.0.13 → 4.0.14-alpha.2
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.
- package/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts +2 -2
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +1 -1
- package/dist/components/AccordionModern/index.d.ts +1 -1
- package/dist/components/AccordionModern/index.d.ts.map +1 -1
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/index.d.ts +1 -1
- package/dist/components/Badge/filled/index.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/stroke/index.d.ts +1 -1
- package/dist/components/Badge/stroke/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/index.d.ts +1 -1
- package/dist/components/Badge/subtle/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/BottomSheet/index.d.ts +1 -1
- package/dist/components/BottomSheet/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/HomeIcon.d.ts +1 -1
- package/dist/components/Breadcrumbs/HomeIcon.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.d.ts +1 -1
- package/dist/components/ButtonGroup/index.d.ts.map +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
- package/dist/components/Chart/index.d.ts +2 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +1 -1
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.d.ts +1 -1
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
- package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/customScreen.d.ts +1 -1
- package/dist/components/Chatbot/customScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.d.ts +1 -1
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/index.d.ts +1 -1
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +8 -3
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Checkbox/WithDropDown.d.ts +1 -1
- package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
- package/dist/components/Checkbox/WithoutFormLabel.d.ts +1 -1
- package/dist/components/Checkbox/WithoutFormLabel.d.ts.map +1 -1
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsContext.d.ts +1 -1
- package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +2 -6
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +6 -1
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +2 -2
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +15 -32
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.d.ts +2 -15
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +60 -60
- package/dist/components/DatePicker/datePickerDropdown.d.ts +1 -1
- package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerFooter.d.ts +1 -1
- package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +3 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DynamicLayout/index.d.ts +1 -1
- package/dist/components/DynamicLayout/index.d.ts.map +1 -1
- package/dist/components/DynamicLayout/index.js +5 -9
- package/dist/components/EmptyState/EmptyStateImage.d.ts +1 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts +1 -1
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +1 -1
- package/dist/components/FilterPanel/PanelFooter.d.ts +1 -1
- package/dist/components/FilterPanel/PanelFooter.d.ts.map +1 -1
- package/dist/components/FilterPanel/PanelSidebar.d.ts +1 -1
- package/dist/components/FilterPanel/PanelSidebar.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.d.ts +1 -1
- package/dist/components/FilterPanel/index.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.d.ts +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterDropDown.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterSlider.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterSlider.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts.map +1 -1
- package/dist/components/FiltersStrip/index.d.ts +1 -1
- package/dist/components/FiltersStrip/index.d.ts.map +1 -1
- package/dist/components/Header/index.d.ts +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +2 -2
- package/dist/components/HomePage/index.d.ts +1 -1
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +6 -8
- package/dist/components/Input/HelperText.d.ts +1 -1
- package/dist/components/Input/HelperText.d.ts.map +1 -1
- package/dist/components/Input/InputWithIcon.d.ts +1 -1
- package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
- package/dist/components/Input/VanillaInput.d.ts +1 -1
- package/dist/components/Input/VanillaInput.d.ts.map +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +2 -2
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/index.js +38 -112
- package/dist/components/KeyboardShortCuts/screen2.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/screen3.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.d.ts +2 -1
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Loader/index.d.ts +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Menu/IconMenuItem.d.ts.map +1 -1
- package/dist/components/Menu/IconMenuItem.js +2 -1
- package/dist/components/Menu/MenuHeaderInfo.d.ts +2 -2
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +2 -2
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.d.ts +1 -1
- package/dist/components/MonthPicker/index.d.ts.map +1 -1
- package/dist/components/MonthRangePicker/index.d.ts +1 -1
- package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/index.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
- package/dist/components/Notification/index.d.ts +1 -1
- package/dist/components/Notification/index.d.ts.map +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/OnboardingTour/index.d.ts +61 -0
- package/dist/components/OnboardingTour/index.d.ts.map +1 -0
- package/dist/components/OnboardingTour/index.js +232 -0
- package/dist/components/OnboardingTour/productTourList.d.ts +39 -0
- package/dist/components/OnboardingTour/productTourList.d.ts.map +1 -0
- package/dist/components/OnboardingTour/productTourList.js +86 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts +45 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -0
- package/dist/components/OnboardingTour/tooltipCard.js +96 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts +29 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts.map +1 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.js +221 -0
- package/dist/components/Panel/index.d.ts +1 -1
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/Prompt/index.d.ts +1 -1
- package/dist/components/Prompt/index.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/index.d.ts +1 -1
- package/dist/components/RadioButtonGroup/index.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/index.js +1 -1
- package/dist/components/Select/customGroupHeading.d.ts +1 -1
- package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
- package/dist/components/Select/dropdown.d.ts +1 -1
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Select/menuList.d.ts +2 -1
- package/dist/components/Select/menuList.d.ts.map +1 -1
- package/dist/components/Select/optionList.d.ts +2 -1
- package/dist/components/Select/optionList.d.ts.map +1 -1
- package/dist/components/Select/selected-option-tags.d.ts +1 -1
- package/dist/components/Select/selected-option-tags.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutHint.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutScope.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -1
- package/dist/components/Sidebar/ChildMenu.d.ts +1 -1
- package/dist/components/Sidebar/ChildMenu.d.ts.map +1 -1
- package/dist/components/Sidebar/ParentMenu.d.ts +1 -1
- package/dist/components/Sidebar/ParentMenu.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarMenus.d.ts +1 -1
- package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.d.ts +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/AdvanceSortModal.d.ts +1 -1
- package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.d.ts +3 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +3 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/NoComments.d.ts +1 -1
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/actionBar.d.ts +1 -1
- package/dist/components/Table/actionBar.d.ts.map +1 -1
- package/dist/components/Table/advanceSearchModal.d.ts +1 -1
- package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Table/tableHeader.d.ts +1 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableIcons.d.ts +4 -2
- package/dist/components/Table/tableIcons.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.d.ts +1 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tablePagination.d.ts +1 -1
- package/dist/components/Table/tablePagination.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.d.ts +1 -1
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.d.ts +1 -1
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/TableChat/EmptyContainer.d.ts +2 -1
- package/dist/components/TableChat/EmptyContainer.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
- package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableOld/AgGridHeader.d.ts +3 -1
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableOld/actionBar.d.ts +1 -1
- package/dist/components/TableOld/actionBar.d.ts.map +1 -1
- package/dist/components/TableOld/index.js +1 -1
- package/dist/components/TableOld/tableHeader.d.ts +1 -1
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
- package/dist/components/TableOld/tableIcons.d.ts +4 -2
- package/dist/components/TableOld/tableIcons.d.ts.map +1 -1
- package/dist/components/TableOld/tablePagination.d.ts +1 -1
- package/dist/components/TableOld/tablePagination.d.ts.map +1 -1
- package/dist/components/TableOld/tableSettings.d.ts +1 -1
- package/dist/components/TableOld/tableSettings.d.ts.map +1 -1
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts +29 -0
- package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/TableV36/AdvanceSortModal.d.ts +10 -0
- package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -0
- package/dist/components/TableV36/AdvanceSortModal.js +297 -0
- package/dist/components/TableV36/AgGridHeader.d.ts +16 -0
- package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -0
- package/dist/components/TableV36/AgGridHeader.js +799 -0
- package/dist/components/TableV36/AgGridHeaderGroup.d.ts +3 -0
- package/dist/components/TableV36/AgGridHeaderGroup.d.ts.map +1 -0
- package/dist/components/TableV36/AgGridHeaderGroup.js +27 -0
- package/dist/components/TableV36/CellTooltip.d.ts +14 -0
- package/dist/components/TableV36/CellTooltip.d.ts.map +1 -0
- package/dist/components/TableV36/CellTooltip.js +11 -0
- package/dist/components/TableV36/CommentsPortal.d.ts +31 -0
- package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -0
- package/dist/components/TableV36/CommentsPortal.js +357 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +15 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.js +282 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +18 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -0
- package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +302 -0
- package/dist/components/TableV36/NoComments.d.ts +18 -0
- package/dist/components/TableV36/NoComments.d.ts.map +1 -0
- package/dist/components/TableV36/NoComments.js +236 -0
- package/dist/components/TableV36/Table.types.d.ts +97 -0
- package/dist/components/TableV36/Table.types.d.ts.map +1 -0
- package/dist/components/TableV36/actionBar.d.ts +9 -0
- package/dist/components/TableV36/actionBar.d.ts.map +1 -0
- package/dist/components/TableV36/actionBar.js +31 -0
- package/dist/components/TableV36/advanceSearchModal.d.ts +22 -0
- package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -0
- package/dist/components/TableV36/filterUtils.d.ts +133 -0
- package/dist/components/TableV36/filterUtils.d.ts.map +1 -0
- package/dist/components/TableV36/filterUtils.js +478 -0
- package/dist/components/TableV36/index.d.ts +3 -0
- package/dist/components/TableV36/index.d.ts.map +1 -0
- package/dist/components/TableV36/index.js +1670 -0
- package/dist/components/TableV36/mockData.d.ts +39 -0
- package/dist/components/TableV36/mockData.d.ts.map +1 -0
- package/dist/components/TableV36/tableFunctions.d.ts +61 -0
- package/dist/components/TableV36/tableFunctions.d.ts.map +1 -0
- package/dist/components/TableV36/tableFunctions.js +1876 -0
- package/dist/components/TableV36/tableHeader.d.ts +82 -0
- package/dist/components/TableV36/tableHeader.d.ts.map +1 -0
- package/dist/components/TableV36/tableHeader.js +396 -0
- package/dist/components/TableV36/tableIcons.d.ts +5 -0
- package/dist/components/TableV36/tableIcons.d.ts.map +1 -0
- package/dist/components/TableV36/tableMoreOptions.d.ts +54 -0
- package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -0
- package/dist/components/TableV36/tableMoreOptions.js +324 -0
- package/dist/components/TableV36/tablePagination.d.ts +9 -0
- package/dist/components/TableV36/tablePagination.d.ts.map +1 -0
- package/dist/components/TableV36/tablePagination.js +67 -0
- package/dist/components/TableV36/tableSettings.d.ts +43 -0
- package/dist/components/TableV36/tableSettings.d.ts.map +1 -0
- package/dist/components/TableV36/tableSettings.js +317 -0
- package/dist/components/TableV36/tableUtils.d.ts +11 -0
- package/dist/components/TableV36/tableUtils.d.ts.map +1 -0
- package/dist/components/TableV36/tableUtils.js +31 -0
- package/dist/components/TableV36/withCommentIcon.d.ts +13 -0
- package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -0
- package/dist/components/TableV36/withCommentIcon.js +125 -0
- package/dist/components/Tabs/TabPanel.d.ts +1 -1
- package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tag/filled.d.ts +1 -1
- package/dist/components/Tag/filled.d.ts.map +1 -1
- package/dist/components/Tag/solid.d.ts +1 -1
- package/dist/components/Tag/solid.d.ts.map +1 -1
- package/dist/components/Tag/stroke.d.ts +1 -1
- package/dist/components/Tag/stroke.d.ts.map +1 -1
- package/dist/components/TagGroup/index.d.ts +1 -1
- package/dist/components/TagGroup/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/common/HelperText/index.d.ts +1 -1
- package/dist/components/common/HelperText/index.d.ts.map +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/i18n/I18nContext.d.ts +1 -1
- package/dist/i18n/I18nContext.d.ts.map +1 -1
- package/dist/i18n/I18nContext.js +1 -0
- package/dist/locales/es-ES.json.d.ts +666 -0
- package/dist/locales/es-ES.json.js +599 -0
- package/dist/locales/index.d.ts.map +1 -1
- package/dist/locales/index.js +11 -3
- package/dist/mcp-component-registry.json +911 -32
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +258 -158
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +3 -3
- package/dist/node_modules/@mui/system/esm/createStyled.js +1 -1
- package/dist/node_modules/call-bind/index.js +3 -3
- package/dist/node_modules/es-abstract/2025/ToString.js +21 -0
- package/dist/node_modules/es-abstract-get/GetMethod.js +33 -0
- package/dist/node_modules/es-abstract-get/GetV.js +25 -0
- package/dist/node_modules/es-abstract-get/isPropertyKey.js +13 -0
- package/dist/node_modules/es-to-primitive/es2015.js +28 -28
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/lodash/lodash.js +14 -16
- package/dist/node_modules/moment/dist/locale/es.js +98 -0
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-dates/lib/theme/DefaultTheme.js +4 -4
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +3 -3
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +3 -3
- package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.js +1 -1
- package/dist/node_modules/react-with-styles/lib/ThemedStyleSheet.js +6 -6
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +5 -5
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +3 -3
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +4 -4
- package/dist/node_modules/string.prototype.trim/implementation.js +12 -4
- package/dist/stories/LocaleDictionaryCollapse.d.ts +1 -1
- package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
- package/dist/stories/i18nDemo.d.ts +1 -1
- package/dist/stories/i18nDemo.d.ts.map +1 -1
- package/dist/utils/shortcuts/ShortcutManager.d.ts.map +1 -1
- package/dist/utils/shortcuts/ShortcutManager.js +5 -6
- package/dist/utils/shortcuts/format.d.ts +1 -1
- package/dist/utils/shortcuts/format.d.ts.map +1 -1
- package/dist/utils/shortcuts/format.js +19 -17
- package/dist/utils/shortcuts/index.d.ts +1 -1
- package/dist/utils/shortcuts/index.d.ts.map +1 -1
- package/dist/utils/shortcuts/match.d.ts +4 -1
- package/dist/utils/shortcuts/match.d.ts.map +1 -1
- package/dist/utils/shortcuts/match.js +16 -33
- package/dist/utils/shortcuts/parse.d.ts +5 -5
- package/dist/utils/shortcuts/parse.d.ts.map +1 -1
- package/dist/utils/shortcuts/parse.js +36 -50
- package/dist/utils/shortcuts/types.d.ts +16 -15
- package/dist/utils/shortcuts/types.d.ts.map +1 -1
- package/package.json +7 -2
- /package/dist/_virtual/{react-is.development2.js → react-is2.development.js} +0 -0
- /package/dist/_virtual/{react-is.production.min2.js → react-is2.production.min.js} +0 -0
- /package/dist/_virtual/{react-is.development3.js → react-is3.development.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __require as requireRequireObjectCoercible } from "../es-object-atoms/RequireObjectCoercible.js";
|
|
2
|
-
import { __require as requireToString } from "../es-abstract/
|
|
2
|
+
import { __require as requireToString } from "../es-abstract/2025/ToString.js";
|
|
3
3
|
import { __require as requireCallBound } from "../call-bound/index.js";
|
|
4
|
+
import { __require as requireSafeRegexTest } from "../safe-regex-test/index.js";
|
|
4
5
|
var implementation;
|
|
5
6
|
var hasRequiredImplementation;
|
|
6
7
|
function requireImplementation() {
|
|
@@ -9,13 +10,20 @@ function requireImplementation() {
|
|
|
9
10
|
var RequireObjectCoercible = requireRequireObjectCoercible();
|
|
10
11
|
var ToString = requireToString();
|
|
11
12
|
var callBound = requireCallBound();
|
|
13
|
+
var safeRegexTester = requireSafeRegexTest();
|
|
12
14
|
var $replace = callBound("String.prototype.replace");
|
|
15
|
+
var $charAt = callBound("String.prototype.charAt");
|
|
16
|
+
var $slice = callBound("String.prototype.slice");
|
|
13
17
|
var mvsIsWS = /^\s$/.test("");
|
|
14
18
|
var leftWhitespace = mvsIsWS ? /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/ : /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/;
|
|
15
|
-
var
|
|
19
|
+
var isWhitespace = safeRegexTester(mvsIsWS ? /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]$/ : /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]$/);
|
|
16
20
|
implementation = function trim() {
|
|
17
|
-
var S = ToString(RequireObjectCoercible(this));
|
|
18
|
-
|
|
21
|
+
var S = $replace(ToString(RequireObjectCoercible(this)), leftWhitespace, "");
|
|
22
|
+
var end = S.length;
|
|
23
|
+
while (end > 0 && isWhitespace($charAt(S, end - 1))) {
|
|
24
|
+
end -= 1;
|
|
25
|
+
}
|
|
26
|
+
return $slice(S, 0, end);
|
|
19
27
|
};
|
|
20
28
|
return implementation;
|
|
21
29
|
}
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Collapsible viewer for the shipped locale JSON files.
|
|
3
3
|
* Used by i18n.mdx so the full dictionaries don't dominate the docs page.
|
|
4
4
|
*/
|
|
5
|
-
export declare function LocaleDictionaryCollapse(): import("react
|
|
5
|
+
export declare function LocaleDictionaryCollapse(): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=LocaleDictionaryCollapse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocaleDictionaryCollapse.d.ts","sourceRoot":"","sources":["../../src/stories/LocaleDictionaryCollapse.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LocaleDictionaryCollapse.d.ts","sourceRoot":"","sources":["../../src/stories/LocaleDictionaryCollapse.tsx"],"names":[],"mappings":"AAiCA;;;GAGG;AACH,wBAAgB,wBAAwB,gCAoBvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18nDemo.d.ts","sourceRoot":"","sources":["../../src/stories/i18nDemo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoBzC,eAAO,MAAM,QAAQ,GAAI,cAAc;IAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,SAAS,CAAC,GAAG,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"i18nDemo.d.ts","sourceRoot":"","sources":["../../src/stories/i18nDemo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoBzC,eAAO,MAAM,QAAQ,GAAI,cAAc;IAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,SAAS,CAAC,GAAG,SAAS,CAAA;CAAE,gCAG7F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShortcutManager.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/ShortcutManager.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ShortcutManager.d.ts","sourceRoot":"","sources":["../../../src/utils/shortcuts/ShortcutManager.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAkB,oBAAoB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAYrF,qBAAa,eAAe;IAC1B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAgC;IAEvD,OAAO,CAAC,aAAa,CAA2C;IAChE,OAAO,CAAC,YAAY,CAA+B;IACnD,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,eAAe,CAA4B;IACnD,OAAO,CAAC,gBAAgB,CAAkB;IAC1C,OAAO,CAAC,YAAY,CAAuC;IAE3D,OAAO;IAOP,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,eAAe;IAO5F,MAAM,CAAC,aAAa,IAAI,IAAI;IAK5B,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,aAAa,CA2CnB;IAEF,QAAQ,CAAC,YAAY,EAAE,oBAAoB,GAAG,IAAI;IAuBlD;;;OAGG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,GAAG,OAAO;IAe1D,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAS5B,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO;IAIjC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAO/B,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAYhC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIpC,eAAe,IAAI,eAAe,EAAE;IAUpC,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,CAAC,EAAE;IAWpE,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIhC,OAAO,IAAI,IAAI;IAWf,OAAO,CAAC,QAAQ;CAajB"}
|
|
@@ -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.
|
|
36
|
+
(e) => !e.parsed.isSequence && (e.allowInInput === true || !isInInput)
|
|
39
37
|
);
|
|
40
38
|
for (const entry of comboEntries) {
|
|
41
|
-
|
|
42
|
-
if (
|
|
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":"
|
|
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
|
|
22
|
-
const
|
|
23
|
-
|
|
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
|
-
|
|
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,
|
|
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,
|
|
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
|
-
/**
|
|
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":"
|
|
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
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
90
|
-
|
|
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
|
|
5
|
-
* `mod+k` →
|
|
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(
|
|
7
|
+
export declare function parseShortcutString(shortcutStr: string): ParsedShortcut;
|
|
8
8
|
/**
|
|
9
9
|
* Normalize shortcut string for blacklist / dedup / comparison.
|
|
10
|
-
*
|
|
10
|
+
* Modifiers are sorted alphabetically; `mod` is already platform-resolved.
|
|
11
11
|
*/
|
|
12
|
-
export declare function normalizeShortcutString(
|
|
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":"
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
else
|
|
21
|
-
|
|
22
|
-
|
|
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(
|
|
27
|
-
const trimmed =
|
|
28
|
-
|
|
29
|
-
|
|
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 {
|
|
35
|
+
return {
|
|
36
|
+
isSequence: true,
|
|
37
|
+
combos: parts.map(parseCombo)
|
|
38
|
+
};
|
|
43
39
|
}
|
|
44
|
-
function normalizeShortcutString(
|
|
45
|
-
const parsed = parseShortcutString(
|
|
46
|
-
|
|
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
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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,
|
|
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.
|
|
3
|
+
"version": "4.0.14-alpha.2",
|
|
4
4
|
"description": "Impact Analytics UI library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/components/index.js",
|
|
@@ -59,6 +59,11 @@
|
|
|
59
59
|
"preview": "vite preview",
|
|
60
60
|
"storybook": "storybook dev -p 6006",
|
|
61
61
|
"build:storybook": "storybook build",
|
|
62
|
+
"build:storybook:ag-grid-versions": "node ./scripts/build-storybook-multi-agversion.mjs",
|
|
63
|
+
"build:storybook:ag-grid-v27": "node ./scripts/build-storybook-multi-agversion.mjs v27",
|
|
64
|
+
"build:storybook:ag-grid-v32": "node ./scripts/build-storybook-multi-agversion.mjs v32",
|
|
65
|
+
"build:storybook:ag-grid-v36": "node ./scripts/build-storybook-multi-agversion.mjs v36",
|
|
66
|
+
"build:storybook:ag-grid-composed": "storybook build -o storybook-static --config-dir .storybook-composed",
|
|
62
67
|
"test:storybook": "vitest --project=storybook",
|
|
63
68
|
"test:storybook:run": "vitest run --project=storybook",
|
|
64
69
|
"test": "vitest --project=unit",
|
|
@@ -108,7 +113,7 @@
|
|
|
108
113
|
"@chromatic-com/storybook": "^5.0.1",
|
|
109
114
|
"@emotion/react": "^11.14.0",
|
|
110
115
|
"@emotion/styled": "^11.14.1",
|
|
111
|
-
"@impactsmartsuite/impact-icons": "^0.1.
|
|
116
|
+
"@impactsmartsuite/impact-icons": "^0.1.4",
|
|
112
117
|
"@mui/base": "^5.0.0-alpha.82",
|
|
113
118
|
"@mui/docs": "^5.8.0",
|
|
114
119
|
"@mui/envinfo": "^2.0.6",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|