@elliemae/ds-label-value 2.0.0-rc.4 → 2.0.0-rc.8
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-label-value",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Label value",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"build": "node ../../scripts/build/build.js"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@elliemae/ds-classnames": "2.0.0-rc.
|
|
63
|
+
"@elliemae/ds-classnames": "2.0.0-rc.8",
|
|
64
64
|
"react-desc": "~4.1.3"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
package/types/DSLabelValue.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { WrapperWithSchema } from './components/Wrapper';
|
|
3
4
|
import { GroupWithSchema } from './components/Group';
|
|
@@ -12,11 +13,28 @@ declare const DSLabelValue: {
|
|
|
12
13
|
inverted: any;
|
|
13
14
|
}): JSX.Element;
|
|
14
15
|
propTypes: {
|
|
15
|
-
containerProps:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
containerProps: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
className: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
icon: {
|
|
29
|
+
defaultValue<T = unknown>(arg: T): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
};
|
|
34
|
+
inverted: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
20
38
|
};
|
|
21
39
|
defaultProps: {
|
|
22
40
|
containerProps: {};
|
|
@@ -32,9 +50,24 @@ declare const DSLabelValue: {
|
|
|
32
50
|
orientation: any;
|
|
33
51
|
}): JSX.Element;
|
|
34
52
|
propTypes: {
|
|
35
|
-
children:
|
|
36
|
-
|
|
37
|
-
|
|
53
|
+
children: {
|
|
54
|
+
defaultValue<T = unknown>(arg: T): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
inline: {
|
|
60
|
+
defaultValue<T = unknown>(arg: T): {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
64
|
+
};
|
|
65
|
+
orientation: {
|
|
66
|
+
defaultValue<T = unknown>(arg: T): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
70
|
+
};
|
|
38
71
|
};
|
|
39
72
|
defaultProps: {
|
|
40
73
|
inline: boolean;
|
|
@@ -50,11 +83,28 @@ declare const DSLabelValue: {
|
|
|
50
83
|
inverted: any;
|
|
51
84
|
}): JSX.Element;
|
|
52
85
|
propTypes: {
|
|
53
|
-
containerProps:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
86
|
+
containerProps: {
|
|
87
|
+
defaultValue<T = unknown>(arg: T): {
|
|
88
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
91
|
+
};
|
|
92
|
+
className: {
|
|
93
|
+
defaultValue<T = unknown>(arg: T): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
97
|
+
};
|
|
98
|
+
icon: {
|
|
99
|
+
defaultValue<T = unknown>(arg: T): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
104
|
+
inverted: {
|
|
105
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
106
|
+
};
|
|
107
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
58
108
|
};
|
|
59
109
|
defaultProps: {
|
|
60
110
|
containerProps: {};
|
|
@@ -70,9 +120,13 @@ declare const DSLabelValue: {
|
|
|
70
120
|
color: any;
|
|
71
121
|
}): JSX.Element;
|
|
72
122
|
propTypes: {
|
|
73
|
-
children:
|
|
74
|
-
position:
|
|
75
|
-
|
|
123
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
124
|
+
position: {
|
|
125
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
76
130
|
};
|
|
77
131
|
defaultProps: {
|
|
78
132
|
position: any;
|
|
@@ -88,11 +142,19 @@ declare const DSLabelValue: {
|
|
|
88
142
|
semibold?: boolean | undefined;
|
|
89
143
|
}): JSX.Element;
|
|
90
144
|
propTypes: {
|
|
91
|
-
children:
|
|
92
|
-
size:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
145
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
146
|
+
size: {
|
|
147
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
148
|
+
};
|
|
149
|
+
position: {
|
|
150
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
151
|
+
};
|
|
152
|
+
color: {
|
|
153
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
154
|
+
};
|
|
155
|
+
semibold: {
|
|
156
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
157
|
+
};
|
|
96
158
|
};
|
|
97
159
|
defaultProps: {
|
|
98
160
|
position: any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const Group: {
|
|
3
4
|
({ children, inline, orientation }: {
|
|
@@ -6,15 +7,38 @@ declare const Group: {
|
|
|
6
7
|
orientation: any;
|
|
7
8
|
}): JSX.Element;
|
|
8
9
|
propTypes: {
|
|
9
|
-
children:
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
children: {
|
|
11
|
+
defaultValue<T = unknown>(arg: T): {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
inline: {
|
|
17
|
+
defaultValue<T = unknown>(arg: T): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
orientation: {
|
|
23
|
+
defaultValue<T = unknown>(arg: T): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
12
28
|
};
|
|
13
29
|
defaultProps: {
|
|
14
30
|
inline: boolean;
|
|
15
31
|
orientation: any;
|
|
16
32
|
};
|
|
17
33
|
};
|
|
18
|
-
declare const GroupWithSchema:
|
|
34
|
+
declare const GroupWithSchema: {
|
|
35
|
+
(props?: {
|
|
36
|
+
children: any;
|
|
37
|
+
inline: any;
|
|
38
|
+
orientation: any;
|
|
39
|
+
} | undefined): JSX.Element;
|
|
40
|
+
propTypes: unknown;
|
|
41
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
42
|
+
};
|
|
19
43
|
export { GroupWithSchema };
|
|
20
44
|
export default Group;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const Label: {
|
|
3
4
|
({ children, position: labelPosition, color }: {
|
|
@@ -6,15 +7,27 @@ declare const Label: {
|
|
|
6
7
|
color: any;
|
|
7
8
|
}): JSX.Element;
|
|
8
9
|
propTypes: {
|
|
9
|
-
children:
|
|
10
|
-
position:
|
|
11
|
-
|
|
10
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
position: {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
12
17
|
};
|
|
13
18
|
defaultProps: {
|
|
14
19
|
position: any;
|
|
15
20
|
color: any;
|
|
16
21
|
};
|
|
17
22
|
};
|
|
18
|
-
declare const LabelWithSchema:
|
|
23
|
+
declare const LabelWithSchema: {
|
|
24
|
+
(props?: {
|
|
25
|
+
children: any;
|
|
26
|
+
position: any;
|
|
27
|
+
color: any;
|
|
28
|
+
} | undefined): JSX.Element;
|
|
29
|
+
propTypes: unknown;
|
|
30
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
31
|
+
};
|
|
19
32
|
export { LabelWithSchema };
|
|
20
33
|
export default Label;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const Value: {
|
|
3
4
|
({ children, position: valuePosition, size, color: valueColor, semibold, }: {
|
|
@@ -8,11 +9,19 @@ declare const Value: {
|
|
|
8
9
|
semibold?: boolean | undefined;
|
|
9
10
|
}): JSX.Element;
|
|
10
11
|
propTypes: {
|
|
11
|
-
children:
|
|
12
|
-
size:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
size: {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
position: {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
color: {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
semibold: {
|
|
23
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
24
|
+
};
|
|
16
25
|
};
|
|
17
26
|
defaultProps: {
|
|
18
27
|
position: any;
|
|
@@ -21,6 +30,16 @@ declare const Value: {
|
|
|
21
30
|
semibold: boolean;
|
|
22
31
|
};
|
|
23
32
|
};
|
|
24
|
-
declare const ValueWithSchema:
|
|
33
|
+
declare const ValueWithSchema: {
|
|
34
|
+
(props?: {
|
|
35
|
+
children: any;
|
|
36
|
+
position: any;
|
|
37
|
+
size: any;
|
|
38
|
+
color: any;
|
|
39
|
+
semibold?: boolean | undefined;
|
|
40
|
+
} | undefined): JSX.Element;
|
|
41
|
+
propTypes: unknown;
|
|
42
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
43
|
+
};
|
|
25
44
|
export { ValueWithSchema };
|
|
26
45
|
export default Value;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
declare const Wrapper: {
|
|
3
4
|
({ containerProps, children, className, icon, inverted }: {
|
|
@@ -8,11 +9,28 @@ declare const Wrapper: {
|
|
|
8
9
|
inverted: any;
|
|
9
10
|
}): JSX.Element;
|
|
10
11
|
propTypes: {
|
|
11
|
-
containerProps:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
containerProps: {
|
|
13
|
+
defaultValue<T = unknown>(arg: T): {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
17
|
+
};
|
|
18
|
+
className: {
|
|
19
|
+
defaultValue<T = unknown>(arg: T): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
23
|
+
};
|
|
24
|
+
icon: {
|
|
25
|
+
defaultValue<T = unknown>(arg: T): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
30
|
+
inverted: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
16
34
|
};
|
|
17
35
|
defaultProps: {
|
|
18
36
|
containerProps: {};
|
|
@@ -21,6 +39,16 @@ declare const Wrapper: {
|
|
|
21
39
|
inverted: boolean;
|
|
22
40
|
};
|
|
23
41
|
};
|
|
24
|
-
declare const WrapperWithSchema:
|
|
42
|
+
declare const WrapperWithSchema: {
|
|
43
|
+
(props?: {
|
|
44
|
+
containerProps: any;
|
|
45
|
+
children: any;
|
|
46
|
+
className: any;
|
|
47
|
+
icon: any;
|
|
48
|
+
inverted: any;
|
|
49
|
+
} | undefined): JSX.Element;
|
|
50
|
+
propTypes: unknown;
|
|
51
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
52
|
+
};
|
|
25
53
|
export { WrapperWithSchema };
|
|
26
54
|
export default Wrapper;
|
|
@@ -1,33 +1,78 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
export declare const groupProps: {
|
|
2
3
|
/**
|
|
3
4
|
* The elements to be wrapped
|
|
4
5
|
*/
|
|
5
|
-
children:
|
|
6
|
+
children: {
|
|
7
|
+
defaultValue<T = unknown>(arg: T): {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* If the label value should be inline
|
|
8
14
|
*/
|
|
9
|
-
inline:
|
|
15
|
+
inline: {
|
|
16
|
+
defaultValue<T = unknown>(arg: T): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
20
|
+
};
|
|
10
21
|
/**
|
|
11
22
|
* 'vertical' or 'horizontal'
|
|
12
23
|
*/
|
|
13
|
-
orientation:
|
|
24
|
+
orientation: {
|
|
25
|
+
defaultValue<T = unknown>(arg: T): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
29
|
+
};
|
|
14
30
|
};
|
|
15
31
|
export declare const labelProps: {
|
|
16
|
-
children:
|
|
17
|
-
position:
|
|
18
|
-
|
|
32
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
33
|
+
position: {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
19
39
|
};
|
|
20
40
|
export declare const wrapperProps: {
|
|
21
|
-
containerProps:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
41
|
+
containerProps: {
|
|
42
|
+
defaultValue<T = unknown>(arg: T): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
46
|
+
};
|
|
47
|
+
className: {
|
|
48
|
+
defaultValue<T = unknown>(arg: T): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
icon: {
|
|
54
|
+
defaultValue<T = unknown>(arg: T): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
58
|
+
};
|
|
59
|
+
inverted: {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
26
63
|
};
|
|
27
64
|
export declare const valueProps: {
|
|
28
|
-
children:
|
|
29
|
-
size:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
65
|
+
children: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
size: {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
position: {
|
|
70
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
71
|
+
};
|
|
72
|
+
color: {
|
|
73
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
74
|
+
};
|
|
75
|
+
semibold: {
|
|
76
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
|
+
};
|
|
33
78
|
};
|