dhre-component-lib 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,3 @@
1
- @import '../../theme/colors/colors.scss';
2
-
3
1
  .otpMainContainer {
4
2
  display: flex;
5
3
  justify-content: center;
@@ -24,25 +22,25 @@
24
22
  }
25
23
 
26
24
  .resendContainer {
27
- display: flex;
28
- flex-direction: row;
29
- margin-top: 10px;
30
- justify-content: space-between;
25
+ display: flex;
26
+ flex-direction: row;
27
+ margin-top: 10px;
28
+ justify-content: space-between;
31
29
  }
32
30
 
33
31
  .errorText {
34
- color: $border-brand-danger;
32
+ color: #EB0542;
35
33
  font-weight: 400;
36
34
  font-size: 14px;
37
35
  }
38
36
 
39
37
  .timerText {
40
- color: $content-disabled;
38
+ color: #A7A7A7;
41
39
  font-weight: 400;
42
40
  font-size: 14px;
43
41
  }
44
42
  .resendText {
45
- color: $content-disabled;
43
+ color: #A7A7A7;
46
44
  font-weight: 700;
47
45
  font-size: 14px;
48
46
  }
@@ -1,3 +1,9 @@
1
+ .mapContainerStyle {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: absolute;
5
+ }
6
+
1
7
  .otpMainContainer {
2
8
  display: flex;
3
9
  justify-content: center;
@@ -66,26 +72,6 @@
66
72
  color: grey;
67
73
  }
68
74
 
69
- .mapContainerStyle {
70
- width: 100%;
71
- height: 100%;
72
- position: absolute;
73
- }
74
-
75
- .badge {
76
- display: inline-block;
77
- padding: 6px 12px;
78
- background-color: red;
79
- color: white;
80
- border-radius: 12px;
81
- font-size: 14px;
82
- text-align: center;
83
- cursor: pointer;
84
- }
85
- .badge:hover {
86
- background-color: darkred;
87
- }
88
-
89
75
  .button {
90
76
  padding: 8px 16px;
91
77
  font-size: 14px;
@@ -180,6 +166,20 @@
180
166
  transform: rotate(360deg);
181
167
  }
182
168
  }
169
+ .badge {
170
+ display: inline-block;
171
+ padding: 6px 12px;
172
+ background-color: red;
173
+ color: white;
174
+ border-radius: 12px;
175
+ font-size: 14px;
176
+ text-align: center;
177
+ cursor: pointer;
178
+ }
179
+ .badge:hover {
180
+ background-color: darkred;
181
+ }
182
+
183
183
  .container {
184
184
  display: flex;
185
185
  flex-direction: column;
@@ -0,0 +1,247 @@
1
+ .mapContainerStyle {
2
+ width: 100%;
3
+ height: 100%;
4
+ position: absolute;
5
+ }
6
+
7
+ .button {
8
+ padding: 8px 16px;
9
+ font-size: 14px;
10
+ border-radius: 4px;
11
+ border: none;
12
+ cursor: pointer;
13
+ transition: background-color 0.3s ease;
14
+ }
15
+ .button.text {
16
+ background-color: transparent;
17
+ color: inherit;
18
+ }
19
+ .button.outlined {
20
+ background-color: transparent;
21
+ border: 2px solid currentColor;
22
+ }
23
+ .button.contained {
24
+ background-color: currentColor;
25
+ color: #fff;
26
+ }
27
+ .button.contained.primary:hover {
28
+ background-color: #1565c0;
29
+ }
30
+ .button.contained.secondary:hover {
31
+ background-color: #7b1fa2;
32
+ }
33
+ .button.contained.success:hover {
34
+ background-color: #388e3c;
35
+ }
36
+ .button.contained.error:hover {
37
+ background-color: #d32f2f;
38
+ }
39
+ .button.contained.warning:hover {
40
+ background-color: #f57c00;
41
+ }
42
+ .button.contained.info:hover {
43
+ background-color: #1976d2;
44
+ }
45
+ .button.primary {
46
+ color: #1976d2;
47
+ }
48
+ .button.secondary {
49
+ color: #9c27b0;
50
+ }
51
+ .button.success {
52
+ color: #4caf50;
53
+ }
54
+ .button.error {
55
+ color: #f44336;
56
+ }
57
+ .button.warning {
58
+ color: yellow;
59
+ }
60
+
61
+ .otpMainContainer {
62
+ display: flex;
63
+ justify-content: center;
64
+ flex-direction: column;
65
+ margin: 10px;
66
+ width: 343px;
67
+ }
68
+
69
+ .otpInputDiv {
70
+ flex-direction: row;
71
+ gap: 12px;
72
+ display: flex;
73
+ }
74
+
75
+ .otpInput {
76
+ width: 76px;
77
+ height: 48px;
78
+ text-align: center;
79
+ font-size: 18px;
80
+ font-weight: 400;
81
+ border-radius: 8px;
82
+ }
83
+
84
+ .resendContainer {
85
+ display: flex;
86
+ flex-direction: row;
87
+ margin-top: 10px;
88
+ justify-content: space-between;
89
+ }
90
+
91
+ .errorText {
92
+ color: #EB0542;
93
+ font-weight: 400;
94
+ font-size: 14px;
95
+ }
96
+
97
+ .timerText {
98
+ color: #A7A7A7;
99
+ font-weight: 400;
100
+ font-size: 14px;
101
+ }
102
+
103
+ .resendText {
104
+ color: #A7A7A7;
105
+ font-weight: 700;
106
+ font-size: 14px;
107
+ }
108
+
109
+ .spinner {
110
+ border-style: solid;
111
+ border-radius: 50%;
112
+ border-color: transparent;
113
+ border-top-color: currentColor;
114
+ animation: spin 1s linear infinite;
115
+ }
116
+
117
+ .spinner.primary {
118
+ color: #007bff;
119
+ }
120
+
121
+ .spinner.secondary {
122
+ color: #6c757d;
123
+ }
124
+
125
+ .spinner.error {
126
+ color: #dc3545;
127
+ }
128
+
129
+ .spinner.success {
130
+ color: #28a745;
131
+ }
132
+
133
+ .spinner.info {
134
+ color: #17a2b8;
135
+ }
136
+
137
+ .spinner.warning {
138
+ color: #ffc107;
139
+ }
140
+
141
+ @keyframes spin {
142
+ 0% {
143
+ transform: rotate(0deg);
144
+ }
145
+ 100% {
146
+ transform: rotate(360deg);
147
+ }
148
+ }
149
+ .breadcrumb {
150
+ display: flex;
151
+ align-items: center;
152
+ font-size: 16px;
153
+ }
154
+
155
+ .breadcrumbItem {
156
+ color: blue;
157
+ cursor: pointer;
158
+ margin-right: 8px;
159
+ }
160
+ .breadcrumbItem:hover {
161
+ text-decoration: underline;
162
+ }
163
+
164
+ .separator {
165
+ margin: 0 8px;
166
+ color: grey;
167
+ }
168
+
169
+ .badge {
170
+ display: inline-block;
171
+ padding: 6px 12px;
172
+ background-color: red;
173
+ color: white;
174
+ border-radius: 12px;
175
+ font-size: 14px;
176
+ text-align: center;
177
+ cursor: pointer;
178
+ }
179
+ .badge:hover {
180
+ background-color: darkred;
181
+ }
182
+
183
+ .container {
184
+ display: flex;
185
+ flex-direction: column;
186
+ align-items: center;
187
+ justify-content: center;
188
+ }
189
+
190
+ .spinner {
191
+ border: 2px solid transparent;
192
+ border-radius: 50%;
193
+ border-top: 2px solid currentColor;
194
+ animation: spin 1s linear infinite;
195
+ }
196
+
197
+ .spinnerInner {
198
+ width: 100%;
199
+ height: 100%;
200
+ border-radius: 50%;
201
+ }
202
+
203
+ .errorText {
204
+ color: red;
205
+ }
206
+
207
+ .button {
208
+ padding: 8px 16px;
209
+ border: none;
210
+ border-radius: 4px;
211
+ cursor: pointer;
212
+ font-size: 16px;
213
+ }
214
+ .button-text {
215
+ background: none;
216
+ }
217
+ .button-outlined {
218
+ border: 1px solid currentColor;
219
+ }
220
+ .button-contained {
221
+ background-color: currentColor;
222
+ color: white;
223
+ }
224
+ .button-primary {
225
+ color: blue;
226
+ }
227
+ .button-secondary {
228
+ color: gray;
229
+ }
230
+ .button-small {
231
+ font-size: 12px;
232
+ }
233
+ .button-medium {
234
+ font-size: 16px;
235
+ }
236
+ .button-large {
237
+ font-size: 20px;
238
+ }
239
+
240
+ @keyframes spin {
241
+ 0% {
242
+ transform: rotate(0deg);
243
+ }
244
+ 100% {
245
+ transform: rotate(360deg);
246
+ }
247
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-component-lib",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "test": "jest",