@axos-web-dev/shared-components 0.0.56 → 0.0.58
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/AlertBanner/index.d.ts +1 -1
- package/dist/Article/Article.css.d.ts +230 -0
- package/dist/Article/Article.css.js +21 -0
- package/dist/Article/Article.d.ts +14 -0
- package/dist/Article/Article.js +51 -0
- package/dist/Article/index.d.ts +2 -0
- package/dist/Article/index.js +12 -0
- package/dist/ArticlesSet/ArticlesSet.css.d.ts +155 -0
- package/dist/ArticlesSet/ArticlesSet.css.js +21 -0
- package/dist/ArticlesSet/ArticlesSet.d.ts +12 -0
- package/dist/ArticlesSet/ArticlesSet.js +115 -0
- package/dist/ArticlesSet/index.d.ts +2 -0
- package/dist/ArticlesSet/index.js +12 -0
- package/dist/AwardsBanner/AwardsBanner.css.d.ts +2 -0
- package/dist/AwardsBanner/AwardsBanner.css.js +7 -0
- package/dist/AwardsBanner/AwardsBanner.d.ts +8 -0
- package/dist/AwardsBanner/AwardsBanner.js +18 -0
- package/dist/AwardsBanner/index.d.ts +2 -0
- package/dist/AwardsBanner/index.js +7 -0
- package/dist/AwardsItem/AwardsItem.css.d.ts +3 -0
- package/dist/AwardsItem/AwardsItem.css.js +10 -0
- package/dist/AwardsItem/AwardsItem.d.ts +9 -0
- package/dist/AwardsItem/AwardsItem.js +29 -0
- package/dist/AwardsItem/index.d.ts +2 -0
- package/dist/AwardsItem/index.js +8 -0
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/GoBackButton.d.ts +1 -1
- package/dist/CallToActionBar/CallToActionBar.interface.d.ts +1 -1
- package/dist/CallToActionBar/index.d.ts +1 -1
- package/dist/Carousel/Carousel.css.d.ts +44 -0
- package/dist/Carousel/Carousel.css.js +12 -8
- package/dist/Carousel/index.d.ts +3 -1
- package/dist/Carousel/index.js +89 -31
- package/dist/Chevron/Chevron.interface.d.ts +1 -1
- package/dist/Chevron/index.d.ts +1 -1
- package/dist/Chevron/index.js +6 -1
- package/dist/ContentBanner/ContentBanner.interface.d.ts +1 -1
- package/dist/ContentBanner/index.d.ts +1 -1
- package/dist/DownloadTile/index.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +1 -39
- package/dist/ExecutiveBio/ExecutiveBio.css.js +12 -10
- package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +6 -4
- package/dist/ExecutiveBio/ExecutiveBio.js +104 -46
- package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +2 -2
- package/dist/ExecutiveBio/ExecutiveBioSet.js +22 -128
- package/dist/ExecutiveBio/index.js +2 -1
- package/dist/FaqAccordion/index.d.ts +2 -1
- package/dist/FaqAccordion/index.js +26 -13
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +6 -1
- package/dist/Forms/ApplicationStart.js +1 -0
- package/dist/Forms/ContactCompany.d.ts +25 -0
- package/dist/Forms/ContactCompany.js +190 -0
- package/dist/Forms/ContactUsBusiness.js +5 -0
- package/dist/Forms/DealerServices.d.ts +32 -0
- package/dist/Forms/DealerServices.js +311 -0
- package/dist/Forms/EmailOnly.js +5 -0
- package/dist/Forms/RenderForm.d.ts +1 -1
- package/dist/Forms/RenderForm.js +5 -0
- package/dist/Forms/ScheduleCall.d.ts +2 -2
- package/dist/Forms/ScheduleCall.js +8 -1
- package/dist/Forms/ScheduleCallPremier.js +1 -0
- package/dist/Forms/SuccesForm.d.ts +7 -3
- package/dist/Forms/SuccesForm.js +76 -61
- package/dist/Forms/index.d.ts +2 -0
- package/dist/Forms/index.js +4 -0
- package/dist/HeroBanner/HeroBanner.interface.d.ts +1 -1
- package/dist/Hyperlink/index.d.ts +1 -1
- package/dist/Hyperlink/index.js +6 -1
- package/dist/IconBillboard/IconBillboard.d.ts +3 -3
- package/dist/IconBillboard/IconBillboard.interface.d.ts +3 -3
- package/dist/ImageBillboard/ImageBillboard.interface.d.ts +4 -4
- package/dist/ImageLink/ImageLink.js +5 -0
- package/dist/ImageLink/ImageLinkSet.d.ts +2 -2
- package/dist/ImageLink/ImageLinkSet.js +5 -0
- package/dist/ImageLink/index.js +6 -1
- package/dist/Input/CurrencyInput.js +1 -0
- package/dist/Input/Input.d.ts +1 -1
- package/dist/Input/InputPhone.js +1 -0
- package/dist/Input/InputProps.d.ts +1 -1
- package/dist/Input/InputTextArea.d.ts +16 -0
- package/dist/Input/InputTextArea.js +48 -0
- package/dist/Input/index.d.ts +1 -0
- package/dist/Input/index.js +2 -0
- package/dist/Modal/Modal.d.ts +1 -1
- package/dist/Modal/Modal.js +6 -1
- package/dist/SetContainer/SetContainer.d.ts +1 -1
- package/dist/SetContainer/SetContainer.js +5 -0
- package/dist/StepItems/StepItems.interface.d.ts +3 -3
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/VideoTile/VideoTile.d.ts +1 -1
- package/dist/VideoWrapper/index.d.ts +1 -1
- package/dist/assets/Article/Article.css +243 -0
- package/dist/assets/ArticlesSet/ArticlesSet.css +234 -0
- package/dist/assets/AwardsBanner/AwardsBanner.css +19 -0
- package/dist/assets/AwardsItem/AwardsItem.css +40 -0
- package/dist/assets/Carousel/Carousel.css +68 -29
- package/dist/assets/ExecutiveBio/ExecutiveBio.css +61 -65
- package/dist/assets/IconBillboard/IconBillboard.css +3 -0
- package/dist/icons/ArrowIcon/index.d.ts +1 -1
- package/dist/main.d.ts +4 -0
- package/dist/main.js +39 -1
- package/dist/utils/faqAccordionOptions.d.ts +1 -0
- package/dist/utils/faqAccordionOptions.js +20 -0
- package/package.json +17 -17
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { getVariant } from "../utils/getVariant.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import "@hookform/resolvers/zod";
|
|
@@ -14,6 +14,7 @@ import "../Input/Dropdown.js";
|
|
|
14
14
|
import "../Input/Input.js";
|
|
15
15
|
import "../Input/Input.css.js";
|
|
16
16
|
import "../Input/InputPhone.js";
|
|
17
|
+
import "../Input/InputTextArea.js";
|
|
17
18
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
18
19
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
19
20
|
/* empty css */
|
|
@@ -28,6 +29,10 @@ import "../Accordion/Accordion.css.js";
|
|
|
28
29
|
import "../Chevron/Chevron.css.js";
|
|
29
30
|
import "../AlertBanner/AlertBanner.css.js";
|
|
30
31
|
/* empty css */
|
|
32
|
+
import "../Article/Article.css.js";
|
|
33
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
34
|
+
/* empty css */
|
|
35
|
+
/* empty css */
|
|
31
36
|
import "../IconBillboard/IconBillboard.css.js";
|
|
32
37
|
/* empty css */
|
|
33
38
|
/* empty css */
|
|
@@ -59,68 +64,78 @@ import "next/script.js";
|
|
|
59
64
|
function SuccesFormWrapper({
|
|
60
65
|
children,
|
|
61
66
|
isSubmitted,
|
|
62
|
-
variant: fullVariant = "primary"
|
|
67
|
+
variant: fullVariant = "primary",
|
|
68
|
+
bodyCopy,
|
|
69
|
+
headline,
|
|
70
|
+
id
|
|
63
71
|
}) {
|
|
64
72
|
const variant = getVariant(fullVariant);
|
|
65
|
-
return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
{
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
73
|
+
return !isSubmitted ? /* @__PURE__ */ jsx("div", { children }) : /* @__PURE__ */ jsxs(
|
|
74
|
+
"div",
|
|
75
|
+
{
|
|
76
|
+
className: clsx(success_wrap({ variant }), "text_center"),
|
|
77
|
+
id: id ?? void 0,
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ jsxs(
|
|
80
|
+
"svg",
|
|
81
|
+
{
|
|
82
|
+
className: success_icon,
|
|
83
|
+
width: "90px",
|
|
84
|
+
height: "97px",
|
|
85
|
+
viewBox: "0 0 90 90",
|
|
86
|
+
version: "1.1",
|
|
87
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
88
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
89
|
+
xmlSpace: "preserve",
|
|
90
|
+
style: {
|
|
91
|
+
fillRule: "evenodd",
|
|
92
|
+
clipRule: "evenodd",
|
|
93
|
+
strokeLinecap: "round",
|
|
94
|
+
strokeLinejoin: "round",
|
|
95
|
+
strokeMiterlimit: "1.5"
|
|
96
|
+
},
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ jsx(
|
|
99
|
+
"rect",
|
|
100
|
+
{
|
|
101
|
+
x: "0",
|
|
102
|
+
y: "0",
|
|
103
|
+
width: "90",
|
|
104
|
+
height: "99",
|
|
105
|
+
style: { fill: "none" }
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
/* @__PURE__ */ jsx("clipPath", { id: "_clip1", children: /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "90", height: "99" }) }),
|
|
109
|
+
/* @__PURE__ */ jsxs("g", { clipPath: "url(#_clip1)", children: [
|
|
110
|
+
/* @__PURE__ */ jsx(
|
|
111
|
+
"circle",
|
|
112
|
+
{
|
|
113
|
+
className: success_circle({ variant }),
|
|
114
|
+
cx: "44.662",
|
|
115
|
+
cy: "44.662",
|
|
116
|
+
r: "42.662"
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ jsx(
|
|
120
|
+
"path",
|
|
121
|
+
{
|
|
122
|
+
className: succes_check_mark,
|
|
123
|
+
d: "M28.985,44.662l12.015,12.015l46.324,-54.677"
|
|
124
|
+
}
|
|
125
|
+
)
|
|
126
|
+
] })
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
/* @__PURE__ */ jsx("h1", { id: "submittedText", children: headline || "Submitted!" }),
|
|
131
|
+
/* @__PURE__ */ jsx("p", { id: "thankYouText", children: bodyCopy ? bodyCopy : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
132
|
+
"Thank you!",
|
|
133
|
+
/* @__PURE__ */ jsx("br", {}),
|
|
134
|
+
"A Banking expert will be in contact with you shortly"
|
|
135
|
+
] }) })
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
);
|
|
124
139
|
}
|
|
125
140
|
export {
|
|
126
141
|
SuccesFormWrapper
|
package/dist/Forms/index.d.ts
CHANGED
package/dist/Forms/index.js
CHANGED
|
@@ -7,9 +7,13 @@ import { SalesforceFieldsForm, SalesforceSchema } from "./SalesforceFieldsForm.j
|
|
|
7
7
|
import { ScheduleCall } from "./ScheduleCall.js";
|
|
8
8
|
import { ScheduleCallPremier } from "./ScheduleCallPremier.js";
|
|
9
9
|
import { SuccesFormWrapper } from "./SuccesForm.js";
|
|
10
|
+
import { ContactCompany } from "./ContactCompany.js";
|
|
11
|
+
import { DealerServices } from "./DealerServices.js";
|
|
10
12
|
export {
|
|
11
13
|
ApplicationStart,
|
|
14
|
+
ContactCompany,
|
|
12
15
|
ContactUsBusiness,
|
|
16
|
+
DealerServices,
|
|
13
17
|
EmailOnly,
|
|
14
18
|
RenderWebForm,
|
|
15
19
|
SalesforceFieldsForm,
|
package/dist/Hyperlink/index.js
CHANGED
|
@@ -18,8 +18,12 @@ import "react";
|
|
|
18
18
|
import "../Button/Button.css.js";
|
|
19
19
|
import "react-use";
|
|
20
20
|
/* empty css */
|
|
21
|
-
import "../
|
|
21
|
+
import "../Article/Article.css.js";
|
|
22
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
23
|
+
/* empty css */
|
|
22
24
|
/* empty css */
|
|
25
|
+
/* empty css */
|
|
26
|
+
import "../IconBillboard/IconBillboard.css.js";
|
|
23
27
|
/* empty css */
|
|
24
28
|
/* empty css */
|
|
25
29
|
import "../Carousel/index.js";
|
|
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
|
|
|
39
43
|
import "../Input/Input.js";
|
|
40
44
|
import "../Input/Input.css.js";
|
|
41
45
|
import "../Input/InputPhone.js";
|
|
46
|
+
import "../Input/InputTextArea.js";
|
|
42
47
|
import "react-hook-form";
|
|
43
48
|
import "../Forms/Forms.css.js";
|
|
44
49
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ContainerVariants, LayoutVariants } from './IconBillboard.css';
|
|
2
|
-
import { ImageInterface } from '.';
|
|
3
|
-
import { ReactNode } from 'react';
|
|
4
1
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { ImageInterface } from '.';
|
|
4
|
+
import { ContainerVariants, LayoutVariants } from './IconBillboard.css';
|
|
5
5
|
|
|
6
6
|
export interface FocusProps {
|
|
7
7
|
icon?: ImageInterface;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { QuaternaryTypes } from '../utils/variant.types';
|
|
3
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
4
1
|
import { BulletItemProps } from '../BulletItem';
|
|
2
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
|
+
import { QuaternaryTypes } from '../utils/variant.types';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
export interface IconBillboardSet {
|
|
7
7
|
id: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { QuaternaryTypes } from '../utils/variant.types';
|
|
3
|
-
import { ImageInterface } from '../IconBillboard';
|
|
4
|
-
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
5
1
|
import { BulletItemProps } from '../BulletItem';
|
|
2
|
+
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
3
|
+
import { ImageInterface } from '../IconBillboard';
|
|
4
|
+
import { QuaternaryTypes } from '../utils/variant.types';
|
|
5
|
+
import { ReactNode } from 'react';
|
|
6
6
|
|
|
7
7
|
export interface ImageBillboardSetProps {
|
|
8
8
|
id: string;
|
|
@@ -18,6 +18,10 @@ import { isValidElement } from "react";
|
|
|
18
18
|
import "../Button/Button.css.js";
|
|
19
19
|
import "react-use";
|
|
20
20
|
/* empty css */
|
|
21
|
+
import "../Article/Article.css.js";
|
|
22
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
21
25
|
/* empty css */
|
|
22
26
|
import "../Carousel/index.js";
|
|
23
27
|
/* empty css */
|
|
@@ -36,6 +40,7 @@ import "../Input/Dropdown.js";
|
|
|
36
40
|
import "../Input/Input.js";
|
|
37
41
|
import "../Input/Input.css.js";
|
|
38
42
|
import "../Input/InputPhone.js";
|
|
43
|
+
import "../Input/InputTextArea.js";
|
|
39
44
|
import "react-hook-form";
|
|
40
45
|
import "../Forms/Forms.css.js";
|
|
41
46
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ImageLinkProps } from './ImageLink';
|
|
2
|
-
import { SetContainerProps } from '../SetContainer';
|
|
3
1
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
+
import { SetContainerProps } from '../SetContainer';
|
|
3
|
+
import { ImageLinkProps } from './ImageLink';
|
|
4
4
|
|
|
5
5
|
export interface ImageLinkSetProps extends SetContainerProps {
|
|
6
6
|
imageLinks: ImageLinkProps[];
|
|
@@ -21,6 +21,10 @@ import "../Accordion/Accordion.js";
|
|
|
21
21
|
import "../Accordion/Accordion.css.js";
|
|
22
22
|
import "../AlertBanner/AlertBanner.css.js";
|
|
23
23
|
/* empty css */
|
|
24
|
+
import "../Article/Article.css.js";
|
|
25
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
26
|
+
/* empty css */
|
|
27
|
+
/* empty css */
|
|
24
28
|
/* empty css */
|
|
25
29
|
import "../Carousel/index.js";
|
|
26
30
|
/* empty css */
|
|
@@ -39,6 +43,7 @@ import "../Input/Dropdown.js";
|
|
|
39
43
|
import "../Input/Input.js";
|
|
40
44
|
import "../Input/Input.css.js";
|
|
41
45
|
import "../Input/InputPhone.js";
|
|
46
|
+
import "../Input/InputTextArea.js";
|
|
42
47
|
import "react-hook-form";
|
|
43
48
|
import "../Forms/Forms.css.js";
|
|
44
49
|
import "../Forms/SalesforceFieldsForm.js";
|
package/dist/ImageLink/index.js
CHANGED
|
@@ -15,8 +15,12 @@ import "react";
|
|
|
15
15
|
import "../Button/Button.css.js";
|
|
16
16
|
import "react-use";
|
|
17
17
|
/* empty css */
|
|
18
|
-
import "../
|
|
18
|
+
import "../Article/Article.css.js";
|
|
19
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
20
|
+
/* empty css */
|
|
19
21
|
/* empty css */
|
|
22
|
+
/* empty css */
|
|
23
|
+
import "../IconBillboard/IconBillboard.css.js";
|
|
20
24
|
/* empty css */
|
|
21
25
|
/* empty css */
|
|
22
26
|
import "../Carousel/index.js";
|
|
@@ -36,6 +40,7 @@ import "../Input/Dropdown.js";
|
|
|
36
40
|
import "../Input/Input.js";
|
|
37
41
|
import "../Input/Input.css.js";
|
|
38
42
|
import "../Input/InputPhone.js";
|
|
43
|
+
import "../Input/InputTextArea.js";
|
|
39
44
|
import "react-hook-form";
|
|
40
45
|
import "../Forms/Forms.css.js";
|
|
41
46
|
import "../Forms/SalesforceFieldsForm.js";
|
package/dist/Input/Input.d.ts
CHANGED
package/dist/Input/InputPhone.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InputHTMLAttributes, PropsWithChildren, ReactNode, SelectHTMLAttributes } from 'react';
|
|
2
1
|
import { QuaternaryTypes } from '../utils';
|
|
2
|
+
import { InputHTMLAttributes, PropsWithChildren, ReactNode, SelectHTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
5
5
|
label?: ReactNode;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QuaternaryTypes } from '../utils';
|
|
2
|
+
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export interface TextAreaInputProps extends InputHTMLAttributes<HTMLTextAreaElement> {
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
iconLeft?: ReactNode;
|
|
7
|
+
iconRight?: ReactNode;
|
|
8
|
+
sizes?: "small" | "medium" | "large" | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
skeleton?: boolean | undefined;
|
|
11
|
+
helperText?: ReactNode;
|
|
12
|
+
variant?: QuaternaryTypes;
|
|
13
|
+
rows?: number;
|
|
14
|
+
maxLength?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const InputTextArea: import('react').ForwardRefExoticComponent<TextAreaInputProps & import('react').RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import clsx from "clsx";
|
|
3
|
+
import { forwardRef } from "react";
|
|
4
|
+
import { wrapper, labelClassName, container, iconContainer, iconInput, input, helperText } from "./Input.css.js";
|
|
5
|
+
const InputTextArea = forwardRef((props, ref) => {
|
|
6
|
+
const {
|
|
7
|
+
disabled,
|
|
8
|
+
label,
|
|
9
|
+
iconLeft,
|
|
10
|
+
iconRight,
|
|
11
|
+
sizes,
|
|
12
|
+
error = false,
|
|
13
|
+
helperText: helper,
|
|
14
|
+
variant,
|
|
15
|
+
rows = 4,
|
|
16
|
+
maxLength = 512,
|
|
17
|
+
...rest
|
|
18
|
+
} = props;
|
|
19
|
+
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
20
|
+
label && /* @__PURE__ */ jsx(
|
|
21
|
+
"label",
|
|
22
|
+
{
|
|
23
|
+
className: labelClassName({ error, variant }),
|
|
24
|
+
htmlFor: props.name,
|
|
25
|
+
children: label
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
29
|
+
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconLeft }) }),
|
|
30
|
+
/* @__PURE__ */ jsx(
|
|
31
|
+
"textarea",
|
|
32
|
+
{
|
|
33
|
+
...rest,
|
|
34
|
+
ref,
|
|
35
|
+
className: clsx(props.className, input({ size: sizes })),
|
|
36
|
+
rows,
|
|
37
|
+
placeholder: props.placeholder,
|
|
38
|
+
maxLength
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
|
|
44
|
+
] });
|
|
45
|
+
});
|
|
46
|
+
export {
|
|
47
|
+
InputTextArea
|
|
48
|
+
};
|
package/dist/Input/index.d.ts
CHANGED
package/dist/Input/index.js
CHANGED
|
@@ -5,12 +5,14 @@ import { selectInput } from "./Dropdown.css.js";
|
|
|
5
5
|
import { Input } from "./Input.js";
|
|
6
6
|
import { container, helperText, iconContainer, iconContainerBase, iconInput, input, labelClassName, wrapper } from "./Input.css.js";
|
|
7
7
|
import { InputPhone } from "./InputPhone.js";
|
|
8
|
+
import { InputTextArea } from "./InputTextArea.js";
|
|
8
9
|
export {
|
|
9
10
|
Checkbox,
|
|
10
11
|
CurrencyInput,
|
|
11
12
|
Dropdown,
|
|
12
13
|
Input,
|
|
13
14
|
InputPhone,
|
|
15
|
+
InputTextArea,
|
|
14
16
|
container,
|
|
15
17
|
helperText,
|
|
16
18
|
iconContainer,
|
package/dist/Modal/Modal.d.ts
CHANGED
package/dist/Modal/Modal.js
CHANGED
|
@@ -14,8 +14,12 @@ import "../Button/Button.css.js";
|
|
|
14
14
|
import "react";
|
|
15
15
|
import "react-use";
|
|
16
16
|
/* empty css */
|
|
17
|
-
import "../
|
|
17
|
+
import "../Article/Article.css.js";
|
|
18
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
19
|
+
/* empty css */
|
|
18
20
|
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
import "../IconBillboard/IconBillboard.css.js";
|
|
19
23
|
/* empty css */
|
|
20
24
|
import "clsx";
|
|
21
25
|
/* empty css */
|
|
@@ -36,6 +40,7 @@ import "../Input/Dropdown.js";
|
|
|
36
40
|
import "../Input/Input.js";
|
|
37
41
|
import "../Input/Input.css.js";
|
|
38
42
|
import "../Input/InputPhone.js";
|
|
43
|
+
import "../Input/InputTextArea.js";
|
|
39
44
|
import "react-hook-form";
|
|
40
45
|
import "../Forms/Forms.css.js";
|
|
41
46
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
1
|
import { ImageBillboardSetProps } from '../ImageBillboard/ImageBillboard.interface';
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface SetContainerProps extends Omit<ImageBillboardSetProps, "imageBillboards">, PropsWithChildren {
|
|
5
5
|
internalName?: string;
|
|
@@ -18,6 +18,10 @@ import "react";
|
|
|
18
18
|
import "../Button/Button.css.js";
|
|
19
19
|
import "react-use";
|
|
20
20
|
/* empty css */
|
|
21
|
+
import "../Article/Article.css.js";
|
|
22
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
23
|
+
/* empty css */
|
|
24
|
+
/* empty css */
|
|
21
25
|
/* empty css */
|
|
22
26
|
import "../Carousel/index.js";
|
|
23
27
|
/* empty css */
|
|
@@ -36,6 +40,7 @@ import "../Input/Dropdown.js";
|
|
|
36
40
|
import "../Input/Input.js";
|
|
37
41
|
import "../Input/Input.css.js";
|
|
38
42
|
import "../Input/InputPhone.js";
|
|
43
|
+
import "../Input/InputTextArea.js";
|
|
39
44
|
import "react-hook-form";
|
|
40
45
|
import "../Forms/Forms.css.js";
|
|
41
46
|
import "../Forms/SalesforceFieldsForm.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ImageInterface } from '../IconBillboard';
|
|
3
|
-
import { QuaternaryTypes } from '../utils/variant.types';
|
|
4
1
|
import { ChevronProps } from '../Chevron/Chevron.interface';
|
|
2
|
+
import { QuaternaryTypes } from '../utils/variant.types';
|
|
3
|
+
import { ImageInterface } from '../IconBillboard';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
export interface StepItemsSetProps {
|
|
7
7
|
id: string;
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
2
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { CellProps, RowProps, TableContainerProps, TableProps } from './Table.interface';
|
|
3
3
|
|
|
4
4
|
export declare const TableContainer: ({ tableTitle, tableBody, tableFooter, tableType, tableDescription, internalName, id, }: TableContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export declare const Table: ({ variant, children, highlight, tableType, alternateColorRows, }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypographySizeVariants, TypographyVariants } from '.';
|
|
2
1
|
import { default as React } from 'react';
|
|
2
|
+
import { TypographySizeVariants, TypographyVariants } from '.';
|
|
3
3
|
|
|
4
4
|
type AsType = "body1" | "body2" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | string;
|
|
5
5
|
export interface Props extends React.PropsWithChildren {
|