@elliemae/ds-label-value 3.2.1-rc.5 → 3.2.1-rc.6
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.
|
@@ -3,22 +3,8 @@ var __create = Object.create;
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
8
|
var __export = (target, all) => {
|
|
23
9
|
for (var name in all)
|
|
24
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -52,9 +38,10 @@ const Container = (0, import_ds_classnames.aggregatedClasses)("div")(blockName,
|
|
|
52
38
|
}));
|
|
53
39
|
const Wrapper = ({ containerProps, children, className, icon, inverted }) => /* @__PURE__ */ import_react.default.createElement(Container, {
|
|
54
40
|
classProps: { inverted }
|
|
55
|
-
}, icon, /* @__PURE__ */ import_react.default.createElement(LabelValueWrapper,
|
|
56
|
-
className
|
|
57
|
-
|
|
41
|
+
}, icon, /* @__PURE__ */ import_react.default.createElement(LabelValueWrapper, {
|
|
42
|
+
className,
|
|
43
|
+
...containerProps
|
|
44
|
+
}, children));
|
|
58
45
|
Wrapper.propTypes = import_props.wrapperProps;
|
|
59
46
|
Wrapper.defaultProps = import_defaultProps.wrapperDefault;
|
|
60
47
|
Wrapper.displayName = "Wrapper";
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Wrapper.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
4
|
"sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,2BAAkC;AAClC,mBAA6B;AAC7B,0BAA+B;AAE/B,MAAM,YAAY;AAElB,MAAM,oBAAoB,4CAAkB,KAAK,EAC/C,WACA,uBACA,MAAM,IACR;AACA,MAAM,YAAY,4CAAkB,KAAK,EACvC,WACA,WACA,CAAC,EAAE,eAAgB;AAAA,EACjB;AACF,EACF;AAEA,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,eAC5D,mDAAC;AAAA,EAAU,YAAY,EAAE,SAAS;AAAA,GAC/B,MACD,mDAAC;AAAA,EAAkB;AAAA,EAAuB,GAAG;AAAA,GAC1C,QACH,CACF;AAGF,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,kCAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
6
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
-
var __spreadValues = (a, b) => {
|
|
8
|
-
for (var prop in b || (b = {}))
|
|
9
|
-
if (__hasOwnProp.call(b, prop))
|
|
10
|
-
__defNormalProp(a, prop, b[prop]);
|
|
11
|
-
if (__getOwnPropSymbols)
|
|
12
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
13
|
-
if (__propIsEnum.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
}
|
|
16
|
-
return a;
|
|
17
|
-
};
|
|
18
2
|
import * as React from "react";
|
|
19
3
|
import React2 from "react";
|
|
20
4
|
import { describe } from "@elliemae/ds-utilities";
|
|
@@ -28,9 +12,10 @@ const Container = aggregatedClasses("div")(blockName, "wrapper", ({ inverted })
|
|
|
28
12
|
}));
|
|
29
13
|
const Wrapper = ({ containerProps, children, className, icon, inverted }) => /* @__PURE__ */ React2.createElement(Container, {
|
|
30
14
|
classProps: { inverted }
|
|
31
|
-
}, icon, /* @__PURE__ */ React2.createElement(LabelValueWrapper,
|
|
32
|
-
className
|
|
33
|
-
|
|
15
|
+
}, icon, /* @__PURE__ */ React2.createElement(LabelValueWrapper, {
|
|
16
|
+
className,
|
|
17
|
+
...containerProps
|
|
18
|
+
}, children));
|
|
34
19
|
Wrapper.propTypes = wrapperProps;
|
|
35
20
|
Wrapper.defaultProps = wrapperDefault;
|
|
36
21
|
Wrapper.displayName = "Wrapper";
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Wrapper.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";AAAA;ACAA;AACA;AACA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,oBAAoB,kBAAkB,KAAK,EAC/C,WACA,uBACA,MAAM,IACR;AACA,MAAM,YAAY,kBAAkB,KAAK,EACvC,WACA,WACA,CAAC,EAAE,eAAgB;AAAA,EACjB;AACF,EACF;AAEA,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,eAC5D,qCAAC;AAAA,EAAU,YAAY,EAAE,SAAS;AAAA,GAC/B,MACD,qCAAC;AAAA,EAAkB;AAAA,EAAuB,GAAG;AAAA,GAC1C,QACH,CACF;AAGF,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,SAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-label-value",
|
|
3
|
-
"version": "3.2.1-rc.
|
|
3
|
+
"version": "3.2.1-rc.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Label value",
|
|
6
6
|
"files": [
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"indent": 4
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@elliemae/ds-classnames": "3.2.1-rc.
|
|
67
|
-
"@elliemae/ds-shared": "3.2.1-rc.
|
|
68
|
-
"@elliemae/ds-utilities": "3.2.1-rc.
|
|
66
|
+
"@elliemae/ds-classnames": "3.2.1-rc.6",
|
|
67
|
+
"@elliemae/ds-shared": "3.2.1-rc.6",
|
|
68
|
+
"@elliemae/ds-utilities": "3.2.1-rc.6"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"lodash": "^4.17.21",
|