@speakapbv/dough-component-library 9.30.0 → 9.31.1

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,14 @@
1
+ import "./progress-bar.scss";
2
+ import { Colors, DoughDataAttributes } from "../../utils/constants";
3
+ export interface ProgressBarProps {
4
+ className?: string;
5
+ dataAttributes?: DoughDataAttributes;
6
+ total: number;
7
+ completed: number;
8
+ railColor?: Colors | string;
9
+ barColor?: Colors | string;
10
+ }
11
+ export declare const ProgressBar: {
12
+ ({ total, completed, railColor, barColor, dataAttributes, className, }: ProgressBarProps): JSX.Element;
13
+ displayName: string;
14
+ };
@@ -25,32 +25,35 @@ export interface TypoProps {
25
25
  color?: string;
26
26
  component?: string;
27
27
  }
28
+ declare type TypoHeaderProps = Omit<TypoProps, "bold"> & {
29
+ regular?: boolean;
30
+ };
28
31
  export declare const H1: {
29
- (props: TypoProps): JSX.Element;
32
+ (props: TypoHeaderProps): JSX.Element;
30
33
  displayName: string;
31
34
  };
32
35
  export declare const H2: {
33
- (props: TypoProps): JSX.Element;
36
+ (props: TypoHeaderProps): JSX.Element;
34
37
  displayName: string;
35
38
  };
36
39
  export declare const H3: {
37
- (props: TypoProps): JSX.Element;
40
+ (props: TypoHeaderProps): JSX.Element;
38
41
  displayName: string;
39
42
  };
40
43
  export declare const H4: {
41
- (props: TypoProps): JSX.Element;
44
+ (props: TypoHeaderProps): JSX.Element;
42
45
  displayName: string;
43
46
  };
44
47
  export declare const H5: {
45
- (props: TypoProps): JSX.Element;
48
+ (props: TypoHeaderProps): JSX.Element;
46
49
  displayName: string;
47
50
  };
48
51
  export declare const H6: {
49
- (props: TypoProps): JSX.Element;
52
+ (props: TypoHeaderProps): JSX.Element;
50
53
  displayName: string;
51
54
  };
52
55
  export declare const H7: {
53
- (props: TypoProps): JSX.Element;
56
+ (props: TypoHeaderProps): JSX.Element;
54
57
  displayName: string;
55
58
  };
56
59
  export declare const Subtitle: {
@@ -73,3 +76,4 @@ export declare const DoughListItem: {
73
76
  (props: TypoProps): JSX.Element;
74
77
  displayName: string;
75
78
  };
79
+ export {};
package/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ export { Tooltip, TooltipDirection } from "./components/tooltip/tooltip";
37
37
  export { AppBackground } from "./components/app-background/app-background";
38
38
  export { AppWrapper } from "./components/app-wrapper/app-wrapper";
39
39
  export { PanelOverlay } from "./components/panel-overlay/panel-overlay";
40
+ export { ProgressBar, ProgressBarProps, } from "./components/progress-bar/progress-bar";
40
41
  export { AlertText } from "./components/alert-textbox/alert-textbox";
41
42
  export { Notification } from "./components/notification/notification";
42
43
  export { TabsContainer } from "./components/tabs/tabs";