@thecb/components 9.2.8-beta.0 → 9.2.9-beta.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "9.2.8-beta.0",
3
+ "version": "9.2.9-beta.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -7,6 +7,8 @@ const AccountNumberImage = () => {
7
7
  width="371"
8
8
  height="164"
9
9
  viewBox="0 0 371 164"
10
+ role="img"
11
+ aria-label="A check with the account number highlighted in the bottom center"
10
12
  >
11
13
  <g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
12
14
  <g transform="translate(-364 -546)">
@@ -8,6 +8,8 @@ export const BankIcon = () => {
8
8
  viewBox="0 0 28 18"
9
9
  fill="none"
10
10
  xmlns="http://www.w3.org/2000/svg"
11
+ role="img"
12
+ aria-label="Check Payment"
11
13
  >
12
14
  <path
13
15
  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"
@@ -9,6 +9,8 @@ const CheckmarkIcon = () => (
9
9
  version="1.1"
10
10
  xmlns="http://www.w3.org/2000/svg"
11
11
  xmlnsXlink="http://www.w3.org/1999/xlink"
12
+ role="img"
13
+ aria-label="Successful payment, green checkmark"
12
14
  >
13
15
  <g
14
16
  id="Cityville-Checkout---Desktop---Logged-In"
@@ -7,6 +7,8 @@ const GenericCard = () => (
7
7
  viewBox="0 0 28 18"
8
8
  fill="none"
9
9
  xmlns="http://www.w3.org/2000/svg"
10
+ role="img"
11
+ aria-label="Card Payment"
10
12
  >
11
13
  <rect width="28" height="18" rx="2" fill="#15749D" />
12
14
  <path
@@ -7,6 +7,8 @@ const RoutingNumberImage = () => {
7
7
  width="371"
8
8
  height="164"
9
9
  viewBox="0 0 371 164"
10
+ role="img"
11
+ aria-label="A check with the routing number highlighted in the lower left hand corner"
10
12
  >
11
13
  <g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
12
14
  <g transform="translate(-365 -522)">
@@ -38,8 +38,7 @@ import {
38
38
  SuccessfulIcon,
39
39
  VoidedIcon,
40
40
  StatusUnknownIcon,
41
- AutopayIcon,
42
- KebabMenuIcon
41
+ AutopayIcon
43
42
  } from "./index";
44
43
 
45
44
  const story = page({
@@ -85,4 +84,3 @@ export const successfulIcon = () => <SuccessfulIcon />;
85
84
  export const voidedIcon = () => <VoidedIcon />;
86
85
  export const statusUnknownIcon = () => <StatusUnknownIcon />;
87
86
  export const autopayIcon = () => <AutopayIcon />;
88
- export const kebabMenuIcon = () => <KebabMenuIcon />;
@@ -21,4 +21,3 @@ export * from "./SuccessfulIconMedium";
21
21
  export * from "./SuccessfulIconSmall";
22
22
  export * from "./XCircleIconMedium";
23
23
  export * from "./XCircleIconSmall";
24
- export * from "./KebabMenuIcon";
@@ -86,7 +86,6 @@ import ArrowLeftCircleIconMedium from "./ArrowLeftCircleIconMedium";
86
86
  import ChargebackIconMedium from "./ChargebackIconMedium";
87
87
  import ChargebackReversalIconMedium from "./ChargebackReversalIconMedium";
88
88
  import PlusCircleIcon from "./PlusCircleIcon";
89
- import KebabMenuIcon from "./KebabMenuIcon";
90
89
 
91
90
  export {
92
91
  AccountsIcon,
@@ -176,6 +175,5 @@ export {
176
175
  ArrowLeftCircleIconMedium,
177
176
  ChargebackIconMedium,
178
177
  ChargebackReversalIconMedium,
179
- PlusCircleIcon,
180
- KebabMenuIcon
178
+ PlusCircleIcon
181
179
  };
@@ -67,7 +67,8 @@ const Modal = ({
67
67
  alignItems: "center"
68
68
  }}
69
69
  dialogStyle={{
70
- width: customWidth || "615px"
70
+ width: customWidth || "615px",
71
+ overflow: "auto"
71
72
  }}
72
73
  underlayClickExits={underlayClickExits}
73
74
  >
@@ -1 +0,0 @@
1
- export const KebabMenuIcon: JSX.Element;
@@ -1,38 +0,0 @@
1
- import React from "react";
2
-
3
- const KebabMenuIcon = () => {
4
- return (
5
- <svg
6
- xmlns="http://www.w3.org/2000/svg"
7
- width="21"
8
- height="32"
9
- viewBox="0 0 21 32"
10
- fill="none"
11
- >
12
- <path
13
- d="M0 4C0 1.79086 1.79086 0 4 0L17 0C19.2091 0 21 1.79086 21 4V28C21 30.2091 19.2091 32 17 32H4C1.79086 32 0 30.2091 0 28L0 4Z"
14
- fill="#FEFEFE"
15
- />
16
- <path
17
- fillRule="evenodd"
18
- clipRule="evenodd"
19
- d="M10.5 6C9.39333 6 8.5 6.89333 8.5 8C8.5 9.10667 9.39333 10 10.5 10C11.6067 10 12.5 9.10667 12.5 8C12.5 6.89333 11.6067 6 10.5 6Z"
20
- fill="#3B5BDB"
21
- />
22
- <path
23
- fillRule="evenodd"
24
- clipRule="evenodd"
25
- d="M10.5 14C9.39333 14 8.5 14.8933 8.5 16C8.5 17.1067 9.39333 18 10.5 18C11.6067 18 12.5 17.1067 12.5 16C12.5 14.8933 11.6067 14 10.5 14Z"
26
- fill="#3B5BDB"
27
- />
28
- <path
29
- fillRule="evenodd"
30
- clipRule="evenodd"
31
- d="M10.5 22C9.39333 22 8.5 22.9067 8.5 24C8.5 25.0933 9.40667 26 10.5 26C11.5933 26 12.5 25.0933 12.5 24C12.5 22.9067 11.6067 22 10.5 22Z"
32
- fill="#3B5BDB"
33
- />
34
- </svg>
35
- );
36
- };
37
-
38
- export default KebabMenuIcon;