@axos-web-dev/shared-components 1.0.65 → 1.0.67

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.
@@ -154,9 +154,9 @@ const ErrorAlert = ({
154
154
  /* @__PURE__ */ jsx("h2", { className: clsx("header_3", headerForm({ variant })), children: "Let's try that again" }),
155
155
  /* @__PURE__ */ jsx("hr", { className: clsx(separator) }),
156
156
  /* @__PURE__ */ jsxs("div", { children: [
157
- /* @__PURE__ */ jsx("p", { children: "The username or password you provided isn't recognized." }),
157
+ /* @__PURE__ */ jsx("p", { children: "The ACE User ID or ACE Company ID you provided isn't recognized." }),
158
158
  /* @__PURE__ */ jsxs("p", { children: [
159
- "Please try entering your username and password again or call customer support at",
159
+ "Please try entering your ACE User ID and ACE Company ID again or call customer support at",
160
160
  " ",
161
161
  /* @__PURE__ */ jsx(Hyperlink, { targetUrl: "tel:+8446782722", children: "(844) 678 - 2722" }),
162
162
  " ",
@@ -63,16 +63,16 @@ const SignIn = (props) => {
63
63
  /* @__PURE__ */ jsx("h2", { className: "header_1", children: headline ?? "Log in" }),
64
64
  bodyCopy ?? /* @__PURE__ */ jsxs("div", { className: clsx(body_sign_in), children: [
65
65
  /* @__PURE__ */ jsx("p", { children: "Please login to access this resource." }),
66
- /* @__PURE__ */ jsx("p", { children: "Your password was sent via email during the onboarding process." })
66
+ /* @__PURE__ */ jsx("p", { children: "Your ACE Company ID was sent via email during the onboarding process." })
67
67
  ] }),
68
68
  /* @__PURE__ */ jsx("div", { className: `${form_input_wrapper} push_up`, children: /* @__PURE__ */ jsx(
69
69
  Input,
70
70
  {
71
71
  id: "username",
72
72
  ...register("username", { required: true }),
73
- label: "Username",
73
+ label: "ACE User ID",
74
74
  sizes: "medium",
75
- placeholder: "Username",
75
+ placeholder: "ACE User ID",
76
76
  required: true,
77
77
  error: !!errors.username,
78
78
  helperText: errors?.username?.message,
@@ -84,9 +84,9 @@ const SignIn = (props) => {
84
84
  {
85
85
  id: "password",
86
86
  ...register("password", { required: true }),
87
- label: "Password",
87
+ label: "ACE Company ID",
88
88
  sizes: "medium",
89
- placeholder: "Password",
89
+ placeholder: "ACE Company ID",
90
90
  required: true,
91
91
  error: !!errors.password,
92
92
  helperText: errors?.password?.message,
@@ -3,13 +3,13 @@ import { PropsWithChildren } from 'react';
3
3
  export interface ImageLinkProps extends PropsWithChildren {
4
4
  id: string;
5
5
  internalName: string;
6
- title?: string;
7
6
  targetUrl?: string;
8
7
  image: {
9
8
  url: string;
10
9
  width?: string | number;
11
10
  heigth?: string | number;
11
+ altText?: string;
12
12
  };
13
13
  }
14
- declare const ImageLink: ({ id, image, title, targetUrl, children, }: ImageLinkProps) => import("react/jsx-runtime").JSX.Element;
14
+ declare const ImageLink: ({ id, image, targetUrl, children }: ImageLinkProps) => import("react/jsx-runtime").JSX.Element;
15
15
  export default ImageLink;
@@ -120,18 +120,12 @@ import "next/script.js";
120
120
  /* empty css */
121
121
  import "../HeroBanner/LargeBanner.css.js";
122
122
  import "../HeroBanner/SelectionBanner.css.js";
123
- const ImageLink = ({
124
- id,
125
- image,
126
- title,
127
- targetUrl,
128
- children
129
- }) => {
123
+ const ImageLink = ({ id, image, targetUrl, children }) => {
130
124
  const withTargeturl = targetUrl !== void 0 ? /* @__PURE__ */ jsx(Hyperlink, { targetUrl, children: /* @__PURE__ */ jsx(
131
125
  "img",
132
126
  {
133
127
  src: image.url,
134
- alt: title,
128
+ alt: image.altText,
135
129
  height: image.heigth,
136
130
  width: image.width
137
131
  }
@@ -139,7 +133,7 @@ const ImageLink = ({
139
133
  "img",
140
134
  {
141
135
  src: image.url,
142
- alt: title,
136
+ alt: image.altText,
143
137
  height: image.heigth,
144
138
  width: image.width
145
139
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@axos-web-dev/shared-components",
3
3
  "description": "Axos shared components library for web.",
4
- "version": "1.0.65",
4
+ "version": "1.0.67",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",