@elliemae/ds-card-array 3.3.0 → 3.3.1-rc.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.
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { CardWrapperComponent } from "./components/CardWrapper";
4
3
  import { CardBoxComponent } from "./components/CardBox";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/DSCardArray.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { CardWrapperComponent } from './components/CardWrapper';\nimport { CardBoxComponent } from './components/CardBox';\n\nconst DSCardArray = {};\n\nDSCardArray.Wrapper = CardWrapperComponent;\nDSCardArray.CardBox = CardBoxComponent;\n\nexport { DSCardArray };\nexport default DSCardArray;\n"],
5
- "mappings": ";AAAA;ACAA;AACA;AAEA,MAAM,cAAc,CAAC;AAErB,YAAY,UAAU;AACtB,YAAY,UAAU;AAGtB,IAAO,sBAAQ;",
5
+ "mappings": "AAAA;ACAA;AACA;AAEA,MAAM,cAAc,CAAC;AAErB,YAAY,UAAU;AACtB,YAAY,UAAU;AAGtB,IAAO,sBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import React2 from "react";
4
3
  import { PropTypes, describe, useDeprecateComponent } from "@elliemae/ds-utilities";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/CardBox.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe, useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { blockName } from './blockname';\n\nconst Block = aggregatedClasses('div')(blockName, 'box', ({ size, mdSize, smSize }) => ({\n [`box-lg-${size}`]: size,\n [`box-md-${mdSize}`]: mdSize,\n [`box-sm-${smSize}`]: smSize,\n}));\n\nconst CardBox = ({ size = 1, ...rest }) => {\n useDeprecateComponent({ componentName: 'ds-card-array', version: '3.x' });\n\n return <Block size={size} {...rest} />;\n};\n\nconst props = {\n /** size for large card array box */\n size: PropTypes.number.description('size for large card array box'),\n /** size for medium card array box */\n mdSize: PropTypes.number.description('size for medium card array box'),\n /** size for small card array box */\n smSize: PropTypes.number.description('size for small card array box'),\n};\n\nCardBox.propTypes = props;\nCardBox.displayName = 'CardBox';\nconst DSCardBoxWithSchema = describe(CardBox);\nDSCardBoxWithSchema.propTypes = props;\n\nconst CardBoxComponent = React.memo(CardBox);\n\nexport { CardBoxComponent, DSCardBoxWithSchema };\n"],
5
- "mappings": ";AAAA;ACAA;AACA;AACA;AACA;AAEA,MAAM,QAAQ,kBAAkB,KAAK,EAAE,WAAW,OAAO,CAAC,EAAE,MAAM,QAAQ,aAAc;AAAA,EACtF,CAAC,UAAU,SAAS;AAAA,EACpB,CAAC,UAAU,WAAW;AAAA,EACtB,CAAC,UAAU,WAAW;AACxB,EAAE;AAEF,MAAM,UAAU,CAAC,EAAE,OAAO,MAAM,WAAW;AACzC,wBAAsB,EAAE,eAAe,iBAAiB,SAAS,MAAM,CAAC;AAExE,SAAO,qCAAC;AAAA,IAAM;AAAA,IAAa,GAAG;AAAA,GAAM;AACtC;AAEA,MAAM,QAAQ;AAAA,EAEZ,MAAM,UAAU,OAAO,YAAY,+BAA+B;AAAA,EAElE,QAAQ,UAAU,OAAO,YAAY,gCAAgC;AAAA,EAErE,QAAQ,UAAU,OAAO,YAAY,+BAA+B;AACtE;AAEA,QAAQ,YAAY;AACpB,QAAQ,cAAc;AACtB,MAAM,sBAAsB,SAAS,OAAO;AAC5C,oBAAoB,YAAY;AAEhC,MAAM,mBAAmB,OAAM,KAAK,OAAO;",
5
+ "mappings": "AAAA;ACAA;AACA;AACA;AACA;AAEA,MAAM,QAAQ,kBAAkB,KAAK,EAAE,WAAW,OAAO,CAAC,EAAE,MAAM,QAAQ,aAAc;AAAA,EACtF,CAAC,UAAU,SAAS;AAAA,EACpB,CAAC,UAAU,WAAW;AAAA,EACtB,CAAC,UAAU,WAAW;AACxB,EAAE;AAEF,MAAM,UAAU,CAAC,EAAE,OAAO,MAAM,WAAW;AACzC,wBAAsB,EAAE,eAAe,iBAAiB,SAAS,MAAM,CAAC;AAExE,SAAO,qCAAC;AAAA,IAAM;AAAA,IAAa,GAAG;AAAA,GAAM;AACtC;AAEA,MAAM,QAAQ;AAAA,EAEZ,MAAM,UAAU,OAAO,YAAY,+BAA+B;AAAA,EAElE,QAAQ,UAAU,OAAO,YAAY,gCAAgC;AAAA,EAErE,QAAQ,UAAU,OAAO,YAAY,+BAA+B;AACtE;AAEA,QAAQ,YAAY;AACpB,QAAQ,cAAc;AACtB,MAAM,sBAAsB,SAAS,OAAO;AAC5C,oBAAoB,YAAY;AAEhC,MAAM,mBAAmB,OAAM,KAAK,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import React2 from "react";
4
3
  import { PropTypes, describe, useDeprecateComponent } from "@elliemae/ds-utilities";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/CardWrapper.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import React from 'react';\nimport { PropTypes, describe, useDeprecateComponent } from '@elliemae/ds-utilities';\nimport { aggregatedClasses } from '@elliemae/ds-classnames';\nimport { blockName } from './blockname';\n\nconst Block = aggregatedClasses('div')(blockName, 'wrapper', ({ columns, mdColumns, smColumns }) => ({\n [`cols-lg-${columns}`]: columns,\n [`cols-md-${mdColumns}`]: mdColumns,\n [`cols-sm-${smColumns}`]: smColumns,\n}));\n\nconst CardWrapper = ({ columns = 3, ...rest }) => {\n useDeprecateComponent({ componentName: 'ds-card-array', version: '3.x' });\n return <Block columns={columns} {...rest} />;\n};\n\nconst props = {\n /** card wrapper large column size */\n columns: PropTypes.number.description('card wrapper large column size'),\n /** card wrapper medium column size */\n mdColumns: PropTypes.number.description('card wrapper medium column size'),\n /** card wrapper small column size */\n smColumns: PropTypes.number.description('card wrapper small column size'),\n};\n\nCardWrapper.propTypes = props;\nCardWrapper.displayName = 'CardWrapper';\nconst DSCardWrapperWithSchema = describe(CardWrapper);\nDSCardWrapperWithSchema.propTypes = props;\n\nconst CardWrapperComponent = React.memo(CardWrapper);\nexport { CardWrapperComponent, DSCardWrapperWithSchema };\n"],
5
- "mappings": ";AAAA;ACAA;AACA;AACA;AACA;AAEA,MAAM,QAAQ,kBAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,SAAS,WAAW,gBAAiB;AAAA,EACnG,CAAC,WAAW,YAAY;AAAA,EACxB,CAAC,WAAW,cAAc;AAAA,EAC1B,CAAC,WAAW,cAAc;AAC5B,EAAE;AAEF,MAAM,cAAc,CAAC,EAAE,UAAU,MAAM,WAAW;AAChD,wBAAsB,EAAE,eAAe,iBAAiB,SAAS,MAAM,CAAC;AACxE,SAAO,qCAAC;AAAA,IAAM;AAAA,IAAmB,GAAG;AAAA,GAAM;AAC5C;AAEA,MAAM,QAAQ;AAAA,EAEZ,SAAS,UAAU,OAAO,YAAY,gCAAgC;AAAA,EAEtE,WAAW,UAAU,OAAO,YAAY,iCAAiC;AAAA,EAEzE,WAAW,UAAU,OAAO,YAAY,gCAAgC;AAC1E;AAEA,YAAY,YAAY;AACxB,YAAY,cAAc;AAC1B,MAAM,0BAA0B,SAAS,WAAW;AACpD,wBAAwB,YAAY;AAEpC,MAAM,uBAAuB,OAAM,KAAK,WAAW;",
5
+ "mappings": "AAAA;ACAA;AACA;AACA;AACA;AAEA,MAAM,QAAQ,kBAAkB,KAAK,EAAE,WAAW,WAAW,CAAC,EAAE,SAAS,WAAW,gBAAiB;AAAA,EACnG,CAAC,WAAW,YAAY;AAAA,EACxB,CAAC,WAAW,cAAc;AAAA,EAC1B,CAAC,WAAW,cAAc;AAC5B,EAAE;AAEF,MAAM,cAAc,CAAC,EAAE,UAAU,MAAM,WAAW;AAChD,wBAAsB,EAAE,eAAe,iBAAiB,SAAS,MAAM,CAAC;AACxE,SAAO,qCAAC;AAAA,IAAM;AAAA,IAAmB,GAAG;AAAA,GAAM;AAC5C;AAEA,MAAM,QAAQ;AAAA,EAEZ,SAAS,UAAU,OAAO,YAAY,gCAAgC;AAAA,EAEtE,WAAW,UAAU,OAAO,YAAY,iCAAiC;AAAA,EAEzE,WAAW,UAAU,OAAO,YAAY,gCAAgC;AAC1E;AAEA,YAAY,YAAY;AACxB,YAAY,cAAc;AAC1B,MAAM,0BAA0B,SAAS,WAAW;AACpD,wBAAwB,YAAY;AAEpC,MAAM,uBAAuB,OAAM,KAAK,WAAW;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  const blockName = "card-array";
4
3
  export {
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/components/blockname.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const blockName = 'card-array';\n"],
5
- "mappings": ";AAAA;ACAO,MAAM,YAAY;",
5
+ "mappings": "AAAA;ACAO,MAAM,YAAY;",
6
6
  "names": []
7
7
  }
package/dist/esm/index.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import * as React from "react";
3
2
  import { DSCardBoxWithSchema } from "./components/CardBox";
4
3
  import { DSCardWrapperWithSchema } from "./components/CardWrapper";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../../scripts/build/transpile/react-shim.js", "../../src/index.tsx"],
4
4
  "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export { DSCardBoxWithSchema } from './components/CardBox';\nexport { DSCardWrapperWithSchema } from './components/CardWrapper';\nexport { default, DSCardArray } from './DSCardArray';\n"],
5
- "mappings": ";AAAA;ACAA;AACA;AACA;",
5
+ "mappings": "AAAA;ACAA;AACA;AACA;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-card-array",
3
- "version": "3.3.0",
3
+ "version": "3.3.1-rc.2",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Card Array",
6
6
  "files": [
@@ -51,8 +51,8 @@
51
51
  "indent": 4
52
52
  },
53
53
  "dependencies": {
54
- "@elliemae/ds-classnames": "3.3.0",
55
- "@elliemae/ds-utilities": "3.3.0"
54
+ "@elliemae/ds-classnames": "3.3.1-rc.2",
55
+ "@elliemae/ds-utilities": "3.3.1-rc.2"
56
56
  },
57
57
  "peerDependencies": {
58
58
  "lodash": "^4.17.21",