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

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 (197) hide show
  1. package/CHANGELOG.md +88 -54
  2. package/README.md +80 -80
  3. package/dist/index.css +5782 -14109
  4. package/dist/index.min.css +2 -2
  5. package/package.json +69 -67
  6. package/src/digitv2/components/FormComposerV2.scss +118 -118
  7. package/src/digitv2/components/actionbarV2.scss +207 -110
  8. package/src/digitv2/components/backLinkV2.scss +37 -0
  9. package/src/digitv2/components/bodyContainerV2.scss +39 -39
  10. package/src/digitv2/components/breadcrumbV2.scss +57 -0
  11. package/src/digitv2/components/buttonsV2.scss +451 -407
  12. package/src/digitv2/components/cardV2.scss +498 -383
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +7 -7
  15. package/src/digitv2/components/checkboxV2.scss +83 -79
  16. package/src/digitv2/components/{tagV2.scss → chipV2.scss} +129 -120
  17. package/src/digitv2/components/dividerV2.scss +11 -0
  18. package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +20 -18
  19. package/src/digitv2/components/fieldV1.scss +96 -96
  20. package/src/digitv2/components/headerdropdownV2.scss +152 -0
  21. package/src/digitv2/components/infoCardV2.scss +139 -142
  22. package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +75 -75
  23. package/src/digitv2/components/labelFieldPairV2.scss +66 -57
  24. package/src/digitv2/components/mobileNumberV2.scss +65 -65
  25. package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
  26. package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +160 -160
  27. package/src/digitv2/components/{panels.scss → panelV2.scss} +114 -114
  28. package/src/digitv2/components/popUpV2.scss +330 -308
  29. package/src/digitv2/components/radiobtnV2.scss +115 -113
  30. package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +364 -360
  31. package/src/digitv2/components/{stepper.scss → stepperV2.scss} +147 -126
  32. package/src/digitv2/components/textInputV2.scss +462 -462
  33. package/src/digitv2/components/textareaV2.scss +99 -99
  34. package/src/digitv2/components/{textblock.scss → textblockV2.scss} +46 -46
  35. package/src/digitv2/components/{timeline.scss → timelineV2.scss} +170 -126
  36. package/src/digitv2/components/toastV2.scss +80 -80
  37. package/src/digitv2/components/{toggle.scss → toggleV2.scss} +72 -72
  38. package/src/digitv2/components/topbarV2.scss +388 -187
  39. package/src/digitv2/components/treeSelectV2.scss +132 -132
  40. package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +556 -468
  41. package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
  42. package/src/digitv2/index.scss +169 -197
  43. package/src/digitv2/pages/employee/index.scss +1 -1
  44. package/src/digitv2/pages/employee/workbench.scss +615 -615
  45. package/src/digitv2/typography.scss +638 -657
  46. package/src/index.scss +681 -774
  47. package/src/pages/employee/index.scss +625 -625
  48. package/src/pages/employee/login.scss +220 -220
  49. package/img/browser-icon.png +0 -0
  50. package/img/m_seva_white_logo.png +0 -0
  51. package/img/mseva-demo.png +0 -0
  52. package/src/components/CardBasedOptions.scss +0 -46
  53. package/src/components/CitizenHomeCard.scss +0 -56
  54. package/src/components/EllipsisMenu.scss +0 -17
  55. package/src/components/EventCalendarView.scss +0 -10
  56. package/src/components/FAQ.scss +0 -64
  57. package/src/components/OnGroundEventCard.scss +0 -72
  58. package/src/components/PageBasedInput.scss +0 -29
  59. package/src/components/PopupHeadingLabel.scss +0 -15
  60. package/src/components/PropertySearchForm.scss +0 -58
  61. package/src/components/SearchForm.scss +0 -56
  62. package/src/components/SearchOnRadioButton.scss +0 -10
  63. package/src/components/StandaloneSearchBar.scss +0 -10
  64. package/src/components/TimeLine.scss +0 -68
  65. package/src/components/WhatsNewCard.scss +0 -13
  66. package/src/components/actionLink.scss +0 -3
  67. package/src/components/actionbar.scss +0 -97
  68. package/src/components/bannercomponents.scss +0 -136
  69. package/src/components/body.scss +0 -144
  70. package/src/components/buttons.scss +0 -101
  71. package/src/components/card.scss +0 -391
  72. package/src/components/cardHeaderWithOptions.scss +0 -14
  73. package/src/components/changeLanguage.scss +0 -3
  74. package/src/components/charts.scss +0 -186
  75. package/src/components/checkbox.scss +0 -53
  76. package/src/components/checkpoint.scss +0 -63
  77. package/src/components/citizenInfoLabel.scss +0 -14
  78. package/src/components/custombtn.scss +0 -11
  79. package/src/components/datatable.scss +0 -134
  80. package/src/components/datewrap.scss +0 -21
  81. package/src/components/detailscard.scss +0 -6
  82. package/src/components/detailscontainer.scss +0 -13
  83. package/src/components/filters.scss +0 -98
  84. package/src/components/grey.scss +0 -3
  85. package/src/components/hoc/InboxComposer.scss +0 -115
  86. package/src/components/hoc/index.scss +0 -1
  87. package/src/components/howItWorks.scss +0 -71
  88. package/src/components/imageviewer.scss +0 -33
  89. package/src/components/inboxv2/InboxLinks.scss +0 -59
  90. package/src/components/inboxv2/horizontalNav.scss +0 -224
  91. package/src/components/inboxv2/inboxSearch.scss +0 -116
  92. package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
  93. package/src/components/inboxv2/index.scss +0 -5
  94. package/src/components/inboxv2/searchComponentTable.scss +0 -44
  95. package/src/components/info-banner.scss +0 -35
  96. package/src/components/inputotp.scss +0 -15
  97. package/src/components/keynote.scss +0 -27
  98. package/src/components/languageSelector.scss +0 -24
  99. package/src/components/loader.scss +0 -96
  100. package/src/components/map.scss +0 -30
  101. package/src/components/menu.scss +0 -0
  102. package/src/components/metricsTable.scss +0 -28
  103. package/src/components/multiLink.scss +0 -88
  104. package/src/components/multiSelectDropdown.scss +0 -77
  105. package/src/components/navbar.scss +0 -312
  106. package/src/components/plusMinus.scss +0 -15
  107. package/src/components/popup.scss +0 -16
  108. package/src/components/radiobtn.scss +0 -45
  109. package/src/components/ratingstar.scss +0 -33
  110. package/src/components/roundedLabel.scss +0 -10
  111. package/src/components/searchAction.scss +0 -20
  112. package/src/components/sectionalDropdown.scss +0 -43
  113. package/src/components/selectdropdown.scss +0 -174
  114. package/src/components/sidebar.scss +0 -141
  115. package/src/components/staticDynamicMessages.scss +0 -107
  116. package/src/components/staticSideBar.scss +0 -27
  117. package/src/components/statushighlight.scss +0 -17
  118. package/src/components/submiterrors.scss +0 -11
  119. package/src/components/summary.scss +0 -29
  120. package/src/components/table.scss +0 -201
  121. package/src/components/tag.scss +0 -27
  122. package/src/components/telephone.scss +0 -17
  123. package/src/components/textfields.scss +0 -96
  124. package/src/components/toast.scss +0 -31
  125. package/src/components/toggleSwitch.scss +0 -41
  126. package/src/components/topbar.scss +0 -153
  127. package/src/components/uploadcomponents.scss +0 -100
  128. package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
  129. package/src/digitv2/components/PageBasedInputV2.scss +0 -33
  130. package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
  131. package/src/digitv2/components/actionLinkV2.scss +0 -9
  132. package/src/digitv2/components/appContainerV2.scss +0 -49
  133. package/src/digitv2/components/backButtonV2.scss +0 -26
  134. package/src/digitv2/components/bannerV2.scss +0 -120
  135. package/src/digitv2/components/breadCrumbV2.scss +0 -34
  136. package/src/digitv2/components/breakLineV2.scss +0 -6
  137. package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
  138. package/src/digitv2/components/checkpointV2.scss +0 -71
  139. package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
  140. package/src/digitv2/components/dateWrapV2.scss +0 -17
  141. package/src/digitv2/components/detailsCardV2.scss +0 -17
  142. package/src/digitv2/components/displayPhotosV2.scss +0 -33
  143. package/src/digitv2/components/footerV2.scss +0 -55
  144. package/src/digitv2/components/headerBarV2.scss +0 -34
  145. package/src/digitv2/components/headerV2.scss +0 -12
  146. package/src/digitv2/components/keynoteV2.scss +0 -35
  147. package/src/digitv2/components/loaderV2.scss +0 -85
  148. package/src/digitv2/components/modalV2.scss +0 -46
  149. package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
  150. package/src/digitv2/components/navbarV2.scss +0 -9
  151. package/src/digitv2/components/noresultsfoundV2.scss +0 -11
  152. package/src/digitv2/components/numeric.scss +0 -47
  153. package/src/digitv2/components/otpInputV2.scss +0 -15
  154. package/src/digitv2/components/paragraphV2.scss +0 -5
  155. package/src/digitv2/components/ratingV2.scss +0 -33
  156. package/src/digitv2/components/searchActionV2.scss +0 -11
  157. package/src/digitv2/components/searchFormV2.scss +0 -76
  158. package/src/digitv2/components/searchcomponent.scss +0 -7
  159. package/src/digitv2/components/sidebarV2.scss +0 -11
  160. package/src/digitv2/components/telephoneV2.scss +0 -18
  161. package/src/digitv2/components/toggleswitchV2.scss +0 -42
  162. package/src/digitv2/components/uploadFileV2.scss +0 -146
  163. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
  164. package/src/pages/citizen/DocumentList.scss +0 -305
  165. package/src/pages/citizen/Events.scss +0 -47
  166. package/src/pages/citizen/HomePageWrapper.scss +0 -158
  167. package/src/pages/citizen/SurveyList.scss +0 -22
  168. package/src/pages/citizen/citizenDocument.scss +0 -22
  169. package/src/pages/citizen/container.scss +0 -19
  170. package/src/pages/citizen/payment/payment-type.scss +0 -3
  171. package/src/pages/citizen/updatePropertyNumber.scss +0 -46
  172. package/src/pages/employee/EmployeeLogin.scss +0 -7
  173. package/src/pages/employee/cardfix.scss +0 -13
  174. package/src/pages/employee/container.scss +0 -72
  175. package/src/pages/employee/dss.scss +0 -266
  176. package/src/pages/employee/form-fields.scss +0 -13
  177. package/src/pages/employee/iframe.scss +0 -66
  178. package/src/pages/employee/inbox.scss +0 -585
  179. package/src/pages/employee/oldMobileInbox.scss +0 -5
  180. package/src/pages/employee/popupmodule.scss +0 -34
  181. package/src/pages/employee/response.scss +0 -3
  182. package/src/pages/employee/scroll-table.scss +0 -119
  183. package/src/pages/employee/surveys.scss +0 -273
  184. package/src/pages/employee/tooltip.scss +0 -36
  185. package/src/pages/employee/updateNumber.scss +0 -13
  186. package/svg/arrowdown.svg +0 -1
  187. package/svg/arrowleft.svg +0 -1
  188. package/svg/calendar.svg +0 -1
  189. package/svg/camera.svg +0 -4
  190. package/svg/check.svg +0 -4
  191. package/svg/close.svg +0 -4
  192. package/svg/error.svg +0 -4
  193. package/svg/error2.svg +0 -5
  194. package/svg/searchicon.svg +0 -4
  195. package/svg/starempty.svg +0 -4
  196. package/svg/starfilled.svg +0 -5
  197. package/svg/success.svg +0 -4
@@ -1,463 +1,463 @@
1
- @import url("../index.scss");
2
- @import url("../typography.scss");
3
-
4
- .digit-card-inputError {
5
- @apply block w-full h-10 outline-none bg-white text-text-primary;
6
- font-style: theme(digitv2.fontStyle.normal);
7
- padding-left:theme(digitv2.spacers.spacer3);
8
- font-family: theme(digitv2.fontFamily.sans);
9
- font-size: theme(digitv2.spacers.spacer4);
10
- color: theme(digitv2.lightTheme.text-primary);
11
- line-height: theme(digitv2.spacers.spacer6);
12
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
13
- }
14
-
15
- .digit-text-input-field {
16
- @apply relative w-full;
17
-
18
- &.geolocation {
19
- input {
20
- @apply pointer-events-none;
21
- }
22
- }
23
-
24
- &.numeric {
25
- input {
26
- @apply text-center overflow-hidden whitespace-no-wrap;
27
- text-overflow: ellipsis;
28
- }
29
-
30
- .input-container:focus-within {
31
- input {
32
- border-left-style: hidden;
33
- border-right-style: hidden;
34
- }
35
- }
36
-
37
- &.numeric-buttons-only{
38
- input{
39
- pointer-events: none !important;
40
- cursor: not-allowed;
41
- }
42
- }
43
- }
44
-
45
- &.prefix {
46
- .input-container:focus-within {
47
- input {
48
- border-left-style: hidden;
49
- }
50
- }
51
- }
52
-
53
- &.suffix {
54
- .input-container:focus-within {
55
- input {
56
- border-right-style: hidden;
57
- }
58
- }
59
- }
60
-
61
- &.password {
62
- input {
63
- font-family: theme(digitv2.fontFamily.sans);
64
- font-size: theme(digitv2.spacers.spacer4);
65
- font-weight: 900;
66
- line-height: theme(digitv2.spacers.spacer6);
67
- }
68
- }
69
-
70
- &.disabled {
71
-
72
- input,
73
- .digit-prefix,
74
- .digit-suffix,
75
- .digit-numeric-button-prefix,
76
- .digit-numeric-button-suffix {
77
- pointer-events: none !important;
78
- cursor: not-allowed;
79
- background-color: theme(digitv2.lightTheme.generic-background);
80
- border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
81
- color: theme(digitv2.lightTheme.generic-divider);
82
- }
83
-
84
- input {
85
- background-color: white;
86
- }
87
-
88
- .digit-numeric-button-prefix,
89
- .digit-prefix {
90
- border-right-style: hidden;
91
- }
92
-
93
- .digit-numeric-button-suffix,
94
- .digit-suffix {
95
- border-left-style: hidden;
96
- }
97
- }
98
-
99
- input[type="time"]::-webkit-calendar-picker-indicator,
100
- input[type="date"]::-webkit-calendar-picker-indicator,
101
- input[type="date"]:disabled::-webkit-calendar-picker-indicator,
102
- input[type="time"]:disabled::-webkit-calendar-picker-indicator {
103
- @apply absolute cursor-pointer w-6 h-6;
104
- right: theme(digitv2.spacers.spacer3);
105
- }
106
-
107
- input[type="date"]:disabled::-webkit-calendar-picker-indicator,
108
- input[type="time"]:disabled::-webkit-calendar-picker-indicator {
109
- visibility: visible;
110
- filter: invert(85%) sepia(0%) saturate(337%) hue-rotate(50deg) brightness(99%) contrast(99%);
111
- }
112
-
113
- input[type="date"][value=""]::-webkit-datetime-edit,
114
- input[type="time"][value=""]::-webkit-datetime-edit,
115
- input[type="date"]:disabled::-webkit-datetime-edit,
116
- input[type="time"]:disabled::-webkit-datetime-edit,
117
- input[type="search"]::-webkit-search-cancel-button,
118
- input[type="search"]::-webkit-search-clear-button {
119
- display: none;
120
- }
121
-
122
- ::placeholder,
123
- input[type="date"][value=""]:not(:placeholder-shown)::before,
124
- input[type="time"][value=""]:not(:placeholder-shown)::before {
125
- content: attr(placeholder);
126
- color: theme(digitv2.lightTheme.text-disabled);
127
- font-family: theme(digitv2.fontFamily.sans);
128
- font-weight: theme(digitv2.fontWeight.regular);
129
- font-size: theme(digitv2.spacers.spacer4);
130
- line-height: theme(digitv2.spacers.spacer6);
131
- }
132
-
133
- &.noneditable {
134
-
135
- .digit-prefix,
136
- .digit-suffix,
137
- .digit-numeric-button-prefix,
138
- .digit-numeric-button-suffix {
139
- pointer-events: none !important;
140
- border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
141
- background: theme(digitv2.lightTheme.generic-background);
142
- color: theme(digitv2.lightTheme.text-disabled);
143
- }
144
-
145
- input {
146
- border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
147
- background: theme(digitv2.lightTheme.generic-background);
148
- color: theme(digitv2.lightTheme.text-disabled);
149
- }
150
-
151
- .digit-numeric-button-prefix,
152
- .digit-prefix {
153
- border-right-style: hidden;
154
- }
155
-
156
- .digit-numeric-button-suffix,
157
- .digit-suffix {
158
- border-left-style: hidden;
159
- }
160
-
161
- input[type="date"]::-webkit-calendar-picker-indicator,
162
- input[type="time"]::-webkit-calendar-picker-indicator {
163
- visibility: visible;
164
- filter: invert(74%) sepia(7%) saturate(64%) hue-rotate(144deg) brightness(98%) contrast(89%);
165
- }
166
- }
167
-
168
- &.error {
169
-
170
- input,
171
- .digit-prefix,
172
- .digit-suffix,
173
- .digit-numeric-button-prefix,
174
- .digit-numeric-button-suffix {
175
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
176
- }
177
-
178
- .digit-numeric-button-prefix,
179
- .digit-prefix {
180
- border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
181
- }
182
-
183
- .digit-numeric-button-suffix,
184
- .digit-suffix {
185
- border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
186
- }
187
-
188
- &.numeric {
189
- input {
190
- border-left-style: hidden;
191
- border-right-style: hidden;
192
- }
193
- }
194
-
195
- &.suffix {
196
- input {
197
- border-right-style: hidden;
198
- }
199
- }
200
-
201
- &.prefix {
202
- input {
203
- border-left-style: hidden;
204
- }
205
- }
206
- }
207
- }
208
-
209
-
210
- .digit-card-input-field {
211
- @apply outline-none mt-sm block w-full h-10 bg-white text-form-field;
212
- padding-left: theme(digitv2.spacers.spacer3);
213
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
214
- color: theme(digitv2.lightTheme.text-primary);
215
- line-height: theme(digitv2.spacers.spacer6);
216
- }
217
-
218
- .digit-card-inputError {
219
- @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
220
- font-style: theme(digitv2.fontStyle.normal);
221
- padding-left: theme(digitv2.spacers.spacer3);
222
- font-family: theme(digitv2.fontFamily.sans);
223
- font-size: theme(digitv2.spacers.spacer4);
224
- color: theme(digitv2.lightTheme.text-primary);
225
- line-height: theme(digitv2.spacers.spacer6);
226
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
227
- }
228
-
229
- .digit-employeeCard-input {
230
- @extend .typography.text-body-s;
231
- @apply outline-none block w-full h-10 bg-white text-form-field;
232
- font-style: theme(digitv2.fontStyle.normal);
233
- padding-left: theme(digitv2.spacers.spacer3);
234
- font-family: theme(digitv2.fontFamily.sans);
235
- font-size: theme(digitv2.spacers.spacer4);
236
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
237
- color: theme(digitv2.lightTheme.text-primary);
238
- line-height: theme(digitv2.spacers.spacer6);
239
- }
240
-
241
- .digit-employeeCard-input:disabled {
242
- @apply border-grey-dark text-grey-dark !important;
243
- pointer-events: none !important;
244
- }
245
-
246
- .digit-employeeCard-input--front {
247
- @extend .typography.text-body-s;
248
- @apply flex items-center;
249
- width: fit-content !important;
250
- background: theme(colors.grey.mid);
251
- border-right: 0;
252
- padding-right: 0.313rem;
253
- }
254
-
255
- .digit-employeeCard-inputError {
256
- @extend .typography.text-body-s;
257
- @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
258
- font-style: theme(digitv2.fontStyle.normal);
259
- padding-left: theme(digitv2.spacers.spacer3);
260
- font-family: theme(digitv2.fontFamily.sans);
261
- font-size: theme(digitv2.spacers.spacer4);
262
- color: theme(digitv2.lightTheme.text-primary);
263
- line-height: theme(digitv2.spacers.spacer6);
264
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
265
- }
266
-
267
- .digit-inputWrapper {
268
- @apply flex justify-start;
269
- max-width: 31.25rem;
270
-
271
- div {
272
- max-width: 5rem;
273
- }
274
-
275
- span {
276
- margin-top: theme(digitv2.spacers.spacer4);
277
- margin-left: 10%;
278
- margin-right: 10%;
279
- }
280
- }
281
-
282
- @screen dt {
283
- .digit-card-input-field {
284
- width: 30rem;
285
- }
286
-
287
- .digit-card-input-field-emp {
288
- width: 15rem;
289
- }
290
-
291
- .digit-card-inputError {
292
- width: 30rem;
293
- }
294
-
295
- .digit-employeeCard-input {
296
- @apply w-full;
297
- }
298
-
299
- .digit-employeeCard-inputError {
300
- @apply w-full;
301
- }
302
-
303
- .digit-card-textarea-field {
304
- @apply w-full;
305
- max-width: 33.75rem;
306
- }
307
-
308
- .card-input-emp {
309
- width: 15rem;
310
- }
311
- }
312
-
313
- .digit-citizenCard-input {
314
- @extend .typography.text-body-s;
315
- @apply outline-none block w-full h-10 bg-white;
316
- font-style: theme(digitv2.fontStyle.normal);
317
- padding-left: theme(digitv2.spacers.spacer3);
318
- font-family: theme(digitv2.fontFamily.sans);
319
- font-size: theme(digitv2.spacers.spacer4);
320
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
321
- color: theme(digitv2.lightTheme.text-primary);
322
- line-height: theme(digitv2.spacers.spacer6);
323
- }
324
-
325
- .digit-citizenCard-input--front {
326
- @extend .typography.text-body-s;
327
- @apply flex items-center;
328
- width: fit-content !important;
329
- background: theme(colors.grey.mid);
330
- border-right: 0;
331
- padding-right: 0.313rem;
332
- }
333
-
334
- .digit-employeeCard-inputError {
335
- @extend .typography.text-body-s;
336
- @extend .light-input-border;
337
- @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
338
- font-style: theme(digitv2.fontStyle.normal);
339
- padding-left: theme(digitv2.spacers.spacer3);
340
- font-family: theme(digitv2.fontFamily.sans);
341
- font-size: theme(digitv2.spacers.spacer4);
342
- color: theme(digitv2.lightTheme.text-primary);
343
- line-height:theme(digitv2.spacers.spacer6);
344
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
345
- }
346
-
347
- .digit-card-inputError {
348
- @extend .light-input-border;
349
- @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
350
- font-family: theme(digitv2.fontFamily.sans);
351
- padding-left: theme(digitv2.spacers.spacer3);
352
- font-family: theme(digitv2.fontFamily.sans);
353
- font-size: theme(digitv2.spacers.spacer4);
354
- color: theme(digitv2.lightTheme.text-primary);
355
- line-height: theme(digitv2.spacers.spacer6);
356
- border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
357
- }
358
-
359
-
360
- .input-container {
361
- @apply relative flex items-center h-10;
362
- max-width: 37.5rem;
363
-
364
- &.date,
365
- &.time,
366
- &.geolocation,
367
- &.password,
368
- &.search,
369
- &.passwordToText,
370
- &.withIcon {
371
- input {
372
- padding-right: theme(digitv2.spacers.spacer10);
373
- }
374
- }
375
-
376
- @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
377
- /* Media query for tablets */
378
- max-width: 27.5rem;
379
- }
380
-
381
- @media (max-aspect-ratio: 9/16) {
382
- /* Media query for mobile */
383
- max-width: 20.5rem;
384
- width: 100%;
385
- }
386
-
387
- @media (min-aspect-ratio: 3/4) {
388
- /* Media query for desktop */
389
- max-width: 37.5rem;
390
- }
391
-
392
- }
393
-
394
- .input-container:focus-within {
395
-
396
- .digit-numeric-button-prefix:not([readonly]),
397
- .digit-numeric-button-suffix:not([readonly]),
398
- .digit-prefix:not([readonly]),
399
- .digit-suffix:not([readonly]),
400
- input:not([readonly]) {
401
- outline: none;
402
- border: 0.094rem solid theme(digitv2.lightTheme.primary-1);
403
- }
404
-
405
- .digit-numeric-button-prefix,
406
- .digit-prefix {
407
- border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
408
- }
409
-
410
- .digit-numeric-button-suffix,
411
- .digit-suffix {
412
- border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
413
- }
414
- }
415
-
416
- .digit-prefix,
417
- .digit-suffix,
418
- .digit-numeric-button-prefix,
419
- .digit-numeric-button-suffix {
420
- @apply font-bold text-center;
421
- font-family: theme(digitv2.fontFamily.sans);
422
- font-style: theme(digitv2.fontStyle.normal);
423
- color: theme(digitv2.lightTheme.text-secondary);
424
- font-size: theme(digitv2.spacers.spacer5);
425
- height: theme(digitv2.spacers.spacer10) !important;
426
- border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
427
- line-height: 1.172rem;
428
- background: theme(colors.grey.mid);
429
- max-width: none !important;
430
- flex: 0 0 2.5rem;
431
- }
432
-
433
- .digit-numeric-button-prefix,
434
- .digit-numeric-button-suffix {
435
- width: theme(digitv2.spacers.spacer10) !important;
436
- font-size: theme(digitv2.spacers.spacer6);
437
- }
438
-
439
- .digit-prefix,
440
- .digit-numeric-button-prefix {
441
- border-right-style: hidden;
442
- }
443
-
444
- .digit-suffix,
445
- .digit-numeric-button-suffix {
446
- border-left-style: hidden;
447
- }
448
-
449
- .digit-prefix,
450
- .digit-suffix {
451
- @apply pointer-events-none;
452
- }
453
-
454
- .digit-text-input-customIcon {
455
- @apply absolute w-6 h-6 cursor-pointer;
456
- top: theme(digitv2.spacers.spacer2);
457
- right: theme(digitv2.spacers.spacer3);
458
-
459
- &.nonEditable,
460
- &.disabled {
461
- @apply pointer-events-none;
462
- }
1
+ @import url("../index.scss");
2
+ @import url("../typography.scss");
3
+
4
+ .digit-card-inputError {
5
+ @apply block w-full h-10 outline-none bg-white text-text-primary;
6
+ font-style: theme(digitv2.fontStyle.normal);
7
+ padding-left:theme(digitv2.spacers.spacer3);
8
+ font-family: theme(digitv2.fontFamily.sans);
9
+ font-size: theme(digitv2.spacers.spacer4);
10
+ color: theme(digitv2.lightTheme.text-primary);
11
+ line-height: theme(digitv2.spacers.spacer6);
12
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
13
+ }
14
+
15
+ .digit-text-input-field {
16
+ @apply relative w-full;
17
+
18
+ &.geolocation {
19
+ input {
20
+ @apply pointer-events-none;
21
+ }
22
+ }
23
+
24
+ &.numeric {
25
+ input {
26
+ @apply text-center overflow-hidden whitespace-no-wrap;
27
+ text-overflow: ellipsis;
28
+ }
29
+
30
+ .input-container:focus-within {
31
+ input {
32
+ border-left-style: hidden;
33
+ border-right-style: hidden;
34
+ }
35
+ }
36
+
37
+ &.numeric-buttons-only{
38
+ input{
39
+ pointer-events: none !important;
40
+ cursor: not-allowed;
41
+ }
42
+ }
43
+ }
44
+
45
+ &.prefix {
46
+ .input-container:focus-within {
47
+ input {
48
+ border-left-style: hidden;
49
+ }
50
+ }
51
+ }
52
+
53
+ &.suffix {
54
+ .input-container:focus-within {
55
+ input {
56
+ border-right-style: hidden;
57
+ }
58
+ }
59
+ }
60
+
61
+ &.password {
62
+ input {
63
+ font-family: theme(digitv2.fontFamily.sans);
64
+ font-size: theme(digitv2.spacers.spacer4);
65
+ font-weight: 900;
66
+ line-height: theme(digitv2.spacers.spacer6);
67
+ }
68
+ }
69
+
70
+ &.disabled {
71
+
72
+ input,
73
+ .digit-prefix,
74
+ .digit-suffix,
75
+ .digit-numeric-button-prefix,
76
+ .digit-numeric-button-suffix {
77
+ pointer-events: none !important;
78
+ cursor: not-allowed;
79
+ background-color: theme(digitv2.lightTheme.generic-background);
80
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
81
+ color: theme(digitv2.lightTheme.generic-divider);
82
+ }
83
+
84
+ input {
85
+ background-color: white;
86
+ }
87
+
88
+ .digit-numeric-button-prefix,
89
+ .digit-prefix {
90
+ border-right-style: hidden;
91
+ }
92
+
93
+ .digit-numeric-button-suffix,
94
+ .digit-suffix {
95
+ border-left-style: hidden;
96
+ }
97
+ }
98
+
99
+ input[type="time"]::-webkit-calendar-picker-indicator,
100
+ input[type="date"]::-webkit-calendar-picker-indicator,
101
+ input[type="date"]:disabled::-webkit-calendar-picker-indicator,
102
+ input[type="time"]:disabled::-webkit-calendar-picker-indicator {
103
+ @apply absolute cursor-pointer w-6 h-6;
104
+ right: theme(digitv2.spacers.spacer3);
105
+ }
106
+
107
+ input[type="date"]:disabled::-webkit-calendar-picker-indicator,
108
+ input[type="time"]:disabled::-webkit-calendar-picker-indicator {
109
+ visibility: visible;
110
+ filter: invert(85%) sepia(0%) saturate(337%) hue-rotate(50deg) brightness(99%) contrast(99%);
111
+ }
112
+
113
+ input[type="date"][value=""]::-webkit-datetime-edit,
114
+ input[type="time"][value=""]::-webkit-datetime-edit,
115
+ input[type="date"]:disabled::-webkit-datetime-edit,
116
+ input[type="time"]:disabled::-webkit-datetime-edit,
117
+ input[type="search"]::-webkit-search-cancel-button,
118
+ input[type="search"]::-webkit-search-clear-button {
119
+ display: none;
120
+ }
121
+
122
+ ::placeholder,
123
+ input[type="date"][value=""]:not(:placeholder-shown)::before,
124
+ input[type="time"][value=""]:not(:placeholder-shown)::before {
125
+ content: attr(placeholder);
126
+ color: theme(digitv2.lightTheme.text-disabled);
127
+ font-family: theme(digitv2.fontFamily.sans);
128
+ font-weight: theme(digitv2.fontWeight.regular);
129
+ font-size: theme(digitv2.spacers.spacer4);
130
+ line-height: theme(digitv2.spacers.spacer6);
131
+ }
132
+
133
+ &.noneditable {
134
+
135
+ .digit-prefix,
136
+ .digit-suffix,
137
+ .digit-numeric-button-prefix,
138
+ .digit-numeric-button-suffix {
139
+ pointer-events: none !important;
140
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
141
+ background: theme(digitv2.lightTheme.generic-background);
142
+ color: theme(digitv2.lightTheme.text-disabled);
143
+ }
144
+
145
+ input {
146
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-inputborder);
147
+ background: theme(digitv2.lightTheme.generic-background);
148
+ color: theme(digitv2.lightTheme.text-disabled);
149
+ }
150
+
151
+ .digit-numeric-button-prefix,
152
+ .digit-prefix {
153
+ border-right-style: hidden;
154
+ }
155
+
156
+ .digit-numeric-button-suffix,
157
+ .digit-suffix {
158
+ border-left-style: hidden;
159
+ }
160
+
161
+ input[type="date"]::-webkit-calendar-picker-indicator,
162
+ input[type="time"]::-webkit-calendar-picker-indicator {
163
+ visibility: visible;
164
+ filter: invert(74%) sepia(7%) saturate(64%) hue-rotate(144deg) brightness(98%) contrast(89%);
165
+ }
166
+ }
167
+
168
+ &.error {
169
+
170
+ input,
171
+ .digit-prefix,
172
+ .digit-suffix,
173
+ .digit-numeric-button-prefix,
174
+ .digit-numeric-button-suffix {
175
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
176
+ }
177
+
178
+ .digit-numeric-button-prefix,
179
+ .digit-prefix {
180
+ border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
181
+ }
182
+
183
+ .digit-numeric-button-suffix,
184
+ .digit-suffix {
185
+ border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
186
+ }
187
+
188
+ &.numeric {
189
+ input {
190
+ border-left-style: hidden;
191
+ border-right-style: hidden;
192
+ }
193
+ }
194
+
195
+ &.suffix {
196
+ input {
197
+ border-right-style: hidden;
198
+ }
199
+ }
200
+
201
+ &.prefix {
202
+ input {
203
+ border-left-style: hidden;
204
+ }
205
+ }
206
+ }
207
+ }
208
+
209
+
210
+ .digit-card-input-field {
211
+ @apply outline-none mt-sm block w-full h-10 bg-white text-form-field;
212
+ padding-left: theme(digitv2.spacers.spacer3);
213
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
214
+ color: theme(digitv2.lightTheme.text-primary);
215
+ line-height: theme(digitv2.spacers.spacer6);
216
+ }
217
+
218
+ .digit-card-inputError {
219
+ @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
220
+ font-style: theme(digitv2.fontStyle.normal);
221
+ padding-left: theme(digitv2.spacers.spacer3);
222
+ font-family: theme(digitv2.fontFamily.sans);
223
+ font-size: theme(digitv2.spacers.spacer4);
224
+ color: theme(digitv2.lightTheme.text-primary);
225
+ line-height: theme(digitv2.spacers.spacer6);
226
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
227
+ }
228
+
229
+ .digit-employeeCard-input {
230
+ @extend .typography.text-body-s;
231
+ @apply outline-none block w-full h-10 bg-white text-form-field;
232
+ font-style: theme(digitv2.fontStyle.normal);
233
+ padding-left: theme(digitv2.spacers.spacer3);
234
+ font-family: theme(digitv2.fontFamily.sans);
235
+ font-size: theme(digitv2.spacers.spacer4);
236
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
237
+ color: theme(digitv2.lightTheme.text-primary);
238
+ line-height: theme(digitv2.spacers.spacer6);
239
+ }
240
+
241
+ .digit-employeeCard-input:disabled {
242
+ @apply border-grey-dark text-grey-dark !important;
243
+ pointer-events: none !important;
244
+ }
245
+
246
+ .digit-employeeCard-input--front {
247
+ @extend .typography.text-body-s;
248
+ @apply flex items-center;
249
+ width: fit-content !important;
250
+ background: theme(colors.grey.mid);
251
+ border-right: 0;
252
+ padding-right: 0.313rem;
253
+ }
254
+
255
+ .digit-employeeCard-inputError {
256
+ @extend .typography.text-body-s;
257
+ @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
258
+ font-style: theme(digitv2.fontStyle.normal);
259
+ padding-left: theme(digitv2.spacers.spacer3);
260
+ font-family: theme(digitv2.fontFamily.sans);
261
+ font-size: theme(digitv2.spacers.spacer4);
262
+ color: theme(digitv2.lightTheme.text-primary);
263
+ line-height: theme(digitv2.spacers.spacer6);
264
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
265
+ }
266
+
267
+ .digit-inputWrapper {
268
+ @apply flex justify-start;
269
+ max-width: 31.25rem;
270
+
271
+ div {
272
+ max-width: 5rem;
273
+ }
274
+
275
+ span {
276
+ margin-top: theme(digitv2.spacers.spacer4);
277
+ margin-left: 10%;
278
+ margin-right: 10%;
279
+ }
280
+ }
281
+
282
+ @screen dt {
283
+ .digit-card-input-field {
284
+ width: 30rem;
285
+ }
286
+
287
+ .digit-card-input-field-emp {
288
+ width: 15rem;
289
+ }
290
+
291
+ .digit-card-inputError {
292
+ width: 30rem;
293
+ }
294
+
295
+ .digit-employeeCard-input {
296
+ @apply w-full;
297
+ }
298
+
299
+ .digit-employeeCard-inputError {
300
+ @apply w-full;
301
+ }
302
+
303
+ .digit-card-textarea-field {
304
+ @apply w-full;
305
+ max-width: 33.75rem;
306
+ }
307
+
308
+ .card-input-emp {
309
+ width: 15rem;
310
+ }
311
+ }
312
+
313
+ .digit-citizenCard-input {
314
+ @extend .typography.text-body-s;
315
+ @apply outline-none block w-full h-10 bg-white;
316
+ font-style: theme(digitv2.fontStyle.normal);
317
+ padding-left: theme(digitv2.spacers.spacer3);
318
+ font-family: theme(digitv2.fontFamily.sans);
319
+ font-size: theme(digitv2.spacers.spacer4);
320
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
321
+ color: theme(digitv2.lightTheme.text-primary);
322
+ line-height: theme(digitv2.spacers.spacer6);
323
+ }
324
+
325
+ .digit-citizenCard-input--front {
326
+ @extend .typography.text-body-s;
327
+ @apply flex items-center;
328
+ width: fit-content !important;
329
+ background: theme(colors.grey.mid);
330
+ border-right: 0;
331
+ padding-right: 0.313rem;
332
+ }
333
+
334
+ .digit-employeeCard-inputError {
335
+ @extend .typography.text-body-s;
336
+ @extend .light-input-border;
337
+ @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
338
+ font-style: theme(digitv2.fontStyle.normal);
339
+ padding-left: theme(digitv2.spacers.spacer3);
340
+ font-family: theme(digitv2.fontFamily.sans);
341
+ font-size: theme(digitv2.spacers.spacer4);
342
+ color: theme(digitv2.lightTheme.text-primary);
343
+ line-height:theme(digitv2.spacers.spacer6);
344
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
345
+ }
346
+
347
+ .digit-card-inputError {
348
+ @extend .light-input-border;
349
+ @apply block w-full h-10 outline-none bg-white text-form-field text-text-primary;
350
+ font-family: theme(digitv2.fontFamily.sans);
351
+ padding-left: theme(digitv2.spacers.spacer3);
352
+ font-family: theme(digitv2.fontFamily.sans);
353
+ font-size: theme(digitv2.spacers.spacer4);
354
+ color: theme(digitv2.lightTheme.text-primary);
355
+ line-height: theme(digitv2.spacers.spacer6);
356
+ border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
357
+ }
358
+
359
+
360
+ .input-container {
361
+ @apply relative flex items-center h-10;
362
+ max-width: 37.5rem;
363
+
364
+ &.date,
365
+ &.time,
366
+ &.geolocation,
367
+ &.password,
368
+ &.search,
369
+ &.passwordToText,
370
+ &.withIcon {
371
+ input {
372
+ padding-right: theme(digitv2.spacers.spacer10);
373
+ }
374
+ }
375
+
376
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
377
+ /* Media query for tablets */
378
+ max-width: 27.5rem;
379
+ }
380
+
381
+ @media (max-aspect-ratio: 9/16) {
382
+ /* Media query for mobile */
383
+ max-width: 100%;
384
+ width: 100%;
385
+ }
386
+
387
+ @media (min-aspect-ratio: 3/4) {
388
+ /* Media query for desktop */
389
+ max-width: 37.5rem;
390
+ }
391
+
392
+ }
393
+
394
+ .input-container:focus-within {
395
+
396
+ .digit-numeric-button-prefix:not([readonly]),
397
+ .digit-numeric-button-suffix:not([readonly]),
398
+ .digit-prefix:not([readonly]),
399
+ .digit-suffix:not([readonly]),
400
+ input:not([readonly]) {
401
+ outline: none;
402
+ border: 0.094rem solid theme(digitv2.lightTheme.primary-1);
403
+ }
404
+
405
+ .digit-numeric-button-prefix,
406
+ .digit-prefix {
407
+ border-right: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
408
+ }
409
+
410
+ .digit-numeric-button-suffix,
411
+ .digit-suffix {
412
+ border-left: 0.063rem solid theme(digitv2.lightTheme.text-secondary) !important;
413
+ }
414
+ }
415
+
416
+ .digit-prefix,
417
+ .digit-suffix,
418
+ .digit-numeric-button-prefix,
419
+ .digit-numeric-button-suffix {
420
+ @apply font-bold text-center;
421
+ font-family: theme(digitv2.fontFamily.sans);
422
+ font-style: theme(digitv2.fontStyle.normal);
423
+ color: theme(digitv2.lightTheme.text-secondary);
424
+ font-size: theme(digitv2.spacers.spacer5);
425
+ height: theme(digitv2.spacers.spacer10) !important;
426
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
427
+ line-height: 1.172rem;
428
+ background: theme(colors.grey.mid);
429
+ max-width: none !important;
430
+ flex: 0 0 2.5rem;
431
+ }
432
+
433
+ .digit-numeric-button-prefix,
434
+ .digit-numeric-button-suffix {
435
+ width: theme(digitv2.spacers.spacer10) !important;
436
+ font-size: theme(digitv2.spacers.spacer6);
437
+ }
438
+
439
+ .digit-prefix,
440
+ .digit-numeric-button-prefix {
441
+ border-right-style: hidden;
442
+ }
443
+
444
+ .digit-suffix,
445
+ .digit-numeric-button-suffix {
446
+ border-left-style: hidden;
447
+ }
448
+
449
+ .digit-prefix,
450
+ .digit-suffix {
451
+ @apply pointer-events-none;
452
+ }
453
+
454
+ .digit-text-input-customIcon {
455
+ @apply absolute w-6 h-6 cursor-pointer;
456
+ top: theme(digitv2.spacers.spacer2);
457
+ right: theme(digitv2.spacers.spacer3);
458
+
459
+ &.nonEditable,
460
+ &.disabled {
461
+ @apply pointer-events-none;
462
+ }
463
463
  }