@hitachivantara/uikit-react-lab 4.0.3 → 4.0.4
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/ColorPicker/ColorPicker.js +25 -78
- package/dist/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/ColorPicker/Fields/Fields.js +15 -47
- package/dist/ColorPicker/Fields/Fields.js.map +1 -1
- package/dist/ColorPicker/Fields/index.js +0 -2
- package/dist/ColorPicker/Fields/index.js.map +1 -1
- package/dist/ColorPicker/Fields/styles.js +0 -2
- package/dist/ColorPicker/Fields/styles.js.map +1 -1
- package/dist/ColorPicker/Picker/Picker.js +5 -23
- package/dist/ColorPicker/Picker/Picker.js.map +1 -1
- package/dist/ColorPicker/Picker/index.js +0 -2
- package/dist/ColorPicker/Picker/index.js.map +1 -1
- package/dist/ColorPicker/Picker/styles.js +0 -2
- package/dist/ColorPicker/Picker/styles.js.map +1 -1
- package/dist/ColorPicker/PresetColors/PresetColors.js +2 -24
- package/dist/ColorPicker/PresetColors/PresetColors.js.map +1 -1
- package/dist/ColorPicker/PresetColors/index.js +0 -2
- package/dist/ColorPicker/PresetColors/index.js.map +1 -1
- package/dist/ColorPicker/PresetColors/styles.js +0 -2
- package/dist/ColorPicker/PresetColors/styles.js.map +1 -1
- package/dist/ColorPicker/index.js +0 -2
- package/dist/ColorPicker/index.js.map +1 -1
- package/dist/ColorPicker/styles.js +0 -2
- package/dist/ColorPicker/styles.js.map +1 -1
- package/dist/Drawer/Drawer.js +10 -50
- package/dist/Drawer/Drawer.js.map +1 -1
- package/dist/Drawer/index.js +0 -2
- package/dist/Drawer/index.js.map +1 -1
- package/dist/Drawer/styles.js +0 -3
- package/dist/Drawer/styles.js.map +1 -1
- package/dist/ImageCarousel/ImageCarousel.js +46 -149
- package/dist/ImageCarousel/ImageCarousel.js.map +1 -1
- package/dist/ImageCarousel/index.js +0 -2
- package/dist/ImageCarousel/index.js.map +1 -1
- package/dist/ImageCarousel/styles.js +0 -5
- package/dist/ImageCarousel/styles.js.map +1 -1
- package/dist/InlineEditor/InlineEditor.js +25 -82
- package/dist/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/InlineEditor/index.js +0 -2
- package/dist/InlineEditor/index.js.map +1 -1
- package/dist/InlineEditor/styles.js +0 -14
- package/dist/InlineEditor/styles.js.map +1 -1
- package/dist/NavigationAnchors/NavigationAnchors.js +44 -116
- package/dist/NavigationAnchors/NavigationAnchors.js.map +1 -1
- package/dist/NavigationAnchors/NavigationOption.js +0 -10
- package/dist/NavigationAnchors/NavigationOption.js.map +1 -1
- package/dist/NavigationAnchors/index.js +0 -2
- package/dist/NavigationAnchors/index.js.map +1 -1
- package/dist/NavigationAnchors/styles.js +0 -2
- package/dist/NavigationAnchors/styles.js.map +1 -1
- package/dist/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +5 -26
- package/dist/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
- package/dist/NotificationPanel/EmptyStatePanel/index.js +0 -2
- package/dist/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
- package/dist/NotificationPanel/EmptyStatePanel/styles.js +0 -2
- package/dist/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
- package/dist/NotificationPanel/Notification/Notification.js +12 -57
- package/dist/NotificationPanel/Notification/Notification.js.map +1 -1
- package/dist/NotificationPanel/Notification/index.js +0 -2
- package/dist/NotificationPanel/Notification/index.js.map +1 -1
- package/dist/NotificationPanel/Notification/styles.js +0 -14
- package/dist/NotificationPanel/Notification/styles.js.map +1 -1
- package/dist/NotificationPanel/NotificationPanel.js +23 -92
- package/dist/NotificationPanel/NotificationPanel.js.map +1 -1
- package/dist/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +4 -35
- package/dist/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
- package/dist/NotificationPanel/NotificationsIndicator/index.js +0 -2
- package/dist/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
- package/dist/NotificationPanel/NotificationsIndicator/styles.js +0 -2
- package/dist/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
- package/dist/NotificationPanel/index.js +0 -2
- package/dist/NotificationPanel/index.js.map +1 -1
- package/dist/NotificationPanel/styles.js +0 -2
- package/dist/NotificationPanel/styles.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js +15 -44
- package/dist/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/Step/Step.js +9 -41
- package/dist/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/Step/index.js +0 -2
- package/dist/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/Step/styles.js +0 -2
- package/dist/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/index.js +0 -2
- package/dist/StepNavigation/DefaultNavigation/index.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/styles.js +0 -2
- package/dist/StepNavigation/DefaultNavigation/styles.js.map +1 -1
- package/dist/StepNavigation/DefaultNavigation/utils.js +0 -3
- package/dist/StepNavigation/DefaultNavigation/utils.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js +6 -47
- package/dist/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/Dot/index.js +0 -2
- package/dist/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js +14 -44
- package/dist/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/index.js +0 -2
- package/dist/StepNavigation/SimpleNavigation/index.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/styles.js +0 -2
- package/dist/StepNavigation/SimpleNavigation/styles.js.map +1 -1
- package/dist/StepNavigation/SimpleNavigation/utils.js +0 -6
- package/dist/StepNavigation/SimpleNavigation/utils.js.map +1 -1
- package/dist/StepNavigation/StepNavigation.js +39 -106
- package/dist/StepNavigation/StepNavigation.js.map +1 -1
- package/dist/StepNavigation/index.js +0 -2
- package/dist/StepNavigation/index.js.map +1 -1
- package/dist/StepNavigation/styles.js +0 -2
- package/dist/StepNavigation/styles.js.map +1 -1
- package/dist/StepNavigation/utils.js.map +1 -1
- package/dist/TimeAgo/TimeAgo.js +13 -44
- package/dist/TimeAgo/TimeAgo.js.map +1 -1
- package/dist/TimeAgo/formatUtils.js +15 -35
- package/dist/TimeAgo/formatUtils.js.map +1 -1
- package/dist/TimeAgo/index.js +0 -3
- package/dist/TimeAgo/index.js.map +1 -1
- package/dist/TimeAgo/styles.js.map +1 -1
- package/dist/TimeAgo/useTimeAgo.js +7 -16
- package/dist/TimeAgo/useTimeAgo.js.map +1 -1
- package/dist/TimeAgo/useTimeout.js +0 -2
- package/dist/TimeAgo/useTimeout.js.map +1 -1
- package/dist/Wizard/Wizard.js +30 -82
- package/dist/Wizard/Wizard.js.map +1 -1
- package/dist/Wizard/WizardActions/WizardActions.js +26 -81
- package/dist/Wizard/WizardActions/WizardActions.js.map +1 -1
- package/dist/Wizard/WizardActions/index.js +0 -2
- package/dist/Wizard/WizardActions/index.js.map +1 -1
- package/dist/Wizard/WizardActions/styles.js +0 -2
- package/dist/Wizard/WizardActions/styles.js.map +1 -1
- package/dist/Wizard/WizardContainer/WizardContainer.js +5 -35
- package/dist/Wizard/WizardContainer/WizardContainer.js.map +1 -1
- package/dist/Wizard/WizardContainer/index.js +0 -2
- package/dist/Wizard/WizardContainer/index.js.map +1 -1
- package/dist/Wizard/WizardContainer/styles.js +0 -2
- package/dist/Wizard/WizardContainer/styles.js.map +1 -1
- package/dist/Wizard/WizardContent/LoadingContainer.js +2 -25
- package/dist/Wizard/WizardContent/LoadingContainer.js.map +1 -1
- package/dist/Wizard/WizardContent/WizardContent.js +10 -53
- package/dist/Wizard/WizardContent/WizardContent.js.map +1 -1
- package/dist/Wizard/WizardContent/index.js +0 -2
- package/dist/Wizard/WizardContent/index.js.map +1 -1
- package/dist/Wizard/WizardContent/styles.js +0 -2
- package/dist/Wizard/WizardContent/styles.js.map +1 -1
- package/dist/Wizard/WizardContext/WizardContext.js +0 -4
- package/dist/Wizard/WizardContext/WizardContext.js.map +1 -1
- package/dist/Wizard/WizardContext/WizardContextProvider.js +1 -10
- package/dist/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
- package/dist/Wizard/WizardContext/index.js +0 -3
- package/dist/Wizard/WizardContext/index.js.map +1 -1
- package/dist/Wizard/WizardTitle/WizardTitle.js +16 -57
- package/dist/Wizard/WizardTitle/WizardTitle.js.map +1 -1
- package/dist/Wizard/WizardTitle/index.js +0 -2
- package/dist/Wizard/WizardTitle/index.js.map +1 -1
- package/dist/Wizard/WizardTitle/styles.js +0 -2
- package/dist/Wizard/WizardTitle/styles.js.map +1 -1
- package/dist/Wizard/index.js +0 -8
- package/dist/Wizard/index.js.map +1 -1
- package/dist/Wizard/styles.js +0 -2
- package/dist/Wizard/styles.js.map +1 -1
- package/dist/index.js +0 -23
- package/dist/index.js.map +1 -1
- package/dist/legacy/ColorPicker/ColorPicker.js +26 -51
- package/dist/legacy/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/legacy/ColorPicker/Fields/Fields.js +17 -27
- package/dist/legacy/ColorPicker/Fields/Fields.js.map +1 -1
- package/dist/legacy/ColorPicker/Fields/index.js.map +1 -1
- package/dist/legacy/ColorPicker/Fields/styles.js.map +1 -1
- package/dist/legacy/ColorPicker/Picker/Picker.js +7 -7
- package/dist/legacy/ColorPicker/Picker/Picker.js.map +1 -1
- package/dist/legacy/ColorPicker/Picker/index.js.map +1 -1
- package/dist/legacy/ColorPicker/Picker/styles.js.map +1 -1
- package/dist/legacy/ColorPicker/PresetColors/PresetColors.js +2 -7
- package/dist/legacy/ColorPicker/PresetColors/PresetColors.js.map +1 -1
- package/dist/legacy/ColorPicker/PresetColors/index.js.map +1 -1
- package/dist/legacy/ColorPicker/PresetColors/styles.js.map +1 -1
- package/dist/legacy/ColorPicker/index.js.map +1 -1
- package/dist/legacy/ColorPicker/styles.js +0 -1
- package/dist/legacy/ColorPicker/styles.js.map +1 -1
- package/dist/legacy/Drawer/Drawer.js +11 -30
- package/dist/legacy/Drawer/Drawer.js.map +1 -1
- package/dist/legacy/Drawer/index.js.map +1 -1
- package/dist/legacy/Drawer/styles.js +0 -2
- package/dist/legacy/Drawer/styles.js.map +1 -1
- package/dist/legacy/ImageCarousel/ImageCarousel.js +46 -120
- package/dist/legacy/ImageCarousel/ImageCarousel.js.map +1 -1
- package/dist/legacy/ImageCarousel/index.js.map +1 -1
- package/dist/legacy/ImageCarousel/styles.js +0 -3
- package/dist/legacy/ImageCarousel/styles.js.map +1 -1
- package/dist/legacy/InlineEditor/InlineEditor.js +26 -55
- package/dist/legacy/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/legacy/InlineEditor/index.js.map +1 -1
- package/dist/legacy/InlineEditor/styles.js +0 -5
- package/dist/legacy/InlineEditor/styles.js.map +1 -1
- package/dist/legacy/NavigationAnchors/NavigationAnchors.js +44 -82
- package/dist/legacy/NavigationAnchors/NavigationAnchors.js.map +1 -1
- package/dist/legacy/NavigationAnchors/NavigationOption.js +0 -5
- package/dist/legacy/NavigationAnchors/NavigationOption.js.map +1 -1
- package/dist/legacy/NavigationAnchors/index.js.map +1 -1
- package/dist/legacy/NavigationAnchors/styles.js +0 -1
- package/dist/legacy/NavigationAnchors/styles.js.map +1 -1
- package/dist/legacy/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +5 -16
- package/dist/legacy/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
- package/dist/legacy/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
- package/dist/legacy/NotificationPanel/EmptyStatePanel/styles.js +0 -1
- package/dist/legacy/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
- package/dist/legacy/NotificationPanel/Notification/Notification.js +12 -44
- package/dist/legacy/NotificationPanel/Notification/Notification.js.map +1 -1
- package/dist/legacy/NotificationPanel/Notification/index.js.map +1 -1
- package/dist/legacy/NotificationPanel/Notification/styles.js +0 -5
- package/dist/legacy/NotificationPanel/Notification/styles.js.map +1 -1
- package/dist/legacy/NotificationPanel/NotificationPanel.js +23 -61
- package/dist/legacy/NotificationPanel/NotificationPanel.js.map +1 -1
- package/dist/legacy/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +4 -17
- package/dist/legacy/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
- package/dist/legacy/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
- package/dist/legacy/NotificationPanel/NotificationsIndicator/styles.js +0 -1
- package/dist/legacy/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
- package/dist/legacy/NotificationPanel/index.js.map +1 -1
- package/dist/legacy/NotificationPanel/styles.js +0 -1
- package/dist/legacy/NotificationPanel/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js +16 -27
- package/dist/legacy/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js +10 -29
- package/dist/legacy/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js +0 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/index.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/styles.js +0 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/DefaultNavigation/utils.js +0 -2
- package/dist/legacy/StepNavigation/DefaultNavigation/utils.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js +7 -21
- package/dist/legacy/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js +15 -26
- package/dist/legacy/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/index.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/styles.js +0 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/SimpleNavigation/utils.js +0 -6
- package/dist/legacy/StepNavigation/SimpleNavigation/utils.js.map +1 -1
- package/dist/legacy/StepNavigation/StepNavigation.js +40 -78
- package/dist/legacy/StepNavigation/StepNavigation.js.map +1 -1
- package/dist/legacy/StepNavigation/index.js.map +1 -1
- package/dist/legacy/StepNavigation/styles.js +0 -1
- package/dist/legacy/StepNavigation/styles.js.map +1 -1
- package/dist/legacy/StepNavigation/utils.js.map +1 -1
- package/dist/legacy/TimeAgo/TimeAgo.js +14 -27
- package/dist/legacy/TimeAgo/TimeAgo.js.map +1 -1
- package/dist/legacy/TimeAgo/formatUtils.js +16 -18
- package/dist/legacy/TimeAgo/formatUtils.js.map +1 -1
- package/dist/legacy/TimeAgo/index.js.map +1 -1
- package/dist/legacy/TimeAgo/styles.js.map +1 -1
- package/dist/legacy/TimeAgo/useTimeAgo.js +8 -11
- package/dist/legacy/TimeAgo/useTimeAgo.js.map +1 -1
- package/dist/legacy/TimeAgo/useTimeout.js.map +1 -1
- package/dist/legacy/Wizard/Wizard.js +30 -56
- package/dist/legacy/Wizard/Wizard.js.map +1 -1
- package/dist/legacy/Wizard/WizardActions/WizardActions.js +26 -55
- package/dist/legacy/Wizard/WizardActions/WizardActions.js.map +1 -1
- package/dist/legacy/Wizard/WizardActions/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardActions/styles.js +0 -1
- package/dist/legacy/Wizard/WizardActions/styles.js.map +1 -1
- package/dist/legacy/Wizard/WizardContainer/WizardContainer.js +5 -17
- package/dist/legacy/Wizard/WizardContainer/WizardContainer.js.map +1 -1
- package/dist/legacy/Wizard/WizardContainer/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardContainer/styles.js +0 -1
- package/dist/legacy/Wizard/WizardContainer/styles.js.map +1 -1
- package/dist/legacy/Wizard/WizardContent/LoadingContainer.js +2 -8
- package/dist/legacy/Wizard/WizardContent/LoadingContainer.js.map +1 -1
- package/dist/legacy/Wizard/WizardContent/WizardContent.js +10 -26
- package/dist/legacy/Wizard/WizardContent/WizardContent.js.map +1 -1
- package/dist/legacy/Wizard/WizardContent/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardContent/styles.js +0 -1
- package/dist/legacy/Wizard/WizardContent/styles.js.map +1 -1
- package/dist/legacy/Wizard/WizardContext/WizardContext.js +0 -2
- package/dist/legacy/Wizard/WizardContext/WizardContext.js.map +1 -1
- package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js +1 -5
- package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
- package/dist/legacy/Wizard/WizardContext/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardTitle/WizardTitle.js +16 -41
- package/dist/legacy/Wizard/WizardTitle/WizardTitle.js.map +1 -1
- package/dist/legacy/Wizard/WizardTitle/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardTitle/styles.js +0 -1
- package/dist/legacy/Wizard/WizardTitle/styles.js.map +1 -1
- package/dist/legacy/Wizard/index.js.map +1 -1
- package/dist/legacy/Wizard/styles.js +0 -1
- package/dist/legacy/Wizard/styles.js.map +1 -1
- package/dist/legacy/index.js.map +1 -1
- package/dist/modern/ColorPicker/ColorPicker.js +1 -25
- package/dist/modern/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/modern/ColorPicker/Fields/Fields.js +3 -10
- package/dist/modern/ColorPicker/Fields/Fields.js.map +1 -1
- package/dist/modern/ColorPicker/Fields/index.js.map +1 -1
- package/dist/modern/ColorPicker/Fields/styles.js.map +1 -1
- package/dist/modern/ColorPicker/Picker/Picker.js +3 -3
- package/dist/modern/ColorPicker/Picker/Picker.js.map +1 -1
- package/dist/modern/ColorPicker/Picker/index.js.map +1 -1
- package/dist/modern/ColorPicker/Picker/styles.js.map +1 -1
- package/dist/modern/ColorPicker/PresetColors/PresetColors.js +0 -5
- package/dist/modern/ColorPicker/PresetColors/PresetColors.js.map +1 -1
- package/dist/modern/ColorPicker/PresetColors/index.js.map +1 -1
- package/dist/modern/ColorPicker/PresetColors/styles.js.map +1 -1
- package/dist/modern/ColorPicker/index.js.map +1 -1
- package/dist/modern/ColorPicker/styles.js +0 -1
- package/dist/modern/ColorPicker/styles.js.map +1 -1
- package/dist/modern/Drawer/Drawer.js +11 -30
- package/dist/modern/Drawer/Drawer.js.map +1 -1
- package/dist/modern/Drawer/index.js.map +1 -1
- package/dist/modern/Drawer/styles.js +0 -2
- package/dist/modern/Drawer/styles.js.map +1 -1
- package/dist/modern/ImageCarousel/ImageCarousel.js +18 -83
- package/dist/modern/ImageCarousel/ImageCarousel.js.map +1 -1
- package/dist/modern/ImageCarousel/index.js.map +1 -1
- package/dist/modern/ImageCarousel/styles.js +0 -1
- package/dist/modern/ImageCarousel/styles.js.map +1 -1
- package/dist/modern/InlineEditor/InlineEditor.js +16 -43
- package/dist/modern/InlineEditor/InlineEditor.js.map +1 -1
- package/dist/modern/InlineEditor/index.js.map +1 -1
- package/dist/modern/InlineEditor/styles.js +0 -5
- package/dist/modern/InlineEditor/styles.js.map +1 -1
- package/dist/modern/NavigationAnchors/NavigationAnchors.js +40 -74
- package/dist/modern/NavigationAnchors/NavigationAnchors.js.map +1 -1
- package/dist/modern/NavigationAnchors/NavigationOption.js +0 -6
- package/dist/modern/NavigationAnchors/NavigationOption.js.map +1 -1
- package/dist/modern/NavigationAnchors/index.js.map +1 -1
- package/dist/modern/NavigationAnchors/styles.js +0 -1
- package/dist/modern/NavigationAnchors/styles.js.map +1 -1
- package/dist/modern/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js +0 -11
- package/dist/modern/NotificationPanel/EmptyStatePanel/EmptyStatePanel.js.map +1 -1
- package/dist/modern/NotificationPanel/EmptyStatePanel/index.js.map +1 -1
- package/dist/modern/NotificationPanel/EmptyStatePanel/styles.js +0 -1
- package/dist/modern/NotificationPanel/EmptyStatePanel/styles.js.map +1 -1
- package/dist/modern/NotificationPanel/Notification/Notification.js +2 -33
- package/dist/modern/NotificationPanel/Notification/Notification.js.map +1 -1
- package/dist/modern/NotificationPanel/Notification/index.js.map +1 -1
- package/dist/modern/NotificationPanel/Notification/styles.js +0 -5
- package/dist/modern/NotificationPanel/Notification/styles.js.map +1 -1
- package/dist/modern/NotificationPanel/NotificationPanel.js +16 -50
- package/dist/modern/NotificationPanel/NotificationPanel.js.map +1 -1
- package/dist/modern/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js +6 -19
- package/dist/modern/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js.map +1 -1
- package/dist/modern/NotificationPanel/NotificationsIndicator/index.js.map +1 -1
- package/dist/modern/NotificationPanel/NotificationsIndicator/styles.js +0 -1
- package/dist/modern/NotificationPanel/NotificationsIndicator/styles.js.map +1 -1
- package/dist/modern/NotificationPanel/index.js.map +1 -1
- package/dist/modern/NotificationPanel/styles.js +0 -1
- package/dist/modern/NotificationPanel/styles.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js +14 -23
- package/dist/modern/StepNavigation/DefaultNavigation/DefaultNavigation.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js +1 -20
- package/dist/modern/StepNavigation/DefaultNavigation/Step/Step.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/Step/index.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js +0 -1
- package/dist/modern/StepNavigation/DefaultNavigation/Step/styles.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/index.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/styles.js +0 -1
- package/dist/modern/StepNavigation/DefaultNavigation/styles.js.map +1 -1
- package/dist/modern/StepNavigation/DefaultNavigation/utils.js +0 -2
- package/dist/modern/StepNavigation/DefaultNavigation/utils.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js +1 -15
- package/dist/modern/StepNavigation/SimpleNavigation/Dot/Dot.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/Dot/index.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/Dot/styles.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js +14 -23
- package/dist/modern/StepNavigation/SimpleNavigation/SimpleNavigation.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/index.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/styles.js +0 -1
- package/dist/modern/StepNavigation/SimpleNavigation/styles.js.map +1 -1
- package/dist/modern/StepNavigation/SimpleNavigation/utils.js +0 -6
- package/dist/modern/StepNavigation/SimpleNavigation/utils.js.map +1 -1
- package/dist/modern/StepNavigation/StepNavigation.js +25 -62
- package/dist/modern/StepNavigation/StepNavigation.js.map +1 -1
- package/dist/modern/StepNavigation/index.js.map +1 -1
- package/dist/modern/StepNavigation/styles.js +0 -1
- package/dist/modern/StepNavigation/styles.js.map +1 -1
- package/dist/modern/StepNavigation/utils.js.map +1 -1
- package/dist/modern/TimeAgo/TimeAgo.js +11 -24
- package/dist/modern/TimeAgo/TimeAgo.js.map +1 -1
- package/dist/modern/TimeAgo/formatUtils.js +16 -18
- package/dist/modern/TimeAgo/formatUtils.js.map +1 -1
- package/dist/modern/TimeAgo/index.js.map +1 -1
- package/dist/modern/TimeAgo/styles.js.map +1 -1
- package/dist/modern/TimeAgo/useTimeAgo.js +1 -3
- package/dist/modern/TimeAgo/useTimeAgo.js.map +1 -1
- package/dist/modern/TimeAgo/useTimeout.js.map +1 -1
- package/dist/modern/Wizard/Wizard.js +21 -46
- package/dist/modern/Wizard/Wizard.js.map +1 -1
- package/dist/modern/Wizard/WizardActions/WizardActions.js +0 -24
- package/dist/modern/Wizard/WizardActions/WizardActions.js.map +1 -1
- package/dist/modern/Wizard/WizardActions/index.js.map +1 -1
- package/dist/modern/Wizard/WizardActions/styles.js +0 -1
- package/dist/modern/Wizard/WizardActions/styles.js.map +1 -1
- package/dist/modern/Wizard/WizardContainer/WizardContainer.js +7 -19
- package/dist/modern/Wizard/WizardContainer/WizardContainer.js.map +1 -1
- package/dist/modern/Wizard/WizardContainer/index.js.map +1 -1
- package/dist/modern/Wizard/WizardContainer/styles.js +0 -1
- package/dist/modern/Wizard/WizardContainer/styles.js.map +1 -1
- package/dist/modern/Wizard/WizardContent/LoadingContainer.js +4 -10
- package/dist/modern/Wizard/WizardContent/LoadingContainer.js.map +1 -1
- package/dist/modern/Wizard/WizardContent/WizardContent.js +0 -14
- package/dist/modern/Wizard/WizardContent/WizardContent.js.map +1 -1
- package/dist/modern/Wizard/WizardContent/index.js.map +1 -1
- package/dist/modern/Wizard/WizardContent/styles.js +0 -1
- package/dist/modern/Wizard/WizardContent/styles.js.map +1 -1
- package/dist/modern/Wizard/WizardContext/WizardContext.js +0 -2
- package/dist/modern/Wizard/WizardContext/WizardContext.js.map +1 -1
- package/dist/modern/Wizard/WizardContext/WizardContextProvider.js +0 -4
- package/dist/modern/Wizard/WizardContext/WizardContextProvider.js.map +1 -1
- package/dist/modern/Wizard/WizardContext/index.js.map +1 -1
- package/dist/modern/Wizard/WizardTitle/WizardTitle.js +2 -23
- package/dist/modern/Wizard/WizardTitle/WizardTitle.js.map +1 -1
- package/dist/modern/Wizard/WizardTitle/index.js.map +1 -1
- package/dist/modern/Wizard/WizardTitle/styles.js +0 -1
- package/dist/modern/Wizard/WizardTitle/styles.js.map +1 -1
- package/dist/modern/Wizard/index.js.map +1 -1
- package/dist/modern/Wizard/styles.js +0 -1
- package/dist/modern/Wizard/styles.js.map +1 -1
- package/dist/modern/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
|
-
|
|
4
3
|
var _Close;
|
|
5
|
-
|
|
6
4
|
var _excluded = ["className", "classes", "id", "children", "open", "onClose", "anchor", "buttonTitle"];
|
|
7
|
-
|
|
8
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
9
|
-
|
|
10
6
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
11
|
-
|
|
12
7
|
import "core-js/modules/es.string.anchor.js";
|
|
13
8
|
import "core-js/modules/es.object.keys.js";
|
|
14
9
|
import "core-js/modules/es.symbol.js";
|
|
@@ -25,34 +20,31 @@ import { withStyles } from "@mui/styles";
|
|
|
25
20
|
import { Close } from "@hitachivantara/uikit-react-icons";
|
|
26
21
|
import { HvButton, withTooltip, setId } from "@hitachivantara/uikit-react-core";
|
|
27
22
|
import styles from "./styles";
|
|
23
|
+
|
|
28
24
|
/**
|
|
29
25
|
* The Drawer component provides a foundation to create a sliding pane.
|
|
30
26
|
* It only provides the pane with a close button, the rest of the
|
|
31
27
|
* content can be customized.
|
|
32
28
|
*/
|
|
33
|
-
|
|
34
29
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
35
30
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
36
|
-
|
|
37
31
|
var HvDrawer = function HvDrawer(_ref) {
|
|
38
32
|
var className = _ref.className,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
33
|
+
classes = _ref.classes,
|
|
34
|
+
id = _ref.id,
|
|
35
|
+
children = _ref.children,
|
|
36
|
+
open = _ref.open,
|
|
37
|
+
_onClose = _ref.onClose,
|
|
38
|
+
_ref$anchor = _ref.anchor,
|
|
39
|
+
anchor = _ref$anchor === void 0 ? "right" : _ref$anchor,
|
|
40
|
+
_ref$buttonTitle = _ref.buttonTitle,
|
|
41
|
+
buttonTitle = _ref$buttonTitle === void 0 ? "Close" : _ref$buttonTitle,
|
|
42
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
50
43
|
var closeButtonDisplay = function closeButtonDisplay() {
|
|
51
44
|
return _Close || (_Close = /*#__PURE__*/_jsx(Close, {
|
|
52
45
|
role: "presentation"
|
|
53
46
|
}));
|
|
54
47
|
};
|
|
55
|
-
|
|
56
48
|
var CloseButtonTooltipWrapper = buttonTitle ? withTooltip(closeButtonDisplay, buttonTitle, "top") : closeButtonDisplay;
|
|
57
49
|
return /*#__PURE__*/_jsxs(Drawer, _objectSpread(_objectSpread({
|
|
58
50
|
className: clsx(classes.root, className),
|
|
@@ -83,18 +75,15 @@ var HvDrawer = function HvDrawer(_ref) {
|
|
|
83
75
|
}), children]
|
|
84
76
|
}));
|
|
85
77
|
};
|
|
86
|
-
|
|
87
78
|
process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
88
79
|
/**
|
|
89
80
|
* Class names to be applied.
|
|
90
81
|
*/
|
|
91
82
|
className: PropTypes.string,
|
|
92
|
-
|
|
93
83
|
/**
|
|
94
84
|
* Id to be applied to the root node.
|
|
95
85
|
*/
|
|
96
86
|
id: PropTypes.string,
|
|
97
|
-
|
|
98
87
|
/**
|
|
99
88
|
* A Jss Object used to override or extend the styles applied.
|
|
100
89
|
*/
|
|
@@ -103,33 +92,27 @@ process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
|
103
92
|
* Style applied to the root of the component.
|
|
104
93
|
*/
|
|
105
94
|
root: PropTypes.string,
|
|
106
|
-
|
|
107
95
|
/**
|
|
108
96
|
* Style applied to the background (outside) of the component.
|
|
109
97
|
*/
|
|
110
98
|
background: PropTypes.string,
|
|
111
|
-
|
|
112
99
|
/**
|
|
113
100
|
* Style applied to the component (root).
|
|
114
101
|
*/
|
|
115
102
|
paper: PropTypes.string,
|
|
116
|
-
|
|
117
103
|
/**
|
|
118
104
|
* Style applied to the close button.
|
|
119
105
|
*/
|
|
120
106
|
closeButton: PropTypes.string
|
|
121
107
|
}).isRequired,
|
|
122
|
-
|
|
123
108
|
/**
|
|
124
109
|
* Components of the Drawer.
|
|
125
110
|
*/
|
|
126
111
|
children: PropTypes.node.isRequired,
|
|
127
|
-
|
|
128
112
|
/**
|
|
129
113
|
* Current state of the Drawer.
|
|
130
114
|
*/
|
|
131
115
|
open: PropTypes.bool.isRequired,
|
|
132
|
-
|
|
133
116
|
/**
|
|
134
117
|
* Function executed on close.
|
|
135
118
|
* Extended from Modal from material-ui
|
|
@@ -138,12 +121,10 @@ process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
|
138
121
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
139
122
|
*/
|
|
140
123
|
onClose: PropTypes.func.isRequired,
|
|
141
|
-
|
|
142
124
|
/**
|
|
143
125
|
* The side the drawer opens from.
|
|
144
126
|
*/
|
|
145
127
|
anchor: PropTypes.oneOf(["left", "top", "right", "bottom"]),
|
|
146
|
-
|
|
147
128
|
/**
|
|
148
129
|
* Title for the button close.
|
|
149
130
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawer.js","names":["React","clsx","PropTypes","Drawer","withStyles","Close","HvButton","withTooltip","setId","styles","HvDrawer","className","classes","id","children","open","onClose","anchor","buttonTitle","others","closeButtonDisplay","CloseButtonTooltipWrapper","root","paper","background","event","reason","closeButton","propTypes","string","shape","isRequired","node","bool","func","oneOf","name"],"sources":["../../../src/Drawer/Drawer.js"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\nimport PropTypes from \"prop-types\";\nimport { Drawer } from \"@mui/material\";\nimport { withStyles } from \"@mui/styles\";\nimport { Close } from \"@hitachivantara/uikit-react-icons\";\nimport { HvButton, withTooltip, setId } from \"@hitachivantara/uikit-react-core\";\nimport styles from \"./styles\";\n\n/**\n * The Drawer component provides a foundation to create a sliding pane.\n * It only provides the pane with a close button, the rest of the\n * content can be customized.\n */\nconst HvDrawer = ({\n className,\n classes,\n id,\n children,\n open,\n onClose,\n anchor = \"right\",\n buttonTitle = \"Close\",\n ...others\n}) => {\n const closeButtonDisplay = () => <Close role=\"presentation\" />;\n\n const CloseButtonTooltipWrapper = buttonTitle\n ? withTooltip(closeButtonDisplay, buttonTitle, \"top\")\n : closeButtonDisplay;\n\n return (\n <Drawer\n className={clsx(classes.root, className)}\n id={id}\n anchor={anchor}\n open={open}\n PaperProps={{\n classes: {\n root: classes.paper,\n },\n }}\n BackdropProps={{\n classes: {\n root: classes.background,\n },\n }}\n onClose={(event, reason) => onClose(event, reason)}\n {...others}\n >\n <HvButton\n id={setId(id, \"close\")}\n className={classes.closeButton}\n category=\"ghost\"\n onClick={onClose}\n aria-label={buttonTitle}\n >\n <CloseButtonTooltipWrapper />\n </HvButton>\n {children}\n </Drawer>\n );\n};\n\nHvDrawer.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * Id to be applied to the root node.\n */\n id: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Style applied to the root of the component.\n */\n root: PropTypes.string,\n /**\n * Style applied to the background (outside) of the component.\n */\n background: PropTypes.string,\n /**\n * Style applied to the component (root).\n */\n paper: PropTypes.string,\n /**\n * Style applied to the close button.\n */\n closeButton: PropTypes.string,\n }).isRequired,\n /**\n * Components of the Drawer.\n */\n children: PropTypes.node.isRequired,\n /**\n * Current state of the Drawer.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Function executed on close.\n * Extended from Modal from material-ui\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func.isRequired,\n /**\n * The side the drawer opens from.\n */\n anchor: PropTypes.oneOf([\"left\", \"top\", \"right\", \"bottom\"]),\n /**\n * Title for the button close.\n */\n buttonTitle: PropTypes.string,\n};\n\nexport default withStyles(styles, { name: \"HvDrawer\" })(HvDrawer);\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Drawer.js","names":["React","clsx","PropTypes","Drawer","withStyles","Close","HvButton","withTooltip","setId","styles","HvDrawer","className","classes","id","children","open","onClose","anchor","buttonTitle","others","closeButtonDisplay","CloseButtonTooltipWrapper","root","paper","background","event","reason","closeButton","propTypes","string","shape","isRequired","node","bool","func","oneOf","name"],"sources":["../../../src/Drawer/Drawer.js"],"sourcesContent":["import React from \"react\";\nimport clsx from \"clsx\";\nimport PropTypes from \"prop-types\";\nimport { Drawer } from \"@mui/material\";\nimport { withStyles } from \"@mui/styles\";\nimport { Close } from \"@hitachivantara/uikit-react-icons\";\nimport { HvButton, withTooltip, setId } from \"@hitachivantara/uikit-react-core\";\nimport styles from \"./styles\";\n\n/**\n * The Drawer component provides a foundation to create a sliding pane.\n * It only provides the pane with a close button, the rest of the\n * content can be customized.\n */\nconst HvDrawer = ({\n className,\n classes,\n id,\n children,\n open,\n onClose,\n anchor = \"right\",\n buttonTitle = \"Close\",\n ...others\n}) => {\n const closeButtonDisplay = () => <Close role=\"presentation\" />;\n\n const CloseButtonTooltipWrapper = buttonTitle\n ? withTooltip(closeButtonDisplay, buttonTitle, \"top\")\n : closeButtonDisplay;\n\n return (\n <Drawer\n className={clsx(classes.root, className)}\n id={id}\n anchor={anchor}\n open={open}\n PaperProps={{\n classes: {\n root: classes.paper,\n },\n }}\n BackdropProps={{\n classes: {\n root: classes.background,\n },\n }}\n onClose={(event, reason) => onClose(event, reason)}\n {...others}\n >\n <HvButton\n id={setId(id, \"close\")}\n className={classes.closeButton}\n category=\"ghost\"\n onClick={onClose}\n aria-label={buttonTitle}\n >\n <CloseButtonTooltipWrapper />\n </HvButton>\n {children}\n </Drawer>\n );\n};\n\nHvDrawer.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * Id to be applied to the root node.\n */\n id: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Style applied to the root of the component.\n */\n root: PropTypes.string,\n /**\n * Style applied to the background (outside) of the component.\n */\n background: PropTypes.string,\n /**\n * Style applied to the component (root).\n */\n paper: PropTypes.string,\n /**\n * Style applied to the close button.\n */\n closeButton: PropTypes.string,\n }).isRequired,\n /**\n * Components of the Drawer.\n */\n children: PropTypes.node.isRequired,\n /**\n * Current state of the Drawer.\n */\n open: PropTypes.bool.isRequired,\n /**\n * Function executed on close.\n * Extended from Modal from material-ui\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"escapeKeyDown\"`, `\"backdropClick\"`.\n */\n onClose: PropTypes.func.isRequired,\n /**\n * The side the drawer opens from.\n */\n anchor: PropTypes.oneOf([\"left\", \"top\", \"right\", \"bottom\"]),\n /**\n * Title for the button close.\n */\n buttonTitle: PropTypes.string,\n};\n\nexport default withStyles(styles, { name: \"HvDrawer\" })(HvDrawer);\n"],"mappings":";;;;;;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,IAAI,MAAM,MAAM;AACvB,OAAOC,SAAS,MAAM,YAAY;AAClC,SAASC,MAAM,QAAQ,eAAe;AACtC,SAASC,UAAU,QAAQ,aAAa;AACxC,SAASC,KAAK,QAAQ,mCAAmC;AACzD,SAASC,QAAQ,EAAEC,WAAW,EAAEC,KAAK,QAAQ,kCAAkC;AAC/E,OAAOC,MAAM,MAAM,UAAU;;AAE7B;AACA;AACA;AACA;AACA;AAJA;AAAA;AAKA,IAAMC,QAAQ,GAAG,SAAXA,QAAQ,OAUR;EAAA,IATJC,SAAS,QAATA,SAAS;IACTC,OAAO,QAAPA,OAAO;IACPC,EAAE,QAAFA,EAAE;IACFC,QAAQ,QAARA,QAAQ;IACRC,IAAI,QAAJA,IAAI;IACJC,QAAO,QAAPA,OAAO;IAAA,mBACPC,MAAM;IAANA,MAAM,4BAAG,OAAO;IAAA,wBAChBC,WAAW;IAAXA,WAAW,iCAAG,OAAO;IAClBC,MAAM;EAET,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB;IAAA,wCAAS,KAAC,KAAK;MAAC,IAAI,EAAC;IAAc,EAAG;EAAA;EAE9D,IAAMC,yBAAyB,GAAGH,WAAW,GACzCX,WAAW,CAACa,kBAAkB,EAAEF,WAAW,EAAE,KAAK,CAAC,GACnDE,kBAAkB;EAEtB,oBACE,MAAC,MAAM;IACL,SAAS,EAAEnB,IAAI,CAACW,OAAO,CAACU,IAAI,EAAEX,SAAS,CAAE;IACzC,EAAE,EAAEE,EAAG;IACP,MAAM,EAAEI,MAAO;IACf,IAAI,EAAEF,IAAK;IACX,UAAU,EAAE;MACVH,OAAO,EAAE;QACPU,IAAI,EAAEV,OAAO,CAACW;MAChB;IACF,CAAE;IACF,aAAa,EAAE;MACbX,OAAO,EAAE;QACPU,IAAI,EAAEV,OAAO,CAACY;MAChB;IACF,CAAE;IACF,OAAO,EAAE,iBAACC,KAAK,EAAEC,MAAM;MAAA,OAAKV,QAAO,CAACS,KAAK,EAAEC,MAAM,CAAC;IAAA;EAAC,GAC/CP,MAAM;IAAA,wBAEV,KAAC,QAAQ;MACP,EAAE,EAAEX,KAAK,CAACK,EAAE,EAAE,OAAO,CAAE;MACvB,SAAS,EAAED,OAAO,CAACe,WAAY;MAC/B,QAAQ,EAAC,OAAO;MAChB,OAAO,EAAEX,QAAQ;MACjB,cAAYE,WAAY;MAAA,uBAExB,KAAC,yBAAyB;IAAG,EACpB,EACVJ,QAAQ;EAAA,GACF;AAEb,CAAC;AAED,wCAAAJ,QAAQ,CAACkB,SAAS,GAAG;EACnB;AACF;AACA;EACEjB,SAAS,EAAET,SAAS,CAAC2B,MAAM;EAC3B;AACF;AACA;EACEhB,EAAE,EAAEX,SAAS,CAAC2B,MAAM;EACpB;AACF;AACA;EACEjB,OAAO,EAAEV,SAAS,CAAC4B,KAAK,CAAC;IACvB;AACJ;AACA;IACIR,IAAI,EAAEpB,SAAS,CAAC2B,MAAM;IACtB;AACJ;AACA;IACIL,UAAU,EAAEtB,SAAS,CAAC2B,MAAM;IAC5B;AACJ;AACA;IACIN,KAAK,EAAErB,SAAS,CAAC2B,MAAM;IACvB;AACJ;AACA;IACIF,WAAW,EAAEzB,SAAS,CAAC2B;EACzB,CAAC,CAAC,CAACE,UAAU;EACb;AACF;AACA;EACEjB,QAAQ,EAAEZ,SAAS,CAAC8B,IAAI,CAACD,UAAU;EACnC;AACF;AACA;EACEhB,IAAI,EAAEb,SAAS,CAAC+B,IAAI,CAACF,UAAU;EAC/B;AACF;AACA;AACA;AACA;AACA;AACA;EACEf,OAAO,EAAEd,SAAS,CAACgC,IAAI,CAACH,UAAU;EAClC;AACF;AACA;EACEd,MAAM,EAAEf,SAAS,CAACiC,KAAK,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;EAC3D;AACF;AACA;EACEjB,WAAW,EAAEhB,SAAS,CAAC2B;AACzB,CAAC;AAED,eAAezB,UAAU,CAACK,MAAM,EAAE;EAAE2B,IAAI,EAAE;AAAW,CAAC,CAAC,CAAC1B,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../../src/Drawer/index.js"],"sourcesContent":["export { default } from \"./Drawer\";\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../../src/Drawer/index.js"],"sourcesContent":["export { default } from \"./Drawer\";\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,UAAU"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { hexToRgb, alpha } from "@mui/material";
|
|
2
|
-
|
|
3
2
|
var styles = function styles(theme) {
|
|
4
3
|
return {
|
|
5
4
|
background: {
|
|
@@ -20,6 +19,5 @@ var styles = function styles(theme) {
|
|
|
20
19
|
}
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
|
|
24
22
|
export default styles;
|
|
25
23
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["hexToRgb","alpha","styles","theme","background","hv","palette","atmosphere","atmo4","paper","atmo1","padding","overflow","boxShadow","shadows","closeButton","minWidth","position","top","hvSpacing","right"],"sources":["../../../src/Drawer/styles.js"],"sourcesContent":["import { hexToRgb, alpha } from \"@mui/material\";\n\nconst styles = (theme) => ({\n background: {\n background: alpha(hexToRgb(theme.hv.palette.atmosphere.atmo4), 0.8),\n },\n paper: {\n background: `${theme.hv.palette.atmosphere.atmo1}`,\n padding: \"0px\",\n overflow: \"auto\",\n boxShadow: theme.hv.shadows[1],\n },\n closeButton: {\n padding: 0,\n minWidth: \"inherit\",\n position: \"absolute\",\n top: theme.hvSpacing(\"sm\"),\n right: theme.hvSpacing(\"sm\"),\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"styles.js","names":["hexToRgb","alpha","styles","theme","background","hv","palette","atmosphere","atmo4","paper","atmo1","padding","overflow","boxShadow","shadows","closeButton","minWidth","position","top","hvSpacing","right"],"sources":["../../../src/Drawer/styles.js"],"sourcesContent":["import { hexToRgb, alpha } from \"@mui/material\";\n\nconst styles = (theme) => ({\n background: {\n background: alpha(hexToRgb(theme.hv.palette.atmosphere.atmo4), 0.8),\n },\n paper: {\n background: `${theme.hv.palette.atmosphere.atmo1}`,\n padding: \"0px\",\n overflow: \"auto\",\n boxShadow: theme.hv.shadows[1],\n },\n closeButton: {\n padding: 0,\n minWidth: \"inherit\",\n position: \"absolute\",\n top: theme.hvSpacing(\"sm\"),\n right: theme.hvSpacing(\"sm\"),\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,SAASA,QAAQ,EAAEC,KAAK,QAAQ,eAAe;AAE/C,IAAMC,MAAM,GAAG,SAATA,MAAM,CAAIC,KAAK;EAAA,OAAM;IACzBC,UAAU,EAAE;MACVA,UAAU,EAAEH,KAAK,CAACD,QAAQ,CAACG,KAAK,CAACE,EAAE,CAACC,OAAO,CAACC,UAAU,CAACC,KAAK,CAAC,EAAE,GAAG;IACpE,CAAC;IACDC,KAAK,EAAE;MACLL,UAAU,YAAKD,KAAK,CAACE,EAAE,CAACC,OAAO,CAACC,UAAU,CAACG,KAAK,CAAE;MAClDC,OAAO,EAAE,KAAK;MACdC,QAAQ,EAAE,MAAM;MAChBC,SAAS,EAAEV,KAAK,CAACE,EAAE,CAACS,OAAO,CAAC,CAAC;IAC/B,CAAC;IACDC,WAAW,EAAE;MACXJ,OAAO,EAAE,CAAC;MACVK,QAAQ,EAAE,SAAS;MACnBC,QAAQ,EAAE,UAAU;MACpBC,GAAG,EAAEf,KAAK,CAACgB,SAAS,CAAC,IAAI,CAAC;MAC1BC,KAAK,EAAEjB,KAAK,CAACgB,SAAS,CAAC,IAAI;IAC7B;EACF,CAAC;AAAA,CAAC;AAEF,eAAejB,MAAM"}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
-
|
|
5
4
|
var _Close, _Fullscreen, _Backwards, _Forwards, _Backwards2, _Forwards2;
|
|
6
|
-
|
|
7
5
|
var _excluded = ["className", "classes", "documents", "title", "id", "fullscreen", "thumbnails", "lowCardinality", "infiniteCarousel", "xs", "onChange", "counter", "currentStep", "setCurrentStep", "visibleArrows", "variant"];
|
|
8
|
-
|
|
9
6
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
|
-
|
|
11
7
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
|
-
|
|
13
8
|
import "core-js/modules/es.array.map.js";
|
|
14
9
|
import "core-js/modules/es.array.slice.js";
|
|
15
10
|
import "core-js/modules/es.array.concat.js";
|
|
@@ -31,73 +26,63 @@ import styles from "./styles";
|
|
|
31
26
|
/**
|
|
32
27
|
* ImageCarousel description/documentation paragraph
|
|
33
28
|
*/
|
|
34
|
-
|
|
35
29
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
36
30
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
37
31
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
38
|
-
|
|
39
32
|
var HvImageCarousel = function HvImageCarousel(props) {
|
|
40
33
|
var className = props.className,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
34
|
+
classes = props.classes,
|
|
35
|
+
documents = props.documents,
|
|
36
|
+
title = props.title,
|
|
37
|
+
id = props.id,
|
|
38
|
+
_props$fullscreen = props.fullscreen,
|
|
39
|
+
fullscreenProp = _props$fullscreen === void 0 ? false : _props$fullscreen,
|
|
40
|
+
_props$thumbnails = props.thumbnails,
|
|
41
|
+
thumbnails = _props$thumbnails === void 0 ? false : _props$thumbnails,
|
|
42
|
+
_props$lowCardinality = props.lowCardinality,
|
|
43
|
+
lowCardinality = _props$lowCardinality === void 0 ? false : _props$lowCardinality,
|
|
44
|
+
_props$infiniteCarous = props.infiniteCarousel,
|
|
45
|
+
infiniteCarousel = _props$infiniteCarous === void 0 ? false : _props$infiniteCarous,
|
|
46
|
+
_props$xs = props.xs,
|
|
47
|
+
xs = _props$xs === void 0 ? false : _props$xs,
|
|
48
|
+
onChange = props.onChange,
|
|
49
|
+
_props$counter = props.counter,
|
|
50
|
+
counter = _props$counter === void 0 ? false : _props$counter,
|
|
51
|
+
_props$currentStep = props.currentStep,
|
|
52
|
+
currentStep = _props$currentStep === void 0 ? 0 : _props$currentStep,
|
|
53
|
+
setCurrentStep = props.setCurrentStep,
|
|
54
|
+
_props$visibleArrows = props.visibleArrows,
|
|
55
|
+
visibleArrows = _props$visibleArrows === void 0 ? false : _props$visibleArrows,
|
|
56
|
+
_props$variant = props.variant,
|
|
57
|
+
variant = _props$variant === void 0 ? "contain" : _props$variant,
|
|
58
|
+
others = _objectWithoutProperties(props, _excluded);
|
|
67
59
|
var elementId = useUniqueId(id, "hvcarousel");
|
|
68
|
-
|
|
69
60
|
var _useState = useState(false),
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
61
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
62
|
+
fullscreen = _useState2[0],
|
|
63
|
+
setFullscreen = _useState2[1];
|
|
74
64
|
var options = documents.map(function (element) {
|
|
75
65
|
return {
|
|
76
66
|
src: element.src,
|
|
77
67
|
value: setId(elementId, element.value)
|
|
78
68
|
};
|
|
79
69
|
});
|
|
80
|
-
|
|
81
70
|
var _useState3 = useState(0),
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
71
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
72
|
+
sliceStart = _useState4[0],
|
|
73
|
+
setSliceStart = _useState4[1];
|
|
86
74
|
var _useState5 = useState(currentStep),
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
75
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
76
|
+
selImage = _useState6[0],
|
|
77
|
+
setImage = _useState6[1];
|
|
91
78
|
var _useState7 = useState(0),
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
79
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
80
|
+
offset = _useState8[0],
|
|
81
|
+
setOffset = _useState8[1];
|
|
96
82
|
var _useState9 = useState(false),
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
83
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
84
|
+
imageHover = _useState10[0],
|
|
85
|
+
setImageHover = _useState10[1];
|
|
101
86
|
var direction = "next";
|
|
102
87
|
var useStyles = makeStyles(function (theme) {
|
|
103
88
|
return {
|
|
@@ -116,17 +101,14 @@ var HvImageCarousel = function HvImageCarousel(props) {
|
|
|
116
101
|
};
|
|
117
102
|
});
|
|
118
103
|
var style = useStyles();
|
|
119
|
-
|
|
120
104
|
var _useScrollTo = useScrollTo(0, setId(elementId, "panel"), false, 100, documents, onChange, "row"),
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
105
|
+
_useScrollTo2 = _slicedToArray(_useScrollTo, 2),
|
|
106
|
+
selectedIndex = _useScrollTo2[0],
|
|
107
|
+
setScrollTo = _useScrollTo2[1];
|
|
125
108
|
var _useScrollTo3 = useScrollTo(0, setId(elementId, "bigPanel"), false, 0, options, onChange, "row"),
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
109
|
+
_useScrollTo4 = _slicedToArray(_useScrollTo3, 2),
|
|
110
|
+
selectedBigIndex = _useScrollTo4[0],
|
|
111
|
+
setBigScrollTo = _useScrollTo4[1];
|
|
130
112
|
var refBackwards = useRef(null);
|
|
131
113
|
var refForwards = useRef(null);
|
|
132
114
|
var typeCircle = "circle";
|
|
@@ -134,19 +116,15 @@ var HvImageCarousel = function HvImageCarousel(props) {
|
|
|
134
116
|
var wrappedOnChange = function wrappedOnChange() {
|
|
135
117
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, index);
|
|
136
118
|
};
|
|
137
|
-
|
|
138
119
|
setScrollTo(event, value, index, wrappedOnChange);
|
|
139
120
|
}, [onChange, setScrollTo]);
|
|
140
|
-
|
|
141
121
|
var handleFocus = function handleFocus(focus) {
|
|
142
122
|
if (focus === refBackwards.current || focus === refForwards.current) focus.focus();
|
|
143
123
|
};
|
|
144
|
-
|
|
145
124
|
var handleBigSelection = useCallback(function (event, value, index) {
|
|
146
125
|
var wrappedOnChange = function wrappedOnChange() {
|
|
147
126
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, index);
|
|
148
127
|
};
|
|
149
|
-
|
|
150
128
|
setBigScrollTo(event, value, index, wrappedOnChange);
|
|
151
129
|
}, [onChange, setBigScrollTo]);
|
|
152
130
|
var handleVisibility = useCallback(function (event, value, index) {
|
|
@@ -159,7 +137,6 @@ var HvImageCarousel = function HvImageCarousel(props) {
|
|
|
159
137
|
var imageWidth = image.offsetWidth;
|
|
160
138
|
var scroll = panel.scrollLeft;
|
|
161
139
|
var focus = document.activeElement;
|
|
162
|
-
|
|
163
140
|
if (offsetPanel + offsetImage + offset + imageWidth - scroll > containerWidth || offsetImage - scroll < 0) {
|
|
164
141
|
handleSelection(event, value, index);
|
|
165
142
|
handleFocus(focus);
|
|
@@ -170,62 +147,50 @@ var HvImageCarousel = function HvImageCarousel(props) {
|
|
|
170
147
|
}, [selImage, setCurrentStep]);
|
|
171
148
|
useEffect(function () {
|
|
172
149
|
if (fullscreen) setOffset(150);else setOffset(0);
|
|
173
|
-
|
|
174
150
|
if (thumbnails) {
|
|
175
151
|
handleVisibility(undefined, documents[selImage].value, selImage, selectedIndex);
|
|
176
152
|
}
|
|
177
|
-
|
|
178
153
|
handleBigSelection(undefined, options[selImage].value, selImage, selectedBigIndex);
|
|
179
154
|
}, [documents, fullscreen, handleBigSelection, handleVisibility, options, selImage, selectedBigIndex, selectedIndex, thumbnails]);
|
|
180
|
-
|
|
181
155
|
var changeSlice = function changeSlice() {
|
|
182
156
|
if (direction === "next") {
|
|
183
157
|
if (infiniteCarousel && selImage === documents.length - 1) setSliceStart(0);else if (selImage > sliceStart + 2 && selImage !== documents.length - 2) setSliceStart(sliceStart + 1);
|
|
184
158
|
}
|
|
185
|
-
|
|
186
159
|
if (direction === "prev") {
|
|
187
160
|
if (infiniteCarousel && selImage === 0) setSliceStart(documents.length > 5 ? documents.length - 5 : 0);else if (selImage < sliceStart + 2 && selImage !== 1) setSliceStart(sliceStart - 1);
|
|
188
161
|
}
|
|
189
162
|
};
|
|
190
|
-
|
|
191
163
|
var nextImage = function nextImage() {
|
|
192
164
|
var next;
|
|
193
165
|
if (selImage !== documents.length - 1) next = selImage + 1;else if (infiniteCarousel) next = 0;
|
|
194
166
|
setImage(next);
|
|
195
|
-
|
|
196
167
|
if (xs) {
|
|
197
168
|
direction = "next";
|
|
198
169
|
changeSlice();
|
|
199
170
|
}
|
|
200
171
|
};
|
|
201
|
-
|
|
202
172
|
var previousImage = function previousImage() {
|
|
203
173
|
var previous;
|
|
204
174
|
if (selImage !== 0) previous = selImage - 1;else if (infiniteCarousel) previous = documents.length - 1;
|
|
205
175
|
setImage(previous);
|
|
206
|
-
|
|
207
176
|
if (xs) {
|
|
208
177
|
direction = "prev";
|
|
209
178
|
changeSlice();
|
|
210
179
|
}
|
|
211
180
|
};
|
|
212
|
-
|
|
213
181
|
var styleThumbnail = function styleThumbnail(index) {
|
|
214
182
|
if (index !== selImage) return classes.img;
|
|
215
183
|
return classes.thumbnailSelected;
|
|
216
184
|
};
|
|
217
|
-
|
|
218
185
|
var circleType = function circleType(index) {
|
|
219
186
|
if (index === selImage) {
|
|
220
187
|
typeCircle = "BigCircle";
|
|
221
188
|
if (xs) return classes.xsSelectedCircle;
|
|
222
189
|
return classes.selectedCircle;
|
|
223
190
|
}
|
|
224
|
-
|
|
225
191
|
typeCircle = "Circle";
|
|
226
192
|
return classes.miniCircle;
|
|
227
193
|
};
|
|
228
|
-
|
|
229
194
|
return /*#__PURE__*/_jsxs(HvContainer, _objectSpread(_objectSpread({
|
|
230
195
|
id: setId(elementId, "container"),
|
|
231
196
|
className: clsx(className, classes.root, xs ? "xs" : "nxs", fullscreen && classes.fullscreenStyle)
|
|
@@ -416,13 +381,11 @@ var HvImageCarousel = function HvImageCarousel(props) {
|
|
|
416
381
|
})]
|
|
417
382
|
}));
|
|
418
383
|
};
|
|
419
|
-
|
|
420
384
|
process.env.NODE_ENV !== "production" ? HvImageCarousel.propTypes = {
|
|
421
385
|
/**
|
|
422
386
|
* Class names to be applied.
|
|
423
387
|
*/
|
|
424
388
|
className: PropTypes.string,
|
|
425
|
-
|
|
426
389
|
/**
|
|
427
390
|
* A Jss Object used to override or extend the styles applied.
|
|
428
391
|
*/
|
|
@@ -431,188 +394,151 @@ process.env.NODE_ENV !== "production" ? HvImageCarousel.propTypes = {
|
|
|
431
394
|
* Styles applied to the component root class.
|
|
432
395
|
*/
|
|
433
396
|
root: PropTypes.string,
|
|
434
|
-
|
|
435
397
|
/**
|
|
436
398
|
* Styles applied to the component SelectedImage.
|
|
437
399
|
*/
|
|
438
400
|
selectedImage: PropTypes.string,
|
|
439
|
-
|
|
440
401
|
/**
|
|
441
402
|
* Styles applied to xs mode
|
|
442
403
|
*/
|
|
443
404
|
xsMode: PropTypes.string,
|
|
444
|
-
|
|
445
405
|
/**
|
|
446
406
|
* Styles applied to image in xsMode
|
|
447
407
|
*/
|
|
448
408
|
xsImage: PropTypes.string,
|
|
449
|
-
|
|
450
409
|
/**
|
|
451
410
|
* Styles applied to panel with low cardinality circles
|
|
452
411
|
*/
|
|
453
412
|
circles: PropTypes.string,
|
|
454
|
-
|
|
455
413
|
/**
|
|
456
414
|
* Styles applied to xs mode circles
|
|
457
415
|
*/
|
|
458
416
|
xsCircles: PropTypes.string,
|
|
459
|
-
|
|
460
417
|
/**
|
|
461
418
|
* Styles applied to unavailable button
|
|
462
419
|
*/
|
|
463
420
|
hidden: PropTypes.string,
|
|
464
|
-
|
|
465
421
|
/**
|
|
466
422
|
* Styles applied to the carousel title
|
|
467
423
|
*/
|
|
468
424
|
title: PropTypes.string,
|
|
469
|
-
|
|
470
425
|
/**
|
|
471
426
|
* Styles applied to the counter
|
|
472
427
|
*/
|
|
473
428
|
counter: PropTypes.string,
|
|
474
|
-
|
|
475
429
|
/**
|
|
476
430
|
* Styles applied to the div with the counter
|
|
477
431
|
*/
|
|
478
432
|
divCounter: PropTypes.string,
|
|
479
|
-
|
|
480
433
|
/**
|
|
481
434
|
* Styles applied to the thumbnails
|
|
482
435
|
*/
|
|
483
436
|
img: PropTypes.string,
|
|
484
|
-
|
|
485
437
|
/**
|
|
486
438
|
* Styles applied to the selected thumbnail
|
|
487
439
|
*/
|
|
488
440
|
thumbnailSelected: PropTypes.string,
|
|
489
|
-
|
|
490
441
|
/**
|
|
491
442
|
* Styles applied to the thumbnail button
|
|
492
443
|
*/
|
|
493
444
|
thumbnailButton: PropTypes.string,
|
|
494
|
-
|
|
495
445
|
/**
|
|
496
446
|
* Styles applied to the low cardinality circles
|
|
497
447
|
*/
|
|
498
448
|
miniCircle: PropTypes.string,
|
|
499
|
-
|
|
500
449
|
/**
|
|
501
450
|
* Styles applied to the circle of the selected image
|
|
502
451
|
*/
|
|
503
452
|
selectedCircle: PropTypes.string,
|
|
504
|
-
|
|
505
453
|
/**
|
|
506
454
|
* Styles applied to the circle of the selected image in xsmode
|
|
507
455
|
*/
|
|
508
456
|
xsSelectedCircle: PropTypes.string,
|
|
509
|
-
|
|
510
457
|
/**
|
|
511
458
|
* Styles applied to the panel with low cardinality buttons
|
|
512
459
|
*/
|
|
513
460
|
lowButtons: PropTypes.string,
|
|
514
|
-
|
|
515
461
|
/**
|
|
516
462
|
* Styles applied to the container of the selected image
|
|
517
463
|
*/
|
|
518
464
|
imageContainer: PropTypes.string,
|
|
519
|
-
|
|
520
465
|
/**
|
|
521
466
|
* Styles applied to the panel with the thumbnails
|
|
522
467
|
*/
|
|
523
468
|
stack: PropTypes.string,
|
|
524
|
-
|
|
525
469
|
/**
|
|
526
470
|
* Styles applied to the panel that contains the buttons and counter in default mode
|
|
527
471
|
*/
|
|
528
472
|
normalButtons: PropTypes.string,
|
|
529
|
-
|
|
530
473
|
/**
|
|
531
474
|
* Styles applied to fullscreen mode.
|
|
532
475
|
*/
|
|
533
476
|
fullscreenStyle: PropTypes.string,
|
|
534
|
-
|
|
535
477
|
/**
|
|
536
478
|
* Styles applied to close button in fullscreen mode.
|
|
537
479
|
*/
|
|
538
480
|
closeButton: PropTypes.string,
|
|
539
|
-
|
|
540
481
|
/**
|
|
541
482
|
* Styles applied to change image buttons.
|
|
542
483
|
*/
|
|
543
484
|
button: PropTypes.string,
|
|
544
|
-
|
|
545
485
|
/**
|
|
546
486
|
* Styles applied to thumbnails panel.
|
|
547
487
|
*/
|
|
548
488
|
panel: PropTypes.string
|
|
549
489
|
}).isRequired,
|
|
550
|
-
|
|
551
490
|
/**
|
|
552
491
|
* Documents to be displayed.
|
|
553
492
|
*/
|
|
554
493
|
documents: PropTypes.array.isRequired,
|
|
555
|
-
|
|
556
494
|
/**
|
|
557
495
|
* Title of the image carousel
|
|
558
496
|
*/
|
|
559
497
|
title: PropTypes.node,
|
|
560
|
-
|
|
561
498
|
/**
|
|
562
499
|
* A function called each time the selected image changes.
|
|
563
500
|
*/
|
|
564
501
|
onChange: PropTypes.func,
|
|
565
|
-
|
|
566
502
|
/**
|
|
567
503
|
* Id to be applied to the root node.
|
|
568
504
|
*/
|
|
569
505
|
id: PropTypes.string,
|
|
570
|
-
|
|
571
506
|
/**
|
|
572
507
|
* A flag that activates the thumbnails.
|
|
573
508
|
*/
|
|
574
509
|
thumbnails: PropTypes.bool,
|
|
575
|
-
|
|
576
510
|
/**
|
|
577
511
|
* A flag that switches to low cardinality mode
|
|
578
512
|
*/
|
|
579
513
|
lowCardinality: PropTypes.bool,
|
|
580
|
-
|
|
581
514
|
/**
|
|
582
515
|
* A flag that activates the infinite carousel behavior
|
|
583
516
|
*/
|
|
584
517
|
infiniteCarousel: PropTypes.bool,
|
|
585
|
-
|
|
586
518
|
/**
|
|
587
519
|
* A flag that activates a counter on the top right corner of the selected image
|
|
588
520
|
*/
|
|
589
521
|
counter: PropTypes.bool,
|
|
590
|
-
|
|
591
522
|
/**
|
|
592
523
|
* Set Image Carousel to fullscreen mode
|
|
593
524
|
*/
|
|
594
525
|
fullscreen: PropTypes.bool,
|
|
595
|
-
|
|
596
526
|
/**
|
|
597
527
|
* Set selected image to a particular image in documents
|
|
598
528
|
*/
|
|
599
529
|
currentStep: PropTypes.number,
|
|
600
|
-
|
|
601
530
|
/**
|
|
602
531
|
* Function that changes the selected image
|
|
603
532
|
*/
|
|
604
533
|
setCurrentStep: PropTypes.func,
|
|
605
|
-
|
|
606
534
|
/**
|
|
607
535
|
* Image Carousel set to xs mode
|
|
608
536
|
*/
|
|
609
537
|
xs: PropTypes.bool,
|
|
610
|
-
|
|
611
538
|
/**
|
|
612
539
|
* Arrows always displayed in low cardinality or xs mode
|
|
613
540
|
*/
|
|
614
541
|
visibleArrows: PropTypes.bool,
|
|
615
|
-
|
|
616
542
|
/**
|
|
617
543
|
* Selected image fit variant
|
|
618
544
|
*/
|