@elliemae/ds-label-value 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/components/Group.js +22 -16
- package/cjs/components/Label.js +22 -16
- package/cjs/components/Value.js +28 -22
- package/cjs/components/Wrapper.js +31 -20
- package/esm/components/Group.js +22 -16
- package/esm/components/Label.js +22 -16
- package/esm/components/Value.js +28 -22
- package/esm/components/Wrapper.js +30 -19
- package/package.json +4 -3
- package/types/DSLabelValue.d.ts +83 -21
- package/types/components/Group.d.ts +28 -4
- package/types/components/Label.d.ts +17 -4
- package/types/components/Value.d.ts +25 -6
- package/types/components/Wrapper.d.ts +34 -6
- package/types/components/props.d.ts +61 -16
package/cjs/components/Group.js
CHANGED
|
@@ -14,24 +14,30 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
15
15
|
|
|
16
16
|
const blockName = 'labelValueGroup';
|
|
17
|
-
const WrapperGroup = dsClassnames.aggregatedClasses('div')(blockName, 'wrapper',
|
|
18
|
-
|
|
19
|
-
inline
|
|
20
|
-
}) => ({
|
|
21
|
-
inline,
|
|
22
|
-
[orientation]: orientation
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const Group = ({
|
|
26
|
-
children,
|
|
27
|
-
inline,
|
|
28
|
-
orientation
|
|
29
|
-
}) => /*#__PURE__*/_jsx__default["default"](WrapperGroup, {
|
|
30
|
-
classProps: {
|
|
17
|
+
const WrapperGroup = dsClassnames.aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
18
|
+
let {
|
|
31
19
|
orientation,
|
|
32
20
|
inline
|
|
33
|
-
}
|
|
34
|
-
|
|
21
|
+
} = _ref;
|
|
22
|
+
return {
|
|
23
|
+
inline,
|
|
24
|
+
[orientation]: orientation
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const Group = _ref2 => {
|
|
29
|
+
let {
|
|
30
|
+
children,
|
|
31
|
+
inline,
|
|
32
|
+
orientation
|
|
33
|
+
} = _ref2;
|
|
34
|
+
return /*#__PURE__*/_jsx__default["default"](WrapperGroup, {
|
|
35
|
+
classProps: {
|
|
36
|
+
orientation,
|
|
37
|
+
inline
|
|
38
|
+
}
|
|
39
|
+
}, void 0, children);
|
|
40
|
+
};
|
|
35
41
|
|
|
36
42
|
Group.defaultProps = defaultProps.groupDefault;
|
|
37
43
|
const GroupWithSchema = reactDesc.describe(Group);
|
package/cjs/components/Label.js
CHANGED
|
@@ -14,24 +14,30 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
15
15
|
|
|
16
16
|
const blockName = 'labelValue';
|
|
17
|
-
const LabelStyled = dsClassnames.aggregatedClasses('div')(blockName, 'label',
|
|
18
|
-
|
|
19
|
-
labelColor
|
|
20
|
-
}) => ({
|
|
21
|
-
[labelPosition]: labelPosition,
|
|
22
|
-
[labelColor]: labelColor
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const Label = ({
|
|
26
|
-
children,
|
|
27
|
-
position: labelPosition,
|
|
28
|
-
color
|
|
29
|
-
}) => /*#__PURE__*/_jsx__default["default"](LabelStyled, {
|
|
30
|
-
classProps: {
|
|
17
|
+
const LabelStyled = dsClassnames.aggregatedClasses('div')(blockName, 'label', _ref => {
|
|
18
|
+
let {
|
|
31
19
|
labelPosition,
|
|
20
|
+
labelColor
|
|
21
|
+
} = _ref;
|
|
22
|
+
return {
|
|
23
|
+
[labelPosition]: labelPosition,
|
|
24
|
+
[labelColor]: labelColor
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
const Label = _ref2 => {
|
|
29
|
+
let {
|
|
30
|
+
children,
|
|
31
|
+
position: labelPosition,
|
|
32
32
|
color
|
|
33
|
-
}
|
|
34
|
-
|
|
33
|
+
} = _ref2;
|
|
34
|
+
return /*#__PURE__*/_jsx__default["default"](LabelStyled, {
|
|
35
|
+
classProps: {
|
|
36
|
+
labelPosition,
|
|
37
|
+
color
|
|
38
|
+
}
|
|
39
|
+
}, void 0, children);
|
|
40
|
+
};
|
|
35
41
|
|
|
36
42
|
Label.defaultProps = defaultProps.labelDefault;
|
|
37
43
|
const LabelWithSchema = reactDesc.describe(Label);
|
package/cjs/components/Value.js
CHANGED
|
@@ -14,32 +14,38 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
14
14
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
15
15
|
|
|
16
16
|
const blockName = 'labelValue';
|
|
17
|
-
const ValueStyled = dsClassnames.aggregatedClasses('div')(blockName, 'value',
|
|
18
|
-
|
|
19
|
-
valuePosition,
|
|
20
|
-
valueColor,
|
|
21
|
-
semibold
|
|
22
|
-
}) => ({
|
|
23
|
-
[size]: size,
|
|
24
|
-
[valuePosition]: valuePosition,
|
|
25
|
-
[valueColor]: valueColor,
|
|
26
|
-
semibold
|
|
27
|
-
}));
|
|
28
|
-
|
|
29
|
-
const Value = ({
|
|
30
|
-
children,
|
|
31
|
-
position: valuePosition,
|
|
32
|
-
size,
|
|
33
|
-
color: valueColor,
|
|
34
|
-
semibold = false
|
|
35
|
-
}) => /*#__PURE__*/_jsx__default["default"](ValueStyled, {
|
|
36
|
-
classProps: {
|
|
17
|
+
const ValueStyled = dsClassnames.aggregatedClasses('div')(blockName, 'value', _ref => {
|
|
18
|
+
let {
|
|
37
19
|
size,
|
|
38
20
|
valuePosition,
|
|
39
21
|
valueColor,
|
|
40
22
|
semibold
|
|
41
|
-
}
|
|
42
|
-
|
|
23
|
+
} = _ref;
|
|
24
|
+
return {
|
|
25
|
+
[size]: size,
|
|
26
|
+
[valuePosition]: valuePosition,
|
|
27
|
+
[valueColor]: valueColor,
|
|
28
|
+
semibold
|
|
29
|
+
};
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
const Value = _ref2 => {
|
|
33
|
+
let {
|
|
34
|
+
children,
|
|
35
|
+
position: valuePosition,
|
|
36
|
+
size,
|
|
37
|
+
color: valueColor,
|
|
38
|
+
semibold = false
|
|
39
|
+
} = _ref2;
|
|
40
|
+
return /*#__PURE__*/_jsx__default["default"](ValueStyled, {
|
|
41
|
+
classProps: {
|
|
42
|
+
size,
|
|
43
|
+
valuePosition,
|
|
44
|
+
valueColor,
|
|
45
|
+
semibold
|
|
46
|
+
}
|
|
47
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"]("span", {}, void 0, children));
|
|
48
|
+
};
|
|
43
49
|
|
|
44
50
|
Value.defaultProps = defaultProps.valueDefault;
|
|
45
51
|
const ValueWithSchema = reactDesc.describe(Value);
|
|
@@ -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 _jsx = require('@babel/runtime/helpers/jsx');
|
|
6
11
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
7
12
|
require('react');
|
|
@@ -21,27 +26,33 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
21
26
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
22
27
|
const blockName = 'labelValue';
|
|
23
28
|
const LabelValueWrapper = dsClassnames.aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);
|
|
24
|
-
const Container = dsClassnames.aggregatedClasses('div')(blockName, 'wrapper',
|
|
25
|
-
|
|
26
|
-
}) => ({
|
|
27
|
-
inverted
|
|
28
|
-
}));
|
|
29
|
-
|
|
30
|
-
const Wrapper = ({
|
|
31
|
-
containerProps,
|
|
32
|
-
children,
|
|
33
|
-
className,
|
|
34
|
-
icon,
|
|
35
|
-
inverted
|
|
36
|
-
}) => /*#__PURE__*/_jsx__default["default"](Container, {
|
|
37
|
-
classProps: {
|
|
29
|
+
const Container = dsClassnames.aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
30
|
+
let {
|
|
38
31
|
inverted
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
32
|
+
} = _ref;
|
|
33
|
+
return {
|
|
34
|
+
inverted
|
|
35
|
+
};
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
const Wrapper = _ref2 => {
|
|
39
|
+
let {
|
|
40
|
+
containerProps,
|
|
41
|
+
children,
|
|
42
|
+
className,
|
|
43
|
+
icon,
|
|
44
|
+
inverted
|
|
45
|
+
} = _ref2;
|
|
46
|
+
return /*#__PURE__*/_jsx__default["default"](Container, {
|
|
47
|
+
classProps: {
|
|
48
|
+
inverted
|
|
49
|
+
}
|
|
50
|
+
}, void 0, icon, /*#__PURE__*/jsxRuntime.jsx(LabelValueWrapper, _objectSpread(_objectSpread({
|
|
51
|
+
className: className
|
|
52
|
+
}, containerProps), {}, {
|
|
53
|
+
children: children
|
|
54
|
+
})));
|
|
55
|
+
};
|
|
45
56
|
|
|
46
57
|
Wrapper.defaultProps = defaultProps.wrapperDefault;
|
|
47
58
|
const WrapperWithSchema = reactDesc.describe(Wrapper);
|
package/esm/components/Group.js
CHANGED
|
@@ -6,24 +6,30 @@ import { groupProps } from './props.js';
|
|
|
6
6
|
import { groupDefault } from './defaultProps.js';
|
|
7
7
|
|
|
8
8
|
const blockName = 'labelValueGroup';
|
|
9
|
-
const WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper',
|
|
10
|
-
|
|
11
|
-
inline
|
|
12
|
-
}) => ({
|
|
13
|
-
inline,
|
|
14
|
-
[orientation]: orientation
|
|
15
|
-
}));
|
|
16
|
-
|
|
17
|
-
const Group = ({
|
|
18
|
-
children,
|
|
19
|
-
inline,
|
|
20
|
-
orientation
|
|
21
|
-
}) => /*#__PURE__*/_jsx(WrapperGroup, {
|
|
22
|
-
classProps: {
|
|
9
|
+
const WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
10
|
+
let {
|
|
23
11
|
orientation,
|
|
24
12
|
inline
|
|
25
|
-
}
|
|
26
|
-
|
|
13
|
+
} = _ref;
|
|
14
|
+
return {
|
|
15
|
+
inline,
|
|
16
|
+
[orientation]: orientation
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
const Group = _ref2 => {
|
|
21
|
+
let {
|
|
22
|
+
children,
|
|
23
|
+
inline,
|
|
24
|
+
orientation
|
|
25
|
+
} = _ref2;
|
|
26
|
+
return /*#__PURE__*/_jsx(WrapperGroup, {
|
|
27
|
+
classProps: {
|
|
28
|
+
orientation,
|
|
29
|
+
inline
|
|
30
|
+
}
|
|
31
|
+
}, void 0, children);
|
|
32
|
+
};
|
|
27
33
|
|
|
28
34
|
Group.defaultProps = groupDefault;
|
|
29
35
|
const GroupWithSchema = describe(Group);
|
package/esm/components/Label.js
CHANGED
|
@@ -6,24 +6,30 @@ import { labelProps } from './props.js';
|
|
|
6
6
|
import { labelDefault } from './defaultProps.js';
|
|
7
7
|
|
|
8
8
|
const blockName = 'labelValue';
|
|
9
|
-
const LabelStyled = aggregatedClasses('div')(blockName, 'label',
|
|
10
|
-
|
|
11
|
-
labelColor
|
|
12
|
-
}) => ({
|
|
13
|
-
[labelPosition]: labelPosition,
|
|
14
|
-
[labelColor]: labelColor
|
|
15
|
-
}));
|
|
16
|
-
|
|
17
|
-
const Label = ({
|
|
18
|
-
children,
|
|
19
|
-
position: labelPosition,
|
|
20
|
-
color
|
|
21
|
-
}) => /*#__PURE__*/_jsx(LabelStyled, {
|
|
22
|
-
classProps: {
|
|
9
|
+
const LabelStyled = aggregatedClasses('div')(blockName, 'label', _ref => {
|
|
10
|
+
let {
|
|
23
11
|
labelPosition,
|
|
12
|
+
labelColor
|
|
13
|
+
} = _ref;
|
|
14
|
+
return {
|
|
15
|
+
[labelPosition]: labelPosition,
|
|
16
|
+
[labelColor]: labelColor
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
const Label = _ref2 => {
|
|
21
|
+
let {
|
|
22
|
+
children,
|
|
23
|
+
position: labelPosition,
|
|
24
24
|
color
|
|
25
|
-
}
|
|
26
|
-
|
|
25
|
+
} = _ref2;
|
|
26
|
+
return /*#__PURE__*/_jsx(LabelStyled, {
|
|
27
|
+
classProps: {
|
|
28
|
+
labelPosition,
|
|
29
|
+
color
|
|
30
|
+
}
|
|
31
|
+
}, void 0, children);
|
|
32
|
+
};
|
|
27
33
|
|
|
28
34
|
Label.defaultProps = labelDefault;
|
|
29
35
|
const LabelWithSchema = describe(Label);
|
package/esm/components/Value.js
CHANGED
|
@@ -6,32 +6,38 @@ import { valueProps } from './props.js';
|
|
|
6
6
|
import { valueDefault } from './defaultProps.js';
|
|
7
7
|
|
|
8
8
|
const blockName = 'labelValue';
|
|
9
|
-
const ValueStyled = aggregatedClasses('div')(blockName, 'value',
|
|
10
|
-
|
|
11
|
-
valuePosition,
|
|
12
|
-
valueColor,
|
|
13
|
-
semibold
|
|
14
|
-
}) => ({
|
|
15
|
-
[size]: size,
|
|
16
|
-
[valuePosition]: valuePosition,
|
|
17
|
-
[valueColor]: valueColor,
|
|
18
|
-
semibold
|
|
19
|
-
}));
|
|
20
|
-
|
|
21
|
-
const Value = ({
|
|
22
|
-
children,
|
|
23
|
-
position: valuePosition,
|
|
24
|
-
size,
|
|
25
|
-
color: valueColor,
|
|
26
|
-
semibold = false
|
|
27
|
-
}) => /*#__PURE__*/_jsx(ValueStyled, {
|
|
28
|
-
classProps: {
|
|
9
|
+
const ValueStyled = aggregatedClasses('div')(blockName, 'value', _ref => {
|
|
10
|
+
let {
|
|
29
11
|
size,
|
|
30
12
|
valuePosition,
|
|
31
13
|
valueColor,
|
|
32
14
|
semibold
|
|
33
|
-
}
|
|
34
|
-
|
|
15
|
+
} = _ref;
|
|
16
|
+
return {
|
|
17
|
+
[size]: size,
|
|
18
|
+
[valuePosition]: valuePosition,
|
|
19
|
+
[valueColor]: valueColor,
|
|
20
|
+
semibold
|
|
21
|
+
};
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
const Value = _ref2 => {
|
|
25
|
+
let {
|
|
26
|
+
children,
|
|
27
|
+
position: valuePosition,
|
|
28
|
+
size,
|
|
29
|
+
color: valueColor,
|
|
30
|
+
semibold = false
|
|
31
|
+
} = _ref2;
|
|
32
|
+
return /*#__PURE__*/_jsx(ValueStyled, {
|
|
33
|
+
classProps: {
|
|
34
|
+
size,
|
|
35
|
+
valuePosition,
|
|
36
|
+
valueColor,
|
|
37
|
+
semibold
|
|
38
|
+
}
|
|
39
|
+
}, void 0, /*#__PURE__*/_jsx("span", {}, void 0, children));
|
|
40
|
+
};
|
|
35
41
|
|
|
36
42
|
Value.defaultProps = valueDefault;
|
|
37
43
|
const ValueWithSchema = describe(Value);
|
|
@@ -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 _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
7
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
3
8
|
import 'react';
|
|
@@ -12,27 +17,33 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
12
17
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
13
18
|
const blockName = 'labelValue';
|
|
14
19
|
const LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);
|
|
15
|
-
const Container = aggregatedClasses('div')(blockName, 'wrapper',
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
const Container = aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
21
|
+
let {
|
|
22
|
+
inverted
|
|
23
|
+
} = _ref;
|
|
24
|
+
return {
|
|
25
|
+
inverted
|
|
26
|
+
};
|
|
27
|
+
});
|
|
20
28
|
|
|
21
|
-
const Wrapper =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}) => /*#__PURE__*/_jsx(Container, {
|
|
28
|
-
classProps: {
|
|
29
|
+
const Wrapper = _ref2 => {
|
|
30
|
+
let {
|
|
31
|
+
containerProps,
|
|
32
|
+
children,
|
|
33
|
+
className,
|
|
34
|
+
icon,
|
|
29
35
|
inverted
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
+
} = _ref2;
|
|
37
|
+
return /*#__PURE__*/_jsx(Container, {
|
|
38
|
+
classProps: {
|
|
39
|
+
inverted
|
|
40
|
+
}
|
|
41
|
+
}, void 0, icon, /*#__PURE__*/jsx(LabelValueWrapper, _objectSpread(_objectSpread({
|
|
42
|
+
className: className
|
|
43
|
+
}, containerProps), {}, {
|
|
44
|
+
children: children
|
|
45
|
+
})));
|
|
46
|
+
};
|
|
36
47
|
|
|
37
48
|
Wrapper.defaultProps = wrapperDefault;
|
|
38
49
|
const WrapperWithSchema = describe(Wrapper);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-label-value",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-rc.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Label value",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -60,8 +60,9 @@
|
|
|
60
60
|
"build": "node ../../scripts/build/build.js"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@elliemae/ds-classnames": "2.0.0-
|
|
64
|
-
"
|
|
63
|
+
"@elliemae/ds-classnames": "2.0.0-rc.12",
|
|
64
|
+
"@elliemae/ds-shared": "2.0.0-rc.12",
|
|
65
|
+
"react-desc": "~4.1.3"
|
|
65
66
|
},
|
|
66
67
|
"peerDependencies": {
|
|
67
68
|
"lodash": "^4.17.21",
|
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
|
};
|