@elliemae/ds-header 2.0.0-rc.7 → 2.0.1-rc.0
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/package.json +1 -1
- package/types/Header.d.ts +136 -16
package/package.json
CHANGED
package/types/Header.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const DSHeader: {
|
|
3
4
|
({ color, fontFamily, fontSize, fontWeight, height, level, lineHeight, text, width, ...rest }: {
|
|
@@ -17,6 +18,138 @@ declare const DSHeader: {
|
|
|
17
18
|
lineHeight: number;
|
|
18
19
|
};
|
|
19
20
|
propTypes: {
|
|
21
|
+
color: {
|
|
22
|
+
defaultValue<T = unknown>(arg: T): {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
25
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
26
|
+
};
|
|
27
|
+
fontFamily: {
|
|
28
|
+
defaultValue<T = unknown>(arg: T): {
|
|
29
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
30
|
+
};
|
|
31
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
fontSize: {
|
|
34
|
+
defaultValue<T = unknown>(arg: T): {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
fontWeight: {
|
|
40
|
+
defaultValue<T = unknown>(arg: T): {
|
|
41
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
42
|
+
};
|
|
43
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
height: {
|
|
46
|
+
defaultValue<T = unknown>(arg: T): {
|
|
47
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
48
|
+
};
|
|
49
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
level: {
|
|
52
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
|
+
};
|
|
54
|
+
lineHeight: {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
m: {
|
|
58
|
+
defaultValue<T = unknown>(arg: T): {
|
|
59
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
60
|
+
};
|
|
61
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
mb: {
|
|
64
|
+
defaultValue<T = unknown>(arg: T): {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
ml: {
|
|
70
|
+
defaultValue<T = unknown>(arg: T): {
|
|
71
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
72
|
+
};
|
|
73
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
mr: {
|
|
76
|
+
defaultValue<T = unknown>(arg: T): {
|
|
77
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
78
|
+
};
|
|
79
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
mt: {
|
|
82
|
+
defaultValue<T = unknown>(arg: T): {
|
|
83
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
84
|
+
};
|
|
85
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
86
|
+
};
|
|
87
|
+
mx: {
|
|
88
|
+
defaultValue<T = unknown>(arg: T): {
|
|
89
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
90
|
+
};
|
|
91
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
92
|
+
};
|
|
93
|
+
my: {
|
|
94
|
+
defaultValue<T = unknown>(arg: T): {
|
|
95
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
96
|
+
};
|
|
97
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
98
|
+
};
|
|
99
|
+
p: {
|
|
100
|
+
defaultValue<T = unknown>(arg: T): {
|
|
101
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
102
|
+
};
|
|
103
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
104
|
+
};
|
|
105
|
+
pb: {
|
|
106
|
+
defaultValue<T = unknown>(arg: T): {
|
|
107
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
108
|
+
};
|
|
109
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
110
|
+
};
|
|
111
|
+
pl: {
|
|
112
|
+
defaultValue<T = unknown>(arg: T): {
|
|
113
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
114
|
+
};
|
|
115
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
116
|
+
};
|
|
117
|
+
pr: {
|
|
118
|
+
defaultValue<T = unknown>(arg: T): {
|
|
119
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
120
|
+
};
|
|
121
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
122
|
+
};
|
|
123
|
+
pt: {
|
|
124
|
+
defaultValue<T = unknown>(arg: T): {
|
|
125
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
|
+
};
|
|
127
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
128
|
+
};
|
|
129
|
+
px: {
|
|
130
|
+
defaultValue<T = unknown>(arg: T): {
|
|
131
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
132
|
+
};
|
|
133
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
134
|
+
};
|
|
135
|
+
py: {
|
|
136
|
+
defaultValue<T = unknown>(arg: T): {
|
|
137
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
138
|
+
};
|
|
139
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
140
|
+
};
|
|
141
|
+
text: import("react-desc").PropTypesDescValidator;
|
|
142
|
+
width: {
|
|
143
|
+
defaultValue<T = unknown>(arg: T): {
|
|
144
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
146
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
declare const HeaderWithSchema: {
|
|
151
|
+
(props?: {
|
|
152
|
+
[x: string]: any;
|
|
20
153
|
color: any;
|
|
21
154
|
fontFamily: any;
|
|
22
155
|
fontSize: any;
|
|
@@ -24,24 +157,11 @@ declare const DSHeader: {
|
|
|
24
157
|
height: any;
|
|
25
158
|
level: any;
|
|
26
159
|
lineHeight: any;
|
|
27
|
-
m: any;
|
|
28
|
-
mb: any;
|
|
29
|
-
ml: any;
|
|
30
|
-
mr: any;
|
|
31
|
-
mt: any;
|
|
32
|
-
mx: any;
|
|
33
|
-
my: any;
|
|
34
|
-
p: any;
|
|
35
|
-
pb: any;
|
|
36
|
-
pl: any;
|
|
37
|
-
pr: any;
|
|
38
|
-
pt: any;
|
|
39
|
-
px: any;
|
|
40
|
-
py: any;
|
|
41
160
|
text: any;
|
|
42
161
|
width: any;
|
|
43
|
-
};
|
|
162
|
+
} | undefined): JSX.Element;
|
|
163
|
+
propTypes: unknown;
|
|
164
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
44
165
|
};
|
|
45
|
-
declare const HeaderWithSchema: any;
|
|
46
166
|
export { DSHeader, HeaderWithSchema };
|
|
47
167
|
export default DSHeader;
|