@axos-web-dev/shared-components 0.0.22 → 0.0.24
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/ContentBanner/index.d.ts +1 -1
- package/dist/FaqAccordion/index.d.ts +1 -0
- package/dist/Forms/SuccesForm.d.ts +2 -3
- package/dist/Forms/SuccesForm.js +2 -2
- package/dist/IconBillboard/IconBillboardSet.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboard.css.d.ts +1 -0
- package/dist/ImageBillboard/ImageBillboard.css.js +2 -0
- package/dist/ImageBillboard/ImageBillboard.d.ts +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +10 -3
- package/dist/ImageBillboard/index.js +2 -1
- package/dist/assets/FaqAccordion/FaqAccordion.css +0 -2
- package/dist/assets/HeroBanner/HeroBanner.css +35 -35
- package/dist/assets/IconBillboard/IconBillboard.css +2 -2
- package/dist/assets/ImageBillboard/ImageBillboard.css +5 -0
- package/dist/assets/globals.css +3 -0
- package/dist/main.js +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { QuaternaryTypes } from '../utils';
|
|
3
2
|
|
|
4
|
-
export default function SuccesFormWrapper({ children, isSubmitted, variant, }: {
|
|
3
|
+
export default function SuccesFormWrapper({ children, isSubmitted, variant: fullVariant, }: {
|
|
5
4
|
isSubmitted: boolean;
|
|
6
|
-
variant
|
|
5
|
+
variant?: string;
|
|
7
6
|
} & PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -20,9 +20,9 @@ import "react-hook-form";
|
|
|
20
20
|
function SuccesFormWrapper({
|
|
21
21
|
children,
|
|
22
22
|
isSubmitted,
|
|
23
|
-
variant
|
|
23
|
+
variant: fullVariant = "primary"
|
|
24
24
|
}) {
|
|
25
|
-
variant = getVariant(
|
|
25
|
+
const variant = getVariant(fullVariant);
|
|
26
26
|
return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs("div", { className: clsx(success_wrap({ variant }), "text_center"), children: [
|
|
27
27
|
/* @__PURE__ */ jsxs(
|
|
28
28
|
"svg",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './IconBillboard.interface';
|
|
2
2
|
|
|
3
3
|
export declare const IconBillboardSet: ({ variant, side, iconBillboards, headline, bodyCopy, additionalDetails, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -27,6 +27,7 @@ var up_to = "_1m7m2ax";
|
|
|
27
27
|
var rate_billboard = "_1m7m2ay";
|
|
28
28
|
var apy_billboard = "_1m7m2az";
|
|
29
29
|
var body_copy = "_1m7m2a10";
|
|
30
|
+
var sub_bullets = "_1m7m2a11";
|
|
30
31
|
export {
|
|
31
32
|
apy_billboard,
|
|
32
33
|
billboard,
|
|
@@ -47,6 +48,7 @@ export {
|
|
|
47
48
|
rate_pad,
|
|
48
49
|
section_text_ImageBillboard,
|
|
49
50
|
single_container,
|
|
51
|
+
sub_bullets,
|
|
50
52
|
supertag,
|
|
51
53
|
three_inline,
|
|
52
54
|
two_inline,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Props } from './ImageBillboard.interface';
|
|
2
2
|
|
|
3
3
|
export declare const ImageBillboardSet: ({ id, variant, headline, bodyCopy, additionalDetails, imageBillboards, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,7 +11,7 @@ import SvgCheckIcon from "../icons/CheckIcon/index.js";
|
|
|
11
11
|
/* empty css */
|
|
12
12
|
import { getVariant } from "../utils/getVariant.js";
|
|
13
13
|
import clsx from "clsx";
|
|
14
|
-
import { billboard, imagePlacement, billboard_img, image_background, rate_container, rate_pad, up_to, rate_billboard, apy_billboard, body, billboard_body, billboard_header_section, supertag, header, body_copy, billboard_ctas } from "./ImageBillboard.css.js";
|
|
14
|
+
import { billboard, imagePlacement, billboard_img, image_background, rate_container, rate_pad, up_to, rate_billboard, apy_billboard, body, billboard_body, billboard_header_section, supertag, header, body_copy, sub_bullets, billboard_ctas } from "./ImageBillboard.css.js";
|
|
15
15
|
const ImageBillboard = ({
|
|
16
16
|
id,
|
|
17
17
|
variant,
|
|
@@ -96,8 +96,15 @@ const ImageBillboard = ({
|
|
|
96
96
|
}
|
|
97
97
|
) : /* @__PURE__ */ jsx("img", { src: icon == null ? void 0 : icon.src, alt: icon == null ? void 0 : icon.altText }) }),
|
|
98
98
|
/* @__PURE__ */ jsx("span", { children: copy })
|
|
99
|
-
] }, id2) : /* @__PURE__ */ jsx("ul", { className: "mb_0 push_up", children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
|
|
100
|
-
/* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx(
|
|
99
|
+
] }, id2) : /* @__PURE__ */ jsx("ul", { className: clsx(sub_bullets, "mb_0", "push_up"), children: /* @__PURE__ */ jsxs("li", { className: "list_item flex", children: [
|
|
100
|
+
/* @__PURE__ */ jsx("div", { className: "img_item", children: /* @__PURE__ */ jsx(
|
|
101
|
+
"img",
|
|
102
|
+
{
|
|
103
|
+
style: { maxWidth: "max-content" },
|
|
104
|
+
src: icon == null ? void 0 : icon.src,
|
|
105
|
+
alt: icon == null ? void 0 : icon.altText
|
|
106
|
+
}
|
|
107
|
+
) }),
|
|
101
108
|
/* @__PURE__ */ jsx("span", { children: copy })
|
|
102
109
|
] }) }, id2)
|
|
103
110
|
) })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageBillboardSet } from "./ImageBillboard.js";
|
|
2
|
-
import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline, up_to } from "./ImageBillboard.css.js";
|
|
2
|
+
import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard.css.js";
|
|
3
3
|
import { ImageBillboard } from "./ImageBillboardSet.js";
|
|
4
4
|
export {
|
|
5
5
|
ImageBillboard,
|
|
@@ -23,6 +23,7 @@ export {
|
|
|
23
23
|
rate_pad,
|
|
24
24
|
section_text_ImageBillboard,
|
|
25
25
|
single_container,
|
|
26
|
+
sub_bullets,
|
|
26
27
|
supertag,
|
|
27
28
|
three_inline,
|
|
28
29
|
two_inline,
|
|
@@ -91,31 +91,24 @@
|
|
|
91
91
|
._1ye8k3fl:empty {
|
|
92
92
|
display: none;
|
|
93
93
|
}
|
|
94
|
-
@media screen and (
|
|
95
|
-
.
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
._1ye8k3f0 ._1ye8k3fl {
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
@media (max-width: 1280px) and (min-width: 1024px) {
|
|
103
|
-
._1ye8k3f0 ._1ye8k3f9 {
|
|
104
|
-
width: calc(100%-28px);
|
|
94
|
+
@media screen and (min-width:1024px) {
|
|
95
|
+
._1ye8k3f7 {
|
|
96
|
+
flex-direction: row-reverse;
|
|
105
97
|
}
|
|
106
|
-
.
|
|
107
|
-
|
|
98
|
+
._1ye8k3f8 {
|
|
99
|
+
flex: 1 1;
|
|
100
|
+
max-width: 588px;
|
|
108
101
|
}
|
|
109
|
-
._1ye8k3f0 .
|
|
110
|
-
|
|
102
|
+
._1ye8k3f0 ._1ye8k3f8 {
|
|
103
|
+
max-width: 468px;
|
|
111
104
|
}
|
|
112
105
|
}
|
|
113
|
-
@media screen and (max-width:
|
|
106
|
+
@media screen and (max-width:1023px) {
|
|
114
107
|
._1ye8k3f6 {
|
|
115
108
|
flex-direction: column;
|
|
116
109
|
}
|
|
117
|
-
.
|
|
118
|
-
|
|
110
|
+
._1ye8k3f8 {
|
|
111
|
+
text-align: center;
|
|
119
112
|
}
|
|
120
113
|
}
|
|
121
114
|
@media (max-width: 1023px) {
|
|
@@ -143,23 +136,6 @@
|
|
|
143
136
|
}
|
|
144
137
|
}
|
|
145
138
|
}
|
|
146
|
-
@media screen and (min-width:1024px) {
|
|
147
|
-
._1ye8k3f7 {
|
|
148
|
-
flex-direction: row-reverse;
|
|
149
|
-
}
|
|
150
|
-
._1ye8k3f8 {
|
|
151
|
-
flex: 1 1;
|
|
152
|
-
max-width: 588px;
|
|
153
|
-
}
|
|
154
|
-
._1ye8k3f0 ._1ye8k3f8 {
|
|
155
|
-
max-width: 468px;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
@media screen and (max-width:1023px) {
|
|
159
|
-
._1ye8k3f8 {
|
|
160
|
-
text-align: center;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
139
|
@media screen and (max-width:603px) {
|
|
164
140
|
._1ye8k3f8 {
|
|
165
141
|
max-width: calc(100% - 2rem);
|
|
@@ -167,12 +143,36 @@
|
|
|
167
143
|
margin-right: auto;
|
|
168
144
|
}
|
|
169
145
|
}
|
|
146
|
+
@media screen and (max-width:1280px) {
|
|
147
|
+
._1ye8k3fl {
|
|
148
|
+
margin-top: 2.5rem;
|
|
149
|
+
}
|
|
150
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
@media (max-width: 1280px) and (min-width: 1024px) {
|
|
155
|
+
._1ye8k3f0 ._1ye8k3f9 {
|
|
156
|
+
width: calc(100%-28px);
|
|
157
|
+
}
|
|
158
|
+
._1ye8k3fa img {
|
|
159
|
+
aspect-ratio: 1 / 1;
|
|
160
|
+
}
|
|
161
|
+
._1ye8k3f0 ._1ye8k3fl {
|
|
162
|
+
align-items: flex-start;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
170
165
|
@media (max-width: 603px) {
|
|
171
166
|
._1ye8k3f9 {
|
|
172
167
|
width: 100%;
|
|
173
168
|
max-width: 100%;
|
|
174
169
|
}
|
|
175
170
|
}
|
|
171
|
+
@media screen and (max-width:1024px) {
|
|
172
|
+
._1ye8k3fl {
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
176
|
@media screen and (max-width:768px) {
|
|
177
177
|
._1ye8k3fg {
|
|
178
178
|
font-size: 28px;
|
package/dist/assets/globals.css
CHANGED
package/dist/main.js
CHANGED
|
@@ -32,7 +32,7 @@ import { IconBillboard } from "./IconBillboard/IconBillboard.js";
|
|
|
32
32
|
import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, layout, list, listItem, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
|
|
33
33
|
import { IconBillboardSet } from "./IconBillboard/IconBillboardSet.js";
|
|
34
34
|
import { ImageBillboardSet } from "./ImageBillboard/ImageBillboard.js";
|
|
35
|
-
import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
|
|
35
|
+
import { apy_billboard, billboard, billboard_body, billboard_container, billboard_ctas, billboard_header_section, billboard_image, billboard_img, body, body_copy, header, imagePlacement, image_background, mh_330, rate_billboard, rate_container, rate_pad, section_text_ImageBillboard, single_container, sub_bullets, supertag, three_inline, two_inline, up_to } from "./ImageBillboard/ImageBillboard.css.js";
|
|
36
36
|
import { ImageBillboard } from "./ImageBillboard/ImageBillboardSet.js";
|
|
37
37
|
import { Input } from "./Input/Input.js";
|
|
38
38
|
import { container, helperText, iconContainer, iconContainerBase, iconInput, input, labelClassName, wrapper } from "./Input/Input.css.js";
|
|
@@ -225,6 +225,7 @@ export {
|
|
|
225
225
|
shortUrl,
|
|
226
226
|
show,
|
|
227
227
|
single_container,
|
|
228
|
+
sub_bullets,
|
|
228
229
|
succes_check_mark,
|
|
229
230
|
success_circle,
|
|
230
231
|
success_icon,
|