@hipay/hipay-material-ui 3.14.0 → 3.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -369,6 +369,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
369
369
  colorPrimary = props.colorPrimary,
370
370
  colorSecondary = props.colorSecondary,
371
371
  credit = props.credit,
372
+ hideIbanType = props.hideIbanType,
372
373
  logo = props.logo,
373
374
  logoMerchant = props.logoMerchant,
374
375
  svgPath = props.svgPath,
@@ -552,7 +553,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
552
553
  className: (0, _classnames.default)(classes.labelLarge, classes.userNameSepa),
553
554
  title: username,
554
555
  "data-name": "card_name"
555
- }, username), /*#__PURE__*/_react.default.createElement("div", {
556
+ }, username), !hideIbanType && /*#__PURE__*/_react.default.createElement("div", {
556
557
  className: (0, _classnames.default)(classes.labelLarge, classes.labelDebitCredit),
557
558
  "data-name": "type_iban"
558
559
  }, creditDebit));
@@ -613,6 +614,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
613
614
  HiPaymentMeans.defaultProps = {
614
615
  cardUserGender: "U",
615
616
  credit: true,
617
+ hideIbanType: false,
616
618
  translations: {
617
619
  credit: "credit",
618
620
  debit: "debit",
@@ -369,6 +369,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
369
369
  colorPrimary = props.colorPrimary,
370
370
  colorSecondary = props.colorSecondary,
371
371
  credit = props.credit,
372
+ hideIbanType = props.hideIbanType,
372
373
  logo = props.logo,
373
374
  logoMerchant = props.logoMerchant,
374
375
  svgPath = props.svgPath,
@@ -552,7 +553,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
552
553
  className: (0, _classnames.default)(classes.labelLarge, classes.userNameSepa),
553
554
  title: username,
554
555
  "data-name": "card_name"
555
- }, username), /*#__PURE__*/_react.default.createElement("div", {
556
+ }, username), !hideIbanType && /*#__PURE__*/_react.default.createElement("div", {
556
557
  className: (0, _classnames.default)(classes.labelLarge, classes.labelDebitCredit),
557
558
  "data-name": "type_iban"
558
559
  }, creditDebit));
@@ -613,6 +614,7 @@ var HiPaymentMeans = function HiPaymentMeans(props) {
613
614
  HiPaymentMeans.defaultProps = {
614
615
  cardUserGender: "U",
615
616
  credit: true,
617
+ hideIbanType: false,
616
618
  translations: {
617
619
  credit: "credit",
618
620
  debit: "debit",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hipay/hipay-material-ui",
3
3
  "private": false,
4
- "version": "3.14.0",
4
+ "version": "3.15.0",
5
5
  "description": "React components that implement Google's Material Design.",
6
6
  "repository": {
7
7
  "type": "git",