@egovernments/digit-ui-components-css 0.0.2-beta.1 → 0.0.2-beta.5

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 (175) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/index.css +4994 -14559
  3. package/dist/index.min.css +2 -2
  4. package/package.json +1 -1
  5. package/src/digitv2/components/backLinkV2.scss +37 -0
  6. package/src/digitv2/components/breadcrumbV2.scss +57 -0
  7. package/src/digitv2/components/{tagV2.scss → chipV2.scss} +9 -0
  8. package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +2 -0
  9. package/src/digitv2/components/popUpV2.scss +18 -7
  10. package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +4 -0
  11. package/src/digitv2/components/{stepper.scss → stepperV2.scss} +30 -9
  12. package/src/digitv2/components/{timeline.scss → timelineV2.scss} +25 -2
  13. package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +56 -1
  14. package/src/digitv2/index.scss +18 -51
  15. package/src/digitv2/typography.scss +1 -20
  16. package/src/index.scss +3 -96
  17. package/src/pages/employee/index.scss +1 -1
  18. package/img/browser-icon.png +0 -0
  19. package/img/m_seva_white_logo.png +0 -0
  20. package/img/mseva-demo.png +0 -0
  21. package/src/components/CardBasedOptions.scss +0 -46
  22. package/src/components/CitizenHomeCard.scss +0 -56
  23. package/src/components/EllipsisMenu.scss +0 -17
  24. package/src/components/EventCalendarView.scss +0 -10
  25. package/src/components/FAQ.scss +0 -64
  26. package/src/components/OnGroundEventCard.scss +0 -72
  27. package/src/components/PageBasedInput.scss +0 -29
  28. package/src/components/PopupHeadingLabel.scss +0 -15
  29. package/src/components/PropertySearchForm.scss +0 -58
  30. package/src/components/SearchForm.scss +0 -56
  31. package/src/components/SearchOnRadioButton.scss +0 -10
  32. package/src/components/StandaloneSearchBar.scss +0 -10
  33. package/src/components/TimeLine.scss +0 -68
  34. package/src/components/WhatsNewCard.scss +0 -13
  35. package/src/components/actionLink.scss +0 -3
  36. package/src/components/actionbar.scss +0 -97
  37. package/src/components/bannercomponents.scss +0 -136
  38. package/src/components/body.scss +0 -144
  39. package/src/components/buttons.scss +0 -101
  40. package/src/components/card.scss +0 -391
  41. package/src/components/cardHeaderWithOptions.scss +0 -14
  42. package/src/components/changeLanguage.scss +0 -3
  43. package/src/components/charts.scss +0 -186
  44. package/src/components/checkbox.scss +0 -53
  45. package/src/components/checkpoint.scss +0 -63
  46. package/src/components/citizenInfoLabel.scss +0 -14
  47. package/src/components/custombtn.scss +0 -11
  48. package/src/components/datatable.scss +0 -134
  49. package/src/components/datewrap.scss +0 -21
  50. package/src/components/detailscard.scss +0 -6
  51. package/src/components/detailscontainer.scss +0 -13
  52. package/src/components/filters.scss +0 -98
  53. package/src/components/grey.scss +0 -3
  54. package/src/components/hoc/InboxComposer.scss +0 -115
  55. package/src/components/hoc/index.scss +0 -1
  56. package/src/components/howItWorks.scss +0 -71
  57. package/src/components/imageviewer.scss +0 -33
  58. package/src/components/inboxv2/InboxLinks.scss +0 -59
  59. package/src/components/inboxv2/horizontalNav.scss +0 -224
  60. package/src/components/inboxv2/inboxSearch.scss +0 -116
  61. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  62. package/src/components/inboxv2/index.scss +0 -5
  63. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  64. package/src/components/info-banner.scss +0 -35
  65. package/src/components/inputotp.scss +0 -15
  66. package/src/components/keynote.scss +0 -27
  67. package/src/components/languageSelector.scss +0 -24
  68. package/src/components/loader.scss +0 -96
  69. package/src/components/map.scss +0 -30
  70. package/src/components/menu.scss +0 -0
  71. package/src/components/metricsTable.scss +0 -28
  72. package/src/components/multiLink.scss +0 -88
  73. package/src/components/multiSelectDropdown.scss +0 -77
  74. package/src/components/navbar.scss +0 -312
  75. package/src/components/plusMinus.scss +0 -15
  76. package/src/components/popup.scss +0 -16
  77. package/src/components/radiobtn.scss +0 -45
  78. package/src/components/ratingstar.scss +0 -33
  79. package/src/components/roundedLabel.scss +0 -10
  80. package/src/components/searchAction.scss +0 -20
  81. package/src/components/sectionalDropdown.scss +0 -43
  82. package/src/components/selectdropdown.scss +0 -174
  83. package/src/components/sidebar.scss +0 -141
  84. package/src/components/staticDynamicMessages.scss +0 -107
  85. package/src/components/staticSideBar.scss +0 -27
  86. package/src/components/statushighlight.scss +0 -17
  87. package/src/components/submiterrors.scss +0 -11
  88. package/src/components/summary.scss +0 -29
  89. package/src/components/table.scss +0 -201
  90. package/src/components/tag.scss +0 -27
  91. package/src/components/telephone.scss +0 -17
  92. package/src/components/textfields.scss +0 -96
  93. package/src/components/toast.scss +0 -31
  94. package/src/components/toggleSwitch.scss +0 -41
  95. package/src/components/topbar.scss +0 -153
  96. package/src/components/uploadcomponents.scss +0 -100
  97. package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
  98. package/src/digitv2/components/PageBasedInputV2.scss +0 -33
  99. package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
  100. package/src/digitv2/components/actionLinkV2.scss +0 -9
  101. package/src/digitv2/components/actionbarV2.scss +0 -110
  102. package/src/digitv2/components/appContainerV2.scss +0 -49
  103. package/src/digitv2/components/backButtonV2.scss +0 -26
  104. package/src/digitv2/components/bannerV2.scss +0 -120
  105. package/src/digitv2/components/breadCrumbV2.scss +0 -34
  106. package/src/digitv2/components/breakLineV2.scss +0 -6
  107. package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
  108. package/src/digitv2/components/cardLabelV2.scss +0 -8
  109. package/src/digitv2/components/cardV2.scss +0 -383
  110. package/src/digitv2/components/checkpointV2.scss +0 -71
  111. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  112. package/src/digitv2/components/dateWrapV2.scss +0 -17
  113. package/src/digitv2/components/detailsCardV2.scss +0 -17
  114. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  115. package/src/digitv2/components/footerV2.scss +0 -55
  116. package/src/digitv2/components/headerBarV2.scss +0 -34
  117. package/src/digitv2/components/headerV2.scss +0 -12
  118. package/src/digitv2/components/keynoteV2.scss +0 -35
  119. package/src/digitv2/components/loaderV2.scss +0 -85
  120. package/src/digitv2/components/modalV2.scss +0 -46
  121. package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
  122. package/src/digitv2/components/navbarV2.scss +0 -9
  123. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  124. package/src/digitv2/components/numeric.scss +0 -47
  125. package/src/digitv2/components/otpInputV2.scss +0 -15
  126. package/src/digitv2/components/paragraphV2.scss +0 -5
  127. package/src/digitv2/components/ratingV2.scss +0 -33
  128. package/src/digitv2/components/searchActionV2.scss +0 -11
  129. package/src/digitv2/components/searchFormV2.scss +0 -76
  130. package/src/digitv2/components/searchcomponent.scss +0 -7
  131. package/src/digitv2/components/sidebarV2.scss +0 -11
  132. package/src/digitv2/components/telephoneV2.scss +0 -18
  133. package/src/digitv2/components/toggleswitchV2.scss +0 -42
  134. package/src/digitv2/components/topbarV2.scss +0 -187
  135. package/src/digitv2/components/uploadFileV2.scss +0 -146
  136. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
  137. package/src/pages/citizen/DocumentList.scss +0 -305
  138. package/src/pages/citizen/Events.scss +0 -47
  139. package/src/pages/citizen/HomePageWrapper.scss +0 -158
  140. package/src/pages/citizen/SurveyList.scss +0 -22
  141. package/src/pages/citizen/citizenDocument.scss +0 -22
  142. package/src/pages/citizen/container.scss +0 -19
  143. package/src/pages/citizen/payment/payment-type.scss +0 -3
  144. package/src/pages/citizen/updatePropertyNumber.scss +0 -46
  145. package/src/pages/employee/EmployeeLogin.scss +0 -7
  146. package/src/pages/employee/cardfix.scss +0 -13
  147. package/src/pages/employee/container.scss +0 -72
  148. package/src/pages/employee/dss.scss +0 -266
  149. package/src/pages/employee/form-fields.scss +0 -13
  150. package/src/pages/employee/iframe.scss +0 -66
  151. package/src/pages/employee/inbox.scss +0 -585
  152. package/src/pages/employee/oldMobileInbox.scss +0 -5
  153. package/src/pages/employee/popupmodule.scss +0 -34
  154. package/src/pages/employee/response.scss +0 -3
  155. package/src/pages/employee/scroll-table.scss +0 -119
  156. package/src/pages/employee/surveys.scss +0 -273
  157. package/src/pages/employee/tooltip.scss +0 -36
  158. package/src/pages/employee/updateNumber.scss +0 -13
  159. package/svg/arrowdown.svg +0 -1
  160. package/svg/arrowleft.svg +0 -1
  161. package/svg/calendar.svg +0 -1
  162. package/svg/camera.svg +0 -4
  163. package/svg/check.svg +0 -4
  164. package/svg/close.svg +0 -4
  165. package/svg/error.svg +0 -4
  166. package/svg/error2.svg +0 -5
  167. package/svg/searchicon.svg +0 -4
  168. package/svg/starempty.svg +0 -4
  169. package/svg/starfilled.svg +0 -5
  170. package/svg/success.svg +0 -4
  171. /package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +0 -0
  172. /package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +0 -0
  173. /package/src/digitv2/components/{panels.scss → panelV2.scss} +0 -0
  174. /package/src/digitv2/components/{textblock.scss → textblockV2.scss} +0 -0
  175. /package/src/digitv2/components/{toggle.scss → toggleV2.scss} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components-css",
3
- "version": "0.0.2-beta.1",
3
+ "version": "0.0.2-beta.5",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egov.org.in>",
@@ -0,0 +1,37 @@
1
+ .digit-back-link {
2
+ gap: theme(digitv2.spacers.spacer1);
3
+ display: flex;
4
+ align-items: center;
5
+
6
+ .digit-back-link-icon {
7
+ flex-shrink: 0;
8
+ width: theme(digitv2.spacers.spacer6);
9
+ height: theme(digitv2.spacers.spacer6);
10
+ cursor: pointer;
11
+
12
+ @media (max-width: 30rem) {
13
+ width: theme(digitv2.spacers.spacer5);
14
+ height: theme(digitv2.spacers.spacer5);
15
+ }
16
+
17
+ }
18
+
19
+ .digit-back-link-label {
20
+ @extend .typography.body-l;
21
+ color: theme(digitv2.lightTheme.primary-1);
22
+ margin-top:0.063rem;
23
+ cursor: pointer;
24
+ }
25
+
26
+ &.disabled{
27
+ pointer-events: none;
28
+ .digit-back-link-label{
29
+ color: theme(digitv2.lightTheme.text-disabled);
30
+ cursor: default;
31
+ }
32
+
33
+ .digit-back-link-icon{
34
+ cursor: default;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,57 @@
1
+ @import url("../index.scss");
2
+ @import url("../typography.scss");
3
+
4
+ .digit-bread-crumb {
5
+ display: flex;
6
+ gap: theme(digitv2.spacers.spacer2);
7
+ height: 1.375rem;
8
+ padding: unset;
9
+ }
10
+
11
+ .digit-bread-crumb--item {
12
+ display: flex;
13
+ gap: theme(digitv2.spacers.spacer2);
14
+
15
+
16
+ button {
17
+ outline: none;
18
+ }
19
+
20
+
21
+ .digit-bread-crumb-content {
22
+ @extend .typography.body-s;
23
+ display: flex !important;
24
+ gap: theme(digitv2.spacers.spacer1);
25
+ cursor: pointer;
26
+ text-decoration: none;
27
+
28
+ svg {
29
+ width: theme(digitv2.spacers.spacer5);
30
+ height: theme(digitv2.spacers.spacer5);
31
+ }
32
+
33
+ color: theme(digitv2.lightTheme.primary-1);
34
+
35
+ &:hover {
36
+ text-decoration: underline;
37
+ }
38
+ }
39
+
40
+ span {
41
+ cursor: pointer;
42
+ }
43
+
44
+ .digit-bread-crumb-content.current,
45
+ .digit-bread-crumb-seperator {
46
+ @extend .typography.body-s;
47
+ color: theme(digitv2.lightTheme.text-secondary);
48
+ text-decoration: none;
49
+ cursor: default;
50
+ }
51
+
52
+ }
53
+
54
+ ol,
55
+ ul {
56
+ list-style: none;
57
+ }
@@ -118,4 +118,13 @@
118
118
  }
119
119
  }
120
120
  }
121
+ }
122
+
123
+ .cp{
124
+ cursor: pointer;
125
+ }
126
+
127
+ .nonclickable{
128
+ pointer-events: none;
129
+ cursor:none;
121
130
  }
@@ -4,6 +4,8 @@
4
4
  .digit-error-icon-message-wrap {
5
5
  @apply flex w-full whitespace-pre-wrap break-words;
6
6
  gap: theme(digitv2.spacers.spacer1);
7
+ word-break: break-word;
8
+ cursor: default;
7
9
 
8
10
  .digit-error-icon{
9
11
  @apply flex items-center;
@@ -55,8 +55,8 @@
55
55
  }
56
56
 
57
57
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
58
- top: 0.625rem;
59
- right: 0.625rem;
58
+ top: theme(digitv2.spacers.spacer3);
59
+ right: theme(digitv2.spacers.spacer3);
60
60
  }
61
61
 
62
62
  @media (max-width: 30rem) {
@@ -104,11 +104,6 @@
104
104
  @extend .typography.caption-s;
105
105
  }
106
106
  }
107
-
108
- .digit-popup-description {
109
- @extend .typography.body-l;
110
- color: theme(digitv2.lightTheme.text-primary);
111
- }
112
107
  }
113
108
 
114
109
  &.with-shadow {
@@ -145,9 +140,16 @@
145
140
  }
146
141
 
147
142
  .digit-popup-children-wrap {
143
+ @extend .typography.body-s;
148
144
  @apply overflow-hidden overflow-y-auto flex-col;
149
145
  display: flex;
150
146
  flex: 1;
147
+ color: theme(digitv2.lightTheme.text-primary);
148
+
149
+ .digit-popup-description {
150
+ @extend .typography.body-s;
151
+ color: theme(digitv2.lightTheme.text-primary);
152
+ }
151
153
 
152
154
  &.inline {
153
155
  flex-direction: row;
@@ -233,6 +235,15 @@
233
235
  }
234
236
  }
235
237
  }
238
+
239
+
240
+ &.equal-buttons{
241
+ width: 100%;
242
+
243
+ button{
244
+ flex:1;
245
+ }
246
+ }
236
247
 
237
248
 
238
249
  .digit-popup-alert-content {
@@ -13,32 +13,42 @@
13
13
  }
14
14
 
15
15
  .digit-stepper-content {
16
- @apply flex flex-col items-center;
16
+ @apply flex flex-col items-center font-sans font-regular;
17
17
  min-height: 4rem;
18
18
  gap: theme(digitv2.spacers.spacer2);
19
+ color: theme(digitv2.lightTheme.text-secondary);
20
+ font-size: theme(digitv2.spacers.spacer4);
21
+ line-height: theme(digitv2.spacers.spacer6);
22
+ text-align: center;
23
+
19
24
 
20
25
  .stepper-label {
21
26
  @extend .typography.body-s;
22
27
  @apply text-center;
23
28
  color: theme(digitv2.lightTheme.text-secondary);
24
29
  letter-spacing: theme(digitv2.spacers.spacer0);
30
+
25
31
  &.completed {
26
32
  color: theme(digitv2.lightTheme.text-primary);
27
33
  }
34
+
28
35
  &.current {
29
36
  @extend .typography.heading-s;
30
- line-height:1.37rem;
37
+ line-height: 1.37rem;
31
38
  color: theme(digitv2.lightTheme.text-primary);
32
39
  }
33
- &.vertical{
40
+
41
+ &.vertical {
34
42
  @apply text-left;
35
- margin-top:0.438rem;
43
+ margin-top: 0.438rem;
36
44
  }
37
45
  }
46
+
38
47
  &.vertical {
39
48
  @apply flex-row;
40
49
  }
41
50
  }
51
+
42
52
  .stepper-circle {
43
53
  @apply flex text-center justify-center items-center font-regular w-8 h-8;
44
54
  background-color: theme(digitv2.lightTheme.paper-primary);
@@ -46,16 +56,19 @@
46
56
  margin-top: theme(digitv2.spacers.spacer1);
47
57
  border: 0.125rem solid theme(digitv2.lightTheme.generic-divider);
48
58
  color: #787878;
59
+
49
60
  @media (max-aspect-ratio: 9/16) {
50
61
  @apply w-6 h-6;
51
62
  }
52
63
  }
64
+
53
65
  .active {
54
66
  @apply font-bold;
55
67
  background-color: theme(digitv2.lightTheme.primary-1);
56
68
  border-color: theme(digitv2.lightTheme.primary-1);
57
- color:theme(digitv2.lightTheme.paper-primary);
69
+ color: theme(digitv2.lightTheme.paper-primary);
58
70
  }
71
+
59
72
  .stepper-connect {
60
73
  @apply absolute;
61
74
  top: theme(digitv2.spacers.spacer5);
@@ -64,25 +77,30 @@
64
77
  border-top: 0.125rem solid theme(colors.border);
65
78
  z-index: -1;
66
79
  height: 0.125rem;
80
+
67
81
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
68
82
  min-width: 6.313rem;
69
83
  max-width: 39.438rem;
70
84
  }
85
+
71
86
  @media (max-aspect-ratio: 9/16) {
72
87
  min-width: 4.313rem;
73
88
  max-width: 16.875rem;
74
89
  top: 0.875rem;
75
90
  }
91
+
76
92
  @media (min-aspect-ratio: 3/4) {
77
93
  min-width: 5.313rem;
78
94
  max-width: 82.688rem;
79
95
  }
96
+
80
97
  &.active {
81
98
  background-color: theme(digitv2.lightTheme.primary-1);
82
99
  border-color: theme(digitv2.lightTheme.primary-1);
83
- height:theme(digitv2.spacers.spacer1);
100
+ height: theme(digitv2.spacers.spacer1);
84
101
  border-top: theme(digitv2.spacers.spacer1) solid theme(digitv2.lightTheme.primary-1);
85
102
  }
103
+
86
104
  &.vertical {
87
105
  top: calc(50% + (theme(digitv2.spacers.spacer2)));
88
106
  bottom: calc(-50% + (theme(digitv2.spacers.spacer2)));
@@ -90,20 +108,23 @@
90
108
  width: 0.125rem;
91
109
  height: auto;
92
110
  transform: rotate(90deg);
111
+
93
112
  &.active {
94
113
  background-color: transparent;
95
114
  border-color: theme(digitv2.lightTheme.primary-1);
96
115
  }
97
116
  }
98
117
  }
118
+
99
119
  .digit-stepper-content:hover {
100
120
  .stepper-circle.active {
101
121
  outline: theme(digitv2.spacers.spacer1) solid #F477381F;
102
122
  }
123
+
103
124
  .stepper-label {
104
125
  &.completed {
105
126
  @extend .typography.heading-s;
106
- line-height:1.37rem;
127
+ line-height: 1.37rem;
107
128
  color: theme(digitv2.lightTheme.text-primary);
108
129
  }
109
130
  }
@@ -111,8 +132,8 @@
111
132
  }
112
133
 
113
134
  .digit-stepper-container::-webkit-scrollbar {
114
- width:theme(digitv2.spacers.spacer2);
115
- height:theme(digitv2.spacers.spacer2);
135
+ width: theme(digitv2.spacers.spacer2);
136
+ height: theme(digitv2.spacers.spacer2);
116
137
  background-color: theme(digitv2.lightTheme.generic-background);
117
138
  }
118
139
 
@@ -1,5 +1,5 @@
1
1
  .digit-timeline-item {
2
- @apply flex items-start;
2
+ @apply flex items-start relative ;
3
3
  gap: theme(digitv2.spacers.spacer4);
4
4
  }
5
5
 
@@ -13,6 +13,29 @@
13
13
  }
14
14
  }
15
15
 
16
+ .connector-line {
17
+ @apply absolute bottom-0 border-solid border-border;
18
+ border-left-width: 0.125rem;
19
+ margin-left: 0.938rem;
20
+ top: theme(digitv2.spacers.spacer8);
21
+
22
+ &.completed,
23
+ &.inprogress{
24
+ border-color: theme(digitv2.lightTheme.primary-1);
25
+ }
26
+
27
+ &.inprogress{
28
+ border-style: dashed;
29
+ }
30
+
31
+ @media (max-aspect-ratio: 9/16) {
32
+ /* Media query for mobile */
33
+ margin-left: 0.688rem;
34
+ top: theme(digitv2.spacers.spacer6);
35
+ border-left-width: 0.063rem;
36
+ }
37
+ }
38
+
16
39
  .timeline-content,
17
40
  .timeline-info {
18
41
  @apply flex flex-col w-full;
@@ -86,7 +109,7 @@ img {
86
109
  /* Circle Variants */
87
110
  .timeline-circle,
88
111
  .timeline-circle.upcoming {
89
- background-color: theme(digitv2.lightTheme.text-disabled);
112
+ background-color: theme(digitv2.lightTheme.text-disabled);
90
113
  }
91
114
 
92
115
  .timeline-circle.inprogress {
@@ -68,6 +68,10 @@
68
68
  gap: theme(digitv2.spacers.spacer2);
69
69
  }
70
70
 
71
+ &.error{
72
+ gap:theme(digitv2.spacers.spacer1);
73
+ }
74
+
71
75
  .digit-upload-label {
72
76
  @extend .typography.label;
73
77
  @apply text-left;
@@ -188,9 +192,45 @@
188
192
  width: 6.25rem;
189
193
  min-height: 6.25rem;
190
194
 
195
+ .overlay {
196
+ position: absolute;
197
+ top: 0;
198
+ left: 0;
199
+ width: 6.25rem !important;
200
+ height: 6.25rem !important;
201
+ background: #6f6f6fb2;
202
+ display: flex;
203
+ justify-content: center;
204
+ align-items: center;
205
+
206
+ &.error{
207
+ background: rgba(185, 25, 0, 0.2);
208
+
209
+ &:hover{
210
+ background: transparent;
211
+ }
212
+ }
213
+
214
+ &:hover{
215
+ background: transparent;
216
+ }
217
+ }
218
+
219
+
220
+ .digit-docupload-icon{
221
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
222
+
223
+ &:hover{
224
+ box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
225
+ }
226
+ }
227
+
191
228
  .preview-file-name{
229
+ @extend .typography.body-xs;
192
230
  @apply whitespace-pre-wrap break-words;
193
- color: theme(digitv2.lightTheme.text-primary);
231
+ color: theme(digitv2.lightTheme.text-secondary);
232
+ word-break: break-word;
233
+ cursor: default;
194
234
  }
195
235
 
196
236
  img {
@@ -209,6 +249,17 @@
209
249
  }
210
250
  }
211
251
 
252
+ .preview-container.uploadImage.singleUpload {
253
+ width: 100%;
254
+ height: 100%;
255
+
256
+ img{
257
+ width: 100% !important;
258
+ height: 100% !important;
259
+ object-fit: cover;
260
+ }
261
+ }
262
+
212
263
  @media (min-width: 30.063rem) and (max-width: 47.938rem) {
213
264
  min-width: 20.75rem;
214
265
  }
@@ -282,6 +333,10 @@
282
333
  gap: theme(digitv2.spacers.spacer4);
283
334
  margin-left: auto;
284
335
  margin-right: theme(digitv2.spacers.spacer6);
336
+
337
+ &.error-card{
338
+ margin-right: theme(digitv2.spacers.spacer0);
339
+ }
285
340
  }
286
341
 
287
342
  .digit-uploadpopup-close-icon {
@@ -1,67 +1,34 @@
1
- @import url("./components/actionbarV2.scss");
2
- @import url("./components/actionLinkV2.scss");
3
- @import url("./components/appContainerV2.scss");
4
- @import url("./components/backButtonV2.scss");
5
- @import url("./components/bannerV2.scss");
1
+ @import url("./components/backLinkV2.scss");
6
2
  @import url("./components/bodyContainerV2.scss");
7
- @import url("./components/breadCrumbV2.scss");
8
- @import url("./components/breakLineV2.scss");
3
+ @import url("./components/breadcrumbV2.scss");
9
4
  @import url("./components/buttonsV2.scss");
10
- @import url("./components/cardBasedOptionsV2.scss");
11
- @import url("./components/cardLabelV2.scss");
12
5
  @import url("./components/checkboxV2.scss");
13
- @import url("./components/checkpointV2.scss");
14
- @import url("./components/CitizenHomeCardV2.scss");
15
- @import url("./components/collapseAndExpandGroups.scss");
16
- @import url("./components/dateWrapV2.scss");
17
- @import url("./components/detailsCardV2.scss");
18
- @import url("./components/displayPhotosV2.scss");
19
- @import url("./components/ErrorMessage.scss");
20
- @import url("./components/footerV2.scss");
6
+ @import url("./components/errorMessageV2.scss");
7
+ @import url("./components/fieldV1.scss");
21
8
  @import url("./components/FormComposerV2.scss");
22
- @import url("./components/headerV2.scss");
23
- @import url("./components/headerBarV2.scss");
24
- @import url("./components/infoCardV2.scss");
25
- @import url("./components/keynoteV2.scss");
9
+ @import url("./components/infobuttonV2.scss");
10
+ @import url("./components/infoCardV2.scss");
26
11
  @import url("./components/labelFieldPairV2.scss");
27
- @import url("./components/loaderV2.scss");
28
12
  @import url("./components/mobileNumberV2.scss");
29
- @import url("./components/modalV2.scss");
30
13
  @import url("./components/multiSelectDropdownV2.scss");
31
- @import url("./components/multiUploadWrapperV2.scss");
32
- @import url("./components/navbarV2.scss");
33
- @import url("./components/noresultsfoundV2.scss");
34
- @import url("./components/otpInputV2.scss");
35
- @import url("./components/PageBasedInputV2.scss");
36
- @import url("./components/paragraphV2.scss");
14
+ @import url("./components/panelCardV2.scss");
15
+ @import url("./components/panelV2.scss");
37
16
  @import url("./components/popUpV2.scss");
38
17
  @import url("./components/radiobtnV2.scss");
39
- @import url("./components/ratingV2.scss");
40
- @import url("./components/searchActionV2.scss");
41
- @import url("./components/searchFormV2.scss");
42
- @import url("./components/selectdropdownV2.scss");
43
- @import url("./components/tagV2.scss");
44
- @import url("./components/telephoneV2.scss");
18
+ @import url("./components/chipV2.scss");
19
+ @import url("./components/selectDropdownV2.scss");
20
+ @import url("./components/stepperV2.scss");
45
21
  @import url("./components/textareaV2.scss");
22
+ @import url("./components/textblockV2.scss");
46
23
  @import url("./components/textInputV2.scss");
24
+ @import url("./components/timelineV2.scss");
47
25
  @import url("./components/toastV2.scss");
48
- @import url("./components/topbarV2.scss");
49
- @import url("./components/uploadFileV2.scss");
50
- @import url("./components/WhatsNewCardV2.scss");
51
- @import url("./components/fieldV1.scss");
52
- @import url("./components/toggle.scss");
53
- @import url("./components/toggleswitchV2.scss");
26
+ @import url("./components/toggleV2.scss");
54
27
  @import url("./components/treeSelectV2.scss");
55
- @import url("./components/cardV2.scss");
56
- @import url("./components/searchcomponent.scss");
57
- @import url("./components/sidebarV2.scss");
58
- @import url("./components/stepper.scss");
59
- @import url("./components/timeline.scss");
60
- @import url("./components/infobuttons.scss");
61
- @import url("./components/uploader.scss");
62
- @import url("./components/textblock.scss");
63
- @import url("./components/panels.scss");
64
- @import url("./components/panelcard.scss");
28
+ @import url("./components/uploaderV2.scss");
29
+
30
+
31
+
65
32
 
66
33
  /* pages */
67
34
  @import url("./pages/employee/index.scss");
@@ -1,25 +1,6 @@
1
1
  @import url("../index.scss");
2
2
 
3
3
  .typography {
4
- &.text-heading-xl {
5
- font-family: theme(digitv2.fontFamily.rc);
6
- font-style: theme(digitv2.fontStyle.normal);
7
- font-weight: theme(digitv2.fontWeight.bold);
8
- color: theme(digitv2.lightTheme.text-primary);
9
- line-height: theme(digitv2.lineHeight.normal);
10
-
11
- @media (min-width: theme(digitv2.screens.desktop)) {
12
- font-size: theme(digitv2.fontSize.heading-xl.desktop);
13
- }
14
-
15
- @media (min-width: theme(digitv2.screens.tablet)) {
16
- font-size: theme(digitv2.fontSize.heading-xl.tablet);
17
- }
18
-
19
- @media (min-width: theme(digitv2.screens.mobile)) {
20
- font-size: theme(digitv2.fontSize.heading-xl.mobile);
21
- }
22
- }
23
4
 
24
5
  &.text-heading-l {
25
6
  font-family: theme(digitv2.fontFamily.sans);
@@ -261,7 +242,7 @@
261
242
 
262
243
 
263
244
  &.heading-xl {
264
- font-family: theme(digitv2.fontFamily.sans);
245
+ font-family: theme(digitv2.fontFamily.rc);
265
246
  font-style: theme(digitv2.fontStyle.normal);
266
247
  font-weight: theme(digitv2.fontWeight.bold);
267
248
  line-height: theme(digitv2.lineHeight.lineheight1);
package/src/index.scss CHANGED
@@ -11,105 +11,12 @@
11
11
  @import "react-date-range/dist/styles.css";
12
12
  @import "react-date-range/dist/theme/default.css";
13
13
 
14
- @import "./components/loader.scss";
15
-
16
- @import "./components/body.scss";
17
- @import "./components/navbar.scss";
18
- @import "./components/card.scss";
19
- @import "./components/buttons.scss";
20
- @import "./components/radiobtn.scss";
21
- @import "./components/selectdropdown.scss";
22
- @import "./components/textfields.scss";
23
- @import "./components/bannercomponents.scss";
24
- @import "./components/datewrap.scss";
25
- @import "./components/datatable.scss";
26
- @import "./components/checkpoint.scss";
27
- @import "./components/checkbox.scss";
28
- @import "./components/inputotp.scss";
29
- @import "./components/map.scss";
30
- @import "./pages/employee/tooltip.scss";
31
- @import "./components/menu.scss";
32
- @import "./components/submiterrors.scss";
33
- @import "./components/ratingstar.scss";
34
- @import "./components/keynote.scss";
35
- @import "./components/statushighlight.scss";
36
- @import "./components/imageviewer.scss";
37
- @import "./components/actionbar.scss";
38
- @import "./components/table.scss";
39
- @import "./components/popup.scss";
40
- @import "./components/uploadcomponents.scss";
41
- @import "./components/toast.scss";
42
- @import "./components/detailscontainer.scss";
43
- @import "./components/telephone.scss";
44
- @import "./components/grey.scss";
45
- @import "./components/actionLink.scss";
46
- @import "./components/sectionalDropdown.scss";
47
- @import "./components/detailscard.scss";
48
- @import "./components/searchAction.scss";
49
- @import "./components/tag.scss";
50
- @import "./components/topbar.scss";
51
- @import "./components/languageSelector.scss";
52
- @import "./components/custombtn.scss";
53
- @import "./components/citizenInfoLabel.scss";
54
- @import "./components/roundedLabel.scss";
55
- @import "./components/changeLanguage.scss";
56
- @import "./components//metricsTable.scss";
57
- @import "./components/filters.scss";
58
- @import "./components//charts.scss";
59
- @import "./components/summary.scss";
60
- @import "./components/multiLink.scss";
61
- @import "./components/info-banner.scss";
62
- @import "./components/multiSelectDropdown.scss";
63
- @import "./components/EllipsisMenu.scss";
64
- @import "./components/CitizenHomeCard.scss";
65
- @import "./components/PropertySearchForm.scss";
66
- @import "./components/SearchForm.scss";
67
- @import "./components/cardHeaderWithOptions.scss";
68
- @import "./components/TimeLine.scss";
69
- @import "./components/PageBasedInput.scss";
70
- @import "./components/StandaloneSearchBar.scss";
71
- @import "./components/CardBasedOptions.scss";
72
- @import "./components/WhatsNewCard.scss";
73
- @import "./components/SearchOnRadioButton.scss";
74
- @import "./components/EventCalendarView.scss";
75
- @import "./components/OnGroundEventCard.scss";
76
- @import "./components/PopupHeadingLabel.scss";
77
- @import "./components/staticSideBar.scss";
78
- @import "./components/hoc/index.scss";
79
- @import "./components/FAQ.scss";
80
- @import "./components//howItWorks.scss";
81
- @import "./components/staticDynamicMessages.scss";
82
- @import "./components/toggleSwitch.scss";
83
- @import "./components/plusMinus.scss";
84
-
85
14
  @import "./pages/employee/index.scss";
86
- @import "./pages/employee/cardfix.scss";
87
- @import "./pages/employee/popupmodule.scss";
88
- @import "./pages/employee/container.scss";
89
- @import "./pages/employee/inbox.scss";
90
- @import "./pages/employee/response.scss";
91
- @import "./pages/employee/form-fields.scss";
92
- @import "./pages/employee/scroll-table.scss";
93
- @import "./pages/employee/EmployeeLogin.scss";
94
- @import "./pages/employee/updateNumber.scss";
95
- @import "./pages/employee/oldMobileInbox.scss";
96
- @import "./pages/employee/dss.scss";
97
- @import "./pages/employee/iframe.scss";
98
-
99
- @import "./pages/citizen/payment/payment-type.scss";
100
- @import "./pages/citizen/container.scss";
101
- @import "./pages/citizen/HomePageWrapper.scss";
102
- @import "./pages/citizen/CitizenEngagementNotificationWrapper.scss";
103
- @import "./pages/citizen/Events.scss";
104
- @import "./pages/citizen/DocumentList.scss";
105
- @import "./pages/citizen/SurveyList.scss";
106
- @import "./pages/citizen/updatePropertyNumber.scss";
107
- @import "./pages/citizen/citizenDocument.scss";
108
- @import "./pages/employee/surveys.scss";
15
+ @import "./pages/employee/login.scss";
16
+
109
17
  @import "./digitv2/index.scss";
110
18
  @import "./digitv2/typography.scss";
111
- @import "./components/inboxv2/index.scss";
112
- @import "./components//sidebar.scss";
19
+
113
20
 
114
21
  .display-none {
115
22
  display: none;