dhre-component-lib 0.1.6 → 0.1.8
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/{src/components/Badge → dist}/Badge.module.scss +0 -1
- package/{src/components/BreadCrumb → dist}/Breadcrumb.module.scss +0 -3
- package/{src/components/Button → dist}/Button.module.scss +3 -16
- package/{src/components/CircularProgress → dist}/CircularProgress.module.scss +0 -1
- package/dist/assets/output-4Fi7j5sB.css +247 -0
- package/dist/components/Avatar/Avatar.d.ts +9 -0
- package/dist/components/Avatar/Avatar.test.d.ts +1 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/Badge.d.ts +8 -0
- package/dist/components/Badge/Badge.test.d.ts +1 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/BreadCrumb/BreadCrumb.d.ts +14 -0
- package/dist/components/BreadCrumb/BreadCrumb.test.d.ts +1 -0
- package/dist/components/BreadCrumb/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +10 -0
- package/dist/components/Button/Button.test.d.ts +1 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +11 -0
- package/dist/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/CircularProgress/CircularProgress.d.ts +10 -0
- package/dist/components/CircularProgress/CircularProgress.test.d.ts +1 -0
- package/dist/components/CircularProgress/index.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +8 -0
- package/dist/components/Divider/Divider.test.d.ts +1 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Enum.d.ts +17 -0
- package/dist/components/InputTextField/InputTextField.d.ts +16 -0
- package/dist/components/InputTextField/InputTextField.test.d.ts +1 -0
- package/dist/components/InputTextField/index.d.ts +1 -0
- package/dist/components/Link/Link.d.ts +10 -0
- package/dist/components/Link/Link.test.d.ts +1 -0
- package/dist/components/Link/index.d.ts +1 -0
- package/dist/components/Map/Directions.d.ts +13 -0
- package/dist/components/Map/GoogleMap.d.ts +12 -0
- package/dist/components/Map/GoogleMapsLoader.d.ts +4 -0
- package/dist/components/Modal/Modal.d.ts +10 -0
- package/dist/components/Modal/Modal.test.d.ts +1 -0
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/Notification/Notification.d.ts +10 -0
- package/dist/components/Notification/Notification.test.d.ts +1 -0
- package/dist/components/Notification/index.d.ts +1 -0
- package/dist/components/OtpInput/OtpInput.d.ts +14 -0
- package/dist/components/OtpInput/OtpInput.test.d.ts +1 -0
- package/dist/components/OtpInput/index.d.ts +1 -0
- package/dist/components/PdfView/PdfView.d.ts +18 -0
- package/dist/components/PdfView/PdfView.test.d.ts +1 -0
- package/dist/components/PdfView/index.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +12 -0
- package/dist/components/Progress/Progress.test.d.ts +1 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/RadioButton/RadioButton.d.ts +14 -0
- package/dist/components/RadioButton/RadioButton.test.d.ts +1 -0
- package/dist/components/RadioButton/index.d.ts +1 -0
- package/dist/components/Switch/Switch.d.ts +13 -0
- package/dist/components/Switch/Switch.test.d.ts +1 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Tag/Tag.d.ts +9 -0
- package/dist/components/Tag/Tag.test.d.ts +1 -0
- package/dist/components/Tag/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +9 -0
- package/dist/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/dist/styles.css +2 -0
- package/dist/dist/styles.css.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.esm.js +9323 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +9359 -0
- package/dist/index.js.map +1 -0
- package/dist/theme/colors.d.ts +1 -0
- package/package.json +17 -7
- package/src/__mocks__/styleMock.js +0 -1
- package/src/components/Avatar/Avatar.test.tsx +0 -53
- package/src/components/Avatar/Avatar.tsx +0 -28
- package/src/components/Avatar/index.ts +0 -1
- package/src/components/Badge/Badge.test.tsx +0 -59
- package/src/components/Badge/Badge.tsx +0 -25
- package/src/components/Badge/index.ts +0 -1
- package/src/components/BreadCrumb/BreadCrumb.test.tsx +0 -90
- package/src/components/BreadCrumb/BreadCrumb.tsx +0 -45
- package/src/components/BreadCrumb/index.ts +0 -1
- package/src/components/Button/Button.test.tsx +0 -49
- package/src/components/Button/Button.tsx +0 -29
- package/src/components/Button/index.ts +0 -1
- package/src/components/Checkbox/Checkbox.test.tsx +0 -93
- package/src/components/Checkbox/Checkbox.tsx +0 -35
- package/src/components/Checkbox/index.ts +0 -1
- package/src/components/CircularProgress/CircularProgress.test.tsx +0 -39
- package/src/components/CircularProgress/CircularProgress.tsx +0 -37
- package/src/components/CircularProgress/index.ts +0 -1
- package/src/components/Divider/Divider.test.tsx +0 -44
- package/src/components/Divider/Divider.tsx +0 -24
- package/src/components/Divider/index.ts +0 -1
- package/src/components/Enum.ts +0 -19
- package/src/components/InputTextField/InputTextField.test.tsx +0 -118
- package/src/components/InputTextField/InputTextField.tsx +0 -48
- package/src/components/InputTextField/index.ts +0 -1
- package/src/components/Link/Link.test.tsx +0 -55
- package/src/components/Link/Link.tsx +0 -33
- package/src/components/Link/index.ts +0 -1
- package/src/components/Map/Directions.tsx +0 -36
- package/src/components/Map/GoogleMap.tsx +0 -186
- package/src/components/Map/GoogleMapsLoader.tsx +0 -12
- package/src/components/Modal/Modal.test.tsx +0 -74
- package/src/components/Modal/Modal.tsx +0 -39
- package/src/components/Modal/index.ts +0 -1
- package/src/components/Notification/Notification.test.tsx +0 -53
- package/src/components/Notification/Notification.tsx +0 -42
- package/src/components/Notification/index.ts +0 -1
- package/src/components/OtpInput/OtpInput.test.tsx +0 -53
- package/src/components/OtpInput/OtpInput.tsx +0 -137
- package/src/components/OtpInput/index.ts +0 -1
- package/src/components/PdfView/PdfView.test.tsx +0 -52
- package/src/components/PdfView/PdfView.tsx +0 -116
- package/src/components/PdfView/index.ts +0 -1
- package/src/components/Progress/Progress.test.tsx +0 -43
- package/src/components/Progress/Progress.tsx +0 -35
- package/src/components/Progress/index.ts +0 -1
- package/src/components/RadioButton/RadioButton.test.tsx +0 -56
- package/src/components/RadioButton/RadioButton.tsx +0 -43
- package/src/components/RadioButton/index.ts +0 -1
- package/src/components/Switch/Switch.test.tsx +0 -83
- package/src/components/Switch/Switch.tsx +0 -38
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Tag/Tag.css +0 -14
- package/src/components/Tag/Tag.test.tsx +0 -61
- package/src/components/Tag/Tag.tsx +0 -19
- package/src/components/Tag/index.ts +0 -1
- package/src/components/Tooltip/Tooltip.test.tsx +0 -68
- package/src/components/Tooltip/Tooltip.tsx +0 -38
- package/src/components/Tooltip/index.ts +0 -1
- package/src/components/index.ts +0 -15
- package/src/index.ts +0 -1
- package/src/theme/colors.ts +0 -3
- package/src/typings.d.ts +0 -1
- /package/{src/components/Map → dist}/GoogleMap.module.scss +0 -0
- /package/{src/components/Modal → dist}/Modal.module.scss +0 -0
- /package/{src/components/Notification → dist}/Notification.module.scss +0 -0
- /package/{src/components/OtpInput → dist}/OtpInput.module.scss +0 -0
- /package/{src/components/PdfView → dist}/PdfView.module.scss +0 -0
- /package/{src/components/Tooltip → dist}/Tooltip.module.scss +0 -0
- /package/{src/theme/colors → dist}/colors.scss +0 -0
- /package/{src/components/Map/index.ts → dist/components/Map/index.d.ts} +0 -0
- /package/{src/theme/Typography → dist}/typography.scss +0 -0
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* Base button styling */
|
|
2
1
|
.button {
|
|
3
2
|
padding: 8px 16px;
|
|
4
3
|
font-size: 14px;
|
|
@@ -6,61 +5,49 @@
|
|
|
6
5
|
border: none;
|
|
7
6
|
cursor: pointer;
|
|
8
7
|
transition: background-color 0.3s ease;
|
|
9
|
-
|
|
10
8
|
&.text {
|
|
11
9
|
background-color: transparent;
|
|
12
10
|
color: inherit;
|
|
13
11
|
}
|
|
14
|
-
|
|
15
12
|
&.outlined {
|
|
16
13
|
background-color: transparent;
|
|
17
14
|
border: 2px solid currentColor;
|
|
18
15
|
}
|
|
19
|
-
|
|
20
16
|
&.contained {
|
|
21
17
|
background-color: currentColor;
|
|
22
18
|
color: #fff;
|
|
23
|
-
|
|
24
19
|
&.primary:hover {
|
|
25
20
|
background-color: #1565c0;
|
|
26
21
|
}
|
|
27
|
-
|
|
28
22
|
&.secondary:hover {
|
|
29
23
|
background-color: #7b1fa2;
|
|
30
24
|
}
|
|
31
|
-
|
|
32
25
|
&.success:hover {
|
|
33
26
|
background-color: #388e3c;
|
|
34
27
|
}
|
|
35
|
-
|
|
36
28
|
&.error:hover {
|
|
37
29
|
background-color: #d32f2f;
|
|
38
30
|
}
|
|
39
|
-
|
|
40
31
|
&.warning:hover {
|
|
41
32
|
background-color: #f57c00;
|
|
42
33
|
}
|
|
43
|
-
|
|
44
34
|
&.info:hover {
|
|
45
35
|
background-color: #1976d2;
|
|
46
36
|
}
|
|
47
37
|
}
|
|
48
|
-
|
|
49
38
|
&.primary {
|
|
50
39
|
color: #1976d2;
|
|
51
40
|
}
|
|
52
|
-
|
|
53
41
|
&.secondary {
|
|
54
42
|
color: #9c27b0;
|
|
55
43
|
}
|
|
56
|
-
|
|
57
44
|
&.success {
|
|
58
45
|
color: #4caf50;
|
|
59
46
|
}
|
|
60
|
-
|
|
61
47
|
&.error {
|
|
62
48
|
color: #f44336;
|
|
63
49
|
}
|
|
64
|
-
|
|
65
50
|
&.warning {
|
|
66
|
-
color:
|
|
51
|
+
color: yellow
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
.mapContainerStyle {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: absolute;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.otpMainContainer {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
margin: 10px;
|
|
12
|
+
width: 343px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.otpInputDiv {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
gap: 12px;
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.otpInput {
|
|
22
|
+
width: 76px;
|
|
23
|
+
height: 48px;
|
|
24
|
+
text-align: center;
|
|
25
|
+
font-size: 18px;
|
|
26
|
+
font-weight: 400;
|
|
27
|
+
border-radius: 8px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.resendContainer {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
margin-top: 10px;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.errorText {
|
|
38
|
+
color: #EB0542;
|
|
39
|
+
font-weight: 400;
|
|
40
|
+
font-size: 14px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.timerText {
|
|
44
|
+
color: #A7A7A7;
|
|
45
|
+
font-weight: 400;
|
|
46
|
+
font-size: 14px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.resendText {
|
|
50
|
+
color: #A7A7A7;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.breadcrumb {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
font-size: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.breadcrumbItem {
|
|
62
|
+
color: blue;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
margin-right: 8px;
|
|
65
|
+
}
|
|
66
|
+
.breadcrumbItem:hover {
|
|
67
|
+
text-decoration: underline;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.separator {
|
|
71
|
+
margin: 0 8px;
|
|
72
|
+
color: grey;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.button {
|
|
76
|
+
padding: 8px 16px;
|
|
77
|
+
font-size: 14px;
|
|
78
|
+
border-radius: 4px;
|
|
79
|
+
border: none;
|
|
80
|
+
cursor: pointer;
|
|
81
|
+
transition: background-color 0.3s ease;
|
|
82
|
+
}
|
|
83
|
+
.button.text {
|
|
84
|
+
background-color: transparent;
|
|
85
|
+
color: inherit;
|
|
86
|
+
}
|
|
87
|
+
.button.outlined {
|
|
88
|
+
background-color: transparent;
|
|
89
|
+
border: 2px solid currentColor;
|
|
90
|
+
}
|
|
91
|
+
.button.contained {
|
|
92
|
+
background-color: currentColor;
|
|
93
|
+
color: #fff;
|
|
94
|
+
}
|
|
95
|
+
.button.contained.primary:hover {
|
|
96
|
+
background-color: #1565c0;
|
|
97
|
+
}
|
|
98
|
+
.button.contained.secondary:hover {
|
|
99
|
+
background-color: #7b1fa2;
|
|
100
|
+
}
|
|
101
|
+
.button.contained.success:hover {
|
|
102
|
+
background-color: #388e3c;
|
|
103
|
+
}
|
|
104
|
+
.button.contained.error:hover {
|
|
105
|
+
background-color: #d32f2f;
|
|
106
|
+
}
|
|
107
|
+
.button.contained.warning:hover {
|
|
108
|
+
background-color: #f57c00;
|
|
109
|
+
}
|
|
110
|
+
.button.contained.info:hover {
|
|
111
|
+
background-color: #1976d2;
|
|
112
|
+
}
|
|
113
|
+
.button.primary {
|
|
114
|
+
color: #1976d2;
|
|
115
|
+
}
|
|
116
|
+
.button.secondary {
|
|
117
|
+
color: #9c27b0;
|
|
118
|
+
}
|
|
119
|
+
.button.success {
|
|
120
|
+
color: #4caf50;
|
|
121
|
+
}
|
|
122
|
+
.button.error {
|
|
123
|
+
color: #f44336;
|
|
124
|
+
}
|
|
125
|
+
.button.warning {
|
|
126
|
+
color: yellow;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.badge {
|
|
130
|
+
display: inline-block;
|
|
131
|
+
padding: 6px 12px;
|
|
132
|
+
background-color: red;
|
|
133
|
+
color: white;
|
|
134
|
+
border-radius: 12px;
|
|
135
|
+
font-size: 14px;
|
|
136
|
+
text-align: center;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
}
|
|
139
|
+
.badge:hover {
|
|
140
|
+
background-color: darkred;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.container {
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
align-items: center;
|
|
147
|
+
justify-content: center;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.spinner {
|
|
151
|
+
border: 2px solid transparent;
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
border-top: 2px solid currentColor;
|
|
154
|
+
animation: spin 1s linear infinite;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.spinnerInner {
|
|
158
|
+
width: 100%;
|
|
159
|
+
height: 100%;
|
|
160
|
+
border-radius: 50%;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.errorText {
|
|
164
|
+
color: red;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.button {
|
|
168
|
+
padding: 8px 16px;
|
|
169
|
+
border: none;
|
|
170
|
+
border-radius: 4px;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
font-size: 16px;
|
|
173
|
+
}
|
|
174
|
+
.button-text {
|
|
175
|
+
background: none;
|
|
176
|
+
}
|
|
177
|
+
.button-outlined {
|
|
178
|
+
border: 1px solid currentColor;
|
|
179
|
+
}
|
|
180
|
+
.button-contained {
|
|
181
|
+
background-color: currentColor;
|
|
182
|
+
color: white;
|
|
183
|
+
}
|
|
184
|
+
.button-primary {
|
|
185
|
+
color: blue;
|
|
186
|
+
}
|
|
187
|
+
.button-secondary {
|
|
188
|
+
color: gray;
|
|
189
|
+
}
|
|
190
|
+
.button-small {
|
|
191
|
+
font-size: 12px;
|
|
192
|
+
}
|
|
193
|
+
.button-medium {
|
|
194
|
+
font-size: 16px;
|
|
195
|
+
}
|
|
196
|
+
.button-large {
|
|
197
|
+
font-size: 20px;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@keyframes spin {
|
|
201
|
+
0% {
|
|
202
|
+
transform: rotate(0deg);
|
|
203
|
+
}
|
|
204
|
+
100% {
|
|
205
|
+
transform: rotate(360deg);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
.spinner {
|
|
209
|
+
border-style: solid;
|
|
210
|
+
border-radius: 50%;
|
|
211
|
+
border-color: transparent;
|
|
212
|
+
border-top-color: currentColor;
|
|
213
|
+
animation: spin 1s linear infinite;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.spinner.primary {
|
|
217
|
+
color: #007bff;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.spinner.secondary {
|
|
221
|
+
color: #6c757d;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.spinner.error {
|
|
225
|
+
color: #dc3545;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.spinner.success {
|
|
229
|
+
color: #28a745;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.spinner.info {
|
|
233
|
+
color: #17a2b8;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.spinner.warning {
|
|
237
|
+
color: #ffc107;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
@keyframes spin {
|
|
241
|
+
0% {
|
|
242
|
+
transform: rotate(0deg);
|
|
243
|
+
}
|
|
244
|
+
100% {
|
|
245
|
+
transform: rotate(360deg);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Avatar";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Badge";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
handleClick?: () => void;
|
|
5
|
+
}
|
|
6
|
+
export interface BreadcrumbProps {
|
|
7
|
+
items: BreadcrumbItem[];
|
|
8
|
+
breadcrumbClassName: string;
|
|
9
|
+
itemClassName?: string;
|
|
10
|
+
separator?: string;
|
|
11
|
+
separatorClassName?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
|
14
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./BreadCrumb";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface ButtonProps {
|
|
3
|
+
label: string;
|
|
4
|
+
variant: 'text' | 'outlined' | 'contained';
|
|
5
|
+
color: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info';
|
|
6
|
+
size: 'small' | 'medium' | 'large';
|
|
7
|
+
handleClick: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Button: React.FC<ButtonProps>;
|
|
10
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Button";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CustomCheckboxProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
6
|
+
className?: string;
|
|
7
|
+
checkboxClassName?: string;
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const CustomCheckbox: React.FC<CustomCheckboxProps>;
|
|
11
|
+
export default CustomCheckbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Checkbox";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CircularProgressProps {
|
|
3
|
+
value?: number;
|
|
4
|
+
variant?: 'determinate' | 'indeterminate';
|
|
5
|
+
color?: 'primary' | 'secondary' | 'error' | 'success' | 'info' | 'warning';
|
|
6
|
+
thickness?: number;
|
|
7
|
+
size?: number | string;
|
|
8
|
+
}
|
|
9
|
+
declare const CircularProgress: React.FC<CircularProgressProps>;
|
|
10
|
+
export default CircularProgress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./CircularProgress";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Divider";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const INPUT_TYPES: {
|
|
2
|
+
PASSWORD: string;
|
|
3
|
+
TEXT: string;
|
|
4
|
+
EMAIL: string;
|
|
5
|
+
NUMBER: string;
|
|
6
|
+
DATE: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DIVIDER_ORIENTATION: {
|
|
9
|
+
Horizontal: string;
|
|
10
|
+
Vertical: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const LINK_TARGET: {
|
|
13
|
+
Self: string;
|
|
14
|
+
Blank: string;
|
|
15
|
+
Parent: string;
|
|
16
|
+
Top: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CustomInputFieldProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
8
|
+
className?: string;
|
|
9
|
+
inputClassName?: string;
|
|
10
|
+
labelClassName?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
errorClassName?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const CustomInputField: React.FC<CustomInputFieldProps>;
|
|
16
|
+
export default CustomInputField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./InputTextField";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Link";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface GetDirectionActionProps {
|
|
3
|
+
title: string;
|
|
4
|
+
titleClasses?: string;
|
|
5
|
+
location: string;
|
|
6
|
+
locationClasses?: string;
|
|
7
|
+
hours: string;
|
|
8
|
+
hoursClasses?: string;
|
|
9
|
+
directionsLink: string;
|
|
10
|
+
buttonName?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const GetDirectionAction: React.FC<GetDirectionActionProps>;
|
|
13
|
+
export default GetDirectionAction;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MapComponentProps {
|
|
3
|
+
containerClassName?: string;
|
|
4
|
+
zoom?: number;
|
|
5
|
+
mapOptions?: google.maps.MapOptions;
|
|
6
|
+
radius?: number;
|
|
7
|
+
googleMapsUrls: string[];
|
|
8
|
+
buttonText: string;
|
|
9
|
+
buttonClassName: string;
|
|
10
|
+
}
|
|
11
|
+
declare const MapComponent: React.FC<MapComponentProps>;
|
|
12
|
+
export default MapComponent;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ModalProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
modalOverlayClassname?: string;
|
|
7
|
+
modalContentClassname?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const Modal: React.FC<ModalProps>;
|
|
10
|
+
export default Modal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Modal";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import './Notification.module.scss';
|
|
3
|
+
export interface NotificationProps {
|
|
4
|
+
message: string;
|
|
5
|
+
severity?: 'error' | 'warning' | 'info' | 'success';
|
|
6
|
+
autoHideDuration?: number;
|
|
7
|
+
onClose?: (event: React.SyntheticEvent<any> | Event, reason?: string) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const Notification: React.FC<NotificationProps>;
|
|
10
|
+
export default Notification;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Notification";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./OtpInput.module.scss";
|
|
3
|
+
interface OTPInputProps {
|
|
4
|
+
length?: number;
|
|
5
|
+
onChange: (otp: string) => void;
|
|
6
|
+
autoFocus?: boolean;
|
|
7
|
+
onResend: () => void;
|
|
8
|
+
resendDelay?: number;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
errorText?: string;
|
|
11
|
+
resendText: string;
|
|
12
|
+
}
|
|
13
|
+
declare const OTPInput: React.FC<OTPInputProps>;
|
|
14
|
+
export default OTPInput;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./OtpInput";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface PdfViewerProps {
|
|
3
|
+
content: string;
|
|
4
|
+
contentType?: string;
|
|
5
|
+
buttonText?: string;
|
|
6
|
+
loadingText?: string;
|
|
7
|
+
errorText?: string;
|
|
8
|
+
cleanUpDelay?: number;
|
|
9
|
+
buttonVariant?: "text" | "outlined" | "contained";
|
|
10
|
+
buttonColor?: "inherit" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
11
|
+
buttonSize?: "small" | "medium" | "large";
|
|
12
|
+
showLoadingSpinner?: boolean;
|
|
13
|
+
spinnerSize?: number;
|
|
14
|
+
spinnerColor?: "inherit" | "primary" | "secondary";
|
|
15
|
+
className?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const PdfView: React.FC<PdfViewerProps>;
|
|
18
|
+
export default PdfView;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./PdfView";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ProgressProps {
|
|
3
|
+
value: number;
|
|
4
|
+
max: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
barContainerClassName?: string;
|
|
7
|
+
barClassName?: string;
|
|
8
|
+
labelClassName?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Progress: React.FC<ProgressProps>;
|
|
12
|
+
export default Progress;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|