@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
@@ -1,18 +1,17 @@
1
- import { FullScreenStepperSubProps } from '../FullScreenStepper/FullScreenStepperProps';
2
- import { FullScreenStepperTypes } from '../FullScreenStepper/types';
3
- export interface FullScreenStepperActionsProps extends Partial<FullScreenStepperSubProps.ActionBar> {
1
+ import { ActionBarActionCallbackArgs, SetStepCursor, StepCount, StepCursor, StepperActionBar } from '../FullScreenStepper/FullScreenStepperProps';
2
+ export interface FullScreenStepperActionsProps extends Partial<StepperActionBar> {
4
3
  /** The callback args for custom actions */
5
- callbackArgs: FullScreenStepperTypes.EventCallbackArgs;
4
+ callbackArgs: ActionBarActionCallbackArgs;
6
5
  /** When false; hides the "Cancel" button */
7
6
  displayCancelButton: boolean;
8
7
  /** When false; hides the "Previous" button */
9
8
  displayPreviousButton: boolean;
10
9
  /** The total number of steps */
11
- stepCount: FullScreenStepperTypes.StepCount;
10
+ stepCount: StepCount;
12
11
  /** The current value of step cursor */
13
- stepCursor: FullScreenStepperTypes.StepCursor;
12
+ stepCursor: StepCursor;
14
13
  /** The setter for value of step cursor */
15
- setStepCursor: FullScreenStepperTypes.SetStepCursor;
14
+ setStepCursor: SetStepCursor;
16
15
  /** Callback triggered when the "Cancel" button is clicked. */
17
16
  handleCancelClick?: () => Promise<void>;
18
17
  /** Callback triggered when the "Next" button is clicked. */
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import { makeStyles } from '@material-ui/core';
2
2
 
3
3
  var useFullScreenStepperActionsStyles = makeStyles(function (theme) { return ({
4
4
  root: {
@@ -1 +1 @@
1
- {"version":3,"file":"FullScreenStepperActionsStyles.js","sources":["../../../../src/components/FullScreenStepperActions/FullScreenStepperActionsStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\n\nimport { FullScreenStepperActionsProps } from './FullScreenStepperActionsProps'\n\nexport const useFullScreenStepperActionsStyles = makeStyles<Theme, FullScreenStepperActionsProps>((theme) => ({\n root: {\n position: 'sticky',\n background: 'white',\n bottom: 0,\n display: 'flex',\n justifyContent: 'space-between',\n padding: `${theme.spacing(1.5)}px ${theme.spacing(3)}px`,\n borderTop: `${theme.spacing(0.5)}px solid ${theme.palette.grey[100]}`,\n zIndex: 3,\n },\n inlineEndActions: {\n '& > *': {\n marginInlineStart: theme.spacing(2),\n },\n },\n inlineStartActions: {\n display: 'flex',\n alignItems: 'center',\n '& > *': {\n marginInlineEnd: theme.spacing(2),\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,iCAAiC,GAAG,UAAU,CAAuC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC5G,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,UAAU,EAAE,OAAO;AACnB,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,cAAc,EAAE,eAAe;AAC/B,QAAA,OAAO,EAAK,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAM,KAAA,GAAA,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAI,IAAA;AACxD,QAAA,SAAS,EAAK,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAY,WAAA,GAAA,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAG;AACrE,QAAA,MAAM,EAAE,CAAC;AACV,KAAA;AACD,IAAA,gBAAgB,EAAE;AAChB,QAAA,OAAO,EAAE;AACP,YAAA,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACpC,SAAA;AACF,KAAA;AACD,IAAA,kBAAkB,EAAE;AAClB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAClC,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
1
+ {"version":3,"file":"FullScreenStepperActionsStyles.js","sources":["../../../../src/components/FullScreenStepperActions/FullScreenStepperActionsStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core'\n\nimport { FullScreenStepperActionsProps } from './FullScreenStepperActionsProps'\n\nexport const useFullScreenStepperActionsStyles = makeStyles<Theme, FullScreenStepperActionsProps>((theme) => ({\n root: {\n position: 'sticky',\n background: 'white',\n bottom: 0,\n display: 'flex',\n justifyContent: 'space-between',\n padding: `${theme.spacing(1.5)}px ${theme.spacing(3)}px`,\n borderTop: `${theme.spacing(0.5)}px solid ${theme.palette.grey[100]}`,\n zIndex: 3,\n },\n inlineEndActions: {\n '& > *': {\n marginInlineStart: theme.spacing(2),\n },\n },\n inlineStartActions: {\n display: 'flex',\n alignItems: 'center',\n '& > *': {\n marginInlineEnd: theme.spacing(2),\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,iCAAiC,GAAG,UAAU,CAAuC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC5G,IAAA,IAAI,EAAE;AACJ,QAAA,QAAQ,EAAE,QAAQ;AAClB,QAAA,UAAU,EAAE,OAAO;AACnB,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,cAAc,EAAE,eAAe;AAC/B,QAAA,OAAO,EAAK,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAM,KAAA,GAAA,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,GAAI,IAAA;AACxD,QAAA,SAAS,EAAK,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAY,WAAA,GAAA,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAG;AACrE,QAAA,MAAM,EAAE,CAAC;AACV,KAAA;AACD,IAAA,gBAAgB,EAAE;AAChB,QAAA,OAAO,EAAE;AACP,YAAA,iBAAiB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACpC,SAAA;AACF,KAAA;AACD,IAAA,kBAAkB,EAAE;AAClB,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAClC,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
@@ -1,9 +1,9 @@
1
- import { FullScreenStepperTypes } from '../../FullScreenStepper/types';
2
1
  import { FC } from 'react';
3
2
  import { ButtonProps } from '../../Button';
3
+ import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
4
4
  export declare const StepperActionsCancelButton: FC<{
5
- setStepCursor: FullScreenStepperTypes.SetStepCursor;
6
- stepCursor: FullScreenStepperTypes.StepCursor;
5
+ setStepCursor: SetStepCursor;
6
+ stepCursor: StepCursor;
7
7
  cancelButtonText?: string;
8
8
  cancelButtonProps?: ButtonProps;
9
9
  handleCancelClick?: () => Promise<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"StepperActionsCancelButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsCancelButton.tsx"],"sourcesContent":["import { FullScreenStepperTypes } from '../../FullScreenStepper/types'\nimport React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsCancelButton: FC<{\n setStepCursor: FullScreenStepperTypes.SetStepCursor\n stepCursor: FullScreenStepperTypes.StepCursor\n cancelButtonText?: string\n cancelButtonProps?: ButtonProps\n handleCancelClick?: () => Promise<void>\n displayCancelButton: boolean\n}> = (props) => {\n const { setStepCursor, stepCursor, cancelButtonText, cancelButtonProps, handleCancelClick, displayCancelButton } =\n props\n const augmentedCancelButtonProps = augmentButtonProps(\n { onClick: handleCancelClick },\n cancelButtonProps,\n setStepCursor,\n stepCursor,\n 0,\n )\n\n return displayCancelButton ? (\n <Button variant=\"ghost\" {...augmentedCancelButtonProps}>\n {cancelButtonText || 'cancel'}\n </Button>\n ) : null\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,0BAA0B,GAOlC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,aAAa,GACnB,KAAK,CAAA,aADc,EAAE,UAAU,GAC/B,KAAK,CAD0B,UAAA,EAAE,gBAAgB,GACjD,KAAK,CAAA,gBAD4C,EAAE,iBAAiB,GACpE,KAAK,CAD+D,iBAAA,EAAE,iBAAiB,GACvF,KAAK,CAAA,iBADkF,EAAE,mBAAmB,GAC5G,KAAK,oBADuG;AAE9G,IAAA,IAAM,0BAA0B,GAAG,kBAAkB,CACnD,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAC9B,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,CAAC,CACF;IAED,OAAO,mBAAmB,IACxB,KAAC,CAAA,aAAA,CAAA,MAAM,EAAC,QAAA,CAAA,EAAA,OAAO,EAAC,OAAO,IAAK,0BAA0B,CAAA,EACnD,gBAAgB,IAAI,QAAQ,CACtB,IACP,IAAI;AACV;;;;"}
1
+ {"version":3,"file":"StepperActionsCancelButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsCancelButton.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsCancelButton: FC<{\n setStepCursor: SetStepCursor\n stepCursor: StepCursor\n cancelButtonText?: string\n cancelButtonProps?: ButtonProps\n handleCancelClick?: () => Promise<void>\n displayCancelButton: boolean\n}> = (props) => {\n const { setStepCursor, stepCursor, cancelButtonText, cancelButtonProps, handleCancelClick, displayCancelButton } =\n props\n const augmentedCancelButtonProps = augmentButtonProps(\n { onClick: handleCancelClick },\n cancelButtonProps,\n setStepCursor,\n stepCursor,\n 0,\n )\n\n return displayCancelButton ? (\n <Button variant=\"ghost\" {...augmentedCancelButtonProps}>\n {cancelButtonText || 'cancel'}\n </Button>\n ) : null\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,0BAA0B,GAOlC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,aAAa,GACnB,KAAK,CAAA,aADc,EAAE,UAAU,GAC/B,KAAK,CAD0B,UAAA,EAAE,gBAAgB,GACjD,KAAK,CAAA,gBAD4C,EAAE,iBAAiB,GACpE,KAAK,CAD+D,iBAAA,EAAE,iBAAiB,GACvF,KAAK,CAAA,iBADkF,EAAE,mBAAmB,GAC5G,KAAK,oBADuG;AAE9G,IAAA,IAAM,0BAA0B,GAAG,kBAAkB,CACnD,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAC9B,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,CAAC,CACF;IAED,OAAO,mBAAmB,IACxB,KAAC,CAAA,aAAA,CAAA,MAAM,EAAC,QAAA,CAAA,EAAA,OAAO,EAAC,OAAO,IAAK,0BAA0B,CAAA,EACnD,gBAAgB,IAAI,QAAQ,CACtB,IACP,IAAI;AACV;;;;"}
@@ -1,12 +1,12 @@
1
- import { FullScreenStepperTypes } from '../../FullScreenStepper/types';
2
1
  import { FC } from 'react';
3
2
  import { ButtonProps } from '../../Button';
3
+ import { SetStepCursor, StepCount, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
4
4
  export declare const StepperActionsNextButton: FC<{
5
5
  handleNextClick: () => Promise<void>;
6
6
  nextButtonProps?: ButtonProps;
7
- setStepCursor: FullScreenStepperTypes.SetStepCursor;
8
- stepCursor: FullScreenStepperTypes.StepCursor;
9
- stepCount: FullScreenStepperTypes.StepCount;
7
+ setStepCursor: SetStepCursor;
8
+ stepCursor: StepCursor;
9
+ stepCount: StepCount;
10
10
  finishButtonText?: string;
11
11
  nextButtonText?: string;
12
12
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"StepperActionsNextButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsNextButton.tsx"],"sourcesContent":["import { FullScreenStepperTypes } from '../../FullScreenStepper/types'\nimport React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsNextButton: FC<{\n handleNextClick: () => Promise<void>\n nextButtonProps?: ButtonProps\n setStepCursor: FullScreenStepperTypes.SetStepCursor\n stepCursor: FullScreenStepperTypes.StepCursor\n stepCount: FullScreenStepperTypes.StepCount\n finishButtonText?: string\n nextButtonText?: string\n}> = (props) => {\n const { handleNextClick, nextButtonProps, setStepCursor, stepCursor, stepCount, finishButtonText, nextButtonText } =\n props\n const augmentedNextButtonProps = augmentButtonProps(\n { onClick: handleNextClick },\n nextButtonProps,\n setStepCursor,\n stepCursor,\n 1,\n )\n const finalStep = stepCursor / stepCount === 1\n const finishText = finishButtonText || 'finish'\n const nextText = nextButtonText || 'next'\n const buttonText = finalStep ? finishText : nextText\n\n return <Button {...augmentedNextButtonProps}>{buttonText}</Button>\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,wBAAwB,GAQhC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,eAAe,GACrB,KAAK,CAAA,eADgB,EAAE,eAAe,GACtC,KAAK,CAAA,eADiC,EAAE,aAAa,GACrD,KAAK,CAAA,aADgD,EAAE,UAAU,GACjE,KAAK,CAAA,UAD4D,EAAE,SAAS,GAC5E,KAAK,UADuE,EAAE,gBAAgB,GAC9F,KAAK,iBADyF,EAAE,cAAc,GAC9G,KAAK,eADyG;AAEhH,IAAA,IAAM,wBAAwB,GAAG,kBAAkB,CACjD,EAAE,OAAO,EAAE,eAAe,EAAE,EAC5B,eAAe,EACf,aAAa,EACb,UAAU,EACV,CAAC,CACF;AACD,IAAA,IAAM,SAAS,GAAG,UAAU,GAAG,SAAS,KAAK,CAAC;AAC9C,IAAA,IAAM,UAAU,GAAG,gBAAgB,IAAI,QAAQ;AAC/C,IAAA,IAAM,QAAQ,GAAG,cAAc,IAAI,MAAM;IACzC,IAAM,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ;AAEpD,IAAA,OAAO,oBAAC,MAAM,EAAA,QAAA,CAAA,EAAA,EAAK,wBAAwB,CAAG,EAAA,UAAU,CAAU;AACpE;;;;"}
1
+ {"version":3,"file":"StepperActionsNextButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsNextButton.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { SetStepCursor, StepCount, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsNextButton: FC<{\n handleNextClick: () => Promise<void>\n nextButtonProps?: ButtonProps\n setStepCursor: SetStepCursor\n stepCursor: StepCursor\n stepCount: StepCount\n finishButtonText?: string\n nextButtonText?: string\n}> = (props) => {\n const { handleNextClick, nextButtonProps, setStepCursor, stepCursor, stepCount, finishButtonText, nextButtonText } =\n props\n const augmentedNextButtonProps = augmentButtonProps(\n { onClick: handleNextClick },\n nextButtonProps,\n setStepCursor,\n stepCursor,\n 1,\n )\n const finalStep = stepCursor / stepCount === 1\n const finishText = finishButtonText || 'finish'\n const nextText = nextButtonText || 'next'\n const buttonText = finalStep ? finishText : nextText\n\n return <Button {...augmentedNextButtonProps}>{buttonText}</Button>\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,wBAAwB,GAQhC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,eAAe,GACrB,KAAK,CAAA,eADgB,EAAE,eAAe,GACtC,KAAK,CAAA,eADiC,EAAE,aAAa,GACrD,KAAK,CAAA,aADgD,EAAE,UAAU,GACjE,KAAK,CAAA,UAD4D,EAAE,SAAS,GAC5E,KAAK,UADuE,EAAE,gBAAgB,GAC9F,KAAK,iBADyF,EAAE,cAAc,GAC9G,KAAK,eADyG;AAEhH,IAAA,IAAM,wBAAwB,GAAG,kBAAkB,CACjD,EAAE,OAAO,EAAE,eAAe,EAAE,EAC5B,eAAe,EACf,aAAa,EACb,UAAU,EACV,CAAC,CACF;AACD,IAAA,IAAM,SAAS,GAAG,UAAU,GAAG,SAAS,KAAK,CAAC;AAC9C,IAAA,IAAM,UAAU,GAAG,gBAAgB,IAAI,QAAQ;AAC/C,IAAA,IAAM,QAAQ,GAAG,cAAc,IAAI,MAAM;IACzC,IAAM,UAAU,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ;AAEpD,IAAA,OAAO,oBAAC,MAAM,EAAA,QAAA,CAAA,EAAA,EAAK,wBAAwB,CAAG,EAAA,UAAU,CAAU;AACpE;;;;"}
@@ -1,11 +1,11 @@
1
- import { FullScreenStepperTypes } from '../../FullScreenStepper/types';
2
1
  import { FC } from 'react';
3
2
  import { ButtonProps } from '../../Button';
3
+ import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
4
4
  export declare const StepperActionsPreviousButton: FC<{
5
5
  previousButtonText?: string;
6
- stepCursor: FullScreenStepperTypes.StepCursor;
6
+ stepCursor: StepCursor;
7
7
  handlePreviousClick: () => Promise<void>;
8
8
  previousButtonProps?: ButtonProps;
9
- setStepCursor: FullScreenStepperTypes.SetStepCursor;
9
+ setStepCursor: SetStepCursor;
10
10
  displayPreviousButton: boolean;
11
11
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"StepperActionsPreviousButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsPreviousButton.tsx"],"sourcesContent":["import { FullScreenStepperTypes } from '../../FullScreenStepper/types'\nimport React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsPreviousButton: FC<{\n previousButtonText?: string\n stepCursor: FullScreenStepperTypes.StepCursor\n handlePreviousClick: () => Promise<void>\n previousButtonProps?: ButtonProps\n setStepCursor: FullScreenStepperTypes.SetStepCursor\n displayPreviousButton: boolean\n}> = (props) => {\n const {\n previousButtonText,\n stepCursor,\n handlePreviousClick,\n previousButtonProps,\n setStepCursor,\n displayPreviousButton,\n } = props\n\n const augmentedPreviousButtonProps = augmentButtonProps(\n { onClick: handlePreviousClick },\n previousButtonProps,\n setStepCursor,\n stepCursor,\n -1,\n )\n\n return displayPreviousButton ? (\n <Button variant=\"tertiary\" disabled={stepCursor === 1} {...augmentedPreviousButtonProps}>\n {previousButtonText || 'previous'}\n </Button>\n ) : null\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,4BAA4B,GAOpC,UAAC,KAAK,EAAA;AAEP,IAAA,IAAA,kBAAkB,GAMhB,KAAK,CAAA,kBANW,EAClB,UAAU,GAKR,KAAK,CALG,UAAA,EACV,mBAAmB,GAIjB,KAAK,CAAA,mBAJY,EACnB,mBAAmB,GAGjB,KAAK,CAHY,mBAAA,EACnB,aAAa,GAEX,KAAK,CAAA,aAFM,EACb,qBAAqB,GACnB,KAAK,sBADc;AAGvB,IAAA,IAAM,4BAA4B,GAAG,kBAAkB,CACrD,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAChC,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,EAAE,CACH;AAED,IAAA,OAAO,qBAAqB,IAC1B,KAAA,CAAA,aAAA,CAAC,MAAM,EAAA,QAAA,CAAA,EAAC,OAAO,EAAC,UAAU,EAAC,QAAQ,EAAE,UAAU,KAAK,CAAC,EAAA,EAAM,4BAA4B,CAAA,EACpF,kBAAkB,IAAI,UAAU,CAC1B,IACP,IAAI;AACV;;;;"}
1
+ {"version":3,"file":"StepperActionsPreviousButton.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsPreviousButton.tsx"],"sourcesContent":["import React, { FC } from 'react'\n\nimport Button, { ButtonProps } from '../../Button'\nimport { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps'\nimport { augmentButtonProps } from './augmentButtonProps'\n\nexport const StepperActionsPreviousButton: FC<{\n previousButtonText?: string\n stepCursor: StepCursor\n handlePreviousClick: () => Promise<void>\n previousButtonProps?: ButtonProps\n setStepCursor: SetStepCursor\n displayPreviousButton: boolean\n}> = (props) => {\n const {\n previousButtonText,\n stepCursor,\n handlePreviousClick,\n previousButtonProps,\n setStepCursor,\n displayPreviousButton,\n } = props\n\n const augmentedPreviousButtonProps = augmentButtonProps(\n { onClick: handlePreviousClick },\n previousButtonProps,\n setStepCursor,\n stepCursor,\n -1,\n )\n\n return displayPreviousButton ? (\n <Button variant=\"tertiary\" disabled={stepCursor === 1} {...augmentedPreviousButtonProps}>\n {previousButtonText || 'previous'}\n </Button>\n ) : null\n}\n"],"names":[],"mappings":";;;;;AAMO,IAAM,4BAA4B,GAOpC,UAAC,KAAK,EAAA;AAEP,IAAA,IAAA,kBAAkB,GAMhB,KAAK,CAAA,kBANW,EAClB,UAAU,GAKR,KAAK,CALG,UAAA,EACV,mBAAmB,GAIjB,KAAK,CAAA,mBAJY,EACnB,mBAAmB,GAGjB,KAAK,CAHY,mBAAA,EACnB,aAAa,GAEX,KAAK,CAAA,aAFM,EACb,qBAAqB,GACnB,KAAK,sBADc;AAGvB,IAAA,IAAM,4BAA4B,GAAG,kBAAkB,CACrD,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAChC,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,EAAE,CACH;AAED,IAAA,OAAO,qBAAqB,IAC1B,KAAA,CAAA,aAAA,CAAC,MAAM,EAAA,QAAA,CAAA,EAAC,OAAO,EAAC,UAAU,EAAC,QAAQ,EAAE,UAAU,KAAK,CAAC,EAAA,EAAM,4BAA4B,CAAA,EACpF,kBAAkB,IAAI,UAAU,CAC1B,IACP,IAAI;AACV;;;;"}
@@ -1,5 +1,5 @@
1
+ import { makeStyles } from '@material-ui/core';
1
2
  import React from 'react';
2
- import { makeStyles } from '@material-ui/core/styles';
3
3
  import { Typography } from '@popmenu/common-ui';
4
4
 
5
5
  var useStyles = makeStyles({
@@ -1 +1 @@
1
- {"version":3,"file":"StepperActionsStatusText.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsStatusText.tsx"],"sourcesContent":["import React, { FC } from 'react'\nimport { makeStyles } from '@material-ui/core/styles'\n\nimport { Typography } from '@popmenu/common-ui'\n\nconst useStyles = makeStyles({\n root: {\n fontStyle: 'italic',\n },\n})\n\nexport const StepperActionsStatusText: FC<{\n statusText?: string\n}> = (props) => {\n const { statusText } = props\n const classes = useStyles(props)\n return statusText ? (\n <Typography classes={{ root: classes.root }} variant=\"body2\">\n {statusText}\n </Typography>\n ) : null\n}\n"],"names":[],"mappings":";;;;AAKA,IAAM,SAAS,GAAG,UAAU,CAAC;AAC3B,IAAA,IAAI,EAAE;AACJ,QAAA,SAAS,EAAE,QAAQ;AACpB,KAAA;AACF,CAAA,CAAC;AAEK,IAAM,wBAAwB,GAEhC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,UAAU,GAAK,KAAK,CAAA,UAAV;AAClB,IAAA,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;AAChC,IAAA,OAAO,UAAU,IACf,KAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,OAAO,EAAC,OAAO,EAAA,EACzD,UAAU,CACA,IACX,IAAI;AACV;;;;"}
1
+ {"version":3,"file":"StepperActionsStatusText.js","sources":["../../../../../src/components/FullScreenStepperActions/util/StepperActionsStatusText.tsx"],"sourcesContent":["import { makeStyles } from '@material-ui/core'\nimport React, { FC } from 'react'\n\nimport { Typography } from '@popmenu/common-ui'\n\nconst useStyles = makeStyles({\n root: {\n fontStyle: 'italic',\n },\n})\n\nexport const StepperActionsStatusText: FC<{\n statusText?: string\n}> = (props) => {\n const { statusText } = props\n const classes = useStyles(props)\n return statusText ? (\n <Typography classes={{ root: classes.root }} variant=\"body2\">\n {statusText}\n </Typography>\n ) : null\n}\n"],"names":[],"mappings":";;;;AAKA,IAAM,SAAS,GAAG,UAAU,CAAC;AAC3B,IAAA,IAAI,EAAE;AACJ,QAAA,SAAS,EAAE,QAAQ;AACpB,KAAA;AACF,CAAA,CAAC;AAEK,IAAM,wBAAwB,GAEhC,UAAC,KAAK,EAAA;AACD,IAAA,IAAA,UAAU,GAAK,KAAK,CAAA,UAAV;AAClB,IAAA,IAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC;AAChC,IAAA,OAAO,UAAU,IACf,KAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,EAAE,OAAO,EAAC,OAAO,EAAA,EACzD,UAAU,CACA,IACX,IAAI;AACV;;;;"}
@@ -1,5 +1,5 @@
1
- import { FullScreenStepperTypes } from '../../FullScreenStepper/types';
2
1
  import { ButtonProps } from '../../Button';
2
+ import { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps';
3
3
  export declare const augmentButtonProps: (internalProps: {
4
4
  onClick?: () => Promise<void>;
5
- }, externalProps: ButtonProps<"button"> | undefined, setStepCursor: FullScreenStepperTypes.SetStepCursor, stepCursor: FullScreenStepperTypes.StepCursor, incrementor: number) => ButtonProps;
5
+ }, externalProps: ButtonProps<"button"> | undefined, setStepCursor: SetStepCursor, stepCursor: StepCursor, incrementor: number) => ButtonProps;
@@ -1 +1 @@
1
- {"version":3,"file":"augmentButtonProps.js","sources":["../../../../../src/components/FullScreenStepperActions/util/augmentButtonProps.ts"],"sourcesContent":["import React from 'react'\n\nimport { FullScreenStepperTypes } from '../../FullScreenStepper/types'\nimport { ButtonProps } from '../../Button'\n\nexport const augmentButtonProps = (\n internalProps: { onClick?: () => Promise<void> },\n externalProps: ButtonProps = {},\n setStepCursor: FullScreenStepperTypes.SetStepCursor,\n stepCursor: FullScreenStepperTypes.StepCursor,\n incrementor: number,\n): ButtonProps => {\n const mergedProps = { ...internalProps, ...externalProps }\n mergedProps.onClick = async () => {\n if (typeof externalProps.onClick === 'function') {\n await externalProps.onClick({} as React.MouseEvent<HTMLButtonElement, MouseEvent>)\n setStepCursor(stepCursor + incrementor)\n } else if (typeof internalProps.onClick === 'function') {\n internalProps.onClick()\n }\n }\n return mergedProps\n}\n"],"names":[],"mappings":";;AAKO,IAAM,kBAAkB,GAAG,UAChC,aAAgD,EAChD,aAA+B,EAC/B,aAAmD,EACnD,UAA6C,EAC7C,WAAmB,EAAA;AAHnB,IAAA,IAAA,aAAA,KAAA,MAAA,EAAA,EAAA,aAA+B,GAAA,EAAA,CAAA;AAK/B,IAAA,IAAM,WAAW,GAAQ,QAAA,CAAA,QAAA,CAAA,EAAA,EAAA,aAAa,CAAK,EAAA,aAAa,CAAE;IAC1D,WAAW,CAAC,OAAO,GAAG,YAAA,EAAA,OAAA,SAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,YAAA;;;;0BAChB,OAAO,aAAa,CAAC,OAAO,KAAK,UAAU,CAAA,EAA3C,OAA2C,CAAA,CAAA,YAAA,CAAA,CAAA;AAC7C,oBAAA,OAAA,CAAA,CAAA,YAAM,aAAa,CAAC,OAAO,CAAC,EAAqD,CAAC,CAAA;;AAAlF,oBAAA,EAAA,CAAA,IAAA,EAAkF;AAClF,oBAAA,aAAa,CAAC,UAAU,GAAG,WAAW,CAAC;;;AAClC,oBAAA,IAAI,OAAO,aAAa,CAAC,OAAO,KAAK,UAAU,EAAE;wBACtD,aAAa,CAAC,OAAO,EAAE;AACxB;;;;;SACF;AACD,IAAA,OAAO,WAAW;AACpB;;;;"}
1
+ {"version":3,"file":"augmentButtonProps.js","sources":["../../../../../src/components/FullScreenStepperActions/util/augmentButtonProps.ts"],"sourcesContent":["import React from 'react'\n\nimport { ButtonProps } from '../../Button'\nimport { SetStepCursor, StepCursor } from '../../FullScreenStepper/FullScreenStepperProps'\n\nexport const augmentButtonProps = (\n internalProps: { onClick?: () => Promise<void> },\n externalProps: ButtonProps = {},\n setStepCursor: SetStepCursor,\n stepCursor: StepCursor,\n incrementor: number,\n): ButtonProps => {\n const mergedProps = { ...internalProps, ...externalProps }\n mergedProps.onClick = async () => {\n if (typeof externalProps.onClick === 'function') {\n await externalProps.onClick({} as React.MouseEvent<HTMLButtonElement, MouseEvent>)\n setStepCursor(stepCursor + incrementor)\n } else if (typeof internalProps.onClick === 'function') {\n internalProps.onClick()\n }\n }\n return mergedProps\n}\n"],"names":[],"mappings":";;AAKO,IAAM,kBAAkB,GAAG,UAChC,aAAgD,EAChD,aAA+B,EAC/B,aAA4B,EAC5B,UAAsB,EACtB,WAAmB,EAAA;AAHnB,IAAA,IAAA,aAAA,KAAA,MAAA,EAAA,EAAA,aAA+B,GAAA,EAAA,CAAA;AAK/B,IAAA,IAAM,WAAW,GAAQ,QAAA,CAAA,QAAA,CAAA,EAAA,EAAA,aAAa,CAAK,EAAA,aAAa,CAAE;IAC1D,WAAW,CAAC,OAAO,GAAG,YAAA,EAAA,OAAA,SAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,YAAA;;;;0BAChB,OAAO,aAAa,CAAC,OAAO,KAAK,UAAU,CAAA,EAA3C,OAA2C,CAAA,CAAA,YAAA,CAAA,CAAA;AAC7C,oBAAA,OAAA,CAAA,CAAA,YAAM,aAAa,CAAC,OAAO,CAAC,EAAqD,CAAC,CAAA;;AAAlF,oBAAA,EAAA,CAAA,IAAA,EAAkF;AAClF,oBAAA,aAAa,CAAC,UAAU,GAAG,WAAW,CAAC;;;AAClC,oBAAA,IAAI,OAAO,aAAa,CAAC,OAAO,KAAK,UAAU,EAAE;wBACtD,aAAa,CAAC,OAAO,EAAE;AACxB;;;;;SACF;AACD,IAAA,OAAO,WAAW;AACpB;;;;"}
@@ -1,8 +1,7 @@
1
- import { FullScreenStepperTypes } from '../FullScreenStepper/types';
2
- import { FullScreenStepperSubProps } from '../FullScreenStepper/FullScreenStepperProps';
1
+ import { StepCount, StepCursor, StepperStep } from '../FullScreenStepper/FullScreenStepperProps';
3
2
  export interface FullScreenStepperHeaderProps {
4
- stepCursor: FullScreenStepperTypes.StepCursor;
5
- stepCount: FullScreenStepperTypes.StepCount;
6
- step: FullScreenStepperSubProps.Step;
3
+ stepCursor: StepCursor;
4
+ stepCount: StepCount;
5
+ step: StepperStep;
7
6
  onClose: () => void;
8
7
  }
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import { makeStyles } from '@material-ui/core';
2
2
 
3
3
  var useFullScreenStepperHeaderStyles = makeStyles(function (_a) {
4
4
  var spacing = _a.spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"FullScreenStepperHeaderStyles.js","sources":["../../../../src/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\n\nimport { FullScreenStepperHeaderProps } from './FullScreenStepperHeaderProps'\n\nexport const useFullScreenStepperHeaderStyles = makeStyles<Theme, FullScreenStepperHeaderProps>(({ spacing }) => ({\n closeButton: {\n position: 'absolute',\n right: 0,\n top: 0,\n },\n root: {\n alignItems: 'center',\n background: 'white',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n padding: spacing(1.5, 0),\n position: 'sticky',\n top: 0,\n zIndex: 3,\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,gCAAgC,GAAG,UAAU,CAAsC,UAAC,EAAW,EAAA;AAAT,IAAA,IAAA,OAAO,GAAA,EAAA,CAAA,OAAA;AAAO,IAAA,QAAC;AAChH,QAAA,WAAW,EAAE;AACX,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACP,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,UAAU,EAAE,OAAO;AACnB,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AACvB,YAAA,cAAc,EAAE,QAAQ;AACxB,YAAA,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AACxB,YAAA,QAAQ,EAAE,QAAQ;AAClB,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,MAAM,EAAE,CAAC;AACV,SAAA;KACF;AAjBgH,CAiB/G;;;;"}
1
+ {"version":3,"file":"FullScreenStepperHeaderStyles.js","sources":["../../../../src/components/FullScreenStepperHeader/FullScreenStepperHeaderStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core'\n\nimport { FullScreenStepperHeaderProps } from './FullScreenStepperHeaderProps'\n\nexport const useFullScreenStepperHeaderStyles = makeStyles<Theme, FullScreenStepperHeaderProps>(({ spacing }) => ({\n closeButton: {\n position: 'absolute',\n right: 0,\n top: 0,\n },\n root: {\n alignItems: 'center',\n background: 'white',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n padding: spacing(1.5, 0),\n position: 'sticky',\n top: 0,\n zIndex: 3,\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,gCAAgC,GAAG,UAAU,CAAsC,UAAC,EAAW,EAAA;AAAT,IAAA,IAAA,OAAO,GAAA,EAAA,CAAA,OAAA;AAAO,IAAA,QAAC;AAChH,QAAA,WAAW,EAAE;AACX,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,KAAK,EAAE,CAAC;AACR,YAAA,GAAG,EAAE,CAAC;AACP,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,UAAU,EAAE,OAAO;AACnB,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AACvB,YAAA,cAAc,EAAE,QAAQ;AACxB,YAAA,OAAO,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AACxB,YAAA,QAAQ,EAAE,QAAQ;AAClB,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,MAAM,EAAE,CAAC;AACV,SAAA;KACF;AAjBgH,CAiB/G;;;;"}
@@ -1,5 +1,5 @@
1
- import { FullScreenStepperTypes } from '../FullScreenStepper/types';
1
+ import { StepCount, StepCursor } from '../FullScreenStepper/FullScreenStepperProps';
2
2
  export interface FullScreenStepperProgressProps {
3
- stepCursor: FullScreenStepperTypes.StepCursor;
4
- stepCount: FullScreenStepperTypes.StepCount;
3
+ stepCursor: StepCursor;
4
+ stepCount: StepCount;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import { makeStyles } from '@material-ui/core';
2
2
 
3
3
  var getBorderRadius = function (theme, props) {
4
4
  var stepCursor = props.stepCursor, stepCount = props.stepCount;
@@ -1 +1 @@
1
- {"version":3,"file":"FullScreenStepperProgressStyles.js","sources":["../../../../src/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\nimport { FullScreenStepperProgressProps } from './FullScreenStepperProgressProps'\n\nconst getBorderRadius = (theme: Theme, props: FullScreenStepperProgressProps) => {\n const { stepCursor, stepCount } = props\n const isFinalStep = stepCursor / stepCount === 1\n if (isFinalStep) {\n return 0\n } else {\n return theme.spacing(0.5)\n }\n}\n\nexport const useFullScreenStepperProgressStyles = makeStyles<Theme, FullScreenStepperProgressProps>((theme) => ({\n progress: {\n width: (props) => `${(props.stepCursor / props.stepCount) * 100}%`,\n transition: 'all 500ms',\n height: theme.spacing(1),\n // @ts-expect-error: Theme includes extended properties\n background: `linear-gradient(45deg, ${theme.palette.primary.gradientStart}, ${theme.palette.primary.gradientEnd})`,\n borderEndEndRadius: (props) => getBorderRadius(theme, props),\n borderStartEndRadius: (props) => getBorderRadius(theme, props),\n },\n track: {\n position: 'absolute',\n bottom: 0,\n display: 'flex',\n alignItems: 'center',\n width: '100%',\n height: theme.spacing(0.5),\n background: theme.palette.grey[100],\n zIndex: 2,\n },\n}))\n"],"names":[],"mappings":";;AAGA,IAAM,eAAe,GAAG,UAAC,KAAY,EAAE,KAAqC,EAAA;IAClE,IAAA,UAAU,GAAgB,KAAK,CAAA,UAArB,EAAE,SAAS,GAAK,KAAK,CAAA,SAAV;AAC7B,IAAA,IAAM,WAAW,GAAG,UAAU,GAAG,SAAS,KAAK,CAAC;AAChD,IAAA,IAAI,WAAW,EAAE;AACf,QAAA,OAAO,CAAC;AACT;AAAM,SAAA;AACL,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC1B;AACH,CAAC;AAEY,IAAA,kCAAkC,GAAG,UAAU,CAAwC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC9G,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE,UAAC,KAAK,IAAK,OAAG,CAAC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,SAAS,IAAI,GAAG,GAAA,GAAG,GAAA;AAClE,QAAA,UAAU,EAAE,WAAW;AACvB,QAAA,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;;AAExB,QAAA,UAAU,EAAE,yBAA0B,GAAA,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,GAAA,IAAA,GAAK,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,GAAG,GAAA;AAClH,QAAA,kBAAkB,EAAE,UAAC,KAAK,EAAA,EAAK,OAAA,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA,EAAA;AAC5D,QAAA,oBAAoB,EAAE,UAAC,KAAK,EAAA,EAAK,OAAA,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA,EAAA;AAC/D,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QAC1B,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;AACnC,QAAA,MAAM,EAAE,CAAC;AACV,KAAA;CACF,EAAC,EAAA;;;;"}
1
+ {"version":3,"file":"FullScreenStepperProgressStyles.js","sources":["../../../../src/components/FullScreenStepperProgress/FullScreenStepperProgressStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core'\nimport { FullScreenStepperProgressProps } from './FullScreenStepperProgressProps'\n\nconst getBorderRadius = (theme: Theme, props: FullScreenStepperProgressProps) => {\n const { stepCursor, stepCount } = props\n const isFinalStep = stepCursor / stepCount === 1\n if (isFinalStep) {\n return 0\n } else {\n return theme.spacing(0.5)\n }\n}\n\nexport const useFullScreenStepperProgressStyles = makeStyles<Theme, FullScreenStepperProgressProps>((theme) => ({\n progress: {\n width: (props) => `${(props.stepCursor / props.stepCount) * 100}%`,\n transition: 'all 500ms',\n height: theme.spacing(1),\n // @ts-expect-error: Theme includes extended properties\n background: `linear-gradient(45deg, ${theme.palette.primary.gradientStart}, ${theme.palette.primary.gradientEnd})`,\n borderEndEndRadius: (props) => getBorderRadius(theme, props),\n borderStartEndRadius: (props) => getBorderRadius(theme, props),\n },\n track: {\n position: 'absolute',\n bottom: 0,\n display: 'flex',\n alignItems: 'center',\n width: '100%',\n height: theme.spacing(0.5),\n background: theme.palette.grey[100],\n zIndex: 2,\n },\n}))\n"],"names":[],"mappings":";;AAGA,IAAM,eAAe,GAAG,UAAC,KAAY,EAAE,KAAqC,EAAA;IAClE,IAAA,UAAU,GAAgB,KAAK,CAAA,UAArB,EAAE,SAAS,GAAK,KAAK,CAAA,SAAV;AAC7B,IAAA,IAAM,WAAW,GAAG,UAAU,GAAG,SAAS,KAAK,CAAC;AAChD,IAAA,IAAI,WAAW,EAAE;AACf,QAAA,OAAO,CAAC;AACT;AAAM,SAAA;AACL,QAAA,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;AAC1B;AACH,CAAC;AAEY,IAAA,kCAAkC,GAAG,UAAU,CAAwC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC9G,IAAA,QAAQ,EAAE;AACR,QAAA,KAAK,EAAE,UAAC,KAAK,IAAK,OAAG,CAAC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,SAAS,IAAI,GAAG,GAAA,GAAG,GAAA;AAClE,QAAA,UAAU,EAAE,WAAW;AACvB,QAAA,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;;AAExB,QAAA,UAAU,EAAE,yBAA0B,GAAA,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,aAAa,GAAA,IAAA,GAAK,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,GAAG,GAAA;AAClH,QAAA,kBAAkB,EAAE,UAAC,KAAK,EAAA,EAAK,OAAA,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA,EAAA;AAC5D,QAAA,oBAAoB,EAAE,UAAC,KAAK,EAAA,EAAK,OAAA,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA,EAAA;AAC/D,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,QAAQ,EAAE,UAAU;AACpB,QAAA,MAAM,EAAE,CAAC;AACT,QAAA,OAAO,EAAE,MAAM;AACf,QAAA,UAAU,EAAE,QAAQ;AACpB,QAAA,KAAK,EAAE,MAAM;AACb,QAAA,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QAC1B,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;AACnC,QAAA,MAAM,EAAE,CAAC;AACV,KAAA;CACF,EAAC,EAAA;;;;"}
@@ -1,6 +1,5 @@
1
+ import { CardActionAreaProps, CardProps as MuiCardProps } from '@material-ui/core';
1
2
  import { Ref } from 'react';
2
- import { CardProps as MuiCardProps } from '@material-ui/core/Card';
3
- import { CardActionAreaProps } from '@material-ui/core';
4
3
  export interface SelectableCardProps extends Omit<MuiCardProps, 'onClick'> {
5
4
  /** Id of the DOM node serving as the label of the input. */
6
5
  labelId: string;
@@ -1,4 +1,4 @@
1
- import { makeStyles, lighten } from '@material-ui/core/styles';
1
+ import { makeStyles, lighten } from '@material-ui/core';
2
2
 
3
3
  var useSelectableCardStyles = makeStyles(function (theme) {
4
4
  var _a = theme.palette, info = _a.info, grey = _a.grey, getContrastText = _a.getContrastText, spacing = theme.spacing;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectableCardStyles.js","sources":["../../../../src/components/SelectableCard/SelectableCardStyles.ts"],"sourcesContent":["import { makeStyles, Theme, lighten } from '@material-ui/core/styles'\n\nimport { SelectableCardProps } from './SelectableCardProps'\n\nexport const useSelectableCardStyles = makeStyles<Theme, SelectableCardProps>((theme) => {\n const {\n palette: { info, grey, getContrastText },\n spacing,\n } = theme\n const selectedBackgroundColor = lighten(theme.palette.info.light, 0.9)\n const backgroundColor = theme.palette.surface.light\n return {\n root: {\n position: 'relative',\n border: ({ selected }) => (selected ? `1px solid ${info.light}` : `1px solid ${grey[700]}`),\n backgroundColor: ({ selected }) => (selected ? selectedBackgroundColor : backgroundColor),\n color: ({ selected }) => (selected ? getContrastText(selectedBackgroundColor) : getContrastText(backgroundColor)),\n transition: 'none',\n },\n cardContent: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n marginTop: spacing(2.5),\n },\n icon: {\n position: 'absolute',\n top: spacing(2),\n left: spacing(2),\n color: ({ selected }) => (selected ? info.main : grey[700]),\n },\n focusHighlight: {\n backgroundColor: 'inherit',\n },\n }\n})\n"],"names":[],"mappings":";;AAIa,IAAA,uBAAuB,GAAG,UAAU,CAA6B,UAAC,KAAK,EAAA;AAEhF,IAAA,IAAA,KAEE,KAAK,CAAA,OAFiC,EAA7B,IAAI,UAAA,EAAE,IAAI,GAAA,EAAA,CAAA,IAAA,EAAE,eAAe,GAAA,EAAA,CAAA,eAAA,EACtC,OAAO,GACL,KAAK,QADA;AAET,IAAA,IAAM,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC;IACtE,IAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK;IACnD,OAAO;AACL,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,eAAa,IAAI,CAAC,KAAO,GAAG,YAAA,GAAa,IAAI,CAAC,GAAG,CAAG;aAAC;YAC3F,eAAe,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;gBAAO,QAAC,QAAQ,GAAG,uBAAuB,GAAG,eAAe;aAAC;YACzF,KAAK,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,eAAe,CAAC,uBAAuB,CAAC,GAAG,eAAe,CAAC,eAAe,CAAC;aAAC;AACjH,YAAA,UAAU,EAAE,MAAM;AACnB,SAAA;AACD,QAAA,WAAW,EAAE;AACX,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AACvB,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,cAAc,EAAE,QAAQ;AACxB,YAAA,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC;AACxB,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;AACf,YAAA,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;YAChB,KAAK,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;aAAC;AAC5D,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,eAAe,EAAE,SAAS;AAC3B,SAAA;KACF;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"SelectableCardStyles.js","sources":["../../../../src/components/SelectableCard/SelectableCardStyles.ts"],"sourcesContent":["import { lighten, makeStyles, Theme } from '@material-ui/core'\n\nimport { SelectableCardProps } from './SelectableCardProps'\n\nexport const useSelectableCardStyles = makeStyles<Theme, SelectableCardProps>((theme) => {\n const {\n palette: { info, grey, getContrastText },\n spacing,\n } = theme\n const selectedBackgroundColor = lighten(theme.palette.info.light, 0.9)\n const backgroundColor = theme.palette.surface.light\n return {\n root: {\n position: 'relative',\n border: ({ selected }) => (selected ? `1px solid ${info.light}` : `1px solid ${grey[700]}`),\n backgroundColor: ({ selected }) => (selected ? selectedBackgroundColor : backgroundColor),\n color: ({ selected }) => (selected ? getContrastText(selectedBackgroundColor) : getContrastText(backgroundColor)),\n transition: 'none',\n },\n cardContent: {\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center',\n marginTop: spacing(2.5),\n },\n icon: {\n position: 'absolute',\n top: spacing(2),\n left: spacing(2),\n color: ({ selected }) => (selected ? info.main : grey[700]),\n },\n focusHighlight: {\n backgroundColor: 'inherit',\n },\n }\n})\n"],"names":[],"mappings":";;AAIa,IAAA,uBAAuB,GAAG,UAAU,CAA6B,UAAC,KAAK,EAAA;AAEhF,IAAA,IAAA,KAEE,KAAK,CAAA,OAFiC,EAA7B,IAAI,UAAA,EAAE,IAAI,GAAA,EAAA,CAAA,IAAA,EAAE,eAAe,GAAA,EAAA,CAAA,eAAA,EACtC,OAAO,GACL,KAAK,QADA;AAET,IAAA,IAAM,uBAAuB,GAAG,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC;IACtE,IAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK;IACnD,OAAO;AACL,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,eAAa,IAAI,CAAC,KAAO,GAAG,YAAA,GAAa,IAAI,CAAC,GAAG,CAAG;aAAC;YAC3F,eAAe,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;gBAAO,QAAC,QAAQ,GAAG,uBAAuB,GAAG,eAAe;aAAC;YACzF,KAAK,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,eAAe,CAAC,uBAAuB,CAAC,GAAG,eAAe,CAAC,eAAe,CAAC;aAAC;AACjH,YAAA,UAAU,EAAE,MAAM;AACnB,SAAA;AACD,QAAA,WAAW,EAAE;AACX,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AACvB,YAAA,UAAU,EAAE,QAAQ;AACpB,YAAA,cAAc,EAAE,QAAQ;AACxB,YAAA,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC;AACxB,SAAA;AACD,QAAA,IAAI,EAAE;AACJ,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;AACf,YAAA,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;YAChB,KAAK,EAAE,UAAC,EAAY,EAAA;AAAV,gBAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AAAO,gBAAA,QAAC,QAAQ,GAAG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;aAAC;AAC5D,SAAA;AACD,QAAA,cAAc,EAAE;AACd,YAAA,eAAe,EAAE,SAAS;AAC3B,SAAA;KACF;AACH,CAAC;;;;"}
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import { makeStyles } from '@material-ui/core';
2
2
 
3
3
  var useSettingsIndexCardStyles = makeStyles(function (theme) { return ({
4
4
  cardRoot: {
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsIndexCardStyles.js","sources":["../../../../src/components/SettingsIndexCard/SettingsIndexCardStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\n\nimport { SettingsIndexCardProps } from './SettingsIndexCardProps'\n\nexport const useSettingsIndexCardStyles = makeStyles<Theme, SettingsIndexCardProps>((theme) => ({\n cardRoot: {\n border: `1px solid ${theme.palette.grey[300]}`,\n alignSelf: 'stretch',\n flexGrow: 1,\n '&:hover': {\n backgroundColor: '#52B7FF1A',\n },\n },\n cardContentRoot: {\n padding: theme.spacing(4),\n '&:last-child': {\n paddingBottom: theme.spacing(4),\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,0BAA0B,GAAG,UAAU,CAAgC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC9F,IAAA,QAAQ,EAAE;QACR,MAAM,EAAE,eAAa,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAG;AAC9C,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,SAAS,EAAE;AACT,YAAA,eAAe,EAAE,WAAW;AAC7B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACzB,QAAA,cAAc,EAAE;AACd,YAAA,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAChC,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
1
+ {"version":3,"file":"SettingsIndexCardStyles.js","sources":["../../../../src/components/SettingsIndexCard/SettingsIndexCardStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core'\n\nimport { SettingsIndexCardProps } from './SettingsIndexCardProps'\n\nexport const useSettingsIndexCardStyles = makeStyles<Theme, SettingsIndexCardProps>((theme) => ({\n cardRoot: {\n border: `1px solid ${theme.palette.grey[300]}`,\n alignSelf: 'stretch',\n flexGrow: 1,\n '&:hover': {\n backgroundColor: '#52B7FF1A',\n },\n },\n cardContentRoot: {\n padding: theme.spacing(4),\n '&:last-child': {\n paddingBottom: theme.spacing(4),\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,0BAA0B,GAAG,UAAU,CAAgC,UAAC,KAAK,EAAK,EAAA,QAAC;AAC9F,IAAA,QAAQ,EAAE;QACR,MAAM,EAAE,eAAa,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAG;AAC9C,QAAA,SAAS,EAAE,SAAS;AACpB,QAAA,QAAQ,EAAE,CAAC;AACX,QAAA,SAAS,EAAE;AACT,YAAA,eAAe,EAAE,WAAW;AAC7B,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE;AACf,QAAA,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AACzB,QAAA,cAAc,EAAE;AACd,YAAA,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAChC,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
@@ -1,13 +1,13 @@
1
1
  import { __rest, __assign } from 'tslib';
2
+ import { Snackbar } from '@material-ui/core';
2
3
  import React from 'react';
3
- import MuiSnackbar from '@material-ui/core/Snackbar';
4
4
  import { Alert } from '../Alert/Alert.js';
5
5
  import { useToastStyles } from './ToastStyles.js';
6
6
 
7
7
  var Toast = function (props) {
8
8
  var children = props.children, AlertProps = props.AlertProps, severity = props.severity, muiProps = __rest(props, ["children", "AlertProps", "severity"]);
9
9
  var classes = useToastStyles(props);
10
- return (React.createElement(MuiSnackbar, __assign({ ClickAwayListenerProps: { mouseEvent: false } }, muiProps),
10
+ return (React.createElement(Snackbar, __assign({ ClickAwayListenerProps: { mouseEvent: false } }, muiProps),
11
11
  React.createElement(Alert, __assign({ className: classes.root, action: null, severity: severity }, AlertProps), children)));
12
12
  };
13
13
  Toast.defaultProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"Toast.js","sources":["../../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import React, { FC } from 'react'\nimport MuiSnackbar from '@material-ui/core/Snackbar'\n\nimport Alert from '../Alert'\nimport { useToastStyles } from './ToastStyles'\nimport { ToastProps } from './ToastProps'\n\nexport const Toast: FC<ToastProps> = (props) => {\n const { children, AlertProps, severity, ...muiProps } = props\n const classes = useToastStyles(props)\n return (\n <MuiSnackbar ClickAwayListenerProps={{ mouseEvent: false }} {...muiProps}>\n <Alert className={classes.root} action={null} severity={severity} {...AlertProps}>\n {children}\n </Alert>\n </MuiSnackbar>\n )\n}\n\nToast.defaultProps = {\n AlertProps: {},\n autoHideDuration: 5000,\n}\n\nToast.displayName = 'Toast'\n"],"names":[],"mappings":";;;;;;AAOO,IAAM,KAAK,GAAmB,UAAC,KAAK,EAAA;IACjC,IAAA,QAAQ,GAAwC,KAAK,CAAA,QAA7C,EAAE,UAAU,GAA4B,KAAK,CAAjC,UAAA,EAAE,QAAQ,GAAkB,KAAK,SAAvB,EAAK,QAAQ,UAAK,KAAK,EAAvD,CAA+C,UAAA,EAAA,YAAA,EAAA,UAAA,CAAA,CAAF;AACnD,IAAA,IAAM,OAAO,GAAG,cAAc,CAAC,KAAK,CAAC;AACrC,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,WAAW,EAAA,QAAA,CAAA,EAAC,sBAAsB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,EAAA,EAAM,QAAQ,CAAA;QACtE,KAAC,CAAA,aAAA,CAAA,KAAK,aAAC,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAM,EAAA,UAAU,GAC7E,QAAQ,CACH,CACI;AAElB;AAEA,KAAK,CAAC,YAAY,GAAG;AACnB,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,gBAAgB,EAAE,IAAI;CACvB;AAED,KAAK,CAAC,WAAW,GAAG,OAAO;;;;"}
1
+ {"version":3,"file":"Toast.js","sources":["../../../../src/components/Toast/Toast.tsx"],"sourcesContent":["import { Snackbar as MuiSnackbar } from '@material-ui/core'\nimport React, { FC } from 'react'\n\nimport Alert from '../Alert'\nimport { ToastProps } from './ToastProps'\nimport { useToastStyles } from './ToastStyles'\n\nexport const Toast: FC<ToastProps> = (props) => {\n const { children, AlertProps, severity, ...muiProps } = props\n const classes = useToastStyles(props)\n return (\n <MuiSnackbar ClickAwayListenerProps={{ mouseEvent: false }} {...muiProps}>\n <Alert className={classes.root} action={null} severity={severity} {...AlertProps}>\n {children}\n </Alert>\n </MuiSnackbar>\n )\n}\n\nToast.defaultProps = {\n AlertProps: {},\n autoHideDuration: 5000,\n}\n\nToast.displayName = 'Toast'\n"],"names":["MuiSnackbar"],"mappings":";;;;;;AAOO,IAAM,KAAK,GAAmB,UAAC,KAAK,EAAA;IACjC,IAAA,QAAQ,GAAwC,KAAK,CAAA,QAA7C,EAAE,UAAU,GAA4B,KAAK,CAAjC,UAAA,EAAE,QAAQ,GAAkB,KAAK,SAAvB,EAAK,QAAQ,UAAK,KAAK,EAAvD,CAA+C,UAAA,EAAA,YAAA,EAAA,UAAA,CAAA,CAAF;AACnD,IAAA,IAAM,OAAO,GAAG,cAAc,CAAC,KAAK,CAAC;AACrC,IAAA,QACE,KAAA,CAAA,aAAA,CAACA,QAAW,EAAA,QAAA,CAAA,EAAC,sBAAsB,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,EAAA,EAAM,QAAQ,CAAA;QACtE,KAAC,CAAA,aAAA,CAAA,KAAK,aAAC,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAM,EAAA,UAAU,GAC7E,QAAQ,CACH,CACI;AAElB;AAEA,KAAK,CAAC,YAAY,GAAG;AACnB,IAAA,UAAU,EAAE,EAAE;AACd,IAAA,gBAAgB,EAAE,IAAI;CACvB;AAED,KAAK,CAAC,WAAW,GAAG,OAAO;;;;"}
@@ -1,5 +1,5 @@
1
- import { SnackbarProps } from '@material-ui/core/Snackbar';
2
- import { AlertProps as MuiAlertProps } from '@material-ui/lab/Alert';
1
+ import { SnackbarProps } from '@material-ui/core';
2
+ import { AlertProps as MuiAlertProps } from '@material-ui/lab';
3
3
  export interface ToastProps extends SnackbarProps {
4
4
  /** Applied to the built in [Alert](?path=/docs/admin-ui-alert--props) Component. */
5
5
  AlertProps?: Omit<MuiAlertProps, 'ref'>;
@@ -1,4 +1,4 @@
1
- import { makeStyles } from '@material-ui/core/styles';
1
+ import { makeStyles } from '@material-ui/core';
2
2
 
3
3
  var useToastStyles = makeStyles(function (theme) { return ({
4
4
  root: {
@@ -1 +1 @@
1
- {"version":3,"file":"ToastStyles.js","sources":["../../../../src/components/Toast/ToastStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core/styles'\n\nimport { ToastProps } from './ToastProps'\n\nexport const useToastStyles = makeStyles<Theme, ToastProps>((theme) => ({\n root: {\n boxSizing: 'border-box',\n padding: theme.spacing(0, 1.5),\n /** TODO: design to define responsive width value. */\n width: '350px',\n '& > div:first-child': {\n alignItems: 'center',\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,cAAc,GAAG,UAAU,CAAoB,UAAC,KAAK,EAAK,EAAA,QAAC;AACtE,IAAA,IAAI,EAAE;AACJ,QAAA,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC;;AAE9B,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,qBAAqB,EAAE;AACrB,YAAA,UAAU,EAAE,QAAQ;AACrB,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
1
+ {"version":3,"file":"ToastStyles.js","sources":["../../../../src/components/Toast/ToastStyles.ts"],"sourcesContent":["import { makeStyles, Theme } from '@material-ui/core'\n\nimport { ToastProps } from './ToastProps'\n\nexport const useToastStyles = makeStyles<Theme, ToastProps>((theme) => ({\n root: {\n boxSizing: 'border-box',\n padding: theme.spacing(0, 1.5),\n /** TODO: design to define responsive width value. */\n width: '350px',\n '& > div:first-child': {\n alignItems: 'center',\n },\n },\n}))\n"],"names":[],"mappings":";;AAIa,IAAA,cAAc,GAAG,UAAU,CAAoB,UAAC,KAAK,EAAK,EAAA,QAAC;AACtE,IAAA,IAAI,EAAE;AACJ,QAAA,SAAS,EAAE,YAAY;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC;;AAE9B,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,qBAAqB,EAAE;AACrB,YAAA,UAAU,EAAE,QAAQ;AACrB,SAAA;AACF,KAAA;CACF,EAAC,EAAA;;;;"}
@@ -4,24 +4,24 @@ export { default as AlertDialogHeader } from './AlertDialogHeader';
4
4
  export { default as AlertTitle, AlertTitleProps } from './AlertTitle';
5
5
  export { default as Button, ButtonProps } from './Button';
6
6
  export { default as ButtonGroup, ButtonGroupProps } from './ButtonGroup';
7
+ export { Dialog, DialogProps } from './Dialog';
8
+ export { DialogActions, DialogActionsProps } from './DialogActions';
9
+ export { DialogContent, DialogContentProps } from './DialogContent';
10
+ export { DialogTitle, DialogTitleProps } from './DialogTitle';
7
11
  export { default as FeatureIntro, FeatureIntroProps } from './FeatureIntro';
8
- export { default as FullScreenStepper, FullScreenStepperProps, FullScreenStepperContext } from './FullScreenStepper';
12
+ export * from './FullScreenStepper';
9
13
  export { default as FullScreenStepperActions, FullScreenStepperActionsProps } from './FullScreenStepperActions';
10
14
  export { default as FullScreenStepperContent } from './FullScreenStepperContent';
11
- export { default as SelectableCard, SelectableCardProps } from './SelectableCard';
12
- export { default as Toast, ToastProps } from './Toast';
13
- export { DialogTitle, DialogTitleProps } from './DialogTitle';
14
- export { DialogActions, DialogActionsProps } from './DialogActions';
15
- export { Dialog, DialogProps } from './Dialog';
16
- export { DialogContent, DialogContentProps } from './DialogContent';
15
+ export { List, ListProps } from './List';
17
16
  export { Page } from './Page';
18
17
  export { PageBody } from './PageBody';
19
18
  export { PageSection } from './PageSection';
20
- export { PageSections } from './PageSections';
21
19
  export { PageSectionHead } from './PageSectionHead';
20
+ export { PageSections } from './PageSections';
22
21
  export { PageSectionTitle } from './PageSectionTitle';
23
- export { SettingsIndexCardGroup } from './SettingsIndexCardGroup';
22
+ export { default as SelectableCard, SelectableCardProps } from './SelectableCard';
24
23
  export { SettingsIndexCard, SettingsIndexCardProps } from './SettingsIndexCard';
25
- export { List, ListProps } from './List';
24
+ export { SettingsIndexCardGroup } from './SettingsIndexCardGroup';
26
25
  export { StandardListItem, StandardListItemProps } from './StandardListItem';
27
- export { Switch, SwitchProps, TextField, TextFieldProps, MenuItem, MenuItemProps, CircularProgress, CircularProgressProps, } from '@material-ui/core';
26
+ export { default as Toast, ToastProps } from './Toast';
27
+ export { CircularProgress, CircularProgressProps, MenuItem, MenuItemProps, Switch, SwitchProps, TextField, TextFieldProps, } from '@material-ui/core';
@@ -4,25 +4,25 @@ export { AlertDialogHeader } from './components/AlertDialogHeader/AlertDialogHea
4
4
  export { AlertTitle } from './components/AlertTitle/AlertTitle.js';
5
5
  export { Button } from './components/Button/Button.js';
6
6
  export { ButtonGroup } from './components/ButtonGroup/ButtonGroup.js';
7
+ export { Dialog, DialogContent, DialogTitle } from '@popmenu/common-ui';
8
+ export { DialogActions } from './components/DialogActions/DialogActions.js';
7
9
  export { FeatureIntro } from './components/FeatureIntro/FeatureIntro.js';
8
10
  export { FullScreenStepper } from './components/FullScreenStepper/FullScreenStepper.js';
9
11
  export { FullScreenStepperContext } from './components/FullScreenStepper/FullScreenStepperContext.js';
10
12
  export { FullScreenStepperActions } from './components/FullScreenStepperActions/FullScreenStepperActions.js';
11
13
  export { FullScreenStepperContent } from './components/FullScreenStepperContent/FullScreenStepperContent.js';
12
- export { SelectableCard } from './components/SelectableCard/SelectableCard.js';
13
- export { Toast } from './components/Toast/Toast.js';
14
- export { Dialog, DialogContent, DialogTitle } from '@popmenu/common-ui';
15
- export { DialogActions } from './components/DialogActions/DialogActions.js';
14
+ export { List } from './components/List/List.js';
16
15
  export { Page } from './components/Page/Page.js';
17
16
  export { PageBody } from './components/PageBody/PageBody.js';
18
17
  export { PageSection } from './components/PageSection/PageSection.js';
19
- export { PageSections } from './components/PageSections/PageSections.js';
20
18
  export { PageSectionHead } from './components/PageSectionHead/PageSectionHead.js';
19
+ export { PageSections } from './components/PageSections/PageSections.js';
21
20
  export { PageSectionTitle } from './components/PageSectionTitle/PageSectionTitle.js';
22
- export { SettingsIndexCardGroup } from './components/SettingsIndexCardGroup/SettingsIndexCardGroup.js';
21
+ export { SelectableCard } from './components/SelectableCard/SelectableCard.js';
23
22
  export { SettingsIndexCard } from './components/SettingsIndexCard/SettingsIndexCard.js';
24
- export { List } from './components/List/List.js';
23
+ export { SettingsIndexCardGroup } from './components/SettingsIndexCardGroup/SettingsIndexCardGroup.js';
25
24
  export { StandardListItem } from './components/StandardListItem/StandardListItem.js';
25
+ export { Toast } from './components/Toast/Toast.js';
26
26
  export { CircularProgress, MenuItem, Switch, TextField } from '@material-ui/core';
27
27
  export { useFullScreenStepperContext } from './hooks/useFullScreenStepperContext.js';
28
28
  export { useSelectableCard } from './hooks/useSelectableCard.js';
@@ -36,7 +36,7 @@ export declare const adminDarkOptions: {
36
36
  appBar: number;
37
37
  drawer: number;
38
38
  modal: number;
39
- snackbar: number; /** Legacy Properties. Avoid new usage. */
39
+ snackbar: number;
40
40
  tooltip: number;
41
41
  };
42
42
  placeholder: string;
@@ -116,7 +116,7 @@ export declare const adminDarkOptions: {
116
116
  blue: {
117
117
  light: string;
118
118
  main: string;
119
- dark: string;
119
+ dark: string; /** Legacy Properties. Avoid new usage. */
120
120
  darker: string;
121
121
  };
122
122
  green: {
@@ -242,11 +242,11 @@ export declare const adminDarkOptions: {
242
242
  '&$checked': {
243
243
  color: string;
244
244
  '& + $track': {
245
- background: string; /** Legacy Properties. Avoid new usage. */
245
+ background: string;
246
246
  };
247
247
  };
248
248
  };
249
249
  };
250
250
  };
251
251
  };
252
- export declare const adminDark: import("@material-ui/core/styles/createTheme").Theme;
252
+ export declare const adminDark: import("@material-ui/core").Theme;
@@ -1,10 +1,10 @@
1
1
  import { __assign } from 'tslib';
2
- import createTheme from '@material-ui/core/styles/createTheme';
3
- import { adminThemeTypography } from './typography.js';
2
+ import { createTheme } from '@material-ui/core';
4
3
  import { adminThemeBreakpoints } from './breakpoints.js';
5
- import { basePalette, adminDarkPalette, dataVizPalette } from './palette.js';
6
4
  import { adminDarkPlaceholder, adminThemeZIndex, adminThemeStatus, adminThemeDefaultProps } from './customThemeProperties.js';
7
5
  import { overrides } from './overrides.js';
6
+ import { basePalette, adminDarkPalette, dataVizPalette } from './palette.js';
7
+ import { adminThemeTypography } from './typography.js';
8
8
 
9
9
  var adminDarkOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Dark', palette: __assign(__assign(__assign({}, basePalette), adminDarkPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography, overrides: overrides }, adminDarkPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
10
10
  var adminDark = createTheme(adminDarkOptions);
@@ -1 +1 @@
1
- {"version":3,"file":"adminDarkTheme.js","sources":["../../../src/theme/adminDarkTheme.ts"],"sourcesContent":["import createTheme, { ThemeOptions } from '@material-ui/core/styles/createTheme'\n\nimport { adminThemeTypography } from './typography'\nimport { adminThemeBreakpoints } from './breakpoints'\nimport { adminDarkPalette, basePalette, dataVizPalette } from './palette'\nimport {\n adminDarkPlaceholder,\n adminThemeZIndex,\n adminThemeStatus,\n adminThemeDefaultProps,\n} from './customThemeProperties'\nimport { overrides } from './overrides'\n\nexport const adminDarkOptions = {\n themeName: 'Admin Dark',\n palette: {\n ...basePalette,\n ...adminDarkPalette,\n ...dataVizPalette,\n },\n breakpoints: adminThemeBreakpoints,\n typography: adminThemeTypography,\n overrides: overrides,\n /** Legacy Properties. Avoid new usage. */\n ...adminDarkPlaceholder,\n ...adminThemeZIndex,\n ...adminThemeStatus,\n ...adminThemeDefaultProps,\n}\n\nexport const adminDark = createTheme(adminDarkOptions as ThemeOptions)\n"],"names":[],"mappings":";;;;;;;;AAaa,IAAA,gBAAgB,GAC3B,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,SAAS,EAAE,YAAY,EACvB,OAAO,EAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,EACF,WAAW,CACX,EAAA,gBAAgB,CAChB,EAAA,cAAc,GAEnB,WAAW,EAAE,qBAAqB,EAClC,UAAU,EAAE,oBAAoB,EAChC,SAAS,EAAE,SAAS,EAAA,EAEjB,oBAAoB,CAAA,EACpB,gBAAgB,CAChB,EAAA,gBAAgB,CAChB,EAAA,sBAAsB;IAGd,SAAS,GAAG,WAAW,CAAC,gBAAgC;;;;"}
1
+ {"version":3,"file":"adminDarkTheme.js","sources":["../../../src/theme/adminDarkTheme.ts"],"sourcesContent":["import { createTheme, ThemeOptions } from '@material-ui/core'\n\nimport { adminThemeBreakpoints } from './breakpoints'\nimport {\n adminDarkPlaceholder,\n adminThemeDefaultProps,\n adminThemeStatus,\n adminThemeZIndex,\n} from './customThemeProperties'\nimport { overrides } from './overrides'\nimport { adminDarkPalette, basePalette, dataVizPalette } from './palette'\nimport { adminThemeTypography } from './typography'\n\nexport const adminDarkOptions = {\n themeName: 'Admin Dark',\n palette: {\n ...basePalette,\n ...adminDarkPalette,\n ...dataVizPalette,\n },\n breakpoints: adminThemeBreakpoints,\n typography: adminThemeTypography,\n overrides: overrides,\n /** Legacy Properties. Avoid new usage. */\n ...adminDarkPlaceholder,\n ...adminThemeZIndex,\n ...adminThemeStatus,\n ...adminThemeDefaultProps,\n}\n\nexport const adminDark = createTheme(adminDarkOptions as ThemeOptions)\n"],"names":[],"mappings":";;;;;;;;AAaa,IAAA,gBAAgB,GAC3B,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,SAAS,EAAE,YAAY,EACvB,OAAO,EAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,EACF,WAAW,CACX,EAAA,gBAAgB,CAChB,EAAA,cAAc,GAEnB,WAAW,EAAE,qBAAqB,EAClC,UAAU,EAAE,oBAAoB,EAChC,SAAS,EAAE,SAAS,EAAA,EAEjB,oBAAoB,CAAA,EACpB,gBAAgB,CAChB,EAAA,gBAAgB,CAChB,EAAA,sBAAsB;IAGd,SAAS,GAAG,WAAW,CAAC,gBAAgC;;;;"}
@@ -118,7 +118,7 @@ export declare const adminLightOptions: {
118
118
  light: string;
119
119
  main: string;
120
120
  dark: string;
121
- darker: string; /** Legacy Properties. Avoid new usage. */
121
+ darker: string;
122
122
  };
123
123
  green: {
124
124
  light: string;
@@ -250,4 +250,4 @@ export declare const adminLightOptions: {
250
250
  };
251
251
  };
252
252
  };
253
- export declare const adminLight: import("@material-ui/core/styles/createTheme").Theme;
253
+ export declare const adminLight: import("@material-ui/core").Theme;
@@ -1,10 +1,10 @@
1
1
  import { __assign } from 'tslib';
2
- import createTheme from '@material-ui/core/styles/createTheme';
3
- import { adminThemeTypography } from './typography.js';
2
+ import { createTheme } from '@material-ui/core';
4
3
  import { adminThemeBreakpoints } from './breakpoints.js';
5
- import { basePalette, adminLightPalette, dataVizPalette } from './palette.js';
6
4
  import { adminLightPlaceholder, adminThemeZIndex, adminThemeStatus, adminThemeDefaultProps } from './customThemeProperties.js';
7
5
  import { overrides } from './overrides.js';
6
+ import { basePalette, adminLightPalette, dataVizPalette } from './palette.js';
7
+ import { adminThemeTypography } from './typography.js';
8
8
 
9
9
  var adminLightOptions = __assign(__assign(__assign(__assign({ themeName: 'Admin Light', palette: __assign(__assign(__assign({}, basePalette), adminLightPalette), dataVizPalette), breakpoints: adminThemeBreakpoints, typography: adminThemeTypography, overrides: overrides }, adminLightPlaceholder), adminThemeZIndex), adminThemeStatus), adminThemeDefaultProps);
10
10
  var adminLight = createTheme(adminLightOptions);
@@ -1 +1 @@
1
- {"version":3,"file":"adminLightTheme.js","sources":["../../../src/theme/adminLightTheme.ts"],"sourcesContent":["import createTheme, { ThemeOptions } from '@material-ui/core/styles/createTheme'\n\nimport { adminThemeTypography } from './typography'\nimport { adminThemeBreakpoints } from './breakpoints'\nimport { basePalette, adminLightPalette, dataVizPalette } from './palette'\nimport {\n adminLightPlaceholder,\n adminThemeZIndex,\n adminThemeStatus,\n adminThemeDefaultProps,\n} from './customThemeProperties'\nimport { overrides } from './overrides'\n\nexport const adminLightOptions = {\n themeName: 'Admin Light',\n palette: {\n ...basePalette,\n ...adminLightPalette,\n ...dataVizPalette,\n },\n breakpoints: adminThemeBreakpoints,\n typography: adminThemeTypography,\n overrides: overrides,\n /** Legacy Properties. Avoid new usage. */\n ...adminLightPlaceholder,\n ...adminThemeZIndex,\n ...adminThemeStatus,\n ...adminThemeDefaultProps,\n}\n\nexport const adminLight = createTheme(adminLightOptions as ThemeOptions)\n"],"names":[],"mappings":";;;;;;;;AAaa,IAAA,iBAAiB,GAC5B,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,SAAS,EAAE,aAAa,EACxB,OAAO,EAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,EACF,WAAW,CACX,EAAA,iBAAiB,CACjB,EAAA,cAAc,GAEnB,WAAW,EAAE,qBAAqB,EAClC,UAAU,EAAE,oBAAoB,EAChC,SAAS,EAAE,SAAS,EAAA,EAEjB,qBAAqB,CAAA,EACrB,gBAAgB,CAChB,EAAA,gBAAgB,CAChB,EAAA,sBAAsB;IAGd,UAAU,GAAG,WAAW,CAAC,iBAAiC;;;;"}
1
+ {"version":3,"file":"adminLightTheme.js","sources":["../../../src/theme/adminLightTheme.ts"],"sourcesContent":["import { createTheme, ThemeOptions } from '@material-ui/core'\n\nimport { adminThemeBreakpoints } from './breakpoints'\nimport {\n adminLightPlaceholder,\n adminThemeDefaultProps,\n adminThemeStatus,\n adminThemeZIndex,\n} from './customThemeProperties'\nimport { overrides } from './overrides'\nimport { adminLightPalette, basePalette, dataVizPalette } from './palette'\nimport { adminThemeTypography } from './typography'\n\nexport const adminLightOptions = {\n themeName: 'Admin Light',\n palette: {\n ...basePalette,\n ...adminLightPalette,\n ...dataVizPalette,\n },\n breakpoints: adminThemeBreakpoints,\n typography: adminThemeTypography,\n overrides: overrides,\n /** Legacy Properties. Avoid new usage. */\n ...adminLightPlaceholder,\n ...adminThemeZIndex,\n ...adminThemeStatus,\n ...adminThemeDefaultProps,\n}\n\nexport const adminLight = createTheme(adminLightOptions as ThemeOptions)\n"],"names":[],"mappings":";;;;;;;;AAaa,IAAA,iBAAiB,GAC5B,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,SAAS,EAAE,aAAa,EACxB,OAAO,EAAA,QAAA,CAAA,QAAA,CAAA,QAAA,CAAA,EAAA,EACF,WAAW,CACX,EAAA,iBAAiB,CACjB,EAAA,cAAc,GAEnB,WAAW,EAAE,qBAAqB,EAClC,UAAU,EAAE,oBAAoB,EAChC,SAAS,EAAE,SAAS,EAAA,EAEjB,qBAAqB,CAAA,EACrB,gBAAgB,CAChB,EAAA,gBAAgB,CAChB,EAAA,sBAAsB;IAGd,UAAU,GAAG,WAAW,CAAC,iBAAiC;;;;"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@popmenu/admin-ui",
3
- "version": "0.126.1",
3
+ "version": "0.126.3",
4
4
  "license": "MIT",
5
5
  "author": "Popmenu Design System Team",
6
6
  "description": "React components specifically for the MyPop web app.",
7
- "main": "./build/index.js",
7
+ "main": "./build/cjs/index.js",
8
8
  "module": "./build/esm/index.js",
9
9
  "types": "./build/esm/index.d.ts",
10
10
  "type": "module",
@@ -32,5 +32,5 @@
32
32
  "react-table": "^7.7.0"
33
33
  },
34
34
  "sideEffects": false,
35
- "gitHead": "0c346e293dc09a195a490762b321f9c1e9a65f5b"
35
+ "gitHead": "fad12917e894fb081b35141e0de8b95f054ed860"
36
36
  }
@@ -1,25 +0,0 @@
1
- import { FullScreenStepperSubProps } from '../FullScreenStepperProps';
2
- export declare namespace FullScreenStepperTypes {
3
- /** The current active step. Counts up from 1. */
4
- type StepCursor = number;
5
- /** An updater function the state controlling which step is active. */
6
- type SetStepCursor = (step: number) => void;
7
- /** The total number of steps. */
8
- type StepCount = number;
9
- /** The index of the current step in the steps array. */
10
- type StepIndex = number;
11
- /** Indicates that the FullScreenStepper is showing the last step in the steps array. */
12
- type IsFinalStep = boolean;
13
- interface EventCallbackArgs {
14
- /** The current step object. */
15
- step: FullScreenStepperSubProps.Step;
16
- /** The total number of steps. */
17
- stepCount: number;
18
- /** The index of the current step in the steps array. */
19
- stepIndex: number;
20
- /** An updater function the state controlling which step is active. */
21
- setStepCursor: (cursor: number) => void;
22
- /** The steps prop that is passed into the FullScreenStepper */
23
- steps: Array<FullScreenStepperSubProps.Step>;
24
- }
25
- }