@elliemae/ds-chip 3.0.0-next.67 → 3.0.0-next.68

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.
@@ -77,6 +77,7 @@ const DSChip = (props) => {
77
77
  })));
78
78
  };
79
79
  DSChip.propTypes = import_react_desc_prop_types.DSChipPropTypes;
80
+ DSChip.displayName = "DSChip";
80
81
  const DSChipWithSchema = (0, import_ds_utilities.describe)(DSChip);
81
82
  DSChipWithSchema.propTypes = import_react_desc_prop_types.DSChipPropTypes;
82
83
  //# sourceMappingURL=DSChip.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/DSChip.tsx", "../../../../scripts/build/transpile/react-shim.js"],
4
- "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { useConfig } from './config/useConfig';\nimport { StyledChip, StyledChipLabel, StyledRoundShape } from './styles';\nimport { CHIP_SHAPES } from './constants';\nimport { DSChipT, DSChipPropTypes } from './react-desc-prop-types';\n\nconst DSChip: React.ComponentType<DSChipT.Props> = (props) => {\n const { size, selected, innerRef, icon: Icon, globalAttrs, xStyledAttrs } = useConfig(props);\n\n const { shape, label, type, disabled, ...restGlobals } = globalAttrs;\n\n return (\n <StyledChip\n aria-disabled={disabled}\n disabled={disabled}\n buttonShape={shape}\n size={size}\n ref={innerRef}\n selected={selected}\n {...restGlobals}\n {...xStyledAttrs}\n >\n {shape === CHIP_SHAPES.ROUND ? (\n <StyledRoundShape disabled={disabled} size={size}>\n <Icon />\n </StyledRoundShape>\n ) : (\n <Icon />\n )}\n <StyledChipLabel>\n <SimpleTruncatedTooltipText value={label} placement=\"bottom\" />\n </StyledChipLabel>\n </StyledChip>\n );\n};\n\nDSChip.propTypes = DSChipPropTypes;\nconst DSChipWithSchema = describe(DSChip);\nDSChipWithSchema.propTypes = DSChipPropTypes;\n\nexport { DSChip, DSChipWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,uCAA2C;AAC3C,uBAA0B;AAC1B,oBAA8D;AAC9D,uBAA4B;AAC5B,mCAAyC;AAEzC,MAAM,SAA6C,CAAC,UAAU;AAC5D,QAAM,EAAE,MAAM,UAAU,UAAU,MAAM,MAAM,aAAa,iBAAiB,gCAAU,KAAK;AAE3F,QAAyD,kBAAjD,SAAO,OAAO,MAAM,aAA6B,IAAhB,wBAAgB,IAAhB,CAAjC,SAAO,SAAO,QAAM;AAE5B,SACE,mDAAC;AAAA,IACC,iBAAe;AAAA,IACf;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA,KAAK;AAAA,IACL;AAAA,KACI,cACA,eAEH,UAAU,6BAAY,QACrB,mDAAC;AAAA,IAAiB;AAAA,IAAoB;AAAA,KACpC,mDAAC,UAAK,CACR,IAEA,mDAAC,UAAK,GAER,mDAAC,qCACC,mDAAC;AAAA,IAA2B,OAAO;AAAA,IAAO,WAAU;AAAA,GAAS,CAC/D,CACF;AAEJ;AAEA,OAAO,YAAY;AACnB,MAAM,mBAAmB,kCAAS,MAAM;AACxC,iBAAiB,YAAY;",
4
+ "sourcesContent": ["import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { useConfig } from './config/useConfig';\nimport { StyledChip, StyledChipLabel, StyledRoundShape } from './styles';\nimport { CHIP_SHAPES } from './constants';\nimport { DSChipT, DSChipPropTypes } from './react-desc-prop-types';\n\nconst DSChip: React.ComponentType<DSChipT.Props> = (props) => {\n const { size, selected, innerRef, icon: Icon, globalAttrs, xStyledAttrs } = useConfig(props);\n\n const { shape, label, type, disabled, ...restGlobals } = globalAttrs;\n\n return (\n <StyledChip\n aria-disabled={disabled}\n disabled={disabled}\n buttonShape={shape}\n size={size}\n ref={innerRef}\n selected={selected}\n {...restGlobals}\n {...xStyledAttrs}\n >\n {shape === CHIP_SHAPES.ROUND ? (\n <StyledRoundShape disabled={disabled} size={size}>\n <Icon />\n </StyledRoundShape>\n ) : (\n <Icon />\n )}\n <StyledChipLabel>\n <SimpleTruncatedTooltipText value={label} placement=\"bottom\" />\n </StyledChipLabel>\n </StyledChip>\n );\n};\n\nDSChip.propTypes = DSChipPropTypes;\nDSChip.displayName = 'DSChip';\nconst DSChipWithSchema = describe(DSChip);\nDSChipWithSchema.propTypes = DSChipPropTypes;\n\nexport { DSChip, DSChipWithSchema };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,0BAAyB;AACzB,uCAA2C;AAC3C,uBAA0B;AAC1B,oBAA8D;AAC9D,uBAA4B;AAC5B,mCAAyC;AAEzC,MAAM,SAA6C,CAAC,UAAU;AAC5D,QAAM,EAAE,MAAM,UAAU,UAAU,MAAM,MAAM,aAAa,iBAAiB,gCAAU,KAAK;AAE3F,QAAyD,kBAAjD,SAAO,OAAO,MAAM,aAA6B,IAAhB,wBAAgB,IAAhB,CAAjC,SAAO,SAAO,QAAM;AAE5B,SACE,mDAAC;AAAA,IACC,iBAAe;AAAA,IACf;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA,KAAK;AAAA,IACL;AAAA,KACI,cACA,eAEH,UAAU,6BAAY,QACrB,mDAAC;AAAA,IAAiB;AAAA,IAAoB;AAAA,KACpC,mDAAC,UAAK,CACR,IAEA,mDAAC,UAAK,GAER,mDAAC,qCACC,mDAAC;AAAA,IAA2B,OAAO;AAAA,IAAO,WAAU;AAAA,GAAS,CAC/D,CACF;AAEJ;AAEA,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,MAAM,mBAAmB,kCAAS,MAAM;AACxC,iBAAiB,YAAY;",
6
6
  "names": []
7
7
  }
@@ -53,6 +53,7 @@ const DSChip = (props) => {
53
53
  })));
54
54
  };
55
55
  DSChip.propTypes = DSChipPropTypes;
56
+ DSChip.displayName = "DSChip";
56
57
  const DSChipWithSchema = describe(DSChip);
57
58
  DSChipWithSchema.propTypes = DSChipPropTypes;
58
59
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSChip.tsx"],
4
- "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { useConfig } from './config/useConfig';\nimport { StyledChip, StyledChipLabel, StyledRoundShape } from './styles';\nimport { CHIP_SHAPES } from './constants';\nimport { DSChipT, DSChipPropTypes } from './react-desc-prop-types';\n\nconst DSChip: React.ComponentType<DSChipT.Props> = (props) => {\n const { size, selected, innerRef, icon: Icon, globalAttrs, xStyledAttrs } = useConfig(props);\n\n const { shape, label, type, disabled, ...restGlobals } = globalAttrs;\n\n return (\n <StyledChip\n aria-disabled={disabled}\n disabled={disabled}\n buttonShape={shape}\n size={size}\n ref={innerRef}\n selected={selected}\n {...restGlobals}\n {...xStyledAttrs}\n >\n {shape === CHIP_SHAPES.ROUND ? (\n <StyledRoundShape disabled={disabled} size={size}>\n <Icon />\n </StyledRoundShape>\n ) : (\n <Icon />\n )}\n <StyledChipLabel>\n <SimpleTruncatedTooltipText value={label} placement=\"bottom\" />\n </StyledChipLabel>\n </StyledChip>\n );\n};\n\nDSChip.propTypes = DSChipPropTypes;\nconst DSChipWithSchema = describe(DSChip);\nDSChipWithSchema.propTypes = DSChipPropTypes;\n\nexport { DSChip, DSChipWithSchema };\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,SAA6C,CAAC,UAAU;AAC5D,QAAM,EAAE,MAAM,UAAU,UAAU,MAAM,MAAM,aAAa,iBAAiB,UAAU,KAAK;AAE3F,QAAyD,kBAAjD,SAAO,OAAO,MAAM,aAA6B,IAAhB,wBAAgB,IAAhB,CAAjC,SAAO,SAAO,QAAM;AAE5B,SACE,qCAAC;AAAA,IACC,iBAAe;AAAA,IACf;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA,KAAK;AAAA,IACL;AAAA,KACI,cACA,eAEH,UAAU,YAAY,QACrB,qCAAC;AAAA,IAAiB;AAAA,IAAoB;AAAA,KACpC,qCAAC,UAAK,CACR,IAEA,qCAAC,UAAK,GAER,qCAAC,uBACC,qCAAC;AAAA,IAA2B,OAAO;AAAA,IAAO,WAAU;AAAA,GAAS,CAC/D,CACF;AAEJ;AAEA,OAAO,YAAY;AACnB,MAAM,mBAAmB,SAAS,MAAM;AACxC,iBAAiB,YAAY;",
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { describe } from '@elliemae/ds-utilities';\nimport { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';\nimport { useConfig } from './config/useConfig';\nimport { StyledChip, StyledChipLabel, StyledRoundShape } from './styles';\nimport { CHIP_SHAPES } from './constants';\nimport { DSChipT, DSChipPropTypes } from './react-desc-prop-types';\n\nconst DSChip: React.ComponentType<DSChipT.Props> = (props) => {\n const { size, selected, innerRef, icon: Icon, globalAttrs, xStyledAttrs } = useConfig(props);\n\n const { shape, label, type, disabled, ...restGlobals } = globalAttrs;\n\n return (\n <StyledChip\n aria-disabled={disabled}\n disabled={disabled}\n buttonShape={shape}\n size={size}\n ref={innerRef}\n selected={selected}\n {...restGlobals}\n {...xStyledAttrs}\n >\n {shape === CHIP_SHAPES.ROUND ? (\n <StyledRoundShape disabled={disabled} size={size}>\n <Icon />\n </StyledRoundShape>\n ) : (\n <Icon />\n )}\n <StyledChipLabel>\n <SimpleTruncatedTooltipText value={label} placement=\"bottom\" />\n </StyledChipLabel>\n </StyledChip>\n );\n};\n\nDSChip.propTypes = DSChipPropTypes;\nDSChip.displayName = 'DSChip';\nconst DSChipWithSchema = describe(DSChip);\nDSChipWithSchema.propTypes = DSChipPropTypes;\n\nexport { DSChip, DSChipWithSchema };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,SAA6C,CAAC,UAAU;AAC5D,QAAM,EAAE,MAAM,UAAU,UAAU,MAAM,MAAM,aAAa,iBAAiB,UAAU,KAAK;AAE3F,QAAyD,kBAAjD,SAAO,OAAO,MAAM,aAA6B,IAAhB,wBAAgB,IAAhB,CAAjC,SAAO,SAAO,QAAM;AAE5B,SACE,qCAAC;AAAA,IACC,iBAAe;AAAA,IACf;AAAA,IACA,aAAa;AAAA,IACb;AAAA,IACA,KAAK;AAAA,IACL;AAAA,KACI,cACA,eAEH,UAAU,YAAY,QACrB,qCAAC;AAAA,IAAiB;AAAA,IAAoB;AAAA,KACpC,qCAAC,UAAK,CACR,IAEA,qCAAC,UAAK,GAER,qCAAC,uBACC,qCAAC;AAAA,IAA2B,OAAO;AAAA,IAAO,WAAU;AAAA,GAAS,CAC/D,CACF;AAEJ;AAEA,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,MAAM,mBAAmB,SAAS,MAAM;AACxC,iBAAiB,YAAY;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-chip",
3
- "version": "3.0.0-next.67",
3
+ "version": "3.0.0-next.68",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Chip",
6
6
  "files": [
@@ -70,9 +70,9 @@
70
70
  "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs"
71
71
  },
72
72
  "dependencies": {
73
- "@elliemae/ds-system": "3.0.0-next.54",
74
- "@elliemae/ds-truncated-tooltip-text": "3.0.0-next.54",
75
- "@elliemae/ds-utilities": "3.0.0-next.54"
73
+ "@elliemae/ds-system": "workspace:*",
74
+ "@elliemae/ds-truncated-tooltip-text": "workspace:*",
75
+ "@elliemae/ds-utilities": "workspace:*"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@testing-library/jest-dom": "~5.16.2",