impact-ui 4.0.0-alpha.2 → 4.0.0-alpha.21
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/MIGRATION_GUIDE.md +37 -7
- package/README.md +6 -6
- package/bin/migrate.js +5 -5
- package/codemods/transform.js +17 -23
- package/dist/_virtual/BookmarkBorderOutlined.js +4 -0
- package/dist/_virtual/ChevronLeftOutlined.js +4 -0
- package/dist/_virtual/CloseRounded.js +4 -0
- package/dist/_virtual/FilterAltOutlined.js +4 -0
- package/dist/_virtual/FilterListOutlined.js +4 -0
- package/dist/_virtual/KeyboardRounded.js +4 -0
- package/dist/_virtual/index.js +4 -2
- package/dist/_virtual/index10.js +3 -3
- package/dist/_virtual/index11.js +3 -3
- package/dist/_virtual/index12.js +3 -3
- package/dist/_virtual/index13.js +2 -4
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index2.js +2 -4
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/index4.js +4 -2
- package/dist/_virtual/index5.js +3 -3
- package/dist/_virtual/index6.js +2 -4
- package/dist/_virtual/index7.js +4 -2
- package/dist/_virtual/index8.js +3 -3
- package/dist/_virtual/index9.js +3 -3
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Accordion/index.js +45 -31
- package/dist/components/AccordionModern/SortableAccordionComp.js +3 -3
- package/dist/components/AccordionModern/index.js +2 -1
- package/dist/components/Alert/index.js +3 -2
- package/dist/components/Avatar/index.js +2 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/index.js +3 -2
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +2 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +2 -1
- package/dist/components/BottomSheet/index.js +2 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.js +10 -2
- package/dist/components/Button/Button.types.d.ts +4 -0
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +4 -1
- package/dist/components/ButtonGroup/ButtonGroup.types.d.ts +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.types.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/ButtonGroup/index.js +7 -2
- package/dist/components/Card/index.js +2 -1
- package/dist/components/Chart/Chart.types.d.ts +2 -2
- package/dist/components/Chart/index.d.ts +1 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +22 -14
- package/dist/components/Chatbot/Chatbot.types.d.ts +16 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.js +4 -3
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.js +8 -7
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +6 -5
- package/dist/components/Chatbot/constant.d.ts.map +1 -1
- package/dist/components/Chatbot/constant.js +6 -5
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.js +2 -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 +66 -9
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +3 -2
- package/dist/components/Checkbox/Checkbox.types.d.ts +2 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/components/Checkbox/Default.d.ts +1 -1
- package/dist/components/Checkbox/Default.d.ts.map +1 -1
- package/dist/components/Checkbox/Default.js +4 -0
- package/dist/components/Checkbox/index.js +2 -1
- package/dist/components/Chips/index.js +2 -1
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +4 -2
- package/dist/components/DatePicker/datePickerDropdown.js +2 -1
- package/dist/components/DatePicker/datePickerInput.d.ts +2 -0
- package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerInput.js +4 -0
- package/dist/components/DatePicker/index.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +7 -2
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.js +31 -0
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +4 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +20 -5
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +4 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.js +18 -4
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +31 -5
- package/dist/components/DynamicLayout/index.js +2 -1
- package/dist/components/EmptyState/EmptyState.types.d.ts +2 -2
- package/dist/components/EmptyState/EmptyStateImage.d.ts +0 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyStateImage.js +19 -37
- package/dist/components/EmptyState/index.d.ts +1 -2
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/EmptyState/index.js +35 -21
- package/dist/components/FileUpload/FileUpload.types.d.ts +10 -2
- package/dist/components/FileUpload/FileUpload.types.d.ts.map +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts +9 -0
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -0
- package/dist/components/FileUpload/TemplatePreview.js +31 -0
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +1 -3
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
- package/dist/components/FileUpload/fileUploadAssets.loader.js +17 -48
- package/dist/components/FileUpload/fileUploadUtils.d.ts +4 -0
- package/dist/components/FileUpload/fileUploadUtils.d.ts.map +1 -0
- package/dist/components/FileUpload/fileUploadUtils.js +14 -0
- 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 +115 -10
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts +14 -0
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts.map +1 -0
- package/dist/components/FileUpload/useFileUploadTemplateState.js +46 -0
- package/dist/components/FilterPanel/index.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.js +34 -1
- package/dist/components/FiltersStrip/FiltersStrip.types.d.ts +2 -2
- package/dist/components/FiltersStrip/index.d.ts +1 -1
- package/dist/components/FiltersStrip/index.d.ts.map +1 -1
- package/dist/components/FiltersStrip/index.js +10 -3
- package/dist/components/Header/Header.types.d.ts +2 -2
- 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 +148 -135
- package/dist/components/HomePage/constants.d.ts.map +1 -1
- package/dist/components/HomePage/constants.js +67 -66
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +66 -10
- package/dist/components/Input/InputWithIcon.d.ts +1 -1
- package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
- package/dist/components/Input/InputWithIcon.js +20 -2
- package/dist/components/Input/VanillaInput.d.ts +1 -1
- package/dist/components/Input/VanillaInput.d.ts.map +1 -1
- package/dist/components/Input/VanillaInput.js +20 -2
- package/dist/components/Input/index.js +2 -1
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +12 -0
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/Keycombo.js +20 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +69 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +167 -0
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +3 -0
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts +6 -0
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/allSetBox.js +32 -0
- package/dist/components/KeyboardShortCuts/index.d.ts +14 -0
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/index.js +187 -0
- package/dist/components/KeyboardShortCuts/screen2.d.ts +4 -0
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/screen2.js +19 -0
- package/dist/components/KeyboardShortCuts/screen3.d.ts +4 -0
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/screen3.js +19 -0
- package/dist/components/KeyboardShortCuts/tutorial.d.ts +7 -0
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -0
- package/dist/components/KeyboardShortCuts/tutorial.js +161 -0
- package/dist/components/Loader/Loader.types.d.ts +2 -2
- package/dist/components/Loader/index.d.ts +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +57 -37
- package/dist/components/Menu/IconMenuItem.js +2 -1
- package/dist/components/Menu/Menu.types.d.ts +3 -1
- package/dist/components/Menu/Menu.types.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +4 -2
- package/dist/components/Menu/NestedMenuItem.js +2 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +8 -4
- package/dist/components/Menu/nestedMenuItemsFromObject.js +2 -1
- package/dist/components/Modal/index.js +2 -1
- package/dist/components/MonthPicker/DefaultYearSelect.js +10 -0
- package/dist/components/MonthPicker/constants.js +4 -0
- package/dist/components/MonthPicker/index.js +324 -0
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts +30 -0
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/constants.d.ts +2 -0
- package/dist/components/MonthRangePicker/constants.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/constants.js +4 -0
- package/dist/components/MonthRangePicker/index.d.ts +22 -0
- package/dist/components/MonthRangePicker/index.d.ts.map +1 -0
- package/dist/components/MonthRangePicker/index.js +613 -0
- package/dist/components/Notification/Notification.types.d.ts +35 -5
- package/dist/components/Notification/Notification.types.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +21 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +49 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +30 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +212 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +14 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +299 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +9 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +71 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +43 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -0
- package/dist/components/Notification/NotificationBody/NotificationTaskList.js +245 -0
- package/dist/components/Notification/NotificationBody/index.d.ts +2 -3
- package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/index.js +21 -11
- package/dist/components/Notification/index.js +2 -1
- package/dist/components/Notification/mockData.d.ts +14 -0
- package/dist/components/Notification/mockData.d.ts.map +1 -0
- package/dist/components/Panel/index.js +2 -1
- package/dist/components/Popover/index.js +2 -1
- package/dist/components/Portal/index.d.ts +1 -1
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.js +2 -1
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +2 -2
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +31 -14
- package/dist/components/Prompt/index.js +2 -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 +11 -2
- package/dist/components/Select/SearchFilter.d.ts.map +1 -1
- package/dist/components/Select/SearchFilter.js +140 -28
- package/dist/components/Select/Select.types.d.ts +46 -1
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/customGroupHeading.js +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/dropdown.js +3 -2
- package/dist/components/Select/hooks/index.d.ts +3 -0
- package/dist/components/Select/hooks/index.d.ts.map +1 -1
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts +22 -0
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/components/Select/hooks/useKeyboardNavigation.js +160 -0
- package/dist/components/Select/hooks/useScrollIntoView.d.ts +11 -0
- package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +1 -0
- package/dist/components/Select/hooks/useScrollIntoView.js +28 -0
- package/dist/components/Select/hooks/useTypeahead.d.ts +11 -0
- package/dist/components/Select/hooks/useTypeahead.d.ts.map +1 -0
- package/dist/components/Select/hooks/useTypeahead.js +41 -0
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +529 -151
- package/dist/components/Select/menuList.d.ts +2 -7
- package/dist/components/Select/menuList.d.ts.map +1 -1
- package/dist/components/Select/menuList.js +70 -18
- package/dist/components/Select/optionList.js +1 -1
- package/dist/components/Select/utils.d.ts +2 -2
- package/dist/components/Select/utils.d.ts.map +1 -1
- package/dist/components/Select/utils.js +3 -32
- package/dist/components/Shortcuts/ShortcutContext.d.ts +3 -0
- package/dist/components/Shortcuts/ShortcutContext.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutContext.js +5 -0
- package/dist/components/Shortcuts/ShortcutHint.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutHint.js +33 -0
- package/dist/components/Shortcuts/ShortcutScope.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutScope.js +10 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts +7 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutsConfigContext.js +8 -0
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts +9 -0
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -0
- package/dist/components/Shortcuts/ShortcutsProvider.js +18 -0
- package/dist/components/Shortcuts/index.d.ts +13 -0
- package/dist/components/Shortcuts/index.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcut.d.ts +6 -0
- package/dist/components/Shortcuts/useShortcut.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcut.js +92 -0
- package/dist/components/Shortcuts/useShortcutScope.d.ts +5 -0
- package/dist/components/Shortcuts/useShortcutScope.d.ts.map +1 -0
- package/dist/components/Shortcuts/useShortcutScope.js +25 -0
- package/dist/components/Sidebar/ChildMenu.js +1 -1
- package/dist/components/Sidebar/ParentMenu.js +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.js +2 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.js +64 -5
- 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 +4 -2
- package/dist/components/Stepper/index.js +2 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js +8 -3
- package/dist/components/Table/AdvanceSortModal.d.ts +8 -0
- package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -0
- package/dist/components/Table/AdvanceSortModal.js +285 -0
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +98 -65
- package/dist/components/Table/CommentsPortal.d.ts +1 -3
- package/dist/components/Table/CommentsPortal.d.ts.map +1 -1
- package/dist/components/Table/CommentsPortal.js +7 -7
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +14 -11
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +2 -7
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +11 -10
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +4 -3
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/NoComments.js +3 -1
- package/dist/components/Table/Table.types.d.ts +13 -0
- package/dist/components/Table/Table.types.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.d.ts +1 -2
- package/dist/components/Table/TableImpl.d.ts.map +1 -1
- package/dist/components/Table/TableImpl.js +334 -141
- package/dist/components/Table/actionBar.d.ts +12 -0
- package/dist/components/Table/actionBar.d.ts.map +1 -0
- package/dist/components/Table/actionBar.js +44 -0
- package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.d.ts +2 -1
- package/dist/components/Table/commentPanel.d.ts.map +1 -1
- package/dist/components/Table/commentPanel.js +13 -8
- package/dist/components/Table/filterUtils.d.ts +2 -0
- package/dist/components/Table/filterUtils.d.ts.map +1 -1
- package/dist/components/Table/filterUtils.js +23 -1
- package/dist/components/Table/tableFunctions.d.ts +1 -3
- package/dist/components/Table/tableFunctions.d.ts.map +1 -1
- package/dist/components/Table/tableFunctions.js +13 -12
- package/dist/components/Table/tableHeader.d.ts +6 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableHeader.js +13 -3
- package/dist/components/Table/tableMoreOptions.d.ts +3 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.js +29 -2
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.js +1 -1
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.js +2 -1
- package/dist/components/TableChat/EmptyContainer.js +2 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +6 -3
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +2 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +15 -16
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +3 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +4 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +14 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType /ChatEditedMessageType.js +5 -4
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -2
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +7 -6
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +2 -0
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +18 -14
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +7 -3
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.js +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +10 -21
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +4 -6
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +2 -1
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +12 -10
- package/dist/components/TableChat/components/TextEditor/MentionList.js +2 -1
- package/dist/components/TableChat/components/TextEditor/suggestion.js +2 -2
- package/dist/components/TableOld/AgGridHeader.d.ts +12 -0
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -0
- package/dist/components/TableOld/actionBar.d.ts +7 -0
- package/dist/components/TableOld/actionBar.d.ts.map +1 -0
- package/dist/components/TableOld/index.d.ts +3 -0
- package/dist/components/TableOld/index.d.ts.map +1 -0
- package/dist/components/TableOld/mockData.d.ts +39 -0
- package/dist/components/TableOld/mockData.d.ts.map +1 -0
- package/dist/components/TableOld/tableFunctions.d.ts +56 -0
- package/dist/components/TableOld/tableFunctions.d.ts.map +1 -0
- package/dist/components/TableOld/tableHeader.d.ts +48 -0
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -0
- package/dist/components/TableOld/tableIcons.d.ts +3 -0
- package/dist/components/TableOld/tableIcons.d.ts.map +1 -0
- package/dist/components/TableOld/tablePagination.d.ts +8 -0
- package/dist/components/TableOld/tablePagination.d.ts.map +1 -0
- package/dist/components/TableOld/tableSettings.d.ts +11 -0
- package/dist/components/TableOld/tableSettings.d.ts.map +1 -0
- package/dist/components/Tabs/index.js +2 -1
- package/dist/components/Tag/Tag.types.d.ts +4 -0
- package/dist/components/Tag/Tag.types.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/filled.js +18 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +30 -28
- package/dist/components/Tag/solid.d.ts +1 -1
- package/dist/components/Tag/solid.d.ts.map +1 -1
- package/dist/components/Tag/solid.js +9 -1
- package/dist/components/Tag/stroke.d.ts +1 -1
- package/dist/components/Tag/stroke.d.ts.map +1 -1
- package/dist/components/Tag/stroke.js +9 -1
- package/dist/components/TagGroup/TagGroup.types.d.ts +2 -2
- package/dist/components/TagGroup/index.d.ts +1 -1
- package/dist/components/TagGroup/index.d.ts.map +1 -1
- package/dist/components/TagGroup/index.js +12 -2
- 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 +28 -39
- package/dist/components/Toast/index.js +2 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js +5 -4
- package/dist/components/YearSelect/index.js +83 -0
- package/dist/components/common/HelperText/HelperText.types.d.ts +2 -2
- 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/HelperText/index.js +12 -2
- package/dist/components/index.d.ts +11 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +37 -4
- package/dist/mcp-component-registry.json +3870 -0
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +1 -0
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +2 -1
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +1 -1
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +1 -0
- package/dist/node_modules/@mui/icons-material/Add.js +2 -2
- package/dist/node_modules/@mui/icons-material/AttachFile.js +2 -2
- package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +2 -2
- package/dist/node_modules/@mui/icons-material/Block.js +2 -2
- package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/Brush.js +2 -2
- package/dist/node_modules/@mui/icons-material/Cancel.js +2 -2
- package/dist/node_modules/@mui/icons-material/CheckCircle.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronLeft.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/ChevronRight.js +2 -2
- package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Clear.js +2 -2
- package/dist/node_modules/@mui/icons-material/Close.js +2 -2
- package/dist/node_modules/@mui/icons-material/CloseOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/CloseRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/DragIndicator.js +2 -2
- package/dist/node_modules/@mui/icons-material/ErrorOutline.js +2 -2
- package/dist/node_modules/@mui/icons-material/ExpandLess.js +2 -2
- package/dist/node_modules/@mui/icons-material/ExpandMore.js +2 -2
- package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/FilterList.js +2 -2
- package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +17 -0
- package/dist/node_modules/@mui/icons-material/FormatBold.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatItalic.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +2 -2
- package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +2 -2
- package/dist/node_modules/@mui/icons-material/Image.js +2 -2
- package/dist/node_modules/@mui/icons-material/Info.js +2 -2
- package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +2 -2
- package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +17 -0
- package/dist/node_modules/@mui/icons-material/Link.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks3.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks4.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks5.js +2 -2
- package/dist/node_modules/@mui/icons-material/Looks6.js +2 -2
- package/dist/node_modules/@mui/icons-material/LooksOne.js +2 -2
- package/dist/node_modules/@mui/icons-material/LooksTwo.js +2 -2
- package/dist/node_modules/@mui/icons-material/MoreHoriz.js +2 -2
- package/dist/node_modules/@mui/icons-material/MoreVert.js +2 -2
- package/dist/node_modules/@mui/icons-material/North.js +2 -2
- package/dist/node_modules/@mui/icons-material/NotificationsOff.js +2 -2
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Search.js +2 -2
- package/dist/node_modules/@mui/icons-material/SearchOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/StrikethroughS.js +2 -2
- package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Tune.js +2 -2
- package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +2 -2
- package/dist/node_modules/@mui/icons-material/Warning.js +2 -2
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +2 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +2 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +2 -2
- package/dist/node_modules/@mui/material/Alert/Alert.js +2 -2
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +2 -2
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +2 -2
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +2 -2
- package/dist/node_modules/@mui/material/Badge/Badge.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +2 -2
- package/dist/node_modules/@mui/material/Button/Button.js +2 -2
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +2 -2
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +2 -2
- package/dist/node_modules/@mui/material/Card/Card.js +2 -2
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +2 -2
- package/dist/node_modules/@mui/material/Chip/Chip.js +2 -2
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +2 -2
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +2 -2
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -0
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +2 -2
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +2 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +2 -2
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +2 -2
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +2 -2
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +2 -2
- package/dist/node_modules/@mui/material/Fade/Fade.js +2 -2
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +2 -2
- package/dist/node_modules/@mui/material/FilledInput/filledInputClasses.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +2 -2
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +2 -2
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +2 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +2 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js +2 -2
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +2 -2
- package/dist/node_modules/@mui/material/Input/Input.js +2 -2
- package/dist/node_modules/@mui/material/Input/inputClasses.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +2 -2
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +2 -2
- package/dist/node_modules/@mui/material/Link/Link.js +2 -2
- package/dist/node_modules/@mui/material/List/List.js +2 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +2 -2
- package/dist/node_modules/@mui/material/Menu/Menu.js +2 -2
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +2 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +2 -2
- package/dist/node_modules/@mui/material/Modal/Modal.js +2 -2
- package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js +2 -2
- package/dist/node_modules/@mui/material/Popover/Popover.js +2 -2
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +3 -3
- package/dist/node_modules/@mui/material/Popper/Popper.js +2 -2
- package/dist/node_modules/@mui/material/Radio/Radio.js +2 -2
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +2 -2
- package/dist/node_modules/@mui/material/Select/Select.js +2 -2
- package/dist/node_modules/@mui/material/Select/SelectInput.js +2 -2
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +2 -2
- package/dist/node_modules/@mui/material/Slide/Slide.js +2 -2
- package/dist/node_modules/@mui/material/Slider/Slider.js +2 -2
- package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +2 -2
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +2 -2
- package/dist/node_modules/@mui/material/Step/Step.js +2 -2
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +2 -2
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +2 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +2 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +2 -2
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +2 -2
- package/dist/node_modules/@mui/material/Switch/Switch.js +2 -2
- package/dist/node_modules/@mui/material/Tab/Tab.js +2 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +2 -2
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +2 -2
- package/dist/node_modules/@mui/material/Typography/Typography.js +2 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +2 -2
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/exactProp/exactProp.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +2 -2
- package/dist/node_modules/@mui/material/styles/createMixins.js +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTheme.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTransitions.js +2 -2
- package/dist/node_modules/@mui/material/styles/createTypography.js +2 -2
- package/dist/node_modules/@mui/material/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/utils/useSlot.js +2 -2
- package/dist/node_modules/@mui/system/colorManipulator.js +4 -4
- package/dist/node_modules/@mui/system/createStyled.js +11 -11
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +2 -0
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +2 -2
- package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -0
- package/dist/node_modules/@mui/system/esm/createBox.js +2 -2
- package/dist/node_modules/@mui/system/esm/createStyled.js +2 -2
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +2 -2
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +2 -2
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +2 -2
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/call-bind/index.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/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-dates/lib/initialize.js +2 -2
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +2 -2
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +2 -2
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +2 -2
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +4 -4
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +3 -3
- package/dist/storybook-utils/rootAttributes.d.ts +33 -0
- package/dist/storybook-utils/rootAttributes.d.ts.map +1 -0
- package/dist/storybook-utils.d.ts +2 -1
- package/dist/storybook-utils.d.ts.map +1 -1
- package/dist/styles/entry.d.ts +2 -0
- package/dist/styles/entry.d.ts.map +1 -0
- package/dist/styles/entry.js +1 -0
- package/dist/styles/style.css +1 -1
- package/dist/test-utils/itForwardsRootId.d.ts +15 -0
- package/dist/test-utils/itForwardsRootId.d.ts.map +1 -0
- package/dist/test-utils/rootAttributes.d.ts +22 -0
- package/dist/test-utils/rootAttributes.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/assetBase.d.ts +7 -0
- package/dist/utils/assetBase.d.ts.map +1 -0
- package/dist/utils/assetBase.js +14 -0
- package/dist/utils/debounce.d.ts +7 -2
- package/dist/utils/debounce.d.ts.map +1 -1
- package/dist/utils/debounce.js +8 -1
- package/dist/utils/pickRootDomAttributes.d.ts +18 -0
- package/dist/utils/pickRootDomAttributes.d.ts.map +1 -0
- package/dist/utils/shortcuts/ShortcutManager.d.ts +34 -0
- package/dist/utils/shortcuts/ShortcutManager.d.ts.map +1 -0
- package/dist/utils/shortcuts/ShortcutManager.js +159 -0
- package/dist/utils/shortcuts/constants.d.ts +10 -0
- package/dist/utils/shortcuts/constants.d.ts.map +1 -0
- package/dist/utils/shortcuts/constants.js +46 -0
- package/dist/utils/shortcuts/format.d.ts +3 -0
- package/dist/utils/shortcuts/format.d.ts.map +1 -0
- package/dist/utils/shortcuts/format.js +27 -0
- package/dist/utils/shortcuts/index.d.ts +8 -0
- package/dist/utils/shortcuts/index.d.ts.map +1 -0
- package/dist/utils/shortcuts/match.d.ts +9 -0
- package/dist/utils/shortcuts/match.d.ts.map +1 -0
- package/dist/utils/shortcuts/match.js +52 -0
- package/dist/utils/shortcuts/parse.d.ts +10 -0
- package/dist/utils/shortcuts/parse.d.ts.map +1 -0
- package/dist/utils/shortcuts/parse.js +50 -0
- package/dist/utils/shortcuts/platform.d.ts +2 -0
- package/dist/utils/shortcuts/platform.d.ts.map +1 -0
- package/dist/utils/shortcuts/platform.js +5 -0
- package/dist/utils/shortcuts/shortcuts.test.d.ts +2 -0
- package/dist/utils/shortcuts/shortcuts.test.d.ts.map +1 -0
- package/dist/utils/shortcuts/types.d.ts +50 -0
- package/dist/utils/shortcuts/types.d.ts.map +1 -0
- package/eslint-plugin/rules/no-barrel-import.js +21 -9
- package/package.json +21 -8
- package/dist/_virtual/extends.js +0 -6
- package/dist/_virtual/heatmap.js +0 -4
- package/dist/_virtual/highcharts-3d.js +0 -4
- package/dist/_virtual/highcharts-more.js +0 -4
- package/dist/_virtual/highcharts-react.min.js +0 -4
- package/dist/_virtual/highcharts.js +0 -4
- package/dist/_virtual/index17.js +0 -4
- package/dist/_virtual/interopRequireDefault.js +0 -4
- package/dist/_virtual/objectWithoutPropertiesLoose.js +0 -4
- package/dist/_virtual/stock.js +0 -4
- package/dist/_virtual/treemap.js +0 -4
- package/dist/_virtual/venn.js +0 -4
- package/dist/assets/Chart-dropdown.svg.js +0 -4
- package/dist/assets/CheckTickAll.svg.js +0 -4
- package/dist/assets/Collapse.svg.js +0 -4
- package/dist/assets/Comment.svg.js +0 -4
- package/dist/assets/Down.svg.js +0 -4
- package/dist/assets/IA_Logo.svg.js +0 -4
- package/dist/assets/MoreHorizontal.svg.js +0 -4
- package/dist/assets/Up.svg.js +0 -4
- package/dist/assets/active-notificationIcon.svg.js +0 -4
- package/dist/assets/activeModuleIcon.svg.js +0 -4
- package/dist/assets/bell.svg.js +0 -4
- package/dist/assets/bookmarkIcon.svg.js +0 -4
- package/dist/assets/calendar.svg.js +0 -4
- package/dist/assets/chat-home-icon.svg.js +0 -4
- package/dist/assets/chatBotMicIcon.svg.js +0 -4
- package/dist/assets/chatBotRefreshIcon.svg.js +0 -4
- package/dist/assets/chatBotSendIcon.svg.js +0 -4
- package/dist/assets/chatIcon.svg.js +0 -4
- package/dist/assets/chatbotBannerIcon.svg.js +0 -4
- package/dist/assets/chatbotStopIcon.svg.js +0 -4
- package/dist/assets/checkBlueIcon.svg.js +0 -4
- package/dist/assets/checkGreeIcon.svg.js +0 -4
- package/dist/assets/checkIcon.svg.js +0 -4
- package/dist/assets/clientLogos/Balsam.svg.js +0 -4
- package/dist/assets/clientLogos/Starboard.svg.js +0 -4
- package/dist/assets/clientLogos/figs.svg.js +0 -4
- package/dist/assets/close.svg.js +0 -4
- package/dist/assets/collapse-icon.svg.js +0 -4
- package/dist/assets/comment-indicator.svg.js +0 -4
- package/dist/assets/commentEmptyStateIcon.svg.js +0 -4
- package/dist/assets/createFlowImage.svg.js +0 -4
- package/dist/assets/csv-icon.svg.js +0 -4
- package/dist/assets/defaultViewIcon.svg.js +0 -4
- package/dist/assets/defaultViewIconActive.svg.js +0 -4
- package/dist/assets/delete-black.svg.js +0 -4
- package/dist/assets/deleteIcon.svg.js +0 -4
- package/dist/assets/deleteRedIcon.svg.js +0 -4
- package/dist/assets/downArrow.svg.js +0 -4
- package/dist/assets/edit-black.svg.js +0 -4
- package/dist/assets/editYellowIcon.svg.js +0 -4
- package/dist/assets/excel-icon.svg.js +0 -4
- package/dist/assets/expand-icon.svg.js +0 -4
- package/dist/assets/failed-csv-icon.svg.js +0 -4
- package/dist/assets/failed-excel-icon.svg.js +0 -4
- package/dist/assets/file-upload-error.svg.js +0 -4
- package/dist/assets/file-upload.svg.js +0 -4
- package/dist/assets/fileUploadDownloadIcon.svg.js +0 -4
- package/dist/assets/fileUploadRetryIcon.svg.js +0 -4
- package/dist/assets/hamburger-close.svg.js +0 -4
- package/dist/assets/help-icon.svg.js +0 -4
- package/dist/assets/historyIcon.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon1.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon2.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon3.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon4.svg.js +0 -4
- package/dist/assets/landingPageAssets/agenticIcons/starIcon5.svg.js +0 -4
- package/dist/assets/landingPageAssets/book-demo.svg.js +0 -4
- package/dist/assets/landingPageAssets/configuration_icon.svg.js +0 -4
- package/dist/assets/landingPageAssets/launch.svg.js +0 -4
- package/dist/assets/listIcon.svg.js +0 -4
- package/dist/assets/logout-icon.svg.js +0 -4
- package/dist/assets/material-symbols_sort.svg.js +0 -4
- package/dist/assets/message-icon-disabled.svg.js +0 -4
- package/dist/assets/message-icon.svg.js +0 -4
- package/dist/assets/newChatIcon.svg.js +0 -4
- package/dist/assets/no-filter-results.svg.js +0 -4
- package/dist/assets/notAllowedGreenIcon.svg.js +0 -4
- package/dist/assets/notification-dnd.svg.js +0 -4
- package/dist/assets/pageIcon.svg.js +0 -4
- package/dist/assets/pencilIcon.svg.js +0 -4
- package/dist/assets/pinedIcon.svg.js +0 -4
- package/dist/assets/pinnedIcon.svg.js +0 -4
- package/dist/assets/saveViewDeleteIcon.svg.js +0 -4
- package/dist/assets/saveViewEditIcon.svg.js +0 -4
- package/dist/assets/saveViewIcon.svg.js +0 -4
- package/dist/assets/search.svg.js +0 -4
- package/dist/assets/searchIcon.svg.js +0 -4
- package/dist/assets/searchIconTable.svg.js +0 -4
- package/dist/assets/sendIcon.svg.js +0 -4
- package/dist/assets/smartBotAlan.svg.js +0 -4
- package/dist/assets/success-fill.svg.js +0 -4
- package/dist/assets/success-gray.svg.js +0 -4
- package/dist/assets/sun.png.js +0 -4
- package/dist/assets/tableSettingIcon.svg.js +0 -4
- package/dist/assets/tableSortIcon.svg.js +0 -4
- package/dist/assets/text-icon.svg.js +0 -4
- package/dist/assets/thumbsUpYellowIcon.svg.js +0 -4
- package/dist/assets/thumbsupBlueIcon.svg.js +0 -4
- package/dist/assets/treadChatIcon.svg.js +0 -4
- package/dist/assets/treedotIcon.svg.js +0 -4
- package/dist/assets/unpinedIcon.svg.js +0 -4
- package/dist/assets/upload-close-icon.svg.js +0 -4
- package/dist/assets/upload-pause-icon.svg.js +0 -4
- package/dist/assets/uploadDownloadIcon.svg.js +0 -4
- package/dist/assets/userPlusIcon1.svg.js +0 -4
- package/dist/assets/warningRedIcon.svg.js +0 -4
- package/dist/assets/webp/clientLogos/PACSUN.webp.js +0 -4
- package/dist/assets/webp/clientLogos/aaa.webp.js +0 -4
- package/dist/assets/webp/clientLogos/al-futtaim.webp.js +0 -4
- package/dist/assets/webp/clientLogos/arhaus.webp.js +0 -4
- package/dist/assets/webp/clientLogos/asley-stewart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/briscoe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/carters.webp.js +0 -4
- package/dist/assets/webp/clientLogos/cb.webp.js +0 -4
- package/dist/assets/webp/clientLogos/coach.webp.js +0 -4
- package/dist/assets/webp/clientLogos/dollargeneral.webp.js +0 -4
- package/dist/assets/webp/clientLogos/fossil.webp.js +0 -4
- package/dist/assets/webp/clientLogos/jared.webp.js +0 -4
- package/dist/assets/webp/clientLogos/katespade.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kay.webp.js +0 -4
- package/dist/assets/webp/clientLogos/kik.webp.js +0 -4
- package/dist/assets/webp/clientLogos/leslies.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lovisa_1.webp.js +0 -4
- package/dist/assets/webp/clientLogos/lsco_logo_red.webp.js +0 -4
- package/dist/assets/webp/clientLogos/m-s.webp.js +0 -4
- package/dist/assets/webp/clientLogos/oshkosh.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pantagonia.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pink.webp.js +0 -4
- package/dist/assets/webp/clientLogos/pitta-roso.webp.js +0 -4
- package/dist/assets/webp/clientLogos/psp.webp.js +0 -4
- package/dist/assets/webp/clientLogos/ralphlauren.webp.js +0 -4
- package/dist/assets/webp/clientLogos/rebel.webp.js +0 -4
- package/dist/assets/webp/clientLogos/scarpe.webp.js +0 -4
- package/dist/assets/webp/clientLogos/signet.webp.js +0 -4
- package/dist/assets/webp/clientLogos/so5.webp.js +0 -4
- package/dist/assets/webp/clientLogos/spanx.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stevemadden.webp.js +0 -4
- package/dist/assets/webp/clientLogos/stuart.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tillys.webp.js +0 -4
- package/dist/assets/webp/clientLogos/tommy-bahama.webp.js +0 -4
- package/dist/assets/webp/clientLogos/vs.webp.js +0 -4
- package/dist/assets/webp/clientLogos/zales.webp.js +0 -4
- package/dist/assets/webp/emptyState1.webp.js +0 -4
- package/dist/assets/webp/emptyState2.webp.js +0 -4
- package/dist/assets/webp/emptyState3.webp.js +0 -4
- package/dist/assets/webp/emptyState4.webp.js +0 -4
- package/dist/assets/webp/emptyState5.webp.js +0 -4
- package/dist/assets/webp/emptyState6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/1.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/10.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/11.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/12.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/13.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/14.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/15.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/17.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/19.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/2.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/20.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/21.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/22.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/23.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/24.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/3.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/4.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/5.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/6.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/7.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/agenticIcons/8.webp.js +0 -4
- package/dist/assets/webp/landingPageAssets/carouselImages/image-2.webp.js +0 -4
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -17
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
- package/dist/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -24
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -6
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -13
- package/dist/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -22
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.js +0 -59
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.js +0 -3405
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +0 -418
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +0 -301
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -257
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -122
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -34
- package/dist/node_modules/@popperjs/core/lib/createPopper.js +0 -149
- package/dist/node_modules/@popperjs/core/lib/dom-utils/contains.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js +0 -38
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getClippingRect.js +0 -61
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getCompositeRect.js +0 -53
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getComputedStyle.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentElement.js +0 -10
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getDocumentRect.js +0 -27
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getHTMLElementScroll.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getLayoutRect.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeName.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getNodeScroll.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getOffsetParent.js +0 -51
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getParentNode.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getScrollParent.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getViewportRect.js +0 -31
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindow.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScroll.js +0 -13
- package/dist/node_modules/@popperjs/core/lib/dom-utils/getWindowScrollBarX.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/dom-utils/instanceOf.js +0 -21
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isLayoutViewport.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isScrollParent.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/dom-utils/isTableElement.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/dom-utils/listScrollParents.js +0 -22
- package/dist/node_modules/@popperjs/core/lib/enums.js +0 -54
- package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles.js +0 -71
- package/dist/node_modules/@popperjs/core/lib/modifiers/arrow.js +0 -72
- package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +0 -131
- package/dist/node_modules/@popperjs/core/lib/modifiers/eventListeners.js +0 -40
- package/dist/node_modules/@popperjs/core/lib/modifiers/flip.js +0 -113
- package/dist/node_modules/@popperjs/core/lib/modifiers/hide.js +0 -57
- package/dist/node_modules/@popperjs/core/lib/modifiers/offset.js +0 -43
- package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets.js +0 -19
- package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow.js +0 -105
- package/dist/node_modules/@popperjs/core/lib/popper.js +0 -28
- package/dist/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -35
- package/dist/node_modules/@popperjs/core/lib/utils/computeOffsets.js +0 -59
- package/dist/node_modules/@popperjs/core/lib/utils/debounce.js +0 -17
- package/dist/node_modules/@popperjs/core/lib/utils/detectOverflow.js +0 -47
- package/dist/node_modules/@popperjs/core/lib/utils/expandToHashMap.js +0 -9
- package/dist/node_modules/@popperjs/core/lib/utils/getAltAxis.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getBasePlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getFreshSideObject.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/getMainAxisFromPlacement.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositePlacement.js +0 -14
- package/dist/node_modules/@popperjs/core/lib/utils/getOppositeVariationPlacement.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/getVariation.js +0 -6
- package/dist/node_modules/@popperjs/core/lib/utils/math.js +0 -8
- package/dist/node_modules/@popperjs/core/lib/utils/mergeByName.js +0 -16
- package/dist/node_modules/@popperjs/core/lib/utils/mergePaddingObject.js +0 -7
- package/dist/node_modules/@popperjs/core/lib/utils/orderModifiers.js +0 -39
- package/dist/node_modules/@popperjs/core/lib/utils/rectToClientRect.js +0 -11
- package/dist/node_modules/@popperjs/core/lib/utils/userAgent.js +0 -12
- package/dist/node_modules/@popperjs/core/lib/utils/within.js +0 -12
- package/dist/node_modules/@remix-run/router/dist/router.js +0 -400
- package/dist/node_modules/@tiptap/core/dist/index.js +0 -4252
- package/dist/node_modules/@tiptap/extension-blockquote/dist/index.js +0 -52
- package/dist/node_modules/@tiptap/extension-bold/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-bullet-list/dist/index.js +0 -68
- package/dist/node_modules/@tiptap/extension-code/dist/index.js +0 -62
- package/dist/node_modules/@tiptap/extension-code-block/dist/index.js +0 -196
- package/dist/node_modules/@tiptap/extension-document/dist/index.js +0 -10
- package/dist/node_modules/@tiptap/extension-dropcursor/dist/index.js +0 -21
- package/dist/node_modules/@tiptap/extension-gapcursor/dist/index.js +0 -25
- package/dist/node_modules/@tiptap/extension-hard-break/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-heading/dist/index.js +0 -71
- package/dist/node_modules/@tiptap/extension-highlight/dist/index.js +0 -82
- package/dist/node_modules/@tiptap/extension-history/dist/index.js +0 -40
- package/dist/node_modules/@tiptap/extension-horizontal-rule/dist/index.js +0 -79
- package/dist/node_modules/@tiptap/extension-image/dist/index.js +0 -69
- package/dist/node_modules/@tiptap/extension-italic/dist/index.js +0 -85
- package/dist/node_modules/@tiptap/extension-link/dist/index.js +0 -360
- package/dist/node_modules/@tiptap/extension-list-item/dist/index.js +0 -34
- package/dist/node_modules/@tiptap/extension-mention/dist/index.js +0 -213
- package/dist/node_modules/@tiptap/extension-ordered-list/dist/index.js +0 -86
- package/dist/node_modules/@tiptap/extension-paragraph/dist/index.js +0 -36
- package/dist/node_modules/@tiptap/extension-placeholder/dist/index.js +0 -60
- package/dist/node_modules/@tiptap/extension-strike/dist/index.js +0 -72
- package/dist/node_modules/@tiptap/extension-text/dist/index.js +0 -9
- package/dist/node_modules/@tiptap/react/dist/index.js +0 -1077
- package/dist/node_modules/@tiptap/starter-kit/dist/index.js +0 -84
- package/dist/node_modules/@tiptap/suggestion/dist/index.js +0 -224
- package/dist/node_modules/dompurify/dist/purify.es.js +0 -1012
- package/dist/node_modules/emoji-picker-react/dist/emoji-picker-react.esm.js +0 -25708
- package/dist/node_modules/flairup/dist/esm/index.js +0 -334
- package/dist/node_modules/highcharts/highcharts-3d.js +0 -768
- package/dist/node_modules/highcharts/highcharts-more.js +0 -1814
- package/dist/node_modules/highcharts/highcharts.js +0 -5153
- package/dist/node_modules/highcharts/modules/heatmap.js +0 -416
- package/dist/node_modules/highcharts/modules/stock.js +0 -2095
- package/dist/node_modules/highcharts/modules/treemap.js +0 -558
- package/dist/node_modules/highcharts/modules/venn.js +0 -434
- package/dist/node_modules/highcharts-border-radius/index.js +0 -92
- package/dist/node_modules/highcharts-react-official/dist/highcharts-react.min.js +0 -106
- package/dist/node_modules/linkifyjs/dist/linkify.js +0 -1158
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +0 -52
- package/dist/node_modules/orderedmap/dist/index.js +0 -119
- package/dist/node_modules/prosemirror-commands/dist/index.js +0 -526
- package/dist/node_modules/prosemirror-dropcursor/dist/index.js +0 -136
- package/dist/node_modules/prosemirror-gapcursor/dist/index.js +0 -220
- package/dist/node_modules/prosemirror-history/dist/index.js +0 -356
- package/dist/node_modules/prosemirror-keymap/dist/index.js +0 -83
- package/dist/node_modules/prosemirror-model/dist/index.js +0 -3208
- package/dist/node_modules/prosemirror-schema-list/dist/index.js +0 -130
- package/dist/node_modules/prosemirror-state/dist/index.js +0 -935
- package/dist/node_modules/prosemirror-transform/dist/index.js +0 -1861
- package/dist/node_modules/prosemirror-view/dist/index.js +0 -5223
- package/dist/node_modules/react-hook-form/dist/index.esm.js +0 -2089
- package/dist/node_modules/react-router/dist/index.js +0 -375
- package/dist/node_modules/react-router-dom/dist/index.js +0 -521
- package/dist/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2317
- package/dist/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1071
- package/dist/node_modules/react-select/dist/react-select.esm.js +0 -20
- package/dist/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -51
- package/dist/node_modules/react-textarea-autosize/dist/react-textarea-autosize.browser.esm.js +0 -213
- package/dist/node_modules/react-window/dist/index.esm.js +0 -505
- package/dist/node_modules/react-window/node_modules/memoize-one/dist/memoize-one.esm.js +0 -50
- package/dist/node_modules/rope-sequence/dist/index.js +0 -183
- package/dist/node_modules/tippy.js/dist/tippy.esm.js +0 -1283
- package/dist/node_modules/use-composed-ref/dist/use-composed-ref.esm.js +0 -25
- package/dist/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
- package/dist/node_modules/use-latest/dist/use-latest.esm.js +0 -12
- package/dist/node_modules/w3c-keyname/index.js +0 -105
- package/dist/stats.html +0 -4950
|
@@ -0,0 +1,613 @@
|
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.impact-portal-container{position:absolute;z-index:9999}.ia-select-container-v3-blanket{bottom:0;left:0;position:fixed;right:0;top:0;z-index:9998}.impact-monthRangePicker-main-container{display:flex;font-family:Manrope,sans-serif}.impact-monthRangePicker-main-container.label-flex-column{flex-direction:column}.impact-monthRangePicker-main-container.label-flex-column .monthRangePicker-label{margin-bottom:6px}.impact-monthRangePicker-main-container .monthRangePicker-label{color:#60697d;font-family:Manrope,sans-serif;font-size:12px;font-weight:500;line-height:16px}.impact-monthRangePicker-main-container .monthRangePicker-container{position:relative;width:282px}.impact-monthRangePicker-main-container .monthRangePicker-input-container{box-sizing:border-box;display:flex;height:32px;width:100%}.impact-monthRangePicker-main-container .monthRangePicker-input-container:focus-within .dateRangePicker-input-start-date,.impact-monthRangePicker-main-container .monthRangePicker-input-container:hover .dateRangePicker-input-start-date{border:1px solid #4259ee;border-right:none}.impact-monthRangePicker-main-container .monthRangePicker-input-container:focus-within .dateRangePicker-input-end-date,.impact-monthRangePicker-main-container .monthRangePicker-input-container:hover .dateRangePicker-input-end-date{border:1px solid #4259ee;border-left:none}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date{border:1px solid #c3c8d4;border-radius:8px 0 0 8px;border-right:none;box-sizing:border-box;color:#1f2b4d;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;padding-left:12px;width:123px}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date.active{width:76px}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date.error{border-bottom:1px solid #e15554;border-left:1px solid #e15554;border-top:1px solid #e15554}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date::placeholder{color:#b4bac7}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date:focus{outline:none}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date:focus::placeholder,.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-start-date:focus:not(:placeholder-shown){color:#4259ee}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/calendar.svg) no-repeat;background-color:#fff;background-position:center right 12px;background-size:14px;border:1px solid #c3c8d4;border-left:none;border-radius:0 8px 8px 0;box-sizing:border-box;color:#1f2b4d;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;width:100%}@media screen and (max-width:1399px) and (min-width:1200px){.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date{background-position:center right 10px;background-size:13px;padding-left:10px}}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date::placeholder{color:#b4bac7}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date:focus{outline:none}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date.error{border-bottom:1px solid #e15554;border-right:1px solid #e15554;border-top:1px solid #e15554}.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date:focus::placeholder,.impact-monthRangePicker-main-container .monthRangePicker-input-container .dateRangePicker-input-end-date:focus:not(:placeholder-shown){color:#4259ee}.impact-monthRangePicker-main-container .monthRangePicker-input-container .close-icon{border-radius:4px;cursor:pointer;position:absolute;right:36px;top:16px;transform:translateY(-50%)}.impact-monthRangePicker-main-container .monthRangePicker-input-container .close-icon:focus-visible{box-shadow:0 0 0 3px #eceefd;outline:none}.impact-monthRangePicker-main-container.disabled{pointer-events:none}.impact-monthRangePicker-main-container.disabled .monthRangePicker-label{color:#b4bac7}.impact-monthRangePicker-main-container.disabled .dateRangePicker-input-end-date,.impact-monthRangePicker-main-container.disabled .dateRangePicker-input-start-date{background-color:#f8f9fb;border-color:#d9dde7;color:#b4bac7}.impact-monthRangePicker-main-container.disabled .dateRangePicker-input-end-date{background-image:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/calendarDisable.svg);background-position:center right 12px;background-repeat:no-repeat;background-size:14px}.impact-monthRangePicker-main-container.disabled .close-icon path{fill:#b4bac7}.ia-month-picker-container{background-color:#fff;border:1px solid #f0f0f0;border-radius:12px;box-shadow:0 0 4px #0000001f;height:276px;left:0;padding:16px;position:absolute;top:40px;width:586px;z-index:1200}.month-range-picker-selected-year{color:#1f2b4d;font-family:Manrope,sans-serif;font-size:14px;font-weight:500;line-height:16px}.month-range-picker-year-select-container{width:85px}.month-range-picker-year-select-container .ia-select-styled-dropdown-main-button{border:none!important;padding:6px}.month-range-picker-year-select-container .ia-select-button-clear-icon{display:none}.month-range-picker-year-select-container .ia-select-chevron-icon{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/arrowDownMonthRange.svg) no-repeat;background-position:50%;background-size:10px;margin-left:-110px;margin-right:36px}.month-range-picker-month-select-dropdown,.month-range-picker-year-select-dropdown{min-width:115px!important;width:115px!important;z-index:9999}.ia-header{align-items:center;display:flex;justify-content:space-between;padding-inline:8px}.ia-header .Mui-focusVisible:focus-visible{box-shadow:0 0 0 3px #eceefd;outline:none}.ia-render-month-container{display:flex;justify-content:space-between}.ia-render-month{display:flex;flex-wrap:wrap;gap:36px;height:128px;margin-top:16px;row-gap:10px;width:252px}.ia-month{align-items:center;-moz-appearance:none;appearance:none;-webkit-appearance:none;background:#0000;border:1px solid #0000;color:inherit;cursor:pointer;display:flex;font:inherit;gap:10px;height:36px;justify-content:center;padding:0;width:36px}.ia-month:hover:not(.start,.end){background-color:#eceefd;border:1px solid #b3bdf8;border-radius:8px;color:#3649c6}.ia-month.current-month{border:1px solid #eceefd;border-radius:8px}.ia-month:focus-visible{box-shadow:0 0 0 3px #eceefd;outline:none}.ia-month.disabled:focus-visible,.ia-month:disabled:focus-visible{box-shadow:none;outline:none}.ia-calendar-month{font-family:Manrope,sans-serif;font-size:12px;font-weight:500;line-height:15px;text-align:left;text-decoration-skip-ink:none;text-underline-position:from-font}.ia-month.end,.ia-month.start{background-color:#4259ee;border-radius:8px;color:#fff;position:relative}.ia-month.end.has-start-month:before{background-color:#eceefd;content:"";height:100%;left:-47px;position:absolute;right:6px;top:0;z-index:-1}.ia-month.selected{background-color:initial;border:1px solid #0000;border-radius:0;position:relative}.ia-month.selected:hover:before{border-radius:6px}.ia-month.selected:before{background-color:#eceefd;content:"";height:100%;left:-47px;position:absolute;right:0;top:0;z-index:-1}.ia-month.selected.hovered-previous-to-end:before{display:none}.ia-month.selected.hovered-previous-to-end:after{background-color:#eceefd;content:"";height:100%;left:0;position:absolute;right:-47px;top:0;z-index:-1}.month12:after,.month4:after,.month8:after{right:-1px!important}.month1:before,.month5:before,.month9:before{left:-1px!important}.month1.end:before,.month1.start:before,.month5.end:before,.month5.start:before,.month9.end:before,.month9.start:before{left:4px!important}.ia-month.disabled,.ia-month:disabled{color:#b4bac7;cursor:default;pointer-events:none}.ia-vertical-line{border:.5px solid #d9dde7;margin-block:16px 0}.ia-calendar-button{display:flex;gap:16px;justify-content:flex-end;margin-top:16px}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useState, useRef, useEffect, useLayoutEffect } from "react";
|
|
4
|
+
import default_1 from "../../node_modules/@mui/icons-material/ChevronLeftOutlined.js";
|
|
5
|
+
import default_1$1 from "../../node_modules/@mui/icons-material/ChevronRightOutlined.js";
|
|
6
|
+
import { getAssetUrl } from "../../utils/assetBase.js";
|
|
7
|
+
import { MONTHS_NUMBER } from "./constants.js";
|
|
8
|
+
import { Button } from "../Button/index.js";
|
|
9
|
+
import { Portal } from "../Portal/index.js";
|
|
10
|
+
import { Select } from "../Select/index.js";
|
|
11
|
+
|
|
12
|
+
import IconButton from "../../node_modules/@mui/material/IconButton/IconButton.js";
|
|
13
|
+
const CloseIcon = getAssetUrl("icons/close.svg");
|
|
14
|
+
const MonthRangePicker = ({
|
|
15
|
+
customYears,
|
|
16
|
+
locale = "en-US",
|
|
17
|
+
isMandatory = false,
|
|
18
|
+
displayFormat = "MM/YYYY",
|
|
19
|
+
focusedInput = null,
|
|
20
|
+
onApply = () => {
|
|
21
|
+
},
|
|
22
|
+
startMonth: initialStartMonth = null,
|
|
23
|
+
endMonth: initialEndMonth = null,
|
|
24
|
+
showYearSelect = false,
|
|
25
|
+
isOutsideRange = () => false,
|
|
26
|
+
disabled = false,
|
|
27
|
+
customWidth = "282px",
|
|
28
|
+
isError = false,
|
|
29
|
+
withPortal = false,
|
|
30
|
+
portalContainer = document.body,
|
|
31
|
+
portalClassName = "",
|
|
32
|
+
onStartMonthChange = () => {
|
|
33
|
+
},
|
|
34
|
+
onEndMonthChange = () => {
|
|
35
|
+
}
|
|
36
|
+
}) => {
|
|
37
|
+
const today = /* @__PURE__ */ new Date();
|
|
38
|
+
const currentYear = today.getFullYear();
|
|
39
|
+
const yrs = Array.from({ length: 10 }, (_, index) => {
|
|
40
|
+
const year = (currentYear - 5 + index).toString();
|
|
41
|
+
return { label: year, value: year };
|
|
42
|
+
});
|
|
43
|
+
const years = customYears && customYears.length > 0 ? customYears : yrs;
|
|
44
|
+
const [openCalendar, setOpenCalendar] = useState(false);
|
|
45
|
+
const [startMonth, setStartMonth] = useState(initialStartMonth);
|
|
46
|
+
const [endMonth, setEndMonth] = useState(initialEndMonth);
|
|
47
|
+
const [yearOffset, setYearOffset] = useState(0);
|
|
48
|
+
const [open1, setOpen1] = useState(false);
|
|
49
|
+
const [currentOptions1, setCurrentOptions1] = useState(years);
|
|
50
|
+
const [selectedOptions1, setSelectedOptions1] = useState({
|
|
51
|
+
label: (today.getFullYear() - 1).toString(),
|
|
52
|
+
value: (today.getFullYear() - 1).toString()
|
|
53
|
+
});
|
|
54
|
+
const [open2, setOpen2] = useState(false);
|
|
55
|
+
const [currentOptions2, setCurrentOptions2] = useState(years);
|
|
56
|
+
const [selectedOptions2, setSelectedOptions2] = useState({
|
|
57
|
+
label: today.getFullYear().toString(),
|
|
58
|
+
value: today.getFullYear().toString()
|
|
59
|
+
});
|
|
60
|
+
const inputContainerRef = useRef(null);
|
|
61
|
+
const dropDownContainerRef = useRef(null);
|
|
62
|
+
const dropDownRef = useRef(null);
|
|
63
|
+
const startDateInputRef = useRef();
|
|
64
|
+
const endDateInputRef = useRef();
|
|
65
|
+
const monthRangePickerMainContainerRef = useRef(null);
|
|
66
|
+
const [isSelectOpen, setIsSelectOpen] = useState(false);
|
|
67
|
+
const [focusInput, setFocusInput] = useState(focusedInput);
|
|
68
|
+
const [dummyStartMonth, setDummyStartMonth] = useState(initialStartMonth);
|
|
69
|
+
const [dummyEndMonth, setDummyEndMonth] = useState(initialEndMonth);
|
|
70
|
+
const isResetClicked = useRef(false);
|
|
71
|
+
const [prevIconDisabled, setPrevIconDisabled] = useState(false);
|
|
72
|
+
const [nextIconDisabled, setNextIconDisabled] = useState(false);
|
|
73
|
+
const [hoveredMonth, setHoveredMonth] = useState(null);
|
|
74
|
+
const [position, setPosition] = useState({
|
|
75
|
+
x: 0,
|
|
76
|
+
y: 0,
|
|
77
|
+
offsetHeight: 0,
|
|
78
|
+
offsetWidth: 0
|
|
79
|
+
});
|
|
80
|
+
const [focusedPanel, setFocusedPanel] = useState(1);
|
|
81
|
+
const [focusedMonthIndex, setFocusedMonthIndex] = useState(null);
|
|
82
|
+
const panel1ButtonRefs = useRef([]);
|
|
83
|
+
const panel2ButtonRefs = useRef([]);
|
|
84
|
+
const keyboardOpenRef = useRef(false);
|
|
85
|
+
const pendingFocusRef = useRef(null);
|
|
86
|
+
const isMonthSelected = (month) => {
|
|
87
|
+
if (!startMonth) {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
if (endMonth) {
|
|
91
|
+
const startYearMonth = startMonth.getFullYear() * 12 + startMonth.getMonth();
|
|
92
|
+
const endYearMonth = endMonth.getFullYear() * 12 + endMonth.getMonth();
|
|
93
|
+
const currentYearMonth = month.getFullYear() * 12 + month.getMonth();
|
|
94
|
+
return currentYearMonth >= startYearMonth && currentYearMonth <= endYearMonth;
|
|
95
|
+
}
|
|
96
|
+
if (hoveredMonth && !endMonth) {
|
|
97
|
+
const startYearMonth = startMonth.getFullYear() * 12 + startMonth.getMonth();
|
|
98
|
+
const hoveredYearMonth = hoveredMonth.getFullYear() * 12 + hoveredMonth.getMonth();
|
|
99
|
+
const currentYearMonth = month.getFullYear() * 12 + month.getMonth();
|
|
100
|
+
const minMonth = Math.min(startYearMonth, hoveredYearMonth);
|
|
101
|
+
const maxMonth = Math.max(startYearMonth, hoveredYearMonth);
|
|
102
|
+
return currentYearMonth >= minMonth && currentYearMonth <= maxMonth;
|
|
103
|
+
}
|
|
104
|
+
return false;
|
|
105
|
+
};
|
|
106
|
+
const isMonthStart = (month) => {
|
|
107
|
+
return month.getTime() === ((startMonth == null ? void 0 : startMonth.getTime()) || 0);
|
|
108
|
+
};
|
|
109
|
+
const isMonthEnd = (month) => {
|
|
110
|
+
if (!endMonth) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
const endYearMonth = endMonth.getFullYear() * 12 + endMonth.getMonth();
|
|
114
|
+
const currentYearMonth = month.getFullYear() * 12 + month.getMonth();
|
|
115
|
+
return currentYearMonth === endYearMonth;
|
|
116
|
+
};
|
|
117
|
+
const handleMonthClick = (month, type) => {
|
|
118
|
+
const MIN_RANGE = 0;
|
|
119
|
+
const monthsDiff = (m1, m2) => Math.abs(m1 - m2);
|
|
120
|
+
if (!startMonth && !endMonth) {
|
|
121
|
+
setStartMonth(month);
|
|
122
|
+
onStartMonthChange(month);
|
|
123
|
+
setFocusInput("end month");
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
if (startMonth && !endMonth) {
|
|
127
|
+
if (month === startMonth) {
|
|
128
|
+
setStartMonth(null);
|
|
129
|
+
onStartMonthChange(null);
|
|
130
|
+
setFocusInput("end month");
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (month < startMonth) {
|
|
134
|
+
if (monthsDiff(month, startMonth) < MIN_RANGE) return;
|
|
135
|
+
setEndMonth(startMonth);
|
|
136
|
+
onEndMonthChange(startMonth);
|
|
137
|
+
setStartMonth(month);
|
|
138
|
+
onStartMonthChange(month);
|
|
139
|
+
setFocusInput("start month");
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (monthsDiff(month, startMonth) < MIN_RANGE) return;
|
|
143
|
+
setEndMonth(month);
|
|
144
|
+
onEndMonthChange(month);
|
|
145
|
+
setFocusInput("start month");
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
if (startMonth && endMonth) {
|
|
149
|
+
setStartMonth(month);
|
|
150
|
+
onStartMonthChange(month);
|
|
151
|
+
setEndMonth(null);
|
|
152
|
+
onEndMonthChange(null);
|
|
153
|
+
setFocusInput("end month");
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
const formatDate = (date) => {
|
|
158
|
+
if (!date) return "";
|
|
159
|
+
const month = new Intl.DateTimeFormat("en-US", { month: "2-digit" }).format(date);
|
|
160
|
+
const year = new Intl.DateTimeFormat("en-US", { year: "numeric" }).format(date);
|
|
161
|
+
if (displayFormat === "YYYY/MM") {
|
|
162
|
+
return `${year}/${month}`;
|
|
163
|
+
}
|
|
164
|
+
return `${month}/${year}`;
|
|
165
|
+
};
|
|
166
|
+
const handleMonthHover = (month) => {
|
|
167
|
+
if (startMonth && !endMonth) {
|
|
168
|
+
setHoveredMonth(month);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const handleMonthLeave = () => {
|
|
172
|
+
setHoveredMonth(null);
|
|
173
|
+
};
|
|
174
|
+
const renderMonth = (year, type, month) => {
|
|
175
|
+
const monthStart = new Date(year, month, 1);
|
|
176
|
+
const isSelected = isMonthSelected(monthStart);
|
|
177
|
+
const isStart = isMonthStart(monthStart);
|
|
178
|
+
const isEnd = isMonthEnd(monthStart);
|
|
179
|
+
const isDisabled = isOutsideRange(monthStart);
|
|
180
|
+
const isCurrentMonth = monthStart.getFullYear() === today.getFullYear() && monthStart.getMonth() === today.getMonth();
|
|
181
|
+
const isHoveredPreviousToEnd = hoveredMonth && startMonth && hoveredMonth.getFullYear() * 12 + hoveredMonth.getMonth() < startMonth.getFullYear() * 12 + startMonth.getMonth();
|
|
182
|
+
const getVariants = () => {
|
|
183
|
+
if (isStart) return "start";
|
|
184
|
+
if (isEnd) return "end";
|
|
185
|
+
if (isSelected) return "selected";
|
|
186
|
+
return "";
|
|
187
|
+
};
|
|
188
|
+
const panel = type === "start" ? 1 : 2;
|
|
189
|
+
const panelRefs = panel === 1 ? panel1ButtonRefs : panel2ButtonRefs;
|
|
190
|
+
const isFocused = focusedPanel === panel && focusedMonthIndex === month;
|
|
191
|
+
return /* @__PURE__ */ jsx(
|
|
192
|
+
"button",
|
|
193
|
+
{
|
|
194
|
+
ref: (el) => panelRefs.current[month] = el,
|
|
195
|
+
"aria-label": new Intl.DateTimeFormat(locale, {
|
|
196
|
+
month: "long",
|
|
197
|
+
year: "numeric"
|
|
198
|
+
}).format(monthStart),
|
|
199
|
+
"aria-pressed": isStart || isEnd || isSelected,
|
|
200
|
+
className: `ia-month month${month + 1} ${getVariants()} ${startMonth && getVariants() === "end" ? "has-start-month" : ""} ${isCurrentMonth ? "current-month" : ""} ${isHoveredPreviousToEnd ? "hovered-previous-to-end" : ""} ${isDisabled ? "disabled" : ""}`,
|
|
201
|
+
disabled: isDisabled,
|
|
202
|
+
tabIndex: isFocused ? 0 : -1,
|
|
203
|
+
type: "button",
|
|
204
|
+
onClick: () => {
|
|
205
|
+
handleMonthClick(monthStart);
|
|
206
|
+
},
|
|
207
|
+
onFocus: () => {
|
|
208
|
+
setFocusedPanel(panel);
|
|
209
|
+
setFocusedMonthIndex(month);
|
|
210
|
+
},
|
|
211
|
+
onMouseEnter: () => !isDisabled && handleMonthHover(monthStart),
|
|
212
|
+
onMouseLeave: handleMonthLeave,
|
|
213
|
+
children: /* @__PURE__ */ jsx("span", { className: "ia-calendar-month", children: new Intl.DateTimeFormat(locale, { month: "short" }).format(monthStart) })
|
|
214
|
+
},
|
|
215
|
+
month
|
|
216
|
+
);
|
|
217
|
+
};
|
|
218
|
+
const renderYear = (year, type) => /* @__PURE__ */ jsx("div", { className: "ia-render-month", children: MONTHS_NUMBER.map((month) => renderMonth(year, type, month)) });
|
|
219
|
+
const handlePrevYear = () => {
|
|
220
|
+
const offset = yearOffset - 1;
|
|
221
|
+
setYearOffset(offset);
|
|
222
|
+
setSelectedOptions1((prevState) => {
|
|
223
|
+
const newValue = parseInt(prevState.value) - 1;
|
|
224
|
+
if (newValue == currentOptions1[0].value) {
|
|
225
|
+
setPrevIconDisabled(true);
|
|
226
|
+
}
|
|
227
|
+
return { label: newValue.toString(), value: newValue.toString() };
|
|
228
|
+
});
|
|
229
|
+
setSelectedOptions2((prevState) => {
|
|
230
|
+
const newValue = parseInt(prevState.value) - 1;
|
|
231
|
+
return { label: newValue.toString(), value: newValue.toString() };
|
|
232
|
+
});
|
|
233
|
+
};
|
|
234
|
+
const handleNextYear = () => {
|
|
235
|
+
const offset = yearOffset + 1;
|
|
236
|
+
setYearOffset(offset);
|
|
237
|
+
setSelectedOptions1((prevState) => {
|
|
238
|
+
const newValue = parseInt(prevState.value) + 1;
|
|
239
|
+
return { label: newValue.toString(), value: newValue.toString() };
|
|
240
|
+
});
|
|
241
|
+
setSelectedOptions2((prevState) => {
|
|
242
|
+
const newValue = parseInt(prevState.value) + 1;
|
|
243
|
+
if (newValue == currentOptions2[currentOptions2.length - 1].value) {
|
|
244
|
+
setNextIconDisabled(true);
|
|
245
|
+
}
|
|
246
|
+
return { label: newValue.toString(), value: newValue.toString() };
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
const handleYearSelect = (selectId, selectedValue) => {
|
|
250
|
+
const newYear = parseInt(selectedValue.value);
|
|
251
|
+
if (selectId === 1) {
|
|
252
|
+
setSelectedOptions1({
|
|
253
|
+
label: newYear.toString(),
|
|
254
|
+
value: newYear.toString()
|
|
255
|
+
});
|
|
256
|
+
setSelectedOptions2({
|
|
257
|
+
label: (newYear + 1).toString(),
|
|
258
|
+
value: (newYear + 1).toString()
|
|
259
|
+
});
|
|
260
|
+
} else if (selectId === 2) {
|
|
261
|
+
setSelectedOptions2({
|
|
262
|
+
label: newYear.toString(),
|
|
263
|
+
value: newYear.toString()
|
|
264
|
+
});
|
|
265
|
+
setSelectedOptions1({
|
|
266
|
+
label: (newYear - 1).toString(),
|
|
267
|
+
value: (newYear - 1).toString()
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
setIsSelectOpen(true);
|
|
271
|
+
};
|
|
272
|
+
const hanldeInputClick = (inputType) => {
|
|
273
|
+
setOpenCalendar(true);
|
|
274
|
+
setFocusInput(inputType);
|
|
275
|
+
};
|
|
276
|
+
const handleInputKeyDown = (e) => {
|
|
277
|
+
if (e.key === "Enter" && !openCalendar) {
|
|
278
|
+
keyboardOpenRef.current = true;
|
|
279
|
+
hanldeInputClick("start month");
|
|
280
|
+
setFocusedPanel(1);
|
|
281
|
+
setFocusedMonthIndex((startMonth == null ? void 0 : startMonth.getMonth()) ?? 0);
|
|
282
|
+
}
|
|
283
|
+
};
|
|
284
|
+
const handleCalendarKeyDown = (e) => {
|
|
285
|
+
var _a, _b;
|
|
286
|
+
if (e.key === "Escape") {
|
|
287
|
+
handleCancel();
|
|
288
|
+
(_a = startDateInputRef.current) == null ? void 0 : _a.focus();
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
const moves = { ArrowRight: 1, ArrowLeft: -1, ArrowDown: 4, ArrowUp: -4 };
|
|
292
|
+
if (moves[e.key] === void 0 || focusedMonthIndex === null) return;
|
|
293
|
+
e.preventDefault();
|
|
294
|
+
const delta = moves[e.key];
|
|
295
|
+
let newPanel = focusedPanel;
|
|
296
|
+
let newIndex = focusedMonthIndex + delta;
|
|
297
|
+
if (focusedPanel === 1) {
|
|
298
|
+
if (newIndex > 11) {
|
|
299
|
+
newPanel = 2;
|
|
300
|
+
newIndex = newIndex - 12;
|
|
301
|
+
} else if (newIndex < 0) {
|
|
302
|
+
if (!prevIconDisabled) {
|
|
303
|
+
pendingFocusRef.current = { panel: 1, index: newIndex + 12 };
|
|
304
|
+
handlePrevYear();
|
|
305
|
+
}
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
} else {
|
|
309
|
+
if (newIndex > 11) {
|
|
310
|
+
if (!nextIconDisabled) {
|
|
311
|
+
pendingFocusRef.current = { panel: 2, index: newIndex - 12 };
|
|
312
|
+
handleNextYear();
|
|
313
|
+
}
|
|
314
|
+
return;
|
|
315
|
+
} else if (newIndex < 0) {
|
|
316
|
+
newPanel = 1;
|
|
317
|
+
newIndex = newIndex + 12;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
setFocusedPanel(newPanel);
|
|
321
|
+
setFocusedMonthIndex(newIndex);
|
|
322
|
+
const refs = newPanel === 1 ? panel1ButtonRefs : panel2ButtonRefs;
|
|
323
|
+
(_b = refs.current[newIndex]) == null ? void 0 : _b.focus();
|
|
324
|
+
const year = newPanel === 1 ? parseInt(selectedOptions1.value) : parseInt(selectedOptions2.value);
|
|
325
|
+
if (startMonth && !endMonth) {
|
|
326
|
+
setHoveredMonth(new Date(year, newIndex, 1));
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
useEffect(() => {
|
|
330
|
+
if (focusInput === "start month") {
|
|
331
|
+
startDateInputRef.current.focus();
|
|
332
|
+
}
|
|
333
|
+
if (focusInput === "end month") {
|
|
334
|
+
endDateInputRef.current.focus();
|
|
335
|
+
}
|
|
336
|
+
}, [focusInput]);
|
|
337
|
+
useEffect(() => {
|
|
338
|
+
if (openCalendar && keyboardOpenRef.current && focusedMonthIndex !== null) {
|
|
339
|
+
const timer = setTimeout(() => {
|
|
340
|
+
var _a;
|
|
341
|
+
(_a = panel1ButtonRefs.current[focusedMonthIndex]) == null ? void 0 : _a.focus();
|
|
342
|
+
}, 0);
|
|
343
|
+
keyboardOpenRef.current = false;
|
|
344
|
+
return () => {
|
|
345
|
+
clearTimeout(timer);
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
}, [openCalendar]);
|
|
349
|
+
useEffect(() => {
|
|
350
|
+
if (pendingFocusRef.current !== null) {
|
|
351
|
+
const { panel, index } = pendingFocusRef.current;
|
|
352
|
+
pendingFocusRef.current = null;
|
|
353
|
+
setFocusedPanel(panel);
|
|
354
|
+
setFocusedMonthIndex(index);
|
|
355
|
+
setTimeout(() => {
|
|
356
|
+
var _a;
|
|
357
|
+
const refs = panel === 1 ? panel1ButtonRefs : panel2ButtonRefs;
|
|
358
|
+
(_a = refs.current[index]) == null ? void 0 : _a.focus();
|
|
359
|
+
}, 0);
|
|
360
|
+
}
|
|
361
|
+
}, [selectedOptions1, selectedOptions2]);
|
|
362
|
+
const handleClickOutside = (event) => {
|
|
363
|
+
if (inputContainerRef.current && !inputContainerRef.current.contains(event.target) && dropDownContainerRef.current && !dropDownContainerRef.current.contains(event.target) && !event.target.closest(".close-icon") && !event.target.closest(".month-range-picker-year-select-dropdown") && !isSelectOpen) {
|
|
364
|
+
setOpenCalendar(false);
|
|
365
|
+
if (isResetClicked.current) {
|
|
366
|
+
setStartMonth(null);
|
|
367
|
+
setEndMonth(null);
|
|
368
|
+
setDummyStartMonth(null);
|
|
369
|
+
setDummyEndMonth(null);
|
|
370
|
+
isResetClicked.current = false;
|
|
371
|
+
} else {
|
|
372
|
+
setStartMonth(dummyStartMonth);
|
|
373
|
+
setEndMonth(dummyEndMonth);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
useEffect(() => {
|
|
378
|
+
document.addEventListener("click", handleClickOutside);
|
|
379
|
+
return () => {
|
|
380
|
+
document.removeEventListener("click", handleClickOutside);
|
|
381
|
+
};
|
|
382
|
+
}, [openCalendar]);
|
|
383
|
+
const handleClear = () => {
|
|
384
|
+
setStartMonth(null);
|
|
385
|
+
setEndMonth(null);
|
|
386
|
+
setDummyStartMonth(null);
|
|
387
|
+
setDummyEndMonth(null);
|
|
388
|
+
isResetClicked.current = true;
|
|
389
|
+
};
|
|
390
|
+
const handleCancel = () => {
|
|
391
|
+
setOpenCalendar(false);
|
|
392
|
+
setStartMonth(dummyStartMonth);
|
|
393
|
+
setEndMonth(dummyEndMonth);
|
|
394
|
+
};
|
|
395
|
+
const handleApply = () => {
|
|
396
|
+
setOpenCalendar(false);
|
|
397
|
+
setDummyStartMonth(startMonth);
|
|
398
|
+
setDummyEndMonth(endMonth);
|
|
399
|
+
onApply(startMonth, endMonth);
|
|
400
|
+
};
|
|
401
|
+
useLayoutEffect(() => {
|
|
402
|
+
if (withPortal && monthRangePickerMainContainerRef.current) {
|
|
403
|
+
const scrollY = window.scrollY || document.documentElement.scrollTop;
|
|
404
|
+
const {
|
|
405
|
+
x,
|
|
406
|
+
y,
|
|
407
|
+
height: offsetHeight,
|
|
408
|
+
width: offsetWidth
|
|
409
|
+
} = monthRangePickerMainContainerRef.current.getBoundingClientRect();
|
|
410
|
+
setPosition({ x, y: y + scrollY, offsetHeight, offsetWidth });
|
|
411
|
+
}
|
|
412
|
+
}, [openCalendar, withPortal]);
|
|
413
|
+
useEffect(() => {
|
|
414
|
+
if (selectedOptions1.value == currentOptions1[0].value) {
|
|
415
|
+
setPrevIconDisabled(true);
|
|
416
|
+
} else {
|
|
417
|
+
setPrevIconDisabled(false);
|
|
418
|
+
}
|
|
419
|
+
if (selectedOptions2.value == currentOptions2[currentOptions2.length - 1].value) {
|
|
420
|
+
setNextIconDisabled(true);
|
|
421
|
+
} else {
|
|
422
|
+
setNextIconDisabled(false);
|
|
423
|
+
}
|
|
424
|
+
}, [selectedOptions1, selectedOptions2]);
|
|
425
|
+
const renderCalendarContent = () => /* @__PURE__ */ jsxs(
|
|
426
|
+
"div",
|
|
427
|
+
{
|
|
428
|
+
ref: dropDownContainerRef,
|
|
429
|
+
"aria-label": "Month range picker",
|
|
430
|
+
className: "ia-month-picker-container",
|
|
431
|
+
role: "dialog",
|
|
432
|
+
onKeyDown: handleCalendarKeyDown,
|
|
433
|
+
children: [
|
|
434
|
+
/* @__PURE__ */ jsxs("div", { className: "ia-header", children: [
|
|
435
|
+
/* @__PURE__ */ jsx(IconButton, { disableRipple: true, disabled: prevIconDisabled, onClick: handlePrevYear, children: /* @__PURE__ */ jsx(default_1, { className: "left-icon" }) }),
|
|
436
|
+
showYearSelect ? /* @__PURE__ */ jsx("div", { className: "month-range-picker-year-select-container", children: /* @__PURE__ */ jsx(
|
|
437
|
+
Select,
|
|
438
|
+
{
|
|
439
|
+
ref: dropDownRef,
|
|
440
|
+
isWithSearch: true,
|
|
441
|
+
withPortal: true,
|
|
442
|
+
currentOptions: currentOptions1,
|
|
443
|
+
dropDownPortalClassName: "month-range-picker-year-select-dropdown",
|
|
444
|
+
handleChange: (val) => {
|
|
445
|
+
handleYearSelect(1, val);
|
|
446
|
+
},
|
|
447
|
+
initialOptions: years,
|
|
448
|
+
isOpen: open1,
|
|
449
|
+
minWidth: 100,
|
|
450
|
+
name: "year-select",
|
|
451
|
+
selectedOptions: selectedOptions1,
|
|
452
|
+
setCurrentOptions: setCurrentOptions1,
|
|
453
|
+
setIsOpen: setOpen1,
|
|
454
|
+
setSelectedOptions: setSelectedOptions1
|
|
455
|
+
}
|
|
456
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "month-range-picker-selected-year", children: selectedOptions1.value }),
|
|
457
|
+
showYearSelect ? /* @__PURE__ */ jsx("div", { className: "month-range-picker-year-select-container", children: /* @__PURE__ */ jsx(
|
|
458
|
+
Select,
|
|
459
|
+
{
|
|
460
|
+
isWithSearch: true,
|
|
461
|
+
withPortal: true,
|
|
462
|
+
currentOptions: currentOptions2,
|
|
463
|
+
dropDownPortalClassName: "month-range-picker-year-select-dropdown",
|
|
464
|
+
handleChange: (val) => {
|
|
465
|
+
handleYearSelect(2, val);
|
|
466
|
+
},
|
|
467
|
+
initialOptions: years,
|
|
468
|
+
isOpen: open2,
|
|
469
|
+
minWidth: 100,
|
|
470
|
+
name: "month-select",
|
|
471
|
+
selectedOptions: selectedOptions2,
|
|
472
|
+
setCurrentOptions: setCurrentOptions2,
|
|
473
|
+
setIsOpen: setOpen2,
|
|
474
|
+
setSelectedOptions: setSelectedOptions2
|
|
475
|
+
}
|
|
476
|
+
) }) : /* @__PURE__ */ jsx("div", { className: "month-range-picker-selected-year", children: selectedOptions2.value }),
|
|
477
|
+
/* @__PURE__ */ jsx(IconButton, { disableRipple: true, disabled: nextIconDisabled, onClick: handleNextYear, children: /* @__PURE__ */ jsx(default_1$1, { className: "right-icon" }) })
|
|
478
|
+
] }),
|
|
479
|
+
/* @__PURE__ */ jsxs("div", { className: "ia-render-month-container", children: [
|
|
480
|
+
renderYear(parseInt(selectedOptions1.value), "start"),
|
|
481
|
+
/* @__PURE__ */ jsx("hr", { className: "ia-vertical-line" }),
|
|
482
|
+
renderYear(parseInt(selectedOptions2.value), "end")
|
|
483
|
+
] }),
|
|
484
|
+
/* @__PURE__ */ jsx("hr", { className: "ia-vertical-line" }),
|
|
485
|
+
/* @__PURE__ */ jsxs("div", { className: "ia-calendar-button", children: [
|
|
486
|
+
/* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: handleCancel, children: "Cancel" }),
|
|
487
|
+
/* @__PURE__ */ jsx(Button, { onClick: handleApply, children: "Apply" })
|
|
488
|
+
] })
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
);
|
|
492
|
+
return /* @__PURE__ */ jsxs(
|
|
493
|
+
"div",
|
|
494
|
+
{
|
|
495
|
+
className: `impact-monthRangePicker-main-container label-flex-column ${disabled ? "disabled" : ""}`,
|
|
496
|
+
children: [
|
|
497
|
+
/* @__PURE__ */ jsxs("div", { className: "monthRangePicker-label", children: [
|
|
498
|
+
"Select Month & Year",
|
|
499
|
+
isMandatory && /* @__PURE__ */ jsx("span", { style: { color: "red" }, children: "*" })
|
|
500
|
+
] }),
|
|
501
|
+
/* @__PURE__ */ jsxs(
|
|
502
|
+
"div",
|
|
503
|
+
{
|
|
504
|
+
ref: monthRangePickerMainContainerRef,
|
|
505
|
+
className: "monthRangePicker-container",
|
|
506
|
+
style: { width: customWidth },
|
|
507
|
+
children: [
|
|
508
|
+
/* @__PURE__ */ jsxs("div", { ref: inputContainerRef, className: "monthRangePicker-input-container", children: [
|
|
509
|
+
/* @__PURE__ */ jsx(
|
|
510
|
+
"input",
|
|
511
|
+
{
|
|
512
|
+
ref: startDateInputRef,
|
|
513
|
+
readOnly: true,
|
|
514
|
+
"aria-expanded": openCalendar,
|
|
515
|
+
"aria-haspopup": "dialog",
|
|
516
|
+
"aria-label": "Start month",
|
|
517
|
+
className: `dateRangePicker-input-start-date ${startMonth ? "active" : ""} ${isError ? "error" : ""}`,
|
|
518
|
+
placeholder: `Start ${displayFormat} - `,
|
|
519
|
+
role: "button",
|
|
520
|
+
type: "text",
|
|
521
|
+
value: startMonth ? `${formatDate(startMonth)} -` : "",
|
|
522
|
+
onClick: () => {
|
|
523
|
+
hanldeInputClick("start month");
|
|
524
|
+
},
|
|
525
|
+
onFocus: () => {
|
|
526
|
+
setFocusInput("start month");
|
|
527
|
+
},
|
|
528
|
+
onKeyDown: handleInputKeyDown
|
|
529
|
+
}
|
|
530
|
+
),
|
|
531
|
+
/* @__PURE__ */ jsx(
|
|
532
|
+
"input",
|
|
533
|
+
{
|
|
534
|
+
ref: endDateInputRef,
|
|
535
|
+
readOnly: true,
|
|
536
|
+
"aria-expanded": openCalendar,
|
|
537
|
+
"aria-haspopup": "dialog",
|
|
538
|
+
"aria-label": "End month",
|
|
539
|
+
className: `dateRangePicker-input-end-date ${isError ? "error" : ""}`,
|
|
540
|
+
label: "EndDate",
|
|
541
|
+
name: "endDate",
|
|
542
|
+
placeholder: `End ${displayFormat}`,
|
|
543
|
+
role: "button",
|
|
544
|
+
type: "text",
|
|
545
|
+
value: endMonth ? formatDate(endMonth) : "",
|
|
546
|
+
onClick: () => {
|
|
547
|
+
hanldeInputClick("end month");
|
|
548
|
+
},
|
|
549
|
+
onFocus: () => {
|
|
550
|
+
setFocusInput("end month");
|
|
551
|
+
},
|
|
552
|
+
onKeyDown: handleInputKeyDown
|
|
553
|
+
}
|
|
554
|
+
),
|
|
555
|
+
(startMonth || endMonth) && /* @__PURE__ */ jsx(
|
|
556
|
+
CloseIcon,
|
|
557
|
+
{
|
|
558
|
+
"aria-label": "Close month range picker",
|
|
559
|
+
className: "close-icon",
|
|
560
|
+
tabIndex: 0,
|
|
561
|
+
onClick: handleClear,
|
|
562
|
+
onKeyDown: (e) => {
|
|
563
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
564
|
+
e.preventDefault();
|
|
565
|
+
handleClear();
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
)
|
|
570
|
+
] }),
|
|
571
|
+
openCalendar && (withPortal ? /* @__PURE__ */ jsxs(Portal, { container: portalContainer, children: [
|
|
572
|
+
/* @__PURE__ */ jsx(
|
|
573
|
+
"div",
|
|
574
|
+
{
|
|
575
|
+
className: `impact-portal-container ${portalClassName}`,
|
|
576
|
+
style: {
|
|
577
|
+
top: position.y || position.top,
|
|
578
|
+
left: position.x || position.left,
|
|
579
|
+
bottom: position.bottom,
|
|
580
|
+
right: position.right,
|
|
581
|
+
width: position.offsetWidth || "0px"
|
|
582
|
+
},
|
|
583
|
+
children: renderCalendarContent()
|
|
584
|
+
}
|
|
585
|
+
),
|
|
586
|
+
/* @__PURE__ */ jsx(
|
|
587
|
+
"div",
|
|
588
|
+
{
|
|
589
|
+
className: "ia-select-container-v3-blanket",
|
|
590
|
+
role: "button",
|
|
591
|
+
tabIndex: 0,
|
|
592
|
+
onClick: () => {
|
|
593
|
+
setOpenCalendar(false);
|
|
594
|
+
},
|
|
595
|
+
onKeyDown: (e) => {
|
|
596
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
597
|
+
e.preventDefault();
|
|
598
|
+
setOpenCalendar(false);
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
)
|
|
603
|
+
] }) : renderCalendarContent())
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
)
|
|
607
|
+
]
|
|
608
|
+
}
|
|
609
|
+
);
|
|
610
|
+
};
|
|
611
|
+
export {
|
|
612
|
+
MonthRangePicker
|
|
613
|
+
};
|
|
@@ -5,10 +5,36 @@ export interface NotificationTabItem {
|
|
|
5
5
|
label: string;
|
|
6
6
|
value: string;
|
|
7
7
|
}
|
|
8
|
+
export interface NotificationListItemData {
|
|
9
|
+
id: string | number;
|
|
10
|
+
label: string;
|
|
11
|
+
date: Date;
|
|
12
|
+
time: number;
|
|
13
|
+
description: string;
|
|
14
|
+
selected?: boolean;
|
|
15
|
+
read?: boolean;
|
|
16
|
+
status?: 'success' | 'fail' | 'pending';
|
|
17
|
+
badge?: string;
|
|
18
|
+
bookMarked?: boolean;
|
|
19
|
+
showBookMark?: boolean;
|
|
20
|
+
showOverdueIcon?: boolean;
|
|
21
|
+
showFastApproachingIcon?: boolean;
|
|
22
|
+
showNOverdueIcon?: boolean;
|
|
23
|
+
moveToPendingText?: string;
|
|
24
|
+
checkBoxClick?: NotificationListItemHandler;
|
|
25
|
+
handleSelectChange?: NotificationListItemHandler;
|
|
26
|
+
handleMarkCompleted?: NotificationListItemHandler;
|
|
27
|
+
handleMoveToPending?: NotificationListItemHandler;
|
|
28
|
+
handleMarkAsRead?: NotificationListItemHandler;
|
|
29
|
+
handleBookMark?: NotificationListItemHandler;
|
|
30
|
+
handleDeleteNotification?: NotificationListItemHandler;
|
|
31
|
+
handleDownloadNotification?: NotificationListItemHandler;
|
|
32
|
+
}
|
|
33
|
+
export type NotificationListItemHandler = (type?: string, notificationPanels?: NotificationPanelItem[], setNotificationPanels?: (panels: NotificationPanelItem[]) => void, list?: NotificationListItemData) => void;
|
|
8
34
|
export interface NotificationPanelItem {
|
|
9
35
|
id: number;
|
|
10
36
|
value: string;
|
|
11
|
-
notificationList?: ReactNode;
|
|
37
|
+
notificationList?: NotificationListItemData[] | ReactNode;
|
|
12
38
|
handleSettingClick?: () => void;
|
|
13
39
|
filterChip?: unknown;
|
|
14
40
|
selectedFilterChip?: unknown;
|
|
@@ -39,10 +65,10 @@ export interface NotificationProps {
|
|
|
39
65
|
primaryButtonLabel?: string;
|
|
40
66
|
onPrimaryButtonClick?: () => void;
|
|
41
67
|
onSettingButtonClick?: () => void;
|
|
42
|
-
handleSelectAll?: () => void;
|
|
43
|
-
handleMarkReadAll?: () => void;
|
|
44
|
-
handleMoveAllPending?: () => void;
|
|
45
|
-
handleNotificationDeleteAll?: () => void;
|
|
68
|
+
handleSelectAll?: (type?: string, notificationList?: NotificationListItemData[]) => void;
|
|
69
|
+
handleMarkReadAll?: (type?: string, notificationList?: NotificationListItemData[]) => void;
|
|
70
|
+
handleMoveAllPending?: (type?: string, selectedItems?: NotificationListItemData[], selectedOption?: unknown) => void;
|
|
71
|
+
handleNotificationDeleteAll?: (type?: string, selectedItems?: NotificationListItemData[]) => void;
|
|
46
72
|
badgesList?: NotificationBadgeList[];
|
|
47
73
|
notificationTabs?: NotificationTabItem[];
|
|
48
74
|
notificationPanels?: NotificationPanelItem[];
|
|
@@ -67,4 +93,8 @@ export interface NotificationProps {
|
|
|
67
93
|
/** Optional body component (e.g. for testing); defaults to NotificationBody */
|
|
68
94
|
NotificationBodyComponent?: React.ComponentType<Record<string, unknown>>;
|
|
69
95
|
}
|
|
96
|
+
/** @deprecated Use NotificationListItemData */
|
|
97
|
+
export type NotificationItem = NotificationListItemData;
|
|
98
|
+
/** @deprecated Use NotificationPanelItem */
|
|
99
|
+
export type NotificationPanel = NotificationPanelItem;
|
|
70
100
|
//# sourceMappingURL=Notification.types.d.ts.map
|