@careevolution/mydatahelps-ui 1.9.2-DarkMode.7 → 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.
@@ -9,5 +9,8 @@ export interface ButtonProps {
9
9
  disabled?: boolean;
10
10
  onClick: Function;
11
11
  className?: string;
12
+ color?: string;
13
+ loading?: boolean;
14
+ variant?: "default" | "subtle";
12
15
  }
13
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>;
@@ -8,5 +8,6 @@ export interface SegmentedControlProps {
8
8
  selectedSegment: string;
9
9
  onSegmentSelected: Function;
10
10
  className?: string;
11
+ color?: string;
11
12
  }
12
13
  export default function (props: SegmentedControlProps): JSX.Element;
package/dist/index.d.ts CHANGED
@@ -35,6 +35,9 @@ interface ButtonProps {
35
35
  disabled?: boolean;
36
36
  onClick: Function;
37
37
  className?: string;
38
+ color?: string;
39
+ loading?: boolean;
40
+ variant?: "default" | "subtle";
38
41
  }
39
42
  declare function export_default$T(props: ButtonProps): JSX.Element;
40
43
 
@@ -105,7 +108,11 @@ interface LayoutProps {
105
108
  }
106
109
  declare function export_default$L(props: LayoutProps): JSX.Element;
107
110
 
108
- declare function LoadingIndicator(): JSX.Element;
111
+ interface LoadingIndicatorProps {
112
+ variant?: "default" | "inline";
113
+ color?: string;
114
+ }
115
+ declare function LoadingIndicator(props: LoadingIndicatorProps): JSX.Element;
109
116
 
110
117
  interface NavigationBarProps {
111
118
  title: string;
@@ -115,6 +122,7 @@ interface NavigationBarProps {
115
122
  closeButtonText?: string;
116
123
  backButtonText?: string;
117
124
  className?: string;
125
+ variant?: "default" | "compressed";
118
126
  }
119
127
  declare function export_default$K(props: NavigationBarProps): JSX.Element;
120
128
 
@@ -132,6 +140,7 @@ interface SegmentedControlProps {
132
140
  selectedSegment: string;
133
141
  onSegmentSelected: Function;
134
142
  className?: string;
143
+ color?: string;
135
144
  }
136
145
  declare function export_default$I(props: SegmentedControlProps): JSX.Element;
137
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "1.9.2-DarkMode.7",
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",