@popmenu/admin-ui 0.126.0 → 0.126.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/components/Alert/Alert.d.ts +3 -0
- package/build/{components → cjs/components}/Alert/AlertProps.d.ts +14 -14
- package/build/{components → cjs/components}/Alert/AlertStyles.d.ts +2 -2
- package/build/{components → cjs/components}/Alert/index.d.ts +2 -2
- package/build/cjs/components/AlertDialog/AlertDialog.d.ts +3 -0
- package/build/{components → cjs/components}/AlertDialog/AlertDialogProps.d.ts +26 -26
- package/build/cjs/components/AlertDialog/AlertDialogStyles.d.ts +2 -0
- package/build/{components → cjs/components}/AlertDialog/index.d.ts +2 -2
- package/build/{components → cjs/components}/AlertDialogHeader/AlertDialogHeader.d.ts +3 -3
- package/build/{components → cjs/components}/AlertDialogHeader/index.d.ts +1 -1
- package/build/{components → cjs/components}/AlertTitle/AlertTitle.d.ts +3 -3
- package/build/cjs/components/AlertTitle/index.d.ts +2 -0
- package/build/{components → cjs/components}/Button/Button.d.ts +11 -11
- package/build/{components → cjs/components}/Button/ButtonProps.d.ts +8 -8
- package/build/{components → cjs/components}/Button/ButtonStyles.d.ts +7 -7
- package/build/{components → cjs/components}/Button/index.d.ts +2 -2
- package/build/{components → cjs/components}/Button/util/deriveButtonProps.d.ts +5 -5
- package/build/cjs/components/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/build/{components → cjs/components}/ButtonGroup/ButtonGroupProps.d.ts +8 -8
- package/build/{components → cjs/components}/ButtonGroup/ButtonGroupStyles.d.ts +2 -2
- package/build/{components → cjs/components}/ButtonGroup/index.d.ts +2 -2
- package/build/{components → cjs/components}/Dialog/index.d.ts +1 -1
- package/build/{components → cjs/components}/DialogActions/DialogActions.d.ts +3 -3
- package/build/{components → cjs/components}/DialogActions/index.d.ts +2 -2
- package/build/{components → cjs/components}/DialogContent/index.d.ts +1 -1
- package/build/{components → cjs/components}/DialogTitle/index.d.ts +1 -1
- package/build/{components → cjs/components}/FeatureIntro/FeatureIntro.d.ts +3 -3
- package/build/{components → cjs/components}/FeatureIntro/FeatureIntroProps.d.ts +22 -22
- package/build/{components → cjs/components}/FeatureIntro/FeatureIntroStyles.d.ts +2 -2
- package/build/{components → cjs/components}/FeatureIntro/index.d.ts +2 -2
- package/build/{components → cjs/components}/FullScreenStepper/FullScreenStepper.d.ts +8 -8
- package/build/{components → cjs/components}/FullScreenStepper/FullScreenStepperContext.d.ts +6 -6
- package/build/{components → cjs/components}/FullScreenStepper/FullScreenStepperProps.d.ts +68 -68
- package/build/{components → cjs/components}/FullScreenStepper/index.d.ts +3 -3
- package/build/{components → cjs/components}/FullScreenStepper/types/index.d.ts +25 -25
- package/build/{components → cjs/components}/FullScreenStepperActions/FullScreenStepperActions.d.ts +3 -3
- package/build/{components → cjs/components}/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +22 -22
- package/build/{components → cjs/components}/FullScreenStepperActions/FullScreenStepperActionsStyles.d.ts +2 -2
- package/build/{components → cjs/components}/FullScreenStepperActions/index.d.ts +2 -2
- package/build/{components → cjs/components}/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +11 -11
- package/build/{components → cjs/components}/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +12 -12
- package/build/{components → cjs/components}/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +11 -11
- package/build/{components → cjs/components}/FullScreenStepperActions/util/StepperActionsStatusText.d.ts +4 -4
- package/build/{components → cjs/components}/FullScreenStepperActions/util/augmentButtonProps.d.ts +5 -5
- package/build/{components → cjs/components}/FullScreenStepperContent/FullScreenStepperContent.d.ts +5 -5
- package/build/{components → cjs/components}/FullScreenStepperContent/index.d.ts +1 -1
- package/build/{components → cjs/components}/FullScreenStepperHeader/FullScreenStepperHeader.d.ts +3 -3
- package/build/{components → cjs/components}/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +8 -8
- package/build/{components → cjs/components}/FullScreenStepperHeader/FullScreenStepperHeaderStyles.d.ts +2 -2
- package/build/{components → cjs/components}/FullScreenStepperHeader/index.d.ts +1 -1
- package/build/{components → cjs/components}/FullScreenStepperProgress/FullScreenStepperProgress.d.ts +3 -3
- package/build/{components → cjs/components}/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +5 -5
- package/build/{components → cjs/components}/FullScreenStepperProgress/FullScreenStepperProgressStyles.d.ts +2 -2
- package/build/{components → cjs/components}/FullScreenStepperProgress/index.d.ts +1 -1
- package/build/{components → cjs/components}/List/List.d.ts +3 -3
- package/build/{components → cjs/components}/List/ListProps.d.ts +4 -4
- package/build/{components → cjs/components}/List/index.d.ts +2 -2
- package/build/{components → cjs/components}/List/styles.d.ts +2 -2
- package/build/{components → cjs/components}/Page/Page.d.ts +2 -2
- package/build/{components → cjs/components}/Page/index.d.ts +1 -1
- package/build/{components → cjs/components}/PageBody/PageBody.d.ts +2 -2
- package/build/{components → cjs/components}/PageBody/index.d.ts +1 -1
- package/build/{components → cjs/components}/PageSection/PageSection.d.ts +3 -3
- package/build/{components → cjs/components}/PageSection/PageSectionProps.d.ts +5 -5
- package/build/{components → cjs/components}/PageSection/PageSectionStyles.d.ts +2 -2
- package/build/{components → cjs/components}/PageSection/index.d.ts +1 -1
- package/build/{components → cjs/components}/PageSectionHead/PageSectionHead.d.ts +2 -2
- package/build/{components → cjs/components}/PageSectionHead/index.d.ts +1 -1
- package/build/{components → cjs/components}/PageSectionTitle/PageSectionTitle.d.ts +3 -3
- package/build/{components → cjs/components}/PageSectionTitle/index.d.ts +1 -1
- package/build/{components → cjs/components}/PageSectionTitle/styles.d.ts +1 -1
- package/build/{components → cjs/components}/PageSections/PageSections.d.ts +2 -2
- package/build/{components → cjs/components}/PageSections/index.d.ts +1 -1
- package/build/{components → cjs/components}/SelectableCard/SelectableCard.d.ts +3 -3
- package/build/{components → cjs/components}/SelectableCard/SelectableCardProps.d.ts +17 -18
- package/build/{components → cjs/components}/SelectableCard/SelectableCardStyles.d.ts +2 -2
- package/build/{components → cjs/components}/SelectableCard/index.d.ts +2 -2
- package/build/{components → cjs/components}/SettingsIndexCard/SettingsIndexCard.d.ts +11 -11
- package/build/{components → cjs/components}/SettingsIndexCard/SettingsIndexCardProps.d.ts +20 -20
- package/build/{components → cjs/components}/SettingsIndexCard/SettingsIndexCardStyles.d.ts +2 -2
- package/build/{components → cjs/components}/SettingsIndexCard/index.d.ts +2 -2
- package/build/{components → cjs/components}/SettingsIndexCardGroup/SettingsIndexCardGroup.d.ts +3 -3
- package/build/{components → cjs/components}/SettingsIndexCardGroup/index.d.ts +1 -1
- package/build/{components → cjs/components}/StandardListItem/StandardListItem.d.ts +9 -9
- package/build/{components → cjs/components}/StandardListItem/StandardListItemProps.d.ts +25 -25
- package/build/{components → cjs/components}/StandardListItem/index.d.ts +2 -2
- package/build/{components → cjs/components}/Toast/Toast.d.ts +3 -3
- package/build/{components → cjs/components}/Toast/ToastProps.d.ts +10 -10
- package/build/{components → cjs/components}/Toast/ToastStyles.d.ts +2 -2
- package/build/{components → cjs/components}/Toast/index.d.ts +2 -2
- package/build/{components → cjs/components}/index.d.ts +27 -27
- package/build/{hooks → cjs/hooks}/index.d.ts +3 -3
- package/build/{hooks → cjs/hooks}/useDialog.d.ts +12 -12
- package/build/{hooks → cjs/hooks}/useFullScreenStepperContext.d.ts +2 -2
- package/build/{hooks → cjs/hooks}/useSelectableCard.d.ts +24 -24
- package/build/{index.d.ts → cjs/index.d.ts} +3 -3
- package/build/cjs/index.js +1309 -0
- package/build/cjs/index.js.map +1 -0
- package/build/{theme → cjs/theme}/adminDarkTheme.d.ts +252 -227
- package/build/{theme → cjs/theme}/adminLightTheme.d.ts +253 -228
- package/build/{theme → cjs/theme}/breakpoints.d.ts +9 -9
- package/build/{theme → cjs/theme}/customThemeProperties.d.ts +63 -63
- package/build/{theme → cjs/theme}/index.d.ts +2 -2
- package/build/{theme → cjs/theme}/overrides.d.ts +30 -30
- package/build/{theme → cjs/theme}/palette.d.ts +128 -128
- package/build/{theme → cjs/theme}/props.d.ts +8 -8
- package/build/{theme → cjs/theme}/typography.d.ts +61 -61
- package/build/esm/components/Alert/Alert.d.ts +3 -0
- package/build/esm/components/Alert/Alert.js +41 -0
- package/build/esm/components/Alert/Alert.js.map +1 -0
- package/build/esm/components/Alert/AlertProps.d.ts +14 -0
- package/build/esm/components/Alert/AlertStyles.d.ts +2 -0
- package/build/esm/components/Alert/AlertStyles.js +21 -0
- package/build/esm/components/Alert/AlertStyles.js.map +1 -0
- package/build/esm/components/Alert/index.d.ts +2 -0
- package/build/esm/components/AlertDialog/AlertDialog.d.ts +3 -0
- package/build/esm/components/AlertDialog/AlertDialog.js +32 -0
- package/build/esm/components/AlertDialog/AlertDialog.js.map +1 -0
- package/build/esm/components/AlertDialog/AlertDialogProps.d.ts +26 -0
- package/build/esm/components/AlertDialog/AlertDialogStyles.d.ts +2 -0
- package/build/esm/components/AlertDialog/AlertDialogStyles.js +29 -0
- package/build/esm/components/AlertDialog/AlertDialogStyles.js.map +1 -0
- package/build/esm/components/AlertDialog/index.d.ts +2 -0
- package/build/esm/components/AlertDialogHeader/AlertDialogHeader.d.ts +3 -0
- package/build/esm/components/AlertDialogHeader/AlertDialogHeader.js +13 -0
- package/build/esm/components/AlertDialogHeader/AlertDialogHeader.js.map +1 -0
- package/build/esm/components/AlertDialogHeader/index.d.ts +1 -0
- package/build/esm/components/AlertTitle/AlertTitle.d.ts +3 -0
- package/build/esm/components/AlertTitle/AlertTitle.js +17 -0
- package/build/esm/components/AlertTitle/AlertTitle.js.map +1 -0
- package/build/esm/components/AlertTitle/index.d.ts +2 -0
- package/build/esm/components/Button/Button.d.ts +11 -0
- package/build/esm/components/Button/Button.js +22 -0
- package/build/esm/components/Button/Button.js.map +1 -0
- package/build/esm/components/Button/ButtonProps.d.ts +8 -0
- package/build/esm/components/Button/ButtonStyles.d.ts +7 -0
- package/build/esm/components/Button/ButtonStyles.js +123 -0
- package/build/esm/components/Button/ButtonStyles.js.map +1 -0
- package/build/esm/components/Button/index.d.ts +2 -0
- package/build/esm/components/Button/util/deriveButtonProps.d.ts +5 -0
- package/build/esm/components/Button/util/deriveButtonProps.js +42 -0
- package/build/esm/components/Button/util/deriveButtonProps.js.map +1 -0
- package/build/esm/components/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/build/esm/components/ButtonGroup/ButtonGroup.js +28 -0
- package/build/esm/components/ButtonGroup/ButtonGroup.js.map +1 -0
- package/build/esm/components/ButtonGroup/ButtonGroupProps.d.ts +8 -0
- package/build/esm/components/ButtonGroup/ButtonGroupStyles.d.ts +2 -0
- package/build/esm/components/ButtonGroup/ButtonGroupStyles.js +28 -0
- package/build/esm/components/ButtonGroup/ButtonGroupStyles.js.map +1 -0
- package/build/esm/components/ButtonGroup/index.d.ts +2 -0
- package/build/esm/components/Dialog/index.d.ts +1 -0
- package/build/esm/components/DialogActions/DialogActions.d.ts +3 -0
- package/build/esm/components/DialogActions/DialogActions.js +20 -0
- package/build/esm/components/DialogActions/DialogActions.js.map +1 -0
- package/build/esm/components/DialogActions/index.d.ts +2 -0
- package/build/esm/components/DialogContent/index.d.ts +1 -0
- package/build/esm/components/DialogTitle/index.d.ts +1 -0
- package/build/esm/components/FeatureIntro/FeatureIntro.d.ts +3 -0
- package/build/esm/components/FeatureIntro/FeatureIntro.js +27 -0
- package/build/esm/components/FeatureIntro/FeatureIntro.js.map +1 -0
- package/build/esm/components/FeatureIntro/FeatureIntroProps.d.ts +22 -0
- package/build/esm/components/FeatureIntro/FeatureIntroStyles.d.ts +2 -0
- package/build/esm/components/FeatureIntro/FeatureIntroStyles.js +20 -0
- package/build/esm/components/FeatureIntro/FeatureIntroStyles.js.map +1 -0
- package/build/esm/components/FeatureIntro/index.d.ts +2 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepper.d.ts +8 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepper.js +104 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepper.js.map +1 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepperContext.d.ts +6 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepperContext.js +6 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepperContext.js.map +1 -0
- package/build/esm/components/FullScreenStepper/FullScreenStepperProps.d.ts +68 -0
- package/build/esm/components/FullScreenStepper/index.d.ts +3 -0
- package/build/esm/components/FullScreenStepper/types/index.d.ts +25 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActions.d.ts +3 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActions.js +26 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActions.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +22 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.d.ts +2 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js +29 -0
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/index.d.ts +2 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +11 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.js +13 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +12 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.js +17 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +11 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.js +13 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.d.ts +4 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js +17 -0
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js.map +1 -0
- package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.d.ts +5 -0
- package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.js +29 -0
- package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.js.map +1 -0
- package/build/esm/components/FullScreenStepperContent/FullScreenStepperContent.d.ts +5 -0
- package/build/esm/components/FullScreenStepperContent/FullScreenStepperContent.js +11 -0
- package/build/esm/components/FullScreenStepperContent/FullScreenStepperContent.js.map +1 -0
- package/build/esm/components/FullScreenStepperContent/index.d.ts +1 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeader.d.ts +3 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeader.js +22 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeader.js.map +1 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +8 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.d.ts +2 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js +26 -0
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js.map +1 -0
- package/build/esm/components/FullScreenStepperHeader/index.d.ts +1 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgress.d.ts +3 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgress.js +12 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgress.js.map +1 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +5 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.d.ts +2 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js +36 -0
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js.map +1 -0
- package/build/esm/components/FullScreenStepperProgress/index.d.ts +1 -0
- package/build/esm/components/List/List.d.ts +3 -0
- package/build/esm/components/List/List.js +15 -0
- package/build/esm/components/List/List.js.map +1 -0
- package/build/esm/components/List/ListProps.d.ts +4 -0
- package/build/esm/components/List/index.d.ts +2 -0
- package/build/esm/components/List/styles.d.ts +2 -0
- package/build/esm/components/List/styles.js +24 -0
- package/build/esm/components/List/styles.js.map +1 -0
- package/build/esm/components/Page/Page.d.ts +2 -0
- package/build/esm/components/Page/Page.js +11 -0
- package/build/esm/components/Page/Page.js.map +1 -0
- package/build/esm/components/Page/index.d.ts +1 -0
- package/build/esm/components/PageBody/PageBody.d.ts +2 -0
- package/build/esm/components/PageBody/PageBody.js +11 -0
- package/build/esm/components/PageBody/PageBody.js.map +1 -0
- package/build/esm/components/PageBody/index.d.ts +1 -0
- package/build/esm/components/PageSection/PageSection.d.ts +3 -0
- package/build/esm/components/PageSection/PageSection.js +15 -0
- package/build/esm/components/PageSection/PageSection.js.map +1 -0
- package/build/esm/components/PageSection/PageSectionProps.d.ts +5 -0
- package/build/esm/components/PageSection/PageSectionStyles.d.ts +2 -0
- package/build/esm/components/PageSection/PageSectionStyles.js +19 -0
- package/build/esm/components/PageSection/PageSectionStyles.js.map +1 -0
- package/build/esm/components/PageSection/index.d.ts +1 -0
- package/build/esm/components/PageSectionHead/PageSectionHead.d.ts +2 -0
- package/build/esm/components/PageSectionHead/PageSectionHead.js +13 -0
- package/build/esm/components/PageSectionHead/PageSectionHead.js.map +1 -0
- package/build/esm/components/PageSectionHead/index.d.ts +1 -0
- package/build/esm/components/PageSectionTitle/PageSectionTitle.d.ts +3 -0
- package/build/esm/components/PageSectionTitle/PageSectionTitle.js +13 -0
- package/build/esm/components/PageSectionTitle/PageSectionTitle.js.map +1 -0
- package/build/esm/components/PageSectionTitle/index.d.ts +1 -0
- package/build/esm/components/PageSectionTitle/styles.d.ts +1 -0
- package/build/esm/components/PageSectionTitle/styles.js +10 -0
- package/build/esm/components/PageSectionTitle/styles.js.map +1 -0
- package/build/esm/components/PageSections/PageSections.d.ts +2 -0
- package/build/esm/components/PageSections/PageSections.js +11 -0
- package/build/esm/components/PageSections/PageSections.js.map +1 -0
- package/build/esm/components/PageSections/index.d.ts +1 -0
- package/build/esm/components/SelectableCard/SelectableCard.d.ts +3 -0
- package/build/esm/components/SelectableCard/SelectableCard.js +22 -0
- package/build/esm/components/SelectableCard/SelectableCard.js.map +1 -0
- package/build/esm/components/SelectableCard/SelectableCardProps.d.ts +17 -0
- package/build/esm/components/SelectableCard/SelectableCardStyles.d.ts +2 -0
- package/build/esm/components/SelectableCard/SelectableCardStyles.js +47 -0
- package/build/esm/components/SelectableCard/SelectableCardStyles.js.map +1 -0
- package/build/esm/components/SelectableCard/index.d.ts +2 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCard.d.ts +11 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCard.js +24 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCard.js.map +1 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardProps.d.ts +20 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.d.ts +2 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js +21 -0
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js.map +1 -0
- package/build/esm/components/SettingsIndexCard/index.d.ts +2 -0
- package/build/esm/components/SettingsIndexCardGroup/SettingsIndexCardGroup.d.ts +3 -0
- package/build/esm/components/SettingsIndexCardGroup/SettingsIndexCardGroup.js +11 -0
- package/build/esm/components/SettingsIndexCardGroup/SettingsIndexCardGroup.js.map +1 -0
- package/build/esm/components/SettingsIndexCardGroup/index.d.ts +1 -0
- package/build/esm/components/StandardListItem/StandardListItem.d.ts +9 -0
- package/build/esm/components/StandardListItem/StandardListItem.js +40 -0
- package/build/esm/components/StandardListItem/StandardListItem.js.map +1 -0
- package/build/esm/components/StandardListItem/StandardListItemProps.d.ts +25 -0
- package/build/esm/components/StandardListItem/index.d.ts +2 -0
- package/build/esm/components/Toast/Toast.d.ts +3 -0
- package/build/esm/components/Toast/Toast.js +20 -0
- package/build/esm/components/Toast/Toast.js.map +1 -0
- package/build/esm/components/Toast/ToastProps.d.ts +10 -0
- package/build/esm/components/Toast/ToastStyles.d.ts +2 -0
- package/build/esm/components/Toast/ToastStyles.js +16 -0
- package/build/esm/components/Toast/ToastStyles.js.map +1 -0
- package/build/esm/components/Toast/index.d.ts +2 -0
- package/build/esm/components/index.d.ts +27 -0
- package/build/esm/hooks/index.d.ts +3 -0
- package/build/esm/hooks/useDialog.d.ts +12 -0
- package/build/esm/hooks/useDialog.js +13 -0
- package/build/esm/hooks/useDialog.js.map +1 -0
- package/build/esm/hooks/useFullScreenStepperContext.d.ts +2 -0
- package/build/esm/hooks/useFullScreenStepperContext.js +8 -0
- package/build/esm/hooks/useFullScreenStepperContext.js.map +1 -0
- package/build/esm/hooks/useSelectableCard.d.ts +24 -0
- package/build/esm/hooks/useSelectableCard.js +50 -0
- package/build/esm/hooks/useSelectableCard.js.map +1 -0
- package/build/esm/index.d.ts +3 -0
- package/build/esm/index.js +32 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/theme/adminDarkTheme.d.ts +252 -0
- package/build/esm/theme/adminDarkTheme.js +13 -0
- package/build/esm/theme/adminDarkTheme.js.map +1 -0
- package/build/esm/theme/adminLightTheme.d.ts +253 -0
- package/build/esm/theme/adminLightTheme.js +13 -0
- package/build/esm/theme/adminLightTheme.js.map +1 -0
- package/build/esm/theme/breakpoints.d.ts +9 -0
- package/build/esm/theme/breakpoints.js +12 -0
- package/build/esm/theme/breakpoints.js.map +1 -0
- package/build/esm/theme/customThemeProperties.d.ts +63 -0
- package/build/esm/theme/customThemeProperties.js +54 -0
- package/build/esm/theme/customThemeProperties.js.map +1 -0
- package/build/esm/theme/index.d.ts +2 -0
- package/build/esm/theme/overrides.d.ts +30 -0
- package/build/esm/theme/overrides.js +35 -0
- package/build/esm/theme/overrides.js.map +1 -0
- package/build/esm/theme/palette.d.ts +128 -0
- package/build/esm/theme/palette.js +131 -0
- package/build/esm/theme/palette.js.map +1 -0
- package/build/esm/theme/props.d.ts +8 -0
- package/build/esm/theme/props.js +11 -0
- package/build/esm/theme/props.js.map +1 -0
- package/build/esm/theme/typography.d.ts +61 -0
- package/build/esm/theme/typography.js +65 -0
- package/build/esm/theme/typography.js.map +1 -0
- package/package.json +9 -9
- package/build/components/Alert/Alert.d.ts +0 -3
- package/build/components/AlertDialog/AlertDialog.d.ts +0 -3
- package/build/components/AlertDialog/AlertDialogStyles.d.ts +0 -2
- package/build/components/AlertTitle/index.d.ts +0 -2
- package/build/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/build/index.es.js +0 -2375
- package/build/index.es.js.map +0 -1
- package/build/index.js +0 -2498
- package/build/index.js.map +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertProps } from './AlertProps';
|
|
3
|
+
export declare const Alert: React.ForwardRefExoticComponent<Pick<AlertProps, "classes" | "icon" | "action" | "variant" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "component" | "elevation" | "square" | "innerRef" | "fullWidth" | "link" | "closeText" | "severity" | "iconMapping" | "onClose"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AlertProps as CommonAlertProps } from '@popmenu/common-ui';
|
|
2
|
-
import { RefObject } from 'react';
|
|
3
|
-
export interface AlertProps extends CommonAlertProps {
|
|
4
|
-
/** Makes the fill the width of its container */
|
|
5
|
-
fullWidth?: boolean;
|
|
6
|
-
/** Adds a Link to the Alert. */
|
|
7
|
-
link?: {
|
|
8
|
-
href?: string;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
text: string;
|
|
11
|
-
};
|
|
12
|
-
/** @ignore */
|
|
13
|
-
ref?: RefObject<HTMLDivElement>;
|
|
14
|
-
}
|
|
1
|
+
import { AlertProps as CommonAlertProps } from '@popmenu/common-ui';
|
|
2
|
+
import { RefObject } from 'react';
|
|
3
|
+
export interface AlertProps extends CommonAlertProps {
|
|
4
|
+
/** Makes the fill the width of its container */
|
|
5
|
+
fullWidth?: boolean;
|
|
6
|
+
/** Adds a Link to the Alert. */
|
|
7
|
+
link?: {
|
|
8
|
+
href?: string;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
text: string;
|
|
11
|
+
};
|
|
12
|
+
/** @ignore */
|
|
13
|
+
ref?: RefObject<HTMLDivElement>;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AlertProps } from './AlertProps';
|
|
2
|
-
export declare const useAlertStyles: (props: AlertProps) => import("@material-ui/styles").ClassNameMap<"root">;
|
|
1
|
+
import { AlertProps } from './AlertProps';
|
|
2
|
+
export declare const useAlertStyles: (props: AlertProps) => import("@material-ui/styles").ClassNameMap<"root">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Alert as default } from './Alert';
|
|
2
|
-
export { AlertProps } from './AlertProps';
|
|
1
|
+
export { Alert as default } from './Alert';
|
|
2
|
+
export { AlertProps } from './AlertProps';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AlertDialogProps } from './AlertDialogProps';
|
|
3
|
+
export declare const AlertDialog: React.ForwardRefExoticComponent<Pick<AlertDialogProps, "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "maxWidth" | "transitionDuration" | "scroll" | "open" | "disabled" | "fullWidth" | "severity" | "onClose" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "container" | "BackdropComponent" | "BackdropProps" | "closeAfterTransition" | "disableAutoFocus" | "disableBackdropClick" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disablePortal" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "keepMounted" | "manager" | "onBackdropClick" | "onEscapeKeyDown" | "onRendered" | "cancelButtonText" | "hideCancelButton" | "descriptionId" | "labelId" | "onCancel" | "onProceed" | "proceedButtonText" | "fullScreen" | "PaperComponent" | "PaperProps" | "TransitionComponent" | "TransitionProps"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { Ref } from 'react';
|
|
2
|
-
import { DialogProps } from '@popmenu/common-ui';
|
|
3
|
-
export interface AlertDialogProps extends DialogProps {
|
|
4
|
-
/** Sets the text within the cancel button. */
|
|
5
|
-
cancelButtonText?: string;
|
|
6
|
-
/** Hides the cancel button. */
|
|
7
|
-
hideCancelButton?: boolean;
|
|
8
|
-
/** The id of the DOM node serving as the description for the AlertDialog. Required for accessibility standards. */
|
|
9
|
-
descriptionId: string;
|
|
10
|
-
/** The id of the DOM node serving as the label for the AlertDialog. Required for accessibility standards. */
|
|
11
|
-
labelId: string;
|
|
12
|
-
/** Callback for when the cancel button in the dialog is clicked. */
|
|
13
|
-
onClose?: (event: React.SyntheticEvent) => void;
|
|
14
|
-
/** Callback for when the cancel button in the dialog is clicked. */
|
|
15
|
-
onCancel?: () => void;
|
|
16
|
-
/** Callback for when the proceed button in the dialog is clicked. */
|
|
17
|
-
onProceed?: () => void;
|
|
18
|
-
/** Sets the text within the proceed button. */
|
|
19
|
-
proceedButtonText?: string;
|
|
20
|
-
/** Sets disabled state on the buttons */
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
/** Sets the type of dialog that will be shown. */
|
|
23
|
-
severity?: 'info' | 'error' | 'warning' | 'success';
|
|
24
|
-
/** @ignore */
|
|
25
|
-
ref?: (instance: HTMLDivElement) => void | Ref<HTMLDivElement> | null;
|
|
26
|
-
}
|
|
1
|
+
import { Ref } from 'react';
|
|
2
|
+
import { DialogProps } from '@popmenu/common-ui';
|
|
3
|
+
export interface AlertDialogProps extends DialogProps {
|
|
4
|
+
/** Sets the text within the cancel button. */
|
|
5
|
+
cancelButtonText?: string;
|
|
6
|
+
/** Hides the cancel button. */
|
|
7
|
+
hideCancelButton?: boolean;
|
|
8
|
+
/** The id of the DOM node serving as the description for the AlertDialog. Required for accessibility standards. */
|
|
9
|
+
descriptionId: string;
|
|
10
|
+
/** The id of the DOM node serving as the label for the AlertDialog. Required for accessibility standards. */
|
|
11
|
+
labelId: string;
|
|
12
|
+
/** Callback for when the cancel button in the dialog is clicked. */
|
|
13
|
+
onClose?: (event: React.SyntheticEvent) => void;
|
|
14
|
+
/** Callback for when the cancel button in the dialog is clicked. */
|
|
15
|
+
onCancel?: () => void;
|
|
16
|
+
/** Callback for when the proceed button in the dialog is clicked. */
|
|
17
|
+
onProceed?: () => void;
|
|
18
|
+
/** Sets the text within the proceed button. */
|
|
19
|
+
proceedButtonText?: string;
|
|
20
|
+
/** Sets disabled state on the buttons */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Sets the type of dialog that will be shown. */
|
|
23
|
+
severity?: 'info' | 'error' | 'warning' | 'success';
|
|
24
|
+
/** @ignore */
|
|
25
|
+
ref?: (instance: HTMLDivElement) => void | Ref<HTMLDivElement> | null;
|
|
26
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AlertDialog as default } from './AlertDialog';
|
|
2
|
-
export { AlertDialogProps } from './AlertDialogProps';
|
|
1
|
+
export { AlertDialog as default } from './AlertDialog';
|
|
2
|
+
export { AlertDialogProps } from './AlertDialogProps';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { BoxProps } from '@popmenu/common-ui';
|
|
3
|
-
export declare const AlertDialogHeader: FC<BoxProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { BoxProps } from '@popmenu/common-ui';
|
|
3
|
+
export declare const AlertDialogHeader: FC<BoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AlertDialogHeader as default } from './AlertDialogHeader';
|
|
1
|
+
export { AlertDialogHeader as default } from './AlertDialogHeader';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare const AlertTitle: FC<AlertTitleProps>;
|
|
1
|
+
import { AlertTitleProps } from '@material-ui/lab';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export declare const AlertTitle: FC<AlertTitleProps>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from './ButtonProps';
|
|
3
|
-
interface ButtonType {
|
|
4
|
-
<C extends React.ElementType = 'a'>(props: ButtonProps<C> & {
|
|
5
|
-
component?: C;
|
|
6
|
-
}): React.ReactElement;
|
|
7
|
-
defaultProps?: Partial<ButtonProps>;
|
|
8
|
-
displayName?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const Button: ButtonType;
|
|
11
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from './ButtonProps';
|
|
3
|
+
interface ButtonType {
|
|
4
|
+
<C extends React.ElementType = 'a'>(props: ButtonProps<C> & {
|
|
5
|
+
component?: C;
|
|
6
|
+
}): React.ReactElement;
|
|
7
|
+
defaultProps?: Partial<ButtonProps>;
|
|
8
|
+
displayName?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const Button: ButtonType;
|
|
11
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps as CommonButtonProps } from '@popmenu/common-ui';
|
|
3
|
-
export declare type ButtonProps<C extends React.ElementType = 'button'> = Omit<CommonButtonProps<C>, 'variant'> & {
|
|
4
|
-
loading?: boolean;
|
|
5
|
-
/** Sets the overall visual of a button according the the design system button variants. Accepts MUI variants and
|
|
6
|
-
* pre-defined design system variants */
|
|
7
|
-
variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'success' | 'info' | 'warning' | 'error' | 'outlined' | 'contained' | 'text';
|
|
8
|
-
};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps as CommonButtonProps } from '@popmenu/common-ui';
|
|
3
|
+
export declare type ButtonProps<C extends React.ElementType = 'button'> = Omit<CommonButtonProps<C>, 'variant'> & {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
/** Sets the overall visual of a button according the the design system button variants. Accepts MUI variants and
|
|
6
|
+
* pre-defined design system variants */
|
|
7
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'success' | 'info' | 'warning' | 'error' | 'outlined' | 'contained' | 'text';
|
|
8
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from './ButtonProps';
|
|
2
|
-
export declare const buttonTypography: {
|
|
3
|
-
fontWeight: number;
|
|
4
|
-
fontSize: string;
|
|
5
|
-
lineHeight: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const useButtonStyles: (props: ButtonProps) => import("@material-ui/styles").ClassNameMap<string>;
|
|
1
|
+
import { ButtonProps } from './ButtonProps';
|
|
2
|
+
export declare const buttonTypography: {
|
|
3
|
+
fontWeight: number;
|
|
4
|
+
fontSize: string;
|
|
5
|
+
lineHeight: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const useButtonStyles: (props: ButtonProps<"button">) => import("@material-ui/styles").ClassNameMap<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button as default } from './Button';
|
|
2
|
-
export { ButtonProps } from './ButtonProps';
|
|
1
|
+
export { Button as default } from './Button';
|
|
2
|
+
export { ButtonProps } from './ButtonProps';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from '../ButtonProps';
|
|
2
|
-
import { ButtonProps as CommonButtonProps } from '@popmenu/common-ui';
|
|
3
|
-
declare type DerivedProps = Partial<Pick<CommonButtonProps, 'variant' | 'color'>>;
|
|
4
|
-
export declare const deriveButtonProps: (props: ButtonProps) => DerivedProps;
|
|
5
|
-
export {};
|
|
1
|
+
import { ButtonProps } from '../ButtonProps';
|
|
2
|
+
import { ButtonProps as CommonButtonProps } from '@popmenu/common-ui';
|
|
3
|
+
declare type DerivedProps = Partial<Pick<CommonButtonProps, 'variant' | 'color'>>;
|
|
4
|
+
export declare const deriveButtonProps: (props: ButtonProps) => DerivedProps;
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonGroupProps } from './ButtonGroupProps';
|
|
3
|
+
export declare const ButtonGroup: React.ForwardRefExoticComponent<Pick<ButtonGroupProps, "classes" | "variant" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "textTransform" | "size" | "disabled" | "fullWidth" | "key" | "orientation" | "disableFocusRipple" | "disableRipple" | "disableElevation"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ButtonGroupProps as CommonButtonGroupProps } from '@popmenu/common-ui';
|
|
2
|
-
export interface ButtonGroupProps extends Omit<CommonButtonGroupProps, 'variant'> {
|
|
3
|
-
/** Sets the text transformation property of a button. */
|
|
4
|
-
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
5
|
-
/** Sets the overall visual of a button according the the design system button variants. Accepts MUI variants and
|
|
6
|
-
* pre-defined design system variants */
|
|
7
|
-
variant?: 'primary' | 'secondary' | 'tertiary' | 'text' | 'ghost' | 'success' | 'info' | 'warning' | 'error' | 'outlined' | 'contained';
|
|
8
|
-
}
|
|
1
|
+
import { ButtonGroupProps as CommonButtonGroupProps } from '@popmenu/common-ui';
|
|
2
|
+
export interface ButtonGroupProps extends Omit<CommonButtonGroupProps, 'variant'> {
|
|
3
|
+
/** Sets the text transformation property of a button. */
|
|
4
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
5
|
+
/** Sets the overall visual of a button according the the design system button variants. Accepts MUI variants and
|
|
6
|
+
* pre-defined design system variants */
|
|
7
|
+
variant?: 'primary' | 'secondary' | 'tertiary' | 'text' | 'ghost' | 'success' | 'info' | 'warning' | 'error' | 'outlined' | 'contained';
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonGroupProps } from './ButtonGroupProps';
|
|
2
|
-
export declare const useButtonGroupStyles: (props: ButtonGroupProps) => import("@material-ui/styles").ClassNameMap<"groupedText" | "groupedContained">;
|
|
1
|
+
import { ButtonGroupProps } from './ButtonGroupProps';
|
|
2
|
+
export declare const useButtonGroupStyles: (props: ButtonGroupProps) => import("@material-ui/styles").ClassNameMap<"groupedText" | "groupedContained">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ButtonGroup as default } from './ButtonGroup';
|
|
2
|
-
export { ButtonGroupProps } from './ButtonGroupProps';
|
|
1
|
+
export { ButtonGroup as default } from './ButtonGroup';
|
|
2
|
+
export { ButtonGroupProps } from './ButtonGroupProps';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Dialog, DialogProps } from '@popmenu/common-ui';
|
|
1
|
+
export { Dialog, DialogProps } from '@popmenu/common-ui';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { DialogActionsProps } from '@popmenu/common-ui';
|
|
3
|
-
export declare const DialogActions: FC<DialogActionsProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { DialogActionsProps } from '@popmenu/common-ui';
|
|
3
|
+
export declare const DialogActions: FC<DialogActionsProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DialogActions } from './DialogActions';
|
|
2
|
-
export { DialogActionsProps } from '@popmenu/common-ui';
|
|
1
|
+
export { DialogActions } from './DialogActions';
|
|
2
|
+
export { DialogActionsProps } from '@popmenu/common-ui';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DialogContent, DialogContentProps } from '@popmenu/common-ui';
|
|
1
|
+
export { DialogContent, DialogContentProps } from '@popmenu/common-ui';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DialogTitle, DialogTitleProps } from '@popmenu/common-ui';
|
|
1
|
+
export { DialogTitle, DialogTitleProps } from '@popmenu/common-ui';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { FeatureIntroProps } from './FeatureIntroProps';
|
|
3
|
-
export declare const FeatureIntro: FC<FeatureIntroProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FeatureIntroProps } from './FeatureIntroProps';
|
|
3
|
+
export declare const FeatureIntro: FC<FeatureIntroProps>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FeatureIntroProps {
|
|
3
|
-
/** The headline for a FeatureIntro. */
|
|
4
|
-
title: string;
|
|
5
|
-
/** Text to be used for the main messaging of the FeatureIntro. */
|
|
6
|
-
body: string;
|
|
7
|
-
/** The image to be displayed. */
|
|
8
|
-
image: {
|
|
9
|
-
alt: string;
|
|
10
|
-
src: string;
|
|
11
|
-
};
|
|
12
|
-
/** The primary CTA. */
|
|
13
|
-
primaryAction: {
|
|
14
|
-
label: string;
|
|
15
|
-
onClick: (event: React.SyntheticEvent) => void;
|
|
16
|
-
};
|
|
17
|
-
/** The secondary CTA. */
|
|
18
|
-
secondaryAction: {
|
|
19
|
-
label: string;
|
|
20
|
-
onClick: (event: React.SyntheticEvent) => void;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FeatureIntroProps {
|
|
3
|
+
/** The headline for a FeatureIntro. */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Text to be used for the main messaging of the FeatureIntro. */
|
|
6
|
+
body: string;
|
|
7
|
+
/** The image to be displayed. */
|
|
8
|
+
image: {
|
|
9
|
+
alt: string;
|
|
10
|
+
src: string;
|
|
11
|
+
};
|
|
12
|
+
/** The primary CTA. */
|
|
13
|
+
primaryAction: {
|
|
14
|
+
label: string;
|
|
15
|
+
onClick: (event: React.SyntheticEvent) => void;
|
|
16
|
+
};
|
|
17
|
+
/** The secondary CTA. */
|
|
18
|
+
secondaryAction: {
|
|
19
|
+
label: string;
|
|
20
|
+
onClick: (event: React.SyntheticEvent) => void;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FeatureIntroProps } from './FeatureIntroProps';
|
|
2
|
-
export declare const useFeatureIntroStyles: (props: FeatureIntroProps) => import("@material-ui/styles").ClassNameMap<string>;
|
|
1
|
+
import { FeatureIntroProps } from './FeatureIntroProps';
|
|
2
|
+
export declare const useFeatureIntroStyles: (props: FeatureIntroProps) => import("@material-ui/styles").ClassNameMap<string>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { FeatureIntro as default } from './FeatureIntro';
|
|
2
|
-
export { FeatureIntroProps } from './FeatureIntroProps';
|
|
1
|
+
export { FeatureIntro as default } from './FeatureIntro';
|
|
2
|
+
export { FeatureIntroProps } from './FeatureIntroProps';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { FullScreenStepperProps } from './FullScreenStepperProps';
|
|
3
|
-
/**
|
|
4
|
-
* TODO
|
|
5
|
-
* - i18n?
|
|
6
|
-
* - loading?
|
|
7
|
-
*/
|
|
8
|
-
export declare const FullScreenStepper: FC<FullScreenStepperProps>;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FullScreenStepperProps } from './FullScreenStepperProps';
|
|
3
|
+
/**
|
|
4
|
+
* TODO
|
|
5
|
+
* - i18n?
|
|
6
|
+
* - loading?
|
|
7
|
+
*/
|
|
8
|
+
export declare const FullScreenStepper: FC<FullScreenStepperProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FullScreenStepperTypes } from './types';
|
|
3
|
-
export interface FullScreenStepperContextValue extends FullScreenStepperTypes.EventCallbackArgs {
|
|
4
|
-
[key: string]: unknown;
|
|
5
|
-
}
|
|
6
|
-
export declare const FullScreenStepperContext: import("react").Context<FullScreenStepperContextValue>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FullScreenStepperTypes } from './types';
|
|
3
|
+
export interface FullScreenStepperContextValue extends FullScreenStepperTypes.EventCallbackArgs {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export declare const FullScreenStepperContext: import("react").Context<FullScreenStepperContextValue>;
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DialogProps } from '@material-ui/core
|
|
3
|
-
import { ButtonProps } from '../Button';
|
|
4
|
-
import { FullScreenStepperTypes } from './types';
|
|
5
|
-
export declare namespace FullScreenStepperSubProps {
|
|
6
|
-
interface ActionBar {
|
|
7
|
-
/** Custom actions for a given step. Will appear as additional Button components. */
|
|
8
|
-
actions?: Array<{
|
|
9
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, callbackArgs: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
10
|
-
props: ButtonProps;
|
|
11
|
-
text: string;
|
|
12
|
-
}>;
|
|
13
|
-
/** Override for "Cancel" button. */
|
|
14
|
-
cancelButtonProps?: ButtonProps;
|
|
15
|
-
/** Custom text for "Cancel" button. */
|
|
16
|
-
cancelButtonText?: string;
|
|
17
|
-
/** Custom text for "Finish" button. */
|
|
18
|
-
finishButtonText?: string;
|
|
19
|
-
/** Override for "Next" button. */
|
|
20
|
-
nextButtonProps?: ButtonProps;
|
|
21
|
-
/** Custom text for "Next" button. */
|
|
22
|
-
nextButtonText?: string;
|
|
23
|
-
/** Override for "Previous" button. */
|
|
24
|
-
previousButtonProps?: ButtonProps;
|
|
25
|
-
/** Custom text for "Previous" button. */
|
|
26
|
-
previousButtonText?: string;
|
|
27
|
-
/** Text for the optional "Status Text" region. */
|
|
28
|
-
statusText?: string;
|
|
29
|
-
}
|
|
30
|
-
interface Step {
|
|
31
|
-
/** Group of props for modifying the ActionBar region of FullScreenStepper. */
|
|
32
|
-
actionBar?: ActionBar;
|
|
33
|
-
/** When false; disables the ActionBar of a step */
|
|
34
|
-
displayActionBar?: boolean;
|
|
35
|
-
/** The name of a given step. Used to match with a provided content component. */
|
|
36
|
-
name: string;
|
|
37
|
-
/** Text displayed as the title of a step. */
|
|
38
|
-
title: string;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export interface FullScreenStepperProps extends DialogProps {
|
|
42
|
-
/** Configurations for each step. Modifies elements outside the FullScreenStepper content area. */
|
|
43
|
-
steps: Array<FullScreenStepperSubProps.Step>;
|
|
44
|
-
/** Will be used to initialize a React context which can be accessed with the useFullScreenStepperHook. */
|
|
45
|
-
context?: Record<string, unknown>;
|
|
46
|
-
/** Specifies which step the dialog will initialize at. */
|
|
47
|
-
defaultStepCursor?: number;
|
|
48
|
-
/** When false; disables the ActionBar across all the FullScreenStepper */
|
|
49
|
-
displayActionBar?: boolean;
|
|
50
|
-
/** Controls whether or not the "Cancel" button is displayed. */
|
|
51
|
-
displayCancelButton?: boolean;
|
|
52
|
-
/** Controls whether or not the "Previous" button is displayed. */
|
|
53
|
-
displayPreviousButton?: boolean;
|
|
54
|
-
/** When true; the stepper will update it's internal state to render the first step after a user cancels the stepper. */
|
|
55
|
-
resetStepCursorOnCancel?: boolean;
|
|
56
|
-
/** When true; the stepper will update it's internal state to render the first step after a user closes the stepper. */
|
|
57
|
-
resetStepCursorOnClose?: boolean;
|
|
58
|
-
/** Callback triggered when the "Cancel" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
59
|
-
onCancel?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
60
|
-
/** Callback triggered when the close icon button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
61
|
-
onClose?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
62
|
-
/** Callback triggered when the "Finish" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
63
|
-
onFinish?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
64
|
-
/** Callback triggered when the "Next" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
65
|
-
onNext?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
66
|
-
/** Callback triggered when the "Previous" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
67
|
-
onPrevious?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
68
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DialogProps } from '@material-ui/core';
|
|
3
|
+
import { ButtonProps } from '../Button';
|
|
4
|
+
import { FullScreenStepperTypes } from './types';
|
|
5
|
+
export declare namespace FullScreenStepperSubProps {
|
|
6
|
+
interface ActionBar {
|
|
7
|
+
/** Custom actions for a given step. Will appear as additional Button components. */
|
|
8
|
+
actions?: Array<{
|
|
9
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, callbackArgs: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
10
|
+
props: ButtonProps;
|
|
11
|
+
text: string;
|
|
12
|
+
}>;
|
|
13
|
+
/** Override for "Cancel" button. */
|
|
14
|
+
cancelButtonProps?: ButtonProps;
|
|
15
|
+
/** Custom text for "Cancel" button. */
|
|
16
|
+
cancelButtonText?: string;
|
|
17
|
+
/** Custom text for "Finish" button. */
|
|
18
|
+
finishButtonText?: string;
|
|
19
|
+
/** Override for "Next" button. */
|
|
20
|
+
nextButtonProps?: ButtonProps;
|
|
21
|
+
/** Custom text for "Next" button. */
|
|
22
|
+
nextButtonText?: string;
|
|
23
|
+
/** Override for "Previous" button. */
|
|
24
|
+
previousButtonProps?: ButtonProps;
|
|
25
|
+
/** Custom text for "Previous" button. */
|
|
26
|
+
previousButtonText?: string;
|
|
27
|
+
/** Text for the optional "Status Text" region. */
|
|
28
|
+
statusText?: string;
|
|
29
|
+
}
|
|
30
|
+
interface Step {
|
|
31
|
+
/** Group of props for modifying the ActionBar region of FullScreenStepper. */
|
|
32
|
+
actionBar?: ActionBar;
|
|
33
|
+
/** When false; disables the ActionBar of a step */
|
|
34
|
+
displayActionBar?: boolean;
|
|
35
|
+
/** The name of a given step. Used to match with a provided content component. */
|
|
36
|
+
name: string;
|
|
37
|
+
/** Text displayed as the title of a step. */
|
|
38
|
+
title: string;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export interface FullScreenStepperProps extends DialogProps {
|
|
42
|
+
/** Configurations for each step. Modifies elements outside the FullScreenStepper content area. */
|
|
43
|
+
steps: Array<FullScreenStepperSubProps.Step>;
|
|
44
|
+
/** Will be used to initialize a React context which can be accessed with the useFullScreenStepperHook. */
|
|
45
|
+
context?: Record<string, unknown>;
|
|
46
|
+
/** Specifies which step the dialog will initialize at. */
|
|
47
|
+
defaultStepCursor?: number;
|
|
48
|
+
/** When false; disables the ActionBar across all the FullScreenStepper */
|
|
49
|
+
displayActionBar?: boolean;
|
|
50
|
+
/** Controls whether or not the "Cancel" button is displayed. */
|
|
51
|
+
displayCancelButton?: boolean;
|
|
52
|
+
/** Controls whether or not the "Previous" button is displayed. */
|
|
53
|
+
displayPreviousButton?: boolean;
|
|
54
|
+
/** When true; the stepper will update it's internal state to render the first step after a user cancels the stepper. */
|
|
55
|
+
resetStepCursorOnCancel?: boolean;
|
|
56
|
+
/** When true; the stepper will update it's internal state to render the first step after a user closes the stepper. */
|
|
57
|
+
resetStepCursorOnClose?: boolean;
|
|
58
|
+
/** Callback triggered when the "Cancel" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
59
|
+
onCancel?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
60
|
+
/** Callback triggered when the close icon button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
61
|
+
onClose?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
62
|
+
/** Callback triggered when the "Finish" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
63
|
+
onFinish?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
64
|
+
/** Callback triggered when the "Next" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
65
|
+
onNext?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
66
|
+
/** Callback triggered when the "Previous" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
67
|
+
onPrevious?: (args: FullScreenStepperTypes.EventCallbackArgs) => void;
|
|
68
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { FullScreenStepper as default } from './FullScreenStepper';
|
|
2
|
-
export { FullScreenStepperContext, FullScreenStepperContextValue } from './FullScreenStepperContext';
|
|
3
|
-
export { FullScreenStepperProps } from './FullScreenStepperProps';
|
|
1
|
+
export { FullScreenStepper as default } from './FullScreenStepper';
|
|
2
|
+
export { FullScreenStepperContext, FullScreenStepperContextValue } from './FullScreenStepperContext';
|
|
3
|
+
export { FullScreenStepperProps } from './FullScreenStepperProps';
|