@djb25/digit-ui-css 1.0.0

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 (161) hide show
  1. package/README.md +80 -0
  2. package/dist/index.css +17535 -0
  3. package/dist/index.min.css +1 -0
  4. package/img/browser-icon.png +0 -0
  5. package/img/m_seva_white_logo.png +0 -0
  6. package/img/mseva-demo.png +0 -0
  7. package/package.json +70 -0
  8. package/src/components/CardBasedOptions.scss +46 -0
  9. package/src/components/CitizenHomeCard.scss +56 -0
  10. package/src/components/EllipsisMenu.scss +17 -0
  11. package/src/components/EventCalendarView.scss +10 -0
  12. package/src/components/FAQ.scss +64 -0
  13. package/src/components/OnGroundEventCard.scss +72 -0
  14. package/src/components/PageBasedInput.scss +29 -0
  15. package/src/components/PopupHeadingLabel.scss +15 -0
  16. package/src/components/PropertySearchForm.scss +58 -0
  17. package/src/components/SearchForm.scss +56 -0
  18. package/src/components/SearchOnRadioButton.scss +10 -0
  19. package/src/components/StandaloneSearchBar.scss +10 -0
  20. package/src/components/TimeLine.scss +68 -0
  21. package/src/components/WhatsNewCard.scss +13 -0
  22. package/src/components/actionLink.scss +3 -0
  23. package/src/components/actionbar.scss +97 -0
  24. package/src/components/bannercomponents.scss +136 -0
  25. package/src/components/body.scss +144 -0
  26. package/src/components/buttons.scss +106 -0
  27. package/src/components/card.scss +468 -0
  28. package/src/components/cardHeaderWithOptions.scss +14 -0
  29. package/src/components/changeLanguage.scss +3 -0
  30. package/src/components/charts.scss +186 -0
  31. package/src/components/checkbox.scss +53 -0
  32. package/src/components/checkpoint.scss +63 -0
  33. package/src/components/citizenInfoLabel.scss +14 -0
  34. package/src/components/custombtn.scss +11 -0
  35. package/src/components/datatable.scss +134 -0
  36. package/src/components/datewrap.scss +21 -0
  37. package/src/components/detailscard.scss +6 -0
  38. package/src/components/detailscontainer.scss +13 -0
  39. package/src/components/filters.scss +98 -0
  40. package/src/components/financeUi.scss +875 -0
  41. package/src/components/grey.scss +3 -0
  42. package/src/components/hoc/InboxComposer.scss +115 -0
  43. package/src/components/hoc/index.scss +1 -0
  44. package/src/components/howItWorks.scss +71 -0
  45. package/src/components/imageviewer.scss +33 -0
  46. package/src/components/inboxv2/InboxLinks.scss +59 -0
  47. package/src/components/inboxv2/horizontalNav.scss +224 -0
  48. package/src/components/inboxv2/inboxSearch.scss +116 -0
  49. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  50. package/src/components/inboxv2/index.scss +5 -0
  51. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  52. package/src/components/info-banner.scss +35 -0
  53. package/src/components/inputotp.scss +15 -0
  54. package/src/components/keynote.scss +27 -0
  55. package/src/components/landingpage.scss +3860 -0
  56. package/src/components/languageSelector.scss +23 -0
  57. package/src/components/loader.scss +96 -0
  58. package/src/components/map.scss +30 -0
  59. package/src/components/menu.scss +0 -0
  60. package/src/components/metricsTable.scss +28 -0
  61. package/src/components/multiLink.scss +88 -0
  62. package/src/components/multiSelectDropdown.scss +77 -0
  63. package/src/components/navbar.scss +312 -0
  64. package/src/components/plusMinus.scss +15 -0
  65. package/src/components/popup.scss +16 -0
  66. package/src/components/radiobtn.scss +45 -0
  67. package/src/components/ratingstar.scss +33 -0
  68. package/src/components/roundedLabel.scss +10 -0
  69. package/src/components/searchAction.scss +20 -0
  70. package/src/components/sectionalDropdown.scss +43 -0
  71. package/src/components/selectdropdown.scss +174 -0
  72. package/src/components/sidebar.scss +141 -0
  73. package/src/components/staticDynamicMessages.scss +107 -0
  74. package/src/components/staticSideBar.scss +27 -0
  75. package/src/components/statushighlight.scss +17 -0
  76. package/src/components/submiterrors.scss +11 -0
  77. package/src/components/summary.scss +29 -0
  78. package/src/components/table.scss +230 -0
  79. package/src/components/tag.scss +27 -0
  80. package/src/components/telephone.scss +17 -0
  81. package/src/components/textfields.scss +96 -0
  82. package/src/components/toast.scss +31 -0
  83. package/src/components/toggleSwitch.scss +41 -0
  84. package/src/components/topbar.scss +151 -0
  85. package/src/components/uploadcomponents.scss +100 -0
  86. package/src/digitv2/components/ErrorMessage.scss +6 -0
  87. package/src/digitv2/components/FormComposerV2.scss +120 -0
  88. package/src/digitv2/components/actionLinkV2.scss +7 -0
  89. package/src/digitv2/components/actionbarV2.scss +110 -0
  90. package/src/digitv2/components/appContainerV2.scss +55 -0
  91. package/src/digitv2/components/backButtonV2.scss +26 -0
  92. package/src/digitv2/components/bannerV2.scss +120 -0
  93. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  94. package/src/digitv2/components/breadCrumbV2.scss +31 -0
  95. package/src/digitv2/components/breakLineV2.scss +6 -0
  96. package/src/digitv2/components/buttonsV2.scss +40 -0
  97. package/src/digitv2/components/cardV2.scss +385 -0
  98. package/src/digitv2/components/checkboxV2.scss +61 -0
  99. package/src/digitv2/components/checkpointV2.scss +71 -0
  100. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  101. package/src/digitv2/components/dateWrapV2.scss +12 -0
  102. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  103. package/src/digitv2/components/headerV2.scss +6 -0
  104. package/src/digitv2/components/infoBannerV2.scss +37 -0
  105. package/src/digitv2/components/keynoteV2.scss +35 -0
  106. package/src/digitv2/components/loaderV2.scss +81 -0
  107. package/src/digitv2/components/mobileNumberV2.scss +33 -0
  108. package/src/digitv2/components/multiSelectDropdownV2.scss +92 -0
  109. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  110. package/src/digitv2/components/otpInputV2.scss +15 -0
  111. package/src/digitv2/components/popUpV2.scss +16 -0
  112. package/src/digitv2/components/radiobtnV2.scss +51 -0
  113. package/src/digitv2/components/ratingV2.scss +33 -0
  114. package/src/digitv2/components/selectdropdownV2.scss +170 -0
  115. package/src/digitv2/components/tagV2.scss +28 -0
  116. package/src/digitv2/components/telephoneV2.scss +18 -0
  117. package/src/digitv2/components/textInputV2.scss +123 -0
  118. package/src/digitv2/components/textareaV2.scss +11 -0
  119. package/src/digitv2/components/uploadFileV2.scss +146 -0
  120. package/src/digitv2/index.scss +168 -0
  121. package/src/digitv2/pages/employee/index.scss +1 -0
  122. package/src/digitv2/pages/employee/workbench.scss +1042 -0
  123. package/src/digitv2/typography.scss +241 -0
  124. package/src/index.scss +804 -0
  125. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
  126. package/src/pages/citizen/DocumentList.scss +305 -0
  127. package/src/pages/citizen/Events.scss +47 -0
  128. package/src/pages/citizen/HomePageWrapper.scss +158 -0
  129. package/src/pages/citizen/SurveyList.scss +22 -0
  130. package/src/pages/citizen/citizenDocument.scss +22 -0
  131. package/src/pages/citizen/container.scss +19 -0
  132. package/src/pages/citizen/payment/payment-type.scss +3 -0
  133. package/src/pages/citizen/updatePropertyNumber.scss +46 -0
  134. package/src/pages/employee/EmployeeLogin.scss +7 -0
  135. package/src/pages/employee/cardfix.scss +13 -0
  136. package/src/pages/employee/container.scss +72 -0
  137. package/src/pages/employee/dss.scss +266 -0
  138. package/src/pages/employee/form-fields.scss +13 -0
  139. package/src/pages/employee/iframe.scss +66 -0
  140. package/src/pages/employee/inbox.scss +634 -0
  141. package/src/pages/employee/index.scss +621 -0
  142. package/src/pages/employee/login.scss +302 -0
  143. package/src/pages/employee/oldMobileInbox.scss +5 -0
  144. package/src/pages/employee/popupmodule.scss +34 -0
  145. package/src/pages/employee/response.scss +3 -0
  146. package/src/pages/employee/scroll-table.scss +119 -0
  147. package/src/pages/employee/surveys.scss +273 -0
  148. package/src/pages/employee/tooltip.scss +36 -0
  149. package/src/pages/employee/updateNumber.scss +13 -0
  150. package/svg/arrowdown.svg +1 -0
  151. package/svg/arrowleft.svg +1 -0
  152. package/svg/calendar.svg +1 -0
  153. package/svg/camera.svg +4 -0
  154. package/svg/check.svg +4 -0
  155. package/svg/close.svg +4 -0
  156. package/svg/error.svg +4 -0
  157. package/svg/error2.svg +5 -0
  158. package/svg/searchicon.svg +4 -0
  159. package/svg/starempty.svg +4 -0
  160. package/svg/starfilled.svg +5 -0
  161. package/svg/success.svg +4 -0
@@ -0,0 +1,146 @@
1
+ .digit-upload-wrap {
2
+ @apply flex w-full h-40 bg-grey-light relative mb-lg px-sm border border-border border-dashed;
3
+ max-width: 540px;
4
+ min-height: 50px;
5
+ padding: 0.5rem;
6
+
7
+ img {
8
+ display: block;
9
+ margin-top: 58px;
10
+ margin-left: calc(50% - 23px);
11
+ height: 42px;
12
+ width: 46px;
13
+ }
14
+
15
+ svg {
16
+ display: block;
17
+ margin-top: 58px;
18
+ margin-left: calc(50% - 23px);
19
+ height: 42px;
20
+ width: 46px;
21
+ }
22
+
23
+ input {
24
+ @apply absolute w-full h-full opacity-0 top-0;
25
+ }
26
+ .digit-cell-text {
27
+ color: theme(colors.text.secondary);
28
+ padding-top: 3px;
29
+ }
30
+ }
31
+
32
+ .digit-multi-upload-wrap {
33
+ @apply flex mb-lg;
34
+
35
+ div {
36
+ display: block;
37
+ position: relative;
38
+ background-color: theme(colors.grey.light);
39
+ width: calc((100% - 16px) / 3);
40
+ margin-right: 8px;
41
+
42
+ .digit-delete {
43
+ position: absolute;
44
+ height: 24px;
45
+ width: 24px;
46
+ border-radius: 100%;
47
+ top: 2px;
48
+ right: 2px;
49
+ }
50
+ }
51
+
52
+ .digit-upload-img-container {
53
+ border: 1px dashed theme(colors.border);
54
+ margin: 0 !important;
55
+
56
+ img {
57
+ margin-left: auto;
58
+ margin-right: auto;
59
+ padding-top: calc(33% - 21px);
60
+ }
61
+
62
+ svg {
63
+ @apply flex;
64
+ margin: auto;
65
+ }
66
+
67
+ svg {
68
+ margin-left: auto;
69
+ margin-right: auto;
70
+ top: calc(50% - 21px);
71
+ position: relative;
72
+ }
73
+
74
+ input {
75
+ @apply absolute w-full h-full opacity-0 top-0;
76
+ }
77
+ }
78
+ }
79
+
80
+ .digit-upload-file-max-width {
81
+ max-width: 540px;
82
+ }
83
+
84
+ .digit-upload-file {
85
+ min-height: 56px;
86
+ @apply relative border border-input-border w-full;
87
+
88
+ div {
89
+ @apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
90
+
91
+ .file-upload-status {
92
+ @apply text-body-s-dt ml-sm;
93
+ }
94
+ }
95
+ input {
96
+ width: 160px;
97
+ @apply absolute top-0 left-0 opacity-0 h-full;
98
+ }
99
+ }
100
+
101
+ @screen dt {
102
+ .digit-multi-upload-wrap img {
103
+ width: 100%;
104
+ height: 158px;
105
+ }
106
+ }
107
+
108
+ .digit-upload-file-button-wrap {
109
+ display: flex;
110
+ justify-content: flex-start;
111
+ align-items: center;
112
+ flex-wrap: wrap;
113
+ margin: 0px;
114
+ padding: 0px;
115
+ button {
116
+ height: auto;
117
+ min-height: 40px;
118
+ width: 43%;
119
+ max-height: 40px;
120
+ margin: 5px;
121
+ padding: 0px;
122
+ h2 {
123
+ word-break: break-all;
124
+ height: auto;
125
+ line-height: 16px;
126
+ overflow: hidden;
127
+ max-height: 34px;
128
+ max-width: 100%;
129
+ }
130
+ }
131
+ .digit-tag-container {
132
+ margin: 0px;
133
+ padding: 0px;
134
+ }
135
+ }
136
+ .digit-input-mirror-selector-button {
137
+ @apply h-16 bg-border text-center border-b-2 border-input-border border-solid outline-none px-lg !important;
138
+
139
+ &:focus {
140
+ @apply outline-none;
141
+ }
142
+
143
+ h2 {
144
+ @apply font-rc font-medium text-legend text-text-primary;
145
+ }
146
+ }
@@ -0,0 +1,168 @@
1
+ @import url("./components/actionbarV2.scss");
2
+ /*
3
+ TODO NABEEL/ANIL Removed these since it creates issues in search screen and home screen
4
+ @import url("./components/cardV2.scss");
5
+ */
6
+
7
+ @import url("./components/checkboxV2.scss");
8
+ @import url("./components/FormComposerV2.scss");
9
+ @import url("./components/radiobtnV2.scss");
10
+ @import url("./components/selectdropdownV2.scss");
11
+ @import url("./typography.scss");
12
+ @import url("./components/actionLinkV2.scss");
13
+ @import url("./components/appContainerV2.scss");
14
+ @import url("./components/bodyContainerV2.scss");
15
+ @import url("./components/breadCrumbV2.scss");
16
+ @import url("./components/bannerV2.scss");
17
+ @import url("./components/breakLineV2.scss");
18
+ @import url("./components/loaderV2.scss");
19
+ @import url("./components/headerV2.scss");
20
+ @import url("./components/checkpointV2.scss");
21
+ @import url("./components/backButtonV2.scss");
22
+ @import url("./components/buttonsV2.scss");
23
+ @import url("./components/infoBannerV2.scss");
24
+ @import url("./components/displayPhotosV2.scss");
25
+ @import url("./components/collapseAndExpandGroups.scss");
26
+ @import url("./components/dateWrapV2.scss");
27
+ @import url("./components/ErrorMessage.scss");
28
+ @import url("./components/ratingV2.scss");
29
+ @import url("./components/noresultsfoundV2.scss");
30
+ @import url("./components/mobileNumberV2.scss");
31
+ @import url("./components/tagV2.scss");
32
+ @import url("./components/popUpV2.scss");
33
+ @import url("./components/telephoneV2.scss");
34
+ @import url("./components/textareaV2.scss");
35
+ @import url("./components/textInputV2.scss");
36
+ @import url("./components/otpInputV2.scss");
37
+ @import url("./components/multiSelectDropdownV2.scss");
38
+ @import url("./components/uploadFileV2.scss");
39
+
40
+ /* pages */
41
+ @import url("./pages/employee/index.scss");
42
+
43
+ /* important to be remove after fixing the components */
44
+ .light {
45
+ &-primary {
46
+ color: theme(digitv2.lightTheme.primary) !important;
47
+
48
+ &-button {
49
+ background-color: theme(digitv2.lightTheme.primary) !important;
50
+ }
51
+
52
+ &-bg {
53
+ background-color: theme(digitv2.lightTheme.primary-bg) !important;
54
+ }
55
+ }
56
+
57
+ &-text-color {
58
+ &-primary {
59
+ color: theme(digitv2.lightTheme.text-color-primary) !important;
60
+ }
61
+
62
+ &-secondary {
63
+ color: theme(digitv2.lightTheme.text-color-secondary) !important;
64
+ }
65
+
66
+ &-disabled {
67
+ color: theme(digitv2.lightTheme.text-color-disabled) !important;
68
+ }
69
+ }
70
+
71
+ &-background {
72
+ background-color: theme(digitv2.lightTheme.background) !important;
73
+ }
74
+
75
+ &-paper {
76
+ &-primary {
77
+ background-color: theme(digitv2.lightTheme.paper) !important;
78
+
79
+ &-color {
80
+ color: theme(digitv2.lightTheme.paper) !important;
81
+ }
82
+ }
83
+
84
+ &-secondary {
85
+ background-color: theme(digitv2.lightTheme.paper-secondary) !important;
86
+ }
87
+
88
+ &-border {
89
+ border-radius: 4px;
90
+ border-style: solid;
91
+ border-width: 1px;
92
+ border-color: theme(digitv2.lightTheme.divider);
93
+ }
94
+ }
95
+
96
+ &-divider {
97
+ background-color: theme(digitv2.lightTheme.divider) !important;
98
+ }
99
+
100
+ &-header-sidenav {
101
+ color: theme(digitv2.lightTheme.header-sidenav) !important;
102
+ }
103
+
104
+ &-input-border {
105
+ /* TODO Check why important added here @ANIL/NABEEL */
106
+ border-color: theme(digitv2.lightTheme.input-border);
107
+ }
108
+ }
109
+
110
+ .alert {
111
+ &-error {
112
+ color: theme(digitv2.alert.error) !important;
113
+
114
+ &-bg {
115
+ background-color: theme(digitv2.alert.error-bg) !important;
116
+ }
117
+
118
+ &-border {
119
+ border-color: theme(digitv2.alert.error) !important;
120
+ }
121
+ }
122
+
123
+ &-success {
124
+ color: theme(digitv2.alert.success) !important;
125
+
126
+ &-bg {
127
+ background-color: theme(digitv2.alert.success-bg) !important;
128
+ }
129
+ }
130
+
131
+ &-info {
132
+ color: theme(digitv2.alert.info) !important;
133
+
134
+ &-bg {
135
+ background-color: theme(digitv2.alert.info-bg) !important;
136
+ }
137
+ }
138
+ }
139
+
140
+ .chart {
141
+ &-item-1 {
142
+ color: theme(digitv2.chart.chart-1) !important;
143
+ }
144
+
145
+ &-item-1-gradient {
146
+ color: theme(digitv2.chart.chart-1-gradient) !important;
147
+ }
148
+
149
+ &-item-2 {
150
+ color: theme(digitv2.chart.chart-2) !important;
151
+ }
152
+
153
+ &-item-2-gradient {
154
+ color: theme(digitv2.chart.chart-2-gradient) !important;
155
+ }
156
+
157
+ &-item-3 {
158
+ color: theme(digitv2.chart.chart-3) !important;
159
+ }
160
+
161
+ &-item-4 {
162
+ color: theme(digitv2.chart.chart-4) !important;
163
+ }
164
+
165
+ &-item-5 {
166
+ color: theme(digitv2.chart.chart-5) !important;
167
+ }
168
+ }
@@ -0,0 +1 @@
1
+ @import url("./workbench.scss");