@careevolution/mydatahelps-ui 1.8.4 → 1.9.0

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 (38) hide show
  1. package/dist/cjs/index.js +3 -3
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +1 -0
  4. package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
  5. package/dist/cjs/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
  6. package/dist/cjs/types/components/step/CelebrationStep/index.d.ts +1 -0
  7. package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
  8. package/dist/cjs/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
  9. package/dist/cjs/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
  10. package/dist/cjs/types/components/step/StepImage/StepImage.d.ts +4 -0
  11. package/dist/cjs/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
  12. package/dist/cjs/types/components/step/StepImage/index.d.ts +1 -0
  13. package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
  14. package/dist/cjs/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
  15. package/dist/cjs/types/components/step/StepImageIcon/index.d.ts +1 -0
  16. package/dist/cjs/types/components/step/index.d.ts +4 -0
  17. package/dist/cjs/types/components/step/shared.d.ts +3 -0
  18. package/dist/cjs/types/helpers/confetti.d.ts +4 -0
  19. package/dist/esm/index.js +3 -3
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/esm/types/components/presentational/SingleSurveyTask/SingleSurveyTask.stories.d.ts +1 -0
  22. package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.d.ts +13 -0
  23. package/dist/esm/types/components/step/CelebrationStep/CelebrationStep.stories.d.ts +7 -0
  24. package/dist/esm/types/components/step/CelebrationStep/index.d.ts +1 -0
  25. package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.d.ts +2 -0
  26. package/dist/esm/types/components/step/CelebrationStepContainer/CelebrationStepContainer.stories.d.ts +5 -0
  27. package/dist/esm/types/components/step/CelebrationStepContainer/index.d.ts +1 -0
  28. package/dist/esm/types/components/step/StepImage/StepImage.d.ts +4 -0
  29. package/dist/esm/types/components/step/StepImage/StepImage.stories.d.ts +6 -0
  30. package/dist/esm/types/components/step/StepImage/index.d.ts +1 -0
  31. package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.d.ts +4 -0
  32. package/dist/esm/types/components/step/StepImageIcon/StepImageIcon.stories.d.ts +6 -0
  33. package/dist/esm/types/components/step/StepImageIcon/index.d.ts +1 -0
  34. package/dist/esm/types/components/step/index.d.ts +4 -0
  35. package/dist/esm/types/components/step/shared.d.ts +3 -0
  36. package/dist/esm/types/helpers/confetti.d.ts +4 -0
  37. package/dist/index.d.ts +75 -53
  38. package/package.json +3 -2
@@ -5,3 +5,4 @@ export default _default;
5
5
  export declare const Incomplete: ComponentStory<typeof SingleSurveyTask>;
6
6
  export declare const Complete: ComponentStory<typeof SingleSurveyTask>;
7
7
  export declare const InProgress: ComponentStory<typeof SingleSurveyTask>;
8
+ export declare const LongDescription: ComponentStory<typeof SingleSurveyTask>;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export interface CelebrationStepProps {
3
+ title?: string;
4
+ text?: string;
5
+ detailText?: string;
6
+ iconUrl?: string;
7
+ imageUrl?: string;
8
+ nextButtonText?: string;
9
+ styles: {
10
+ [key: string]: any;
11
+ };
12
+ }
13
+ export default function (props: CelebrationStepProps): JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ComponentStory, ComponentMeta } from "@storybook/react";
2
+ import CelebrationStep from "./CelebrationStep";
3
+ declare const _default: ComponentMeta<typeof CelebrationStep>;
4
+ export default _default;
5
+ export declare const CelebrationStepDefault: ComponentStory<typeof CelebrationStep>;
6
+ export declare const CelebrationStepCustomStyling: ComponentStory<typeof CelebrationStep>;
7
+ export declare const CelebrationStepEmpty: ComponentStory<typeof CelebrationStep>;
@@ -0,0 +1 @@
1
+ export { default } from "./CelebrationStep";
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export default function (): JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { ComponentStory, ComponentMeta } from "@storybook/react";
2
+ import CelebrationStepContainer from "./CelebrationStepContainer";
3
+ declare const _default: ComponentMeta<typeof CelebrationStepContainer>;
4
+ export default _default;
5
+ export declare const CelebrationStepContainerDefault: ComponentStory<typeof CelebrationStepContainer>;
@@ -0,0 +1 @@
1
+ export { default } from "./CelebrationStepContainer";
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './StepImage.css';
3
+ import { IconElementProps } from '../shared';
4
+ export default function (props: IconElementProps): JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ import { ComponentStory, ComponentMeta } from "@storybook/react";
2
+ import StepImage from "./StepImage";
3
+ declare const _default: ComponentMeta<typeof StepImage>;
4
+ export default _default;
5
+ export declare const StepImageIconNoSrc: ComponentStory<typeof StepImage>;
6
+ export declare const StepImageIconWithSrc: ComponentStory<typeof StepImage>;
@@ -0,0 +1 @@
1
+ export { default } from "./StepImage";
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './StepImageIcon.css';
3
+ import { IconElementProps } from '../shared';
4
+ export default function (props: IconElementProps): JSX.Element | null;
@@ -0,0 +1,6 @@
1
+ import { ComponentStory, ComponentMeta } from "@storybook/react";
2
+ import StepImageIcon from "./StepImageIcon";
3
+ declare const _default: ComponentMeta<typeof StepImageIcon>;
4
+ export default _default;
5
+ export declare const StepImageIconNoSrc: ComponentStory<typeof StepImageIcon>;
6
+ export declare const StepImageIconWithSrc: ComponentStory<typeof StepImageIcon>;
@@ -0,0 +1 @@
1
+ export { default } from "./StepImageIcon";
@@ -4,5 +4,9 @@ export { default as StepTitle } from "./StepTitle";
4
4
  export { default as StepText } from "./StepText";
5
5
  export { default as StepDetailText } from "./StepDetailText";
6
6
  export { default as StepNextButton } from "./StepNextButton";
7
+ export { default as StepImage } from "./StepImage";
8
+ export { default as StepImageIcon } from "./StepImageIcon";
7
9
  export { default as YouTubeStep } from "./YouTubeStep";
8
10
  export { default as YouTubeStepContainer } from "./YouTubeStepContainer";
11
+ export { default as CelebrationStep } from "./CelebrationStep";
12
+ export { default as CelebrationStepContainer } from "./CelebrationStepContainer";
@@ -5,3 +5,6 @@ export interface StepElementProps {
5
5
  fontSize?: string;
6
6
  fontWeight?: string;
7
7
  }
8
+ export interface IconElementProps {
9
+ srcUrl?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ export declare function startConfetti(): void;
2
+ export declare function stopConfetti(): void;
3
+ export declare function removeConfetti(): void;
4
+ export declare function toggleConfetti(): void;