@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.
@@ -1,4 +1,4 @@
1
- import { HeroBannerInterface as ContentBannerInterface } from './ContentBanner.interface';
1
+ import { ContentBannerInterface } from './ContentBanner.interface';
2
2
  import { FC } from 'react';
3
3
 
4
4
  export declare const ContentBanner: FC<ContentBannerInterface>;
@@ -1,3 +1,4 @@
1
+ import { header } from './FaqAccordion.css';
1
2
  import { PropsWithChildren } from 'react';
2
3
 
3
4
  export interface AccordionItemProps extends PropsWithChildren {
@@ -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: QuaternaryTypes;
5
+ variant?: string;
7
6
  } & PropsWithChildren): import("react/jsx-runtime").JSX.Element;
@@ -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(variant);
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 { IconBillboardSet as Props } from './IconBillboard.interface';
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;
@@ -136,3 +136,4 @@ export declare const up_to: string;
136
136
  export declare const rate_billboard: string;
137
137
  export declare const apy_billboard: string;
138
138
  export declare const body_copy: string;
139
+ export declare const sub_bullets: string;
@@ -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 { ImageBillboardSetProps as Props } from './ImageBillboard.interface';
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("img", { src: icon == null ? void 0 : icon.src, alt: icon == null ? void 0 : icon.altText }) }),
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,
@@ -33,9 +33,7 @@ details[open] .ph6wj62 {
33
33
  font-size: 18px;
34
34
  max-width: 80%;
35
35
  list-style: none;
36
- text-overflow: ellipsis;
37
36
  overflow: hidden;
38
- white-space: nowrap;
39
37
  }
40
38
  .ph6wj64 {
41
39
  padding: 24px;
@@ -91,31 +91,24 @@
91
91
  ._1ye8k3fl:empty {
92
92
  display: none;
93
93
  }
94
- @media screen and (max-width:1280px) {
95
- ._1ye8k3fl {
96
- margin-top: 2.5rem;
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
- ._1ye8k3fa img {
107
- aspect-ratio: 1 / 1;
98
+ ._1ye8k3f8 {
99
+ flex: 1 1;
100
+ max-width: 588px;
108
101
  }
109
- ._1ye8k3f0 ._1ye8k3fl {
110
- align-items: flex-start;
102
+ ._1ye8k3f0 ._1ye8k3f8 {
103
+ max-width: 468px;
111
104
  }
112
105
  }
113
- @media screen and (max-width:1024px) {
106
+ @media screen and (max-width:1023px) {
114
107
  ._1ye8k3f6 {
115
108
  flex-direction: column;
116
109
  }
117
- ._1ye8k3fl {
118
- flex-direction: column;
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;
@@ -130,8 +130,8 @@
130
130
  margin-bottom: 1em;
131
131
  }
132
132
  }
133
- @media screen and (max-width: 1024px) {
133
+ @media screen and (max-width: 1023px) {
134
134
  ._1r4ovbuo {
135
- grid-template-columns: auto;
135
+ grid-template-columns: 1fr;
136
136
  }
137
137
  }
@@ -233,4 +233,9 @@
233
233
  ._18ygy9m0 ._1m7m2au {
234
234
  min-height: 160px;
235
235
  }
236
+ }
237
+ @media screen and (max-width:432px) {
238
+ ._1m7m2a11 {
239
+ padding-left: 20px;
240
+ }
236
241
  }
@@ -237,6 +237,9 @@ hide {
237
237
  text-align: center;
238
238
  }
239
239
  sup {
240
+ font-size: 75%;
241
+ }
242
+ .list_item sup {
240
243
  vertical-align: top;
241
244
  position: relative;
242
245
  top: -0.5em;
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,
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": "0.0.22",
4
+ "version": "0.0.24",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",