@elliemae/ds-label-value 2.3.0-alpha.8 → 2.3.0-alpha.9
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/dist/types/DSLabelValue.d.ts +168 -0
- package/dist/types/components/Group.d.ts +40 -0
- package/dist/types/components/Label.d.ts +29 -0
- package/dist/types/components/Value.d.ts +39 -0
- package/dist/types/components/Wrapper.d.ts +48 -0
- package/dist/types/components/defaultProps.d.ts +20 -0
- package/dist/types/components/props.d.ts +78 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import { WrapperWithSchema } from './components/Wrapper';
|
|
4
|
+
import { GroupWithSchema } from './components/Group';
|
|
5
|
+
import { LabelWithSchema } from './components/Label';
|
|
6
|
+
import { ValueWithSchema } from './components/Value';
|
|
7
|
+
declare const DSLabelValue: {
|
|
8
|
+
({ containerProps, children, className, icon, inverted }: {
|
|
9
|
+
containerProps: any;
|
|
10
|
+
children: any;
|
|
11
|
+
className: any;
|
|
12
|
+
icon: any;
|
|
13
|
+
inverted: any;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
propTypes: {
|
|
16
|
+
containerProps: {
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
|
+
};
|
|
22
|
+
className: {
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
|
+
};
|
|
28
|
+
icon: {
|
|
29
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
30
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
31
|
+
};
|
|
32
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
33
|
+
};
|
|
34
|
+
inverted: {
|
|
35
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
36
|
+
};
|
|
37
|
+
children: import("react-desc").PropTypesDescValue;
|
|
38
|
+
};
|
|
39
|
+
defaultProps: {
|
|
40
|
+
containerProps: {};
|
|
41
|
+
className: string;
|
|
42
|
+
icon: null;
|
|
43
|
+
inverted: boolean;
|
|
44
|
+
};
|
|
45
|
+
} & {
|
|
46
|
+
Group: {
|
|
47
|
+
({ children, inline, orientation }: {
|
|
48
|
+
children: any;
|
|
49
|
+
inline: any;
|
|
50
|
+
orientation: any;
|
|
51
|
+
}): JSX.Element;
|
|
52
|
+
propTypes: {
|
|
53
|
+
children: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
inline: {
|
|
60
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
61
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
62
|
+
};
|
|
63
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
64
|
+
};
|
|
65
|
+
orientation: {
|
|
66
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
67
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
69
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
defaultProps: {
|
|
73
|
+
inline: boolean;
|
|
74
|
+
orientation: any;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
Wrapper: {
|
|
78
|
+
({ containerProps, children, className, icon, inverted }: {
|
|
79
|
+
containerProps: any;
|
|
80
|
+
children: any;
|
|
81
|
+
className: any;
|
|
82
|
+
icon: any;
|
|
83
|
+
inverted: any;
|
|
84
|
+
}): JSX.Element;
|
|
85
|
+
propTypes: {
|
|
86
|
+
containerProps: {
|
|
87
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
88
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
90
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
91
|
+
};
|
|
92
|
+
className: {
|
|
93
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
94
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
95
|
+
};
|
|
96
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
97
|
+
};
|
|
98
|
+
icon: {
|
|
99
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
103
|
+
};
|
|
104
|
+
inverted: {
|
|
105
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
106
|
+
};
|
|
107
|
+
children: import("react-desc").PropTypesDescValue;
|
|
108
|
+
};
|
|
109
|
+
defaultProps: {
|
|
110
|
+
containerProps: {};
|
|
111
|
+
className: string;
|
|
112
|
+
icon: null;
|
|
113
|
+
inverted: boolean;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
Label: {
|
|
117
|
+
({ children, position: labelPosition, color }: {
|
|
118
|
+
children: any;
|
|
119
|
+
position: any;
|
|
120
|
+
color: any;
|
|
121
|
+
}): JSX.Element;
|
|
122
|
+
propTypes: {
|
|
123
|
+
children: import("react-desc").PropTypesDescValue;
|
|
124
|
+
position: {
|
|
125
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
126
|
+
};
|
|
127
|
+
color: {
|
|
128
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
defaultProps: {
|
|
132
|
+
position: any;
|
|
133
|
+
color: any;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
Value: {
|
|
137
|
+
({ children, position: valuePosition, size, color: valueColor, semibold, }: {
|
|
138
|
+
children: any;
|
|
139
|
+
position: any;
|
|
140
|
+
size: any;
|
|
141
|
+
color: any;
|
|
142
|
+
semibold?: boolean | undefined;
|
|
143
|
+
}): JSX.Element;
|
|
144
|
+
propTypes: {
|
|
145
|
+
children: import("react-desc").PropTypesDescValue;
|
|
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
|
+
};
|
|
158
|
+
};
|
|
159
|
+
defaultProps: {
|
|
160
|
+
position: any;
|
|
161
|
+
size: any;
|
|
162
|
+
color: any;
|
|
163
|
+
semibold: boolean;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };
|
|
168
|
+
export default DSLabelValue;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const Group: {
|
|
4
|
+
({ children, inline, orientation }: {
|
|
5
|
+
children: any;
|
|
6
|
+
inline: any;
|
|
7
|
+
orientation: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
propTypes: {
|
|
10
|
+
children: {
|
|
11
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
15
|
+
};
|
|
16
|
+
inline: {
|
|
17
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
18
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
19
|
+
};
|
|
20
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
21
|
+
};
|
|
22
|
+
orientation: {
|
|
23
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
24
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
25
|
+
};
|
|
26
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
defaultProps: {
|
|
30
|
+
inline: boolean;
|
|
31
|
+
orientation: any;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
declare const GroupWithSchema: {
|
|
35
|
+
(props?: unknown): JSX.Element;
|
|
36
|
+
propTypes: unknown;
|
|
37
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
38
|
+
};
|
|
39
|
+
export { GroupWithSchema };
|
|
40
|
+
export default Group;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const Label: {
|
|
4
|
+
({ children, position: labelPosition, color }: {
|
|
5
|
+
children: any;
|
|
6
|
+
position: any;
|
|
7
|
+
color: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
propTypes: {
|
|
10
|
+
children: import("react-desc").PropTypesDescValue;
|
|
11
|
+
position: {
|
|
12
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
defaultProps: {
|
|
19
|
+
position: any;
|
|
20
|
+
color: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
declare const LabelWithSchema: {
|
|
24
|
+
(props?: unknown): JSX.Element;
|
|
25
|
+
propTypes: unknown;
|
|
26
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
27
|
+
};
|
|
28
|
+
export { LabelWithSchema };
|
|
29
|
+
export default Label;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const Value: {
|
|
4
|
+
({ children, position: valuePosition, size, color: valueColor, semibold, }: {
|
|
5
|
+
children: any;
|
|
6
|
+
position: any;
|
|
7
|
+
size: any;
|
|
8
|
+
color: any;
|
|
9
|
+
semibold?: boolean | undefined;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
propTypes: {
|
|
12
|
+
children: import("react-desc").PropTypesDescValue;
|
|
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
|
+
};
|
|
25
|
+
};
|
|
26
|
+
defaultProps: {
|
|
27
|
+
position: any;
|
|
28
|
+
size: any;
|
|
29
|
+
color: any;
|
|
30
|
+
semibold: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
declare const ValueWithSchema: {
|
|
34
|
+
(props?: unknown): JSX.Element;
|
|
35
|
+
propTypes: unknown;
|
|
36
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
37
|
+
};
|
|
38
|
+
export { ValueWithSchema };
|
|
39
|
+
export default Value;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
declare const Wrapper: {
|
|
4
|
+
({ containerProps, children, className, icon, inverted }: {
|
|
5
|
+
containerProps: any;
|
|
6
|
+
children: any;
|
|
7
|
+
className: any;
|
|
8
|
+
icon: any;
|
|
9
|
+
inverted: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
propTypes: {
|
|
12
|
+
containerProps: {
|
|
13
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
14
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
15
|
+
};
|
|
16
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
17
|
+
};
|
|
18
|
+
className: {
|
|
19
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
20
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
21
|
+
};
|
|
22
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
23
|
+
};
|
|
24
|
+
icon: {
|
|
25
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
|
+
};
|
|
30
|
+
inverted: {
|
|
31
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
32
|
+
};
|
|
33
|
+
children: import("react-desc").PropTypesDescValue;
|
|
34
|
+
};
|
|
35
|
+
defaultProps: {
|
|
36
|
+
containerProps: {};
|
|
37
|
+
className: string;
|
|
38
|
+
icon: null;
|
|
39
|
+
inverted: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
declare const WrapperWithSchema: {
|
|
43
|
+
(props?: unknown): JSX.Element;
|
|
44
|
+
propTypes: unknown;
|
|
45
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
46
|
+
};
|
|
47
|
+
export { WrapperWithSchema };
|
|
48
|
+
export default Wrapper;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const groupDefault: {
|
|
2
|
+
inline: boolean;
|
|
3
|
+
orientation: any;
|
|
4
|
+
};
|
|
5
|
+
export declare const labelDefault: {
|
|
6
|
+
position: any;
|
|
7
|
+
color: any;
|
|
8
|
+
};
|
|
9
|
+
export declare const valueDefault: {
|
|
10
|
+
position: any;
|
|
11
|
+
size: any;
|
|
12
|
+
color: any;
|
|
13
|
+
semibold: boolean;
|
|
14
|
+
};
|
|
15
|
+
export declare const wrapperDefault: {
|
|
16
|
+
containerProps: {};
|
|
17
|
+
className: string;
|
|
18
|
+
icon: null;
|
|
19
|
+
inverted: boolean;
|
|
20
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/// <reference path="../../../../../shared/typings/react-desc.d.ts" />
|
|
2
|
+
export declare const groupProps: {
|
|
3
|
+
/**
|
|
4
|
+
* The elements to be wrapped
|
|
5
|
+
*/
|
|
6
|
+
children: {
|
|
7
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
8
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
9
|
+
};
|
|
10
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* If the label value should be inline
|
|
14
|
+
*/
|
|
15
|
+
inline: {
|
|
16
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
17
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
18
|
+
};
|
|
19
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* 'vertical' or 'horizontal'
|
|
23
|
+
*/
|
|
24
|
+
orientation: {
|
|
25
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
26
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
27
|
+
};
|
|
28
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const labelProps: {
|
|
32
|
+
children: import("react-desc").PropTypesDescValue;
|
|
33
|
+
position: {
|
|
34
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export declare const wrapperProps: {
|
|
41
|
+
containerProps: {
|
|
42
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
43
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
44
|
+
};
|
|
45
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
46
|
+
};
|
|
47
|
+
className: {
|
|
48
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
49
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
50
|
+
};
|
|
51
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
52
|
+
};
|
|
53
|
+
icon: {
|
|
54
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
55
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
56
|
+
};
|
|
57
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
58
|
+
};
|
|
59
|
+
inverted: {
|
|
60
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
62
|
+
children: import("react-desc").PropTypesDescValue;
|
|
63
|
+
};
|
|
64
|
+
export declare const valueProps: {
|
|
65
|
+
children: import("react-desc").PropTypesDescValue;
|
|
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
|
+
};
|
|
78
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, default as DSLabelValue, WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema, } from './DSLabelValue';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-label-value",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Label value",
|
|
6
6
|
"files": [
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
},
|
|
58
58
|
"author": "ICE MT",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@elliemae/ds-classnames": "2.3.0-alpha.
|
|
61
|
-
"@elliemae/ds-shared": "2.3.0-alpha.
|
|
60
|
+
"@elliemae/ds-classnames": "2.3.0-alpha.9",
|
|
61
|
+
"@elliemae/ds-shared": "2.3.0-alpha.9",
|
|
62
62
|
"react-desc": "~4.1.3"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|