@axos-web-dev/shared-components 0.0.148 → 0.0.150
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/Button/Button.js +0 -1
- package/dist/Forms/CommercialDeposits.js +5 -9
- package/dist/Forms/SalesforceFieldsForm.d.ts +34 -2
- package/dist/Forms/SalesforceFieldsForm.js +86 -3
- package/dist/Forms/ScheduleCall.js +7 -1
- package/dist/Insight/Featured/CategorySelector.css.d.ts +1 -0
- package/dist/Insight/Featured/CategorySelector.css.js +7 -5
- package/dist/Insight/Featured/CategorySelector.js +2 -1
- package/dist/Interstitial/Interstitial.js +0 -1
- package/dist/Interstitial/Interstitial.module.js +10 -10
- package/dist/assets/Insight/Featured/CategorySelector.css +9 -6
- package/dist/assets/Insight/Featured/Featured.css +1 -0
- package/dist/assets/Interstitial/Interstitial.css.css +141 -141
- package/package.json +124 -124
package/dist/Button/Button.js
CHANGED
|
@@ -67,7 +67,9 @@ const CommercialDeposits = ({
|
|
|
67
67
|
company: z.string({ message: "Business Name is required." }).regex(/^[A-Za-z][^0-9_!¡?÷?¿/\\+=@#$%ˆ&*,.^(){}|~<>;:[\]]{1,}$/g, {
|
|
68
68
|
message: "Business Name is required"
|
|
69
69
|
}).trim().min(1, { message: "Business Name is required." }),
|
|
70
|
-
Estimated_Gross_Annual_Revenue__c: z.string(
|
|
70
|
+
Estimated_Gross_Annual_Revenue__c: z.string({
|
|
71
|
+
message: "Estimated gross annual revenue is required"
|
|
72
|
+
}).min(1, { message: "Estimated gross annual revenue is required" }),
|
|
71
73
|
Banking__c: z.boolean(),
|
|
72
74
|
Treasury_Management__c: z.boolean(),
|
|
73
75
|
Commercial_Credit_Card__c: z.boolean(),
|
|
@@ -85,7 +87,6 @@ const CommercialDeposits = ({
|
|
|
85
87
|
const {
|
|
86
88
|
handleSubmit,
|
|
87
89
|
register,
|
|
88
|
-
setValue,
|
|
89
90
|
watch,
|
|
90
91
|
formState: { errors, isValid, isSubmitting }
|
|
91
92
|
} = methods;
|
|
@@ -97,10 +98,6 @@ const CommercialDeposits = ({
|
|
|
97
98
|
};
|
|
98
99
|
await onSubmit(processData);
|
|
99
100
|
};
|
|
100
|
-
const handleDropdownChange = (event) => {
|
|
101
|
-
const value = event.target.value;
|
|
102
|
-
setValue("Estimated_Gross_Annual_Revenue__c", value);
|
|
103
|
-
};
|
|
104
101
|
const variant = getVariant(fullVariant);
|
|
105
102
|
return /* @__PURE__ */ jsx(
|
|
106
103
|
"section",
|
|
@@ -210,10 +207,9 @@ const CommercialDeposits = ({
|
|
|
210
207
|
error: !!errors.Estimated_Gross_Annual_Revenue__c,
|
|
211
208
|
helperText: errors.Estimated_Gross_Annual_Revenue__c?.message,
|
|
212
209
|
variant,
|
|
213
|
-
defaultValue: "
|
|
214
|
-
onChange: handleDropdownChange,
|
|
210
|
+
defaultValue: "",
|
|
215
211
|
children: [
|
|
216
|
-
/* @__PURE__ */ jsx("option", { disabled: true, value: "
|
|
212
|
+
/* @__PURE__ */ jsx("option", { disabled: true, value: "", children: "Select Option" }),
|
|
217
213
|
/* @__PURE__ */ jsx("option", { value: "Under $3MM", children: "Under $3MM" }),
|
|
218
214
|
/* @__PURE__ */ jsx("option", { value: "$3MM - $10MM", children: "$3MM - $10MM" }),
|
|
219
215
|
/* @__PURE__ */ jsx("option", { value: "$10MM - $100MM", children: "$10MM - $100MM" }),
|
|
@@ -20,8 +20,16 @@ export interface SalesforceInputs {
|
|
|
20
20
|
First_UTMMedium__c: string;
|
|
21
21
|
First_UTMSource__c: string;
|
|
22
22
|
First_UTMTerm__c: string;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Full_Web_Source__c: string;
|
|
24
|
+
First_MicrosoftClickId__c: string;
|
|
25
|
+
First_GoogleClickId__c: string;
|
|
26
|
+
First_FacebookClickId__c: string;
|
|
27
|
+
First_UTMPromo_Code__c: string;
|
|
28
|
+
First_UTMIdentity__c: string;
|
|
29
|
+
First_UTMHem__c: string;
|
|
30
|
+
First_UTMExperience_Id__c: string;
|
|
31
|
+
Primary_Cjdata__c: string;
|
|
32
|
+
Primary_Cjevent__c: string;
|
|
25
33
|
}
|
|
26
34
|
export declare const SalesforceSchema: z.ZodObject<{
|
|
27
35
|
Brand_SFDC2__c: z.ZodOptional<z.ZodString>;
|
|
@@ -39,6 +47,14 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
39
47
|
First_UTMTerm__c: z.ZodOptional<z.ZodString>;
|
|
40
48
|
utm_cjdata: z.ZodOptional<z.ZodString>;
|
|
41
49
|
utm_cjevent: z.ZodOptional<z.ZodString>;
|
|
50
|
+
Fuutm_cjevennfatll_Web_Source__c: z.ZodOptional<z.ZodString>;
|
|
51
|
+
First_MicrosoftClickId__c: z.ZodOptional<z.ZodString>;
|
|
52
|
+
First_GoogleClickId__c: z.ZodOptional<z.ZodString>;
|
|
53
|
+
First_FacebookClickId__c: z.ZodOptional<z.ZodString>;
|
|
54
|
+
First_UTMPromo_Code__c: z.ZodOptional<z.ZodString>;
|
|
55
|
+
First_UTMHem__c: z.ZodOptional<z.ZodString>;
|
|
56
|
+
First_UTMIdentity__c: z.ZodOptional<z.ZodString>;
|
|
57
|
+
First_UTMExperience_Id__c: z.ZodOptional<z.ZodString>;
|
|
42
58
|
}, "strip", z.ZodTypeAny, {
|
|
43
59
|
Brand_SFDC2__c?: string | undefined;
|
|
44
60
|
Branch_SFDC2__c?: string | undefined;
|
|
@@ -55,6 +71,14 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
55
71
|
First_UTMTerm__c?: string | undefined;
|
|
56
72
|
utm_cjdata?: string | undefined;
|
|
57
73
|
utm_cjevent?: string | undefined;
|
|
74
|
+
Fuutm_cjevennfatll_Web_Source__c?: string | undefined;
|
|
75
|
+
First_MicrosoftClickId__c?: string | undefined;
|
|
76
|
+
First_GoogleClickId__c?: string | undefined;
|
|
77
|
+
First_FacebookClickId__c?: string | undefined;
|
|
78
|
+
First_UTMPromo_Code__c?: string | undefined;
|
|
79
|
+
First_UTMHem__c?: string | undefined;
|
|
80
|
+
First_UTMIdentity__c?: string | undefined;
|
|
81
|
+
First_UTMExperience_Id__c?: string | undefined;
|
|
58
82
|
}, {
|
|
59
83
|
Brand_SFDC2__c?: string | undefined;
|
|
60
84
|
Branch_SFDC2__c?: string | undefined;
|
|
@@ -71,6 +95,14 @@ export declare const SalesforceSchema: z.ZodObject<{
|
|
|
71
95
|
First_UTMTerm__c?: string | undefined;
|
|
72
96
|
utm_cjdata?: string | undefined;
|
|
73
97
|
utm_cjevent?: string | undefined;
|
|
98
|
+
Fuutm_cjevennfatll_Web_Source__c?: string | undefined;
|
|
99
|
+
First_MicrosoftClickId__c?: string | undefined;
|
|
100
|
+
First_GoogleClickId__c?: string | undefined;
|
|
101
|
+
First_FacebookClickId__c?: string | undefined;
|
|
102
|
+
First_UTMPromo_Code__c?: string | undefined;
|
|
103
|
+
First_UTMHem__c?: string | undefined;
|
|
104
|
+
First_UTMIdentity__c?: string | undefined;
|
|
105
|
+
First_UTMExperience_Id__c?: string | undefined;
|
|
74
106
|
}>;
|
|
75
107
|
export interface QueryParams {
|
|
76
108
|
[str: string]: string;
|
|
@@ -25,7 +25,15 @@ const SalesforceSchema = z.object({
|
|
|
25
25
|
First_UTMSource__c: z.string().optional(),
|
|
26
26
|
First_UTMTerm__c: z.string().optional(),
|
|
27
27
|
utm_cjdata: z.string().optional(),
|
|
28
|
-
utm_cjevent: z.string().optional()
|
|
28
|
+
utm_cjevent: z.string().optional(),
|
|
29
|
+
Fuutm_cjevennfatll_Web_Source__c: z.string().optional(),
|
|
30
|
+
First_MicrosoftClickId__c: z.string().optional(),
|
|
31
|
+
First_GoogleClickId__c: z.string().optional(),
|
|
32
|
+
First_FacebookClickId__c: z.string().optional(),
|
|
33
|
+
First_UTMPromo_Code__c: z.string().optional(),
|
|
34
|
+
First_UTMHem__c: z.string().optional(),
|
|
35
|
+
First_UTMIdentity__c: z.string().optional(),
|
|
36
|
+
First_UTMExperience_Id__c: z.string().optional()
|
|
29
37
|
});
|
|
30
38
|
const SalesforceFieldsForm = memo(function SaleforceFieldForm({
|
|
31
39
|
salesforceFields,
|
|
@@ -146,7 +154,7 @@ const SalesforceFieldsForm = memo(function SaleforceFieldForm({
|
|
|
146
154
|
{
|
|
147
155
|
type: "hidden",
|
|
148
156
|
...register("Primary_Cjdata__c", {
|
|
149
|
-
value:
|
|
157
|
+
value: queryParams?.cjdata
|
|
150
158
|
})
|
|
151
159
|
}
|
|
152
160
|
),
|
|
@@ -155,7 +163,82 @@ const SalesforceFieldsForm = memo(function SaleforceFieldForm({
|
|
|
155
163
|
{
|
|
156
164
|
type: "hidden",
|
|
157
165
|
...register("Primary_Cjevent__c", {
|
|
158
|
-
value:
|
|
166
|
+
value: queryParams?.cjevent
|
|
167
|
+
})
|
|
168
|
+
}
|
|
169
|
+
),
|
|
170
|
+
/* @__PURE__ */ jsx(
|
|
171
|
+
"input",
|
|
172
|
+
{
|
|
173
|
+
type: "hidden",
|
|
174
|
+
...register("Full_Web_Source__c", {
|
|
175
|
+
value: location?.pathname
|
|
176
|
+
})
|
|
177
|
+
}
|
|
178
|
+
),
|
|
179
|
+
/* @__PURE__ */ jsx(
|
|
180
|
+
"input",
|
|
181
|
+
{
|
|
182
|
+
type: "hidden",
|
|
183
|
+
...register("First_UTMPromo_Code__c", {
|
|
184
|
+
value: queryParams?.utm_promocode
|
|
185
|
+
})
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
" ",
|
|
189
|
+
/* @__PURE__ */ jsx(
|
|
190
|
+
"input",
|
|
191
|
+
{
|
|
192
|
+
type: "hidden",
|
|
193
|
+
...register("First_UTMExperience_Id__c", {
|
|
194
|
+
value: queryParams?.experience_id
|
|
195
|
+
})
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
/* @__PURE__ */ jsx(
|
|
199
|
+
"input",
|
|
200
|
+
{
|
|
201
|
+
type: "hidden",
|
|
202
|
+
...register("First_UTMHem__c", {
|
|
203
|
+
value: queryParams?.hem
|
|
204
|
+
})
|
|
205
|
+
}
|
|
206
|
+
),
|
|
207
|
+
" ",
|
|
208
|
+
/* @__PURE__ */ jsx(
|
|
209
|
+
"input",
|
|
210
|
+
{
|
|
211
|
+
type: "hidden",
|
|
212
|
+
...register("First_UTMIdentity__c", {
|
|
213
|
+
value: queryParams?.identity
|
|
214
|
+
})
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ jsx(
|
|
218
|
+
"input",
|
|
219
|
+
{
|
|
220
|
+
type: "hidden",
|
|
221
|
+
...register("First_MicrosoftClickId__c", {
|
|
222
|
+
value: queryParams?.msclkid
|
|
223
|
+
})
|
|
224
|
+
}
|
|
225
|
+
),
|
|
226
|
+
" ",
|
|
227
|
+
/* @__PURE__ */ jsx(
|
|
228
|
+
"input",
|
|
229
|
+
{
|
|
230
|
+
type: "hidden",
|
|
231
|
+
...register("First_FacebookClickId__c", {
|
|
232
|
+
value: queryParams?.fbclid
|
|
233
|
+
})
|
|
234
|
+
}
|
|
235
|
+
),
|
|
236
|
+
/* @__PURE__ */ jsx(
|
|
237
|
+
"input",
|
|
238
|
+
{
|
|
239
|
+
type: "hidden",
|
|
240
|
+
...register("First_GoogleClickId__c", {
|
|
241
|
+
value: queryParams?.gclid
|
|
159
242
|
})
|
|
160
243
|
}
|
|
161
244
|
)
|
|
@@ -78,7 +78,13 @@ const ScheduleCall = ({
|
|
|
78
78
|
formState: { errors, isValid }
|
|
79
79
|
} = methods;
|
|
80
80
|
const submitForm = async (data) => {
|
|
81
|
-
|
|
81
|
+
const date = new Date(data.Best_Contact_Date__c);
|
|
82
|
+
const withFormat = new Intl.DateTimeFormat("en-US").format(date);
|
|
83
|
+
await onSubmit({
|
|
84
|
+
...data,
|
|
85
|
+
Best_Best_Contact_Date__c: withFormat,
|
|
86
|
+
Date_Business_Established__c: withFormat
|
|
87
|
+
});
|
|
82
88
|
};
|
|
83
89
|
const variant = getVariant(fullVariant);
|
|
84
90
|
return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(FormProvider, { ...methods, children: [
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const selector_section: string;
|
|
2
2
|
export declare const selector_link: string;
|
|
3
3
|
export declare const selector_title_link: string;
|
|
4
|
+
export declare const selector_more: string;
|
|
4
5
|
export declare const selector_grid_items: string;
|
|
5
6
|
export declare const selector_small_item: string;
|
|
6
7
|
export declare const selector_title: string;
|
|
@@ -6,16 +6,18 @@
|
|
|
6
6
|
var selector_section = "_13y9ptj0";
|
|
7
7
|
var selector_link = "_13y9ptj1";
|
|
8
8
|
var selector_title_link = "_13y9ptj2";
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var
|
|
9
|
+
var selector_more = "_13y9ptj3";
|
|
10
|
+
var selector_grid_items = "_13y9ptj4";
|
|
11
|
+
var selector_small_item = "_13y9ptj5 _1sr2o6v9";
|
|
12
|
+
var selector_title = "_13y9ptj6";
|
|
13
|
+
var selector_grid_content = "_13y9ptj7";
|
|
14
|
+
var selector_img = "_13y9ptj8";
|
|
14
15
|
export {
|
|
15
16
|
selector_grid_content,
|
|
16
17
|
selector_grid_items,
|
|
17
18
|
selector_img,
|
|
18
19
|
selector_link,
|
|
20
|
+
selector_more,
|
|
19
21
|
selector_section,
|
|
20
22
|
selector_small_item,
|
|
21
23
|
selector_title,
|
|
@@ -101,7 +101,7 @@ import "next/script.js";
|
|
|
101
101
|
/* empty css */
|
|
102
102
|
/* empty css */
|
|
103
103
|
import "../../Modal/contextApi/store.js";
|
|
104
|
-
import { selector_section, selector_link, selector_title_link, selector_grid_items, selector_small_item, selector_img, selector_grid_content, selector_title } from "./CategorySelector.css.js";
|
|
104
|
+
import { selector_section, selector_link, selector_title_link, selector_more, selector_grid_items, selector_small_item, selector_img, selector_grid_content, selector_title } from "./CategorySelector.css.js";
|
|
105
105
|
const CategorySelector = (props) => {
|
|
106
106
|
const {
|
|
107
107
|
id,
|
|
@@ -121,6 +121,7 @@ const CategorySelector = (props) => {
|
|
|
121
121
|
{
|
|
122
122
|
targetUrl: url,
|
|
123
123
|
variant: "primary",
|
|
124
|
+
className: selector_more,
|
|
124
125
|
children: `See More ${category} Articles`
|
|
125
126
|
}
|
|
126
127
|
)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const overlay = "
|
|
2
|
-
const modal = "
|
|
3
|
-
const vanish = "
|
|
4
|
-
const appear = "
|
|
5
|
-
const close_button = "
|
|
6
|
-
const modal_content = "
|
|
7
|
-
const img_area = "
|
|
8
|
-
const body_copy = "
|
|
9
|
-
const btns = "
|
|
10
|
-
const white_modal = "
|
|
1
|
+
const overlay = "_overlay_1u8jc_24";
|
|
2
|
+
const modal = "_modal_1u8jc_40";
|
|
3
|
+
const vanish = "_vanish_1u8jc_1";
|
|
4
|
+
const appear = "_appear_1u8jc_1";
|
|
5
|
+
const close_button = "_close_button_1u8jc_55";
|
|
6
|
+
const modal_content = "_modal_content_1u8jc_70";
|
|
7
|
+
const img_area = "_img_area_1u8jc_74";
|
|
8
|
+
const body_copy = "_body_copy_1u8jc_84";
|
|
9
|
+
const btns = "_btns_1u8jc_98";
|
|
10
|
+
const white_modal = "_white_modal_1u8jc_139";
|
|
11
11
|
const css = {
|
|
12
12
|
overlay,
|
|
13
13
|
modal,
|
|
@@ -16,16 +16,19 @@
|
|
|
16
16
|
font-weight: 600;
|
|
17
17
|
}
|
|
18
18
|
._13y9ptj3 {
|
|
19
|
+
text-transform: capitalize;
|
|
20
|
+
}
|
|
21
|
+
._13y9ptj4 {
|
|
19
22
|
display: grid;
|
|
20
23
|
grid-template-columns: 1fr 1fr 1fr;
|
|
21
24
|
gap: 24px;
|
|
22
25
|
overflow: hidden;
|
|
23
26
|
}
|
|
24
|
-
.
|
|
27
|
+
._13y9ptj5 {
|
|
25
28
|
max-width: 370px;
|
|
26
29
|
grid-template-rows: 1fr 1fr;
|
|
27
30
|
}
|
|
28
|
-
.
|
|
31
|
+
._13y9ptj6 {
|
|
29
32
|
font-size: 28px;
|
|
30
33
|
padding-bottom: 10px;
|
|
31
34
|
-webkit-line-clamp: 4;
|
|
@@ -34,7 +37,7 @@
|
|
|
34
37
|
text-overflow: ellipsis;
|
|
35
38
|
max-height: min(76px, 108px);
|
|
36
39
|
}
|
|
37
|
-
.
|
|
40
|
+
._13y9ptj7 {
|
|
38
41
|
padding: 24px;
|
|
39
42
|
color: #333D46;
|
|
40
43
|
font-family: var(--main-font-family);
|
|
@@ -42,16 +45,16 @@
|
|
|
42
45
|
display: grid;
|
|
43
46
|
grid-template-rows: 120px 30px;
|
|
44
47
|
}
|
|
45
|
-
.
|
|
48
|
+
._13y9ptj8 {
|
|
46
49
|
aspect-ratio: 16 / 9;
|
|
47
50
|
}
|
|
48
51
|
@media screen and (max-width:1024px) {
|
|
49
|
-
.
|
|
52
|
+
._13y9ptj4 {
|
|
50
53
|
grid-template-columns: 1fr 1fr 1fr;
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
@media screen and (max-width:768px) {
|
|
54
|
-
.
|
|
57
|
+
._13y9ptj4 {
|
|
55
58
|
grid-template-columns: 1fr;
|
|
56
59
|
justify-items: center;
|
|
57
60
|
}
|
|
@@ -1,141 +1,141 @@
|
|
|
1
|
-
@keyframes
|
|
2
|
-
0% {
|
|
3
|
-
opacity: 0;
|
|
4
|
-
transform: scale(0.9);
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transform: scale(1);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
@keyframes
|
|
12
|
-
0% {
|
|
13
|
-
display: block;
|
|
14
|
-
opacity: 1;
|
|
15
|
-
transform: scale(1);
|
|
16
|
-
}
|
|
17
|
-
to {
|
|
18
|
-
display: none;
|
|
19
|
-
opacity: 0;
|
|
20
|
-
transform: scale(0.9);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.
|
|
25
|
-
position: fixed;
|
|
26
|
-
top: 0;
|
|
27
|
-
left: 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
background: rgba(0, 0, 0, 0.4);
|
|
31
|
-
display: none;
|
|
32
|
-
align-items: center;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.
|
|
37
|
-
display: flex;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.
|
|
41
|
-
animation:
|
|
42
|
-
background: #fff;
|
|
43
|
-
border-radius: 16px;
|
|
44
|
-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
45
|
-
position: relative;
|
|
46
|
-
transition: transform 0.45s ease;
|
|
47
|
-
width: min(calc(100% - 2rem), 800px);
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.
|
|
52
|
-
animation:
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.
|
|
56
|
-
position: absolute;
|
|
57
|
-
background-color: rgba(255, 255, 255, 0.3);
|
|
58
|
-
border-radius: 8px;
|
|
59
|
-
border: none;
|
|
60
|
-
color: #4a5560;
|
|
61
|
-
cursor: pointer;
|
|
62
|
-
font-size: 1.9rem;
|
|
63
|
-
line-height: 1;
|
|
64
|
-
right: 1.5rem;
|
|
65
|
-
text-align: center;
|
|
66
|
-
top: 1.5rem;
|
|
67
|
-
width: 32px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.
|
|
71
|
-
padding: 16px 24px 24px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.
|
|
75
|
-
background-position: center center;
|
|
76
|
-
background-size: cover;
|
|
77
|
-
height: 418px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
body:has(.
|
|
81
|
-
overflow-y: hidden;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.
|
|
85
|
-
margin-top: 8px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.
|
|
89
|
-
color: #333d46;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.
|
|
93
|
-
text-align: center;
|
|
94
|
-
font-size: 16px;
|
|
95
|
-
line-height: 1.5;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
gap: 2rem;
|
|
102
|
-
padding-top: 16px;
|
|
103
|
-
margin-top: 16px;
|
|
104
|
-
width: 100%;
|
|
105
|
-
justify-content: center;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.
|
|
109
|
-
display: none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.
|
|
113
|
-
margin-top: 31px;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@media (max-width: 1023px) {
|
|
117
|
-
.
|
|
118
|
-
flex-direction: column-reverse;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@media (max-width: 832px) {
|
|
123
|
-
.
|
|
124
|
-
height: calc(12.25rem + ((1vw - 3.75px) * 48.5777));
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
@media (max-width: 500px) {
|
|
129
|
-
.
|
|
130
|
-
width: calc(100% - 1rem);
|
|
131
|
-
}
|
|
132
|
-
.
|
|
133
|
-
align-items: flex-start;
|
|
134
|
-
overflow-y: scroll;
|
|
135
|
-
padding-top: 40px;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.
|
|
140
|
-
color: #1e3860;
|
|
141
|
-
}
|
|
1
|
+
@keyframes _appear_1u8jc_1 {
|
|
2
|
+
0% {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
transform: scale(0.9);
|
|
5
|
+
}
|
|
6
|
+
to {
|
|
7
|
+
opacity: 1;
|
|
8
|
+
transform: scale(1);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
@keyframes _vanish_1u8jc_1 {
|
|
12
|
+
0% {
|
|
13
|
+
display: block;
|
|
14
|
+
opacity: 1;
|
|
15
|
+
transform: scale(1);
|
|
16
|
+
}
|
|
17
|
+
to {
|
|
18
|
+
display: none;
|
|
19
|
+
opacity: 0;
|
|
20
|
+
transform: scale(0.9);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
._overlay_1u8jc_24 {
|
|
25
|
+
position: fixed;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
background: rgba(0, 0, 0, 0.4);
|
|
31
|
+
display: none;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
._overlay_1u8jc_24.active {
|
|
37
|
+
display: flex;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
._modal_1u8jc_40 {
|
|
41
|
+
animation: _vanish_1u8jc_1 0.45s ease;
|
|
42
|
+
background: #fff;
|
|
43
|
+
border-radius: 16px;
|
|
44
|
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
45
|
+
position: relative;
|
|
46
|
+
transition: transform 0.45s ease;
|
|
47
|
+
width: min(calc(100% - 2rem), 800px);
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
._modal_1u8jc_40.active {
|
|
52
|
+
animation: _appear_1u8jc_1 0.45s ease;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
._close_button_1u8jc_55 {
|
|
56
|
+
position: absolute;
|
|
57
|
+
background-color: rgba(255, 255, 255, 0.3);
|
|
58
|
+
border-radius: 8px;
|
|
59
|
+
border: none;
|
|
60
|
+
color: #4a5560;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
font-size: 1.9rem;
|
|
63
|
+
line-height: 1;
|
|
64
|
+
right: 1.5rem;
|
|
65
|
+
text-align: center;
|
|
66
|
+
top: 1.5rem;
|
|
67
|
+
width: 32px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
._modal_content_1u8jc_70 {
|
|
71
|
+
padding: 16px 24px 24px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
._img_area_1u8jc_74 {
|
|
75
|
+
background-position: center center;
|
|
76
|
+
background-size: cover;
|
|
77
|
+
height: 418px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
body:has(._overlay_1u8jc_24.active) {
|
|
81
|
+
overflow-y: hidden;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
._body_copy_1u8jc_84 {
|
|
85
|
+
margin-top: 8px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
._body_copy_1u8jc_84 > * {
|
|
89
|
+
color: #333d46;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
._body_copy_1u8jc_84 > p {
|
|
93
|
+
text-align: center;
|
|
94
|
+
font-size: 16px;
|
|
95
|
+
line-height: 1.5;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
._btns_1u8jc_98 {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
gap: 2rem;
|
|
102
|
+
padding-top: 16px;
|
|
103
|
+
margin-top: 16px;
|
|
104
|
+
width: 100%;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
._btns_1u8jc_98:empty {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
._modal_content_1u8jc_70:nth-child(2) h2 {
|
|
113
|
+
margin-top: 31px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media (max-width: 1023px) {
|
|
117
|
+
._btns_1u8jc_98 {
|
|
118
|
+
flex-direction: column-reverse;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media (max-width: 832px) {
|
|
123
|
+
._img_area_1u8jc_74 {
|
|
124
|
+
height: calc(12.25rem + ((1vw - 3.75px) * 48.5777));
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
@media (max-width: 500px) {
|
|
129
|
+
._modal_1u8jc_40 {
|
|
130
|
+
width: calc(100% - 1rem);
|
|
131
|
+
}
|
|
132
|
+
._overlay_1u8jc_24.active {
|
|
133
|
+
align-items: flex-start;
|
|
134
|
+
overflow-y: scroll;
|
|
135
|
+
padding-top: 40px;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
._white_modal_1u8jc_139 {
|
|
140
|
+
color: #1e3860;
|
|
141
|
+
}
|
package/package.json
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@axos-web-dev/shared-components",
|
|
3
|
-
"description": "Axos shared components library for web.",
|
|
4
|
-
"version": "0.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "dist/main.js",
|
|
7
|
-
"types": "dist/main.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist"
|
|
10
|
-
],
|
|
11
|
-
"sideEffects": [
|
|
12
|
-
"dist/assets/**/*.css"
|
|
13
|
-
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"dev": "vite",
|
|
16
|
-
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
17
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
-
"preview": "vite preview",
|
|
19
|
-
"prepublishOnly": "npm run build",
|
|
20
|
-
"check-types": "tsc --pretty --noEmit",
|
|
21
|
-
"check-format": "prettier --check .",
|
|
22
|
-
"check-lint": "eslint . --ext ts --ext tsx --ext js",
|
|
23
|
-
"format": "prettier --write .",
|
|
24
|
-
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
25
|
-
"prepare": "husky",
|
|
26
|
-
"storybook": "storybook dev -p 6006",
|
|
27
|
-
"build-storybook": "storybook build",
|
|
28
|
-
"npm:link": "npm run build && npm link"
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@hookform/resolvers": "^3.9.0",
|
|
32
|
-
"@react-input/mask": "^1.2.11",
|
|
33
|
-
"@react-input/number-format": "^1.1.1",
|
|
34
|
-
"@storybook/icons": "^1.2.12",
|
|
35
|
-
"@storybook/preview-api": "^8.3.5",
|
|
36
|
-
"@types/iframe-resizer": "3.5.13",
|
|
37
|
-
"@vanilla-extract/css": "^1.16.0",
|
|
38
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
39
|
-
"antd": "^5.21.5",
|
|
40
|
-
"clsx": "^2.1.1",
|
|
41
|
-
"iframe-resizer": "4.3.11",
|
|
42
|
-
"lodash": "^4.17.21",
|
|
43
|
-
"moment": "^2.30.1",
|
|
44
|
-
"react-date-picker": "^11.0.0",
|
|
45
|
-
"react-hook-form": "^7.53.1",
|
|
46
|
-
"react-markdown": "^9.0.1",
|
|
47
|
-
"react-slick": "^0.30.2",
|
|
48
|
-
"react-use": "^17.5.1",
|
|
49
|
-
"react-wrap-balancer": "^1.1.1",
|
|
50
|
-
"rsuite": "^5.72.0",
|
|
51
|
-
"slick-carousel": "^1.8.1",
|
|
52
|
-
"typed-css-modules": "^0.9.1",
|
|
53
|
-
"vite-plugin-svgr": "^4.2.0",
|
|
54
|
-
"zod": "^3.23.8",
|
|
55
|
-
"zustand": "^4.5.5"
|
|
56
|
-
},
|
|
57
|
-
"peerDependencies": {
|
|
58
|
-
"@vanilla-extract/css-utils": "^0.1.3",
|
|
59
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
60
|
-
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
61
|
-
"next": "^14.1.4",
|
|
62
|
-
"react": "^18.2.0",
|
|
63
|
-
"react-dom": "^18.2.0",
|
|
64
|
-
"react-slick": "^0.30.2",
|
|
65
|
-
"slick-carousel": "^1.8.1"
|
|
66
|
-
},
|
|
67
|
-
"devDependencies": {
|
|
68
|
-
"@chromatic-com/storybook": "^1.8.0",
|
|
69
|
-
"@rollup/plugin-alias": "^5.1.0",
|
|
70
|
-
"@storybook/addon-essentials": "^8.2.9",
|
|
71
|
-
"@storybook/addon-interactions": "^8.2.9",
|
|
72
|
-
"@storybook/addon-links": "^8.2.9",
|
|
73
|
-
"@storybook/addon-mdx-gfm": "^8.2.9",
|
|
74
|
-
"@storybook/addon-onboarding": "^8.2.9",
|
|
75
|
-
"@storybook/addon-themes": "^8.2.9",
|
|
76
|
-
"@storybook/blocks": "^8.2.9",
|
|
77
|
-
"@storybook/react": "^8.2.9",
|
|
78
|
-
"@storybook/react-vite": "^8.2.9",
|
|
79
|
-
"@storybook/test": "^8.2.9",
|
|
80
|
-
"@svgr/core": "^8.1.0",
|
|
81
|
-
"@svgr/plugin-prettier": "^8.1.0",
|
|
82
|
-
"@svgr/plugin-svgo": "^8.1.0",
|
|
83
|
-
"@types/lodash": "^4.17.10",
|
|
84
|
-
"@types/node": "^20.16.10",
|
|
85
|
-
"@types/react": "^18.3.11",
|
|
86
|
-
"@types/react-datepicker": "^6.2.0",
|
|
87
|
-
"@types/react-dom": "^18.3.0",
|
|
88
|
-
"@types/react-slick": "^0.23.13",
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
90
|
-
"@typescript-eslint/parser": "^7.9.0",
|
|
91
|
-
"@vanilla-extract/css-utils": "^0.1.4",
|
|
92
|
-
"@vanilla-extract/recipes": "^0.5.5",
|
|
93
|
-
"@vanilla-extract/vite-plugin": "^4.0.15",
|
|
94
|
-
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
95
|
-
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
96
|
-
"eslint": "^8.57.0",
|
|
97
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
98
|
-
"eslint-plugin-react-refresh": "^0.4.7",
|
|
99
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
100
|
-
"glob": "^10.4.5",
|
|
101
|
-
"husky": "^9.1.6",
|
|
102
|
-
"next": "^14.1.4",
|
|
103
|
-
"prettier": "3.2.5",
|
|
104
|
-
"react": "^18.3.1",
|
|
105
|
-
"react-dom": "^18.3.1",
|
|
106
|
-
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
107
|
-
"rollup-plugin-svg-import": "^3.0.0",
|
|
108
|
-
"rollup-plugin-svgo": "^2.0.0",
|
|
109
|
-
"storybook": "^8.2.9",
|
|
110
|
-
"typescript": "^5.6.2",
|
|
111
|
-
"typescript-plugin-css-modules": "^5.1.0",
|
|
112
|
-
"vite": "^5.4.9",
|
|
113
|
-
"vite-plugin-dts": "^3.9.1",
|
|
114
|
-
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
115
|
-
"vite-plugin-setting-css-module": "^1.1.4",
|
|
116
|
-
"vite-tsconfig-paths": "^4.3.2"
|
|
117
|
-
},
|
|
118
|
-
"main": "index.js",
|
|
119
|
-
"directories": {
|
|
120
|
-
"lib": "lib"
|
|
121
|
-
},
|
|
122
|
-
"author": "axos-web-dev",
|
|
123
|
-
"license": "ISC"
|
|
124
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@axos-web-dev/shared-components",
|
|
3
|
+
"description": "Axos shared components library for web.",
|
|
4
|
+
"version": "0.0.150",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "dist/main.js",
|
|
7
|
+
"types": "dist/main.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"sideEffects": [
|
|
12
|
+
"dist/assets/**/*.css"
|
|
13
|
+
],
|
|
14
|
+
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
16
|
+
"build": "tsc --p ./tsconfig.build.json && vite build",
|
|
17
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
18
|
+
"preview": "vite preview",
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
|
+
"check-types": "tsc --pretty --noEmit",
|
|
21
|
+
"check-format": "prettier --check .",
|
|
22
|
+
"check-lint": "eslint . --ext ts --ext tsx --ext js",
|
|
23
|
+
"format": "prettier --write .",
|
|
24
|
+
"test-all": "npm run check-format && npm run check-lint && npm run check-types && npm run build",
|
|
25
|
+
"prepare": "husky",
|
|
26
|
+
"storybook": "storybook dev -p 6006",
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"npm:link": "npm run build && npm link"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@hookform/resolvers": "^3.9.0",
|
|
32
|
+
"@react-input/mask": "^1.2.11",
|
|
33
|
+
"@react-input/number-format": "^1.1.1",
|
|
34
|
+
"@storybook/icons": "^1.2.12",
|
|
35
|
+
"@storybook/preview-api": "^8.3.5",
|
|
36
|
+
"@types/iframe-resizer": "3.5.13",
|
|
37
|
+
"@vanilla-extract/css": "^1.16.0",
|
|
38
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
39
|
+
"antd": "^5.21.5",
|
|
40
|
+
"clsx": "^2.1.1",
|
|
41
|
+
"iframe-resizer": "4.3.11",
|
|
42
|
+
"lodash": "^4.17.21",
|
|
43
|
+
"moment": "^2.30.1",
|
|
44
|
+
"react-date-picker": "^11.0.0",
|
|
45
|
+
"react-hook-form": "^7.53.1",
|
|
46
|
+
"react-markdown": "^9.0.1",
|
|
47
|
+
"react-slick": "^0.30.2",
|
|
48
|
+
"react-use": "^17.5.1",
|
|
49
|
+
"react-wrap-balancer": "^1.1.1",
|
|
50
|
+
"rsuite": "^5.72.0",
|
|
51
|
+
"slick-carousel": "^1.8.1",
|
|
52
|
+
"typed-css-modules": "^0.9.1",
|
|
53
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
54
|
+
"zod": "^3.23.8",
|
|
55
|
+
"zustand": "^4.5.5"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@vanilla-extract/css-utils": "^0.1.3",
|
|
59
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
60
|
+
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
61
|
+
"next": "^14.1.4",
|
|
62
|
+
"react": "^18.2.0",
|
|
63
|
+
"react-dom": "^18.2.0",
|
|
64
|
+
"react-slick": "^0.30.2",
|
|
65
|
+
"slick-carousel": "^1.8.1"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@chromatic-com/storybook": "^1.8.0",
|
|
69
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
70
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
71
|
+
"@storybook/addon-interactions": "^8.2.9",
|
|
72
|
+
"@storybook/addon-links": "^8.2.9",
|
|
73
|
+
"@storybook/addon-mdx-gfm": "^8.2.9",
|
|
74
|
+
"@storybook/addon-onboarding": "^8.2.9",
|
|
75
|
+
"@storybook/addon-themes": "^8.2.9",
|
|
76
|
+
"@storybook/blocks": "^8.2.9",
|
|
77
|
+
"@storybook/react": "^8.2.9",
|
|
78
|
+
"@storybook/react-vite": "^8.2.9",
|
|
79
|
+
"@storybook/test": "^8.2.9",
|
|
80
|
+
"@svgr/core": "^8.1.0",
|
|
81
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
82
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
83
|
+
"@types/lodash": "^4.17.10",
|
|
84
|
+
"@types/node": "^20.16.10",
|
|
85
|
+
"@types/react": "^18.3.11",
|
|
86
|
+
"@types/react-datepicker": "^6.2.0",
|
|
87
|
+
"@types/react-dom": "^18.3.0",
|
|
88
|
+
"@types/react-slick": "^0.23.13",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
90
|
+
"@typescript-eslint/parser": "^7.9.0",
|
|
91
|
+
"@vanilla-extract/css-utils": "^0.1.4",
|
|
92
|
+
"@vanilla-extract/recipes": "^0.5.5",
|
|
93
|
+
"@vanilla-extract/vite-plugin": "^4.0.15",
|
|
94
|
+
"@vitejs/plugin-react-swc": "^3.7.0",
|
|
95
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
96
|
+
"eslint": "^8.57.0",
|
|
97
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
98
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
|
99
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
100
|
+
"glob": "^10.4.5",
|
|
101
|
+
"husky": "^9.1.6",
|
|
102
|
+
"next": "^14.1.4",
|
|
103
|
+
"prettier": "3.2.5",
|
|
104
|
+
"react": "^18.3.1",
|
|
105
|
+
"react-dom": "^18.3.1",
|
|
106
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
107
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
108
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
109
|
+
"storybook": "^8.2.9",
|
|
110
|
+
"typescript": "^5.6.2",
|
|
111
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
112
|
+
"vite": "^5.4.9",
|
|
113
|
+
"vite-plugin-dts": "^3.9.1",
|
|
114
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
115
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
116
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
117
|
+
},
|
|
118
|
+
"main": "index.js",
|
|
119
|
+
"directories": {
|
|
120
|
+
"lib": "lib"
|
|
121
|
+
},
|
|
122
|
+
"author": "axos-web-dev",
|
|
123
|
+
"license": "ISC"
|
|
124
|
+
}
|