@careevolution/mydatahelps-ui 2.12.1-SSComponents.0 → 2.13.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 (106) hide show
  1. package/dist/cjs/index.js +10 -9
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.d.ts +8 -0
  4. package/dist/cjs/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.previewData.d.ts +10 -0
  5. package/dist/cjs/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.stories.d.ts +23 -0
  6. package/dist/cjs/types/components/asthma/components/AsthmaProviderReport/index.d.ts +2 -0
  7. package/dist/cjs/types/components/asthma/components/AsthmaRecommendedArticle/AsthmaRecommendedArticle.d.ts +14 -0
  8. package/dist/cjs/types/components/asthma/components/AsthmaRecommendedArticle/AsthmaRecommendedArticle.stories.d.ts +52 -0
  9. package/dist/cjs/types/components/asthma/components/AsthmaRecommendedArticle/index.d.ts +1 -0
  10. package/dist/cjs/types/components/asthma/components/index.d.ts +2 -0
  11. package/dist/cjs/types/components/asthma/helpers/asthma-data.d.ts +5 -3
  12. package/dist/cjs/types/components/asthma/model/types.d.ts +3 -9
  13. package/dist/cjs/types/components/asthma/views/AsthmaProviderReportView/AsthmaProviderReportView.d.ts +7 -0
  14. package/dist/cjs/types/components/asthma/views/AsthmaProviderReportView/AsthmaProviderReportView.stories.d.ts +13 -0
  15. package/dist/cjs/types/components/asthma/views/AsthmaProviderReportView/index.d.ts +1 -0
  16. package/dist/cjs/types/components/asthma/views/index.d.ts +1 -0
  17. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.d.ts +3 -1
  18. package/dist/cjs/types/components/container/InboxItemList/InboxItemList.stories.d.ts +16 -0
  19. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -1
  20. package/dist/cjs/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +9 -2
  21. package/dist/cjs/types/components/presentational/Resource/Resource.d.ts +2 -1
  22. package/dist/cjs/types/components/presentational/Resource/Resource.stories.d.ts +5 -3
  23. package/dist/cjs/types/components/presentational/Resource/index.d.ts +1 -1
  24. package/dist/cjs/types/components/presentational/ResourceList/ResourceList.d.ts +3 -1
  25. package/dist/cjs/types/components/presentational/ResourceList/ResourceList.stories.d.ts +14 -0
  26. package/dist/cjs/types/components/presentational/index.d.ts +1 -1
  27. package/dist/cjs/types/components/symptom-shark/container/index.d.ts +0 -1
  28. package/dist/cjs/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +2 -5
  29. package/dist/cjs/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +0 -1
  30. package/dist/cjs/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +0 -1
  31. package/dist/cjs/types/components/symptom-shark/presentational/index.d.ts +0 -3
  32. package/dist/cjs/types/components/symptom-shark/view/index.d.ts +0 -1
  33. package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +3 -1
  34. package/dist/cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts +14 -0
  35. package/dist/esm/index.js +8 -7
  36. package/dist/esm/index.js.map +1 -1
  37. package/dist/esm/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.d.ts +8 -0
  38. package/dist/esm/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.previewData.d.ts +10 -0
  39. package/dist/esm/types/components/asthma/components/AsthmaProviderReport/AsthmaProviderReport.stories.d.ts +23 -0
  40. package/dist/esm/types/components/asthma/components/AsthmaProviderReport/index.d.ts +2 -0
  41. package/dist/esm/types/components/asthma/components/AsthmaRecommendedArticle/AsthmaRecommendedArticle.d.ts +14 -0
  42. package/dist/esm/types/components/asthma/components/AsthmaRecommendedArticle/AsthmaRecommendedArticle.stories.d.ts +52 -0
  43. package/dist/esm/types/components/asthma/components/AsthmaRecommendedArticle/index.d.ts +1 -0
  44. package/dist/esm/types/components/asthma/components/index.d.ts +2 -0
  45. package/dist/esm/types/components/asthma/helpers/asthma-data.d.ts +5 -3
  46. package/dist/esm/types/components/asthma/model/types.d.ts +3 -9
  47. package/dist/esm/types/components/asthma/views/AsthmaProviderReportView/AsthmaProviderReportView.d.ts +7 -0
  48. package/dist/esm/types/components/asthma/views/AsthmaProviderReportView/AsthmaProviderReportView.stories.d.ts +13 -0
  49. package/dist/esm/types/components/asthma/views/AsthmaProviderReportView/index.d.ts +1 -0
  50. package/dist/esm/types/components/asthma/views/index.d.ts +1 -0
  51. package/dist/esm/types/components/container/InboxItemList/InboxItemList.d.ts +3 -1
  52. package/dist/esm/types/components/container/InboxItemList/InboxItemList.stories.d.ts +16 -0
  53. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.d.ts +2 -1
  54. package/dist/esm/types/components/presentational/InboxResourceListItem/InboxResourceListItem.stories.d.ts +9 -2
  55. package/dist/esm/types/components/presentational/Resource/Resource.d.ts +2 -1
  56. package/dist/esm/types/components/presentational/Resource/Resource.stories.d.ts +5 -3
  57. package/dist/esm/types/components/presentational/Resource/index.d.ts +1 -1
  58. package/dist/esm/types/components/presentational/ResourceList/ResourceList.d.ts +3 -1
  59. package/dist/esm/types/components/presentational/ResourceList/ResourceList.stories.d.ts +14 -0
  60. package/dist/esm/types/components/presentational/index.d.ts +1 -1
  61. package/dist/esm/types/components/symptom-shark/container/index.d.ts +0 -1
  62. package/dist/esm/types/components/symptom-shark/helpers/symptom-shark-data.d.ts +2 -5
  63. package/dist/esm/types/components/symptom-shark/presentational/OverallExperienceChart/OverallExperienceChart.d.ts +0 -1
  64. package/dist/esm/types/components/symptom-shark/presentational/SymptomSeverityChart/SymptomSeverityChart.d.ts +0 -1
  65. package/dist/esm/types/components/symptom-shark/presentational/index.d.ts +0 -3
  66. package/dist/esm/types/components/symptom-shark/view/index.d.ts +0 -1
  67. package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +3 -1
  68. package/dist/esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts +14 -0
  69. package/dist/index.d.ts +918 -931
  70. package/package.json +1 -1
  71. package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +0 -10
  72. package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +0 -16
  73. package/dist/cjs/types/components/symptom-shark/container/ReportBuilder/index.d.ts +0 -1
  74. package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +0 -7
  75. package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +0 -13
  76. package/dist/cjs/types/components/symptom-shark/presentational/BulletChart/index.d.ts +0 -1
  77. package/dist/cjs/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +0 -7
  78. package/dist/cjs/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +0 -7
  79. package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +0 -12
  80. package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +0 -13
  81. package/dist/cjs/types/components/symptom-shark/presentational/MonthReport/index.d.ts +0 -1
  82. package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +0 -7
  83. package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +0 -13
  84. package/dist/cjs/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +0 -1
  85. package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +0 -6
  86. package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +0 -20
  87. package/dist/cjs/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +0 -1
  88. package/dist/cjs/types/helpers/renderPdf.d.ts +0 -2
  89. package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.d.ts +0 -10
  90. package/dist/esm/types/components/symptom-shark/container/ReportBuilder/ReportBuilder.stories.d.ts +0 -16
  91. package/dist/esm/types/components/symptom-shark/container/ReportBuilder/index.d.ts +0 -1
  92. package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.d.ts +0 -7
  93. package/dist/esm/types/components/symptom-shark/presentational/BulletChart/BulletChart.stories.d.ts +0 -13
  94. package/dist/esm/types/components/symptom-shark/presentational/BulletChart/index.d.ts +0 -1
  95. package/dist/esm/types/components/symptom-shark/presentational/IconSelector/IconSelector.d.ts +0 -7
  96. package/dist/esm/types/components/symptom-shark/presentational/LogEntryIcon/LogEntryIcon.d.ts +0 -7
  97. package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.d.ts +0 -12
  98. package/dist/esm/types/components/symptom-shark/presentational/MonthReport/MonthReport.stories.d.ts +0 -13
  99. package/dist/esm/types/components/symptom-shark/presentational/MonthReport/index.d.ts +0 -1
  100. package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.d.ts +0 -7
  101. package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/NotesTimeline.stories.d.ts +0 -13
  102. package/dist/esm/types/components/symptom-shark/presentational/NotesTimeline/index.d.ts +0 -1
  103. package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.d.ts +0 -6
  104. package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/ReportBuilderView.stories.d.ts +0 -20
  105. package/dist/esm/types/components/symptom-shark/view/ReportBuilderView/index.d.ts +0 -1
  106. package/dist/esm/types/helpers/renderPdf.d.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.12.1-SSComponents.0",
3
+ "version": "2.13.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import "./ReportBuilder.css";
3
- export interface SymptomSharkReportBuilderProps {
4
- productLogo?: string;
5
- productName?: string;
6
- productUrl?: string;
7
- previewState?: "default";
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function ReportBuilder(props: SymptomSharkReportBuilderProps): React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import SymptomSharkReportBuilder, { SymptomSharkReportBuilderProps } from "./ReportBuilder";
3
- declare const _default: {
4
- title: string;
5
- component: typeof SymptomSharkReportBuilder;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: SymptomSharkReportBuilderProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from "./ReportBuilder";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import "./BulletChart.css";
3
- export interface SymptomSharkBulletChartProps {
4
- intervalStart?: Date;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: SymptomSharkBulletChartProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import BulletChart, { SymptomSharkBulletChartProps } from "./BulletChart";
3
- declare const _default: {
4
- title: string;
5
- component: typeof BulletChart;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkBulletChartProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./BulletChart";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import "./IconSelector.css";
3
- interface IconSelectorProps {
4
- onIconSelect(icon: string): void;
5
- }
6
- export default function (props: IconSelectorProps): React.JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export type LogEntryIconKey = "star" | "star-o" | "user-md" | "hospital-o" | "ambulance" | "flag" | "moon-o" | "flask" | "bolt" | "question-circle-o" | "thermometer" | "trophy" | "spoon";
3
- export interface LogEntryIconProps {
4
- icon?: LogEntryIconKey;
5
- className?: string;
6
- }
7
- export default function LogEntryIcon(props: LogEntryIconProps): React.JSX.Element;
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import "./MonthReport.css";
3
- export interface SymptomSharkMonthReportProps {
4
- includeNotes: boolean;
5
- includeDailyOverallFeeling: boolean;
6
- productLogo?: string;
7
- productName?: string;
8
- productUrl?: string;
9
- intervalStart?: Date;
10
- innerRef?: React.Ref<HTMLTableElement>;
11
- }
12
- export default function (props: SymptomSharkMonthReportProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import MonthReport, { SymptomSharkMonthReportProps } from "./MonthReport";
3
- declare const _default: {
4
- title: string;
5
- component: typeof MonthReport;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkMonthReportProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./MonthReport";
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import "./NotesTimeline.css";
3
- export interface SymptomSharkNotesTimelineProps {
4
- intervalStart?: Date;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: SymptomSharkNotesTimelineProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import NotesTimeline, { SymptomSharkNotesTimelineProps } from "./NotesTimeline";
3
- declare const _default: {
4
- title: string;
5
- component: typeof NotesTimeline;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkNotesTimelineProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./NotesTimeline";
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface SymptomSharkReportBuilderViewProps {
3
- colorScheme?: "light" | "dark" | "auto";
4
- previewState?: "default";
5
- }
6
- export default function (props: SymptomSharkReportBuilderViewProps): React.JSX.Element;
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- import SymptomSharkReportBuilderView, { SymptomSharkReportBuilderViewProps } from "./ReportBuilderView";
3
- declare const _default: {
4
- title: string;
5
- component: typeof SymptomSharkReportBuilderView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
16
- };
17
- export declare const Live: {
18
- args: {};
19
- render: (args: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
20
- };
@@ -1 +0,0 @@
1
- export { default } from "./ReportBuilderView";
@@ -1,2 +0,0 @@
1
- import { Guid } from "@careevolution/mydatahelps-js";
2
- export default function renderPdf(reportHtml: string, participantID: Guid): Promise<void>;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import "./ReportBuilder.css";
3
- export interface SymptomSharkReportBuilderProps {
4
- productLogo?: string;
5
- productName?: string;
6
- productUrl?: string;
7
- previewState?: "default";
8
- innerRef?: React.Ref<HTMLDivElement>;
9
- }
10
- export default function ReportBuilder(props: SymptomSharkReportBuilderProps): React.JSX.Element;
@@ -1,16 +0,0 @@
1
- import React from "react";
2
- import SymptomSharkReportBuilder, { SymptomSharkReportBuilderProps } from "./ReportBuilder";
3
- declare const _default: {
4
- title: string;
5
- component: typeof SymptomSharkReportBuilder;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: SymptomSharkReportBuilderProps) => React.JSX.Element;
16
- };
@@ -1 +0,0 @@
1
- export { default } from "./ReportBuilder";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import "./BulletChart.css";
3
- export interface SymptomSharkBulletChartProps {
4
- intervalStart?: Date;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: SymptomSharkBulletChartProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import BulletChart, { SymptomSharkBulletChartProps } from "./BulletChart";
3
- declare const _default: {
4
- title: string;
5
- component: typeof BulletChart;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkBulletChartProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./BulletChart";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import "./IconSelector.css";
3
- interface IconSelectorProps {
4
- onIconSelect(icon: string): void;
5
- }
6
- export default function (props: IconSelectorProps): React.JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export type LogEntryIconKey = "star" | "star-o" | "user-md" | "hospital-o" | "ambulance" | "flag" | "moon-o" | "flask" | "bolt" | "question-circle-o" | "thermometer" | "trophy" | "spoon";
3
- export interface LogEntryIconProps {
4
- icon?: LogEntryIconKey;
5
- className?: string;
6
- }
7
- export default function LogEntryIcon(props: LogEntryIconProps): React.JSX.Element;
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- import "./MonthReport.css";
3
- export interface SymptomSharkMonthReportProps {
4
- includeNotes: boolean;
5
- includeDailyOverallFeeling: boolean;
6
- productLogo?: string;
7
- productName?: string;
8
- productUrl?: string;
9
- intervalStart?: Date;
10
- innerRef?: React.Ref<HTMLTableElement>;
11
- }
12
- export default function (props: SymptomSharkMonthReportProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import MonthReport, { SymptomSharkMonthReportProps } from "./MonthReport";
3
- declare const _default: {
4
- title: string;
5
- component: typeof MonthReport;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkMonthReportProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./MonthReport";
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import "./NotesTimeline.css";
3
- export interface SymptomSharkNotesTimelineProps {
4
- intervalStart?: Date;
5
- innerRef?: React.Ref<HTMLDivElement>;
6
- }
7
- export default function (props: SymptomSharkNotesTimelineProps): React.JSX.Element | null;
@@ -1,13 +0,0 @@
1
- import React from "react";
2
- import NotesTimeline, { SymptomSharkNotesTimelineProps } from "./NotesTimeline";
3
- declare const _default: {
4
- title: string;
5
- component: typeof NotesTimeline;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- render: (args: SymptomSharkNotesTimelineProps) => React.JSX.Element;
13
- };
@@ -1 +0,0 @@
1
- export { default } from "./NotesTimeline";
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- export interface SymptomSharkReportBuilderViewProps {
3
- colorScheme?: "light" | "dark" | "auto";
4
- previewState?: "default";
5
- }
6
- export default function (props: SymptomSharkReportBuilderViewProps): React.JSX.Element;
@@ -1,20 +0,0 @@
1
- import React from "react";
2
- import SymptomSharkReportBuilderView, { SymptomSharkReportBuilderViewProps } from "./ReportBuilderView";
3
- declare const _default: {
4
- title: string;
5
- component: typeof SymptomSharkReportBuilderView;
6
- parameters: {
7
- layout: string;
8
- };
9
- };
10
- export default _default;
11
- export declare const Default: {
12
- args: {
13
- previewState: string;
14
- };
15
- render: (args: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
16
- };
17
- export declare const Live: {
18
- args: {};
19
- render: (args: SymptomSharkReportBuilderViewProps) => React.JSX.Element;
20
- };
@@ -1 +0,0 @@
1
- export { default } from "./ReportBuilderView";
@@ -1,2 +0,0 @@
1
- import { Guid } from "@careevolution/mydatahelps-js";
2
- export default function renderPdf(reportHtml: string, participantID: Guid): Promise<void>;