@elliemae/ds-label-value 3.1.0-next.1 → 3.1.0-next.4

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.
@@ -26,7 +26,7 @@ __export(Group_exports, {
26
26
  module.exports = __toCommonJS(Group_exports);
27
27
  var React = __toESM(require("react"));
28
28
  var import_react = __toESM(require("react"));
29
- var import_react_desc = require("react-desc");
29
+ var import_ds_utilities = require("@elliemae/ds-utilities");
30
30
  var import_ds_classnames = require("@elliemae/ds-classnames");
31
31
  var import_props = require("./props");
32
32
  var import_defaultProps = require("./defaultProps");
@@ -41,7 +41,7 @@ const Group = ({ children, inline, orientation }) => /* @__PURE__ */ import_reac
41
41
  Group.propTypes = import_props.groupProps;
42
42
  Group.defaultProps = import_defaultProps.groupDefault;
43
43
  Group.displayName = "Group";
44
- const GroupWithSchema = (0, import_react_desc.describe)(Group);
44
+ const GroupWithSchema = (0, import_ds_utilities.describe)(Group);
45
45
  GroupWithSchema.propTypes = import_props.groupProps;
46
46
  var Group_default = Group;
47
47
  //# sourceMappingURL=Group.js.map
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n }),\n);\n\nconst Group = ({ children, inline, orientation }) => (\n <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;ADAvB,mBAAkB;AAClB,wBAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,eAAe,4CAAkB,KAAK,EAC1C,WACA,WACA,CAAC,EAAE,aAAa,aAAc;AAAA,EAC5B;AAAA,GACC,cAAc;AACjB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,kBACjC,mDAAC;AAAA,EAAa,YAAY,EAAE,aAAa,OAAO;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,gCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n }),\n);\n\nconst Group = ({ children, inline, orientation }) => (\n <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;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,eAAe,4CAAkB,KAAK,EAC1C,WACA,WACA,CAAC,EAAE,aAAa,aAAc;AAAA,EAC5B;AAAA,GACC,cAAc;AACjB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,kBACjC,mDAAC;AAAA,EAAa,YAAY,EAAE,aAAa,OAAO;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -26,7 +26,7 @@ __export(Label_exports, {
26
26
  module.exports = __toCommonJS(Label_exports);
27
27
  var React = __toESM(require("react"));
28
28
  var import_react = __toESM(require("react"));
29
- var import_react_desc = require("react-desc");
29
+ var import_ds_utilities = require("@elliemae/ds-utilities");
30
30
  var import_ds_classnames = require("@elliemae/ds-classnames");
31
31
  var import_props = require("./props");
32
32
  var import_defaultProps = require("./defaultProps");
@@ -41,7 +41,7 @@ const Label = ({ children, position: labelPosition, color }) => /* @__PURE__ */
41
41
  Label.propTypes = import_props.labelProps;
42
42
  Label.defaultProps = import_defaultProps.labelDefault;
43
43
  Label.displayName = "Label";
44
- const LabelWithSchema = (0, import_react_desc.describe)(Label);
44
+ const LabelWithSchema = (0, import_ds_utilities.describe)(Label);
45
45
  LabelWithSchema.propTypes = import_props.labelProps;
46
46
  var Label_default = Label;
47
47
  //# sourceMappingURL=Label.js.map
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(\n blockName,\n 'label',\n ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n }),\n);\n\nconst Label = ({ children, position: labelPosition, color }) => (\n <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>\n);\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;ADAvB,mBAAkB;AAClB,wBAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,4CAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,eAAe,iBAAkB;AAAA,GACjC,gBAAgB;AAAA,GAChB,aAAa;AAChB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,YAClD,mDAAC;AAAA,EAAY,YAAY,EAAE,eAAe,MAAM;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,gCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(\n blockName,\n 'label',\n ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n }),\n);\n\nconst Label = ({ children, position: labelPosition, color }) => (\n <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>\n);\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;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,4CAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,eAAe,iBAAkB;AAAA,GACjC,gBAAgB;AAAA,GAChB,aAAa;AAChB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,YAClD,mDAAC;AAAA,EAAY,YAAY,EAAE,eAAe,MAAM;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -26,7 +26,7 @@ __export(Value_exports, {
26
26
  module.exports = __toCommonJS(Value_exports);
27
27
  var React = __toESM(require("react"));
28
28
  var import_react = __toESM(require("react"));
29
- var import_react_desc = require("react-desc");
29
+ var import_ds_utilities = require("@elliemae/ds-utilities");
30
30
  var import_ds_classnames = require("@elliemae/ds-classnames");
31
31
  var import_props = require("./props");
32
32
  var import_defaultProps = require("./defaultProps");
@@ -54,7 +54,7 @@ const Value = ({
54
54
  Value.propTypes = import_props.valueProps;
55
55
  Value.defaultProps = import_defaultProps.valueDefault;
56
56
  Value.displayName = "Value";
57
- const ValueWithSchema = (0, import_react_desc.describe)(Value);
57
+ const ValueWithSchema = (0, import_ds_utilities.describe)(Value);
58
58
  ValueWithSchema.propTypes = import_props.valueProps;
59
59
  var Value_default = Value;
60
60
  //# sourceMappingURL=Value.js.map
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(\n blockName,\n 'value',\n ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n }),\n);\n\nconst Value = ({\n children,\n position: valuePosition,\n size,\n color: valueColor,\n semibold = false,\n}) => (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\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;ADAvB,mBAAkB;AAClB,wBAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,4CAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,MAAM,eAAe,YAAY,eAAgB;AAAA,GACjD,OAAO;AAAA,GACP,gBAAgB;AAAA,GAChB,aAAa;AAAA,EACd;AACF,EACF;AAEA,MAAM,QAAQ,CAAC;AAAA,EACb;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,OAAO;AAAA,EACP,WAAW;AAAA,MAEX,mDAAC;AAAA,EACC,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,GAEA,mDAAC,cAAM,QAAS,CAClB;AAGF,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,gCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(\n blockName,\n 'value',\n ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n }),\n);\n\nconst Value = ({\n children,\n position: valuePosition,\n size,\n color: valueColor,\n semibold = false,\n}) => (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\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;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,2BAAkC;AAClC,mBAA2B;AAC3B,0BAA6B;AAE7B,MAAM,YAAY;AAElB,MAAM,cAAc,4CAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,MAAM,eAAe,YAAY,eAAgB;AAAA,GACjD,OAAO;AAAA,GACP,gBAAgB;AAAA,GAChB,aAAa;AAAA,EACd;AACF,EACF;AAEA,MAAM,QAAQ,CAAC;AAAA,EACb;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,OAAO;AAAA,EACP,WAAW;AAAA,MAEX,mDAAC;AAAA,EACC,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,GAEA,mDAAC,cAAM,QAAS,CAClB;AAGF,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,kCAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -40,7 +40,7 @@ __export(Wrapper_exports, {
40
40
  module.exports = __toCommonJS(Wrapper_exports);
41
41
  var React = __toESM(require("react"));
42
42
  var import_react = __toESM(require("react"));
43
- var import_react_desc = require("react-desc");
43
+ var import_ds_utilities = require("@elliemae/ds-utilities");
44
44
  var import_ds_classnames = require("@elliemae/ds-classnames");
45
45
  var import_props = require("./props");
46
46
  var import_defaultProps = require("./defaultProps");
@@ -57,7 +57,7 @@ const Wrapper = ({ containerProps, children, className, icon, inverted }) => /*
57
57
  Wrapper.propTypes = import_props.wrapperProps;
58
58
  Wrapper.defaultProps = import_defaultProps.wrapperDefault;
59
59
  Wrapper.displayName = "Wrapper";
60
- const WrapperWithSchema = (0, import_react_desc.describe)(Wrapper);
60
+ const WrapperWithSchema = (0, import_ds_utilities.describe)(Wrapper);
61
61
  WrapperWithSchema.propTypes = import_props.wrapperProps;
62
62
  var Wrapper_default = Wrapper;
63
63
  //# sourceMappingURL=Wrapper.js.map
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,wBAAyB;AACzB,2BAAkC;AAClC,mBAA6B;AAC7B,0BAA+B;AAE/B,MAAM,YAAY;AAElB,MAAM,oBAAoB,4CAAkB,KAAK,EAC/C,WACA,uBACA,MAAM,IACR;AACA,MAAM,YAAY,4CAAkB,KAAK,EACvC,WACA,WACA,CAAC,EAAE,eAAgB;AAAA,EACjB;AACF,EACF;AAEA,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,eAC5D,mDAAC;AAAA,EAAU,YAAY,EAAE,SAAS;AAAA,GAC/B,MACD,mDAAC;AAAA,EAAkB;AAAA,GAA0B,iBAC1C,QACH,CACF;AAGF,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,gCAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,2BAAkC;AAClC,mBAA6B;AAC7B,0BAA+B;AAE/B,MAAM,YAAY;AAElB,MAAM,oBAAoB,4CAAkB,KAAK,EAC/C,WACA,uBACA,MAAM,IACR;AACA,MAAM,YAAY,4CAAkB,KAAK,EACvC,WACA,WACA,CAAC,EAAE,eAAgB;AAAA,EACjB;AACF,EACF;AAEA,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,eAC5D,mDAAC;AAAA,EAAU,YAAY,EAAE,SAAS;AAAA,GAC/B,MACD,mDAAC;AAAA,EAAkB;AAAA,GAA0B,iBAC1C,QACH,CACF;AAGF,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,kCAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
6
6
  "names": []
7
7
  }
@@ -27,30 +27,30 @@ __export(props_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(props_exports);
29
29
  var React = __toESM(require("react"));
30
- var import_react_desc = require("react-desc");
30
+ var import_ds_utilities = require("@elliemae/ds-utilities");
31
31
  var import_ds_shared = require("@elliemae/ds-shared");
32
32
  const groupProps = {
33
- children: import_react_desc.PropTypes.element.description("The elements to be wrapped"),
34
- inline: import_react_desc.PropTypes.bool.description("If the label value should be inline"),
35
- orientation: import_react_desc.PropTypes.string.description("'vertical' or 'horizontal'")
33
+ children: import_ds_utilities.PropTypes.element.description("The elements to be wrapped"),
34
+ inline: import_ds_utilities.PropTypes.bool.description("If the label value should be inline"),
35
+ orientation: import_ds_utilities.PropTypes.string.description("'vertical' or 'horizontal'")
36
36
  };
37
37
  const labelProps = {
38
- children: import_react_desc.PropTypes.oneOfType([import_react_desc.PropTypes.element, import_react_desc.PropTypes.string, import_react_desc.PropTypes.number]).description("Label element").isRequired,
39
- position: import_react_desc.PropTypes.string.description("labels position").defaultValue(import_ds_shared.position.LEFT),
40
- color: import_react_desc.PropTypes.string.description("labels color").defaultValue(import_ds_shared.fontColor.NEUTRAL500)
38
+ children: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.element, import_ds_utilities.PropTypes.string, import_ds_utilities.PropTypes.number]).description("Label element").isRequired,
39
+ position: import_ds_utilities.PropTypes.string.description("labels position").defaultValue(import_ds_shared.position.LEFT),
40
+ color: import_ds_utilities.PropTypes.string.description("labels color").defaultValue(import_ds_shared.fontColor.NEUTRAL500)
41
41
  };
42
42
  const wrapperProps = {
43
- containerProps: import_react_desc.PropTypes.object.description("Set of Properties attached to the main container"),
44
- className: import_react_desc.PropTypes.string.description("html class attribute"),
45
- icon: import_react_desc.PropTypes.element.description("Icon to be attached near value"),
46
- inverted: import_react_desc.PropTypes.bool.description("Changes the position of the label").defaultValue(false),
47
- children: import_react_desc.PropTypes.element.description("label value").isRequired
43
+ containerProps: import_ds_utilities.PropTypes.object.description("Set of Properties attached to the main container"),
44
+ className: import_ds_utilities.PropTypes.string.description("html class attribute"),
45
+ icon: import_ds_utilities.PropTypes.element.description("Icon to be attached near value"),
46
+ inverted: import_ds_utilities.PropTypes.bool.description("Changes the position of the label").defaultValue(false),
47
+ children: import_ds_utilities.PropTypes.element.description("label value").isRequired
48
48
  };
49
49
  const valueProps = {
50
- children: import_react_desc.PropTypes.oneOfType([import_react_desc.PropTypes.element, import_react_desc.PropTypes.string, import_react_desc.PropTypes.number]).description("value element").isRequired,
51
- size: import_react_desc.PropTypes.func.description("values size").defaultValue(import_ds_shared.sizeVariants.M),
52
- position: import_react_desc.PropTypes.string.description("position of the value").defaultValue(import_ds_shared.position.LEFT),
53
- color: import_react_desc.PropTypes.string.description("value color").defaultValue(import_ds_shared.fontColor.NEUTRAL700),
54
- semibold: import_react_desc.PropTypes.bool.description("semibold or not").defaultValue(false)
50
+ children: import_ds_utilities.PropTypes.oneOfType([import_ds_utilities.PropTypes.element, import_ds_utilities.PropTypes.string, import_ds_utilities.PropTypes.number]).description("value element").isRequired,
51
+ size: import_ds_utilities.PropTypes.func.description("values size").defaultValue(import_ds_shared.sizeVariants.M),
52
+ position: import_ds_utilities.PropTypes.string.description("position of the value").defaultValue(import_ds_shared.position.LEFT),
53
+ color: import_ds_utilities.PropTypes.string.description("value color").defaultValue(import_ds_shared.fontColor.NEUTRAL700),
54
+ semibold: import_ds_utilities.PropTypes.bool.description("semibold or not").defaultValue(false)
55
55
  };
56
56
  //# sourceMappingURL=props.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import { PropTypes } from 'react-desc';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.element.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.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element')\n .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.element.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element')\n .isRequired,\n size: PropTypes.func.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,wBAA0B;AAC1B,uBAAkD;AAE3C,MAAM,aAAa;AAAA,EAIxB,UAAU,4BAAU,QAAQ,YAAY,4BAA4B;AAAA,EAIpE,QAAQ,4BAAU,KAAK,YAAY,qCAAqC;AAAA,EAIxE,aAAa,4BAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,4BAAU,UAAU,CAAC,4BAAU,SAAS,4BAAU,QAAQ,4BAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,UAAU,4BAAU,OAAO,YAAY,iBAAiB,EAAE,aAAa,0BAAS,IAAI;AAAA,EACpF,OAAO,4BAAU,OAAO,YAAY,cAAc,EAAE,aAAa,2BAAU,UAAU;AACvF;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,4BAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,4BAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,MAAM,4BAAU,QAAQ,YAAY,gCAAgC;AAAA,EACpE,UAAU,4BAAU,KAAK,YAAY,mCAAmC,EAAE,aAAa,KAAK;AAAA,EAC5F,UAAU,4BAAU,QAAQ,YAAY,aAAa,EAAE;AACzD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,4BAAU,UAAU,CAAC,4BAAU,SAAS,4BAAU,QAAQ,4BAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,MAAM,4BAAU,KAAK,YAAY,aAAa,EAAE,aAAa,8BAAa,CAAC;AAAA,EAC3E,UAAU,4BAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,0BAAS,IAAI;AAAA,EAC1F,OAAO,4BAAU,OAAO,YAAY,aAAa,EAAE,aAAa,2BAAU,UAAU;AAAA,EACpF,UAAU,4BAAU,KAAK,YAAY,iBAAiB,EAAE,aAAa,KAAK;AAC5E;",
4
+ "sourcesContent": ["import { PropTypes } from '@elliemae/ds-utilities';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.element.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.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element')\n .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.element.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element')\n .isRequired,\n size: PropTypes.func.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,0BAA0B;AAC1B,uBAAkD;AAE3C,MAAM,aAAa;AAAA,EAIxB,UAAU,8BAAU,QAAQ,YAAY,4BAA4B;AAAA,EAIpE,QAAQ,8BAAU,KAAK,YAAY,qCAAqC;AAAA,EAIxE,aAAa,8BAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,8BAAU,UAAU,CAAC,8BAAU,SAAS,8BAAU,QAAQ,8BAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,UAAU,8BAAU,OAAO,YAAY,iBAAiB,EAAE,aAAa,0BAAS,IAAI;AAAA,EACpF,OAAO,8BAAU,OAAO,YAAY,cAAc,EAAE,aAAa,2BAAU,UAAU;AACvF;AAEO,MAAM,eAAe;AAAA,EAC1B,gBAAgB,8BAAU,OAAO,YAAY,kDAAkD;AAAA,EAC/F,WAAW,8BAAU,OAAO,YAAY,sBAAsB;AAAA,EAC9D,MAAM,8BAAU,QAAQ,YAAY,gCAAgC;AAAA,EACpE,UAAU,8BAAU,KAAK,YAAY,mCAAmC,EAAE,aAAa,KAAK;AAAA,EAC5F,UAAU,8BAAU,QAAQ,YAAY,aAAa,EAAE;AACzD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,8BAAU,UAAU,CAAC,8BAAU,SAAS,8BAAU,QAAQ,8BAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,MAAM,8BAAU,KAAK,YAAY,aAAa,EAAE,aAAa,8BAAa,CAAC;AAAA,EAC3E,UAAU,8BAAU,OAAO,YAAY,uBAAuB,EAAE,aAAa,0BAAS,IAAI;AAAA,EAC1F,OAAO,8BAAU,OAAO,YAAY,aAAa,EAAE,aAAa,2BAAU,UAAU;AAAA,EACpF,UAAU,8BAAU,KAAK,YAAY,iBAAiB,EAAE,aAAa,KAAK;AAC5E;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React2 from "react";
3
- import { describe } from "react-desc";
3
+ import { describe } from "@elliemae/ds-utilities";
4
4
  import { aggregatedClasses } from "@elliemae/ds-classnames";
5
5
  import { groupProps } from "./props";
6
6
  import { groupDefault } from "./defaultProps";
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n }),\n);\n\nconst Group = ({ children, inline, orientation }) => (\n <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"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { groupProps } from './props';\nimport { groupDefault } from './defaultProps';\n\nconst blockName = 'labelValueGroup';\n\nconst WrapperGroup = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ orientation, inline }) => ({\n inline,\n [orientation]: orientation,\n }),\n);\n\nconst Group = ({ children, inline, orientation }) => (\n <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
5
  "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,eAAe,kBAAkB,KAAK,EAC1C,WACA,WACA,CAAC,EAAE,aAAa,aAAc;AAAA,EAC5B;AAAA,GACC,cAAc;AACjB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,QAAQ,kBACjC,qCAAC;AAAA,EAAa,YAAY,EAAE,aAAa,OAAO;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React2 from "react";
3
- import { describe } from "react-desc";
3
+ import { describe } from "@elliemae/ds-utilities";
4
4
  import { aggregatedClasses } from "@elliemae/ds-classnames";
5
5
  import { labelProps } from "./props";
6
6
  import { labelDefault } from "./defaultProps";
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(\n blockName,\n 'label',\n ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n }),\n);\n\nconst Label = ({ children, position: labelPosition, color }) => (\n <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>\n);\n\nLabel.propTypes = labelProps;\nLabel.defaultProps = labelDefault;\nLabel.displayName = 'Label';\nconst LabelWithSchema = describe(Label);\nLabelWithSchema.propTypes = labelProps;\n\nexport { LabelWithSchema };\nexport default Label;\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { labelProps } from './props';\nimport { labelDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelStyled = aggregatedClasses('div')(\n blockName,\n 'label',\n ({ labelPosition, labelColor }) => ({\n [labelPosition]: labelPosition,\n [labelColor]: labelColor,\n }),\n);\n\nconst Label = ({ children, position: labelPosition, color }) => (\n <LabelStyled classProps={{ labelPosition, color }}>{children}</LabelStyled>\n);\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
5
  "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,eAAe,iBAAkB;AAAA,GACjC,gBAAgB;AAAA,GAChB,aAAa;AAChB,EACF;AAEA,MAAM,QAAQ,CAAC,EAAE,UAAU,UAAU,eAAe,YAClD,qCAAC;AAAA,EAAY,YAAY,EAAE,eAAe,MAAM;AAAA,GAAI,QAAS;AAG/D,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import React2 from "react";
3
- import { describe } from "react-desc";
3
+ import { describe } from "@elliemae/ds-utilities";
4
4
  import { aggregatedClasses } from "@elliemae/ds-classnames";
5
5
  import { valueProps } from "./props";
6
6
  import { valueDefault } from "./defaultProps";
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(\n blockName,\n 'value',\n ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n }),\n);\n\nconst Value = ({\n children,\n position: valuePosition,\n size,\n color: valueColor,\n semibold = false,\n}) => (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\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"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { valueProps } from './props';\nimport { valueDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst ValueStyled = aggregatedClasses('div')(\n blockName,\n 'value',\n ({ size, valuePosition, valueColor, semibold }) => ({\n [size]: size,\n [valuePosition]: valuePosition,\n [valueColor]: valueColor,\n semibold,\n }),\n);\n\nconst Value = ({\n children,\n position: valuePosition,\n size,\n color: valueColor,\n semibold = false,\n}) => (\n <ValueStyled\n classProps={{\n size,\n valuePosition,\n valueColor,\n semibold,\n }}\n >\n <span>{children}</span>\n </ValueStyled>\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
5
  "mappings": "AAAA;ACAA;AACA;AACA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,cAAc,kBAAkB,KAAK,EACzC,WACA,SACA,CAAC,EAAE,MAAM,eAAe,YAAY,eAAgB;AAAA,GACjD,OAAO;AAAA,GACP,gBAAgB;AAAA,GAChB,aAAa;AAAA,EACd;AACF,EACF;AAEA,MAAM,QAAQ,CAAC;AAAA,EACb;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,OAAO;AAAA,EACP,WAAW;AAAA,MAEX,qCAAC;AAAA,EACC,YAAY;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,GAEA,qCAAC,cAAM,QAAS,CAClB;AAGF,MAAM,YAAY;AAClB,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,kBAAkB,SAAS,KAAK;AACtC,gBAAgB,YAAY;AAG5B,IAAO,gBAAQ;",
6
6
  "names": []
7
7
  }
@@ -16,7 +16,7 @@ var __spreadValues = (a, b) => {
16
16
  };
17
17
  import * as React from "react";
18
18
  import React2 from "react";
19
- import { describe } from "react-desc";
19
+ import { describe } from "@elliemae/ds-utilities";
20
20
  import { aggregatedClasses } from "@elliemae/ds-classnames";
21
21
  import { wrapperProps } from "./props";
22
22
  import { wrapperDefault } from "./defaultProps";
@@ -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 { describe } from 'react-desc';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { wrapperProps } from './props';\nimport { wrapperDefault } from './defaultProps';\n\nconst blockName = 'labelValue';\n\nconst LabelValueWrapper = aggregatedClasses('div')(\n blockName,\n 'label-value-wrapper',\n () => null,\n);\nconst Container = aggregatedClasses('div')(\n blockName,\n 'wrapper',\n ({ inverted }) => ({\n inverted,\n }),\n);\n\nconst Wrapper = ({ containerProps, children, className, icon, inverted }) => (\n <Container classProps={{ inverted }}>\n {icon}\n <LabelValueWrapper className={className} {...containerProps}>\n {children}\n </LabelValueWrapper>\n </Container>\n);\n\nWrapper.propTypes = wrapperProps;\nWrapper.defaultProps = wrapperDefault;\nWrapper.displayName = 'Wrapper';\nconst WrapperWithSchema = describe(Wrapper);\nWrapperWithSchema.propTypes = wrapperProps;\n\nexport { WrapperWithSchema };\nexport default Wrapper;\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;AAAA;ACAA;AACA;AACA;AACA;AACA;AAEA,MAAM,YAAY;AAElB,MAAM,oBAAoB,kBAAkB,KAAK,EAC/C,WACA,uBACA,MAAM,IACR;AACA,MAAM,YAAY,kBAAkB,KAAK,EACvC,WACA,WACA,CAAC,EAAE,eAAgB;AAAA,EACjB;AACF,EACF;AAEA,MAAM,UAAU,CAAC,EAAE,gBAAgB,UAAU,WAAW,MAAM,eAC5D,qCAAC;AAAA,EAAU,YAAY,EAAE,SAAS;AAAA,GAC/B,MACD,qCAAC;AAAA,EAAkB;AAAA,GAA0B,iBAC1C,QACH,CACF;AAGF,QAAQ,YAAY;AACpB,QAAQ,eAAe;AACvB,QAAQ,cAAc;AACtB,MAAM,oBAAoB,SAAS,OAAO;AAC1C,kBAAkB,YAAY;AAG9B,IAAO,kBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import { PropTypes } from "react-desc";
2
+ import { PropTypes } from "@elliemae/ds-utilities";
3
3
  import { position, fontColor, sizeVariants } from "@elliemae/ds-shared";
4
4
  const groupProps = {
5
5
  children: PropTypes.element.description("The elements to be wrapped"),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
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 'react-desc';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.element.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.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element')\n .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.element.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element')\n .isRequired,\n size: PropTypes.func.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"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from '@elliemae/ds-utilities';\nimport { position, fontColor, sizeVariants } from '@elliemae/ds-shared';\n\nexport const groupProps = {\n /**\n * The elements to be wrapped\n */\n children: PropTypes.element.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.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('Label element')\n .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.element.description('label value').isRequired,\n};\n\nexport const valueProps = {\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description('value element')\n .isRequired,\n size: PropTypes.func.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
5
  "mappings": "AAAA;ACAA;AACA;AAEO,MAAM,aAAa;AAAA,EAIxB,UAAU,UAAU,QAAQ,YAAY,4BAA4B;AAAA,EAIpE,QAAQ,UAAU,KAAK,YAAY,qCAAqC;AAAA,EAIxE,aAAa,UAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,UAAU,CAAC,UAAU,SAAS,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,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,QAAQ,YAAY,aAAa,EAAE;AACzD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,UAAU,UAAU,CAAC,UAAU,SAAS,UAAU,QAAQ,UAAU,MAAM,CAAC,EAAE,YAAY,eAAe,EAC/G;AAAA,EACH,MAAM,UAAU,KAAK,YAAY,aAAa,EAAE,aAAa,aAAa,CAAC;AAAA,EAC3E,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-label-value",
3
- "version": "3.1.0-next.1",
3
+ "version": "3.1.0-next.4",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Label value",
6
6
  "files": [
@@ -62,17 +62,10 @@
62
62
  "reportFile": "tests.xml",
63
63
  "indent": 4
64
64
  },
65
- "scripts": {
66
- "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
67
- "test": "node ../../scripts/testing/test.mjs",
68
- "lint": "node ../../scripts/lint.mjs",
69
- "dts": "node ../../scripts/dts.mjs",
70
- "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
71
- },
72
65
  "dependencies": {
73
- "@elliemae/ds-classnames": "3.1.0-next.1",
74
- "@elliemae/ds-shared": "3.1.0-next.1",
75
- "react-desc": "~4.1.3"
66
+ "@elliemae/ds-classnames": "3.1.0-next.4",
67
+ "@elliemae/ds-shared": "3.1.0-next.4",
68
+ "@elliemae/ds-utilities": "3.1.0-next.4"
76
69
  },
77
70
  "peerDependencies": {
78
71
  "lodash": "^4.17.21",
@@ -82,5 +75,13 @@
82
75
  "publishConfig": {
83
76
  "access": "public",
84
77
  "typeSafety": false
78
+ },
79
+ "scripts": {
80
+ "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
81
+ "test": "node ../../scripts/testing/test.mjs",
82
+ "lint": "node ../../scripts/lint.mjs",
83
+ "dts": "node ../../scripts/dts.mjs",
84
+ "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
85
+ "checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
85
86
  }
86
- }
87
+ }