@elliemae/ds-label-value 1.60.0 → 2.0.0-alpha.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.
Files changed (52) hide show
  1. package/cjs/DSLabelValue.js +14 -23
  2. package/cjs/components/Group.js +30 -29
  3. package/cjs/components/Label.js +30 -29
  4. package/cjs/components/Value.js +38 -36
  5. package/cjs/components/Wrapper.js +41 -30
  6. package/cjs/components/defaultProps.js +5 -6
  7. package/cjs/components/props.js +5 -6
  8. package/cjs/index.js +10 -19
  9. package/esm/DSLabelValue.js +5 -14
  10. package/esm/components/Group.js +23 -21
  11. package/esm/components/Label.js +23 -21
  12. package/esm/components/Value.js +31 -28
  13. package/esm/components/Wrapper.js +34 -23
  14. package/esm/components/defaultProps.js +5 -6
  15. package/esm/components/props.js +5 -6
  16. package/esm/index.js +0 -9
  17. package/package.json +56 -10
  18. package/types/DSLabelValue.d.ts +168 -0
  19. package/types/components/Group.d.ts +44 -0
  20. package/types/components/Label.d.ts +33 -0
  21. package/types/components/Value.d.ts +45 -0
  22. package/types/components/Wrapper.d.ts +54 -0
  23. package/types/components/defaultProps.d.ts +20 -0
  24. package/types/components/props.d.ts +78 -0
  25. package/types/index.d.ts +1 -0
  26. package/DSLabelValue/package.json +0 -10
  27. package/cjs/DSLabelValue.js.map +0 -1
  28. package/cjs/components/Group.js.map +0 -1
  29. package/cjs/components/Label.js.map +0 -1
  30. package/cjs/components/Value.js.map +0 -1
  31. package/cjs/components/Wrapper.js.map +0 -1
  32. package/cjs/components/defaultProps.js.map +0 -1
  33. package/cjs/components/props.js.map +0 -1
  34. package/cjs/index.js.map +0 -1
  35. package/cjs/prop-types-15287a6f.js +0 -31
  36. package/cjs/prop-types-15287a6f.js.map +0 -1
  37. package/components/Group/package.json +0 -10
  38. package/components/Label/package.json +0 -10
  39. package/components/Value/package.json +0 -10
  40. package/components/Wrapper/package.json +0 -10
  41. package/components/defaultProps/package.json +0 -10
  42. package/components/props/package.json +0 -10
  43. package/esm/DSLabelValue.js.map +0 -1
  44. package/esm/components/Group.js.map +0 -1
  45. package/esm/components/Label.js.map +0 -1
  46. package/esm/components/Value.js.map +0 -1
  47. package/esm/components/Wrapper.js.map +0 -1
  48. package/esm/components/defaultProps.js.map +0 -1
  49. package/esm/components/props.js.map +0 -1
  50. package/esm/index.js.map +0 -1
  51. package/esm/prop-types-2c19033d.js +0 -26
  52. package/esm/prop-types-2c19033d.js.map +0 -1
@@ -1,43 +1,46 @@
1
- import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
- import React from 'react';
1
+ import _jsx from '@babel/runtime/helpers/esm/jsx';
2
+ import 'react';
3
3
  import { describe } from 'react-desc';
4
4
  import { aggregatedClasses } from '@elliemae/ds-classnames';
5
5
  import { valueProps } from './props.js';
6
6
  import { valueDefault } from './defaultProps.js';
7
- import '../prop-types-2c19033d.js';
8
7
 
9
- var blockName = 'labelValue';
10
- var ValueStyled = aggregatedClasses('div')(blockName, 'value', function (_ref) {
11
- var _ref2;
12
-
13
- var size = _ref.size,
14
- valuePosition = _ref.valuePosition,
15
- valueColor = _ref.valueColor,
16
- semibold = _ref.semibold;
17
- return _ref2 = {}, _defineProperty(_ref2, size, size), _defineProperty(_ref2, valuePosition, valuePosition), _defineProperty(_ref2, valueColor, valueColor), _defineProperty(_ref2, "semibold", semibold), _ref2;
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
+ };
18
22
  });
19
23
 
20
- var Value = function Value(_ref3) {
21
- var children = _ref3.children,
22
- valuePosition = _ref3.position,
23
- size = _ref3.size,
24
- valueColor = _ref3.color,
25
- _ref3$semibold = _ref3.semibold,
26
- semibold = _ref3$semibold === void 0 ? false : _ref3$semibold;
27
- return /*#__PURE__*/React.createElement(ValueStyled, {
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, {
28
33
  classProps: {
29
- size: size,
30
- valuePosition: valuePosition,
31
- valueColor: valueColor,
32
- semibold: semibold
34
+ size,
35
+ valuePosition,
36
+ valueColor,
37
+ semibold
33
38
  }
34
- }, /*#__PURE__*/React.createElement("span", null, children));
39
+ }, void 0, /*#__PURE__*/_jsx("span", {}, void 0, children));
35
40
  };
36
41
 
37
- Value.propTypes = valueProps;
38
42
  Value.defaultProps = valueDefault;
39
- var ValueWithSchema = describe(Value);
43
+ const ValueWithSchema = describe(Value);
40
44
  ValueWithSchema.propTypes = valueProps;
41
45
 
42
46
  export { ValueWithSchema, Value as default };
43
- //# sourceMappingURL=Value.js.map
@@ -1,41 +1,52 @@
1
- import _extends from '@babel/runtime/helpers/esm/extends';
2
- import React from 'react';
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';
3
9
  import { describe } from 'react-desc';
4
10
  import { aggregatedClasses } from '@elliemae/ds-classnames';
5
11
  import { wrapperProps } from './props.js';
6
12
  import { wrapperDefault } from './defaultProps.js';
7
- import '../prop-types-2c19033d.js';
13
+ import { jsx } from 'react/jsx-runtime';
8
14
 
9
- var blockName = 'labelValue';
10
- var LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', function () {
11
- return null;
12
- });
13
- var Container = aggregatedClasses('div')(blockName, 'wrapper', function (_ref) {
14
- var inverted = _ref.inverted;
15
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (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 = 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; }
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;
15
24
  return {
16
- inverted: inverted
25
+ inverted
17
26
  };
18
27
  });
19
28
 
20
- var Wrapper = function Wrapper(_ref2) {
21
- var containerProps = _ref2.containerProps,
22
- children = _ref2.children,
23
- className = _ref2.className,
24
- icon = _ref2.icon,
25
- inverted = _ref2.inverted;
26
- return /*#__PURE__*/React.createElement(Container, {
29
+ const Wrapper = _ref2 => {
30
+ let {
31
+ containerProps,
32
+ children,
33
+ className,
34
+ icon,
35
+ inverted
36
+ } = _ref2;
37
+ return /*#__PURE__*/_jsx(Container, {
27
38
  classProps: {
28
- inverted: inverted
39
+ inverted
29
40
  }
30
- }, icon, /*#__PURE__*/React.createElement(LabelValueWrapper, _extends({
41
+ }, void 0, icon, /*#__PURE__*/jsx(LabelValueWrapper, _objectSpread(_objectSpread({
31
42
  className: className
32
- }, containerProps), children));
43
+ }, containerProps), {}, {
44
+ children: children
45
+ })));
33
46
  };
34
47
 
35
- Wrapper.propTypes = wrapperProps;
36
48
  Wrapper.defaultProps = wrapperDefault;
37
- var WrapperWithSchema = describe(Wrapper);
49
+ const WrapperWithSchema = describe(Wrapper);
38
50
  WrapperWithSchema.propTypes = wrapperProps;
39
51
 
40
52
  export { WrapperWithSchema, Wrapper as default };
41
- //# sourceMappingURL=Wrapper.js.map
@@ -1,20 +1,20 @@
1
- import { o as orientationVariants, p as position, f as fontColor, s as sizeVariants } from '../prop-types-2c19033d.js';
1
+ import { orientationVariants, position, fontColor, sizeVariants } from '@elliemae/ds-shared/prop-types';
2
2
 
3
- var groupDefault = {
3
+ const groupDefault = {
4
4
  inline: false,
5
5
  orientation: orientationVariants.VERTICAL
6
6
  };
7
- var labelDefault = {
7
+ const labelDefault = {
8
8
  position: position.LEFT,
9
9
  color: fontColor.NEUTRAL500
10
10
  };
11
- var valueDefault = {
11
+ const valueDefault = {
12
12
  position: position.LEFT,
13
13
  size: sizeVariants.M,
14
14
  color: fontColor.NEUTRAL700,
15
15
  semibold: false
16
16
  };
17
- var wrapperDefault = {
17
+ const wrapperDefault = {
18
18
  containerProps: {},
19
19
  className: '',
20
20
  icon: null,
@@ -22,4 +22,3 @@ var wrapperDefault = {
22
22
  };
23
23
 
24
24
  export { groupDefault, labelDefault, valueDefault, wrapperDefault };
25
- //# sourceMappingURL=defaultProps.js.map
@@ -1,7 +1,7 @@
1
1
  import { PropTypes } from 'react-desc';
2
- import { p as position, f as fontColor, s as sizeVariants } from '../prop-types-2c19033d.js';
2
+ import { position, fontColor, sizeVariants } from '@elliemae/ds-shared/prop-types';
3
3
 
4
- var groupProps = {
4
+ const groupProps = {
5
5
  /**
6
6
  * The elements to be wrapped
7
7
  */
@@ -17,19 +17,19 @@ var groupProps = {
17
17
  */
18
18
  orientation: PropTypes.string.description("'vertical' or 'horizontal'")
19
19
  };
20
- var labelProps = {
20
+ const labelProps = {
21
21
  children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element').isRequired,
22
22
  position: PropTypes.string.description('labels position').defaultValue(position.LEFT),
23
23
  color: PropTypes.string.description('labels color').defaultValue(fontColor.NEUTRAL500)
24
24
  };
25
- var wrapperProps = {
25
+ const wrapperProps = {
26
26
  containerProps: PropTypes.object.description('Set of Properties attached to the main container'),
27
27
  className: PropTypes.string.description('html class attribute'),
28
28
  icon: PropTypes.element.description('Icon to be attached near value'),
29
29
  inverted: PropTypes.bool.description('Changes the position of the label').defaultValue(false),
30
30
  children: PropTypes.element.description('label value').isRequired
31
31
  };
32
- var valueProps = {
32
+ const valueProps = {
33
33
  children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element').isRequired,
34
34
  size: PropTypes.func.description('values size').defaultValue(sizeVariants.M),
35
35
  position: PropTypes.string.description('position of the value').defaultValue(position.LEFT),
@@ -38,4 +38,3 @@ var valueProps = {
38
38
  };
39
39
 
40
40
  export { groupProps, labelProps, valueProps, wrapperProps };
41
- //# sourceMappingURL=props.js.map
package/esm/index.js CHANGED
@@ -3,12 +3,3 @@ export { WrapperWithSchema } from './components/Wrapper.js';
3
3
  export { GroupWithSchema } from './components/Group.js';
4
4
  export { LabelWithSchema } from './components/Label.js';
5
5
  export { ValueWithSchema } from './components/Value.js';
6
- import '@babel/runtime/helpers/esm/extends';
7
- import 'react';
8
- import 'react-desc';
9
- import '@elliemae/ds-classnames';
10
- import './components/props.js';
11
- import './prop-types-2c19033d.js';
12
- import './components/defaultProps.js';
13
- import '@babel/runtime/helpers/esm/defineProperty';
14
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,14 +1,58 @@
1
1
  {
2
2
  "name": "@elliemae/ds-label-value",
3
- "version": "1.60.0",
3
+ "version": "2.0.0-alpha.12",
4
4
  "license": "MIT",
5
- "description": "Ellie Mae - Dim Sum - Label value",
6
- "module": "esm/index.js",
7
- "main": "cjs/index.js",
5
+ "description": "ICE MT - Dimsum - Label value",
6
+ "module": "./esm/index.js",
7
+ "main": "./cjs/index.js",
8
+ "types": "./types/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./esm/index.js",
12
+ "require": "./cjs/index.js"
13
+ },
14
+ "./DSLabelValue": {
15
+ "import": "./esm/DSLabelValue.js",
16
+ "require": "./cjs/DSLabelValue.js"
17
+ },
18
+ "./components/Wrapper": {
19
+ "import": "./esm/components/Wrapper.js",
20
+ "require": "./cjs/components/Wrapper.js"
21
+ },
22
+ "./components/Value": {
23
+ "import": "./esm/components/Value.js",
24
+ "require": "./cjs/components/Value.js"
25
+ },
26
+ "./components/props": {
27
+ "import": "./esm/components/props.js",
28
+ "require": "./cjs/components/props.js"
29
+ },
30
+ "./components/Label": {
31
+ "import": "./esm/components/Label.js",
32
+ "require": "./cjs/components/Label.js"
33
+ },
34
+ "./components/Group": {
35
+ "import": "./esm/components/Group.js",
36
+ "require": "./cjs/components/Group.js"
37
+ },
38
+ "./components/defaultProps": {
39
+ "import": "./esm/components/defaultProps.js",
40
+ "require": "./cjs/components/defaultProps.js"
41
+ }
42
+ },
8
43
  "sideEffects": [
9
44
  "*.css",
10
45
  "*.scss"
11
46
  ],
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://git.elliemae.io/platform-ui/dimsum.git"
50
+ },
51
+ "engines": {
52
+ "npm": ">=7",
53
+ "node": ">=14"
54
+ },
55
+ "author": "ICE MT",
12
56
  "scripts": {
13
57
  "dev": "cross-env NODE_ENV=development && node ../../scripts/build/build.js -w",
14
58
  "prebuild": "exit 0",
@@ -16,16 +60,18 @@
16
60
  "build": "node ../../scripts/build/build.js"
17
61
  },
18
62
  "dependencies": {
19
- "@elliemae/ds-classnames": "1.60.0",
20
- "react-desc": "^4.1.2"
63
+ "@elliemae/ds-classnames": "2.0.0-alpha.12",
64
+ "@elliemae/ds-shared": "2.0.0-alpha.12",
65
+ "react-desc": "~4.1.3"
21
66
  },
22
67
  "peerDependencies": {
23
- "lodash": "^4.17.20",
24
- "react": "^17.0.1",
25
- "react-dom": "^17.0.1"
68
+ "lodash": "^4.17.21",
69
+ "react": "^17.0.2",
70
+ "react-dom": "^17.0.2"
26
71
  },
27
72
  "publishConfig": {
28
73
  "access": "public",
29
- "directory": "dist"
74
+ "directory": "dist",
75
+ "generateSubmodules": true
30
76
  }
31
77
  }
@@ -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<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;
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<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
+ };
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<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;
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").PropTypesDescValidator;
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").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
+ };
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,44 @@
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<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
+ };
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;
@@ -0,0 +1,33 @@
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").PropTypesDescValidator;
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;
@@ -0,0 +1,45 @@
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").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
+ };
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;
@@ -0,0 +1,54 @@
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<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;
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;