@thecb/components 9.2.10-beta.0 → 9.2.10-beta.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.
- package/dist/index.cjs.js +25 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +25 -15
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/AccountNumberImage.js +2 -0
- package/src/components/atoms/icons/BankIcon.js +2 -0
- package/src/components/atoms/icons/CheckmarkIcon.js +2 -0
- package/src/components/atoms/icons/GenericCard.js +2 -0
- package/src/components/atoms/icons/GenericCardLarge.js +2 -0
- package/src/components/atoms/icons/RoutingNumberImage.js +2 -0
- package/src/components/molecules/account-and-routing-modal/AccountAndRoutingModal.js +1 -0
- package/src/components/molecules/modal/Modal.js +2 -3
- package/src/components/molecules/terms-and-conditions/TermsAndConditions.js +1 -6
- package/src/components/molecules/terms-and-conditions/TermsAndConditions.stories.js +13 -3
package/dist/index.cjs.js
CHANGED
|
@@ -13683,7 +13683,9 @@ var AccountNumberImage = function AccountNumberImage() {
|
|
|
13683
13683
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13684
13684
|
width: "371",
|
|
13685
13685
|
height: "164",
|
|
13686
|
-
viewBox: "0 0 371 164"
|
|
13686
|
+
viewBox: "0 0 371 164",
|
|
13687
|
+
role: "img",
|
|
13688
|
+
"aria-label": "A check with the account number highlighted in the bottom center"
|
|
13687
13689
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13688
13690
|
fill: "none",
|
|
13689
13691
|
fillRule: "evenodd",
|
|
@@ -13764,7 +13766,9 @@ var RoutingNumberImage = function RoutingNumberImage() {
|
|
|
13764
13766
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13765
13767
|
width: "371",
|
|
13766
13768
|
height: "164",
|
|
13767
|
-
viewBox: "0 0 371 164"
|
|
13769
|
+
viewBox: "0 0 371 164",
|
|
13770
|
+
role: "img",
|
|
13771
|
+
"aria-label": "A check with the routing number highlighted in the lower left hand corner"
|
|
13768
13772
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13769
13773
|
fill: "none",
|
|
13770
13774
|
fillRule: "evenodd",
|
|
@@ -13847,7 +13851,9 @@ var CheckmarkIcon = function CheckmarkIcon() {
|
|
|
13847
13851
|
viewBox: "0 0 98 98",
|
|
13848
13852
|
version: "1.1",
|
|
13849
13853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
13850
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
13854
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
13855
|
+
role: "img",
|
|
13856
|
+
"aria-label": "Successful payment, green checkmark"
|
|
13851
13857
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13852
13858
|
id: "Cityville-Checkout---Desktop---Logged-In",
|
|
13853
13859
|
stroke: "none",
|
|
@@ -13892,7 +13898,9 @@ var BankIcon = function BankIcon() {
|
|
|
13892
13898
|
height: "18",
|
|
13893
13899
|
viewBox: "0 0 28 18",
|
|
13894
13900
|
fill: "none",
|
|
13895
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13901
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13902
|
+
role: "img",
|
|
13903
|
+
"aria-label": "Check Payment"
|
|
13896
13904
|
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13897
13905
|
d: "M0 2.25C0 1.00736 1.04467 0 2.33333 0H25.6667C26.9553 0 28 1.00736 28 2.25V15.75C28 16.9926 26.9553 18 25.6667 18H2.33333C1.04467 18 0 16.9926 0 15.75V2.25Z",
|
|
13898
13906
|
fill: "#E4F4FD"
|
|
@@ -13939,7 +13947,9 @@ var GenericCard = function GenericCard() {
|
|
|
13939
13947
|
height: "18",
|
|
13940
13948
|
viewBox: "0 0 28 18",
|
|
13941
13949
|
fill: "none",
|
|
13942
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13950
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13951
|
+
role: "img",
|
|
13952
|
+
"aria-label": "Card Payment"
|
|
13943
13953
|
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
13944
13954
|
width: "28",
|
|
13945
13955
|
height: "18",
|
|
@@ -15198,7 +15208,9 @@ var GenericCardLarge = function GenericCardLarge() {
|
|
|
15198
15208
|
height: "24",
|
|
15199
15209
|
viewBox: "0 0 36 24",
|
|
15200
15210
|
fill: "none",
|
|
15201
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
15211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15212
|
+
role: "img",
|
|
15213
|
+
"aria-label": "Card Payment"
|
|
15202
15214
|
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
15203
15215
|
width: "36",
|
|
15204
15216
|
height: "24",
|
|
@@ -45755,9 +45767,7 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45755
45767
|
_ref$dataQa = _ref.dataQa,
|
|
45756
45768
|
dataQa = _ref$dataQa === void 0 ? null : _ref$dataQa,
|
|
45757
45769
|
_ref$initialFocusSele = _ref.initialFocusSelector,
|
|
45758
|
-
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele
|
|
45759
|
-
_ref$modalName = _ref.modalName,
|
|
45760
|
-
modalName = _ref$modalName === void 0 ? "" : _ref$modalName;
|
|
45770
|
+
initialFocusSelector = _ref$initialFocusSele === void 0 ? "" : _ref$initialFocusSele;
|
|
45761
45771
|
|
|
45762
45772
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
45763
45773
|
isMobile = _useContext.isMobile;
|
|
@@ -45786,8 +45796,9 @@ var Modal$1 = function Modal(_ref) {
|
|
|
45786
45796
|
},
|
|
45787
45797
|
underlayClickExits: underlayClickExits,
|
|
45788
45798
|
"aria-modal": true,
|
|
45789
|
-
|
|
45790
|
-
|
|
45799
|
+
initialFocus: initialFocusSelector,
|
|
45800
|
+
focusDialog: !initialFocusSelector // Focus the dialogue box itself if no selector for initial focus was provided
|
|
45801
|
+
|
|
45791
45802
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
45792
45803
|
padding: "0",
|
|
45793
45804
|
borderRadius: "2px",
|
|
@@ -47717,7 +47728,8 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47717
47728
|
continueAction: function continueAction() {
|
|
47718
47729
|
toggleAccepted(true);
|
|
47719
47730
|
toggleOpen(false);
|
|
47720
|
-
}
|
|
47731
|
+
},
|
|
47732
|
+
initialFocusSelector: "[name='Close']"
|
|
47721
47733
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47722
47734
|
variant: "pS",
|
|
47723
47735
|
onClick: function onClick() {
|
|
@@ -47977,9 +47989,7 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
|
47977
47989
|
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
47978
47990
|
|
|
47979
47991
|
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47980
|
-
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl,
|
|
47981
|
-
initialFocusSelector: "[role='button']:not(.modal-trigger)"
|
|
47982
|
-
}, rest));
|
|
47992
|
+
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
47983
47993
|
};
|
|
47984
47994
|
|
|
47985
47995
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|