@djb25/digit-ui-css 1.0.0 → 1.0.1

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.
Files changed (99) hide show
  1. package/dist/index.css +7 -17535
  2. package/dist/index.min.css +1 -1
  3. package/package.json +4 -3
  4. package/src/components/CardBasedOptions.scss +101 -36
  5. package/src/components/CitizenHomeCard.scss +43 -41
  6. package/src/components/PageBasedInput.scss +2 -0
  7. package/src/components/PropertySearchForm.scss +4 -4
  8. package/src/components/SearchOnRadioButton.scss +1 -1
  9. package/src/components/StandaloneSearchBar.scss +1 -1
  10. package/src/components/TimeLine.scss +4 -4
  11. package/src/components/bannercomponents.scss +4 -3
  12. package/src/components/body.scss +7 -4
  13. package/src/components/buttons.scss +1 -57
  14. package/src/components/card.scss +42 -97
  15. package/src/components/charts.scss +150 -3
  16. package/src/components/checkbox.scss +35 -4
  17. package/src/components/checkpoint.scss +3 -1
  18. package/src/components/datatable.scss +7 -65
  19. package/src/components/filters.scss +3 -3
  20. package/src/components/hoc/InboxComposer.scss +1 -1
  21. package/src/components/landingpage.scss +249 -18
  22. package/src/components/languageSelector.scss +2 -1
  23. package/src/components/loader.scss +1 -1
  24. package/src/components/metricsTable.scss +1 -2
  25. package/src/components/multiLink.scss +1 -1
  26. package/src/components/multiSelectDropdown.scss +0 -4
  27. package/src/components/navbar.scss +9 -13
  28. package/src/components/plusMinus.scss +3 -3
  29. package/src/components/radiobtn.scss +12 -0
  30. package/src/components/searchAction.scss +1 -1
  31. package/src/components/selectdropdown.scss +37 -12
  32. package/src/components/table.scss +8 -60
  33. package/src/components/textfields.scss +16 -4
  34. package/src/components/toggleSwitch.scss +1 -1
  35. package/src/components/topbar.scss +8 -11
  36. package/src/components/uploadcomponents.scss +16 -3
  37. package/src/index.scss +74 -109
  38. package/src/pages/citizen/DocumentList.scss +5 -5
  39. package/src/pages/citizen/HomePageWrapper.scss +11 -6
  40. package/src/pages/citizen/container.scss +1 -1
  41. package/src/pages/employee/cardfix.scss +2 -1
  42. package/src/pages/employee/container.scss +9 -8
  43. package/src/pages/employee/dss.scss +12 -29
  44. package/src/pages/employee/inbox.scss +144 -91
  45. package/src/pages/employee/index.scss +248 -244
  46. package/src/pages/employee/login.scss +93 -135
  47. package/src/pages/employee/popupmodule.scss +13 -0
  48. package/src/pages/employee/scroll-table.scss +4 -9
  49. package/src/pages/employee/surveys.scss +13 -14
  50. package/svg/check.svg +1 -1
  51. package/svg/starempty.svg +1 -1
  52. package/svg/starfilled.svg +1 -1
  53. package/README.md +0 -80
  54. package/src/components/financeUi.scss +0 -875
  55. package/src/components/inboxv2/InboxLinks.scss +0 -59
  56. package/src/components/inboxv2/horizontalNav.scss +0 -224
  57. package/src/components/inboxv2/inboxSearch.scss +0 -116
  58. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  59. package/src/components/inboxv2/index.scss +0 -5
  60. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  61. package/src/components/sidebar.scss +0 -141
  62. package/src/digitv2/components/ErrorMessage.scss +0 -6
  63. package/src/digitv2/components/FormComposerV2.scss +0 -120
  64. package/src/digitv2/components/actionLinkV2.scss +0 -7
  65. package/src/digitv2/components/actionbarV2.scss +0 -110
  66. package/src/digitv2/components/appContainerV2.scss +0 -55
  67. package/src/digitv2/components/backButtonV2.scss +0 -26
  68. package/src/digitv2/components/bannerV2.scss +0 -120
  69. package/src/digitv2/components/bodyContainerV2.scss +0 -39
  70. package/src/digitv2/components/breadCrumbV2.scss +0 -31
  71. package/src/digitv2/components/breakLineV2.scss +0 -6
  72. package/src/digitv2/components/buttonsV2.scss +0 -40
  73. package/src/digitv2/components/cardV2.scss +0 -385
  74. package/src/digitv2/components/checkboxV2.scss +0 -61
  75. package/src/digitv2/components/checkpointV2.scss +0 -71
  76. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  77. package/src/digitv2/components/dateWrapV2.scss +0 -12
  78. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  79. package/src/digitv2/components/headerV2.scss +0 -6
  80. package/src/digitv2/components/infoBannerV2.scss +0 -37
  81. package/src/digitv2/components/keynoteV2.scss +0 -35
  82. package/src/digitv2/components/loaderV2.scss +0 -81
  83. package/src/digitv2/components/mobileNumberV2.scss +0 -33
  84. package/src/digitv2/components/multiSelectDropdownV2.scss +0 -92
  85. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  86. package/src/digitv2/components/otpInputV2.scss +0 -15
  87. package/src/digitv2/components/popUpV2.scss +0 -16
  88. package/src/digitv2/components/radiobtnV2.scss +0 -51
  89. package/src/digitv2/components/ratingV2.scss +0 -33
  90. package/src/digitv2/components/selectdropdownV2.scss +0 -170
  91. package/src/digitv2/components/tagV2.scss +0 -28
  92. package/src/digitv2/components/telephoneV2.scss +0 -18
  93. package/src/digitv2/components/textInputV2.scss +0 -123
  94. package/src/digitv2/components/textareaV2.scss +0 -11
  95. package/src/digitv2/components/uploadFileV2.scss +0 -146
  96. package/src/digitv2/index.scss +0 -168
  97. package/src/digitv2/pages/employee/index.scss +0 -1
  98. package/src/digitv2/pages/employee/workbench.scss +0 -1042
  99. package/src/digitv2/typography.scss +0 -241
@@ -1,385 +0,0 @@
1
- @import url("../index.scss");
2
-
3
- .digit-card {
4
- @apply bg-white m-sm px-md pt-md pb-lg shadow-card;
5
- @extend .light-paper-primary;
6
- border-radius: 4px;
7
- max-width: 960px;
8
-
9
- .digit-card-header {
10
- @extend .light-primary;
11
- @apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
12
- }
13
-
14
- .digit-card-sub-header {
15
- @extend .light-primary;
16
- @apply text-caption-xl font-bold align-middle text-left mb-sm;
17
- }
18
-
19
- .digit-card-caption {
20
- @extend .light-text-color-secondary;
21
- @apply text-caption-xl mb-sm;
22
- }
23
-
24
- .digit-card-text {
25
- @extend .light-text-color-secondary;
26
- @apply text-body-l align-middle text-left mb-lg;
27
-
28
- span {
29
- @extend .light-text-color-primary;
30
- }
31
- }
32
-
33
- .digit-card-text-primary {
34
- @extend .light-primary;
35
- @apply text-body-l;
36
- }
37
-
38
- .digit-card-text-button {
39
- @extend .light-primary;
40
- @apply text-text-btn;
41
- }
42
-
43
- .digit-card-label {
44
- @extend .light-primary;
45
- @apply text-legend mb-sm;
46
- }
47
-
48
- .digit-card-label-error {
49
- @extend .alert-error;
50
- @apply block text-body-s text-error mb-md;
51
- }
52
-
53
- .digit-card-label-desc {
54
- @extend .light-text-color-secondary;
55
- @apply font-bold text-heading-s mb-md;
56
- }
57
-
58
- .digit-card-link {
59
- @extend .light-primary;
60
- @apply block text-center text-link mt-md cursor-pointer;
61
- }
62
- }
63
-
64
- .digit-validation-error {
65
- @extend .alert-error;
66
- @apply block text-body-s text-error;
67
- }
68
-
69
- .digit-docsDescription {
70
- @extend .light-text-color-primary;
71
- }
72
-
73
- .digit-field-container {
74
- @apply flex items-center;
75
- }
76
-
77
- .digit-employee-card {
78
- @extend .light-paper-primary;
79
- @apply shadow-card p-md mb-xl;
80
- border-radius: 4px;
81
-
82
- .digit-card-header {
83
- @extend .light-primary;
84
- @apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
85
- }
86
-
87
- .digit-card-sub-header,
88
- .digit-employee-card-sub-header {
89
- @extend .light-primary;
90
- @apply text-caption-xl font-bold align-middle text-left;
91
- }
92
-
93
- .digit-card-section-header {
94
- @extend .light-primary;
95
- @apply text-heading-m font-bold;
96
- }
97
-
98
- .digit-card-section-sub-text {
99
- @extend .light-primary;
100
- @apply text-body-s;
101
- }
102
-
103
- .digit-card-caption {
104
- @extend .light-text-color-secondary;
105
- @apply text-caption-xl mb-sm;
106
- }
107
-
108
- .digit-card-text {
109
- @extend .light-text-color-secondary;
110
- @apply text-body-l align-middle text-left mb-lg;
111
-
112
- span {
113
- @extend .light-text-color-primary;
114
- }
115
- }
116
-
117
- .card-text-primary {
118
- @extend .light-primary;
119
- @apply text-body-l;
120
- }
121
-
122
- .card-text-button {
123
- @extend .light-primary;
124
- @apply text-text-btn;
125
- }
126
-
127
- .card-label {
128
- @extend .light-primary;
129
- @apply text-legend mb-md;
130
- }
131
-
132
- .card-label-error {
133
- @extend .alert-error;
134
- @apply block text-body-s text-error mb-md;
135
- }
136
-
137
- .card-label-desc {
138
- @extend .light-text-color-secondary;
139
- @apply font-bold text-heading-s mb-md;
140
- }
141
-
142
- .card-link {
143
- @extend .light-primary;
144
- @apply block text-center text-link text-link-normal mt-md;
145
- }
146
-
147
- .card-search-heading {
148
- margin-right: 0px !important;
149
- margin-left: 0px !important;
150
- margin-bottom: 0px !important;
151
- padding-bottom: 0px;
152
- padding-left: 25px;
153
- }
154
- }
155
-
156
- .header-wrap {
157
- @apply flex mb-md;
158
-
159
- .header-start {
160
- margin-right: auto;
161
- }
162
-
163
- .header-content {
164
- }
165
-
166
- .header-end {
167
- margin-left: auto;
168
- }
169
- }
170
-
171
- .card-emp {
172
- @extend .card;
173
- padding-right: 0;
174
- padding-top: 0;
175
- padding-left: 0;
176
- @apply bg-white m-sm;
177
- @extend .light-background;
178
- }
179
-
180
- .submit-bar {
181
- @extend .light-primary-button;
182
- @apply h-10 text-center w-full outline-none;
183
- box-shadow: inset 0px -2px 0px theme(colors.text.primary);
184
- cursor: pointer;
185
-
186
- &:focus {
187
- @apply outline-none;
188
- }
189
-
190
- header {
191
- @apply font-rc font-medium text-legend text-white leading-10;
192
- }
193
- }
194
-
195
- .submit-bar-disabled {
196
- @apply h-10 bg-primary-main text-center w-full outline-none opacity-50;
197
-
198
- &:focus {
199
- @apply outline-none;
200
- }
201
-
202
- header {
203
- @apply font-rc font-medium text-legend text-white leading-10;
204
- }
205
- }
206
-
207
- @screen dt {
208
- .submit-bar,
209
- .submit-bar-disabled {
210
- width: 240px;
211
- }
212
-
213
- .card {
214
- display: flex;
215
- flex-direction: column;
216
-
217
- .card-header {
218
- @apply text-heading-xl-dt;
219
- }
220
-
221
- .card-sub-header {
222
- @apply text-heading-l-dt;
223
- }
224
-
225
- .card-caption {
226
- @apply text-caption-xl-dt;
227
- }
228
-
229
- .card-text,
230
- .card-text-primary {
231
- @apply text-body-l-dt;
232
- }
233
-
234
- .card-link {
235
- @apply text-left;
236
- }
237
- }
238
-
239
- .digit-employee-card {
240
- @apply mb-md mx-md !important;
241
-
242
- &.digit-filter {
243
- margin-left: auto;
244
- margin-right: auto;
245
- }
246
-
247
- .digit-card-header {
248
- @apply text-heading-xl-dt;
249
- }
250
-
251
- .digit-card-sub-header {
252
- @apply text-heading-l-dt;
253
- }
254
-
255
- .digit-employee-card-sub-header {
256
- margin-bottom: 40px;
257
- @apply text-heading-l-dt;
258
- }
259
-
260
- .digit-card-section-header {
261
- margin-bottom: 40px;
262
- @apply text-heading-m-dt;
263
- }
264
-
265
- .digit-card-section-sub-text {
266
- @apply text-text-primary text-body-s-dt;
267
- }
268
-
269
- .digit-card-search-heading {
270
- margin-right: 0px !important;
271
- margin-left: 0px !important;
272
- margin-bottom: 0px !important;
273
- padding-bottom: 0px;
274
- padding-left: 25px;
275
- }
276
-
277
- .digit-card-caption {
278
- @apply text-caption-xl-dt;
279
- }
280
-
281
- .digit-card-text,
282
- .digit-card-text-primary {
283
- @apply text-body-l-dt;
284
- }
285
-
286
- .digit-card-link {
287
- @apply text-left;
288
- }
289
-
290
- .digit-label-field-pair {
291
- @apply flex items-center;
292
-
293
- h2 {
294
- width: 30%;
295
- }
296
-
297
- .field {
298
- width: 50%;
299
- margin-right: 20%;
300
- .field {
301
- margin-right: unset;
302
- }
303
- }
304
- }
305
-
306
- .digit-field-container {
307
- span {
308
- border: 2px solid black;
309
- background: rgb(247, 247, 247);
310
- width: 40px;
311
- height: 40px;
312
- display: flex;
313
- justify-content: center;
314
- align-items: center;
315
- margin-top: -16px;
316
- border-right: none;
317
- }
318
- }
319
- }
320
-
321
- .digit-header-wrap {
322
- @apply flex mb-md;
323
-
324
- .header-start {
325
- margin-right: auto;
326
- }
327
-
328
- .header-content {
329
- }
330
-
331
- .header-end {
332
- margin-left: auto;
333
- }
334
- }
335
- }
336
-
337
- .digit-card-section-header {
338
- @extend .light-text-color-primary;
339
- @apply text-text-primary text-heading-m font-bold;
340
- }
341
-
342
- .digit-card-search-heading {
343
- margin-right: 0px !important;
344
- margin-left: 0px !important;
345
- margin-bottom: 0px !important;
346
- padding-bottom: 0px;
347
- padding-left: 25px;
348
- }
349
-
350
- .digit-card-label-error {
351
- @extend .alert-error;
352
- @apply block text-body-s text-error mb-md;
353
- }
354
-
355
- .digit-employee-card-override {
356
- margin-left: 0px !important;
357
- }
358
-
359
- .digit-employee-application-details {
360
- display: flex !important;
361
- justify-content: space-between !important;
362
- max-height: 60px !important;
363
- height: 60px !important;
364
- }
365
- .digit-employee-main-application-details {
366
- padding: 10px !important;
367
- }
368
-
369
- .digit-employee-mulitlink-main-div {
370
- @extend .light-primary;
371
- z-index: 10 !important;
372
- max-width: 41% !important;
373
- }
374
-
375
- .digit-employee-download-btn-className {
376
- position: unset !important;
377
- display: flex !important;
378
- justify-content: flex-end !important;
379
- }
380
-
381
- .digit-employee-options-btn-className {
382
- position: unset !important;
383
- margin: 0 !important;
384
- width: 100% !important;
385
- }
@@ -1,61 +0,0 @@
1
- @import url("../index.scss");
2
-
3
- .digit-checkbox-wrap {
4
- @apply flex mb-md relative items-baseline;
5
-
6
- input {
7
- width: 38px;
8
- height: 38px;
9
- @apply opacity-0 absolute top-0 left-0 z-10;
10
- @extend .light-input-border;
11
- }
12
-
13
- .input-emp {
14
- @extend input;
15
- width: 24px;
16
- height: 24px;
17
- }
18
-
19
- .digit-custom-checkbox {
20
- width: 38px;
21
- height: 38px;
22
- @apply absolute top-0 left-0 border border-solid border-input-border z-0;
23
- @extend .light-input-border;
24
-
25
- img {
26
- @apply opacity-0;
27
- }
28
-
29
- svg {
30
- @apply opacity-0;
31
- }
32
- }
33
-
34
- .digit-custom-checkbox-emp {
35
- @extend .digit-custom-checkbox;
36
- width: 24px;
37
- height: 24px;
38
- }
39
-
40
- input:checked ~ .digit-custom-checkbox,
41
- input:hover ~ .digit-custom-checkbox {
42
- @apply border-2 border-primary-main;
43
- @extend .light-input-border;
44
- }
45
-
46
- input:checked ~ .digit-custom-checkbox img {
47
- @apply opacity-100;
48
- }
49
-
50
- input:checked ~ .digit-custom-checkbox svg {
51
- @apply opacity-100;
52
- width: 35px;
53
- height: 35px;
54
- }
55
-
56
- .label {
57
- margin-left: 56px;
58
- @apply text-form-field text-text-primary;
59
- @extend .light-text-color-primary;
60
- }
61
- }
@@ -1,71 +0,0 @@
1
- @import url("../index.scss");
2
-
3
- .digit-checkpoint-connect-wrap {
4
- padding-bottom: 40px;
5
- @apply relative;
6
- }
7
- .digit-checkpoint-done {
8
- @apply flex items-center;
9
-
10
- h2 {
11
- z-index: 1;
12
- width: 24px;
13
- height: 24px;
14
- border-radius: 50%;
15
- @apply border-b border-solid border-primary-main bg-primary-main;
16
- }
17
-
18
- header {
19
- @apply text-heading-s ml-md;
20
-
21
- p {
22
- margin-top: 4px;
23
- @extend .light-text-color-secondary;
24
- @apply text-heading-s;
25
- }
26
- }
27
- }
28
-
29
- .digit-checkpoint {
30
- @apply flex items-center;
31
-
32
- h2 {
33
- z-index: 1;
34
- width: 24px;
35
- height: 24px;
36
- border-radius: 50%;
37
- --text-opacity: 1;
38
- @apply border-b border-solid border-border bg-border;
39
- }
40
-
41
- header {
42
- @apply text-heading-s ml-md;
43
-
44
- p {
45
- margin-top: 4px;
46
- @extend .light-text-color-secondary;
47
- @apply text-heading-s;
48
- }
49
- }
50
- }
51
-
52
- .digit-checkpoint-connect {
53
- margin-left: 12px;
54
- margin-top: 22px;
55
- @apply absolute top-0 left-0 h-full border-l border-solid border-border;
56
- }
57
-
58
- .digit-checkpoint-comments-wrap {
59
- max-width: 560px;
60
- @apply bg-grey-mid p-sm mt-sm;
61
-
62
- h4 {
63
- @extend .light-text-color-primary;
64
- @apply text-heading-s;
65
- }
66
-
67
- p {
68
- @extend .light-text-color-secondary;
69
- @apply text-body-s-dt;
70
- }
71
- }
@@ -1,60 +0,0 @@
1
- @import url("../../digitv2/index.scss");
2
-
3
- .digit-expand-collapse-wrapper {
4
- display: flex;
5
- flex-direction: column;
6
- margin-top: 1rem;
7
- }
8
-
9
- .digit-expand-collapse-header {
10
- background-color: #f2f2f2;
11
- display: grid;
12
- grid-template-columns: 1fr 1fr;
13
- align-items: center;
14
- padding: 12px;
15
- position: relative;
16
- font-weight: bolder;
17
- border: 1px solid #828282;
18
- border-radius: 4px;
19
- }
20
-
21
- .digit-icon-toggle {
22
- position: absolute;
23
- right: 10px;
24
- top: 50%;
25
- transform: translate(0%, -50%);
26
- cursor: pointer;
27
- span{
28
- display: inline-flex;
29
- align-items: center;
30
-
31
- h5{
32
- color: theme(colors.primary.main);
33
- display: inline;
34
- }
35
- }
36
- }
37
-
38
- .digit-expand-collapse-header .label {
39
- display: block;
40
- text-align: left;
41
- }
42
-
43
- .digit-expand-collapse-header .value {
44
- display: block;
45
- text-align: right;
46
- margin-right: 2rem;
47
- }
48
-
49
- .digit-toggling-wrapper.digit-collapse {
50
- flex: none;
51
- overflow: hidden;
52
- height: 0;
53
- transition: 0.2s ease-in-out;
54
- }
55
-
56
- .digit-toggling-wrapper {
57
- flex: 1;
58
- transition: 0.2s ease-in-out;
59
- box-sizing: border-box;
60
- }
@@ -1,12 +0,0 @@
1
- .digit-date-picker {
2
- @apply relative w-full cursor-pointer;
3
- .citizen {
4
- max-width: 540px;
5
- }
6
- .digit-employee-card-input {
7
- @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
8
- @extend .light-input-border;
9
- width: calc(100%-62px);
10
- padding-right: 9px;
11
- }
12
- }
@@ -1,33 +0,0 @@
1
- .digit-photos-wrap {
2
- max-width: 640px;
3
- @apply flex pt-md;
4
-
5
- img {
6
- width: calc(33% - 9.333px);
7
- margin-right: 14px;
8
- }
9
-
10
- svg {
11
- width: calc(33% - 9.333px);
12
- margin-right: 14px;
13
- }
14
-
15
- .last {
16
- width: calc(33% - 9.333px);
17
- }
18
- }
19
-
20
- .digit-image-pdf-icon {
21
- @apply flex flex-wrap justify-start content-center;
22
- .digit-url {
23
- min-width: 100px;
24
- margin-right: 10px;
25
- max-width: 100px;
26
- height: auto;
27
- .digit-icon {
28
- background: #f6f6f6;
29
- padding: 8px;
30
- width: 100px;
31
- }
32
- }
33
- }
@@ -1,6 +0,0 @@
1
- @import url("../index.scss");
2
-
3
- .digit-header {
4
- @extend .light-text-color-primary;
5
- @apply text-heading-l font-bold mb-md ml-md;
6
- }
@@ -1,37 +0,0 @@
1
- @import url("../index.scss");
2
-
3
- .digit-info-banner-wrap {
4
- @apply bg-opacity-25 m-sm p-md;
5
- max-width: 960px;
6
-
7
- @extend .alert-info-bg;
8
- border-radius: 4px;
9
- svg {
10
- margin-top: 5px;
11
- @apply rounded-full;
12
- }
13
-
14
- div {
15
- @apply flex items-center;
16
- }
17
-
18
- h2 {
19
- @apply text-heading-m text-link-normal mb-md font-bold ml-sm;
20
- }
21
-
22
- p {
23
- @apply text-body-l text-link-normal whitespace-pre-line;
24
- }
25
- }
26
-
27
- @screen dt {
28
- .digit-info-banner-wrap {
29
- h2 {
30
- @apply text-heading-m-dt;
31
- }
32
-
33
- p {
34
- @apply text-body-l-dt;
35
- }
36
- }
37
- }
@@ -1,35 +0,0 @@
1
- .digit-key-note-pair {
2
- @apply mb-md;
3
-
4
- h3 {
5
- margin-bottom: 4px;
6
- @apply font-bold text-text-primary text-heading-s;
7
- }
8
-
9
- p {
10
- @apply text-text-primary text-body-l;
11
- }
12
- .digit-key-note-container {
13
- display: inline-flex;
14
- .digit-unmask-container {
15
- display: inline-flex;
16
- width: fit-content;
17
- margin-left: 10px;
18
- margin-top: 5px;
19
- }
20
- }
21
- .digit-caption {
22
- @apply text-body-l text-text-secondary;
23
- }
24
- }
25
-
26
- @screen dt {
27
- .digit-key-note-pair {
28
- p {
29
- @apply text-body-l-dt;
30
- }
31
- .digit-caption {
32
- @apply text-body-l-dt text-text-secondary;
33
- }
34
- }
35
- }