dhre-component-lib 0.2.2 → 0.2.3

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,3 +1,37 @@
1
+ .badge {
2
+ display: inline-block;
3
+ padding: 6px 12px;
4
+ background-color: red;
5
+ color: white;
6
+ border-radius: 12px;
7
+ font-size: 14px;
8
+ text-align: center;
9
+ cursor: pointer;
10
+ }
11
+ .badge:hover {
12
+ background-color: darkred;
13
+ }
14
+
15
+ .breadcrumb {
16
+ display: flex;
17
+ align-items: center;
18
+ font-size: 16px;
19
+ }
20
+
21
+ .breadcrumbItem {
22
+ color: blue;
23
+ cursor: pointer;
24
+ margin-right: 8px;
25
+ }
26
+ .breadcrumbItem:hover {
27
+ text-decoration: underline;
28
+ }
29
+
30
+ .separator {
31
+ margin: 0 8px;
32
+ color: grey;
33
+ }
34
+
1
35
  .mapContainerStyle {
2
36
  width: 100%;
3
37
  height: 100%;
@@ -52,80 +86,6 @@
52
86
  font-size: 14px;
53
87
  }
54
88
 
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
89
  .spinner {
130
90
  border-style: solid;
131
91
  border-radius: 50%;
@@ -166,20 +126,6 @@
166
126
  transform: rotate(360deg);
167
127
  }
168
128
  }
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
129
  .container {
184
130
  display: flex;
185
131
  flex-direction: column;
@@ -244,4 +190,57 @@
244
190
  100% {
245
191
  transform: rotate(360deg);
246
192
  }
193
+ }
194
+ .button {
195
+ padding: 8px 16px;
196
+ font-size: 14px;
197
+ border-radius: 4px;
198
+ border: none;
199
+ cursor: pointer;
200
+ transition: background-color 0.3s ease;
201
+ }
202
+ .button.text {
203
+ background-color: transparent;
204
+ color: inherit;
205
+ }
206
+ .button.outlined {
207
+ background-color: transparent;
208
+ border: 2px solid currentColor;
209
+ }
210
+ .button.contained {
211
+ background-color: currentColor;
212
+ color: #fff;
213
+ }
214
+ .button.contained.primary:hover {
215
+ background-color: #1565c0;
216
+ }
217
+ .button.contained.secondary:hover {
218
+ background-color: #7b1fa2;
219
+ }
220
+ .button.contained.success:hover {
221
+ background-color: #388e3c;
222
+ }
223
+ .button.contained.error:hover {
224
+ background-color: #d32f2f;
225
+ }
226
+ .button.contained.warning:hover {
227
+ background-color: #f57c00;
228
+ }
229
+ .button.contained.info:hover {
230
+ background-color: #1976d2;
231
+ }
232
+ .button.primary {
233
+ color: #1976d2;
234
+ }
235
+ .button.secondary {
236
+ color: #9c27b0;
237
+ }
238
+ .button.success {
239
+ color: #4caf50;
240
+ }
241
+ .button.error {
242
+ color: #f44336;
243
+ }
244
+ .button.warning {
245
+ color: yellow;
247
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-component-lib",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -1,247 +0,0 @@
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
- }