@itilite/iui-user-management 1.4.947 → 1.4.949
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.
- package/dist/index.css +7 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -363,7 +363,6 @@
|
|
|
363
363
|
|
|
364
364
|
._2_sgJ {
|
|
365
365
|
color: #cf2231;
|
|
366
|
-
margin-left: 6px;
|
|
367
366
|
border-radius: 4px;
|
|
368
367
|
padding: 4px;
|
|
369
368
|
border: 0.5px solid var(--color-red-200, #ffaba9);
|
|
@@ -372,6 +371,9 @@
|
|
|
372
371
|
font-weight: 500;
|
|
373
372
|
line-height: 12px; /* 120% */
|
|
374
373
|
letter-spacing: 0.1px;
|
|
374
|
+
display: inline-block;
|
|
375
|
+
white-space: nowrap;
|
|
376
|
+
vertical-align: middle;
|
|
375
377
|
}
|
|
376
378
|
|
|
377
379
|
._3G7La._2_sgJ {
|
|
@@ -494,6 +496,10 @@
|
|
|
494
496
|
margin-bottom: 0;
|
|
495
497
|
}
|
|
496
498
|
|
|
499
|
+
._19m4v {
|
|
500
|
+
margin-right: 6px;
|
|
501
|
+
}
|
|
502
|
+
|
|
497
503
|
._3l4HZ {
|
|
498
504
|
font-size: 11px;
|
|
499
505
|
font-weight: 500;
|
package/dist/index.js
CHANGED
|
@@ -832,7 +832,7 @@ var UserRole = function UserRole(_ref) {
|
|
|
832
832
|
|
|
833
833
|
var styles$1 = {"defaultLabel":"_smjc4","card":"_3_S9J","cardNumber":"_36E9M","cardDigit":"_2pm-T","expiryDate":"_2tBnF","cardImage":"_3QvZh","visa":"_1IpBm","mastercard":"_2x6IX","amex":"_2a38S","discover":"_2vksl","diners":"_2kQRs","jcb":"_2bO1f","unionpay":"_2_jfu","is_nothing":"_1Lrzs","addCard":"_3711U","cardDeleteBtn":"_7Da2t","cardLabel":"_PQTex","defaultBtn":"_1_ArA","cursonPointer":"_1L115","sectionWrapper":"_VpUCK","margin":"_1Fs_D","minGridWidth":"_1hl-Z","firstRowMargin":"_1WZZj","firstChildMargin":"_IT_O_","paddingTop":"_Mhnl7","dividerColor":"_3ltFd"};
|
|
834
834
|
|
|
835
|
-
var classes = {"disabledCard":"_3MVKj","expiredLabel":"_2_sgJ","expiresoonLabel":"_3G7La","sectionHeader":"_2d_OH","myCardsSection":"_3MNHj","companyCardsSection":"_34lN6","disabledNotice":"_1yV0j","cardsGrid":"_1oHGu","card":"_3ZTQc","moreIcon":"_3utA0","personal":"_duePd","corporate":"_3O33a","company":"_180_L","cardHeader":"_1eF61","cardTitleSection":"_2c40W","cardMaskedNumber":"_2Vlhq","cardName":"_bp-Mt","cardType":"_3l4HZ","menuButton":"_3TTEn","lockIcon":"_1S27X","cardDetails":"_IP2rg","cardNumber":"_7FOPe","cardExpiry":"_CI_p2","cardCvv":"_3Gzqu","cardUnhide":"_ivgBf","cardFooter":"_1WgPL","brandLogo":"_EV0l8","addCardButton":"_1oaCc","plusIcon":"_w9L5L"};
|
|
835
|
+
var classes = {"disabledCard":"_3MVKj","expiredLabel":"_2_sgJ","expiresoonLabel":"_3G7La","sectionHeader":"_2d_OH","myCardsSection":"_3MNHj","companyCardsSection":"_34lN6","disabledNotice":"_1yV0j","cardsGrid":"_1oHGu","card":"_3ZTQc","moreIcon":"_3utA0","personal":"_duePd","corporate":"_3O33a","company":"_180_L","cardHeader":"_1eF61","cardTitleSection":"_2c40W","cardMaskedNumber":"_2Vlhq","cardName":"_bp-Mt","cardAlias":"_19m4v","cardType":"_3l4HZ","menuButton":"_3TTEn","lockIcon":"_1S27X","cardDetails":"_IP2rg","cardNumber":"_7FOPe","cardExpiry":"_CI_p2","cardCvv":"_3Gzqu","cardUnhide":"_ivgBf","cardFooter":"_1WgPL","brandLogo":"_EV0l8","addCardButton":"_1oaCc","plusIcon":"_w9L5L"};
|
|
836
836
|
|
|
837
837
|
var SHOW_LOADER = 'SHOW_LOADER';
|
|
838
838
|
var STOP_LOADER = 'STOP_LOADER';
|
|
@@ -2823,7 +2823,7 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2823
2823
|
var cardExpDate = new Date(parseInt(card.card.exp_year, 10), parseInt(card.card.exp_month, 10) - 1);
|
|
2824
2824
|
var timeDiff = cardExpDate.getTime() - currentDate.getTime();
|
|
2825
2825
|
var daysToExpire = Math.ceil(timeDiff / (1000 * 3600 * 24));
|
|
2826
|
-
var expiresSoon = daysToExpire <= 30 && !isExpired
|
|
2826
|
+
var expiresSoon = daysToExpire <= 30 && !isExpired;
|
|
2827
2827
|
var showMenuButton = !isExpired && (cardsCount === 1 || cardsCount > 1 && !isDefaultCard);
|
|
2828
2828
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
2829
2829
|
key: card.id,
|
|
@@ -2834,7 +2834,9 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2834
2834
|
className: classes.cardTitleSection
|
|
2835
2835
|
}, /*#__PURE__*/React__default.createElement("h3", {
|
|
2836
2836
|
className: classes.cardName
|
|
2837
|
-
},
|
|
2837
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
2838
|
+
className: classes.cardAlias
|
|
2839
|
+
}, card === null || card === void 0 ? void 0 : card.alias), isExpired && /*#__PURE__*/React__default.createElement("span", {
|
|
2838
2840
|
className: classes.expiredLabel
|
|
2839
2841
|
}, "Expired"), expiresSoon && /*#__PURE__*/React__default.createElement("span", {
|
|
2840
2842
|
className: clsx(classes.expiresoonLabel, classes.expiredLabel)
|