@axos-web-dev/shared-components 0.0.110 → 0.0.111
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 +2 -1
- package/dist/Forms/ClearingForm.js +26 -12
- package/dist/Forms/CpraRequest.d.ts +27 -0
- package/dist/Forms/CpraRequest.js +733 -0
- package/dist/Forms/Forms.css.d.ts +1 -0
- package/dist/Forms/Forms.css.js +2 -0
- package/dist/Forms/ScheduleCall.js +1 -4
- package/dist/Forms/index.d.ts +1 -0
- package/dist/Forms/index.js +4 -1
- package/dist/Input/CheckboxGroup.js +1 -2
- package/dist/Input/InputProps.d.ts +0 -6
- package/dist/assets/Forms/Forms.css +4 -0
- package/dist/main.js +4 -1
- package/package.json +118 -118
- 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/Forms/Forms.css.js
CHANGED
|
@@ -23,6 +23,7 @@ var fullRowForm = "tfms6a19";
|
|
|
23
23
|
var one_row = "tfms6a1a";
|
|
24
24
|
var section_title = createRuntimeFn({ defaultClassName: "tfms6a1b", variantClassNames: { variant: { primary: "tfms6a1c", secondary: "tfms6a1d", tertiary: "tfms6a1e", quaternary: "tfms6a1f" } }, defaultVariants: {}, compoundVariants: [] });
|
|
25
25
|
var checkbox_group = "tfms6a1g";
|
|
26
|
+
var ro_input = "tfms6a1h";
|
|
26
27
|
export {
|
|
27
28
|
actions,
|
|
28
29
|
checkbox_group,
|
|
@@ -36,6 +37,7 @@ export {
|
|
|
36
37
|
headerForm,
|
|
37
38
|
iconForm,
|
|
38
39
|
one_row,
|
|
40
|
+
ro_input,
|
|
39
41
|
section_title,
|
|
40
42
|
succes_check_mark,
|
|
41
43
|
success_circle,
|
|
@@ -15,7 +15,6 @@ import "../Input/Input.css.js";
|
|
|
15
15
|
import "../Input/InputAmount.js";
|
|
16
16
|
import { InputPhone } from "../Input/InputPhone.js";
|
|
17
17
|
import "../Input/InputTextArea.js";
|
|
18
|
-
import { InputDate } from "../Input/InputDate.js";
|
|
19
18
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
20
19
|
import SvgAxosX from "../icons/AxosX/index.js";
|
|
21
20
|
import SvgComponent from "../icons/AxosX/Blue.js";
|
|
@@ -221,9 +220,7 @@ const ScheduleCall = ({
|
|
|
221
220
|
/* @__PURE__ */ jsx("option", { value: "5:00 pm", children: "5:00 pm" })
|
|
222
221
|
]
|
|
223
222
|
}
|
|
224
|
-
) })
|
|
225
|
-
/* @__PURE__ */ jsx(InputDate, { onDateChange: () => {
|
|
226
|
-
} })
|
|
223
|
+
) })
|
|
227
224
|
] }),
|
|
228
225
|
children,
|
|
229
226
|
/* @__PURE__ */ jsx("div", { className: disclosureForm({ variant }), children: disclosure }),
|
package/dist/Forms/index.d.ts
CHANGED
package/dist/Forms/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { ContactUsNMLSId } from "./ContactUsNMLSId.js";
|
|
|
8
8
|
import { DealerServices } from "./DealerServices.js";
|
|
9
9
|
import { EmailOnly } from "./EmailOnly.js";
|
|
10
10
|
import { EmailUs } from "./EmailUs.js";
|
|
11
|
-
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms.css.js";
|
|
11
|
+
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms.css.js";
|
|
12
12
|
import { QuickPricer } from "./QuickPricer.js";
|
|
13
13
|
import { SalesforceFieldsForm, SalesforceSchema } from "./SalesforceFieldsForm.js";
|
|
14
14
|
import { ScheduleCall } from "./ScheduleCall.js";
|
|
@@ -16,6 +16,7 @@ import { ScheduleCallPremier } from "./ScheduleCallPremier.js";
|
|
|
16
16
|
import { SuccesFormWrapper } from "./SuccesForm.js";
|
|
17
17
|
import { WCPLSurvey } from "./WcplSurvey.js";
|
|
18
18
|
import { ClearingForm } from "./ClearingForm.js";
|
|
19
|
+
import { CpraRequest } from "./CpraRequest.js";
|
|
19
20
|
export {
|
|
20
21
|
ApplicationStart,
|
|
21
22
|
ClearingForm,
|
|
@@ -25,6 +26,7 @@ export {
|
|
|
25
26
|
ContactUsAAS,
|
|
26
27
|
ContactUsBusiness,
|
|
27
28
|
ContactUsNMLSId,
|
|
29
|
+
CpraRequest,
|
|
28
30
|
DealerServices,
|
|
29
31
|
EmailOnly,
|
|
30
32
|
EmailUs,
|
|
@@ -47,6 +49,7 @@ export {
|
|
|
47
49
|
headerForm,
|
|
48
50
|
iconForm,
|
|
49
51
|
one_row,
|
|
52
|
+
ro_input,
|
|
50
53
|
section_title,
|
|
51
54
|
succes_check_mark,
|
|
52
55
|
success_circle,
|
|
@@ -36,9 +36,3 @@ export interface RadioButtonProps extends InputProps {
|
|
|
36
36
|
value: string | number;
|
|
37
37
|
groupName: string;
|
|
38
38
|
}
|
|
39
|
-
export interface DatepickerInputProps extends InputProps {
|
|
40
|
-
month?: string;
|
|
41
|
-
selected?: string;
|
|
42
|
-
show?: boolean;
|
|
43
|
-
onDateChange: (day: string) => void;
|
|
44
|
-
}
|
package/dist/main.js
CHANGED
|
@@ -51,7 +51,7 @@ import { ContactUsNMLSId } from "./Forms/ContactUsNMLSId.js";
|
|
|
51
51
|
import { DealerServices } from "./Forms/DealerServices.js";
|
|
52
52
|
import { EmailOnly } from "./Forms/EmailOnly.js";
|
|
53
53
|
import { EmailUs } from "./Forms/EmailUs.js";
|
|
54
|
-
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms/Forms.css.js";
|
|
54
|
+
import { actions, checkbox_group, descriptionField, disclosureForm, form, formContainer, formWrapper, fullRowForm, headerContainer, headerForm, iconForm, one_row, ro_input, section_title, succes_check_mark, success_circle, success_icon, success_wrap } from "./Forms/Forms.css.js";
|
|
55
55
|
import { QuickPricer } from "./Forms/QuickPricer.js";
|
|
56
56
|
import { SalesforceFieldsForm, SalesforceSchema } from "./Forms/SalesforceFieldsForm.js";
|
|
57
57
|
import { ScheduleCall } from "./Forms/ScheduleCall.js";
|
|
@@ -59,6 +59,7 @@ import { ScheduleCallPremier } from "./Forms/ScheduleCallPremier.js";
|
|
|
59
59
|
import { SuccesFormWrapper } from "./Forms/SuccesForm.js";
|
|
60
60
|
import { WCPLSurvey } from "./Forms/WcplSurvey.js";
|
|
61
61
|
import { ClearingForm } from "./Forms/ClearingForm.js";
|
|
62
|
+
import { CpraRequest } from "./Forms/CpraRequest.js";
|
|
62
63
|
import { HeroBanner } from "./HeroBanner/HeroBanner.js";
|
|
63
64
|
import { headline_text, heroSupertag, hero_banner, hero_btns, hero_content, hero_embedded_image, hero_img, hero_text, hero_wrapper, logout, reversed, reversed_lg_image } from "./HeroBanner/HeroBanner.css.js";
|
|
64
65
|
import { selection_headline_text, selection_section, selection_section_bg, selection_section_content, selection_section_icon, selection_section_icon_img } from "./HeroBanner/SelectionBanner.css.js";
|
|
@@ -211,6 +212,7 @@ export {
|
|
|
211
212
|
ContactUsBusiness,
|
|
212
213
|
ContactUsNMLSId,
|
|
213
214
|
ContentBanner,
|
|
215
|
+
CpraRequest,
|
|
214
216
|
CurrencyInput,
|
|
215
217
|
DealerServices,
|
|
216
218
|
default11 as DownloadIcon,
|
|
@@ -487,6 +489,7 @@ export {
|
|
|
487
489
|
rate_pad,
|
|
488
490
|
reversed,
|
|
489
491
|
reversed_lg_image,
|
|
492
|
+
ro_input,
|
|
490
493
|
sec_subtitle,
|
|
491
494
|
sec_title,
|
|
492
495
|
section_body,
|
package/package.json
CHANGED
|
@@ -1,118 +1,118 @@
|
|
|
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 install",
|
|
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.5",
|
|
33
|
-
"@react-input/number-format": "^1.0.27",
|
|
34
|
-
"@storybook/builder-vite": "^7.6.19",
|
|
35
|
-
"@storybook/icons": "^1.2.9",
|
|
36
|
-
"@storybook/preview-api": "^7.6.19",
|
|
37
|
-
"@types/iframe-resizer": "3.5.13",
|
|
38
|
-
"@vanilla-extract/css": "^1.15.3",
|
|
39
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
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.52.1",
|
|
46
|
-
"react-markdown": "^9.0.1",
|
|
47
|
-
"react-slick": "^0.30.2",
|
|
48
|
-
"react-use": "^17.5.1",
|
|
49
|
-
"slick-carousel": "^1.8.1",
|
|
50
|
-
"typed-css-modules": "^0.9.1",
|
|
51
|
-
"vite-plugin-svgr": "^4.2.0",
|
|
52
|
-
"zod": "^3.23.8",
|
|
53
|
-
"zustand": "^4.5.4"
|
|
54
|
-
},
|
|
55
|
-
"peerDependencies": {
|
|
56
|
-
"@vanilla-extract/css-utils": "^0.1.3",
|
|
57
|
-
"@vanilla-extract/recipes": "^0.5.1",
|
|
58
|
-
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
59
|
-
"next": "^14.1.4",
|
|
60
|
-
"react": "^18.2.0",
|
|
61
|
-
"react-dom": "^18.2.0"
|
|
62
|
-
},
|
|
63
|
-
"devDependencies": {
|
|
64
|
-
"@rollup/plugin-alias": "^5.1.0",
|
|
65
|
-
"@storybook/addon-essentials": "^7.6.19",
|
|
66
|
-
"@storybook/addon-interactions": "^7.6.19",
|
|
67
|
-
"@storybook/addon-links": "^7.6.19",
|
|
68
|
-
"@storybook/addon-onboarding": "^8.1.0",
|
|
69
|
-
"@storybook/addon-themes": "^7.6.19",
|
|
70
|
-
"@storybook/blocks": "^7.6.19",
|
|
71
|
-
"@storybook/react": "^7.6.19",
|
|
72
|
-
"@storybook/react-vite": "^7.6.19",
|
|
73
|
-
"@storybook/test": "^7.6.19",
|
|
74
|
-
"@svgr/core": "^8.1.0",
|
|
75
|
-
"@svgr/plugin-prettier": "^8.1.0",
|
|
76
|
-
"@svgr/plugin-svgo": "^8.1.0",
|
|
77
|
-
"@types/lodash": "^4.17.7",
|
|
78
|
-
"@types/node": "^20.14.11",
|
|
79
|
-
"@types/react": "^18.3.3",
|
|
80
|
-
"@types/react-datepicker": "^6.2.0",
|
|
81
|
-
"@types/react-dom": "^18.3.0",
|
|
82
|
-
"@types/react-slick": "^0.23.13",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
84
|
-
"@typescript-eslint/parser": "^7.9.0",
|
|
85
|
-
"@vanilla-extract/css-utils": "^0.1.3",
|
|
86
|
-
"@vanilla-extract/recipes": "^0.5.2",
|
|
87
|
-
"@vanilla-extract/vite-plugin": "^4.0.9",
|
|
88
|
-
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
89
|
-
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
90
|
-
"eslint": "^8.57.0",
|
|
91
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
92
|
-
"eslint-plugin-react-refresh": "^0.4.7",
|
|
93
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
94
|
-
"glob": "^10.4.5",
|
|
95
|
-
"husky": "^9.0.11",
|
|
96
|
-
"next": "^14.1.4",
|
|
97
|
-
"prettier": "3.2.5",
|
|
98
|
-
"react": "^18.3.1",
|
|
99
|
-
"react-dom": "^18.3.1",
|
|
100
|
-
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
101
|
-
"rollup-plugin-svg-import": "^3.0.0",
|
|
102
|
-
"rollup-plugin-svgo": "^2.0.0",
|
|
103
|
-
"storybook": "^7.6.19",
|
|
104
|
-
"typescript": "^5.4.5",
|
|
105
|
-
"typescript-plugin-css-modules": "^5.1.0",
|
|
106
|
-
"vite": "^5.3.4",
|
|
107
|
-
"vite-plugin-dts": "^3.9.1",
|
|
108
|
-
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
109
|
-
"vite-plugin-setting-css-module": "^1.1.4",
|
|
110
|
-
"vite-tsconfig-paths": "^4.3.2"
|
|
111
|
-
},
|
|
112
|
-
"main": "index.js",
|
|
113
|
-
"directories": {
|
|
114
|
-
"lib": "lib"
|
|
115
|
-
},
|
|
116
|
-
"author": "axos-web-dev",
|
|
117
|
-
"license": "ISC"
|
|
118
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@axos-web-dev/shared-components",
|
|
3
|
+
"description": "Axos shared components library for web.",
|
|
4
|
+
"version": "0.0.111",
|
|
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 install",
|
|
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.5",
|
|
33
|
+
"@react-input/number-format": "^1.0.27",
|
|
34
|
+
"@storybook/builder-vite": "^7.6.19",
|
|
35
|
+
"@storybook/icons": "^1.2.9",
|
|
36
|
+
"@storybook/preview-api": "^7.6.19",
|
|
37
|
+
"@types/iframe-resizer": "3.5.13",
|
|
38
|
+
"@vanilla-extract/css": "^1.15.3",
|
|
39
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
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.52.1",
|
|
46
|
+
"react-markdown": "^9.0.1",
|
|
47
|
+
"react-slick": "^0.30.2",
|
|
48
|
+
"react-use": "^17.5.1",
|
|
49
|
+
"slick-carousel": "^1.8.1",
|
|
50
|
+
"typed-css-modules": "^0.9.1",
|
|
51
|
+
"vite-plugin-svgr": "^4.2.0",
|
|
52
|
+
"zod": "^3.23.8",
|
|
53
|
+
"zustand": "^4.5.4"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@vanilla-extract/css-utils": "^0.1.3",
|
|
57
|
+
"@vanilla-extract/recipes": "^0.5.1",
|
|
58
|
+
"@vanilla-extract/vite-plugin": "^4.0.3",
|
|
59
|
+
"next": "^14.1.4",
|
|
60
|
+
"react": "^18.2.0",
|
|
61
|
+
"react-dom": "^18.2.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@rollup/plugin-alias": "^5.1.0",
|
|
65
|
+
"@storybook/addon-essentials": "^7.6.19",
|
|
66
|
+
"@storybook/addon-interactions": "^7.6.19",
|
|
67
|
+
"@storybook/addon-links": "^7.6.19",
|
|
68
|
+
"@storybook/addon-onboarding": "^8.1.0",
|
|
69
|
+
"@storybook/addon-themes": "^7.6.19",
|
|
70
|
+
"@storybook/blocks": "^7.6.19",
|
|
71
|
+
"@storybook/react": "^7.6.19",
|
|
72
|
+
"@storybook/react-vite": "^7.6.19",
|
|
73
|
+
"@storybook/test": "^7.6.19",
|
|
74
|
+
"@svgr/core": "^8.1.0",
|
|
75
|
+
"@svgr/plugin-prettier": "^8.1.0",
|
|
76
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
77
|
+
"@types/lodash": "^4.17.7",
|
|
78
|
+
"@types/node": "^20.14.11",
|
|
79
|
+
"@types/react": "^18.3.3",
|
|
80
|
+
"@types/react-datepicker": "^6.2.0",
|
|
81
|
+
"@types/react-dom": "^18.3.0",
|
|
82
|
+
"@types/react-slick": "^0.23.13",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
84
|
+
"@typescript-eslint/parser": "^7.9.0",
|
|
85
|
+
"@vanilla-extract/css-utils": "^0.1.3",
|
|
86
|
+
"@vanilla-extract/recipes": "^0.5.2",
|
|
87
|
+
"@vanilla-extract/vite-plugin": "^4.0.9",
|
|
88
|
+
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
89
|
+
"esbuild-vanilla-image-loader": "^0.1.3",
|
|
90
|
+
"eslint": "^8.57.0",
|
|
91
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
92
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
|
93
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
94
|
+
"glob": "^10.4.5",
|
|
95
|
+
"husky": "^9.0.11",
|
|
96
|
+
"next": "^14.1.4",
|
|
97
|
+
"prettier": "3.2.5",
|
|
98
|
+
"react": "^18.3.1",
|
|
99
|
+
"react-dom": "^18.3.1",
|
|
100
|
+
"rollup-plugin-preserve-directives": "^0.4.0",
|
|
101
|
+
"rollup-plugin-svg-import": "^3.0.0",
|
|
102
|
+
"rollup-plugin-svgo": "^2.0.0",
|
|
103
|
+
"storybook": "^7.6.19",
|
|
104
|
+
"typescript": "^5.4.5",
|
|
105
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
106
|
+
"vite": "^5.3.4",
|
|
107
|
+
"vite-plugin-dts": "^3.9.1",
|
|
108
|
+
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
109
|
+
"vite-plugin-setting-css-module": "^1.1.4",
|
|
110
|
+
"vite-tsconfig-paths": "^4.3.2"
|
|
111
|
+
},
|
|
112
|
+
"main": "index.js",
|
|
113
|
+
"directories": {
|
|
114
|
+
"lib": "lib"
|
|
115
|
+
},
|
|
116
|
+
"author": "axos-web-dev",
|
|
117
|
+
"license": "ISC"
|
|
118
|
+
}
|
|
@@ -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
|
-
}
|