@elliemae/ds-label-value 3.26.1-rc.1 → 3.27.0-next.2
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/index.js +4 -7
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +2 -13
- package/dist/esm/index.js.map +2 -2
- package/dist/types/index.d.ts +2 -1
- package/package.json +6 -37
- package/dist/cjs/DSLabelValue.js +0 -50
- package/dist/cjs/DSLabelValue.js.map +0 -7
- package/dist/cjs/components/Group.js +0 -57
- package/dist/cjs/components/Group.js.map +0 -7
- package/dist/cjs/components/Label.js +0 -57
- package/dist/cjs/components/Label.js.map +0 -7
- package/dist/cjs/components/Value.js +0 -70
- package/dist/cjs/components/Value.js.map +0 -7
- package/dist/cjs/components/Wrapper.js +0 -60
- package/dist/cjs/components/Wrapper.js.map +0 -7
- package/dist/cjs/components/defaultProps.js +0 -59
- package/dist/cjs/components/defaultProps.js.map +0 -7
- package/dist/cjs/components/props.js +0 -73
- package/dist/cjs/components/props.js.map +0 -7
- package/dist/esm/DSLabelValue.js +0 -20
- package/dist/esm/DSLabelValue.js.map +0 -7
- package/dist/esm/components/Group.js +0 -27
- package/dist/esm/components/Group.js.map +0 -7
- package/dist/esm/components/Label.js +0 -27
- package/dist/esm/components/Label.js.map +0 -7
- package/dist/esm/components/Value.js +0 -40
- package/dist/esm/components/Value.js.map +0 -7
- package/dist/esm/components/Wrapper.js +0 -30
- package/dist/esm/components/Wrapper.js.map +0 -7
- package/dist/esm/components/defaultProps.js +0 -29
- package/dist/esm/components/defaultProps.js.map +0 -7
- package/dist/esm/components/props.js +0 -43
- package/dist/esm/components/props.js.map +0 -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
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
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.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var props_exports = {};
|
|
30
|
-
__export(props_exports, {
|
|
31
|
-
groupProps: () => groupProps,
|
|
32
|
-
labelProps: () => labelProps,
|
|
33
|
-
valueProps: () => valueProps,
|
|
34
|
-
wrapperProps: () => wrapperProps
|
|
35
|
-
});
|
|
36
|
-
module.exports = __toCommonJS(props_exports);
|
|
37
|
-
var React = __toESM(require("react"));
|
|
38
|
-
var import_ds_props_helpers = require("@elliemae/ds-props-helpers");
|
|
39
|
-
var import_ds_shared = require("@elliemae/ds-shared");
|
|
40
|
-
const groupProps = {
|
|
41
|
-
/**
|
|
42
|
-
* The elements to be wrapped
|
|
43
|
-
*/
|
|
44
|
-
children: import_ds_props_helpers.PropTypes.node.description("The elements to be wrapped"),
|
|
45
|
-
/**
|
|
46
|
-
* If the label value should be inline
|
|
47
|
-
*/
|
|
48
|
-
inline: import_ds_props_helpers.PropTypes.bool.description("If the label value should be inline"),
|
|
49
|
-
/**
|
|
50
|
-
* 'vertical' or 'horizontal'
|
|
51
|
-
*/
|
|
52
|
-
orientation: import_ds_props_helpers.PropTypes.string.description("'vertical' or 'horizontal'")
|
|
53
|
-
};
|
|
54
|
-
const labelProps = {
|
|
55
|
-
children: import_ds_props_helpers.PropTypes.node.description("Label element").isRequired,
|
|
56
|
-
position: import_ds_props_helpers.PropTypes.string.description("labels position").defaultValue(import_ds_shared.position.LEFT),
|
|
57
|
-
color: import_ds_props_helpers.PropTypes.string.description("labels color").defaultValue(import_ds_shared.fontColor.NEUTRAL500)
|
|
58
|
-
};
|
|
59
|
-
const wrapperProps = {
|
|
60
|
-
containerProps: import_ds_props_helpers.PropTypes.object.description("Set of Properties attached to the main container"),
|
|
61
|
-
className: import_ds_props_helpers.PropTypes.string.description("html class attribute"),
|
|
62
|
-
icon: import_ds_props_helpers.PropTypes.element.description("Icon to be attached near value"),
|
|
63
|
-
inverted: import_ds_props_helpers.PropTypes.bool.description("Changes the position of the label").defaultValue(false),
|
|
64
|
-
children: import_ds_props_helpers.PropTypes.node.description("label value").isRequired
|
|
65
|
-
};
|
|
66
|
-
const valueProps = {
|
|
67
|
-
children: import_ds_props_helpers.PropTypes.node.description("value element").isRequired,
|
|
68
|
-
size: import_ds_props_helpers.PropTypes.string.description("values size").defaultValue(import_ds_shared.sizeVariants.M),
|
|
69
|
-
position: import_ds_props_helpers.PropTypes.string.description("position of the value").defaultValue(import_ds_shared.position.LEFT),
|
|
70
|
-
color: import_ds_props_helpers.PropTypes.string.description("value color").defaultValue(import_ds_shared.fontColor.NEUTRAL700),
|
|
71
|
-
semibold: import_ds_props_helpers.PropTypes.bool.description("semibold or not").defaultValue(false)
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=props.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/props.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
|
|
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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
-
"names": []
|
|
7
|
-
}
|
package/dist/esm/DSLabelValue.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
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
|
-
const DSLabelValue = Object.assign(Wrapper, {
|
|
7
|
-
Group,
|
|
8
|
-
Wrapper,
|
|
9
|
-
Label,
|
|
10
|
-
Value
|
|
11
|
-
});
|
|
12
|
-
var DSLabelValue_default = DSLabelValue;
|
|
13
|
-
export {
|
|
14
|
-
GroupWithSchema,
|
|
15
|
-
LabelWithSchema,
|
|
16
|
-
ValueWithSchema,
|
|
17
|
-
WrapperWithSchema,
|
|
18
|
-
DSLabelValue_default as default
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=DSLabelValue.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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.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
|
-
"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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
|
-
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
|
-
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { groupProps } from "./props.js";
|
|
7
|
-
import { groupDefault } from "./defaultProps.js";
|
|
8
|
-
const blockName = "labelValueGroup";
|
|
9
|
-
const WrapperGroup = aggregatedClasses("div")(blockName, "wrapper", ({ orientation, inline }) => ({
|
|
10
|
-
inline,
|
|
11
|
-
[orientation]: orientation
|
|
12
|
-
}));
|
|
13
|
-
const Group = ({ children, inline, orientation }) => {
|
|
14
|
-
useDeprecateComponent({ componentName: "ds-label-value", version: "3.x Date: 2023 Q1" });
|
|
15
|
-
return /* @__PURE__ */ jsx(WrapperGroup, { classProps: { orientation, inline }, children });
|
|
16
|
-
};
|
|
17
|
-
Group.propTypes = groupProps;
|
|
18
|
-
Group.defaultProps = groupDefault;
|
|
19
|
-
Group.displayName = "Group";
|
|
20
|
-
const GroupWithSchema = describe(Group);
|
|
21
|
-
GroupWithSchema.propTypes = groupProps;
|
|
22
|
-
var Group_default = Group;
|
|
23
|
-
export {
|
|
24
|
-
GroupWithSchema,
|
|
25
|
-
Group_default as default
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=Group.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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.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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
|
-
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
|
-
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { labelProps } from "./props.js";
|
|
7
|
-
import { labelDefault } from "./defaultProps.js";
|
|
8
|
-
const blockName = "labelValue";
|
|
9
|
-
const LabelStyled = aggregatedClasses("div")(blockName, "label", ({ labelPosition, labelColor }) => ({
|
|
10
|
-
[labelPosition]: labelPosition,
|
|
11
|
-
[labelColor]: labelColor
|
|
12
|
-
}));
|
|
13
|
-
const Label = ({ children, position: labelPosition, color }) => {
|
|
14
|
-
useDeprecateComponent({ componentName: "ds-label-value", version: "3.x Date: 2023 Q1" });
|
|
15
|
-
return /* @__PURE__ */ jsx(LabelStyled, { classProps: { labelPosition, color }, children });
|
|
16
|
-
};
|
|
17
|
-
Label.propTypes = labelProps;
|
|
18
|
-
Label.defaultProps = labelDefault;
|
|
19
|
-
Label.displayName = "Label";
|
|
20
|
-
const LabelWithSchema = describe(Label);
|
|
21
|
-
LabelWithSchema.propTypes = labelProps;
|
|
22
|
-
var Label_default = Label;
|
|
23
|
-
export {
|
|
24
|
-
LabelWithSchema,
|
|
25
|
-
Label_default as default
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=Label.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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.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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
|
-
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
|
-
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { valueProps } from "./props.js";
|
|
7
|
-
import { valueDefault } from "./defaultProps.js";
|
|
8
|
-
const blockName = "labelValue";
|
|
9
|
-
const ValueStyled = aggregatedClasses("div")(blockName, "value", ({ size, valuePosition, valueColor, semibold }) => ({
|
|
10
|
-
[size]: size,
|
|
11
|
-
[valuePosition]: valuePosition,
|
|
12
|
-
[valueColor]: valueColor,
|
|
13
|
-
semibold
|
|
14
|
-
}));
|
|
15
|
-
const Value = ({ children, position: valuePosition, size, color: valueColor, semibold = false }) => {
|
|
16
|
-
useDeprecateComponent({ componentName: "ds-label-value", version: "3.x Date: 2023 Q1" });
|
|
17
|
-
return /* @__PURE__ */ jsx(
|
|
18
|
-
ValueStyled,
|
|
19
|
-
{
|
|
20
|
-
classProps: {
|
|
21
|
-
size,
|
|
22
|
-
valuePosition,
|
|
23
|
-
valueColor,
|
|
24
|
-
semibold
|
|
25
|
-
},
|
|
26
|
-
children: /* @__PURE__ */ jsx("span", { children })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
Value.propTypes = valueProps;
|
|
31
|
-
Value.defaultProps = valueDefault;
|
|
32
|
-
Value.displayName = "Value";
|
|
33
|
-
const ValueWithSchema = describe(Value);
|
|
34
|
-
ValueWithSchema.propTypes = valueProps;
|
|
35
|
-
var Value_default = Value;
|
|
36
|
-
export {
|
|
37
|
-
ValueWithSchema,
|
|
38
|
-
Value_default as default
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=Value.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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.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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useDeprecateComponent } from "@elliemae/ds-utilities";
|
|
4
|
-
import { describe } from "@elliemae/ds-props-helpers";
|
|
5
|
-
import { aggregatedClasses } from "@elliemae/ds-classnames";
|
|
6
|
-
import { wrapperProps } from "./props.js";
|
|
7
|
-
import { wrapperDefault } from "./defaultProps.js";
|
|
8
|
-
const blockName = "labelValue";
|
|
9
|
-
const LabelValueWrapper = aggregatedClasses("div")(blockName, "label-value-wrapper", () => null);
|
|
10
|
-
const Container = aggregatedClasses("div")(blockName, "wrapper", ({ inverted }) => ({
|
|
11
|
-
inverted
|
|
12
|
-
}));
|
|
13
|
-
const Wrapper = ({ containerProps, children, className, icon, inverted }) => {
|
|
14
|
-
useDeprecateComponent({ componentName: "ds-label-value", version: "3.x Date: 2023 Q1" });
|
|
15
|
-
return /* @__PURE__ */ jsxs(Container, { classProps: { inverted }, children: [
|
|
16
|
-
icon,
|
|
17
|
-
/* @__PURE__ */ jsx(LabelValueWrapper, { className, ...containerProps, children })
|
|
18
|
-
] });
|
|
19
|
-
};
|
|
20
|
-
Wrapper.propTypes = wrapperProps;
|
|
21
|
-
Wrapper.defaultProps = wrapperDefault;
|
|
22
|
-
Wrapper.displayName = "Wrapper";
|
|
23
|
-
const WrapperWithSchema = describe(Wrapper);
|
|
24
|
-
WrapperWithSchema.propTypes = wrapperProps;
|
|
25
|
-
var Wrapper_default = Wrapper;
|
|
26
|
-
export {
|
|
27
|
-
WrapperWithSchema,
|
|
28
|
-
Wrapper_default as default
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=Wrapper.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 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.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
|
-
"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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { orientationVariants, position, sizeVariants, fontColor } from "@elliemae/ds-shared";
|
|
3
|
-
const groupDefault = {
|
|
4
|
-
inline: false,
|
|
5
|
-
orientation: orientationVariants.VERTICAL
|
|
6
|
-
};
|
|
7
|
-
const labelDefault = {
|
|
8
|
-
position: position.LEFT,
|
|
9
|
-
color: fontColor.NEUTRAL500
|
|
10
|
-
};
|
|
11
|
-
const valueDefault = {
|
|
12
|
-
position: position.LEFT,
|
|
13
|
-
size: sizeVariants.M,
|
|
14
|
-
color: fontColor.NEUTRAL700,
|
|
15
|
-
semibold: false
|
|
16
|
-
};
|
|
17
|
-
const wrapperDefault = {
|
|
18
|
-
containerProps: {},
|
|
19
|
-
className: "",
|
|
20
|
-
icon: null,
|
|
21
|
-
inverted: false
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
groupDefault,
|
|
25
|
-
labelDefault,
|
|
26
|
-
valueDefault,
|
|
27
|
-
wrapperDefault
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=defaultProps.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/defaultProps.tsx"],
|
|
4
|
-
"sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
|
|
5
|
-
"mappings": "AAAA,YAAY,WAAW;ACAvB,SAAS,qBAAqB,UAAU,cAAc,iBAAiB;AAEhE,MAAM,eAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,aAAa,oBAAoB;AACnC;AAEO,MAAM,eAAe;AAAA,EAC1B,UAAU,SAAS;AAAA,EACnB,OAAO,UAAU;AACnB;AAEO,MAAM,eAAe;AAAA,EAC1B,UAAU,SAAS;AAAA,EACnB,MAAM,aAAa;AAAA,EACnB,OAAO,UAAU;AAAA,EACjB,UAAU;AACZ;AAEO,MAAM,iBAAiB;AAAA,EAC5B,gBAAgB,CAAC;AAAA,EACjB,WAAW;AAAA,EACX,MAAM;AAAA,EACN,UAAU;AACZ;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { PropTypes } from "@elliemae/ds-props-helpers";
|
|
3
|
-
import { position, fontColor, sizeVariants } from "@elliemae/ds-shared";
|
|
4
|
-
const groupProps = {
|
|
5
|
-
/**
|
|
6
|
-
* The elements to be wrapped
|
|
7
|
-
*/
|
|
8
|
-
children: PropTypes.node.description("The elements to be wrapped"),
|
|
9
|
-
/**
|
|
10
|
-
* If the label value should be inline
|
|
11
|
-
*/
|
|
12
|
-
inline: PropTypes.bool.description("If the label value should be inline"),
|
|
13
|
-
/**
|
|
14
|
-
* 'vertical' or 'horizontal'
|
|
15
|
-
*/
|
|
16
|
-
orientation: PropTypes.string.description("'vertical' or 'horizontal'")
|
|
17
|
-
};
|
|
18
|
-
const labelProps = {
|
|
19
|
-
children: PropTypes.node.description("Label element").isRequired,
|
|
20
|
-
position: PropTypes.string.description("labels position").defaultValue(position.LEFT),
|
|
21
|
-
color: PropTypes.string.description("labels color").defaultValue(fontColor.NEUTRAL500)
|
|
22
|
-
};
|
|
23
|
-
const wrapperProps = {
|
|
24
|
-
containerProps: PropTypes.object.description("Set of Properties attached to the main container"),
|
|
25
|
-
className: PropTypes.string.description("html class attribute"),
|
|
26
|
-
icon: PropTypes.element.description("Icon to be attached near value"),
|
|
27
|
-
inverted: PropTypes.bool.description("Changes the position of the label").defaultValue(false),
|
|
28
|
-
children: PropTypes.node.description("label value").isRequired
|
|
29
|
-
};
|
|
30
|
-
const valueProps = {
|
|
31
|
-
children: PropTypes.node.description("value element").isRequired,
|
|
32
|
-
size: PropTypes.string.description("values size").defaultValue(sizeVariants.M),
|
|
33
|
-
position: PropTypes.string.description("position of the value").defaultValue(position.LEFT),
|
|
34
|
-
color: PropTypes.string.description("value color").defaultValue(fontColor.NEUTRAL700),
|
|
35
|
-
semibold: PropTypes.bool.description("semibold or not").defaultValue(false)
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
groupProps,
|
|
39
|
-
labelProps,
|
|
40
|
-
valueProps,
|
|
41
|
-
wrapperProps
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=props.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/props.tsx"],
|
|
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;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
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { WrapperWithSchema } from './components/Wrapper.js';
|
|
2
|
-
import { GroupWithSchema } from './components/Group.js';
|
|
3
|
-
import { LabelWithSchema } from './components/Label.js';
|
|
4
|
-
import { ValueWithSchema } from './components/Value.js';
|
|
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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
13
|
-
propTypes: {
|
|
14
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
15
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
16
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
17
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
18
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
34
|
-
propTypes: {
|
|
35
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
36
|
-
inline: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
37
|
-
orientation: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
53
|
-
propTypes: {
|
|
54
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
55
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
56
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
57
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
58
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
74
|
-
propTypes: {
|
|
75
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
76
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
77
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
93
|
-
propTypes: {
|
|
94
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
95
|
-
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
96
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
97
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
98
|
-
semibold: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
9
|
-
inline: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
10
|
-
orientation: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
9
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
10
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
11
|
-
size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
12
|
-
position: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
13
|
-
color: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
14
|
-
semibold: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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.js").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
|
-
}): import("react/jsx-runtime.js").JSX.Element;
|
|
9
|
-
propTypes: {
|
|
10
|
-
containerProps: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
11
|
-
className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
12
|
-
icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
13
|
-
inverted: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").ReactDescT;
|
|
14
|
-
children: import("@elliemae/ds-props-helpers/dist/types/propTypes/types.js").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.js").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
|
-
};
|