@axos-web-dev/shared-components 1.0.99-honeypot.1 → 1.0.99-sectionSpacerRemoved

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.
Files changed (59) hide show
  1. package/dist/Calculators/BuyDownCalculator/index.js +1 -1
  2. package/dist/Forms/ApplicationStart.d.ts +1 -1
  3. package/dist/Forms/ApplicationStart.js +101 -89
  4. package/dist/Forms/ClearingForm.d.ts +1 -1
  5. package/dist/Forms/ClearingForm.js +174 -162
  6. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  7. package/dist/Forms/CommercialDeposits.js +191 -179
  8. package/dist/Forms/CommercialLending.d.ts +1 -1
  9. package/dist/Forms/CommercialLending.js +268 -256
  10. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  11. package/dist/Forms/CommercialPremiumFinance.js +106 -94
  12. package/dist/Forms/ContactCompany.d.ts +1 -1
  13. package/dist/Forms/ContactCompany.js +103 -91
  14. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  15. package/dist/Forms/ContactCompanyTitle.js +117 -105
  16. package/dist/Forms/ContactUs.d.ts +1 -1
  17. package/dist/Forms/ContactUs.js +90 -79
  18. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  19. package/dist/Forms/ContactUsAAS.js +170 -158
  20. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  21. package/dist/Forms/ContactUsBusiness.js +124 -112
  22. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  23. package/dist/Forms/ContactUsBusinessNameEmail.js +93 -81
  24. package/dist/Forms/ContactUsLVF.d.ts +1 -1
  25. package/dist/Forms/ContactUsLVF.js +110 -98
  26. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  27. package/dist/Forms/ContactUsNMLSId.js +107 -95
  28. package/dist/Forms/CpraRequest.d.ts +1 -1
  29. package/dist/Forms/CpraRequest.js +630 -618
  30. package/dist/Forms/CraPublicFile.d.ts +1 -1
  31. package/dist/Forms/CraPublicFile.js +99 -87
  32. package/dist/Forms/DealerServices.d.ts +1 -1
  33. package/dist/Forms/DealerServices.js +215 -203
  34. package/dist/Forms/EmailOnly.d.ts +1 -1
  35. package/dist/Forms/EmailOnly.js +46 -34
  36. package/dist/Forms/EmailUs.d.ts +1 -1
  37. package/dist/Forms/EmailUs.js +65 -53
  38. package/dist/Forms/FormProps.d.ts +3 -0
  39. package/dist/Forms/HoneyPot/index.js +2 -3
  40. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  41. package/dist/Forms/MortgageRate/MortgageRateForm.js +363 -343
  42. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  43. package/dist/Forms/QuickPricer/QuickPricerForm.js +608 -596
  44. package/dist/Forms/ScheduleCall.d.ts +1 -1
  45. package/dist/Forms/ScheduleCall.js +146 -134
  46. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  47. package/dist/Forms/ScheduleCallPremier.js +168 -156
  48. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  49. package/dist/Forms/VendorQuestionnaire.js +807 -795
  50. package/dist/Forms/WcplSurvey.d.ts +1 -1
  51. package/dist/Forms/WcplSurvey.js +102 -90
  52. package/dist/WalnutIframe/wrapper.module.js +3 -3
  53. package/dist/assets/AwardsBanner/AwardsBanner.css +0 -3
  54. package/dist/assets/IconBillboard/IconBillboard.css +3 -0
  55. package/dist/assets/TopicalNavSet/TopicalNavSet.css +3 -0
  56. package/dist/assets/WalnutIframe/wrapper.css.css +49 -49
  57. package/dist/assets/globals.css +11 -0
  58. package/dist/utils/allowedAxosDomains.js +2 -1
  59. package/package.json +1 -1
@@ -5,4 +5,4 @@ export type WCPLSruveyInputs = {
5
5
  Description_of_Deal_Details: string;
6
6
  Telephone: string;
7
7
  };
8
- export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const WCPLSurvey: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, callToAction, onValidate, id, description, }: FormProps) => import("react/jsx-runtime").JSX.Element;
@@ -43,6 +43,7 @@ const WCPLSurvey = ({
43
43
  variant: fullVariant = "primary",
44
44
  headline,
45
45
  callToAction,
46
+ onValidate,
46
47
  id,
47
48
  description
48
49
  }) => {
@@ -108,96 +109,107 @@ const WCPLSurvey = ({
108
109
  }
109
110
  )
110
111
  ] }),
111
- /* @__PURE__ */ jsxs("form", { className: form, onSubmit: handleSubmit(submitForm), children: [
112
- /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
113
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
114
- RadioButtonSet,
115
- {
116
- id: "Has_Deal",
117
- label: "Do You have a potential deal you would like to discuss with an Account Executive?",
118
- sizes: "medium",
119
- placeholder: "Details",
120
- required: true,
121
- error: !!errors.Has_Deal,
122
- helperText: errors.Has_Deal?.message,
123
- variant,
124
- children: [
125
- /* @__PURE__ */ jsx(
126
- RadioButton,
127
- {
128
- ...register("Has_Deal", {
129
- required: true
130
- }),
131
- value: "Yes",
132
- radioText: "Yes",
133
- groupName: "Has_Deal"
134
- }
135
- ),
136
- /* @__PURE__ */ jsx(
137
- RadioButton,
138
- {
139
- ...register("Has_Deal", {
140
- required: true
141
- }),
142
- value: "No",
143
- radioText: "No",
144
- groupName: "Has_Deal"
145
- }
146
- )
147
- ]
148
- }
149
- ) }),
150
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
151
- InputTextArea,
152
- {
153
- id: "Description_of_Deal_Details",
154
- ...register("Description_of_Deal_Details", {
155
- required: true
156
- }),
157
- label: "Write Your Message",
158
- sizes: "medium",
159
- placeholder: "Details",
160
- required: true,
161
- error: !!errors.Description_of_Deal_Details,
162
- helperText: errors.Description_of_Deal_Details?.message,
163
- variant
164
- }
165
- ) }),
166
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
167
- InputPhone,
168
- {
169
- id: "Telephone",
170
- ...register("Telephone", { required: true, maxLength: 12 }),
171
- label: "Telephone",
172
- sizes: "medium",
173
- placeholder: "Phone",
174
- required: true,
175
- error: !!errors.Telephone,
176
- helperText: errors.Telephone?.message,
177
- variant
178
- }
179
- ) }),
180
- /* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
181
- ] }),
182
- children,
183
- /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
184
- /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
185
- LoadingIndicator,
186
- {
187
- style: { marginInline: "auto" },
188
- variant
189
- }
190
- ) : /* @__PURE__ */ jsx(
191
- Button,
192
- {
193
- color: getVariant(callToAction?.variant),
194
- as: "button",
195
- type: "submit",
196
- disabled: !isValid || isSubmitting,
197
- children: callToAction?.displayText
198
- }
199
- ) })
200
- ] })
112
+ /* @__PURE__ */ jsxs(
113
+ "form",
114
+ {
115
+ className: form,
116
+ onSubmit: async (e) => {
117
+ onValidate && onValidate(e);
118
+ await handleSubmit(submitForm)(e);
119
+ e.preventDefault();
120
+ },
121
+ children: [
122
+ /* @__PURE__ */ jsxs("div", { className: clsx(formWrapper({ variant, formType: "email" })), children: [
123
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsxs(
124
+ RadioButtonSet,
125
+ {
126
+ id: "Has_Deal",
127
+ label: "Do You have a potential deal you would like to discuss with an Account Executive?",
128
+ sizes: "medium",
129
+ placeholder: "Details",
130
+ required: true,
131
+ error: !!errors.Has_Deal,
132
+ helperText: errors.Has_Deal?.message,
133
+ variant,
134
+ children: [
135
+ /* @__PURE__ */ jsx(
136
+ RadioButton,
137
+ {
138
+ ...register("Has_Deal", {
139
+ required: true
140
+ }),
141
+ value: "Yes",
142
+ radioText: "Yes",
143
+ groupName: "Has_Deal"
144
+ }
145
+ ),
146
+ /* @__PURE__ */ jsx(
147
+ RadioButton,
148
+ {
149
+ ...register("Has_Deal", {
150
+ required: true
151
+ }),
152
+ value: "No",
153
+ radioText: "No",
154
+ groupName: "Has_Deal"
155
+ }
156
+ )
157
+ ]
158
+ }
159
+ ) }),
160
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
161
+ InputTextArea,
162
+ {
163
+ id: "Description_of_Deal_Details",
164
+ ...register("Description_of_Deal_Details", {
165
+ required: true
166
+ }),
167
+ label: "Write Your Message",
168
+ sizes: "medium",
169
+ placeholder: "Details",
170
+ required: true,
171
+ error: !!errors.Description_of_Deal_Details,
172
+ helperText: errors.Description_of_Deal_Details?.message,
173
+ variant
174
+ }
175
+ ) }),
176
+ /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
177
+ InputPhone,
178
+ {
179
+ id: "Telephone",
180
+ ...register("Telephone", { required: true, maxLength: 12 }),
181
+ label: "Telephone",
182
+ sizes: "medium",
183
+ placeholder: "Phone",
184
+ required: true,
185
+ error: !!errors.Telephone,
186
+ helperText: errors.Telephone?.message,
187
+ variant
188
+ }
189
+ ) }),
190
+ /* @__PURE__ */ jsx(HoneyPot, { register, errors, variant })
191
+ ] }),
192
+ children,
193
+ /* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
194
+ /* @__PURE__ */ jsx("div", { className: actions, children: isSubmitting ? /* @__PURE__ */ jsx(
195
+ LoadingIndicator,
196
+ {
197
+ style: { marginInline: "auto" },
198
+ variant
199
+ }
200
+ ) : /* @__PURE__ */ jsx(
201
+ Button,
202
+ {
203
+ color: getVariant(callToAction?.variant),
204
+ as: "button",
205
+ type: "submit",
206
+ disabled: !isValid || isSubmitting,
207
+ children: callToAction?.displayText
208
+ }
209
+ ) })
210
+ ]
211
+ }
212
+ )
201
213
  ] }) }) }, id);
202
214
  };
203
215
  export {
@@ -1,6 +1,6 @@
1
- import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_13j22_10";
2
- const shimmer = "_shimmer_13j22_1";
3
- const wrapper_control = "_wrapper_control_13j22_39";
1
+ import '../assets/WalnutIframe/wrapper.css.css';const wrapper = "_wrapper_1jpv7_19";
2
+ const shimmer = "_shimmer_1jpv7_1";
3
+ const wrapper_control = "_wrapper_control_1jpv7_77";
4
4
  const css = {
5
5
  wrapper,
6
6
  shimmer,
@@ -9,9 +9,6 @@
9
9
  max-width: 1392px;
10
10
  width: calc(100% - 48px);
11
11
  }
12
- .section_spacer:has(._1amgyqo0) {
13
- margin-top: 0px;
14
- }
15
12
  ._1amgyqo1 {
16
13
  min-height: 54px;
17
14
  }
@@ -130,6 +130,9 @@
130
130
  grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );
131
131
  gap: 24px;
132
132
  }
133
+ .containment > ._1r4ovbuo:first-child {
134
+ padding-top: 2rem;
135
+ }
133
136
  ._1r4ovbup {
134
137
  color: var(--_1073cm82);
135
138
  }
@@ -5,6 +5,9 @@
5
5
  .section_spacer:has(.xbzzeo0) {
6
6
  margin-top: 0px;
7
7
  }
8
+ .page_body_contents:has(.xbzzeo0) .xbzzeo0 {
9
+ margin-top: -3.5rem;
10
+ }
8
11
  .xbzzeo1 {
9
12
  max-width: 83.9rem;
10
13
  margin-left: auto;
@@ -1,49 +1,49 @@
1
- @keyframes _shimmer_13j22_1 {
2
- from {
3
- transform: translateX(-100%);
4
- }
5
- to {
6
- transform: translateX(100%);
7
- }
8
- }
9
-
10
- ._wrapper_13j22_10 {
11
- background: #1e3860;
12
- border-radius: 8px;
13
- height: 555px;
14
- isolation: isolate;
15
- margin-block: 48px;
16
- }
17
-
18
- section > ._wrapper_13j22_10:first-child {
19
- margin-top: 0 !important;
20
- }
21
-
22
- ._wrapper_13j22_10::before {
23
- content: "";
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- width: 190%;
28
- height: 100%;
29
- background: linear-gradient(
30
- 65deg,
31
- rgba(255, 255, 255, 0) 20%,
32
- rgba(255, 255, 255, 0.5) 50%,
33
- rgba(255, 255, 255, 0) 80%
34
- );
35
- animation: _shimmer_13j22_1 1.3s infinite linear;
36
- z-index: -1;
37
- }
38
-
39
- ._wrapper_control_13j22_39 {
40
- height: 100%;
41
- width: 100%;
42
- overflow-x: scroll;
43
- }
44
-
45
- @media (max-width: 1023px) {
46
- ._wrapper_13j22_10 {
47
- display: none;
48
- }
49
- }
1
+ @keyframes _shimmer_1jpv7_1 {
2
+ from {
3
+ transform: translateX(-100%);
4
+ }
5
+ to {
6
+ transform: translateX(100%);
7
+ }
8
+ }
9
+
10
+ ._wrapper_1jpv7_19 {
11
+ background: #1e3860;
12
+ border-radius: 8px;
13
+ height: 555px;
14
+ isolation: isolate;
15
+ margin-block: 48px;
16
+ }
17
+
18
+ section > ._wrapper_1jpv7_19:first-child {
19
+ margin-top: 0 !important;
20
+ }
21
+
22
+ ._wrapper_1jpv7_19::before {
23
+ content: "";
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ width: 190%;
28
+ height: 100%;
29
+ background: linear-gradient(
30
+ 65deg,
31
+ rgba(255, 255, 255, 0) 20%,
32
+ rgba(255, 255, 255, 0.5) 50%,
33
+ rgba(255, 255, 255, 0) 80%
34
+ );
35
+ animation: _shimmer_1jpv7_1 1.3s infinite linear;
36
+ z-index: -1;
37
+ }
38
+
39
+ ._wrapper_control_1jpv7_77 {
40
+ height: 100%;
41
+ width: 100%;
42
+ overflow-x: scroll;
43
+ }
44
+
45
+ @media (max-width: 1023px) {
46
+ ._wrapper_1jpv7_19 {
47
+ display: none;
48
+ }
49
+ }
@@ -32,6 +32,17 @@ li p, p:last-child, p:only-child {
32
32
  .section_spacer {
33
33
  margin-top: 3.5rem;
34
34
  }
35
+ .page_body_contents {
36
+ display: flex;
37
+ flex-direction: column;
38
+ gap: 3.5rem;
39
+ }
40
+ span#personalized-refi-table:has(*) {
41
+ margin-bottom: 3.5rem;
42
+ }
43
+ .page_body_contents > div:first-child > .billboard {
44
+ margin-top: 3.5rem;
45
+ }
35
46
  .flex, [class*='flex_'] {
36
47
  display: flex;
37
48
  }
@@ -6,7 +6,8 @@ const moreDomains = {
6
6
  "{AXA}": process.env.AXA_URL || "https://www.axosadvisor.com",
7
7
  "{AFS}": process.env.AFS_URL || "https://www.axosfiduciaryservices.com",
8
8
  "{NATIONWIDE}": process.env.NATIOWIDE_URL || "https://www.nationwide.axosbank.com",
9
- "{ENROLLMENT}": process.env.ENROLLMENT_URL || "https://enrollment.axosbank.com",
9
+ "{ENROLLMENT}": process.env.ENROLLMENT_URL || "https://onboard.axos.com/ConsumerDeposits/SignIn",
10
+ "{LEGACYENROLLMENT}": process.env.LEGACY_ENROLLMENT_URL || "https://enrollment.axosbank.com",
10
11
  "{ASSETSURL}": "https://assets.axos.com",
11
12
  "{IMAGEASSETSURL}": "https://images.axos.com",
12
13
  "{ONLINEBANKING}": process.env.ONLINEBANKING_URL || "https://onlinebanking.uat.axosbank.com",
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.99-honeypot.1",
4
+ "version": "1.0.99-sectionSpacerRemoved",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",