@careevolution/mydatahelps-ui 2.0.1 → 2.1.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.
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import './AppDownload.css';
3
+ import '@fortawesome/fontawesome-svg-core/styles.css';
4
+ export interface AppDownloadProps {
5
+ previewProjectPlatforms?: string[];
6
+ previewDevicePlatform?: string;
7
+ }
8
+ export default function (props: AppDownloadProps): JSX.Element | null;
@@ -0,0 +1,8 @@
1
+ import { AppDownloadProps } from './AppDownload';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
3
+ export default _default;
4
+ export declare const WebBoth: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
5
+ export declare const WebAndroid: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
6
+ export declare const WebIOS: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
7
+ export declare const Android: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
8
+ export declare const IOS: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AppDownloadProps>;
@@ -0,0 +1 @@
1
+ export { default } from "./AppDownload";
@@ -2,5 +2,6 @@ import React from 'react';
2
2
  export interface PlatformSpecificContentProps {
3
3
  platforms: string[];
4
4
  children?: React.ReactNode;
5
+ previewDevicePlatform?: string;
5
6
  }
6
7
  export default function (props: PlatformSpecificContentProps): JSX.Element | null;
@@ -0,0 +1,9 @@
1
+ import { PlatformSpecificContentProps } from './PlatformSpecificContent';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
3
+ export default _default;
4
+ export declare const WebVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
5
+ export declare const WebNotVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
6
+ export declare const AndroidVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
7
+ export declare const AndroidNotVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
8
+ export declare const IOSVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
9
+ export declare const IOSNotVisible: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, PlatformSpecificContentProps>;
@@ -0,0 +1,3 @@
1
+ import { EventName } from '@careevolution/mydatahelps-js';
2
+ import { DependencyList } from 'react';
3
+ export declare function useInitializeView(initialize: () => void, additionalEvents?: EventName[], dependencies?: DependencyList): void;
package/dist/index.d.ts CHANGED
@@ -386,6 +386,7 @@ declare function export_default$r(props: NotificationListProps): JSX.Element;
386
386
  interface PlatformSpecificContentProps {
387
387
  platforms: string[];
388
388
  children?: React.ReactNode;
389
+ previewDevicePlatform?: string;
389
390
  }
390
391
  declare function export_default$q(props: PlatformSpecificContentProps): JSX.Element | null;
391
392
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -71,7 +71,7 @@
71
71
  "recharts": "^2.5.0"
72
72
  },
73
73
  "peerDependencies": {
74
- "@careevolution/mydatahelps-js": "^3.6.0",
74
+ "@careevolution/mydatahelps-js": "^3.7.0",
75
75
  "react": "^18.2.0",
76
76
  "react-dom": "^18.2.0"
77
77
  },