@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.
Files changed (166) hide show
  1. package/build/cjs/components/Alert/Alert.d.ts +3 -0
  2. package/build/cjs/components/Alert/AlertProps.d.ts +14 -0
  3. package/build/cjs/components/Alert/AlertStyles.d.ts +2 -0
  4. package/build/cjs/components/Alert/index.d.ts +2 -0
  5. package/build/cjs/components/AlertDialog/AlertDialog.d.ts +3 -0
  6. package/build/cjs/components/AlertDialog/AlertDialogProps.d.ts +26 -0
  7. package/build/cjs/components/AlertDialog/AlertDialogStyles.d.ts +2 -0
  8. package/build/cjs/components/AlertDialog/index.d.ts +2 -0
  9. package/build/cjs/components/AlertDialogHeader/AlertDialogHeader.d.ts +3 -0
  10. package/build/cjs/components/AlertDialogHeader/index.d.ts +1 -0
  11. package/build/cjs/components/AlertTitle/AlertTitle.d.ts +3 -0
  12. package/build/cjs/components/AlertTitle/index.d.ts +2 -0
  13. package/build/cjs/components/Button/Button.d.ts +11 -0
  14. package/build/cjs/components/Button/ButtonProps.d.ts +8 -0
  15. package/build/cjs/components/Button/ButtonStyles.d.ts +7 -0
  16. package/build/cjs/components/Button/index.d.ts +2 -0
  17. package/build/cjs/components/Button/util/deriveButtonProps.d.ts +5 -0
  18. package/build/cjs/components/ButtonGroup/ButtonGroup.d.ts +3 -0
  19. package/build/cjs/components/ButtonGroup/ButtonGroupProps.d.ts +8 -0
  20. package/build/cjs/components/ButtonGroup/ButtonGroupStyles.d.ts +2 -0
  21. package/build/cjs/components/ButtonGroup/index.d.ts +2 -0
  22. package/build/cjs/components/Dialog/index.d.ts +1 -0
  23. package/build/cjs/components/DialogActions/DialogActions.d.ts +3 -0
  24. package/build/cjs/components/DialogActions/index.d.ts +2 -0
  25. package/build/cjs/components/DialogContent/index.d.ts +1 -0
  26. package/build/cjs/components/DialogTitle/index.d.ts +1 -0
  27. package/build/cjs/components/FeatureIntro/FeatureIntro.d.ts +3 -0
  28. package/build/cjs/components/FeatureIntro/FeatureIntroProps.d.ts +22 -0
  29. package/build/cjs/components/FeatureIntro/FeatureIntroStyles.d.ts +2 -0
  30. package/build/cjs/components/FeatureIntro/index.d.ts +2 -0
  31. package/build/cjs/components/FullScreenStepper/FullScreenStepper.d.ts +8 -0
  32. package/build/cjs/components/FullScreenStepper/FullScreenStepperContext.d.ts +6 -0
  33. package/build/cjs/components/FullScreenStepper/FullScreenStepperProps.d.ts +88 -0
  34. package/build/cjs/components/FullScreenStepper/index.d.ts +3 -0
  35. package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActions.d.ts +3 -0
  36. package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +21 -0
  37. package/build/cjs/components/FullScreenStepperActions/FullScreenStepperActionsStyles.d.ts +2 -0
  38. package/build/cjs/components/FullScreenStepperActions/index.d.ts +2 -0
  39. package/build/cjs/components/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +11 -0
  40. package/build/cjs/components/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +12 -0
  41. package/build/cjs/components/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +11 -0
  42. package/build/cjs/components/FullScreenStepperActions/util/StepperActionsStatusText.d.ts +4 -0
  43. package/build/cjs/components/FullScreenStepperActions/util/augmentButtonProps.d.ts +5 -0
  44. package/build/cjs/components/FullScreenStepperContent/FullScreenStepperContent.d.ts +5 -0
  45. package/build/cjs/components/FullScreenStepperContent/index.d.ts +1 -0
  46. package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeader.d.ts +3 -0
  47. package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +7 -0
  48. package/build/cjs/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.d.ts +2 -0
  49. package/build/cjs/components/FullScreenStepperHeader/index.d.ts +1 -0
  50. package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgress.d.ts +3 -0
  51. package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +5 -0
  52. package/build/cjs/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.d.ts +2 -0
  53. package/build/cjs/components/FullScreenStepperProgress/index.d.ts +1 -0
  54. package/build/cjs/components/List/List.d.ts +3 -0
  55. package/build/cjs/components/List/ListProps.d.ts +4 -0
  56. package/build/cjs/components/List/index.d.ts +2 -0
  57. package/build/cjs/components/List/styles.d.ts +2 -0
  58. package/build/cjs/components/Page/Page.d.ts +2 -0
  59. package/build/cjs/components/Page/index.d.ts +1 -0
  60. package/build/cjs/components/PageBody/PageBody.d.ts +2 -0
  61. package/build/cjs/components/PageBody/index.d.ts +1 -0
  62. package/build/cjs/components/PageSection/PageSection.d.ts +3 -0
  63. package/build/cjs/components/PageSection/PageSectionProps.d.ts +5 -0
  64. package/build/cjs/components/PageSection/PageSectionStyles.d.ts +2 -0
  65. package/build/cjs/components/PageSection/index.d.ts +1 -0
  66. package/build/cjs/components/PageSectionHead/PageSectionHead.d.ts +2 -0
  67. package/build/cjs/components/PageSectionHead/index.d.ts +1 -0
  68. package/build/cjs/components/PageSectionTitle/PageSectionTitle.d.ts +3 -0
  69. package/build/cjs/components/PageSectionTitle/index.d.ts +1 -0
  70. package/build/cjs/components/PageSectionTitle/styles.d.ts +1 -0
  71. package/build/cjs/components/PageSections/PageSections.d.ts +2 -0
  72. package/build/cjs/components/PageSections/index.d.ts +1 -0
  73. package/build/cjs/components/SelectableCard/SelectableCard.d.ts +3 -0
  74. package/build/cjs/components/SelectableCard/SelectableCardProps.d.ts +17 -0
  75. package/build/cjs/components/SelectableCard/SelectableCardStyles.d.ts +2 -0
  76. package/build/cjs/components/SelectableCard/index.d.ts +2 -0
  77. package/build/cjs/components/SettingsIndexCard/SettingsIndexCard.d.ts +11 -0
  78. package/build/cjs/components/SettingsIndexCard/SettingsIndexCardProps.d.ts +20 -0
  79. package/build/cjs/components/SettingsIndexCard/SettingsIndexCardStyles.d.ts +2 -0
  80. package/build/cjs/components/SettingsIndexCard/index.d.ts +2 -0
  81. package/build/cjs/components/SettingsIndexCardGroup/SettingsIndexCardGroup.d.ts +3 -0
  82. package/build/cjs/components/SettingsIndexCardGroup/index.d.ts +1 -0
  83. package/build/cjs/components/StandardListItem/StandardListItem.d.ts +9 -0
  84. package/build/cjs/components/StandardListItem/StandardListItemProps.d.ts +25 -0
  85. package/build/cjs/components/StandardListItem/index.d.ts +2 -0
  86. package/build/cjs/components/Toast/Toast.d.ts +3 -0
  87. package/build/cjs/components/Toast/ToastProps.d.ts +10 -0
  88. package/build/cjs/components/Toast/ToastStyles.d.ts +2 -0
  89. package/build/cjs/components/Toast/index.d.ts +2 -0
  90. package/build/cjs/components/index.d.ts +27 -0
  91. package/build/cjs/hooks/index.d.ts +3 -0
  92. package/build/cjs/hooks/useDialog.d.ts +12 -0
  93. package/build/cjs/hooks/useFullScreenStepperContext.d.ts +2 -0
  94. package/build/cjs/hooks/useSelectableCard.d.ts +24 -0
  95. package/build/cjs/index.d.ts +3 -0
  96. package/build/{index.js → cjs/index.js} +260 -265
  97. package/build/cjs/index.js.map +1 -0
  98. package/build/cjs/theme/adminDarkTheme.d.ts +252 -0
  99. package/build/cjs/theme/adminLightTheme.d.ts +253 -0
  100. package/build/cjs/theme/breakpoints.d.ts +9 -0
  101. package/build/cjs/theme/customThemeProperties.d.ts +63 -0
  102. package/build/cjs/theme/index.d.ts +2 -0
  103. package/build/cjs/theme/overrides.d.ts +30 -0
  104. package/build/cjs/theme/palette.d.ts +128 -0
  105. package/build/cjs/theme/props.d.ts +8 -0
  106. package/build/cjs/theme/typography.d.ts +61 -0
  107. package/build/esm/components/Alert/AlertStyles.js +1 -1
  108. package/build/esm/components/Alert/AlertStyles.js.map +1 -1
  109. package/build/esm/components/AlertDialog/AlertDialogStyles.js +1 -1
  110. package/build/esm/components/AlertDialog/AlertDialogStyles.js.map +1 -1
  111. package/build/esm/components/AlertTitle/AlertTitle.d.ts +1 -1
  112. package/build/esm/components/AlertTitle/AlertTitle.js +2 -2
  113. package/build/esm/components/AlertTitle/AlertTitle.js.map +1 -1
  114. package/build/esm/components/AlertTitle/index.d.ts +1 -1
  115. package/build/esm/components/ButtonGroup/ButtonGroup.js +1 -1
  116. package/build/esm/components/ButtonGroup/ButtonGroup.js.map +1 -1
  117. package/build/esm/components/ButtonGroup/ButtonGroupStyles.js +1 -1
  118. package/build/esm/components/ButtonGroup/ButtonGroupStyles.js.map +1 -1
  119. package/build/esm/components/FeatureIntro/FeatureIntroStyles.js +1 -1
  120. package/build/esm/components/FeatureIntro/FeatureIntroStyles.js.map +1 -1
  121. package/build/esm/components/FullScreenStepper/FullScreenStepper.js +1 -2
  122. package/build/esm/components/FullScreenStepper/FullScreenStepper.js.map +1 -1
  123. package/build/esm/components/FullScreenStepper/FullScreenStepperContext.d.ts +2 -2
  124. package/build/esm/components/FullScreenStepper/FullScreenStepperContext.js.map +1 -1
  125. package/build/esm/components/FullScreenStepper/FullScreenStepperProps.d.ts +66 -46
  126. package/build/esm/components/FullScreenStepper/index.d.ts +2 -2
  127. package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsProps.d.ts +6 -7
  128. package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js +1 -1
  129. package/build/esm/components/FullScreenStepperActions/FullScreenStepperActionsStyles.js.map +1 -1
  130. package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.d.ts +3 -3
  131. package/build/esm/components/FullScreenStepperActions/util/StepperActionsCancelButton.js.map +1 -1
  132. package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.d.ts +4 -4
  133. package/build/esm/components/FullScreenStepperActions/util/StepperActionsNextButton.js.map +1 -1
  134. package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.d.ts +3 -3
  135. package/build/esm/components/FullScreenStepperActions/util/StepperActionsPreviousButton.js.map +1 -1
  136. package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js +1 -1
  137. package/build/esm/components/FullScreenStepperActions/util/StepperActionsStatusText.js.map +1 -1
  138. package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.d.ts +2 -2
  139. package/build/esm/components/FullScreenStepperActions/util/augmentButtonProps.js.map +1 -1
  140. package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderProps.d.ts +4 -5
  141. package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js +1 -1
  142. package/build/esm/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.js.map +1 -1
  143. package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressProps.d.ts +3 -3
  144. package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js +1 -1
  145. package/build/esm/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.js.map +1 -1
  146. package/build/esm/components/SelectableCard/SelectableCardProps.d.ts +1 -2
  147. package/build/esm/components/SelectableCard/SelectableCardStyles.js +1 -1
  148. package/build/esm/components/SelectableCard/SelectableCardStyles.js.map +1 -1
  149. package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js +1 -1
  150. package/build/esm/components/SettingsIndexCard/SettingsIndexCardStyles.js.map +1 -1
  151. package/build/esm/components/Toast/Toast.js +2 -2
  152. package/build/esm/components/Toast/Toast.js.map +1 -1
  153. package/build/esm/components/Toast/ToastProps.d.ts +2 -2
  154. package/build/esm/components/Toast/ToastStyles.js +1 -1
  155. package/build/esm/components/Toast/ToastStyles.js.map +1 -1
  156. package/build/esm/components/index.d.ts +11 -11
  157. package/build/esm/index.js +7 -7
  158. package/build/esm/theme/adminDarkTheme.d.ts +4 -4
  159. package/build/esm/theme/adminDarkTheme.js +3 -3
  160. package/build/esm/theme/adminDarkTheme.js.map +1 -1
  161. package/build/esm/theme/adminLightTheme.d.ts +2 -2
  162. package/build/esm/theme/adminLightTheme.js +3 -3
  163. package/build/esm/theme/adminLightTheme.js.map +1 -1
  164. package/package.json +3 -3
  165. package/build/esm/components/FullScreenStepper/types/index.d.ts +0 -25
  166. 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,2 @@
1
+ import { AlertProps } from './AlertProps';
2
+ export declare const useAlertStyles: (props: AlertProps) => import("@material-ui/styles").ClassNameMap<"root">;
@@ -0,0 +1,2 @@
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>>;
@@ -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,2 @@
1
+ import { AlertDialogProps } from './AlertDialogProps';
2
+ export declare const useAlertDialogStyles: (props: AlertDialogProps) => import("@material-ui/styles").ClassNameMap<"root" | "icon" | "cancelButton" | "cancelIcon" | "card" | "cardActions">;
@@ -0,0 +1,2 @@
1
+ export { AlertDialog as default } from './AlertDialog';
2
+ export { AlertDialogProps } from './AlertDialogProps';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { BoxProps } from '@popmenu/common-ui';
3
+ export declare const AlertDialogHeader: FC<BoxProps>;
@@ -0,0 +1 @@
1
+ export { AlertDialogHeader as default } from './AlertDialogHeader';
@@ -0,0 +1,3 @@
1
+ import { AlertTitleProps } from '@material-ui/lab';
2
+ import { FC } from 'react';
3
+ export declare const AlertTitle: FC<AlertTitleProps>;
@@ -0,0 +1,2 @@
1
+ export type { AlertTitleProps } from '@material-ui/lab';
2
+ export { AlertTitle as default } from './AlertTitle';
@@ -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,2 @@
1
+ export { Button as default } from './Button';
2
+ export { ButtonProps } from './ButtonProps';
@@ -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,2 @@
1
+ import { ButtonGroupProps } from './ButtonGroupProps';
2
+ export declare const useButtonGroupStyles: (props: ButtonGroupProps) => import("@material-ui/styles").ClassNameMap<"groupedText" | "groupedContained">;
@@ -0,0 +1,2 @@
1
+ export { ButtonGroup as default } from './ButtonGroup';
2
+ export { ButtonGroupProps } from './ButtonGroupProps';
@@ -0,0 +1 @@
1
+ export { Dialog, DialogProps } from '@popmenu/common-ui';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { DialogActionsProps } from '@popmenu/common-ui';
3
+ export declare const DialogActions: FC<DialogActionsProps>;
@@ -0,0 +1,2 @@
1
+ export { DialogActions } from './DialogActions';
2
+ export { DialogActionsProps } 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,3 @@
1
+ import { FC } from 'react';
2
+ import { FeatureIntroProps } from './FeatureIntroProps';
3
+ export declare const FeatureIntro: FC<FeatureIntroProps>;
@@ -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,2 @@
1
+ import { FeatureIntroProps } from './FeatureIntroProps';
2
+ export declare const useFeatureIntroStyles: (props: FeatureIntroProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,2 @@
1
+ export { FeatureIntro as default } from './FeatureIntro';
2
+ export { FeatureIntroProps } from './FeatureIntroProps';
@@ -0,0 +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>;
@@ -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,3 @@
1
+ export { FullScreenStepper } from './FullScreenStepper';
2
+ export { FullScreenStepperContext, FullScreenStepperContextValue } from './FullScreenStepperContext';
3
+ export * from './FullScreenStepperProps';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { FullScreenStepperActionsProps } from './FullScreenStepperActionsProps';
3
+ export declare const FullScreenStepperActions: FC<FullScreenStepperActionsProps>;
@@ -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,2 @@
1
+ import { FullScreenStepperActionsProps } from './FullScreenStepperActionsProps';
2
+ export declare const useFullScreenStepperActionsStyles: (props: FullScreenStepperActionsProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,2 @@
1
+ export { FullScreenStepperActions as default } from './FullScreenStepperActions';
2
+ export { FullScreenStepperActionsProps } from './FullScreenStepperActionsProps';
@@ -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,4 @@
1
+ import { FC } from 'react';
2
+ export declare const StepperActionsStatusText: FC<{
3
+ statusText?: string;
4
+ }>;
@@ -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,5 @@
1
+ import { FC } from 'react';
2
+ import { BoxProps } from '@popmenu/common-ui';
3
+ export declare const FullScreenStepperContent: FC<BoxProps & {
4
+ name: string;
5
+ }>;
@@ -0,0 +1 @@
1
+ export { FullScreenStepperContent as default } from './FullScreenStepperContent';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { FullScreenStepperHeaderProps } from './FullScreenStepperHeaderProps';
3
+ export declare const FullScreenStepperHeader: FC<FullScreenStepperHeaderProps>;
@@ -0,0 +1,7 @@
1
+ import { StepCount, StepCursor, StepperStep } from '../FullScreenStepper/FullScreenStepperProps';
2
+ export interface FullScreenStepperHeaderProps {
3
+ stepCursor: StepCursor;
4
+ stepCount: StepCount;
5
+ step: StepperStep;
6
+ onClose: () => void;
7
+ }
@@ -0,0 +1,2 @@
1
+ import { FullScreenStepperHeaderProps } from './FullScreenStepperHeaderProps';
2
+ export declare const useFullScreenStepperHeaderStyles: (props: FullScreenStepperHeaderProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1 @@
1
+ export { FullScreenStepperHeader as default } from './FullScreenStepperHeader';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { FullScreenStepperProgressProps } from './FullScreenStepperProgressProps';
3
+ export declare const FullScreenStepperProgress: FC<FullScreenStepperProgressProps>;
@@ -0,0 +1,5 @@
1
+ import { StepCount, StepCursor } from '../FullScreenStepper/FullScreenStepperProps';
2
+ export interface FullScreenStepperProgressProps {
3
+ stepCursor: StepCursor;
4
+ stepCount: StepCount;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { FullScreenStepperProgressProps } from './FullScreenStepperProgressProps';
2
+ export declare const useFullScreenStepperProgressStyles: (props: FullScreenStepperProgressProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1 @@
1
+ export { FullScreenStepperProgress as default } from './FullScreenStepperProgress';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { ListProps } from './ListProps';
3
+ export declare const List: (props: ListProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { ListProps as CommonListProps } from '@popmenu/common-ui';
2
+ export interface ListProps extends CommonListProps {
3
+ uncontained?: boolean;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { List } from './List';
2
+ export { ListProps } from './ListProps';
@@ -0,0 +1,2 @@
1
+ import { ListProps } from './ListProps';
2
+ export declare const useStyles: (props: ListProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1,2 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const Page: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { Page } from './Page';
@@ -0,0 +1,2 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const PageBody: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { PageBody } from './PageBody';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { PageSectionProps } from './PageSectionProps';
3
+ export declare const PageSection: React.ForwardRefExoticComponent<PageSectionProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export interface PageSectionProps extends PropsWithChildren<HTMLAttributes<HTMLElement>> {
3
+ /** Removes the background of the section. */
4
+ uncontained?: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ import { PageSectionProps } from './PageSectionProps';
2
+ export declare const usePageSectionStyles: (props: PageSectionProps) => import("@material-ui/styles").ClassNameMap<string>;
@@ -0,0 +1 @@
1
+ export { PageSection } from './PageSection';
@@ -0,0 +1,2 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const PageSectionHead: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { PageSectionHead } from './PageSectionHead';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { TypographyProps } from '@popmenu/common-ui';
3
+ export declare const PageSectionTitle: (props: TypographyProps) => JSX.Element;
@@ -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,2 @@
1
+ import { HTMLAttributes, PropsWithChildren } from 'react';
2
+ export declare const PageSections: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;
@@ -0,0 +1 @@
1
+ export { PageSections } from './PageSections';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { SelectableCardProps } from './SelectableCardProps';
3
+ export declare const SelectableCard: FC<SelectableCardProps>;