@elliemae/ds-label-value 3.16.0 → 3.16.1
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 +8 -4
- package/dist/cjs/DSLabelValue.js.map +2 -2
- package/dist/cjs/components/Group.js +6 -2
- package/dist/cjs/components/Group.js.map +2 -2
- package/dist/cjs/components/Label.js +6 -2
- package/dist/cjs/components/Label.js.map +2 -2
- package/dist/cjs/components/Value.js +6 -2
- package/dist/cjs/components/Value.js.map +2 -2
- package/dist/cjs/components/Wrapper.js +6 -2
- package/dist/cjs/components/Wrapper.js.map +2 -2
- package/dist/cjs/components/defaultProps.js +4 -0
- package/dist/cjs/components/defaultProps.js.map +1 -1
- package/dist/cjs/components/props.js +13 -0
- package/dist/cjs/components/props.js.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/esm/DSLabelValue.js +4 -4
- package/dist/esm/DSLabelValue.js.map +1 -1
- package/dist/esm/components/Group.js +2 -2
- package/dist/esm/components/Group.js.map +2 -2
- package/dist/esm/components/Label.js +2 -2
- package/dist/esm/components/Label.js.map +2 -2
- package/dist/esm/components/Value.js +2 -2
- package/dist/esm/components/Value.js.map +2 -2
- package/dist/esm/components/Wrapper.js +2 -2
- package/dist/esm/components/Wrapper.js.map +1 -1
- package/dist/esm/components/props.js +9 -0
- package/dist/esm/components/props.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/package.json +7 -7
- package/dist/types/DSLabelValue.d.ts +0 -110
- package/dist/types/components/Group.d.ts +0 -24
- package/dist/types/components/Label.d.ts +0 -24
- package/dist/types/components/Value.d.ts +0 -32
- package/dist/types/components/Wrapper.d.ts +0 -32
- package/dist/types/components/defaultProps.d.ts +0 -20
- package/dist/types/components/props.d.ts +0 -33
- package/dist/types/index.d.ts +0 -1
package/dist/cjs/DSLabelValue.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -32,10 +36,10 @@ __export(DSLabelValue_exports, {
|
|
|
32
36
|
});
|
|
33
37
|
module.exports = __toCommonJS(DSLabelValue_exports);
|
|
34
38
|
var React = __toESM(require("react"));
|
|
35
|
-
var import_Wrapper = __toESM(require("./components/Wrapper"));
|
|
36
|
-
var import_Group = __toESM(require("./components/Group"));
|
|
37
|
-
var import_Label = __toESM(require("./components/Label"));
|
|
38
|
-
var import_Value = __toESM(require("./components/Value"));
|
|
39
|
+
var import_Wrapper = __toESM(require("./components/Wrapper.js"));
|
|
40
|
+
var import_Group = __toESM(require("./components/Group.js"));
|
|
41
|
+
var import_Label = __toESM(require("./components/Label.js"));
|
|
42
|
+
var import_Value = __toESM(require("./components/Value.js"));
|
|
39
43
|
const DSLabelValue = Object.assign(import_Wrapper.default, {
|
|
40
44
|
Group: import_Group.default,
|
|
41
45
|
Wrapper: import_Wrapper.default,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/DSLabelValue.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import Wrapper, { WrapperWithSchema } from './components/Wrapper';\nimport Group, { GroupWithSchema } from './components/Group';\nimport Label, { LabelWithSchema } from './components/Label';\nimport Value, { ValueWithSchema } from './components/Value';\n\nconst DSLabelValue = Object.assign(Wrapper, {\n Group,\n Wrapper,\n Label,\n Value,\n});\n\nexport { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };\nexport default DSLabelValue;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import Wrapper, { WrapperWithSchema } from './components/Wrapper.js';\nimport Group, { GroupWithSchema } from './components/Group.js';\nimport Label, { LabelWithSchema } from './components/Label.js';\nimport Value, { ValueWithSchema } from './components/Value.js';\n\nconst DSLabelValue = Object.assign(Wrapper, {\n Group,\n Wrapper,\n Label,\n Value,\n});\n\nexport { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };\nexport default DSLabelValue;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,qBAA2C;AAC3C,mBAAuC;AACvC,mBAAuC;AACvC,mBAAuC;AAEvC,MAAM,eAAe,OAAO,OAAO,eAAAA,SAAS;AAAA,EAC1C,oBAAAC;AAAA,EACA,wBAAAD;AAAA,EACA,oBAAAE;AAAA,EACA,oBAAAC;AACF,CAAC;AAGD,IAAO,uBAAQ;",
|
|
6
6
|
"names": ["Wrapper", "Group", "Label", "Value"]
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -33,8 +37,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
33
37
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
34
38
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
|
-
var import_props = require("./props");
|
|
37
|
-
var import_defaultProps = require("./defaultProps");
|
|
40
|
+
var import_props = require("./props.js");
|
|
41
|
+
var import_defaultProps = require("./defaultProps.js");
|
|
38
42
|
const blockName = "labelValueGroup";
|
|
39
43
|
const WrapperGroup = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "wrapper", ({ orientation, inline }) => ({
|
|
40
44
|
inline,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Group.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n}));\n\nconst Group = ({ children, inline, orientation }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <WrapperGroup classProps={{ orientation, inline }}>{children}</WrapperGroup>;\n};\n\nGroup.propTypes = groupProps;\nGroup.defaultProps = groupDefault;\nGroup.displayName = 'Group';\nconst GroupWithSchema = describe(Group);\nGroupWithSchema.propTypes = groupProps;\n\nexport { GroupWithSchema };\nexport default Group;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props.js';\nimport { groupDefault } from './defaultProps.js';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n}));\n\nconst Group = ({ children, inline, orientation }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <WrapperGroup classProps={{ orientation, inline }}>{children}</WrapperGroup>;\n};\n\nGroup.propTypes = groupProps;\nGroup.defaultProps = groupDefault;\nGroup.displayName = 'Group';\nconst GroupWithSchema = describe(Group);\nGroupWithSchema.propTypes = groupProps;\n\nexport { GroupWithSchema };\nexport default Group;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBd;AAhBT,0BAAsC;AACtC,8BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,mBAAe,wCAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,aAAa,OAAO,OAAO;AAAA,EAChG;AAAA,EACA,CAAC,WAAW,GAAG;AACjB,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,YAAY,MAAM;AACnD,iDAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SAAO,4CAAC,gBAAa,YAAY,EAAE,aAAa,OAAO,GAAI,UAAS;AACtE;AAEA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,sBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -33,8 +37,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
33
37
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
34
38
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
|
-
var import_props = require("./props");
|
|
37
|
-
var import_defaultProps = require("./defaultProps");
|
|
40
|
+
var import_props = require("./props.js");
|
|
41
|
+
var import_defaultProps = require("./defaultProps.js");
|
|
38
42
|
const blockName = "labelValue";
|
|
39
43
|
const LabelStyled = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "label", ({ labelPosition, labelColor }) => ({
|
|
40
44
|
[labelPosition]: labelPosition,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Label.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(blockName, 'label', ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n}));\n\nconst Label = ({ children, position: labelPosition, color }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>;\n};\nLabel.propTypes = labelProps;\nLabel.defaultProps = labelDefault;\nLabel.displayName = 'Label';\nconst LabelWithSchema = describe(Label);\nLabelWithSchema.propTypes = labelProps;\n\nexport { LabelWithSchema };\nexport default Label;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props.js';\nimport { labelDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(blockName, 'label', ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n}));\n\nconst Label = ({ children, position: labelPosition, color }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>;\n};\nLabel.propTypes = labelProps;\nLabel.defaultProps = labelDefault;\nLabel.displayName = 'Label';\nconst LabelWithSchema = describe(Label);\nLabelWithSchema.propTypes = labelProps;\n\nexport { LabelWithSchema };\nexport default Label;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADiBd;AAhBT,0BAAsC;AACtC,8BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,kBAAc,wCAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,eAAe,WAAW,OAAO;AAAA,EACnG,CAAC,aAAa,GAAG;AAAA,EACjB,CAAC,UAAU,GAAG;AAChB,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,MAAM,MAAM;AAC9D,iDAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SAAO,4CAAC,eAAY,YAAY,EAAE,eAAe,MAAM,GAAI,UAAS;AACtE;AACA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,sBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -33,8 +37,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
33
37
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
34
38
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
|
-
var import_props = require("./props");
|
|
37
|
-
var import_defaultProps = require("./defaultProps");
|
|
40
|
+
var import_props = require("./props.js");
|
|
41
|
+
var import_defaultProps = require("./defaultProps.js");
|
|
38
42
|
const blockName = "labelValue";
|
|
39
43
|
const ValueStyled = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "value", ({ size, valuePosition, valueColor, semibold }) => ({
|
|
40
44
|
[size]: size,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Value.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(blockName, 'value', ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n}));\n\nconst Value = ({ children, position: valuePosition, size, color: valueColor, semibold = false }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\n );\n};\n\nValue.propTypes = valueProps;\nValue.defaultProps = valueDefault;\nValue.displayName = 'Value';\nconst ValueWithSchema = describe(Value);\nValueWithSchema.propTypes = valueProps;\n\nexport { ValueWithSchema };\nexport default Value;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props.js';\nimport { valueDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(blockName, 'value', ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n}));\n\nconst Value = ({ children, position: valuePosition, size, color: valueColor, semibold = false }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\n );\n};\n\nValue.propTypes = valueProps;\nValue.defaultProps = valueDefault;\nValue.displayName = 'Value';\nconst ValueWithSchema = describe(Value);\nValueWithSchema.propTypes = valueProps;\n\nexport { ValueWithSchema };\nexport default Value;\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;AD4BjB;AA3BN,0BAAsC;AACtC,8BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,kBAAc,wCAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,MAAM,eAAe,YAAY,SAAS,OAAO;AAAA,EACnH,CAAC,IAAI,GAAG;AAAA,EACR,CAAC,aAAa,GAAG;AAAA,EACjB,CAAC,UAAU,GAAG;AAAA,EACd;AACF,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,MAAM,OAAO,YAAY,WAAW,MAAM,MAAM;AAClG,iDAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA,sDAAC,UAAM,UAAS;AAAA;AAAA,EAClB;AAEJ;AAEA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,sBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -33,8 +37,8 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
33
37
|
var import_ds_utilities = require("@elliemae/ds-utilities");
|
|
34
38
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_classnames = require("@elliemae/ds-classnames");
|
|
36
|
-
var import_props = require("./props");
|
|
37
|
-
var import_defaultProps = require("./defaultProps");
|
|
40
|
+
var import_props = require("./props.js");
|
|
41
|
+
var import_defaultProps = require("./defaultProps.js");
|
|
38
42
|
const blockName = "labelValue";
|
|
39
43
|
const LabelValueWrapper = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "label-value-wrapper", () => null);
|
|
40
44
|
const Container = (0, import_ds_classnames.aggregatedClasses)("div")(blockName, "wrapper", ({ inverted }) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/Wrapper.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);\nconst Container = aggregatedClasses('div')(blockName, 'wrapper', ({ inverted }) => ({\n inverted,\n}));\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n );\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": "
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props.js';\nimport { wrapperDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);\nconst Container = aggregatedClasses('div')(blockName, 'wrapper', ({ inverted }) => ({\n inverted,\n}));\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n );\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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADkBnB;AAjBJ,0BAAsC;AACtC,8BAAyB;AACzB,2BAAkC;AAClC,mBAA6B;AAC7B,0BAA+B;AAE/B,MAAM,YAAY;AAElB,MAAM,wBAAoB,wCAAkB,KAAK,EAAE,WAAW,uBAAuB,MAAM,IAAI;AAC/F,MAAM,gBAAY,wCAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,SAAS,OAAO;AAAA,EAClF;AACF,EAAE;AAEF,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,SAAS,MAAM;AAC3E,iDAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SACE,6CAAC,aAAU,YAAY,EAAE,SAAS,GAC/B;AAAA;AAAA,IACD,4CAAC,qBAAkB,WAAuB,GAAG,gBAC1C,UACH;AAAA,KACF;AAEJ;AAEA,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,wBAAoB,kCAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/defaultProps.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
4
|
"sourcesContent": ["import { orientationVariants, position, sizeVariants, fontColor } from '@elliemae/ds-shared';\n\nexport const groupDefault = {\n inline: false,\n orientation: orientationVariants.VERTICAL,\n};\n\nexport const labelDefault = {\n position: position.LEFT,\n color: fontColor.NEUTRAL500,\n};\n\nexport const valueDefault = {\n position: position.LEFT,\n size: sizeVariants.M,\n color: fontColor.NEUTRAL700,\n semibold: false,\n};\n\nexport const wrapperDefault = {\n containerProps: {},\n className: '',\n icon: null,\n inverted: false,\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,uBAAuE;AAEhE,MAAM,eAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,aAAa,qCAAoB;AACnC;AAEO,MAAM,eAAe;AAAA,EAC1B,UAAU,0BAAS;AAAA,EACnB,OAAO,2BAAU;AACnB;AAEO,MAAM,eAAe;AAAA,EAC1B,UAAU,0BAAS;AAAA,EACnB,MAAM,8BAAa;AAAA,EACnB,OAAO,2BAAU;AAAA,EACjB,UAAU;AACZ;AAEO,MAAM,iBAAiB;AAAA,EAC5B,gBAAgB,CAAC;AAAA,EACjB,WAAW;AAAA,EACX,MAAM;AAAA,EACN,UAAU;AACZ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -34,8 +38,17 @@ var React = __toESM(require("react"));
|
|
|
34
38
|
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
35
39
|
var import_ds_shared = require("@elliemae/ds-shared");
|
|
36
40
|
const groupProps = {
|
|
41
|
+
/**
|
|
42
|
+
* The elements to be wrapped
|
|
43
|
+
*/
|
|
37
44
|
children: import_ds_props_helpers.PropTypes.node.description("The elements to be wrapped"),
|
|
45
|
+
/**
|
|
46
|
+
* If the label value should be inline
|
|
47
|
+
*/
|
|
38
48
|
inline: import_ds_props_helpers.PropTypes.bool.description("If the label value should be inline"),
|
|
49
|
+
/**
|
|
50
|
+
* 'vertical' or 'horizontal'
|
|
51
|
+
*/
|
|
39
52
|
orientation: import_ds_props_helpers.PropTypes.string.description("'vertical' or 'horizontal'")
|
|
40
53
|
};
|
|
41
54
|
const labelProps = {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
|
|
4
4
|
"sourcesContent": ["import { PropTypes } from '@elliemae/ds-props-helpers';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.node.description('The elements to be wrapped'),\n /**\n * If the label value should be inline\n */\n inline: PropTypes.bool.description('If the label value should be inline'),\n /**\n * 'vertical' or 'horizontal'\n */\n orientation: PropTypes.string.description(\"'vertical' or 'horizontal'\"),\n};\n\nexport const labelProps = {\n children: PropTypes.node.description('Label element').isRequired,\n position: PropTypes.string.description('labels position').defaultValue(position.LEFT),\n color: PropTypes.string.description('labels color').defaultValue(fontColor.NEUTRAL500),\n};\n\nexport const wrapperProps = {\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n className: PropTypes.string.description('html class attribute'),\n icon: PropTypes.element.description('Icon to be attached near value'),\n inverted: PropTypes.bool.description('Changes the position of the label').defaultValue(false),\n children: PropTypes.node.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.node.description('value element').isRequired,\n size: PropTypes.string.description('values size').defaultValue(sizeVariants.M),\n position: PropTypes.string.description('position of the value').defaultValue(position.LEFT),\n color: PropTypes.string.description('value color').defaultValue(fontColor.NEUTRAL700),\n semibold: PropTypes.bool.description('semibold or not').defaultValue(false),\n};\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,8BAA0B;AAC1B,uBAAkD;AAE3C,MAAM,aAAa;AAAA;AAAA;AAAA;AAAA,EAIxB,UAAU,kCAAU,KAAK,YAAY,4BAA4B;AAAA;AAAA;AAAA;AAAA,EAIjE,QAAQ,kCAAU,KAAK,YAAY,qCAAqC;AAAA;AAAA;AAAA;AAAA,EAIxE,aAAa,kCAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,kCAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,UAAU,kCAAU,OAAO,YAAY,iBAAiB,EAAE,aAAa,0BAAS,IAAI;AAAA,EACpF,OAAO,kCAAU,OAAO,YAAY,cAAc,EAAE,aAAa,2BAAU,UAAU;AACvF;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,kCAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,kCAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,MAAM,kCAAU,QAAQ,YAAY,gCAAgC;AAAA,EACpE,UAAU,kCAAU,KAAK,YAAY,mCAAmC,EAAE,aAAa,KAAK;AAAA,EAC5F,UAAU,kCAAU,KAAK,YAAY,aAAa,EAAE;AACtD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,kCAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,MAAM,kCAAU,OAAO,YAAY,aAAa,EAAE,aAAa,8BAAa,CAAC;AAAA,EAC7E,UAAU,kCAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,0BAAS,IAAI;AAAA,EAC1F,OAAO,kCAAU,OAAO,YAAY,aAAa,EAAE,aAAa,2BAAU,UAAU;AAAA,EACpF,UAAU,kCAAU,KAAK,YAAY,iBAAiB,EAAE,aAAa,KAAK;AAC5E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -18,6 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
25
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
26
|
mod
|
|
23
27
|
));
|
|
@@ -33,5 +37,5 @@ __export(src_exports, {
|
|
|
33
37
|
});
|
|
34
38
|
module.exports = __toCommonJS(src_exports);
|
|
35
39
|
var React = __toESM(require("react"));
|
|
36
|
-
var import_DSLabelValue = __toESM(require("./DSLabelValue"));
|
|
40
|
+
var import_DSLabelValue = __toESM(require("./DSLabelValue.js"));
|
|
37
41
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.tsx", "../../../../scripts/build/transpile/react-shim.js"],
|
|
4
|
-
"sourcesContent": ["export {\n default,\n default as DSLabelValue,\n WrapperWithSchema,\n GroupWithSchema,\n LabelWithSchema,\n ValueWithSchema,\n} from './DSLabelValue';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["export {\n default,\n default as DSLabelValue,\n WrapperWithSchema,\n GroupWithSchema,\n LabelWithSchema,\n ValueWithSchema,\n} from './DSLabelValue.js';\n", "import * as React from 'react';\nexport { React };\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,0BAOO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/DSLabelValue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import Wrapper, { WrapperWithSchema } from "./components/Wrapper";
|
|
3
|
-
import Group, { GroupWithSchema } from "./components/Group";
|
|
4
|
-
import Label, { LabelWithSchema } from "./components/Label";
|
|
5
|
-
import Value, { ValueWithSchema } from "./components/Value";
|
|
2
|
+
import Wrapper, { WrapperWithSchema } from "./components/Wrapper.js";
|
|
3
|
+
import Group, { GroupWithSchema } from "./components/Group.js";
|
|
4
|
+
import Label, { LabelWithSchema } from "./components/Label.js";
|
|
5
|
+
import Value, { ValueWithSchema } from "./components/Value.js";
|
|
6
6
|
const DSLabelValue = Object.assign(Wrapper, {
|
|
7
7
|
Group,
|
|
8
8
|
Wrapper,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSLabelValue.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import Wrapper, { WrapperWithSchema } from './components/Wrapper';\nimport Group, { GroupWithSchema } from './components/Group';\nimport Label, { LabelWithSchema } from './components/Label';\nimport Value, { ValueWithSchema } from './components/Value';\n\nconst DSLabelValue = Object.assign(Wrapper, {\n Group,\n Wrapper,\n Label,\n Value,\n});\n\nexport { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };\nexport default DSLabelValue;\n"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import Wrapper, { WrapperWithSchema } from './components/Wrapper.js';\nimport Group, { GroupWithSchema } from './components/Group.js';\nimport Label, { LabelWithSchema } from './components/Label.js';\nimport Value, { ValueWithSchema } from './components/Value.js';\n\nconst DSLabelValue = Object.assign(Wrapper, {\n Group,\n Wrapper,\n Label,\n Value,\n});\n\nexport { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };\nexport default DSLabelValue;\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB,OAAO,WAAW,yBAAyB;AAC3C,OAAO,SAAS,uBAAuB;AACvC,OAAO,SAAS,uBAAuB;AACvC,OAAO,SAAS,uBAAuB;AAEvC,MAAM,eAAe,OAAO,OAAO,SAAS;AAAA,EAC1C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGD,IAAO,uBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,8 +3,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
4
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { groupProps } from "./props";
|
|
7
|
-
import { groupDefault } from "./defaultProps";
|
|
6
|
+
import { groupProps } from "./props.js";
|
|
7
|
+
import { groupDefault } from "./defaultProps.js";
|
|
8
8
|
const blockName = "labelValueGroup";
|
|
9
9
|
const WrapperGroup = aggregatedClasses("div")(blockName, "wrapper", ({ orientation, inline }) => ({
|
|
10
10
|
inline,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Group.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n}));\n\nconst Group = ({ children, inline, orientation }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <WrapperGroup classProps={{ orientation, inline }}>{children}</WrapperGroup>;\n};\n\nGroup.propTypes = groupProps;\nGroup.defaultProps = groupDefault;\nGroup.displayName = 'Group';\nconst GroupWithSchema = describe(Group);\nGroupWithSchema.propTypes = groupProps;\n\nexport { GroupWithSchema };\nexport default Group;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACiBd;AAhBT,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,eAAe,kBAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,aAAa,OAAO,OAAO;AAAA,EAChG;AAAA,EACA,CAAC,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props.js';\nimport { groupDefault } from './defaultProps.js';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(blockName, 'wrapper', ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n}));\n\nconst Group = ({ children, inline, orientation }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <WrapperGroup classProps={{ orientation, inline }}>{children}</WrapperGroup>;\n};\n\nGroup.propTypes = groupProps;\nGroup.defaultProps = groupDefault;\nGroup.displayName = 'Group';\nconst GroupWithSchema = describe(Group);\nGroupWithSchema.propTypes = groupProps;\n\nexport { GroupWithSchema };\nexport default Group;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACiBd;AAhBT,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,eAAe,kBAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,aAAa,OAAO,OAAO;AAAA,EAChG;AAAA,EACA,CAAC,WAAW,GAAG;AACjB,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,YAAY,MAAM;AACnD,wBAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SAAO,oBAAC,gBAAa,YAAY,EAAE,aAAa,OAAO,GAAI,UAAS;AACtE;AAEA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,8 +3,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
4
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { labelProps } from "./props";
|
|
7
|
-
import { labelDefault } from "./defaultProps";
|
|
6
|
+
import { labelProps } from "./props.js";
|
|
7
|
+
import { labelDefault } from "./defaultProps.js";
|
|
8
8
|
const blockName = "labelValue";
|
|
9
9
|
const LabelStyled = aggregatedClasses("div")(blockName, "label", ({ labelPosition, labelColor }) => ({
|
|
10
10
|
[labelPosition]: labelPosition,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Label.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(blockName, 'label', ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n}));\n\nconst Label = ({ children, position: labelPosition, color }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>;\n};\nLabel.propTypes = labelProps;\nLabel.defaultProps = labelDefault;\nLabel.displayName = 'Label';\nconst LabelWithSchema = describe(Label);\nLabelWithSchema.propTypes = labelProps;\n\nexport { LabelWithSchema };\nexport default Label;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACiBd;AAhBT,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,eAAe,WAAW,OAAO;AAAA,EACnG,CAAC,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props.js';\nimport { labelDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(blockName, 'label', ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n}));\n\nconst Label = ({ children, position: labelPosition, color }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>;\n};\nLabel.propTypes = labelProps;\nLabel.defaultProps = labelDefault;\nLabel.displayName = 'Label';\nconst LabelWithSchema = describe(Label);\nLabelWithSchema.propTypes = labelProps;\n\nexport { LabelWithSchema };\nexport default Label;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACiBd;AAhBT,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,eAAe,WAAW,OAAO;AAAA,EACnG,CAAC,aAAa,GAAG;AAAA,EACjB,CAAC,UAAU,GAAG;AAChB,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,MAAM,MAAM;AAC9D,wBAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SAAO,oBAAC,eAAY,YAAY,EAAE,eAAe,MAAM,GAAI,UAAS;AACtE;AACA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,8 +3,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
4
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { valueProps } from "./props";
|
|
7
|
-
import { valueDefault } from "./defaultProps";
|
|
6
|
+
import { valueProps } from "./props.js";
|
|
7
|
+
import { valueDefault } from "./defaultProps.js";
|
|
8
8
|
const blockName = "labelValue";
|
|
9
9
|
const ValueStyled = aggregatedClasses("div")(blockName, "value", ({ size, valuePosition, valueColor, semibold }) => ({
|
|
10
10
|
[size]: size,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Value.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(blockName, 'value', ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n}));\n\nconst Value = ({ children, position: valuePosition, size, color: valueColor, semibold = false }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\n );\n};\n\nValue.propTypes = valueProps;\nValue.defaultProps = valueDefault;\nValue.displayName = 'Value';\nconst ValueWithSchema = describe(Value);\nValueWithSchema.propTypes = valueProps;\n\nexport { ValueWithSchema };\nexport default Value;\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;AC4BjB;AA3BN,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,MAAM,eAAe,YAAY,SAAS,OAAO;AAAA,EACnH,CAAC,
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props.js';\nimport { valueDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(blockName, 'value', ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n}));\n\nconst Value = ({ children, position: valuePosition, size, color: valueColor, semibold = false }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\n );\n};\n\nValue.propTypes = valueProps;\nValue.defaultProps = valueDefault;\nValue.displayName = 'Value';\nconst ValueWithSchema = describe(Value);\nValueWithSchema.propTypes = valueProps;\n\nexport { ValueWithSchema };\nexport default Value;\n"],
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;AC4BjB;AA3BN,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,kBAAkB;AAC3B,SAAS,oBAAoB;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EAAE,WAAW,SAAS,CAAC,EAAE,MAAM,eAAe,YAAY,SAAS,OAAO;AAAA,EACnH,CAAC,IAAI,GAAG;AAAA,EACR,CAAC,aAAa,GAAG;AAAA,EACjB,CAAC,UAAU,GAAG;AAAA,EACd;AACF,EAAE;AAEF,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,MAAM,OAAO,YAAY,WAAW,MAAM,MAAM;AAClG,wBAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY;AAAA,QACV;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MAEA,8BAAC,UAAM,UAAS;AAAA;AAAA,EAClB;AAEJ;AAEA,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -3,8 +3,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
4
|
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
5
|
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { wrapperProps } from "./props";
|
|
7
|
-
import { wrapperDefault } from "./defaultProps";
|
|
6
|
+
import { wrapperProps } from "./props.js";
|
|
7
|
+
import { wrapperDefault } from "./defaultProps.js";
|
|
8
8
|
const blockName = "labelValue";
|
|
9
9
|
const LabelValueWrapper = aggregatedClasses("div")(blockName, "label-value-wrapper", () => null);
|
|
10
10
|
const Container = aggregatedClasses("div")(blockName, "wrapper", ({ inverted }) => ({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/Wrapper.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);\nconst Container = aggregatedClasses('div')(blockName, 'wrapper', ({ inverted }) => ({\n inverted,\n}));\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n );\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"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { describe } from '@elliemae/ds-props-helpers';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props.js';\nimport { wrapperDefault } from './defaultProps.js';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(blockName, 'label-value-wrapper', () => null);\nconst Container = aggregatedClasses('div')(blockName, 'wrapper', ({ inverted }) => ({\n inverted,\n}));\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => {\n useDeprecateComponent({ componentName: 'ds-label-value', version: '3.x Date: 2023 Q1' });\n\n return (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n );\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
5
|
"mappings": "AAAA,YAAY,WAAW;ACkBnB,SAEE,KAFF;AAjBJ,SAAS,6BAA6B;AACtC,SAAS,gBAAgB;AACzB,SAAS,yBAAyB;AAClC,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAE/B,MAAM,YAAY;AAElB,MAAM,oBAAoB,kBAAkB,KAAK,EAAE,WAAW,uBAAuB,MAAM,IAAI;AAC/F,MAAM,YAAY,kBAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,SAAS,OAAO;AAAA,EAClF;AACF,EAAE;AAEF,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,SAAS,MAAM;AAC3E,wBAAsB,EAAE,eAAe,kBAAkB,SAAS,oBAAoB,CAAC;AAEvF,SACE,qBAAC,aAAU,YAAY,EAAE,SAAS,GAC/B;AAAA;AAAA,IACD,oBAAC,qBAAkB,WAAuB,GAAG,gBAC1C,UACH;AAAA,KACF;AAEJ;AAEA,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,SAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -2,8 +2,17 @@ import * as React from "react";
|
|
|
2
2
|
import { PropTypes } from "@elliemae/ds-props-helpers";
|
|
3
3
|
import { position, fontColor, sizeVariants } from "@elliemae/ds-shared";
|
|
4
4
|
const groupProps = {
|
|
5
|
+
/**
|
|
6
|
+
* The elements to be wrapped
|
|
7
|
+
*/
|
|
5
8
|
children: PropTypes.node.description("The elements to be wrapped"),
|
|
9
|
+
/**
|
|
10
|
+
* If the label value should be inline
|
|
11
|
+
*/
|
|
6
12
|
inline: PropTypes.bool.description("If the label value should be inline"),
|
|
13
|
+
/**
|
|
14
|
+
* 'vertical' or 'horizontal'
|
|
15
|
+
*/
|
|
7
16
|
orientation: PropTypes.string.description("'vertical' or 'horizontal'")
|
|
8
17
|
};
|
|
9
18
|
const labelProps = {
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/props.tsx"],
|
|
4
4
|
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-props-helpers';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.node.description('The elements to be wrapped'),\n /**\n * If the label value should be inline\n */\n inline: PropTypes.bool.description('If the label value should be inline'),\n /**\n * 'vertical' or 'horizontal'\n */\n orientation: PropTypes.string.description(\"'vertical' or 'horizontal'\"),\n};\n\nexport const labelProps = {\n children: PropTypes.node.description('Label element').isRequired,\n position: PropTypes.string.description('labels position').defaultValue(position.LEFT),\n color: PropTypes.string.description('labels color').defaultValue(fontColor.NEUTRAL500),\n};\n\nexport const wrapperProps = {\n containerProps: PropTypes.object.description('Set of Properties attached to the main container'),\n className: PropTypes.string.description('html class attribute'),\n icon: PropTypes.element.description('Icon to be attached near value'),\n inverted: PropTypes.bool.description('Changes the position of the label').defaultValue(false),\n children: PropTypes.node.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.node.description('value element').isRequired,\n size: PropTypes.string.description('values size').defaultValue(sizeVariants.M),\n position: PropTypes.string.description('position of the value').defaultValue(position.LEFT),\n color: PropTypes.string.description('value color').defaultValue(fontColor.NEUTRAL700),\n semibold: PropTypes.bool.description('semibold or not').defaultValue(false),\n};\n"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,WAAW,oBAAoB;AAE3C,MAAM,aAAa;AAAA,EAIxB,UAAU,UAAU,KAAK,YAAY,4BAA4B;AAAA,EAIjE,QAAQ,UAAU,KAAK,YAAY,qCAAqC;AAAA,EAIxE,aAAa,UAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,UAAU,UAAU,OAAO,YAAY,iBAAiB,EAAE,aAAa,SAAS,IAAI;AAAA,EACpF,OAAO,UAAU,OAAO,YAAY,cAAc,EAAE,aAAa,UAAU,UAAU;AACvF;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,UAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,UAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,MAAM,UAAU,QAAQ,YAAY,gCAAgC;AAAA,EACpE,UAAU,UAAU,KAAK,YAAY,mCAAmC,EAAE,aAAa,KAAK;AAAA,EAC5F,UAAU,UAAU,KAAK,YAAY,aAAa,EAAE;AACtD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,MAAM,UAAU,OAAO,YAAY,aAAa,EAAE,aAAa,aAAa,CAAC;AAAA,EAC7E,UAAU,UAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,SAAS,IAAI;AAAA,EAC1F,OAAO,UAAU,OAAO,YAAY,aAAa,EAAE,aAAa,UAAU,UAAU;AAAA,EACpF,UAAU,UAAU,KAAK,YAAY,iBAAiB,EAAE,aAAa,KAAK;AAC5E;",
|
|
5
|
+
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,WAAW,oBAAoB;AAE3C,MAAM,aAAa;AAAA;AAAA;AAAA;AAAA,EAIxB,UAAU,UAAU,KAAK,YAAY,4BAA4B;AAAA;AAAA;AAAA;AAAA,EAIjE,QAAQ,UAAU,KAAK,YAAY,qCAAqC;AAAA;AAAA;AAAA;AAAA,EAIxE,aAAa,UAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,UAAU,UAAU,OAAO,YAAY,iBAAiB,EAAE,aAAa,SAAS,IAAI;AAAA,EACpF,OAAO,UAAU,OAAO,YAAY,cAAc,EAAE,aAAa,UAAU,UAAU;AACvF;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,UAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,UAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,MAAM,UAAU,QAAQ,YAAY,gCAAgC;AAAA,EACpE,UAAU,UAAU,KAAK,YAAY,mCAAmC,EAAE,aAAa,KAAK;AAAA,EAC5F,UAAU,UAAU,KAAK,YAAY,aAAa,EAAE;AACtD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,MAAM,UAAU,OAAO,YAAY,aAAa,EAAE,aAAa,aAAa,CAAC;AAAA,EAC7E,UAAU,UAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,SAAS,IAAI;AAAA,EAC1F,OAAO,UAAU,OAAO,YAAY,aAAa,EAAE,aAAa,UAAU,UAAU;AAAA,EACpF,UAAU,UAAU,KAAK,YAAY,iBAAiB,EAAE,aAAa,KAAK;AAC5E;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export {\n default,\n default as DSLabelValue,\n WrapperWithSchema,\n GroupWithSchema,\n LabelWithSchema,\n ValueWithSchema,\n} from './DSLabelValue';\n"],
|
|
4
|
+
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export {\n default,\n default as DSLabelValue,\n WrapperWithSchema,\n GroupWithSchema,\n LabelWithSchema,\n ValueWithSchema,\n} from './DSLabelValue.js';\n"],
|
|
5
5
|
"mappings": "AAAA,YAAY,WAAW;ACAvB;AAAA,EACE,WAAAA;AAAA,EACW,WAAXA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;",
|
|
6
6
|
"names": ["default"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-label-value",
|
|
3
|
-
"version": "3.16.
|
|
3
|
+
"version": "3.16.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Label value",
|
|
6
6
|
"files": [
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
"indent": 4
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@elliemae/ds-classnames": "3.16.
|
|
67
|
-
"@elliemae/ds-props-helpers": "3.16.
|
|
68
|
-
"@elliemae/ds-shared": "3.16.
|
|
69
|
-
"@elliemae/ds-utilities": "3.16.
|
|
66
|
+
"@elliemae/ds-classnames": "3.16.1",
|
|
67
|
+
"@elliemae/ds-props-helpers": "3.16.1",
|
|
68
|
+
"@elliemae/ds-shared": "3.16.1",
|
|
69
|
+
"@elliemae/ds-utilities": "3.16.1"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"lodash": "^4.17.21",
|
|
@@ -81,8 +81,8 @@
|
|
|
81
81
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
82
82
|
"test": "node ../../scripts/testing/test.mjs",
|
|
83
83
|
"lint": "node ../../scripts/lint.mjs",
|
|
84
|
-
"eslint:fix": "
|
|
85
|
-
"dts": "
|
|
84
|
+
"eslint:fix": "exit 0",
|
|
85
|
+
"dts": "exit 0",
|
|
86
86
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
87
87
|
"dev:build": "pnpm --filter {.}... build",
|
|
88
88
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { WrapperWithSchema } from './components/Wrapper';
|
|
2
|
-
import { GroupWithSchema } from './components/Group';
|
|
3
|
-
import { LabelWithSchema } from './components/Label';
|
|
4
|
-
import { ValueWithSchema } from './components/Value';
|
|
5
|
-
declare const DSLabelValue: {
|
|
6
|
-
({ containerProps, children, className, icon, inverted }: {
|
|
7
|
-
containerProps: any;
|
|
8
|
-
children: any;
|
|
9
|
-
className: any;
|
|
10
|
-
icon: any;
|
|
11
|
-
inverted: any;
|
|
12
|
-
}): JSX.Element;
|
|
13
|
-
propTypes: {
|
|
14
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
15
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
16
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
17
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
19
|
-
};
|
|
20
|
-
defaultProps: {
|
|
21
|
-
containerProps: {};
|
|
22
|
-
className: string;
|
|
23
|
-
icon: null;
|
|
24
|
-
inverted: boolean;
|
|
25
|
-
};
|
|
26
|
-
displayName: string;
|
|
27
|
-
} & {
|
|
28
|
-
Group: {
|
|
29
|
-
({ children, inline, orientation }: {
|
|
30
|
-
children: any;
|
|
31
|
-
inline: any;
|
|
32
|
-
orientation: any;
|
|
33
|
-
}): JSX.Element;
|
|
34
|
-
propTypes: {
|
|
35
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
36
|
-
inline: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
37
|
-
orientation: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
38
|
-
};
|
|
39
|
-
defaultProps: {
|
|
40
|
-
inline: boolean;
|
|
41
|
-
orientation: "vertical";
|
|
42
|
-
};
|
|
43
|
-
displayName: string;
|
|
44
|
-
};
|
|
45
|
-
Wrapper: {
|
|
46
|
-
({ containerProps, children, className, icon, inverted }: {
|
|
47
|
-
containerProps: any;
|
|
48
|
-
children: any;
|
|
49
|
-
className: any;
|
|
50
|
-
icon: any;
|
|
51
|
-
inverted: any;
|
|
52
|
-
}): JSX.Element;
|
|
53
|
-
propTypes: {
|
|
54
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
55
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
56
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
57
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
58
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
59
|
-
};
|
|
60
|
-
defaultProps: {
|
|
61
|
-
containerProps: {};
|
|
62
|
-
className: string;
|
|
63
|
-
icon: null;
|
|
64
|
-
inverted: boolean;
|
|
65
|
-
};
|
|
66
|
-
displayName: string;
|
|
67
|
-
};
|
|
68
|
-
Label: {
|
|
69
|
-
({ children, position: labelPosition, color }: {
|
|
70
|
-
children: any;
|
|
71
|
-
position: any;
|
|
72
|
-
color: any;
|
|
73
|
-
}): JSX.Element;
|
|
74
|
-
propTypes: {
|
|
75
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
76
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
77
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
78
|
-
};
|
|
79
|
-
defaultProps: {
|
|
80
|
-
position: "left";
|
|
81
|
-
color: "neutral500";
|
|
82
|
-
};
|
|
83
|
-
displayName: string;
|
|
84
|
-
};
|
|
85
|
-
Value: {
|
|
86
|
-
({ children, position: valuePosition, size, color: valueColor, semibold }: {
|
|
87
|
-
children: any;
|
|
88
|
-
position: any;
|
|
89
|
-
size: any;
|
|
90
|
-
color: any;
|
|
91
|
-
semibold?: boolean | undefined;
|
|
92
|
-
}): JSX.Element;
|
|
93
|
-
propTypes: {
|
|
94
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
95
|
-
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
96
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
97
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
98
|
-
semibold: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
99
|
-
};
|
|
100
|
-
defaultProps: {
|
|
101
|
-
position: "left";
|
|
102
|
-
size: "m";
|
|
103
|
-
color: "neutral700";
|
|
104
|
-
semibold: boolean;
|
|
105
|
-
};
|
|
106
|
-
displayName: string;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
export { WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema };
|
|
110
|
-
export default DSLabelValue;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const Group: {
|
|
2
|
-
({ children, inline, orientation }: {
|
|
3
|
-
children: any;
|
|
4
|
-
inline: any;
|
|
5
|
-
orientation: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
|
-
inline: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
10
|
-
orientation: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
|
-
};
|
|
12
|
-
defaultProps: {
|
|
13
|
-
inline: boolean;
|
|
14
|
-
orientation: "vertical";
|
|
15
|
-
};
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
declare const GroupWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
19
|
-
children: any;
|
|
20
|
-
inline: any;
|
|
21
|
-
orientation: any;
|
|
22
|
-
}>;
|
|
23
|
-
export { GroupWithSchema };
|
|
24
|
-
export default Group;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare const Label: {
|
|
2
|
-
({ children, position: labelPosition, color }: {
|
|
3
|
-
children: any;
|
|
4
|
-
position: any;
|
|
5
|
-
color: any;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
9
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
10
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
|
-
};
|
|
12
|
-
defaultProps: {
|
|
13
|
-
position: "left";
|
|
14
|
-
color: "neutral500";
|
|
15
|
-
};
|
|
16
|
-
displayName: string;
|
|
17
|
-
};
|
|
18
|
-
declare const LabelWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
19
|
-
children: any;
|
|
20
|
-
position: any;
|
|
21
|
-
color: any;
|
|
22
|
-
}>;
|
|
23
|
-
export { LabelWithSchema };
|
|
24
|
-
export default Label;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare const Value: {
|
|
2
|
-
({ children, position: valuePosition, size, color: valueColor, semibold }: {
|
|
3
|
-
children: any;
|
|
4
|
-
position: any;
|
|
5
|
-
size: any;
|
|
6
|
-
color: any;
|
|
7
|
-
semibold?: boolean | undefined;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
|
-
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
12
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
13
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
-
semibold: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
15
|
-
};
|
|
16
|
-
defaultProps: {
|
|
17
|
-
position: "left";
|
|
18
|
-
size: "m";
|
|
19
|
-
color: "neutral700";
|
|
20
|
-
semibold: boolean;
|
|
21
|
-
};
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
declare const ValueWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
25
|
-
children: any;
|
|
26
|
-
position: any;
|
|
27
|
-
size: any;
|
|
28
|
-
color: any;
|
|
29
|
-
semibold?: boolean | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
export { ValueWithSchema };
|
|
32
|
-
export default Value;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
declare const Wrapper: {
|
|
2
|
-
({ containerProps, children, className, icon, inverted }: {
|
|
3
|
-
containerProps: any;
|
|
4
|
-
children: any;
|
|
5
|
-
className: any;
|
|
6
|
-
icon: any;
|
|
7
|
-
inverted: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
11
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
12
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
13
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
15
|
-
};
|
|
16
|
-
defaultProps: {
|
|
17
|
-
containerProps: {};
|
|
18
|
-
className: string;
|
|
19
|
-
icon: null;
|
|
20
|
-
inverted: boolean;
|
|
21
|
-
};
|
|
22
|
-
displayName: string;
|
|
23
|
-
};
|
|
24
|
-
declare const WrapperWithSchema: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").DocumentedReactComponent<{
|
|
25
|
-
containerProps: any;
|
|
26
|
-
children: any;
|
|
27
|
-
className: any;
|
|
28
|
-
icon: any;
|
|
29
|
-
inverted: any;
|
|
30
|
-
}>;
|
|
31
|
-
export { WrapperWithSchema };
|
|
32
|
-
export default Wrapper;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const groupDefault: {
|
|
2
|
-
inline: boolean;
|
|
3
|
-
orientation: "vertical";
|
|
4
|
-
};
|
|
5
|
-
export declare const labelDefault: {
|
|
6
|
-
position: "left";
|
|
7
|
-
color: "neutral500";
|
|
8
|
-
};
|
|
9
|
-
export declare const valueDefault: {
|
|
10
|
-
position: "left";
|
|
11
|
-
size: "m";
|
|
12
|
-
color: "neutral700";
|
|
13
|
-
semibold: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const wrapperDefault: {
|
|
16
|
-
containerProps: {};
|
|
17
|
-
className: string;
|
|
18
|
-
icon: null;
|
|
19
|
-
inverted: boolean;
|
|
20
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const groupProps: {
|
|
2
|
-
/**
|
|
3
|
-
* The elements to be wrapped
|
|
4
|
-
*/
|
|
5
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
6
|
-
/**
|
|
7
|
-
* If the label value should be inline
|
|
8
|
-
*/
|
|
9
|
-
inline: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
10
|
-
/**
|
|
11
|
-
* 'vertical' or 'horizontal'
|
|
12
|
-
*/
|
|
13
|
-
orientation: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
14
|
-
};
|
|
15
|
-
export declare const labelProps: {
|
|
16
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
17
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
18
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
19
|
-
};
|
|
20
|
-
export declare const wrapperProps: {
|
|
21
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
22
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
23
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
24
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
25
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
26
|
-
};
|
|
27
|
-
export declare const valueProps: {
|
|
28
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
29
|
-
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
30
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
31
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
32
|
-
semibold: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
|
|
33
|
-
};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default, default as DSLabelValue, WrapperWithSchema, GroupWithSchema, LabelWithSchema, ValueWithSchema, } from './DSLabelValue';
|