@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,11 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["classes", "className", "labels", "onClick"];
|
|
4
|
-
|
|
5
4
|
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; }
|
|
6
|
-
|
|
7
5
|
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; }
|
|
8
|
-
|
|
9
6
|
import React from "react";
|
|
10
7
|
import PropTypes from "prop-types";
|
|
11
8
|
import clsx from "clsx";
|
|
@@ -14,16 +11,14 @@ import { withStyles } from "@mui/styles";
|
|
|
14
11
|
import styles from "./styles";
|
|
15
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
16
13
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
-
|
|
18
14
|
const NotificationsIndicator = _ref => {
|
|
19
15
|
let {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
classes,
|
|
17
|
+
className,
|
|
18
|
+
labels,
|
|
19
|
+
onClick
|
|
20
|
+
} = _ref,
|
|
21
|
+
others = _objectWithoutProperties(_ref, _excluded);
|
|
27
22
|
return /*#__PURE__*/_jsxs("div", _objectSpread(_objectSpread({
|
|
28
23
|
className: clsx(className, classes.root, classes.notificationsIndicator)
|
|
29
24
|
}, others), {}, {
|
|
@@ -43,7 +38,6 @@ const NotificationsIndicator = _ref => {
|
|
|
43
38
|
})]
|
|
44
39
|
}));
|
|
45
40
|
};
|
|
46
|
-
|
|
47
41
|
process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
|
|
48
42
|
/**
|
|
49
43
|
* A Jss Object used to override or extend the component styles.
|
|
@@ -53,28 +47,23 @@ process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
|
|
|
53
47
|
* Styles applied to the root of the element.
|
|
54
48
|
*/
|
|
55
49
|
root: PropTypes.string,
|
|
56
|
-
|
|
57
50
|
/**
|
|
58
51
|
* Styles applied to the NotificationsIndicator container.
|
|
59
52
|
*/
|
|
60
53
|
notificationsIndicator: PropTypes.string,
|
|
61
|
-
|
|
62
54
|
/**
|
|
63
55
|
* Styles applied to the notification focus
|
|
64
56
|
*/
|
|
65
57
|
newNotificationsFocus: PropTypes.string,
|
|
66
|
-
|
|
67
58
|
/**
|
|
68
59
|
* Override to text color for usage over semantic background in wicked
|
|
69
60
|
*/
|
|
70
61
|
semanticColoring: PropTypes.string
|
|
71
62
|
}).isRequired,
|
|
72
|
-
|
|
73
63
|
/**
|
|
74
64
|
* Class names to be applied to the accordion.
|
|
75
65
|
*/
|
|
76
66
|
className: PropTypes.string,
|
|
77
|
-
|
|
78
67
|
/**
|
|
79
68
|
* Labels to apply to component
|
|
80
69
|
*/
|
|
@@ -83,13 +72,11 @@ process.env.NODE_ENV !== "production" ? NotificationsIndicator.propTypes = {
|
|
|
83
72
|
* Notification indicator label
|
|
84
73
|
*/
|
|
85
74
|
label: PropTypes.string,
|
|
86
|
-
|
|
87
75
|
/**
|
|
88
76
|
* Label to apply to the button label
|
|
89
77
|
*/
|
|
90
78
|
buttonLabel: PropTypes.string
|
|
91
79
|
}).isRequired,
|
|
92
|
-
|
|
93
80
|
/**
|
|
94
81
|
* Function passed to the notification panel button
|
|
95
82
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationsIndicator.js","names":["React","PropTypes","clsx","HvButton","HvTypography","withStyles","styles","NotificationsIndicator","classes","className","labels","onClick","others","root","notificationsIndicator","normalText","semanticColoring","label","newNotificationsFocus","focusVisible","buttonLabel","propTypes","shape","string","isRequired","func","name"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { HvButton, HvTypography } from \"@hitachivantara/uikit-react-core\";\n\nimport { withStyles } from \"@mui/styles\";\nimport styles from \"./styles\";\n\nconst NotificationsIndicator = ({ classes, className, labels, onClick, ...others }) => {\n return (\n <div className={clsx(className, classes.root, classes.notificationsIndicator)} {...others}>\n <HvTypography classes={{ normalText: classes.semanticColoring }}>{labels.label}</HvTypography>\n <HvButton\n category=\"semantic\"\n className={classes.newNotificationsFocus}\n classes={{\n focusVisible: classes.newNotificationsFocus,\n }}\n onClick={onClick}\n >\n {labels.buttonLabel}\n </HvButton>\n </div>\n );\n};\n\nNotificationsIndicator.propTypes = {\n /**\n * A Jss Object used to override or extend the component styles.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the root of the element.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the NotificationsIndicator container.\n */\n notificationsIndicator: PropTypes.string,\n\n /**\n * Styles applied to the notification focus\n */\n newNotificationsFocus: PropTypes.string,\n /**\n * Override to text color for usage over semantic background in wicked\n */\n semanticColoring: PropTypes.string,\n }).isRequired,\n\n /**\n * Class names to be applied to the accordion.\n */\n className: PropTypes.string,\n /**\n * Labels to apply to component\n */\n labels: PropTypes.shape({\n /**\n * Notification indicator label\n */\n label: PropTypes.string,\n /**\n * Label to apply to the button label\n */\n buttonLabel: PropTypes.string,\n }).isRequired,\n /**\n * Function passed to the notification panel button\n */\n onClick: PropTypes.func,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationsIndicator\" })(NotificationsIndicator);\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"NotificationsIndicator.js","names":["React","PropTypes","clsx","HvButton","HvTypography","withStyles","styles","NotificationsIndicator","classes","className","labels","onClick","others","root","notificationsIndicator","normalText","semanticColoring","label","newNotificationsFocus","focusVisible","buttonLabel","propTypes","shape","string","isRequired","func","name"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/NotificationsIndicator.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\nimport { HvButton, HvTypography } from \"@hitachivantara/uikit-react-core\";\n\nimport { withStyles } from \"@mui/styles\";\nimport styles from \"./styles\";\n\nconst NotificationsIndicator = ({ classes, className, labels, onClick, ...others }) => {\n return (\n <div className={clsx(className, classes.root, classes.notificationsIndicator)} {...others}>\n <HvTypography classes={{ normalText: classes.semanticColoring }}>{labels.label}</HvTypography>\n <HvButton\n category=\"semantic\"\n className={classes.newNotificationsFocus}\n classes={{\n focusVisible: classes.newNotificationsFocus,\n }}\n onClick={onClick}\n >\n {labels.buttonLabel}\n </HvButton>\n </div>\n );\n};\n\nNotificationsIndicator.propTypes = {\n /**\n * A Jss Object used to override or extend the component styles.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the root of the element.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the NotificationsIndicator container.\n */\n notificationsIndicator: PropTypes.string,\n\n /**\n * Styles applied to the notification focus\n */\n newNotificationsFocus: PropTypes.string,\n /**\n * Override to text color for usage over semantic background in wicked\n */\n semanticColoring: PropTypes.string,\n }).isRequired,\n\n /**\n * Class names to be applied to the accordion.\n */\n className: PropTypes.string,\n /**\n * Labels to apply to component\n */\n labels: PropTypes.shape({\n /**\n * Notification indicator label\n */\n label: PropTypes.string,\n /**\n * Label to apply to the button label\n */\n buttonLabel: PropTypes.string,\n }).isRequired,\n /**\n * Function passed to the notification panel button\n */\n onClick: PropTypes.func,\n};\n\nexport default withStyles(styles, { name: \"HvNotificationsIndicator\" })(NotificationsIndicator);\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,IAAI,MAAM,MAAM;AACvB,SAASC,QAAQ,EAAEC,YAAY,QAAQ,kCAAkC;AAEzE,SAASC,UAAU,QAAQ,aAAa;AACxC,OAAOC,MAAM,MAAM,UAAU;AAAC;AAAA;AAE9B,MAAMC,sBAAsB,GAAG,QAAwD;EAAA,IAAvD;MAAEC,OAAO;MAAEC,SAAS;MAAEC,MAAM;MAAEC;IAAmB,CAAC;IAARC,MAAM;EAC9E,oBACE;IAAK,SAAS,EAAEV,IAAI,CAACO,SAAS,EAAED,OAAO,CAACK,IAAI,EAAEL,OAAO,CAACM,sBAAsB;EAAE,GAAKF,MAAM;IAAA,wBACvF,KAAC,YAAY;MAAC,OAAO,EAAE;QAAEG,UAAU,EAAEP,OAAO,CAACQ;MAAiB,CAAE;MAAA,UAAEN,MAAM,CAACO;IAAK,EAAgB,eAC9F,KAAC,QAAQ;MACP,QAAQ,EAAC,UAAU;MACnB,SAAS,EAAET,OAAO,CAACU,qBAAsB;MACzC,OAAO,EAAE;QACPC,YAAY,EAAEX,OAAO,CAACU;MACxB,CAAE;MACF,OAAO,EAAEP,OAAQ;MAAA,UAEhBD,MAAM,CAACU;IAAW,EACV;EAAA,GACP;AAEV,CAAC;AAED,wCAAAb,sBAAsB,CAACc,SAAS,GAAG;EACjC;AACF;AACA;EACEb,OAAO,EAAEP,SAAS,CAACqB,KAAK,CAAC;IACvB;AACJ;AACA;IACIT,IAAI,EAAEZ,SAAS,CAACsB,MAAM;IACtB;AACJ;AACA;IACIT,sBAAsB,EAAEb,SAAS,CAACsB,MAAM;IAExC;AACJ;AACA;IACIL,qBAAqB,EAAEjB,SAAS,CAACsB,MAAM;IACvC;AACJ;AACA;IACIP,gBAAgB,EAAEf,SAAS,CAACsB;EAC9B,CAAC,CAAC,CAACC,UAAU;EAEb;AACF;AACA;EACEf,SAAS,EAAER,SAAS,CAACsB,MAAM;EAC3B;AACF;AACA;EACEb,MAAM,EAAET,SAAS,CAACqB,KAAK,CAAC;IACtB;AACJ;AACA;IACIL,KAAK,EAAEhB,SAAS,CAACsB,MAAM;IACvB;AACJ;AACA;IACIH,WAAW,EAAEnB,SAAS,CAACsB;EACzB,CAAC,CAAC,CAACC,UAAU;EACb;AACF;AACA;EACEb,OAAO,EAAEV,SAAS,CAACwB;AACrB,CAAC;AAED,eAAepB,UAAU,CAACC,MAAM,EAAE;EAAEoB,IAAI,EAAE;AAA2B,CAAC,CAAC,CAACnB,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/index.js"],"sourcesContent":["export { default } from \"./NotificationsIndicator\";\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/index.js"],"sourcesContent":["export { default } from \"./NotificationsIndicator\";\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,0BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["styles","theme","root","notificationsIndicator","height","backgroundColor","hv","palette","semantic","sema7","display","justifyContent","alignItems","padding","spacing","sm","margin","xs","borderRadius","semanticColoring","color","base","base2"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {},\n notificationsIndicator: {\n height: 32,\n backgroundColor: theme.hv.palette.semantic.sema7,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `0 0 0 ${theme.hv.spacing.sm}px`,\n \"& button\": {\n margin: `0 0 0 ${theme.hv.spacing.xs}px`,\n borderRadius: 0,\n },\n },\n\n semanticColoring: {\n color: theme.hv.palette.base.base2,\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAIC,
|
|
1
|
+
{"version":3,"file":"styles.js","names":["styles","theme","root","notificationsIndicator","height","backgroundColor","hv","palette","semantic","sema7","display","justifyContent","alignItems","padding","spacing","sm","margin","xs","borderRadius","semanticColoring","color","base","base2"],"sources":["../../../../src/NotificationPanel/NotificationsIndicator/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {},\n notificationsIndicator: {\n height: 32,\n backgroundColor: theme.hv.palette.semantic.sema7,\n display: \"flex\",\n justifyContent: \"space-between\",\n alignItems: \"center\",\n padding: `0 0 0 ${theme.hv.spacing.sm}px`,\n \"& button\": {\n margin: `0 0 0 ${theme.hv.spacing.xs}px`,\n borderRadius: 0,\n },\n },\n\n semanticColoring: {\n color: theme.hv.palette.base.base2,\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAIC,KAAK,KAAM;EACzBC,IAAI,EAAE,CAAC,CAAC;EACRC,sBAAsB,EAAE;IACtBC,MAAM,EAAE,EAAE;IACVC,eAAe,EAAEJ,KAAK,CAACK,EAAE,CAACC,OAAO,CAACC,QAAQ,CAACC,KAAK;IAChDC,OAAO,EAAE,MAAM;IACfC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE,QAAQ;IACpBC,OAAO,EAAG,SAAQZ,KAAK,CAACK,EAAE,CAACQ,OAAO,CAACC,EAAG,IAAG;IACzC,UAAU,EAAE;MACVC,MAAM,EAAG,SAAQf,KAAK,CAACK,EAAE,CAACQ,OAAO,CAACG,EAAG,IAAG;MACxCC,YAAY,EAAE;IAChB;EACF,CAAC;EAEDC,gBAAgB,EAAE;IAChBC,KAAK,EAAEnB,KAAK,CAACK,EAAE,CAACC,OAAO,CAACc,IAAI,CAACC;EAC/B;AACF,CAAC,CAAC;AAEF,eAAetB,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../../src/NotificationPanel/index.js"],"sourcesContent":["export { default } from \"./NotificationPanel\";\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../../src/NotificationPanel/index.js"],"sourcesContent":["export { default } from \"./NotificationPanel\";\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,qBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["styles","theme","root","display","flexDirection","padding","width","overflow","closed","open","position","right","boxShadow","hv","shadows","actionBar","marginTop","panel","flexGrow","outline","actionBarRoot","backgroundColor","palette","atmosphere","atmo1","justifyContent","emptyState","height"],"sources":["../../../src/NotificationPanel/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: 0,\n width: 320,\n overflow: \"hidden\",\n },\n closed: { display: \"none\" },\n open: {\n position: \"absolute\",\n right: 0,\n boxShadow: theme.hv.shadows[1],\n },\n actionBar: {\n marginTop: \"auto\",\n },\n panel: {\n flexGrow: 1,\n overflow: \"auto\",\n padding: 0,\n width: \"100%\",\n \"&.focus-visible\": {\n outline: \"none\",\n },\n },\n\n actionBarRoot: {\n backgroundColor: theme.hv.palette.atmosphere.atmo1,\n justifyContent: \"space-between\",\n },\n\n emptyState: {\n height: \"500px\",\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAIC,
|
|
1
|
+
{"version":3,"file":"styles.js","names":["styles","theme","root","display","flexDirection","padding","width","overflow","closed","open","position","right","boxShadow","hv","shadows","actionBar","marginTop","panel","flexGrow","outline","actionBarRoot","backgroundColor","palette","atmosphere","atmo1","justifyContent","emptyState","height"],"sources":["../../../src/NotificationPanel/styles.js"],"sourcesContent":["const styles = (theme) => ({\n root: {\n display: \"flex\",\n flexDirection: \"column\",\n padding: 0,\n width: 320,\n overflow: \"hidden\",\n },\n closed: { display: \"none\" },\n open: {\n position: \"absolute\",\n right: 0,\n boxShadow: theme.hv.shadows[1],\n },\n actionBar: {\n marginTop: \"auto\",\n },\n panel: {\n flexGrow: 1,\n overflow: \"auto\",\n padding: 0,\n width: \"100%\",\n \"&.focus-visible\": {\n outline: \"none\",\n },\n },\n\n actionBarRoot: {\n backgroundColor: theme.hv.palette.atmosphere.atmo1,\n justifyContent: \"space-between\",\n },\n\n emptyState: {\n height: \"500px\",\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAIC,KAAK,KAAM;EACzBC,IAAI,EAAE;IACJC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,QAAQ;IACvBC,OAAO,EAAE,CAAC;IACVC,KAAK,EAAE,GAAG;IACVC,QAAQ,EAAE;EACZ,CAAC;EACDC,MAAM,EAAE;IAAEL,OAAO,EAAE;EAAO,CAAC;EAC3BM,IAAI,EAAE;IACJC,QAAQ,EAAE,UAAU;IACpBC,KAAK,EAAE,CAAC;IACRC,SAAS,EAAEX,KAAK,CAACY,EAAE,CAACC,OAAO,CAAC,CAAC;EAC/B,CAAC;EACDC,SAAS,EAAE;IACTC,SAAS,EAAE;EACb,CAAC;EACDC,KAAK,EAAE;IACLC,QAAQ,EAAE,CAAC;IACXX,QAAQ,EAAE,MAAM;IAChBF,OAAO,EAAE,CAAC;IACVC,KAAK,EAAE,MAAM;IACb,iBAAiB,EAAE;MACjBa,OAAO,EAAE;IACX;EACF,CAAC;EAEDC,aAAa,EAAE;IACbC,eAAe,EAAEpB,KAAK,CAACY,EAAE,CAACS,OAAO,CAACC,UAAU,CAACC,KAAK;IAClDC,cAAc,EAAE;EAClB,CAAC;EAEDC,UAAU,EAAE;IACVC,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAEF,eAAe3B,MAAM"}
|
|
@@ -1,50 +1,48 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
const _excluded = ["numSteps", "stepSize", "getTitles", "getDynamicValues", "children"];
|
|
4
|
-
|
|
5
4
|
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; }
|
|
6
|
-
|
|
7
5
|
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; }
|
|
8
|
-
|
|
9
6
|
import React from "react";
|
|
10
7
|
import PropTypes from "prop-types";
|
|
11
8
|
import { withStyles } from "@mui/styles";
|
|
12
9
|
import HvStep from "./Step";
|
|
13
10
|
import { getColor, stepSizes } from "./utils";
|
|
14
11
|
import styles from "./styles";
|
|
12
|
+
|
|
15
13
|
/**
|
|
16
14
|
* Default Navigation
|
|
17
15
|
*/
|
|
18
|
-
|
|
19
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
20
17
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
|
|
22
18
|
const HvDefaultNavigation = _ref => {
|
|
23
19
|
let {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
numSteps,
|
|
21
|
+
stepSize,
|
|
22
|
+
getTitles,
|
|
23
|
+
getDynamicValues,
|
|
24
|
+
children
|
|
25
|
+
} = _ref,
|
|
26
|
+
other = _objectWithoutProperties(_ref, _excluded);
|
|
32
27
|
// step values
|
|
33
28
|
const {
|
|
34
29
|
container: maxSize,
|
|
35
30
|
avatar: minSize
|
|
36
31
|
} = stepSizes[stepSize];
|
|
37
|
-
const StepComponent = HvStep;
|
|
32
|
+
const StepComponent = HvStep;
|
|
33
|
+
//
|
|
38
34
|
|
|
39
35
|
const stepsWidth = maxSize + minSize * (numSteps - 1);
|
|
40
36
|
const {
|
|
41
37
|
width,
|
|
42
38
|
titleWidth,
|
|
43
39
|
separatorWidth
|
|
44
|
-
} = getDynamicValues(stepsWidth);
|
|
40
|
+
} = getDynamicValues(stepsWidth);
|
|
45
41
|
|
|
42
|
+
// separator values
|
|
46
43
|
const maxWidth = Math.max(titleWidth - minSize, separatorWidth);
|
|
47
|
-
const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth);
|
|
44
|
+
const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth);
|
|
45
|
+
//
|
|
48
46
|
|
|
49
47
|
const Steps = children;
|
|
50
48
|
const titles = getTitles(({
|
|
@@ -71,13 +69,11 @@ const HvDefaultNavigation = _ref => {
|
|
|
71
69
|
}), titles]
|
|
72
70
|
}));
|
|
73
71
|
};
|
|
74
|
-
|
|
75
72
|
process.env.NODE_ENV !== "production" ? HvDefaultNavigation.propTypes = {
|
|
76
73
|
/**
|
|
77
74
|
* Class names to be applied.
|
|
78
75
|
*/
|
|
79
76
|
className: PropTypes.string,
|
|
80
|
-
|
|
81
77
|
/**
|
|
82
78
|
* A Jss Object used to override or extend the styles applied.
|
|
83
79
|
*/
|
|
@@ -87,27 +83,22 @@ process.env.NODE_ENV !== "production" ? HvDefaultNavigation.propTypes = {
|
|
|
87
83
|
*/
|
|
88
84
|
root: PropTypes.string
|
|
89
85
|
}).isRequired,
|
|
90
|
-
|
|
91
86
|
/**
|
|
92
87
|
* Number of steps to show on the component.
|
|
93
88
|
*/
|
|
94
89
|
numSteps: PropTypes.number.isRequired,
|
|
95
|
-
|
|
96
90
|
/**
|
|
97
91
|
* Sets one of the standard sizes of the steps
|
|
98
92
|
*/
|
|
99
93
|
stepSize: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]).isRequired,
|
|
100
|
-
|
|
101
94
|
/**
|
|
102
95
|
* Returns dynamic width values of the component (width, titleWidth, separatorWidth).
|
|
103
96
|
*/
|
|
104
97
|
getDynamicValues: PropTypes.func.isRequired,
|
|
105
|
-
|
|
106
98
|
/**
|
|
107
99
|
* Returns a JSX.element of the titles container.
|
|
108
100
|
*/
|
|
109
101
|
getTitles: PropTypes.func.isRequired,
|
|
110
|
-
|
|
111
102
|
/**
|
|
112
103
|
* Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}
|
|
113
104
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultNavigation.js","names":["React","PropTypes","withStyles","HvStep","getColor","stepSizes","styles","HvDefaultNavigation","numSteps","stepSize","getTitles","getDynamicValues","children","other","container","maxSize","avatar","minSize","StepComponent","stepsWidth","width","titleWidth","separatorWidth","maxWidth","Math","max","minWidth","Steps","titles","state","variant","navWidth","separatorValues","height","stepValues","propTypes","className","string","classes","shape","root","isRequired","number","oneOf","func","elementType","name"],"sources":["../../../../src/StepNavigation/DefaultNavigation/DefaultNavigation.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { withStyles } from \"@mui/styles\";\n\nimport HvStep from \"./Step\";\nimport { getColor, stepSizes } from \"./utils\";\nimport styles from \"./styles\";\n\n/**\n * Default Navigation\n */\nconst HvDefaultNavigation = ({\n numSteps,\n stepSize,\n getTitles,\n getDynamicValues,\n children,\n ...other\n}) => {\n // step values\n const { container: maxSize, avatar: minSize } = stepSizes[stepSize];\n const StepComponent = HvStep;\n //\n\n const stepsWidth = maxSize + minSize * (numSteps - 1);\n const { width, titleWidth, separatorWidth } = getDynamicValues(stepsWidth);\n\n // separator values\n const maxWidth = Math.max(titleWidth - minSize, separatorWidth);\n const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth);\n //\n\n const Steps = children;\n\n const titles = getTitles(({ state }) => ({\n variant: state === \"Disabled\" ? \"disabledText\" : \"highlightText\",\n titleWidth,\n }));\n\n return (\n <div {...other}>\n <Steps\n {...{\n stepsWidth,\n navWidth: width,\n separatorValues: {\n minWidth,\n maxWidth,\n getColor,\n height: 3,\n },\n stepValues: {\n minSize,\n maxSize,\n StepComponent,\n },\n }}\n />\n {titles}\n </div>\n );\n};\n\nHvDefaultNavigation.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n }).isRequired,\n /**\n * Number of steps to show on the component.\n */\n numSteps: PropTypes.number.isRequired,\n /**\n * Sets one of the standard sizes of the steps\n */\n stepSize: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]).isRequired,\n /**\n * Returns dynamic width values of the component (width, titleWidth, separatorWidth).\n */\n getDynamicValues: PropTypes.func.isRequired,\n /**\n * Returns a JSX.element of the titles container.\n */\n getTitles: PropTypes.func.isRequired,\n /**\n * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}\n */\n children: PropTypes.elementType.isRequired,\n};\n\nexport default withStyles(styles, { name: \"HvDefaultNavigation\" })(HvDefaultNavigation);\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"DefaultNavigation.js","names":["React","PropTypes","withStyles","HvStep","getColor","stepSizes","styles","HvDefaultNavigation","numSteps","stepSize","getTitles","getDynamicValues","children","other","container","maxSize","avatar","minSize","StepComponent","stepsWidth","width","titleWidth","separatorWidth","maxWidth","Math","max","minWidth","Steps","titles","state","variant","navWidth","separatorValues","height","stepValues","propTypes","className","string","classes","shape","root","isRequired","number","oneOf","func","elementType","name"],"sources":["../../../../src/StepNavigation/DefaultNavigation/DefaultNavigation.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { withStyles } from \"@mui/styles\";\n\nimport HvStep from \"./Step\";\nimport { getColor, stepSizes } from \"./utils\";\nimport styles from \"./styles\";\n\n/**\n * Default Navigation\n */\nconst HvDefaultNavigation = ({\n numSteps,\n stepSize,\n getTitles,\n getDynamicValues,\n children,\n ...other\n}) => {\n // step values\n const { container: maxSize, avatar: minSize } = stepSizes[stepSize];\n const StepComponent = HvStep;\n //\n\n const stepsWidth = maxSize + minSize * (numSteps - 1);\n const { width, titleWidth, separatorWidth } = getDynamicValues(stepsWidth);\n\n // separator values\n const maxWidth = Math.max(titleWidth - minSize, separatorWidth);\n const minWidth = Math.max(titleWidth - (maxSize + minSize) * 0.5, separatorWidth);\n //\n\n const Steps = children;\n\n const titles = getTitles(({ state }) => ({\n variant: state === \"Disabled\" ? \"disabledText\" : \"highlightText\",\n titleWidth,\n }));\n\n return (\n <div {...other}>\n <Steps\n {...{\n stepsWidth,\n navWidth: width,\n separatorValues: {\n minWidth,\n maxWidth,\n getColor,\n height: 3,\n },\n stepValues: {\n minSize,\n maxSize,\n StepComponent,\n },\n }}\n />\n {titles}\n </div>\n );\n};\n\nHvDefaultNavigation.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n }).isRequired,\n /**\n * Number of steps to show on the component.\n */\n numSteps: PropTypes.number.isRequired,\n /**\n * Sets one of the standard sizes of the steps\n */\n stepSize: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]).isRequired,\n /**\n * Returns dynamic width values of the component (width, titleWidth, separatorWidth).\n */\n getDynamicValues: PropTypes.func.isRequired,\n /**\n * Returns a JSX.element of the titles container.\n */\n getTitles: PropTypes.func.isRequired,\n /**\n * Component to render Step Navigation with props = {separatorValues, stepValues, stepsWidth}\n */\n children: PropTypes.elementType.isRequired,\n};\n\nexport default withStyles(styles, { name: \"HvDefaultNavigation\" })(HvDefaultNavigation);\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAElC,SAASC,UAAU,QAAQ,aAAa;AAExC,OAAOC,MAAM,MAAM,QAAQ;AAC3B,SAASC,QAAQ,EAAEC,SAAS,QAAQ,SAAS;AAC7C,OAAOC,MAAM,MAAM,UAAU;;AAE7B;AACA;AACA;AAFA;AAAA;AAGA,MAAMC,mBAAmB,GAAG,QAOtB;EAAA,IAPuB;MAC3BC,QAAQ;MACRC,QAAQ;MACRC,SAAS;MACTC,gBAAgB;MAChBC;IAEF,CAAC;IADIC,KAAK;EAER;EACA,MAAM;IAAEC,SAAS,EAAEC,OAAO;IAAEC,MAAM,EAAEC;EAAQ,CAAC,GAAGZ,SAAS,CAACI,QAAQ,CAAC;EACnE,MAAMS,aAAa,GAAGf,MAAM;EAC5B;;EAEA,MAAMgB,UAAU,GAAGJ,OAAO,GAAGE,OAAO,IAAIT,QAAQ,GAAG,CAAC,CAAC;EACrD,MAAM;IAAEY,KAAK;IAAEC,UAAU;IAAEC;EAAe,CAAC,GAAGX,gBAAgB,CAACQ,UAAU,CAAC;;EAE1E;EACA,MAAMI,QAAQ,GAAGC,IAAI,CAACC,GAAG,CAACJ,UAAU,GAAGJ,OAAO,EAAEK,cAAc,CAAC;EAC/D,MAAMI,QAAQ,GAAGF,IAAI,CAACC,GAAG,CAACJ,UAAU,GAAG,CAACN,OAAO,GAAGE,OAAO,IAAI,GAAG,EAAEK,cAAc,CAAC;EACjF;;EAEA,MAAMK,KAAK,GAAGf,QAAQ;EAEtB,MAAMgB,MAAM,GAAGlB,SAAS,CAAC,CAAC;IAAEmB;EAAM,CAAC,MAAM;IACvCC,OAAO,EAAED,KAAK,KAAK,UAAU,GAAG,cAAc,GAAG,eAAe;IAChER;EACF,CAAC,CAAC,CAAC;EAEH,oBACE,6CAASR,KAAK;IAAA,wBACZ,KAAC,KAAK;MAEFM,UAAU;MACVY,QAAQ,EAAEX,KAAK;MACfY,eAAe,EAAE;QACfN,QAAQ;QACRH,QAAQ;QACRnB,QAAQ;QACR6B,MAAM,EAAE;MACV,CAAC;MACDC,UAAU,EAAE;QACVjB,OAAO;QACPF,OAAO;QACPG;MACF;IAAC,EAEH,EACDU,MAAM;EAAA,GACH;AAEV,CAAC;AAED,wCAAArB,mBAAmB,CAAC4B,SAAS,GAAG;EAC9B;AACF;AACA;EACEC,SAAS,EAAEnC,SAAS,CAACoC,MAAM;EAC3B;AACF;AACA;EACEC,OAAO,EAAErC,SAAS,CAACsC,KAAK,CAAC;IACvB;AACJ;AACA;IACIC,IAAI,EAAEvC,SAAS,CAACoC;EAClB,CAAC,CAAC,CAACI,UAAU;EACb;AACF;AACA;EACEjC,QAAQ,EAAEP,SAAS,CAACyC,MAAM,CAACD,UAAU;EACrC;AACF;AACA;EACEhC,QAAQ,EAAER,SAAS,CAAC0C,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAACF,UAAU;EACpE;AACF;AACA;EACE9B,gBAAgB,EAAEV,SAAS,CAAC2C,IAAI,CAACH,UAAU;EAC3C;AACF;AACA;EACE/B,SAAS,EAAET,SAAS,CAAC2C,IAAI,CAACH,UAAU;EACpC;AACF;AACA;EACE7B,QAAQ,EAAEX,SAAS,CAAC4C,WAAW,CAACJ;AAClC,CAAC;AAED,eAAevC,UAAU,CAACI,MAAM,EAAE;EAAEwC,IAAI,EAAE;AAAsB,CAAC,CAAC,CAACvC,mBAAmB,CAAC"}
|
|
@@ -6,12 +6,11 @@ import { Level0Good, Level3Bad, HourGlass } from "@hitachivantara/uikit-react-ic
|
|
|
6
6
|
import { HvAvatar, HvButton } from "@hitachivantara/uikit-react-core";
|
|
7
7
|
import { getColor } from "../utils";
|
|
8
8
|
import styles from "./styles";
|
|
9
|
+
|
|
9
10
|
/**
|
|
10
11
|
* Step element of "Default" Step Navigation root component
|
|
11
12
|
*/
|
|
12
|
-
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
-
|
|
15
14
|
const HvStep = ({
|
|
16
15
|
className,
|
|
17
16
|
classes,
|
|
@@ -75,13 +74,11 @@ const HvStep = ({
|
|
|
75
74
|
})
|
|
76
75
|
});
|
|
77
76
|
};
|
|
78
|
-
|
|
79
77
|
process.env.NODE_ENV !== "production" ? HvStep.propTypes = {
|
|
80
78
|
/**
|
|
81
79
|
* Class names to be applied.
|
|
82
80
|
*/
|
|
83
81
|
className: PropTypes.string,
|
|
84
|
-
|
|
85
82
|
/**
|
|
86
83
|
* A Jss Object used to override or extend the styles applied.
|
|
87
84
|
*/
|
|
@@ -90,83 +87,67 @@ process.env.NODE_ENV !== "production" ? HvStep.propTypes = {
|
|
|
90
87
|
* Styles applied to the component root class.
|
|
91
88
|
*/
|
|
92
89
|
root: PropTypes.string,
|
|
93
|
-
|
|
94
90
|
/**
|
|
95
91
|
* Styles applied to the ghost class.
|
|
96
92
|
*/
|
|
97
93
|
ghost: PropTypes.string,
|
|
98
|
-
|
|
99
94
|
/**
|
|
100
95
|
* Styles applied to the ghostDisabled class.
|
|
101
96
|
*/
|
|
102
97
|
ghostDisabled: PropTypes.string,
|
|
103
|
-
|
|
104
98
|
/**
|
|
105
99
|
* Styles applied to the root element when step is not in "current" state.
|
|
106
100
|
*/
|
|
107
101
|
"not-current": PropTypes.string,
|
|
108
|
-
|
|
109
102
|
/**
|
|
110
103
|
* Styles applied to the root element when size is XS.
|
|
111
104
|
*/
|
|
112
105
|
XS: PropTypes.string,
|
|
113
|
-
|
|
114
106
|
/**
|
|
115
107
|
* Styles applied to the root element when size is SM.
|
|
116
108
|
*/
|
|
117
109
|
SM: PropTypes.string,
|
|
118
|
-
|
|
119
110
|
/**
|
|
120
111
|
* Styles applied to the root element when size is MD.
|
|
121
112
|
*/
|
|
122
113
|
MD: PropTypes.string,
|
|
123
|
-
|
|
124
114
|
/**
|
|
125
115
|
* Styles applied to the root element when size is LG.
|
|
126
116
|
*/
|
|
127
117
|
LG: PropTypes.string,
|
|
128
|
-
|
|
129
118
|
/**
|
|
130
119
|
* Styles applied to the root element when size is XL.
|
|
131
120
|
*/
|
|
132
121
|
XL: PropTypes.string,
|
|
133
|
-
|
|
134
122
|
/**
|
|
135
123
|
* Styles applied to the avatar element.
|
|
136
124
|
*/
|
|
137
125
|
avatar: PropTypes.string,
|
|
138
|
-
|
|
139
126
|
/**
|
|
140
127
|
* Styles applied to the title of a step element.
|
|
141
128
|
*/
|
|
142
129
|
stepTitle: PropTypes.string
|
|
143
130
|
}).isRequired,
|
|
144
|
-
|
|
145
131
|
/**
|
|
146
132
|
* Sets one of the standard sizes of the step
|
|
147
133
|
*/
|
|
148
134
|
size: PropTypes.oneOf(["XS", "SM", "MD", "LG", "XL"]),
|
|
149
|
-
|
|
150
135
|
/**
|
|
151
136
|
* State of the step. Values = {"Pending", "Failed", "Completed", "Current", "Disabled", "Enabled"}
|
|
152
137
|
*/
|
|
153
138
|
state: PropTypes.oneOf(["Pending", "Failed", "Completed", "Current", "Disabled", "Enabled"]).isRequired,
|
|
154
|
-
|
|
155
139
|
/**
|
|
156
140
|
* Title of the step.
|
|
157
141
|
*/
|
|
158
142
|
title: PropTypes.string.isRequired,
|
|
159
|
-
|
|
160
143
|
/**
|
|
161
144
|
* Number of the step.
|
|
162
145
|
*/
|
|
163
146
|
number: PropTypes.number,
|
|
164
|
-
|
|
165
147
|
/**
|
|
166
148
|
* Event onClick of the step.
|
|
167
149
|
*/
|
|
168
150
|
onClick: PropTypes.func,
|
|
169
|
-
|
|
170
151
|
/**
|
|
171
152
|
* Define if a step is disabled/enabled.
|
|
172
153
|
* If this property is not defined and the step is on state "Disabled", the step component will be disabled
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Step.js","names":["React","PropTypes","clsx","withStyles","Level0Good","Level3Bad","HourGlass","HvAvatar","HvButton","getColor","styles","HvStep","className","classes","state","title","onClick","disabled","size","number","iconSize","XS","SM","MD","LG","XL","squareL","Pending","Failed","Completed","svgSize","backgroundColor","color","undefined","semantic","status","IconComponent","root","ghost","ghostDisabled","includes","avatar","propTypes","string","shape","stepTitle","isRequired","oneOf","func","bool","name"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/Step.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\n\nimport { withStyles } from \"@mui/styles\";\n\nimport { Level0Good, Level3Bad, HourGlass } from \"@hitachivantara/uikit-react-icons\";\nimport { HvAvatar, HvButton } from \"@hitachivantara/uikit-react-core\";\n\nimport { getColor } from \"../utils\";\nimport styles from \"./styles\";\n\n/**\n * Step element of \"Default\" Step Navigation root component\n */\nconst HvStep = ({\n className,\n classes,\n state,\n title,\n onClick,\n disabled,\n size = \"SM\",\n number = 1,\n}) => {\n const iconSize = {\n XS: \"XS\",\n SM: \"XS\",\n MD: \"S\",\n LG: \"M\",\n XL: \"M\",\n }[size];\n\n const squareL = {\n Pending: 16,\n Failed: 24,\n Completed: 24,\n }[state];\n\n const svgSize = {\n XS: squareL - 8,\n SM: squareL,\n MD: squareL + 8,\n LG: squareL + 16,\n XL: squareL + 24,\n }[size];\n\n const backgroundColor = getColor(state);\n\n const color = state === \"Pending\" ? \"atmo2\" : undefined;\n\n const semantic = state !== \"Pending\" ? backgroundColor : undefined;\n\n const status = state === \"Current\" ? \"atmo5\" : undefined;\n\n const IconComponent = {\n Pending: HourGlass,\n Failed: Level3Bad,\n Completed: Level0Good,\n }[state];\n\n return (\n <div\n className={clsx(className, classes.root, { [classes[\"not-current\"]]: state !== \"Current\" })}\n >\n <HvButton\n className={clsx(classes.ghost, { [classes.ghostDisabled]: state === \"Current\" })}\n aria-label={`step-${title}`}\n icon\n overrideIconColors={false}\n disabled={disabled ?? [\"Current\", \"Disabled\"].includes(state)}\n onClick={onClick}\n >\n <HvAvatar\n className={clsx(classes.avatar, classes[size])}\n backgroundColor={backgroundColor}\n status={status}\n size={size}\n >\n {IconComponent ? (\n <IconComponent\n color={color}\n semantic={semantic}\n width={svgSize}\n height={svgSize}\n iconSize={iconSize}\n />\n ) : (\n number\n )}\n </HvAvatar>\n </HvButton>\n </div>\n );\n};\n\nHvStep.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the ghost class.\n */\n ghost: PropTypes.string,\n /**\n * Styles applied to the ghostDisabled class.\n */\n ghostDisabled: PropTypes.string,\n /**\n * Styles applied to the root element when step is not in \"current\" state.\n */\n \"not-current\": PropTypes.string,\n /**\n * Styles applied to the root element when size is XS.\n */\n XS: PropTypes.string,\n /**\n * Styles applied to the root element when size is SM.\n */\n SM: PropTypes.string,\n /**\n * Styles applied to the root element when size is MD.\n */\n MD: PropTypes.string,\n /**\n * Styles applied to the root element when size is LG.\n */\n LG: PropTypes.string,\n /**\n * Styles applied to the root element when size is XL.\n */\n XL: PropTypes.string,\n /**\n * Styles applied to the avatar element.\n */\n avatar: PropTypes.string,\n /**\n * Styles applied to the title of a step element.\n */\n stepTitle: PropTypes.string,\n }).isRequired,\n /**\n * Sets one of the standard sizes of the step\n */\n size: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]),\n /**\n * State of the step. Values = {\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\", \"Enabled\"}\n */\n state: PropTypes.oneOf([\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\", \"Enabled\"])\n .isRequired,\n /**\n * Title of the step.\n */\n title: PropTypes.string.isRequired,\n /**\n * Number of the step.\n */\n number: PropTypes.number,\n /**\n * Event onClick of the step.\n */\n onClick: PropTypes.func,\n /**\n * Define if a step is disabled/enabled.\n * If this property is not defined and the step is on state \"Disabled\", the step component will be disabled\n */\n disabled: PropTypes.bool,\n};\n\nexport default withStyles(styles, { name: \"HvStep\" })(HvStep);\n"],"mappings":"AAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"Step.js","names":["React","PropTypes","clsx","withStyles","Level0Good","Level3Bad","HourGlass","HvAvatar","HvButton","getColor","styles","HvStep","className","classes","state","title","onClick","disabled","size","number","iconSize","XS","SM","MD","LG","XL","squareL","Pending","Failed","Completed","svgSize","backgroundColor","color","undefined","semantic","status","IconComponent","root","ghost","ghostDisabled","includes","avatar","propTypes","string","shape","stepTitle","isRequired","oneOf","func","bool","name"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/Step.js"],"sourcesContent":["import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport clsx from \"clsx\";\n\nimport { withStyles } from \"@mui/styles\";\n\nimport { Level0Good, Level3Bad, HourGlass } from \"@hitachivantara/uikit-react-icons\";\nimport { HvAvatar, HvButton } from \"@hitachivantara/uikit-react-core\";\n\nimport { getColor } from \"../utils\";\nimport styles from \"./styles\";\n\n/**\n * Step element of \"Default\" Step Navigation root component\n */\nconst HvStep = ({\n className,\n classes,\n state,\n title,\n onClick,\n disabled,\n size = \"SM\",\n number = 1,\n}) => {\n const iconSize = {\n XS: \"XS\",\n SM: \"XS\",\n MD: \"S\",\n LG: \"M\",\n XL: \"M\",\n }[size];\n\n const squareL = {\n Pending: 16,\n Failed: 24,\n Completed: 24,\n }[state];\n\n const svgSize = {\n XS: squareL - 8,\n SM: squareL,\n MD: squareL + 8,\n LG: squareL + 16,\n XL: squareL + 24,\n }[size];\n\n const backgroundColor = getColor(state);\n\n const color = state === \"Pending\" ? \"atmo2\" : undefined;\n\n const semantic = state !== \"Pending\" ? backgroundColor : undefined;\n\n const status = state === \"Current\" ? \"atmo5\" : undefined;\n\n const IconComponent = {\n Pending: HourGlass,\n Failed: Level3Bad,\n Completed: Level0Good,\n }[state];\n\n return (\n <div\n className={clsx(className, classes.root, { [classes[\"not-current\"]]: state !== \"Current\" })}\n >\n <HvButton\n className={clsx(classes.ghost, { [classes.ghostDisabled]: state === \"Current\" })}\n aria-label={`step-${title}`}\n icon\n overrideIconColors={false}\n disabled={disabled ?? [\"Current\", \"Disabled\"].includes(state)}\n onClick={onClick}\n >\n <HvAvatar\n className={clsx(classes.avatar, classes[size])}\n backgroundColor={backgroundColor}\n status={status}\n size={size}\n >\n {IconComponent ? (\n <IconComponent\n color={color}\n semantic={semantic}\n width={svgSize}\n height={svgSize}\n iconSize={iconSize}\n />\n ) : (\n number\n )}\n </HvAvatar>\n </HvButton>\n </div>\n );\n};\n\nHvStep.propTypes = {\n /**\n * Class names to be applied.\n */\n className: PropTypes.string,\n /**\n * A Jss Object used to override or extend the styles applied.\n */\n classes: PropTypes.shape({\n /**\n * Styles applied to the component root class.\n */\n root: PropTypes.string,\n /**\n * Styles applied to the ghost class.\n */\n ghost: PropTypes.string,\n /**\n * Styles applied to the ghostDisabled class.\n */\n ghostDisabled: PropTypes.string,\n /**\n * Styles applied to the root element when step is not in \"current\" state.\n */\n \"not-current\": PropTypes.string,\n /**\n * Styles applied to the root element when size is XS.\n */\n XS: PropTypes.string,\n /**\n * Styles applied to the root element when size is SM.\n */\n SM: PropTypes.string,\n /**\n * Styles applied to the root element when size is MD.\n */\n MD: PropTypes.string,\n /**\n * Styles applied to the root element when size is LG.\n */\n LG: PropTypes.string,\n /**\n * Styles applied to the root element when size is XL.\n */\n XL: PropTypes.string,\n /**\n * Styles applied to the avatar element.\n */\n avatar: PropTypes.string,\n /**\n * Styles applied to the title of a step element.\n */\n stepTitle: PropTypes.string,\n }).isRequired,\n /**\n * Sets one of the standard sizes of the step\n */\n size: PropTypes.oneOf([\"XS\", \"SM\", \"MD\", \"LG\", \"XL\"]),\n /**\n * State of the step. Values = {\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\", \"Enabled\"}\n */\n state: PropTypes.oneOf([\"Pending\", \"Failed\", \"Completed\", \"Current\", \"Disabled\", \"Enabled\"])\n .isRequired,\n /**\n * Title of the step.\n */\n title: PropTypes.string.isRequired,\n /**\n * Number of the step.\n */\n number: PropTypes.number,\n /**\n * Event onClick of the step.\n */\n onClick: PropTypes.func,\n /**\n * Define if a step is disabled/enabled.\n * If this property is not defined and the step is on state \"Disabled\", the step component will be disabled\n */\n disabled: PropTypes.bool,\n};\n\nexport default withStyles(styles, { name: \"HvStep\" })(HvStep);\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;AAClC,OAAOC,IAAI,MAAM,MAAM;AAEvB,SAASC,UAAU,QAAQ,aAAa;AAExC,SAASC,UAAU,EAAEC,SAAS,EAAEC,SAAS,QAAQ,mCAAmC;AACpF,SAASC,QAAQ,EAAEC,QAAQ,QAAQ,kCAAkC;AAErE,SAASC,QAAQ,QAAQ,UAAU;AACnC,OAAOC,MAAM,MAAM,UAAU;;AAE7B;AACA;AACA;AAFA;AAGA,MAAMC,MAAM,GAAG,CAAC;EACdC,SAAS;EACTC,OAAO;EACPC,KAAK;EACLC,KAAK;EACLC,OAAO;EACPC,QAAQ;EACRC,IAAI,GAAG,IAAI;EACXC,MAAM,GAAG;AACX,CAAC,KAAK;EACJ,MAAMC,QAAQ,GAAG;IACfC,EAAE,EAAE,IAAI;IACRC,EAAE,EAAE,IAAI;IACRC,EAAE,EAAE,GAAG;IACPC,EAAE,EAAE,GAAG;IACPC,EAAE,EAAE;EACN,CAAC,CAACP,IAAI,CAAC;EAEP,MAAMQ,OAAO,GAAG;IACdC,OAAO,EAAE,EAAE;IACXC,MAAM,EAAE,EAAE;IACVC,SAAS,EAAE;EACb,CAAC,CAACf,KAAK,CAAC;EAER,MAAMgB,OAAO,GAAG;IACdT,EAAE,EAAEK,OAAO,GAAG,CAAC;IACfJ,EAAE,EAAEI,OAAO;IACXH,EAAE,EAAEG,OAAO,GAAG,CAAC;IACfF,EAAE,EAAEE,OAAO,GAAG,EAAE;IAChBD,EAAE,EAAEC,OAAO,GAAG;EAChB,CAAC,CAACR,IAAI,CAAC;EAEP,MAAMa,eAAe,GAAGtB,QAAQ,CAACK,KAAK,CAAC;EAEvC,MAAMkB,KAAK,GAAGlB,KAAK,KAAK,SAAS,GAAG,OAAO,GAAGmB,SAAS;EAEvD,MAAMC,QAAQ,GAAGpB,KAAK,KAAK,SAAS,GAAGiB,eAAe,GAAGE,SAAS;EAElE,MAAME,MAAM,GAAGrB,KAAK,KAAK,SAAS,GAAG,OAAO,GAAGmB,SAAS;EAExD,MAAMG,aAAa,GAAG;IACpBT,OAAO,EAAErB,SAAS;IAClBsB,MAAM,EAAEvB,SAAS;IACjBwB,SAAS,EAAEzB;EACb,CAAC,CAACU,KAAK,CAAC;EAER,oBACE;IACE,SAAS,EAAEZ,IAAI,CAACU,SAAS,EAAEC,OAAO,CAACwB,IAAI,EAA8BvB,KAAK,KAAK,SAAS,IAA5CD,OAAO,CAAC,aAAa,CAAC,CAA0B;IAAA,uBAE5F,KAAC,QAAQ;MACP,SAAS,EAAEX,IAAI,CAACW,OAAO,CAACyB,KAAK,EAA6BxB,KAAK,KAAK,SAAS,IAA3CD,OAAO,CAAC0B,aAAa,CAA0B;MACjF,cAAa,QAAOxB,KAAM,EAAE;MAC5B,IAAI;MACJ,kBAAkB,EAAE,KAAM;MAC1B,QAAQ,EAAEE,QAAQ,aAARA,QAAQ,cAARA,QAAQ,GAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAACuB,QAAQ,CAAC1B,KAAK,CAAE;MAC9D,OAAO,EAAEE,OAAQ;MAAA,uBAEjB,KAAC,QAAQ;QACP,SAAS,EAAEd,IAAI,CAACW,OAAO,CAAC4B,MAAM,EAAE5B,OAAO,CAACK,IAAI,CAAC,CAAE;QAC/C,eAAe,EAAEa,eAAgB;QACjC,MAAM,EAAEI,MAAO;QACf,IAAI,EAAEjB,IAAK;QAAA,UAEVkB,aAAa,gBACZ,KAAC,aAAa;UACZ,KAAK,EAAEJ,KAAM;UACb,QAAQ,EAAEE,QAAS;UACnB,KAAK,EAAEJ,OAAQ;UACf,MAAM,EAAEA,OAAQ;UAChB,QAAQ,EAAEV;QAAS,EACnB,GAEFD;MACD;IACQ;EACF,EACP;AAEV,CAAC;AAED,wCAAAR,MAAM,CAAC+B,SAAS,GAAG;EACjB;AACF;AACA;EACE9B,SAAS,EAAEX,SAAS,CAAC0C,MAAM;EAC3B;AACF;AACA;EACE9B,OAAO,EAAEZ,SAAS,CAAC2C,KAAK,CAAC;IACvB;AACJ;AACA;IACIP,IAAI,EAAEpC,SAAS,CAAC0C,MAAM;IACtB;AACJ;AACA;IACIL,KAAK,EAAErC,SAAS,CAAC0C,MAAM;IACvB;AACJ;AACA;IACIJ,aAAa,EAAEtC,SAAS,CAAC0C,MAAM;IAC/B;AACJ;AACA;IACI,aAAa,EAAE1C,SAAS,CAAC0C,MAAM;IAC/B;AACJ;AACA;IACItB,EAAE,EAAEpB,SAAS,CAAC0C,MAAM;IACpB;AACJ;AACA;IACIrB,EAAE,EAAErB,SAAS,CAAC0C,MAAM;IACpB;AACJ;AACA;IACIpB,EAAE,EAAEtB,SAAS,CAAC0C,MAAM;IACpB;AACJ;AACA;IACInB,EAAE,EAAEvB,SAAS,CAAC0C,MAAM;IACpB;AACJ;AACA;IACIlB,EAAE,EAAExB,SAAS,CAAC0C,MAAM;IACpB;AACJ;AACA;IACIF,MAAM,EAAExC,SAAS,CAAC0C,MAAM;IACxB;AACJ;AACA;IACIE,SAAS,EAAE5C,SAAS,CAAC0C;EACvB,CAAC,CAAC,CAACG,UAAU;EACb;AACF;AACA;EACE5B,IAAI,EAAEjB,SAAS,CAAC8C,KAAK,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;EACrD;AACF;AACA;EACEjC,KAAK,EAAEb,SAAS,CAAC8C,KAAK,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC,CACzFD,UAAU;EACb;AACF;AACA;EACE/B,KAAK,EAAEd,SAAS,CAAC0C,MAAM,CAACG,UAAU;EAClC;AACF;AACA;EACE3B,MAAM,EAAElB,SAAS,CAACkB,MAAM;EACxB;AACF;AACA;EACEH,OAAO,EAAEf,SAAS,CAAC+C,IAAI;EACvB;AACF;AACA;AACA;EACE/B,QAAQ,EAAEhB,SAAS,CAACgD;AACtB,CAAC;AAED,eAAe9C,UAAU,CAACO,MAAM,EAAE;EAAEwC,IAAI,EAAE;AAAS,CAAC,CAAC,CAACvC,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/index.js"],"sourcesContent":["export { default } from \"./Step\";\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/index.js"],"sourcesContent":["export { default } from \"./Step\";\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["styles","root","ghostDisabled","ghost","backgroundColor","cursor","margin","XS","SM","MD","LG","XL","avatar","fontSize"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/styles.js"],"sourcesContent":["const styles = () => ({\n root: {},\n ghostDisabled: {},\n ghost: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n \"&$ghostDisabled\": {\n cursor: \"default\",\n },\n \"&$ghostDisabled&:hover\": {\n cursor: \"default\",\n },\n },\n \"not-current\": {\n margin: \"-8px\",\n },\n XS: {},\n SM: {},\n MD: {},\n LG: {},\n XL: {},\n avatar: {\n \"&$XS\": {\n fontSize: \"0.625rem\",\n },\n \"&$SM\": {\n fontSize: \"1rem\",\n },\n \"&$MD\": {\n fontSize: \"1.5rem\",\n },\n \"&$LG\": {\n fontSize: \"2rem\",\n },\n \"&$XL\": {\n fontSize: \"2.5rem\",\n },\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAG,OAAO;EACpBC,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"styles.js","names":["styles","root","ghostDisabled","ghost","backgroundColor","cursor","margin","XS","SM","MD","LG","XL","avatar","fontSize"],"sources":["../../../../../src/StepNavigation/DefaultNavigation/Step/styles.js"],"sourcesContent":["const styles = () => ({\n root: {},\n ghostDisabled: {},\n ghost: {\n \"&:hover\": {\n backgroundColor: \"transparent\",\n },\n \"&$ghostDisabled\": {\n cursor: \"default\",\n },\n \"&$ghostDisabled&:hover\": {\n cursor: \"default\",\n },\n },\n \"not-current\": {\n margin: \"-8px\",\n },\n XS: {},\n SM: {},\n MD: {},\n LG: {},\n XL: {},\n avatar: {\n \"&$XS\": {\n fontSize: \"0.625rem\",\n },\n \"&$SM\": {\n fontSize: \"1rem\",\n },\n \"&$MD\": {\n fontSize: \"1.5rem\",\n },\n \"&$LG\": {\n fontSize: \"2rem\",\n },\n \"&$XL\": {\n fontSize: \"2.5rem\",\n },\n },\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAG,OAAO;EACpBC,IAAI,EAAE,CAAC,CAAC;EACRC,aAAa,EAAE,CAAC,CAAC;EACjBC,KAAK,EAAE;IACL,SAAS,EAAE;MACTC,eAAe,EAAE;IACnB,CAAC;IACD,iBAAiB,EAAE;MACjBC,MAAM,EAAE;IACV,CAAC;IACD,wBAAwB,EAAE;MACxBA,MAAM,EAAE;IACV;EACF,CAAC;EACD,aAAa,EAAE;IACbC,MAAM,EAAE;EACV,CAAC;EACDC,EAAE,EAAE,CAAC,CAAC;EACNC,EAAE,EAAE,CAAC,CAAC;EACNC,EAAE,EAAE,CAAC,CAAC;EACNC,EAAE,EAAE,CAAC,CAAC;EACNC,EAAE,EAAE,CAAC,CAAC;EACNC,MAAM,EAAE;IACN,MAAM,EAAE;MACNC,QAAQ,EAAE;IACZ,CAAC;IACD,MAAM,EAAE;MACNA,QAAQ,EAAE;IACZ,CAAC;IACD,MAAM,EAAE;MACNA,QAAQ,EAAE;IACZ,CAAC;IACD,MAAM,EAAE;MACNA,QAAQ,EAAE;IACZ,CAAC;IACD,MAAM,EAAE;MACNA,QAAQ,EAAE;IACZ;EACF;AACF,CAAC,CAAC;AAEF,eAAeb,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../src/StepNavigation/DefaultNavigation/index.js"],"sourcesContent":["export { default } from \"./DefaultNavigation\";\n"],"mappings":"AAAA,SAASA,
|
|
1
|
+
{"version":3,"file":"index.js","names":["default"],"sources":["../../../../src/StepNavigation/DefaultNavigation/index.js"],"sourcesContent":["export { default } from \"./DefaultNavigation\";\n"],"mappings":"AAAA,SAASA,OAAO,QAAQ,qBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["styles","root"],"sources":["../../../../src/StepNavigation/DefaultNavigation/styles.js"],"sourcesContent":["const styles = () => ({\n root: {},\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAG,OAAO;EACpBC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"styles.js","names":["styles","root"],"sources":["../../../../src/StepNavigation/DefaultNavigation/styles.js"],"sourcesContent":["const styles = () => ({\n root: {},\n});\n\nexport default styles;\n"],"mappings":"AAAA,MAAMA,MAAM,GAAG,OAAO;EACpBC,IAAI,EAAE,CAAC;AACT,CAAC,CAAC;AAEF,eAAeD,MAAM"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const getColor = (state, theme) => {
|
|
2
2
|
var _theme$hv$palette$sem, _theme$hv, _theme$hv$palette, _theme$hv$palette$sem2, _theme$hv$palette$sem3, _theme$hv2, _theme$hv2$palette, _theme$hv2$palette$se, _theme$hv$palette$sem4, _theme$hv3, _theme$hv3$palette, _theme$hv3$palette$se, _theme$hv$palette$acc, _theme$hv4, _theme$hv4$palette, _theme$hv4$palette$ac, _theme$hv$palette$atm, _theme$hv5, _theme$hv5$palette, _theme$hv5$palette$at, _theme$hv$palette$acc2, _theme$hv6, _theme$hv6$palette, _theme$hv6$palette$ac;
|
|
3
|
-
|
|
4
3
|
return {
|
|
5
4
|
Pending: (_theme$hv$palette$sem = theme === null || theme === void 0 ? void 0 : (_theme$hv = theme.hv) === null || _theme$hv === void 0 ? void 0 : (_theme$hv$palette = _theme$hv.palette) === null || _theme$hv$palette === void 0 ? void 0 : (_theme$hv$palette$sem2 = _theme$hv$palette.semantic) === null || _theme$hv$palette$sem2 === void 0 ? void 0 : _theme$hv$palette$sem2.sema3) !== null && _theme$hv$palette$sem !== void 0 ? _theme$hv$palette$sem : "sema3",
|
|
6
5
|
Failed: (_theme$hv$palette$sem3 = theme === null || theme === void 0 ? void 0 : (_theme$hv2 = theme.hv) === null || _theme$hv2 === void 0 ? void 0 : (_theme$hv2$palette = _theme$hv2.palette) === null || _theme$hv2$palette === void 0 ? void 0 : (_theme$hv2$palette$se = _theme$hv2$palette.semantic) === null || _theme$hv2$palette$se === void 0 ? void 0 : _theme$hv2$palette$se.sema4) !== null && _theme$hv$palette$sem3 !== void 0 ? _theme$hv$palette$sem3 : "sema4",
|
|
@@ -10,7 +9,6 @@ const getColor = (state, theme) => {
|
|
|
10
9
|
Enabled: (_theme$hv$palette$acc2 = theme === null || theme === void 0 ? void 0 : (_theme$hv6 = theme.hv) === null || _theme$hv6 === void 0 ? void 0 : (_theme$hv6$palette = _theme$hv6.palette) === null || _theme$hv6$palette === void 0 ? void 0 : (_theme$hv6$palette$ac = _theme$hv6$palette.accent) === null || _theme$hv6$palette$ac === void 0 ? void 0 : _theme$hv6$palette$ac.acce1) !== null && _theme$hv$palette$acc2 !== void 0 ? _theme$hv$palette$acc2 : "acce1"
|
|
11
10
|
}[state];
|
|
12
11
|
};
|
|
13
|
-
|
|
14
12
|
const EXTRA_SMALL = {
|
|
15
13
|
container: 32,
|
|
16
14
|
avatar: 24
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","names":["getColor","state","theme","Pending","hv","palette","semantic","sema3","Failed","sema4","Completed","sema1","Current","accent","acce1","Disabled","atmosphere","atmo5","Enabled","EXTRA_SMALL","container","avatar","SMALL","MEDIUM","LARGE","EXTRA_LARGE","stepSizes","XS","SM","MD","LG","XL"],"sources":["../../../../src/StepNavigation/DefaultNavigation/utils.js"],"sourcesContent":["const getColor = (state, theme) =>\n ({\n Pending: theme?.hv?.palette?.semantic?.sema3 ?? \"sema3\",\n Failed: theme?.hv?.palette?.semantic?.sema4 ?? \"sema4\",\n Completed: theme?.hv?.palette?.semantic?.sema1 ?? \"sema1\",\n Current: theme?.hv?.palette?.accent?.acce1 ?? \"acce1\",\n Disabled: theme?.hv?.palette?.atmosphere?.atmo5 ?? \"atmo5\",\n Enabled: theme?.hv?.palette?.accent?.acce1 ?? \"acce1\",\n }[state]);\n\nconst EXTRA_SMALL = { container: 32, avatar: 24 };\nconst SMALL = { container: 40, avatar: 32 };\nconst MEDIUM = { container: 48, avatar: 40 };\nconst LARGE = { container: 60, avatar: 52 };\nconst EXTRA_LARGE = { container: 96, avatar: 88 };\n\nconst stepSizes = {\n XS: EXTRA_SMALL,\n SM: SMALL,\n MD: MEDIUM,\n LG: LARGE,\n XL: EXTRA_LARGE,\n};\n\nexport { getColor, stepSizes };\n"],"mappings":"AAAA,MAAMA,QAAQ,GAAG,CAACC,
|
|
1
|
+
{"version":3,"file":"utils.js","names":["getColor","state","theme","Pending","hv","palette","semantic","sema3","Failed","sema4","Completed","sema1","Current","accent","acce1","Disabled","atmosphere","atmo5","Enabled","EXTRA_SMALL","container","avatar","SMALL","MEDIUM","LARGE","EXTRA_LARGE","stepSizes","XS","SM","MD","LG","XL"],"sources":["../../../../src/StepNavigation/DefaultNavigation/utils.js"],"sourcesContent":["const getColor = (state, theme) =>\n ({\n Pending: theme?.hv?.palette?.semantic?.sema3 ?? \"sema3\",\n Failed: theme?.hv?.palette?.semantic?.sema4 ?? \"sema4\",\n Completed: theme?.hv?.palette?.semantic?.sema1 ?? \"sema1\",\n Current: theme?.hv?.palette?.accent?.acce1 ?? \"acce1\",\n Disabled: theme?.hv?.palette?.atmosphere?.atmo5 ?? \"atmo5\",\n Enabled: theme?.hv?.palette?.accent?.acce1 ?? \"acce1\",\n }[state]);\n\nconst EXTRA_SMALL = { container: 32, avatar: 24 };\nconst SMALL = { container: 40, avatar: 32 };\nconst MEDIUM = { container: 48, avatar: 40 };\nconst LARGE = { container: 60, avatar: 52 };\nconst EXTRA_LARGE = { container: 96, avatar: 88 };\n\nconst stepSizes = {\n XS: EXTRA_SMALL,\n SM: SMALL,\n MD: MEDIUM,\n LG: LARGE,\n XL: EXTRA_LARGE,\n};\n\nexport { getColor, stepSizes };\n"],"mappings":"AAAA,MAAMA,QAAQ,GAAG,CAACC,KAAK,EAAEC,KAAK;EAAA;EAAA,OAC3B;IACCC,OAAO,2BAAED,KAAK,aAALA,KAAK,oCAALA,KAAK,CAAEE,EAAE,mEAAT,UAAWC,OAAO,gFAAlB,kBAAoBC,QAAQ,2DAA5B,uBAA8BC,KAAK,yEAAI,OAAO;IACvDC,MAAM,4BAAEN,KAAK,aAALA,KAAK,qCAALA,KAAK,CAAEE,EAAE,qEAAT,WAAWC,OAAO,gFAAlB,mBAAoBC,QAAQ,0DAA5B,sBAA8BG,KAAK,2EAAI,OAAO;IACtDC,SAAS,4BAAER,KAAK,aAALA,KAAK,qCAALA,KAAK,CAAEE,EAAE,qEAAT,WAAWC,OAAO,gFAAlB,mBAAoBC,QAAQ,0DAA5B,sBAA8BK,KAAK,2EAAI,OAAO;IACzDC,OAAO,2BAAEV,KAAK,aAALA,KAAK,qCAALA,KAAK,CAAEE,EAAE,qEAAT,WAAWC,OAAO,gFAAlB,mBAAoBQ,MAAM,0DAA1B,sBAA4BC,KAAK,yEAAI,OAAO;IACrDC,QAAQ,2BAAEb,KAAK,aAALA,KAAK,qCAALA,KAAK,CAAEE,EAAE,qEAAT,WAAWC,OAAO,gFAAlB,mBAAoBW,UAAU,0DAA9B,sBAAgCC,KAAK,yEAAI,OAAO;IAC1DC,OAAO,4BAAEhB,KAAK,aAALA,KAAK,qCAALA,KAAK,CAAEE,EAAE,qEAAT,WAAWC,OAAO,gFAAlB,mBAAoBQ,MAAM,0DAA1B,sBAA4BC,KAAK,2EAAI;EAChD,CAAC,CAACb,KAAK,CAAC;AAAA,CAAC;AAEX,MAAMkB,WAAW,GAAG;EAAEC,SAAS,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AACjD,MAAMC,KAAK,GAAG;EAAEF,SAAS,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AAC3C,MAAME,MAAM,GAAG;EAAEH,SAAS,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AAC5C,MAAMG,KAAK,GAAG;EAAEJ,SAAS,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AAC3C,MAAMI,WAAW,GAAG;EAAEL,SAAS,EAAE,EAAE;EAAEC,MAAM,EAAE;AAAG,CAAC;AAEjD,MAAMK,SAAS,GAAG;EAChBC,EAAE,EAAER,WAAW;EACfS,EAAE,EAAEN,KAAK;EACTO,EAAE,EAAEN,MAAM;EACVO,EAAE,EAAEN,KAAK;EACTO,EAAE,EAAEN;AACN,CAAC;AAED,SAASzB,QAAQ,EAAE0B,SAAS"}
|