@hitachivantara/uikit-react-lab 4.0.2 → 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.d.ts +5 -5
- package/dist/Wizard/Wizard.js +33 -85
- package/dist/Wizard/Wizard.js.map +1 -1
- package/dist/Wizard/WizardActions/WizardActions.d.ts +2 -2
- package/dist/Wizard/WizardActions/WizardActions.js +31 -86
- 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.d.ts +1 -1
- package/dist/Wizard/WizardContent/WizardContent.js +12 -55
- 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.d.ts +12 -0
- package/dist/Wizard/WizardContext/WizardContext.js +0 -4
- package/dist/Wizard/WizardContext/WizardContext.js.map +1 -1
- package/dist/Wizard/WizardContext/WizardContextProvider.d.ts +28 -0
- package/dist/Wizard/WizardContext/WizardContextProvider.js +41 -0
- package/dist/Wizard/WizardContext/WizardContextProvider.js.map +1 -0
- package/dist/Wizard/WizardContext/index.d.ts +5 -0
- package/dist/Wizard/WizardContext/index.js +7 -2
- package/dist/Wizard/WizardContext/index.js.map +1 -1
- package/dist/Wizard/WizardTitle/WizardTitle.d.ts +7 -9
- package/dist/Wizard/WizardTitle/WizardTitle.js +18 -59
- 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.d.ts +15 -0
- package/dist/Wizard/index.js +7 -7
- 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 +12 -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.d.ts +5 -5
- package/dist/legacy/Wizard/Wizard.js +33 -59
- package/dist/legacy/Wizard/Wizard.js.map +1 -1
- package/dist/legacy/Wizard/WizardActions/WizardActions.d.ts +2 -2
- package/dist/legacy/Wizard/WizardActions/WizardActions.js +33 -62
- 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.d.ts +1 -1
- package/dist/legacy/Wizard/WizardContent/WizardContent.js +11 -27
- 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.d.ts +12 -0
- 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.d.ts +28 -0
- package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js +33 -0
- package/dist/legacy/Wizard/WizardContext/WizardContextProvider.js.map +1 -0
- package/dist/legacy/Wizard/WizardContext/index.d.ts +5 -0
- package/dist/legacy/Wizard/WizardContext/index.js +1 -0
- package/dist/legacy/Wizard/WizardContext/index.js.map +1 -1
- package/dist/legacy/Wizard/WizardTitle/WizardTitle.d.ts +7 -9
- package/dist/legacy/Wizard/WizardTitle/WizardTitle.js +17 -42
- 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.d.ts +15 -0
- package/dist/legacy/Wizard/index.js +1 -0
- 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 +1 -0
- 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.d.ts +5 -5
- package/dist/modern/Wizard/Wizard.js +24 -49
- package/dist/modern/Wizard/Wizard.js.map +1 -1
- package/dist/modern/Wizard/WizardActions/WizardActions.d.ts +2 -2
- package/dist/modern/Wizard/WizardActions/WizardActions.js +6 -30
- 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.d.ts +1 -1
- package/dist/modern/Wizard/WizardContent/WizardContent.js +1 -15
- 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.d.ts +12 -0
- 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.d.ts +28 -0
- package/dist/modern/Wizard/WizardContext/WizardContextProvider.js +34 -0
- package/dist/modern/Wizard/WizardContext/WizardContextProvider.js.map +1 -0
- package/dist/modern/Wizard/WizardContext/index.d.ts +5 -0
- package/dist/modern/Wizard/WizardContext/index.js +1 -0
- package/dist/modern/Wizard/WizardContext/index.js.map +1 -1
- package/dist/modern/Wizard/WizardTitle/WizardTitle.d.ts +7 -9
- package/dist/modern/Wizard/WizardTitle/WizardTitle.js +3 -24
- 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.d.ts +15 -0
- package/dist/modern/Wizard/index.js +1 -0
- 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 +1 -0
- 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
|
const _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 React from "react";
|
|
13
8
|
import clsx from "clsx";
|
|
14
9
|
import PropTypes from "prop-types";
|
|
@@ -17,32 +12,29 @@ import { withStyles } from "@mui/styles";
|
|
|
17
12
|
import { Close } from "@hitachivantara/uikit-react-icons";
|
|
18
13
|
import { HvButton, withTooltip, setId } from "@hitachivantara/uikit-react-core";
|
|
19
14
|
import styles from "./styles";
|
|
15
|
+
|
|
20
16
|
/**
|
|
21
17
|
* The Drawer component provides a foundation to create a sliding pane.
|
|
22
18
|
* It only provides the pane with a close button, the rest of the
|
|
23
19
|
* content can be customized.
|
|
24
20
|
*/
|
|
25
|
-
|
|
26
21
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
22
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
-
|
|
29
23
|
const HvDrawer = _ref => {
|
|
30
24
|
let {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
25
|
+
className,
|
|
26
|
+
classes,
|
|
27
|
+
id,
|
|
28
|
+
children,
|
|
29
|
+
open,
|
|
30
|
+
onClose,
|
|
31
|
+
anchor = "right",
|
|
32
|
+
buttonTitle = "Close"
|
|
33
|
+
} = _ref,
|
|
34
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
42
35
|
const closeButtonDisplay = () => _Close || (_Close = /*#__PURE__*/_jsx(Close, {
|
|
43
36
|
role: "presentation"
|
|
44
37
|
}));
|
|
45
|
-
|
|
46
38
|
const CloseButtonTooltipWrapper = buttonTitle ? withTooltip(closeButtonDisplay, buttonTitle, "top") : closeButtonDisplay;
|
|
47
39
|
return /*#__PURE__*/_jsxs(Drawer, _objectSpread(_objectSpread({
|
|
48
40
|
className: clsx(classes.root, className),
|
|
@@ -71,18 +63,15 @@ const HvDrawer = _ref => {
|
|
|
71
63
|
}), children]
|
|
72
64
|
}));
|
|
73
65
|
};
|
|
74
|
-
|
|
75
66
|
process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
76
67
|
/**
|
|
77
68
|
* Class names to be applied.
|
|
78
69
|
*/
|
|
79
70
|
className: PropTypes.string,
|
|
80
|
-
|
|
81
71
|
/**
|
|
82
72
|
* Id to be applied to the root node.
|
|
83
73
|
*/
|
|
84
74
|
id: PropTypes.string,
|
|
85
|
-
|
|
86
75
|
/**
|
|
87
76
|
* A Jss Object used to override or extend the styles applied.
|
|
88
77
|
*/
|
|
@@ -91,33 +80,27 @@ process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
|
91
80
|
* Style applied to the root of the component.
|
|
92
81
|
*/
|
|
93
82
|
root: PropTypes.string,
|
|
94
|
-
|
|
95
83
|
/**
|
|
96
84
|
* Style applied to the background (outside) of the component.
|
|
97
85
|
*/
|
|
98
86
|
background: PropTypes.string,
|
|
99
|
-
|
|
100
87
|
/**
|
|
101
88
|
* Style applied to the component (root).
|
|
102
89
|
*/
|
|
103
90
|
paper: PropTypes.string,
|
|
104
|
-
|
|
105
91
|
/**
|
|
106
92
|
* Style applied to the close button.
|
|
107
93
|
*/
|
|
108
94
|
closeButton: PropTypes.string
|
|
109
95
|
}).isRequired,
|
|
110
|
-
|
|
111
96
|
/**
|
|
112
97
|
* Components of the Drawer.
|
|
113
98
|
*/
|
|
114
99
|
children: PropTypes.node.isRequired,
|
|
115
|
-
|
|
116
100
|
/**
|
|
117
101
|
* Current state of the Drawer.
|
|
118
102
|
*/
|
|
119
103
|
open: PropTypes.bool.isRequired,
|
|
120
|
-
|
|
121
104
|
/**
|
|
122
105
|
* Function executed on close.
|
|
123
106
|
* Extended from Modal from material-ui
|
|
@@ -126,12 +109,10 @@ process.env.NODE_ENV !== "production" ? HvDrawer.propTypes = {
|
|
|
126
109
|
* @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
|
|
127
110
|
*/
|
|
128
111
|
onClose: PropTypes.func.isRequired,
|
|
129
|
-
|
|
130
112
|
/**
|
|
131
113
|
* The side the drawer opens from.
|
|
132
114
|
*/
|
|
133
115
|
anchor: PropTypes.oneOf(["left", "top", "right", "bottom"]),
|
|
134
|
-
|
|
135
116
|
/**
|
|
136
117
|
* Title for the button close.
|
|
137
118
|
*/
|
|
@@ -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,MAAMC,QAAQ,GAAG,QAUX;EAAA,IAVY;MAChBC,SAAS;MACTC,OAAO;MACPC,EAAE;MACFC,QAAQ;MACRC,IAAI;MACJC,OAAO;MACPC,MAAM,GAAG,OAAO;MAChBC,WAAW,GAAG;IAEhB,CAAC;IADIC,MAAM;EAET,MAAMC,kBAAkB,GAAG,uCAAM,KAAC,KAAK;IAAC,IAAI,EAAC;EAAc,EAAG;EAE9D,MAAMC,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,CAACC,KAAK,EAAEC,MAAM,KAAKV,OAAO,CAACS,KAAK,EAAEC,MAAM;EAAE,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,OAAQ;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
|
const styles = theme => ({
|
|
4
3
|
background: {
|
|
5
4
|
background: alpha(hexToRgb(theme.hv.palette.atmosphere.atmo4), 0.8)
|
|
@@ -18,6 +17,5 @@ const styles = theme => ({
|
|
|
18
17
|
right: theme.hvSpacing("sm")
|
|
19
18
|
}
|
|
20
19
|
});
|
|
21
|
-
|
|
22
20
|
export default styles;
|
|
23
21
|
//# 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,MAAMC,MAAM,GAAIC,KAAK,KAAM;EACzBC,UAAU,EAAE;IACVA,UAAU,EAAEH,KAAK,CAACD,QAAQ,CAACG,KAAK,CAACE,EAAE,CAACC,OAAO,CAACC,UAAU,CAACC,KAAK,CAAC,EAAE,GAAG;EACpE,CAAC;EACDC,KAAK,EAAE;IACLL,UAAU,EAAG,GAAED,KAAK,CAACE,EAAE,CAACC,OAAO,CAACC,UAAU,CAACG,KAAM,EAAC;IAClDC,OAAO,EAAE,KAAK;IACdC,QAAQ,EAAE,MAAM;IAChBC,SAAS,EAAEV,KAAK,CAACE,EAAE,CAACS,OAAO,CAAC,CAAC;EAC/B,CAAC;EACDC,WAAW,EAAE;IACXJ,OAAO,EAAE,CAAC;IACVK,QAAQ,EAAE,SAAS;IACnBC,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAEf,KAAK,CAACgB,SAAS,CAAC,IAAI,CAAC;IAC1BC,KAAK,EAAEjB,KAAK,CAACgB,SAAS,CAAC,IAAI;EAC7B;AACF,CAAC,CAAC;AAEF,eAAejB,MAAM"}
|
|
@@ -1,15 +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, _Fullscreen, _Backwards, _Forwards, _Backwards2, _Forwards2;
|
|
5
|
-
|
|
6
4
|
const _excluded = ["className", "classes", "documents", "title", "id", "fullscreen", "thumbnails", "lowCardinality", "infiniteCarousel", "xs", "onChange", "counter", "currentStep", "setCurrentStep", "visibleArrows", "variant"];
|
|
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
|
-
import "core-js/modules/web.dom-collections.iterator.js";
|
|
13
7
|
import React, { useState, useRef, useEffect, useCallback } from "react";
|
|
14
8
|
import PropTypes from "prop-types";
|
|
15
9
|
import clsx from "clsx";
|
|
@@ -21,32 +15,29 @@ import styles from "./styles";
|
|
|
21
15
|
/**
|
|
22
16
|
* ImageCarousel description/documentation paragraph
|
|
23
17
|
*/
|
|
24
|
-
|
|
25
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
26
19
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
20
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
28
|
-
|
|
29
21
|
const HvImageCarousel = props => {
|
|
30
22
|
const {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
23
|
+
className,
|
|
24
|
+
classes,
|
|
25
|
+
documents,
|
|
26
|
+
title,
|
|
27
|
+
id,
|
|
28
|
+
fullscreen: fullscreenProp = false,
|
|
29
|
+
thumbnails = false,
|
|
30
|
+
lowCardinality = false,
|
|
31
|
+
infiniteCarousel = false,
|
|
32
|
+
xs = false,
|
|
33
|
+
onChange,
|
|
34
|
+
counter = false,
|
|
35
|
+
currentStep = 0,
|
|
36
|
+
setCurrentStep,
|
|
37
|
+
visibleArrows = false,
|
|
38
|
+
variant = "contain"
|
|
39
|
+
} = props,
|
|
40
|
+
others = _objectWithoutProperties(props, _excluded);
|
|
50
41
|
const elementId = useUniqueId(id, "hvcarousel");
|
|
51
42
|
const [fullscreen, setFullscreen] = useState(false);
|
|
52
43
|
const options = documents.map(element => ({
|
|
@@ -82,19 +73,15 @@ const HvImageCarousel = props => {
|
|
|
82
73
|
const wrappedOnChange = () => {
|
|
83
74
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, index);
|
|
84
75
|
};
|
|
85
|
-
|
|
86
76
|
setScrollTo(event, value, index, wrappedOnChange);
|
|
87
77
|
}, [onChange, setScrollTo]);
|
|
88
|
-
|
|
89
78
|
const handleFocus = focus => {
|
|
90
79
|
if (focus === refBackwards.current || focus === refForwards.current) focus.focus();
|
|
91
80
|
};
|
|
92
|
-
|
|
93
81
|
const handleBigSelection = useCallback((event, value, index) => {
|
|
94
82
|
const wrappedOnChange = () => {
|
|
95
83
|
onChange === null || onChange === void 0 ? void 0 : onChange(event, index);
|
|
96
84
|
};
|
|
97
|
-
|
|
98
85
|
setBigScrollTo(event, value, index, wrappedOnChange);
|
|
99
86
|
}, [onChange, setBigScrollTo]);
|
|
100
87
|
const handleVisibility = useCallback((event, value, index) => {
|
|
@@ -107,7 +94,6 @@ const HvImageCarousel = props => {
|
|
|
107
94
|
const imageWidth = image.offsetWidth;
|
|
108
95
|
const scroll = panel.scrollLeft;
|
|
109
96
|
const focus = document.activeElement;
|
|
110
|
-
|
|
111
97
|
if (offsetPanel + offsetImage + offset + imageWidth - scroll > containerWidth || offsetImage - scroll < 0) {
|
|
112
98
|
handleSelection(event, value, index);
|
|
113
99
|
handleFocus(focus);
|
|
@@ -118,62 +104,50 @@ const HvImageCarousel = props => {
|
|
|
118
104
|
}, [selImage, setCurrentStep]);
|
|
119
105
|
useEffect(() => {
|
|
120
106
|
if (fullscreen) setOffset(150);else setOffset(0);
|
|
121
|
-
|
|
122
107
|
if (thumbnails) {
|
|
123
108
|
handleVisibility(undefined, documents[selImage].value, selImage, selectedIndex);
|
|
124
109
|
}
|
|
125
|
-
|
|
126
110
|
handleBigSelection(undefined, options[selImage].value, selImage, selectedBigIndex);
|
|
127
111
|
}, [documents, fullscreen, handleBigSelection, handleVisibility, options, selImage, selectedBigIndex, selectedIndex, thumbnails]);
|
|
128
|
-
|
|
129
112
|
const changeSlice = () => {
|
|
130
113
|
if (direction === "next") {
|
|
131
114
|
if (infiniteCarousel && selImage === documents.length - 1) setSliceStart(0);else if (selImage > sliceStart + 2 && selImage !== documents.length - 2) setSliceStart(sliceStart + 1);
|
|
132
115
|
}
|
|
133
|
-
|
|
134
116
|
if (direction === "prev") {
|
|
135
117
|
if (infiniteCarousel && selImage === 0) setSliceStart(documents.length > 5 ? documents.length - 5 : 0);else if (selImage < sliceStart + 2 && selImage !== 1) setSliceStart(sliceStart - 1);
|
|
136
118
|
}
|
|
137
119
|
};
|
|
138
|
-
|
|
139
120
|
const nextImage = () => {
|
|
140
121
|
let next;
|
|
141
122
|
if (selImage !== documents.length - 1) next = selImage + 1;else if (infiniteCarousel) next = 0;
|
|
142
123
|
setImage(next);
|
|
143
|
-
|
|
144
124
|
if (xs) {
|
|
145
125
|
direction = "next";
|
|
146
126
|
changeSlice();
|
|
147
127
|
}
|
|
148
128
|
};
|
|
149
|
-
|
|
150
129
|
const previousImage = () => {
|
|
151
130
|
let previous;
|
|
152
131
|
if (selImage !== 0) previous = selImage - 1;else if (infiniteCarousel) previous = documents.length - 1;
|
|
153
132
|
setImage(previous);
|
|
154
|
-
|
|
155
133
|
if (xs) {
|
|
156
134
|
direction = "prev";
|
|
157
135
|
changeSlice();
|
|
158
136
|
}
|
|
159
137
|
};
|
|
160
|
-
|
|
161
138
|
const styleThumbnail = index => {
|
|
162
139
|
if (index !== selImage) return classes.img;
|
|
163
140
|
return classes.thumbnailSelected;
|
|
164
141
|
};
|
|
165
|
-
|
|
166
142
|
const circleType = index => {
|
|
167
143
|
if (index === selImage) {
|
|
168
144
|
typeCircle = "BigCircle";
|
|
169
145
|
if (xs) return classes.xsSelectedCircle;
|
|
170
146
|
return classes.selectedCircle;
|
|
171
147
|
}
|
|
172
|
-
|
|
173
148
|
typeCircle = "Circle";
|
|
174
149
|
return classes.miniCircle;
|
|
175
150
|
};
|
|
176
|
-
|
|
177
151
|
return /*#__PURE__*/_jsxs(HvContainer, _objectSpread(_objectSpread({
|
|
178
152
|
id: setId(elementId, "container"),
|
|
179
153
|
className: clsx(className, classes.root, xs ? "xs" : "nxs", fullscreen && classes.fullscreenStyle)
|
|
@@ -334,13 +308,11 @@ const HvImageCarousel = props => {
|
|
|
334
308
|
})]
|
|
335
309
|
}));
|
|
336
310
|
};
|
|
337
|
-
|
|
338
311
|
process.env.NODE_ENV !== "production" ? HvImageCarousel.propTypes = {
|
|
339
312
|
/**
|
|
340
313
|
* Class names to be applied.
|
|
341
314
|
*/
|
|
342
315
|
className: PropTypes.string,
|
|
343
|
-
|
|
344
316
|
/**
|
|
345
317
|
* A Jss Object used to override or extend the styles applied.
|
|
346
318
|
*/
|
|
@@ -349,188 +321,151 @@ process.env.NODE_ENV !== "production" ? HvImageCarousel.propTypes = {
|
|
|
349
321
|
* Styles applied to the component root class.
|
|
350
322
|
*/
|
|
351
323
|
root: PropTypes.string,
|
|
352
|
-
|
|
353
324
|
/**
|
|
354
325
|
* Styles applied to the component SelectedImage.
|
|
355
326
|
*/
|
|
356
327
|
selectedImage: PropTypes.string,
|
|
357
|
-
|
|
358
328
|
/**
|
|
359
329
|
* Styles applied to xs mode
|
|
360
330
|
*/
|
|
361
331
|
xsMode: PropTypes.string,
|
|
362
|
-
|
|
363
332
|
/**
|
|
364
333
|
* Styles applied to image in xsMode
|
|
365
334
|
*/
|
|
366
335
|
xsImage: PropTypes.string,
|
|
367
|
-
|
|
368
336
|
/**
|
|
369
337
|
* Styles applied to panel with low cardinality circles
|
|
370
338
|
*/
|
|
371
339
|
circles: PropTypes.string,
|
|
372
|
-
|
|
373
340
|
/**
|
|
374
341
|
* Styles applied to xs mode circles
|
|
375
342
|
*/
|
|
376
343
|
xsCircles: PropTypes.string,
|
|
377
|
-
|
|
378
344
|
/**
|
|
379
345
|
* Styles applied to unavailable button
|
|
380
346
|
*/
|
|
381
347
|
hidden: PropTypes.string,
|
|
382
|
-
|
|
383
348
|
/**
|
|
384
349
|
* Styles applied to the carousel title
|
|
385
350
|
*/
|
|
386
351
|
title: PropTypes.string,
|
|
387
|
-
|
|
388
352
|
/**
|
|
389
353
|
* Styles applied to the counter
|
|
390
354
|
*/
|
|
391
355
|
counter: PropTypes.string,
|
|
392
|
-
|
|
393
356
|
/**
|
|
394
357
|
* Styles applied to the div with the counter
|
|
395
358
|
*/
|
|
396
359
|
divCounter: PropTypes.string,
|
|
397
|
-
|
|
398
360
|
/**
|
|
399
361
|
* Styles applied to the thumbnails
|
|
400
362
|
*/
|
|
401
363
|
img: PropTypes.string,
|
|
402
|
-
|
|
403
364
|
/**
|
|
404
365
|
* Styles applied to the selected thumbnail
|
|
405
366
|
*/
|
|
406
367
|
thumbnailSelected: PropTypes.string,
|
|
407
|
-
|
|
408
368
|
/**
|
|
409
369
|
* Styles applied to the thumbnail button
|
|
410
370
|
*/
|
|
411
371
|
thumbnailButton: PropTypes.string,
|
|
412
|
-
|
|
413
372
|
/**
|
|
414
373
|
* Styles applied to the low cardinality circles
|
|
415
374
|
*/
|
|
416
375
|
miniCircle: PropTypes.string,
|
|
417
|
-
|
|
418
376
|
/**
|
|
419
377
|
* Styles applied to the circle of the selected image
|
|
420
378
|
*/
|
|
421
379
|
selectedCircle: PropTypes.string,
|
|
422
|
-
|
|
423
380
|
/**
|
|
424
381
|
* Styles applied to the circle of the selected image in xsmode
|
|
425
382
|
*/
|
|
426
383
|
xsSelectedCircle: PropTypes.string,
|
|
427
|
-
|
|
428
384
|
/**
|
|
429
385
|
* Styles applied to the panel with low cardinality buttons
|
|
430
386
|
*/
|
|
431
387
|
lowButtons: PropTypes.string,
|
|
432
|
-
|
|
433
388
|
/**
|
|
434
389
|
* Styles applied to the container of the selected image
|
|
435
390
|
*/
|
|
436
391
|
imageContainer: PropTypes.string,
|
|
437
|
-
|
|
438
392
|
/**
|
|
439
393
|
* Styles applied to the panel with the thumbnails
|
|
440
394
|
*/
|
|
441
395
|
stack: PropTypes.string,
|
|
442
|
-
|
|
443
396
|
/**
|
|
444
397
|
* Styles applied to the panel that contains the buttons and counter in default mode
|
|
445
398
|
*/
|
|
446
399
|
normalButtons: PropTypes.string,
|
|
447
|
-
|
|
448
400
|
/**
|
|
449
401
|
* Styles applied to fullscreen mode.
|
|
450
402
|
*/
|
|
451
403
|
fullscreenStyle: PropTypes.string,
|
|
452
|
-
|
|
453
404
|
/**
|
|
454
405
|
* Styles applied to close button in fullscreen mode.
|
|
455
406
|
*/
|
|
456
407
|
closeButton: PropTypes.string,
|
|
457
|
-
|
|
458
408
|
/**
|
|
459
409
|
* Styles applied to change image buttons.
|
|
460
410
|
*/
|
|
461
411
|
button: PropTypes.string,
|
|
462
|
-
|
|
463
412
|
/**
|
|
464
413
|
* Styles applied to thumbnails panel.
|
|
465
414
|
*/
|
|
466
415
|
panel: PropTypes.string
|
|
467
416
|
}).isRequired,
|
|
468
|
-
|
|
469
417
|
/**
|
|
470
418
|
* Documents to be displayed.
|
|
471
419
|
*/
|
|
472
420
|
documents: PropTypes.array.isRequired,
|
|
473
|
-
|
|
474
421
|
/**
|
|
475
422
|
* Title of the image carousel
|
|
476
423
|
*/
|
|
477
424
|
title: PropTypes.node,
|
|
478
|
-
|
|
479
425
|
/**
|
|
480
426
|
* A function called each time the selected image changes.
|
|
481
427
|
*/
|
|
482
428
|
onChange: PropTypes.func,
|
|
483
|
-
|
|
484
429
|
/**
|
|
485
430
|
* Id to be applied to the root node.
|
|
486
431
|
*/
|
|
487
432
|
id: PropTypes.string,
|
|
488
|
-
|
|
489
433
|
/**
|
|
490
434
|
* A flag that activates the thumbnails.
|
|
491
435
|
*/
|
|
492
436
|
thumbnails: PropTypes.bool,
|
|
493
|
-
|
|
494
437
|
/**
|
|
495
438
|
* A flag that switches to low cardinality mode
|
|
496
439
|
*/
|
|
497
440
|
lowCardinality: PropTypes.bool,
|
|
498
|
-
|
|
499
441
|
/**
|
|
500
442
|
* A flag that activates the infinite carousel behavior
|
|
501
443
|
*/
|
|
502
444
|
infiniteCarousel: PropTypes.bool,
|
|
503
|
-
|
|
504
445
|
/**
|
|
505
446
|
* A flag that activates a counter on the top right corner of the selected image
|
|
506
447
|
*/
|
|
507
448
|
counter: PropTypes.bool,
|
|
508
|
-
|
|
509
449
|
/**
|
|
510
450
|
* Set Image Carousel to fullscreen mode
|
|
511
451
|
*/
|
|
512
452
|
fullscreen: PropTypes.bool,
|
|
513
|
-
|
|
514
453
|
/**
|
|
515
454
|
* Set selected image to a particular image in documents
|
|
516
455
|
*/
|
|
517
456
|
currentStep: PropTypes.number,
|
|
518
|
-
|
|
519
457
|
/**
|
|
520
458
|
* Function that changes the selected image
|
|
521
459
|
*/
|
|
522
460
|
setCurrentStep: PropTypes.func,
|
|
523
|
-
|
|
524
461
|
/**
|
|
525
462
|
* Image Carousel set to xs mode
|
|
526
463
|
*/
|
|
527
464
|
xs: PropTypes.bool,
|
|
528
|
-
|
|
529
465
|
/**
|
|
530
466
|
* Arrows always displayed in low cardinality or xs mode
|
|
531
467
|
*/
|
|
532
468
|
visibleArrows: PropTypes.bool,
|
|
533
|
-
|
|
534
469
|
/**
|
|
535
470
|
* Selected image fit variant
|
|
536
471
|
*/
|