@speakapbv/dough-component-library 9.31.1 → 9.31.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.
@@ -25,35 +25,32 @@ export interface TypoProps {
25
25
  color?: string;
26
26
  component?: string;
27
27
  }
28
- declare type TypoHeaderProps = Omit<TypoProps, "bold"> & {
29
- regular?: boolean;
30
- };
31
28
  export declare const H1: {
32
- (props: TypoHeaderProps): JSX.Element;
29
+ (props: TypoProps): JSX.Element;
33
30
  displayName: string;
34
31
  };
35
32
  export declare const H2: {
36
- (props: TypoHeaderProps): JSX.Element;
33
+ (props: TypoProps): JSX.Element;
37
34
  displayName: string;
38
35
  };
39
36
  export declare const H3: {
40
- (props: TypoHeaderProps): JSX.Element;
37
+ (props: TypoProps): JSX.Element;
41
38
  displayName: string;
42
39
  };
43
40
  export declare const H4: {
44
- (props: TypoHeaderProps): JSX.Element;
41
+ (props: TypoProps): JSX.Element;
45
42
  displayName: string;
46
43
  };
47
44
  export declare const H5: {
48
- (props: TypoHeaderProps): JSX.Element;
45
+ (props: TypoProps): JSX.Element;
49
46
  displayName: string;
50
47
  };
51
48
  export declare const H6: {
52
- (props: TypoHeaderProps): JSX.Element;
49
+ (props: TypoProps): JSX.Element;
53
50
  displayName: string;
54
51
  };
55
52
  export declare const H7: {
56
- (props: TypoHeaderProps): JSX.Element;
53
+ (props: TypoProps): JSX.Element;
57
54
  displayName: string;
58
55
  };
59
56
  export declare const Subtitle: {
@@ -76,4 +73,3 @@ export declare const DoughListItem: {
76
73
  (props: TypoProps): JSX.Element;
77
74
  displayName: string;
78
75
  };
79
- export {};
package/dist/index.es.js CHANGED
@@ -883,7 +883,7 @@ var TextElement = function (props) {
883
883
  }) }, props.dataAttributes), props.children);
884
884
  };
885
885
  var HeaderElement = function (props) { return (React.createElement(TextElement, __assign({}, props, { className: cn(props.className, {
886
- "dough-header-regular": props.regular,
886
+ "dough-header-regular": props.bold === false,
887
887
  }) }))); };
888
888
  var H1 = function (props) { return (React.createElement(HeaderElement, __assign({}, props, { className: cn(props.className, "dough-text-h1"), component: props.component ? props.component : "h1" }))); };
889
889
  H1.displayName = "H1";
package/dist/index.js CHANGED
@@ -876,7 +876,7 @@ var TextElement = function (props) {
876
876
  }) }, props.dataAttributes), props.children);
877
877
  };
878
878
  var HeaderElement = function (props) { return (React__default.createElement(TextElement, __assign({}, props, { className: cn(props.className, {
879
- "dough-header-regular": props.regular,
879
+ "dough-header-regular": props.bold === false,
880
880
  }) }))); };
881
881
  var H1 = function (props) { return (React__default.createElement(HeaderElement, __assign({}, props, { className: cn(props.className, "dough-text-h1"), component: props.component ? props.component : "h1" }))); };
882
882
  H1.displayName = "H1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "9.31.1",
3
+ "version": "9.31.2",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",