impact-ui 4.0.16 → 4.0.17-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/CalendarDay.js +4 -0
- package/dist/_virtual/ModifiersShape.js +4 -0
- package/dist/_virtual/WithStylesContext.js +4 -0
- package/dist/_virtual/and.js +4 -0
- package/dist/_virtual/between.js +4 -0
- package/dist/_virtual/booleanSome.js +4 -0
- package/dist/_virtual/brcast.js +4 -0
- package/dist/_virtual/childrenHavePropXorChildren.js +4 -0
- package/dist/_virtual/childrenOf.js +4 -0
- package/dist/_virtual/childrenOfType.js +4 -0
- package/dist/_virtual/childrenSequenceOf.js +4 -0
- package/dist/_virtual/componentWithName.js +4 -0
- package/dist/_virtual/constants2.js +4 -0
- package/dist/_virtual/constants3.js +4 -0
- package/dist/_virtual/defaultPhrases.js +4 -0
- package/dist/_virtual/direction.js +4 -0
- package/dist/_virtual/disallowedIf.js +4 -0
- package/dist/_virtual/elementType.js +4 -0
- package/dist/_virtual/empty.js +4 -0
- package/dist/_virtual/emptyStylesFn.js +4 -0
- package/dist/_virtual/explicitNull.js +4 -0
- package/dist/_virtual/getCalendarDaySettings.js +4 -0
- package/dist/_virtual/getComponentName.js +4 -0
- package/dist/_virtual/getComponentName2.js +4 -0
- package/dist/_virtual/getPhrase.js +4 -0
- package/dist/_virtual/getPhrasePropTypes.js +4 -0
- package/dist/_virtual/hoist-non-react-statics.cjs.js +2 -0
- package/dist/_virtual/implementation.browser.js +4 -0
- package/dist/_virtual/index10.js +2 -4
- package/dist/_virtual/index11.js +2 -4
- package/dist/_virtual/index5.js +2 -4
- package/dist/_virtual/index6.js +2 -4
- package/dist/_virtual/index7.js +2 -4
- package/dist/_virtual/index8.js +2 -4
- package/dist/_virtual/index9.js +2 -4
- package/dist/_virtual/integer.js +4 -0
- package/dist/_virtual/isInteger.js +4 -0
- package/dist/_virtual/isPlainObject.js +4 -0
- package/dist/_virtual/isPlainObject2.js +4 -0
- package/dist/_virtual/isPrimitive.js +4 -0
- package/dist/_virtual/keysOf.js +4 -0
- package/dist/_virtual/mutuallyExclusiveProps.js +4 -0
- package/dist/_virtual/mutuallyExclusiveTrueProps.js +4 -0
- package/dist/_virtual/nChildren.js +4 -0
- package/dist/_virtual/nonNegativeInteger.js +4 -0
- package/dist/_virtual/nonNegativeNumber.js +4 -0
- package/dist/_virtual/numericString.js +4 -0
- package/dist/_virtual/object.js +4 -0
- package/dist/_virtual/or.js +4 -0
- package/dist/_virtual/perf.js +4 -0
- package/dist/_virtual/performance-now.js +4 -0
- package/dist/_virtual/predicate.js +4 -0
- package/dist/_virtual/range.js +4 -0
- package/dist/_virtual/react-is3.production.min.js +4 -0
- package/dist/_virtual/ref.js +4 -0
- package/dist/_virtual/ref2.js +4 -0
- package/dist/_virtual/renderableChildren.js +4 -0
- package/dist/_virtual/requiredBy.js +4 -0
- package/dist/_virtual/restrictedProp.js +4 -0
- package/dist/_virtual/sequenceOf.js +4 -0
- package/dist/_virtual/shape.js +4 -0
- package/dist/_virtual/stringEndsWith.js +4 -0
- package/dist/_virtual/stringStartsWith.js +4 -0
- package/dist/_virtual/typeOf.js +4 -0
- package/dist/_virtual/uniqueArray.js +4 -0
- package/dist/_virtual/uniqueArrayOf.js +4 -0
- package/dist/_virtual/valuesOf.js +4 -0
- package/dist/_virtual/withDirection.js +4 -0
- package/dist/_virtual/withShape.js +4 -0
- package/dist/_virtual/withStyles.js +4 -0
- package/dist/_virtual/withStylesPropTypes.js +4 -0
- package/dist/_virtual/wrapValidator.js +4 -0
- package/dist/_virtual/wrapValidator2.js +4 -0
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts +2 -2
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +1 -1
- package/dist/components/AccordionModern/index.d.ts +1 -1
- package/dist/components/AccordionModern/index.d.ts.map +1 -1
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/filled/index.d.ts +1 -1
- package/dist/components/Badge/filled/index.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/stroke/index.d.ts +1 -1
- package/dist/components/Badge/stroke/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/index.d.ts +1 -1
- package/dist/components/Badge/subtle/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts.map +1 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts +1 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts.map +1 -1
- package/dist/components/BottomSheet/index.d.ts +1 -1
- package/dist/components/BottomSheet/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/HomeIcon.d.ts +1 -1
- package/dist/components/Breadcrumbs/HomeIcon.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/ButtonGroup/index.d.ts +1 -1
- package/dist/components/ButtonGroup/index.d.ts.map +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
- package/dist/components/Chart/index.d.ts +2 -1
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +1 -1
- package/dist/components/Chatbot/Chatbot.types.d.ts +1 -0
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts +1 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
- package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
- package/dist/components/Chatbot/chatBotFooter.js +1 -1
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +1 -1
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/chatInput.d.ts +1 -1
- package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +2 -12
- package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
- package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/customScreen.d.ts +1 -1
- package/dist/components/Chatbot/customScreen.d.ts.map +1 -1
- package/dist/components/Chatbot/historyPanel.d.ts +1 -1
- package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
- package/dist/components/Chatbot/index.d.ts +1 -1
- package/dist/components/Chatbot/index.d.ts.map +1 -1
- package/dist/components/Chatbot/index.js +10 -4
- package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
- package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
- package/dist/components/Chatbot/newChatComponent.js +71 -41
- package/dist/components/Checkbox/WithDropDown.d.ts +1 -1
- package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
- package/dist/components/Checkbox/WithDropDown.js +46 -30
- package/dist/components/Checkbox/WithoutFormLabel.d.ts +1 -1
- package/dist/components/Checkbox/WithoutFormLabel.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsContext.d.ts +1 -1
- package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +2 -6
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +6 -1
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +2 -2
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerDropdown.d.ts +1 -1
- package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
- package/dist/components/DatePicker/datePickerFooter.d.ts +1 -1
- package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts +1 -1
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts +1 -0
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +3 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +67 -49
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +1 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.d.ts.map +1 -1
- package/dist/components/DateRangePicker/index.js +3 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts +1 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
- package/dist/components/DateRangePicker/utils.d.ts +1 -0
- package/dist/components/DateRangePicker/utils.d.ts.map +1 -1
- package/dist/components/DateRangePicker/utils.js +11 -1
- package/dist/components/DynamicLayout/index.d.ts +2 -1
- package/dist/components/DynamicLayout/index.d.ts.map +1 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts +1 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts +1 -1
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
- package/dist/components/FileUpload/index.d.ts +1 -1
- package/dist/components/FileUpload/index.d.ts.map +1 -1
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts +1 -1
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +1 -1
- package/dist/components/FilterPanel/PanelFooter.d.ts +1 -1
- package/dist/components/FilterPanel/PanelFooter.d.ts.map +1 -1
- package/dist/components/FilterPanel/PanelSidebar.d.ts +1 -1
- package/dist/components/FilterPanel/PanelSidebar.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.d.ts +1 -1
- package/dist/components/FilterPanel/index.d.ts.map +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.d.ts +1 -1
- package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterDropDown.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterSlider.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterSlider.d.ts.map +1 -1
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts +1 -1
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts.map +1 -1
- package/dist/components/FiltersStrip/index.d.ts +1 -1
- package/dist/components/FiltersStrip/index.d.ts.map +1 -1
- package/dist/components/Header/index.d.ts +1 -1
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/HomePage/index.d.ts +1 -1
- package/dist/components/HomePage/index.d.ts.map +1 -1
- package/dist/components/HomePage/index.js +1 -1
- package/dist/components/Input/HelperText.d.ts +1 -1
- package/dist/components/Input/HelperText.d.ts.map +1 -1
- package/dist/components/Input/InputWithIcon.d.ts +1 -1
- package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
- package/dist/components/Input/VanillaInput.d.ts +1 -1
- package/dist/components/Input/VanillaInput.d.ts.map +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +2 -2
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/index.js +38 -112
- package/dist/components/KeyboardShortCuts/screen2.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/screen3.d.ts +1 -1
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.d.ts +2 -1
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Loader/index.d.ts +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/IconMenuItem.d.ts.map +1 -1
- package/dist/components/Menu/IconMenuItem.js +2 -1
- package/dist/components/Menu/MenuHeaderInfo.d.ts +2 -2
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
- package/dist/components/Menu/MenuHeaderInfo.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +2 -2
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.d.ts +1 -1
- package/dist/components/MonthPicker/index.d.ts.map +1 -1
- package/dist/components/MonthRangePicker/index.d.ts +1 -1
- package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/NewCreateItemFlow/index.d.ts +1 -1
- package/dist/components/NewCreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/NewDynamicLayout/index.d.ts +1 -1
- package/dist/components/NewDynamicLayout/index.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
- package/dist/components/Notification/NotificationBody/index.d.ts +1 -1
- package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
- package/dist/components/Notification/index.d.ts +1 -1
- package/dist/components/Notification/index.d.ts.map +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/OnboardingTour/index.d.ts +61 -0
- package/dist/components/OnboardingTour/index.d.ts.map +1 -0
- package/dist/components/OnboardingTour/index.js +232 -0
- package/dist/components/OnboardingTour/productTourList.d.ts +39 -0
- package/dist/components/OnboardingTour/productTourList.d.ts.map +1 -0
- package/dist/components/OnboardingTour/productTourList.js +86 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts +45 -0
- package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -0
- package/dist/components/OnboardingTour/tooltipCard.js +96 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts +29 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.d.ts.map +1 -0
- package/dist/components/OnboardingTour/useTooltipCardPosition.js +221 -0
- package/dist/components/Panel/index.d.ts +1 -1
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/Prompt/index.d.ts +1 -1
- package/dist/components/Prompt/index.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/index.d.ts +1 -1
- package/dist/components/RadioButtonGroup/index.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/index.js +1 -1
- package/dist/components/Select/customGroupHeading.d.ts +1 -1
- package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
- package/dist/components/Select/dropdown.d.ts +1 -1
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Select/menuList.d.ts +2 -1
- package/dist/components/Select/menuList.d.ts.map +1 -1
- package/dist/components/Select/optionList.d.ts +2 -1
- package/dist/components/Select/optionList.d.ts.map +1 -1
- package/dist/components/Select/selected-option-tags.d.ts +1 -1
- package/dist/components/Select/selected-option-tags.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutHint.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutScope.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -1
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts +1 -1
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -1
- package/dist/components/Sidebar/ChildMenu.d.ts +1 -1
- package/dist/components/Sidebar/ChildMenu.d.ts.map +1 -1
- package/dist/components/Sidebar/ParentMenu.d.ts +1 -1
- package/dist/components/Sidebar/ParentMenu.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +1 -1
- package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarMenus.d.ts +1 -1
- package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
- package/dist/components/Sidebar/index.d.ts +1 -1
- package/dist/components/Sidebar/index.d.ts.map +1 -1
- package/dist/components/Sidebar/index.js +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.d.ts +1 -1
- package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/AdvanceSortModal.d.ts +1 -1
- package/dist/components/Table/AdvanceSortModal.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.d.ts +3 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +3 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +1 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
- package/dist/components/Table/NoComments.d.ts +1 -1
- package/dist/components/Table/NoComments.d.ts.map +1 -1
- package/dist/components/Table/actionBar.d.ts +1 -1
- package/dist/components/Table/actionBar.d.ts.map +1 -1
- package/dist/components/Table/advanceSearchModal.d.ts +1 -1
- package/dist/components/Table/advanceSearchModal.d.ts.map +1 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +5 -2
- package/dist/components/Table/tableFunctions.js +2 -2
- package/dist/components/Table/tableHeader.d.ts +1 -1
- package/dist/components/Table/tableHeader.d.ts.map +1 -1
- package/dist/components/Table/tableIcons.d.ts +4 -2
- package/dist/components/Table/tableIcons.d.ts.map +1 -1
- package/dist/components/Table/tableMoreOptions.d.ts +1 -1
- package/dist/components/Table/tableMoreOptions.d.ts.map +1 -1
- package/dist/components/Table/tablePagination.d.ts +1 -1
- package/dist/components/Table/tablePagination.d.ts.map +1 -1
- package/dist/components/Table/tableSettings.d.ts +1 -1
- package/dist/components/Table/tableSettings.d.ts.map +1 -1
- package/dist/components/Table/withCommentIcon.d.ts +1 -1
- package/dist/components/Table/withCommentIcon.d.ts.map +1 -1
- package/dist/components/TableChat/EmptyContainer.d.ts +2 -1
- package/dist/components/TableChat/EmptyContainer.d.ts.map +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts +1 -1
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts +2 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts.map +1 -1
- package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
- package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +3 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +2 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableOld/AgGridHeader.d.ts +3 -1
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableOld/actionBar.d.ts +1 -1
- package/dist/components/TableOld/actionBar.d.ts.map +1 -1
- package/dist/components/TableOld/index.d.ts.map +1 -1
- package/dist/components/TableOld/index.js +21 -5
- package/dist/components/TableOld/tableFunctions.js +2 -2
- package/dist/components/TableOld/tableHeader.d.ts +1 -1
- package/dist/components/TableOld/tableHeader.d.ts.map +1 -1
- package/dist/components/TableOld/tableIcons.d.ts +4 -2
- package/dist/components/TableOld/tableIcons.d.ts.map +1 -1
- package/dist/components/TableOld/tablePagination.d.ts +1 -1
- package/dist/components/TableOld/tablePagination.d.ts.map +1 -1
- package/dist/components/TableOld/tableSettings.d.ts +1 -1
- package/dist/components/TableOld/tableSettings.d.ts.map +1 -1
- package/dist/components/Tabs/TabPanel.d.ts +1 -1
- package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tag/filled.d.ts +1 -1
- package/dist/components/Tag/filled.d.ts.map +1 -1
- package/dist/components/Tag/solid.d.ts +1 -1
- package/dist/components/Tag/solid.d.ts.map +1 -1
- package/dist/components/Tag/stroke.d.ts +1 -1
- package/dist/components/Tag/stroke.d.ts.map +1 -1
- package/dist/components/TagGroup/index.d.ts +1 -1
- package/dist/components/TagGroup/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.d.ts +1 -1
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/common/HelperText/index.d.ts +1 -1
- package/dist/components/common/HelperText/index.d.ts.map +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.d.ts.map +1 -1
- package/dist/components/shared/tableColumnSettings/columnsSettingsColumnRow.js +5 -3
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts +1 -1
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts.map +1 -1
- package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.js +9 -5
- package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts +1 -3
- package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -1
- package/dist/components/shared/tableColumnSettings/columnsTabV36.js +47 -39
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts +4 -2
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -1
- package/dist/components/shared/tableColumnSettings/tableSettingsV36.js +18 -17
- package/dist/i18n/I18nContext.d.ts +1 -1
- package/dist/i18n/I18nContext.d.ts.map +1 -1
- package/dist/locales/de-DE.json.d.ts +12 -0
- package/dist/locales/de-DE.json.js +12 -0
- package/dist/locales/en-US.json.d.ts +12 -0
- package/dist/locales/en-US.json.js +12 -0
- package/dist/locales/es-ES.json.d.ts +12 -0
- package/dist/locales/es-ES.json.js +12 -0
- package/dist/mcp-component-registry.json +83 -3
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +1 -2
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +1 -3
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +1 -1
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +109 -248
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +15 -21
- package/dist/node_modules/@mui/icons-material/Add.js +3 -2
- package/dist/node_modules/@mui/icons-material/AttachFile.js +3 -2
- package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +3 -2
- package/dist/node_modules/@mui/icons-material/Block.js +3 -2
- package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/Brush.js +3 -2
- package/dist/node_modules/@mui/icons-material/Cancel.js +3 -2
- package/dist/node_modules/@mui/icons-material/CheckCircle.js +3 -2
- package/dist/node_modules/@mui/icons-material/ChevronLeft.js +2 -1
- package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/ChevronRight.js +2 -1
- package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/Clear.js +2 -1
- package/dist/node_modules/@mui/icons-material/Close.js +2 -1
- package/dist/node_modules/@mui/icons-material/CloseOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/CloseRounded.js +3 -2
- package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/DragIndicator.js +3 -2
- package/dist/node_modules/@mui/icons-material/ErrorOutline.js +3 -2
- package/dist/node_modules/@mui/icons-material/ExpandLess.js +2 -1
- package/dist/node_modules/@mui/icons-material/ExpandLessOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/ExpandMore.js +2 -1
- package/dist/node_modules/@mui/icons-material/ExpandMoreOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FilterAltOffOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FilterList.js +3 -2
- package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FormatBold.js +3 -2
- package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/FormatItalic.js +2 -1
- package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +3 -2
- package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +3 -2
- package/dist/node_modules/@mui/icons-material/Image.js +3 -2
- package/dist/node_modules/@mui/icons-material/Info.js +3 -2
- package/dist/node_modules/@mui/icons-material/InfoOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +2 -1
- package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +3 -2
- package/dist/node_modules/@mui/icons-material/Link.js +3 -2
- package/dist/node_modules/@mui/icons-material/Looks3.js +3 -2
- package/dist/node_modules/@mui/icons-material/Looks4.js +3 -2
- package/dist/node_modules/@mui/icons-material/Looks5.js +3 -2
- package/dist/node_modules/@mui/icons-material/Looks6.js +3 -2
- package/dist/node_modules/@mui/icons-material/LooksOne.js +3 -2
- package/dist/node_modules/@mui/icons-material/LooksTwo.js +3 -2
- package/dist/node_modules/@mui/icons-material/MoreHoriz.js +3 -2
- package/dist/node_modules/@mui/icons-material/MoreHorizOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/MoreVert.js +3 -2
- package/dist/node_modules/@mui/icons-material/North.js +3 -2
- package/dist/node_modules/@mui/icons-material/NotificationsOff.js +3 -2
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +3 -2
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/Search.js +3 -2
- package/dist/node_modules/@mui/icons-material/SearchOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/StrikethroughS.js +3 -2
- package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/Tune.js +3 -2
- package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +3 -2
- package/dist/node_modules/@mui/icons-material/Warning.js +3 -2
- package/dist/node_modules/@mui/icons-material/esm/AddOutlined.js +1 -1
- package/dist/node_modules/@mui/icons-material/esm/DragIndicator.js +1 -1
- package/dist/node_modules/@mui/icons-material/esm/FileDownload.js +1 -1
- package/dist/node_modules/@mui/icons-material/esm/HighlightOff.js +1 -1
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +1 -1
- package/dist/node_modules/@mui/icons-material/esm/Replay.js +1 -1
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +3 -3
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +43 -82
- package/dist/node_modules/@mui/material/Accordion/accordionClasses.js +2 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +8 -8
- package/dist/node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js +2 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +29 -35
- package/dist/node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js +2 -2
- package/dist/node_modules/@mui/material/Alert/Alert.js +66 -88
- package/dist/node_modules/@mui/material/Alert/alertClasses.js +3 -3
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +8 -8
- package/dist/node_modules/@mui/material/AlertTitle/alertTitleClasses.js +2 -2
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +31 -76
- package/dist/node_modules/@mui/material/Avatar/avatarClasses.js +2 -2
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +7 -7
- package/dist/node_modules/@mui/material/Backdrop/backdropClasses.js +2 -2
- package/dist/node_modules/@mui/material/Badge/Badge.js +117 -178
- package/dist/node_modules/@mui/material/Badge/badgeClasses.js +2 -2
- package/dist/node_modules/@mui/material/Box/Box.js +6 -7
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +4 -6
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +10 -10
- package/dist/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js +2 -2
- package/dist/node_modules/@mui/material/Button/Button.js +20 -24
- package/dist/node_modules/@mui/material/Button/buttonClasses.js +3 -3
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +12 -12
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -0
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +17 -10
- package/dist/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +2 -2
- package/dist/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +1 -1
- package/dist/node_modules/@mui/material/Card/Card.js +8 -8
- package/dist/node_modules/@mui/material/Card/cardClasses.js +2 -2
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +14 -15
- package/dist/node_modules/@mui/material/Checkbox/checkboxClasses.js +2 -2
- package/dist/node_modules/@mui/material/Chip/Chip.js +22 -30
- package/dist/node_modules/@mui/material/Chip/chipClasses.js +2 -2
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +11 -11
- package/dist/node_modules/@mui/material/CircularProgress/circularProgressClasses.js +2 -2
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +18 -16
- package/dist/node_modules/@mui/material/Collapse/collapseClasses.js +2 -2
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +12 -20
- package/dist/node_modules/@mui/material/Dialog/dialogClasses.js +2 -2
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +8 -8
- package/dist/node_modules/@mui/material/DialogActions/dialogActionsClasses.js +2 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +7 -7
- package/dist/node_modules/@mui/material/DialogContent/dialogContentClasses.js +2 -2
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +8 -9
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js +2 -2
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +7 -7
- package/dist/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js +2 -2
- package/dist/node_modules/@mui/material/Divider/dividerClasses.js +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +13 -22
- package/dist/node_modules/@mui/material/Drawer/drawerClasses.js +2 -2
- package/dist/node_modules/@mui/material/Fade/Fade.js +7 -8
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +10 -10
- package/dist/node_modules/@mui/material/FormControl/formControlClasses.js +2 -2
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +11 -10
- package/dist/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +2 -2
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +7 -7
- package/dist/node_modules/@mui/material/FormGroup/formGroupClasses.js +2 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +8 -8
- package/dist/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js +2 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +4 -4
- package/dist/node_modules/@mui/material/Grow/Grow.js +14 -11
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +15 -15
- package/dist/node_modules/@mui/material/IconButton/iconButtonClasses.js +2 -2
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +18 -18
- package/dist/node_modules/@mui/material/InputBase/inputBaseClasses.js +2 -2
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +15 -15
- package/dist/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +2 -2
- package/dist/node_modules/@mui/material/Link/Link.js +11 -11
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js +2 -2
- package/dist/node_modules/@mui/material/Link/linkClasses.js +2 -2
- package/dist/node_modules/@mui/material/List/List.js +7 -7
- package/dist/node_modules/@mui/material/List/listClasses.js +2 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +7 -7
- package/dist/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js +2 -2
- package/dist/node_modules/@mui/material/ListItemText/listItemTextClasses.js +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu.js +16 -18
- package/dist/node_modules/@mui/material/Menu/menuClasses.js +2 -2
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +15 -16
- package/dist/node_modules/@mui/material/MenuItem/menuItemClasses.js +2 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +11 -13
- package/dist/node_modules/@mui/material/Modal/Modal.js +46 -107
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +3 -9
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +10 -11
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +2 -2
- package/dist/node_modules/@mui/material/Paper/Paper.js +11 -11
- package/dist/node_modules/@mui/material/Paper/paperClasses.js +2 -2
- package/dist/node_modules/@mui/material/Popover/Popover.js +25 -39
- package/dist/node_modules/@mui/material/Popover/popoverClasses.js +2 -2
- package/dist/node_modules/@mui/material/Popper/Popper.js +11 -14
- package/dist/node_modules/@mui/material/Radio/Radio.js +17 -19
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +4 -11
- package/dist/node_modules/@mui/material/Radio/radioClasses.js +3 -3
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +9 -30
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +9 -9
- package/dist/node_modules/@mui/material/Skeleton/skeletonClasses.js +2 -2
- package/dist/node_modules/@mui/material/Slide/Slide.js +11 -12
- package/dist/node_modules/@mui/material/Slider/Slider.js +320 -434
- package/dist/node_modules/@mui/material/Slider/sliderClasses.js +3 -3
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +18 -18
- package/dist/node_modules/@mui/material/Snackbar/snackbarClasses.js +2 -2
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +9 -9
- package/dist/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js +2 -2
- package/dist/node_modules/@mui/material/Stack/Stack.js +6 -6
- package/dist/node_modules/@mui/material/Step/Step.js +8 -8
- package/dist/node_modules/@mui/material/Step/stepClasses.js +2 -2
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +8 -8
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses.js +2 -2
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +7 -7
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses.js +2 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +7 -7
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses.js +2 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +10 -12
- package/dist/node_modules/@mui/material/Stepper/stepperClasses.js +3 -3
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +10 -10
- package/dist/node_modules/@mui/material/SvgIcon/svgIconClasses.js +2 -2
- package/dist/node_modules/@mui/material/Switch/Switch.js +52 -71
- package/dist/node_modules/@mui/material/Switch/switchClasses.js +2 -2
- package/dist/node_modules/@mui/material/Tab/Tab.js +10 -12
- package/dist/node_modules/@mui/material/Tab/tabClasses.js +2 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +11 -10
- package/dist/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +5 -6
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +27 -46
- package/dist/node_modules/@mui/material/Tabs/tabsClasses.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +13 -25
- package/dist/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js +3 -3
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +52 -94
- package/dist/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js +3 -3
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +71 -61
- package/dist/node_modules/@mui/material/Tooltip/tooltipClasses.js +2 -2
- package/dist/node_modules/@mui/material/Typography/Typography.js +8 -8
- package/dist/node_modules/@mui/material/Typography/typographyClasses.js +2 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +7 -12
- package/dist/node_modules/@mui/material/internal/switchBaseClasses.js +2 -2
- package/dist/node_modules/@mui/material/{ClickAwayListener → node_modules/@mui/base/ClickAwayListener}/ClickAwayListener.js +15 -12
- package/dist/node_modules/@mui/material/{Unstable_TrapFocus → node_modules/@mui/base/FocusTrap}/FocusTrap.js +53 -56
- package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/Modal.js +250 -0
- package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/modalClasses.js +9 -0
- package/dist/node_modules/@mui/material/{Popper/BasePopper.js → node_modules/@mui/base/Popper/Popper.js} +19 -24
- package/dist/node_modules/@mui/material/node_modules/@mui/base/Popper/popperClasses.js +9 -0
- package/dist/node_modules/@mui/material/{Portal → node_modules/@mui/base/Portal}/Portal.js +12 -16
- package/dist/node_modules/@mui/material/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +226 -0
- package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/ModalManager.js +3 -3
- package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/useModal.js +11 -12
- package/dist/node_modules/@mui/material/{Badge → node_modules/@mui/base/useBadge}/useBadge.js +2 -2
- package/dist/node_modules/@mui/material/{Slider → node_modules/@mui/base/useSlider}/useSlider.js +60 -86
- package/dist/node_modules/@mui/material/{Snackbar → node_modules/@mui/base/useSnackbar}/useSnackbar.js +27 -22
- package/dist/node_modules/@mui/material/node_modules/@mui/base/utils/ClassNameConfigurator.js +20 -0
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/appendOwnerState → base/utils}/appendOwnerState.js +2 -2
- package/dist/node_modules/@mui/material/{utils → node_modules/@mui/base/utils}/areArraysEqual.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/extractEventHandlers → base/utils}/extractEventHandlers.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/isHostComponent → base/utils}/isHostComponent.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/mergeSlotProps → base/utils}/mergeSlotProps.js +5 -5
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/omitEventHandlers → base/utils}/omitEventHandlers.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/resolveComponentProps → base/utils}/resolveComponentProps.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/useSlotProps → base/utils}/useSlotProps.js +5 -5
- package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/cjs/react-is.development.js +60 -32
- package/dist/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.min.js +109 -0
- package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette.js +7 -7
- package/dist/node_modules/@mui/material/styles/createTheme.js +4 -6
- package/dist/node_modules/@mui/material/styles/createTypography.js +1 -1
- package/dist/node_modules/@mui/material/styles/styled.js +6 -4
- package/dist/node_modules/@mui/material/styles/useThemeProps.js +17 -0
- package/dist/node_modules/@mui/material/utils/capitalize.js +1 -1
- package/dist/node_modules/@mui/material/utils/createChainedFunction.js +1 -1
- package/dist/node_modules/@mui/material/utils/debounce.js +1 -1
- package/dist/node_modules/@mui/material/utils/deprecatedPropType.js +1 -1
- package/dist/node_modules/@mui/material/utils/getScrollbarSize.js +1 -1
- package/dist/node_modules/@mui/material/utils/index.js +17 -17
- package/dist/node_modules/@mui/material/utils/isMuiElement.js +1 -1
- package/dist/node_modules/@mui/material/utils/ownerDocument.js +1 -1
- package/dist/node_modules/@mui/material/utils/ownerWindow.js +1 -1
- package/dist/node_modules/@mui/material/utils/requirePropFactory.js +1 -1
- package/dist/node_modules/@mui/material/utils/setRef.js +1 -1
- package/dist/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js +1 -1
- package/dist/node_modules/@mui/material/utils/unsupportedProp.js +1 -1
- package/dist/node_modules/@mui/material/utils/useControlled.js +1 -1
- package/dist/node_modules/@mui/material/utils/useEnhancedEffect.js +1 -1
- package/dist/node_modules/@mui/material/utils/useEventCallback.js +1 -1
- package/dist/node_modules/@mui/material/utils/useForkRef.js +1 -1
- package/dist/node_modules/@mui/material/utils/useId.js +1 -1
- package/dist/node_modules/@mui/material/utils/useIsFocusVisible.js +1 -1
- package/dist/node_modules/@mui/styled-engine/index.js +2 -18
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +5 -29
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +3 -3
- package/dist/node_modules/@mui/system/esm/borders.js +47 -23
- package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator.js +78 -5
- package/dist/node_modules/@mui/system/esm/createStyled.js +79 -92
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +1 -3
- package/dist/node_modules/@mui/system/esm/merge.js +1 -1
- package/dist/node_modules/@mui/system/esm/propsToClassKey.js +23 -0
- package/dist/node_modules/@mui/system/esm/sizing.js +2 -12
- package/dist/node_modules/@mui/system/esm/style.js +1 -1
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -7
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +1 -1
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +3 -10
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +1 -1
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deepmerge/deepmerge.js +5 -6
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/{system/node_modules/@mui/utils/esm → utils}/getDisplayName/getDisplayName.js +1 -1
- package/dist/node_modules/{prop-types → @mui/utils}/node_modules/react-is/cjs/react-is.development.js +60 -32
- package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.min.js +109 -0
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +12 -0
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/refType/refType.js +1 -1
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useControlled/useControlled.js +1 -1
- package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useTimeout/useTimeout.js +1 -9
- package/dist/node_modules/array.prototype.find/implementation.js +37 -0
- package/dist/node_modules/array.prototype.find/index.js +35 -0
- package/dist/node_modules/array.prototype.find/polyfill.js +17 -0
- package/dist/node_modules/array.prototype.find/shim.js +30 -0
- package/dist/node_modules/call-bind/callBound.js +22 -0
- package/dist/node_modules/call-bind/index.js +3 -3
- package/dist/node_modules/enzyme-shallow-equal/build/index.js +53 -0
- package/dist/node_modules/es-abstract/2023/CreateMethodProperty.js +46 -0
- package/dist/node_modules/es-abstract/2023/FromPropertyDescriptor.js +22 -0
- package/dist/node_modules/es-abstract/2023/IsDataDescriptor.js +28 -0
- package/dist/node_modules/es-abstract/2023/SameValue.js +21 -0
- package/dist/node_modules/es-abstract/2025/ToString.js +21 -0
- package/dist/node_modules/es-abstract/helpers/OwnPropertyKeys.js +12 -0
- package/dist/node_modules/es-abstract-get/GetMethod.js +33 -0
- package/dist/node_modules/es-abstract-get/GetV.js +25 -0
- package/dist/node_modules/es-abstract-get/isPropertyKey.js +13 -0
- package/dist/node_modules/es-set-tostringtag/index.js +39 -0
- package/dist/node_modules/es-to-primitive/es2015.js +28 -28
- package/dist/node_modules/function.prototype.name/implementation.js +59 -0
- package/dist/node_modules/function.prototype.name/index.js +23 -0
- package/dist/node_modules/function.prototype.name/polyfill.js +15 -0
- package/dist/node_modules/function.prototype.name/shim.js +47 -0
- package/dist/node_modules/functions-have-names/index.js +36 -0
- package/dist/node_modules/globalthis/implementation.browser.js +17 -0
- package/dist/node_modules/globalthis/index.js +28 -0
- package/dist/node_modules/globalthis/polyfill.js +18 -0
- package/dist/node_modules/globalthis/shim.js +33 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +91 -19
- package/dist/node_modules/is-document.all/index.js +40 -0
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/lodash/lodash.js +5 -25
- package/dist/node_modules/moment/dist/moment.js +195 -255
- package/dist/node_modules/object-is/implementation.js +25 -0
- package/dist/node_modules/object-is/index.js +27 -0
- package/dist/node_modules/object-is/polyfill.js +15 -0
- package/dist/node_modules/object-is/shim.js +23 -0
- package/dist/node_modules/object.assign/implementation.js +52 -0
- package/dist/node_modules/object.assign/index.js +30 -0
- package/dist/node_modules/object.assign/polyfill.js +53 -0
- package/dist/node_modules/object.assign/shim.js +25 -0
- package/dist/node_modules/object.entries/implementation.js +26 -0
- package/dist/node_modules/object.entries/index.js +27 -0
- package/dist/node_modules/object.entries/polyfill.js +15 -0
- package/dist/node_modules/object.entries/shim.js +23 -0
- package/dist/node_modules/object.values/implementation.js +25 -0
- package/dist/node_modules/object.values/index.js +27 -0
- package/dist/node_modules/object.values/polyfill.js +15 -0
- package/dist/node_modules/object.values/shim.js +23 -0
- package/dist/node_modules/own-keys/index.js +26 -0
- package/dist/node_modules/performance-now/lib/performance-now.js +42 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +3 -2
- package/dist/node_modules/prop-types-exact/build/helpers/isPlainObject.js +15 -0
- package/dist/node_modules/prop-types-exact/node_modules/isarray/index.js +14 -0
- package/dist/node_modules/prop-types-exact/src/index.js +52 -0
- package/dist/node_modules/raf/index.js +66 -0
- package/dist/node_modules/react-dates/lib/components/CalendarDay.js +355 -0
- package/dist/node_modules/react-dates/lib/constants.js +68 -0
- package/dist/node_modules/react-dates/lib/defaultPhrases.js +250 -0
- package/dist/node_modules/react-dates/lib/shapes/ModifiersShape.js +41 -0
- package/dist/node_modules/react-dates/lib/theme/DefaultTheme.js +4 -4
- package/dist/node_modules/react-dates/lib/utils/getCalendarDaySettings.js +64 -0
- package/dist/node_modules/react-dates/lib/utils/getPhrase.js +23 -0
- package/dist/node_modules/react-dates/lib/utils/getPhrasePropTypes.js +55 -0
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +3 -3
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +3 -3
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/and.js +53 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/between.js +276 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/booleanSome.js +64 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenHavePropXorChildren.js +65 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenOf.js +105 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenOfType.js +63 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/childrenSequenceOf.js +100 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/componentWithName.js +109 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/disallowedIf.js +64 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/elementType.js +77 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/empty.js +46 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/explicitNull.js +50 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/getComponentName.js +41 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isInteger.js +23 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPlainObject.js +23 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/isPrimitive.js +32 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/renderableChildren.js +26 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/typeOf.js +49 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/helpers/wrapValidator.js +33 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/index.js +123 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/integer.js +45 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/keysOf.js +63 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mocks/index.js +55 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mutuallyExclusiveProps.js +100 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/mutuallyExclusiveTrueProps.js +64 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nChildren.js +47 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nonNegativeInteger.js +27 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/nonNegativeNumber.js +45 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/numericString.js +55 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/object.js +56 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/or.js +96 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/predicate.js +48 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/range.js +49 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/ref.js +58 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/requiredBy.js +49 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/restrictedProp.js +42 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/sequenceOf.js +211 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/shape.js +58 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/stringEndsWith.js +53 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/stringStartsWith.js +53 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/uniqueArray.js +69 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/uniqueArrayOf.js +116 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/valuesOf.js +54 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/build/withShape.js +30 -0
- package/dist/node_modules/react-dates/node_modules/airbnb-prop-types/index.js +13 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +148 -88
- package/dist/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react-is/index.js +13 -8
- package/dist/node_modules/react-moment-proptypes/src/core.js +96 -0
- package/dist/node_modules/react-moment-proptypes/src/index.js +48 -0
- package/dist/node_modules/react-moment-proptypes/src/moment-validation-wrapper.js +24 -0
- package/dist/node_modules/react-with-styles/lib/ThemedStyleSheet.js +6 -6
- package/dist/node_modules/react-with-styles/lib/WithStylesContext.js +57 -0
- package/dist/node_modules/react-with-styles/lib/utils/emptyStylesFn.js +22 -0
- package/dist/node_modules/react-with-styles/lib/utils/perf.js +49 -0
- package/dist/node_modules/react-with-styles/lib/withStyles.js +252 -0
- package/dist/node_modules/react-with-styles/lib/withStylesPropTypes.js +28 -0
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/getComponentName.js +41 -0
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/isPlainObject.js +23 -0
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/helpers/wrapValidator.js +33 -0
- package/dist/node_modules/react-with-styles/node_modules/airbnb-prop-types/build/ref.js +58 -0
- package/dist/node_modules/react-with-styles/node_modules/deepmerge/dist/cjs.js +85 -0
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/constants.js +18 -0
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/proptypes/brcast.js +26 -0
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/proptypes/direction.js +27 -0
- package/dist/node_modules/react-with-styles/node_modules/react-with-direction/dist/withDirection.js +160 -0
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +5 -5
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/constants.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +3 -3
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +4 -4
- package/dist/node_modules/reflect.ownkeys/implementation.js +15 -0
- package/dist/node_modules/reflect.ownkeys/index.js +27 -0
- package/dist/node_modules/reflect.ownkeys/polyfill.js +18 -0
- package/dist/node_modules/reflect.ownkeys/shim.js +30 -0
- package/dist/node_modules/safe-push-apply/index.js +22 -0
- package/dist/node_modules/safe-push-apply/node_modules/isarray/index.js +14 -0
- package/dist/node_modules/string.prototype.trim/implementation.js +12 -4
- package/dist/stories/LocaleDictionaryCollapse.d.ts +1 -1
- package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
- package/dist/stories/generated/cdnGetAssetUrlManifest.d.ts +6 -0
- package/dist/stories/generated/cdnGetAssetUrlManifest.d.ts.map +1 -0
- package/dist/stories/i18nDemo.d.ts +1 -1
- package/dist/stories/i18nDemo.d.ts.map +1 -1
- package/dist/storybook-utils/rootAttributes.d.ts +1 -1
- package/dist/storybook-utils/rootAttributes.d.ts.map +1 -1
- package/package.json +7 -2
- package/dist/_virtual/colorManipulator.js +0 -4
- package/dist/_virtual/createStyled.js +0 -4
- package/dist/_virtual/index12.js +0 -6
- package/dist/_virtual/index13.js +0 -4
- package/dist/_virtual/index14.js +0 -4
- package/dist/_virtual/index15.js +0 -4
- package/dist/_virtual/index16.js +0 -4
- package/dist/_virtual/react-is.production.js +0 -4
- package/dist/_virtual/useThemeWithoutDefault.js +0 -4
- package/dist/node_modules/@mui/material/Box/boxClasses.js +0 -5
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +0 -25
- package/dist/node_modules/@mui/material/Modal/modalClasses.js +0 -9
- package/dist/node_modules/@mui/material/Popper/popperClasses.js +0 -9
- package/dist/node_modules/@mui/material/RadioGroup/radioGroupClasses.js +0 -9
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +0 -216
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js +0 -7
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -12
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -8
- package/dist/node_modules/@mui/material/styles/rootShouldForwardProp.js +0 -5
- package/dist/node_modules/@mui/material/styles/slotShouldForwardProp.js +0 -6
- package/dist/node_modules/@mui/material/utils/useSlot.js +0 -55
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -65
- package/dist/node_modules/@mui/system/colorManipulator.js +0 -271
- package/dist/node_modules/@mui/system/createStyled.js +0 -265
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -53
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +0 -17
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -16
- package/dist/node_modules/@mui/system/esm/createTheme/index.js +0 -8
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/index.js +0 -9
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +0 -39
- package/dist/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
- package/dist/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
- package/dist/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
- package/dist/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -42
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -106
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -17
- package/dist/node_modules/react-is/cjs/react-is.production.js +0 -103
- /package/dist/_virtual/{react-is.development2.js → react-is2.development.js} +0 -0
- /package/dist/_virtual/{react-is.production.min2.js → react-is2.production.min.js} +0 -0
- /package/dist/_virtual/{react-is.development3.js → react-is3.development.js} +0 -0
- /package/dist/node_modules/@emotion/{unitless → serialize/node_modules/@emotion/unitless}/dist/emotion-unitless.esm.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ClassNameGenerator/ClassNameGenerator.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/HTMLElementType/HTMLElementType.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/capitalize/capitalize.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/chainPropTypes/chainPropTypes.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/composeClasses/composeClasses.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/createChainedFunction/createChainedFunction.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/debounce/debounce.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deprecatedPropType/deprecatedPropType.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/exactProp/exactProp.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClass/generateUtilityClass.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClasses/generateUtilityClasses.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/getScrollbarSize/getScrollbarSize.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/integerPropType/integerPropType.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/isMuiElement/isMuiElement.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerDocument/ownerDocument.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerWindow/ownerWindow.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/requirePropFactory/requirePropFactory.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/resolveProps/resolveProps.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/scrollLeft/scrollLeft.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/setRef/setRef.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/unsupportedProp/unsupportedProp.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEnhancedEffect/useEnhancedEffect.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEventCallback/useEventCallback.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useForkRef/useForkRef.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useId/useId.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useIsFocusVisible/useIsFocusVisible.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/usePreviousProps/usePreviousProps.js +0 -0
- /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/visuallyHidden/visuallyHidden.js +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import PropTypes from "
|
|
2
|
+
import PropTypes from "../../../../../../prop-types/index.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
import useForkRef from "
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import exactProp from "../node_modules/@mui/utils/esm/exactProp/exactProp.js";
|
|
4
|
+
import useForkRef from "../../../../../utils/useForkRef/useForkRef.js";
|
|
5
|
+
import useEventCallback from "../../../../../utils/useEventCallback/useEventCallback.js";
|
|
6
|
+
import ownerDocument from "../../../../../utils/ownerDocument/ownerDocument.js";
|
|
7
|
+
import elementAcceptingRef from "../../../../../utils/elementAcceptingRef/elementAcceptingRef.js";
|
|
8
|
+
import exactProp from "../../../../../utils/exactProp/exactProp.js";
|
|
10
9
|
function mapEventPropToEvent(eventProp) {
|
|
11
10
|
return eventProp.substring(2).toLowerCase();
|
|
12
11
|
}
|
|
@@ -33,7 +32,11 @@ function ClickAwayListener(props) {
|
|
|
33
32
|
activatedRef.current = false;
|
|
34
33
|
};
|
|
35
34
|
}, []);
|
|
36
|
-
const handleRef = useForkRef(
|
|
35
|
+
const handleRef = useForkRef(
|
|
36
|
+
// @ts-expect-error TODO upstream fix
|
|
37
|
+
children.ref,
|
|
38
|
+
nodeRef
|
|
39
|
+
);
|
|
37
40
|
const handleClickAway = useEventCallback((event) => {
|
|
38
41
|
const insideReactTree = syntheticEventRef.current;
|
|
39
42
|
syntheticEventRef.current = false;
|
|
@@ -109,10 +112,10 @@ function ClickAwayListener(props) {
|
|
|
109
112
|
});
|
|
110
113
|
}
|
|
111
114
|
process.env.NODE_ENV !== "production" ? ClickAwayListener.propTypes = {
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
//
|
|
115
|
-
//
|
|
115
|
+
// ----------------------------- Warning --------------------------------
|
|
116
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
117
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
118
|
+
// ----------------------------------------------------------------------
|
|
116
119
|
/**
|
|
117
120
|
* The wrapped element.
|
|
118
121
|
*/
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import PropTypes from "
|
|
2
|
+
import PropTypes from "../../../../../../prop-types/index.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
|
-
import useForkRef from "
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import exactProp from "../node_modules/@mui/utils/esm/exactProp/exactProp.js";
|
|
4
|
+
import useForkRef from "../../../../../utils/useForkRef/useForkRef.js";
|
|
5
|
+
import ownerDocument from "../../../../../utils/ownerDocument/ownerDocument.js";
|
|
6
|
+
import elementAcceptingRef from "../../../../../utils/elementAcceptingRef/elementAcceptingRef.js";
|
|
7
|
+
import exactProp from "../../../../../utils/exactProp/exactProp.js";
|
|
9
8
|
const candidatesSelector = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
|
|
10
9
|
function getTabIndex(node) {
|
|
11
10
|
const tabindexAttr = parseInt(node.getAttribute("tabindex") || "", 10);
|
|
@@ -77,7 +76,7 @@ function FocusTrap(props) {
|
|
|
77
76
|
const reactFocusEventTarget = React.useRef(null);
|
|
78
77
|
const activated = React.useRef(false);
|
|
79
78
|
const rootRef = React.useRef(null);
|
|
80
|
-
const handleRef = useForkRef(
|
|
79
|
+
const handleRef = useForkRef(children.ref, rootRef);
|
|
81
80
|
const lastKeydown = React.useRef(null);
|
|
82
81
|
React.useEffect(() => {
|
|
83
82
|
if (!open || !rootRef.current) {
|
|
@@ -116,66 +115,64 @@ function FocusTrap(props) {
|
|
|
116
115
|
return;
|
|
117
116
|
}
|
|
118
117
|
const doc = ownerDocument(rootRef.current);
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {
|
|
125
|
-
ignoreNextEnforceFocus.current = true;
|
|
126
|
-
if (sentinelEnd.current) {
|
|
127
|
-
sentinelEnd.current.focus();
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
const contain = () => {
|
|
132
|
-
const rootElement = rootRef.current;
|
|
118
|
+
const contain = (nativeEvent) => {
|
|
119
|
+
const {
|
|
120
|
+
current: rootElement
|
|
121
|
+
} = rootRef;
|
|
133
122
|
if (rootElement === null) {
|
|
134
123
|
return;
|
|
135
124
|
}
|
|
136
|
-
if (!doc.hasFocus() || !isEnabled() || ignoreNextEnforceFocus.current) {
|
|
125
|
+
if (!doc.hasFocus() || disableEnforceFocus || !isEnabled() || ignoreNextEnforceFocus.current) {
|
|
137
126
|
ignoreNextEnforceFocus.current = false;
|
|
138
127
|
return;
|
|
139
128
|
}
|
|
140
|
-
if (rootElement.contains(doc.activeElement)) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
129
|
+
if (!rootElement.contains(doc.activeElement)) {
|
|
130
|
+
if (nativeEvent && reactFocusEventTarget.current !== nativeEvent.target || doc.activeElement !== reactFocusEventTarget.current) {
|
|
131
|
+
reactFocusEventTarget.current = null;
|
|
132
|
+
} else if (reactFocusEventTarget.current !== null) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (!activated.current) {
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
let tabbable = [];
|
|
139
|
+
if (doc.activeElement === sentinelStart.current || doc.activeElement === sentinelEnd.current) {
|
|
140
|
+
tabbable = getTabbable(rootRef.current);
|
|
141
|
+
}
|
|
142
|
+
if (tabbable.length > 0) {
|
|
143
|
+
var _lastKeydown$current, _lastKeydown$current2;
|
|
144
|
+
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === "Tab");
|
|
145
|
+
const focusNext = tabbable[0];
|
|
146
|
+
const focusPrevious = tabbable[tabbable.length - 1];
|
|
147
|
+
if (typeof focusNext !== "string" && typeof focusPrevious !== "string") {
|
|
148
|
+
if (isShiftTab) {
|
|
149
|
+
focusPrevious.focus();
|
|
150
|
+
} else {
|
|
151
|
+
focusNext.focus();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
} else {
|
|
155
|
+
rootElement.focus();
|
|
156
|
+
}
|
|
150
157
|
}
|
|
151
|
-
|
|
158
|
+
};
|
|
159
|
+
const loopFocus = (nativeEvent) => {
|
|
160
|
+
lastKeydown.current = nativeEvent;
|
|
161
|
+
if (disableEnforceFocus || !isEnabled() || nativeEvent.key !== "Tab") {
|
|
152
162
|
return;
|
|
153
163
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
if (tabbable.length > 0) {
|
|
159
|
-
var _lastKeydown$current, _lastKeydown$current2;
|
|
160
|
-
const isShiftTab = Boolean(((_lastKeydown$current = lastKeydown.current) == null ? void 0 : _lastKeydown$current.shiftKey) && ((_lastKeydown$current2 = lastKeydown.current) == null ? void 0 : _lastKeydown$current2.key) === "Tab");
|
|
161
|
-
const focusNext = tabbable[0];
|
|
162
|
-
const focusPrevious = tabbable[tabbable.length - 1];
|
|
163
|
-
if (typeof focusNext !== "string" && typeof focusPrevious !== "string") {
|
|
164
|
-
if (isShiftTab) {
|
|
165
|
-
focusPrevious.focus();
|
|
166
|
-
} else {
|
|
167
|
-
focusNext.focus();
|
|
168
|
-
}
|
|
164
|
+
if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {
|
|
165
|
+
ignoreNextEnforceFocus.current = true;
|
|
166
|
+
if (sentinelEnd.current) {
|
|
167
|
+
sentinelEnd.current.focus();
|
|
169
168
|
}
|
|
170
|
-
} else {
|
|
171
|
-
rootElement.focus();
|
|
172
169
|
}
|
|
173
170
|
};
|
|
174
171
|
doc.addEventListener("focusin", contain);
|
|
175
172
|
doc.addEventListener("keydown", loopFocus, true);
|
|
176
173
|
const interval = setInterval(() => {
|
|
177
174
|
if (doc.activeElement && doc.activeElement.tagName === "BODY") {
|
|
178
|
-
contain();
|
|
175
|
+
contain(null);
|
|
179
176
|
}
|
|
180
177
|
}, 50);
|
|
181
178
|
return () => {
|
|
@@ -219,10 +216,10 @@ function FocusTrap(props) {
|
|
|
219
216
|
});
|
|
220
217
|
}
|
|
221
218
|
process.env.NODE_ENV !== "production" ? FocusTrap.propTypes = {
|
|
222
|
-
//
|
|
223
|
-
//
|
|
224
|
-
//
|
|
225
|
-
//
|
|
219
|
+
// ----------------------------- Warning --------------------------------
|
|
220
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
221
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
222
|
+
// ----------------------------------------------------------------------
|
|
226
223
|
/**
|
|
227
224
|
* A single child content element.
|
|
228
225
|
*/
|
|
@@ -276,5 +273,5 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
276
273
|
FocusTrap["propTypes"] = exactProp(FocusTrap.propTypes);
|
|
277
274
|
}
|
|
278
275
|
export {
|
|
279
|
-
FocusTrap
|
|
276
|
+
FocusTrap
|
|
280
277
|
};
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
+
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import PropTypes from "../../../../../../prop-types/index.js";
|
|
5
|
+
import { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
|
|
6
|
+
import { getModalUtilityClass } from "./modalClasses.js";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { useModal } from "../unstable_useModal/useModal.js";
|
|
9
|
+
import { useSlotProps } from "../utils/useSlotProps.js";
|
|
10
|
+
import { Portal } from "../Portal/Portal.js";
|
|
11
|
+
import { FocusTrap } from "../FocusTrap/FocusTrap.js";
|
|
12
|
+
import composeClasses from "../../../../../utils/composeClasses/composeClasses.js";
|
|
13
|
+
import elementAcceptingRef from "../../../../../utils/elementAcceptingRef/elementAcceptingRef.js";
|
|
14
|
+
import HTMLElementType from "../../../../../utils/HTMLElementType/HTMLElementType.js";
|
|
15
|
+
const _excluded = ["children", "closeAfterTransition", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
|
|
16
|
+
const useUtilityClasses = (ownerState) => {
|
|
17
|
+
const {
|
|
18
|
+
open,
|
|
19
|
+
exited
|
|
20
|
+
} = ownerState;
|
|
21
|
+
const slots = {
|
|
22
|
+
root: ["root", !open && exited && "hidden"],
|
|
23
|
+
backdrop: ["backdrop"]
|
|
24
|
+
};
|
|
25
|
+
return composeClasses(slots, useClassNamesOverride(getModalUtilityClass));
|
|
26
|
+
};
|
|
27
|
+
const Modal = /* @__PURE__ */ React.forwardRef(function Modal2(props, forwardedRef) {
|
|
28
|
+
var _slots$root;
|
|
29
|
+
const {
|
|
30
|
+
children,
|
|
31
|
+
closeAfterTransition = false,
|
|
32
|
+
container,
|
|
33
|
+
disableAutoFocus = false,
|
|
34
|
+
disableEnforceFocus = false,
|
|
35
|
+
disableEscapeKeyDown = false,
|
|
36
|
+
disablePortal = false,
|
|
37
|
+
disableRestoreFocus = false,
|
|
38
|
+
disableScrollLock = false,
|
|
39
|
+
hideBackdrop = false,
|
|
40
|
+
keepMounted = false,
|
|
41
|
+
onBackdropClick,
|
|
42
|
+
open,
|
|
43
|
+
slotProps = {},
|
|
44
|
+
slots = {}
|
|
45
|
+
} = props, other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
46
|
+
const propsWithDefaults = _extends({}, props, {
|
|
47
|
+
closeAfterTransition,
|
|
48
|
+
disableAutoFocus,
|
|
49
|
+
disableEnforceFocus,
|
|
50
|
+
disableEscapeKeyDown,
|
|
51
|
+
disablePortal,
|
|
52
|
+
disableRestoreFocus,
|
|
53
|
+
disableScrollLock,
|
|
54
|
+
hideBackdrop,
|
|
55
|
+
keepMounted
|
|
56
|
+
});
|
|
57
|
+
const {
|
|
58
|
+
getRootProps,
|
|
59
|
+
getBackdropProps,
|
|
60
|
+
getTransitionProps,
|
|
61
|
+
portalRef,
|
|
62
|
+
isTopModal,
|
|
63
|
+
exited,
|
|
64
|
+
hasTransition
|
|
65
|
+
} = useModal(_extends({}, propsWithDefaults, {
|
|
66
|
+
rootRef: forwardedRef
|
|
67
|
+
}));
|
|
68
|
+
const ownerState = _extends({}, propsWithDefaults, {
|
|
69
|
+
exited,
|
|
70
|
+
hasTransition
|
|
71
|
+
});
|
|
72
|
+
const classes = useUtilityClasses(ownerState);
|
|
73
|
+
const childProps = {};
|
|
74
|
+
if (children.props.tabIndex === void 0) {
|
|
75
|
+
childProps.tabIndex = "-1";
|
|
76
|
+
}
|
|
77
|
+
if (hasTransition) {
|
|
78
|
+
const {
|
|
79
|
+
onEnter,
|
|
80
|
+
onExited
|
|
81
|
+
} = getTransitionProps();
|
|
82
|
+
childProps.onEnter = onEnter;
|
|
83
|
+
childProps.onExited = onExited;
|
|
84
|
+
}
|
|
85
|
+
const Root = (_slots$root = slots.root) != null ? _slots$root : "div";
|
|
86
|
+
const rootProps = useSlotProps({
|
|
87
|
+
elementType: Root,
|
|
88
|
+
externalSlotProps: slotProps.root,
|
|
89
|
+
externalForwardedProps: other,
|
|
90
|
+
getSlotProps: getRootProps,
|
|
91
|
+
className: classes.root,
|
|
92
|
+
ownerState
|
|
93
|
+
});
|
|
94
|
+
const BackdropComponent = slots.backdrop;
|
|
95
|
+
const backdropProps = useSlotProps({
|
|
96
|
+
elementType: BackdropComponent,
|
|
97
|
+
externalSlotProps: slotProps.backdrop,
|
|
98
|
+
getSlotProps: (otherHandlers) => {
|
|
99
|
+
return getBackdropProps(_extends({}, otherHandlers, {
|
|
100
|
+
onClick: (e) => {
|
|
101
|
+
if (onBackdropClick) {
|
|
102
|
+
onBackdropClick(e);
|
|
103
|
+
}
|
|
104
|
+
if (otherHandlers != null && otherHandlers.onClick) {
|
|
105
|
+
otherHandlers.onClick(e);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}));
|
|
109
|
+
},
|
|
110
|
+
className: classes.backdrop,
|
|
111
|
+
ownerState
|
|
112
|
+
});
|
|
113
|
+
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
return /* @__PURE__ */ jsx(Portal, {
|
|
117
|
+
ref: portalRef,
|
|
118
|
+
container,
|
|
119
|
+
disablePortal,
|
|
120
|
+
children: /* @__PURE__ */ jsxs(Root, _extends({}, rootProps, {
|
|
121
|
+
children: [!hideBackdrop && BackdropComponent ? /* @__PURE__ */ jsx(BackdropComponent, _extends({}, backdropProps)) : null, /* @__PURE__ */ jsx(FocusTrap, {
|
|
122
|
+
disableEnforceFocus,
|
|
123
|
+
disableAutoFocus,
|
|
124
|
+
disableRestoreFocus,
|
|
125
|
+
isEnabled: isTopModal,
|
|
126
|
+
open,
|
|
127
|
+
children: /* @__PURE__ */ React.cloneElement(children, childProps)
|
|
128
|
+
})]
|
|
129
|
+
}))
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
process.env.NODE_ENV !== "production" ? Modal.propTypes = {
|
|
133
|
+
// ----------------------------- Warning --------------------------------
|
|
134
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
135
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
136
|
+
// ----------------------------------------------------------------------
|
|
137
|
+
/**
|
|
138
|
+
* A single child content element.
|
|
139
|
+
*/
|
|
140
|
+
children: elementAcceptingRef.isRequired,
|
|
141
|
+
/**
|
|
142
|
+
* When set to true the Modal waits until a nested Transition is completed before closing.
|
|
143
|
+
* @default false
|
|
144
|
+
*/
|
|
145
|
+
closeAfterTransition: PropTypes.bool,
|
|
146
|
+
/**
|
|
147
|
+
* An HTML element or function that returns one.
|
|
148
|
+
* The `container` will have the portal children appended to it.
|
|
149
|
+
*
|
|
150
|
+
* By default, it uses the body of the top-level document object,
|
|
151
|
+
* so it's simply `document.body` most of the time.
|
|
152
|
+
*/
|
|
153
|
+
container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
|
|
154
|
+
/**
|
|
155
|
+
* If `true`, the modal will not automatically shift focus to itself when it opens, and
|
|
156
|
+
* replace it to the last focused element when it closes.
|
|
157
|
+
* This also works correctly with any modal children that have the `disableAutoFocus` prop.
|
|
158
|
+
*
|
|
159
|
+
* Generally this should never be set to `true` as it makes the modal less
|
|
160
|
+
* accessible to assistive technologies, like screen readers.
|
|
161
|
+
* @default false
|
|
162
|
+
*/
|
|
163
|
+
disableAutoFocus: PropTypes.bool,
|
|
164
|
+
/**
|
|
165
|
+
* If `true`, the modal will not prevent focus from leaving the modal while open.
|
|
166
|
+
*
|
|
167
|
+
* Generally this should never be set to `true` as it makes the modal less
|
|
168
|
+
* accessible to assistive technologies, like screen readers.
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
171
|
+
disableEnforceFocus: PropTypes.bool,
|
|
172
|
+
/**
|
|
173
|
+
* If `true`, hitting escape will not fire the `onClose` callback.
|
|
174
|
+
* @default false
|
|
175
|
+
*/
|
|
176
|
+
disableEscapeKeyDown: PropTypes.bool,
|
|
177
|
+
/**
|
|
178
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
179
|
+
* @default false
|
|
180
|
+
*/
|
|
181
|
+
disablePortal: PropTypes.bool,
|
|
182
|
+
/**
|
|
183
|
+
* If `true`, the modal will not restore focus to previously focused element once
|
|
184
|
+
* modal is hidden or unmounted.
|
|
185
|
+
* @default false
|
|
186
|
+
*/
|
|
187
|
+
disableRestoreFocus: PropTypes.bool,
|
|
188
|
+
/**
|
|
189
|
+
* Disable the scroll lock behavior.
|
|
190
|
+
* @default false
|
|
191
|
+
*/
|
|
192
|
+
disableScrollLock: PropTypes.bool,
|
|
193
|
+
/**
|
|
194
|
+
* If `true`, the backdrop is not rendered.
|
|
195
|
+
* @default false
|
|
196
|
+
*/
|
|
197
|
+
hideBackdrop: PropTypes.bool,
|
|
198
|
+
/**
|
|
199
|
+
* Always keep the children in the DOM.
|
|
200
|
+
* This prop can be useful in SEO situation or
|
|
201
|
+
* when you want to maximize the responsiveness of the Modal.
|
|
202
|
+
* @default false
|
|
203
|
+
*/
|
|
204
|
+
keepMounted: PropTypes.bool,
|
|
205
|
+
/**
|
|
206
|
+
* Callback fired when the backdrop is clicked.
|
|
207
|
+
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
208
|
+
*/
|
|
209
|
+
onBackdropClick: PropTypes.func,
|
|
210
|
+
/**
|
|
211
|
+
* Callback fired when the component requests to be closed.
|
|
212
|
+
* The `reason` parameter can optionally be used to control the response to `onClose`.
|
|
213
|
+
*
|
|
214
|
+
* @param {object} event The event source of the callback.
|
|
215
|
+
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
216
|
+
*/
|
|
217
|
+
onClose: PropTypes.func,
|
|
218
|
+
/**
|
|
219
|
+
* A function called when a transition enters.
|
|
220
|
+
*/
|
|
221
|
+
onTransitionEnter: PropTypes.func,
|
|
222
|
+
/**
|
|
223
|
+
* A function called when a transition has exited.
|
|
224
|
+
*/
|
|
225
|
+
onTransitionExited: PropTypes.func,
|
|
226
|
+
/**
|
|
227
|
+
* If `true`, the component is shown.
|
|
228
|
+
*/
|
|
229
|
+
open: PropTypes.bool.isRequired,
|
|
230
|
+
/**
|
|
231
|
+
* The props used for each slot inside the Modal.
|
|
232
|
+
* @default {}
|
|
233
|
+
*/
|
|
234
|
+
slotProps: PropTypes.shape({
|
|
235
|
+
backdrop: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
236
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
237
|
+
}),
|
|
238
|
+
/**
|
|
239
|
+
* The components used for each slot inside the Modal.
|
|
240
|
+
* Either a string to use a HTML element or a component.
|
|
241
|
+
* @default {}
|
|
242
|
+
*/
|
|
243
|
+
slots: PropTypes.shape({
|
|
244
|
+
backdrop: PropTypes.elementType,
|
|
245
|
+
root: PropTypes.elementType
|
|
246
|
+
})
|
|
247
|
+
} : void 0;
|
|
248
|
+
export {
|
|
249
|
+
Modal
|
|
250
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateUtilityClasses from "../../../../../utils/generateUtilityClasses/generateUtilityClasses.js";
|
|
2
|
+
import generateUtilityClass from "../../../../../utils/generateUtilityClass/generateUtilityClass.js";
|
|
3
|
+
function getModalUtilityClass(slot) {
|
|
4
|
+
return generateUtilityClass("MuiModal", slot);
|
|
5
|
+
}
|
|
6
|
+
generateUtilityClasses("MuiModal", ["root", "hidden", "backdrop"]);
|
|
7
|
+
export {
|
|
8
|
+
getModalUtilityClass
|
|
9
|
+
};
|
|
@@ -2,18 +2,19 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { createPopper } from "@popperjs/core";
|
|
5
|
-
import PropTypes from "
|
|
5
|
+
import PropTypes from "../../../../../../prop-types/index.js";
|
|
6
6
|
import { getPopperUtilityClass } from "./popperClasses.js";
|
|
7
|
+
import { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
import ownerDocument from "
|
|
9
|
-
import Portal from "../Portal/Portal.js";
|
|
10
|
-
import useForkRef from "
|
|
11
|
-
import useEnhancedEffect from "
|
|
12
|
-
import useSlotProps from "../
|
|
13
|
-
import composeClasses from "
|
|
14
|
-
import refType from "
|
|
15
|
-
import HTMLElementType from "
|
|
16
|
-
import chainPropTypes from "
|
|
9
|
+
import ownerDocument from "../../../../../utils/ownerDocument/ownerDocument.js";
|
|
10
|
+
import { Portal } from "../Portal/Portal.js";
|
|
11
|
+
import useForkRef from "../../../../../utils/useForkRef/useForkRef.js";
|
|
12
|
+
import useEnhancedEffect from "../../../../../utils/useEnhancedEffect/useEnhancedEffect.js";
|
|
13
|
+
import { useSlotProps } from "../utils/useSlotProps.js";
|
|
14
|
+
import composeClasses from "../../../../../utils/composeClasses/composeClasses.js";
|
|
15
|
+
import refType from "../../../../../utils/refType/refType.js";
|
|
16
|
+
import HTMLElementType from "../../../../../utils/HTMLElementType/HTMLElementType.js";
|
|
17
|
+
import chainPropTypes from "../../../../../utils/chainPropTypes/chainPropTypes.js";
|
|
17
18
|
const _excluded = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], _excluded2 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
18
19
|
function flipPlacement(placement, direction) {
|
|
19
20
|
if (direction === "ltr") {
|
|
@@ -41,14 +42,11 @@ function isHTMLElement(element) {
|
|
|
41
42
|
function isVirtualElement(element) {
|
|
42
43
|
return !isHTMLElement(element);
|
|
43
44
|
}
|
|
44
|
-
const useUtilityClasses = (
|
|
45
|
-
const {
|
|
46
|
-
classes
|
|
47
|
-
} = ownerState;
|
|
45
|
+
const useUtilityClasses = () => {
|
|
48
46
|
const slots = {
|
|
49
47
|
root: ["root"]
|
|
50
48
|
};
|
|
51
|
-
return composeClasses(slots, getPopperUtilityClass
|
|
49
|
+
return composeClasses(slots, useClassNamesOverride(getPopperUtilityClass));
|
|
52
50
|
};
|
|
53
51
|
const defaultPopperOptions = {};
|
|
54
52
|
const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(props, forwardedRef) {
|
|
@@ -149,7 +147,7 @@ const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(p
|
|
|
149
147
|
if (TransitionProps !== null) {
|
|
150
148
|
childProps.TransitionProps = TransitionProps;
|
|
151
149
|
}
|
|
152
|
-
const classes = useUtilityClasses(
|
|
150
|
+
const classes = useUtilityClasses();
|
|
153
151
|
const Root = (_slots$root = slots.root) != null ? _slots$root : "div";
|
|
154
152
|
const rootProps = useSlotProps({
|
|
155
153
|
elementType: Root,
|
|
@@ -237,10 +235,10 @@ const Popper = /* @__PURE__ */ React.forwardRef(function Popper2(props, forwarde
|
|
|
237
235
|
});
|
|
238
236
|
});
|
|
239
237
|
process.env.NODE_ENV !== "production" ? Popper.propTypes = {
|
|
240
|
-
//
|
|
241
|
-
//
|
|
242
|
-
//
|
|
243
|
-
//
|
|
238
|
+
// ----------------------------- Warning --------------------------------
|
|
239
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
240
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
241
|
+
// ----------------------------------------------------------------------
|
|
244
242
|
/**
|
|
245
243
|
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
246
244
|
* or a function that returns either.
|
|
@@ -269,9 +267,6 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes = {
|
|
|
269
267
|
* An HTML element or function that returns one.
|
|
270
268
|
* The `container` will have the portal children appended to it.
|
|
271
269
|
*
|
|
272
|
-
* You can also provide a callback, which is called in a React layout effect.
|
|
273
|
-
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
274
|
-
*
|
|
275
270
|
* By default, it uses the body of the top-level document object,
|
|
276
271
|
* so it's simply `document.body` most of the time.
|
|
277
272
|
*/
|
|
@@ -358,5 +353,5 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes = {
|
|
|
358
353
|
transition: PropTypes.bool
|
|
359
354
|
} : void 0;
|
|
360
355
|
export {
|
|
361
|
-
Popper
|
|
356
|
+
Popper
|
|
362
357
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateUtilityClass from "../../../../../utils/generateUtilityClass/generateUtilityClass.js";
|
|
2
|
+
import generateUtilityClasses from "../../../../../utils/generateUtilityClasses/generateUtilityClasses.js";
|
|
3
|
+
function getPopperUtilityClass(slot) {
|
|
4
|
+
return generateUtilityClass("MuiPopper", slot);
|
|
5
|
+
}
|
|
6
|
+
generateUtilityClasses("MuiPopper", ["root"]);
|
|
7
|
+
export {
|
|
8
|
+
getPopperUtilityClass
|
|
9
|
+
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import * as ReactDOM from "react-dom";
|
|
3
|
-
import PropTypes from "
|
|
3
|
+
import PropTypes from "../../../../../../prop-types/index.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import useForkRef from "
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import exactProp from "../node_modules/@mui/utils/esm/exactProp/exactProp.js";
|
|
5
|
+
import useForkRef from "../../../../../utils/useForkRef/useForkRef.js";
|
|
6
|
+
import useEnhancedEffect from "../../../../../utils/useEnhancedEffect/useEnhancedEffect.js";
|
|
7
|
+
import setRef from "../../../../../utils/setRef/setRef.js";
|
|
8
|
+
import HTMLElementType from "../../../../../utils/HTMLElementType/HTMLElementType.js";
|
|
9
|
+
import exactProp from "../../../../../utils/exactProp/exactProp.js";
|
|
11
10
|
function getContainer(container) {
|
|
12
11
|
return typeof container === "function" ? container() : container;
|
|
13
12
|
}
|
|
@@ -18,7 +17,7 @@ const Portal = /* @__PURE__ */ React.forwardRef(function Portal2(props, forwarde
|
|
|
18
17
|
disablePortal = false
|
|
19
18
|
} = props;
|
|
20
19
|
const [mountNode, setMountNode] = React.useState(null);
|
|
21
|
-
const handleRef = useForkRef(/* @__PURE__ */ React.isValidElement(children) ?
|
|
20
|
+
const handleRef = useForkRef(/* @__PURE__ */ React.isValidElement(children) ? children.ref : null, forwardedRef);
|
|
22
21
|
useEnhancedEffect(() => {
|
|
23
22
|
if (!disablePortal) {
|
|
24
23
|
setMountNode(getContainer(container) || document.body);
|
|
@@ -49,10 +48,10 @@ const Portal = /* @__PURE__ */ React.forwardRef(function Portal2(props, forwarde
|
|
|
49
48
|
});
|
|
50
49
|
});
|
|
51
50
|
process.env.NODE_ENV !== "production" ? Portal.propTypes = {
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
51
|
+
// ----------------------------- Warning --------------------------------
|
|
52
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
53
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
54
|
+
// ----------------------------------------------------------------------
|
|
56
55
|
/**
|
|
57
56
|
* The children to render into the `container`.
|
|
58
57
|
*/
|
|
@@ -61,9 +60,6 @@ process.env.NODE_ENV !== "production" ? Portal.propTypes = {
|
|
|
61
60
|
* An HTML element or function that returns one.
|
|
62
61
|
* The `container` will have the portal children appended to it.
|
|
63
62
|
*
|
|
64
|
-
* You can also provide a callback, which is called in a React layout effect.
|
|
65
|
-
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
66
|
-
*
|
|
67
63
|
* By default, it uses the body of the top-level document object,
|
|
68
64
|
* so it's simply `document.body` most of the time.
|
|
69
65
|
*/
|
|
@@ -78,5 +74,5 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
78
74
|
Portal["propTypes"] = exactProp(Portal.propTypes);
|
|
79
75
|
}
|
|
80
76
|
export {
|
|
81
|
-
Portal
|
|
77
|
+
Portal
|
|
82
78
|
};
|