@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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/presentational/Button/Button.d.ts +2 -0
- package/dist/cjs/types/components/presentational/Button/Button.stories.d.ts +3 -0
- package/dist/cjs/types/components/presentational/LoadingIndicator/LoadingIndicator.d.ts +5 -1
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/presentational/Button/Button.d.ts +2 -0
- package/dist/esm/types/components/presentational/Button/Button.stories.d.ts +3 -0
- package/dist/esm/types/components/presentational/LoadingIndicator/LoadingIndicator.d.ts +5 -1
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -0
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +1 -0
- package/dist/index.d.ts +8 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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;
|
|
@@ -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
|
-
|
|
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
|
|