@careevolution/mydatahelps-ui 1.9.2-DarkMode.8 → 1.9.2-DarkMode.9

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.
@@ -10,5 +10,7 @@ export interface ButtonProps {
10
10
  onClick: Function;
11
11
  className?: string;
12
12
  color?: string;
13
+ loading?: boolean;
14
+ variant?: "default" | "subtle";
13
15
  }
14
16
  export default function (props: ButtonProps): JSX.Element;
@@ -4,3 +4,6 @@ declare const _default: ComponentMeta<typeof Button>;
4
4
  export default _default;
5
5
  export declare const Enabled: ComponentStory<typeof Button>;
6
6
  export declare const Disabled: ComponentStory<typeof Button>;
7
+ export declare const CustomColor: ComponentStory<typeof Button>;
8
+ export declare const Loading: ComponentStory<typeof Button>;
9
+ export declare const SubtleVariant: ComponentStory<typeof Button>;
@@ -1,5 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import "./LoadingIndicator.css";
3
3
  import '@fortawesome/fontawesome-svg-core/styles.css';
4
- declare function LoadingIndicator(): JSX.Element;
4
+ export interface LoadingIndicatorProps {
5
+ variant?: "default" | "inline";
6
+ color?: string;
7
+ }
8
+ declare function LoadingIndicator(props: LoadingIndicatorProps): JSX.Element;
5
9
  export default LoadingIndicator;
@@ -9,5 +9,6 @@ export interface NavigationBarProps {
9
9
  closeButtonText?: string;
10
10
  backButtonText?: string;
11
11
  className?: string;
12
+ variant?: "default" | "compressed";
12
13
  }
13
14
  export default function (props: NavigationBarProps): JSX.Element;
@@ -5,5 +5,6 @@ export default _default;
5
5
  export declare const Drilldown: ComponentStory<typeof NavigationBar>;
6
6
  export declare const Modal: ComponentStory<typeof NavigationBar>;
7
7
  export declare const CustomButtons: ComponentStory<typeof NavigationBar>;
8
+ export declare const Compressed: ComponentStory<typeof NavigationBar>;
8
9
  export declare const WithDateRangeNavigator: ComponentStory<typeof NavigationBar>;
9
10
  export declare const WithRoundedDateRangeNavigator: ComponentStory<typeof NavigationBar>;
package/dist/index.d.ts CHANGED
@@ -36,6 +36,8 @@ interface ButtonProps {
36
36
  onClick: Function;
37
37
  className?: string;
38
38
  color?: string;
39
+ loading?: boolean;
40
+ variant?: "default" | "subtle";
39
41
  }
40
42
  declare function export_default$T(props: ButtonProps): JSX.Element;
41
43
 
@@ -106,7 +108,11 @@ interface LayoutProps {
106
108
  }
107
109
  declare function export_default$L(props: LayoutProps): JSX.Element;
108
110
 
109
- declare function LoadingIndicator(): JSX.Element;
111
+ interface LoadingIndicatorProps {
112
+ variant?: "default" | "inline";
113
+ color?: string;
114
+ }
115
+ declare function LoadingIndicator(props: LoadingIndicatorProps): JSX.Element;
110
116
 
111
117
  interface NavigationBarProps {
112
118
  title: string;
@@ -116,6 +122,7 @@ interface NavigationBarProps {
116
122
  closeButtonText?: string;
117
123
  backButtonText?: string;
118
124
  className?: string;
125
+ variant?: "default" | "compressed";
119
126
  }
120
127
  declare function export_default$K(props: NavigationBarProps): JSX.Element;
121
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "1.9.2-DarkMode.8",
3
+ "version": "1.9.2-DarkMode.9",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",