@elliemae/ds-label-value 3.2.0-rc.2 → 3.2.0-rc.3

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.
@@ -30,12 +30,12 @@ var React = __toESM(require("react"));
30
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_ds_utilities.PropTypes.element.description("The elements to be wrapped"),
33
+ children: import_ds_utilities.PropTypes.node.description("The elements to be wrapped"),
34
34
  inline: import_ds_utilities.PropTypes.bool.description("If the label value should be inline"),
35
35
  orientation: import_ds_utilities.PropTypes.string.description("'vertical' or 'horizontal'")
36
36
  };
37
37
  const labelProps = {
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,
38
+ children: import_ds_utilities.PropTypes.node.description("Label element").isRequired,
39
39
  position: import_ds_utilities.PropTypes.string.description("labels position").defaultValue(import_ds_shared.position.LEFT),
40
40
  color: import_ds_utilities.PropTypes.string.description("labels color").defaultValue(import_ds_shared.fontColor.NEUTRAL500)
41
41
  };
@@ -44,11 +44,11 @@ const wrapperProps = {
44
44
  className: import_ds_utilities.PropTypes.string.description("html class attribute"),
45
45
  icon: import_ds_utilities.PropTypes.element.description("Icon to be attached near value"),
46
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
47
+ children: import_ds_utilities.PropTypes.node.description("label value").isRequired
48
48
  };
49
49
  const valueProps = {
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),
50
+ children: import_ds_utilities.PropTypes.node.description("value element").isRequired,
51
+ size: import_ds_utilities.PropTypes.string.description("values size").defaultValue(import_ds_shared.sizeVariants.M),
52
52
  position: import_ds_utilities.PropTypes.string.description("position of the value").defaultValue(import_ds_shared.position.LEFT),
53
53
  color: import_ds_utilities.PropTypes.string.description("value color").defaultValue(import_ds_shared.fontColor.NEUTRAL700),
54
54
  semibold: import_ds_utilities.PropTypes.bool.description("semibold or not").defaultValue(false)
@@ -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 '@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};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AAU,8BAAU,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.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,0BAA0B;AAC1B,uBAAkD;AAE3C,MAAM,aAAa;AAAA,EAIxB,UAAU,8BAAU,KAAK,YAAY,4BAA4B;AAAA,EAIjE,QAAQ,8BAAU,KAAK,YAAY,qCAAqC;AAAA,EAIxE,aAAa,8BAAU,OAAO,YAAY,4BAA4B;AACxE;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,8BAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,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,KAAK,YAAY,aAAa,EAAE;AACtD;AAEO,MAAM,aAAa;AAAA,EACxB,UAAU,8BAAU,KAAK,YAAY,eAAe,EAAE;AAAA,EACtD,MAAM,8BAAU,OAAO,YAAY,aAAa,EAAE,aAAa,8BAAa,CAAC;AAAA,EAC7E,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
  }
@@ -2,12 +2,12 @@ import * as React from "react";
2
2
  import { PropTypes } from "@elliemae/ds-utilities";
3
3
  import { position, fontColor, sizeVariants } from "@elliemae/ds-shared";
4
4
  const groupProps = {
5
- children: PropTypes.element.description("The elements to be wrapped"),
5
+ children: PropTypes.node.description("The elements to be wrapped"),
6
6
  inline: PropTypes.bool.description("If the label value should be inline"),
7
7
  orientation: PropTypes.string.description("'vertical' or 'horizontal'")
8
8
  };
9
9
  const labelProps = {
10
- children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description("Label element").isRequired,
10
+ children: PropTypes.node.description("Label element").isRequired,
11
11
  position: PropTypes.string.description("labels position").defaultValue(position.LEFT),
12
12
  color: PropTypes.string.description("labels color").defaultValue(fontColor.NEUTRAL500)
13
13
  };
@@ -16,11 +16,11 @@ const wrapperProps = {
16
16
  className: PropTypes.string.description("html class attribute"),
17
17
  icon: PropTypes.element.description("Icon to be attached near value"),
18
18
  inverted: PropTypes.bool.description("Changes the position of the label").defaultValue(false),
19
- children: PropTypes.element.description("label value").isRequired
19
+ children: PropTypes.node.description("label value").isRequired
20
20
  };
21
21
  const valueProps = {
22
- children: PropTypes.oneOfType([PropTypes.element, PropTypes.string, PropTypes.number]).description("value element").isRequired,
23
- size: PropTypes.func.description("values size").defaultValue(sizeVariants.M),
22
+ children: PropTypes.node.description("value element").isRequired,
23
+ size: PropTypes.string.description("values size").defaultValue(sizeVariants.M),
24
24
  position: PropTypes.string.description("position of the value").defaultValue(position.LEFT),
25
25
  color: PropTypes.string.description("value color").defaultValue(fontColor.NEUTRAL700),
26
26
  semibold: PropTypes.bool.description("semibold or not").defaultValue(false)
@@ -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 '@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
- "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;",
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.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;ACAA;AACA;AAEO,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;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-label-value",
3
- "version": "3.2.0-rc.2",
3
+ "version": "3.2.0-rc.3",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Label value",
6
6
  "files": [
@@ -63,9 +63,9 @@
63
63
  "indent": 4
64
64
  },
65
65
  "dependencies": {
66
- "@elliemae/ds-classnames": "3.2.0-rc.2",
67
- "@elliemae/ds-shared": "3.2.0-rc.2",
68
- "@elliemae/ds-utilities": "3.2.0-rc.2"
66
+ "@elliemae/ds-classnames": "3.2.0-rc.3",
67
+ "@elliemae/ds-shared": "3.2.0-rc.3",
68
+ "@elliemae/ds-utilities": "3.2.0-rc.3"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "lodash": "^4.17.21",