oddsgate-ds 1.0.147 → 1.0.149
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare enum typographyTags {
|
|
3
3
|
div = "div",
|
|
4
4
|
span = "span",
|
|
@@ -10,10 +10,10 @@ export declare enum typographyTags {
|
|
|
10
10
|
h5 = "h5",
|
|
11
11
|
h6 = "h6"
|
|
12
12
|
}
|
|
13
|
-
export type IHeading = {
|
|
13
|
+
export type IHeading = React.HTMLAttributes<HTMLElement> & {
|
|
14
14
|
tag?: keyof typeof typographyTags | string;
|
|
15
15
|
size?: string;
|
|
16
16
|
className?: string;
|
|
17
|
-
style?: CSSProperties;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
export declare enum typographyTags {
|
|
3
3
|
div = "div",
|
|
4
4
|
span = "span",
|
|
@@ -10,10 +10,10 @@ export declare enum typographyTags {
|
|
|
10
10
|
h5 = "h5",
|
|
11
11
|
h6 = "h6"
|
|
12
12
|
}
|
|
13
|
-
export type IHeading = {
|
|
13
|
+
export type IHeading = React.HTMLAttributes<HTMLElement> & {
|
|
14
14
|
tag?: keyof typeof typographyTags | string;
|
|
15
15
|
size?: string;
|
|
16
16
|
className?: string;
|
|
17
|
-
style?: CSSProperties;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -114,11 +114,11 @@ declare enum typographyTags {
|
|
|
114
114
|
h5 = "h5",
|
|
115
115
|
h6 = "h6"
|
|
116
116
|
}
|
|
117
|
-
type IHeading = {
|
|
117
|
+
type IHeading = React.HTMLAttributes<HTMLElement> & {
|
|
118
118
|
tag?: keyof typeof typographyTags | string;
|
|
119
119
|
size?: string;
|
|
120
120
|
className?: string;
|
|
121
|
-
style?: CSSProperties;
|
|
121
|
+
style?: React.CSSProperties;
|
|
122
122
|
children?: React.ReactNode;
|
|
123
123
|
};
|
|
124
124
|
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { CSSProperties } from 'react'
|
|
1
|
+
import { CSSProperties } from 'react'
|
|
2
2
|
|
|
3
3
|
export enum typographyTags {
|
|
4
|
-
div =
|
|
5
|
-
span =
|
|
6
|
-
p =
|
|
7
|
-
h1 =
|
|
8
|
-
h2 =
|
|
9
|
-
h3 =
|
|
10
|
-
h4 =
|
|
11
|
-
h5 =
|
|
12
|
-
h6 =
|
|
4
|
+
div = 'div',
|
|
5
|
+
span = 'span',
|
|
6
|
+
p = 'p',
|
|
7
|
+
h1 = 'h1',
|
|
8
|
+
h2 = 'h2',
|
|
9
|
+
h3 = 'h3',
|
|
10
|
+
h4 = 'h4',
|
|
11
|
+
h5 = 'h5',
|
|
12
|
+
h6 = 'h6'
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export type IHeading = {
|
|
15
|
+
export type IHeading = React.HTMLAttributes<HTMLElement> & {
|
|
16
16
|
tag?: keyof typeof typographyTags | string
|
|
17
17
|
size?: string
|
|
18
|
-
className?: string
|
|
19
|
-
style?: CSSProperties
|
|
20
|
-
children?: React.ReactNode
|
|
18
|
+
className?: string
|
|
19
|
+
style?: React.CSSProperties
|
|
20
|
+
children?: React.ReactNode
|
|
21
21
|
}
|