@elliemae/ds-header 2.0.0-next.9 → 2.0.0-rc.12
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/cjs/Header.js +5 -0
- package/esm/Header.js +5 -0
- package/package.json +3 -3
- package/types/Header.d.ts +136 -16
package/cjs/Header.js
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
6
|
+
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
|
+
require('core-js/modules/esnext.iterator.filter.js');
|
|
8
|
+
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
9
|
+
require('core-js/modules/esnext.iterator.for-each.js');
|
|
5
10
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
6
11
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
12
|
require('react');
|
package/esm/Header.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
2
|
+
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
3
|
+
import 'core-js/modules/esnext.iterator.filter.js';
|
|
4
|
+
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
5
|
+
import 'core-js/modules/esnext.iterator.for-each.js';
|
|
1
6
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
7
|
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
3
8
|
import 'react';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-header",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Header",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"react-desc": "~4.1.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"styled-components": "~5.3.
|
|
42
|
+
"styled-components": "~5.3.3",
|
|
43
43
|
"styled-system": "~5.1.5"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^17.0.2",
|
|
47
47
|
"react-dom": "^17.0.2",
|
|
48
|
-
"styled-components": "^5.3.
|
|
48
|
+
"styled-components": "^5.3.3",
|
|
49
49
|
"styled-system": "^5.1.5"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
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;
|