@popmenu/admin-ui 0.126.1 → 0.126.3
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/cjs/components/Alert/AlertProps.d.ts +14 -0
- package/build/cjs/components/Alert/AlertStyles.d.ts +2 -0
- package/build/cjs/components/Alert/index.d.ts +2 -0
- package/build/cjs/components/AlertDialog/AlertDialog.d.ts +3 -0
- package/build/cjs/components/AlertDialog/AlertDialogProps.d.ts +26 -0
- package/build/cjs/components/AlertDialog/AlertDialogStyles.d.ts +2 -0
- package/build/cjs/components/AlertDialog/index.d.ts +2 -0
- package/build/cjs/components/AlertDialogHeader/AlertDialogHeader.d.ts +3 -0
- package/build/cjs/components/AlertDialogHeader/index.d.ts +1 -0
- package/build/cjs/components/AlertTitle/AlertTitle.d.ts +3 -0
- package/build/cjs/components/AlertTitle/index.d.ts +2 -0
- package/build/cjs/components/Button/Button.d.ts +11 -0
- package/build/cjs/components/Button/ButtonProps.d.ts +8 -0
- package/build/cjs/components/Button/ButtonStyles.d.ts +7 -0
- package/build/cjs/components/Button/index.d.ts +2 -0
- package/build/cjs/components/Button/util/deriveButtonProps.d.ts +5 -0
- package/build/cjs/components/ButtonGroup/ButtonGroup.d.ts +3 -0
- package/build/cjs/components/ButtonGroup/ButtonGroupProps.d.ts +8 -0
- package/build/cjs/components/ButtonGroup/ButtonGroupStyles.d.ts +2 -0
- package/build/cjs/components/ButtonGroup/index.d.ts +2 -0
- package/build/cjs/components/Dialog/index.d.ts +1 -0
- package/build/cjs/components/DialogActions/DialogActions.d.ts +3 -0
- package/build/cjs/components/DialogActions/index.d.ts +2 -0
- package/build/cjs/components/DialogContent/index.d.ts +1 -0
- package/build/cjs/components/DialogTitle/index.d.ts +1 -0
- package/build/cjs/components/FeatureIntro/FeatureIntro.d.ts +3 -0
- package/build/cjs/components/FeatureIntro/FeatureIntroProps.d.ts +22 -0
- package/build/cjs/components/FeatureIntro/FeatureIntroStyles.d.ts +2 -0
- package/build/cjs/components/FeatureIntro/index.d.ts +2 -0
- package/build/cjs/components/FullScreenStepper/FullScreenStepper.d.ts +8 -0
- package/build/cjs/components/FullScreenStepper/FullScreenStepperContext.d.ts +6 -0
- package/build/cjs/components/FullScreenStepper/FullScreenStepperProps.d.ts +88 -0
- package/build/cjs/components/FullScreenStepper/index.d.ts +3 -0
- package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActions.d.ts +3 -0
- package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +21 -0
- package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActionsStyles.d.ts +2 -0
- package/build/cjs/components/FullScreenStepperActions/index.d.ts +2 -0
- package/build/cjs/components/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +11 -0
- package/build/cjs/components/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +12 -0
- package/build/cjs/components/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +11 -0
- package/build/cjs/components/FullScreenStepperActions/util/StepperActionsStatusText.d.ts +4 -0
- package/build/cjs/components/FullScreenStepperActions/util/augmentButtonProps.d.ts +5 -0
- package/build/cjs/components/FullScreenStepperContent/FullScreenStepperContent.d.ts +5 -0
- package/build/cjs/components/FullScreenStepperContent/index.d.ts +1 -0
- package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeader.d.ts +3 -0
- package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +7 -0
- package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.d.ts +2 -0
- package/build/cjs/components/FullScreenStepperHeader/index.d.ts +1 -0
- package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgress.d.ts +3 -0
- package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +5 -0
- package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.d.ts +2 -0
- package/build/cjs/components/FullScreenStepperProgress/index.d.ts +1 -0
- package/build/cjs/components/List/List.d.ts +3 -0
- package/build/cjs/components/List/ListProps.d.ts +4 -0
- package/build/cjs/components/List/index.d.ts +2 -0
- package/build/cjs/components/List/styles.d.ts +2 -0
- package/build/cjs/components/Page/Page.d.ts +2 -0
- package/build/cjs/components/Page/index.d.ts +1 -0
- package/build/cjs/components/PageBody/PageBody.d.ts +2 -0
- package/build/cjs/components/PageBody/index.d.ts +1 -0
- package/build/cjs/components/PageSection/PageSection.d.ts +3 -0
- package/build/cjs/components/PageSection/PageSectionProps.d.ts +5 -0
- package/build/cjs/components/PageSection/PageSectionStyles.d.ts +2 -0
- package/build/cjs/components/PageSection/index.d.ts +1 -0
- package/build/cjs/components/PageSectionHead/PageSectionHead.d.ts +2 -0
- package/build/cjs/components/PageSectionHead/index.d.ts +1 -0
- package/build/cjs/components/PageSectionTitle/PageSectionTitle.d.ts +3 -0
- package/build/cjs/components/PageSectionTitle/index.d.ts +1 -0
- package/build/cjs/components/PageSectionTitle/styles.d.ts +1 -0
- package/build/cjs/components/PageSections/PageSections.d.ts +2 -0
- package/build/cjs/components/PageSections/index.d.ts +1 -0
- package/build/cjs/components/SelectableCard/SelectableCard.d.ts +3 -0
- package/build/cjs/components/SelectableCard/SelectableCardProps.d.ts +17 -0
- package/build/cjs/components/SelectableCard/SelectableCardStyles.d.ts +2 -0
- package/build/cjs/components/SelectableCard/index.d.ts +2 -0
- package/build/cjs/components/SettingsIndexCard/SettingsIndexCard.d.ts +11 -0
- package/build/cjs/components/SettingsIndexCard/SettingsIndexCardProps.d.ts +20 -0
- package/build/cjs/components/SettingsIndexCard/SettingsIndexCardStyles.d.ts +2 -0
- package/build/cjs/components/SettingsIndexCard/index.d.ts +2 -0
- package/build/cjs/components/SettingsIndexCardGroup/SettingsIndexCardGroup.d.ts +3 -0
- package/build/cjs/components/SettingsIndexCardGroup/index.d.ts +1 -0
- package/build/cjs/components/StandardListItem/StandardListItem.d.ts +9 -0
- package/build/cjs/components/StandardListItem/StandardListItemProps.d.ts +25 -0
- package/build/cjs/components/StandardListItem/index.d.ts +2 -0
- package/build/cjs/components/Toast/Toast.d.ts +3 -0
- package/build/cjs/components/Toast/ToastProps.d.ts +10 -0
- package/build/cjs/components/Toast/ToastStyles.d.ts +2 -0
- package/build/cjs/components/Toast/index.d.ts +2 -0
- package/build/cjs/components/index.d.ts +27 -0
- package/build/cjs/hooks/index.d.ts +3 -0
- package/build/cjs/hooks/useDialog.d.ts +12 -0
- package/build/cjs/hooks/useFullScreenStepperContext.d.ts +2 -0
- package/build/cjs/hooks/useSelectableCard.d.ts +24 -0
- package/build/cjs/index.d.ts +3 -0
- package/build/{index.js → cjs/index.js} +260 -265
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/theme/adminDarkTheme.d.ts +252 -0
- package/build/cjs/theme/adminLightTheme.d.ts +253 -0
- package/build/cjs/theme/breakpoints.d.ts +9 -0
- package/build/cjs/theme/customThemeProperties.d.ts +63 -0
- package/build/cjs/theme/index.d.ts +2 -0
- package/build/cjs/theme/overrides.d.ts +30 -0
- package/build/cjs/theme/palette.d.ts +128 -0
- package/build/cjs/theme/props.d.ts +8 -0
- package/build/cjs/theme/typography.d.ts +61 -0
- package/build/esm/components/Alert/AlertStyles.js +1 -1
- package/build/esm/components/Alert/AlertStyles.js.map +1 -1
- package/build/esm/components/AlertDialog/AlertDialogStyles.js +1 -1
- package/build/esm/components/AlertDialog/AlertDialogStyles.js.map +1 -1
- package/build/esm/components/AlertTitle/AlertTitle.d.ts +1 -1
- package/build/esm/components/AlertTitle/AlertTitle.js +2 -2
- package/build/esm/components/AlertTitle/AlertTitle.js.map +1 -1
- package/build/esm/components/AlertTitle/index.d.ts +1 -1
- package/build/esm/components/ButtonGroup/ButtonGroup.js +1 -1
- package/build/esm/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/build/esm/components/ButtonGroup/ButtonGroupStyles.js +1 -1
- package/build/esm/components/ButtonGroup/ButtonGroupStyles.js.map +1 -1
- package/build/esm/components/FeatureIntro/FeatureIntroStyles.js +1 -1
- package/build/esm/components/FeatureIntro/FeatureIntroStyles.js.map +1 -1
- package/build/esm/components/FullScreenStepper/FullScreenStepper.js +1 -2
- package/build/esm/components/FullScreenStepper/FullScreenStepper.js.map +1 -1
- package/build/esm/components/FullScreenStepper/FullScreenStepperContext.d.ts +2 -2
- package/build/esm/components/FullScreenStepper/FullScreenStepperContext.js.map +1 -1
- package/build/esm/components/FullScreenStepper/FullScreenStepperProps.d.ts +66 -46
- package/build/esm/components/FullScreenStepper/index.d.ts +2 -2
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +6 -7
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js +1 -1
- package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js.map +1 -1
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +3 -3
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.js.map +1 -1
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +4 -4
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.js.map +1 -1
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +3 -3
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.js.map +1 -1
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js +1 -1
- package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js.map +1 -1
- package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.d.ts +2 -2
- package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.js.map +1 -1
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +4 -5
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js +1 -1
- package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js.map +1 -1
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +3 -3
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js +1 -1
- package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js.map +1 -1
- package/build/esm/components/SelectableCard/SelectableCardProps.d.ts +1 -2
- package/build/esm/components/SelectableCard/SelectableCardStyles.js +1 -1
- package/build/esm/components/SelectableCard/SelectableCardStyles.js.map +1 -1
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js +1 -1
- package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js.map +1 -1
- package/build/esm/components/Toast/Toast.js +2 -2
- package/build/esm/components/Toast/Toast.js.map +1 -1
- package/build/esm/components/Toast/ToastProps.d.ts +2 -2
- package/build/esm/components/Toast/ToastStyles.js +1 -1
- package/build/esm/components/Toast/ToastStyles.js.map +1 -1
- package/build/esm/components/index.d.ts +11 -11
- package/build/esm/index.js +7 -7
- package/build/esm/theme/adminDarkTheme.d.ts +4 -4
- package/build/esm/theme/adminDarkTheme.js +3 -3
- package/build/esm/theme/adminDarkTheme.js.map +1 -1
- package/build/esm/theme/adminLightTheme.d.ts +2 -2
- package/build/esm/theme/adminLightTheme.js +3 -3
- package/build/esm/theme/adminLightTheme.js.map +1 -1
- package/package.json +3 -3
- package/build/esm/components/FullScreenStepper/types/index.d.ts +0 -25
- 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>>;
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -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>>;
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AlertDialogHeader as default } from './AlertDialogHeader';
|
|
@@ -0,0 +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 {};
|
|
@@ -0,0 +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
|
+
};
|
|
@@ -0,0 +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<"button">) => import("@material-ui/styles").ClassNameMap<string>;
|
|
@@ -0,0 +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 {};
|
|
@@ -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>>;
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Dialog, DialogProps } from '@popmenu/common-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogContent, DialogContentProps } from '@popmenu/common-ui';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DialogTitle, DialogTitleProps } from '@popmenu/common-ui';
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionBarActionCallbackArgs } from './FullScreenStepperProps';
|
|
3
|
+
export interface FullScreenStepperContextValue extends ActionBarActionCallbackArgs {
|
|
4
|
+
[key: string]: unknown;
|
|
5
|
+
}
|
|
6
|
+
export declare const FullScreenStepperContext: import("react").Context<FullScreenStepperContextValue>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DialogProps } from '@material-ui/core';
|
|
3
|
+
import { ButtonProps } from '../Button';
|
|
4
|
+
/** The current active step. Counts up from 1. */
|
|
5
|
+
export declare type StepCursor = number;
|
|
6
|
+
/** An updater function the state controlling which step is active. */
|
|
7
|
+
export declare type SetStepCursor = (step: number) => void;
|
|
8
|
+
/** The total number of steps. */
|
|
9
|
+
export declare type StepCount = number;
|
|
10
|
+
/** The index of the current step in the steps array. */
|
|
11
|
+
export declare type StepIndex = number;
|
|
12
|
+
/** Indicates that the FullScreenStepper is showing the last step in the steps array. */
|
|
13
|
+
export declare type IsFinalStep = boolean;
|
|
14
|
+
export declare type ActionBarActionCallbackArgs = {
|
|
15
|
+
/** The current step object. */
|
|
16
|
+
step: StepperStep;
|
|
17
|
+
/** The total number of steps. */
|
|
18
|
+
stepCount: number;
|
|
19
|
+
/** The index of the current step in the steps array. */
|
|
20
|
+
stepIndex: number;
|
|
21
|
+
/** An updater function the state controlling which step is active. */
|
|
22
|
+
setStepCursor: (cursor: number) => void;
|
|
23
|
+
/** The steps prop that is passed into the FullScreenStepper */
|
|
24
|
+
steps: Array<StepperStep>;
|
|
25
|
+
};
|
|
26
|
+
export declare type ActionBarAction = {
|
|
27
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>, callbackArgs: ActionBarActionCallbackArgs) => void;
|
|
28
|
+
props: ButtonProps;
|
|
29
|
+
text: string;
|
|
30
|
+
};
|
|
31
|
+
export declare type StepperActionBar = {
|
|
32
|
+
/** Custom actions for a given step. Will appear as additional Button components. */
|
|
33
|
+
actions?: Array<ActionBarAction>;
|
|
34
|
+
/** Override for "Cancel" button. */
|
|
35
|
+
cancelButtonProps?: ButtonProps;
|
|
36
|
+
/** Custom text for "Cancel" button. */
|
|
37
|
+
cancelButtonText?: string;
|
|
38
|
+
/** Custom text for "Finish" button. */
|
|
39
|
+
finishButtonText?: string;
|
|
40
|
+
/** Override for "Next" button. */
|
|
41
|
+
nextButtonProps?: ButtonProps;
|
|
42
|
+
/** Custom text for "Next" button. */
|
|
43
|
+
nextButtonText?: string;
|
|
44
|
+
/** Override for "Previous" button. */
|
|
45
|
+
previousButtonProps?: ButtonProps;
|
|
46
|
+
/** Custom text for "Previous" button. */
|
|
47
|
+
previousButtonText?: string;
|
|
48
|
+
/** Text for the optional "Status Text" region. */
|
|
49
|
+
statusText?: string;
|
|
50
|
+
};
|
|
51
|
+
export declare type StepperStep = {
|
|
52
|
+
/** Group of props for modifying the ActionBar region of FullScreenStepper. */
|
|
53
|
+
actionBar?: StepperActionBar;
|
|
54
|
+
/** When false; disables the ActionBar of a step */
|
|
55
|
+
displayActionBar?: boolean;
|
|
56
|
+
/** The name of a given step. Used to match with a provided content component. */
|
|
57
|
+
name: string;
|
|
58
|
+
/** Text displayed as the title of a step. */
|
|
59
|
+
title: string;
|
|
60
|
+
};
|
|
61
|
+
export declare type FullScreenStepperProps = DialogProps & {
|
|
62
|
+
/** Configurations for each step. Modifies elements outside the FullScreenStepper content area. */
|
|
63
|
+
steps: Array<StepperStep>;
|
|
64
|
+
/** Will be used to initialize a React context which can be accessed with the useFullScreenStepperHook. */
|
|
65
|
+
context?: Record<string, unknown>;
|
|
66
|
+
/** Specifies which step the dialog will initialize at. */
|
|
67
|
+
defaultStepCursor?: number;
|
|
68
|
+
/** When false; disables the ActionBar across all the FullScreenStepper */
|
|
69
|
+
displayActionBar?: boolean;
|
|
70
|
+
/** Controls whether or not the "Cancel" button is displayed. */
|
|
71
|
+
displayCancelButton?: boolean;
|
|
72
|
+
/** Controls whether or not the "Previous" button is displayed. */
|
|
73
|
+
displayPreviousButton?: boolean;
|
|
74
|
+
/** When true; the stepper will update it's internal state to render the first step after a user cancels the stepper. */
|
|
75
|
+
resetStepCursorOnCancel?: boolean;
|
|
76
|
+
/** When true; the stepper will update it's internal state to render the first step after a user closes the stepper. */
|
|
77
|
+
resetStepCursorOnClose?: boolean;
|
|
78
|
+
/** Callback triggered when the "Cancel" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
79
|
+
onCancel?: (args: ActionBarActionCallbackArgs) => void;
|
|
80
|
+
/** Callback triggered when the close icon button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
81
|
+
onClose?: (args: ActionBarActionCallbackArgs) => void;
|
|
82
|
+
/** Callback triggered when the "Finish" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
83
|
+
onFinish?: (args: ActionBarActionCallbackArgs) => void;
|
|
84
|
+
/** Callback triggered when the "Next" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
85
|
+
onNext?: (args: ActionBarActionCallbackArgs) => void;
|
|
86
|
+
/** Callback triggered when the "Previous" button is clicked. Called with `step`, `steps`, and `stepIndex`. */
|
|
87
|
+
onPrevious?: (args: ActionBarActionCallbackArgs) => void;
|
|
88
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ActionBarActionCallbackArgs, SetStepCursor, StepCount, StepCursor, StepperActionBar } from '../FullScreenStepper/FullScreenStepperProps';
|
|
2
|
+
export interface FullScreenStepperActionsProps extends Partial<StepperActionBar> {
|
|
3
|
+
/** The callback args for custom actions */
|
|
4
|
+
callbackArgs: ActionBarActionCallbackArgs;
|
|
5
|
+
/** When false; hides the "Cancel" button */
|
|
6
|
+
displayCancelButton: boolean;
|
|
7
|
+
/** When false; hides the "Previous" button */
|
|
8
|
+
displayPreviousButton: boolean;
|
|
9
|
+
/** The total number of steps */
|
|
10
|
+
stepCount: StepCount;
|
|
11
|
+
/** The current value of step cursor */
|
|
12
|
+
stepCursor: StepCursor;
|
|
13
|
+
/** The setter for value of step cursor */
|
|
14
|
+
setStepCursor: SetStepCursor;
|
|
15
|
+
/** Callback triggered when the "Cancel" button is clicked. */
|
|
16
|
+
handleCancelClick?: () => Promise<void>;
|
|
17
|
+
/** Callback triggered when the "Next" button is clicked. */
|
|
18
|
+
handleNextClick: () => Promise<void>;
|
|
19
|
+
/** Callback triggered when the "Previous" button is clicked. */
|
|
20
|
+
handlePreviousClick: () => Promise<void>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../Button';
|
|
3
|
+
import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
|
|
4
|
+
export declare const StepperActionsCancelButton: FC<{
|
|
5
|
+
setStepCursor: SetStepCursor;
|
|
6
|
+
stepCursor: StepCursor;
|
|
7
|
+
cancelButtonText?: string;
|
|
8
|
+
cancelButtonProps?: ButtonProps;
|
|
9
|
+
handleCancelClick?: () => Promise<void>;
|
|
10
|
+
displayCancelButton: boolean;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../Button';
|
|
3
|
+
import { SetStepCursor, StepCount, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
|
|
4
|
+
export declare const StepperActionsNextButton: FC<{
|
|
5
|
+
handleNextClick: () => Promise<void>;
|
|
6
|
+
nextButtonProps?: ButtonProps;
|
|
7
|
+
setStepCursor: SetStepCursor;
|
|
8
|
+
stepCursor: StepCursor;
|
|
9
|
+
stepCount: StepCount;
|
|
10
|
+
finishButtonText?: string;
|
|
11
|
+
nextButtonText?: string;
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonProps } from '../../Button';
|
|
3
|
+
import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
|
|
4
|
+
export declare const StepperActionsPreviousButton: FC<{
|
|
5
|
+
previousButtonText?: string;
|
|
6
|
+
stepCursor: StepCursor;
|
|
7
|
+
handlePreviousClick: () => Promise<void>;
|
|
8
|
+
previousButtonProps?: ButtonProps;
|
|
9
|
+
setStepCursor: SetStepCursor;
|
|
10
|
+
displayPreviousButton: boolean;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ButtonProps } from '../../Button';
|
|
2
|
+
import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
|
|
3
|
+
export declare const augmentButtonProps: (internalProps: {
|
|
4
|
+
onClick?: () => Promise<void>;
|
|
5
|
+
}, externalProps: ButtonProps<"button"> | undefined, setStepCursor: SetStepCursor, stepCursor: StepCursor, incrementor: number) => ButtonProps;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FullScreenStepperContent as default } from './FullScreenStepperContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FullScreenStepperHeader as default } from './FullScreenStepperHeader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FullScreenStepperProgress as default } from './FullScreenStepperProgress';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Page } from './Page';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageBody } from './PageBody';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageSection } from './PageSection';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageSectionHead } from './PageSectionHead';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageSectionTitle } from './PageSectionTitle';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"gutterBottom">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PageSections } from './PageSections';
|