@careevolution/mydatahelps-ui 2.9.1-AsthmaUI.91 → 2.9.1-AsthmaUI.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/asthma/views/index.d.ts +0 -1
- package/dist/cjs/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/{esm/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.stories.d.ts → cjs/types/components/view/ResourceListView/ResourceListView.stories.d.ts} +6 -6
- package/dist/cjs/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/asthma/views/index.d.ts +0 -1
- package/dist/esm/types/components/view/ResourceListView/ResourceListView.d.ts +11 -0
- package/dist/{cjs/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.stories.d.ts → esm/types/components/view/ResourceListView/ResourceListView.stories.d.ts} +6 -6
- package/dist/esm/types/components/view/ResourceListView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +1 -0
- package/dist/index.d.ts +812 -811
- package/package.json +1 -1
- package/dist/cjs/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.d.ts +0 -10
- package/dist/cjs/types/components/asthma/views/AsthmaLibraryCategoryView/index.d.ts +0 -1
- package/dist/esm/types/components/asthma/views/AsthmaLibraryCategoryView/AsthmaLibraryCategoryView.d.ts +0 -10
- package/dist/esm/types/components/asthma/views/AsthmaLibraryCategoryView/index.d.ts +0 -1
|
@@ -4,6 +4,5 @@ export { default as AsthmaAirQualityView } from './AsthmaAirQualityView';
|
|
|
4
4
|
export { default as AsthmaAlertTakeoverView } from './AsthmaAlertTakeoverView';
|
|
5
5
|
export { default as AsthmaDayView } from './AsthmaDayView';
|
|
6
6
|
export { default as AsthmaHeartAndLungsView } from './AsthmaHeartAndLungsView';
|
|
7
|
-
export { default as AsthmaLibraryCategoryView } from './AsthmaLibraryCategoryView';
|
|
8
7
|
export { default as AsthmaLogEntryEditorView, AsthmaLogEntryEditorViewPreviewState } from './AsthmaLogEntryEditorView';
|
|
9
8
|
export { default as AsthmaSleepView } from './AsthmaSleepView';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResourceDefinition, ResourceImageAlignment, ResourceListPreviewState } from '../../presentational';
|
|
3
|
+
export interface ResourceListViewProps {
|
|
4
|
+
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5
|
+
previewState?: ResourceListPreviewState;
|
|
6
|
+
title: string;
|
|
7
|
+
resources: ResourceDefinition[];
|
|
8
|
+
emptyText?: string;
|
|
9
|
+
resourceImageAlignment?: ResourceImageAlignment;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: ResourceListViewProps): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import
|
|
2
|
+
import ResourceListView, { ResourceListViewProps } from './ResourceListView';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: typeof
|
|
5
|
+
component: typeof ResourceListView;
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
@@ -11,9 +11,9 @@ export default _default;
|
|
|
11
11
|
export declare const Default: {
|
|
12
12
|
args: {
|
|
13
13
|
colorScheme: string;
|
|
14
|
-
title: string;
|
|
15
14
|
previewState: string;
|
|
16
|
-
|
|
15
|
+
title: string;
|
|
16
|
+
resourceImageAlignment: string;
|
|
17
17
|
};
|
|
18
18
|
argTypes: {
|
|
19
19
|
colorScheme: {
|
|
@@ -26,7 +26,7 @@ export declare const Default: {
|
|
|
26
26
|
control: string;
|
|
27
27
|
options: string[];
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
resourceImageAlignment: {
|
|
30
30
|
name: string;
|
|
31
31
|
control: string;
|
|
32
32
|
options: string[];
|
|
@@ -36,5 +36,5 @@ export declare const Default: {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
render: (args:
|
|
39
|
+
render: (args: ResourceListViewProps) => React.JSX.Element;
|
|
40
40
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ResourceListView';
|
|
@@ -15,3 +15,4 @@ export { default as NewPointsView, NewPointsViewProps, NewPointsEntry, showNewPo
|
|
|
15
15
|
export { default as InboxView } from "./InboxView";
|
|
16
16
|
export { default as InboxHistoryView } from "./InboxHistoryView";
|
|
17
17
|
export { default as InboxMessageView } from "./InboxMessageView";
|
|
18
|
+
export { default as ResourceListView } from "./ResourceListView";
|