@elliemae/ds-label-value 3.0.0-next.1 → 3.0.0-next.5
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/cjs/DSLabelValue.js +49 -0
- package/dist/cjs/DSLabelValue.js.map +7 -0
- package/dist/cjs/components/Group.js +53 -0
- package/dist/cjs/components/Group.js.map +7 -0
- package/dist/cjs/components/Label.js +53 -0
- package/dist/cjs/components/Label.js.map +7 -0
- package/dist/cjs/components/Value.js +66 -0
- package/dist/cjs/components/Value.js.map +7 -0
- package/dist/cjs/components/Wrapper.js +69 -0
- package/dist/cjs/components/Wrapper.js.map +7 -0
- package/dist/cjs/components/defaultProps.js +58 -0
- package/dist/cjs/components/defaultProps.js.map +7 -0
- package/dist/cjs/components/props.js +71 -0
- package/dist/cjs/components/props.js.map +7 -0
- package/dist/cjs/index.js +40 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/esm/DSLabelValue.js +20 -0
- package/dist/esm/DSLabelValue.js.map +7 -0
- package/dist/esm/components/Group.js +24 -0
- package/dist/esm/components/Group.js.map +7 -0
- package/dist/esm/components/Label.js +24 -0
- package/dist/esm/components/Label.js.map +7 -0
- package/dist/esm/components/Value.js +37 -0
- package/dist/esm/components/Value.js.map +7 -0
- package/dist/esm/components/Wrapper.js +42 -0
- package/dist/esm/components/Wrapper.js.map +7 -0
- package/{esm → dist/esm}/components/defaultProps.js +15 -5
- package/dist/esm/components/defaultProps.js.map +7 -0
- package/dist/esm/components/props.js +46 -0
- package/dist/esm/components/props.js.map +7 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +7 -0
- package/package.json +40 -31
- package/cjs/DSLabelValue.js +0 -21
- package/cjs/components/Group.js +0 -47
- package/cjs/components/Label.js +0 -47
- package/cjs/components/Value.js +0 -55
- package/cjs/components/Wrapper.js +0 -62
- package/cjs/components/defaultProps.js +0 -31
- package/cjs/components/props.js +0 -47
- package/cjs/index.js +0 -18
- package/esm/DSLabelValue.js +0 -17
- package/esm/components/Group.js +0 -38
- package/esm/components/Label.js +0 -38
- package/esm/components/Value.js +0 -46
- package/esm/components/Wrapper.js +0 -52
- package/esm/components/props.js +0 -40
- package/esm/index.js +0 -5
- package/types/DSLabelValue.d.ts +0 -168
- package/types/components/Group.d.ts +0 -44
- package/types/components/Label.d.ts +0 -33
- package/types/components/Value.d.ts +0 -45
- package/types/components/Wrapper.d.ts +0 -54
- package/types/components/defaultProps.d.ts +0 -20
- package/types/components/props.d.ts +0 -78
- package/types/index.d.ts +0 -1
package/cjs/components/props.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var reactDesc = require('react-desc');
|
|
6
|
-
var propTypes = require('@elliemae/ds-shared/prop-types');
|
|
7
|
-
|
|
8
|
-
const groupProps = {
|
|
9
|
-
/**
|
|
10
|
-
* The elements to be wrapped
|
|
11
|
-
*/
|
|
12
|
-
children: reactDesc.PropTypes.element.description('The elements to be wrapped'),
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* If the label value should be inline
|
|
16
|
-
*/
|
|
17
|
-
inline: reactDesc.PropTypes.bool.description('If the label value should be inline'),
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* 'vertical' or 'horizontal'
|
|
21
|
-
*/
|
|
22
|
-
orientation: reactDesc.PropTypes.string.description("'vertical' or 'horizontal'")
|
|
23
|
-
};
|
|
24
|
-
const labelProps = {
|
|
25
|
-
children: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.element, reactDesc.PropTypes.string, reactDesc.PropTypes.number]).description('Label element').isRequired,
|
|
26
|
-
position: reactDesc.PropTypes.string.description('labels position').defaultValue(propTypes.position.LEFT),
|
|
27
|
-
color: reactDesc.PropTypes.string.description('labels color').defaultValue(propTypes.fontColor.NEUTRAL500)
|
|
28
|
-
};
|
|
29
|
-
const wrapperProps = {
|
|
30
|
-
containerProps: reactDesc.PropTypes.object.description('Set of Properties attached to the main container'),
|
|
31
|
-
className: reactDesc.PropTypes.string.description('html class attribute'),
|
|
32
|
-
icon: reactDesc.PropTypes.element.description('Icon to be attached near value'),
|
|
33
|
-
inverted: reactDesc.PropTypes.bool.description('Changes the position of the label').defaultValue(false),
|
|
34
|
-
children: reactDesc.PropTypes.element.description('label value').isRequired
|
|
35
|
-
};
|
|
36
|
-
const valueProps = {
|
|
37
|
-
children: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.element, reactDesc.PropTypes.string, reactDesc.PropTypes.number]).description('value element').isRequired,
|
|
38
|
-
size: reactDesc.PropTypes.func.description('values size').defaultValue(propTypes.sizeVariants.M),
|
|
39
|
-
position: reactDesc.PropTypes.string.description('position of the value').defaultValue(propTypes.position.LEFT),
|
|
40
|
-
color: reactDesc.PropTypes.string.description('value color').defaultValue(propTypes.fontColor.NEUTRAL700),
|
|
41
|
-
semibold: reactDesc.PropTypes.bool.description('semibold or not').defaultValue(false)
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
exports.groupProps = groupProps;
|
|
45
|
-
exports.labelProps = labelProps;
|
|
46
|
-
exports.valueProps = valueProps;
|
|
47
|
-
exports.wrapperProps = wrapperProps;
|
package/cjs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var DSLabelValue = require('./DSLabelValue.js');
|
|
6
|
-
var Wrapper = require('./components/Wrapper.js');
|
|
7
|
-
var Group = require('./components/Group.js');
|
|
8
|
-
var Label = require('./components/Label.js');
|
|
9
|
-
var Value = require('./components/Value.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.DSLabelValue = DSLabelValue["default"];
|
|
14
|
-
exports["default"] = DSLabelValue["default"];
|
|
15
|
-
exports.WrapperWithSchema = Wrapper.WrapperWithSchema;
|
|
16
|
-
exports.GroupWithSchema = Group.GroupWithSchema;
|
|
17
|
-
exports.LabelWithSchema = Label.LabelWithSchema;
|
|
18
|
-
exports.ValueWithSchema = Value.ValueWithSchema;
|
package/esm/DSLabelValue.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Wrapper from './components/Wrapper.js';
|
|
2
|
-
export { WrapperWithSchema } from './components/Wrapper.js';
|
|
3
|
-
import Group from './components/Group.js';
|
|
4
|
-
export { GroupWithSchema } from './components/Group.js';
|
|
5
|
-
import Label from './components/Label.js';
|
|
6
|
-
export { LabelWithSchema } from './components/Label.js';
|
|
7
|
-
import Value from './components/Value.js';
|
|
8
|
-
export { ValueWithSchema } from './components/Value.js';
|
|
9
|
-
|
|
10
|
-
const DSLabelValue = Object.assign(Wrapper, {
|
|
11
|
-
Group,
|
|
12
|
-
Wrapper,
|
|
13
|
-
Label,
|
|
14
|
-
Value
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
export { DSLabelValue as default };
|
package/esm/components/Group.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
-
import 'react';
|
|
3
|
-
import { describe } from 'react-desc';
|
|
4
|
-
import { aggregatedClasses } from '@elliemae/ds-classnames';
|
|
5
|
-
import { groupProps } from './props.js';
|
|
6
|
-
import { groupDefault } from './defaultProps.js';
|
|
7
|
-
|
|
8
|
-
const blockName = 'labelValueGroup';
|
|
9
|
-
const WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
10
|
-
let {
|
|
11
|
-
orientation,
|
|
12
|
-
inline
|
|
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
|
-
};
|
|
33
|
-
|
|
34
|
-
Group.defaultProps = groupDefault;
|
|
35
|
-
const GroupWithSchema = describe(Group);
|
|
36
|
-
GroupWithSchema.propTypes = groupProps;
|
|
37
|
-
|
|
38
|
-
export { GroupWithSchema, Group as default };
|
package/esm/components/Label.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
-
import 'react';
|
|
3
|
-
import { describe } from 'react-desc';
|
|
4
|
-
import { aggregatedClasses } from '@elliemae/ds-classnames';
|
|
5
|
-
import { labelProps } from './props.js';
|
|
6
|
-
import { labelDefault } from './defaultProps.js';
|
|
7
|
-
|
|
8
|
-
const blockName = 'labelValue';
|
|
9
|
-
const LabelStyled = aggregatedClasses('div')(blockName, 'label', _ref => {
|
|
10
|
-
let {
|
|
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
|
-
color
|
|
25
|
-
} = _ref2;
|
|
26
|
-
return /*#__PURE__*/_jsx(LabelStyled, {
|
|
27
|
-
classProps: {
|
|
28
|
-
labelPosition,
|
|
29
|
-
color
|
|
30
|
-
}
|
|
31
|
-
}, void 0, children);
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
Label.defaultProps = labelDefault;
|
|
35
|
-
const LabelWithSchema = describe(Label);
|
|
36
|
-
LabelWithSchema.propTypes = labelProps;
|
|
37
|
-
|
|
38
|
-
export { LabelWithSchema, Label as default };
|
package/esm/components/Value.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
-
import 'react';
|
|
3
|
-
import { describe } from 'react-desc';
|
|
4
|
-
import { aggregatedClasses } from '@elliemae/ds-classnames';
|
|
5
|
-
import { valueProps } from './props.js';
|
|
6
|
-
import { valueDefault } from './defaultProps.js';
|
|
7
|
-
|
|
8
|
-
const blockName = 'labelValue';
|
|
9
|
-
const ValueStyled = aggregatedClasses('div')(blockName, 'value', _ref => {
|
|
10
|
-
let {
|
|
11
|
-
size,
|
|
12
|
-
valuePosition,
|
|
13
|
-
valueColor,
|
|
14
|
-
semibold
|
|
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
|
-
};
|
|
41
|
-
|
|
42
|
-
Value.defaultProps = valueDefault;
|
|
43
|
-
const ValueWithSchema = describe(Value);
|
|
44
|
-
ValueWithSchema.propTypes = valueProps;
|
|
45
|
-
|
|
46
|
-
export { ValueWithSchema, Value as default };
|
|
@@ -1,52 +0,0 @@
|
|
|
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';
|
|
6
|
-
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
7
|
-
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
8
|
-
import 'react';
|
|
9
|
-
import { describe } from 'react-desc';
|
|
10
|
-
import { aggregatedClasses } from '@elliemae/ds-classnames';
|
|
11
|
-
import { wrapperProps } from './props.js';
|
|
12
|
-
import { wrapperDefault } from './defaultProps.js';
|
|
13
|
-
import { jsx } from 'react/jsx-runtime';
|
|
14
|
-
|
|
15
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
16
|
-
|
|
17
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18
|
-
const blockName = 'labelValue';
|
|
19
|
-
const LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);
|
|
20
|
-
const Container = aggregatedClasses('div')(blockName, 'wrapper', _ref => {
|
|
21
|
-
let {
|
|
22
|
-
inverted
|
|
23
|
-
} = _ref;
|
|
24
|
-
return {
|
|
25
|
-
inverted
|
|
26
|
-
};
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
const Wrapper = _ref2 => {
|
|
30
|
-
let {
|
|
31
|
-
containerProps,
|
|
32
|
-
children,
|
|
33
|
-
className,
|
|
34
|
-
icon,
|
|
35
|
-
inverted
|
|
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
|
-
};
|
|
47
|
-
|
|
48
|
-
Wrapper.defaultProps = wrapperDefault;
|
|
49
|
-
const WrapperWithSchema = describe(Wrapper);
|
|
50
|
-
WrapperWithSchema.propTypes = wrapperProps;
|
|
51
|
-
|
|
52
|
-
export { WrapperWithSchema, Wrapper as default };
|
package/esm/components/props.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PropTypes } from 'react-desc';
|
|
2
|
-
import { position, fontColor, sizeVariants } from '@elliemae/ds-shared/prop-types';
|
|
3
|
-
|
|
4
|
-
const groupProps = {
|
|
5
|
-
/**
|
|
6
|
-
* The elements to be wrapped
|
|
7
|
-
*/
|
|
8
|
-
children: PropTypes.element.description('The elements to be wrapped'),
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* If the label value should be inline
|
|
12
|
-
*/
|
|
13
|
-
inline: PropTypes.bool.description('If the label value should be inline'),
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* 'vertical' or 'horizontal'
|
|
17
|
-
*/
|
|
18
|
-
orientation: PropTypes.string.description("'vertical' or 'horizontal'")
|
|
19
|
-
};
|
|
20
|
-
const labelProps = {
|
|
21
|
-
children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element').isRequired,
|
|
22
|
-
position: PropTypes.string.description('labels position').defaultValue(position.LEFT),
|
|
23
|
-
color: PropTypes.string.description('labels color').defaultValue(fontColor.NEUTRAL500)
|
|
24
|
-
};
|
|
25
|
-
const wrapperProps = {
|
|
26
|
-
containerProps: PropTypes.object.description('Set of Properties attached to the main container'),
|
|
27
|
-
className: PropTypes.string.description('html class attribute'),
|
|
28
|
-
icon: PropTypes.element.description('Icon to be attached near value'),
|
|
29
|
-
inverted: PropTypes.bool.description('Changes the position of the label').defaultValue(false),
|
|
30
|
-
children: PropTypes.element.description('label value').isRequired
|
|
31
|
-
};
|
|
32
|
-
const valueProps = {
|
|
33
|
-
children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element').isRequired,
|
|
34
|
-
size: PropTypes.func.description('values size').defaultValue(sizeVariants.M),
|
|
35
|
-
position: PropTypes.string.description('position of the value').defaultValue(position.LEFT),
|
|
36
|
-
color: PropTypes.string.description('value color').defaultValue(fontColor.NEUTRAL700),
|
|
37
|
-
semibold: PropTypes.bool.description('semibold or not').defaultValue(false)
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export { groupProps, labelProps, valueProps, wrapperProps };
|
package/esm/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { default as DSLabelValue, default } from './DSLabelValue.js';
|
|
2
|
-
export { WrapperWithSchema } from './components/Wrapper.js';
|
|
3
|
-
export { GroupWithSchema } from './components/Group.js';
|
|
4
|
-
export { LabelWithSchema } from './components/Label.js';
|
|
5
|
-
export { ValueWithSchema } from './components/Value.js';
|
package/types/DSLabelValue.d.ts
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
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;
|
|
@@ -1,44 +0,0 @@
|
|
|
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?: {
|
|
36
|
-
children: any;
|
|
37
|
-
inline: any;
|
|
38
|
-
orientation: any;
|
|
39
|
-
} | undefined): JSX.Element;
|
|
40
|
-
propTypes: unknown;
|
|
41
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
42
|
-
};
|
|
43
|
-
export { GroupWithSchema };
|
|
44
|
-
export default Group;
|
|
@@ -1,33 +0,0 @@
|
|
|
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?: {
|
|
25
|
-
children: any;
|
|
26
|
-
position: any;
|
|
27
|
-
color: any;
|
|
28
|
-
} | undefined): JSX.Element;
|
|
29
|
-
propTypes: unknown;
|
|
30
|
-
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
31
|
-
};
|
|
32
|
-
export { LabelWithSchema };
|
|
33
|
-
export default Label;
|
|
@@ -1,45 +0,0 @@
|
|
|
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?: {
|
|
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
|
-
};
|
|
44
|
-
export { ValueWithSchema };
|
|
45
|
-
export default Value;
|
|
@@ -1,54 +0,0 @@
|
|
|
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?: {
|
|
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
|
-
};
|
|
53
|
-
export { WrapperWithSchema };
|
|
54
|
-
export default Wrapper;
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|