@axos-web-dev/shared-components 0.0.90 → 0.0.91
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/ATMLocator/ATMLocator.d.ts +4 -2
- package/dist/ATMLocator/ATMLocator.js +122 -18
- package/dist/Accordion/Accordion.css.d.ts +9 -9
- package/dist/Calculators/Calculator.js +12 -4
- package/dist/Carousel/index.js +10 -11
- package/dist/Chevron/index.js +15 -16
- package/dist/Comparison/Comparison.js +12 -13
- package/dist/Comparison/ComparisonSet.js +18 -19
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +17 -18
- package/dist/Forms/ApplicationStart.js +2 -3
- package/dist/Forms/CommercialLending.js +2 -3
- package/dist/Forms/ContactCompany.js +2 -3
- package/dist/Forms/ContactUs.js +2 -3
- package/dist/Forms/ContactUsAAS.js +2 -3
- package/dist/Forms/ContactUsBusiness.js +15 -16
- package/dist/Forms/ContactUsNMLSId.js +15 -16
- package/dist/Forms/DealerServices.js +2 -3
- package/dist/Forms/EmailOnly.js +15 -16
- package/dist/Forms/SalesforceFieldsForm.d.ts +1 -0
- package/dist/Forms/ScheduleCall.js +3 -7
- package/dist/Forms/ScheduleCallPremier.js +2 -3
- package/dist/Forms/SuccesForm.js +11 -12
- package/dist/Forms/WcplSurvey.js +2 -3
- package/dist/Hyperlink/index.js +18 -19
- package/dist/ImageLink/ImageLink.js +11 -12
- package/dist/ImageLink/ImageLinkSet.js +9 -10
- package/dist/ImageLink/index.js +16 -17
- package/dist/Input/Checkbox.d.ts +1 -1
- package/dist/Input/CurrencyInput.js +2 -3
- package/dist/Input/InputPhone.js +2 -3
- package/dist/Input/InputProps.d.ts +0 -6
- package/dist/Input/index.d.ts +0 -3
- package/dist/Input/index.js +0 -6
- package/dist/Modal/Modal.js +14 -15
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +17 -18
- package/dist/SetContainer/SetContainer.js +11 -12
- package/dist/Table/Table.d.ts +9 -9
- package/dist/assets/Table/Table.css +1 -1
- package/dist/main.js +0 -6
- package/dist/utils/allowedAxosDomains.js +2 -1
- package/package.json +1 -1
- package/dist/Input/DatePicker.css.d.ts +0 -1
- package/dist/Input/DatePicker.css.js +0 -6
- package/dist/Input/Datepicker.d.ts +0 -3
- package/dist/Input/Datepicker.js +0 -47
- package/dist/Input/InputDate.css.d.ts +0 -6
- package/dist/Input/InputDate.css.js +0 -15
- package/dist/Input/InputDate.d.ts +0 -3
- package/dist/Input/InputDate.js +0 -47
- package/dist/assets/Input/DatePicker.css +0 -95
- package/dist/assets/Input/InputDate.css +0 -39
package/dist/Modal/Modal.js
CHANGED
|
@@ -1,39 +1,29 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { chevron } from "../Chevron/Chevron.css.js";
|
|
3
|
-
import "../
|
|
4
|
-
import "../Accordion/Accordion.css.js";
|
|
3
|
+
import { Button } from "../Button/Button.js";
|
|
5
4
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
6
5
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
7
6
|
/* empty css */
|
|
8
7
|
/* empty css */
|
|
9
8
|
/* empty css */
|
|
10
9
|
/* empty css */
|
|
11
|
-
import "../AlertBanner/AlertBanner.css.js";
|
|
12
|
-
import "../Article/Article.css.js";
|
|
13
|
-
import "../ArticlesSet/ArticlesSet.css.js";
|
|
14
|
-
/* empty css */
|
|
15
|
-
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
|
-
import "next/image.js";
|
|
18
10
|
import "../IconBillboard/IconBillboard.css.js";
|
|
19
|
-
/* empty css */
|
|
20
|
-
import { Button } from "../Button/Button.js";
|
|
21
|
-
import "../Button/Button.css.js";
|
|
22
11
|
import "react";
|
|
23
|
-
import "react-use";
|
|
24
12
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
13
|
+
import "../Button/Button.css.js";
|
|
25
14
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
15
|
+
import "react-use";
|
|
26
16
|
import "clsx";
|
|
27
17
|
import "../Table/Table.css.js";
|
|
28
18
|
import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
29
19
|
import "@hookform/resolvers/zod";
|
|
30
20
|
import "../Input/Checkbox.js";
|
|
31
21
|
import "../Input/CurrencyInput.js";
|
|
32
|
-
import "../Input/Input.css.js";
|
|
33
|
-
/* empty css */
|
|
34
22
|
import "../Input/Dropdown.js";
|
|
23
|
+
/* empty css */
|
|
35
24
|
/* empty css */
|
|
36
25
|
import "../Input/Input.js";
|
|
26
|
+
import "../Input/Input.css.js";
|
|
37
27
|
import "../Input/InputPhone.js";
|
|
38
28
|
import "../Input/InputTextArea.js";
|
|
39
29
|
import "react-hook-form";
|
|
@@ -45,6 +35,15 @@ import "iframe-resizer";
|
|
|
45
35
|
import "../Calculators/calculator.css.js";
|
|
46
36
|
/* empty css */
|
|
47
37
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
38
|
+
import "../Accordion/Accordion.js";
|
|
39
|
+
import "../Accordion/Accordion.css.js";
|
|
40
|
+
import "../AlertBanner/AlertBanner.css.js";
|
|
41
|
+
import "../Article/Article.css.js";
|
|
42
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
43
|
+
/* empty css */
|
|
44
|
+
/* empty css */
|
|
45
|
+
import "next/image.js";
|
|
46
|
+
/* empty css */
|
|
48
47
|
/* empty css */
|
|
49
48
|
import "../Carousel/index.js";
|
|
50
49
|
/* empty css */
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
3
|
-
import "../../
|
|
4
|
-
import "../../
|
|
3
|
+
import "../../Modal/contextApi/store.js";
|
|
4
|
+
import { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import { useState, useEffect } from "react";
|
|
7
|
+
import "../../Button/Button.css.js";
|
|
5
8
|
import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
6
9
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
7
10
|
/* empty css */
|
|
@@ -9,33 +12,20 @@ import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
|
9
12
|
/* empty css */
|
|
10
13
|
/* empty css */
|
|
11
14
|
import "../../Chevron/Chevron.css.js";
|
|
12
|
-
import "../../AlertBanner/AlertBanner.css.js";
|
|
13
|
-
import "../../Article/Article.css.js";
|
|
14
|
-
import "../../ArticlesSet/ArticlesSet.css.js";
|
|
15
|
-
/* empty css */
|
|
16
|
-
/* empty css */
|
|
17
|
-
/* empty css */
|
|
18
|
-
import Image from "next/image.js";
|
|
19
15
|
import "../../IconBillboard/IconBillboard.css.js";
|
|
20
|
-
/* empty css */
|
|
21
|
-
import { findMoreAxosDomains } from "../../utils/allowedAxosDomains.js";
|
|
22
|
-
import "../../Modal/contextApi/store.js";
|
|
23
|
-
import "clsx";
|
|
24
|
-
import { useState, useEffect } from "react";
|
|
25
|
-
import "../../Button/Button.css.js";
|
|
26
|
-
import { useLocation } from "react-use";
|
|
27
16
|
import "../../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
28
17
|
import "../../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
18
|
+
import { useLocation } from "react-use";
|
|
29
19
|
import "../../Table/Table.css.js";
|
|
30
20
|
import "../../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
31
21
|
import "@hookform/resolvers/zod";
|
|
32
22
|
import "../../Input/Checkbox.js";
|
|
33
23
|
import "../../Input/CurrencyInput.js";
|
|
34
|
-
import "../../Input/Input.css.js";
|
|
35
|
-
/* empty css */
|
|
36
24
|
import "../../Input/Dropdown.js";
|
|
25
|
+
/* empty css */
|
|
37
26
|
/* empty css */
|
|
38
27
|
import "../../Input/Input.js";
|
|
28
|
+
import "../../Input/Input.css.js";
|
|
39
29
|
import "../../Input/InputPhone.js";
|
|
40
30
|
import "../../Input/InputTextArea.js";
|
|
41
31
|
import "react-hook-form";
|
|
@@ -47,6 +37,15 @@ import "iframe-resizer";
|
|
|
47
37
|
import "../../Calculators/calculator.css.js";
|
|
48
38
|
/* empty css */
|
|
49
39
|
import "../../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
40
|
+
import "../../Accordion/Accordion.js";
|
|
41
|
+
import "../../Accordion/Accordion.css.js";
|
|
42
|
+
import "../../AlertBanner/AlertBanner.css.js";
|
|
43
|
+
import "../../Article/Article.css.js";
|
|
44
|
+
import "../../ArticlesSet/ArticlesSet.css.js";
|
|
45
|
+
/* empty css */
|
|
46
|
+
/* empty css */
|
|
47
|
+
import Image from "next/image.js";
|
|
48
|
+
/* empty css */
|
|
50
49
|
/* empty css */
|
|
51
50
|
import "../../Carousel/index.js";
|
|
52
51
|
/* empty css */
|
|
@@ -13,17 +13,7 @@ import "../icons/CheckIcon/CheckIcon.css.js";
|
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
15
15
|
/* empty css */
|
|
16
|
-
import "../Accordion/Accordion.js";
|
|
17
|
-
import "../Accordion/Accordion.css.js";
|
|
18
|
-
import "../AlertBanner/AlertBanner.css.js";
|
|
19
|
-
import "../Article/Article.css.js";
|
|
20
|
-
import "../ArticlesSet/ArticlesSet.css.js";
|
|
21
|
-
/* empty css */
|
|
22
|
-
/* empty css */
|
|
23
|
-
/* empty css */
|
|
24
|
-
import "next/image.js";
|
|
25
16
|
import { header_section } from "../IconBillboard/IconBillboard.css.js";
|
|
26
|
-
/* empty css */
|
|
27
17
|
import "../Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js";
|
|
28
18
|
import "../Calculators/ApyCalculator/ApyCalculator.css.js";
|
|
29
19
|
import "../Table/Table.css.js";
|
|
@@ -31,11 +21,11 @@ import "../Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
|
31
21
|
import "@hookform/resolvers/zod";
|
|
32
22
|
import "../Input/Checkbox.js";
|
|
33
23
|
import "../Input/CurrencyInput.js";
|
|
34
|
-
import "../Input/Input.css.js";
|
|
35
|
-
/* empty css */
|
|
36
24
|
import "../Input/Dropdown.js";
|
|
25
|
+
/* empty css */
|
|
37
26
|
/* empty css */
|
|
38
27
|
import "../Input/Input.js";
|
|
28
|
+
import "../Input/Input.css.js";
|
|
39
29
|
import "../Input/InputPhone.js";
|
|
40
30
|
import "../Input/InputTextArea.js";
|
|
41
31
|
import "react-hook-form";
|
|
@@ -47,6 +37,15 @@ import "iframe-resizer";
|
|
|
47
37
|
import "../Calculators/calculator.css.js";
|
|
48
38
|
/* empty css */
|
|
49
39
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
40
|
+
import "../Accordion/Accordion.js";
|
|
41
|
+
import "../Accordion/Accordion.css.js";
|
|
42
|
+
import "../AlertBanner/AlertBanner.css.js";
|
|
43
|
+
import "../Article/Article.css.js";
|
|
44
|
+
import "../ArticlesSet/ArticlesSet.css.js";
|
|
45
|
+
/* empty css */
|
|
46
|
+
/* empty css */
|
|
47
|
+
import "next/image.js";
|
|
48
|
+
/* empty css */
|
|
50
49
|
/* empty css */
|
|
51
50
|
import "../Carousel/index.js";
|
|
52
51
|
/* empty css */
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
15
15
|
suppressHydrationWarning?: boolean | undefined;
|
|
16
16
|
accessKey?: string | undefined;
|
|
17
17
|
autoFocus?: boolean | undefined;
|
|
18
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
18
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
19
19
|
contextMenu?: string | undefined;
|
|
20
20
|
dir?: string | undefined;
|
|
21
21
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
@@ -54,31 +54,31 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
54
54
|
results?: number | undefined;
|
|
55
55
|
security?: string | undefined;
|
|
56
56
|
unselectable?: "on" | "off" | undefined;
|
|
57
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" |
|
|
57
|
+
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
58
58
|
is?: string | undefined;
|
|
59
59
|
"aria-activedescendant"?: string | undefined;
|
|
60
60
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
61
|
-
"aria-autocomplete"?: "none" | "
|
|
61
|
+
"aria-autocomplete"?: "none" | "both" | "inline" | "list" | undefined;
|
|
62
62
|
"aria-braillelabel"?: string | undefined;
|
|
63
63
|
"aria-brailleroledescription"?: string | undefined;
|
|
64
64
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
65
|
-
"aria-checked"?: boolean | "
|
|
65
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
66
66
|
"aria-colcount"?: number | undefined;
|
|
67
67
|
"aria-colindex"?: number | undefined;
|
|
68
68
|
"aria-colindextext"?: string | undefined;
|
|
69
69
|
"aria-colspan"?: number | undefined;
|
|
70
70
|
"aria-controls"?: string | undefined;
|
|
71
|
-
"aria-current"?: boolean | "false" | "true" | "
|
|
71
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
|
|
72
72
|
"aria-describedby"?: string | undefined;
|
|
73
73
|
"aria-description"?: string | undefined;
|
|
74
74
|
"aria-details"?: string | undefined;
|
|
75
75
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
76
|
-
"aria-dropeffect"?: "none" | "copy" | "
|
|
76
|
+
"aria-dropeffect"?: "none" | "copy" | "move" | "link" | "execute" | "popup" | undefined;
|
|
77
77
|
"aria-errormessage"?: string | undefined;
|
|
78
78
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
79
79
|
"aria-flowto"?: string | undefined;
|
|
80
80
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
81
|
-
"aria-haspopup"?: boolean | "
|
|
81
|
+
"aria-haspopup"?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
82
82
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
83
83
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
84
84
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -93,9 +93,9 @@ export declare const TableCell: ({ children, as, variant, highlighted, ...props
|
|
|
93
93
|
"aria-owns"?: string | undefined;
|
|
94
94
|
"aria-placeholder"?: string | undefined;
|
|
95
95
|
"aria-posinset"?: number | undefined;
|
|
96
|
-
"aria-pressed"?: boolean | "
|
|
96
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
97
97
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
98
|
-
"aria-relevant"?: "
|
|
98
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
99
99
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
100
100
|
"aria-roledescription"?: string | undefined;
|
|
101
101
|
"aria-rowcount"?: number | undefined;
|
package/dist/main.js
CHANGED
|
@@ -74,13 +74,10 @@ import "react";
|
|
|
74
74
|
import { ImageLinkSet } from "./ImageLink/ImageLinkSet.js";
|
|
75
75
|
import { Checkbox } from "./Input/Checkbox.js";
|
|
76
76
|
import { CurrencyInput } from "./Input/CurrencyInput.js";
|
|
77
|
-
import { DatePickerInput } from "./Input/Datepicker.js";
|
|
78
|
-
import { datePicker } from "./Input/DatePicker.css.js";
|
|
79
77
|
import { Dropdown } from "./Input/Dropdown.js";
|
|
80
78
|
import { selectInput } from "./Input/Dropdown.css.js";
|
|
81
79
|
import { Input } from "./Input/Input.js";
|
|
82
80
|
import { container, helperText, iconContainer, iconContainerBase, iconInput, input, labelClassName, wrapper } from "./Input/Input.css.js";
|
|
83
|
-
import { InputDate } from "./Input/InputDate.js";
|
|
84
81
|
import { InputPhone } from "./Input/InputPhone.js";
|
|
85
82
|
import { InputTextArea } from "./Input/InputTextArea.js";
|
|
86
83
|
import { Interstitial } from "./Interstitial/index.js";
|
|
@@ -198,7 +195,6 @@ export {
|
|
|
198
195
|
ContactUsNMLSId,
|
|
199
196
|
ContentBanner,
|
|
200
197
|
CurrencyInput,
|
|
201
|
-
DatePickerInput,
|
|
202
198
|
DealerServices,
|
|
203
199
|
default15 as DownloadIcon,
|
|
204
200
|
DownloadTile,
|
|
@@ -225,7 +221,6 @@ export {
|
|
|
225
221
|
ImageBillboardSet,
|
|
226
222
|
ImageLinkSet,
|
|
227
223
|
Input,
|
|
228
|
-
InputDate,
|
|
229
224
|
InputPhone,
|
|
230
225
|
InputTextArea,
|
|
231
226
|
Interstitial,
|
|
@@ -339,7 +334,6 @@ export {
|
|
|
339
334
|
containerIconBillboard,
|
|
340
335
|
content,
|
|
341
336
|
copy,
|
|
342
|
-
datePicker,
|
|
343
337
|
description,
|
|
344
338
|
descriptionField,
|
|
345
339
|
details,
|
|
@@ -12,7 +12,8 @@ const moreDomains = {
|
|
|
12
12
|
"{ARMS}": "https://arms.axosadvisor.com",
|
|
13
13
|
"{APPS}": "https://apps.axosbank.com",
|
|
14
14
|
"{AFP}": "https://afp.axosbank.com",
|
|
15
|
-
"{INVESTORS}": "https://investors.axosfinancial.com"
|
|
15
|
+
"{INVESTORS}": "https://investors.axosfinancial.com",
|
|
16
|
+
"{OBAXB}": "https://onlinebanking.axosbank.com"
|
|
16
17
|
// "assets.axos.com": "https://assets.axos.com",
|
|
17
18
|
// "images.axos.com": "https://images.axos.com",
|
|
18
19
|
};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const datePicker: string;
|
package/dist/Input/Datepicker.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import DatePicker from "react-date-picker";
|
|
5
|
-
import { wrapper, labelClassName, container, iconContainer, iconInput, helperText } from "./Input.css.js";
|
|
6
|
-
const DatePickerInput = (props) => {
|
|
7
|
-
const {
|
|
8
|
-
disabled,
|
|
9
|
-
label,
|
|
10
|
-
iconLeft,
|
|
11
|
-
iconRight,
|
|
12
|
-
sizes,
|
|
13
|
-
error = false,
|
|
14
|
-
helperText: helper,
|
|
15
|
-
variant
|
|
16
|
-
} = props;
|
|
17
|
-
const [value, onChange] = useState();
|
|
18
|
-
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
19
|
-
label && /* @__PURE__ */ jsx(
|
|
20
|
-
"label",
|
|
21
|
-
{
|
|
22
|
-
className: labelClassName({ error, variant }),
|
|
23
|
-
htmlFor: props.name,
|
|
24
|
-
children: label
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
28
|
-
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconLeft }) }),
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
DatePicker,
|
|
31
|
-
{
|
|
32
|
-
dayPlaceholder: "dd",
|
|
33
|
-
monthPlaceholder: "mm",
|
|
34
|
-
yearPlaceholder: "yyyy",
|
|
35
|
-
minDate: /* @__PURE__ */ new Date(),
|
|
36
|
-
onChange,
|
|
37
|
-
value
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
|
|
43
|
-
] });
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
DatePickerInput
|
|
47
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
var calendarContainer = "skzved0";
|
|
3
|
-
var calendarIcon = "skzved1";
|
|
4
|
-
var inputDate = "skzved2";
|
|
5
|
-
var verticalCenter = "skzved3";
|
|
6
|
-
var calendar = "skzved4";
|
|
7
|
-
var headerCalendar = "skzved5";
|
|
8
|
-
export {
|
|
9
|
-
calendar,
|
|
10
|
-
calendarContainer,
|
|
11
|
-
calendarIcon,
|
|
12
|
-
headerCalendar,
|
|
13
|
-
inputDate,
|
|
14
|
-
verticalCenter
|
|
15
|
-
};
|
package/dist/Input/InputDate.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from "react";
|
|
4
|
-
import DatePicker from "react-date-picker";
|
|
5
|
-
import { wrapper, labelClassName, container, iconContainer, iconInput, helperText } from "./Input.css.js";
|
|
6
|
-
const InputDate = (props) => {
|
|
7
|
-
const {
|
|
8
|
-
disabled,
|
|
9
|
-
label,
|
|
10
|
-
iconLeft,
|
|
11
|
-
iconRight,
|
|
12
|
-
sizes,
|
|
13
|
-
error = false,
|
|
14
|
-
helperText: helper,
|
|
15
|
-
variant
|
|
16
|
-
} = props;
|
|
17
|
-
const [value, onChange] = useState();
|
|
18
|
-
return /* @__PURE__ */ jsxs("div", { className: wrapper(), children: [
|
|
19
|
-
label && /* @__PURE__ */ jsx(
|
|
20
|
-
"label",
|
|
21
|
-
{
|
|
22
|
-
className: labelClassName({ error, variant }),
|
|
23
|
-
htmlFor: props.name,
|
|
24
|
-
children: label
|
|
25
|
-
}
|
|
26
|
-
),
|
|
27
|
-
/* @__PURE__ */ jsxs("div", { className: container({ size: sizes, error }), children: [
|
|
28
|
-
iconLeft && /* @__PURE__ */ jsx("span", { className: iconContainer["left"], children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconLeft }) }),
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
DatePicker,
|
|
31
|
-
{
|
|
32
|
-
dayPlaceholder: "dd",
|
|
33
|
-
monthPlaceholder: "mm",
|
|
34
|
-
yearPlaceholder: "yyyy",
|
|
35
|
-
minDate: /* @__PURE__ */ new Date(),
|
|
36
|
-
onChange,
|
|
37
|
-
value
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
iconRight && /* @__PURE__ */ jsx("span", { className: iconContainer.right, children: /* @__PURE__ */ jsx("div", { className: iconInput({ size: sizes }), children: iconRight }) })
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ jsx("span", { className: helperText({ disabled, error }), children: helper })
|
|
43
|
-
] });
|
|
44
|
-
};
|
|
45
|
-
export {
|
|
46
|
-
InputDate
|
|
47
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
.react-date-picker {
|
|
2
|
-
width: 100%;
|
|
3
|
-
}
|
|
4
|
-
.react-date-picker__wrapper {
|
|
5
|
-
border: none !important;
|
|
6
|
-
}
|
|
7
|
-
.react-calendar__month-view__weekdays__weekday {
|
|
8
|
-
width: 45px;
|
|
9
|
-
height: 22px;
|
|
10
|
-
margin: 0;
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
font-family: var(--main-font-family);
|
|
14
|
-
font-weight: 500;
|
|
15
|
-
letter-spacing: 0.2px;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
}
|
|
18
|
-
.react-calendar__month-view__weekdays__weekday {
|
|
19
|
-
font-size: 12px;
|
|
20
|
-
line-height: 16;
|
|
21
|
-
color: #2F5B88;
|
|
22
|
-
}
|
|
23
|
-
.react-calendar__month-view__weekdays__weekday > abbr {
|
|
24
|
-
text-decoration: none;
|
|
25
|
-
}
|
|
26
|
-
.react-calendar__month-view__days__day {
|
|
27
|
-
width: 49px;
|
|
28
|
-
height: 49px;
|
|
29
|
-
margin: 0;
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
}
|
|
34
|
-
.react-calendar__month-view__days__day > abbr {
|
|
35
|
-
font-family: var(--main-font-family) !important;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
letter-spacing: 0.2px;
|
|
38
|
-
color: #051A3F;
|
|
39
|
-
}
|
|
40
|
-
.react-date-picker__inputGroup__input, .react-date-picker__inputGroup__divider {
|
|
41
|
-
color: #5E6A74 !important;
|
|
42
|
-
}
|
|
43
|
-
.react-date-picker__clear-button {
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
.react-calendar__navigation__label__labelText {
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
font-size: 24px;
|
|
49
|
-
line-height: 36px;
|
|
50
|
-
letter-spacing: 0.2px;
|
|
51
|
-
color: #1E3860;
|
|
52
|
-
font-family: var(--header-font-family);
|
|
53
|
-
}
|
|
54
|
-
.react-datepicker-popper {
|
|
55
|
-
transform: translateY(40px)!important;
|
|
56
|
-
}
|
|
57
|
-
.react-calendar__month-view__days__day--neighboringMonth {
|
|
58
|
-
background-color: #F4F4F4 !important;
|
|
59
|
-
opacity: 50%;
|
|
60
|
-
}
|
|
61
|
-
.react-calendar__month-view__days__day--neighboringMonth > abbr {
|
|
62
|
-
color: #5E6A74;
|
|
63
|
-
}
|
|
64
|
-
.react-calendar__tile--active > abbr {
|
|
65
|
-
color: white;
|
|
66
|
-
}
|
|
67
|
-
.react-calendar {
|
|
68
|
-
border: 12px solid #FFFFFF4D !important;
|
|
69
|
-
border-radius: 4px;
|
|
70
|
-
}
|
|
71
|
-
.react-calendar__navigation__prev2-button, .react-calendar__navigation__next2-button {
|
|
72
|
-
display: none;
|
|
73
|
-
}
|
|
74
|
-
.react-date-picker__calendar {
|
|
75
|
-
max-width: 100% !important;
|
|
76
|
-
}
|
|
77
|
-
.react-date-picker__inputGroup__input:focus-visible {
|
|
78
|
-
outline: none;
|
|
79
|
-
}
|
|
80
|
-
.react-date-picker__inputGroup__input:invalid {
|
|
81
|
-
background: transparent !important;
|
|
82
|
-
}
|
|
83
|
-
@media screen and (max-width:320px) {
|
|
84
|
-
.react-calendar__month-view__weekdays__weekday {
|
|
85
|
-
width: 43.5px;
|
|
86
|
-
}
|
|
87
|
-
.react-calendar__month-view__days__day {
|
|
88
|
-
width: 43.5px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
@media screen and (max-width:400px) {
|
|
92
|
-
.react-calendar__navigation .react-calendar__navigation__prev-button, .react-calendar__navigation .react-calendar__navigation__next-button {
|
|
93
|
-
min-width: auto;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.skzved0 {
|
|
2
|
-
position: relative;
|
|
3
|
-
}
|
|
4
|
-
.skzved1 {
|
|
5
|
-
position: relative;
|
|
6
|
-
top: 5px;
|
|
7
|
-
left: 5px;
|
|
8
|
-
}
|
|
9
|
-
.skzved2 {
|
|
10
|
-
width: 100px;
|
|
11
|
-
padding-left: 5px;
|
|
12
|
-
padding-right: 5px;
|
|
13
|
-
line-height: 28px;
|
|
14
|
-
font-size: 14pt;
|
|
15
|
-
}
|
|
16
|
-
.skzved3 {
|
|
17
|
-
display: flex;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
align-items: center;
|
|
20
|
-
}
|
|
21
|
-
.skzved4 {
|
|
22
|
-
display: block;
|
|
23
|
-
background: #FFFFFF;
|
|
24
|
-
width: 300px;
|
|
25
|
-
border: solid 1px #CCCCCC;
|
|
26
|
-
margin: 10px auto;
|
|
27
|
-
box-shadow: 0 0 15px 0 #C0C0C0;
|
|
28
|
-
font-size: 1.3rem;
|
|
29
|
-
text-align: center;
|
|
30
|
-
z-index: 999;
|
|
31
|
-
}
|
|
32
|
-
.skzved4 .skzved5 {
|
|
33
|
-
display: flex;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
align-items: center;
|
|
36
|
-
color: #FFFFFF;
|
|
37
|
-
cursor: default;
|
|
38
|
-
font-weight: bold;
|
|
39
|
-
}
|