@careevolution/mydatahelps-ui 2.7.1-Colors.0 → 2.7.1-Colors.2

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
  loading?: boolean;
11
11
  variant?: "default" | "subtle" | "light";
12
12
  innerRef?: React.Ref<HTMLButtonElement>;
13
+ defaultMargin?: boolean;
14
+ fullWidth?: boolean;
13
15
  }
14
16
  export default function (props: ButtonProps): React.JSX.Element;
@@ -8,5 +8,6 @@ export interface CardProps {
8
8
  innerRef?: React.Ref<HTMLDivElement>;
9
9
  variant?: "default" | "subtle" | "highlight";
10
10
  backgroundColor?: ColorDefinition;
11
+ style?: React.CSSProperties;
11
12
  }
12
13
  export default function (props: CardProps): React.JSX.Element | null;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import "./NavigationBar.css";
3
3
  import '@fortawesome/fontawesome-svg-core/styles.css';
4
+ import { ColorDefinition } from '../../../helpers/colors';
4
5
  export interface NavigationBarProps {
5
6
  title?: string;
6
7
  subtitle?: string;
@@ -11,5 +12,8 @@ export interface NavigationBarProps {
11
12
  backButtonText?: string;
12
13
  className?: string;
13
14
  variant?: "default" | "compressed";
15
+ titleColor?: ColorDefinition;
16
+ subtitleColor?: ColorDefinition;
17
+ buttonColor?: ColorDefinition;
14
18
  }
15
19
  export default function (props: NavigationBarProps): React.JSX.Element;
@@ -7,5 +7,6 @@ export interface SectionProps {
7
7
  noTopMargin?: boolean;
8
8
  innerRef?: React.Ref<HTMLDivElement>;
9
9
  backgroundColor?: ColorDefinition;
10
+ style?: React.CSSProperties;
10
11
  }
11
12
  export default function (props: SectionProps): React.JSX.Element | null;
@@ -6,5 +6,6 @@ export interface TextBlockProps {
6
6
  className?: string;
7
7
  innerRef?: React.Ref<HTMLDivElement>;
8
8
  color?: ColorDefinition;
9
+ style?: React.CSSProperties;
9
10
  }
10
11
  export default function (props: TextBlockProps): React.JSX.Element | null;
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import TextBlock, { TextBlockProps } from "./TextBlock";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof TextBlock;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ children: string;
14
+ };
15
+ render: (args: TextBlockProps) => React.JSX.Element;
16
+ };
17
+ export declare const CustomStyle: {
18
+ args: {
19
+ style: {
20
+ marginTop: string;
21
+ marginBottom: string;
22
+ fontWeight: string;
23
+ };
24
+ children: string;
25
+ };
26
+ render: (args: TextBlockProps) => React.JSX.Element;
27
+ };
28
+ export declare const CustomColor: {
29
+ args: {
30
+ style: {
31
+ marginTop: string;
32
+ marginBottom: string;
33
+ color: string;
34
+ };
35
+ color: string;
36
+ children: string;
37
+ };
38
+ render: (args: TextBlockProps) => React.JSX.Element;
39
+ };
@@ -9,5 +9,8 @@ export interface BlankViewProps {
9
9
  colorScheme?: "auto" | "light" | "dark";
10
10
  primaryColor?: ColorDefinition;
11
11
  bodyBackgroundColor?: ColorDefinition;
12
+ titleColor?: ColorDefinition;
13
+ subtitleColor?: ColorDefinition;
14
+ navigationBarButtonColor?: ColorDefinition;
12
15
  }
13
16
  export default function (props: BlankViewProps): React.JSX.Element;