@thecb/components 5.8.2-beta.3 → 5.8.2-beta.6
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.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/AutopayOnIcon.js +4 -10
- package/src/components/molecules/obligation/Obligation.js +2 -0
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +3 -2
- package/src/constants/colors.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4878,7 +4878,7 @@ var MUSTARD_YELLOW = "#FFD459";
|
|
|
4878
4878
|
var FIRE_YELLOW = "#B34A00"; // ORANGE
|
|
4879
4879
|
|
|
4880
4880
|
var CARROT_ORANGE = "#ED9620";
|
|
4881
|
-
var ZEST_ORANGE = "#
|
|
4881
|
+
var ZEST_ORANGE = "#B84A00";
|
|
4882
4882
|
var APRICOT_ORANGE = "#FFE8D8"; // RED
|
|
4883
4883
|
|
|
4884
4884
|
var RED = "#FF0000";
|
|
@@ -13789,8 +13789,7 @@ var TimeoutImage = function TimeoutImage() {
|
|
|
13789
13789
|
})))));
|
|
13790
13790
|
};
|
|
13791
13791
|
|
|
13792
|
-
var AutopayOnIcon = function AutopayOnIcon(
|
|
13793
|
-
var themeValues = _ref.themeValues;
|
|
13792
|
+
var AutopayOnIcon = function AutopayOnIcon() {
|
|
13794
13793
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13795
13794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13796
13795
|
width: "12",
|
|
@@ -13803,14 +13802,12 @@ var AutopayOnIcon = function AutopayOnIcon(_ref) {
|
|
|
13803
13802
|
strokeWidth: "1"
|
|
13804
13803
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13805
13804
|
className: "autopayIcon",
|
|
13806
|
-
fill:
|
|
13805
|
+
fill: SEA_GREEN,
|
|
13807
13806
|
fillRule: "nonzero",
|
|
13808
13807
|
d: "M1.898 5.75c.079 0 .141-.02.188-.059a.281.281 0 00.094-.152 3.825 3.825 0 011.394-2.144A3.838 3.838 0 016 2.563c.5 0 .98.09 1.441.27.461.179.88.44 1.254.784l-.984.985A.542.542 0 007.547 5c0 .156.055.29.164.398.11.11.242.165.398.165h3.141c.156 0 .289-.055.398-.165A.542.542 0 0011.812 5V1.86a.542.542 0 00-.164-.399.542.542 0 00-.398-.164.542.542 0 00-.398.164l-.844.844A5.699 5.699 0 006 .688c-.938 0-1.809.207-2.613.62-.805.415-1.48.981-2.028 1.7A5.726 5.726 0 00.281 5.422a.265.265 0 00.059.223c.055.07.129.105.222.105h1.336zM6 12.312c.937 0 1.809-.207 2.613-.62a5.919 5.919 0 002.028-1.7 5.726 5.726 0 001.078-2.414.265.265 0 00-.059-.223.267.267 0 00-.223-.105h-1.335c-.079 0-.141.02-.188.059a.281.281 0 00-.094.152 3.825 3.825 0 01-1.394 2.144c-.711.555-1.52.833-2.426.833-.5 0-.98-.09-1.441-.27a3.985 3.985 0 01-1.254-.785l.984-.985A.542.542 0 004.453 8a.542.542 0 00-.164-.398.542.542 0 00-.398-.164H.75a.542.542 0 00-.398.164A.542.542 0 00.187 8v3.14c0 .157.055.29.165.4.109.108.242.163.398.163.156 0 .29-.055.398-.164l.844-.844A5.699 5.699 0 006 12.312z"
|
|
13809
13808
|
})));
|
|
13810
13809
|
};
|
|
13811
13810
|
|
|
13812
|
-
var AutopayOnIcon$1 = themeComponent(AutopayOnIcon, "Icons", fallbackValues$2, "primary");
|
|
13813
|
-
|
|
13814
13811
|
var NotFoundIcon = function NotFoundIcon() {
|
|
13815
13812
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13816
13813
|
width: "548px",
|
|
@@ -40405,7 +40402,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
40405
40402
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
40406
40403
|
justify: isMobile ? "flex-start" : "flex-end",
|
|
40407
40404
|
align: "center"
|
|
40408
|
-
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon
|
|
40405
|
+
}, /*#__PURE__*/React__default.createElement(AutopayOnIcon, null), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40409
40406
|
variant: "pS",
|
|
40410
40407
|
onClick: function onClick() {
|
|
40411
40408
|
return toggleModal(true);
|
|
@@ -40492,7 +40489,8 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40492
40489
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
40493
40490
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
40494
40491
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
40495
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
40492
|
+
nextAutopayDate = _ref.nextAutopayDate,
|
|
40493
|
+
obligationAssocID = _ref.obligationAssocID;
|
|
40496
40494
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
40497
40495
|
|
|
40498
40496
|
var _useState = React.useState(false),
|
|
@@ -40517,7 +40515,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
40517
40515
|
};
|
|
40518
40516
|
|
|
40519
40517
|
var handleDetailsClick = function handleDetailsClick() {
|
|
40520
|
-
setDetailedObligation(obligations, config);
|
|
40518
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
40521
40519
|
navigateToDetailedObligation(detailsSlug);
|
|
40522
40520
|
};
|
|
40523
40521
|
|
|
@@ -40800,7 +40798,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40800
40798
|
actions: actions,
|
|
40801
40799
|
isMobile: isMobile,
|
|
40802
40800
|
isPaymentPlan: isPaymentPlan,
|
|
40803
|
-
nextAutopayDate: nextAutopayDate
|
|
40801
|
+
nextAutopayDate: nextAutopayDate,
|
|
40802
|
+
obligationAssocID: obligationAssocID
|
|
40804
40803
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
40805
40804
|
obligations: obligations,
|
|
40806
40805
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -40814,7 +40813,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
40814
40813
|
actions: actions,
|
|
40815
40814
|
isMobile: isMobile,
|
|
40816
40815
|
isPaymentPlan: isPaymentPlan,
|
|
40817
|
-
nextAutopayDate: nextAutopayDate
|
|
40816
|
+
nextAutopayDate: nextAutopayDate,
|
|
40817
|
+
obligationAssocID: obligationAssocID
|
|
40818
40818
|
}));
|
|
40819
40819
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
40820
40820
|
padding: "0",
|
|
@@ -43174,7 +43174,7 @@ exports.AddressForm = AddressForm;
|
|
|
43174
43174
|
exports.Alert = Alert$1;
|
|
43175
43175
|
exports.AllocatedIcon = AllocatedIcon;
|
|
43176
43176
|
exports.AmountCallout = AmountCallout$1;
|
|
43177
|
-
exports.AutopayOnIcon = AutopayOnIcon
|
|
43177
|
+
exports.AutopayOnIcon = AutopayOnIcon;
|
|
43178
43178
|
exports.BankIcon = BankIcon;
|
|
43179
43179
|
exports.Box = Box;
|
|
43180
43180
|
exports.BoxWithShadow = BoxWithShadow$1;
|