@pmidc/upyog-css 1.2.36-UAT.15 → 1.2.36-UAT.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmidc/upyog-css",
3
- "version": "1.2.36-UAT.15",
3
+ "version": "1.2.36-UAT.17",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "engines": {
@@ -21,7 +21,6 @@
21
21
  ],
22
22
  "style": "./dist/index.css",
23
23
  "dependencies": {
24
- "node-sass": "4.14.1",
25
24
  "normalize.css": "8.0.1",
26
25
  "postcss-scss": "3.0.5",
27
26
  "tailwindcss": "^1.9.6",
@@ -37,7 +36,7 @@
37
36
  "gulp-livereload": "^4.0.2",
38
37
  "gulp-postcss": "9.0.1",
39
38
  "gulp-rename": "^2.0.0",
40
- "gulp-sass": "^4.1.1",
39
+ "gulp-sass": "^5.0.0",
41
40
  "postcss": "8.4.12",
42
41
  "postcss-cli": "8.3.1",
43
42
  "postcss-header": "2.0.0",
@@ -966,4 +966,4 @@ button.card-link.submit-bar {
966
966
  }
967
967
  }
968
968
 
969
- }
969
+ }
@@ -30,7 +30,7 @@
30
30
  padding: 6px 10px;
31
31
  display: block;
32
32
  @apply border border-solid border-input-border;
33
- &:hover{
33
+ &:hover {
34
34
  @apply border-2 border-solid border-primary-main;
35
35
  }
36
36
  }
@@ -95,4 +95,285 @@
95
95
  .rdrDefinedRangesWrapper {
96
96
  display: none;
97
97
  }
98
- }
98
+ }
99
+
100
+ .ndc-new-inbox-filter-card {
101
+ margin: 0;
102
+ }
103
+
104
+ .ndc-new-filter-status-wrapper {
105
+ display: flex;
106
+ flex-direction: column;
107
+ gap: 8px;
108
+ }
109
+
110
+ .ndc-new-filter-card-grid {
111
+ display: grid;
112
+ grid-template-columns: repeat(6, 1fr);
113
+ gap: 14px;
114
+ }
115
+
116
+ .ndc-new-filter-option-card {
117
+ background: #f8fafc;
118
+ border: 1px solid #e5e7eb;
119
+ border-radius: 12px;
120
+ padding: 16px;
121
+ min-height: 88px;
122
+ text-align: left;
123
+ cursor: pointer;
124
+ transition: all 0.2s ease;
125
+ position: relative;
126
+ overflow: hidden;
127
+ font-family: inherit;
128
+ font-size: 14px;
129
+
130
+ &.active {
131
+ background: #e0f2fe;
132
+ border-color: #38bdf8;
133
+ box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
134
+ }
135
+
136
+ &.primary {
137
+ background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
138
+ color: white;
139
+
140
+ &.active {
141
+ background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
142
+ box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
143
+ transform: translateY(-1px);
144
+ }
145
+ }
146
+
147
+ &.success {
148
+ background: linear-gradient(135deg, #10b981 0%, #059669 100%);
149
+ color: white;
150
+
151
+ &.active {
152
+ background: linear-gradient(135deg, #059669 0%, #047857 100%);
153
+ box-shadow: 0 10px 24px rgba(16, 185, 129, 0.25);
154
+ transform: translateY(-1px);
155
+ }
156
+ }
157
+
158
+ &.warning {
159
+ background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
160
+ color: white;
161
+
162
+ &.active {
163
+ background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
164
+ box-shadow: 0 10px 24px rgba(245, 158, 11, 0.25);
165
+ transform: translateY(-1px);
166
+ }
167
+ }
168
+
169
+ &.danger {
170
+ background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
171
+ color: white;
172
+
173
+ &.active {
174
+ background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
175
+ box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25);
176
+ transform: translateY(-1px);
177
+ }
178
+ }
179
+
180
+ &.info {
181
+ background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
182
+ color: white;
183
+
184
+ &.active {
185
+ background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
186
+ box-shadow: 0 10px 24px rgba(6, 182, 212, 0.25);
187
+ transform: translateY(-1px);
188
+ }
189
+ }
190
+
191
+ &.indigo {
192
+ background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
193
+ color: white;
194
+
195
+ &.active {
196
+ background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
197
+ box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
198
+ transform: translateY(-1px);
199
+ }
200
+ }
201
+
202
+ &.teal {
203
+ background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
204
+ color: white;
205
+
206
+ &.active {
207
+ background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
208
+ box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25);
209
+ transform: translateY(-1px);
210
+ }
211
+ }
212
+
213
+ &.pink {
214
+ background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
215
+ color: white;
216
+
217
+ &.active {
218
+ background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
219
+ box-shadow: 0 10px 24px rgba(219, 39, 119, 0.25);
220
+ transform: translateY(-1px);
221
+ }
222
+ }
223
+
224
+ &.amber {
225
+ background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
226
+ color: white;
227
+
228
+ &.active {
229
+ background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
230
+ box-shadow: 0 10px 24px rgba(217, 119, 6, 0.25);
231
+ transform: translateY(-1px);
232
+ }
233
+ }
234
+
235
+ &.slate {
236
+ background: linear-gradient(135deg, #64748b 0%, #475569 100%);
237
+ color: white;
238
+
239
+ &.active {
240
+ background: linear-gradient(135deg, #475569 0%, #334155 100%);
241
+ box-shadow: 0 10px 24px rgba(71, 85, 105, 0.25);
242
+ transform: translateY(-1px);
243
+ }
244
+ }
245
+ }
246
+
247
+ .ndc-new-filter-status-card {
248
+ border: 1px solid #e5e7eb;
249
+ border-radius: 12px;
250
+ padding: 16px;
251
+ min-height: 88px;
252
+ text-align: left;
253
+ cursor: pointer;
254
+ transition: all 0.2s ease;
255
+ position: relative;
256
+ overflow: hidden;
257
+ font-family: inherit;
258
+ font-size: 14px;
259
+ }
260
+
261
+ .ndc-new-filter-status-title,
262
+ .ndc-new-filter-option-title {
263
+ font-weight: 700;
264
+ font-size: 14px;
265
+ color: #f9f9f9;
266
+ }
267
+
268
+ .ndc-new-filter-status-count {
269
+ font-size: 13px;
270
+ font-weight: 600;
271
+ margin-top: 8px;
272
+ color: white;
273
+ background: rgba(255, 255, 255, 0.25);
274
+ padding: 4px 10px;
275
+ border-radius: 12px;
276
+ display: inline-block;
277
+ min-width: 30px;
278
+ text-align: center;
279
+ }
280
+
281
+ .ndc-new-filter-option-subtitle {
282
+ font-size: 12px;
283
+ margin-top: 6px;
284
+ color: white;
285
+ }
286
+
287
+ .ndc-new-filter-card-check {
288
+ position: absolute;
289
+ top: 8px;
290
+ right: 8px;
291
+ width: 20px;
292
+ height: 20px;
293
+ border-radius: 50%;
294
+ background: #2563eb;
295
+ color: white;
296
+ display: flex;
297
+ align-items: center;
298
+ justify-content: center;
299
+ font-size: 12px;
300
+ font-weight: 700;
301
+ }
302
+
303
+ .ndc-new-filter-card-icon {
304
+ position: absolute;
305
+ bottom: 8px;
306
+ right: 8px;
307
+ font-size: 14px;
308
+ color: #f9fafc;
309
+ opacity: 0.5;
310
+ }
311
+
312
+ .ndc-new-filter-show-more {
313
+ margin-top: 12px;
314
+ cursor: pointer;
315
+ font-weight: 600;
316
+ font-size: 12px;
317
+ color: #2563eb;
318
+ display: inline-flex;
319
+ align-items: center;
320
+ gap: 6px;
321
+ transition: all 0.2s ease;
322
+ background: transparent;
323
+ border: none;
324
+ padding: 0;
325
+ font-family: inherit;
326
+
327
+ &:hover {
328
+ background: #eff6ff;
329
+ border-color: #bfdbfe;
330
+ }
331
+ }
332
+
333
+ .ndc-new-filter-show-more-icon {
334
+ width: 28px;
335
+ height: 28px;
336
+ border-radius: 999px;
337
+ display: inline-flex;
338
+ align-items: center;
339
+ justify-content: center;
340
+ font-size: 12px;
341
+ color: #457fff;
342
+ background: #eff6ff;
343
+ }
344
+
345
+ @media (max-width: 1400px) {
346
+ .ndc-new-filter-card-grid,
347
+ .ndc-new-filter-status-grid {
348
+ grid-template-columns: repeat(4, minmax(140px, 1fr));
349
+ }
350
+ }
351
+
352
+ @media (max-width: 1100px) {
353
+ .ndc-new-filter-card-grid,
354
+ .ndc-new-filter-status-grid {
355
+ grid-template-columns: repeat(3, minmax(120px, 1fr));
356
+ }
357
+ }
358
+
359
+ @media (max-width: 768px) {
360
+ .ndc-new-filter-card-grid,
361
+ .ndc-new-filter-status-grid {
362
+ grid-template-columns: repeat(2, 1fr);
363
+ }
364
+
365
+ .ndc-new-filter-option-card,
366
+ .ndc-new-filter-status-card {
367
+ min-height: 72px;
368
+ padding: 12px;
369
+ }
370
+
371
+ .ndc-new-filter-option-title,
372
+ .ndc-new-filter-status-title {
373
+ font-size: 12px;
374
+ }
375
+
376
+ .ndc-new-filter-status-count {
377
+ font-size: 11px;
378
+ }
379
+ }
@@ -0,0 +1,382 @@
1
+ .new-inbox-topbar {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: space-between;
5
+ gap: 16px;
6
+ padding: 16px;
7
+ border-radius: 16px;
8
+ border: 1px solid #e2e8f0;
9
+ background: #ffffff;
10
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
11
+ flex-wrap: wrap;
12
+ }
13
+
14
+ .new-inbox-tabs {
15
+ display: flex;
16
+ gap: 8px;
17
+ flex-wrap: nowrap;
18
+ overflow-x: auto;
19
+ max-width: calc(100% - 280px);
20
+ padding-bottom: 4px;
21
+ scrollbar-width: none;
22
+ }
23
+
24
+ .new-inbox-tab {
25
+ padding: 6px 10px;
26
+ border-radius: 999px;
27
+ border: 1px solid #e5e7eb;
28
+ background: #f8fafc;
29
+ font-weight: 600;
30
+ font-size: 11px;
31
+ cursor: pointer;
32
+ white-space: nowrap;
33
+ font-family: inherit;
34
+ }
35
+
36
+ .new-inbox-tab-active {
37
+ background: #2563eb;
38
+ color: #ffffff;
39
+ border: 1px solid #2563eb;
40
+ box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
41
+ }
42
+
43
+ .new-inbox-tab-count {
44
+ margin-left: 6px;
45
+ padding: 2px 6px;
46
+ border-radius: 999px;
47
+ background: #e2e8f0;
48
+ color: #475569;
49
+ font-size: 11px;
50
+ font-weight: 700;
51
+ }
52
+
53
+ .new-inbox-tab-count-active {
54
+ background: rgba(255, 255, 255, 0.2);
55
+ color: #ffffff;
56
+ }
57
+
58
+ .new-inbox-search {
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 8px;
62
+ padding: 10px 14px;
63
+ border: 1px solid #e2e8f0;
64
+ border-radius: 10px;
65
+ min-width: 260px;
66
+ background: #f8fafc;
67
+ color: #6b7280;
68
+ font-size: 12px;
69
+ }
70
+
71
+ .new-inbox-search-input {
72
+ border: none;
73
+ outline: none;
74
+ background: transparent;
75
+ width: 100%;
76
+ font-size: 12px;
77
+ color: #111827;
78
+ }
79
+ .new-inbox-wrapper {
80
+ margin-top: 32px;
81
+ padding: 20px;
82
+ background: #f8fafc;
83
+ border-radius: 12px;
84
+ }
85
+
86
+ .new-inbox-header {
87
+ display: flex;
88
+ align-items: center;
89
+ gap: 10px;
90
+ font-size: 24px;
91
+ font-weight: 700;
92
+ margin-bottom: 12px;
93
+ }
94
+
95
+ .new-inbox-count-pill {
96
+ display: inline-flex;
97
+ align-items: center;
98
+ justify-content: center;
99
+ min-width: 28px;
100
+ height: 28px;
101
+ padding: 0 8px;
102
+ border-radius: 999px;
103
+ background: #2563eb;
104
+ color: #ffffff;
105
+ font-size: 12px;
106
+ font-weight: 700;
107
+ }
108
+
109
+ .new-inbox-layout {
110
+ display: block;
111
+ }
112
+
113
+ .new-inbox-top-filters {
114
+ margin: 12px 0 16px;
115
+ background: #ffffff;
116
+ border: 1px solid #e2e8f0;
117
+ border-radius: 16px;
118
+ padding: 18px;
119
+ box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
120
+ }
121
+
122
+ .new-inbox-tenant-selector {
123
+ display: flex;
124
+ flex-direction: column;
125
+ align-items: flex-start;
126
+ gap: 10px;
127
+ }
128
+
129
+ .new-inbox-tenant-dropdown {
130
+ width: min(100%, 340px);
131
+ }
132
+
133
+ .new-inbox-table-card {
134
+ margin-top: 16px;
135
+ background: #ffffff;
136
+ border: 1px solid #e2e8f0;
137
+ border-radius: 16px;
138
+ box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
139
+ overflow: hidden;
140
+ }
141
+
142
+ .new-inbox-table-header {
143
+ padding: 18px 20px;
144
+ font-size: 18px;
145
+ font-weight: 700;
146
+ border-bottom: 1px solid #e2e8f0;
147
+ }
148
+
149
+ .new-inbox-pagination {
150
+ display: flex;
151
+ align-items: center;
152
+ justify-content: flex-end;
153
+ gap: 12px;
154
+ padding: 12px 20px 18px;
155
+ border-top: 1px solid #eef2f7;
156
+ font-size: 12px;
157
+ color: #6b7280;
158
+ background: #ffffff;
159
+ border-radius: 0 0 16px 16px;
160
+ margin-top: 16px;
161
+ }
162
+
163
+ .new-inbox-pagination-button {
164
+ border: 1px solid #e5e7eb;
165
+ background: #ffffff;
166
+ border-radius: 8px;
167
+ padding: 4px 8px;
168
+ cursor: pointer;
169
+ font-family: inherit;
170
+ }
171
+
172
+ .new-inbox-pagination-button-disabled {
173
+ opacity: 0.5;
174
+ cursor: not-allowed;
175
+ }
176
+
177
+ .new-inbox-pagination-select {
178
+ border: 1px solid #e5e7eb;
179
+ border-radius: 8px;
180
+ padding: 4px 8px;
181
+ background: #ffffff;
182
+ font-family: inherit;
183
+ }
184
+
185
+ .new-inbox-pagination-info {
186
+ font-weight: 500;
187
+ }
188
+
189
+ /* Mobile responsive styles */
190
+ @media screen and (max-width: 768px) {
191
+ .new-inbox-tenant-dropdown {
192
+ width: 100%;
193
+ }
194
+
195
+ .new-inbox-topbar {
196
+ flex-direction: column;
197
+ align-items: stretch;
198
+ gap: 12px;
199
+ }
200
+
201
+ .new-inbox-tabs {
202
+ flex-wrap: wrap;
203
+ max-width: 100%;
204
+ overflow-x: visible;
205
+ }
206
+
207
+ .new-inbox-search {
208
+ width: 100%;
209
+ min-width: unset;
210
+ }
211
+ }
212
+
213
+ /* Filter Drawer Styles */
214
+ .filter-drawer-overlay {
215
+ position: fixed;
216
+ top: 0;
217
+ left: 0;
218
+ right: 0;
219
+ bottom: 0;
220
+ background: rgba(0, 0, 0, 0.5);
221
+ z-index: 999;
222
+ animation: fadeIn 0.3s ease-in-out;
223
+ }
224
+
225
+ @keyframes fadeIn {
226
+ from {
227
+ opacity: 0;
228
+ }
229
+ to {
230
+ opacity: 1;
231
+ }
232
+ }
233
+
234
+ @keyframes slideUp {
235
+ from {
236
+ transform: translateY(100%);
237
+ }
238
+ to {
239
+ transform: translateY(0);
240
+ }
241
+ }
242
+
243
+ .filter-drawer {
244
+ position: fixed;
245
+ bottom: 0;
246
+ left: 0;
247
+ right: 0;
248
+ background: white;
249
+ border-radius: 16px 16px 0 0;
250
+ max-height: 80vh;
251
+ display: flex;
252
+ flex-direction: column;
253
+ z-index: 1000;
254
+ animation: slideUp 0.3s ease-in-out;
255
+ box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
256
+
257
+ @media screen and (max-width: 768px) {
258
+ max-height: 85vh;
259
+ }
260
+ }
261
+
262
+ .filter-drawer-header {
263
+ padding: 16px 16px 12px;
264
+ border-bottom: 1px solid #e8e8e8;
265
+ display: flex;
266
+ justify-content: space-between;
267
+ align-items: center;
268
+ flex-shrink: 0;
269
+
270
+ h3 {
271
+ margin: 0;
272
+ font-size: 16px;
273
+ font-weight: 600;
274
+ color: #111827;
275
+ }
276
+ }
277
+
278
+ .filter-drawer-close {
279
+ background: none;
280
+ border: none;
281
+ font-size: 24px;
282
+ cursor: pointer;
283
+ color: #6b7280;
284
+ padding: 4px 8px;
285
+ display: flex;
286
+ align-items: center;
287
+ justify-content: center;
288
+ transition: color 0.2s;
289
+
290
+ &:hover {
291
+ color: #111827;
292
+ }
293
+
294
+ &:active {
295
+ color: #374151;
296
+ }
297
+ }
298
+
299
+ .filter-drawer-content {
300
+ flex: 1;
301
+ overflow-y: auto;
302
+ padding: 16px;
303
+ display: flex;
304
+ flex-direction: column;
305
+ gap: 12px;
306
+
307
+ /* Smooth scrolling */
308
+ scroll-behavior: smooth;
309
+
310
+ /* Safari bounce scroll */
311
+ -webkit-overflow-scrolling: touch;
312
+
313
+ /* Hide scrollbar in mobile */
314
+ scrollbar-width: thin;
315
+ scrollbar-color: #d4d4d4 transparent;
316
+
317
+ &::-webkit-scrollbar {
318
+ width: 6px;
319
+ }
320
+
321
+ &::-webkit-scrollbar-track {
322
+ background: transparent;
323
+ }
324
+
325
+ &::-webkit-scrollbar-thumb {
326
+ background: #d4d4d4;
327
+ border-radius: 3px;
328
+
329
+ &:hover {
330
+ background: #9ca3af;
331
+ }
332
+ }
333
+ }
334
+
335
+ .filter-drawer-footer {
336
+ padding: 12px 16px 16px;
337
+ border-top: 1px solid #e8e8e8;
338
+ flex-shrink: 0;
339
+ background: white;
340
+ }
341
+
342
+ .filter-apply-btn {
343
+ width: 100%;
344
+ padding: 12px 16px;
345
+ background: #0066cc;
346
+ color: white;
347
+ border: none;
348
+ border-radius: 4px;
349
+ font-size: 14px;
350
+ font-weight: 600;
351
+ cursor: pointer;
352
+ transition: background 0.2s;
353
+
354
+ &:active {
355
+ background: #0052a3;
356
+ }
357
+
358
+ &:hover {
359
+ background: #0052a3;
360
+ }
361
+ }
362
+
363
+ .filter-button-mobile {
364
+ transition: all 0.2s ease;
365
+
366
+ &:active {
367
+ background: #f3f4f6 !important;
368
+ transform: scale(0.95);
369
+ }
370
+ }
371
+
372
+ /* Ensure filter form fields look good in drawer */
373
+ .filter-drawer-content {
374
+ .filter-label {
375
+ margin-top: 12px;
376
+ margin-bottom: 8px;
377
+ }
378
+
379
+ .sub-filter-label {
380
+ font-size: 14px !important;
381
+ }
382
+ }